@printobserver/sdk 0.18.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.
@@ -154,6 +154,16 @@ export interface AgentAssessment {
154
154
  export interface AgentAssessmentPayload {
155
155
  /** What the agent answered with. */
156
156
  assessment: AgentAssessment;
157
+ /**
158
+ * The image the turn was handed, and the event it was the check of;
159
+ * absent when the turn was handed none.
160
+ *
161
+ * Every check image is a file of its own, never written over by a
162
+ * later check, so this names the exact bytes this turn judged however
163
+ * many turns ran after it. A turn reads it nowhere: its own
164
+ * conversation holds the image it was handed.
165
+ */
166
+ check_image?: TurnCheckImage | null;
157
167
  /** The session the turn ran in. */
158
168
  session_name: string;
159
169
  }
@@ -213,7 +223,7 @@ export interface AgentContext {
213
223
  */
214
224
  recent_events: Array<AgentEvent>;
215
225
  /** What the slicer planned at the job's current file position. */
216
- slicer?: SlicerPlan | null;
226
+ slicer?: AgentSlicerPlan | null;
217
227
  }
218
228
  /**
219
229
  * One event of the print's, as a turn reads it: what happened, when, and the
@@ -243,6 +253,35 @@ export interface AgentHeater {
243
253
  /** The temperature it is driving towards. */
244
254
  target_c?: number | null;
245
255
  }
256
+ /**
257
+ * One stop the print's own G-code plans, as a turn reads it: `PlannedChange`
258
+ * numbered the way a person counts a print's changes, the first being 1.
259
+ *
260
+ * The record a change is kept under counts from 0, as the file's own order
261
+ * does; a turn is never handed that count, so that the number it reads and
262
+ * the
263
+ * number it says are the ones the operator says.
264
+ */
265
+ export interface AgentPlannedChange {
266
+ /**
267
+ * The colour loaded at it, as `#RRGGBB` in upper case; null for an
268
+ * `M601`, and for an `M600` whose file names no colour.
269
+ */
270
+ color: string | null;
271
+ /** What it stops the print for. */
272
+ kind: PlannedChangeKind;
273
+ /**
274
+ * The first layer printed after it, counting the first as 1: the layer
275
+ * whose `;Z:` is the change's height.
276
+ */
277
+ layer: number;
278
+ /** Its number among the file's changes, counting from 1 in file order. */
279
+ number: number;
280
+ /** The byte offset of the first byte of its `M600` or `M601` line. */
281
+ offset_bytes: number;
282
+ /** That layer's height, in millimetres. */
283
+ z_mm: number;
284
+ }
246
285
  /** The print a context is about. */
