@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,85 @@
|
|
|
1
|
+
import utilIterator = require('./Iterator');
|
|
2
|
+
import List = require('./List');
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* A special Iterator, which is returned by the system to iterate through large
|
|
6
|
+
* sets of data. The iterator supports seeking forward to a random position.
|
|
7
|
+
* This is a typical action when paging forward in a result set. The Iterator is
|
|
8
|
+
* primarily returned from search operations.
|
|
9
|
+
*
|
|
10
|
+
* Starting with API version 10.6, these iterators can only
|
|
11
|
+
* be iterated once to avoid possible memory problems for really large
|
|
12
|
+
* result sets. Putting them into the pipeline dictionary and trying to loop them
|
|
13
|
+
* multiple times is no longer possible because this would require buffering the
|
|
14
|
+
* iterated elements internally.
|
|
15
|
+
*
|
|
16
|
+
* Prior to 10.6, and for all customers still running API version 10.4
|
|
17
|
+
* (compatibility mode), SeekableIterator instances stored in the pipeline
|
|
18
|
+
* dictionary could be iterated multiple times (for example, by several loop
|
|
19
|
+
* nodes).
|
|
20
|
+
*/
|
|
21
|
+
declare class SeekableIterator<T> extends utilIterator<T> {
|
|
22
|
+
/**
|
|
23
|
+
* Returns the total element count for this iterator. The
|
|
24
|
+
* method returns -1, if the total count is not known.
|
|
25
|
+
*/
|
|
26
|
+
readonly count: number;
|
|
27
|
+
private constructor();
|
|
28
|
+
asList(): List<any>;
|
|
29
|
+
/**
|
|
30
|
+
* Returns a list representing a subsequence within the iterator. The underlying
|
|
31
|
+
* system resources of the iterator will be closed at the end. The start
|
|
32
|
+
* position must be 0 or a positive number.
|
|
33
|
+
*/
|
|
34
|
+
asList(start: number, size: number): List<any>;
|
|
35
|
+
/**
|
|
36
|
+
* Closes all system resources associated with this iterator.
|
|
37
|
+
*
|
|
38
|
+
* Calling this method is strongly recommended if not all elements of this iterator are
|
|
39
|
+
* retrieved. This will allow the system to release system resources immediately.
|
|
40
|
+
* The `SeekableIterator` is closed automatically if all elements are retrieved.
|
|
41
|
+
* Then calling method `close()` is optional.
|
|
42
|
+
*/
|
|
43
|
+
close(): void;
|
|
44
|
+
/**
|
|
45
|
+
* Returns the first element of this iterator and closes it.
|
|
46
|
+
*
|
|
47
|
+
* If the iterator does not contain another element `null` is returned.
|
|
48
|
+
* If any of the methods next(), forward(int) or forward(int,int) have been called before
|
|
49
|
+
* `null` is returned.
|
|
50
|
+
* This method is useful if only the first element of an iterator is needed.
|
|
51
|
+
*
|
|
52
|
+
* A possible example for the use of first() is:
|
|
53
|
+
*
|
|
54
|
+
* `OrderMgr.queryOrders("queryString", "sortString", args).first()`
|
|
55
|
+
*/
|
|
56
|
+
first(): any | null;
|
|
57
|
+
/**
|
|
58
|
+
* Seeks forward by the given number of elements. The number of
|
|
59
|
+
* seek steps must be 0 or a positive number.
|
|
60
|
+
*/
|
|
61
|
+
forward(n: number): void;
|
|
62
|
+
/**
|
|
63
|
+
* Seeks forward by the given number of elements and limits the
|
|
64
|
+
* iteration to the given number of elements. The method is typically
|
|
65
|
+
* used to position and trim an iterator for paging. The getCount()
|
|
66
|
+
* method will still return the total count of the underlying data
|
|
67
|
+
* collection.
|
|
68
|
+
*/
|
|
69
|
+
forward(n: number, size: number): void;
|
|
70
|
+
/**
|
|
71
|
+
* Returns the total element count for this iterator. The
|
|
72
|
+
* method returns -1, if the total count is not known.
|
|
73
|
+
*/
|
|
74
|
+
getCount(): number;
|
|
75
|
+
/**
|
|
76
|
+
* Indicates if there are more elements.
|
|
77
|
+
*/
|
|
78
|
+
hasNext(): boolean;
|
|
79
|
+
/**
|
|
80
|
+
* Returns the next element from the Iterator.
|
|
81
|
+
*/
|
|
82
|
+
next(): any;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export = SeekableIterator;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import Collection = require('./Collection');
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Represents a set of objects.
|
|
5
|
+
*/
|
|
6
|
+
declare class Set<T> extends Collection<T> {
|
|
7
|
+
/**
|
|
8
|
+
* Convenience variable, for an empty and immutable list.
|
|
9
|
+
*/
|
|
10
|
+
static EMPTY_SET: Set<any>;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export = Set;
|
package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SortedMap.d.ts
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import utilMap = require('./Map');
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* A map that further guarantees that it will be in ascending key order,
|
|
5
|
+
* sorted according to the natural ordering of its keys,
|
|
6
|
+
* or by a comparator provided at sorted map creation time. This order is reflected
|
|
7
|
+
* when iterating over the sorted map's collection views (returned by the entrySet,
|
|
8
|
+
* keySet and values methods).
|
|
9
|
+
* Note that sorting by natural order is only supported for Number,
|
|
10
|
+
* String, Date, Money and Quantity as key.
|
|
11
|
+
*/
|
|
12
|
+
declare class SortedMap<K, V> extends utilMap<K, V> {
|
|
13
|
+
/**
|
|
14
|
+
* Constructor to create a new SortedMap.
|
|
15
|
+
*/
|
|
16
|
+
constructor();
|
|
17
|
+
/**
|
|
18
|
+
* Constructor to create a new SortedMap.
|
|
19
|
+
*
|
|
20
|
+
* The constructor takes a compare function as additional parameter. This comparator
|
|
21
|
+
* determines identity and the order of the element keys for this map.
|
|
22
|
+
* The order of the elements is determined with a comparator (see PropertyComparator)
|
|
23
|
+
* or with the help of the given function. The function must take two parameters
|
|
24
|
+
* and return a value <=-1 if the first parameter is smaller than the second,
|
|
25
|
+
* a value if >=1 if the first one is greater than the second parameter
|
|
26
|
+
* and a value in between like 0 if both are equal.
|
|
27
|
+
*/
|
|
28
|
+
constructor(comparator: Object);
|
|
29
|
+
/**
|
|
30
|
+
* Returns a shallow copy of this map.
|
|
31
|
+
*/
|
|
32
|
+
clone(): SortedMap<any, any>;
|
|
33
|
+
/**
|
|
34
|
+
* Returns the first (lowest) key currently in this sorted map.
|
|
35
|
+
*/
|
|
36
|
+
firstKey(): any;
|
|
37
|
+
/**
|
|
38
|
+
* Returns a view of the portion of this map whose keys are strictly less than toKey.
|
|
39
|
+
*/
|
|
40
|
+
headMap(key: any): SortedMap<any, any>;
|
|
41
|
+
/**
|
|
42
|
+
* Returns the last (highest) key currently in this sorted map.
|
|
43
|
+
*/
|
|
44
|
+
lastKey(): any;
|
|
45
|
+
/**
|
|
46
|
+
* Returns a view of the portion of this map whose keys range from fromKey, inclusive,
|
|
47
|
+
* to toKey, exclusive. (If fromKey and toKey are equal, the returned sorted map is empty.)
|
|
48
|
+
*/
|
|
49
|
+
subMap(from: any, to: any): SortedMap<any, any>;
|
|
50
|
+
/**
|
|
51
|
+
* Returns a view of the portion of this map whose keys are greater than or equal
|
|
52
|
+
* to fromKey. The returned sorted map is backed by this map, so changes in the
|
|
53
|
+
* returned sorted map are reflected in this map, and vice-versa. The returned
|
|
54
|
+
* sorted map supports all optional map operations.
|
|
55
|
+
*/
|
|
56
|
+
tailMap(key: any): SortedMap<any, any>;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export = SortedMap;
|
package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SortedSet.d.ts
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import utilSet = require('./Set');
|
|
2
|
+
import Collection = require('./Collection');
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* A set that further guarantees that its iterator
|
|
6
|
+
* will traverse the set in ascending element order,
|
|
7
|
+
* sorted according to the natural ordering of its
|
|
8
|
+
* elements (only supported for Number, String,
|
|
9
|
+
* Date, Money and Quantity), or by a comparator
|
|
10
|
+
* provided at sorted set creation time.
|
|
11
|
+
*/
|
|
12
|
+
declare class SortedSet<T> extends utilSet<T> {
|
|
13
|
+
/**
|
|
14
|
+
* Constructor to create a new SortedSet.
|
|
15
|
+
*/
|
|
16
|
+
constructor();
|
|
17
|
+
/**
|
|
18
|
+
* Constructor to create a new SortedSet.
|
|
19
|
+
*
|
|
20
|
+
* The constructor takes a compare function as additional parameter. This comparator
|
|
21
|
+
* determines identity and the order of the elements for this set.
|
|
22
|
+
* The order of the elements is determined with a comparator (see PropertyComparator)
|
|
23
|
+
* or with the help of the given function. The function must take two parameters
|
|
24
|
+
* and return a value <=-1 if the first parameter is smaller than the second,
|
|
25
|
+
* a value if >=1 if the first one is greater than the second parameter
|
|
26
|
+
* and a value in between like 0 if both are equal.
|
|
27
|
+
*/
|
|
28
|
+
constructor(comparator: Object);
|
|
29
|
+
/**
|
|
30
|
+
* Constructor for a new SortedSet. The constructor
|
|
31
|
+
* initializes the SortedSet with the elements of the
|
|
32
|
+
* given collection.
|
|
33
|
+
*/
|
|
34
|
+
constructor(collection: Collection<T>);
|
|
35
|
+
/**
|
|
36
|
+
* Returns a shallow copy of this set.
|
|
37
|
+
*/
|
|
38
|
+
clone(): SortedSet<any>;
|
|
39
|
+
/**
|
|
40
|
+
* Returns the first (lowest) element currently in this sorted set.
|
|
41
|
+
*/
|
|
42
|
+
first(): any;
|
|
43
|
+
/**
|
|
44
|
+
* Returns a view of the portion of this sorted set whose elements
|
|
45
|
+
* are strictly less than toElement. The returned sorted set is
|
|
46
|
+
* backed by this sorted set, so changes in the returned sorted
|
|
47
|
+
* set are reflected in this sorted set, and vice-versa. The returned
|
|
48
|
+
* sorted set supports all optional set operations.
|
|
49
|
+
*/
|
|
50
|
+
headSet(key: any): SortedSet<any>;
|
|
51
|
+
/**
|
|
52
|
+
* Returns the last (highest) element currently in this sorted set.
|
|
53
|
+
*/
|
|
54
|
+
last(): any;
|
|
55
|
+
/**
|
|
56
|
+
* Returns a view of the portion of this sorted set whose elements
|
|
57
|
+
* range from fromElement, inclusive, to toElement, exclusive. (If
|
|
58
|
+
* fromElement and toElement are equal, the returned sorted set is empty.)
|
|
59
|
+
* The returned sorted set is backed by this sorted set, so changes in
|
|
60
|
+
* the returned sorted set are reflected in this sorted set, and vice-versa.
|
|
61
|
+
* The returned sorted set supports all optional set operations that this
|
|
62
|
+
* sorted set supports.
|
|
63
|
+
*/
|
|
64
|
+
subSet(from: any, to: any): SortedSet<any>;
|
|
65
|
+
/**
|
|
66
|
+
* Returns a view of the portion of this sorted set whose elements
|
|
67
|
+
* are greater than or equal to fromElement. The returned sorted set
|
|
68
|
+
* is backed by this sorted set, so changes in the returned sorted
|
|
69
|
+
* set are reflected in this sorted set, and vice-versa. The returned
|
|
70
|
+
* sorted set supports all optional set operations.
|
|
71
|
+
*/
|
|
72
|
+
tailSet(key: any): SortedSet<any>;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export = SortedSet;
|
package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/StringUtils.d.ts
ADDED
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
import Money = require('../value/Money');
|
|
2
|
+
import Calendar = require('./Calendar');
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* String utility class.
|
|
6
|
+
*/
|
|
7
|
+
declare class StringUtils {
|
|
8
|
+
/**
|
|
9
|
+
* String encoding type HTML.
|
|
10
|
+
* @see encodeString
|
|
11
|
+
*/
|
|
12
|
+
static readonly ENCODE_TYPE_HTML = 0;
|
|
13
|
+
/**
|
|
14
|
+
* String encoding type WML.
|
|
15
|
+
* @see encodeString
|
|
16
|
+
* @deprecated Don't use this constant anymore.
|
|
17
|
+
*/
|
|
18
|
+
static readonly ENCODE_TYPE_WML = 2;
|
|
19
|
+
/**
|
|
20
|
+
* String encoding type XML.
|
|
21
|
+
* @see encodeString
|
|
22
|
+
*/
|
|
23
|
+
static readonly ENCODE_TYPE_XML = 1;
|
|
24
|
+
/**
|
|
25
|
+
* String truncate mode 'char'. Truncate string to the nearest character. Default mode if no truncate mode is specified.
|
|
26
|
+
* @see truncate
|
|
27
|
+
*/
|
|
28
|
+
static readonly TRUNCATE_CHAR = "char";
|
|
29
|
+
/**
|
|
30
|
+
* String truncate mode 'sentence'. Truncate string to the nearest sentence.
|
|
31
|
+
* @see truncate
|
|
32
|
+
*/
|
|
33
|
+
static readonly TRUNCATE_SENTENCE = "sentence";
|
|
34
|
+
/**
|
|
35
|
+
* String truncate mode 'word'. Truncate string to the nearest word.
|
|
36
|
+
* @see truncate
|
|
37
|
+
*/
|
|
38
|
+
static readonly TRUNCATE_WORD = "word";
|
|
39
|
+
private constructor();
|
|
40
|
+
/**
|
|
41
|
+
* Interprets a Base64 encoded string as byte stream of an UTF-8 encoded string.
|
|
42
|
+
*
|
|
43
|
+
* The method throws an IllegalArgumentException in case the encoding
|
|
44
|
+
* failed because of a mismatch between the input string and the character encoding.
|
|
45
|
+
*/
|
|
46
|
+
static decodeBase64(base64: string | null): string;
|
|
47
|
+
/**
|
|
48
|
+
* Interprets a Base64 encoded string as the byte stream representation of a string.
|
|
49
|
+
* The given character encoding is used for decoding the byte stream into the
|
|
50
|
+
* character representation.
|
|
51
|
+
*
|
|
52
|
+
* The method throws an IllegalArgumentException in case the encoding
|
|
53
|
+
* failed because of a mismatch between the input String and the character encoding.
|
|
54
|
+
*/
|
|
55
|
+
static decodeBase64(base64: string | null, characterEncoding: string | null): string;
|
|
56
|
+
/**
|
|
57
|
+
* Convert a given syntax-safe string to a string according to the
|
|
58
|
+
* selected character entity encoding type.
|
|
59
|
+
*/
|
|
60
|
+
static decodeString(str: string, type: number): string;
|
|
61
|
+
/**
|
|
62
|
+
* Encodes the byte representation of the given string as Base64.
|
|
63
|
+
* The string is converted into the byte representation with UTF-8 encoding.
|
|
64
|
+
*
|
|
65
|
+
* The method throws an IllegalArgumentException in case the encoding
|
|
66
|
+
* failed because of a mismatch between the input string and the character encoding.
|
|
67
|
+
*/
|
|
68
|
+
static encodeBase64(str: string | null): string;
|
|
69
|
+
/**
|
|
70
|
+
* Encodes the byte representation of the given string as Base64.
|
|
71
|
+
* The string is converted into the byte representation using the given
|
|
72
|
+
* character encoding.
|
|
73
|
+
*
|
|
74
|
+
* The method throws an IllegalArgumentException in case the encoding
|
|
75
|
+
* failed because of a mismatch between the input string and the character encoding.
|
|
76
|
+
*/
|
|
77
|
+
static encodeBase64(str: string | null, characterEncoding: string | null): string;
|
|
78
|
+
/**
|
|
79
|
+
* Convert a given string to a syntax-safe string according to the
|
|
80
|
+
* selected character entity encoding type.
|
|
81
|
+
*/
|
|
82
|
+
static encodeString(str: string, type: number): string;
|
|
83
|
+
/**
|
|
84
|
+
* Returns a formatted string using the specified format and arguments.
|
|
85
|
+
* The formatting string is a Java MessageFormat expression, e.g.
|
|
86
|
+
* format( "Message: {0}, {1}", "test", 10 ) would result in "Message: test, 10".
|
|
87
|
+
*
|
|
88
|
+
* If a Collection is passed as the only argument, the elements of this collection
|
|
89
|
+
* are used as arguments for the formatting.
|
|
90
|
+
*/
|
|
91
|
+
static format(format: string, ...args: any[]): string;
|
|
92
|
+
/**
|
|
93
|
+
* Formats a Calendar object with Calendar.INPUT_DATE_TIME_PATTERN format
|
|
94
|
+
* of the current request locale, for example "MM/dd/yyyy h:mm a" for the
|
|
95
|
+
* locale en_US. The used time zone is the time zone of the calendar object.
|
|
96
|
+
*/
|
|
97
|
+
static formatCalendar(calendar: Calendar): string;
|
|
98
|
+
/**
|
|
99
|
+
* Formats a Calendar object with the provided date format. The format is a
|
|
100
|
+
* Java date format, like "yyy-MM-dd". The used time zone is the time zone
|
|
101
|
+
* of the calendar object.
|
|
102
|
+
*/
|
|
103
|
+
static formatCalendar(calendar: Calendar, format: string): string;
|
|
104
|
+
/**
|
|
105
|
+
* Formats a Calendar object with the date format defined by the provided locale
|
|
106
|
+
* and Calendar pattern. The locale can be for instance the request.getLocale().
|
|
107
|
+
* The used time zone is the time zone of the calendar object.
|
|
108
|
+
*/
|
|
109
|
+
static formatCalendar(calendar: Calendar, locale: string, pattern: number): string;
|
|
110
|
+
/**
|
|
111
|
+
* Formats a date with the default date format of the current site.
|
|
112
|
+
* @deprecated Use formatCalendar instead.
|
|
113
|
+
*/
|
|
114
|
+
static formatDate(date: Date): string;
|
|
115
|
+
/**
|
|
116
|
+
* Formats a date with the provided date format. The format is the
|
|
117
|
+
* Java date format, like "yyyy-MM-DD". The locale of the calling context
|
|
118
|
+
* request is used in formatting.
|
|
119
|
+
* @deprecated Use formatCalendar instead.
|
|
120
|
+
*/
|
|
121
|
+
static formatDate(date: Date, format: string): string;
|
|
122
|
+
/**
|
|
123
|
+
* Formats a date with the provided date format in specified locale. The format is
|
|
124
|
+
* Java date format, like "yyyy-MM-DD".
|
|
125
|
+
* @deprecated Use formatCalendar instead.
|
|
126
|
+
*/
|
|
127
|
+
static formatDate(date: Date, format: string, locale: string): string;
|
|
128
|
+
/**
|
|
129
|
+
* Returns a formatted integer number using the default integer format of the current
|
|
130
|
+
* site. The method can be also called to format a floating number as integer.
|
|
131
|
+
*/
|
|
132
|
+
static formatInteger(number: number): string;
|
|
133
|
+
/**
|
|
134
|
+
* Formats a Money Object with the default money format of the current request locale.
|
|
135
|
+
*/
|
|
136
|
+
static formatMoney(money: Money): string;
|
|
137
|
+
/**
|
|
138
|
+
* Returns a formatted number as a string using the specified number format in specified locale. The format is
|
|
139
|
+
* Java number format, like "#,###.00". To format as an integer
|
|
140
|
+
* number provide "0" as format string.
|
|
141
|
+
*/
|
|
142
|
+
static formatNumber(number: number, format: string, locale: string): string;
|
|
143
|
+
/**
|
|
144
|
+
* Return a string in which specified number of characters in the suffix is not changed
|
|
145
|
+
* and the rest of the characters replaced with specified character.
|
|
146
|
+
*/
|
|
147
|
+
static garble(str: string, replaceChar: string, suffixLength: number): string;
|
|
148
|
+
/**
|
|
149
|
+
* Returns the string with leading white space removed.
|
|
150
|
+
*/
|
|
151
|
+
static ltrim(str: string): string;
|
|
152
|
+
/**
|
|
153
|
+
* This method provides cell padding functionality to the template.
|
|
154
|
+
*/
|
|
155
|
+
static pad(str: string, width: number): string;
|
|
156
|
+
/**
|
|
157
|
+
* Returns the string with trailing white space removed.
|
|
158
|
+
*/
|
|
159
|
+
static rtrim(str: string): string;
|
|
160
|
+
/**
|
|
161
|
+
* Convert a given string to an HTML-safe string.
|
|
162
|
+
* This method substitutes characters that conflict with HTML syntax
|
|
163
|
+
* (<,>,&,") and characters that are beyond the ASCII
|
|
164
|
+
* chart (Unicode 160-255) to HTML 3.2 named character entities.
|
|
165
|
+
*/
|
|
166
|
+
static stringToHtml(str: string): string;
|
|
167
|
+
/**
|
|
168
|
+
* Converts a given string to a WML-safe string.
|
|
169
|
+
* This method substitutes characters that conflict with WML syntax
|
|
170
|
+
* (<,>,&,',"$) to WML named character entities.
|
|
171
|
+
* @deprecated Don't use this method anymore
|
|
172
|
+
*/
|
|
173
|
+
static stringToWml(str: string): string;
|
|
174
|
+
/**
|
|
175
|
+
* Converts a given string to a XML-safe string.
|
|
176
|
+
* This method substitutes characters that conflict with XML syntax
|
|
177
|
+
* (<,>,&,',") to XML named character entities.
|
|
178
|
+
*/
|
|
179
|
+
static stringToXml(str: string): string;
|
|
180
|
+
/**
|
|
181
|
+
* Returns the string with leading and trailing white space removed.
|
|
182
|
+
*/
|
|
183
|
+
static trim(str: string): string;
|
|
184
|
+
/**
|
|
185
|
+
* Truncate the string to the specified length using specified truncate mode. Optionally,
|
|
186
|
+
* append suffix to truncated string.
|
|
187
|
+
*/
|
|
188
|
+
static truncate(str: string, maxLength: number, mode: string, suffix: string): string;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
export = StringUtils;
|
package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Template.d.ts
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import MimeEncodedText = require('../value/MimeEncodedText');
|
|
2
|
+
import utilMap = require('./Map');
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Reads an ISML template from the file system and renders it into a
|
|
6
|
+
* dw.value.MimeEncodedText object. Optional substitution values can be
|
|
7
|
+
* passed to the isml template via the dw.util.Template.render
|
|
8
|
+
* method. Substitution parameters can be accessed within the template through
|
|
9
|
+
*
|
|
10
|
+
* ```
|
|
11
|
+
* <isprint value="${param.parameter}">
|
|
12
|
+
* ```
|
|
13
|
+
*
|
|
14
|
+
* or for backward compatibility through
|
|
15
|
+
*
|
|
16
|
+
* ```
|
|
17
|
+
* <isprint value="${pdict.parameter}">
|
|
18
|
+
* ```
|
|
19
|
+
*
|
|
20
|
+
* The access through pdict only gives access to the parameter map provided at
|
|
21
|
+
* rendering time and doesn't offer access to the system PipelineDictionary. The
|
|
22
|
+
* pdict access to the property map is only considered to ease the transition
|
|
23
|
+
* from SendMail pipelet API based templates. If the PipelineDictionary or
|
|
24
|
+
* properties of the PipelineDictionary are needed, they need to be included in
|
|
25
|
+
* the Property map passed to the render method.
|
|
26
|
+
*/
|
|
27
|
+
declare class Template {
|
|
28
|
+
/**
|
|
29
|
+
* Creates a new template. Doesn't render the template until
|
|
30
|
+
* dw.util.Template.render or dw.util.Template.render
|
|
31
|
+
* is invoked. The current request localeID will be used for Rendering.
|
|
32
|
+
*/
|
|
33
|
+
constructor(templateName: string);
|
|
34
|
+
/**
|
|
35
|
+
* Creates a new template with the locale being set to the given localeID.
|
|
36
|
+
* Rendering doesn't happen until dw.util.Template.render or
|
|
37
|
+
* dw.util.Template.render is invoked.
|
|
38
|
+
*/
|
|
39
|
+
constructor(templateName: string, localeID: string);
|
|
40
|
+
/**
|
|
41
|
+
* Renders the template specified at instantiation time, without any
|
|
42
|
+
* substitution parameters. Any isprint tags referring to param/pdict will
|
|
43
|
+
* be unresolved and will be replaced with empty strings. If there's an
|
|
44
|
+
* explicit localeID set through dw.util.Template.setLocale,
|
|
45
|
+
* it takes precedence over the localeID associated with the current
|
|
46
|
+
* request.
|
|
47
|
+
*/
|
|
48
|
+
render(): MimeEncodedText;
|
|
49
|
+
/**
|
|
50
|
+
* Renders the template specified at instantiation time with the given
|
|
51
|
+
* substitution parameters. These parameters are available to ISML templates
|
|
52
|
+
* through variables named 'param' and 'pdict'. Note that in this context,
|
|
53
|
+
* pdict is not referring to the system PipelineDictionary, as the System
|
|
54
|
+
* Pipeline Dictionary is not accessible from this script API. If there's an
|
|
55
|
+
* explicit localeID set through dw.util.Template.setLocale,
|
|
56
|
+
* it takes precedence over the localeID associated with the current
|
|
57
|
+
* request.
|
|
58
|
+
*/
|
|
59
|
+
render(params: utilMap<any, any>): MimeEncodedText;
|
|
60
|
+
/**
|
|
61
|
+
* Sets an optional localeID which is used instead of the current requests
|
|
62
|
+
* localeID.
|
|
63
|
+
*/
|
|
64
|
+
setLocale(localeID: string): Template;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export = Template;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import ArrayList = require('./ArrayList');
|
|
2
|
+
import Assert = require('./Assert');
|
|
3
|
+
import BigInteger = require('./BigInteger');
|
|
4
|
+
import Bytes = require('./Bytes');
|
|
5
|
+
import Calendar = require('./Calendar');
|
|
6
|
+
import Collection = require('./Collection');
|
|
7
|
+
import Currency = require('./Currency');
|
|
8
|
+
import DateUtils = require('./DateUtils');
|
|
9
|
+
import Decimal = require('./Decimal');
|
|
10
|
+
import FilteringCollection = require('./FilteringCollection');
|
|
11
|
+
import Geolocation = require('./Geolocation');
|
|
12
|
+
import HashMap = require('./HashMap');
|
|
13
|
+
import HashSet = require('./HashSet');
|
|
14
|
+
import Iterator = require('./Iterator');
|
|
15
|
+
import LinkedHashMap = require('./LinkedHashMap');
|
|
16
|
+
import LinkedHashSet = require('./LinkedHashSet');
|
|
17
|
+
import List = require('./List');
|
|
18
|
+
import Locale = require('./Locale');
|
|
19
|
+
import Map = require('./Map');
|
|
20
|
+
import MapEntry = require('./MapEntry');
|
|
21
|
+
import MappingKey = require('./MappingKey');
|
|
22
|
+
import MappingMgr = require('./MappingMgr');
|
|
23
|
+
import PropertyComparator = require('./PropertyComparator');
|
|
24
|
+
import SecureEncoder = require('./SecureEncoder');
|
|
25
|
+
import SecureFilter = require('./SecureFilter');
|
|
26
|
+
import SeekableIterator = require('./SeekableIterator');
|
|
27
|
+
import Set = require('./Set');
|
|
28
|
+
import SortedMap = require('./SortedMap');
|
|
29
|
+
import SortedSet = require('./SortedSet');
|
|
30
|
+
import StringUtils = require('./StringUtils');
|
|
31
|
+
import Template = require('./Template');
|
|
32
|
+
import UUIDUtils = require('./UUIDUtils');
|
|
33
|
+
|
|
34
|
+
export {
|
|
35
|
+
ArrayList,
|
|
36
|
+
Assert,
|
|
37
|
+
BigInteger,
|
|
38
|
+
Bytes,
|
|
39
|
+
Calendar,
|
|
40
|
+
Collection,
|
|
41
|
+
Currency,
|
|
42
|
+
DateUtils,
|
|
43
|
+
Decimal,
|
|
44
|
+
FilteringCollection,
|
|
45
|
+
Geolocation,
|
|
46
|
+
HashMap,
|
|
47
|
+
HashSet,
|
|
48
|
+
Iterator,
|
|
49
|
+
LinkedHashMap,
|
|
50
|
+
LinkedHashSet,
|
|
51
|
+
List,
|
|
52
|
+
Locale,
|
|
53
|
+
Map,
|
|
54
|
+
MapEntry,
|
|
55
|
+
MappingKey,
|
|
56
|
+
MappingMgr,
|
|
57
|
+
PropertyComparator,
|
|
58
|
+
SecureEncoder,
|
|
59
|
+
SecureFilter,
|
|
60
|
+
SeekableIterator,
|
|
61
|
+
Set,
|
|
62
|
+
SortedMap,
|
|
63
|
+
SortedSet,
|
|
64
|
+
StringUtils,
|
|
65
|
+
Template,
|
|
66
|
+
UUIDUtils
|
|
67
|
+
};
|
package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/EnumValue.d.ts
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The class represents a single value for an Enumeration type. Enumeration
|
|
3
|
+
* types can be configured through the business manager for custom attributes.
|
|
4
|
+
* Some system attributes, e.g. the order status, are also of Enumeration types.
|
|
5
|
+
*
|
|
6
|
+
* Each EnumValue has a base value and a display value. The type of the base
|
|
7
|
+
* value can be either String or Integer. Every EnumValue has a display value.
|
|
8
|
+
*
|
|
9
|
+
* If the value of an Enumeration type object attribute is
|
|
10
|
+
* `null`, when that attribute is accessed an EnumValue is returned
|
|
11
|
+
* that has a base value of `null`, rather than `null`
|
|
12
|
+
* itself. This means that `empty(object.attribute)` would be
|
|
13
|
+
* `false`, and `empty(object.attribute.value)` would be
|
|
14
|
+
* `true`
|
|
15
|
+
* .
|
|
16
|
+
*/
|
|
17
|
+
declare class EnumValue {
|
|
18
|
+
/**
|
|
19
|
+
* Returns the display value of the enumeration value. If no display value
|
|
20
|
+
* is configured the method return the string representation of the value.
|
|
21
|
+
*/
|
|
22
|
+
readonly displayValue: string;
|
|
23
|
+
/**
|
|
24
|
+
* Returns the value of the enumeration value. This is either an integer
|
|
25
|
+
* value or a string.
|
|
26
|
+
*/
|
|
27
|
+
readonly value: any;
|
|
28
|
+
private constructor();
|
|
29
|
+
/**
|
|
30
|
+
* Returns the display value of the enumeration value. If no display value
|
|
31
|
+
* is configured the method return the string representation of the value.
|
|
32
|
+
*/
|
|
33
|
+
getDisplayValue(): string;
|
|
34
|
+
/**
|
|
35
|
+
* Returns the value of the enumeration value. This is either an integer
|
|
36
|
+
* value or a string.
|
|
37
|
+
*/
|
|
38
|
+
getValue(): any;
|
|
39
|
+
/**
|
|
40
|
+
* Same as getDisplayValue().
|
|
41
|
+
*/
|
|
42
|
+
toString(): string;
|
|
43
|
+
/**
|
|
44
|
+
* According the ECMA specification, this method returns the "natural"
|
|
45
|
+
* primitive value of this object. Here it is equivalent to getValue().
|
|
46
|
+
*/
|
|
47
|
+
valueOf(): any;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export = EnumValue;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Container for an arbitrary text string its mime type, and encoding
|
|
3
|
+
*/
|
|
4
|
+
declare class MimeEncodedText {
|
|
5
|
+
/**
|
|
6
|
+
* Returns the encoding of the text. Encoding is set at creation time and
|
|
7
|
+
* can't be changed afterwards
|
|
8
|
+
*/
|
|
9
|
+
readonly encoding: string;
|
|
10
|
+
/**
|
|
11
|
+
* Returns the mime type of the text. Mime type is set at creation time and
|
|
12
|
+
* can't be changed afterwards.
|
|
13
|
+
*/
|
|
14
|
+
readonly mimeType: string;
|
|
15
|
+
/**
|
|
16
|
+
* Returns the text. Text is set at creation time and can't be changed
|
|
17
|
+
* afterwards.
|
|
18
|
+
*/
|
|
19
|
+
readonly text: string;
|
|
20
|
+
/**
|
|
21
|
+
* Creates a new MimeEncodedText with explicit values for mime type and
|
|
22
|
+
* encoding.
|
|
23
|
+
*/
|
|
24
|
+
constructor(text: string, mimeType: string, encoding: string);
|
|
25
|
+
/**
|
|
26
|
+
* Creates a new MimeEncodedText with the given String as text, mime type of
|
|
27
|
+
* "text/plain;charset=UTF-8" and encoding of "UTF-8"
|
|
28
|
+
*/
|
|
29
|
+
constructor(text: string);
|
|
30
|
+
/**
|
|
31
|
+
* Returns the encoding of the text. Encoding is set at creation time and
|
|
32
|
+
* can't be changed afterwards
|
|
33
|
+
*/
|
|
34
|
+
getEncoding(): string;
|
|
35
|
+
/**
|
|
36
|
+
* Returns the mime type of the text. Mime type is set at creation time and
|
|
37
|
+
* can't be changed afterwards.
|
|
38
|
+
*/
|
|
39
|
+
getMimeType(): string;
|
|
40
|
+
/**
|
|
41
|
+
* Returns the text. Text is set at creation time and can't be changed
|
|
42
|
+
* afterwards.
|
|
43
|
+
*/
|
|
44
|
+
getText(): string;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export = MimeEncodedText;
|