/* tslint:disable */ /* eslint-disable */ /** * organization/transactionChannels * 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. */ /** * The constraints applied on the transaction channel */ export interface TransactionChannelConstraint { /** * Defines the criteria on which the constraint is applied */ criteria: TransactionChannelConstraintCriteriaEnum; /** * Defines the constraint operator. Example: in \'Amount Equals 100\' it is the \'Equals\' */ operator: TransactionChannelConstraintOperatorEnum; /** * The second filtering value of the filter parameter (constraint). It might not exist. Example: it represents \'500\' from \'Amount Between 100 and 500\' */ secondValue?: string; /** * The first filtering value of the filter constraint. Example: it represents \'Disbursement\' from \'Type equals Disbursement\' and it also represents 100 from \'Amount Between 100 and 500\' */ value?: string; /** * Filtering values used for the Product and Type criteria, where filtering might be applied on one or more values */ values?: Array; } export const TransactionChannelConstraintCriteriaEnum = { Amount: 'AMOUNT', Type: 'TYPE', Product: 'PRODUCT', } as const; export type TransactionChannelConstraintCriteriaEnum = (typeof TransactionChannelConstraintCriteriaEnum)[keyof typeof TransactionChannelConstraintCriteriaEnum]; export const TransactionChannelConstraintOperatorEnum = { Equals: 'EQUALS', Empty: 'EMPTY', NotEmpty: 'NOT_EMPTY', MoreThan: 'MORE_THAN', LessThan: 'LESS_THAN', Between: 'BETWEEN', In: 'IN', } as const; export type TransactionChannelConstraintOperatorEnum = (typeof TransactionChannelConstraintOperatorEnum)[keyof typeof TransactionChannelConstraintOperatorEnum];