@opentrons/step-generation 0.3.0-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 (222) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +19 -0
  3. package/lib/__tests__/robotStateSelectors.test.d.ts +1 -0
  4. package/lib/__tests__/waitForTasks.test.d.ts +1 -0
  5. package/lib/__utils__/index.d.ts +1 -0
  6. package/lib/__utils__/makeImmutableStateUpdater.d.ts +4 -0
  7. package/lib/__utils__/testMatchers.d.ts +2 -0
  8. package/lib/commandCreators/atomic/__tests__/absorbanceReaderCloseLid.test.d.ts +1 -0
  9. package/lib/commandCreators/atomic/__tests__/absorbanceReaderOpenLid.test.d.ts +1 -0
  10. package/lib/commandCreators/atomic/__tests__/aspirate.test.d.ts +1 -0
  11. package/lib/commandCreators/atomic/__tests__/aspirateInPlace.test.d.ts +1 -0
  12. package/lib/commandCreators/atomic/__tests__/blowOutInPlace.test.d.ts +1 -0
  13. package/lib/commandCreators/atomic/__tests__/blowOutInWell.test.d.ts +1 -0
  14. package/lib/commandCreators/atomic/__tests__/captureImage.test.d.ts +1 -0
  15. package/lib/commandCreators/atomic/__tests__/comment.test.d.ts +1 -0
  16. package/lib/commandCreators/atomic/__tests__/configureForVolume.test.d.ts +1 -0
  17. package/lib/commandCreators/atomic/__tests__/configureNozzleLayout.test.d.ts +1 -0
  18. package/lib/commandCreators/atomic/__tests__/deactivateTemperature.test.d.ts +1 -0
  19. package/lib/commandCreators/atomic/__tests__/delay.test.d.ts +1 -0
  20. package/lib/commandCreators/atomic/__tests__/disengageMagnet.test.d.ts +1 -0
  21. package/lib/commandCreators/atomic/__tests__/dispense.test.d.ts +1 -0
  22. package/lib/commandCreators/atomic/__tests__/dispenseInPlace.test.d.ts +1 -0
  23. package/lib/commandCreators/atomic/__tests__/dropTip.test.d.ts +1 -0
  24. package/lib/commandCreators/atomic/__tests__/dropTipInPlace.test.d.ts +1 -0
  25. package/lib/commandCreators/atomic/__tests__/engageMagnet.test.d.ts +1 -0
  26. package/lib/commandCreators/atomic/__tests__/flexStackerEmpty.test.d.ts +1 -0
  27. package/lib/commandCreators/atomic/__tests__/flexStackerFillItems.test.d.ts +1 -0
  28. package/lib/commandCreators/atomic/__tests__/flexStackerRetrieve.test.d.ts +1 -0
  29. package/lib/commandCreators/atomic/__tests__/flexStackerStore.test.d.ts +1 -0
  30. package/lib/commandCreators/atomic/__tests__/heaterShakerOpenLatch.test.d.ts +1 -0
  31. package/lib/commandCreators/atomic/__tests__/liquidProbe.test.d.ts +1 -0
  32. package/lib/commandCreators/atomic/__tests__/moveLabware.test.d.ts +1 -0
  33. package/lib/commandCreators/atomic/__tests__/moveToAddressableArea.test.d.ts +1 -0
  34. package/lib/commandCreators/atomic/__tests__/moveToAddressableAreaForDropTip.test.d.ts +1 -0
  35. package/lib/commandCreators/atomic/__tests__/moveToWell.test.d.ts +1 -0
  36. package/lib/commandCreators/atomic/__tests__/pickUpTip.test.d.ts +1 -0
  37. package/lib/commandCreators/atomic/__tests__/prepareToAspirate.test.d.ts +1 -0
  38. package/lib/commandCreators/atomic/__tests__/setTemperature.test.d.ts +1 -0
  39. package/lib/commandCreators/atomic/__tests__/thermocyclerAtomicCommands.test.d.ts +1 -0
  40. package/lib/commandCreators/atomic/__tests__/thermocyclerCloseLid.test.d.ts +1 -0
  41. package/lib/commandCreators/atomic/__tests__/touchTip.test.d.ts +1 -0
  42. package/lib/commandCreators/atomic/__tests__/waitForTemperature.test.d.ts +1 -0
  43. package/lib/commandCreators/atomic/absorbanceReaderCloseLid.d.ts +3 -0
  44. package/lib/commandCreators/atomic/absorbanceReaderInitialize.d.ts +3 -0
  45. package/lib/commandCreators/atomic/absorbanceReaderOpenLid.d.ts +3 -0
  46. package/lib/commandCreators/atomic/absorbanceReaderRead.d.ts +3 -0
  47. package/lib/commandCreators/atomic/airGapInPlace.d.ts +3 -0
  48. package/lib/commandCreators/atomic/aspirate.d.ts +10 -0
  49. package/lib/commandCreators/atomic/aspirateInPlace.d.ts +3 -0
  50. package/lib/commandCreators/atomic/blowOutInPlace.d.ts +3 -0
  51. package/lib/commandCreators/atomic/blowOutInWell.d.ts +3 -0
  52. package/lib/commandCreators/atomic/captureImage.d.ts +3 -0
  53. package/lib/commandCreators/atomic/comment.d.ts +3 -0
  54. package/lib/commandCreators/atomic/configureForVolume.d.ts +3 -0
  55. package/lib/commandCreators/atomic/configureNozzleLayout.d.ts +3 -0
  56. package/lib/commandCreators/atomic/deactivateTemperature.d.ts +4 -0
  57. package/lib/commandCreators/atomic/delay.d.ts +3 -0
  58. package/lib/commandCreators/atomic/disengageMagnet.d.ts +4 -0
  59. package/lib/commandCreators/atomic/dispense.d.ts +10 -0
  60. package/lib/commandCreators/atomic/dispenseInPlace.d.ts +7 -0
  61. package/lib/commandCreators/atomic/dropTip.d.ts +13 -0
  62. package/lib/commandCreators/atomic/dropTipInPlace.d.ts +3 -0
  63. package/lib/commandCreators/atomic/engageMagnet.d.ts +4 -0
  64. package/lib/commandCreators/atomic/flexStackerEmpty.d.ts +3 -0
  65. package/lib/commandCreators/atomic/flexStackerFillItems.d.ts +2 -0
  66. package/lib/commandCreators/atomic/flexStackerRetrieve.d.ts +3 -0
  67. package/lib/commandCreators/atomic/flexStackerStore.d.ts +3 -0
  68. package/lib/commandCreators/atomic/heaterShakerCloseLatch.d.ts +3 -0
  69. package/lib/commandCreators/atomic/heaterShakerDeactivateHeater.d.ts +3 -0
  70. package/lib/commandCreators/atomic/heaterShakerOpenLatch.d.ts +3 -0
  71. package/lib/commandCreators/atomic/heaterShakerSetTargetShakeSpeed.d.ts +3 -0
  72. package/lib/commandCreators/atomic/heaterShakerStopShake.d.ts +3 -0
  73. package/lib/commandCreators/atomic/index.d.ts +36 -0
  74. package/lib/commandCreators/atomic/liquidProbe.d.ts +3 -0
  75. package/lib/commandCreators/atomic/moveLabware.d.ts +5 -0
  76. package/lib/commandCreators/atomic/moveToAddressableArea.d.ts +7 -0
  77. package/lib/commandCreators/atomic/moveToAddressableAreaForDropTip.d.ts +3 -0
  78. package/lib/commandCreators/atomic/moveToWell.d.ts +4 -0
  79. package/lib/commandCreators/atomic/pickUpTip.d.ts +9 -0
  80. package/lib/commandCreators/atomic/prepareToAspirate.d.ts +3 -0
  81. package/lib/commandCreators/atomic/setTemperature.d.ts +4 -0
  82. package/lib/commandCreators/atomic/thermocyclerCloseLid.d.ts +3 -0
  83. package/lib/commandCreators/atomic/thermocyclerDeactivateBlock.d.ts +3 -0
  84. package/lib/commandCreators/atomic/thermocyclerDeactivateLid.d.ts +3 -0
  85. package/lib/commandCreators/atomic/thermocyclerOpenLid.d.ts +3 -0
  86. package/lib/commandCreators/atomic/thermocyclerSetTargetBlockTemperature.d.ts +3 -0
  87. package/lib/commandCreators/atomic/thermocyclerSetTargetLidTemperature.d.ts +3 -0
  88. package/lib/commandCreators/atomic/thermocyclerStartRunExtendedProfile.d.ts +7 -0
  89. package/lib/commandCreators/atomic/touchTip.d.ts +7 -0
  90. package/lib/commandCreators/atomic/waitForTasks.d.ts +3 -0
  91. package/lib/commandCreators/atomic/waitForTemperature.d.ts +4 -0
  92. package/lib/commandCreators/compound/__tests__/absorbanceReaderCloseInitialize.test.d.ts +1 -0
  93. package/lib/commandCreators/compound/__tests__/absorbanceReaderCloseRead.test.d.ts +1 -0
  94. package/lib/commandCreators/compound/__tests__/airGapInTrash.test.d.ts +1 -0
  95. package/lib/commandCreators/compound/__tests__/airGapInWasteChute.test.d.ts +1 -0
  96. package/lib/commandCreators/compound/__tests__/airGapInWell.test.d.ts +1 -0
  97. package/lib/commandCreators/compound/__tests__/blowOutInTrash.test.d.ts +1 -0
  98. package/lib/commandCreators/compound/__tests__/blowOutinWasteChute.test.d.ts +1 -0
  99. package/lib/commandCreators/compound/__tests__/consolidate.test.d.ts +1 -0
  100. package/lib/commandCreators/compound/__tests__/dispenseInTrash.test.d.ts +1 -0
  101. package/lib/commandCreators/compound/__tests__/dispenseInWasteChute.test.d.ts +1 -0
  102. package/lib/commandCreators/compound/__tests__/distribute.test.d.ts +1 -0
  103. package/lib/commandCreators/compound/__tests__/dropTipInTrash.test.d.ts +1 -0
  104. package/lib/commandCreators/compound/__tests__/dropTipInWasteChute.test.d.ts +1 -0
  105. package/lib/commandCreators/compound/__tests__/heaterShaker.test.d.ts +1 -0
  106. package/lib/commandCreators/compound/__tests__/mix.test.d.ts +1 -0
  107. package/lib/commandCreators/compound/__tests__/replaceTip.test.d.ts +1 -0
  108. package/lib/commandCreators/compound/__tests__/thermocyclerProfileStep.test.d.ts +1 -0
  109. package/lib/commandCreators/compound/__tests__/thermocyclerStateStep.test.d.ts +1 -0
  110. package/lib/commandCreators/compound/__tests__/transfer.test.d.ts +1 -0
  111. package/lib/commandCreators/compound/__tests__/waitForModuleTask.test.d.ts +1 -0
  112. package/lib/commandCreators/compound/absorbanceReaderCloseInitialize.d.ts +2 -0
  113. package/lib/commandCreators/compound/absorbanceReaderCloseRead.d.ts +2 -0
  114. package/lib/commandCreators/compound/airGapInTrash.d.ts +9 -0
  115. package/lib/commandCreators/compound/airGapInWasteChute.d.ts +9 -0
  116. package/lib/commandCreators/compound/airGapInWell.d.ts +12 -0
  117. package/lib/commandCreators/compound/blowOutInTrash.d.ts +8 -0
  118. package/lib/commandCreators/compound/blowOutInWasteChute.d.ts +8 -0
  119. package/lib/commandCreators/compound/consolidate.d.ts +2 -0
  120. package/lib/commandCreators/compound/dispenseInTrash.d.ts +9 -0
  121. package/lib/commandCreators/compound/dispenseInWasteChute.d.ts +9 -0
  122. package/lib/commandCreators/compound/distribute.d.ts +2 -0
  123. package/lib/commandCreators/compound/dropTipInTrash.d.ts +7 -0
  124. package/lib/commandCreators/compound/dropTipInWasteChute.d.ts +7 -0
  125. package/lib/commandCreators/compound/heaterShaker.d.ts +2 -0
  126. package/lib/commandCreators/compound/index.d.ts +20 -0
  127. package/lib/commandCreators/compound/mix.d.ts +19 -0
  128. package/lib/commandCreators/compound/replaceTip.d.ts +21 -0
  129. package/lib/commandCreators/compound/thermocyclerProfileStep.d.ts +2 -0
  130. package/lib/commandCreators/compound/thermocyclerStateStep.d.ts +2 -0
  131. package/lib/commandCreators/compound/transfer.d.ts +2 -0
  132. package/lib/commandCreators/compound/waitForModuleTask.d.ts +6 -0
  133. package/lib/commandCreators/index.d.ts +2 -0
  134. package/lib/constants.d.ts +55 -0
  135. package/lib/errorCreators.d.ts +89 -0
  136. package/lib/fixtures/__tests__/fixtureGeneration.test.d.ts +1 -0
  137. package/lib/fixtures/commandFixtures.d.ts +511 -0
  138. package/lib/fixtures/data.d.ts +12 -0
  139. package/lib/fixtures/index.d.ts +3 -0
  140. package/lib/fixtures/robotStateFixtures.d.ts +39 -0
  141. package/lib/getNextRobotStateAndWarnings/__tests__/dispenseUpdateLiquidState.test.d.ts +1 -0
  142. package/lib/getNextRobotStateAndWarnings/__tests__/forAspirate.test.d.ts +1 -0
  143. package/lib/getNextRobotStateAndWarnings/__tests__/forBlowout.test.d.ts +1 -0
  144. package/lib/getNextRobotStateAndWarnings/__tests__/forDropTip.test.d.ts +1 -0
  145. package/lib/getNextRobotStateAndWarnings/__tests__/forMoveLabware.test.d.ts +1 -0
  146. package/lib/getNextRobotStateAndWarnings/__tests__/forPickUpTip.test.d.ts +1 -0
  147. package/lib/getNextRobotStateAndWarnings/__tests__/heaterShakerUpdates.test.d.ts +1 -0
  148. package/lib/getNextRobotStateAndWarnings/__tests__/stackerUpdates.test.d.ts +1 -0
  149. package/lib/getNextRobotStateAndWarnings/__tests__/temperatureUpdates.test.d.ts +1 -0
  150. package/lib/getNextRobotStateAndWarnings/__tests__/thermocyclerUpdates.test.d.ts +1 -0
  151. package/lib/getNextRobotStateAndWarnings/__tests__/updateMagneticModule.test.d.ts +1 -0
  152. package/lib/getNextRobotStateAndWarnings/absorbanceReaderUpdates.d.ts +5 -0
  153. package/lib/getNextRobotStateAndWarnings/dispenseUpdateLiquidState.d.ts +15 -0
  154. package/lib/getNextRobotStateAndWarnings/forAirGapInPlace.d.ts +3 -0
  155. package/lib/getNextRobotStateAndWarnings/forAspirate.d.ts +3 -0
  156. package/lib/getNextRobotStateAndWarnings/forBlowout.d.ts +3 -0
  157. package/lib/getNextRobotStateAndWarnings/forConfigureNozzleLayout.d.ts +11 -0
  158. package/lib/getNextRobotStateAndWarnings/forDispense.d.ts +3 -0
  159. package/lib/getNextRobotStateAndWarnings/forDropTip.d.ts +3 -0
  160. package/lib/getNextRobotStateAndWarnings/forLoadLiquid.d.ts +3 -0
  161. package/lib/getNextRobotStateAndWarnings/forMoveLabware.d.ts +3 -0
  162. package/lib/getNextRobotStateAndWarnings/forMoveToAddressableArea.d.ts +3 -0
  163. package/lib/getNextRobotStateAndWarnings/forMoveToWell.d.ts +3 -0
  164. package/lib/getNextRobotStateAndWarnings/forPickUpTip.d.ts +3 -0
  165. package/lib/getNextRobotStateAndWarnings/forWaitForTasks.d.ts +3 -0
  166. package/lib/getNextRobotStateAndWarnings/heaterShakerUpdates.d.ts +9 -0
  167. package/lib/getNextRobotStateAndWarnings/inPlaceCommandUpdates.d.ts +4 -0
  168. package/lib/getNextRobotStateAndWarnings/index.d.ts +4 -0
  169. package/lib/getNextRobotStateAndWarnings/magnetUpdates.d.ts +4 -0
  170. package/lib/getNextRobotStateAndWarnings/stackerUpdates.d.ts +9 -0
  171. package/lib/getNextRobotStateAndWarnings/temperatureUpdates.d.ts +5 -0
  172. package/lib/getNextRobotStateAndWarnings/thermocyclerUpdates.d.ts +22 -0
  173. package/lib/index.cjs +197 -0
  174. package/lib/index.d.ts +8 -0
  175. package/lib/index.mjs +16066 -0
  176. package/lib/robotStateSelectors.d.ts +31 -0
  177. package/lib/types.d.ts +693 -0
  178. package/lib/utils/__tests__/blowoutUtil.test.d.ts +1 -0
  179. package/lib/utils/__tests__/delayLocationHelper.test.d.ts +1 -0
  180. package/lib/utils/__tests__/getActiveNozzleAmount.test.d.ts +1 -0
  181. package/lib/utils/__tests__/getIsSafePipetteMovement.test.d.ts +1 -0
  182. package/lib/utils/__tests__/getLabwareSlot.test.d.ts +1 -0
  183. package/lib/utils/__tests__/glue.test.d.ts +1 -0
  184. package/lib/utils/__tests__/liquidClassUtils.test.d.ts +1 -0
  185. package/lib/utils/__tests__/misc.test.d.ts +1 -0
  186. package/lib/utils/__tests__/modulePipetteCollision.test.d.ts +1 -0
  187. package/lib/utils/__tests__/pythonFileUtils.test.d.ts +1 -0
  188. package/lib/utils/__tests__/pythonFormat.test.d.ts +1 -0
  189. package/lib/utils/__tests__/removePairs.test.d.ts +1 -0
  190. package/lib/utils/__tests__/safePipetteMovements.test.d.ts +1 -0
  191. package/lib/utils/__tests__/stripNoOpMixCommands.test.d.ts +1 -0
  192. package/lib/utils/__tests__/swatchColors.test.d.ts +1 -0
  193. package/lib/utils/__tests__/thermocyclerProfileConversions.test.d.ts +1 -0
  194. package/lib/utils/__tests__/traversals.test.d.ts +1 -0
  195. package/lib/utils/__tests__/utils.test.d.ts +1 -0
  196. package/lib/utils/absorbanceReaderCollision.d.ts +2 -0
  197. package/lib/utils/commandCreatorArgsGetters.d.ts +5 -0
  198. package/lib/utils/commandCreatorsTimeline.d.ts +2 -0
  199. package/lib/utils/constructInvariantContextFromAnalysis.d.ts +3 -0
  200. package/lib/utils/createTimelineFromRunCommands.d.ts +11 -0
  201. package/lib/utils/curryCommandCreator.d.ts +8 -0
  202. package/lib/utils/getActiveNozzleAmount.d.ts +7 -0
  203. package/lib/utils/getLabwareSlot.d.ts +2 -0
  204. package/lib/utils/getNozzleConfig.d.ts +2 -0
  205. package/lib/utils/heaterShakerCollision.d.ts +9 -0
  206. package/lib/utils/index.d.ts +22 -0
  207. package/lib/utils/liquidClassUtils.d.ts +15 -0
  208. package/lib/utils/liquidUtils.d.ts +13 -0
  209. package/lib/utils/misc.d.ts +180 -0
  210. package/lib/utils/modulePipetteCollision.d.ts +7 -0
  211. package/lib/utils/pythonFileUtils.d.ts +30 -0
  212. package/lib/utils/pythonFormat.d.ts +29 -0
  213. package/lib/utils/reduceCommandCreators.d.ts +2 -0
  214. package/lib/utils/removePairs.d.ts +1 -0
  215. package/lib/utils/safePipetteMovements.d.ts +49 -0
  216. package/lib/utils/stripNoOpCommands.d.ts +3 -0
  217. package/lib/utils/thermocyclerPipetteCollision.d.ts +2 -0
  218. package/lib/utils/thermocyclerProfileConversions.d.ts +19 -0
  219. package/lib/utils/thermocyclerStateDiff.d.ts +10 -0
  220. package/lib/utils/traversals.d.ts +127 -0
  221. package/lib/warningCreators.d.ts +7 -0
  222. package/package.json +45 -0
