/** * Fasterbase * Fasterbase API description * * OpenAPI spec version: 1.0 * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. */ /** * * @export * @interface ConditionModel */ export interface ConditionModel { /** * * @type {string} * @memberof ConditionModel */ conditionId: string; /** * * @type {string} * @memberof ConditionModel */ name: string; /** * * @type {string} * @memberof ConditionModel */ segment: ConditionModelSegmentEnum; /** * * @type {string} * @memberof ConditionModel */ operation: ConditionModelOperationEnum; /** * * @type {number} * @memberof ConditionModel */ threshold: number; /** * * @type {string} * @memberof ConditionModel */ compare: ConditionModelCompareEnum; /** * * @type {boolean} * @memberof ConditionModel */ status: boolean; /** * * @type {number} * @memberof ConditionModel */ customPeriod?: number; /** * * @type {number} * @memberof ConditionModel */ customValue?: number; /** * * @type {number} * @memberof ConditionModel */ customUserInput?: number; /** * * @type {number} * @memberof ConditionModel */ customOperationValue?: number; } /** * @export * @enum {string} */ export declare enum ConditionModelSegmentEnum { ItSelf = "itSelf", Same = "same", Against = "against", Custom = "custom" } /** * @export * @enum {string} */ export declare enum ConditionModelOperationEnum { Equal = "equal", NotEqual = "notEqual", Greater = "greater", Less = "less", EqualGreater = "equalGreater", EqualLess = "equalLess", DiffGreater = "diffGreater", DiffLess = "diffLess" } /** * @export * @enum {string} */ export declare enum ConditionModelCompareEnum { Previous = "previous", Past30 = "past30", Past60 = "past60", Past300 = "past300", CustomPeriod = "customPeriod", CustomValue = "customValue", State = "state", CustomUserInput = "customUserInput" }