Options
All
  • Public
  • Public/Protected
  • All
Menu

Module shopperExperience

Index

References

Namespaces

Classes

Type aliases

Variables

References

Component

Re-exports Component

Component

Re-exports Component

Content

Re-exports Content

Content

Re-exports Content

ContentFolder

Re-exports ContentFolder

ContentFolder

Re-exports ContentFolder

ContentFolderResult

Re-exports ContentFolderResult

ContentFolderResult

Re-exports ContentFolderResult

ContentResult

Re-exports ContentResult

ContentResult

Re-exports ContentResult

ContentSearchRefinement

Re-exports ContentSearchRefinement

ContentSearchRefinement

Re-exports ContentSearchRefinement

ContentSearchRefinementValue

Re-exports ContentSearchRefinementValue

ContentSearchRefinementValue

Re-exports ContentSearchRefinementValue

ContentSearchResult

Re-exports ContentSearchResult

ContentSearchResult

Re-exports ContentSearchResult

ErrorResponse

Re-exports ErrorResponse

ErrorResponse

Re-exports ErrorResponse

LocaleCode

Re-exports LocaleCode

LocaleCode

Re-exports LocaleCode

Page

Re-exports Page

Page

Re-exports Page

PageResult

Re-exports PageResult

PageResult

Re-exports PageResult

PaginatedResultBase

Re-exports PaginatedResultBase

PaginatedResultBase

Re-exports PaginatedResultBase

Region

Re-exports Region

Region

Re-exports Region

ResultBase

Re-exports ResultBase

ResultBase

Re-exports ResultBase

ShopperExperience

Re-exports ShopperExperience

ShopperExperience

Re-exports ShopperExperience

ShopperExperienceParameters

Re-exports ShopperExperienceParameters

ShopperExperienceParameters

Re-exports ShopperExperienceParameters

ShopperExperiencePathParameters

Re-exports ShopperExperiencePathParameters

ShopperExperiencePathParameters

Re-exports ShopperExperiencePathParameters

ShopperExperienceQueryParameters

Re-exports ShopperExperienceQueryParameters

ShopperExperienceQueryParameters

Re-exports ShopperExperienceQueryParameters

defaultBaseUri

Re-exports defaultBaseUri

getContentFolderPathParameters

Re-exports getContentFolderPathParameters

getContentFolderPathParameters

Re-exports getContentFolderPathParameters

getContentFolderQueryParameters

Re-exports getContentFolderQueryParameters

getContentFolderQueryParameters

Re-exports getContentFolderQueryParameters

getContentFoldersPathParameters

Re-exports getContentFoldersPathParameters

getContentFoldersPathParameters

Re-exports getContentFoldersPathParameters

getContentFoldersQueryParameters

Re-exports getContentFoldersQueryParameters

getContentFoldersQueryParameters

Re-exports getContentFoldersQueryParameters

getContentPathParameters

Re-exports getContentPathParameters

getContentPathParameters

Re-exports getContentPathParameters

getContentQueryParameters

Re-exports getContentQueryParameters

getContentQueryParameters

Re-exports getContentQueryParameters

getMultipleContentPathParameters

Re-exports getMultipleContentPathParameters

getMultipleContentPathParameters

Re-exports getMultipleContentPathParameters

getMultipleContentQueryParameters

Re-exports getMultipleContentQueryParameters

getMultipleContentQueryParameters

Re-exports getMultipleContentQueryParameters

getPagePathParameters

Re-exports getPagePathParameters

getPagePathParameters

Re-exports getPagePathParameters

getPageQueryParameters

Re-exports getPageQueryParameters

getPageQueryParameters

Re-exports getPageQueryParameters

getPagesPathParameters

Re-exports getPagesPathParameters

getPagesPathParameters

Re-exports getPagesPathParameters

getPagesQueryParameters

Re-exports getPagesQueryParameters

getPagesQueryParameters

Re-exports getPagesQueryParameters

searchContentPathParameters

Re-exports searchContentPathParameters

searchContentPathParameters

Re-exports searchContentPathParameters

searchContentQueryParameters

Re-exports searchContentQueryParameters

searchContentQueryParameters

Re-exports searchContentQueryParameters

Type aliases

Component

Component: { custom?: undefined | object; data?: undefined | object; id: string; regions?: Array<Region>; typeId: string } & {}
property

id: Component identifier.

  • Max Length: 256
property

typeId: Component type identifier.

  • Max Length: 256
property

data: The configuration data assigned to the component.

property

custom: Any custom data added by the custom code for this component.

property

regions: The regions (and their assigned components) for the component.

Content

Content: { description?: undefined | string; id: string; name?: undefined | string; pageDescription?: undefined | string; pageKeywords?: undefined | string; pageTitle?: undefined | string } & {}
property

id: The id of the content asset.

  • Min Length: 1
  • Max Length: 256
property

name: The localized content asset name.

  • Max Length: 4000
property

description: The localized content asset description.

  • Max Length: 4000
