/* eslint-disable */ /* tslint:disable */ // @ts-nocheck /* * --------------------------------------------------------------- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ## * ## ## * ## AUTHOR: acacode ## * ## SOURCE: https://github.com/acacode/swagger-typescript-api ## * --------------------------------------------------------------- */ import type { GormDeletedAt, AppOptions, IngressGroup, IngressItem, I18NText, ErrorResponse } from './common' export interface AppCreateByTenantsReqVO { icon_color?: string; icon_name?: string; name?: string; } export interface AppCreateByTenantsRespVO { created_at?: number; has_workflow?: boolean; icon_color?: string; icon_name?: string; id?: number; name?: string; tenant_id?: number; updated_at?: number; } export interface AppCreateEntityReqVO { name?: string; parent?: number; } export interface AppCreateEntityRespVO { id?: number; } export interface AppCreateEntityShareReqVO { source_entity_id: number; target_app_ids: number[]; } export interface AppDeleteEntityShareReqVO { source_entity_id: number; target_app_id: number; } export interface AppEntityShareItemVO { created_at?: number; entity_name?: string; id?: number; source_app_id?: number; source_entity_id?: number; target_app_id?: number; target_app_name?: string; } export interface AppGetAppSchemaEntityVO { app_id?: number; fields?: AppGetAppSchemaFieldVO[]; id?: number; name?: string; prototypes?: string[]; workflow_enabled?: boolean; } export interface AppGetAppSchemaFieldVO { children?: AppGetAppSchemaFieldVO[]; id?: number; label?: string; options?: Record; type?: string; } export interface AppGetAppSchemaRespVO { entities?: AppGetAppSchemaEntityVO[]; } export interface AppGetEntitiesEntityVO { id?: number; name?: string; prototypes?: string[]; total_number?: number; } export interface AppGetEntitySharesRespVO { shares?: AppEntityShareItemVO[]; } export interface AppGetSiteMapsItemVO { enabled?: boolean; i18n_names?: Record; id?: number; name?: string; } export interface AppGetSiteMapsRespVO { dashboards?: AppGetSiteMapsItemVO[]; ingresses?: IngressGroup[]; } export interface AppRenameReqVO { name?: string; } export interface AppRenameRespVO { created_at?: number; has_workflow?: boolean; icon_color?: string; icon_name?: string; id?: number; name?: string; tenant_id?: number; updated_at?: number; } export interface AppSaveSiteMapsReqVO { dashboards?: DashboardMenuItemVO[]; ingresses?: IngressGroupReqVO[]; to_delete_ingress?: string[]; use_home_dashboard?: boolean; } export interface AppUpdateAppReqVO { changed?: string[]; createdAt?: string; deletedAt?: GormDeletedAt; has_workflow?: boolean; icon_color?: string; icon_name?: string; id?: number; name?: string; options?: AppOptions; tenant_id?: number; updatedAt?: string; use_home_dashboard?: boolean; } export interface AppUpdateAppRespVO { created_at?: number; has_workflow?: boolean; icon_color?: string; icon_name?: string; id?: number; name?: string; tenant_id?: number; updated_at?: number; } export interface AppUpdateI18NReqVO { data?: Record; } export interface AppUpdateI18NRespVO { success?: boolean; } export interface DashboardMenuItemVO { enabled?: boolean; i18n_names?: Record; id?: number; name?: string; } export interface IngressGroupReqVO { default?: boolean; i18n_name?: I18NText; icon_name?: string; id?: number; is_new?: boolean; items?: IngressItem[]; name?: string; } export type AppUpdateI18nReqVO = AppUpdateI18NReqVO; export type AppUpdateI18nRespVO = AppUpdateI18NRespVO;