New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@acoustic-content-sdk/api

Package Overview
Dependencies
Maintainers
6
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@acoustic-content-sdk/api

Interfaces and constants to support the Acoustic sites SDK and related modules.

  • 9.0.10034
  • npm
  • Socket score

Version published
Weekly downloads
39
increased by2.63%
Maintainers
6
Weekly downloads
 
Created
Source

npm

Interfaces and constants to support the Acoustic sites SDK and related modules.

API Documentation

Home > @acoustic-content-sdk/api

api package

Interfaces and constants to support the Acoustic sites SDK and related modules.

Enumerations

EnumerationDescription
CYCLE_HANDLINGCycle handling strategy
DraftStatusPossible values for draft status
SdkMode
Status
TENANT_TIER

Functions

FunctionDescription
createVersion(aVersionString, aBuildDate)Constructs a version object from a version string and a build date
createVersionString(aVersion)Converts the version object into a version string

Interfaces

InterfaceDescription
AbstractElement
ActivePage
ActivePageV2
Asset
AssetPublishApproval
AuthoringAsset
AuthoringAssetMetadata
AuthoringAssetProfileRendition
AuthoringCategoryElement
AuthoringCommerceProductCategoryElement
AuthoringCommerceProductElement
AuthoringContentItem
AuthoringContentItemThumbnail
AuthoringContentThumbnail
AuthoringDatetimeElement
AuthoringElement
AuthoringFileElement
AuthoringFormattedTextElement
AuthoringGroup
AuthoringGroupElement
AuthoringImage
AuthoringImageElement
AuthoringLayout
AuthoringLayoutItem
AuthoringLayoutMapping
AuthoringLayoutMappingLayout
AuthoringLayoutMappingMapping
AuthoringLayoutMappingType
AuthoringLinkElement
AuthoringLocationElement
AuthoringNumberElement
AuthoringOption
AuthoringOptionSelectionElement
AuthoringPlaceholder
AuthoringReference
AuthoringReferenceElement
AuthoringReferenceValue
AuthoringSelectedLayout
AuthoringText
AuthoringTextElement
AuthoringThumbnail
AuthoringToggleElement
AuthoringType
AuthoringUiExtensions
AuthoringVariableTypeElement
AuthoringVideo
AuthoringVideoElement
AuthStatusExposes the authentication status
BaseAuthoringItemBase interface for all items
BaseDeliveryItemBase interface for all items
CategoryCategory is a reference element. The contents that are stored in the category element are references to categories created in content hub. When ?include=metadata is used, the categories property is included which has the full name path for each selected category.Note: When you set categories on the category element, you need to add the UUID of the category to the categoryIds property. The categories property, which returns the name path of the category is a read-only property and is not used when the content is updated. If you set it during an update, it is ignored.
CategoryElementCategory is a reference element. The contents that are stored in the category element are references to categories created in content hub. When ?include=metadata is used, the categories property is included which has the full name path for each selected category.Note: When you set categories on the category element, you need to add the UUID of the category to the categoryIds property. The categories property, which returns the name path of the category is a read-only property and is not used when the content is updated. If you set it during an update, it is ignored.
ContentItemRepresentation of a generic content item.
ContentItemWithLayout
ContentPublishApproval
DateElementCommon base class for all date elements
DeliveryAccess
DeliveryAsset
DeliveryCategoryElement
DeliveryContentItem
DeliveryContentMetadataCommon fields in all metadata records
DeliveryFileElement
DeliveryGroupElement
DeliveryGroupElementMetadata
DeliveryImageAsset
DeliveryImageCrop
DeliveryImageElement
DeliveryImageRendition
DeliveryImageTransform
DeliveryLayoutRef
DeliveryLinkElement
DeliveryLocationElement
DeliveryReferenceElement
DeliveryReferenceElementMetadata
DeliverySelectedLayout
DeliveryThumbnail
DeliveryVideoElement
DynamicLoggerFactoryInstantiator for loggers. Clients of the SDK can use this interface to inject their custom logger implementation.
ElementMap
ElementWithMarkup
ErrorDetail
ErrorResponseJSON structure of an error response
ExtendedContext
ExtendedContextV2
File
FileElementCommon base class for all file elements
FormattedTextElementCommon base class for all text elements
GroupInterface that represents a grouping of elements
GroupElementCommon base class for all group elements
HttpResourceOptions
HubContext
HubInfoExposes information required to access the content hub REST API. This information can be obtained via the 'Watson Content Hub information' section.
HubInfoConfigBase class for services providing hub information. We need a base class to be able to specify this service as injectable
IbmCommerce
Image
ImageElementCommon base class for all image elements
LayoutRepresentation of a layout descriptor in the delivery artifacts
Link
LinkElementCommon base class for all link elements
Location
LocationElement
LoggerAbstraction of the logger interface, trying to be as generic as possible. The identity of the logger is passed at creation time via the factory. Note that this interface is compatible to the console instance.
LoggerFactoryInstantiator for loggers. Clients of the SDK can use this interface to inject their custom logger implementation.
LoggerServiceService to return a logger for a given name. Calling the getter multiple times with the same name will return the same instance of the logger.
MultiDateElementDate element uses a string property, the value must be an ISO 8601 date time.
MultiFileElement
MultiFormattedTextElementThe text element holds text value in a JSON string.
MultiGroupElementThe text element holds text value in a JSON string.
MultiImageElement
MultiLinkElementLink element has three text fields linkURL, linkText, and linkDescription.
MultiNumberElementThe Number element stores the value in the JSON as a number type.
MultiOptionSelectionElementThe text element holds text value in a JSON string.
MultiProductElementThe text element holds text value in a JSON string.
MultiReferenceElement
MultiTextElementThe text element holds text value in a JSON string.
MultiToggleElementToggle just uses JSON Boolean.
MultiVideoElement
NumberElementCommon base class for all number elements
OptionSelectionRepresentation of a selection
OptionSelectionElementCommon base class for all options election elements
PageSearchResult
ProductElement
Query
ReferenceElementCommon base class for all reference elements
RenderingContext
RenderingContextGroupElement
RenderingContextInterceptorInterceptor that can expose transforms for the rendering contexts.
RenderingContextProvider
RenderingContextProviderV2
RenderingContextQueryResult
RenderingContextReferenceElement
RenderingContextSearchResult
RenderingContextV2
Rendition
Resource
SdkActiveRouteEvent
SdkErrorResponseResponse sent when processing a message fails
SdkMessageHandler
SdkMessagePayloadBase interfaces for events that can be sent to the SDK
SdkModeEvent
SdkNavigateByPathEvent
SdkNavigateByPathResponseResponse to the navigation event
SdkRefreshEvent
SdkRouteEvent
SdkSetModeEvent
SdkSetModeResponseResponse to the set mode event
SdkSubscribeActiveRouteEvent
SdkSubscribeActiveRouteEventResponse
SdkSubscribeEventResponseResponse to a subscription
SdkSubscribeModeEvent
SdkSubscribeModeEventResponse
SdkSubscribeRouteEvent
SdkSubscribeRouteEventResponse
SdkUnsubscribeEvent
SearchResult
SearchResults
SingleDateElementDate element uses a string property, the value must be an ISO 8601 date time.
SingleFileElementFile element is the most basic asset reference element. It is a reference element that is used to point to an asset in content hub. Except for asset ID, all the other properties are read-only and are added from the asset at the time it is selected on a content.With asset references most of the properties are read-only and come from the asset. So when you set a file on file element you need to set the asset.id property. The other information is fetched automatically by the content service and stored in read-only fields.
SingleFormattedTextElementThe text element holds text value in a JSON string.
SingleGroupElementThe text element holds group value in a JSON string.
SingleImageElementImage is one of the more complex elements and the following section describes a normal image without an image profile configured. For information on updating and formatting the image element, go to Updating image element format.Note: You are always selecting a rendition of an asset and not the asset directly. As a result interactions with image elements involve setting and updating a rendition reference. Most other fields that are displayed in image element are read only!
SingleLinkElementLink element has three text fields linkURL, linkText, and linkDescription.
SingleNumberElementThe Number element stores the value in the JSON as a number type.
SingleOptionSelectionElementThe text element holds text value in a JSON string.
SingleProductElementThe text element holds text value in a JSON string.
SingleReferenceElement
SingleTextElementThe text element holds text value in a JSON string.
SingleToggleElementToggle just uses JSON Boolean.
SingleVideoElementStandard video element is similar to the file element. The video asset is represented in the asset section. Optionally a video asset can have a caption and a thumbnail as well, and in this case both of these point two resources in content hub. As mentioned with file, most of the properties here are inlined data from the asset/resource and is read-only. To update a video asset or its caption/thumbnail update the relevant asset/resource ID. The related information is retrieved again and added. Attempts to change the read-only fields are ignored.
Site
SiteChild
SiteContext
SiteDeliveryContentItem
SiteNavigationDeliveryContentItemDelivery record for the site content item843fb991-7413-4517-bfcb-b59fc4b1f449
SiteNavigationPageReference to a page in the site navigation
SitePage
SitePagesQueryResult
SiteRoot
Tenant
TextElementCommon base class for all text elements
ToggleElementCommon base class for all toggle elements
TypeRefReference to a content type
UrlConfigExposes the URL configuration to the client.See HubInfoConfig
UserRepresentation of a user
Video
VideoElementCommon base class for all video elements
WchHttp
WchSdk
WchSdkRouter
WchSdkSearch
WchSdkVersionDefines the version number and the build date of the SDK.

Variables

VariableDescription
ACOUSTIC_CONFIG_API_URLName of the 'rel' attribute of a link element used to configure the API URL
ACOUSTIC_CONFIG_BASE_URLName of the 'rel' attribute of a link element used to configure the base URL
ACOUSTIC_CONFIG_RESOURCE_URLName of the 'rel' attribute of a link element used to configure the delivery URL
ACOUSTIC_SDK_MODULE_NAME
CLASSIFICATION_ASSET
CLASSIFICATION_CONTENT_TYPE
CLASSIFICATION_CONTENT
CLASSIFICATION_LAYOUT_MAPPING
CLASSIFICATION_LAYOUT
CLASSIFICATION_PAGE
ELEMENT_TYPE_CATEGORY
ELEMENT_TYPE_DATE
ELEMENT_TYPE_FILE
ELEMENT_TYPE_FORMATTED_TEXT
ELEMENT_TYPE_GROUP
ELEMENT_TYPE_IMAGE
ELEMENT_TYPE_LINK
ELEMENT_TYPE_LOCATION
ELEMENT_TYPE_NUMBER
ELEMENT_TYPE_OPTION_SELECTION
ELEMENT_TYPE_PRODUCT
ELEMENT_TYPE_REFERENCE
ELEMENT_TYPE_TEXT
ELEMENT_TYPE_TOGGLE
ELEMENT_TYPE_VARIABLE
ELEMENT_TYPE_VIDEO
HEADER_BASICAUTH_TENANT_ID
KEY_ACCEPT_PRIVACY_NOTICE
KEY_ACCESSOR
KEY_ACOUSTIC_SEED
KEY_BASICAUTH_LOGIN_PASSWORD
KEY_BASICAUTH_LOGIN_USERNAME
KEY_CREATOR_ID
KEY_ELEMENT_TYPE
KEY_ID
KEY_METADATA
KEY_NAME
KEY_STATUS
KEY_TYPE_ID
KEY_TYPE_REF
KEY_VALUE
KEY_VALUES
MODULEModule name
PARAM_REDIRECT_LOGIN_TARGET_TENANT
PARAM_REDIRECT_LOGIN_TARGET_URL
REGEXP_ANONYMOUS_USER_ID
REL_PATH_BASICAUTH_LOGIN
REL_PATH_CURRENT_TENANT
REL_PATH_CURRENT_USER
REL_PATH_REDIRECT_LOGIN
REL_PATH_REMOVECOOKIES
REL_PATH_TYPE_BY_ID
SDK_ACTIVE_ROUTE_EVENT_TYPEEvent sent to denote a modification of the active route
SDK_MODE_EVENT_TYPEEvent sent to denote the active mode
SDK_NAVIGATE_BY_PATH_EVENT_TYPEEvent that triggers a navigation
SDK_REFRESH_EVENT_TYPEEvent that triggers a refresh
SDK_ROUTE_EVENT_TYPEEvent sent to denote a modification of the route
SDK_SET_MODE_EVENT_TYPEEvent that modifies the SDK mode between using public or private routes
SDK_SUBSCRIBE_ACTIVE_ROUTE_EVENT_TYPEEvent that subscribes a listener for an active route
SDK_SUBSCRIBE_MODE_EVENT_TYPEEvent that subscribes a listener for modes
SDK_SUBSCRIBE_ROUTE_EVENT_TYPEEvent that subscribes a listener for a specific route
SDK_UNSUBSCRIBE_EVENT_TYPEEvent that unsubscribes a listener
SEARCH_FL_DOCUMENTConstant to get the full document from the search result
VALUE_ACCEPT_PRIVACY_NOTICE
VERSIONVersion and build number of the package

Type Aliases

Type AliasDescription
AUTHORING_CONTENT_ITEM_KIND
AUTHORING_ELEMENT_DATETIME_SEARCH_KEY
AUTHORING_ELEMENT_FILE_TYPE
AUTHORING_ELEMENT_IMAGE_TYPE
AUTHORING_ELEMENT_LOCATION_SEARCH_KEY
AUTHORING_ELEMENT_NUMBER_SEARCH_KEY
AUTHORING_ELEMENT_ROLE
AUTHORING_ELEMENT_TEXT_SEARCH_KEY
AUTHORING_ELEMENT_TOGGLE_SEARCH_KEY
AUTHORING_ELEMENT_VIDEO_TYPE
AUTHORING_TYPE_KINDPossible values kind
CONTENT_ITEM_KIND
DeliveryDateElement
DeliveryElement
DeliveryFileAsset
DeliveryFormattedTextElement
DeliveryImageMode
DeliveryImageScale
DeliveryLayout
DeliveryLayoutMapping
DeliveryNumberElement
DeliveryOptionsElement
DeliverySelectedLayouts
DeliveryTextElement
DeliveryToggleElement
DeliveryType
ELEMENT_TYPE
ElementAn element is one of the following
GroupType
HubInfoUrlProvider
LayoutsOrdering of the layouts per layout mode
LocaleHelper type to identify a locale in the interfaces
LocalizedObject supporting localizations
LocalizedContextLocalization context that describes the relevance of a locale, this is typically derived from the accept language header
LocalizedTextText with attached locale
MultiDeliveryElements
MultiRenderingContextElements
QueryInput
QueryValueacceptable values for
RenderingContextElements
SdkMessageHandlerCallback
SimpleType
SingleDeliveryElements
SingleRenderingContextElements
SiteNavigationThe list of root pages
StaticHubInfoUrlProviderDefines the provider of a URL, either as a URL, a string or a callback that generates either

Home > @acoustic-content-sdk/api > CYCLE_HANDLING

CYCLE_HANDLING enum

Cycle handling strategy

Signature:

export declare enum CYCLE_HANDLING 

Enumeration Members

MemberValueDescription
BREAK0Stop rendering contexts at detected cycles
RESOLVE1Resolve cycles by building cyclic in-memory structures

Home > @acoustic-content-sdk/api > DraftStatus

DraftStatus enum

Possible values for draft status

Signature:

export declare enum DraftStatus 

Enumeration Members

MemberValueDescription
APPROVED"approved"
IN_PROGRESS"in-progress"
IN_REVIEW"in-review"

Home > @acoustic-content-sdk/api > SdkMode

SdkMode enum

Signature:

export declare enum SdkMode 

Enumeration Members

MemberValueDescription
PROTECTED"protected"
PUBLIC"public"

Home > @acoustic-content-sdk/api > Status

Status enum

Signature:

export declare enum Status 

Enumeration Members

MemberValueDescription
DRAFT"draft"
READY"ready"
RETIRED"retired"

Home > @acoustic-content-sdk/api > TENANT_TIER

TENANT_TIER enum

Signature:

export declare enum TENANT_TIER 

Enumeration Members

MemberValueDescription
BASE"Base"
PLUS"Plus"
STANDARD"Standard"
TRIAL"Trial"

Home > @acoustic-content-sdk/api > createVersion

createVersion() function

Warning: This API is now obsolete.

Constructs a version object from a version string and a build date

Signature:

export declare function createVersion(aVersionString: string, aBuildDate: string): WchSdkVersion;

Parameters

ParameterTypeDescription
aVersionStringstringthe version string such as in package json
aBuildDatestringthe build date in ISO format

Returns:

WchSdkVersion

the SDK version object

Home > @acoustic-content-sdk/api > createVersionString

createVersionString() function

Converts the version object into a version string

Signature:

export declare function createVersionString(aVersion: WchSdkVersion): string;

Parameters

ParameterTypeDescription
aVersionWchSdkVersionthe version object

Returns:

string

the version string

Home > @acoustic-content-sdk/api > AbstractElement

AbstractElement interface

Signature:

export interface AbstractElement 

Properties

PropertyTypeDescription
elementTypeELEMENT_TYPE

Home > @acoustic-content-sdk/api > ActivePage

ActivePage interface

Signature:

export interface ActivePage extends RenderingContextProvider 

Properties

PropertyTypeDescription
onRenderingContextObservable<RenderingContext>Retrieves the rendering context for the content item rendered for the currently selected page.

Home > @acoustic-content-sdk/api > ActivePageV2

ActivePageV2 interface

Signature:

export interface ActivePageV2 extends RenderingContextProviderV2 

Properties

PropertyTypeDescription
renderingContext$Observable<RenderingContextV2>Retrieves the rendering context for the content item rendered for the currently selected page.

Home > @acoustic-content-sdk/api > Asset

Asset interface

Signature:

export interface Asset 

Properties

PropertyTypeDescription
altTextstring
fileNamestring
fileSizenumber
heightnumber
idstring
mediaTypestring
resourceUristring
widthnumberadded by delivery

Home > @acoustic-content-sdk/api > AssetPublishApproval

AssetPublishApproval interface

Signature:

export interface AssetPublishApproval 

Properties

PropertyTypeDescription
enabledbooleanTrue if mandatory approval is enabled
exemptAssetTypesstring[]

Home > @acoustic-content-sdk/api > AuthoringAsset

AuthoringAsset interface

Signature:

export interface AuthoringAsset extends BaseAuthoringItem 

Properties

PropertyTypeDescription
altTextstring
assetTypestring
captionstring
classification'asset'The classification defines the document type. For content items, all documents are classified as "content".
digeststring
fileNamestring
fileSizenumber
isManagedboolean
mediaTypestring
metadataAuthoringAssetMetadata
pathstring
profileRenditionsAuthoringAssetProfileRendition[]
resourcestring

Home > @acoustic-content-sdk/api > AuthoringAssetMetadata

AuthoringAssetMetadata interface

Signature:

export interface AuthoringAssetMetadata 

Properties

PropertyTypeDescription
cameraany
coverageany
creatorstring
descriptionstring
headlinestring
heigthnumber
publisherstring
rightsstring
sourcestring
subjectstring[]
titlestring
widthnumber

Home > @acoustic-content-sdk/api > AuthoringAssetProfileRendition

AuthoringAssetProfileRendition interface

Signature:

export interface AuthoringAssetProfileRendition 

Properties

PropertyTypeDescription
heightnumber
keystring
profileIdstring
transformany
uristring
widthnumber

Home > @acoustic-content-sdk/api > AuthoringCategoryElement

AuthoringCategoryElement interface

Signature:

export interface AuthoringCategoryElement extends AuthoringElement 

Properties

PropertyTypeDescription
elementType'category'
restrictedParentsstring[]
searchKeyAUTHORING_ELEMENT_TEXT_SEARCH_KEY

Home > @acoustic-content-sdk/api > AuthoringCommerceProductCategoryElement

AuthoringCommerceProductCategoryElement interface

Signature:

export interface AuthoringCommerceProductCategoryElement extends AuthoringElement 

Properties

PropertyTypeDescription
elementType'productcategory'
restrictedParentstring
searchKeyAUTHORING_ELEMENT_TEXT_SEARCH_KEY

Home > @acoustic-content-sdk/api > AuthoringCommerceProductElement

AuthoringCommerceProductElement interface

Signature:

export interface AuthoringCommerceProductElement extends AuthoringElement 

Properties

PropertyTypeDescription
elementType'product'
restrictedCategoriesstring[]
searchKeyAUTHORING_ELEMENT_TEXT_SEARCH_KEY

Home > @acoustic-content-sdk/api > AuthoringContentItem

AuthoringContentItem interface

Signature:

export interface AuthoringContentItem extends BaseAuthoringItem 

Properties

PropertyTypeDescription
classification'content'
deliveryAccess'secured'
draftStatusDraftStatus
elementsRecord<string, any>
formany[]
idstring
keywordsstring[]
kindAUTHORING_CONTENT_ITEM_KIND[]
lastModifiedstring
lastModifierstring
lastModifierIdstring
linkedDocIdstring
linksRecord<string, any>
localestring
projectIdstring
projectsstring[]
publishingRecord<string, any>
reviewRecord<string, any>
reviewHistorystring[]
reviewIdstring
schemaRecord<string, any>
selectedLayoutsAuthoringSelectedLayout[]
statusStatus
systemModifiedstring
tagsstring[]
thumbnailAuthoringContentItemThumbnail
typestring
typeIdstring
validboolean

Home > @acoustic-content-sdk/api > AuthoringContentItemThumbnail

AuthoringContentItemThumbnail interface

Signature:

export interface AuthoringContentItemThumbnail extends AuthoringThumbnail 

Properties

PropertyTypeDescription
idstring

Home > @acoustic-content-sdk/api > AuthoringContentThumbnail

AuthoringContentThumbnail interface

Signature:

export interface AuthoringContentThumbnail 

Properties

PropertyTypeDescription
imageElementstring
source'imageElementOrType' | 'imageElement' | 'type' | 'none'

Home > @acoustic-content-sdk/api > AuthoringDatetimeElement

AuthoringDatetimeElement interface

Signature:

export interface AuthoringDatetimeElement extends AuthoringElement 

Properties

PropertyTypeDescription
elementType'datetime'
fieldType'date' | 'date-time'
searchKeyAUTHORING_ELEMENT_DATETIME_SEARCH_KEY

Home > @acoustic-content-sdk/api > AuthoringElement

AuthoringElement interface

Signature:

export interface AuthoringElement 

Properties

PropertyTypeDescription
allowMultipleValuesbooleanIndicates whether content items using this content-type can contain multiple values of this element. Valid for all element types except category, toggle and location.
elementTypeELEMENT_TYPE | 'productcategory' | 'product'Specifies the type of this element.
fieldLabelstringWhen allowMultipleValues is true, specifies a display name for each value within the multi valued list.
helpTextstringThe informational text to show the content author when setting the value of this element.
keystringThe element identifer. Within content items, elements are referred to by key only.
labelstringThe display name of the element.
maximumValuesnumberWhen allowMulitpleValues is true, indicates the maximum number of values are that allowed.
minimumValuesnumberWhen allowMulitpleValues is true, indicates the minimum number of values are that required.
placeholderAuthoringPlaceholder
requiredbooleanIndicates whether content items must specify a value for this element.
roleAUTHORING_ELEMENT_ROLE[]
uiExtensionsAuthoringUiExtensions

Home > @acoustic-content-sdk/api > AuthoringFileElement

AuthoringFileElement interface

Signature:

export interface AuthoringFileElement extends AuthoringElement 

Properties

PropertyTypeDescription
acceptTypeAUTHORING_ELEMENT_FILE_TYPE[]
elementType'file'
searchKeyAUTHORING_ELEMENT_TEXT_SEARCH_KEY

Home > @acoustic-content-sdk/api > AuthoringFormattedTextElement

AuthoringFormattedTextElement interface

Signature:

export interface AuthoringFormattedTextElement extends AuthoringElement 

Properties

PropertyTypeDescription
elementType'formattedtext'
searchKeyAUTHORING_ELEMENT_TEXT_SEARCH_KEY

Home > @acoustic-content-sdk/api > AuthoringGroup

AuthoringGroup interface

Signature:

export interface AuthoringGroup<T> 

Properties

PropertyTypeDescription
elementTypetypeof ELEMENT_TYPE_GROUP
typeRefAuthoringReferenceValue
valueT
valuesT[]

Home > @acoustic-content-sdk/api > AuthoringGroupElement

AuthoringGroupElement interface

Signature:

export interface AuthoringGroupElement extends AuthoringElement 

Properties

PropertyTypeDescription
elementsany[]
elementType'group'
iconELEMENT_TYPE
kindAUTHORING_TYPE_KIND[]
typeRefTypeRef

Home > @acoustic-content-sdk/api > AuthoringImage

AuthoringImage interface

Signature:

export interface AuthoringImage 

Properties

PropertyTypeDescription
elementTypetypeof ELEMENT_TYPE_IMAGE
valuesImage[]

Home > @acoustic-content-sdk/api > AuthoringImageElement

AuthoringImageElement interface

Signature:

export interface AuthoringImageElement extends AuthoringElement 

Properties

PropertyTypeDescription
acceptTypeAUTHORING_ELEMENT_IMAGE_TYPE[]
elementType'image'
imageProfileRecord<string, any>
imageProfileIdstring
searchKeyAUTHORING_ELEMENT_TEXT_SEARCH_KEY

Home > @acoustic-content-sdk/api > AuthoringLayout

AuthoringLayout interface

Signature:

export interface AuthoringLayout 

Properties

PropertyTypeDescription
classification'layout'
idstring
namestring
pathstring

Home > @acoustic-content-sdk/api > AuthoringLayoutItem

AuthoringLayoutItem interface

Signature:

export interface AuthoringLayoutItem extends Layout 

Properties

PropertyTypeDescription
classification'layout'
idstring
namestring
pathstring
prerenderboolean
urlTemplatestring

Home > @acoustic-content-sdk/api > AuthoringLayoutMapping

AuthoringLayoutMapping interface

Signature:

export interface AuthoringLayoutMapping extends BaseAuthoringItem 

Properties

PropertyTypeDescription
_revisionsRecord<string, string>
classification'layout-mapping'
createdstring
creatorIdstring
idstring
lastModifiedstring
lastModifierIdstring
mappingsAuthoringLayoutMappingMapping[]
namestring
pathstring
revstring
tagsstring[]
typeAuthoringLayoutMappingType

