@salesforce/b2c-cli 1.10.0 → 1.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commands/job/import.d.ts +1 -0
- package/dist/commands/job/import.js +15 -0
- package/dist/commands/job/import.js.map +1 -1
- package/dist/commands/setup/ide/tsserver-plugin.d.ts +56 -0
- package/dist/commands/setup/ide/tsserver-plugin.js +88 -0
- package/dist/commands/setup/ide/tsserver-plugin.js.map +1 -0
- package/dist/commands/setup/ide/vscode-types.d.ts +44 -0
- package/dist/commands/setup/ide/vscode-types.js +141 -0
- package/dist/commands/setup/ide/vscode-types.js.map +1 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/package.json +44 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/plugin/index.js +575 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/APIException.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/ConversionError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/EvalError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/Fault.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/IOError.d.ts +37 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/InternalError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/Module.d.ts +99 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/Namespace.d.ts +77 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/QName.d.ts +67 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/RangeError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/ReferenceError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/StopIteration.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/SyntaxError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/SystemError.d.ts +38 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/TypeError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/URIError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/XML.d.ts +398 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/XMLList.d.ts +155 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/XMLStreamError.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/arguments.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/alert/Alert.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/alert/Alerts.d.ts +123 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/alert/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ABTest.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ABTestMgr.d.ts +28 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ABTestSegment.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/AmountDiscount.d.ts +22 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ApproachingDiscount.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/BonusChoiceDiscount.d.ts +106 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/BonusDiscount.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Campaign.d.ts +167 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CampaignMgr.d.ts +192 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CampaignStatusCodes.d.ts +36 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Coupon.d.ts +146 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CouponMgr.d.ts +49 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CouponRedemption.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CouponStatusCodes.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Discount.d.ts +122 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/DiscountPlan.d.ts +161 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FixedPriceDiscount.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FixedPriceShippingDiscount.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FreeDiscount.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FreeShippingDiscount.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PercentageDiscount.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PercentageOptionDiscount.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PriceBookPriceDiscount.d.ts +20 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Promotion.d.ts +455 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PromotionMgr.d.ts +262 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PromotionPlan.d.ts +180 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SlotContent.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SourceCodeGroup.d.ts +42 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SourceCodeInfo.d.ts +76 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SourceCodeStatusCodes.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/TotalFixedPriceDiscount.d.ts +20 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/index.d.ts +65 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Catalog.d.ts +84 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/CatalogMgr.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Category.d.ts +592 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/CategoryAssignment.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/CategoryLink.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/PriceBook.d.ts +94 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/PriceBookMgr.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Product.d.ts +1100 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductActiveData.d.ts +593 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductAttributeModel.d.ts +215 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductAvailabilityLevels.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductAvailabilityModel.d.ts +359 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductInventoryList.d.ts +65 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductInventoryMgr.d.ts +53 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductInventoryRecord.d.ts +296 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductLink.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductMgr.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductOption.d.ts +81 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductOptionModel.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductOptionValue.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductPriceInfo.d.ts +76 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductPriceModel.d.ts +586 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductPriceTable.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchHit.d.ts +398 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchModel.d.ts +816 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchRefinementDefinition.d.ts +43 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchRefinementValue.d.ts +30 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchRefinements.d.ts +142 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductVariationAttribute.d.ts +44 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductVariationAttributeValue.d.ts +90 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductVariationModel.d.ts +508 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Recommendation.d.ts +139 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchModel.d.ts +277 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchRefinementDefinition.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchRefinementValue.d.ts +93 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchRefinements.d.ts +114 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SortingOption.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SortingRule.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Store.d.ts +214 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreGroup.d.ts +44 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreInventoryFilter.d.ts +49 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreInventoryFilterValue.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreMgr.d.ts +86 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Variant.d.ts +555 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/VariationGroup.d.ts +422 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/index.d.ts +93 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/Content.d.ts +210 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentMgr.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchModel.d.ts +230 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchRefinementDefinition.d.ts +27 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchRefinementValue.d.ts +10 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchRefinements.d.ts +105 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/Folder.d.ts +186 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/Library.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/MarkupText.d.ts +125 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/MediaFile.d.ts +297 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/index.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/CertificateRef.d.ts +20 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/CertificateUtils.d.ts +54 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Cipher.d.ts +178 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Encoding.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWE.d.ts +114 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWEHeader.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWS.d.ts +105 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWSHeader.d.ts +47 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/KeyRef.d.ts +28 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Mac.d.ts +76 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/MessageDigest.d.ts +108 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/SecureRandom.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Signature.d.ts +88 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakCipher.d.ts +51 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakMac.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakMessageDigest.d.ts +100 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakSignature.d.ts +63 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/X509Certificate.d.ts +73 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/index.d.ts +39 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AddressBook.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AgentUserMgr.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AgentUserStatusCodes.d.ts +64 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AuthenticationStatus.d.ts +62 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Credentials.d.ts +266 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Customer.d.ts +210 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerActiveData.d.ts +276 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerAddress.d.ts +280 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerCDPData.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerContextMgr.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerGroup.d.ts +76 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerList.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerMgr.d.ts +611 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerPasswordConstraints.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerPaymentInstrument.d.ts +118 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerStatusCodes.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/EncryptedObject.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ExternalProfile.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/OrderHistory.d.ts +81 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductList.d.ts +376 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListItem.d.ts +204 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListItemPurchase.d.ts +62 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListMgr.d.ts +190 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListRegistrant.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Profile.d.ts +420 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Wallet.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ConsentStatusEntry.d.ts +35 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/MarketingConsentSubscription.d.ts +110 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ShopperConsentErrorCodes.d.ts +30 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ShopperConsentException.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ShopperConsentMgr.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/index.d.ts +13 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/index.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthAccessTokenResponse.d.ts +71 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthFinalizedResponse.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthLoginFlowMgr.d.ts +100 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthUserInfoResponse.d.ts +35 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/index.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContext.d.ts +171 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContextErrorCodes.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContextException.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContextMgr.d.ts +130 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/index.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/AspectAttributeValidationException.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/Component.d.ts +83 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/ComponentRenderSettings.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/ComponentScriptContext.d.ts +96 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/CustomEditor.d.ts +80 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/CustomEditorResources.d.ts +51 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/Page.d.ts +255 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/PageMgr.d.ts +311 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/PageScriptContext.d.ts +127 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/Region.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/RegionRenderSettings.d.ts +81 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/cms/CMSRecord.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/cms/index.d.ts +5 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/FocalPoint.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/Image.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/ImageMetaData.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/index.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/index.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/applepay/ApplePayHookResult.d.ts +104 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/applepay/ApplePayHooks.d.ts +271 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/applepay/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/facebook/FacebookFeedHooks.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/facebook/FacebookProduct.d.ts +567 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/facebook/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentapi/PaymentApiHooks.d.ts +62 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentapi/index.d.ts +5 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentrequest/PaymentRequestHookResult.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentrequest/PaymentRequestHooks.d.ts +168 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentrequest/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceAdyenPaymentIntent.d.ts +53 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceAdyenSavedPaymentMethod.d.ts +126 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceBancontactPaymentDetails.d.ts +33 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceCardPaymentDetails.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceEpsPaymentDetails.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceIdealPaymentDetails.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceKlarnaPaymentDetails.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalOrder.d.ts +109 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalOrderAddress.d.ts +69 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalOrderPayer.d.ts +43 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalPaymentDetails.d.ts +33 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentDetails.d.ts +39 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentIntent.d.ts +116 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentMethod.d.ts +162 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentRequest.d.ts +562 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsHooks.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsMerchantAccount.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsMerchantAccountPaymentMethod.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsMgr.d.ts +420 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsSiteConfiguration.d.ts +84 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsZone.d.ts +166 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceSepaDebitPaymentDetails.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceVenmoPaymentDetails.d.ts +33 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/index.d.ts +49 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestAvailability.d.ts +34 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestFeedHooks.d.ts +54 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestOrder.d.ts +122 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestOrderHooks.d.ts +42 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestProduct.d.ts +302 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/index.d.ts +13 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/CSVStreamReader.d.ts +51 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/CSVStreamWriter.d.ts +34 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/File.d.ts +343 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/FileReader.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/FileWriter.d.ts +62 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/InputStream.d.ts +15 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/OutputStream.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/PrintWriter.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/RandomAccessFileReader.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/Reader.d.ts +105 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/StringWriter.d.ts +39 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/Writer.d.ts +35 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLIndentingStreamWriter.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLStreamConstants.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLStreamReader.d.ts +674 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLStreamWriter.d.ts +204 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/index.d.ts +35 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/job/JobExecution.d.ts +52 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/job/JobStepExecution.d.ts +58 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/job/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/FTPClient.d.ts +219 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/FTPFileInfo.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/HTTPClient.d.ts +337 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/HTTPClientLoggingConfig.d.ts +180 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/HTTPRequestPart.d.ts +122 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/Mail.d.ts +182 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/SFTPClient.d.ts +215 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/SFTPFileInfo.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/WebDAVClient.d.ts +324 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/WebDAVFileInfo.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/index.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ActiveData.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/CustomAttributes.d.ts +143 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/CustomObject.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/CustomObjectMgr.d.ts +283 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/Extensible.d.ts +27 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ExtensibleObject.d.ts +36 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/Note.d.ts +47 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectAttributeDefinition.d.ts +239 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectAttributeGroup.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectAttributeValueDefinition.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectTypeDefinition.d.ts +113 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/PersistentObject.d.ts +33 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/SimpleExtensible.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/SystemObjectMgr.d.ts +319 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/index.d.ts +31 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/AbstractItem.d.ts +91 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/AbstractItemCtnr.d.ts +100 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Appeasement.d.ts +163 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/AppeasementItem.d.ts +43 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Basket.d.ts +476 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/BasketMgr.d.ts +406 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/BonusDiscountLineItem.d.ts +170 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CouponLineItem.d.ts +139 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateAgentBasketLimitExceededException.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateBasketFromOrderException.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateCouponLineItemException.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateOrderException.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateTemporaryBasketLimitExceededException.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificate.d.ts +220 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificateLineItem.d.ts +124 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificateMgr.d.ts +85 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificateStatusCodes.d.ts +42 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Invoice.d.ts +284 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/InvoiceItem.d.ts +83 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/LineItem.d.ts +265 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/LineItemCtnr.d.ts +1146 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/LineItemTax.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Order.d.ts +1360 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderAddress.d.ts +259 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderItem.d.ts +332 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderMgr.d.ts +864 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderPaymentInstrument.d.ts +166 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderProcessStatusCodes.d.ts +58 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentCard.d.ts +112 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentInstrument.d.ts +757 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentMethod.d.ts +141 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentMgr.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentProcessor.d.ts +60 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentStatusCodes.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentTransaction.d.ts +123 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PriceAdjustment.d.ts +430 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PriceAdjustmentLimitTypes.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductLineItem.d.ts +849 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductShippingCost.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductShippingLineItem.d.ts +154 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductShippingModel.d.ts +73 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Return.d.ts +161 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ReturnCase.d.ts +215 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ReturnCaseItem.d.ts +165 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ReturnItem.d.ts +159 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Shipment.d.ts +506 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShipmentShippingCost.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShipmentShippingModel.d.ts +114 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingLineItem.d.ts +151 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingLocation.d.ts +123 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingMethod.d.ts +114 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingMgr.d.ts +95 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingOrder.d.ts +304 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingOrderItem.d.ts +210 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/SumItem.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TaxGroup.d.ts +49 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TaxItem.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TaxMgr.d.ts +155 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TrackingInfo.d.ts +107 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TrackingRef.d.ts +44 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/BasketMergeHooks.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/CalculateHooks.d.ts +69 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/CheckoutHooks.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/OrderHooks.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/PaymentHooks.d.ts +189 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/ReturnHooks.d.ts +274 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/ShippingOrderHooks.d.ts +220 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/TaxHooks.d.ts +378 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/index.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/index.d.ts +123 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/SOAPUtil.d.ts +339 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/Stub.d.ts +148 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/WebReference.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/index.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/sitemap/SitemapFile.d.ts +57 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/sitemap/SitemapMgr.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/sitemap/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/BrandSuggestions.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/CategorySuggestions.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/ContentSuggestions.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/CustomSuggestions.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/ProductSuggestions.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SearchPhraseSuggestions.d.ts +53 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestModel.d.ts +230 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedCategory.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedContent.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedPhrase.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedProduct.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedTerm.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedTerms.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/Suggestions.d.ts +89 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/index.d.ts +31 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/FTPService.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/FTPServiceDefinition.d.ts +38 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPFormService.d.ts +14 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPFormServiceDefinition.d.ts +12 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPService.d.ts +147 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPServiceDefinition.d.ts +110 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/LocalServiceRegistry.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/Result.d.ts +133 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/SOAPService.d.ts +36 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/SOAPServiceDefinition.d.ts +12 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/Service.d.ts +99 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceCallback.d.ts +172 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceConfig.d.ts +52 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceCredential.d.ts +67 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceDefinition.d.ts +105 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceProfile.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceRegistry.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/index.d.ts +37 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/AgentUserStatusCodes.d.ts +14 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Cache.d.ts +60 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/CacheMgr.d.ts +39 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/HookMgr.d.ts +31 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/InternalObject.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/JobProcessMonitor.d.ts +37 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Log.d.ts +77 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/LogNDC.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Logger.d.ts +83 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/OrganizationPreferences.d.ts +40 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Pipeline.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/PipelineDictionary.d.ts +28 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RESTErrorResponse.d.ts +58 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RESTResponseMgr.d.ts +99 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RESTSuccessResponse.d.ts +38 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RemoteInclude.d.ts +85 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Request.d.ts +363 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RequestHooks.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Response.d.ts +278 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/SearchStatus.d.ts +74 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Session.d.ts +263 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Site.d.ts +247 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/SitePreferences.d.ts +51 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Status.d.ts +141 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/StatusItem.d.ts +110 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/System.d.ts +96 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Transaction.d.ts +60 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/index.d.ts +57 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/template/ISML.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/template/Velocity.d.ts +71 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/template/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/ArrayList.d.ts +40 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Assert.d.ts +159 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/BigInteger.d.ts +104 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Bytes.d.ts +99 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Calendar.d.ts +450 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Collection.d.ts +91 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Currency.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/DateUtils.d.ts +27 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Decimal.d.ts +148 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/FilteringCollection.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Geolocation.d.ts +111 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/HashMap.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/HashSet.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Iterator.d.ts +34 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/LinkedHashMap.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/LinkedHashSet.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/List.d.ts +148 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Locale.d.ts +110 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Map.d.ts +82 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/MapEntry.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/MappingKey.d.ts +34 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/MappingMgr.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/PropertyComparator.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SecureEncoder.d.ts +371 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SecureFilter.d.ts +340 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SeekableIterator.d.ts +85 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Set.d.ts +13 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SortedMap.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SortedSet.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/StringUtils.d.ts +191 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Template.d.ts +67 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/UUIDUtils.d.ts +12 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/index.d.ts +67 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/EnumValue.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/MimeEncodedText.d.ts +47 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/Money.d.ts +196 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/Quantity.d.ts +103 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/index.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/CSRFProtection.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/ClickStream.d.ts +87 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/ClickStreamEntry.d.ts +106 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Cookie.d.ts +166 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Cookies.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Form.d.ts +30 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormAction.d.ts +82 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormElement.d.ts +92 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormElementValidationResult.d.ts +63 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormField.d.ts +331 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormFieldOption.d.ts +90 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormFieldOptions.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormGroup.d.ts +106 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormList.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormListItem.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Forms.d.ts +13 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/HttpParameter.d.ts +195 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/HttpParameterMap.d.ts +92 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/LoopIterator.d.ts +95 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/PageMetaData.d.ts +87 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/PageMetaTag.d.ts +81 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/PagingModel.d.ts +181 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Resource.d.ts +69 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URL.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLAction.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLParameter.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLRedirect.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLRedirectMgr.d.ts +37 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLUtils.d.ts +759 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/index.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/Port.d.ts +54 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/WSUtil.d.ts +311 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/WebReference2.d.ts +120 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/index.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/global.d.ts +1101 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/sfra/server.d.ts +271 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/upstream-package.json +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/upstream-tsconfig.json +7 -0
- package/oclif.manifest.json +4160 -3853
- package/package.json +3 -3
|
@@ -0,0 +1,398 @@
|
|
|
1
|
+
import XMLList = require('./XMLList');
|
|
2
|
+
import Namespace = require('./Namespace');
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* The XML object contains functions and properties for working with XML
|
|
6
|
+
* instances. The XML object implements the powerful XML-handling standards
|
|
7
|
+
* defined in the ECMA-357 specification (known as "E4X").
|
|
8
|
+
*
|
|
9
|
+
* Use the toXMLString() method to return a string representation of the XML
|
|
10
|
+
* object regardless of whether the XML object has simple content or complex
|
|
11
|
+
* content.
|
|
12
|
+
*
|
|
13
|
+
* Do not create large XML objects in memory to avoid out-of-memory conditions.
|
|
14
|
+
* When dealing with XML streams use dw.io.XMLStreamReader and
|
|
15
|
+
* dw.io.XMLStreamWriter. The following example shows how:
|
|
16
|
+
*
|
|
17
|
+
* ```
|
|
18
|
+
* var id : String = "p42";
|
|
19
|
+
* var pname : String = "a product";
|
|
20
|
+
*
|
|
21
|
+
* // use E4X syntax
|
|
22
|
+
* var product : XML =
|
|
23
|
+
* <product id={id}>
|
|
24
|
+
* <name>{pname}</name>
|
|
25
|
+
* <shortdesc></shortdesc>
|
|
26
|
+
* </product>;
|
|
27
|
+
*
|
|
28
|
+
* product.shortdesc = "a fine product";
|
|
29
|
+
* product.longdesc = "this is a fine product";
|
|
30
|
+
*
|
|
31
|
+
* var xmlString = product.toXMLString();
|
|
32
|
+
*
|
|
33
|
+
* fileWriter.write(xmlString);
|
|
34
|
+
* ```
|
|
35
|
+
*
|
|
36
|
+
* The code above will write the following to file:
|
|
37
|
+
*
|
|
38
|
+
* ```
|
|
39
|
+
* <product id="p42">
|
|
40
|
+
* <name>a product</name>
|
|
41
|
+
* <shortdesc>a fine product</shortdesc>
|
|
42
|
+
* <longdesc>this is a fine product</longdesc>
|
|
43
|
+
* </product>
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* Do not create large XML objects in memory to avoid out-of-memory conditions.
|
|
47
|
+
* When dealing with XML streams use dw.io.XMLStreamReader and
|
|
48
|
+
* dw.io.XMLStreamWriter.
|
|
49
|
+
*/
|
|
50
|
+
declare class XML {
|
|
51
|
+
/**
|
|
52
|
+
* Returns this XML object.
|
|
53
|
+
*/
|
|
54
|
+
valueOf(): XML;
|
|
55
|
+
/**
|
|
56
|
+
* The ignoreComments property determines whether or not XML comments are
|
|
57
|
+
* ignored when XML objects parse the source XML data.
|
|
58
|
+
*/
|
|
59
|
+
static ignoreComments: boolean;
|
|
60
|
+
/**
|
|
61
|
+
* The ignoreProcessingInstructions property determines whether or not XML
|
|
62
|
+
* processing instructions are ignored when XML objects parse the source XML data.
|
|
63
|
+
*/
|
|
64
|
+
static ignoreProcessingInstructions: boolean;
|
|
65
|
+
/**
|
|
66
|
+
* The ignoreWhitespace property determines whether or not white space
|
|
67
|
+
* characters at the beginning and end of text nodes are ignored during parsing.
|
|
68
|
+
*/
|
|
69
|
+
static ignoreWhitespace: boolean;
|
|
70
|
+
/**
|
|
71
|
+
* The prettyIndent property determines the amount of indentation applied by
|
|
72
|
+
* the toString() and toXMLString() methods when the XML.prettyPrinting
|
|
73
|
+
* property is set to true.
|
|
74
|
+
*/
|
|
75
|
+
static prettyIndent: number;
|
|
76
|
+
/**
|
|
77
|
+
* The prettyPrinting property determines whether the toString() and toXMLString()
|
|
78
|
+
* methods normalize white space characters between some tags.
|
|
79
|
+
*/
|
|
80
|
+
static prettyPrinting: boolean;
|
|
81
|
+
/**
|
|
82
|
+
* Creates a new XML object.
|
|
83
|
+
*/
|
|
84
|
+
constructor();
|
|
85
|
+
/**
|
|
86
|
+
* Creates a new XML object.
|
|
87
|
+
* You must use the constructor to create an XML object before you
|
|
88
|
+
* call any of the methods of the XML class.
|
|
89
|
+
* Use the toXMLString() method to return a string representation
|
|
90
|
+
* of the XML object regardless of whether the XML object has simple
|
|
91
|
+
* content or complex content.
|
|
92
|
+
*/
|
|
93
|
+
constructor(value: any);
|
|
94
|
+
/**
|
|
95
|
+
* Returns a new Object with the following properties set to the default values:
|
|
96
|
+
* ignoreComments, ignoreProcessingInstructions, ignoreWhitespace, prettyIndent,
|
|
97
|
+
* and prettyPrinting. The default values are as follows:
|
|
98
|
+
*
|
|
99
|
+
* - ignoreComments = true
|
|
100
|
+
* - ignoreProcessingInstructions = true
|
|
101
|
+
* - ignoreWhitespace = true
|
|
102
|
+
* - prettyIndent = 2
|
|
103
|
+
* - prettyPrinting = true
|
|
104
|
+
*
|
|
105
|
+
* Be aware that this method does not apply the settings to an existing instance
|
|
106
|
+
* of an XML object. Instead, this method returns an Object containing the
|
|
107
|
+
* default settings.
|
|
108
|
+
*/
|
|
109
|
+
static defaultSettings(): any;
|
|
110
|
+
/**
|
|
111
|
+
* Restores the default settings for the following XML
|
|
112
|
+
* properties:
|
|
113
|
+
*
|
|
114
|
+
* - XML.ignoreComments = true
|
|
115
|
+
* - XML.ignoreProcessingInstructions = true
|
|
116
|
+
* - XML.ignoreWhitespace = true
|
|
117
|
+
* - XML.prettyIndent = 2
|
|
118
|
+
* - XML.prettyPrinting = true
|
|
119
|
+
*/
|
|
120
|
+
static setSettings(): void;
|
|
121
|
+
/**
|
|
122
|
+
* Updates the collection of global XML properties:
|
|
123
|
+
* ignoreComments, ignoreProcessingInstructions, ignoreWhitespace,
|
|
124
|
+
* prettyPrinting, prettyIndent, and prettyPrinting.
|
|
125
|
+
*/
|
|
126
|
+
static setSettings(settings: any): void;
|
|
127
|
+
/**
|
|
128
|
+
* Returns the collection of global XML properties:
|
|
129
|
+
* ignoreComments, ignoreProcessingInstructions, ignoreWhitespace,
|
|
130
|
+
* prettyPrinting, prettyIndent, and prettyPrinting.
|
|
131
|
+
*/
|
|
132
|
+
static settings(): any;
|
|
133
|
+
/**
|
|
134
|
+
* Adds a namespace to the set of in-scope namespaces for the XML object.
|
|
135
|
+
* If the namespace already exists in the in-scope namespaces for the XML
|
|
136
|
+
* object, then the prefix of the existing namespace is set to undefined.
|
|
137
|
+
* If ns is a Namespace instance, it is used directly.
|
|
138
|
+
* However, if ns is a QName instance, the input parameter's URI is used
|
|
139
|
+
* to create a new namespace. If ns is not a Namespace or QName instance,
|
|
140
|
+
* ns is converted to a String and a namespace is created from the String.
|
|
141
|
+
*/
|
|
142
|
+
addNamespace(ns: any): XML;
|
|
143
|
+
/**
|
|
144
|
+
* Appends the specified child to the end of the object's properties.
|
|
145
|
+
* child should be a XML object, an XMLList object or any other
|
|
146
|
+
* data type that will then be converted to a String.
|
|
147
|
+
*/
|
|
148
|
+
appendChild(child: any): XML;
|
|
149
|
+
/**
|
|
150
|
+
* Returns the attribute associated with this XML object that
|
|
151
|
+
* is identified by the specified name.
|
|
152
|
+
*/
|
|
153
|
+
attribute(attributeName: string): XMLList;
|
|
154
|
+
/**
|
|
155
|
+
* Returns an XMList of the attributes in this XML Object.
|
|
156
|
+
*/
|
|
157
|
+
attributes(): XMLList;
|
|
158
|
+
/**
|
|
159
|
+
* Returns the children of the XML object based on the specified
|
|
160
|
+
* property name.
|
|
161
|
+
*/
|
|
162
|
+
child(propertyName: any): XMLList;
|
|
163
|
+
/**
|
|
164
|
+
* Identifies the zero-based index of this XML object within
|
|
165
|
+
* the context of its parent, or -1 if this object has no parent.
|
|
166
|
+
*/
|
|
167
|
+
childIndex(): number;
|
|
168
|
+
/**
|
|
169
|
+
* Returns an XMLList containing the children of this XML object, maintaing
|
|
170
|
+
* the sequence in which they appear.
|
|
171
|
+
*/
|
|
172
|
+
children(): XMLList;
|
|
173
|
+
/**
|
|
174
|
+
* Returns the properties of the XML object that contain comments.
|
|
175
|
+
*/
|
|
176
|
+
comments(): XMLList;
|
|
177
|
+
/**
|
|
178
|
+
* Returns true if this XML object contains the specified
|
|
179
|
+
* XML object, false otherwise.
|
|
180
|
+
*/
|
|
181
|
+
contains(value: XML): boolean;
|
|
182
|
+
/**
|
|
183
|
+
* Returns a copy of the this XML object including
|
|
184
|
+
* duplicate copies of the entire tree of nodes.
|
|
185
|
+
* The copied XML object has no parent.
|
|
186
|
+
*/
|
|
187
|
+
copy(): XML;
|
|
188
|
+
/**
|
|
189
|
+
* Returns all descendents of the XML object.
|
|
190
|
+
*/
|
|
191
|
+
descendants(): XMLList;
|
|
192
|
+
/**
|
|
193
|
+
* Returns all descendents of the XML object that
|
|
194
|
+
* have the specified name parameter. To return all descendents,
|
|
195
|
+
* use * as the name parameter.
|
|
196
|
+
*/
|
|
197
|
+
descendants(name: string): XMLList;
|
|
198
|
+
/**
|
|
199
|
+
* Returns a list of all of the elements of the XML object.
|
|
200
|
+
*/
|
|
201
|
+
elements(): XMLList;
|
|
202
|
+
/**
|
|
203
|
+
* Returns a list of the elements of the XML object using the
|
|
204
|
+
* specified name to constrain the list. name can be a
|
|
205
|
+
* QName, String, or any other data type that will be converted
|
|
206
|
+
* to a string prior to performing the search for elements of that
|
|
207
|
+
* name.
|
|
208
|
+
*
|
|
209
|
+
* To list all objects use * for the value of name.
|
|
210
|
+
*/
|
|
211
|
+
elements(name: any): XMLList;
|
|
212
|
+
/**
|
|
213
|
+
* Returns a Boolean value indicating whether
|
|
214
|
+
* this XML object contains complex content. An XML object is considered
|
|
215
|
+
* to contain complex content if it represents an XML element that has
|
|
216
|
+
* child elements. XML objects representing attributes, comments, processing
|
|
217
|
+
* instructions and text nodes do not have complex content. The existence of
|
|
218
|
+
* attributes, comments, processing instructions and text nodes within an XML
|
|
219
|
+
* object is not significant in determining if it has complex content.
|
|
220
|
+
*/
|
|
221
|
+
hasComplexContent(): boolean;
|
|
222
|
+
/**
|
|
223
|
+
* Returns a Boolean value indicating whether this object has the
|
|
224
|
+
* property specified by prop.
|
|
225
|
+
*/
|
|
226
|
+
hasOwnProperty(prop: string): boolean;
|
|
227
|
+
/**
|
|
228
|
+
* Returns a Boolean value indicating whether this XML object contains
|
|
229
|
+
* simple content. An XML object is considered to contain simple
|
|
230
|
+
* content if it represents a text node, represents an attribute node
|
|
231
|
+
* or if it represents an XML element that has no child elements. XML
|
|
232
|
+
* objects representing comments and processing instructions do not
|
|
233
|
+
* have simple content. The existence of attributes, comments,
|
|
234
|
+
* processing instructions and text nodes within an XML object is not
|
|
235
|
+
* significant in determining if it has simple content.
|
|
236
|
+
*/
|
|
237
|
+
hasSimpleContent(): boolean;
|
|
238
|
+
/**
|
|
239
|
+
* Returns an Array of Namespace objects representing the namespaces
|
|
240
|
+
* in scope for this XML object in the context of its parent. If the
|
|
241
|
+
* parent of this XML object is modified, the associated namespace
|
|
242
|
+
* declarations may change. The set of namespaces returned by this
|
|
243
|
+
* method may be a super set of the namespaces used by this value
|
|
244
|
+
*/
|
|
245
|
+
inScopeNamespaces(): any[];
|
|
246
|
+
/**
|
|
247
|
+
* Inserts the specified child2 after the specified child1
|
|
248
|
+
* in this XML object and returns this XML object. If child1 is null,
|
|
249
|
+
* inserts child2 before all children of
|
|
250
|
+
* this XML object. If child1 does not exist
|
|
251
|
+
* in this XML object, it returns without modifying this XML object.
|
|
252
|
+
*/
|
|
253
|
+
insertChildAfter(child1: any, child2: any): XML;
|
|
254
|
+
/**
|
|
255
|
+
* Inserts the specified child2 before the specified child1
|
|
256
|
+
* in this XML object and returns this XML object. If child1 is null,
|
|
257
|
+
* inserts child2 after all children of
|
|
258
|
+
* this XML object. If child1 does not exist
|
|
259
|
+
* in this XML object, it returns without modifying this XML object.
|
|
260
|
+
*/
|
|
261
|
+
insertChildBefore(child1: any, child2: any): XML;
|
|
262
|
+
/**
|
|
263
|
+
* Returns a value of 1 for XML objects.
|
|
264
|
+
*/
|
|
265
|
+
length(): number;
|
|
266
|
+
/**
|
|
267
|
+
* Returns the local name portion of the qualified name of the XML object.
|
|
268
|
+
*/
|
|
269
|
+
localName(): any | null;
|
|
270
|
+
/**
|
|
271
|
+
* Returns the qualified name for the XML object.
|
|
272
|
+
*/
|
|
273
|
+
name(): any | null;
|
|
274
|
+
/**
|
|
275
|
+
* Returns the namespace associated with the qualified name
|
|
276
|
+
* of this XML object.
|
|
277
|
+
*/
|
|
278
|
+
namespace(): any;
|
|
279
|
+
/**
|
|
280
|
+
* Returns the namespace that matches the specified prefix and
|
|
281
|
+
* that is in scope for the XML object. if there is no such
|
|
282
|
+
* namespace, the method returns undefined.
|
|
283
|
+
*/
|
|
284
|
+
namespace(prefix: string): any;
|
|
285
|
+
/**
|
|
286
|
+
* Returns an Array of namespace declarations associated
|
|
287
|
+
* with the XML Obnject in the context of its parent.
|
|
288
|
+
*/
|
|
289
|
+
namespaceDeclarations(): any[];
|
|
290
|
+
/**
|
|
291
|
+
* Returns the type of the XML object, such
|
|
292
|
+
* as text, comment, processing-instruction,
|
|
293
|
+
* or attribute.
|
|
294
|
+
*/
|
|
295
|
+
nodeKind(): string;
|
|
296
|
+
/**
|
|
297
|
+
* Merges adjacent text nodes and eliminates and eliminates
|
|
298
|
+
* empty text nodes for this XML object and all its
|
|
299
|
+
* descendents.
|
|
300
|
+
*/
|
|
301
|
+
normalize(): XML;
|
|
302
|
+
/**
|
|
303
|
+
* Returns the parent of the XML object
|
|
304
|
+
* or null if the XML object does not have
|
|
305
|
+
* a parent.
|
|
306
|
+
*/
|
|
307
|
+
parent(): any | null;
|
|
308
|
+
/**
|
|
309
|
+
* Inserts the specified child into this XML object
|
|
310
|
+
* prior to its existing XML properties and then returns
|
|
311
|
+
* this XML object.
|
|
312
|
+
*/
|
|
313
|
+
prependChild(value: any): XML;
|
|
314
|
+
/**
|
|
315
|
+
* Returns an XMLList containing all the children of this XML object
|
|
316
|
+
* that are processing-instructions.
|
|
317
|
+
*/
|
|
318
|
+
processingInstructions(): XMLList;
|
|
319
|
+
/**
|
|
320
|
+
* Returns an XMLList containing all the children of this XML object
|
|
321
|
+
* that are processing-instructions with the specified name. If you
|
|
322
|
+
* use * for the name, all processing-instructions are returned.
|
|
323
|
+
*/
|
|
324
|
+
processingInstructions(name: string): XMLList;
|
|
325
|
+
/**
|
|
326
|
+
* Returns a Boolean indicating whether the specified
|
|
327
|
+
* property will be included in the set of properties iterated
|
|
328
|
+
* over when this XML object is used in a for..in statement.
|
|
329
|
+
*/
|
|
330
|
+
propertyIsEnumerable(property: string): boolean;
|
|
331
|
+
/**
|
|
332
|
+
* Removes the specified namespace from the in scope namespaces
|
|
333
|
+
* of this object and all its descendents, then returns a copy of
|
|
334
|
+
* this XML object. This method will not remove a namespace from
|
|
335
|
+
* an object when it is referenced by that object's QName or
|
|
336
|
+
* the ONames of that object's attributes.
|
|
337
|
+
*/
|
|
338
|
+
removeNamespace(ns: Namespace): XML;
|
|
339
|
+
/**
|
|
340
|
+
* Replaces the XML properties of this XML object specified by
|
|
341
|
+
* propertyName with value and returns this
|
|
342
|
+
* updated XML object. If this XML object contains no properties
|
|
343
|
+
* that match propertyName, the replace method returns without
|
|
344
|
+
* modifying this XML object.
|
|
345
|
+
*
|
|
346
|
+
* The propertyName parameter may be a numeric property name,
|
|
347
|
+
* an unqualified name for a set of XML elements, a qualified
|
|
348
|
+
* name for a set of XML elements or the properties wildcard *.
|
|
349
|
+
*
|
|
350
|
+
* When the propertyName parameter is an unqualified name,
|
|
351
|
+
* it identifies XML elements in the default namespace. The value
|
|
352
|
+
* parameter may be an XML object, XMLList object or any value
|
|
353
|
+
* that may be converted to a String.
|
|
354
|
+
*/
|
|
355
|
+
replace(propertyName: string, value: any): XML;
|
|
356
|
+
/**
|
|
357
|
+
* Replaces the XML properties of this XML object
|
|
358
|
+
* with a new set of XML properties from value.
|
|
359
|
+
*/
|
|
360
|
+
setChildren(value: any): XML;
|
|
361
|
+
/**
|
|
362
|
+
* Replaces the local name of this XML object with
|
|
363
|
+
* a string constructed from the specified name.
|
|
364
|
+
*/
|
|
365
|
+
setLocalName(name: string): void;
|
|
366
|
+
/**
|
|
367
|
+
* Replaces the name of this XML object with a
|
|
368
|
+
* QName or AttributeName constructed from the specified
|
|
369
|
+
* name.
|
|
370
|
+
*/
|
|
371
|
+
setName(name: string): void;
|
|
372
|
+
/**
|
|
373
|
+
* Replaces the namespace associated with the name of
|
|
374
|
+
* this XML object with the specified namespace.
|
|
375
|
+
*/
|
|
376
|
+
setNamespace(ns: Namespace): void;
|
|
377
|
+
/**
|
|
378
|
+
* Returns an XMLList containing all XML properties of
|
|
379
|
+
* this XML object that represent XML text nodes.
|
|
380
|
+
*/
|
|
381
|
+
text(): XMLList;
|
|
382
|
+
/**
|
|
383
|
+
* Returns the String representation of the XML object. If the object contains
|
|
384
|
+
* simple content, this method returns a String with tag, attributes, and
|
|
385
|
+
* namespace declarations removed. However, if the object contains complex
|
|
386
|
+
* content, this method returns an XML encoded String representing the entire
|
|
387
|
+
* XML object. If you want to return the entire XML object regardless of
|
|
388
|
+
* content complexity, use the toXMLString() method.
|
|
389
|
+
*/
|
|
390
|
+
toString(): string;
|
|
391
|
+
/**
|
|
392
|
+
* Returns a XML-encoded String representation of the XML object, including tag and
|
|
393
|
+
* attributed delimiters.
|
|
394
|
+
*/
|
|
395
|
+
toXMLString(): string;
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
export = XML;
|
package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/XMLList.d.ts
ADDED
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import XML = require('./XML');
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* An XMLList object is an ordered collection of properties.
|
|
5
|
+
* A XMLList object represents a XML document, an XML fragment,
|
|
6
|
+
* or an arbitrary collection of XML objects.
|
|
7
|
+
* An individual XML object is the same thing as an XMLList
|
|
8
|
+
* containing only that XML object. All operations available
|
|
9
|
+
* for the XML object are also available for an XMLList object
|
|
10
|
+
* that contains exactly one XML object.
|
|
11
|
+
*/
|
|
12
|
+
declare class XMLList {
|
|
13
|
+
/**
|
|
14
|
+
* Returns this XMLList object.
|
|
15
|
+
*/
|
|
16
|
+
valueOf(): XMLList;
|
|
17
|
+
/**
|
|
18
|
+
* Creates a new XMLList object using the
|
|
19
|
+
* specified value.
|
|
20
|
+
*/
|
|
21
|
+
constructor(value: any);
|
|
22
|
+
/**
|
|
23
|
+
* Returns the attribute associated with this XMLList object that
|
|
24
|
+
* is identified by the specified name.
|
|
25
|
+
*/
|
|
26
|
+
attribute(attributeName: string): XMLList;
|
|
27
|
+
/**
|
|
28
|
+
* Returns an XMList of the attributes in this XMLList Object.
|
|
29
|
+
*/
|
|
30
|
+
attributes(): XMLList;
|
|
31
|
+
/**
|
|
32
|
+
* Returns the children of the XMLList object based on the specified
|
|
33
|
+
* property name.
|
|
34
|
+
*/
|
|
35
|
+
child(propertyName: any): XMLList;
|
|
36
|
+
/**
|
|
37
|
+
* Returns an XMLList containing the children of this XMLList object, maintaing
|
|
38
|
+
* the sequence in which they appear.
|
|
39
|
+
*/
|
|
40
|
+
children(): XMLList;
|
|
41
|
+
/**
|
|
42
|
+
* Returns the properties of the XMLList object that contain comments.
|
|
43
|
+
*/
|
|
44
|
+
comments(): XMLList;
|
|
45
|
+
/**
|
|
46
|
+
* Returns true if this XMLList object contains the specified
|
|
47
|
+
* XML object, false otherwise.
|
|
48
|
+
*/
|
|
49
|
+
contains(value: XML): boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Returns a deep copy of the this XMLList object.
|
|
52
|
+
*/
|
|
53
|
+
copy(): XMLList;
|
|
54
|
+
/**
|
|
55
|
+
* Calls the descendants() method of each XML object in this XMLList
|
|
56
|
+
* object and returns an XMLList containing the
|
|
57
|
+
* results concatenated in order.
|
|
58
|
+
*/
|
|
59
|
+
descendants(): XMLList;
|
|
60
|
+
/**
|
|
61
|
+
* Calls the descendants(name) method of each XML object in this XMLList
|
|
62
|
+
* object and returns an XMLList containing the
|
|
63
|
+
* results concatenated in order.
|
|
64
|
+
*/
|
|
65
|
+
descendants(name: string): XMLList;
|
|
66
|
+
/**
|
|
67
|
+
* Calls the elements() method in each XML object in this XMLList
|
|
68
|
+
* object and returns an XMLList containing the results concatenated in order.
|
|
69
|
+
*/
|
|
70
|
+
elements(): XMLList;
|
|
71
|
+
/**
|
|
72
|
+
* Calls the elements(name) method in each of the XML objects in
|
|
73
|
+
* this XMLList object and returns an XMLList containing the results
|
|
74
|
+
* concatenated in order. name can be a
|
|
75
|
+
* QName, String, or any other data type that will be converted
|
|
76
|
+
* to a string prior to performing the search for elements of that
|
|
77
|
+
* name.
|
|
78
|
+
*
|
|
79
|
+
* To list all objects use * for the value of name.
|
|
80
|
+
*/
|
|
81
|
+
elements(name: any): XMLList;
|
|
82
|
+
/**
|
|
83
|
+
* Returns a Boolean value indicating whether
|
|
84
|
+
* this XMLList object contains complex content. An XMLList object is considered
|
|
85
|
+
* to contain complex content if it is not empty, contains a single XML item
|
|
86
|
+
* with complex content or contains elements.
|
|
87
|
+
*/
|
|
88
|
+
hasComplexContent(): boolean;
|
|
89
|
+
/**
|
|
90
|
+
* Returns a Boolean value indicating whether this object has the
|
|
91
|
+
* property specified by prop.
|
|
92
|
+
*/
|
|
93
|
+
hasOwnProperty(prop: string): boolean;
|
|
94
|
+
/**
|
|
95
|
+
* Returns a Boolean value indicating whether this XML object contains
|
|
96
|
+
* simple content. An XMLList object is considered to contain simple
|
|
97
|
+
* content if it is empty, contains a single XML item with simple
|
|
98
|
+
* content or contains no elements.
|
|
99
|
+
*/
|
|
100
|
+
hasSimpleContent(): boolean;
|
|
101
|
+
/**
|
|
102
|
+
* Returns the number of children in this XMLList
|
|
103
|
+
* object.
|
|
104
|
+
*/
|
|
105
|
+
length(): number;
|
|
106
|
+
/**
|
|
107
|
+
* Puts all text nodes in this XMLList, all the XML objects it
|
|
108
|
+
* contains and the descendents of all the XML objects it
|
|
109
|
+
* contains into a normal form by merging adjacent text nodes
|
|
110
|
+
* and eliminating empty text nodes.
|
|
111
|
+
*/
|
|
112
|
+
normalize(): XMLList;
|
|
113
|
+
/**
|
|
114
|
+
* Returns the parent of the XMLList object
|
|
115
|
+
* or null if the XMLList object does not have
|
|
116
|
+
* a parent.
|
|
117
|
+
*/
|
|
118
|
+
parent(): any | null;
|
|
119
|
+
/**
|
|
120
|
+
* Calls the processingInstructions() method of each XML object
|
|
121
|
+
* in this XMLList object and returns an XMList containing the results
|
|
122
|
+
* in order.
|
|
123
|
+
*/
|
|
124
|
+
processingInstructions(): XMLList;
|
|
125
|
+
/**
|
|
126
|
+
* Calls the processingInstructions(name) method of each XML object
|
|
127
|
+
* in this XMLList object and returns an XMList containing the results
|
|
128
|
+
* in order.
|
|
129
|
+
*/
|
|
130
|
+
processingInstructions(name: string): XMLList;
|
|
131
|
+
/**
|
|
132
|
+
* Returns a Boolean indicating whether the specified
|
|
133
|
+
* property will be included in the set of properties iterated
|
|
134
|
+
* over when this XML object is used in a for..in statement.
|
|
135
|
+
*/
|
|
136
|
+
propertyIsEnumerable(property: string): boolean;
|
|
137
|
+
/**
|
|
138
|
+
* Calls the text() method of each XML object contained
|
|
139
|
+
* in this XMLList object and returns an XMLList containing
|
|
140
|
+
* the results concatenated in order.
|
|
141
|
+
*/
|
|
142
|
+
text(): XMLList;
|
|
143
|
+
/**
|
|
144
|
+
* Returns the String representation of this XMLList object.
|
|
145
|
+
*/
|
|
146
|
+
toString(): string;
|
|
147
|
+
/**
|
|
148
|
+
* Returns an XML-encoded String representation of the XMLList object
|
|
149
|
+
* by calling the toXMLString method on each property contained
|
|
150
|
+
* within this XMLList object.
|
|
151
|
+
*/
|
|
152
|
+
toXMLString(): string;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
export = XMLList;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This error indicates an XML streaming related error in the system. The IOError
|
|
3
|
+
* is always related to a systems internal Java exception. The class provides
|
|
4
|
+
* access to some more details about this internal Java exception. In particular
|
|
5
|
+
* the class informs about the location of the error.
|
|
6
|
+
*/
|
|
7
|
+
declare class XMLStreamError extends Error {
|
|
8
|
+
/**
|
|
9
|
+
* If the exception is associated with a root cause, the property
|
|
10
|
+
* contains the full name of the associated Java exception.
|
|
11
|
+
*/
|
|
12
|
+
causeFullName: string;
|
|
13
|
+
/**
|
|
14
|
+
* If the exception is associated with a root cause, the property
|
|
15
|
+
* contains the message of the associated Java exception.
|
|
16
|
+
*/
|
|
17
|
+
causeMessage: string;
|
|
18
|
+
/**
|
|
19
|
+
* If the exception is associated with a root cause, the property
|
|
20
|
+
* contains the simplified name of the associated Java exception.
|
|
21
|
+
*/
|
|
22
|
+
causeName: string;
|
|
23
|
+
/**
|
|
24
|
+
* The full name of the underlying Java exception.
|
|
25
|
+
*/
|
|
26
|
+
javaFullName: string;
|
|
27
|
+
/**
|
|
28
|
+
* The message of the underlying Java exception.
|
|
29
|
+
*/
|
|
30
|
+
javaMessage: string;
|
|
31
|
+
/**
|
|
32
|
+
* The simplified name of the underlying Java exception.
|
|
33
|
+
*/
|
|
34
|
+
javaName: string;
|
|
35
|
+
/**
|
|
36
|
+
* The column number where the error occured.
|
|
37
|
+
*/
|
|
38
|
+
xmlColumnNumber: number;
|
|
39
|
+
/**
|
|
40
|
+
* The line where the error occured.
|
|
41
|
+
*/
|
|
42
|
+
xmlLineNumber: number;
|
|
43
|
+
private constructor();
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export = XMLStreamError;
|
package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/arguments.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The arguments of a function.
|
|
3
|
+
* @see TopLevel.Function
|
|
4
|
+
*/
|
|
5
|
+
declare class arguments {
|
|
6
|
+
/**
|
|
7
|
+
* A reference to the function that is currently executing.
|
|
8
|
+
*/
|
|
9
|
+
callee: any;
|
|
10
|
+
/**
|
|
11
|
+
* The number of arguments passed to the function.
|
|
12
|
+
*/
|
|
13
|
+
length: number;
|
|
14
|
+
private constructor();
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export = arguments;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This class represents a single system alert to be shown to a Business Manager user.
|
|
3
|
+
*/
|
|
4
|
+
declare class Alert {
|
|
5
|
+
/**
|
|
6
|
+
* String constant to denote the 'action required' priority.
|
|
7
|
+
*/
|
|
8
|
+
static readonly PRIORITY_ACTION = "ACTION";
|
|
9
|
+
/**
|
|
10
|
+
* String constant to denote the 'informational' priority.
|
|
11
|
+
*/
|
|
12
|
+
static readonly PRIORITY_INFO = "INFO";
|
|
13
|
+
/**
|
|
14
|
+
* String constant to denote the 'warning' priority.
|
|
15
|
+
*/
|
|
16
|
+
static readonly PRIORITY_WARN = "WARN";
|
|
17
|
+
/**
|
|
18
|
+
* Returns the ID of the referenced alert description.
|
|
19
|
+
*/
|
|
20
|
+
readonly alertDescriptorID: string;
|
|
21
|
+
/**
|
|
22
|
+
* Returns the ID of the referenced context object (or null, if no context object is assigned to this alert).
|
|
23
|
+
*/
|
|
24
|
+
readonly contextObjectID: string | null;
|
|
25
|
+
/**
|
|
26
|
+
* Resolves the display message to be shown.
|
|
27
|
+
* It refers to the message resource ID specified in the alert descriptor file ("message-resource-id") and the message provided
|
|
28
|
+
* by the 'alerts.properties' resource bundle.
|
|
29
|
+
* When the referenced message contains parameter placeholders (such as '{0}' and '{1}') they are replaced by the parameters stored with the alert.
|
|
30
|
+
*/
|
|
31
|
+
readonly displayMessage: string;
|
|
32
|
+
/**
|
|
33
|
+
* Returns the priority assigned to the message.
|
|
34
|
+
* One of the string constants defined in this class (PRIORITY_INFO, PRIORITY_WARN, PRIORITY_ACTION).
|
|
35
|
+
*/
|
|
36
|
+
readonly priority: string;
|
|
37
|
+
/**
|
|
38
|
+
* The URL of the page where the user can resolve the alert, as provided in the
|
|
39
|
+
* 'alerts.json' descriptor file.
|
|
40
|
+
*/
|
|
41
|
+
readonly remediationURL: string;
|
|
42
|
+
private constructor();
|
|
43
|
+
/**
|
|
44
|
+
* Returns the ID of the referenced alert description.
|
|
45
|
+
*/
|
|
46
|
+
getAlertDescriptorID(): string;
|
|
47
|
+
/**
|
|
48
|
+
* Returns the ID of the referenced context object (or null, if no context object is assigned to this alert).
|
|
49
|
+
*/
|
|
50
|
+
getContextObjectID(): string | null;
|
|
51
|
+
/**
|
|
52
|
+
* Resolves the display message to be shown.
|
|
53
|
+
* It refers to the message resource ID specified in the alert descriptor file ("message-resource-id") and the message provided
|
|
54
|
+
* by the 'alerts.properties' resource bundle.
|
|
55
|
+
* When the referenced message contains parameter placeholders (such as '{0}' and '{1}') they are replaced by the parameters stored with the alert.
|
|
56
|
+
*/
|
|
57
|
+
getDisplayMessage(): string;
|
|
58
|
+
/**
|
|
59
|
+
* Returns the priority assigned to the message.
|
|
60
|
+
* One of the string constants defined in this class (PRIORITY_INFO, PRIORITY_WARN, PRIORITY_ACTION).
|
|
61
|
+
*/
|
|
62
|
+
getPriority(): string;
|
|
63
|
+
/**
|
|
64
|
+
* The URL of the page where the user can resolve the alert, as provided in the
|
|
65
|
+
* 'alerts.json' descriptor file.
|
|
66
|
+
*/
|
|
67
|
+
getRemediationURL(): string;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export = Alert;
|