@skillcdn/console 0.4.3 → 0.4.5

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 (268) hide show
  1. package/README.md +6 -6
  2. package/dist/api.d.ts +4 -4
  3. package/dist/api.d.ts.map +1 -1
  4. package/dist/api.js +4 -4
  5. package/dist/api.js.map +1 -1
  6. package/dist/cli/cli.d.ts.map +1 -1
  7. package/dist/cli/cli.js +255 -33
  8. package/dist/cli/cli.js.map +1 -1
  9. package/dist/cli/format.d.ts +20 -5
  10. package/dist/cli/format.d.ts.map +1 -1
  11. package/dist/cli/format.js +98 -26
  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 +39 -15
  15. package/dist/cli/help.js.map +1 -1
  16. package/dist/cli/plugin-check.d.ts +5 -1
  17. package/dist/cli/plugin-check.d.ts.map +1 -1
  18. package/dist/cli/plugin-check.js +23 -4
  19. package/dist/cli/plugin-check.js.map +1 -1
  20. package/dist/cli/plugin-cli.d.ts.map +1 -1
  21. package/dist/cli/plugin-cli.js +10 -1
  22. package/dist/cli/plugin-cli.js.map +1 -1
  23. package/dist/cli/plugin-init.d.ts +2 -0
  24. package/dist/cli/plugin-init.d.ts.map +1 -1
  25. package/dist/cli/plugin-init.js +6 -0
  26. package/dist/cli/plugin-init.js.map +1 -1
  27. package/dist/client.d.ts +32 -1
  28. package/dist/client.d.ts.map +1 -1
  29. package/dist/client.js +14 -2
  30. package/dist/client.js.map +1 -1
  31. package/dist/compat.js +1 -1
  32. package/dist/components/board.d.ts +8 -0
  33. package/dist/components/board.d.ts.map +1 -1
  34. package/dist/components/board.js +49 -18
  35. package/dist/components/board.js.map +1 -1
  36. package/dist/components/decision-form.d.ts +6 -3
  37. package/dist/components/decision-form.d.ts.map +1 -1
  38. package/dist/components/decision-form.js +24 -18
  39. package/dist/components/decision-form.js.map +1 -1
  40. package/dist/components/decision-list.d.ts +5 -1
  41. package/dist/components/decision-list.d.ts.map +1 -1
  42. package/dist/components/decision-list.js +25 -5
  43. package/dist/components/decision-list.js.map +1 -1
  44. package/dist/components/event-feed.d.ts.map +1 -1
  45. package/dist/components/event-feed.js +34 -8
  46. package/dist/components/event-feed.js.map +1 -1
  47. package/dist/components/goals.d.ts.map +1 -1
  48. package/dist/components/goals.js +2 -2
  49. package/dist/components/goals.js.map +1 -1
  50. package/dist/components/home.d.ts +35 -0
  51. package/dist/components/home.d.ts.map +1 -0
  52. package/dist/components/home.js +326 -0
  53. package/dist/components/home.js.map +1 -0
  54. package/dist/components/my-decisions.d.ts +20 -3
  55. package/dist/components/my-decisions.d.ts.map +1 -1
  56. package/dist/components/my-decisions.js +14 -1
  57. package/dist/components/my-decisions.js.map +1 -1
  58. package/dist/components/pack-connect.d.ts.map +1 -1
  59. package/dist/components/pack-connect.js +5 -4
  60. package/dist/components/pack-connect.js.map +1 -1
  61. package/dist/components/people.d.ts +45 -1
  62. package/dist/components/people.d.ts.map +1 -1
  63. package/dist/components/people.js +125 -4
  64. package/dist/components/people.js.map +1 -1
  65. package/dist/components/picker.d.ts +8 -0
  66. package/dist/components/picker.d.ts.map +1 -1
  67. package/dist/components/picker.js +2 -2
  68. package/dist/components/picker.js.map +1 -1
  69. package/dist/components/plugin-frame.d.ts +3 -13
  70. package/dist/components/plugin-frame.d.ts.map +1 -1
  71. package/dist/components/plugin-frame.js +75 -21
  72. package/dist/components/plugin-frame.js.map +1 -1
  73. package/dist/components/plugin-settings.d.ts +5 -1
  74. package/dist/components/plugin-settings.d.ts.map +1 -1
  75. package/dist/components/plugin-settings.js +283 -45
  76. package/dist/components/plugin-settings.js.map +1 -1
  77. package/dist/components/projects.d.ts +0 -8
  78. package/dist/components/projects.d.ts.map +1 -1
  79. package/dist/components/projects.js +4 -14
  80. package/dist/components/projects.js.map +1 -1
  81. package/dist/components/searches.d.ts +11 -0
  82. package/dist/components/searches.d.ts.map +1 -0
  83. package/dist/components/searches.js +30 -0
  84. package/dist/components/searches.js.map +1 -0
  85. package/dist/components/task-form.d.ts.map +1 -1
  86. package/dist/components/task-form.js +6 -5
  87. package/dist/components/task-form.js.map +1 -1
  88. package/dist/components/task-view.d.ts.map +1 -1
  89. package/dist/components/task-view.js +2 -1
  90. package/dist/components/task-view.js.map +1 -1
  91. package/dist/components/ui.d.ts +16 -0
  92. package/dist/components/ui.d.ts.map +1 -1
  93. package/dist/components/ui.js +15 -2
  94. package/dist/components/ui.js.map +1 -1
  95. package/dist/connect-page.d.ts.map +1 -1
  96. package/dist/connect-page.js +5 -6
  97. package/dist/connect-page.js.map +1 -1
  98. package/dist/console.css +1123 -258
  99. package/dist/console.d.ts +12 -4
  100. package/dist/console.d.ts.map +1 -1
  101. package/dist/console.js +123 -27
  102. package/dist/console.js.map +1 -1
  103. package/dist/data.d.ts +18 -3
  104. package/dist/data.d.ts.map +1 -1
  105. package/dist/data.js +41 -1
  106. package/dist/data.js.map +1 -1
  107. package/dist/docs-page.d.ts.map +1 -1
  108. package/dist/docs-page.js +6 -5
  109. package/dist/docs-page.js.map +1 -1
  110. package/dist/home-tiles.d.ts +92 -0
  111. package/dist/home-tiles.d.ts.map +1 -0
  112. package/dist/home-tiles.js +294 -0
  113. package/dist/home-tiles.js.map +1 -0
  114. package/dist/i18n/en.d.ts +264 -1
  115. package/dist/i18n/en.d.ts.map +1 -1
  116. package/dist/i18n/en.js +260 -1
  117. package/dist/i18n/en.js.map +1 -1
  118. package/dist/i18n/index.d.ts +4 -2
  119. package/dist/i18n/index.d.ts.map +1 -1
  120. package/dist/i18n/index.js +10 -11
  121. package/dist/i18n/index.js.map +1 -1
  122. package/dist/i18n/ko.d.ts.map +1 -1
  123. package/dist/i18n/ko.js +255 -4
  124. package/dist/i18n/ko.js.map +1 -1
  125. package/dist/index.d.ts +7 -5
  126. package/dist/index.d.ts.map +1 -1
  127. package/dist/index.js +7 -5
  128. package/dist/index.js.map +1 -1
  129. package/dist/limits.d.ts +12 -0
  130. package/dist/limits.d.ts.map +1 -1
  131. package/dist/limits.js +12 -0
  132. package/dist/limits.js.map +1 -1
  133. package/dist/plugin/args.d.ts +6 -1
  134. package/dist/plugin/args.d.ts.map +1 -1
  135. package/dist/plugin/args.js +16 -11
  136. package/dist/plugin/args.js.map +1 -1
  137. package/dist/plugin/bridge.d.ts +63 -3
  138. package/dist/plugin/bridge.d.ts.map +1 -1
  139. package/dist/plugin/bridge.js +54 -0
  140. package/dist/plugin/bridge.js.map +1 -1
  141. package/dist/plugin/capabilities.d.ts +7 -1
  142. package/dist/plugin/capabilities.d.ts.map +1 -1
  143. package/dist/plugin/capabilities.js +24 -1
  144. package/dist/plugin/capabilities.js.map +1 -1
  145. package/dist/plugin/context.d.ts +174 -12
  146. package/dist/plugin/context.d.ts.map +1 -1
  147. package/dist/plugin/define.d.ts +14 -1
  148. package/dist/plugin/define.d.ts.map +1 -1
  149. package/dist/plugin/define.js +18 -2
  150. package/dist/plugin/define.js.map +1 -1
  151. package/dist/plugin/limits.d.ts +9 -2
  152. package/dist/plugin/limits.d.ts.map +1 -1
  153. package/dist/plugin/limits.js +9 -2
  154. package/dist/plugin/limits.js.map +1 -1
  155. package/dist/plugin/manifest.d.ts +98 -6
  156. package/dist/plugin/manifest.d.ts.map +1 -1
  157. package/dist/plugin/manifest.js +171 -10
  158. package/dist/plugin/manifest.js.map +1 -1
  159. package/dist/plugin/rest-schemas.d.ts +120 -0
  160. package/dist/plugin/rest-schemas.d.ts.map +1 -1
  161. package/dist/plugin/rest-schemas.js +78 -5
  162. package/dist/plugin/rest-schemas.js.map +1 -1
  163. package/dist/plugin/sandbox.d.ts +4 -3
  164. package/dist/plugin/sandbox.d.ts.map +1 -1
  165. package/dist/plugin/sandbox.js +33 -6
  166. package/dist/plugin/sandbox.js.map +1 -1
  167. package/dist/plugin/semver.d.ts +26 -0
  168. package/dist/plugin/semver.d.ts.map +1 -0
  169. package/dist/plugin/semver.js +76 -0
  170. package/dist/plugin/semver.js.map +1 -0
  171. package/dist/plugin/testing.d.ts +15 -1
  172. package/dist/plugin/testing.d.ts.map +1 -1
  173. package/dist/plugin/testing.js +42 -5
  174. package/dist/plugin/testing.js.map +1 -1
  175. package/dist/plugin/web.d.ts +16 -1
  176. package/dist/plugin/web.d.ts.map +1 -1
  177. package/dist/plugin/web.js +44 -1
  178. package/dist/plugin/web.js.map +1 -1
  179. package/dist/plugin.d.ts +3 -2
  180. package/dist/plugin.d.ts.map +1 -1
  181. package/dist/plugin.js +3 -2
  182. package/dist/plugin.js.map +1 -1
  183. package/dist/router.d.ts +19 -0
  184. package/dist/router.d.ts.map +1 -1
  185. package/dist/router.js +18 -0
  186. package/dist/router.js.map +1 -1
  187. package/dist/routes.d.ts +11 -2
  188. package/dist/routes.d.ts.map +1 -1
  189. package/dist/routes.js +14 -1
  190. package/dist/routes.js.map +1 -1
  191. package/dist/rules.d.ts +2 -2
  192. package/dist/rules.js +3 -3
  193. package/dist/schemas.d.ts +864 -2
  194. package/dist/schemas.d.ts.map +1 -1
  195. package/dist/schemas.js +156 -9
  196. package/dist/schemas.js.map +1 -1
  197. package/dist/use-action.d.ts +8 -2
  198. package/dist/use-action.d.ts.map +1 -1
  199. package/dist/use-action.js +13 -6
  200. package/dist/use-action.js.map +1 -1
  201. package/dist/vocabulary.d.ts +3 -1
  202. package/dist/vocabulary.d.ts.map +1 -1
  203. package/dist/vocabulary.js +9 -0
  204. package/dist/vocabulary.js.map +1 -1
  205. package/docs/specs/cli.md +10 -6
  206. package/docs/specs/plugins.md +83 -62
  207. package/docs/specs/rest.md +34 -16
  208. package/package.json +1 -1
  209. package/skills/building-a-plugin/SKILL.md +15 -12
  210. package/skills/planning-the-board/references/setting-up.md +2 -1
  211. package/skills/working-the-board/SKILL.md +3 -3
  212. package/src/api.ts +23 -0
  213. package/src/cli/cli.ts +323 -30
  214. package/src/cli/format.ts +122 -26
  215. package/src/cli/help.ts +43 -14
  216. package/src/cli/plugin-check.ts +41 -2
  217. package/src/cli/plugin-cli.ts +10 -1
  218. package/src/cli/plugin-init.ts +8 -0
  219. package/src/client.ts +78 -0
  220. package/src/compat.ts +1 -1
  221. package/src/components/board.tsx +86 -45
  222. package/src/components/decision-form.tsx +73 -36
  223. package/src/components/decision-list.tsx +45 -13
  224. package/src/components/event-feed.tsx +40 -7
  225. package/src/components/goals.tsx +4 -1
  226. package/src/components/home.tsx +615 -0
  227. package/src/components/my-decisions.tsx +50 -5
  228. package/src/components/pack-connect.tsx +5 -4
  229. package/src/components/people.tsx +500 -61
  230. package/src/components/picker.tsx +11 -2
  231. package/src/components/plugin-frame.tsx +85 -63
  232. package/src/components/plugin-settings.tsx +735 -185
  233. package/src/components/projects.tsx +14 -69
  234. package/src/components/searches.ts +47 -0
  235. package/src/components/task-form.tsx +23 -28
  236. package/src/components/task-view.tsx +7 -0
  237. package/src/components/ui.tsx +42 -2
  238. package/src/connect-page.tsx +5 -6
  239. package/src/console.tsx +303 -64
  240. package/src/data.ts +62 -3
  241. package/src/docs-page.tsx +6 -5
  242. package/src/home-tiles.ts +438 -0
  243. package/src/i18n/en.ts +274 -0
  244. package/src/i18n/index.ts +17 -14
  245. package/src/i18n/ko.ts +267 -4
  246. package/src/index.ts +18 -5
  247. package/src/limits.ts +12 -0
  248. package/src/plugin/args.ts +16 -11
  249. package/src/plugin/bridge.ts +122 -1
  250. package/src/plugin/capabilities.ts +28 -1
  251. package/src/plugin/context.ts +186 -9
  252. package/src/plugin/define.ts +38 -1
  253. package/src/plugin/limits.ts +9 -2
  254. package/src/plugin/manifest.ts +228 -13
  255. package/src/plugin/rest-schemas.ts +89 -6
  256. package/src/plugin/sandbox.ts +36 -8
  257. package/src/plugin/semver.ts +89 -0
  258. package/src/plugin/testing.ts +63 -6
  259. package/src/plugin/web.ts +66 -0
  260. package/src/plugin.ts +19 -0
  261. package/src/router.ts +25 -0
  262. package/src/routes.ts +17 -2
  263. package/src/rules.ts +3 -3
  264. package/src/schemas.ts +197 -10
  265. package/src/styles/console.css +1123 -258
  266. package/src/use-action.ts +16 -7
  267. package/src/vocabulary.ts +10 -0
  268. package/template/plugin/console-plugin.json +3 -1
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,10 @@ 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
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
24
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
25
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
23
26
  }, z.core.$strip>;