Home > @acoustic-content-sdk/api > AuthoringLayoutMappingLayout

AuthoringLayoutMappingLayout interface

Signature:

export interface AuthoringLayoutMappingLayout 

Properties

PropertyTypeDescription
idstring
namestring

Home > @acoustic-content-sdk/api > AuthoringLayoutMappingMapping

AuthoringLayoutMappingMapping interface

Signature:

export interface AuthoringLayoutMappingMapping 

Properties

PropertyTypeDescription
defaultLayoutAuthoringLayoutMappingLayout
layoutModestring
layoutsAuthoringLayoutMappingLayout[]

Home > @acoustic-content-sdk/api > AuthoringLayoutMappingType

AuthoringLayoutMappingType interface

Signature:

export interface AuthoringLayoutMappingType 

Properties

PropertyTypeDescription
idstring
namestring

Home > @acoustic-content-sdk/api > AuthoringLinkElement

AuthoringLinkElement interface

Signature:

export interface AuthoringLinkElement extends AuthoringElement 

Properties

PropertyTypeDescription
elementType'link'
searchKeyAUTHORING_ELEMENT_TEXT_SEARCH_KEY

Home > @acoustic-content-sdk/api > AuthoringLocationElement

AuthoringLocationElement interface

Signature:

export interface AuthoringLocationElement extends AuthoringElement 

Properties

PropertyTypeDescription
elementType'location'
searchKeyAUTHORING_ELEMENT_LOCATION_SEARCH_KEY

Home > @acoustic-content-sdk/api > AuthoringNumberElement

AuthoringNumberElement interface

Signature:

export interface AuthoringNumberElement extends AuthoringElement 

Properties

PropertyTypeDescription
elementType'number'
fieldType'integer' | 'decimal'
maximumnumber
minimumnumber
searchKeyAUTHORING_ELEMENT_NUMBER_SEARCH_KEY

Home > @acoustic-content-sdk/api > AuthoringOption

AuthoringOption interface

Signature:

export interface AuthoringOption 

Properties

PropertyTypeDescription
labelstring
selectionstring

Home > @acoustic-content-sdk/api > AuthoringOptionSelectionElement

AuthoringOptionSelectionElement interface

Signature:

export interface AuthoringOptionSelectionElement extends AuthoringElement 

Properties

PropertyTypeDescription
elementType'optionselection'
optionsAuthoringOption[]
restrictedParentsstring[]
searchKeyAUTHORING_ELEMENT_TEXT_SEARCH_KEY

Home > @acoustic-content-sdk/api > AuthoringPlaceholder

AuthoringPlaceholder interface

Signature:

export interface AuthoringPlaceholder 

Properties

PropertyTypeDescription
showboolean
textstring

Home > @acoustic-content-sdk/api > AuthoringReference

AuthoringReference interface

Signature:

export interface AuthoringReference 

Properties

PropertyTypeDescription
elementTypetypeof ELEMENT_TYPE_REFERENCE
valueAuthoringReferenceValue[]
valuesAuthoringReferenceValue[]

Home > @acoustic-content-sdk/api > AuthoringReferenceElement

AuthoringReferenceElement interface

Signature:

export interface AuthoringReferenceElement extends AuthoringElement 

Properties

PropertyTypeDescription
elementType'reference'
restrictTypesTypeRef
searchKeyAUTHORING_ELEMENT_TEXT_SEARCH_KEY

Home > @acoustic-content-sdk/api > AuthoringReferenceValue

AuthoringReferenceValue interface

Signature:

export interface AuthoringReferenceValue 

Properties

PropertyTypeDescription
creatorIdstring
idstring
namestring
statusStatus
typeIdstring

Home > @acoustic-content-sdk/api > AuthoringSelectedLayout

AuthoringSelectedLayout interface

Signature:

export interface AuthoringSelectedLayout 

Properties

PropertyTypeDescription
layoutAuthoringLayout
layoutModestring

Home > @acoustic-content-sdk/api > AuthoringText

AuthoringText interface

Signature:

export interface AuthoringText 

Properties

PropertyTypeDescription
elementTypetypeof ELEMENT_TYPE_TEXT
valuestring
valuesstring[]

Home > @acoustic-content-sdk/api > AuthoringTextElement

AuthoringTextElement interface

Signature:

export interface AuthoringTextElement extends AuthoringElement 

Properties

PropertyTypeDescription
displayHeightnumber
displayType'singleLine' | 'multiLine'
displayWidthnumber
elementType'text'
maxLengthnumber
minLengthnumber
searchKeyAUTHORING_ELEMENT_TEXT_SEARCH_KEY

Home > @acoustic-content-sdk/api > AuthoringThumbnail

AuthoringThumbnail interface

Signature:

export interface AuthoringThumbnail 

Properties

PropertyTypeDescription
idstring
pathstring
urlstring

Home > @acoustic-content-sdk/api > AuthoringToggleElement

AuthoringToggleElement interface

Signature:

export interface AuthoringToggleElement extends AuthoringElement 

Properties

PropertyTypeDescription
elementType'toggle'
searchKeyAUTHORING_ELEMENT_TOGGLE_SEARCH_KEY
statementstring

Home > @acoustic-content-sdk/api > AuthoringType

AuthoringType interface

Signature:

export interface AuthoringType extends BaseAuthoringItem 

Properties

PropertyTypeDescription
_revisionsRecord<string, any>Unknown semantic
categoriesstring[]
categoryIdsstring[]
classification'content-type'Fixed classification
contentThumbnailAuthoringContentThumbnailOptional content thumbnail for the type
elementsAuthoringElement[]Elements on the type, strange that this is an array and not a map
iconELEMENT_TYPEOptional icon to be used for the type
kindAUTHORING_TYPE_KIND[]Lisz of possible kinds for the authoring type
linkedDocIdstring
statusStatus
tagsstring[]
thumbnailAuthoringThumbnailOptional thumbnail for the type
uiExtensionsAuthoringUiExtensions

Home > @acoustic-content-sdk/api > AuthoringUiExtensions

AuthoringUiExtensions interface

Signature:

export interface AuthoringUiExtensions 

Properties

PropertyTypeDescription
elementstring
elementBuiltinstring
elementConfigany

Home > @acoustic-content-sdk/api > AuthoringVariableTypeElement

AuthoringVariableTypeElement interface

Signature:

export interface AuthoringVariableTypeElement extends AuthoringElement 

Properties

PropertyTypeDescription
elementsRecord<string, any>[]
elementType'variabletype'

Home > @acoustic-content-sdk/api > AuthoringVideo

AuthoringVideo interface

Signature:

export interface AuthoringVideo 

Properties

PropertyTypeDescription
elementTypetypeof ELEMENT_TYPE_VIDEO
valuesVideo[]

Home > @acoustic-content-sdk/api > AuthoringVideoElement

AuthoringVideoElement interface

Signature:

export interface AuthoringVideoElement extends AuthoringElement 

Properties

PropertyTypeDescription
acceptTypeAUTHORING_ELEMENT_VIDEO_TYPE[]
elementType'video'
searchKeyAUTHORING_ELEMENT_TEXT_SEARCH_KEY

Home > @acoustic-content-sdk/api > AuthStatus

AuthStatus interface

Exposes the authentication status

Signature:

export interface AuthStatus 

Properties

PropertyTypeDescription
authenticated$Observable<boolean>Exposes the flag that tells if the system is authenticated. This is e.g. used to decide to use the delivery or mydelivery routes.

Home > @acoustic-content-sdk/api > BaseAuthoringItem

BaseAuthoringItem interface

Base interface for all items

Signature:

export interface BaseAuthoringItem 

Properties

PropertyTypeDescription
classificationstringThe classification defines the document type. For content items, all documents are classified as "content".
createdstringThe created date of this content item in ISO 8601 with the format YYYY-MM-DDTHH:mm:ss.sssZ. This field is read only.
creatorIdstring
descriptionstringThe description of the item.
idstringThe ID of the content item.
lastModifiedstringThe last modified date of this content item in ISO 8601 with the format YYYY-MM-DDTHH:mm:ss.sssZ. This field is read only.
lastModifierIdstringname of user for now, this property may change once user management is defined (read only).
linkedDocIdstringOptionally the ID of the ready item
namestringThe name of the content item.
pathstring
revstringThe current revision of the document.

Home > @acoustic-content-sdk/api > BaseDeliveryItem

BaseDeliveryItem interface

Base interface for all items

Signature:

export interface BaseDeliveryItem 

Properties

PropertyTypeDescription
classificationstringThe classification defines the document type. For content items, all documents are classified as "content".
createdstringThe created date of this content item in ISO 8601 with the format YYYY-MM-DDTHH:mm:ss.sssZ. This field is read only.
creatorIdstring
descriptionstringThe description of the item.
idstringThe ID of the content item.
lastModifiedstringThe last modified date of this content item in ISO 8601 with the format YYYY-MM-DDTHH:mm:ss.sssZ. This field is read only.
lastModifierIdstringname of user for now, this property may change once user management is defined (read only).
namestringThe name of the content item.
revstringThe current revision of the document.

Home > @acoustic-content-sdk/api > Category

Category interface

Category is a reference element. The contents that are stored in the category element are references to categories created in content hub. When ?include=metadata is used, the categories property is included which has the full name path for each selected category.

Note: When you set categories on the category element, you need to add the UUID of the category to the categoryIds property. The categories property, which returns the name path of the category is a read-only property and is not used when the content is updated. If you set it during an update, it is ignored.

Signature:

export interface Category 

Properties

PropertyTypeDescription
categoriesstring[]
categoryIdsstring[]
categoryPathsstring[][]extension for the local rendering context for convenience

Home > @acoustic-content-sdk/api > CategoryElement

CategoryElement interface

Category is a reference element. The contents that are stored in the category element are references to categories created in content hub. When ?include=metadata is used, the categories property is included which has the full name path for each selected category.

Note: When you set categories on the category element, you need to add the UUID of the category to the categoryIds property. The categories property, which returns the name path of the category is a read-only property and is not used when the content is updated. If you set it during an update, it is ignored.

Signature:

export interface CategoryElement extends AbstractElement, Category 

Properties

PropertyTypeDescription
elementType'category'

Home > @acoustic-content-sdk/api > ContentItem

ContentItem interface

Representation of a generic content item.

Signature:

export interface ContentItem extends BaseDeliveryItem 

Properties

PropertyTypeDescription
draftIdstringTBD
draftStatusDraftStatusTBD
elements{
[key: string]: any;
}
Defined by the type and capture in the schema given by the type, in a real content, this property will be filled with more information.Note, we are using any here, because union types are hard to handle in templates.
kindCONTENT_ITEM_KIND[]Kind of a content item
localestringlocale of the document (e.g "en", or "de").
projectIdstringThe project ID
tagsArray<string>The tags describing the content item.
typestringthis is the link to the content type document this content is based on.
typeIdstringThe ID of the content type this item belongs to.

Home > @acoustic-content-sdk/api > ContentItemWithLayout

ContentItemWithLayout interface

Signature:

export interface ContentItemWithLayout extends ContentItem 

Properties

PropertyTypeDescription
idstringThe ID of the content item.
layoutsLayoutsThe layouts for the content item, ordered by mode. The 'default' mode always exists and denotes the default layout.
selectedLayoutsAuthoringSelectedLayout[]Optionally the explicitly assigned layouts

Home > @acoustic-content-sdk/api > ContentPublishApproval

ContentPublishApproval interface

Signature:

export interface ContentPublishApproval 

Properties

PropertyTypeDescription
enabledbooleanTrue if mandatory approval is enabled
exemptContentTypesstring[]

Home > @acoustic-content-sdk/api > DateElement

DateElement interface

Common base class for all date elements

Signature:

export interface DateElement extends AbstractElement 

Properties

PropertyTypeDescription
elementType'datetime'

Home > @acoustic-content-sdk/api > DeliveryAccess

DeliveryAccess interface

Signature:

export interface DeliveryAccess 

Properties

PropertyTypeDescription
assetsstring
contentstring
secureAlwaysboolean

Home > @acoustic-content-sdk/api > DeliveryAsset

DeliveryAsset interface

Signature:

export interface DeliveryAsset 

Properties

PropertyTypeDescription
fileNamestring
fileSizenumber
idstring
mediaTypestring
resourceUristring

Home > @acoustic-content-sdk/api > DeliveryCategoryElement

DeliveryCategoryElement interface

Signature:

export interface DeliveryCategoryElement 

Properties

PropertyTypeDescription
categoryIdsstring[]
categoryPathstring[]

Home > @acoustic-content-sdk/api > DeliveryContentItem

DeliveryContentItem interface

Signature:

export interface DeliveryContentItem 

Properties

PropertyTypeDescription
$metadataDeliveryContentMetadataMetadata record

Home > @acoustic-content-sdk/api > DeliveryContentMetadata

DeliveryContentMetadata interface

Common fields in all metadata records

Signature:

export interface DeliveryContentMetadata 

Properties

PropertyTypeDescription
accessorstringAccessor that references the main element relative to the root of the authoring data structure
classification'content'
createdstring
creatorIdstring
descriptionstring
draftIdstring
idstringID of the content item. For group items is this the ID of the hosting content item, for references it's the ID of the referenced item. This ID will always be a 'ready ID'.
keywordsstring[]
kindstring[]
lastModifiedstring
lastModifierIdstring
localestring
namestring
protectedUrlstring
revstring
selectedLayoutsDeliverySelectedLayouts
systemModifiedstring
tagsstring[]
thumbnailDeliveryThumbnail
typestring
typeIdstringID of the type of the content item. Note that for group elements this is the ID of the hosting content item, not of the type of the group element.
urlstring

Home > @acoustic-content-sdk/api > DeliveryFileElement

DeliveryFileElement interface

Signature:

export interface DeliveryFileElement 

Properties

PropertyTypeDescription
assetDeliveryFileAsset
urlstring

Home > @acoustic-content-sdk/api > DeliveryGroupElement

DeliveryGroupElement interface

Signature:

export interface DeliveryGroupElement 

Properties

PropertyTypeDescription
$metadataDeliveryGroupElementMetadataOptional metadata

Home > @acoustic-content-sdk/api > DeliveryGroupElementMetadata

DeliveryGroupElementMetadata interface

Signature:

export interface DeliveryGroupElementMetadata 

Properties

PropertyTypeDescription
accessorstringAccessor that references the group element relative to the root of the authoring data structure
selectedLayoutsDeliverySelectedLayoutsOptionally the selected layouts for the group element

Home > @acoustic-content-sdk/api > DeliveryImageAsset

DeliveryImageAsset interface

Signature:

export interface DeliveryImageAsset extends DeliveryAsset 

Properties

PropertyTypeDescription
altTextstring
heightnumber
widthnumber

Home > @acoustic-content-sdk/api > DeliveryImageCrop

DeliveryImageCrop interface

Signature:

export interface DeliveryImageCrop 

Properties

PropertyTypeDescription
heightnumber
widthnumber
xnumber
ynumber

Home > @acoustic-content-sdk/api > DeliveryImageElement

DeliveryImageElement interface

Signature:

export interface DeliveryImageElement 

Properties

PropertyTypeDescription
assetDeliveryImageAsset
modeDeliveryImageMode
renditionsRecord<string, DeliveryImageRendition>
urlstring

Home > @acoustic-content-sdk/api > DeliveryImageRendition

DeliveryImageRendition interface

Signature:

export interface DeliveryImageRendition 

Properties

PropertyTypeDescription
heightnumber
sourcestring
transformDeliveryImageTransform
urlstring
widthnumber

Home > @acoustic-content-sdk/api > DeliveryImageTransform

DeliveryImageTransform interface

Signature:

export interface DeliveryImageTransform 

Properties

PropertyTypeDescription
cropDeliveryImageCrop
scaleDeliveryImageScale

Home > @acoustic-content-sdk/api > DeliveryLayoutRef

DeliveryLayoutRef interface

Signature:

export interface DeliveryLayoutRef 

Properties

PropertyTypeDescription
idstring

Home > @acoustic-content-sdk/api > DeliveryLinkElement

DeliveryLinkElement interface

Signature:

export interface DeliveryLinkElement 

Properties

PropertyTypeDescription
linkDescriptionstring
linkTextstring
linkURLstring

Home > @acoustic-content-sdk/api > DeliveryLocationElement

DeliveryLocationElement interface

Signature:

export interface DeliveryLocationElement 

Properties

PropertyTypeDescription
latitudenumber
longitudenumber

Home > @acoustic-content-sdk/api > DeliveryReferenceElement

DeliveryReferenceElement interface

Signature:

export interface DeliveryReferenceElement 

Properties

PropertyTypeDescription
$metadataDeliveryReferenceElementMetadata

Home > @acoustic-content-sdk/api > DeliveryReferenceElementMetadata

DeliveryReferenceElementMetadata interface

Signature:

export interface DeliveryReferenceElementMetadata extends Partial<DeliveryContentMetadata> 

Properties

PropertyTypeDescription
idstring

Home > @acoustic-content-sdk/api > DeliverySelectedLayout

DeliverySelectedLayout interface

Signature:

export interface DeliverySelectedLayout 

Properties

PropertyTypeDescription
layoutDeliveryLayoutRef

Home > @acoustic-content-sdk/api > DeliveryThumbnail

DeliveryThumbnail interface

Signature:

export interface DeliveryThumbnail 

Properties

PropertyTypeDescription
idstring
urlstring

Home > @acoustic-content-sdk/api > DeliveryVideoElement

DeliveryVideoElement interface

Signature:

export interface DeliveryVideoElement 

Home > @acoustic-content-sdk/api > DynamicLoggerFactory

DynamicLoggerFactory interface

Instantiator for loggers. Clients of the SDK can use this interface to inject their custom logger implementation.

Signature:

export interface DynamicLoggerFactory 

Methods

MethodDescription
get()Returns a logger that is instantiated lazily (and potentially) multiple times.

Home > @acoustic-content-sdk/api > ElementMap

ElementMap interface

Signature:

export interface ElementMap<T> 

Home > @acoustic-content-sdk/api > ElementWithMarkup

ElementWithMarkup interface

Signature:

export interface ElementWithMarkup 

Properties

PropertyTypeDescription
$markupstringOptionally the markup for an element

Home > @acoustic-content-sdk/api > ErrorDetail

ErrorDetail interface

Signature:

export interface ErrorDetail 

Properties

PropertyTypeDescription
localestring
messagestring
namestring
parametersany
stackstring

Home > @acoustic-content-sdk/api > ErrorResponse

ErrorResponse interface

JSON structure of an error response

Signature:

export interface ErrorResponse 

Properties

PropertyTypeDescription
descriptionstring
errorsErrorDetail[]
messagestring
requestIdstring
servicestring
statusCodenumber
versionstring

Home > @acoustic-content-sdk/api > ExtendedContext

ExtendedContext interface

Signature:

export interface ExtendedContext extends SiteContext 

Properties

PropertyTypeDescription
hubHubContext

Home > @acoustic-content-sdk/api > ExtendedContextV2

ExtendedContextV2 interface

Signature:

export interface ExtendedContextV2 

Properties

PropertyTypeDescription
editModebooleanInformation about edit mode
hubHubContextInformation about URLs that can be used to access the REST APIs

Home > @acoustic-content-sdk/api > File

File interface

Signature:

export interface File 

Properties

PropertyTypeDescription
assetAsset
urlstring

Home > @acoustic-content-sdk/api > FileElement

FileElement interface

Common base class for all file elements

Signature:

export interface FileElement extends AbstractElement 

Properties

PropertyTypeDescription
elementType'file'

Home > @acoustic-content-sdk/api > FormattedTextElement

FormattedTextElement interface

Common base class for all text elements

Signature:

export interface FormattedTextElement extends AbstractElement 

Properties

PropertyTypeDescription
elementType'formattedtext'

Home > @acoustic-content-sdk/api > Group

Group interface

Interface that represents a grouping of elements

Signature:

export interface Group 

Home > @acoustic-content-sdk/api > GroupElement

GroupElement interface

Common base class for all group elements

Signature:

export interface GroupElement extends AbstractElement 

Properties

PropertyTypeDescription
elementType'group'
layoutsLayoutsThe layouts for the content item, ordered by mode. The 'default' mode always exists and denotes the default layout.
selectedLayoutsAuthoringSelectedLayout[]Optionally the explicitly assigned layouts
typeRefTypeRefReference to the actual type

Home > @acoustic-content-sdk/api > HttpResourceOptions

HttpResourceOptions interface

Signature:

export interface HttpResourceOptions 

Properties

PropertyTypeDescription
pollTimenumber
pollTimeVariationnumber
retriesnumber
useApibooleanOptionally use REST to load resources, default is true
useBootstrapbooleanOptionally enable pre-loading from bootstrap, default is true
useJsonPbooleanConfigure if we should use XHR or JSONp
useLocalStoragebooleanOptionally enable pre-loading from local storage, default is true
usePollingbooleanConfigure if we should use polling at all, default is true
useStaticResourcesbooleanOptionally enable use of static resources, default is true

Home > @acoustic-content-sdk/api > HubContext

HubContext interface

Signature:

export interface HubContext 

Properties

PropertyTypeDescription
apiUrlURLURL to access the API layer, e.g. 'https://my.digitalexperience.ibm.com/api/345563cf-a83c-40e5-a065-1d6ff36b05c1'Naming of this field according to the field in the rendering context
isPreviewModebooleanFlag that indicates if the system is in preview mode.
resourceUrlURLURL to access the delivery , e.g. 'https://my.digitalexperience.ibm.com/345563cf-a83c-40e5-a065-1d6ff36b05c1'Naming of this field according to the field in the rendering context

Home > @acoustic-content-sdk/api > HubInfo

HubInfo interface

Exposes information required to access the content hub REST API. This information can be obtained via the 'Watson Content Hub information' section.

Signature:

export interface HubInfo 

Properties

PropertyTypeDescription
apiUrlURL | stringURL to access the API layer, e.g. 'https://my.digitalexperience.ibm.com/api/345563cf-a83c-40e5-a065-1d6ff36b05c1'Naming of this field according to the field in the rendering context
resourceUrlURL | stringURL to access the delivery , e.g. 'https://my.digitalexperience.ibm.com/345563cf-a83c-40e5-a065-1d6ff36b05c1'Naming of this field according to the field in the rendering context

Home > @acoustic-content-sdk/api > HubInfoConfig

HubInfoConfig interface

Base class for services providing hub information. We need a base class to be able to specify this service as injectable

Signature:

export interface HubInfoConfig 

Properties

PropertyTypeDescription
apiUrlHubInfoUrlProviderURL to access the API layerNaming of this field according to the field in the rendering context
baseUrlHubInfoUrlProviderURL that represents the base URL of the path based routing of the application. This prefix will be preserved when generating and recognizing URLs. If this property is not configured, then it will be decoded from the window location.
cycleHandlingStrategyCYCLE_HANDLING | stringOptionally specify how the SDK is supposed to deal with cyclic references in the content data structure. Per default the rendering context will break cycles by representing the duplicate element in a reference path by an unresolved reference. When configuring the strategy to CYCLE_HANDLING.RESOLVE, the ContentrefComponent will use a resolved refence when rendering the context, instead of the unresolved reference. This bears the risk of an infinite loop during rendering. The actual rendering context objects will still not have cycles, so a JSON serialization of these objects will produce a valid result.Default is CYCLE_HANDLING.BREAK
fetchLevelsnumberNumber of levels to fetch per request to the rendering context. If missing all levels will be fetched.
httpOptionsHttpResourceOptionsOptionally specify how the SDK makes outbound requests
httpPreviewOptionsHttpResourceOptionsOptionally specify how the SDK makes outbound requests for the preview case
resourceUrlHubInfoUrlProviderURL to access the deliveryNaming of this field according to the field in the rendering context

Home > @acoustic-content-sdk/api > IbmCommerce

IbmCommerce interface

Signature:

export interface IbmCommerce 

Properties

PropertyTypeDescription
apiGatewayHoststring
environmentTypestring
liveSearchHoststring
liveTransactionHoststring
previewSearchHoststring
previewTransactionHoststring
tenantIdstring

Home > @acoustic-content-sdk/api > Image

Image interface

Signature:

export interface Image 

Properties

PropertyTypeDescription
altTextstring
assetAsset
profilesstring[]
renditions{
[key: string]: Rendition;
}
urlstring

Home > @acoustic-content-sdk/api > ImageElement

ImageElement interface

Common base class for all image elements

Signature:

export interface ImageElement extends AbstractElement 

Properties

PropertyTypeDescription
elementType'image'

Home > @acoustic-content-sdk/api > Layout

Layout interface

Representation of a layout descriptor in the delivery artifacts

Signature:

export interface Layout 

Properties

PropertyTypeDescription
idstringID of the layout
namestringName of the layout
tagsstring[]Optional list of tags
templatestringThe template description, will be a selector for angular and a filename for handlebars
templateTypestringThe template type, either 'handlebars' or 'angular'

Home > @acoustic-content-sdk/api > Link

Signature:

export interface Link 

Properties

PropertyTypeDescription
linkDescriptionstring
linkTextstring
linkURLstring

Home > @acoustic-content-sdk/api > LinkElement

LinkElement interface

Common base class for all link elements

Signature:

export interface LinkElement extends AbstractElement 

Properties

PropertyTypeDescription
elementType'link'

Home > @acoustic-content-sdk/api > Location

Location interface

Signature:

export interface Location 

Properties

PropertyTypeDescription
latitudenumber
longitudenumber

Home > @acoustic-content-sdk/api > LocationElement

LocationElement interface

Signature:

export interface LocationElement extends AbstractElement, Location 

Properties

PropertyTypeDescription
elementType'location'

Home > @acoustic-content-sdk/api > Logger

Logger interface

Abstraction of the logger interface, trying to be as generic as possible. The identity of the logger is passed at creation time via the factory. Note that this interface is compatible to the console instance.

Signature:

export interface Logger 

Methods

MethodDescription
error(msg, data)
info(msg, data)
warn(msg, data)

Home > @acoustic-content-sdk/api > LoggerFactory

LoggerFactory interface

