// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { Environment, Folder, GrpcRequest, HttpRequest, WebsocketRequest, Workspace } from "./gen_models"; export type BatchUpsertResult = { workspaces: Array, environments: Array, folders: Array, httpRequests: Array, grpcRequests: Array, websocketRequests: Array, }; export type ImportDestination = { "type": "new_workspace" } | { "type": "current_workspace", workspaceId: string, folderId?: string, }; export type ImportPlan = { importer: string, destination: ImportDestination, resources: ImportPlanResources, warnings: Array, }; export type ImportPlanWarning = { title: string, detail: string, }; export type ImportPlanResources = { workspaces: Array>, environments: Array>, folders: Array>, httpRequests: Array>, grpcRequests: Array>, websocketRequests: Array>, }; export type PlannedImportResource = { sourceKey?: string, resource: T, };