24
27
  export type RestPerson = z.infer<typeof restPersonSchema>;
25
28
  /** The provider a login belongs to, by its shape: an address is Google's, anything else the git host's. */
@@ -59,6 +62,41 @@ export declare const restListingInputSchema: z.ZodMiniObject<{
59
62
  login: z.ZodMiniString<string>;
60
63
  }, z.core.$strip>;
61
64
  export type RestListingInput = z.infer<typeof restListingInputSchema>;
65
+ /** A team of the workspace (ADR-0073): its key, its name and who is in it, among the people the asker may see. */
66
+ export declare const restTeamSchema: z.ZodMiniObject<{
67
+ id: z.ZodMiniUUID;
68
+ key: z.ZodMiniString<string>;
69
+ name: z.ZodMiniString<string>;
70
+ memberIds: z.ZodMiniArray<z.ZodMiniUUID>;
71
+ createdAt: z.ZodMiniISODateTime;
72
+ }, z.core.$strip>;
73
+ export type RestTeam = z.infer<typeof restTeamSchema>;
74
+ export declare const restTeamsSchema: z.ZodMiniObject<{
75
+ items: z.ZodMiniArray<z.ZodMiniObject<{
76
+ id: z.ZodMiniUUID;
77
+ key: z.ZodMiniString<string>;
78
+ name: z.ZodMiniString<string>;
79
+ memberIds: z.ZodMiniArray<z.ZodMiniUUID>;
80
+ createdAt: z.ZodMiniISODateTime;
81
+ }, z.core.$strip>>;
82
+ }, z.core.$strip>;
83
+ export type RestTeams = z.infer<typeof restTeamsSchema>;
84
+ /** What `POST /api/v1/teams` is sent: the key, which stays, and the name. */
85
+ export declare const restTeamInputSchema: z.ZodMiniObject<{
86
+ key: z.ZodMiniString<string>;
87
+ name: z.ZodMiniString<string>;
88
+ }, z.core.$strip>;
89
+ export type RestTeamInput = z.infer<typeof restTeamInputSchema>;
90
+ /** What `PATCH /api/v1/teams/<key>` is sent: the name; the key never changes. */
91
+ export declare const restTeamPatchSchema: z.ZodMiniObject<{
92
+ name: z.ZodMiniString<string>;
93
+ }, z.core.$strip>;
94
+ export type RestTeamPatch = z.infer<typeof restTeamPatchSchema>;
95
+ /** What `POST /api/v1/teams/<key>/members` is sent. */
96
+ export declare const restTeamMemberInputSchema: z.ZodMiniObject<{
97
+ personId: z.ZodMiniUUID;
98
+ }, z.core.$strip>;
99
+ export type RestTeamMemberInput = z.infer<typeof restTeamMemberInputSchema>;
62
100
  /** An identity provider people may sign in through, as the pages offer it. */
63
101
  export declare const restProviderSchema: z.ZodMiniObject<{
64
102
  key: z.ZodMiniEnum<{
@@ -78,8 +116,146 @@ export type RestProvider = z.infer<typeof restProviderSchema>;
78
116
  */
79
117
  export declare const timeZoneName: z.ZodMiniString<string>;
80
118
  /** What `PATCH /api/v1/me` is sent: the language the person chose, or `null` to choose none. */
119
+ /** The sizes of a tile on the front page (ADR-0061): a project's icon, and the widgets' family. */
120
+ export declare const HOME_TILE_SIZES: readonly ["icon", "small", "medium", "large", "wide", "full"];
121
+ /** One tile of a person's own front page, at a place of the grid and at a size. */
122
+ export declare const restHomeTileSchema: z.ZodMiniObject<{
123
+ tile: z.ZodMiniString<string>;
124
+ x: z.ZodMiniInt;
125
+ y: z.ZodMiniInt;
126
+ size: z.ZodMiniEnum<{
127
+ full: "full";
128
+ icon: "icon";
129
+ large: "large";
130
+ medium: "medium";
131
+ small: "small";
132
+ wide: "wide";
133
+ }>;
134
+ }, z.core.$strip>;
135
+ export type RestHomeTile = z.infer<typeof restHomeTileSchema>;
136
+ /**
137
+ * A person's own front page (ADR-0061): the tiles they took off it, which stay off, and what
138
+ * they arranged at each width of the grid, by its columns; what they have not seen yet takes
139
+ * the first room.
140
+ */
141
+ export declare const restHomeSchema: z.ZodMiniObject<{
142
+ hidden: z.ZodMiniArray<z.ZodMiniString<string>>;
143
+ layouts: z.ZodMiniObject<{
144
+ 12: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
145
+ tile: z.ZodMiniString<string>;
146
+ x: z.ZodMiniInt;
147
+ y: z.ZodMiniInt;
148
+ size: z.ZodMiniEnum<{
149
+ full: "full";
150
+ icon: "icon";
151
+ large: "large";
152
+ medium: "medium";
153
+ small: "small";
154
+ wide: "wide";
155
+ }>;
156
+ }, z.core.$strip>>>;
157
+ 8: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
158
+ tile: z.ZodMiniString<string>;
159
+ x: z.ZodMiniInt;
160
+ y: z.ZodMiniInt;
161
+ size: z.ZodMiniEnum<{
162
+ full: "full";
163
+ icon: "icon";
164
+ large: "large";
165
+ medium: "medium";
166
+ small: "small";
167
+ wide: "wide";
168
+ }>;
169
+ }, z.core.$strip>>>;
170
+ 6: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
171
+ tile: z.ZodMiniString<string>;
172
+ x: z.ZodMiniInt;
173
+ y: z.ZodMiniInt;
174
+ size: z.ZodMiniEnum<{
175
+ full: "full";
176
+ icon: "icon";
177
+ large: "large";
178
+ medium: "medium";
179
+ small: "small";
180
+ wide: "wide";
181
+ }>;
182
+ }, z.core.$strip>>>;
183
+ 4: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
184
+ tile: z.ZodMiniString<string>;
185
+ x: z.ZodMiniInt;
186
+ y: z.ZodMiniInt;
187
+ size: z.ZodMiniEnum<{
188
+ full: "full";
189
+ icon: "icon";
190
+ large: "large";
191
+ medium: "medium";
192
+ small: "small";
193
+ wide: "wide";
194
+ }>;
195
+ }, z.core.$strip>>>;
196
+ }, z.core.$strip>;
197
+ }, z.core.$strip>;
198
+ export type RestHome = z.infer<typeof restHomeSchema>;
199
+ /** What `PATCH /api/v1/me` is sent: the language, the front page, either or both; `null` lets the console choose. */
81
200
  export declare const restMePatchSchema: z.ZodMiniObject<{
82
- language: z.ZodMiniNullable<z.ZodMiniString<string>>;
201
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
202
+ home: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
203
+ hidden: z.ZodMiniArray<z.ZodMiniString<string>>;
204
+ layouts: z.ZodMiniObject<{
205
+ 12: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
206
+ tile: z.ZodMiniString<string>;
207
+ x: z.ZodMiniInt;
208
+ y: z.ZodMiniInt;
209
+ size: z.ZodMiniEnum<{
210
+ full: "full";
211
+ icon: "icon";
212
+ large: "large";
213
+ medium: "medium";
214
+ small: "small";
215
+ wide: "wide";
216
+ }>;
217
+ }, z.core.$strip>>>;
218
+ 8: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
219
+ tile: z.ZodMiniString<string>;
220
+ x: z.ZodMiniInt;
221
+ y: z.ZodMiniInt;
222
+ size: z.ZodMiniEnum<{
223
+ full: "full";
224
+ icon: "icon";
225
+ large: "large";
226
+ medium: "medium";
227
+ small: "small";
228
+ wide: "wide";
229
+ }>;
230
+ }, z.core.$strip>>>;
231
+ 6: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
232
+ tile: z.ZodMiniString<string>;
233
+ x: z.ZodMiniInt;
234
+ y: z.ZodMiniInt;
235
+ size: z.ZodMiniEnum<{
236
+ full: "full";
237
+ icon: "icon";
238
+ large: "large";
239
+ medium: "medium";
240
+ small: "small";
241
+ wide: "wide";
242
+ }>;
243
+ }, z.core.$strip>>>;
244
+ 4: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
245
+ tile: z.ZodMiniString<string>;
246
+ x: z.ZodMiniInt;
247
+ y: z.ZodMiniInt;
248
+ size: z.ZodMiniEnum<{
249
+ full: "full";
250
+ icon: "icon";
251
+ large: "large";
252
+ medium: "medium";
253
+ small: "small";
254
+ wide: "wide";
255
+ }>;
256
+ }, z.core.$strip>>>;
257
+ }, z.core.$strip>;
258
+ }, z.core.$strip>>>;
83
259
  }, z.core.$strip>;
84
260
  export type RestMePatch = z.infer<typeof restMePatchSchema>;
85
261
  /**
@@ -169,9 +345,70 @@ export declare const restMeSchema: z.ZodMiniObject<{
169
345
  organization: "organization";
170
346
  }>;
171
347
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
348
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
349
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
350
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
351
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
172
352
  }, z.core.$strip>>;
173
353
  agent: z.ZodMiniNullable<z.ZodMiniString<string>>;
174
354
  language: z.ZodMiniNullable<z.ZodMiniString<string>>;
355
+ home: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
356
+ hidden: z.ZodMiniArray<z.ZodMiniString<string>>;
357
+ layouts: z.ZodMiniObject<{
358
+ 12: 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
+ 8: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
372
+ tile: z.ZodMiniString<string>;
373
+ x: z.ZodMiniInt;
374
+ y: z.ZodMiniInt;
375
+ size: z.ZodMiniEnum<{
376
+ full: "full";
377
+ icon: "icon";
378
+ large: "large";
379
+ medium: "medium";
380
+ small: "small";
381
+ wide: "wide";
382
+ }>;
383
+ }, z.core.$strip>>>;
384
+ 6: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
385
+ tile: z.ZodMiniString<string>;
386
+ x: z.ZodMiniInt;
387
+ y: z.ZodMiniInt;
388
+ size: z.ZodMiniEnum<{
389
+ full: "full";
390
+ icon: "icon";
391
+ large: "large";
392
+ medium: "medium";
393
+ small: "small";
394
+ wide: "wide";
395
+ }>;
396
+ }, z.core.$strip>>>;
397
+ 4: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
398
+ tile: z.ZodMiniString<string>;
399
+ x: z.ZodMiniInt;
400
+ y: z.ZodMiniInt;
401
+ size: z.ZodMiniEnum<{
402
+ full: "full";
403
+ icon: "icon";
404
+ large: "large";
405
+ medium: "medium";
406
+ small: "small";
407
+ wide: "wide";
408
+ }>;
409
+ }, z.core.$strip>>>;
410
+ }, z.core.$strip>;
411
+ }, z.core.$strip>>>;
175
412
  signIn: z.ZodMiniArray<z.ZodMiniObject<{
176
413
  key: z.ZodMiniEnum<{
177
414
  gh: "gh";
@@ -216,6 +453,10 @@ export declare const restPeopleSchema: z.ZodMiniObject<{
216
453
  organization: "organization";
217
454
  }>;
218
455
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
456
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
457
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
458
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
459
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
219
460
  }, z.core.$strip>>;
220
461
  listed: z.ZodMiniArray<z.ZodMiniObject<{
221
462
  id: z.ZodMiniUUID;
@@ -249,6 +490,8 @@ export declare const restPersonPatchSchema: z.ZodMiniObject<{
249
490
  active: "active";
250
491
  deactivated: "deactivated";
251
492
  }>>;
493
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
494
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniEmail>>;
252
495
  }, z.core.$strip>;
253
496
  export type RestPersonPatch = z.infer<typeof restPersonPatchSchema>;
254
497
  /** The words under `/projects/` that are the pages' own, which no project may be called. */
@@ -423,6 +666,10 @@ export declare const restMemberSchema: z.ZodMiniObject<{
423
666
  organization: "organization";
424
667
  }>;
425
668
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
669
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
670
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
671
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
672
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
426
673
  }, z.core.$strip>;
