/* 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 { Constraint } from './constraint'; // May contain unused imports in some cases // @ts-ignore import type { CustomFieldMeta } from './custom-field-meta'; // May contain unused imports in some cases // @ts-ignore import type { TransactionChannelAttributes } from './transaction-channel-attributes'; /** * Represents a transaction channel. */ export interface TransactionChannel { attributes?: TransactionChannelAttributes; /** * `TRUE` if the transaction channel is available for all users, `FALSE` otherwise. */ availableForAll?: boolean; /** * The custom field definition available for the transaction channel. */ customFields?: Array; depositConstraints: Constraint; /** * The encoded key of the entity, generated, globally unique */ encodedKey?: string; /** * The general ledger (GL) account associated with the transaction channel. */ glAccount?: string; /** * The ID of the transaction channel. */ id: string; /** * `TRUE` if the transaction channel is set as the default, `FALSE` otherwise. */ isDefault?: boolean; loanConstraints: Constraint; /** * The name of the transaction channel. */ name: string; /** * The state of the transaction channel. */ state?: TransactionChannelStateEnum; /** * The usage rights that describe the transaction channel. */ usageRights?: Array; } export const TransactionChannelStateEnum = { Active: 'ACTIVE', Inactive: 'INACTIVE', } as const; export type TransactionChannelStateEnum = (typeof TransactionChannelStateEnum)[keyof typeof TransactionChannelStateEnum];