UNPKG

unomi-sdk-node

Version:

Node module to interact with unomi.

26 lines (24 loc) 898 B
export interface PropertiesDefault { // object structure for segment subcondition propertyName?: string; comparisonOperator: string; propertyValue?: any; matchType?: string; segments?: Array<string>; conditionType: string; } export interface PropertiesPossible { // possible properties in object structure for segment subcondition propertyName: string; comparisonOperator: string; propertyValue?: string | boolean; propertyValueInteger?: number; propertyValueDate?: string; propertyValues?: Array<string> | Array<boolean>; propertyValuesInteger?: Array<number>; propertyValuesDate?: Array<string>; propertyValueDateExpr?: string; propertyValuesDateExpr?: Array<string>; } export interface PropertiesSegmentCondition { // object structure for profileSegmentCondition subcondition matchType: string; segments: Array<string>; }