@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
package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/WebDAVClient.d.ts
ADDED
|
@@ -0,0 +1,324 @@
|
|
|
1
|
+
import File = require('../io/File');
|
|
2
|
+
import WebDAVFileInfo = require('./WebDAVFileInfo');
|
|
3
|
+
import HashMap = require('../util/HashMap');
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* The WebDAVClient class supports the WebDAV methods GET, PUT, MKCOL, MOVE,
|
|
7
|
+
* COPY, PROPFIND,OPTIONS and DELETE.
|
|
8
|
+
*
|
|
9
|
+
* Note: when this class is used with sensitive data, be careful in persisting sensitive information to disk.
|
|
10
|
+
* The client can be used as shown in the following example:
|
|
11
|
+
*
|
|
12
|
+
* ```
|
|
13
|
+
* var webdavClient : WebDAVClient = new WebDAVClient("http://mywebdav.server.com","myusername", "mypassword");
|
|
14
|
+
* var getString : String = webdavClient.get("myData.xml","UTF-8");
|
|
15
|
+
* var message : String;
|
|
16
|
+
*
|
|
17
|
+
* if (webdavClient.succeeded())
|
|
18
|
+
* {
|
|
19
|
+
* message = webDavClient.statusText;
|
|
20
|
+
* }
|
|
21
|
+
* else
|
|
22
|
+
* {
|
|
23
|
+
* // error handling
|
|
24
|
+
* message="An error occurred with status code "+webdavClient.statusCode;
|
|
25
|
+
* }
|
|
26
|
+
*
|
|
27
|
+
* var data : XML = new XML(getString);
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* The WebDAV client supports the following authentication schemes:
|
|
31
|
+
*
|
|
32
|
+
* - Basic authentication
|
|
33
|
+
* - Digest authentication
|
|
34
|
+
*
|
|
35
|
+
* The methods of this class do not generally throw exceptions if the underlying
|
|
36
|
+
* WebDAV operation do not succeed.The result of a WebDAV operation can be
|
|
37
|
+
* checked using the methods succeeded(), getStatusCode(), and getStatusText().
|
|
38
|
+
*
|
|
39
|
+
* Important note: This WebDAV client cannot be used to access the Commerce Cloud Digital
|
|
40
|
+
* server via WebDAV protocol.
|
|
41
|
+
*/
|
|
42
|
+
declare class WebDAVClient {
|
|
43
|
+
/**
|
|
44
|
+
* The default encoding character set.
|
|
45
|
+
*/
|
|
46
|
+
static readonly DEFAULT_ENCODING = "UTF-8";
|
|
47
|
+
/**
|
|
48
|
+
* The default size for `get()` returning a File is 5MB.
|
|
49
|
+
*/
|
|
50
|
+
static readonly DEFAULT_GET_FILE_SIZE: number;
|
|
51
|
+
/**
|
|
52
|
+
* The default size for `get()` returning a String is 2MB.
|
|
53
|
+
*/
|
|
54
|
+
static readonly DEFAULT_GET_STRING_SIZE: number;
|
|
55
|
+
/**
|
|
56
|
+
* The depth of searching a WebDAV destination using the PROPFIND method -
|
|
57
|
+
* if that depth is given to the PROPFIND method as an input parameter the
|
|
58
|
+
* destination will be searched only on the level of the given path and a
|
|
59
|
+
* list of all containing files on that level will be returned [is not
|
|
60
|
+
* supported by every server].
|
|
61
|
+
*/
|
|
62
|
+
static readonly DEPTH_0 = 0;
|
|
63
|
+
/**
|
|
64
|
+
* The depth of searching a WebDAV destination using the PROPFIND method -
|
|
65
|
+
* if that depth is given to the PROPFIND method as an input parameter the
|
|
66
|
+
* destination will be searched until one level under the given path and a
|
|
67
|
+
* list of all containing files in that two levels [/path and one level
|
|
68
|
+
* underneath] will be returned [is not supported by every server].
|
|
69
|
+
*/
|
|
70
|
+
static readonly DEPTH_1 = 1;
|
|
71
|
+
/**
|
|
72
|
+
* The depth of searching a WebDAV destination using the PROPFIND method -
|
|
73
|
+
* if that depth is given to the PROPFIND method as an input parameter the
|
|
74
|
+
* destination will be fully searched and a list of all containing files
|
|
75
|
+
* will be returned [is not supported by every server].
|
|
76
|
+
*/
|
|
77
|
+
static readonly DEPTH_INIFINITY = 2147483647;
|
|
78
|
+
/**
|
|
79
|
+
* The maximum size for `get()` returning a File is forty times
|
|
80
|
+
* the default size for getting a file. The largest file allowed is 200MB.
|
|
81
|
+
*/
|
|
82
|
+
static readonly MAX_GET_FILE_SIZE: number;
|
|
83
|
+
/**
|
|
84
|
+
* The maximum size for `get()` returning a String is five
|
|
85
|
+
* times the default size for getting a String. The largest String allowed
|
|
86
|
+
* is 10MB.
|
|
87
|
+
*/
|
|
88
|
+
static readonly MAX_GET_STRING_SIZE: number;
|
|
89
|
+
/**
|
|
90
|
+
* Returns a dw.util.HashMap of all response headers.
|
|
91
|
+
*/
|
|
92
|
+
readonly allResponseHeaders: HashMap<any, any>;
|
|
93
|
+
/**
|
|
94
|
+
* Returns the status code after the execution of a method.
|
|
95
|
+
*/
|
|
96
|
+
readonly statusCode: number;
|
|
97
|
+
/**
|
|
98
|
+
* Returns the status text after the execution of a method.
|
|
99
|
+
*/
|
|
100
|
+
readonly statusText: string;
|
|
101
|
+
/**
|
|
102
|
+
* Creates a new client for the use at a server which requires
|
|
103
|
+
* authentication.
|
|
104
|
+
* The client supports the following authentication schemes:
|
|
105
|
+
* - Basic authentication scheme
|
|
106
|
+
* - Digest authentication scheme
|
|
107
|
+
*/
|
|
108
|
+
constructor(rootUrl: string, username: string, password: string);
|
|
109
|
+
/**
|
|
110
|
+
* Creates a new client for the use at a server which does not require
|
|
111
|
+
* authentication.
|
|
112
|
+
*/
|
|
113
|
+
constructor(rootUrl: string);
|
|
114
|
+
/**
|
|
115
|
+
* Adds a request header to the next WebDAV call.
|
|
116
|
+
*/
|
|
117
|
+
addRequestHeader(headerName: string, headerValue: string): void;
|
|
118
|
+
/**
|
|
119
|
+
* Closes the current connection to the server.
|
|
120
|
+
*/
|
|
121
|
+
close(): void;
|
|
122
|
+
/**
|
|
123
|
+
* Copies a file on the server from one place `rootUrl`/`origin`
|
|
124
|
+
* to the other `rootUrl`/`destination`. If
|
|
125
|
+
* `destination` already exists it gets overwritten. Returns
|
|
126
|
+
* true if succeeded, otherwise false.
|
|
127
|
+
*/
|
|
128
|
+
copy(origin: string, destination: string): boolean;
|
|
129
|
+
/**
|
|
130
|
+
* Copies a file on the server from one place `rootUrl`/`origin`
|
|
131
|
+
* to the other `rootUrl`/`destination`. If
|
|
132
|
+
* the passed parameter `overwrite` is true and
|
|
133
|
+
* `destination` already exists it gets overwritten. Returns
|
|
134
|
+
* true if succeeded, otherwise false.
|
|
135
|
+
*/
|
|
136
|
+
copy(origin: string, destination: string, overwrite: boolean): boolean;
|
|
137
|
+
/**
|
|
138
|
+
* Copies a file on the server from one place `rootUrl`/`origin`
|
|
139
|
+
* to the other `rootUrl`/`destination`. If
|
|
140
|
+
* the passed parameter `overwrite` is true and
|
|
141
|
+
* `destination` already exists it gets overwritten. If the
|
|
142
|
+
* passed parameter `shallow` is true a flat copy mechanism is
|
|
143
|
+
* used.
|
|
144
|
+
*
|
|
145
|
+
* Returns true if succeeded, otherwise false.
|
|
146
|
+
*/
|
|
147
|
+
copy(origin: string, destination: string, overwrite: boolean, shallow: boolean): boolean;
|
|
148
|
+
/**
|
|
149
|
+
* Deletes a file or directory from the remote server that can be found
|
|
150
|
+
* under `rootUrl`/`path`. Returns true if
|
|
151
|
+
* succeeded, otherwise false.
|
|
152
|
+
*/
|
|
153
|
+
del(path: string): boolean;
|
|
154
|
+
/**
|
|
155
|
+
* Reads the content of a remote file or directory that can be found under
|
|
156
|
+
* `rootUrl`/`path` and returns a string
|
|
157
|
+
* representation of the data found in the DEFAULT_ENCODING encoding. If the
|
|
158
|
+
* remote location is a directory the result depends on the server
|
|
159
|
+
* configuration, some return an HTML formatted directory listing. Returns
|
|
160
|
+
* at most DEFAULT_GET_STRING_SIZE bytes.
|
|
161
|
+
*/
|
|
162
|
+
get(path: string): string;
|
|
163
|
+
/**
|
|
164
|
+
* Reads the content of a remote file or directory that can be found under
|
|
165
|
+
* `rootUrl`/`path` and returns a string
|
|
166
|
+
* representation of the data found in the given `encoding`. If
|
|
167
|
+
* the remote location is a directory the result depends on the server
|
|
168
|
+
* configuration, some return an HTML formatted directory listing. Returns
|
|
169
|
+
* at most DEFAULT_GET_STRING_SIZE bytes.
|
|
170
|
+
*/
|
|
171
|
+
get(path: string, encoding: string): string;
|
|
172
|
+
/**
|
|
173
|
+
* Reads the content of a remote file or directory that can be found under
|
|
174
|
+
* `rootUrl`/`path` and returns a string
|
|
175
|
+
* representation of the data found in the given `encoding`. If
|
|
176
|
+
* the remote location is a directory the result depends on the server
|
|
177
|
+
* configuration, some return an HTML formatted directory listing. Returns
|
|
178
|
+
* at most maxGetSize bytes.
|
|
179
|
+
*/
|
|
180
|
+
get(path: string, encoding: string, maxGetSize: number): string;
|
|
181
|
+
/**
|
|
182
|
+
* Reads the content of a remote file or directory that can be found under
|
|
183
|
+
* `rootUrl`/`path` in DEFAULT_ENCODING
|
|
184
|
+
* encoding and writes a dw.io.File in the system's standard
|
|
185
|
+
* encoding, which is "UTF-8". If the remote location is a directory the
|
|
186
|
+
* result depends on the server configuration, some return an HTML formatted
|
|
187
|
+
* directory listing. Receives at most DEFAULT_GET_FILE_SIZE bytes which
|
|
188
|
+
* determines the file size of the local file. Returns true if succeeded
|
|
189
|
+
* otherwise false.
|
|
190
|
+
*/
|
|
191
|
+
get(path: string, file: File): boolean;
|
|
192
|
+
/**
|
|
193
|
+
* Reads the content of a remote file or directory that can be found under
|
|
194
|
+
* `rootUrl`/`path` in DEFAULT_ENCODING
|
|
195
|
+
* encoding and writes a dw.io.File in the system's standard
|
|
196
|
+
* encoding, which is "UTF-8". If the remote location is a directory the
|
|
197
|
+
* result depends on the server configuration, some return an HTML formatted
|
|
198
|
+
* directory listing. Receives at most maxFileSize bytes which determines
|
|
199
|
+
* the file size of the local file. Returns true if succeeded, otherwise
|
|
200
|
+
* false.
|
|
201
|
+
*/
|
|
202
|
+
get(path: string, file: File, maxFileSize: number): boolean;
|
|
203
|
+
/**
|
|
204
|
+
* Reads the content of a remote file or directory that can be found under
|
|
205
|
+
* `rootUrl`/`path` in the passed encoding and
|
|
206
|
+
* writes a dw.io.File in the system standard encoding, which is
|
|
207
|
+
* "UTF-8". If the remote location is a directory the result depends on the
|
|
208
|
+
* server configuration, some return an HTML formatted directory listing.
|
|
209
|
+
* Receives at most maxFileSize bytes which determines the file size of the
|
|
210
|
+
* local file. Returns true if succeeded, otherwise false.
|
|
211
|
+
*/
|
|
212
|
+
get(path: string, file: File, encoding: string, maxFileSize: number): boolean;
|
|
213
|
+
/**
|
|
214
|
+
* Returns a dw.util.HashMap of all response headers.
|
|
215
|
+
*/
|
|
216
|
+
getAllResponseHeaders(): HashMap<any, any>;
|
|
217
|
+
/**
|
|
218
|
+
* Reads the content of a remote binary file that can be found under
|
|
219
|
+
* `rootUrl`/`path` and creates a local copy
|
|
220
|
+
* in dw.io.File. If the remote location is a directory the result
|
|
221
|
+
* depends on the server configuration, some return an HTML formatted
|
|
222
|
+
* directory listing. Copies at most DEFAULT_GET_FILE_SIZE bytes. Returns
|
|
223
|
+
* true if succeeded, otherwise false.
|
|
224
|
+
*/
|
|
225
|
+
getBinary(path: string, file: File): boolean;
|
|
226
|
+
/**
|
|
227
|
+
* Reads the content of a remote binary file that can be found under
|
|
228
|
+
* `rootUrl`/`path` and creates a local copy
|
|
229
|
+
* in dw.io.File. If the remote location is a directory the result
|
|
230
|
+
* depends on the server configuration, some return an HTML formatted
|
|
231
|
+
* directory listing. Copies at most maxFileSize bytes. Returns true if
|
|
232
|
+
* succeeded, otherwise false.
|
|
233
|
+
*/
|
|
234
|
+
getBinary(path: string, file: File, maxFileSize: number): boolean;
|
|
235
|
+
/**
|
|
236
|
+
* Returns a specified response header - multiple headers are separated by
|
|
237
|
+
* CRLF.
|
|
238
|
+
*/
|
|
239
|
+
getResponseHeader(header: string): string;
|
|
240
|
+
/**
|
|
241
|
+
* Returns the status code after the execution of a method.
|
|
242
|
+
*/
|
|
243
|
+
getStatusCode(): number;
|
|
244
|
+
/**
|
|
245
|
+
* Returns the status text after the execution of a method.
|
|
246
|
+
*/
|
|
247
|
+
getStatusText(): string;
|
|
248
|
+
/**
|
|
249
|
+
* Creates a directory on the remote server on the location
|
|
250
|
+
* `rootUrl`/`path`.
|
|
251
|
+
*/
|
|
252
|
+
mkcol(path: string): boolean;
|
|
253
|
+
/**
|
|
254
|
+
* Moves a file on the server from one place `rootUrl` + "/" +`origin`
|
|
255
|
+
* to the other `rootUrl`/`destination`. If
|
|
256
|
+
* `destination` already exists it gets overwritten. Can also
|
|
257
|
+
* be used to rename a remote file. Returns true if succeeded, otherwise
|
|
258
|
+
* false.
|
|
259
|
+
*/
|
|
260
|
+
move(origin: string, destination: string): boolean;
|
|
261
|
+
/**
|
|
262
|
+
* Moves a file on the server from one place `rootUrl`/`origin`
|
|
263
|
+
* to the other `rootUrl`/`destination` Can
|
|
264
|
+
* also be used to rename a remote file. If `overwrite` is true
|
|
265
|
+
* and `destination` already exists it gets overwritten.
|
|
266
|
+
* Returns true if succeeded, otherwise false.
|
|
267
|
+
*/
|
|
268
|
+
move(origin: string, destination: string, overwrite: boolean): boolean;
|
|
269
|
+
/**
|
|
270
|
+
* Returns a list of methods which can be executed on the server location
|
|
271
|
+
* `rootUrl`/`path`.
|
|
272
|
+
*/
|
|
273
|
+
options(path: string): string[];
|
|
274
|
+
/**
|
|
275
|
+
* Get file listing of a remote location.
|
|
276
|
+
*
|
|
277
|
+
* Returns a list of dw.net.WebDAVFileInfo objects which contain
|
|
278
|
+
* information about the files and directories located on
|
|
279
|
+
* `rootUrl`/`path` and DEPTH_1 (1) level
|
|
280
|
+
* underneath.
|
|
281
|
+
*/
|
|
282
|
+
propfind(path: string): WebDAVFileInfo[];
|
|
283
|
+
/**
|
|
284
|
+
* Get file listing of a remote location.
|
|
285
|
+
*
|
|
286
|
+
* Returns a list of dw.net.WebDAVFileInfo objects which contain
|
|
287
|
+
* information about the files and directories located on
|
|
288
|
+
* `rootUrl`/`path` and the passed depth
|
|
289
|
+
* underneath.
|
|
290
|
+
*/
|
|
291
|
+
propfind(path: string, depth: number): WebDAVFileInfo[];
|
|
292
|
+
/**
|
|
293
|
+
* Puts content encoded with DEFAULT_ENCODING into a remote located file at
|
|
294
|
+
* `rootUrl`/`path`. Returns true if
|
|
295
|
+
* succeeded, otherwise false.
|
|
296
|
+
*
|
|
297
|
+
* If the content of a local file is to be uploaded, please use method
|
|
298
|
+
* put instead.
|
|
299
|
+
*/
|
|
300
|
+
put(path: string, content: string): boolean;
|
|
301
|
+
/**
|
|
302
|
+
* Puts content encoded with the passed encoding into a remote located file
|
|
303
|
+
* at `rootUrl`/`path`. Returns true if
|
|
304
|
+
* succeeded, otherwise false.
|
|
305
|
+
*
|
|
306
|
+
* If the content of a local file is to be uploaded, please use method
|
|
307
|
+
* put instead.
|
|
308
|
+
*/
|
|
309
|
+
put(path: string, content: string, encoding: string): boolean;
|
|
310
|
+
/**
|
|
311
|
+
* Puts content out of a passed local file into a remote located file
|
|
312
|
+
* at `rootUrl`/`path`. This method performs
|
|
313
|
+
* a binary file transfer. Returns true if succeeded, otherwise false.
|
|
314
|
+
*/
|
|
315
|
+
put(path: string, file: File): boolean;
|
|
316
|
+
/**
|
|
317
|
+
* Returns true if the last executed WebDAV method was executed successfully - otherwise false.
|
|
318
|
+
* See the code snippet above for an example how to use the succeed() method.
|
|
319
|
+
* @see dw.net.WebDAVClient
|
|
320
|
+
*/
|
|
321
|
+
succeeded(): boolean;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
export = WebDAVClient;
|
package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/WebDAVFileInfo.d.ts
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Simple class representing a file on a remote WebDAV location. The class
|
|
3
|
+
* possesses only read-only attributes of the file and does not permit any
|
|
4
|
+
* manipulation of the file itself. Instances of this class are returned
|
|
5
|
+
* by dw.net.WebDAVClient.propfind which is used to get a
|
|
6
|
+
* listing of files in a WebDAV directory.
|
|
7
|
+
*
|
|
8
|
+
* Note: when this class is used with sensitive data, be careful in persisting sensitive information to disk.
|
|
9
|
+
*/
|
|
10
|
+
declare class WebDAVFileInfo {
|
|
11
|
+
/**
|
|
12
|
+
* Returns the content type of the file.
|
|
13
|
+
*/
|
|
14
|
+
readonly contentType: string;
|
|
15
|
+
/**
|
|
16
|
+
* Returns the creationDate of the file.
|
|
17
|
+
*/
|
|
18
|
+
readonly creationDate: Date;
|
|
19
|
+
/**
|
|
20
|
+
* Identifies if the file is a directory.
|
|
21
|
+
*/
|
|
22
|
+
readonly directory: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Returns the name of the file.
|
|
25
|
+
*/
|
|
26
|
+
readonly name: string;
|
|
27
|
+
/**
|
|
28
|
+
* Returns the path of the file.
|
|
29
|
+
*/
|
|
30
|
+
readonly path: string;
|
|
31
|
+
/**
|
|
32
|
+
* Returns the size of the file.
|
|
33
|
+
*/
|
|
34
|
+
readonly size: number;
|
|
35
|
+
private constructor();
|
|
36
|
+
/**
|
|
37
|
+
* Returns the content type of the file.
|
|
38
|
+
*/
|
|
39
|
+
getContentType(): string;
|
|
40
|
+
/**
|
|
41
|
+
* Returns the creationDate of the file.
|
|
42
|
+
*/
|
|
43
|
+
getCreationDate(): Date;
|
|
44
|
+
/**
|
|
45
|
+
* Returns the name of the file.
|
|
46
|
+
*/
|
|
47
|
+
getName(): string;
|
|
48
|
+
/**
|
|
49
|
+
* Returns the path of the file.
|
|
50
|
+
*/
|
|
51
|
+
getPath(): string;
|
|
52
|
+
/**
|
|
53
|
+
* Returns the size of the file.
|
|
54
|
+
*/
|
|
55
|
+
getSize(): number;
|
|
56
|
+
/**
|
|
57
|
+
* Identifies if the file is a directory.
|
|
58
|
+
*/
|
|
59
|
+
isDirectory(): boolean;
|
|
60
|
+
/**
|
|
61
|
+
* Returns the lastModified date of the file.
|
|
62
|
+
*/
|
|
63
|
+
lastModified(): Date;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export = WebDAVFileInfo;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import FTPClient = require('./FTPClient');
|
|
2
|
+
import FTPFileInfo = require('./FTPFileInfo');
|
|
3
|
+
import HTTPClient = require('./HTTPClient');
|
|
4
|
+
import HTTPClientLoggingConfig = require('./HTTPClientLoggingConfig');
|
|
5
|
+
import HTTPRequestPart = require('./HTTPRequestPart');
|
|
6
|
+
import Mail = require('./Mail');
|
|
7
|
+
import SFTPClient = require('./SFTPClient');
|
|
8
|
+
import SFTPFileInfo = require('./SFTPFileInfo');
|
|
9
|
+
import WebDAVClient = require('./WebDAVClient');
|
|
10
|
+
import WebDAVFileInfo = require('./WebDAVFileInfo');
|
|
11
|
+
|
|
12
|
+
export {
|
|
13
|
+
FTPClient,
|
|
14
|
+
FTPFileInfo,
|
|
15
|
+
HTTPClient,
|
|
16
|
+
HTTPClientLoggingConfig,
|
|
17
|
+
HTTPRequestPart,
|
|
18
|
+
Mail,
|
|
19
|
+
SFTPClient,
|
|
20
|
+
SFTPFileInfo,
|
|
21
|
+
WebDAVClient,
|
|
22
|
+
WebDAVFileInfo
|
|
23
|
+
};
|
package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ActiveData.d.ts
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import ExtensibleObject = require('./ExtensibleObject');
|
|
2
|
+
import CustomAttributes = require('./CustomAttributes');
|
|
3
|
+
|
|
4
|
+
declare global {
|
|
5
|
+
module ICustomAttributes {
|
|
6
|
+
interface ActiveData extends CustomAttributes {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Represents the active data for an object in Commerce Cloud Digital.
|
|
13
|
+
*/
|
|
14
|
+
declare class ActiveData<T extends ICustomAttributes.ActiveData = ICustomAttributes.ActiveData> extends ExtensibleObject<T> {
|
|
15
|
+
/**
|
|
16
|
+
* Return true if the ActiveData doesn't exist for the object
|
|
17
|
+
*/
|
|
18
|
+
readonly empty: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Return true if the ActiveData doesn't exist for the object
|
|
21
|
+
*/
|
|
22
|
+
isEmpty(): boolean;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export = ActiveData;
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This class is used together with other classes that contain custom attributes and is used to read and write these
|
|
3
|
+
* attributes. The actual attributes are accessible as ECMA properties. The syntax for setting and retrieving the value
|
|
4
|
+
* of a custom attribute depends upon the type of the attribute. An exception will be thrown, if the wrong syntax is
|
|
5
|
+
* used to set an individual attribute.
|
|
6
|
+
*
|
|
7
|
+
* The following script examples demonstrate how to work with custom attributes. Suppose we have an ExtensibleObject
|
|
8
|
+
* named "eo" possessing attributes of all the different types supported by the Commerce Cloud Digital metadata system.
|
|
9
|
+
* The following script snippet shows that setting single-valued attributes is simply a matter of using the assignment
|
|
10
|
+
* operator and standard ECMA primitives and built-in types:
|
|
11
|
+
*
|
|
12
|
+
* ```
|
|
13
|
+
* // attribute of value type 'Boolean'
|
|
14
|
+
* eo.custom.bvalue = true;
|
|
15
|
+
* var b : Boolean = eo.custom.bvalue;
|
|
16
|
+
*
|
|
17
|
+
* // attribute of value type 'Integer'
|
|
18
|
+
* eo.custom.ivalue = 10;
|
|
19
|
+
* var i : Number = eo.custom.ivalue;
|
|
20
|
+
*
|
|
21
|
+
* // attribute of value type 'Number'
|
|
22
|
+
* eo.custom.dvalue = 99.99;
|
|
23
|
+
* var d : Number = eo.custom.dvalue;
|
|
24
|
+
*
|
|
25
|
+
* // attribute of value type 'String'
|
|
26
|
+
* eo.custom.svalue = "String1";
|
|
27
|
+
* var s : String = eo.custom.svalue;
|
|
28
|
+
*
|
|
29
|
+
* // attribute of value type 'Email'
|
|
30
|
+
* eo.custom.emailvalue = "email@demandware.com";
|
|
31
|
+
* var e : String = eo.custom.emailvalue;
|
|
32
|
+
*
|
|
33
|
+
* // attribute of value type 'Text'
|
|
34
|
+
* eo.custom.tvalue = "laaaaaaaaaaaarge text";
|
|
35
|
+
* var t : String = eo.custom.tvalue;
|
|
36
|
+
*
|
|
37
|
+
* // attribute of value type 'Date'
|
|
38
|
+
* eo.custom.dtvalue = new Date;
|
|
39
|
+
* var date : Date = eo.custom.dtvalue;
|
|
40
|
+
* ```
|
|
41
|
+
*
|
|
42
|
+
* Retrieving multi-value attributes and working with Java-backed arrays
|
|
43
|
+
*
|
|
44
|
+
* Multi-value attributes return Java-backed arrays, which contain copies of the internal data. In contrast to native
|
|
45
|
+
* JavaScript arrays, a Java-backed array behaves differently in the following ways:
|
|
46
|
+
*
|
|
47
|
+
* - `Array.isArray( javaBackedArray )` will return `false`. If you want to do something based
|
|
48
|
+
* on the value type, use `javaBackedArray instanceof Array` instead.
|
|
49
|
+
* - Adding to or removing elements from a Java-backed array is not supported. You need to create a new native
|
|
50
|
+
* JavaScript array based on the Java-backed array, e.g. with `Array.from( javaBackedArray )` and do the
|
|
51
|
+
* modifications there.
|
|
52
|
+
*
|
|
53
|
+
* ```
|
|
54
|
+
* var setofstring : Array = eo.custom.setofstringvalue;
|
|
55
|
+
* if( Array.isArray( setofstring ) ) // returns false
|
|
56
|
+
* {
|
|
57
|
+
* // this will never be reached, since setofstring is a Java-backed array and not a native JavaScript array
|
|
58
|
+
* }
|
|
59
|
+
* if( setofstring instanceof Array ) // returns true
|
|
60
|
+
* {
|
|
61
|
+
* // this will be reached, since setofstring is a Java-backed array
|
|
62
|
+
* }
|
|
63
|
+
* ```
|
|
64
|
+
*
|
|
65
|
+
* Updating multi-value attributes
|
|
66
|
+
*
|
|
67
|
+
* Retrieved data from a multi-value attribute returns a Java-backed array, which contains a copy of the internal data,
|
|
68
|
+
* so changes made to the Java-backed array do not affect the multi-value attribute. To update the multi-value attribute
|
|
69
|
+
* (e.g. adding a new element), it needs to be reassigned.
|
|
70
|
+
*
|
|
71
|
+
* ```
|
|
72
|
+
* // retrieve a Java-backed array and convert it to a native JavaScript array
|
|
73
|
+
* var setofstring : Array = eo.custom.setofstringvalue;
|
|
74
|
+
* var newValue = Array.from( setofstring );
|
|
75
|
+
*
|
|
76
|
+
* // add new element
|
|
77
|
+
* newValue.append( "new element" );
|
|
78
|
+
*
|
|
79
|
+
* // reassign the new array to the multi-value attribute to persist the change
|
|
80
|
+
* eo.custom.setofstringvalue = newValue;
|
|
81
|
+
* ```
|
|
82
|
+
*
|
|
83
|
+
* If you only want to change individual elements without appending or removing elements from the Java-backed array, you
|
|
84
|
+
* may even modify it directly.
|
|
85
|
+
*
|
|
86
|
+
* ```
|
|
87
|
+
* // retrieve a Java-backed array
|
|
88
|
+
* var setofstring : Array = eo.custom.setofstringvalue;
|
|
89
|
+
*
|
|
90
|
+
* // change individual element
|
|
91
|
+
* setofstring[0] = "updated element";
|
|
92
|
+
*
|
|
93
|
+
* // reassign the array to the multi-value attribute to persist the change
|
|
94
|
+
* eo.custom.setofstringvalue = setofstring;
|
|
95
|
+
* ```
|
|
96
|
+
*
|
|
97
|
+
* Set-of attributes and enum-of attributes
|
|
98
|
+
*
|
|
99
|
+
* Set-of attributes and enum-of attributes are handled in a very similar manner. The chief difference is that enum-of
|
|
100
|
+
* attributes are limited to a prescribed set of value definitions whereas set-of attributes are open-ended.
|
|
101
|
+
* Furthermore, each value in an enum-of attribute has a value and a display name which affects the retrieval logic.
|
|
102
|
+
*
|
|
103
|
+
* ```
|
|
104
|
+
* // attribute of value type 'Set of String'
|
|
105
|
+
* // set the attribute value only if it hasn't been already set
|
|
106
|
+
* if( !('setofstringvalue' in eo.custom) )
|
|
107
|
+
* {
|
|
108
|
+
* eo.custom.setofstringvalue = new Array("abc","def","ghi");
|
|
109
|
+
* }
|
|
110
|
+
*
|
|
111
|
+
* // returns an Array of String instances
|
|
112
|
+
* var setofstring : Array = eo.custom.setofstringvalue;
|
|
113
|
+
* var s1 : String = setofstring[0];
|
|
114
|
+
* var s2 : String = setofstring[1];
|
|
115
|
+
* var s3 : String = setofstring[2];
|
|
116
|
+
*
|
|
117
|
+
* // attribute of value type 'Enum of Integer' with multi-value handling
|
|
118
|
+
* eo.custom.enumofintmultivalue = new Array(1, 2, 3);
|
|
119
|
+
*
|
|
120
|
+
* // returns an Array of EnumValue instances
|
|
121
|
+
* var enumofintmulti : Array = eo.custom.enumofintmultivalue;
|
|
122
|
+
* var value1 : Number = enumofintmulti[0].getValue();
|
|
123
|
+
* var displayvalue1 : String = enumofintmulti[0].getDisplayValue();
|
|
124
|
+
* var value2 : Number = enumofintmulti[1].getValue();
|
|
125
|
+
* var displayvalue2 : String = enumofintmulti[1].getDisplayValue();
|
|
126
|
+
* var value3 : Number = enumofintmulti[2].getValue();
|
|
127
|
+
* var displayvalue3 : String = enumofintmulti[2].getDisplayValue();
|
|
128
|
+
* ```
|
|
129
|
+
*
|
|
130
|
+
* For further details on the Commerce Cloud Digital attribute system, see the core Commerce Cloud Digital
|
|
131
|
+
* documentation.
|
|
132
|
+
*/
|
|
133
|
+
declare abstract class CustomAttributes {
|
|
134
|
+
private constructor();
|
|
135
|
+
[name: string]:
|
|
136
|
+
| boolean | number | string | Date
|
|
137
|
+
| string[] | number[] | boolean[]
|
|
138
|
+
| Array<any>
|
|
139
|
+
| any
|
|
140
|
+
| null;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
export = CustomAttributes;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import ExtensibleObject = require('./ExtensibleObject');
|
|
2
|
+
import CustomAttributes = require('./CustomAttributes');
|
|
3
|
+
|
|
4
|
+
declare global {
|
|
5
|
+
module ICustomAttributes {
|
|
6
|
+
interface CustomObject extends CustomAttributes {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Represents a custom object and its corresponding attributes.
|
|
13
|
+
*/
|
|
14
|
+
declare class CustomObject extends ExtensibleObject<ICustomAttributes.CustomObject> {
|
|
15
|
+
/**
|
|
16
|
+
* Returns the type of the CustomObject.
|
|
17
|
+
*/
|
|
18
|
+
readonly type: string;
|
|
19
|
+
private constructor();
|
|
20
|
+
/**
|
|
21
|
+
* Returns the type of the CustomObject.
|
|
22
|
+
*/
|
|
23
|
+
getType(): string;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export = CustomObject;
|