@zaber/motion 9.0.1 → 9.1.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 (189) hide show
  1. package/LICENSE +2 -81
  2. package/dist/binding/wasm/zaber-motion-core.wasm +0 -0
  3. package/dist/lib/ascii/setting_constants.d.ts +12 -0
  4. package/dist/lib/ascii/setting_constants.d.ts.map +1 -1
  5. package/dist/lib/ascii/setting_constants.js +12 -0
  6. package/dist/lib/ascii/setting_constants.js.map +1 -1
  7. package/dist/lib/ascii/simple_tuning.d.ts +4 -0
  8. package/dist/lib/ascii/simple_tuning.d.ts.map +1 -1
  9. package/dist/lib/ascii/simple_tuning.js +5 -1
  10. package/dist/lib/ascii/simple_tuning.js.map +1 -1
  11. package/dist/lib/exceptions/{ge_1_gripper_movement_failed_exception.d.ts → ge_1_x_gripper_movement_failed_exception.d.ts} +2 -2
  12. package/dist/lib/exceptions/ge_1_x_gripper_movement_failed_exception.d.ts.map +1 -0
  13. package/dist/lib/exceptions/{ge_1_gripper_movement_failed_exception.js → ge_1_x_gripper_movement_failed_exception.js} +5 -5
  14. package/dist/lib/exceptions/ge_1_x_gripper_movement_failed_exception.js.map +1 -0
  15. package/dist/lib/exceptions/index.d.ts +1 -1
  16. package/dist/lib/exceptions/index.d.ts.map +1 -1
  17. package/dist/lib/exceptions/index.js +1 -1
  18. package/dist/lib/exceptions/index.js.map +1 -1
  19. package/dist/lib/gateway/constants.js +1 -1
  20. package/dist/lib/gateway/constants.js.map +1 -1
  21. package/dist/lib/gateway/convert_exceptions.js +1 -1
  22. package/dist/lib/gateway/convert_exceptions.js.map +1 -1
  23. package/dist/lib/product/{ge_1_gripper.d.ts → ge_1_x_gripper.d.ts} +24 -24
  24. package/dist/lib/product/ge_1_x_gripper.d.ts.map +1 -0
  25. package/dist/lib/product/{ge_1_gripper.js → ge_1_x_gripper.js} +99 -99
  26. package/dist/lib/product/ge_1_x_gripper.js.map +1 -0
  27. package/dist/lib/product/{ge_1_gripper_direction.d.ts → ge_1_x_gripper_direction.d.ts} +4 -4
  28. package/dist/lib/product/ge_1_x_gripper_direction.d.ts.map +1 -0
  29. package/dist/lib/product/ge_1_x_gripper_direction.js +24 -0
  30. package/dist/lib/product/ge_1_x_gripper_direction.js.map +1 -0
  31. package/dist/lib/product/{ge_1_gripper_error.d.ts → ge_1_x_gripper_error.d.ts} +4 -4
  32. package/dist/lib/product/ge_1_x_gripper_error.d.ts.map +1 -0
  33. package/dist/lib/product/ge_1_x_gripper_error.js +46 -0
  34. package/dist/lib/product/ge_1_x_gripper_error.js.map +1 -0
  35. package/dist/lib/product/{ge_1_gripper_state.d.ts → ge_1_x_gripper_state.d.ts} +4 -4
  36. package/dist/lib/product/ge_1_x_gripper_state.d.ts.map +1 -0
  37. package/dist/lib/product/ge_1_x_gripper_state.js +32 -0
  38. package/dist/lib/product/ge_1_x_gripper_state.js.map +1 -0
  39. package/dist/lib/product/index.d.ts +4 -4
  40. package/dist/lib/product/index.d.ts.map +1 -1
  41. package/dist/lib/product/index.js +4 -4
  42. package/dist/lib/product/index.js.map +1 -1
  43. package/dist/lib/requests/errors.d.ts +2 -2
  44. package/dist/lib/requests/errors.d.ts.map +1 -1
  45. package/dist/lib/requests/errors.js +2 -2
  46. package/dist/lib/requests/errors.js.map +1 -1
  47. package/dist/lib/requests/ge_1_x_gripper_activate_preset_request.d.ts +15 -0
  48. package/dist/lib/requests/ge_1_x_gripper_activate_preset_request.d.ts.map +1 -0
  49. package/dist/lib/requests/{ge_1_gripper_activate_preset_request.js → ge_1_x_gripper_activate_preset_request.js} +7 -7
  50. package/dist/lib/requests/ge_1_x_gripper_activate_preset_request.js.map +1 -0
  51. package/dist/lib/requests/ge_1_x_gripper_calibrate_request.d.ts +14 -0
  52. package/dist/lib/requests/ge_1_x_gripper_calibrate_request.d.ts.map +1 -0
  53. package/dist/lib/requests/{ge_1_gripper_calibrate_request.js → ge_1_x_gripper_calibrate_request.js} +7 -7
  54. package/dist/lib/requests/ge_1_x_gripper_calibrate_request.js.map +1 -0
  55. package/dist/lib/requests/ge_1_x_gripper_empty_request.d.ts +13 -0
  56. package/dist/lib/requests/ge_1_x_gripper_empty_request.d.ts.map +1 -0
  57. package/dist/lib/requests/{ge_1_gripper_empty_request.js → ge_1_x_gripper_empty_request.js} +7 -7
  58. package/dist/lib/requests/ge_1_x_gripper_empty_request.js.map +1 -0
  59. package/dist/lib/requests/ge_1_x_gripper_get_error_response.d.ts +14 -0
  60. package/dist/lib/requests/ge_1_x_gripper_get_error_response.d.ts.map +1 -0
  61. package/dist/lib/requests/ge_1_x_gripper_get_error_response.js +36 -0
  62. package/dist/lib/requests/ge_1_x_gripper_get_error_response.js.map +1 -0
  63. package/dist/lib/requests/ge_1_x_gripper_get_state_response.d.ts +14 -0
  64. package/dist/lib/requests/ge_1_x_gripper_get_state_response.d.ts.map +1 -0
  65. package/dist/lib/requests/ge_1_x_gripper_get_state_response.js +36 -0
  66. package/dist/lib/requests/ge_1_x_gripper_get_state_response.js.map +1 -0
  67. package/dist/lib/requests/ge_1_x_gripper_move_request.d.ts +15 -0
  68. package/dist/lib/requests/ge_1_x_gripper_move_request.d.ts.map +1 -0
  69. package/dist/lib/requests/{ge_1_gripper_move_request.js → ge_1_x_gripper_move_request.js} +7 -7
  70. package/dist/lib/requests/ge_1_x_gripper_move_request.js.map +1 -0
  71. package/dist/lib/requests/ge_1_x_gripper_open_connection_request.d.ts +15 -0
  72. package/dist/lib/requests/ge_1_x_gripper_open_connection_request.d.ts.map +1 -0
  73. package/dist/lib/requests/{ge_1_gripper_open_connection_request.js → ge_1_x_gripper_open_connection_request.js} +7 -7
  74. package/dist/lib/requests/ge_1_x_gripper_open_connection_request.js.map +1 -0
  75. package/dist/lib/requests/ge_1_x_gripper_read_register_request.d.ts +14 -0
  76. package/dist/lib/requests/ge_1_x_gripper_read_register_request.d.ts.map +1 -0
  77. package/dist/lib/requests/{ge_1_gripper_read_register_request.js → ge_1_x_gripper_read_register_request.js} +7 -7
  78. package/dist/lib/requests/ge_1_x_gripper_read_register_request.js.map +1 -0
  79. package/dist/lib/requests/ge_1_x_gripper_set_auto_home_request.d.ts +15 -0
  80. package/dist/lib/requests/ge_1_x_gripper_set_auto_home_request.d.ts.map +1 -0
  81. package/dist/lib/requests/{ge_1_gripper_set_io_enabled_request.js → ge_1_x_gripper_set_auto_home_request.js} +7 -7
  82. package/dist/lib/requests/ge_1_x_gripper_set_auto_home_request.js.map +1 -0
  83. package/dist/lib/requests/ge_1_x_gripper_set_force_request.d.ts +14 -0
  84. package/dist/lib/requests/ge_1_x_gripper_set_force_request.d.ts.map +1 -0
  85. package/dist/lib/requests/{ge_1_gripper_set_force_request.js → ge_1_x_gripper_set_force_request.js} +7 -7
  86. package/dist/lib/requests/ge_1_x_gripper_set_force_request.js.map +1 -0
  87. package/dist/lib/requests/ge_1_x_gripper_set_home_direction_request.d.ts +16 -0
  88. package/dist/lib/requests/ge_1_x_gripper_set_home_direction_request.d.ts.map +1 -0
  89. package/dist/lib/requests/{ge_1_gripper_set_home_direction_request.js → ge_1_x_gripper_set_home_direction_request.js} +10 -10
  90. package/dist/lib/requests/ge_1_x_gripper_set_home_direction_request.js.map +1 -0
  91. package/dist/lib/requests/ge_1_x_gripper_set_io_enabled_request.d.ts +15 -0
  92. package/dist/lib/requests/ge_1_x_gripper_set_io_enabled_request.d.ts.map +1 -0
  93. package/dist/lib/requests/{ge_1_gripper_set_auto_home_request.js → ge_1_x_gripper_set_io_enabled_request.js} +7 -7
  94. package/dist/lib/requests/ge_1_x_gripper_set_io_enabled_request.js.map +1 -0
  95. package/dist/lib/requests/ge_1_x_gripper_set_io_input_filter_request.d.ts +15 -0
  96. package/dist/lib/requests/ge_1_x_gripper_set_io_input_filter_request.d.ts.map +1 -0
  97. package/dist/lib/requests/{ge_1_gripper_set_io_input_filter_request.js → ge_1_x_gripper_set_io_input_filter_request.js} +7 -7
  98. package/dist/lib/requests/ge_1_x_gripper_set_io_input_filter_request.js.map +1 -0
  99. package/dist/lib/requests/ge_1_x_gripper_set_preset_request.d.ts +18 -0
  100. package/dist/lib/requests/ge_1_x_gripper_set_preset_request.d.ts.map +1 -0
  101. package/dist/lib/requests/{ge_1_gripper_set_preset_request.js → ge_1_x_gripper_set_preset_request.js} +7 -7
  102. package/dist/lib/requests/ge_1_x_gripper_set_preset_request.js.map +1 -0
  103. package/dist/lib/requests/ge_1_x_gripper_set_speed_request.d.ts +14 -0
  104. package/dist/lib/requests/ge_1_x_gripper_set_speed_request.d.ts.map +1 -0
  105. package/dist/lib/requests/{ge_1_gripper_set_speed_request.js → ge_1_x_gripper_set_speed_request.js} +7 -7
  106. package/dist/lib/requests/ge_1_x_gripper_set_speed_request.js.map +1 -0
  107. package/dist/lib/requests/ge_1_x_gripper_wait_until_idle_request.d.ts +14 -0
  108. package/dist/lib/requests/ge_1_x_gripper_wait_until_idle_request.d.ts.map +1 -0
  109. package/dist/lib/requests/{ge_1_gripper_wait_until_idle_request.js → ge_1_x_gripper_wait_until_idle_request.js} +7 -7
  110. package/dist/lib/requests/ge_1_x_gripper_wait_until_idle_request.js.map +1 -0
  111. package/dist/lib/requests/ge_1_x_gripper_write_register_request.d.ts +15 -0
  112. package/dist/lib/requests/ge_1_x_gripper_write_register_request.d.ts.map +1 -0
  113. package/dist/lib/requests/{ge_1_gripper_write_register_request.js → ge_1_x_gripper_write_register_request.js} +7 -7
  114. package/dist/lib/requests/ge_1_x_gripper_write_register_request.js.map +1 -0
  115. package/dist/lib/requests/index.d.ts +17 -17
  116. package/dist/lib/requests/index.d.ts.map +1 -1
  117. package/dist/lib/requests/index.js +17 -17
  118. package/dist/lib/requests/index.js.map +1 -1
  119. package/dist/lib/requests/test_request_complex.d.ts +2 -0
  120. package/dist/lib/requests/test_request_complex.d.ts.map +1 -1
  121. package/dist/lib/requests/test_request_complex.js +13 -2
  122. package/dist/lib/requests/test_request_complex.js.map +1 -1
  123. package/package.json +1 -1
  124. package/dist/lib/exceptions/ge_1_gripper_movement_failed_exception.d.ts.map +0 -1
  125. package/dist/lib/exceptions/ge_1_gripper_movement_failed_exception.js.map +0 -1
  126. package/dist/lib/product/ge_1_gripper.d.ts.map +0 -1
  127. package/dist/lib/product/ge_1_gripper.js.map +0 -1
  128. package/dist/lib/product/ge_1_gripper_direction.d.ts.map +0 -1
  129. package/dist/lib/product/ge_1_gripper_direction.js +0 -24
  130. package/dist/lib/product/ge_1_gripper_direction.js.map +0 -1
  131. package/dist/lib/product/ge_1_gripper_error.d.ts.map +0 -1
  132. package/dist/lib/product/ge_1_gripper_error.js +0 -46
  133. package/dist/lib/product/ge_1_gripper_error.js.map +0 -1
  134. package/dist/lib/product/ge_1_gripper_state.d.ts.map +0 -1
  135. package/dist/lib/product/ge_1_gripper_state.js +0 -32
  136. package/dist/lib/product/ge_1_gripper_state.js.map +0 -1
  137. package/dist/lib/requests/ge_1_gripper_activate_preset_request.d.ts +0 -15
  138. package/dist/lib/requests/ge_1_gripper_activate_preset_request.d.ts.map +0 -1
  139. package/dist/lib/requests/ge_1_gripper_activate_preset_request.js.map +0 -1
  140. package/dist/lib/requests/ge_1_gripper_calibrate_request.d.ts +0 -14
  141. package/dist/lib/requests/ge_1_gripper_calibrate_request.d.ts.map +0 -1
  142. package/dist/lib/requests/ge_1_gripper_calibrate_request.js.map +0 -1
  143. package/dist/lib/requests/ge_1_gripper_empty_request.d.ts +0 -13
  144. package/dist/lib/requests/ge_1_gripper_empty_request.d.ts.map +0 -1
  145. package/dist/lib/requests/ge_1_gripper_empty_request.js.map +0 -1
  146. package/dist/lib/requests/ge_1_gripper_get_error_response.d.ts +0 -14
  147. package/dist/lib/requests/ge_1_gripper_get_error_response.d.ts.map +0 -1
  148. package/dist/lib/requests/ge_1_gripper_get_error_response.js +0 -36
  149. package/dist/lib/requests/ge_1_gripper_get_error_response.js.map +0 -1
  150. package/dist/lib/requests/ge_1_gripper_get_state_response.d.ts +0 -14
  151. package/dist/lib/requests/ge_1_gripper_get_state_response.d.ts.map +0 -1
  152. package/dist/lib/requests/ge_1_gripper_get_state_response.js +0 -36
  153. package/dist/lib/requests/ge_1_gripper_get_state_response.js.map +0 -1
  154. package/dist/lib/requests/ge_1_gripper_move_request.d.ts +0 -15
  155. package/dist/lib/requests/ge_1_gripper_move_request.d.ts.map +0 -1
  156. package/dist/lib/requests/ge_1_gripper_move_request.js.map +0 -1
  157. package/dist/lib/requests/ge_1_gripper_open_connection_request.d.ts +0 -15
  158. package/dist/lib/requests/ge_1_gripper_open_connection_request.d.ts.map +0 -1
  159. package/dist/lib/requests/ge_1_gripper_open_connection_request.js.map +0 -1
  160. package/dist/lib/requests/ge_1_gripper_read_register_request.d.ts +0 -14
  161. package/dist/lib/requests/ge_1_gripper_read_register_request.d.ts.map +0 -1
  162. package/dist/lib/requests/ge_1_gripper_read_register_request.js.map +0 -1
  163. package/dist/lib/requests/ge_1_gripper_set_auto_home_request.d.ts +0 -15
  164. package/dist/lib/requests/ge_1_gripper_set_auto_home_request.d.ts.map +0 -1
  165. package/dist/lib/requests/ge_1_gripper_set_auto_home_request.js.map +0 -1
  166. package/dist/lib/requests/ge_1_gripper_set_force_request.d.ts +0 -14
  167. package/dist/lib/requests/ge_1_gripper_set_force_request.d.ts.map +0 -1
  168. package/dist/lib/requests/ge_1_gripper_set_force_request.js.map +0 -1
  169. package/dist/lib/requests/ge_1_gripper_set_home_direction_request.d.ts +0 -16
  170. package/dist/lib/requests/ge_1_gripper_set_home_direction_request.d.ts.map +0 -1
  171. package/dist/lib/requests/ge_1_gripper_set_home_direction_request.js.map +0 -1
  172. package/dist/lib/requests/ge_1_gripper_set_io_enabled_request.d.ts +0 -15
  173. package/dist/lib/requests/ge_1_gripper_set_io_enabled_request.d.ts.map +0 -1
  174. package/dist/lib/requests/ge_1_gripper_set_io_enabled_request.js.map +0 -1
  175. package/dist/lib/requests/ge_1_gripper_set_io_input_filter_request.d.ts +0 -15
  176. package/dist/lib/requests/ge_1_gripper_set_io_input_filter_request.d.ts.map +0 -1
  177. package/dist/lib/requests/ge_1_gripper_set_io_input_filter_request.js.map +0 -1
  178. package/dist/lib/requests/ge_1_gripper_set_preset_request.d.ts +0 -18
  179. package/dist/lib/requests/ge_1_gripper_set_preset_request.d.ts.map +0 -1
  180. package/dist/lib/requests/ge_1_gripper_set_preset_request.js.map +0 -1
  181. package/dist/lib/requests/ge_1_gripper_set_speed_request.d.ts +0 -14
  182. package/dist/lib/requests/ge_1_gripper_set_speed_request.d.ts.map +0 -1
  183. package/dist/lib/requests/ge_1_gripper_set_speed_request.js.map +0 -1
  184. package/dist/lib/requests/ge_1_gripper_wait_until_idle_request.d.ts +0 -14
  185. package/dist/lib/requests/ge_1_gripper_wait_until_idle_request.d.ts.map +0 -1
  186. package/dist/lib/requests/ge_1_gripper_wait_until_idle_request.js.map +0 -1
  187. package/dist/lib/requests/ge_1_gripper_write_register_request.d.ts +0 -15
  188. package/dist/lib/requests/ge_1_gripper_write_register_request.d.ts.map +0 -1
  189. package/dist/lib/requests/ge_1_gripper_write_register_request.js.map +0 -1