property

pageDescription: The localized content asset page description for SEO.

  • Max Length: 4000
property

pageKeywords: The localized content asset page keywords for SEO.

  • Max Length: 4000
property

pageTitle: The localized content asset page title for SEO

  • Max Length: 4000

ContentFolder

ContentFolder: { description?: undefined | string; folders?: Array<ContentFolder>; id: string; name?: undefined | string; pageDescription?: undefined | string; pageKeywords?: undefined | string; pageTitle?: undefined | string; parentFolderId?: undefined | string } & {}
property

id: The id of the content folder.

  • Max Length: 256
property

parentFolderId: The id of the parent content folder.

  • Max Length: 256
property

name: The localized content folder name.

  • Max Length: 4000
property

description: The localized content folder description.

  • Max Length: 4000
property

pageDescription: The localized content folder page description.

  • Max Length: 4000
property

pageKeywords: The localized content folder page keywords.

  • Max Length: 4000
property

pageTitle: The localized content folder page title.

  • Max Length: 4000
property

folders: The array of content subfolders. This array can be empty.

ContentFolderResult

ContentFolderResult: { data: Array<ContentFolder>; limit: number; total: number } & {}
property

data: List of content folders.

property

limit: Maximum records to retrieve per request. The limit with its constraints (minimum, maximum, default) is defined by the request parameter limit of the endpoint returning this schema.

property

total: The total number of hits that match the search's criteria. This can be greater than the number of results returned as search results are pagenated.

ContentResult

ContentResult: { data: Array<Content>; limit: number; total: number } & {}
property

data: List of content assets.

property

limit: Maximum records to retrieve per request. The limit with its constraints (minimum, maximum, default) is defined by the request parameter limit of the endpoint returning this schema.

property

total: The total number of hits that match the search's criteria. This can be greater than the number of results returned as search results are pagenated.

ContentSearchRefinement

ContentSearchRefinement: { attributeId: string; label?: undefined | string; values?: Array<ContentSearchRefinementValue> } & {}
property

attributeId: The ID of the refinement attribute.

  • Max Length: 256
property

label: The localized label of the refinement attribute.

  • Max Length: 4000
property

values: The array of refinement values.

ContentSearchRefinementValue

ContentSearchRefinementValue: { hitCount?: undefined | number; label?: undefined | string; value: string } & {}
property

label: The localized label of the refinement value.

  • Max Length: 4000
property

value: The refinement value.

  • Max Length: 256
property

hitCount: The number of search hits when this refinement value is applied.

ContentSearchResult

ContentSearchResult: { hits: Array<Content>; limit: number; offset: number; query?: undefined | string; refinements?: Array<ContentSearchRefinement>; selectedRefinements?: undefined | {}; total: number } & {}
property

query: The query String that was searched for.

  • Max Length: 256
property

hits: The sorted array of search hits. Can be empty.

property

selectedRefinements: Map of selected refinement attribute id/value(s) pairs. The sorting order is the same like in request URL.

property

refinements: The sorted array of search refinements. Can be empty.

property

offset: The zero-based index of the first hit/data to include in the result.

property

limit: Maximum records to retrieve per request. The limit with its constraints (minimum, maximum, default) is defined by the request parameter limit of the endpoint returning this schema.

property

total: The total number of hits that match the search's criteria. This can be greater than the number of results returned as search results are pagenated.

ErrorResponse

ErrorResponse: { detail: string; instance?: undefined | string; title: string; type: string } & {}
property

title: A short, human-readable summary of the problem type. It will not change from occurrence to occurrence of the problem, except for purposes of localization

  • Max Length: 256
property

type: A URI reference [RFC3986] that identifies the problem type. This specification encourages that, when dereferenced, it provide human-readable documentation for the problem type (e.g., using HTML [W3C.REC-html5-20141028]). When this member is not present, its value is assumed to be "about:blank". It accepts relative URIs; this means that they must be resolved relative to the document's base URI, as per [RFC3986], Section 5.

  • Max Length: 2048
property

detail: A human-readable explanation specific to this occurrence of the problem.

property

instance: A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced. It accepts relative URIs; this means that they must be resolved relative to the document's base URI, as per [RFC3986], Section 5.

  • Max Length: 2048

LocaleCode

LocaleCode: string

Page

Page: { aspectTypeId?: undefined | string; custom?: undefined | object; data?: undefined | object; description?: undefined | string; id: string; name?: undefined | string; pageDescription?: undefined | string; pageKeywords?: undefined | string; pageTitle?: undefined | string; regions?: Array<Region>; typeId: string } & {}
property

id: Page identifier.

  • Max Length: 256
property

typeId: Page type identifier.

  • Max Length: 256
property

aspectTypeId: The aspect type assigned to the page.

  • Max Length: 256
property

name: Display name of the page.

  • Max Length: 4000
property

description: Description of the page.

  • Max Length: 4000
property

pageTitle: The SEO title of the page.

  • Max Length: 4000
