@skillcdn/console 0.4.2 → 0.4.4

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 (243) hide show
  1. package/README.md +4 -4
  2. package/dist/api.d.ts +3 -3
  3. package/dist/api.d.ts.map +1 -1
  4. package/dist/api.js +3 -3
  5. package/dist/api.js.map +1 -1
  6. package/dist/cli/cli.d.ts.map +1 -1
  7. package/dist/cli/cli.js +120 -33
  8. package/dist/cli/cli.js.map +1 -1
  9. package/dist/cli/format.d.ts +4 -2
  10. package/dist/cli/format.d.ts.map +1 -1
  11. package/dist/cli/format.js +38 -10
  12. package/dist/cli/format.js.map +1 -1
  13. package/dist/cli/help.d.ts.map +1 -1
  14. package/dist/cli/help.js +22 -15
  15. package/dist/cli/help.js.map +1 -1
  16. package/dist/cli/plugin-check.d.ts +10 -1
  17. package/dist/cli/plugin-check.d.ts.map +1 -1
  18. package/dist/cli/plugin-check.js +45 -4
  19. package/dist/cli/plugin-check.js.map +1 -1
  20. package/dist/cli/plugin-cli.d.ts +1 -1
  21. package/dist/cli/plugin-cli.d.ts.map +1 -1
  22. package/dist/cli/plugin-cli.js +80 -5
  23. package/dist/cli/plugin-cli.js.map +1 -1
  24. package/dist/cli/plugin-init.d.ts +19 -0
  25. package/dist/cli/plugin-init.d.ts.map +1 -1
  26. package/dist/cli/plugin-init.js +141 -3
  27. package/dist/cli/plugin-init.js.map +1 -1
  28. package/dist/client.d.ts +7 -2
  29. package/dist/client.d.ts.map +1 -1
  30. package/dist/client.js +18 -5
  31. package/dist/client.js.map +1 -1
  32. package/dist/compat.js +1 -1
  33. package/dist/components/board.d.ts +8 -0
  34. package/dist/components/board.d.ts.map +1 -1
  35. package/dist/components/board.js +3 -3
  36. package/dist/components/board.js.map +1 -1
  37. package/dist/components/comments.d.ts.map +1 -1
  38. package/dist/components/comments.js +1 -1
  39. package/dist/components/comments.js.map +1 -1
  40. package/dist/components/decision-form.d.ts +8 -1
  41. package/dist/components/decision-form.d.ts.map +1 -1
  42. package/dist/components/decision-form.js +57 -7
  43. package/dist/components/decision-form.js.map +1 -1
  44. package/dist/components/decision-list.d.ts +9 -1
  45. package/dist/components/decision-list.d.ts.map +1 -1
  46. package/dist/components/decision-list.js +53 -7
  47. package/dist/components/decision-list.js.map +1 -1
  48. package/dist/components/event-feed.d.ts.map +1 -1
  49. package/dist/components/event-feed.js +7 -1
  50. package/dist/components/event-feed.js.map +1 -1
  51. package/dist/components/goals.d.ts.map +1 -1
  52. package/dist/components/goals.js +2 -2
  53. package/dist/components/goals.js.map +1 -1
  54. package/dist/components/home.d.ts +35 -0
  55. package/dist/components/home.d.ts.map +1 -0
  56. package/dist/components/home.js +326 -0
  57. package/dist/components/home.js.map +1 -0
  58. package/dist/components/my-decisions.d.ts +2 -0
  59. package/dist/components/my-decisions.d.ts.map +1 -1
  60. package/dist/components/my-decisions.js +2 -2
  61. package/dist/components/my-decisions.js.map +1 -1
  62. package/dist/components/pack-connect.d.ts.map +1 -1
  63. package/dist/components/pack-connect.js +5 -4
  64. package/dist/components/pack-connect.js.map +1 -1
  65. package/dist/components/people.d.ts +2 -0
  66. package/dist/components/people.d.ts.map +1 -1
  67. package/dist/components/people.js +15 -2
  68. package/dist/components/people.js.map +1 -1
  69. package/dist/components/plugin-frame.d.ts +3 -12
  70. package/dist/components/plugin-frame.d.ts.map +1 -1
  71. package/dist/components/plugin-frame.js +53 -20
  72. package/dist/components/plugin-frame.js.map +1 -1
  73. package/dist/components/plugin-settings.d.ts.map +1 -1
  74. package/dist/components/plugin-settings.js +151 -26
  75. package/dist/components/plugin-settings.js.map +1 -1
  76. package/dist/components/projects.d.ts +0 -8
  77. package/dist/components/projects.d.ts.map +1 -1
  78. package/dist/components/projects.js +1 -13
  79. package/dist/components/projects.js.map +1 -1
  80. package/dist/components/task-view.d.ts +2 -1
  81. package/dist/components/task-view.d.ts.map +1 -1
  82. package/dist/components/task-view.js +2 -1
  83. package/dist/components/task-view.js.map +1 -1
  84. package/dist/components/ui.d.ts.map +1 -1
  85. package/dist/components/ui.js +5 -2
  86. package/dist/components/ui.js.map +1 -1
  87. package/dist/connect-page.d.ts.map +1 -1
  88. package/dist/connect-page.js +5 -6
  89. package/dist/connect-page.js.map +1 -1
  90. package/dist/console.css +764 -192
  91. package/dist/console.d.ts +10 -3
  92. package/dist/console.d.ts.map +1 -1
  93. package/dist/console.js +49 -28
  94. package/dist/console.js.map +1 -1
  95. package/dist/data.d.ts +6 -3
  96. package/dist/data.d.ts.map +1 -1
  97. package/dist/data.js +31 -7
  98. package/dist/data.js.map +1 -1
  99. package/dist/docs-page.d.ts.map +1 -1
  100. package/dist/docs-page.js +6 -5
  101. package/dist/docs-page.js.map +1 -1
  102. package/dist/home-tiles.d.ts +92 -0
  103. package/dist/home-tiles.d.ts.map +1 -0
  104. package/dist/home-tiles.js +294 -0
  105. package/dist/home-tiles.js.map +1 -0
  106. package/dist/i18n/en.d.ts +180 -0
  107. package/dist/i18n/en.d.ts.map +1 -1
  108. package/dist/i18n/en.js +181 -1
  109. package/dist/i18n/en.js.map +1 -1
  110. package/dist/i18n/index.d.ts +4 -2
  111. package/dist/i18n/index.d.ts.map +1 -1
  112. package/dist/i18n/index.js +10 -11
  113. package/dist/i18n/index.js.map +1 -1
  114. package/dist/i18n/ko.d.ts.map +1 -1
  115. package/dist/i18n/ko.js +176 -3
  116. package/dist/i18n/ko.js.map +1 -1
  117. package/dist/index.d.ts +4 -3
  118. package/dist/index.d.ts.map +1 -1
  119. package/dist/index.js +4 -3
  120. package/dist/index.js.map +1 -1
  121. package/dist/limits.d.ts +8 -0
  122. package/dist/limits.d.ts.map +1 -1
  123. package/dist/limits.js +8 -0
  124. package/dist/limits.js.map +1 -1
  125. package/dist/plugin/bridge.d.ts +44 -3
  126. package/dist/plugin/bridge.d.ts.map +1 -1
  127. package/dist/plugin/bridge.js +26 -0
  128. package/dist/plugin/bridge.js.map +1 -1
  129. package/dist/plugin/capabilities.d.ts +7 -1
  130. package/dist/plugin/capabilities.d.ts.map +1 -1
  131. package/dist/plugin/capabilities.js +14 -1
  132. package/dist/plugin/capabilities.js.map +1 -1
  133. package/dist/plugin/context.d.ts +24 -1
  134. package/dist/plugin/context.d.ts.map +1 -1
  135. package/dist/plugin/define.d.ts +1 -0
  136. package/dist/plugin/define.d.ts.map +1 -1
  137. package/dist/plugin/define.js +1 -1
  138. package/dist/plugin/define.js.map +1 -1
  139. package/dist/plugin/limits.d.ts +5 -2
  140. package/dist/plugin/limits.d.ts.map +1 -1
  141. package/dist/plugin/limits.js +5 -2
  142. package/dist/plugin/limits.js.map +1 -1
  143. package/dist/plugin/manifest.d.ts +83 -6
  144. package/dist/plugin/manifest.d.ts.map +1 -1
  145. package/dist/plugin/manifest.js +111 -7
  146. package/dist/plugin/manifest.js.map +1 -1
  147. package/dist/plugin/rest-schemas.d.ts +76 -0
  148. package/dist/plugin/rest-schemas.d.ts.map +1 -1
  149. package/dist/plugin/rest-schemas.js +23 -2
  150. package/dist/plugin/rest-schemas.js.map +1 -1
  151. package/dist/plugin/sandbox.d.ts +4 -3
  152. package/dist/plugin/sandbox.d.ts.map +1 -1
  153. package/dist/plugin/sandbox.js +33 -6
  154. package/dist/plugin/sandbox.js.map +1 -1
  155. package/dist/plugin/semver.d.ts +26 -0
  156. package/dist/plugin/semver.d.ts.map +1 -0
  157. package/dist/plugin/semver.js +76 -0
  158. package/dist/plugin/semver.js.map +1 -0
  159. package/dist/plugin/testing.d.ts.map +1 -1
  160. package/dist/plugin/testing.js +2 -1
  161. package/dist/plugin/testing.js.map +1 -1
  162. package/dist/plugin/web.d.ts +10 -1
  163. package/dist/plugin/web.d.ts.map +1 -1
  164. package/dist/plugin/web.js +34 -0
  165. package/dist/plugin/web.js.map +1 -1
  166. package/dist/plugin.d.ts +3 -2
  167. package/dist/plugin.d.ts.map +1 -1
  168. package/dist/plugin.js +3 -2
  169. package/dist/plugin.js.map +1 -1
  170. package/dist/rules.d.ts +2 -2
  171. package/dist/rules.js +3 -3
  172. package/dist/schemas.d.ts +574 -11
  173. package/dist/schemas.d.ts.map +1 -1
  174. package/dist/schemas.js +154 -25
  175. package/dist/schemas.js.map +1 -1
  176. package/dist/use-action.d.ts +8 -2
  177. package/dist/use-action.d.ts.map +1 -1
  178. package/dist/use-action.js +13 -6
  179. package/dist/use-action.js.map +1 -1
  180. package/dist/vocabulary.d.ts +3 -1
  181. package/dist/vocabulary.d.ts.map +1 -1
  182. package/dist/vocabulary.js +3 -0
  183. package/dist/vocabulary.js.map +1 -1
  184. package/docs/specs/cli.md +4 -3
  185. package/docs/specs/plugins.md +49 -35
  186. package/docs/specs/rest.md +20 -18
  187. package/package.json +7 -7
  188. package/skills/building-a-plugin/SKILL.md +10 -9
  189. package/skills/planning-the-board/references/setting-up.md +2 -1
  190. package/skills/working-the-board/SKILL.md +3 -3
  191. package/src/api.ts +10 -0
  192. package/src/cli/cli.ts +162 -39
  193. package/src/cli/format.ts +54 -10
  194. package/src/cli/help.ts +23 -14
  195. package/src/cli/plugin-check.ts +68 -2
  196. package/src/cli/plugin-cli.ts +104 -6
  197. package/src/cli/plugin-init.ts +178 -3
  198. package/src/client.ts +36 -9
  199. package/src/compat.ts +1 -1
  200. package/src/components/board.tsx +3 -3
  201. package/src/components/comments.tsx +1 -0
  202. package/src/components/decision-form.tsx +166 -29
  203. package/src/components/decision-list.tsx +116 -15
  204. package/src/components/event-feed.tsx +7 -1
  205. package/src/components/goals.tsx +4 -1
  206. package/src/components/home.tsx +615 -0
  207. package/src/components/my-decisions.tsx +4 -1
  208. package/src/components/pack-connect.tsx +5 -4
  209. package/src/components/people.tsx +136 -54
  210. package/src/components/plugin-frame.tsx +62 -63
  211. package/src/components/plugin-settings.tsx +428 -87
  212. package/src/components/projects.tsx +0 -55
  213. package/src/components/task-view.tsx +9 -1
  214. package/src/components/ui.tsx +6 -2
  215. package/src/connect-page.tsx +5 -6
  216. package/src/console.tsx +98 -42
  217. package/src/data.ts +41 -11
  218. package/src/docs-page.tsx +6 -5
  219. package/src/home-tiles.ts +438 -0
  220. package/src/i18n/en.ts +185 -0
  221. package/src/i18n/index.ts +17 -14
  222. package/src/i18n/ko.ts +181 -3
  223. package/src/index.ts +7 -5
  224. package/src/limits.ts +8 -0
  225. package/src/plugin/bridge.ts +77 -1
  226. package/src/plugin/capabilities.ts +17 -1
  227. package/src/plugin/context.ts +24 -2
  228. package/src/plugin/define.ts +4 -1
  229. package/src/plugin/limits.ts +5 -2
  230. package/src/plugin/manifest.ts +154 -10
  231. package/src/plugin/rest-schemas.ts +27 -1
  232. package/src/plugin/sandbox.ts +36 -8
  233. package/src/plugin/semver.ts +89 -0
  234. package/src/plugin/testing.ts +2 -1
  235. package/src/plugin/web.ts +49 -0
  236. package/src/plugin.ts +18 -0
  237. package/src/rules.ts +3 -3
  238. package/src/schemas.ts +190 -28
  239. package/src/styles/console.css +764 -192
  240. package/src/use-action.ts +16 -7
  241. package/src/vocabulary.ts +4 -0
  242. package/template/plugin/console-plugin.json +3 -1
  243. package/template/plugin/package.json +3 -3
package/dist/schemas.d.ts CHANGED
@@ -1,6 +1,5 @@
1
1
  import * as z from "zod/mini";
2
2
  import { type ProviderKey } from "./vocabulary.js";
3
- /** A person of the workspace, as the pages show them. Nothing here is a secret. */
4
3
  export declare const restPersonSchema: z.ZodMiniObject<{
5
4
  id: z.ZodMiniUUID;
6
5
  login: z.ZodMiniString<string>;
@@ -20,6 +19,8 @@ export declare const restPersonSchema: z.ZodMiniObject<{
20
19
  organization: "organization";
21
20
  }>;
22
21
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
22
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
23
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
23
24
  }, z.core.$strip>;
24
25
  export type RestPerson = z.infer<typeof restPersonSchema>;
25
26
  /** The provider a login belongs to, by its shape: an address is Google's, anything else the git host's. */
@@ -78,8 +79,146 @@ export type RestProvider = z.infer<typeof restProviderSchema>;
78
79
  */
79
80
  export declare const timeZoneName: z.ZodMiniString<string>;
80
81
  /** What `PATCH /api/v1/me` is sent: the language the person chose, or `null` to choose none. */
82
+ /** The sizes of a tile on the front page (ADR-0061): a project's icon, and the widgets' family. */
83
+ export declare const HOME_TILE_SIZES: readonly ["icon", "small", "medium", "large", "wide", "full"];
84
+ /** One tile of a person's own front page, at a place of the grid and at a size. */
85
+ export declare const restHomeTileSchema: z.ZodMiniObject<{
86
+ tile: z.ZodMiniString<string>;
87
+ x: z.ZodMiniInt;
88
+ y: z.ZodMiniInt;
89
+ size: z.ZodMiniEnum<{
90
+ full: "full";
91
+ icon: "icon";
92
+ large: "large";
93
+ medium: "medium";
94
+ small: "small";
95
+ wide: "wide";
96
+ }>;
97
+ }, z.core.$strip>;
98
+ export type RestHomeTile = z.infer<typeof restHomeTileSchema>;
99
+ /**
100
+ * A person's own front page (ADR-0061): the tiles they took off it, which stay off, and what
101
+ * they arranged at each width of the grid, by its columns; what they have not seen yet takes
102
+ * the first room.
103
+ */
104
+ export declare const restHomeSchema: z.ZodMiniObject<{
105
+ hidden: z.ZodMiniArray<z.ZodMiniString<string>>;
106
+ layouts: z.ZodMiniObject<{
107
+ 12: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
108
+ tile: z.ZodMiniString<string>;
109
+ x: z.ZodMiniInt;
110
+ y: z.ZodMiniInt;
111
+ size: z.ZodMiniEnum<{
112
+ full: "full";
113
+ icon: "icon";
114
+ large: "large";
115
+ medium: "medium";
116
+ small: "small";
117
+ wide: "wide";
118
+ }>;
119
+ }, z.core.$strip>>>;
120
+ 8: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
121
+ tile: z.ZodMiniString<string>;
122
+ x: z.ZodMiniInt;
123
+ y: z.ZodMiniInt;
124
+ size: z.ZodMiniEnum<{
125
+ full: "full";
126
+ icon: "icon";
127
+ large: "large";
128
+ medium: "medium";
129
+ small: "small";
130
+ wide: "wide";
131
+ }>;
132
+ }, z.core.$strip>>>;
133
+ 6: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
134
+ tile: z.ZodMiniString<string>;
135
+ x: z.ZodMiniInt;
136
+ y: z.ZodMiniInt;
137
+ size: z.ZodMiniEnum<{
138
+ full: "full";
139
+ icon: "icon";
140
+ large: "large";
141
+ medium: "medium";
142
+ small: "small";
143
+ wide: "wide";
144
+ }>;
145
+ }, z.core.$strip>>>;
146
+ 4: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
147
+ tile: z.ZodMiniString<string>;
148
+ x: z.ZodMiniInt;
149
+ y: z.ZodMiniInt;
150
+ size: z.ZodMiniEnum<{
151
+ full: "full";
152
+ icon: "icon";
153
+ large: "large";
154
+ medium: "medium";
155
+ small: "small";
156
+ wide: "wide";
157
+ }>;
158
+ }, z.core.$strip>>>;
159
+ }, z.core.$strip>;
160
+ }, z.core.$strip>;
161
+ export type RestHome = z.infer<typeof restHomeSchema>;
162
+ /** What `PATCH /api/v1/me` is sent: the language, the front page, either or both; `null` lets the console choose. */
81
163
  export declare const restMePatchSchema: z.ZodMiniObject<{
82
- language: z.ZodMiniNullable<z.ZodMiniString<string>>;
164
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
165
+ home: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
166
+ hidden: z.ZodMiniArray<z.ZodMiniString<string>>;
167
+ layouts: z.ZodMiniObject<{
168
+ 12: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
169
+ tile: z.ZodMiniString<string>;
170
+ x: z.ZodMiniInt;
171
+ y: z.ZodMiniInt;
172
+ size: z.ZodMiniEnum<{
173
+ full: "full";
174
+ icon: "icon";
175
+ large: "large";
176
+ medium: "medium";
177
+ small: "small";
178
+ wide: "wide";
179
+ }>;
180
+ }, z.core.$strip>>>;
181
+ 8: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
182
+ tile: z.ZodMiniString<string>;
183
+ x: z.ZodMiniInt;
184
+ y: z.ZodMiniInt;
185
+ size: z.ZodMiniEnum<{
186
+ full: "full";
187
+ icon: "icon";
188
+ large: "large";
189
+ medium: "medium";
190
+ small: "small";
191
+ wide: "wide";
192
+ }>;
193
+ }, z.core.$strip>>>;
194
+ 6: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
195
+ tile: z.ZodMiniString<string>;
196
+ x: z.ZodMiniInt;
197
+ y: z.ZodMiniInt;
198
+ size: z.ZodMiniEnum<{
199
+ full: "full";
200
+ icon: "icon";
201
+ large: "large";
202
+ medium: "medium";
203
+ small: "small";
204
+ wide: "wide";
205
+ }>;
206
+ }, z.core.$strip>>>;
207
+ 4: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
208
+ tile: z.ZodMiniString<string>;
209
+ x: z.ZodMiniInt;
210
+ y: z.ZodMiniInt;
211
+ size: z.ZodMiniEnum<{
212
+ full: "full";
213
+ icon: "icon";
214
+ large: "large";
215
+ medium: "medium";
216
+ small: "small";
217
+ wide: "wide";
218
+ }>;
219
+ }, z.core.$strip>>>;
220
+ }, z.core.$strip>;
221
+ }, z.core.$strip>>>;
83
222
  }, z.core.$strip>;
84
223
  export type RestMePatch = z.infer<typeof restMePatchSchema>;
85
224
  /**
@@ -169,9 +308,68 @@ export declare const restMeSchema: z.ZodMiniObject<{
169
308
  organization: "organization";
170
309
  }>;
171
310
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
311
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
312
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
172
313
  }, z.core.$strip>>;
173
314
  agent: z.ZodMiniNullable<z.ZodMiniString<string>>;
174
315
  language: z.ZodMiniNullable<z.ZodMiniString<string>>;
316
+ home: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
317
+ hidden: z.ZodMiniArray<z.ZodMiniString<string>>;
318
+ layouts: z.ZodMiniObject<{
319
+ 12: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
320
+ tile: z.ZodMiniString<string>;
321
+ x: z.ZodMiniInt;
322
+ y: z.ZodMiniInt;
323
+ size: z.ZodMiniEnum<{
324
+ full: "full";
325
+ icon: "icon";
326
+ large: "large";
327
+ medium: "medium";
328
+ small: "small";
329
+ wide: "wide";
330
+ }>;
331
+ }, z.core.$strip>>>;
332
+ 8: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
333
+ tile: z.ZodMiniString<string>;
334
+ x: z.ZodMiniInt;
335
+ y: z.ZodMiniInt;
336
+ size: z.ZodMiniEnum<{
337
+ full: "full";
338
+ icon: "icon";
339
+ large: "large";
340
+ medium: "medium";
341
+ small: "small";
342
+ wide: "wide";
343
+ }>;
344
+ }, z.core.$strip>>>;
345
+ 6: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
346
+ tile: z.ZodMiniString<string>;
347
+ x: z.ZodMiniInt;
348
+ y: z.ZodMiniInt;
349
+ size: z.ZodMiniEnum<{
350
+ full: "full";
351
+ icon: "icon";
352
+ large: "large";
353
+ medium: "medium";
354
+ small: "small";
355
+ wide: "wide";
356
+ }>;
357
+ }, z.core.$strip>>>;
358
+ 4: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
359
+ tile: z.ZodMiniString<string>;
360
+ x: z.ZodMiniInt;
361
+ y: z.ZodMiniInt;
362
+ size: z.ZodMiniEnum<{
363
+ full: "full";
364
+ icon: "icon";
365
+ large: "large";
366
+ medium: "medium";
367
+ small: "small";
368
+ wide: "wide";
369
+ }>;
370
+ }, z.core.$strip>>>;
371
+ }, z.core.$strip>;
372
+ }, z.core.$strip>>>;
175
373
  signIn: z.ZodMiniArray<z.ZodMiniObject<{
176
374
  key: z.ZodMiniEnum<{
177
375
  gh: "gh";
@@ -187,6 +385,9 @@ export declare const restMeSchema: z.ZodMiniObject<{
187
385
  version: z.ZodMiniString<string>;
188
386
  clientRange: z.ZodMiniString<string>;
189
387
  }, z.core.$strip>>;
388
+ decisions: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
389
+ waiting: z.ZodMiniInt;
390
+ }, z.core.$strip>>>;
190
391
  }, z.core.$strip>;
191
392
  export type RestMe = z.infer<typeof restMeSchema>;
192
393
  /**
@@ -213,6 +414,8 @@ export declare const restPeopleSchema: z.ZodMiniObject<{
213
414
  organization: "organization";
214
415
  }>;
215
416
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
417
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
418
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
216
419
  }, z.core.$strip>>;
217
420
  listed: z.ZodMiniArray<z.ZodMiniObject<{
218
421
  id: z.ZodMiniUUID;
@@ -246,6 +449,7 @@ export declare const restPersonPatchSchema: z.ZodMiniObject<{
246
449
  active: "active";
247
450
  deactivated: "deactivated";
248
451
  }>>;
452
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
249
453
  }, z.core.$strip>;
250
454
  export type RestPersonPatch = z.infer<typeof restPersonPatchSchema>;
251
455
  /** The words under `/projects/` that are the pages' own, which no project may be called. */
@@ -420,6 +624,8 @@ export declare const restMemberSchema: z.ZodMiniObject<{
420
624
  organization: "organization";
421
625
  }>;
422
626
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
627
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
628
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
423
629
  }, z.core.$strip>;
424
630
  role: z.ZodMiniEnum<{
425
631
  member: "member";
@@ -451,6 +657,8 @@ export declare const restMembersSchema: z.ZodMiniObject<{
451
657
  organization: "organization";
452
658
  }>;
453
659
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
660
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
661
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
454
662
  }, z.core.$strip>;
455
663
  role: z.ZodMiniEnum<{
456
664
  member: "member";
@@ -590,8 +798,11 @@ export declare const restTaskSchema: z.ZodMiniObject<{
590
798
  organization: "organization";
591
799
  }>;
592
800
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
801
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
802
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
593
803
  }, z.core.$strip>;
594
804
  plugin: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
805
+ agent: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
595
806
  workers: z.ZodMiniArray<z.ZodMiniObject<{
596
807
  id: z.ZodMiniUUID;
597
808
  login: z.ZodMiniString<string>;
@@ -611,6 +822,8 @@ export declare const restTaskSchema: z.ZodMiniObject<{
611
822
  organization: "organization";
612
823
  }>;
613
824
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
825
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
826
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
614
827
  }, z.core.$strip>>;
615
828
  parentId: z.ZodMiniNullable<z.ZodMiniUUID>;
616
829
  category: z.ZodMiniNullable<z.ZodMiniObject<{
@@ -693,8 +906,11 @@ export declare const restTasksSchema: z.ZodMiniObject<{
693
906
  organization: "organization";
694
907
  }>;
695
908
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
909
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
910
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
696
911
  }, z.core.$strip>;
697
912
  plugin: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
913
+ agent: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
698
914
  workers: z.ZodMiniArray<z.ZodMiniObject<{
699
915
  id: z.ZodMiniUUID;
700
916
  login: z.ZodMiniString<string>;
@@ -714,6 +930,8 @@ export declare const restTasksSchema: z.ZodMiniObject<{
714
930
  organization: "organization";
715
931
  }>;
716
932
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
933
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
934
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
717
935
  }, z.core.$strip>>;
718
936
  parentId: z.ZodMiniNullable<z.ZodMiniUUID>;
719
937
  category: z.ZodMiniNullable<z.ZodMiniObject<{
@@ -867,7 +1085,10 @@ export declare const restGoalSchema: z.ZodMiniObject<{
867
1085
  organization: "organization";
868
1086
  }>;
869
1087
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
1088
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
1089
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
870
1090
  }, z.core.$strip>;
1091
+ agent: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
871
1092
  taskCounts: z.ZodMiniObject<{
872
1093
  idea: z.ZodMiniInt;
873
1094
  ready: z.ZodMiniInt;
@@ -927,7 +1148,10 @@ export declare const restGoalsSchema: z.ZodMiniObject<{
927
1148
  organization: "organization";
928
1149
  }>;
929
1150
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
1151
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
1152
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
930
1153
  }, z.core.$strip>;
1154
+ agent: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
931
1155
  taskCounts: z.ZodMiniObject<{
932
1156
  idea: z.ZodMiniInt;
933
1157
  ready: z.ZodMiniInt;
@@ -972,9 +1196,34 @@ export declare const restGoalPatchSchema: z.ZodMiniObject<{
972
1196
  dueOn: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniISODate>>;
973
1197
  }, z.core.$strip>;
974
1198
  export type RestGoalPatch = z.infer<typeof restGoalPatchSchema>;
1199
+ /** A file a run handed in, as the console keeps it; its bytes are at `projectPath(key, "files", <artifact id>)`. */
1200
+ export declare const restFileSchema: z.ZodMiniObject<{
1201
+ name: z.ZodMiniString<string>;
1202
+ size: z.ZodMiniInt;
1203
+ contentType: z.ZodMiniString<string>;
1204
+ sha256: z.ZodMiniString<string>;
1205
+ }, z.core.$strip>;
1206
+ export type RestFile = z.infer<typeof restFileSchema>;
1207
+ /** A file put on a decision when it was raised (ADR-0055), kept as a run's file is; its bytes are at `projectPath(key, "files", <id>)`. */
1208
+ export declare const restDecisionFileSchema: z.ZodMiniObject<{
1209
+ id: z.ZodMiniUUID;
1210
+ file: z.ZodMiniObject<{
1211
+ name: z.ZodMiniString<string>;
1212
+ size: z.ZodMiniInt;
1213
+ contentType: z.ZodMiniString<string>;
1214
+ sha256: z.ZodMiniString<string>;
1215
+ }, z.core.$strip>;
1216
+ }, z.core.$strip>;
1217
+ export type RestDecisionFile = z.infer<typeof restDecisionFileSchema>;
1218
+ /**
1219
+ * The key a raiser may give an option, for a program to read the answer by instead of
1220
+ * comparing labels: spelled as a plugin's key is.
1221
+ */
1222
+ export declare const OPTION_KEY_PATTERN: RegExp;
975
1223
  export declare const restDecisionOptionSchema: z.ZodMiniObject<{
976
1224
  id: z.ZodMiniString<string>;
977
1225
  label: z.ZodMiniString<string>;
1226
+ key: z.ZodMiniOptional<z.ZodMiniString<string>>;
978
1227
  own: z.ZodMiniOptional<z.ZodMiniLiteral<true>>;
979
1228
  }, z.core.$strip>;
980
1229
  export type RestDecisionOption = z.infer<typeof restDecisionOptionSchema>;
@@ -985,6 +1234,7 @@ export declare const restDecisionSchema: z.ZodMiniObject<{
985
1234
  options: z.ZodMiniArray<z.ZodMiniObject<{
986
1235
  id: z.ZodMiniString<string>;
987
1236
  label: z.ZodMiniString<string>;
1237
+ key: z.ZodMiniOptional<z.ZodMiniString<string>>;
988
1238
  own: z.ZodMiniOptional<z.ZodMiniLiteral<true>>;
989
1239
  }, z.core.$strip>>;
990
1240
  taskId: z.ZodMiniNullable<z.ZodMiniUUID>;
@@ -1008,6 +1258,8 @@ export declare const restDecisionSchema: z.ZodMiniObject<{
1008
1258
  organization: "organization";
1009
1259
  }>;
1010
1260
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
1261
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
1262
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1011
1263
  }, z.core.$strip>;
1012
1264
  decider: z.ZodMiniObject<{
1013
1265
  id: z.ZodMiniUUID;
@@ -1028,7 +1280,31 @@ export declare const restDecisionSchema: z.ZodMiniObject<{
1028
1280
  organization: "organization";
1029
1281
  }>;
1030
1282
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
1283
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
1284
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1031
1285
  }, z.core.$strip>;
1286
+ deciders: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
1287
+ id: z.ZodMiniUUID;
1288
+ login: z.ZodMiniString<string>;
1289
+ name: z.ZodMiniNullable<z.ZodMiniString<string>>;
1290
+ avatar: z.ZodMiniNullable<z.ZodMiniString<string>>;
1291
+ role: z.ZodMiniEnum<{
1292
+ admin: "admin";
1293
+ member: "member";
1294
+ }>;
1295
+ status: z.ZodMiniEnum<{
1296
+ active: "active";
1297
+ deactivated: "deactivated";
1298
+ }>;
1299
+ source: z.ZodMiniEnum<{
1300
+ domain: "domain";
1301
+ listed: "listed";
1302
+ organization: "organization";
1303
+ }>;
1304
+ deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
1305
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
1306
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1307
+ }, z.core.$strip>>>;
1032
1308
  run: z.ZodMiniNullable<z.ZodMiniObject<{
1033
1309
  id: z.ZodMiniUUID;
1034
1310
  agent: z.ZodMiniString<string>;
@@ -1056,10 +1332,46 @@ export declare const restDecisionSchema: z.ZodMiniObject<{
1056
1332
  organization: "organization";
1057
1333
  }>;
1058
1334
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
1335
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
1336
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1059
1337
  }, z.core.$strip>;
1060
1338
  at: z.ZodMiniISODateTime;
1339
+ agent: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1061
1340
  }, z.core.$strip>>;
1062
1341
  outcome: z.ZodMiniNullable<z.ZodMiniString<string>>;
1342
+ outcomeBy: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
1343
+ id: z.ZodMiniUUID;
1344
+ login: z.ZodMiniString<string>;
1345
+ name: z.ZodMiniNullable<z.ZodMiniString<string>>;
1346
+ avatar: z.ZodMiniNullable<z.ZodMiniString<string>>;
1347
+ role: z.ZodMiniEnum<{
1348
+ admin: "admin";
1349
+ member: "member";
1350
+ }>;
1351
+ status: z.ZodMiniEnum<{
1352
+ active: "active";
1353
+ deactivated: "deactivated";
1354
+ }>;
1355
+ source: z.ZodMiniEnum<{
1356
+ domain: "domain";
1357
+ listed: "listed";
1358
+ organization: "organization";
1359
+ }>;
1360
+ deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
1361
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
1362
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1363
+ }, z.core.$strip>>>;
1364
+ outcomeAgent: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1365
+ outcomeAt: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniISODateTime>>;
1366
+ files: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
1367
+ id: z.ZodMiniUUID;
1368
+ file: z.ZodMiniObject<{
1369
+ name: z.ZodMiniString<string>;
1370
+ size: z.ZodMiniInt;
1371
+ contentType: z.ZodMiniString<string>;
1372
+ sha256: z.ZodMiniString<string>;
1373
+ }, z.core.$strip>;
1374
+ }, z.core.$strip>>>;
1063
1375
  createdAt: z.ZodMiniISODateTime;
1064
1376
  updatedAt: z.ZodMiniISODateTime;
1065
1377
  }, z.core.$strip>;
@@ -1073,6 +1385,7 @@ export declare const restDecisionsSchema: z.ZodMiniObject<{
1073
1385
  options: z.ZodMiniArray<z.ZodMiniObject<{
1074
1386
  id: z.ZodMiniString<string>;
1075
1387
  label: z.ZodMiniString<string>;
1388
+ key: z.ZodMiniOptional<z.ZodMiniString<string>>;
1076
1389
  own: z.ZodMiniOptional<z.ZodMiniLiteral<true>>;
1077
1390
  }, z.core.$strip>>;
1078
1391
  taskId: z.ZodMiniNullable<z.ZodMiniUUID>;
@@ -1096,6 +1409,8 @@ export declare const restDecisionsSchema: z.ZodMiniObject<{
1096
1409
  organization: "organization";
1097
1410
  }>;
1098
1411
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
1412
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
1413
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1099
1414
  }, z.core.$strip>;
1100
1415
  decider: z.ZodMiniObject<{
1101
1416
  id: z.ZodMiniUUID;
@@ -1116,7 +1431,31 @@ export declare const restDecisionsSchema: z.ZodMiniObject<{
1116
1431
  organization: "organization";
1117
1432
  }>;
1118
1433
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
1434
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
1435
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1119
1436
  }, z.core.$strip>;
1437
+ deciders: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
1438
+ id: z.ZodMiniUUID;
1439
+ login: z.ZodMiniString<string>;
1440
+ name: z.ZodMiniNullable<z.ZodMiniString<string>>;
1441
+ avatar: z.ZodMiniNullable<z.ZodMiniString<string>>;
1442
+ role: z.ZodMiniEnum<{
1443
+ admin: "admin";
1444
+ member: "member";
1445
+ }>;
1446
+ status: z.ZodMiniEnum<{
1447
+ active: "active";
1448
+ deactivated: "deactivated";
1449
+ }>;
1450
+ source: z.ZodMiniEnum<{
1451
+ domain: "domain";
1452
+ listed: "listed";
1453
+ organization: "organization";
1454
+ }>;
1455
+ deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
1456
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
1457
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1458
+ }, z.core.$strip>>>;
1120
1459
  run: z.ZodMiniNullable<z.ZodMiniObject<{
1121
1460
  id: z.ZodMiniUUID;
1122
1461
  agent: z.ZodMiniString<string>;
@@ -1144,10 +1483,46 @@ export declare const restDecisionsSchema: z.ZodMiniObject<{
1144
1483
  organization: "organization";
1145
1484
  }>;
1146
1485
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
1486
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
1487
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1147
1488
  }, z.core.$strip>;
1148
1489
  at: z.ZodMiniISODateTime;
1490
+ agent: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1149
1491
  }, z.core.$strip>>;
1150
1492
  outcome: z.ZodMiniNullable<z.ZodMiniString<string>>;
1493
+ outcomeBy: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
1494
+ id: z.ZodMiniUUID;
1495
+ login: z.ZodMiniString<string>;
1496
+ name: z.ZodMiniNullable<z.ZodMiniString<string>>;
1497
+ avatar: z.ZodMiniNullable<z.ZodMiniString<string>>;
1498
+ role: z.ZodMiniEnum<{
1499
+ admin: "admin";
1500
+ member: "member";
1501
+ }>;
1502
+ status: z.ZodMiniEnum<{
1503
+ active: "active";
1504
+ deactivated: "deactivated";
1505
+ }>;
1506
+ source: z.ZodMiniEnum<{
1507
+ domain: "domain";
1508
+ listed: "listed";
1509
+ organization: "organization";
1510
+ }>;
1511
+ deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
1512
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
1513
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1514
+ }, z.core.$strip>>>;
1515
+ outcomeAgent: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1516
+ outcomeAt: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniISODateTime>>;
1517
+ files: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
1518
+ id: z.ZodMiniUUID;
1519
+ file: z.ZodMiniObject<{
1520
+ name: z.ZodMiniString<string>;
1521
+ size: z.ZodMiniInt;
1522
+ contentType: z.ZodMiniString<string>;
1523
+ sha256: z.ZodMiniString<string>;
1524
+ }, z.core.$strip>;
1525
+ }, z.core.$strip>>>;
1151
1526
  createdAt: z.ZodMiniISODateTime;
1152
1527
  updatedAt: z.ZodMiniISODateTime;
1153
1528
  }, z.core.$strip>>;
@@ -1224,8 +1599,11 @@ export declare const restWorkSchema: z.ZodMiniObject<{
1224
1599
  organization: "organization";
1225
1600
  }>;
1226
1601
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
1602
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
1603
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1227
1604
  }, z.core.$strip>;
1228
1605
  plugin: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1606
+ agent: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1229
1607
  workers: z.ZodMiniArray<z.ZodMiniObject<{
1230
1608
  id: z.ZodMiniUUID;
1231
1609
  login: z.ZodMiniString<string>;
@@ -1245,6 +1623,8 @@ export declare const restWorkSchema: z.ZodMiniObject<{
1245
1623
  organization: "organization";
1246
1624
  }>;
1247
1625
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
1626
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
1627
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1248
1628
  }, z.core.$strip>>;
1249
1629
  parentId: z.ZodMiniNullable<z.ZodMiniUUID>;
1250
1630
  category: z.ZodMiniNullable<z.ZodMiniObject<{
@@ -1340,8 +1720,11 @@ export declare const restWorkSchema: z.ZodMiniObject<{
1340
1720
  organization: "organization";
1341
1721
  }>;
1342
1722
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
1723
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
1724
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1343
1725
  }, z.core.$strip>;
1344
1726
  plugin: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1727
+ agent: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1345
1728
  workers: z.ZodMiniArray<z.ZodMiniObject<{
1346
1729
  id: z.ZodMiniUUID;
1347
1730
  login: z.ZodMiniString<string>;
@@ -1361,6 +1744,8 @@ export declare const restWorkSchema: z.ZodMiniObject<{
1361
1744
  organization: "organization";
1362
1745
  }>;
1363
1746
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
1747
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
1748
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1364
1749
  }, z.core.$strip>>;
1365
1750
  parentId: z.ZodMiniNullable<z.ZodMiniUUID>;
1366
1751
  category: z.ZodMiniNullable<z.ZodMiniObject<{
@@ -1425,6 +1810,7 @@ export declare const restWorkSchema: z.ZodMiniObject<{
1425
1810
  options: z.ZodMiniArray<z.ZodMiniObject<{
1426
1811
  id: z.ZodMiniString<string>;
1427
1812
  label: z.ZodMiniString<string>;
1813
+ key: z.ZodMiniOptional<z.ZodMiniString<string>>;
1428
1814
  own: z.ZodMiniOptional<z.ZodMiniLiteral<true>>;
1429
1815
  }, z.core.$strip>>;
1430
1816
  taskId: z.ZodMiniNullable<z.ZodMiniUUID>;
@@ -1448,6 +1834,8 @@ export declare const restWorkSchema: z.ZodMiniObject<{
1448
1834
  organization: "organization";
1449
1835
  }>;
1450
1836
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
1837
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
1838
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1451
1839
  }, z.core.$strip>;
1452
1840
  decider: z.ZodMiniObject<{
1453
1841
  id: z.ZodMiniUUID;
@@ -1468,7 +1856,31 @@ export declare const restWorkSchema: z.ZodMiniObject<{
1468
1856
  organization: "organization";
1469
1857
  }>;
1470
1858
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
1859
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
1860
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1471
1861
  }, z.core.$strip>;
1862
+ deciders: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
1863
+ id: z.ZodMiniUUID;
1864
+ login: z.ZodMiniString<string>;
1865
+ name: z.ZodMiniNullable<z.ZodMiniString<string>>;
1866
+ avatar: z.ZodMiniNullable<z.ZodMiniString<string>>;
1867
+ role: z.ZodMiniEnum<{
1868
+ admin: "admin";
1869
+ member: "member";
1870
+ }>;
1871
+ status: z.ZodMiniEnum<{
1872
+ active: "active";
1873
+ deactivated: "deactivated";
1874
+ }>;
1875
+ source: z.ZodMiniEnum<{
1876
+ domain: "domain";
1877
+ listed: "listed";
1878
+ organization: "organization";
1879
+ }>;
1880
+ deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
1881
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
1882
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1883
+ }, z.core.$strip>>>;
1472
1884
  run: z.ZodMiniNullable<z.ZodMiniObject<{
1473
1885
  id: z.ZodMiniUUID;
1474
1886
  agent: z.ZodMiniString<string>;
@@ -1496,10 +1908,46 @@ export declare const restWorkSchema: z.ZodMiniObject<{
1496
1908
  organization: "organization";
1497
1909
  }>;
1498
1910
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
1911
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
1912
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1499
1913
  }, z.core.$strip>;
1500
1914
  at: z.ZodMiniISODateTime;
1915
+ agent: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1501
1916
  }, z.core.$strip>>;
1502
1917
  outcome: z.ZodMiniNullable<z.ZodMiniString<string>>;
1918
+ outcomeBy: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
1919
+ id: z.ZodMiniUUID;
1920
+ login: z.ZodMiniString<string>;
1921
+ name: z.ZodMiniNullable<z.ZodMiniString<string>>;
1922
+ avatar: z.ZodMiniNullable<z.ZodMiniString<string>>;
1923
+ role: z.ZodMiniEnum<{
1924
+ admin: "admin";
1925
+ member: "member";
1926
+ }>;
1927
+ status: z.ZodMiniEnum<{
1928
+ active: "active";
1929
+ deactivated: "deactivated";
1930
+ }>;
1931
+ source: z.ZodMiniEnum<{
1932
+ domain: "domain";
1933
+ listed: "listed";
1934
+ organization: "organization";
1935
+ }>;
1936
+ deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
1937
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
1938
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1939
+ }, z.core.$strip>>>;
1940
+ outcomeAgent: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1941
+ outcomeAt: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniISODateTime>>;
1942
+ files: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
1943
+ id: z.ZodMiniUUID;
1944
+ file: z.ZodMiniObject<{
1945
+ name: z.ZodMiniString<string>;
1946
+ size: z.ZodMiniInt;
1947
+ contentType: z.ZodMiniString<string>;
1948
+ sha256: z.ZodMiniString<string>;
1949
+ }, z.core.$strip>;
1950
+ }, z.core.$strip>>>;
1503
1951
  createdAt: z.ZodMiniISODateTime;
1504
1952
  updatedAt: z.ZodMiniISODateTime;
1505
1953
  }, z.core.$strip>;
@@ -1544,6 +1992,7 @@ export declare const restMyDecisionsSchema: z.ZodMiniObject<{
1544
1992
  options: z.ZodMiniArray<z.ZodMiniObject<{
1545
1993
  id: z.ZodMiniString<string>;
1546
1994
  label: z.ZodMiniString<string>;
1995
+ key: z.ZodMiniOptional<z.ZodMiniString<string>>;
1547
1996
  own: z.ZodMiniOptional<z.ZodMiniLiteral<true>>;
1548
1997
  }, z.core.$strip>>;
1549
1998
  taskId: z.ZodMiniNullable<z.ZodMiniUUID>;
@@ -1567,6 +2016,8 @@ export declare const restMyDecisionsSchema: z.ZodMiniObject<{
1567
2016
  organization: "organization";
1568
2017
  }>;
1569
2018
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
2019
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
2020
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1570
2021
  }, z.core.$strip>;
1571
2022
  decider: z.ZodMiniObject<{
1572
2023
  id: z.ZodMiniUUID;
@@ -1587,7 +2038,31 @@ export declare const restMyDecisionsSchema: z.ZodMiniObject<{
1587
2038
  organization: "organization";
1588
2039
  }>;
1589
2040
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
2041
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
2042
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1590
2043
  }, z.core.$strip>;
2044
+ deciders: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
2045
+ id: z.ZodMiniUUID;
2046
+ login: z.ZodMiniString<string>;
2047
+ name: z.ZodMiniNullable<z.ZodMiniString<string>>;
2048
+ avatar: z.ZodMiniNullable<z.ZodMiniString<string>>;
2049
+ role: z.ZodMiniEnum<{
2050
+ admin: "admin";
2051
+ member: "member";
2052
+ }>;
2053
+ status: z.ZodMiniEnum<{
2054
+ active: "active";
2055
+ deactivated: "deactivated";
2056
+ }>;
2057
+ source: z.ZodMiniEnum<{
2058
+ domain: "domain";
2059
+ listed: "listed";
2060
+ organization: "organization";
2061
+ }>;
2062
+ deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
2063
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
2064
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2065
+ }, z.core.$strip>>>;
1591
2066
  run: z.ZodMiniNullable<z.ZodMiniObject<{
1592
2067
  id: z.ZodMiniUUID;
1593
2068
  agent: z.ZodMiniString<string>;
@@ -1615,10 +2090,46 @@ export declare const restMyDecisionsSchema: z.ZodMiniObject<{
1615
2090
  organization: "organization";
1616
2091
  }>;
1617
2092
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
2093
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
2094
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1618
2095
  }, z.core.$strip>;
1619
2096
  at: z.ZodMiniISODateTime;
2097
+ agent: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1620
2098
  }, z.core.$strip>>;
1621
2099
  outcome: z.ZodMiniNullable<z.ZodMiniString<string>>;
2100
+ outcomeBy: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
2101
+ id: z.ZodMiniUUID;
2102
+ login: z.ZodMiniString<string>;
2103
+ name: z.ZodMiniNullable<z.ZodMiniString<string>>;
2104
+ avatar: z.ZodMiniNullable<z.ZodMiniString<string>>;
2105
+ role: z.ZodMiniEnum<{
2106
+ admin: "admin";
2107
+ member: "member";
2108
+ }>;
2109
+ status: z.ZodMiniEnum<{
2110
+ active: "active";
2111
+ deactivated: "deactivated";
2112
+ }>;
2113
+ source: z.ZodMiniEnum<{
2114
+ domain: "domain";
2115
+ listed: "listed";
2116
+ organization: "organization";
2117
+ }>;
2118
+ deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
2119
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
2120
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2121
+ }, z.core.$strip>>>;
2122
+ outcomeAgent: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2123
+ outcomeAt: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniISODateTime>>;
2124
+ files: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
2125
+ id: z.ZodMiniUUID;
2126
+ file: z.ZodMiniObject<{
2127
+ name: z.ZodMiniString<string>;
2128
+ size: z.ZodMiniInt;
2129
+ contentType: z.ZodMiniString<string>;
2130
+ sha256: z.ZodMiniString<string>;
2131
+ }, z.core.$strip>;
2132
+ }, z.core.$strip>>>;
1622
2133
  createdAt: z.ZodMiniISODateTime;
1623
2134
  updatedAt: z.ZodMiniISODateTime;
1624
2135
  }, z.core.$strip>;
@@ -1695,8 +2206,11 @@ export declare const restPersonWorkSchema: z.ZodMiniObject<{
1695
2206
  organization: "organization";
1696
2207
  }>;
1697
2208
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
2209
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
2210
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1698
2211
  }, z.core.$strip>;
1699
2212
  plugin: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2213
+ agent: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1700
2214
  workers: z.ZodMiniArray<z.ZodMiniObject<{
1701
2215
  id: z.ZodMiniUUID;
1702
2216
  login: z.ZodMiniString<string>;
@@ -1716,6 +2230,8 @@ export declare const restPersonWorkSchema: z.ZodMiniObject<{
1716
2230
  organization: "organization";
1717
2231
  }>;
1718
2232
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
2233
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
2234
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1719
2235
  }, z.core.$strip>>;
1720
2236
  parentId: z.ZodMiniNullable<z.ZodMiniUUID>;
1721
2237
  category: z.ZodMiniNullable<z.ZodMiniObject<{
@@ -1811,8 +2327,11 @@ export declare const restPersonWorkSchema: z.ZodMiniObject<{
1811
2327
  organization: "organization";
1812
2328
  }>;
1813
2329
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
2330
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
2331
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1814
2332
  }, z.core.$strip>;
1815
2333
  plugin: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2334
+ agent: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1816
2335
  workers: z.ZodMiniArray<z.ZodMiniObject<{
1817
2336
  id: z.ZodMiniUUID;
1818
2337
  login: z.ZodMiniString<string>;
@@ -1832,6 +2351,8 @@ export declare const restPersonWorkSchema: z.ZodMiniObject<{
1832
2351
  organization: "organization";
1833
2352
  }>;
1834
2353
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
2354
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
2355
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1835
2356
  }, z.core.$strip>>;
1836
2357
  parentId: z.ZodMiniNullable<z.ZodMiniUUID>;
1837
2358
  category: z.ZodMiniNullable<z.ZodMiniObject<{
@@ -1866,16 +2387,22 @@ export declare const restPersonWorkSchema: z.ZodMiniObject<{
1866
2387
  }, z.core.$strip>>>;
1867
2388
  }, z.core.$strip>;
1868
2389
  export type RestPersonWork = z.infer<typeof restPersonWorkSchema>;
1869
- /** What `POST /api/v1/projects/<key>/decisions` is sent: the question, its context, and the options. */
2390
+ /**
2391
+ * What `POST /api/v1/projects/<key>/decisions` is sent: the question, its context, and the
2392
+ * options. As JSON; or, with files put on the decision (ADR-0055), as the part `decision` of a
2393
+ * form, with a part `file` for each file.
2394
+ */
1870
2395
  export declare const restDecisionInputSchema: z.ZodMiniObject<{
1871
2396
  question: z.ZodMiniString<string>;
1872
2397
  body: z.ZodMiniOptional<z.ZodMiniString<string>>;
1873
2398
  options: z.ZodMiniArray<z.ZodMiniObject<{
1874
2399
  label: z.ZodMiniString<string>;
2400
+ key: z.ZodMiniOptional<z.ZodMiniString<string>>;
1875
2401
  }, z.core.$strip>>;
1876
2402
  taskId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
1877
2403
  runId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
1878
2404
  deciderId: z.ZodMiniOptional<z.ZodMiniUUID>;
2405
+ deciderIds: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniUUID>>;
1879
2406
  }, z.core.$strip>;
1880
2407
  export type RestDecisionInput = z.infer<typeof restDecisionInputSchema>;
1881
2408
  /** What `PATCH .../decisions/<id>` is sent: the record growing, its context or what followed; only what changes. */
@@ -1922,8 +2449,10 @@ export declare const restEventDataSchema: z.ZodMiniObject<{
1922
2449
  }>>;
1923
2450
  question: z.ZodMiniOptional<z.ZodMiniString<string>>;
1924
2451
  option: z.ZodMiniOptional<z.ZodMiniString<string>>;
2452
+ optionKey: z.ZodMiniOptional<z.ZodMiniString<string>>;
1925
2453
  login: z.ZodMiniOptional<z.ZodMiniString<string>>;
1926
2454
  role: z.ZodMiniOptional<z.ZodMiniString<string>>;
2455
+ manager: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1927
2456
  key: z.ZodMiniOptional<z.ZodMiniString<string>>;
1928
2457
  name: z.ZodMiniOptional<z.ZodMiniString<string>>;
1929
2458
  agent: z.ZodMiniOptional<z.ZodMiniString<string>>;
@@ -1971,6 +2500,7 @@ export declare const restEventSchema: z.ZodMiniObject<{
1971
2500
  "person.deactivated": "person.deactivated";
1972
2501
  "person.joined": "person.joined";
1973
2502
  "person.listed": "person.listed";
2503
+ "person.manager_changed": "person.manager_changed";
1974
2504
  "person.reactivated": "person.reactivated";
1975
2505
  "person.role_changed": "person.role_changed";
1976
2506
  "person.unlisted": "person.unlisted";
@@ -2020,6 +2550,8 @@ export declare const restEventSchema: z.ZodMiniObject<{
2020
2550
  organization: "organization";
2021
2551
  }>;
2022
2552
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
2553
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
2554
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2023
2555
  }, z.core.$strip>>;
2024
2556
  agent: z.ZodMiniNullable<z.ZodMiniString<string>>;
2025
2557
  projectId: z.ZodMiniNullable<z.ZodMiniUUID>;
@@ -2053,8 +2585,10 @@ export declare const restEventSchema: z.ZodMiniObject<{
2053
2585
  }>>;
2054
2586
  question: z.ZodMiniOptional<z.ZodMiniString<string>>;
2055
2587
  option: z.ZodMiniOptional<z.ZodMiniString<string>>;
2588
+ optionKey: z.ZodMiniOptional<z.ZodMiniString<string>>;
2056
2589
  login: z.ZodMiniOptional<z.ZodMiniString<string>>;
2057
2590
  role: z.ZodMiniOptional<z.ZodMiniString<string>>;
2591
+ manager: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2058
2592
  key: z.ZodMiniOptional<z.ZodMiniString<string>>;
2059
2593
  name: z.ZodMiniOptional<z.ZodMiniString<string>>;
2060
2594
  agent: z.ZodMiniOptional<z.ZodMiniString<string>>;
@@ -2093,14 +2627,6 @@ export declare const restReportSchema: z.ZodMiniObject<{
2093
2627
  createdAt: z.ZodMiniISODateTime;
2094
2628
  }, z.core.$strip>;
2095
2629
  export type RestReport = z.infer<typeof restReportSchema>;
2096
- /** A file a run handed in, as the console keeps it; its bytes are at `projectPath(key, "files", <artifact id>)`. */
2097
- export declare const restFileSchema: z.ZodMiniObject<{
2098
- name: z.ZodMiniString<string>;
2099
- size: z.ZodMiniInt;
2100
- contentType: z.ZodMiniString<string>;
2101
- sha256: z.ZodMiniString<string>;
2102
- }, z.core.$strip>;
2103
- export type RestFile = z.infer<typeof restFileSchema>;
2104
2630
  /** What a run handed in: a link to a branch, a pull request, a page; or a file the console keeps. */
2105
2631
  export declare const restArtifactSchema: z.ZodMiniObject<{
2106
2632
  id: z.ZodMiniUUID;
@@ -2143,6 +2669,8 @@ export declare const restRunSchema: z.ZodMiniObject<{
2143
2669
  organization: "organization";
2144
2670
  }>;
2145
2671
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
2672
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
2673
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2146
2674
  }, z.core.$strip>;
2147
2675
  agent: z.ZodMiniString<string>;
2148
2676
  status: z.ZodMiniEnum<{
@@ -2205,6 +2733,8 @@ export declare const restRunsSchema: z.ZodMiniObject<{
2205
2733
  organization: "organization";
2206
2734
  }>;
2207
2735
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
2736
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
2737
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2208
2738
  }, z.core.$strip>;
2209
2739
  agent: z.ZodMiniString<string>;
2210
2740
  status: z.ZodMiniEnum<{
@@ -2281,6 +2811,8 @@ export declare const restCommentSchema: z.ZodMiniObject<{
2281
2811
  organization: "organization";
2282
2812
  }>;
2283
2813
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
2814
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
2815
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2284
2816
  }, z.core.$strip>;
2285
2817
  agent: z.ZodMiniNullable<z.ZodMiniString<string>>;
2286
2818
  body: z.ZodMiniString<string>;
@@ -2320,6 +2852,8 @@ export declare const restCommentsSchema: z.ZodMiniObject<{
2320
2852
  organization: "organization";
2321
2853
  }>;
2322
2854
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
2855
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
2856
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2323
2857
  }, z.core.$strip>;
2324
2858
  agent: z.ZodMiniNullable<z.ZodMiniString<string>>;
2325
2859
  body: z.ZodMiniString<string>;
@@ -2356,6 +2890,7 @@ export declare const restEventsSchema: z.ZodMiniObject<{
2356
2890
  "person.deactivated": "person.deactivated";
2357
2891
  "person.joined": "person.joined";
2358
2892
  "person.listed": "person.listed";
2893
+ "person.manager_changed": "person.manager_changed";
2359
2894
  "person.reactivated": "person.reactivated";
2360
2895
  "person.role_changed": "person.role_changed";
2361
2896
  "person.unlisted": "person.unlisted";
@@ -2405,6 +2940,8 @@ export declare const restEventsSchema: z.ZodMiniObject<{
2405
2940
  organization: "organization";
2406
2941
  }>;
2407
2942
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
2943
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
2944
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2408
2945
  }, z.core.$strip>>;
2409
2946
  agent: z.ZodMiniNullable<z.ZodMiniString<string>>;
2410
2947
  projectId: z.ZodMiniNullable<z.ZodMiniUUID>;
@@ -2438,8 +2975,10 @@ export declare const restEventsSchema: z.ZodMiniObject<{
2438
2975
  }>>;
2439
2976
  question: z.ZodMiniOptional<z.ZodMiniString<string>>;
2440
2977
  option: z.ZodMiniOptional<z.ZodMiniString<string>>;
2978
+ optionKey: z.ZodMiniOptional<z.ZodMiniString<string>>;
2441
2979
  login: z.ZodMiniOptional<z.ZodMiniString<string>>;
2442
2980
  role: z.ZodMiniOptional<z.ZodMiniString<string>>;
2981
+ manager: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2443
2982
  key: z.ZodMiniOptional<z.ZodMiniString<string>>;
2444
2983
  name: z.ZodMiniOptional<z.ZodMiniString<string>>;
2445
2984
  agent: z.ZodMiniOptional<z.ZodMiniString<string>>;
@@ -3255,6 +3794,8 @@ export declare const restDocumentSummarySchema: z.ZodMiniObject<{
3255
3794
  organization: "organization";
3256
3795
  }>;
3257
3796
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
3797
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
3798
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
3258
3799
  }, z.core.$strip>;
3259
3800
  agent: z.ZodMiniNullable<z.ZodMiniString<string>>;
3260
3801
  plugin: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
@@ -3291,6 +3832,8 @@ export declare const restDocumentsSchema: z.ZodMiniObject<{
3291
3832
  organization: "organization";
3292
3833
  }>;
3293
3834
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
3835
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
3836
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
3294
3837
  }, z.core.$strip>;
3295
3838
  agent: z.ZodMiniNullable<z.ZodMiniString<string>>;
3296
3839
  plugin: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
@@ -3348,6 +3891,8 @@ export declare const restDocumentFileSchema: z.ZodMiniObject<{
3348
3891
  organization: "organization";
3349
3892
  }>;
3350
3893
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
3894
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
3895
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
3351
3896
  }, z.core.$strip>;
3352
3897
  agent: z.ZodMiniNullable<z.ZodMiniString<string>>;
3353
3898
  createdAt: z.ZodMiniISODateTime;
@@ -3378,6 +3923,8 @@ export declare const restDocumentSchema: z.ZodMiniObject<{
3378
3923
  organization: "organization";
3379
3924
  }>;
3380
3925
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
3926
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
3927
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
3381
3928
  }, z.core.$strip>;
3382
3929
  agent: z.ZodMiniNullable<z.ZodMiniString<string>>;
3383
3930
  plugin: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
@@ -3404,6 +3951,8 @@ export declare const restDocumentSchema: z.ZodMiniObject<{
3404
3951
  organization: "organization";
3405
3952
  }>;
3406
3953
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
3954
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
3955
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
3407
3956
  }, z.core.$strip>;
3408
3957
  links: z.ZodMiniArray<z.ZodMiniObject<{
3409
3958
  path: z.ZodMiniString<string>;
@@ -3448,6 +3997,8 @@ export declare const restDocumentSchema: z.ZodMiniObject<{
3448
3997
  organization: "organization";
3449
3998
  }>;
3450
3999
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
4000
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
4001
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
3451
4002
  }, z.core.$strip>;
3452
4003
  agent: z.ZodMiniNullable<z.ZodMiniString<string>>;
3453
4004
  createdAt: z.ZodMiniISODateTime;
@@ -3510,6 +4061,8 @@ export declare const restRulesSchema: z.ZodMiniObject<{
3510
4061
  organization: "organization";
3511
4062
  }>;
3512
4063
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
4064
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
4065
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
3513
4066
  }, z.core.$strip>;
3514
4067
  agent: z.ZodMiniNullable<z.ZodMiniString<string>>;
3515
4068
  plugin: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
@@ -3559,6 +4112,8 @@ export declare const restProjectRulesSchema: z.ZodMiniObject<{
3559
4112
  organization: "organization";
3560
4113
  }>;
3561
4114
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
4115
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
4116
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
3562
4117
  }, z.core.$strip>;
3563
4118
  agent: z.ZodMiniNullable<z.ZodMiniString<string>>;
3564
4119
  plugin: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
@@ -3605,6 +4160,8 @@ export declare const restProjectRulesSchema: z.ZodMiniObject<{
3605
4160
  organization: "organization";
3606
4161
  }>;
3607
4162
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
4163
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
4164
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
3608
4165
  }, z.core.$strip>;
3609
4166
  agent: z.ZodMiniNullable<z.ZodMiniString<string>>;
3610
4167
  plugin: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
@@ -3658,6 +4215,8 @@ export declare const restVersionSummarySchema: z.ZodMiniObject<{
3658
4215
  organization: "organization";
3659
4216
  }>;
3660
4217
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
4218
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
4219
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
3661
4220
  }, z.core.$strip>;
3662
4221
  agent: z.ZodMiniNullable<z.ZodMiniString<string>>;
3663
4222
  createdAt: z.ZodMiniISODateTime;
@@ -3687,6 +4246,8 @@ export declare const restVersionsSchema: z.ZodMiniObject<{
3687
4246
  organization: "organization";
3688
4247
  }>;
3689
4248
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
4249
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
4250
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
3690
4251
  }, z.core.$strip>;
3691
4252
  agent: z.ZodMiniNullable<z.ZodMiniString<string>>;
3692
4253
  createdAt: z.ZodMiniISODateTime;
@@ -3716,6 +4277,8 @@ export declare const restVersionSchema: z.ZodMiniObject<{
3716
4277
  organization: "organization";
3717
4278
  }>;
3718
4279
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
4280
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
4281
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
3719
4282
  }, z.core.$strip>;
3720
4283
  agent: z.ZodMiniNullable<z.ZodMiniString<string>>;
3721
4284
  createdAt: z.ZodMiniISODateTime;