Instantiator for loggers. Clients of the SDK can use this interface to inject their custom logger implementation.

Signature:

export interface LoggerFactory 

Methods

MethodDescription
create(name)Construct the logger instance. There is no need to protect against the creation of multiple loggers, the caller will make sure that loggers are singletons.

Home > @acoustic-content-sdk/api > LoggerService

LoggerService interface

Service to return a logger for a given name. Calling the getter multiple times with the same name will return the same instance of the logger.

Signature:

export interface LoggerService 

Properties

PropertyTypeDescription
get(name: string) => LoggerReturns a logger for the given name$1$2 -$3

Home > @acoustic-content-sdk/api > MultiDateElement

MultiDateElement interface

Date element uses a string property, the value must be an ISO 8601 date time.

Signature:

export interface MultiDateElement extends DateElement 

Properties

PropertyTypeDescription
valuesstring[]

Home > @acoustic-content-sdk/api > MultiFileElement

MultiFileElement interface

Signature:

export interface MultiFileElement extends FileElement 

Properties

PropertyTypeDescription
valuesFile[]

Home > @acoustic-content-sdk/api > MultiFormattedTextElement

MultiFormattedTextElement interface

The text element holds text value in a JSON string.

Signature:

export interface MultiFormattedTextElement extends FormattedTextElement 

Properties

PropertyTypeDescription
valuesstring[]

Home > @acoustic-content-sdk/api > MultiGroupElement

MultiGroupElement interface

The text element holds text value in a JSON string.

Signature:

export interface MultiGroupElement extends GroupElement 

Properties

PropertyTypeDescription
valuesGroup[]

Home > @acoustic-content-sdk/api > MultiImageElement

MultiImageElement interface

Signature:

export interface MultiImageElement extends ImageElement 

Properties

PropertyTypeDescription
valuesImage[]

Home > @acoustic-content-sdk/api > MultiLinkElement

MultiLinkElement interface

Link element has three text fields linkURL, linkText, and linkDescription.

Signature:

export interface MultiLinkElement extends LinkElement 

Properties

PropertyTypeDescription
valuesLink[]

Home > @acoustic-content-sdk/api > MultiNumberElement

MultiNumberElement interface

The Number element stores the value in the JSON as a number type.

Signature:

export interface MultiNumberElement extends NumberElement 

Properties

PropertyTypeDescription
valuesnumber[]

Home > @acoustic-content-sdk/api > MultiOptionSelectionElement

MultiOptionSelectionElement interface

The text element holds text value in a JSON string.

Signature:

export interface MultiOptionSelectionElement extends OptionSelectionElement 

Properties

PropertyTypeDescription
valuesOptionSelection[]

Home > @acoustic-content-sdk/api > MultiProductElement

MultiProductElement interface

The text element holds text value in a JSON string.

Signature:

export interface MultiProductElement extends ProductElement 

Properties

PropertyTypeDescription
valuesstring[]

Home > @acoustic-content-sdk/api > MultiReferenceElement

MultiReferenceElement interface

Signature:

export interface MultiReferenceElement extends ReferenceElement 

Properties

PropertyTypeDescription
valuesRenderingContext[]

Home > @acoustic-content-sdk/api > MultiTextElement

MultiTextElement interface

The text element holds text value in a JSON string.

Signature:

export interface MultiTextElement extends TextElement 

Properties

PropertyTypeDescription
valuesstring[]

Home > @acoustic-content-sdk/api > MultiToggleElement

MultiToggleElement interface

Toggle just uses JSON Boolean.

Signature:

export interface MultiToggleElement extends ToggleElement 

Properties

PropertyTypeDescription
valuesboolean[]

Home > @acoustic-content-sdk/api > MultiVideoElement

MultiVideoElement interface

Signature:

export interface MultiVideoElement extends VideoElement 

Properties

PropertyTypeDescription
valuesVideo[]

Home > @acoustic-content-sdk/api > NumberElement

NumberElement interface

Common base class for all number elements

Signature:

export interface NumberElement extends AbstractElement 

Properties

PropertyTypeDescription
elementType'number'

Home > @acoustic-content-sdk/api > OptionSelection

OptionSelection interface

Representation of a selection

Signature:

export interface OptionSelection 

Properties

PropertyTypeDescription
labelstring
selectionstring

Home > @acoustic-content-sdk/api > OptionSelectionElement

OptionSelectionElement interface

Common base class for all options election elements

Signature:

export interface OptionSelectionElement extends AbstractElement 

Properties

PropertyTypeDescription
elementType'optionselection'

Home > @acoustic-content-sdk/api > PageSearchResult

PageSearchResult interface

Signature:

export interface PageSearchResult extends SearchResult<SitePage> 

Properties

PropertyTypeDescription
documentSitePage

Home > @acoustic-content-sdk/api > ProductElement

ProductElement interface

Signature:

export interface ProductElement extends AbstractElement 

Properties

PropertyTypeDescription
elementType'product'

Home > @acoustic-content-sdk/api > Query

Query interface

Signature:

export interface Query 

Home > @acoustic-content-sdk/api > ReferenceElement

ReferenceElement interface

Common base class for all reference elements

Signature:

export interface ReferenceElement extends AbstractElement 

Properties

PropertyTypeDescription
elementType'reference'

Home > @acoustic-content-sdk/api > RenderingContext

RenderingContext interface

Signature:

export interface RenderingContext extends ContentItemWithLayout 

Properties

PropertyTypeDescription
categoryElementMap<CategoryElement>
contextExtendedContext
datetimeElementMap<Date>
datetimesElementMap<Date[]>
fileElementMap<SingleFileElement>
filesElementMap<File[]>
formattedtextElementMap<string>
formattedtextsElementMap<string[]>
groupElementMap<any>
groupsElementMap<any[]>
imageElementMap<SingleImageElement>
imagesElementMap<Image[]>
linkElementMap<SingleLinkElement>
linksElementMap<Link[]>
locationElementMap<LocationElement>
markupsElementMap<string>
numberElementMap<number>
numbersElementMap<number[]>
optionselectionElementMap<OptionSelection>
optionselectionsElementMap<OptionSelection[]>
productElementMap<string>typings
productsElementMap<string[]>
referenceElementMap<RenderingContext>
referencesElementMap<RenderingContext[]>
textElementMap<string>
textsElementMap<string[]>
toggleElementMap<boolean>
togglesElementMap<boolean[]>
videoElementMap<SingleVideoElement>
videosElementMap<Video[]>

Home > @acoustic-content-sdk/api > RenderingContextGroupElement

RenderingContextGroupElement interface

Signature:

export interface RenderingContextGroupElement extends DeliveryGroupElement, ElementWithMarkup 

Home > @acoustic-content-sdk/api > RenderingContextInterceptor

RenderingContextInterceptor interface

Interceptor that can expose transforms for the rendering contexts.

Signature:

export interface RenderingContextInterceptor 

Properties

PropertyTypeDescription
opRenderingContextMonoTypeOperatorFunction<RenderingContext>operator to intercept a single rendering context
opRenderingContextsMonoTypeOperatorFunction<RenderingContext[]>operator to intercept a multiple rendering contexts

Home > @acoustic-content-sdk/api > RenderingContextProvider

RenderingContextProvider interface

Signature:

export interface RenderingContextProvider 

Properties

PropertyTypeDescription
onRenderingContextObservable<RenderingContext>Retrieves the rendering context for the content item.

Home > @acoustic-content-sdk/api > RenderingContextProviderV2

RenderingContextProviderV2 interface

Signature:

export interface RenderingContextProviderV2 

Properties

PropertyTypeDescription
renderingContext$Observable<RenderingContextV2>Retrieves the rendering context for the content item.

Home > @acoustic-content-sdk/api > RenderingContextQueryResult

RenderingContextQueryResult interface

Signature:

export interface RenderingContextQueryResult 

Properties

PropertyTypeDescription
numFoundnumber
renderingContextsRenderingContext[]

Home > @acoustic-content-sdk/api > RenderingContextReferenceElement

RenderingContextReferenceElement interface

Signature:

export interface RenderingContextReferenceElement extends DeliveryReferenceElement, ElementWithMarkup 

Home > @acoustic-content-sdk/api > RenderingContextSearchResult

RenderingContextSearchResult interface

Signature:

export interface RenderingContextSearchResult extends SearchResult<RenderingContext> 

Properties

PropertyTypeDescription
documentRenderingContext

Home > @acoustic-content-sdk/api > RenderingContextV2

RenderingContextV2 interface

Signature:

export interface RenderingContextV2 extends DeliveryContentItem 

Properties

PropertyTypeDescription
$contextExtendedContextV2Rendering context

Home > @acoustic-content-sdk/api > Rendition

Rendition interface

Signature:

export interface Rendition 

Properties

PropertyTypeDescription
heightnumber
renditionIdstring
sourcestring
transformany
urlstringadded by delivery
widthnumber

Home > @acoustic-content-sdk/api > Resource

Resource interface

Signature:

export interface Resource 

Properties

PropertyTypeDescription
fileNamestring
resourceIdstring
resourceUristring

Home > @acoustic-content-sdk/api > SdkActiveRouteEvent

SdkActiveRouteEvent interface

Signature:

export interface SdkActiveRouteEvent extends SdkMessagePayload 

Properties

PropertyTypeDescription
pageDeliveryContentItemthe page
type'WchSdk.router.activeRoute'the event type

Home > @acoustic-content-sdk/api > SdkErrorResponse

SdkErrorResponse interface

Response sent when processing a message fails

Signature:

export interface SdkErrorResponse extends SdkMessagePayload 

Properties

PropertyTypeDescription
erroranypotential error

Home > @acoustic-content-sdk/api > SdkMessageHandler

SdkMessageHandler interface

Signature:

export interface SdkMessageHandler 

Properties

PropertyTypeDescription
handleSdkMessageHandlerCallback

Home > @acoustic-content-sdk/api > SdkMessagePayload

SdkMessagePayload interface

Base interfaces for events that can be sent to the SDK

Signature:

export interface SdkMessagePayload 

Properties

PropertyTypeDescription
idstringevent identifier, identifying a potential response
typestringthe event type

Home > @acoustic-content-sdk/api > SdkModeEvent

SdkModeEvent interface

Signature:

export interface SdkModeEvent extends SdkMessagePayload 

Properties

PropertyTypeDescription
modeSdkModethe mode
typetypeof SDK_MODE_EVENT_TYPEthe event type

Home > @acoustic-content-sdk/api > SdkNavigateByPathEvent

SdkNavigateByPathEvent interface

Signature:

export interface SdkNavigateByPathEvent extends SdkMessagePayload 

Properties

PropertyTypeDescription
pathstringpath to navigate to
type'WchSdk.router.navigateByPath'the event type

Home > @acoustic-content-sdk/api > SdkNavigateByPathResponse

SdkNavigateByPathResponse interface

Response to the navigation event

Signature:

export interface SdkNavigateByPathResponse extends SdkMessagePayload 

Properties

PropertyTypeDescription
erroranypotential error
pathstringpath navigated to
successbooleansuccess of the operation

Home > @acoustic-content-sdk/api > SdkRefreshEvent

SdkRefreshEvent interface

Signature:

export interface SdkRefreshEvent extends SdkMessagePayload 

Properties

PropertyTypeDescription
type'WchSdk.refresh'the event type

Home > @acoustic-content-sdk/api > SdkRouteEvent

SdkRouteEvent interface

Signature:

export interface SdkRouteEvent extends SdkMessagePayload 

Properties

PropertyTypeDescription
pageDeliveryContentItemthe page
routestringthe route to subscribe to
type'WchSdk.router.route'the event type

Home > @acoustic-content-sdk/api > SdkSetModeEvent

SdkSetModeEvent interface

Signature:

export interface SdkSetModeEvent extends SdkMessagePayload 

Properties

PropertyTypeDescription
modeSdkModemode to set
type'WchSdk.setMode'the event type

Home > @acoustic-content-sdk/api > SdkSetModeResponse

SdkSetModeResponse interface

Response to the set mode event

Signature:

export interface SdkSetModeResponse extends SdkMessagePayload 

Properties

PropertyTypeDescription
erroranypotential error
modeSdkModemode set

Home > @acoustic-content-sdk/api > SdkSubscribeActiveRouteEvent

SdkSubscribeActiveRouteEvent interface

Signature:

export interface SdkSubscribeActiveRouteEvent extends SdkMessagePayload 

Properties

PropertyTypeDescription
type'WchSdk.router.activeRoute.subscribe'the event type

Home > @acoustic-content-sdk/api > SdkSubscribeActiveRouteEventResponse

SdkSubscribeActiveRouteEventResponse interface

Signature:

export interface SdkSubscribeActiveRouteEventResponse extends SdkSubscribeEventResponse 

Home > @acoustic-content-sdk/api > SdkSubscribeEventResponse

SdkSubscribeEventResponse interface

Response to a subscription

Signature:

export interface SdkSubscribeEventResponse extends SdkMessagePayload 

Properties

PropertyTypeDescription
handlestringhandle, unsubscribe using this handle

Home > @acoustic-content-sdk/api > SdkSubscribeModeEvent

SdkSubscribeModeEvent interface

Signature:

export interface SdkSubscribeModeEvent extends SdkMessagePayload 

Properties

PropertyTypeDescription
typetypeof SDK_SUBSCRIBE_MODE_EVENT_TYPEthe event type

Home > @acoustic-content-sdk/api > SdkSubscribeModeEventResponse

SdkSubscribeModeEventResponse interface

Signature:

export interface SdkSubscribeModeEventResponse extends SdkSubscribeEventResponse 

Home > @acoustic-content-sdk/api > SdkSubscribeRouteEvent

SdkSubscribeRouteEvent interface

Signature:

export interface SdkSubscribeRouteEvent extends SdkMessagePayload 

Properties

PropertyTypeDescription
routestring | string[]The desired route. If the route is a string, then it is the ESCAPED path. If it is a string array, then each array element contains the UNESCAPED path segment
type'WchSdk.router.route.subscribe'the event type

Home > @acoustic-content-sdk/api > SdkSubscribeRouteEventResponse

SdkSubscribeRouteEventResponse interface

Signature:

export interface SdkSubscribeRouteEventResponse extends SdkSubscribeEventResponse 

Home > @acoustic-content-sdk/api > SdkUnsubscribeEvent

SdkUnsubscribeEvent interface

Signature:

export interface SdkUnsubscribeEvent extends SdkMessagePayload 

Properties

PropertyTypeDescription
handlestringhandle to unsubscribe on
type'WchSdk.unsubscribe'the event type

Home > @acoustic-content-sdk/api > SearchResult

SearchResult interface

Signature:

export interface SearchResult<T> 

Properties

PropertyTypeDescription
documentT

Home > @acoustic-content-sdk/api > SearchResults

SearchResults interface

Signature:

export interface SearchResults<T> 

Properties

PropertyTypeDescription
documentsT[]
numFoundnumber

Home > @acoustic-content-sdk/api > SingleDateElement

SingleDateElement interface

Date element uses a string property, the value must be an ISO 8601 date time.

Signature:

export interface SingleDateElement extends DateElement 

Properties

PropertyTypeDescription
valuestring

Home > @acoustic-content-sdk/api > SingleFileElement

SingleFileElement interface

File element is the most basic asset reference element. It is a reference element that is used to point to an asset in content hub. Except for asset ID, all the other properties are read-only and are added from the asset at the time it is selected on a content.

With asset references most of the properties are read-only and come from the asset. So when you set a file on file element you need to set the asset.id property. The other information is fetched automatically by the content service and stored in read-only fields.

Signature:

export interface SingleFileElement extends FileElement, File 

Home > @acoustic-content-sdk/api > SingleFormattedTextElement

SingleFormattedTextElement interface

The text element holds text value in a JSON string.

Signature:

export interface SingleFormattedTextElement extends FormattedTextElement 

Properties

PropertyTypeDescription
valuestring

Home > @acoustic-content-sdk/api > SingleGroupElement

SingleGroupElement interface

The text element holds group value in a JSON string.

Signature:

export interface SingleGroupElement extends GroupElement 

Properties

PropertyTypeDescription
valueGroup

Home > @acoustic-content-sdk/api > SingleImageElement

SingleImageElement interface

Image is one of the more complex elements and the following section describes a normal image without an image profile configured. For information on updating and formatting the image element, go to Updating image element format.

Note: You are always selecting a rendition of an asset and not the asset directly. As a result interactions with image elements involve setting and updating a rendition reference. Most other fields that are displayed in image element are read only!

Signature:

export interface SingleImageElement extends ImageElement, Image 

Home > @acoustic-content-sdk/api > SingleLinkElement

SingleLinkElement interface

Link element has three text fields linkURL, linkText, and linkDescription.

Signature:

export interface SingleLinkElement extends LinkElement, Link 

Home > @acoustic-content-sdk/api > SingleNumberElement

SingleNumberElement interface

The Number element stores the value in the JSON as a number type.

Signature:

export interface SingleNumberElement extends NumberElement 

Properties

PropertyTypeDescription
valuenumber

Home > @acoustic-content-sdk/api > SingleOptionSelectionElement

SingleOptionSelectionElement interface

The text element holds text value in a JSON string.

Signature:

export interface SingleOptionSelectionElement extends OptionSelectionElement 

Properties

PropertyTypeDescription
valueOptionSelection

Home > @acoustic-content-sdk/api > SingleProductElement

SingleProductElement interface

The text element holds text value in a JSON string.

Signature:

export interface SingleProductElement extends ProductElement 

Properties

PropertyTypeDescription
valuestring

Home > @acoustic-content-sdk/api > SingleReferenceElement

SingleReferenceElement interface

Signature:

export interface SingleReferenceElement extends ReferenceElement 

Properties

PropertyTypeDescription
valueRenderingContext

Home > @acoustic-content-sdk/api > SingleTextElement

SingleTextElement interface

The text element holds text value in a JSON string.

Signature:

export interface SingleTextElement extends TextElement 

Properties

PropertyTypeDescription
valuestring

Home > @acoustic-content-sdk/api > SingleToggleElement

SingleToggleElement interface

Toggle just uses JSON Boolean.

Signature:

export interface SingleToggleElement extends ToggleElement 

Properties

PropertyTypeDescription
valueboolean

Home > @acoustic-content-sdk/api > SingleVideoElement

SingleVideoElement interface

Standard video element is similar to the file element. The video asset is represented in the asset section. Optionally a video asset can have a caption and a thumbnail as well, and in this case both of these point two resources in content hub. As mentioned with file, most of the properties here are inlined data from the asset/resource and is read-only. To update a video asset or its caption/thumbnail update the relevant asset/resource ID. The related information is retrieved again and added. Attempts to change the read-only fields are ignored.

Signature:

export interface SingleVideoElement extends VideoElement, Video 

Home > @acoustic-content-sdk/api > Site

Site interface

Signature:

export interface Site extends SiteRoot 

Properties

PropertyTypeDescription
idstring
namestring
pagesSiteChild[]

Home > @acoustic-content-sdk/api > SiteChild

SiteChild interface

Signature:

export interface SiteChild extends SitePage 

Properties

PropertyTypeDescription
childrenSiteChild[]

Home > @acoustic-content-sdk/api > SiteContext

SiteContext interface

Signature:

export interface SiteContext 

Properties

PropertyTypeDescription
breadcrumbSitePage[]
childrenSitePage[]
parentSitePage
siblingSitePage[]
siteSite

Home > @acoustic-content-sdk/api > SiteDeliveryContentItem

SiteDeliveryContentItem interface

Signature:

export interface SiteDeliveryContentItem 

Properties

PropertyTypeDescription
$metadataDeliveryContentMetadataMetadata record
navigationDeliveryReferenceElementNavigation reference
stylesDeliveryReferenceElementStyles reference
titlestringTitle

Home > @acoustic-content-sdk/api > SiteNavigationDeliveryContentItem

SiteNavigationDeliveryContentItem interface

Delivery record for the site content item

843fb991-7413-4517-bfcb-b59fc4b1f449

Signature:

export interface SiteNavigationDeliveryContentItem 

Properties

PropertyTypeDescription
$metadataDeliveryContentMetadataMetadata record
defaultPagestringDefault page
treestringJSON tree. The content is a serialization of SiteNavigation

Home > @acoustic-content-sdk/api > SiteNavigationPage

SiteNavigationPage interface

Reference to a page in the site navigation

Signature:

export interface SiteNavigationPage 

Properties

PropertyTypeDescription
childrenSiteNavigationPage[]Optionally, the navigation children of the page
idstringID of the referenced page

Home > @acoustic-content-sdk/api > SitePage

SitePage interface

Signature:

export interface SitePage extends BaseDeliveryItem 

Properties

PropertyTypeDescription
contentIdstring
contentStatusstring
contentTypeIdstring
decodedRoutestring
descriptionstring
externalContextany
hideFromNavigationboolean
idstring
namestring
parentIdstring
routestring
titlestring

Home > @acoustic-content-sdk/api > SitePagesQueryResult

SitePagesQueryResult interface

Signature:

export interface SitePagesQueryResult 

Properties

PropertyTypeDescription
numFoundnumber
sitePagesSitePage[]

Home > @acoustic-content-sdk/api > SiteRoot

SiteRoot interface

Signature:

export interface SiteRoot 

Home > @acoustic-content-sdk/api > Tenant

Tenant interface

Signature:

export interface Tenant 

Properties

PropertyTypeDescription
_idstringDEPRECATED - read-only - UUID of the domain. Use 'id' instead of _id
capabilitystringindicates the capabilities supported by a tenant
corsWhiteliststring[]
defaultContentLocalestringThe default locale for content
deliveryAccessDeliveryAccess
ibmCommerceIbmCommerce
ibmUniqueIdstring
idstringread-only - UUID of the domain
isDAMEnabledboolean
isEdgeSideEnabledboolean
localestringThe locale the UI is shown in
lockedbooleanset to true if the tenant is 'locked' and should not have access to the system
mandatoryAssetPublishApprovalAssetPublishApproval
mandatoryContentPublishApprovalContentPublishApproval
maxAuthorsnumber
maxBulkUploadSizenumber
maxContentItemsnumberMax content items the tenant can have based on plan purchased
maxDataTransfernumberMax amount of data transfer the tenant has per month, based on plan purchased
maxStorageSizenumberMax amount of storage the tenant has, based on plan purchased
maxUploadSizenumberMax upload size - should apply to files/images/audio/video unless useSingleUploadSize is false in which case the individual max uploads apply
maxUploadSizeFilesnumberMax upload size for files (if useSingleUploadSize is false)
maxUploadSizeImagenumberMax upload size for images (if useSingleUploadSize is false)
maxUploadSizeVideonumberMax upload size for videos (if useSingleUploadSize is false)
maxUserSessionsnumberMax number of User sessions
namestring
tierTENANT_TIERWhich tier of the product the tenant has purchased, set by sbs-provisioning to one of these values; Trial, Base, Standard, Plus
useSingleUploadSizebooleanUse the maxUploadSize to cover all uploads or use the individual max upload sizes
watsonConfidenceLevelnumber

Home > @acoustic-content-sdk/api > TextElement

TextElement interface

Common base class for all text elements

Signature:

export interface TextElement extends AbstractElement 

Properties

PropertyTypeDescription
elementType'text'

Home > @acoustic-content-sdk/api > ToggleElement

ToggleElement interface

Common base class for all toggle elements

Signature:

export interface ToggleElement extends AbstractElement 

Properties

PropertyTypeDescription
elementType'toggle'

Home > @acoustic-content-sdk/api > TypeRef

TypeRef interface

Reference to a content type

Signature:

export interface TypeRef 

Properties

PropertyTypeDescription
descriptionstring
idstring
namestring

Home > @acoustic-content-sdk/api > UrlConfig

UrlConfig interface

Exposes the URL configuration to the client.

See HubInfoConfig

Signature:

export interface UrlConfig extends HubInfo 

Properties

PropertyTypeDescription
apiUrlURLThe base URL used to access WCH APIs. The URL ends with a slash.
baseUrlURLThe base URL of the host the application is running on. This can be undefined if the application is rendered standalone as part of the universal renderer. This prefix will be preserved when generating and recognizing URLs.In many cases it is identical to the resourceUrl, but it will e.g. be different for applications that are not hosted on WCH.
isPreviewModebooleanTrue if the system runs in preview mode, else false.
resourceUrlURLThe base URL used to access WCH delivery resources. The URL ends with a slash.

Home > @acoustic-content-sdk/api > User

User interface

Representation of a user

Signature:

export interface User 

Properties

PropertyTypeDescription
createdstringDate when this item was created
creatorstring
displayNamestringThe name of the user that can be displayed in the UI
externalIdstringThe unique external identifier of the user (e.g. BlueID). Although, this field can store email addresses, other types of unique identifiers may be stored too. Do not use this field as a replacement for the user attribute email address.
firstNamestringThe first name of the user
idstringThe unique internal identifier of the user
lastLoginstringDate when this user logged in for the last time before current session
lastModifiedstringDate when this item was modified for the last time
lastModifierstring
lastNamestringThe last name of the user
rolesstring[]The roles of the user that will be used for access control (empty for the anonymous user)

Home > @acoustic-content-sdk/api > Video

Video interface

Signature:

export interface Video 

Properties

PropertyTypeDescription
assetAsset
captionResource
thumbnailResource
urlstring

Home > @acoustic-content-sdk/api > VideoElement

VideoElement interface

Common base class for all video elements

Signature:

export interface VideoElement extends AbstractElement 

Properties

PropertyTypeDescription
elementType'video'

Home > @acoustic-content-sdk/api > WchHttp

WchHttp interface

Signature:

export interface WchHttp 

Properties

PropertyTypeDescription
getJsonResource<T>(aUrl: string, aOptions?: HttpResourceOptions) => Observable<T>Fetches a JSON resource and keeps this live based on the given or the default options$1$2 -$3
getTextResource(aUrl: string, aOptions?: HttpResourceOptions) => Observable<string>Fetches a string resource and keeps this live based on the given or the default options$1$2 -$3

Home > @acoustic-content-sdk/api > WchSdk

WchSdk interface

Signature:

export interface WchSdk 

Properties

PropertyTypeDescription
loggerLoggerServiceReturns a factory to access loggers
refresh() => voidRefreshes the rendering context and all JSON data that is currently displayed
routerWchSdkRouter
searchWchSdkSearchOptional search service
versionWchSdkVersionReturns version information from the SDK

