@salesforce/b2c-cli 1.11.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/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 +5721 -5416
- package/package.json +2 -2
|
@@ -0,0 +1,283 @@
|
|
|
1
|
+
import ObjectTypeDefinition = require('./ObjectTypeDefinition');
|
|
2
|
+
import CustomObject = require('./CustomObject');
|
|
3
|
+
import SeekableIterator = require('../util/SeekableIterator');
|
|
4
|
+
import utilMap = require('../util/Map');
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Manager class which provides methods for creating, retrieving, deleting,
|
|
8
|
+
* and searching for custom objects.
|
|
9
|
+
*
|
|
10
|
+
* To search for system objects, use dw.object.SystemObjectMgr.
|
|
11
|
+
*/
|
|
12
|
+
declare class CustomObjectMgr {
|
|
13
|
+
private constructor();
|
|
14
|
+
/**
|
|
15
|
+
* Returns a new custom object instance of the specified type, using the
|
|
16
|
+
* given key value. Custom object keys need to be unique for custom object
|
|
17
|
+
* type.
|
|
18
|
+
* @throws IllegalArgumentException if the given type is invalid
|
|
19
|
+
*/
|
|
20
|
+
static createCustomObject(type: string, keyValue: string): CustomObject;
|
|
21
|
+
/**
|
|
22
|
+
* Returns a new custom object instance of the specified type, using the
|
|
23
|
+
* given key value. Custom object keys need to be unique for custom object
|
|
24
|
+
* type.
|
|
25
|
+
* @throws IllegalArgumentException if the given type is invalid
|
|
26
|
+
*/
|
|
27
|
+
static createCustomObject(type: string, keyValue: number): CustomObject;
|
|
28
|
+
/**
|
|
29
|
+
* Returns the meta data for the given type.
|
|
30
|
+
* @throws IllegalArgumentException if the given type is invalid
|
|
31
|
+
*/
|
|
32
|
+
static describe(type: string): ObjectTypeDefinition;
|
|
33
|
+
/**
|
|
34
|
+
* Returns all custom objects of a specific type.
|
|
35
|
+
*
|
|
36
|
+
* It is strongly recommended to call `close()` on the returned SeekableIterator
|
|
37
|
+
* if not all of its elements are being retrieved. This will ensure the proper cleanup of system resources.
|
|
38
|
+
* @throws IllegalArgumentException if the given type is invalid
|
|
39
|
+
* @see dw.util.SeekableIterator.close
|
|
40
|
+
*/
|
|
41
|
+
static getAllCustomObjects(type: string): SeekableIterator<CustomObject>;
|
|
42
|
+
/**
|
|
43
|
+
* Returns a custom object based on it's type and unique key.
|
|
44
|
+
* @throws IllegalArgumentException if the given type is invalid
|
|
45
|
+
*/
|
|
46
|
+
static getCustomObject(type: string, keyValue: string): CustomObject | null;
|
|
47
|
+
/**
|
|
48
|
+
* Returns a custom object based on it's type and unique key.
|
|
49
|
+
* @throws IllegalArgumentException if the given type is invalid
|
|
50
|
+
*/
|
|
51
|
+
static getCustomObject(type: string, keyValue: number): CustomObject | null;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
*
|
|
55
|
+
* Searches for a single custom object instance.
|
|
56
|
+
*
|
|
57
|
+
* The search can be configured using a simple query language, which provides most common filter and operator
|
|
58
|
+
* functionality.
|
|
59
|
+
*
|
|
60
|
+
* The identifier for an attribute to use in a query condition is always the ID of the attribute as defined
|
|
61
|
+
* in the type definition. For custom defined attributes the prefix custom is required in the search term (e.g.
|
|
62
|
+
* `custom.color = {1}`), while for system attributes no prefix is used (e.g. `name = {4}`).
|
|
63
|
+
*
|
|
64
|
+
* Supported attribute value types with sample expression values:
|
|
65
|
+
*
|
|
66
|
+
* - String `'String', 'Str*', 'Strin?'`
|
|
67
|
+
* - Integer `1, 3E4`
|
|
68
|
+
* - Number `1.0, 3.99E5`
|
|
69
|
+
* - Date `yyyy-MM-dd e.g. 2007-05-31 (Default TimeZone = UTC)`
|
|
70
|
+
* - DateTime
|
|
71
|
+
* `yyyy-MM-dd'T'hh:mm:ss+Z e.g. 2007-05-31T00:00+Z (Z TimeZone = UTC) or 2007-05-31T00:00:00`
|
|
72
|
+
* - Boolean `true, false`
|
|
73
|
+
* - Email `'search@demandware.com', '*@demandware.com'`
|
|
74
|
+
* - Set of String `'String', 'Str*', 'Strin?'`
|
|
75
|
+
* - Set of Integer `1, 3E4`
|
|
76
|
+
* - Set of Number `1.0, 3.99E5`
|
|
77
|
+
* - Enum of String `'String', 'Str*', 'Strin?'`
|
|
78
|
+
* - Enum of Integer `1, 3E4`
|
|
79
|
+
*
|
|
80
|
+
* The following types of attributes are not queryable:
|
|
81
|
+
*
|
|
82
|
+
* - Image
|
|
83
|
+
* - HTML
|
|
84
|
+
* - Text
|
|
85
|
+
* - Quantity
|
|
86
|
+
* - Password
|
|
87
|
+
*
|
|
88
|
+
* Note, that some system attributes are not queryable by default regardless of the actual value type code.
|
|
89
|
+
*
|
|
90
|
+
* The following operators are supported in a condition:
|
|
91
|
+
*
|
|
92
|
+
* - `=` Equals - All types; supports NULL value (`thumbnail = NULL`)
|
|
93
|
+
* - `!=` Not equals - All types; supports NULL value (`thumbnail != NULL`)
|
|
94
|
+
* - `<` Less than - Integer, Number and Date types only
|
|
95
|
+
* - `>` Greater than - Integer, Number and Date types only
|
|
96
|
+
* - `<=` Less or equals than - Integer, Number and Date types only
|
|
97
|
+
* - `>=` Greater or equals than - Integer, Number and Date types only
|
|
98
|
+
* - `LIKE` Like - String types and Email only; use if leading or trailing wildcards will be used to
|
|
99
|
+
* support substring search(`custom.country LIKE 'US*'`)
|
|
100
|
+
* - `ILIKE` Case-independent Like - String types and Email only, use to support case insensitive query
|
|
101
|
+
* (`custom.country ILIKE 'usa'`), does also support wildcards for substring matching
|
|
102
|
+
*
|
|
103
|
+
* Conditions can be combined using logical expressions 'AND', 'OR' and 'NOT' and nested using parenthesis e.g.
|
|
104
|
+
* `gender = {1} AND (age >= {2} OR (NOT profession LIKE {3}))`.
|
|
105
|
+
*
|
|
106
|
+
* The query language provides a placeholder syntax to pass objects as additional search parameters. Each passed
|
|
107
|
+
* object is related to a placeholder in the query string. The placeholder must be an Integer that is surrounded by
|
|
108
|
+
* braces. The first Integer value must be '0', the second '1' and so on, e.g.
|
|
109
|
+
* `querySystemObjects("sample", "age = {0} or creationDate >= {1}", 18, date)`
|
|
110
|
+
*
|
|
111
|
+
* If there is more than one object matching the specified query criteria, the result is not deterministic. In order
|
|
112
|
+
* to retrieve a single object from a sorted result set it is recommended to use the following code:
|
|
113
|
+
* `queryCustomObjects("", "custom.myAttr asc", null).first()`. The method `first()` returns
|
|
114
|
+
* only the next element and closes the iterator.
|
|
115
|
+
*
|
|
116
|
+
* This method does not consider locale specific attributes. It returns all objects by checking the default
|
|
117
|
+
* non-localizable attributes. Any locale specific filtering after fetching the objects must be done by other custom
|
|
118
|
+
* code.
|
|
119
|
+
*
|
|
120
|
+
* Example:
|
|
121
|
+
*
|
|
122
|
+
* - Get the custom objects using this method with non-localized attributes query.
|
|
123
|
+
* - Access the `obj.getCustom("myattr")`. It returns the localized value of the attribute.
|
|
124
|
+
* @throws IllegalArgumentException if the given type is invalid
|
|
125
|
+
*/
|
|
126
|
+
static queryCustomObject(type: string, queryString: string, ...args: any[]): CustomObject;
|
|
127
|
+
/**
|
|
128
|
+
* Searches for custom object instances.
|
|
129
|
+
*
|
|
130
|
+
* The search can be configured using a simple query language, which provides most common filter and operator
|
|
131
|
+
* functionality.
|
|
132
|
+
*
|
|
133
|
+
* The identifier for an attribute to use in a query condition is always the ID of the attribute as defined
|
|
134
|
+
* in the type definition. For custom defined attributes the prefix custom is required in the search term (e.g.
|
|
135
|
+
* `custom.color = {1}`), while for system attributes no prefix is used (e.g. `name = {4}`).
|
|
136
|
+
*
|
|
137
|
+
* Supported attribute value types with sample expression values:
|
|
138
|
+
*
|
|
139
|
+
* - String `'String', 'Str*', 'Strin?'`
|
|
140
|
+
* - Integer `1, 3E4`
|
|
141
|
+
* - Number `1.0, 3.99E5`
|
|
142
|
+
* - Date `yyyy-MM-dd e.g. 2007-05-31 (Default TimeZone = UTC)`
|
|
143
|
+
* - DateTime
|
|
144
|
+
* `yyyy-MM-dd'T'hh:mm:ss+Z e.g. 2007-05-31T00:00+Z (Z TimeZone = UTC) or 2007-05-31T00:00:00`
|
|
145
|
+
* - Boolean `true, false`
|
|
146
|
+
* - Email `'search@demandware.com', '*@demandware.com'`
|
|
147
|
+
* - Set of String `'String', 'Str*', 'Strin?'`
|
|
148
|
+
* - Set of Integer `1, 3E4`
|
|
149
|
+
* - Set of Number `1.0, 3.99E5`
|
|
150
|
+
* - Enum of String `'String', 'Str*', 'Strin?'`
|
|
151
|
+
* - Enum of Integer `1, 3E4`
|
|
152
|
+
*
|
|
153
|
+
* The following types of attributes are not queryable:
|
|
154
|
+
*
|
|
155
|
+
* - Image
|
|
156
|
+
* - HTML
|
|
157
|
+
* - Text
|
|
158
|
+
* - Quantity
|
|
159
|
+
* - Password
|
|
160
|
+
*
|
|
161
|
+
* Note, that some system attributes are not queryable by default regardless of the actual value type code.
|
|
162
|
+
*
|
|
163
|
+
* The following operators are supported in a condition:
|
|
164
|
+
*
|
|
165
|
+
* - `=` Equals - All types; supports NULL value (`thumbnail = NULL`)
|
|
166
|
+
* - `!=` Not equals - All types; supports NULL value (`thumbnail != NULL`)
|
|
167
|
+
* - `<` Less than - Integer, Number and Date types only
|
|
168
|
+
* - `>` Greater than - Integer, Number and Date types only
|
|
169
|
+
* - `<=` Less or equals than - Integer, Number and Date types only
|
|
170
|
+
* - `>=` Greater or equals than - Integer, Number and Date types only
|
|
171
|
+
* - `LIKE` Like - String types and Email only; use if leading or trailing wildcards will be used to
|
|
172
|
+
* support substring search(`custom.country LIKE 'US*'`)
|
|
173
|
+
* - `ILIKE` Caseindependent Like - String types and Email only, use to support case insensitive query
|
|
174
|
+
* (`custom.country ILIKE 'usa'`), does also support wildcards for substring matching
|
|
175
|
+
*
|
|
176
|
+
* Conditions can be combined using logical expressions 'AND', 'OR' and 'NOT' and nested using parenthesis e.g.
|
|
177
|
+
* `gender = {1} AND (age >= {2} OR (NOT profession LIKE {3}))`.
|
|
178
|
+
*
|
|
179
|
+
* The query language provides a placeholder syntax to pass objects as additional search parameters. Each passed
|
|
180
|
+
* object is related to a placeholder in the query string. The placeholder must be an Integer that is surrounded by
|
|
181
|
+
* braces. The first Integer value must be '0', the second '1' and so on, e.g.
|
|
182
|
+
* `querySystemObjects("sample", "age = {0} or creationDate >= {1}", 18, date)`
|
|
183
|
+
*
|
|
184
|
+
* The sorting parameter is optional and may contain a comma separated list of attribute names to sort by.
|
|
185
|
+
* Each sort attribute name may be followed by an optional sort direction specifier ('asc' | 'desc'). Default
|
|
186
|
+
* sorting directions is ascending, if no direction was specified.
|
|
187
|
+
*
|
|
188
|
+
* Example: `age desc, name`
|
|
189
|
+
*
|
|
190
|
+
* Please note that specifying a localized custom attribute as the sorting attribute is currently not supported.
|
|
191
|
+
*
|
|
192
|
+
* Sometimes it is desired to get all instances of specified type with a special sorting condition. This can be
|
|
193
|
+
* easily done by providing the 'type' of the custom object and the 'sortString' in combination with an empty
|
|
194
|
+
* 'queryString', e.g. `queryCustomObjects("sample", "", "custom.myAttr asc")`
|
|
195
|
+
*
|
|
196
|
+
* It is strongly recommended to call `close()` on the returned SeekableIterator if not all of its
|
|
197
|
+
* elements are being retrieved. This will ensure the proper cleanup of system resources.
|
|
198
|
+
*
|
|
199
|
+
* This method does not consider locale specific attributes. It returns all objects by checking the default
|
|
200
|
+
* non-localizable attributes. Any locale specific filtering after fetching the objects must be done by other custom
|
|
201
|
+
* code.
|
|
202
|
+
*
|
|
203
|
+
* Example:
|
|
204
|
+
*
|
|
205
|
+
* - Get the custom objects using this method with non-localized attributes query.
|
|
206
|
+
* - Access the `obj.getCustom("myattr")`. It returns the localized value of the attribute.
|
|
207
|
+
* @throws IllegalArgumentException if the given type is invalid
|
|
208
|
+
* @see dw.util.SeekableIterator.close
|
|
209
|
+
*/
|
|
210
|
+
static queryCustomObjects(type: string, queryString: string, sortString: string | null, ...args: any[]): SeekableIterator<CustomObject>;
|
|
211
|
+
/**
|
|
212
|
+
*
|
|
213
|
+
*
|
|
214
|
+
* Searches for custom object instances.
|
|
215
|
+
*
|
|
216
|
+
* The search can be configured with a map, which key-value pairs are converted into a query expression. The
|
|
217
|
+
* key-value pairs are turned into a sequence of '=' or 'like' conditions, which are combined with AND statements.
|
|
218
|
+
*
|
|
219
|
+
* Example:
|
|
220
|
+
*
|
|
221
|
+
* A map with the key/value pairs: 'name'/'tom*', 'age'/66 will be converted as follows:
|
|
222
|
+
* `"name like 'tom*' and age = 66"`
|
|
223
|
+
*
|
|
224
|
+
* The identifier for an attribute to use in a query condition is always the ID of the attribute as defined
|
|
225
|
+
* in the type definition. For custom defined attributes the prefix custom is required in the search term (e.g.
|
|
226
|
+
* `custom.color = {1}`), while for system attributes no prefix is used (e.g. `name = {4}`).
|
|
227
|
+
*
|
|
228
|
+
* Supported attribute value types with sample expression values:
|
|
229
|
+
*
|
|
230
|
+
* - String `'String', 'Str*', 'Strin?'`
|
|
231
|
+
* - Integer `1, 3E4`
|
|
232
|
+
* - Number `1.0, 3.99E5`
|
|
233
|
+
* - Date `yyyy-MM-dd e.g. 2007-05-31 (Default TimeZone = UTC)`
|
|
234
|
+
* - DateTime
|
|
235
|
+
* `yyyy-MM-dd'T'hh:mm:ss+Z e.g. 2007-05-31T00:00+Z (Z TimeZone = UTC) or 2007-05-31T00:00:00`
|
|
236
|
+
* - Boolean `true, false`
|
|
237
|
+
* - Email `'search@demandware.com', '*@demandware.com'`
|
|
238
|
+
* - Set of String `'String', 'Str*', 'Strin?'`
|
|
239
|
+
* - Set of Integer `1, 3E4`
|
|
240
|
+
* - Set of Number `1.0, 3.99E5`
|
|
241
|
+
* - Enum of String `'String', 'Str*', 'Strin?'`
|
|
242
|
+
* - Enum of Integer `1, 3E4`
|
|
243
|
+
*
|
|
244
|
+
* The following types of attributes are not queryable:
|
|
245
|
+
*
|
|
246
|
+
* - Image
|
|
247
|
+
* - HTML
|
|
248
|
+
* - Text
|
|
249
|
+
* - Quantity
|
|
250
|
+
* - Password
|
|
251
|
+
*
|
|
252
|
+
* Note, that some system attributes are not queryable by default regardless of the actual value type code.
|
|
253
|
+
*
|
|
254
|
+
* The sorting parameter is optional and may contain a comma separated list of attribute names to sort by.
|
|
255
|
+
* Each sort attribute name may be followed by an optional sort direction specifier ('asc' | 'desc'). Default
|
|
256
|
+
* sorting directions is ascending, if no direction was specified.
|
|
257
|
+
*
|
|
258
|
+
* Example: `age desc, name`
|
|
259
|
+
*
|
|
260
|
+
* Please note that specifying a localized custom attribute as the sorting attribute is currently not supported.
|
|
261
|
+
*
|
|
262
|
+
* It is strongly recommended to call `close()` on the returned SeekableIterator if not all of its
|
|
263
|
+
* elements are being retrieved. This will ensure the proper cleanup of system resources.
|
|
264
|
+
*
|
|
265
|
+
* This method does not consider locale specific attributes. It returns all objects by checking the default
|
|
266
|
+
* non-localizable attributes. Any locale specific filtering after fetching the objects must be done by other custom
|
|
267
|
+
* code.
|
|
268
|
+
*
|
|
269
|
+
* Example:
|
|
270
|
+
*
|
|
271
|
+
* - Get the custom objects using this method with non-localized attributes query.
|
|
272
|
+
* - Access the `obj.getCustom("myattr")`. It returns the localized value of the attribute.
|
|
273
|
+
* @throws IllegalArgumentException if the given type is invalid
|
|
274
|
+
* @see dw.util.SeekableIterator.close
|
|
275
|
+
*/
|
|
276
|
+
static queryCustomObjects(type: string, queryAttributes: utilMap<any, any>, sortString: string | null): SeekableIterator<CustomObject>;
|
|
277
|
+
/**
|
|
278
|
+
* Removes a given custom object.
|
|
279
|
+
*/
|
|
280
|
+
static remove(object: CustomObject): void;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
export = CustomObjectMgr;
|
package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/Extensible.d.ts
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import CustomAttributes = require('./CustomAttributes');
|
|
2
|
+
import ObjectTypeDefinition = require('./ObjectTypeDefinition');
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Base class alternative to ExtensibleObject for objects customizable through the metadata system.
|
|
6
|
+
* Similar to ExtensibleObject: the describe method provides access to the related object-type metadata.
|
|
7
|
+
* The getCustom method is the central point to retrieve and store the objects attribute
|
|
8
|
+
* values themselves.
|
|
9
|
+
*/
|
|
10
|
+
declare abstract class Extensible {
|
|
11
|
+
/**
|
|
12
|
+
* Returns the custom attributes for this object.
|
|
13
|
+
*/
|
|
14
|
+
readonly custom: CustomAttributes;
|
|
15
|
+
/**
|
|
16
|
+
* Returns the meta data of this object. If no meta data is available the
|
|
17
|
+
* method returns null. The returned ObjectTypeDefinition can be used to
|
|
18
|
+
* retrieve the metadata for any of the custom attributes.
|
|
19
|
+
*/
|
|
20
|
+
describe(): ObjectTypeDefinition;
|
|
21
|
+
/**
|
|
22
|
+
* Returns the custom attributes for this object.
|
|
23
|
+
*/
|
|
24
|
+
getCustom(): CustomAttributes;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export = Extensible;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import PersistentObject = require('./PersistentObject');
|
|
2
|
+
import CustomAttributes = require('./CustomAttributes');
|
|
3
|
+
import ObjectTypeDefinition = require('./ObjectTypeDefinition');
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Base class for all persistent business objects in Commerce Cloud Digital that
|
|
7
|
+
* are customizable through the metadata system. All objects in Digital
|
|
8
|
+
* that have custom attributes derive from ExtensibleObject including
|
|
9
|
+
* both system-defined and custom objects. The describe() method provides access
|
|
10
|
+
* to the related object-type metadata. The method getCustom() is the central
|
|
11
|
+
* point to retrieve and store the objects attribute values themselves.
|
|
12
|
+
*/
|
|
13
|
+
declare class ExtensibleObject<T extends CustomAttributes> extends PersistentObject {
|
|
14
|
+
/**
|
|
15
|
+
* Returns the custom attributes for this object. The returned object is
|
|
16
|
+
* used for retrieving and storing attribute values. See
|
|
17
|
+
* dw.object.CustomAttributes for a detailed example of the syntax for
|
|
18
|
+
* working with custom attributes.
|
|
19
|
+
*/
|
|
20
|
+
readonly custom: T;
|
|
21
|
+
/**
|
|
22
|
+
* Returns the meta data of this object. If no meta data is available the
|
|
23
|
+
* method returns null. The returned ObjectTypeDefinition can be used to
|
|
24
|
+
* retrieve the metadata for any of the custom attributes.
|
|
25
|
+
*/
|
|
26
|
+
describe(): ObjectTypeDefinition;
|
|
27
|
+
/**
|
|
28
|
+
* Returns the custom attributes for this object. The returned object is
|
|
29
|
+
* used for retrieving and storing attribute values. See
|
|
30
|
+
* dw.object.CustomAttributes for a detailed example of the syntax for
|
|
31
|
+
* working with custom attributes.
|
|
32
|
+
*/
|
|
33
|
+
getCustom(): T;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export = ExtensibleObject;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Represents a note that can be attached to any persistent object
|
|
3
|
+
* that supports this feature.
|
|
4
|
+
*/
|
|
5
|
+
declare class Note {
|
|
6
|
+
/**
|
|
7
|
+
* Return the login ID of user that is stored in the session at the time
|
|
8
|
+
* the note is created.
|
|
9
|
+
*/
|
|
10
|
+
readonly createdBy: string;
|
|
11
|
+
/**
|
|
12
|
+
* Return the date and time that the note was created. This is usually
|
|
13
|
+
* set by the system, but may be specified if the note is generated
|
|
14
|
+
* via an import.
|
|
15
|
+
*/
|
|
16
|
+
readonly creationDate: Date;
|
|
17
|
+
/**
|
|
18
|
+
* Return the subject of the note.
|
|
19
|
+
*/
|
|
20
|
+
readonly subject: string;
|
|
21
|
+
/**
|
|
22
|
+
* Return the text of the note.
|
|
23
|
+
*/
|
|
24
|
+
readonly text: string;
|
|
25
|
+
private constructor();
|
|
26
|
+
/**
|
|
27
|
+
* Return the login ID of user that is stored in the session at the time
|
|
28
|
+
* the note is created.
|
|
29
|
+
*/
|
|
30
|
+
getCreatedBy(): string;
|
|
31
|
+
/**
|
|
32
|
+
* Return the date and time that the note was created. This is usually
|
|
33
|
+
* set by the system, but may be specified if the note is generated
|
|
34
|
+
* via an import.
|
|
35
|
+
*/
|
|
36
|
+
getCreationDate(): Date;
|
|
37
|
+
/**
|
|
38
|
+
* Return the subject of the note.
|
|
39
|
+
*/
|
|
40
|
+
getSubject(): string;
|
|
41
|
+
/**
|
|
42
|
+
* Return the text of the note.
|
|
43
|
+
*/
|
|
44
|
+
getText(): string;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export = Note;
|
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
import Collection = require('../util/Collection');
|
|
2
|
+
import ObjectAttributeGroup = require('./ObjectAttributeGroup');
|
|
3
|
+
import ObjectTypeDefinition = require('./ObjectTypeDefinition');
|
|
4
|
+
import ObjectAttributeValueDefinition = require('./ObjectAttributeValueDefinition');
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Represents the definition of an object's attribute.
|
|
8
|
+
*/
|
|
9
|
+
declare class ObjectAttributeDefinition {
|
|
10
|
+
/**
|
|
11
|
+
* Boolean value type.
|
|
12
|
+
*/
|
|
13
|
+
static readonly VALUE_TYPE_BOOLEAN = 8;
|
|
14
|
+
/**
|
|
15
|
+
* Date value type.
|
|
16
|
+
*/
|
|
17
|
+
static readonly VALUE_TYPE_DATE = 6;
|
|
18
|
+
/**
|
|
19
|
+
* Date and Time value type.
|
|
20
|
+
*/
|
|
21
|
+
static readonly VALUE_TYPE_DATETIME = 11;
|
|
22
|
+
/**
|
|
23
|
+
* Email value type.
|
|
24
|
+
*/
|
|
25
|
+
static readonly VALUE_TYPE_EMAIL = 12;
|
|
26
|
+
/**
|
|
27
|
+
* Enum of int value type.
|
|
28
|
+
*/
|
|
29
|
+
static readonly VALUE_TYPE_ENUM_OF_INT = 31;
|
|
30
|
+
/**
|
|
31
|
+
* Enum of String value type.
|
|
32
|
+
*/
|
|
33
|
+
static readonly VALUE_TYPE_ENUM_OF_STRING = 33;
|
|
34
|
+
/**
|
|
35
|
+
* HTML value type.
|
|
36
|
+
*/
|
|
37
|
+
static readonly VALUE_TYPE_HTML = 5;
|
|
38
|
+
/**
|
|
39
|
+
* Image value type.
|
|
40
|
+
*/
|
|
41
|
+
static readonly VALUE_TYPE_IMAGE = 7;
|
|
42
|
+
/**
|
|
43
|
+
* int value type.
|
|
44
|
+
*/
|
|
45
|
+
static readonly VALUE_TYPE_INT = 1;
|
|
46
|
+
/**
|
|
47
|
+
* Money value type.
|
|
48
|
+
*/
|
|
49
|
+
static readonly VALUE_TYPE_MONEY = 9;
|
|
50
|
+
/**
|
|
51
|
+
* Number value type.
|
|
52
|
+
*/
|
|
53
|
+
static readonly VALUE_TYPE_NUMBER = 2;
|
|
54
|
+
/**
|
|
55
|
+
* Password value type.
|
|
56
|
+
*/
|
|
57
|
+
static readonly VALUE_TYPE_PASSWORD = 13;
|
|
58
|
+
/**
|
|
59
|
+
* Quantity value type.
|
|
60
|
+
*/
|
|
61
|
+
static readonly VALUE_TYPE_QUANTITY = 10;
|
|
62
|
+
/**
|
|
63
|
+
* Set of int value type.
|
|
64
|
+
*/
|
|
65
|
+
static readonly VALUE_TYPE_SET_OF_INT = 21;
|
|
66
|
+
/**
|
|
67
|
+
* Set of Number value type.
|
|
68
|
+
*/
|
|
69
|
+
static readonly VALUE_TYPE_SET_OF_NUMBER = 22;
|
|
70
|
+
/**
|
|
71
|
+
* Set of String value type.
|
|
72
|
+
*/
|
|
73
|
+
static readonly VALUE_TYPE_SET_OF_STRING = 23;
|
|
74
|
+
/**
|
|
75
|
+
* String value type.
|
|
76
|
+
*/
|
|
77
|
+
static readonly VALUE_TYPE_STRING = 3;
|
|
78
|
+
/**
|
|
79
|
+
* Text value type.
|
|
80
|
+
*/
|
|
81
|
+
static readonly VALUE_TYPE_TEXT = 4;
|
|
82
|
+
/**
|
|
83
|
+
* Returns the ID of the attribute definition.
|
|
84
|
+
*/
|
|
85
|
+
readonly ID: string;
|
|
86
|
+
/**
|
|
87
|
+
* Returns all attribute groups the attribute is assigned to.
|
|
88
|
+
*/
|
|
89
|
+
readonly attributeGroups: Collection<ObjectAttributeGroup>;
|
|
90
|
+
/**
|
|
91
|
+
* Return the default value for the attribute or null if none is defined.
|
|
92
|
+
*/
|
|
93
|
+
readonly defaultValue: ObjectAttributeValueDefinition | null;
|
|
94
|
+
/**
|
|
95
|
+
* Returns the display name for the attribute, which can be used in the
|
|
96
|
+
* user interface.
|
|
97
|
+
*/
|
|
98
|
+
readonly displayName: string;
|
|
99
|
+
/**
|
|
100
|
+
* Identifies if the attribute represents the primary key of the object.
|
|
101
|
+
*/
|
|
102
|
+
readonly key: boolean;
|
|
103
|
+
/**
|
|
104
|
+
* Checks if this attribute is mandatory.
|
|
105
|
+
*/
|
|
106
|
+
readonly mandatory: boolean;
|
|
107
|
+
/**
|
|
108
|
+
*
|
|
109
|
+
* Returns `true` if the attribute can have multiple values.
|
|
110
|
+
*
|
|
111
|
+
* Attributes of the following types are multi-value capable:
|
|
112
|
+
*
|
|
113
|
+
* - VALUE_TYPE_SET_OF_INT
|
|
114
|
+
* - VALUE_TYPE_SET_OF_NUMBER
|
|
115
|
+
* - VALUE_TYPE_SET_OF_STRING
|
|
116
|
+
*
|
|
117
|
+
* Additionally, attributes of the following types can be multi-value
|
|
118
|
+
* enabled:
|
|
119
|
+
*
|
|
120
|
+
* - VALUE_TYPE_ENUM_OF_INT
|
|
121
|
+
* - VALUE_TYPE_ENUM_OF_STRING
|
|
122
|
+
*/
|
|
123
|
+
readonly multiValueType: boolean;
|
|
124
|
+
/**
|
|
125
|
+
* Returns the object type definition in which this attribute is defined.
|
|
126
|
+
*/
|
|
127
|
+
readonly objectTypeDefinition: ObjectTypeDefinition;
|
|
128
|
+
/**
|
|
129
|
+
* Returns `true` if the attribute is of type 'Set of'.
|
|
130
|
+
* @deprecated Use isMultiValueType instead.
|
|
131
|
+
*/
|
|
132
|
+
readonly setValueType: boolean;
|
|
133
|
+
/**
|
|
134
|
+
* Indicates if the attribute is a pre-defined system attribute
|
|
135
|
+
* or a custom attribute.
|
|
136
|
+
*/
|
|
137
|
+
readonly system: boolean;
|
|
138
|
+
/**
|
|
139
|
+
* Returns the attribute's unit representation such as
|
|
140
|
+
* inches for length or pounds for weight. The value returned by
|
|
141
|
+
* this method is based on the attribute itself.
|
|
142
|
+
*/
|
|
143
|
+
readonly unit: string;
|
|
144
|
+
/**
|
|
145
|
+
* Returns a code for the data type stored in the attribute. See constants
|
|
146
|
+
* defined in this class.
|
|
147
|
+
*/
|
|
148
|
+
readonly valueTypeCode: number;
|
|
149
|
+
/**
|
|
150
|
+
* Returns the list of attribute values. In the user interface only the
|
|
151
|
+
* values specified in this list should be offered as valid input values.
|
|
152
|
+
*
|
|
153
|
+
* The collection contains instances of ObjectAttributeValueDefinition.
|
|
154
|
+
*/
|
|
155
|
+
readonly values: Collection<ObjectAttributeValueDefinition> | null;
|
|
156
|
+
private constructor();
|
|
157
|
+
/**
|
|
158
|
+
* Returns all attribute groups the attribute is assigned to.
|
|
159
|
+
*/
|
|
160
|
+
getAttributeGroups(): Collection<ObjectAttributeGroup>;
|
|
161
|
+
/**
|
|
162
|
+
* Return the default value for the attribute or null if none is defined.
|
|
163
|
+
*/
|
|
164
|
+
getDefaultValue(): ObjectAttributeValueDefinition | null;
|
|
165
|
+
/**
|
|
166
|
+
* Returns the display name for the attribute, which can be used in the
|
|
167
|
+
* user interface.
|
|
168
|
+
*/
|
|
169
|
+
getDisplayName(): string;
|
|
170
|
+
/**
|
|
171
|
+
* Returns the ID of the attribute definition.
|
|
172
|
+
*/
|
|
173
|
+
getID(): string;
|
|
174
|
+
/**
|
|
175
|
+
* Returns the object type definition in which this attribute is defined.
|
|
176
|
+
*/
|
|
177
|
+
getObjectTypeDefinition(): ObjectTypeDefinition;
|
|
178
|
+
/**
|
|
179
|
+
* Returns the attribute's unit representation such as
|
|
180
|
+
* inches for length or pounds for weight. The value returned by
|
|
181
|
+
* this method is based on the attribute itself.
|
|
182
|
+
*/
|
|
183
|
+
getUnit(): string;
|
|
184
|
+
/**
|
|
185
|
+
* Returns a code for the data type stored in the attribute. See constants
|
|
186
|
+
* defined in this class.
|
|
187
|
+
*/
|
|
188
|
+
getValueTypeCode(): number;
|
|
189
|
+
/**
|
|
190
|
+
* Returns the list of attribute values. In the user interface only the
|
|
191
|
+
* values specified in this list should be offered as valid input values.
|
|
192
|
+
*
|
|
193
|
+
* The collection contains instances of ObjectAttributeValueDefinition.
|
|
194
|
+
*/
|
|
195
|
+
getValues(): Collection<ObjectAttributeValueDefinition> | null;
|
|
196
|
+
/**
|
|
197
|
+
* Identifies if the attribute represents the primary key of the object.
|
|
198
|
+
*/
|
|
199
|
+
isKey(): boolean;
|
|
200
|
+
/**
|
|
201
|
+
* Checks if this attribute is mandatory.
|
|
202
|
+
*/
|
|
203
|
+
isMandatory(): boolean;
|
|
204
|
+
/**
|
|
205
|
+
*
|
|
206
|
+
* Returns `true` if the attribute can have multiple values.
|
|
207
|
+
*
|
|
208
|
+
* Attributes of the following types are multi-value capable:
|
|
209
|
+
*
|
|
210
|
+
* - VALUE_TYPE_SET_OF_INT
|
|
211
|
+
* - VALUE_TYPE_SET_OF_NUMBER
|
|
212
|
+
* - VALUE_TYPE_SET_OF_STRING
|
|
213
|
+
*
|
|
214
|
+
* Additionally, attributes of the following types can be multi-value
|
|
215
|
+
* enabled:
|
|
216
|
+
*
|
|
217
|
+
* - VALUE_TYPE_ENUM_OF_INT
|
|
218
|
+
* - VALUE_TYPE_ENUM_OF_STRING
|
|
219
|
+
*/
|
|
220
|
+
isMultiValueType(): boolean;
|
|
221
|
+
/**
|
|
222
|
+
* Returns `true` if the attribute is of type 'Set of'.
|
|
223
|
+
* @deprecated Use isMultiValueType instead.
|
|
224
|
+
*/
|
|
225
|
+
isSetValueType(): boolean;
|
|
226
|
+
/**
|
|
227
|
+
* Indicates if the attribute is a pre-defined system attribute
|
|
228
|
+
* or a custom attribute.
|
|
229
|
+
*/
|
|
230
|
+
isSystem(): boolean;
|
|
231
|
+
/**
|
|
232
|
+
* Returns a boolean flag indicating whether or not values of this attribute
|
|
233
|
+
* definition should be encoded using the encoding="off" flag in ISML
|
|
234
|
+
* templates.
|
|
235
|
+
*/
|
|
236
|
+
requiresEncoding(): boolean;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
export = ObjectAttributeDefinition;
|