@printobserver/sdk 0.17.0 → 0.20.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.
package/dist/contract.js CHANGED
@@ -7,7 +7,7 @@
7
7
  * generate-clients`, and commit what that writes.
8
8
  */
9
9
  import { GeneratedSurface, reasonGiven } from "./surface.js";
10
- export const CONTRACT_VERSION = "0.17.0";
10
+ export const CONTRACT_VERSION = "0.20.0";
11
11
  /**
12
12
  * Every operation this client exposes a method for, which is every operation
13
13
  * the server declares and no other.
@@ -53,6 +53,8 @@ export const OPERATION_NAMES = [
53
53
  "recover_home_z",
54
54
  "bed_clear",
55
55
  "recheck_camera",
56
+ "check_camera",
57
+ "check_harness",
56
58
  ];
57
59
  /** Every kind the server declares a payload type for, in name order. */
58
60
  export const EVENT_KINDS = [
@@ -62,6 +64,7 @@ export const EVENT_KINDS = [
62
64
  "agent_assessment",
63
65
  "agent_stop_unacted",
64
66
  "bed_clear_asserted",
67
+ "camera_checked",
65
68
  "camera_degraded",
66
69
  "camera_look",
67
70
  "camera_retry",
@@ -495,6 +498,15 @@ export const SHAPES = JSON.parse(`
495
498
  "ref": "AgentAssessment"
496
499
  }
497
500
  },
501
+ "check_image": {
502
+ "paired_with": "",
503
+ "required": false,
504
+ "shape": {
505
+ "nullable": {
506
+ "ref": "TurnCheckImage"
507
+ }
508
+ }
509
+ },
498
510
  "session_name": {
499
511
  "paired_with": "",
500
512
  "required": true,
@@ -592,7 +604,7 @@ export const SHAPES = JSON.parse(`
592
604
  "required": false,
593
605
  "shape": {
594
606
  "nullable": {
595
- "ref": "SlicerPlan"
607
+ "ref": "AgentSlicerPlan"
596
608
  }
597
609
  }
598
610
  }
@@ -663,6 +675,58 @@ export const SHAPES = JSON.parse(`
663
675
  "variants": {}
664
676
  }
665
677
  },