@@ -1,15 +1,15 @@
1
1
  /**
2
2
  * Direction for a GE1x series gripper.
3
3
  */
4
- export declare enum Ge1GripperDirection {
4
+ export declare enum Ge1xGripperDirection {
5
5
  /** Open */
6
6
  OPEN = 0,
7
7
  /** Close */
8
8
  CLOSE = 1
9
9
  }
10
10
  /**
11
- * Type guard for Ge1GripperDirection.
11
+ * Type guard for Ge1xGripperDirection.
12
12
  * This only checks if the value is one of the enum keys; it could create a false positive if two enums have the same key.
13
13
  */
14
- export declare function isGe1GripperDirection(value: any): value is Ge1GripperDirection;
15
- //# sourceMappingURL=ge_1_gripper_direction.d.ts.map
14
+ export declare function isGe1xGripperDirection(value: any): value is Ge1xGripperDirection;
15
+ //# sourceMappingURL=ge_1_x_gripper_direction.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ge_1_x_gripper_direction.d.ts","sourceRoot":"","sources":["../../../src/product/ge_1_x_gripper_direction.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,oBAAY,oBAAoB;IAC9B,WAAW;IACX,IAAI,IAAI;IACR,YAAY;IACZ,KAAK,IAAI;CACV;AAED;;;GAGG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,GAAG,GAAG,KAAK,IAAI,oBAAoB,CAEhF"}
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.isGe1xGripperDirection = exports.Ge1xGripperDirection = void 0;
4
+ // ===== THIS FILE IS GENERATED FROM A TEMPLATE ===== //
5
+ // ============== DO NOT EDIT DIRECTLY ============== //
6
+ /**
7
+ * Direction for a GE1x series gripper.
8
+ */
9
+ var Ge1xGripperDirection;
10
+ (function (Ge1xGripperDirection) {
11
+ /** Open */
12
+ Ge1xGripperDirection[Ge1xGripperDirection["OPEN"] = 0] = "OPEN";
13
+ /** Close */
14
+ Ge1xGripperDirection[Ge1xGripperDirection["CLOSE"] = 1] = "CLOSE";
15
+ })(Ge1xGripperDirection || (exports.Ge1xGripperDirection = Ge1xGripperDirection = {}));
16
+ /**
17
+ * Type guard for Ge1xGripperDirection.
18
+ * This only checks if the value is one of the enum keys; it could create a false positive if two enums have the same key.
19
+ */
20
+ function isGe1xGripperDirection(value) {
21
+ return Object.values(Ge1xGripperDirection).includes(value);
22
+ }
23
+ exports.isGe1xGripperDirection = isGe1xGripperDirection;
24
+ //# sourceMappingURL=ge_1_x_gripper_direction.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ge_1_x_gripper_direction.js","sourceRoot":"","sources":["../../../src/product/ge_1_x_gripper_direction.ts"],"names":[],"mappings":";;;AAAA,wDAAwD;AACxD,wDAAwD;AACxD;;GAEG;AACH,IAAY,oBAKX;AALD,WAAY,oBAAoB;IAC9B,WAAW;IACX,+DAAQ,CAAA;IACR,YAAY;IACZ,iEAAS,CAAA;AACX,CAAC,EALW,oBAAoB,oCAApB,oBAAoB,QAK/B;AAED;;;GAGG;AACH,SAAgB,sBAAsB,CAAC,KAAU;IAC/C,OAAO,MAAM,CAAC,MAAM,CAAC,oBAAoB,CAAC,CAAC,QAAQ,CAAC,KAA6B,CAAC,CAAC;AACrF,CAAC;AAFD,wDAEC","sourcesContent":["// ===== THIS FILE IS GENERATED FROM A TEMPLATE ===== //\n// ============== DO NOT EDIT DIRECTLY ============== //\n/**\n * Direction for a GE1x series gripper.\n */\nexport enum Ge1xGripperDirection {\n /** Open */\n OPEN = 0,\n /** Close */\n CLOSE = 1,\n}\n\n/**\n * Type guard for Ge1xGripperDirection.\n * This only checks if the value is one of the enum keys; it could create a false positive if two enums have the same key.\n */\nexport function isGe1xGripperDirection(value: any): value is Ge1xGripperDirection {\n return Object.values(Ge1xGripperDirection).includes(value as Ge1xGripperDirection);\n}\n"]}
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Error for a GE1x series gripper.
3
3
  */
4
- export declare enum Ge1GripperError {
4
+ export declare enum Ge1xGripperError {
5
5
  /** No error. */
6
6
  NONE = 0,
7
7
  /** The gripper supply voltage is too low. */
@@ -30,8 +30,8 @@ export declare enum Ge1GripperError {
30
30
  FILE_SYSTEM_ERROR = 37
31
31
  }
32
32
  /**
33
- * Type guard for Ge1GripperError.
33
+ * Type guard for Ge1xGripperError.
34
34
  * This only checks if the value is one of the enum keys; it could create a false positive if two enums have the same key.
35
35
  */
36
- export declare function isGe1GripperError(value: any): value is Ge1GripperError;
37
- //# sourceMappingURL=ge_1_gripper_error.d.ts.map
36
+ export declare function isGe1xGripperError(value: any): value is Ge1xGripperError;
37
+ //# sourceMappingURL=ge_1_x_gripper_error.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ge_1_x_gripper_error.d.ts","sourceRoot":"","sources":["../../../src/product/ge_1_x_gripper_error.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,oBAAY,gBAAgB;IAC1B,gBAAgB;IAChB,IAAI,IAAI;IACR,6CAA6C;IAC7C,YAAY,IAAI;IAChB,8CAA8C;IAC9C,WAAW,IAAI;IACf,+CAA+C;IAC/C,WAAW,IAAI;IACf,2CAA2C;IAC3C,eAAe,IAAI;IACnB,iDAAiD;IACjD,gBAAgB,KAAK;IACrB,gDAAgD;IAChD,SAAS,KAAK;IACd,kDAAkD;IAClD,aAAa,KAAK;IAClB,+DAA+D;IAC/D,2BAA2B,KAAK;IAChC,uDAAuD;IACvD,sBAAsB,KAAK;IAC3B,yDAAyD;IACzD,oBAAoB,KAAK;IACzB,uDAAuD;IACvD,gBAAgB,KAAK;IACrB,sDAAsD;IACtD,iBAAiB,KAAK;CACvB;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,GAAG,GAAG,KAAK,IAAI,gBAAgB,CAExE"}
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.isGe1xGripperError = exports.Ge1xGripperError = void 0;
4
+ // ===== THIS FILE IS GENERATED FROM A TEMPLATE ===== //
5
+ // ============== DO NOT EDIT DIRECTLY ============== //
6
+ /**
7
+ * Error for a GE1x series gripper.
8
+ */
9
+ var Ge1xGripperError;
10
+ (function (Ge1xGripperError) {
11
+ /** No error. */
12
+ Ge1xGripperError[Ge1xGripperError["NONE"] = 0] = "NONE";
13
+ /** The gripper supply voltage is too low. */
14
+ Ge1xGripperError[Ge1xGripperError["UNDERVOLTAGE"] = 1] = "UNDERVOLTAGE";
15
+ /** The gripper supply voltage is too high. */
16
+ Ge1xGripperError[Ge1xGripperError["OVERVOLTAGE"] = 2] = "OVERVOLTAGE";
17
+ /** The gripper is drawing too much current. */
18
+ Ge1xGripperError[Ge1xGripperError["OVERCURRENT"] = 3] = "OVERCURRENT";
19
+ /** The gripper temperature is too high. */
20
+ Ge1xGripperError[Ge1xGripperError["OVERTEMPERATURE"] = 4] = "OVERTEMPERATURE";
21
+ /** There is a 3-phase imbalance in the motor. */
22
+ Ge1xGripperError[Ge1xGripperError["MOTOR_PHASE_LOSS"] = 10] = "MOTOR_PHASE_LOSS";
23
+ /** The gripper has exceeded its rated speed. */
24
+ Ge1xGripperError[Ge1xGripperError["OVERSPEED"] = 11] = "OVERSPEED";
25
+ /** There is an error with the gripper encoder. */
26
+ Ge1xGripperError[Ge1xGripperError["ENCODER_ERROR"] = 32] = "ENCODER_ERROR";
27
+ /** There is a communication error with the gripper encoder. */
28
+ Ge1xGripperError[Ge1xGripperError["ENCODER_COMMUNICATION_ERROR"] = 33] = "ENCODER_COMMUNICATION_ERROR";
29
+ /** The gripper current sampling offset is abnormal. */
30
+ Ge1xGripperError[Ge1xGripperError["SAMPLING_CIRCUIT_ERROR"] = 34] = "SAMPLING_CIRCUIT_ERROR";
31
+ /** There is an error with the gripper driver circuit. */
32
+ Ge1xGripperError[Ge1xGripperError["DRIVER_CIRCUIT_ERROR"] = 35] = "DRIVER_CIRCUIT_ERROR";
33
+ /** There is an error with the gripper flash memory. */
34
+ Ge1xGripperError[Ge1xGripperError["FLASH_CHIP_ERROR"] = 36] = "FLASH_CHIP_ERROR";
35
+ /** There is an error with the gripper file system. */
36
+ Ge1xGripperError[Ge1xGripperError["FILE_SYSTEM_ERROR"] = 37] = "FILE_SYSTEM_ERROR";
37
+ })(Ge1xGripperError || (exports.Ge1xGripperError = Ge1xGripperError = {}));
38
+ /**
39
+ * Type guard for Ge1xGripperError.
40
+ * This only checks if the value is one of the enum keys; it could create a false positive if two enums have the same key.
41
+ */
42
+ function isGe1xGripperError(value) {
43
+ return Object.values(Ge1xGripperError).includes(value);
44
+ }
45
+ exports.isGe1xGripperError = isGe1xGripperError;
46
+ //# sourceMappingURL=ge_1_x_gripper_error.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ge_1_x_gripper_error.js","sourceRoot":"","sources":["../../../src/product/ge_1_x_gripper_error.ts"],"names":[],"mappings":";;;AAAA,wDAAwD;AACxD,wDAAwD;AACxD;;GAEG;AACH,IAAY,gBA2BX;AA3BD,WAAY,gBAAgB;IAC1B,gBAAgB;IAChB,uDAAQ,CAAA;IACR,6CAA6C;IAC7C,uEAAgB,CAAA;IAChB,8CAA8C;IAC9C,qEAAe,CAAA;IACf,+CAA+C;IAC/C,qEAAe,CAAA;IACf,2CAA2C;IAC3C,6EAAmB,CAAA;IACnB,iDAAiD;IACjD,gFAAqB,CAAA;IACrB,gDAAgD;IAChD,kEAAc,CAAA;IACd,kDAAkD;IAClD,0EAAkB,CAAA;IAClB,+DAA+D;IAC/D,sGAAgC,CAAA;IAChC,uDAAuD;IACvD,4FAA2B,CAAA;IAC3B,yDAAyD;IACzD,wFAAyB,CAAA;IACzB,uDAAuD;IACvD,gFAAqB,CAAA;IACrB,sDAAsD;IACtD,kFAAsB,CAAA;AACxB,CAAC,EA3BW,gBAAgB,gCAAhB,gBAAgB,QA2B3B;AAED;;;GAGG;AACH,SAAgB,kBAAkB,CAAC,KAAU;IAC3C,OAAO,MAAM,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAC,QAAQ,CAAC,KAAyB,CAAC,CAAC;AAC7E,CAAC;AAFD,gDAEC","sourcesContent":["// ===== THIS FILE IS GENERATED FROM A TEMPLATE ===== //\n// ============== DO NOT EDIT DIRECTLY ============== //\n/**\n * Error for a GE1x series gripper.\n */\nexport enum Ge1xGripperError {\n /** No error. */\n NONE = 0,\n /** The gripper supply voltage is too low. */\n UNDERVOLTAGE = 1,\n /** The gripper supply voltage is too high. */\n OVERVOLTAGE = 2,\n /** The gripper is drawing too much current. */\n OVERCURRENT = 3,\n /** The gripper temperature is too high. */\n OVERTEMPERATURE = 4,\n /** There is a 3-phase imbalance in the motor. */\n MOTOR_PHASE_LOSS = 10,\n /** The gripper has exceeded its rated speed. */\n OVERSPEED = 11,\n /** There is an error with the gripper encoder. */\n ENCODER_ERROR = 32,\n /** There is a communication error with the gripper encoder. */\n ENCODER_COMMUNICATION_ERROR = 33,\n /** The gripper current sampling offset is abnormal. */\n SAMPLING_CIRCUIT_ERROR = 34,\n /** There is an error with the gripper driver circuit. */\n DRIVER_CIRCUIT_ERROR = 35,\n /** There is an error with the gripper flash memory. */\n FLASH_CHIP_ERROR = 36,\n /** There is an error with the gripper file system. */\n FILE_SYSTEM_ERROR = 37,\n}\n\n/**\n * Type guard for Ge1xGripperError.\n * This only checks if the value is one of the enum keys; it could create a false positive if two enums have the same key.\n */\nexport function isGe1xGripperError(value: any): value is Ge1xGripperError {\n return Object.values(Ge1xGripperError).includes(value as Ge1xGripperError);\n}\n"]}
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * State of a GE1x series gripper.
3
3
  */
4
- export declare enum Ge1GripperState {
4
+ export declare enum Ge1xGripperState {
5
5
  /** The gripper has not been homed and does not have a reference position. */
6
6
  NO_REFERENCE_POSITION = 0,
7
7
  /** The gripper is currently performing a homing operation. */
@@ -16,8 +16,8 @@ export declare enum Ge1GripperState {
16
16
  OBJECT_DROPPED = 5
17
17
  }
18
18
  /**
19
- * Type guard for Ge1GripperState.
19
+ * Type guard for Ge1xGripperState.
20
20
  * This only checks if the value is one of the enum keys; it could create a false positive if two enums have the same key.
21
21
  */
22
- export declare function isGe1GripperState(value: any): value is Ge1GripperState;
23
- //# sourceMappingURL=ge_1_gripper_state.d.ts.map
22
+ export declare function isGe1xGripperState(value: any): value is Ge1xGripperState;
23
+ //# sourceMappingURL=ge_1_x_gripper_state.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ge_1_x_gripper_state.d.ts","sourceRoot":"","sources":["../../../src/product/ge_1_x_gripper_state.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,oBAAY,gBAAgB;IAC1B,6EAA6E;IAC7E,qBAAqB,IAAI;IACzB,8DAA8D;IAC9D,MAAM,IAAI;IACV,kDAAkD;IAClD,IAAI,IAAI;IACR,oDAAoD;IACpD,MAAM,IAAI;IACV,0CAA0C;IAC1C,eAAe,IAAI;IACnB,+EAA+E;IAC/E,cAAc,IAAI;CACnB;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,GAAG,GAAG,KAAK,IAAI,gBAAgB,CAExE"}
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.isGe1xGripperState = exports.Ge1xGripperState = void 0;
4
+ // ===== THIS FILE IS GENERATED FROM A TEMPLATE ===== //
5
+ // ============== DO NOT EDIT DIRECTLY ============== //
6
+ /**
7
+ * State of a GE1x series gripper.
8
+ */
9
+ var Ge1xGripperState;
10
+ (function (Ge1xGripperState) {
11
+ /** The gripper has not been homed and does not have a reference position. */
12
+ Ge1xGripperState[Ge1xGripperState["NO_REFERENCE_POSITION"] = 0] = "NO_REFERENCE_POSITION";
13
+ /** The gripper is currently performing a homing operation. */
14
+ Ge1xGripperState[Ge1xGripperState["HOMING"] = 1] = "HOMING";
15
+ /** The gripper is idle at its target position. */
16
+ Ge1xGripperState[Ge1xGripperState["IDLE"] = 2] = "IDLE";
17
+ /** The gripper is moving to its target position. */
18
+ Ge1xGripperState[Ge1xGripperState["MOVING"] = 3] = "MOVING";
19
+ /** The gripper has detected an object. */
20
+ Ge1xGripperState[Ge1xGripperState["OBJECT_DETECTED"] = 4] = "OBJECT_DETECTED";
21
+ /** The gripper has detected that an object it was holding has been dropped. */
22
+ Ge1xGripperState[Ge1xGripperState["OBJECT_DROPPED"] = 5] = "OBJECT_DROPPED";
23
+ })(Ge1xGripperState || (exports.Ge1xGripperState = Ge1xGripperState = {}));
24
+ /**
25
+ * Type guard for Ge1xGripperState.
26
+ * This only checks if the value is one of the enum keys; it could create a false positive if two enums have the same key.
27
+ */
28
+ function isGe1xGripperState(value) {
29
+ return Object.values(Ge1xGripperState).includes(value);
30
+ }
31
+ exports.isGe1xGripperState = isGe1xGripperState;
32
+ //# sourceMappingURL=ge_1_x_gripper_state.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ge_1_x_gripper_state.js","sourceRoot":"","sources":["../../../src/product/ge_1_x_gripper_state.ts"],"names":[],"mappings":";;;AAAA,wDAAwD;AACxD,wDAAwD;AACxD;;GAEG;AACH,IAAY,gBAaX;AAbD,WAAY,gBAAgB;IAC1B,6EAA6E;IAC7E,yFAAyB,CAAA;IACzB,8DAA8D;IAC9D,2DAAU,CAAA;IACV,kDAAkD;IAClD,uDAAQ,CAAA;IACR,oDAAoD;IACpD,2DAAU,CAAA;IACV,0CAA0C;IAC1C,6EAAmB,CAAA;IACnB,+EAA+E;IAC/E,2EAAkB,CAAA;AACpB,CAAC,EAbW,gBAAgB,gCAAhB,gBAAgB,QAa3B;AAED;;;GAGG;AACH,SAAgB,kBAAkB,CAAC,KAAU;IAC3C,OAAO,MAAM,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAC,QAAQ,CAAC,KAAyB,CAAC,CAAC;AAC7E,CAAC;AAFD,gDAEC","sourcesContent":["// ===== THIS FILE IS GENERATED FROM A TEMPLATE ===== //\n// ============== DO NOT EDIT DIRECTLY ============== //\n/**\n * State of a GE1x series gripper.\n */\nexport enum Ge1xGripperState {\n /** The gripper has not been homed and does not have a reference position. */\n NO_REFERENCE_POSITION = 0,\n /** The gripper is currently performing a homing operation. */\n HOMING = 1,\n /** The gripper is idle at its target position. */\n IDLE = 2,\n /** The gripper is moving to its target position. */\n MOVING = 3,\n /** The gripper has detected an object. */\n OBJECT_DETECTED = 4,\n /** The gripper has detected that an object it was holding has been dropped. */\n OBJECT_DROPPED = 5,\n}\n\n/**\n * Type guard for Ge1xGripperState.\n * This only checks if the value is one of the enum keys; it could create a false positive if two enums have the same key.\n */\nexport function isGe1xGripperState(value: any): value is Ge1xGripperState {\n return Object.values(Ge1xGripperState).includes(value as Ge1xGripperState);\n}\n"]}
@@ -1,7 +1,7 @@
1
- export * from './ge_1_gripper';
2
- export * from './ge_1_gripper_direction';
3
- export * from './ge_1_gripper_error';
4
- export * from './ge_1_gripper_state';
1
+ export * from './ge_1_x_gripper';
2
+ export * from './ge_1_x_gripper_direction';
3
+ export * from './ge_1_x_gripper_error';
4
+ export * from './ge_1_x_gripper_state';
5
5
  export * from './process';
6
6
  export * from './process_controller';
7
7
  export * from './process_controller_mode';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/product/index.ts"],"names":[],"mappings":"AAEA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,WAAW,CAAC;AAC1B,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,oCAAoC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/product/index.ts"],"names":[],"mappings":"AAEA,cAAc,kBAAkB,CAAC;AACjC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,WAAW,CAAC;AAC1B,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,oCAAoC,CAAC"}
@@ -16,10 +16,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  // ===== THIS FILE IS GENERATED FROM A TEMPLATE ===== //
18
18
  // ============== DO NOT EDIT DIRECTLY ============== //
19
- __exportStar(require("./ge_1_gripper"), exports);
20
- __exportStar(require("./ge_1_gripper_direction"), exports);
21
- __exportStar(require("./ge_1_gripper_error"), exports);
22
- __exportStar(require("./ge_1_gripper_state"), exports);
19
+ __exportStar(require("./ge_1_x_gripper"), exports);
20
+ __exportStar(require("./ge_1_x_gripper_direction"), exports);
21
+ __exportStar(require("./ge_1_x_gripper_error"), exports);
22
+ __exportStar(require("./ge_1_x_gripper_state"), exports);
23
23
  __exportStar(require("./process"), exports);
24
24
  __exportStar(require("./process_controller"), exports);
25
25
  __exportStar(require("./process_controller_mode"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/product/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAwD;AACxD,wDAAwD;AACxD,iDAA+B;AAC/B,2DAAyC;AACzC,uDAAqC;AACrC,uDAAqC;AACrC,4CAA0B;AAC1B,uDAAqC;AACrC,4DAA0C;AAC1C,8DAA4C;AAC5C,qEAAmD","sourcesContent":["// ===== THIS FILE IS GENERATED FROM A TEMPLATE ===== //\n// ============== DO NOT EDIT DIRECTLY ============== //\nexport * from './ge_1_gripper';\nexport * from './ge_1_gripper_direction';\nexport * from './ge_1_gripper_error';\nexport * from './ge_1_gripper_state';\nexport * from './process';\nexport * from './process_controller';\nexport * from './process_controller_mode';\nexport * from './process_controller_source';\nexport * from './process_controller_source_sensor';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/product/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAwD;AACxD,wDAAwD;AACxD,mDAAiC;AACjC,6DAA2C;AAC3C,yDAAuC;AACvC,yDAAuC;AACvC,4CAA0B;AAC1B,uDAAqC;AACrC,4DAA0C;AAC1C,8DAA4C;AAC5C,qEAAmD","sourcesContent":["// ===== THIS FILE IS GENERATED FROM A TEMPLATE ===== //\n// ============== DO NOT EDIT DIRECTLY ============== //\nexport * from './ge_1_x_gripper';\nexport * from './ge_1_x_gripper_direction';\nexport * from './ge_1_x_gripper_error';\nexport * from './ge_1_x_gripper_state';\nexport * from './process';\nexport * from './process_controller';\nexport * from './process_controller_mode';\nexport * from './process_controller_source';\nexport * from './process_controller_source_sensor';\n"]}
@@ -121,8 +121,8 @@ export declare enum Errors {
121
121
  TRANSPORT_ALREADY_USED = 59,
122
122
  /** UnknownRequest */
123
123
  UNKNOWN_REQUEST = 60,
124
- /** Ge1GripperMovementFailed */
125
- GE_1_GRIPPER_MOVEMENT_FAILED = 61
124
+ /** Ge1xGripperMovementFailed */
125
+ GE_1_X_GRIPPER_MOVEMENT_FAILED = 61
126
126
  }
127
127
  /**
128
128
  * Type guard for Errors.
@@ -1 +1 @@
1
- {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../src/requests/errors.ts"],"names":[],"mappings":"AAEA,oBAAY,MAAM;IAChB,iBAAiB;IACjB,WAAW,IAAI;IACf,cAAc;IACd,QAAQ,IAAI;IACZ,0BAA0B;IAC1B,qBAAqB,IAAI;IACzB,oBAAoB;IACpB,cAAc,IAAI;IAClB,uBAAuB;IACvB,iBAAiB,IAAI;IACrB,qBAAqB;IACrB,gBAAgB,IAAI;IACpB,uBAAuB;IACvB,iBAAiB,IAAI;IACrB,uBAAuB;IACvB,iBAAiB,IAAI;IACrB,uBAAuB;IACvB,iBAAiB,IAAI;IACrB,4BAA4B;IAC5B,uBAAuB,IAAI;IAC3B,iBAAiB;IACjB,WAAW,KAAK;IAChB,qBAAqB;IACrB,gBAAgB,KAAK;IACrB,4BAA4B;IAC5B,uBAAuB,KAAK;IAC5B,mBAAmB;IACnB,aAAa,KAAK;IAClB,0BAA0B;IAC1B,qBAAqB,KAAK;IAC1B,qBAAqB;IACrB,eAAe,KAAK;IACpB,qBAAqB;IACrB,gBAAgB,KAAK;IACrB,kBAAkB;IAClB,aAAa,KAAK;IAClB,gCAAgC;IAChC,2BAA2B,KAAK;IAChC,oBAAoB;IACpB,cAAc,KAAK;IACnB,sBAAsB;IACtB,gBAAgB,KAAK;IACrB,qBAAqB;IACrB,gBAAgB,KAAK;IACrB,kBAAkB;IAClB,YAAY,KAAK;IACjB,uBAAuB;IACvB,iBAAiB,KAAK;IACtB,oBAAoB;IACpB,cAAc,KAAK;IACnB,uBAAuB;IACvB,kBAAkB,KAAK;IACvB,yBAAyB;IACzB,oBAAoB,KAAK;IACzB,sBAAsB;IACtB,gBAAgB,KAAK;IACrB,0BAA0B;IAC1B,uBAAuB,KAAK;IAC5B,eAAe;IACf,SAAS,KAAK;IACd,sBAAsB;IACtB,gBAAgB,KAAK;IACrB,yBAAyB;IACzB,oBAAoB,KAAK;IACzB,qBAAqB;IACrB,eAAe,KAAK;IACpB,0BAA0B;IAC1B,oBAAoB,KAAK;IACzB,oBAAoB;IACpB,eAAe,KAAK;IACpB,oBAAoB;IACpB,gBAAgB,KAAK;IACrB,mBAAmB;IACnB,aAAa,KAAK;IAClB,sBAAsB;IACtB,gBAAgB,KAAK;IACrB,eAAe;IACf,SAAS,KAAK;IACd,sBAAsB;IACtB,kBAAkB,KAAK;IACvB,uBAAuB;IACvB,iBAAiB,KAAK;IACtB,mBAAmB;IACnB,aAAa,KAAK;IAClB,cAAc;IACd,QAAQ,KAAK;IACb,wBAAwB;IACxB,mBAAmB,KAAK;IACxB,6BAA6B;IAC7B,wBAAwB,KAAK;IAC7B,kCAAkC;IAClC,8BAA8B,KAAK;IACnC,qBAAqB;IACrB,gBAAgB,KAAK;IACrB,iBAAiB;IACjB,WAAW,KAAK;IAChB,qBAAqB;IACrB,eAAe,KAAK;IACpB,qBAAqB;IACrB,gBAAgB,KAAK;IACrB,2BAA2B;IAC3B,uBAAuB,KAAK;IAC5B,+BAA+B;IAC/B,2BAA2B,KAAK;IAChC,0BAA0B;IAC1B,oBAAoB,KAAK;IACzB,sBAAsB;IACtB,gBAAgB,KAAK;IACrB,iBAAiB;IACjB,WAAW,KAAK;IAChB,2BAA2B;IAC3B,sBAAsB,KAAK;IAC3B,gCAAgC;IAChC,2BAA2B,KAAK;IAChC,wBAAwB;IACxB,mBAAmB,KAAK;IACxB,cAAc;IACd,OAAO,KAAK;IACZ,2BAA2B;IAC3B,sBAAsB,KAAK;IAC3B,qBAAqB;IACrB,eAAe,KAAK;IACpB,+BAA+B;IAC/B,4BAA4B,KAAK;CAClC;AAED;;;GAGG;AACH,wBAAgB,QAAQ,CAAC,KAAK,EAAE,GAAG,GAAG,KAAK,IAAI,MAAM,CAEpD"}
1
+ {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../src/requests/errors.ts"],"names":[],"mappings":"AAEA,oBAAY,MAAM;IAChB,iBAAiB;IACjB,WAAW,IAAI;IACf,cAAc;IACd,QAAQ,IAAI;IACZ,0BAA0B;IAC1B,qBAAqB,IAAI;IACzB,oBAAoB;IACpB,cAAc,IAAI;IAClB,uBAAuB;IACvB,iBAAiB,IAAI;IACrB,qBAAqB;IACrB,gBAAgB,IAAI;IACpB,uBAAuB;IACvB,iBAAiB,IAAI;IACrB,uBAAuB;IACvB,iBAAiB,IAAI;IACrB,uBAAuB;IACvB,iBAAiB,IAAI;IACrB,4BAA4B;IAC5B,uBAAuB,IAAI;IAC3B,iBAAiB;IACjB,WAAW,KAAK;IAChB,qBAAqB;IACrB,gBAAgB,KAAK;IACrB,4BAA4B;IAC5B,uBAAuB,KAAK;IAC5B,mBAAmB;IACnB,aAAa,KAAK;IAClB,0BAA0B;IAC1B,qBAAqB,KAAK;IAC1B,qBAAqB;IACrB,eAAe,KAAK;IACpB,qBAAqB;IACrB,gBAAgB,KAAK;IACrB,kBAAkB;IAClB,aAAa,KAAK;IAClB,gCAAgC;IAChC,2BAA2B,KAAK;IAChC,oBAAoB;IACpB,cAAc,KAAK;IACnB,sBAAsB;IACtB,gBAAgB,KAAK;IACrB,qBAAqB;IACrB,gBAAgB,KAAK;IACrB,kBAAkB;IAClB,YAAY,KAAK;IACjB,uBAAuB;IACvB,iBAAiB,KAAK;IACtB,oBAAoB;IACpB,cAAc,KAAK;IACnB,uBAAuB;IACvB,kBAAkB,KAAK;IACvB,yBAAyB;IACzB,oBAAoB,KAAK;IACzB,sBAAsB;IACtB,gBAAgB,KAAK;IACrB,0BAA0B;IAC1B,uBAAuB,KAAK;IAC5B,eAAe;IACf,SAAS,KAAK;IACd,sBAAsB;IACtB,gBAAgB,KAAK;IACrB,yBAAyB;IACzB,oBAAoB,KAAK;IACzB,qBAAqB;IACrB,eAAe,KAAK;IACpB,0BAA0B;IAC1B,oBAAoB,KAAK;IACzB,oBAAoB;IACpB,eAAe,KAAK;IACpB,oBAAoB;IACpB,gBAAgB,KAAK;IACrB,mBAAmB;IACnB,aAAa,KAAK;IAClB,sBAAsB;IACtB,gBAAgB,KAAK;IACrB,eAAe;IACf,SAAS,KAAK;IACd,sBAAsB;IACtB,kBAAkB,KAAK;IACvB,uBAAuB;IACvB,iBAAiB,KAAK;IACtB,mBAAmB;IACnB,aAAa,KAAK;IAClB,cAAc;IACd,QAAQ,KAAK;IACb,wBAAwB;IACxB,mBAAmB,KAAK;IACxB,6BAA6B;IAC7B,wBAAwB,KAAK;IAC7B,kCAAkC;IAClC,8BAA8B,KAAK;IACnC,qBAAqB;IACrB,gBAAgB,KAAK;IACrB,iBAAiB;IACjB,WAAW,KAAK;IAChB,qBAAqB;IACrB,eAAe,KAAK;IACpB,qBAAqB;IACrB,gBAAgB,KAAK;IACrB,2BAA2B;IAC3B,uBAAuB,KAAK;IAC5B,+BAA+B;IAC/B,2BAA2B,KAAK;IAChC,0BAA0B;IAC1B,oBAAoB,KAAK;IACzB,sBAAsB;IACtB,gBAAgB,KAAK;IACrB,iBAAiB;IACjB,WAAW,KAAK;IAChB,2BAA2B;IAC3B,sBAAsB,KAAK;IAC3B,gCAAgC;IAChC,2BAA2B,KAAK;IAChC,wBAAwB;IACxB,mBAAmB,KAAK;IACxB,cAAc;IACd,OAAO,KAAK;IACZ,2BAA2B;IAC3B,sBAAsB,KAAK;IAC3B,qBAAqB;IACrB,eAAe,KAAK;IACpB,gCAAgC;IAChC,8BAA8B,KAAK;CACpC;AAED;;;GAGG;AACH,wBAAgB,QAAQ,CAAC,KAAK,EAAE,GAAG,GAAG,KAAK,IAAI,MAAM,CAEpD"}
@@ -127,8 +127,8 @@ var Errors;
127
127
  Errors[Errors["TRANSPORT_ALREADY_USED"] = 59] = "TRANSPORT_ALREADY_USED";
128
128
  /** UnknownRequest */
129
129
  Errors[Errors["UNKNOWN_REQUEST"] = 60] = "UNKNOWN_REQUEST";
130
- /** Ge1GripperMovementFailed */
131
- Errors[Errors["GE_1_GRIPPER_MOVEMENT_FAILED"] = 61] = "GE_1_GRIPPER_MOVEMENT_FAILED";
130
+ /** Ge1xGripperMovementFailed */
131
+ Errors[Errors["GE_1_X_GRIPPER_MOVEMENT_FAILED"] = 61] = "GE_1_X_GRIPPER_MOVEMENT_FAILED";
132
132
  })(Errors || (exports.Errors = Errors = {}));
133
133
  /**
134
134
  * Type guard for Errors.
@@ -1 +1 @@
1
- {"version":3,"file":"errors.js","sourceRoot":"","sources":["../../../src/requests/errors.ts"],"names":[],"mappings":"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","sourcesContent":["// ===== THIS FILE IS GENERATED FROM A TEMPLATE ===== //\n// ============== DO NOT EDIT DIRECTLY ============== //\nexport enum Errors {\n /** BadCommand */\n BAD_COMMAND = 0,\n /** BadData */\n BAD_DATA = 1,\n /** BinaryCommandFailed */\n BINARY_COMMAND_FAILED = 2,\n /** CommandFailed */\n COMMAND_FAILED = 3,\n /** CommandPreempted */\n COMMAND_PREEMPTED = 4,\n /** CommandTooLong */\n COMMAND_TOO_LONG = 5,\n /** ConnectionClosed */\n CONNECTION_CLOSED = 6,\n /** ConnectionFailed */\n CONNECTION_FAILED = 7,\n /** ConversionFailed */\n CONVERSION_FAILED = 8,\n /** DeviceAddressConflict */\n DEVICE_ADDRESS_CONFLICT = 9,\n /** DeviceBusy */\n DEVICE_BUSY = 10,\n /** DeviceDbFailed */\n DEVICE_DB_FAILED = 11,\n /** DeviceDetectionFailed */\n DEVICE_DETECTION_FAILED = 12,\n /** DeviceFailed */\n DEVICE_FAILED = 13,\n /** DeviceNotIdentified */\n DEVICE_NOT_IDENTIFIED = 14,\n /** DriverDisabled */\n DRIVER_DISABLED = 15,\n /** GCodeExecution */\n G_CODE_EXECUTION = 16,\n /** GCodeSyntax */\n G_CODE_SYNTAX = 17,\n /** IncompatibleSharedLibrary */\n INCOMPATIBLE_SHARED_LIBRARY = 18,\n /** InternalError */\n INTERNAL_ERROR = 19,\n /** InvalidArgument */\n INVALID_ARGUMENT = 20,\n /** InvalidCsvData */\n INVALID_CSV_DATA = 21,\n /** InvalidData */\n INVALID_DATA = 22,\n /** InvalidOperation */\n INVALID_OPERATION = 23,\n /** InvalidPacket */\n INVALID_PACKET = 24,\n /** InvalidParkState */\n INVALID_PARK_STATE = 25,\n /** InvalidRequestData */\n INVALID_REQUEST_DATA = 26,\n /** InvalidResponse */\n INVALID_RESPONSE = 27,\n /** IoChannelOutOfRange */\n IO_CHANNEL_OUT_OF_RANGE = 28,\n /** IoFailed */\n IO_FAILED = 29,\n /** LockstepEnabled */\n LOCKSTEP_ENABLED = 30,\n /** LockstepNotEnabled */\n LOCKSTEP_NOT_ENABLED = 31,\n /** MovementFailed */\n MOVEMENT_FAILED = 32,\n /** MovementInterrupted */\n MOVEMENT_INTERRUPTED = 33,\n /** NoDeviceFound */\n NO_DEVICE_FOUND = 34,\n /** NoValueForKey */\n NO_VALUE_FOR_KEY = 35,\n /** NotSupported */\n NOT_SUPPORTED = 36,\n /** OperationFailed */\n OPERATION_FAILED = 37,\n /** OsFailed */\n OS_FAILED = 38,\n /** OutOfRequestIds */\n OUT_OF_REQUEST_IDS = 39,\n /** PvtDiscontinuity */\n PVT_DISCONTINUITY = 40,\n /** PvtExecution */\n PVT_EXECUTION = 41,\n /** PvtMode */\n PVT_MODE = 42,\n /** PvtMovementFailed */\n PVT_MOVEMENT_FAILED = 43,\n /** PvtMovementInterrupted */\n PVT_MOVEMENT_INTERRUPTED = 44,\n /** PvtSequenceGenerationFailed */\n PVT_SEQUENCE_GENERATION_FAILED = 45,\n /** PvtSetupFailed */\n PVT_SETUP_FAILED = 46,\n /** RemoteMode */\n REMOTE_MODE = 47,\n /** RequestTimeout */\n REQUEST_TIMEOUT = 48,\n /** SerialPortBusy */\n SERIAL_PORT_BUSY = 49,\n /** SetDeviceStateFailed */\n SET_DEVICE_STATE_FAILED = 50,\n /** SetPeripheralStateFailed */\n SET_PERIPHERAL_STATE_FAILED = 51,\n /** StreamDiscontinuity */\n STREAM_DISCONTINUITY = 52,\n /** StreamExecution */\n STREAM_EXECUTION = 53,\n /** StreamMode */\n STREAM_MODE = 54,\n /** StreamMovementFailed */\n STREAM_MOVEMENT_FAILED = 55,\n /** StreamMovementInterrupted */\n STREAM_MOVEMENT_INTERRUPTED = 56,\n /** StreamSetupFailed */\n STREAM_SETUP_FAILED = 57,\n /** Timeout */\n TIMEOUT = 58,\n /** TransportAlreadyUsed */\n TRANSPORT_ALREADY_USED = 59,\n /** UnknownRequest */\n UNKNOWN_REQUEST = 60,\n /** Ge1GripperMovementFailed */\n GE_1_GRIPPER_MOVEMENT_FAILED = 61,\n}\n\n/**\n * Type guard for Errors.\n * This only checks if the value is one of the enum keys; it could create a false positive if two enums have the same key.\n */\nexport function isErrors(value: any): value is Errors {\n return Object.values(Errors).includes(value as Errors);\n}\n"]}
1
+ {"version":3,"file":"errors.js","sourceRoot":"","sources":["../../../src/requests/errors.ts"],"names":[],"mappings":"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","sourcesContent":["// ===== THIS FILE IS GENERATED FROM A TEMPLATE ===== //\n// ============== DO NOT EDIT DIRECTLY ============== //\nexport enum Errors {\n /** BadCommand */\n BAD_COMMAND = 0,\n /** BadData */\n BAD_DATA = 1,\n /** BinaryCommandFailed */\n BINARY_COMMAND_FAILED = 2,\n /** CommandFailed */\n COMMAND_FAILED = 3,\n /** CommandPreempted */\n COMMAND_PREEMPTED = 4,\n /** CommandTooLong */\n COMMAND_TOO_LONG = 5,\n /** ConnectionClosed */\n CONNECTION_CLOSED = 6,\n /** ConnectionFailed */\n CONNECTION_FAILED = 7,\n /** ConversionFailed */\n CONVERSION_FAILED = 8,\n /** DeviceAddressConflict */\n DEVICE_ADDRESS_CONFLICT = 9,\n /** DeviceBusy */\n DEVICE_BUSY = 10,\n /** DeviceDbFailed */\n DEVICE_DB_FAILED = 11,\n /** DeviceDetectionFailed */\n DEVICE_DETECTION_FAILED = 12,\n /** DeviceFailed */\n DEVICE_FAILED = 13,\n /** DeviceNotIdentified */\n DEVICE_NOT_IDENTIFIED = 14,\n /** DriverDisabled */\n DRIVER_DISABLED = 15,\n /** GCodeExecution */\n G_CODE_EXECUTION = 16,\n /** GCodeSyntax */\n G_CODE_SYNTAX = 17,\n /** IncompatibleSharedLibrary */\n INCOMPATIBLE_SHARED_LIBRARY = 18,\n /** InternalError */\n INTERNAL_ERROR = 19,\n /** InvalidArgument */\n INVALID_ARGUMENT = 20,\n /** InvalidCsvData */\n INVALID_CSV_DATA = 21,\n /** InvalidData */\n INVALID_DATA = 22,\n /** InvalidOperation */\n INVALID_OPERATION = 23,\n /** InvalidPacket */\n INVALID_PACKET = 24,\n /** InvalidParkState */\n INVALID_PARK_STATE = 25,\n /** InvalidRequestData */\n INVALID_REQUEST_DATA = 26,\n /** InvalidResponse */\n INVALID_RESPONSE = 27,\n /** IoChannelOutOfRange */\n IO_CHANNEL_OUT_OF_RANGE = 28,\n /** IoFailed */\n IO_FAILED = 29,\n /** LockstepEnabled */\n LOCKSTEP_ENABLED = 30,\n /** LockstepNotEnabled */\n LOCKSTEP_NOT_ENABLED = 31,\n /** MovementFailed */\n MOVEMENT_FAILED = 32,\n /** MovementInterrupted */\n MOVEMENT_INTERRUPTED = 33,\n /** NoDeviceFound */\n NO_DEVICE_FOUND = 34,\n /** NoValueForKey */\n NO_VALUE_FOR_KEY = 35,\n /** NotSupported */\n NOT_SUPPORTED = 36,\n /** OperationFailed */\n OPERATION_FAILED = 37,\n /** OsFailed */\n OS_FAILED = 38,\n /** OutOfRequestIds */\n OUT_OF_REQUEST_IDS = 39,\n /** PvtDiscontinuity */\n PVT_DISCONTINUITY = 40,\n /** PvtExecution */\n PVT_EXECUTION = 41,\n /** PvtMode */\n PVT_MODE = 42,\n /** PvtMovementFailed */\n PVT_MOVEMENT_FAILED = 43,\n /** PvtMovementInterrupted */\n PVT_MOVEMENT_INTERRUPTED = 44,\n /** PvtSequenceGenerationFailed */\n PVT_SEQUENCE_GENERATION_FAILED = 45,\n /** PvtSetupFailed */\n PVT_SETUP_FAILED = 46,\n /** RemoteMode */\n REMOTE_MODE = 47,\n /** RequestTimeout */\n REQUEST_TIMEOUT = 48,\n /** SerialPortBusy */\n SERIAL_PORT_BUSY = 49,\n /** SetDeviceStateFailed */\n SET_DEVICE_STATE_FAILED = 50,\n /** SetPeripheralStateFailed */\n SET_PERIPHERAL_STATE_FAILED = 51,\n /** StreamDiscontinuity */\n STREAM_DISCONTINUITY = 52,\n /** StreamExecution */\n STREAM_EXECUTION = 53,\n /** StreamMode */\n STREAM_MODE = 54,\n /** StreamMovementFailed */\n STREAM_MOVEMENT_FAILED = 55,\n /** StreamMovementInterrupted */\n STREAM_MOVEMENT_INTERRUPTED = 56,\n /** StreamSetupFailed */\n STREAM_SETUP_FAILED = 57,\n /** Timeout */\n TIMEOUT = 58,\n /** TransportAlreadyUsed */\n TRANSPORT_ALREADY_USED = 59,\n /** UnknownRequest */\n UNKNOWN_REQUEST = 60,\n /** Ge1xGripperMovementFailed */\n GE_1_X_GRIPPER_MOVEMENT_FAILED = 61,\n}\n\n/**\n * Type guard for Errors.\n * This only checks if the value is one of the enum keys; it could create a false positive if two enums have the same key.\n */\nexport function isErrors(value: any): value is Errors {\n return Object.values(Errors).includes(value as Errors);\n}\n"]}
@@ -0,0 +1,15 @@
1
+ import { BSON } from 'bson';
2
+ export interface Ge1xGripperActivatePresetRequest {
3
+ connectionId: number;
4
+ presetNumber: number;
5
+ waitUntilIdle: boolean;
6
+ }
7
+ export declare const Ge1xGripperActivatePresetRequest: {
8
+ fromBinary: (buffer: Uint8Array) => Ge1xGripperActivatePresetRequest;
9
+ toBinary: (value: Ge1xGripperActivatePresetRequest) => Uint8Array;
10
+ DEFAULT: Readonly<Ge1xGripperActivatePresetRequest>;
11
+ sanitize: (value: Ge1xGripperActivatePresetRequest) => Ge1xGripperActivatePresetRequest;
12
+ convert: (value: BSON.Document) => Ge1xGripperActivatePresetRequest;
13
+ isA: (value: any) => value is Ge1xGripperActivatePresetRequest;
14
+ };
15
+ //# sourceMappingURL=ge_1_x_gripper_activate_preset_request.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ge_1_x_gripper_activate_preset_request.d.ts","sourceRoot":"","sources":["../../../src/requests/ge_1_x_gripper_activate_preset_request.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAG5B,MAAM,WAAW,gCAAgC;IAC/C,YAAY,EAAE,MAAM,CAAC;IAErB,YAAY,EAAE,MAAM,CAAC;IAErB,aAAa,EAAE,OAAO,CAAC;CAExB;AAED,eAAO,MAAM,gCAAgC;yBACtB,UAAU,KAAG,gCAAgC;sBAEhD,gCAAgC,KAAG,UAAU;;sBAQ7C,gCAAgC,KAAG,gCAAgC;qBAUpE,KAAK,QAAQ,KAAG,gCAAgC;iBAMpD,GAAG;CAUjB,CAAC"}
@@ -1,13 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Ge1GripperActivatePresetRequest = void 0;
3
+ exports.Ge1xGripperActivatePresetRequest = void 0;
4
4
  // ===== THIS FILE IS GENERATED FROM A TEMPLATE ===== //
5
5
  // ============== DO NOT EDIT DIRECTLY ============== //
6
6
  const bson_1 = require("bson");
7
7
  const sanitizer_1 = require("../gateway/sanitizer");
8
- exports.Ge1GripperActivatePresetRequest = {
9
- fromBinary: (buffer) => exports.Ge1GripperActivatePresetRequest.convert(bson_1.BSON.deserialize(buffer, { useBigInt64: true })),
10
- toBinary: (value) => bson_1.BSON.serialize(exports.Ge1GripperActivatePresetRequest.sanitize(value)),
8
+ exports.Ge1xGripperActivatePresetRequest = {
9
+ fromBinary: (buffer) => exports.Ge1xGripperActivatePresetRequest.convert(bson_1.BSON.deserialize(buffer, { useBigInt64: true })),
10
+ toBinary: (value) => bson_1.BSON.serialize(exports.Ge1xGripperActivatePresetRequest.sanitize(value)),
11
11
  DEFAULT: Object.freeze({
12
12
  connectionId: 0,
13
13
  presetNumber: 0,
@@ -15,10 +15,10 @@ exports.Ge1GripperActivatePresetRequest = {
15
15
  }),
16
16
  sanitize: (value) => {
17
17
  if (value == null) {
18
- throw new TypeError('Expected Ge1GripperActivatePresetRequest object but got null or undefined.');
18
+ throw new TypeError('Expected Ge1xGripperActivatePresetRequest object but got null or undefined.');
19
19
  }
20
20
  if (typeof value !== 'object') {
21
- throw new TypeError(`Expected Ge1GripperActivatePresetRequest object but got ${typeof value}.`);
21
+ throw new TypeError(`Expected Ge1xGripperActivatePresetRequest object but got ${typeof value}.`);
22
22
  }
23
23
  return {
24
24
  connectionId: sanitizer_1.sanitizer.sanitizeInt(value.connectionId, 'connectionId'),
@@ -40,4 +40,4 @@ exports.Ge1GripperActivatePresetRequest = {
40
40
  sanitizer_1.sanitizer.isBool(castValue.waitUntilIdle));
41
41
  },
42
42
  };
43
- //# sourceMappingURL=ge_1_gripper_activate_preset_request.js.map
43
+ //# sourceMappingURL=ge_1_x_gripper_activate_preset_request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ge_1_x_gripper_activate_preset_request.js","sourceRoot":"","sources":["../../../src/requests/ge_1_x_gripper_activate_preset_request.ts"],"names":[],"mappings":";;;AAAA,wDAAwD;AACxD,wDAAwD;AACxD,+BAA4B;AAC5B,oDAAiD;AAWpC,QAAA,gCAAgC,GAAG;IAC9C,UAAU,EAAE,CAAC,MAAkB,EAAoC,EAAE,CAAC,wCAAgC,CAAC,OAAO,CAAC,WAAI,CAAC,WAAW,CAAC,MAAM,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC,CAAC;IAE/J,QAAQ,EAAE,CAAC,KAAuC,EAAc,EAAE,CAAC,WAAI,CAAC,SAAS,CAAC,wCAAgC,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAEnI,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC;QACrB,YAAY,EAAE,CAAC;QACf,YAAY,EAAE,CAAC;QACf,aAAa,EAAE,KAAK;KACrB,CAA+C;IAEhD,QAAQ,EAAE,CAAC,KAAuC,EAAoC,EAAE;QACtF,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;YAAC,MAAM,IAAI,SAAS,CAAC,6EAA6E,CAAC,CAAA;QAAC,CAAC;QACzH,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;YAAC,MAAM,IAAI,SAAS,CAAC,4DAA4D,OAAO,KAAK,GAAG,CAAC,CAAA;QAAC,CAAC;QACnI,OAAO;YACL,YAAY,EAAE,qBAAS,CAAC,WAAW,CAAC,KAAK,CAAC,YAAY,EAAE,cAAc,CAAC;YACvE,YAAY,EAAE,qBAAS,CAAC,WAAW,CAAC,KAAK,CAAC,YAAY,EAAE,cAAc,CAAC;YACvE,aAAa,EAAE,qBAAS,CAAC,YAAY,CAAC,KAAK,CAAC,aAAa,EAAE,eAAe,CAAC;SAC5E,CAAC;IACJ,CAAC;IAED,OAAO,EAAE,CAAC,KAAoB,EAAoC,EAAE,CAAC,CAAC;QACpE,YAAY,EAAE,KAAK,CAAC,YAAY;QAChC,YAAY,EAAE,KAAK,CAAC,YAAY;QAChC,aAAa,EAAE,KAAK,CAAC,aAAa;KACnC,CAAC;IAEF,GAAG,EAAE,CAAC,KAAU,EAA6C,EAAE;QAC7D,MAAM,SAAS,GAAG,KAAyC,CAAC;QAC5D,OAAO,CACL,KAAK,IAAI,IAAI;YACb,OAAO,KAAK,KAAK,QAAQ;YACzB,qBAAS,CAAC,KAAK,CAAC,SAAS,CAAC,YAAY,CAAC;YACvC,qBAAS,CAAC,KAAK,CAAC,SAAS,CAAC,YAAY,CAAC;YACvC,qBAAS,CAAC,MAAM,CAAC,SAAS,CAAC,aAAa,CAAC,CAC1C,CAAC;IACJ,CAAC;CACF,CAAC","sourcesContent":["// ===== THIS FILE IS GENERATED FROM A TEMPLATE ===== //\n// ============== DO NOT EDIT DIRECTLY ============== //\nimport { BSON } from 'bson';\nimport { sanitizer } from '../gateway/sanitizer';\n\nexport interface Ge1xGripperActivatePresetRequest {\n connectionId: number;\n\n presetNumber: number;\n\n waitUntilIdle: boolean;\n\n}\n\nexport const Ge1xGripperActivatePresetRequest = {\n fromBinary: (buffer: Uint8Array): Ge1xGripperActivatePresetRequest => Ge1xGripperActivatePresetRequest.convert(BSON.deserialize(buffer, { useBigInt64: true })),\n\n toBinary: (value: Ge1xGripperActivatePresetRequest): Uint8Array => BSON.serialize(Ge1xGripperActivatePresetRequest.sanitize(value)),\n\n DEFAULT: Object.freeze({\n connectionId: 0,\n presetNumber: 0,\n waitUntilIdle: false,\n }) as Readonly<Ge1xGripperActivatePresetRequest>,\n\n sanitize: (value: Ge1xGripperActivatePresetRequest): Ge1xGripperActivatePresetRequest => {\n if (value == null) { throw new TypeError('Expected Ge1xGripperActivatePresetRequest object but got null or undefined.') }\n if (typeof value !== 'object') { throw new TypeError(`Expected Ge1xGripperActivatePresetRequest object but got ${typeof value}.`) }\n return {\n connectionId: sanitizer.sanitizeInt(value.connectionId, 'connectionId'),\n presetNumber: sanitizer.sanitizeInt(value.presetNumber, 'presetNumber'),\n waitUntilIdle: sanitizer.sanitizeBool(value.waitUntilIdle, 'waitUntilIdle'),\n };\n },\n\n convert: (value: BSON.Document): Ge1xGripperActivatePresetRequest => ({\n connectionId: value.connectionId,\n presetNumber: value.presetNumber,\n waitUntilIdle: value.waitUntilIdle,\n }),\n\n isA: (value: any): value is Ge1xGripperActivatePresetRequest => {\n const castValue = value as Ge1xGripperActivatePresetRequest;\n return (\n value != null &&\n typeof value === 'object' &&\n sanitizer.isInt(castValue.connectionId) &&\n sanitizer.isInt(castValue.presetNumber) &&\n sanitizer.isBool(castValue.waitUntilIdle)\n );\n },\n};\n"]}
@@ -0,0 +1,14 @@
1
+ import { BSON } from 'bson';
2
+ export interface Ge1xGripperCalibrateRequest {
3
+ connectionId: number;
4
+ saveToFlash: boolean;
5
+ }
6
+ export declare const Ge1xGripperCalibrateRequest: {
7
+ fromBinary: (buffer: Uint8Array) => Ge1xGripperCalibrateRequest;
8
+ toBinary: (value: Ge1xGripperCalibrateRequest) => Uint8Array;
9
+ DEFAULT: Readonly<Ge1xGripperCalibrateRequest>;
10
+ sanitize: (value: Ge1xGripperCalibrateRequest) => Ge1xGripperCalibrateRequest;
11
+ convert: (value: BSON.Document) => Ge1xGripperCalibrateRequest;
12
+ isA: (value: any) => value is Ge1xGripperCalibrateRequest;
13
+ };
14
+ //# sourceMappingURL=ge_1_x_gripper_calibrate_request.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ge_1_x_gripper_calibrate_request.d.ts","sourceRoot":"","sources":["../../../src/requests/ge_1_x_gripper_calibrate_request.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAG5B,MAAM,WAAW,2BAA2B;IAC1C,YAAY,EAAE,MAAM,CAAC;IAErB,WAAW,EAAE,OAAO,CAAC;CAEtB;AAED,eAAO,MAAM,2BAA2B;yBACjB,UAAU,KAAG,2BAA2B;sBAE3C,2BAA2B,KAAG,UAAU;;sBAOxC,2BAA2B,KAAG,2BAA2B;qBAS1D,KAAK,QAAQ,KAAG,2BAA2B;iBAK/C,GAAG;CASjB,CAAC"}
@@ -1,23 +1,23 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Ge1GripperCalibrateRequest = void 0;
3
+ exports.Ge1xGripperCalibrateRequest = void 0;
4
4
  // ===== THIS FILE IS GENERATED FROM A TEMPLATE ===== //
5
5
  // ============== DO NOT EDIT DIRECTLY ============== //
6
6
  const bson_1 = require("bson");
7
7
  const sanitizer_1 = require("../gateway/sanitizer");
8
- exports.Ge1GripperCalibrateRequest = {
9
- fromBinary: (buffer) => exports.Ge1GripperCalibrateRequest.convert(bson_1.BSON.deserialize(buffer, { useBigInt64: true })),
10
- toBinary: (value) => bson_1.BSON.serialize(exports.Ge1GripperCalibrateRequest.sanitize(value)),
8
+ exports.Ge1xGripperCalibrateRequest = {
9
+ fromBinary: (buffer) => exports.Ge1xGripperCalibrateRequest.convert(bson_1.BSON.deserialize(buffer, { useBigInt64: true })),
10
+ toBinary: (value) => bson_1.BSON.serialize(exports.Ge1xGripperCalibrateRequest.sanitize(value)),
11
11
  DEFAULT: Object.freeze({
12
12
  connectionId: 0,
13
13
  saveToFlash: false,
14
14
  }),
15
15
  sanitize: (value) => {
16
16
  if (value == null) {
17
- throw new TypeError('Expected Ge1GripperCalibrateRequest object but got null or undefined.');
17
+ throw new TypeError('Expected Ge1xGripperCalibrateRequest object but got null or undefined.');
18
18
  }
19
19
  if (typeof value !== 'object') {
20
- throw new TypeError(`Expected Ge1GripperCalibrateRequest object but got ${typeof value}.`);
20
+ throw new TypeError(`Expected Ge1xGripperCalibrateRequest object but got ${typeof value}.`);
21
21
  }
22
22
  return {
23
23
  connectionId: sanitizer_1.sanitizer.sanitizeInt(value.connectionId, 'connectionId'),
@@ -36,4 +36,4 @@ exports.Ge1GripperCalibrateRequest = {
36
36
  sanitizer_1.sanitizer.isBool(castValue.saveToFlash));
37
37
  },
38
38
  };
39
- //# sourceMappingURL=ge_1_gripper_calibrate_request.js.map
39
+ //# sourceMappingURL=ge_1_x_gripper_calibrate_request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ge_1_x_gripper_calibrate_request.js","sourceRoot":"","sources":["../../../src/requests/ge_1_x_gripper_calibrate_request.ts"],"names":[],"mappings":";;;AAAA,wDAAwD;AACxD,wDAAwD;AACxD,+BAA4B;AAC5B,oDAAiD;AASpC,QAAA,2BAA2B,GAAG;IACzC,UAAU,EAAE,CAAC,MAAkB,EAA+B,EAAE,CAAC,mCAA2B,CAAC,OAAO,CAAC,WAAI,CAAC,WAAW,CAAC,MAAM,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC,CAAC;IAErJ,QAAQ,EAAE,CAAC,KAAkC,EAAc,EAAE,CAAC,WAAI,CAAC,SAAS,CAAC,mCAA2B,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAEzH,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC;QACrB,YAAY,EAAE,CAAC;QACf,WAAW,EAAE,KAAK;KACnB,CAA0C;IAE3C,QAAQ,EAAE,CAAC,KAAkC,EAA+B,EAAE;QAC5E,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;YAAC,MAAM,IAAI,SAAS,CAAC,wEAAwE,CAAC,CAAA;QAAC,CAAC;QACpH,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;YAAC,MAAM,IAAI,SAAS,CAAC,uDAAuD,OAAO,KAAK,GAAG,CAAC,CAAA;QAAC,CAAC;QAC9H,OAAO;YACL,YAAY,EAAE,qBAAS,CAAC,WAAW,CAAC,KAAK,CAAC,YAAY,EAAE,cAAc,CAAC;YACvE,WAAW,EAAE,qBAAS,CAAC,YAAY,CAAC,KAAK,CAAC,WAAW,EAAE,aAAa,CAAC;SACtE,CAAC;IACJ,CAAC;IAED,OAAO,EAAE,CAAC,KAAoB,EAA+B,EAAE,CAAC,CAAC;QAC/D,YAAY,EAAE,KAAK,CAAC,YAAY;QAChC,WAAW,EAAE,KAAK,CAAC,WAAW;KAC/B,CAAC;IAEF,GAAG,EAAE,CAAC,KAAU,EAAwC,EAAE;QACxD,MAAM,SAAS,GAAG,KAAoC,CAAC;QACvD,OAAO,CACL,KAAK,IAAI,IAAI;YACb,OAAO,KAAK,KAAK,QAAQ;YACzB,qBAAS,CAAC,KAAK,CAAC,SAAS,CAAC,YAAY,CAAC;YACvC,qBAAS,CAAC,MAAM,CAAC,SAAS,CAAC,WAAW,CAAC,CACxC,CAAC;IACJ,CAAC;CACF,CAAC","sourcesContent":["// ===== THIS FILE IS GENERATED FROM A TEMPLATE ===== //\n// ============== DO NOT EDIT DIRECTLY ============== //\nimport { BSON } from 'bson';\nimport { sanitizer } from '../gateway/sanitizer';\n\nexport interface Ge1xGripperCalibrateRequest {\n connectionId: number;\n\n saveToFlash: boolean;\n\n}\n\nexport const Ge1xGripperCalibrateRequest = {\n fromBinary: (buffer: Uint8Array): Ge1xGripperCalibrateRequest => Ge1xGripperCalibrateRequest.convert(BSON.deserialize(buffer, { useBigInt64: true })),\n\n toBinary: (value: Ge1xGripperCalibrateRequest): Uint8Array => BSON.serialize(Ge1xGripperCalibrateRequest.sanitize(value)),\n\n DEFAULT: Object.freeze({\n connectionId: 0,\n saveToFlash: false,\n }) as Readonly<Ge1xGripperCalibrateRequest>,\n\n sanitize: (value: Ge1xGripperCalibrateRequest): Ge1xGripperCalibrateRequest => {\n if (value == null) { throw new TypeError('Expected Ge1xGripperCalibrateRequest object but got null or undefined.') }\n if (typeof value !== 'object') { throw new TypeError(`Expected Ge1xGripperCalibrateRequest object but got ${typeof value}.`) }\n return {\n connectionId: sanitizer.sanitizeInt(value.connectionId, 'connectionId'),\n saveToFlash: sanitizer.sanitizeBool(value.saveToFlash, 'saveToFlash'),\n };\n },\n\n convert: (value: BSON.Document): Ge1xGripperCalibrateRequest => ({\n connectionId: value.connectionId,\n saveToFlash: value.saveToFlash,\n }),\n\n isA: (value: any): value is Ge1xGripperCalibrateRequest => {\n const castValue = value as Ge1xGripperCalibrateRequest;\n return (\n value != null &&\n typeof value === 'object' &&\n sanitizer.isInt(castValue.connectionId) &&\n sanitizer.isBool(castValue.saveToFlash)\n );\n },\n};\n"]}
@@ -0,0 +1,13 @@
1
+ import { BSON } from 'bson';
2
+ export interface Ge1xGripperEmptyRequest {
3
+ connectionId: number;
4
+ }
5
+ export declare const Ge1xGripperEmptyRequest: {
6
+ fromBinary: (buffer: Uint8Array) => Ge1xGripperEmptyRequest;
7
+ toBinary: (value: Ge1xGripperEmptyRequest) => Uint8Array;
8
+ DEFAULT: Readonly<Ge1xGripperEmptyRequest>;
9
+ sanitize: (value: Ge1xGripperEmptyRequest) => Ge1xGripperEmptyRequest;
10
+ convert: (value: BSON.Document) => Ge1xGripperEmptyRequest;
11
+ isA: (value: any) => value is Ge1xGripperEmptyRequest;
12
+ };
13
+ //# sourceMappingURL=ge_1_x_gripper_empty_request.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ge_1_x_gripper_empty_request.d.ts","sourceRoot":"","sources":["../../../src/requests/ge_1_x_gripper_empty_request.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAG5B,MAAM,WAAW,uBAAuB;IACtC,YAAY,EAAE,MAAM,CAAC;CAEtB;AAED,eAAO,MAAM,uBAAuB;yBACb,UAAU,KAAG,uBAAuB;sBAEvC,uBAAuB,KAAG,UAAU;;sBAMpC,uBAAuB,KAAG,uBAAuB;qBAQlD,KAAK,QAAQ,KAAG,uBAAuB;iBAI3C,GAAG;CAQjB,CAAC"}
@@ -1,22 +1,22 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Ge1GripperEmptyRequest = void 0;
3
+ exports.Ge1xGripperEmptyRequest = void 0;
4
4
  // ===== THIS FILE IS GENERATED FROM A TEMPLATE ===== //
5
5
  // ============== DO NOT EDIT DIRECTLY ============== //
6
6
  const bson_1 = require("bson");
7
7
  const sanitizer_1 = require("../gateway/sanitizer");
8
- exports.Ge1GripperEmptyRequest = {
9
- fromBinary: (buffer) => exports.Ge1GripperEmptyRequest.convert(bson_1.BSON.deserialize(buffer, { useBigInt64: true })),
10
- toBinary: (value) => bson_1.BSON.serialize(exports.Ge1GripperEmptyRequest.sanitize(value)),
8
+ exports.Ge1xGripperEmptyRequest = {
9
+ fromBinary: (buffer) => exports.Ge1xGripperEmptyRequest.convert(bson_1.BSON.deserialize(buffer, { useBigInt64: true })),
10
+ toBinary: (value) => bson_1.BSON.serialize(exports.Ge1xGripperEmptyRequest.sanitize(value)),
11
11
  DEFAULT: Object.freeze({
12
12
  connectionId: 0,
13
13
  }),
14
14
  sanitize: (value) => {
15
15
  if (value == null) {
16
- throw new TypeError('Expected Ge1GripperEmptyRequest object but got null or undefined.');
16
+ throw new TypeError('Expected Ge1xGripperEmptyRequest object but got null or undefined.');
17
17
  }
18
18
  if (typeof value !== 'object') {
19
- throw new TypeError(`Expected Ge1GripperEmptyRequest object but got ${typeof value}.`);
19
+ throw new TypeError(`Expected Ge1xGripperEmptyRequest object but got ${typeof value}.`);
20
20
  }
21
21
  return {
22
22
  connectionId: sanitizer_1.sanitizer.sanitizeInt(value.connectionId, 'connectionId'),
@@ -32,4 +32,4 @@ exports.Ge1GripperEmptyRequest = {
32
32
  sanitizer_1.sanitizer.isInt(castValue.connectionId));
33
33
  },
34
34
  };
35
- //# sourceMappingURL=ge_1_gripper_empty_request.js.map
35
+ //# sourceMappingURL=ge_1_x_gripper_empty_request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ge_1_x_gripper_empty_request.js","sourceRoot":"","sources":["../../../src/requests/ge_1_x_gripper_empty_request.ts"],"names":[],"mappings":";;;AAAA,wDAAwD;AACxD,wDAAwD;AACxD,+BAA4B;AAC5B,oDAAiD;AAOpC,QAAA,uBAAuB,GAAG;IACrC,UAAU,EAAE,CAAC,MAAkB,EAA2B,EAAE,CAAC,+BAAuB,CAAC,OAAO,CAAC,WAAI,CAAC,WAAW,CAAC,MAAM,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC,CAAC;IAE7I,QAAQ,EAAE,CAAC,KAA8B,EAAc,EAAE,CAAC,WAAI,CAAC,SAAS,CAAC,+BAAuB,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAEjH,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC;QACrB,YAAY,EAAE,CAAC;KAChB,CAAsC;IAEvC,QAAQ,EAAE,CAAC,KAA8B,EAA2B,EAAE;QACpE,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;YAAC,MAAM,IAAI,SAAS,CAAC,oEAAoE,CAAC,CAAA;QAAC,CAAC;QAChH,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;YAAC,MAAM,IAAI,SAAS,CAAC,mDAAmD,OAAO,KAAK,GAAG,CAAC,CAAA;QAAC,CAAC;QAC1H,OAAO;YACL,YAAY,EAAE,qBAAS,CAAC,WAAW,CAAC,KAAK,CAAC,YAAY,EAAE,cAAc,CAAC;SACxE,CAAC;IACJ,CAAC;IAED,OAAO,EAAE,CAAC,KAAoB,EAA2B,EAAE,CAAC,CAAC;QAC3D,YAAY,EAAE,KAAK,CAAC,YAAY;KACjC,CAAC;IAEF,GAAG,EAAE,CAAC,KAAU,EAAoC,EAAE;QACpD,MAAM,SAAS,GAAG,KAAgC,CAAC;QACnD,OAAO,CACL,KAAK,IAAI,IAAI;YACb,OAAO,KAAK,KAAK,QAAQ;YACzB,qBAAS,CAAC,KAAK,CAAC,SAAS,CAAC,YAAY,CAAC,CACxC,CAAC;IACJ,CAAC;CACF,CAAC","sourcesContent":["// ===== THIS FILE IS GENERATED FROM A TEMPLATE ===== //\n// ============== DO NOT EDIT DIRECTLY ============== //\nimport { BSON } from 'bson';\nimport { sanitizer } from '../gateway/sanitizer';\n\nexport interface Ge1xGripperEmptyRequest {\n connectionId: number;\n\n}\n\nexport const Ge1xGripperEmptyRequest = {\n fromBinary: (buffer: Uint8Array): Ge1xGripperEmptyRequest => Ge1xGripperEmptyRequest.convert(BSON.deserialize(buffer, { useBigInt64: true })),\n\n toBinary: (value: Ge1xGripperEmptyRequest): Uint8Array => BSON.serialize(Ge1xGripperEmptyRequest.sanitize(value)),\n\n DEFAULT: Object.freeze({\n connectionId: 0,\n }) as Readonly<Ge1xGripperEmptyRequest>,\n\n sanitize: (value: Ge1xGripperEmptyRequest): Ge1xGripperEmptyRequest => {\n if (value == null) { throw new TypeError('Expected Ge1xGripperEmptyRequest object but got null or undefined.') }\n if (typeof value !== 'object') { throw new TypeError(`Expected Ge1xGripperEmptyRequest object but got ${typeof value}.`) }\n return {\n connectionId: sanitizer.sanitizeInt(value.connectionId, 'connectionId'),\n };\n },\n\n convert: (value: BSON.Document): Ge1xGripperEmptyRequest => ({\n connectionId: value.connectionId,\n }),\n\n isA: (value: any): value is Ge1xGripperEmptyRequest => {\n const castValue = value as Ge1xGripperEmptyRequest;\n return (\n value != null &&\n typeof value === 'object' &&\n sanitizer.isInt(castValue.connectionId)\n );\n },\n};\n"]}
@@ -0,0 +1,14 @@
1
+ import { BSON } from 'bson';
2
+ import { Ge1xGripperError } from '../product/ge_1_x_gripper_error';
3
+ export interface Ge1xGripperGetErrorResponse {
4
+ value: Ge1xGripperError;
5
+ }
6
+ export declare const Ge1xGripperGetErrorResponse: {
7
+ fromBinary: (buffer: Uint8Array) => Ge1xGripperGetErrorResponse;
8
+ toBinary: (value: Ge1xGripperGetErrorResponse) => Uint8Array;
9
+ DEFAULT: Readonly<Ge1xGripperGetErrorResponse>;
10
+ sanitize: (value: Ge1xGripperGetErrorResponse) => Ge1xGripperGetErrorResponse;
11
+ convert: (value: BSON.Document) => Ge1xGripperGetErrorResponse;
12
+ isA: (value: any) => value is Ge1xGripperGetErrorResponse;
13
+ };
14
+ //# sourceMappingURL=ge_1_x_gripper_get_error_response.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ge_1_x_gripper_get_error_response.d.ts","sourceRoot":"","sources":["../../../src/requests/ge_1_x_gripper_get_error_response.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAE5B,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAEnE,MAAM,WAAW,2BAA2B;IAC1C,KAAK,EAAE,gBAAgB,CAAC;CAEzB;AAED,eAAO,MAAM,2BAA2B;yBACjB,UAAU,KAAG,2BAA2B;sBAE3C,2BAA2B,KAAG,UAAU;;sBAMxC,2BAA2B,KAAG,2BAA2B;qBAQ1D,KAAK,QAAQ,KAAG,2BAA2B;iBAI/C,GAAG;CAQjB,CAAC"}
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Ge1xGripperGetErrorResponse = void 0;
4
+ // ===== THIS FILE IS GENERATED FROM A TEMPLATE ===== //
5
+ // ============== DO NOT EDIT DIRECTLY ============== //
6
+ const bson_1 = require("bson");
7
+ const sanitizer_1 = require("../gateway/sanitizer");
8
+ const ge_1_x_gripper_error_1 = require("../product/ge_1_x_gripper_error");
9
+ exports.Ge1xGripperGetErrorResponse = {
10
+ fromBinary: (buffer) => exports.Ge1xGripperGetErrorResponse.convert(bson_1.BSON.deserialize(buffer, { useBigInt64: true })),
11
+ toBinary: (value) => bson_1.BSON.serialize(exports.Ge1xGripperGetErrorResponse.sanitize(value)),
12
+ DEFAULT: Object.freeze({
13
+ value: 0,
14
+ }),
15
+ sanitize: (value) => {
16
+ if (value == null) {
17
+ throw new TypeError('Expected Ge1xGripperGetErrorResponse object but got null or undefined.');
18
+ }
19
+ if (typeof value !== 'object') {
20
+ throw new TypeError(`Expected Ge1xGripperGetErrorResponse object but got ${typeof value}.`);
21
+ }
22
+ return {
23
+ value: sanitizer_1.sanitizer.sanitizeEnum(value.value, 'Ge1xGripperError', ge_1_x_gripper_error_1.Ge1xGripperError, 'value'),
24
+ };
25
+ },
26
+ convert: (value) => ({
27
+ value: value.value,
28
+ }),
29
+ isA: (value) => {
30
+ const castValue = value;
31
+ return (value != null &&
32
+ typeof value === 'object' &&
33
+ sanitizer_1.sanitizer.isEnum(castValue.value, ge_1_x_gripper_error_1.Ge1xGripperError));
34
+ },
35
+ };
36
+ //# sourceMappingURL=ge_1_x_gripper_get_error_response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ge_1_x_gripper_get_error_response.js","sourceRoot":"","sources":["../../../src/requests/ge_1_x_gripper_get_error_response.ts"],"names":[],"mappings":";;;AAAA,wDAAwD;AACxD,wDAAwD;AACxD,+BAA4B;AAC5B,oDAAiD;AACjD,0EAAmE;AAOtD,QAAA,2BAA2B,GAAG;IACzC,UAAU,EAAE,CAAC,MAAkB,EAA+B,EAAE,CAAC,mCAA2B,CAAC,OAAO,CAAC,WAAI,CAAC,WAAW,CAAC,MAAM,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC,CAAC;IAErJ,QAAQ,EAAE,CAAC,KAAkC,EAAc,EAAE,CAAC,WAAI,CAAC,SAAS,CAAC,mCAA2B,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAEzH,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC;QACrB,KAAK,EAAE,CAAqB;KAC7B,CAA0C;IAE3C,QAAQ,EAAE,CAAC,KAAkC,EAA+B,EAAE;QAC5E,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;YAAC,MAAM,IAAI,SAAS,CAAC,wEAAwE,CAAC,CAAA;QAAC,CAAC;QACpH,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;YAAC,MAAM,IAAI,SAAS,CAAC,uDAAuD,OAAO,KAAK,GAAG,CAAC,CAAA;QAAC,CAAC;QAC9H,OAAO;YACL,KAAK,EAAE,qBAAS,CAAC,YAAY,CAAC,KAAK,CAAC,KAAK,EAAE,kBAAkB,EAAE,uCAAgB,EAAE,OAAO,CAAC;SAC1F,CAAC;IACJ,CAAC;IAED,OAAO,EAAE,CAAC,KAAoB,EAA+B,EAAE,CAAC,CAAC;QAC/D,KAAK,EAAE,KAAK,CAAC,KAAK;KACnB,CAAC;IAEF,GAAG,EAAE,CAAC,KAAU,EAAwC,EAAE;QACxD,MAAM,SAAS,GAAG,KAAoC,CAAC;QACvD,OAAO,CACL,KAAK,IAAI,IAAI;YACb,OAAO,KAAK,KAAK,QAAQ;YACzB,qBAAS,CAAC,MAAM,CAAC,SAAS,CAAC,KAAK,EAAE,uCAAgB,CAAC,CACpD,CAAC;IACJ,CAAC;CACF,CAAC","sourcesContent":["// ===== THIS FILE IS GENERATED FROM A TEMPLATE ===== //\n// ============== DO NOT EDIT DIRECTLY ============== //\nimport { BSON } from 'bson';\nimport { sanitizer } from '../gateway/sanitizer';\nimport { Ge1xGripperError } from '../product/ge_1_x_gripper_error';\n\nexport interface Ge1xGripperGetErrorResponse {\n value: Ge1xGripperError;\n\n}\n\nexport const Ge1xGripperGetErrorResponse = {\n fromBinary: (buffer: Uint8Array): Ge1xGripperGetErrorResponse => Ge1xGripperGetErrorResponse.convert(BSON.deserialize(buffer, { useBigInt64: true })),\n\n toBinary: (value: Ge1xGripperGetErrorResponse): Uint8Array => BSON.serialize(Ge1xGripperGetErrorResponse.sanitize(value)),\n\n DEFAULT: Object.freeze({\n value: 0 as Ge1xGripperError,\n }) as Readonly<Ge1xGripperGetErrorResponse>,\n\n sanitize: (value: Ge1xGripperGetErrorResponse): Ge1xGripperGetErrorResponse => {\n if (value == null) { throw new TypeError('Expected Ge1xGripperGetErrorResponse object but got null or undefined.') }\n if (typeof value !== 'object') { throw new TypeError(`Expected Ge1xGripperGetErrorResponse object but got ${typeof value}.`) }\n return {\n value: sanitizer.sanitizeEnum(value.value, 'Ge1xGripperError', Ge1xGripperError, 'value'),\n };\n },\n\n convert: (value: BSON.Document): Ge1xGripperGetErrorResponse => ({\n value: value.value,\n }),\n\n isA: (value: any): value is Ge1xGripperGetErrorResponse => {\n const castValue = value as Ge1xGripperGetErrorResponse;\n return (\n value != null &&\n typeof value === 'object' &&\n sanitizer.isEnum(castValue.value, Ge1xGripperError)\n );\n },\n};\n"]}
@@ -0,0 +1,14 @@
1
+ import { BSON } from 'bson';
2
+ import { Ge1xGripperState } from '../product/ge_1_x_gripper_state';
3
+ export interface Ge1xGripperGetStateResponse {
4
+ value: Ge1xGripperState;
5
+ }
6
+ export declare const Ge1xGripperGetStateResponse: {
7
+ fromBinary: (buffer: Uint8Array) => Ge1xGripperGetStateResponse;
8
+ toBinary: (value: Ge1xGripperGetStateResponse) => Uint8Array;
9
+ DEFAULT: Readonly<Ge1xGripperGetStateResponse>;
10
+ sanitize: (value: Ge1xGripperGetStateResponse) => Ge1xGripperGetStateResponse;
11
+ convert: (value: BSON.Document) => Ge1xGripperGetStateResponse;
12
+ isA: (value: any) => value is Ge1xGripperGetStateResponse;
13
+ };
14
+ //# sourceMappingURL=ge_1_x_gripper_get_state_response.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ge_1_x_gripper_get_state_response.d.ts","sourceRoot":"","sources":["../../../src/requests/ge_1_x_gripper_get_state_response.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAE5B,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAEnE,MAAM,WAAW,2BAA2B;IAC1C,KAAK,EAAE,gBAAgB,CAAC;CAEzB;AAED,eAAO,MAAM,2BAA2B;yBACjB,UAAU,KAAG,2BAA2B;sBAE3C,2BAA2B,KAAG,UAAU;;sBAMxC,2BAA2B,KAAG,2BAA2B;qBAQ1D,KAAK,QAAQ,KAAG,2BAA2B;iBAI/C,GAAG;CAQjB,CAAC"}