Home > @acoustic-content-sdk/api > WchSdkRouter

WchSdkRouter interface

Signature:

export interface WchSdkRouter 

Properties

PropertyTypeDescription
activeRenderingContext() => Observable<RenderingContext>Returns an observable that represents the active rendering context
activeRoute() => Observable<SitePage>Returns an observable that represents the active route
navigateByPath(aPath: string) => PromiseLike<boolean>public APIs

Home > @acoustic-content-sdk/api > WchSdkSearch

WchSdkSearch interface

Signature:

export interface WchSdkSearch 

Properties

PropertyTypeDescription
getRenderingContextById(aId: string, aLevels?: number) => Observable<RenderingContext>Locates the rendering context identified by the ID$1$2 -$3 $1$2 -$3
getRenderingContexts(aValue: QueryInput, aLevels?: number) => Observable<RenderingContextQueryResult>Locates all rendering contexts that match a particular query. It is not necessary to add the classification to the query, it will automatically only apply to content for the current site$1$2 -$3 $1$2 -$3
getSitePages(aValue: QueryInput) => Observable<SitePagesQueryResult>Locates all pages that match a particular query. It is not necessary to add the classification to the query, it will automatically only apply to pages for the current site$1$2 -$3

Home > @acoustic-content-sdk/api > WchSdkVersion

WchSdkVersion interface

Defines the version number and the build date of the SDK.

Signature:

export interface WchSdkVersion 

Properties

PropertyTypeDescription
buildDatebuild data of the SDK
version{
readonly major: string;
readonly minor: string;
readonly patch: string;
}
version number of the SDK

Home > @acoustic-content-sdk/api > ACOUSTIC_CONFIG_API_URL

ACOUSTIC_CONFIG_API_URL variable

Name of the 'rel' attribute of a link element used to configure the API URL

Signature:

ACOUSTIC_CONFIG_API_URL = "wch-config-api-url"

Home > @acoustic-content-sdk/api > ACOUSTIC_CONFIG_BASE_URL

ACOUSTIC_CONFIG_BASE_URL variable

Name of the 'rel' attribute of a link element used to configure the base URL

Signature:

ACOUSTIC_CONFIG_BASE_URL = "wch-config-base-url"

Home > @acoustic-content-sdk/api > ACOUSTIC_CONFIG_RESOURCE_URL

ACOUSTIC_CONFIG_RESOURCE_URL variable

Name of the 'rel' attribute of a link element used to configure the delivery URL

Signature:

ACOUSTIC_CONFIG_RESOURCE_URL = "wch-config-resource-url"

Home > @acoustic-content-sdk/api > ACOUSTIC_SDK_MODULE_NAME

ACOUSTIC_SDK_MODULE_NAME variable

Signature:

ACOUSTIC_SDK_MODULE_NAME = "WchSdk"

Home > @acoustic-content-sdk/api > CLASSIFICATION_ASSET

CLASSIFICATION_ASSET variable

Signature:

CLASSIFICATION_ASSET = "asset"

Home > @acoustic-content-sdk/api > CLASSIFICATION_CONTENT_TYPE

CLASSIFICATION_CONTENT_TYPE variable

Signature:

CLASSIFICATION_CONTENT_TYPE = "content-type"

Home > @acoustic-content-sdk/api > CLASSIFICATION_CONTENT

CLASSIFICATION_CONTENT variable

Signature:

CLASSIFICATION_CONTENT = "content"

Home > @acoustic-content-sdk/api > CLASSIFICATION_LAYOUT_MAPPING

CLASSIFICATION_LAYOUT_MAPPING variable

Signature:

CLASSIFICATION_LAYOUT_MAPPING = "layout-mapping"

Home > @acoustic-content-sdk/api > CLASSIFICATION_LAYOUT

CLASSIFICATION_LAYOUT variable

Signature:

CLASSIFICATION_LAYOUT = "layout"

Home > @acoustic-content-sdk/api > CLASSIFICATION_PAGE

CLASSIFICATION_PAGE variable

Signature:

CLASSIFICATION_PAGE = "page"

Home > @acoustic-content-sdk/api > ELEMENT_TYPE_CATEGORY

ELEMENT_TYPE_CATEGORY variable

Signature:

_ELEMENT_TYPE_CATEGORY = "category"

Home > @acoustic-content-sdk/api > ELEMENT_TYPE_DATE

ELEMENT_TYPE_DATE variable

Signature:

_ELEMENT_TYPE_DATE = "datetime"

Home > @acoustic-content-sdk/api > ELEMENT_TYPE_FILE

ELEMENT_TYPE_FILE variable

Signature:

_ELEMENT_TYPE_FILE = "file"

Home > @acoustic-content-sdk/api > ELEMENT_TYPE_FORMATTED_TEXT

ELEMENT_TYPE_FORMATTED_TEXT variable

Signature:

_ELEMENT_TYPE_FORMATTED_TEXT = "formattedtext"

Home > @acoustic-content-sdk/api > ELEMENT_TYPE_GROUP

ELEMENT_TYPE_GROUP variable

Signature:

_ELEMENT_TYPE_GROUP = "group"

Home > @acoustic-content-sdk/api > ELEMENT_TYPE_IMAGE

ELEMENT_TYPE_IMAGE variable

Signature:

_ELEMENT_TYPE_IMAGE = "image"

Home > @acoustic-content-sdk/api > ELEMENT_TYPE_LINK

Signature:

_ELEMENT_TYPE_LINK = "link"

Home > @acoustic-content-sdk/api > ELEMENT_TYPE_LOCATION

ELEMENT_TYPE_LOCATION variable

Signature:

_ELEMENT_TYPE_LOCATION = "location"

Home > @acoustic-content-sdk/api > ELEMENT_TYPE_NUMBER

ELEMENT_TYPE_NUMBER variable

Signature:

_ELEMENT_TYPE_NUMBER = "number"

Home > @acoustic-content-sdk/api > ELEMENT_TYPE_OPTION_SELECTION

ELEMENT_TYPE_OPTION_SELECTION variable

Signature:

_ELEMENT_TYPE_OPTION_SELECTION = "optionselection"

Home > @acoustic-content-sdk/api > ELEMENT_TYPE_PRODUCT

ELEMENT_TYPE_PRODUCT variable

Signature:

_ELEMENT_TYPE_PRODUCT = "product"

Home > @acoustic-content-sdk/api > ELEMENT_TYPE_REFERENCE

ELEMENT_TYPE_REFERENCE variable

Signature:

_ELEMENT_TYPE_REFERENCE = "reference"

Home > @acoustic-content-sdk/api > ELEMENT_TYPE_TEXT

ELEMENT_TYPE_TEXT variable

Signature:

_ELEMENT_TYPE_TEXT = "text"

Home > @acoustic-content-sdk/api > ELEMENT_TYPE_TOGGLE

ELEMENT_TYPE_TOGGLE variable

Signature:

_ELEMENT_TYPE_TOGGLE = "toggle"

Home > @acoustic-content-sdk/api > ELEMENT_TYPE_VARIABLE

ELEMENT_TYPE_VARIABLE variable

Signature:

_ELEMENT_TYPE_VARIABLE = "variabletype"

Home > @acoustic-content-sdk/api > ELEMENT_TYPE_VIDEO

ELEMENT_TYPE_VIDEO variable

Signature:

_ELEMENT_TYPE_VIDEO = "video"

Home > @acoustic-content-sdk/api > HEADER_BASICAUTH_TENANT_ID

HEADER_BASICAUTH_TENANT_ID variable

Signature:

HEADER_BASICAUTH_TENANT_ID = "x-ibm-dx-tenant-id"

Home > @acoustic-content-sdk/api > KEY_ACCEPT_PRIVACY_NOTICE

KEY_ACCEPT_PRIVACY_NOTICE variable

Signature:

KEY_ACCEPT_PRIVACY_NOTICE = "accept-privacy-notice"

Home > @acoustic-content-sdk/api > KEY_ACCESSOR

KEY_ACCESSOR variable

Signature:

KEY_ACCESSOR = "accessor"

Home > @acoustic-content-sdk/api > KEY_ACOUSTIC_SEED

KEY_ACOUSTIC_SEED variable

Signature:

KEY_ACOUSTIC_SEED = "-wch-seed"

Home > @acoustic-content-sdk/api > KEY_BASICAUTH_LOGIN_PASSWORD

KEY_BASICAUTH_LOGIN_PASSWORD variable

Signature:

KEY_BASICAUTH_LOGIN_PASSWORD = "j_password"

Home > @acoustic-content-sdk/api > KEY_BASICAUTH_LOGIN_USERNAME

KEY_BASICAUTH_LOGIN_USERNAME variable

Signature:

KEY_BASICAUTH_LOGIN_USERNAME = "j_username"

Home > @acoustic-content-sdk/api > KEY_CREATOR_ID

KEY_CREATOR_ID variable

Signature:

KEY_CREATOR_ID = "creatorId"

Home > @acoustic-content-sdk/api > KEY_ELEMENT_TYPE

KEY_ELEMENT_TYPE variable

Signature:

KEY_ELEMENT_TYPE = "elementType"

Home > @acoustic-content-sdk/api > KEY_ID

KEY_ID variable

Signature:

KEY_ID = "id"

Home > @acoustic-content-sdk/api > KEY_METADATA

KEY_METADATA variable

Signature:

KEY_METADATA: keyof DeliveryReferenceElement

Home > @acoustic-content-sdk/api > KEY_NAME

KEY_NAME variable

Signature:

KEY_NAME = "name"

Home > @acoustic-content-sdk/api > KEY_STATUS

KEY_STATUS variable

Signature:

KEY_STATUS = "status"

Home > @acoustic-content-sdk/api > KEY_TYPE_ID

KEY_TYPE_ID variable

Signature:

KEY_TYPE_ID = "typeId"

Home > @acoustic-content-sdk/api > KEY_TYPE_REF

KEY_TYPE_REF variable

Signature:

KEY_TYPE_REF = "typeRef"

Home > @acoustic-content-sdk/api > KEY_VALUE

KEY_VALUE variable

Signature:

KEY_VALUE = "value"

Home > @acoustic-content-sdk/api > KEY_VALUES

KEY_VALUES variable

Signature:

KEY_VALUES = "values"

Home > @acoustic-content-sdk/api > MODULE

MODULE variable

Module name

Signature:

MODULE = "@acoustic-content-sdk/api"

Home > @acoustic-content-sdk/api > PARAM_REDIRECT_LOGIN_TARGET_TENANT

PARAM_REDIRECT_LOGIN_TARGET_TENANT variable

Signature:

PARAM_REDIRECT_LOGIN_TARGET_TENANT = "targetTenant"

Home > @acoustic-content-sdk/api > PARAM_REDIRECT_LOGIN_TARGET_URL

PARAM_REDIRECT_LOGIN_TARGET_URL variable

Signature:

PARAM_REDIRECT_LOGIN_TARGET_URL = "targetUrl"

Home > @acoustic-content-sdk/api > REGEXP_ANONYMOUS_USER_ID

REGEXP_ANONYMOUS_USER_ID variable

Signature:

REGEXP_ANONYMOUS_USER_ID: RegExp

Home > @acoustic-content-sdk/api > REL_PATH_BASICAUTH_LOGIN

REL_PATH_BASICAUTH_LOGIN variable

Signature:

REL_PATH_BASICAUTH_LOGIN = "login/v1/basicauth"

Home > @acoustic-content-sdk/api > REL_PATH_CURRENT_TENANT

REL_PATH_CURRENT_TENANT variable

Signature:

REL_PATH_CURRENT_TENANT = "registry/v1/currenttenant"

Home > @acoustic-content-sdk/api > REL_PATH_CURRENT_USER

REL_PATH_CURRENT_USER variable

Signature:

REL_PATH_CURRENT_USER = "user-profile/v1/users/currentuser"

Home > @acoustic-content-sdk/api > REL_PATH_REDIRECT_LOGIN

REL_PATH_REDIRECT_LOGIN variable

Signature:

REL_PATH_REDIRECT_LOGIN = "login/v1/redirect"

Home > @acoustic-content-sdk/api > REL_PATH_REMOVECOOKIES

REL_PATH_REMOVECOOKIES variable

Signature:

REL_PATH_REMOVECOOKIES = "login/v1/removecookies"

Home > @acoustic-content-sdk/api > REL_PATH_TYPE_BY_ID

REL_PATH_TYPE_BY_ID variable

Signature:

REL_PATH_TYPE_BY_ID = "authoring/v1/types/"

Home > @acoustic-content-sdk/api > SDK_ACTIVE_ROUTE_EVENT_TYPE

SDK_ACTIVE_ROUTE_EVENT_TYPE variable

Event sent to denote a modification of the active route

Signature:

SDK_ACTIVE_ROUTE_EVENT_TYPE = "WchSdk.router.activeRoute"

Home > @acoustic-content-sdk/api > SDK_MODE_EVENT_TYPE

SDK_MODE_EVENT_TYPE variable

Event sent to denote the active mode

Signature:

SDK_MODE_EVENT_TYPE = "WchSdk.mode"

Home > @acoustic-content-sdk/api > SDK_NAVIGATE_BY_PATH_EVENT_TYPE

SDK_NAVIGATE_BY_PATH_EVENT_TYPE variable

Event that triggers a navigation

Signature:

SDK_NAVIGATE_BY_PATH_EVENT_TYPE = "WchSdk.router.navigateByPath"

Home > @acoustic-content-sdk/api > SDK_REFRESH_EVENT_TYPE

SDK_REFRESH_EVENT_TYPE variable

Event that triggers a refresh

Signature:

SDK_REFRESH_EVENT_TYPE = "WchSdk.refresh"

Home > @acoustic-content-sdk/api > SDK_ROUTE_EVENT_TYPE

SDK_ROUTE_EVENT_TYPE variable

Event sent to denote a modification of the route

Signature:

SDK_ROUTE_EVENT_TYPE = "WchSdk.router.route"

Home > @acoustic-content-sdk/api > SDK_SET_MODE_EVENT_TYPE

SDK_SET_MODE_EVENT_TYPE variable

Event that modifies the SDK mode between using public or private routes

Signature:

SDK_SET_MODE_EVENT_TYPE = "WchSdk.setMode"

Home > @acoustic-content-sdk/api > SDK_SUBSCRIBE_ACTIVE_ROUTE_EVENT_TYPE

SDK_SUBSCRIBE_ACTIVE_ROUTE_EVENT_TYPE variable

Event that subscribes a listener for an active route

Signature:

SDK_SUBSCRIBE_ACTIVE_ROUTE_EVENT_TYPE = "WchSdk.router.activeRoute.subscribe"

Home > @acoustic-content-sdk/api > SDK_SUBSCRIBE_MODE_EVENT_TYPE

SDK_SUBSCRIBE_MODE_EVENT_TYPE variable

Event that subscribes a listener for modes

Signature:

SDK_SUBSCRIBE_MODE_EVENT_TYPE = "WchSdk.mode.subscribe"

Home > @acoustic-content-sdk/api > SDK_SUBSCRIBE_ROUTE_EVENT_TYPE

SDK_SUBSCRIBE_ROUTE_EVENT_TYPE variable

Event that subscribes a listener for a specific route

Signature:

SDK_SUBSCRIBE_ROUTE_EVENT_TYPE = "WchSdk.router.route.subscribe"

Home > @acoustic-content-sdk/api > SDK_UNSUBSCRIBE_EVENT_TYPE

SDK_UNSUBSCRIBE_EVENT_TYPE variable

Event that unsubscribes a listener

Signature:

SDK_UNSUBSCRIBE_EVENT_TYPE = "WchSdk.unsubscribe"

Home > @acoustic-content-sdk/api > SEARCH_FL_DOCUMENT

SEARCH_FL_DOCUMENT variable

Constant to get the full document from the search result

Signature:

SEARCH_FL_DOCUMENT = "document:[json]"

Home > @acoustic-content-sdk/api > VALUE_ACCEPT_PRIVACY_NOTICE

VALUE_ACCEPT_PRIVACY_NOTICE variable

Signature:

VALUE_ACCEPT_PRIVACY_NOTICE = "true"

Home > @acoustic-content-sdk/api > VERSION

VERSION variable

Version and build number of the package

Signature:

VERSION: {
    version: {
        major: string;
        minor: string;
        patch: string;
        branch: string;
    };
    build: Date;
}

Home > @acoustic-content-sdk/api > AUTHORING_CONTENT_ITEM_KIND

AUTHORING_CONTENT_ITEM_KIND type

Signature:

export declare type AUTHORING_CONTENT_ITEM_KIND = 'page' | 'landing-page' | 'catalog-page' | 'email' | 'sample';

Home > @acoustic-content-sdk/api > AUTHORING_ELEMENT_DATETIME_SEARCH_KEY

AUTHORING_ELEMENT_DATETIME_SEARCH_KEY type

Signature:

export declare type AUTHORING_ELEMENT_DATETIME_SEARCH_KEY = 'date1' | 'date2' | 'sortableDate1' | 'sortableDate2';

Home > @acoustic-content-sdk/api > AUTHORING_ELEMENT_FILE_TYPE

AUTHORING_ELEMENT_FILE_TYPE type

Signature:

export declare type AUTHORING_ELEMENT_FILE_TYPE = 'plain-text' | 'presentation' | 'rich-document' | 'spreadsheet' | 'pdf-document';

Home > @acoustic-content-sdk/api > AUTHORING_ELEMENT_IMAGE_TYPE

AUTHORING_ELEMENT_IMAGE_TYPE type

Signature:

export declare type AUTHORING_ELEMENT_IMAGE_TYPE = 'jpg' | 'jpeg' | 'png' | 'gif' | 'svg';

Home > @acoustic-content-sdk/api > AUTHORING_ELEMENT_LOCATION_SEARCH_KEY

AUTHORING_ELEMENT_LOCATION_SEARCH_KEY type

Signature:

export declare type AUTHORING_ELEMENT_LOCATION_SEARCH_KEY = 'location1';

Home > @acoustic-content-sdk/api > AUTHORING_ELEMENT_NUMBER_SEARCH_KEY

AUTHORING_ELEMENT_NUMBER_SEARCH_KEY type

Signature:

export declare type AUTHORING_ELEMENT_NUMBER_SEARCH_KEY = 'number1' | 'number2' | 'sortableNumber1' | 'sortableNumber2';

Home > @acoustic-content-sdk/api > AUTHORING_ELEMENT_ROLE

AUTHORING_ELEMENT_ROLE type

Signature:

export declare type AUTHORING_ELEMENT_ROLE = 'content' | 'configuration';

Home > @acoustic-content-sdk/api > AUTHORING_ELEMENT_TEXT_SEARCH_KEY

AUTHORING_ELEMENT_TEXT_SEARCH_KEY type

Signature:

export declare type AUTHORING_ELEMENT_TEXT_SEARCH_KEY = 'string1' | 'string2' | 'string3' | 'string4' | 'sortableString1' | 'sortableString2' | 'sortableString3' | 'sortableString4';

Home > @acoustic-content-sdk/api > AUTHORING_ELEMENT_TOGGLE_SEARCH_KEY

AUTHORING_ELEMENT_TOGGLE_SEARCH_KEY type

Signature:

export declare type AUTHORING_ELEMENT_TOGGLE_SEARCH_KEY = 'boolean1' | 'boolean2';

Home > @acoustic-content-sdk/api > AUTHORING_ELEMENT_VIDEO_TYPE

AUTHORING_ELEMENT_VIDEO_TYPE type

Signature:

export declare type AUTHORING_ELEMENT_VIDEO_TYPE = 'mp4' | 'mov';

Home > @acoustic-content-sdk/api > AUTHORING_TYPE_KIND

AUTHORING_TYPE_KIND type

Possible values kind

Signature:

export declare type AUTHORING_TYPE_KIND = 'standalone' | 'page' | 'embedded' | 'landing-page' | 'catalog-page' | 'custom-ui' | 'email';

Home > @acoustic-content-sdk/api > CONTENT_ITEM_KIND

CONTENT_ITEM_KIND type

Signature:

export declare type CONTENT_ITEM_KIND = AUTHORING_CONTENT_ITEM_KIND;

Home > @acoustic-content-sdk/api > DeliveryDateElement

DeliveryDateElement type

Signature:

export declare type DeliveryDateElement = string;

Home > @acoustic-content-sdk/api > DeliveryElement

DeliveryElement type

Signature:

export declare type DeliveryElement = SingleDeliveryElements | MultiDeliveryElements;

Home > @acoustic-content-sdk/api > DeliveryFileAsset

DeliveryFileAsset type

Signature:

export declare type DeliveryFileAsset = DeliveryAsset;

Home > @acoustic-content-sdk/api > DeliveryFormattedTextElement

DeliveryFormattedTextElement type

Signature:

export declare type DeliveryFormattedTextElement = string;

Home > @acoustic-content-sdk/api > DeliveryImageMode

DeliveryImageMode type

Signature:

export declare type DeliveryImageMode = 'shared' | 'snapshot';

Home > @acoustic-content-sdk/api > DeliveryImageScale

DeliveryImageScale type

Signature:

export declare type DeliveryImageScale = number;

Home > @acoustic-content-sdk/api > DeliveryLayout

DeliveryLayout type

Signature:

export declare type DeliveryLayout = AuthoringLayoutItem;

Home > @acoustic-content-sdk/api > DeliveryLayoutMapping

DeliveryLayoutMapping type

Signature:

export declare type DeliveryLayoutMapping = AuthoringLayoutMapping;

Home > @acoustic-content-sdk/api > DeliveryNumberElement

DeliveryNumberElement type

Signature:

export declare type DeliveryNumberElement = number;

Home > @acoustic-content-sdk/api > DeliveryOptionsElement

DeliveryOptionsElement type

Signature:

export declare type DeliveryOptionsElement = string;

Home > @acoustic-content-sdk/api > DeliverySelectedLayouts

DeliverySelectedLayouts type

Signature:

export declare type DeliverySelectedLayouts = DeliverySelectedLayout[];

Home > @acoustic-content-sdk/api > DeliveryTextElement

DeliveryTextElement type

Signature:

export declare type DeliveryTextElement = string;

Home > @acoustic-content-sdk/api > DeliveryToggleElement

DeliveryToggleElement type

Signature:

export declare type DeliveryToggleElement = boolean;

Home > @acoustic-content-sdk/api > DeliveryType

DeliveryType type

Signature:

export declare type DeliveryType = AuthoringType;

Home > @acoustic-content-sdk/api > ELEMENT_TYPE

ELEMENT_TYPE type

Signature:

export declare type ELEMENT_TYPE = 'text' | 'number' | 'toggle' | 'formattedtext' | 'link' | 'datetime' | 'file' | 'video' | 'image' | 'reference' | 'category' | 'location' | 'optionselection' | 'group' | 'variabletype' | 'product';

Home > @acoustic-content-sdk/api > Element

Element type

An element is one of the following

Signature:

export declare type Element = LocationElement | SingleReferenceElement | MultiReferenceElement | SingleImageElement | MultiImageElement | SingleVideoElement | MultiVideoElement | SingleFileElement | MultiFileElement | SingleToggleElement | MultiToggleElement | SingleTextElement | MultiTextElement | SingleProductElement | MultiProductElement | SingleNumberElement | MultiNumberElement | SingleLinkElement | MultiLinkElement | SingleFormattedTextElement | MultiFormattedTextElement | SingleOptionSelectionElement | MultiOptionSelectionElement | SingleDateElement | MultiDateElement | SingleGroupElement | MultiGroupElement;

Home > @acoustic-content-sdk/api > GroupType

GroupType type

Signature:

export declare type GroupType = ElementMap<SimpleType>;

Home > @acoustic-content-sdk/api > HubInfoUrlProvider

HubInfoUrlProvider type

Signature:

export declare type HubInfoUrlProvider = null | undefined | StaticHubInfoUrlProvider | ObservableInput<StaticHubInfoUrlProvider>;

Home > @acoustic-content-sdk/api > Layouts

Layouts type

Ordering of the layouts per layout mode

Signature:

export declare type Layouts = Record<string, Layout>;

Home > @acoustic-content-sdk/api > Locale

Locale type

Helper type to identify a locale in the interfaces

Signature:

export declare type Locale = string;

Home > @acoustic-content-sdk/api > Localized

Localized type

Object supporting localizations

Signature:

export declare type Localized = LocalizedText[];

Home > @acoustic-content-sdk/api > LocalizedContext

LocalizedContext type

Localization context that describes the relevance of a locale, this is typically derived from the accept language header

Signature:

export declare type LocalizedContext = Record<Locale, number>;

Home > @acoustic-content-sdk/api > LocalizedText

LocalizedText type

Text with attached locale

Signature:

export declare type LocalizedText = [string, Locale];

Home > @acoustic-content-sdk/api > MultiDeliveryElements

MultiDeliveryElements type

Signature:

export declare type MultiDeliveryElements = DeliveryCategoryElement | DeliveryImageElement[] | DeliveryCategoryElement[] | DeliveryLinkElement[] | DeliveryGroupElement[] | DeliveryReferenceElement[] | DeliveryFileElement[] | DeliveryDateElement[] | DeliveryNumberElement[] | DeliveryFormattedTextElement[] | DeliveryTextElement[] | DeliveryToggleElement[] | DeliveryVideoElement[] | DeliveryOptionsElement[];

Home > @acoustic-content-sdk/api > MultiRenderingContextElements

MultiRenderingContextElements type

Signature:

export declare type MultiRenderingContextElements = Exclude<MultiDeliveryElements, DeliveryGroupElement[] | DeliveryReferenceElement[]> | RenderingContextGroupElement[] | RenderingContextReferenceElement[];

Home > @acoustic-content-sdk/api > QueryInput

QueryInput type

Signature:

export declare type QueryInput = string | string[] | null | undefined | URLSearchParams | Query;

Home > @acoustic-content-sdk/api > QueryValue

QueryValue type

acceptable values for

Signature:

export declare type QueryValue = string | number | boolean;

Home > @acoustic-content-sdk/api > RenderingContextElements

RenderingContextElements type

Signature:

export declare type RenderingContextElements = SingleRenderingContextElements | MultiRenderingContextElements;

