diff --git a/cypress/e2e/pages/configuration.cy.ts b/cypress/e2e/pages/configuration.cy.ts index 5aa6d9a02..18a7738ff 100644 --- a/cypress/e2e/pages/configuration.cy.ts +++ b/cypress/e2e/pages/configuration.cy.ts @@ -1,4 +1,9 @@ -import { AddReleaseRecipientMutation, AddReleaseRecipientMutationVariables } from '../../../src/types/sdk'; +import { + AddReleaseRecipientMutation, + AddReleaseRecipientMutationVariables, + UpdateReleaseRecipientFullNameMutation, + UpdateReleaseRecipientFullNameMutationVariables +} from '../../../src/types/sdk'; import { selectOption } from '../shared/customReactSelect.cy'; describe('Configuration Spec', () => { @@ -116,6 +121,39 @@ describe('Configuration Spec', () => { }); }); + describe('displays extra input field when specified', () => { + const config = { + name: 'Release Recipients', + tabName: 'Release Recipients', + field: 'cs41', + extraFieldValue: 'Csaba Csordas', + buttonName: '+ Add Username', + newValue: 'az99', + newExtraFieldValue: 'Arielle Zimran' + }; + context('configuration table should contains extra column to display extra field values', () => { + before(() => { + cy.scrollTo(0, 0); + cy.findByText(config.name).click(); + }); + + it('displays extra field values', () => { + cy.get(`div[data-testid="config"]:contains(${config.name})`) + .find(`tr:contains(${config.field}) `) + .find('input') + .first() + .should('have.value', config.extraFieldValue); + }); + + it('displays extra field input when adding new entity', () => { + clickButton(config.buttonName); + cy.findByTestId('input-field').scrollIntoView().focus().type(`${config.newValue}`); + enterNewExtraFieldValue(config.extraFieldValue); + cy.findByText('Saved').scrollIntoView().should('be.visible'); + }); + }); + }); + context('When adding a Release Recipients fails', () => { before(() => { cy.msw().then(({ worker, graphql }) => { @@ -134,8 +172,6 @@ describe('Configuration Spec', () => { ) ); }); - cy.scrollTo(0, 0); - cy.findByText('Release Recipients').click(); }); it('shows an error message', () => { @@ -147,8 +183,40 @@ describe('Configuration Spec', () => { }); }); }); + + context('When Updating a Release Recipient full name successfully', () => { + before(() => { + cy.msw().then(({ worker, graphql }) => { + worker.use( + graphql.mutation( + 'UpdateReleaseRecipientFullName', + (req, res, ctx) => { + return res.once( + ctx.data({ + updateReleaseRecipientFullName: { + username: 'et2', + fullName: 'Ethan Twin', + enabled: true + } + }) + ); + } + ) + ); + }); + cy.get(`div[data-testid="config"]:contains('Release Recipients')`) + .find(`tr:contains('et2') `) + .find('input') + .first() + .focus() + .type(`Ethan Twin {enter}`, { force: true }); + }); + it('shows a success message', () => { + cy.findByText('Changes for "et2" saved').should('be.visible'); + }); + }); function selectElement(findTag: string) { - return cy.get(findTag).scrollIntoView().click({ + return cy.get(findTag).last().scrollIntoView().click({ force: true }); } @@ -158,4 +226,8 @@ describe('Configuration Spec', () => { function enterNewValue(value: string) { cy.findByTestId('input-field').scrollIntoView().focus().type(`${value}{enter}`, { force: true }); } + + function enterNewExtraFieldValue(value: string) { + cy.findByTestId('extra-input-field').scrollIntoView().focus().type(`${value}{enter}`, { force: true }); + } }); diff --git a/src/components/Table.tsx b/src/components/Table.tsx index 932e6335d..0a6274ce3 100644 --- a/src/components/Table.tsx +++ b/src/components/Table.tsx @@ -15,6 +15,7 @@ interface TableHeaderProps { sortProps?: SortProps; children?: ReactNode | ReactNode[]; allCapital?: boolean; + colSpan?: number; } /** * @example @@ -58,9 +59,9 @@ export const TableHead = ({ children, fixed = false }: TableHeadProps) => { return {children}; }; -export const TableHeader = ({ children, sortProps, allCapital = true, ...rest }: TableHeaderProps) => { +export const TableHeader = ({ children, sortProps, allCapital = true, colSpan, ...rest }: TableHeaderProps) => { return ( - + <> { = { + label: string; + value: string; + keyFieldPlaceholder: string; + extraFieldPlaceholder: string; + onChange(value: string, extraValue?: string): Promise; +}; + type EntityManagerProps = { /** * The initial entities to display in the table @@ -55,7 +63,7 @@ type EntityManagerProps = { * Callback when a new entity is to be created * @param value the value of the new entity */ - onCreate(value: string): Promise; + onCreate(value: string, extraValue?: string): Promise; /** * Callback when value changes @@ -66,8 +74,12 @@ type EntityManagerProps = { * Display key field as a dropdown */ displayKeyFieldAsDropDown?: boolean; -}; + /** + * Extra property of the entity to display in the table + */ + extraDisplayColumnName?: ExtraEntityColumn; +}; export default function EntityManager>({ initialEntities, displayKeyColumnName, @@ -76,22 +88,27 @@ export default function EntityManager> valueFieldComponentInfo, onCreate, onChangeValue, - displayKeyFieldAsDropDown = false + displayKeyFieldAsDropDown = false, + extraDisplayColumnName = undefined }: EntityManagerProps) { const entityManagerMachine = React.useMemo(() => { return createEntityManagerMachine(initialEntities, displayKeyColumnName, valueColumnName).withConfig({ services: { createEntity: (ctx, e) => { if (e.type !== 'CREATE_NEW_ENTITY') return Promise.reject(); - return onCreate(e.value); + return onCreate(e.value, e.extraValue); }, valueChanged: (context, e) => { if (e.type !== 'VALUE_CHANGE') return Promise.reject(); return onChangeValue(e.entity, e.value); + }, + updateExtraProperty: (context, e) => { + if (e.type !== 'EXTRA_PROPERTY_UPDATE_VALUE' || !extraDisplayColumnName) return Promise.reject(); + return extraDisplayColumnName.onChange(e.value, e.extraValue); } } }); - }, [initialEntities, displayKeyColumnName, valueColumnName, onChangeValue, onCreate]); + }, [initialEntities, displayKeyColumnName, valueColumnName, onChangeValue, onCreate, extraDisplayColumnName]); const [current, send] = useMachine(entityManagerMachine); @@ -118,6 +135,7 @@ export default function EntityManager> * Will receive focus when it appears on screen. */ const inputRef = useRef(null); + const extraInputRef = useRef(null); useEffect(() => { if (current.matches('draftCreation')) { inputRef.current?.select(); @@ -132,9 +150,13 @@ export default function EntityManager> if (value === '') { return; } - send({ type: 'CREATE_NEW_ENTITY', value }); + let extraValue: string | undefined; + if (extraDisplayColumnName) { + extraValue = extraInputRef.current?.value.trim(); + } + send({ type: 'CREATE_NEW_ENTITY', value, extraValue }); setDraftValue(''); - }, [draftValue, setDraftValue, send]); + }, [draftValue, setDraftValue, send, extraDisplayColumnName]); /** * Callback handler for when an EntityRow changes (i.e. enabled property is toggled) @@ -171,6 +193,28 @@ export default function EntityManager> */ const handleOnCancel = () => send({ type: 'DISCARD_DRAFT' }); + const handleExtraValueUpdate = useCallback( + (keyValue: string, extraValue: string) => { + send({ + type: 'EXTRA_PROPERTY_UPDATE_VALUE', + value: keyValue, + extraValue: extraValue + }); + }, + [send] + ); + + const handleOnChangeForExtraDisplayColumn = useCallback( + (entity: E, extraValue: string) => { + if (!extraDisplayColumnName) return; + send({ + type: 'EXTRA_PROPERTY_DRAFT_VALUE', + entity: { ...entity, [extraDisplayColumnName.value]: extraValue } + }); + }, + [send, extraDisplayColumnName] + ); + const getValueFieldComponent = ( valueFieldComponentInfo: ValueFieldComponentInfo, entity: E | undefined, @@ -204,6 +248,47 @@ export default function EntityManager> return <>; } }; + const setInputFieldsRow = () => { + return ( + + + ) => { + if (e.key === 'Enter') { + handleOnSave(); + } else if (e.key === 'Escape') { + handleOnCancel(); + } + }} + /> + + {extraDisplayColumnName && ( + + ) => { + if (e.key === 'Enter') { + handleOnSave(); + } else if (e.key === 'Escape') { + handleOnCancel(); + } + }} + /> + + )} + + ); + }; return (
@@ -212,8 +297,9 @@ export default function EntityManager> - {displayKeyColumnName} - {valueColumnName} + {displayKeyColumnName} + {extraDisplayColumnName && {extraDisplayColumnName.label}} + {valueColumnName} @@ -241,7 +327,25 @@ export default function EntityManager> ) : ( orderedEntities.map((entity, indx) => ( - {entity[displayKeyColumnName]} + {entity[displayKeyColumnName]} + {extraDisplayColumnName && ( + + ) => { + if (e.key === 'Enter') { + handleExtraValueUpdate(String(entity[displayKeyColumnName]), e.currentTarget.value); + e.currentTarget.blur(); + } + }} + onChange={(e: React.ChangeEvent) => { + handleOnChangeForExtraDisplayColumn(entity, e.target.value); + }} + value={String(entity[extraDisplayColumnName.value])} + /> + + )} {getValueFieldComponent( valueFieldComponentInfo, entity, @@ -251,26 +355,7 @@ export default function EntityManager> )) )} - {showDraft && ( - - - ) => { - if (e.key === 'Enter') { - handleOnSave(); - } else if (e.key === 'Escape') { - handleOnCancel(); - } - }} - /> - - - )} + {showDraft && setInputFieldsRow()}
diff --git a/src/components/entityManager/entityManager.machine.ts b/src/components/entityManager/entityManager.machine.ts index 7ab1c7fcf..99eb29402 100644 --- a/src/components/entityManager/entityManager.machine.ts +++ b/src/components/entityManager/entityManager.machine.ts @@ -25,16 +25,21 @@ type EntityManagerEvent = | { type: 'CREATE_NEW_ENTITY'; value: string; + extraValue?: string; } | { type: 'SELECT_ENTITY'; entity: E | undefined; } | { type: 'DISCARD_DRAFT' } + | { type: 'EXTRA_PROPERTY_UPDATE_VALUE'; value: string; extraValue: string } + | { type: 'EXTRA_PROPERTY_DRAFT_VALUE'; entity: E } | MachineServiceDone<'valueChanged', E> | MachineServiceError<'valueChanged', ClientError> | MachineServiceDone<'createEntity', E> - | MachineServiceError<'createEntity', ClientError>; + | MachineServiceError<'createEntity', ClientError> + | MachineServiceDone<'updateExtraProperty', E> + | MachineServiceError<'updateExtraProperty', ClientError>; export function createEntityManagerMachine(entities: Array, keyField: keyof E, valueField: keyof E) { return createMachine, EntityManagerEvent>( @@ -53,7 +58,9 @@ export function createEntityManagerMachine(entities: Array, keyField: keyo on: { VALUE_CHANGE: 'loading.valueChanged', DRAFT_NEW_ENTITY: 'draftCreation', - SELECT_ENTITY: { actions: 'assignSelectedEntity' } + SELECT_ENTITY: { actions: 'assignSelectedEntity' }, + EXTRA_PROPERTY_UPDATE_VALUE: 'loading.updatingExtraProperty', + EXTRA_PROPERTY_DRAFT_VALUE: { actions: 'draftExtraPropertyValue' } } }, draftCreation: { @@ -93,6 +100,20 @@ export function createEntityManagerMachine(entities: Array, keyField: keyo actions: 'assignErrorMessage' } } + }, + updatingExtraProperty: { + invoke: { + id: 'updateExtraProperty', + src: 'updateExtraProperty', + onDone: { + target: '#entityManager.ready', + actions: 'updateExtraProperty' + }, + onError: { + target: '#entityManager.ready', + actions: 'assignErrorMessage' + } + } } } } @@ -111,7 +132,11 @@ export function createEntityManagerMachine(entities: Array, keyField: keyo }), assignErrorMessage: assign((ctx, e) => { - if (e.type !== 'error.platform.createEntity' && e.type !== 'error.platform.valueChanged') { + if ( + e.type !== 'error.platform.createEntity' && + e.type !== 'error.platform.valueChanged' && + e.type !== 'error.platform.updateExtraProperty' + ) { return {}; } return { @@ -128,7 +153,6 @@ export function createEntityManagerMachine(entities: Array, keyField: keyo error: null }; }), - updateEntity: assign((ctx, e) => { if (e.type !== 'done.invoke.valueChanged') { return {}; @@ -149,6 +173,23 @@ export function createEntityManagerMachine(entities: Array, keyField: keyo } }) }; + }), + draftExtraPropertyValue: assign((ctx, e) => { + if (e.type !== 'EXTRA_PROPERTY_DRAFT_VALUE') return {}; + return { + entities: ctx.entities.map((entity) => + entity[ctx.keyField] === e.entity[ctx.keyField] ? e.entity : entity + ) + }; + }), + updateExtraProperty: assign((ctx, e) => { + if (e.type !== 'done.invoke.updateExtraProperty') { + return {}; + } + return { + successMessage: `Changes for "${e.data[ctx.keyField]}" saved`, + entities: ctx.entities.map((entity) => (entity[ctx.keyField] === e.data[ctx.keyField] ? e.data : entity)) + }; }) } } diff --git a/src/graphql/fragments/ReleaseRecipientFields.graphql b/src/graphql/fragments/ReleaseRecipientFields.graphql index 755b0ead2..8bcfbb25c 100644 --- a/src/graphql/fragments/ReleaseRecipientFields.graphql +++ b/src/graphql/fragments/ReleaseRecipientFields.graphql @@ -1,4 +1,5 @@ fragment ReleaseRecipientFields on ReleaseRecipient { username + fullName enabled } diff --git a/src/graphql/mutations/AddReleaseRecipient.graphql b/src/graphql/mutations/AddReleaseRecipient.graphql index fb6979df1..5de275d0b 100644 --- a/src/graphql/mutations/AddReleaseRecipient.graphql +++ b/src/graphql/mutations/AddReleaseRecipient.graphql @@ -1,5 +1,5 @@ -mutation AddReleaseRecipient($username: String!) { - addReleaseRecipient(username: $username) { +mutation AddReleaseRecipient($username: String!, $fullName: String) { + addReleaseRecipient(username: $username, fullName: $fullName) { ...ReleaseRecipientFields } } diff --git a/src/graphql/mutations/UpdateReleaseRecipientFullName.graphql b/src/graphql/mutations/UpdateReleaseRecipientFullName.graphql new file mode 100644 index 000000000..b05d0cc08 --- /dev/null +++ b/src/graphql/mutations/UpdateReleaseRecipientFullName.graphql @@ -0,0 +1,5 @@ +mutation UpdateReleaseRecipientFullName($username: String!, $fullName: String) { + updateReleaseRecipientFullName(username: $username, fullName: $fullName) { + ...ReleaseRecipientFields + } +} diff --git a/src/mocks/handlers/releaseRecipientHandlers.ts b/src/mocks/handlers/releaseRecipientHandlers.ts index 805a48611..15514c0ea 100644 --- a/src/mocks/handlers/releaseRecipientHandlers.ts +++ b/src/mocks/handlers/releaseRecipientHandlers.ts @@ -3,7 +3,9 @@ import { AddReleaseRecipientMutation, AddReleaseRecipientMutationVariables, SetReleaseRecipientEnabledMutation, - SetReleaseRecipientEnabledMutationVariables + SetReleaseRecipientEnabledMutationVariables, + UpdateReleaseRecipientFullNameMutation, + UpdateReleaseRecipientFullNameMutationVariables } from '../../types/sdk'; import releaseRecipientFactory from '../../lib/factories/releaseRecipientFactory'; import releaseRecipientRepository from '../repositories/releaseRecipientRepository'; @@ -13,7 +15,8 @@ const releaseRecipientHandlers = [ 'AddReleaseRecipient', (req, res, ctx) => { const addReleaseRecipient = releaseRecipientFactory.build({ - username: req.variables.username + username: req.variables.username, + fullName: req.variables.fullName }); releaseRecipientRepository.save(addReleaseRecipient); return res(ctx.data({ addReleaseRecipient })); @@ -38,6 +41,18 @@ const releaseRecipientHandlers = [ ); } } + ), + + graphql.mutation( + 'UpdateReleaseRecipientFullName', + (req, res, ctx) => { + const updateReleaseRecipientFullName = releaseRecipientFactory.build({ + username: req.variables.username, + fullName: req.variables.fullName + }); + releaseRecipientRepository.save(updateReleaseRecipientFullName); + return res(ctx.data({ updateReleaseRecipientFullName })); + } ) ]; diff --git a/src/mocks/repositories/releaseRecipientRepository.ts b/src/mocks/repositories/releaseRecipientRepository.ts index 3a7a55863..e103b7c4a 100644 --- a/src/mocks/repositories/releaseRecipientRepository.ts +++ b/src/mocks/repositories/releaseRecipientRepository.ts @@ -5,7 +5,7 @@ import releaseRecipientFactory from '../../lib/factories/releaseRecipientFactory const seeds: Array = [ releaseRecipientFactory.build({ username: 'et2' }), releaseRecipientFactory.build({ username: 'cm18' }), - releaseRecipientFactory.build({ username: 'cs41' }), + releaseRecipientFactory.build({ username: 'cs41', fullName: 'Csaba Csordas' }), releaseRecipientFactory.build({ username: 'kr19' }), releaseRecipientFactory.build({ username: 'lb28' }), releaseRecipientFactory.build({ username: 're5' }), diff --git a/src/pages/Configuration.tsx b/src/pages/Configuration.tsx index 4e14e1aee..2c64908d7 100644 --- a/src/pages/Configuration.tsx +++ b/src/pages/Configuration.tsx @@ -347,7 +347,10 @@ export default function Configuration({ configuration }: ConfigurationParams) { also available on the SGP Management page as "Work Requester"

