@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
package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Transaction.d.ts
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Represents the current transaction. A transaction provides a context for performing atomic changes to persistent
|
|
3
|
+
* business objects. Before a business object can be created, changed, or deleted, a transaction must be started using
|
|
4
|
+
* the begin method. All changes on the touched business objects will only be made durable when the
|
|
5
|
+
* transaction is committed with commit. If a transaction is rolled back, all changes so far will be reverted
|
|
6
|
+
* and the business object will have their previous state again. It is possible to begin a transaction multiple times in
|
|
7
|
+
* a nested way (like begin-begin-commit-commit). In this case, in order to commit the changes the commit method must be
|
|
8
|
+
* called symmetrically as often as begin. It is also possible to run multiple transactions within a single request, one
|
|
9
|
+
* after another (like begin-commit-begin-commit). In case of any exception while working with business objects inside
|
|
10
|
+
* of a transaction, the transaction cannot be committed anymore, but only be rolled back. Business code may try to take
|
|
11
|
+
* appropriate actions if it expects business-related problems at commit (for example, constraint violations). When a
|
|
12
|
+
* transaction is still open at the end of a pipeline call, controller call, or job step, the remaining changes are
|
|
13
|
+
* committed unless an exception is thrown.
|
|
14
|
+
*
|
|
15
|
+
* The following best practices exist for using transactions:
|
|
16
|
+
*
|
|
17
|
+
* - Avoid long running transactions in jobs.
|
|
18
|
+
* - Use one transaction for changes that belong together and need a joint rollback. In most cases, one transaction
|
|
19
|
+
* for all changes in a request is better than multiple transactions for each individual object.
|
|
20
|
+
* - Don’t begin and commit a huge number of small transactions in a loop.
|
|
21
|
+
* - Avoid changing the same objects in parallel transactions.
|
|
22
|
+
*
|
|
23
|
+
* Example 1 - explicit control:
|
|
24
|
+
*
|
|
25
|
+
* ```
|
|
26
|
+
* var txn = require('dw/system/Transaction');
|
|
27
|
+
* txn.begin();
|
|
28
|
+
* // work with business objects here
|
|
29
|
+
* txn.commit();
|
|
30
|
+
* ```
|
|
31
|
+
*
|
|
32
|
+
* Example 2 - implicit control:
|
|
33
|
+
* @example
|
|
34
|
+
* var txn = require('dw/system/Transaction');
|
|
35
|
+
* txn.wrap(function(){
|
|
36
|
+
* // work with business objects here
|
|
37
|
+
* });
|
|
38
|
+
*/
|
|
39
|
+
declare class Transaction {
|
|
40
|
+
private constructor();
|
|
41
|
+
/**
|
|
42
|
+
* Begins a transaction.
|
|
43
|
+
*/
|
|
44
|
+
static begin(): void;
|
|
45
|
+
/**
|
|
46
|
+
* Commits the current transaction. The transaction must have been started with begin before.
|
|
47
|
+
*/
|
|
48
|
+
static commit(): void;
|
|
49
|
+
/**
|
|
50
|
+
* Rolls back the current transaction. The transaction must have been started with begin before.
|
|
51
|
+
*/
|
|
52
|
+
static rollback(): void;
|
|
53
|
+
/**
|
|
54
|
+
* Encloses the provided callback function in a begin-commit transactional context. If the transaction cannot be
|
|
55
|
+
* committed successfully, it is rolled back instead and an exception is thrown.
|
|
56
|
+
*/
|
|
57
|
+
static wrap<T>(callback: () => T): T;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export = Transaction;
|
package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/index.d.ts
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import AgentUserStatusCodes = require('./AgentUserStatusCodes');
|
|
2
|
+
import Cache = require('./Cache');
|
|
3
|
+
import CacheMgr = require('./CacheMgr');
|
|
4
|
+
import HookMgr = require('./HookMgr');
|
|
5
|
+
import InternalObject = require('./InternalObject');
|
|
6
|
+
import JobProcessMonitor = require('./JobProcessMonitor');
|
|
7
|
+
import Log = require('./Log');
|
|
8
|
+
import LogNDC = require('./LogNDC');
|
|
9
|
+
import Logger = require('./Logger');
|
|
10
|
+
import OrganizationPreferences = require('./OrganizationPreferences');
|
|
11
|
+
import Pipeline = require('./Pipeline');
|
|
12
|
+
import PipelineDictionary = require('./PipelineDictionary');
|
|
13
|
+
import RESTErrorResponse = require('./RESTErrorResponse');
|
|
14
|
+
import RESTResponseMgr = require('./RESTResponseMgr');
|
|
15
|
+
import RESTSuccessResponse = require('./RESTSuccessResponse');
|
|
16
|
+
import RemoteInclude = require('./RemoteInclude');
|
|
17
|
+
import Request = require('./Request');
|
|
18
|
+
import RequestHooks = require('./RequestHooks');
|
|
19
|
+
import Response = require('./Response');
|
|
20
|
+
import SearchStatus = require('./SearchStatus');
|
|
21
|
+
import Session = require('./Session');
|
|
22
|
+
import Site = require('./Site');
|
|
23
|
+
import SitePreferences = require('./SitePreferences');
|
|
24
|
+
import Status = require('./Status');
|
|
25
|
+
import StatusItem = require('./StatusItem');
|
|
26
|
+
import System = require('./System');
|
|
27
|
+
import Transaction = require('./Transaction');
|
|
28
|
+
|
|
29
|
+
export {
|
|
30
|
+
AgentUserStatusCodes,
|
|
31
|
+
Cache,
|
|
32
|
+
CacheMgr,
|
|
33
|
+
HookMgr,
|
|
34
|
+
InternalObject,
|
|
35
|
+
JobProcessMonitor,
|
|
36
|
+
Log,
|
|
37
|
+
LogNDC,
|
|
38
|
+
Logger,
|
|
39
|
+
OrganizationPreferences,
|
|
40
|
+
Pipeline,
|
|
41
|
+
PipelineDictionary,
|
|
42
|
+
RESTErrorResponse,
|
|
43
|
+
RESTResponseMgr,
|
|
44
|
+
RESTSuccessResponse,
|
|
45
|
+
RemoteInclude,
|
|
46
|
+
Request,
|
|
47
|
+
RequestHooks,
|
|
48
|
+
Response,
|
|
49
|
+
SearchStatus,
|
|
50
|
+
Session,
|
|
51
|
+
Site,
|
|
52
|
+
SitePreferences,
|
|
53
|
+
Status,
|
|
54
|
+
StatusItem,
|
|
55
|
+
System,
|
|
56
|
+
Transaction
|
|
57
|
+
};
|
package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/template/ISML.d.ts
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This class provides support for rendering ISML templates. For more details about the ISML syntax, refer to the
|
|
3
|
+
* Commerce Cloud Digital developer documentation. Templates are stored as *.isml files. They are located in a
|
|
4
|
+
* locale-specific folder under the '/cartridge/templates' folder, with '/cartridge/template/default' being the default
|
|
5
|
+
* locale. The template name arguments of the various render methods represent the template path (without file ending)
|
|
6
|
+
* within this folder structure.
|
|
7
|
+
*
|
|
8
|
+
* Example for rendering a template with arguments from JavaScript code:
|
|
9
|
+
*
|
|
10
|
+
* ```
|
|
11
|
+
* let isml = require('dw/template/ISML');
|
|
12
|
+
* isml.renderTemplate('helloworld', {
|
|
13
|
+
* Message: 'Hello, World!'
|
|
14
|
+
* });
|
|
15
|
+
* ```
|
|
16
|
+
*
|
|
17
|
+
* Example code for accessing the template arguments in the 'helloworld.isml' template from the above code snippet:
|
|
18
|
+
* @example
|
|
19
|
+
* The message is: <isprint value="${pdict.Message}" />
|
|
20
|
+
*/
|
|
21
|
+
declare class ISML {
|
|
22
|
+
private constructor();
|
|
23
|
+
/**
|
|
24
|
+
* Renders an ISML template and writes the output to the current response. The template may contain ISML tags which
|
|
25
|
+
* control the character encoding, content type, caching behavior and so on of the response (see ISML
|
|
26
|
+
* documentation). This method takes an additional JavaScript object as argument. Its properties are accessible for
|
|
27
|
+
* script expressions in the template under the "pdict.*" variable.
|
|
28
|
+
*/
|
|
29
|
+
static renderTemplate(template: string, templateArgs: any): void;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export = ISML;
|
package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/template/Velocity.d.ts
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import Writer = require('../io/Writer');
|
|
2
|
+
import File = require('../io/File');
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* This class renders an Apache Velocity template. For Velocity template syntax, see
|
|
6
|
+
* Velocity 1.7.
|
|
7
|
+
*
|
|
8
|
+
* The render() methods identify the template to render from:
|
|
9
|
+
*
|
|
10
|
+
* - a template file name, which is resolved in the Dynamic WebDAV file location for the current site.
|
|
11
|
+
* Template file names must end with either '.vm' or '.vs'.
|
|
12
|
+
* - a dw.io.File object, which can point to any file system location that is accessible from a script
|
|
13
|
+
* - a string that holds the template content directly
|
|
14
|
+
* Note: Files included from an ISML template (either via `#parse` or `#include`) are always resolved
|
|
15
|
+
* in the Dynamic location, and it is not possible to provide an absolute path.
|
|
16
|
+
*
|
|
17
|
+
* On the target side of rendering, by default the render() methods write to the current response writer. When needed,
|
|
18
|
+
* a `dw.io.Writer` can be supplied as a target.
|
|
19
|
+
*
|
|
20
|
+
* Parameters for rendering can be passed as a single object holding the parameters as properties.
|
|
21
|
+
*
|
|
22
|
+
* To create a URL, pass the `URLUtils` class.
|
|
23
|
+
*
|
|
24
|
+
* To access localized strings, pass the `Resource` class:
|
|
25
|
+
*
|
|
26
|
+
* ```
|
|
27
|
+
* `
|
|
28
|
+
* var urlUtil = require('dw/web/URLUtils');
|
|
29
|
+
* velocity.render("$url.abs('Foo-Bar','cgid',$res.msg('key')", {'url' : urlUtil, 'res' : dw.web.Resource});
|
|
30
|
+
* `
|
|
31
|
+
* ```
|
|
32
|
+
*
|
|
33
|
+
* The complete set of VelocityTools
|
|
34
|
+
* are provided to the template. You can use the tools to escape dynamic data, format text, and for other common tasks.
|
|
35
|
+
*
|
|
36
|
+
* Template files are cached for different amounts of time, depending on the instance type.
|
|
37
|
+
*/
|
|
38
|
+
declare class Velocity {
|
|
39
|
+
private constructor();
|
|
40
|
+
/**
|
|
41
|
+
* Includes the rendered content of the specified action URL, which usually is a pipeline or controller. Must only be used inside a Velocity
|
|
42
|
+
* template, such as `$velocity.remoteInclude('Product-Show','sku','42')`
|
|
43
|
+
*/
|
|
44
|
+
static remoteInclude(action: string, ...namesAndParams: string[]): string;
|
|
45
|
+
/**
|
|
46
|
+
* Renders an inline template to the response writer.
|
|
47
|
+
*/
|
|
48
|
+
static render(templateContent: string, args: Object): void;
|
|
49
|
+
/**
|
|
50
|
+
* Renders an inline template to the provided writer.
|
|
51
|
+
*/
|
|
52
|
+
static render(templateContent: string, args: Object, writer: Writer): void;
|
|
53
|
+
/**
|
|
54
|
+
* Renders a template file to the response writer.
|
|
55
|
+
*/
|
|
56
|
+
static renderTemplate(templateFileName: string, args: Object): void;
|
|
57
|
+
/**
|
|
58
|
+
* Renders a template file to the provided writer.
|
|
59
|
+
*/
|
|
60
|
+
static renderTemplate(templateFileName: string, args: Object, writer: Writer): void;
|
|
61
|
+
/**
|
|
62
|
+
* Renders a template file to the response writer.
|
|
63
|
+
*/
|
|
64
|
+
static renderTemplate(templateFile: File, args: Object): void;
|
|
65
|
+
/**
|
|
66
|
+
* Renders a template file to the provided writer.
|
|
67
|
+
*/
|
|
68
|
+
static renderTemplate(templateFile: File, args: Object, writer: Writer): void;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export = Velocity;
|
package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/ArrayList.d.ts
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import List = require('./List');
|
|
2
|
+
import Collection = require('./Collection');
|
|
3
|
+
import utilIterator = require('./Iterator');
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* The ArrayList class is a container for a list of objects.
|
|
7
|
+
*/
|
|
8
|
+
declare class ArrayList<T> extends List<T> {
|
|
9
|
+
/**
|
|
10
|
+
* Constructor for a new ArrayList.
|
|
11
|
+
*/
|
|
12
|
+
constructor();
|
|
13
|
+
/**
|
|
14
|
+
* Constructor for a new ArrayList. The constructor initializes the
|
|
15
|
+
* ArrayList with the elements of the given collection.
|
|
16
|
+
*/
|
|
17
|
+
constructor(collection: Collection<T>);
|
|
18
|
+
/**
|
|
19
|
+
* Constructor for a new ArrayList. The constructor initializes the
|
|
20
|
+
* ArrayList with the elements of the given iterator.
|
|
21
|
+
*/
|
|
22
|
+
constructor(iterator: utilIterator<any>);
|
|
23
|
+
/**
|
|
24
|
+
* Constructor for a new ArrayList. The constructor initializes the
|
|
25
|
+
* ArrayList with the arguments given as constructor parameters. The method
|
|
26
|
+
* can also be called with an ECMA array as argument.
|
|
27
|
+
*
|
|
28
|
+
* If called with a single ECMA array as argument the individual elements of
|
|
29
|
+
* that array are used to initialize the ArrayList. To create an ArrayList
|
|
30
|
+
* with a single array as element, create an empty ArrayList and then call
|
|
31
|
+
* the method add1() on it.
|
|
32
|
+
*/
|
|
33
|
+
constructor(...values: any[]);
|
|
34
|
+
/**
|
|
35
|
+
* Returns a shallow copy of this array list.
|
|
36
|
+
*/
|
|
37
|
+
clone(): ArrayList<any>;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export = ArrayList;
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Assert class provides utility methods for assertion events.
|
|
3
|
+
*/
|
|
4
|
+
declare class Assert {
|
|
5
|
+
private constructor();
|
|
6
|
+
/**
|
|
7
|
+
* Propagates an assertion
|
|
8
|
+
* if the specified objects are not equal.
|
|
9
|
+
*/
|
|
10
|
+
static areEqual(arg1: any, arg2: any): void;
|
|
11
|
+
/**
|
|
12
|
+
* Propagates an assertion using the specified message
|
|
13
|
+
* if the specified objects are not equal.
|
|
14
|
+
*/
|
|
15
|
+
static areEqual(arg1: any, arg2: any, msg: string): void;
|
|
16
|
+
/**
|
|
17
|
+
* Propagates an assertion
|
|
18
|
+
* if the specified objects are equal.
|
|
19
|
+
*/
|
|
20
|
+
static areNotEqual(arg1: any, arg2: any): void;
|
|
21
|
+
/**
|
|
22
|
+
* Propagates an assertion using the specified message
|
|
23
|
+
* if the specified objects are equal.
|
|
24
|
+
*/
|
|
25
|
+
static areNotEqual(arg1: any, arg2: any, msg: string): void;
|
|
26
|
+
/**
|
|
27
|
+
* Propagates an assertion
|
|
28
|
+
* if the specified objects are not the same.
|
|
29
|
+
*/
|
|
30
|
+
static areSame(arg1: any, arg2: any): void;
|
|
31
|
+
/**
|
|
32
|
+
* Propagates an assertion using the specified message
|
|
33
|
+
* if the specified objects are not the same.
|
|
34
|
+
*/
|
|
35
|
+
static areSame(arg1: any, arg2: any, msg: string): void;
|
|
36
|
+
/**
|
|
37
|
+
* Propagates a failure assertion.
|
|
38
|
+
*/
|
|
39
|
+
static fail(): void;
|
|
40
|
+
/**
|
|
41
|
+
* Propagates a failure assertion using the
|
|
42
|
+
* specified message.
|
|
43
|
+
*/
|
|
44
|
+
static fail(msg: string): void;
|
|
45
|
+
/**
|
|
46
|
+
* Propagates an assertion
|
|
47
|
+
* if the specified check does not evaluate to
|
|
48
|
+
* an empty object.
|
|
49
|
+
*/
|
|
50
|
+
static isEmpty(arg: any): void;
|
|
51
|
+
/**
|
|
52
|
+
* Propagates an assertion using the specified message
|
|
53
|
+
* if the specified check does not evaluate to
|
|
54
|
+
* an empty object.
|
|
55
|
+
*/
|
|
56
|
+
static isEmpty(arg: any, msg: string): void;
|
|
57
|
+
/**
|
|
58
|
+
* Propagates an assertion if the
|
|
59
|
+
* specified check does not evaluate to false.
|
|
60
|
+
*/
|
|
61
|
+
static isFalse(check: boolean): void;
|
|
62
|
+
/**
|
|
63
|
+
* Propagates an assertion using the specified message
|
|
64
|
+
* if the specified check does not evaluate to false.
|
|
65
|
+
*/
|
|
66
|
+
static isFalse(check: boolean, msg: string): void;
|
|
67
|
+
/**
|
|
68
|
+
* Propagates an assertion if the specified object 'arg' is not an instance
|
|
69
|
+
* of the specified class 'clazz'.
|
|
70
|
+
*
|
|
71
|
+
* For example, the following call does not propagate an assertion:
|
|
72
|
+
*
|
|
73
|
+
* ```
|
|
74
|
+
* `
|
|
75
|
+
* var test = new dw.util.HashMap();
|
|
76
|
+
* dw.util.Assert.isInstanceOf(dw.util.HashMap, test);
|
|
77
|
+
* `
|
|
78
|
+
* ```
|
|
79
|
+
*
|
|
80
|
+
* But the following call will propagate an assertion:
|
|
81
|
+
*
|
|
82
|
+
* ```
|
|
83
|
+
* `
|
|
84
|
+
* var test = new dw.util.Set();
|
|
85
|
+
* dw.util.Assert.isInstanceOf(dw.util.HashMap, test);
|
|
86
|
+
* `
|
|
87
|
+
* ```
|
|
88
|
+
*
|
|
89
|
+
* Note that 'clazz' can only be a Demandware API Scripting class.
|
|
90
|
+
*/
|
|
91
|
+
static isInstanceOf(clazz: any, arg: any): void;
|
|
92
|
+
/**
|
|
93
|
+
* Propagates an assertion using the specified message
|
|
94
|
+
* if the specified object is not an instance of the specified class.
|
|
95
|
+
*
|
|
96
|
+
* For example, the following call does not propagate an assertion:
|
|
97
|
+
*
|
|
98
|
+
* ```
|
|
99
|
+
* `
|
|
100
|
+
* var test = new dw.util.HashMap();
|
|
101
|
+
* dw.util.Assert.isInstanceOf(dw.util.HashMap, test);
|
|
102
|
+
* `
|
|
103
|
+
* ```
|
|
104
|
+
*
|
|
105
|
+
* But the following call will propagate an assertion:
|
|
106
|
+
*
|
|
107
|
+
* ```
|
|
108
|
+
* `
|
|
109
|
+
* var test = new dw.util.Set();
|
|
110
|
+
* dw.util.Assert.isInstanceOf(dw.util.HashMap, test);
|
|
111
|
+
* `
|
|
112
|
+
* ```
|
|
113
|
+
*
|
|
114
|
+
* Note that 'clazz' can only be a Demandware API Scripting class.
|
|
115
|
+
*/
|
|
116
|
+
static isInstanceOf(clazz: any, arg: any, msg: string): void;
|
|
117
|
+
/**
|
|
118
|
+
* Propagates an assertion
|
|
119
|
+
* if the specified object is empty.
|
|
120
|
+
*/
|
|
121
|
+
static isNotEmpty(arg: any): void;
|
|
122
|
+
/**
|
|
123
|
+
* Propagates an assertion using the specified message
|
|
124
|
+
* if the specified object is empty.
|
|
125
|
+
*/
|
|
126
|
+
static isNotEmpty(arg: any, msg: string): void;
|
|
127
|
+
/**
|
|
128
|
+
* Propagates an assertion if the
|
|
129
|
+
* specified object is null.
|
|
130
|
+
*/
|
|
131
|
+
static isNotNull(arg: any): void;
|
|
132
|
+
/**
|
|
133
|
+
* Propagates an assertion using the specified message
|
|
134
|
+
* if the specified object is null.
|
|
135
|
+
*/
|
|
136
|
+
static isNotNull(arg: any, msg: string): void;
|
|
137
|
+
/**
|
|
138
|
+
* Propagates an assertion
|
|
139
|
+
* if the specified object is not null.
|
|
140
|
+
*/
|
|
141
|
+
static isNull(arg: any): void;
|
|
142
|
+
/**
|
|
143
|
+
* Propagates an assertion using the specified message
|
|
144
|
+
* if the specified object is not null.
|
|
145
|
+
*/
|
|
146
|
+
static isNull(arg: any, msg: string): void;
|
|
147
|
+
/**
|
|
148
|
+
* Propagates an assertion if the
|
|
149
|
+
* specified check does not evaluate to true.
|
|
150
|
+
*/
|
|
151
|
+
static isTrue(check: boolean): void;
|
|
152
|
+
/**
|
|
153
|
+
* Propagates an assertion using the specified message
|
|
154
|
+
* if the specified check does not evaluate to true.
|
|
155
|
+
*/
|
|
156
|
+
static isTrue(check: boolean, msg: string): void;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
export = Assert;
|
package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/BigInteger.d.ts
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The BigInteger class is a helper class to represent an arbitrary long integer number.
|
|
3
|
+
* The Demandware framework doesn't use this class, but in some special cases
|
|
4
|
+
* web services that declare an XML element with "xsd:integer", which is by definition
|
|
5
|
+
* an arbitrary long integer number, require the use of this class.
|
|
6
|
+
*
|
|
7
|
+
* The class is designed in a way that it can be used very similar to a
|
|
8
|
+
* desktop calculator. For example:
|
|
9
|
+
*
|
|
10
|
+
* ```
|
|
11
|
+
* var i = new BigInteger( 10 );
|
|
12
|
+
* var result = d.add( 2 ).sub( 3 ).get();
|
|
13
|
+
* ```
|
|
14
|
+
*
|
|
15
|
+
* The above code will return 9 as result.
|
|
16
|
+
* @deprecated Replaced by TopLevel.BigInt.
|
|
17
|
+
*/
|
|
18
|
+
declare class BigInteger {
|
|
19
|
+
/**
|
|
20
|
+
* Constructs a new BigInteger with the value 0.
|
|
21
|
+
*/
|
|
22
|
+
constructor();
|
|
23
|
+
/**
|
|
24
|
+
* Constructs a new BigInteger using the specified Number value.
|
|
25
|
+
*/
|
|
26
|
+
constructor(value: number);
|
|
27
|
+
/**
|
|
28
|
+
* Constructs a new BigInteger using the specified string representation of
|
|
29
|
+
* a number.
|
|
30
|
+
*/
|
|
31
|
+
constructor(value: string);
|
|
32
|
+
/**
|
|
33
|
+
* Returns a new BigInteger with the absolute value of this BigInteger.
|
|
34
|
+
*/
|
|
35
|
+
abs(): BigInteger;
|
|
36
|
+
/**
|
|
37
|
+
* Adds a Number value to this BigInteger and returns the new BigInteger.
|
|
38
|
+
*/
|
|
39
|
+
add(value: number): BigInteger;
|
|
40
|
+
/**
|
|
41
|
+
* Adds an BigInteger value to this BigInteger and returns the new BigInteger.
|
|
42
|
+
*/
|
|
43
|
+
add(value: BigInteger): BigInteger;
|
|
44
|
+
/**
|
|
45
|
+
* Divides this BigInteger by the specified BigInteger and returns the new BigInteger.
|
|
46
|
+
*/
|
|
47
|
+
divide(value: number): BigInteger;
|
|
48
|
+
/**
|
|
49
|
+
* Divides this BigInteger by the specified BigInteger and returns the new BigInteger.
|
|
50
|
+
*/
|
|
51
|
+
divide(value: BigInteger): BigInteger;
|
|
52
|
+
/**
|
|
53
|
+
* Compares two BigInteger values whether they are equivalent.
|
|
54
|
+
*/
|
|
55
|
+
equals(other: any): boolean;
|
|
56
|
+
/**
|
|
57
|
+
* Returns the value of the BigInteger as a Number.
|
|
58
|
+
*/
|
|
59
|
+
get(): number;
|
|
60
|
+
/**
|
|
61
|
+
* Calculates the hash code for this BigInteger;
|
|
62
|
+
*/
|
|
63
|
+
hashCode(): number;
|
|
64
|
+
/**
|
|
65
|
+
* Multiples the specified Number value with this BigInteger and returns the new BigInteger.
|
|
66
|
+
*/
|
|
67
|
+
multiply(value: number): BigInteger;
|
|
68
|
+
/**
|
|
69
|
+
* Multiples the specified BigInteger value with this BigInteger and returns the new BigInteger.
|
|
70
|
+
*/
|
|
71
|
+
multiply(value: BigInteger): BigInteger;
|
|
72
|
+
/**
|
|
73
|
+
* Returns a new BigInteger with the negated value of this BigInteger.
|
|
74
|
+
*/
|
|
75
|
+
negate(): BigInteger;
|
|
76
|
+
/**
|
|
77
|
+
* Subtracts the specified Number value from this BigInteger and returns the new BigInteger.
|
|
78
|
+
*/
|
|
79
|
+
subtract(value: number): BigInteger;
|
|
80
|
+
/**
|
|
81
|
+
* Subtracts the specified BigInteger value from this BigInteger and returns the new BigInteger.
|
|
82
|
+
*/
|
|
83
|
+
subtract(value: BigInteger): BigInteger;
|
|
84
|
+
/**
|
|
85
|
+
* Returns a string representation of this object.
|
|
86
|
+
*/
|
|
87
|
+
toString(): string;
|
|
88
|
+
/**
|
|
89
|
+
* The valueOf() method is called by the ECMAScript interpret to return
|
|
90
|
+
* the "natural" value of an object. The BigInteger object returns its
|
|
91
|
+
* current value as number. With this behavior script snippets can
|
|
92
|
+
* be written like:
|
|
93
|
+
*
|
|
94
|
+
* ```
|
|
95
|
+
* var i = new BigInteger( 10 );
|
|
96
|
+
* var x = 1 + d.add( 2 );
|
|
97
|
+
* ```
|
|
98
|
+
*
|
|
99
|
+
* where x will be at the end 13.
|
|
100
|
+
*/
|
|
101
|
+
valueOf(): any;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export = BigInteger;
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A simple immutable class representing an array of bytes, used for working
|
|
3
|
+
* with binary data in a scripting context.
|
|
4
|
+
*
|
|
5
|
+
* It acts as a view to TopLevel.ArrayBuffer. The buffer can be accessed through asUint8Array.
|
|
6
|
+
*
|
|
7
|
+
* Limitation:
|
|
8
|
+
* The size of the resulting byte representation is limited by the quota api.jsArrayBufferSize that is defining the max size for a TopLevel.ArrayBuffer.
|
|
9
|
+
*/
|
|
10
|
+
declare class Bytes {
|
|
11
|
+
/**
|
|
12
|
+
* The maximum number of bytes that a Bytes object can represent == 10KB
|
|
13
|
+
* @deprecated No longer used by the Bytes class.
|
|
14
|
+
*/
|
|
15
|
+
static readonly MAX_BYTES = 10240;
|
|
16
|
+
/**
|
|
17
|
+
* Returns the number of bytes represented by this object.
|
|
18
|
+
*/
|
|
19
|
+
readonly length: number;
|
|
20
|
+
/**
|
|
21
|
+
* Construct a Bytes object from the given TopLevel.ArrayBuffer or view. The bytes object also acts as a
|
|
22
|
+
* view on the underlying TopLevel.ArrayBuffer. If a view is given that makes only a part of the storage
|
|
23
|
+
* array visible then this Bytes object will also make only the same part visible. The storage data is not copied.
|
|
24
|
+
* @since 21.2
|
|
25
|
+
*/
|
|
26
|
+
constructor(arrayBufferOrView: any);
|
|
27
|
+
/**
|
|
28
|
+
* Construct a Bytes object from the given string using the default
|
|
29
|
+
* encoding. Convenience for Bytes( string, "UTF-8" ).
|
|
30
|
+
* @throws IllegalArgumentException If the encoded byte sequence exceeds the maximum number of bytes.
|
|
31
|
+
*/
|
|
32
|
+
constructor(string: string);
|
|
33
|
+
/**
|
|
34
|
+
* Construct a Bytes object from the given string using the given encoding.
|
|
35
|
+
* This method always replaces malformed input and unmappable character
|
|
36
|
+
* sequences with encoding defaults.
|
|
37
|
+
* @throws IllegalArgumentException If the named encoding is not supported or if the encoded byte sequence exceeds the maximum number of bytes.
|
|
38
|
+
*/
|
|
39
|
+
constructor(string: string, encoding: string | null);
|
|
40
|
+
/**
|
|
41
|
+
* Returns a TopLevel.Uint8Array based on the TopLevel.ArrayBuffer used for this Bytes object.
|
|
42
|
+
* Changes to the returned TopLevel.ArrayBuffer will be visible in the Bytes object.
|
|
43
|
+
* @since 21.2
|
|
44
|
+
*/
|
|
45
|
+
asUint8Array(): Object;
|
|
46
|
+
/**
|
|
47
|
+
* Returns the value of the byte at position index as an integer. If index
|
|
48
|
+
* is out of range an exception is thrown. The byte is interpreted as signed
|
|
49
|
+
* and so the value returned will always be between -128 and +127.
|
|
50
|
+
* @throws IndexOutOfBoundsException If the index argument is negative or not less than the length of this byte array.
|
|
51
|
+
*/
|
|
52
|
+
byteAt(index: number): number;
|
|
53
|
+
/**
|
|
54
|
+
* Return a new Bytes object containing the subsequence of this object's bytes specified by the index and length
|
|
55
|
+
* parameters. The returned object is a new view onto the same data, no data is copied.
|
|
56
|
+
* @throws ArrayIndexOutOfBoundsException If index < 0 or index > getLength() or index + length > getLength()
|
|
57
|
+
* @throws IllegalArgumentException If length < 0
|
|
58
|
+
*/
|
|
59
|
+
bytesAt(index: number, length: number): Bytes;
|
|
60
|
+
/**
|
|
61
|
+
* Returns the number of bytes represented by this object.
|
|
62
|
+
*/
|
|
63
|
+
getLength(): number;
|
|
64
|
+
/**
|
|
65
|
+
* Absolute get method for reading a signed integer value (32 bit) in
|
|
66
|
+
* network byte order(= big endian).
|
|
67
|
+
* @throws IndexOutOfBoundsException If index is negative or not smaller than the number of bytes minus three.
|
|
68
|
+
*/
|
|
69
|
+
intAt(index: number): number;
|
|
70
|
+
/**
|
|
71
|
+
* Return a new Bytes object which has the same bytes as this one in reverse
|
|
72
|
+
* order.
|
|
73
|
+
*/
|
|
74
|
+
reverse(): Bytes;
|
|
75
|
+
/**
|
|
76
|
+
* Absolute get method for reading a signed short value (16 bit) in network
|
|
77
|
+
* byte order(= big endian).
|
|
78
|
+
* @throws IndexOutOfBoundsException If index is negative or not smaller than the number of bytes minus one.
|
|
79
|
+
*/
|
|
80
|
+
shortAt(index: number): number;
|
|
81
|
+
/**
|
|
82
|
+
* Constructs a new String by decoding this array of bytes using the
|
|
83
|
+
* default encoding. Convenience for toString( "UTF-8" ).
|
|
84
|
+
* Limitation:
|
|
85
|
+
* The method is protected by the quota api.jsStringLength that prevents creation of too long strings.
|
|
86
|
+
*/
|
|
87
|
+
toString(): string;
|
|
88
|
+
toString(): string;
|
|
89
|
+
/**
|
|
90
|
+
* Constructs a new String by decoding this array of bytes using the
|
|
91
|
+
* specified encoding.
|
|
92
|
+
* Limitation:
|
|
93
|
+
* The method is protected by the quota api.jsStringLength that prevents creation of too long strings.
|
|
94
|
+
* @throws IllegalArgumentException If the named encoding is not supported.
|
|
95
|
+
*/
|
|
96
|
+
toString(encoding: string): string;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export = Bytes;
|