@@ -0,0 +1,4 @@
1
+ import type { MoveToWellParams } from '@opentrons/shared-data';
2
+ import type { CommandCreator } from '../../types';
3
+ /** Move to specified well of labware, with optional offset and pathing options. */
4
+ export declare const moveToWell: CommandCreator<MoveToWellParams>;
@@ -0,0 +1,9 @@
1
+ import type { NozzleConfigurationStyle, PickUpTipParams, PrimaryNozzleConfigurationStyle } from '@opentrons/shared-data';
2
+ import type { CommandCreator, TipTrackingOption } from '../../types';
3
+ interface PickUpTipAtomicParams extends PickUpTipParams {
4
+ primaryNozzle: PrimaryNozzleConfigurationStyle;
5
+ nozzles: NozzleConfigurationStyle;
6
+ tipTrackingOption?: TipTrackingOption;
7
+ }
8
+ export declare const pickUpTip: CommandCreator<PickUpTipAtomicParams>;
9
+ export {};
@@ -0,0 +1,3 @@
1
+ import type { PrepareToAspirateParams } from '@opentrons/shared-data';
2
+ import type { CommandCreator } from '../../types';
3
+ export declare const prepareToAspirate: CommandCreator<PrepareToAspirateParams>;
@@ -0,0 +1,4 @@
1
+ import type { TemperatureParams } from '@opentrons/shared-data';
2
+ import type { CommandCreator } from '../../types';
3
+ /** Set temperature target for specified module. */
4
+ export declare const setTemperature: CommandCreator<TemperatureParams>;
@@ -0,0 +1,3 @@
1
+ import type { ModuleOnlyParams } from '@opentrons/shared-data';
2
+ import type { CommandCreator } from '../../types';
3
+ export declare const thermocyclerCloseLid: CommandCreator<ModuleOnlyParams>;
@@ -0,0 +1,3 @@
1
+ import type { ModuleOnlyParams } from '@opentrons/shared-data';
2
+ import type { CommandCreator } from '../../types';
3
+ export declare const thermocyclerDeactivateBlock: CommandCreator<ModuleOnlyParams>;
@@ -0,0 +1,3 @@
1
+ import type { ModuleOnlyParams } from '@opentrons/shared-data';
2
+ import type { CommandCreator } from '../../types';
3
+ export declare const thermocyclerDeactivateLid: CommandCreator<ModuleOnlyParams>;
@@ -0,0 +1,3 @@
1
+ import type { ModuleOnlyParams } from '@opentrons/shared-data';
2
+ import type { CommandCreator } from '../../types';
3
+ export declare const thermocyclerOpenLid: CommandCreator<ModuleOnlyParams>;
@@ -0,0 +1,3 @@
1
+ import type { TemperatureParams } from '@opentrons/shared-data';
2
+ import type { CommandCreator } from '../../types';
3
+ export declare const thermocyclerSetTargetBlockTemperature: CommandCreator<TemperatureParams>;
@@ -0,0 +1,3 @@
1
+ import type { TemperatureParams } from '@opentrons/shared-data';
2
+ import type { CommandCreator } from '../../types';
3
+ export declare const thermocyclerSetTargetLidTemperature: CommandCreator<TemperatureParams>;
@@ -0,0 +1,7 @@
1
+ import type { TCStartExtendedProfileParams } from '@opentrons/shared-data';
2
+ import type { CommandCreator } from '../../types';
3
+ /**
4
+ * NOTE: `args.taskId` pulls double duty as the name of the Python variable,
5
+ * so it should be snake_case.
6
+ */
7
+ export declare const thermocyclerStartRunExtendedProfile: CommandCreator<TCStartExtendedProfileParams>;
@@ -0,0 +1,7 @@
1
+ import type { TouchTipParams } from '@opentrons/shared-data';
2
+ import type { CommandCreator } from '../../types';
3
+ interface TouchTipAtomicParams extends Omit<TouchTipParams, 'wellLocation'> {
4
+ zOffsetFromTop: number;
5
+ }
6
+ export declare const touchTip: CommandCreator<TouchTipAtomicParams>;
7
+ export {};
@@ -0,0 +1,3 @@
1
+ import type { WaitForTasksParams } from '@opentrons/shared-data';
2
+ import type { CommandCreator } from '../../types';
3
+ export declare const waitForTasks: CommandCreator<WaitForTasksParams>;
@@ -0,0 +1,4 @@
1
+ import type { TemperatureParams } from '@opentrons/shared-data';
2
+ import type { CommandCreator } from '../../types';
3
+ /** Set temperature target for specified module. */
4
+ export declare const waitForTemperature: CommandCreator<TemperatureParams>;
@@ -0,0 +1,2 @@
1
+ import type { AbsorbanceReaderInitializeArgs, CommandCreator } from '../../types';
2
+ export declare const absorbanceReaderCloseInitialize: CommandCreator<AbsorbanceReaderInitializeArgs>;
@@ -0,0 +1,2 @@
1
+ import type { AbsorbanceReaderReadArgs, CommandCreator } from '../../types';
2
+ export declare const absorbanceReaderCloseRead: CommandCreator<AbsorbanceReaderReadArgs>;
@@ -0,0 +1,9 @@
1
+ import type { CommandCreator } from '../../types';
2
+ interface AirGapInTrashParams {
3
+ pipetteId: string;
4
+ flowRate: number;
5
+ volume: number;
6
+ trashId: string;
7
+ }
8
+ export declare const airGapInTrash: CommandCreator<AirGapInTrashParams>;
9
+ export {};
@@ -0,0 +1,9 @@
1
+ import type { CommandCreator } from '../../types';
2
+ interface AirGapInWasteChuteArgs {
3
+ pipetteId: string;
4
+ volume: number;
5
+ flowRate: number;
6
+ wasteChuteId: string;
7
+ }
8
+ export declare const airGapInWasteChute: CommandCreator<AirGapInWasteChuteArgs>;
9
+ export {};
@@ -0,0 +1,12 @@
1
+ import type { CommandCreator } from '../../types';
2
+ export type AirGapInWellType = 'aspirate' | 'dispense';
3
+ interface AirGapInWellArgs {
4
+ type: AirGapInWellType;
5
+ flowRate: number;
6
+ pipetteId: string;
7
+ volume: number;
8
+ labwareId: string;
9
+ wellName: string;
10
+ }
11
+ export declare const airGapInWell: CommandCreator<AirGapInWellArgs>;
12
+ export {};
@@ -0,0 +1,8 @@
1
+ import type { CommandCreator } from '../../types';
2
+ interface BlowOutInTrashParams {
3
+ pipetteId: string;
4
+ flowRate: number;
5
+ trashId: string;
6
+ }
7
+ export declare const blowOutInTrash: CommandCreator<BlowOutInTrashParams>;
8
+ export {};
@@ -0,0 +1,8 @@
1
+ import type { CommandCreator } from '../../types';
2
+ interface BlowOutInWasteChuteArgs {
3
+ pipetteId: string;
4
+ flowRate: number;
5
+ wasteChuteId: string;
6
+ }
7
+ export declare const blowOutInWasteChute: CommandCreator<BlowOutInWasteChuteArgs>;
8
+ export {};
@@ -0,0 +1,2 @@
1
+ import type { CommandCreator, ConsolidateArgs } from '../../types';
2
+ export declare const consolidate: CommandCreator<ConsolidateArgs>;
@@ -0,0 +1,9 @@
1
+ import type { CommandCreator } from '../../types';
2
+ interface DispenseInTrashParams {
3
+ pipetteId: string;
4
+ flowRate: number;
5
+ volume: number;
6
+ trashId: string;
7
+ }
8
+ export declare const dispenseInTrash: CommandCreator<DispenseInTrashParams>;
9
+ export {};
@@ -0,0 +1,9 @@
1
+ import type { CommandCreator } from '../../types';
2
+ interface DispenseInWasteChuteArgs {
3
+ pipetteId: string;
4
+ flowRate: number;
5
+ volume: number;
6
+ wasteChuteId: string;
7
+ }
8
+ export declare const dispenseInWasteChute: CommandCreator<DispenseInWasteChuteArgs>;
9
+ export {};
@@ -0,0 +1,2 @@
1
+ import type { CommandCreator, DistributeArgs } from '../../types';
2
+ export declare const distribute: CommandCreator<DistributeArgs>;
@@ -0,0 +1,7 @@
1
+ import type { CutoutId, DropTipInPlaceParams } from '@opentrons/shared-data';
2
+ import type { CommandCreator } from '../../types';
3
+ interface DropTipInTrashParams extends DropTipInPlaceParams {
4
+ trashLocation: CutoutId;
5
+ }
6
+ export declare const dropTipInTrash: CommandCreator<DropTipInTrashParams>;
7
+ export {};
@@ -0,0 +1,7 @@
1
+ import type { CommandCreator } from '../../types';
2
+ interface DropTipInWasteChuteArgs {
3
+ pipetteId: string;
4
+ wasteChuteId: string;
5
+ }
6
+ export declare const dropTipInWasteChute: CommandCreator<DropTipInWasteChuteArgs>;
7
+ export {};
@@ -0,0 +1,2 @@
1
+ import type { CommandCreator, HeaterShakerArgs } from '../../types';
2
+ export declare const heaterShaker: CommandCreator<HeaterShakerArgs>;
@@ -0,0 +1,20 @@
1
+ export { absorbanceReaderCloseInitialize } from './absorbanceReaderCloseInitialize';
2
+ export { absorbanceReaderCloseRead } from './absorbanceReaderCloseRead';
3
+ export { airGapInTrash } from './airGapInTrash';
4
+ export { airGapInWasteChute } from './airGapInWasteChute';
5
+ export { airGapInWell } from './airGapInWell';
6
+ export { blowOutInTrash } from './blowOutInTrash';
7
+ export { blowOutInWasteChute } from './blowOutInWasteChute';
8
+ export { consolidate } from './consolidate';
9
+ export { dispenseInTrash } from './dispenseInTrash';
10
+ export { dispenseInWasteChute } from './dispenseInWasteChute';
11
+ export { distribute } from './distribute';
12
+ export { dropTipInTrash } from './dropTipInTrash';
13
+ export { dropTipInWasteChute } from './dropTipInWasteChute';
14
+ export { heaterShaker } from './heaterShaker';
15
+ export { mix } from './mix';
16
+ export { replaceTip } from './replaceTip';
17
+ export { thermocyclerProfileStep } from './thermocyclerProfileStep';
18
+ export { thermocyclerStateStep } from './thermocyclerStateStep';
19
+ export { transfer } from './transfer';
20
+ export { waitForModuleTask } from './waitForModuleTask';
@@ -0,0 +1,19 @@
1
+ import type { MoveToWellParams } from '@opentrons/shared-data';
2
+ import type { CommandCreator, CurriedCommandCreator, InvariantContext, MixArgs } from '../../types';
3
+ /** Helper fn to make mix command creators w/ minimal arguments */
4
+ export declare const mixInPlaceUtil: (args: {
5
+ pipette: string;
6
+ volume: number;
7
+ times: number;
8
+ aspirateFlowRateUlSec: number;
9
+ dispenseFlowRateUlSec: number;
10
+ aspirateDelaySeconds?: number;
11
+ dispenseDelaySeconds?: number;
12
+ finalPushOut: number | null;
13
+ invariantContext: InvariantContext;
14
+ liquidClass: string | null;
15
+ tiprack: string;
16
+ generatePython: boolean;
17
+ moveToWellParams?: MoveToWellParams;
18
+ }) => CurriedCommandCreator[];
19
+ export declare const mix: CommandCreator<MixArgs>;
@@ -0,0 +1,21 @@
1
+ import type { NozzleConfigurationStyle, PrimaryNozzleConfigurationStyle } from '@opentrons/shared-data';
2
+ import type { CommandCreator } from '../../types';
3
+ interface ReplaceTipArgs {
4
+ pipette: string;
5
+ dropTipLocation: string;
6
+ tipRack: string | null;
7
+ nozzles: NozzleConfigurationStyle;
8
+ primaryNozzle: PrimaryNozzleConfigurationStyle;
9
+ isFromMixCommand?: boolean;
10
+ tipSelectionArgs?: {
11
+ tipRackId: string;
12
+ tipWell: string;
13
+ };
14
+ }
15
+ /**
16
+ Pick up next available tip. Works differently for an 8-channel which needs a full row of tips.
17
+ Expects 96-well format tip naming system on the tiprack.
18
+ If there's already a tip on the pipette, this will drop it before getting a new one
19
+ */
20
+ export declare const replaceTip: CommandCreator<ReplaceTipArgs>;
21
+ export {};
@@ -0,0 +1,2 @@
1
+ import type { CommandCreator, ThermocyclerProfileStepArgs } from '../../types';
2
+ export declare const thermocyclerProfileStep: CommandCreator<ThermocyclerProfileStepArgs>;
@@ -0,0 +1,2 @@
1
+ import type { CommandCreator, ThermocyclerStateStepArgs } from '../../types';
2
+ export declare const thermocyclerStateStep: CommandCreator<ThermocyclerStateStepArgs>;
@@ -0,0 +1,2 @@
1
+ import type { CommandCreator, TransferArgs } from '../../types';
2
+ export declare const transfer: CommandCreator<TransferArgs>;
@@ -0,0 +1,6 @@
1
+ import type { CommandCreator, WaitForModuleTaskArgs } from '../../types';
2
+ /**
3
+ * Given a module that's had some concurrent task started on it,
4
+ * emit a command that waits for that task to complete.
5
+ */
6
+ export declare const waitForModuleTask: CommandCreator<WaitForModuleTaskArgs>;
@@ -0,0 +1,2 @@
1
+ export { absorbanceReaderCloseInitialize, absorbanceReaderCloseRead, consolidate, distribute, dropTipInTrash, dropTipInWasteChute, heaterShaker, mix, replaceTip, thermocyclerProfileStep, thermocyclerStateStep, transfer, waitForModuleTask, } from './compound';
2
+ export { absorbanceReaderCloseLid, absorbanceReaderInitialize, absorbanceReaderOpenLid, absorbanceReaderRead, aspirate, blowOutInWell, captureImage, comment, deactivateTemperature, delay, disengageMagnet, dispense, dropTip, dropTipInPlace, engageMagnet, flexStackerEmpty, flexStackerFillItems, flexStackerRetrieve, flexStackerStore, moveLabware, moveToAddressableArea, moveToAddressableAreaForDropTip, setTemperature, touchTip, waitForTemperature, } from './atomic';
@@ -0,0 +1,55 @@
1
+ import type { AddressableOffsetVector, DeckSlotId, FlexStackerStoredLabwareGroup, ModuleModel, ModuleType, OT2AddressableAreaName, StackerStoredLabwareDefinitionURIs } from '@opentrons/shared-data';
2
+ import type { AbsorbanceReaderState, FlexStackerModuleState, HeaterShakerModuleState, MagneticBlockState, MagneticModuleState, ModuleState, TemperatureModuleState, ThermocyclerModuleState, VacuumModuleState } from './types';
3
+ export declare const TEMPERATURE_DEACTIVATED: 'TEMPERATURE_DEACTIVATED';
4
+ export declare const TEMPERATURE_AT_TARGET: 'TEMPERATURE_AT_TARGET';
5
+ export declare const TEMPERATURE_APPROACHING_TARGET: 'TEMPERATURE_APPROACHING_TARGET';
6
+ export declare const AIR_GAP_OFFSET_FROM_TOP = 1;
7
+ export declare const MODULES_WITH_COLLISION_ISSUES: ModuleModel[];
8
+ export declare const FIXED_TRASH_ID: 'fixedTrash';
9
+ export declare const MAGNETIC_MODULE_INITIAL_STATE: MagneticModuleState;
10
+ export declare const TEMPERATURE_MODULE_INITIAL_STATE: TemperatureModuleState;
11
+ export declare const THERMOCYCLER_MODULE_INITIAL_STATE: ThermocyclerModuleState;
12
+ export declare const HEATERSHAKER_MODULE_INITIAL_STATE: HeaterShakerModuleState;
13
+ export declare const ABSORBANCE_READER_INITIAL_STATE: AbsorbanceReaderState;
14
+ export declare const MAGNETIC_BLOCK_INITIAL_STATE: MagneticBlockState;
15
+ export declare const FLEX_STACKER_MODULE_INITIAL_STATE: FlexStackerModuleState;
16
+ export declare const VACUUM_MODULE_INITIAL_STATE: VacuumModuleState;
17
+ export declare const MODULE_INITIAL_STATE_BY_TYPE: {
18
+ [moduleType in ModuleType]: ModuleState;
19
+ };
20
+ export declare const OT_2_TRASH_DEF_URI = "opentrons/opentrons_1_trash_1100ml_fixed/1";
21
+ export declare const FLEX_TRASH_DEF_URI = "opentrons/opentrons_1_trash_3200ml_fixed/1";
22
+ export declare const COLUMN_4_SLOTS: string[];
23
+ export declare const ZERO_OFFSET: AddressableOffsetVector;
24
+ export declare const GRIPPER_LOCATION: 'mounted';
25
+ export declare const CLEAN: 'CLEAN';
26
+ export declare const DIRTY: 'DIRTY';
27
+ export declare const EMPTY: 'EMPTY';
28
+ export declare const AUTOMATIC: 'automatic';
29
+ export declare const MANUAL: 'manual';
30
+ export declare const STAGING_AREA_SLOTS: string[];
31
+ export declare const OT2_TC_SLOTS: OT2AddressableAreaName[];
32
+ export declare const HOPPER_STACKER_LOCATION = "hopper";
33
+ export declare const HOPPER_FAKE_LOCATIONS: string[];
34
+ export declare const FAKE_HOPPER_LOCATION_MAP: {
35
+ hopperA4: string;
36
+ hopperB4: string;
37
+ hopperC4: string;
38
+ hopperD4: string;
39
+ };
40
+ export type HopperLocationMapKey = keyof typeof FAKE_HOPPER_LOCATION_MAP;
41
+ export declare const BOTTOM_UP_LABWARE_POOL_KEYS: Array<keyof FlexStackerStoredLabwareGroup>;
42
+ export declare const BOTTOM_UP_STORED_LABWARE_URI_KEYS: Array<keyof StackerStoredLabwareDefinitionURIs>;
43
+ export declare const SLOT_LOCATIONS_TO_FAKE_HOPPER_LOCATIONS: Record<DeckSlotId, string>;
44
+ export declare const VACUUM_VENT_OPEN: 'open';
45
+ export declare const VACUUM_VENT_CLOSED: 'closed';
46
+ export declare const VACUUM_MODE_POWER: 'power';
47
+ export declare const VACUUM_MODE_PRESSURE: 'pressure';
48
+ export declare const VACUUM_PROGRAM_STATE: 'state';
49
+ export declare const VACUUM_PROGRAM_PROFILE: 'profile';
50
+ export declare const VACUUM_STATE_PUMP: 'pump';
51
+ export declare const VACUUM_STATE_VENT: 'vent';
52
+ export declare const VACUUM_VENT_SET_OPEN: 'open';
53
+ export declare const VACUUM_VENT_SET_CLOSED: 'closed';
54
+ export declare const VACUUM_MIN_PRESSURE_MBAR = 0.1;
55
+ export declare const VACUUM_MAX_PRESSURE_MBAR = 1000;
@@ -0,0 +1,89 @@
1
+ /** Utility fns to create reusable CommandCreatorErrors */
2
+ import type { CommandCreatorError } from './types';
3
+ export declare function insufficientTips(): CommandCreatorError;
4
+ export declare function missingAdapter(): CommandCreatorError;
5
+ export declare function removeAdapter(): CommandCreatorError;
6
+ export declare function noTipOnPipette(args: {
7
+ actionName: string;
8
+ pipette: string;
9
+ labware?: string;
10
+ well?: string;
11
+ }): CommandCreatorError;
12
+ export declare function pipetteHasTip(): CommandCreatorError;
13
+ export declare function pipetteDoesNotExist(args: {
14
+ pipette: string;
15
+ }): CommandCreatorError;
16
+ export declare function invalidSlot(args: {
17
+ actionName: string;
18
+ slot: string;
19
+ }): CommandCreatorError;
20
+ export declare function labwareDoesNotExist(args: {
21
+ actionName: string;
22
+ labware: string;
23
+ }): CommandCreatorError;
24
+ export declare function missingModuleError(): CommandCreatorError;
25
+ export declare function missingTemperatureStep(): CommandCreatorError;
26
+ export declare function missingProfileStep(): CommandCreatorError;
27
+ export declare function tipVolumeExceeded(args: {
28
+ actionName: string;
29
+ volume: string | number;
30
+ maxVolume: string | number;
31
+ }): CommandCreatorError;
32
+ export declare function pipetteVolumeExceeded(args: {
33
+ actionName: string;
34
+ volume: string | number;
35
+ maxVolume: string | number;
36
+ disposalVolume?: string | number;
37
+ }): CommandCreatorError;
38
+ export declare const moveLocationNotSpecified: () => CommandCreatorError;
39
+ export declare const modulePipetteCollisionDanger: () => CommandCreatorError;
40
+ export declare const thermocyclerBusyWithProfile: () => CommandCreatorError;
41
+ export declare const thermocyclerLidClosed: () => CommandCreatorError;
42
+ export declare const heaterShakerLatchOpen: () => CommandCreatorError;
43
+ export declare const heaterShakerLatchClosed: () => CommandCreatorError;
44
+ export declare const absorbanceReaderLidClosed: () => CommandCreatorError;
45
+ export declare const absorbanceReaderNoInitialization: () => CommandCreatorError;
46
+ export declare const absorbanceReaderNoGripper: () => CommandCreatorError;
47
+ export declare const flexStackerNoGripper: () => CommandCreatorError;
48
+ export declare const flexStackerHopperEmpty: () => CommandCreatorError;
49
+ export declare const flexStackerShuttleFull: () => CommandCreatorError;
50
+ export declare const flexStackerShuttleEmpty: () => CommandCreatorError;
51
+ export declare const flexStackerLabwareTypeMismatch: () => CommandCreatorError;
52
+ export declare const flexStackerLabwareTypeMissing: () => CommandCreatorError;
53
+ export declare const flexStackerHopperFull: () => CommandCreatorError;
54
+ export declare const heaterShakerIsShaking: () => CommandCreatorError;
55
+ export declare const tallLabwareEastWestOfHeaterShaker: (position: 'left' | 'right') => CommandCreatorError;
56
+ export declare const possiblePipetteCollision: () => CommandCreatorError;
57
+ export declare const heaterShakerEastWestWithLatchOpen: () => CommandCreatorError;
58
+ export declare const heaterShakerNorthSouthEastWestShaking: () => CommandCreatorError;
59
+ export declare const heaterShakerEastWestOfMultiChannelPipette: () => CommandCreatorError;
60
+ export declare const heaterShakerNorthSouthOfNonTiprackWithMultiChannelPipette: () => CommandCreatorError;
61
+ export declare const labwareOffDeck: () => CommandCreatorError;
62
+ export declare const multipleEntitiesOnSameSlotName: () => CommandCreatorError;
63
+ export declare const dropTipLocationDoesNotExist: () => CommandCreatorError;
64
+ export declare const equipmentDoesNotExist: () => CommandCreatorError;
65
+ export declare const gripperRequired: () => CommandCreatorError;
66
+ export declare const pipettingIntoColumn4: (args: {
67
+ typeOfStep: string;
68
+ }) => CommandCreatorError;
69
+ export declare const cannotMoveWithGripper: () => CommandCreatorError;
70
+ export declare const noTipSelected: () => CommandCreatorError;
71
+ export declare const labwareDiscarded: () => CommandCreatorError;
72
+ export declare const submergeBelowAspirate: () => CommandCreatorError;
73
+ export declare const retractBelowAspirate: () => CommandCreatorError;
74
+ export declare const submergeBelowDispense: () => CommandCreatorError;
75
+ export declare const retractBelowDispense: () => CommandCreatorError;
76
+ export declare const multiAspirateVolumeTooHigh: () => CommandCreatorError;
77
+ export declare const multiDispenseVolumeTooHigh: () => CommandCreatorError;
78
+ export declare const closingThermocyclerWithInvalidLid: (args: {
79
+ lidDisplayName: string;
80
+ }) => CommandCreatorError;
81
+ export declare const returnTipUnavailable: () => CommandCreatorError;
82
+ export declare const tipRackLidNotAllowedOnDeck: () => CommandCreatorError;
83
+ export declare const nextTiprackHasLid: () => CommandCreatorError;
84
+ export declare const stackTooHigh: (args: {
85
+ slot: string;
86
+ }) => CommandCreatorError;
87
+ export declare const tooManyTips: () => CommandCreatorError;
88
+ export declare const incompletePickup: () => CommandCreatorError;
89
+ export declare const labwareOnHopper: () => CommandCreatorError;
@@ -0,0 +1 @@
1
+ export {};