Home > @acoustic-content-sdk/api > SdkMessageHandlerCallback

SdkMessageHandlerCallback type

Signature:

export declare type SdkMessageHandlerCallback = (aPayload: SdkMessagePayload, aEvent: MessageEvent) => PromiseLike<SdkMessagePayload> | SdkMessagePayload | null | undefined;

Home > @acoustic-content-sdk/api > SimpleType

SimpleType type

Signature:

export declare type SimpleType = string | string[] | number | number[] | Image | Image[] | Date | Date[] | Video | Video[] | File | File[] | boolean | boolean[] | Link | Link[] | OptionSelection | OptionSelection[] | RenderingContext | RenderingContext[] | Category | Location | {
    readonly [key: string]: SimpleType;
};

Home > @acoustic-content-sdk/api > SingleDeliveryElements

SingleDeliveryElements type

Signature:

export declare type SingleDeliveryElements = DeliveryImageElement | DeliveryLinkElement | DeliveryGroupElement | DeliveryReferenceElement | DeliveryFileElement | DeliveryDateElement | DeliveryNumberElement | DeliveryFormattedTextElement | DeliveryTextElement | DeliveryToggleElement | DeliveryVideoElement | DeliveryLocationElement | DeliveryOptionsElement;

Home > @acoustic-content-sdk/api > SingleRenderingContextElements

SingleRenderingContextElements type

Signature:

export declare type SingleRenderingContextElements = Exclude<SingleDeliveryElements, DeliveryGroupElement | DeliveryReferenceElement> | RenderingContextGroupElement | RenderingContextReferenceElement;

Home > @acoustic-content-sdk/api > SiteNavigation

SiteNavigation type

The list of root pages

Signature:

export declare type SiteNavigation = SiteNavigationPage[];

Home > @acoustic-content-sdk/api > StaticHubInfoUrlProvider

StaticHubInfoUrlProvider type

Defines the provider of a URL, either as a URL, a string or a callback that generates either

Signature:

export declare type StaticHubInfoUrlProvider = null | undefined | URL | string | (() => StaticHubInfoUrlProvider);

Home > @acoustic-content-sdk/api > AbstractElement > elementType

AbstractElement.elementType property

Signature:

readonly elementType: ELEMENT_TYPE;

Home > @acoustic-content-sdk/api > ActivePage > onRenderingContext

ActivePage.onRenderingContext property

Retrieves the rendering context for the content item rendered for the currently selected page.

Signature:

onRenderingContext: Observable<RenderingContext>;

Home > @acoustic-content-sdk/api > ActivePageV2 > renderingContext$

ActivePageV2.renderingContext$ property

Retrieves the rendering context for the content item rendered for the currently selected page.

Signature:

renderingContext$: Observable<RenderingContextV2>;

Home > @acoustic-content-sdk/api > Asset > altText

Asset.altText property

Signature:

readonly altText?: string;

Home > @acoustic-content-sdk/api > Asset > fileName

Asset.fileName property

Signature:

readonly fileName: string;

Home > @acoustic-content-sdk/api > Asset > fileSize

Asset.fileSize property

Signature:

readonly fileSize: number;

Home > @acoustic-content-sdk/api > Asset > height

Asset.height property

Signature:

readonly height: number;

Home > @acoustic-content-sdk/api > Asset > id

Asset.id property

Signature:

readonly id: string;

Home > @acoustic-content-sdk/api > Asset > mediaType

Asset.mediaType property

Signature:

readonly mediaType: string;

Home > @acoustic-content-sdk/api > Asset > resourceUri

Asset.resourceUri property

Signature:

readonly resourceUri: string;

Home > @acoustic-content-sdk/api > Asset > width

Asset.width property

added by delivery

Signature:

readonly width: number;

Home > @acoustic-content-sdk/api > AssetPublishApproval > enabled

AssetPublishApproval.enabled property

True if mandatory approval is enabled

Signature:

enabled?: boolean;

Home > @acoustic-content-sdk/api > AssetPublishApproval > exemptAssetTypes

AssetPublishApproval.exemptAssetTypes property

Signature:

exemptAssetTypes: string[];

Home > @acoustic-content-sdk/api > AuthoringAsset > altText

AuthoringAsset.altText property

Signature:

readonly altText?: string;

Home > @acoustic-content-sdk/api > AuthoringAsset > assetType

AuthoringAsset.assetType property

Signature:

readonly assetType?: string;

Home > @acoustic-content-sdk/api > AuthoringAsset > caption

AuthoringAsset.caption property

Signature:

readonly caption?: string;

Home > @acoustic-content-sdk/api > AuthoringAsset > classification

AuthoringAsset.classification property

The classification defines the document type. For content items, all documents are classified as "content".

Signature:

readonly classification: 'asset';

Home > @acoustic-content-sdk/api > AuthoringAsset > digest

AuthoringAsset.digest property

Signature:

readonly digest?: string;

Home > @acoustic-content-sdk/api > AuthoringAsset > fileName

AuthoringAsset.fileName property

Signature:

readonly fileName?: string;

Home > @acoustic-content-sdk/api > AuthoringAsset > fileSize

AuthoringAsset.fileSize property

Signature:

readonly fileSize?: number;

Home > @acoustic-content-sdk/api > AuthoringAsset > isManaged

AuthoringAsset.isManaged property

Signature:

readonly isManaged: boolean;

Home > @acoustic-content-sdk/api > AuthoringAsset > mediaType

AuthoringAsset.mediaType property

Signature:

readonly mediaType?: string;

Home > @acoustic-content-sdk/api > AuthoringAsset > metadata

AuthoringAsset.metadata property

Signature:

readonly metadata?: AuthoringAssetMetadata;

Home > @acoustic-content-sdk/api > AuthoringAsset > path

AuthoringAsset.path property

Signature:

readonly path: string;

Home > @acoustic-content-sdk/api > AuthoringAsset > profileRenditions

AuthoringAsset.profileRenditions property

Signature:

readonly profileRenditions?: AuthoringAssetProfileRendition[];

Home > @acoustic-content-sdk/api > AuthoringAsset > resource

AuthoringAsset.resource property

Signature:

readonly resource: string;

Home > @acoustic-content-sdk/api > AuthoringAssetMetadata > camera

AuthoringAssetMetadata.camera property

Signature:

readonly camera?: any;

Home > @acoustic-content-sdk/api > AuthoringAssetMetadata > coverage

AuthoringAssetMetadata.coverage property

Signature:

readonly coverage?: any;

Home > @acoustic-content-sdk/api > AuthoringAssetMetadata > creator

AuthoringAssetMetadata.creator property

Signature:

readonly creator?: string;

Home > @acoustic-content-sdk/api > AuthoringAssetMetadata > description

AuthoringAssetMetadata.description property

Signature:

readonly description?: string;

Home > @acoustic-content-sdk/api > AuthoringAssetMetadata > headline

AuthoringAssetMetadata.headline property

Signature:

readonly headline?: string;

Home > @acoustic-content-sdk/api > AuthoringAssetMetadata > heigth

AuthoringAssetMetadata.heigth property

Signature:

readonly heigth?: number;

Home > @acoustic-content-sdk/api > AuthoringAssetMetadata > publisher

AuthoringAssetMetadata.publisher property

Signature:

readonly publisher?: string;

Home > @acoustic-content-sdk/api > AuthoringAssetMetadata > rights

AuthoringAssetMetadata.rights property

Signature:

readonly rights?: string;

Home > @acoustic-content-sdk/api > AuthoringAssetMetadata > source

AuthoringAssetMetadata.source property

Signature:

readonly source?: string;

Home > @acoustic-content-sdk/api > AuthoringAssetMetadata > subject

AuthoringAssetMetadata.subject property

Signature:

readonly subject?: string[];

Home > @acoustic-content-sdk/api > AuthoringAssetMetadata > title

AuthoringAssetMetadata.title property

Signature:

readonly title?: string;

Home > @acoustic-content-sdk/api > AuthoringAssetMetadata > width

AuthoringAssetMetadata.width property

Signature:

readonly width?: number;

Home > @acoustic-content-sdk/api > AuthoringAssetProfileRendition > height

AuthoringAssetProfileRendition.height property

Signature:

readonly height: number;

Home > @acoustic-content-sdk/api > AuthoringAssetProfileRendition > key

AuthoringAssetProfileRendition.key property

Signature:

readonly key: string;

Home > @acoustic-content-sdk/api > AuthoringAssetProfileRendition > profileId

AuthoringAssetProfileRendition.profileId property

Signature:

readonly profileId: string;

Home > @acoustic-content-sdk/api > AuthoringAssetProfileRendition > transform

AuthoringAssetProfileRendition.transform property

Signature:

readonly transform: any;

Home > @acoustic-content-sdk/api > AuthoringAssetProfileRendition > uri

AuthoringAssetProfileRendition.uri property

Signature:

readonly uri: string;

Home > @acoustic-content-sdk/api > AuthoringAssetProfileRendition > width

AuthoringAssetProfileRendition.width property

Signature:

readonly width: number;

Home > @acoustic-content-sdk/api > AuthoringCommerceProductCategoryElement > elementType

AuthoringCommerceProductCategoryElement.elementType property

Signature:

elementType: 'productcategory';

Home > @acoustic-content-sdk/api > AuthoringCommerceProductCategoryElement > restrictedParent

AuthoringCommerceProductCategoryElement.restrictedParent property

Signature:

restrictedParent?: string;

Home > @acoustic-content-sdk/api > AuthoringCommerceProductCategoryElement > searchKey

AuthoringCommerceProductCategoryElement.searchKey property

Signature:

searchKey?: AUTHORING_ELEMENT_TEXT_SEARCH_KEY;

Home > @acoustic-content-sdk/api > AuthoringCommerceProductElement > elementType

AuthoringCommerceProductElement.elementType property

Signature:

elementType: 'product';

Home > @acoustic-content-sdk/api > AuthoringCommerceProductElement > restrictedCategories

AuthoringCommerceProductElement.restrictedCategories property

Signature:

restrictedCategories?: string[];

Home > @acoustic-content-sdk/api > AuthoringCommerceProductElement > searchKey

AuthoringCommerceProductElement.searchKey property

Signature:

searchKey?: AUTHORING_ELEMENT_TEXT_SEARCH_KEY;

Home > @acoustic-content-sdk/api > AuthoringCategoryElement > elementType

AuthoringCategoryElement.elementType property

Signature:

elementType: 'category';

Home > @acoustic-content-sdk/api > AuthoringCategoryElement > restrictedParents

AuthoringCategoryElement.restrictedParents property

Signature:

restrictedParents?: string[];

Home > @acoustic-content-sdk/api > AuthoringCategoryElement > searchKey

AuthoringCategoryElement.searchKey property

Signature:

searchKey?: AUTHORING_ELEMENT_TEXT_SEARCH_KEY;

Home > @acoustic-content-sdk/api > AuthoringContentItem > classification

AuthoringContentItem.classification property

Signature:

classification: 'content';

Home > @acoustic-content-sdk/api > AuthoringContentItem > deliveryAccess

AuthoringContentItem.deliveryAccess property

Signature:

deliveryAccess?: 'secured';

Home > @acoustic-content-sdk/api > AuthoringContentItem > draftStatus

AuthoringContentItem.draftStatus property

Signature:

draftStatus?: DraftStatus;

Home > @acoustic-content-sdk/api > AuthoringContentItem > elements

AuthoringContentItem.elements property

Signature:

elements?: Record<string, any>;

Home > @acoustic-content-sdk/api > AuthoringContentItem > form

AuthoringContentItem.form property

Signature:

form?: any[];

Home > @acoustic-content-sdk/api > AuthoringContentItem > id

AuthoringContentItem.id property

Signature:

id: string;

Home > @acoustic-content-sdk/api > AuthoringContentItem > keywords

AuthoringContentItem.keywords property

Signature:

keywords?: string[];

Home > @acoustic-content-sdk/api > AuthoringContentItem > kind

AuthoringContentItem.kind property

Signature:

kind?: AUTHORING_CONTENT_ITEM_KIND[];

Home > @acoustic-content-sdk/api > AuthoringContentItem > lastModified

AuthoringContentItem.lastModified property

Signature:

lastModified?: string;

Home > @acoustic-content-sdk/api > AuthoringContentItem > lastModifier

AuthoringContentItem.lastModifier property

Signature:

lastModifier?: string;

Home > @acoustic-content-sdk/api > AuthoringContentItem > lastModifierId

AuthoringContentItem.lastModifierId property

Signature:

lastModifierId?: string;

Home > @acoustic-content-sdk/api > AuthoringContentItem > linkedDocId

AuthoringContentItem.linkedDocId property

Signature:

linkedDocId?: string;

Home > @acoustic-content-sdk/api > AuthoringContentItem > links

Signature:

links?: Record<string, any>;

Home > @acoustic-content-sdk/api > AuthoringContentItem > locale

AuthoringContentItem.locale property

Signature:

locale?: string;

Home > @acoustic-content-sdk/api > AuthoringContentItem > projectId

AuthoringContentItem.projectId property

Signature:

projectId?: string;

Home > @acoustic-content-sdk/api > AuthoringContentItem > projects

AuthoringContentItem.projects property

Signature:

projects?: string[];

Home > @acoustic-content-sdk/api > AuthoringContentItem > publishing

AuthoringContentItem.publishing property

Signature:

publishing?: Record<string, any>;

Home > @acoustic-content-sdk/api > AuthoringContentItem > review

AuthoringContentItem.review property

Signature:

review?: Record<string, any>;

Home > @acoustic-content-sdk/api > AuthoringContentItem > reviewHistory

AuthoringContentItem.reviewHistory property

Signature:

reviewHistory?: string[];

Home > @acoustic-content-sdk/api > AuthoringContentItem > reviewId

AuthoringContentItem.reviewId property

Signature:

reviewId?: string;

Home > @acoustic-content-sdk/api > AuthoringContentItem > schema

AuthoringContentItem.schema property

Signature:

schema?: Record<string, any>;

Home > @acoustic-content-sdk/api > AuthoringContentItem > selectedLayouts

AuthoringContentItem.selectedLayouts property

Signature:

selectedLayouts?: AuthoringSelectedLayout[];

Home > @acoustic-content-sdk/api > AuthoringContentItem > status

AuthoringContentItem.status property

Signature:

status: Status;

Home > @acoustic-content-sdk/api > AuthoringContentItem > systemModified

AuthoringContentItem.systemModified property

Signature:

systemModified?: string;

Home > @acoustic-content-sdk/api > AuthoringContentItem > tags

AuthoringContentItem.tags property

Signature:

tags?: string[];

Home > @acoustic-content-sdk/api > AuthoringContentItem > thumbnail

AuthoringContentItem.thumbnail property

Signature:

thumbnail?: AuthoringContentItemThumbnail;

Home > @acoustic-content-sdk/api > AuthoringContentItem > type

AuthoringContentItem.type property

Signature:

type?: string;

Home > @acoustic-content-sdk/api > AuthoringContentItem > typeId

AuthoringContentItem.typeId property

Signature:

typeId: string;

Home > @acoustic-content-sdk/api > AuthoringContentItem > valid

AuthoringContentItem.valid property

Signature:

valid?: boolean;

Home > @acoustic-content-sdk/api > AuthoringContentItemThumbnail > id

AuthoringContentItemThumbnail.id property

Signature:

id: string;

Home > @acoustic-content-sdk/api > AuthoringContentThumbnail > imageElement

AuthoringContentThumbnail.imageElement property

Signature:

imageElement?: string;

Home > @acoustic-content-sdk/api > AuthoringContentThumbnail > source

AuthoringContentThumbnail.source property

Signature:

source: 'imageElementOrType' | 'imageElement' | 'type' | 'none';

Home > @acoustic-content-sdk/api > AuthoringDatetimeElement > elementType

AuthoringDatetimeElement.elementType property

Signature:

elementType: 'datetime';

Home > @acoustic-content-sdk/api > AuthoringDatetimeElement > fieldType

AuthoringDatetimeElement.fieldType property

Signature:

fieldType?: 'date' | 'date-time';

Home > @acoustic-content-sdk/api > AuthoringDatetimeElement > searchKey

AuthoringDatetimeElement.searchKey property

Signature:

searchKey?: AUTHORING_ELEMENT_DATETIME_SEARCH_KEY;

Home > @acoustic-content-sdk/api > AuthoringElement > allowMultipleValues

AuthoringElement.allowMultipleValues property

Indicates whether content items using this content-type can contain multiple values of this element. Valid for all element types except category, toggle and location.

Signature:

allowMultipleValues?: boolean;

Home > @acoustic-content-sdk/api > AuthoringElement > elementType

AuthoringElement.elementType property

Specifies the type of this element.

Signature:

elementType: ELEMENT_TYPE | 'productcategory' | 'product';

Home > @acoustic-content-sdk/api > AuthoringElement > fieldLabel

AuthoringElement.fieldLabel property

When allowMultipleValues is true, specifies a display name for each value within the multi valued list.

Signature:

fieldLabel?: string;

Home > @acoustic-content-sdk/api > AuthoringElement > helpText

AuthoringElement.helpText property

The informational text to show the content author when setting the value of this element.

Signature:

helpText?: string;

Home > @acoustic-content-sdk/api > AuthoringElement > key

AuthoringElement.key property

The element identifer. Within content items, elements are referred to by key only.

Signature:

key: string;

Home > @acoustic-content-sdk/api > AuthoringElement > label

AuthoringElement.label property

The display name of the element.

Signature:

label: string;

Home > @acoustic-content-sdk/api > AuthoringElement > maximumValues

AuthoringElement.maximumValues property

When allowMulitpleValues is true, indicates the maximum number of values are that allowed.

Signature:

maximumValues?: number;

Home > @acoustic-content-sdk/api > AuthoringElement > minimumValues

AuthoringElement.minimumValues property

When allowMulitpleValues is true, indicates the minimum number of values are that required.

Signature:

minimumValues?: number;

Home > @acoustic-content-sdk/api > AuthoringElement > placeholder

AuthoringElement.placeholder property

Signature:

placeholder?: AuthoringPlaceholder;

Home > @acoustic-content-sdk/api > AuthoringElement > required

AuthoringElement.required property

Indicates whether content items must specify a value for this element.

Signature:

required?: boolean;

Home > @acoustic-content-sdk/api > AuthoringElement > role

AuthoringElement.role property

Signature:

role?: AUTHORING_ELEMENT_ROLE[];

Home > @acoustic-content-sdk/api > AuthoringElement > uiExtensions

AuthoringElement.uiExtensions property

Signature:

uiExtensions?: AuthoringUiExtensions;

Home > @acoustic-content-sdk/api > AuthoringFileElement > acceptType

AuthoringFileElement.acceptType property

Signature:

acceptType?: AUTHORING_ELEMENT_FILE_TYPE[];

Home > @acoustic-content-sdk/api > AuthoringFileElement > elementType

AuthoringFileElement.elementType property

Signature:

elementType: 'file';

Home > @acoustic-content-sdk/api > AuthoringFileElement > searchKey

AuthoringFileElement.searchKey property

Signature:

searchKey?: AUTHORING_ELEMENT_TEXT_SEARCH_KEY;

Home > @acoustic-content-sdk/api > AuthoringFormattedTextElement > elementType

AuthoringFormattedTextElement.elementType property

Signature:

elementType: 'formattedtext';

Home > @acoustic-content-sdk/api > AuthoringFormattedTextElement > searchKey

AuthoringFormattedTextElement.searchKey property

Signature:

searchKey?: AUTHORING_ELEMENT_TEXT_SEARCH_KEY;

Home > @acoustic-content-sdk/api > AuthoringGroupElement > elements

AuthoringGroupElement.elements property

Signature:

elements?: any[];

Home > @acoustic-content-sdk/api > AuthoringGroupElement > elementType

AuthoringGroupElement.elementType property

Signature:

elementType: 'group';

Home > @acoustic-content-sdk/api > AuthoringGroupElement > icon

AuthoringGroupElement.icon property

Signature:

icon?: ELEMENT_TYPE;

Home > @acoustic-content-sdk/api > AuthoringGroupElement > kind

AuthoringGroupElement.kind property

Signature:

kind?: AUTHORING_TYPE_KIND[];

Home > @acoustic-content-sdk/api > AuthoringGroupElement > typeRef

AuthoringGroupElement.typeRef property

Signature:

typeRef: TypeRef;

Home > @acoustic-content-sdk/api > AuthoringGroup > elementType

AuthoringGroup.elementType property

Signature:

[KEY_ELEMENT_TYPE]: typeof ELEMENT_TYPE_GROUP;

Home > @acoustic-content-sdk/api > AuthoringGroup > typeRef

AuthoringGroup.typeRef property

Signature:

[KEY_TYPE_REF]: AuthoringReferenceValue;

Home > @acoustic-content-sdk/api > AuthoringGroup > value

AuthoringGroup.value property

Signature:

[KEY_VALUE]?: T;

Home > @acoustic-content-sdk/api > AuthoringGroup > values

AuthoringGroup.values property

Signature:

[KEY_VALUES]?: T[];

Home > @acoustic-content-sdk/api > AuthoringImage > elementType

AuthoringImage.elementType property

Signature:

[KEY_ELEMENT_TYPE]: typeof ELEMENT_TYPE_IMAGE;

Home > @acoustic-content-sdk/api > AuthoringImage > values

AuthoringImage.values property

Signature:

[KEY_VALUES]?: Image[];

Home > @acoustic-content-sdk/api > AuthoringImageElement > acceptType

AuthoringImageElement.acceptType property

Signature:

acceptType?: AUTHORING_ELEMENT_IMAGE_TYPE[];

Home > @acoustic-content-sdk/api > AuthoringImageElement > elementType

AuthoringImageElement.elementType property

Signature:

elementType: 'image';

Home > @acoustic-content-sdk/api > AuthoringImageElement > imageProfile

AuthoringImageElement.imageProfile property

Signature:

imageProfile?: Record<string, any>;

Home > @acoustic-content-sdk/api > AuthoringImageElement > imageProfileId

AuthoringImageElement.imageProfileId property

Signature:

imageProfileId?: string;

Home > @acoustic-content-sdk/api > AuthoringImageElement > searchKey

AuthoringImageElement.searchKey property

Signature:

searchKey?: AUTHORING_ELEMENT_TEXT_SEARCH_KEY;

Home > @acoustic-content-sdk/api > AuthoringLayout > classification

AuthoringLayout.classification property

Signature:

classification: 'layout';

Home > @acoustic-content-sdk/api > AuthoringLayout > id

AuthoringLayout.id property

Signature:

id: string;

Home > @acoustic-content-sdk/api > AuthoringLayout > name

AuthoringLayout.name property

Signature:

name?: string;

Home > @acoustic-content-sdk/api > AuthoringLayout > path

AuthoringLayout.path property

Signature:

path?: string;

Home > @acoustic-content-sdk/api > AuthoringLayoutItem > classification

AuthoringLayoutItem.classification property

Signature:

classification: 'layout';

Home > @acoustic-content-sdk/api > AuthoringLayoutItem > id

AuthoringLayoutItem.id property

Signature:

id: string;

Home > @acoustic-content-sdk/api > AuthoringLayoutItem > name

AuthoringLayoutItem.name property

Signature:

name: string;

Home > @acoustic-content-sdk/api > AuthoringLayoutItem > path

AuthoringLayoutItem.path property

Signature:

path?: string;

Home > @acoustic-content-sdk/api > AuthoringLayoutItem > prerender

AuthoringLayoutItem.prerender property

Signature:

prerender?: boolean;

Home > @acoustic-content-sdk/api > AuthoringLayoutItem > urlTemplate

AuthoringLayoutItem.urlTemplate property

Signature:

urlTemplate?: string;

Home > @acoustic-content-sdk/api > AuthoringLayoutMapping > _revisions

AuthoringLayoutMapping._revisions property

Signature:

_revisions?: Record<string, string>;

Home > @acoustic-content-sdk/api > AuthoringLayoutMapping > classification

AuthoringLayoutMapping.classification property

Signature:

classification: 'layout-mapping';

Home > @acoustic-content-sdk/api > AuthoringLayoutMapping > created

AuthoringLayoutMapping.created property

Signature:

created?: string;

Home > @acoustic-content-sdk/api > AuthoringLayoutMapping > creatorId

AuthoringLayoutMapping.creatorId property

Signature:

creatorId?: string;

Home > @acoustic-content-sdk/api > AuthoringLayoutMapping > id

AuthoringLayoutMapping.id property

Signature:

id?: string;

Home > @acoustic-content-sdk/api > AuthoringLayoutMapping > lastModified

AuthoringLayoutMapping.lastModified property

Signature:

lastModified?: string;

Home > @acoustic-content-sdk/api > AuthoringLayoutMapping > lastModifierId

AuthoringLayoutMapping.lastModifierId property

Signature:

lastModifierId?: string;

Home > @acoustic-content-sdk/api > AuthoringLayoutMapping > mappings

AuthoringLayoutMapping.mappings property

Signature:

mappings: AuthoringLayoutMappingMapping[];

Home > @acoustic-content-sdk/api > AuthoringLayoutMapping > name

AuthoringLayoutMapping.name property

Signature:

name: string;

Home > @acoustic-content-sdk/api > AuthoringLayoutMapping > path

AuthoringLayoutMapping.path property

Signature:

path?: string;

Home > @acoustic-content-sdk/api > AuthoringLayoutMapping > rev

AuthoringLayoutMapping.rev property

Signature:

rev?: string;

Home > @acoustic-content-sdk/api > AuthoringLayoutMapping > tags

AuthoringLayoutMapping.tags property

Signature:

tags?: string[];

Home > @acoustic-content-sdk/api > AuthoringLayoutMapping > type

AuthoringLayoutMapping.type property

Signature:

type: AuthoringLayoutMappingType;

Home > @acoustic-content-sdk/api > AuthoringLayoutMappingLayout > id

AuthoringLayoutMappingLayout.id property

Signature:

id: string;

Home > @acoustic-content-sdk/api > AuthoringLayoutMappingLayout > name

AuthoringLayoutMappingLayout.name property

Signature:

name?: string;

Home > @acoustic-content-sdk/api > AuthoringLayoutMappingMapping > defaultLayout

