/* tslint:disable */ /* eslint-disable */ /** * configuration/transactionchannels.yaml * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * Model representation of the constraint of a transaction channel configuration. */ export interface ConstraintConfiguration { /** * Model representation of the criteria based on which the constraint will be applied. */ criteria: ConstraintConfigurationCriteriaEnum; /** * Model representation of the filter element of the constraint. */ filterElement: ConstraintConfigurationFilterElementEnum; /** * The values of the constraint. Depending on the type of constraint the list will contain a variable number of values. */ values?: Array; } export const ConstraintConfigurationCriteriaEnum = { Amount: 'AMOUNT', Type: 'TYPE', Product: 'PRODUCT', } as const; export type ConstraintConfigurationCriteriaEnum = (typeof ConstraintConfigurationCriteriaEnum)[keyof typeof ConstraintConfigurationCriteriaEnum]; export const ConstraintConfigurationFilterElementEnum = { Equals: 'EQUALS', Empty: 'EMPTY', NotEmpty: 'NOT_EMPTY', MoreThan: 'MORE_THAN', LessThan: 'LESS_THAN', Between: 'BETWEEN', In: 'IN', } as const; export type ConstraintConfigurationFilterElementEnum = (typeof ConstraintConfigurationFilterElementEnum)[keyof typeof ConstraintConfigurationFilterElementEnum];