omnisage-types
v1.1.5
Published
Omnisage core types
Downloads
3
Readme
OmniSage types
This project contain the types for all OmniSage objects.
?> For more information, see the oficial documentation here
If you are creating a RAW datapoint to ingest into OmniSage, use Interfaces.
For creating a full Raw Datapoint, use the objects placed in Interfaces.DataPoint.{Event | Session | CustomerInformation}.Raw
For creating a single object to use then in the full raw datapoint,
use the objects placed in Interfaces.Common
Installation
$ yarn add omnisage-types --save-devUsage
import * as OSTypes from "omnisage-types";
/** Creating an Identifier **/
const identifier: OSTypes.Interfaces.Common.Objects.PrimaryIdentifier.Raw = {
// properties
};
/** Creating a Raw Session Datapoint **/
const datapoint: OSTypes.Interfaces.DataPoint.Session.Raw = {
// properties
};