@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/io/XMLStreamWriter.d.ts
ADDED
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
import Writer = require('./Writer');
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* The XMLStreamWriter can be used to write small and large XML feeds.
|
|
5
|
+
*
|
|
6
|
+
* Note: when this class is used with sensitive data, be careful in persisting sensitive information to disk.
|
|
7
|
+
*
|
|
8
|
+
* The XMLStreamWriter does not perform well-formedness checking on its input.
|
|
9
|
+
* However the writeCharacters method escapes '&' , '<' and '>'. For attribute
|
|
10
|
+
* values the writeAttribute method escapes the above characters plus '"' to
|
|
11
|
+
* ensure that all character content and attribute values are well formed.
|
|
12
|
+
*
|
|
13
|
+
* The following example illustrates how to use this class:
|
|
14
|
+
*
|
|
15
|
+
* ```
|
|
16
|
+
* var fileWriter : FileWriter = new FileWriter(file, "UTF-8");
|
|
17
|
+
* var xsw : XMLStreamWriter = new XMLStreamWriter(fileWriter);
|
|
18
|
+
*
|
|
19
|
+
* xsw.writeStartDocument();
|
|
20
|
+
* xsw.writeStartElement("products");
|
|
21
|
+
* xsw.writeStartElement("product");
|
|
22
|
+
* xsw.writeAttribute("id", "p42");
|
|
23
|
+
* xsw.writeStartElement("name");
|
|
24
|
+
* xsw.writeCharacters("blue t-shirt");
|
|
25
|
+
* xsw.writeEndElement();
|
|
26
|
+
* xsw.writeStartElement("rating");
|
|
27
|
+
* xsw.writeCharacters("2.0");
|
|
28
|
+
* xsw.writeEndElement();
|
|
29
|
+
* xsw.writeEndElement();
|
|
30
|
+
* xsw.writeEndElement();
|
|
31
|
+
* xsw.writeEndDocument();
|
|
32
|
+
*
|
|
33
|
+
* xsw.close();
|
|
34
|
+
* fileWriter.close();
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
37
|
+
* The code above will write the following to file:
|
|
38
|
+
*
|
|
39
|
+
* ```
|
|
40
|
+
* <?xml version="1.0" ?>
|
|
41
|
+
* <products>
|
|
42
|
+
* <product id="p42">
|
|
43
|
+
* <name>a blue t-shirt</name>
|
|
44
|
+
* <rating>2.0</rating>
|
|
45
|
+
* </product>
|
|
46
|
+
* </products>
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* Note: This output has been formatted for readability. See
|
|
50
|
+
* dw.io.XMLIndentingStreamWriter.
|
|
51
|
+
*/
|
|
52
|
+
declare class XMLStreamWriter {
|
|
53
|
+
/**
|
|
54
|
+
* Returns the current default name space.
|
|
55
|
+
*/
|
|
56
|
+
defaultNamespace: string;
|
|
57
|
+
/**
|
|
58
|
+
* Constructs the XMLStreamWriter for a writer.
|
|
59
|
+
*/
|
|
60
|
+
constructor(writer: Writer);
|
|
61
|
+
/**
|
|
62
|
+
* Close this writer and free any resources associated with the
|
|
63
|
+
* writer. This method does not close the underlying writer.
|
|
64
|
+
*/
|
|
65
|
+
close(): void;
|
|
66
|
+
/**
|
|
67
|
+
* Write any cached data to the underlying output mechanism.
|
|
68
|
+
*/
|
|
69
|
+
flush(): void;
|
|
70
|
+
/**
|
|
71
|
+
* Returns the current default name space.
|
|
72
|
+
*/
|
|
73
|
+
getDefaultNamespace(): string;
|
|
74
|
+
/**
|
|
75
|
+
* Gets the prefix the URI is bound to.
|
|
76
|
+
*/
|
|
77
|
+
getPrefix(uri: string): string | null;
|
|
78
|
+
/**
|
|
79
|
+
* Binds a URI to the default namespace.
|
|
80
|
+
* This URI is bound
|
|
81
|
+
* in the scope of the current START_ELEMENT / END_ELEMENT pair.
|
|
82
|
+
* If this method is called before a START_ELEMENT has been written
|
|
83
|
+
* the uri is bound in the root scope.
|
|
84
|
+
*/
|
|
85
|
+
setDefaultNamespace(uri: string | null): void;
|
|
86
|
+
/**
|
|
87
|
+
* Sets the prefix the uri is bound to. This prefix is bound
|
|
88
|
+
* in the scope of the current START_ELEMENT / END_ELEMENT pair.
|
|
89
|
+
* If this method is called before a START_ELEMENT has been written
|
|
90
|
+
* the prefix is bound in the root scope.
|
|
91
|
+
*/
|
|
92
|
+
setPrefix(prefix: string, uri: string | null): void;
|
|
93
|
+
/**
|
|
94
|
+
* Writes an attribute to the output stream without
|
|
95
|
+
* a prefix.
|
|
96
|
+
*/
|
|
97
|
+
writeAttribute(localName: string, value: string): void;
|
|
98
|
+
/**
|
|
99
|
+
* Writes an attribute to the output stream.
|
|
100
|
+
*/
|
|
101
|
+
writeAttribute(prefix: string, namespaceURI: string, localName: string, value: string): void;
|
|
102
|
+
/**
|
|
103
|
+
* Writes an attribute to the output stream.
|
|
104
|
+
*/
|
|
105
|
+
writeAttribute(namespaceURI: string, localName: string, value: string): void;
|
|
106
|
+
/**
|
|
107
|
+
* Writes a CData section.
|
|
108
|
+
*/
|
|
109
|
+
writeCData(data: string): void;
|
|
110
|
+
/**
|
|
111
|
+
* Write text to the output.
|
|
112
|
+
*/
|
|
113
|
+
writeCharacters(text: string): void;
|
|
114
|
+
/**
|
|
115
|
+
* Writes an XML comment with the data enclosed.
|
|
116
|
+
*/
|
|
117
|
+
writeComment(data: string | null): void;
|
|
118
|
+
/**
|
|
119
|
+
* Write a DTD section. This string represents the entire doctypedecl production
|
|
120
|
+
* from the XML 1.0 specification.
|
|
121
|
+
*/
|
|
122
|
+
writeDTD(dtd: string): void;
|
|
123
|
+
/**
|
|
124
|
+
* Writes the default namespace to the stream.
|
|
125
|
+
*/
|
|
126
|
+
writeDefaultNamespace(namespaceURI: string): void;
|
|
127
|
+
/**
|
|
128
|
+
* Writes an empty element tag to the output.
|
|
129
|
+
*/
|
|
130
|
+
writeEmptyElement(namespaceURI: string, localName: string): void;
|
|
131
|
+
/**
|
|
132
|
+
* Writes an empty element tag to the output.
|
|
133
|
+
*/
|
|
134
|
+
writeEmptyElement(prefix: string, localName: string, namespaceURI: string): void;
|
|
135
|
+
/**
|
|
136
|
+
* Writes an empty element tag to the output.
|
|
137
|
+
*/
|
|
138
|
+
writeEmptyElement(localName: string): void;
|
|
139
|
+
/**
|
|
140
|
+
* Closes any start tags and writes corresponding end tags.
|
|
141
|
+
*/
|
|
142
|
+
writeEndDocument(): void;
|
|
143
|
+
/**
|
|
144
|
+
* Writes an end tag to the output relying on the internal
|
|
145
|
+
* state of the writer to determine the prefix and local name
|
|
146
|
+
* of the event.
|
|
147
|
+
*/
|
|
148
|
+
writeEndElement(): void;
|
|
149
|
+
/**
|
|
150
|
+
* Writes an entity reference.
|
|
151
|
+
*/
|
|
152
|
+
writeEntityRef(name: string): void;
|
|
153
|
+
/**
|
|
154
|
+
* Writes a namespace to the output stream.
|
|
155
|
+
* If the prefix argument to this method is the empty string,
|
|
156
|
+
* "xmlns", or null this method will delegate to writeDefaultNamespace.
|
|
157
|
+
*/
|
|
158
|
+
writeNamespace(prefix: string, namespaceURI: string): void;
|
|
159
|
+
/**
|
|
160
|
+
* Writes a processing instruction.
|
|
161
|
+
*/
|
|
162
|
+
writeProcessingInstruction(target: string): void;
|
|
163
|
+
/**
|
|
164
|
+
* Writes a processing instruction.
|
|
165
|
+
*/
|
|
166
|
+
writeProcessingInstruction(target: string, data: string): void;
|
|
167
|
+
/**
|
|
168
|
+
* Writes the given string directly into the output stream. No checks
|
|
169
|
+
* regarding the correctness of the XML are done. The caller must ensure
|
|
170
|
+
* that the final result is a correct XML.
|
|
171
|
+
*/
|
|
172
|
+
writeRaw(raw: string): void;
|
|
173
|
+
/**
|
|
174
|
+
* Write the XML Declaration. Defaults the XML version to 1.0, and the encoding to utf-8
|
|
175
|
+
*/
|
|
176
|
+
writeStartDocument(): void;
|
|
177
|
+
/**
|
|
178
|
+
* Write the XML Declaration. Defaults the XML version to 1.0
|
|
179
|
+
*/
|
|
180
|
+
writeStartDocument(version: string): void;
|
|
181
|
+
/**
|
|
182
|
+
* Write the XML Declaration. Note that the encoding parameter does
|
|
183
|
+
* not set the actual encoding of the underlying output. That must
|
|
184
|
+
* be set when the instance of the XMLStreamWriter is created using the
|
|
185
|
+
* XMLOutputFactory.
|
|
186
|
+
*/
|
|
187
|
+
writeStartDocument(encoding: string, version: string): void;
|
|
188
|
+
/**
|
|
189
|
+
* Writes a start tag to the output. All writeStartElement methods
|
|
190
|
+
* open a new scope in the internal namespace context. Writing the
|
|
191
|
+
* corresponding EndElement causes the scope to be closed.
|
|
192
|
+
*/
|
|
193
|
+
writeStartElement(localName: string): void;
|
|
194
|
+
/**
|
|
195
|
+
* Writes a start tag to the output.
|
|
196
|
+
*/
|
|
197
|
+
writeStartElement(namespaceURI: string, localName: string): void;
|
|
198
|
+
/**
|
|
199
|
+
* Writes a start tag to the output.
|
|
200
|
+
*/
|
|
201
|
+
writeStartElement(prefix: string, localName: string, namespaceURI: string): void;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
export = XMLStreamWriter;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import CSVStreamReader = require('./CSVStreamReader');
|
|
2
|
+
import CSVStreamWriter = require('./CSVStreamWriter');
|
|
3
|
+
import File = require('./File');
|
|
4
|
+
import FileReader = require('./FileReader');
|
|
5
|
+
import FileWriter = require('./FileWriter');
|
|
6
|
+
import InputStream = require('./InputStream');
|
|
7
|
+
import OutputStream = require('./OutputStream');
|
|
8
|
+
import PrintWriter = require('./PrintWriter');
|
|
9
|
+
import RandomAccessFileReader = require('./RandomAccessFileReader');
|
|
10
|
+
import Reader = require('./Reader');
|
|
11
|
+
import StringWriter = require('./StringWriter');
|
|
12
|
+
import Writer = require('./Writer');
|
|
13
|
+
import XMLIndentingStreamWriter = require('./XMLIndentingStreamWriter');
|
|
14
|
+
import XMLStreamConstants = require('./XMLStreamConstants');
|
|
15
|
+
import XMLStreamReader = require('./XMLStreamReader');
|
|
16
|
+
import XMLStreamWriter = require('./XMLStreamWriter');
|
|
17
|
+
|
|
18
|
+
export {
|
|
19
|
+
CSVStreamReader,
|
|
20
|
+
CSVStreamWriter,
|
|
21
|
+
File,
|
|
22
|
+
FileReader,
|
|
23
|
+
FileWriter,
|
|
24
|
+
InputStream,
|
|
25
|
+
OutputStream,
|
|
26
|
+
PrintWriter,
|
|
27
|
+
RandomAccessFileReader,
|
|
28
|
+
Reader,
|
|
29
|
+
StringWriter,
|
|
30
|
+
Writer,
|
|
31
|
+
XMLIndentingStreamWriter,
|
|
32
|
+
XMLStreamConstants,
|
|
33
|
+
XMLStreamReader,
|
|
34
|
+
XMLStreamWriter
|
|
35
|
+
};
|
package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/job/JobExecution.d.ts
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import utilMap = require('../util/Map');
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Represents an execution of a job. The job execution can be accessed from a JobStepExecution via
|
|
5
|
+
* JobStepExecution.getJobExecution. If a pipeline is used to implement a step the step execution is available
|
|
6
|
+
* in the pipeline dictionary under the key 'JobStepExecution'. If a script module is used to implement a step the step
|
|
7
|
+
* execution is available as the second parameter of the module's function that is used to execute the step, e.g.:
|
|
8
|
+
* @example
|
|
9
|
+
* ...
|
|
10
|
+
* exports.execute( parameters, stepExecution)
|
|
11
|
+
* {
|
|
12
|
+
* ...
|
|
13
|
+
* var jobExecution = stepExecution.getJobExecution();
|
|
14
|
+
* ...
|
|
15
|
+
* }
|
|
16
|
+
* ...
|
|
17
|
+
*/
|
|
18
|
+
declare class JobExecution {
|
|
19
|
+
/**
|
|
20
|
+
* Returns the ID of this job execution.
|
|
21
|
+
*/
|
|
22
|
+
readonly ID: string;
|
|
23
|
+
/**
|
|
24
|
+
* Returns the job context which can be used to share data between steps. NOTE: Steps should be self-contained, the
|
|
25
|
+
* job context should only be used when necessary and with caution. If two steps which are running in parallel in
|
|
26
|
+
* the same job store data in the job context using the same key the result is undefined. Don't add any complex data
|
|
27
|
+
* to the job context since only simple data types are supported (for example, String and Integer).
|
|
28
|
+
*/
|
|
29
|
+
readonly context: utilMap<any, any>;
|
|
30
|
+
/**
|
|
31
|
+
* Returns the ID of the job this job execution belongs to.
|
|
32
|
+
*/
|
|
33
|
+
readonly jobID: string;
|
|
34
|
+
private constructor();
|
|
35
|
+
/**
|
|
36
|
+
* Returns the job context which can be used to share data between steps. NOTE: Steps should be self-contained, the
|
|
37
|
+
* job context should only be used when necessary and with caution. If two steps which are running in parallel in
|
|
38
|
+
* the same job store data in the job context using the same key the result is undefined. Don't add any complex data
|
|
39
|
+
* to the job context since only simple data types are supported (for example, String and Integer).
|
|
40
|
+
*/
|
|
41
|
+
getContext(): utilMap<any, any>;
|
|
42
|
+
/**
|
|
43
|
+
* Returns the ID of this job execution.
|
|
44
|
+
*/
|
|
45
|
+
getID(): string;
|
|
46
|
+
/**
|
|
47
|
+
* Returns the ID of the job this job execution belongs to.
|
|
48
|
+
*/
|
|
49
|
+
getJobID(): string;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export = JobExecution;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import JobExecution = require('./JobExecution');
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Represents an execution of a step that belongs to a job. The job execution this step execution belongs to can be
|
|
5
|
+
* accessed via getJobExecution. If a pipeline is used to implement a step this step execution is available
|
|
6
|
+
* in the pipeline dictionary under the key 'JobStepExecution'. If a script module is used to implement a step this step
|
|
7
|
+
* execution is available as the second parameter of the module's function that is used to execute the step, e.g.:
|
|
8
|
+
* @example
|
|
9
|
+
* ...
|
|
10
|
+
* exports.execute( parameters, stepExecution)
|
|
11
|
+
* {
|
|
12
|
+
* ...
|
|
13
|
+
* var jobExecution = stepExecution.getJobExecution();
|
|
14
|
+
* ...
|
|
15
|
+
* }
|
|
16
|
+
* ...
|
|
17
|
+
*/
|
|
18
|
+
declare class JobStepExecution {
|
|
19
|
+
/**
|
|
20
|
+
* Returns the ID of this step execution.
|
|
21
|
+
*/
|
|
22
|
+
readonly ID: string;
|
|
23
|
+
/**
|
|
24
|
+
* Returns the job execution this step execution belongs to.
|
|
25
|
+
*/
|
|
26
|
+
readonly jobExecution: JobExecution;
|
|
27
|
+
/**
|
|
28
|
+
* Returns the ID of the step this step execution belongs to.
|
|
29
|
+
*/
|
|
30
|
+
readonly stepID: string;
|
|
31
|
+
/**
|
|
32
|
+
* Returns the ID of the step type of the step this step execution belongs to.
|
|
33
|
+
*/
|
|
34
|
+
readonly stepTypeID: string;
|
|
35
|
+
private constructor();
|
|
36
|
+
/**
|
|
37
|
+
* Returns the ID of this step execution.
|
|
38
|
+
*/
|
|
39
|
+
getID(): string;
|
|
40
|
+
/**
|
|
41
|
+
* Returns the job execution this step execution belongs to.
|
|
42
|
+
*/
|
|
43
|
+
getJobExecution(): JobExecution;
|
|
44
|
+
/**
|
|
45
|
+
* Returns the value of the parameter of the step this step execution belongs to.
|
|
46
|
+
*/
|
|
47
|
+
getParameterValue(name: string): any;
|
|
48
|
+
/**
|
|
49
|
+
* Returns the ID of the step this step execution belongs to.
|
|
50
|
+
*/
|
|
51
|
+
getStepID(): string;
|
|
52
|
+
/**
|
|
53
|
+
* Returns the ID of the step type of the step this step execution belongs to.
|
|
54
|
+
*/
|
|
55
|
+
getStepTypeID(): string;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export = JobStepExecution;
|
package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/FTPClient.d.ts
ADDED
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
import File = require('../io/File');
|
|
2
|
+
import FTPFileInfo = require('./FTPFileInfo');
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* The FTPClient class supports the FTP commands CD, GET, PUT, DEL, MKDIR, RENAME, and LIST. The FTP connection is
|
|
6
|
+
* established using passive transfer mode (PASV). The transfer of files can be text or binary.
|
|
7
|
+
*
|
|
8
|
+
* Note: when this class is used with sensitive data, be careful in persisting sensitive information to disk.
|
|
9
|
+
*
|
|
10
|
+
* An example usage is as follows:
|
|
11
|
+
*
|
|
12
|
+
* ```
|
|
13
|
+
* `
|
|
14
|
+
* var ftp : FTPClient = new dw.net.FTPClient();
|
|
15
|
+
* ftp.connect("my.ftp-server.com", "username", "password");
|
|
16
|
+
* var data : String = ftp.get("simple.txt");
|
|
17
|
+
* ftp.disconnect();
|
|
18
|
+
* `
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* The default connection timeout depends on the script context timeout and will be set to a maximum of 30 seconds
|
|
22
|
+
* (default script context timeout is 10 seconds within storefront requests and 15 minutes within jobs).
|
|
23
|
+
*
|
|
24
|
+
* IMPORTANT NOTE: Before you can make an outbound FTP connection, the FTP server IP address must be enabled for
|
|
25
|
+
* outbound traffic at the Commerce Cloud Digital firewall for your POD. Please file a support request to request a new firewall
|
|
26
|
+
* rule.
|
|
27
|
+
* @deprecated The FTPClient is deprecated. Use SFTPClient for a secure alternative.
|
|
28
|
+
*/
|
|
29
|
+
declare class FTPClient {
|
|
30
|
+
/**
|
|
31
|
+
* The default size for `get()` returning a File is 5MB
|
|
32
|
+
* @deprecated The default size is not supported anymore. The `get()` methods returning a file will
|
|
33
|
+
* always try to return MAX_GET_FILE_SIZE bytes instead.
|
|
34
|
+
*/
|
|
35
|
+
static readonly DEFAULT_GET_FILE_SIZE = 5242880;
|
|
36
|
+
/**
|
|
37
|
+
* The default size for `get()` returning a String is 2MB
|
|
38
|
+
* @deprecated The default size is not supported anymore. The `get()` methods returning a String will
|
|
39
|
+
* always try to return MAX_GET_STRING_SIZE bytes instead.
|
|
40
|
+
*/
|
|
41
|
+
static readonly DEFAULT_GET_STRING_SIZE = 2097152;
|
|
42
|
+
/**
|
|
43
|
+
* The maximum size for `get()` returning a File is forty times the default size for getting a file. The
|
|
44
|
+
* largest file allowed is 200MB.
|
|
45
|
+
*/
|
|
46
|
+
static readonly MAX_GET_FILE_SIZE = 209715200;
|
|
47
|
+
/**
|
|
48
|
+
* The maximum size for `get()` returning a String is five times the default size for getting a String.
|
|
49
|
+
* The largest String allowed is 10MB.
|
|
50
|
+
*/
|
|
51
|
+
static readonly MAX_GET_STRING_SIZE = 10485760;
|
|
52
|
+
/**
|
|
53
|
+
* Identifies if the FTP client is currently connected to the FTP server.
|
|
54
|
+
*/
|
|
55
|
+
readonly connected: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* Returns the reply code from the last FTP action.
|
|
58
|
+
*/
|
|
59
|
+
readonly replyCode: number;
|
|
60
|
+
/**
|
|
61
|
+
* Returns the string message from the last FTP action.
|
|
62
|
+
*/
|
|
63
|
+
readonly replyMessage: string;
|
|
64
|
+
/**
|
|
65
|
+
* Returns the timeout for this client, in milliseconds.
|
|
66
|
+
*/
|
|
67
|
+
timeout: number;
|
|
68
|
+
/**
|
|
69
|
+
* Constructs the FTPClient instance.
|
|
70
|
+
*/
|
|
71
|
+
constructor();
|
|
72
|
+
/**
|
|
73
|
+
* Changes the current directory on the remote server to the given path.
|
|
74
|
+
*/
|
|
75
|
+
cd(path: string): boolean;
|
|
76
|
+
/**
|
|
77
|
+
* Connects and logs on to an FTP Server as "anonymous" and returns a boolean indicating success or failure.
|
|
78
|
+
*/
|
|
79
|
+
connect(host: string): boolean;
|
|
80
|
+
/**
|
|
81
|
+
* Connects and logs on to an FTP server and returns a boolean indicating success or failure.
|
|
82
|
+
*/
|
|
83
|
+
connect(host: string, user: string, password: string): boolean;
|
|
84
|
+
/**
|
|
85
|
+
* Connects and logs on to an FTP Server as "anonymous" and returns a boolean indicating success or failure.
|
|
86
|
+
*/
|
|
87
|
+
connect(host: string, port: number): boolean;
|
|
88
|
+
/**
|
|
89
|
+
* Connects and logs on to an FTP server and returns a boolean indicating success or failure.
|
|
90
|
+
*/
|
|
91
|
+
connect(host: string, port: number, user: string, password: string): boolean;
|
|
92
|
+
/**
|
|
93
|
+
* Deletes the remote file on the server identified by the path parameter.
|
|
94
|
+
*/
|
|
95
|
+
del(path: string): boolean;
|
|
96
|
+
/**
|
|
97
|
+
* The method first logs the current user out from the server and then disconnects from the server.
|
|
98
|
+
*/
|
|
99
|
+
disconnect(): void;
|
|
100
|
+
/**
|
|
101
|
+
* Reads the content of a remote file and returns it as a string using "ISO-8859-1" encoding to read it. Read at
|
|
102
|
+
* most MAX_GET_STRING_SIZE bytes.
|
|
103
|
+
*/
|
|
104
|
+
get(path: string): string | null;
|
|
105
|
+
/**
|
|
106
|
+
* Reads the content of a remote file and returns it as string using the passed encoding. Read at most
|
|
107
|
+
* MAX_GET_STRING_SIZE characters.
|
|
108
|
+
*/
|
|
109
|
+
get(path: string, encoding: string): string | null;
|
|
110
|
+
/**
|
|
111
|
+
* Reads the content of a remote file and returns it as a string using "ISO-8859-1" encoding to read it. Read at
|
|
112
|
+
* most maxGetSize characters.
|
|
113
|
+
* @deprecated The maxGetSize attribute is not supported anymore. Use the method get instead.
|
|
114
|
+
*/
|
|
115
|
+
get(path: string, maxGetSize: number): string | null;
|
|
116
|
+
/**
|
|
117
|
+
* Reads the content of a remote file and returns it as a string using the specified encoding. Returns at most
|
|
118
|
+
* maxGetSize characters.
|
|
119
|
+
* @deprecated The maxGetSize attribute is not supported anymore. Use the method get
|
|
120
|
+
* instead.
|
|
121
|
+
*/
|
|
122
|
+
get(path: string, encoding: string, maxGetSize: number): string | null;
|
|
123
|
+
/**
|
|
124
|
+
* Reads the content of a remote file and creates a local copy in the given file using the passed string encoding to
|
|
125
|
+
* read the file content and using the system standard encoding "UTF-8" to write the file. Copies at most
|
|
126
|
+
* MAX_GET_FILE_SIZE bytes.
|
|
127
|
+
*/
|
|
128
|
+
get(path: string, encoding: string, file: File): boolean;
|
|
129
|
+
/**
|
|
130
|
+
* Reads the content of a remote file and creates a local copy in the given file using the passed string encoding to
|
|
131
|
+
* read the file content and using the system standard encoding "UTF-8" to write the file. Copies at most maxGetSize
|
|
132
|
+
* bytes.
|
|
133
|
+
* @deprecated The maxGetSize attribute is not supported anymore. Use the method get
|
|
134
|
+
* instead.
|
|
135
|
+
*/
|
|
136
|
+
get(path: string, encoding: string, file: File, maxGetSize: number): boolean;
|
|
137
|
+
/**
|
|
138
|
+
* Reads the content of a remote file and creates a local copy in the given file. Copies at most MAX_GET_FILE_SIZE
|
|
139
|
+
* bytes. The FTP transfer is done in Binary mode.
|
|
140
|
+
*/
|
|
141
|
+
getBinary(path: string, file: File): boolean;
|
|
142
|
+
/**
|
|
143
|
+
* Reads the content of a remote file and creates a local copy in the given file. Copies at most maxGetSize bytes.
|
|
144
|
+
* The FTP transfer is done in Binary mode.
|
|
145
|
+
* @deprecated The maxGetSize attribute is not supported anymore. Use the method getBinary
|
|
146
|
+
* instead.
|
|
147
|
+
*/
|
|
148
|
+
getBinary(path: string, file: File, maxGetSize: number): boolean;
|
|
149
|
+
/**
|
|
150
|
+
* Identifies if the FTP client is currently connected to the FTP server.
|
|
151
|
+
*/
|
|
152
|
+
getConnected(): boolean;
|
|
153
|
+
/**
|
|
154
|
+
* Returns the reply code from the last FTP action.
|
|
155
|
+
*/
|
|
156
|
+
getReplyCode(): number;
|
|
157
|
+
/**
|
|
158
|
+
* Returns the string message from the last FTP action.
|
|
159
|
+
*/
|
|
160
|
+
getReplyMessage(): string;
|
|
161
|
+
/**
|
|
162
|
+
* Returns the timeout for this client, in milliseconds.
|
|
163
|
+
*/
|
|
164
|
+
getTimeout(): number;
|
|
165
|
+
/**
|
|
166
|
+
* Returns a list of FTPFileInfo objects containing information about the files in the current directory.
|
|
167
|
+
*/
|
|
168
|
+
list(): FTPFileInfo[];
|
|
169
|
+
/**
|
|
170
|
+
* Returns a list of FTPFileInfo objects containing information about the files in the remote directory defined by
|
|
171
|
+
* the given path.
|
|
172
|
+
*/
|
|
173
|
+
list(path: string): FTPFileInfo[];
|
|
174
|
+
/**
|
|
175
|
+
* Creates a directory
|
|
176
|
+
*/
|
|
177
|
+
mkdir(path: string): boolean;
|
|
178
|
+
/**
|
|
179
|
+
* Puts the specified content to the specified full path using "ISO-8859-1" encoding. The full path must include the
|
|
180
|
+
* path and the file name. If the content of a local file is to be uploaded, please use method
|
|
181
|
+
* putBinary instead.
|
|
182
|
+
*/
|
|
183
|
+
put(path: string, content: string): boolean;
|
|
184
|
+
/**
|
|
185
|
+
* Put the given content to a file on the given full path on the FTP server. The full path must include the path and
|
|
186
|
+
* the file name. The transformation from String into binary data is done via the encoding provided with the method
|
|
187
|
+
* call. If the content of a local file is to be uploaded, please use method putBinary
|
|
188
|
+
* instead.
|
|
189
|
+
*/
|
|
190
|
+
put(path: string, content: string, encoding: string): boolean;
|
|
191
|
+
/**
|
|
192
|
+
* Put the content of the given file into a file on the remote FTP server with the given full path. The full path
|
|
193
|
+
* must include the path and the file name.
|
|
194
|
+
*/
|
|
195
|
+
putBinary(path: string, file: File): boolean;
|
|
196
|
+
/**
|
|
197
|
+
* Deletes the remote directory on the server identified by the path parameter. In order to delete the directory
|
|
198
|
+
* successfully the directory needs to be empty, otherwise the removeDirectory() method will return false.
|
|
199
|
+
*/
|
|
200
|
+
removeDirectory(path: string): boolean;
|
|
201
|
+
/**
|
|
202
|
+
* Renames an existing file.
|
|
203
|
+
*/
|
|
204
|
+
rename(from: string, to: string): boolean;
|
|
205
|
+
/**
|
|
206
|
+
* Sets the timeout for connections made with the FTP client to the given number of milliseconds. If the given
|
|
207
|
+
* timeout is less than or equal to zero, the timeout is set to the same value as the script context timeout but
|
|
208
|
+
* will only be set to a maximum of 30 seconds.
|
|
209
|
+
*
|
|
210
|
+
* The maximum and default timeout depend on the script context timeout. The maximum timeout is set to a maximum of
|
|
211
|
+
* 2 minutes. The default timeout for a new client is set to a maximum of 30 seconds.
|
|
212
|
+
*
|
|
213
|
+
* This method can be called at any time, and will affect the next connection made with this client. It is not
|
|
214
|
+
* possible to set the timeout for an open connection.
|
|
215
|
+
*/
|
|
216
|
+
setTimeout(timeoutMillis: number): void;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
export = FTPClient;
|
package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/FTPFileInfo.d.ts
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The class is used to store information about a remote file.
|
|
3
|
+
*
|
|
4
|
+
* Note: when this class is used with sensitive data, be careful in persisting sensitive information to disk.
|
|
5
|
+
* @deprecated The FTPClient is deprecated. Use SFTPClient for a secure alternative.
|
|
6
|
+
*/
|
|
7
|
+
declare class FTPFileInfo {
|
|
8
|
+
/**
|
|
9
|
+
* Identifies if the file is a directory.
|
|
10
|
+
*/
|
|
11
|
+
readonly directory: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Returns the name of the file.
|
|
14
|
+
*/
|
|
15
|
+
readonly name: string;
|
|
16
|
+
/**
|
|
17
|
+
* Returns the size of the file.
|
|
18
|
+
*/
|
|
19
|
+
readonly size: number;
|
|
20
|
+
/**
|
|
21
|
+
* Returns the timestamp of the file.
|
|
22
|
+
*/
|
|
23
|
+
readonly timestamp: Date;
|
|
24
|
+
/**
|
|
25
|
+
* Constructs the FTPFileInfo instance.
|
|
26
|
+
*/
|
|
27
|
+
constructor(name: string, size: number, directory: boolean, timestamp: Date);
|
|
28
|
+
/**
|
|
29
|
+
* Identifies if the file is a directory.
|
|
30
|
+
*/
|
|
31
|
+
getDirectory(): boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Returns the name of the file.
|
|
34
|
+
*/
|
|
35
|
+
getName(): string;
|
|
36
|
+
/**
|
|
37
|
+
* Returns the size of the file.
|
|
38
|
+
*/
|
|
39
|
+
getSize(): number;
|
|
40
|
+
/**
|
|
41
|
+
* Returns the timestamp of the file.
|
|
42
|
+
*/
|
|
43
|
+
getTimestamp(): Date;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export = FTPFileInfo;
|