@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.
Files changed (186) hide show
  1. package/command/index.ts +14 -2
  2. package/command/schemas/12.json +65 -0
  3. package/command/schemas/13.json +7207 -0
  4. package/command/types/annotation.ts +1 -1
  5. package/command/types/calibration.ts +7 -6
  6. package/command/types/gantry.ts +7 -6
  7. package/command/types/incidental.ts +1 -1
  8. package/command/types/index.ts +68 -20
  9. package/command/types/module.ts +76 -9
  10. package/command/types/pipetting.ts +9 -3
  11. package/command/types/robot.ts +98 -0
  12. package/command/types/setup.ts +3 -3
  13. package/command/types/support.ts +13 -2
  14. package/command/types/timing.ts +1 -1
  15. package/command/types/unsafe.ts +63 -1
  16. package/deck/index.ts +3 -6
  17. package/errors/definitions/1/errors.json +12 -0
  18. package/errors/index.ts +2 -1
  19. package/labware/definitions/2/agilent_1_reservoir_290ml/3.json +80 -0
  20. package/labware/definitions/2/corning_384_wellplate_112ul_flat/4.json +5116 -0
  21. package/labware/definitions/2/corning_48_wellplate_1.6ml_flat/4.json +605 -0
  22. package/labware/definitions/2/nest_1_reservoir_290ml/3.json +80 -0
  23. package/labware/definitions/2/opentrons_24_aluminumblock_nest_0.5ml_screwcap/3.json +370 -0
  24. package/labware/definitions/2/opentrons_24_tuberack_nest_0.5ml_screwcap/3.json +371 -0
  25. package/labware/definitions/2/opentrons_96_aluminumblock_generic_pcr_strip_200ul/4.json +1149 -0
  26. package/labware/definitions/2/opentrons_flex_tiprack_lid/1.json +8 -2
  27. package/labware/definitions/2/usascientific_12_reservoir_22ml/3.json +237 -0
  28. package/labware/definitions/3/schema3test_96_well_aluminum_block/999.json +1047 -0
  29. package/labware/definitions/3/schema3test_96_wellplate_200ul_pcr_full_skirt/999.json +1189 -0
  30. package/labware/definitions/3/schema3test_flex_96_tiprack_200ul/999.json +1041 -0
  31. package/labware/fixtures/2/index.ts +4 -4
  32. package/labware/fixtures/3/fixture_2_plate.json +25 -11
  33. package/labware/fixtures/3/fixture_corning_24_plate.json +47 -33
  34. package/labware/schemas/3.json +63 -25
  35. package/lib/command/index.d.ts +4156 -2078
  36. package/lib/command/schemas/12.json +65 -0
  37. package/lib/command/schemas/13.json +7207 -0
  38. package/lib/command/types/annotation.d.ts +1 -1
  39. package/lib/command/types/calibration.d.ts +5 -5
  40. package/lib/command/types/gantry.d.ts +5 -4
  41. package/lib/command/types/incidental.d.ts +1 -1
  42. package/lib/command/types/index.d.ts +52 -14
  43. package/lib/command/types/module.d.ts +59 -10
  44. package/lib/command/types/pipetting.d.ts +8 -3
  45. package/lib/command/types/robot.d.ts +71 -0
  46. package/lib/command/types/setup.d.ts +1 -1
  47. package/lib/command/types/support.d.ts +3 -2
  48. package/lib/command/types/timing.d.ts +1 -1
  49. package/lib/command/types/unsafe.d.ts +44 -3
  50. package/lib/deck/index.d.ts +3 -3
  51. package/lib/errors/definitions/1/errors.json +12 -0
  52. package/lib/errors/index.d.ts +1 -1
  53. package/lib/index.mjs +372042 -335507
  54. package/lib/js/constants.d.ts +17 -10
  55. package/lib/js/deck/index.d.ts +2 -2
  56. package/lib/js/fixtures.d.ts +1 -1
  57. package/lib/js/gripper.d.ts +1 -1
  58. package/lib/js/helpers/__tests__/getMmFromBottom.test.d.ts +1 -0
  59. package/lib/js/helpers/__tests__/liquidClasses.test.d.ts +1 -0
  60. package/lib/js/helpers/getLoadedLabwareDefinitionsByUri.d.ts +1 -1
  61. package/lib/js/helpers/getMmFromBottom.d.ts +2 -0
  62. package/lib/js/helpers/getSimplestFlexDeckConfig.d.ts +1 -1
  63. package/lib/js/helpers/getVectorDifference.d.ts +2 -2
  64. package/lib/js/helpers/getVectorSum.d.ts +2 -2
  65. package/lib/js/helpers/getWellRangeForLiquidLabwarePair.d.ts +6 -0
  66. package/lib/js/helpers/index.d.ts +4 -1
  67. package/lib/js/helpers/labwareInference.d.ts +1 -1
  68. package/lib/js/helpers/liquidClasses.d.ts +8 -0
  69. package/lib/js/helpers/parseAddressableArea.d.ts +1 -1
  70. package/lib/js/helpers/parseProtocolCommands.d.ts +2 -2
  71. package/lib/js/helpers/validateCustomLabwareHelper.d.ts +1 -1
  72. package/lib/js/labware.d.ts +6 -6
  73. package/lib/js/labwareTools/index.d.ts +1 -1
  74. package/lib/js/modules.d.ts +1 -1
  75. package/lib/js/pipettes.d.ts +3 -2
  76. package/lib/js/types.d.ts +45 -27
  77. package/lib/labware/definitions/2/agilent_1_reservoir_290ml/3.json +80 -0
  78. package/lib/labware/definitions/2/corning_384_wellplate_112ul_flat/4.json +5116 -0
  79. package/lib/labware/definitions/2/corning_48_wellplate_1.6ml_flat/4.json +605 -0
  80. package/lib/labware/definitions/2/nest_1_reservoir_290ml/3.json +80 -0
  81. package/lib/labware/definitions/2/opentrons_24_aluminumblock_nest_0.5ml_screwcap/3.json +370 -0
  82. package/lib/labware/definitions/2/opentrons_24_tuberack_nest_0.5ml_screwcap/3.json +371 -0
  83. package/lib/labware/definitions/2/opentrons_96_aluminumblock_generic_pcr_strip_200ul/4.json +1149 -0
  84. package/lib/labware/definitions/2/opentrons_flex_tiprack_lid/1.json +8 -2
  85. package/lib/labware/definitions/2/usascientific_12_reservoir_22ml/3.json +237 -0
  86. package/lib/labware/definitions/3/schema3test_96_well_aluminum_block/999.json +1047 -0
  87. package/lib/labware/definitions/3/schema3test_96_wellplate_200ul_pcr_full_skirt/999.json +1189 -0
  88. package/lib/labware/definitions/3/schema3test_flex_96_tiprack_200ul/999.json +1041 -0
  89. package/lib/labware/fixtures/2/index.d.ts +4 -4
  90. package/lib/labware/fixtures/3/fixture_2_plate.json +25 -11
  91. package/lib/labware/fixtures/3/fixture_corning_24_plate.json +47 -33
  92. package/lib/labware/schemas/3.json +63 -25
  93. package/lib/liquid-class/definitions/1/ethanol_80.json +1455 -1059
  94. package/lib/liquid-class/definitions/1/glycerol_50.json +1454 -1058
  95. package/lib/liquid-class/definitions/1/water.json +1459 -1063
  96. package/lib/liquid-class/fixtures/1/fixture_glycerol50.json +66 -48
  97. package/lib/liquid-class/schemas/1.json +34 -48
  98. package/lib/module/definitions/3/absorbanceReaderV1.json +1 -0
  99. package/lib/module/definitions/3/flexStackerModuleV1.json +6 -0
  100. package/lib/module/definitions/3/magneticBlockV1.json +1 -0
  101. package/lib/module/definitions/3/magneticModuleV1.json +1 -0
  102. package/lib/module/definitions/3/magneticModuleV2.json +1 -0
  103. package/lib/module/definitions/3/temperatureModuleV1.json +1 -0
  104. package/lib/module/definitions/3/temperatureModuleV2.json +1 -0
  105. package/lib/module/definitions/3/thermocyclerModuleV1.json +1 -0
  106. package/lib/module/definitions/3/thermocyclerModuleV2.json +1 -0
  107. package/lib/module/schemas/3.json +4 -0
  108. package/lib/pipette/definitions/2/geometry/eight_channel/p50/3_5.json +4 -0
  109. package/lib/pipette/definitions/2/geometry/ninety_six_channel/p200/3_0.json +4 -0
  110. package/lib/pipette/definitions/2/geometry/single_channel/p50/3_6.json +4 -0
  111. package/lib/pipette/definitions/2/liquid/ninety_six_channel/p200/default/1_0.json +11 -11
  112. package/lib/pipette/definitions/2/liquid/ninety_six_channel/p200/default/3_0.json +12 -12
  113. package/lib/pipette/definitions/2/liquid/single_channel/p50/default/3_6.json +5 -5
  114. package/lib/pipette/definitions/2/liquid/single_channel/p50/lowVolumeDefault/3_6.json +5 -5
  115. package/lib/pipette/fixtures/name/index.d.ts +1 -1
  116. package/lib/protocol/fixtures/index.d.ts +2 -2
  117. package/lib/protocol/index.d.ts +7 -7
  118. package/lib/protocol/types/schemaV4.d.ts +1 -1
  119. package/lib/protocol/types/schemaV5.d.ts +1 -1
  120. package/lib/protocol/types/schemaV5Addendum.d.ts +1 -1
  121. package/lib/protocol/types/schemaV6/command/gantry.d.ts +4 -4
  122. package/lib/protocol/types/schemaV6/command/index.d.ts +5 -5
  123. package/lib/protocol/types/schemaV6/command/module.d.ts +1 -1
  124. package/lib/protocol/types/schemaV6/command/pipetting.d.ts +1 -1
  125. package/lib/protocol/types/schemaV6/command/setup.d.ts +1 -1
  126. package/lib/protocol/types/schemaV6/command/timing.d.ts +1 -1
  127. package/lib/protocol/types/schemaV6/index.d.ts +2 -2
  128. package/lib/protocol/types/schemaV7/command/annotation.d.ts +1 -1
  129. package/lib/protocol/types/schemaV7/command/calibration.d.ts +5 -5
  130. package/lib/protocol/types/schemaV7/command/gantry.d.ts +4 -4
  131. package/lib/protocol/types/schemaV7/command/incidental.d.ts +1 -1
  132. package/lib/protocol/types/schemaV7/command/index.d.ts +7 -7
  133. package/lib/protocol/types/schemaV7/command/module.d.ts +1 -1
  134. package/lib/protocol/types/schemaV7/command/pipetting.d.ts +1 -1
  135. package/lib/protocol/types/schemaV7/command/setup.d.ts +1 -1
  136. package/lib/protocol/types/schemaV7/command/timing.d.ts +1 -1
  137. package/lib/protocol/types/schemaV7/index.d.ts +2 -2
  138. package/lib/protocol/types/schemaV8/index.d.ts +1 -1
  139. package/liquid-class/definitions/1/ethanol_80.json +1455 -1059
  140. package/liquid-class/definitions/1/glycerol_50.json +1454 -1058
  141. package/liquid-class/definitions/1/water.json +1459 -1063
  142. package/liquid-class/fixtures/1/fixture_glycerol50.json +66 -48
  143. package/liquid-class/schemas/1.json +34 -48
  144. package/module/definitions/3/absorbanceReaderV1.json +1 -0
  145. package/module/definitions/3/flexStackerModuleV1.json +6 -0
  146. package/module/definitions/3/magneticBlockV1.json +1 -0
  147. package/module/definitions/3/magneticModuleV1.json +1 -0
  148. package/module/definitions/3/magneticModuleV2.json +1 -0
  149. package/module/definitions/3/temperatureModuleV1.json +1 -0
  150. package/module/definitions/3/temperatureModuleV2.json +1 -0
  151. package/module/definitions/3/thermocyclerModuleV1.json +1 -0
  152. package/module/definitions/3/thermocyclerModuleV2.json +1 -0
  153. package/module/schemas/3.json +4 -0
  154. package/package.json +1 -1
  155. package/pipette/definitions/2/geometry/eight_channel/p50/3_5.json +4 -0
  156. package/pipette/definitions/2/geometry/ninety_six_channel/p200/3_0.json +4 -0
  157. package/pipette/definitions/2/geometry/single_channel/p50/3_6.json +4 -0
  158. package/pipette/definitions/2/liquid/ninety_six_channel/p200/default/1_0.json +11 -11
  159. package/pipette/definitions/2/liquid/ninety_six_channel/p200/default/3_0.json +12 -12
  160. package/pipette/definitions/2/liquid/single_channel/p50/default/3_6.json +5 -5
  161. package/pipette/definitions/2/liquid/single_channel/p50/lowVolumeDefault/3_6.json +5 -5
  162. package/pipette/fixtures/index.ts +12 -12
  163. package/pipette/fixtures/name/index.ts +1 -0
  164. package/protocol/fixtures/index.ts +2 -3
  165. package/protocol/index.ts +9 -8
  166. package/protocol/types/schemaV4.ts +4 -4
  167. package/protocol/types/schemaV5.ts +1 -1
  168. package/protocol/types/schemaV5Addendum.ts +1 -1
  169. package/protocol/types/schemaV6/command/gantry.ts +4 -4
  170. package/protocol/types/schemaV6/command/index.ts +6 -6
  171. package/protocol/types/schemaV6/command/module.ts +1 -1
  172. package/protocol/types/schemaV6/command/pipetting.ts +2 -1
  173. package/protocol/types/schemaV6/command/setup.ts +2 -2
  174. package/protocol/types/schemaV6/command/timing.ts +1 -1
  175. package/protocol/types/schemaV6/index.ts +3 -3
  176. package/protocol/types/schemaV7/command/annotation.ts +1 -1
  177. package/protocol/types/schemaV7/command/calibration.ts +7 -6
  178. package/protocol/types/schemaV7/command/gantry.ts +5 -5
  179. package/protocol/types/schemaV7/command/incidental.ts +1 -1
  180. package/protocol/types/schemaV7/command/index.ts +14 -14
  181. package/protocol/types/schemaV7/command/module.ts +1 -1
  182. package/protocol/types/schemaV7/command/pipetting.ts +2 -1
  183. package/protocol/types/schemaV7/command/setup.ts +2 -2
  184. package/protocol/types/schemaV7/command/timing.ts +1 -1
  185. package/protocol/types/schemaV7/index.ts +3 -3
  186. package/protocol/types/schemaV8/index.ts +3 -3
