Skip to main content

@uniformdev/context-cdp-demandbase

This package enables you to interact with Demandbase and populate Uniform quirks from the data retrieved.

Classes

DemandbaseClient

Represents the client that can be used to interact with the demandbase API.
- Constructor
DemandbaseClient(options)
Creates a new object using the specified options.
Parameters:
  • optionsobject
    + show child attributes
- Members
getCompanyProfile(options)
Gets all component definitions.
Parameters:
  • optionsobject (optional)
    + show child attributes
Returns:
  • Promise<CompanyProfile>- The fetcher assigned to the client returns data from Demandbase.
    + show child attributes
  • Promise<null>- The fetcher assigned to the client returns no response.
info

For an example of how to use this class, see the Demandbase integration guide.

Functions

buildDemandbaseQuirks

Converts the data returned from demandbase into quirks.
- Parameters
profileCompanyProfile
+ show child attributes
configDemandbaseQuirksConfig
+ show child attributes
- Return
QuirksThe quirks that were created from the data returned from Demandbase.
info

For an example of how to use this function, see the Demandbase integration guide.