@opentrons/step-generation 0.3.22-alpha.0 → 0.3.24-alpha.0

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.
Files changed (36) hide show
  1. package/README.md +1 -1
  2. package/lib/commandCreators/atomic/disengageMagnet.d.ts +2 -3
  3. package/lib/commandCreators/atomic/dropTipInPlace.d.ts +2 -3
  4. package/lib/commandCreators/atomic/engageMagnet.d.ts +2 -3
  5. package/lib/commandCreators/atomic/liquidProbe.d.ts +2 -3
  6. package/lib/commandCreators/atomic/moveLabware.d.ts +2 -3
  7. package/lib/commandCreators/atomic/moveRelative.d.ts +2 -3
  8. package/lib/commandCreators/atomic/moveToAddressableAreaForDropTip.d.ts +2 -3
  9. package/lib/commandCreators/atomic/moveToCoordinates.d.ts +2 -3
  10. package/lib/commandCreators/atomic/moveToWell.d.ts +2 -3
  11. package/lib/commandCreators/atomic/thermocyclerCloseLid.d.ts +2 -3
  12. package/lib/commandCreators/atomic/thermocyclerDeactivateBlock.d.ts +2 -3
  13. package/lib/commandCreators/atomic/thermocyclerDeactivateLid.d.ts +2 -3
  14. package/lib/commandCreators/atomic/thermocyclerOpenLid.d.ts +2 -3
  15. package/lib/commandCreators/atomic/thermocyclerSetTargetBlockTemperature.d.ts +2 -3
  16. package/lib/commandCreators/atomic/thermocyclerSetTargetLidTemperature.d.ts +2 -3
  17. package/lib/commandCreators/atomic/thermocyclerStartRunExtendedProfile.d.ts +2 -3
  18. package/lib/commandCreators/atomic/tryLiquidProbe.d.ts +2 -3
  19. package/lib/getNextRobotStateAndWarnings/absorbanceReaderUpdates.d.ts +4 -5
  20. package/lib/getNextRobotStateAndWarnings/forConfigureNozzleLayout.d.ts +2 -11
  21. package/lib/getNextRobotStateAndWarnings/forDropTip.d.ts +2 -3
  22. package/lib/getNextRobotStateAndWarnings/forMoveLabware.d.ts +2 -3
  23. package/lib/getNextRobotStateAndWarnings/forMoveToAddressableArea.d.ts +4 -2
  24. package/lib/getNextRobotStateAndWarnings/forMoveToWell.d.ts +2 -3
  25. package/lib/getNextRobotStateAndWarnings/forPickUpTip.d.ts +2 -3
  26. package/lib/getNextRobotStateAndWarnings/heaterShakerUpdates.d.ts +8 -9
  27. package/lib/getNextRobotStateAndWarnings/inPlaceCommandUpdates.d.ts +3 -3
  28. package/lib/getNextRobotStateAndWarnings/magnetUpdates.d.ts +3 -4
  29. package/lib/getNextRobotStateAndWarnings/stackerUpdates.d.ts +22 -7
  30. package/lib/getNextRobotStateAndWarnings/temperatureUpdates.d.ts +4 -5
  31. package/lib/getNextRobotStateAndWarnings/thermocyclerUpdates.d.ts +32 -15
  32. package/lib/getNextRobotStateAndWarnings/vacuumUpdates.d.ts +13 -8
  33. package/lib/index.cjs +100 -100
  34. package/lib/index.mjs +8305 -7383
  35. package/lib/types.d.ts +87 -0
  36. package/package.json +2 -2
package/README.md CHANGED
@@ -8,7 +8,7 @@
8
8
 
9
9
  ## Version
10
10
 
11
- `0.3.22-alpha.0`
11
+ `0.3.24-alpha.0`
12
12
 
13
13
  ## License
14
14
 