package/command/index.ts CHANGED
@@ -2,7 +2,19 @@ import commandSchemaV7 from './schemas/7.json'
2
2
  import commandSchemaV8 from './schemas/8.json'
3
3
  import commandSchemaV9 from './schemas/9.json'
4
4
  import commandSchemaV10 from './schemas/10.json'
5
+ import commandSchemaV11 from './schemas/11.json'
6
+ import commandSchemaV12 from './schemas/12.json'
7
+ import commandSchemaV13 from './schemas/13.json'
8
+
5
9
  export * from './types/index'
6
- export const commandSchemaLatest = commandSchemaV10
10
+ export const commandSchemaLatest = commandSchemaV13
7
11
 
8
- export { commandSchemaV7, commandSchemaV8, commandSchemaV9, commandSchemaV10 }
12
+ export {
13
+ commandSchemaV7,
14
+ commandSchemaV8,
15
+ commandSchemaV9,
16
+ commandSchemaV10,
17
+ commandSchemaV11,
18
+ commandSchemaV12,
19
+ commandSchemaV13,
20
+ }
@@ -5755,6 +5755,67 @@
5755
5755
  "title": "UnsafeEngageAxesParams",
5756
5756
  "type": "object"
5757
5757
  },
5758
+ "UnsafeManualRetrieveCreate": {
5759
+ "description": "A request to execute a Flex Stacker manual retrieve command.",
5760
+ "properties": {
5761
+ "commandType": {
5762
+ "const": "unsafe/manualRetrieve",
5763
+ "default": "unsafe/manualRetrieve",
5764
+ "enum": ["unsafe/manualRetrieve"],
5765
+ "title": "Commandtype",
5766
+ "type": "string"
5767
+ },
5768
+ "intent": {
5769
+ "$ref": "#/$defs/CommandIntent",
5770
+ "description": "The reason the command was added. If not specified or `protocol`, the command will be treated as part of the protocol run itself, and added to the end of the existing command queue.\n\nIf `setup`, the command will be treated as part of run setup. A setup command may only be enqueued if the run has not started.\n\nUse setup commands for activities like pre-run calibration checks and module setup, like pre-heating.",
5771
+ "title": "Intent"
5772
+ },
5773
+ "key": {
5774
+ "description": "A key value, unique in this run, that can be used to track the same logical command across multiple runs of the same protocol. If a value is not provided, one will be generated.",
5775
+ "title": "Key",
5776
+ "type": "string"
5777
+ },
5778
+ "params": {
5779
+ "$ref": "#/$defs/UnsafeManualRetrieveParams"
5780
+ }
5781
+ },
5782
+ "required": ["params"],
5783
+ "title": "UnsafeManualRetrieveCreate",
5784
+ "type": "object"
5785
+ },
5786
+ "UnsafeManualRetrieveParams": {
5787
+ "description": "Input parameters for a labware retrieval command.",
5788
+ "properties": {
5789
+ "adapterId": {
5790
+ "description": "An optional ID to assign to an adapter. If None, an ID will be generated.",
5791
+ "title": "Adapterid",
5792
+ "type": "string"
5793
+ },
5794
+ "displayName": {
5795
+ "description": "An optional user-specified display name or label for this labware.",
5796
+ "title": "Displayname",
5797
+ "type": "string"
5798
+ },
5799
+ "labwareId": {
5800
+ "description": "An optional ID to assign to this labware. If None, an ID will be generated.",
5801
+ "title": "Labwareid",
5802
+ "type": "string"
5803
+ },
5804
+ "lidId": {
5805
+ "description": "An optional ID to assign to a lid. If None, an ID will be generated.",
5806
+ "title": "Lidid",
5807
+ "type": "string"
5808
+ },
5809
+ "moduleId": {
5810
+ "description": "Unique ID of the Flex Stacker.",
5811
+ "title": "Moduleid",
5812
+ "type": "string"
5813
+ }
5814
+ },
5815
+ "required": ["moduleId"],
5816
+ "title": "UnsafeManualRetrieveParams",
5817
+ "type": "object"
5818
+ },
5758
5819
  "UnsafePlaceLabwareCreate": {
5759
5820
  "description": "UnsafePlaceLabware command request model.",
5760
5821
  "properties": {
@@ -6749,6 +6810,7 @@
6749
6810
  "unsafe/blowOutInPlace": "#/$defs/UnsafeBlowOutInPlaceCreate",
6750
6811
  "unsafe/dropTipInPlace": "#/$defs/UnsafeDropTipInPlaceCreate",
6751
6812
  "unsafe/engageAxes": "#/$defs/UnsafeEngageAxesCreate",
6813
+ "unsafe/manualRetrieve": "#/$defs/UnsafeManualRetrieveCreate",
6752
6814
  "unsafe/placeLabware": "#/$defs/UnsafePlaceLabwareCreate",
6753
6815
  "unsafe/ungripLabware": "#/$defs/UnsafeUngripLabwareCreate",
6754
6816
  "unsafe/updatePositionEstimators": "#/$defs/UpdatePositionEstimatorsCreate",
@@ -7033,6 +7095,9 @@
7033
7095
  {
7034
7096
  "$ref": "#/$defs/UnsafePlaceLabwareCreate"
7035
7097
  },
7098
+ {
7099
+ "$ref": "#/$defs/UnsafeManualRetrieveCreate"
7100
+ },
7036
7101
  {
7037
7102
  "$ref": "#/$defs/MoveAxesRelativeCreate"
7038
7103
  },