({ + ...rr, + fullName: rr.fullName || '' + }))} displayKeyColumnName={'username'} valueColumnName={'enabled'} onChangeValue={(entity, value) => { @@ -355,14 +358,40 @@ export default function Configuration({ configuration }: ConfigurationParams) { return stanCore .SetReleaseRecipientEnabled({ enabled, - username: entity.username + username: String(entity.username) }) - .then((res) => res.setReleaseRecipientEnabled); + .then((res) => { + return { + ...res.setReleaseRecipientEnabled, + fullName: res.setReleaseRecipientEnabled.fullName || '' + }; + }); + }} + onCreate={(username, fullName) => { + return stanCore.AddReleaseRecipient({ username, fullName }).then((res) => { + return { + ...res.addReleaseRecipient, + fullName: res.addReleaseRecipient.fullName || '' + }; + }); }} - onCreate={(username) => stanCore.AddReleaseRecipient({ username }).then((res) => res.addReleaseRecipient)} valueFieldComponentInfo={{ type: 'CHECKBOX' }} + extraDisplayColumnName={{ + label: 'Full Name', + value: 'fullName', + extraFieldPlaceholder: 'Enter Full Name', + keyFieldPlaceholder: 'Enter User ID', + onChange: (username, fullName) => { + return stanCore.UpdateReleaseRecipientFullName({ username, fullName }).then((res) => { + return { + ...res.updateReleaseRecipientFullName, + fullName: res.updateReleaseRecipientFullName.fullName || '' + }; + }); + } + }} />
, diff --git a/src/types/sdk.ts b/src/types/sdk.ts index ed63bbf25..cc89acb86 100644 --- a/src/types/sdk.ts +++ b/src/types/sdk.ts @@ -739,6 +739,7 @@ export type ReleaseDestination = { export type ReleaseRecipient = { __typename?: 'ReleaseRecipient'; username: Scalars['String']; + fullName?: Maybe; enabled: Scalars['Boolean']; }; @@ -2429,6 +2430,8 @@ export type Mutation = { setReleaseDestinationEnabled: ReleaseDestination; /** Create a new release recipient that can be associated with labware releases. */ addReleaseRecipient: ReleaseRecipient; + /** Update a release recipient fullName. */ + updateReleaseRecipientFullName: ReleaseRecipient; /** Enable or disable a release recipient. */ setReleaseRecipientEnabled: ReleaseRecipient; /** Create a new species that can be associated with donors in tissue registration. */ @@ -2764,6 +2767,17 @@ export type MutationSetReleaseDestinationEnabledArgs = { */ export type MutationAddReleaseRecipientArgs = { username: Scalars['String']; + fullName?: InputMaybe; +}; + + +/** + * Send information to the application. + * These typically require a user with the suitable permission for the particular request. + */ +export type MutationUpdateReleaseRecipientFullNameArgs = { + username: Scalars['String']; + fullName?: InputMaybe; }; @@ -3378,103 +3392,101 @@ export type MutationSetLocationCustomNameArgs = { customName?: InputMaybe; }; -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 CommentFieldsFragment = { __typename?: 'Comment', id: number, text: string, category: string, enabled: boolean }; - -export type CostCodeFieldsFragment = { __typename?: 'CostCode', code: string, enabled: boolean }; - -export type DnapStudyFieldsFragment = { __typename?: 'DnapStudy', name: string, enabled: boolean }; - export type DestructionReasonFieldsFragment = { __typename?: 'DestructionReason', id: number, text: string, enabled: boolean }; -export type EquipmentFieldsFragment = { __typename?: 'Equipment', id: number, name: string, category: string, enabled: boolean }; +export type DnapStudyFieldsFragment = { __typename?: 'DnapStudy', name: string, enabled: boolean }; export type AddressPermDataFieldsFragment = { __typename?: 'AddressPermData', address: string, controlType?: ControlType | null, seconds?: number | null, selected: boolean }; -export type FixativeFieldsFragment = { __typename?: 'Fixative', name: 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 CostCodeFieldsFragment = { __typename?: 'CostCode', code: 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, 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 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 FileFieldsFragment = { __typename?: 'StanFile', created: string, name: string, url: string, work: { __typename?: 'Work', workNumber: string } }; -export type HmdmcFieldsFragment = { __typename?: 'Hmdmc', hmdmc: string, enabled: boolean }; +export type FixativeFieldsFragment = { __typename?: 'Fixative', name: string, enabled: boolean }; export type HistoryEntryFieldsFragment = { __typename?: 'HistoryEntry', destinationLabwareId: number, details: Array, eventId: number, sampleId?: number | null, sourceLabwareId: number, time: string, username: string, type: string, workNumber?: string | null }; -export type NextReplicateDataFieldsFragment = { __typename?: 'NextReplicateData', barcodes: Array, donorId: number, nextReplicateNumber: number, spatialLocationId: 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 EquipmentFieldsFragment = { __typename?: 'Equipment', id: number, name: string, category: string, enabled: boolean }; -export type LinkedLocationFieldsFragment = { __typename?: 'LinkedLocation', barcode: string, fixedName?: string | null, customName?: string | null, address?: string | null }; +export type HmdmcFieldsFragment = { __typename?: 'Hmdmc', hmdmc: string, enabled: boolean }; -export type ProgramFieldsFragment = { __typename?: 'Program', name: 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, donorId: number, nextReplicateNumber: number, spatialLocationId: number }; + export type OmeroProjectFieldsFragment = { __typename?: 'OmeroProject', name: string, enabled: boolean }; -export type PrinterFieldsFragment = { __typename?: 'Printer', name: string, labelTypes: Array<{ __typename?: 'LabelType', name: string }> }; +export type LinkedLocationFieldsFragment = { __typename?: 'LinkedLocation', barcode: string, fixedName?: string | null, customName?: string | null, address?: string | null }; -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 PrinterFieldsFragment = { __typename?: 'Printer', name: string, labelTypes: Array<{ __typename?: 'LabelType', name: string }> }; 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 ProbePanelFieldsFragment = { __typename?: 'ProbePanel', name: string, enabled: boolean }; - 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 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 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 ProgramFieldsFragment = { __typename?: 'Program', name: string, enabled: boolean }; -export type ReleaseRecipientFieldsFragment = { __typename?: 'ReleaseRecipient', username: 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, 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 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 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 ReleaseDestinationFieldsFragment = { __typename?: 'ReleaseDestination', name: string, enabled: boolean }; export type ReagentSlotFieldsFragment = { __typename?: 'ReagentSlot', address: string, used: boolean }; -export type SlotRegionFieldsFragment = { __typename?: 'SlotRegion', enabled: boolean, name: string }; +export type SlotPassFailFieldsFragment = { __typename?: 'SlotPassFail', address: string, result: PassFail, comment?: string | null }; -export type SuggestedWorkFieldsFragment = { __typename?: 'SuggestedWork', barcode: string, workNumber?: string | null }; +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 SpeciesFieldsFragment = { __typename?: 'Species', name: string, enabled: boolean }; +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 StainTypeFieldsFragment = { __typename?: 'StainType', name: string, measurementTypes: Array }; +export type ReleaseRecipientFieldsFragment = { __typename?: 'ReleaseRecipient', username: string, fullName?: string | null, enabled: boolean }; -export type SamplePositionFieldsFragment = { __typename?: 'SamplePosition', address: string, region: string, sampleId: number, slotId: number, operationId: number }; +export type SlotRegionFieldsFragment = { __typename?: 'SlotRegion', enabled: boolean, name: string }; -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 SpeciesFieldsFragment = { __typename?: 'Species', name: string, enabled: boolean }; export type SolutionFieldsFragment = { __typename?: 'Solution', name: string, enabled: boolean }; -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, 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 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 SuggestedWorkFieldsFragment = { __typename?: 'SuggestedWork', barcode: string, workNumber?: string | null }; -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, 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 UserFieldsFragment = { __typename?: 'User', username: string, role: UserRole }; -export type WorkTypeFieldsFragment = { __typename?: 'WorkType', 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 WorkProgressTimeStampFieldFragment = { __typename?: 'WorkProgressTimestamp', type: string, timestamp: 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 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 } }; -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, 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 WorkTypeFieldsFragment = { __typename?: 'WorkType', name: string, enabled: boolean }; + +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 CurrentUserQuery = { __typename?: 'Query', user?: { __typename?: 'User', username: string, role: UserRole } | null }; -export type ExtractResultQueryVariables = Exact<{ - barcode: Scalars['String']; +export type FindQueryVariables = Exact<{ + request: FindRequest; }>; -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 FindQuery = { __typename?: 'Query', find: { __typename?: 'FindResult', numRecords: number, entries: Array<{ __typename?: 'FindEntry', labwareId: number, sampleId: number, workNumbers: Array }>, 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 FindFilesQueryVariables = Exact<{ workNumbers: Array | Scalars['String']; @@ -3483,19 +3495,12 @@ export type FindFilesQueryVariables = Exact<{ export type FindFilesQuery = { __typename?: 'Query', listFiles: Array<{ __typename?: 'StanFile', created: string, name: string, url: string, work: { __typename?: 'Work', workNumber: string } }> }; -export type FindHistoryForExternalNameQueryVariables = Exact<{ - externalName: Scalars['String']; -}>; - - -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, 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 FindQueryVariables = Exact<{ - request: FindRequest; +export type FindHistoryForDonorNameQueryVariables = Exact<{ + donorName: Scalars['String']; }>; -export type FindQuery = { __typename?: 'Query', find: { __typename?: 'FindResult', numRecords: number, entries: Array<{ __typename?: 'FindEntry', labwareId: number, sampleId: number, workNumbers: Array }>, 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 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, 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 FindHistoryForLabwareBarcodeQueryVariables = Exact<{ barcode: Scalars['String']; @@ -3511,6 +3516,20 @@ export type FindHistoryForWorkNumberQueryVariables = Exact<{ 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, 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 FindHistoryForSampleIdQueryVariables = Exact<{ + sampleId: Scalars['Int']; +}>; + + +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, 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 FindLabwareQueryVariables = Exact<{ + barcode: 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 FindLabwareLocationQueryVariables = Exact<{ barcodes: Array | Scalars['String']; }>; @@ -3518,12 +3537,12 @@ export type FindLabwareLocationQueryVariables = Exact<{ export type FindLabwareLocationQuery = { __typename?: 'Query', stored: Array<{ __typename?: 'StoredItem', location: { __typename?: 'Location', barcode: string } }> }; -export type FindHistoryForSampleIdQueryVariables = Exact<{ - sampleId: Scalars['Int']; +export type FindLocationByBarcodeQueryVariables = Exact<{ + barcode: Scalars['String']; }>; -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, 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 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 FindPassFailsQueryVariables = Exact<{ barcode: Scalars['String']; @@ -3533,19 +3552,19 @@ export type FindPassFailsQueryVariables = Exact<{ 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 FindLabwareQueryVariables = Exact<{ +export type FindPermDataQueryVariables = Exact<{ barcode: 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 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 FindLocationByBarcodeQueryVariables = Exact<{ +export type FindPlanDataQueryVariables = Exact<{ barcode: 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 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 FindReagentPlateQueryVariables = Exact<{ barcode: Scalars['String']; @@ -3554,19 +3573,20 @@ export type FindReagentPlateQueryVariables = Exact<{ export type FindReagentPlateQuery = { __typename?: 'Query', reagentPlate?: { __typename?: 'ReagentPlate', barcode: string, plateType?: string | null, slots: Array<{ __typename?: 'ReagentSlot', address: string, used: boolean }> } | null }; -export type FindPermDataQueryVariables = Exact<{ +export type FindLatestOperationQueryVariables = Exact<{ barcode: Scalars['String']; + operationType: 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 FindLatestOperationQuery = { __typename?: 'Query', findLatestOp?: { __typename?: 'Operation', id: number } | null }; -export type FindHistoryForDonorNameQueryVariables = Exact<{ - donorName: Scalars['String']; +export type FindSamplePositionsQueryVariables = Exact<{ + labwareBarcode: 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, 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 FindSamplePositionsQuery = { __typename?: 'Query', samplePositions: Array<{ __typename?: 'SamplePosition', address: string, region: string, sampleId: number, slotId: number, operationId: number }> }; export type FindStoragePathQueryVariables = Exact<{ locationBarcode: Scalars['String']; @@ -3575,19 +3595,19 @@ export type FindStoragePathQueryVariables = Exact<{ export type FindStoragePathQuery = { __typename?: 'Query', storagePath: Array<{ __typename?: 'LinkedLocation', barcode: string, fixedName?: string | null, customName?: string | null, address?: string | null }> }; -export type FindSamplePositionsQueryVariables = Exact<{ - labwareBarcode: Scalars['String']; +export type FindWorkInfoQueryVariables = Exact<{ + status: WorkStatus; }>; -export type FindSamplePositionsQuery = { __typename?: 'Query', samplePositions: Array<{ __typename?: 'SamplePosition', address: string, region: string, sampleId: number, slotId: number, operationId: number }> }; +export type FindWorkInfoQuery = { __typename?: 'Query', works: Array<{ __typename?: 'Work', workNumber: string, workRequester?: { __typename?: 'ReleaseRecipient', username: string } | null, project: { __typename?: 'Project', name: string } }> }; -export type FindWorkInfoQueryVariables = Exact<{ +export type FindWorkNumbersQueryVariables = Exact<{ status: WorkStatus; }>; -export type FindWorkInfoQuery = { __typename?: 'Query', works: Array<{ __typename?: 'Work', workNumber: string, workRequester?: { __typename?: 'ReleaseRecipient', username: string } | null, project: { __typename?: 'Project', name: string } }> }; +export type FindWorkNumbersQuery = { __typename?: 'Query', works: Array<{ __typename?: 'Work', workNumber: string }> }; export type FindWorkProgressQueryVariables = Exact<{ workNumber?: InputMaybe; @@ -3598,55 +3618,54 @@ export type FindWorkProgressQueryVariables = Exact<{ }>; -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, 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 UserFieldsFragment = { __typename?: 'User', username: string, role: UserRole }; +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 FindWorksCreatedByQueryVariables = Exact<{ username: Scalars['String']; }>; -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, 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 GetBlockProcessingInfoQueryVariables = Exact<{ [key: string]: never; }>; +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 GetAllWorkInfoQueryVariables = Exact<{ [key: string]: never; }>; -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 SlotPassFailFieldsFragment = { __typename?: 'SlotPassFail', address: string, result: PassFail, comment?: string | null }; +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 GetAllWorkInfoQueryVariables = Exact<{ [key: string]: never; }>; +export type GetBlockProcessingInfoQueryVariables = Exact<{ [key: string]: never; }>; -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 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 FindPlanDataQueryVariables = Exact<{ - barcode: Scalars['String']; +export type GetCommentsQueryVariables = Exact<{ + commentCategory?: InputMaybe; + includeDisabled?: InputMaybe; }>; -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 GetCommentsQuery = { __typename?: 'Query', comments: Array<{ __typename?: 'Comment', id: number, text: string, category: string, enabled: boolean }> }; export type GetConfigurationQueryVariables = Exact<{ [key: string]: never; }>; -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, 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 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 FindWorkNumbersQueryVariables = Exact<{ - status: WorkStatus; -}>; +export type GetDestroyInfoQueryVariables = Exact<{ [key: string]: never; }>; -export type FindWorkNumbersQuery = { __typename?: 'Query', works: Array<{ __typename?: 'Work', workNumber: string }> }; +export type GetDestroyInfoQuery = { __typename?: 'Query', destructionReasons: Array<{ __typename?: 'DestructionReason', id: number, text: string, enabled: boolean }> }; -export type FindLatestOperationQueryVariables = Exact<{ - barcode: Scalars['String']; - operationType: Scalars['String']; +export type GetDestructionReasonsQueryVariables = Exact<{ + includeDisabled?: InputMaybe; }>; -export type FindLatestOperationQuery = { __typename?: 'Query', findLatestOp?: { __typename?: 'Operation', id: number } | null }; +export type GetDestructionReasonsQuery = { __typename?: 'Query', destructionReasons: Array<{ __typename?: 'DestructionReason', id: number, text: string, enabled: boolean }> }; + +export type GetFfpeProcessingInfoQueryVariables = Exact<{ [key: string]: never; }>; + + +export type GetFfpeProcessingInfoQuery = { __typename?: 'Query', comments: Array<{ __typename?: 'Comment', id: number, text: string, category: string, enabled: boolean }> }; export type GetLabwareCostingQueryVariables = Exact<{ barcode: Scalars['String']; @@ -3655,6 +3674,13 @@ export type GetLabwareCostingQueryVariables = Exact<{ export type GetLabwareCostingQuery = { __typename?: 'Query', labwareCosting?: SlideCosting | null }; +export type GetLabwareInLocationQueryVariables = Exact<{ + locationBarcode: Scalars['String']; +}>; + + +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 GetLabwareOperationsQueryVariables = Exact<{ barcode: Scalars['String']; operationType: Scalars['String']; @@ -3663,96 +3689,87 @@ export type GetLabwareOperationsQueryVariables = Exact<{ 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 GetDestroyInfoQueryVariables = Exact<{ [key: string]: never; }>; - - -export type GetDestroyInfoQuery = { __typename?: 'Query', destructionReasons: Array<{ __typename?: 'DestructionReason', id: number, text: string, enabled: boolean }> }; - -export type GetLabwareInLocationQueryVariables = Exact<{ - locationBarcode: Scalars['String']; +export type GetNextReplicateNumberQueryVariables = Exact<{ + barcodes: Array | Scalars['String']; }>; -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 GetNextReplicateNumberQuery = { __typename?: 'Query', nextReplicateNumbers: Array<{ __typename?: 'NextReplicateData', barcodes: Array, donorId: number, nextReplicateNumber: number, spatialLocationId: number }> }; -export type GetDestructionReasonsQueryVariables = Exact<{ - includeDisabled?: InputMaybe; -}>; +export type GetOmeroProjectsQueryVariables = Exact<{ [key: string]: never; }>; -export type GetDestructionReasonsQuery = { __typename?: 'Query', destructionReasons: Array<{ __typename?: 'DestructionReason', id: number, text: string, enabled: boolean }> }; +export type GetOmeroProjectsQuery = { __typename?: 'Query', omeroProjects: Array<{ __typename?: 'OmeroProject', name: string, enabled: boolean }> }; -export type GetCommentsQueryVariables = Exact<{ - commentCategory?: InputMaybe; - includeDisabled?: InputMaybe; +export type FindHistoryForExternalNameQueryVariables = Exact<{ + externalName: Scalars['String']; }>; -export type GetCommentsQuery = { __typename?: 'Query', comments: Array<{ __typename?: 'Comment', id: number, text: string, category: string, enabled: boolean }> }; +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, 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 GetNextReplicateNumberQueryVariables = Exact<{ - barcodes: Array | Scalars['String']; +export type ExtractResultQueryVariables = Exact<{ + barcode: Scalars['String']; }>; -export type GetNextReplicateNumberQuery = { __typename?: 'Query', nextReplicateNumbers: Array<{ __typename?: 'NextReplicateData', barcodes: Array, donorId: number, nextReplicateNumber: number, spatialLocationId: number }> }; - -export type GetOmeroProjectsQueryVariables = Exact<{ [key: string]: never; }>; +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 StainTypeFieldsFragment = { __typename?: 'StainType', name: string, measurementTypes: Array }; -export type GetOmeroProjectsQuery = { __typename?: 'Query', omeroProjects: Array<{ __typename?: 'OmeroProject', name: string, enabled: boolean }> }; +export type SamplePositionFieldsFragment = { __typename?: 'SamplePosition', address: string, region: string, sampleId: number, slotId: number, operationId: number }; export type GetPotProcessingInfoQueryVariables = Exact<{ [key: string]: never; }>; 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 GetFfpeProcessingInfoQueryVariables = Exact<{ [key: string]: never; }>; +export type GetRecordInPlaceInfoQueryVariables = Exact<{ + category?: InputMaybe; +}>; -export type GetFfpeProcessingInfoQuery = { __typename?: 'Query', comments: Array<{ __typename?: 'Comment', id: number, text: string, category: string, enabled: boolean }> }; +export type GetRecordInPlaceInfoQuery = { __typename?: 'Query', equipments: Array<{ __typename?: 'Equipment', id: number, name: string, category: string, enabled: boolean }> }; -export type GetRecordExtractResultInfoQueryVariables = Exact<{ [key: string]: never; }>; +export type GetProbePanelsQueryVariables = Exact<{ [key: string]: never; }>; -export type GetRecordExtractResultInfoQuery = { __typename?: 'Query', comments: Array<{ __typename?: 'Comment', id: number, text: string, category: string, enabled: boolean }> }; +export type GetProbePanelsQuery = { __typename?: 'Query', probePanels: Array<{ __typename?: 'ProbePanel', name: string, enabled: boolean }> }; -export type GetProbePanelsQueryVariables = Exact<{ [key: string]: never; }>; +export type GetRegistrationInfoQueryVariables = Exact<{ [key: string]: never; }>; -export type GetProbePanelsQuery = { __typename?: 'Query', probePanels: Array<{ __typename?: 'ProbePanel', name: string, enabled: boolean }> }; +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 GetProgramsQueryVariables = Exact<{ [key: string]: never; }>; export type GetProgramsQuery = { __typename?: 'Query', programs: Array<{ __typename?: 'Program', name: string, enabled: boolean }> }; -export type GetRecordInPlaceInfoQueryVariables = Exact<{ - category?: InputMaybe; -}>; +export type GetRecordExtractResultInfoQueryVariables = Exact<{ [key: string]: never; }>; -export type GetRecordInPlaceInfoQuery = { __typename?: 'Query', equipments: Array<{ __typename?: 'Equipment', id: number, name: string, category: string, enabled: boolean }> }; +export type GetRecordExtractResultInfoQuery = { __typename?: 'Query', comments: Array<{ __typename?: 'Comment', id: number, text: string, category: string, enabled: boolean }> }; export type GetSectioningConfirmInfoQueryVariables = Exact<{ [key: string]: never; }>; 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 GetReleaseInfoQueryVariables = Exact<{ [key: string]: never; }>; +export type GetSampleProcessingCommentsInfoQueryVariables = Exact<{ [key: string]: never; }>; -export type GetReleaseInfoQuery = { __typename?: 'Query', releaseDestinations: Array<{ __typename?: 'ReleaseDestination', name: string, enabled: boolean }>, releaseRecipients: Array<{ __typename?: 'ReleaseRecipient', username: string, enabled: boolean }> }; +export type GetSampleProcessingCommentsInfoQuery = { __typename?: 'Query', comments: Array<{ __typename?: 'Comment', id: number, text: string, category: string, enabled: boolean }> }; -export type GetSampleProcessingCommentsInfoQueryVariables = Exact<{ [key: string]: never; }>; +export type GetSearchInfoQueryVariables = Exact<{ [key: string]: never; }>; -export type GetSampleProcessingCommentsInfoQuery = { __typename?: 'Query', comments: Array<{ __typename?: 'Comment', id: number, text: string, category: string, enabled: boolean }> }; +export type GetSearchInfoQuery = { __typename?: 'Query', tissueTypes: Array<{ __typename?: 'TissueType', name: string }> }; -export type GetPrintersQueryVariables = Exact<{ [key: string]: never; }>; +export type GetSectioningInfoQueryVariables = Exact<{ [key: string]: never; }>; -export type GetPrintersQuery = { __typename?: 'Query', printers: Array<{ __typename?: 'Printer', name: string, labelTypes: Array<{ __typename?: 'LabelType', name: string }> }> }; +export type GetSectioningInfoQuery = { __typename?: 'Query', labwareTypes: Array<{ __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }> }; export type GetSlotRegionsQueryVariables = Exact<{ includeDisabled?: InputMaybe; @@ -3761,23 +3778,20 @@ export type GetSlotRegionsQueryVariables = Exact<{ export type GetSlotRegionsQuery = { __typename?: 'Query', slotRegions: Array<{ __typename?: 'SlotRegion', name: string, enabled: boolean }> }; -export type GetSectioningInfoQueryVariables = Exact<{ [key: string]: never; }>; +export type GetStainInfoQueryVariables = Exact<{ [key: string]: never; }>; -export type GetSectioningInfoQuery = { __typename?: 'Query', labwareTypes: Array<{ __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }> }; +export type GetStainInfoQuery = { __typename?: 'Query', stainTypes: Array<{ __typename?: 'StainType', name: string, measurementTypes: Array }> }; -export type GetSearchInfoQueryVariables = Exact<{ [key: string]: never; }>; +export type GetStainingQcInfoQueryVariables = Exact<{ [key: string]: never; }>; -export type GetSearchInfoQuery = { __typename?: 'Query', tissueTypes: Array<{ __typename?: 'TissueType', name: string }> }; +export type GetStainingQcInfoQuery = { __typename?: 'Query', comments: Array<{ __typename?: 'Comment', id: number, text: string, category: string, enabled: boolean }> }; -export type GetSuggestedWorkForLabwareQueryVariables = Exact<{ - barcodes: Array | Scalars['String']; - includeInactive?: InputMaybe; -}>; +export type GetSolutionTransferInfoQueryVariables = Exact<{ [key: string]: never; }>; -export type GetSuggestedWorkForLabwareQuery = { __typename?: 'Query', suggestedWorkForLabware: { __typename?: 'SuggestedWorkResponse', suggestedWorks: Array<{ __typename?: 'SuggestedWork', barcode: string, workNumber?: string | null }> } }; +export type GetSolutionTransferInfoQuery = { __typename?: 'Query', solutions: Array<{ __typename?: 'Solution', name: string }> }; export type GetSuggestedLabwareForWorkQueryVariables = Exact<{ workNumber: Scalars['String']; @@ -3787,70 +3801,61 @@ export type GetSuggestedLabwareForWorkQueryVariables = Exact<{ 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 GetSolutionTransferInfoQueryVariables = Exact<{ [key: string]: never; }>; - - -export type GetSolutionTransferInfoQuery = { __typename?: 'Query', solutions: Array<{ __typename?: 'Solution', name: string }> }; - -export type GetStainInfoQueryVariables = Exact<{ [key: string]: never; }>; - - -export type GetStainInfoQuery = { __typename?: 'Query', stainTypes: Array<{ __typename?: 'StainType', name: string, measurementTypes: Array }> }; - -export type GetRegistrationInfoQueryVariables = Exact<{ [key: string]: never; }>; +export type GetSuggestedWorkForLabwareQueryVariables = Exact<{ + barcodes: Array | Scalars['String']; + includeInactive?: InputMaybe; +}>; -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 GetSuggestedWorkForLabwareQuery = { __typename?: 'Query', suggestedWorkForLabware: { __typename?: 'SuggestedWorkResponse', suggestedWorks: Array<{ __typename?: 'SuggestedWork', barcode: string, workNumber?: string | null }> } }; export type GetVisiumQcInfoQueryVariables = Exact<{ [key: string]: never; }>; export type GetVisiumQcInfoQuery = { __typename?: 'Query', comments: Array<{ __typename?: 'Comment', id: number, text: string, category: string, enabled: boolean }> }; -export type GetStainingQcInfoQueryVariables = Exact<{ [key: string]: never; }>; +export type GetWorkAllocationInfoQueryVariables = Exact<{ + commentCategory: Scalars['String']; + workStatuses?: InputMaybe | WorkStatus>; +}>; -export type GetStainingQcInfoQuery = { __typename?: 'Query', comments: Array<{ __typename?: 'Comment', id: number, text: string, category: string, enabled: boolean }> }; +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 GetWorkNumbersQueryVariables = Exact<{ [key: string]: never; }>; export type GetWorkNumbersQuery = { __typename?: 'Query', works: Array<{ __typename?: 'Work', workNumber: string }> }; -export type GetXeniumQcInfoQueryVariables = Exact<{ [key: string]: never; }>; +export type GetReleaseInfoQueryVariables = Exact<{ [key: string]: never; }>; -export type GetXeniumQcInfoQuery = { __typename?: 'Query', comments: Array<{ __typename?: 'Comment', id: number, text: string, category: string, enabled: 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 GetWorkAllocationInfoQueryVariables = Exact<{ - commentCategory: Scalars['String']; - workStatuses?: InputMaybe | WorkStatus>; -}>; +export type GetWorkProgressInputsQueryVariables = Exact<{ [key: string]: never; }>; -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, 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, enabled: boolean }>, omeroProjects: Array<{ __typename?: 'OmeroProject', name: string, enabled: boolean }>, dnapStudies: Array<{ __typename?: 'DnapStudy', name: 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 type GetWorkTypesQueryVariables = Exact<{ [key: string]: never; }>; +export type GetPrintersQueryVariables = Exact<{ [key: string]: never; }>; -export type GetWorkTypesQuery = { __typename?: 'Query', workTypes: Array<{ __typename?: 'WorkType', name: string }> }; +export type GetPrintersQuery = { __typename?: 'Query', printers: Array<{ __typename?: 'Printer', name: string, labelTypes: Array<{ __typename?: 'LabelType', name: string }> }> }; -export type GetWorkProgressInputsQueryVariables = Exact<{ [key: string]: never; }>; +export type GetXeniumQcInfoQueryVariables = Exact<{ [key: string]: never; }>; -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 GetXeniumQcInfoQuery = { __typename?: 'Query', comments: Array<{ __typename?: 'Comment', id: number, text: string, category: string, enabled: boolean }> }; -export type GetWorkSummaryQueryVariables = Exact<{ [key: string]: never; }>; +export type GetWorkTypesQueryVariables = Exact<{ [key: string]: never; }>; -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 GetWorkTypesQuery = { __typename?: 'Query', workTypes: Array<{ __typename?: 'WorkType', name: string }> }; -export type AddCostCodeMutationVariables = Exact<{ - code: Scalars['String']; -}>; +export type GetWorkSummaryQueryVariables = Exact<{ [key: string]: never; }>; -export type AddCostCodeMutation = { __typename?: 'Mutation', addCostCode: { __typename?: 'CostCode', code: string, enabled: 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 AddCommentMutationVariables = Exact<{ category: Scalars['String']; @@ -3875,6 +3880,13 @@ export type AddEquipmentMutationVariables = Exact<{ export type AddEquipmentMutation = { __typename?: 'Mutation', addEquipment: { __typename?: 'Equipment', id: number, name: string, category: string, enabled: boolean } }; +export type AddExternalIdMutationVariables = Exact<{ + request: AddExternalIdRequest; +}>; + + +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 AddHmdmcMutationVariables = Exact<{ hmdmc: Scalars['String']; }>; @@ -3882,12 +3894,12 @@ export type AddHmdmcMutationVariables = Exact<{ export type AddHmdmcMutation = { __typename?: 'Mutation', addHmdmc: { __typename?: 'Hmdmc', hmdmc: string, enabled: boolean } }; -export type AddDestructionReasonMutationVariables = Exact<{ - text: Scalars['String']; +export type AddCostCodeMutationVariables = Exact<{ + code: Scalars['String']; }>; -export type AddDestructionReasonMutation = { __typename?: 'Mutation', addDestructionReason: { __typename?: 'DestructionReason', id: number, text: string, enabled: boolean } }; +export type AddCostCodeMutation = { __typename?: 'Mutation', addCostCode: { __typename?: 'CostCode', code: string, enabled: boolean } }; export type AddFixativeMutationVariables = Exact<{ name: Scalars['String']; @@ -3896,33 +3908,33 @@ export type AddFixativeMutationVariables = Exact<{ export type AddFixativeMutation = { __typename?: 'Mutation', addFixative: { __typename?: 'Fixative', name: string, enabled: boolean } }; -export type AddProgramMutationVariables = Exact<{ +export type AddProjectMutationVariables = Exact<{ name: Scalars['String']; }>; -export type AddProgramMutation = { __typename?: 'Mutation', addProgram: { __typename?: 'Program', name: string, enabled: boolean } }; +export type AddProjectMutation = { __typename?: 'Mutation', addProject: { __typename?: 'Project', name: string, enabled: boolean } }; -export type AddExternalIdMutationVariables = Exact<{ - request: AddExternalIdRequest; +export type AddReleaseDestinationMutationVariables = Exact<{ + name: Scalars['String']; }>; -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 AddReleaseDestinationMutation = { __typename?: 'Mutation', addReleaseDestination: { __typename?: 'ReleaseDestination', name: string, enabled: boolean } }; -export type AddProjectMutationVariables = Exact<{ +export type AddOmeroProjectMutationVariables = Exact<{ name: Scalars['String']; }>; -export type AddProjectMutation = { __typename?: 'Mutation', addProject: { __typename?: 'Project', name: string, enabled: boolean } }; +export type AddOmeroProjectMutation = { __typename?: 'Mutation', addOmeroProject: { __typename?: 'OmeroProject', name: string, enabled: boolean } }; -export type AddReleaseDestinationMutationVariables = Exact<{ +export type AddProgramMutationVariables = Exact<{ name: Scalars['String']; }>; -export type AddReleaseDestinationMutation = { __typename?: 'Mutation', addReleaseDestination: { __typename?: 'ReleaseDestination', name: string, enabled: boolean } }; +export type AddProgramMutation = { __typename?: 'Mutation', addProgram: { __typename?: 'Program', name: string, enabled: boolean } }; export type AddSlotRegionMutationVariables = Exact<{ name: Scalars['String']; @@ -3931,33 +3943,34 @@ export type AddSlotRegionMutationVariables = Exact<{ export type AddSlotRegionMutation = { __typename?: 'Mutation', addSlotRegion: { __typename?: 'SlotRegion', enabled: boolean, name: string } }; -export type AddUserMutationVariables = Exact<{ - username: Scalars['String']; +export type AddSpeciesMutationVariables = Exact<{ + name: Scalars['String']; }>; -export type AddUserMutation = { __typename?: 'Mutation', addUser: { __typename?: 'User', username: string, role: UserRole } }; +export type AddSpeciesMutation = { __typename?: 'Mutation', addSpecies: { __typename?: 'Species', name: string, enabled: boolean } }; -export type AddOmeroProjectMutationVariables = Exact<{ - name: Scalars['String']; +export type AddUserMutationVariables = Exact<{ + username: Scalars['String']; }>; -export type AddOmeroProjectMutation = { __typename?: 'Mutation', addOmeroProject: { __typename?: 'OmeroProject', name: string, enabled: boolean } }; +export type AddUserMutation = { __typename?: 'Mutation', addUser: { __typename?: 'User', username: string, role: UserRole } }; -export type AddSolutionMutationVariables = Exact<{ +export type AddWorkTypeMutationVariables = Exact<{ name: Scalars['String']; }>; -export type AddSolutionMutation = { __typename?: 'Mutation', addSolution: { __typename?: 'Solution', name: string, enabled: boolean } }; +export type AddWorkTypeMutation = { __typename?: 'Mutation', addWorkType: { __typename?: 'WorkType', name: string, enabled: boolean } }; export type AddReleaseRecipientMutationVariables = Exact<{ username: Scalars['String']; + fullName?: InputMaybe; }>; -export type AddReleaseRecipientMutation = { __typename?: 'Mutation', addReleaseRecipient: { __typename?: 'ReleaseRecipient', username: string, enabled: boolean } }; +export type AddReleaseRecipientMutation = { __typename?: 'Mutation', addReleaseRecipient: { __typename?: 'ReleaseRecipient', username: string, fullName?: string | null, enabled: boolean } }; export type AddProbePanelMutationVariables = Exact<{ name: Scalars['String']; @@ -3966,50 +3979,40 @@ export type AddProbePanelMutationVariables = Exact<{ export type AddProbePanelMutation = { __typename?: 'Mutation', addProbePanel: { __typename?: 'ProbePanel', name: string, enabled: boolean } }; -export type AddSpeciesMutationVariables = Exact<{ - name: Scalars['String']; +export type AliquotMutationVariables = Exact<{ + request: AliquotRequest; }>; -export type AddSpeciesMutation = { __typename?: 'Mutation', addSpecies: { __typename?: 'Species', name: string, enabled: boolean } }; +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 AliquotMutationVariables = Exact<{ - request: AliquotRequest; +export type ConfirmMutationVariables = Exact<{ + request: ConfirmOperationRequest; }>; -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 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 AddWorkTypeMutationVariables = Exact<{ +export type AddSolutionMutationVariables = Exact<{ name: Scalars['String']; }>; -export type AddWorkTypeMutation = { __typename?: 'Mutation', addWorkType: { __typename?: 'WorkType', name: string, enabled: boolean } }; +export type AddSolutionMutation = { __typename?: 'Mutation', addSolution: { __typename?: 'Solution', name: string, enabled: boolean } }; -export type CreateWorkMutationVariables = Exact<{ - prefix: Scalars['String']; - workType: Scalars['String']; - workRequester: Scalars['String']; - project: Scalars['String']; - program: Scalars['String']; - costCode: Scalars['String']; - numBlocks?: InputMaybe; - numSlides?: InputMaybe; - numOriginalSamples?: InputMaybe; - omeroProject?: InputMaybe; - dnapStudy?: InputMaybe; +export type DestroyMutationVariables = Exact<{ + request: DestroyRequest; }>; -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, 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 DestroyMutation = { __typename?: 'Mutation', destroy: { __typename?: 'DestroyResult', destructions: Array<{ __typename?: 'Destruction', labware?: { __typename?: 'Labware', barcode: string } | null }> } }; -export type ConfirmMutationVariables = Exact<{ - request: ConfirmOperationRequest; +export type EmptyLocationMutationVariables = Exact<{ + barcode: 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 EmptyLocationMutation = { __typename?: 'Mutation', empty: { __typename?: 'UnstoreResult', numUnstored: number } }; export type ConfirmSectionMutationVariables = Exact<{ request: ConfirmSectionRequest; @@ -4018,27 +4021,24 @@ export type ConfirmSectionMutationVariables = Exact<{ 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 LoginMutationVariables = Exact<{ - username: Scalars['String']; - password: Scalars['String']; +export type ExtractMutationVariables = Exact<{ + request: ExtractRequest; }>; -export type LoginMutation = { __typename?: 'Mutation', login: { __typename?: 'LoginResult', user?: { __typename?: 'User', username: string, role: UserRole } | null } }; +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 DestroyMutationVariables = Exact<{ - request: DestroyRequest; -}>; +export type LogoutMutationVariables = Exact<{ [key: string]: never; }>; -export type DestroyMutation = { __typename?: 'Mutation', destroy: { __typename?: 'DestroyResult', destructions: Array<{ __typename?: 'Destruction', labware?: { __typename?: 'Labware', barcode: string } | null }> } }; +export type LogoutMutation = { __typename?: 'Mutation', logout?: string | null }; -export type EmptyLocationMutationVariables = Exact<{ - barcode: Scalars['String']; +export type PerformFfpeProcessingMutationVariables = Exact<{ + request: FfpeProcessingRequest; }>; -export type EmptyLocationMutation = { __typename?: 'Mutation', empty: { __typename?: 'UnstoreResult', numUnstored: number } }; +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 PerformSolutionTransferMutationVariables = Exact<{ request: SolutionTransferRequest; @@ -4047,17 +4047,19 @@ export type PerformSolutionTransferMutationVariables = Exact<{ 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 PerformFfpeProcessingMutationVariables = Exact<{ - request: FfpeProcessingRequest; +export type PerformTissueBlockMutationVariables = Exact<{ + request: TissueBlockRequest; }>; -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 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 LogoutMutationVariables = Exact<{ [key: string]: never; }>; +export type PerformTissuePotMutationVariables = Exact<{ + request: PotProcessingRequest; +}>; -export type LogoutMutation = { __typename?: 'Mutation', logout?: string | 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 PlanMutationVariables = Exact<{ request: PlanRequest; @@ -4066,26 +4068,37 @@ export type PlanMutationVariables = Exact<{ 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 ExtractMutationVariables = Exact<{ - request: ExtractRequest; +export type PrintMutationVariables = Exact<{ + barcodes: Array | Scalars['String']; + printer: 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 PrintMutation = { __typename?: 'Mutation', printLabware?: string | null }; -export type PerformTissuePotMutationVariables = Exact<{ - request: PotProcessingRequest; +export type CreateWorkMutationVariables = Exact<{ + prefix: Scalars['String']; + workType: Scalars['String']; + workRequester: Scalars['String']; + project: Scalars['String']; + program: Scalars['String']; + costCode: Scalars['String']; + numBlocks?: InputMaybe; + numSlides?: InputMaybe; + numOriginalSamples?: InputMaybe; + omeroProject?: InputMaybe; + dnapStudy?: InputMaybe; }>; -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 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 PerformTissueBlockMutationVariables = Exact<{ - request: TissueBlockRequest; +export type RecordComplexStainMutationVariables = Exact<{ + request: ComplexStainRequest; }>; -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 RecordComplexStainMutation = { __typename?: 'Mutation', recordComplexStain: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; export type RecordExtractResultMutationVariables = Exact<{ request: ExtractResultRequest; @@ -4094,26 +4107,33 @@ export type RecordExtractResultMutationVariables = Exact<{ export type RecordExtractResultMutation = { __typename?: 'Mutation', recordExtractResult: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; -export type RecordComplexStainMutationVariables = Exact<{ - request: ComplexStainRequest; +export type RecordAnalyserMutationVariables = Exact<{ + request: AnalyserRequest; }>; -export type RecordComplexStainMutation = { __typename?: 'Mutation', recordComplexStain: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; +export type RecordAnalyserMutation = { __typename?: 'Mutation', recordAnalyser: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; -export type RecordAnalyserMutationVariables = Exact<{ - request: AnalyserRequest; +export type RecordInPlaceMutationVariables = Exact<{ + request: InPlaceOpRequest; }>; -export type RecordAnalyserMutation = { __typename?: 'Mutation', recordAnalyser: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; +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 RecordCompletionMutationVariables = Exact<{ - request: CompletionRequest; +export type RecordOpWithSlotMeasurementsMutationVariables = Exact<{ + request: OpWithSlotMeasurementsRequest; }>; -export type RecordCompletionMutation = { __typename?: 'Mutation', recordCompletion: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; +export type RecordOpWithSlotMeasurementsMutation = { __typename?: 'Mutation', recordOpWithSlotMeasurements: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; + +export type RecordPermMutationVariables = Exact<{ + request: RecordPermRequest; +}>; + + +export type RecordPermMutation = { __typename?: 'Mutation', recordPerm: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; export type RecordOpWithSlotCommentsMutationVariables = Exact<{ request: OpWithSlotCommentsRequest; @@ -4122,26 +4142,26 @@ export type RecordOpWithSlotCommentsMutationVariables = Exact<{ export type RecordOpWithSlotCommentsMutation = { __typename?: 'Mutation', recordOpWithSlotComments: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; -export type RecordPermMutationVariables = Exact<{ - request: RecordPermRequest; +export type RecordProbeOperationMutationVariables = Exact<{ + request: ProbeOperationRequest; }>; -export type RecordPermMutation = { __typename?: 'Mutation', recordPerm: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; +export type RecordProbeOperationMutation = { __typename?: 'Mutation', recordProbeOperation: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; -export type RecordOpWithSlotMeasurementsMutationVariables = Exact<{ - request: OpWithSlotMeasurementsRequest; +export type RecordReagentTransferMutationVariables = Exact<{ + request: ReagentTransferRequest; }>; -export type RecordOpWithSlotMeasurementsMutation = { __typename?: 'Mutation', recordOpWithSlotMeasurements: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; +export type RecordReagentTransferMutation = { __typename?: 'Mutation', reagentTransfer: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; -export type RecordInPlaceMutationVariables = Exact<{ - request: InPlaceOpRequest; +export type RecordCompletionMutationVariables = Exact<{ + request: CompletionRequest; }>; -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 RecordCompletionMutation = { __typename?: 'Mutation', recordCompletion: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; export type RecordRnaAnalysisMutationVariables = Exact<{ request: RnaAnalysisRequest; @@ -4171,6 +4191,13 @@ export type RecordVisiumQcMutationVariables = Exact<{ export type RecordVisiumQcMutation = { __typename?: 'Mutation', recordVisiumQC: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; +export type RegisterOriginalSamplesMutationVariables = Exact<{ + request: OriginalSampleRegisterRequest; +}>; + + +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 RegisterSectionsMutationVariables = Exact<{ request: SectionRegisterRequest; }>; @@ -4178,26 +4205,13 @@ export type RegisterSectionsMutationVariables = Exact<{ 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 RecordProbeOperationMutationVariables = Exact<{ - request: ProbeOperationRequest; -}>; - - -export type RecordProbeOperationMutation = { __typename?: 'Mutation', recordProbeOperation: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; - -export type RecordReagentTransferMutationVariables = Exact<{ - request: ReagentTransferRequest; -}>; - - -export type RecordReagentTransferMutation = { __typename?: 'Mutation', reagentTransfer: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; - -export type RegisterOriginalSamplesMutationVariables = Exact<{ - request: OriginalSampleRegisterRequest; +export type SetCommentEnabledMutationVariables = Exact<{ + commentId: Scalars['Int']; + enabled: Scalars['Boolean']; }>; -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 SetCommentEnabledMutation = { __typename?: 'Mutation', setCommentEnabled: { __typename?: 'Comment', id: number, text: string, category: string, enabled: boolean } }; export type ReleaseLabwareMutationVariables = Exact<{ releaseRequest: ReleaseRequest; @@ -4206,20 +4220,19 @@ export type ReleaseLabwareMutationVariables = Exact<{ 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 RegisterTissuesMutationVariables = Exact<{ - request: RegisterRequest; +export type RecordQcLabwareMutationVariables = Exact<{ + request: QcLabwareRequest; }>; -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 RecordQcLabwareMutation = { __typename?: 'Mutation', recordQCLabware: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; -export type SetCommentEnabledMutationVariables = Exact<{ - commentId: Scalars['Int']; - enabled: Scalars['Boolean']; +export type RegisterTissuesMutationVariables = Exact<{ + request: RegisterRequest; }>; -export type SetCommentEnabledMutation = { __typename?: 'Mutation', setCommentEnabled: { __typename?: 'Comment', id: number, text: string, category: string, enabled: boolean } }; +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 SetCostCodeEnabledMutationVariables = Exact<{ code: Scalars['String']; @@ -4229,13 +4242,6 @@ export type SetCostCodeEnabledMutationVariables = Exact<{ export type SetCostCodeEnabledMutation = { __typename?: 'Mutation', setCostCodeEnabled: { __typename?: 'CostCode', code: string, enabled: boolean } }; -export type RecordQcLabwareMutationVariables = Exact<{ - request: QcLabwareRequest; -}>; - - -export type RecordQcLabwareMutation = { __typename?: 'Mutation', recordQCLabware: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; - export type SetDestructionReasonEnabledMutationVariables = Exact<{ text: Scalars['String']; enabled: Scalars['Boolean']; @@ -4244,21 +4250,13 @@ export type SetDestructionReasonEnabledMutationVariables = Exact<{ export type SetDestructionReasonEnabledMutation = { __typename?: 'Mutation', setDestructionReasonEnabled: { __typename?: 'DestructionReason', id: number, text: string, enabled: boolean } }; -export type PrintMutationVariables = Exact<{ - barcodes: Array | Scalars['String']; - printer: Scalars['String']; -}>; - - -export type PrintMutation = { __typename?: 'Mutation', printLabware?: string | null }; - -export type SetFixativeEnabledMutationVariables = Exact<{ - name: Scalars['String']; +export type SetEquipmentEnabledMutationVariables = Exact<{ + equipmentId: Scalars['Int']; enabled: Scalars['Boolean']; }>; -export type SetFixativeEnabledMutation = { __typename?: 'Mutation', setFixativeEnabled: { __typename?: 'Fixative', name: string, enabled: boolean } }; +export type SetEquipmentEnabledMutation = { __typename?: 'Mutation', setEquipmentEnabled: { __typename?: 'Equipment', id: number, name: string, category: string, enabled: boolean } }; export type SetLocationCustomNameMutationVariables = Exact<{ locationBarcode: Scalars['String']; @@ -4268,29 +4266,29 @@ export type SetLocationCustomNameMutationVariables = Exact<{ 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 SetEquipmentEnabledMutationVariables = Exact<{ - equipmentId: Scalars['Int']; +export type SetHmdmcEnabledMutationVariables = Exact<{ + hmdmc: Scalars['String']; enabled: Scalars['Boolean']; }>; -export type SetEquipmentEnabledMutation = { __typename?: 'Mutation', setEquipmentEnabled: { __typename?: 'Equipment', id: number, name: string, category: string, enabled: boolean } }; +export type SetHmdmcEnabledMutation = { __typename?: 'Mutation', setHmdmcEnabled: { __typename?: 'Hmdmc', hmdmc: string, enabled: boolean } }; -export type SetProgramEnabledMutationVariables = Exact<{ +export type SetOmeroProjectEnabledMutationVariables = Exact<{ name: Scalars['String']; enabled: Scalars['Boolean']; }>; -export type SetProgramEnabledMutation = { __typename?: 'Mutation', setProgramEnabled: { __typename?: 'Program', name: string, enabled: boolean } }; +export type SetOmeroProjectEnabledMutation = { __typename?: 'Mutation', setOmeroProjectEnabled: { __typename?: 'OmeroProject', name: string, enabled: boolean } }; -export type SetDnapStudyEnabledMutationVariables = Exact<{ +export type SetProgramEnabledMutationVariables = Exact<{ name: Scalars['String']; enabled: Scalars['Boolean']; }>; -export type SetDnapStudyEnabledMutation = { __typename?: 'Mutation', setDnapStudyEnabled: { __typename?: 'DnapStudy', name: string, enabled: boolean } }; +export type SetProgramEnabledMutation = { __typename?: 'Mutation', setProgramEnabled: { __typename?: 'Program', name: string, enabled: boolean } }; export type SetProjectEnabledMutationVariables = Exact<{ name: Scalars['String']; @@ -4300,53 +4298,53 @@ export type SetProjectEnabledMutationVariables = Exact<{ export type SetProjectEnabledMutation = { __typename?: 'Mutation', setProjectEnabled: { __typename?: 'Project', name: string, enabled: boolean } }; -export type SetOmeroProjectEnabledMutationVariables = Exact<{ +export type SetFixativeEnabledMutationVariables = Exact<{ name: Scalars['String']; enabled: Scalars['Boolean']; }>; -export type SetOmeroProjectEnabledMutation = { __typename?: 'Mutation', setOmeroProjectEnabled: { __typename?: 'OmeroProject', name: string, enabled: boolean } }; +export type SetFixativeEnabledMutation = { __typename?: 'Mutation', setFixativeEnabled: { __typename?: 'Fixative', name: string, enabled: boolean } }; -export type SetHmdmcEnabledMutationVariables = Exact<{ - hmdmc: Scalars['String']; +export type SetReleaseDestinationEnabledMutationVariables = Exact<{ + name: Scalars['String']; enabled: Scalars['Boolean']; }>; -export type SetHmdmcEnabledMutation = { __typename?: 'Mutation', setHmdmcEnabled: { __typename?: 'Hmdmc', hmdmc: string, enabled: boolean } }; +export type SetReleaseDestinationEnabledMutation = { __typename?: 'Mutation', setReleaseDestinationEnabled: { __typename?: 'ReleaseDestination', name: string, enabled: boolean } }; -export type SetSlotRegionEnabledMutationVariables = Exact<{ +export type SetProbePanelEnabledMutationVariables = Exact<{ name: Scalars['String']; enabled: Scalars['Boolean']; }>; -export type SetSlotRegionEnabledMutation = { __typename?: 'Mutation', setSlotRegionEnabled: { __typename?: 'SlotRegion', enabled: boolean, name: string } }; +export type SetProbePanelEnabledMutation = { __typename?: 'Mutation', setProbePanelEnabled: { __typename?: 'ProbePanel', name: string, enabled: boolean } }; -export type SetReleaseDestinationEnabledMutationVariables = Exact<{ +export type SetSlotRegionEnabledMutationVariables = Exact<{ name: Scalars['String']; enabled: Scalars['Boolean']; }>; -export type SetReleaseDestinationEnabledMutation = { __typename?: 'Mutation', setReleaseDestinationEnabled: { __typename?: 'ReleaseDestination', name: string, enabled: boolean } }; +export type SetSlotRegionEnabledMutation = { __typename?: 'Mutation', setSlotRegionEnabled: { __typename?: 'SlotRegion', enabled: boolean, name: string } }; -export type SetSolutionEnabledMutationVariables = Exact<{ - name: Scalars['String']; +export type SetReleaseRecipientEnabledMutationVariables = Exact<{ + username: Scalars['String']; enabled: Scalars['Boolean']; }>; -export type SetSolutionEnabledMutation = { __typename?: 'Mutation', setSolutionEnabled: { __typename?: 'Solution', name: string, enabled: boolean } }; +export type SetReleaseRecipientEnabledMutation = { __typename?: 'Mutation', setReleaseRecipientEnabled: { __typename?: 'ReleaseRecipient', username: string, fullName?: string | null, enabled: boolean } }; -export type SetProbePanelEnabledMutationVariables = Exact<{ +export type SetSolutionEnabledMutationVariables = Exact<{ name: Scalars['String']; enabled: Scalars['Boolean']; }>; -export type SetProbePanelEnabledMutation = { __typename?: 'Mutation', setProbePanelEnabled: { __typename?: 'ProbePanel', name: string, enabled: boolean } }; +export type SetSolutionEnabledMutation = { __typename?: 'Mutation', setSolutionEnabled: { __typename?: 'Solution', name: string, enabled: boolean } }; export type SetSpeciesEnabledMutationVariables = Exact<{ name: Scalars['String']; @@ -4356,59 +4354,58 @@ export type SetSpeciesEnabledMutationVariables = Exact<{ export type SetSpeciesEnabledMutation = { __typename?: 'Mutation', setSpeciesEnabled: { __typename?: 'Species', name: string, enabled: boolean } }; -export type SetReleaseRecipientEnabledMutationVariables = Exact<{ +export type SetUserRoleMutationVariables = Exact<{ username: Scalars['String']; - enabled: Scalars['Boolean']; + role: UserRole; }>; -export type SetReleaseRecipientEnabledMutation = { __typename?: 'Mutation', setReleaseRecipientEnabled: { __typename?: 'ReleaseRecipient', username: string, enabled: boolean } }; +export type SetUserRoleMutation = { __typename?: 'Mutation', setUserRole: { __typename?: 'User', username: string, role: UserRole } }; -export type StainMutationVariables = Exact<{ - request: StainRequest; +export type SetWorkTypeEnabledMutationVariables = Exact<{ + name: Scalars['String']; + enabled: Scalars['Boolean']; }>; -export type StainMutation = { __typename?: 'Mutation', stain: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; +export type SetWorkTypeEnabledMutation = { __typename?: 'Mutation', setWorkTypeEnabled: { __typename?: 'WorkType', name: string, enabled: boolean } }; -export type SlotCopyMutationVariables = Exact<{ - request: SlotCopyRequest; +export type SetDnapStudyEnabledMutationVariables = Exact<{ + name: Scalars['String']; + enabled: Scalars['Boolean']; }>; -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 SetDnapStudyEnabledMutation = { __typename?: 'Mutation', setDnapStudyEnabled: { __typename?: 'DnapStudy', name: string, enabled: boolean } }; -export type UnreleaseMutationVariables = Exact<{ - request: UnreleaseRequest; +export type SlotCopyMutationVariables = Exact<{ + request: SlotCopyRequest; }>; -export type UnreleaseMutation = { __typename?: 'Mutation', unrelease: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; +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 SetUserRoleMutationVariables = Exact<{ - username: Scalars['String']; - role: UserRole; +export type StoreMutationVariables = Exact<{ + store: Array | StoreInput; + locationBarcode: Scalars['String']; }>; -export type SetUserRoleMutation = { __typename?: 'Mutation', setUserRole: { __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 SetWorkTypeEnabledMutationVariables = Exact<{ - name: Scalars['String']; - enabled: Scalars['Boolean']; +export type StainMutationVariables = Exact<{ + request: StainRequest; }>; -export type SetWorkTypeEnabledMutation = { __typename?: 'Mutation', setWorkTypeEnabled: { __typename?: 'WorkType', name: string, enabled: boolean } }; +export type StainMutation = { __typename?: 'Mutation', stain: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; -export type StoreBarcodeMutationVariables = Exact<{ - barcode: Scalars['String']; - locationBarcode: Scalars['String']; - address?: InputMaybe; +export type UnreleaseMutationVariables = Exact<{ + request: UnreleaseRequest; }>; -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 UnreleaseMutation = { __typename?: 'Mutation', unrelease: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; export type TransferLocationItemsMutationVariables = Exact<{ sourceBarcode: Scalars['String']; @@ -4418,13 +4415,20 @@ export type TransferLocationItemsMutationVariables = Exact<{ 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 UpdateWorkNumSlidesMutationVariables = Exact<{ +export type UnstoreBarcodeMutationVariables = Exact<{ + barcode: Scalars['String']; +}>; + + +export type UnstoreBarcodeMutation = { __typename?: 'Mutation', unstoreBarcode?: { __typename?: 'UnstoredItem', barcode: string, address?: string | null } | null }; + +export type UpdateWorkDnapProjectMutationVariables = Exact<{ workNumber: Scalars['String']; - numSlides?: InputMaybe; + dnapStudy?: InputMaybe; }>; -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, 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 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 UpdateWorkNumBlocksMutationVariables = Exact<{ workNumber: Scalars['String']; @@ -4432,46 +4436,48 @@ export type UpdateWorkNumBlocksMutationVariables = Exact<{ }>; -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, 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 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 UpdateWorkOmeroProjectMutationVariables = Exact<{ - workNumber: Scalars['String']; - omeroProject?: InputMaybe; +export type StoreBarcodeMutationVariables = Exact<{ + barcode: Scalars['String']; + locationBarcode: Scalars['String']; + address?: InputMaybe; }>; -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, 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 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 UpdateWorkPriorityMutationVariables = Exact<{ +export type UpdateWorkNumOriginalSamplesMutationVariables = Exact<{ workNumber: Scalars['String']; - priority?: InputMaybe; + numOriginalSamples?: InputMaybe; }>; -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, 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 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 StoreMutationVariables = Exact<{ - store: Array | StoreInput; - locationBarcode: Scalars['String']; +export type UpdateWorkNumSlidesMutationVariables = Exact<{ + workNumber: Scalars['String']; + numSlides?: InputMaybe; }>; -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 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 UpdateWorkDnapProjectMutationVariables = Exact<{ +export type UpdateWorkPriorityMutationVariables = Exact<{ workNumber: Scalars['String']; - dnapStudy?: InputMaybe; + priority?: InputMaybe; }>; -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, 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 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 UnstoreBarcodeMutationVariables = Exact<{ - barcode: Scalars['String']; +export type UpdateWorkOmeroProjectMutationVariables = Exact<{ + workNumber: Scalars['String']; + omeroProject?: InputMaybe; }>; -export type UnstoreBarcodeMutation = { __typename?: 'Mutation', unstoreBarcode?: { __typename?: 'UnstoredItem', barcode: string, address?: string | null } | 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 UpdateWorkStatusMutationVariables = Exact<{ workNumber: Scalars['String']; @@ -4480,7 +4486,9 @@ export type UpdateWorkStatusMutationVariables = Exact<{ }>; -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, 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 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 CommentFieldsFragment = { __typename?: 'Comment', id: number, text: string, category: string, enabled: boolean }; export type VisiumAnalysisMutationVariables = Exact<{ request: VisiumAnalysisRequest; @@ -4489,22 +4497,29 @@ export type VisiumAnalysisMutationVariables = Exact<{ export type VisiumAnalysisMutation = { __typename?: 'Mutation', visiumAnalysis: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; -export type UpdateWorkNumOriginalSamplesMutationVariables = Exact<{ - workNumber: Scalars['String']; - numOriginalSamples?: InputMaybe; +export type UpdateReleaseRecipientFullNameMutationVariables = Exact<{ + username: Scalars['String']; + fullName?: InputMaybe; }>; -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, 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 UpdateReleaseRecipientFullNameMutation = { __typename?: 'Mutation', updateReleaseRecipientFullName: { __typename?: 'ReleaseRecipient', username: string, fullName?: string | null, enabled: boolean } }; + +export type LoginMutationVariables = Exact<{ + username: Scalars['String']; + password: Scalars['String']; +}>; + + +export type LoginMutation = { __typename?: 'Mutation', login: { __typename?: 'LoginResult', user?: { __typename?: 'User', username: string, role: UserRole } | null } }; + +export type AddDestructionReasonMutationVariables = Exact<{ + text: Scalars['String']; +}>; + + +export type AddDestructionReasonMutation = { __typename?: 'Mutation', addDestructionReason: { __typename?: 'DestructionReason', id: number, text: string, enabled: boolean } }; -export const CommentFieldsFragmentDoc = gql` - fragment CommentFields on Comment { - id - text - category - enabled -} - `; export const DestructionReasonFieldsFragmentDoc = gql` fragment DestructionReasonFields on DestructionReason { id @@ -4512,14 +4527,6 @@ export const DestructionReasonFieldsFragmentDoc = gql` enabled } `; -export const EquipmentFieldsFragmentDoc = gql` - fragment EquipmentFields on Equipment { - id - name - category - enabled -} - `; export const AddressPermDataFieldsFragmentDoc = gql` fragment AddressPermDataFields on AddressPermData { address @@ -4528,37 +4535,75 @@ 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 enabled } `; -export const LabwareTypeFieldsFragmentDoc = gql` - fragment LabwareTypeFields on LabwareType { +export const EquipmentFieldsFragmentDoc = gql` + fragment EquipmentFields on Equipment { + id name - numRows - numColumns - labelType { - name - } + category + enabled } `; -export const SampleFieldsFragmentDoc = gql` - fragment SampleFields on Sample { - id - section - tissue { - donor { - donorName - lifeStage - } - externalName - spatialLocation { - tissueType { - name - } - code +export const HmdmcFieldsFragmentDoc = gql` + fragment HmdmcFields on Hmdmc { + hmdmc + 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 PrinterFieldsFragmentDoc = gql` + fragment PrinterFields on Printer { + name + labelTypes { + name + } +} + `; +export const SampleFieldsFragmentDoc = gql` + fragment SampleFields on Sample { + id + section + tissue { + donor { + donorName + lifeStage + } + externalName + spatialLocation { + tissueType { + name + } + code } replicate medium { @@ -4587,6 +4632,70 @@ 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 @@ -4643,126 +4752,19 @@ export const HistoryFieldsFragmentDoc = gql` } } `; -export const FileFieldsFragmentDoc = gql` - fragment FileFields on StanFile { - created - name - url - work { - workNumber - } -} - `; -export const HmdmcFieldsFragmentDoc = gql` - fragment HmdmcFields on Hmdmc { - hmdmc - enabled -} - `; -export const NextReplicateDataFieldsFragmentDoc = gql` - fragment NextReplicateDataFields on NextReplicateData { - barcodes - donorId - nextReplicateNumber - spatialLocationId -} - `; -export const LocationFieldsFragmentDoc = gql` - fragment LocationFields on Location { - barcode - fixedName - customName +export const ReagentSlotFieldsFragmentDoc = gql` + fragment ReagentSlotFields on ReagentSlot { address - direction - parent { - barcode - fixedName - customName - } - size { - numRows - numColumns - } - stored { - barcode - address - } - children { - barcode - fixedName - customName - address - } + used } `; -export const LinkedLocationFieldsFragmentDoc = gql` - fragment LinkedLocationFields on LinkedLocation { +export const ReagentPlateFieldsFragmentDoc = gql` + fragment ReagentPlateFields on ReagentPlate { barcode - fixedName - customName - address -} - `; -export const PrinterFieldsFragmentDoc = gql` - fragment PrinterFields on Printer { - name - labelTypes { - name - } -} - `; -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 + slots { + ...ReagentSlotFields } - performed + plateType } `; export const ProbePanelFieldsFragmentDoc = gql` @@ -4771,19 +4773,17 @@ export const ProbePanelFieldsFragmentDoc = gql` enabled } `; -export const ReagentSlotFieldsFragmentDoc = gql` - fragment ReagentSlotFields on ReagentSlot { - address - used +export const ReleaseDestinationFieldsFragmentDoc = gql` + fragment ReleaseDestinationFields on ReleaseDestination { + name + enabled } `; -export const ReagentPlateFieldsFragmentDoc = gql` - fragment ReagentPlateFields on ReagentPlate { - barcode - slots { - ...ReagentSlotFields - } - plateType +export const SlotPassFailFieldsFragmentDoc = gql` + fragment SlotPassFailFields on SlotPassFail { + address + result + comment } `; export const RegisterResultFieldsFragmentDoc = gql` @@ -4818,10 +4818,32 @@ export const RegisterResultFieldsFragmentDoc = gql` } } `; -export const ReleaseDestinationFieldsFragmentDoc = gql` - fragment ReleaseDestinationFields on ReleaseDestination { - name - enabled +export const LocationFieldsFragmentDoc = gql` + fragment LocationFields on Location { + barcode + fixedName + customName + address + direction + parent { + barcode + fixedName + customName + } + size { + numRows + numColumns + } + stored { + barcode + address + } + children { + barcode + fixedName + customName + address + } } `; export const SlotRegionFieldsFragmentDoc = gql` @@ -4830,33 +4852,28 @@ export const SlotRegionFieldsFragmentDoc = gql` name } `; -export const SuggestedWorkFieldsFragmentDoc = gql` - fragment SuggestedWorkFields on SuggestedWork { - barcode - workNumber -} - `; export const SpeciesFieldsFragmentDoc = gql` fragment SpeciesFields on Species { name enabled } `; -export const StainTypeFieldsFragmentDoc = gql` - fragment StainTypeFields on StainType { - name - measurementTypes -} - `; export const SolutionFieldsFragmentDoc = gql` fragment SolutionFields on Solution { name enabled } `; +export const SuggestedWorkFieldsFragmentDoc = gql` + fragment SuggestedWorkFields on SuggestedWork { + barcode + workNumber +} + `; export const ReleaseRecipientFieldsFragmentDoc = gql` fragment ReleaseRecipientFields on ReleaseRecipient { username + fullName enabled } `; @@ -4965,11 +4982,18 @@ export const WorkWithCommentFieldsFragmentDoc = gql` comment } `; -export const SlotPassFailFieldsFragmentDoc = gql` - fragment SlotPassFailFields on SlotPassFail { - address - result - 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` @@ -4979,40 +5003,6 @@ export const CurrentUserDocument = gql` } } ${UserFieldsFragmentDoc}`; -export const ExtractResultDocument = gql` - query ExtractResult($barcode: String!) { - extractResult(barcode: $barcode) { - result - concentration - labware { - ...LabwareFields - } - } -} - ${LabwareFieldsFragmentDoc} -${LabwareTypeFieldsFragmentDoc} -${SlotFieldsFragmentDoc} -${SampleFieldsFragmentDoc}`; -export const FindFilesDocument = gql` - query FindFiles($workNumbers: [String!]!) { - listFiles(workNumbers: $workNumbers) { - ...FileFields - } -} - ${FileFieldsFragmentDoc}`; -export const FindHistoryForExternalNameDocument = gql` - query FindHistoryForExternalName($externalName: String!) { - historyForExternalName(externalName: $externalName) { - ...HistoryFields - } -} - ${HistoryFieldsFragmentDoc} -${LabwareFieldsFragmentDoc} -${LabwareTypeFieldsFragmentDoc} -${SlotFieldsFragmentDoc} -${SampleFieldsFragmentDoc} -${HistoryEntryFieldsFragmentDoc} -${SamplePositionFieldsFragmentDoc}`; export const FindDocument = gql` query Find($request: FindRequest!) { find(request: $request) { @@ -5069,6 +5059,26 @@ export const FindDocument = gql` } } `; +export const FindFilesDocument = gql` + query FindFiles($workNumbers: [String!]!) { + listFiles(workNumbers: $workNumbers) { + ...FileFields + } +} + ${FileFieldsFragmentDoc}`; +export const FindHistoryForDonorNameDocument = gql` + query FindHistoryForDonorName($donorName: String!) { + historyForDonorName(donorName: $donorName) { + ...HistoryFields + } +} + ${HistoryFieldsFragmentDoc} +${LabwareFieldsFragmentDoc} +${LabwareTypeFieldsFragmentDoc} +${SlotFieldsFragmentDoc} +${SampleFieldsFragmentDoc} +${HistoryEntryFieldsFragmentDoc} +${SamplePositionFieldsFragmentDoc}`; export const FindHistoryForLabwareBarcodeDocument = gql` query FindHistoryForLabwareBarcode($barcode: String!) { historyForLabwareBarcode(barcode: $barcode) { @@ -5095,15 +5105,6 @@ ${SlotFieldsFragmentDoc} ${SampleFieldsFragmentDoc} ${HistoryEntryFieldsFragmentDoc} ${SamplePositionFieldsFragmentDoc}`; -export const FindLabwareLocationDocument = gql` - query FindLabwareLocation($barcodes: [String!]!) { - stored(barcodes: $barcodes) { - location { - barcode - } - } -} - `; export const FindHistoryForSampleIdDocument = gql` query FindHistoryForSampleId($sampleId: Int!) { historyForSampleId(sampleId: $sampleId) { @@ -5117,6 +5118,32 @@ ${SlotFieldsFragmentDoc} ${SampleFieldsFragmentDoc} ${HistoryEntryFieldsFragmentDoc} ${SamplePositionFieldsFragmentDoc}`; +export const FindLabwareDocument = gql` + query FindLabware($barcode: String!) { + labware(barcode: $barcode) { + ...LabwareFields + } +} + ${LabwareFieldsFragmentDoc} +${LabwareTypeFieldsFragmentDoc} +${SlotFieldsFragmentDoc} +${SampleFieldsFragmentDoc}`; +export const FindLabwareLocationDocument = gql` + query FindLabwareLocation($barcodes: [String!]!) { + stored(barcodes: $barcodes) { + location { + barcode + } + } +} + `; +export const FindLocationByBarcodeDocument = gql` + query FindLocationByBarcode($barcode: String!) { + location(locationBarcode: $barcode) { + ...LocationFields + } +} + ${LocationFieldsFragmentDoc}`; export const FindPassFailsDocument = gql` query FindPassFails($barcode: String!, $operationType: String!) { passFails(barcode: $barcode, operationType: $operationType) { @@ -5134,34 +5161,6 @@ ${SlotFieldsFragmentDoc} ${SampleFieldsFragmentDoc} ${UserFieldsFragmentDoc} ${SlotPassFailFieldsFragmentDoc}`; -export const FindLabwareDocument = gql` - query FindLabware($barcode: String!) { - labware(barcode: $barcode) { - ...LabwareFields - } -} - ${LabwareFieldsFragmentDoc} -${LabwareTypeFieldsFragmentDoc} -${SlotFieldsFragmentDoc} -${SampleFieldsFragmentDoc}`; -export const FindLocationByBarcodeDocument = gql` - query FindLocationByBarcode($barcode: String!) { - location(locationBarcode: $barcode) { - ...LocationFields - } -} - ${LocationFieldsFragmentDoc}`; -export const FindReagentPlateDocument = gql` - query FindReagentPlate($barcode: String!) { - reagentPlate(barcode: $barcode) { - barcode - slots { - ...ReagentSlotFields - } - plateType - } -} - ${ReagentSlotFieldsFragmentDoc}`; export const FindPermDataDocument = gql` query FindPermData($barcode: String!) { visiumPermData(barcode: $barcode) { @@ -5184,26 +5183,48 @@ ${LabwareTypeFieldsFragmentDoc} ${SlotFieldsFragmentDoc} ${SampleFieldsFragmentDoc} ${SamplePositionFieldsFragmentDoc}`; -export const FindHistoryForDonorNameDocument = gql` - query FindHistoryForDonorName($donorName: String!) { - historyForDonorName(donorName: $donorName) { - ...HistoryFields +export const FindPlanDataDocument = gql` + query FindPlanData($barcode: String!) { + planData(barcode: $barcode) { + sources { + ...LabwareFields + } + destination { + ...LabwareFields + } + plan { + operationType { + name + } + planActions { + ...PlanActionFields + } + } } } - ${HistoryFieldsFragmentDoc} -${LabwareFieldsFragmentDoc} + ${LabwareFieldsFragmentDoc} ${LabwareTypeFieldsFragmentDoc} ${SlotFieldsFragmentDoc} ${SampleFieldsFragmentDoc} -${HistoryEntryFieldsFragmentDoc} -${SamplePositionFieldsFragmentDoc}`; -export const FindStoragePathDocument = gql` - query FindStoragePath($locationBarcode: String!) { - storagePath(locationBarcode: $locationBarcode) { - ...LinkedLocationFields +${PlanActionFieldsFragmentDoc}`; +export const FindReagentPlateDocument = gql` + query FindReagentPlate($barcode: String!) { + reagentPlate(barcode: $barcode) { + barcode + slots { + ...ReagentSlotFields + } + plateType } } - ${LinkedLocationFieldsFragmentDoc}`; + ${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) { @@ -5211,6 +5232,13 @@ export const FindSamplePositionsDocument = gql` } } ${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]) { @@ -5224,6 +5252,13 @@ export const FindWorkInfoDocument = gql` } } `; +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( @@ -5260,20 +5295,6 @@ ${CostCodeFieldsFragmentDoc} ${WorkTypeFieldsFragmentDoc} ${OmeroProjectFieldsFragmentDoc} ${DnapStudyFieldsFragmentDoc}`; -export const GetBlockProcessingInfoDocument = gql` - query GetBlockProcessingInfo { - mediums { - name - } - comments(includeDisabled: false, category: "Sample Processing") { - ...CommentFields - } - labwareTypes { - ...LabwareTypeFields - } -} - ${CommentFieldsFragmentDoc} -${LabwareTypeFieldsFragmentDoc}`; export const GetAllWorkInfoDocument = gql` query GetAllWorkInfo { works { @@ -5288,30 +5309,27 @@ export const GetAllWorkInfoDocument = gql` } } `; -export const FindPlanDataDocument = gql` - query FindPlanData($barcode: String!) { - planData(barcode: $barcode) { - sources { - ...LabwareFields - } - destination { - ...LabwareFields - } - plan { - operationType { - name - } - planActions { - ...PlanActionFields - } - } +export const GetBlockProcessingInfoDocument = gql` + query GetBlockProcessingInfo { + mediums { + name + } + comments(includeDisabled: false, category: "Sample Processing") { + ...CommentFields + } + labwareTypes { + ...LabwareTypeFields } } - ${LabwareFieldsFragmentDoc} -${LabwareTypeFieldsFragmentDoc} -${SlotFieldsFragmentDoc} -${SampleFieldsFragmentDoc} -${PlanActionFieldsFragmentDoc}`; + ${CommentFieldsFragmentDoc} +${LabwareTypeFieldsFragmentDoc}`; +export const GetCommentsDocument = gql` + query GetComments($commentCategory: String, $includeDisabled: Boolean) { + comments(category: $commentCategory, includeDisabled: $includeDisabled) { + ...CommentFields + } +} + ${CommentFieldsFragmentDoc}`; export const GetConfigurationDocument = gql` query GetConfiguration { destructionReasons(includeDisabled: true) { @@ -5383,43 +5401,32 @@ ${ProbePanelFieldsFragmentDoc} ${ProgramFieldsFragmentDoc} ${OmeroProjectFieldsFragmentDoc} ${DnapStudyFieldsFragmentDoc}`; -export const FindWorkNumbersDocument = gql` - query FindWorkNumbers($status: WorkStatus!) { - works(status: [$status]) { - workNumber +export const GetDestroyInfoDocument = gql` + query GetDestroyInfo { + destructionReasons { + ...DestructionReasonFields } } - `; -export const FindLatestOperationDocument = gql` - query FindLatestOperation($barcode: String!, $operationType: String!) { - findLatestOp(barcode: $barcode, operationType: $operationType) { - id + ${DestructionReasonFieldsFragmentDoc}`; +export const GetDestructionReasonsDocument = gql` + query GetDestructionReasons($includeDisabled: Boolean) { + destructionReasons(includeDisabled: $includeDisabled) { + ...DestructionReasonFields } } - `; + ${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 GetLabwareOperationsDocument = gql` - query GetLabwareOperations($barcode: String!, $operationType: String!) { - labwareOperations(barcode: $barcode, operationType: $operationType) { - ...OperationFields - } -} - ${OperationFieldsFragmentDoc} -${ActionFieldsFragmentDoc} -${SlotFieldsFragmentDoc} -${SampleFieldsFragmentDoc} -${UserFieldsFragmentDoc}`; -export const GetDestroyInfoDocument = gql` - query GetDestroyInfo { - destructionReasons { - ...DestructionReasonFields - } -} - ${DestructionReasonFieldsFragmentDoc}`; export const GetLabwareInLocationDocument = gql` query GetLabwareInLocation($locationBarcode: String!) { labwareInLocation(locationBarcode: $locationBarcode) { @@ -5430,20 +5437,17 @@ export const GetLabwareInLocationDocument = gql` ${LabwareTypeFieldsFragmentDoc} ${SlotFieldsFragmentDoc} ${SampleFieldsFragmentDoc}`; -export const GetDestructionReasonsDocument = gql` - query GetDestructionReasons($includeDisabled: Boolean) { - destructionReasons(includeDisabled: $includeDisabled) { - ...DestructionReasonFields - } -} - ${DestructionReasonFieldsFragmentDoc}`; -export const GetCommentsDocument = gql` - query GetComments($commentCategory: String, $includeDisabled: Boolean) { - comments(category: $commentCategory, includeDisabled: $includeDisabled) { - ...CommentFields +export const GetLabwareOperationsDocument = gql` + query GetLabwareOperations($barcode: String!, $operationType: String!) { + labwareOperations(barcode: $barcode, operationType: $operationType) { + ...OperationFields } } - ${CommentFieldsFragmentDoc}`; + ${OperationFieldsFragmentDoc} +${ActionFieldsFragmentDoc} +${SlotFieldsFragmentDoc} +${SampleFieldsFragmentDoc} +${UserFieldsFragmentDoc}`; export const GetNextReplicateNumberDocument = gql` query GetNextReplicateNumber($barcodes: [String!]!) { nextReplicateNumbers(barcodes: $barcodes) { @@ -5459,6 +5463,33 @@ export const GetOmeroProjectsDocument = gql` } } `; +export const FindHistoryForExternalNameDocument = gql` + query FindHistoryForExternalName($externalName: String!) { + historyForExternalName(externalName: $externalName) { + ...HistoryFields + } +} + ${HistoryFieldsFragmentDoc} +${LabwareFieldsFragmentDoc} +${LabwareTypeFieldsFragmentDoc} +${SlotFieldsFragmentDoc} +${SampleFieldsFragmentDoc} +${HistoryEntryFieldsFragmentDoc} +${SamplePositionFieldsFragmentDoc}`; +export const ExtractResultDocument = gql` + query ExtractResult($barcode: String!) { + extractResult(barcode: $barcode) { + result + concentration + labware { + ...LabwareFields + } + } +} + ${LabwareFieldsFragmentDoc} +${LabwareTypeFieldsFragmentDoc} +${SlotFieldsFragmentDoc} +${SampleFieldsFragmentDoc}`; export const GetPotProcessingInfoDocument = gql` query GetPotProcessingInfo { fixatives { @@ -5473,20 +5504,13 @@ export const GetPotProcessingInfoDocument = gql` } ${CommentFieldsFragmentDoc} ${LabwareTypeFieldsFragmentDoc}`; -export const GetFfpeProcessingInfoDocument = gql` - query GetFFPEProcessingInfo { - comments(includeDisabled: false, category: "FFPE processing program") { - ...CommentFields - } -} - ${CommentFieldsFragmentDoc}`; -export const GetRecordExtractResultInfoDocument = gql` - query GetRecordExtractResultInfo { - comments(category: "extract result", includeDisabled: false) { - ...CommentFields +export const GetRecordInPlaceInfoDocument = gql` + query GetRecordInPlaceInfo($category: String) { + equipments(includeDisabled: false, category: $category) { + ...EquipmentFields } } - ${CommentFieldsFragmentDoc}`; + ${EquipmentFieldsFragmentDoc}`; export const GetProbePanelsDocument = gql` query GetProbePanels { probePanels { @@ -5495,6 +5519,38 @@ export const GetProbePanelsDocument = gql` } } `; +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 GetProgramsDocument = gql` query GetPrograms { programs { @@ -5503,13 +5559,13 @@ export const GetProgramsDocument = gql` } } `; -export const GetRecordInPlaceInfoDocument = gql` - query GetRecordInPlaceInfo($category: String) { - equipments(includeDisabled: false, category: $category) { - ...EquipmentFields +export const GetRecordExtractResultInfoDocument = gql` + query GetRecordExtractResultInfo { + comments(category: "extract result", includeDisabled: false) { + ...CommentFields } } - ${EquipmentFieldsFragmentDoc}`; + ${CommentFieldsFragmentDoc}`; export const GetSectioningConfirmInfoDocument = gql` query GetSectioningConfirmInfo { comments(category: "section") { @@ -5521,17 +5577,6 @@ export const GetSectioningConfirmInfoDocument = gql` } ${CommentFieldsFragmentDoc} ${SlotRegionFieldsFragmentDoc}`; -export const GetReleaseInfoDocument = gql` - query GetReleaseInfo { - releaseDestinations { - ...ReleaseDestinationFields - } - releaseRecipients { - ...ReleaseRecipientFields - } -} - ${ReleaseDestinationFieldsFragmentDoc} -${ReleaseRecipientFieldsFragmentDoc}`; export const GetSampleProcessingCommentsInfoDocument = gql` query GetSampleProcessingCommentsInfo { comments: comments(includeDisabled: false, category: "Sample Processing") { @@ -5539,18 +5584,10 @@ export const GetSampleProcessingCommentsInfoDocument = gql` } } ${CommentFieldsFragmentDoc}`; -export const GetPrintersDocument = gql` - query GetPrinters { - printers { - ...PrinterFields - } -} - ${PrinterFieldsFragmentDoc}`; -export const GetSlotRegionsDocument = gql` - query GetSlotRegions($includeDisabled: Boolean) { - slotRegions(includeDisabled: $includeDisabled) { +export const GetSearchInfoDocument = gql` + query GetSearchInfo { + tissueTypes { name - enabled } } `; @@ -5561,32 +5598,28 @@ export const GetSectioningInfoDocument = gql` } } ${LabwareTypeFieldsFragmentDoc}`; -export const GetSearchInfoDocument = gql` - query GetSearchInfo { - tissueTypes { +export const GetSlotRegionsDocument = gql` + query GetSlotRegions($includeDisabled: Boolean) { + slotRegions(includeDisabled: $includeDisabled) { name + enabled } } `; -export const GetSuggestedWorkForLabwareDocument = gql` - query GetSuggestedWorkForLabware($barcodes: [String!]!, $includeInactive: Boolean) { - suggestedWorkForLabware(barcodes: $barcodes, includeInactive: $includeInactive) { - suggestedWorks { - ...SuggestedWorkFields - } +export const GetStainInfoDocument = gql` + query GetStainInfo { + stainTypes { + ...StainTypeFields } } - ${SuggestedWorkFieldsFragmentDoc}`; -export const GetSuggestedLabwareForWorkDocument = gql` - query GetSuggestedLabwareForWork($workNumber: String!, $forRelease: Boolean) { - suggestedLabwareForWork(workNumber: $workNumber, forRelease: $forRelease) { - ...LabwareFields + ${StainTypeFieldsFragmentDoc}`; +export const GetStainingQcInfoDocument = gql` + query GetStainingQCInfo { + comments(includeDisabled: false, category: "stain QC") { + ...CommentFields } } - ${LabwareFieldsFragmentDoc} -${LabwareTypeFieldsFragmentDoc} -${SlotFieldsFragmentDoc} -${SampleFieldsFragmentDoc}`; + ${CommentFieldsFragmentDoc}`; export const GetSolutionTransferInfoDocument = gql` query GetSolutionTransferInfo { solutions { @@ -5594,45 +5627,25 @@ export const GetSolutionTransferInfoDocument = gql` } } `; -export const GetStainInfoDocument = gql` - query GetStainInfo { - stainTypes { - ...StainTypeFields +export const GetSuggestedLabwareForWorkDocument = gql` + query GetSuggestedLabwareForWork($workNumber: String!, $forRelease: Boolean) { + suggestedLabwareForWork(workNumber: $workNumber, forRelease: $forRelease) { + ...LabwareFields } } - ${StainTypeFieldsFragmentDoc}`; -export const GetRegistrationInfoDocument = gql` - query GetRegistrationInfo { - species { - name - } - hmdmcs { - hmdmc - } - labwareTypes { - ...LabwareTypeFields - } - tissueTypes { - name - spatialLocations { - name - code + ${LabwareFieldsFragmentDoc} +${LabwareTypeFieldsFragmentDoc} +${SlotFieldsFragmentDoc} +${SampleFieldsFragmentDoc}`; +export const GetSuggestedWorkForLabwareDocument = gql` + query GetSuggestedWorkForLabware($barcodes: [String!]!, $includeInactive: Boolean) { + suggestedWorkForLabware(barcodes: $barcodes, includeInactive: $includeInactive) { + suggestedWorks { + ...SuggestedWorkFields } } - fixatives { - name - } - mediums { - name - } - solutions { - name - } - slotRegions { - name - } } - ${LabwareTypeFieldsFragmentDoc}`; + ${SuggestedWorkFieldsFragmentDoc}`; export const GetVisiumQcInfoDocument = gql` query GetVisiumQCInfo { comments(includeDisabled: false, category: "Visium QC") { @@ -5640,27 +5653,6 @@ export const GetVisiumQcInfoDocument = gql` } } ${CommentFieldsFragmentDoc}`; -export const GetStainingQcInfoDocument = gql` - query GetStainingQCInfo { - comments(includeDisabled: false, category: "stain QC") { - ...CommentFields - } -} - ${CommentFieldsFragmentDoc}`; -export const GetWorkNumbersDocument = gql` - query GetWorkNumbers { - works { - workNumber - } -} - `; -export const GetXeniumQcInfoDocument = gql` - query GetXeniumQCInfo { - comments(includeDisabled: false, category: "QC labware") { - ...CommentFields - } -} - ${CommentFieldsFragmentDoc}`; export const GetWorkAllocationInfoDocument = gql` query GetWorkAllocationInfo($commentCategory: String!, $workStatuses: [WorkStatus!]) { projects(includeDisabled: false) { @@ -5701,13 +5693,24 @@ ${WorkTypeFieldsFragmentDoc} ${OmeroProjectFieldsFragmentDoc} ${DnapStudyFieldsFragmentDoc} ${CommentFieldsFragmentDoc}`; -export const GetWorkTypesDocument = gql` - query GetWorkTypes { - workTypes(includeDisabled: true) { - name +export const GetWorkNumbersDocument = gql` + query GetWorkNumbers { + works { + workNumber } } `; +export const GetReleaseInfoDocument = gql` + query GetReleaseInfo { + releaseDestinations { + ...ReleaseDestinationFields + } + releaseRecipients { + ...ReleaseRecipientFields + } +} + ${ReleaseDestinationFieldsFragmentDoc} +${ReleaseRecipientFieldsFragmentDoc}`; export const GetWorkProgressInputsDocument = gql` query GetWorkProgressInputs { workTypes(includeDisabled: true) { @@ -5721,6 +5724,27 @@ export const GetWorkProgressInputsDocument = gql` } } `; +export const GetPrintersDocument = gql` + query GetPrinters { + printers { + ...PrinterFields + } +} + ${PrinterFieldsFragmentDoc}`; +export const GetXeniumQcInfoDocument = gql` + query GetXeniumQCInfo { + comments(includeDisabled: false, category: "QC labware") { + ...CommentFields + } +} + ${CommentFieldsFragmentDoc}`; +export const GetWorkTypesDocument = gql` + query GetWorkTypes { + workTypes(includeDisabled: true) { + name + } +} + `; export const GetWorkSummaryDocument = gql` query GetWorkSummary { worksSummary { @@ -5734,13 +5758,6 @@ export const GetWorkSummaryDocument = gql` } ${WorkSummaryGroupFieldsFragmentDoc} ${WorkTypeFieldsFragmentDoc}`; -export const AddCostCodeDocument = gql` - mutation AddCostCode($code: String!) { - addCostCode(code: $code) { - ...CostCodeFields - } -} - ${CostCodeFieldsFragmentDoc}`; export const AddCommentDocument = gql` mutation AddComment($category: String!, $text: String!) { addComment(category: $category, text: $text) { @@ -5762,34 +5779,6 @@ export const AddEquipmentDocument = gql` } } ${EquipmentFieldsFragmentDoc}`; -export const AddHmdmcDocument = gql` - mutation AddHmdmc($hmdmc: String!) { - addHmdmc(hmdmc: $hmdmc) { - ...HmdmcFields - } -} - ${HmdmcFieldsFragmentDoc}`; -export const AddDestructionReasonDocument = gql` - mutation AddDestructionReason($text: String!) { - addDestructionReason(text: $text) { - ...DestructionReasonFields - } -} - ${DestructionReasonFieldsFragmentDoc}`; -export const AddFixativeDocument = gql` - mutation AddFixative($name: String!) { - addFixative(name: $name) { - ...FixativeFields - } -} - ${FixativeFieldsFragmentDoc}`; -export const AddProgramDocument = gql` - mutation AddProgram($name: String!) { - addProgram(name: $name) { - ...ProgramFields - } -} - ${ProgramFieldsFragmentDoc}`; export const AddExternalIdDocument = gql` mutation AddExternalID($request: AddExternalIDRequest!) { addExternalID(request: $request) { @@ -5804,7 +5793,28 @@ export const AddExternalIdDocument = gql` } } } - `; + `; +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 + } +} + ${CostCodeFieldsFragmentDoc}`; +export const AddFixativeDocument = gql` + mutation AddFixative($name: String!) { + addFixative(name: $name) { + ...FixativeFields + } +} + ${FixativeFieldsFragmentDoc}`; export const AddProjectDocument = gql` mutation AddProject($name: String!) { addProject(name: $name) { @@ -5819,6 +5829,20 @@ export const AddReleaseDestinationDocument = gql` } } ${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 + } +} + ${ProgramFieldsFragmentDoc}`; export const AddSlotRegionDocument = gql` mutation AddSlotRegion($name: String!) { addSlotRegion(name: $name) { @@ -5826,6 +5850,13 @@ export const AddSlotRegionDocument = gql` } } ${SlotRegionFieldsFragmentDoc}`; +export const AddSpeciesDocument = gql` + mutation AddSpecies($name: String!) { + addSpecies(name: $name) { + ...SpeciesFields + } +} + ${SpeciesFieldsFragmentDoc}`; export const AddUserDocument = gql` mutation AddUser($username: String!) { addUser(username: $username) { @@ -5833,23 +5864,16 @@ export const AddUserDocument = gql` } } ${UserFieldsFragmentDoc}`; -export const AddOmeroProjectDocument = gql` - mutation AddOmeroProject($name: String!) { - addOmeroProject(name: $name) { - ...OmeroProjectFields - } -} - ${OmeroProjectFieldsFragmentDoc}`; -export const AddSolutionDocument = gql` - mutation AddSolution($name: String!) { - addSolution(name: $name) { - ...SolutionFields +export const AddWorkTypeDocument = gql` + mutation AddWorkType($name: String!) { + addWorkType(name: $name) { + ...WorkTypeFields } } - ${SolutionFieldsFragmentDoc}`; + ${WorkTypeFieldsFragmentDoc}`; export const AddReleaseRecipientDocument = gql` - mutation AddReleaseRecipient($username: String!) { - addReleaseRecipient(username: $username) { + mutation AddReleaseRecipient($username: String!, $fullName: String) { + addReleaseRecipient(username: $username, fullName: $fullName) { ...ReleaseRecipientFields } } @@ -5861,13 +5885,6 @@ export const AddProbePanelDocument = gql` } } ${ProbePanelFieldsFragmentDoc}`; -export const AddSpeciesDocument = gql` - mutation AddSpecies($name: String!) { - addSpecies(name: $name) { - ...SpeciesFields - } -} - ${SpeciesFieldsFragmentDoc}`; export const AliquotDocument = gql` mutation Aliquot($request: AliquotRequest!) { aliquot(request: $request) { @@ -5901,39 +5918,6 @@ export const AliquotDocument = gql` ${LabwareTypeFieldsFragmentDoc} ${SlotFieldsFragmentDoc} ${SampleFieldsFragmentDoc}`; -export const AddWorkTypeDocument = gql` - mutation AddWorkType($name: String!) { - addWorkType(name: $name) { - ...WorkTypeFields - } -} - ${WorkTypeFieldsFragmentDoc}`; -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 - ) { - ...WorkFields - } -} - ${WorkFieldsFragmentDoc} -${ReleaseRecipientFieldsFragmentDoc} -${ProjectFieldsFragmentDoc} -${ProgramFieldsFragmentDoc} -${CostCodeFieldsFragmentDoc} -${WorkTypeFieldsFragmentDoc} -${OmeroProjectFieldsFragmentDoc} -${DnapStudyFieldsFragmentDoc}`; export const ConfirmDocument = gql` mutation Confirm($request: ConfirmOperationRequest!) { confirmOperation(request: $request) { @@ -5955,36 +5939,13 @@ export const ConfirmDocument = gql` ${LabwareTypeFieldsFragmentDoc} ${SlotFieldsFragmentDoc} ${SampleFieldsFragmentDoc}`; -export const ConfirmSectionDocument = gql` - mutation ConfirmSection($request: ConfirmSectionRequest!) { - confirmSection(request: $request) { - labware { - ...LabwareFields - } - operations { - operationType { - name - } - user { - username - } - performed - } - } -} - ${LabwareFieldsFragmentDoc} -${LabwareTypeFieldsFragmentDoc} -${SlotFieldsFragmentDoc} -${SampleFieldsFragmentDoc}`; -export const LoginDocument = gql` - mutation Login($username: String!, $password: String!) { - login(username: $username, password: $password) { - user { - ...UserFields - } +export const AddSolutionDocument = gql` + mutation AddSolution($name: String!) { + addSolution(name: $name) { + ...SolutionFields } } - ${UserFieldsFragmentDoc}`; + ${SolutionFieldsFragmentDoc}`; export const DestroyDocument = gql` mutation Destroy($request: DestroyRequest!) { destroy(request: $request) { @@ -6003,9 +5964,9 @@ export const EmptyLocationDocument = gql` } } `; -export const PerformSolutionTransferDocument = gql` - mutation PerformSolutionTransfer($request: SolutionTransferRequest!) { - performSolutionTransfer(request: $request) { +export const ConfirmSectionDocument = gql` + mutation ConfirmSection($request: ConfirmSectionRequest!) { + confirmSection(request: $request) { labware { ...LabwareFields } @@ -6024,6 +5985,44 @@ export const PerformSolutionTransferDocument = gql` ${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 + } + } + } + } +} + ${LabwareFieldsFragmentDoc} +${LabwareTypeFieldsFragmentDoc} +${SlotFieldsFragmentDoc} +${SampleFieldsFragmentDoc}`; +export const LogoutDocument = gql` + mutation Logout { + logout +} + `; export const PerformFfpeProcessingDocument = gql` mutation PerformFFPEProcessing($request: FFPEProcessingRequest!) { performFFPEProcessing(request: $request) { @@ -6045,14 +6044,9 @@ export const PerformFfpeProcessingDocument = gql` ${LabwareTypeFieldsFragmentDoc} ${SlotFieldsFragmentDoc} ${SampleFieldsFragmentDoc}`; -export const LogoutDocument = gql` - mutation Logout { - logout -} - `; -export const PlanDocument = gql` - mutation Plan($request: PlanRequest!) { - plan(request: $request) { +export const PerformSolutionTransferDocument = gql` + mutation PerformSolutionTransfer($request: SolutionTransferRequest!) { + performSolutionTransfer(request: $request) { labware { ...LabwareFields } @@ -6060,20 +6054,20 @@ export const PlanDocument = gql` operationType { name } - planActions { - ...PlanActionFields + user { + username } + performed } } } ${LabwareFieldsFragmentDoc} ${LabwareTypeFieldsFragmentDoc} ${SlotFieldsFragmentDoc} -${SampleFieldsFragmentDoc} -${PlanActionFieldsFragmentDoc}`; -export const ExtractDocument = gql` - mutation Extract($request: ExtractRequest!) { - extract(request: $request) { +${SampleFieldsFragmentDoc}`; +export const PerformTissueBlockDocument = gql` + mutation PerformTissueBlock($request: TissueBlockRequest!) { + performTissueBlock(request: $request) { labware { ...LabwareFields } @@ -6081,22 +6075,10 @@ export const ExtractDocument = gql` operationType { name } - actions { - sample { - id - } - source { - address - labwareId - samples { - id - } - } - destination { - address - labwareId - } + user { + username } + performed } } } @@ -6125,27 +6107,67 @@ export const PerformTissuePotDocument = gql` ${LabwareTypeFieldsFragmentDoc} ${SlotFieldsFragmentDoc} ${SampleFieldsFragmentDoc}`; -export const PerformTissueBlockDocument = gql` - mutation PerformTissueBlock($request: TissueBlockRequest!) { - performTissueBlock(request: $request) { +export const PlanDocument = gql` + mutation Plan($request: PlanRequest!) { + plan(request: $request) { labware { ...LabwareFields } operations { - operationType { - name - } - user { - username - } - performed + operationType { + name + } + planActions { + ...PlanActionFields + } + } + } +} + ${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 + ) { + ...WorkFields + } +} + ${WorkFieldsFragmentDoc} +${ReleaseRecipientFieldsFragmentDoc} +${ProjectFieldsFragmentDoc} +${ProgramFieldsFragmentDoc} +${CostCodeFieldsFragmentDoc} +${WorkTypeFieldsFragmentDoc} +${OmeroProjectFieldsFragmentDoc} +${DnapStudyFieldsFragmentDoc}`; +export const RecordComplexStainDocument = gql` + mutation RecordComplexStain($request: ComplexStainRequest!) { + recordComplexStain(request: $request) { + operations { + id } } } - ${LabwareFieldsFragmentDoc} -${LabwareTypeFieldsFragmentDoc} -${SlotFieldsFragmentDoc} -${SampleFieldsFragmentDoc}`; + `; export const RecordExtractResultDocument = gql` mutation RecordExtractResult($request: ExtractResultRequest!) { recordExtractResult(request: $request) { @@ -6155,27 +6177,39 @@ export const RecordExtractResultDocument = gql` } } `; -export const RecordComplexStainDocument = gql` - mutation RecordComplexStain($request: ComplexStainRequest!) { - recordComplexStain(request: $request) { +export const RecordAnalyserDocument = gql` + mutation RecordAnalyser($request: AnalyserRequest!) { + recordAnalyser(request: $request) { operations { id } } } `; -export const RecordAnalyserDocument = gql` - mutation RecordAnalyser($request: AnalyserRequest!) { - recordAnalyser(request: $request) { +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 RecordCompletionDocument = gql` - mutation RecordCompletion($request: CompletionRequest!) { - recordCompletion(request: $request) { +export const RecordPermDocument = gql` + mutation RecordPerm($request: RecordPermRequest!) { + recordPerm(request: $request) { operations { id } @@ -6191,36 +6225,33 @@ export const RecordOpWithSlotCommentsDocument = gql` } } `; -export const RecordPermDocument = gql` - mutation RecordPerm($request: RecordPermRequest!) { - recordPerm(request: $request) { +export const RecordProbeOperationDocument = gql` + mutation RecordProbeOperation($request: ProbeOperationRequest!) { + recordProbeOperation(request: $request) { operations { id } } } `; -export const RecordOpWithSlotMeasurementsDocument = gql` - mutation RecordOpWithSlotMeasurements($request: OpWithSlotMeasurementsRequest!) { - recordOpWithSlotMeasurements(request: $request) { +export const RecordReagentTransferDocument = gql` + mutation RecordReagentTransfer($request: ReagentTransferRequest!) { + reagentTransfer(request: $request) { operations { id } } } `; -export const RecordInPlaceDocument = gql` - mutation RecordInPlace($request: InPlaceOpRequest!) { - recordInPlace(request: $request) { - labware { - ...LabwareFields +export const RecordCompletionDocument = gql` + mutation RecordCompletion($request: CompletionRequest!) { + recordCompletion(request: $request) { + operations { + id } } } - ${LabwareFieldsFragmentDoc} -${LabwareTypeFieldsFragmentDoc} -${SlotFieldsFragmentDoc} -${SampleFieldsFragmentDoc}`; + `; export const RecordRnaAnalysisDocument = gql` mutation RecordRNAAnalysis($request: RNAAnalysisRequest!) { recordRNAAnalysis(request: $request) { @@ -6269,6 +6300,17 @@ export const RecordVisiumQcDocument = gql` } } `; +export const RegisterOriginalSamplesDocument = gql` + mutation RegisterOriginalSamples($request: OriginalSampleRegisterRequest!) { + registerOriginalSamples(request: $request) { + ...RegisterResultFields + } +} + ${RegisterResultFieldsFragmentDoc} +${LabwareFieldsFragmentDoc} +${LabwareTypeFieldsFragmentDoc} +${SlotFieldsFragmentDoc} +${SampleFieldsFragmentDoc}`; export const RegisterSectionsDocument = gql` mutation RegisterSections($request: SectionRegisterRequest!) { registerSections(request: $request) { @@ -6281,35 +6323,13 @@ export const RegisterSectionsDocument = gql` ${LabwareTypeFieldsFragmentDoc} ${SlotFieldsFragmentDoc} ${SampleFieldsFragmentDoc}`; -export const RecordProbeOperationDocument = gql` - mutation RecordProbeOperation($request: ProbeOperationRequest!) { - recordProbeOperation(request: $request) { - operations { - id - } - } -} - `; -export const RecordReagentTransferDocument = gql` - mutation RecordReagentTransfer($request: ReagentTransferRequest!) { - reagentTransfer(request: $request) { - operations { - id - } - } -} - `; -export const RegisterOriginalSamplesDocument = gql` - mutation RegisterOriginalSamples($request: OriginalSampleRegisterRequest!) { - registerOriginalSamples(request: $request) { - ...RegisterResultFields +export const SetCommentEnabledDocument = gql` + mutation SetCommentEnabled($commentId: Int!, $enabled: Boolean!) { + setCommentEnabled(commentId: $commentId, enabled: $enabled) { + ...CommentFields } } - ${RegisterResultFieldsFragmentDoc} -${LabwareFieldsFragmentDoc} -${LabwareTypeFieldsFragmentDoc} -${SlotFieldsFragmentDoc} -${SampleFieldsFragmentDoc}`; + ${CommentFieldsFragmentDoc}`; export const ReleaseLabwareDocument = gql` mutation ReleaseLabware($releaseRequest: ReleaseRequest!) { release(request: $releaseRequest) { @@ -6328,6 +6348,15 @@ export const ReleaseLabwareDocument = gql` } } `; +export const RecordQcLabwareDocument = gql` + mutation RecordQCLabware($request: QCLabwareRequest!) { + recordQCLabware(request: $request) { + operations { + id + } + } +} + `; export const RegisterTissuesDocument = gql` mutation RegisterTissues($request: RegisterRequest!) { register(request: $request) { @@ -6339,13 +6368,6 @@ ${LabwareFieldsFragmentDoc} ${LabwareTypeFieldsFragmentDoc} ${SlotFieldsFragmentDoc} ${SampleFieldsFragmentDoc}`; -export const SetCommentEnabledDocument = gql` - mutation SetCommentEnabled($commentId: Int!, $enabled: Boolean!) { - setCommentEnabled(commentId: $commentId, enabled: $enabled) { - ...CommentFields - } -} - ${CommentFieldsFragmentDoc}`; export const SetCostCodeEnabledDocument = gql` mutation SetCostCodeEnabled($code: String!, $enabled: Boolean!) { setCostCodeEnabled(code: $code, enabled: $enabled) { @@ -6353,15 +6375,6 @@ export const SetCostCodeEnabledDocument = gql` } } ${CostCodeFieldsFragmentDoc}`; -export const RecordQcLabwareDocument = gql` - mutation RecordQCLabware($request: QCLabwareRequest!) { - recordQCLabware(request: $request) { - operations { - id - } - } -} - `; export const SetDestructionReasonEnabledDocument = gql` mutation SetDestructionReasonEnabled($text: String!, $enabled: Boolean!) { setDestructionReasonEnabled(text: $text, enabled: $enabled) { @@ -6369,18 +6382,13 @@ export const SetDestructionReasonEnabledDocument = gql` } } ${DestructionReasonFieldsFragmentDoc}`; -export const PrintDocument = gql` - mutation Print($barcodes: [String!]!, $printer: String!) { - printLabware(barcodes: $barcodes, printer: $printer) -} - `; -export const SetFixativeEnabledDocument = gql` - mutation SetFixativeEnabled($name: String!, $enabled: Boolean!) { - setFixativeEnabled(name: $name, enabled: $enabled) { - ...FixativeFields +export const SetEquipmentEnabledDocument = gql` + mutation SetEquipmentEnabled($equipmentId: Int!, $enabled: Boolean!) { + setEquipmentEnabled(equipmentId: $equipmentId, enabled: $enabled) { + ...EquipmentFields } } - ${FixativeFieldsFragmentDoc}`; + ${EquipmentFieldsFragmentDoc}`; export const SetLocationCustomNameDocument = gql` mutation SetLocationCustomName($locationBarcode: String!, $newCustomName: String!) { setLocationCustomName( @@ -6391,13 +6399,20 @@ export const SetLocationCustomNameDocument = gql` } } ${LocationFieldsFragmentDoc}`; -export const SetEquipmentEnabledDocument = gql` - mutation SetEquipmentEnabled($equipmentId: Int!, $enabled: Boolean!) { - setEquipmentEnabled(equipmentId: $equipmentId, enabled: $enabled) { - ...EquipmentFields +export const SetHmdmcEnabledDocument = gql` + mutation SetHmdmcEnabled($hmdmc: String!, $enabled: Boolean!) { + setHmdmcEnabled(hmdmc: $hmdmc, enabled: $enabled) { + ...HmdmcFields } } - ${EquipmentFieldsFragmentDoc}`; + ${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) { @@ -6405,13 +6420,6 @@ export const SetProgramEnabledDocument = gql` } } ${ProgramFieldsFragmentDoc}`; -export const SetDnapStudyEnabledDocument = gql` - mutation SetDnapStudyEnabled($name: String!, $enabled: Boolean!) { - setDnapStudyEnabled(name: $name, enabled: $enabled) { - ...DnapStudyFields - } -} - ${DnapStudyFieldsFragmentDoc}`; export const SetProjectEnabledDocument = gql` mutation SetProjectEnabled($name: String!, $enabled: Boolean!) { setProjectEnabled(name: $name, enabled: $enabled) { @@ -6419,20 +6427,27 @@ export const SetProjectEnabledDocument = gql` } } ${ProjectFieldsFragmentDoc}`; -export const SetOmeroProjectEnabledDocument = gql` - mutation SetOmeroProjectEnabled($name: String!, $enabled: Boolean!) { - setOmeroProjectEnabled(name: $name, enabled: $enabled) { - ...OmeroProjectFields +export const SetFixativeEnabledDocument = gql` + mutation SetFixativeEnabled($name: String!, $enabled: Boolean!) { + setFixativeEnabled(name: $name, enabled: $enabled) { + ...FixativeFields } } - ${OmeroProjectFieldsFragmentDoc}`; -export const SetHmdmcEnabledDocument = gql` - mutation SetHmdmcEnabled($hmdmc: String!, $enabled: Boolean!) { - setHmdmcEnabled(hmdmc: $hmdmc, enabled: $enabled) { - ...HmdmcFields + ${FixativeFieldsFragmentDoc}`; +export const SetReleaseDestinationEnabledDocument = gql` + mutation SetReleaseDestinationEnabled($name: String!, $enabled: Boolean!) { + setReleaseDestinationEnabled(name: $name, enabled: $enabled) { + ...ReleaseDestinationFields } } - ${HmdmcFieldsFragmentDoc}`; + ${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) { @@ -6440,13 +6455,13 @@ export const SetSlotRegionEnabledDocument = gql` } } ${SlotRegionFieldsFragmentDoc}`; -export const SetReleaseDestinationEnabledDocument = gql` - mutation SetReleaseDestinationEnabled($name: String!, $enabled: Boolean!) { - setReleaseDestinationEnabled(name: $name, enabled: $enabled) { - ...ReleaseDestinationFields +export const SetReleaseRecipientEnabledDocument = gql` + mutation SetReleaseRecipientEnabled($username: String!, $enabled: Boolean!) { + setReleaseRecipientEnabled(username: $username, enabled: $enabled) { + ...ReleaseRecipientFields } } - ${ReleaseDestinationFieldsFragmentDoc}`; + ${ReleaseRecipientFieldsFragmentDoc}`; export const SetSolutionEnabledDocument = gql` mutation SetSolutionEnabled($name: String!, $enabled: Boolean!) { setSolutionEnabled(name: $name, enabled: $enabled) { @@ -6454,13 +6469,6 @@ export const SetSolutionEnabledDocument = gql` } } ${SolutionFieldsFragmentDoc}`; -export const SetProbePanelEnabledDocument = gql` - mutation SetProbePanelEnabled($name: String!, $enabled: Boolean!) { - setProbePanelEnabled(name: $name, enabled: $enabled) { - ...ProbePanelFields - } -} - ${ProbePanelFieldsFragmentDoc}`; export const SetSpeciesEnabledDocument = gql` mutation SetSpeciesEnabled($name: String!, $enabled: Boolean!) { setSpeciesEnabled(name: $name, enabled: $enabled) { @@ -6468,22 +6476,27 @@ export const SetSpeciesEnabledDocument = gql` } } ${SpeciesFieldsFragmentDoc}`; -export const SetReleaseRecipientEnabledDocument = gql` - mutation SetReleaseRecipientEnabled($username: String!, $enabled: Boolean!) { - setReleaseRecipientEnabled(username: $username, enabled: $enabled) { - ...ReleaseRecipientFields +export const SetUserRoleDocument = gql` + mutation SetUserRole($username: String!, $role: UserRole!) { + setUserRole(username: $username, role: $role) { + ...UserFields } } - ${ReleaseRecipientFieldsFragmentDoc}`; -export const StainDocument = gql` - mutation Stain($request: StainRequest!) { - stain(request: $request) { - operations { - id - } + ${UserFieldsFragmentDoc}`; +export const SetWorkTypeEnabledDocument = gql` + mutation SetWorkTypeEnabled($name: String!, $enabled: Boolean!) { + setWorkTypeEnabled(name: $name, enabled: $enabled) { + ...WorkTypeFields + } +} + ${WorkTypeFieldsFragmentDoc}`; +export const SetDnapStudyEnabledDocument = gql` + mutation SetDnapStudyEnabled($name: String!, $enabled: Boolean!) { + setDnapStudyEnabled(name: $name, enabled: $enabled) { + ...DnapStudyFields } } - `; + ${DnapStudyFieldsFragmentDoc}`; export const SlotCopyDocument = gql` mutation SlotCopy($request: SlotCopyRequest!) { slotCopy(request: $request) { @@ -6496,42 +6509,31 @@ export const SlotCopyDocument = gql` ${LabwareTypeFieldsFragmentDoc} ${SlotFieldsFragmentDoc} ${SampleFieldsFragmentDoc}`; -export const UnreleaseDocument = gql` - mutation Unrelease($request: UnreleaseRequest!) { - unrelease(request: $request) { +export const StoreDocument = gql` + mutation Store($store: [StoreInput!]!, $locationBarcode: String!) { + store(store: $store, locationBarcode: $locationBarcode) { + ...LocationFields + } +} + ${LocationFieldsFragmentDoc}`; +export const StainDocument = gql` + mutation Stain($request: StainRequest!) { + stain(request: $request) { operations { id } } } `; -export const SetUserRoleDocument = gql` - mutation SetUserRole($username: String!, $role: UserRole!) { - setUserRole(username: $username, role: $role) { - ...UserFields - } -} - ${UserFieldsFragmentDoc}`; -export const SetWorkTypeEnabledDocument = gql` - mutation SetWorkTypeEnabled($name: String!, $enabled: Boolean!) { - setWorkTypeEnabled(name: $name, enabled: $enabled) { - ...WorkTypeFields - } -} - ${WorkTypeFieldsFragmentDoc}`; -export const StoreBarcodeDocument = gql` - mutation StoreBarcode($barcode: String!, $locationBarcode: String!, $address: Address) { - storeBarcode( - barcode: $barcode - locationBarcode: $locationBarcode - address: $address - ) { - location { - ...LocationFields +export const UnreleaseDocument = gql` + mutation Unrelease($request: UnreleaseRequest!) { + unrelease(request: $request) { + operations { + id } } } - ${LocationFieldsFragmentDoc}`; + `; export const TransferLocationItemsDocument = gql` mutation TransferLocationItems($sourceBarcode: String!, $destinationBarcode: String!) { transfer(sourceBarcode: $sourceBarcode, destinationBarcode: $destinationBarcode) { @@ -6539,9 +6541,17 @@ export const TransferLocationItemsDocument = gql` } } ${LocationFieldsFragmentDoc}`; -export const UpdateWorkNumSlidesDocument = gql` - mutation UpdateWorkNumSlides($workNumber: String!, $numSlides: Int) { - updateWorkNumSlides(workNumber: $workNumber, numSlides: $numSlides) { +export const UnstoreBarcodeDocument = gql` + mutation UnstoreBarcode($barcode: String!) { + unstoreBarcode(barcode: $barcode) { + barcode + address + } +} + `; +export const UpdateWorkDnapProjectDocument = gql` + mutation UpdateWorkDnapProject($workNumber: String!, $dnapStudy: String) { + updateWorkDnapProject(workNumber: $workNumber, dnapStudy: $dnapStudy) { ...WorkFields } } @@ -6567,9 +6577,39 @@ ${CostCodeFieldsFragmentDoc} ${WorkTypeFieldsFragmentDoc} ${OmeroProjectFieldsFragmentDoc} ${DnapStudyFieldsFragmentDoc}`; -export const UpdateWorkOmeroProjectDocument = gql` - mutation UpdateWorkOmeroProject($workNumber: String!, $omeroProject: String) { - updateWorkOmeroProject(workNumber: $workNumber, omeroProject: $omeroProject) { +export const StoreBarcodeDocument = gql` + mutation StoreBarcode($barcode: String!, $locationBarcode: String!, $address: Address) { + storeBarcode( + barcode: $barcode + locationBarcode: $locationBarcode + address: $address + ) { + location { + ...LocationFields + } + } +} + ${LocationFieldsFragmentDoc}`; +export const UpdateWorkNumOriginalSamplesDocument = gql` + mutation UpdateWorkNumOriginalSamples($workNumber: String!, $numOriginalSamples: Int) { + updateWorkNumOriginalSamples( + workNumber: $workNumber + numOriginalSamples: $numOriginalSamples + ) { + ...WorkFields + } +} + ${WorkFieldsFragmentDoc} +${ReleaseRecipientFieldsFragmentDoc} +${ProjectFieldsFragmentDoc} +${ProgramFieldsFragmentDoc} +${CostCodeFieldsFragmentDoc} +${WorkTypeFieldsFragmentDoc} +${OmeroProjectFieldsFragmentDoc} +${DnapStudyFieldsFragmentDoc}`; +export const UpdateWorkNumSlidesDocument = gql` + mutation UpdateWorkNumSlides($workNumber: String!, $numSlides: Int) { + updateWorkNumSlides(workNumber: $workNumber, numSlides: $numSlides) { ...WorkFields } } @@ -6595,16 +6635,9 @@ ${CostCodeFieldsFragmentDoc} ${WorkTypeFieldsFragmentDoc} ${OmeroProjectFieldsFragmentDoc} ${DnapStudyFieldsFragmentDoc}`; -export const StoreDocument = gql` - mutation Store($store: [StoreInput!]!, $locationBarcode: String!) { - store(store: $store, locationBarcode: $locationBarcode) { - ...LocationFields - } -} - ${LocationFieldsFragmentDoc}`; -export const UpdateWorkDnapProjectDocument = gql` - mutation UpdateWorkDnapProject($workNumber: String!, $dnapStudy: String) { - updateWorkDnapProject(workNumber: $workNumber, dnapStudy: $dnapStudy) { +export const UpdateWorkOmeroProjectDocument = gql` + mutation UpdateWorkOmeroProject($workNumber: String!, $omeroProject: String) { + updateWorkOmeroProject(workNumber: $workNumber, omeroProject: $omeroProject) { ...WorkFields } } @@ -6616,14 +6649,6 @@ ${CostCodeFieldsFragmentDoc} ${WorkTypeFieldsFragmentDoc} ${OmeroProjectFieldsFragmentDoc} ${DnapStudyFieldsFragmentDoc}`; -export const UnstoreBarcodeDocument = gql` - mutation UnstoreBarcode($barcode: String!) { - unstoreBarcode(barcode: $barcode) { - barcode - address - } -} - `; export const UpdateWorkStatusDocument = gql` mutation UpdateWorkStatus($workNumber: String!, $status: WorkStatus!, $commentId: Int) { updateWorkStatus( @@ -6652,23 +6677,29 @@ export const VisiumAnalysisDocument = gql` } } `; -export const UpdateWorkNumOriginalSamplesDocument = gql` - mutation UpdateWorkNumOriginalSamples($workNumber: String!, $numOriginalSamples: Int) { - updateWorkNumOriginalSamples( - workNumber: $workNumber - numOriginalSamples: $numOriginalSamples - ) { - ...WorkFields +export const UpdateReleaseRecipientFullNameDocument = gql` + mutation UpdateReleaseRecipientFullName($username: String!, $fullName: String) { + updateReleaseRecipientFullName(username: $username, fullName: $fullName) { + ...ReleaseRecipientFields } } - ${WorkFieldsFragmentDoc} -${ReleaseRecipientFieldsFragmentDoc} -${ProjectFieldsFragmentDoc} -${ProgramFieldsFragmentDoc} -${CostCodeFieldsFragmentDoc} -${WorkTypeFieldsFragmentDoc} -${OmeroProjectFieldsFragmentDoc} -${DnapStudyFieldsFragmentDoc}`; + ${ReleaseRecipientFieldsFragmentDoc}`; +export const LoginDocument = gql` + mutation Login($username: String!, $password: String!) { + login(username: $username, password: $password) { + user { + ...UserFields + } + } +} + ${UserFieldsFragmentDoc}`; +export const AddDestructionReasonDocument = gql` + mutation AddDestructionReason($text: String!) { + addDestructionReason(text: $text) { + ...DestructionReasonFields + } +} + ${DestructionReasonFieldsFragmentDoc}`; export type SdkFunctionWrapper = (action: (requestHeaders?:Record) => Promise, operationName: string, operationType?: string) => Promise; @@ -6680,17 +6711,14 @@ export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper = CurrentUser(variables?: CurrentUserQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(CurrentUserDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'CurrentUser', 'query'); }, - ExtractResult(variables: ExtractResultQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(ExtractResultDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'ExtractResult', 'query'); + Find(variables: FindQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(FindDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'Find', 'query'); }, FindFiles(variables: FindFilesQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(FindFilesDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindFiles', 'query'); }, - FindHistoryForExternalName(variables: FindHistoryForExternalNameQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(FindHistoryForExternalNameDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindHistoryForExternalName', 'query'); - }, - Find(variables: FindQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(FindDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'Find', 'query'); + FindHistoryForDonorName(variables: FindHistoryForDonorNameQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(FindHistoryForDonorNameDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindHistoryForDonorName', 'query'); }, FindHistoryForLabwareBarcode(variables: FindHistoryForLabwareBarcodeQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(FindHistoryForLabwareBarcodeDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindHistoryForLabwareBarcode', 'query'); @@ -6698,80 +6726,80 @@ export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper = FindHistoryForWorkNumber(variables: FindHistoryForWorkNumberQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(FindHistoryForWorkNumberDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindHistoryForWorkNumber', 'query'); }, - FindLabwareLocation(variables: FindLabwareLocationQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(FindLabwareLocationDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindLabwareLocation', 'query'); - }, FindHistoryForSampleId(variables: FindHistoryForSampleIdQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(FindHistoryForSampleIdDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindHistoryForSampleId', 'query'); }, - FindPassFails(variables: FindPassFailsQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(FindPassFailsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindPassFails', 'query'); - }, FindLabware(variables: FindLabwareQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(FindLabwareDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindLabware', 'query'); }, + FindLabwareLocation(variables: FindLabwareLocationQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(FindLabwareLocationDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindLabwareLocation', 'query'); + }, FindLocationByBarcode(variables: FindLocationByBarcodeQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(FindLocationByBarcodeDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindLocationByBarcode', 'query'); }, - FindReagentPlate(variables: FindReagentPlateQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(FindReagentPlateDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindReagentPlate', 'query'); + FindPassFails(variables: FindPassFailsQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(FindPassFailsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindPassFails', 'query'); }, FindPermData(variables: FindPermDataQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(FindPermDataDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindPermData', 'query'); }, - FindHistoryForDonorName(variables: FindHistoryForDonorNameQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(FindHistoryForDonorNameDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindHistoryForDonorName', 'query'); + FindPlanData(variables: FindPlanDataQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(FindPlanDataDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindPlanData', 'query'); }, - FindStoragePath(variables: FindStoragePathQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(FindStoragePathDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindStoragePath', 'query'); + FindReagentPlate(variables: FindReagentPlateQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(FindReagentPlateDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindReagentPlate', 'query'); + }, + FindLatestOperation(variables: FindLatestOperationQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(FindLatestOperationDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindLatestOperation', 'query'); }, FindSamplePositions(variables: FindSamplePositionsQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(FindSamplePositionsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindSamplePositions', 'query'); }, + FindStoragePath(variables: FindStoragePathQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(FindStoragePathDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindStoragePath', 'query'); + }, FindWorkInfo(variables: FindWorkInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(FindWorkInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindWorkInfo', 'query'); }, + FindWorkNumbers(variables: FindWorkNumbersQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(FindWorkNumbersDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindWorkNumbers', 'query'); + }, FindWorkProgress(variables?: FindWorkProgressQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(FindWorkProgressDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindWorkProgress', 'query'); }, FindWorksCreatedBy(variables: FindWorksCreatedByQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(FindWorksCreatedByDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindWorksCreatedBy', 'query'); }, - GetBlockProcessingInfo(variables?: GetBlockProcessingInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(GetBlockProcessingInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetBlockProcessingInfo', 'query'); - }, GetAllWorkInfo(variables?: GetAllWorkInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(GetAllWorkInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetAllWorkInfo', 'query'); }, - FindPlanData(variables: FindPlanDataQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(FindPlanDataDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindPlanData', 'query'); + GetBlockProcessingInfo(variables?: GetBlockProcessingInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(GetBlockProcessingInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetBlockProcessingInfo', 'query'); + }, + GetComments(variables?: GetCommentsQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(GetCommentsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetComments', 'query'); }, GetConfiguration(variables?: GetConfigurationQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(GetConfigurationDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetConfiguration', 'query'); }, - FindWorkNumbers(variables: FindWorkNumbersQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(FindWorkNumbersDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindWorkNumbers', 'query'); + GetDestroyInfo(variables?: GetDestroyInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(GetDestroyInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetDestroyInfo', 'query'); }, - FindLatestOperation(variables: FindLatestOperationQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(FindLatestOperationDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindLatestOperation', 'query'); + GetDestructionReasons(variables?: GetDestructionReasonsQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(GetDestructionReasonsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetDestructionReasons', 'query'); + }, + GetFFPEProcessingInfo(variables?: GetFfpeProcessingInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(GetFfpeProcessingInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetFFPEProcessingInfo', 'query'); }, GetLabwareCosting(variables: GetLabwareCostingQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(GetLabwareCostingDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetLabwareCosting', 'query'); }, - GetLabwareOperations(variables: GetLabwareOperationsQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(GetLabwareOperationsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetLabwareOperations', 'query'); - }, - GetDestroyInfo(variables?: GetDestroyInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(GetDestroyInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetDestroyInfo', 'query'); - }, GetLabwareInLocation(variables: GetLabwareInLocationQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(GetLabwareInLocationDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetLabwareInLocation', 'query'); }, - GetDestructionReasons(variables?: GetDestructionReasonsQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(GetDestructionReasonsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetDestructionReasons', 'query'); - }, - GetComments(variables?: GetCommentsQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(GetCommentsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetComments', 'query'); + GetLabwareOperations(variables: GetLabwareOperationsQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(GetLabwareOperationsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetLabwareOperations', 'query'); }, GetNextReplicateNumber(variables: GetNextReplicateNumberQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(GetNextReplicateNumberDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetNextReplicateNumber', 'query'); @@ -6779,87 +6807,87 @@ export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper = GetOmeroProjects(variables?: GetOmeroProjectsQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(GetOmeroProjectsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetOmeroProjects', 'query'); }, + FindHistoryForExternalName(variables: FindHistoryForExternalNameQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(FindHistoryForExternalNameDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindHistoryForExternalName', 'query'); + }, + ExtractResult(variables: ExtractResultQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(ExtractResultDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'ExtractResult', 'query'); + }, GetPotProcessingInfo(variables?: GetPotProcessingInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(GetPotProcessingInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetPotProcessingInfo', 'query'); }, - GetFFPEProcessingInfo(variables?: GetFfpeProcessingInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(GetFfpeProcessingInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetFFPEProcessingInfo', 'query'); - }, - GetRecordExtractResultInfo(variables?: GetRecordExtractResultInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(GetRecordExtractResultInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetRecordExtractResultInfo', 'query'); + GetRecordInPlaceInfo(variables?: GetRecordInPlaceInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(GetRecordInPlaceInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetRecordInPlaceInfo', 'query'); }, GetProbePanels(variables?: GetProbePanelsQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(GetProbePanelsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetProbePanels', 'query'); }, + GetRegistrationInfo(variables?: GetRegistrationInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(GetRegistrationInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetRegistrationInfo', 'query'); + }, GetPrograms(variables?: GetProgramsQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(GetProgramsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetPrograms', 'query'); }, - GetRecordInPlaceInfo(variables?: GetRecordInPlaceInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(GetRecordInPlaceInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetRecordInPlaceInfo', 'query'); + GetRecordExtractResultInfo(variables?: GetRecordExtractResultInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(GetRecordExtractResultInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetRecordExtractResultInfo', 'query'); }, GetSectioningConfirmInfo(variables?: GetSectioningConfirmInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(GetSectioningConfirmInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetSectioningConfirmInfo', 'query'); }, - GetReleaseInfo(variables?: GetReleaseInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(GetReleaseInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetReleaseInfo', 'query'); - }, GetSampleProcessingCommentsInfo(variables?: GetSampleProcessingCommentsInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(GetSampleProcessingCommentsInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetSampleProcessingCommentsInfo', 'query'); }, - GetPrinters(variables?: GetPrintersQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(GetPrintersDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetPrinters', 'query'); - }, - GetSlotRegions(variables?: GetSlotRegionsQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(GetSlotRegionsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetSlotRegions', 'query'); + GetSearchInfo(variables?: GetSearchInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(GetSearchInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetSearchInfo', 'query'); }, GetSectioningInfo(variables?: GetSectioningInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(GetSectioningInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetSectioningInfo', 'query'); }, - GetSearchInfo(variables?: GetSearchInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(GetSearchInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetSearchInfo', 'query'); + GetSlotRegions(variables?: GetSlotRegionsQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(GetSlotRegionsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetSlotRegions', 'query'); }, - GetSuggestedWorkForLabware(variables: GetSuggestedWorkForLabwareQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(GetSuggestedWorkForLabwareDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetSuggestedWorkForLabware', 'query'); + GetStainInfo(variables?: GetStainInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(GetStainInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetStainInfo', 'query'); }, - GetSuggestedLabwareForWork(variables: GetSuggestedLabwareForWorkQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(GetSuggestedLabwareForWorkDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetSuggestedLabwareForWork', 'query'); + GetStainingQCInfo(variables?: GetStainingQcInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(GetStainingQcInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetStainingQCInfo', 'query'); }, GetSolutionTransferInfo(variables?: GetSolutionTransferInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(GetSolutionTransferInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetSolutionTransferInfo', 'query'); }, - GetStainInfo(variables?: GetStainInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(GetStainInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetStainInfo', 'query'); + GetSuggestedLabwareForWork(variables: GetSuggestedLabwareForWorkQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(GetSuggestedLabwareForWorkDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetSuggestedLabwareForWork', 'query'); }, - GetRegistrationInfo(variables?: GetRegistrationInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(GetRegistrationInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetRegistrationInfo', 'query'); + GetSuggestedWorkForLabware(variables: GetSuggestedWorkForLabwareQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(GetSuggestedWorkForLabwareDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetSuggestedWorkForLabware', 'query'); }, GetVisiumQCInfo(variables?: GetVisiumQcInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(GetVisiumQcInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetVisiumQCInfo', 'query'); }, - GetStainingQCInfo(variables?: GetStainingQcInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(GetStainingQcInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetStainingQCInfo', 'query'); + GetWorkAllocationInfo(variables: GetWorkAllocationInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(GetWorkAllocationInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetWorkAllocationInfo', 'query'); }, GetWorkNumbers(variables?: GetWorkNumbersQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(GetWorkNumbersDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetWorkNumbers', 'query'); }, + GetReleaseInfo(variables?: GetReleaseInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(GetReleaseInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetReleaseInfo', 'query'); + }, + GetWorkProgressInputs(variables?: GetWorkProgressInputsQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(GetWorkProgressInputsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetWorkProgressInputs', 'query'); + }, + GetPrinters(variables?: GetPrintersQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(GetPrintersDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetPrinters', 'query'); + }, GetXeniumQCInfo(variables?: GetXeniumQcInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(GetXeniumQcInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetXeniumQCInfo', 'query'); }, - GetWorkAllocationInfo(variables: GetWorkAllocationInfoQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(GetWorkAllocationInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetWorkAllocationInfo', 'query'); - }, GetWorkTypes(variables?: GetWorkTypesQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(GetWorkTypesDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetWorkTypes', 'query'); }, - GetWorkProgressInputs(variables?: GetWorkProgressInputsQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(GetWorkProgressInputsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetWorkProgressInputs', 'query'); - }, GetWorkSummary(variables?: GetWorkSummaryQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(GetWorkSummaryDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetWorkSummary', 'query'); }, - AddCostCode(variables: AddCostCodeMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(AddCostCodeDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddCostCode', 'mutation'); - }, AddComment(variables: AddCommentMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(AddCommentDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddComment', 'mutation'); }, @@ -6869,38 +6897,41 @@ export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper = AddEquipment(variables: AddEquipmentMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(AddEquipmentDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddEquipment', 'mutation'); }, + AddExternalID(variables: AddExternalIdMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(AddExternalIdDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddExternalID', 'mutation'); + }, AddHmdmc(variables: AddHmdmcMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(AddHmdmcDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddHmdmc', 'mutation'); }, - AddDestructionReason(variables: AddDestructionReasonMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(AddDestructionReasonDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddDestructionReason', 'mutation'); + AddCostCode(variables: AddCostCodeMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(AddCostCodeDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddCostCode', 'mutation'); }, AddFixative(variables: AddFixativeMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(AddFixativeDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddFixative', 'mutation'); }, - AddProgram(variables: AddProgramMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(AddProgramDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddProgram', 'mutation'); - }, - AddExternalID(variables: AddExternalIdMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(AddExternalIdDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddExternalID', 'mutation'); - }, AddProject(variables: AddProjectMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(AddProjectDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddProject', 'mutation'); }, AddReleaseDestination(variables: AddReleaseDestinationMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(AddReleaseDestinationDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddReleaseDestination', 'mutation'); }, + AddOmeroProject(variables: AddOmeroProjectMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(AddOmeroProjectDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddOmeroProject', 'mutation'); + }, + AddProgram(variables: AddProgramMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(AddProgramDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddProgram', 'mutation'); + }, AddSlotRegion(variables: AddSlotRegionMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(AddSlotRegionDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddSlotRegion', 'mutation'); }, + AddSpecies(variables: AddSpeciesMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(AddSpeciesDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddSpecies', 'mutation'); + }, AddUser(variables: AddUserMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(AddUserDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddUser', 'mutation'); }, - AddOmeroProject(variables: AddOmeroProjectMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(AddOmeroProjectDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddOmeroProject', 'mutation'); - }, - AddSolution(variables: AddSolutionMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(AddSolutionDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddSolution', 'mutation'); + AddWorkType(variables: AddWorkTypeMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(AddWorkTypeDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddWorkType', 'mutation'); }, AddReleaseRecipient(variables: AddReleaseRecipientMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(AddReleaseRecipientDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddReleaseRecipient', 'mutation'); @@ -6908,26 +6939,14 @@ export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper = AddProbePanel(variables: AddProbePanelMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(AddProbePanelDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddProbePanel', 'mutation'); }, - AddSpecies(variables: AddSpeciesMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(AddSpeciesDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddSpecies', 'mutation'); - }, Aliquot(variables: AliquotMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(AliquotDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'Aliquot', 'mutation'); }, - AddWorkType(variables: AddWorkTypeMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(AddWorkTypeDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddWorkType', 'mutation'); - }, - CreateWork(variables: CreateWorkMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(CreateWorkDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'CreateWork', 'mutation'); - }, Confirm(variables: ConfirmMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(ConfirmDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'Confirm', 'mutation'); }, - ConfirmSection(variables: ConfirmSectionMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(ConfirmSectionDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'ConfirmSection', 'mutation'); - }, - Login(variables: LoginMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(LoginDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'Login', 'mutation'); + AddSolution(variables: AddSolutionMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(AddSolutionDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddSolution', 'mutation'); }, Destroy(variables: DestroyMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(DestroyDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'Destroy', 'mutation'); @@ -6935,50 +6954,65 @@ export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper = EmptyLocation(variables: EmptyLocationMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(EmptyLocationDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'EmptyLocation', 'mutation'); }, - PerformSolutionTransfer(variables: PerformSolutionTransferMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(PerformSolutionTransferDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'PerformSolutionTransfer', 'mutation'); + ConfirmSection(variables: ConfirmSectionMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(ConfirmSectionDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'ConfirmSection', 'mutation'); }, - PerformFFPEProcessing(variables: PerformFfpeProcessingMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(PerformFfpeProcessingDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'PerformFFPEProcessing', 'mutation'); + Extract(variables: ExtractMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(ExtractDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'Extract', 'mutation'); }, Logout(variables?: LogoutMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(LogoutDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'Logout', 'mutation'); }, - Plan(variables: PlanMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(PlanDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'Plan', 'mutation'); + PerformFFPEProcessing(variables: PerformFfpeProcessingMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(PerformFfpeProcessingDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'PerformFFPEProcessing', 'mutation'); }, - Extract(variables: ExtractMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(ExtractDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'Extract', 'mutation'); + PerformSolutionTransfer(variables: PerformSolutionTransferMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(PerformSolutionTransferDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'PerformSolutionTransfer', 'mutation'); + }, + PerformTissueBlock(variables: PerformTissueBlockMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(PerformTissueBlockDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'PerformTissueBlock', 'mutation'); }, PerformTissuePot(variables: PerformTissuePotMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(PerformTissuePotDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'PerformTissuePot', 'mutation'); }, - PerformTissueBlock(variables: PerformTissueBlockMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(PerformTissueBlockDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'PerformTissueBlock', 'mutation'); + Plan(variables: PlanMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(PlanDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'Plan', 'mutation'); }, - RecordExtractResult(variables: RecordExtractResultMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(RecordExtractResultDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordExtractResult', 'mutation'); + Print(variables: PrintMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(PrintDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'Print', 'mutation'); + }, + CreateWork(variables: CreateWorkMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(CreateWorkDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'CreateWork', 'mutation'); }, RecordComplexStain(variables: RecordComplexStainMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(RecordComplexStainDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordComplexStain', 'mutation'); }, + RecordExtractResult(variables: RecordExtractResultMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(RecordExtractResultDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordExtractResult', 'mutation'); + }, RecordAnalyser(variables: RecordAnalyserMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(RecordAnalyserDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordAnalyser', 'mutation'); }, - RecordCompletion(variables: RecordCompletionMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(RecordCompletionDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordCompletion', 'mutation'); + RecordInPlace(variables: RecordInPlaceMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(RecordInPlaceDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordInPlace', 'mutation'); }, - RecordOpWithSlotComments(variables: RecordOpWithSlotCommentsMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(RecordOpWithSlotCommentsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordOpWithSlotComments', 'mutation'); + RecordOpWithSlotMeasurements(variables: RecordOpWithSlotMeasurementsMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(RecordOpWithSlotMeasurementsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordOpWithSlotMeasurements', 'mutation'); }, RecordPerm(variables: RecordPermMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(RecordPermDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordPerm', 'mutation'); }, - RecordOpWithSlotMeasurements(variables: RecordOpWithSlotMeasurementsMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(RecordOpWithSlotMeasurementsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordOpWithSlotMeasurements', 'mutation'); + RecordOpWithSlotComments(variables: RecordOpWithSlotCommentsMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(RecordOpWithSlotCommentsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordOpWithSlotComments', 'mutation'); }, - RecordInPlace(variables: RecordInPlaceMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(RecordInPlaceDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordInPlace', 'mutation'); + RecordProbeOperation(variables: RecordProbeOperationMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(RecordProbeOperationDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordProbeOperation', 'mutation'); + }, + RecordReagentTransfer(variables: RecordReagentTransferMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(RecordReagentTransferDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordReagentTransfer', 'mutation'); + }, + RecordCompletion(variables: RecordCompletionMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(RecordCompletionDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordCompletion', 'mutation'); }, RecordRNAAnalysis(variables: RecordRnaAnalysisMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(RecordRnaAnalysisDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordRNAAnalysis', 'mutation'); @@ -6992,122 +7026,116 @@ export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper = RecordVisiumQC(variables: RecordVisiumQcMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(RecordVisiumQcDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordVisiumQC', 'mutation'); }, + RegisterOriginalSamples(variables: RegisterOriginalSamplesMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(RegisterOriginalSamplesDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RegisterOriginalSamples', 'mutation'); + }, RegisterSections(variables: RegisterSectionsMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(RegisterSectionsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RegisterSections', 'mutation'); }, - RecordProbeOperation(variables: RecordProbeOperationMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(RecordProbeOperationDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordProbeOperation', 'mutation'); - }, - RecordReagentTransfer(variables: RecordReagentTransferMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(RecordReagentTransferDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordReagentTransfer', 'mutation'); - }, - RegisterOriginalSamples(variables: RegisterOriginalSamplesMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(RegisterOriginalSamplesDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RegisterOriginalSamples', 'mutation'); + SetCommentEnabled(variables: SetCommentEnabledMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(SetCommentEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetCommentEnabled', 'mutation'); }, ReleaseLabware(variables: ReleaseLabwareMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(ReleaseLabwareDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'ReleaseLabware', 'mutation'); }, + RecordQCLabware(variables: RecordQcLabwareMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(RecordQcLabwareDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordQCLabware', 'mutation'); + }, RegisterTissues(variables: RegisterTissuesMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(RegisterTissuesDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RegisterTissues', 'mutation'); }, - SetCommentEnabled(variables: SetCommentEnabledMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(SetCommentEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetCommentEnabled', 'mutation'); - }, SetCostCodeEnabled(variables: SetCostCodeEnabledMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(SetCostCodeEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetCostCodeEnabled', 'mutation'); }, - RecordQCLabware(variables: RecordQcLabwareMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(RecordQcLabwareDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordQCLabware', 'mutation'); - }, SetDestructionReasonEnabled(variables: SetDestructionReasonEnabledMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(SetDestructionReasonEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetDestructionReasonEnabled', 'mutation'); }, - Print(variables: PrintMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(PrintDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'Print', 'mutation'); - }, - SetFixativeEnabled(variables: SetFixativeEnabledMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(SetFixativeEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetFixativeEnabled', 'mutation'); + SetEquipmentEnabled(variables: SetEquipmentEnabledMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(SetEquipmentEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetEquipmentEnabled', 'mutation'); }, SetLocationCustomName(variables: SetLocationCustomNameMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(SetLocationCustomNameDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetLocationCustomName', 'mutation'); }, - SetEquipmentEnabled(variables: SetEquipmentEnabledMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(SetEquipmentEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetEquipmentEnabled', 'mutation'); + SetHmdmcEnabled(variables: SetHmdmcEnabledMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(SetHmdmcEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetHmdmcEnabled', 'mutation'); + }, + SetOmeroProjectEnabled(variables: SetOmeroProjectEnabledMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(SetOmeroProjectEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetOmeroProjectEnabled', 'mutation'); }, SetProgramEnabled(variables: SetProgramEnabledMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(SetProgramEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetProgramEnabled', 'mutation'); }, - SetDnapStudyEnabled(variables: SetDnapStudyEnabledMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(SetDnapStudyEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetDnapStudyEnabled', 'mutation'); - }, SetProjectEnabled(variables: SetProjectEnabledMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(SetProjectEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetProjectEnabled', 'mutation'); }, - SetOmeroProjectEnabled(variables: SetOmeroProjectEnabledMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(SetOmeroProjectEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetOmeroProjectEnabled', 'mutation'); + SetFixativeEnabled(variables: SetFixativeEnabledMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(SetFixativeEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetFixativeEnabled', 'mutation'); }, - SetHmdmcEnabled(variables: SetHmdmcEnabledMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(SetHmdmcEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetHmdmcEnabled', 'mutation'); + SetReleaseDestinationEnabled(variables: SetReleaseDestinationEnabledMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(SetReleaseDestinationEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetReleaseDestinationEnabled', 'mutation'); + }, + SetProbePanelEnabled(variables: SetProbePanelEnabledMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(SetProbePanelEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetProbePanelEnabled', 'mutation'); }, SetSlotRegionEnabled(variables: SetSlotRegionEnabledMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(SetSlotRegionEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetSlotRegionEnabled', 'mutation'); }, - SetReleaseDestinationEnabled(variables: SetReleaseDestinationEnabledMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(SetReleaseDestinationEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetReleaseDestinationEnabled', 'mutation'); + SetReleaseRecipientEnabled(variables: SetReleaseRecipientEnabledMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(SetReleaseRecipientEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetReleaseRecipientEnabled', 'mutation'); }, SetSolutionEnabled(variables: SetSolutionEnabledMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(SetSolutionEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetSolutionEnabled', 'mutation'); }, - SetProbePanelEnabled(variables: SetProbePanelEnabledMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(SetProbePanelEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetProbePanelEnabled', 'mutation'); - }, SetSpeciesEnabled(variables: SetSpeciesEnabledMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(SetSpeciesEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetSpeciesEnabled', 'mutation'); }, - SetReleaseRecipientEnabled(variables: SetReleaseRecipientEnabledMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(SetReleaseRecipientEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetReleaseRecipientEnabled', 'mutation'); + SetUserRole(variables: SetUserRoleMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(SetUserRoleDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetUserRole', 'mutation'); }, - Stain(variables: StainMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(StainDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'Stain', 'mutation'); + SetWorkTypeEnabled(variables: SetWorkTypeEnabledMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(SetWorkTypeEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetWorkTypeEnabled', 'mutation'); + }, + SetDnapStudyEnabled(variables: SetDnapStudyEnabledMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(SetDnapStudyEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetDnapStudyEnabled', 'mutation'); }, SlotCopy(variables: SlotCopyMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(SlotCopyDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SlotCopy', 'mutation'); }, + Store(variables: StoreMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(StoreDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'Store', 'mutation'); + }, + Stain(variables: StainMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(StainDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'Stain', 'mutation'); + }, Unrelease(variables: UnreleaseMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(UnreleaseDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'Unrelease', 'mutation'); }, - SetUserRole(variables: SetUserRoleMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(SetUserRoleDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetUserRole', 'mutation'); + TransferLocationItems(variables: TransferLocationItemsMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(TransferLocationItemsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'TransferLocationItems', 'mutation'); }, - SetWorkTypeEnabled(variables: SetWorkTypeEnabledMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(SetWorkTypeEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetWorkTypeEnabled', 'mutation'); + UnstoreBarcode(variables: UnstoreBarcodeMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(UnstoreBarcodeDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'UnstoreBarcode', 'mutation'); + }, + UpdateWorkDnapProject(variables: UpdateWorkDnapProjectMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(UpdateWorkDnapProjectDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'UpdateWorkDnapProject', 'mutation'); + }, + UpdateWorkNumBlocks(variables: UpdateWorkNumBlocksMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(UpdateWorkNumBlocksDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'UpdateWorkNumBlocks', 'mutation'); }, StoreBarcode(variables: StoreBarcodeMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(StoreBarcodeDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'StoreBarcode', 'mutation'); }, - TransferLocationItems(variables: TransferLocationItemsMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(TransferLocationItemsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'TransferLocationItems', 'mutation'); + UpdateWorkNumOriginalSamples(variables: UpdateWorkNumOriginalSamplesMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(UpdateWorkNumOriginalSamplesDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'UpdateWorkNumOriginalSamples', 'mutation'); }, UpdateWorkNumSlides(variables: UpdateWorkNumSlidesMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(UpdateWorkNumSlidesDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'UpdateWorkNumSlides', 'mutation'); }, - UpdateWorkNumBlocks(variables: UpdateWorkNumBlocksMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(UpdateWorkNumBlocksDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'UpdateWorkNumBlocks', 'mutation'); - }, - UpdateWorkOmeroProject(variables: UpdateWorkOmeroProjectMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(UpdateWorkOmeroProjectDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'UpdateWorkOmeroProject', 'mutation'); - }, UpdateWorkPriority(variables: UpdateWorkPriorityMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(UpdateWorkPriorityDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'UpdateWorkPriority', 'mutation'); }, - Store(variables: StoreMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(StoreDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'Store', 'mutation'); - }, - UpdateWorkDnapProject(variables: UpdateWorkDnapProjectMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(UpdateWorkDnapProjectDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'UpdateWorkDnapProject', 'mutation'); - }, - UnstoreBarcode(variables: UnstoreBarcodeMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(UnstoreBarcodeDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'UnstoreBarcode', 'mutation'); + UpdateWorkOmeroProject(variables: UpdateWorkOmeroProjectMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(UpdateWorkOmeroProjectDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'UpdateWorkOmeroProject', 'mutation'); }, UpdateWorkStatus(variables: UpdateWorkStatusMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(UpdateWorkStatusDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'UpdateWorkStatus', 'mutation'); @@ -7115,8 +7143,14 @@ export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper = VisiumAnalysis(variables: VisiumAnalysisMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { return withWrapper((wrappedRequestHeaders) => client.request(VisiumAnalysisDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'VisiumAnalysis', 'mutation'); }, - UpdateWorkNumOriginalSamples(variables: UpdateWorkNumOriginalSamplesMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(UpdateWorkNumOriginalSamplesDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'UpdateWorkNumOriginalSamples', 'mutation'); + UpdateReleaseRecipientFullName(variables: UpdateReleaseRecipientFullNameMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(UpdateReleaseRecipientFullNameDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'UpdateReleaseRecipientFullName', 'mutation'); + }, + Login(variables: LoginMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(LoginDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'Login', 'mutation'); + }, + AddDestructionReason(variables: AddDestructionReasonMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(AddDestructionReasonDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddDestructionReason', 'mutation'); } }; }