@@ -1,4 +1,3 @@
1
- import type { ModuleOnlyParams } from '@opentrons/shared-data';
2
- import type { CommandCreator } from '../../types';
1
+ import type { CommandCreator, ModuleStepGenArgs } from '../../types';
3
2
  /** Disengage magnet of specified magnetic module. */
4
- export declare const disengageMagnet: CommandCreator<ModuleOnlyParams>;
3
+ export declare const disengageMagnet: CommandCreator<ModuleStepGenArgs>;
@@ -1,3 +1,2 @@
1
- import type { DropTipInPlaceParams } from '@opentrons/shared-data';
2
- import type { CommandCreator } from '../../types';
3
- export declare const dropTipInPlace: CommandCreator<DropTipInPlaceParams>;
1
+ import type { CommandCreator, DropTipInPlaceStepGenArgs } from '../../types';
2
+ export declare const dropTipInPlace: CommandCreator<DropTipInPlaceStepGenArgs>;
@@ -1,4 +1,3 @@
1
- import type { EngageMagnetParams } from '@opentrons/shared-data';
2
- import type { CommandCreator } from '../../types';
1
+ import type { CommandCreator, EngageMagnetStepGenArgs } from '../../types';
3
2
  /** Engage magnet of specified magnetic module to given engage height. */
4
- export declare const engageMagnet: CommandCreator<EngageMagnetParams>;
3
+ export declare const engageMagnet: CommandCreator<EngageMagnetStepGenArgs>;
@@ -1,3 +1,2 @@
1
- import type { LiquidProbeParams } from '@opentrons/shared-data';
2
- import type { CommandCreator } from '../../types';
3
- export declare const liquidProbe: CommandCreator<LiquidProbeParams>;
1
+ import type { CommandCreator, LiquidProbeStepGenArgs } from '../../types';
2
+ export declare const liquidProbe: CommandCreator<LiquidProbeStepGenArgs>;
@@ -1,5 +1,4 @@
1
- import type { MoveLabwareParams } from '@opentrons/shared-data';
2
- import type { CommandCreator } from '../../types';
1
+ import type { CommandCreator, MoveLabwareStepGenArgs } from '../../types';
3
2
  export declare const TIPRACK_LID_LOADNAME = "opentrons_flex_tiprack_lid";
4
3
  /** Move labware from one location to another, manually or via a gripper. */
5
- export declare const moveLabware: CommandCreator<MoveLabwareParams>;
4
+ export declare const moveLabware: CommandCreator<MoveLabwareStepGenArgs>;
@@ -1,3 +1,2 @@
1
- import type { MoveRelativeCreateCommand } from '@opentrons/shared-data';
2
- import type { CommandCreator } from '../../types';
3
- export declare const moveRelative: CommandCreator<MoveRelativeCreateCommand['params']>;
1
+ import type { CommandCreator, MoveRelativeStepGenArgs } from '../../types';
2
+ export declare const moveRelative: CommandCreator<MoveRelativeStepGenArgs>;
@@ -1,3 +1,2 @@
1
- import type { MoveToAddressableAreaForDropTipParams } from '@opentrons/shared-data';
2
- import type { CommandCreator } from '../../types';
3
- export declare const moveToAddressableAreaForDropTip: CommandCreator<MoveToAddressableAreaForDropTipParams>;
1
+ import type { CommandCreator, MoveToAddressableAreaForDropTipStepGenArgs } from '../../types';
2
+ export declare const moveToAddressableAreaForDropTip: CommandCreator<MoveToAddressableAreaForDropTipStepGenArgs>;
@@ -1,3 +1,2 @@
1
- import type { MoveToCoordinatesCreateCommand } from '@opentrons/shared-data';
2
- import type { CommandCreator } from '../../types';
3
- export declare const moveToCoordinates: CommandCreator<MoveToCoordinatesCreateCommand['params']>;
1
+ import type { CommandCreator, MoveToCoordinatesStepGenArgs } from '../../types';
2
+ export declare const moveToCoordinates: CommandCreator<MoveToCoordinatesStepGenArgs>;
@@ -1,4 +1,3 @@
1
- import type { MoveToWellParams } from '@opentrons/shared-data';
2
- import type { CommandCreator } from '../../types';
1
+ import type { CommandCreator, MoveToWellStepGenArgs } from '../../types';
3
2
  /** Move to specified well of labware, with optional offset and pathing options. */