427
674
  role: z.ZodMiniEnum<{
428
675
  member: "member";
@@ -454,6 +701,10 @@ export declare const restMembersSchema: z.ZodMiniObject<{
454
701
  organization: "organization";
455
702
  }>;
456
703
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
704
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
705
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
706
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
707
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
457
708
  }, z.core.$strip>;
458
709
  role: z.ZodMiniEnum<{
459
710
  member: "member";
@@ -593,8 +844,13 @@ export declare const restTaskSchema: z.ZodMiniObject<{
593
844
  organization: "organization";
594
845
  }>;
595
846
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
847
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
848
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
849
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
850
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
596
851
  }, z.core.$strip>;
597
852
  plugin: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
853
+ agent: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
598
854
  workers: z.ZodMiniArray<z.ZodMiniObject<{
599
855
  id: z.ZodMiniUUID;
600
856
  login: z.ZodMiniString<string>;
@@ -614,6 +870,10 @@ export declare const restTaskSchema: z.ZodMiniObject<{
614
870
  organization: "organization";
615
871
  }>;
616
872
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
873
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
874
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
875
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
876
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
617
877
  }, z.core.$strip>>;
618
878
  parentId: z.ZodMiniNullable<z.ZodMiniUUID>;
619
879
  category: z.ZodMiniNullable<z.ZodMiniObject<{
@@ -696,8 +956,13 @@ export declare const restTasksSchema: z.ZodMiniObject<{
696
956
  organization: "organization";
697
957
  }>;
698
958
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
959
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
960
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
961
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
962
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
699
963
  }, z.core.$strip>;
700
964
  plugin: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
965
+ agent: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
701
966
  workers: z.ZodMiniArray<z.ZodMiniObject<{
702
967
  id: z.ZodMiniUUID;
703
968
  login: z.ZodMiniString<string>;
@@ -717,6 +982,10 @@ export declare const restTasksSchema: z.ZodMiniObject<{
717
982
  organization: "organization";
718
983
  }>;
719
984
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
985
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
986
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
987
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
988
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
720
989
  }, z.core.$strip>>;
721
990
  parentId: z.ZodMiniNullable<z.ZodMiniUUID>;
722
991
  category: z.ZodMiniNullable<z.ZodMiniObject<{
@@ -870,7 +1139,12 @@ export declare const restGoalSchema: z.ZodMiniObject<{
870
1139
  organization: "organization";
871
1140
  }>;
872
1141
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
1142
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
1143
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
1144
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1145
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
873
1146
  }, z.core.$strip>;
1147
+ agent: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
874
1148
  taskCounts: z.ZodMiniObject<{
875
1149
  idea: z.ZodMiniInt;
876
1150
  ready: z.ZodMiniInt;
@@ -930,7 +1204,12 @@ export declare const restGoalsSchema: z.ZodMiniObject<{
930
1204
  organization: "organization";
931
1205
  }>;
932
1206
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
1207
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
1208
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
1209
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1210
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
933
1211
  }, z.core.$strip>;
1212
+ agent: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
934
1213
  taskCounts: z.ZodMiniObject<{
935
1214
  idea: z.ZodMiniInt;
936
1215
  ready: z.ZodMiniInt;
@@ -1037,6 +1316,10 @@ export declare const restDecisionSchema: z.ZodMiniObject<{
1037
1316
  organization: "organization";
1038
1317
  }>;
1039
1318
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
1319
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
1320
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
1321
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1322
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1040
1323
  }, z.core.$strip>;
1041
1324
  decider: z.ZodMiniObject<{
1042
1325
  id: z.ZodMiniUUID;
@@ -1057,7 +1340,35 @@ export declare const restDecisionSchema: z.ZodMiniObject<{
1057
1340
  organization: "organization";
1058
1341
  }>;
1059
1342
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
1343
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
1344
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
1345
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1346
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1060
1347
  }, z.core.$strip>;
1348
+ deciders: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
1349
+ id: z.ZodMiniUUID;
1350
+ login: z.ZodMiniString<string>;
1351
+ name: z.ZodMiniNullable<z.ZodMiniString<string>>;
1352
+ avatar: z.ZodMiniNullable<z.ZodMiniString<string>>;
1353
+ role: z.ZodMiniEnum<{
1354
+ admin: "admin";
1355
+ member: "member";
1356
+ }>;
1357
+ status: z.ZodMiniEnum<{
1358
+ active: "active";
1359
+ deactivated: "deactivated";
1360
+ }>;
1361
+ source: z.ZodMiniEnum<{
1362
+ domain: "domain";
1363
+ listed: "listed";
1364
+ organization: "organization";
1365
+ }>;
1366
+ deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
1367
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
1368
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
1369
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1370
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1371
+ }, z.core.$strip>>>;
1061
1372
  run: z.ZodMiniNullable<z.ZodMiniObject<{
1062
1373
  id: z.ZodMiniUUID;
1063
1374
  agent: z.ZodMiniString<string>;
@@ -1085,10 +1396,41 @@ export declare const restDecisionSchema: z.ZodMiniObject<{
1085
1396
  organization: "organization";
1086
1397
  }>;
1087
1398
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
1399
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
1400
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
1401
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1402
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1088
1403
  }, z.core.$strip>;
1089
1404
  at: z.ZodMiniISODateTime;
1405
+ agent: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1090
1406
  }, z.core.$strip>>;
1091
1407
  outcome: z.ZodMiniNullable<z.ZodMiniString<string>>;
1408
+ outcomeBy: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
1409
+ id: z.ZodMiniUUID;
1410
+ login: z.ZodMiniString<string>;
1411
+ name: z.ZodMiniNullable<z.ZodMiniString<string>>;
1412
+ avatar: z.ZodMiniNullable<z.ZodMiniString<string>>;
1413
+ role: z.ZodMiniEnum<{
1414
+ admin: "admin";
1415
+ member: "member";
1416
+ }>;
1417
+ status: z.ZodMiniEnum<{
1418
+ active: "active";
1419
+ deactivated: "deactivated";
1420
+ }>;
1421
+ source: z.ZodMiniEnum<{
1422
+ domain: "domain";
1423
+ listed: "listed";
1424
+ organization: "organization";
1425
+ }>;
1426
+ deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
1427
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
1428
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
1429
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1430
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1431
+ }, z.core.$strip>>>;
1432
+ outcomeAgent: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1433
+ outcomeAt: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniISODateTime>>;
1092
1434
  files: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
1093
1435
  id: z.ZodMiniUUID;
1094
1436
  file: z.ZodMiniObject<{
@@ -1135,6 +1477,10 @@ export declare const restDecisionsSchema: z.ZodMiniObject<{
1135
1477
  organization: "organization";
1136
1478
  }>;
1137
1479
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
1480
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
1481
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
1482
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1483
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1138
1484
  }, z.core.$strip>;
1139
1485
  decider: z.ZodMiniObject<{
1140
1486
  id: z.ZodMiniUUID;
@@ -1155,7 +1501,35 @@ export declare const restDecisionsSchema: z.ZodMiniObject<{
1155
1501
  organization: "organization";
1156
1502
  }>;
1157
1503
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
1504
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
1505
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
1506
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1507
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1158
1508
  }, z.core.$strip>;
1509
+ deciders: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
1510
+ id: z.ZodMiniUUID;
1511
+ login: z.ZodMiniString<string>;
1512
+ name: z.ZodMiniNullable<z.ZodMiniString<string>>;
1513
+ avatar: z.ZodMiniNullable<z.ZodMiniString<string>>;
1514
+ role: z.ZodMiniEnum<{
1515
+ admin: "admin";
1516
+ member: "member";
1517
+ }>;
1518
+ status: z.ZodMiniEnum<{
1519
+ active: "active";
1520
+ deactivated: "deactivated";
1521
+ }>;
1522
+ source: z.ZodMiniEnum<{
1523
+ domain: "domain";
1524
+ listed: "listed";
1525
+ organization: "organization";
1526
+ }>;
1527
+ deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
1528
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
1529
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
1530
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1531
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1532
+ }, z.core.$strip>>>;
1159
1533
  run: z.ZodMiniNullable<z.ZodMiniObject<{
1160
1534
  id: z.ZodMiniUUID;
1161
1535
  agent: z.ZodMiniString<string>;
@@ -1183,10 +1557,41 @@ export declare const restDecisionsSchema: z.ZodMiniObject<{
1183
1557
  organization: "organization";
1184
1558
  }>;
1185
1559
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
1560
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
1561
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
1562
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1563
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1186
1564
  }, z.core.$strip>;
1187
1565
  at: z.ZodMiniISODateTime;
1566
+ agent: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1188
1567
  }, z.core.$strip>>;
1189
1568
  outcome: z.ZodMiniNullable<z.ZodMiniString<string>>;
1569
+ outcomeBy: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
1570
+ id: z.ZodMiniUUID;
1571
+ login: z.ZodMiniString<string>;
1572
+ name: z.ZodMiniNullable<z.ZodMiniString<string>>;
1573
+ avatar: z.ZodMiniNullable<z.ZodMiniString<string>>;
1574
+ role: z.ZodMiniEnum<{
1575
+ admin: "admin";
1576
+ member: "member";
1577
+ }>;
1578
+ status: z.ZodMiniEnum<{
1579
+ active: "active";
1580
+ deactivated: "deactivated";
1581
+ }>;
1582
+ source: z.ZodMiniEnum<{
1583
+ domain: "domain";
1584
+ listed: "listed";
1585
+ organization: "organization";
1586
+ }>;
1587
+ deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
1588
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
1589
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
1590
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1591
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1592
+ }, z.core.$strip>>>;
1593
+ outcomeAgent: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1594
+ outcomeAt: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniISODateTime>>;
1190
1595
  files: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
1191
1596
  id: z.ZodMiniUUID;
1192
1597
  file: z.ZodMiniObject<{
@@ -1272,8 +1677,13 @@ export declare const restWorkSchema: z.ZodMiniObject<{
1272
1677
  organization: "organization";
1273
1678
  }>;
1274
1679
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
1680
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
1681
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
1682
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1683
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1275
1684
  }, z.core.$strip>;
1276
1685
  plugin: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1686
+ agent: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1277
1687
  workers: z.ZodMiniArray<z.ZodMiniObject<{
1278
1688
  id: z.ZodMiniUUID;
1279
1689
  login: z.ZodMiniString<string>;
@@ -1293,6 +1703,10 @@ export declare const restWorkSchema: z.ZodMiniObject<{
1293
1703
  organization: "organization";
1294
1704
  }>;
1295
1705
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
1706
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
1707
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
1708
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1709
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1296
1710
  }, z.core.$strip>>;
1297
1711
  parentId: z.ZodMiniNullable<z.ZodMiniUUID>;
1298
1712
  category: z.ZodMiniNullable<z.ZodMiniObject<{
@@ -1388,8 +1802,13 @@ export declare const restWorkSchema: z.ZodMiniObject<{
1388
1802
  organization: "organization";
1389
1803
  }>;
1390
1804
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
1805
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
1806
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
1807
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1808
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1391
1809
  }, z.core.$strip>;
1392
1810
  plugin: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1811
+ agent: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1393
1812
  workers: z.ZodMiniArray<z.ZodMiniObject<{
1394
1813
  id: z.ZodMiniUUID;
1395
1814
  login: z.ZodMiniString<string>;
@@ -1409,6 +1828,10 @@ export declare const restWorkSchema: z.ZodMiniObject<{
1409
1828
  organization: "organization";
1410
1829
  }>;
1411
1830
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
1831
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
1832
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
1833
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1834
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1412
1835
  }, z.core.$strip>>;
1413
1836
  parentId: z.ZodMiniNullable<z.ZodMiniUUID>;
1414
1837
  category: z.ZodMiniNullable<z.ZodMiniObject<{
@@ -1497,6 +1920,10 @@ export declare const restWorkSchema: z.ZodMiniObject<{
1497
1920
  organization: "organization";
1498
1921
  }>;
1499
1922
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
1923
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
1924
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
1925
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1926
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1500
1927
  }, z.core.$strip>;
1501
1928
  decider: z.ZodMiniObject<{
1502
1929
  id: z.ZodMiniUUID;
@@ -1517,7 +1944,35 @@ export declare const restWorkSchema: z.ZodMiniObject<{
1517
1944
  organization: "organization";
1518
1945
  }>;
1519
1946
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
1947
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
1948
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
1949
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1950
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1520
1951
  }, z.core.$strip>;
1952
+ deciders: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
1953
+ id: z.ZodMiniUUID;
1954
+ login: z.ZodMiniString<string>;
1955
+ name: z.ZodMiniNullable<z.ZodMiniString<string>>;
1956
+ avatar: z.ZodMiniNullable<z.ZodMiniString<string>>;
1957
+ role: z.ZodMiniEnum<{
1958
+ admin: "admin";
1959
+ member: "member";
1960
+ }>;
1961
+ status: z.ZodMiniEnum<{
1962
+ active: "active";
1963
+ deactivated: "deactivated";
1964
+ }>;
1965
+ source: z.ZodMiniEnum<{
1966
+ domain: "domain";
1967
+ listed: "listed";
1968
+ organization: "organization";
1969
+ }>;
1970
+ deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
1971
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
1972
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
1973
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1974
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1975
+ }, z.core.$strip>>>;
1521
1976
  run: z.ZodMiniNullable<z.ZodMiniObject<{
1522
1977
  id: z.ZodMiniUUID;
1523
1978
  agent: z.ZodMiniString<string>;
@@ -1545,10 +2000,41 @@ export declare const restWorkSchema: z.ZodMiniObject<{
1545
2000
  organization: "organization";
1546
2001
  }>;
1547
2002
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
2003
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
2004
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
2005
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2006
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1548
2007
  }, z.core.$strip>;
1549
2008
  at: z.ZodMiniISODateTime;
2009
+ agent: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1550
2010
  }, z.core.$strip>>;
1551
2011
  outcome: z.ZodMiniNullable<z.ZodMiniString<string>>;
2012
+ outcomeBy: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
2013
+ id: z.ZodMiniUUID;
2014
+ login: z.ZodMiniString<string>;
2015
+ name: z.ZodMiniNullable<z.ZodMiniString<string>>;
2016
+ avatar: z.ZodMiniNullable<z.ZodMiniString<string>>;
2017
+ role: z.ZodMiniEnum<{
2018
+ admin: "admin";
2019
+ member: "member";
2020
+ }>;
2021
+ status: z.ZodMiniEnum<{
2022
+ active: "active";
2023
+ deactivated: "deactivated";
2024
+ }>;
2025
+ source: z.ZodMiniEnum<{
2026
+ domain: "domain";
2027
+ listed: "listed";
2028
+ organization: "organization";
2029
+ }>;
2030
+ deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
2031
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
2032
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
2033
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2034
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2035
+ }, z.core.$strip>>>;
2036
+ outcomeAgent: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2037
+ outcomeAt: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniISODateTime>>;
1552
2038
  files: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
1553
2039
  id: z.ZodMiniUUID;
1554
2040
  file: z.ZodMiniObject<{
@@ -1626,6 +2112,10 @@ export declare const restMyDecisionsSchema: z.ZodMiniObject<{
1626
2112
  organization: "organization";
1627
2113
  }>;
1628
2114
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
2115
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
2116
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
2117
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2118
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1629
2119
  }, z.core.$strip>;
1630
2120
  decider: z.ZodMiniObject<{
1631
2121
  id: z.ZodMiniUUID;
@@ -1646,7 +2136,35 @@ export declare const restMyDecisionsSchema: z.ZodMiniObject<{
1646
2136
  organization: "organization";
1647
2137
  }>;
1648
2138
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
2139
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
2140
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
2141
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2142
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1649
2143
  }, z.core.$strip>;
2144
+ deciders: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
2145
+ id: z.ZodMiniUUID;
2146
+ login: z.ZodMiniString<string>;
2147
+ name: z.ZodMiniNullable<z.ZodMiniString<string>>;
2148
+ avatar: z.ZodMiniNullable<z.ZodMiniString<string>>;
2149
+ role: z.ZodMiniEnum<{
2150
+ admin: "admin";
2151
+ member: "member";
2152
+ }>;
2153
+ status: z.ZodMiniEnum<{
2154
+ active: "active";
2155
+ deactivated: "deactivated";
2156
+ }>;
2157
+ source: z.ZodMiniEnum<{
2158
+ domain: "domain";
2159
+ listed: "listed";
2160
+ organization: "organization";
2161
+ }>;
2162
+ deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
2163
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
2164
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
2165
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2166
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2167
+ }, z.core.$strip>>>;
1650
2168
  run: z.ZodMiniNullable<z.ZodMiniObject<{
1651
2169
  id: z.ZodMiniUUID;
1652
2170
  agent: z.ZodMiniString<string>;
@@ -1674,10 +2192,41 @@ export declare const restMyDecisionsSchema: z.ZodMiniObject<{
1674
2192
  organization: "organization";
1675
2193
  }>;
1676
2194
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
2195
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
2196
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
2197
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2198
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1677
2199
  }, z.core.$strip>;
1678
2200
  at: z.ZodMiniISODateTime;
2201
+ agent: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1679
2202
  }, z.core.$strip>>;
1680
2203
  outcome: z.ZodMiniNullable<z.ZodMiniString<string>>;
2204
+ outcomeBy: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
2205
+ id: z.ZodMiniUUID;
2206
+ login: z.ZodMiniString<string>;
2207
+ name: z.ZodMiniNullable<z.ZodMiniString<string>>;
2208
+ avatar: z.ZodMiniNullable<z.ZodMiniString<string>>;
2209
+ role: z.ZodMiniEnum<{
2210
+ admin: "admin";
2211
+ member: "member";
2212
+ }>;
2213
+ status: z.ZodMiniEnum<{
2214
+ active: "active";
2215
+ deactivated: "deactivated";
2216
+ }>;
2217
+ source: z.ZodMiniEnum<{
2218
+ domain: "domain";
2219
+ listed: "listed";
2220
+ organization: "organization";
2221
+ }>;
2222
+ deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
2223
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
2224
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
2225
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2226
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2227
+ }, z.core.$strip>>>;
2228
+ outcomeAgent: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2229
+ outcomeAt: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniISODateTime>>;
1681
2230
  files: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
1682
2231
  id: z.ZodMiniUUID;
1683
2232
  file: z.ZodMiniObject<{
@@ -1694,6 +2243,197 @@ export declare const restMyDecisionsSchema: z.ZodMiniObject<{
1694
2243
  more: z.ZodMiniBoolean<boolean>;
1695
2244
  }, z.core.$strip>;
1696
2245
  export type RestMyDecisions = z.infer<typeof restMyDecisionsSchema>;
2246
+ /**
2247
+ * `GET /api/v1/decisions/<id>`: one decision wherever it is (ADR-0068), in a project the asker
2248
+ * may see or one that reaches them from elsewhere, with its project and whether they may answer
2249
+ * it (`mayAnswer`, read as optional).
2250
+ */
2251
+ export declare const restReachedDecisionSchema: z.ZodMiniObject<{
2252
+ project: z.ZodMiniObject<{
2253
+ key: z.ZodMiniString<string>;
2254
+ name: z.ZodMiniString<string>;
2255
+ color: z.ZodMiniNullable<z.ZodMiniEnum<{
2256
+ blue: "blue";
2257
+ gray: "gray";
2258
+ green: "green";
2259
+ orange: "orange";
2260
+ pink: "pink";
2261
+ purple: "purple";
2262
+ teal: "teal";
2263
+ yellow: "yellow";
2264
+ }>>;
2265
+ symbol: z.ZodMiniNullable<z.ZodMiniString<string>>;
2266
+ icon: z.ZodMiniNullable<z.ZodMiniObject<{
2267
+ sha256: z.ZodMiniString<string>;
2268
+ contentType: z.ZodMiniEnum<{
2269
+ "image/gif": "image/gif";
2270
+ "image/jpeg": "image/jpeg";
2271
+ "image/png": "image/png";
2272
+ "image/webp": "image/webp";
2273
+ }>;
2274
+ }, z.core.$strip>>;
2275
+ }, z.core.$strip>;
2276
+ decision: z.ZodMiniObject<{
2277
+ id: z.ZodMiniUUID;
2278
+ question: z.ZodMiniString<string>;
2279
+ body: z.ZodMiniString<string>;
2280
+ options: z.ZodMiniArray<z.ZodMiniObject<{
2281
+ id: z.ZodMiniString<string>;
2282
+ label: z.ZodMiniString<string>;
2283
+ key: z.ZodMiniOptional<z.ZodMiniString<string>>;
2284
+ own: z.ZodMiniOptional<z.ZodMiniLiteral<true>>;
2285
+ }, z.core.$strip>>;
2286
+ taskId: z.ZodMiniNullable<z.ZodMiniUUID>;
2287
+ taskNumber: z.ZodMiniNullable<z.ZodMiniInt>;
2288
+ raisedBy: z.ZodMiniObject<{
2289
+ id: z.ZodMiniUUID;
2290
+ login: z.ZodMiniString<string>;
2291
+ name: z.ZodMiniNullable<z.ZodMiniString<string>>;
2292
+ avatar: z.ZodMiniNullable<z.ZodMiniString<string>>;
2293
+ role: z.ZodMiniEnum<{
2294
+ admin: "admin";
2295
+ member: "member";
2296
+ }>;
2297
+ status: z.ZodMiniEnum<{
2298
+ active: "active";
2299
+ deactivated: "deactivated";
2300
+ }>;
2301
+ source: z.ZodMiniEnum<{
2302
+ domain: "domain";
2303
+ listed: "listed";
2304
+ organization: "organization";
2305
+ }>;
2306
+ deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
2307
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
2308
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
2309
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2310
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2311
+ }, z.core.$strip>;
2312
+ decider: z.ZodMiniObject<{
2313
+ id: z.ZodMiniUUID;
2314
+ login: z.ZodMiniString<string>;
2315
+ name: z.ZodMiniNullable<z.ZodMiniString<string>>;
2316
+ avatar: z.ZodMiniNullable<z.ZodMiniString<string>>;
2317
+ role: z.ZodMiniEnum<{
2318
+ admin: "admin";
2319
+ member: "member";
2320
+ }>;
2321
+ status: z.ZodMiniEnum<{
2322
+ active: "active";
2323
+ deactivated: "deactivated";
2324
+ }>;
2325
+ source: z.ZodMiniEnum<{
2326
+ domain: "domain";
2327
+ listed: "listed";
2328
+ organization: "organization";
2329
+ }>;
2330
+ deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
2331
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
2332
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
2333
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2334
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2335
+ }, z.core.$strip>;
2336
+ deciders: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
2337
+ id: z.ZodMiniUUID;
2338
+ login: z.ZodMiniString<string>;
2339
+ name: z.ZodMiniNullable<z.ZodMiniString<string>>;
2340
+ avatar: z.ZodMiniNullable<z.ZodMiniString<string>>;
2341
+ role: z.ZodMiniEnum<{
2342
+ admin: "admin";
2343
+ member: "member";
2344
+ }>;
2345
+ status: z.ZodMiniEnum<{
2346
+ active: "active";
2347
+ deactivated: "deactivated";
2348
+ }>;
2349
+ source: z.ZodMiniEnum<{
2350
+ domain: "domain";
2351
+ listed: "listed";
2352
+ organization: "organization";
2353
+ }>;
2354
+ deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
2355
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
2356
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
2357
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2358
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2359
+ }, z.core.$strip>>>;
2360
+ run: z.ZodMiniNullable<z.ZodMiniObject<{
2361
+ id: z.ZodMiniUUID;
2362
+ agent: z.ZodMiniString<string>;
2363
+ }, z.core.$strip>>;
2364
+ plugin: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2365
+ answer: z.ZodMiniNullable<z.ZodMiniObject<{
2366
+ option: z.ZodMiniString<string>;
2367
+ note: z.ZodMiniNullable<z.ZodMiniString<string>>;
2368
+ by: z.ZodMiniObject<{
2369
+ id: z.ZodMiniUUID;
2370
+ login: z.ZodMiniString<string>;
2371
+ name: z.ZodMiniNullable<z.ZodMiniString<string>>;
2372
+ avatar: z.ZodMiniNullable<z.ZodMiniString<string>>;
2373
+ role: z.ZodMiniEnum<{
2374
+ admin: "admin";
2375
+ member: "member";
2376
+ }>;
2377
+ status: z.ZodMiniEnum<{
2378
+ active: "active";
2379
+ deactivated: "deactivated";
2380
+ }>;
2381
+ source: z.ZodMiniEnum<{
2382
+ domain: "domain";
2383
+ listed: "listed";
2384
+ organization: "organization";
2385
+ }>;
2386
+ deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
2387
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
2388
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
2389
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2390
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2391
+ }, z.core.$strip>;
2392
+ at: z.ZodMiniISODateTime;
2393
+ agent: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2394
+ }, z.core.$strip>>;
2395
+ outcome: z.ZodMiniNullable<z.ZodMiniString<string>>;
2396
+ outcomeBy: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
2397
+ id: z.ZodMiniUUID;
2398
+ login: z.ZodMiniString<string>;
2399
+ name: z.ZodMiniNullable<z.ZodMiniString<string>>;
2400
+ avatar: z.ZodMiniNullable<z.ZodMiniString<string>>;
2401
+ role: z.ZodMiniEnum<{
2402
+ admin: "admin";
2403
+ member: "member";
2404
+ }>;
2405
+ status: z.ZodMiniEnum<{
2406
+ active: "active";
2407
+ deactivated: "deactivated";
2408
+ }>;
2409
+ source: z.ZodMiniEnum<{
2410
+ domain: "domain";
2411
+ listed: "listed";
2412
+ organization: "organization";
2413
+ }>;
2414
+ deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
2415
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
2416
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
2417
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2418
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2419
+ }, z.core.$strip>>>;
2420
+ outcomeAgent: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2421
+ outcomeAt: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniISODateTime>>;
2422
+ files: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
2423
+ id: z.ZodMiniUUID;
2424
+ file: z.ZodMiniObject<{
2425
+ name: z.ZodMiniString<string>;
2426
+ size: z.ZodMiniInt;
2427
+ contentType: z.ZodMiniString<string>;
2428
+ sha256: z.ZodMiniString<string>;
2429
+ }, z.core.$strip>;
2430
+ }, z.core.$strip>>>;
2431
+ createdAt: z.ZodMiniISODateTime;
2432
+ updatedAt: z.ZodMiniISODateTime;
2433
+ }, z.core.$strip>;
2434
+ mayAnswer: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
2435
+ }, z.core.$strip>;
2436
+ export type RestReachedDecision = z.infer<typeof restReachedDecisionSchema>;
1697
2437
  /**
1698
2438
  * What `GET /api/v1/people/<id>/work` answers: another person's open tasks, and their closed
1699
2439
  * ones for the week, within the projects the asker may see, for whoever oversees them. No
@@ -1763,8 +2503,13 @@ export declare const restPersonWorkSchema: z.ZodMiniObject<{
1763
2503
  organization: "organization";
1764
2504
  }>;
1765
2505
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
2506
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
2507
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
2508
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2509
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1766
2510
  }, z.core.$strip>;
1767
2511
  plugin: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2512
+ agent: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1768
2513
  workers: z.ZodMiniArray<z.ZodMiniObject<{
1769
2514
  id: z.ZodMiniUUID;
1770
2515
  login: z.ZodMiniString<string>;
@@ -1784,6 +2529,10 @@ export declare const restPersonWorkSchema: z.ZodMiniObject<{
1784
2529
  organization: "organization";
1785
2530
  }>;
1786
2531
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
2532
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
2533
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
2534
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2535
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1787
2536
  }, z.core.$strip>>;
1788
2537
  parentId: z.ZodMiniNullable<z.ZodMiniUUID>;
1789
2538
  category: z.ZodMiniNullable<z.ZodMiniObject<{
@@ -1879,8 +2628,13 @@ export declare const restPersonWorkSchema: z.ZodMiniObject<{
1879
2628
  organization: "organization";
1880
2629
  }>;
1881
2630
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
2631
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
2632
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
2633
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2634
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1882
2635
  }, z.core.$strip>;
1883
2636
  plugin: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2637
+ agent: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1884
2638
  workers: z.ZodMiniArray<z.ZodMiniObject<{
1885
2639
  id: z.ZodMiniUUID;
1886
2640
  login: z.ZodMiniString<string>;
@@ -1900,6 +2654,10 @@ export declare const restPersonWorkSchema: z.ZodMiniObject<{
1900
2654
  organization: "organization";
1901
2655
  }>;
1902
2656
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
2657
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
2658
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
2659
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2660
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1903
2661
  }, z.core.$strip>>;
1904
2662
  parentId: z.ZodMiniNullable<z.ZodMiniUUID>;
1905
2663
  category: z.ZodMiniNullable<z.ZodMiniObject<{
@@ -1949,6 +2707,7 @@ export declare const restDecisionInputSchema: z.ZodMiniObject<{
1949
2707
  taskId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
1950
2708
  runId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
1951
2709
  deciderId: z.ZodMiniOptional<z.ZodMiniUUID>;
2710
+ deciderIds: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniUUID>>;
1952
2711
  }, z.core.$strip>;
1953
2712
  export type RestDecisionInput = z.infer<typeof restDecisionInputSchema>;
1954
2713
  /** What `PATCH .../decisions/<id>` is sent: the record growing, its context or what followed; only what changes. */
@@ -1998,6 +2757,9 @@ export declare const restEventDataSchema: z.ZodMiniObject<{
1998
2757
  optionKey: z.ZodMiniOptional<z.ZodMiniString<string>>;
1999
2758
  login: z.ZodMiniOptional<z.ZodMiniString<string>>;
2000
2759
  role: z.ZodMiniOptional<z.ZodMiniString<string>>;
2760
+ manager: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2761
+ team: z.ZodMiniOptional<z.ZodMiniString<string>>;
2762
+ set: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
2001
2763
  key: z.ZodMiniOptional<z.ZodMiniString<string>>;
2002
2764
  name: z.ZodMiniOptional<z.ZodMiniString<string>>;
2003
2765
  agent: z.ZodMiniOptional<z.ZodMiniString<string>>;
@@ -2023,6 +2785,8 @@ export declare const restEventDataSchema: z.ZodMiniObject<{
2023
2785
  durationMs: z.ZodMiniOptional<z.ZodMiniInt>;
2024
2786
  args: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>>;
2025
2787
  capabilities: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
2788
+ source: z.ZodMiniOptional<z.ZodMiniString<string>>;
2789
+ grantee: z.ZodMiniOptional<z.ZodMiniString<string>>;
2026
2790
  everyone: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
2027
2791
  problem: z.ZodMiniOptional<z.ZodMiniString<string>>;
2028
2792
  }, z.core.$strip>;
@@ -2043,8 +2807,10 @@ export declare const restEventSchema: z.ZodMiniObject<{
2043
2807
  "goal.created": "goal.created";
2044
2808
  "goal.updated": "goal.updated";
2045
2809
  "person.deactivated": "person.deactivated";
2810
+ "person.email_changed": "person.email_changed";
2046
2811
  "person.joined": "person.joined";
2047
2812
  "person.listed": "person.listed";
2813
+ "person.manager_changed": "person.manager_changed";
2048
2814
  "person.reactivated": "person.reactivated";
2049
2815
  "person.role_changed": "person.role_changed";
2050
2816
  "person.unlisted": "person.unlisted";
@@ -2073,6 +2839,11 @@ export declare const restEventSchema: z.ZodMiniObject<{
2073
2839
  "task.moved": "task.moved";
2074
2840
  "task.restored": "task.restored";
2075
2841
  "task.updated": "task.updated";
2842
+ "team.created": "team.created";
2843
+ "team.member_added": "team.member_added";
2844
+ "team.member_removed": "team.member_removed";
2845
+ "team.removed": "team.removed";
2846
+ "team.renamed": "team.renamed";
2076
2847
  "workspace.updated": "workspace.updated";
2077
2848
  }>;
2078
2849
  actor: z.ZodMiniNullable<z.ZodMiniObject<{
@@ -2094,6 +2865,10 @@ export declare const restEventSchema: z.ZodMiniObject<{
2094
2865
  organization: "organization";
2095
2866
  }>;
2096
2867
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
2868
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
2869
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
2870
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2871
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2097
2872
  }, z.core.$strip>>;
2098
2873
  agent: z.ZodMiniNullable<z.ZodMiniString<string>>;
2099
2874
  projectId: z.ZodMiniNullable<z.ZodMiniUUID>;
@@ -2103,6 +2878,7 @@ export declare const restEventSchema: z.ZodMiniObject<{
2103
2878
  documentId: z.ZodMiniNullable<z.ZodMiniUUID>;
2104
2879
  goalId: z.ZodMiniNullable<z.ZodMiniUUID>;
2105
2880
  plugin: z.ZodMiniNullable<z.ZodMiniString<string>>;
2881
+ via: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2106
2882
  data: z.ZodMiniObject<{
2107
2883
  number: z.ZodMiniOptional<z.ZodMiniInt>;
2108
2884
  title: z.ZodMiniOptional<z.ZodMiniString<string>>;
@@ -2130,6 +2906,9 @@ export declare const restEventSchema: z.ZodMiniObject<{
2130
2906
  optionKey: z.ZodMiniOptional<z.ZodMiniString<string>>;
2131
2907
  login: z.ZodMiniOptional<z.ZodMiniString<string>>;
2132
2908
  role: z.ZodMiniOptional<z.ZodMiniString<string>>;
2909
+ manager: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2910
+ team: z.ZodMiniOptional<z.ZodMiniString<string>>;
2911
+ set: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
2133
2912
  key: z.ZodMiniOptional<z.ZodMiniString<string>>;
2134
2913
  name: z.ZodMiniOptional<z.ZodMiniString<string>>;
2135
2914
  agent: z.ZodMiniOptional<z.ZodMiniString<string>>;
@@ -2155,6 +2934,8 @@ export declare const restEventSchema: z.ZodMiniObject<{
2155
2934
  durationMs: z.ZodMiniOptional<z.ZodMiniInt>;
2156
2935
  args: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>>;
2157
2936
  capabilities: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
2937
+ source: z.ZodMiniOptional<z.ZodMiniString<string>>;
2938
+ grantee: z.ZodMiniOptional<z.ZodMiniString<string>>;
2158
2939
  everyone: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
2159
2940
  problem: z.ZodMiniOptional<z.ZodMiniString<string>>;
2160
2941
  }, z.core.$strip>;
@@ -2210,6 +2991,10 @@ export declare const restRunSchema: z.ZodMiniObject<{
2210
2991
  organization: "organization";
2211
2992
  }>;
2212
2993
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
2994
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
2995
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
2996
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2997
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2213
2998
  }, z.core.$strip>;
2214
2999
  agent: z.ZodMiniString<string>;
2215
3000
  status: z.ZodMiniEnum<{
@@ -2272,6 +3057,10 @@ export declare const restRunsSchema: z.ZodMiniObject<{
2272
3057
  organization: "organization";
2273
3058
  }>;
2274
3059
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
3060
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
3061
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
3062
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
3063
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2275
3064
  }, z.core.$strip>;
2276
3065
  agent: z.ZodMiniString<string>;
2277
3066
  status: z.ZodMiniEnum<{
@@ -2348,6 +3137,10 @@ export declare const restCommentSchema: z.ZodMiniObject<{
2348
3137
  organization: "organization";
2349
3138
  }>;
2350
3139
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
3140
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
3141
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
3142
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
3143
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2351
3144
  }, z.core.$strip>;
2352
3145
  agent: z.ZodMiniNullable<z.ZodMiniString<string>>;
2353
3146
  body: z.ZodMiniString<string>;
@@ -2387,6 +3180,10 @@ export declare const restCommentsSchema: z.ZodMiniObject<{
2387
3180
  organization: "organization";
2388
3181
  }>;
2389
3182
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
3183
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
3184
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
3185
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
3186
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2390
3187
  }, z.core.$strip>;
2391
3188
  agent: z.ZodMiniNullable<z.ZodMiniString<string>>;
2392
3189
  body: z.ZodMiniString<string>;
@@ -2421,8 +3218,10 @@ export declare const restEventsSchema: z.ZodMiniObject<{
2421
3218
  "goal.created": "goal.created";
2422
3219
  "goal.updated": "goal.updated";
2423
3220
  "person.deactivated": "person.deactivated";
3221
+ "person.email_changed": "person.email_changed";
2424
3222
  "person.joined": "person.joined";
2425
3223
  "person.listed": "person.listed";
3224
+ "person.manager_changed": "person.manager_changed";
2426
3225
  "person.reactivated": "person.reactivated";
2427
3226
  "person.role_changed": "person.role_changed";
2428
3227
  "person.unlisted": "person.unlisted";
@@ -2451,6 +3250,11 @@ export declare const restEventsSchema: z.ZodMiniObject<{
2451
3250
  "task.moved": "task.moved";
2452
3251
  "task.restored": "task.restored";
2453
3252
  "task.updated": "task.updated";
3253
+ "team.created": "team.created";
3254
+ "team.member_added": "team.member_added";
3255
+ "team.member_removed": "team.member_removed";
3256
+ "team.removed": "team.removed";
3257
+ "team.renamed": "team.renamed";
2454
3258
  "workspace.updated": "workspace.updated";
2455
3259
  }>;
2456
3260
  actor: z.ZodMiniNullable<z.ZodMiniObject<{
@@ -2472,6 +3276,10 @@ export declare const restEventsSchema: z.ZodMiniObject<{
2472
3276
  organization: "organization";
2473
3277
  }>;
2474
3278
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
3279
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
3280
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
3281
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
3282
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2475
3283
  }, z.core.$strip>>;
2476
3284
  agent: z.ZodMiniNullable<z.ZodMiniString<string>>;
2477
3285
  projectId: z.ZodMiniNullable<z.ZodMiniUUID>;
@@ -2481,6 +3289,7 @@ export declare const restEventsSchema: z.ZodMiniObject<{
2481
3289
  documentId: z.ZodMiniNullable<z.ZodMiniUUID>;
2482
3290
  goalId: z.ZodMiniNullable<z.ZodMiniUUID>;
2483
3291
  plugin: z.ZodMiniNullable<z.ZodMiniString<string>>;
3292
+ via: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2484
3293
  data: z.ZodMiniObject<{
2485
3294
  number: z.ZodMiniOptional<z.ZodMiniInt>;
2486
3295
  title: z.ZodMiniOptional<z.ZodMiniString<string>>;
@@ -2508,6 +3317,9 @@ export declare const restEventsSchema: z.ZodMiniObject<{
2508
3317
  optionKey: z.ZodMiniOptional<z.ZodMiniString<string>>;
2509
3318
  login: z.ZodMiniOptional<z.ZodMiniString<string>>;
2510
3319
  role: z.ZodMiniOptional<z.ZodMiniString<string>>;
3320
+ manager: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
3321
+ team: z.ZodMiniOptional<z.ZodMiniString<string>>;
3322
+ set: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
2511
3323
  key: z.ZodMiniOptional<z.ZodMiniString<string>>;
2512
3324
  name: z.ZodMiniOptional<z.ZodMiniString<string>>;
2513
3325
  agent: z.ZodMiniOptional<z.ZodMiniString<string>>;
@@ -2533,6 +3345,8 @@ export declare const restEventsSchema: z.ZodMiniObject<{
2533
3345
  durationMs: z.ZodMiniOptional<z.ZodMiniInt>;
2534
3346
  args: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>>;
2535
3347
  capabilities: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
3348
+ source: z.ZodMiniOptional<z.ZodMiniString<string>>;
3349
+ grantee: z.ZodMiniOptional<z.ZodMiniString<string>>;
2536
3350
  everyone: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
2537
3351
  problem: z.ZodMiniOptional<z.ZodMiniString<string>>;
2538
3352
  }, z.core.$strip>;
@@ -3323,6 +4137,10 @@ export declare const restDocumentSummarySchema: z.ZodMiniObject<{
3323
4137
  organization: "organization";
3324
4138
  }>;
3325
4139
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
4140
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
4141
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
4142
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
4143
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
3326
4144
  }, z.core.$strip>;
3327
4145
  agent: z.ZodMiniNullable<z.ZodMiniString<string>>;
3328
4146
  plugin: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
@@ -3359,6 +4177,10 @@ export declare const restDocumentsSchema: z.ZodMiniObject<{
3359
4177
  organization: "organization";
3360
4178
  }>;
3361
4179
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
4180
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
4181
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
4182
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
4183
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
3362
4184
  }, z.core.$strip>;
3363
4185
  agent: z.ZodMiniNullable<z.ZodMiniString<string>>;
3364
4186
  plugin: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
@@ -3416,6 +4238,10 @@ export declare const restDocumentFileSchema: z.ZodMiniObject<{
3416
4238
  organization: "organization";
3417
4239
  }>;
3418
4240
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
4241
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
4242
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
4243
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
4244
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
3419
4245
  }, z.core.$strip>;
3420
4246
  agent: z.ZodMiniNullable<z.ZodMiniString<string>>;
3421
4247
  createdAt: z.ZodMiniISODateTime;
@@ -3446,6 +4272,10 @@ export declare const restDocumentSchema: z.ZodMiniObject<{
3446
4272
  organization: "organization";
3447
4273
  }>;
3448
4274
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
4275
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
4276
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
4277
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
4278
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
3449
4279
  }, z.core.$strip>;
3450
4280
  agent: z.ZodMiniNullable<z.ZodMiniString<string>>;
3451
4281
  plugin: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
@@ -3472,6 +4302,10 @@ export declare const restDocumentSchema: z.ZodMiniObject<{
3472
4302
  organization: "organization";
3473
4303
  }>;
3474
4304
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
4305
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
4306
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
4307
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
4308
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
3475
4309
  }, z.core.$strip>;
3476
4310
  links: z.ZodMiniArray<z.ZodMiniObject<{
3477
4311
  path: z.ZodMiniString<string>;
@@ -3516,6 +4350,10 @@ export declare const restDocumentSchema: z.ZodMiniObject<{
3516
4350
  organization: "organization";
3517
4351
  }>;
3518
4352
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
4353
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
4354
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
4355
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
4356
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
3519
4357
  }, z.core.$strip>;
3520
4358
  agent: z.ZodMiniNullable<z.ZodMiniString<string>>;
3521
4359
  createdAt: z.ZodMiniISODateTime;
@@ -3578,6 +4416,10 @@ export declare const restRulesSchema: z.ZodMiniObject<{
3578
4416
  organization: "organization";
3579
4417
  }>;
3580
4418
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
4419
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
4420
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
4421
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
4422
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
3581
4423
  }, z.core.$strip>;
3582
4424
  agent: z.ZodMiniNullable<z.ZodMiniString<string>>;
3583
4425
  plugin: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
@@ -3627,6 +4469,10 @@ export declare const restProjectRulesSchema: z.ZodMiniObject<{
3627
4469
  organization: "organization";
3628
4470
  }>;
3629
4471
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
4472
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
4473
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
4474
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
4475
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
3630
4476
  }, z.core.$strip>;
3631
4477
  agent: z.ZodMiniNullable<z.ZodMiniString<string>>;
3632
4478
  plugin: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
@@ -3673,6 +4519,10 @@ export declare const restProjectRulesSchema: z.ZodMiniObject<{
3673
4519
  organization: "organization";
3674
4520
  }>;
3675
4521
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
4522
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
4523
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
4524
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
4525
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
3676
4526
  }, z.core.$strip>;
3677
4527
  agent: z.ZodMiniNullable<z.ZodMiniString<string>>;
3678
4528
  plugin: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
@@ -3726,6 +4576,10 @@ export declare const restVersionSummarySchema: z.ZodMiniObject<{
3726
4576
  organization: "organization";
3727
4577
  }>;
3728
4578
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
4579
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
4580
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
4581
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
4582
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
3729
4583
  }, z.core.$strip>;
3730
4584
  agent: z.ZodMiniNullable<z.ZodMiniString<string>>;
3731
4585
  createdAt: z.ZodMiniISODateTime;
@@ -3755,6 +4609,10 @@ export declare const restVersionsSchema: z.ZodMiniObject<{
3755
4609
  organization: "organization";
3756
4610
  }>;
3757
4611
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
4612
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
4613
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
4614
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
4615
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
3758
4616
  }, z.core.$strip>;
3759
4617
  agent: z.ZodMiniNullable<z.ZodMiniString<string>>;
3760
4618
  createdAt: z.ZodMiniISODateTime;
@@ -3784,6 +4642,10 @@ export declare const restVersionSchema: z.ZodMiniObject<{
3784
4642
  organization: "organization";
3785
4643
  }>;
3786
4644
  deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
4645
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
4646
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
4647
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
4648
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
3787
4649
  }, z.core.$strip>;
3788
4650
  agent: z.ZodMiniNullable<z.ZodMiniString<string>>;
3789
4651
  createdAt: z.ZodMiniISODateTime;