678
+ "AgentPlannedChange": {
679
+ "struct": {
680
+ "fields": {
681
+ "color": {
682
+ "paired_with": "",
683
+ "required": true,
684
+ "shape": {
685
+ "nullable": {
686
+ "scalar": "string"
687
+ }
688
+ }
689
+ },
690
+ "kind": {
691
+ "paired_with": "",
692
+ "required": true,
693
+ "shape": {
694
+ "ref": "PlannedChangeKind"
695
+ }
696
+ },
697
+ "layer": {
698
+ "paired_with": "",
699
+ "required": true,
700
+ "shape": {
701
+ "scalar": "integer"
702
+ }
703
+ },
704
+ "number": {
705
+ "paired_with": "",
706
+ "required": true,
707
+ "shape": {
708
+ "scalar": "integer"
709
+ }
710
+ },
711
+ "offset_bytes": {
712
+ "paired_with": "",
713
+ "required": true,
714
+ "shape": {
715
+ "scalar": "integer"
716
+ }
717
+ },
718
+ "z_mm": {
719
+ "paired_with": "",
720
+ "required": true,
721
+ "shape": {
722
+ "scalar": "number"
723
+ }
724
+ }
725
+ },
726
+ "tag_field": "",
727
+ "variants": {}
728
+ }
729
+ },
666
730
  "AgentPrint": {
667
731
  "struct": {
668
732
  "fields": {
@@ -721,6 +785,165 @@ export const SHAPES = JSON.parse(`
721
785
  "variants": {}
722
786
  }
723
787
  },
788
+ "AgentSlicerPlan": {
789
+ "struct": {
790
+ "fields": {
791
+ "at_odds": {
792
+ "paired_with": "",
793
+ "required": false,
794
+ "shape": {
795
+ "list": {
796
+ "ref": "PlanMismatch"
797
+ },
798
+ "non_empty": false
799
+ }
800
+ },
801
+ "change_waiting": {
802
+ "paired_with": "",
803
+ "required": false,
804
+ "shape": {
805
+ "nullable": {
806
+ "ref": "AgentPlannedChange"
807
+ }
808
+ }
809
+ },
810
+ "expected_color": {
811
+ "paired_with": "",
812
+ "required": false,
813
+ "shape": {
814
+ "nullable": {
815
+ "scalar": "string"
816
+ }
817
+ }
818
+ },
819
+ "fan_percent": {
820
+ "paired_with": "",
821
+ "required": false,
822
+ "shape": {
823
+ "nullable": {
824
+ "ref": "SetValue"
825
+ }
826
+ }
827
+ },
828
+ "final_z_mm": {
829
+ "paired_with": "",
830
+ "required": false,
831
+ "shape": {
832
+ "nullable": {
833
+ "scalar": "number"
834
+ }
835
+ }
836
+ },
837
+ "flow_factor": {
838
+ "paired_with": "",
839
+ "required": false,
840
+ "shape": {
841
+ "nullable": {
842
+ "ref": "SetValue"
843
+ }
844
+ }
845
+ },
846
+ "layer": {
847
+ "paired_with": "",
848
+ "required": false,
849
+ "shape": {
850
+ "nullable": {
851
+ "scalar": "integer"
852
+ }
853
+ }
854
+ },
855
+ "minutes_left": {
856
+ "paired_with": "",
857
+ "required": false,
858
+ "shape": {
859
+ "nullable": {
860
+ "scalar": "integer"
861
+ }
862
+ }
863
+ },
864
+ "minutes_to_next_change": {
865
+ "paired_with": "",
866
+ "required": false,
867
+ "shape": {
868
+ "nullable": {
869
+ "scalar": "integer"
870
+ }
871
+ }
872
+ },
873
+ "next_change": {
874
+ "paired_with": "",
875
+ "required": false,
876
+ "shape": {
877
+ "nullable": {
878
+ "ref": "AgentPlannedChange"
879
+ }
880
+ }
881
+ },
882
+ "object_count": {
883
+ "paired_with": "",
884
+ "required": false,
885
+ "shape": {
886
+ "nullable": {
887
+ "scalar": "integer"
888
+ }
889
+ }
890
+ },
891
+ "objects": {
892
+ "paired_with": "",
893
+ "required": false,
894
+ "shape": {
895
+ "list": {
896
+ "list": {
897
+ "scalar": "integer"
898
+ },
899
+ "non_empty": true
900
+ },
901
+ "non_empty": false
902
+ }
903
+ },
904
+ "rise": {
905
+ "paired_with": "",
906
+ "required": false,
907
+ "shape": {
908
+ "nullable": {
909
+ "ref": "Rise"
910
+ }
911
+ }
912
+ },
913
+ "types": {
914
+ "paired_with": "",
915
+ "required": false,
916
+ "shape": {
917
+ "list": {
918
+ "scalar": "string"
919
+ },
920
+ "non_empty": false
921
+ }
922
+ },
923
+ "unknown": {
924
+ "paired_with": "",
925
+ "required": false,
926
+ "shape": {
927
+ "list": {
928
+ "ref": "PlanFact"
929
+ },
930
+ "non_empty": false
931
+ }
932
+ },
933
+ "z_mm": {
934
+ "paired_with": "",
935
+ "required": false,
936
+ "shape": {
937
+ "nullable": {
938
+ "scalar": "number"
939
+ }
940
+ }
941
+ }
942
+ },
943
+ "tag_field": "",
944
+ "variants": {}
945
+ }
946
+ },
724
947
  "AgentStopUnactedPayload": {
725
948
  "struct": {
726
949
  "fields": {
@@ -731,18 +954,287 @@ export const SHAPES = JSON.parse(`
731
954
  "ref": "EventId"
732
955
  }
733
956
  },
734
- "session_name": {
957
+ "session_name": {
958
+ "paired_with": "",
959
+ "required": true,
960
+ "shape": {
961
+ "scalar": "string"
962
+ }
963
+ },
964
+ "summary": {
965
+ "paired_with": "",
966
+ "required": true,
967
+ "shape": {
968
+ "scalar": "string"
969
+ }
970
+ }
971
+ },
972
+ "tag_field": "",
973
+ "variants": {}
974
+ }
975
+ },
976
+ "AlignmentFailure": {
977
+ "union": {
978
+ "tag_field": "failure",
979
+ "variants": {
980
+ "offset": {
981
+ "fields": {
982
+ "offset_px": {
983
+ "paired_with": "",
984
+ "required": true,
985
+ "shape": {
986
+ "scalar": "number"
987
+ }
988
+ }
989
+ },
990
+ "payload": null,
991
+ "unit": false
992
+ },
993
+ "resolution": {
994
+ "fields": {
995
+ "expected": {
996
+ "paired_with": "",
997
+ "required": true,
998
+ "shape": {
999
+ "list": {
1000
+ "scalar": "integer"
1001
+ },
1002
+ "non_empty": true
1003
+ }
1004
+ },
1005
+ "got": {
1006
+ "paired_with": "",
1007
+ "required": true,
1008
+ "shape": {
1009
+ "list": {
1010
+ "scalar": "integer"
1011
+ },
1012
+ "non_empty": true
1013
+ }
1014
+ }
1015
+ },
1016
+ "payload": null,
1017
+ "unit": false
1018
+ },
1019
+ "stream": {
1020
+ "fields": {},
1021
+ "payload": null,
1022
+ "unit": true
1023
+ }
1024
+ }
1025
+ }
1026
+ },
1027
+ "AlignmentJudgedVerdict": {
1028
+ "enum": [
1029
+ "passed",
1030
+ "inconclusive",
1031
+ "failed"
1032
+ ]
1033
+ },
1034
+ "BedClearActor": {
1035
+ "enum": [
1036
+ "operator"
1037
+ ]
1038
+ },
1039
+ "BedClearAnswer": {
1040
+ "struct": {
1041
+ "fields": {
1042
+ "detail": {
1043
+ "paired_with": "",
1044
+ "required": true,
1045
+ "shape": {
1046
+ "scalar": "string"
1047
+ }
1048
+ },
1049
+ "event": {
1050
+ "paired_with": "",
1051
+ "required": true,
1052
+ "shape": {
1053
+ "ref": "EventRecord"
1054
+ }
1055
+ }
1056
+ },
1057
+ "tag_field": "",
1058
+ "variants": {}
1059
+ }
1060
+ },
1061
+ "BedClearAssertedPayload": {
1062
+ "struct": {
1063
+ "fields": {
1064
+ "actor": {
1065
+ "paired_with": "",
1066
+ "required": true,
1067
+ "shape": {
1068
+ "ref": "BedClearActor"
1069
+ }
1070
+ },
1071
+ "reason": {
1072
+ "paired_with": "",
1073
+ "required": true,
1074
+ "shape": {
1075
+ "scalar": "string"
1076
+ }
1077
+ }
1078
+ },
1079
+ "tag_field": "",
1080
+ "variants": {}
1081
+ }
1082
+ },
1083
+ "BedTemperature": {
1084
+ "struct": {
1085
+ "fields": {
1086
+ "actual_c": {
1087
+ "paired_with": "",
1088
+ "required": true,
1089
+ "shape": {
1090
+ "nullable": {
1091
+ "scalar": "number"
1092
+ }
1093
+ }
1094
+ },
1095
+ "target_c": {
1096
+ "paired_with": "",
1097
+ "required": true,
1098
+ "shape": {
1099
+ "nullable": {
1100
+ "scalar": "number"
1101
+ }
1102
+ }
1103
+ }
1104
+ },
1105
+ "tag_field": "",
1106
+ "variants": {}
1107
+ }
1108
+ },
1109
+ "CameraCheck": {
1110
+ "struct": {
1111
+ "fields": {
1112
+ "bed_z_mm": {
1113
+ "paired_with": "",
1114
+ "required": true,
1115
+ "shape": {
1116
+ "scalar": "number"
1117
+ }
1118
+ },
1119
+ "checked_at": {
1120
+ "paired_with": "",
1121
+ "required": true,
1122
+ "shape": {
1123
+ "ref": "Timestamp"
1124
+ }
1125
+ },
1126
+ "correction": {
1127
+ "paired_with": "",
1128
+ "required": false,
1129
+ "shape": {
1130
+ "nullable": {
1131
+ "ref": "ViewCorrection"
1132
+ }
1133
+ }
1134
+ },
1135
+ "frame": {
1136
+ "paired_with": "",
1137
+ "required": false,
1138
+ "shape": {
1139
+ "nullable": {
1140
+ "ref": "ImageRef"
1141
+ }
1142
+ }
1143
+ },
1144
+ "id": {
1145
+ "paired_with": "",
1146
+ "required": true,
1147
+ "shape": {
1148
+ "ref": "CameraCheckId"
1149
+ }
1150
+ },
1151
+ "image_path": {
1152
+ "paired_with": "",
1153
+ "required": false,
1154
+ "shape": {
1155
+ "nullable": {
1156
+ "scalar": "string"
1157
+ }
1158
+ }
1159
+ },
1160
+ "landmarks_moved": {
1161
+ "paired_with": "",
1162
+ "required": false,
1163
+ "shape": {
1164
+ "nullable": {
1165
+ "scalar": "integer"
1166
+ }
1167
+ }
1168
+ },
1169
+ "message": {
1170
+ "paired_with": "",
1171
+ "required": true,
1172
+ "shape": {
1173
+ "scalar": "string"
1174
+ }
1175
+ },
1176
+ "offset_limit_px": {
1177
+ "paired_with": "",
1178
+ "required": true,
1179
+ "shape": {
1180
+ "scalar": "number"
1181
+ }
1182
+ },
1183
+ "offset_px": {
1184
+ "paired_with": "",
1185
+ "required": false,
1186
+ "shape": {
1187
+ "nullable": {
1188
+ "scalar": "number"
1189
+ }
1190
+ }
1191
+ },
1192
+ "residual_limit_px": {
1193
+ "paired_with": "",
1194
+ "required": true,
1195
+ "shape": {
1196
+ "scalar": "number"
1197
+ }
1198
+ },
1199
+ "residual_px": {
1200
+ "paired_with": "",
1201
+ "required": false,
1202
+ "shape": {
1203
+ "nullable": {
1204
+ "scalar": "number"
1205
+ }
1206
+ }
1207
+ },
1208
+ "sheet": {
1209
+ "paired_with": "",
1210
+ "required": true,
1211
+ "shape": {
1212
+ "ref": "SheetId"
1213
+ }
1214
+ },
1215
+ "unavailable_reason": {
1216
+ "paired_with": "",
1217
+ "required": false,
1218
+ "shape": {
1219
+ "nullable": {
1220
+ "ref": "UnavailableReason"
1221
+ }
1222
+ }
1223
+ },
1224
+ "unjudgeable_cause": {
735
1225
  "paired_with": "",
736
- "required": true,
1226
+ "required": false,
737
1227
  "shape": {
738
- "scalar": "string"
1228
+ "nullable": {
1229
+ "ref": "UnjudgeableCause"
1230
+ }
739
1231
  }
740
1232
  },
741
- "summary": {
1233
+ "verdict": {
742
1234
  "paired_with": "",
743
1235
  "required": true,
744
1236
  "shape": {
745
- "scalar": "string"
1237
+ "ref": "CameraCheckVerdict"
746
1238
  }
747
1239
  }
748
1240
  },
@@ -750,50 +1242,49 @@ export const SHAPES = JSON.parse(`
750
1242
  "variants": {}
751
1243
  }
752
1244
  },
753
- "AlignmentFailure": {
1245
+ "CameraCheckId": {
1246
+ "alias": {
1247
+ "scalar": "string"
1248
+ }
1249
+ },
1250
+ "CameraCheckObjection": {
754
1251
  "union": {
755
- "tag_field": "failure",
1252
+ "tag_field": "objection",
756
1253
  "variants": {
757
- "offset": {
1254
+ "not_aligned": {
758
1255
  "fields": {
759
- "offset_px": {
1256
+ "verdict": {
760
1257
  "paired_with": "",
761
1258
  "required": true,
762
1259
  "shape": {
763
- "scalar": "number"
1260
+ "ref": "CameraCheckVerdict"
764
1261
  }
765
1262
  }
766
1263
  },
767
1264
  "payload": null,
768
1265
  "unit": false
769
1266
  },
770
- "resolution": {
1267
+ "other_sheet": {
771
1268
  "fields": {
772
- "expected": {
1269
+ "checked_on": {
773
1270
  "paired_with": "",
774
1271
  "required": true,
775
1272
  "shape": {
776
- "list": {
777
- "scalar": "integer"
778
- },
779
- "non_empty": true
1273
+ "ref": "SheetId"
780
1274
  }
781
1275
  },
782
- "got": {
1276
+ "declared": {
783
1277
  "paired_with": "",
784
1278
  "required": true,
785
1279
  "shape": {
786
- "list": {
787
- "scalar": "integer"
788
- },
789
- "non_empty": true
1280
+ "ref": "SheetId"
790
1281
  }
791
1282
  }
792
1283
  },
793
1284
  "payload": null,
794
1285
  "unit": false
795
1286
  },
796
- "stream": {
1287
+ "unknown": {
797
1288
  "fields": {},
798
1289
  "payload": null,
799
1290
  "unit": true
@@ -801,81 +1292,21 @@ export const SHAPES = JSON.parse(`
801
1292
  }
802
1293
  }
803
1294
  },
804
- "AlignmentJudgedVerdict": {
805
- "enum": [
806
- "passed",
807
- "inconclusive",
808
- "failed"
809
- ]
810
- },
811
- "BedClearActor": {
1295
+ "CameraCheckVerdict": {
812
1296
  "enum": [
813
- "operator"
1297
+ "aligned",
1298
+ "not_aligned",
1299
+ "unavailable"
814
1300
  ]
815
1301
  },
816
- "BedClearAnswer": {
817
- "struct": {
818
- "fields": {
819
- "detail": {
820
- "paired_with": "",
821
- "required": true,
822
- "shape": {
823
- "scalar": "string"
824
- }
825
- },
826
- "event": {
827
- "paired_with": "",
828
- "required": true,
829
- "shape": {
830
- "ref": "EventRecord"
831
- }
832
- }
833
- },
834
- "tag_field": "",
835
- "variants": {}
836
- }
837
- },
838
- "BedClearAssertedPayload": {
839
- "struct": {
840
- "fields": {
841
- "actor": {
842
- "paired_with": "",
843
- "required": true,
844
- "shape": {
845
- "ref": "BedClearActor"
846
- }
847
- },
848
- "reason": {
849
- "paired_with": "",
850
- "required": true,
851
- "shape": {
852
- "scalar": "string"
853
- }
854
- }
855
- },
856
- "tag_field": "",
857
- "variants": {}
858
- }
859
- },
860
- "BedTemperature": {
1302
+ "CameraCheckedPayload": {
861
1303
  "struct": {
862
1304
  "fields": {
863
- "actual_c": {
864
- "paired_with": "",
865
- "required": true,
866
- "shape": {
867
- "nullable": {
868
- "scalar": "number"
869
- }
870
- }
871
- },
872
- "target_c": {
1305
+ "camera_check": {
873
1306
  "paired_with": "",
874
1307
  "required": true,
875
1308
  "shape": {
876
- "nullable": {
877
- "scalar": "number"
878
- }
1309
+ "ref": "CameraCheck"
879
1310
  }
880
1311
  }
881
1312
  },
@@ -999,6 +1430,16 @@ export const SHAPES = JSON.parse(`
999
1430
  "scalar": "string"
1000
1431
  }
1001
1432
  },
1433
+ "landmarks": {
1434
+ "paired_with": "",
1435
+ "required": false,
1436
+ "shape": {
1437
+ "list": {
1438
+ "ref": "JudgedLandmark"
1439
+ },
1440
+ "non_empty": false
1441
+ }
1442
+ },
1002
1443
  "outcome": {
1003
1444
  "paired_with": "",
1004
1445
  "required": true,
@@ -1015,6 +1456,22 @@ export const SHAPES = JSON.parse(`
1015
1456
  }
1016
1457
  }
1017
1458
  },
1459
+ "residual_px": {
1460
+ "paired_with": "",
1461
+ "required": false,
1462
+ "shape": {
1463
+ "nullable": {
1464
+ "scalar": "number"
1465
+ }
1466
+ }
1467
+ },
1468
+ "schema_version": {
1469
+ "paired_with": "",
1470
+ "required": false,
1471
+ "shape": {
1472
+ "scalar": "integer"
1473
+ }
1474
+ },
1018
1475
  "view_correction": {
1019
1476
  "paired_with": "",
1020
1477
  "required": false,
@@ -2088,6 +2545,74 @@ export const SHAPES = JSON.parse(`
2088
2545
  "variants": {}
2089
2546
  }
2090
2547
  },
2548
+ "HarnessReadiness": {
2549
+ "struct": {
2550
+ "fields": {
2551
+ "harness": {
2552
+ "paired_with": "",
2553
+ "required": true,
2554
+ "shape": {
2555
+ "scalar": "string"
2556
+ }
2557
+ },
2558
+ "next_step": {
2559
+ "paired_with": "",
2560
+ "required": true,
2561
+ "shape": {
2562
+ "nullable": {
2563
+ "scalar": "string"
2564
+ }
2565
+ }
2566
+ },
2567
+ "ready": {
2568
+ "paired_with": "",
2569
+ "required": true,
2570
+ "shape": {
2571
+ "scalar": "boolean"
2572
+ }
2573
+ },
2574
+ "reason": {
2575
+ "paired_with": "",
2576
+ "required": true,
2577
+ "shape": {
2578
+ "nullable": {
2579
+ "scalar": "string"
2580
+ }
2581
+ }
2582
+ },
2583
+ "signed_in": {
2584
+ "paired_with": "",
2585
+ "required": true,
2586
+ "shape": {
2587
+ "ref": "HarnessSignedIn"
2588
+ }
2589
+ },
2590
+ "turn": {
2591
+ "paired_with": "",
2592
+ "required": true,
2593
+ "shape": {
2594
+ "ref": "HarnessTurn"
2595
+ }
2596
+ }
2597
+ },
2598
+ "tag_field": "",
2599
+ "variants": {}
2600
+ }
2601
+ },
2602
+ "HarnessSignedIn": {
2603
+ "enum": [
2604
+ "yes",
2605
+ "no",
2606
+ "unknown"
2607
+ ]
2608
+ },
2609
+ "HarnessTurn": {
2610
+ "enum": [
2611
+ "answered",
2612
+ "failed",
2613
+ "not_tried"
2614
+ ]
2615
+ },
2091
2616
  "HeatedTool": {
2092
2617
  "struct": {
2093
2618
  "fields": {
@@ -2515,6 +3040,15 @@ export const SHAPES = JSON.parse(`
2515
3040
  }
2516
3041
  }
2517
3042
  },
3043
+ "camera_check": {
3044
+ "paired_with": "",
3045
+ "required": false,
3046
+ "shape": {
3047
+ "nullable": {
3048
+ "ref": "CameraCheckId"
3049
+ }
3050
+ }
3051
+ },
2518
3052
  "file_name": {
2519
3053
  "paired_with": "",
2520
3054
  "required": true,
@@ -2682,6 +3216,54 @@ export const SHAPES = JSON.parse(`
2682
3216
  "variants": {}
2683
3217
  }
2684
3218
  },
3219
+ "JudgedLandmark": {
3220
+ "struct": {
3221
+ "fields": {
3222
+ "from_reference_px": {
3223
+ "paired_with": "",
3224
+ "required": false,
3225
+ "shape": {
3226
+ "nullable": {
3227
+ "scalar": "number"
3228
+ }
3229
+ }
3230
+ },
3231
+ "name": {
3232
+ "paired_with": "",
3233
+ "required": true,
3234
+ "shape": {
3235
+ "scalar": "string"
3236
+ }
3237
+ },
3238
+ "offset_px": {
3239
+ "paired_with": "",
3240
+ "required": true,
3241
+ "shape": {
3242
+ "list": {
3243
+ "scalar": "number"
3244
+ },
3245
+ "non_empty": true
3246
+ }
3247
+ },
3248
+ "score": {
3249
+ "paired_with": "",
3250
+ "required": true,
3251
+ "shape": {
3252
+ "scalar": "number"
3253
+ }
3254
+ },
3255
+ "visible": {
3256
+ "paired_with": "",
3257
+ "required": true,
3258
+ "shape": {
3259
+ "scalar": "boolean"
3260
+ }
3261
+ }
3262
+ },
3263
+ "tag_field": "",
3264
+ "variants": {}
3265
+ }
3266
+ },
2685
3267
  "LastCheckImage": {
2686
3268
  "struct": {
2687
3269
  "fields": {
@@ -4777,6 +5359,15 @@ export const SHAPES = JSON.parse(`
4777
5359
  "PrintStartedPayload": {
4778
5360
  "struct": {
4779
5361
  "fields": {
5362
+ "camera_check": {
5363
+ "paired_with": "",
5364
+ "required": false,
5365
+ "shape": {
5366
+ "nullable": {
5367
+ "ref": "CameraCheckId"
5368
+ }
5369
+ }
5370
+ },
4780
5371
  "file_name": {
4781
5372
  "paired_with": "",
4782
5373
  "required": false,
@@ -5730,31 +6321,51 @@ export const SHAPES = JSON.parse(`
5730
6321
  "ref": "ActionKind"
5731
6322
  }
5732
6323
  },
5733
- "actor_class": {
6324
+ "actor_class": {
6325
+ "paired_with": "",
6326
+ "required": true,
6327
+ "shape": {
6328
+ "ref": "ActorClass"
6329
+ }
6330
+ }
6331
+ },
6332
+ "payload": null,
6333
+ "unit": false
6334
+ },
6335
+ "analysis_unavailable": {
6336
+ "fields": {
6337
+ "file_name": {
6338
+ "paired_with": "",
6339
+ "required": true,
6340
+ "shape": {
6341
+ "scalar": "string"
6342
+ }
6343
+ },
6344
+ "waited_s": {
5734
6345
  "paired_with": "",
5735
6346
  "required": true,
5736
6347
  "shape": {
5737
- "ref": "ActorClass"
6348
+ "scalar": "integer"
5738
6349
  }
5739
6350
  }
5740
6351
  },
5741
6352
  "payload": null,
5742
6353
  "unit": false
5743
6354
  },
5744
- "analysis_unavailable": {
6355
+ "camera_check_refused": {
5745
6356
  "fields": {
5746
- "file_name": {
6357
+ "camera_check": {
5747
6358
  "paired_with": "",
5748
6359
  "required": true,
5749
6360
  "shape": {
5750
- "scalar": "string"
6361
+ "ref": "CameraCheckId"
5751
6362
  }
5752
6363
  },
5753
- "waited_s": {
6364
+ "objection": {
5754
6365
  "paired_with": "",
5755
6366
  "required": true,
5756
6367
  "shape": {
5757
- "scalar": "integer"
6368
+ "ref": "CameraCheckObjection"
5758
6369
  }
5759
6370
  }
5760
6371
  },
@@ -6377,165 +6988,6 @@ export const SHAPES = JSON.parse(`
6377
6988
  "variants": {}
6378
6989
  }
6379
6990
  },
6380
- "SlicerPlan": {
6381
- "struct": {
6382
- "fields": {
6383
- "at_odds": {
6384
- "paired_with": "",
6385
- "required": false,
6386
- "shape": {
6387
- "list": {
6388
- "ref": "PlanMismatch"
6389
- },
6390
- "non_empty": false
6391
- }
6392
- },
6393
- "change_waiting": {
6394
- "paired_with": "",
6395
- "required": false,
6396
- "shape": {
6397
- "nullable": {
6398
- "ref": "PlannedChange"
6399
- }
6400
- }
6401
- },
6402
- "expected_color": {
6403
- "paired_with": "",
6404
- "required": false,
6405
- "shape": {
6406
- "nullable": {
6407
- "scalar": "string"
6408
- }
6409
- }
6410
- },
6411
- "fan_percent": {
6412
- "paired_with": "",
6413
- "required": false,
6414
- "shape": {
6415
- "nullable": {
6416
- "ref": "SetValue"
6417
- }
6418
- }
6419
- },
6420
- "final_z_mm": {
6421
- "paired_with": "",
6422
- "required": false,
6423
- "shape": {
6424
- "nullable": {
6425
- "scalar": "number"
6426
- }
6427
- }
6428
- },
6429
- "flow_factor": {
6430
- "paired_with": "",
6431
- "required": false,
6432
- "shape": {
6433
- "nullable": {
6434
- "ref": "SetValue"
6435
- }
6436
- }
6437
- },
6438
- "layer": {
6439
- "paired_with": "",
6440
- "required": false,
6441
- "shape": {
6442
- "nullable": {
6443
- "scalar": "integer"
6444
- }
6445
- }
6446
- },
6447
- "minutes_left": {
6448
- "paired_with": "",
6449
- "required": false,
6450
- "shape": {
6451
- "nullable": {
6452
- "scalar": "integer"
6453
- }
6454
- }
6455
- },
6456
- "minutes_to_next_change": {
6457
- "paired_with": "",
6458
- "required": false,
6459
- "shape": {
6460
- "nullable": {
6461
- "scalar": "integer"
6462
- }
6463
- }
6464
- },
6465
- "next_change": {
6466
- "paired_with": "",
6467
- "required": false,
6468
- "shape": {
6469
- "nullable": {
6470
- "ref": "PlannedChange"
6471
- }
6472
- }
6473
- },
6474
- "object_count": {
6475
- "paired_with": "",
6476
- "required": false,
6477
- "shape": {
6478
- "nullable": {
6479
- "scalar": "integer"
6480
- }
6481
- }
6482
- },
6483
- "objects": {
6484
- "paired_with": "",
6485
- "required": false,
6486
- "shape": {
6487
- "list": {
6488
- "list": {
6489
- "scalar": "integer"
6490
- },
6491
- "non_empty": true
6492
- },
6493
- "non_empty": false
6494
- }
6495
- },
6496
- "rise": {
6497
- "paired_with": "",
6498
- "required": false,
6499
- "shape": {
6500
- "nullable": {
6501
- "ref": "Rise"
6502
- }
6503
- }
6504
- },
6505
- "types": {
6506
- "paired_with": "",
6507
- "required": false,
6508
- "shape": {
6509
- "list": {
6510
- "scalar": "string"
6511
- },
6512
- "non_empty": false
6513
- }
6514
- },
6515
- "unknown": {
6516
- "paired_with": "",
6517
- "required": false,
6518
- "shape": {
6519
- "list": {
6520
- "ref": "PlanFact"
6521
- },
6522
- "non_empty": false
6523
- }
6524
- },
6525
- "z_mm": {
6526
- "paired_with": "",
6527
- "required": false,
6528
- "shape": {
6529
- "nullable": {
6530
- "scalar": "number"
6531
- }
6532
- }
6533
- }
6534
- },
6535
- "tag_field": "",
6536
- "variants": {}
6537
- }
6538
- },
6539
6991
  "SpoolAdjustedPayload": {
6540
6992
  "struct": {
6541
6993
  "fields": {
@@ -7840,6 +8292,64 @@ export const SHAPES = JSON.parse(`
7840
8292
  "variants": {}
7841
8293
  }
7842
8294
  },
8295
+ "TurnCheckImage": {
8296
+ "struct": {
8297
+ "fields": {
8298
+ "event_id": {
8299
+ "paired_with": "",
8300
+ "required": true,
8301
+ "shape": {
8302
+ "ref": "EventId"
8303
+ }
8304
+ },
8305
+ "fallback": {
8306
+ "paired_with": "",
8307
+ "required": false,
8308
+ "shape": {
8309
+ "nullable": {
8310
+ "ref": "ImageFallback"
8311
+ }
8312
+ }
8313
+ },
8314
+ "frame_captured_at": {
8315
+ "paired_with": "",
8316
+ "required": false,
8317
+ "shape": {
8318
+ "nullable": {
8319
+ "ref": "Timestamp"
8320
+ }
8321
+ }
8322
+ },
8323
+ "kind": {
8324
+ "paired_with": "",
8325
+ "required": false,
8326
+ "shape": {
8327
+ "nullable": {
8328
+ "ref": "ImageKind"
8329
+ }
8330
+ }
8331
+ },
8332
+ "note": {
8333
+ "paired_with": "",
8334
+ "required": false,
8335
+ "shape": {
8336
+ "nullable": {
8337
+ "scalar": "string"
8338
+ }
8339
+ }
8340
+ },
8341
+ "path": {
8342
+ "paired_with": "",
8343
+ "required": true,
8344
+ "shape": {
8345
+ "scalar": "string"
8346
+ }
8347
+ }
8348
+ },
8349
+ "tag_field": "",
8350
+ "variants": {}
8351
+ }
8352
+ },
7843
8353
  "UnaccountedPrintPayload": {
7844
8354
  "struct": {
7845
8355
  "fields": {
@@ -7928,6 +8438,24 @@ export const SHAPES = JSON.parse(`
7928
8438
  "variants": {}
7929
8439
  }
7930
8440
  },
8441
+ "UnavailableReason": {
8442
+ "enum": [
8443
+ "no_frame",
8444
+ "look_failed",
8445
+ "frame_mismatch",
8446
+ "no_calibration",
8447
+ "unjudgeable"
8448
+ ]
8449
+ },
8450
+ "UnjudgeableCause": {
8451
+ "enum": [
8452
+ "too_little_sheet_in_view",
8453
+ "no_sheet_found",
8454
+ "sheet_occluded",
8455
+ "landmarks_hidden",
8456
+ "fit_inconsistent"
8457
+ ]
8458
+ },
7931
8459
  "UnverifiedMark": {
7932
8460
  "struct": {
7933
8461
  "fields": {
@@ -8969,4 +9497,36 @@ export class GeneratedClient extends GeneratedSurface {
8969
9497
  sending.reason = reason;
8970
9498
  return await this.call("POST", target, asked, sending, "RecheckCameraAnswer");
8971
9499
  }
9500
+ /**
9501
+ * Call `check_camera` on the configured supervisor.
9502
+ *
9503
+ * Rejects with `Unreachable` when nothing answered, with `Unreadable` when
9504
+ * the answer could not be read, and with `Refused` when the supervisor
9505
+ * said no.
9506
+ */
9507
+ async checkCamera(sheet, bedZMm) {
9508
+ const target = `/v1/camera/check`;
9509
+ const asked = [];
9510
+ if (sheet !== undefined) {
9511
+ asked.push(["sheet", String(sheet)]);
9512
+ }
9513
+ if (bedZMm !== undefined) {
9514
+ asked.push(["bed_z_mm", String(bedZMm)]);
9515
+ }
9516
+ const sending = undefined;
9517
+ return await this.call("GET", target, asked, sending, "CameraCheck");
9518
+ }
9519
+ /**
9520
+ * Call `check_harness` on the configured supervisor.
9521
+ *
9522
+ * Rejects with `Unreachable` when nothing answered, with `Unreadable` when
9523
+ * the answer could not be read, and with `Refused` when the supervisor
9524
+ * said no.
9525
+ */
9526
+ async checkHarness() {
9527
+ const target = `/v1/harness/check`;
9528
+ const asked = [];
9529
+ const sending = undefined;
9530
+ return await this.call("GET", target, asked, sending, "HarnessReadiness");
9531
+ }
8972
9532
  }