import { J as Json, S as SdkModule } from '../../module-Bq-w9Ws5.cjs'; import 'graphql-request'; type LabBookingStatus = 'CANCELLED' | 'COMPLETED' | 'CONFIRMED' | 'REQUESTED'; type LabDatasetKind = 'PROCESSED' | 'RAW' | 'REFERENCE' | 'RESULT'; type LabDatasetStatus = 'ACTIVE' | 'ARCHIVED' | 'LOCKED'; type LabExperimentStatus = 'ABANDONED' | 'ANALYSIS' | 'COMPLETE' | 'DESIGN' | 'RUNNING'; type LabInstrumentStatus = 'AVAILABLE' | 'IN_USE' | 'MAINTENANCE' | 'OFFLINE'; type LabInventoryCategory = 'BIOLOGICAL' | 'CHEMICAL' | 'CONSUMABLE' | 'EQUIPMENT_PART' | 'REAGENT' | 'SAMPLE'; type LabInventoryStatus = 'EXPIRED' | 'IN_STOCK' | 'LOW' | 'OUT_OF_STOCK' | 'QUARANTINED'; type LabNotebookEntryStatus = 'DRAFT' | 'SIGNED' | 'SUBMITTED' | 'VOID' | 'WITNESSED'; type LabPipelineRunStatus = 'CANCELLED' | 'FAILED' | 'QUEUED' | 'RUNNING' | 'SUCCEEDED'; type LabProjectStatus = 'ACTIVE' | 'ARCHIVED' | 'COMPLETED' | 'ON_HOLD' | 'PLANNING'; type LabProjectVisibility = 'PRIVATE' | 'PUBLIC' | 'WORKSPACE'; type LabProtocolStatus = 'DEPRECATED' | 'DRAFT' | 'PUBLISHED'; type LabRunStatus = 'CANCELLED' | 'FAILED' | 'IN_PROGRESS' | 'PLANNED' | 'SUCCEEDED'; type LabStepKind = 'ANALYSIS' | 'CLEANUP' | 'INCUBATION' | 'MEASUREMENT' | 'PREPARATION' | 'SAFETY'; interface LabFileRef { id: string; } interface LabPageInfo { cursor?: string | null; hasMore: boolean; } interface LabProject { id: string; name: string; code?: string | null; description?: string | null; field?: string | null; status: LabProjectStatus; visibility: LabProjectVisibility; principalInvestigatorId?: string | null; startDate?: string | null; endDate?: string | null; tags: string[]; workspaceId: string; createdAt: string; updatedAt: string; experiments?: LabExperiment[]; } interface LabExperiment { id: string; title: string; description?: string | null; hypothesis?: string | null; status: LabExperimentStatus; projectId: string; protocolId?: string | null; leadResearcherId?: string | null; variables?: Json | null; tags: string[]; workspaceId: string; createdAt: string; updatedAt: string; project?: LabProject | null; runs?: LabExperimentRun[]; } interface LabExperimentRun { id: string; experimentId: string; runNumber: number; status: LabRunStatus; performedById?: string | null; parameters?: Json | null; observations?: Json | null; notes?: string | null; startedAt?: string | null; completedAt?: string | null; workspaceId: string; createdAt: string; updatedAt: string; experiment?: LabExperiment | null; } interface LabProtocolStep { id: string; protocolId: string; ordinal: number; kind: LabStepKind; instruction: string; durationMinutes: number; isCritical: boolean; workspaceId: string; createdAt: string; updatedAt: string; } interface LabProtocol { id: string; name: string; summary?: string | null; status: LabProtocolStatus; version: number; authorId?: string | null; estimatedMinutes: number; materials: string[]; safetyNotes?: string | null; tags: string[]; publishedAt?: string | null; workspaceId: string; createdAt: string; updatedAt: string; steps?: LabProtocolStep[]; } interface LabDatasetVersion { id: string; datasetId: string; version: number; sizeBytes: string; rowCount?: number | null; checksum?: string | null; changeNote?: string | null; file?: LabFileRef | null; workspaceId: string; createdAt: string; updatedAt: string; } interface LabDataset { id: string; name: string; description?: string | null; kind: LabDatasetKind; status: LabDatasetStatus; latestVersion: number; projectId?: string | null; experimentId?: string | null; tags: string[]; workspaceId: string; createdAt: string; updatedAt: string; versions?: LabDatasetVersion[]; } interface LabNotebookEntry { id: string; title: string; body?: string | null; status: LabNotebookEntryStatus; authorId: string; projectId: string; experimentId?: string | null; runId?: string | null; signedById?: string | null; signedAt?: string | null; witnessedById?: string | null; witnessedAt?: string | null; tags: string[]; files: LabFileRef[]; workspaceId: string; createdAt: string; updatedAt: string; } interface LabInstrumentBooking { id: string; instrumentId: string; bookedById: string; experimentId?: string | null; purpose?: string | null; status: LabBookingStatus; startTime: string; endTime: string; workspaceId: string; createdAt: string; updatedAt: string; instrument?: LabInstrument | null; } interface LabInstrument { id: string; name: string; model?: string | null; location?: string | null; status: LabInstrumentStatus; custodianId?: string | null; requiresApproval: boolean; tags: string[]; workspaceId: string; createdAt: string; updatedAt: string; bookings?: LabInstrumentBooking[]; } interface LabInventoryItem { id: string; name: string; category: LabInventoryCategory; status: LabInventoryStatus; quantity: number; reorderLevel: number; unit: string; catalogNumber?: string | null; lotNumber?: string | null; vendor?: string | null; location?: string | null; expiresAt?: string | null; sds?: LabFileRef | null; tags: string[]; workspaceId: string; createdAt: string; updatedAt: string; } interface LabPipelineRun { id: string; pipelineId: string; status: LabPipelineRunStatus; datasetId?: string | null; datasetVersionId?: string | null; outputDatasetId?: string | null; parameters?: Json | null; log?: string | null; triggeredById?: string | null; startedAt?: string | null; finishedAt?: string | null; workspaceId: string; createdAt: string; updatedAt: string; pipeline?: LabAnalysisPipeline | null; } interface LabAnalysisPipeline { id: string; name: string; description?: string | null; engine: string; version: number; isActive: boolean; definition?: Json | null; projectId?: string | null; tags: string[]; workspaceId: string; createdAt: string; updatedAt: string; runs?: LabPipelineRun[]; } interface LabProjectConnection { items: LabProject[]; pageInfo: LabPageInfo; } interface LabExperimentConnection { items: LabExperiment[]; pageInfo: LabPageInfo; } interface LabExperimentRunConnection { items: LabExperimentRun[]; pageInfo: LabPageInfo; } interface LabProtocolConnection { items: LabProtocol[]; pageInfo: LabPageInfo; } interface LabDatasetConnection { items: LabDataset[]; pageInfo: LabPageInfo; } interface LabNotebookEntryConnection { items: LabNotebookEntry[]; pageInfo: LabPageInfo; } interface LabInventoryItemConnection { items: LabInventoryItem[]; pageInfo: LabPageInfo; } interface LabPipelineRunConnection { items: LabPipelineRun[]; pageInfo: LabPageInfo; } interface LabPaginationInput { cursor?: string; limit?: number; offset?: number; } interface LabCreateProjectInput { name: string; code?: string; description?: string; field?: string; status?: LabProjectStatus; visibility?: LabProjectVisibility; principalInvestigatorId?: string; startDate?: string; endDate?: string; tags?: string[]; } interface LabUpdateProjectInput { name?: string; code?: string; description?: string; field?: string; status?: LabProjectStatus; visibility?: LabProjectVisibility; principalInvestigatorId?: string; startDate?: string; endDate?: string; tags?: string[]; } interface LabCreateExperimentInput { projectId: string; title: string; description?: string; hypothesis?: string; protocolId?: string; leadResearcherId?: string; variables?: Json; tags?: string[]; } interface LabUpdateExperimentInput { title?: string; description?: string; hypothesis?: string; protocolId?: string; leadResearcherId?: string; variables?: Json; tags?: string[]; } interface LabCreateRunInput { experimentId: string; notes?: string; parameters?: Json; } interface LabRecordRunResultsInput { notes?: string; observations?: Json; } interface LabCreateProtocolInput { name: string; authorId?: string; estimatedMinutes?: number; materials?: string[]; safetyNotes?: string; summary?: string; tags?: string[]; } interface LabUpdateProtocolInput { name?: string; estimatedMinutes?: number; materials?: string[]; safetyNotes?: string; summary?: string; tags?: string[]; } interface LabAddProtocolStepInput { protocolId: string; instruction: string; durationMinutes?: number; isCritical?: boolean; kind?: LabStepKind; ordinal?: number; } interface LabCreateDatasetInput { name: string; description?: string; kind?: LabDatasetKind; projectId?: string; experimentId?: string; tags?: string[]; } interface LabAddDatasetVersionInput { datasetId: string; changeNote?: string; checksum?: string; fileId?: string; rowCount?: number; sizeBytes?: string; } interface LabCreateNotebookEntryInput { projectId: string; title: string; body?: string; experimentId?: string; runId?: string; fileIds?: string[]; tags?: string[]; } interface LabCreateInstrumentInput { name: string; model?: string; location?: string; custodianId?: string; requiresApproval?: boolean; tags?: string[]; } interface LabBookInstrumentInput { instrumentId: string; startTime: string; endTime: string; experimentId?: string; purpose?: string; } interface LabCreateInventoryItemInput { name: string; category?: LabInventoryCategory; catalogNumber?: string; expiresAt?: string; location?: string; lotNumber?: string; quantity?: number; reorderLevel?: number; sdsFileId?: string; tags?: string[]; unit?: string; vendor?: string; } interface LabAdjustInventoryInput { delta: number; reason?: string; } interface LabCreatePipelineInput { name: string; description?: string; engine?: string; definition?: Json; projectId?: string; tags?: string[]; } interface LabRunPipelineInput { pipelineId: string; datasetId?: string; datasetVersionId?: string; parameters?: Json; } interface LabsofscienceProjectsApi { get(id: string): Promise; list(pagination?: LabPaginationInput, status?: LabProjectStatus): Promise; create(input: LabCreateProjectInput): Promise; update(id: string, input: LabUpdateProjectInput): Promise; archive(id: string): Promise; } interface LabsofscienceExperimentsApi { get(id: string): Promise; list(pagination?: LabPaginationInput, projectId?: string, status?: LabExperimentStatus): Promise; create(input: LabCreateExperimentInput): Promise; update(id: string, input: LabUpdateExperimentInput): Promise; transition(id: string, status: LabExperimentStatus): Promise; } interface LabsofscienceRunsApi { list(experimentId?: string, pagination?: LabPaginationInput, status?: LabRunStatus): Promise; start(input: LabCreateRunInput): Promise; complete(id: string, status: LabRunStatus, input?: LabRecordRunResultsInput): Promise; } interface LabsofscienceProtocolsApi { get(id: string): Promise; list(pagination?: LabPaginationInput, status?: LabProtocolStatus): Promise; create(input: LabCreateProtocolInput): Promise; update(id: string, input: LabUpdateProtocolInput): Promise; addStep(input: LabAddProtocolStepInput): Promise; publish(id: string): Promise; } interface LabsofscienceDatasetsApi { get(id: string): Promise; list(kind?: LabDatasetKind, pagination?: LabPaginationInput, status?: LabDatasetStatus): Promise; create(input: LabCreateDatasetInput): Promise; addVersion(input: LabAddDatasetVersionInput): Promise; archive(id: string): Promise; } interface LabsofscienceNotebookApi { list(experimentId?: string, pagination?: LabPaginationInput, projectId?: string, status?: LabNotebookEntryStatus): Promise; create(input: LabCreateNotebookEntryInput): Promise; sign(id: string): Promise; } interface LabsofscienceInstrumentsApi { get(id: string): Promise; list(status?: LabInstrumentStatus): Promise; create(input: LabCreateInstrumentInput): Promise; book(input: LabBookInstrumentInput): Promise; cancelBooking(id: string): Promise; } interface LabsofscienceInventoryApi { get(id: string): Promise; list(category?: LabInventoryCategory, pagination?: LabPaginationInput, status?: LabInventoryStatus): Promise; create(input: LabCreateInventoryItemInput): Promise; adjust(id: string, input: LabAdjustInventoryInput): Promise; archive(id: string): Promise; } interface LabsofsciencePipelinesApi { list(): Promise; create(input: LabCreatePipelineInput): Promise; listRuns(pagination?: LabPaginationInput, pipelineId?: string, status?: LabPipelineRunStatus): Promise; run(input: LabRunPipelineInput): Promise; transitionRun(id: string, status: LabPipelineRunStatus, log?: string): Promise; } interface LabsofscienceSystemApi { health(): Promise; } interface LabsofscienceApi { projects: LabsofscienceProjectsApi; experiments: LabsofscienceExperimentsApi; runs: LabsofscienceRunsApi; protocols: LabsofscienceProtocolsApi; datasets: LabsofscienceDatasetsApi; notebook: LabsofscienceNotebookApi; instruments: LabsofscienceInstrumentsApi; inventory: LabsofscienceInventoryApi; pipelines: LabsofsciencePipelinesApi; system: LabsofscienceSystemApi; } declare const labsofscienceModule: SdkModule; export { type LabAddDatasetVersionInput, type LabAddProtocolStepInput, type LabAdjustInventoryInput, type LabAnalysisPipeline, type LabBookInstrumentInput, type LabBookingStatus, type LabCreateDatasetInput, type LabCreateExperimentInput, type LabCreateInstrumentInput, type LabCreateInventoryItemInput, type LabCreateNotebookEntryInput, type LabCreatePipelineInput, type LabCreateProjectInput, type LabCreateProtocolInput, type LabCreateRunInput, type LabDataset, type LabDatasetConnection, type LabDatasetKind, type LabDatasetStatus, type LabDatasetVersion, type LabExperiment, type LabExperimentConnection, type LabExperimentRun, type LabExperimentRunConnection, type LabExperimentStatus, type LabFileRef, type LabInstrument, type LabInstrumentBooking, type LabInstrumentStatus, type LabInventoryCategory, type LabInventoryItem, type LabInventoryItemConnection, type LabInventoryStatus, type LabNotebookEntry, type LabNotebookEntryConnection, type LabNotebookEntryStatus, type LabPageInfo, type LabPaginationInput, type LabPipelineRun, type LabPipelineRunConnection, type LabPipelineRunStatus, type LabProject, type LabProjectConnection, type LabProjectStatus, type LabProjectVisibility, type LabProtocol, type LabProtocolConnection, type LabProtocolStatus, type LabProtocolStep, type LabRecordRunResultsInput, type LabRunPipelineInput, type LabRunStatus, type LabStepKind, type LabUpdateExperimentInput, type LabUpdateProjectInput, type LabUpdateProtocolInput, type LabsofscienceApi, type LabsofscienceDatasetsApi, type LabsofscienceExperimentsApi, type LabsofscienceInstrumentsApi, type LabsofscienceInventoryApi, type LabsofscienceNotebookApi, type LabsofsciencePipelinesApi, type LabsofscienceProjectsApi, type LabsofscienceProtocolsApi, type LabsofscienceRunsApi, type LabsofscienceSystemApi, labsofscienceModule as default };