/** * @type Condition: Document representing a condition. * * @property id: The ID of the condition. * - **Max Length:** 256 * * @property attributeKey: The key of the attribute(system or custom). This represents the ID of the attribute. * - **Max Length:** 256 * * @property attributeName: The human-readable name of the attribute(system or custom). This is a read-only field. * - **Max Length:** 4000 * * @property attributeValue: The value of the attribute. * * @property operator: The operator for the condition. * */ export type Condition = { id: string; attributeKey: string; attributeName?: string; attributeValue: Array; operator: ConditionOperatorEnum; } & { [key: string]: any; }; export type ConditionOperatorEnum = 'starts_with' | 'contains' | 'equals' | 'not_equals' | 'greater_than' | 'less_than' | 'is_one_of' | 'not_one_of' | 'is_defined' | 'is_not_defined';