@salesforce/b2c-cli 1.10.0 → 1.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commands/job/import.d.ts +1 -0
- package/dist/commands/job/import.js +15 -0
- package/dist/commands/job/import.js.map +1 -1
- package/dist/commands/setup/ide/tsserver-plugin.d.ts +56 -0
- package/dist/commands/setup/ide/tsserver-plugin.js +88 -0
- package/dist/commands/setup/ide/tsserver-plugin.js.map +1 -0
- package/dist/commands/setup/ide/vscode-types.d.ts +44 -0
- package/dist/commands/setup/ide/vscode-types.js +141 -0
- package/dist/commands/setup/ide/vscode-types.js.map +1 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/package.json +44 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/plugin/index.js +575 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/APIException.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/ConversionError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/EvalError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/Fault.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/IOError.d.ts +37 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/InternalError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/Module.d.ts +99 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/Namespace.d.ts +77 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/QName.d.ts +67 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/RangeError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/ReferenceError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/StopIteration.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/SyntaxError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/SystemError.d.ts +38 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/TypeError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/URIError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/XML.d.ts +398 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/XMLList.d.ts +155 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/XMLStreamError.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/arguments.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/alert/Alert.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/alert/Alerts.d.ts +123 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/alert/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ABTest.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ABTestMgr.d.ts +28 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ABTestSegment.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/AmountDiscount.d.ts +22 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ApproachingDiscount.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/BonusChoiceDiscount.d.ts +106 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/BonusDiscount.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Campaign.d.ts +167 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CampaignMgr.d.ts +192 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CampaignStatusCodes.d.ts +36 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Coupon.d.ts +146 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CouponMgr.d.ts +49 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CouponRedemption.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CouponStatusCodes.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Discount.d.ts +122 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/DiscountPlan.d.ts +161 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FixedPriceDiscount.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FixedPriceShippingDiscount.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FreeDiscount.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FreeShippingDiscount.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PercentageDiscount.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PercentageOptionDiscount.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PriceBookPriceDiscount.d.ts +20 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Promotion.d.ts +455 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PromotionMgr.d.ts +262 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PromotionPlan.d.ts +180 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SlotContent.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SourceCodeGroup.d.ts +42 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SourceCodeInfo.d.ts +76 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SourceCodeStatusCodes.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/TotalFixedPriceDiscount.d.ts +20 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/index.d.ts +65 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Catalog.d.ts +84 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/CatalogMgr.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Category.d.ts +592 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/CategoryAssignment.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/CategoryLink.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/PriceBook.d.ts +94 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/PriceBookMgr.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Product.d.ts +1100 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductActiveData.d.ts +593 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductAttributeModel.d.ts +215 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductAvailabilityLevels.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductAvailabilityModel.d.ts +359 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductInventoryList.d.ts +65 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductInventoryMgr.d.ts +53 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductInventoryRecord.d.ts +296 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductLink.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductMgr.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductOption.d.ts +81 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductOptionModel.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductOptionValue.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductPriceInfo.d.ts +76 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductPriceModel.d.ts +586 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductPriceTable.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchHit.d.ts +398 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchModel.d.ts +816 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchRefinementDefinition.d.ts +43 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchRefinementValue.d.ts +30 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchRefinements.d.ts +142 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductVariationAttribute.d.ts +44 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductVariationAttributeValue.d.ts +90 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductVariationModel.d.ts +508 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Recommendation.d.ts +139 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchModel.d.ts +277 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchRefinementDefinition.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchRefinementValue.d.ts +93 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchRefinements.d.ts +114 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SortingOption.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SortingRule.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Store.d.ts +214 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreGroup.d.ts +44 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreInventoryFilter.d.ts +49 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreInventoryFilterValue.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreMgr.d.ts +86 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Variant.d.ts +555 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/VariationGroup.d.ts +422 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/index.d.ts +93 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/Content.d.ts +210 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentMgr.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchModel.d.ts +230 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchRefinementDefinition.d.ts +27 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchRefinementValue.d.ts +10 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchRefinements.d.ts +105 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/Folder.d.ts +186 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/Library.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/MarkupText.d.ts +125 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/MediaFile.d.ts +297 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/index.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/CertificateRef.d.ts +20 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/CertificateUtils.d.ts +54 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Cipher.d.ts +178 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Encoding.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWE.d.ts +114 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWEHeader.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWS.d.ts +105 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWSHeader.d.ts +47 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/KeyRef.d.ts +28 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Mac.d.ts +76 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/MessageDigest.d.ts +108 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/SecureRandom.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Signature.d.ts +88 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakCipher.d.ts +51 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakMac.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakMessageDigest.d.ts +100 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakSignature.d.ts +63 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/X509Certificate.d.ts +73 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/index.d.ts +39 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AddressBook.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AgentUserMgr.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AgentUserStatusCodes.d.ts +64 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AuthenticationStatus.d.ts +62 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Credentials.d.ts +266 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Customer.d.ts +210 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerActiveData.d.ts +276 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerAddress.d.ts +280 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerCDPData.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerContextMgr.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerGroup.d.ts +76 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerList.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerMgr.d.ts +611 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerPasswordConstraints.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerPaymentInstrument.d.ts +118 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerStatusCodes.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/EncryptedObject.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ExternalProfile.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/OrderHistory.d.ts +81 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductList.d.ts +376 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListItem.d.ts +204 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListItemPurchase.d.ts +62 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListMgr.d.ts +190 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListRegistrant.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Profile.d.ts +420 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Wallet.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ConsentStatusEntry.d.ts +35 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/MarketingConsentSubscription.d.ts +110 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ShopperConsentErrorCodes.d.ts +30 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ShopperConsentException.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ShopperConsentMgr.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/index.d.ts +13 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/index.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthAccessTokenResponse.d.ts +71 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthFinalizedResponse.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthLoginFlowMgr.d.ts +100 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthUserInfoResponse.d.ts +35 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/index.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContext.d.ts +171 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContextErrorCodes.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContextException.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContextMgr.d.ts +130 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/index.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/AspectAttributeValidationException.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/Component.d.ts +83 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/ComponentRenderSettings.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/ComponentScriptContext.d.ts +96 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/CustomEditor.d.ts +80 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/CustomEditorResources.d.ts +51 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/Page.d.ts +255 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/PageMgr.d.ts +311 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/PageScriptContext.d.ts +127 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/Region.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/RegionRenderSettings.d.ts +81 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/cms/CMSRecord.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/cms/index.d.ts +5 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/FocalPoint.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/Image.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/ImageMetaData.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/index.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/index.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/applepay/ApplePayHookResult.d.ts +104 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/applepay/ApplePayHooks.d.ts +271 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/applepay/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/facebook/FacebookFeedHooks.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/facebook/FacebookProduct.d.ts +567 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/facebook/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentapi/PaymentApiHooks.d.ts +62 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentapi/index.d.ts +5 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentrequest/PaymentRequestHookResult.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentrequest/PaymentRequestHooks.d.ts +168 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentrequest/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceAdyenPaymentIntent.d.ts +53 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceAdyenSavedPaymentMethod.d.ts +126 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceBancontactPaymentDetails.d.ts +33 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceCardPaymentDetails.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceEpsPaymentDetails.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceIdealPaymentDetails.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceKlarnaPaymentDetails.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalOrder.d.ts +109 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalOrderAddress.d.ts +69 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalOrderPayer.d.ts +43 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalPaymentDetails.d.ts +33 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentDetails.d.ts +39 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentIntent.d.ts +116 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentMethod.d.ts +162 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentRequest.d.ts +562 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsHooks.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsMerchantAccount.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsMerchantAccountPaymentMethod.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsMgr.d.ts +420 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsSiteConfiguration.d.ts +84 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsZone.d.ts +166 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceSepaDebitPaymentDetails.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceVenmoPaymentDetails.d.ts +33 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/index.d.ts +49 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestAvailability.d.ts +34 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestFeedHooks.d.ts +54 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestOrder.d.ts +122 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestOrderHooks.d.ts +42 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestProduct.d.ts +302 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/index.d.ts +13 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/CSVStreamReader.d.ts +51 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/CSVStreamWriter.d.ts +34 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/File.d.ts +343 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/FileReader.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/FileWriter.d.ts +62 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/InputStream.d.ts +15 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/OutputStream.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/PrintWriter.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/RandomAccessFileReader.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/Reader.d.ts +105 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/StringWriter.d.ts +39 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/Writer.d.ts +35 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLIndentingStreamWriter.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLStreamConstants.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLStreamReader.d.ts +674 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLStreamWriter.d.ts +204 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/index.d.ts +35 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/job/JobExecution.d.ts +52 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/job/JobStepExecution.d.ts +58 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/job/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/FTPClient.d.ts +219 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/FTPFileInfo.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/HTTPClient.d.ts +337 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/HTTPClientLoggingConfig.d.ts +180 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/HTTPRequestPart.d.ts +122 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/Mail.d.ts +182 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/SFTPClient.d.ts +215 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/SFTPFileInfo.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/WebDAVClient.d.ts +324 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/WebDAVFileInfo.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/index.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ActiveData.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/CustomAttributes.d.ts +143 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/CustomObject.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/CustomObjectMgr.d.ts +283 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/Extensible.d.ts +27 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ExtensibleObject.d.ts +36 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/Note.d.ts +47 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectAttributeDefinition.d.ts +239 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectAttributeGroup.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectAttributeValueDefinition.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectTypeDefinition.d.ts +113 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/PersistentObject.d.ts +33 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/SimpleExtensible.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/SystemObjectMgr.d.ts +319 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/index.d.ts +31 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/AbstractItem.d.ts +91 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/AbstractItemCtnr.d.ts +100 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Appeasement.d.ts +163 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/AppeasementItem.d.ts +43 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Basket.d.ts +476 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/BasketMgr.d.ts +406 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/BonusDiscountLineItem.d.ts +170 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CouponLineItem.d.ts +139 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateAgentBasketLimitExceededException.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateBasketFromOrderException.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateCouponLineItemException.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateOrderException.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateTemporaryBasketLimitExceededException.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificate.d.ts +220 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificateLineItem.d.ts +124 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificateMgr.d.ts +85 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificateStatusCodes.d.ts +42 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Invoice.d.ts +284 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/InvoiceItem.d.ts +83 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/LineItem.d.ts +265 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/LineItemCtnr.d.ts +1146 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/LineItemTax.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Order.d.ts +1360 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderAddress.d.ts +259 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderItem.d.ts +332 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderMgr.d.ts +864 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderPaymentInstrument.d.ts +166 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderProcessStatusCodes.d.ts +58 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentCard.d.ts +112 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentInstrument.d.ts +757 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentMethod.d.ts +141 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentMgr.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentProcessor.d.ts +60 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentStatusCodes.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentTransaction.d.ts +123 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PriceAdjustment.d.ts +430 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PriceAdjustmentLimitTypes.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductLineItem.d.ts +849 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductShippingCost.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductShippingLineItem.d.ts +154 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductShippingModel.d.ts +73 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Return.d.ts +161 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ReturnCase.d.ts +215 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ReturnCaseItem.d.ts +165 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ReturnItem.d.ts +159 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Shipment.d.ts +506 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShipmentShippingCost.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShipmentShippingModel.d.ts +114 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingLineItem.d.ts +151 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingLocation.d.ts +123 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingMethod.d.ts +114 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingMgr.d.ts +95 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingOrder.d.ts +304 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingOrderItem.d.ts +210 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/SumItem.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TaxGroup.d.ts +49 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TaxItem.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TaxMgr.d.ts +155 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TrackingInfo.d.ts +107 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TrackingRef.d.ts +44 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/BasketMergeHooks.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/CalculateHooks.d.ts +69 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/CheckoutHooks.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/OrderHooks.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/PaymentHooks.d.ts +189 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/ReturnHooks.d.ts +274 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/ShippingOrderHooks.d.ts +220 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/TaxHooks.d.ts +378 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/index.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/index.d.ts +123 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/SOAPUtil.d.ts +339 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/Stub.d.ts +148 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/WebReference.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/index.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/sitemap/SitemapFile.d.ts +57 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/sitemap/SitemapMgr.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/sitemap/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/BrandSuggestions.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/CategorySuggestions.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/ContentSuggestions.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/CustomSuggestions.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/ProductSuggestions.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SearchPhraseSuggestions.d.ts +53 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestModel.d.ts +230 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedCategory.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedContent.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedPhrase.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedProduct.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedTerm.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedTerms.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/Suggestions.d.ts +89 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/index.d.ts +31 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/FTPService.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/FTPServiceDefinition.d.ts +38 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPFormService.d.ts +14 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPFormServiceDefinition.d.ts +12 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPService.d.ts +147 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPServiceDefinition.d.ts +110 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/LocalServiceRegistry.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/Result.d.ts +133 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/SOAPService.d.ts +36 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/SOAPServiceDefinition.d.ts +12 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/Service.d.ts +99 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceCallback.d.ts +172 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceConfig.d.ts +52 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceCredential.d.ts +67 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceDefinition.d.ts +105 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceProfile.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceRegistry.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/index.d.ts +37 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/AgentUserStatusCodes.d.ts +14 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Cache.d.ts +60 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/CacheMgr.d.ts +39 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/HookMgr.d.ts +31 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/InternalObject.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/JobProcessMonitor.d.ts +37 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Log.d.ts +77 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/LogNDC.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Logger.d.ts +83 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/OrganizationPreferences.d.ts +40 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Pipeline.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/PipelineDictionary.d.ts +28 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RESTErrorResponse.d.ts +58 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RESTResponseMgr.d.ts +99 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RESTSuccessResponse.d.ts +38 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RemoteInclude.d.ts +85 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Request.d.ts +363 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RequestHooks.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Response.d.ts +278 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/SearchStatus.d.ts +74 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Session.d.ts +263 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Site.d.ts +247 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/SitePreferences.d.ts +51 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Status.d.ts +141 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/StatusItem.d.ts +110 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/System.d.ts +96 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Transaction.d.ts +60 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/index.d.ts +57 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/template/ISML.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/template/Velocity.d.ts +71 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/template/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/ArrayList.d.ts +40 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Assert.d.ts +159 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/BigInteger.d.ts +104 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Bytes.d.ts +99 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Calendar.d.ts +450 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Collection.d.ts +91 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Currency.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/DateUtils.d.ts +27 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Decimal.d.ts +148 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/FilteringCollection.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Geolocation.d.ts +111 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/HashMap.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/HashSet.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Iterator.d.ts +34 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/LinkedHashMap.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/LinkedHashSet.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/List.d.ts +148 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Locale.d.ts +110 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Map.d.ts +82 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/MapEntry.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/MappingKey.d.ts +34 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/MappingMgr.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/PropertyComparator.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SecureEncoder.d.ts +371 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SecureFilter.d.ts +340 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SeekableIterator.d.ts +85 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Set.d.ts +13 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SortedMap.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SortedSet.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/StringUtils.d.ts +191 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Template.d.ts +67 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/UUIDUtils.d.ts +12 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/index.d.ts +67 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/EnumValue.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/MimeEncodedText.d.ts +47 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/Money.d.ts +196 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/Quantity.d.ts +103 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/index.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/CSRFProtection.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/ClickStream.d.ts +87 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/ClickStreamEntry.d.ts +106 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Cookie.d.ts +166 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Cookies.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Form.d.ts +30 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormAction.d.ts +82 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormElement.d.ts +92 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormElementValidationResult.d.ts +63 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormField.d.ts +331 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormFieldOption.d.ts +90 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormFieldOptions.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormGroup.d.ts +106 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormList.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormListItem.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Forms.d.ts +13 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/HttpParameter.d.ts +195 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/HttpParameterMap.d.ts +92 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/LoopIterator.d.ts +95 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/PageMetaData.d.ts +87 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/PageMetaTag.d.ts +81 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/PagingModel.d.ts +181 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Resource.d.ts +69 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URL.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLAction.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLParameter.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLRedirect.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLRedirectMgr.d.ts +37 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLUtils.d.ts +759 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/index.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/Port.d.ts +54 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/WSUtil.d.ts +311 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/WebReference2.d.ts +120 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/index.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/global.d.ts +1101 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/sfra/server.d.ts +271 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/upstream-package.json +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/upstream-tsconfig.json +7 -0
- package/oclif.manifest.json +4160 -3853
- package/package.json +3 -3
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import Money = require('../value/Money');
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Instances of ProductShippingCost represent product specific shipping costs.
|
|
5
|
+
*
|
|
6
|
+
* Use dw.order.ProductShippingModel.getShippingCost to get
|
|
7
|
+
* the shipping cost for a specific product.
|
|
8
|
+
*/
|
|
9
|
+
declare class ProductShippingCost {
|
|
10
|
+
/**
|
|
11
|
+
* Returns the shipping amount.
|
|
12
|
+
*/
|
|
13
|
+
readonly amount: Money;
|
|
14
|
+
/**
|
|
15
|
+
* Returns true if shipping cost is a fixed-price shipping cost,
|
|
16
|
+
* and false if surcharge shipping cost.
|
|
17
|
+
*/
|
|
18
|
+
readonly fixedPrice: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Returns true if shipping cost is a surcharge to the shipment
|
|
21
|
+
* shipping cost, and false if fixed-price shipping cost.
|
|
22
|
+
*/
|
|
23
|
+
readonly surcharge: boolean;
|
|
24
|
+
private constructor();
|
|
25
|
+
/**
|
|
26
|
+
* Returns the shipping amount.
|
|
27
|
+
*/
|
|
28
|
+
getAmount(): Money;
|
|
29
|
+
/**
|
|
30
|
+
* Returns true if shipping cost is a fixed-price shipping cost,
|
|
31
|
+
* and false if surcharge shipping cost.
|
|
32
|
+
*/
|
|
33
|
+
isFixedPrice(): boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Returns true if shipping cost is a surcharge to the shipment
|
|
36
|
+
* shipping cost, and false if fixed-price shipping cost.
|
|
37
|
+
*/
|
|
38
|
+
isSurcharge(): boolean;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export = ProductShippingCost;
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import LineItem = require('./LineItem');
|
|
2
|
+
import ExtensibleObject = require('../object/ExtensibleObject');
|
|
3
|
+
import CustomAttributes = require('../object/CustomAttributes');
|
|
4
|
+
import Shipment = require('./Shipment');
|
|
5
|
+
import ProductLineItem = require('./ProductLineItem');
|
|
6
|
+
import Quantity = require('../value/Quantity');
|
|
7
|
+
import Collection = require('../util/Collection');
|
|
8
|
+
import PriceAdjustment = require('./PriceAdjustment');
|
|
9
|
+
import Money = require('../value/Money');
|
|
10
|
+
|
|
11
|
+
declare global {
|
|
12
|
+
module ICustomAttributes {
|
|
13
|
+
interface ProductShippingLineItem extends ICustomAttributes.LineItem {
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Represents a specific line item in a shipment. A ProductShippingLineItem defines
|
|
20
|
+
* lineitem-specific shipping costs.
|
|
21
|
+
*/
|
|
22
|
+
declare class ProductShippingLineItem extends LineItem<ICustomAttributes.ProductShippingLineItem> {
|
|
23
|
+
/**
|
|
24
|
+
* Reserved constant.
|
|
25
|
+
* @deprecated this reserved constant is deprecated.
|
|
26
|
+
*/
|
|
27
|
+
static readonly PRODUCT_SHIPPING_ID = "PRODUCT_SHIPPING";
|
|
28
|
+
/**
|
|
29
|
+
* Returns the gross price of the product shipping line item after applying
|
|
30
|
+
* all product-shipping-level adjustments.
|
|
31
|
+
* @see getAdjustedNetPrice
|
|
32
|
+
* @see getAdjustedPrice
|
|
33
|
+
*/
|
|
34
|
+
readonly adjustedGrossPrice: Money;
|
|
35
|
+
/**
|
|
36
|
+
* Returns the net price of the product shipping line item after applying
|
|
37
|
+
* all product-shipping-level adjustments.
|
|
38
|
+
* @see getAdjustedGrossPrice
|
|
39
|
+
* @see getAdjustedPrice
|
|
40
|
+
*/
|
|
41
|
+
readonly adjustedNetPrice: Money;
|
|
42
|
+
/**
|
|
43
|
+
* Returns the price of the product shipping line item after applying all
|
|
44
|
+
* pproduct-shipping-level adjustments. For net pricing the adjusted net
|
|
45
|
+
* price is returned (see getAdjustedNetPrice). For gross
|
|
46
|
+
* pricing, the adjusted gross price is returned (see
|
|
47
|
+
* getAdjustedGrossPrice).
|
|
48
|
+
* @see getAdjustedGrossPrice
|
|
49
|
+
* @see getAdjustedNetPrice
|
|
50
|
+
*/
|
|
51
|
+
readonly adjustedPrice: Money;
|
|
52
|
+
/**
|
|
53
|
+
* Returns the tax of the unit after applying adjustments, in the purchase
|
|
54
|
+
* currency.
|
|
55
|
+
*/
|
|
56
|
+
readonly adjustedTax: Money;
|
|
57
|
+
/**
|
|
58
|
+
* Returns an iterator of price adjustments that have been applied to this
|
|
59
|
+
* product shipping line item.
|
|
60
|
+
*/
|
|
61
|
+
readonly priceAdjustments: Collection<PriceAdjustment>;
|
|
62
|
+
/**
|
|
63
|
+
* Returns the parent product line item this shipping line item belongs to.
|
|
64
|
+
*/
|
|
65
|
+
readonly productLineItem: ProductLineItem;
|
|
66
|
+
/**
|
|
67
|
+
* Returns the quantity of the shipping cost.
|
|
68
|
+
*/
|
|
69
|
+
quantity: Quantity;
|
|
70
|
+
/**
|
|
71
|
+
* Returns the shipment this shipping line item belongs to.
|
|
72
|
+
*/
|
|
73
|
+
readonly shipment: Shipment;
|
|
74
|
+
/**
|
|
75
|
+
* Returns the 'surcharge' flag.
|
|
76
|
+
*/
|
|
77
|
+
surcharge: boolean;
|
|
78
|
+
private constructor();
|
|
79
|
+
/**
|
|
80
|
+
* Returns the gross price of the product shipping line item after applying
|
|
81
|
+
* all product-shipping-level adjustments.
|
|
82
|
+
* @see getAdjustedNetPrice
|
|
83
|
+
* @see getAdjustedPrice
|
|
84
|
+
*/
|
|
85
|
+
getAdjustedGrossPrice(): Money;
|
|
86
|
+
/**
|
|
87
|
+
* Returns the net price of the product shipping line item after applying
|
|
88
|
+
* all product-shipping-level adjustments.
|
|
89
|
+
* @see getAdjustedGrossPrice
|
|
90
|
+
* @see getAdjustedPrice
|
|
91
|
+
*/
|
|
92
|
+
getAdjustedNetPrice(): Money;
|
|
93
|
+
/**
|
|
94
|
+
* Returns the price of the product shipping line item after applying all
|
|
95
|
+
* pproduct-shipping-level adjustments. For net pricing the adjusted net
|
|
96
|
+
* price is returned (see getAdjustedNetPrice). For gross
|
|
97
|
+
* pricing, the adjusted gross price is returned (see
|
|
98
|
+
* getAdjustedGrossPrice).
|
|
99
|
+
* @see getAdjustedGrossPrice
|
|
100
|
+
* @see getAdjustedNetPrice
|
|
101
|
+
*/
|
|
102
|
+
getAdjustedPrice(): Money;
|
|
103
|
+
/**
|
|
104
|
+
* Returns the tax of the unit after applying adjustments, in the purchase
|
|
105
|
+
* currency.
|
|
106
|
+
*/
|
|
107
|
+
getAdjustedTax(): Money;
|
|
108
|
+
/**
|
|
109
|
+
* Returns an iterator of price adjustments that have been applied to this
|
|
110
|
+
* product shipping line item.
|
|
111
|
+
*/
|
|
112
|
+
getPriceAdjustments(): Collection<PriceAdjustment>;
|
|
113
|
+
/**
|
|
114
|
+
* Returns the parent product line item this shipping line item belongs to.
|
|
115
|
+
*/
|
|
116
|
+
getProductLineItem(): ProductLineItem;
|
|
117
|
+
/**
|
|
118
|
+
* Returns the quantity of the shipping cost.
|
|
119
|
+
*/
|
|
120
|
+
getQuantity(): Quantity;
|
|
121
|
+
/**
|
|
122
|
+
* Returns the shipment this shipping line item belongs to.
|
|
123
|
+
*/
|
|
124
|
+
getShipment(): Shipment;
|
|
125
|
+
/**
|
|
126
|
+
* Returns the 'surcharge' flag.
|
|
127
|
+
*/
|
|
128
|
+
isSurcharge(): boolean;
|
|
129
|
+
/**
|
|
130
|
+
* Sets price attributes of the line item based on the
|
|
131
|
+
* purchase currency, taxation policy and line item quantity.
|
|
132
|
+
*
|
|
133
|
+
* The method sets the 'basePrice' attribute of the line item.
|
|
134
|
+
* Additionally, it sets the 'netPrice' attribute of the line item
|
|
135
|
+
* if the current taxation policy is 'net', and the 'grossPrice'
|
|
136
|
+
* attribute, if the current taxation policy is 'gross'. The
|
|
137
|
+
* 'netPrice'/'grossPrice' attributes are set by multiplying the
|
|
138
|
+
* specified price value with the line item quantity.
|
|
139
|
+
*
|
|
140
|
+
* If null is specified as value, the price attributes are reset to
|
|
141
|
+
* Money.NA.
|
|
142
|
+
*/
|
|
143
|
+
setPriceValue(value: number): void;
|
|
144
|
+
/**
|
|
145
|
+
* Sets the quantity of the shipping cost.
|
|
146
|
+
*/
|
|
147
|
+
setQuantity(quantity: Quantity): void;
|
|
148
|
+
/**
|
|
149
|
+
* Sets the 'surcharge' flag.
|
|
150
|
+
*/
|
|
151
|
+
setSurcharge(flag: boolean): void;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
export = ProductShippingLineItem;
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import Collection = require('../util/Collection');
|
|
2
|
+
import ShippingMethod = require('./ShippingMethod');
|
|
3
|
+
import ProductShippingCost = require('./ProductShippingCost');
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Instances of ProductShippingModel provide access to product-level
|
|
7
|
+
* shipping information, such as applicable or inapplicable shipping methods
|
|
8
|
+
* and shipping cost defined for the product for a specified shipping
|
|
9
|
+
* method.
|
|
10
|
+
*
|
|
11
|
+
* Use dw.order.ShippingMgr.getProductShippingModel to get
|
|
12
|
+
* the shipping model for a specific product.
|
|
13
|
+
*/
|
|
14
|
+
declare class ProductShippingModel {
|
|
15
|
+
/**
|
|
16
|
+
* Returns the active applicable shipping methods for the product related
|
|
17
|
+
* to this shipping model, i.e. shipping methods the product can be shipped
|
|
18
|
+
* with. A product can be shipping with a shipping methods if the shipping
|
|
19
|
+
* method is not explicitely marked as inapplicable for this product.
|
|
20
|
+
*/
|
|
21
|
+
readonly applicableShippingMethods: Collection<ShippingMethod>;
|
|
22
|
+
/**
|
|
23
|
+
* Returns the active inapplicable shipping methods for the product related
|
|
24
|
+
* to this shipping model, i.e. shipping methods the product cannot be
|
|
25
|
+
* shipped with. A product cannot be shipping with a shipping methods if the
|
|
26
|
+
* shipping method is explicitely marked as inapplicable for this product.
|
|
27
|
+
*/
|
|
28
|
+
readonly inapplicableShippingMethods: Collection<ShippingMethod>;
|
|
29
|
+
/**
|
|
30
|
+
* Returns the active shipping methods for which either any fixed-price or
|
|
31
|
+
* surcharge product-level shipping cost is defined for the specified product.
|
|
32
|
+
*
|
|
33
|
+
* Note that this can include inapplicable shipping methods
|
|
34
|
+
* (see getInapplicableShippingMethods).
|
|
35
|
+
*/
|
|
36
|
+
readonly shippingMethodsWithShippingCost: Collection<ShippingMethod>;
|
|
37
|
+
private constructor();
|
|
38
|
+
/**
|
|
39
|
+
* Returns the active applicable shipping methods for the product related
|
|
40
|
+
* to this shipping model, i.e. shipping methods the product can be shipped
|
|
41
|
+
* with. A product can be shipping with a shipping methods if the shipping
|
|
42
|
+
* method is not explicitely marked as inapplicable for this product.
|
|
43
|
+
*/
|
|
44
|
+
getApplicableShippingMethods(): Collection<ShippingMethod>;
|
|
45
|
+
/**
|
|
46
|
+
* Returns the active inapplicable shipping methods for the product related
|
|
47
|
+
* to this shipping model, i.e. shipping methods the product cannot be
|
|
48
|
+
* shipped with. A product cannot be shipping with a shipping methods if the
|
|
49
|
+
* shipping method is explicitely marked as inapplicable for this product.
|
|
50
|
+
*/
|
|
51
|
+
getInapplicableShippingMethods(): Collection<ShippingMethod>;
|
|
52
|
+
/**
|
|
53
|
+
* Returns the shipping cost object for the related product and
|
|
54
|
+
* the specified shipping method, or null if no product-level fixed-price or
|
|
55
|
+
* surcharge shipping cost are defined for the specified product.
|
|
56
|
+
*
|
|
57
|
+
* The following rules apply:
|
|
58
|
+
*
|
|
59
|
+
* - if fixed and surcharge shipping cost is defined for a product, the fixed cost takes precedence
|
|
60
|
+
* - if a product is member of multiple shipping cost groups, the lowest shipping cost takes precedence
|
|
61
|
+
*/
|
|
62
|
+
getShippingCost(shippingMethod: ShippingMethod): ProductShippingCost | null;
|
|
63
|
+
/**
|
|
64
|
+
* Returns the active shipping methods for which either any fixed-price or
|
|
65
|
+
* surcharge product-level shipping cost is defined for the specified product.
|
|
66
|
+
*
|
|
67
|
+
* Note that this can include inapplicable shipping methods
|
|
68
|
+
* (see getInapplicableShippingMethods).
|
|
69
|
+
*/
|
|
70
|
+
getShippingMethodsWithShippingCost(): Collection<ShippingMethod>;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export = ProductShippingModel;
|
package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Return.d.ts
ADDED
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import AbstractItemCtnr = require('./AbstractItemCtnr');
|
|
2
|
+
import EnumValue = require('../value/EnumValue');
|
|
3
|
+
import ReturnCase = require('./ReturnCase');
|
|
4
|
+
import ReturnItem = require('./ReturnItem');
|
|
5
|
+
import FilteringCollection = require('../util/FilteringCollection');
|
|
6
|
+
import Invoice = require('./Invoice');
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* The Return represents a physical customer return, and contains 1..n
|
|
10
|
+
* dw.order.ReturnItems. The Return is associated with one dw.order.ReturnCase, and each
|
|
11
|
+
* ReturnItem is associated with one dw.order.ReturnCaseItem and (via the
|
|
12
|
+
* ReturnCaseItem) a single dw.order.OrderItem usually representing an dw.order.Order
|
|
13
|
+
* dw.order.ProductLineItem.
|
|
14
|
+
*
|
|
15
|
+
* The ReturnItem records the quantity returned.
|
|
16
|
+
*
|
|
17
|
+
* The Return can have one of these status values:
|
|
18
|
+
*
|
|
19
|
+
* - NEW - the return is new, i.e. needs to undergo a check before it can be
|
|
20
|
+
* marked as COMPLETED
|
|
21
|
+
* - COMPLETED - the return is complete, this is a precondition for refunding the
|
|
22
|
+
* customer for a return.
|
|
23
|
+
*
|
|
24
|
+
* Order post-processing APIs (gillian) are now inactive by default and will throw
|
|
25
|
+
* an exception if accessed. Activation needs preliminary approval by Product Management.
|
|
26
|
+
* Please contact support in this case. Existing customers using these APIs are not
|
|
27
|
+
* affected by this change and can use the APIs until further notice.
|
|
28
|
+
*/
|
|
29
|
+
declare class Return extends AbstractItemCtnr {
|
|
30
|
+
/**
|
|
31
|
+
* Sorting by item id. Use with method getItems as an argument to method dw.util.FilteringCollection.sort.
|
|
32
|
+
*/
|
|
33
|
+
static readonly ORDERBY_ITEMID: any;
|
|
34
|
+
/**
|
|
35
|
+
* Sorting by the position of the related oder item. Use with method getItems as an argument to method dw.util.FilteringCollection.sort.
|
|
36
|
+
*/
|
|
37
|
+
static readonly ORDERBY_ITEMPOSITION: any;
|
|
38
|
+
/**
|
|
39
|
+
* Unsorted , as it is. Use with method getItems as an argument to method dw.util.FilteringCollection.sort.
|
|
40
|
+
*/
|
|
41
|
+
static readonly ORDERBY_UNSORTED: any;
|
|
42
|
+
/**
|
|
43
|
+
* Selects the product items. Use with method getItems as an argument to method dw.util.FilteringCollection.select.
|
|
44
|
+
*/
|
|
45
|
+
static readonly QUALIFIER_PRODUCTITEMS: any;
|
|
46
|
+
/**
|
|
47
|
+
* Selects for the service items. Use with method getItems as an argument to method dw.util.FilteringCollection.select.
|
|
48
|
+
*/
|
|
49
|
+
static readonly QUALIFIER_SERVICEITEMS: any;
|
|
50
|
+
/**
|
|
51
|
+
* Constant for Return Status COMPLETED
|
|
52
|
+
*/
|
|
53
|
+
static readonly STATUS_COMPLETED: string;
|
|
54
|
+
/**
|
|
55
|
+
* Constant for Return Status NEW
|
|
56
|
+
*/
|
|
57
|
+
static readonly STATUS_NEW: string;
|
|
58
|
+
/**
|
|
59
|
+
* Returns null or the previously created dw.order.Invoice.
|
|
60
|
+
* @see createInvoice
|
|
61
|
+
*/
|
|
62
|
+
readonly invoice: Invoice | null;
|
|
63
|
+
/**
|
|
64
|
+
* Returns null or the invoice-number.
|
|
65
|
+
* @see createInvoice
|
|
66
|
+
*/
|
|
67
|
+
readonly invoiceNumber: string | null;
|
|
68
|
+
/**
|
|
69
|
+
* A note for the return.
|
|
70
|
+
*/
|
|
71
|
+
note: string | null;
|
|
72
|
+
/**
|
|
73
|
+
* Returns the dw.order.ReturnCase with which this Return is associated. The ReturnCase
|
|
74
|
+
* may represent an RMA (return merchandise authorization).
|
|
75
|
+
*/
|
|
76
|
+
readonly returnCase: ReturnCase;
|
|
77
|
+
/**
|
|
78
|
+
* The return number identifying this return.
|
|
79
|
+
*/
|
|
80
|
+
readonly returnNumber: string;
|
|
81
|
+
/**
|
|
82
|
+
* Gets the return status.
|
|
83
|
+
*
|
|
84
|
+
* Possible values are STATUS_NEW, STATUS_COMPLETED.
|
|
85
|
+
*/
|
|
86
|
+
status: EnumValue;
|
|
87
|
+
private constructor();
|
|
88
|
+
/**
|
|
89
|
+
* Creates a new dw.order.Invoice based on this Return.
|
|
90
|
+
* The return-number will be used as the invoice-number. The
|
|
91
|
+
* Invoice can then be accessed using getInvoice or its
|
|
92
|
+
* number using getInvoiceNumber. The method must not be called
|
|
93
|
+
* more than once for a Return, nor may 2 Invoices exist
|
|
94
|
+
* with the same invoice-number.
|
|
95
|
+
*
|
|
96
|
+
* The new Invoice is a credit-invoice with a dw.order.Invoice.STATUS_NOT_PAID status, and
|
|
97
|
+
* will be passed to the refund payment-hook in a separate database
|
|
98
|
+
* transaction for processing.
|
|
99
|
+
*/
|
|
100
|
+
createInvoice(): Invoice;
|
|
101
|
+
/**
|
|
102
|
+
* Creates a new dw.order.Invoice based on this Return. The
|
|
103
|
+
* invoice-number must be specified as an argument. The
|
|
104
|
+
* Invoice can then be accessed using getInvoice or its
|
|
105
|
+
* number using getInvoiceNumber. The method must not be called
|
|
106
|
+
* more than once for a Return, nor may 2 Invoices exist
|
|
107
|
+
* with the same invoice-number.
|
|
108
|
+
*
|
|
109
|
+
* The new Invoice is a credit-invoice with a dw.order.Invoice.STATUS_NOT_PAID status, and
|
|
110
|
+
* will be passed to the refund payment-hook in a separate database
|
|
111
|
+
* transaction for processing.
|
|
112
|
+
*/
|
|
113
|
+
createInvoice(invoiceNumber: string): Invoice;
|
|
114
|
+
/**
|
|
115
|
+
* Create a dw.order.ReturnItem based on a dw.order.ReturnCaseItem.
|
|
116
|
+
*/
|
|
117
|
+
createItem(returnCaseItemID: string): ReturnItem;
|
|
118
|
+
/**
|
|
119
|
+
* Returns null or the previously created dw.order.Invoice.
|
|
120
|
+
* @see createInvoice
|
|
121
|
+
*/
|
|
122
|
+
getInvoice(): Invoice | null;
|
|
123
|
+
/**
|
|
124
|
+
* Returns null or the invoice-number.
|
|
125
|
+
* @see createInvoice
|
|
126
|
+
*/
|
|
127
|
+
getInvoiceNumber(): string | null;
|
|
128
|
+
/**
|
|
129
|
+
* A note for the return.
|
|
130
|
+
*/
|
|
131
|
+
getNote(): string | null;
|
|
132
|
+
/**
|
|
133
|
+
* Returns the dw.order.ReturnCase with which this Return is associated. The ReturnCase
|
|
134
|
+
* may represent an RMA (return merchandise authorization).
|
|
135
|
+
*/
|
|
136
|
+
getReturnCase(): ReturnCase;
|
|
137
|
+
/**
|
|
138
|
+
* The return number identifying this return.
|
|
139
|
+
*/
|
|
140
|
+
getReturnNumber(): string;
|
|
141
|
+
/**
|
|
142
|
+
* Gets the return status.
|
|
143
|
+
*
|
|
144
|
+
* Possible values are STATUS_NEW, STATUS_COMPLETED.
|
|
145
|
+
*/
|
|
146
|
+
getStatus(): EnumValue;
|
|
147
|
+
/**
|
|
148
|
+
* Sets a note for the return.
|
|
149
|
+
*/
|
|
150
|
+
setNote(note: string): void;
|
|
151
|
+
/**
|
|
152
|
+
* Sets the return status.
|
|
153
|
+
*
|
|
154
|
+
* Possible values are STATUS_NEW, STATUS_COMPLETED
|
|
155
|
+
*
|
|
156
|
+
* When set to status COMPLETED, only the the custom attributes of the return itself and its return items can be changed.
|
|
157
|
+
*/
|
|
158
|
+
setStatus(statusName: string): void;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
export = Return;
|
package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ReturnCase.d.ts
ADDED
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
import AbstractItemCtnr = require('./AbstractItemCtnr');
|
|
2
|
+
import EnumValue = require('../value/EnumValue');
|
|
3
|
+
import Collection = require('../util/Collection');
|
|
4
|
+
import Return = require('./Return');
|
|
5
|
+
import FilteringCollection = require('../util/FilteringCollection');
|
|
6
|
+
import ReturnCaseItem = require('./ReturnCaseItem');
|
|
7
|
+
import Invoice = require('./Invoice');
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* All returns exist in the context of a ReturnCase, each dw.order.Order
|
|
11
|
+
* can have any number of ReturnCases.
|
|
12
|
+
*
|
|
13
|
+
* The ReturnCase has dw.order.ReturnCaseItems, each of which is associated with an
|
|
14
|
+
* dw.order.OrderItem (an extension to either a dw.order.ProductLineItem or a dw.order.ShippingLineItem).
|
|
15
|
+
*
|
|
16
|
+
* Each ReturnCaseItem defines dw.order.ReturnCaseItem.getAuthorizedQuantity representing the maximum
|
|
17
|
+
* quantity expected to be returned. The ReturnCaseItem may be associated with
|
|
18
|
+
* 0..n dw.order.ReturnItems - ReturnItems are added to the ReturnCaseItem when
|
|
19
|
+
* dw.order.Returns are created.
|
|
20
|
+
*
|
|
21
|
+
* Either - a ReturnCase may be used as an RMA, in which case they are
|
|
22
|
+
* created when a customer first shows a wish to return item(s). The customer
|
|
23
|
+
* then includes the RMA number with the returned item(s). The Return created as
|
|
24
|
+
* a result is then associated with the existing ReturnCase.
|
|
25
|
+
*
|
|
26
|
+
* Or - a ReturnCase is automatically created as part of the return
|
|
27
|
+
* creation, i.e. the customer returns some item(s) leading to a creation of
|
|
28
|
+
* both a Return and an associated ReturnCase.
|
|
29
|
+
*
|
|
30
|
+
* The scripting api allows access to the ReturnCases, whether the ReturnCase is an RMA or not,
|
|
31
|
+
* and the ReturnCase status. Both the ReturnCaseItems and any Returns
|
|
32
|
+
* associated with the ReturnCase can be accessed.
|
|
33
|
+
*
|
|
34
|
+
* A ReturnCase has one of these status values:
|
|
35
|
+
*
|
|
36
|
+
* - NEW - the ReturnCase has been created and can be edited previous to
|
|
37
|
+
* its authorization
|
|
38
|
+
* - CONFIRMED - the ReturnCase is CONFIRMED, can no longer be edited, no
|
|
39
|
+
* Returns have been associated with it. Only a NEW- ReturnCase can be
|
|
40
|
+
* CONFIRMED
|
|
41
|
+
* - PARTIAL_RETURNED - the ReturnCase has been associated with at least one Return,
|
|
42
|
+
* but is not yet complete. Only a CONFIRMED- ReturnCase can be set to
|
|
43
|
+
* PARTIAL_RETURNED
|
|
44
|
+
* - RETURNED - the ReturnCase has been associated with Returns which match
|
|
45
|
+
* the expected authorized quantity. Only an CONFIRMED- or PARTIAL_RETURNED- return-case
|
|
46
|
+
* can be set to RETURNED
|
|
47
|
+
* - CANCELLED - the ReturnCase has been cancelled (only a NEW- or
|
|
48
|
+
* CONFIRMED- ReturnCase can be cancelled)
|
|
49
|
+
*
|
|
50
|
+
* Order post-processing APIs (gillian) are now inactive by default and will throw
|
|
51
|
+
* an exception if accessed. Activation needs preliminary approval by Product Management.
|
|
52
|
+
* Please contact support in this case. Existing customers using these APIs are not
|
|
53
|
+
* affected by this change and can use the APIs until further notice.
|
|
54
|
+
*/
|
|
55
|
+
declare class ReturnCase extends AbstractItemCtnr {
|
|
56
|
+
/**
|
|
57
|
+
* Sorting by item id. Use with method getItems as an argument to method dw.util.FilteringCollection.sort.
|
|
58
|
+
*/
|
|
59
|
+
static readonly ORDERBY_ITEMID: any;
|
|
60
|
+
/**
|
|
61
|
+
* Sorting by the position of the related oder item. Use with method getItems as an argument to method dw.util.FilteringCollection.sort.
|
|
62
|
+
*/
|
|
63
|
+
static readonly ORDERBY_ITEMPOSITION: any;
|
|
64
|
+
/**
|
|
65
|
+
* Unsorted , as it is. Use with method getItems as an argument to method dw.util.FilteringCollection.sort.
|
|
66
|
+
*/
|
|
67
|
+
static readonly ORDERBY_UNSORTED: any;
|
|
68
|
+
/**
|
|
69
|
+
* Selects the product items. Use with method getItems as an argument to method dw.util.FilteringCollection.select.
|
|
70
|
+
*/
|
|
71
|
+
static readonly QUALIFIER_PRODUCTITEMS: any;
|
|
72
|
+
/**
|
|
73
|
+
* Selects for the service items. Use with method getItems as an argument to method dw.util.FilteringCollection.select.
|
|
74
|
+
*/
|
|
75
|
+
static readonly QUALIFIER_SERVICEITEMS: any;
|
|
76
|
+
/**
|
|
77
|
+
* constant for ReturnCase Status CANCELLED
|
|
78
|
+
*/
|
|
79
|
+
static readonly STATUS_CANCELLED: string;
|
|
80
|
+
/**
|
|
81
|
+
* constant for ReturnCase Status CONFIRMED
|
|
82
|
+
*/
|
|
83
|
+
static readonly STATUS_CONFIRMED: string;
|
|
84
|
+
/**
|
|
85
|
+
* constant for ReturnCase Status NEW
|
|
86
|
+
*/
|
|
87
|
+
static readonly STATUS_NEW: string;
|
|
88
|
+
/**
|
|
89
|
+
* constant for ReturnCase Status PARTIAL RETURNED
|
|
90
|
+
*/
|
|
91
|
+
static readonly STATUS_PARTIAL_RETURNED: string;
|
|
92
|
+
/**
|
|
93
|
+
* constant for ReturnCase Status RETURNED
|
|
94
|
+
*/
|
|
95
|
+
static readonly STATUS_RETURNED: string;
|
|
96
|
+
/**
|
|
97
|
+
* Return whether this is an RMA. This is specified when calling dw.order.Order.createReturnCase.
|
|
98
|
+
*/
|
|
99
|
+
readonly RMA: boolean;
|
|
100
|
+
/**
|
|
101
|
+
* Returns null or the previously created dw.order.Invoice.
|
|
102
|
+
* @see createInvoice
|
|
103
|
+
*/
|
|
104
|
+
readonly invoice: Invoice | null;
|
|
105
|
+
/**
|
|
106
|
+
* Returns null or the invoice-number.
|
|
107
|
+
* @see createInvoice
|
|
108
|
+
*/
|
|
109
|
+
readonly invoiceNumber: string | null;
|
|
110
|
+
/**
|
|
111
|
+
* Returns the mandatory return case number identifying this document.
|
|
112
|
+
*/
|
|
113
|
+
readonly returnCaseNumber: string;
|
|
114
|
+
/**
|
|
115
|
+
* Return the collection of dw.order.Returns associated with this ReturnCase.
|
|
116
|
+
*/
|
|
117
|
+
readonly returns: Collection<Return>;
|
|
118
|
+
/**
|
|
119
|
+
* Gets the return case item status. The status of a ReturnCase is read-only and calculated from the status of
|
|
120
|
+
* the associated dw.order.ReturnCaseItems.
|
|
121
|
+
*
|
|
122
|
+
* The possible values are STATUS_NEW,STATUS_CONFIRMED,
|
|
123
|
+
* STATUS_PARTIAL_RETURNED, STATUS_RETURNED,
|
|
124
|
+
* STATUS_CANCELLED.
|
|
125
|
+
*/
|
|
126
|
+
readonly status: EnumValue;
|
|
127
|
+
private constructor();
|
|
128
|
+
/**
|
|
129
|
+
*
|
|
130
|
+
* Attempt to confirm the ReturnCase.
|
|
131
|
+
*
|
|
132
|
+
* Without items the return case will be canceled
|
|
133
|
+
*
|
|
134
|
+
* When confirmed, only the the custom attributes of its return case items can be changed.
|
|
135
|
+
* @throws IllegalStateException thrown if Status is not STATUS_NEW
|
|
136
|
+
*/
|
|
137
|
+
confirm(): void;
|
|
138
|
+
/**
|
|
139
|
+
* Creates a new dw.order.Invoice based on this
|
|
140
|
+
* ReturnCase. The return-case-number will
|
|
141
|
+
* be used as the invoice-number. The Invoice can then be
|
|
142
|
+
* accessed using getInvoice or its number using
|
|
143
|
+
* getInvoiceNumber. The method must not be called more than once
|
|
144
|
+
* for a ReturnCase, nor may 2 Invoices
|
|
145
|
+
* exist with the same invoice-number.
|
|
146
|
+
*
|
|
147
|
+
* The new Invoice is a credit-invoice with a
|
|
148
|
+
* dw.order.Invoice.STATUS_NOT_PAID status, and will be passed to
|
|
149
|
+
* the refund payment-hook in a separate database transaction for
|
|
150
|
+
* processing.
|
|
151
|
+
*/
|
|
152
|
+
createInvoice(): Invoice;
|
|
153
|
+
/**
|
|
154
|
+
* Creates a new dw.order.Invoice based on this
|
|
155
|
+
* ReturnCase. The invoice-number must be specified as an
|
|
156
|
+
* argument. The Invoice can then be
|
|
157
|
+
* accessed using getInvoice or its number using
|
|
158
|
+
* getInvoiceNumber. The method must not be called more than once
|
|
159
|
+
* for a ReturnCase, nor may 2 Invoices
|
|
160
|
+
* exist with the same invoice-number.
|
|
161
|
+
*
|
|
162
|
+
* The new Invoice is a credit-invoice with a
|
|
163
|
+
* dw.order.Invoice.STATUS_NOT_PAID status, and will be passed to
|
|
164
|
+
* the refund payment-hook in a separate database transaction for
|
|
165
|
+
* processing.
|
|
166
|
+
*/
|
|
167
|
+
createInvoice(invoiceNumber: string): Invoice;
|
|
168
|
+
/**
|
|
169
|
+
* Creates a new item for a given order item. Note: a ReturnCase may have
|
|
170
|
+
* only one item per order item.
|
|
171
|
+
* @throws IllegalArgumentException thrown if getItem(orderItem) returns non null
|
|
172
|
+
*/
|
|
173
|
+
createItem(orderItemID: string): ReturnCaseItem | null;
|
|
174
|
+
/**
|
|
175
|
+
* Creates a new dw.order.Return with the given number and associates it with this ReturnCase.
|
|
176
|
+
*/
|
|
177
|
+
createReturn(returnNumber: string): Return;
|
|
178
|
+
/**
|
|
179
|
+
* Creates a new dw.order.Return with a generated number and associates it with this ReturnCase.
|
|
180
|
+
*/
|
|
181
|
+
createReturn(): Return;
|
|
182
|
+
/**
|
|
183
|
+
* Returns null or the previously created dw.order.Invoice.
|
|
184
|
+
* @see createInvoice
|
|
185
|
+
*/
|
|
186
|
+
getInvoice(): Invoice | null;
|
|
187
|
+
/**
|
|
188
|
+
* Returns null or the invoice-number.
|
|
189
|
+
* @see createInvoice
|
|
190
|
+
*/
|
|
191
|
+
getInvoiceNumber(): string | null;
|
|
192
|
+
/**
|
|
193
|
+
* Returns the mandatory return case number identifying this document.
|
|
194
|
+
*/
|
|
195
|
+
getReturnCaseNumber(): string;
|
|
196
|
+
/**
|
|
197
|
+
* Return the collection of dw.order.Returns associated with this ReturnCase.
|
|
198
|
+
*/
|
|
199
|
+
getReturns(): Collection<Return>;
|
|
200
|
+
/**
|
|
201
|
+
* Gets the return case item status. The status of a ReturnCase is read-only and calculated from the status of
|
|
202
|
+
* the associated dw.order.ReturnCaseItems.
|
|
203
|
+
*
|
|
204
|
+
* The possible values are STATUS_NEW,STATUS_CONFIRMED,
|
|
205
|
+
* STATUS_PARTIAL_RETURNED, STATUS_RETURNED,
|
|
206
|
+
* STATUS_CANCELLED.
|
|
207
|
+
*/
|
|
208
|
+
getStatus(): EnumValue;
|
|
209
|
+
/**
|
|
210
|
+
* Return whether this is an RMA. This is specified when calling dw.order.Order.createReturnCase.
|
|
211
|
+
*/
|
|
212
|
+
isRMA(): boolean;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
export = ReturnCase;
|