AuthoringLayoutMappingMapping.defaultLayout property

Signature:

defaultLayout: AuthoringLayoutMappingLayout;

Home > @acoustic-content-sdk/api > AuthoringLayoutMappingMapping > layoutMode

AuthoringLayoutMappingMapping.layoutMode property

Signature:

layoutMode?: string;

Home > @acoustic-content-sdk/api > AuthoringLayoutMappingMapping > layouts

AuthoringLayoutMappingMapping.layouts property

Signature:

layouts: AuthoringLayoutMappingLayout[];

Home > @acoustic-content-sdk/api > AuthoringLayoutMappingType > id

AuthoringLayoutMappingType.id property

Signature:

id?: string;

Home > @acoustic-content-sdk/api > AuthoringLayoutMappingType > name

AuthoringLayoutMappingType.name property

Signature:

name?: string;

Home > @acoustic-content-sdk/api > AuthoringLinkElement > elementType

AuthoringLinkElement.elementType property

Signature:

elementType: 'link';

Home > @acoustic-content-sdk/api > AuthoringLinkElement > searchKey

AuthoringLinkElement.searchKey property

Signature:

searchKey?: AUTHORING_ELEMENT_TEXT_SEARCH_KEY;

Home > @acoustic-content-sdk/api > AuthoringLocationElement > elementType

AuthoringLocationElement.elementType property

Signature:

elementType: 'location';

Home > @acoustic-content-sdk/api > AuthoringLocationElement > searchKey

AuthoringLocationElement.searchKey property

Signature:

searchKey?: AUTHORING_ELEMENT_LOCATION_SEARCH_KEY;

Home > @acoustic-content-sdk/api > AuthoringNumberElement > elementType

AuthoringNumberElement.elementType property

Signature:

elementType: 'number';

Home > @acoustic-content-sdk/api > AuthoringNumberElement > fieldType

AuthoringNumberElement.fieldType property

Signature:

fieldType?: 'integer' | 'decimal';

Home > @acoustic-content-sdk/api > AuthoringNumberElement > maximum

AuthoringNumberElement.maximum property

Signature:

maximum?: number;

Home > @acoustic-content-sdk/api > AuthoringNumberElement > minimum

AuthoringNumberElement.minimum property

Signature:

minimum?: number;

Home > @acoustic-content-sdk/api > AuthoringNumberElement > searchKey

AuthoringNumberElement.searchKey property

Signature:

searchKey?: AUTHORING_ELEMENT_NUMBER_SEARCH_KEY;

Home > @acoustic-content-sdk/api > AuthoringOption > label

AuthoringOption.label property

Signature:

label: string;

Home > @acoustic-content-sdk/api > AuthoringOption > selection

AuthoringOption.selection property

Signature:

selection: string;

Home > @acoustic-content-sdk/api > AuthoringOptionSelectionElement > elementType

AuthoringOptionSelectionElement.elementType property

Signature:

elementType: 'optionselection';

Home > @acoustic-content-sdk/api > AuthoringOptionSelectionElement > options

AuthoringOptionSelectionElement.options property

Signature:

options?: AuthoringOption[];

Home > @acoustic-content-sdk/api > AuthoringOptionSelectionElement > restrictedParents

AuthoringOptionSelectionElement.restrictedParents property

Signature:

restrictedParents?: string[];

Home > @acoustic-content-sdk/api > AuthoringOptionSelectionElement > searchKey

AuthoringOptionSelectionElement.searchKey property

Signature:

searchKey?: AUTHORING_ELEMENT_TEXT_SEARCH_KEY;

Home > @acoustic-content-sdk/api > AuthoringPlaceholder > show

AuthoringPlaceholder.show property

Signature:

show?: boolean;

Home > @acoustic-content-sdk/api > AuthoringPlaceholder > text

AuthoringPlaceholder.text property

Signature:

text?: string;

Home > @acoustic-content-sdk/api > AuthoringReference > elementType

AuthoringReference.elementType property

Signature:

[KEY_ELEMENT_TYPE]: typeof ELEMENT_TYPE_REFERENCE;

Home > @acoustic-content-sdk/api > AuthoringReference > value

AuthoringReference.value property

Signature:

[KEY_VALUE]?: AuthoringReferenceValue[];

Home > @acoustic-content-sdk/api > AuthoringReference > values

AuthoringReference.values property

Signature:

[KEY_VALUES]?: AuthoringReferenceValue[];

Home > @acoustic-content-sdk/api > AuthoringReferenceElement > elementType

AuthoringReferenceElement.elementType property

Signature:

elementType: 'reference';

Home > @acoustic-content-sdk/api > AuthoringReferenceElement > restrictTypes

AuthoringReferenceElement.restrictTypes property

Signature:

restrictTypes?: TypeRef;

Home > @acoustic-content-sdk/api > AuthoringReferenceElement > searchKey

AuthoringReferenceElement.searchKey property

Signature:

searchKey?: AUTHORING_ELEMENT_TEXT_SEARCH_KEY;

Home > @acoustic-content-sdk/api > AuthoringReferenceValue > creatorId

AuthoringReferenceValue.creatorId property

Signature:

[KEY_CREATOR_ID]?: string;

Home > @acoustic-content-sdk/api > AuthoringReferenceValue > id

AuthoringReferenceValue.id property

Signature:

[KEY_ID]: string;

Home > @acoustic-content-sdk/api > AuthoringReferenceValue > name

AuthoringReferenceValue.name property

Signature:

[KEY_NAME]?: string;

Home > @acoustic-content-sdk/api > AuthoringReferenceValue > status

AuthoringReferenceValue.status property

Signature:

[KEY_STATUS]?: Status;

Home > @acoustic-content-sdk/api > AuthoringReferenceValue > typeId

AuthoringReferenceValue.typeId property

Signature:

[KEY_TYPE_ID]?: string;

Home > @acoustic-content-sdk/api > AuthoringText > elementType

AuthoringText.elementType property

Signature:

[KEY_ELEMENT_TYPE]: typeof ELEMENT_TYPE_TEXT;

Home > @acoustic-content-sdk/api > AuthoringText > value

AuthoringText.value property

Signature:

[KEY_VALUE]?: string;

Home > @acoustic-content-sdk/api > AuthoringText > values

AuthoringText.values property

Signature:

[KEY_VALUES]?: string[];

Home > @acoustic-content-sdk/api > AuthoringTextElement > displayHeight

AuthoringTextElement.displayHeight property

Signature:

displayHeight?: number;

Home > @acoustic-content-sdk/api > AuthoringTextElement > displayType

AuthoringTextElement.displayType property

Signature:

displayType?: 'singleLine' | 'multiLine';

Home > @acoustic-content-sdk/api > AuthoringTextElement > displayWidth

AuthoringTextElement.displayWidth property

Signature:

displayWidth?: number;

Home > @acoustic-content-sdk/api > AuthoringTextElement > elementType

AuthoringTextElement.elementType property

Signature:

elementType: 'text';

Home > @acoustic-content-sdk/api > AuthoringTextElement > maxLength

AuthoringTextElement.maxLength property

Signature:

maxLength?: number;

Home > @acoustic-content-sdk/api > AuthoringTextElement > minLength

AuthoringTextElement.minLength property

Signature:

minLength?: number;

Home > @acoustic-content-sdk/api > AuthoringTextElement > searchKey

AuthoringTextElement.searchKey property

Signature:

searchKey?: AUTHORING_ELEMENT_TEXT_SEARCH_KEY;

Home > @acoustic-content-sdk/api > AuthoringThumbnail > id

AuthoringThumbnail.id property

Signature:

id?: string;

Home > @acoustic-content-sdk/api > AuthoringThumbnail > path

AuthoringThumbnail.path property

Signature:

path?: string;

Home > @acoustic-content-sdk/api > AuthoringThumbnail > url

AuthoringThumbnail.url property

Signature:

url?: string;

Home > @acoustic-content-sdk/api > AuthoringSelectedLayout > layout

AuthoringSelectedLayout.layout property

Signature:

layout: AuthoringLayout;

Home > @acoustic-content-sdk/api > AuthoringSelectedLayout > layoutMode

AuthoringSelectedLayout.layoutMode property

Signature:

layoutMode?: string;

Home > @acoustic-content-sdk/api > AuthoringToggleElement > elementType

AuthoringToggleElement.elementType property

Signature:

elementType: 'toggle';

Home > @acoustic-content-sdk/api > AuthoringToggleElement > searchKey

AuthoringToggleElement.searchKey property

Signature:

searchKey?: AUTHORING_ELEMENT_TOGGLE_SEARCH_KEY;

Home > @acoustic-content-sdk/api > AuthoringToggleElement > statement

AuthoringToggleElement.statement property

Signature:

statement?: string;

Home > @acoustic-content-sdk/api > AuthoringType > _revisions

AuthoringType._revisions property

Unknown semantic

Signature:

_revisions?: Record<string, any>;

Home > @acoustic-content-sdk/api > AuthoringType > categories

AuthoringType.categories property

Signature:

categories?: string[];

Home > @acoustic-content-sdk/api > AuthoringType > categoryIds

AuthoringType.categoryIds property

Signature:

categoryIds?: string[];

Home > @acoustic-content-sdk/api > AuthoringType > classification

AuthoringType.classification property

Fixed classification

Signature:

classification: 'content-type';

Home > @acoustic-content-sdk/api > AuthoringType > contentThumbnail

AuthoringType.contentThumbnail property

Optional content thumbnail for the type

Signature:

contentThumbnail?: AuthoringContentThumbnail;

Home > @acoustic-content-sdk/api > AuthoringType > elements

AuthoringType.elements property

Elements on the type, strange that this is an array and not a map

Signature:

elements: AuthoringElement[];

Home > @acoustic-content-sdk/api > AuthoringType > icon

AuthoringType.icon property

Optional icon to be used for the type

Signature:

icon?: ELEMENT_TYPE;

Home > @acoustic-content-sdk/api > AuthoringType > kind

AuthoringType.kind property

Lisz of possible kinds for the authoring type

Signature:

kind?: AUTHORING_TYPE_KIND[];

Home > @acoustic-content-sdk/api > AuthoringType > linkedDocId

AuthoringType.linkedDocId property

Signature:

linkedDocId?: string;

Home > @acoustic-content-sdk/api > AuthoringType > status

AuthoringType.status property

Signature:

status: Status;

Home > @acoustic-content-sdk/api > AuthoringType > tags

AuthoringType.tags property

Signature:

tags?: string[];

Home > @acoustic-content-sdk/api > AuthoringType > thumbnail

AuthoringType.thumbnail property

Optional thumbnail for the type

Signature:

thumbnail?: AuthoringThumbnail;

Home > @acoustic-content-sdk/api > AuthoringType > uiExtensions

AuthoringType.uiExtensions property

Signature:

uiExtensions?: AuthoringUiExtensions;

Home > @acoustic-content-sdk/api > AuthoringUiExtensions > element

AuthoringUiExtensions.element property

Signature:

element?: string;

Home > @acoustic-content-sdk/api > AuthoringUiExtensions > elementBuiltin

AuthoringUiExtensions.elementBuiltin property

Signature:

elementBuiltin?: string;

Home > @acoustic-content-sdk/api > AuthoringUiExtensions > elementConfig

AuthoringUiExtensions.elementConfig property

Signature:

elementConfig: any;

Home > @acoustic-content-sdk/api > AuthoringVariableTypeElement > elements

AuthoringVariableTypeElement.elements property

Signature:

elements: Record<string, any>[];

Home > @acoustic-content-sdk/api > AuthoringVariableTypeElement > elementType

AuthoringVariableTypeElement.elementType property

Signature:

elementType: 'variabletype';

Home > @acoustic-content-sdk/api > AuthoringVideo > elementType

AuthoringVideo.elementType property

Signature:

[KEY_ELEMENT_TYPE]: typeof ELEMENT_TYPE_VIDEO;

Home > @acoustic-content-sdk/api > AuthoringVideo > values

AuthoringVideo.values property

Signature:

[KEY_VALUES]?: Video[];

Home > @acoustic-content-sdk/api > AuthoringVideoElement > acceptType

AuthoringVideoElement.acceptType property

Signature:

acceptType?: AUTHORING_ELEMENT_VIDEO_TYPE[];

Home > @acoustic-content-sdk/api > AuthoringVideoElement > elementType

AuthoringVideoElement.elementType property

Signature:

elementType: 'video';

Home > @acoustic-content-sdk/api > AuthoringVideoElement > searchKey

AuthoringVideoElement.searchKey property

Signature:

searchKey?: AUTHORING_ELEMENT_TEXT_SEARCH_KEY;

Home > @acoustic-content-sdk/api > AuthStatus > authenticated$

AuthStatus.authenticated$ property

Exposes the flag that tells if the system is authenticated. This is e.g. used to decide to use the delivery or mydelivery routes.

Signature:

authenticated$: Observable<boolean>;

Home > @acoustic-content-sdk/api > BaseAuthoringItem > classification

BaseAuthoringItem.classification property

The classification defines the document type. For content items, all documents are classified as "content".

Signature:

classification?: string;

Home > @acoustic-content-sdk/api > BaseAuthoringItem > created

BaseAuthoringItem.created property

The created date of this content item in ISO 8601 with the format YYYY-MM-DDTHH:mm:ss.sssZ. This field is read only.

Signature:

created?: string;

Home > @acoustic-content-sdk/api > BaseAuthoringItem > creatorId

BaseAuthoringItem.creatorId property

Signature:

creatorId?: string;

Home > @acoustic-content-sdk/api > BaseAuthoringItem > description

BaseAuthoringItem.description property

The description of the item.

Signature:

readonly description?: string;

Home > @acoustic-content-sdk/api > BaseAuthoringItem > id

BaseAuthoringItem.id property

The ID of the content item.

Signature:

readonly id?: string;

Home > @acoustic-content-sdk/api > BaseAuthoringItem > lastModified

BaseAuthoringItem.lastModified property

The last modified date of this content item in ISO 8601 with the format YYYY-MM-DDTHH:mm:ss.sssZ. This field is read only.

Signature:

lastModified?: string;

Home > @acoustic-content-sdk/api > BaseAuthoringItem > lastModifierId

BaseAuthoringItem.lastModifierId property

name of user for now, this property may change once user management is defined (read only).

Signature:

lastModifierId?: string;

Home > @acoustic-content-sdk/api > BaseAuthoringItem > linkedDocId

BaseAuthoringItem.linkedDocId property

Optionally the ID of the ready item

Signature:

readonly linkedDocId?: string;

Home > @acoustic-content-sdk/api > BaseAuthoringItem > name

BaseAuthoringItem.name property

The name of the content item.

Signature:

readonly name: string;

Home > @acoustic-content-sdk/api > BaseAuthoringItem > path

BaseAuthoringItem.path property

Signature:

path?: string;

Home > @acoustic-content-sdk/api > BaseAuthoringItem > rev

BaseAuthoringItem.rev property

The current revision of the document.

Signature:

rev?: string;

Home > @acoustic-content-sdk/api > BaseDeliveryItem > classification

BaseDeliveryItem.classification property

The classification defines the document type. For content items, all documents are classified as "content".

Signature:

classification?: string;

Home > @acoustic-content-sdk/api > BaseDeliveryItem > created

BaseDeliveryItem.created property

The created date of this content item in ISO 8601 with the format YYYY-MM-DDTHH:mm:ss.sssZ. This field is read only.

Signature:

created?: string;

Home > @acoustic-content-sdk/api > BaseDeliveryItem > creatorId

BaseDeliveryItem.creatorId property

Signature:

creatorId?: string;

Home > @acoustic-content-sdk/api > BaseDeliveryItem > description

BaseDeliveryItem.description property

The description of the item.

Signature:

description?: string;

Home > @acoustic-content-sdk/api > BaseDeliveryItem > id

BaseDeliveryItem.id property

The ID of the content item.

Signature:

id?: string;

Home > @acoustic-content-sdk/api > BaseDeliveryItem > lastModified

BaseDeliveryItem.lastModified property

The last modified date of this content item in ISO 8601 with the format YYYY-MM-DDTHH:mm:ss.sssZ. This field is read only.

Signature:

lastModified?: string;

Home > @acoustic-content-sdk/api > BaseDeliveryItem > lastModifierId

BaseDeliveryItem.lastModifierId property

name of user for now, this property may change once user management is defined (read only).

Signature:

lastModifierId?: string;

Home > @acoustic-content-sdk/api > BaseDeliveryItem > name

BaseDeliveryItem.name property

The name of the content item.

Signature:

name?: string;

Home > @acoustic-content-sdk/api > BaseDeliveryItem > rev

BaseDeliveryItem.rev property

The current revision of the document.

Signature:

rev?: string;

Home > @acoustic-content-sdk/api > Category > categories

Category.categories property

Signature:

readonly categories?: string[];

Home > @acoustic-content-sdk/api > Category > categoryIds

Category.categoryIds property

Signature:

readonly categoryIds?: string[];

Home > @acoustic-content-sdk/api > Category > categoryPaths

Category.categoryPaths property

extension for the local rendering context for convenience

Signature:

readonly categoryPaths?: string[][];

Home > @acoustic-content-sdk/api > CategoryElement > elementType

CategoryElement.elementType property

Signature:

readonly elementType: 'category';

Home > @acoustic-content-sdk/api > ContentItem > draftId

ContentItem.draftId property

TBD

Signature:

draftId?: string;

Home > @acoustic-content-sdk/api > ContentItem > draftStatus

ContentItem.draftStatus property

TBD

Signature:

draftStatus?: DraftStatus;

Home > @acoustic-content-sdk/api > ContentItem > elements

ContentItem.elements property

Defined by the type and capture in the schema given by the type, in a real content, this property will be filled with more information.

Note, we are using any here, because union types are hard to handle in templates.

Signature:

elements: {
        [key: string]: any;
    };

Home > @acoustic-content-sdk/api > ContentItem > kind

ContentItem.kind property

Kind of a content item

Signature:

kind: CONTENT_ITEM_KIND[];

Home > @acoustic-content-sdk/api > ContentItem > locale

ContentItem.locale property

locale of the document (e.g "en", or "de").

Signature:

locale?: string;

Home > @acoustic-content-sdk/api > ContentItem > projectId

ContentItem.projectId property

The project ID

Signature:

projectId?: string;

Home > @acoustic-content-sdk/api > ContentItem > tags

ContentItem.tags property

The tags describing the content item.

Signature:

tags?: Array<string>;

Home > @acoustic-content-sdk/api > ContentItem > type

ContentItem.type property

this is the link to the content type document this content is based on.

Signature:

type?: string;

Home > @acoustic-content-sdk/api > ContentItem > typeId

ContentItem.typeId property

The ID of the content type this item belongs to.

Signature:

typeId?: string;

Home > @acoustic-content-sdk/api > ContentItemWithLayout > id

ContentItemWithLayout.id property

The ID of the content item.

Signature:

readonly id: string;

Home > @acoustic-content-sdk/api > ContentItemWithLayout > layouts

ContentItemWithLayout.layouts property

The layouts for the content item, ordered by mode. The 'default' mode always exists and denotes the default layout.

Signature:

readonly layouts: Layouts;

Home > @acoustic-content-sdk/api > ContentItemWithLayout > selectedLayouts

ContentItemWithLayout.selectedLayouts property

Optionally the explicitly assigned layouts

Signature:

readonly selectedLayouts?: AuthoringSelectedLayout[];

Home > @acoustic-content-sdk/api > DateElement > elementType

DateElement.elementType property

Signature:

readonly elementType: 'datetime';

Home > @acoustic-content-sdk/api > DeliveryAsset > fileName

DeliveryAsset.fileName property

Signature:

fileName: string;

Home > @acoustic-content-sdk/api > DeliveryAsset > fileSize

DeliveryAsset.fileSize property

Signature:

fileSize: number;

Home > @acoustic-content-sdk/api > DeliveryAsset > id

DeliveryAsset.id property

Signature:

id: string;

Home > @acoustic-content-sdk/api > DeliveryAsset > mediaType

DeliveryAsset.mediaType property

Signature:

mediaType: string;

Home > @acoustic-content-sdk/api > DeliveryAsset > resourceUri

DeliveryAsset.resourceUri property

Signature:

resourceUri: string;

Home > @acoustic-content-sdk/api > DeliveryAccess > assets

DeliveryAccess.assets property

Signature:

assets?: string;

Home > @acoustic-content-sdk/api > DeliveryAccess > content

DeliveryAccess.content property

Signature:

content?: string;

Home > @acoustic-content-sdk/api > DeliveryAccess > secureAlways

DeliveryAccess.secureAlways property

Signature:

secureAlways?: boolean;

Home > @acoustic-content-sdk/api > DeliveryCategoryElement > categoryIds

DeliveryCategoryElement.categoryIds property

Signature:

categoryIds: string[];

Home > @acoustic-content-sdk/api > DeliveryCategoryElement > categoryPath

DeliveryCategoryElement.categoryPath property

Signature:

categoryPath: string[];

Home > @acoustic-content-sdk/api > ContentPublishApproval > enabled

ContentPublishApproval.enabled property

True if mandatory approval is enabled

Signature:

enabled?: boolean;

Home > @acoustic-content-sdk/api > ContentPublishApproval > exemptContentTypes

ContentPublishApproval.exemptContentTypes property

Signature:

exemptContentTypes: string[];

Home > @acoustic-content-sdk/api > DeliveryContentItem > $metadata

DeliveryContentItem.$metadata property

Metadata record

Signature:

$metadata: DeliveryContentMetadata;

Home > @acoustic-content-sdk/api > DeliveryContentMetadata > accessor

DeliveryContentMetadata.accessor property

Accessor that references the main element relative to the root of the authoring data structure

Signature:

accessor: string;

Home > @acoustic-content-sdk/api > DeliveryContentMetadata > classification

DeliveryContentMetadata.classification property

Signature:

classification: 'content';

Home > @acoustic-content-sdk/api > DeliveryContentMetadata > created

DeliveryContentMetadata.created property

Signature:

created: string;

Home > @acoustic-content-sdk/api > DeliveryContentMetadata > creatorId

DeliveryContentMetadata.creatorId property

Signature:

creatorId: string;

Home > @acoustic-content-sdk/api > DeliveryContentMetadata > description

DeliveryContentMetadata.description property

Signature:

description?: string;

Home > @acoustic-content-sdk/api > DeliveryContentMetadata > draftId

DeliveryContentMetadata.draftId property

Signature:

draftId?: string;

Home > @acoustic-content-sdk/api > DeliveryContentMetadata > id

DeliveryContentMetadata.id property

ID of the content item. For group items is this the ID of the hosting content item, for references it's the ID of the referenced item. This ID will always be a 'ready ID'.

Signature:

id: string;

Home > @acoustic-content-sdk/api > DeliveryContentMetadata > keywords

DeliveryContentMetadata.keywords property

Signature:

keywords?: string[];

Home > @acoustic-content-sdk/api > DeliveryContentMetadata > kind

DeliveryContentMetadata.kind property

Signature:

kind?: string[];

Home > @acoustic-content-sdk/api > DeliveryContentMetadata > lastModified

DeliveryContentMetadata.lastModified property

Signature:

lastModified: string;

Home > @acoustic-content-sdk/api > DeliveryContentMetadata > lastModifierId

DeliveryContentMetadata.lastModifierId property

Signature:

lastModifierId: string;

Home > @acoustic-content-sdk/api > DeliveryContentMetadata > locale

DeliveryContentMetadata.locale property

Signature:

locale: string;

Home > @acoustic-content-sdk/api > DeliveryContentMetadata > name

DeliveryContentMetadata.name property

Signature:

name: string;

Home > @acoustic-content-sdk/api > DeliveryContentMetadata > protectedUrl

DeliveryContentMetadata.protectedUrl property

Signature:

protectedUrl: string;

Home > @acoustic-content-sdk/api > DeliveryContentMetadata > rev

DeliveryContentMetadata.rev property

Signature:

rev: string;

Home > @acoustic-content-sdk/api > DeliveryContentMetadata > selectedLayouts

DeliveryContentMetadata.selectedLayouts property

Signature:

selectedLayouts?: DeliverySelectedLayouts;

Home > @acoustic-content-sdk/api > DeliveryContentMetadata > systemModified

DeliveryContentMetadata.systemModified property

Signature:

systemModified: string;

Home > @acoustic-content-sdk/api > DeliveryContentMetadata > tags

DeliveryContentMetadata.tags property

Signature:

tags?: string[];

Home > @acoustic-content-sdk/api > DeliveryContentMetadata > thumbnail

DeliveryContentMetadata.thumbnail property

Signature:

thumbnail?: DeliveryThumbnail;

Home > @acoustic-content-sdk/api > DeliveryContentMetadata > type

DeliveryContentMetadata.type property

Signature:

type?: string;

Home > @acoustic-content-sdk/api > DeliveryContentMetadata > typeId

DeliveryContentMetadata.typeId property

ID of the type of the content item. Note that for group elements this is the ID of the hosting content item, not of the type of the group element.

Signature:

typeId: string;

Home > @acoustic-content-sdk/api > DeliveryContentMetadata > url

DeliveryContentMetadata.url property

Signature:

url?: string;

Home > @acoustic-content-sdk/api > DeliveryFileElement > asset

DeliveryFileElement.asset property

Signature:

asset: DeliveryFileAsset;

Home > @acoustic-content-sdk/api > DeliveryFileElement > url

DeliveryFileElement.url property

Signature:

url: string;

Home > @acoustic-content-sdk/api > DeliveryGroupElement > $metadata

DeliveryGroupElement.$metadata property

Optional metadata

Signature:

$metadata?: DeliveryGroupElementMetadata;

Home > @acoustic-content-sdk/api > DeliveryGroupElementMetadata > accessor

DeliveryGroupElementMetadata.accessor property

Accessor that references the group element relative to the root of the authoring data structure

Signature:

accessor: string;

Home > @acoustic-content-sdk/api > DeliveryGroupElementMetadata > selectedLayouts

DeliveryGroupElementMetadata.selectedLayouts property

Optionally the selected layouts for the group element

Signature:

selectedLayouts?: DeliverySelectedLayouts;

Home > @acoustic-content-sdk/api > DeliveryImageAsset > altText

DeliveryImageAsset.altText property

Signature:

altText: string;

