import type { D } from "@fullcalendar/core/internal-common";

interface ResListWebServices {
  id: string;
  topic: string;
  access: string[];
  amount: string;
}

interface ResApiName {
  createdAt: string;
  createdFullName: string;
  createdUserId: string;
  id: string;
  lastUpdateFullName: string;
  lastUpdateUserId: string;
  lastUpdatedAt: string;
  methodApi: string;
  name: string;
  pathApi: string;
}

interface ResApHistory {
  apiKey: string;
  apiName: string;
  createdAt: Date;
  id: string;
  ipApi: string;
}

interface ListSystems {
  code: string;
  name: string;
}

interface ListApiManages {
  code: string;
  createdAt: Date;
  id: string;
  isActive: boolean;
  lastUpdatedAt: Date;
  methodApi: string;
  name: string;
  pathApi: string;
  system: string;
}

interface DataSystems {
  description: string;
  isMain: boolean;
  tb: string;
  propertys: Propertys[];
}

interface Propertys {
  comment: string;
  key: string;
  propertyName: string;
  type: string;
}

interface DataAttributes {
  propertyKey: string;
  tbName: string;
}

export type {
  ResListWebServices,
  ResApiName,
  ResApHistory,
  ListSystems,
  ListApiManages,
  DataSystems,
  Propertys,
  DataAttributes,
};
