SegmentApi

SegmentApi

new SegmentApi()

Source:

Methods

(static) createDestination(config) → {Object}

Parameters:
Name Type Description
config Object
Properties
Name Type Attributes Default Description
destination String
source String
destinationConfig Object
path String <optional>
workspace String <optional>
enabled Boolean <optional>
true
Source:

(static) createSource(config) → {Object}

Parameters:
Name Type Description
config Object
Properties
Name Type Attributes Description
source String <optional>
path String <optional>
workspace String <optional>
catalogName String <optional>
Source:

(static) deleteDestination(config) → {Object}

Parameters:
Name Type Description
config Object
Properties
Name Type Attributes Description
path String <optional>
source String <optional>
destination String <optional>
workspace String <optional>
Source:

(static) deleteSource(config) → {Object}

Parameters:
Name Type Description
config Object
Properties
Name Type Attributes Description
source String
workspace String <optional>
Source:

(static) getCatalogDestination(config) → {Object}

Parameters:
Name Type Description
config Object
Properties
Name Type Description
destination String
Source:

(static) getCatalogDestinationList(config) → {Object}

Parameters:
Name Type Description
config Object
Properties
Name Type Attributes Description
pageSize String <optional>
pageToken String <optional>
Source:

(static) getCatalogSource(config) → {Object}

Parameters:
Name Type Description
config Object
Properties
Name Type Description
source String
Source:

(static) getCatalogSourceList(config) → {Object}

Parameters:
Name Type Description
config Object
Properties
Name Type Attributes Description
pageSize String <optional>
pageToken String <optional>
Source:

(static) getDestination(config) → {Object}

Parameters:
Name Type Description
config Object
Properties
Name Type Attributes Description
destination String <optional>
source String <optional>
path String <optional>
workspace String <optional>
Source:

(static) getDestinationList(config) → {Object}

Parameters:
Name Type Description
config Object
Properties
Name Type Attributes Description
source String
path String <optional>
workspace String <optional>
pageSize String <optional>
pageToken String <optional>
Source:

(static) getSource(config) → {Object}

Parameters:
Name Type Description
config Object
Properties
Name Type Attributes Description
path String <optional>
source String <optional>
workspace String <optional>
Source:

(static) getSourceList(config) → {Object}

Parameters:
Name Type Description
config Object
Properties
Name Type Attributes Description
path String <optional>
workspace String <optional>
pageSize String <optional>
pageToken String <optional>
Source:

(static) getTokenList(config) → {Object}

Parameters:
Name Type Description
config
Properties
Name Type Attributes Default Description
username <optional>
Default Username
password <optional>
Default Password
Source:

(static) getWorkspace(config) → {Object}

Parameters:
Name Type Description
config Object
Properties
Name Type Attributes Description
workspace String
path String <optional>
Source:

(static) updateDestination(config) → {Object}

Parameters:
Name Type Description
config Object
Properties
Name Type Attributes Default Description
destination String
source String
destinationConfig Object
path String <optional>
workspace String <optional>
enabled Boolean <optional>
true
Source:

SegmentApi

new SegmentApi(config)

Parameters:
Name Type Description
config
Properties
Name Type Attributes Description
WORKSPACE
BASE_URL <optional>
TOKEN <optional>
CATALOG_SOURCE <optional>
CONNECTION_MODE <optional>
transformApiConfig <optional>
Source:

Methods

(static) createDestination(config) → {Object}

Parameters:
Name Type Description
config Object
Properties
Name Type Attributes Default Description
destination String
source String
destinationConfig Object
path String <optional>
workspace String <optional>
enabled Boolean <optional>
true
Source:

(static) createSource(config) → {Object}

Parameters:
Name Type Description
config Object
Properties
Name Type Attributes Description
source String <optional>
path String <optional>
workspace String <optional>
catalogName String <optional>
Source:

(static) deleteDestination(config) → {Object}

Parameters:
Name Type Description
config Object
Properties
Name Type Attributes Description
path String <optional>
source String <optional>
destination String <optional>
workspace String <optional>
Source:

(static) deleteSource(config) → {Object}

Parameters:
Name Type Description
config Object
Properties
Name Type Attributes Description
source String
workspace String <optional>
Source:

(static) getCatalogDestination(config) → {Object}

Parameters:
Name Type Description
config Object
Properties
Name Type Description
destination String
Source:

(static) getCatalogDestinationList(config) → {Object}

Parameters:
Name Type Description
config Object
Properties
Name Type Attributes Description
pageSize String <optional>
pageToken String <optional>
Source:

(static) getCatalogSource(config) → {Object}

Parameters:
Name Type Description
config Object
Properties
Name Type Description
source String
Source:

(static) getCatalogSourceList(config) → {Object}

Parameters:
Name Type Description
config Object
Properties
Name Type Attributes Description
pageSize String <optional>
pageToken String <optional>
Source:

(static) getDestination(config) → {Object}

Parameters:
Name Type Description
config Object
Properties
Name Type Attributes Description
destination String <optional>
source String <optional>
path String <optional>
workspace String <optional>
Source:

(static) getDestinationList(config) → {Object}

Parameters:
Name Type Description
config Object
Properties
Name Type Attributes Description
source String
path String <optional>
workspace String <optional>
pageSize String <optional>
pageToken String <optional>
Source:

(static) getSource(config) → {Object}

Parameters:
Name Type Description
config Object
Properties
Name Type Attributes Description
path String <optional>
source String <optional>
workspace String <optional>
Source:

(static) getSourceList(config) → {Object}

Parameters:
Name Type Description
config Object
Properties
Name Type Attributes Description
path String <optional>
workspace String <optional>
pageSize String <optional>
pageToken String <optional>
Source:

(static) getTokenList(config) → {Object}

Parameters:
Name Type Description
config
Properties
Name Type Attributes Default Description
username <optional>
Default Username
password <optional>
Default Password
Source:

(static) getWorkspace(config) → {Object}

Parameters:
Name Type Description
config Object
Properties
Name Type Attributes Description
workspace String
path String <optional>
Source:

(static) updateDestination(config) → {Object}

Parameters:
Name Type Description
config Object
Properties
Name Type Attributes Default Description
destination String
source String
destinationConfig Object
path String <optional>
workspace String <optional>
enabled Boolean <optional>
true
Source: