@printobserver/sdk 0.11.1 → 0.13.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.d.ts +357 -28
- package/dist/contract.js +1062 -223
- package/package.json +2 -2
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.
|
|
10
|
+
export const CONTRACT_VERSION = "0.13.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.
|
|
@@ -66,6 +66,7 @@ export const EVENT_KINDS = [
|
|
|
66
66
|
"filament_change_signalled",
|
|
67
67
|
"filament_consumed",
|
|
68
68
|
"file_tally_rebaselined",
|
|
69
|
+
"gcode_indexed",
|
|
69
70
|
"intervention_expired",
|
|
70
71
|
"malformed_external_event",
|
|
71
72
|
"obico_failure_alert",
|
|
@@ -193,6 +194,15 @@ export const SHAPES = JSON.parse(`
|
|
|
193
194
|
"ref": "ActionId"
|
|
194
195
|
}
|
|
195
196
|
},
|
|
197
|
+
"file_position_bytes": {
|
|
198
|
+
"paired_with": "",
|
|
199
|
+
"required": false,
|
|
200
|
+
"shape": {
|
|
201
|
+
"nullable": {
|
|
202
|
+
"scalar": "integer"
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
},
|
|
196
206
|
"intervention_id": {
|
|
197
207
|
"paired_with": "",
|
|
198
208
|
"required": false,
|
|
@@ -480,6 +490,213 @@ export const SHAPES = JSON.parse(`
|
|
|
480
490
|
"variants": {}
|
|
481
491
|
}
|
|
482
492
|
},
|
|
493
|
+
"AgentContext": {
|
|
494
|
+
"struct": {
|
|
495
|
+
"fields": {
|
|
496
|
+
"bounds": {
|
|
497
|
+
"paired_with": "",
|
|
498
|
+
"required": true,
|
|
499
|
+
"shape": {
|
|
500
|
+
"ref": "EffectiveBounds"
|
|
501
|
+
}
|
|
502
|
+
},
|
|
503
|
+
"interventions": {
|
|
504
|
+
"paired_with": "",
|
|
505
|
+
"required": true,
|
|
506
|
+
"shape": {
|
|
507
|
+
"list": {
|
|
508
|
+
"ref": "Intervention"
|
|
509
|
+
},
|
|
510
|
+
"non_empty": false
|
|
511
|
+
}
|
|
512
|
+
},
|
|
513
|
+
"job_error": {
|
|
514
|
+
"paired_with": "",
|
|
515
|
+
"required": false,
|
|
516
|
+
"shape": {
|
|
517
|
+
"nullable": {
|
|
518
|
+
"ref": "JobError"
|
|
519
|
+
}
|
|
520
|
+
}
|
|
521
|
+
},
|
|
522
|
+
"latest_image": {
|
|
523
|
+
"paired_with": "",
|
|
524
|
+
"required": false,
|
|
525
|
+
"shape": {
|
|
526
|
+
"nullable": {
|
|
527
|
+
"ref": "ImageRef"
|
|
528
|
+
}
|
|
529
|
+
}
|
|
530
|
+
},
|
|
531
|
+
"newest_event": {
|
|
532
|
+
"paired_with": "",
|
|
533
|
+
"required": false,
|
|
534
|
+
"shape": {
|
|
535
|
+
"nullable": {
|
|
536
|
+
"ref": "EventId"
|
|
537
|
+
}
|
|
538
|
+
}
|
|
539
|
+
},
|
|
540
|
+
"print": {
|
|
541
|
+
"paired_with": "",
|
|
542
|
+
"required": true,
|
|
543
|
+
"shape": {
|
|
544
|
+
"ref": "AgentPrint"
|
|
545
|
+
}
|
|
546
|
+
},
|
|
547
|
+
"printer": {
|
|
548
|
+
"paired_with": "",
|
|
549
|
+
"required": false,
|
|
550
|
+
"shape": {
|
|
551
|
+
"nullable": {
|
|
552
|
+
"ref": "AgentPrinter"
|
|
553
|
+
}
|
|
554
|
+
}
|
|
555
|
+
},
|
|
556
|
+
"recent_events": {
|
|
557
|
+
"paired_with": "",
|
|
558
|
+
"required": true,
|
|
559
|
+
"shape": {
|
|
560
|
+
"list": {
|
|
561
|
+
"ref": "AgentEvent"
|
|
562
|
+
},
|
|
563
|
+
"non_empty": false
|
|
564
|
+
}
|
|
565
|
+
},
|
|
566
|
+
"slicer": {
|
|
567
|
+
"paired_with": "",
|
|
568
|
+
"required": false,
|
|
569
|
+
"shape": {
|
|
570
|
+
"nullable": {
|
|
571
|
+
"ref": "SlicerPlan"
|
|
572
|
+
}
|
|
573
|
+
}
|
|
574
|
+
}
|
|
575
|
+
},
|
|
576
|
+
"tag_field": "",
|
|
577
|
+
"variants": {}
|
|
578
|
+
}
|
|
579
|
+
},
|
|
580
|
+
"AgentEvent": {
|
|
581
|
+
"struct": {
|
|
582
|
+
"fields": {
|
|
583
|
+
"id": {
|
|
584
|
+
"paired_with": "",
|
|
585
|
+
"required": true,
|
|
586
|
+
"shape": {
|
|
587
|
+
"ref": "EventId"
|
|
588
|
+
}
|
|
589
|
+
},
|
|
590
|
+
"kind": {
|
|
591
|
+
"paired_with": "",
|
|
592
|
+
"required": true,
|
|
593
|
+
"shape": {
|
|
594
|
+
"ref": "EventKind"
|
|
595
|
+
}
|
|
596
|
+
},
|
|
597
|
+
"payload": {
|
|
598
|
+
"paired_with": "",
|
|
599
|
+
"required": false,
|
|
600
|
+
"shape": {
|
|
601
|
+
"any": true
|
|
602
|
+
}
|
|
603
|
+
},
|
|
604
|
+
"received_at": {
|
|
605
|
+
"paired_with": "",
|
|
606
|
+
"required": true,
|
|
607
|
+
"shape": {
|
|
608
|
+
"ref": "Timestamp"
|
|
609
|
+
}
|
|
610
|
+
}
|
|
611
|
+
},
|
|
612
|
+
"tag_field": "",
|
|
613
|
+
"variants": {}
|
|
614
|
+
}
|
|
615
|
+
},
|
|
616
|
+
"AgentHeater": {
|
|
617
|
+
"struct": {
|
|
618
|
+
"fields": {
|
|
619
|
+
"actual_c": {
|
|
620
|
+
"paired_with": "",
|
|
621
|
+
"required": false,
|
|
622
|
+
"shape": {
|
|
623
|
+
"nullable": {
|
|
624
|
+
"scalar": "number"
|
|
625
|
+
}
|
|
626
|
+
}
|
|
627
|
+
},
|
|
628
|
+
"target_c": {
|
|
629
|
+
"paired_with": "",
|
|
630
|
+
"required": false,
|
|
631
|
+
"shape": {
|
|
632
|
+
"nullable": {
|
|
633
|
+
"scalar": "number"
|
|
634
|
+
}
|
|
635
|
+
}
|
|
636
|
+
}
|
|
637
|
+
},
|
|
638
|
+
"tag_field": "",
|
|
639
|
+
"variants": {}
|
|
640
|
+
}
|
|
641
|
+
},
|
|
642
|
+
"AgentPrint": {
|
|
643
|
+
"struct": {
|
|
644
|
+
"fields": {
|
|
645
|
+
"end_reason": {
|
|
646
|
+
"paired_with": "",
|
|
647
|
+
"required": false,
|
|
648
|
+
"shape": {
|
|
649
|
+
"nullable": {
|
|
650
|
+
"scalar": "string"
|
|
651
|
+
}
|
|
652
|
+
}
|
|
653
|
+
},
|
|
654
|
+
"id": {
|
|
655
|
+
"paired_with": "",
|
|
656
|
+
"required": true,
|
|
657
|
+
"shape": {
|
|
658
|
+
"ref": "PrintId"
|
|
659
|
+
}
|
|
660
|
+
},
|
|
661
|
+
"state": {
|
|
662
|
+
"paired_with": "",
|
|
663
|
+
"required": true,
|
|
664
|
+
"shape": {
|
|
665
|
+
"ref": "PrinterState"
|
|
666
|
+
}
|
|
667
|
+
}
|
|
668
|
+
},
|
|
669
|
+
"tag_field": "",
|
|
670
|
+
"variants": {}
|
|
671
|
+
}
|
|
672
|
+
},
|
|
673
|
+
"AgentPrinter": {
|
|
674
|
+
"struct": {
|
|
675
|
+
"fields": {
|
|
676
|
+
"bed": {
|
|
677
|
+
"paired_with": "",
|
|
678
|
+
"required": false,
|
|
679
|
+
"shape": {
|
|
680
|
+
"nullable": {
|
|
681
|
+
"ref": "AgentHeater"
|
|
682
|
+
}
|
|
683
|
+
}
|
|
684
|
+
},
|
|
685
|
+
"tools": {
|
|
686
|
+
"paired_with": "",
|
|
687
|
+
"required": false,
|
|
688
|
+
"shape": {
|
|
689
|
+
"list": {
|
|
690
|
+
"ref": "AgentHeater"
|
|
691
|
+
},
|
|
692
|
+
"non_empty": false
|
|
693
|
+
}
|
|
694
|
+
}
|
|
695
|
+
},
|
|
696
|
+
"tag_field": "",
|
|
697
|
+
"variants": {}
|
|
698
|
+
}
|
|
699
|
+
},
|
|
483
700
|
"BedTemperature": {
|
|
484
701
|
"struct": {
|
|
485
702
|
"fields": {
|
|
@@ -548,6 +765,15 @@ export const SHAPES = JSON.parse(`
|
|
|
548
765
|
"non_empty": false
|
|
549
766
|
}
|
|
550
767
|
},
|
|
768
|
+
"frame_captured_at": {
|
|
769
|
+
"paired_with": "",
|
|
770
|
+
"required": false,
|
|
771
|
+
"shape": {
|
|
772
|
+
"nullable": {
|
|
773
|
+
"ref": "Timestamp"
|
|
774
|
+
}
|
|
775
|
+
}
|
|
776
|
+
},
|
|
551
777
|
"waited_s": {
|
|
552
778
|
"paired_with": "",
|
|
553
779
|
"required": true,
|
|
@@ -787,7 +1013,7 @@ export const SHAPES = JSON.parse(`
|
|
|
787
1013
|
"paired_with": "",
|
|
788
1014
|
"required": true,
|
|
789
1015
|
"shape": {
|
|
790
|
-
"ref": "
|
|
1016
|
+
"ref": "AgentContext"
|
|
791
1017
|
}
|
|
792
1018
|
},
|
|
793
1019
|
"image_path": {
|
|
@@ -1325,6 +1551,35 @@ export const SHAPES = JSON.parse(`
|
|
|
1325
1551
|
"undecodable"
|
|
1326
1552
|
]
|
|
1327
1553
|
},
|
|
1554
|
+
"GcodeIndexedPayload": {
|
|
1555
|
+
"struct": {
|
|
1556
|
+
"fields": {
|
|
1557
|
+
"bytes": {
|
|
1558
|
+
"paired_with": "",
|
|
1559
|
+
"required": true,
|
|
1560
|
+
"shape": {
|
|
1561
|
+
"scalar": "integer"
|
|
1562
|
+
}
|
|
1563
|
+
},
|
|
1564
|
+
"file_name": {
|
|
1565
|
+
"paired_with": "",
|
|
1566
|
+
"required": true,
|
|
1567
|
+
"shape": {
|
|
1568
|
+
"ref": "FileName"
|
|
1569
|
+
}
|
|
1570
|
+
},
|
|
1571
|
+
"layers": {
|
|
1572
|
+
"paired_with": "",
|
|
1573
|
+
"required": true,
|
|
1574
|
+
"shape": {
|
|
1575
|
+
"scalar": "integer"
|
|
1576
|
+
}
|
|
1577
|
+
}
|
|
1578
|
+
},
|
|
1579
|
+
"tag_field": "",
|
|
1580
|
+
"variants": {}
|
|
1581
|
+
}
|
|
1582
|
+
},
|
|
1328
1583
|
"HeatedTool": {
|
|
1329
1584
|
"struct": {
|
|
1330
1585
|
"fields": {
|
|
@@ -1754,6 +2009,15 @@ export const SHAPES = JSON.parse(`
|
|
|
1754
2009
|
"scalar": "number"
|
|
1755
2010
|
}
|
|
1756
2011
|
},
|
|
2012
|
+
"sheet": {
|
|
2013
|
+
"paired_with": "",
|
|
2014
|
+
"required": false,
|
|
2015
|
+
"shape": {
|
|
2016
|
+
"nullable": {
|
|
2017
|
+
"scalar": "string"
|
|
2018
|
+
}
|
|
2019
|
+
}
|
|
2020
|
+
},
|
|
1757
2021
|
"slicer_profile": {
|
|
1758
2022
|
"paired_with": "",
|
|
1759
2023
|
"required": true,
|
|
@@ -2062,18 +2326,224 @@ export const SHAPES = JSON.parse(`
|
|
|
2062
2326
|
"variants": {}
|
|
2063
2327
|
}
|
|
2064
2328
|
},
|
|
2065
|
-
"
|
|
2066
|
-
"
|
|
2067
|
-
"
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2329
|
+
"MaterialName": {
|
|
2330
|
+
"alias": {
|
|
2331
|
+
"scalar": "string"
|
|
2332
|
+
}
|
|
2333
|
+
},
|
|
2334
|
+
"MaterialObjection": {
|
|
2335
|
+
"union": {
|
|
2336
|
+
"tag_field": "cause",
|
|
2337
|
+
"variants": {
|
|
2338
|
+
"mismatch": {
|
|
2339
|
+
"fields": {
|
|
2340
|
+
"loaded": {
|
|
2341
|
+
"paired_with": "",
|
|
2342
|
+
"required": true,
|
|
2343
|
+
"shape": {
|
|
2344
|
+
"ref": "MaterialName"
|
|
2345
|
+
}
|
|
2346
|
+
},
|
|
2347
|
+
"sliced_for": {
|
|
2348
|
+
"paired_with": "",
|
|
2349
|
+
"required": true,
|
|
2350
|
+
"shape": {
|
|
2351
|
+
"ref": "MaterialName"
|
|
2352
|
+
}
|
|
2353
|
+
},
|
|
2354
|
+
"spool": {
|
|
2355
|
+
"paired_with": "",
|
|
2356
|
+
"required": true,
|
|
2357
|
+
"shape": {
|
|
2358
|
+
"ref": "PreflightSpool"
|
|
2359
|
+
}
|
|
2360
|
+
},
|
|
2361
|
+
"tool": {
|
|
2362
|
+
"paired_with": "",
|
|
2363
|
+
"required": true,
|
|
2364
|
+
"shape": {
|
|
2365
|
+
"scalar": "integer"
|
|
2366
|
+
}
|
|
2367
|
+
}
|
|
2368
|
+
},
|
|
2369
|
+
"payload": null,
|
|
2370
|
+
"unit": false
|
|
2371
|
+
},
|
|
2372
|
+
"undeclared": {
|
|
2373
|
+
"fields": {
|
|
2374
|
+
"file_name": {
|
|
2375
|
+
"paired_with": "",
|
|
2376
|
+
"required": true,
|
|
2377
|
+
"shape": {
|
|
2378
|
+
"ref": "FileName"
|
|
2379
|
+
}
|
|
2380
|
+
},
|
|
2381
|
+
"loaded": {
|
|
2382
|
+
"paired_with": "",
|
|
2383
|
+
"required": true,
|
|
2384
|
+
"shape": {
|
|
2385
|
+
"ref": "MaterialName"
|
|
2386
|
+
}
|
|
2387
|
+
},
|
|
2388
|
+
"spool": {
|
|
2389
|
+
"paired_with": "",
|
|
2390
|
+
"required": true,
|
|
2391
|
+
"shape": {
|
|
2392
|
+
"ref": "PreflightSpool"
|
|
2393
|
+
}
|
|
2394
|
+
},
|
|
2395
|
+
"tool": {
|
|
2396
|
+
"paired_with": "",
|
|
2397
|
+
"required": true,
|
|
2398
|
+
"shape": {
|
|
2399
|
+
"scalar": "integer"
|
|
2400
|
+
}
|
|
2401
|
+
}
|
|
2402
|
+
},
|
|
2403
|
+
"payload": null,
|
|
2404
|
+
"unit": false
|
|
2405
|
+
},
|
|
2406
|
+
"unread": {
|
|
2407
|
+
"fields": {
|
|
2408
|
+
"detail": {
|
|
2409
|
+
"paired_with": "",
|
|
2410
|
+
"required": true,
|
|
2411
|
+
"shape": {
|
|
2412
|
+
"scalar": "string"
|
|
2413
|
+
}
|
|
2414
|
+
},
|
|
2415
|
+
"file_name": {
|
|
2416
|
+
"paired_with": "",
|
|
2417
|
+
"required": true,
|
|
2418
|
+
"shape": {
|
|
2419
|
+
"ref": "FileName"
|
|
2420
|
+
}
|
|
2421
|
+
},
|
|
2422
|
+
"loaded": {
|
|
2423
|
+
"paired_with": "",
|
|
2424
|
+
"required": true,
|
|
2425
|
+
"shape": {
|
|
2426
|
+
"ref": "MaterialName"
|
|
2427
|
+
}
|
|
2428
|
+
},
|
|
2429
|
+
"spool": {
|
|
2430
|
+
"paired_with": "",
|
|
2431
|
+
"required": true,
|
|
2432
|
+
"shape": {
|
|
2433
|
+
"ref": "PreflightSpool"
|
|
2434
|
+
}
|
|
2435
|
+
},
|
|
2436
|
+
"tool": {
|
|
2437
|
+
"paired_with": "",
|
|
2438
|
+
"required": true,
|
|
2439
|
+
"shape": {
|
|
2440
|
+
"scalar": "integer"
|
|
2441
|
+
}
|
|
2442
|
+
}
|
|
2443
|
+
},
|
|
2444
|
+
"payload": null,
|
|
2445
|
+
"unit": false
|
|
2446
|
+
}
|
|
2447
|
+
}
|
|
2448
|
+
}
|
|
2449
|
+
},
|
|
2450
|
+
"MaterialResult": {
|
|
2451
|
+
"union": {
|
|
2452
|
+
"tag_field": "verdict",
|
|
2453
|
+
"variants": {
|
|
2454
|
+
"overridden": {
|
|
2455
|
+
"fields": {
|
|
2456
|
+
"objection": {
|
|
2457
|
+
"paired_with": "",
|
|
2458
|
+
"required": true,
|
|
2459
|
+
"shape": {
|
|
2460
|
+
"ref": "MaterialObjection"
|
|
2461
|
+
}
|
|
2462
|
+
}
|
|
2463
|
+
},
|
|
2464
|
+
"payload": null,
|
|
2465
|
+
"unit": false
|
|
2466
|
+
},
|
|
2467
|
+
"passed": {
|
|
2468
|
+
"fields": {
|
|
2469
|
+
"loaded": {
|
|
2470
|
+
"paired_with": "",
|
|
2471
|
+
"required": true,
|
|
2472
|
+
"shape": {
|
|
2473
|
+
"ref": "MaterialName"
|
|
2474
|
+
}
|
|
2475
|
+
},
|
|
2476
|
+
"sliced_for": {
|
|
2477
|
+
"paired_with": "",
|
|
2478
|
+
"required": true,
|
|
2479
|
+
"shape": {
|
|
2480
|
+
"ref": "MaterialName"
|
|
2481
|
+
}
|
|
2482
|
+
},
|
|
2483
|
+
"spool": {
|
|
2484
|
+
"paired_with": "",
|
|
2485
|
+
"required": true,
|
|
2486
|
+
"shape": {
|
|
2487
|
+
"ref": "PreflightSpool"
|
|
2488
|
+
}
|
|
2489
|
+
},
|
|
2490
|
+
"tool": {
|
|
2491
|
+
"paired_with": "",
|
|
2492
|
+
"required": true,
|
|
2493
|
+
"shape": {
|
|
2494
|
+
"scalar": "integer"
|
|
2495
|
+
}
|
|
2496
|
+
}
|
|
2497
|
+
},
|
|
2498
|
+
"payload": null,
|
|
2499
|
+
"unit": false
|
|
2500
|
+
},
|
|
2501
|
+
"refused": {
|
|
2502
|
+
"fields": {
|
|
2503
|
+
"objection": {
|
|
2504
|
+
"paired_with": "",
|
|
2505
|
+
"required": true,
|
|
2506
|
+
"shape": {
|
|
2507
|
+
"ref": "MaterialObjection"
|
|
2508
|
+
}
|
|
2509
|
+
}
|
|
2510
|
+
},
|
|
2511
|
+
"payload": null,
|
|
2512
|
+
"unit": false
|
|
2513
|
+
},
|
|
2514
|
+
"unchecked": {
|
|
2515
|
+
"fields": {},
|
|
2516
|
+
"payload": null,
|
|
2517
|
+
"unit": true
|
|
2518
|
+
},
|
|
2519
|
+
"warned": {
|
|
2520
|
+
"fields": {
|
|
2521
|
+
"objection": {
|
|
2522
|
+
"paired_with": "",
|
|
2523
|
+
"required": true,
|
|
2524
|
+
"shape": {
|
|
2525
|
+
"ref": "MaterialObjection"
|
|
2526
|
+
}
|
|
2527
|
+
}
|
|
2528
|
+
},
|
|
2529
|
+
"payload": null,
|
|
2530
|
+
"unit": false
|
|
2531
|
+
}
|
|
2532
|
+
}
|
|
2533
|
+
}
|
|
2534
|
+
},
|
|
2535
|
+
"ObicoFailureAlertPayload": {
|
|
2536
|
+
"struct": {
|
|
2537
|
+
"fields": {
|
|
2538
|
+
"ended_at": {
|
|
2539
|
+
"paired_with": "",
|
|
2540
|
+
"required": false,
|
|
2541
|
+
"shape": {
|
|
2542
|
+
"nullable": {
|
|
2543
|
+
"ref": "Timestamp"
|
|
2544
|
+
}
|
|
2545
|
+
}
|
|
2546
|
+
},
|
|
2077
2547
|
"file_name": {
|
|
2078
2548
|
"paired_with": "",
|
|
2079
2549
|
"required": false,
|
|
@@ -2315,6 +2785,15 @@ export const SHAPES = JSON.parse(`
|
|
|
2315
2785
|
"PeriodicObservationPayload": {
|
|
2316
2786
|
"struct": {
|
|
2317
2787
|
"fields": {
|
|
2788
|
+
"frame_captured_at": {
|
|
2789
|
+
"paired_with": "",
|
|
2790
|
+
"required": false,
|
|
2791
|
+
"shape": {
|
|
2792
|
+
"nullable": {
|
|
2793
|
+
"ref": "Timestamp"
|
|
2794
|
+
}
|
|
2795
|
+
}
|
|
2796
|
+
},
|
|
2318
2797
|
"interval_s": {
|
|
2319
2798
|
"paired_with": "",
|
|
2320
2799
|
"required": true,
|
|
@@ -2345,6 +2824,24 @@ export const SHAPES = JSON.parse(`
|
|
|
2345
2824
|
"variants": {}
|
|
2346
2825
|
}
|
|
2347
2826
|
},
|
|
2827
|
+
"PlanFact": {
|
|
2828
|
+
"enum": [
|
|
2829
|
+
"layer",
|
|
2830
|
+
"final_z",
|
|
2831
|
+
"types",
|
|
2832
|
+
"minutes_left",
|
|
2833
|
+
"flow_factor",
|
|
2834
|
+
"fan_percent",
|
|
2835
|
+
"objects",
|
|
2836
|
+
"rise"
|
|
2837
|
+
]
|
|
2838
|
+
},
|
|
2839
|
+
"PlanMismatch": {
|
|
2840
|
+
"enum": [
|
|
2841
|
+
"fan_off_over_bridges",
|
|
2842
|
+
"flow_low_over_walls"
|
|
2843
|
+
]
|
|
2844
|
+
},
|
|
2348
2845
|
"PolicyDecision": {
|
|
2349
2846
|
"union": {
|
|
2350
2847
|
"tag_field": "",
|
|
@@ -2426,6 +2923,24 @@ export const SHAPES = JSON.parse(`
|
|
|
2426
2923
|
"scalar": "string"
|
|
2427
2924
|
}
|
|
2428
2925
|
},
|
|
2926
|
+
"material": {
|
|
2927
|
+
"paired_with": "",
|
|
2928
|
+
"required": false,
|
|
2929
|
+
"shape": {
|
|
2930
|
+
"nullable": {
|
|
2931
|
+
"ref": "MaterialResult"
|
|
2932
|
+
}
|
|
2933
|
+
}
|
|
2934
|
+
},
|
|
2935
|
+
"sheet": {
|
|
2936
|
+
"paired_with": "",
|
|
2937
|
+
"required": false,
|
|
2938
|
+
"shape": {
|
|
2939
|
+
"nullable": {
|
|
2940
|
+
"ref": "SheetResult"
|
|
2941
|
+
}
|
|
2942
|
+
}
|
|
2943
|
+
},
|
|
2429
2944
|
"tools": {
|
|
2430
2945
|
"paired_with": "",
|
|
2431
2946
|
"required": true,
|
|
@@ -3170,6 +3685,20 @@ export const SHAPES = JSON.parse(`
|
|
|
3170
3685
|
"scalar": "boolean"
|
|
3171
3686
|
}
|
|
3172
3687
|
},
|
|
3688
|
+
"override_material_check": {
|
|
3689
|
+
"paired_with": "",
|
|
3690
|
+
"required": false,
|
|
3691
|
+
"shape": {
|
|
3692
|
+
"scalar": "boolean"
|
|
3693
|
+
}
|
|
3694
|
+
},
|
|
3695
|
+
"override_sheet_check": {
|
|
3696
|
+
"paired_with": "",
|
|
3697
|
+
"required": false,
|
|
3698
|
+
"shape": {
|
|
3699
|
+
"scalar": "boolean"
|
|
3700
|
+
}
|
|
3701
|
+
},
|
|
3173
3702
|
"reason": {
|
|
3174
3703
|
"paired_with": "",
|
|
3175
3704
|
"required": true,
|
|
@@ -3184,113 +3713,28 @@ export const SHAPES = JSON.parse(`
|
|
|
3184
3713
|
}
|
|
3185
3714
|
}
|
|
3186
3715
|
},
|
|
3187
|
-
"
|
|
3716
|
+
"PrintEnded": {
|
|
3188
3717
|
"struct": {
|
|
3189
3718
|
"fields": {
|
|
3190
|
-
"
|
|
3719
|
+
"event_id": {
|
|
3191
3720
|
"paired_with": "",
|
|
3192
3721
|
"required": true,
|
|
3193
3722
|
"shape": {
|
|
3194
|
-
"ref": "
|
|
3723
|
+
"ref": "EventId"
|
|
3195
3724
|
}
|
|
3196
3725
|
},
|
|
3197
|
-
"
|
|
3726
|
+
"outcome": {
|
|
3198
3727
|
"paired_with": "",
|
|
3199
|
-
"required":
|
|
3728
|
+
"required": true,
|
|
3200
3729
|
"shape": {
|
|
3201
|
-
"ref": "
|
|
3730
|
+
"ref": "PrintOutcome"
|
|
3202
3731
|
}
|
|
3203
3732
|
},
|
|
3204
|
-
"
|
|
3733
|
+
"received_at": {
|
|
3205
3734
|
"paired_with": "",
|
|
3206
3735
|
"required": true,
|
|
3207
3736
|
"shape": {
|
|
3208
|
-
"
|
|
3209
|
-
"ref": "Intervention"
|
|
3210
|
-
},
|
|
3211
|
-
"non_empty": false
|
|
3212
|
-
}
|
|
3213
|
-
},
|
|
3214
|
-
"job": {
|
|
3215
|
-
"paired_with": "",
|
|
3216
|
-
"required": false,
|
|
3217
|
-
"shape": {
|
|
3218
|
-
"nullable": {
|
|
3219
|
-
"ref": "JobSnapshot"
|
|
3220
|
-
}
|
|
3221
|
-
}
|
|
3222
|
-
},
|
|
3223
|
-
"latest_image": {
|
|
3224
|
-
"paired_with": "",
|
|
3225
|
-
"required": false,
|
|
3226
|
-
"shape": {
|
|
3227
|
-
"nullable": {
|
|
3228
|
-
"ref": "ImageRef"
|
|
3229
|
-
}
|
|
3230
|
-
}
|
|
3231
|
-
},
|
|
3232
|
-
"manifest": {
|
|
3233
|
-
"paired_with": "",
|
|
3234
|
-
"required": false,
|
|
3235
|
-
"shape": {
|
|
3236
|
-
"nullable": {
|
|
3237
|
-
"ref": "JobManifest"
|
|
3238
|
-
}
|
|
3239
|
-
}
|
|
3240
|
-
},
|
|
3241
|
-
"print": {
|
|
3242
|
-
"paired_with": "",
|
|
3243
|
-
"required": true,
|
|
3244
|
-
"shape": {
|
|
3245
|
-
"ref": "PrintRecord"
|
|
3246
|
-
}
|
|
3247
|
-
},
|
|
3248
|
-
"printer": {
|
|
3249
|
-
"paired_with": "",
|
|
3250
|
-
"required": false,
|
|
3251
|
-
"shape": {
|
|
3252
|
-
"nullable": {
|
|
3253
|
-
"ref": "PrinterSnapshot"
|
|
3254
|
-
}
|
|
3255
|
-
}
|
|
3256
|
-
},
|
|
3257
|
-
"recent_events": {
|
|
3258
|
-
"paired_with": "",
|
|
3259
|
-
"required": true,
|
|
3260
|
-
"shape": {
|
|
3261
|
-
"list": {
|
|
3262
|
-
"ref": "EventRecord"
|
|
3263
|
-
},
|
|
3264
|
-
"non_empty": false
|
|
3265
|
-
}
|
|
3266
|
-
}
|
|
3267
|
-
},
|
|
3268
|
-
"tag_field": "",
|
|
3269
|
-
"variants": {}
|
|
3270
|
-
}
|
|
3271
|
-
},
|
|
3272
|
-
"PrintEnded": {
|
|
3273
|
-
"struct": {
|
|
3274
|
-
"fields": {
|
|
3275
|
-
"event_id": {
|
|
3276
|
-
"paired_with": "",
|
|
3277
|
-
"required": true,
|
|
3278
|
-
"shape": {
|
|
3279
|
-
"ref": "EventId"
|
|
3280
|
-
}
|
|
3281
|
-
},
|
|
3282
|
-
"outcome": {
|
|
3283
|
-
"paired_with": "",
|
|
3284
|
-
"required": true,
|
|
3285
|
-
"shape": {
|
|
3286
|
-
"ref": "PrintOutcome"
|
|
3287
|
-
}
|
|
3288
|
-
},
|
|
3289
|
-
"received_at": {
|
|
3290
|
-
"paired_with": "",
|
|
3291
|
-
"required": true,
|
|
3292
|
-
"shape": {
|
|
3293
|
-
"ref": "Timestamp"
|
|
3737
|
+
"ref": "Timestamp"
|
|
3294
3738
|
}
|
|
3295
3739
|
}
|
|
3296
3740
|
},
|
|
@@ -4395,199 +4839,481 @@ export const SHAPES = JSON.parse(`
|
|
|
4395
4839
|
"paired_with": "",
|
|
4396
4840
|
"required": true,
|
|
4397
4841
|
"shape": {
|
|
4398
|
-
"scalar": "string"
|
|
4842
|
+
"scalar": "string"
|
|
4843
|
+
}
|
|
4844
|
+
},
|
|
4845
|
+
"tool": {
|
|
4846
|
+
"paired_with": "",
|
|
4847
|
+
"required": true,
|
|
4848
|
+
"shape": {
|
|
4849
|
+
"scalar": "integer"
|
|
4850
|
+
}
|
|
4851
|
+
},
|
|
4852
|
+
"unverified": {
|
|
4853
|
+
"paired_with": "",
|
|
4854
|
+
"required": false,
|
|
4855
|
+
"shape": {
|
|
4856
|
+
"nullable": {
|
|
4857
|
+
"ref": "UnverifiedReason"
|
|
4858
|
+
}
|
|
4859
|
+
}
|
|
4860
|
+
}
|
|
4861
|
+
},
|
|
4862
|
+
"payload": null,
|
|
4863
|
+
"unit": false
|
|
4864
|
+
},
|
|
4865
|
+
"intervention_still_active": {
|
|
4866
|
+
"fields": {
|
|
4867
|
+
"intervention_id": {
|
|
4868
|
+
"paired_with": "",
|
|
4869
|
+
"required": true,
|
|
4870
|
+
"shape": {
|
|
4871
|
+
"ref": "InterventionId"
|
|
4872
|
+
}
|
|
4873
|
+
}
|
|
4874
|
+
},
|
|
4875
|
+
"payload": null,
|
|
4876
|
+
"unit": false
|
|
4877
|
+
},
|
|
4878
|
+
"invalid_from_state": {
|
|
4879
|
+
"fields": {
|
|
4880
|
+
"state": {
|
|
4881
|
+
"paired_with": "",
|
|
4882
|
+
"required": true,
|
|
4883
|
+
"shape": {
|
|
4884
|
+
"ref": "PrinterState"
|
|
4885
|
+
}
|
|
4886
|
+
}
|
|
4887
|
+
},
|
|
4888
|
+
"payload": null,
|
|
4889
|
+
"unit": false
|
|
4890
|
+
},
|
|
4891
|
+
"material_refused": {
|
|
4892
|
+
"fields": {
|
|
4893
|
+
"objection": {
|
|
4894
|
+
"paired_with": "",
|
|
4895
|
+
"required": true,
|
|
4896
|
+
"shape": {
|
|
4897
|
+
"ref": "MaterialObjection"
|
|
4898
|
+
}
|
|
4899
|
+
}
|
|
4900
|
+
},
|
|
4901
|
+
"payload": null,
|
|
4902
|
+
"unit": false
|
|
4903
|
+
},
|
|
4904
|
+
"min_interval_not_elapsed": {
|
|
4905
|
+
"fields": {
|
|
4906
|
+
"interval_s": {
|
|
4907
|
+
"paired_with": "",
|
|
4908
|
+
"required": true,
|
|
4909
|
+
"shape": {
|
|
4910
|
+
"scalar": "integer"
|
|
4911
|
+
}
|
|
4912
|
+
},
|
|
4913
|
+
"since_last_s": {
|
|
4914
|
+
"paired_with": "",
|
|
4915
|
+
"required": true,
|
|
4916
|
+
"shape": {
|
|
4917
|
+
"scalar": "integer"
|
|
4918
|
+
}
|
|
4919
|
+
}
|
|
4920
|
+
},
|
|
4921
|
+
"payload": null,
|
|
4922
|
+
"unit": false
|
|
4923
|
+
},
|
|
4924
|
+
"no_active_print": {
|
|
4925
|
+
"fields": {},
|
|
4926
|
+
"payload": null,
|
|
4927
|
+
"unit": true
|
|
4928
|
+
},
|
|
4929
|
+
"out_of_bounds": {
|
|
4930
|
+
"fields": {
|
|
4931
|
+
"adjustable": {
|
|
4932
|
+
"paired_with": "",
|
|
4933
|
+
"required": true,
|
|
4934
|
+
"shape": {
|
|
4935
|
+
"ref": "Adjustable"
|
|
4936
|
+
}
|
|
4937
|
+
},
|
|
4938
|
+
"allowed": {
|
|
4939
|
+
"paired_with": "",
|
|
4940
|
+
"required": true,
|
|
4941
|
+
"shape": {
|
|
4942
|
+
"ref": "Range"
|
|
4943
|
+
}
|
|
4944
|
+
},
|
|
4945
|
+
"requested": {
|
|
4946
|
+
"paired_with": "",
|
|
4947
|
+
"required": true,
|
|
4948
|
+
"shape": {
|
|
4949
|
+
"scalar": "number"
|
|
4950
|
+
}
|
|
4951
|
+
}
|
|
4952
|
+
},
|
|
4953
|
+
"payload": null,
|
|
4954
|
+
"unit": false
|
|
4955
|
+
},
|
|
4956
|
+
"print_already_ended": {
|
|
4957
|
+
"fields": {},
|
|
4958
|
+
"payload": null,
|
|
4959
|
+
"unit": true
|
|
4960
|
+
},
|
|
4961
|
+
"print_not_resumable": {
|
|
4962
|
+
"fields": {
|
|
4963
|
+
"recovery_event_id": {
|
|
4964
|
+
"paired_with": "",
|
|
4965
|
+
"required": true,
|
|
4966
|
+
"shape": {
|
|
4967
|
+
"ref": "EventId"
|
|
4968
|
+
}
|
|
4969
|
+
}
|
|
4970
|
+
},
|
|
4971
|
+
"payload": null,
|
|
4972
|
+
"unit": false
|
|
4973
|
+
},
|
|
4974
|
+
"print_still_active": {
|
|
4975
|
+
"fields": {
|
|
4976
|
+
"state": {
|
|
4977
|
+
"paired_with": "",
|
|
4978
|
+
"required": true,
|
|
4979
|
+
"shape": {
|
|
4980
|
+
"ref": "PrinterState"
|
|
4981
|
+
}
|
|
4982
|
+
}
|
|
4983
|
+
},
|
|
4984
|
+
"payload": null,
|
|
4985
|
+
"unit": false
|
|
4986
|
+
},
|
|
4987
|
+
"sheet_not_declared": {
|
|
4988
|
+
"fields": {},
|
|
4989
|
+
"payload": null,
|
|
4990
|
+
"unit": true
|
|
4991
|
+
},
|
|
4992
|
+
"sheet_refused": {
|
|
4993
|
+
"fields": {
|
|
4994
|
+
"objection": {
|
|
4995
|
+
"paired_with": "",
|
|
4996
|
+
"required": true,
|
|
4997
|
+
"shape": {
|
|
4998
|
+
"ref": "SheetObjection"
|
|
4999
|
+
}
|
|
5000
|
+
}
|
|
5001
|
+
},
|
|
5002
|
+
"payload": null,
|
|
5003
|
+
"unit": false
|
|
5004
|
+
},
|
|
5005
|
+
"spool_refused": {
|
|
5006
|
+
"fields": {
|
|
5007
|
+
"cause": {
|
|
5008
|
+
"paired_with": "",
|
|
5009
|
+
"required": true,
|
|
5010
|
+
"shape": {
|
|
5011
|
+
"ref": "SpoolRefusalCause"
|
|
5012
|
+
}
|
|
5013
|
+
},
|
|
5014
|
+
"message": {
|
|
5015
|
+
"paired_with": "",
|
|
5016
|
+
"required": true,
|
|
5017
|
+
"shape": {
|
|
5018
|
+
"scalar": "string"
|
|
5019
|
+
}
|
|
5020
|
+
}
|
|
5021
|
+
},
|
|
5022
|
+
"payload": null,
|
|
5023
|
+
"unit": false
|
|
5024
|
+
},
|
|
5025
|
+
"unsupported_adjustable": {
|
|
5026
|
+
"fields": {
|
|
5027
|
+
"adjustable": {
|
|
5028
|
+
"paired_with": "",
|
|
5029
|
+
"required": true,
|
|
5030
|
+
"shape": {
|
|
5031
|
+
"ref": "Adjustable"
|
|
5032
|
+
}
|
|
5033
|
+
}
|
|
5034
|
+
},
|
|
5035
|
+
"payload": null,
|
|
5036
|
+
"unit": false
|
|
5037
|
+
},
|
|
5038
|
+
"unverified_spool": {
|
|
5039
|
+
"fields": {
|
|
5040
|
+
"reason": {
|
|
5041
|
+
"paired_with": "",
|
|
5042
|
+
"required": true,
|
|
5043
|
+
"shape": {
|
|
5044
|
+
"ref": "UnverifiedReason"
|
|
5045
|
+
}
|
|
5046
|
+
},
|
|
5047
|
+
"spool_id": {
|
|
5048
|
+
"paired_with": "",
|
|
5049
|
+
"required": true,
|
|
5050
|
+
"shape": {
|
|
5051
|
+
"ref": "SpoolId"
|
|
5052
|
+
}
|
|
5053
|
+
},
|
|
5054
|
+
"spool_name": {
|
|
5055
|
+
"paired_with": "",
|
|
5056
|
+
"required": true,
|
|
5057
|
+
"shape": {
|
|
5058
|
+
"scalar": "string"
|
|
5059
|
+
}
|
|
5060
|
+
},
|
|
5061
|
+
"tool": {
|
|
5062
|
+
"paired_with": "",
|
|
5063
|
+
"required": true,
|
|
5064
|
+
"shape": {
|
|
5065
|
+
"scalar": "integer"
|
|
5066
|
+
}
|
|
5067
|
+
}
|
|
5068
|
+
},
|
|
5069
|
+
"payload": null,
|
|
5070
|
+
"unit": false
|
|
5071
|
+
}
|
|
5072
|
+
}
|
|
5073
|
+
}
|
|
5074
|
+
},
|
|
5075
|
+
"Reported": {
|
|
5076
|
+
"struct": {
|
|
5077
|
+
"fields": {
|
|
5078
|
+
"out_of_range": {
|
|
5079
|
+
"paired_with": "",
|
|
5080
|
+
"required": true,
|
|
5081
|
+
"shape": {
|
|
5082
|
+
"scalar": "boolean"
|
|
5083
|
+
}
|
|
5084
|
+
},
|
|
5085
|
+
"value": {
|
|
5086
|
+
"paired_with": "",
|
|
5087
|
+
"required": true,
|
|
5088
|
+
"shape": {
|
|
5089
|
+
"scalar": "number"
|
|
5090
|
+
}
|
|
5091
|
+
}
|
|
5092
|
+
},
|
|
5093
|
+
"tag_field": "",
|
|
5094
|
+
"variants": {}
|
|
5095
|
+
}
|
|
5096
|
+
},
|
|
5097
|
+
"Rise": {
|
|
5098
|
+
"struct": {
|
|
5099
|
+
"fields": {
|
|
5100
|
+
"mm": {
|
|
5101
|
+
"paired_with": "",
|
|
5102
|
+
"required": true,
|
|
5103
|
+
"shape": {
|
|
5104
|
+
"list": {
|
|
5105
|
+
"scalar": "number"
|
|
5106
|
+
},
|
|
5107
|
+
"non_empty": true
|
|
5108
|
+
}
|
|
5109
|
+
},
|
|
5110
|
+
"since": {
|
|
5111
|
+
"paired_with": "",
|
|
5112
|
+
"required": true,
|
|
5113
|
+
"shape": {
|
|
5114
|
+
"ref": "Timestamp"
|
|
5115
|
+
}
|
|
5116
|
+
}
|
|
5117
|
+
},
|
|
5118
|
+
"tag_field": "",
|
|
5119
|
+
"variants": {}
|
|
5120
|
+
}
|
|
5121
|
+
},
|
|
5122
|
+
"SetValue": {
|
|
5123
|
+
"struct": {
|
|
5124
|
+
"fields": {
|
|
5125
|
+
"changed": {
|
|
5126
|
+
"paired_with": "",
|
|
5127
|
+
"required": false,
|
|
5128
|
+
"shape": {
|
|
5129
|
+
"nullable": {
|
|
5130
|
+
"scalar": "number"
|
|
5131
|
+
}
|
|
5132
|
+
}
|
|
5133
|
+
},
|
|
5134
|
+
"file": {
|
|
5135
|
+
"paired_with": "",
|
|
5136
|
+
"required": false,
|
|
5137
|
+
"shape": {
|
|
5138
|
+
"nullable": {
|
|
5139
|
+
"scalar": "number"
|
|
5140
|
+
}
|
|
5141
|
+
}
|
|
5142
|
+
}
|
|
5143
|
+
},
|
|
5144
|
+
"tag_field": "",
|
|
5145
|
+
"variants": {}
|
|
5146
|
+
}
|
|
5147
|
+
},
|
|
5148
|
+
"SheetId": {
|
|
5149
|
+
"alias": {
|
|
5150
|
+
"scalar": "string"
|
|
5151
|
+
}
|
|
5152
|
+
},
|
|
5153
|
+
"SheetObjection": {
|
|
5154
|
+
"union": {
|
|
5155
|
+
"tag_field": "cause",
|
|
5156
|
+
"variants": {
|
|
5157
|
+
"not_allowed": {
|
|
5158
|
+
"fields": {
|
|
5159
|
+
"allowed": {
|
|
5160
|
+
"paired_with": "",
|
|
5161
|
+
"required": true,
|
|
5162
|
+
"shape": {
|
|
5163
|
+
"list": {
|
|
5164
|
+
"ref": "SheetId"
|
|
5165
|
+
},
|
|
5166
|
+
"non_empty": false
|
|
4399
5167
|
}
|
|
4400
5168
|
},
|
|
4401
|
-
"
|
|
5169
|
+
"material": {
|
|
4402
5170
|
"paired_with": "",
|
|
4403
5171
|
"required": true,
|
|
4404
5172
|
"shape": {
|
|
4405
|
-
"
|
|
5173
|
+
"ref": "MaterialName"
|
|
4406
5174
|
}
|
|
4407
5175
|
},
|
|
4408
|
-
"
|
|
4409
|
-
"paired_with": "",
|
|
4410
|
-
"required": false,
|
|
4411
|
-
"shape": {
|
|
4412
|
-
"nullable": {
|
|
4413
|
-
"ref": "UnverifiedReason"
|
|
4414
|
-
}
|
|
4415
|
-
}
|
|
4416
|
-
}
|
|
4417
|
-
},
|
|
4418
|
-
"payload": null,
|
|
4419
|
-
"unit": false
|
|
4420
|
-
},
|
|
4421
|
-
"intervention_still_active": {
|
|
4422
|
-
"fields": {
|
|
4423
|
-
"intervention_id": {
|
|
5176
|
+
"sheet": {
|
|
4424
5177
|
"paired_with": "",
|
|
4425
5178
|
"required": true,
|
|
4426
5179
|
"shape": {
|
|
4427
|
-
"ref": "
|
|
5180
|
+
"ref": "SheetId"
|
|
4428
5181
|
}
|
|
4429
5182
|
}
|
|
4430
5183
|
},
|
|
4431
5184
|
"payload": null,
|
|
4432
5185
|
"unit": false
|
|
4433
5186
|
},
|
|
4434
|
-
"
|
|
5187
|
+
"unknown_sheet": {
|
|
4435
5188
|
"fields": {
|
|
4436
|
-
"
|
|
5189
|
+
"known": {
|
|
4437
5190
|
"paired_with": "",
|
|
4438
5191
|
"required": true,
|
|
4439
5192
|
"shape": {
|
|
4440
|
-
"
|
|
5193
|
+
"list": {
|
|
5194
|
+
"ref": "SheetId"
|
|
5195
|
+
},
|
|
5196
|
+
"non_empty": false
|
|
4441
5197
|
}
|
|
4442
|
-
}
|
|
4443
|
-
|
|
4444
|
-
"payload": null,
|
|
4445
|
-
"unit": false
|
|
4446
|
-
},
|
|
4447
|
-
"min_interval_not_elapsed": {
|
|
4448
|
-
"fields": {
|
|
4449
|
-
"interval_s": {
|
|
5198
|
+
},
|
|
5199
|
+
"material": {
|
|
4450
5200
|
"paired_with": "",
|
|
4451
5201
|
"required": true,
|
|
4452
5202
|
"shape": {
|
|
4453
|
-
"
|
|
5203
|
+
"ref": "MaterialName"
|
|
4454
5204
|
}
|
|
4455
5205
|
},
|
|
4456
|
-
"
|
|
5206
|
+
"sheet": {
|
|
4457
5207
|
"paired_with": "",
|
|
4458
5208
|
"required": true,
|
|
4459
5209
|
"shape": {
|
|
4460
|
-
"
|
|
5210
|
+
"ref": "SheetId"
|
|
4461
5211
|
}
|
|
4462
5212
|
}
|
|
4463
5213
|
},
|
|
4464
5214
|
"payload": null,
|
|
4465
5215
|
"unit": false
|
|
4466
5216
|
},
|
|
4467
|
-
"
|
|
4468
|
-
"fields": {},
|
|
4469
|
-
"payload": null,
|
|
4470
|
-
"unit": true
|
|
4471
|
-
},
|
|
4472
|
-
"out_of_bounds": {
|
|
5217
|
+
"unlisted_material": {
|
|
4473
5218
|
"fields": {
|
|
4474
|
-
"
|
|
4475
|
-
"paired_with": "",
|
|
4476
|
-
"required": true,
|
|
4477
|
-
"shape": {
|
|
4478
|
-
"ref": "Adjustable"
|
|
4479
|
-
}
|
|
4480
|
-
},
|
|
4481
|
-
"allowed": {
|
|
5219
|
+
"material": {
|
|
4482
5220
|
"paired_with": "",
|
|
4483
5221
|
"required": true,
|
|
4484
5222
|
"shape": {
|
|
4485
|
-
"ref": "
|
|
5223
|
+
"ref": "MaterialName"
|
|
4486
5224
|
}
|
|
4487
5225
|
},
|
|
4488
|
-
"
|
|
5226
|
+
"sheet": {
|
|
4489
5227
|
"paired_with": "",
|
|
4490
5228
|
"required": true,
|
|
4491
5229
|
"shape": {
|
|
4492
|
-
"
|
|
5230
|
+
"ref": "SheetId"
|
|
4493
5231
|
}
|
|
4494
5232
|
}
|
|
4495
5233
|
},
|
|
4496
5234
|
"payload": null,
|
|
4497
5235
|
"unit": false
|
|
4498
|
-
}
|
|
4499
|
-
|
|
4500
|
-
|
|
4501
|
-
|
|
4502
|
-
|
|
4503
|
-
|
|
4504
|
-
|
|
5236
|
+
}
|
|
5237
|
+
}
|
|
5238
|
+
}
|
|
5239
|
+
},
|
|
5240
|
+
"SheetResult": {
|
|
5241
|
+
"union": {
|
|
5242
|
+
"tag_field": "verdict",
|
|
5243
|
+
"variants": {
|
|
5244
|
+
"overridden": {
|
|
4505
5245
|
"fields": {
|
|
4506
|
-
"
|
|
5246
|
+
"objection": {
|
|
4507
5247
|
"paired_with": "",
|
|
4508
5248
|
"required": true,
|
|
4509
5249
|
"shape": {
|
|
4510
|
-
"ref": "
|
|
5250
|
+
"ref": "SheetObjection"
|
|
4511
5251
|
}
|
|
4512
5252
|
}
|
|
4513
5253
|
},
|
|
4514
5254
|
"payload": null,
|
|
4515
5255
|
"unit": false
|
|
4516
5256
|
},
|
|
4517
|
-
"
|
|
5257
|
+
"passed": {
|
|
4518
5258
|
"fields": {
|
|
4519
|
-
"
|
|
5259
|
+
"allowed": {
|
|
4520
5260
|
"paired_with": "",
|
|
4521
5261
|
"required": true,
|
|
4522
5262
|
"shape": {
|
|
4523
|
-
"
|
|
5263
|
+
"list": {
|
|
5264
|
+
"ref": "SheetId"
|
|
5265
|
+
},
|
|
5266
|
+
"non_empty": false
|
|
4524
5267
|
}
|
|
4525
|
-
}
|
|
4526
|
-
|
|
4527
|
-
"payload": null,
|
|
4528
|
-
"unit": false
|
|
4529
|
-
},
|
|
4530
|
-
"spool_refused": {
|
|
4531
|
-
"fields": {
|
|
4532
|
-
"cause": {
|
|
5268
|
+
},
|
|
5269
|
+
"material": {
|
|
4533
5270
|
"paired_with": "",
|
|
4534
5271
|
"required": true,
|
|
4535
5272
|
"shape": {
|
|
4536
|
-
"ref": "
|
|
5273
|
+
"ref": "MaterialName"
|
|
4537
5274
|
}
|
|
4538
5275
|
},
|
|
4539
|
-
"
|
|
5276
|
+
"sheet": {
|
|
4540
5277
|
"paired_with": "",
|
|
4541
5278
|
"required": true,
|
|
4542
5279
|
"shape": {
|
|
4543
|
-
"
|
|
5280
|
+
"ref": "SheetId"
|
|
4544
5281
|
}
|
|
4545
5282
|
}
|
|
4546
5283
|
},
|
|
4547
5284
|
"payload": null,
|
|
4548
5285
|
"unit": false
|
|
4549
5286
|
},
|
|
4550
|
-
"
|
|
5287
|
+
"refused": {
|
|
4551
5288
|
"fields": {
|
|
4552
|
-
"
|
|
5289
|
+
"objection": {
|
|
4553
5290
|
"paired_with": "",
|
|
4554
5291
|
"required": true,
|
|
4555
5292
|
"shape": {
|
|
4556
|
-
"ref": "
|
|
5293
|
+
"ref": "SheetObjection"
|
|
4557
5294
|
}
|
|
4558
5295
|
}
|
|
4559
5296
|
},
|
|
4560
5297
|
"payload": null,
|
|
4561
5298
|
"unit": false
|
|
4562
5299
|
},
|
|
4563
|
-
"
|
|
5300
|
+
"unchecked": {
|
|
5301
|
+
"fields": {},
|
|
5302
|
+
"payload": null,
|
|
5303
|
+
"unit": true
|
|
5304
|
+
},
|
|
5305
|
+
"undeclared": {
|
|
5306
|
+
"fields": {},
|
|
5307
|
+
"payload": null,
|
|
5308
|
+
"unit": true
|
|
5309
|
+
},
|
|
5310
|
+
"warned": {
|
|
4564
5311
|
"fields": {
|
|
4565
|
-
"
|
|
4566
|
-
"paired_with": "",
|
|
4567
|
-
"required": true,
|
|
4568
|
-
"shape": {
|
|
4569
|
-
"ref": "UnverifiedReason"
|
|
4570
|
-
}
|
|
4571
|
-
},
|
|
4572
|
-
"spool_id": {
|
|
4573
|
-
"paired_with": "",
|
|
4574
|
-
"required": true,
|
|
4575
|
-
"shape": {
|
|
4576
|
-
"ref": "SpoolId"
|
|
4577
|
-
}
|
|
4578
|
-
},
|
|
4579
|
-
"spool_name": {
|
|
4580
|
-
"paired_with": "",
|
|
4581
|
-
"required": true,
|
|
4582
|
-
"shape": {
|
|
4583
|
-
"scalar": "string"
|
|
4584
|
-
}
|
|
4585
|
-
},
|
|
4586
|
-
"tool": {
|
|
5312
|
+
"objection": {
|
|
4587
5313
|
"paired_with": "",
|
|
4588
5314
|
"required": true,
|
|
4589
5315
|
"shape": {
|
|
4590
|
-
"
|
|
5316
|
+
"ref": "SheetObjection"
|
|
4591
5317
|
}
|
|
4592
5318
|
}
|
|
4593
5319
|
},
|
|
@@ -4597,21 +5323,21 @@ export const SHAPES = JSON.parse(`
|
|
|
4597
5323
|
}
|
|
4598
5324
|
}
|
|
4599
5325
|
},
|
|
4600
|
-
"
|
|
5326
|
+
"SignalPosition": {
|
|
4601
5327
|
"struct": {
|
|
4602
5328
|
"fields": {
|
|
4603
|
-
"
|
|
5329
|
+
"freshness": {
|
|
4604
5330
|
"paired_with": "",
|
|
4605
5331
|
"required": true,
|
|
4606
5332
|
"shape": {
|
|
4607
|
-
"
|
|
5333
|
+
"ref": "PositionFreshness"
|
|
4608
5334
|
}
|
|
4609
5335
|
},
|
|
4610
|
-
"
|
|
5336
|
+
"position": {
|
|
4611
5337
|
"paired_with": "",
|
|
4612
5338
|
"required": true,
|
|
4613
5339
|
"shape": {
|
|
4614
|
-
"
|
|
5340
|
+
"ref": "FilePosition"
|
|
4615
5341
|
}
|
|
4616
5342
|
}
|
|
4617
5343
|
},
|
|
@@ -4619,21 +5345,122 @@ export const SHAPES = JSON.parse(`
|
|
|
4619
5345
|
"variants": {}
|
|
4620
5346
|
}
|
|
4621
5347
|
},
|
|
4622
|
-
"
|
|
5348
|
+
"SlicerPlan": {
|
|
4623
5349
|
"struct": {
|
|
4624
5350
|
"fields": {
|
|
4625
|
-
"
|
|
5351
|
+
"at_odds": {
|
|
4626
5352
|
"paired_with": "",
|
|
4627
|
-
"required":
|
|
5353
|
+
"required": false,
|
|
4628
5354
|
"shape": {
|
|
4629
|
-
"
|
|
5355
|
+
"list": {
|
|
5356
|
+
"ref": "PlanMismatch"
|
|
5357
|
+
},
|
|
5358
|
+
"non_empty": false
|
|
4630
5359
|
}
|
|
4631
5360
|
},
|
|
4632
|
-
"
|
|
5361
|
+
"fan_percent": {
|
|
4633
5362
|
"paired_with": "",
|
|
4634
|
-
"required":
|
|
5363
|
+
"required": false,
|
|
4635
5364
|
"shape": {
|
|
4636
|
-
"
|
|
5365
|
+
"nullable": {
|
|
5366
|
+
"ref": "SetValue"
|
|
5367
|
+
}
|
|
5368
|
+
}
|
|
5369
|
+
},
|
|
5370
|
+
"final_z_mm": {
|
|
5371
|
+
"paired_with": "",
|
|
5372
|
+
"required": false,
|
|
5373
|
+
"shape": {
|
|
5374
|
+
"nullable": {
|
|
5375
|
+
"scalar": "number"
|
|
5376
|
+
}
|
|
5377
|
+
}
|
|
5378
|
+
},
|
|
5379
|
+
"flow_factor": {
|
|
5380
|
+
"paired_with": "",
|
|
5381
|
+
"required": false,
|
|
5382
|
+
"shape": {
|
|
5383
|
+
"nullable": {
|
|
5384
|
+
"ref": "SetValue"
|
|
5385
|
+
}
|
|
5386
|
+
}
|
|
5387
|
+
},
|
|
5388
|
+
"layer": {
|
|
5389
|
+
"paired_with": "",
|
|
5390
|
+
"required": false,
|
|
5391
|
+
"shape": {
|
|
5392
|
+
"nullable": {
|
|
5393
|
+
"scalar": "integer"
|
|
5394
|
+
}
|
|
5395
|
+
}
|
|
5396
|
+
},
|
|
5397
|
+
"minutes_left": {
|
|
5398
|
+
"paired_with": "",
|
|
5399
|
+
"required": false,
|
|
5400
|
+
"shape": {
|
|
5401
|
+
"nullable": {
|
|
5402
|
+
"scalar": "integer"
|
|
5403
|
+
}
|
|
5404
|
+
}
|
|
5405
|
+
},
|
|
5406
|
+
"object_count": {
|
|
5407
|
+
"paired_with": "",
|
|
5408
|
+
"required": false,
|
|
5409
|
+
"shape": {
|
|
5410
|
+
"nullable": {
|
|
5411
|
+
"scalar": "integer"
|
|
5412
|
+
}
|
|
5413
|
+
}
|
|
5414
|
+
},
|
|
5415
|
+
"objects": {
|
|
5416
|
+
"paired_with": "",
|
|
5417
|
+
"required": false,
|
|
5418
|
+
"shape": {
|
|
5419
|
+
"list": {
|
|
5420
|
+
"list": {
|
|
5421
|
+
"scalar": "integer"
|
|
5422
|
+
},
|
|
5423
|
+
"non_empty": true
|
|
5424
|
+
},
|
|
5425
|
+
"non_empty": false
|
|
5426
|
+
}
|
|
5427
|
+
},
|
|
5428
|
+
"rise": {
|
|
5429
|
+
"paired_with": "",
|
|
5430
|
+
"required": false,
|
|
5431
|
+
"shape": {
|
|
5432
|
+
"nullable": {
|
|
5433
|
+
"ref": "Rise"
|
|
5434
|
+
}
|
|
5435
|
+
}
|
|
5436
|
+
},
|
|
5437
|
+
"types": {
|
|
5438
|
+
"paired_with": "",
|
|
5439
|
+
"required": false,
|
|
5440
|
+
"shape": {
|
|
5441
|
+
"list": {
|
|
5442
|
+
"scalar": "string"
|
|
5443
|
+
},
|
|
5444
|
+
"non_empty": false
|
|
5445
|
+
}
|
|
5446
|
+
},
|
|
5447
|
+
"unknown": {
|
|
5448
|
+
"paired_with": "",
|
|
5449
|
+
"required": false,
|
|
5450
|
+
"shape": {
|
|
5451
|
+
"list": {
|
|
5452
|
+
"ref": "PlanFact"
|
|
5453
|
+
},
|
|
5454
|
+
"non_empty": false
|
|
5455
|
+
}
|
|
5456
|
+
},
|
|
5457
|
+
"z_mm": {
|
|
5458
|
+
"paired_with": "",
|
|
5459
|
+
"required": false,
|
|
5460
|
+
"shape": {
|
|
5461
|
+
"nullable": {
|
|
5462
|
+
"scalar": "number"
|
|
5463
|
+
}
|
|
4637
5464
|
}
|
|
4638
5465
|
}
|
|
4639
5466
|
},
|
|
@@ -6217,9 +7044,12 @@ export class GeneratedClient extends GeneratedSurface {
|
|
|
6217
7044
|
* the answer could not be read, and with `Refused` when the supervisor
|
|
6218
7045
|
* said no.
|
|
6219
7046
|
*/
|
|
6220
|
-
async context(printId) {
|
|
7047
|
+
async context(printId, since) {
|
|
6221
7048
|
const target = `/v1/prints/${printId}/context`;
|
|
6222
7049
|
const asked = [];
|
|
7050
|
+
if (since !== undefined) {
|
|
7051
|
+
asked.push(["since", String(since)]);
|
|
7052
|
+
}
|
|
6223
7053
|
const sending = undefined;
|
|
6224
7054
|
return await this.call("GET", target, asked, sending, "ContextAnswer");
|
|
6225
7055
|
}
|
|
@@ -6419,12 +7249,15 @@ export class GeneratedClient extends GeneratedSurface {
|
|
|
6419
7249
|
* the answer could not be read, and with `Refused` when the supervisor
|
|
6420
7250
|
* said no.
|
|
6421
7251
|
*/
|
|
6422
|
-
async preflight(fileName) {
|
|
7252
|
+
async preflight(fileName, sheet) {
|
|
6423
7253
|
const target = `/v1/preflight`;
|
|
6424
7254
|
const asked = [];
|
|
6425
7255
|
if (fileName !== undefined) {
|
|
6426
7256
|
asked.push(["file_name", String(fileName)]);
|
|
6427
7257
|
}
|
|
7258
|
+
if (sheet !== undefined) {
|
|
7259
|
+
asked.push(["sheet", String(sheet)]);
|
|
7260
|
+
}
|
|
6428
7261
|
const sending = undefined;
|
|
6429
7262
|
return await this.call("GET", target, asked, sending, "PreflightAnswer");
|
|
6430
7263
|
}
|
|
@@ -6491,7 +7324,7 @@ export class GeneratedClient extends GeneratedSurface {
|
|
|
6491
7324
|
* is made, and the policy's own refusal arrives as `Rejected`, carrying
|
|
6492
7325
|
* the reason, the value asked for and the range allowed.
|
|
6493
7326
|
*/
|
|
6494
|
-
async startPrint(printId, fileName, manifest, reason, overrideFilamentCheck) {
|
|
7327
|
+
async startPrint(printId, fileName, manifest, reason, overrideFilamentCheck, overrideMaterialCheck, overrideSheetCheck) {
|
|
6495
7328
|
reasonGiven(reason);
|
|
6496
7329
|
const target = `/v1/prints/${printId}/actions/start_print`;
|
|
6497
7330
|
const asked = [];
|
|
@@ -6502,6 +7335,12 @@ export class GeneratedClient extends GeneratedSurface {
|
|
|
6502
7335
|
if (overrideFilamentCheck !== undefined) {
|
|
6503
7336
|
sending.override_filament_check = overrideFilamentCheck;
|
|
6504
7337
|
}
|
|
7338
|
+
if (overrideMaterialCheck !== undefined) {
|
|
7339
|
+
sending.override_material_check = overrideMaterialCheck;
|
|
7340
|
+
}
|
|
7341
|
+
if (overrideSheetCheck !== undefined) {
|
|
7342
|
+
sending.override_sheet_check = overrideSheetCheck;
|
|
7343
|
+
}
|
|
6505
7344
|
sending.reason = reason;
|
|
6506
7345
|
return await this.call("POST", target, asked, sending, "ActionAnswer");
|
|
6507
7346
|
}
|