4
- export declare const moveToWell: CommandCreator<MoveToWellParams>;
3
+ export declare const moveToWell: CommandCreator<MoveToWellStepGenArgs>;
@@ -1,3 +1,2 @@
1
- import type { ModuleOnlyParams } from '@opentrons/shared-data';
2
- import type { CommandCreator } from '../../types';
3
- export declare const thermocyclerCloseLid: CommandCreator<ModuleOnlyParams>;
1
+ import type { CommandCreator, ModuleStepGenArgs } from '../../types';
2
+ export declare const thermocyclerCloseLid: CommandCreator<ModuleStepGenArgs>;
@@ -1,3 +1,2 @@
1
- import type { ModuleOnlyParams } from '@opentrons/shared-data';
2
- import type { CommandCreator } from '../../types';
3
- export declare const thermocyclerDeactivateBlock: CommandCreator<ModuleOnlyParams>;
1
+ import type { CommandCreator, ModuleStepGenArgs } from '../../types';
2
+ export declare const thermocyclerDeactivateBlock: CommandCreator<ModuleStepGenArgs>;
@@ -1,3 +1,2 @@
1
- import type { ModuleOnlyParams } from '@opentrons/shared-data';
2
- import type { CommandCreator } from '../../types';
3
- export declare const thermocyclerDeactivateLid: CommandCreator<ModuleOnlyParams>;
1
+ import type { CommandCreator, ModuleStepGenArgs } from '../../types';
2
+ export declare const thermocyclerDeactivateLid: CommandCreator<ModuleStepGenArgs>;
@@ -1,3 +1,2 @@
1
- import type { ModuleOnlyParams } from '@opentrons/shared-data';
2
- import type { CommandCreator } from '../../types';
3
- export declare const thermocyclerOpenLid: CommandCreator<ModuleOnlyParams>;
1
+ import type { CommandCreator, ModuleStepGenArgs } from '../../types';
2
+ export declare const thermocyclerOpenLid: CommandCreator<ModuleStepGenArgs>;
@@ -1,3 +1,2 @@
1
- import type { TemperatureParams } from '@opentrons/shared-data';
2
- import type { CommandCreator } from '../../types';
3
- export declare const thermocyclerSetTargetBlockTemperature: CommandCreator<TemperatureParams>;
1
+ import type { CommandCreator, ThermocyclerSetTargetBlockTemperatureStepGenArgs } from '../../types';
2
+ export declare const thermocyclerSetTargetBlockTemperature: CommandCreator<ThermocyclerSetTargetBlockTemperatureStepGenArgs>;
@@ -1,3 +1,2 @@
1
- import type { TemperatureParams } from '@opentrons/shared-data';
2
- import type { CommandCreator } from '../../types';
3
- export declare const thermocyclerSetTargetLidTemperature: CommandCreator<TemperatureParams>;
1
+ import type { CommandCreator, ThermocyclerSetTargetLidTemperatureStepGenArgs } from '../../types';
2
+ export declare const thermocyclerSetTargetLidTemperature: CommandCreator<ThermocyclerSetTargetLidTemperatureStepGenArgs>;
@@ -1,7 +1,6 @@
1
- import type { TCStartExtendedProfileParams } from '@opentrons/shared-data';
2
- import type { CommandCreator } from '../../types';
1
+ import type { CommandCreator, ThermocyclerStartRunExtendedProfileStepGenArgs } from '../../types';
3
2
  /**
4
3
  * NOTE: `args.taskId` pulls double duty as the name of the Python variable,
5
4
  * so it should be snake_case.
6
5
  */
7
- export declare const thermocyclerStartRunExtendedProfile: CommandCreator<TCStartExtendedProfileParams>;
6
+ export declare const thermocyclerStartRunExtendedProfile: CommandCreator<ThermocyclerStartRunExtendedProfileStepGenArgs>;
@@ -1,3 +1,2 @@
1
- import type { TryLiquidProbeCreateCommand } from '@opentrons/shared-data';
2
- import type { CommandCreator } from '../../types';
3
- export declare const tryLiquidProbe: CommandCreator<TryLiquidProbeCreateCommand['params']>;
1
+ import type { CommandCreator, TryLiquidProbeStepGenArgs } from '../../types';
2
+ export declare const tryLiquidProbe: CommandCreator<TryLiquidProbeStepGenArgs>;
@@ -1,5 +1,4 @@
1
- import type { AbsorbanceReaderInitializeParams, ModuleOnlyParams } from '@opentrons/shared-data';
2
- import type { InvariantContext, RobotStateAndWarnings } from '../types';
3
- export declare const forAbsorbanceReaderOpenLid: (params: ModuleOnlyParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
4
- export declare const forAbsorbanceReaderCloseLid: (params: ModuleOnlyParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
5
- export declare const forAbsorbanceReaderInitialize: (params: AbsorbanceReaderInitializeParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
1
+ import type { AbsorbanceReaderInitializeStepGenArgs, InvariantContext, ModuleStepGenArgs, RobotStateAndWarnings } from '../types';
2
+ export declare const forAbsorbanceReaderOpenLid: (params: ModuleStepGenArgs, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
3
+ export declare const forAbsorbanceReaderCloseLid: (params: ModuleStepGenArgs, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
4
+ export declare const forAbsorbanceReaderInitialize: (params: AbsorbanceReaderInitializeStepGenArgs, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
@@ -1,11 +1,2 @@
1
- import type { NozzleConfigurationStyle, PrimaryNozzleConfigurationStyle } from '@opentrons/shared-data';
2
- import type { InvariantContext, RobotStateAndWarnings } from '../types';
3
- interface ConfigureNozzleLayoutParams {
4
- pipetteId: string;
5
- configurationParams: {
6
- style: NozzleConfigurationStyle;
7
- primaryNozzle?: PrimaryNozzleConfigurationStyle;
8
- };
9
- }
10
- export declare function forConfigureNozzleLayout(params: ConfigureNozzleLayoutParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings): void;
11
- export {};
1
+ import type { ConfigureNozzleLayoutStepGenArgs, InvariantContext, RobotStateAndWarnings } from '../types';
2
+ export declare function forConfigureNozzleLayout(params: ConfigureNozzleLayoutStepGenArgs, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings): void;
@@ -1,3 +1,2 @@
1
- import type { DropTipParams } from '@opentrons/shared-data/protocol/types/schemaV6/command/pipetting';
2
- import type { InvariantContext, RobotStateAndWarnings } from '../types';
3
- export declare function forDropTip(params: DropTipParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings): void;
1
+ import type { DropTipStepGenArgs, InvariantContext, RobotStateAndWarnings } from '../types';
2
+ export declare function forDropTip(params: DropTipStepGenArgs, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings): void;
@@ -1,3 +1,2 @@
1
- import type { MoveLabwareParams } from '@opentrons/shared-data';
2
- import type { InvariantContext, RobotStateAndWarnings } from '../types';
3
- export declare function forMoveLabware(params: MoveLabwareParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings): void;
1
+ import type { InvariantContext, MoveLabwareStepGenArgs, RobotStateAndWarnings } from '../types';
2
+ export declare function forMoveLabware(params: MoveLabwareStepGenArgs, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings): void;
@@ -1,3 +1,5 @@
1
- import type { MoveToAddressableAreaForDropTipParams, MoveToAddressableAreaParams } from '@opentrons/shared-data';
2
1
  import type { InvariantContext, RobotStateAndWarnings } from '../types';
3
- export declare function forMoveToAddressableArea(params: MoveToAddressableAreaParams | MoveToAddressableAreaForDropTipParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings): void;
2
+ export declare function forMoveToAddressableArea(params: {
3
+ pipetteId: string;
4
+ addressableAreaName: string;
5
+ }, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings): void;
@@ -1,3 +1,2 @@
1
- import type { MoveToWellParams } from '@opentrons/shared-data';
2
- import type { InvariantContext, RobotStateAndWarnings } from '../types';
3
- export declare function forMoveToWell(params: MoveToWellParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings): void;
1
+ import type { InvariantContext, MoveToWellStepGenArgs, RobotStateAndWarnings } from '../types';
2
+ export declare function forMoveToWell(params: MoveToWellStepGenArgs, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings): void;
@@ -1,3 +1,2 @@
1
- import type { PickUpTipParams } from '@opentrons/shared-data';
2
- import type { InvariantContext, RobotStateAndWarnings } from '../types';
3
- export declare function forPickUpTip(params: PickUpTipParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings): void;
1
+ import type { InvariantContext, PickUpTipStepGenArgs, RobotStateAndWarnings } from '../types';
2
+ export declare function forPickUpTip(params: PickUpTipStepGenArgs, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings): void;
@@ -1,9 +1,8 @@
1
- import type { ModuleOnlyParams, ShakeSpeedParams, TemperatureParams } from '@opentrons/shared-data/protocol/types/schemaV6/command/module';
2
- import type { InvariantContext, RobotStateAndWarnings } from '../types';
3
- export declare const forHeaterShakerSetTargetTemperature: (params: TemperatureParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
4
- export declare const forHeaterShakerAwaitTemperature: (params: ModuleOnlyParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
5
- export declare const forHeaterShakerDeactivateHeater: (params: ModuleOnlyParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
6
- export declare const forHeaterShakerSetTargetShakeSpeed: (params: ShakeSpeedParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
7
- export declare const forHeaterShakerStopShake: (params: ModuleOnlyParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
8
- export declare const forHeaterShakerOpenLatch: (params: ModuleOnlyParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
9
- export declare const forHeaterShakerCloseLatch: (params: ModuleOnlyParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
1
+ import type { HeaterShakerSetTargetShakeSpeedStepGenArgs, InvariantContext, ModuleStepGenArgs, RobotStateAndWarnings, SetTemperatureStepGenArgs } from '../types';
2
+ export declare const forHeaterShakerSetTargetTemperature: (params: SetTemperatureStepGenArgs, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
3
+ export declare const forHeaterShakerAwaitTemperature: (params: ModuleStepGenArgs, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
4
+ export declare const forHeaterShakerDeactivateHeater: (params: ModuleStepGenArgs, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
5
+ export declare const forHeaterShakerSetTargetShakeSpeed: (params: HeaterShakerSetTargetShakeSpeedStepGenArgs, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
6
+ export declare const forHeaterShakerStopShake: (params: ModuleStepGenArgs, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
7
+ export declare const forHeaterShakerOpenLatch: (params: ModuleStepGenArgs, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
8
+ export declare const forHeaterShakerCloseLatch: (params: ModuleStepGenArgs, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
@@ -1,4 +1,4 @@
1
- import type { BlowoutInPlaceParams, DropTipInPlaceParams } from '@opentrons/shared-data';
2
- import type { InvariantContext, RobotStateAndWarnings } from '../types';
3
- export declare const forBlowOutInPlace: (params: BlowoutInPlaceParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
1
+ import type { DropTipInPlaceParams } from '@opentrons/shared-data';
2
+ import type { BlowOutInPlaceStepGenArgs, InvariantContext, RobotStateAndWarnings } from '../types';
3
+ export declare const forBlowOutInPlace: (params: BlowOutInPlaceStepGenArgs, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
4
4
  export declare const forDropTipInPlace: (params: DropTipInPlaceParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
@@ -1,4 +1,3 @@
1
- import type { EngageMagnetParams, ModuleOnlyParams } from '@opentrons/shared-data/protocol/types/schemaV6/command/module';
2
- import type { InvariantContext, RobotStateAndWarnings } from '../types';
3
- export declare function forEngageMagnet(params: EngageMagnetParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings): void;
4
- export declare function forDisengageMagnet(params: ModuleOnlyParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings): void;
1
+ import type { EngageMagnetStepGenArgs, InvariantContext, ModuleStepGenArgs, RobotStateAndWarnings } from '../types';
2
+ export declare function forEngageMagnet(params: EngageMagnetStepGenArgs, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings): void;
3
+ export declare function forDisengageMagnet(params: ModuleStepGenArgs, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings): void;
@@ -1,9 +1,24 @@
1
- import type { FlexStackerEmptyCreateCommand, FlexStackerFillItemsParams, FlexStackerFillParams, FlexStackerRetrieveCreateCommand, FlexStackerSetStoredLabwareItemsParams, FlexStackerSetStoredLabwareParams, FlexStackerStoreCreateCommand } from '@opentrons/shared-data';
2
- import type { InvariantContext, RobotStateAndWarnings } from '../types';
3
- export declare const forFlexStackerEmpty: (params: FlexStackerEmptyCreateCommand['params'], invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
1
+ import type { FlexStackerEmptyCreateCommand, FlexStackerFillItemsParams, FlexStackerFillParams, FlexStackerSetStoredLabwareItemsParams, FlexStackerSetStoredLabwareParams, FlexStackerStoredLabwareDetails } from '@opentrons/shared-data';
2
+ import type { InvariantContext, ModuleStepGenArgs, RobotStateAndWarnings } from '../types';
3
+ export declare const forFlexStackerEmpty: (params: Omit<FlexStackerEmptyCreateCommand['params'], 'count'> & {
4
+ count?: number | string;
5
+ }, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
4
6
  export declare const forFlexStackerFillItems: (params: FlexStackerFillItemsParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
5
- export declare const forFlexStackerSetStoredLabware: (params: FlexStackerSetStoredLabwareParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
7
+ export declare const forFlexStackerSetStoredLabware: (params: Omit<FlexStackerSetStoredLabwareParams, 'initialCount' | 'primaryLabware' | 'adapterLabware' | 'lidLabware'> & {
8
+ initialCount?: number | string | null;
9
+ primaryLabware: Omit<FlexStackerStoredLabwareDetails, 'version'> & {
10
+ version: number | string;
11
+ };
12
+ adapterLabware?: (Omit<FlexStackerStoredLabwareDetails, 'version'> & {
13
+ version: number | string;
14
+ }) | null;
15
+ lidLabware?: (Omit<FlexStackerStoredLabwareDetails, 'version'> & {
16
+ version: number | string;
17
+ }) | null;
18
+ }, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
6
19
  export declare const forFlexStackerSetStoredLabwareItems: (params: FlexStackerSetStoredLabwareItemsParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
7
- export declare const forFlexStackerFill: (params: FlexStackerFillParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
8
- export declare const forFlexStackerRetrieve: (params: FlexStackerRetrieveCreateCommand['params'], invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
9
- export declare const forFlexStackerStore: (params: FlexStackerStoreCreateCommand['params'], invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
20
+ export declare const forFlexStackerFill: (params: Omit<FlexStackerFillParams, 'count'> & {
21
+ count?: number | string;
22
+ }, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
23
+ export declare const forFlexStackerRetrieve: (params: ModuleStepGenArgs, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
24
+ export declare const forFlexStackerStore: (params: ModuleStepGenArgs, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
@@ -1,5 +1,4 @@
1
- import type { ModuleOnlyParams, TemperatureModuleAwaitTemperatureParams, TemperatureParams } from '@opentrons/shared-data';
2
- import type { InvariantContext, RobotStateAndWarnings } from '../types';
3
- export declare function forSetTemperature(params: TemperatureParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings): void;
4
- export declare function forAwaitTemperature(params: TemperatureModuleAwaitTemperatureParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings): void;
5
- export declare function forDeactivateTemperature(params: ModuleOnlyParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings): void;
1
+ import type { InvariantContext, ModuleStepGenArgs, RobotStateAndWarnings, SetTemperatureStepGenArgs, WaitForTemperatureStepGenArgs } from '../types';
2
+ export declare function forSetTemperature(params: SetTemperatureStepGenArgs, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings): void;
3
+ export declare function forAwaitTemperature(params: WaitForTemperatureStepGenArgs, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings): void;
4
+ export declare function forDeactivateTemperature(params: ModuleStepGenArgs, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings): void;
@@ -1,18 +1,34 @@
1
- import type { TCExtendedProfileParams, TCStartExtendedProfileParams } from '@opentrons/shared-data';
2
- import type { ModuleOnlyParams, TCProfileParams, TemperatureParams, ThermocyclerSetTargetBlockTemperatureParams } from '@opentrons/shared-data/protocol/types/schemaV6/command/module';
3
- import type { InvariantContext, RobotStateAndWarnings, ThermocyclerModuleState } from '../types';
4
- export declare const forThermocyclerSetTargetBlockTemperature: (params: ThermocyclerSetTargetBlockTemperatureParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
5
- export declare const forThermocyclerSetTargetLidTemperature: (params: TemperatureParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
6
- export declare const forThermocyclerAwaitBlockTemperature: (params: ModuleOnlyParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
7
- export declare const forThermocyclerAwaitLidTemperature: (params: ModuleOnlyParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
8
- export declare const forThermocyclerAwaitProfileComplete: (params: ModuleOnlyParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
9
- export declare const forThermocyclerDeactivateBlock: (params: ModuleOnlyParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
10
- export declare const forThermocyclerDeactivateLid: (params: ModuleOnlyParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
11
- export declare const forThermocyclerCloseLid: (params: ModuleOnlyParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
12
- export declare const forThermocyclerOpenLid: (params: ModuleOnlyParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
13
- export declare const forThermocyclerRunProfile: (params: TCProfileParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
14
- export declare const forThermocyclerRunExtendedProfile: (params: TCExtendedProfileParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
15
- export declare const forThermocyclerStartRunExtendedProfile: (params: TCStartExtendedProfileParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
1
+ import type { InvariantContext, ModuleStepGenArgs, RobotStateAndWarnings, SetTemperatureStepGenArgs, ThermocyclerModuleState } from '../types';
2
+ interface RuntimeProfileStep {
3
+ celsius: number | string;
4
+ holdSeconds: number | string;
5
+ }
6
+ type RuntimeProfileElement = RuntimeProfileStep | {
7
+ steps: RuntimeProfileStep[];
8
+ repetitions: number | string;
9
+ };
10
+ export declare const forThermocyclerSetTargetBlockTemperature: (params: SetTemperatureStepGenArgs, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
11
+ export declare const forThermocyclerSetTargetLidTemperature: (params: SetTemperatureStepGenArgs, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
12
+ export declare const forThermocyclerAwaitBlockTemperature: (params: ModuleStepGenArgs, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
13
+ export declare const forThermocyclerAwaitLidTemperature: (params: ModuleStepGenArgs, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
14
+ export declare const forThermocyclerAwaitProfileComplete: (params: ModuleStepGenArgs, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
15
+ export declare const forThermocyclerDeactivateBlock: (params: ModuleStepGenArgs, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
16
+ export declare const forThermocyclerDeactivateLid: (params: ModuleStepGenArgs, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
17
+ export declare const forThermocyclerCloseLid: (params: ModuleStepGenArgs, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
18
+ export declare const forThermocyclerOpenLid: (params: ModuleStepGenArgs, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
19
+ export declare const forThermocyclerRunProfile: (params: ModuleStepGenArgs & {
20
+ profile: RuntimeProfileStep[];
21
+ blockMaxVolumeUl?: number | string;
22
+ }, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
23
+ export declare const forThermocyclerRunExtendedProfile: (params: ModuleStepGenArgs & {
24
+ profileElements: RuntimeProfileElement[];
25
+ blockMaxVolumeUl?: number | string;
26
+ }, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
27
+ export declare const forThermocyclerStartRunExtendedProfile: (params: ModuleStepGenArgs & {
28
+ profileElements: RuntimeProfileElement[];
29
+ blockMaxVolumeUl?: number | string;
30
+ taskId?: string | null;
31
+ }, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => boolean;
16
32
  /**
17
33
  * Update Thermocycler state to account for the given task being awaited.
18
34
  *
@@ -20,3 +36,4 @@ export declare const forThermocyclerStartRunExtendedProfile: (params: TCStartExt
20
36
  * If it's not a Thermocycler-related task, this returns `false` and no-ops.
21
37
  */
22
38
  export declare const handleWaitForTaskForThermocyclers: (thermocyclerModuleState: ThermocyclerModuleState) => boolean;
39
+ export {};
@@ -1,9 +1,14 @@
1
- import type { VacuumModuleOpenVentCreateCommand, VacuumModuleSetTargetPowerCreateCommand, VacuumModuleSetTargetPressureCreateCommand, VacuumModuleStartRunProfileCreateCommand, VacuumModuleStopPumpCreateCommand } from '@opentrons/shared-data';
2
- import type { InvariantContext, RobotStateAndWarnings, VacuumModuleState } from '../types';
3
- export declare const forVacuumOpenVent: (params: VacuumModuleOpenVentCreateCommand['params'], invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
4
- export declare const forVacuumCloseVent: (params: VacuumModuleOpenVentCreateCommand['params'], invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
5
- export declare const forVacuumSetPumpPressure: (params: VacuumModuleSetTargetPressureCreateCommand['params'], invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
6
- export declare const forVacuumSetPumpPower: (params: VacuumModuleSetTargetPowerCreateCommand['params'], invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
7
- export declare const forVacuumStopPump: (params: VacuumModuleStopPumpCreateCommand['params'], invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
8
- export declare const forVacuumStartRunProfile: (params: VacuumModuleStartRunProfileCreateCommand['params'], invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
1
+ import type { InvariantContext, ModuleStepGenArgs, RobotStateAndWarnings, VacuumModuleState, VacuumSetPumpPowerStepGenArgs, VacuumSetPumpPressureStepGenArgs, VacuumStartRunProfileStepGenArgs } from '../types';
2
+ export declare const forVacuumOpenVent: (params: ModuleStepGenArgs, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
3
+ export declare const forVacuumCloseVent: (params: ModuleStepGenArgs, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
4
+ export declare const forVacuumSetPumpPressure: (params: VacuumSetPumpPressureStepGenArgs & {
5
+ taskId?: string | null;
6
+ }, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
7
+ export declare const forVacuumSetPumpPower: (params: VacuumSetPumpPowerStepGenArgs & {
8
+ taskId?: string | null;
9
+ }, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
10
+ export declare const forVacuumStopPump: (params: ModuleStepGenArgs, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
11
+ export declare const forVacuumStartRunProfile: (params: VacuumStartRunProfileStepGenArgs & {
12
+ taskId?: string | null;
13
+ }, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
9
14
  export declare const handleWaitForTaskForVacuums: (vacuumModuleState: VacuumModuleState) => boolean;