@opentrons/shared-data 0.1.7-alpha.0 → 0.1.7-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/command/index.ts +14 -2
- package/command/schemas/12.json +65 -0
- package/command/schemas/13.json +7207 -0
- package/command/types/annotation.ts +1 -1
- package/command/types/calibration.ts +7 -6
- package/command/types/gantry.ts +7 -6
- package/command/types/incidental.ts +1 -1
- package/command/types/index.ts +68 -20
- package/command/types/module.ts +76 -9
- package/command/types/pipetting.ts +9 -3
- package/command/types/robot.ts +98 -0
- package/command/types/setup.ts +3 -3
- package/command/types/support.ts +13 -2
- package/command/types/timing.ts +1 -1
- package/command/types/unsafe.ts +63 -1
- package/deck/index.ts +3 -6
- package/errors/definitions/1/errors.json +12 -0
- package/errors/index.ts +2 -1
- package/labware/definitions/2/agilent_1_reservoir_290ml/3.json +80 -0
- package/labware/definitions/2/corning_384_wellplate_112ul_flat/4.json +5116 -0
- package/labware/definitions/2/corning_48_wellplate_1.6ml_flat/4.json +605 -0
- package/labware/definitions/2/nest_1_reservoir_290ml/3.json +80 -0
- package/labware/definitions/2/opentrons_24_aluminumblock_nest_0.5ml_screwcap/3.json +370 -0
- package/labware/definitions/2/opentrons_24_tuberack_nest_0.5ml_screwcap/3.json +371 -0
- package/labware/definitions/2/opentrons_96_aluminumblock_generic_pcr_strip_200ul/4.json +1149 -0
- package/labware/definitions/2/opentrons_flex_tiprack_lid/1.json +8 -2
- package/labware/definitions/2/usascientific_12_reservoir_22ml/3.json +237 -0
- package/labware/definitions/3/schema3test_96_well_aluminum_block/999.json +1047 -0
- package/labware/definitions/3/schema3test_96_wellplate_200ul_pcr_full_skirt/999.json +1189 -0
- package/labware/definitions/3/schema3test_flex_96_tiprack_200ul/999.json +1041 -0
- package/labware/fixtures/2/index.ts +4 -4
- package/labware/fixtures/3/fixture_2_plate.json +25 -11
- package/labware/fixtures/3/fixture_corning_24_plate.json +47 -33
- package/labware/schemas/3.json +63 -25
- package/lib/command/index.d.ts +4156 -2078
- package/lib/command/schemas/12.json +65 -0
- package/lib/command/schemas/13.json +7207 -0
- package/lib/command/types/annotation.d.ts +1 -1
- package/lib/command/types/calibration.d.ts +5 -5
- package/lib/command/types/gantry.d.ts +5 -4
- package/lib/command/types/incidental.d.ts +1 -1
- package/lib/command/types/index.d.ts +52 -14
- package/lib/command/types/module.d.ts +59 -10
- package/lib/command/types/pipetting.d.ts +8 -3
- package/lib/command/types/robot.d.ts +71 -0
- package/lib/command/types/setup.d.ts +1 -1
- package/lib/command/types/support.d.ts +3 -2
- package/lib/command/types/timing.d.ts +1 -1
- package/lib/command/types/unsafe.d.ts +44 -3
- package/lib/deck/index.d.ts +3 -3
- package/lib/errors/definitions/1/errors.json +12 -0
- package/lib/errors/index.d.ts +1 -1
- package/lib/index.mjs +372042 -335507
- package/lib/js/constants.d.ts +17 -10
- package/lib/js/deck/index.d.ts +2 -2
- package/lib/js/fixtures.d.ts +1 -1
- package/lib/js/gripper.d.ts +1 -1
- package/lib/js/helpers/__tests__/getMmFromBottom.test.d.ts +1 -0
- package/lib/js/helpers/__tests__/liquidClasses.test.d.ts +1 -0
- package/lib/js/helpers/getLoadedLabwareDefinitionsByUri.d.ts +1 -1
- package/lib/js/helpers/getMmFromBottom.d.ts +2 -0
- package/lib/js/helpers/getSimplestFlexDeckConfig.d.ts +1 -1
- package/lib/js/helpers/getVectorDifference.d.ts +2 -2
- package/lib/js/helpers/getVectorSum.d.ts +2 -2
- package/lib/js/helpers/getWellRangeForLiquidLabwarePair.d.ts +6 -0
- package/lib/js/helpers/index.d.ts +4 -1
- package/lib/js/helpers/labwareInference.d.ts +1 -1
- package/lib/js/helpers/liquidClasses.d.ts +8 -0
- package/lib/js/helpers/parseAddressableArea.d.ts +1 -1
- package/lib/js/helpers/parseProtocolCommands.d.ts +2 -2
- package/lib/js/helpers/validateCustomLabwareHelper.d.ts +1 -1
- package/lib/js/labware.d.ts +6 -6
- package/lib/js/labwareTools/index.d.ts +1 -1
- package/lib/js/modules.d.ts +1 -1
- package/lib/js/pipettes.d.ts +3 -2
- package/lib/js/types.d.ts +45 -27
- package/lib/labware/definitions/2/agilent_1_reservoir_290ml/3.json +80 -0
- package/lib/labware/definitions/2/corning_384_wellplate_112ul_flat/4.json +5116 -0
- package/lib/labware/definitions/2/corning_48_wellplate_1.6ml_flat/4.json +605 -0
- package/lib/labware/definitions/2/nest_1_reservoir_290ml/3.json +80 -0
- package/lib/labware/definitions/2/opentrons_24_aluminumblock_nest_0.5ml_screwcap/3.json +370 -0
- package/lib/labware/definitions/2/opentrons_24_tuberack_nest_0.5ml_screwcap/3.json +371 -0
- package/lib/labware/definitions/2/opentrons_96_aluminumblock_generic_pcr_strip_200ul/4.json +1149 -0
- package/lib/labware/definitions/2/opentrons_flex_tiprack_lid/1.json +8 -2
- package/lib/labware/definitions/2/usascientific_12_reservoir_22ml/3.json +237 -0
- package/lib/labware/definitions/3/schema3test_96_well_aluminum_block/999.json +1047 -0
- package/lib/labware/definitions/3/schema3test_96_wellplate_200ul_pcr_full_skirt/999.json +1189 -0
- package/lib/labware/definitions/3/schema3test_flex_96_tiprack_200ul/999.json +1041 -0
- package/lib/labware/fixtures/2/index.d.ts +4 -4
- package/lib/labware/fixtures/3/fixture_2_plate.json +25 -11
- package/lib/labware/fixtures/3/fixture_corning_24_plate.json +47 -33
- package/lib/labware/schemas/3.json +63 -25
- package/lib/liquid-class/definitions/1/ethanol_80.json +1455 -1059
- package/lib/liquid-class/definitions/1/glycerol_50.json +1454 -1058
- package/lib/liquid-class/definitions/1/water.json +1459 -1063
- package/lib/liquid-class/fixtures/1/fixture_glycerol50.json +66 -48
- package/lib/liquid-class/schemas/1.json +34 -48
- package/lib/module/definitions/3/absorbanceReaderV1.json +1 -0
- package/lib/module/definitions/3/flexStackerModuleV1.json +6 -0
- package/lib/module/definitions/3/magneticBlockV1.json +1 -0
- package/lib/module/definitions/3/magneticModuleV1.json +1 -0
- package/lib/module/definitions/3/magneticModuleV2.json +1 -0
- package/lib/module/definitions/3/temperatureModuleV1.json +1 -0
- package/lib/module/definitions/3/temperatureModuleV2.json +1 -0
- package/lib/module/definitions/3/thermocyclerModuleV1.json +1 -0
- package/lib/module/definitions/3/thermocyclerModuleV2.json +1 -0
- package/lib/module/schemas/3.json +4 -0
- package/lib/pipette/definitions/2/geometry/eight_channel/p50/3_5.json +4 -0
- package/lib/pipette/definitions/2/geometry/ninety_six_channel/p200/3_0.json +4 -0
- package/lib/pipette/definitions/2/geometry/single_channel/p50/3_6.json +4 -0
- package/lib/pipette/definitions/2/liquid/ninety_six_channel/p200/default/1_0.json +11 -11
- package/lib/pipette/definitions/2/liquid/ninety_six_channel/p200/default/3_0.json +12 -12
- package/lib/pipette/definitions/2/liquid/single_channel/p50/default/3_6.json +5 -5
- package/lib/pipette/definitions/2/liquid/single_channel/p50/lowVolumeDefault/3_6.json +5 -5
- package/lib/pipette/fixtures/name/index.d.ts +1 -1
- package/lib/protocol/fixtures/index.d.ts +2 -2
- package/lib/protocol/index.d.ts +7 -7
- package/lib/protocol/types/schemaV4.d.ts +1 -1
- package/lib/protocol/types/schemaV5.d.ts +1 -1
- package/lib/protocol/types/schemaV5Addendum.d.ts +1 -1
- package/lib/protocol/types/schemaV6/command/gantry.d.ts +4 -4
- package/lib/protocol/types/schemaV6/command/index.d.ts +5 -5
- package/lib/protocol/types/schemaV6/command/module.d.ts +1 -1
- package/lib/protocol/types/schemaV6/command/pipetting.d.ts +1 -1
- package/lib/protocol/types/schemaV6/command/setup.d.ts +1 -1
- package/lib/protocol/types/schemaV6/command/timing.d.ts +1 -1
- package/lib/protocol/types/schemaV6/index.d.ts +2 -2
- package/lib/protocol/types/schemaV7/command/annotation.d.ts +1 -1
- package/lib/protocol/types/schemaV7/command/calibration.d.ts +5 -5
- package/lib/protocol/types/schemaV7/command/gantry.d.ts +4 -4
- package/lib/protocol/types/schemaV7/command/incidental.d.ts +1 -1
- package/lib/protocol/types/schemaV7/command/index.d.ts +7 -7
- package/lib/protocol/types/schemaV7/command/module.d.ts +1 -1
- package/lib/protocol/types/schemaV7/command/pipetting.d.ts +1 -1
- package/lib/protocol/types/schemaV7/command/setup.d.ts +1 -1
- package/lib/protocol/types/schemaV7/command/timing.d.ts +1 -1
- package/lib/protocol/types/schemaV7/index.d.ts +2 -2
- package/lib/protocol/types/schemaV8/index.d.ts +1 -1
- package/liquid-class/definitions/1/ethanol_80.json +1455 -1059
- package/liquid-class/definitions/1/glycerol_50.json +1454 -1058
- package/liquid-class/definitions/1/water.json +1459 -1063
- package/liquid-class/fixtures/1/fixture_glycerol50.json +66 -48
- package/liquid-class/schemas/1.json +34 -48
- package/module/definitions/3/absorbanceReaderV1.json +1 -0
- package/module/definitions/3/flexStackerModuleV1.json +6 -0
- package/module/definitions/3/magneticBlockV1.json +1 -0
- package/module/definitions/3/magneticModuleV1.json +1 -0
- package/module/definitions/3/magneticModuleV2.json +1 -0
- package/module/definitions/3/temperatureModuleV1.json +1 -0
- package/module/definitions/3/temperatureModuleV2.json +1 -0
- package/module/definitions/3/thermocyclerModuleV1.json +1 -0
- package/module/definitions/3/thermocyclerModuleV2.json +1 -0
- package/module/schemas/3.json +4 -0
- package/package.json +1 -1
- package/pipette/definitions/2/geometry/eight_channel/p50/3_5.json +4 -0
- package/pipette/definitions/2/geometry/ninety_six_channel/p200/3_0.json +4 -0
- package/pipette/definitions/2/geometry/single_channel/p50/3_6.json +4 -0
- package/pipette/definitions/2/liquid/ninety_six_channel/p200/default/1_0.json +11 -11
- package/pipette/definitions/2/liquid/ninety_six_channel/p200/default/3_0.json +12 -12
- package/pipette/definitions/2/liquid/single_channel/p50/default/3_6.json +5 -5
- package/pipette/definitions/2/liquid/single_channel/p50/lowVolumeDefault/3_6.json +5 -5
- package/pipette/fixtures/index.ts +12 -12
- package/pipette/fixtures/name/index.ts +1 -0
- package/protocol/fixtures/index.ts +2 -3
- package/protocol/index.ts +9 -8
- package/protocol/types/schemaV4.ts +4 -4
- package/protocol/types/schemaV5.ts +1 -1
- package/protocol/types/schemaV5Addendum.ts +1 -1
- package/protocol/types/schemaV6/command/gantry.ts +4 -4
- package/protocol/types/schemaV6/command/index.ts +6 -6
- package/protocol/types/schemaV6/command/module.ts +1 -1
- package/protocol/types/schemaV6/command/pipetting.ts +2 -1
- package/protocol/types/schemaV6/command/setup.ts +2 -2
- package/protocol/types/schemaV6/command/timing.ts +1 -1
- package/protocol/types/schemaV6/index.ts +3 -3
- package/protocol/types/schemaV7/command/annotation.ts +1 -1
- package/protocol/types/schemaV7/command/calibration.ts +7 -6
- package/protocol/types/schemaV7/command/gantry.ts +5 -5
- package/protocol/types/schemaV7/command/incidental.ts +1 -1
- package/protocol/types/schemaV7/command/index.ts +14 -14
- package/protocol/types/schemaV7/command/module.ts +1 -1
- package/protocol/types/schemaV7/command/pipetting.ts +2 -1
- package/protocol/types/schemaV7/command/setup.ts +2 -2
- package/protocol/types/schemaV7/command/timing.ts +1 -1
- package/protocol/types/schemaV7/index.ts +3 -3
- package/protocol/types/schemaV8/index.ts +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { CommonCommandCreateInfo, CommonCommandRunTimeInfo } from '.';
|
|
2
2
|
export type AnnotationCreateCommand = CommentCreateCommand | CustomCreateCommand;
|
|
3
3
|
export type AnnotationRunTimeCommand = CommentRunTimeCommand | CustomRunTimeCommand;
|
|
4
4
|
export interface CommentCreateCommand extends CommonCommandCreateInfo {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
1
|
+
import type { CommonCommandCreateInfo, CommonCommandRunTimeInfo } from '.';
|
|
2
|
+
import type { GantryMount, LabwareOffset, PipetteMount, Vector3D } from '../../js/types';
|
|
3
3
|
export interface CalibratePipetteCreateCommand extends CommonCommandCreateInfo {
|
|
4
4
|
commandType: 'calibration/calibratePipette';
|
|
5
5
|
params: CalibratePipetteParams;
|
|
@@ -35,7 +35,7 @@ interface CalibratePipetteParams {
|
|
|
35
35
|
}
|
|
36
36
|
interface CalibrateGripperParams {
|
|
37
37
|
jaw: 'front' | 'rear';
|
|
38
|
-
otherJawOffset?:
|
|
38
|
+
otherJawOffset?: Vector3D;
|
|
39
39
|
}
|
|
40
40
|
interface CalibrateModuleParams {
|
|
41
41
|
moduleId: string;
|
|
@@ -46,13 +46,13 @@ interface CalibratePipetteResult {
|
|
|
46
46
|
pipetteOffset: LabwareOffset;
|
|
47
47
|
}
|
|
48
48
|
interface CalibrateGripperResult {
|
|
49
|
-
jawOffset:
|
|
49
|
+
jawOffset: Vector3D;
|
|
50
50
|
}
|
|
51
51
|
interface MoveToMaintenancePositionParams {
|
|
52
52
|
mount: GantryMount;
|
|
53
53
|
maintenancePosition?: 'attachPlate' | 'attachInstrument';
|
|
54
54
|
}
|
|
55
55
|
interface CalibrateModuleResult {
|
|
56
|
-
moduleOffset:
|
|
56
|
+
moduleOffset: Vector3D;
|
|
57
57
|
}
|
|
58
58
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { CommonCommandCreateInfo, CommonCommandRunTimeInfo } from '.';
|
|
2
2
|
import type { AddressableAreaName } from '../../deck';
|
|
3
|
+
import type { GantryMount, MotorAxes, MotorAxis, Vector3D } from '../../js/types';
|
|
3
4
|
import type { WellLocation } from './support';
|
|
4
|
-
import type { Coordinates, MotorAxes, MotorAxis, GantryMount } from '../../js/types';
|
|
5
5
|
export interface MoveToSlotCreateCommand extends CommonCommandCreateInfo {
|
|
6
6
|
commandType: 'moveToSlot';
|
|
7
7
|
params: MoveToSlotParams;
|
|
@@ -29,7 +29,7 @@ export interface MoveRelativeCreateCommand extends CommonCommandCreateInfo {
|
|
|
29
29
|
}
|
|
30
30
|
export interface MoveRelativeRunTimeCommand extends CommonCommandRunTimeInfo, MoveRelativeCreateCommand {
|
|
31
31
|
result?: {
|
|
32
|
-
position:
|
|
32
|
+
position: Vector3D;
|
|
33
33
|
};
|
|
34
34
|
}
|
|
35
35
|
export interface SavePositionCreateCommand extends CommonCommandCreateInfo {
|
|
@@ -39,7 +39,7 @@ export interface SavePositionCreateCommand extends CommonCommandCreateInfo {
|
|
|
39
39
|
export interface SavePositionRunTimeCommand extends CommonCommandRunTimeInfo, SavePositionCreateCommand {
|
|
40
40
|
result?: {
|
|
41
41
|
positionId: string;
|
|
42
|
-
position:
|
|
42
|
+
position: Vector3D;
|
|
43
43
|
};
|
|
44
44
|
}
|
|
45
45
|
export interface HomeCreateCommand extends CommonCommandCreateInfo {
|
|
@@ -83,6 +83,7 @@ export interface MoveToWellParams {
|
|
|
83
83
|
wellLocation?: WellLocation;
|
|
84
84
|
minimumZHeight?: number;
|
|
85
85
|
forceDirect?: boolean;
|
|
86
|
+
speed?: number;
|
|
86
87
|
}
|
|
87
88
|
interface MoveToCoordinatesParams {
|
|
88
89
|
pipetteId: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { CommonCommandCreateInfo, CommonCommandRunTimeInfo } from '.';
|
|
2
2
|
import type { StatusBarAnimation } from '../../js/types';
|
|
3
3
|
export type IncidentalCreateCommand = SetStatusBarCreateCommand | SetRailLightsCreateCommand;
|
|
4
4
|
export type IncidentalRunTimeCommand = SetStatusBarRunTimeCommand | SetRailLightsRunTimeCommand;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import type { ErrorCodes } from '../../errors';
|
|
2
|
-
import type {
|
|
3
|
-
import type {
|
|
4
|
-
import type {
|
|
5
|
-
import type { SetupRunTimeCommand, SetupCreateCommand } from './setup';
|
|
6
|
-
import type { TimingRunTimeCommand, TimingCreateCommand } from './timing';
|
|
2
|
+
import type { AnnotationCreateCommand, AnnotationRunTimeCommand } from './annotation';
|
|
3
|
+
import type { CalibrationCreateCommand, CalibrationRunTimeCommand } from './calibration';
|
|
4
|
+
import type { GantryCreateCommand, GantryRunTimeCommand } from './gantry';
|
|
7
5
|
import type { IncidentalCreateCommand, IncidentalRunTimeCommand } from './incidental';
|
|
8
|
-
import type {
|
|
9
|
-
import type {
|
|
10
|
-
import type {
|
|
6
|
+
import type { ModuleCreateCommand, ModuleRunTimeCommand } from './module';
|
|
7
|
+
import type { PipettingCreateCommand, PipettingRunTimeCommand } from './pipetting';
|
|
8
|
+
import type { RobotCreateCommand, RobotRunTimeCommand } from './robot';
|
|
9
|
+
import type { SetupCreateCommand, SetupRunTimeCommand } from './setup';
|
|
10
|
+
import type { TimingCreateCommand, TimingRunTimeCommand } from './timing';
|
|
11
|
+
import type { UnsafeCreateCommand, UnsafeRunTimeCommand } from './unsafe';
|
|
11
12
|
export * from './annotation';
|
|
12
13
|
export * from './calibration';
|
|
13
14
|
export * from './gantry';
|
|
@@ -18,6 +19,7 @@ export * from './setup';
|
|
|
18
19
|
export * from './timing';
|
|
19
20
|
export * from './unsafe';
|
|
20
21
|
export * from './support';
|
|
22
|
+
export * from './robot';
|
|
21
23
|
export interface CommandNote {
|
|
22
24
|
noteKind: 'warning' | 'information' | string;
|
|
23
25
|
shortMessage: string;
|
|
@@ -26,11 +28,11 @@ export interface CommandNote {
|
|
|
26
28
|
}
|
|
27
29
|
export type CommandStatus = 'queued' | 'running' | 'succeeded' | 'failed';
|
|
28
30
|
export type CommandIntent = 'protocol' | 'setup' | 'fixit';
|
|
29
|
-
export interface CommonCommandRunTimeInfo {
|
|
31
|
+
export interface CommonCommandRunTimeInfo<DefinedErrorsT extends DefinedRunCommandError = DefinedRunCommandError> {
|
|
30
32
|
key?: string;
|
|
31
33
|
id: string;
|
|
32
34
|
status: CommandStatus;
|
|
33
|
-
error?:
|
|
35
|
+
error?: RunCommandErrorUndefined | DefinedErrorsT | null;
|
|
34
36
|
createdAt: string;
|
|
35
37
|
startedAt: string | null;
|
|
36
38
|
completedAt: string | null;
|
|
@@ -45,9 +47,12 @@ export interface CommonCommandCreateInfo {
|
|
|
45
47
|
[key: string]: any;
|
|
46
48
|
};
|
|
47
49
|
}
|
|
48
|
-
export type CreateCommand = PipettingCreateCommand | GantryCreateCommand | ModuleCreateCommand | SetupCreateCommand | TimingCreateCommand | CalibrationCreateCommand | AnnotationCreateCommand | IncidentalCreateCommand | UnsafeCreateCommand;
|
|
49
|
-
export type RunTimeCommand = PipettingRunTimeCommand | GantryRunTimeCommand | ModuleRunTimeCommand | SetupRunTimeCommand | TimingRunTimeCommand | CalibrationRunTimeCommand | AnnotationRunTimeCommand | IncidentalRunTimeCommand | UnsafeRunTimeCommand;
|
|
50
|
-
export type RunCommandError = RunCommandErrorUndefined |
|
|
50
|
+
export type CreateCommand = PipettingCreateCommand | GantryCreateCommand | ModuleCreateCommand | SetupCreateCommand | TimingCreateCommand | CalibrationCreateCommand | AnnotationCreateCommand | IncidentalCreateCommand | UnsafeCreateCommand | RobotCreateCommand;
|
|
51
|
+
export type RunTimeCommand = PipettingRunTimeCommand | GantryRunTimeCommand | ModuleRunTimeCommand | SetupRunTimeCommand | TimingRunTimeCommand | CalibrationRunTimeCommand | AnnotationRunTimeCommand | IncidentalRunTimeCommand | UnsafeRunTimeCommand | RobotRunTimeCommand;
|
|
52
|
+
export type RunCommandError = RunCommandErrorUndefined | DefinedRunCommandError;
|
|
53
|
+
export type DefinedRunCommandError = RunCommandRobotActionError | RunCommandFlexStackerError;
|
|
54
|
+
export type RunCommandRobotActionError = RunCommandErrorOverpressure | RunCommandErrorTipPhysicallyAttached;
|
|
55
|
+
export type Failed<CommandT extends RunTimeCommand> = Omit<CommandT, 'result'>;
|
|
51
56
|
export interface RunCommandErrorBase {
|
|
52
57
|
createdAt: string;
|
|
53
58
|
detail: string;
|
|
@@ -57,7 +62,7 @@ export interface RunCommandErrorBase {
|
|
|
57
62
|
export interface RunCommandErrorUndefined extends RunCommandErrorBase {
|
|
58
63
|
errorCode: ErrorCodes;
|
|
59
64
|
errorType: string;
|
|
60
|
-
isDefined:
|
|
65
|
+
isDefined: boolean;
|
|
61
66
|
errorInfo?: Record<string, unknown>;
|
|
62
67
|
}
|
|
63
68
|
export interface RunCommandErrorOverpressure extends RunCommandErrorBase {
|
|
@@ -68,3 +73,36 @@ export interface RunCommandErrorOverpressure extends RunCommandErrorBase {
|
|
|
68
73
|
retryLocation: [number, number, number];
|
|
69
74
|
};
|
|
70
75
|
}
|
|
76
|
+
export interface RunCommandErrorTipPhysicallyAttached extends RunCommandErrorBase {
|
|
77
|
+
errorCode: '3004';
|
|
78
|
+
errorType: 'tipPhysicallyAttached';
|
|
79
|
+
isDefined: true;
|
|
80
|
+
errorInfo: {
|
|
81
|
+
retryLocation: [number, number, number];
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
export interface RunCommandErrorFlexStackerStall extends RunCommandErrorBase {
|
|
85
|
+
errorCode: '2019';
|
|
86
|
+
errorType: 'flexStackerStallOrCollision';
|
|
87
|
+
isDefined: true;
|
|
88
|
+
errorInfo: {
|
|
89
|
+
labwareId?: string;
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
export interface RunCommandErrorFlexStackerShuttle extends RunCommandErrorBase {
|
|
93
|
+
errorCode: '3020';
|
|
94
|
+
errorType: 'flexStackerShuttleMissing';
|
|
95
|
+
isDefined: true;
|
|
96
|
+
errorInfo: {
|
|
97
|
+
labwareId?: string;
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
export interface RunCommandErrorFlexStackerHopper extends RunCommandErrorBase {
|
|
101
|
+
errorCode: '3022';
|
|
102
|
+
errorType: 'flexStackerHopperLabwareFailed';
|
|
103
|
+
isDefined: true;
|
|
104
|
+
errorInfo: {
|
|
105
|
+
labwareId?: string;
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
export type RunCommandFlexStackerError = RunCommandErrorFlexStackerStall | RunCommandErrorFlexStackerShuttle | RunCommandErrorFlexStackerHopper;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { CommonCommandRunTimeInfo,
|
|
2
|
-
import type { LabwareLocationSequence } from './setup';
|
|
1
|
+
import type { CommonCommandCreateInfo, CommonCommandRunTimeInfo, RunCommandFlexStackerError } from '.';
|
|
3
2
|
import type { LabwareDefinition2 } from '../../js';
|
|
3
|
+
import type { LabwareLocationSequence } from './setup';
|
|
4
4
|
export type ModuleRunTimeCommand = MagneticModuleEngageMagnetRunTimeCommand | MagneticModuleDisengageRunTimeCommand | TemperatureModuleSetTargetTemperatureRunTimeCommand | TemperatureModuleDeactivateRunTimeCommand | TemperatureModuleAwaitTemperatureRunTimeCommand | TCSetTargetBlockTemperatureRunTimeCommand | TCSetTargetLidTemperatureRunTimeCommand | TCWaitForBlockTemperatureRunTimeCommand | TCWaitForLidTemperatureRunTimeCommand | TCOpenLidRunTimeCommand | TCCloseLidRunTimeCommand | TCDeactivateBlockRunTimeCommand | TCDeactivateLidRunTimeCommand | TCRunProfileRunTimeCommand | TCRunExtendedProfileRunTimeCommand | TCAwaitProfileCompleteRunTimeCommand | HeaterShakerSetTargetTemperatureRunTimeCommand | HeaterShakerWaitForTemperatureRunTimeCommand | HeaterShakerSetAndWaitForShakeSpeedRunTimeCommand | HeaterShakerOpenLatchRunTimeCommand | HeaterShakerCloseLatchRunTimeCommand | HeaterShakerDeactivateHeaterRunTimeCommand | HeaterShakerDeactivateShakerRunTimeCommand | AbsorbanceReaderOpenLidRunTimeCommand | AbsorbanceReaderCloseLidRunTimeCommand | AbsorbanceReaderInitializeRunTimeCommand | AbsorbanceReaderReadRunTimeCommand | FlexStackerSetStoredLabwareRunTimeCommand | FlexStackerRetrieveRunTimeCommand | FlexStackerStoreRunTimeCommand | FlexStackerFillRunTimeCommand | FlexStackerEmptyRunTimeCommand;
|
|
5
|
-
export type ModuleCreateCommand = MagneticModuleEngageMagnetCreateCommand | MagneticModuleDisengageCreateCommand | TemperatureModuleSetTargetTemperatureCreateCommand | TemperatureModuleDeactivateCreateCommand | TemperatureModuleAwaitTemperatureCreateCommand | TCSetTargetBlockTemperatureCreateCommand | TCSetTargetLidTemperatureCreateCommand | TCWaitForBlockTemperatureCreateCommand | TCWaitForLidTemperatureCreateCommand | TCOpenLidCreateCommand | TCCloseLidCreateCommand | TCDeactivateBlockCreateCommand | TCDeactivateLidCreateCommand | TCRunProfileCreateCommand | TCRunExtendedProfileCreateCommand | TCAwaitProfileCompleteCreateCommand | HeaterShakerWaitForTemperatureCreateCommand | HeaterShakerSetAndWaitForShakeSpeedCreateCommand | HeaterShakerOpenLatchCreateCommand | HeaterShakerCloseLatchCreateCommand | HeaterShakerDeactivateHeaterCreateCommand | HeaterShakerDeactivateShakerCreateCommand | HeaterShakerSetTargetTemperatureCreateCommand | AbsorbanceReaderOpenLidCreateCommand | AbsorbanceReaderCloseLidCreateCommand | AbsorbanceReaderInitializeCreateCommand | AbsorbanceReaderReadCreateCommand | FlexStackerSetStoredLabwareCreateCommand | FlexStackerRetrieveCreateCommand | FlexStackerStoreCreateCommand | FlexStackerFillCreateCommand | FlexStackerEmptyCreateCommand;
|
|
5
|
+
export type ModuleCreateCommand = MagneticModuleEngageMagnetCreateCommand | MagneticModuleDisengageCreateCommand | TemperatureModuleSetTargetTemperatureCreateCommand | TemperatureModuleDeactivateCreateCommand | TemperatureModuleAwaitTemperatureCreateCommand | TCSetTargetBlockTemperatureCreateCommand | TCSetTargetLidTemperatureCreateCommand | TCWaitForBlockTemperatureCreateCommand | TCWaitForLidTemperatureCreateCommand | TCOpenLidCreateCommand | TCCloseLidCreateCommand | TCDeactivateBlockCreateCommand | TCDeactivateLidCreateCommand | TCRunProfileCreateCommand | TCRunExtendedProfileCreateCommand | TCAwaitProfileCompleteCreateCommand | HeaterShakerWaitForTemperatureCreateCommand | HeaterShakerSetAndWaitForShakeSpeedCreateCommand | HeaterShakerOpenLatchCreateCommand | HeaterShakerCloseLatchCreateCommand | HeaterShakerDeactivateHeaterCreateCommand | HeaterShakerDeactivateShakerCreateCommand | HeaterShakerSetTargetTemperatureCreateCommand | AbsorbanceReaderOpenLidCreateCommand | AbsorbanceReaderCloseLidCreateCommand | AbsorbanceReaderInitializeCreateCommand | AbsorbanceReaderReadCreateCommand | FlexStackerSetStoredLabwareCreateCommand | FlexStackerRetrieveCreateCommand | FlexStackerStoreCreateCommand | FlexStackerFillCreateCommand | FlexStackerEmptyCreateCommand | FlexStackerPrepareShuttleCreateCommand | FlexStackerOpenLatch | FlexStackerCloseLatch;
|
|
6
6
|
export interface MagneticModuleEngageMagnetCreateCommand extends CommonCommandCreateInfo {
|
|
7
7
|
commandType: 'magneticModule/engage';
|
|
8
8
|
params: EngageMagnetParams;
|
|
@@ -249,11 +249,30 @@ export interface FlexStackerStoredLabwareDetails {
|
|
|
249
249
|
namespace: string;
|
|
250
250
|
version: number;
|
|
251
251
|
}
|
|
252
|
+
export interface FlexStackerStoredLabwareGroup {
|
|
253
|
+
primaryLabwareId: string;
|
|
254
|
+
adapterLabwareId: string | null;
|
|
255
|
+
lidLabwareId: string | null;
|
|
256
|
+
}
|
|
257
|
+
interface StackerStoredLabwareLocationSequences {
|
|
258
|
+
originalPrimaryLabwareLocationSequences?: LabwareLocationSequence[] | null;
|
|
259
|
+
originalAdapterLabwareLocationSequences?: LabwareLocationSequence[] | null;
|
|
260
|
+
originalLidLabwareLocationSequences?: LabwareLocationSequence[] | null;
|
|
261
|
+
newPrimaryLabwareLocationSequences?: LabwareLocationSequence[] | null;
|
|
262
|
+
newAdapterLabwareLocationSequences?: LabwareLocationSequence[] | null;
|
|
263
|
+
newLidLabwareLocationSequences?: LabwareLocationSequence[] | null;
|
|
264
|
+
}
|
|
265
|
+
interface StackerStoredLabwareDefinitionURIs {
|
|
266
|
+
primaryLabwareURI: string;
|
|
267
|
+
adapterLabwareURI?: string | null;
|
|
268
|
+
lidLabwareURI?: string | null;
|
|
269
|
+
}
|
|
252
270
|
export interface FlexStackerSetStoredLabwareCreateCommand extends CommonCommandCreateInfo {
|
|
253
271
|
commandType: 'flexStacker/setStoredLabware';
|
|
254
272
|
params: {
|
|
255
273
|
moduleId: string;
|
|
256
|
-
initialCount
|
|
274
|
+
initialCount?: number | null;
|
|
275
|
+
initialStoredLabware?: FlexStackerStoredLabwareGroup[] | null;
|
|
257
276
|
primaryLabware: FlexStackerStoredLabwareDetails;
|
|
258
277
|
lidLabware: FlexStackerStoredLabwareDetails | null;
|
|
259
278
|
adapterLabware: FlexStackerStoredLabwareDetails | null;
|
|
@@ -265,7 +284,8 @@ export interface FlexStackerSetStoredLabwareRunTimeCommand extends FlexStackerSe
|
|
|
265
284
|
lidLabwareDefinition?: LabwareDefinition2 | null;
|
|
266
285
|
adapterLabwareDefinition?: LabwareDefinition2 | null;
|
|
267
286
|
count: number;
|
|
268
|
-
|
|
287
|
+
storedLabware: FlexStackerStoredLabwareGroup[];
|
|
288
|
+
} & StackerStoredLabwareLocationSequences;
|
|
269
289
|
}
|
|
270
290
|
export interface FlexStackerRetrieveCreateCommand extends CommonCommandCreateInfo {
|
|
271
291
|
commandType: 'flexStacker/retrieve';
|
|
@@ -286,6 +306,7 @@ export interface FlexStackerFillCreateCommand extends CommonCommandCreateInfo {
|
|
|
286
306
|
strategy: 'manualWithPause' | 'logical';
|
|
287
307
|
message?: string;
|
|
288
308
|
count?: number;
|
|
309
|
+
labwareToStore?: FlexStackerStoredLabwareGroup[];
|
|
289
310
|
};
|
|
290
311
|
}
|
|
291
312
|
export interface FlexStackerEmptyCreateCommand extends CommonCommandCreateInfo {
|
|
@@ -297,35 +318,59 @@ export interface FlexStackerEmptyCreateCommand extends CommonCommandCreateInfo {
|
|
|
297
318
|
count?: number;
|
|
298
319
|
};
|
|
299
320
|
}
|
|
321
|
+
export interface FlexStackerPrepareShuttleCreateCommand extends CommonCommandCreateInfo {
|
|
322
|
+
commandType: 'flexStacker/prepareShuttle';
|
|
323
|
+
params: {
|
|
324
|
+
moduleId: string;
|
|
325
|
+
ignoreLatch?: boolean;
|
|
326
|
+
};
|
|
327
|
+
}
|
|
328
|
+
export interface FlexStackerOpenLatch extends CommonCommandCreateInfo {
|
|
329
|
+
commandType: 'flexStacker/openLatch';
|
|
330
|
+
params: {
|
|
331
|
+
moduleId: string;
|
|
332
|
+
};
|
|
333
|
+
}
|
|
334
|
+
export interface FlexStackerCloseLatch extends CommonCommandCreateInfo {
|
|
335
|
+
commandType: 'flexStacker/closeLatch';
|
|
336
|
+
params: {
|
|
337
|
+
moduleId: string;
|
|
338
|
+
};
|
|
339
|
+
}
|
|
300
340
|
interface RetrieveResultPrimary {
|
|
301
341
|
labwareId: string;
|
|
302
342
|
primaryLocationSequence: LabwareLocationSequence;
|
|
343
|
+
originalPrimaryLocationSequence: LabwareLocationSequence;
|
|
303
344
|
primaryLabwareURI: string;
|
|
304
345
|
}
|
|
305
346
|
interface RetrieveResultNoLid {
|
|
306
347
|
lidId?: null;
|
|
307
348
|
lidLocationSequence?: null;
|
|
349
|
+
originalLidLocationSequence?: null;
|
|
308
350
|
lidLabwareURI?: null;
|
|
309
351
|
}
|
|
310
352
|
interface RetrieveResultLid {
|
|
311
353
|
lidId: string;
|
|
312
354
|
lidLocationSequence: LabwareLocationSequence;
|
|
355
|
+
originalLidLocationSequence: LabwareLocationSequence;
|
|
313
356
|
lidLabwareURI: string;
|
|
314
357
|
}
|
|
315
358
|
interface RetrieveResultAdapter {
|
|
316
359
|
adapterId: string;
|
|
317
360
|
adapterLocationSequence: LabwareLocationSequence;
|
|
361
|
+
originalAdapterLocationSequence: LabwareLocationSequence;
|
|
318
362
|
adapterLabwareURI: string;
|
|
319
363
|
}
|
|
320
364
|
interface RetrieveResultNoAdapter {
|
|
321
365
|
adapterId?: null;
|
|
322
366
|
adapterLocationSequence?: null;
|
|
367
|
+
originalAdapterLocationSequence?: null;
|
|
323
368
|
adapterLabwareURI?: null;
|
|
324
369
|
}
|
|
325
|
-
export interface FlexStackerRetrieveRunTimeCommand extends FlexStackerRetrieveCreateCommand, CommonCommandRunTimeInfo {
|
|
370
|
+
export interface FlexStackerRetrieveRunTimeCommand extends FlexStackerRetrieveCreateCommand, CommonCommandRunTimeInfo<RunCommandFlexStackerError> {
|
|
326
371
|
result?: (RetrieveResultPrimary & RetrieveResultNoLid & RetrieveResultNoAdapter) | (RetrieveResultPrimary & RetrieveResultLid & RetrieveResultNoAdapter) | (RetrieveResultPrimary & RetrieveResultNoLid & RetrieveResultAdapter) | (RetrieveResultPrimary & RetrieveResultAdapter & RetrieveResultLid);
|
|
327
372
|
}
|
|
328
|
-
export interface FlexStackerStoreRunTimeCommand extends FlexStackerStoreCreateCommand, CommonCommandRunTimeInfo {
|
|
373
|
+
export interface FlexStackerStoreRunTimeCommand extends FlexStackerStoreCreateCommand, CommonCommandRunTimeInfo<RunCommandFlexStackerError> {
|
|
329
374
|
result?: {
|
|
330
375
|
eventualDestinationLocationSequence?: LabwareLocationSequence;
|
|
331
376
|
primaryOriginLocationSequence?: LabwareLocationSequence;
|
|
@@ -334,16 +379,20 @@ export interface FlexStackerStoreRunTimeCommand extends FlexStackerStoreCreateCo
|
|
|
334
379
|
adapterLabwareId?: string;
|
|
335
380
|
lidOriginLocationSequence?: LabwareLocationSequence;
|
|
336
381
|
lidLabwareId?: LabwareLocationSequence;
|
|
337
|
-
};
|
|
382
|
+
} & StackerStoredLabwareDefinitionURIs;
|
|
338
383
|
}
|
|
339
384
|
export interface FlexStackerFillRunTimeCommand extends FlexStackerFillCreateCommand, CommonCommandRunTimeInfo {
|
|
340
385
|
result?: {
|
|
341
386
|
count: number;
|
|
342
|
-
|
|
387
|
+
storedLabware?: FlexStackerStoredLabwareGroup[] | null;
|
|
388
|
+
addedLabware?: FlexStackerStoredLabwareGroup[] | null;
|
|
389
|
+
} & StackerStoredLabwareLocationSequences & StackerStoredLabwareDefinitionURIs;
|
|
343
390
|
}
|
|
344
391
|
export interface FlexStackerEmptyRunTimeCommand extends FlexStackerEmptyCreateCommand, CommonCommandRunTimeInfo {
|
|
345
392
|
result?: {
|
|
346
393
|
count: number;
|
|
347
|
-
|
|
394
|
+
storedLabware?: FlexStackerStoredLabwareGroup[] | null;
|
|
395
|
+
removedLabware?: FlexStackerStoredLabwareGroup[] | null;
|
|
396
|
+
} & StackerStoredLabwareLocationSequences & StackerStoredLabwareDefinitionURIs;
|
|
348
397
|
}
|
|
349
398
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type { CommonCommandCreateInfo, CommonCommandRunTimeInfo } from '.';
|
|
1
2
|
import type { AddressableAreaName } from '../../deck';
|
|
2
|
-
import type { CommonCommandRunTimeInfo, CommonCommandCreateInfo } from '.';
|
|
3
3
|
import type { DropTipWellLocation, WellLocation } from './support';
|
|
4
4
|
export type PipettingRunTimeCommand = AspirateInPlaceRunTimeCommand | AspirateInPlaceRunTimeCommand | AspirateRunTimeCommand | BlowoutInPlaceRunTimeCommand | BlowoutRunTimeCommand | ConfigureForVolumeRunTimeCommand | DispenseInPlaceRunTimeCommand | DispenseRunTimeCommand | DropTipInPlaceRunTimeCommand | DropTipRunTimeCommand | GetTipPresenceRunTimeCommand | GetNextTipRunTimeCommand | MoveToAddressableAreaForDropTipRunTimeCommand | PickUpTipRunTimeCommand | PrepareToAspirateRunTimeCommand | TouchTipRunTimeCommand | VerifyTipPresenceRunTimeCommand | LiquidProbeRunTimeCommand | TryLiquidProbeRunTimeCommand | AirGapInPlaceRunTimeCommand | PipetteSealToTipRunTimeCommand | PipetteUnsealFromTipRunTimeCommand | PressureDispenseRunTimeCommand;
|
|
5
5
|
export type PipettingCreateCommand = AspirateCreateCommand | AspirateInPlaceCreateCommand | BlowoutCreateCommand | BlowoutInPlaceCreateCommand | ConfigureForVolumeCreateCommand | DispenseCreateCommand | DispenseInPlaceCreateCommand | DropTipCreateCommand | DropTipInPlaceCreateCommand | GetTipPresenceCreateCommand | GetNextTipCreateCommand | MoveToAddressableAreaForDropTipCreateCommand | PickUpTipCreateCommand | PrepareToAspirateCreateCommand | TouchTipCreateCommand | VerifyTipPresenceCreateCommand | LiquidProbeCreateCommand | TryLiquidProbeCreateCommand | AirGapInPlaceCreateCommand | PipetteSealToTipCreateCommand | PipetteUnsealFromTipCreateCommand | PressureDispenseCreateCommand;
|
|
@@ -14,7 +14,9 @@ export interface ConfigureForVolumeParams {
|
|
|
14
14
|
export interface ConfigureForVolumeRunTimeCommand extends CommonCommandRunTimeInfo, ConfigureForVolumeCreateCommand {
|
|
15
15
|
result?: BasicLiquidHandlingResult;
|
|
16
16
|
}
|
|
17
|
-
export type AirGapInPlaceParams = FlowRateParams & PipetteIdentityParams & VolumeParams
|
|
17
|
+
export type AirGapInPlaceParams = FlowRateParams & PipetteIdentityParams & VolumeParams & {
|
|
18
|
+
correctionVolume?: number;
|
|
19
|
+
};
|
|
18
20
|
export interface AirGapInPlaceCreateCommand extends CommonCommandCreateInfo {
|
|
19
21
|
commandType: 'airGapInPlace';
|
|
20
22
|
params: AirGapInPlaceParams;
|
|
@@ -130,9 +132,10 @@ export interface VerifyTipPresenceCreateCommand extends CommonCommandCreateInfo
|
|
|
130
132
|
export interface VerifyTipPresenceRunTimeCommand extends CommonCommandRunTimeInfo, VerifyTipPresenceCreateCommand {
|
|
131
133
|
result?: any;
|
|
132
134
|
}
|
|
135
|
+
export type LiquidProbeParams = WellLocationParam & PipetteAccessParams;
|
|
133
136
|
export interface LiquidProbeCreateCommand extends CommonCommandCreateInfo {
|
|
134
137
|
commandType: 'liquidProbe';
|
|
135
|
-
params:
|
|
138
|
+
params: LiquidProbeParams;
|
|
136
139
|
}
|
|
137
140
|
export interface LiquidProbeRunTimeCommand extends CommonCommandRunTimeInfo, LiquidProbeCreateCommand {
|
|
138
141
|
result?: Record<string, unknown>;
|
|
@@ -210,11 +213,13 @@ export interface DispenseInPlaceParams {
|
|
|
210
213
|
volume: number;
|
|
211
214
|
flowRate: number;
|
|
212
215
|
pushOut?: number;
|
|
216
|
+
correctionVolume?: number;
|
|
213
217
|
}
|
|
214
218
|
export interface AspirateInPlaceParams {
|
|
215
219
|
pipetteId: string;
|
|
216
220
|
volume: number;
|
|
217
221
|
flowRate: number;
|
|
222
|
+
correctionVolume?: number;
|
|
218
223
|
}
|
|
219
224
|
interface FlowRateParams {
|
|
220
225
|
flowRate: number;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import type { CommonCommandCreateInfo, CommonCommandRunTimeInfo } from '.';
|
|
2
|
+
import type { GantryMount, MotorAxis } from '../../js/types';
|
|
3
|
+
export type RobotRunTimeCommand = RobotMoveToRunTimeCommand | RobotMoveAxesToRunTimeCommand | RobotMoveAxesRelativeRunTimeCommand | RobotOpenGripperJawRunTimeCommand | RobotCloseGripperJawRunTimeCommand;
|
|
4
|
+
export type RobotCreateCommand = RobotMoveToCreateCommand | RobotMoveAxesToCreateCommand | RobotMoveAxesRelativeCreateCommand | RobotOpenGripperJawCreateCommand | RobotCloseGripperJawCreateCommand;
|
|
5
|
+
export type RobotMotorAxisMap = Record<MotorAxis, number>;
|
|
6
|
+
export type GantryAxisMap = {
|
|
7
|
+
x: number;
|
|
8
|
+
y: number;
|
|
9
|
+
leftZ: number;
|
|
10
|
+
} | {
|
|
11
|
+
x: number;
|
|
12
|
+
y: number;
|
|
13
|
+
rightZ: number;
|
|
14
|
+
};
|
|
15
|
+
export interface RobotMoveToParams {
|
|
16
|
+
mount: GantryMount;
|
|
17
|
+
destination: {
|
|
18
|
+
x: number;
|
|
19
|
+
y: number;
|
|
20
|
+
z: number;
|
|
21
|
+
};
|
|
22
|
+
speed?: number;
|
|
23
|
+
}
|
|
24
|
+
export interface RobotMoveToCreateCommand extends CommonCommandCreateInfo {
|
|
25
|
+
commandType: 'robot/moveTo';
|
|
26
|
+
params: RobotMoveToParams;
|
|
27
|
+
}
|
|
28
|
+
export interface RobotMoveToRunTimeCommand extends CommonCommandRunTimeInfo, RobotMoveToCreateCommand {
|
|
29
|
+
result?: any;
|
|
30
|
+
}
|
|
31
|
+
export interface RobotMoveAxesToParams {
|
|
32
|
+
axis_map: RobotMotorAxisMap;
|
|
33
|
+
critical_point?: GantryAxisMap;
|
|
34
|
+
speed?: number;
|
|
35
|
+
}
|
|
36
|
+
export interface RobotMoveAxesToCreateCommand extends CommonCommandCreateInfo {
|
|
37
|
+
commandType: 'robot/moveAxesTo';
|
|
38
|
+
params: RobotMoveAxesToParams;
|
|
39
|
+
}
|
|
40
|
+
export interface RobotMoveAxesToRunTimeCommand extends CommonCommandRunTimeInfo, RobotMoveAxesToCreateCommand {
|
|
41
|
+
result?: {
|
|
42
|
+
position: RobotMotorAxisMap;
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
export interface RobotMoveAxesRelativeParams {
|
|
46
|
+
axis_map: RobotMotorAxisMap;
|
|
47
|
+
speed?: number;
|
|
48
|
+
}
|
|
49
|
+
export interface RobotMoveAxesRelativeCreateCommand extends CommonCommandCreateInfo {
|
|
50
|
+
commandType: 'robot/moveAxesRelative';
|
|
51
|
+
params: RobotMoveAxesRelativeParams;
|
|
52
|
+
}
|
|
53
|
+
export interface RobotMoveAxesRelativeRunTimeCommand extends CommonCommandRunTimeInfo, RobotMoveAxesRelativeCreateCommand {
|
|
54
|
+
result?: {
|
|
55
|
+
position: RobotMotorAxisMap;
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
export interface RobotOpenGripperJawCreateCommand extends CommonCommandCreateInfo {
|
|
59
|
+
commandType: 'robot/openGripperJaw';
|
|
60
|
+
params: {};
|
|
61
|
+
}
|
|
62
|
+
export interface RobotOpenGripperJawRunTimeCommand extends CommonCommandRunTimeInfo, RobotOpenGripperJawCreateCommand {
|
|
63
|
+
result?: any;
|
|
64
|
+
}
|
|
65
|
+
export interface RobotCloseGripperJawCreateCommand extends CommonCommandCreateInfo {
|
|
66
|
+
commandType: 'robot/closeGripperJaw';
|
|
67
|
+
params: {};
|
|
68
|
+
}
|
|
69
|
+
export interface RobotCloseGripperJawRunTimeCommand extends CommonCommandRunTimeInfo, RobotCloseGripperJawCreateCommand {
|
|
70
|
+
result?: any;
|
|
71
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AddressableAreaName,
|
|
1
|
+
import type { AddressableAreaName, AspirateProperties, CommonCommandCreateInfo, CommonCommandRunTimeInfo, LabwareDefinition2, LabwareOffset, ModuleModel, MultiDispenseProperties, PipetteName, SingleDispenseProperties } from '../../js';
|
|
2
2
|
export interface LoadPipetteCreateCommand extends CommonCommandCreateInfo {
|
|
3
3
|
commandType: 'loadPipette';
|
|
4
4
|
params: LoadPipetteParams;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
type
|
|
2
|
-
|
|
1
|
+
import type { WELL_ORIGIN_BOTTOM, WELL_ORIGIN_CENTER, WELL_ORIGIN_MENISCUS, WELL_ORIGIN_TOP } from '../../js/constants';
|
|
2
|
+
type BaseWellOrigin = typeof WELL_ORIGIN_TOP | typeof WELL_ORIGIN_BOTTOM | typeof WELL_ORIGIN_CENTER;
|
|
3
|
+
export type WellOrigin = BaseWellOrigin | typeof WELL_ORIGIN_MENISCUS;
|
|
3
4
|
export interface WellOffset {
|
|
4
5
|
x?: number;
|
|
5
6
|
y?: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { CommonCommandCreateInfo, CommonCommandRunTimeInfo } from '.';
|
|
2
2
|
export type TimingCreateCommand = WaitForResumeCreateCommand | WaitForDurationCreateCommand | DeprecatedDelayCreateCommand;
|
|
3
3
|
export type TimingRunTimeCommand = WaitForResumeRunTimeCommand | WaitForDurationRunTimeCommand | DeprecatedDelayRunTimeCommand;
|
|
4
4
|
export interface WaitForResumeCreateCommand extends CommonCommandCreateInfo {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { CommonCommandCreateInfo, CommonCommandRunTimeInfo, OnDeckLabwareLocation } from '.';
|
|
2
2
|
import type { MotorAxes } from '../../js/types';
|
|
3
|
-
export type UnsafeRunTimeCommand = UnsafeBlowoutInPlaceRunTimeCommand | UnsafeDropTipInPlaceRunTimeCommand | UnsafeUpdatePositionEstimatorsRunTimeCommand | UnsafeEngageAxesRunTimeCommand | UnsafeUngripLabwareRunTimeCommand | UnsafePlaceLabwareRunTimeCommand;
|
|
4
|
-
export type UnsafeCreateCommand = UnsafeBlowoutInPlaceCreateCommand | UnsafeDropTipInPlaceCreateCommand | UnsafeUpdatePositionEstimatorsCreateCommand | UnsafeEngageAxesCreateCommand | UnsafeUngripLabwareCreateCommand | UnsafePlaceLabwareCreateCommand;
|
|
3
|
+
export type UnsafeRunTimeCommand = UnsafeBlowoutInPlaceRunTimeCommand | UnsafeDropTipInPlaceRunTimeCommand | UnsafeUpdatePositionEstimatorsRunTimeCommand | UnsafeEngageAxesRunTimeCommand | UnsafeUngripLabwareRunTimeCommand | UnsafePlaceLabwareRunTimeCommand | UnsafeFlexStackerCloseLatchRunTimeCommand | UnsafeFlexStackerOpenLatchRunTimeCommand | UnsafeFlexStackerPrepareShuttleRunTimeCommand;
|
|
4
|
+
export type UnsafeCreateCommand = UnsafeBlowoutInPlaceCreateCommand | UnsafeDropTipInPlaceCreateCommand | UnsafeUpdatePositionEstimatorsCreateCommand | UnsafeEngageAxesCreateCommand | UnsafeUngripLabwareCreateCommand | UnsafePlaceLabwareCreateCommand | UnsafeFlexStackerManualRetrieveCreateCommand | UnsafeFlexStackerCloseLatchCreateCommand | UnsafeFlexStackerOpenLatchCreateCommand | UnsafeFlexStackerPrepareShuttleCreateCommand;
|
|
5
5
|
export interface UnsafeBlowoutInPlaceParams {
|
|
6
6
|
pipetteId: string;
|
|
7
7
|
flowRate: number;
|
|
@@ -61,3 +61,44 @@ export interface UnsafePlaceLabwareCreateCommand extends CommonCommandCreateInfo
|
|
|
61
61
|
export interface UnsafePlaceLabwareRunTimeCommand extends CommonCommandRunTimeInfo, UnsafePlaceLabwareCreateCommand {
|
|
62
62
|
result?: any;
|
|
63
63
|
}
|
|
64
|
+
export interface UnsafeFlexStackerManualRetrieveParams {
|
|
65
|
+
moduleId: string;
|
|
66
|
+
}
|
|
67
|
+
export interface UnsafeFlexStackerManualRetrieveCreateCommand extends CommonCommandCreateInfo {
|
|
68
|
+
commandType: 'unsafe/flexStacker/manualRetrieve';
|
|
69
|
+
params: UnsafeFlexStackerManualRetrieveParams;
|
|
70
|
+
}
|
|
71
|
+
export interface UnsafeFlexStackerManualRetrieveLatchRunTimeCommand extends CommonCommandRunTimeInfo, UnsafeFlexStackerManualRetrieveCreateCommand {
|
|
72
|
+
result?: any;
|
|
73
|
+
}
|
|
74
|
+
export interface UnsafeFlexStackerCloseLatchParams {
|
|
75
|
+
moduleId: string;
|
|
76
|
+
}
|
|
77
|
+
export interface UnsafeFlexStackerCloseLatchCreateCommand extends CommonCommandCreateInfo {
|
|
78
|
+
commandType: 'unsafe/flexStacker/closeLatch';
|
|
79
|
+
params: UnsafeFlexStackerCloseLatchParams;
|
|
80
|
+
}
|
|
81
|
+
export interface UnsafeFlexStackerCloseLatchRunTimeCommand extends CommonCommandRunTimeInfo, UnsafeFlexStackerCloseLatchCreateCommand {
|
|
82
|
+
result?: any;
|
|
83
|
+
}
|
|
84
|
+
export interface UnsafeFlexStackerOpenLatchParams {
|
|
85
|
+
moduleId: string;
|
|
86
|
+
}
|
|
87
|
+
export interface UnsafeFlexStackerOpenLatchCreateCommand extends CommonCommandCreateInfo {
|
|
88
|
+
commandType: 'unsafe/flexStacker/openLatch';
|
|
89
|
+
params: UnsafeFlexStackerOpenLatchParams;
|
|
90
|
+
}
|
|
91
|
+
export interface UnsafeFlexStackerOpenLatchRunTimeCommand extends CommonCommandRunTimeInfo, UnsafeFlexStackerOpenLatchCreateCommand {
|
|
92
|
+
result?: any;
|
|
93
|
+
}
|
|
94
|
+
export interface UnsafeFlexStackerPrepareShuttleParams {
|
|
95
|
+
moduleId: string;
|
|
96
|
+
ignoreLatch?: boolean;
|
|
97
|
+
}
|
|
98
|
+
export interface UnsafeFlexStackerPrepareShuttleCreateCommand extends CommonCommandCreateInfo {
|
|
99
|
+
commandType: 'unsafe/flexStacker/prepareShuttle';
|
|
100
|
+
params: UnsafeFlexStackerPrepareShuttleParams;
|
|
101
|
+
}
|
|
102
|
+
export interface UnsafeFlexStackerPrepareShuttleRunTimeCommand extends CommonCommandRunTimeInfo, UnsafeFlexStackerPrepareShuttleCreateCommand {
|
|
103
|
+
result?: any;
|
|
104
|
+
}
|
package/lib/deck/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import ot2StandardDeckV3 from './definitions/3/ot2_standard.json';
|
|
2
1
|
import ot2ShortFixedTrashDeckV3 from './definitions/3/ot2_short_trash.json';
|
|
2
|
+
import ot2StandardDeckV3 from './definitions/3/ot2_standard.json';
|
|
3
3
|
import ot3StandardDeckV3 from './definitions/3/ot3_standard.json';
|
|
4
|
-
import ot2StandardDeckV4 from './definitions/4/ot2_standard.json';
|
|
5
4
|
import ot2ShortFixedTrashDeckV4 from './definitions/4/ot2_short_trash.json';
|
|
5
|
+
import ot2StandardDeckV4 from './definitions/4/ot2_standard.json';
|
|
6
6
|
import ot3StandardDeckV4 from './definitions/4/ot3_standard.json';
|
|
7
|
-
import ot2StandardDeckV5 from './definitions/5/ot2_standard.json';
|
|
8
7
|
import ot2ShortFixedTrashDeckV5 from './definitions/5/ot2_short_trash.json';
|
|
8
|
+
import ot2StandardDeckV5 from './definitions/5/ot2_standard.json';
|
|
9
9
|
import ot3StandardDeckV5 from './definitions/5/ot3_standard.json';
|
|
10
10
|
import deckExample from './fixtures/3/deckExample.json';
|
|
11
11
|
import type { DeckDefinition } from '../js/types';
|
|
@@ -210,6 +210,18 @@
|
|
|
210
210
|
"detail": "HEPA UV Failed",
|
|
211
211
|
"category": "roboticsInteractionError"
|
|
212
212
|
},
|
|
213
|
+
"3020": {
|
|
214
|
+
"detail": "Flex Stacker Shuttle Missing",
|
|
215
|
+
"category": "roboticsInteractionError"
|
|
216
|
+
},
|
|
217
|
+
"3021": {
|
|
218
|
+
"detail": "Flex Stacker Shuttle Labware Detection Failed",
|
|
219
|
+
"category": "roboticsInteractionError"
|
|
220
|
+
},
|
|
221
|
+
"3022": {
|
|
222
|
+
"detail": "Flex Stacker Hopper Labware Detection Failed",
|
|
223
|
+
"category": "roboticsInteractionError"
|
|
224
|
+
},
|
|
213
225
|
"4000": {
|
|
214
226
|
"detail": "Unknown or Uncategorized Error",
|
|
215
227
|
"category": "generalError"
|