/* 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. */ // May contain unused imports in some cases // @ts-ignore import type { TransactionChannelConstraint } from './transaction-channel-constraint'; /** * The constraints applied to the transaction channel */ export interface Constraint { /** * Holds the custom constraints, only for the limited usage case. For the unconstrainedcase, no constraints are applied */ constraints?: Array; /** * Holds the match filter option for the constraints. It can be ALL so all the constraints must match, or ANY so at least one must match */ matchFiltersOption?: ConstraintMatchFiltersOptionEnum; /** * States the limited/unconstrained usage of the transaction channel */ usage?: ConstraintUsageEnum; } export const ConstraintMatchFiltersOptionEnum = { All: 'ALL', Any: 'ANY', } as const; export type ConstraintMatchFiltersOptionEnum = (typeof ConstraintMatchFiltersOptionEnum)[keyof typeof ConstraintMatchFiltersOptionEnum]; export const ConstraintUsageEnum = { Unconstrained: 'UNCONSTRAINED', Limited: 'LIMITED', } as const; export type ConstraintUsageEnum = (typeof ConstraintUsageEnum)[keyof typeof ConstraintUsageEnum];