247
286
  export interface AgentPrint {
248
287
  /** Why it ended, once it has. */
@@ -259,6 +298,75 @@ export interface AgentPrinter {
259
298
  /** Each tool's heater, in order. */
260
299
  tools?: Array<AgentHeater>;
261
300
  }
301
+ /**
302
+ * What the slicer planned at the job's current file position, as a turn
303
+ * reads
304
+ * it: `SlicerPlan` with each planned change an `AgentPlannedChange`.
305
+ */
306
+ export interface AgentSlicerPlan {
307
+ /** Each setting in force the plan at this height says is wrong. */
308
+ at_odds?: Array<PlanMismatch>;
309
+ /**
310
+ * The planned change the printer is waiting at now, for a person to
311
+ * finish; absent when it is waiting at none.
312
+ */
313
+ change_waiting?: AgentPlannedChange | null;
314
+ /**
315
+ * The colour the print should be laying at the current position, as
316
+ * `#RRGGBB`; absent when the file plans no change or names no colour
317
+ * there.
318
+ */
319
+ expected_color?: string | null;
320
+ /** The part-cooling fan speed, in percent. */
321
+ fan_percent?: SetValue | null;
322
+ /** The final layer's height, in millimetres. */
323
+ final_z_mm?: number | null;
324
+ /** The flow factor, one meaning one hundred percent. */
325
+ flow_factor?: SetValue | null;
326
+ /**
327
+ * The layer the print is in, counting the first as 1; absent before the
328
+ * first.
329
+ */
330
+ layer?: number | null;
331
+ /** The slicer's own estimate of the minutes left, at the current position. */
332
+ minutes_left?: number | null;
333
+ /**
334
+ * The slicer's own count of the minutes to that change, from the latest
335
+ * `M73 C` the position has reached; absent when there is no next change
336
+ * or no count.
337
+ */
338
+ minutes_to_next_change?: number | null;
339
+ /**
340
+ * The next change the file plans after the current position; absent when
341
+ * it plans none there.
342
+ */
343
+ next_change?: AgentPlannedChange | null;
344
+ /** How many objects the file lays down; absent when it labels none. */
345
+ object_count?: number | null;
346
+ /**
347
+ * The bed area each object the file lays down covers, unnamed, as
348
+ * `[x_min, y_min, x_max, y_max]` in whole millimetres, in the order of
349
+ * the file's object numbers.
350
+ */
351
+ objects?: Array<Array<number>>;
352
+ /**
353
+ * How far the plan has risen since an earlier frame; absent before any
354
+ * frame is half an hour old.
355
+ */
356
+ rise?: Rise | null;
357
+ /**
358
+ * What the current layer lays material as, in the order the file first
359
+ * names each: `Perimeter`, `Support material`, `Bridge infill`.
360
+ */
361
+ types?: Array<string>;
362
+ /**
363
+ * The facts the file does not state, which are therefore unknown rather
364
+ * than absent.
365
+ */
366
+ unknown?: Array<PlanFact>;
367
+ /** The current layer's height, in millimetres. */
368
+ z_mm?: number | null;
369
+ }
262
370
  /**
263
371
  * The agent answered that a running print should stop, and asked for no
264
372
  * pause or cancel — not even when asked again — so nothing stopped it.
@@ -492,10 +600,20 @@ export interface CameraRetryPayload {
492
600
  /**
493
601
  * One judgement of a print's camera view, on one frame: one for every
494
602
  * judgement, whatever it found and whether or not it repeats the last.
603
+ *
604
+ * `view_correction` is what the frame was judged *against*, so it repeats
605
+ * from check to check for as long as one correction stays in force;
606
+ * `landmarks` and `residual_px` are what was measured on *this* frame.
495
607
  */
496
608
  export interface CameraViewJudgedPayload {
497
609
  /** The stored frame it was judged on. */
498
610
  frame_sha256: string;
611
+ /**
612
+ * Every landmark of the calibration as this frame showed it, in the
613
+ * calibration's order; absent when the frame could not be searched, as
614
+ * one of another size or stream cannot.
615
+ */
616
+ landmarks?: Array<JudgedLandmark>;
499
617
  /** What it found. */
500
618
  outcome: ViewOutcome;
501
619
  /**
@@ -504,7 +622,25 @@ export interface CameraViewJudgedPayload {
504
622
  * unshifted one.
505
623
  */
506
624
  reason?: string | null;
507
- /** The correction in force when the frame was judged; null when none was. */
625
+ /**
626
+ * The RMS distance, over this frame's visible landmarks, between where
627
+ * it showed them and where the judgement expected them: the correction
628
+ * in force's reference, over the landmarks it names, or each landmark's
629
+ * calibrated place when none is in force. Absent when no landmark it
630
+ * compared was visible.
631
+ */
632
+ residual_px?: number | null;
633
+ /**
634
+ * The version of this record: the schema's maximum for every record
635
+ * this server writes, and 1 for a record stating none, which was written
636
+ * before `landmarks` and `residual_px` existed.
637
+ */
638
+ schema_version?: number;
639
+ /**
640
+ * The correction in force when the frame was judged; null when none was.
641
+ * Its landmarks are the reference this frame was compared against, found
642
+ * on the frame the correction was taken on rather than on this one.
643
+ */
508
644
  view_correction?: ViewCorrection | null;
509
645
  }
510
646
  /**
@@ -1214,6 +1350,30 @@ export interface JobSnapshot {
1214
1350
  /** The state the source reports the job to be in. */
1215
1351
  state: PrinterState;
1216
1352
  }