Home > @acoustic-content-sdk/api > DeliveryImageAsset > height

DeliveryImageAsset.height property

Signature:

height: number;

Home > @acoustic-content-sdk/api > DeliveryImageAsset > width

DeliveryImageAsset.width property

Signature:

width: number;

Home > @acoustic-content-sdk/api > DeliveryImageCrop > height

DeliveryImageCrop.height property

Signature:

height: number;

Home > @acoustic-content-sdk/api > DeliveryImageCrop > width

DeliveryImageCrop.width property

Signature:

width: number;

Home > @acoustic-content-sdk/api > DeliveryImageCrop > x

DeliveryImageCrop.x property

Signature:

x: number;

Home > @acoustic-content-sdk/api > DeliveryImageCrop > y

DeliveryImageCrop.y property

Signature:

y: number;

Home > @acoustic-content-sdk/api > DeliveryImageElement > asset

DeliveryImageElement.asset property

Signature:

asset: DeliveryImageAsset;

Home > @acoustic-content-sdk/api > DeliveryImageElement > mode

DeliveryImageElement.mode property

Signature:

mode?: DeliveryImageMode;

Home > @acoustic-content-sdk/api > DeliveryImageElement > renditions

DeliveryImageElement.renditions property

Signature:

renditions: Record<string, DeliveryImageRendition>;

Home > @acoustic-content-sdk/api > DeliveryImageElement > url

DeliveryImageElement.url property

Signature:

url: string;

Home > @acoustic-content-sdk/api > DeliveryImageRendition > height

DeliveryImageRendition.height property

Signature:

height: number;

Home > @acoustic-content-sdk/api > DeliveryImageRendition > source

DeliveryImageRendition.source property

Signature:

source: string;

Home > @acoustic-content-sdk/api > DeliveryImageRendition > transform

DeliveryImageRendition.transform property

Signature:

transform?: DeliveryImageTransform;

Home > @acoustic-content-sdk/api > DeliveryImageRendition > url

DeliveryImageRendition.url property

Signature:

url: string;

Home > @acoustic-content-sdk/api > DeliveryImageRendition > width

DeliveryImageRendition.width property

Signature:

width: number;

Home > @acoustic-content-sdk/api > DeliveryImageTransform > crop

DeliveryImageTransform.crop property

Signature:

crop?: DeliveryImageCrop;

Home > @acoustic-content-sdk/api > DeliveryImageTransform > scale

DeliveryImageTransform.scale property

Signature:

scale?: DeliveryImageScale;

Home > @acoustic-content-sdk/api > DeliveryLayoutRef > id

DeliveryLayoutRef.id property

Signature:

id: string;

Home > @acoustic-content-sdk/api > DeliveryLinkElement > linkDescription

DeliveryLinkElement.linkDescription property

Signature:

linkDescription?: string;

Home > @acoustic-content-sdk/api > DeliveryLinkElement > linkText

DeliveryLinkElement.linkText property

Signature:

linkText: string;

Home > @acoustic-content-sdk/api > DeliveryLinkElement > linkURL

DeliveryLinkElement.linkURL property

Signature:

linkURL: string;

Home > @acoustic-content-sdk/api > DeliveryLocationElement > latitude

DeliveryLocationElement.latitude property

Signature:

latitude: number;

Home > @acoustic-content-sdk/api > DeliveryLocationElement > longitude

DeliveryLocationElement.longitude property

Signature:

longitude: number;

Home > @acoustic-content-sdk/api > DeliveryReferenceElementMetadata > id

DeliveryReferenceElementMetadata.id property

Signature:

id: string;

Home > @acoustic-content-sdk/api > DeliveryReferenceElement > $metadata

DeliveryReferenceElement.$metadata property

Signature:

$metadata: DeliveryReferenceElementMetadata;

Home > @acoustic-content-sdk/api > DeliverySelectedLayout > layout

DeliverySelectedLayout.layout property

Signature:

layout: DeliveryLayoutRef;

Home > @acoustic-content-sdk/api > DeliveryThumbnail > id

DeliveryThumbnail.id property

Signature:

id: string;

Home > @acoustic-content-sdk/api > DeliveryThumbnail > url

DeliveryThumbnail.url property

Signature:

url: string;

Home > @acoustic-content-sdk/api > DynamicLoggerFactory > get

DynamicLoggerFactory.get() method

Returns a logger that is instantiated lazily (and potentially) multiple times.

Signature:

get(): Observable<LoggerFactory>;

Returns:

Observable<LoggerFactory>

observable of the logger factory

Home > @acoustic-content-sdk/api > ElementWithMarkup > $markup

ElementWithMarkup.$markup property

Optionally the markup for an element

Signature:

$markup?: string;

Home > @acoustic-content-sdk/api > ErrorDetail > locale

ErrorDetail.locale property

Signature:

locale: string;

Home > @acoustic-content-sdk/api > ErrorDetail > message

ErrorDetail.message property

Signature:

message: string;

Home > @acoustic-content-sdk/api > ErrorDetail > name

ErrorDetail.name property

Signature:

name: string;

Home > @acoustic-content-sdk/api > ErrorDetail > parameters

ErrorDetail.parameters property

Signature:

parameters: any;

Home > @acoustic-content-sdk/api > ErrorDetail > stack

ErrorDetail.stack property

Signature:

stack?: string;

Home > @acoustic-content-sdk/api > ErrorResponse > description

ErrorResponse.description property

Signature:

description: string;

Home > @acoustic-content-sdk/api > ErrorResponse > errors

ErrorResponse.errors property

Signature:

errors: ErrorDetail[];

Home > @acoustic-content-sdk/api > ErrorResponse > message

ErrorResponse.message property

Signature:

message: string;

Home > @acoustic-content-sdk/api > ErrorResponse > requestId

ErrorResponse.requestId property

Signature:

requestId: string;

Home > @acoustic-content-sdk/api > ErrorResponse > service

ErrorResponse.service property

Signature:

service: string;

Home > @acoustic-content-sdk/api > ErrorResponse > statusCode

ErrorResponse.statusCode property

Signature:

statusCode: number;

Home > @acoustic-content-sdk/api > ErrorResponse > version

ErrorResponse.version property

Signature:

version: string;

Home > @acoustic-content-sdk/api > ExtendedContext > hub

ExtendedContext.hub property

Signature:

readonly hub?: HubContext;

Home > @acoustic-content-sdk/api > ExtendedContextV2 > editMode

ExtendedContextV2.editMode property

Information about edit mode

Signature:

editMode?: boolean;

Home > @acoustic-content-sdk/api > ExtendedContextV2 > hub

ExtendedContextV2.hub property

Information about URLs that can be used to access the REST APIs

Signature:

hub?: HubContext;

Home > @acoustic-content-sdk/api > File > asset

File.asset property

Signature:

readonly asset?: Asset;

Home > @acoustic-content-sdk/api > File > url

File.url property

Signature:

readonly url?: string;

Home > @acoustic-content-sdk/api > FileElement > elementType

FileElement.elementType property

Signature:

readonly elementType: 'file';

Home > @acoustic-content-sdk/api > FormattedTextElement > elementType

FormattedTextElement.elementType property

Signature:

readonly elementType: 'formattedtext';

Home > @acoustic-content-sdk/api > HttpResourceOptions > pollTime

HttpResourceOptions.pollTime property

Signature:

readonly pollTime?: number;

Home > @acoustic-content-sdk/api > HttpResourceOptions > pollTimeVariation

HttpResourceOptions.pollTimeVariation property

Signature:

readonly pollTimeVariation?: number;

Home > @acoustic-content-sdk/api > HttpResourceOptions > retries

HttpResourceOptions.retries property

Signature:

readonly retries?: number;

Home > @acoustic-content-sdk/api > HttpResourceOptions > useApi

HttpResourceOptions.useApi property

Optionally use REST to load resources, default is true

Signature:

readonly useApi?: boolean;

Home > @acoustic-content-sdk/api > HttpResourceOptions > useBootstrap

HttpResourceOptions.useBootstrap property

Optionally enable pre-loading from bootstrap, default is true

Signature:

readonly useBootstrap?: boolean;

Home > @acoustic-content-sdk/api > HttpResourceOptions > useJsonP

HttpResourceOptions.useJsonP property

Configure if we should use XHR or JSONp

Signature:

readonly useJsonP?: boolean;

Home > @acoustic-content-sdk/api > HttpResourceOptions > useLocalStorage

HttpResourceOptions.useLocalStorage property

Optionally enable pre-loading from local storage, default is true

Signature:

readonly useLocalStorage?: boolean;

Home > @acoustic-content-sdk/api > HttpResourceOptions > usePolling

HttpResourceOptions.usePolling property

Configure if we should use polling at all, default is true

Signature:

readonly usePolling?: boolean;

Home > @acoustic-content-sdk/api > HttpResourceOptions > useStaticResources

HttpResourceOptions.useStaticResources property

Optionally enable use of static resources, default is true

Signature:

readonly useStaticResources?: boolean;

Home > @acoustic-content-sdk/api > GroupElement > elementType

GroupElement.elementType property

Signature:

readonly elementType: 'group';

Home > @acoustic-content-sdk/api > GroupElement > layouts

GroupElement.layouts property

The layouts for the content item, ordered by mode. The 'default' mode always exists and denotes the default layout.

Signature:

readonly layouts?: Layouts;

Home > @acoustic-content-sdk/api > GroupElement > selectedLayouts

GroupElement.selectedLayouts property

Optionally the explicitly assigned layouts

Signature:

readonly selectedLayouts?: AuthoringSelectedLayout[];

Home > @acoustic-content-sdk/api > GroupElement > typeRef

GroupElement.typeRef property

Reference to the actual type

Signature:

readonly typeRef: TypeRef;

Home > @acoustic-content-sdk/api > HubContext > apiUrl

HubContext.apiUrl property

URL to access the API layer, e.g. 'https://my.digitalexperience.ibm.com/api/345563cf-a83c-40e5-a065-1d6ff36b05c1'

Naming of this field according to the field in the rendering context

Signature:

readonly apiUrl: URL;

Home > @acoustic-content-sdk/api > HubContext > isPreviewMode

HubContext.isPreviewMode property

Flag that indicates if the system is in preview mode.

Signature:

readonly isPreviewMode?: boolean;

Home > @acoustic-content-sdk/api > HubContext > resourceUrl

HubContext.resourceUrl property

URL to access the delivery , e.g. 'https://my.digitalexperience.ibm.com/345563cf-a83c-40e5-a065-1d6ff36b05c1'

Naming of this field according to the field in the rendering context

Signature:

readonly resourceUrl: URL;

Home > @acoustic-content-sdk/api > HubInfo > apiUrl

HubInfo.apiUrl property

URL to access the API layer, e.g. 'https://my.digitalexperience.ibm.com/api/345563cf-a83c-40e5-a065-1d6ff36b05c1'

Naming of this field according to the field in the rendering context

Signature:

readonly apiUrl: URL | string;

Home > @acoustic-content-sdk/api > HubInfo > resourceUrl

HubInfo.resourceUrl property

URL to access the delivery , e.g. 'https://my.digitalexperience.ibm.com/345563cf-a83c-40e5-a065-1d6ff36b05c1'

Naming of this field according to the field in the rendering context

Signature:

readonly resourceUrl: URL | string;

Home > @acoustic-content-sdk/api > IbmCommerce > apiGatewayHost

IbmCommerce.apiGatewayHost property

Signature:

apiGatewayHost?: string;

Home > @acoustic-content-sdk/api > IbmCommerce > environmentType

IbmCommerce.environmentType property

Signature:

environmentType?: string;

Home > @acoustic-content-sdk/api > IbmCommerce > liveSearchHost

IbmCommerce.liveSearchHost property

Signature:

liveSearchHost?: string;

Home > @acoustic-content-sdk/api > IbmCommerce > liveTransactionHost

IbmCommerce.liveTransactionHost property

Signature:

liveTransactionHost?: string;

Home > @acoustic-content-sdk/api > IbmCommerce > previewSearchHost

IbmCommerce.previewSearchHost property

Signature:

previewSearchHost?: string;

Home > @acoustic-content-sdk/api > IbmCommerce > previewTransactionHost

IbmCommerce.previewTransactionHost property

Signature:

previewTransactionHost?: string;

Home > @acoustic-content-sdk/api > IbmCommerce > tenantId

IbmCommerce.tenantId property

Signature:

tenantId?: string;

Home > @acoustic-content-sdk/api > HubInfoConfig > apiUrl

HubInfoConfig.apiUrl property

URL to access the API layer

Naming of this field according to the field in the rendering context

Signature:

readonly apiUrl?: HubInfoUrlProvider;

Example 1

'https://my.digitalexperience.ibm.com/api/345563cf-a83c-40e5-a065-1d6ff36b05c1'

Example 2

'https://my.digitalexperience.ibm.com/api/345563cf-a83c-40e5-a065-1d6ff36b05c1/dxsites/mysite'

Home > @acoustic-content-sdk/api > HubInfoConfig > baseUrl

HubInfoConfig.baseUrl property

URL that represents the base URL of the path based routing of the application. This prefix will be preserved when generating and recognizing URLs. If this property is not configured, then it will be decoded from the window location.

Signature:

readonly baseUrl?: HubInfoUrlProvider;

Example 1

'https://my.digitalexperience.ibm.com/345563cf-a83c-40e5-a065-1d6ff36b05c1'

Example 2

'https://my.digitalexperience.ibm.com/345563cf-a83c-40e5-a065-1d6ff36b05c1/dxsites/mysite'

Example 3

'https://my.external.example.com/'

Home > @acoustic-content-sdk/api > HubInfoConfig > cycleHandlingStrategy

HubInfoConfig.cycleHandlingStrategy property

Optionally specify how the SDK is supposed to deal with cyclic references in the content data structure. Per default the rendering context will break cycles by representing the duplicate element in a reference path by an unresolved reference. When configuring the strategy to CYCLE_HANDLING.RESOLVE, the ContentrefComponent will use a resolved refence when rendering the context, instead of the unresolved reference. This bears the risk of an infinite loop during rendering. The actual rendering context objects will still not have cycles, so a JSON serialization of these objects will produce a valid result.

Default is CYCLE_HANDLING.BREAK

Signature:

readonly cycleHandlingStrategy?: CYCLE_HANDLING | string;

Home > @acoustic-content-sdk/api > HubInfoConfig > fetchLevels

HubInfoConfig.fetchLevels property

Number of levels to fetch per request to the rendering context. If missing all levels will be fetched.

Signature:

readonly fetchLevels?: number;

Home > @acoustic-content-sdk/api > HubInfoConfig > httpOptions

HubInfoConfig.httpOptions property

Optionally specify how the SDK makes outbound requests

Signature:

readonly httpOptions?: HttpResourceOptions;

Home > @acoustic-content-sdk/api > HubInfoConfig > httpPreviewOptions

HubInfoConfig.httpPreviewOptions property

Optionally specify how the SDK makes outbound requests for the preview case

Signature:

readonly httpPreviewOptions?: HttpResourceOptions;

Home > @acoustic-content-sdk/api > HubInfoConfig > resourceUrl

HubInfoConfig.resourceUrl property

URL to access the delivery

Naming of this field according to the field in the rendering context

Signature:

readonly resourceUrl?: HubInfoUrlProvider;

Example 1

'https://my.digitalexperience.ibm.com/345563cf-a83c-40e5-a065-1d6ff36b05c1'

Example 2

'https://my.digitalexperience.ibm.com/345563cf-a83c-40e5-a065-1d6ff36b05c1/dxsites/mysite'

Home > @acoustic-content-sdk/api > Image > altText

Image.altText property

Signature:

readonly altText?: string;

Home > @acoustic-content-sdk/api > Image > asset

Image.asset property

Signature:

readonly asset?: Asset;

Home > @acoustic-content-sdk/api > Image > profiles

Image.profiles property

Signature:

readonly profiles?: string[];

Home > @acoustic-content-sdk/api > Image > renditions

Image.renditions property

Signature:

readonly renditions?: {
        [key: string]: Rendition;
    };

Home > @acoustic-content-sdk/api > Image > url

Image.url property

Signature:

readonly url?: string;

Home > @acoustic-content-sdk/api > ImageElement > elementType

ImageElement.elementType property

Signature:

readonly elementType: 'image';

Home > @acoustic-content-sdk/api > Layout > id

Layout.id property

ID of the layout

Signature:

id: string;

Home > @acoustic-content-sdk/api > Layout > name

Layout.name property

Name of the layout

Signature:

name: string;

Home > @acoustic-content-sdk/api > Layout > tags

Layout.tags property

Optional list of tags

Signature:

tags?: string[];

Home > @acoustic-content-sdk/api > Layout > template

Layout.template property

The template description, will be a selector for angular and a filename for handlebars

Signature:

template: string;

Home > @acoustic-content-sdk/api > Layout > templateType

Layout.templateType property

The template type, either 'handlebars' or 'angular'

Signature:

templateType: string;

Home > @acoustic-content-sdk/api > Link > linkDescription

Link.linkDescription property

Signature:

readonly linkDescription?: string;

Home > @acoustic-content-sdk/api > Link > linkText

Link.linkText property

Signature:

readonly linkText?: string;

Home > @acoustic-content-sdk/api > Link > linkURL

Link.linkURL property

Signature:

readonly linkURL?: string;

Home > @acoustic-content-sdk/api > LinkElement > elementType

LinkElement.elementType property

Signature:

readonly elementType: 'link';

Home > @acoustic-content-sdk/api > Location > latitude

Location.latitude property

Signature:

readonly latitude?: number;

Home > @acoustic-content-sdk/api > Location > longitude

Location.longitude property

Signature:

readonly longitude?: number;

Home > @acoustic-content-sdk/api > LocationElement > elementType

LocationElement.elementType property

Signature:

readonly elementType: 'location';

Home > @acoustic-content-sdk/api > Logger > error

Logger.error() method

Signature:

error(msg: string, ...data: any[]): void;

Parameters

ParameterTypeDescription
msgstring
dataany[]

Returns:

void

Home > @acoustic-content-sdk/api > Logger > info

Logger.info() method

Signature:

info(msg: string, ...data: any[]): void;

Parameters

ParameterTypeDescription
msgstring
dataany[]

Returns:

void

Home > @acoustic-content-sdk/api > Logger > warn

Logger.warn() method

Signature:

warn(msg: string, ...data: any[]): void;

Parameters

ParameterTypeDescription
msgstring
dataany[]

Returns:

void

Home > @acoustic-content-sdk/api > LoggerFactory > create

LoggerFactory.create() method

Construct the logger instance. There is no need to protect against the creation of multiple loggers, the caller will make sure that loggers are singletons.

Signature:

create(name: string): Logger;

Parameters

ParameterTypeDescription
namestringname of the logger

Returns:

Logger

the new logger instance

Home > @acoustic-content-sdk/api > LoggerService > get

LoggerService.get property

Returns a logger for the given name

$1$2 -$3

Signature:

readonly get: (name: string) => Logger;

Home > @acoustic-content-sdk/api > MultiDateElement > values

MultiDateElement.values property

Signature:

readonly values: string[];

Home > @acoustic-content-sdk/api > MultiFileElement > values

MultiFileElement.values property

Signature:

readonly values: File[];

Home > @acoustic-content-sdk/api > MultiFormattedTextElement > values

MultiFormattedTextElement.values property

Signature:

readonly values: string[];

Home > @acoustic-content-sdk/api > MultiGroupElement > values

MultiGroupElement.values property

Signature:

readonly values: Group[];

Home > @acoustic-content-sdk/api > MultiImageElement > values

MultiImageElement.values property

Signature:

readonly values: Image[];

Home > @acoustic-content-sdk/api > MultiLinkElement > values

MultiLinkElement.values property

Signature:

readonly values: Link[];

Home > @acoustic-content-sdk/api > MultiNumberElement > values

MultiNumberElement.values property

Signature:

readonly values: number[];

Home > @acoustic-content-sdk/api > MultiOptionSelectionElement > values

MultiOptionSelectionElement.values property

Signature:

readonly values: OptionSelection[];

Home > @acoustic-content-sdk/api > MultiProductElement > values

MultiProductElement.values property

Signature:

readonly values: string[];

Home > @acoustic-content-sdk/api > MultiReferenceElement > values

MultiReferenceElement.values property

Signature:

readonly values: RenderingContext[];

Home > @acoustic-content-sdk/api > MultiTextElement > values

MultiTextElement.values property

Signature:

readonly values: string[];

Home > @acoustic-content-sdk/api > MultiToggleElement > values

MultiToggleElement.values property

Signature:

readonly values: boolean[];

Home > @acoustic-content-sdk/api > MultiVideoElement > values

MultiVideoElement.values property

Signature:

readonly values: Video[];

Home > @acoustic-content-sdk/api > NumberElement > elementType

NumberElement.elementType property

Signature:

readonly elementType: 'number';

Home > @acoustic-content-sdk/api > OptionSelection > label

OptionSelection.label property

Signature:

readonly label?: string;

Home > @acoustic-content-sdk/api > OptionSelection > selection

OptionSelection.selection property

Signature:

readonly selection: string;

Home > @acoustic-content-sdk/api > PageSearchResult > document

PageSearchResult.document property

Signature:

document: SitePage;

Home > @acoustic-content-sdk/api > OptionSelectionElement > elementType

OptionSelectionElement.elementType property

Signature:

readonly elementType: 'optionselection';

Home > @acoustic-content-sdk/api > ProductElement > elementType

ProductElement.elementType property

Signature:

readonly elementType: 'product';

Home > @acoustic-content-sdk/api > ReferenceElement > elementType

ReferenceElement.elementType property

Signature:

readonly elementType: 'reference';

Home > @acoustic-content-sdk/api > RenderingContext > category

RenderingContext.category property

Signature:

readonly category?: ElementMap<CategoryElement>;

Home > @acoustic-content-sdk/api > RenderingContext > context

RenderingContext.context property

Signature:

readonly context: ExtendedContext;

Home > @acoustic-content-sdk/api > RenderingContext > datetime

RenderingContext.datetime property

Signature:

readonly datetime?: ElementMap<Date>;

Home > @acoustic-content-sdk/api > RenderingContext > datetimes

RenderingContext.datetimes property

Signature:

readonly datetimes?: ElementMap<Date[]>;

Home > @acoustic-content-sdk/api > RenderingContext > file

RenderingContext.file property

Signature:

readonly file?: ElementMap<SingleFileElement>;

Home > @acoustic-content-sdk/api > RenderingContext > files

RenderingContext.files property

Signature:

readonly files?: ElementMap<File[]>;

Home > @acoustic-content-sdk/api > RenderingContext > formattedtext

RenderingContext.formattedtext property

Signature:

readonly formattedtext?: ElementMap<string>;

Home > @acoustic-content-sdk/api > RenderingContext > formattedtexts

RenderingContext.formattedtexts property

Signature:

readonly formattedtexts?: ElementMap<string[]>;

Home > @acoustic-content-sdk/api > RenderingContext > group

RenderingContext.group property

Signature:

readonly group?: ElementMap<any>;

Home > @acoustic-content-sdk/api > RenderingContext > groups

RenderingContext.groups property

Signature:

readonly groups?: ElementMap<any[]>;

Home > @acoustic-content-sdk/api > RenderingContext > image

RenderingContext.image property

Signature:

readonly image?: ElementMap<SingleImageElement>;

Home > @acoustic-content-sdk/api > RenderingContext > images

RenderingContext.images property

Signature:

readonly images?: ElementMap<Image[]>;

Home > @acoustic-content-sdk/api > RenderingContext > link

Signature:

readonly link?: ElementMap<SingleLinkElement>;

Home > @acoustic-content-sdk/api > RenderingContext > links

Signature:

readonly links?: ElementMap<Link[]>;

Home > @acoustic-content-sdk/api > RenderingContext > location

RenderingContext.location property

Signature:

readonly location?: ElementMap<LocationElement>;

Home > @acoustic-content-sdk/api > RenderingContext > markups

RenderingContext.markups property

Signature:

readonly markups: ElementMap<string>;

Home > @acoustic-content-sdk/api > RenderingContext > number

RenderingContext.number property

Signature:

readonly number?: ElementMap<number>;

Home > @acoustic-content-sdk/api > RenderingContext > numbers

RenderingContext.numbers property

Signature:

readonly numbers?: ElementMap<number[]>;

Home > @acoustic-content-sdk/api > RenderingContext > optionselection

RenderingContext.optionselection property

Signature:

readonly optionselection?: ElementMap<OptionSelection>;

Home > @acoustic-content-sdk/api > RenderingContext > optionselections

RenderingContext.optionselections property

Signature:

readonly optionselections?: ElementMap<OptionSelection[]>;

Home > @acoustic-content-sdk/api > RenderingContext > product

RenderingContext.product property

typings

Signature:

readonly product?: ElementMap<string>;

Home > @acoustic-content-sdk/api > RenderingContext > products

RenderingContext.products property

Signature:

readonly products?: ElementMap<string[]>;

Home > @acoustic-content-sdk/api > RenderingContext > reference

RenderingContext.reference property

Signature:

readonly reference?: ElementMap<RenderingContext>;

Home > @acoustic-content-sdk/api > RenderingContext > references

RenderingContext.references property

Signature:

readonly references?: ElementMap<RenderingContext[]>;

Home > @acoustic-content-sdk/api > RenderingContext > text

RenderingContext.text property

Signature:

readonly text?: ElementMap<string>;

Home > @acoustic-content-sdk/api > RenderingContext > texts

RenderingContext.texts property

Signature:

readonly texts?: ElementMap<string[]>;

Home > @acoustic-content-sdk/api > RenderingContext > toggle

RenderingContext.toggle property

Signature:

readonly toggle?: ElementMap<boolean>;

Home > @acoustic-content-sdk/api > RenderingContext > toggles

RenderingContext.toggles property

Signature:

readonly toggles?: ElementMap<boolean[]>;

Home > @acoustic-content-sdk/api > RenderingContext > video

RenderingContext.video property

Signature:

readonly video?: ElementMap<SingleVideoElement>;

Home > @acoustic-content-sdk/api > RenderingContext > videos

RenderingContext.videos property

Signature:

readonly videos?: ElementMap<Video[]>;

