diff --git a/cypress/e2e/pages/blockRegistration.cy.ts b/cypress/e2e/pages/blockRegistration.cy.ts index 55a7b2896..7021e2ac5 100644 --- a/cypress/e2e/pages/blockRegistration.cy.ts +++ b/cypress/e2e/pages/blockRegistration.cy.ts @@ -157,10 +157,6 @@ describe('Block Registration Page', () => { cy.findByLabelText('Labware Type').focus().blur(); cy.findByText('Labware Type is a required field').should('be.visible'); }); - it('requires Biological Risk Assessment Numbers ', () => { - cy.findByLabelText('Biological Risk Assessment Numbers').focus().blur(); - cy.findByText('Biological Risk Assessment Numbers is a required field').should('be.visible'); - }); }); describe('submission', () => { diff --git a/cypress/e2e/pages/originalSampleRegistration.cy.ts b/cypress/e2e/pages/originalSampleRegistration.cy.ts index 8b0eb0744..c7d972aa9 100644 --- a/cypress/e2e/pages/originalSampleRegistration.cy.ts +++ b/cypress/e2e/pages/originalSampleRegistration.cy.ts @@ -274,6 +274,7 @@ function fillInForm() { cy.findByTestId('External Identifier').type('EXT_ID_1'); selectOption('HuMFre', 'HuMFre1'); selectOption('Tissue Type', 'Liver'); + selectOption('bioRiskCode', 'bioRisk1'); selectOption('Spatial Location', '3 - Surface central region'); cy.findByTestId('Replicate Number').type('2'); selectOption('Labware Type', 'Pot'); diff --git a/cypress/e2e/shared/registration.cy.ts b/cypress/e2e/shared/registration.cy.ts index 024e0c18f..3bbc9f811 100644 --- a/cypress/e2e/shared/registration.cy.ts +++ b/cypress/e2e/shared/registration.cy.ts @@ -68,6 +68,11 @@ export function shouldBehaveLikeARegistrationForm(registrationType: Registration } ); + it('requires Biological Risk Assessment Numbers ', () => { + cy.findByLabelText('Biological Risk Assessment Numbers').focus().blur(); + cy.findByText('Biological Risk Assessment Numbers is a required field').should('be.visible'); + }); + it('requires Replicate Number to be suitable', () => { cy.findByTestId('Replicate Number').type('1+1').blur(); checkReplicateWarningIsVisible(); diff --git a/src/pages/BlockRegistration.tsx b/src/pages/BlockRegistration.tsx index 6413e83f9..96ca57992 100644 --- a/src/pages/BlockRegistration.tsx +++ b/src/pages/BlockRegistration.tsx @@ -245,7 +245,6 @@ function BlockRegistration() { successDisplayTableColumns={resultColumns} formatSuccessData={(registrationResult) => registrationResult.labware} isBlock={true} - withBioRiskOption={true} /> ); diff --git a/src/pages/OriginalSampleRegistration.tsx b/src/pages/OriginalSampleRegistration.tsx index dc106f6d1..b76c96de3 100644 --- a/src/pages/OriginalSampleRegistration.tsx +++ b/src/pages/OriginalSampleRegistration.tsx @@ -99,6 +99,7 @@ function buildRegistrationSchema(registrationInfo: GetRegistrationInfoQuery) { species: validation.species, hmdmc: validation.hmdmc, tissueType: validation.tissueType, + bioRiskCode: validation.bioRiskCode, sampleCollectionDate: validation.sampleCollectionDate, blocks: Yup.array() .min(1) @@ -164,6 +165,7 @@ function OriginalSampleRegistration() { labwareType: block.labwareType.trim(), lifeStage: Object.values(LifeStage).includes(tissue.lifeStage) ? tissue.lifeStage : undefined, tissueType: tissue.tissueType.trim(), + bioRiskCode: tissue.bioRiskCode, spatialLocation: block.spatialLocation, replicateNumber: block.replicateNumber ?? undefined, fixative: block.fixative.trim(), diff --git a/src/pages/registration/Registration.tsx b/src/pages/registration/Registration.tsx index ad9697aaa..6fb465886 100644 --- a/src/pages/registration/Registration.tsx +++ b/src/pages/registration/Registration.tsx @@ -20,8 +20,8 @@ import { motion } from 'framer-motion'; import variants from '../../lib/motionVariants'; import Heading from '../../components/Heading'; import WorkNumberSelect from '../../components/WorkNumberSelect'; -import { FormikErrorMessage } from '../../components/forms'; import PromptOnLeave from '../../components/notifications/PromptOnLeave'; +import { FormikErrorMessage } from '../../components/forms'; /** * Expect form input interface @@ -85,8 +85,6 @@ interface RegistrationParams { */ keywordsMap?: Map; isBlock?: boolean; - - withBioRiskOption?: boolean; } /** @@ -107,8 +105,7 @@ function Registration, B, R extends Required) { const registrationMachine = React.useMemo(() => { return createRegistrationMachine, M>(buildRegistrationInput, registrationService); @@ -190,12 +187,15 @@ function Registration, B, R extends Required ({ ...tissue, workNumber })) ); + if ('workNumber' in defaultFormTissueValues) { + defaultFormTissueValues.workNumber = workNumber; + } }} workNumber={values.workNumbers} multiple={isBlock} emptyOption={false} /> - {values.workNumbers.length <= 0 && } + {isBlock && values.workNumbers.length <= 0 && } @@ -204,7 +204,6 @@ function Registration, B, R extends Required {current.matches('clashed') && registrationResult && ( diff --git a/src/pages/registration/RegistrationForm.tsx b/src/pages/registration/RegistrationForm.tsx index f2585a2a3..a185b1851 100644 --- a/src/pages/registration/RegistrationForm.tsx +++ b/src/pages/registration/RegistrationForm.tsx @@ -38,19 +38,13 @@ interface RegistrationFormParams { * Change in default keywords to display */ keywordsMap?: Map; - - /** - * boolean bio Risk Code option until we add the feature for rhe Original Sample Registration - * **/ - withBioRiskOption?: boolean; } const RegistrationForm = , B>({ registrationInfo, availableLabwareTypes, defaultFormTissueValues, - keywordsMap, - withBioRiskOption = false + keywordsMap }: RegistrationFormParams) => { const [currentIndex, setCurrentIndex] = useState(0); const { setFieldValue, values, errors, touched, isSubmitting } = useFormikContext(); @@ -156,17 +150,15 @@ const RegistrationForm = , B>({ options={selectOptionValues(registrationInfo.tissueTypes, 'name', 'name')} value={values.tissues[currentIndex].tissueType} /> - {withBioRiskOption && ( - - )} + diff --git a/src/types/sdk.ts b/src/types/sdk.ts index fce4b0bb8..1a332ecd0 100644 --- a/src/types/sdk.ts +++ b/src/types/sdk.ts @@ -361,7 +361,7 @@ export type RegisterRequest = { workNumbers: Array; }; -/** Information about a section of tissue (already taken from some a block tracked elsewhere) to register. sabrine */ +/** Information about a section of tissue (already taken from some a block tracked elsewhere) to register. */ export type SectionRegisterContent = { /** The address of the slot in the labware where this section should be created. */ address: Scalars['Address']['input']; @@ -393,7 +393,7 @@ export type SectionRegisterContent = { region?: InputMaybe; /** The date the sample was sectioned. */ dateSectioned?: InputMaybe; - /** The biological risk number for this block. */ + /** The biological risk code for this sample. */ bioRiskCode: Scalars['String']['input']; }; @@ -445,6 +445,8 @@ export type OriginalSampleData = { sampleCollectionDate?: InputMaybe; /** The optional work number to link to the registration. */ workNumber?: InputMaybe; + /** The biological risk number for this sample. */ + bioRiskCode: Scalars['String']['input']; }; /** A request to register one or more original samples of tissue. */ @@ -3938,113 +3940,118 @@ export type MutationSetLocationCustomNameArgs = { customName?: InputMaybe; }; -export type BioRiskFieldsFragment = { __typename?: 'BioRisk', code: string, enabled: boolean }; - export type AddressPermDataFieldsFragment = { __typename?: 'AddressPermData', address: string, controlType?: ControlType | null, seconds?: number | null, selected: boolean }; -export type AnalyserScanDataFieldsFragment = { __typename?: 'AnalyserScanData', workNumbers: Array, probes: Array, cellSegmentationRecorded: boolean }; - export type ActionFieldsFragment = { __typename?: 'Action', operationId: number, source: { __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage?: LifeStage | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, 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', ssId: number, name: string, enabled: boolean }; +export type CommentFieldsFragment = { __typename?: 'Comment', id: number, text: string, category: string, enabled: boolean }; export type DestructionReasonFieldsFragment = { __typename?: 'DestructionReason', id: number, text: string, enabled: boolean }; +export type AnalyserScanDataFieldsFragment = { __typename?: 'AnalyserScanData', workNumbers: Array, probes: Array, cellSegmentationRecorded: boolean }; + +export type FixativeFieldsFragment = { __typename?: 'Fixative', name: string, enabled: boolean }; + export type FileFieldsFragment = { __typename?: 'StanFile', created: string, name: string, url: string, work: { __typename?: 'Work', workNumber: string } }; export type EquipmentFieldsFragment = { __typename?: 'Equipment', id: number, name: string, category: string, enabled: boolean }; -export type GraphSvgFieldsFragment = { __typename?: 'GraphSVG', svg: string }; - -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, address?: string | null, region?: string | null }; +export type DnapStudyFieldsFragment = { __typename?: 'DnapStudy', ssId: number, name: string, enabled: boolean }; -export type FixativeFieldsFragment = { __typename?: 'Fixative', name: string, enabled: boolean }; +export type LabwareFlaggedFieldsFragment = { __typename?: 'LabwareFlagged', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, flagged: 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }; -export type HmdmcFieldsFragment = { __typename?: 'Hmdmc', hmdmc: string, enabled: boolean }; +export type BioRiskFieldsFragment = { __typename?: 'BioRisk', code: string, enabled: boolean }; -export type HistoryFieldsFragment = { __typename?: 'History', flaggedBarcodes: Array, 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, 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, address?: string | null, region?: string | null }> }; +export type GraphSvgFieldsFragment = { __typename?: 'GraphSVG', svg: string }; -export type LabwareRoiFieldsFragment = { __typename?: 'LabwareRoi', barcode: string, rois: Array<{ __typename?: 'Roi', address: string, roi: 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } } }> }; +export type LinkedLocationFieldsFragment = { __typename?: 'LinkedLocation', barcode: string, fixedName?: string | null, customName?: string | null, address?: string | null, numStored: number, leaf: boolean }; -export type LabwareFlaggedFieldsFragment = { __typename?: 'LabwareFlagged', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, flagged: 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, 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 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }; -export type LocationFieldsFragment = { __typename?: 'Location', barcode: string, fixedName?: string | null, customName?: string | null, address?: string | null, direction?: GridDirection | null, numStored: number, leaf: boolean, 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, numStored: number, leaf: boolean }> }; - -export type LinkedLocationFieldsFragment = { __typename?: 'LinkedLocation', barcode: string, fixedName?: string | null, customName?: string | null, address?: string | null, numStored: number, leaf: 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, address?: string | null, region?: string | null }; -export type NextReplicateDataFieldsFragment = { __typename?: 'NextReplicateData', barcodes: Array, donorId: number, nextReplicateNumber: number, spatialLocationId: number }; +export type HmdmcFieldsFragment = { __typename?: 'Hmdmc', hmdmc: string, enabled: boolean }; -export type LabwareTypeFieldsFragment = { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }; +export type OmeroProjectFieldsFragment = { __typename?: 'OmeroProject', name: string, enabled: boolean }; export type PlanActionFieldsFragment = { __typename?: 'PlanAction', newSection?: number | null, sample: { __typename?: 'Sample', id: number }, source: { __typename?: 'Slot', address: string, labwareId: number, samples: Array<{ __typename?: 'Sample', id: number }> }, destination: { __typename?: 'Slot', address: string, labwareId: number } }; +export type LocationFieldsFragment = { __typename?: 'Location', barcode: string, fixedName?: string | null, customName?: string | null, address?: string | null, direction?: GridDirection | null, numStored: number, leaf: boolean, 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, numStored: number, leaf: boolean }> }; + +export type LabwareRoiFieldsFragment = { __typename?: 'LabwareRoi', barcode: string, rois: Array<{ __typename?: 'Roi', address: string, roi: 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } } }> }; + +export type ProgramFieldsFragment = { __typename?: 'Program', name: string, enabled: boolean }; + 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, 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 OmeroProjectFieldsFragment = { __typename?: 'OmeroProject', name: string, enabled: boolean }; +export type NextReplicateDataFieldsFragment = { __typename?: 'NextReplicateData', barcodes: Array, donorId: number, nextReplicateNumber: number, spatialLocationId: number }; -export type ProbePanelFieldsFragment = { __typename?: 'ProbePanel', name: string, enabled: boolean }; +export type HistoryFieldsFragment = { __typename?: 'History', flaggedBarcodes: Array, 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, 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, address?: string | null, region?: string | null }> }; export type PrinterFieldsFragment = { __typename?: 'Printer', name: string, labelTypes: Array<{ __typename?: 'LabelType', name: string }> }; -export type ProjectFieldsFragment = { __typename?: 'Project', name: string, enabled: boolean }; +export type ProbePanelFieldsFragment = { __typename?: 'ProbePanel', name: string, enabled: boolean }; export type ReagentPlateFieldsFragment = { __typename?: 'ReagentPlate', barcode: string, plateType?: string | null, slots: Array<{ __typename?: 'ReagentSlot', address: string, used: boolean }> }; +export type ProjectFieldsFragment = { __typename?: 'Project', name: string, enabled: boolean }; + export type ReagentSlotFieldsFragment = { __typename?: 'ReagentSlot', address: string, used: boolean }; +export type ReleaseFileOptionFieldsFragment = { __typename?: 'ReleaseFileOption', displayName: string, queryParamName: string }; + 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, 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 RoiFieldsFragment = { __typename?: 'Roi', address: string, roi: 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } } }; export type ReleaseDestinationFieldsFragment = { __typename?: 'ReleaseDestination', name: string, enabled: boolean }; -export type RoiFieldsFragment = { __typename?: 'Roi', address: string, roi: 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } } }; - 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 SlotPassFailFieldsFragment = { __typename?: 'SlotPassFail', address: string, result: PassFail, comment?: string | null }; -export type ReleaseFileOptionFieldsFragment = { __typename?: 'ReleaseFileOption', displayName: string, queryParamName: 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }; export type SlotRegionFieldsFragment = { __typename?: 'SlotRegion', enabled: boolean, name: 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }; - -export type SlotPassFailFieldsFragment = { __typename?: 'SlotPassFail', address: string, result: PassFail, comment?: string | null }; - -export type SolutionFieldsFragment = { __typename?: 'Solution', name: string, enabled: boolean }; +export type SpeciesFieldsFragment = { __typename?: 'Species', name: string, enabled: boolean }; export type StainTypeFieldsFragment = { __typename?: 'StainType', name: string, measurementTypes: Array }; -export type SuggestedWorkFieldsFragment = { __typename?: 'SuggestedWork', barcode: string, workNumber?: string | null }; +export type SamplePositionFieldsFragment = { __typename?: 'SamplePosition', address: string, region: string, sampleId: number, slotId: number, operationId: number }; -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', ssId: number, name: string, enabled: boolean } | null }, timestamps: Array<{ __typename?: 'WorkProgressTimestamp', type: string, timestamp: string }> }; +export type SuggestedWorkFieldsFragment = { __typename?: 'SuggestedWork', barcode: string, workNumber?: string | null }; export type UserFieldsFragment = { __typename?: 'User', username: string, role: UserRole }; -export type SlotFieldsFragment = { __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage?: LifeStage | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }; +export type SolutionFieldsFragment = { __typename?: 'Solution', name: string, enabled: boolean }; -export type SpeciesFieldsFragment = { __typename?: 'Species', name: string, enabled: boolean }; +export type 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', ssId: number, name: string, enabled: boolean } | null }; -export type WorkProgressTimeStampFieldFragment = { __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 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', ssId: number, name: string, enabled: boolean } | null }, timestamps: Array<{ __typename?: 'WorkProgressTimestamp', type: string, timestamp: string }> }; export type WorkTypeFieldsFragment = { __typename?: 'WorkType', name: string, enabled: boolean }; -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', ssId: number, name: string, enabled: boolean } | null }; +export type WorkProgressTimeStampFieldFragment = { __typename?: 'WorkProgressTimestamp', type: string, timestamp: string }; + +export type ExtractResultQueryVariables = Exact<{ + barcode: Scalars['String']['input']; +}>; + + +export type ExtractResultQuery = { __typename?: 'Query', extractResult: { __typename?: 'ExtractResult', result?: PassFail | null, concentration?: string | null, labware: { __typename?: 'LabwareFlagged', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, flagged: 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> } } }; export type CurrentUserQueryVariables = Exact<{ [key: string]: never; }>; export type CurrentUserQuery = { __typename?: 'Query', user?: { __typename?: 'User', username: string, role: UserRole } | null }; -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', ssId: number, name: string, enabled: boolean } | null } }; - export type FindFilesQueryVariables = Exact<{ workNumbers: Array | Scalars['String']['input']; }>; @@ -4052,12 +4059,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 ExtractResultQueryVariables = Exact<{ - barcode: Scalars['String']['input']; +export type FindHistoryForDonorNameQueryVariables = Exact<{ + donorName: Scalars['String']['input']; }>; -export type ExtractResultQuery = { __typename?: 'Query', extractResult: { __typename?: 'ExtractResult', result?: PassFail | null, concentration?: string | null, labware: { __typename?: 'LabwareFlagged', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, flagged: 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> } } }; +export type FindHistoryForDonorNameQuery = { __typename?: 'Query', historyForDonorName: { __typename?: 'History', flaggedBarcodes: Array, 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, 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, address?: string | null, region?: string | null }> } }; export type FindQueryVariables = Exact<{ request: FindRequest; @@ -4066,32 +4073,12 @@ export type FindQueryVariables = Exact<{ 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 }, fixative: { __typename?: 'Fixative', 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 WorkSummaryGroupFieldsFragment = { __typename?: 'WorkSummaryGroup', numWorks: number, status: WorkStatus, totalNumBlocks: number, totalNumSlides: number, totalNumOriginalSamples: number, workType: { __typename?: 'WorkType', name: string, enabled: boolean } }; - -export type FindHistoryQueryVariables = Exact<{ - workNumber?: InputMaybe; - barcode?: InputMaybe; - donorName?: InputMaybe | Scalars['String']['input']>; - externalName?: InputMaybe | Scalars['String']['input']>; - eventType?: InputMaybe; -}>; - - -export type FindHistoryQuery = { __typename?: 'Query', history: { __typename?: 'History', flaggedBarcodes: Array, 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, 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, address?: string | null, region?: string | null }> } }; - -export type FindHistoryForLabwareBarcodeQueryVariables = Exact<{ - barcode: Scalars['String']['input']; -}>; - - -export type FindHistoryForLabwareBarcodeQuery = { __typename?: 'Query', historyForLabwareBarcode: { __typename?: 'History', flaggedBarcodes: Array, 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, 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, address?: string | null, region?: string | null }> } }; - -export type FindHistoryForDonorNameQueryVariables = Exact<{ - donorName: Scalars['String']['input']; +export type FindHistoryForExternalNameQueryVariables = Exact<{ + externalName: Scalars['String']['input']; }>; -export type FindHistoryForDonorNameQuery = { __typename?: 'Query', historyForDonorName: { __typename?: 'History', flaggedBarcodes: Array, 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, 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, address?: string | null, region?: string | null }> } }; +export type FindHistoryForExternalNameQuery = { __typename?: 'Query', historyForExternalName: { __typename?: 'History', flaggedBarcodes: Array, 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, 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, address?: string | null, region?: string | null }> } }; export type FindFlaggedLabwareQueryVariables = Exact<{ barcode: Scalars['String']['input']; @@ -4100,12 +4087,12 @@ export type FindFlaggedLabwareQueryVariables = Exact<{ export type FindFlaggedLabwareQuery = { __typename?: 'Query', labwareFlagged: { __typename?: 'LabwareFlagged', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, flagged: 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> } }; -export type FindHistoryForExternalNameQueryVariables = Exact<{ - externalName: Scalars['String']['input']; +export type FindHistoryForLabwareBarcodeQueryVariables = Exact<{ + barcode: Scalars['String']['input']; }>; -export type FindHistoryForExternalNameQuery = { __typename?: 'Query', historyForExternalName: { __typename?: 'History', flaggedBarcodes: Array, 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, 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, address?: string | null, region?: string | null }> } }; +export type FindHistoryForLabwareBarcodeQuery = { __typename?: 'Query', historyForLabwareBarcode: { __typename?: 'History', flaggedBarcodes: Array, 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, 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, address?: string | null, region?: string | null }> } }; export type FindHistoryForWorkNumberQueryVariables = Exact<{ workNumber: Scalars['String']['input']; @@ -4121,20 +4108,32 @@ export type FindHistoryForSampleIdQueryVariables = Exact<{ export type FindHistoryForSampleIdQuery = { __typename?: 'Query', historyForSampleId: { __typename?: 'History', flaggedBarcodes: Array, 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, 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, address?: string | null, region?: string | null }> } }; -export type FindLabwareLocationQueryVariables = Exact<{ - barcodes: Array | Scalars['String']['input']; +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', ssId: number, name: string, enabled: boolean } | null } }; + +export type FindLabwareQueryVariables = Exact<{ + barcode: Scalars['String']['input']; }>; -export type FindLabwareLocationQuery = { __typename?: 'Query', stored: Array<{ __typename?: 'StoredItem', location: { __typename?: 'Location', barcode: 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> } }; -export type FindLatestOperationQueryVariables = Exact<{ - barcode: Scalars['String']['input']; - operationType: Scalars['String']['input']; +export type FindHistoryQueryVariables = Exact<{ + workNumber?: InputMaybe; + barcode?: InputMaybe; + donorName?: InputMaybe | Scalars['String']['input']>; + externalName?: InputMaybe | Scalars['String']['input']>; + eventType?: InputMaybe; }>; -export type FindLatestOperationQuery = { __typename?: 'Query', findLatestOp?: { __typename?: 'Operation', id: number } | null }; +export type FindHistoryQuery = { __typename?: 'Query', history: { __typename?: 'History', flaggedBarcodes: Array, 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, 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, address?: string | null, region?: string | null }> } }; + +export type FindLabwareLocationQueryVariables = Exact<{ + barcodes: Array | Scalars['String']['input']; +}>; + + +export type FindLabwareLocationQuery = { __typename?: 'Query', stored: Array<{ __typename?: 'StoredItem', location: { __typename?: 'Location', barcode: string } }> }; export type FindHistoryGraphQueryVariables = Exact<{ workNumber?: InputMaybe; @@ -4148,27 +4147,27 @@ export type FindHistoryGraphQueryVariables = Exact<{ export type FindHistoryGraphQuery = { __typename?: 'Query', historyGraph: { __typename?: 'GraphSVG', svg: string } }; -export type FindMeasurementByBarcodeAndNameQueryVariables = Exact<{ +export type FindLatestOperationQueryVariables = Exact<{ barcode: Scalars['String']['input']; - measurementName: Scalars['String']['input']; + operationType: Scalars['String']['input']; }>; -export type FindMeasurementByBarcodeAndNameQuery = { __typename?: 'Query', measurementValueFromLabwareOrParent: Array<{ __typename?: 'AddressString', address: string, string: string }> }; +export type FindLatestOperationQuery = { __typename?: 'Query', findLatestOp?: { __typename?: 'Operation', id: number } | null }; -export type FindLocationByBarcodeQueryVariables = Exact<{ +export type FindPermDataQueryVariables = Exact<{ barcode: Scalars['String']['input']; }>; -export type FindLocationByBarcodeQuery = { __typename?: 'Query', location: { __typename?: 'Location', barcode: string, fixedName?: string | null, customName?: string | null, address?: string | null, direction?: GridDirection | null, numStored: number, leaf: boolean, 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, numStored: number, leaf: boolean }> } }; +export type FindPermDataQuery = { __typename?: 'Query', visiumPermData: { __typename?: 'VisiumPermData', labware: { __typename?: 'LabwareFlagged', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, flagged: 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, 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 FindPermDataQueryVariables = Exact<{ +export type FindLocationByBarcodeQueryVariables = Exact<{ barcode: Scalars['String']['input']; }>; -export type FindPermDataQuery = { __typename?: 'Query', visiumPermData: { __typename?: 'VisiumPermData', labware: { __typename?: 'LabwareFlagged', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, flagged: 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, 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 FindLocationByBarcodeQuery = { __typename?: 'Query', location: { __typename?: 'Location', barcode: string, fixedName?: string | null, customName?: string | null, address?: string | null, direction?: GridDirection | null, numStored: number, leaf: boolean, 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, numStored: number, leaf: boolean }> } }; export type FindPassFailsQueryVariables = Exact<{ barcode: Scalars['String']['input']; @@ -4178,19 +4177,20 @@ 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, 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 FindReagentPlateQueryVariables = Exact<{ +export type FindMeasurementByBarcodeAndNameQueryVariables = Exact<{ barcode: Scalars['String']['input']; + measurementName: Scalars['String']['input']; }>; -export type FindReagentPlateQuery = { __typename?: 'Query', reagentPlate?: { __typename?: 'ReagentPlate', barcode: string, plateType?: string | null, slots: Array<{ __typename?: 'ReagentSlot', address: string, used: boolean }> } | null }; +export type FindMeasurementByBarcodeAndNameQuery = { __typename?: 'Query', measurementValueFromLabwareOrParent: Array<{ __typename?: 'AddressString', address: string, string: string }> }; -export type FindPlanDataQueryVariables = Exact<{ +export type FindReagentPlateQueryVariables = Exact<{ barcode: Scalars['String']['input']; }>; -export type FindPlanDataQuery = { __typename?: 'Query', planData: { __typename?: 'PlanData', sources: Array<{ __typename?: 'LabwareFlagged', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, flagged: 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }>, destination: { __typename?: 'LabwareFlagged', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, flagged: 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, 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 FindReagentPlateQuery = { __typename?: 'Query', reagentPlate?: { __typename?: 'ReagentPlate', barcode: string, plateType?: string | null, slots: Array<{ __typename?: 'ReagentSlot', address: string, used: boolean }> } | null }; export type FindSamplePositionsQueryVariables = Exact<{ labwareBarcode: Scalars['String']['input']; @@ -4220,6 +4220,13 @@ export type FindWorkNumbersQueryVariables = Exact<{ export type FindWorkNumbersQuery = { __typename?: 'Query', works: Array<{ __typename?: 'Work', workNumber: string }> }; +export type FindPlanDataQueryVariables = Exact<{ + barcode: Scalars['String']['input']; +}>; + + +export type FindPlanDataQuery = { __typename?: 'Query', planData: { __typename?: 'PlanData', sources: Array<{ __typename?: 'LabwareFlagged', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, flagged: 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }>, destination: { __typename?: 'LabwareFlagged', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, flagged: 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, 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 FindWorkProgressQueryVariables = Exact<{ workNumber?: InputMaybe; workTypes?: InputMaybe | Scalars['String']['input']>; @@ -4231,31 +4238,22 @@ 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, 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', ssId: number, name: string, enabled: boolean } | null }, timestamps: Array<{ __typename?: 'WorkProgressTimestamp', type: string, timestamp: string }> }> }; -export type FindWorksCreatedByQueryVariables = Exact<{ - username: Scalars['String']['input']; -}>; - - -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', ssId: number, name: string, enabled: boolean } | null }> }; - -export type GetAnalyserScanDataQueryVariables = Exact<{ - barcode: Scalars['String']['input']; -}>; +export type GetAllWorkInfoQueryVariables = Exact<{ [key: string]: never; }>; -export type GetAnalyserScanDataQuery = { __typename?: 'Query', analyserScanData: { __typename?: 'AnalyserScanData', workNumbers: Array, probes: Array, cellSegmentationRecorded: boolean } }; +export type GetAllWorkInfoQuery = { __typename?: 'Query', works: Array<{ __typename?: 'Work', workNumber: string, status: WorkStatus, workRequester?: { __typename?: 'ReleaseRecipient', username: string } | null, project: { __typename?: 'Project', name: string } }> }; export type GetBlockProcessingInfoQueryVariables = 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 GetCleanedOutAddressesQueryVariables = Exact<{ +export type GetAnalyserScanDataQueryVariables = Exact<{ barcode: Scalars['String']['input']; }>; -export type GetCleanedOutAddressesQuery = { __typename?: 'Query', cleanedOutAddresses: Array }; +export type GetAnalyserScanDataQuery = { __typename?: 'Query', analyserScanData: { __typename?: 'AnalyserScanData', workNumbers: Array, probes: Array, cellSegmentationRecorded: boolean } }; export type GetCommentsQueryVariables = Exact<{ commentCategory?: InputMaybe; @@ -4265,12 +4263,17 @@ export type GetCommentsQueryVariables = Exact<{ export type GetCommentsQuery = { __typename?: 'Query', comments: Array<{ __typename?: 'Comment', id: number, text: string, category: string, enabled: boolean }> }; -export type FindLabwareQueryVariables = Exact<{ - barcode: Scalars['String']['input']; +export type GetBioRisksQueryVariables = Exact<{ + includeDisabled?: InputMaybe; }>; -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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> } }; +export type GetBioRisksQuery = { __typename?: 'Query', bioRisks: Array<{ __typename?: 'BioRisk', code: string, enabled: boolean }> }; + +export type GetDestroyInfoQueryVariables = Exact<{ [key: string]: never; }>; + + +export type GetDestroyInfoQuery = { __typename?: 'Query', destructionReasons: Array<{ __typename?: 'DestructionReason', id: number, text: string, enabled: boolean }> }; export type GetConfigurationQueryVariables = Exact<{ [key: string]: never; }>; @@ -4284,17 +4287,12 @@ export type GetDestructionReasonsQueryVariables = Exact<{ export type GetDestructionReasonsQuery = { __typename?: 'Query', destructionReasons: Array<{ __typename?: 'DestructionReason', id: number, text: string, enabled: boolean }> }; -export type GetBioRisksQueryVariables = Exact<{ - includeDisabled?: InputMaybe; +export type GetCleanedOutAddressesQueryVariables = Exact<{ + barcode: Scalars['String']['input']; }>; -export type GetBioRisksQuery = { __typename?: 'Query', bioRisks: Array<{ __typename?: 'BioRisk', code: string, enabled: boolean }> }; - -export type GetDestroyInfoQueryVariables = Exact<{ [key: string]: never; }>; - - -export type GetDestroyInfoQuery = { __typename?: 'Query', destructionReasons: Array<{ __typename?: 'DestructionReason', id: number, text: string, enabled: boolean }> }; +export type GetCleanedOutAddressesQuery = { __typename?: 'Query', cleanedOutAddresses: Array }; export type GetDnapStudyQueryVariables = Exact<{ ssId: Scalars['Int']['input']; @@ -4303,26 +4301,18 @@ export type GetDnapStudyQueryVariables = Exact<{ export type GetDnapStudyQuery = { __typename?: 'Query', dnapStudy?: { __typename?: 'DnapStudy', ssId: number, name: string, enabled: boolean } | null }; -export type GetEquipmentsQueryVariables = Exact<{ - category?: InputMaybe; - includeDisabled?: InputMaybe; +export type GetLabwareInLocationQueryVariables = Exact<{ + locationBarcode: Scalars['String']['input']; }>; -export type GetEquipmentsQuery = { __typename?: 'Query', equipments: Array<{ __typename?: 'Equipment', id: number, name: string, category: string, enabled: boolean }> }; +export type GetLabwareInLocationQuery = { __typename?: 'Query', labwareInLocation: Array<{ __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage?: LifeStage | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }> }; export type GetEventTypesQueryVariables = Exact<{ [key: string]: never; }>; export type GetEventTypesQuery = { __typename?: 'Query', eventTypes: Array }; -export type GetLabwareInLocationQueryVariables = Exact<{ - locationBarcode: Scalars['String']['input']; -}>; - - -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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }> }; - export type GetLabwareCostingQueryVariables = Exact<{ barcode: Scalars['String']['input']; }>; @@ -4330,96 +4320,111 @@ export type GetLabwareCostingQueryVariables = Exact<{ export type GetLabwareCostingQuery = { __typename?: 'Query', labwareCosting?: SlideCosting | null }; -export type GetParaffinProcessingInfoQueryVariables = Exact<{ [key: string]: never; }>; +export type GetLabwareOperationsQueryVariables = Exact<{ + barcode: Scalars['String']['input']; + operationType: Scalars['String']['input']; +}>; -export type GetParaffinProcessingInfoQuery = { __typename?: 'Query', comments: Array<{ __typename?: 'Comment', id: number, text: string, category: string, enabled: boolean }> }; +export type GetLabwareOperationsQuery = { __typename?: 'Query', labwareOperations?: Array<{ __typename?: 'Operation', id: number, performed: string, operationType: { __typename?: 'OperationType', name: string }, actions: Array<{ __typename?: 'Action', operationId: number, source: { __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage?: LifeStage | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, 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 GetOmeroProjectsQueryVariables = Exact<{ [key: string]: never; }>; export type GetOmeroProjectsQuery = { __typename?: 'Query', omeroProjects: Array<{ __typename?: 'OmeroProject', name: string, enabled: boolean }> }; -export type GetAllWorkInfoQueryVariables = Exact<{ [key: string]: never; }>; +export type GetNextReplicateNumberQueryVariables = Exact<{ + barcodes: Array | Scalars['String']['input']; +}>; -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 GetNextReplicateNumberQuery = { __typename?: 'Query', nextReplicateNumbers: Array<{ __typename?: 'NextReplicateData', barcodes: Array, donorId: number, nextReplicateNumber: number, spatialLocationId: number }> }; + +export type GetLabwareFlagDetailsQueryVariables = Exact<{ + barcodes: Array | Scalars['String']['input']; +}>; + + +export type GetLabwareFlagDetailsQuery = { __typename?: 'Query', labwareFlagDetails: Array<{ __typename?: 'FlagDetail', barcode: string, flags: Array<{ __typename?: 'FlagSummary', barcode: string, description: string }> }> }; 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 GetProbePanelsQueryVariables = Exact<{ [key: string]: never; }>; +export type GetPrintersQueryVariables = Exact<{ [key: string]: never; }>; -export type GetProbePanelsQuery = { __typename?: 'Query', probePanels: Array<{ __typename?: 'ProbePanel', name: string, enabled: boolean }> }; +export type GetPrintersQuery = { __typename?: 'Query', printers: Array<{ __typename?: 'Printer', name: string, labelTypes: Array<{ __typename?: 'LabelType', name: string }> }> }; -export type GetLabwareOperationsQueryVariables = Exact<{ - barcode: Scalars['String']['input']; - operationType: Scalars['String']['input']; +export type GetParaffinProcessingInfoQueryVariables = Exact<{ [key: string]: never; }>; + + +export type GetParaffinProcessingInfoQuery = { __typename?: 'Query', comments: Array<{ __typename?: 'Comment', id: number, text: string, category: string, enabled: boolean }> }; + +export type GetProgramsQueryVariables = Exact<{ [key: string]: never; }>; + + +export type GetProgramsQuery = { __typename?: 'Query', programs: Array<{ __typename?: 'Program', name: string, enabled: boolean }> }; + +export type GetEquipmentsQueryVariables = Exact<{ + category?: InputMaybe; + includeDisabled?: InputMaybe; }>; -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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, 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 GetEquipmentsQuery = { __typename?: 'Query', equipments: Array<{ __typename?: 'Equipment', id: number, name: string, category: string, enabled: boolean }> }; -export type GetPrintersQueryVariables = Exact<{ [key: string]: never; }>; +export type GetProbePanelsQueryVariables = Exact<{ [key: string]: never; }>; -export type GetPrintersQuery = { __typename?: 'Query', printers: Array<{ __typename?: 'Printer', name: string, labelTypes: Array<{ __typename?: 'LabelType', name: string }> }> }; +export type GetProbePanelsQuery = { __typename?: 'Query', probePanels: Array<{ __typename?: 'ProbePanel', name: string, enabled: boolean }> }; export type GetRecordExtractResultInfoQueryVariables = Exact<{ [key: string]: never; }>; export type GetRecordExtractResultInfoQuery = { __typename?: 'Query', comments: Array<{ __typename?: 'Comment', id: number, text: string, category: string, enabled: boolean }> }; -export type GetRegionsOfInterestQueryVariables = Exact<{ - barcodes: Array | Scalars['String']['input']; +export type GetRecordInPlaceInfoQueryVariables = Exact<{ + category?: InputMaybe; }>; -export type GetRegionsOfInterestQuery = { __typename?: 'Query', rois: Array<{ __typename?: 'LabwareRoi', barcode: string, rois: Array<{ __typename?: 'Roi', address: string, roi: 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } } }> }> }; +export type GetRecordInPlaceInfoQuery = { __typename?: 'Query', equipments: Array<{ __typename?: 'Equipment', id: number, name: string, category: string, enabled: boolean }> }; -export type GetNextReplicateNumberQueryVariables = Exact<{ +export type GetRegionsOfInterestQueryVariables = Exact<{ barcodes: Array | Scalars['String']['input']; }>; -export type GetNextReplicateNumberQuery = { __typename?: 'Query', nextReplicateNumbers: Array<{ __typename?: 'NextReplicateData', barcodes: Array, donorId: number, nextReplicateNumber: number, spatialLocationId: number }> }; +export type GetRegionsOfInterestQuery = { __typename?: 'Query', rois: Array<{ __typename?: 'LabwareRoi', barcode: string, rois: Array<{ __typename?: 'Roi', address: string, roi: 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } } }> }> }; -export type GetReleaseColumnOptionsQueryVariables = Exact<{ [key: string]: never; }>; +export type GetReleaseInfoQueryVariables = Exact<{ [key: string]: never; }>; -export type GetReleaseColumnOptionsQuery = { __typename?: 'Query', releaseColumnOptions: Array<{ __typename?: 'ReleaseFileOption', displayName: string, queryParamName: string }> }; +export type GetReleaseInfoQuery = { __typename?: 'Query', releaseDestinations: Array<{ __typename?: 'ReleaseDestination', name: string, enabled: boolean }>, releaseRecipients: Array<{ __typename?: 'ReleaseRecipient', username: string, fullName?: string | null, enabled: boolean }>, releaseColumnOptions: Array<{ __typename?: 'ReleaseFileOption', displayName: string, queryParamName: string }> }; -export type GetRecordInPlaceInfoQueryVariables = Exact<{ - category?: InputMaybe; -}>; +export type GetReleaseColumnOptionsQueryVariables = Exact<{ [key: string]: never; }>; -export type GetRecordInPlaceInfoQuery = { __typename?: 'Query', equipments: Array<{ __typename?: 'Equipment', id: number, name: string, category: string, enabled: boolean }> }; +export type GetReleaseColumnOptionsQuery = { __typename?: 'Query', releaseColumnOptions: Array<{ __typename?: 'ReleaseFileOption', displayName: string, queryParamName: string }> }; -export type GetReleaseInfoQueryVariables = Exact<{ [key: string]: never; }>; +export type GetRegistrationInfoQueryVariables = Exact<{ [key: string]: never; }>; -export type GetReleaseInfoQuery = { __typename?: 'Query', releaseDestinations: Array<{ __typename?: 'ReleaseDestination', name: string, enabled: boolean }>, releaseRecipients: Array<{ __typename?: 'ReleaseRecipient', username: string, fullName?: string | null, enabled: boolean }>, releaseColumnOptions: Array<{ __typename?: 'ReleaseFileOption', displayName: string, queryParamName: string }> }; +export type GetRegistrationInfoQuery = { __typename?: 'Query', species: Array<{ __typename?: 'Species', name: string }>, hmdmcs: Array<{ __typename?: 'Hmdmc', hmdmc: string }>, labwareTypes: Array<{ __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }>, tissueTypes: Array<{ __typename?: 'TissueType', name: string, spatialLocations: Array<{ __typename?: 'SpatialLocation', name: string, code: number }> }>, fixatives: Array<{ __typename?: 'Fixative', name: string }>, mediums: Array<{ __typename?: 'Medium', name: string }>, solutions: Array<{ __typename?: 'Solution', name: string }>, slotRegions: Array<{ __typename?: 'SlotRegion', name: string }>, bioRisks: Array<{ __typename?: 'BioRisk', code: string }> }; export type GetSampleProcessingCommentsInfoQueryVariables = Exact<{ [key: string]: never; }>; export type GetSampleProcessingCommentsInfoQuery = { __typename?: 'Query', comments: Array<{ __typename?: 'Comment', id: number, text: string, category: string, enabled: boolean }> }; -export type GetLabwareFlagDetailsQueryVariables = Exact<{ - barcodes: Array | Scalars['String']['input']; -}>; - - -export type GetLabwareFlagDetailsQuery = { __typename?: 'Query', labwareFlagDetails: Array<{ __typename?: 'FlagDetail', barcode: string, flags: Array<{ __typename?: 'FlagSummary', barcode: string, description: string }> }> }; +export type GetSectioningConfirmInfoQueryVariables = Exact<{ [key: string]: never; }>; -export type GetSearchInfoQueryVariables = 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 GetSearchInfoQuery = { __typename?: 'Query', tissueTypes: Array<{ __typename?: 'TissueType', name: string }>, labwareTypes: Array<{ __typename?: 'LabwareType', name: string }>, species: Array<{ __typename?: 'Species', name: 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }; export type GetRunRoisQueryVariables = Exact<{ barcode: Scalars['String']['input']; @@ -4429,6 +4434,11 @@ export type GetRunRoisQueryVariables = Exact<{ export type GetRunRoisQuery = { __typename?: 'Query', runRois: Array<{ __typename?: 'Roi', address: string, roi: 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } } }> }; +export type GetSearchInfoQueryVariables = Exact<{ [key: string]: never; }>; + + +export type GetSearchInfoQuery = { __typename?: 'Query', tissueTypes: Array<{ __typename?: 'TissueType', name: string }>, labwareTypes: Array<{ __typename?: 'LabwareType', name: string }>, species: Array<{ __typename?: 'Species', name: string }> }; + export type GetRunNamesQueryVariables = Exact<{ barcode: Scalars['String']['input']; }>; @@ -4436,16 +4446,6 @@ export type GetRunNamesQueryVariables = Exact<{ export type GetRunNamesQuery = { __typename?: 'Query', runNames: Array }; -export type GetRegistrationInfoQueryVariables = Exact<{ [key: string]: never; }>; - - -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 }>, bioRisks: Array<{ __typename?: 'BioRisk', code: string }> }; - -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 GetSlotRegionsQueryVariables = Exact<{ includeDisabled?: InputMaybe; }>; @@ -4458,26 +4458,16 @@ export type GetSectioningInfoQueryVariables = 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 GetStainReagentTypesQueryVariables = Exact<{ [key: string]: never; }>; +export type GetSolutionTransferInfoQueryVariables = Exact<{ [key: string]: never; }>; -export type GetStainReagentTypesQuery = { __typename?: 'Query', stainReagentTypes: Array<{ __typename?: 'Comment', id: number, text: string, category: string, enabled: boolean }> }; +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 GetStainingQcInfoQueryVariables = Exact<{ [key: string]: never; }>; - - -export type GetStainingQcInfoQuery = { __typename?: 'Query', comments: Array<{ __typename?: 'Comment', id: number, text: string, category: string, enabled: boolean }> }; - -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 GetSuggestedLabwareForWorkQueryVariables = Exact<{ workNumber: Scalars['String']['input']; forRelease?: InputMaybe; @@ -4494,28 +4484,32 @@ export type GetSuggestedWorkForLabwareQueryVariables = Exact<{ export type GetSuggestedWorkForLabwareQuery = { __typename?: 'Query', suggestedWorkForLabware: { __typename?: 'SuggestedWorkResponse', suggestedWorks: Array<{ __typename?: 'SuggestedWork', barcode: string, workNumber?: string | null }> } }; -export type GetProgramsQueryVariables = Exact<{ [key: string]: never; }>; +export type GetVisiumQcInfoQueryVariables = Exact<{ [key: string]: never; }>; -export type GetProgramsQuery = { __typename?: 'Query', programs: Array<{ __typename?: 'Program', name: string, enabled: boolean }> }; +export type GetVisiumQcInfoQuery = { __typename?: 'Query', comments: Array<{ __typename?: 'Comment', id: number, text: string, category: string, enabled: boolean }> }; -export type GetWorkAllocationInfoQueryVariables = Exact<{ - commentCategory: Scalars['String']['input']; - workStatuses?: InputMaybe | WorkStatus>; -}>; +export type GetStainReagentTypesQueryVariables = 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, 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', ssId: number, 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', ssId: number, name: string, enabled: boolean }> }; +export type GetStainReagentTypesQuery = { __typename?: 'Query', stainReagentTypes: Array<{ __typename?: 'Comment', id: number, text: string, category: string, enabled: boolean }> }; -export type GetSolutionTransferInfoQueryVariables = Exact<{ [key: string]: never; }>; +export type GetStainingQcInfoQueryVariables = Exact<{ [key: string]: never; }>; -export type GetSolutionTransferInfoQuery = { __typename?: 'Query', solutions: Array<{ __typename?: 'Solution', name: string }> }; +export type GetStainingQcInfoQuery = { __typename?: 'Query', comments: Array<{ __typename?: 'Comment', id: number, text: string, category: string, enabled: boolean }> }; -export type GetWorkNumbersQueryVariables = Exact<{ [key: string]: never; }>; +export type GetWorkProgressInputsQueryVariables = Exact<{ [key: string]: never; }>; -export type GetWorkNumbersQuery = { __typename?: 'Query', works: Array<{ __typename?: 'Work', workNumber: string }> }; +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 FindWorksCreatedByQueryVariables = Exact<{ + username: Scalars['String']['input']; +}>; + + +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', ssId: number, name: string, enabled: boolean } | null }> }; export type GetWorkSummaryQueryVariables = Exact<{ [key: string]: never; }>; @@ -4532,6 +4526,14 @@ export type GetXeniumQcInfoQueryVariables = Exact<{ [key: string]: never; }>; export type GetXeniumQcInfoQuery = { __typename?: 'Query', comments: Array<{ __typename?: 'Comment', id: number, text: string, category: string, enabled: boolean }> }; +export type GetWorkAllocationInfoQueryVariables = Exact<{ + commentCategory: Scalars['String']['input']; + workStatuses?: InputMaybe | WorkStatus>; +}>; + + +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', ssId: number, 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', ssId: number, name: string, enabled: boolean }> }; + export type AddCommentMutationVariables = Exact<{ category: Scalars['String']['input']; text: Scalars['String']['input']; @@ -4554,17 +4556,13 @@ export type AddCostCodeMutationVariables = Exact<{ export type AddCostCodeMutation = { __typename?: 'Mutation', addCostCode: { __typename?: 'CostCode', code: string, enabled: boolean } }; -export type GetWorkProgressInputsQueryVariables = 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 AddExternalIdMutationVariables = Exact<{ - request: AddExternalIdRequest; +export type AddEquipmentMutationVariables = Exact<{ + category: Scalars['String']['input']; + name: Scalars['String']['input']; }>; -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 AddEquipmentMutation = { __typename?: 'Mutation', addEquipment: { __typename?: 'Equipment', id: number, name: string, category: string, enabled: boolean } }; export type AddFixativeMutationVariables = Exact<{ name: Scalars['String']['input']; @@ -4580,12 +4578,12 @@ export type AddDestructionReasonMutationVariables = Exact<{ export type AddDestructionReasonMutation = { __typename?: 'Mutation', addDestructionReason: { __typename?: 'DestructionReason', id: number, text: string, enabled: boolean } }; -export type AddOmeroProjectMutationVariables = Exact<{ +export type AddProjectMutationVariables = Exact<{ name: Scalars['String']['input']; }>; -export type AddOmeroProjectMutation = { __typename?: 'Mutation', addOmeroProject: { __typename?: 'OmeroProject', name: string, enabled: boolean } }; +export type AddProjectMutation = { __typename?: 'Mutation', addProject: { __typename?: 'Project', name: string, enabled: boolean } }; export type AddHmdmcMutationVariables = Exact<{ hmdmc: Scalars['String']['input']; @@ -4594,12 +4592,12 @@ export type AddHmdmcMutationVariables = Exact<{ export type AddHmdmcMutation = { __typename?: 'Mutation', addHmdmc: { __typename?: 'Hmdmc', hmdmc: string, enabled: boolean } }; -export type AddProbePanelMutationVariables = Exact<{ +export type AddOmeroProjectMutationVariables = Exact<{ name: Scalars['String']['input']; }>; -export type AddProbePanelMutation = { __typename?: 'Mutation', addProbePanel: { __typename?: 'ProbePanel', name: string, enabled: boolean } }; +export type AddOmeroProjectMutation = { __typename?: 'Mutation', addOmeroProject: { __typename?: 'OmeroProject', name: string, enabled: boolean } }; export type AddProgramMutationVariables = Exact<{ name: Scalars['String']['input']; @@ -4615,12 +4613,12 @@ export type AddSlotRegionMutationVariables = Exact<{ export type AddSlotRegionMutation = { __typename?: 'Mutation', addSlotRegion: { __typename?: 'SlotRegion', enabled: boolean, name: string } }; -export type AddProjectMutationVariables = Exact<{ +export type AddSolutionMutationVariables = Exact<{ name: Scalars['String']['input']; }>; -export type AddProjectMutation = { __typename?: 'Mutation', addProject: { __typename?: 'Project', name: string, enabled: boolean } }; +export type AddSolutionMutation = { __typename?: 'Mutation', addSolution: { __typename?: 'Solution', name: string, enabled: boolean } }; export type AddReleaseDestinationMutationVariables = Exact<{ name: Scalars['String']['input']; @@ -4629,20 +4627,19 @@ export type AddReleaseDestinationMutationVariables = Exact<{ export type AddReleaseDestinationMutation = { __typename?: 'Mutation', addReleaseDestination: { __typename?: 'ReleaseDestination', name: string, enabled: boolean } }; -export type AddSolutionMutationVariables = Exact<{ - name: Scalars['String']['input']; +export type AddExternalIdMutationVariables = Exact<{ + request: AddExternalIdRequest; }>; -export type AddSolutionMutation = { __typename?: 'Mutation', addSolution: { __typename?: 'Solution', name: string, enabled: boolean } }; +export type AddExternalIdMutation = { __typename?: 'Mutation', addExternalID: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', performed: string, operationType: { __typename?: 'OperationType', name: string }, user: { __typename?: 'User', username: string } }> } }; -export type AddReleaseRecipientMutationVariables = Exact<{ - username: Scalars['String']['input']; - fullName?: InputMaybe; +export type AddWorkTypeMutationVariables = Exact<{ + name: Scalars['String']['input']; }>; -export type AddReleaseRecipientMutation = { __typename?: 'Mutation', addReleaseRecipient: { __typename?: 'ReleaseRecipient', username: string, fullName?: string | null, enabled: boolean } }; +export type AddWorkTypeMutation = { __typename?: 'Mutation', addWorkType: { __typename?: 'WorkType', name: string, enabled: boolean } }; export type AddSpeciesMutationVariables = Exact<{ name: Scalars['String']['input']; @@ -4651,26 +4648,20 @@ export type AddSpeciesMutationVariables = Exact<{ export type AddSpeciesMutation = { __typename?: 'Mutation', addSpecies: { __typename?: 'Species', name: string, enabled: boolean } }; -export type AddUserMutationVariables = Exact<{ +export type AddReleaseRecipientMutationVariables = Exact<{ username: Scalars['String']['input']; + fullName?: InputMaybe; }>; -export type AddUserMutation = { __typename?: 'Mutation', addUser: { __typename?: 'User', username: string, role: UserRole } }; - -export type AliquotMutationVariables = Exact<{ - request: AliquotRequest; -}>; - - -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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, 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 AddReleaseRecipientMutation = { __typename?: 'Mutation', addReleaseRecipient: { __typename?: 'ReleaseRecipient', username: string, fullName?: string | null, enabled: boolean } }; -export type AddWorkTypeMutationVariables = Exact<{ - name: Scalars['String']['input']; +export type AddUserMutationVariables = Exact<{ + username: Scalars['String']['input']; }>; -export type AddWorkTypeMutation = { __typename?: 'Mutation', addWorkType: { __typename?: 'WorkType', name: string, enabled: boolean } }; +export type AddUserMutation = { __typename?: 'Mutation', addUser: { __typename?: 'User', username: string, role: UserRole } }; export type ConfirmSectionMutationVariables = Exact<{ request: ConfirmSectionRequest; @@ -4686,6 +4677,27 @@ export type ConfirmMutationVariables = Exact<{ 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, 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 AliquotMutationVariables = Exact<{ + request: AliquotRequest; +}>; + + +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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, 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 EmptyLocationMutationVariables = Exact<{ + barcode: Scalars['String']['input']; +}>; + + +export type EmptyLocationMutation = { __typename?: 'Mutation', empty: { __typename?: 'UnstoreResult', numUnstored: number } }; + +export type DestroyMutationVariables = Exact<{ + request: DestroyRequest; +}>; + + +export type DestroyMutation = { __typename?: 'Mutation', destroy: { __typename?: 'DestroyResult', destructions: Array<{ __typename?: 'Destruction', labware?: { __typename?: 'Labware', barcode: string } | null }> } }; + export type CreateWorkMutationVariables = Exact<{ prefix: Scalars['String']['input']; workType: Scalars['String']['input']; @@ -4703,27 +4715,39 @@ export type CreateWorkMutationVariables = Exact<{ 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', ssId: number, name: string, enabled: boolean } | null } }; -export type DestroyMutationVariables = Exact<{ - request: DestroyRequest; +export type LogoutMutationVariables = Exact<{ [key: string]: never; }>; + + +export type LogoutMutation = { __typename?: 'Mutation', logout?: string | null }; + +export type LoginMutationVariables = Exact<{ + username: Scalars['String']['input']; + password: Scalars['String']['input']; }>; -export type DestroyMutation = { __typename?: 'Mutation', destroy: { __typename?: 'DestroyResult', destructions: Array<{ __typename?: 'Destruction', labware?: { __typename?: 'Labware', barcode: string } | null }> } }; +export type LoginMutation = { __typename?: 'Mutation', login: { __typename?: 'LoginResult', user?: { __typename?: 'User', username: string, role: UserRole } | null } }; -export type AddEquipmentMutationVariables = Exact<{ - category: Scalars['String']['input']; - name: Scalars['String']['input']; +export type ExtractMutationVariables = Exact<{ + request: ExtractRequest; }>; -export type AddEquipmentMutation = { __typename?: 'Mutation', addEquipment: { __typename?: 'Equipment', id: number, name: string, category: string, enabled: boolean } }; +export type ExtractMutation = { __typename?: 'Mutation', extract: { __typename?: 'OperationResult', labware: Array<{ __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage?: LifeStage | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, 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 EmptyLocationMutationVariables = Exact<{ - barcode: Scalars['String']['input']; +export type PerformTissueBlockMutationVariables = Exact<{ + request: TissueBlockRequest; }>; -export type EmptyLocationMutation = { __typename?: 'Mutation', empty: { __typename?: 'UnstoreResult', numUnstored: number } }; +export type PerformTissueBlockMutation = { __typename?: 'Mutation', performTissueBlock: { __typename?: 'OperationResult', labware: Array<{ __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage?: LifeStage | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, 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; +}>; + + +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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, 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 FlagLabwareMutationVariables = Exact<{ request: FlagLabwareRequest; @@ -4732,20 +4756,19 @@ export type FlagLabwareMutationVariables = Exact<{ export type FlagLabwareMutation = { __typename?: 'Mutation', flagLabware: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; -export type ExtractMutationVariables = Exact<{ - request: ExtractRequest; +export type PlanMutationVariables = Exact<{ + request: PlanRequest; }>; -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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, 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 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, 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 LoginMutationVariables = Exact<{ - username: Scalars['String']['input']; - password: Scalars['String']['input']; +export type PerformTissuePotMutationVariables = Exact<{ + request: PotProcessingRequest; }>; -export type LoginMutation = { __typename?: 'Mutation', login: { __typename?: 'LoginResult', user?: { __typename?: 'User', username: string, role: UserRole } | 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, 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 PerformParaffinProcessingMutationVariables = Exact<{ request: ParaffinProcessingRequest; @@ -4754,53 +4777,27 @@ export type PerformParaffinProcessingMutationVariables = Exact<{ export type PerformParaffinProcessingMutation = { __typename?: 'Mutation', performParaffinProcessing: { __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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, 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 PrintMutationVariables = Exact<{ + barcodes: Array | Scalars['String']['input']; + printer: Scalars['String']['input']; +}>; -export type LogoutMutation = { __typename?: 'Mutation', logout?: string | null }; +export type PrintMutation = { __typename?: 'Mutation', printLabware?: string | null }; -export type PerformTissueBlockMutationVariables = Exact<{ - request: TissueBlockRequest; -}>; - - -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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, 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; -}>; - - -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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, 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; -}>; - - -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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, 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 RecordAnalyserMutationVariables = Exact<{ - request: AnalyserRequest; +export type RecordAnalyserMutationVariables = Exact<{ + request: AnalyserRequest; }>; export type RecordAnalyserMutation = { __typename?: 'Mutation', recordAnalyser: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; -export type ReactivateLabwareMutationVariables = Exact<{ - items: Array | ReactivateLabware; -}>; - - -export type ReactivateLabwareMutation = { __typename?: 'Mutation', reactivateLabware: { __typename?: 'OperationResult', labware: Array<{ __typename?: 'Labware', barcode: string, state: LabwareState }>, operations: Array<{ __typename?: 'Operation', id: number }> } }; - -export type PrintMutationVariables = Exact<{ - barcodes: Array | Scalars['String']['input']; - printer: Scalars['String']['input']; +export type RecordComplexStainMutationVariables = Exact<{ + request: ComplexStainRequest; }>; -export type PrintMutation = { __typename?: 'Mutation', printLabware?: string | null }; +export type RecordComplexStainMutation = { __typename?: 'Mutation', recordComplexStain: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; export type RecordExtractResultMutationVariables = Exact<{ request: ExtractResultRequest; @@ -4809,20 +4806,6 @@ export type RecordExtractResultMutationVariables = Exact<{ export type RecordExtractResultMutation = { __typename?: 'Mutation', recordExtractResult: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; -export type PerformTissuePotMutationVariables = Exact<{ - request: PotProcessingRequest; -}>; - - -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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, 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 RecordCompletionMutationVariables = Exact<{ - request: CompletionRequest; -}>; - - -export type RecordCompletionMutation = { __typename?: 'Mutation', recordCompletion: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; - export type RecordMetricsMutationVariables = Exact<{ request: SampleMetricsRequest; }>; @@ -4837,19 +4820,19 @@ export type RecordLibraryPrepMutationVariables = Exact<{ export type RecordLibraryPrepMutation = { __typename?: 'Mutation', libraryPrep: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }>, 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }> } }; -export type RecordComplexStainMutationVariables = Exact<{ - request: ComplexStainRequest; +export type ReactivateLabwareMutationVariables = Exact<{ + items: Array | ReactivateLabware; }>; -export type RecordComplexStainMutation = { __typename?: 'Mutation', recordComplexStain: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; +export type ReactivateLabwareMutation = { __typename?: 'Mutation', reactivateLabware: { __typename?: 'OperationResult', labware: Array<{ __typename?: 'Labware', barcode: string, state: LabwareState }>, operations: Array<{ __typename?: 'Operation', id: number }> } }; -export type RecordOpWithSlotCommentsMutationVariables = Exact<{ - request: OpWithSlotCommentsRequest; +export type RecordCompletionMutationVariables = Exact<{ + request: CompletionRequest; }>; -export type RecordOpWithSlotCommentsMutation = { __typename?: 'Mutation', recordOpWithSlotComments: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; +export type RecordCompletionMutation = { __typename?: 'Mutation', recordCompletion: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; export type RecordOpWithSlotMeasurementsMutationVariables = Exact<{ request: OpWithSlotMeasurementsRequest; @@ -4872,19 +4855,19 @@ export type RecordOrientationQcMutationVariables = Exact<{ export type RecordOrientationQcMutation = { __typename?: 'Mutation', recordOrientationQC: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; -export type RecordPermMutationVariables = Exact<{ - request: RecordPermRequest; +export type RecordOpWithSlotCommentsMutationVariables = Exact<{ + request: OpWithSlotCommentsRequest; }>; -export type RecordPermMutation = { __typename?: 'Mutation', recordPerm: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; +export type RecordOpWithSlotCommentsMutation = { __typename?: 'Mutation', recordOpWithSlotComments: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; -export type RecordProbeOperationMutationVariables = Exact<{ - request: ProbeOperationRequest; +export type RecordPermMutationVariables = Exact<{ + request: RecordPermRequest; }>; -export type RecordProbeOperationMutation = { __typename?: 'Mutation', recordProbeOperation: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; +export type RecordPermMutation = { __typename?: 'Mutation', recordPerm: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; export type RecordQcLabwareMutationVariables = Exact<{ request: QcLabwareRequest; @@ -4900,19 +4883,12 @@ export type RecordReagentTransferMutationVariables = Exact<{ export type RecordReagentTransferMutation = { __typename?: 'Mutation', reagentTransfer: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; -export type RecordStainResultMutationVariables = Exact<{ - request: ResultRequest; -}>; - - -export type RecordStainResultMutation = { __typename?: 'Mutation', recordStainResult: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; - -export type RecordVisiumQcMutationVariables = Exact<{ - request: ResultRequest; +export type RecordProbeOperationMutationVariables = Exact<{ + request: ProbeOperationRequest; }>; -export type RecordVisiumQcMutation = { __typename?: 'Mutation', recordVisiumQC: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; +export type RecordProbeOperationMutation = { __typename?: 'Mutation', recordProbeOperation: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; export type RecordRnaAnalysisMutationVariables = Exact<{ request: RnaAnalysisRequest; @@ -4928,6 +4904,27 @@ export type RecordSampleProcessingCommentsMutationVariables = Exact<{ export type RecordSampleProcessingCommentsMutation = { __typename?: 'Mutation', recordSampleProcessingComments: { __typename?: 'OperationResult', labware: Array<{ __typename?: 'Labware', id: number, barcode: string, externalBarcode?: string | null, destroyed: boolean, discarded: boolean, released: boolean, state: LabwareState, created: string, labwareType: { __typename?: 'LabwareType', name: string, numRows: number, numColumns: number, labelType?: { __typename?: 'LabelType', name: string } | null }, slots: Array<{ __typename?: 'Slot', id: number, address: string, labwareId: number, blockHighestSection?: number | null, block: boolean, samples: Array<{ __typename?: 'Sample', id: number, section?: number | null, tissue: { __typename?: 'Tissue', externalName?: string | null, replicate?: string | null, collectionDate?: string | null, donor: { __typename?: 'Donor', donorName: string, lifeStage?: LifeStage | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, 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 RecordStainResultMutationVariables = Exact<{ + request: ResultRequest; +}>; + + +export type RecordStainResultMutation = { __typename?: 'Mutation', recordStainResult: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; + +export type RecordVisiumQcMutationVariables = Exact<{ + request: ResultRequest; +}>; + + +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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, 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 RegisterTissuesMutationVariables = Exact<{ request: RegisterRequest; }>; @@ -4950,12 +4947,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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }> } }; -export type RegisterOriginalSamplesMutationVariables = Exact<{ - request: OriginalSampleRegisterRequest; +export type SetCommentEnabledMutationVariables = Exact<{ + commentId: Scalars['Int']['input']; + enabled: Scalars['Boolean']['input']; }>; -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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, 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; @@ -4964,36 +4962,28 @@ 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 SegmentationMutationVariables = Exact<{ - request: SegmentationRequest; -}>; - - -export type SegmentationMutation = { __typename?: 'Mutation', segmentation: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }>, 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }> } }; - -export type SetCommentEnabledMutationVariables = Exact<{ - commentId: Scalars['Int']['input']; +export type SetCostCodeEnabledMutationVariables = Exact<{ + code: Scalars['String']['input']; enabled: Scalars['Boolean']['input']; }>; -export type SetCommentEnabledMutation = { __typename?: 'Mutation', setCommentEnabled: { __typename?: 'Comment', id: number, text: string, category: string, enabled: boolean } }; +export type SetCostCodeEnabledMutation = { __typename?: 'Mutation', setCostCodeEnabled: { __typename?: 'CostCode', code: string, enabled: boolean } }; -export type SetDestructionReasonEnabledMutationVariables = Exact<{ - text: Scalars['String']['input']; - enabled: Scalars['Boolean']['input']; +export type SegmentationMutationVariables = Exact<{ + request: SegmentationRequest; }>; -export type SetDestructionReasonEnabledMutation = { __typename?: 'Mutation', setDestructionReasonEnabled: { __typename?: 'DestructionReason', id: number, text: string, enabled: boolean } }; +export type SegmentationMutation = { __typename?: 'Mutation', segmentation: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }>, 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }> } }; -export type SetBioRiskEnabledMutationVariables = Exact<{ - code: Scalars['String']['input']; +export type SetHmdmcEnabledMutationVariables = Exact<{ + hmdmc: Scalars['String']['input']; enabled: Scalars['Boolean']['input']; }>; -export type SetBioRiskEnabledMutation = { __typename?: 'Mutation', setBioRiskEnabled: { __typename?: 'BioRisk', code: string, enabled: boolean } }; +export type SetHmdmcEnabledMutation = { __typename?: 'Mutation', setHmdmcEnabled: { __typename?: 'Hmdmc', hmdmc: string, enabled: boolean } }; export type SetEquipmentEnabledMutationVariables = Exact<{ equipmentId: Scalars['Int']['input']; @@ -5003,29 +4993,21 @@ export type SetEquipmentEnabledMutationVariables = Exact<{ export type SetEquipmentEnabledMutation = { __typename?: 'Mutation', setEquipmentEnabled: { __typename?: 'Equipment', id: number, name: string, category: string, enabled: boolean } }; -export type SetCostCodeEnabledMutationVariables = Exact<{ +export type SetBioRiskEnabledMutationVariables = Exact<{ code: Scalars['String']['input']; enabled: Scalars['Boolean']['input']; }>; -export type SetCostCodeEnabledMutation = { __typename?: 'Mutation', setCostCodeEnabled: { __typename?: 'CostCode', code: string, enabled: boolean } }; - -export type SetHmdmcEnabledMutationVariables = Exact<{ - hmdmc: Scalars['String']['input']; - enabled: Scalars['Boolean']['input']; -}>; - - -export type SetHmdmcEnabledMutation = { __typename?: 'Mutation', setHmdmcEnabled: { __typename?: 'Hmdmc', hmdmc: string, enabled: boolean } }; +export type SetBioRiskEnabledMutation = { __typename?: 'Mutation', setBioRiskEnabled: { __typename?: 'BioRisk', code: string, enabled: boolean } }; -export type SetProbePanelEnabledMutationVariables = Exact<{ +export type SetFixativeEnabledMutationVariables = Exact<{ name: Scalars['String']['input']; enabled: Scalars['Boolean']['input']; }>; -export type SetProbePanelEnabledMutation = { __typename?: 'Mutation', setProbePanelEnabled: { __typename?: 'ProbePanel', name: string, enabled: boolean } }; +export type SetFixativeEnabledMutation = { __typename?: 'Mutation', setFixativeEnabled: { __typename?: 'Fixative', name: string, enabled: boolean } }; export type SetLocationCustomNameMutationVariables = Exact<{ locationBarcode: Scalars['String']['input']; @@ -5043,13 +5025,13 @@ export type SetOmeroProjectEnabledMutationVariables = Exact<{ export type SetOmeroProjectEnabledMutation = { __typename?: 'Mutation', setOmeroProjectEnabled: { __typename?: 'OmeroProject', name: string, enabled: boolean } }; -export type SetReleaseRecipientEnabledMutationVariables = Exact<{ - username: Scalars['String']['input']; +export type SetDestructionReasonEnabledMutationVariables = Exact<{ + text: Scalars['String']['input']; enabled: Scalars['Boolean']['input']; }>; -export type SetReleaseRecipientEnabledMutation = { __typename?: 'Mutation', setReleaseRecipientEnabled: { __typename?: 'ReleaseRecipient', username: string, fullName?: string | null, enabled: boolean } }; +export type SetDestructionReasonEnabledMutation = { __typename?: 'Mutation', setDestructionReasonEnabled: { __typename?: 'DestructionReason', id: number, text: string, enabled: boolean } }; export type SetProjectEnabledMutationVariables = Exact<{ name: Scalars['String']['input']; @@ -5059,37 +5041,37 @@ export type SetProjectEnabledMutationVariables = Exact<{ export type SetProjectEnabledMutation = { __typename?: 'Mutation', setProjectEnabled: { __typename?: 'Project', name: string, enabled: boolean } }; -export type SetFixativeEnabledMutationVariables = Exact<{ +export type SetProbePanelEnabledMutationVariables = Exact<{ name: Scalars['String']['input']; enabled: Scalars['Boolean']['input']; }>; -export type SetFixativeEnabledMutation = { __typename?: 'Mutation', setFixativeEnabled: { __typename?: 'Fixative', name: string, enabled: boolean } }; +export type SetProbePanelEnabledMutation = { __typename?: 'Mutation', setProbePanelEnabled: { __typename?: 'ProbePanel', name: string, enabled: boolean } }; -export type SetReleaseDestinationEnabledMutationVariables = Exact<{ +export type SetProgramEnabledMutationVariables = Exact<{ name: Scalars['String']['input']; enabled: Scalars['Boolean']['input']; }>; -export type SetReleaseDestinationEnabledMutation = { __typename?: 'Mutation', setReleaseDestinationEnabled: { __typename?: 'ReleaseDestination', name: string, enabled: boolean } }; +export type SetProgramEnabledMutation = { __typename?: 'Mutation', setProgramEnabled: { __typename?: 'Program', name: string, enabled: boolean } }; -export type SetSolutionEnabledMutationVariables = Exact<{ +export type SetReleaseDestinationEnabledMutationVariables = Exact<{ name: Scalars['String']['input']; enabled: Scalars['Boolean']['input']; }>; -export type SetSolutionEnabledMutation = { __typename?: 'Mutation', setSolutionEnabled: { __typename?: 'Solution', name: string, enabled: boolean } }; +export type SetReleaseDestinationEnabledMutation = { __typename?: 'Mutation', setReleaseDestinationEnabled: { __typename?: 'ReleaseDestination', name: string, enabled: boolean } }; -export type SetProgramEnabledMutationVariables = Exact<{ +export type SetSolutionEnabledMutationVariables = Exact<{ name: Scalars['String']['input']; enabled: Scalars['Boolean']['input']; }>; -export type SetProgramEnabledMutation = { __typename?: 'Mutation', setProgramEnabled: { __typename?: 'Program', name: string, enabled: boolean } }; +export type SetSolutionEnabledMutation = { __typename?: 'Mutation', setSolutionEnabled: { __typename?: 'Solution', name: string, enabled: boolean } }; export type SetSpeciesEnabledMutationVariables = Exact<{ name: Scalars['String']['input']; @@ -5107,13 +5089,21 @@ export type SetSlotRegionEnabledMutationVariables = Exact<{ export type SetSlotRegionEnabledMutation = { __typename?: 'Mutation', setSlotRegionEnabled: { __typename?: 'SlotRegion', enabled: boolean, name: string } }; -export type StoreMutationVariables = Exact<{ - store: Array | StoreInput; - locationBarcode: Scalars['String']['input']; +export type SetReleaseRecipientEnabledMutationVariables = Exact<{ + username: Scalars['String']['input']; + enabled: Scalars['Boolean']['input']; }>; -export type StoreMutation = { __typename?: 'Mutation', store: { __typename?: 'Location', barcode: string, fixedName?: string | null, customName?: string | null, address?: string | null, direction?: GridDirection | null, numStored: number, leaf: boolean, 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, numStored: number, leaf: boolean }> } }; +export type SetReleaseRecipientEnabledMutation = { __typename?: 'Mutation', setReleaseRecipientEnabled: { __typename?: 'ReleaseRecipient', username: string, fullName?: string | null, enabled: boolean } }; + +export type SetUserRoleMutationVariables = Exact<{ + username: Scalars['String']['input']; + role: UserRole; +}>; + + +export type SetUserRoleMutation = { __typename?: 'Mutation', setUserRole: { __typename?: 'User', username: string, role: UserRole } }; export type SetWorkTypeEnabledMutationVariables = Exact<{ name: Scalars['String']['input']; @@ -5130,14 +5120,6 @@ export type SlotCopyMutationVariables = Exact<{ 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 | null }, spatialLocation: { __typename?: 'SpatialLocation', code: number, name: string, tissueType: { __typename?: 'TissueType', name: string } }, hmdmc?: { __typename?: 'Hmdmc', hmdmc: string } | null, medium: { __typename?: 'Medium', name: string }, fixative: { __typename?: 'Fixative', name: string, enabled: boolean } }, bioState: { __typename?: 'BioState', name: string } }> }> }> } }; -export type TransferLocationItemsMutationVariables = Exact<{ - sourceBarcode: Scalars['String']['input']; - destinationBarcode: Scalars['String']['input']; -}>; - - -export type TransferLocationItemsMutation = { __typename?: 'Mutation', transfer: { __typename?: 'Location', barcode: string, fixedName?: string | null, customName?: string | null, address?: string | null, direction?: GridDirection | null, numStored: number, leaf: boolean, 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, numStored: number, leaf: boolean }> } }; - export type StainMutationVariables = Exact<{ request: StainRequest; }>; @@ -5154,36 +5136,35 @@ export type StoreBarcodeMutationVariables = Exact<{ 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, numStored: number, leaf: boolean, 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, numStored: number, leaf: boolean }> } } }; -export type SetUserRoleMutationVariables = Exact<{ - username: Scalars['String']['input']; - role: UserRole; +export type StoreMutationVariables = Exact<{ + store: Array | StoreInput; + locationBarcode: Scalars['String']['input']; }>; -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, numStored: number, leaf: boolean, 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, numStored: number, leaf: boolean }> } }; -export type UpdateWorkDnapStudyMutationVariables = Exact<{ - workNumber: Scalars['String']['input']; - ssStudyId?: InputMaybe; +export type UnreleaseMutationVariables = Exact<{ + request: UnreleaseRequest; }>; -export type UpdateWorkDnapStudyMutation = { __typename?: 'Mutation', updateWorkDnapStudy: { __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', ssId: number, name: string, enabled: boolean } | null } }; +export type UnreleaseMutation = { __typename?: 'Mutation', unrelease: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; -export type UnreleaseMutationVariables = Exact<{ - request: UnreleaseRequest; +export type TransferLocationItemsMutationVariables = Exact<{ + sourceBarcode: Scalars['String']['input']; + destinationBarcode: Scalars['String']['input']; }>; -export type UnreleaseMutation = { __typename?: 'Mutation', unrelease: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; +export type TransferLocationItemsMutation = { __typename?: 'Mutation', transfer: { __typename?: 'Location', barcode: string, fixedName?: string | null, customName?: string | null, address?: string | null, direction?: GridDirection | null, numStored: number, leaf: boolean, 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, numStored: number, leaf: boolean }> } }; -export type UpdateReleaseRecipientFullNameMutationVariables = Exact<{ - username: Scalars['String']['input']; - fullName?: InputMaybe; +export type UnstoreBarcodeMutationVariables = Exact<{ + barcode: Scalars['String']['input']; }>; -export type UpdateReleaseRecipientFullNameMutation = { __typename?: 'Mutation', updateReleaseRecipientFullName: { __typename?: 'ReleaseRecipient', username: string, fullName?: string | null, enabled: boolean } }; +export type UnstoreBarcodeMutation = { __typename?: 'Mutation', unstoreBarcode?: { __typename?: 'UnstoredItem', barcode: string, address?: string | null } | null }; export type UpdateWorkNumBlocksMutationVariables = Exact<{ workNumber: Scalars['String']['input']; @@ -5193,6 +5174,19 @@ 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, 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', ssId: number, name: string, enabled: boolean } | null } }; +export type UpdateWorkDnapStudyMutationVariables = Exact<{ + workNumber: Scalars['String']['input']; + ssStudyId?: InputMaybe; +}>; + + +export type UpdateWorkDnapStudyMutation = { __typename?: 'Mutation', updateWorkDnapStudy: { __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', ssId: number, name: string, enabled: boolean } | null } }; + +export type UpdateDnapStudiesMutationVariables = Exact<{ [key: string]: never; }>; + + +export type UpdateDnapStudiesMutation = { __typename?: 'Mutation', updateDnapStudies: Array<{ __typename?: 'DnapStudy', ssId: number, name: string, enabled: boolean }> }; + export type UpdateWorkNumOriginalSamplesMutationVariables = Exact<{ workNumber: Scalars['String']['input']; numOriginalSamples?: InputMaybe; @@ -5201,57 +5195,53 @@ export type UpdateWorkNumOriginalSamplesMutationVariables = Exact<{ 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', ssId: number, name: string, enabled: boolean } | null } }; -export type UpdateWorkStatusMutationVariables = Exact<{ +export type UpdateWorkNumSlidesMutationVariables = Exact<{ workNumber: Scalars['String']['input']; - status: WorkStatus; - commentId?: InputMaybe; + numSlides?: InputMaybe; }>; -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', ssId: number, name: string, enabled: boolean } | 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', ssId: number, name: string, enabled: boolean } | null } }; -export type UnstoreBarcodeMutationVariables = Exact<{ - barcode: Scalars['String']['input']; +export type UpdateWorkOmeroProjectMutationVariables = Exact<{ + workNumber: Scalars['String']['input']; + omeroProject?: InputMaybe; }>; -export type UnstoreBarcodeMutation = { __typename?: 'Mutation', unstoreBarcode?: { __typename?: 'UnstoredItem', barcode: string, address?: string | null } | null }; - -export type UpdateDnapStudiesMutationVariables = Exact<{ [key: string]: never; }>; - - -export type UpdateDnapStudiesMutation = { __typename?: 'Mutation', updateDnapStudies: Array<{ __typename?: 'DnapStudy', ssId: number, name: string, enabled: boolean }> }; +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', ssId: number, name: string, enabled: boolean } | null } }; -export type UpdateWorkNumSlidesMutationVariables = Exact<{ +export type UpdateWorkPriorityMutationVariables = Exact<{ workNumber: Scalars['String']['input']; - numSlides?: InputMaybe; + priority?: 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, 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', ssId: number, 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', ssId: number, name: string, enabled: boolean } | null } }; -export type UpdateWorkOmeroProjectMutationVariables = Exact<{ +export type UpdateWorkStatusMutationVariables = Exact<{ workNumber: Scalars['String']['input']; - omeroProject?: InputMaybe; + status: WorkStatus; + commentId?: 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, 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', ssId: number, 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', ssId: number, name: string, enabled: boolean } | null } } }; -export type UpdateWorkPriorityMutationVariables = Exact<{ - workNumber: Scalars['String']['input']; - priority?: InputMaybe; +export type VisiumAnalysisMutationVariables = Exact<{ + request: VisiumAnalysisRequest; }>; -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', ssId: number, name: string, enabled: boolean } | null } }; +export type VisiumAnalysisMutation = { __typename?: 'Mutation', visiumAnalysis: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; -export type VisiumAnalysisMutationVariables = Exact<{ - request: VisiumAnalysisRequest; +export type UpdateReleaseRecipientFullNameMutationVariables = Exact<{ + username: Scalars['String']['input']; + fullName?: InputMaybe; }>; -export type VisiumAnalysisMutation = { __typename?: 'Mutation', visiumAnalysis: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; +export type UpdateReleaseRecipientFullNameMutation = { __typename?: 'Mutation', updateReleaseRecipientFullName: { __typename?: 'ReleaseRecipient', username: string, fullName?: string | null, enabled: boolean } }; export type CleanOutMutationVariables = Exact<{ request: CleanOutRequest; @@ -5260,12 +5250,18 @@ export type CleanOutMutationVariables = Exact<{ export type CleanOutMutation = { __typename?: 'Mutation', cleanOut: { __typename?: 'OperationResult', operations: Array<{ __typename?: 'Operation', id: number }> } }; -export const BioRiskFieldsFragmentDoc = gql` - fragment BioRiskFields on BioRisk { - code - enabled -} - `; +export type GetWorkNumbersQueryVariables = Exact<{ [key: string]: never; }>; + + +export type GetWorkNumbersQuery = { __typename?: 'Query', works: Array<{ __typename?: 'Work', workNumber: string }> }; + +export type AddProbePanelMutationVariables = Exact<{ + name: Scalars['String']['input']; +}>; + + +export type AddProbePanelMutation = { __typename?: 'Mutation', addProbePanel: { __typename?: 'ProbePanel', name: string, enabled: boolean } }; + export const AddressPermDataFieldsFragmentDoc = gql` fragment AddressPermDataFields on AddressPermData { address @@ -5274,13 +5270,6 @@ export const AddressPermDataFieldsFragmentDoc = gql` selected } `; -export const AnalyserScanDataFieldsFragmentDoc = gql` - fragment AnalyserScanDataFields on AnalyserScanData { - workNumbers - probes - cellSegmentationRecorded -} - `; export const CommentFieldsFragmentDoc = gql` fragment CommentFields on Comment { id @@ -5296,6 +5285,19 @@ export const DestructionReasonFieldsFragmentDoc = gql` enabled } `; +export const AnalyserScanDataFieldsFragmentDoc = gql` + fragment AnalyserScanDataFields on AnalyserScanData { + workNumbers + probes + cellSegmentationRecorded +} + `; +export const FixativeFieldsFragmentDoc = gql` + fragment FixativeFields on Fixative { + name + enabled +} + `; export const FileFieldsFragmentDoc = gql` fragment FileFields on StanFile { created @@ -5314,23 +5316,6 @@ export const EquipmentFieldsFragmentDoc = gql` enabled } `; -export const GraphSvgFieldsFragmentDoc = gql` - fragment GraphSVGFields on GraphSVG { - svg -} - `; -export const FixativeFieldsFragmentDoc = gql` - fragment FixativeFields on Fixative { - name - enabled -} - `; -export const HmdmcFieldsFragmentDoc = gql` - fragment HmdmcFields on Hmdmc { - hmdmc - enabled -} - `; export const LabwareTypeFieldsFragmentDoc = gql` fragment LabwareTypeFields on LabwareType { name @@ -5388,14 +5373,15 @@ export const SlotFieldsFragmentDoc = gql` block } `; -export const LabwareFieldsFragmentDoc = gql` - fragment LabwareFields on Labware { +export const LabwareFlaggedFieldsFragmentDoc = gql` + fragment LabwareFlaggedFields on LabwareFlagged { id barcode externalBarcode destroyed discarded released + flagged state created labwareType { @@ -5406,68 +5392,39 @@ export const LabwareFieldsFragmentDoc = gql` } } `; -export const HistoryEntryFieldsFragmentDoc = gql` - fragment HistoryEntryFields on HistoryEntry { - destinationLabwareId - details - eventId - sampleId - sourceLabwareId - time - username - type - workNumber - address - region +export const BioRiskFieldsFragmentDoc = gql` + fragment BioRiskFields on BioRisk { + code + enabled } `; -export const HistoryFieldsFragmentDoc = gql` - fragment HistoryFields on History { - labware { - ...LabwareFields - } - samples { - ...SampleFields - } - entries { - ...HistoryEntryFields - } - flaggedBarcodes +export const GraphSvgFieldsFragmentDoc = gql` + fragment GraphSVGFields on GraphSVG { + svg } `; -export const RoiFieldsFragmentDoc = gql` - fragment RoiFields on Roi { - sample { - ...SampleFields - } - address - roi +export const HmdmcFieldsFragmentDoc = gql` + fragment HmdmcFields on Hmdmc { + hmdmc + enabled } `; -export const LabwareRoiFieldsFragmentDoc = gql` - fragment LabwareRoiFields on LabwareRoi { - barcode - rois { - ...RoiFields +export const PlanActionFieldsFragmentDoc = gql` + fragment PlanActionFields on PlanAction { + newSection + sample { + id } -} - `; -export const LabwareFlaggedFieldsFragmentDoc = gql` - fragment LabwareFlaggedFields on LabwareFlagged { - id - barcode - externalBarcode - destroyed - discarded - released - flagged - state - created - labwareType { - ...LabwareTypeFields + source { + address + labwareId + samples { + id + } } - slots { - ...SlotFields + destination { + address + labwareId } } `; @@ -5508,30 +5465,20 @@ export const LocationFieldsFragmentDoc = gql` } } `; -export const NextReplicateDataFieldsFragmentDoc = gql` - fragment NextReplicateDataFields on NextReplicateData { - barcodes - donorId - nextReplicateNumber - spatialLocationId -} - `; -export const PlanActionFieldsFragmentDoc = gql` - fragment PlanActionFields on PlanAction { - newSection +export const RoiFieldsFragmentDoc = gql` + fragment RoiFields on Roi { sample { - id - } - source { - address - labwareId - samples { - id - } + ...SampleFields } - destination { - address - labwareId + address + roi +} + `; +export const LabwareRoiFieldsFragmentDoc = gql` + fragment LabwareRoiFields on LabwareRoi { + barcode + rois { + ...RoiFields } } `; @@ -5570,35 +5517,96 @@ export const OperationFieldsFragmentDoc = gql` performed } `; -export const ProbePanelFieldsFragmentDoc = gql` - fragment ProbePanelFields on ProbePanel { - name - enabled +export const NextReplicateDataFieldsFragmentDoc = gql` + fragment NextReplicateDataFields on NextReplicateData { + barcodes + donorId + nextReplicateNumber + spatialLocationId } `; -export const PrinterFieldsFragmentDoc = gql` - fragment PrinterFields on Printer { - name - labelTypes { - name +export const LabwareFieldsFragmentDoc = gql` + fragment LabwareFields on Labware { + id + barcode + externalBarcode + destroyed + discarded + released + state + created + labwareType { + ...LabwareTypeFields + } + slots { + ...SlotFields } } `; -export const ReagentSlotFieldsFragmentDoc = gql` - fragment ReagentSlotFields on ReagentSlot { +export const HistoryEntryFieldsFragmentDoc = gql` + fragment HistoryEntryFields on HistoryEntry { + destinationLabwareId + details + eventId + sampleId + sourceLabwareId + time + username + type + workNumber address - used + region } `; -export const ReagentPlateFieldsFragmentDoc = gql` - fragment ReagentPlateFields on ReagentPlate { - barcode - slots { +export const HistoryFieldsFragmentDoc = gql` + fragment HistoryFields on History { + labware { + ...LabwareFields + } + samples { + ...SampleFields + } + entries { + ...HistoryEntryFields + } + flaggedBarcodes +} + `; +export const PrinterFieldsFragmentDoc = gql` + fragment PrinterFields on Printer { + name + labelTypes { + name + } +} + `; +export const ProbePanelFieldsFragmentDoc = gql` + fragment ProbePanelFields on ProbePanel { + name + enabled +} + `; +export const ReagentSlotFieldsFragmentDoc = gql` + fragment ReagentSlotFields on ReagentSlot { + address + used +} + `; +export const ReagentPlateFieldsFragmentDoc = gql` + fragment ReagentPlateFields on ReagentPlate { + barcode + slots { ...ReagentSlotFields } plateType } `; +export const ReleaseFileOptionFieldsFragmentDoc = gql` + fragment ReleaseFileOptionFields on ReleaseFileOption { + displayName + queryParamName +} + `; export const RegisterResultFieldsFragmentDoc = gql` fragment RegisterResultFields on RegisterResult { labware { @@ -5637,19 +5645,11 @@ export const ReleaseDestinationFieldsFragmentDoc = gql` enabled } `; -export const SamplePositionFieldsFragmentDoc = gql` - fragment SamplePositionFields on SamplePosition { +export const SlotPassFailFieldsFragmentDoc = gql` + fragment SlotPassFailFields on SlotPassFail { address - region - sampleId - slotId - operationId -} - `; -export const ReleaseFileOptionFieldsFragmentDoc = gql` - fragment ReleaseFileOptionFields on ReleaseFileOption { - displayName - queryParamName + result + comment } `; export const SlotRegionFieldsFragmentDoc = gql` @@ -5658,15 +5658,8 @@ export const SlotRegionFieldsFragmentDoc = gql` name } `; -export const SlotPassFailFieldsFragmentDoc = gql` - fragment SlotPassFailFields on SlotPassFail { - address - result - comment -} - `; -export const SolutionFieldsFragmentDoc = gql` - fragment SolutionFields on Solution { +export const SpeciesFieldsFragmentDoc = gql` + fragment SpeciesFields on Species { name enabled } @@ -5677,12 +5670,45 @@ export const StainTypeFieldsFragmentDoc = gql` measurementTypes } `; +export const SamplePositionFieldsFragmentDoc = gql` + fragment SamplePositionFields on SamplePosition { + address + region + sampleId + slotId + operationId +} + `; export const SuggestedWorkFieldsFragmentDoc = gql` fragment SuggestedWorkFields on SuggestedWork { barcode workNumber } `; +export const SolutionFieldsFragmentDoc = gql` + fragment SolutionFields on Solution { + name + enabled +} + `; +export const WorkTypeFieldsFragmentDoc = gql` + fragment WorkTypeFields on WorkType { + name + enabled +} + `; +export const WorkSummaryGroupFieldsFragmentDoc = gql` + fragment WorkSummaryGroupFields on WorkSummaryGroup { + workType { + ...WorkTypeFields + } + numWorks + status + totalNumBlocks + totalNumSlides + totalNumOriginalSamples +} + `; export const ReleaseRecipientFieldsFragmentDoc = gql` fragment ReleaseRecipientFields on ReleaseRecipient { username @@ -5708,12 +5734,6 @@ export const CostCodeFieldsFragmentDoc = gql` enabled } `; -export const WorkTypeFieldsFragmentDoc = gql` - fragment WorkTypeFields on WorkType { - name - enabled -} - `; export const OmeroProjectFieldsFragmentDoc = gql` fragment OmeroProjectFields on OmeroProject { name @@ -5776,12 +5796,6 @@ export const WorkProgressFieldsFragmentDoc = gql` workComment } `; -export const SpeciesFieldsFragmentDoc = gql` - fragment SpeciesFields on Species { - name - enabled -} - `; export const WorkWithCommentFieldsFragmentDoc = gql` fragment WorkWithCommentFields on WorkWithComment { work { @@ -5790,18 +5804,20 @@ export const WorkWithCommentFieldsFragmentDoc = gql` comment } `; -export const WorkSummaryGroupFieldsFragmentDoc = gql` - fragment WorkSummaryGroupFields on WorkSummaryGroup { - workType { - ...WorkTypeFields +export const ExtractResultDocument = gql` + query ExtractResult($barcode: String!) { + extractResult(barcode: $barcode) { + result + concentration + labware { + ...LabwareFlaggedFields + } } - numWorks - status - totalNumBlocks - totalNumSlides - totalNumOriginalSamples } - `; + ${LabwareFlaggedFieldsFragmentDoc} +${LabwareTypeFieldsFragmentDoc} +${SlotFieldsFragmentDoc} +${SampleFieldsFragmentDoc}`; export const CurrentUserDocument = gql` query CurrentUser { user { @@ -5816,20 +5832,18 @@ export const FindFilesDocument = gql` } } ${FileFieldsFragmentDoc}`; -export const ExtractResultDocument = gql` - query ExtractResult($barcode: String!) { - extractResult(barcode: $barcode) { - result - concentration - labware { - ...LabwareFlaggedFields - } +export const FindHistoryForDonorNameDocument = gql` + query FindHistoryForDonorName($donorName: String!) { + historyForDonorName(donorName: $donorName) { + ...HistoryFields } } - ${LabwareFlaggedFieldsFragmentDoc} + ${HistoryFieldsFragmentDoc} +${LabwareFieldsFragmentDoc} ${LabwareTypeFieldsFragmentDoc} ${SlotFieldsFragmentDoc} -${SampleFieldsFragmentDoc}`; +${SampleFieldsFragmentDoc} +${HistoryEntryFieldsFragmentDoc}`; export const FindDocument = gql` query Find($request: FindRequest!) { find(request: $request) { @@ -5889,39 +5903,9 @@ export const FindDocument = gql` } } `; -export const FindHistoryDocument = gql` - query FindHistory($workNumber: String, $barcode: String, $donorName: [String!], $externalName: [String!], $eventType: String) { - history( - workNumber: $workNumber - barcode: $barcode - donorName: $donorName - externalName: $externalName - eventType: $eventType - ) { - ...HistoryFields - } -} - ${HistoryFieldsFragmentDoc} -${LabwareFieldsFragmentDoc} -${LabwareTypeFieldsFragmentDoc} -${SlotFieldsFragmentDoc} -${SampleFieldsFragmentDoc} -${HistoryEntryFieldsFragmentDoc}`; -export const FindHistoryForLabwareBarcodeDocument = gql` - query FindHistoryForLabwareBarcode($barcode: String!) { - historyForLabwareBarcode(barcode: $barcode) { - ...HistoryFields - } -} - ${HistoryFieldsFragmentDoc} -${LabwareFieldsFragmentDoc} -${LabwareTypeFieldsFragmentDoc} -${SlotFieldsFragmentDoc} -${SampleFieldsFragmentDoc} -${HistoryEntryFieldsFragmentDoc}`; -export const FindHistoryForDonorNameDocument = gql` - query FindHistoryForDonorName($donorName: String!) { - historyForDonorName(donorName: $donorName) { +export const FindHistoryForExternalNameDocument = gql` + query FindHistoryForExternalName($externalName: String!) { + historyForExternalName(externalName: $externalName) { ...HistoryFields } } @@ -5941,9 +5925,9 @@ export const FindFlaggedLabwareDocument = gql` ${LabwareTypeFieldsFragmentDoc} ${SlotFieldsFragmentDoc} ${SampleFieldsFragmentDoc}`; -export const FindHistoryForExternalNameDocument = gql` - query FindHistoryForExternalName($externalName: String!) { - historyForExternalName(externalName: $externalName) { +export const FindHistoryForLabwareBarcodeDocument = gql` + query FindHistoryForLabwareBarcode($barcode: String!) { + historyForLabwareBarcode(barcode: $barcode) { ...HistoryFields } } @@ -5977,6 +5961,34 @@ ${LabwareTypeFieldsFragmentDoc} ${SlotFieldsFragmentDoc} ${SampleFieldsFragmentDoc} ${HistoryEntryFieldsFragmentDoc}`; +export const FindLabwareDocument = gql` + query FindLabware($barcode: String!) { + labware(barcode: $barcode) { + ...LabwareFields + } +} + ${LabwareFieldsFragmentDoc} +${LabwareTypeFieldsFragmentDoc} +${SlotFieldsFragmentDoc} +${SampleFieldsFragmentDoc}`; +export const FindHistoryDocument = gql` + query FindHistory($workNumber: String, $barcode: String, $donorName: [String!], $externalName: [String!], $eventType: String) { + history( + workNumber: $workNumber + barcode: $barcode + donorName: $donorName + externalName: $externalName + eventType: $eventType + ) { + ...HistoryFields + } +} + ${HistoryFieldsFragmentDoc} +${LabwareFieldsFragmentDoc} +${LabwareTypeFieldsFragmentDoc} +${SlotFieldsFragmentDoc} +${SampleFieldsFragmentDoc} +${HistoryEntryFieldsFragmentDoc}`; export const FindLabwareLocationDocument = gql` query FindLabwareLocation($barcodes: [String!]!) { stored(barcodes: $barcodes) { @@ -5986,13 +5998,6 @@ export const FindLabwareLocationDocument = gql` } } `; -export const FindLatestOperationDocument = gql` - query FindLatestOperation($barcode: String!, $operationType: String!) { - findLatestOp(barcode: $barcode, operationType: $operationType) { - id - } -} - `; export const FindHistoryGraphDocument = gql` query FindHistoryGraph($workNumber: String, $barcode: String, $donorName: [String!], $externalName: [String!], $zoom: Float, $fontSize: Int) { historyGraph( @@ -6007,22 +6012,13 @@ export const FindHistoryGraphDocument = gql` } } ${GraphSvgFieldsFragmentDoc}`; -export const FindMeasurementByBarcodeAndNameDocument = gql` - query FindMeasurementByBarcodeAndName($barcode: String!, $measurementName: String!) { - measurementValueFromLabwareOrParent(barcode: $barcode, name: $measurementName) { - address - string +export const FindLatestOperationDocument = gql` + query FindLatestOperation($barcode: String!, $operationType: String!) { + findLatestOp(barcode: $barcode, operationType: $operationType) { + id } } `; -export const FindLocationByBarcodeDocument = gql` - query FindLocationByBarcode($barcode: String!) { - location(locationBarcode: $barcode) { - ...LocationFields - } -} - ${LocationFieldsFragmentDoc} -${LinkedLocationFieldsFragmentDoc}`; export const FindPermDataDocument = gql` query FindPermData($barcode: String!) { visiumPermData(barcode: $barcode) { @@ -6045,12 +6041,20 @@ ${LabwareTypeFieldsFragmentDoc} ${SlotFieldsFragmentDoc} ${SampleFieldsFragmentDoc} ${SamplePositionFieldsFragmentDoc}`; -export const FindPassFailsDocument = gql` - query FindPassFails($barcode: String!, $operationType: String!) { - passFails(barcode: $barcode, operationType: $operationType) { - operation { - ...OperationFields - } +export const FindLocationByBarcodeDocument = gql` + query FindLocationByBarcode($barcode: String!) { + location(locationBarcode: $barcode) { + ...LocationFields + } +} + ${LocationFieldsFragmentDoc} +${LinkedLocationFieldsFragmentDoc}`; +export const FindPassFailsDocument = gql` + query FindPassFails($barcode: String!, $operationType: String!) { + passFails(barcode: $barcode, operationType: $operationType) { + operation { + ...OperationFields + } slotPassFails { ...SlotPassFailFields } @@ -6062,6 +6066,14 @@ ${SlotFieldsFragmentDoc} ${SampleFieldsFragmentDoc} ${UserFieldsFragmentDoc} ${SlotPassFailFieldsFragmentDoc}`; +export const FindMeasurementByBarcodeAndNameDocument = gql` + query FindMeasurementByBarcodeAndName($barcode: String!, $measurementName: String!) { + measurementValueFromLabwareOrParent(barcode: $barcode, name: $measurementName) { + address + string + } +} + `; export const FindReagentPlateDocument = gql` query FindReagentPlate($barcode: String!) { reagentPlate(barcode: $barcode) { @@ -6073,30 +6085,6 @@ export const FindReagentPlateDocument = gql` } } ${ReagentSlotFieldsFragmentDoc}`; -export const FindPlanDataDocument = gql` - query FindPlanData($barcode: String!) { - planData(barcode: $barcode) { - sources { - ...LabwareFlaggedFields - } - destination { - ...LabwareFlaggedFields - } - plan { - operationType { - name - } - planActions { - ...PlanActionFields - } - } - } -} - ${LabwareFlaggedFieldsFragmentDoc} -${LabwareTypeFieldsFragmentDoc} -${SlotFieldsFragmentDoc} -${SampleFieldsFragmentDoc} -${PlanActionFieldsFragmentDoc}`; export const FindSamplePositionsDocument = gql` query FindSamplePositions($labwareBarcode: String!) { samplePositions(labwareBarcode: $labwareBarcode) { @@ -6131,6 +6119,30 @@ export const FindWorkNumbersDocument = gql` } } `; +export const FindPlanDataDocument = gql` + query FindPlanData($barcode: String!) { + planData(barcode: $barcode) { + sources { + ...LabwareFlaggedFields + } + destination { + ...LabwareFlaggedFields + } + plan { + operationType { + name + } + planActions { + ...PlanActionFields + } + } + } +} + ${LabwareFlaggedFieldsFragmentDoc} +${LabwareTypeFieldsFragmentDoc} +${SlotFieldsFragmentDoc} +${SampleFieldsFragmentDoc} +${PlanActionFieldsFragmentDoc}`; export const FindWorkProgressDocument = gql` query FindWorkProgress($workNumber: String, $workTypes: [String!], $programs: [String!], $statuses: [WorkStatus!], $requesters: [String!]) { workProgress( @@ -6153,27 +6165,20 @@ ${WorkTypeFieldsFragmentDoc} ${OmeroProjectFieldsFragmentDoc} ${DnapStudyFieldsFragmentDoc} ${WorkProgressTimeStampFieldFragmentDoc}`; -export const FindWorksCreatedByDocument = gql` - query FindWorksCreatedBy($username: String!) { - worksCreatedBy(username: $username) { - ...WorkFields - } -} - ${WorkFieldsFragmentDoc} -${ReleaseRecipientFieldsFragmentDoc} -${ProjectFieldsFragmentDoc} -${ProgramFieldsFragmentDoc} -${CostCodeFieldsFragmentDoc} -${WorkTypeFieldsFragmentDoc} -${OmeroProjectFieldsFragmentDoc} -${DnapStudyFieldsFragmentDoc}`; -export const GetAnalyserScanDataDocument = gql` - query GetAnalyserScanData($barcode: String!) { - analyserScanData(barcode: $barcode) { - ...AnalyserScanDataFields +export const GetAllWorkInfoDocument = gql` + query GetAllWorkInfo { + works { + workNumber + workRequester { + username + } + project { + name + } + status } } - ${AnalyserScanDataFieldsFragmentDoc}`; + `; export const GetBlockProcessingInfoDocument = gql` query GetBlockProcessingInfo { mediums { @@ -6188,11 +6193,13 @@ export const GetBlockProcessingInfoDocument = gql` } ${CommentFieldsFragmentDoc} ${LabwareTypeFieldsFragmentDoc}`; -export const GetCleanedOutAddressesDocument = gql` - query GetCleanedOutAddresses($barcode: String!) { - cleanedOutAddresses(barcode: $barcode) +export const GetAnalyserScanDataDocument = gql` + query GetAnalyserScanData($barcode: String!) { + analyserScanData(barcode: $barcode) { + ...AnalyserScanDataFields + } } - `; + ${AnalyserScanDataFieldsFragmentDoc}`; export const GetCommentsDocument = gql` query GetComments($commentCategory: String, $includeDisabled: Boolean) { comments(category: $commentCategory, includeDisabled: $includeDisabled) { @@ -6200,16 +6207,20 @@ export const GetCommentsDocument = gql` } } ${CommentFieldsFragmentDoc}`; -export const FindLabwareDocument = gql` - query FindLabware($barcode: String!) { - labware(barcode: $barcode) { - ...LabwareFields +export const GetBioRisksDocument = gql` + query GetBioRisks($includeDisabled: Boolean) { + bioRisks(includeDisabled: $includeDisabled) { + ...BioRiskFields } } - ${LabwareFieldsFragmentDoc} -${LabwareTypeFieldsFragmentDoc} -${SlotFieldsFragmentDoc} -${SampleFieldsFragmentDoc}`; + ${BioRiskFieldsFragmentDoc}`; +export const GetDestroyInfoDocument = gql` + query GetDestroyInfo { + destructionReasons { + ...DestructionReasonFields + } +} + ${DestructionReasonFieldsFragmentDoc}`; export const GetConfigurationDocument = gql` query GetConfiguration { destructionReasons(includeDisabled: true) { @@ -6292,20 +6303,11 @@ export const GetDestructionReasonsDocument = gql` } } ${DestructionReasonFieldsFragmentDoc}`; -export const GetBioRisksDocument = gql` - query GetBioRisks($includeDisabled: Boolean) { - bioRisks(includeDisabled: $includeDisabled) { - ...BioRiskFields - } -} - ${BioRiskFieldsFragmentDoc}`; -export const GetDestroyInfoDocument = gql` - query GetDestroyInfo { - destructionReasons { - ...DestructionReasonFields - } +export const GetCleanedOutAddressesDocument = gql` + query GetCleanedOutAddresses($barcode: String!) { + cleanedOutAddresses(barcode: $barcode) } - ${DestructionReasonFieldsFragmentDoc}`; + `; export const GetDnapStudyDocument = gql` query GetDnapStudy($ssId: Int!) { dnapStudy(ssId: $ssId) { @@ -6313,18 +6315,6 @@ export const GetDnapStudyDocument = gql` } } ${DnapStudyFieldsFragmentDoc}`; -export const GetEquipmentsDocument = gql` - query GetEquipments($category: String, $includeDisabled: Boolean) { - equipments(category: $category, includeDisabled: $includeDisabled) { - ...EquipmentFields - } -} - ${EquipmentFieldsFragmentDoc}`; -export const GetEventTypesDocument = gql` - query GetEventTypes { - eventTypes -} - `; export const GetLabwareInLocationDocument = gql` query GetLabwareInLocation($locationBarcode: String!) { labwareInLocation(locationBarcode: $locationBarcode) { @@ -6335,18 +6325,27 @@ export const GetLabwareInLocationDocument = gql` ${LabwareTypeFieldsFragmentDoc} ${SlotFieldsFragmentDoc} ${SampleFieldsFragmentDoc}`; +export const GetEventTypesDocument = gql` + query GetEventTypes { + eventTypes +} + `; export const GetLabwareCostingDocument = gql` query GetLabwareCosting($barcode: String!) { labwareCosting(barcode: $barcode) } `; -export const GetParaffinProcessingInfoDocument = gql` - query GetParaffinProcessingInfo { - comments(includeDisabled: false, category: "Paraffin processing program") { - ...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 GetOmeroProjectsDocument = gql` query GetOmeroProjects { omeroProjects { @@ -6355,17 +6354,21 @@ export const GetOmeroProjectsDocument = gql` } } `; -export const GetAllWorkInfoDocument = gql` - query GetAllWorkInfo { - works { - workNumber - workRequester { - username - } - project { - name +export const GetNextReplicateNumberDocument = gql` + query GetNextReplicateNumber($barcodes: [String!]!) { + nextReplicateNumbers(barcodes: $barcodes) { + ...NextReplicateDataFields + } +} + ${NextReplicateDataFieldsFragmentDoc}`; +export const GetLabwareFlagDetailsDocument = gql` + query GetLabwareFlagDetails($barcodes: [String!]!) { + labwareFlagDetails(barcodes: $barcodes) { + barcode + flags { + barcode + description } - status } } `; @@ -6383,32 +6386,43 @@ export const GetPotProcessingInfoDocument = gql` } ${CommentFieldsFragmentDoc} ${LabwareTypeFieldsFragmentDoc}`; -export const GetProbePanelsDocument = gql` - query GetProbePanels { - probePanels { +export const GetPrintersDocument = gql` + query GetPrinters { + printers { + ...PrinterFields + } +} + ${PrinterFieldsFragmentDoc}`; +export const GetParaffinProcessingInfoDocument = gql` + query GetParaffinProcessingInfo { + comments(includeDisabled: false, category: "Paraffin processing program") { + ...CommentFields + } +} + ${CommentFieldsFragmentDoc}`; +export const GetProgramsDocument = gql` + query GetPrograms { + programs { name enabled } } `; -export const GetLabwareOperationsDocument = gql` - query GetLabwareOperations($barcode: String!, $operationType: String!) { - labwareOperations(barcode: $barcode, operationType: $operationType) { - ...OperationFields +export const GetEquipmentsDocument = gql` + query GetEquipments($category: String, $includeDisabled: Boolean) { + equipments(category: $category, includeDisabled: $includeDisabled) { + ...EquipmentFields } } - ${OperationFieldsFragmentDoc} -${ActionFieldsFragmentDoc} -${SlotFieldsFragmentDoc} -${SampleFieldsFragmentDoc} -${UserFieldsFragmentDoc}`; -export const GetPrintersDocument = gql` - query GetPrinters { - printers { - ...PrinterFields + ${EquipmentFieldsFragmentDoc}`; +export const GetProbePanelsDocument = gql` + query GetProbePanels { + probePanels { + name + enabled } } - ${PrinterFieldsFragmentDoc}`; + `; export const GetRecordExtractResultInfoDocument = gql` query GetRecordExtractResultInfo { comments(category: "extract result", includeDisabled: false) { @@ -6416,6 +6430,13 @@ export const GetRecordExtractResultInfoDocument = gql` } } ${CommentFieldsFragmentDoc}`; +export const GetRecordInPlaceInfoDocument = gql` + query GetRecordInPlaceInfo($category: String) { + equipments(includeDisabled: false, category: $category) { + ...EquipmentFields + } +} + ${EquipmentFieldsFragmentDoc}`; export const GetRegionsOfInterestDocument = gql` query GetRegionsOfInterest($barcodes: [String!]!) { rois(barcodes: $barcodes) { @@ -6425,27 +6446,6 @@ export const GetRegionsOfInterestDocument = gql` ${LabwareRoiFieldsFragmentDoc} ${RoiFieldsFragmentDoc} ${SampleFieldsFragmentDoc}`; -export const GetNextReplicateNumberDocument = gql` - query GetNextReplicateNumber($barcodes: [String!]!) { - nextReplicateNumbers(barcodes: $barcodes) { - ...NextReplicateDataFields - } -} - ${NextReplicateDataFieldsFragmentDoc}`; -export const GetReleaseColumnOptionsDocument = gql` - query GetReleaseColumnOptions { - releaseColumnOptions { - ...ReleaseFileOptionFields - } -} - ${ReleaseFileOptionFieldsFragmentDoc}`; -export const GetRecordInPlaceInfoDocument = gql` - query GetRecordInPlaceInfo($category: String) { - equipments(includeDisabled: false, category: $category) { - ...EquipmentFields - } -} - ${EquipmentFieldsFragmentDoc}`; export const GetReleaseInfoDocument = gql` query GetReleaseInfo { releaseDestinations { @@ -6461,50 +6461,13 @@ export const GetReleaseInfoDocument = gql` ${ReleaseDestinationFieldsFragmentDoc} ${ReleaseRecipientFieldsFragmentDoc} ${ReleaseFileOptionFieldsFragmentDoc}`; -export const GetSampleProcessingCommentsInfoDocument = gql` - query GetSampleProcessingCommentsInfo { - comments: comments(includeDisabled: false, category: "Sample Processing") { - ...CommentFields - } -} - ${CommentFieldsFragmentDoc}`; -export const GetLabwareFlagDetailsDocument = gql` - query GetLabwareFlagDetails($barcodes: [String!]!) { - labwareFlagDetails(barcodes: $barcodes) { - barcode - flags { - barcode - description - } - } -} - `; -export const GetSearchInfoDocument = gql` - query GetSearchInfo { - tissueTypes { - name - } - labwareTypes { - name - } - species { - name - } -} - `; -export const GetRunRoisDocument = gql` - query GetRunRois($barcode: String!, $run: String!) { - runRois(barcode: $barcode, run: $run) { - ...RoiFields +export const GetReleaseColumnOptionsDocument = gql` + query GetReleaseColumnOptions { + releaseColumnOptions { + ...ReleaseFileOptionFields } } - ${RoiFieldsFragmentDoc} -${SampleFieldsFragmentDoc}`; -export const GetRunNamesDocument = gql` - query GetRunNames($barcode: String!) { - runNames(barcode: $barcode) -} - `; + ${ReleaseFileOptionFieldsFragmentDoc}`; export const GetRegistrationInfoDocument = gql` query GetRegistrationInfo { species { @@ -6540,6 +6503,13 @@ export const GetRegistrationInfoDocument = gql` } } ${LabwareTypeFieldsFragmentDoc}`; +export const GetSampleProcessingCommentsInfoDocument = gql` + query GetSampleProcessingCommentsInfo { + comments: comments(includeDisabled: false, category: "Sample Processing") { + ...CommentFields + } +} + ${CommentFieldsFragmentDoc}`; export const GetSectioningConfirmInfoDocument = gql` query GetSectioningConfirmInfo { comments(category: "section") { @@ -6551,6 +6521,32 @@ export const GetSectioningConfirmInfoDocument = gql` } ${CommentFieldsFragmentDoc} ${SlotRegionFieldsFragmentDoc}`; +export const GetRunRoisDocument = gql` + query GetRunRois($barcode: String!, $run: String!) { + runRois(barcode: $barcode, run: $run) { + ...RoiFields + } +} + ${RoiFieldsFragmentDoc} +${SampleFieldsFragmentDoc}`; +export const GetSearchInfoDocument = gql` + query GetSearchInfo { + tissueTypes { + name + } + labwareTypes { + name + } + species { + name + } +} + `; +export const GetRunNamesDocument = gql` + query GetRunNames($barcode: String!) { + runNames(barcode: $barcode) +} + `; export const GetSlotRegionsDocument = gql` query GetSlotRegions($includeDisabled: Boolean) { slotRegions(includeDisabled: $includeDisabled) { @@ -6566,13 +6562,13 @@ export const GetSectioningInfoDocument = gql` } } ${LabwareTypeFieldsFragmentDoc}`; -export const GetStainReagentTypesDocument = gql` - query GetStainReagentTypes { - stainReagentTypes { - ...CommentFields +export const GetSolutionTransferInfoDocument = gql` + query GetSolutionTransferInfo { + solutions { + name } } - ${CommentFieldsFragmentDoc}`; + `; export const GetStainInfoDocument = gql` query GetStainInfo { stainTypes { @@ -6580,20 +6576,6 @@ export const GetStainInfoDocument = gql` } } ${StainTypeFieldsFragmentDoc}`; -export const GetStainingQcInfoDocument = gql` - query GetStainingQCInfo { - comments(includeDisabled: false, category: "stain QC") { - ...CommentFields - } -} - ${CommentFieldsFragmentDoc}`; -export const GetVisiumQcInfoDocument = gql` - query GetVisiumQCInfo { - comments(includeDisabled: false, category: "Visium QC") { - ...CommentFields - } -} - ${CommentFieldsFragmentDoc}`; export const GetSuggestedLabwareForWorkDocument = gql` query GetSuggestedLabwareForWork($workNumber: String!, $forRelease: Boolean) { suggestedLabwareForWork(workNumber: $workNumber, forRelease: $forRelease) { @@ -6613,14 +6595,81 @@ export const GetSuggestedWorkForLabwareDocument = gql` } } ${SuggestedWorkFieldsFragmentDoc}`; -export const GetProgramsDocument = gql` - query GetPrograms { - programs { +export const GetVisiumQcInfoDocument = gql` + query GetVisiumQCInfo { + comments(includeDisabled: false, category: "Visium QC") { + ...CommentFields + } +} + ${CommentFieldsFragmentDoc}`; +export const GetStainReagentTypesDocument = gql` + query GetStainReagentTypes { + stainReagentTypes { + ...CommentFields + } +} + ${CommentFieldsFragmentDoc}`; +export const GetStainingQcInfoDocument = gql` + query GetStainingQCInfo { + comments(includeDisabled: false, category: "stain QC") { + ...CommentFields + } +} + ${CommentFieldsFragmentDoc}`; +export const GetWorkProgressInputsDocument = gql` + query GetWorkProgressInputs { + workTypes(includeDisabled: true) { + name + } + programs(includeDisabled: true) { + name + } + releaseRecipients(includeDisabled: true) { + username + } +} + `; +export const FindWorksCreatedByDocument = gql` + query FindWorksCreatedBy($username: String!) { + worksCreatedBy(username: $username) { + ...WorkFields + } +} + ${WorkFieldsFragmentDoc} +${ReleaseRecipientFieldsFragmentDoc} +${ProjectFieldsFragmentDoc} +${ProgramFieldsFragmentDoc} +${CostCodeFieldsFragmentDoc} +${WorkTypeFieldsFragmentDoc} +${OmeroProjectFieldsFragmentDoc} +${DnapStudyFieldsFragmentDoc}`; +export const GetWorkSummaryDocument = gql` + query GetWorkSummary { + worksSummary { + workSummaryGroups { + ...WorkSummaryGroupFields + } + workTypes { + name + } + } +} + ${WorkSummaryGroupFieldsFragmentDoc} +${WorkTypeFieldsFragmentDoc}`; +export const GetWorkTypesDocument = gql` + query GetWorkTypes { + workTypes(includeDisabled: true) { name - enabled } } `; +export const GetXeniumQcInfoDocument = gql` + query GetXeniumQCInfo { + comments(includeDisabled: false, category: "Xenium analyser QC") { + ...CommentFields + } +} + ${CommentFieldsFragmentDoc}`; export const GetWorkAllocationInfoDocument = gql` query GetWorkAllocationInfo($commentCategory: String!, $workStatuses: [WorkStatus!]) { projects(includeDisabled: false) { @@ -6661,47 +6710,6 @@ ${WorkTypeFieldsFragmentDoc} ${OmeroProjectFieldsFragmentDoc} ${DnapStudyFieldsFragmentDoc} ${CommentFieldsFragmentDoc}`; -export const GetSolutionTransferInfoDocument = gql` - query GetSolutionTransferInfo { - solutions { - name - } -} - `; -export const GetWorkNumbersDocument = gql` - query GetWorkNumbers { - works { - workNumber - } -} - `; -export const GetWorkSummaryDocument = gql` - query GetWorkSummary { - worksSummary { - workSummaryGroups { - ...WorkSummaryGroupFields - } - workTypes { - name - } - } -} - ${WorkSummaryGroupFieldsFragmentDoc} -${WorkTypeFieldsFragmentDoc}`; -export const GetWorkTypesDocument = gql` - query GetWorkTypes { - workTypes(includeDisabled: true) { - name - } -} - `; -export const GetXeniumQcInfoDocument = gql` - query GetXeniumQCInfo { - comments(includeDisabled: false, category: "Xenium analyser QC") { - ...CommentFields - } -} - ${CommentFieldsFragmentDoc}`; export const AddCommentDocument = gql` mutation AddComment($category: String!, $text: String!) { addComment(category: $category, text: $text) { @@ -6723,34 +6731,13 @@ export const AddCostCodeDocument = gql` } } ${CostCodeFieldsFragmentDoc}`; -export const GetWorkProgressInputsDocument = gql` - query GetWorkProgressInputs { - workTypes(includeDisabled: true) { - name - } - programs(includeDisabled: true) { - name - } - releaseRecipients(includeDisabled: true) { - username - } -} - `; -export const AddExternalIdDocument = gql` - mutation AddExternalID($request: AddExternalIDRequest!) { - addExternalID(request: $request) { - operations { - operationType { - name - } - user { - username - } - performed - } +export const AddEquipmentDocument = gql` + mutation AddEquipment($category: String!, $name: String!) { + addEquipment(category: $category, name: $name) { + ...EquipmentFields } } - `; + ${EquipmentFieldsFragmentDoc}`; export const AddFixativeDocument = gql` mutation AddFixative($name: String!) { addFixative(name: $name) { @@ -6765,13 +6752,13 @@ export const AddDestructionReasonDocument = gql` } } ${DestructionReasonFieldsFragmentDoc}`; -export const AddOmeroProjectDocument = gql` - mutation AddOmeroProject($name: String!) { - addOmeroProject(name: $name) { - ...OmeroProjectFields +export const AddProjectDocument = gql` + mutation AddProject($name: String!) { + addProject(name: $name) { + ...ProjectFields } } - ${OmeroProjectFieldsFragmentDoc}`; + ${ProjectFieldsFragmentDoc}`; export const AddHmdmcDocument = gql` mutation AddHmdmc($hmdmc: String!) { addHmdmc(hmdmc: $hmdmc) { @@ -6779,13 +6766,13 @@ export const AddHmdmcDocument = gql` } } ${HmdmcFieldsFragmentDoc}`; -export const AddProbePanelDocument = gql` - mutation AddProbePanel($name: String!) { - addProbePanel(name: $name) { - ...ProbePanelFields +export const AddOmeroProjectDocument = gql` + mutation AddOmeroProject($name: String!) { + addOmeroProject(name: $name) { + ...OmeroProjectFields } } - ${ProbePanelFieldsFragmentDoc}`; + ${OmeroProjectFieldsFragmentDoc}`; export const AddProgramDocument = gql` mutation AddProgram($name: String!) { addProgram(name: $name) { @@ -6800,13 +6787,13 @@ export const AddSlotRegionDocument = gql` } } ${SlotRegionFieldsFragmentDoc}`; -export const AddProjectDocument = gql` - mutation AddProject($name: String!) { - addProject(name: $name) { - ...ProjectFields +export const AddSolutionDocument = gql` + mutation AddSolution($name: String!) { + addSolution(name: $name) { + ...SolutionFields } } - ${ProjectFieldsFragmentDoc}`; + ${SolutionFieldsFragmentDoc}`; export const AddReleaseDestinationDocument = gql` mutation AddReleaseDestination($name: String!) { addReleaseDestination(name: $name) { @@ -6814,20 +6801,28 @@ export const AddReleaseDestinationDocument = gql` } } ${ReleaseDestinationFieldsFragmentDoc}`; -export const AddSolutionDocument = gql` - mutation AddSolution($name: String!) { - addSolution(name: $name) { - ...SolutionFields +export const AddExternalIdDocument = gql` + mutation AddExternalID($request: AddExternalIDRequest!) { + addExternalID(request: $request) { + operations { + operationType { + name + } + user { + username + } + performed + } } } - ${SolutionFieldsFragmentDoc}`; -export const AddReleaseRecipientDocument = gql` - mutation AddReleaseRecipient($username: String!, $fullName: String) { - addReleaseRecipient(username: $username, fullName: $fullName) { - ...ReleaseRecipientFields + `; +export const AddWorkTypeDocument = gql` + mutation AddWorkType($name: String!) { + addWorkType(name: $name) { + ...WorkTypeFields } } - ${ReleaseRecipientFieldsFragmentDoc}`; + ${WorkTypeFieldsFragmentDoc}`; export const AddSpeciesDocument = gql` mutation AddSpecies($name: String!) { addSpecies(name: $name) { @@ -6835,6 +6830,13 @@ export const AddSpeciesDocument = gql` } } ${SpeciesFieldsFragmentDoc}`; +export const AddReleaseRecipientDocument = gql` + mutation AddReleaseRecipient($username: String!, $fullName: String) { + addReleaseRecipient(username: $username, fullName: $fullName) { + ...ReleaseRecipientFields + } +} + ${ReleaseRecipientFieldsFragmentDoc}`; export const AddUserDocument = gql` mutation AddUser($username: String!) { addUser(username: $username) { @@ -6842,9 +6844,9 @@ export const AddUserDocument = gql` } } ${UserFieldsFragmentDoc}`; -export const AliquotDocument = gql` - mutation Aliquot($request: AliquotRequest!) { - aliquot(request: $request) { +export const ConfirmSectionDocument = gql` + mutation ConfirmSection($request: ConfirmSectionRequest!) { + confirmSection(request: $request) { labware { ...LabwareFields } @@ -6852,22 +6854,10 @@ export const AliquotDocument = gql` operationType { name } - actions { - sample { - id - } - source { - address - labwareId - samples { - id - } - } - destination { - address - labwareId - } + user { + username } + performed } } } @@ -6875,16 +6865,9 @@ export const AliquotDocument = gql` ${LabwareTypeFieldsFragmentDoc} ${SlotFieldsFragmentDoc} ${SampleFieldsFragmentDoc}`; -export const AddWorkTypeDocument = gql` - mutation AddWorkType($name: String!) { - addWorkType(name: $name) { - ...WorkTypeFields - } -} - ${WorkTypeFieldsFragmentDoc}`; -export const ConfirmSectionDocument = gql` - mutation ConfirmSection($request: ConfirmSectionRequest!) { - confirmSection(request: $request) { +export const ConfirmDocument = gql` + mutation Confirm($request: ConfirmOperationRequest!) { + confirmOperation(request: $request) { labware { ...LabwareFields } @@ -6903,9 +6886,9 @@ export const ConfirmSectionDocument = gql` ${LabwareTypeFieldsFragmentDoc} ${SlotFieldsFragmentDoc} ${SampleFieldsFragmentDoc}`; -export const ConfirmDocument = gql` - mutation Confirm($request: ConfirmOperationRequest!) { - confirmOperation(request: $request) { +export const AliquotDocument = gql` + mutation Aliquot($request: AliquotRequest!) { + aliquot(request: $request) { labware { ...LabwareFields } @@ -6913,10 +6896,22 @@ export const ConfirmDocument = gql` operationType { name } - user { - username + actions { + sample { + id + } + source { + address + labwareId + samples { + id + } + } + destination { + address + labwareId + } } - performed } } } @@ -6924,6 +6919,24 @@ export const ConfirmDocument = gql` ${LabwareTypeFieldsFragmentDoc} ${SlotFieldsFragmentDoc} ${SampleFieldsFragmentDoc}`; +export const EmptyLocationDocument = gql` + mutation EmptyLocation($barcode: String!) { + empty(locationBarcode: $barcode) { + numUnstored + } +} + `; +export const DestroyDocument = gql` + mutation Destroy($request: DestroyRequest!) { + destroy(request: $request) { + destructions { + labware { + barcode + } + } + } +} + `; 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, $ssStudyId: Int) { createWork( @@ -6950,40 +6963,20 @@ ${CostCodeFieldsFragmentDoc} ${WorkTypeFieldsFragmentDoc} ${OmeroProjectFieldsFragmentDoc} ${DnapStudyFieldsFragmentDoc}`; -export const DestroyDocument = gql` - mutation Destroy($request: DestroyRequest!) { - destroy(request: $request) { - destructions { - labware { - barcode - } - } - } -} - `; -export const AddEquipmentDocument = gql` - mutation AddEquipment($category: String!, $name: String!) { - addEquipment(category: $category, name: $name) { - ...EquipmentFields - } -} - ${EquipmentFieldsFragmentDoc}`; -export const EmptyLocationDocument = gql` - mutation EmptyLocation($barcode: String!) { - empty(locationBarcode: $barcode) { - numUnstored - } +export const LogoutDocument = gql` + mutation Logout { + logout } `; -export const FlagLabwareDocument = gql` - mutation FlagLabware($request: FlagLabwareRequest!) { - flagLabware(request: $request) { - operations { - id +export const LoginDocument = gql` + mutation Login($username: String!, $password: String!) { + login(username: $username, password: $password) { + user { + ...UserFields } } } - `; + ${UserFieldsFragmentDoc}`; export const ExtractDocument = gql` mutation Extract($request: ExtractRequest!) { extract(request: $request) { @@ -7017,41 +7010,6 @@ export const ExtractDocument = gql` ${LabwareTypeFieldsFragmentDoc} ${SlotFieldsFragmentDoc} ${SampleFieldsFragmentDoc}`; -export const LoginDocument = gql` - mutation Login($username: String!, $password: String!) { - login(username: $username, password: $password) { - user { - ...UserFields - } - } -} - ${UserFieldsFragmentDoc}`; -export const PerformParaffinProcessingDocument = gql` - mutation PerformParaffinProcessing($request: ParaffinProcessingRequest!) { - performParaffinProcessing(request: $request) { - labware { - ...LabwareFields - } - operations { - operationType { - name - } - user { - username - } - performed - } - } -} - ${LabwareFieldsFragmentDoc} -${LabwareTypeFieldsFragmentDoc} -${SlotFieldsFragmentDoc} -${SampleFieldsFragmentDoc}`; -export const LogoutDocument = gql` - mutation Logout { - logout -} - `; export const PerformTissueBlockDocument = gql` mutation PerformTissueBlock($request: TissueBlockRequest!) { performTissueBlock(request: $request) { @@ -7094,6 +7052,15 @@ export const PerformSolutionTransferDocument = gql` ${LabwareTypeFieldsFragmentDoc} ${SlotFieldsFragmentDoc} ${SampleFieldsFragmentDoc}`; +export const FlagLabwareDocument = gql` + mutation FlagLabware($request: FlagLabwareRequest!) { + flagLabware(request: $request) { + operations { + id + } + } +} + `; export const PlanDocument = gql` mutation Plan($request: PlanRequest!) { plan(request: $request) { @@ -7115,45 +7082,30 @@ ${LabwareTypeFieldsFragmentDoc} ${SlotFieldsFragmentDoc} ${SampleFieldsFragmentDoc} ${PlanActionFieldsFragmentDoc}`; -export const RecordAnalyserDocument = gql` - mutation RecordAnalyser($request: AnalyserRequest!) { - recordAnalyser(request: $request) { - operations { - id - } - } -} - `; -export const ReactivateLabwareDocument = gql` - mutation ReactivateLabware($items: [ReactivateLabware!]!) { - reactivateLabware(items: $items) { +export const PerformTissuePotDocument = gql` + mutation PerformTissuePot($request: PotProcessingRequest!) { + performPotProcessing(request: $request) { labware { - barcode - state - } - operations { - id + ...LabwareFields } - } -} - `; -export const PrintDocument = gql` - mutation Print($barcodes: [String!]!, $printer: String!) { - printLabware(barcodes: $barcodes, printer: $printer) -} - `; -export const RecordExtractResultDocument = gql` - mutation RecordExtractResult($request: ExtractResultRequest!) { - recordExtractResult(request: $request) { operations { - id + operationType { + name + } + user { + username + } + performed } } } - `; -export const PerformTissuePotDocument = gql` - mutation PerformTissuePot($request: PotProcessingRequest!) { - performPotProcessing(request: $request) { + ${LabwareFieldsFragmentDoc} +${LabwareTypeFieldsFragmentDoc} +${SlotFieldsFragmentDoc} +${SampleFieldsFragmentDoc}`; +export const PerformParaffinProcessingDocument = gql` + mutation PerformParaffinProcessing($request: ParaffinProcessingRequest!) { + performParaffinProcessing(request: $request) { labware { ...LabwareFields } @@ -7172,9 +7124,32 @@ export const PerformTissuePotDocument = gql` ${LabwareTypeFieldsFragmentDoc} ${SlotFieldsFragmentDoc} ${SampleFieldsFragmentDoc}`; -export const RecordCompletionDocument = gql` - mutation RecordCompletion($request: CompletionRequest!) { - recordCompletion(request: $request) { +export const PrintDocument = gql` + mutation Print($barcodes: [String!]!, $printer: String!) { + printLabware(barcodes: $barcodes, printer: $printer) +} + `; +export const RecordAnalyserDocument = gql` + mutation RecordAnalyser($request: AnalyserRequest!) { + recordAnalyser(request: $request) { + operations { + id + } + } +} + `; +export const RecordComplexStainDocument = gql` + mutation RecordComplexStain($request: ComplexStainRequest!) { + recordComplexStain(request: $request) { + operations { + id + } + } +} + `; +export const RecordExtractResultDocument = gql` + mutation RecordExtractResult($request: ExtractResultRequest!) { + recordExtractResult(request: $request) { operations { id } @@ -7205,18 +7180,22 @@ export const RecordLibraryPrepDocument = gql` ${LabwareTypeFieldsFragmentDoc} ${SlotFieldsFragmentDoc} ${SampleFieldsFragmentDoc}`; -export const RecordComplexStainDocument = gql` - mutation RecordComplexStain($request: ComplexStainRequest!) { - recordComplexStain(request: $request) { +export const ReactivateLabwareDocument = gql` + mutation ReactivateLabware($items: [ReactivateLabware!]!) { + reactivateLabware(items: $items) { + labware { + barcode + state + } operations { id } } } `; -export const RecordOpWithSlotCommentsDocument = gql` - mutation RecordOpWithSlotComments($request: OpWithSlotCommentsRequest!) { - recordOpWithSlotComments(request: $request) { +export const RecordCompletionDocument = gql` + mutation RecordCompletion($request: CompletionRequest!) { + recordCompletion(request: $request) { operations { id } @@ -7253,18 +7232,18 @@ export const RecordOrientationQcDocument = gql` } } `; -export const RecordPermDocument = gql` - mutation RecordPerm($request: RecordPermRequest!) { - recordPerm(request: $request) { +export const RecordOpWithSlotCommentsDocument = gql` + mutation RecordOpWithSlotComments($request: OpWithSlotCommentsRequest!) { + recordOpWithSlotComments(request: $request) { operations { id } } } `; -export const RecordProbeOperationDocument = gql` - mutation RecordProbeOperation($request: ProbeOperationRequest!) { - recordProbeOperation(request: $request) { +export const RecordPermDocument = gql` + mutation RecordPerm($request: RecordPermRequest!) { + recordPerm(request: $request) { operations { id } @@ -7289,18 +7268,9 @@ export const RecordReagentTransferDocument = gql` } } `; -export const RecordStainResultDocument = gql` - mutation RecordStainResult($request: ResultRequest!) { - recordStainResult(request: $request) { - operations { - id - } - } -} - `; -export const RecordVisiumQcDocument = gql` - mutation RecordVisiumQC($request: ResultRequest!) { - recordVisiumQC(request: $request) { +export const RecordProbeOperationDocument = gql` + mutation RecordProbeOperation($request: ProbeOperationRequest!) { + recordProbeOperation(request: $request) { operations { id } @@ -7337,6 +7307,35 @@ export const RecordSampleProcessingCommentsDocument = gql` ${LabwareTypeFieldsFragmentDoc} ${SlotFieldsFragmentDoc} ${SampleFieldsFragmentDoc}`; +export const RecordStainResultDocument = gql` + mutation RecordStainResult($request: ResultRequest!) { + recordStainResult(request: $request) { + operations { + id + } + } +} + `; +export const RecordVisiumQcDocument = gql` + mutation RecordVisiumQC($request: ResultRequest!) { + recordVisiumQC(request: $request) { + operations { + id + } + } +} + `; +export const RegisterOriginalSamplesDocument = gql` + mutation RegisterOriginalSamples($request: OriginalSampleRegisterRequest!) { + registerOriginalSamples(request: $request) { + ...RegisterResultFields + } +} + ${RegisterResultFieldsFragmentDoc} +${LabwareFieldsFragmentDoc} +${LabwareTypeFieldsFragmentDoc} +${SlotFieldsFragmentDoc} +${SampleFieldsFragmentDoc}`; export const RegisterTissuesDocument = gql` mutation RegisterTissues($request: RegisterRequest!) { register(request: $request) { @@ -7369,17 +7368,13 @@ export const RegisterSectionsDocument = gql` ${LabwareTypeFieldsFragmentDoc} ${SlotFieldsFragmentDoc} ${SampleFieldsFragmentDoc}`; -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) { @@ -7398,6 +7393,13 @@ export const ReleaseLabwareDocument = gql` } } `; +export const SetCostCodeEnabledDocument = gql` + mutation SetCostCodeEnabled($code: String!, $enabled: Boolean!) { + setCostCodeEnabled(code: $code, enabled: $enabled) { + ...CostCodeFields + } +} + ${CostCodeFieldsFragmentDoc}`; export const SegmentationDocument = gql` mutation Segmentation($request: SegmentationRequest!) { segmentation(request: $request) { @@ -7413,27 +7415,13 @@ export const SegmentationDocument = gql` ${LabwareTypeFieldsFragmentDoc} ${SlotFieldsFragmentDoc} ${SampleFieldsFragmentDoc}`; -export const SetCommentEnabledDocument = gql` - mutation SetCommentEnabled($commentId: Int!, $enabled: Boolean!) { - setCommentEnabled(commentId: $commentId, enabled: $enabled) { - ...CommentFields - } -} - ${CommentFieldsFragmentDoc}`; -export const SetDestructionReasonEnabledDocument = gql` - mutation SetDestructionReasonEnabled($text: String!, $enabled: Boolean!) { - setDestructionReasonEnabled(text: $text, enabled: $enabled) { - ...DestructionReasonFields - } -} - ${DestructionReasonFieldsFragmentDoc}`; -export const SetBioRiskEnabledDocument = gql` - mutation SetBioRiskEnabled($code: String!, $enabled: Boolean!) { - setBioRiskEnabled(code: $code, enabled: $enabled) { - ...BioRiskFields +export const SetHmdmcEnabledDocument = gql` + mutation SetHmdmcEnabled($hmdmc: String!, $enabled: Boolean!) { + setHmdmcEnabled(hmdmc: $hmdmc, enabled: $enabled) { + ...HmdmcFields } } - ${BioRiskFieldsFragmentDoc}`; + ${HmdmcFieldsFragmentDoc}`; export const SetEquipmentEnabledDocument = gql` mutation SetEquipmentEnabled($equipmentId: Int!, $enabled: Boolean!) { setEquipmentEnabled(equipmentId: $equipmentId, enabled: $enabled) { @@ -7441,27 +7429,20 @@ export const SetEquipmentEnabledDocument = gql` } } ${EquipmentFieldsFragmentDoc}`; -export const SetCostCodeEnabledDocument = gql` - mutation SetCostCodeEnabled($code: String!, $enabled: Boolean!) { - setCostCodeEnabled(code: $code, enabled: $enabled) { - ...CostCodeFields - } -} - ${CostCodeFieldsFragmentDoc}`; -export const SetHmdmcEnabledDocument = gql` - mutation SetHmdmcEnabled($hmdmc: String!, $enabled: Boolean!) { - setHmdmcEnabled(hmdmc: $hmdmc, enabled: $enabled) { - ...HmdmcFields +export const SetBioRiskEnabledDocument = gql` + mutation SetBioRiskEnabled($code: String!, $enabled: Boolean!) { + setBioRiskEnabled(code: $code, enabled: $enabled) { + ...BioRiskFields } } - ${HmdmcFieldsFragmentDoc}`; -export const SetProbePanelEnabledDocument = gql` - mutation SetProbePanelEnabled($name: String!, $enabled: Boolean!) { - setProbePanelEnabled(name: $name, enabled: $enabled) { - ...ProbePanelFields + ${BioRiskFieldsFragmentDoc}`; +export const SetFixativeEnabledDocument = gql` + mutation SetFixativeEnabled($name: String!, $enabled: Boolean!) { + setFixativeEnabled(name: $name, enabled: $enabled) { + ...FixativeFields } } - ${ProbePanelFieldsFragmentDoc}`; + ${FixativeFieldsFragmentDoc}`; export const SetLocationCustomNameDocument = gql` mutation SetLocationCustomName($locationBarcode: String!, $newCustomName: String!) { setLocationCustomName( @@ -7480,13 +7461,13 @@ export const SetOmeroProjectEnabledDocument = gql` } } ${OmeroProjectFieldsFragmentDoc}`; -export const SetReleaseRecipientEnabledDocument = gql` - mutation SetReleaseRecipientEnabled($username: String!, $enabled: Boolean!) { - setReleaseRecipientEnabled(username: $username, enabled: $enabled) { - ...ReleaseRecipientFields +export const SetDestructionReasonEnabledDocument = gql` + mutation SetDestructionReasonEnabled($text: String!, $enabled: Boolean!) { + setDestructionReasonEnabled(text: $text, enabled: $enabled) { + ...DestructionReasonFields } } - ${ReleaseRecipientFieldsFragmentDoc}`; + ${DestructionReasonFieldsFragmentDoc}`; export const SetProjectEnabledDocument = gql` mutation SetProjectEnabled($name: String!, $enabled: Boolean!) { setProjectEnabled(name: $name, enabled: $enabled) { @@ -7494,13 +7475,20 @@ export const SetProjectEnabledDocument = gql` } } ${ProjectFieldsFragmentDoc}`; -export const SetFixativeEnabledDocument = gql` - mutation SetFixativeEnabled($name: String!, $enabled: Boolean!) { - setFixativeEnabled(name: $name, enabled: $enabled) { - ...FixativeFields +export const SetProbePanelEnabledDocument = gql` + mutation SetProbePanelEnabled($name: String!, $enabled: Boolean!) { + setProbePanelEnabled(name: $name, enabled: $enabled) { + ...ProbePanelFields } } - ${FixativeFieldsFragmentDoc}`; + ${ProbePanelFieldsFragmentDoc}`; +export const SetProgramEnabledDocument = gql` + mutation SetProgramEnabled($name: String!, $enabled: Boolean!) { + setProgramEnabled(name: $name, enabled: $enabled) { + ...ProgramFields + } +} + ${ProgramFieldsFragmentDoc}`; export const SetReleaseDestinationEnabledDocument = gql` mutation SetReleaseDestinationEnabled($name: String!, $enabled: Boolean!) { setReleaseDestinationEnabled(name: $name, enabled: $enabled) { @@ -7515,13 +7503,6 @@ export const SetSolutionEnabledDocument = gql` } } ${SolutionFieldsFragmentDoc}`; -export const SetProgramEnabledDocument = gql` - mutation SetProgramEnabled($name: String!, $enabled: Boolean!) { - setProgramEnabled(name: $name, enabled: $enabled) { - ...ProgramFields - } -} - ${ProgramFieldsFragmentDoc}`; export const SetSpeciesEnabledDocument = gql` mutation SetSpeciesEnabled($name: String!, $enabled: Boolean!) { setSpeciesEnabled(name: $name, enabled: $enabled) { @@ -7536,14 +7517,20 @@ export const SetSlotRegionEnabledDocument = gql` } } ${SlotRegionFieldsFragmentDoc}`; -export const StoreDocument = gql` - mutation Store($store: [StoreInput!]!, $locationBarcode: String!) { - store(store: $store, locationBarcode: $locationBarcode) { - ...LocationFields +export const SetReleaseRecipientEnabledDocument = gql` + mutation SetReleaseRecipientEnabled($username: String!, $enabled: Boolean!) { + setReleaseRecipientEnabled(username: $username, enabled: $enabled) { + ...ReleaseRecipientFields } } - ${LocationFieldsFragmentDoc} -${LinkedLocationFieldsFragmentDoc}`; + ${ReleaseRecipientFieldsFragmentDoc}`; +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) { @@ -7563,14 +7550,6 @@ export const SlotCopyDocument = gql` ${LabwareTypeFieldsFragmentDoc} ${SlotFieldsFragmentDoc} ${SampleFieldsFragmentDoc}`; -export const TransferLocationItemsDocument = gql` - mutation TransferLocationItems($sourceBarcode: String!, $destinationBarcode: String!) { - transfer(sourceBarcode: $sourceBarcode, destinationBarcode: $destinationBarcode) { - ...LocationFields - } -} - ${LocationFieldsFragmentDoc} -${LinkedLocationFieldsFragmentDoc}`; export const StainDocument = gql` mutation Stain($request: StainRequest!) { stain(request: $request) { @@ -7587,34 +7566,21 @@ export const StoreBarcodeDocument = gql` locationBarcode: $locationBarcode address: $address ) { - location { - ...LocationFields - } - } -} - ${LocationFieldsFragmentDoc} -${LinkedLocationFieldsFragmentDoc}`; -export const SetUserRoleDocument = gql` - mutation SetUserRole($username: String!, $role: UserRole!) { - setUserRole(username: $username, role: $role) { - ...UserFields + location { + ...LocationFields + } } } - ${UserFieldsFragmentDoc}`; -export const UpdateWorkDnapStudyDocument = gql` - mutation UpdateWorkDnapStudy($workNumber: String!, $ssStudyId: Int) { - updateWorkDnapStudy(workNumber: $workNumber, ssStudyId: $ssStudyId) { - ...WorkFields + ${LocationFieldsFragmentDoc} +${LinkedLocationFieldsFragmentDoc}`; +export const StoreDocument = gql` + mutation Store($store: [StoreInput!]!, $locationBarcode: String!) { + store(store: $store, locationBarcode: $locationBarcode) { + ...LocationFields } } - ${WorkFieldsFragmentDoc} -${ReleaseRecipientFieldsFragmentDoc} -${ProjectFieldsFragmentDoc} -${ProgramFieldsFragmentDoc} -${CostCodeFieldsFragmentDoc} -${WorkTypeFieldsFragmentDoc} -${OmeroProjectFieldsFragmentDoc} -${DnapStudyFieldsFragmentDoc}`; + ${LocationFieldsFragmentDoc} +${LinkedLocationFieldsFragmentDoc}`; export const UnreleaseDocument = gql` mutation Unrelease($request: UnreleaseRequest!) { unrelease(request: $request) { @@ -7624,13 +7590,22 @@ export const UnreleaseDocument = gql` } } `; -export const UpdateReleaseRecipientFullNameDocument = gql` - mutation UpdateReleaseRecipientFullName($username: String!, $fullName: String) { - updateReleaseRecipientFullName(username: $username, fullName: $fullName) { - ...ReleaseRecipientFields +export const TransferLocationItemsDocument = gql` + mutation TransferLocationItems($sourceBarcode: String!, $destinationBarcode: String!) { + transfer(sourceBarcode: $sourceBarcode, destinationBarcode: $destinationBarcode) { + ...LocationFields } } - ${ReleaseRecipientFieldsFragmentDoc}`; + ${LocationFieldsFragmentDoc} +${LinkedLocationFieldsFragmentDoc}`; +export const UnstoreBarcodeDocument = gql` + mutation UnstoreBarcode($barcode: String!) { + unstoreBarcode(barcode: $barcode) { + barcode + address + } +} + `; export const UpdateWorkNumBlocksDocument = gql` mutation UpdateWorkNumBlocks($workNumber: String!, $numBlocks: Int) { updateWorkNumBlocks(workNumber: $workNumber, numBlocks: $numBlocks) { @@ -7645,12 +7620,9 @@ ${CostCodeFieldsFragmentDoc} ${WorkTypeFieldsFragmentDoc} ${OmeroProjectFieldsFragmentDoc} ${DnapStudyFieldsFragmentDoc}`; -export const UpdateWorkNumOriginalSamplesDocument = gql` - mutation UpdateWorkNumOriginalSamples($workNumber: String!, $numOriginalSamples: Int) { - updateWorkNumOriginalSamples( - workNumber: $workNumber - numOriginalSamples: $numOriginalSamples - ) { +export const UpdateWorkDnapStudyDocument = gql` + mutation UpdateWorkDnapStudy($workNumber: String!, $ssStudyId: Int) { + updateWorkDnapStudy(workNumber: $workNumber, ssStudyId: $ssStudyId) { ...WorkFields } } @@ -7662,18 +7634,25 @@ ${CostCodeFieldsFragmentDoc} ${WorkTypeFieldsFragmentDoc} ${OmeroProjectFieldsFragmentDoc} ${DnapStudyFieldsFragmentDoc}`; -export const UpdateWorkStatusDocument = gql` - mutation UpdateWorkStatus($workNumber: String!, $status: WorkStatus!, $commentId: Int) { - updateWorkStatus( +export const UpdateDnapStudiesDocument = gql` + mutation UpdateDnapStudies { + updateDnapStudies { + ssId + name + enabled + } +} + `; +export const UpdateWorkNumOriginalSamplesDocument = gql` + mutation UpdateWorkNumOriginalSamples($workNumber: String!, $numOriginalSamples: Int) { + updateWorkNumOriginalSamples( workNumber: $workNumber - status: $status - commentId: $commentId + numOriginalSamples: $numOriginalSamples ) { - ...WorkWithCommentFields + ...WorkFields } } - ${WorkWithCommentFieldsFragmentDoc} -${WorkFieldsFragmentDoc} + ${WorkFieldsFragmentDoc} ${ReleaseRecipientFieldsFragmentDoc} ${ProjectFieldsFragmentDoc} ${ProgramFieldsFragmentDoc} @@ -7681,23 +7660,6 @@ ${CostCodeFieldsFragmentDoc} ${WorkTypeFieldsFragmentDoc} ${OmeroProjectFieldsFragmentDoc} ${DnapStudyFieldsFragmentDoc}`; -export const UnstoreBarcodeDocument = gql` - mutation UnstoreBarcode($barcode: String!) { - unstoreBarcode(barcode: $barcode) { - barcode - address - } -} - `; -export const UpdateDnapStudiesDocument = gql` - mutation UpdateDnapStudies { - updateDnapStudies { - ssId - name - enabled - } -} - `; export const UpdateWorkNumSlidesDocument = gql` mutation UpdateWorkNumSlides($workNumber: String!, $numSlides: Int) { updateWorkNumSlides(workNumber: $workNumber, numSlides: $numSlides) { @@ -7740,6 +7702,25 @@ ${CostCodeFieldsFragmentDoc} ${WorkTypeFieldsFragmentDoc} ${OmeroProjectFieldsFragmentDoc} ${DnapStudyFieldsFragmentDoc}`; +export const UpdateWorkStatusDocument = gql` + mutation UpdateWorkStatus($workNumber: String!, $status: WorkStatus!, $commentId: Int) { + updateWorkStatus( + workNumber: $workNumber + status: $status + commentId: $commentId + ) { + ...WorkWithCommentFields + } +} + ${WorkWithCommentFieldsFragmentDoc} +${WorkFieldsFragmentDoc} +${ReleaseRecipientFieldsFragmentDoc} +${ProjectFieldsFragmentDoc} +${ProgramFieldsFragmentDoc} +${CostCodeFieldsFragmentDoc} +${WorkTypeFieldsFragmentDoc} +${OmeroProjectFieldsFragmentDoc} +${DnapStudyFieldsFragmentDoc}`; export const VisiumAnalysisDocument = gql` mutation VisiumAnalysis($request: VisiumAnalysisRequest!) { visiumAnalysis(request: $request) { @@ -7749,6 +7730,13 @@ export const VisiumAnalysisDocument = gql` } } `; +export const UpdateReleaseRecipientFullNameDocument = gql` + mutation UpdateReleaseRecipientFullName($username: String!, $fullName: String) { + updateReleaseRecipientFullName(username: $username, fullName: $fullName) { + ...ReleaseRecipientFields + } +} + ${ReleaseRecipientFieldsFragmentDoc}`; export const CleanOutDocument = gql` mutation CleanOut($request: CleanOutRequest!) { cleanOut(request: $request) { @@ -7758,6 +7746,20 @@ export const CleanOutDocument = gql` } } `; +export const GetWorkNumbersDocument = gql` + query GetWorkNumbers { + works { + workNumber + } +} + `; +export const AddProbePanelDocument = gql` + mutation AddProbePanel($name: String!) { + addProbePanel(name: $name) { + ...ProbePanelFields + } +} + ${ProbePanelFieldsFragmentDoc}`; export type SdkFunctionWrapper = (action: (requestHeaders?:Record) => Promise, operationName: string, operationType?: string, variables?: any) => Promise; @@ -7766,32 +7768,29 @@ const defaultWrapper: SdkFunctionWrapper = (action, _operationName, _operationTy export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper = defaultWrapper) { return { + ExtractResult(variables: ExtractResultQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(ExtractResultDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'ExtractResult', 'query', variables); + }, CurrentUser(variables?: CurrentUserQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(CurrentUserDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'CurrentUser', 'query', variables); }, FindFiles(variables: FindFilesQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(FindFilesDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindFiles', 'query', variables); }, - ExtractResult(variables: ExtractResultQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(ExtractResultDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'ExtractResult', 'query', variables); + FindHistoryForDonorName(variables: FindHistoryForDonorNameQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(FindHistoryForDonorNameDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindHistoryForDonorName', 'query', variables); }, Find(variables: FindQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(FindDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'Find', 'query', variables); }, - FindHistory(variables?: FindHistoryQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(FindHistoryDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindHistory', 'query', variables); - }, - FindHistoryForLabwareBarcode(variables: FindHistoryForLabwareBarcodeQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(FindHistoryForLabwareBarcodeDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindHistoryForLabwareBarcode', 'query', variables); - }, - FindHistoryForDonorName(variables: FindHistoryForDonorNameQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(FindHistoryForDonorNameDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindHistoryForDonorName', 'query', variables); + FindHistoryForExternalName(variables: FindHistoryForExternalNameQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(FindHistoryForExternalNameDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindHistoryForExternalName', 'query', variables); }, FindFlaggedLabware(variables: FindFlaggedLabwareQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(FindFlaggedLabwareDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindFlaggedLabware', 'query', variables); }, - FindHistoryForExternalName(variables: FindHistoryForExternalNameQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(FindHistoryForExternalNameDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindHistoryForExternalName', 'query', variables); + FindHistoryForLabwareBarcode(variables: FindHistoryForLabwareBarcodeQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(FindHistoryForLabwareBarcodeDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindHistoryForLabwareBarcode', 'query', variables); }, FindHistoryForWorkNumber(variables: FindHistoryForWorkNumberQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(FindHistoryForWorkNumberDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindHistoryForWorkNumber', 'query', variables); @@ -7799,33 +7798,36 @@ export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper = FindHistoryForSampleId(variables: FindHistoryForSampleIdQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(FindHistoryForSampleIdDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindHistoryForSampleId', 'query', variables); }, + FindLabware(variables: FindLabwareQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(FindLabwareDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindLabware', 'query', variables); + }, + FindHistory(variables?: FindHistoryQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(FindHistoryDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindHistory', 'query', variables); + }, FindLabwareLocation(variables: FindLabwareLocationQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(FindLabwareLocationDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindLabwareLocation', 'query', variables); }, - FindLatestOperation(variables: FindLatestOperationQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(FindLatestOperationDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindLatestOperation', 'query', variables); - }, FindHistoryGraph(variables?: FindHistoryGraphQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(FindHistoryGraphDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindHistoryGraph', 'query', variables); }, - FindMeasurementByBarcodeAndName(variables: FindMeasurementByBarcodeAndNameQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(FindMeasurementByBarcodeAndNameDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindMeasurementByBarcodeAndName', 'query', variables); - }, - FindLocationByBarcode(variables: FindLocationByBarcodeQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(FindLocationByBarcodeDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindLocationByBarcode', 'query', variables); + FindLatestOperation(variables: FindLatestOperationQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(FindLatestOperationDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindLatestOperation', 'query', variables); }, FindPermData(variables: FindPermDataQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(FindPermDataDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindPermData', 'query', variables); }, + FindLocationByBarcode(variables: FindLocationByBarcodeQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(FindLocationByBarcodeDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindLocationByBarcode', 'query', variables); + }, FindPassFails(variables: FindPassFailsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(FindPassFailsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindPassFails', 'query', variables); }, + FindMeasurementByBarcodeAndName(variables: FindMeasurementByBarcodeAndNameQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(FindMeasurementByBarcodeAndNameDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindMeasurementByBarcodeAndName', 'query', variables); + }, FindReagentPlate(variables: FindReagentPlateQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(FindReagentPlateDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindReagentPlate', 'query', variables); }, - FindPlanData(variables: FindPlanDataQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(FindPlanDataDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindPlanData', 'query', variables); - }, FindSamplePositions(variables: FindSamplePositionsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(FindSamplePositionsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindSamplePositions', 'query', variables); }, @@ -7838,26 +7840,29 @@ export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper = FindWorkNumbers(variables: FindWorkNumbersQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(FindWorkNumbersDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindWorkNumbers', 'query', variables); }, + FindPlanData(variables: FindPlanDataQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(FindPlanDataDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindPlanData', 'query', variables); + }, FindWorkProgress(variables?: FindWorkProgressQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(FindWorkProgressDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindWorkProgress', 'query', variables); }, - FindWorksCreatedBy(variables: FindWorksCreatedByQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(FindWorksCreatedByDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindWorksCreatedBy', 'query', variables); - }, - GetAnalyserScanData(variables: GetAnalyserScanDataQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(GetAnalyserScanDataDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetAnalyserScanData', 'query', variables); + GetAllWorkInfo(variables?: GetAllWorkInfoQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(GetAllWorkInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetAllWorkInfo', 'query', variables); }, GetBlockProcessingInfo(variables?: GetBlockProcessingInfoQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(GetBlockProcessingInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetBlockProcessingInfo', 'query', variables); }, - GetCleanedOutAddresses(variables: GetCleanedOutAddressesQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(GetCleanedOutAddressesDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetCleanedOutAddresses', 'query', variables); + GetAnalyserScanData(variables: GetAnalyserScanDataQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(GetAnalyserScanDataDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetAnalyserScanData', 'query', variables); }, GetComments(variables?: GetCommentsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(GetCommentsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetComments', 'query', variables); }, - FindLabware(variables: FindLabwareQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(FindLabwareDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindLabware', 'query', variables); + GetBioRisks(variables?: GetBioRisksQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(GetBioRisksDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetBioRisks', 'query', variables); + }, + GetDestroyInfo(variables?: GetDestroyInfoQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(GetDestroyInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetDestroyInfo', 'query', variables); }, GetConfiguration(variables?: GetConfigurationQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(GetConfigurationDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetConfiguration', 'query', variables); @@ -7865,122 +7870,116 @@ export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper = GetDestructionReasons(variables?: GetDestructionReasonsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(GetDestructionReasonsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetDestructionReasons', 'query', variables); }, - GetBioRisks(variables?: GetBioRisksQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(GetBioRisksDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetBioRisks', 'query', variables); - }, - GetDestroyInfo(variables?: GetDestroyInfoQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(GetDestroyInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetDestroyInfo', 'query', variables); + GetCleanedOutAddresses(variables: GetCleanedOutAddressesQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(GetCleanedOutAddressesDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetCleanedOutAddresses', 'query', variables); }, GetDnapStudy(variables: GetDnapStudyQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(GetDnapStudyDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetDnapStudy', 'query', variables); }, - GetEquipments(variables?: GetEquipmentsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(GetEquipmentsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetEquipments', 'query', variables); + GetLabwareInLocation(variables: GetLabwareInLocationQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(GetLabwareInLocationDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetLabwareInLocation', 'query', variables); }, GetEventTypes(variables?: GetEventTypesQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(GetEventTypesDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetEventTypes', 'query', variables); }, - GetLabwareInLocation(variables: GetLabwareInLocationQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(GetLabwareInLocationDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetLabwareInLocation', 'query', variables); - }, GetLabwareCosting(variables: GetLabwareCostingQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(GetLabwareCostingDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetLabwareCosting', 'query', variables); }, - GetParaffinProcessingInfo(variables?: GetParaffinProcessingInfoQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(GetParaffinProcessingInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetParaffinProcessingInfo', 'query', variables); + GetLabwareOperations(variables: GetLabwareOperationsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(GetLabwareOperationsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetLabwareOperations', 'query', variables); }, GetOmeroProjects(variables?: GetOmeroProjectsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(GetOmeroProjectsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetOmeroProjects', 'query', variables); }, - GetAllWorkInfo(variables?: GetAllWorkInfoQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(GetAllWorkInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetAllWorkInfo', 'query', variables); + GetNextReplicateNumber(variables: GetNextReplicateNumberQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(GetNextReplicateNumberDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetNextReplicateNumber', 'query', variables); + }, + GetLabwareFlagDetails(variables: GetLabwareFlagDetailsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(GetLabwareFlagDetailsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetLabwareFlagDetails', 'query', variables); }, GetPotProcessingInfo(variables?: GetPotProcessingInfoQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(GetPotProcessingInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetPotProcessingInfo', 'query', variables); }, - GetProbePanels(variables?: GetProbePanelsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(GetProbePanelsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetProbePanels', 'query', variables); - }, - GetLabwareOperations(variables: GetLabwareOperationsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(GetLabwareOperationsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetLabwareOperations', 'query', variables); - }, GetPrinters(variables?: GetPrintersQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(GetPrintersDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetPrinters', 'query', variables); }, + GetParaffinProcessingInfo(variables?: GetParaffinProcessingInfoQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(GetParaffinProcessingInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetParaffinProcessingInfo', 'query', variables); + }, + GetPrograms(variables?: GetProgramsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(GetProgramsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetPrograms', 'query', variables); + }, + GetEquipments(variables?: GetEquipmentsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(GetEquipmentsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetEquipments', 'query', variables); + }, + GetProbePanels(variables?: GetProbePanelsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(GetProbePanelsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetProbePanels', 'query', variables); + }, GetRecordExtractResultInfo(variables?: GetRecordExtractResultInfoQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(GetRecordExtractResultInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetRecordExtractResultInfo', 'query', variables); }, + GetRecordInPlaceInfo(variables?: GetRecordInPlaceInfoQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(GetRecordInPlaceInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetRecordInPlaceInfo', 'query', variables); + }, GetRegionsOfInterest(variables: GetRegionsOfInterestQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(GetRegionsOfInterestDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetRegionsOfInterest', 'query', variables); }, - GetNextReplicateNumber(variables: GetNextReplicateNumberQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(GetNextReplicateNumberDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetNextReplicateNumber', 'query', variables); + GetReleaseInfo(variables?: GetReleaseInfoQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(GetReleaseInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetReleaseInfo', 'query', variables); }, GetReleaseColumnOptions(variables?: GetReleaseColumnOptionsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(GetReleaseColumnOptionsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetReleaseColumnOptions', 'query', variables); }, - GetRecordInPlaceInfo(variables?: GetRecordInPlaceInfoQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(GetRecordInPlaceInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetRecordInPlaceInfo', 'query', variables); - }, - GetReleaseInfo(variables?: GetReleaseInfoQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(GetReleaseInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetReleaseInfo', 'query', variables); + GetRegistrationInfo(variables?: GetRegistrationInfoQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(GetRegistrationInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetRegistrationInfo', 'query', variables); }, GetSampleProcessingCommentsInfo(variables?: GetSampleProcessingCommentsInfoQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(GetSampleProcessingCommentsInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetSampleProcessingCommentsInfo', 'query', variables); }, - GetLabwareFlagDetails(variables: GetLabwareFlagDetailsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(GetLabwareFlagDetailsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetLabwareFlagDetails', 'query', variables); - }, - GetSearchInfo(variables?: GetSearchInfoQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(GetSearchInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetSearchInfo', 'query', variables); + GetSectioningConfirmInfo(variables?: GetSectioningConfirmInfoQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(GetSectioningConfirmInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetSectioningConfirmInfo', 'query', variables); }, GetRunRois(variables: GetRunRoisQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(GetRunRoisDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetRunRois', 'query', variables); }, + GetSearchInfo(variables?: GetSearchInfoQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(GetSearchInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetSearchInfo', 'query', variables); + }, GetRunNames(variables: GetRunNamesQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(GetRunNamesDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetRunNames', 'query', variables); }, - GetRegistrationInfo(variables?: GetRegistrationInfoQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(GetRegistrationInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetRegistrationInfo', 'query', variables); - }, - GetSectioningConfirmInfo(variables?: GetSectioningConfirmInfoQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(GetSectioningConfirmInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetSectioningConfirmInfo', 'query', variables); - }, GetSlotRegions(variables?: GetSlotRegionsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(GetSlotRegionsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetSlotRegions', 'query', variables); }, GetSectioningInfo(variables?: GetSectioningInfoQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(GetSectioningInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetSectioningInfo', 'query', variables); }, - GetStainReagentTypes(variables?: GetStainReagentTypesQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(GetStainReagentTypesDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetStainReagentTypes', 'query', variables); + GetSolutionTransferInfo(variables?: GetSolutionTransferInfoQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(GetSolutionTransferInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetSolutionTransferInfo', 'query', variables); }, GetStainInfo(variables?: GetStainInfoQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(GetStainInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetStainInfo', 'query', variables); }, - GetStainingQCInfo(variables?: GetStainingQcInfoQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(GetStainingQcInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetStainingQCInfo', 'query', variables); - }, - GetVisiumQCInfo(variables?: GetVisiumQcInfoQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(GetVisiumQcInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetVisiumQCInfo', 'query', variables); - }, GetSuggestedLabwareForWork(variables: GetSuggestedLabwareForWorkQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(GetSuggestedLabwareForWorkDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetSuggestedLabwareForWork', 'query', variables); }, GetSuggestedWorkForLabware(variables: GetSuggestedWorkForLabwareQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(GetSuggestedWorkForLabwareDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetSuggestedWorkForLabware', 'query', variables); }, - GetPrograms(variables?: GetProgramsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(GetProgramsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetPrograms', 'query', variables); + GetVisiumQCInfo(variables?: GetVisiumQcInfoQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(GetVisiumQcInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetVisiumQCInfo', 'query', variables); }, - GetWorkAllocationInfo(variables: GetWorkAllocationInfoQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(GetWorkAllocationInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetWorkAllocationInfo', 'query', variables); + GetStainReagentTypes(variables?: GetStainReagentTypesQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(GetStainReagentTypesDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetStainReagentTypes', 'query', variables); }, - GetSolutionTransferInfo(variables?: GetSolutionTransferInfoQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(GetSolutionTransferInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetSolutionTransferInfo', 'query', variables); + GetStainingQCInfo(variables?: GetStainingQcInfoQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(GetStainingQcInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetStainingQCInfo', 'query', variables); }, - GetWorkNumbers(variables?: GetWorkNumbersQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(GetWorkNumbersDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetWorkNumbers', 'query', variables); + GetWorkProgressInputs(variables?: GetWorkProgressInputsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(GetWorkProgressInputsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetWorkProgressInputs', 'query', variables); + }, + FindWorksCreatedBy(variables: FindWorksCreatedByQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(FindWorksCreatedByDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FindWorksCreatedBy', 'query', variables); }, GetWorkSummary(variables?: GetWorkSummaryQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(GetWorkSummaryDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetWorkSummary', 'query', variables); @@ -7991,6 +7990,9 @@ export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper = GetXeniumQCInfo(variables?: GetXeniumQcInfoQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(GetXeniumQcInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetXeniumQCInfo', 'query', variables); }, + GetWorkAllocationInfo(variables: GetWorkAllocationInfoQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(GetWorkAllocationInfoDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetWorkAllocationInfo', 'query', variables); + }, AddComment(variables: AddCommentMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(AddCommentDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddComment', 'mutation', variables); }, @@ -8000,11 +8002,8 @@ export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper = AddCostCode(variables: AddCostCodeMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(AddCostCodeDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddCostCode', 'mutation', variables); }, - GetWorkProgressInputs(variables?: GetWorkProgressInputsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(GetWorkProgressInputsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetWorkProgressInputs', 'query', variables); - }, - AddExternalID(variables: AddExternalIdMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(AddExternalIdDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddExternalID', 'mutation', variables); + AddEquipment(variables: AddEquipmentMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(AddEquipmentDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddEquipment', 'mutation', variables); }, AddFixative(variables: AddFixativeMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(AddFixativeDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddFixative', 'mutation', variables); @@ -8012,14 +8011,14 @@ export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper = AddDestructionReason(variables: AddDestructionReasonMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(AddDestructionReasonDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddDestructionReason', 'mutation', variables); }, - AddOmeroProject(variables: AddOmeroProjectMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(AddOmeroProjectDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddOmeroProject', 'mutation', variables); + AddProject(variables: AddProjectMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(AddProjectDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddProject', 'mutation', variables); }, AddHmdmc(variables: AddHmdmcMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(AddHmdmcDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddHmdmc', 'mutation', variables); }, - AddProbePanel(variables: AddProbePanelMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(AddProbePanelDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddProbePanel', 'mutation', variables); + AddOmeroProject(variables: AddOmeroProjectMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(AddOmeroProjectDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddOmeroProject', 'mutation', variables); }, AddProgram(variables: AddProgramMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(AddProgramDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddProgram', 'mutation', variables); @@ -8027,62 +8026,53 @@ export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper = AddSlotRegion(variables: AddSlotRegionMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(AddSlotRegionDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddSlotRegion', 'mutation', variables); }, - AddProject(variables: AddProjectMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(AddProjectDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddProject', 'mutation', variables); + AddSolution(variables: AddSolutionMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(AddSolutionDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddSolution', 'mutation', variables); }, AddReleaseDestination(variables: AddReleaseDestinationMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(AddReleaseDestinationDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddReleaseDestination', 'mutation', variables); }, - AddSolution(variables: AddSolutionMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(AddSolutionDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddSolution', 'mutation', variables); + AddExternalID(variables: AddExternalIdMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(AddExternalIdDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddExternalID', 'mutation', variables); }, - AddReleaseRecipient(variables: AddReleaseRecipientMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(AddReleaseRecipientDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddReleaseRecipient', 'mutation', variables); + AddWorkType(variables: AddWorkTypeMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(AddWorkTypeDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddWorkType', 'mutation', variables); }, AddSpecies(variables: AddSpeciesMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(AddSpeciesDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddSpecies', 'mutation', variables); }, + AddReleaseRecipient(variables: AddReleaseRecipientMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(AddReleaseRecipientDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddReleaseRecipient', 'mutation', variables); + }, AddUser(variables: AddUserMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(AddUserDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddUser', 'mutation', variables); }, - Aliquot(variables: AliquotMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(AliquotDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'Aliquot', 'mutation', variables); - }, - AddWorkType(variables: AddWorkTypeMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(AddWorkTypeDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddWorkType', 'mutation', variables); - }, ConfirmSection(variables: ConfirmSectionMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(ConfirmSectionDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'ConfirmSection', 'mutation', variables); }, Confirm(variables: ConfirmMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(ConfirmDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'Confirm', 'mutation', variables); }, - CreateWork(variables: CreateWorkMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(CreateWorkDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'CreateWork', 'mutation', variables); - }, - Destroy(variables: DestroyMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(DestroyDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'Destroy', 'mutation', variables); - }, - AddEquipment(variables: AddEquipmentMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(AddEquipmentDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddEquipment', 'mutation', variables); + Aliquot(variables: AliquotMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(AliquotDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'Aliquot', 'mutation', variables); }, EmptyLocation(variables: EmptyLocationMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(EmptyLocationDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'EmptyLocation', 'mutation', variables); }, - FlagLabware(variables: FlagLabwareMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(FlagLabwareDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FlagLabware', 'mutation', variables); + Destroy(variables: DestroyMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(DestroyDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'Destroy', 'mutation', variables); }, - Extract(variables: ExtractMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(ExtractDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'Extract', 'mutation', variables); + CreateWork(variables: CreateWorkMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(CreateWorkDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'CreateWork', 'mutation', variables); + }, + Logout(variables?: LogoutMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(LogoutDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'Logout', 'mutation', variables); }, Login(variables: LoginMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(LoginDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'Login', 'mutation', variables); }, - PerformParaffinProcessing(variables: PerformParaffinProcessingMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(PerformParaffinProcessingDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'PerformParaffinProcessing', 'mutation', variables); - }, - Logout(variables?: LogoutMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(LogoutDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'Logout', 'mutation', variables); + Extract(variables: ExtractMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(ExtractDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'Extract', 'mutation', variables); }, PerformTissueBlock(variables: PerformTissueBlockMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(PerformTissueBlockDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'PerformTissueBlock', 'mutation', variables); @@ -8090,26 +8080,29 @@ export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper = PerformSolutionTransfer(variables: PerformSolutionTransferMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(PerformSolutionTransferDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'PerformSolutionTransfer', 'mutation', variables); }, + FlagLabware(variables: FlagLabwareMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(FlagLabwareDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'FlagLabware', 'mutation', variables); + }, Plan(variables: PlanMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(PlanDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'Plan', 'mutation', variables); }, - RecordAnalyser(variables: RecordAnalyserMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(RecordAnalyserDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordAnalyser', 'mutation', variables); + PerformTissuePot(variables: PerformTissuePotMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(PerformTissuePotDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'PerformTissuePot', 'mutation', variables); }, - ReactivateLabware(variables: ReactivateLabwareMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(ReactivateLabwareDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'ReactivateLabware', 'mutation', variables); + PerformParaffinProcessing(variables: PerformParaffinProcessingMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(PerformParaffinProcessingDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'PerformParaffinProcessing', 'mutation', variables); }, Print(variables: PrintMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(PrintDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'Print', 'mutation', variables); }, - RecordExtractResult(variables: RecordExtractResultMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(RecordExtractResultDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordExtractResult', 'mutation', variables); + RecordAnalyser(variables: RecordAnalyserMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(RecordAnalyserDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordAnalyser', 'mutation', variables); }, - PerformTissuePot(variables: PerformTissuePotMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(PerformTissuePotDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'PerformTissuePot', 'mutation', variables); + RecordComplexStain(variables: RecordComplexStainMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(RecordComplexStainDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordComplexStain', 'mutation', variables); }, - RecordCompletion(variables: RecordCompletionMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(RecordCompletionDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordCompletion', 'mutation', variables); + RecordExtractResult(variables: RecordExtractResultMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(RecordExtractResultDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordExtractResult', 'mutation', variables); }, RecordMetrics(variables: RecordMetricsMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(RecordMetricsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordMetrics', 'mutation', variables); @@ -8117,11 +8110,11 @@ export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper = RecordLibraryPrep(variables: RecordLibraryPrepMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(RecordLibraryPrepDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordLibraryPrep', 'mutation', variables); }, - RecordComplexStain(variables: RecordComplexStainMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(RecordComplexStainDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordComplexStain', 'mutation', variables); + ReactivateLabware(variables: ReactivateLabwareMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(ReactivateLabwareDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'ReactivateLabware', 'mutation', variables); }, - RecordOpWithSlotComments(variables: RecordOpWithSlotCommentsMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(RecordOpWithSlotCommentsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordOpWithSlotComments', 'mutation', variables); + RecordCompletion(variables: RecordCompletionMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(RecordCompletionDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordCompletion', 'mutation', variables); }, RecordOpWithSlotMeasurements(variables: RecordOpWithSlotMeasurementsMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(RecordOpWithSlotMeasurementsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordOpWithSlotMeasurements', 'mutation', variables); @@ -8132,23 +8125,20 @@ export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper = RecordOrientationQC(variables: RecordOrientationQcMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(RecordOrientationQcDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordOrientationQC', 'mutation', variables); }, + RecordOpWithSlotComments(variables: RecordOpWithSlotCommentsMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(RecordOpWithSlotCommentsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordOpWithSlotComments', 'mutation', variables); + }, RecordPerm(variables: RecordPermMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(RecordPermDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordPerm', 'mutation', variables); }, - RecordProbeOperation(variables: RecordProbeOperationMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(RecordProbeOperationDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordProbeOperation', 'mutation', variables); - }, RecordQCLabware(variables: RecordQcLabwareMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(RecordQcLabwareDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordQCLabware', 'mutation', variables); }, RecordReagentTransfer(variables: RecordReagentTransferMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(RecordReagentTransferDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordReagentTransfer', 'mutation', variables); }, - RecordStainResult(variables: RecordStainResultMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(RecordStainResultDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordStainResult', 'mutation', variables); - }, - RecordVisiumQC(variables: RecordVisiumQcMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(RecordVisiumQcDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordVisiumQC', 'mutation', variables); + RecordProbeOperation(variables: RecordProbeOperationMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(RecordProbeOperationDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordProbeOperation', 'mutation', variables); }, RecordRNAAnalysis(variables: RecordRnaAnalysisMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(RecordRnaAnalysisDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordRNAAnalysis', 'mutation', variables); @@ -8156,6 +8146,15 @@ export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper = RecordSampleProcessingComments(variables: RecordSampleProcessingCommentsMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(RecordSampleProcessingCommentsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordSampleProcessingComments', 'mutation', variables); }, + RecordStainResult(variables: RecordStainResultMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(RecordStainResultDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordStainResult', 'mutation', variables); + }, + RecordVisiumQC(variables: RecordVisiumQcMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(RecordVisiumQcDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RecordVisiumQC', 'mutation', variables); + }, + RegisterOriginalSamples(variables: RegisterOriginalSamplesMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(RegisterOriginalSamplesDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RegisterOriginalSamples', 'mutation', variables); + }, RegisterTissues(variables: RegisterTissuesMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(RegisterTissuesDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RegisterTissues', 'mutation', variables); }, @@ -8165,35 +8164,29 @@ export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper = RegisterSections(variables: RegisterSectionsMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(RegisterSectionsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RegisterSections', 'mutation', variables); }, - RegisterOriginalSamples(variables: RegisterOriginalSamplesMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(RegisterOriginalSamplesDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'RegisterOriginalSamples', 'mutation', variables); + SetCommentEnabled(variables: SetCommentEnabledMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(SetCommentEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetCommentEnabled', 'mutation', variables); }, ReleaseLabware(variables: ReleaseLabwareMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(ReleaseLabwareDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'ReleaseLabware', 'mutation', variables); }, + SetCostCodeEnabled(variables: SetCostCodeEnabledMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(SetCostCodeEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetCostCodeEnabled', 'mutation', variables); + }, Segmentation(variables: SegmentationMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(SegmentationDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'Segmentation', 'mutation', variables); }, - SetCommentEnabled(variables: SetCommentEnabledMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(SetCommentEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetCommentEnabled', 'mutation', variables); - }, - SetDestructionReasonEnabled(variables: SetDestructionReasonEnabledMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(SetDestructionReasonEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetDestructionReasonEnabled', 'mutation', variables); - }, - SetBioRiskEnabled(variables: SetBioRiskEnabledMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(SetBioRiskEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetBioRiskEnabled', 'mutation', variables); + SetHmdmcEnabled(variables: SetHmdmcEnabledMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(SetHmdmcEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetHmdmcEnabled', 'mutation', variables); }, SetEquipmentEnabled(variables: SetEquipmentEnabledMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(SetEquipmentEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetEquipmentEnabled', 'mutation', variables); }, - SetCostCodeEnabled(variables: SetCostCodeEnabledMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(SetCostCodeEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetCostCodeEnabled', 'mutation', variables); - }, - SetHmdmcEnabled(variables: SetHmdmcEnabledMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(SetHmdmcEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetHmdmcEnabled', 'mutation', variables); + SetBioRiskEnabled(variables: SetBioRiskEnabledMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(SetBioRiskEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetBioRiskEnabled', 'mutation', variables); }, - SetProbePanelEnabled(variables: SetProbePanelEnabledMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(SetProbePanelEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetProbePanelEnabled', 'mutation', variables); + SetFixativeEnabled(variables: SetFixativeEnabledMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(SetFixativeEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetFixativeEnabled', 'mutation', variables); }, SetLocationCustomName(variables: SetLocationCustomNameMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(SetLocationCustomNameDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetLocationCustomName', 'mutation', variables); @@ -8201,14 +8194,17 @@ export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper = SetOmeroProjectEnabled(variables: SetOmeroProjectEnabledMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(SetOmeroProjectEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetOmeroProjectEnabled', 'mutation', variables); }, - SetReleaseRecipientEnabled(variables: SetReleaseRecipientEnabledMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(SetReleaseRecipientEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetReleaseRecipientEnabled', 'mutation', variables); + SetDestructionReasonEnabled(variables: SetDestructionReasonEnabledMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(SetDestructionReasonEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetDestructionReasonEnabled', 'mutation', variables); }, SetProjectEnabled(variables: SetProjectEnabledMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(SetProjectEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetProjectEnabled', 'mutation', variables); }, - SetFixativeEnabled(variables: SetFixativeEnabledMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(SetFixativeEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetFixativeEnabled', 'mutation', variables); + SetProbePanelEnabled(variables: SetProbePanelEnabledMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(SetProbePanelEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetProbePanelEnabled', 'mutation', variables); + }, + SetProgramEnabled(variables: SetProgramEnabledMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(SetProgramEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetProgramEnabled', 'mutation', variables); }, SetReleaseDestinationEnabled(variables: SetReleaseDestinationEnabledMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(SetReleaseDestinationEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetReleaseDestinationEnabled', 'mutation', variables); @@ -8216,17 +8212,17 @@ export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper = SetSolutionEnabled(variables: SetSolutionEnabledMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(SetSolutionEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetSolutionEnabled', 'mutation', variables); }, - SetProgramEnabled(variables: SetProgramEnabledMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(SetProgramEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetProgramEnabled', 'mutation', variables); - }, SetSpeciesEnabled(variables: SetSpeciesEnabledMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(SetSpeciesEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetSpeciesEnabled', 'mutation', variables); }, SetSlotRegionEnabled(variables: SetSlotRegionEnabledMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(SetSlotRegionEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetSlotRegionEnabled', 'mutation', variables); }, - Store(variables: StoreMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(StoreDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'Store', 'mutation', variables); + SetReleaseRecipientEnabled(variables: SetReleaseRecipientEnabledMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(SetReleaseRecipientEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetReleaseRecipientEnabled', 'mutation', variables); + }, + SetUserRole(variables: SetUserRoleMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(SetUserRoleDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetUserRole', 'mutation', variables); }, SetWorkTypeEnabled(variables: SetWorkTypeEnabledMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(SetWorkTypeEnabledDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetWorkTypeEnabled', 'mutation', variables); @@ -8234,42 +8230,36 @@ export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper = SlotCopy(variables: SlotCopyMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(SlotCopyDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SlotCopy', 'mutation', variables); }, - TransferLocationItems(variables: TransferLocationItemsMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(TransferLocationItemsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'TransferLocationItems', 'mutation', variables); - }, Stain(variables: StainMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(StainDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'Stain', 'mutation', variables); }, StoreBarcode(variables: StoreBarcodeMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(StoreBarcodeDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'StoreBarcode', 'mutation', variables); }, - SetUserRole(variables: SetUserRoleMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(SetUserRoleDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'SetUserRole', 'mutation', variables); - }, - UpdateWorkDnapStudy(variables: UpdateWorkDnapStudyMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(UpdateWorkDnapStudyDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'UpdateWorkDnapStudy', 'mutation', variables); + Store(variables: StoreMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(StoreDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'Store', 'mutation', variables); }, Unrelease(variables: UnreleaseMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(UnreleaseDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'Unrelease', 'mutation', variables); }, - UpdateReleaseRecipientFullName(variables: UpdateReleaseRecipientFullNameMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(UpdateReleaseRecipientFullNameDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'UpdateReleaseRecipientFullName', 'mutation', variables); + TransferLocationItems(variables: TransferLocationItemsMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(TransferLocationItemsDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'TransferLocationItems', 'mutation', variables); + }, + UnstoreBarcode(variables: UnstoreBarcodeMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(UnstoreBarcodeDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'UnstoreBarcode', 'mutation', variables); }, UpdateWorkNumBlocks(variables: UpdateWorkNumBlocksMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(UpdateWorkNumBlocksDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'UpdateWorkNumBlocks', 'mutation', variables); }, - UpdateWorkNumOriginalSamples(variables: UpdateWorkNumOriginalSamplesMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(UpdateWorkNumOriginalSamplesDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'UpdateWorkNumOriginalSamples', 'mutation', variables); - }, - UpdateWorkStatus(variables: UpdateWorkStatusMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(UpdateWorkStatusDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'UpdateWorkStatus', 'mutation', variables); - }, - UnstoreBarcode(variables: UnstoreBarcodeMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { - return withWrapper((wrappedRequestHeaders) => client.request(UnstoreBarcodeDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'UnstoreBarcode', 'mutation', variables); + UpdateWorkDnapStudy(variables: UpdateWorkDnapStudyMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(UpdateWorkDnapStudyDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'UpdateWorkDnapStudy', 'mutation', variables); }, UpdateDnapStudies(variables?: UpdateDnapStudiesMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(UpdateDnapStudiesDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'UpdateDnapStudies', 'mutation', variables); }, + UpdateWorkNumOriginalSamples(variables: UpdateWorkNumOriginalSamplesMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(UpdateWorkNumOriginalSamplesDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'UpdateWorkNumOriginalSamples', 'mutation', variables); + }, UpdateWorkNumSlides(variables: UpdateWorkNumSlidesMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(UpdateWorkNumSlidesDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'UpdateWorkNumSlides', 'mutation', variables); }, @@ -8279,11 +8269,23 @@ export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper = UpdateWorkPriority(variables: UpdateWorkPriorityMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(UpdateWorkPriorityDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'UpdateWorkPriority', 'mutation', variables); }, + UpdateWorkStatus(variables: UpdateWorkStatusMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(UpdateWorkStatusDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'UpdateWorkStatus', 'mutation', variables); + }, VisiumAnalysis(variables: VisiumAnalysisMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(VisiumAnalysisDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'VisiumAnalysis', 'mutation', variables); }, + UpdateReleaseRecipientFullName(variables: UpdateReleaseRecipientFullNameMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(UpdateReleaseRecipientFullNameDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'UpdateReleaseRecipientFullName', 'mutation', variables); + }, CleanOut(variables: CleanOutMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { return withWrapper((wrappedRequestHeaders) => client.request(CleanOutDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'CleanOut', 'mutation', variables); + }, + GetWorkNumbers(variables?: GetWorkNumbersQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(GetWorkNumbersDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'GetWorkNumbers', 'query', variables); + }, + AddProbePanel(variables: AddProbePanelMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise { + return withWrapper((wrappedRequestHeaders) => client.request(AddProbePanelDocument, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'AddProbePanel', 'mutation', variables); } }; } diff --git a/tests/unit/pages/registration/registrationForm.spec.tsx b/tests/unit/pages/registration/registrationForm.spec.tsx index 33e90c3f8..940a8fda5 100644 --- a/tests/unit/pages/registration/registrationForm.spec.tsx +++ b/tests/unit/pages/registration/registrationForm.spec.tsx @@ -68,7 +68,7 @@ const renderOriginalRegistrationForm = (tissues?: RegistrationFormOriginalSample ); }; -const renderBlockRegistrationForm = (withBioRiskOption: boolean, tissues?: RegistrationFormTissue) => { +const renderBlockRegistrationForm = (tissues?: RegistrationFormTissue) => { return render(
@@ -122,6 +121,7 @@ describe('RegistrationForm', () => { //Tissue Information expect(screen.getByText('Tissue Information')).toBeInTheDocument(); + expect(screen.getByRole('combobox', { name: 'Biological Risk Assessment Numbers' })).toBeInTheDocument(); await waitFor(() => screen.getByText('HuMFre')); expect(screen.getByText('HuMFre')).toBeInTheDocument(); @@ -292,7 +292,7 @@ describe('RegistrationForm', () => { }; }) })); - renderBlockRegistrationForm(true); + renderBlockRegistrationForm(); }); //Donor Information expect(screen.getByText('Donor Information')).toBeInTheDocument(); @@ -354,7 +354,7 @@ describe('RegistrationForm', () => { }; }) })); - renderBlockRegistrationForm(false); + renderBlockRegistrationForm(); }); }); it('removes sample collection date field on adult life stage', async () => { @@ -413,7 +413,7 @@ describe('RegistrationForm', () => { bioRiskCode: '' }; - renderBlockRegistrationForm(false, tissues); + renderBlockRegistrationForm(tissues); }); await waitFor(() => screen.getByRole('button', { name: '+ Add Another Tissue Block' }).click());