diff --git a/cypress/e2e/pages/history.cy.ts b/cypress/e2e/pages/history.cy.ts index 95ce6e8be..844eb6354 100644 --- a/cypress/e2e/pages/history.cy.ts +++ b/cypress/e2e/pages/history.cy.ts @@ -5,6 +5,7 @@ import { FindHistoryForWorkNumberQueryVariables } from '../../../src/types/sdk'; import { buildHistory } from '../../../src/mocks/handlers/historyHandlers'; +import { shouldDisplaySelectedValue } from '../shared/customReactSelect.cy'; describe('History Page', () => { context('when I visit the page with no URL params', () => { before(() => cy.visit('/history')); @@ -18,7 +19,9 @@ describe('History Page', () => { before(() => cy.visit('/history?bad=params&no=search')); it('does not use the params to fill in the form', () => { - cy.get("input[name='value']").invoke('val').should('eq', ''); + cy.get("input[name='barcode']").invoke('val').should('eq', ''); + cy.get("input[name='externalName']").invoke('val').should('eq', ''); + cy.get("input[name='donorName']").invoke('val').should('eq', ''); }); it('does not perform a history search', () => { @@ -28,16 +31,15 @@ describe('History Page', () => { describe('By Labware Barcode', () => { context('when I visit the page with good URL params', () => { - before(() => cy.visit('/history?kind=labwareBarcode&value=STAN-1001')); + before(() => cy.visit('/history?barcode=STAN-1001')); it('uses the params to fill in the form', () => { - cy.get("input[name='value']").invoke('val').should('eq', 'STAN-1001'); - cy.get("select[name='kind']").invoke('val').should('eq', 'labwareBarcode'); + cy.get("input[name='barcode']").invoke('val').should('eq', 'STAN-1001'); }); it('performs a history search', () => { cy.findByTestId('history').should('exist'); - cy.findByTextContent('History for Labware Barcode STAN-1001'); + cy.contains('History for barcode STAN-1001'); }); it('hightlights the searched barcode in the table', () => { @@ -64,13 +66,32 @@ describe('History Page', () => { }); }); + describe('By multiple search fields', () => { + before(() => { + cy.visit('/history?barcode=STAN-10001F&donorName=DNR123&workNumber=SGP1008&externalName=EXT123'); + }); + it('uses the params to fill in the form', () => { + cy.get("input[name='barcode']").invoke('val').should('eq', 'STAN-10001F'); + cy.get("input[name='donorName']").invoke('val').should('eq', 'DNR123'); + cy.get("input[name='externalName']").invoke('val').should('eq', 'EXT123'); + shouldDisplaySelectedValue('workNumber', 'SGP1008'); + }); + it('performs a history search', () => { + cy.findByTestId('history').should('exist'); + cy.contains('History for barcode STAN-10001F, donorName DNR123, externalName EXT123, workNumber SGP1008'); + }); + it('displays uploaded files section', () => { + cy.findByText('Files Uploaded').should('be.visible'); + }); + }); + describe('By Sample ID', () => { context('when I visit the page with good URL params', () => { - before(() => cy.visit('/history?kind=sampleId&value=10')); + before(() => cy.visit('/history?sampleId=10')); it('does performs a history search', () => { cy.findByTestId('history').should('exist'); - cy.findByTextContent('History for Sample ID 10'); + cy.contains('History for sampleId 10'); }); it('displays uploaded files section', () => { cy.findByText('Files Uploaded').should('be.visible'); @@ -80,16 +101,15 @@ describe('History Page', () => { describe('By External ID', () => { context('when I visit the page with good URL params', () => { - before(() => cy.visit('/history?kind=externalName&value=EXT123')); + before(() => cy.visit('/history?externalName=EXT123')); it('uses the params to fill in the form', () => { - cy.get("input[name='value']").invoke('val').should('eq', 'EXT123'); - cy.get("select[name='kind']").invoke('val').should('eq', 'externalName'); + cy.get("input[name='externalName']").invoke('val').should('eq', 'EXT123'); }); it('does performs a history search', () => { cy.findByTestId('history').should('exist'); - cy.findByTextContent('History for External ID EXT123'); + cy.contains('History for externalName EXT123'); }); it('displays uploaded files section', () => { cy.findByText('Files Uploaded').should('be.visible'); @@ -99,16 +119,15 @@ describe('History Page', () => { describe('By Donor Name', () => { context('when I visit the page with good URL params', () => { - before(() => cy.visit('/history?kind=donorName&value=DNR123')); + before(() => cy.visit('/history?donorName=DNR123')); it('uses the params to fill in the form', () => { - cy.get("input[name='value']").invoke('val').should('eq', 'DNR123'); - cy.get("select[name='kind']").invoke('val').should('eq', 'donorName'); + cy.get("input[name='donorName']").invoke('val').should('eq', 'DNR123'); }); it('does performs a history search', () => { cy.findByTestId('history').should('exist'); - cy.findByTextContent('History for Donor Name DNR123'); + cy.contains('History for donorName DNR123'); }); it('displays uploaded files section', () => { cy.findByText('Files Uploaded').should('be.visible'); @@ -118,16 +137,15 @@ describe('History Page', () => { describe('By Work Number', () => { context('when I visit the page with good URL params', () => { - before(() => cy.visit('/history?kind=workNumber&value=SGP1')); + before(() => cy.visit('/history?workNumber=SGP1008')); it('uses the params to fill in the form', () => { - cy.get("input[name='value']").invoke('val').should('eq', 'SGP1'); - cy.get("select[name='kind']").invoke('val').should('eq', 'workNumber'); + shouldDisplaySelectedValue('workNumber', 'SGP1008'); }); it('does performs a history search', () => { cy.findByTestId('history').should('exist'); - cy.findByTextContent('History for Work Number SGP1'); + cy.contains('History for workNumber SGP1008'); }); it('displays uploaded files section', () => { cy.findByText('Files Uploaded').should('be.visible'); @@ -154,10 +172,10 @@ describe('History Page', () => { }); context(' when clicking on uploaded files link for authenticated users', () => { before(() => { - cy.visit('/history?kind=workNumber&value=SGP1008'); + cy.visit('/history?workNumber=SGP1008'); cy.contains('Files for SGP1008').click(); }); - it('goes to file manager page for SGP123', () => { + it('goes to file manager page for SGP1008', () => { cy.url().should('be.equal', 'http://localhost:3000/file_manager?workNumber=SGP1008'); cy.findByText('Upload file').should('exist'); cy.findByText('Files').should('exist'); @@ -165,7 +183,7 @@ describe('History Page', () => { }); context('for non-authenticated users', () => { before(() => { - cy.visitAsGuest('/history?kind=workNumber&value=SGP1008'); + cy.visitAsGuest('/history?workNumber=SGP1008'); cy.contains('Files for SGP1008').click(); }); it('goes to file viewer page for SGP123', () => { @@ -192,25 +210,25 @@ describe('History Page', () => { ) ); }); - cy.visit('/history?kind=workNumber&value=SGP1001'); + cy.visit('/history?workNumber=SGP1008'); }); context(' when clicking on uploaded files link for authenticated users', () => { before(() => { - cy.contains('Files for SGP1001').click(); + cy.contains('Files for SGP1008').click(); }); it('goes to file manager page for SGP1001', () => { - cy.url().should('be.equal', 'http://localhost:3000/file_manager?workNumber=SGP1001'); + cy.url().should('be.equal', 'http://localhost:3000/file_manager?workNumber=SGP1008'); cy.findByText('Upload file').should('exist'); cy.findByText('Files').should('exist'); }); }); context('for non-authenticated users', () => { before(() => { - cy.visitAsGuest('/history?kind=workNumber&value=SGP1001'); - cy.contains('Files for SGP1001').click(); + cy.visitAsGuest('/history?workNumber=SGP1008'); + cy.contains('Files for SGP1008').click(); }); - it('goes to file viewer page for SGP1001', () => { - cy.url().should('be.equal', 'http://localhost:3000/file_viewer?workNumber=SGP1001'); + it('goes to file viewer page for SGP1008', () => { + cy.url().should('be.equal', 'http://localhost:3000/file_viewer?workNumber=SGP1008'); cy.findByText('Upload file').should('not.exist'); cy.findByText('Files').should('exist'); }); @@ -220,12 +238,12 @@ describe('History Page', () => { context('when a search errors', () => { before(() => { - cy.visit('/history?kind=labwareBarcode&value=STAN-10001F'); + cy.visit('/history?barcode=STAN-10001F'); cy.msw().then(({ worker, graphql }) => { worker.use( graphql.query<FindHistoryForLabwareBarcodeQuery, FindHistoryForLabwareBarcodeQueryVariables>( - 'FindHistoryForLabwareBarcode', + 'FindHistory', (req, res, ctx) => { return res.once( ctx.errors([ diff --git a/src/components/history/History.tsx b/src/components/history/History.tsx index 0a02397f8..c92ada5a1 100644 --- a/src/components/history/History.tsx +++ b/src/components/history/History.tsx @@ -3,7 +3,7 @@ import createHistoryMachine from './history.machine'; import { useMachine } from '@xstate/react'; import DataTable from '../DataTable'; import { Cell, Column } from 'react-table'; -import { HistoryProps, HistoryTableEntry } from '../../types/stan'; +import { HistoryTableEntry } from '../../types/stan'; import StyledLink from '../StyledLink'; import Warning from '../notifications/Warning'; import WhiteButton from '../buttons/WhiteButton'; @@ -16,11 +16,11 @@ import Heading from '../Heading'; import Table, { TableBody, TableCell } from '../Table'; import { useAuth } from '../../context/AuthContext'; import TopScrollingBar from '../TopScrollingBar'; - +import { HistoryUrlParams } from '../../pages/History'; /** * Component for looking up and displaying the history of labware and samples */ -export default function History(props: HistoryProps) { +export default function History(props: HistoryUrlParams) { const historyMachine = React.useMemo(() => { return createHistoryMachine(props); }, [props]); @@ -54,7 +54,7 @@ export default function History(props: HistoryProps) { Cell: (props: Cell<HistoryTableEntry>) => { const barcode = props.row.original.sourceBarcode; let classes = - historyProps.kind === 'labwareBarcode' && barcode === historyProps.value + historyProps.barcode === barcode ? 'bg-yellow-400 text-sp-600 hover:text-sp-700 font-semibold hover:underline text-base tracking-wide' : ''; return ( @@ -70,7 +70,7 @@ export default function History(props: HistoryProps) { Cell: (props: Cell<HistoryTableEntry>) => { const barcode = props.row.original.destinationBarcode; let classes = - historyProps.kind === 'labwareBarcode' && barcode === historyProps.value + historyProps.barcode === barcode ? 'bg-yellow-400 text-sp-600 hover:text-sp-700 font-semibold hover:underline text-base tracking-wide' : ''; return ( @@ -166,12 +166,14 @@ export default function History(props: HistoryProps) { return workNumbers; }, [history]); + const isValidInput = props.sampleId || props.workNumber || props.barcode || props.externalName || props.donorName; + /** * If the props change, send an update event to the machine */ useEffect(() => { send({ type: 'UPDATE_HISTORY_PROPS', props }); - }, [props, send]); + }, [props, send, isValidInput]); /** * File upload option is only for authenticated users, so @@ -183,8 +185,16 @@ export default function History(props: HistoryProps) { }); return isAuthenticated() ? `/file_manager?${queryParamsStr}` : `/file_viewer?${queryParamsStr}`; }; + + const searchString = (keyValSeparator: string, tokenSeparator: string) => { + return Object.keys(historyProps) + .sort() + .map((key) => `${key}${keyValSeparator}${historyProps[key as keyof HistoryUrlParams]}`) + .join(tokenSeparator); + }; + return ( - <div data-testid="history"> + <div> {current.matches('error') && serverError && ( <Warning message={'History Search Error'} error={serverError}> <WhiteButton onClick={() => send({ type: 'RETRY' })}>Retry</WhiteButton> @@ -196,7 +206,6 @@ export default function History(props: HistoryProps) { <LoadingSpinner /> </div> )} - {current.matches('found') && (history.length > 0 ? ( <> @@ -209,7 +218,7 @@ export default function History(props: HistoryProps) { <Heading level={4} showBorder={false}> Files Uploaded </Heading> - <div className={'flex flex-col mt-4 justify-center'}> + <div className={'flex flex-col mt-4 justify-center'} data-testid="history"> <Table> <TableBody> <TableCell className={'flex flex-col justify-center p-2'}> @@ -226,13 +235,10 @@ export default function History(props: HistoryProps) { </div> )} <div className="mt-6 mb-2 flex flex-row items-center justify-end space-x-3"> - <p className="text-sm text-gray-700"> - History for {historyDisplayValues[props.kind]} <span className="font-medium">{props.value}</span> - </p> - <a - href={downloadURL} - download={`${getTimestampStr()}_${historyProps.kind}_${historyProps.value}${extension}`} - > + History for + <> </> + <span className="text-gray-700">{`${searchString(' ', ', ')}`}</span> + <a href={downloadURL} download={`${getTimestampStr()}_${searchString('=', '&')}${extension}`}> <DownloadIcon name="Download" className="h-4 w-4 text-sdb" /> </a> </div> @@ -240,17 +246,11 @@ export default function History(props: HistoryProps) { <DataTable data-testid={'history-table'} columns={historyColumns} data={history} fixedHeader={true} /> </TopScrollingBar> </> - ) : ( + ) : isValidInput ? ( <Warning message={'No results found.'} /> + ) : ( + <></> ))} </div> ); } - -export const historyDisplayValues: { [key in HistoryProps['kind']]: string } = { - labwareBarcode: 'Labware Barcode', - sampleId: 'Sample ID', - externalName: 'External ID', - donorName: 'Donor Name', - workNumber: 'Work Number' -}; diff --git a/src/components/history/HistoryInput.tsx b/src/components/history/HistoryInput.tsx new file mode 100644 index 000000000..ad36c1ac1 --- /dev/null +++ b/src/components/history/HistoryInput.tsx @@ -0,0 +1,40 @@ +import { useFormikContext } from 'formik'; +import React from 'react'; +import WorkNumberSelect from '../WorkNumberSelect'; +import { HistoryUrlParams } from '../../pages/History'; +import FormikInput from '../forms/Input'; + +export default function HistoryInput() { + const { values, setFieldValue } = useFormikContext<HistoryUrlParams>(); + + return ( + <div + className="mx-auto max-w-screen-lg mb-6 border border-gray-200 bg-gray-100 p-6 rounded-md space-y-4 shadow-lg hover:shadow-2xl" + data-testid={'history-input'} + > + <div className={'grid grid-cols-2 gap-x-10 gap-y-6 border border-gray-200 bg-gray-100 p-6 rounded-md'}> + <div className={'flex flex-col '}> + <WorkNumberSelect + label={'SGP/R&D Number'} + emptyOption={true} + name={'workNumber'} + onWorkNumberChange={(workNumber) => setFieldValue('workNumber', workNumber)} + workNumber={values.workNumber} + multiple={false} + dataTestId={'workNumber'} + workNumberType={'ALL'} + /> + </div> + <div className={'flex flex-col '}> + <FormikInput name="barcode" label="Barcode" /> + </div> + <div className={'flex flex-col '}> + <FormikInput name="externalName" label="External Name" /> + </div> + <div className={'flex flex-col '}> + <FormikInput name="donorName" label="Donor Name" /> + </div> + </div> + </div> + ); +} diff --git a/src/components/history/history.machine.ts b/src/components/history/history.machine.ts index e173a749e..ecdf5755b 100644 --- a/src/components/history/history.machine.ts +++ b/src/components/history/history.machine.ts @@ -1,23 +1,24 @@ import { createMachine } from 'xstate'; import { Maybe } from '../../types/sdk'; -import { HistoryProps, HistoryTableEntry, MachineServiceDone, MachineServiceError } from '../../types/stan'; +import { HistoryTableEntry, MachineServiceDone, MachineServiceError } from '../../types/stan'; import * as historyService from '../../lib/services/historyService'; import { assign } from '@xstate/immer'; import { ClientError } from 'graphql-request'; +import { HistoryUrlParams } from '../../pages/History'; type HistoryContext = { - historyProps: HistoryProps; + historyProps: HistoryUrlParams; history: Array<HistoryTableEntry>; serverError: Maybe<ClientError>; }; type HistoryEvent = - | { type: 'UPDATE_HISTORY_PROPS'; props: HistoryProps } + | { type: 'UPDATE_HISTORY_PROPS'; props: HistoryUrlParams } | { type: 'RETRY' } | MachineServiceDone<'findHistory', Array<HistoryTableEntry>> | MachineServiceError<'findHistory'>; -export default function createHistoryMachine(initialHistoryProps: HistoryProps) { +export default function createHistoryMachine(initialHistoryProps: HistoryUrlParams) { return createMachine<HistoryContext, HistoryEvent>( { id: 'historyMachine', @@ -78,6 +79,7 @@ export default function createHistoryMachine(initialHistoryProps: HistoryProps) ctx.serverError = e.data; }) }, + services: { findHistory: (context) => { return historyService.findHistory(context.historyProps); diff --git a/src/graphql/queries/FindHistory.graphql b/src/graphql/queries/FindHistory.graphql new file mode 100644 index 000000000..e97196813 --- /dev/null +++ b/src/graphql/queries/FindHistory.graphql @@ -0,0 +1,5 @@ +query FindHistory($workNumber: String, $barcode: String, $donorName: String, $externalName: String) { + history(workNumber: $workNumber, barcode: $barcode, donorName: $donorName, externalName: $externalName) { + ...HistoryFields + } +} diff --git a/src/lib/services/historyService.ts b/src/lib/services/historyService.ts index c5a693562..4fe75ecd3 100644 --- a/src/lib/services/historyService.ts +++ b/src/lib/services/historyService.ts @@ -1,50 +1,40 @@ import { stanCore } from '../sdk'; -import { HistoryProps, HistoryTableEntry } from '../../types/stan'; +import { HistoryTableEntry } from '../../types/stan'; import { HistoryFieldsFragment, LabwareFieldsFragment, SampleFieldsFragment, SamplePositionFieldsFragment } from '../../types/sdk'; +import { HistoryUrlParams } from '../../pages/History'; /** * Retrieves the history for the given History props. */ -export async function findHistory(historyProps: HistoryProps): Promise<Array<HistoryTableEntry>> { +export async function findHistory(historyProps: HistoryUrlParams): Promise<Array<HistoryTableEntry>> { let result; - let history: HistoryFieldsFragment; - - switch (historyProps.kind) { - case 'sampleId': - result = await stanCore.FindHistoryForSampleId({ - sampleId: historyProps.value - }); - history = result.historyForSampleId; - break; - case 'externalName': - result = await stanCore.FindHistoryForExternalName({ - externalName: historyProps.value - }); - history = result.historyForExternalName; - break; - case 'donorName': - result = await stanCore.FindHistoryForDonorName({ - donorName: historyProps.value - }); - history = result.historyForDonorName; - break; - case 'labwareBarcode': - result = await stanCore.FindHistoryForLabwareBarcode({ - barcode: historyProps.value + let history: HistoryFieldsFragment = { + entries: [], + labware: [], + samples: [], + samplePositionResults: [], + __typename: 'History' + }; + if (historyProps.sampleId) { + result = await stanCore.FindHistoryForSampleId({ + sampleId: Number(historyProps.sampleId) + }); + history = result.historyForSampleId; + } else { + if (historyProps.workNumber || historyProps.barcode || historyProps.donorName || historyProps.externalName) { + result = await stanCore.FindHistory({ + workNumber: historyProps.workNumber, + barcode: historyProps.barcode, + externalName: historyProps.externalName, + donorName: historyProps.donorName }); - history = result.historyForLabwareBarcode; - break; - case 'workNumber': - result = await stanCore.FindHistoryForWorkNumber({ - workNumber: historyProps.value - }); - history = result.historyForWorkNumber; - break; + history = result.history; + } } const labwareMap: Map<number, LabwareFieldsFragment> = new Map(); @@ -62,17 +52,15 @@ export async function findHistory(historyProps: HistoryProps): Promise<Array<His } samplePositionMapByOpId.get(operationId)?.set(sampleId, samplePosition); }); - return history.entries.map((entry) => { const sourceLabware = labwareMap.get(entry.sourceLabwareId)!; const destinationLabware = labwareMap.get(entry.destinationLabwareId)!; const sample = entry.sampleId ? sampleMap.get(entry.sampleId) : undefined; - return { eventId: entry.eventId, date: new Date(entry.time).toLocaleDateString(), - sourceBarcode: sourceLabware.barcode, - destinationBarcode: destinationLabware.barcode, + sourceBarcode: sourceLabware ? sourceLabware.barcode : '', + destinationBarcode: destinationLabware ? destinationLabware.barcode : '', labwareType: destinationLabware.labwareType.name, sampleID: entry.sampleId, donorName: sample?.tissue?.donor?.donorName ?? undefined, diff --git a/src/mocks/handlers/historyHandlers.ts b/src/mocks/handlers/historyHandlers.ts index 713e4f255..b6b9cbb7c 100644 --- a/src/mocks/handlers/historyHandlers.ts +++ b/src/mocks/handlers/historyHandlers.ts @@ -10,6 +10,8 @@ import { FindHistoryForSampleIdQueryVariables, FindHistoryForWorkNumberQuery, FindHistoryForWorkNumberQueryVariables, + FindHistoryQuery, + FindHistoryQueryVariables, HistoryEntry, HistoryFieldsFragment } from '../../types/sdk'; @@ -33,7 +35,7 @@ export function buildHistory(workNumber?: string): HistoryFieldsFragment { type: 'Eat', username: 'user1', details: ['Taste: Great', 'Monkey: Foo'], - workNumber: workNumber ?? 'SGP123' + workNumber: workNumber ?? 'SGP1008' } ]; @@ -47,6 +49,15 @@ export function buildHistory(workNumber?: string): HistoryFieldsFragment { } const historyHandlers = [ + graphql.query<FindHistoryQuery, FindHistoryQueryVariables>('FindHistory', (req, res, ctx) => { + return res( + ctx.data({ + __typename: 'Query', + history: buildHistory() + }) + ); + }), + graphql.query<FindHistoryForDonorNameQuery, FindHistoryForDonorNameQueryVariables>( 'FindHistoryForDonorName', (req, res, ctx) => { diff --git a/src/pages/History.tsx b/src/pages/History.tsx index fab934251..22c04afa6 100644 --- a/src/pages/History.tsx +++ b/src/pages/History.tsx @@ -1,24 +1,54 @@ import React from 'react'; import AppShell from '../components/AppShell'; import { Form, Formik } from 'formik'; -import FormikInput from '../components/forms/Input'; -import FormikSelect from '../components/forms/Select'; import BlueButton from '../components/buttons/BlueButton'; import { useLocation } from 'react-router-dom'; -import { objectKeys, safeParseQueryString, stringify } from '../lib/helpers'; -import HistoryComponent, { historyDisplayValues } from '../components/history/History'; +import { safeParseQueryString, stringify } from '../lib/helpers'; +import HistoryComponent from '../components/history/History'; import { history } from '../lib/sdk'; -import { HistoryProps, historySchema } from '../types/stan'; import Heading from '../components/Heading'; import ExternalIDFieldSearchInfo from '../components/info/ExternalFieldInfo'; import Information from '../components/notifications/Information'; +import * as Yup from 'yup'; +import HistoryInput from '../components/history/HistoryInput'; + +/** + * Data structure to keep the data associated with this component + */ +export type HistoryUrlParams = { + workNumber?: string; + barcode?: string; + donorName?: string; + externalName?: string; + sampleId?: string; +}; + +/** + * Form validation schema + */ +export const historySearchSchema = () => { + return Yup.object().shape({ + workNumber: Yup.string(), + barcode: Yup.string(), + donorName: Yup.string(), + externalName: Yup.string() + }); +}; export default function History() { const location = useLocation(); - const historyProps = safeParseQueryString<HistoryProps>({ + const historyProps = safeParseQueryString<HistoryUrlParams>({ query: location.search, - schema: historySchema + schema: historySearchSchema() }); + + const defaultInitialValues: HistoryUrlParams = { + workNumber: undefined, + barcode: undefined, + donorName: undefined, + externalName: undefined + }; + // If the URL parameters don't parse to valid HistoryProps use the default values const initialValues = historyProps ?? defaultInitialValues; @@ -38,33 +68,16 @@ export default function History() { <ExternalIDFieldSearchInfo /> </Information> </div> - <Formik<HistoryProps> + <Formik<HistoryUrlParams> initialValues={initialValues} onSubmit={async (values) => { history.replace(`/history?${stringify(values)}`); }} > <Form> - <div className="md:flex md:flex-row md:justify-center md:items-center md:gap-4"> - <div className="md:flex-grow"> - <FormikInput name="value" label="" /> - </div> - <div className="md:flex-grow"> - <FormikSelect label="" name="kind"> - {objectKeys(historyDisplayValues) - .filter((selectValue) => selectValue !== 'sampleId') - .sort() - .map((selectValue) => ( - <option value={selectValue} key={selectValue}> - {historyDisplayValues[selectValue]} - </option> - ))} - </FormikSelect> - </div> - - <div className="flex flex-row items-center justify-end space-x-4 mt-6"> - <BlueButton type="submit">Search</BlueButton> - </div> + <HistoryInput /> + <div className="flex flex-row items-center justify-end space-x-4 mt-6"> + <BlueButton type="submit">Search</BlueButton> </div> </Form> </Formik> @@ -75,11 +88,3 @@ export default function History() { </AppShell> ); } - -/** - * Initial values for the form if they're not provided from the URL - */ -const defaultInitialValues: HistoryProps = { - kind: 'workNumber', - value: '' -}; diff --git a/src/pages/LabwareDetails.tsx b/src/pages/LabwareDetails.tsx index e3387754b..1884f3621 100644 --- a/src/pages/LabwareDetails.tsx +++ b/src/pages/LabwareDetails.tsx @@ -126,7 +126,7 @@ export default function LabwareDetails({ labware, permData, samplePositionResult </div> <div className="space-y-4"> <Heading level={2}>Labware History</Heading> - <History kind={'labwareBarcode'} value={labware.barcode} /> + <History barcode={labware.barcode} /> </div> </div> </AppShell.Main> diff --git a/src/types/sdk.ts b/src/types/sdk.ts index cc89acb86..2339900fa 100644 --- a/src/types/sdk.ts +++ b/src/types/sdk.ts @@ -1908,6 +1908,8 @@ export type Query = { historyForWorkNumber: History; /** Get the history containing a given labware barcode. */ historyForLabwareBarcode: History; + /** Get the history associated with a specified work number, and/or barcode, external name, donor name. */ + history: History; /** * Get the work progress (some particular timestamps) associated with a specified work number, and/or * work types, programs, statuses. @@ -2282,6 +2284,18 @@ export type QueryHistoryForLabwareBarcodeArgs = { }; +/** + * Get information from the application. + * These typically require no user privilege. + */ +export type QueryHistoryArgs = { + workNumber?: InputMaybe<Scalars['String']>; + barcode?: InputMaybe<Scalars['String']>; + externalName?: InputMaybe<Scalars['String']>; + donorName?: InputMaybe<Scalars['String']>; +}; + + /** * Get information from the application. * These typically require no user privilege. @@ -3392,80 +3406,88 @@ export type MutationSetLocationCustomNameArgs = { customName?: InputMaybe<Scalars['String']>; }; -export type DestructionReasonFieldsFragment = { __typename?: 'DestructionReason', id: number, text: string, enabled: boolean }; +export type CostCodeFieldsFragment = { __typename?: 'CostCode', code: string, enabled: boolean }; -export type DnapStudyFieldsFragment = { __typename?: 'DnapStudy', name: string, enabled: boolean }; +export type ActionFieldsFragment = { __typename?: 'Action', operationId: number, source: { __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }, destination: { __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }, sample: { __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } } }; + +export type DestructionReasonFieldsFragment = { __typename?: 'DestructionReason', id: number, text: string, enabled: boolean }; export type AddressPermDataFieldsFragment = { __typename?: 'AddressPermData', address: string, controlType?: ControlType | null, seconds?: number | null, selected: boolean }; -export type CostCodeFieldsFragment = { __typename?: 'CostCode', code: string, enabled: boolean }; +export type CommentFieldsFragment = { __typename?: 'Comment', id: number, text: string, category: string, enabled: boolean }; -export type ActionFieldsFragment = { __typename?: 'Action', operationId: number, source: { __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }, destination: { __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }, sample: { __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } } }; +export type EquipmentFieldsFragment = { __typename?: 'Equipment', id: number, name: string, category: string, enabled: boolean }; -export type FileFieldsFragment = { __typename?: 'StanFile', created: string, name: string, url: string, work: { __typename?: 'Work', workNumber: string } }; +export type DnapStudyFieldsFragment = { __typename?: 'DnapStudy', name: string, enabled: boolean }; export type FixativeFieldsFragment = { __typename?: 'Fixative', name: string, enabled: boolean }; export type HistoryEntryFieldsFragment = { __typename?: 'HistoryEntry', destinationLabwareId: number, details: Array<string>, eventId: number, sampleId?: number | null, sourceLabwareId: number, time: string, username: string, type: string, workNumber?: string | null }; -export type EquipmentFieldsFragment = { __typename?: 'Equipment', id: number, name: string, category: string, enabled: boolean }; +export type FileFieldsFragment = { __typename?: 'StanFile', created: string, name: string, url: string, work: { __typename?: 'Work', workNumber: string } }; + +export type HistoryFieldsFragment = { __typename?: 'History', labware: Array<{ __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }>, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }>, entries: Array<{ __typename?: 'HistoryEntry', destinationLabwareId: number, details: Array<string>, eventId: number, sampleId?: number | null, sourceLabwareId: number, time: string, username: string, type: string, workNumber?: string | null }>, samplePositionResults: Array<{ __typename?: 'SamplePosition', address: string, region: string, sampleId: number, slotId: number, operationId: number }> }; export type HmdmcFieldsFragment = { __typename?: 'Hmdmc', hmdmc: string, enabled: boolean }; export type LabwareFieldsFragment = { __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }; -export type LabwareTypeFieldsFragment = { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }; - export type NextReplicateDataFieldsFragment = { __typename?: 'NextReplicateData', barcodes: Array<string>, donorId: number, nextReplicateNumber: number, spatialLocationId: number }; -export type OmeroProjectFieldsFragment = { __typename?: 'OmeroProject', name: string, enabled: boolean }; +export type LabwareTypeFieldsFragment = { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }; + +export type LocationFieldsFragment = { __typename?: 'Location', barcode: string, fixedName?: string | null, customName?: string | null, address?: string | null, direction?: GridDirection | null, parent?: { __typename?: 'LinkedLocation', barcode: string, fixedName?: string | null, customName?: string | null } | null, size?: { __typename?: 'Size', numRows: number, numColumns: number } | null, stored: Array<{ __typename?: 'StoredItem', barcode: string, address?: string | null }>, children: Array<{ __typename?: 'LinkedLocation', barcode: string, fixedName?: string | null, customName?: string | null, address?: string | null }> }; export type LinkedLocationFieldsFragment = { __typename?: 'LinkedLocation', barcode: string, fixedName?: string | null, customName?: string | null, address?: string | null }; -export type PrinterFieldsFragment = { __typename?: 'Printer', name: string, labelTypes: Array<{ __typename?: 'LabelType', name: string }> }; +export type OmeroProjectFieldsFragment = { __typename?: 'OmeroProject', name: string, enabled: boolean }; + +export type PlanActionFieldsFragment = { __typename?: 'PlanAction', newSection?: number | null, sample: { __typename?: 'Sample', id: number }, source: { __typename?: 'Slot', address: string, labwareId: number, samples: Array<{ __typename?: 'Sample', id: number }> }, destination: { __typename?: 'Slot', address: string, labwareId: number } }; export type OperationFieldsFragment = { __typename?: 'Operation', id: number, performed: string, operationType: { __typename?: 'OperationType', name: string }, actions: Array<{ __typename?: 'Action', operationId: number, source: { __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }, destination: { __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }, sample: { __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } } }>, user: { __typename?: 'User', username: string, role: UserRole } }; -export type ProjectFieldsFragment = { __typename?: 'Project', name: string, enabled: boolean }; +export type PrinterFieldsFragment = { __typename?: 'Printer', name: string, labelTypes: Array<{ __typename?: 'LabelType', name: string }> }; -export type PlanActionFieldsFragment = { __typename?: 'PlanAction', newSection?: number | null, sample: { __typename?: 'Sample', id: number }, source: { __typename?: 'Slot', address: string, labwareId: number, samples: Array<{ __typename?: 'Sample', id: number }> }, destination: { __typename?: 'Slot', address: string, labwareId: number } }; +export type ProbePanelFieldsFragment = { __typename?: 'ProbePanel', name: string, enabled: boolean }; export type ProgramFieldsFragment = { __typename?: 'Program', name: string, enabled: boolean }; -export type HistoryFieldsFragment = { __typename?: 'History', labware: Array<{ __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }>, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }>, entries: Array<{ __typename?: 'HistoryEntry', destinationLabwareId: number, details: Array<string>, eventId: number, sampleId?: number | null, sourceLabwareId: number, time: string, username: string, type: string, workNumber?: string | null }>, samplePositionResults: Array<{ __typename?: 'SamplePosition', address: string, region: string, sampleId: number, slotId: number, operationId: number }> }; +export type ProjectFieldsFragment = { __typename?: 'Project', name: string, enabled: boolean }; export type ReagentPlateFieldsFragment = { __typename?: 'ReagentPlate', barcode: string, plateType?: string | null, slots: Array<{ __typename?: 'ReagentSlot', address: string, used: boolean }> }; -export type ProbePanelFieldsFragment = { __typename?: 'ProbePanel', name: string, enabled: boolean }; +export type ReagentSlotFieldsFragment = { __typename?: 'ReagentSlot', address: string, used: boolean }; + +export type RegisterResultFieldsFragment = { __typename?: 'RegisterResult', labware: Array<{ __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }>, clashes: Array<{ __typename?: 'RegisterClash', tissue: { __typename?: 'Tissue', externalName?: string | null, donor: { __typename?: 'Donor', donorName: string }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } } }, labware: Array<{ __typename?: 'Labware', barcode: string, labwareType: { __typename?: 'LabwareType', name: string } }> }>, labwareSolutions: Array<{ __typename?: 'LabwareSolutionName', barcode: string, solutionName: string } | null> }; export type ReleaseDestinationFieldsFragment = { __typename?: 'ReleaseDestination', name: string, enabled: boolean }; -export type ReagentSlotFieldsFragment = { __typename?: 'ReagentSlot', address: string, used: boolean }; +export type SampleFieldsFragment = { __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }; -export type SlotPassFailFieldsFragment = { __typename?: 'SlotPassFail', address: string, result: PassFail, comment?: string | null }; +export type ReleaseRecipientFieldsFragment = { __typename?: 'ReleaseRecipient', username: string, fullName?: string | null, enabled: boolean }; -export type RegisterResultFieldsFragment = { __typename?: 'RegisterResult', labware: Array<{ __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }>, clashes: Array<{ __typename?: 'RegisterClash', tissue: { __typename?: 'Tissue', externalName?: string | null, donor: { __typename?: 'Donor', donorName: string }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } } }, labware: Array<{ __typename?: 'Labware', barcode: string, labwareType: { __typename?: 'LabwareType', name: string } }> }>, labwareSolutions: Array<{ __typename?: 'LabwareSolutionName', barcode: string, solutionName: string } | null> }; +export type SamplePositionFieldsFragment = { __typename?: 'SamplePosition', address: string, region: string, sampleId: number, slotId: number, operationId: number }; -export type LocationFieldsFragment = { __typename?: 'Location', barcode: string, fixedName?: string | null, customName?: string | null, address?: string | null, direction?: GridDirection | null, parent?: { __typename?: 'LinkedLocation', barcode: string, fixedName?: string | null, customName?: string | null } | null, size?: { __typename?: 'Size', numRows: number, numColumns: number } | null, stored: Array<{ __typename?: 'StoredItem', barcode: string, address?: string | null }>, children: Array<{ __typename?: 'LinkedLocation', barcode: string, fixedName?: string | null, customName?: string | null, address?: string | null }> }; +export type SlotPassFailFieldsFragment = { __typename?: 'SlotPassFail', address: string, result: PassFail, comment?: string | null }; -export type ReleaseRecipientFieldsFragment = { __typename?: 'ReleaseRecipient', username: string, fullName?: string | null, enabled: boolean }; +export type SolutionFieldsFragment = { __typename?: 'Solution', name: string, enabled: boolean }; export type SlotRegionFieldsFragment = { __typename?: 'SlotRegion', enabled: boolean, name: string }; -export type SpeciesFieldsFragment = { __typename?: 'Species', name: string, enabled: boolean }; +export type SlotFieldsFragment = { __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }; -export type SolutionFieldsFragment = { __typename?: 'Solution', name: string, enabled: boolean }; +export type SpeciesFieldsFragment = { __typename?: 'Species', name: string, enabled: boolean }; -export type SampleFieldsFragment = { __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }; +export type StainTypeFieldsFragment = { __typename?: 'StainType', name: string, measurementTypes: Array<string> }; export type SuggestedWorkFieldsFragment = { __typename?: 'SuggestedWork', barcode: string, workNumber?: string | null }; export type UserFieldsFragment = { __typename?: 'User', username: string, role: UserRole }; -export type SlotFieldsFragment = { __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }; - export type WorkFieldsFragment = { __typename?: 'Work', workNumber: string, status: WorkStatus, numBlocks?: number | null, numSlides?: number | null, numOriginalSamples?: number | null, priority?: string | null, workRequester?: { __typename?: 'ReleaseRecipient', username: string, fullName?: string | null, enabled: boolean } | null, project: { __typename?: 'Project', name: string, enabled: boolean }, program: { __typename?: 'Program', name: string, enabled: boolean }, costCode: { __typename?: 'CostCode', code: string, enabled: boolean }, workType: { __typename?: 'WorkType', name: string, enabled: boolean }, omeroProject?: { __typename?: 'OmeroProject', name: string, enabled: boolean } | null, dnapStudy?: { __typename?: 'DnapStudy', name: string, enabled: boolean } | null }; +export type WorkProgressTimeStampFieldFragment = { __typename?: 'WorkProgressTimestamp', type: string, timestamp: string }; + export type WorkProgressFieldsFragment = { __typename?: 'WorkProgress', mostRecentOperation?: string | null, workComment?: string | null, work: { __typename?: 'Work', workNumber: string, status: WorkStatus, numBlocks?: number | null, numSlides?: number | null, numOriginalSamples?: number | null, priority?: string | null, workRequester?: { __typename?: 'ReleaseRecipient', username: string, fullName?: string | null, enabled: boolean } | null, project: { __typename?: 'Project', name: string, enabled: boolean }, program: { __typename?: 'Program', name: string, enabled: boolean }, costCode: { __typename?: 'CostCode', code: string, enabled: boolean }, workType: { __typename?: 'WorkType', name: string, enabled: boolean }, omeroProject?: { __typename?: 'OmeroProject', name: string, enabled: boolean } | null, dnapStudy?: { __typename?: 'DnapStudy', name: string, enabled: boolean } | null }, timestamps: Array<{ __typename?: 'WorkProgressTimestamp', type: string, timestamp: string }> }; export type WorkSummaryGroupFieldsFragment = { __typename?: 'WorkSummaryGroup', numWorks: number, status: WorkStatus, totalNumBlocks: number, totalNumSlides: number, totalNumOriginalSamples: number, workType: { __typename?: 'WorkType', name: string, enabled: boolean } }; @@ -3474,1051 +3496,1053 @@ export type WorkTypeFieldsFragment = { __typename?: 'WorkType', name: string, en export type WorkWithCommentFieldsFragment = { __typename?: 'WorkWithComment', comment?: string | null, work: { __typename?: 'Work', workNumber: string, status: WorkStatus, numBlocks?: number | null, numSlides?: number | null, numOriginalSamples?: number | null, priority?: string | null, workRequester?: { __typename?: 'ReleaseRecipient', username: string, fullName?: string | null, enabled: boolean } | null, project: { __typename?: 'Project', name: string, enabled: boolean }, program: { __typename?: 'Program', name: string, enabled: boolean }, costCode: { __typename?: 'CostCode', code: string, enabled: boolean }, workType: { __typename?: 'WorkType', name: string, enabled: boolean }, omeroProject?: { __typename?: 'OmeroProject', name: string, enabled: boolean } | null, dnapStudy?: { __typename?: 'DnapStudy', name: string, enabled: boolean } | null } }; -export type WorkProgressTimeStampFieldFragment = { __typename?: 'WorkProgressTimestamp', type: string, timestamp: string }; - -export type CurrentUserQueryVariables = Exact<{ [key: string]: never; }>; +export type AddCommentMutationVariables = Exact<{ + category: Scalars['String']; + text: Scalars['String']; +}>; -export type CurrentUserQuery = { __typename?: 'Query', user?: { __typename?: 'User', username: string, role: UserRole } | null }; +export type AddCommentMutation = { __typename?: 'Mutation', addComment: { __typename?: 'Comment', id: number, text: string, category: string, enabled: boolean } }; -export type FindQueryVariables = Exact<{ - request: FindRequest; +export type AddCostCodeMutationVariables = Exact<{ + code: Scalars['String']; }>; -export type FindQuery = { __typename?: 'Query', find: { __typename?: 'FindResult', numRecords: number, entries: Array<{ __typename?: 'FindEntry', labwareId: number, sampleId: number, workNumbers: Array<string | null> }>, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', replicate?: string | null, externalName?: string | null, spatialLocation: { __typename?: 'SpatialLocation', tissueType: { __typename?: 'TissueType', name: string } }, donor: { __typename?: 'Donor', donorName: string }, medium: { __typename?: 'Medium', name: string } } }>, labware: Array<{ __typename?: 'Labware', id: number, barcode: string, created: string, labwareType: { __typename?: 'LabwareType', name: string } }>, locations: Array<{ __typename?: 'Location', id: number, barcode: string, customName?: string | null, fixedName?: string | null, direction?: GridDirection | null, qualifiedNameWithFirstBarcode?: string | null, size?: { __typename?: 'Size', numRows: number, numColumns: number } | null }>, labwareLocations: Array<{ __typename?: 'LabwareLocationEntry', labwareId: number, locationId: number, address?: string | null }> } }; +export type AddCostCodeMutation = { __typename?: 'Mutation', addCostCode: { __typename?: 'CostCode', code: string, enabled: boolean } }; -export type FindFilesQueryVariables = Exact<{ - workNumbers: Array<Scalars['String']> | Scalars['String']; +export type AddDestructionReasonMutationVariables = Exact<{ + text: Scalars['String']; }>; -export type FindFilesQuery = { __typename?: 'Query', listFiles: Array<{ __typename?: 'StanFile', created: string, name: string, url: string, work: { __typename?: 'Work', workNumber: string } }> }; +export type AddDestructionReasonMutation = { __typename?: 'Mutation', addDestructionReason: { __typename?: 'DestructionReason', id: number, text: string, enabled: boolean } }; -export type FindHistoryForDonorNameQueryVariables = Exact<{ - donorName: Scalars['String']; +export type AddDnapStudyMutationVariables = Exact<{ + name: Scalars['String']; }>; -export type FindHistoryForDonorNameQuery = { __typename?: 'Query', historyForDonorName: { __typename?: 'History', labware: Array<{ __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }>, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }>, entries: Array<{ __typename?: 'HistoryEntry', destinationLabwareId: number, details: Array<string>, eventId: number, sampleId?: number | null, sourceLabwareId: number, time: string, username: string, type: string, workNumber?: string | null }>, samplePositionResults: Array<{ __typename?: 'SamplePosition', address: string, region: string, sampleId: number, slotId: number, operationId: number }> } }; +export type AddDnapStudyMutation = { __typename?: 'Mutation', addDnapStudy: { __typename?: 'DnapStudy', name: string, enabled: boolean } }; -export type FindHistoryForLabwareBarcodeQueryVariables = Exact<{ - barcode: Scalars['String']; +export type AddEquipmentMutationVariables = Exact<{ + category: Scalars['String']; + name: Scalars['String']; }>; -export type FindHistoryForLabwareBarcodeQuery = { __typename?: 'Query', historyForLabwareBarcode: { __typename?: 'History', labware: Array<{ __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }>, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }>, entries: Array<{ __typename?: 'HistoryEntry', destinationLabwareId: number, details: Array<string>, eventId: number, sampleId?: number | null, sourceLabwareId: number, time: string, username: string, type: string, workNumber?: string | null }>, samplePositionResults: Array<{ __typename?: 'SamplePosition', address: string, region: string, sampleId: number, slotId: number, operationId: number }> } }; +export type AddEquipmentMutation = { __typename?: 'Mutation', addEquipment: { __typename?: 'Equipment', id: number, name: string, category: string, enabled: boolean } }; -export type FindHistoryForWorkNumberQueryVariables = Exact<{ - workNumber: Scalars['String']; +export type AddFixativeMutationVariables = Exact<{ + name: Scalars['String']; }>; -export type FindHistoryForWorkNumberQuery = { __typename?: 'Query', historyForWorkNumber: { __typename?: 'History', labware: Array<{ __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }>, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }>, entries: Array<{ __typename?: 'HistoryEntry', destinationLabwareId: number, details: Array<string>, eventId: number, sampleId?: number | null, sourceLabwareId: number, time: string, username: string, type: string, workNumber?: string | null }>, samplePositionResults: Array<{ __typename?: 'SamplePosition', address: string, region: string, sampleId: number, slotId: number, operationId: number }> } }; +export type AddFixativeMutation = { __typename?: 'Mutation', addFixative: { __typename?: 'Fixative', name: string, enabled: boolean } }; -export type FindHistoryForSampleIdQueryVariables = Exact<{ - sampleId: Scalars['Int']; +export type AddExternalIdMutationVariables = Exact<{ + request: AddExternalIdRequest; }>; -export type FindHistoryForSampleIdQuery = { __typename?: 'Query', historyForSampleId: { __typename?: 'History', labware: Array<{ __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }>, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }>, entries: Array<{ __typename?: 'HistoryEntry', destinationLabwareId: number, details: Array<string>, eventId: number, sampleId?: number | null, sourceLabwareId: number, time: string, username: string, type: string, workNumber?: string | null }>, samplePositionResults: Array<{ __typename?: 'SamplePosition', address: string, region: string, sampleId: number, slotId: number, operationId: number }> } }; +export type AddExternalIdMutation = { __typename?: 'Mutation', addExternalID: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', performed: string, operationType: { __typename?: 'OperationType', name: string }, user: { __typename?: 'User', username: string } }> } }; -export type FindLabwareQueryVariables = Exact<{ - barcode: Scalars['String']; +export type AddOmeroProjectMutationVariables = Exact<{ + name: Scalars['String']; }>; -export type FindLabwareQuery = { __typename?: 'Query', labware: { __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> } }; +export type AddOmeroProjectMutation = { __typename?: 'Mutation', addOmeroProject: { __typename?: 'OmeroProject', name: string, enabled: boolean } }; -export type FindLabwareLocationQueryVariables = Exact<{ - barcodes: Array<Scalars['String']> | Scalars['String']; +export type AddHmdmcMutationVariables = Exact<{ + hmdmc: Scalars['String']; }>; -export type FindLabwareLocationQuery = { __typename?: 'Query', stored: Array<{ __typename?: 'StoredItem', location: { __typename?: 'Location', barcode: string } }> }; +export type AddHmdmcMutation = { __typename?: 'Mutation', addHmdmc: { __typename?: 'Hmdmc', hmdmc: string, enabled: boolean } }; -export type FindLocationByBarcodeQueryVariables = Exact<{ - barcode: Scalars['String']; +export type AddProbePanelMutationVariables = Exact<{ + name: Scalars['String']; }>; -export type FindLocationByBarcodeQuery = { __typename?: 'Query', location: { __typename?: 'Location', barcode: string, fixedName?: string | null, customName?: string | null, address?: string | null, direction?: GridDirection | null, parent?: { __typename?: 'LinkedLocation', barcode: string, fixedName?: string | null, customName?: string | null } | null, size?: { __typename?: 'Size', numRows: number, numColumns: number } | null, stored: Array<{ __typename?: 'StoredItem', barcode: string, address?: string | null }>, children: Array<{ __typename?: 'LinkedLocation', barcode: string, fixedName?: string | null, customName?: string | null, address?: string | null }> } }; +export type AddProbePanelMutation = { __typename?: 'Mutation', addProbePanel: { __typename?: 'ProbePanel', name: string, enabled: boolean } }; -export type FindPassFailsQueryVariables = Exact<{ - barcode: Scalars['String']; - operationType: Scalars['String']; +export type AddProgramMutationVariables = Exact<{ + name: Scalars['String']; }>; -export type FindPassFailsQuery = { __typename?: 'Query', passFails: Array<{ __typename?: 'OpPassFail', operation: { __typename?: 'Operation', id: number, performed: string, operationType: { __typename?: 'OperationType', name: string }, actions: Array<{ __typename?: 'Action', operationId: number, source: { __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }, destination: { __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }, sample: { __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } } }>, user: { __typename?: 'User', username: string, role: UserRole } }, slotPassFails: Array<{ __typename?: 'SlotPassFail', address: string, result: PassFail, comment?: string | null }> }> }; +export type AddProgramMutation = { __typename?: 'Mutation', addProgram: { __typename?: 'Program', name: string, enabled: boolean } }; -export type FindPermDataQueryVariables = Exact<{ - barcode: Scalars['String']; +export type AddProjectMutationVariables = Exact<{ + name: Scalars['String']; }>; -export type FindPermDataQuery = { __typename?: 'Query', visiumPermData: { __typename?: 'VisiumPermData', labware: { __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }, addressPermData: Array<{ __typename?: 'AddressPermData', address: string, controlType?: ControlType | null, seconds?: number | null, selected: boolean }>, samplePositionResults: Array<{ __typename?: 'SamplePosition', address: string, region: string, sampleId: number, slotId: number, operationId: number }> } }; +export type AddProjectMutation = { __typename?: 'Mutation', addProject: { __typename?: 'Project', name: string, enabled: boolean } }; -export type FindPlanDataQueryVariables = Exact<{ - barcode: Scalars['String']; +export type AddReleaseDestinationMutationVariables = Exact<{ + name: Scalars['String']; }>; -export type FindPlanDataQuery = { __typename?: 'Query', planData: { __typename?: 'PlanData', sources: Array<{ __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }>, destination: { __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }, plan: { __typename?: 'PlanOperation', operationType?: { __typename?: 'OperationType', name: string } | null, planActions: Array<{ __typename?: 'PlanAction', newSection?: number | null, sample: { __typename?: 'Sample', id: number }, source: { __typename?: 'Slot', address: string, labwareId: number, samples: Array<{ __typename?: 'Sample', id: number }> }, destination: { __typename?: 'Slot', address: string, labwareId: number } }> } } }; +export type AddReleaseDestinationMutation = { __typename?: 'Mutation', addReleaseDestination: { __typename?: 'ReleaseDestination', name: string, enabled: boolean } }; -export type FindReagentPlateQueryVariables = Exact<{ - barcode: Scalars['String']; +export type AddReleaseRecipientMutationVariables = Exact<{ + username: Scalars['String']; + fullName?: InputMaybe<Scalars['String']>; }>; -export type FindReagentPlateQuery = { __typename?: 'Query', reagentPlate?: { __typename?: 'ReagentPlate', barcode: string, plateType?: string | null, slots: Array<{ __typename?: 'ReagentSlot', address: string, used: boolean }> } | null }; +export type AddReleaseRecipientMutation = { __typename?: 'Mutation', addReleaseRecipient: { __typename?: 'ReleaseRecipient', username: string, fullName?: string | null, enabled: boolean } }; -export type FindLatestOperationQueryVariables = Exact<{ - barcode: Scalars['String']; - operationType: Scalars['String']; +export type AddSlotRegionMutationVariables = Exact<{ + name: Scalars['String']; }>; -export type FindLatestOperationQuery = { __typename?: 'Query', findLatestOp?: { __typename?: 'Operation', id: number } | null }; +export type AddSlotRegionMutation = { __typename?: 'Mutation', addSlotRegion: { __typename?: 'SlotRegion', enabled: boolean, name: string } }; -export type FindSamplePositionsQueryVariables = Exact<{ - labwareBarcode: Scalars['String']; +export type AddSolutionMutationVariables = Exact<{ + name: Scalars['String']; }>; -export type FindSamplePositionsQuery = { __typename?: 'Query', samplePositions: Array<{ __typename?: 'SamplePosition', address: string, region: string, sampleId: number, slotId: number, operationId: number }> }; +export type AddSolutionMutation = { __typename?: 'Mutation', addSolution: { __typename?: 'Solution', name: string, enabled: boolean } }; -export type FindStoragePathQueryVariables = Exact<{ - locationBarcode: Scalars['String']; +export type AddSpeciesMutationVariables = Exact<{ + name: Scalars['String']; }>; -export type FindStoragePathQuery = { __typename?: 'Query', storagePath: Array<{ __typename?: 'LinkedLocation', barcode: string, fixedName?: string | null, customName?: string | null, address?: string | null }> }; +export type AddSpeciesMutation = { __typename?: 'Mutation', addSpecies: { __typename?: 'Species', name: string, enabled: boolean } }; -export type FindWorkInfoQueryVariables = Exact<{ - status: WorkStatus; +export type AddUserMutationVariables = Exact<{ + username: Scalars['String']; }>; -export type FindWorkInfoQuery = { __typename?: 'Query', works: Array<{ __typename?: 'Work', workNumber: string, workRequester?: { __typename?: 'ReleaseRecipient', username: string } | null, project: { __typename?: 'Project', name: string } }> }; +export type AddUserMutation = { __typename?: 'Mutation', addUser: { __typename?: 'User', username: string, role: UserRole } }; -export type FindWorkNumbersQueryVariables = Exact<{ - status: WorkStatus; +export type AddWorkTypeMutationVariables = Exact<{ + name: Scalars['String']; }>; -export type FindWorkNumbersQuery = { __typename?: 'Query', works: Array<{ __typename?: 'Work', workNumber: string }> }; +export type AddWorkTypeMutation = { __typename?: 'Mutation', addWorkType: { __typename?: 'WorkType', name: string, enabled: boolean } }; -export type FindWorkProgressQueryVariables = Exact<{ - workNumber?: InputMaybe<Scalars['String']>; - workTypes?: InputMaybe<Array<Scalars['String']> | Scalars['String']>; - programs?: InputMaybe<Array<Scalars['String']> | Scalars['String']>; - statuses?: InputMaybe<Array<WorkStatus> | WorkStatus>; - requesters?: InputMaybe<Array<Scalars['String']> | Scalars['String']>; +export type AliquotMutationVariables = Exact<{ + request: AliquotRequest; }>; -export type FindWorkProgressQuery = { __typename?: 'Query', workProgress: Array<{ __typename?: 'WorkProgress', mostRecentOperation?: string | null, workComment?: string | null, work: { __typename?: 'Work', workNumber: string, status: WorkStatus, numBlocks?: number | null, numSlides?: number | null, numOriginalSamples?: number | null, priority?: string | null, workRequester?: { __typename?: 'ReleaseRecipient', username: string, fullName?: string | null, enabled: boolean } | null, project: { __typename?: 'Project', name: string, enabled: boolean }, program: { __typename?: 'Program', name: string, enabled: boolean }, costCode: { __typename?: 'CostCode', code: string, enabled: boolean }, workType: { __typename?: 'WorkType', name: string, enabled: boolean }, omeroProject?: { __typename?: 'OmeroProject', name: string, enabled: boolean } | null, dnapStudy?: { __typename?: 'DnapStudy', name: string, enabled: boolean } | null }, timestamps: Array<{ __typename?: 'WorkProgressTimestamp', type: string, timestamp: string }> }> }; +export type AliquotMutation = { __typename?: 'Mutation', aliquot: { __typename?: 'OperationResult', labware: Array<{ __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }>, operations: Array<{ __typename?: 'Operation', operationType: { __typename?: 'OperationType', name: string }, actions: Array<{ __typename?: 'Action', sample: { __typename?: 'Sample', id: number }, source: { __typename?: 'Slot', address: string, labwareId: number, samples: Array<{ __typename?: 'Sample', id: number }> }, destination: { __typename?: 'Slot', address: string, labwareId: number } }> }> } }; -export type FindWorksCreatedByQueryVariables = Exact<{ - username: Scalars['String']; +export type ConfirmMutationVariables = Exact<{ + request: ConfirmOperationRequest; }>; -export type FindWorksCreatedByQuery = { __typename?: 'Query', worksCreatedBy: Array<{ __typename?: 'Work', workNumber: string, status: WorkStatus, numBlocks?: number | null, numSlides?: number | null, numOriginalSamples?: number | null, priority?: string | null, workRequester?: { __typename?: 'ReleaseRecipient', username: string, fullName?: string | null, enabled: boolean } | null, project: { __typename?: 'Project', name: string, enabled: boolean }, program: { __typename?: 'Program', name: string, enabled: boolean }, costCode: { __typename?: 'CostCode', code: string, enabled: boolean }, workType: { __typename?: 'WorkType', name: string, enabled: boolean }, omeroProject?: { __typename?: 'OmeroProject', name: string, enabled: boolean } | null, dnapStudy?: { __typename?: 'DnapStudy', name: string, enabled: boolean } | null }> }; +export type ConfirmMutation = { __typename?: 'Mutation', confirmOperation: { __typename?: 'ConfirmOperationResult', labware: Array<{ __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }>, operations: Array<{ __typename?: 'Operation', performed: string, operationType: { __typename?: 'OperationType', name: string }, user: { __typename?: 'User', username: string } }> } }; -export type GetAllWorkInfoQueryVariables = Exact<{ [key: string]: never; }>; +export type ConfirmSectionMutationVariables = Exact<{ + request: ConfirmSectionRequest; +}>; -export type GetAllWorkInfoQuery = { __typename?: 'Query', works: Array<{ __typename?: 'Work', workNumber: string, status: WorkStatus, workRequester?: { __typename?: 'ReleaseRecipient', username: string } | null, project: { __typename?: 'Project', name: string } }> }; +export type ConfirmSectionMutation = { __typename?: 'Mutation', confirmSection: { __typename?: 'OperationResult', labware: Array<{ __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }>, operations: Array<{ __typename?: 'Operation', performed: string, operationType: { __typename?: 'OperationType', name: string }, user: { __typename?: 'User', username: string } }> } }; -export type GetBlockProcessingInfoQueryVariables = Exact<{ [key: string]: never; }>; +export type CreateWorkMutationVariables = Exact<{ + prefix: Scalars['String']; + workType: Scalars['String']; + workRequester: Scalars['String']; + project: Scalars['String']; + program: Scalars['String']; + costCode: Scalars['String']; + numBlocks?: InputMaybe<Scalars['Int']>; + numSlides?: InputMaybe<Scalars['Int']>; + numOriginalSamples?: InputMaybe<Scalars['Int']>; + omeroProject?: InputMaybe<Scalars['String']>; + dnapStudy?: InputMaybe<Scalars['String']>; +}>; -export type GetBlockProcessingInfoQuery = { __typename?: 'Query', mediums: Array<{ __typename?: 'Medium', name: string }>, comments: Array<{ __typename?: 'Comment', id: number, text: string, category: string, enabled: boolean }>, labwareTypes: Array<{ __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }> }; +export type CreateWorkMutation = { __typename?: 'Mutation', createWork: { __typename?: 'Work', workNumber: string, status: WorkStatus, numBlocks?: number | null, numSlides?: number | null, numOriginalSamples?: number | null, priority?: string | null, workRequester?: { __typename?: 'ReleaseRecipient', username: string, fullName?: string | null, enabled: boolean } | null, project: { __typename?: 'Project', name: string, enabled: boolean }, program: { __typename?: 'Program', name: string, enabled: boolean }, costCode: { __typename?: 'CostCode', code: string, enabled: boolean }, workType: { __typename?: 'WorkType', name: string, enabled: boolean }, omeroProject?: { __typename?: 'OmeroProject', name: string, enabled: boolean } | null, dnapStudy?: { __typename?: 'DnapStudy', name: string, enabled: boolean } | null } }; -export type GetCommentsQueryVariables = Exact<{ - commentCategory?: InputMaybe<Scalars['String']>; - includeDisabled?: InputMaybe<Scalars['Boolean']>; +export type DestroyMutationVariables = Exact<{ + request: DestroyRequest; }>; -export type GetCommentsQuery = { __typename?: 'Query', comments: Array<{ __typename?: 'Comment', id: number, text: string, category: string, enabled: boolean }> }; +export type DestroyMutation = { __typename?: 'Mutation', destroy: { __typename?: 'DestroyResult', destructions: Array<{ __typename?: 'Destruction', labware?: { __typename?: 'Labware', barcode: string } | null }> } }; -export type GetConfigurationQueryVariables = Exact<{ [key: string]: never; }>; +export type ExtractMutationVariables = Exact<{ + request: ExtractRequest; +}>; -export type GetConfigurationQuery = { __typename?: 'Query', destructionReasons: Array<{ __typename?: 'DestructionReason', id: number, text: string, enabled: boolean }>, comments: Array<{ __typename?: 'Comment', id: number, text: string, category: string, enabled: boolean }>, hmdmcs: Array<{ __typename?: 'Hmdmc', hmdmc: string, enabled: boolean }>, species: Array<{ __typename?: 'Species', name: string, enabled: boolean }>, fixatives: Array<{ __typename?: 'Fixative', name: string, enabled: boolean }>, releaseDestinations: Array<{ __typename?: 'ReleaseDestination', name: string, enabled: boolean }>, releaseRecipients: Array<{ __typename?: 'ReleaseRecipient', username: string, fullName?: string | null, enabled: boolean }>, projects: Array<{ __typename?: 'Project', name: string, enabled: boolean }>, costCodes: Array<{ __typename?: 'CostCode', code: string, enabled: boolean }>, workTypes: Array<{ __typename?: 'WorkType', name: string, enabled: boolean }>, equipments: Array<{ __typename?: 'Equipment', id: number, name: string, category: string, enabled: boolean }>, users: Array<{ __typename?: 'User', username: string, role: UserRole }>, solutions: Array<{ __typename?: 'Solution', name: string, enabled: boolean }>, probePanels: Array<{ __typename?: 'ProbePanel', name: string, enabled: boolean }>, programs: Array<{ __typename?: 'Program', name: string, enabled: boolean }>, omeroProjects: Array<{ __typename?: 'OmeroProject', name: string, enabled: boolean }>, dnapStudies: Array<{ __typename?: 'DnapStudy', name: string, enabled: boolean }> }; +export type ExtractMutation = { __typename?: 'Mutation', extract: { __typename?: 'OperationResult', labware: Array<{ __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }>, operations: Array<{ __typename?: 'Operation', operationType: { __typename?: 'OperationType', name: string }, actions: Array<{ __typename?: 'Action', sample: { __typename?: 'Sample', id: number }, source: { __typename?: 'Slot', address: string, labwareId: number, samples: Array<{ __typename?: 'Sample', id: number }> }, destination: { __typename?: 'Slot', address: string, labwareId: number } }> }> } }; -export type GetDestroyInfoQueryVariables = Exact<{ [key: string]: never; }>; +export type EmptyLocationMutationVariables = Exact<{ + barcode: Scalars['String']; +}>; -export type GetDestroyInfoQuery = { __typename?: 'Query', destructionReasons: Array<{ __typename?: 'DestructionReason', id: number, text: string, enabled: boolean }> }; +export type EmptyLocationMutation = { __typename?: 'Mutation', empty: { __typename?: 'UnstoreResult', numUnstored: number } }; -export type GetDestructionReasonsQueryVariables = Exact<{ - includeDisabled?: InputMaybe<Scalars['Boolean']>; +export type LoginMutationVariables = Exact<{ + username: Scalars['String']; + password: Scalars['String']; }>; -export type GetDestructionReasonsQuery = { __typename?: 'Query', destructionReasons: Array<{ __typename?: 'DestructionReason', id: number, text: string, enabled: boolean }> }; +export type LoginMutation = { __typename?: 'Mutation', login: { __typename?: 'LoginResult', user?: { __typename?: 'User', username: string, role: UserRole } | null } }; -export type GetFfpeProcessingInfoQueryVariables = Exact<{ [key: string]: never; }>; +export type LogoutMutationVariables = Exact<{ [key: string]: never; }>; -export type GetFfpeProcessingInfoQuery = { __typename?: 'Query', comments: Array<{ __typename?: 'Comment', id: number, text: string, category: string, enabled: boolean }> }; +export type LogoutMutation = { __typename?: 'Mutation', logout?: string | null }; -export type GetLabwareCostingQueryVariables = Exact<{ - barcode: Scalars['String']; +export type PerformFfpeProcessingMutationVariables = Exact<{ + request: FfpeProcessingRequest; }>; -export type GetLabwareCostingQuery = { __typename?: 'Query', labwareCosting?: SlideCosting | null }; +export type PerformFfpeProcessingMutation = { __typename?: 'Mutation', performFFPEProcessing: { __typename?: 'OperationResult', labware: Array<{ __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }>, operations: Array<{ __typename?: 'Operation', performed: string, operationType: { __typename?: 'OperationType', name: string }, user: { __typename?: 'User', username: string } }> } }; -export type GetLabwareInLocationQueryVariables = Exact<{ - locationBarcode: Scalars['String']; +export type PerformSolutionTransferMutationVariables = Exact<{ + request: SolutionTransferRequest; }>; -export type GetLabwareInLocationQuery = { __typename?: 'Query', labwareInLocation: Array<{ __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }> }; +export type PerformSolutionTransferMutation = { __typename?: 'Mutation', performSolutionTransfer: { __typename?: 'OperationResult', labware: Array<{ __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }>, operations: Array<{ __typename?: 'Operation', performed: string, operationType: { __typename?: 'OperationType', name: string }, user: { __typename?: 'User', username: string } }> } }; -export type GetLabwareOperationsQueryVariables = Exact<{ - barcode: Scalars['String']; - operationType: Scalars['String']; +export type PerformTissuePotMutationVariables = Exact<{ + request: PotProcessingRequest; }>; -export type GetLabwareOperationsQuery = { __typename?: 'Query', labwareOperations?: Array<{ __typename?: 'Operation', id: number, performed: string, operationType: { __typename?: 'OperationType', name: string }, actions: Array<{ __typename?: 'Action', operationId: number, source: { __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }, destination: { __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }, sample: { __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } } }>, user: { __typename?: 'User', username: string, role: UserRole } } | null> | null }; +export type PerformTissuePotMutation = { __typename?: 'Mutation', performPotProcessing: { __typename?: 'OperationResult', labware: Array<{ __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }>, operations: Array<{ __typename?: 'Operation', performed: string, operationType: { __typename?: 'OperationType', name: string }, user: { __typename?: 'User', username: string } }> } }; -export type GetNextReplicateNumberQueryVariables = Exact<{ - barcodes: Array<Scalars['String']> | Scalars['String']; +export type PerformTissueBlockMutationVariables = Exact<{ + request: TissueBlockRequest; }>; -export type GetNextReplicateNumberQuery = { __typename?: 'Query', nextReplicateNumbers: Array<{ __typename?: 'NextReplicateData', barcodes: Array<string>, donorId: number, nextReplicateNumber: number, spatialLocationId: number }> }; +export type PerformTissueBlockMutation = { __typename?: 'Mutation', performTissueBlock: { __typename?: 'OperationResult', labware: Array<{ __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }>, operations: Array<{ __typename?: 'Operation', performed: string, operationType: { __typename?: 'OperationType', name: string }, user: { __typename?: 'User', username: string } }> } }; -export type GetOmeroProjectsQueryVariables = Exact<{ [key: string]: never; }>; +export type PrintMutationVariables = Exact<{ + barcodes: Array<Scalars['String']> | Scalars['String']; + printer: Scalars['String']; +}>; -export type GetOmeroProjectsQuery = { __typename?: 'Query', omeroProjects: Array<{ __typename?: 'OmeroProject', name: string, enabled: boolean }> }; +export type PrintMutation = { __typename?: 'Mutation', printLabware?: string | null }; -export type FindHistoryForExternalNameQueryVariables = Exact<{ - externalName: Scalars['String']; +export type PlanMutationVariables = Exact<{ + request: PlanRequest; }>; -export type FindHistoryForExternalNameQuery = { __typename?: 'Query', historyForExternalName: { __typename?: 'History', labware: Array<{ __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }>, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }>, entries: Array<{ __typename?: 'HistoryEntry', destinationLabwareId: number, details: Array<string>, eventId: number, sampleId?: number | null, sourceLabwareId: number, time: string, username: string, type: string, workNumber?: string | null }>, samplePositionResults: Array<{ __typename?: 'SamplePosition', address: string, region: string, sampleId: number, slotId: number, operationId: number }> } }; +export type PlanMutation = { __typename?: 'Mutation', plan: { __typename?: 'PlanResult', labware: Array<{ __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }>, operations: Array<{ __typename?: 'PlanOperation', operationType?: { __typename?: 'OperationType', name: string } | null, planActions: Array<{ __typename?: 'PlanAction', newSection?: number | null, sample: { __typename?: 'Sample', id: number }, source: { __typename?: 'Slot', address: string, labwareId: number, samples: Array<{ __typename?: 'Sample', id: number }> }, destination: { __typename?: 'Slot', address: string, labwareId: number } }> }> } }; -export type ExtractResultQueryVariables = Exact<{ - barcode: Scalars['String']; +export type RecordAnalyserMutationVariables = Exact<{ + request: AnalyserRequest; }>; -export type ExtractResultQuery = { __typename?: 'Query', extractResult: { __typename?: 'ExtractResult', result?: PassFail | null, concentration?: string | null, labware: { __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> } } }; +export type RecordAnalyserMutation = { __typename?: 'Mutation', recordAnalyser: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; -export type StainTypeFieldsFragment = { __typename?: 'StainType', name: string, measurementTypes: Array<string> }; +export type RecordComplexStainMutationVariables = Exact<{ + request: ComplexStainRequest; +}>; -export type SamplePositionFieldsFragment = { __typename?: 'SamplePosition', address: string, region: string, sampleId: number, slotId: number, operationId: number }; -export type GetPotProcessingInfoQueryVariables = Exact<{ [key: string]: never; }>; +export type RecordComplexStainMutation = { __typename?: 'Mutation', recordComplexStain: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; +export type RecordInPlaceMutationVariables = Exact<{ + request: InPlaceOpRequest; +}>; -export type GetPotProcessingInfoQuery = { __typename?: 'Query', fixatives: Array<{ __typename?: 'Fixative', name: string }>, comments: Array<{ __typename?: 'Comment', id: number, text: string, category: string, enabled: boolean }>, labwareTypes: Array<{ __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }> }; -export type GetRecordInPlaceInfoQueryVariables = Exact<{ - category?: InputMaybe<Scalars['String']>; +export type RecordInPlaceMutation = { __typename?: 'Mutation', recordInPlace: { __typename?: 'OperationResult', labware: Array<{ __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }> } }; + +export type RecordOpWithSlotCommentsMutationVariables = Exact<{ + request: OpWithSlotCommentsRequest; }>; -export type GetRecordInPlaceInfoQuery = { __typename?: 'Query', equipments: Array<{ __typename?: 'Equipment', id: number, name: string, category: string, enabled: boolean }> }; +export type RecordOpWithSlotCommentsMutation = { __typename?: 'Mutation', recordOpWithSlotComments: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; -export type GetProbePanelsQueryVariables = Exact<{ [key: string]: never; }>; +export type RecordCompletionMutationVariables = Exact<{ + request: CompletionRequest; +}>; -export type GetProbePanelsQuery = { __typename?: 'Query', probePanels: Array<{ __typename?: 'ProbePanel', name: string, enabled: boolean }> }; +export type RecordCompletionMutation = { __typename?: 'Mutation', recordCompletion: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; -export type GetRegistrationInfoQueryVariables = Exact<{ [key: string]: never; }>; +export type RecordExtractResultMutationVariables = Exact<{ + request: ExtractResultRequest; +}>; -export type GetRegistrationInfoQuery = { __typename?: 'Query', species: Array<{ __typename?: 'Species', name: string }>, hmdmcs: Array<{ __typename?: 'Hmdmc', hmdmc: string }>, labwareTypes: Array<{ __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }>, tissueTypes: Array<{ __typename?: 'TissueType', name: string, spatialLocations: Array<{ __typename?: 'SpatialLocation', name: string, code: number }> }>, fixatives: Array<{ __typename?: 'Fixative', name: string }>, mediums: Array<{ __typename?: 'Medium', name: string }>, solutions: Array<{ __typename?: 'Solution', name: string }>, slotRegions: Array<{ __typename?: 'SlotRegion', name: string }> }; +export type RecordExtractResultMutation = { __typename?: 'Mutation', recordExtractResult: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; -export type GetProgramsQueryVariables = Exact<{ [key: string]: never; }>; +export type RecordOpWithSlotMeasurementsMutationVariables = Exact<{ + request: OpWithSlotMeasurementsRequest; +}>; -export type GetProgramsQuery = { __typename?: 'Query', programs: Array<{ __typename?: 'Program', name: string, enabled: boolean }> }; +export type RecordOpWithSlotMeasurementsMutation = { __typename?: 'Mutation', recordOpWithSlotMeasurements: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; -export type GetRecordExtractResultInfoQueryVariables = Exact<{ [key: string]: never; }>; +export type RecordPermMutationVariables = Exact<{ + request: RecordPermRequest; +}>; -export type GetRecordExtractResultInfoQuery = { __typename?: 'Query', comments: Array<{ __typename?: 'Comment', id: number, text: string, category: string, enabled: boolean }> }; +export type RecordPermMutation = { __typename?: 'Mutation', recordPerm: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; -export type GetSectioningConfirmInfoQueryVariables = Exact<{ [key: string]: never; }>; +export type RecordQcLabwareMutationVariables = Exact<{ + request: QcLabwareRequest; +}>; -export type GetSectioningConfirmInfoQuery = { __typename?: 'Query', comments: Array<{ __typename?: 'Comment', id: number, text: string, category: string, enabled: boolean }>, slotRegions: Array<{ __typename?: 'SlotRegion', enabled: boolean, name: string }> }; +export type RecordQcLabwareMutation = { __typename?: 'Mutation', recordQCLabware: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; -export type GetSampleProcessingCommentsInfoQueryVariables = Exact<{ [key: string]: never; }>; +export type RecordProbeOperationMutationVariables = Exact<{ + request: ProbeOperationRequest; +}>; -export type GetSampleProcessingCommentsInfoQuery = { __typename?: 'Query', comments: Array<{ __typename?: 'Comment', id: number, text: string, category: string, enabled: boolean }> }; +export type RecordProbeOperationMutation = { __typename?: 'Mutation', recordProbeOperation: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; -export type GetSearchInfoQueryVariables = Exact<{ [key: string]: never; }>; +export type RecordReagentTransferMutationVariables = Exact<{ + request: ReagentTransferRequest; +}>; -export type GetSearchInfoQuery = { __typename?: 'Query', tissueTypes: Array<{ __typename?: 'TissueType', name: string }> }; +export type RecordReagentTransferMutation = { __typename?: 'Mutation', reagentTransfer: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; -export type GetSectioningInfoQueryVariables = Exact<{ [key: string]: never; }>; +export type RecordRnaAnalysisMutationVariables = Exact<{ + request: RnaAnalysisRequest; +}>; -export type GetSectioningInfoQuery = { __typename?: 'Query', labwareTypes: Array<{ __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }> }; +export type RecordRnaAnalysisMutation = { __typename?: 'Mutation', recordRNAAnalysis: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; -export type GetSlotRegionsQueryVariables = Exact<{ - includeDisabled?: InputMaybe<Scalars['Boolean']>; +export type RecordVisiumQcMutationVariables = Exact<{ + request: ResultRequest; }>; -export type GetSlotRegionsQuery = { __typename?: 'Query', slotRegions: Array<{ __typename?: 'SlotRegion', name: string, enabled: boolean }> }; +export type RecordVisiumQcMutation = { __typename?: 'Mutation', recordVisiumQC: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; -export type GetStainInfoQueryVariables = Exact<{ [key: string]: never; }>; +export type RecordSampleProcessingCommentsMutationVariables = Exact<{ + request: SampleProcessingCommentRequest; +}>; -export type GetStainInfoQuery = { __typename?: 'Query', stainTypes: Array<{ __typename?: 'StainType', name: string, measurementTypes: Array<string> }> }; +export type RecordSampleProcessingCommentsMutation = { __typename?: 'Mutation', recordSampleProcessingComments: { __typename?: 'OperationResult', labware: Array<{ __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }>, operations: Array<{ __typename?: 'Operation', performed: string, operationType: { __typename?: 'OperationType', name: string }, user: { __typename?: 'User', username: string } }> } }; -export type GetStainingQcInfoQueryVariables = Exact<{ [key: string]: never; }>; +export type RecordStainResultMutationVariables = Exact<{ + request: ResultRequest; +}>; -export type GetStainingQcInfoQuery = { __typename?: 'Query', comments: Array<{ __typename?: 'Comment', id: number, text: string, category: string, enabled: boolean }> }; +export type RecordStainResultMutation = { __typename?: 'Mutation', recordStainResult: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; -export type GetSolutionTransferInfoQueryVariables = Exact<{ [key: string]: never; }>; +export type RegisterOriginalSamplesMutationVariables = Exact<{ + request: OriginalSampleRegisterRequest; +}>; -export type GetSolutionTransferInfoQuery = { __typename?: 'Query', solutions: Array<{ __typename?: 'Solution', name: string }> }; +export type RegisterOriginalSamplesMutation = { __typename?: 'Mutation', registerOriginalSamples: { __typename?: 'RegisterResult', labware: Array<{ __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }>, clashes: Array<{ __typename?: 'RegisterClash', tissue: { __typename?: 'Tissue', externalName?: string | null, donor: { __typename?: 'Donor', donorName: string }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } } }, labware: Array<{ __typename?: 'Labware', barcode: string, labwareType: { __typename?: 'LabwareType', name: string } }> }>, labwareSolutions: Array<{ __typename?: 'LabwareSolutionName', barcode: string, solutionName: string } | null> } }; -export type GetSuggestedLabwareForWorkQueryVariables = Exact<{ - workNumber: Scalars['String']; - forRelease?: InputMaybe<Scalars['Boolean']>; +export type RegisterSectionsMutationVariables = Exact<{ + request: SectionRegisterRequest; }>; -export type GetSuggestedLabwareForWorkQuery = { __typename?: 'Query', suggestedLabwareForWork: Array<{ __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }> }; +export type RegisterSectionsMutation = { __typename?: 'Mutation', registerSections: { __typename?: 'RegisterResult', labware: Array<{ __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }> } }; -export type GetSuggestedWorkForLabwareQueryVariables = Exact<{ - barcodes: Array<Scalars['String']> | Scalars['String']; - includeInactive?: InputMaybe<Scalars['Boolean']>; +export type RegisterTissuesMutationVariables = Exact<{ + request: RegisterRequest; }>; -export type GetSuggestedWorkForLabwareQuery = { __typename?: 'Query', suggestedWorkForLabware: { __typename?: 'SuggestedWorkResponse', suggestedWorks: Array<{ __typename?: 'SuggestedWork', barcode: string, workNumber?: string | null }> } }; +export type RegisterTissuesMutation = { __typename?: 'Mutation', register: { __typename?: 'RegisterResult', labware: Array<{ __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }>, clashes: Array<{ __typename?: 'RegisterClash', tissue: { __typename?: 'Tissue', externalName?: string | null, donor: { __typename?: 'Donor', donorName: string }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } } }, labware: Array<{ __typename?: 'Labware', barcode: string, labwareType: { __typename?: 'LabwareType', name: string } }> }>, labwareSolutions: Array<{ __typename?: 'LabwareSolutionName', barcode: string, solutionName: string } | null> } }; -export type GetVisiumQcInfoQueryVariables = Exact<{ [key: string]: never; }>; +export type SetCommentEnabledMutationVariables = Exact<{ + commentId: Scalars['Int']; + enabled: Scalars['Boolean']; +}>; -export type GetVisiumQcInfoQuery = { __typename?: 'Query', comments: Array<{ __typename?: 'Comment', id: number, text: string, category: string, enabled: boolean }> }; +export type SetCommentEnabledMutation = { __typename?: 'Mutation', setCommentEnabled: { __typename?: 'Comment', id: number, text: string, category: string, enabled: boolean } }; -export type GetWorkAllocationInfoQueryVariables = Exact<{ - commentCategory: Scalars['String']; - workStatuses?: InputMaybe<Array<WorkStatus> | WorkStatus>; +export type ReleaseLabwareMutationVariables = Exact<{ + releaseRequest: ReleaseRequest; }>; -export type GetWorkAllocationInfoQuery = { __typename?: 'Query', projects: Array<{ __typename?: 'Project', name: string, enabled: boolean }>, programs: Array<{ __typename?: 'Program', name: string, enabled: boolean }>, costCodes: Array<{ __typename?: 'CostCode', code: string, enabled: boolean }>, worksWithComments: Array<{ __typename?: 'WorkWithComment', comment?: string | null, work: { __typename?: 'Work', workNumber: string, status: WorkStatus, numBlocks?: number | null, numSlides?: number | null, numOriginalSamples?: number | null, priority?: string | null, workRequester?: { __typename?: 'ReleaseRecipient', username: string, fullName?: string | null, enabled: boolean } | null, project: { __typename?: 'Project', name: string, enabled: boolean }, program: { __typename?: 'Program', name: string, enabled: boolean }, costCode: { __typename?: 'CostCode', code: string, enabled: boolean }, workType: { __typename?: 'WorkType', name: string, enabled: boolean }, omeroProject?: { __typename?: 'OmeroProject', name: string, enabled: boolean } | null, dnapStudy?: { __typename?: 'DnapStudy', name: string, enabled: boolean } | null } }>, workTypes: Array<{ __typename?: 'WorkType', name: string, enabled: boolean }>, comments: Array<{ __typename?: 'Comment', id: number, text: string, category: string, enabled: boolean }>, releaseRecipients: Array<{ __typename?: 'ReleaseRecipient', username: string, fullName?: string | null, enabled: boolean }>, omeroProjects: Array<{ __typename?: 'OmeroProject', name: string, enabled: boolean }>, dnapStudies: Array<{ __typename?: 'DnapStudy', name: string, enabled: boolean }> }; +export type ReleaseLabwareMutation = { __typename?: 'Mutation', release: { __typename?: 'ReleaseResult', releases: Array<{ __typename?: 'Release', id: number, labware: { __typename?: 'Labware', barcode: string }, destination: { __typename?: 'ReleaseDestination', name: string }, recipient: { __typename?: 'ReleaseRecipient', username: string } }> } }; -export type GetWorkNumbersQueryVariables = Exact<{ [key: string]: never; }>; +export type SetCostCodeEnabledMutationVariables = Exact<{ + code: Scalars['String']; + enabled: Scalars['Boolean']; +}>; -export type GetWorkNumbersQuery = { __typename?: 'Query', works: Array<{ __typename?: 'Work', workNumber: string }> }; +export type SetCostCodeEnabledMutation = { __typename?: 'Mutation', setCostCodeEnabled: { __typename?: 'CostCode', code: string, enabled: boolean } }; -export type GetReleaseInfoQueryVariables = Exact<{ [key: string]: never; }>; +export type SetDnapStudyEnabledMutationVariables = Exact<{ + name: Scalars['String']; + enabled: Scalars['Boolean']; +}>; -export type GetReleaseInfoQuery = { __typename?: 'Query', releaseDestinations: Array<{ __typename?: 'ReleaseDestination', name: string, enabled: boolean }>, releaseRecipients: Array<{ __typename?: 'ReleaseRecipient', username: string, fullName?: string | null, enabled: boolean }> }; +export type SetDnapStudyEnabledMutation = { __typename?: 'Mutation', setDnapStudyEnabled: { __typename?: 'DnapStudy', name: string, enabled: boolean } }; -export type GetWorkProgressInputsQueryVariables = Exact<{ [key: string]: never; }>; +export type SetDestructionReasonEnabledMutationVariables = Exact<{ + text: Scalars['String']; + enabled: Scalars['Boolean']; +}>; -export type GetWorkProgressInputsQuery = { __typename?: 'Query', workTypes: Array<{ __typename?: 'WorkType', name: string }>, programs: Array<{ __typename?: 'Program', name: string }>, releaseRecipients: Array<{ __typename?: 'ReleaseRecipient', username: string }> }; +export type SetDestructionReasonEnabledMutation = { __typename?: 'Mutation', setDestructionReasonEnabled: { __typename?: 'DestructionReason', id: number, text: string, enabled: boolean } }; -export type GetPrintersQueryVariables = Exact<{ [key: string]: never; }>; +export type SetFixativeEnabledMutationVariables = Exact<{ + name: Scalars['String']; + enabled: Scalars['Boolean']; +}>; -export type GetPrintersQuery = { __typename?: 'Query', printers: Array<{ __typename?: 'Printer', name: string, labelTypes: Array<{ __typename?: 'LabelType', name: string }> }> }; +export type SetFixativeEnabledMutation = { __typename?: 'Mutation', setFixativeEnabled: { __typename?: 'Fixative', name: string, enabled: boolean } }; -export type GetXeniumQcInfoQueryVariables = Exact<{ [key: string]: never; }>; +export type SetHmdmcEnabledMutationVariables = Exact<{ + hmdmc: Scalars['String']; + enabled: Scalars['Boolean']; +}>; -export type GetXeniumQcInfoQuery = { __typename?: 'Query', comments: Array<{ __typename?: 'Comment', id: number, text: string, category: string, enabled: boolean }> }; +export type SetHmdmcEnabledMutation = { __typename?: 'Mutation', setHmdmcEnabled: { __typename?: 'Hmdmc', hmdmc: string, enabled: boolean } }; -export type GetWorkTypesQueryVariables = Exact<{ [key: string]: never; }>; +export type SetLocationCustomNameMutationVariables = Exact<{ + locationBarcode: Scalars['String']; + newCustomName: Scalars['String']; +}>; -export type GetWorkTypesQuery = { __typename?: 'Query', workTypes: Array<{ __typename?: 'WorkType', name: string }> }; +export type SetLocationCustomNameMutation = { __typename?: 'Mutation', setLocationCustomName: { __typename?: 'Location', barcode: string, fixedName?: string | null, customName?: string | null, address?: string | null, direction?: GridDirection | null, parent?: { __typename?: 'LinkedLocation', barcode: string, fixedName?: string | null, customName?: string | null } | null, size?: { __typename?: 'Size', numRows: number, numColumns: number } | null, stored: Array<{ __typename?: 'StoredItem', barcode: string, address?: string | null }>, children: Array<{ __typename?: 'LinkedLocation', barcode: string, fixedName?: string | null, customName?: string | null, address?: string | null }> } }; -export type GetWorkSummaryQueryVariables = Exact<{ [key: string]: never; }>; +export type SetEquipmentEnabledMutationVariables = Exact<{ + equipmentId: Scalars['Int']; + enabled: Scalars['Boolean']; +}>; -export type GetWorkSummaryQuery = { __typename?: 'Query', worksSummary: { __typename?: 'WorkSummaryData', workSummaryGroups: Array<{ __typename?: 'WorkSummaryGroup', numWorks: number, status: WorkStatus, totalNumBlocks: number, totalNumSlides: number, totalNumOriginalSamples: number, workType: { __typename?: 'WorkType', name: string, enabled: boolean } }>, workTypes: Array<{ __typename?: 'WorkType', name: string }> } }; +export type SetEquipmentEnabledMutation = { __typename?: 'Mutation', setEquipmentEnabled: { __typename?: 'Equipment', id: number, name: string, category: string, enabled: boolean } }; -export type AddCommentMutationVariables = Exact<{ - category: Scalars['String']; - text: Scalars['String']; +export type SetOmeroProjectEnabledMutationVariables = Exact<{ + name: Scalars['String']; + enabled: Scalars['Boolean']; }>; -export type AddCommentMutation = { __typename?: 'Mutation', addComment: { __typename?: 'Comment', id: number, text: string, category: string, enabled: boolean } }; +export type SetOmeroProjectEnabledMutation = { __typename?: 'Mutation', setOmeroProjectEnabled: { __typename?: 'OmeroProject', name: string, enabled: boolean } }; -export type AddDnapStudyMutationVariables = Exact<{ +export type SetProbePanelEnabledMutationVariables = Exact<{ name: Scalars['String']; + enabled: Scalars['Boolean']; }>; -export type AddDnapStudyMutation = { __typename?: 'Mutation', addDnapStudy: { __typename?: 'DnapStudy', name: string, enabled: boolean } }; +export type SetProbePanelEnabledMutation = { __typename?: 'Mutation', setProbePanelEnabled: { __typename?: 'ProbePanel', name: string, enabled: boolean } }; -export type AddEquipmentMutationVariables = Exact<{ - category: Scalars['String']; +export type SetProgramEnabledMutationVariables = Exact<{ name: Scalars['String']; + enabled: Scalars['Boolean']; }>; -export type AddEquipmentMutation = { __typename?: 'Mutation', addEquipment: { __typename?: 'Equipment', id: number, name: string, category: string, enabled: boolean } }; +export type SetProgramEnabledMutation = { __typename?: 'Mutation', setProgramEnabled: { __typename?: 'Program', name: string, enabled: boolean } }; -export type AddExternalIdMutationVariables = Exact<{ - request: AddExternalIdRequest; +export type SetProjectEnabledMutationVariables = Exact<{ + name: Scalars['String']; + enabled: Scalars['Boolean']; }>; -export type AddExternalIdMutation = { __typename?: 'Mutation', addExternalID: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', performed: string, operationType: { __typename?: 'OperationType', name: string }, user: { __typename?: 'User', username: string } }> } }; +export type SetProjectEnabledMutation = { __typename?: 'Mutation', setProjectEnabled: { __typename?: 'Project', name: string, enabled: boolean } }; -export type AddHmdmcMutationVariables = Exact<{ - hmdmc: Scalars['String']; +export type SetReleaseDestinationEnabledMutationVariables = Exact<{ + name: Scalars['String']; + enabled: Scalars['Boolean']; }>; -export type AddHmdmcMutation = { __typename?: 'Mutation', addHmdmc: { __typename?: 'Hmdmc', hmdmc: string, enabled: boolean } }; +export type SetReleaseDestinationEnabledMutation = { __typename?: 'Mutation', setReleaseDestinationEnabled: { __typename?: 'ReleaseDestination', name: string, enabled: boolean } }; -export type AddCostCodeMutationVariables = Exact<{ - code: Scalars['String']; +export type SetReleaseRecipientEnabledMutationVariables = Exact<{ + username: Scalars['String']; + enabled: Scalars['Boolean']; }>; -export type AddCostCodeMutation = { __typename?: 'Mutation', addCostCode: { __typename?: 'CostCode', code: string, enabled: boolean } }; +export type SetReleaseRecipientEnabledMutation = { __typename?: 'Mutation', setReleaseRecipientEnabled: { __typename?: 'ReleaseRecipient', username: string, fullName?: string | null, enabled: boolean } }; -export type AddFixativeMutationVariables = Exact<{ +export type SetSlotRegionEnabledMutationVariables = Exact<{ name: Scalars['String']; + enabled: Scalars['Boolean']; }>; -export type AddFixativeMutation = { __typename?: 'Mutation', addFixative: { __typename?: 'Fixative', name: string, enabled: boolean } }; +export type SetSlotRegionEnabledMutation = { __typename?: 'Mutation', setSlotRegionEnabled: { __typename?: 'SlotRegion', enabled: boolean, name: string } }; -export type AddProjectMutationVariables = Exact<{ +export type SetSolutionEnabledMutationVariables = Exact<{ name: Scalars['String']; + enabled: Scalars['Boolean']; }>; -export type AddProjectMutation = { __typename?: 'Mutation', addProject: { __typename?: 'Project', name: string, enabled: boolean } }; +export type SetSolutionEnabledMutation = { __typename?: 'Mutation', setSolutionEnabled: { __typename?: 'Solution', name: string, enabled: boolean } }; -export type AddReleaseDestinationMutationVariables = Exact<{ +export type SetSpeciesEnabledMutationVariables = Exact<{ name: Scalars['String']; + enabled: Scalars['Boolean']; }>; -export type AddReleaseDestinationMutation = { __typename?: 'Mutation', addReleaseDestination: { __typename?: 'ReleaseDestination', name: string, enabled: boolean } }; +export type SetSpeciesEnabledMutation = { __typename?: 'Mutation', setSpeciesEnabled: { __typename?: 'Species', name: string, enabled: boolean } }; -export type AddOmeroProjectMutationVariables = Exact<{ - name: Scalars['String']; +export type SetUserRoleMutationVariables = Exact<{ + username: Scalars['String']; + role: UserRole; }>; -export type AddOmeroProjectMutation = { __typename?: 'Mutation', addOmeroProject: { __typename?: 'OmeroProject', name: string, enabled: boolean } }; +export type SetUserRoleMutation = { __typename?: 'Mutation', setUserRole: { __typename?: 'User', username: string, role: UserRole } }; -export type AddProgramMutationVariables = Exact<{ +export type SetWorkTypeEnabledMutationVariables = Exact<{ name: Scalars['String']; + enabled: Scalars['Boolean']; }>; -export type AddProgramMutation = { __typename?: 'Mutation', addProgram: { __typename?: 'Program', name: string, enabled: boolean } }; +export type SetWorkTypeEnabledMutation = { __typename?: 'Mutation', setWorkTypeEnabled: { __typename?: 'WorkType', name: string, enabled: boolean } }; -export type AddSlotRegionMutationVariables = Exact<{ - name: Scalars['String']; +export type SlotCopyMutationVariables = Exact<{ + request: SlotCopyRequest; }>; -export type AddSlotRegionMutation = { __typename?: 'Mutation', addSlotRegion: { __typename?: 'SlotRegion', enabled: boolean, name: string } }; +export type SlotCopyMutation = { __typename?: 'Mutation', slotCopy: { __typename?: 'OperationResult', labware: Array<{ __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }> } }; -export type AddSpeciesMutationVariables = Exact<{ - name: Scalars['String']; +export type StainMutationVariables = Exact<{ + request: StainRequest; }>; -export type AddSpeciesMutation = { __typename?: 'Mutation', addSpecies: { __typename?: 'Species', name: string, enabled: boolean } }; +export type StainMutation = { __typename?: 'Mutation', stain: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; -export type AddUserMutationVariables = Exact<{ - username: Scalars['String']; +export type StoreMutationVariables = Exact<{ + store: Array<StoreInput> | StoreInput; + locationBarcode: Scalars['String']; }>; -export type AddUserMutation = { __typename?: 'Mutation', addUser: { __typename?: 'User', username: string, role: UserRole } }; +export type StoreMutation = { __typename?: 'Mutation', store: { __typename?: 'Location', barcode: string, fixedName?: string | null, customName?: string | null, address?: string | null, direction?: GridDirection | null, parent?: { __typename?: 'LinkedLocation', barcode: string, fixedName?: string | null, customName?: string | null } | null, size?: { __typename?: 'Size', numRows: number, numColumns: number } | null, stored: Array<{ __typename?: 'StoredItem', barcode: string, address?: string | null }>, children: Array<{ __typename?: 'LinkedLocation', barcode: string, fixedName?: string | null, customName?: string | null, address?: string | null }> } }; -export type AddWorkTypeMutationVariables = Exact<{ - name: Scalars['String']; +export type StoreBarcodeMutationVariables = Exact<{ + barcode: Scalars['String']; + locationBarcode: Scalars['String']; + address?: InputMaybe<Scalars['Address']>; }>; -export type AddWorkTypeMutation = { __typename?: 'Mutation', addWorkType: { __typename?: 'WorkType', name: string, enabled: boolean } }; +export type StoreBarcodeMutation = { __typename?: 'Mutation', storeBarcode: { __typename?: 'StoredItem', location: { __typename?: 'Location', barcode: string, fixedName?: string | null, customName?: string | null, address?: string | null, direction?: GridDirection | null, parent?: { __typename?: 'LinkedLocation', barcode: string, fixedName?: string | null, customName?: string | null } | null, size?: { __typename?: 'Size', numRows: number, numColumns: number } | null, stored: Array<{ __typename?: 'StoredItem', barcode: string, address?: string | null }>, children: Array<{ __typename?: 'LinkedLocation', barcode: string, fixedName?: string | null, customName?: string | null, address?: string | null }> } } }; -export type AddReleaseRecipientMutationVariables = Exact<{ - username: Scalars['String']; - fullName?: InputMaybe<Scalars['String']>; +export type TransferLocationItemsMutationVariables = Exact<{ + sourceBarcode: Scalars['String']; + destinationBarcode: Scalars['String']; }>; -export type AddReleaseRecipientMutation = { __typename?: 'Mutation', addReleaseRecipient: { __typename?: 'ReleaseRecipient', username: string, fullName?: string | null, enabled: boolean } }; +export type TransferLocationItemsMutation = { __typename?: 'Mutation', transfer: { __typename?: 'Location', barcode: string, fixedName?: string | null, customName?: string | null, address?: string | null, direction?: GridDirection | null, parent?: { __typename?: 'LinkedLocation', barcode: string, fixedName?: string | null, customName?: string | null } | null, size?: { __typename?: 'Size', numRows: number, numColumns: number } | null, stored: Array<{ __typename?: 'StoredItem', barcode: string, address?: string | null }>, children: Array<{ __typename?: 'LinkedLocation', barcode: string, fixedName?: string | null, customName?: string | null, address?: string | null }> } }; -export type AddProbePanelMutationVariables = Exact<{ - name: Scalars['String']; +export type UnreleaseMutationVariables = Exact<{ + request: UnreleaseRequest; }>; -export type AddProbePanelMutation = { __typename?: 'Mutation', addProbePanel: { __typename?: 'ProbePanel', name: string, enabled: boolean } }; +export type UnreleaseMutation = { __typename?: 'Mutation', unrelease: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; -export type AliquotMutationVariables = Exact<{ - request: AliquotRequest; +export type UnstoreBarcodeMutationVariables = Exact<{ + barcode: Scalars['String']; }>; -export type AliquotMutation = { __typename?: 'Mutation', aliquot: { __typename?: 'OperationResult', labware: Array<{ __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }>, operations: Array<{ __typename?: 'Operation', operationType: { __typename?: 'OperationType', name: string }, actions: Array<{ __typename?: 'Action', sample: { __typename?: 'Sample', id: number }, source: { __typename?: 'Slot', address: string, labwareId: number, samples: Array<{ __typename?: 'Sample', id: number }> }, destination: { __typename?: 'Slot', address: string, labwareId: number } }> }> } }; +export type UnstoreBarcodeMutation = { __typename?: 'Mutation', unstoreBarcode?: { __typename?: 'UnstoredItem', barcode: string, address?: string | null } | null }; -export type ConfirmMutationVariables = Exact<{ - request: ConfirmOperationRequest; +export type UpdateReleaseRecipientFullNameMutationVariables = Exact<{ + username: Scalars['String']; + fullName?: InputMaybe<Scalars['String']>; }>; -export type ConfirmMutation = { __typename?: 'Mutation', confirmOperation: { __typename?: 'ConfirmOperationResult', labware: Array<{ __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }>, operations: Array<{ __typename?: 'Operation', performed: string, operationType: { __typename?: 'OperationType', name: string }, user: { __typename?: 'User', username: string } }> } }; +export type UpdateReleaseRecipientFullNameMutation = { __typename?: 'Mutation', updateReleaseRecipientFullName: { __typename?: 'ReleaseRecipient', username: string, fullName?: string | null, enabled: boolean } }; -export type AddSolutionMutationVariables = Exact<{ - name: Scalars['String']; +export type UpdateWorkDnapProjectMutationVariables = Exact<{ + workNumber: Scalars['String']; + dnapStudy?: InputMaybe<Scalars['String']>; }>; -export type AddSolutionMutation = { __typename?: 'Mutation', addSolution: { __typename?: 'Solution', name: string, enabled: boolean } }; +export type UpdateWorkDnapProjectMutation = { __typename?: 'Mutation', updateWorkDnapProject: { __typename?: 'Work', workNumber: string, status: WorkStatus, numBlocks?: number | null, numSlides?: number | null, numOriginalSamples?: number | null, priority?: string | null, workRequester?: { __typename?: 'ReleaseRecipient', username: string, fullName?: string | null, enabled: boolean } | null, project: { __typename?: 'Project', name: string, enabled: boolean }, program: { __typename?: 'Program', name: string, enabled: boolean }, costCode: { __typename?: 'CostCode', code: string, enabled: boolean }, workType: { __typename?: 'WorkType', name: string, enabled: boolean }, omeroProject?: { __typename?: 'OmeroProject', name: string, enabled: boolean } | null, dnapStudy?: { __typename?: 'DnapStudy', name: string, enabled: boolean } | null } }; -export type DestroyMutationVariables = Exact<{ - request: DestroyRequest; +export type UpdateWorkNumBlocksMutationVariables = Exact<{ + workNumber: Scalars['String']; + numBlocks?: InputMaybe<Scalars['Int']>; }>; -export type DestroyMutation = { __typename?: 'Mutation', destroy: { __typename?: 'DestroyResult', destructions: Array<{ __typename?: 'Destruction', labware?: { __typename?: 'Labware', barcode: string } | null }> } }; +export type UpdateWorkNumBlocksMutation = { __typename?: 'Mutation', updateWorkNumBlocks: { __typename?: 'Work', workNumber: string, status: WorkStatus, numBlocks?: number | null, numSlides?: number | null, numOriginalSamples?: number | null, priority?: string | null, workRequester?: { __typename?: 'ReleaseRecipient', username: string, fullName?: string | null, enabled: boolean } | null, project: { __typename?: 'Project', name: string, enabled: boolean }, program: { __typename?: 'Program', name: string, enabled: boolean }, costCode: { __typename?: 'CostCode', code: string, enabled: boolean }, workType: { __typename?: 'WorkType', name: string, enabled: boolean }, omeroProject?: { __typename?: 'OmeroProject', name: string, enabled: boolean } | null, dnapStudy?: { __typename?: 'DnapStudy', name: string, enabled: boolean } | null } }; -export type EmptyLocationMutationVariables = Exact<{ - barcode: Scalars['String']; +export type UpdateWorkNumOriginalSamplesMutationVariables = Exact<{ + workNumber: Scalars['String']; + numOriginalSamples?: InputMaybe<Scalars['Int']>; }>; -export type EmptyLocationMutation = { __typename?: 'Mutation', empty: { __typename?: 'UnstoreResult', numUnstored: number } }; +export type UpdateWorkNumOriginalSamplesMutation = { __typename?: 'Mutation', updateWorkNumOriginalSamples: { __typename?: 'Work', workNumber: string, status: WorkStatus, numBlocks?: number | null, numSlides?: number | null, numOriginalSamples?: number | null, priority?: string | null, workRequester?: { __typename?: 'ReleaseRecipient', username: string, fullName?: string | null, enabled: boolean } | null, project: { __typename?: 'Project', name: string, enabled: boolean }, program: { __typename?: 'Program', name: string, enabled: boolean }, costCode: { __typename?: 'CostCode', code: string, enabled: boolean }, workType: { __typename?: 'WorkType', name: string, enabled: boolean }, omeroProject?: { __typename?: 'OmeroProject', name: string, enabled: boolean } | null, dnapStudy?: { __typename?: 'DnapStudy', name: string, enabled: boolean } | null } }; -export type ConfirmSectionMutationVariables = Exact<{ - request: ConfirmSectionRequest; +export type UpdateWorkNumSlidesMutationVariables = Exact<{ + workNumber: Scalars['String']; + numSlides?: InputMaybe<Scalars['Int']>; }>; -export type ConfirmSectionMutation = { __typename?: 'Mutation', confirmSection: { __typename?: 'OperationResult', labware: Array<{ __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }>, operations: Array<{ __typename?: 'Operation', performed: string, operationType: { __typename?: 'OperationType', name: string }, user: { __typename?: 'User', username: string } }> } }; +export type UpdateWorkNumSlidesMutation = { __typename?: 'Mutation', updateWorkNumSlides: { __typename?: 'Work', workNumber: string, status: WorkStatus, numBlocks?: number | null, numSlides?: number | null, numOriginalSamples?: number | null, priority?: string | null, workRequester?: { __typename?: 'ReleaseRecipient', username: string, fullName?: string | null, enabled: boolean } | null, project: { __typename?: 'Project', name: string, enabled: boolean }, program: { __typename?: 'Program', name: string, enabled: boolean }, costCode: { __typename?: 'CostCode', code: string, enabled: boolean }, workType: { __typename?: 'WorkType', name: string, enabled: boolean }, omeroProject?: { __typename?: 'OmeroProject', name: string, enabled: boolean } | null, dnapStudy?: { __typename?: 'DnapStudy', name: string, enabled: boolean } | null } }; -export type ExtractMutationVariables = Exact<{ - request: ExtractRequest; +export type UpdateWorkOmeroProjectMutationVariables = Exact<{ + workNumber: Scalars['String']; + omeroProject?: InputMaybe<Scalars['String']>; }>; -export type ExtractMutation = { __typename?: 'Mutation', extract: { __typename?: 'OperationResult', labware: Array<{ __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }>, operations: Array<{ __typename?: 'Operation', operationType: { __typename?: 'OperationType', name: string }, actions: Array<{ __typename?: 'Action', sample: { __typename?: 'Sample', id: number }, source: { __typename?: 'Slot', address: string, labwareId: number, samples: Array<{ __typename?: 'Sample', id: number }> }, destination: { __typename?: 'Slot', address: string, labwareId: number } }> }> } }; - -export type LogoutMutationVariables = Exact<{ [key: string]: never; }>; - - -export type LogoutMutation = { __typename?: 'Mutation', logout?: string | null }; +export type UpdateWorkOmeroProjectMutation = { __typename?: 'Mutation', updateWorkOmeroProject: { __typename?: 'Work', workNumber: string, status: WorkStatus, numBlocks?: number | null, numSlides?: number | null, numOriginalSamples?: number | null, priority?: string | null, workRequester?: { __typename?: 'ReleaseRecipient', username: string, fullName?: string | null, enabled: boolean } | null, project: { __typename?: 'Project', name: string, enabled: boolean }, program: { __typename?: 'Program', name: string, enabled: boolean }, costCode: { __typename?: 'CostCode', code: string, enabled: boolean }, workType: { __typename?: 'WorkType', name: string, enabled: boolean }, omeroProject?: { __typename?: 'OmeroProject', name: string, enabled: boolean } | null, dnapStudy?: { __typename?: 'DnapStudy', name: string, enabled: boolean } | null } }; -export type PerformFfpeProcessingMutationVariables = Exact<{ - request: FfpeProcessingRequest; +export type UpdateWorkPriorityMutationVariables = Exact<{ + workNumber: Scalars['String']; + priority?: InputMaybe<Scalars['String']>; }>; -export type PerformFfpeProcessingMutation = { __typename?: 'Mutation', performFFPEProcessing: { __typename?: 'OperationResult', labware: Array<{ __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }>, operations: Array<{ __typename?: 'Operation', performed: string, operationType: { __typename?: 'OperationType', name: string }, user: { __typename?: 'User', username: string } }> } }; +export type UpdateWorkPriorityMutation = { __typename?: 'Mutation', updateWorkPriority: { __typename?: 'Work', workNumber: string, status: WorkStatus, numBlocks?: number | null, numSlides?: number | null, numOriginalSamples?: number | null, priority?: string | null, workRequester?: { __typename?: 'ReleaseRecipient', username: string, fullName?: string | null, enabled: boolean } | null, project: { __typename?: 'Project', name: string, enabled: boolean }, program: { __typename?: 'Program', name: string, enabled: boolean }, costCode: { __typename?: 'CostCode', code: string, enabled: boolean }, workType: { __typename?: 'WorkType', name: string, enabled: boolean }, omeroProject?: { __typename?: 'OmeroProject', name: string, enabled: boolean } | null, dnapStudy?: { __typename?: 'DnapStudy', name: string, enabled: boolean } | null } }; -export type PerformSolutionTransferMutationVariables = Exact<{ - request: SolutionTransferRequest; +export type VisiumAnalysisMutationVariables = Exact<{ + request: VisiumAnalysisRequest; }>; -export type PerformSolutionTransferMutation = { __typename?: 'Mutation', performSolutionTransfer: { __typename?: 'OperationResult', labware: Array<{ __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }>, operations: Array<{ __typename?: 'Operation', performed: string, operationType: { __typename?: 'OperationType', name: string }, user: { __typename?: 'User', username: string } }> } }; +export type VisiumAnalysisMutation = { __typename?: 'Mutation', visiumAnalysis: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; -export type PerformTissueBlockMutationVariables = Exact<{ - request: TissueBlockRequest; +export type UpdateWorkStatusMutationVariables = Exact<{ + workNumber: Scalars['String']; + status: WorkStatus; + commentId?: InputMaybe<Scalars['Int']>; }>; -export type PerformTissueBlockMutation = { __typename?: 'Mutation', performTissueBlock: { __typename?: 'OperationResult', labware: Array<{ __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }>, operations: Array<{ __typename?: 'Operation', performed: string, operationType: { __typename?: 'OperationType', name: string }, user: { __typename?: 'User', username: string } }> } }; +export type UpdateWorkStatusMutation = { __typename?: 'Mutation', updateWorkStatus: { __typename?: 'WorkWithComment', comment?: string | null, work: { __typename?: 'Work', workNumber: string, status: WorkStatus, numBlocks?: number | null, numSlides?: number | null, numOriginalSamples?: number | null, priority?: string | null, workRequester?: { __typename?: 'ReleaseRecipient', username: string, fullName?: string | null, enabled: boolean } | null, project: { __typename?: 'Project', name: string, enabled: boolean }, program: { __typename?: 'Program', name: string, enabled: boolean }, costCode: { __typename?: 'CostCode', code: string, enabled: boolean }, workType: { __typename?: 'WorkType', name: string, enabled: boolean }, omeroProject?: { __typename?: 'OmeroProject', name: string, enabled: boolean } | null, dnapStudy?: { __typename?: 'DnapStudy', name: string, enabled: boolean } | null } } }; -export type PerformTissuePotMutationVariables = Exact<{ - request: PotProcessingRequest; +export type FindQueryVariables = Exact<{ + request: FindRequest; }>; -export type PerformTissuePotMutation = { __typename?: 'Mutation', performPotProcessing: { __typename?: 'OperationResult', labware: Array<{ __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }>, operations: Array<{ __typename?: 'Operation', performed: string, operationType: { __typename?: 'OperationType', name: string }, user: { __typename?: 'User', username: string } }> } }; +export type FindQuery = { __typename?: 'Query', find: { __typename?: 'FindResult', numRecords: number, entries: Array<{ __typename?: 'FindEntry', labwareId: number, sampleId: number, workNumbers: Array<string | null> }>, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', replicate?: string | null, externalName?: string | null, spatialLocation: { __typename?: 'SpatialLocation', tissueType: { __typename?: 'TissueType', name: string } }, donor: { __typename?: 'Donor', donorName: string }, medium: { __typename?: 'Medium', name: string } } }>, labware: Array<{ __typename?: 'Labware', id: number, barcode: string, created: string, labwareType: { __typename?: 'LabwareType', name: string } }>, locations: Array<{ __typename?: 'Location', id: number, barcode: string, customName?: string | null, fixedName?: string | null, direction?: GridDirection | null, qualifiedNameWithFirstBarcode?: string | null, size?: { __typename?: 'Size', numRows: number, numColumns: number } | null }>, labwareLocations: Array<{ __typename?: 'LabwareLocationEntry', labwareId: number, locationId: number, address?: string | null }> } }; -export type PlanMutationVariables = Exact<{ - request: PlanRequest; -}>; +export type CurrentUserQueryVariables = Exact<{ [key: string]: never; }>; -export type PlanMutation = { __typename?: 'Mutation', plan: { __typename?: 'PlanResult', labware: Array<{ __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }>, operations: Array<{ __typename?: 'PlanOperation', operationType?: { __typename?: 'OperationType', name: string } | null, planActions: Array<{ __typename?: 'PlanAction', newSection?: number | null, sample: { __typename?: 'Sample', id: number }, source: { __typename?: 'Slot', address: string, labwareId: number, samples: Array<{ __typename?: 'Sample', id: number }> }, destination: { __typename?: 'Slot', address: string, labwareId: number } }> }> } }; +export type CurrentUserQuery = { __typename?: 'Query', user?: { __typename?: 'User', username: string, role: UserRole } | null }; -export type PrintMutationVariables = Exact<{ - barcodes: Array<Scalars['String']> | Scalars['String']; - printer: Scalars['String']; +export type ExtractResultQueryVariables = Exact<{ + barcode: Scalars['String']; }>; -export type PrintMutation = { __typename?: 'Mutation', printLabware?: string | null }; +export type ExtractResultQuery = { __typename?: 'Query', extractResult: { __typename?: 'ExtractResult', result?: PassFail | null, concentration?: string | null, labware: { __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> } } }; -export type CreateWorkMutationVariables = Exact<{ - prefix: Scalars['String']; - workType: Scalars['String']; - workRequester: Scalars['String']; - project: Scalars['String']; - program: Scalars['String']; - costCode: Scalars['String']; - numBlocks?: InputMaybe<Scalars['Int']>; - numSlides?: InputMaybe<Scalars['Int']>; - numOriginalSamples?: InputMaybe<Scalars['Int']>; - omeroProject?: InputMaybe<Scalars['String']>; - dnapStudy?: InputMaybe<Scalars['String']>; +export type FindFilesQueryVariables = Exact<{ + workNumbers: Array<Scalars['String']> | Scalars['String']; }>; -export type CreateWorkMutation = { __typename?: 'Mutation', createWork: { __typename?: 'Work', workNumber: string, status: WorkStatus, numBlocks?: number | null, numSlides?: number | null, numOriginalSamples?: number | null, priority?: string | null, workRequester?: { __typename?: 'ReleaseRecipient', username: string, fullName?: string | null, enabled: boolean } | null, project: { __typename?: 'Project', name: string, enabled: boolean }, program: { __typename?: 'Program', name: string, enabled: boolean }, costCode: { __typename?: 'CostCode', code: string, enabled: boolean }, workType: { __typename?: 'WorkType', name: string, enabled: boolean }, omeroProject?: { __typename?: 'OmeroProject', name: string, enabled: boolean } | null, dnapStudy?: { __typename?: 'DnapStudy', name: string, enabled: boolean } | null } }; +export type FindFilesQuery = { __typename?: 'Query', listFiles: Array<{ __typename?: 'StanFile', created: string, name: string, url: string, work: { __typename?: 'Work', workNumber: string } }> }; -export type RecordComplexStainMutationVariables = Exact<{ - request: ComplexStainRequest; +export type FindHistoryForDonorNameQueryVariables = Exact<{ + donorName: Scalars['String']; }>; -export type RecordComplexStainMutation = { __typename?: 'Mutation', recordComplexStain: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; +export type FindHistoryForDonorNameQuery = { __typename?: 'Query', historyForDonorName: { __typename?: 'History', labware: Array<{ __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }>, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }>, entries: Array<{ __typename?: 'HistoryEntry', destinationLabwareId: number, details: Array<string>, eventId: number, sampleId?: number | null, sourceLabwareId: number, time: string, username: string, type: string, workNumber?: string | null }>, samplePositionResults: Array<{ __typename?: 'SamplePosition', address: string, region: string, sampleId: number, slotId: number, operationId: number }> } }; -export type RecordExtractResultMutationVariables = Exact<{ - request: ExtractResultRequest; +export type FindHistoryQueryVariables = Exact<{ + workNumber?: InputMaybe<Scalars['String']>; + barcode?: InputMaybe<Scalars['String']>; + donorName?: InputMaybe<Scalars['String']>; + externalName?: InputMaybe<Scalars['String']>; }>; -export type RecordExtractResultMutation = { __typename?: 'Mutation', recordExtractResult: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; +export type FindHistoryQuery = { __typename?: 'Query', history: { __typename?: 'History', labware: Array<{ __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }>, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }>, entries: Array<{ __typename?: 'HistoryEntry', destinationLabwareId: number, details: Array<string>, eventId: number, sampleId?: number | null, sourceLabwareId: number, time: string, username: string, type: string, workNumber?: string | null }>, samplePositionResults: Array<{ __typename?: 'SamplePosition', address: string, region: string, sampleId: number, slotId: number, operationId: number }> } }; -export type RecordAnalyserMutationVariables = Exact<{ - request: AnalyserRequest; +export type FindHistoryForExternalNameQueryVariables = Exact<{ + externalName: Scalars['String']; }>; -export type RecordAnalyserMutation = { __typename?: 'Mutation', recordAnalyser: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; +export type FindHistoryForExternalNameQuery = { __typename?: 'Query', historyForExternalName: { __typename?: 'History', labware: Array<{ __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }>, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }>, entries: Array<{ __typename?: 'HistoryEntry', destinationLabwareId: number, details: Array<string>, eventId: number, sampleId?: number | null, sourceLabwareId: number, time: string, username: string, type: string, workNumber?: string | null }>, samplePositionResults: Array<{ __typename?: 'SamplePosition', address: string, region: string, sampleId: number, slotId: number, operationId: number }> } }; -export type RecordInPlaceMutationVariables = Exact<{ - request: InPlaceOpRequest; +export type FindHistoryForLabwareBarcodeQueryVariables = Exact<{ + barcode: Scalars['String']; }>; -export type RecordInPlaceMutation = { __typename?: 'Mutation', recordInPlace: { __typename?: 'OperationResult', labware: Array<{ __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }> } }; +export type FindHistoryForLabwareBarcodeQuery = { __typename?: 'Query', historyForLabwareBarcode: { __typename?: 'History', labware: Array<{ __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }>, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }>, entries: Array<{ __typename?: 'HistoryEntry', destinationLabwareId: number, details: Array<string>, eventId: number, sampleId?: number | null, sourceLabwareId: number, time: string, username: string, type: string, workNumber?: string | null }>, samplePositionResults: Array<{ __typename?: 'SamplePosition', address: string, region: string, sampleId: number, slotId: number, operationId: number }> } }; -export type RecordOpWithSlotMeasurementsMutationVariables = Exact<{ - request: OpWithSlotMeasurementsRequest; +export type FindHistoryForSampleIdQueryVariables = Exact<{ + sampleId: Scalars['Int']; }>; -export type RecordOpWithSlotMeasurementsMutation = { __typename?: 'Mutation', recordOpWithSlotMeasurements: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; +export type FindHistoryForSampleIdQuery = { __typename?: 'Query', historyForSampleId: { __typename?: 'History', labware: Array<{ __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }>, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }>, entries: Array<{ __typename?: 'HistoryEntry', destinationLabwareId: number, details: Array<string>, eventId: number, sampleId?: number | null, sourceLabwareId: number, time: string, username: string, type: string, workNumber?: string | null }>, samplePositionResults: Array<{ __typename?: 'SamplePosition', address: string, region: string, sampleId: number, slotId: number, operationId: number }> } }; -export type RecordPermMutationVariables = Exact<{ - request: RecordPermRequest; +export type FindLabwareLocationQueryVariables = Exact<{ + barcodes: Array<Scalars['String']> | Scalars['String']; }>; -export type RecordPermMutation = { __typename?: 'Mutation', recordPerm: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; +export type FindLabwareLocationQuery = { __typename?: 'Query', stored: Array<{ __typename?: 'StoredItem', location: { __typename?: 'Location', barcode: string } }> }; -export type RecordOpWithSlotCommentsMutationVariables = Exact<{ - request: OpWithSlotCommentsRequest; +export type FindHistoryForWorkNumberQueryVariables = Exact<{ + workNumber: Scalars['String']; }>; -export type RecordOpWithSlotCommentsMutation = { __typename?: 'Mutation', recordOpWithSlotComments: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; +export type FindHistoryForWorkNumberQuery = { __typename?: 'Query', historyForWorkNumber: { __typename?: 'History', labware: Array<{ __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }>, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }>, entries: Array<{ __typename?: 'HistoryEntry', destinationLabwareId: number, details: Array<string>, eventId: number, sampleId?: number | null, sourceLabwareId: number, time: string, username: string, type: string, workNumber?: string | null }>, samplePositionResults: Array<{ __typename?: 'SamplePosition', address: string, region: string, sampleId: number, slotId: number, operationId: number }> } }; -export type RecordProbeOperationMutationVariables = Exact<{ - request: ProbeOperationRequest; +export type FindLatestOperationQueryVariables = Exact<{ + barcode: Scalars['String']; + operationType: Scalars['String']; }>; -export type RecordProbeOperationMutation = { __typename?: 'Mutation', recordProbeOperation: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; +export type FindLatestOperationQuery = { __typename?: 'Query', findLatestOp?: { __typename?: 'Operation', id: number } | null }; -export type RecordReagentTransferMutationVariables = Exact<{ - request: ReagentTransferRequest; +export type FindLabwareQueryVariables = Exact<{ + barcode: Scalars['String']; }>; -export type RecordReagentTransferMutation = { __typename?: 'Mutation', reagentTransfer: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; +export type FindLabwareQuery = { __typename?: 'Query', labware: { __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> } }; -export type RecordCompletionMutationVariables = Exact<{ - request: CompletionRequest; +export type FindPermDataQueryVariables = Exact<{ + barcode: Scalars['String']; }>; -export type RecordCompletionMutation = { __typename?: 'Mutation', recordCompletion: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; +export type FindPermDataQuery = { __typename?: 'Query', visiumPermData: { __typename?: 'VisiumPermData', labware: { __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }, addressPermData: Array<{ __typename?: 'AddressPermData', address: string, controlType?: ControlType | null, seconds?: number | null, selected: boolean }>, samplePositionResults: Array<{ __typename?: 'SamplePosition', address: string, region: string, sampleId: number, slotId: number, operationId: number }> } }; -export type RecordRnaAnalysisMutationVariables = Exact<{ - request: RnaAnalysisRequest; +export type FindLocationByBarcodeQueryVariables = Exact<{ + barcode: Scalars['String']; }>; -export type RecordRnaAnalysisMutation = { __typename?: 'Mutation', recordRNAAnalysis: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; +export type FindLocationByBarcodeQuery = { __typename?: 'Query', location: { __typename?: 'Location', barcode: string, fixedName?: string | null, customName?: string | null, address?: string | null, direction?: GridDirection | null, parent?: { __typename?: 'LinkedLocation', barcode: string, fixedName?: string | null, customName?: string | null } | null, size?: { __typename?: 'Size', numRows: number, numColumns: number } | null, stored: Array<{ __typename?: 'StoredItem', barcode: string, address?: string | null }>, children: Array<{ __typename?: 'LinkedLocation', barcode: string, fixedName?: string | null, customName?: string | null, address?: string | null }> } }; -export type RecordSampleProcessingCommentsMutationVariables = Exact<{ - request: SampleProcessingCommentRequest; +export type FindPlanDataQueryVariables = Exact<{ + barcode: Scalars['String']; }>; -export type RecordSampleProcessingCommentsMutation = { __typename?: 'Mutation', recordSampleProcessingComments: { __typename?: 'OperationResult', labware: Array<{ __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }>, operations: Array<{ __typename?: 'Operation', performed: string, operationType: { __typename?: 'OperationType', name: string }, user: { __typename?: 'User', username: string } }> } }; +export type FindPlanDataQuery = { __typename?: 'Query', planData: { __typename?: 'PlanData', sources: Array<{ __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }>, destination: { __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }, plan: { __typename?: 'PlanOperation', operationType?: { __typename?: 'OperationType', name: string } | null, planActions: Array<{ __typename?: 'PlanAction', newSection?: number | null, sample: { __typename?: 'Sample', id: number }, source: { __typename?: 'Slot', address: string, labwareId: number, samples: Array<{ __typename?: 'Sample', id: number }> }, destination: { __typename?: 'Slot', address: string, labwareId: number } }> } } }; -export type RecordStainResultMutationVariables = Exact<{ - request: ResultRequest; +export type FindPassFailsQueryVariables = Exact<{ + barcode: Scalars['String']; + operationType: Scalars['String']; }>; -export type RecordStainResultMutation = { __typename?: 'Mutation', recordStainResult: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; +export type FindPassFailsQuery = { __typename?: 'Query', passFails: Array<{ __typename?: 'OpPassFail', operation: { __typename?: 'Operation', id: number, performed: string, operationType: { __typename?: 'OperationType', name: string }, actions: Array<{ __typename?: 'Action', operationId: number, source: { __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }, destination: { __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }, sample: { __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } } }>, user: { __typename?: 'User', username: string, role: UserRole } }, slotPassFails: Array<{ __typename?: 'SlotPassFail', address: string, result: PassFail, comment?: string | null }> }> }; -export type RecordVisiumQcMutationVariables = Exact<{ - request: ResultRequest; +export type FindSamplePositionsQueryVariables = Exact<{ + labwareBarcode: Scalars['String']; }>; -export type RecordVisiumQcMutation = { __typename?: 'Mutation', recordVisiumQC: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; +export type FindSamplePositionsQuery = { __typename?: 'Query', samplePositions: Array<{ __typename?: 'SamplePosition', address: string, region: string, sampleId: number, slotId: number, operationId: number }> }; -export type RegisterOriginalSamplesMutationVariables = Exact<{ - request: OriginalSampleRegisterRequest; +export type FindReagentPlateQueryVariables = Exact<{ + barcode: Scalars['String']; }>; -export type RegisterOriginalSamplesMutation = { __typename?: 'Mutation', registerOriginalSamples: { __typename?: 'RegisterResult', labware: Array<{ __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }>, clashes: Array<{ __typename?: 'RegisterClash', tissue: { __typename?: 'Tissue', externalName?: string | null, donor: { __typename?: 'Donor', donorName: string }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } } }, labware: Array<{ __typename?: 'Labware', barcode: string, labwareType: { __typename?: 'LabwareType', name: string } }> }>, labwareSolutions: Array<{ __typename?: 'LabwareSolutionName', barcode: string, solutionName: string } | null> } }; +export type FindReagentPlateQuery = { __typename?: 'Query', reagentPlate?: { __typename?: 'ReagentPlate', barcode: string, plateType?: string | null, slots: Array<{ __typename?: 'ReagentSlot', address: string, used: boolean }> } | null }; -export type RegisterSectionsMutationVariables = Exact<{ - request: SectionRegisterRequest; +export type FindStoragePathQueryVariables = Exact<{ + locationBarcode: Scalars['String']; }>; -export type RegisterSectionsMutation = { __typename?: 'Mutation', registerSections: { __typename?: 'RegisterResult', labware: Array<{ __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }> } }; +export type FindStoragePathQuery = { __typename?: 'Query', storagePath: Array<{ __typename?: 'LinkedLocation', barcode: string, fixedName?: string | null, customName?: string | null, address?: string | null }> }; -export type SetCommentEnabledMutationVariables = Exact<{ - commentId: Scalars['Int']; - enabled: Scalars['Boolean']; +export type FindWorkInfoQueryVariables = Exact<{ + status: WorkStatus; }>; -export type SetCommentEnabledMutation = { __typename?: 'Mutation', setCommentEnabled: { __typename?: 'Comment', id: number, text: string, category: string, enabled: boolean } }; +export type FindWorkInfoQuery = { __typename?: 'Query', works: Array<{ __typename?: 'Work', workNumber: string, workRequester?: { __typename?: 'ReleaseRecipient', username: string } | null, project: { __typename?: 'Project', name: string } }> }; -export type ReleaseLabwareMutationVariables = Exact<{ - releaseRequest: ReleaseRequest; +export type FindWorkNumbersQueryVariables = Exact<{ + status: WorkStatus; }>; -export type ReleaseLabwareMutation = { __typename?: 'Mutation', release: { __typename?: 'ReleaseResult', releases: Array<{ __typename?: 'Release', id: number, labware: { __typename?: 'Labware', barcode: string }, destination: { __typename?: 'ReleaseDestination', name: string }, recipient: { __typename?: 'ReleaseRecipient', username: string } }> } }; +export type FindWorkNumbersQuery = { __typename?: 'Query', works: Array<{ __typename?: 'Work', workNumber: string }> }; -export type RecordQcLabwareMutationVariables = Exact<{ - request: QcLabwareRequest; +export type FindWorksCreatedByQueryVariables = Exact<{ + username: Scalars['String']; }>; -export type RecordQcLabwareMutation = { __typename?: 'Mutation', recordQCLabware: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; +export type FindWorksCreatedByQuery = { __typename?: 'Query', worksCreatedBy: Array<{ __typename?: 'Work', workNumber: string, status: WorkStatus, numBlocks?: number | null, numSlides?: number | null, numOriginalSamples?: number | null, priority?: string | null, workRequester?: { __typename?: 'ReleaseRecipient', username: string, fullName?: string | null, enabled: boolean } | null, project: { __typename?: 'Project', name: string, enabled: boolean }, program: { __typename?: 'Program', name: string, enabled: boolean }, costCode: { __typename?: 'CostCode', code: string, enabled: boolean }, workType: { __typename?: 'WorkType', name: string, enabled: boolean }, omeroProject?: { __typename?: 'OmeroProject', name: string, enabled: boolean } | null, dnapStudy?: { __typename?: 'DnapStudy', name: string, enabled: boolean } | null }> }; -export type RegisterTissuesMutationVariables = Exact<{ - request: RegisterRequest; +export type FindWorkProgressQueryVariables = Exact<{ + workNumber?: InputMaybe<Scalars['String']>; + workTypes?: InputMaybe<Array<Scalars['String']> | Scalars['String']>; + programs?: InputMaybe<Array<Scalars['String']> | Scalars['String']>; + statuses?: InputMaybe<Array<WorkStatus> | WorkStatus>; + requesters?: InputMaybe<Array<Scalars['String']> | Scalars['String']>; }>; -export type RegisterTissuesMutation = { __typename?: 'Mutation', register: { __typename?: 'RegisterResult', labware: Array<{ __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }>, clashes: Array<{ __typename?: 'RegisterClash', tissue: { __typename?: 'Tissue', externalName?: string | null, donor: { __typename?: 'Donor', donorName: string }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } } }, labware: Array<{ __typename?: 'Labware', barcode: string, labwareType: { __typename?: 'LabwareType', name: string } }> }>, labwareSolutions: Array<{ __typename?: 'LabwareSolutionName', barcode: string, solutionName: string } | null> } }; +export type FindWorkProgressQuery = { __typename?: 'Query', workProgress: Array<{ __typename?: 'WorkProgress', mostRecentOperation?: string | null, workComment?: string | null, work: { __typename?: 'Work', workNumber: string, status: WorkStatus, numBlocks?: number | null, numSlides?: number | null, numOriginalSamples?: number | null, priority?: string | null, workRequester?: { __typename?: 'ReleaseRecipient', username: string, fullName?: string | null, enabled: boolean } | null, project: { __typename?: 'Project', name: string, enabled: boolean }, program: { __typename?: 'Program', name: string, enabled: boolean }, costCode: { __typename?: 'CostCode', code: string, enabled: boolean }, workType: { __typename?: 'WorkType', name: string, enabled: boolean }, omeroProject?: { __typename?: 'OmeroProject', name: string, enabled: boolean } | null, dnapStudy?: { __typename?: 'DnapStudy', name: string, enabled: boolean } | null }, timestamps: Array<{ __typename?: 'WorkProgressTimestamp', type: string, timestamp: string }> }> }; -export type SetCostCodeEnabledMutationVariables = Exact<{ - code: Scalars['String']; - enabled: Scalars['Boolean']; -}>; +export type GetAllWorkInfoQueryVariables = Exact<{ [key: string]: never; }>; -export type SetCostCodeEnabledMutation = { __typename?: 'Mutation', setCostCodeEnabled: { __typename?: 'CostCode', code: string, enabled: boolean } }; +export type GetAllWorkInfoQuery = { __typename?: 'Query', works: Array<{ __typename?: 'Work', workNumber: string, status: WorkStatus, workRequester?: { __typename?: 'ReleaseRecipient', username: string } | null, project: { __typename?: 'Project', name: string } }> }; -export type SetDestructionReasonEnabledMutationVariables = Exact<{ - text: Scalars['String']; - enabled: Scalars['Boolean']; -}>; +export type GetBlockProcessingInfoQueryVariables = Exact<{ [key: string]: never; }>; -export type SetDestructionReasonEnabledMutation = { __typename?: 'Mutation', setDestructionReasonEnabled: { __typename?: 'DestructionReason', id: number, text: string, enabled: boolean } }; +export type GetBlockProcessingInfoQuery = { __typename?: 'Query', mediums: Array<{ __typename?: 'Medium', name: string }>, comments: Array<{ __typename?: 'Comment', id: number, text: string, category: string, enabled: boolean }>, labwareTypes: Array<{ __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }> }; -export type SetEquipmentEnabledMutationVariables = Exact<{ - equipmentId: Scalars['Int']; - enabled: Scalars['Boolean']; +export type GetCommentsQueryVariables = Exact<{ + commentCategory?: InputMaybe<Scalars['String']>; + includeDisabled?: InputMaybe<Scalars['Boolean']>; }>; -export type SetEquipmentEnabledMutation = { __typename?: 'Mutation', setEquipmentEnabled: { __typename?: 'Equipment', id: number, name: string, category: string, enabled: boolean } }; +export type GetCommentsQuery = { __typename?: 'Query', comments: Array<{ __typename?: 'Comment', id: number, text: string, category: string, enabled: boolean }> }; -export type SetLocationCustomNameMutationVariables = Exact<{ - locationBarcode: Scalars['String']; - newCustomName: Scalars['String']; -}>; +export type GetConfigurationQueryVariables = Exact<{ [key: string]: never; }>; -export type SetLocationCustomNameMutation = { __typename?: 'Mutation', setLocationCustomName: { __typename?: 'Location', barcode: string, fixedName?: string | null, customName?: string | null, address?: string | null, direction?: GridDirection | null, parent?: { __typename?: 'LinkedLocation', barcode: string, fixedName?: string | null, customName?: string | null } | null, size?: { __typename?: 'Size', numRows: number, numColumns: number } | null, stored: Array<{ __typename?: 'StoredItem', barcode: string, address?: string | null }>, children: Array<{ __typename?: 'LinkedLocation', barcode: string, fixedName?: string | null, customName?: string | null, address?: string | null }> } }; +export type GetConfigurationQuery = { __typename?: 'Query', destructionReasons: Array<{ __typename?: 'DestructionReason', id: number, text: string, enabled: boolean }>, comments: Array<{ __typename?: 'Comment', id: number, text: string, category: string, enabled: boolean }>, hmdmcs: Array<{ __typename?: 'Hmdmc', hmdmc: string, enabled: boolean }>, species: Array<{ __typename?: 'Species', name: string, enabled: boolean }>, fixatives: Array<{ __typename?: 'Fixative', name: string, enabled: boolean }>, releaseDestinations: Array<{ __typename?: 'ReleaseDestination', name: string, enabled: boolean }>, releaseRecipients: Array<{ __typename?: 'ReleaseRecipient', username: string, fullName?: string | null, enabled: boolean }>, projects: Array<{ __typename?: 'Project', name: string, enabled: boolean }>, costCodes: Array<{ __typename?: 'CostCode', code: string, enabled: boolean }>, workTypes: Array<{ __typename?: 'WorkType', name: string, enabled: boolean }>, equipments: Array<{ __typename?: 'Equipment', id: number, name: string, category: string, enabled: boolean }>, users: Array<{ __typename?: 'User', username: string, role: UserRole }>, solutions: Array<{ __typename?: 'Solution', name: string, enabled: boolean }>, probePanels: Array<{ __typename?: 'ProbePanel', name: string, enabled: boolean }>, programs: Array<{ __typename?: 'Program', name: string, enabled: boolean }>, omeroProjects: Array<{ __typename?: 'OmeroProject', name: string, enabled: boolean }>, dnapStudies: Array<{ __typename?: 'DnapStudy', name: string, enabled: boolean }> }; -export type SetHmdmcEnabledMutationVariables = Exact<{ - hmdmc: Scalars['String']; - enabled: Scalars['Boolean']; -}>; +export type GetDestroyInfoQueryVariables = Exact<{ [key: string]: never; }>; -export type SetHmdmcEnabledMutation = { __typename?: 'Mutation', setHmdmcEnabled: { __typename?: 'Hmdmc', hmdmc: string, enabled: boolean } }; +export type GetDestroyInfoQuery = { __typename?: 'Query', destructionReasons: Array<{ __typename?: 'DestructionReason', id: number, text: string, enabled: boolean }> }; -export type SetOmeroProjectEnabledMutationVariables = Exact<{ - name: Scalars['String']; - enabled: Scalars['Boolean']; +export type GetDestructionReasonsQueryVariables = Exact<{ + includeDisabled?: InputMaybe<Scalars['Boolean']>; }>; -export type SetOmeroProjectEnabledMutation = { __typename?: 'Mutation', setOmeroProjectEnabled: { __typename?: 'OmeroProject', name: string, enabled: boolean } }; +export type GetDestructionReasonsQuery = { __typename?: 'Query', destructionReasons: Array<{ __typename?: 'DestructionReason', id: number, text: string, enabled: boolean }> }; -export type SetProgramEnabledMutationVariables = Exact<{ - name: Scalars['String']; - enabled: Scalars['Boolean']; -}>; +export type GetFfpeProcessingInfoQueryVariables = Exact<{ [key: string]: never; }>; -export type SetProgramEnabledMutation = { __typename?: 'Mutation', setProgramEnabled: { __typename?: 'Program', name: string, enabled: boolean } }; +export type GetFfpeProcessingInfoQuery = { __typename?: 'Query', comments: Array<{ __typename?: 'Comment', id: number, text: string, category: string, enabled: boolean }> }; -export type SetProjectEnabledMutationVariables = Exact<{ - name: Scalars['String']; - enabled: Scalars['Boolean']; +export type GetLabwareCostingQueryVariables = Exact<{ + barcode: Scalars['String']; }>; -export type SetProjectEnabledMutation = { __typename?: 'Mutation', setProjectEnabled: { __typename?: 'Project', name: string, enabled: boolean } }; +export type GetLabwareCostingQuery = { __typename?: 'Query', labwareCosting?: SlideCosting | null }; -export type SetFixativeEnabledMutationVariables = Exact<{ - name: Scalars['String']; - enabled: Scalars['Boolean']; +export type GetLabwareInLocationQueryVariables = Exact<{ + locationBarcode: Scalars['String']; }>; -export type SetFixativeEnabledMutation = { __typename?: 'Mutation', setFixativeEnabled: { __typename?: 'Fixative', name: string, enabled: boolean } }; +export type GetLabwareInLocationQuery = { __typename?: 'Query', labwareInLocation: Array<{ __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }> }; -export type SetReleaseDestinationEnabledMutationVariables = Exact<{ - name: Scalars['String']; - enabled: Scalars['Boolean']; +export type GetLabwareOperationsQueryVariables = Exact<{ + barcode: Scalars['String']; + operationType: Scalars['String']; }>; -export type SetReleaseDestinationEnabledMutation = { __typename?: 'Mutation', setReleaseDestinationEnabled: { __typename?: 'ReleaseDestination', name: string, enabled: boolean } }; +export type GetLabwareOperationsQuery = { __typename?: 'Query', labwareOperations?: Array<{ __typename?: 'Operation', id: number, performed: string, operationType: { __typename?: 'OperationType', name: string }, actions: Array<{ __typename?: 'Action', operationId: number, source: { __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }, destination: { __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }, sample: { __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } } }>, user: { __typename?: 'User', username: string, role: UserRole } } | null> | null }; -export type SetProbePanelEnabledMutationVariables = Exact<{ - name: Scalars['String']; - enabled: Scalars['Boolean']; +export type GetNextReplicateNumberQueryVariables = Exact<{ + barcodes: Array<Scalars['String']> | Scalars['String']; }>; -export type SetProbePanelEnabledMutation = { __typename?: 'Mutation', setProbePanelEnabled: { __typename?: 'ProbePanel', name: string, enabled: boolean } }; +export type GetNextReplicateNumberQuery = { __typename?: 'Query', nextReplicateNumbers: Array<{ __typename?: 'NextReplicateData', barcodes: Array<string>, donorId: number, nextReplicateNumber: number, spatialLocationId: number }> }; -export type SetSlotRegionEnabledMutationVariables = Exact<{ - name: Scalars['String']; - enabled: Scalars['Boolean']; -}>; +export type GetOmeroProjectsQueryVariables = Exact<{ [key: string]: never; }>; -export type SetSlotRegionEnabledMutation = { __typename?: 'Mutation', setSlotRegionEnabled: { __typename?: 'SlotRegion', enabled: boolean, name: string } }; +export type GetOmeroProjectsQuery = { __typename?: 'Query', omeroProjects: Array<{ __typename?: 'OmeroProject', name: string, enabled: boolean }> }; -export type SetReleaseRecipientEnabledMutationVariables = Exact<{ - username: Scalars['String']; - enabled: Scalars['Boolean']; -}>; +export type GetPrintersQueryVariables = Exact<{ [key: string]: never; }>; -export type SetReleaseRecipientEnabledMutation = { __typename?: 'Mutation', setReleaseRecipientEnabled: { __typename?: 'ReleaseRecipient', username: string, fullName?: string | null, enabled: boolean } }; +export type GetPrintersQuery = { __typename?: 'Query', printers: Array<{ __typename?: 'Printer', name: string, labelTypes: Array<{ __typename?: 'LabelType', name: string }> }> }; -export type SetSolutionEnabledMutationVariables = Exact<{ - name: Scalars['String']; - enabled: Scalars['Boolean']; -}>; +export type GetProbePanelsQueryVariables = Exact<{ [key: string]: never; }>; -export type SetSolutionEnabledMutation = { __typename?: 'Mutation', setSolutionEnabled: { __typename?: 'Solution', name: string, enabled: boolean } }; +export type GetProbePanelsQuery = { __typename?: 'Query', probePanels: Array<{ __typename?: 'ProbePanel', name: string, enabled: boolean }> }; -export type SetSpeciesEnabledMutationVariables = Exact<{ - name: Scalars['String']; - enabled: Scalars['Boolean']; -}>; +export type GetProgramsQueryVariables = Exact<{ [key: string]: never; }>; -export type SetSpeciesEnabledMutation = { __typename?: 'Mutation', setSpeciesEnabled: { __typename?: 'Species', name: string, enabled: boolean } }; +export type GetProgramsQuery = { __typename?: 'Query', programs: Array<{ __typename?: 'Program', name: string, enabled: boolean }> }; -export type SetUserRoleMutationVariables = Exact<{ - username: Scalars['String']; - role: UserRole; -}>; +export type GetPotProcessingInfoQueryVariables = Exact<{ [key: string]: never; }>; -export type SetUserRoleMutation = { __typename?: 'Mutation', setUserRole: { __typename?: 'User', username: string, role: UserRole } }; +export type GetPotProcessingInfoQuery = { __typename?: 'Query', fixatives: Array<{ __typename?: 'Fixative', name: string }>, comments: Array<{ __typename?: 'Comment', id: number, text: string, category: string, enabled: boolean }>, labwareTypes: Array<{ __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }> }; -export type SetWorkTypeEnabledMutationVariables = Exact<{ - name: Scalars['String']; - enabled: Scalars['Boolean']; -}>; +export type GetRecordExtractResultInfoQueryVariables = Exact<{ [key: string]: never; }>; -export type SetWorkTypeEnabledMutation = { __typename?: 'Mutation', setWorkTypeEnabled: { __typename?: 'WorkType', name: string, enabled: boolean } }; +export type GetRecordExtractResultInfoQuery = { __typename?: 'Query', comments: Array<{ __typename?: 'Comment', id: number, text: string, category: string, enabled: boolean }> }; -export type SetDnapStudyEnabledMutationVariables = Exact<{ - name: Scalars['String']; - enabled: Scalars['Boolean']; +export type GetRecordInPlaceInfoQueryVariables = Exact<{ + category?: InputMaybe<Scalars['String']>; }>; -export type SetDnapStudyEnabledMutation = { __typename?: 'Mutation', setDnapStudyEnabled: { __typename?: 'DnapStudy', name: string, enabled: boolean } }; +export type GetRecordInPlaceInfoQuery = { __typename?: 'Query', equipments: Array<{ __typename?: 'Equipment', id: number, name: string, category: string, enabled: boolean }> }; -export type SlotCopyMutationVariables = Exact<{ - request: SlotCopyRequest; -}>; +export type GetRegistrationInfoQueryVariables = Exact<{ [key: string]: never; }>; -export type SlotCopyMutation = { __typename?: 'Mutation', slotCopy: { __typename?: 'OperationResult', labware: Array<{ __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }> } }; +export type GetRegistrationInfoQuery = { __typename?: 'Query', species: Array<{ __typename?: 'Species', name: string }>, hmdmcs: Array<{ __typename?: 'Hmdmc', hmdmc: string }>, labwareTypes: Array<{ __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }>, tissueTypes: Array<{ __typename?: 'TissueType', name: string, spatialLocations: Array<{ __typename?: 'SpatialLocation', name: string, code: number }> }>, fixatives: Array<{ __typename?: 'Fixative', name: string }>, mediums: Array<{ __typename?: 'Medium', name: string }>, solutions: Array<{ __typename?: 'Solution', name: string }>, slotRegions: Array<{ __typename?: 'SlotRegion', name: string }> }; -export type StoreMutationVariables = Exact<{ - store: Array<StoreInput> | StoreInput; - locationBarcode: Scalars['String']; -}>; +export type GetReleaseInfoQueryVariables = Exact<{ [key: string]: never; }>; -export type StoreMutation = { __typename?: 'Mutation', store: { __typename?: 'Location', barcode: string, fixedName?: string | null, customName?: string | null, address?: string | null, direction?: GridDirection | null, parent?: { __typename?: 'LinkedLocation', barcode: string, fixedName?: string | null, customName?: string | null } | null, size?: { __typename?: 'Size', numRows: number, numColumns: number } | null, stored: Array<{ __typename?: 'StoredItem', barcode: string, address?: string | null }>, children: Array<{ __typename?: 'LinkedLocation', barcode: string, fixedName?: string | null, customName?: string | null, address?: string | null }> } }; +export type GetReleaseInfoQuery = { __typename?: 'Query', releaseDestinations: Array<{ __typename?: 'ReleaseDestination', name: string, enabled: boolean }>, releaseRecipients: Array<{ __typename?: 'ReleaseRecipient', username: string, fullName?: string | null, enabled: boolean }> }; -export type StainMutationVariables = Exact<{ - request: StainRequest; -}>; +export type GetSectioningConfirmInfoQueryVariables = Exact<{ [key: string]: never; }>; -export type StainMutation = { __typename?: 'Mutation', stain: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; +export type GetSectioningConfirmInfoQuery = { __typename?: 'Query', comments: Array<{ __typename?: 'Comment', id: number, text: string, category: string, enabled: boolean }>, slotRegions: Array<{ __typename?: 'SlotRegion', enabled: boolean, name: string }> }; -export type UnreleaseMutationVariables = Exact<{ - request: UnreleaseRequest; -}>; +export type GetSearchInfoQueryVariables = Exact<{ [key: string]: never; }>; -export type UnreleaseMutation = { __typename?: 'Mutation', unrelease: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; +export type GetSearchInfoQuery = { __typename?: 'Query', tissueTypes: Array<{ __typename?: 'TissueType', name: string }> }; -export type TransferLocationItemsMutationVariables = Exact<{ - sourceBarcode: Scalars['String']; - destinationBarcode: Scalars['String']; +export type GetSlotRegionsQueryVariables = Exact<{ + includeDisabled?: InputMaybe<Scalars['Boolean']>; }>; -export type TransferLocationItemsMutation = { __typename?: 'Mutation', transfer: { __typename?: 'Location', barcode: string, fixedName?: string | null, customName?: string | null, address?: string | null, direction?: GridDirection | null, parent?: { __typename?: 'LinkedLocation', barcode: string, fixedName?: string | null, customName?: string | null } | null, size?: { __typename?: 'Size', numRows: number, numColumns: number } | null, stored: Array<{ __typename?: 'StoredItem', barcode: string, address?: string | null }>, children: Array<{ __typename?: 'LinkedLocation', barcode: string, fixedName?: string | null, customName?: string | null, address?: string | null }> } }; +export type GetSlotRegionsQuery = { __typename?: 'Query', slotRegions: Array<{ __typename?: 'SlotRegion', name: string, enabled: boolean }> }; -export type UnstoreBarcodeMutationVariables = Exact<{ - barcode: Scalars['String']; -}>; +export type GetSampleProcessingCommentsInfoQueryVariables = Exact<{ [key: string]: never; }>; -export type UnstoreBarcodeMutation = { __typename?: 'Mutation', unstoreBarcode?: { __typename?: 'UnstoredItem', barcode: string, address?: string | null } | null }; +export type GetSampleProcessingCommentsInfoQuery = { __typename?: 'Query', comments: Array<{ __typename?: 'Comment', id: number, text: string, category: string, enabled: boolean }> }; -export type UpdateWorkDnapProjectMutationVariables = Exact<{ - workNumber: Scalars['String']; - dnapStudy?: InputMaybe<Scalars['String']>; -}>; +export type GetSolutionTransferInfoQueryVariables = Exact<{ [key: string]: never; }>; -export type UpdateWorkDnapProjectMutation = { __typename?: 'Mutation', updateWorkDnapProject: { __typename?: 'Work', workNumber: string, status: WorkStatus, numBlocks?: number | null, numSlides?: number | null, numOriginalSamples?: number | null, priority?: string | null, workRequester?: { __typename?: 'ReleaseRecipient', username: string, fullName?: string | null, enabled: boolean } | null, project: { __typename?: 'Project', name: string, enabled: boolean }, program: { __typename?: 'Program', name: string, enabled: boolean }, costCode: { __typename?: 'CostCode', code: string, enabled: boolean }, workType: { __typename?: 'WorkType', name: string, enabled: boolean }, omeroProject?: { __typename?: 'OmeroProject', name: string, enabled: boolean } | null, dnapStudy?: { __typename?: 'DnapStudy', name: string, enabled: boolean } | null } }; +export type GetSolutionTransferInfoQuery = { __typename?: 'Query', solutions: Array<{ __typename?: 'Solution', name: string }> }; -export type UpdateWorkNumBlocksMutationVariables = Exact<{ - workNumber: Scalars['String']; - numBlocks?: InputMaybe<Scalars['Int']>; -}>; +export type GetStainInfoQueryVariables = Exact<{ [key: string]: never; }>; -export type UpdateWorkNumBlocksMutation = { __typename?: 'Mutation', updateWorkNumBlocks: { __typename?: 'Work', workNumber: string, status: WorkStatus, numBlocks?: number | null, numSlides?: number | null, numOriginalSamples?: number | null, priority?: string | null, workRequester?: { __typename?: 'ReleaseRecipient', username: string, fullName?: string | null, enabled: boolean } | null, project: { __typename?: 'Project', name: string, enabled: boolean }, program: { __typename?: 'Program', name: string, enabled: boolean }, costCode: { __typename?: 'CostCode', code: string, enabled: boolean }, workType: { __typename?: 'WorkType', name: string, enabled: boolean }, omeroProject?: { __typename?: 'OmeroProject', name: string, enabled: boolean } | null, dnapStudy?: { __typename?: 'DnapStudy', name: string, enabled: boolean } | null } }; +export type GetStainInfoQuery = { __typename?: 'Query', stainTypes: Array<{ __typename?: 'StainType', name: string, measurementTypes: Array<string> }> }; -export type StoreBarcodeMutationVariables = Exact<{ - barcode: Scalars['String']; - locationBarcode: Scalars['String']; - address?: InputMaybe<Scalars['Address']>; -}>; +export type GetSectioningInfoQueryVariables = Exact<{ [key: string]: never; }>; -export type StoreBarcodeMutation = { __typename?: 'Mutation', storeBarcode: { __typename?: 'StoredItem', location: { __typename?: 'Location', barcode: string, fixedName?: string | null, customName?: string | null, address?: string | null, direction?: GridDirection | null, parent?: { __typename?: 'LinkedLocation', barcode: string, fixedName?: string | null, customName?: string | null } | null, size?: { __typename?: 'Size', numRows: number, numColumns: number } | null, stored: Array<{ __typename?: 'StoredItem', barcode: string, address?: string | null }>, children: Array<{ __typename?: 'LinkedLocation', barcode: string, fixedName?: string | null, customName?: string | null, address?: string | null }> } } }; +export type GetSectioningInfoQuery = { __typename?: 'Query', labwareTypes: Array<{ __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }> }; -export type UpdateWorkNumOriginalSamplesMutationVariables = Exact<{ - workNumber: Scalars['String']; - numOriginalSamples?: InputMaybe<Scalars['Int']>; -}>; +export type GetStainingQcInfoQueryVariables = Exact<{ [key: string]: never; }>; -export type UpdateWorkNumOriginalSamplesMutation = { __typename?: 'Mutation', updateWorkNumOriginalSamples: { __typename?: 'Work', workNumber: string, status: WorkStatus, numBlocks?: number | null, numSlides?: number | null, numOriginalSamples?: number | null, priority?: string | null, workRequester?: { __typename?: 'ReleaseRecipient', username: string, fullName?: string | null, enabled: boolean } | null, project: { __typename?: 'Project', name: string, enabled: boolean }, program: { __typename?: 'Program', name: string, enabled: boolean }, costCode: { __typename?: 'CostCode', code: string, enabled: boolean }, workType: { __typename?: 'WorkType', name: string, enabled: boolean }, omeroProject?: { __typename?: 'OmeroProject', name: string, enabled: boolean } | null, dnapStudy?: { __typename?: 'DnapStudy', name: string, enabled: boolean } | null } }; +export type GetStainingQcInfoQuery = { __typename?: 'Query', comments: Array<{ __typename?: 'Comment', id: number, text: string, category: string, enabled: boolean }> }; -export type UpdateWorkNumSlidesMutationVariables = Exact<{ +export type GetSuggestedLabwareForWorkQueryVariables = Exact<{ workNumber: Scalars['String']; - numSlides?: InputMaybe<Scalars['Int']>; + forRelease?: InputMaybe<Scalars['Boolean']>; }>; -export type UpdateWorkNumSlidesMutation = { __typename?: 'Mutation', updateWorkNumSlides: { __typename?: 'Work', workNumber: string, status: WorkStatus, numBlocks?: number | null, numSlides?: number | null, numOriginalSamples?: number | null, priority?: string | null, workRequester?: { __typename?: 'ReleaseRecipient', username: string, fullName?: string | null, enabled: boolean } | null, project: { __typename?: 'Project', name: string, enabled: boolean }, program: { __typename?: 'Program', name: string, enabled: boolean }, costCode: { __typename?: 'CostCode', code: string, enabled: boolean }, workType: { __typename?: 'WorkType', name: string, enabled: boolean }, omeroProject?: { __typename?: 'OmeroProject', name: string, enabled: boolean } | null, dnapStudy?: { __typename?: 'DnapStudy', name: string, enabled: boolean } | null } }; +export type GetSuggestedLabwareForWorkQuery = { __typename?: 'Query', suggestedLabwareForWork: Array<{ __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage: LifeStage }, spatialLocation: { __typename?: 'SpatialLocation', code: number, tissueType: { __typename?: 'TissueType', name: string } }, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }> }; -export type UpdateWorkPriorityMutationVariables = Exact<{ - workNumber: Scalars['String']; - priority?: InputMaybe<Scalars['String']>; +export type GetSuggestedWorkForLabwareQueryVariables = Exact<{ + barcodes: Array<Scalars['String']> | Scalars['String']; + includeInactive?: InputMaybe<Scalars['Boolean']>; }>; -export type UpdateWorkPriorityMutation = { __typename?: 'Mutation', updateWorkPriority: { __typename?: 'Work', workNumber: string, status: WorkStatus, numBlocks?: number | null, numSlides?: number | null, numOriginalSamples?: number | null, priority?: string | null, workRequester?: { __typename?: 'ReleaseRecipient', username: string, fullName?: string | null, enabled: boolean } | null, project: { __typename?: 'Project', name: string, enabled: boolean }, program: { __typename?: 'Program', name: string, enabled: boolean }, costCode: { __typename?: 'CostCode', code: string, enabled: boolean }, workType: { __typename?: 'WorkType', name: string, enabled: boolean }, omeroProject?: { __typename?: 'OmeroProject', name: string, enabled: boolean } | null, dnapStudy?: { __typename?: 'DnapStudy', name: string, enabled: boolean } | null } }; +export type GetSuggestedWorkForLabwareQuery = { __typename?: 'Query', suggestedWorkForLabware: { __typename?: 'SuggestedWorkResponse', suggestedWorks: Array<{ __typename?: 'SuggestedWork', barcode: string, workNumber?: string | null }> } }; -export type UpdateWorkOmeroProjectMutationVariables = Exact<{ - workNumber: Scalars['String']; - omeroProject?: InputMaybe<Scalars['String']>; -}>; +export type GetWorkAllocationInfoQueryVariables = Exact<{ + commentCategory: Scalars['String']; + workStatuses?: InputMaybe<Array<WorkStatus> | WorkStatus>; +}>; -export type UpdateWorkOmeroProjectMutation = { __typename?: 'Mutation', updateWorkOmeroProject: { __typename?: 'Work', workNumber: string, status: WorkStatus, numBlocks?: number | null, numSlides?: number | null, numOriginalSamples?: number | null, priority?: string | null, workRequester?: { __typename?: 'ReleaseRecipient', username: string, fullName?: string | null, enabled: boolean } | null, project: { __typename?: 'Project', name: string, enabled: boolean }, program: { __typename?: 'Program', name: string, enabled: boolean }, costCode: { __typename?: 'CostCode', code: string, enabled: boolean }, workType: { __typename?: 'WorkType', name: string, enabled: boolean }, omeroProject?: { __typename?: 'OmeroProject', name: string, enabled: boolean } | null, dnapStudy?: { __typename?: 'DnapStudy', name: string, enabled: boolean } | null } }; +export type GetWorkAllocationInfoQuery = { __typename?: 'Query', projects: Array<{ __typename?: 'Project', name: string, enabled: boolean }>, programs: Array<{ __typename?: 'Program', name: string, enabled: boolean }>, costCodes: Array<{ __typename?: 'CostCode', code: string, enabled: boolean }>, worksWithComments: Array<{ __typename?: 'WorkWithComment', comment?: string | null, work: { __typename?: 'Work', workNumber: string, status: WorkStatus, numBlocks?: number | null, numSlides?: number | null, numOriginalSamples?: number | null, priority?: string | null, workRequester?: { __typename?: 'ReleaseRecipient', username: string, fullName?: string | null, enabled: boolean } | null, project: { __typename?: 'Project', name: string, enabled: boolean }, program: { __typename?: 'Program', name: string, enabled: boolean }, costCode: { __typename?: 'CostCode', code: string, enabled: boolean }, workType: { __typename?: 'WorkType', name: string, enabled: boolean }, omeroProject?: { __typename?: 'OmeroProject', name: string, enabled: boolean } | null, dnapStudy?: { __typename?: 'DnapStudy', name: string, enabled: boolean } | null } }>, workTypes: Array<{ __typename?: 'WorkType', name: string, enabled: boolean }>, comments: Array<{ __typename?: 'Comment', id: number, text: string, category: string, enabled: boolean }>, releaseRecipients: Array<{ __typename?: 'ReleaseRecipient', username: string, fullName?: string | null, enabled: boolean }>, omeroProjects: Array<{ __typename?: 'OmeroProject', name: string, enabled: boolean }>, dnapStudies: Array<{ __typename?: 'DnapStudy', name: string, enabled: boolean }> }; -export type UpdateWorkStatusMutationVariables = Exact<{ - workNumber: Scalars['String']; - status: WorkStatus; - commentId?: InputMaybe<Scalars['Int']>; -}>; +export type GetWorkNumbersQueryVariables = Exact<{ [key: string]: never; }>; -export type UpdateWorkStatusMutation = { __typename?: 'Mutation', updateWorkStatus: { __typename?: 'WorkWithComment', comment?: string | null, work: { __typename?: 'Work', workNumber: string, status: WorkStatus, numBlocks?: number | null, numSlides?: number | null, numOriginalSamples?: number | null, priority?: string | null, workRequester?: { __typename?: 'ReleaseRecipient', username: string, fullName?: string | null, enabled: boolean } | null, project: { __typename?: 'Project', name: string, enabled: boolean }, program: { __typename?: 'Program', name: string, enabled: boolean }, costCode: { __typename?: 'CostCode', code: string, enabled: boolean }, workType: { __typename?: 'WorkType', name: string, enabled: boolean }, omeroProject?: { __typename?: 'OmeroProject', name: string, enabled: boolean } | null, dnapStudy?: { __typename?: 'DnapStudy', name: string, enabled: boolean } | null } } }; +export type GetWorkNumbersQuery = { __typename?: 'Query', works: Array<{ __typename?: 'Work', workNumber: string }> }; -export type CommentFieldsFragment = { __typename?: 'Comment', id: number, text: string, category: string, enabled: boolean }; +export type GetVisiumQcInfoQueryVariables = Exact<{ [key: string]: never; }>; -export type VisiumAnalysisMutationVariables = Exact<{ - request: VisiumAnalysisRequest; -}>; +export type GetVisiumQcInfoQuery = { __typename?: 'Query', comments: Array<{ __typename?: 'Comment', id: number, text: string, category: string, enabled: boolean }> }; -export type VisiumAnalysisMutation = { __typename?: 'Mutation', visiumAnalysis: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; +export type GetWorkSummaryQueryVariables = Exact<{ [key: string]: never; }>; -export type UpdateReleaseRecipientFullNameMutationVariables = Exact<{ - username: Scalars['String']; - fullName?: InputMaybe<Scalars['String']>; -}>; +export type GetWorkSummaryQuery = { __typename?: 'Query', worksSummary: { __typename?: 'WorkSummaryData', workSummaryGroups: Array<{ __typename?: 'WorkSummaryGroup', numWorks: number, status: WorkStatus, totalNumBlocks: number, totalNumSlides: number, totalNumOriginalSamples: number, workType: { __typename?: 'WorkType', name: string, enabled: boolean } }>, workTypes: Array<{ __typename?: 'WorkType', name: string }> } }; -export type UpdateReleaseRecipientFullNameMutation = { __typename?: 'Mutation', updateReleaseRecipientFullName: { __typename?: 'ReleaseRecipient', username: string, fullName?: string | null, enabled: boolean } }; +export type GetWorkTypesQueryVariables = Exact<{ [key: string]: never; }>; -export type LoginMutationVariables = Exact<{ - username: Scalars['String']; - password: Scalars['String']; -}>; +export type GetWorkTypesQuery = { __typename?: 'Query', workTypes: Array<{ __typename?: 'WorkType', name: string }> }; -export type LoginMutation = { __typename?: 'Mutation', login: { __typename?: 'LoginResult', user?: { __typename?: 'User', username: string, role: UserRole } | null } }; +export type GetXeniumQcInfoQueryVariables = Exact<{ [key: string]: never; }>; -export type AddDestructionReasonMutationVariables = Exact<{ - text: Scalars['String']; -}>; + +export type GetXeniumQcInfoQuery = { __typename?: 'Query', comments: Array<{ __typename?: 'Comment', id: number, text: string, category: string, enabled: boolean }> }; + +export type GetWorkProgressInputsQueryVariables = Exact<{ [key: string]: never; }>; -export type AddDestructionReasonMutation = { __typename?: 'Mutation', addDestructionReason: { __typename?: 'DestructionReason', id: number, text: string, enabled: boolean } }; +export type GetWorkProgressInputsQuery = { __typename?: 'Query', workTypes: Array<{ __typename?: 'WorkType', name: string }>, programs: Array<{ __typename?: 'Program', name: string }>, releaseRecipients: Array<{ __typename?: 'ReleaseRecipient', username: string }> }; export const DestructionReasonFieldsFragmentDoc = gql` fragment DestructionReasonFields on DestructionReason { @@ -4535,19 +4559,11 @@ export const AddressPermDataFieldsFragmentDoc = gql` selected } `; -export const FileFieldsFragmentDoc = gql` - fragment FileFields on StanFile { - created - name - url - work { - workNumber - } -} - `; -export const FixativeFieldsFragmentDoc = gql` - fragment FixativeFields on Fixative { - name +export const CommentFieldsFragmentDoc = gql` + fragment CommentFields on Comment { + id + text + category enabled } `; @@ -4559,32 +4575,28 @@ export const EquipmentFieldsFragmentDoc = gql` enabled } `; -export const HmdmcFieldsFragmentDoc = gql` - fragment HmdmcFields on Hmdmc { - hmdmc +export const FixativeFieldsFragmentDoc = gql` + fragment FixativeFields on Fixative { + name enabled } `; -export const NextReplicateDataFieldsFragmentDoc = gql` - fragment NextReplicateDataFields on NextReplicateData { - barcodes - donorId - nextReplicateNumber - spatialLocationId -} - `; -export const LinkedLocationFieldsFragmentDoc = gql` - fragment LinkedLocationFields on LinkedLocation { - barcode - fixedName - customName - address +export const FileFieldsFragmentDoc = gql` + fragment FileFields on StanFile { + created + name + url + work { + workNumber + } } `; -export const PrinterFieldsFragmentDoc = gql` - fragment PrinterFields on Printer { +export const LabwareTypeFieldsFragmentDoc = gql` + fragment LabwareTypeFields on LabwareType { name - labelTypes { + numRows + numColumns + labelType { name } } @@ -4632,70 +4644,6 @@ export const SlotFieldsFragmentDoc = gql` block } `; -export const ActionFieldsFragmentDoc = gql` - fragment ActionFields on Action { - source { - ...SlotFields - } - destination { - ...SlotFields - } - operationId - sample { - ...SampleFields - } -} - `; -export const UserFieldsFragmentDoc = gql` - fragment UserFields on User { - username - role -} - `; -export const OperationFieldsFragmentDoc = gql` - fragment OperationFields on Operation { - id - operationType { - name - } - actions { - ...ActionFields - } - user { - ...UserFields - } - performed -} - `; -export const PlanActionFieldsFragmentDoc = gql` - fragment PlanActionFields on PlanAction { - newSection - sample { - id - } - source { - address - labwareId - samples { - id - } - } - destination { - address - labwareId - } -} - `; -export const LabwareTypeFieldsFragmentDoc = gql` - fragment LabwareTypeFields on LabwareType { - name - numRows - numColumns - labelType { - name - } -} - `; export const LabwareFieldsFragmentDoc = gql` fragment LabwareFields on Labware { id @@ -4752,70 +4700,18 @@ export const HistoryFieldsFragmentDoc = gql` } } `; -export const ReagentSlotFieldsFragmentDoc = gql` - fragment ReagentSlotFields on ReagentSlot { - address - used -} - `; -export const ReagentPlateFieldsFragmentDoc = gql` - fragment ReagentPlateFields on ReagentPlate { - barcode - slots { - ...ReagentSlotFields - } - plateType -} - `; -export const ProbePanelFieldsFragmentDoc = gql` - fragment ProbePanelFields on ProbePanel { - name - enabled -} - `; -export const ReleaseDestinationFieldsFragmentDoc = gql` - fragment ReleaseDestinationFields on ReleaseDestination { - name +export const HmdmcFieldsFragmentDoc = gql` + fragment HmdmcFields on Hmdmc { + hmdmc enabled } `; -export const SlotPassFailFieldsFragmentDoc = gql` - fragment SlotPassFailFields on SlotPassFail { - address - result - comment -} - `; -export const RegisterResultFieldsFragmentDoc = gql` - fragment RegisterResultFields on RegisterResult { - labware { - ...LabwareFields - } - clashes { - tissue { - externalName - donor { - donorName - } - spatialLocation { - code - name - tissueType { - name - } - } - } - labware { - barcode - labwareType { - name - } - } - } - labwareSolutions { - barcode - solutionName - } +export const NextReplicateDataFieldsFragmentDoc = gql` + fragment NextReplicateDataFields on NextReplicateData { + barcodes + donorId + nextReplicateNumber + spatialLocationId } `; export const LocationFieldsFragmentDoc = gql` @@ -4846,25 +4742,167 @@ export const LocationFieldsFragmentDoc = gql` } } `; -export const SlotRegionFieldsFragmentDoc = gql` - fragment SlotRegionFields on SlotRegion { - enabled - name -} - `; -export const SpeciesFieldsFragmentDoc = gql` - fragment SpeciesFields on Species { - name - enabled -} - `; -export const SolutionFieldsFragmentDoc = gql` - fragment SolutionFields on Solution { - name - enabled +export const LinkedLocationFieldsFragmentDoc = gql` + fragment LinkedLocationFields on LinkedLocation { + barcode + fixedName + customName + address } `; -export const SuggestedWorkFieldsFragmentDoc = gql` +export const PlanActionFieldsFragmentDoc = gql` + fragment PlanActionFields on PlanAction { + newSection + sample { + id + } + source { + address + labwareId + samples { + id + } + } + destination { + address + labwareId + } +} + `; +export const ActionFieldsFragmentDoc = gql` + fragment ActionFields on Action { + source { + ...SlotFields + } + destination { + ...SlotFields + } + operationId + sample { + ...SampleFields + } +} + `; +export const UserFieldsFragmentDoc = gql` + fragment UserFields on User { + username + role +} + `; +export const OperationFieldsFragmentDoc = gql` + fragment OperationFields on Operation { + id + operationType { + name + } + actions { + ...ActionFields + } + user { + ...UserFields + } + performed +} + `; +export const PrinterFieldsFragmentDoc = gql` + fragment PrinterFields on Printer { + name + labelTypes { + name + } +} + `; +export const ProbePanelFieldsFragmentDoc = gql` + fragment ProbePanelFields on ProbePanel { + name + enabled +} + `; +export const ReagentSlotFieldsFragmentDoc = gql` + fragment ReagentSlotFields on ReagentSlot { + address + used +} + `; +export const ReagentPlateFieldsFragmentDoc = gql` + fragment ReagentPlateFields on ReagentPlate { + barcode + slots { + ...ReagentSlotFields + } + plateType +} + `; +export const RegisterResultFieldsFragmentDoc = gql` + fragment RegisterResultFields on RegisterResult { + labware { + ...LabwareFields + } + clashes { + tissue { + externalName + donor { + donorName + } + spatialLocation { + code + name + tissueType { + name + } + } + } + labware { + barcode + labwareType { + name + } + } + } + labwareSolutions { + barcode + solutionName + } +} + `; +export const ReleaseDestinationFieldsFragmentDoc = gql` + fragment ReleaseDestinationFields on ReleaseDestination { + name + enabled +} + `; +export const SlotPassFailFieldsFragmentDoc = gql` + fragment SlotPassFailFields on SlotPassFail { + address + result + comment +} + `; +export const SolutionFieldsFragmentDoc = gql` + fragment SolutionFields on Solution { + name + enabled +} + `; +export const SlotRegionFieldsFragmentDoc = gql` + fragment SlotRegionFields on SlotRegion { + enabled + name +} + `; +export const SpeciesFieldsFragmentDoc = gql` + fragment SpeciesFields on Species { + name + enabled +} + `; +export const StainTypeFieldsFragmentDoc = gql` + fragment StainTypeFields on StainType { + name + measurementTypes +} + `; +export const SuggestedWorkFieldsFragmentDoc = gql` fragment SuggestedWorkFields on SuggestedWork { barcode workNumber @@ -4982,308 +5020,237 @@ export const WorkWithCommentFieldsFragmentDoc = gql` comment } `; -export const StainTypeFieldsFragmentDoc = gql` - fragment StainTypeFields on StainType { - name - measurementTypes -} - `; -export const CommentFieldsFragmentDoc = gql` - fragment CommentFields on Comment { - id - text - category - enabled -} - `; -export const CurrentUserDocument = gql` - query CurrentUser { - user { - ...UserFields +export const AddCommentDocument = gql` + mutation AddComment($category: String!, $text: String!) { + addComment(category: $category, text: $text) { + ...CommentFields } } - ${UserFieldsFragmentDoc}`; -export const FindDocument = gql` - query Find($request: FindRequest!) { - find(request: $request) { - numRecords - entries { - labwareId - sampleId - workNumbers - } - samples { - id - section - tissue { - replicate - spatialLocation { - tissueType { - name - } - } - externalName - donor { - donorName - } - medium { - name - } - } - } - labware { - id - barcode - created - labwareType { - name - } - } - locations { - id - barcode - customName - fixedName - direction - size { - numRows - numColumns - } - qualifiedNameWithFirstBarcode - } - labwareLocations { - labwareId - locationId - address - } + ${CommentFieldsFragmentDoc}`; +export const AddCostCodeDocument = gql` + mutation AddCostCode($code: String!) { + addCostCode(code: $code) { + ...CostCodeFields } } - `; -export const FindFilesDocument = gql` - query FindFiles($workNumbers: [String!]!) { - listFiles(workNumbers: $workNumbers) { - ...FileFields + ${CostCodeFieldsFragmentDoc}`; +export const AddDestructionReasonDocument = gql` + mutation AddDestructionReason($text: String!) { + addDestructionReason(text: $text) { + ...DestructionReasonFields } } - ${FileFieldsFragmentDoc}`; -export const FindHistoryForDonorNameDocument = gql` - query FindHistoryForDonorName($donorName: String!) { - historyForDonorName(donorName: $donorName) { - ...HistoryFields + ${DestructionReasonFieldsFragmentDoc}`; +export const AddDnapStudyDocument = gql` + mutation AddDnapStudy($name: String!) { + addDnapStudy(name: $name) { + ...DnapStudyFields } } - ${HistoryFieldsFragmentDoc} -${LabwareFieldsFragmentDoc} -${LabwareTypeFieldsFragmentDoc} -${SlotFieldsFragmentDoc} -${SampleFieldsFragmentDoc} -${HistoryEntryFieldsFragmentDoc} -${SamplePositionFieldsFragmentDoc}`; -export const FindHistoryForLabwareBarcodeDocument = gql` - query FindHistoryForLabwareBarcode($barcode: String!) { - historyForLabwareBarcode(barcode: $barcode) { - ...HistoryFields + ${DnapStudyFieldsFragmentDoc}`; +export const AddEquipmentDocument = gql` + mutation AddEquipment($category: String!, $name: String!) { + addEquipment(category: $category, name: $name) { + ...EquipmentFields } } - ${HistoryFieldsFragmentDoc} -${LabwareFieldsFragmentDoc} -${LabwareTypeFieldsFragmentDoc} -${SlotFieldsFragmentDoc} -${SampleFieldsFragmentDoc} -${HistoryEntryFieldsFragmentDoc} -${SamplePositionFieldsFragmentDoc}`; -export const FindHistoryForWorkNumberDocument = gql` - query FindHistoryForWorkNumber($workNumber: String!) { - historyForWorkNumber(workNumber: $workNumber) { - ...HistoryFields + ${EquipmentFieldsFragmentDoc}`; +export const AddFixativeDocument = gql` + mutation AddFixative($name: String!) { + addFixative(name: $name) { + ...FixativeFields } } - ${HistoryFieldsFragmentDoc} -${LabwareFieldsFragmentDoc} -${LabwareTypeFieldsFragmentDoc} -${SlotFieldsFragmentDoc} -${SampleFieldsFragmentDoc} -${HistoryEntryFieldsFragmentDoc} -${SamplePositionFieldsFragmentDoc}`; -export const FindHistoryForSampleIdDocument = gql` - query FindHistoryForSampleId($sampleId: Int!) { - historyForSampleId(sampleId: $sampleId) { - ...HistoryFields + ${FixativeFieldsFragmentDoc}`; +export const AddExternalIdDocument = gql` + mutation AddExternalID($request: AddExternalIDRequest!) { + addExternalID(request: $request) { + operations { + operationType { + name + } + user { + username + } + performed + } } } - ${HistoryFieldsFragmentDoc} -${LabwareFieldsFragmentDoc} -${LabwareTypeFieldsFragmentDoc} -${SlotFieldsFragmentDoc} -${SampleFieldsFragmentDoc} -${HistoryEntryFieldsFragmentDoc} -${SamplePositionFieldsFragmentDoc}`; -export const FindLabwareDocument = gql` - query FindLabware($barcode: String!) { - labware(barcode: $barcode) { - ...LabwareFields + `; +export const AddOmeroProjectDocument = gql` + mutation AddOmeroProject($name: String!) { + addOmeroProject(name: $name) { + ...OmeroProjectFields } } - ${LabwareFieldsFragmentDoc} -${LabwareTypeFieldsFragmentDoc} -${SlotFieldsFragmentDoc} -${SampleFieldsFragmentDoc}`; -export const FindLabwareLocationDocument = gql` - query FindLabwareLocation($barcodes: [String!]!) { - stored(barcodes: $barcodes) { - location { - barcode - } + ${OmeroProjectFieldsFragmentDoc}`; +export const AddHmdmcDocument = gql` + mutation AddHmdmc($hmdmc: String!) { + addHmdmc(hmdmc: $hmdmc) { + ...HmdmcFields } } - `; -export const FindLocationByBarcodeDocument = gql` - query FindLocationByBarcode($barcode: String!) { - location(locationBarcode: $barcode) { - ...LocationFields + ${HmdmcFieldsFragmentDoc}`; +export const AddProbePanelDocument = gql` + mutation AddProbePanel($name: String!) { + addProbePanel(name: $name) { + ...ProbePanelFields } } - ${LocationFieldsFragmentDoc}`; -export const FindPassFailsDocument = gql` - query FindPassFails($barcode: String!, $operationType: String!) { - passFails(barcode: $barcode, operationType: $operationType) { - operation { - ...OperationFields - } - slotPassFails { - ...SlotPassFailFields - } + ${ProbePanelFieldsFragmentDoc}`; +export const AddProgramDocument = gql` + mutation AddProgram($name: String!) { + addProgram(name: $name) { + ...ProgramFields } } - ${OperationFieldsFragmentDoc} -${ActionFieldsFragmentDoc} -${SlotFieldsFragmentDoc} -${SampleFieldsFragmentDoc} -${UserFieldsFragmentDoc} -${SlotPassFailFieldsFragmentDoc}`; -export const FindPermDataDocument = gql` - query FindPermData($barcode: String!) { - visiumPermData(barcode: $barcode) { + ${ProgramFieldsFragmentDoc}`; +export const AddProjectDocument = gql` + mutation AddProject($name: String!) { + addProject(name: $name) { + ...ProjectFields + } +} + ${ProjectFieldsFragmentDoc}`; +export const AddReleaseDestinationDocument = gql` + mutation AddReleaseDestination($name: String!) { + addReleaseDestination(name: $name) { + ...ReleaseDestinationFields + } +} + ${ReleaseDestinationFieldsFragmentDoc}`; +export const AddReleaseRecipientDocument = gql` + mutation AddReleaseRecipient($username: String!, $fullName: String) { + addReleaseRecipient(username: $username, fullName: $fullName) { + ...ReleaseRecipientFields + } +} + ${ReleaseRecipientFieldsFragmentDoc}`; +export const AddSlotRegionDocument = gql` + mutation AddSlotRegion($name: String!) { + addSlotRegion(name: $name) { + ...SlotRegionFields + } +} + ${SlotRegionFieldsFragmentDoc}`; +export const AddSolutionDocument = gql` + mutation AddSolution($name: String!) { + addSolution(name: $name) { + ...SolutionFields + } +} + ${SolutionFieldsFragmentDoc}`; +export const AddSpeciesDocument = gql` + mutation AddSpecies($name: String!) { + addSpecies(name: $name) { + ...SpeciesFields + } +} + ${SpeciesFieldsFragmentDoc}`; +export const AddUserDocument = gql` + mutation AddUser($username: String!) { + addUser(username: $username) { + ...UserFields + } +} + ${UserFieldsFragmentDoc}`; +export const AddWorkTypeDocument = gql` + mutation AddWorkType($name: String!) { + addWorkType(name: $name) { + ...WorkTypeFields + } +} + ${WorkTypeFieldsFragmentDoc}`; +export const AliquotDocument = gql` + mutation Aliquot($request: AliquotRequest!) { + aliquot(request: $request) { labware { ...LabwareFields } - addressPermData { - address - controlType - seconds - selected - } - samplePositionResults { - ...SamplePositionFields + operations { + operationType { + name + } + actions { + sample { + id + } + source { + address + labwareId + samples { + id + } + } + destination { + address + labwareId + } + } } } } ${LabwareFieldsFragmentDoc} ${LabwareTypeFieldsFragmentDoc} ${SlotFieldsFragmentDoc} -${SampleFieldsFragmentDoc} -${SamplePositionFieldsFragmentDoc}`; -export const FindPlanDataDocument = gql` - query FindPlanData($barcode: String!) { - planData(barcode: $barcode) { - sources { - ...LabwareFields - } - destination { +${SampleFieldsFragmentDoc}`; +export const ConfirmDocument = gql` + mutation Confirm($request: ConfirmOperationRequest!) { + confirmOperation(request: $request) { + labware { ...LabwareFields } - plan { + operations { operationType { name } - planActions { - ...PlanActionFields + user { + username } + performed } } } ${LabwareFieldsFragmentDoc} ${LabwareTypeFieldsFragmentDoc} ${SlotFieldsFragmentDoc} -${SampleFieldsFragmentDoc} -${PlanActionFieldsFragmentDoc}`; -export const FindReagentPlateDocument = gql` - query FindReagentPlate($barcode: String!) { - reagentPlate(barcode: $barcode) { - barcode - slots { - ...ReagentSlotFields +${SampleFieldsFragmentDoc}`; +export const ConfirmSectionDocument = gql` + mutation ConfirmSection($request: ConfirmSectionRequest!) { + confirmSection(request: $request) { + labware { + ...LabwareFields + } + operations { + operationType { + name + } + user { + username + } + performed } - plateType } } - ${ReagentSlotFieldsFragmentDoc}`; -export const FindLatestOperationDocument = gql` - query FindLatestOperation($barcode: String!, $operationType: String!) { - findLatestOp(barcode: $barcode, operationType: $operationType) { - id - } -} - `; -export const FindSamplePositionsDocument = gql` - query FindSamplePositions($labwareBarcode: String!) { - samplePositions(labwareBarcode: $labwareBarcode) { - ...SamplePositionFields - } -} - ${SamplePositionFieldsFragmentDoc}`; -export const FindStoragePathDocument = gql` - query FindStoragePath($locationBarcode: String!) { - storagePath(locationBarcode: $locationBarcode) { - ...LinkedLocationFields - } -} - ${LinkedLocationFieldsFragmentDoc}`; -export const FindWorkInfoDocument = gql` - query FindWorkInfo($status: WorkStatus!) { - works(status: [$status]) { - workNumber - workRequester { - username - } - project { - name - } - } -} - `; -export const FindWorkNumbersDocument = gql` - query FindWorkNumbers($status: WorkStatus!) { - works(status: [$status]) { - workNumber - } -} - `; -export const FindWorkProgressDocument = gql` - query FindWorkProgress($workNumber: String, $workTypes: [String!], $programs: [String!], $statuses: [WorkStatus!], $requesters: [String!]) { - workProgress( - workNumber: $workNumber - workTypes: $workTypes - programs: $programs - statuses: $statuses - requesters: $requesters + ${LabwareFieldsFragmentDoc} +${LabwareTypeFieldsFragmentDoc} +${SlotFieldsFragmentDoc} +${SampleFieldsFragmentDoc}`; +export const CreateWorkDocument = gql` + mutation CreateWork($prefix: String!, $workType: String!, $workRequester: String!, $project: String!, $program: String!, $costCode: String!, $numBlocks: Int, $numSlides: Int, $numOriginalSamples: Int, $omeroProject: String, $dnapStudy: String) { + createWork( + prefix: $prefix + workType: $workType + workRequester: $workRequester + project: $project + program: $program + costCode: $costCode + numBlocks: $numBlocks + numSlides: $numSlides + numOriginalSamples: $numOriginalSamples + omeroProject: $omeroProject + dnapStudy: $dnapStudy ) { - ...WorkProgressFields - } -} - ${WorkProgressFieldsFragmentDoc} -${WorkFieldsFragmentDoc} -${ReleaseRecipientFieldsFragmentDoc} -${ProjectFieldsFragmentDoc} -${ProgramFieldsFragmentDoc} -${CostCodeFieldsFragmentDoc} -${WorkTypeFieldsFragmentDoc} -${OmeroProjectFieldsFragmentDoc} -${DnapStudyFieldsFragmentDoc} -${WorkProgressTimeStampFieldFragmentDoc}`; -export const FindWorksCreatedByDocument = gql` - query FindWorksCreatedBy($username: String!) { - worksCreatedBy(username: $username) { ...WorkFields } } @@ -5295,192 +5262,202 @@ ${CostCodeFieldsFragmentDoc} ${WorkTypeFieldsFragmentDoc} ${OmeroProjectFieldsFragmentDoc} ${DnapStudyFieldsFragmentDoc}`; -export const GetAllWorkInfoDocument = gql` - query GetAllWorkInfo { - works { - workNumber - workRequester { - username - } - project { - name +export const DestroyDocument = gql` + mutation Destroy($request: DestroyRequest!) { + destroy(request: $request) { + destructions { + labware { + barcode + } } - status } } `; -export const GetBlockProcessingInfoDocument = gql` - query GetBlockProcessingInfo { - mediums { - name - } - comments(includeDisabled: false, category: "Sample Processing") { - ...CommentFields - } - labwareTypes { - ...LabwareTypeFields +export const ExtractDocument = gql` + mutation Extract($request: ExtractRequest!) { + extract(request: $request) { + labware { + ...LabwareFields + } + operations { + operationType { + name + } + actions { + sample { + id + } + source { + address + labwareId + samples { + id + } + } + destination { + address + labwareId + } + } + } } } - ${CommentFieldsFragmentDoc} -${LabwareTypeFieldsFragmentDoc}`; -export const GetCommentsDocument = gql` - query GetComments($commentCategory: String, $includeDisabled: Boolean) { - comments(category: $commentCategory, includeDisabled: $includeDisabled) { - ...CommentFields + ${LabwareFieldsFragmentDoc} +${LabwareTypeFieldsFragmentDoc} +${SlotFieldsFragmentDoc} +${SampleFieldsFragmentDoc}`; +export const EmptyLocationDocument = gql` + mutation EmptyLocation($barcode: String!) { + empty(locationBarcode: $barcode) { + numUnstored } } - ${CommentFieldsFragmentDoc}`; -export const GetConfigurationDocument = gql` - query GetConfiguration { - destructionReasons(includeDisabled: true) { - ...DestructionReasonFields - } - comments(includeDisabled: true) { - ...CommentFields - } - hmdmcs(includeDisabled: true) { - ...HmdmcFields - } - species(includeDisabled: true) { - ...SpeciesFields - } - fixatives(includeDisabled: true) { - ...FixativeFields - } - releaseDestinations(includeDisabled: true) { - ...ReleaseDestinationFields - } - releaseRecipients(includeDisabled: true) { - ...ReleaseRecipientFields - } - projects(includeDisabled: true) { - ...ProjectFields - } - costCodes(includeDisabled: true) { - ...CostCodeFields - } - workTypes(includeDisabled: true) { - ...WorkTypeFields - } - equipments(includeDisabled: true) { - ...EquipmentFields - } - users(includeDisabled: true) { - ...UserFields - } - solutions(includeDisabled: true) { - ...SolutionFields - } - probePanels(includeDisabled: true) { - ...ProbePanelFields - } - programs(includeDisabled: true) { - ...ProgramFields - } - omeroProjects(includeDisabled: true) { - ...OmeroProjectFields - } - dnapStudies(includeDisabled: true) { - ...DnapStudyFields + `; +export const LoginDocument = gql` + mutation Login($username: String!, $password: String!) { + login(username: $username, password: $password) { + user { + ...UserFields + } } } - ${DestructionReasonFieldsFragmentDoc} -${CommentFieldsFragmentDoc} -${HmdmcFieldsFragmentDoc} -${SpeciesFieldsFragmentDoc} -${FixativeFieldsFragmentDoc} -${ReleaseDestinationFieldsFragmentDoc} -${ReleaseRecipientFieldsFragmentDoc} -${ProjectFieldsFragmentDoc} -${CostCodeFieldsFragmentDoc} -${WorkTypeFieldsFragmentDoc} -${EquipmentFieldsFragmentDoc} -${UserFieldsFragmentDoc} -${SolutionFieldsFragmentDoc} -${ProbePanelFieldsFragmentDoc} -${ProgramFieldsFragmentDoc} -${OmeroProjectFieldsFragmentDoc} -${DnapStudyFieldsFragmentDoc}`; -export const GetDestroyInfoDocument = gql` - query GetDestroyInfo { - destructionReasons { - ...DestructionReasonFields - } + ${UserFieldsFragmentDoc}`; +export const LogoutDocument = gql` + mutation Logout { + logout } - ${DestructionReasonFieldsFragmentDoc}`; -export const GetDestructionReasonsDocument = gql` - query GetDestructionReasons($includeDisabled: Boolean) { - destructionReasons(includeDisabled: $includeDisabled) { - ...DestructionReasonFields + `; +export const PerformFfpeProcessingDocument = gql` + mutation PerformFFPEProcessing($request: FFPEProcessingRequest!) { + performFFPEProcessing(request: $request) { + labware { + ...LabwareFields + } + operations { + operationType { + name + } + user { + username + } + performed + } } } - ${DestructionReasonFieldsFragmentDoc}`; -export const GetFfpeProcessingInfoDocument = gql` - query GetFFPEProcessingInfo { - comments(includeDisabled: false, category: "FFPE processing program") { - ...CommentFields - } -} - ${CommentFieldsFragmentDoc}`; -export const GetLabwareCostingDocument = gql` - query GetLabwareCosting($barcode: String!) { - labwareCosting(barcode: $barcode) -} - `; -export const GetLabwareInLocationDocument = gql` - query GetLabwareInLocation($locationBarcode: String!) { - labwareInLocation(locationBarcode: $locationBarcode) { - ...LabwareFields + ${LabwareFieldsFragmentDoc} +${LabwareTypeFieldsFragmentDoc} +${SlotFieldsFragmentDoc} +${SampleFieldsFragmentDoc}`; +export const PerformSolutionTransferDocument = gql` + mutation PerformSolutionTransfer($request: SolutionTransferRequest!) { + performSolutionTransfer(request: $request) { + labware { + ...LabwareFields + } + operations { + operationType { + name + } + user { + username + } + performed + } } } ${LabwareFieldsFragmentDoc} ${LabwareTypeFieldsFragmentDoc} ${SlotFieldsFragmentDoc} ${SampleFieldsFragmentDoc}`; -export const GetLabwareOperationsDocument = gql` - query GetLabwareOperations($barcode: String!, $operationType: String!) { - labwareOperations(barcode: $barcode, operationType: $operationType) { - ...OperationFields +export const PerformTissuePotDocument = gql` + mutation PerformTissuePot($request: PotProcessingRequest!) { + performPotProcessing(request: $request) { + labware { + ...LabwareFields + } + operations { + operationType { + name + } + user { + username + } + performed + } } } - ${OperationFieldsFragmentDoc} -${ActionFieldsFragmentDoc} + ${LabwareFieldsFragmentDoc} +${LabwareTypeFieldsFragmentDoc} ${SlotFieldsFragmentDoc} -${SampleFieldsFragmentDoc} -${UserFieldsFragmentDoc}`; -export const GetNextReplicateNumberDocument = gql` - query GetNextReplicateNumber($barcodes: [String!]!) { - nextReplicateNumbers(barcodes: $barcodes) { - ...NextReplicateDataFields +${SampleFieldsFragmentDoc}`; +export const PerformTissueBlockDocument = gql` + mutation PerformTissueBlock($request: TissueBlockRequest!) { + performTissueBlock(request: $request) { + labware { + ...LabwareFields + } + operations { + operationType { + name + } + user { + username + } + performed + } } } - ${NextReplicateDataFieldsFragmentDoc}`; -export const GetOmeroProjectsDocument = gql` - query GetOmeroProjects { - omeroProjects { - name - enabled - } + ${LabwareFieldsFragmentDoc} +${LabwareTypeFieldsFragmentDoc} +${SlotFieldsFragmentDoc} +${SampleFieldsFragmentDoc}`; +export const PrintDocument = gql` + mutation Print($barcodes: [String!]!, $printer: String!) { + printLabware(barcodes: $barcodes, printer: $printer) } `; -export const FindHistoryForExternalNameDocument = gql` - query FindHistoryForExternalName($externalName: String!) { - historyForExternalName(externalName: $externalName) { - ...HistoryFields +export const PlanDocument = gql` + mutation Plan($request: PlanRequest!) { + plan(request: $request) { + labware { + ...LabwareFields + } + operations { + operationType { + name + } + planActions { + ...PlanActionFields + } + } } } - ${HistoryFieldsFragmentDoc} -${LabwareFieldsFragmentDoc} + ${LabwareFieldsFragmentDoc} ${LabwareTypeFieldsFragmentDoc} ${SlotFieldsFragmentDoc} ${SampleFieldsFragmentDoc} -${HistoryEntryFieldsFragmentDoc} -${SamplePositionFieldsFragmentDoc}`; -export const ExtractResultDocument = gql` - query ExtractResult($barcode: String!) { - extractResult(barcode: $barcode) { - result - concentration +${PlanActionFieldsFragmentDoc}`; +export const RecordAnalyserDocument = gql` + mutation RecordAnalyser($request: AnalyserRequest!) { + recordAnalyser(request: $request) { + operations { + id + } + } +} + `; +export const RecordComplexStainDocument = gql` + mutation RecordComplexStain($request: ComplexStainRequest!) { + recordComplexStain(request: $request) { + operations { + id + } + } +} + `; +export const RecordInPlaceDocument = gql` + mutation RecordInPlace($request: InPlaceOpRequest!) { + recordInPlace(request: $request) { labware { ...LabwareFields } @@ -5490,664 +5467,448 @@ export const ExtractResultDocument = gql` ${LabwareTypeFieldsFragmentDoc} ${SlotFieldsFragmentDoc} ${SampleFieldsFragmentDoc}`; -export const GetPotProcessingInfoDocument = gql` - query GetPotProcessingInfo { - fixatives { - name - } - comments(includeDisabled: false, category: "Sample Processing") { - ...CommentFields - } - labwareTypes { - ...LabwareTypeFields +export const RecordOpWithSlotCommentsDocument = gql` + mutation RecordOpWithSlotComments($request: OpWithSlotCommentsRequest!) { + recordOpWithSlotComments(request: $request) { + operations { + id + } } } - ${CommentFieldsFragmentDoc} -${LabwareTypeFieldsFragmentDoc}`; -export const GetRecordInPlaceInfoDocument = gql` - query GetRecordInPlaceInfo($category: String) { - equipments(includeDisabled: false, category: $category) { - ...EquipmentFields + `; +export const RecordCompletionDocument = gql` + mutation RecordCompletion($request: CompletionRequest!) { + recordCompletion(request: $request) { + operations { + id + } } } - ${EquipmentFieldsFragmentDoc}`; -export const GetProbePanelsDocument = gql` - query GetProbePanels { - probePanels { - name - enabled + `; +export const RecordExtractResultDocument = gql` + mutation RecordExtractResult($request: ExtractResultRequest!) { + recordExtractResult(request: $request) { + operations { + id + } } } `; -export const GetRegistrationInfoDocument = gql` - query GetRegistrationInfo { - species { - name - } - hmdmcs { - hmdmc - } - labwareTypes { - ...LabwareTypeFields - } - tissueTypes { - name - spatialLocations { - name - code +export const RecordOpWithSlotMeasurementsDocument = gql` + mutation RecordOpWithSlotMeasurements($request: OpWithSlotMeasurementsRequest!) { + recordOpWithSlotMeasurements(request: $request) { + operations { + id } } - fixatives { - name - } - mediums { - name - } - solutions { - name +} + `; +export const RecordPermDocument = gql` + mutation RecordPerm($request: RecordPermRequest!) { + recordPerm(request: $request) { + operations { + id + } } - slotRegions { - name +} + `; +export const RecordQcLabwareDocument = gql` + mutation RecordQCLabware($request: QCLabwareRequest!) { + recordQCLabware(request: $request) { + operations { + id + } } } - ${LabwareTypeFieldsFragmentDoc}`; -export const GetProgramsDocument = gql` - query GetPrograms { - programs { - name - enabled + `; +export const RecordProbeOperationDocument = gql` + mutation RecordProbeOperation($request: ProbeOperationRequest!) { + recordProbeOperation(request: $request) { + operations { + id + } } } `; -export const GetRecordExtractResultInfoDocument = gql` - query GetRecordExtractResultInfo { - comments(category: "extract result", includeDisabled: false) { - ...CommentFields - } -} - ${CommentFieldsFragmentDoc}`; -export const GetSectioningConfirmInfoDocument = gql` - query GetSectioningConfirmInfo { - comments(category: "section") { - ...CommentFields - } - slotRegions(includeDisabled: false) { - ...SlotRegionFields - } -} - ${CommentFieldsFragmentDoc} -${SlotRegionFieldsFragmentDoc}`; -export const GetSampleProcessingCommentsInfoDocument = gql` - query GetSampleProcessingCommentsInfo { - comments: comments(includeDisabled: false, category: "Sample Processing") { - ...CommentFields - } -} - ${CommentFieldsFragmentDoc}`; -export const GetSearchInfoDocument = gql` - query GetSearchInfo { - tissueTypes { - name +export const RecordReagentTransferDocument = gql` + mutation RecordReagentTransfer($request: ReagentTransferRequest!) { + reagentTransfer(request: $request) { + operations { + id + } } } `; -export const GetSectioningInfoDocument = gql` - query GetSectioningInfo { - labwareTypes { - ...LabwareTypeFields +export const RecordRnaAnalysisDocument = gql` + mutation RecordRNAAnalysis($request: RNAAnalysisRequest!) { + recordRNAAnalysis(request: $request) { + operations { + id + } } } - ${LabwareTypeFieldsFragmentDoc}`; -export const GetSlotRegionsDocument = gql` - query GetSlotRegions($includeDisabled: Boolean) { - slotRegions(includeDisabled: $includeDisabled) { - name - enabled + `; +export const RecordVisiumQcDocument = gql` + mutation RecordVisiumQC($request: ResultRequest!) { + recordVisiumQC(request: $request) { + operations { + id + } } } `; -export const GetStainInfoDocument = gql` - query GetStainInfo { - stainTypes { - ...StainTypeFields +export const RecordSampleProcessingCommentsDocument = gql` + mutation RecordSampleProcessingComments($request: SampleProcessingCommentRequest!) { + recordSampleProcessingComments(request: $request) { + labware { + ...LabwareFields + } + operations { + operationType { + name + } + user { + username + } + performed + } } } - ${StainTypeFieldsFragmentDoc}`; -export const GetStainingQcInfoDocument = gql` - query GetStainingQCInfo { - comments(includeDisabled: false, category: "stain QC") { - ...CommentFields + ${LabwareFieldsFragmentDoc} +${LabwareTypeFieldsFragmentDoc} +${SlotFieldsFragmentDoc} +${SampleFieldsFragmentDoc}`; +export const RecordStainResultDocument = gql` + mutation RecordStainResult($request: ResultRequest!) { + recordStainResult(request: $request) { + operations { + id + } } } - ${CommentFieldsFragmentDoc}`; -export const GetSolutionTransferInfoDocument = gql` - query GetSolutionTransferInfo { - solutions { - name + `; +export const RegisterOriginalSamplesDocument = gql` + mutation RegisterOriginalSamples($request: OriginalSampleRegisterRequest!) { + registerOriginalSamples(request: $request) { + ...RegisterResultFields } } - `; -export const GetSuggestedLabwareForWorkDocument = gql` - query GetSuggestedLabwareForWork($workNumber: String!, $forRelease: Boolean) { - suggestedLabwareForWork(workNumber: $workNumber, forRelease: $forRelease) { - ...LabwareFields + ${RegisterResultFieldsFragmentDoc} +${LabwareFieldsFragmentDoc} +${LabwareTypeFieldsFragmentDoc} +${SlotFieldsFragmentDoc} +${SampleFieldsFragmentDoc}`; +export const RegisterSectionsDocument = gql` + mutation RegisterSections($request: SectionRegisterRequest!) { + registerSections(request: $request) { + labware { + ...LabwareFields + } } } ${LabwareFieldsFragmentDoc} ${LabwareTypeFieldsFragmentDoc} ${SlotFieldsFragmentDoc} ${SampleFieldsFragmentDoc}`; -export const GetSuggestedWorkForLabwareDocument = gql` - query GetSuggestedWorkForLabware($barcodes: [String!]!, $includeInactive: Boolean) { - suggestedWorkForLabware(barcodes: $barcodes, includeInactive: $includeInactive) { - suggestedWorks { - ...SuggestedWorkFields - } +export const RegisterTissuesDocument = gql` + mutation RegisterTissues($request: RegisterRequest!) { + register(request: $request) { + ...RegisterResultFields } } - ${SuggestedWorkFieldsFragmentDoc}`; -export const GetVisiumQcInfoDocument = gql` - query GetVisiumQCInfo { - comments(includeDisabled: false, category: "Visium QC") { + ${RegisterResultFieldsFragmentDoc} +${LabwareFieldsFragmentDoc} +${LabwareTypeFieldsFragmentDoc} +${SlotFieldsFragmentDoc} +${SampleFieldsFragmentDoc}`; +export const SetCommentEnabledDocument = gql` + mutation SetCommentEnabled($commentId: Int!, $enabled: Boolean!) { + setCommentEnabled(commentId: $commentId, enabled: $enabled) { ...CommentFields } } ${CommentFieldsFragmentDoc}`; -export const GetWorkAllocationInfoDocument = gql` - query GetWorkAllocationInfo($commentCategory: String!, $workStatuses: [WorkStatus!]) { - projects(includeDisabled: false) { - ...ProjectFields - } - programs(includeDisabled: false) { - ...ProgramFields +export const ReleaseLabwareDocument = gql` + mutation ReleaseLabware($releaseRequest: ReleaseRequest!) { + release(request: $releaseRequest) { + releases { + id + labware { + barcode + } + destination { + name + } + recipient { + username + } + } } - costCodes(includeDisabled: false) { +} + `; +export const SetCostCodeEnabledDocument = gql` + mutation SetCostCodeEnabled($code: String!, $enabled: Boolean!) { + setCostCodeEnabled(code: $code, enabled: $enabled) { ...CostCodeFields } - worksWithComments(status: $workStatuses) { - ...WorkWithCommentFields - } - workTypes { - ...WorkTypeFields - } - comments(category: $commentCategory, includeDisabled: false) { - ...CommentFields - } - releaseRecipients(includeDisabled: false) { - ...ReleaseRecipientFields - } - omeroProjects(includeDisabled: false) { - ...OmeroProjectFields - } - dnapStudies(includeDisabled: false) { +} + ${CostCodeFieldsFragmentDoc}`; +export const SetDnapStudyEnabledDocument = gql` + mutation SetDnapStudyEnabled($name: String!, $enabled: Boolean!) { + setDnapStudyEnabled(name: $name, enabled: $enabled) { ...DnapStudyFields } } - ${ProjectFieldsFragmentDoc} -${ProgramFieldsFragmentDoc} -${CostCodeFieldsFragmentDoc} -${WorkWithCommentFieldsFragmentDoc} -${WorkFieldsFragmentDoc} -${ReleaseRecipientFieldsFragmentDoc} -${WorkTypeFieldsFragmentDoc} -${OmeroProjectFieldsFragmentDoc} -${DnapStudyFieldsFragmentDoc} -${CommentFieldsFragmentDoc}`; -export const GetWorkNumbersDocument = gql` - query GetWorkNumbers { - works { - workNumber + ${DnapStudyFieldsFragmentDoc}`; +export const SetDestructionReasonEnabledDocument = gql` + mutation SetDestructionReasonEnabled($text: String!, $enabled: Boolean!) { + setDestructionReasonEnabled(text: $text, enabled: $enabled) { + ...DestructionReasonFields } } - `; -export const GetReleaseInfoDocument = gql` - query GetReleaseInfo { - releaseDestinations { - ...ReleaseDestinationFields - } - releaseRecipients { - ...ReleaseRecipientFields + ${DestructionReasonFieldsFragmentDoc}`; +export const SetFixativeEnabledDocument = gql` + mutation SetFixativeEnabled($name: String!, $enabled: Boolean!) { + setFixativeEnabled(name: $name, enabled: $enabled) { + ...FixativeFields } } - ${ReleaseDestinationFieldsFragmentDoc} -${ReleaseRecipientFieldsFragmentDoc}`; -export const GetWorkProgressInputsDocument = gql` - query GetWorkProgressInputs { - workTypes(includeDisabled: true) { - name - } - programs(includeDisabled: true) { - name + ${FixativeFieldsFragmentDoc}`; +export const SetHmdmcEnabledDocument = gql` + mutation SetHmdmcEnabled($hmdmc: String!, $enabled: Boolean!) { + setHmdmcEnabled(hmdmc: $hmdmc, enabled: $enabled) { + ...HmdmcFields } - releaseRecipients(includeDisabled: true) { - username +} + ${HmdmcFieldsFragmentDoc}`; +export const SetLocationCustomNameDocument = gql` + mutation SetLocationCustomName($locationBarcode: String!, $newCustomName: String!) { + setLocationCustomName( + locationBarcode: $locationBarcode + customName: $newCustomName + ) { + ...LocationFields } } - `; -export const GetPrintersDocument = gql` - query GetPrinters { - printers { - ...PrinterFields + ${LocationFieldsFragmentDoc}`; +export const SetEquipmentEnabledDocument = gql` + mutation SetEquipmentEnabled($equipmentId: Int!, $enabled: Boolean!) { + setEquipmentEnabled(equipmentId: $equipmentId, enabled: $enabled) { + ...EquipmentFields } } - ${PrinterFieldsFragmentDoc}`; -export const GetXeniumQcInfoDocument = gql` - query GetXeniumQCInfo { - comments(includeDisabled: false, category: "QC labware") { - ...CommentFields + ${EquipmentFieldsFragmentDoc}`; +export const SetOmeroProjectEnabledDocument = gql` + mutation SetOmeroProjectEnabled($name: String!, $enabled: Boolean!) { + setOmeroProjectEnabled(name: $name, enabled: $enabled) { + ...OmeroProjectFields } } - ${CommentFieldsFragmentDoc}`; -export const GetWorkTypesDocument = gql` - query GetWorkTypes { - workTypes(includeDisabled: true) { - name - } -} - `; -export const GetWorkSummaryDocument = gql` - query GetWorkSummary { - worksSummary { - workSummaryGroups { - ...WorkSummaryGroupFields - } - workTypes { - name - } - } -} - ${WorkSummaryGroupFieldsFragmentDoc} -${WorkTypeFieldsFragmentDoc}`; -export const AddCommentDocument = gql` - mutation AddComment($category: String!, $text: String!) { - addComment(category: $category, text: $text) { - ...CommentFields - } -} - ${CommentFieldsFragmentDoc}`; -export const AddDnapStudyDocument = gql` - mutation AddDnapStudy($name: String!) { - addDnapStudy(name: $name) { - ...DnapStudyFields - } -} - ${DnapStudyFieldsFragmentDoc}`; -export const AddEquipmentDocument = gql` - mutation AddEquipment($category: String!, $name: String!) { - addEquipment(category: $category, name: $name) { - ...EquipmentFields - } -} - ${EquipmentFieldsFragmentDoc}`; -export const AddExternalIdDocument = gql` - mutation AddExternalID($request: AddExternalIDRequest!) { - addExternalID(request: $request) { - operations { - operationType { - name - } - user { - username - } - performed - } - } -} - `; -export const AddHmdmcDocument = gql` - mutation AddHmdmc($hmdmc: String!) { - addHmdmc(hmdmc: $hmdmc) { - ...HmdmcFields - } -} - ${HmdmcFieldsFragmentDoc}`; -export const AddCostCodeDocument = gql` - mutation AddCostCode($code: String!) { - addCostCode(code: $code) { - ...CostCodeFields + ${OmeroProjectFieldsFragmentDoc}`; +export const SetProbePanelEnabledDocument = gql` + mutation SetProbePanelEnabled($name: String!, $enabled: Boolean!) { + setProbePanelEnabled(name: $name, enabled: $enabled) { + ...ProbePanelFields } } - ${CostCodeFieldsFragmentDoc}`; -export const AddFixativeDocument = gql` - mutation AddFixative($name: String!) { - addFixative(name: $name) { - ...FixativeFields + ${ProbePanelFieldsFragmentDoc}`; +export const SetProgramEnabledDocument = gql` + mutation SetProgramEnabled($name: String!, $enabled: Boolean!) { + setProgramEnabled(name: $name, enabled: $enabled) { + ...ProgramFields } } - ${FixativeFieldsFragmentDoc}`; -export const AddProjectDocument = gql` - mutation AddProject($name: String!) { - addProject(name: $name) { + ${ProgramFieldsFragmentDoc}`; +export const SetProjectEnabledDocument = gql` + mutation SetProjectEnabled($name: String!, $enabled: Boolean!) { + setProjectEnabled(name: $name, enabled: $enabled) { ...ProjectFields } } ${ProjectFieldsFragmentDoc}`; -export const AddReleaseDestinationDocument = gql` - mutation AddReleaseDestination($name: String!) { - addReleaseDestination(name: $name) { +export const SetReleaseDestinationEnabledDocument = gql` + mutation SetReleaseDestinationEnabled($name: String!, $enabled: Boolean!) { + setReleaseDestinationEnabled(name: $name, enabled: $enabled) { ...ReleaseDestinationFields } } ${ReleaseDestinationFieldsFragmentDoc}`; -export const AddOmeroProjectDocument = gql` - mutation AddOmeroProject($name: String!) { - addOmeroProject(name: $name) { - ...OmeroProjectFields - } -} - ${OmeroProjectFieldsFragmentDoc}`; -export const AddProgramDocument = gql` - mutation AddProgram($name: String!) { - addProgram(name: $name) { - ...ProgramFields +export const SetReleaseRecipientEnabledDocument = gql` + mutation SetReleaseRecipientEnabled($username: String!, $enabled: Boolean!) { + setReleaseRecipientEnabled(username: $username, enabled: $enabled) { + ...ReleaseRecipientFields } } - ${ProgramFieldsFragmentDoc}`; -export const AddSlotRegionDocument = gql` - mutation AddSlotRegion($name: String!) { - addSlotRegion(name: $name) { + ${ReleaseRecipientFieldsFragmentDoc}`; +export const SetSlotRegionEnabledDocument = gql` + mutation SetSlotRegionEnabled($name: String!, $enabled: Boolean!) { + setSlotRegionEnabled(name: $name, enabled: $enabled) { ...SlotRegionFields } } ${SlotRegionFieldsFragmentDoc}`; -export const AddSpeciesDocument = gql` - mutation AddSpecies($name: String!) { - addSpecies(name: $name) { +export const SetSolutionEnabledDocument = gql` + mutation SetSolutionEnabled($name: String!, $enabled: Boolean!) { + setSolutionEnabled(name: $name, enabled: $enabled) { + ...SolutionFields + } +} + ${SolutionFieldsFragmentDoc}`; +export const SetSpeciesEnabledDocument = gql` + mutation SetSpeciesEnabled($name: String!, $enabled: Boolean!) { + setSpeciesEnabled(name: $name, enabled: $enabled) { ...SpeciesFields } } ${SpeciesFieldsFragmentDoc}`; -export const AddUserDocument = gql` - mutation AddUser($username: String!) { - addUser(username: $username) { +export const SetUserRoleDocument = gql` + mutation SetUserRole($username: String!, $role: UserRole!) { + setUserRole(username: $username, role: $role) { ...UserFields } } ${UserFieldsFragmentDoc}`; -export const AddWorkTypeDocument = gql` - mutation AddWorkType($name: String!) { - addWorkType(name: $name) { +export const SetWorkTypeEnabledDocument = gql` + mutation SetWorkTypeEnabled($name: String!, $enabled: Boolean!) { + setWorkTypeEnabled(name: $name, enabled: $enabled) { ...WorkTypeFields } } ${WorkTypeFieldsFragmentDoc}`; -export const AddReleaseRecipientDocument = gql` - mutation AddReleaseRecipient($username: String!, $fullName: String) { - addReleaseRecipient(username: $username, fullName: $fullName) { - ...ReleaseRecipientFields - } -} - ${ReleaseRecipientFieldsFragmentDoc}`; -export const AddProbePanelDocument = gql` - mutation AddProbePanel($name: String!) { - addProbePanel(name: $name) { - ...ProbePanelFields - } -} - ${ProbePanelFieldsFragmentDoc}`; -export const AliquotDocument = gql` - mutation Aliquot($request: AliquotRequest!) { - aliquot(request: $request) { +export const SlotCopyDocument = gql` + mutation SlotCopy($request: SlotCopyRequest!) { + slotCopy(request: $request) { labware { ...LabwareFields } - operations { - operationType { - name - } - actions { - sample { - id - } - source { - address - labwareId - samples { - id - } - } - destination { - address - labwareId - } - } - } } } ${LabwareFieldsFragmentDoc} ${LabwareTypeFieldsFragmentDoc} ${SlotFieldsFragmentDoc} ${SampleFieldsFragmentDoc}`; -export const ConfirmDocument = gql` - mutation Confirm($request: ConfirmOperationRequest!) { - confirmOperation(request: $request) { - labware { - ...LabwareFields - } +export const StainDocument = gql` + mutation Stain($request: StainRequest!) { + stain(request: $request) { operations { - operationType { - name - } - user { - username - } - performed + id } } } - ${LabwareFieldsFragmentDoc} -${LabwareTypeFieldsFragmentDoc} -${SlotFieldsFragmentDoc} -${SampleFieldsFragmentDoc}`; -export const AddSolutionDocument = gql` - mutation AddSolution($name: String!) { - addSolution(name: $name) { - ...SolutionFields + `; +export const StoreDocument = gql` + mutation Store($store: [StoreInput!]!, $locationBarcode: String!) { + store(store: $store, locationBarcode: $locationBarcode) { + ...LocationFields } } - ${SolutionFieldsFragmentDoc}`; -export const DestroyDocument = gql` - mutation Destroy($request: DestroyRequest!) { - destroy(request: $request) { - destructions { - labware { - barcode - } + ${LocationFieldsFragmentDoc}`; +export const StoreBarcodeDocument = gql` + mutation StoreBarcode($barcode: String!, $locationBarcode: String!, $address: Address) { + storeBarcode( + barcode: $barcode + locationBarcode: $locationBarcode + address: $address + ) { + location { + ...LocationFields } } } - `; -export const EmptyLocationDocument = gql` - mutation EmptyLocation($barcode: String!) { - empty(locationBarcode: $barcode) { - numUnstored + ${LocationFieldsFragmentDoc}`; +export const TransferLocationItemsDocument = gql` + mutation TransferLocationItems($sourceBarcode: String!, $destinationBarcode: String!) { + transfer(sourceBarcode: $sourceBarcode, destinationBarcode: $destinationBarcode) { + ...LocationFields } } - `; -export const ConfirmSectionDocument = gql` - mutation ConfirmSection($request: ConfirmSectionRequest!) { - confirmSection(request: $request) { - labware { - ...LabwareFields - } + ${LocationFieldsFragmentDoc}`; +export const UnreleaseDocument = gql` + mutation Unrelease($request: UnreleaseRequest!) { + unrelease(request: $request) { operations { - operationType { - name - } - user { - username - } - performed + id } } } - ${LabwareFieldsFragmentDoc} -${LabwareTypeFieldsFragmentDoc} -${SlotFieldsFragmentDoc} -${SampleFieldsFragmentDoc}`; -export const ExtractDocument = gql` - mutation Extract($request: ExtractRequest!) { - extract(request: $request) { - labware { - ...LabwareFields - } - operations { - operationType { - name - } - actions { - sample { - id - } - source { - address - labwareId - samples { - id - } - } - destination { - address - labwareId - } - } - } + `; +export const UnstoreBarcodeDocument = gql` + mutation UnstoreBarcode($barcode: String!) { + unstoreBarcode(barcode: $barcode) { + barcode + address } -} - ${LabwareFieldsFragmentDoc} -${LabwareTypeFieldsFragmentDoc} -${SlotFieldsFragmentDoc} -${SampleFieldsFragmentDoc}`; -export const LogoutDocument = gql` - mutation Logout { - logout } `; -export const PerformFfpeProcessingDocument = gql` - mutation PerformFFPEProcessing($request: FFPEProcessingRequest!) { - performFFPEProcessing(request: $request) { - labware { - ...LabwareFields - } - operations { - operationType { - name - } - user { - username - } - performed - } +export const UpdateReleaseRecipientFullNameDocument = gql` + mutation UpdateReleaseRecipientFullName($username: String!, $fullName: String) { + updateReleaseRecipientFullName(username: $username, fullName: $fullName) { + ...ReleaseRecipientFields } } - ${LabwareFieldsFragmentDoc} -${LabwareTypeFieldsFragmentDoc} -${SlotFieldsFragmentDoc} -${SampleFieldsFragmentDoc}`; -export const PerformSolutionTransferDocument = gql` - mutation PerformSolutionTransfer($request: SolutionTransferRequest!) { - performSolutionTransfer(request: $request) { - labware { - ...LabwareFields - } - operations { - operationType { - name - } - user { - username - } - performed - } + ${ReleaseRecipientFieldsFragmentDoc}`; +export const UpdateWorkDnapProjectDocument = gql` + mutation UpdateWorkDnapProject($workNumber: String!, $dnapStudy: String) { + updateWorkDnapProject(workNumber: $workNumber, dnapStudy: $dnapStudy) { + ...WorkFields } } - ${LabwareFieldsFragmentDoc} -${LabwareTypeFieldsFragmentDoc} -${SlotFieldsFragmentDoc} -${SampleFieldsFragmentDoc}`; -export const PerformTissueBlockDocument = gql` - mutation PerformTissueBlock($request: TissueBlockRequest!) { - performTissueBlock(request: $request) { - labware { - ...LabwareFields - } - operations { - operationType { - name - } - user { - username - } - performed - } + ${WorkFieldsFragmentDoc} +${ReleaseRecipientFieldsFragmentDoc} +${ProjectFieldsFragmentDoc} +${ProgramFieldsFragmentDoc} +${CostCodeFieldsFragmentDoc} +${WorkTypeFieldsFragmentDoc} +${OmeroProjectFieldsFragmentDoc} +${DnapStudyFieldsFragmentDoc}`; +export const UpdateWorkNumBlocksDocument = gql` + mutation UpdateWorkNumBlocks($workNumber: String!, $numBlocks: Int) { + updateWorkNumBlocks(workNumber: $workNumber, numBlocks: $numBlocks) { + ...WorkFields } } - ${LabwareFieldsFragmentDoc} -${LabwareTypeFieldsFragmentDoc} -${SlotFieldsFragmentDoc} -${SampleFieldsFragmentDoc}`; -export const PerformTissuePotDocument = gql` - mutation PerformTissuePot($request: PotProcessingRequest!) { - performPotProcessing(request: $request) { - labware { - ...LabwareFields - } - operations { - operationType { - name - } - user { - username - } - performed - } + ${WorkFieldsFragmentDoc} +${ReleaseRecipientFieldsFragmentDoc} +${ProjectFieldsFragmentDoc} +${ProgramFieldsFragmentDoc} +${CostCodeFieldsFragmentDoc} +${WorkTypeFieldsFragmentDoc} +${OmeroProjectFieldsFragmentDoc} +${DnapStudyFieldsFragmentDoc}`; +export const UpdateWorkNumOriginalSamplesDocument = gql` + mutation UpdateWorkNumOriginalSamples($workNumber: String!, $numOriginalSamples: Int) { + updateWorkNumOriginalSamples( + workNumber: $workNumber + numOriginalSamples: $numOriginalSamples + ) { + ...WorkFields } } - ${LabwareFieldsFragmentDoc} -${LabwareTypeFieldsFragmentDoc} -${SlotFieldsFragmentDoc} -${SampleFieldsFragmentDoc}`; -export const PlanDocument = gql` - mutation Plan($request: PlanRequest!) { - plan(request: $request) { - labware { - ...LabwareFields - } - operations { - operationType { - name - } - planActions { - ...PlanActionFields - } - } + ${WorkFieldsFragmentDoc} +${ReleaseRecipientFieldsFragmentDoc} +${ProjectFieldsFragmentDoc} +${ProgramFieldsFragmentDoc} +${CostCodeFieldsFragmentDoc} +${WorkTypeFieldsFragmentDoc} +${OmeroProjectFieldsFragmentDoc} +${DnapStudyFieldsFragmentDoc}`; +export const UpdateWorkNumSlidesDocument = gql` + mutation UpdateWorkNumSlides($workNumber: String!, $numSlides: Int) { + updateWorkNumSlides(workNumber: $workNumber, numSlides: $numSlides) { + ...WorkFields } } - ${LabwareFieldsFragmentDoc} -${LabwareTypeFieldsFragmentDoc} -${SlotFieldsFragmentDoc} -${SampleFieldsFragmentDoc} -${PlanActionFieldsFragmentDoc}`; -export const PrintDocument = gql` - mutation Print($barcodes: [String!]!, $printer: String!) { - printLabware(barcodes: $barcodes, printer: $printer) -} - `; -export const CreateWorkDocument = gql` - mutation CreateWork($prefix: String!, $workType: String!, $workRequester: String!, $project: String!, $program: String!, $costCode: String!, $numBlocks: Int, $numSlides: Int, $numOriginalSamples: Int, $omeroProject: String, $dnapStudy: String) { - createWork( - prefix: $prefix - workType: $workType - workRequester: $workRequester - project: $project - program: $program - costCode: $costCode - numBlocks: $numBlocks - numSlides: $numSlides - numOriginalSamples: $numOriginalSamples - omeroProject: $omeroProject - dnapStudy: $dnapStudy - ) { + ${WorkFieldsFragmentDoc} +${ReleaseRecipientFieldsFragmentDoc} +${ProjectFieldsFragmentDoc} +${ProgramFieldsFragmentDoc} +${CostCodeFieldsFragmentDoc} +${WorkTypeFieldsFragmentDoc} +${OmeroProjectFieldsFragmentDoc} +${DnapStudyFieldsFragmentDoc}`; +export const UpdateWorkOmeroProjectDocument = gql` + mutation UpdateWorkOmeroProject($workNumber: String!, $omeroProject: String) { + updateWorkOmeroProject(workNumber: $workNumber, omeroProject: $omeroProject) { ...WorkFields } } @@ -6159,443 +5920,359 @@ ${CostCodeFieldsFragmentDoc} ${WorkTypeFieldsFragmentDoc} ${OmeroProjectFieldsFragmentDoc} ${DnapStudyFieldsFragmentDoc}`; -export const RecordComplexStainDocument = gql` - mutation RecordComplexStain($request: ComplexStainRequest!) { - recordComplexStain(request: $request) { - operations { - id - } +export const UpdateWorkPriorityDocument = gql` + mutation UpdateWorkPriority($workNumber: String!, $priority: String) { + updateWorkPriority(workNumber: $workNumber, priority: $priority) { + ...WorkFields } } - `; -export const RecordExtractResultDocument = gql` - mutation RecordExtractResult($request: ExtractResultRequest!) { - recordExtractResult(request: $request) { + ${WorkFieldsFragmentDoc} +${ReleaseRecipientFieldsFragmentDoc} +${ProjectFieldsFragmentDoc} +${ProgramFieldsFragmentDoc} +${CostCodeFieldsFragmentDoc} +${WorkTypeFieldsFragmentDoc} +${OmeroProjectFieldsFragmentDoc} +${DnapStudyFieldsFragmentDoc}`; +export const VisiumAnalysisDocument = gql` + mutation VisiumAnalysis($request: VisiumAnalysisRequest!) { + visiumAnalysis(request: $request) { operations { id } } } `; -export const RecordAnalyserDocument = gql` - mutation RecordAnalyser($request: AnalyserRequest!) { - recordAnalyser(request: $request) { - operations { - id - } - } -} - `; -export const RecordInPlaceDocument = gql` - mutation RecordInPlace($request: InPlaceOpRequest!) { - recordInPlace(request: $request) { - labware { - ...LabwareFields - } - } -} - ${LabwareFieldsFragmentDoc} -${LabwareTypeFieldsFragmentDoc} -${SlotFieldsFragmentDoc} -${SampleFieldsFragmentDoc}`; -export const RecordOpWithSlotMeasurementsDocument = gql` - mutation RecordOpWithSlotMeasurements($request: OpWithSlotMeasurementsRequest!) { - recordOpWithSlotMeasurements(request: $request) { - operations { - id - } +export const UpdateWorkStatusDocument = gql` + mutation UpdateWorkStatus($workNumber: String!, $status: WorkStatus!, $commentId: Int) { + updateWorkStatus( + workNumber: $workNumber + status: $status + commentId: $commentId + ) { + ...WorkWithCommentFields } } - `; -export const RecordPermDocument = gql` - mutation RecordPerm($request: RecordPermRequest!) { - recordPerm(request: $request) { - operations { - id + ${WorkWithCommentFieldsFragmentDoc} +${WorkFieldsFragmentDoc} +${ReleaseRecipientFieldsFragmentDoc} +${ProjectFieldsFragmentDoc} +${ProgramFieldsFragmentDoc} +${CostCodeFieldsFragmentDoc} +${WorkTypeFieldsFragmentDoc} +${OmeroProjectFieldsFragmentDoc} +${DnapStudyFieldsFragmentDoc}`; +export const FindDocument = gql` + query Find($request: FindRequest!) { + find(request: $request) { + numRecords + entries { + labwareId + sampleId + workNumbers } - } -} - `; -export const RecordOpWithSlotCommentsDocument = gql` - mutation RecordOpWithSlotComments($request: OpWithSlotCommentsRequest!) { - recordOpWithSlotComments(request: $request) { - operations { + samples { id + section + tissue { + replicate + spatialLocation { + tissueType { + name + } + } + externalName + donor { + donorName + } + medium { + name + } + } } - } -} - `; -export const RecordProbeOperationDocument = gql` - mutation RecordProbeOperation($request: ProbeOperationRequest!) { - recordProbeOperation(request: $request) { - operations { + labware { id + barcode + created + labwareType { + name + } } - } -} - `; -export const RecordReagentTransferDocument = gql` - mutation RecordReagentTransfer($request: ReagentTransferRequest!) { - reagentTransfer(request: $request) { - operations { + locations { id + barcode + customName + fixedName + direction + size { + numRows + numColumns + } + qualifiedNameWithFirstBarcode } - } -} - `; -export const RecordCompletionDocument = gql` - mutation RecordCompletion($request: CompletionRequest!) { - recordCompletion(request: $request) { - operations { - id + labwareLocations { + labwareId + locationId + address } } } `; -export const RecordRnaAnalysisDocument = gql` - mutation RecordRNAAnalysis($request: RNAAnalysisRequest!) { - recordRNAAnalysis(request: $request) { - operations { - id - } +export const CurrentUserDocument = gql` + query CurrentUser { + user { + ...UserFields } } - `; -export const RecordSampleProcessingCommentsDocument = gql` - mutation RecordSampleProcessingComments($request: SampleProcessingCommentRequest!) { - recordSampleProcessingComments(request: $request) { + ${UserFieldsFragmentDoc}`; +export const ExtractResultDocument = gql` + query ExtractResult($barcode: String!) { + extractResult(barcode: $barcode) { + result + concentration labware { ...LabwareFields } - operations { - operationType { - name - } - user { - username - } - performed - } } } ${LabwareFieldsFragmentDoc} ${LabwareTypeFieldsFragmentDoc} ${SlotFieldsFragmentDoc} ${SampleFieldsFragmentDoc}`; -export const RecordStainResultDocument = gql` - mutation RecordStainResult($request: ResultRequest!) { - recordStainResult(request: $request) { - operations { - id - } - } -} - `; -export const RecordVisiumQcDocument = gql` - mutation RecordVisiumQC($request: ResultRequest!) { - recordVisiumQC(request: $request) { - operations { - id - } +export const FindFilesDocument = gql` + query FindFiles($workNumbers: [String!]!) { + listFiles(workNumbers: $workNumbers) { + ...FileFields } } - `; -export const RegisterOriginalSamplesDocument = gql` - mutation RegisterOriginalSamples($request: OriginalSampleRegisterRequest!) { - registerOriginalSamples(request: $request) { - ...RegisterResultFields + ${FileFieldsFragmentDoc}`; +export const FindHistoryForDonorNameDocument = gql` + query FindHistoryForDonorName($donorName: String!) { + historyForDonorName(donorName: $donorName) { + ...HistoryFields } } - ${RegisterResultFieldsFragmentDoc} + ${HistoryFieldsFragmentDoc} ${LabwareFieldsFragmentDoc} ${LabwareTypeFieldsFragmentDoc} ${SlotFieldsFragmentDoc} -${SampleFieldsFragmentDoc}`; -export const RegisterSectionsDocument = gql` - mutation RegisterSections($request: SectionRegisterRequest!) { - registerSections(request: $request) { - labware { - ...LabwareFields - } +${SampleFieldsFragmentDoc} +${HistoryEntryFieldsFragmentDoc} +${SamplePositionFieldsFragmentDoc}`; +export const FindHistoryDocument = gql` + query FindHistory($workNumber: String, $barcode: String, $donorName: String, $externalName: String) { + history( + workNumber: $workNumber + barcode: $barcode + donorName: $donorName + externalName: $externalName + ) { + ...HistoryFields } } - ${LabwareFieldsFragmentDoc} + ${HistoryFieldsFragmentDoc} +${LabwareFieldsFragmentDoc} ${LabwareTypeFieldsFragmentDoc} ${SlotFieldsFragmentDoc} -${SampleFieldsFragmentDoc}`; -export const SetCommentEnabledDocument = gql` - mutation SetCommentEnabled($commentId: Int!, $enabled: Boolean!) { - setCommentEnabled(commentId: $commentId, enabled: $enabled) { - ...CommentFields - } -} - ${CommentFieldsFragmentDoc}`; -export const ReleaseLabwareDocument = gql` - mutation ReleaseLabware($releaseRequest: ReleaseRequest!) { - release(request: $releaseRequest) { - releases { - id - labware { - barcode - } - destination { - name - } - recipient { - username - } - } - } -} - `; -export const RecordQcLabwareDocument = gql` - mutation RecordQCLabware($request: QCLabwareRequest!) { - recordQCLabware(request: $request) { - operations { - id - } - } -} - `; -export const RegisterTissuesDocument = gql` - mutation RegisterTissues($request: RegisterRequest!) { - register(request: $request) { - ...RegisterResultFields +${SampleFieldsFragmentDoc} +${HistoryEntryFieldsFragmentDoc} +${SamplePositionFieldsFragmentDoc}`; +export const FindHistoryForExternalNameDocument = gql` + query FindHistoryForExternalName($externalName: String!) { + historyForExternalName(externalName: $externalName) { + ...HistoryFields } } - ${RegisterResultFieldsFragmentDoc} + ${HistoryFieldsFragmentDoc} ${LabwareFieldsFragmentDoc} ${LabwareTypeFieldsFragmentDoc} ${SlotFieldsFragmentDoc} -${SampleFieldsFragmentDoc}`; -export const SetCostCodeEnabledDocument = gql` - mutation SetCostCodeEnabled($code: String!, $enabled: Boolean!) { - setCostCodeEnabled(code: $code, enabled: $enabled) { - ...CostCodeFields +${SampleFieldsFragmentDoc} +${HistoryEntryFieldsFragmentDoc} +${SamplePositionFieldsFragmentDoc}`; +export const FindHistoryForLabwareBarcodeDocument = gql` + query FindHistoryForLabwareBarcode($barcode: String!) { + historyForLabwareBarcode(barcode: $barcode) { + ...HistoryFields } } - ${CostCodeFieldsFragmentDoc}`; -export const SetDestructionReasonEnabledDocument = gql` - mutation SetDestructionReasonEnabled($text: String!, $enabled: Boolean!) { - setDestructionReasonEnabled(text: $text, enabled: $enabled) { - ...DestructionReasonFields - } -} - ${DestructionReasonFieldsFragmentDoc}`; -export const SetEquipmentEnabledDocument = gql` - mutation SetEquipmentEnabled($equipmentId: Int!, $enabled: Boolean!) { - setEquipmentEnabled(equipmentId: $equipmentId, enabled: $enabled) { - ...EquipmentFields - } -} - ${EquipmentFieldsFragmentDoc}`; -export const SetLocationCustomNameDocument = gql` - mutation SetLocationCustomName($locationBarcode: String!, $newCustomName: String!) { - setLocationCustomName( - locationBarcode: $locationBarcode - customName: $newCustomName - ) { - ...LocationFields - } -} - ${LocationFieldsFragmentDoc}`; -export const SetHmdmcEnabledDocument = gql` - mutation SetHmdmcEnabled($hmdmc: String!, $enabled: Boolean!) { - setHmdmcEnabled(hmdmc: $hmdmc, enabled: $enabled) { - ...HmdmcFields - } -} - ${HmdmcFieldsFragmentDoc}`; -export const SetOmeroProjectEnabledDocument = gql` - mutation SetOmeroProjectEnabled($name: String!, $enabled: Boolean!) { - setOmeroProjectEnabled(name: $name, enabled: $enabled) { - ...OmeroProjectFields - } -} - ${OmeroProjectFieldsFragmentDoc}`; -export const SetProgramEnabledDocument = gql` - mutation SetProgramEnabled($name: String!, $enabled: Boolean!) { - setProgramEnabled(name: $name, enabled: $enabled) { - ...ProgramFields - } -} - ${ProgramFieldsFragmentDoc}`; -export const SetProjectEnabledDocument = gql` - mutation SetProjectEnabled($name: String!, $enabled: Boolean!) { - setProjectEnabled(name: $name, enabled: $enabled) { - ...ProjectFields - } -} - ${ProjectFieldsFragmentDoc}`; -export const SetFixativeEnabledDocument = gql` - mutation SetFixativeEnabled($name: String!, $enabled: Boolean!) { - setFixativeEnabled(name: $name, enabled: $enabled) { - ...FixativeFields - } -} - ${FixativeFieldsFragmentDoc}`; -export const SetReleaseDestinationEnabledDocument = gql` - mutation SetReleaseDestinationEnabled($name: String!, $enabled: Boolean!) { - setReleaseDestinationEnabled(name: $name, enabled: $enabled) { - ...ReleaseDestinationFields - } -} - ${ReleaseDestinationFieldsFragmentDoc}`; -export const SetProbePanelEnabledDocument = gql` - mutation SetProbePanelEnabled($name: String!, $enabled: Boolean!) { - setProbePanelEnabled(name: $name, enabled: $enabled) { - ...ProbePanelFields - } -} - ${ProbePanelFieldsFragmentDoc}`; -export const SetSlotRegionEnabledDocument = gql` - mutation SetSlotRegionEnabled($name: String!, $enabled: Boolean!) { - setSlotRegionEnabled(name: $name, enabled: $enabled) { - ...SlotRegionFields - } -} - ${SlotRegionFieldsFragmentDoc}`; -export const SetReleaseRecipientEnabledDocument = gql` - mutation SetReleaseRecipientEnabled($username: String!, $enabled: Boolean!) { - setReleaseRecipientEnabled(username: $username, enabled: $enabled) { - ...ReleaseRecipientFields - } -} - ${ReleaseRecipientFieldsFragmentDoc}`; -export const SetSolutionEnabledDocument = gql` - mutation SetSolutionEnabled($name: String!, $enabled: Boolean!) { - setSolutionEnabled(name: $name, enabled: $enabled) { - ...SolutionFields + ${HistoryFieldsFragmentDoc} +${LabwareFieldsFragmentDoc} +${LabwareTypeFieldsFragmentDoc} +${SlotFieldsFragmentDoc} +${SampleFieldsFragmentDoc} +${HistoryEntryFieldsFragmentDoc} +${SamplePositionFieldsFragmentDoc}`; +export const FindHistoryForSampleIdDocument = gql` + query FindHistoryForSampleId($sampleId: Int!) { + historyForSampleId(sampleId: $sampleId) { + ...HistoryFields } } - ${SolutionFieldsFragmentDoc}`; -export const SetSpeciesEnabledDocument = gql` - mutation SetSpeciesEnabled($name: String!, $enabled: Boolean!) { - setSpeciesEnabled(name: $name, enabled: $enabled) { - ...SpeciesFields + ${HistoryFieldsFragmentDoc} +${LabwareFieldsFragmentDoc} +${LabwareTypeFieldsFragmentDoc} +${SlotFieldsFragmentDoc} +${SampleFieldsFragmentDoc} +${HistoryEntryFieldsFragmentDoc} +${SamplePositionFieldsFragmentDoc}`; +export const FindLabwareLocationDocument = gql` + query FindLabwareLocation($barcodes: [String!]!) { + stored(barcodes: $barcodes) { + location { + barcode + } } } - ${SpeciesFieldsFragmentDoc}`; -export const SetUserRoleDocument = gql` - mutation SetUserRole($username: String!, $role: UserRole!) { - setUserRole(username: $username, role: $role) { - ...UserFields + `; +export const FindHistoryForWorkNumberDocument = gql` + query FindHistoryForWorkNumber($workNumber: String!) { + historyForWorkNumber(workNumber: $workNumber) { + ...HistoryFields } } - ${UserFieldsFragmentDoc}`; -export const SetWorkTypeEnabledDocument = gql` - mutation SetWorkTypeEnabled($name: String!, $enabled: Boolean!) { - setWorkTypeEnabled(name: $name, enabled: $enabled) { - ...WorkTypeFields + ${HistoryFieldsFragmentDoc} +${LabwareFieldsFragmentDoc} +${LabwareTypeFieldsFragmentDoc} +${SlotFieldsFragmentDoc} +${SampleFieldsFragmentDoc} +${HistoryEntryFieldsFragmentDoc} +${SamplePositionFieldsFragmentDoc}`; +export const FindLatestOperationDocument = gql` + query FindLatestOperation($barcode: String!, $operationType: String!) { + findLatestOp(barcode: $barcode, operationType: $operationType) { + id } } - ${WorkTypeFieldsFragmentDoc}`; -export const SetDnapStudyEnabledDocument = gql` - mutation SetDnapStudyEnabled($name: String!, $enabled: Boolean!) { - setDnapStudyEnabled(name: $name, enabled: $enabled) { - ...DnapStudyFields + `; +export const FindLabwareDocument = gql` + query FindLabware($barcode: String!) { + labware(barcode: $barcode) { + ...LabwareFields } } - ${DnapStudyFieldsFragmentDoc}`; -export const SlotCopyDocument = gql` - mutation SlotCopy($request: SlotCopyRequest!) { - slotCopy(request: $request) { + ${LabwareFieldsFragmentDoc} +${LabwareTypeFieldsFragmentDoc} +${SlotFieldsFragmentDoc} +${SampleFieldsFragmentDoc}`; +export const FindPermDataDocument = gql` + query FindPermData($barcode: String!) { + visiumPermData(barcode: $barcode) { labware { ...LabwareFields } + addressPermData { + address + controlType + seconds + selected + } + samplePositionResults { + ...SamplePositionFields + } } } ${LabwareFieldsFragmentDoc} ${LabwareTypeFieldsFragmentDoc} ${SlotFieldsFragmentDoc} -${SampleFieldsFragmentDoc}`; -export const StoreDocument = gql` - mutation Store($store: [StoreInput!]!, $locationBarcode: String!) { - store(store: $store, locationBarcode: $locationBarcode) { +${SampleFieldsFragmentDoc} +${SamplePositionFieldsFragmentDoc}`; +export const FindLocationByBarcodeDocument = gql` + query FindLocationByBarcode($barcode: String!) { + location(locationBarcode: $barcode) { ...LocationFields } } ${LocationFieldsFragmentDoc}`; -export const StainDocument = gql` - mutation Stain($request: StainRequest!) { - stain(request: $request) { - operations { - id +export const FindPlanDataDocument = gql` + query FindPlanData($barcode: String!) { + planData(barcode: $barcode) { + sources { + ...LabwareFields + } + destination { + ...LabwareFields + } + plan { + operationType { + name + } + planActions { + ...PlanActionFields + } } } } - `; -export const UnreleaseDocument = gql` - mutation Unrelease($request: UnreleaseRequest!) { - unrelease(request: $request) { - operations { - id + ${LabwareFieldsFragmentDoc} +${LabwareTypeFieldsFragmentDoc} +${SlotFieldsFragmentDoc} +${SampleFieldsFragmentDoc} +${PlanActionFieldsFragmentDoc}`; +export const FindPassFailsDocument = gql` + query FindPassFails($barcode: String!, $operationType: String!) { + passFails(barcode: $barcode, operationType: $operationType) { + operation { + ...OperationFields + } + slotPassFails { + ...SlotPassFailFields } } } - `; -export const TransferLocationItemsDocument = gql` - mutation TransferLocationItems($sourceBarcode: String!, $destinationBarcode: String!) { - transfer(sourceBarcode: $sourceBarcode, destinationBarcode: $destinationBarcode) { - ...LocationFields + ${OperationFieldsFragmentDoc} +${ActionFieldsFragmentDoc} +${SlotFieldsFragmentDoc} +${SampleFieldsFragmentDoc} +${UserFieldsFragmentDoc} +${SlotPassFailFieldsFragmentDoc}`; +export const FindSamplePositionsDocument = gql` + query FindSamplePositions($labwareBarcode: String!) { + samplePositions(labwareBarcode: $labwareBarcode) { + ...SamplePositionFields } } - ${LocationFieldsFragmentDoc}`; -export const UnstoreBarcodeDocument = gql` - mutation UnstoreBarcode($barcode: String!) { - unstoreBarcode(barcode: $barcode) { + ${SamplePositionFieldsFragmentDoc}`; +export const FindReagentPlateDocument = gql` + query FindReagentPlate($barcode: String!) { + reagentPlate(barcode: $barcode) { barcode - address + slots { + ...ReagentSlotFields + } + plateType } } - `; -export const UpdateWorkDnapProjectDocument = gql` - mutation UpdateWorkDnapProject($workNumber: String!, $dnapStudy: String) { - updateWorkDnapProject(workNumber: $workNumber, dnapStudy: $dnapStudy) { - ...WorkFields + ${ReagentSlotFieldsFragmentDoc}`; +export const FindStoragePathDocument = gql` + query FindStoragePath($locationBarcode: String!) { + storagePath(locationBarcode: $locationBarcode) { + ...LinkedLocationFields } } - ${WorkFieldsFragmentDoc} -${ReleaseRecipientFieldsFragmentDoc} -${ProjectFieldsFragmentDoc} -${ProgramFieldsFragmentDoc} -${CostCodeFieldsFragmentDoc} -${WorkTypeFieldsFragmentDoc} -${OmeroProjectFieldsFragmentDoc} -${DnapStudyFieldsFragmentDoc}`; -export const UpdateWorkNumBlocksDocument = gql` - mutation UpdateWorkNumBlocks($workNumber: String!, $numBlocks: Int) { - updateWorkNumBlocks(workNumber: $workNumber, numBlocks: $numBlocks) { - ...WorkFields + ${LinkedLocationFieldsFragmentDoc}`; +export const FindWorkInfoDocument = gql` + query FindWorkInfo($status: WorkStatus!) { + works(status: [$status]) { + workNumber + workRequester { + username + } + project { + name + } } } - ${WorkFieldsFragmentDoc} -${ReleaseRecipientFieldsFragmentDoc} -${ProjectFieldsFragmentDoc} -${ProgramFieldsFragmentDoc} -${CostCodeFieldsFragmentDoc} -${WorkTypeFieldsFragmentDoc} -${OmeroProjectFieldsFragmentDoc} -${DnapStudyFieldsFragmentDoc}`; -export const StoreBarcodeDocument = gql` - mutation StoreBarcode($barcode: String!, $locationBarcode: String!, $address: Address) { - storeBarcode( - barcode: $barcode - locationBarcode: $locationBarcode - address: $address - ) { - location { - ...LocationFields - } + `; +export const FindWorkNumbersDocument = gql` + query FindWorkNumbers($status: WorkStatus!) { + works(status: [$status]) { + workNumber } } - ${LocationFieldsFragmentDoc}`; -export const UpdateWorkNumOriginalSamplesDocument = gql` - mutation UpdateWorkNumOriginalSamples($workNumber: String!, $numOriginalSamples: Int) { - updateWorkNumOriginalSamples( - workNumber: $workNumber - numOriginalSamples: $numOriginalSamples - ) { + `; +export const FindWorksCreatedByDocument = gql` + query FindWorksCreatedBy($username: String!) { + worksCreatedBy(username: $username) { ...WorkFields } } @@ -6607,307 +6284,504 @@ ${CostCodeFieldsFragmentDoc} ${WorkTypeFieldsFragmentDoc} ${OmeroProjectFieldsFragmentDoc} ${DnapStudyFieldsFragmentDoc}`; -export const UpdateWorkNumSlidesDocument = gql` - mutation UpdateWorkNumSlides($workNumber: String!, $numSlides: Int) { - updateWorkNumSlides(workNumber: $workNumber, numSlides: $numSlides) { - ...WorkFields +export const FindWorkProgressDocument = gql` + query FindWorkProgress($workNumber: String, $workTypes: [String!], $programs: [String!], $statuses: [WorkStatus!], $requesters: [String!]) { + workProgress( + workNumber: $workNumber + workTypes: $workTypes + programs: $programs + statuses: $statuses + requesters: $requesters + ) { + ...WorkProgressFields } } - ${WorkFieldsFragmentDoc} + ${WorkProgressFieldsFragmentDoc} +${WorkFieldsFragmentDoc} ${ReleaseRecipientFieldsFragmentDoc} ${ProjectFieldsFragmentDoc} ${ProgramFieldsFragmentDoc} ${CostCodeFieldsFragmentDoc} ${WorkTypeFieldsFragmentDoc} ${OmeroProjectFieldsFragmentDoc} -${DnapStudyFieldsFragmentDoc}`; -export const UpdateWorkPriorityDocument = gql` - mutation UpdateWorkPriority($workNumber: String!, $priority: String) { - updateWorkPriority(workNumber: $workNumber, priority: $priority) { - ...WorkFields +${DnapStudyFieldsFragmentDoc} +${WorkProgressTimeStampFieldFragmentDoc}`; +export const GetAllWorkInfoDocument = gql` + query GetAllWorkInfo { + works { + workNumber + workRequester { + username + } + project { + name + } + status } } - ${WorkFieldsFragmentDoc} -${ReleaseRecipientFieldsFragmentDoc} -${ProjectFieldsFragmentDoc} -${ProgramFieldsFragmentDoc} -${CostCodeFieldsFragmentDoc} -${WorkTypeFieldsFragmentDoc} -${OmeroProjectFieldsFragmentDoc} -${DnapStudyFieldsFragmentDoc}`; -export const UpdateWorkOmeroProjectDocument = gql` - mutation UpdateWorkOmeroProject($workNumber: String!, $omeroProject: String) { - updateWorkOmeroProject(workNumber: $workNumber, omeroProject: $omeroProject) { - ...WorkFields + `; +export const GetBlockProcessingInfoDocument = gql` + query GetBlockProcessingInfo { + mediums { + name + } + comments(includeDisabled: false, category: "Sample Processing") { + ...CommentFields + } + labwareTypes { + ...LabwareTypeFields } } - ${WorkFieldsFragmentDoc} -${ReleaseRecipientFieldsFragmentDoc} -${ProjectFieldsFragmentDoc} -${ProgramFieldsFragmentDoc} -${CostCodeFieldsFragmentDoc} -${WorkTypeFieldsFragmentDoc} -${OmeroProjectFieldsFragmentDoc} -${DnapStudyFieldsFragmentDoc}`; -export const UpdateWorkStatusDocument = gql` - mutation UpdateWorkStatus($workNumber: String!, $status: WorkStatus!, $commentId: Int) { - updateWorkStatus( - workNumber: $workNumber - status: $status - commentId: $commentId - ) { - ...WorkWithCommentFields + ${CommentFieldsFragmentDoc} +${LabwareTypeFieldsFragmentDoc}`; +export const GetCommentsDocument = gql` + query GetComments($commentCategory: String, $includeDisabled: Boolean) { + comments(category: $commentCategory, includeDisabled: $includeDisabled) { + ...CommentFields } } - ${WorkWithCommentFieldsFragmentDoc} -${WorkFieldsFragmentDoc} + ${CommentFieldsFragmentDoc}`; +export const GetConfigurationDocument = gql` + query GetConfiguration { + destructionReasons(includeDisabled: true) { + ...DestructionReasonFields + } + comments(includeDisabled: true) { + ...CommentFields + } + hmdmcs(includeDisabled: true) { + ...HmdmcFields + } + species(includeDisabled: true) { + ...SpeciesFields + } + fixatives(includeDisabled: true) { + ...FixativeFields + } + releaseDestinations(includeDisabled: true) { + ...ReleaseDestinationFields + } + releaseRecipients(includeDisabled: true) { + ...ReleaseRecipientFields + } + projects(includeDisabled: true) { + ...ProjectFields + } + costCodes(includeDisabled: true) { + ...CostCodeFields + } + workTypes(includeDisabled: true) { + ...WorkTypeFields + } + equipments(includeDisabled: true) { + ...EquipmentFields + } + users(includeDisabled: true) { + ...UserFields + } + solutions(includeDisabled: true) { + ...SolutionFields + } + probePanels(includeDisabled: true) { + ...ProbePanelFields + } + programs(includeDisabled: true) { + ...ProgramFields + } + omeroProjects(includeDisabled: true) { + ...OmeroProjectFields + } + dnapStudies(includeDisabled: true) { + ...DnapStudyFields + } +} + ${DestructionReasonFieldsFragmentDoc} +${CommentFieldsFragmentDoc} +${HmdmcFieldsFragmentDoc} +${SpeciesFieldsFragmentDoc} +${FixativeFieldsFragmentDoc} +${ReleaseDestinationFieldsFragmentDoc} ${ReleaseRecipientFieldsFragmentDoc} ${ProjectFieldsFragmentDoc} -${ProgramFieldsFragmentDoc} ${CostCodeFieldsFragmentDoc} ${WorkTypeFieldsFragmentDoc} +${EquipmentFieldsFragmentDoc} +${UserFieldsFragmentDoc} +${SolutionFieldsFragmentDoc} +${ProbePanelFieldsFragmentDoc} +${ProgramFieldsFragmentDoc} ${OmeroProjectFieldsFragmentDoc} ${DnapStudyFieldsFragmentDoc}`; -export const VisiumAnalysisDocument = gql` - mutation VisiumAnalysis($request: VisiumAnalysisRequest!) { - visiumAnalysis(request: $request) { - operations { - id - } +export const GetDestroyInfoDocument = gql` + query GetDestroyInfo { + destructionReasons { + ...DestructionReasonFields } } - `; -export const UpdateReleaseRecipientFullNameDocument = gql` - mutation UpdateReleaseRecipientFullName($username: String!, $fullName: String) { - updateReleaseRecipientFullName(username: $username, fullName: $fullName) { - ...ReleaseRecipientFields + ${DestructionReasonFieldsFragmentDoc}`; +export const GetDestructionReasonsDocument = gql` + query GetDestructionReasons($includeDisabled: Boolean) { + destructionReasons(includeDisabled: $includeDisabled) { + ...DestructionReasonFields } } - ${ReleaseRecipientFieldsFragmentDoc}`; -export const LoginDocument = gql` - mutation Login($username: String!, $password: String!) { - login(username: $username, password: $password) { - user { - ...UserFields - } + ${DestructionReasonFieldsFragmentDoc}`; +export const GetFfpeProcessingInfoDocument = gql` + query GetFFPEProcessingInfo { + comments(includeDisabled: false, category: "FFPE processing program") { + ...CommentFields } } - ${UserFieldsFragmentDoc}`; -export const AddDestructionReasonDocument = gql` - mutation AddDestructionReason($text: String!) { - addDestructionReason(text: $text) { - ...DestructionReasonFields - } + ${CommentFieldsFragmentDoc}`; +export const GetLabwareCostingDocument = gql` + query GetLabwareCosting($barcode: String!) { + labwareCosting(barcode: $barcode) } - ${DestructionReasonFieldsFragmentDoc}`; - -export type SdkFunctionWrapper = <T>(action: (requestHeaders?:Record<string, string>) => Promise<T>, operationName: string, operationType?: string) => Promise<T>; - - -const defaultWrapper: SdkFunctionWrapper = (action, _operationName, _operationType) => action(); - -export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper = defaultWrapper) { - return { - CurrentUser(variables?: CurrentUserQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<CurrentUserQuery> { - return withWrapper((wrappedRequestHeaders) => client.request<CurrentUserQuery>(CurrentUserDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'CurrentUser', 'query'); - }, - Find(variables: FindQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<FindQuery> { - return withWrapper((wrappedRequestHeaders) => client.request<FindQuery>(FindDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'Find', 'query'); - }, - FindFiles(variables: FindFilesQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<FindFilesQuery> { - return withWrapper((wrappedRequestHeaders) => client.request<FindFilesQuery>(FindFilesDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindFiles', 'query'); - }, - FindHistoryForDonorName(variables: FindHistoryForDonorNameQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<FindHistoryForDonorNameQuery> { - return withWrapper((wrappedRequestHeaders) => client.request<FindHistoryForDonorNameQuery>(FindHistoryForDonorNameDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindHistoryForDonorName', 'query'); - }, - FindHistoryForLabwareBarcode(variables: FindHistoryForLabwareBarcodeQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<FindHistoryForLabwareBarcodeQuery> { - return withWrapper((wrappedRequestHeaders) => client.request<FindHistoryForLabwareBarcodeQuery>(FindHistoryForLabwareBarcodeDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindHistoryForLabwareBarcode', 'query'); - }, - FindHistoryForWorkNumber(variables: FindHistoryForWorkNumberQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<FindHistoryForWorkNumberQuery> { - return withWrapper((wrappedRequestHeaders) => client.request<FindHistoryForWorkNumberQuery>(FindHistoryForWorkNumberDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindHistoryForWorkNumber', 'query'); - }, - FindHistoryForSampleId(variables: FindHistoryForSampleIdQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<FindHistoryForSampleIdQuery> { - return withWrapper((wrappedRequestHeaders) => client.request<FindHistoryForSampleIdQuery>(FindHistoryForSampleIdDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindHistoryForSampleId', 'query'); - }, - FindLabware(variables: FindLabwareQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<FindLabwareQuery> { - return withWrapper((wrappedRequestHeaders) => client.request<FindLabwareQuery>(FindLabwareDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindLabware', 'query'); - }, - FindLabwareLocation(variables: FindLabwareLocationQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<FindLabwareLocationQuery> { - return withWrapper((wrappedRequestHeaders) => client.request<FindLabwareLocationQuery>(FindLabwareLocationDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindLabwareLocation', 'query'); - }, - FindLocationByBarcode(variables: FindLocationByBarcodeQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<FindLocationByBarcodeQuery> { - return withWrapper((wrappedRequestHeaders) => client.request<FindLocationByBarcodeQuery>(FindLocationByBarcodeDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindLocationByBarcode', 'query'); - }, - FindPassFails(variables: FindPassFailsQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<FindPassFailsQuery> { - return withWrapper((wrappedRequestHeaders) => client.request<FindPassFailsQuery>(FindPassFailsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindPassFails', 'query'); - }, - FindPermData(variables: FindPermDataQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<FindPermDataQuery> { - return withWrapper((wrappedRequestHeaders) => client.request<FindPermDataQuery>(FindPermDataDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindPermData', 'query'); - }, - FindPlanData(variables: FindPlanDataQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<FindPlanDataQuery> { - return withWrapper((wrappedRequestHeaders) => client.request<FindPlanDataQuery>(FindPlanDataDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindPlanData', 'query'); - }, - FindReagentPlate(variables: FindReagentPlateQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<FindReagentPlateQuery> { - return withWrapper((wrappedRequestHeaders) => client.request<FindReagentPlateQuery>(FindReagentPlateDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindReagentPlate', 'query'); - }, - FindLatestOperation(variables: FindLatestOperationQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<FindLatestOperationQuery> { - return withWrapper((wrappedRequestHeaders) => client.request<FindLatestOperationQuery>(FindLatestOperationDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindLatestOperation', 'query'); - }, - FindSamplePositions(variables: FindSamplePositionsQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<FindSamplePositionsQuery> { - return withWrapper((wrappedRequestHeaders) => client.request<FindSamplePositionsQuery>(FindSamplePositionsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindSamplePositions', 'query'); - }, - FindStoragePath(variables: FindStoragePathQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<FindStoragePathQuery> { - return withWrapper((wrappedRequestHeaders) => client.request<FindStoragePathQuery>(FindStoragePathDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindStoragePath', 'query'); - }, - FindWorkInfo(variables: FindWorkInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<FindWorkInfoQuery> { - return withWrapper((wrappedRequestHeaders) => client.request<FindWorkInfoQuery>(FindWorkInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindWorkInfo', 'query'); - }, - FindWorkNumbers(variables: FindWorkNumbersQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<FindWorkNumbersQuery> { - return withWrapper((wrappedRequestHeaders) => client.request<FindWorkNumbersQuery>(FindWorkNumbersDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindWorkNumbers', 'query'); - }, - FindWorkProgress(variables?: FindWorkProgressQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<FindWorkProgressQuery> { - return withWrapper((wrappedRequestHeaders) => client.request<FindWorkProgressQuery>(FindWorkProgressDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindWorkProgress', 'query'); - }, - FindWorksCreatedBy(variables: FindWorksCreatedByQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<FindWorksCreatedByQuery> { - return withWrapper((wrappedRequestHeaders) => client.request<FindWorksCreatedByQuery>(FindWorksCreatedByDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindWorksCreatedBy', 'query'); - }, - GetAllWorkInfo(variables?: GetAllWorkInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetAllWorkInfoQuery> { - return withWrapper((wrappedRequestHeaders) => client.request<GetAllWorkInfoQuery>(GetAllWorkInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetAllWorkInfo', 'query'); - }, - GetBlockProcessingInfo(variables?: GetBlockProcessingInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetBlockProcessingInfoQuery> { - return withWrapper((wrappedRequestHeaders) => client.request<GetBlockProcessingInfoQuery>(GetBlockProcessingInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetBlockProcessingInfo', 'query'); - }, - GetComments(variables?: GetCommentsQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetCommentsQuery> { - return withWrapper((wrappedRequestHeaders) => client.request<GetCommentsQuery>(GetCommentsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetComments', 'query'); - }, - GetConfiguration(variables?: GetConfigurationQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetConfigurationQuery> { - return withWrapper((wrappedRequestHeaders) => client.request<GetConfigurationQuery>(GetConfigurationDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetConfiguration', 'query'); - }, - GetDestroyInfo(variables?: GetDestroyInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetDestroyInfoQuery> { - return withWrapper((wrappedRequestHeaders) => client.request<GetDestroyInfoQuery>(GetDestroyInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetDestroyInfo', 'query'); - }, - GetDestructionReasons(variables?: GetDestructionReasonsQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetDestructionReasonsQuery> { - return withWrapper((wrappedRequestHeaders) => client.request<GetDestructionReasonsQuery>(GetDestructionReasonsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetDestructionReasons', 'query'); - }, - GetFFPEProcessingInfo(variables?: GetFfpeProcessingInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetFfpeProcessingInfoQuery> { - return withWrapper((wrappedRequestHeaders) => client.request<GetFfpeProcessingInfoQuery>(GetFfpeProcessingInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetFFPEProcessingInfo', 'query'); - }, - GetLabwareCosting(variables: GetLabwareCostingQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetLabwareCostingQuery> { - return withWrapper((wrappedRequestHeaders) => client.request<GetLabwareCostingQuery>(GetLabwareCostingDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetLabwareCosting', 'query'); - }, - GetLabwareInLocation(variables: GetLabwareInLocationQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetLabwareInLocationQuery> { - return withWrapper((wrappedRequestHeaders) => client.request<GetLabwareInLocationQuery>(GetLabwareInLocationDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetLabwareInLocation', 'query'); - }, - GetLabwareOperations(variables: GetLabwareOperationsQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetLabwareOperationsQuery> { - return withWrapper((wrappedRequestHeaders) => client.request<GetLabwareOperationsQuery>(GetLabwareOperationsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetLabwareOperations', 'query'); - }, - GetNextReplicateNumber(variables: GetNextReplicateNumberQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetNextReplicateNumberQuery> { - return withWrapper((wrappedRequestHeaders) => client.request<GetNextReplicateNumberQuery>(GetNextReplicateNumberDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetNextReplicateNumber', 'query'); - }, - GetOmeroProjects(variables?: GetOmeroProjectsQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetOmeroProjectsQuery> { - return withWrapper((wrappedRequestHeaders) => client.request<GetOmeroProjectsQuery>(GetOmeroProjectsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetOmeroProjects', 'query'); - }, - FindHistoryForExternalName(variables: FindHistoryForExternalNameQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<FindHistoryForExternalNameQuery> { - return withWrapper((wrappedRequestHeaders) => client.request<FindHistoryForExternalNameQuery>(FindHistoryForExternalNameDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindHistoryForExternalName', 'query'); - }, - ExtractResult(variables: ExtractResultQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<ExtractResultQuery> { - return withWrapper((wrappedRequestHeaders) => client.request<ExtractResultQuery>(ExtractResultDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'ExtractResult', 'query'); - }, - GetPotProcessingInfo(variables?: GetPotProcessingInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetPotProcessingInfoQuery> { - return withWrapper((wrappedRequestHeaders) => client.request<GetPotProcessingInfoQuery>(GetPotProcessingInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetPotProcessingInfo', 'query'); - }, - GetRecordInPlaceInfo(variables?: GetRecordInPlaceInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetRecordInPlaceInfoQuery> { - return withWrapper((wrappedRequestHeaders) => client.request<GetRecordInPlaceInfoQuery>(GetRecordInPlaceInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetRecordInPlaceInfo', 'query'); - }, - GetProbePanels(variables?: GetProbePanelsQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetProbePanelsQuery> { - return withWrapper((wrappedRequestHeaders) => client.request<GetProbePanelsQuery>(GetProbePanelsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetProbePanels', 'query'); - }, - GetRegistrationInfo(variables?: GetRegistrationInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetRegistrationInfoQuery> { - return withWrapper((wrappedRequestHeaders) => client.request<GetRegistrationInfoQuery>(GetRegistrationInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetRegistrationInfo', 'query'); - }, - GetPrograms(variables?: GetProgramsQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetProgramsQuery> { - return withWrapper((wrappedRequestHeaders) => client.request<GetProgramsQuery>(GetProgramsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetPrograms', 'query'); - }, - GetRecordExtractResultInfo(variables?: GetRecordExtractResultInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetRecordExtractResultInfoQuery> { - return withWrapper((wrappedRequestHeaders) => client.request<GetRecordExtractResultInfoQuery>(GetRecordExtractResultInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetRecordExtractResultInfo', 'query'); - }, - GetSectioningConfirmInfo(variables?: GetSectioningConfirmInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetSectioningConfirmInfoQuery> { - return withWrapper((wrappedRequestHeaders) => client.request<GetSectioningConfirmInfoQuery>(GetSectioningConfirmInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetSectioningConfirmInfo', 'query'); - }, - GetSampleProcessingCommentsInfo(variables?: GetSampleProcessingCommentsInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetSampleProcessingCommentsInfoQuery> { - return withWrapper((wrappedRequestHeaders) => client.request<GetSampleProcessingCommentsInfoQuery>(GetSampleProcessingCommentsInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetSampleProcessingCommentsInfo', 'query'); - }, - GetSearchInfo(variables?: GetSearchInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetSearchInfoQuery> { - return withWrapper((wrappedRequestHeaders) => client.request<GetSearchInfoQuery>(GetSearchInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetSearchInfo', 'query'); - }, - GetSectioningInfo(variables?: GetSectioningInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetSectioningInfoQuery> { - return withWrapper((wrappedRequestHeaders) => client.request<GetSectioningInfoQuery>(GetSectioningInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetSectioningInfo', 'query'); - }, - GetSlotRegions(variables?: GetSlotRegionsQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetSlotRegionsQuery> { - return withWrapper((wrappedRequestHeaders) => client.request<GetSlotRegionsQuery>(GetSlotRegionsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetSlotRegions', 'query'); - }, - GetStainInfo(variables?: GetStainInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetStainInfoQuery> { - return withWrapper((wrappedRequestHeaders) => client.request<GetStainInfoQuery>(GetStainInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetStainInfo', 'query'); - }, - GetStainingQCInfo(variables?: GetStainingQcInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetStainingQcInfoQuery> { - return withWrapper((wrappedRequestHeaders) => client.request<GetStainingQcInfoQuery>(GetStainingQcInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetStainingQCInfo', 'query'); - }, - GetSolutionTransferInfo(variables?: GetSolutionTransferInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetSolutionTransferInfoQuery> { - return withWrapper((wrappedRequestHeaders) => client.request<GetSolutionTransferInfoQuery>(GetSolutionTransferInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetSolutionTransferInfo', 'query'); - }, - GetSuggestedLabwareForWork(variables: GetSuggestedLabwareForWorkQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetSuggestedLabwareForWorkQuery> { - return withWrapper((wrappedRequestHeaders) => client.request<GetSuggestedLabwareForWorkQuery>(GetSuggestedLabwareForWorkDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetSuggestedLabwareForWork', 'query'); - }, - GetSuggestedWorkForLabware(variables: GetSuggestedWorkForLabwareQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetSuggestedWorkForLabwareQuery> { - return withWrapper((wrappedRequestHeaders) => client.request<GetSuggestedWorkForLabwareQuery>(GetSuggestedWorkForLabwareDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetSuggestedWorkForLabware', 'query'); - }, - GetVisiumQCInfo(variables?: GetVisiumQcInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetVisiumQcInfoQuery> { - return withWrapper((wrappedRequestHeaders) => client.request<GetVisiumQcInfoQuery>(GetVisiumQcInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetVisiumQCInfo', 'query'); - }, - GetWorkAllocationInfo(variables: GetWorkAllocationInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetWorkAllocationInfoQuery> { - return withWrapper((wrappedRequestHeaders) => client.request<GetWorkAllocationInfoQuery>(GetWorkAllocationInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetWorkAllocationInfo', 'query'); - }, - GetWorkNumbers(variables?: GetWorkNumbersQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetWorkNumbersQuery> { - return withWrapper((wrappedRequestHeaders) => client.request<GetWorkNumbersQuery>(GetWorkNumbersDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetWorkNumbers', 'query'); - }, - GetReleaseInfo(variables?: GetReleaseInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetReleaseInfoQuery> { - return withWrapper((wrappedRequestHeaders) => client.request<GetReleaseInfoQuery>(GetReleaseInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetReleaseInfo', 'query'); - }, - GetWorkProgressInputs(variables?: GetWorkProgressInputsQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetWorkProgressInputsQuery> { - return withWrapper((wrappedRequestHeaders) => client.request<GetWorkProgressInputsQuery>(GetWorkProgressInputsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetWorkProgressInputs', 'query'); - }, - GetPrinters(variables?: GetPrintersQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetPrintersQuery> { - return withWrapper((wrappedRequestHeaders) => client.request<GetPrintersQuery>(GetPrintersDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetPrinters', 'query'); - }, - GetXeniumQCInfo(variables?: GetXeniumQcInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetXeniumQcInfoQuery> { - return withWrapper((wrappedRequestHeaders) => client.request<GetXeniumQcInfoQuery>(GetXeniumQcInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetXeniumQCInfo', 'query'); - }, - GetWorkTypes(variables?: GetWorkTypesQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetWorkTypesQuery> { - return withWrapper((wrappedRequestHeaders) => client.request<GetWorkTypesQuery>(GetWorkTypesDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetWorkTypes', 'query'); - }, - GetWorkSummary(variables?: GetWorkSummaryQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetWorkSummaryQuery> { - return withWrapper((wrappedRequestHeaders) => client.request<GetWorkSummaryQuery>(GetWorkSummaryDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetWorkSummary', 'query'); - }, + `; +export const GetLabwareInLocationDocument = gql` + query GetLabwareInLocation($locationBarcode: String!) { + labwareInLocation(locationBarcode: $locationBarcode) { + ...LabwareFields + } +} + ${LabwareFieldsFragmentDoc} +${LabwareTypeFieldsFragmentDoc} +${SlotFieldsFragmentDoc} +${SampleFieldsFragmentDoc}`; +export const GetLabwareOperationsDocument = gql` + query GetLabwareOperations($barcode: String!, $operationType: String!) { + labwareOperations(barcode: $barcode, operationType: $operationType) { + ...OperationFields + } +} + ${OperationFieldsFragmentDoc} +${ActionFieldsFragmentDoc} +${SlotFieldsFragmentDoc} +${SampleFieldsFragmentDoc} +${UserFieldsFragmentDoc}`; +export const GetNextReplicateNumberDocument = gql` + query GetNextReplicateNumber($barcodes: [String!]!) { + nextReplicateNumbers(barcodes: $barcodes) { + ...NextReplicateDataFields + } +} + ${NextReplicateDataFieldsFragmentDoc}`; +export const GetOmeroProjectsDocument = gql` + query GetOmeroProjects { + omeroProjects { + name + enabled + } +} + `; +export const GetPrintersDocument = gql` + query GetPrinters { + printers { + ...PrinterFields + } +} + ${PrinterFieldsFragmentDoc}`; +export const GetProbePanelsDocument = gql` + query GetProbePanels { + probePanels { + name + enabled + } +} + `; +export const GetProgramsDocument = gql` + query GetPrograms { + programs { + name + enabled + } +} + `; +export const GetPotProcessingInfoDocument = gql` + query GetPotProcessingInfo { + fixatives { + name + } + comments(includeDisabled: false, category: "Sample Processing") { + ...CommentFields + } + labwareTypes { + ...LabwareTypeFields + } +} + ${CommentFieldsFragmentDoc} +${LabwareTypeFieldsFragmentDoc}`; +export const GetRecordExtractResultInfoDocument = gql` + query GetRecordExtractResultInfo { + comments(category: "extract result", includeDisabled: false) { + ...CommentFields + } +} + ${CommentFieldsFragmentDoc}`; +export const GetRecordInPlaceInfoDocument = gql` + query GetRecordInPlaceInfo($category: String) { + equipments(includeDisabled: false, category: $category) { + ...EquipmentFields + } +} + ${EquipmentFieldsFragmentDoc}`; +export const GetRegistrationInfoDocument = gql` + query GetRegistrationInfo { + species { + name + } + hmdmcs { + hmdmc + } + labwareTypes { + ...LabwareTypeFields + } + tissueTypes { + name + spatialLocations { + name + code + } + } + fixatives { + name + } + mediums { + name + } + solutions { + name + } + slotRegions { + name + } +} + ${LabwareTypeFieldsFragmentDoc}`; +export const GetReleaseInfoDocument = gql` + query GetReleaseInfo { + releaseDestinations { + ...ReleaseDestinationFields + } + releaseRecipients { + ...ReleaseRecipientFields + } +} + ${ReleaseDestinationFieldsFragmentDoc} +${ReleaseRecipientFieldsFragmentDoc}`; +export const GetSectioningConfirmInfoDocument = gql` + query GetSectioningConfirmInfo { + comments(category: "section") { + ...CommentFields + } + slotRegions(includeDisabled: false) { + ...SlotRegionFields + } +} + ${CommentFieldsFragmentDoc} +${SlotRegionFieldsFragmentDoc}`; +export const GetSearchInfoDocument = gql` + query GetSearchInfo { + tissueTypes { + name + } +} + `; +export const GetSlotRegionsDocument = gql` + query GetSlotRegions($includeDisabled: Boolean) { + slotRegions(includeDisabled: $includeDisabled) { + name + enabled + } +} + `; +export const GetSampleProcessingCommentsInfoDocument = gql` + query GetSampleProcessingCommentsInfo { + comments: comments(includeDisabled: false, category: "Sample Processing") { + ...CommentFields + } +} + ${CommentFieldsFragmentDoc}`; +export const GetSolutionTransferInfoDocument = gql` + query GetSolutionTransferInfo { + solutions { + name + } +} + `; +export const GetStainInfoDocument = gql` + query GetStainInfo { + stainTypes { + ...StainTypeFields + } +} + ${StainTypeFieldsFragmentDoc}`; +export const GetSectioningInfoDocument = gql` + query GetSectioningInfo { + labwareTypes { + ...LabwareTypeFields + } +} + ${LabwareTypeFieldsFragmentDoc}`; +export const GetStainingQcInfoDocument = gql` + query GetStainingQCInfo { + comments(includeDisabled: false, category: "stain QC") { + ...CommentFields + } +} + ${CommentFieldsFragmentDoc}`; +export const GetSuggestedLabwareForWorkDocument = gql` + query GetSuggestedLabwareForWork($workNumber: String!, $forRelease: Boolean) { + suggestedLabwareForWork(workNumber: $workNumber, forRelease: $forRelease) { + ...LabwareFields + } +} + ${LabwareFieldsFragmentDoc} +${LabwareTypeFieldsFragmentDoc} +${SlotFieldsFragmentDoc} +${SampleFieldsFragmentDoc}`; +export const GetSuggestedWorkForLabwareDocument = gql` + query GetSuggestedWorkForLabware($barcodes: [String!]!, $includeInactive: Boolean) { + suggestedWorkForLabware(barcodes: $barcodes, includeInactive: $includeInactive) { + suggestedWorks { + ...SuggestedWorkFields + } + } +} + ${SuggestedWorkFieldsFragmentDoc}`; +export const GetWorkAllocationInfoDocument = gql` + query GetWorkAllocationInfo($commentCategory: String!, $workStatuses: [WorkStatus!]) { + projects(includeDisabled: false) { + ...ProjectFields + } + programs(includeDisabled: false) { + ...ProgramFields + } + costCodes(includeDisabled: false) { + ...CostCodeFields + } + worksWithComments(status: $workStatuses) { + ...WorkWithCommentFields + } + workTypes { + ...WorkTypeFields + } + comments(category: $commentCategory, includeDisabled: false) { + ...CommentFields + } + releaseRecipients(includeDisabled: false) { + ...ReleaseRecipientFields + } + omeroProjects(includeDisabled: false) { + ...OmeroProjectFields + } + dnapStudies(includeDisabled: false) { + ...DnapStudyFields + } +} + ${ProjectFieldsFragmentDoc} +${ProgramFieldsFragmentDoc} +${CostCodeFieldsFragmentDoc} +${WorkWithCommentFieldsFragmentDoc} +${WorkFieldsFragmentDoc} +${ReleaseRecipientFieldsFragmentDoc} +${WorkTypeFieldsFragmentDoc} +${OmeroProjectFieldsFragmentDoc} +${DnapStudyFieldsFragmentDoc} +${CommentFieldsFragmentDoc}`; +export const GetWorkNumbersDocument = gql` + query GetWorkNumbers { + works { + workNumber + } +} + `; +export const GetVisiumQcInfoDocument = gql` + query GetVisiumQCInfo { + comments(includeDisabled: false, category: "Visium QC") { + ...CommentFields + } +} + ${CommentFieldsFragmentDoc}`; +export const GetWorkSummaryDocument = gql` + query GetWorkSummary { + worksSummary { + workSummaryGroups { + ...WorkSummaryGroupFields + } + workTypes { + name + } + } +} + ${WorkSummaryGroupFieldsFragmentDoc} +${WorkTypeFieldsFragmentDoc}`; +export const GetWorkTypesDocument = gql` + query GetWorkTypes { + workTypes(includeDisabled: true) { + name + } +} + `; +export const GetXeniumQcInfoDocument = gql` + query GetXeniumQCInfo { + comments(includeDisabled: false, category: "QC labware") { + ...CommentFields + } +} + ${CommentFieldsFragmentDoc}`; +export const GetWorkProgressInputsDocument = gql` + query GetWorkProgressInputs { + workTypes(includeDisabled: true) { + name + } + programs(includeDisabled: true) { + name + } + releaseRecipients(includeDisabled: true) { + username + } +} + `; + +export type SdkFunctionWrapper = <T>(action: (requestHeaders?:Record<string, string>) => Promise<T>, operationName: string, operationType?: string) => Promise<T>; + + +const defaultWrapper: SdkFunctionWrapper = (action, _operationName, _operationType) => action(); + +export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper = defaultWrapper) { + return { AddComment(variables: AddCommentMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<AddCommentMutation> { return withWrapper((wrappedRequestHeaders) => client.request<AddCommentMutation>(AddCommentDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddComment', 'mutation'); }, + AddCostCode(variables: AddCostCodeMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<AddCostCodeMutation> { + return withWrapper((wrappedRequestHeaders) => client.request<AddCostCodeMutation>(AddCostCodeDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddCostCode', 'mutation'); + }, + AddDestructionReason(variables: AddDestructionReasonMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<AddDestructionReasonMutation> { + return withWrapper((wrappedRequestHeaders) => client.request<AddDestructionReasonMutation>(AddDestructionReasonDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddDestructionReason', 'mutation'); + }, AddDnapStudy(variables: AddDnapStudyMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<AddDnapStudyMutation> { return withWrapper((wrappedRequestHeaders) => client.request<AddDnapStudyMutation>(AddDnapStudyDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddDnapStudy', 'mutation'); }, AddEquipment(variables: AddEquipmentMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<AddEquipmentMutation> { return withWrapper((wrappedRequestHeaders) => client.request<AddEquipmentMutation>(AddEquipmentDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddEquipment', 'mutation'); }, + AddFixative(variables: AddFixativeMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<AddFixativeMutation> { + return withWrapper((wrappedRequestHeaders) => client.request<AddFixativeMutation>(AddFixativeDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddFixative', 'mutation'); + }, AddExternalID(variables: AddExternalIdMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<AddExternalIdMutation> { return withWrapper((wrappedRequestHeaders) => client.request<AddExternalIdMutation>(AddExternalIdDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddExternalID', 'mutation'); }, + AddOmeroProject(variables: AddOmeroProjectMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<AddOmeroProjectMutation> { + return withWrapper((wrappedRequestHeaders) => client.request<AddOmeroProjectMutation>(AddOmeroProjectDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddOmeroProject', 'mutation'); + }, AddHmdmc(variables: AddHmdmcMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<AddHmdmcMutation> { return withWrapper((wrappedRequestHeaders) => client.request<AddHmdmcMutation>(AddHmdmcDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddHmdmc', 'mutation'); }, - AddCostCode(variables: AddCostCodeMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<AddCostCodeMutation> { - return withWrapper((wrappedRequestHeaders) => client.request<AddCostCodeMutation>(AddCostCodeDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddCostCode', 'mutation'); + AddProbePanel(variables: AddProbePanelMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<AddProbePanelMutation> { + return withWrapper((wrappedRequestHeaders) => client.request<AddProbePanelMutation>(AddProbePanelDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddProbePanel', 'mutation'); }, - AddFixative(variables: AddFixativeMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<AddFixativeMutation> { - return withWrapper((wrappedRequestHeaders) => client.request<AddFixativeMutation>(AddFixativeDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddFixative', 'mutation'); + AddProgram(variables: AddProgramMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<AddProgramMutation> { + return withWrapper((wrappedRequestHeaders) => client.request<AddProgramMutation>(AddProgramDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddProgram', 'mutation'); }, AddProject(variables: AddProjectMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<AddProjectMutation> { return withWrapper((wrappedRequestHeaders) => client.request<AddProjectMutation>(AddProjectDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddProject', 'mutation'); @@ -6915,15 +6789,15 @@ export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper = AddReleaseDestination(variables: AddReleaseDestinationMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<AddReleaseDestinationMutation> { return withWrapper((wrappedRequestHeaders) => client.request<AddReleaseDestinationMutation>(AddReleaseDestinationDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddReleaseDestination', 'mutation'); }, - AddOmeroProject(variables: AddOmeroProjectMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<AddOmeroProjectMutation> { - return withWrapper((wrappedRequestHeaders) => client.request<AddOmeroProjectMutation>(AddOmeroProjectDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddOmeroProject', 'mutation'); - }, - AddProgram(variables: AddProgramMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<AddProgramMutation> { - return withWrapper((wrappedRequestHeaders) => client.request<AddProgramMutation>(AddProgramDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddProgram', 'mutation'); + AddReleaseRecipient(variables: AddReleaseRecipientMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<AddReleaseRecipientMutation> { + return withWrapper((wrappedRequestHeaders) => client.request<AddReleaseRecipientMutation>(AddReleaseRecipientDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddReleaseRecipient', 'mutation'); }, AddSlotRegion(variables: AddSlotRegionMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<AddSlotRegionMutation> { return withWrapper((wrappedRequestHeaders) => client.request<AddSlotRegionMutation>(AddSlotRegionDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddSlotRegion', 'mutation'); }, + AddSolution(variables: AddSolutionMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<AddSolutionMutation> { + return withWrapper((wrappedRequestHeaders) => client.request<AddSolutionMutation>(AddSolutionDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddSolution', 'mutation'); + }, AddSpecies(variables: AddSpeciesMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<AddSpeciesMutation> { return withWrapper((wrappedRequestHeaders) => client.request<AddSpeciesMutation>(AddSpeciesDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddSpecies', 'mutation'); }, @@ -6933,32 +6807,29 @@ export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper = AddWorkType(variables: AddWorkTypeMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<AddWorkTypeMutation> { return withWrapper((wrappedRequestHeaders) => client.request<AddWorkTypeMutation>(AddWorkTypeDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddWorkType', 'mutation'); }, - AddReleaseRecipient(variables: AddReleaseRecipientMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<AddReleaseRecipientMutation> { - return withWrapper((wrappedRequestHeaders) => client.request<AddReleaseRecipientMutation>(AddReleaseRecipientDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddReleaseRecipient', 'mutation'); - }, - AddProbePanel(variables: AddProbePanelMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<AddProbePanelMutation> { - return withWrapper((wrappedRequestHeaders) => client.request<AddProbePanelMutation>(AddProbePanelDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddProbePanel', 'mutation'); - }, Aliquot(variables: AliquotMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<AliquotMutation> { return withWrapper((wrappedRequestHeaders) => client.request<AliquotMutation>(AliquotDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'Aliquot', 'mutation'); }, Confirm(variables: ConfirmMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<ConfirmMutation> { return withWrapper((wrappedRequestHeaders) => client.request<ConfirmMutation>(ConfirmDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'Confirm', 'mutation'); }, - AddSolution(variables: AddSolutionMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<AddSolutionMutation> { - return withWrapper((wrappedRequestHeaders) => client.request<AddSolutionMutation>(AddSolutionDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddSolution', 'mutation'); + ConfirmSection(variables: ConfirmSectionMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<ConfirmSectionMutation> { + return withWrapper((wrappedRequestHeaders) => client.request<ConfirmSectionMutation>(ConfirmSectionDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'ConfirmSection', 'mutation'); + }, + CreateWork(variables: CreateWorkMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<CreateWorkMutation> { + return withWrapper((wrappedRequestHeaders) => client.request<CreateWorkMutation>(CreateWorkDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'CreateWork', 'mutation'); }, Destroy(variables: DestroyMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<DestroyMutation> { return withWrapper((wrappedRequestHeaders) => client.request<DestroyMutation>(DestroyDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'Destroy', 'mutation'); }, + Extract(variables: ExtractMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<ExtractMutation> { + return withWrapper((wrappedRequestHeaders) => client.request<ExtractMutation>(ExtractDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'Extract', 'mutation'); + }, EmptyLocation(variables: EmptyLocationMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<EmptyLocationMutation> { return withWrapper((wrappedRequestHeaders) => client.request<EmptyLocationMutation>(EmptyLocationDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'EmptyLocation', 'mutation'); }, - ConfirmSection(variables: ConfirmSectionMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<ConfirmSectionMutation> { - return withWrapper((wrappedRequestHeaders) => client.request<ConfirmSectionMutation>(ConfirmSectionDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'ConfirmSection', 'mutation'); - }, - Extract(variables: ExtractMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<ExtractMutation> { - return withWrapper((wrappedRequestHeaders) => client.request<ExtractMutation>(ExtractDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'Extract', 'mutation'); + Login(variables: LoginMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<LoginMutation> { + return withWrapper((wrappedRequestHeaders) => client.request<LoginMutation>(LoginDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'Login', 'mutation'); }, Logout(variables?: LogoutMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<LogoutMutation> { return withWrapper((wrappedRequestHeaders) => client.request<LogoutMutation>(LogoutDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'Logout', 'mutation'); @@ -6969,41 +6840,44 @@ export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper = PerformSolutionTransfer(variables: PerformSolutionTransferMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<PerformSolutionTransferMutation> { return withWrapper((wrappedRequestHeaders) => client.request<PerformSolutionTransferMutation>(PerformSolutionTransferDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'PerformSolutionTransfer', 'mutation'); }, - PerformTissueBlock(variables: PerformTissueBlockMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<PerformTissueBlockMutation> { - return withWrapper((wrappedRequestHeaders) => client.request<PerformTissueBlockMutation>(PerformTissueBlockDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'PerformTissueBlock', 'mutation'); - }, PerformTissuePot(variables: PerformTissuePotMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<PerformTissuePotMutation> { return withWrapper((wrappedRequestHeaders) => client.request<PerformTissuePotMutation>(PerformTissuePotDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'PerformTissuePot', 'mutation'); }, - Plan(variables: PlanMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<PlanMutation> { - return withWrapper((wrappedRequestHeaders) => client.request<PlanMutation>(PlanDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'Plan', 'mutation'); + PerformTissueBlock(variables: PerformTissueBlockMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<PerformTissueBlockMutation> { + return withWrapper((wrappedRequestHeaders) => client.request<PerformTissueBlockMutation>(PerformTissueBlockDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'PerformTissueBlock', 'mutation'); }, Print(variables: PrintMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<PrintMutation> { return withWrapper((wrappedRequestHeaders) => client.request<PrintMutation>(PrintDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'Print', 'mutation'); }, - CreateWork(variables: CreateWorkMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<CreateWorkMutation> { - return withWrapper((wrappedRequestHeaders) => client.request<CreateWorkMutation>(CreateWorkDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'CreateWork', 'mutation'); - }, - RecordComplexStain(variables: RecordComplexStainMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<RecordComplexStainMutation> { - return withWrapper((wrappedRequestHeaders) => client.request<RecordComplexStainMutation>(RecordComplexStainDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordComplexStain', 'mutation'); - }, - RecordExtractResult(variables: RecordExtractResultMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<RecordExtractResultMutation> { - return withWrapper((wrappedRequestHeaders) => client.request<RecordExtractResultMutation>(RecordExtractResultDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordExtractResult', 'mutation'); + Plan(variables: PlanMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<PlanMutation> { + return withWrapper((wrappedRequestHeaders) => client.request<PlanMutation>(PlanDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'Plan', 'mutation'); }, RecordAnalyser(variables: RecordAnalyserMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<RecordAnalyserMutation> { return withWrapper((wrappedRequestHeaders) => client.request<RecordAnalyserMutation>(RecordAnalyserDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordAnalyser', 'mutation'); }, + RecordComplexStain(variables: RecordComplexStainMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<RecordComplexStainMutation> { + return withWrapper((wrappedRequestHeaders) => client.request<RecordComplexStainMutation>(RecordComplexStainDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordComplexStain', 'mutation'); + }, RecordInPlace(variables: RecordInPlaceMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<RecordInPlaceMutation> { return withWrapper((wrappedRequestHeaders) => client.request<RecordInPlaceMutation>(RecordInPlaceDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordInPlace', 'mutation'); }, + RecordOpWithSlotComments(variables: RecordOpWithSlotCommentsMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<RecordOpWithSlotCommentsMutation> { + return withWrapper((wrappedRequestHeaders) => client.request<RecordOpWithSlotCommentsMutation>(RecordOpWithSlotCommentsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordOpWithSlotComments', 'mutation'); + }, + RecordCompletion(variables: RecordCompletionMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<RecordCompletionMutation> { + return withWrapper((wrappedRequestHeaders) => client.request<RecordCompletionMutation>(RecordCompletionDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordCompletion', 'mutation'); + }, + RecordExtractResult(variables: RecordExtractResultMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<RecordExtractResultMutation> { + return withWrapper((wrappedRequestHeaders) => client.request<RecordExtractResultMutation>(RecordExtractResultDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordExtractResult', 'mutation'); + }, RecordOpWithSlotMeasurements(variables: RecordOpWithSlotMeasurementsMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<RecordOpWithSlotMeasurementsMutation> { return withWrapper((wrappedRequestHeaders) => client.request<RecordOpWithSlotMeasurementsMutation>(RecordOpWithSlotMeasurementsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordOpWithSlotMeasurements', 'mutation'); }, RecordPerm(variables: RecordPermMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<RecordPermMutation> { return withWrapper((wrappedRequestHeaders) => client.request<RecordPermMutation>(RecordPermDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordPerm', 'mutation'); }, - RecordOpWithSlotComments(variables: RecordOpWithSlotCommentsMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<RecordOpWithSlotCommentsMutation> { - return withWrapper((wrappedRequestHeaders) => client.request<RecordOpWithSlotCommentsMutation>(RecordOpWithSlotCommentsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordOpWithSlotComments', 'mutation'); + RecordQCLabware(variables: RecordQcLabwareMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<RecordQcLabwareMutation> { + return withWrapper((wrappedRequestHeaders) => client.request<RecordQcLabwareMutation>(RecordQcLabwareDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordQCLabware', 'mutation'); }, RecordProbeOperation(variables: RecordProbeOperationMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<RecordProbeOperationMutation> { return withWrapper((wrappedRequestHeaders) => client.request<RecordProbeOperationMutation>(RecordProbeOperationDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordProbeOperation', 'mutation'); @@ -7011,78 +6885,75 @@ export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper = RecordReagentTransfer(variables: RecordReagentTransferMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<RecordReagentTransferMutation> { return withWrapper((wrappedRequestHeaders) => client.request<RecordReagentTransferMutation>(RecordReagentTransferDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordReagentTransfer', 'mutation'); }, - RecordCompletion(variables: RecordCompletionMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<RecordCompletionMutation> { - return withWrapper((wrappedRequestHeaders) => client.request<RecordCompletionMutation>(RecordCompletionDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordCompletion', 'mutation'); - }, RecordRNAAnalysis(variables: RecordRnaAnalysisMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<RecordRnaAnalysisMutation> { return withWrapper((wrappedRequestHeaders) => client.request<RecordRnaAnalysisMutation>(RecordRnaAnalysisDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordRNAAnalysis', 'mutation'); }, + RecordVisiumQC(variables: RecordVisiumQcMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<RecordVisiumQcMutation> { + return withWrapper((wrappedRequestHeaders) => client.request<RecordVisiumQcMutation>(RecordVisiumQcDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordVisiumQC', 'mutation'); + }, RecordSampleProcessingComments(variables: RecordSampleProcessingCommentsMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<RecordSampleProcessingCommentsMutation> { return withWrapper((wrappedRequestHeaders) => client.request<RecordSampleProcessingCommentsMutation>(RecordSampleProcessingCommentsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordSampleProcessingComments', 'mutation'); }, RecordStainResult(variables: RecordStainResultMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<RecordStainResultMutation> { return withWrapper((wrappedRequestHeaders) => client.request<RecordStainResultMutation>(RecordStainResultDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordStainResult', 'mutation'); }, - RecordVisiumQC(variables: RecordVisiumQcMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<RecordVisiumQcMutation> { - return withWrapper((wrappedRequestHeaders) => client.request<RecordVisiumQcMutation>(RecordVisiumQcDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordVisiumQC', 'mutation'); - }, RegisterOriginalSamples(variables: RegisterOriginalSamplesMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<RegisterOriginalSamplesMutation> { return withWrapper((wrappedRequestHeaders) => client.request<RegisterOriginalSamplesMutation>(RegisterOriginalSamplesDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RegisterOriginalSamples', 'mutation'); }, RegisterSections(variables: RegisterSectionsMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<RegisterSectionsMutation> { return withWrapper((wrappedRequestHeaders) => client.request<RegisterSectionsMutation>(RegisterSectionsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RegisterSections', 'mutation'); }, + RegisterTissues(variables: RegisterTissuesMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<RegisterTissuesMutation> { + return withWrapper((wrappedRequestHeaders) => client.request<RegisterTissuesMutation>(RegisterTissuesDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RegisterTissues', 'mutation'); + }, SetCommentEnabled(variables: SetCommentEnabledMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<SetCommentEnabledMutation> { return withWrapper((wrappedRequestHeaders) => client.request<SetCommentEnabledMutation>(SetCommentEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetCommentEnabled', 'mutation'); }, ReleaseLabware(variables: ReleaseLabwareMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<ReleaseLabwareMutation> { return withWrapper((wrappedRequestHeaders) => client.request<ReleaseLabwareMutation>(ReleaseLabwareDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'ReleaseLabware', 'mutation'); }, - RecordQCLabware(variables: RecordQcLabwareMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<RecordQcLabwareMutation> { - return withWrapper((wrappedRequestHeaders) => client.request<RecordQcLabwareMutation>(RecordQcLabwareDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordQCLabware', 'mutation'); - }, - RegisterTissues(variables: RegisterTissuesMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<RegisterTissuesMutation> { - return withWrapper((wrappedRequestHeaders) => client.request<RegisterTissuesMutation>(RegisterTissuesDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RegisterTissues', 'mutation'); - }, SetCostCodeEnabled(variables: SetCostCodeEnabledMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<SetCostCodeEnabledMutation> { return withWrapper((wrappedRequestHeaders) => client.request<SetCostCodeEnabledMutation>(SetCostCodeEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetCostCodeEnabled', 'mutation'); }, + SetDnapStudyEnabled(variables: SetDnapStudyEnabledMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<SetDnapStudyEnabledMutation> { + return withWrapper((wrappedRequestHeaders) => client.request<SetDnapStudyEnabledMutation>(SetDnapStudyEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetDnapStudyEnabled', 'mutation'); + }, SetDestructionReasonEnabled(variables: SetDestructionReasonEnabledMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<SetDestructionReasonEnabledMutation> { return withWrapper((wrappedRequestHeaders) => client.request<SetDestructionReasonEnabledMutation>(SetDestructionReasonEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetDestructionReasonEnabled', 'mutation'); }, - SetEquipmentEnabled(variables: SetEquipmentEnabledMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<SetEquipmentEnabledMutation> { - return withWrapper((wrappedRequestHeaders) => client.request<SetEquipmentEnabledMutation>(SetEquipmentEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetEquipmentEnabled', 'mutation'); + SetFixativeEnabled(variables: SetFixativeEnabledMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<SetFixativeEnabledMutation> { + return withWrapper((wrappedRequestHeaders) => client.request<SetFixativeEnabledMutation>(SetFixativeEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetFixativeEnabled', 'mutation'); + }, + SetHmdmcEnabled(variables: SetHmdmcEnabledMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<SetHmdmcEnabledMutation> { + return withWrapper((wrappedRequestHeaders) => client.request<SetHmdmcEnabledMutation>(SetHmdmcEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetHmdmcEnabled', 'mutation'); }, SetLocationCustomName(variables: SetLocationCustomNameMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<SetLocationCustomNameMutation> { return withWrapper((wrappedRequestHeaders) => client.request<SetLocationCustomNameMutation>(SetLocationCustomNameDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetLocationCustomName', 'mutation'); }, - SetHmdmcEnabled(variables: SetHmdmcEnabledMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<SetHmdmcEnabledMutation> { - return withWrapper((wrappedRequestHeaders) => client.request<SetHmdmcEnabledMutation>(SetHmdmcEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetHmdmcEnabled', 'mutation'); + SetEquipmentEnabled(variables: SetEquipmentEnabledMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<SetEquipmentEnabledMutation> { + return withWrapper((wrappedRequestHeaders) => client.request<SetEquipmentEnabledMutation>(SetEquipmentEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetEquipmentEnabled', 'mutation'); }, SetOmeroProjectEnabled(variables: SetOmeroProjectEnabledMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<SetOmeroProjectEnabledMutation> { return withWrapper((wrappedRequestHeaders) => client.request<SetOmeroProjectEnabledMutation>(SetOmeroProjectEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetOmeroProjectEnabled', 'mutation'); }, + SetProbePanelEnabled(variables: SetProbePanelEnabledMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<SetProbePanelEnabledMutation> { + return withWrapper((wrappedRequestHeaders) => client.request<SetProbePanelEnabledMutation>(SetProbePanelEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetProbePanelEnabled', 'mutation'); + }, SetProgramEnabled(variables: SetProgramEnabledMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<SetProgramEnabledMutation> { return withWrapper((wrappedRequestHeaders) => client.request<SetProgramEnabledMutation>(SetProgramEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetProgramEnabled', 'mutation'); }, SetProjectEnabled(variables: SetProjectEnabledMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<SetProjectEnabledMutation> { return withWrapper((wrappedRequestHeaders) => client.request<SetProjectEnabledMutation>(SetProjectEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetProjectEnabled', 'mutation'); }, - SetFixativeEnabled(variables: SetFixativeEnabledMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<SetFixativeEnabledMutation> { - return withWrapper((wrappedRequestHeaders) => client.request<SetFixativeEnabledMutation>(SetFixativeEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetFixativeEnabled', 'mutation'); - }, SetReleaseDestinationEnabled(variables: SetReleaseDestinationEnabledMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<SetReleaseDestinationEnabledMutation> { return withWrapper((wrappedRequestHeaders) => client.request<SetReleaseDestinationEnabledMutation>(SetReleaseDestinationEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetReleaseDestinationEnabled', 'mutation'); }, - SetProbePanelEnabled(variables: SetProbePanelEnabledMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<SetProbePanelEnabledMutation> { - return withWrapper((wrappedRequestHeaders) => client.request<SetProbePanelEnabledMutation>(SetProbePanelEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetProbePanelEnabled', 'mutation'); + SetReleaseRecipientEnabled(variables: SetReleaseRecipientEnabledMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<SetReleaseRecipientEnabledMutation> { + return withWrapper((wrappedRequestHeaders) => client.request<SetReleaseRecipientEnabledMutation>(SetReleaseRecipientEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetReleaseRecipientEnabled', 'mutation'); }, SetSlotRegionEnabled(variables: SetSlotRegionEnabledMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<SetSlotRegionEnabledMutation> { return withWrapper((wrappedRequestHeaders) => client.request<SetSlotRegionEnabledMutation>(SetSlotRegionEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetSlotRegionEnabled', 'mutation'); }, - SetReleaseRecipientEnabled(variables: SetReleaseRecipientEnabledMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<SetReleaseRecipientEnabledMutation> { - return withWrapper((wrappedRequestHeaders) => client.request<SetReleaseRecipientEnabledMutation>(SetReleaseRecipientEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetReleaseRecipientEnabled', 'mutation'); - }, SetSolutionEnabled(variables: SetSolutionEnabledMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<SetSolutionEnabledMutation> { return withWrapper((wrappedRequestHeaders) => client.request<SetSolutionEnabledMutation>(SetSolutionEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetSolutionEnabled', 'mutation'); }, @@ -7095,62 +6966,236 @@ export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper = SetWorkTypeEnabled(variables: SetWorkTypeEnabledMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<SetWorkTypeEnabledMutation> { return withWrapper((wrappedRequestHeaders) => client.request<SetWorkTypeEnabledMutation>(SetWorkTypeEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetWorkTypeEnabled', 'mutation'); }, - SetDnapStudyEnabled(variables: SetDnapStudyEnabledMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<SetDnapStudyEnabledMutation> { - return withWrapper((wrappedRequestHeaders) => client.request<SetDnapStudyEnabledMutation>(SetDnapStudyEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetDnapStudyEnabled', 'mutation'); - }, SlotCopy(variables: SlotCopyMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<SlotCopyMutation> { return withWrapper((wrappedRequestHeaders) => client.request<SlotCopyMutation>(SlotCopyDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SlotCopy', 'mutation'); }, - Store(variables: StoreMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<StoreMutation> { - return withWrapper((wrappedRequestHeaders) => client.request<StoreMutation>(StoreDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'Store', 'mutation'); - }, Stain(variables: StainMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<StainMutation> { return withWrapper((wrappedRequestHeaders) => client.request<StainMutation>(StainDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'Stain', 'mutation'); }, - Unrelease(variables: UnreleaseMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<UnreleaseMutation> { - return withWrapper((wrappedRequestHeaders) => client.request<UnreleaseMutation>(UnreleaseDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'Unrelease', 'mutation'); + Store(variables: StoreMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<StoreMutation> { + return withWrapper((wrappedRequestHeaders) => client.request<StoreMutation>(StoreDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'Store', 'mutation'); + }, + StoreBarcode(variables: StoreBarcodeMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<StoreBarcodeMutation> { + return withWrapper((wrappedRequestHeaders) => client.request<StoreBarcodeMutation>(StoreBarcodeDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'StoreBarcode', 'mutation'); }, TransferLocationItems(variables: TransferLocationItemsMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<TransferLocationItemsMutation> { return withWrapper((wrappedRequestHeaders) => client.request<TransferLocationItemsMutation>(TransferLocationItemsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'TransferLocationItems', 'mutation'); }, + Unrelease(variables: UnreleaseMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<UnreleaseMutation> { + return withWrapper((wrappedRequestHeaders) => client.request<UnreleaseMutation>(UnreleaseDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'Unrelease', 'mutation'); + }, UnstoreBarcode(variables: UnstoreBarcodeMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<UnstoreBarcodeMutation> { return withWrapper((wrappedRequestHeaders) => client.request<UnstoreBarcodeMutation>(UnstoreBarcodeDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'UnstoreBarcode', 'mutation'); }, + UpdateReleaseRecipientFullName(variables: UpdateReleaseRecipientFullNameMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<UpdateReleaseRecipientFullNameMutation> { + return withWrapper((wrappedRequestHeaders) => client.request<UpdateReleaseRecipientFullNameMutation>(UpdateReleaseRecipientFullNameDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'UpdateReleaseRecipientFullName', 'mutation'); + }, UpdateWorkDnapProject(variables: UpdateWorkDnapProjectMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<UpdateWorkDnapProjectMutation> { return withWrapper((wrappedRequestHeaders) => client.request<UpdateWorkDnapProjectMutation>(UpdateWorkDnapProjectDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'UpdateWorkDnapProject', 'mutation'); }, UpdateWorkNumBlocks(variables: UpdateWorkNumBlocksMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<UpdateWorkNumBlocksMutation> { return withWrapper((wrappedRequestHeaders) => client.request<UpdateWorkNumBlocksMutation>(UpdateWorkNumBlocksDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'UpdateWorkNumBlocks', 'mutation'); }, - StoreBarcode(variables: StoreBarcodeMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<StoreBarcodeMutation> { - return withWrapper((wrappedRequestHeaders) => client.request<StoreBarcodeMutation>(StoreBarcodeDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'StoreBarcode', 'mutation'); - }, UpdateWorkNumOriginalSamples(variables: UpdateWorkNumOriginalSamplesMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<UpdateWorkNumOriginalSamplesMutation> { return withWrapper((wrappedRequestHeaders) => client.request<UpdateWorkNumOriginalSamplesMutation>(UpdateWorkNumOriginalSamplesDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'UpdateWorkNumOriginalSamples', 'mutation'); }, UpdateWorkNumSlides(variables: UpdateWorkNumSlidesMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<UpdateWorkNumSlidesMutation> { return withWrapper((wrappedRequestHeaders) => client.request<UpdateWorkNumSlidesMutation>(UpdateWorkNumSlidesDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'UpdateWorkNumSlides', 'mutation'); }, + UpdateWorkOmeroProject(variables: UpdateWorkOmeroProjectMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<UpdateWorkOmeroProjectMutation> { + return withWrapper((wrappedRequestHeaders) => client.request<UpdateWorkOmeroProjectMutation>(UpdateWorkOmeroProjectDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'UpdateWorkOmeroProject', 'mutation'); + }, UpdateWorkPriority(variables: UpdateWorkPriorityMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<UpdateWorkPriorityMutation> { return withWrapper((wrappedRequestHeaders) => client.request<UpdateWorkPriorityMutation>(UpdateWorkPriorityDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'UpdateWorkPriority', 'mutation'); }, - UpdateWorkOmeroProject(variables: UpdateWorkOmeroProjectMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<UpdateWorkOmeroProjectMutation> { - return withWrapper((wrappedRequestHeaders) => client.request<UpdateWorkOmeroProjectMutation>(UpdateWorkOmeroProjectDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'UpdateWorkOmeroProject', 'mutation'); + VisiumAnalysis(variables: VisiumAnalysisMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<VisiumAnalysisMutation> { + return withWrapper((wrappedRequestHeaders) => client.request<VisiumAnalysisMutation>(VisiumAnalysisDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'VisiumAnalysis', 'mutation'); }, UpdateWorkStatus(variables: UpdateWorkStatusMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<UpdateWorkStatusMutation> { return withWrapper((wrappedRequestHeaders) => client.request<UpdateWorkStatusMutation>(UpdateWorkStatusDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'UpdateWorkStatus', 'mutation'); }, - VisiumAnalysis(variables: VisiumAnalysisMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<VisiumAnalysisMutation> { - return withWrapper((wrappedRequestHeaders) => client.request<VisiumAnalysisMutation>(VisiumAnalysisDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'VisiumAnalysis', 'mutation'); + Find(variables: FindQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<FindQuery> { + return withWrapper((wrappedRequestHeaders) => client.request<FindQuery>(FindDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'Find', 'query'); }, - UpdateReleaseRecipientFullName(variables: UpdateReleaseRecipientFullNameMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<UpdateReleaseRecipientFullNameMutation> { - return withWrapper((wrappedRequestHeaders) => client.request<UpdateReleaseRecipientFullNameMutation>(UpdateReleaseRecipientFullNameDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'UpdateReleaseRecipientFullName', 'mutation'); + CurrentUser(variables?: CurrentUserQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<CurrentUserQuery> { + return withWrapper((wrappedRequestHeaders) => client.request<CurrentUserQuery>(CurrentUserDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'CurrentUser', 'query'); }, - Login(variables: LoginMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<LoginMutation> { - return withWrapper((wrappedRequestHeaders) => client.request<LoginMutation>(LoginDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'Login', 'mutation'); + ExtractResult(variables: ExtractResultQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<ExtractResultQuery> { + return withWrapper((wrappedRequestHeaders) => client.request<ExtractResultQuery>(ExtractResultDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'ExtractResult', 'query'); }, - AddDestructionReason(variables: AddDestructionReasonMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<AddDestructionReasonMutation> { - return withWrapper((wrappedRequestHeaders) => client.request<AddDestructionReasonMutation>(AddDestructionReasonDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddDestructionReason', 'mutation'); + FindFiles(variables: FindFilesQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<FindFilesQuery> { + return withWrapper((wrappedRequestHeaders) => client.request<FindFilesQuery>(FindFilesDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindFiles', 'query'); + }, + FindHistoryForDonorName(variables: FindHistoryForDonorNameQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<FindHistoryForDonorNameQuery> { + return withWrapper((wrappedRequestHeaders) => client.request<FindHistoryForDonorNameQuery>(FindHistoryForDonorNameDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindHistoryForDonorName', 'query'); + }, + FindHistory(variables?: FindHistoryQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<FindHistoryQuery> { + return withWrapper((wrappedRequestHeaders) => client.request<FindHistoryQuery>(FindHistoryDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindHistory', 'query'); + }, + FindHistoryForExternalName(variables: FindHistoryForExternalNameQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<FindHistoryForExternalNameQuery> { + return withWrapper((wrappedRequestHeaders) => client.request<FindHistoryForExternalNameQuery>(FindHistoryForExternalNameDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindHistoryForExternalName', 'query'); + }, + FindHistoryForLabwareBarcode(variables: FindHistoryForLabwareBarcodeQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<FindHistoryForLabwareBarcodeQuery> { + return withWrapper((wrappedRequestHeaders) => client.request<FindHistoryForLabwareBarcodeQuery>(FindHistoryForLabwareBarcodeDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindHistoryForLabwareBarcode', 'query'); + }, + FindHistoryForSampleId(variables: FindHistoryForSampleIdQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<FindHistoryForSampleIdQuery> { + return withWrapper((wrappedRequestHeaders) => client.request<FindHistoryForSampleIdQuery>(FindHistoryForSampleIdDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindHistoryForSampleId', 'query'); + }, + FindLabwareLocation(variables: FindLabwareLocationQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<FindLabwareLocationQuery> { + return withWrapper((wrappedRequestHeaders) => client.request<FindLabwareLocationQuery>(FindLabwareLocationDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindLabwareLocation', 'query'); + }, + FindHistoryForWorkNumber(variables: FindHistoryForWorkNumberQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<FindHistoryForWorkNumberQuery> { + return withWrapper((wrappedRequestHeaders) => client.request<FindHistoryForWorkNumberQuery>(FindHistoryForWorkNumberDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindHistoryForWorkNumber', 'query'); + }, + FindLatestOperation(variables: FindLatestOperationQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<FindLatestOperationQuery> { + return withWrapper((wrappedRequestHeaders) => client.request<FindLatestOperationQuery>(FindLatestOperationDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindLatestOperation', 'query'); + }, + FindLabware(variables: FindLabwareQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<FindLabwareQuery> { + return withWrapper((wrappedRequestHeaders) => client.request<FindLabwareQuery>(FindLabwareDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindLabware', 'query'); + }, + FindPermData(variables: FindPermDataQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<FindPermDataQuery> { + return withWrapper((wrappedRequestHeaders) => client.request<FindPermDataQuery>(FindPermDataDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindPermData', 'query'); + }, + FindLocationByBarcode(variables: FindLocationByBarcodeQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<FindLocationByBarcodeQuery> { + return withWrapper((wrappedRequestHeaders) => client.request<FindLocationByBarcodeQuery>(FindLocationByBarcodeDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindLocationByBarcode', 'query'); + }, + FindPlanData(variables: FindPlanDataQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<FindPlanDataQuery> { + return withWrapper((wrappedRequestHeaders) => client.request<FindPlanDataQuery>(FindPlanDataDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindPlanData', 'query'); + }, + FindPassFails(variables: FindPassFailsQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<FindPassFailsQuery> { + return withWrapper((wrappedRequestHeaders) => client.request<FindPassFailsQuery>(FindPassFailsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindPassFails', 'query'); + }, + FindSamplePositions(variables: FindSamplePositionsQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<FindSamplePositionsQuery> { + return withWrapper((wrappedRequestHeaders) => client.request<FindSamplePositionsQuery>(FindSamplePositionsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindSamplePositions', 'query'); + }, + FindReagentPlate(variables: FindReagentPlateQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<FindReagentPlateQuery> { + return withWrapper((wrappedRequestHeaders) => client.request<FindReagentPlateQuery>(FindReagentPlateDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindReagentPlate', 'query'); + }, + FindStoragePath(variables: FindStoragePathQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<FindStoragePathQuery> { + return withWrapper((wrappedRequestHeaders) => client.request<FindStoragePathQuery>(FindStoragePathDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindStoragePath', 'query'); + }, + FindWorkInfo(variables: FindWorkInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<FindWorkInfoQuery> { + return withWrapper((wrappedRequestHeaders) => client.request<FindWorkInfoQuery>(FindWorkInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindWorkInfo', 'query'); + }, + FindWorkNumbers(variables: FindWorkNumbersQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<FindWorkNumbersQuery> { + return withWrapper((wrappedRequestHeaders) => client.request<FindWorkNumbersQuery>(FindWorkNumbersDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindWorkNumbers', 'query'); + }, + FindWorksCreatedBy(variables: FindWorksCreatedByQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<FindWorksCreatedByQuery> { + return withWrapper((wrappedRequestHeaders) => client.request<FindWorksCreatedByQuery>(FindWorksCreatedByDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindWorksCreatedBy', 'query'); + }, + FindWorkProgress(variables?: FindWorkProgressQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<FindWorkProgressQuery> { + return withWrapper((wrappedRequestHeaders) => client.request<FindWorkProgressQuery>(FindWorkProgressDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindWorkProgress', 'query'); + }, + GetAllWorkInfo(variables?: GetAllWorkInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetAllWorkInfoQuery> { + return withWrapper((wrappedRequestHeaders) => client.request<GetAllWorkInfoQuery>(GetAllWorkInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetAllWorkInfo', 'query'); + }, + GetBlockProcessingInfo(variables?: GetBlockProcessingInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetBlockProcessingInfoQuery> { + return withWrapper((wrappedRequestHeaders) => client.request<GetBlockProcessingInfoQuery>(GetBlockProcessingInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetBlockProcessingInfo', 'query'); + }, + GetComments(variables?: GetCommentsQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetCommentsQuery> { + return withWrapper((wrappedRequestHeaders) => client.request<GetCommentsQuery>(GetCommentsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetComments', 'query'); + }, + GetConfiguration(variables?: GetConfigurationQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetConfigurationQuery> { + return withWrapper((wrappedRequestHeaders) => client.request<GetConfigurationQuery>(GetConfigurationDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetConfiguration', 'query'); + }, + GetDestroyInfo(variables?: GetDestroyInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetDestroyInfoQuery> { + return withWrapper((wrappedRequestHeaders) => client.request<GetDestroyInfoQuery>(GetDestroyInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetDestroyInfo', 'query'); + }, + GetDestructionReasons(variables?: GetDestructionReasonsQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetDestructionReasonsQuery> { + return withWrapper((wrappedRequestHeaders) => client.request<GetDestructionReasonsQuery>(GetDestructionReasonsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetDestructionReasons', 'query'); + }, + GetFFPEProcessingInfo(variables?: GetFfpeProcessingInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetFfpeProcessingInfoQuery> { + return withWrapper((wrappedRequestHeaders) => client.request<GetFfpeProcessingInfoQuery>(GetFfpeProcessingInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetFFPEProcessingInfo', 'query'); + }, + GetLabwareCosting(variables: GetLabwareCostingQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetLabwareCostingQuery> { + return withWrapper((wrappedRequestHeaders) => client.request<GetLabwareCostingQuery>(GetLabwareCostingDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetLabwareCosting', 'query'); + }, + GetLabwareInLocation(variables: GetLabwareInLocationQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetLabwareInLocationQuery> { + return withWrapper((wrappedRequestHeaders) => client.request<GetLabwareInLocationQuery>(GetLabwareInLocationDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetLabwareInLocation', 'query'); + }, + GetLabwareOperations(variables: GetLabwareOperationsQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetLabwareOperationsQuery> { + return withWrapper((wrappedRequestHeaders) => client.request<GetLabwareOperationsQuery>(GetLabwareOperationsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetLabwareOperations', 'query'); + }, + GetNextReplicateNumber(variables: GetNextReplicateNumberQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetNextReplicateNumberQuery> { + return withWrapper((wrappedRequestHeaders) => client.request<GetNextReplicateNumberQuery>(GetNextReplicateNumberDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetNextReplicateNumber', 'query'); + }, + GetOmeroProjects(variables?: GetOmeroProjectsQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetOmeroProjectsQuery> { + return withWrapper((wrappedRequestHeaders) => client.request<GetOmeroProjectsQuery>(GetOmeroProjectsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetOmeroProjects', 'query'); + }, + GetPrinters(variables?: GetPrintersQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetPrintersQuery> { + return withWrapper((wrappedRequestHeaders) => client.request<GetPrintersQuery>(GetPrintersDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetPrinters', 'query'); + }, + GetProbePanels(variables?: GetProbePanelsQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetProbePanelsQuery> { + return withWrapper((wrappedRequestHeaders) => client.request<GetProbePanelsQuery>(GetProbePanelsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetProbePanels', 'query'); + }, + GetPrograms(variables?: GetProgramsQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetProgramsQuery> { + return withWrapper((wrappedRequestHeaders) => client.request<GetProgramsQuery>(GetProgramsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetPrograms', 'query'); + }, + GetPotProcessingInfo(variables?: GetPotProcessingInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetPotProcessingInfoQuery> { + return withWrapper((wrappedRequestHeaders) => client.request<GetPotProcessingInfoQuery>(GetPotProcessingInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetPotProcessingInfo', 'query'); + }, + GetRecordExtractResultInfo(variables?: GetRecordExtractResultInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetRecordExtractResultInfoQuery> { + return withWrapper((wrappedRequestHeaders) => client.request<GetRecordExtractResultInfoQuery>(GetRecordExtractResultInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetRecordExtractResultInfo', 'query'); + }, + GetRecordInPlaceInfo(variables?: GetRecordInPlaceInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetRecordInPlaceInfoQuery> { + return withWrapper((wrappedRequestHeaders) => client.request<GetRecordInPlaceInfoQuery>(GetRecordInPlaceInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetRecordInPlaceInfo', 'query'); + }, + GetRegistrationInfo(variables?: GetRegistrationInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetRegistrationInfoQuery> { + return withWrapper((wrappedRequestHeaders) => client.request<GetRegistrationInfoQuery>(GetRegistrationInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetRegistrationInfo', 'query'); + }, + GetReleaseInfo(variables?: GetReleaseInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetReleaseInfoQuery> { + return withWrapper((wrappedRequestHeaders) => client.request<GetReleaseInfoQuery>(GetReleaseInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetReleaseInfo', 'query'); + }, + GetSectioningConfirmInfo(variables?: GetSectioningConfirmInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetSectioningConfirmInfoQuery> { + return withWrapper((wrappedRequestHeaders) => client.request<GetSectioningConfirmInfoQuery>(GetSectioningConfirmInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetSectioningConfirmInfo', 'query'); + }, + GetSearchInfo(variables?: GetSearchInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetSearchInfoQuery> { + return withWrapper((wrappedRequestHeaders) => client.request<GetSearchInfoQuery>(GetSearchInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetSearchInfo', 'query'); + }, + GetSlotRegions(variables?: GetSlotRegionsQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetSlotRegionsQuery> { + return withWrapper((wrappedRequestHeaders) => client.request<GetSlotRegionsQuery>(GetSlotRegionsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetSlotRegions', 'query'); + }, + GetSampleProcessingCommentsInfo(variables?: GetSampleProcessingCommentsInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetSampleProcessingCommentsInfoQuery> { + return withWrapper((wrappedRequestHeaders) => client.request<GetSampleProcessingCommentsInfoQuery>(GetSampleProcessingCommentsInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetSampleProcessingCommentsInfo', 'query'); + }, + GetSolutionTransferInfo(variables?: GetSolutionTransferInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetSolutionTransferInfoQuery> { + return withWrapper((wrappedRequestHeaders) => client.request<GetSolutionTransferInfoQuery>(GetSolutionTransferInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetSolutionTransferInfo', 'query'); + }, + GetStainInfo(variables?: GetStainInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetStainInfoQuery> { + return withWrapper((wrappedRequestHeaders) => client.request<GetStainInfoQuery>(GetStainInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetStainInfo', 'query'); + }, + GetSectioningInfo(variables?: GetSectioningInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetSectioningInfoQuery> { + return withWrapper((wrappedRequestHeaders) => client.request<GetSectioningInfoQuery>(GetSectioningInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetSectioningInfo', 'query'); + }, + GetStainingQCInfo(variables?: GetStainingQcInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetStainingQcInfoQuery> { + return withWrapper((wrappedRequestHeaders) => client.request<GetStainingQcInfoQuery>(GetStainingQcInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetStainingQCInfo', 'query'); + }, + GetSuggestedLabwareForWork(variables: GetSuggestedLabwareForWorkQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetSuggestedLabwareForWorkQuery> { + return withWrapper((wrappedRequestHeaders) => client.request<GetSuggestedLabwareForWorkQuery>(GetSuggestedLabwareForWorkDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetSuggestedLabwareForWork', 'query'); + }, + GetSuggestedWorkForLabware(variables: GetSuggestedWorkForLabwareQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetSuggestedWorkForLabwareQuery> { + return withWrapper((wrappedRequestHeaders) => client.request<GetSuggestedWorkForLabwareQuery>(GetSuggestedWorkForLabwareDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetSuggestedWorkForLabware', 'query'); + }, + GetWorkAllocationInfo(variables: GetWorkAllocationInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetWorkAllocationInfoQuery> { + return withWrapper((wrappedRequestHeaders) => client.request<GetWorkAllocationInfoQuery>(GetWorkAllocationInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetWorkAllocationInfo', 'query'); + }, + GetWorkNumbers(variables?: GetWorkNumbersQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetWorkNumbersQuery> { + return withWrapper((wrappedRequestHeaders) => client.request<GetWorkNumbersQuery>(GetWorkNumbersDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetWorkNumbers', 'query'); + }, + GetVisiumQCInfo(variables?: GetVisiumQcInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetVisiumQcInfoQuery> { + return withWrapper((wrappedRequestHeaders) => client.request<GetVisiumQcInfoQuery>(GetVisiumQcInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetVisiumQCInfo', 'query'); + }, + GetWorkSummary(variables?: GetWorkSummaryQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetWorkSummaryQuery> { + return withWrapper((wrappedRequestHeaders) => client.request<GetWorkSummaryQuery>(GetWorkSummaryDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetWorkSummary', 'query'); + }, + GetWorkTypes(variables?: GetWorkTypesQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetWorkTypesQuery> { + return withWrapper((wrappedRequestHeaders) => client.request<GetWorkTypesQuery>(GetWorkTypesDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetWorkTypes', 'query'); + }, + GetXeniumQCInfo(variables?: GetXeniumQcInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetXeniumQcInfoQuery> { + return withWrapper((wrappedRequestHeaders) => client.request<GetXeniumQcInfoQuery>(GetXeniumQcInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetXeniumQCInfo', 'query'); + }, + GetWorkProgressInputs(variables?: GetWorkProgressInputsQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetWorkProgressInputsQuery> { + return withWrapper((wrappedRequestHeaders) => client.request<GetWorkProgressInputsQuery>(GetWorkProgressInputsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetWorkProgressInputs', 'query'); } }; } diff --git a/src/types/stan.ts b/src/types/stan.ts index 3532bd774..17dca756a 100644 --- a/src/types/stan.ts +++ b/src/types/stan.ts @@ -261,14 +261,18 @@ export type HistoryTableEntry = { username: string; workNumber?: Maybe<string>; details: Array<string>; + address?: string; + sectionPosition?:string }; +/* const historyStrKeys = [ "externalName", "donorName", "labwareBarcode", "workNumber", ] as const; + type HistoryStrKeys = typeof historyStrKeys[number]; const historyNumKeys = ["sampleId"] as const; type HistoryNumKeys = typeof historyNumKeys[number]; @@ -292,7 +296,7 @@ export const historySchema = Yup.object({ .required(), }).required(); -export type HistoryProps = HistoryStrProps | HistoryNumProps; +export type HistoryProps = HistoryStrProps | HistoryNumProps;*/ /** * Sort functionality for Status. The status need to be sorted in the order "active", "completed", "paused", "failed"