import type { Document as RegistryDocument } from '@openapi/registry-data/api';

export interface Payment extends RegistryDocument {
  id: string;
  title?: string;
  modified?: number;
  schema?:string;
  departmentName?: string;
  paymentdate?: string;
  orderID?: string;
  created?: number;
  departmentId?: string;
  importFile?: ImportFile,
  registryID?: number;
  sum?: number;
  regNumber?: number;
  paymentData?: PaymentData,
  state?: string;
  cancelReason?: string;
  decisionID?: string;
  importUser?: ImportUser
}

export interface ImportUser {
  id: string;
  name: string;
}

export interface PaymentData {
  Account: string;
  BIK: string;
  BankName: string;
}

export interface ImportFile {
  Linku: string;
  Nameu: string;
}