property

pageDescription: The SEO description of the page.

  • Max Length: 4000
property

pageKeywords: The SEO keywords of the page.

  • Max Length: 4000
property

data: The configuration data assigned to the page.

property

custom: Any custom data added by the custom code for the page type.

property

regions: The regions (and their assigned components) for the page.

PageResult

PageResult: { data: Array<Page> } & {}
property

data: List of pages.

PaginatedResultBase

PaginatedResultBase: { limit: number; offset: number; total: number } & {}
property

offset: The zero-based index of the first hit/data to include in the result.

property

limit: Maximum records to retrieve per request. The limit with its constraints (minimum, maximum, default) is defined by the request parameter limit of the endpoint returning this schema.

property

total: The total number of hits that match the search's criteria. This can be greater than the number of results returned as search results are pagenated.

Region

Region: { components?: Array<Component>; id: string } & {}
property

id: Region identifier.

  • Max Length: 256
property

components: The components in the region.

ResultBase

ResultBase: { limit: number; total: number } & {}
property

limit: Maximum records to retrieve per request. The limit with its constraints (minimum, maximum, default) is defined by the request parameter limit of the endpoint returning this schema.

property

total: The total number of hits that match the search's criteria. This can be greater than the number of results returned as search results are pagenated.

ShopperExperienceParameters

All parameters that are used by ShopperExperience.

ShopperExperiencePathParameters

All path parameters that are used by at least one ShopperExperience method.

ShopperExperienceQueryParameters

All query parameters that are used by at least one ShopperExperience method.

getContentFolderPathParameters

getContentFolderPathParameters: { id: string; organizationId: string }

Type declaration

  • id: string
  • organizationId: string

getContentFolderQueryParameters

getContentFolderQueryParameters: { levels?: undefined | number; locale?: LocaleCode; siteId: string }

Type declaration

  • Optional levels?: undefined | number
  • Optional locale?: LocaleCode
  • siteId: string

getContentFoldersPathParameters

getContentFoldersPathParameters: { organizationId: string }

Type declaration

  • organizationId: string

getContentFoldersQueryParameters

getContentFoldersQueryParameters: { ids: Array<string>; levels?: undefined | number; locale?: LocaleCode; siteId: string }

Type declaration

  • ids: Array<string>
  • Optional levels?: undefined | number
  • Optional locale?: LocaleCode
  • siteId: string

getContentPathParameters

getContentPathParameters: { id: string; organizationId: string }

Type declaration

  • id: string
  • organizationId: string

getContentQueryParameters

getContentQueryParameters: { locale?: LocaleCode; siteId: string }

Type declaration

getMultipleContentPathParameters

getMultipleContentPathParameters: { organizationId: string }

Type declaration

  • organizationId: string

getMultipleContentQueryParameters

getMultipleContentQueryParameters: { ids: Array<string>; locale?: LocaleCode; siteId: string }

Type declaration

  • ids: Array<string>
  • Optional locale?: LocaleCode
  • siteId: string

getPagePathParameters

getPagePathParameters: { organizationId: string; pageId: string }

Type declaration

  • organizationId: string
  • pageId: string

getPageQueryParameters

getPageQueryParameters: { aspectAttributes?: undefined | string; locale?: LocaleCode; parameters?: undefined | string; siteId: string }

Type declaration

  • Optional aspectAttributes?: undefined | string
  • Optional locale?: LocaleCode
  • Optional parameters?: undefined | string
  • siteId: string

getPagesPathParameters

getPagesPathParameters: { organizationId: string }

Type declaration

  • organizationId: string

getPagesQueryParameters

getPagesQueryParameters: { aspectAttributes?: undefined | string; aspectTypeId: string; categoryId?: undefined | string; locale?: LocaleCode; parameters?: undefined | string; productId?: undefined | string; siteId: string }

Type declaration

  • Optional aspectAttributes?: undefined | string
  • aspectTypeId: string
  • Optional categoryId?: undefined | string
  • Optional locale?: LocaleCode
  • Optional parameters?: undefined | string
  • Optional productId?: undefined | string
  • siteId: string

searchContentPathParameters

searchContentPathParameters: { organizationId: string }

Type declaration

  • organizationId: string

searchContentQueryParameters

searchContentQueryParameters: { limit?: undefined | number; locale?: LocaleCode; offset?: undefined | number; q?: undefined | string; refine?: undefined | string; siteId: string; sort?: undefined | string }

Type declaration

  • Optional limit?: undefined | number
  • Optional locale?: LocaleCode
  • Optional offset?: undefined | number
  • Optional q?: undefined | string
  • Optional refine?: undefined | string
  • siteId: string
  • Optional sort?: undefined | string

Variables

Const defaultBaseUri

defaultBaseUri: "https://{shortCode}.api.commercecloud.salesforce.com/experience/shopper-experience/v1" = "https://{shortCode}.api.commercecloud.salesforce.com/experience/shopper-experience/v1"

Generated using TypeDoc