1353
+ /** One landmark of the calibration as one judged frame showed it. */
1354
+ export interface JudgedLandmark {
1355
+ /**
1356
+ * How far it lies from where the correction in force's reference had it,
1357
+ * in pixels; absent when no correction is in force or its reference does
1358
+ * not name this landmark.
1359
+ */
1360
+ from_reference_px?: number | null;
1361
+ /** The calibration's name for it. */
1362
+ name: string;
1363
+ /**
1364
+ * How far from its calibrated place this frame showed it, `[dx, dy]`
1365
+ * pixels.
1366
+ */
1367
+ offset_px: Array<number>;
1368
+ /** The correlation it was found at. */
1369
+ score: number;
1370
+ /**
1371
+ * Whether it was found at all, rather than hidden by the head, the
1372
+ * gantry or a part; a hidden landmark's offset is where its search
1373
+ * scored best, and counts for nothing.
1374
+ */
1375
+ visible: boolean;
1376
+ }
1217
1377
  /** The image a print's last check was shown, and when its frame was captured. */
1218
1378
  export interface LastCheckImage {
1219
1379
  /** When the check's frame was captured. */
@@ -2479,78 +2639,6 @@ export interface SignalPosition {
2479
2639
  /** The position. */
2480
2640
  position: FilePosition;
2481
2641
  }
2482
- /**
2483
- * What the slicer planned at the print's current file position: the shape
2484
- * and place of what should be printing, read from the print's own G-code.
2485
- *
2486
- * These are the slicer's plan rather than an observation: a feature named
2487
- * here is part of the design at this height, and nothing here says how well
2488
- * it printed.
2489
- */
2490
- export interface SlicerPlan {
2491
- /** Each setting in force the plan at this height says is wrong. */
2492
- at_odds?: Array<PlanMismatch>;
2493
- /**
2494
- * The planned change the printer is waiting at now, for a person to
2495
- * finish; absent when it is waiting at none.
2496
- */
2497
- change_waiting?: PlannedChange | null;
2498
- /**
2499
- * The colour the print should be laying at the current position, as
2500
- * `#RRGGBB`; absent when the file plans no change or names no colour
2501
- * there.
2502
- */
2503
- expected_color?: string | null;
2504
- /** The part-cooling fan speed, in percent. */
2505
- fan_percent?: SetValue | null;
2506
- /** The final layer's height, in millimetres. */
2507
- final_z_mm?: number | null;
2508
- /** The flow factor, one meaning one hundred percent. */
2509
- flow_factor?: SetValue | null;
2510
- /**
2511
- * The layer the print is in, counting the first as 1; absent before the
2512
- * first.
2513
- */
2514
- layer?: number | null;
2515
- /** The slicer's own estimate of the minutes left, at the current position. */
2516
- minutes_left?: number | null;
2517
- /**
2518
- * The slicer's own count of the minutes to that change, from the latest
2519
- * `M73 C` the position has reached; absent when there is no next change
2520
- * or no count.
2521
- */
2522
- minutes_to_next_change?: number | null;
2523
- /**
2524
- * The next change the file plans after the current position; absent when
2525
- * it plans none there.
2526
- */
2527
- next_change?: PlannedChange | null;
2528
- /** How many objects the file lays down; absent when it labels none. */
2529
- object_count?: number | null;
2530
- /**
2531
- * The bed area each object the file lays down covers, unnamed, as
2532
- * `[x_min, y_min, x_max, y_max]` in whole millimetres, in the order of
2533
- * the file's object numbers.
2534
- */
2535
- objects?: Array<Array<number>>;
2536
- /**
2537
- * How far the plan has risen since an earlier frame; absent before any
2538
- * frame is half an hour old.
2539
- */
2540
- rise?: Rise | null;
2541
- /**
2542
- * What the current layer lays material as, in the order the file first
2543
- * names each: `Perimeter`, `Support material`, `Bridge infill`.
2544
- */
2545
- types?: Array<string>;
2546
- /**
2547
- * The facts the file does not state, which are therefore unknown rather
2548
- * than absent.
2549
- */
2550
- unknown?: Array<PlanFact>;
2551
- /** The current layer's height, in millimetres. */
2552
- z_mm?: number | null;
2553
- }
2554
2642
  /** A spool's remaining figure was corrected. */
2555
2643
  export interface SpoolAdjustedPayload {
2556
2644
  /** Who corrected it. */
@@ -2951,6 +3039,33 @@ export interface ToolTemperature {
2951
3039
  /** The tool, in the printer's own numbering. */
2952
3040
  tool: number;
2953
3041
  }
3042
+ /**
3043
+ * The image one supervision turn was handed: where it is, which event it was
3044
+ * the check of, and what the turn was told about it.
3045
+ */
3046
+ export interface TurnCheckImage {
3047
+ /**
3048
+ * The event the turn was about — the observation or alert whose check
3049
+ * this image is.
3050
+ */
3051
+ event_id: EventId;
3052
+ /**
3053
+ * Why it is the whole frame; absent for the three-panel image, or when
3054
+ * what made it gave no reason.
3055
+ */
3056
+ fallback?: ImageFallback | null;
3057
+ /** When the frame it shows was captured, when the turn was told. */
3058
+ frame_captured_at?: Timestamp | null;
3059
+ /** Which image it is; absent when what made it did not say. */
3060
+ kind?: ImageKind | null;
3061
+ /**
3062
+ * The line the turn was told what the image is in; absent when what
3063
+ * made it said nothing.
3064
+ */
3065
+ note?: string | null;
3066
+ /** Where the image's bytes are, absolute on the supervisor's own host. */
3067
+ path: string;
3068
+ }
2954
3069
  /** A print this system never saw was found in the printer's own tally. */
2955
3070
  export interface UnaccountedPrintPayload {
2956
3071
  /** Whether it was charged against a spool. */
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.18.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.
@@ -498,6 +498,15 @@ export const SHAPES = JSON.parse(`
498
498
  "ref": "AgentAssessment"
499
499
  }
500
500
  },
501
+ "check_image": {
502
+ "paired_with": "",
503
+ "required": false,
504
+ "shape": {
505
+ "nullable": {
506
+ "ref": "TurnCheckImage"
507
+ }
508
+ }
509
+ },
501
510
  "session_name": {
502
511
  "paired_with": "",
503
512
  "required": true,
@@ -595,7 +604,7 @@ export const SHAPES = JSON.parse(`
595
604
  "required": false,
596
605
  "shape": {
597
606
  "nullable": {
598
- "ref": "SlicerPlan"
607
+ "ref": "AgentSlicerPlan"
599
608
  }
600
609
  }
601
610
  }
@@ -666,6 +675,58 @@ export const SHAPES = JSON.parse(`
666
675
  "variants": {}
667
676
  }
668
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
+ },
669
730
  "AgentPrint": {
670
731
  "struct": {
671
732
  "fields": {
@@ -724,6 +785,165 @@ export const SHAPES = JSON.parse(`
724
785
  "variants": {}
725
786
  }
726
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
+ },
727
947
  "AgentStopUnactedPayload": {
728
948
  "struct": {
729
949
  "fields": {
@@ -1210,6 +1430,16 @@ export const SHAPES = JSON.parse(`
1210
1430
  "scalar": "string"
1211
1431
  }
1212
1432
  },
1433
+ "landmarks": {
1434
+ "paired_with": "",
1435
+ "required": false,
1436
+ "shape": {
1437
+ "list": {
1438
+ "ref": "JudgedLandmark"
1439
+ },
1440
+ "non_empty": false
1441
+ }
1442
+ },
1213
1443
  "outcome": {
1214
1444
  "paired_with": "",
1215
1445
  "required": true,
@@ -1226,6 +1456,22 @@ export const SHAPES = JSON.parse(`
1226
1456
  }
1227
1457
  }
1228
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
+ },
1229
1475
  "view_correction": {
1230
1476
  "paired_with": "",
1231
1477
  "required": false,
@@ -2970,6 +3216,54 @@ export const SHAPES = JSON.parse(`
2970
3216
  "variants": {}
2971
3217
  }
2972
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
+ },
2973
3267
  "LastCheckImage": {
2974
3268
  "struct": {
2975
3269
  "fields": {
@@ -6694,165 +6988,6 @@ export const SHAPES = JSON.parse(`
6694
6988
  "variants": {}
6695
6989
  }
6696
6990
  },
6697
- "SlicerPlan": {
6698
- "struct": {
6699
- "fields": {
6700
- "at_odds": {
6701
- "paired_with": "",
6702
- "required": false,
6703
- "shape": {
6704
- "list": {
6705
- "ref": "PlanMismatch"
6706
- },
6707
- "non_empty": false
6708
- }
6709
- },
6710
- "change_waiting": {
6711
- "paired_with": "",
6712
- "required": false,
6713
- "shape": {
6714
- "nullable": {
6715
- "ref": "PlannedChange"
6716
- }
6717
- }
6718
- },
6719
- "expected_color": {
6720
- "paired_with": "",
6721
- "required": false,
6722
- "shape": {
6723
- "nullable": {
6724
- "scalar": "string"
6725
- }
6726
- }
6727
- },
6728
- "fan_percent": {
6729
- "paired_with": "",
6730
- "required": false,
6731
- "shape": {
6732
- "nullable": {
6733
- "ref": "SetValue"
6734
- }
6735
- }
6736
- },
6737
- "final_z_mm": {
6738
- "paired_with": "",
6739
- "required": false,
6740
- "shape": {
6741
- "nullable": {
6742
- "scalar": "number"
6743
- }
6744
- }
6745
- },
6746
- "flow_factor": {
6747
- "paired_with": "",
6748
- "required": false,
6749
- "shape": {
6750
- "nullable": {
6751
- "ref": "SetValue"
6752
- }
6753
- }
6754
- },
6755
- "layer": {
6756
- "paired_with": "",
6757
- "required": false,
6758
- "shape": {
6759
- "nullable": {
6760
- "scalar": "integer"
6761
- }
6762
- }
6763
- },
6764
- "minutes_left": {
6765
- "paired_with": "",
6766
- "required": false,
6767
- "shape": {
6768
- "nullable": {
6769
- "scalar": "integer"
6770
- }
6771
- }
6772
- },
6773
- "minutes_to_next_change": {
6774
- "paired_with": "",
6775
- "required": false,
6776
- "shape": {
6777
- "nullable": {
6778
- "scalar": "integer"
6779
- }
6780
- }
6781
- },
6782
- "next_change": {
6783
- "paired_with": "",
6784
- "required": false,
6785
- "shape": {
6786
- "nullable": {
6787
- "ref": "PlannedChange"
6788
- }
6789
- }
6790
- },
6791
- "object_count": {
6792
- "paired_with": "",
6793
- "required": false,
6794
- "shape": {
6795
- "nullable": {
6796
- "scalar": "integer"
6797
- }
6798
- }
6799
- },
6800
- "objects": {
6801
- "paired_with": "",
6802
- "required": false,
6803
- "shape": {
6804
- "list": {
6805
- "list": {
6806
- "scalar": "integer"
6807
- },
6808
- "non_empty": true
6809
- },
6810
- "non_empty": false
6811
- }
6812
- },
6813
- "rise": {
6814
- "paired_with": "",
6815
- "required": false,
6816
- "shape": {
6817
- "nullable": {
6818
- "ref": "Rise"
6819
- }
6820
- }
6821
- },
6822
- "types": {
6823
- "paired_with": "",
6824
- "required": false,
6825
- "shape": {
6826
- "list": {
6827
- "scalar": "string"
6828
- },
6829
- "non_empty": false
6830
- }
6831
- },
6832
- "unknown": {
6833
- "paired_with": "",
6834
- "required": false,
6835
- "shape": {
6836
- "list": {
6837
- "ref": "PlanFact"
6838
- },
6839
- "non_empty": false
6840
- }
6841
- },
6842
- "z_mm": {
6843
- "paired_with": "",
6844
- "required": false,
6845
- "shape": {
6846
- "nullable": {
6847
- "scalar": "number"
6848
- }
6849
- }
6850
- }
6851
- },
6852
- "tag_field": "",
6853
- "variants": {}
6854
- }
6855
- },
6856
6991
  "SpoolAdjustedPayload": {
6857
6992
  "struct": {
6858
6993
  "fields": {
@@ -8157,6 +8292,64 @@ export const SHAPES = JSON.parse(`
8157
8292
  "variants": {}
8158
8293
  }
8159
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
+ },
8160
8353
  "UnaccountedPrintPayload": {
8161
8354
  "struct": {
8162
8355
  "fields": {
package/package.json CHANGED
@@ -12,12 +12,12 @@
12
12
  "license": "MIT",
13
13
  "main": "dist/index.js",
14
14
  "name": "@printobserver/sdk",
15
- "printobserverContractVersion": "0.18.0",
15
+ "printobserverContractVersion": "0.20.0",
16
16
  "repository": {
17
17
  "type": "git",
18
18
  "url": "https://github.com/nickderobertis/printobserver"
19
19
  },
20
20
  "type": "module",
21
21
  "types": "dist/index.d.ts",
22
- "version": "0.18.0"
22
+ "version": "0.20.0"
23
23
  }