Home > @acoustic-content-sdk/api > RenderingContextInterceptor > opRenderingContext

RenderingContextInterceptor.opRenderingContext property

operator to intercept a single rendering context

Signature:

opRenderingContext?: MonoTypeOperatorFunction<RenderingContext>;

Home > @acoustic-content-sdk/api > RenderingContextInterceptor > opRenderingContexts

RenderingContextInterceptor.opRenderingContexts property

operator to intercept a multiple rendering contexts

Signature:

opRenderingContexts?: MonoTypeOperatorFunction<RenderingContext[]>;

Home > @acoustic-content-sdk/api > RenderingContextProviderV2 > renderingContext$

RenderingContextProviderV2.renderingContext$ property

Retrieves the rendering context for the content item.

Signature:

renderingContext$: Observable<RenderingContextV2>;

Home > @acoustic-content-sdk/api > RenderingContextProvider > onRenderingContext

RenderingContextProvider.onRenderingContext property

Retrieves the rendering context for the content item.

Signature:

onRenderingContext: Observable<RenderingContext>;

Home > @acoustic-content-sdk/api > RenderingContextSearchResult > document

RenderingContextSearchResult.document property

Signature:

document: RenderingContext;

Home > @acoustic-content-sdk/api > RenderingContextQueryResult > numFound

RenderingContextQueryResult.numFound property

Signature:

numFound: number;

Home > @acoustic-content-sdk/api > RenderingContextQueryResult > renderingContexts

RenderingContextQueryResult.renderingContexts property

Signature:

renderingContexts: RenderingContext[];

Home > @acoustic-content-sdk/api > Resource > fileName

Resource.fileName property

Signature:

readonly fileName: string;

Home > @acoustic-content-sdk/api > Resource > resourceId

Resource.resourceId property

Signature:

readonly resourceId: string;

Home > @acoustic-content-sdk/api > Resource > resourceUri

Resource.resourceUri property

Signature:

readonly resourceUri: string;

Home > @acoustic-content-sdk/api > RenderingContextV2 > $context

RenderingContextV2.$context property

Rendering context

Signature:

$context: ExtendedContextV2;

Home > @acoustic-content-sdk/api > Rendition > height

Rendition.height property

Signature:

readonly height: number;

Home > @acoustic-content-sdk/api > Rendition > renditionId

Rendition.renditionId property

Signature:

readonly renditionId: string;

Home > @acoustic-content-sdk/api > Rendition > source

Rendition.source property

Signature:

readonly source: string;

Home > @acoustic-content-sdk/api > Rendition > transform

Rendition.transform property

Signature:

readonly transform?: any;

Home > @acoustic-content-sdk/api > Rendition > url

Rendition.url property

added by delivery

Signature:

readonly url: string;

Home > @acoustic-content-sdk/api > Rendition > width

Rendition.width property

Signature:

readonly width: number;

Home > @acoustic-content-sdk/api > SdkActiveRouteEvent > page

SdkActiveRouteEvent.page property

the page

Signature:

page: DeliveryContentItem;

Home > @acoustic-content-sdk/api > SdkActiveRouteEvent > type

SdkActiveRouteEvent.type property

the event type

Signature:

type: 'WchSdk.router.activeRoute';

Home > @acoustic-content-sdk/api > SdkErrorResponse > error

SdkErrorResponse.error property

potential error

Signature:

error: any;

Home > @acoustic-content-sdk/api > SdkMessageHandler > handle

SdkMessageHandler.handle property

Signature:

handle: SdkMessageHandlerCallback;

Home > @acoustic-content-sdk/api > SdkMessagePayload > id

SdkMessagePayload.id property

event identifier, identifying a potential response

Signature:

id: string;

Home > @acoustic-content-sdk/api > SdkMessagePayload > type

SdkMessagePayload.type property

the event type

Signature:

type: string;

Home > @acoustic-content-sdk/api > SdkModeEvent > mode

SdkModeEvent.mode property

the mode

Signature:

mode: SdkMode;

Home > @acoustic-content-sdk/api > SdkModeEvent > type

SdkModeEvent.type property

the event type

Signature:

type: typeof SDK_MODE_EVENT_TYPE;

Home > @acoustic-content-sdk/api > SdkNavigateByPathEvent > path

SdkNavigateByPathEvent.path property

path to navigate to

Signature:

path: string;

Home > @acoustic-content-sdk/api > SdkNavigateByPathEvent > type

SdkNavigateByPathEvent.type property

the event type

Signature:

type: 'WchSdk.router.navigateByPath';

Home > @acoustic-content-sdk/api > SdkNavigateByPathResponse > error

SdkNavigateByPathResponse.error property

potential error

Signature:

error?: any;

Home > @acoustic-content-sdk/api > SdkNavigateByPathResponse > path

SdkNavigateByPathResponse.path property

path navigated to

Signature:

path: string;

Home > @acoustic-content-sdk/api > SdkNavigateByPathResponse > success

SdkNavigateByPathResponse.success property

success of the operation

Signature:

success: boolean;

Home > @acoustic-content-sdk/api > SdkRefreshEvent > type

SdkRefreshEvent.type property

the event type

Signature:

type: 'WchSdk.refresh';

Home > @acoustic-content-sdk/api > SdkSetModeEvent > mode

SdkSetModeEvent.mode property

mode to set

Signature:

mode: SdkMode;

Home > @acoustic-content-sdk/api > SdkSetModeEvent > type

SdkSetModeEvent.type property

the event type

Signature:

type: 'WchSdk.setMode';

Home > @acoustic-content-sdk/api > SdkRouteEvent > page

SdkRouteEvent.page property

the page

Signature:

page: DeliveryContentItem;

Home > @acoustic-content-sdk/api > SdkRouteEvent > route

SdkRouteEvent.route property

the route to subscribe to

Signature:

route: string;

Home > @acoustic-content-sdk/api > SdkRouteEvent > type

SdkRouteEvent.type property

the event type

Signature:

type: 'WchSdk.router.route';

Home > @acoustic-content-sdk/api > SdkSetModeResponse > error

SdkSetModeResponse.error property

potential error

Signature:

error?: any;

Home > @acoustic-content-sdk/api > SdkSetModeResponse > mode

SdkSetModeResponse.mode property

mode set

Signature:

mode: SdkMode;

Home > @acoustic-content-sdk/api > SdkSubscribeActiveRouteEvent > type

SdkSubscribeActiveRouteEvent.type property

the event type

Signature:

type: 'WchSdk.router.activeRoute.subscribe';

Home > @acoustic-content-sdk/api > SdkSubscribeEventResponse > handle

SdkSubscribeEventResponse.handle property

handle, unsubscribe using this handle

Signature:

handle: string;

Home > @acoustic-content-sdk/api > SdkSubscribeModeEvent > type

SdkSubscribeModeEvent.type property

the event type

Signature:

type: typeof SDK_SUBSCRIBE_MODE_EVENT_TYPE;

Home > @acoustic-content-sdk/api > SdkSubscribeRouteEvent > route

SdkSubscribeRouteEvent.route property

The desired route. If the route is a string, then it is the ESCAPED path. If it is a string array, then each array element contains the UNESCAPED path segment

Signature:

route: string | string[];

Home > @acoustic-content-sdk/api > SdkSubscribeRouteEvent > type

SdkSubscribeRouteEvent.type property

the event type

Signature:

type: 'WchSdk.router.route.subscribe';

Home > @acoustic-content-sdk/api > SdkUnsubscribeEvent > handle

SdkUnsubscribeEvent.handle property

handle to unsubscribe on

Signature:

handle: string;

Home > @acoustic-content-sdk/api > SdkUnsubscribeEvent > type

SdkUnsubscribeEvent.type property

the event type

Signature:

type: 'WchSdk.unsubscribe';

Home > @acoustic-content-sdk/api > SearchResults > documents

SearchResults.documents property

Signature:

documents?: T[];

Home > @acoustic-content-sdk/api > SearchResults > numFound

SearchResults.numFound property

Signature:

numFound: number;

Home > @acoustic-content-sdk/api > SingleDateElement > value

SingleDateElement.value property

Signature:

readonly value: string;

Home > @acoustic-content-sdk/api > SearchResult > document

SearchResult.document property

Signature:

document: T;

Home > @acoustic-content-sdk/api > SingleFormattedTextElement > value

SingleFormattedTextElement.value property

Signature:

readonly value: string;

Home > @acoustic-content-sdk/api > SingleGroupElement > value

SingleGroupElement.value property

Signature:

readonly value: Group;

Home > @acoustic-content-sdk/api > SingleNumberElement > value

SingleNumberElement.value property

Signature:

readonly value: number;

Home > @acoustic-content-sdk/api > SingleProductElement > value

SingleProductElement.value property

Signature:

readonly value: string;

Home > @acoustic-content-sdk/api > SingleOptionSelectionElement > value

SingleOptionSelectionElement.value property

Signature:

readonly value: OptionSelection;

Home > @acoustic-content-sdk/api > SingleTextElement > value

SingleTextElement.value property

Signature:

readonly value: string;

Home > @acoustic-content-sdk/api > SingleReferenceElement > value

SingleReferenceElement.value property

Signature:

readonly value: RenderingContext;

Home > @acoustic-content-sdk/api > SingleToggleElement > value

SingleToggleElement.value property

Signature:

readonly value: boolean;

Home > @acoustic-content-sdk/api > SiteChild > children

SiteChild.children property

Signature:

children: SiteChild[];

Home > @acoustic-content-sdk/api > Site > id

Site.id property

Signature:

id: string;

Home > @acoustic-content-sdk/api > Site > name

Site.name property

Signature:

name?: string;

Home > @acoustic-content-sdk/api > Site > pages

Site.pages property

Signature:

pages: SiteChild[];

Home > @acoustic-content-sdk/api > SiteDeliveryContentItem > $metadata

SiteDeliveryContentItem.$metadata property

Metadata record

Signature:

$metadata: DeliveryContentMetadata;

Home > @acoustic-content-sdk/api > SiteDeliveryContentItem > navigation

SiteDeliveryContentItem.navigation property

Navigation reference

Signature:

navigation: DeliveryReferenceElement;

Home > @acoustic-content-sdk/api > SiteDeliveryContentItem > styles

SiteDeliveryContentItem.styles property

Styles reference

Signature:

styles?: DeliveryReferenceElement;

Home > @acoustic-content-sdk/api > SiteDeliveryContentItem > title

SiteDeliveryContentItem.title property

Title

Signature:

title?: string;

Home > @acoustic-content-sdk/api > SiteContext > breadcrumb

SiteContext.breadcrumb property

Signature:

breadcrumb: SitePage[];

Home > @acoustic-content-sdk/api > SiteContext > children

SiteContext.children property

Signature:

children: SitePage[];

Home > @acoustic-content-sdk/api > SiteContext > parent

SiteContext.parent property

Signature:

parent?: SitePage;

Home > @acoustic-content-sdk/api > SiteContext > sibling

SiteContext.sibling property

Signature:

sibling: SitePage[];

Home > @acoustic-content-sdk/api > SiteContext > site

SiteContext.site property

Signature:

site: Site;

Home > @acoustic-content-sdk/api > SiteNavigationDeliveryContentItem > $metadata

SiteNavigationDeliveryContentItem.$metadata property

Metadata record

Signature:

$metadata: DeliveryContentMetadata;

Home > @acoustic-content-sdk/api > SiteNavigationDeliveryContentItem > defaultPage

SiteNavigationDeliveryContentItem.defaultPage property

Default page

Signature:

defaultPage?: string;

Home > @acoustic-content-sdk/api > SiteNavigationDeliveryContentItem > tree

SiteNavigationDeliveryContentItem.tree property

JSON tree. The content is a serialization of SiteNavigation

Signature:

tree: string;

Home > @acoustic-content-sdk/api > SiteNavigationPage > children

SiteNavigationPage.children property

Optionally, the navigation children of the page

Signature:

children?: SiteNavigationPage[];

Home > @acoustic-content-sdk/api > SiteNavigationPage > id

SiteNavigationPage.id property

ID of the referenced page

Signature:

id: string;

Home > @acoustic-content-sdk/api > SitePagesQueryResult > numFound

SitePagesQueryResult.numFound property

Signature:

numFound: number;

Home > @acoustic-content-sdk/api > SitePagesQueryResult > sitePages

SitePagesQueryResult.sitePages property

Signature:

sitePages: SitePage[];

Home > @acoustic-content-sdk/api > SitePage > contentId

SitePage.contentId property

Signature:

contentId: string;

Home > @acoustic-content-sdk/api > SitePage > contentStatus

SitePage.contentStatus property

Signature:

contentStatus: string;

Home > @acoustic-content-sdk/api > SitePage > contentTypeId

SitePage.contentTypeId property

Signature:

contentTypeId: string;

Home > @acoustic-content-sdk/api > SitePage > decodedRoute

SitePage.decodedRoute property

Signature:

decodedRoute: string;

Home > @acoustic-content-sdk/api > SitePage > description

SitePage.description property

Signature:

description?: string;

Home > @acoustic-content-sdk/api > SitePage > externalContext

SitePage.externalContext property

Signature:

externalContext?: any;

Home > @acoustic-content-sdk/api > SitePage > hideFromNavigation

SitePage.hideFromNavigation property

Signature:

hideFromNavigation: boolean;

Home > @acoustic-content-sdk/api > SitePage > id

SitePage.id property

Signature:

id: string;

Home > @acoustic-content-sdk/api > SitePage > name

SitePage.name property

Signature:

name: string;

Home > @acoustic-content-sdk/api > SitePage > parentId

SitePage.parentId property

Signature:

parentId?: string;

Home > @acoustic-content-sdk/api > SitePage > route

SitePage.route property

Signature:

route: string;

Home > @acoustic-content-sdk/api > SitePage > title

SitePage.title property

Signature:

title?: string;

Home > @acoustic-content-sdk/api > Tenant > _id

Tenant._id property

DEPRECATED - read-only - UUID of the domain. Use 'id' instead of _id

Signature:

_id: string;

Home > @acoustic-content-sdk/api > Tenant > capability

Tenant.capability property

indicates the capabilities supported by a tenant

Signature:

capability?: string;

Home > @acoustic-content-sdk/api > Tenant > corsWhitelist

Tenant.corsWhitelist property

Signature:

corsWhitelist?: string[];

Home > @acoustic-content-sdk/api > Tenant > defaultContentLocale

Tenant.defaultContentLocale property

The default locale for content

Signature:

defaultContentLocale?: string;

Home > @acoustic-content-sdk/api > Tenant > deliveryAccess

Tenant.deliveryAccess property

Signature:

deliveryAccess?: DeliveryAccess;

Home > @acoustic-content-sdk/api > Tenant > ibmCommerce

Tenant.ibmCommerce property

Signature:

ibmCommerce?: IbmCommerce;

Home > @acoustic-content-sdk/api > Tenant > ibmUniqueId

Tenant.ibmUniqueId property

Signature:

ibmUniqueId?: string;

Home > @acoustic-content-sdk/api > Tenant > id

Tenant.id property

read-only - UUID of the domain

Signature:

id?: string;

Home > @acoustic-content-sdk/api > Tenant > isDAMEnabled

Tenant.isDAMEnabled property

Signature:

isDAMEnabled?: boolean;

Home > @acoustic-content-sdk/api > Tenant > isEdgeSideEnabled

Tenant.isEdgeSideEnabled property

Signature:

isEdgeSideEnabled?: boolean;

Home > @acoustic-content-sdk/api > Tenant > locale

Tenant.locale property

The locale the UI is shown in

Signature:

locale?: string;

Home > @acoustic-content-sdk/api > Tenant > locked

Tenant.locked property

set to true if the tenant is 'locked' and should not have access to the system

Signature:

locked?: boolean;

Home > @acoustic-content-sdk/api > Tenant > mandatoryAssetPublishApproval

Tenant.mandatoryAssetPublishApproval property

Signature:

mandatoryAssetPublishApproval?: AssetPublishApproval;

Home > @acoustic-content-sdk/api > Tenant > mandatoryContentPublishApproval

Tenant.mandatoryContentPublishApproval property

Signature:

mandatoryContentPublishApproval?: ContentPublishApproval;

Home > @acoustic-content-sdk/api > Tenant > maxAuthors

Tenant.maxAuthors property

Signature:

maxAuthors?: number;

Home > @acoustic-content-sdk/api > Tenant > maxBulkUploadSize

Tenant.maxBulkUploadSize property

Signature:

maxBulkUploadSize?: number;

Home > @acoustic-content-sdk/api > Tenant > maxContentItems

Tenant.maxContentItems property

Max content items the tenant can have based on plan purchased

Signature:

maxContentItems?: number;

Home > @acoustic-content-sdk/api > Tenant > maxDataTransfer

Tenant.maxDataTransfer property

Max amount of data transfer the tenant has per month, based on plan purchased

Signature:

maxDataTransfer?: number;

Home > @acoustic-content-sdk/api > Tenant > maxStorageSize

Tenant.maxStorageSize property

Max amount of storage the tenant has, based on plan purchased

Signature:

maxStorageSize?: number;

Home > @acoustic-content-sdk/api > Tenant > maxUploadSize

Tenant.maxUploadSize property

Max upload size - should apply to files/images/audio/video unless useSingleUploadSize is false in which case the individual max uploads apply

Signature:

maxUploadSize?: number;

Home > @acoustic-content-sdk/api > Tenant > maxUploadSizeFiles

Tenant.maxUploadSizeFiles property

Max upload size for files (if useSingleUploadSize is false)

Signature:

maxUploadSizeFiles?: number;

Home > @acoustic-content-sdk/api > Tenant > maxUploadSizeImage

Tenant.maxUploadSizeImage property

Max upload size for images (if useSingleUploadSize is false)

Signature:

maxUploadSizeImage?: number;

Home > @acoustic-content-sdk/api > Tenant > maxUploadSizeVideo

Tenant.maxUploadSizeVideo property

Max upload size for videos (if useSingleUploadSize is false)

Signature:

maxUploadSizeVideo?: number;

Home > @acoustic-content-sdk/api > Tenant > maxUserSessions

Tenant.maxUserSessions property

Max number of User sessions

Signature:

maxUserSessions?: number;

Home > @acoustic-content-sdk/api > Tenant > name

Tenant.name property

Signature:

name?: string;

Home > @acoustic-content-sdk/api > Tenant > tier

Tenant.tier property

Which tier of the product the tenant has purchased, set by sbs-provisioning to one of these values; Trial, Base, Standard, Plus

Signature:

tier?: TENANT_TIER;

Home > @acoustic-content-sdk/api > Tenant > useSingleUploadSize

Tenant.useSingleUploadSize property

Use the maxUploadSize to cover all uploads or use the individual max upload sizes

Signature:

useSingleUploadSize?: boolean;

Home > @acoustic-content-sdk/api > Tenant > watsonConfidenceLevel

Tenant.watsonConfidenceLevel property

Signature:

watsonConfidenceLevel?: number;

Home > @acoustic-content-sdk/api > ToggleElement > elementType

ToggleElement.elementType property

Signature:

readonly elementType: 'toggle';

Home > @acoustic-content-sdk/api > TextElement > elementType

TextElement.elementType property

Signature:

readonly elementType: 'text';

Home > @acoustic-content-sdk/api > TypeRef > description

TypeRef.description property

Signature:

readonly description?: string;

Home > @acoustic-content-sdk/api > TypeRef > id

TypeRef.id property

Signature:

readonly id: string;

Home > @acoustic-content-sdk/api > TypeRef > name

TypeRef.name property

Signature:

readonly name?: string;

Home > @acoustic-content-sdk/api > UrlConfig > apiUrl

UrlConfig.apiUrl property

The base URL used to access WCH APIs. The URL ends with a slash.

Signature:

readonly apiUrl: URL;

Home > @acoustic-content-sdk/api > UrlConfig > baseUrl

UrlConfig.baseUrl property

The base URL of the host the application is running on. This can be undefined if the application is rendered standalone as part of the universal renderer. This prefix will be preserved when generating and recognizing URLs.

In many cases it is identical to the resourceUrl, but it will e.g. be different for applications that are not hosted on WCH.

Signature:

readonly baseUrl?: URL;

Home > @acoustic-content-sdk/api > UrlConfig > isPreviewMode

UrlConfig.isPreviewMode property

True if the system runs in preview mode, else false.

Signature:

readonly isPreviewMode: boolean;

Home > @acoustic-content-sdk/api > UrlConfig > resourceUrl

UrlConfig.resourceUrl property

The base URL used to access WCH delivery resources. The URL ends with a slash.

Signature:

readonly resourceUrl: URL;

Home > @acoustic-content-sdk/api > User > created

User.created property

Date when this item was created

Signature:

created?: string;

Home > @acoustic-content-sdk/api > User > creator

User.creator property

Signature:

creator?: string;

Home > @acoustic-content-sdk/api > User > displayName

User.displayName property

The name of the user that can be displayed in the UI

Signature:

displayName?: string;

Home > @acoustic-content-sdk/api > User > externalId

User.externalId property

The unique external identifier of the user (e.g. BlueID). Although, this field can store email addresses, other types of unique identifiers may be stored too. Do not use this field as a replacement for the user attribute email address.

Signature:

externalId: string;

Home > @acoustic-content-sdk/api > User > firstName

User.firstName property

The first name of the user

Signature:

firstName?: string;

Home > @acoustic-content-sdk/api > User > id

User.id property

The unique internal identifier of the user

Signature:

id: string;

Home > @acoustic-content-sdk/api > User > lastLogin

User.lastLogin property

Date when this user logged in for the last time before current session

Signature:

lastLogin?: string;

Home > @acoustic-content-sdk/api > User > lastModified

User.lastModified property

Date when this item was modified for the last time

Signature:

lastModified?: string;

Home > @acoustic-content-sdk/api > User > lastModifier

User.lastModifier property

Signature:

lastModifier?: string;

Home > @acoustic-content-sdk/api > User > lastName

User.lastName property

The last name of the user

Signature:

lastName?: string;

Home > @acoustic-content-sdk/api > User > roles

User.roles property

The roles of the user that will be used for access control (empty for the anonymous user)

Signature:

roles: string[];

Home > @acoustic-content-sdk/api > VideoElement > elementType

VideoElement.elementType property

Signature:

readonly elementType: 'video';

Home > @acoustic-content-sdk/api > Video > asset

Video.asset property

Signature:

readonly asset?: Asset;

Home > @acoustic-content-sdk/api > Video > caption

Video.caption property

Signature:

readonly caption?: Resource;

Home > @acoustic-content-sdk/api > Video > thumbnail

Video.thumbnail property

Signature:

readonly thumbnail?: Resource;

Home > @acoustic-content-sdk/api > Video > url

Video.url property

Signature:

readonly url?: string;

Home > @acoustic-content-sdk/api > WchHttp > getJsonResource

WchHttp.getJsonResource property

Fetches a JSON resource and keeps this live based on the given or the default options

$1$2 -$3

Signature:

getJsonResource: <T>(aUrl: string, aOptions?: HttpResourceOptions) => Observable<T>;

Home > @acoustic-content-sdk/api > WchHttp > getTextResource

WchHttp.getTextResource property

Fetches a string resource and keeps this live based on the given or the default options

$1$2 -$3

Signature:

getTextResource: (aUrl: string, aOptions?: HttpResourceOptions) => Observable<string>;

Home > @acoustic-content-sdk/api > WchSdk > logger

WchSdk.logger property

Returns a factory to access loggers

Signature:

readonly logger?: LoggerService;

Home > @acoustic-content-sdk/api > WchSdk > refresh

WchSdk.refresh property

Refreshes the rendering context and all JSON data that is currently displayed

Signature:

refresh: () => void;

Home > @acoustic-content-sdk/api > WchSdk > router

WchSdk.router property

Signature:

readonly router: WchSdkRouter;

Home > @acoustic-content-sdk/api > WchSdk > search

WchSdk.search property

Optional search service

Signature:

readonly search?: WchSdkSearch;

Home > @acoustic-content-sdk/api > WchSdk > version

WchSdk.version property

Returns version information from the SDK

Signature:

readonly version: WchSdkVersion;

Home > @acoustic-content-sdk/api > WchSdkRouter > activeRenderingContext

WchSdkRouter.activeRenderingContext property

Returns an observable that represents the active rendering context

Signature:

activeRenderingContext: () => Observable<RenderingContext>;

Home > @acoustic-content-sdk/api > WchSdkRouter > activeRoute

WchSdkRouter.activeRoute property

Returns an observable that represents the active route

Signature:

activeRoute: () => Observable<SitePage>;

Home > @acoustic-content-sdk/api > WchSdkRouter > navigateByPath

WchSdkRouter.navigateByPath property

public APIs

Signature:

navigateByPath: (aPath: string) => PromiseLike<boolean>;

Home > @acoustic-content-sdk/api > WchSdkSearch > getRenderingContextById

WchSdkSearch.getRenderingContextById property

Locates the rendering context identified by the ID

$1$2 -$3 $1$2 -$3

Signature:

getRenderingContextById: (aId: string, aLevels?: number) => Observable<RenderingContext>;

Home > @acoustic-content-sdk/api > WchSdkSearch > getRenderingContexts

WchSdkSearch.getRenderingContexts property

Locates all rendering contexts that match a particular query. It is not necessary to add the classification to the query, it will automatically only apply to content for the current site

$1$2 -$3 $1$2 -$3

Signature:

getRenderingContexts: (aValue: QueryInput, aLevels?: number) => Observable<RenderingContextQueryResult>;

Home > @acoustic-content-sdk/api > WchSdkSearch > getSitePages

WchSdkSearch.getSitePages property

Locates all pages that match a particular query. It is not necessary to add the classification to the query, it will automatically only apply to pages for the current site

$1$2 -$3

Signature:

getSitePages: (aValue: QueryInput) => Observable<SitePagesQueryResult>;

Home > @acoustic-content-sdk/api > WchSdkVersion > build

WchSdkVersion.build property

build data of the SDK

Signature:

readonly build: Date;

Home > @acoustic-content-sdk/api > WchSdkVersion > version

WchSdkVersion.version property

version number of the SDK

Signature:

readonly version: {
        readonly major: string;
        readonly minor: string;
        readonly patch: string;
    };

Keywords

FAQs

Package last updated on 20 Mar 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc