/* 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. */ // May contain unused imports in some cases // @ts-ignore import type { ConstraintConfiguration } from './constraint-configuration'; /** * Model representation of the constraints of a transaction channel configuration. */ export interface ConstraintsConfiguration { /** * The constraints of the configuration, only for the limited usage case. For the unconstrained case, no constraints are applied */ constraints?: Array; /** * Model representation of the match filter of the constraints configuration. */ matchFilter?: ConstraintsConfigurationMatchFilterEnum; /** * Model representation of the constraints usage of a transaction channel constraints configuration. */ usage: ConstraintsConfigurationUsageEnum; } export const ConstraintsConfigurationMatchFilterEnum = { All: 'ALL', Any: 'ANY', } as const; export type ConstraintsConfigurationMatchFilterEnum = (typeof ConstraintsConfigurationMatchFilterEnum)[keyof typeof ConstraintsConfigurationMatchFilterEnum]; export const ConstraintsConfigurationUsageEnum = { UnconstrainedUsage: 'UNCONSTRAINED_USAGE', LimitedUsage: 'LIMITED_USAGE', } as const; export type ConstraintsConfigurationUsageEnum = (typeof ConstraintsConfigurationUsageEnum)[keyof typeof ConstraintsConfigurationUsageEnum];