@sixb/server 0.2.4 → 0.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. package/dist/index.d.ts +1 -1
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +877 -89
  4. package/dist/index.js.map +26 -25
  5. package/dist/live/room.d.ts +2 -0
  6. package/dist/live/room.d.ts.map +1 -1
  7. package/dist/registerRoutes.d.ts +1 -0
  8. package/dist/registerRoutes.d.ts.map +1 -1
  9. package/dist/routes/agent-approvals.d.ts +22 -0
  10. package/dist/routes/agent-approvals.d.ts.map +1 -1
  11. package/dist/routes/agent-computers.d.ts +36 -0
  12. package/dist/routes/agent-computers.d.ts.map +1 -1
  13. package/dist/routes/agent-runners.d.ts +5 -1
  14. package/dist/routes/agent-runners.d.ts.map +1 -1
  15. package/dist/routes/agent-thread-reads.d.ts +82 -0
  16. package/dist/routes/agent-thread-reads.d.ts.map +1 -0
  17. package/dist/routes/agents.d.ts +1760 -86
  18. package/dist/routes/agents.d.ts.map +1 -1
  19. package/dist/routes/ai-accounting.d.ts.map +1 -1
  20. package/dist/routes/artifact-frames.d.ts +3 -3
  21. package/dist/routes/artifact-frames.d.ts.map +1 -1
  22. package/dist/routes/artifacts.d.ts +287 -21
  23. package/dist/routes/artifacts.d.ts.map +1 -1
  24. package/dist/routes/auth.d.ts +7 -7
  25. package/dist/routes/events.d.ts +4 -4
  26. package/dist/routes/links.d.ts +8 -0
  27. package/dist/routes/links.d.ts.map +1 -1
  28. package/dist/routes/model-generations.d.ts +6 -0
  29. package/dist/routes/model-generations.d.ts.map +1 -1
  30. package/dist/routes/objects.d.ts +8 -0
  31. package/dist/routes/objects.d.ts.map +1 -1
  32. package/dist/routes/observed-agent-threads.d.ts +22 -0
  33. package/dist/routes/observed-agent-threads.d.ts.map +1 -1
  34. package/dist/routes/projections.d.ts +2 -0
  35. package/dist/routes/projections.d.ts.map +1 -1
  36. package/dist/routes/status.d.ts +4 -1
  37. package/dist/routes/status.d.ts.map +1 -1
  38. package/dist/routes/syncs.d.ts +175 -12
  39. package/dist/routes/syncs.d.ts.map +1 -1
  40. package/dist/routes/workflows.d.ts +6 -6
  41. package/dist/routes/ws/agents.d.ts.map +1 -1
  42. package/dist/routes/ws/events.d.ts +6 -6
  43. package/dist/schemas/activity.d.ts +4 -4
  44. package/dist/schemas/agents.d.ts +7697 -262
  45. package/dist/schemas/agents.d.ts.map +1 -1
  46. package/dist/schemas/ai-accounting.d.ts +3 -0
  47. package/dist/schemas/ai-accounting.d.ts.map +1 -1
  48. package/dist/schemas/artifacts.d.ts +676 -36
  49. package/dist/schemas/artifacts.d.ts.map +1 -1
  50. package/dist/schemas/auth.d.ts +8 -8
  51. package/dist/schemas/common.d.ts.map +1 -1
  52. package/dist/schemas/events.d.ts +36 -24
  53. package/dist/schemas/events.d.ts.map +1 -1
  54. package/dist/schemas/lineage.d.ts +112 -0
  55. package/dist/schemas/lineage.d.ts.map +1 -1
  56. package/dist/schemas/models.d.ts +46 -0
  57. package/dist/schemas/models.d.ts.map +1 -1
  58. package/dist/schemas/projections.d.ts +11 -0
  59. package/dist/schemas/projections.d.ts.map +1 -1
  60. package/dist/schemas/syncs.d.ts +724 -25
  61. package/dist/schemas/syncs.d.ts.map +1 -1
  62. package/dist/schemas/workflows.d.ts +22 -22
  63. package/dist/server.d.ts +16 -1
  64. package/dist/server.d.ts.map +1 -1
  65. package/package.json +5 -5
  66. package/src/index.ts +6 -1
  67. package/src/live/README.md +9 -6
  68. package/src/live/room.ts +16 -8
  69. package/src/registerRoutes.ts +4 -1
  70. package/src/routes/agent-computers.ts +7 -6
  71. package/src/routes/agent-runners.ts +15 -4
  72. package/src/routes/agent-thread-reads.ts +67 -0
  73. package/src/routes/agents.ts +331 -20
  74. package/src/routes/ai-accounting.ts +1 -0
  75. package/src/routes/artifact-frames.ts +22 -9
  76. package/src/routes/artifacts.ts +124 -3
  77. package/src/routes/model-generations.ts +1 -1
  78. package/src/routes/observed-agent-threads.ts +3 -4
  79. package/src/routes/status.ts +18 -1
  80. package/src/routes/syncs.ts +135 -8
  81. package/src/routes/ws/agents.ts +43 -3
  82. package/src/schemas/agents.ts +148 -12
  83. package/src/schemas/ai-accounting.ts +12 -0
  84. package/src/schemas/artifacts.ts +66 -1
  85. package/src/schemas/common.ts +15 -9
  86. package/src/schemas/events.ts +1 -0
  87. package/src/schemas/models.ts +10 -0
  88. package/src/schemas/projections.ts +1 -0
  89. package/src/schemas/syncs.ts +63 -1
  90. package/src/server.ts +208 -14
@@ -66,6 +66,55 @@ export declare const ArtifactVersionSchema: z.ZodObject<{
66
66
  depth: number;
67
67
  slug: string;
68
68
  }>, "many">;
69
+ format: z.ZodOptional<z.ZodLiteral<"html">>;
70
+ paper: z.ZodOptional<z.ZodObject<{
71
+ width: z.ZodNumber;
72
+ height: z.ZodNumber;
73
+ margin: z.ZodObject<{
74
+ top: z.ZodNumber;
75
+ right: z.ZodNumber;
76
+ bottom: z.ZodNumber;
77
+ left: z.ZodNumber;
78
+ }, "strip", z.ZodTypeAny, {
79
+ top: number;
80
+ right: number;
81
+ bottom: number;
82
+ left: number;
83
+ }, {
84
+ top: number;
85
+ right: number;
86
+ bottom: number;
87
+ left: number;
88
+ }>;
89
+ }, "strip", z.ZodTypeAny, {
90
+ width: number;
91
+ height: number;
92
+ margin: {
93
+ top: number;
94
+ right: number;
95
+ bottom: number;
96
+ left: number;
97
+ };
98
+ }, {
99
+ width: number;
100
+ height: number;
101
+ margin: {
102
+ top: number;
103
+ right: number;
104
+ bottom: number;
105
+ left: number;
106
+ };
107
+ }>>;
108
+ holder: z.ZodOptional<z.ZodObject<{
109
+ objectTypeId: z.ZodString;
110
+ links: z.ZodArray<z.ZodString, "many">;
111
+ }, "strip", z.ZodTypeAny, {
112
+ objectTypeId: string;
113
+ links: string[];
114
+ }, {
115
+ objectTypeId: string;
116
+ links: string[];
117
+ }>>;
69
118
  }, "strip", z.ZodTypeAny, {
70
119
  kind: "document";
71
120
  headings: {
@@ -73,6 +122,21 @@ export declare const ArtifactVersionSchema: z.ZodObject<{
73
122
  depth: number;
74
123
  slug: string;
75
124
  }[];
125
+ format?: "html" | undefined;
126
+ paper?: {
127
+ width: number;
128
+ height: number;
129
+ margin: {
130
+ top: number;
131
+ right: number;
132
+ bottom: number;
133
+ left: number;
134
+ };
135
+ } | undefined;
136
+ holder?: {
137
+ objectTypeId: string;
138
+ links: string[];
139
+ } | undefined;
76
140
  }, {
77
141
  kind: "document";
78
142
  headings: {
@@ -80,6 +144,21 @@ export declare const ArtifactVersionSchema: z.ZodObject<{
80
144
  depth: number;
81
145
  slug: string;
82
146
  }[];
147
+ format?: "html" | undefined;
148
+ paper?: {
149
+ width: number;
150
+ height: number;
151
+ margin: {
152
+ top: number;
153
+ right: number;
154
+ bottom: number;
155
+ left: number;
156
+ };
157
+ } | undefined;
158
+ holder?: {
159
+ objectTypeId: string;
160
+ links: string[];
161
+ } | undefined;
83
162
  }>, z.ZodObject<{
84
163
  kind: z.ZodLiteral<"sheet">;
85
164
  sheets: z.ZodArray<z.ZodObject<{
@@ -277,6 +356,7 @@ export declare const ArtifactVersionSchema: z.ZodObject<{
277
356
  type: "user" | "serviceAccount" | "system";
278
357
  }>>;
279
358
  boardPreviews: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<["ready", "pending", "none"]>>>;
359
+ printable: z.ZodOptional<z.ZodBoolean>;
280
360
  }, "strip", z.ZodTypeAny, {
281
361
  title: string;
282
362
  version: number;
@@ -298,9 +378,6 @@ export declare const ArtifactVersionSchema: z.ZodObject<{
298
378
  id: string;
299
379
  type: "user" | "serviceAccount" | "system";
300
380
  };
301
- artifactId: string;
302
- frozen: boolean;
303
- entry: string;
304
381
  outline: {
305
382
  kind: "document";
306
383
  headings: {
@@ -308,6 +385,21 @@ export declare const ArtifactVersionSchema: z.ZodObject<{
308
385
  depth: number;
309
386
  slug: string;
310
387
  }[];
388
+ format?: "html" | undefined;
389
+ paper?: {
390
+ width: number;
391
+ height: number;
392
+ margin: {
393
+ top: number;
394
+ right: number;
395
+ bottom: number;
396
+ left: number;
397
+ };
398
+ } | undefined;
399
+ holder?: {
400
+ objectTypeId: string;
401
+ links: string[];
402
+ } | undefined;
311
403
  } | {
312
404
  kind: "sheet";
313
405
  sheets: {
@@ -345,6 +437,9 @@ export declare const ArtifactVersionSchema: z.ZodObject<{
345
437
  kind: "file";
346
438
  mediaType: string;
347
439
  };
440
+ artifactId: string;
441
+ frozen: boolean;
442
+ entry: string;
348
443
  references: {
349
444
  at: string;
350
445
  address: string;
@@ -361,6 +456,7 @@ export declare const ArtifactVersionSchema: z.ZodObject<{
361
456
  type: "user" | "serviceAccount" | "system";
362
457
  } | undefined;
363
458
  boardPreviews?: Record<string, "none" | "pending" | "ready"> | undefined;
459
+ printable?: boolean | undefined;
364
460
  }, {
365
461
  title: string;
366
462
  version: number;
@@ -382,9 +478,6 @@ export declare const ArtifactVersionSchema: z.ZodObject<{
382
478
  id: string;
383
479
  type: "user" | "serviceAccount" | "system";
384
480
  };
385
- artifactId: string;
386
- frozen: boolean;
387
- entry: string;
388
481
  outline: {
389
482
  kind: "document";
390
483
  headings: {
@@ -392,6 +485,21 @@ export declare const ArtifactVersionSchema: z.ZodObject<{
392
485
  depth: number;
393
486
  slug: string;
394
487
  }[];
488
+ format?: "html" | undefined;
489
+ paper?: {
490
+ width: number;
491
+ height: number;
492
+ margin: {
493
+ top: number;
494
+ right: number;
495
+ bottom: number;
496
+ left: number;
497
+ };
498
+ } | undefined;
499
+ holder?: {
500
+ objectTypeId: string;
501
+ links: string[];
502
+ } | undefined;
395
503
  } | {
396
504
  kind: "sheet";
397
505
  sheets: {
@@ -429,6 +537,9 @@ export declare const ArtifactVersionSchema: z.ZodObject<{
429
537
  kind: "file";
430
538
  mediaType: string;
431
539
  };
540
+ artifactId: string;
541
+ frozen: boolean;
542
+ entry: string;
432
543
  references: {
433
544
  at: string;
434
545
  address: string;
@@ -445,6 +556,58 @@ export declare const ArtifactVersionSchema: z.ZodObject<{
445
556
  type: "user" | "serviceAccount" | "system";
446
557
  } | undefined;
447
558
  boardPreviews?: Record<string, "none" | "pending" | "ready"> | undefined;
559
+ printable?: boolean | undefined;
560
+ }>;
561
+ export declare const ArtifactPdfResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
562
+ status: z.ZodLiteral<"ready">;
563
+ pages: z.ZodNumber;
564
+ key: z.ZodOptional<z.ZodString>;
565
+ }, "strip", z.ZodTypeAny, {
566
+ status: "ready";
567
+ pages: number;
568
+ key?: string | undefined;
569
+ }, {
570
+ status: "ready";
571
+ pages: number;
572
+ key?: string | undefined;
573
+ }>, z.ZodObject<{
574
+ status: z.ZodLiteral<"printing">;
575
+ key: z.ZodOptional<z.ZodString>;
576
+ }, "strip", z.ZodTypeAny, {
577
+ status: "printing";
578
+ key?: string | undefined;
579
+ }, {
580
+ status: "printing";
581
+ key?: string | undefined;
582
+ }>, z.ZodObject<{
583
+ status: z.ZodLiteral<"failed">;
584
+ reason: z.ZodString;
585
+ key: z.ZodOptional<z.ZodString>;
586
+ }, "strip", z.ZodTypeAny, {
587
+ status: "failed";
588
+ reason: string;
589
+ key?: string | undefined;
590
+ }, {
591
+ status: "failed";
592
+ reason: string;
593
+ key?: string | undefined;
594
+ }>]>;
595
+ export declare const ArtifactPdfQuerySchema: z.ZodObject<{
596
+ retry: z.ZodOptional<z.ZodEnum<["true", "false"]>>;
597
+ key: z.ZodOptional<z.ZodString>;
598
+ }, "strip", z.ZodTypeAny, {
599
+ key?: string | undefined;
600
+ retry?: "true" | "false" | undefined;
601
+ }, {
602
+ key?: string | undefined;
603
+ retry?: "true" | "false" | undefined;
604
+ }>;
605
+ export declare const ArtifactPdfDownloadQuerySchema: z.ZodObject<{
606
+ key: z.ZodOptional<z.ZodString>;
607
+ }, "strip", z.ZodTypeAny, {
608
+ key?: string | undefined;
609
+ }, {
610
+ key?: string | undefined;
448
611
  }>;
449
612
  export declare const ArtifactParamsSchema: z.ZodObject<{
450
613
  artifactId: z.ZodString;
@@ -728,6 +891,55 @@ export declare const ArtifactResponseSchema: z.ZodObject<{
728
891
  depth: number;
729
892
  slug: string;
730
893
  }>, "many">;
894
+ format: z.ZodOptional<z.ZodLiteral<"html">>;
895
+ paper: z.ZodOptional<z.ZodObject<{
896
+ width: z.ZodNumber;
897
+ height: z.ZodNumber;
898
+ margin: z.ZodObject<{
899
+ top: z.ZodNumber;
900
+ right: z.ZodNumber;
901
+ bottom: z.ZodNumber;
902
+ left: z.ZodNumber;
903
+ }, "strip", z.ZodTypeAny, {
904
+ top: number;
905
+ right: number;
906
+ bottom: number;
907
+ left: number;
908
+ }, {
909
+ top: number;
910
+ right: number;
911
+ bottom: number;
912
+ left: number;
913
+ }>;
914
+ }, "strip", z.ZodTypeAny, {
915
+ width: number;
916
+ height: number;
917
+ margin: {
918
+ top: number;
919
+ right: number;
920
+ bottom: number;
921
+ left: number;
922
+ };
923
+ }, {
924
+ width: number;
925
+ height: number;
926
+ margin: {
927
+ top: number;
928
+ right: number;
929
+ bottom: number;
930
+ left: number;
931
+ };
932
+ }>>;
933
+ holder: z.ZodOptional<z.ZodObject<{
934
+ objectTypeId: z.ZodString;
935
+ links: z.ZodArray<z.ZodString, "many">;
936
+ }, "strip", z.ZodTypeAny, {
937
+ objectTypeId: string;
938
+ links: string[];
939
+ }, {
940
+ objectTypeId: string;
941
+ links: string[];
942
+ }>>;
731
943
  }, "strip", z.ZodTypeAny, {
732
944
  kind: "document";
733
945
  headings: {
@@ -735,6 +947,21 @@ export declare const ArtifactResponseSchema: z.ZodObject<{
735
947
  depth: number;
736
948
  slug: string;
737
949
  }[];
950
+ format?: "html" | undefined;
951
+ paper?: {
952
+ width: number;
953
+ height: number;
954
+ margin: {
955
+ top: number;
956
+ right: number;
957
+ bottom: number;
958
+ left: number;
959
+ };
960
+ } | undefined;
961
+ holder?: {
962
+ objectTypeId: string;
963
+ links: string[];
964
+ } | undefined;
738
965
  }, {
739
966
  kind: "document";
740
967
  headings: {
@@ -742,6 +969,21 @@ export declare const ArtifactResponseSchema: z.ZodObject<{
742
969
  depth: number;
743
970
  slug: string;
744
971
  }[];
972
+ format?: "html" | undefined;
973
+ paper?: {
974
+ width: number;
975
+ height: number;
976
+ margin: {
977
+ top: number;
978
+ right: number;
979
+ bottom: number;
980
+ left: number;
981
+ };
982
+ } | undefined;
983
+ holder?: {
984
+ objectTypeId: string;
985
+ links: string[];
986
+ } | undefined;
745
987
  }>, z.ZodObject<{
746
988
  kind: z.ZodLiteral<"sheet">;
747
989
  sheets: z.ZodArray<z.ZodObject<{
@@ -939,6 +1181,7 @@ export declare const ArtifactResponseSchema: z.ZodObject<{
939
1181
  type: "user" | "serviceAccount" | "system";
940
1182
  }>>;
941
1183
  boardPreviews: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<["ready", "pending", "none"]>>>;
1184
+ printable: z.ZodOptional<z.ZodBoolean>;
942
1185
  }, "origin" | "title" | "version" | "createdAt" | "updatedAt" | "revision" | "author" | "frozen" | "frozenAt" | "frozenBy">, "strip", z.ZodTypeAny, {
943
1186
  title: string;
944
1187
  version: number;
@@ -1331,6 +1574,55 @@ export declare const ArtifactRestorePointSchema: z.ZodObject<{
1331
1574
  depth: number;
1332
1575
  slug: string;
1333
1576
  }>, "many">;
1577
+ format: z.ZodOptional<z.ZodLiteral<"html">>;
1578
+ paper: z.ZodOptional<z.ZodObject<{
1579
+ width: z.ZodNumber;
1580
+ height: z.ZodNumber;
1581
+ margin: z.ZodObject<{
1582
+ top: z.ZodNumber;
1583
+ right: z.ZodNumber;
1584
+ bottom: z.ZodNumber;
1585
+ left: z.ZodNumber;
1586
+ }, "strip", z.ZodTypeAny, {
1587
+ top: number;
1588
+ right: number;
1589
+ bottom: number;
1590
+ left: number;
1591
+ }, {
1592
+ top: number;
1593
+ right: number;
1594
+ bottom: number;
1595
+ left: number;
1596
+ }>;
1597
+ }, "strip", z.ZodTypeAny, {
1598
+ width: number;
1599
+ height: number;
1600
+ margin: {
1601
+ top: number;
1602
+ right: number;
1603
+ bottom: number;
1604
+ left: number;
1605
+ };
1606
+ }, {
1607
+ width: number;
1608
+ height: number;
1609
+ margin: {
1610
+ top: number;
1611
+ right: number;
1612
+ bottom: number;
1613
+ left: number;
1614
+ };
1615
+ }>>;
1616
+ holder: z.ZodOptional<z.ZodObject<{
1617
+ objectTypeId: z.ZodString;
1618
+ links: z.ZodArray<z.ZodString, "many">;
1619
+ }, "strip", z.ZodTypeAny, {
1620
+ objectTypeId: string;
1621
+ links: string[];
1622
+ }, {
1623
+ objectTypeId: string;
1624
+ links: string[];
1625
+ }>>;
1334
1626
  }, "strip", z.ZodTypeAny, {
1335
1627
  kind: "document";
1336
1628
  headings: {
@@ -1338,6 +1630,21 @@ export declare const ArtifactRestorePointSchema: z.ZodObject<{
1338
1630
  depth: number;
1339
1631
  slug: string;
1340
1632
  }[];
1633
+ format?: "html" | undefined;
1634
+ paper?: {
1635
+ width: number;
1636
+ height: number;
1637
+ margin: {
1638
+ top: number;
1639
+ right: number;
1640
+ bottom: number;
1641
+ left: number;
1642
+ };
1643
+ } | undefined;
1644
+ holder?: {
1645
+ objectTypeId: string;
1646
+ links: string[];
1647
+ } | undefined;
1341
1648
  }, {
1342
1649
  kind: "document";
1343
1650
  headings: {
@@ -1345,6 +1652,21 @@ export declare const ArtifactRestorePointSchema: z.ZodObject<{
1345
1652
  depth: number;
1346
1653
  slug: string;
1347
1654
  }[];
1655
+ format?: "html" | undefined;
1656
+ paper?: {
1657
+ width: number;
1658
+ height: number;
1659
+ margin: {
1660
+ top: number;
1661
+ right: number;
1662
+ bottom: number;
1663
+ left: number;
1664
+ };
1665
+ } | undefined;
1666
+ holder?: {
1667
+ objectTypeId: string;
1668
+ links: string[];
1669
+ } | undefined;
1348
1670
  }>, z.ZodObject<{
1349
1671
  kind: z.ZodLiteral<"sheet">;
1350
1672
  sheets: z.ZodArray<z.ZodObject<{
@@ -1530,9 +1852,6 @@ export declare const ArtifactRestorePointSchema: z.ZodObject<{
1530
1852
  id: string;
1531
1853
  type: "user" | "serviceAccount" | "system";
1532
1854
  };
1533
- artifactId: string;
1534
- frozen: boolean;
1535
- entry: string;
1536
1855
  outline: {
1537
1856
  kind: "document";
1538
1857
  headings: {
@@ -1540,6 +1859,21 @@ export declare const ArtifactRestorePointSchema: z.ZodObject<{
1540
1859
  depth: number;
1541
1860
  slug: string;
1542
1861
  }[];
1862
+ format?: "html" | undefined;
1863
+ paper?: {
1864
+ width: number;
1865
+ height: number;
1866
+ margin: {
1867
+ top: number;
1868
+ right: number;
1869
+ bottom: number;
1870
+ left: number;
1871
+ };
1872
+ } | undefined;
1873
+ holder?: {
1874
+ objectTypeId: string;
1875
+ links: string[];
1876
+ } | undefined;
1543
1877
  } | {
1544
1878
  kind: "sheet";
1545
1879
  sheets: {
@@ -1577,6 +1911,9 @@ export declare const ArtifactRestorePointSchema: z.ZodObject<{
1577
1911
  kind: "file";
1578
1912
  mediaType: string;
1579
1913
  };
1914
+ artifactId: string;
1915
+ frozen: boolean;
1916
+ entry: string;
1580
1917
  references: {
1581
1918
  at: string;
1582
1919
  address: string;
@@ -1610,9 +1947,6 @@ export declare const ArtifactRestorePointSchema: z.ZodObject<{
1610
1947
  id: string;
1611
1948
  type: "user" | "serviceAccount" | "system";
1612
1949
  };
1613
- artifactId: string;
1614
- frozen: boolean;
1615
- entry: string;
1616
1950
  outline: {
1617
1951
  kind: "document";
1618
1952
  headings: {
@@ -1620,6 +1954,21 @@ export declare const ArtifactRestorePointSchema: z.ZodObject<{
1620
1954
  depth: number;
1621
1955
  slug: string;
1622
1956
  }[];
1957
+ format?: "html" | undefined;
1958
+ paper?: {
1959
+ width: number;
1960
+ height: number;
1961
+ margin: {
1962
+ top: number;
1963
+ right: number;
1964
+ bottom: number;
1965
+ left: number;
1966
+ };
1967
+ } | undefined;
1968
+ holder?: {
1969
+ objectTypeId: string;
1970
+ links: string[];
1971
+ } | undefined;
1623
1972
  } | {
1624
1973
  kind: "sheet";
1625
1974
  sheets: {
@@ -1657,6 +2006,9 @@ export declare const ArtifactRestorePointSchema: z.ZodObject<{
1657
2006
  kind: "file";
1658
2007
  mediaType: string;
1659
2008
  };
2009
+ artifactId: string;
2010
+ frozen: boolean;
2011
+ entry: string;
1660
2012
  references: {
1661
2013
  at: string;
1662
2014
  address: string;
@@ -1943,6 +2295,55 @@ export declare const ArtifactChangeResponseSchema: z.ZodObject<{
1943
2295
  depth: number;
1944
2296
  slug: string;
1945
2297
  }>, "many">;
2298
+ format: z.ZodOptional<z.ZodLiteral<"html">>;
2299
+ paper: z.ZodOptional<z.ZodObject<{
2300
+ width: z.ZodNumber;
2301
+ height: z.ZodNumber;
2302
+ margin: z.ZodObject<{
2303
+ top: z.ZodNumber;
2304
+ right: z.ZodNumber;
2305
+ bottom: z.ZodNumber;
2306
+ left: z.ZodNumber;
2307
+ }, "strip", z.ZodTypeAny, {
2308
+ top: number;
2309
+ right: number;
2310
+ bottom: number;
2311
+ left: number;
2312
+ }, {
2313
+ top: number;
2314
+ right: number;
2315
+ bottom: number;
2316
+ left: number;
2317
+ }>;
2318
+ }, "strip", z.ZodTypeAny, {
2319
+ width: number;
2320
+ height: number;
2321
+ margin: {
2322
+ top: number;
2323
+ right: number;
2324
+ bottom: number;
2325
+ left: number;
2326
+ };
2327
+ }, {
2328
+ width: number;
2329
+ height: number;
2330
+ margin: {
2331
+ top: number;
2332
+ right: number;
2333
+ bottom: number;
2334
+ left: number;
2335
+ };
2336
+ }>>;
2337
+ holder: z.ZodOptional<z.ZodObject<{
2338
+ objectTypeId: z.ZodString;
2339
+ links: z.ZodArray<z.ZodString, "many">;
2340
+ }, "strip", z.ZodTypeAny, {
2341
+ objectTypeId: string;
2342
+ links: string[];
2343
+ }, {
2344
+ objectTypeId: string;
2345
+ links: string[];
2346
+ }>>;
1946
2347
  }, "strip", z.ZodTypeAny, {
1947
2348
  kind: "document";
1948
2349
  headings: {
@@ -1950,6 +2351,21 @@ export declare const ArtifactChangeResponseSchema: z.ZodObject<{
1950
2351
  depth: number;
1951
2352
  slug: string;
1952
2353
  }[];
2354
+ format?: "html" | undefined;
2355
+ paper?: {
2356
+ width: number;
2357
+ height: number;
2358
+ margin: {
2359
+ top: number;
2360
+ right: number;
2361
+ bottom: number;
2362
+ left: number;
2363
+ };
2364
+ } | undefined;
2365
+ holder?: {
2366
+ objectTypeId: string;
2367
+ links: string[];
2368
+ } | undefined;
1953
2369
  }, {
1954
2370
  kind: "document";
1955
2371
  headings: {
@@ -1957,6 +2373,21 @@ export declare const ArtifactChangeResponseSchema: z.ZodObject<{
1957
2373
  depth: number;
1958
2374
  slug: string;
1959
2375
  }[];
2376
+ format?: "html" | undefined;
2377
+ paper?: {
2378
+ width: number;
2379
+ height: number;
2380
+ margin: {
2381
+ top: number;
2382
+ right: number;
2383
+ bottom: number;
2384
+ left: number;
2385
+ };
2386
+ } | undefined;
2387
+ holder?: {
2388
+ objectTypeId: string;
2389
+ links: string[];
2390
+ } | undefined;
1960
2391
  }>, z.ZodObject<{
1961
2392
  kind: z.ZodLiteral<"sheet">;
1962
2393
  sheets: z.ZodArray<z.ZodObject<{
@@ -2154,6 +2585,7 @@ export declare const ArtifactChangeResponseSchema: z.ZodObject<{
2154
2585
  type: "user" | "serviceAccount" | "system";
2155
2586
  }>>;
2156
2587
  boardPreviews: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<["ready", "pending", "none"]>>>;
2588
+ printable: z.ZodOptional<z.ZodBoolean>;
2157
2589
  }, "strip", z.ZodTypeAny, {
2158
2590
  title: string;
2159
2591
  version: number;
@@ -2175,9 +2607,6 @@ export declare const ArtifactChangeResponseSchema: z.ZodObject<{
2175
2607
  id: string;
2176
2608
  type: "user" | "serviceAccount" | "system";
2177
2609
  };
2178
- artifactId: string;
2179
- frozen: boolean;
2180
- entry: string;
2181
2610
  outline: {
2182
2611
  kind: "document";
2183
2612
  headings: {
@@ -2185,6 +2614,21 @@ export declare const ArtifactChangeResponseSchema: z.ZodObject<{
2185
2614
  depth: number;
2186
2615
  slug: string;
2187
2616
  }[];
2617
+ format?: "html" | undefined;
2618
+ paper?: {
2619
+ width: number;
2620
+ height: number;
2621
+ margin: {
2622
+ top: number;
2623
+ right: number;
2624
+ bottom: number;
2625
+ left: number;
2626
+ };
2627
+ } | undefined;
2628
+ holder?: {
2629
+ objectTypeId: string;
2630
+ links: string[];
2631
+ } | undefined;
2188
2632
  } | {
2189
2633
  kind: "sheet";
2190
2634
  sheets: {
@@ -2222,6 +2666,9 @@ export declare const ArtifactChangeResponseSchema: z.ZodObject<{
2222
2666
  kind: "file";
2223
2667
  mediaType: string;
2224
2668
  };
2669
+ artifactId: string;
2670
+ frozen: boolean;
2671
+ entry: string;
2225
2672
  references: {
2226
2673
  at: string;
2227
2674
  address: string;
@@ -2238,6 +2685,7 @@ export declare const ArtifactChangeResponseSchema: z.ZodObject<{
2238
2685
  type: "user" | "serviceAccount" | "system";
2239
2686
  } | undefined;
2240
2687
  boardPreviews?: Record<string, "none" | "pending" | "ready"> | undefined;
2688
+ printable?: boolean | undefined;
2241
2689
  }, {
2242
2690
  title: string;
2243
2691
  version: number;
@@ -2259,9 +2707,6 @@ export declare const ArtifactChangeResponseSchema: z.ZodObject<{
2259
2707
  id: string;
2260
2708
  type: "user" | "serviceAccount" | "system";
2261
2709
  };
2262
- artifactId: string;
2263
- frozen: boolean;
2264
- entry: string;
2265
2710
  outline: {
2266
2711
  kind: "document";
2267
2712
  headings: {
@@ -2269,6 +2714,21 @@ export declare const ArtifactChangeResponseSchema: z.ZodObject<{
2269
2714
  depth: number;
2270
2715
  slug: string;
2271
2716
  }[];
2717
+ format?: "html" | undefined;
2718
+ paper?: {
2719
+ width: number;
2720
+ height: number;
2721
+ margin: {
2722
+ top: number;
2723
+ right: number;
2724
+ bottom: number;
2725
+ left: number;
2726
+ };
2727
+ } | undefined;
2728
+ holder?: {
2729
+ objectTypeId: string;
2730
+ links: string[];
2731
+ } | undefined;
2272
2732
  } | {
2273
2733
  kind: "sheet";
2274
2734
  sheets: {
@@ -2306,6 +2766,9 @@ export declare const ArtifactChangeResponseSchema: z.ZodObject<{
2306
2766
  kind: "file";
2307
2767
  mediaType: string;
2308
2768
  };
2769
+ artifactId: string;
2770
+ frozen: boolean;
2771
+ entry: string;
2309
2772
  references: {
2310
2773
  at: string;
2311
2774
  address: string;
@@ -2322,6 +2785,7 @@ export declare const ArtifactChangeResponseSchema: z.ZodObject<{
2322
2785
  type: "user" | "serviceAccount" | "system";
2323
2786
  } | undefined;
2324
2787
  boardPreviews?: Record<string, "none" | "pending" | "ready"> | undefined;
2788
+ printable?: boolean | undefined;
2325
2789
  }>;
2326
2790
  }, "strip", z.ZodTypeAny, {
2327
2791
  artifact: {
@@ -2359,9 +2823,6 @@ export declare const ArtifactChangeResponseSchema: z.ZodObject<{
2359
2823
  id: string;
2360
2824
  type: "user" | "serviceAccount" | "system";
2361
2825
  };
2362
- artifactId: string;
2363
- frozen: boolean;
2364
- entry: string;
2365
2826
  outline: {
2366
2827
  kind: "document";
2367
2828
  headings: {
@@ -2369,6 +2830,21 @@ export declare const ArtifactChangeResponseSchema: z.ZodObject<{
2369
2830
  depth: number;
2370
2831
  slug: string;
2371
2832
  }[];
2833
+ format?: "html" | undefined;
2834
+ paper?: {
2835
+ width: number;
2836
+ height: number;
2837
+ margin: {
2838
+ top: number;
2839
+ right: number;
2840
+ bottom: number;
2841
+ left: number;
2842
+ };
2843
+ } | undefined;
2844
+ holder?: {
2845
+ objectTypeId: string;
2846
+ links: string[];
2847
+ } | undefined;
2372
2848
  } | {
2373
2849
  kind: "sheet";
2374
2850
  sheets: {
@@ -2406,6 +2882,9 @@ export declare const ArtifactChangeResponseSchema: z.ZodObject<{
2406
2882
  kind: "file";
2407
2883
  mediaType: string;
2408
2884
  };
2885
+ artifactId: string;
2886
+ frozen: boolean;
2887
+ entry: string;
2409
2888
  references: {
2410
2889
  at: string;
2411
2890
  address: string;
@@ -2422,6 +2901,7 @@ export declare const ArtifactChangeResponseSchema: z.ZodObject<{
2422
2901
  type: "user" | "serviceAccount" | "system";
2423
2902
  } | undefined;
2424
2903
  boardPreviews?: Record<string, "none" | "pending" | "ready"> | undefined;
2904
+ printable?: boolean | undefined;
2425
2905
  };
2426
2906
  }, {
2427
2907
  artifact: {
@@ -2459,9 +2939,6 @@ export declare const ArtifactChangeResponseSchema: z.ZodObject<{
2459
2939
  id: string;
2460
2940
  type: "user" | "serviceAccount" | "system";
2461
2941
  };
2462
- artifactId: string;
2463
- frozen: boolean;
2464
- entry: string;
2465
2942
  outline: {
2466
2943
  kind: "document";
2467
2944
  headings: {
@@ -2469,6 +2946,21 @@ export declare const ArtifactChangeResponseSchema: z.ZodObject<{
2469
2946
  depth: number;
2470
2947
  slug: string;
2471
2948
  }[];
2949
+ format?: "html" | undefined;
2950
+ paper?: {
2951
+ width: number;
2952
+ height: number;
2953
+ margin: {
2954
+ top: number;
2955
+ right: number;
2956
+ bottom: number;
2957
+ left: number;
2958
+ };
2959
+ } | undefined;
2960
+ holder?: {
2961
+ objectTypeId: string;
2962
+ links: string[];
2963
+ } | undefined;
2472
2964
  } | {
2473
2965
  kind: "sheet";
2474
2966
  sheets: {
@@ -2506,6 +2998,9 @@ export declare const ArtifactChangeResponseSchema: z.ZodObject<{
2506
2998
  kind: "file";
2507
2999
  mediaType: string;
2508
3000
  };
3001
+ artifactId: string;
3002
+ frozen: boolean;
3003
+ entry: string;
2509
3004
  references: {
2510
3005
  at: string;
2511
3006
  address: string;
@@ -2522,6 +3017,7 @@ export declare const ArtifactChangeResponseSchema: z.ZodObject<{
2522
3017
  type: "user" | "serviceAccount" | "system";
2523
3018
  } | undefined;
2524
3019
  boardPreviews?: Record<string, "none" | "pending" | "ready"> | undefined;
3020
+ printable?: boolean | undefined;
2525
3021
  };
2526
3022
  }>;
2527
3023
  export declare const PublishedArtifactResponseSchema: z.ZodObject<{
@@ -2638,6 +3134,55 @@ export declare const PublishedArtifactResponseSchema: z.ZodObject<{
2638
3134
  depth: number;
2639
3135
  slug: string;
2640
3136
  }>, "many">;
3137
+ format: z.ZodOptional<z.ZodLiteral<"html">>;
3138
+ paper: z.ZodOptional<z.ZodObject<{
3139
+ width: z.ZodNumber;
3140
+ height: z.ZodNumber;
3141
+ margin: z.ZodObject<{
3142
+ top: z.ZodNumber;
3143
+ right: z.ZodNumber;
3144
+ bottom: z.ZodNumber;
3145
+ left: z.ZodNumber;
3146
+ }, "strip", z.ZodTypeAny, {
3147
+ top: number;
3148
+ right: number;
3149
+ bottom: number;
3150
+ left: number;
3151
+ }, {
3152
+ top: number;
3153
+ right: number;
3154
+ bottom: number;
3155
+ left: number;
3156
+ }>;
3157
+ }, "strip", z.ZodTypeAny, {
3158
+ width: number;
3159
+ height: number;
3160
+ margin: {
3161
+ top: number;
3162
+ right: number;
3163
+ bottom: number;
3164
+ left: number;
3165
+ };
3166
+ }, {
3167
+ width: number;
3168
+ height: number;
3169
+ margin: {
3170
+ top: number;
3171
+ right: number;
3172
+ bottom: number;
3173
+ left: number;
3174
+ };
3175
+ }>>;
3176
+ holder: z.ZodOptional<z.ZodObject<{
3177
+ objectTypeId: z.ZodString;
3178
+ links: z.ZodArray<z.ZodString, "many">;
3179
+ }, "strip", z.ZodTypeAny, {
3180
+ objectTypeId: string;
3181
+ links: string[];
3182
+ }, {
3183
+ objectTypeId: string;
3184
+ links: string[];
3185
+ }>>;
2641
3186
  }, "strip", z.ZodTypeAny, {
2642
3187
  kind: "document";
2643
3188
  headings: {
@@ -2645,6 +3190,21 @@ export declare const PublishedArtifactResponseSchema: z.ZodObject<{
2645
3190
  depth: number;
2646
3191
  slug: string;
2647
3192
  }[];
3193
+ format?: "html" | undefined;
3194
+ paper?: {
3195
+ width: number;
3196
+ height: number;
3197
+ margin: {
3198
+ top: number;
3199
+ right: number;
3200
+ bottom: number;
3201
+ left: number;
3202
+ };
3203
+ } | undefined;
3204
+ holder?: {
3205
+ objectTypeId: string;
3206
+ links: string[];
3207
+ } | undefined;
2648
3208
  }, {
2649
3209
  kind: "document";
2650
3210
  headings: {
@@ -2652,6 +3212,21 @@ export declare const PublishedArtifactResponseSchema: z.ZodObject<{
2652
3212
  depth: number;
2653
3213
  slug: string;
2654
3214
  }[];
3215
+ format?: "html" | undefined;
3216
+ paper?: {
3217
+ width: number;
3218
+ height: number;
3219
+ margin: {
3220
+ top: number;
3221
+ right: number;
3222
+ bottom: number;
3223
+ left: number;
3224
+ };
3225
+ } | undefined;
3226
+ holder?: {
3227
+ objectTypeId: string;
3228
+ links: string[];
3229
+ } | undefined;
2655
3230
  }>, z.ZodObject<{
2656
3231
  kind: z.ZodLiteral<"sheet">;
2657
3232
  sheets: z.ZodArray<z.ZodObject<{
@@ -2849,6 +3424,7 @@ export declare const PublishedArtifactResponseSchema: z.ZodObject<{
2849
3424
  type: "user" | "serviceAccount" | "system";
2850
3425
  }>>;
2851
3426
  boardPreviews: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<["ready", "pending", "none"]>>>;
3427
+ printable: z.ZodOptional<z.ZodBoolean>;
2852
3428
  }, "strip", z.ZodTypeAny, {
2853
3429
  title: string;
2854
3430
  version: number;
@@ -2870,9 +3446,6 @@ export declare const PublishedArtifactResponseSchema: z.ZodObject<{
2870
3446
  id: string;
2871
3447
  type: "user" | "serviceAccount" | "system";
2872
3448
  };
2873
- artifactId: string;
2874
- frozen: boolean;
2875
- entry: string;
2876
3449
  outline: {
2877
3450
  kind: "document";
2878
3451
  headings: {
@@ -2880,6 +3453,21 @@ export declare const PublishedArtifactResponseSchema: z.ZodObject<{
2880
3453
  depth: number;
2881
3454
  slug: string;
2882
3455
  }[];
3456
+ format?: "html" | undefined;
3457
+ paper?: {
3458
+ width: number;
3459
+ height: number;
3460
+ margin: {
3461
+ top: number;
3462
+ right: number;
3463
+ bottom: number;
3464
+ left: number;
3465
+ };
3466
+ } | undefined;
3467
+ holder?: {
3468
+ objectTypeId: string;
3469
+ links: string[];
3470
+ } | undefined;
2883
3471
  } | {
2884
3472
  kind: "sheet";
2885
3473
  sheets: {
@@ -2917,6 +3505,9 @@ export declare const PublishedArtifactResponseSchema: z.ZodObject<{
2917
3505
  kind: "file";
2918
3506
  mediaType: string;
2919
3507
  };
3508
+ artifactId: string;
3509
+ frozen: boolean;
3510
+ entry: string;
2920
3511
  references: {
2921
3512
  at: string;
2922
3513
  address: string;
@@ -2933,6 +3524,7 @@ export declare const PublishedArtifactResponseSchema: z.ZodObject<{
2933
3524
  type: "user" | "serviceAccount" | "system";
2934
3525
  } | undefined;
2935
3526
  boardPreviews?: Record<string, "none" | "pending" | "ready"> | undefined;
3527
+ printable?: boolean | undefined;
2936
3528
  }, {
2937
3529
  title: string;
2938
3530
  version: number;
@@ -2954,9 +3546,6 @@ export declare const PublishedArtifactResponseSchema: z.ZodObject<{
2954
3546
  id: string;
2955
3547
  type: "user" | "serviceAccount" | "system";
2956
3548
  };
2957
- artifactId: string;
2958
- frozen: boolean;
2959
- entry: string;
2960
3549
  outline: {
2961
3550
  kind: "document";
2962
3551
  headings: {
@@ -2964,6 +3553,21 @@ export declare const PublishedArtifactResponseSchema: z.ZodObject<{
2964
3553
  depth: number;
2965
3554
  slug: string;
2966
3555
  }[];
3556
+ format?: "html" | undefined;
3557
+ paper?: {
3558
+ width: number;
3559
+ height: number;
3560
+ margin: {
3561
+ top: number;
3562
+ right: number;
3563
+ bottom: number;
3564
+ left: number;
3565
+ };
3566
+ } | undefined;
3567
+ holder?: {
3568
+ objectTypeId: string;
3569
+ links: string[];
3570
+ } | undefined;
2967
3571
  } | {
2968
3572
  kind: "sheet";
2969
3573
  sheets: {
@@ -3001,6 +3605,9 @@ export declare const PublishedArtifactResponseSchema: z.ZodObject<{
3001
3605
  kind: "file";
3002
3606
  mediaType: string;
3003
3607
  };
3608
+ artifactId: string;
3609
+ frozen: boolean;
3610
+ entry: string;
3004
3611
  references: {
3005
3612
  at: string;
3006
3613
  address: string;
@@ -3017,6 +3624,7 @@ export declare const PublishedArtifactResponseSchema: z.ZodObject<{
3017
3624
  type: "user" | "serviceAccount" | "system";
3018
3625
  } | undefined;
3019
3626
  boardPreviews?: Record<string, "none" | "pending" | "ready"> | undefined;
3627
+ printable?: boolean | undefined;
3020
3628
  }>;
3021
3629
  warnings: z.ZodArray<z.ZodObject<{
3022
3630
  code: z.ZodString;
@@ -3067,9 +3675,6 @@ export declare const PublishedArtifactResponseSchema: z.ZodObject<{
3067
3675
  id: string;
3068
3676
  type: "user" | "serviceAccount" | "system";
3069
3677
  };
3070
- artifactId: string;
3071
- frozen: boolean;
3072
- entry: string;
3073
3678
  outline: {
3074
3679
  kind: "document";
3075
3680
  headings: {
@@ -3077,6 +3682,21 @@ export declare const PublishedArtifactResponseSchema: z.ZodObject<{
3077
3682
  depth: number;
3078
3683
  slug: string;
3079
3684
  }[];
3685
+ format?: "html" | undefined;
3686
+ paper?: {
3687
+ width: number;
3688
+ height: number;
3689
+ margin: {
3690
+ top: number;
3691
+ right: number;
3692
+ bottom: number;
3693
+ left: number;
3694
+ };
3695
+ } | undefined;
3696
+ holder?: {
3697
+ objectTypeId: string;
3698
+ links: string[];
3699
+ } | undefined;
3080
3700
  } | {
3081
3701
  kind: "sheet";
3082
3702
  sheets: {
@@ -3114,6 +3734,9 @@ export declare const PublishedArtifactResponseSchema: z.ZodObject<{
3114
3734
  kind: "file";
3115
3735
  mediaType: string;
3116
3736
  };
3737
+ artifactId: string;
3738
+ frozen: boolean;
3739
+ entry: string;
3117
3740
  references: {
3118
3741
  at: string;
3119
3742
  address: string;
@@ -3130,6 +3753,7 @@ export declare const PublishedArtifactResponseSchema: z.ZodObject<{
3130
3753
  type: "user" | "serviceAccount" | "system";
3131
3754
  } | undefined;
3132
3755
  boardPreviews?: Record<string, "none" | "pending" | "ready"> | undefined;
3756
+ printable?: boolean | undefined;
3133
3757
  };
3134
3758
  warnings: {
3135
3759
  code: string;
@@ -3172,9 +3796,6 @@ export declare const PublishedArtifactResponseSchema: z.ZodObject<{
3172
3796
  id: string;
3173
3797
  type: "user" | "serviceAccount" | "system";
3174
3798
  };
3175
- artifactId: string;
3176
- frozen: boolean;
3177
- entry: string;
3178
3799
  outline: {
3179
3800
  kind: "document";
3180
3801
  headings: {
@@ -3182,6 +3803,21 @@ export declare const PublishedArtifactResponseSchema: z.ZodObject<{
3182
3803
  depth: number;
3183
3804
  slug: string;
3184
3805
  }[];
3806
+ format?: "html" | undefined;
3807
+ paper?: {
3808
+ width: number;
3809
+ height: number;
3810
+ margin: {
3811
+ top: number;
3812
+ right: number;
3813
+ bottom: number;
3814
+ left: number;
3815
+ };
3816
+ } | undefined;
3817
+ holder?: {
3818
+ objectTypeId: string;
3819
+ links: string[];
3820
+ } | undefined;
3185
3821
  } | {
3186
3822
  kind: "sheet";
3187
3823
  sheets: {
@@ -3219,6 +3855,9 @@ export declare const PublishedArtifactResponseSchema: z.ZodObject<{
3219
3855
  kind: "file";
3220
3856
  mediaType: string;
3221
3857
  };
3858
+ artifactId: string;
3859
+ frozen: boolean;
3860
+ entry: string;
3222
3861
  references: {
3223
3862
  at: string;
3224
3863
  address: string;
@@ -3235,6 +3874,7 @@ export declare const PublishedArtifactResponseSchema: z.ZodObject<{
3235
3874
  type: "user" | "serviceAccount" | "system";
3236
3875
  } | undefined;
3237
3876
  boardPreviews?: Record<string, "none" | "pending" | "ready"> | undefined;
3877
+ printable?: boolean | undefined;
3238
3878
  };
3239
3879
  warnings: {
3240
3880
  code: string;