synomem 0.9.6 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -0
- package/README.md +5 -3
- package/dist/actor-directory.d.ts +34 -0
- package/dist/actor-directory.d.ts.map +1 -0
- package/dist/actor-directory.js +52 -0
- package/dist/actor-directory.js.map +1 -0
- package/dist/backend.d.ts +3 -0
- package/dist/backend.d.ts.map +1 -1
- package/dist/backend.js +26 -3
- package/dist/backend.js.map +1 -1
- package/dist/bookmarks.d.ts +30 -0
- package/dist/bookmarks.d.ts.map +1 -0
- package/dist/bookmarks.js +87 -0
- package/dist/bookmarks.js.map +1 -0
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +291 -61
- package/dist/cli.js.map +1 -1
- package/dist/client.d.ts +115 -4
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +854 -138
- package/dist/client.js.map +1 -1
- package/dist/cursors.d.ts +30 -0
- package/dist/cursors.d.ts.map +1 -0
- package/dist/cursors.js +101 -0
- package/dist/cursors.js.map +1 -0
- package/dist/errors.d.ts +1 -1
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +2 -0
- package/dist/errors.js.map +1 -1
- package/dist/import.d.ts +605 -39
- package/dist/import.d.ts.map +1 -1
- package/dist/index.d.ts +19 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +11 -1
- package/dist/index.js.map +1 -1
- package/dist/mcp/index.d.ts +1 -1
- package/dist/mcp/index.d.ts.map +1 -1
- package/dist/mcp/index.js +329 -22
- package/dist/mcp/index.js.map +1 -1
- package/dist/mutation-receipts.d.ts +8 -0
- package/dist/mutation-receipts.d.ts.map +1 -0
- package/dist/mutation-receipts.js +2 -0
- package/dist/mutation-receipts.js.map +1 -0
- package/dist/notifications.d.ts +73 -0
- package/dist/notifications.d.ts.map +1 -0
- package/dist/notifications.js +309 -0
- package/dist/notifications.js.map +1 -0
- package/dist/participation-repository.d.ts +46 -0
- package/dist/participation-repository.d.ts.map +1 -0
- package/dist/participation-repository.js +296 -0
- package/dist/participation-repository.js.map +1 -0
- package/dist/participation.d.ts +97 -0
- package/dist/participation.d.ts.map +1 -0
- package/dist/participation.js +10 -0
- package/dist/participation.js.map +1 -0
- package/dist/policy.d.ts +31 -0
- package/dist/policy.d.ts.map +1 -0
- package/dist/policy.js +71 -0
- package/dist/policy.js.map +1 -0
- package/dist/ports/repository.d.ts +23 -0
- package/dist/ports/repository.d.ts.map +1 -1
- package/dist/profiles.d.ts +12 -0
- package/dist/profiles.d.ts.map +1 -1
- package/dist/profiles.js +2 -1
- package/dist/profiles.js.map +1 -1
- package/dist/projections.d.ts.map +1 -1
- package/dist/projections.js +29 -11
- package/dist/projections.js.map +1 -1
- package/dist/remote.d.ts +79 -0
- package/dist/remote.d.ts.map +1 -1
- package/dist/remote.js +65 -6
- package/dist/remote.js.map +1 -1
- package/dist/schemas.d.ts +746 -58
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +114 -16
- package/dist/schemas.js.map +1 -1
- package/dist/search.d.ts +25 -0
- package/dist/search.d.ts.map +1 -0
- package/dist/search.js +2 -0
- package/dist/search.js.map +1 -0
- package/dist/service.d.ts +89 -0
- package/dist/service.d.ts.map +1 -1
- package/dist/storage.d.ts +38 -3
- package/dist/storage.d.ts.map +1 -1
- package/dist/storage.js +494 -365
- package/dist/storage.js.map +1 -1
- package/dist/types.d.ts +65 -34
- package/dist/types.d.ts.map +1 -1
- package/docs/cli.md +6 -0
- package/docs/human-participation.md +20 -0
- package/docs/mcp.md +2 -0
- package/docs/storage-format.md +4 -15
- package/openapi/synomem-v1.yaml +187 -10
- package/package.json +2 -1
- package/skills/synomem/SKILL.md +2 -0
- package/src/actor-directory.ts +87 -0
- package/src/backend.ts +29 -3
- package/src/bookmarks.ts +127 -0
- package/src/cli.ts +941 -546
- package/src/client.ts +1143 -279
- package/src/cursors.ts +132 -0
- package/src/errors.ts +2 -0
- package/src/index.ts +50 -0
- package/src/mcp/index.ts +412 -96
- package/src/mutation-receipts.ts +7 -0
- package/src/notifications.ts +483 -0
- package/src/participation-repository.ts +406 -0
- package/src/participation.ts +103 -0
- package/src/policy.ts +109 -0
- package/src/ports/repository.ts +33 -0
- package/src/profiles.ts +2 -1
- package/src/projections.ts +49 -48
- package/src/remote.ts +227 -37
- package/src/schemas.ts +116 -16
- package/src/search.ts +24 -0
- package/src/service.ts +122 -8
- package/src/storage.ts +1039 -697
- package/src/types.ts +67 -32
package/dist/import.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
5
5
|
sourceWorkspaceId: z.ZodString;
|
|
6
6
|
checksum: z.ZodString;
|
|
7
7
|
events: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8
|
-
schemaVersion: z.ZodLiteral<
|
|
8
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
9
9
|
id: z.ZodString;
|
|
10
10
|
workspaceId: z.ZodString;
|
|
11
11
|
aggregateId: z.ZodString;
|
|
@@ -20,6 +20,147 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
20
20
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
21
21
|
displayName: z.ZodOptional<z.ZodString>;
|
|
22
22
|
}, z.core.$strip>;
|
|
23
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
24
|
+
basis: z.ZodEnum<{
|
|
25
|
+
operator: "operator";
|
|
26
|
+
workspace_admin: "workspace_admin";
|
|
27
|
+
organization_admin: "organization_admin";
|
|
28
|
+
local_owner: "local_owner";
|
|
29
|
+
}>;
|
|
30
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
31
|
+
}, z.core.$strict>>;
|
|
32
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
33
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
34
|
+
runtime: z.ZodOptional<z.ZodString>;
|
|
35
|
+
model: z.ZodOptional<z.ZodString>;
|
|
36
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
37
|
+
repository: z.ZodOptional<z.ZodString>;
|
|
38
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
39
|
+
workingDirectory: z.ZodOptional<z.ZodString>;
|
|
40
|
+
}, z.core.$strip>>;
|
|
41
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./types.js").JsonValue, unknown, z.core.$ZodTypeInternals<import("./types.js").JsonValue, unknown>>>>;
|
|
42
|
+
type: z.ZodLiteral<"reply.created">;
|
|
43
|
+
rootId: z.ZodString;
|
|
44
|
+
parentId: z.ZodNullable<z.ZodString>;
|
|
45
|
+
body: z.ZodString;
|
|
46
|
+
mentions: z.ZodArray<z.ZodObject<{
|
|
47
|
+
kind: z.ZodEnum<{
|
|
48
|
+
human: "human";
|
|
49
|
+
agent: "agent";
|
|
50
|
+
}>;
|
|
51
|
+
id: z.ZodString;
|
|
52
|
+
}, z.core.$strict>>;
|
|
53
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
54
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
55
|
+
id: z.ZodString;
|
|
56
|
+
workspaceId: z.ZodString;
|
|
57
|
+
aggregateId: z.ZodString;
|
|
58
|
+
aggregateVersion: z.ZodNumber;
|
|
59
|
+
createdAt: z.ZodString;
|
|
60
|
+
actor: z.ZodObject<{
|
|
61
|
+
kind: z.ZodEnum<{
|
|
62
|
+
human: "human";
|
|
63
|
+
agent: "agent";
|
|
64
|
+
system: "system";
|
|
65
|
+
}>;
|
|
66
|
+
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
67
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
68
|
+
}, z.core.$strip>;
|
|
69
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
70
|
+
basis: z.ZodEnum<{
|
|
71
|
+
operator: "operator";
|
|
72
|
+
workspace_admin: "workspace_admin";
|
|
73
|
+
organization_admin: "organization_admin";
|
|
74
|
+
local_owner: "local_owner";
|
|
75
|
+
}>;
|
|
76
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
77
|
+
}, z.core.$strict>>;
|
|
78
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
79
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
80
|
+
runtime: z.ZodOptional<z.ZodString>;
|
|
81
|
+
model: z.ZodOptional<z.ZodString>;
|
|
82
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
83
|
+
repository: z.ZodOptional<z.ZodString>;
|
|
84
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
85
|
+
workingDirectory: z.ZodOptional<z.ZodString>;
|
|
86
|
+
}, z.core.$strip>>;
|
|
87
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./types.js").JsonValue, unknown, z.core.$ZodTypeInternals<import("./types.js").JsonValue, unknown>>>>;
|
|
88
|
+
type: z.ZodLiteral<"reply.deleted">;
|
|
89
|
+
rootId: z.ZodString;
|
|
90
|
+
replyId: z.ZodString;
|
|
91
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
92
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
93
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
94
|
+
id: z.ZodString;
|
|
95
|
+
workspaceId: z.ZodString;
|
|
96
|
+
aggregateId: z.ZodString;
|
|
97
|
+
aggregateVersion: z.ZodNumber;
|
|
98
|
+
createdAt: z.ZodString;
|
|
99
|
+
actor: z.ZodObject<{
|
|
100
|
+
kind: z.ZodEnum<{
|
|
101
|
+
human: "human";
|
|
102
|
+
agent: "agent";
|
|
103
|
+
system: "system";
|
|
104
|
+
}>;
|
|
105
|
+
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
106
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
107
|
+
}, z.core.$strip>;
|
|
108
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
109
|
+
basis: z.ZodEnum<{
|
|
110
|
+
operator: "operator";
|
|
111
|
+
workspace_admin: "workspace_admin";
|
|
112
|
+
organization_admin: "organization_admin";
|
|
113
|
+
local_owner: "local_owner";
|
|
114
|
+
}>;
|
|
115
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
116
|
+
}, z.core.$strict>>;
|
|
117
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
118
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
119
|
+
runtime: z.ZodOptional<z.ZodString>;
|
|
120
|
+
model: z.ZodOptional<z.ZodString>;
|
|
121
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
122
|
+
repository: z.ZodOptional<z.ZodString>;
|
|
123
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
124
|
+
workingDirectory: z.ZodOptional<z.ZodString>;
|
|
125
|
+
}, z.core.$strip>>;
|
|
126
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./types.js").JsonValue, unknown, z.core.$ZodTypeInternals<import("./types.js").JsonValue, unknown>>>>;
|
|
127
|
+
type: z.ZodLiteral<"reaction.added">;
|
|
128
|
+
rootId: z.ZodString;
|
|
129
|
+
targetId: z.ZodString;
|
|
130
|
+
code: z.ZodEnum<{
|
|
131
|
+
thumbs_up: "thumbs_up";
|
|
132
|
+
eyes: "eyes";
|
|
133
|
+
complete: "complete";
|
|
134
|
+
celebrate: "celebrate";
|
|
135
|
+
laugh: "laugh";
|
|
136
|
+
thinking: "thinking";
|
|
137
|
+
useful: "useful";
|
|
138
|
+
}>;
|
|
139
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
140
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
141
|
+
id: z.ZodString;
|
|
142
|
+
workspaceId: z.ZodString;
|
|
143
|
+
aggregateId: z.ZodString;
|
|
144
|
+
aggregateVersion: z.ZodNumber;
|
|
145
|
+
createdAt: z.ZodString;
|
|
146
|
+
actor: z.ZodObject<{
|
|
147
|
+
kind: z.ZodEnum<{
|
|
148
|
+
human: "human";
|
|
149
|
+
agent: "agent";
|
|
150
|
+
system: "system";
|
|
151
|
+
}>;
|
|
152
|
+
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
153
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
154
|
+
}, z.core.$strip>;
|
|
155
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
156
|
+
basis: z.ZodEnum<{
|
|
157
|
+
operator: "operator";
|
|
158
|
+
workspace_admin: "workspace_admin";
|
|
159
|
+
organization_admin: "organization_admin";
|
|
160
|
+
local_owner: "local_owner";
|
|
161
|
+
}>;
|
|
162
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
163
|
+
}, z.core.$strict>>;
|
|
23
164
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
24
165
|
source: z.ZodOptional<z.ZodObject<{
|
|
25
166
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -30,14 +171,67 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
30
171
|
workingDirectory: z.ZodOptional<z.ZodString>;
|
|
31
172
|
}, z.core.$strip>>;
|
|
32
173
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./types.js").JsonValue, unknown, z.core.$ZodTypeInternals<import("./types.js").JsonValue, unknown>>>>;
|
|
33
|
-
|
|
174
|
+
rootId: z.ZodString;
|
|
175
|
+
targetId: z.ZodString;
|
|
176
|
+
code: z.ZodEnum<{
|
|
177
|
+
thumbs_up: "thumbs_up";
|
|
178
|
+
eyes: "eyes";
|
|
179
|
+
complete: "complete";
|
|
180
|
+
celebrate: "celebrate";
|
|
181
|
+
laugh: "laugh";
|
|
182
|
+
thinking: "thinking";
|
|
183
|
+
useful: "useful";
|
|
184
|
+
}>;
|
|
185
|
+
type: z.ZodLiteral<"reaction.removed">;
|
|
186
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
187
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
188
|
+
id: z.ZodString;
|
|
189
|
+
workspaceId: z.ZodString;
|
|
190
|
+
aggregateId: z.ZodString;
|
|
191
|
+
aggregateVersion: z.ZodNumber;
|
|
192
|
+
createdAt: z.ZodString;
|
|
193
|
+
actor: z.ZodObject<{
|
|
194
|
+
kind: z.ZodEnum<{
|
|
195
|
+
human: "human";
|
|
196
|
+
agent: "agent";
|
|
197
|
+
system: "system";
|
|
198
|
+
}>;
|
|
199
|
+
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
200
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
201
|
+
}, z.core.$strip>;
|
|
202
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
203
|
+
basis: z.ZodEnum<{
|
|
204
|
+
operator: "operator";
|
|
205
|
+
workspace_admin: "workspace_admin";
|
|
206
|
+
organization_admin: "organization_admin";
|
|
207
|
+
local_owner: "local_owner";
|
|
208
|
+
}>;
|
|
209
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
210
|
+
}, z.core.$strict>>;
|
|
211
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
212
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
213
|
+
runtime: z.ZodOptional<z.ZodString>;
|
|
214
|
+
model: z.ZodOptional<z.ZodString>;
|
|
215
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
216
|
+
repository: z.ZodOptional<z.ZodString>;
|
|
217
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
218
|
+
workingDirectory: z.ZodOptional<z.ZodString>;
|
|
219
|
+
}, z.core.$strip>>;
|
|
220
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./types.js").JsonValue, unknown, z.core.$ZodTypeInternals<import("./types.js").JsonValue, unknown>>>>;
|
|
221
|
+
mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
222
|
+
kind: z.ZodEnum<{
|
|
223
|
+
human: "human";
|
|
224
|
+
agent: "agent";
|
|
225
|
+
}>;
|
|
226
|
+
id: z.ZodString;
|
|
227
|
+
}, z.core.$strict>>>;
|
|
34
228
|
title: z.ZodString;
|
|
35
229
|
body: z.ZodString;
|
|
36
230
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
37
231
|
topicIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
38
232
|
type: z.ZodLiteral<"post.created">;
|
|
39
233
|
}, z.core.$strip>, z.ZodObject<{
|
|
40
|
-
schemaVersion: z.ZodLiteral<
|
|
234
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
41
235
|
id: z.ZodString;
|
|
42
236
|
workspaceId: z.ZodString;
|
|
43
237
|
aggregateId: z.ZodString;
|
|
@@ -52,6 +246,15 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
52
246
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
53
247
|
displayName: z.ZodOptional<z.ZodString>;
|
|
54
248
|
}, z.core.$strip>;
|
|
249
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
250
|
+
basis: z.ZodEnum<{
|
|
251
|
+
operator: "operator";
|
|
252
|
+
workspace_admin: "workspace_admin";
|
|
253
|
+
organization_admin: "organization_admin";
|
|
254
|
+
local_owner: "local_owner";
|
|
255
|
+
}>;
|
|
256
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
257
|
+
}, z.core.$strict>>;
|
|
55
258
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
56
259
|
source: z.ZodOptional<z.ZodObject<{
|
|
57
260
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -62,6 +265,13 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
62
265
|
workingDirectory: z.ZodOptional<z.ZodString>;
|
|
63
266
|
}, z.core.$strip>>;
|
|
64
267
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./types.js").JsonValue, unknown, z.core.$ZodTypeInternals<import("./types.js").JsonValue, unknown>>>>;
|
|
268
|
+
mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
269
|
+
kind: z.ZodEnum<{
|
|
270
|
+
human: "human";
|
|
271
|
+
agent: "agent";
|
|
272
|
+
}>;
|
|
273
|
+
id: z.ZodString;
|
|
274
|
+
}, z.core.$strict>>>;
|
|
65
275
|
title: z.ZodString;
|
|
66
276
|
body: z.ZodString;
|
|
67
277
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -69,7 +279,7 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
69
279
|
type: z.ZodLiteral<"post.edited">;
|
|
70
280
|
postId: z.ZodString;
|
|
71
281
|
}, z.core.$strip>, z.ZodObject<{
|
|
72
|
-
schemaVersion: z.ZodLiteral<
|
|
282
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
73
283
|
id: z.ZodString;
|
|
74
284
|
workspaceId: z.ZodString;
|
|
75
285
|
aggregateId: z.ZodString;
|
|
@@ -84,6 +294,15 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
84
294
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
85
295
|
displayName: z.ZodOptional<z.ZodString>;
|
|
86
296
|
}, z.core.$strip>;
|
|
297
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
298
|
+
basis: z.ZodEnum<{
|
|
299
|
+
operator: "operator";
|
|
300
|
+
workspace_admin: "workspace_admin";
|
|
301
|
+
organization_admin: "organization_admin";
|
|
302
|
+
local_owner: "local_owner";
|
|
303
|
+
}>;
|
|
304
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
305
|
+
}, z.core.$strict>>;
|
|
87
306
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
88
307
|
source: z.ZodOptional<z.ZodObject<{
|
|
89
308
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -98,7 +317,7 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
98
317
|
postId: z.ZodString;
|
|
99
318
|
reason: z.ZodOptional<z.ZodString>;
|
|
100
319
|
}, z.core.$strip>, z.ZodObject<{
|
|
101
|
-
schemaVersion: z.ZodLiteral<
|
|
320
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
102
321
|
id: z.ZodString;
|
|
103
322
|
workspaceId: z.ZodString;
|
|
104
323
|
aggregateId: z.ZodString;
|
|
@@ -113,6 +332,15 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
113
332
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
114
333
|
displayName: z.ZodOptional<z.ZodString>;
|
|
115
334
|
}, z.core.$strip>;
|
|
335
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
336
|
+
basis: z.ZodEnum<{
|
|
337
|
+
operator: "operator";
|
|
338
|
+
workspace_admin: "workspace_admin";
|
|
339
|
+
organization_admin: "organization_admin";
|
|
340
|
+
local_owner: "local_owner";
|
|
341
|
+
}>;
|
|
342
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
343
|
+
}, z.core.$strict>>;
|
|
116
344
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
117
345
|
source: z.ZodOptional<z.ZodObject<{
|
|
118
346
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -127,7 +355,7 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
127
355
|
postId: z.ZodString;
|
|
128
356
|
note: z.ZodOptional<z.ZodString>;
|
|
129
357
|
}, z.core.$strip>, z.ZodObject<{
|
|
130
|
-
schemaVersion: z.ZodLiteral<
|
|
358
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
131
359
|
id: z.ZodString;
|
|
132
360
|
workspaceId: z.ZodString;
|
|
133
361
|
aggregateId: z.ZodString;
|
|
@@ -142,6 +370,15 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
142
370
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
143
371
|
displayName: z.ZodOptional<z.ZodString>;
|
|
144
372
|
}, z.core.$strip>;
|
|
373
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
374
|
+
basis: z.ZodEnum<{
|
|
375
|
+
operator: "operator";
|
|
376
|
+
workspace_admin: "workspace_admin";
|
|
377
|
+
organization_admin: "organization_admin";
|
|
378
|
+
local_owner: "local_owner";
|
|
379
|
+
}>;
|
|
380
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
381
|
+
}, z.core.$strict>>;
|
|
145
382
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
146
383
|
source: z.ZodOptional<z.ZodObject<{
|
|
147
384
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -156,7 +393,7 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
156
393
|
postId: z.ZodString;
|
|
157
394
|
reason: z.ZodOptional<z.ZodString>;
|
|
158
395
|
}, z.core.$strip>, z.ZodObject<{
|
|
159
|
-
schemaVersion: z.ZodLiteral<
|
|
396
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
160
397
|
id: z.ZodString;
|
|
161
398
|
workspaceId: z.ZodString;
|
|
162
399
|
aggregateId: z.ZodString;
|
|
@@ -171,6 +408,15 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
171
408
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
172
409
|
displayName: z.ZodOptional<z.ZodString>;
|
|
173
410
|
}, z.core.$strip>;
|
|
411
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
412
|
+
basis: z.ZodEnum<{
|
|
413
|
+
operator: "operator";
|
|
414
|
+
workspace_admin: "workspace_admin";
|
|
415
|
+
organization_admin: "organization_admin";
|
|
416
|
+
local_owner: "local_owner";
|
|
417
|
+
}>;
|
|
418
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
419
|
+
}, z.core.$strict>>;
|
|
174
420
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
175
421
|
source: z.ZodOptional<z.ZodObject<{
|
|
176
422
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -182,7 +428,13 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
182
428
|
}, z.core.$strip>>;
|
|
183
429
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./types.js").JsonValue, unknown, z.core.$ZodTypeInternals<import("./types.js").JsonValue, unknown>>>>;
|
|
184
430
|
type: z.ZodLiteral<"kudos.given">;
|
|
185
|
-
|
|
431
|
+
recipient: z.ZodObject<{
|
|
432
|
+
kind: z.ZodEnum<{
|
|
433
|
+
human: "human";
|
|
434
|
+
agent: "agent";
|
|
435
|
+
}>;
|
|
436
|
+
id: z.ZodString;
|
|
437
|
+
}, z.core.$strict>;
|
|
186
438
|
recipientDisplayName: z.ZodString;
|
|
187
439
|
title: z.ZodString;
|
|
188
440
|
reason: z.ZodString;
|
|
@@ -206,7 +458,7 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
206
458
|
public: "public";
|
|
207
459
|
}>;
|
|
208
460
|
}, z.core.$strip>, z.ZodObject<{
|
|
209
|
-
schemaVersion: z.ZodLiteral<
|
|
461
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
210
462
|
id: z.ZodString;
|
|
211
463
|
workspaceId: z.ZodString;
|
|
212
464
|
aggregateId: z.ZodString;
|
|
@@ -221,6 +473,15 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
221
473
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
222
474
|
displayName: z.ZodOptional<z.ZodString>;
|
|
223
475
|
}, z.core.$strip>;
|
|
476
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
477
|
+
basis: z.ZodEnum<{
|
|
478
|
+
operator: "operator";
|
|
479
|
+
workspace_admin: "workspace_admin";
|
|
480
|
+
organization_admin: "organization_admin";
|
|
481
|
+
local_owner: "local_owner";
|
|
482
|
+
}>;
|
|
483
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
484
|
+
}, z.core.$strict>>;
|
|
224
485
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
225
486
|
source: z.ZodOptional<z.ZodObject<{
|
|
226
487
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -233,10 +494,16 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
233
494
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./types.js").JsonValue, unknown, z.core.$ZodTypeInternals<import("./types.js").JsonValue, unknown>>>>;
|
|
234
495
|
type: z.ZodLiteral<"kudos.acknowledged">;
|
|
235
496
|
kudosId: z.ZodString;
|
|
236
|
-
|
|
497
|
+
recipient: z.ZodObject<{
|
|
498
|
+
kind: z.ZodEnum<{
|
|
499
|
+
human: "human";
|
|
500
|
+
agent: "agent";
|
|
501
|
+
}>;
|
|
502
|
+
id: z.ZodString;
|
|
503
|
+
}, z.core.$strict>;
|
|
237
504
|
note: z.ZodOptional<z.ZodString>;
|
|
238
505
|
}, z.core.$strip>, z.ZodObject<{
|
|
239
|
-
schemaVersion: z.ZodLiteral<
|
|
506
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
240
507
|
id: z.ZodString;
|
|
241
508
|
workspaceId: z.ZodString;
|
|
242
509
|
aggregateId: z.ZodString;
|
|
@@ -251,6 +518,15 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
251
518
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
252
519
|
displayName: z.ZodOptional<z.ZodString>;
|
|
253
520
|
}, z.core.$strip>;
|
|
521
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
522
|
+
basis: z.ZodEnum<{
|
|
523
|
+
operator: "operator";
|
|
524
|
+
workspace_admin: "workspace_admin";
|
|
525
|
+
organization_admin: "organization_admin";
|
|
526
|
+
local_owner: "local_owner";
|
|
527
|
+
}>;
|
|
528
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
529
|
+
}, z.core.$strict>>;
|
|
254
530
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
255
531
|
source: z.ZodOptional<z.ZodObject<{
|
|
256
532
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -269,7 +545,7 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
269
545
|
administrative: "administrative";
|
|
270
546
|
}>;
|
|
271
547
|
}, z.core.$strip>, z.ZodObject<{
|
|
272
|
-
schemaVersion: z.ZodLiteral<
|
|
548
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
273
549
|
id: z.ZodString;
|
|
274
550
|
workspaceId: z.ZodString;
|
|
275
551
|
aggregateId: z.ZodString;
|
|
@@ -284,6 +560,15 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
284
560
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
285
561
|
displayName: z.ZodOptional<z.ZodString>;
|
|
286
562
|
}, z.core.$strip>;
|
|
563
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
564
|
+
basis: z.ZodEnum<{
|
|
565
|
+
operator: "operator";
|
|
566
|
+
workspace_admin: "workspace_admin";
|
|
567
|
+
organization_admin: "organization_admin";
|
|
568
|
+
local_owner: "local_owner";
|
|
569
|
+
}>;
|
|
570
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
571
|
+
}, z.core.$strict>>;
|
|
287
572
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
288
573
|
source: z.ZodOptional<z.ZodObject<{
|
|
289
574
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -309,7 +594,7 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
309
594
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./types.js").JsonValue, unknown, z.core.$ZodTypeInternals<import("./types.js").JsonValue, unknown>>>>;
|
|
310
595
|
}, z.core.$strip>, unknown>;
|
|
311
596
|
}, z.core.$strip>, z.ZodObject<{
|
|
312
|
-
schemaVersion: z.ZodLiteral<
|
|
597
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
313
598
|
id: z.ZodString;
|
|
314
599
|
workspaceId: z.ZodString;
|
|
315
600
|
aggregateId: z.ZodString;
|
|
@@ -324,6 +609,15 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
324
609
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
325
610
|
displayName: z.ZodOptional<z.ZodString>;
|
|
326
611
|
}, z.core.$strip>;
|
|
612
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
613
|
+
basis: z.ZodEnum<{
|
|
614
|
+
operator: "operator";
|
|
615
|
+
workspace_admin: "workspace_admin";
|
|
616
|
+
organization_admin: "organization_admin";
|
|
617
|
+
local_owner: "local_owner";
|
|
618
|
+
}>;
|
|
619
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
620
|
+
}, z.core.$strict>>;
|
|
327
621
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
328
622
|
source: z.ZodOptional<z.ZodObject<{
|
|
329
623
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -348,7 +642,7 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
348
642
|
}>>;
|
|
349
643
|
}, z.core.$strict>;
|
|
350
644
|
}, z.core.$strip>, z.ZodObject<{
|
|
351
|
-
schemaVersion: z.ZodLiteral<
|
|
645
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
352
646
|
id: z.ZodString;
|
|
353
647
|
workspaceId: z.ZodString;
|
|
354
648
|
aggregateId: z.ZodString;
|
|
@@ -363,6 +657,15 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
363
657
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
364
658
|
displayName: z.ZodOptional<z.ZodString>;
|
|
365
659
|
}, z.core.$strip>;
|
|
660
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
661
|
+
basis: z.ZodEnum<{
|
|
662
|
+
operator: "operator";
|
|
663
|
+
workspace_admin: "workspace_admin";
|
|
664
|
+
organization_admin: "organization_admin";
|
|
665
|
+
local_owner: "local_owner";
|
|
666
|
+
}>;
|
|
667
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
668
|
+
}, z.core.$strict>>;
|
|
366
669
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
367
670
|
source: z.ZodOptional<z.ZodObject<{
|
|
368
671
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -385,7 +688,7 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
385
688
|
createdAt: z.ZodString;
|
|
386
689
|
}, z.core.$strip>;
|
|
387
690
|
}, z.core.$strip>, z.ZodObject<{
|
|
388
|
-
schemaVersion: z.ZodLiteral<
|
|
691
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
389
692
|
id: z.ZodString;
|
|
390
693
|
workspaceId: z.ZodString;
|
|
391
694
|
aggregateId: z.ZodString;
|
|
@@ -400,6 +703,15 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
400
703
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
401
704
|
displayName: z.ZodOptional<z.ZodString>;
|
|
402
705
|
}, z.core.$strip>;
|
|
706
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
707
|
+
basis: z.ZodEnum<{
|
|
708
|
+
operator: "operator";
|
|
709
|
+
workspace_admin: "workspace_admin";
|
|
710
|
+
organization_admin: "organization_admin";
|
|
711
|
+
local_owner: "local_owner";
|
|
712
|
+
}>;
|
|
713
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
714
|
+
}, z.core.$strict>>;
|
|
403
715
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
404
716
|
source: z.ZodOptional<z.ZodObject<{
|
|
405
717
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -421,7 +733,7 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
421
733
|
}>>;
|
|
422
734
|
}, z.core.$strict>;
|
|
423
735
|
}, z.core.$strip>, z.ZodObject<{
|
|
424
|
-
schemaVersion: z.ZodLiteral<
|
|
736
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
425
737
|
id: z.ZodString;
|
|
426
738
|
workspaceId: z.ZodString;
|
|
427
739
|
aggregateId: z.ZodString;
|
|
@@ -436,6 +748,15 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
436
748
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
437
749
|
displayName: z.ZodOptional<z.ZodString>;
|
|
438
750
|
}, z.core.$strip>;
|
|
751
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
752
|
+
basis: z.ZodEnum<{
|
|
753
|
+
operator: "operator";
|
|
754
|
+
workspace_admin: "workspace_admin";
|
|
755
|
+
organization_admin: "organization_admin";
|
|
756
|
+
local_owner: "local_owner";
|
|
757
|
+
}>;
|
|
758
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
759
|
+
}, z.core.$strict>>;
|
|
439
760
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
440
761
|
source: z.ZodOptional<z.ZodObject<{
|
|
441
762
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -447,7 +768,13 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
447
768
|
}, z.core.$strip>>;
|
|
448
769
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./types.js").JsonValue, unknown, z.core.$ZodTypeInternals<import("./types.js").JsonValue, unknown>>>>;
|
|
449
770
|
type: z.ZodLiteral<"memo.sent">;
|
|
450
|
-
|
|
771
|
+
recipient: z.ZodObject<{
|
|
772
|
+
kind: z.ZodEnum<{
|
|
773
|
+
human: "human";
|
|
774
|
+
agent: "agent";
|
|
775
|
+
}>;
|
|
776
|
+
id: z.ZodString;
|
|
777
|
+
}, z.core.$strict>;
|
|
451
778
|
recipientDisplayName: z.ZodString;
|
|
452
779
|
subject: z.ZodString;
|
|
453
780
|
body: z.ZodString;
|
|
@@ -459,7 +786,7 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
459
786
|
public: "public";
|
|
460
787
|
}>;
|
|
461
788
|
}, z.core.$strip>, z.ZodObject<{
|
|
462
|
-
schemaVersion: z.ZodLiteral<
|
|
789
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
463
790
|
id: z.ZodString;
|
|
464
791
|
workspaceId: z.ZodString;
|
|
465
792
|
aggregateId: z.ZodString;
|
|
@@ -474,6 +801,15 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
474
801
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
475
802
|
displayName: z.ZodOptional<z.ZodString>;
|
|
476
803
|
}, z.core.$strip>;
|
|
804
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
805
|
+
basis: z.ZodEnum<{
|
|
806
|
+
operator: "operator";
|
|
807
|
+
workspace_admin: "workspace_admin";
|
|
808
|
+
organization_admin: "organization_admin";
|
|
809
|
+
local_owner: "local_owner";
|
|
810
|
+
}>;
|
|
811
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
812
|
+
}, z.core.$strict>>;
|
|
477
813
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
478
814
|
source: z.ZodOptional<z.ZodObject<{
|
|
479
815
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -486,9 +822,15 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
486
822
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./types.js").JsonValue, unknown, z.core.$ZodTypeInternals<import("./types.js").JsonValue, unknown>>>>;
|
|
487
823
|
type: z.ZodLiteral<"memo.read">;
|
|
488
824
|
memoId: z.ZodString;
|
|
489
|
-
|
|
825
|
+
recipient: z.ZodObject<{
|
|
826
|
+
kind: z.ZodEnum<{
|
|
827
|
+
human: "human";
|
|
828
|
+
agent: "agent";
|
|
829
|
+
}>;
|
|
830
|
+
id: z.ZodString;
|
|
831
|
+
}, z.core.$strict>;
|
|
490
832
|
}, z.core.$strip>, z.ZodObject<{
|
|
491
|
-
schemaVersion: z.ZodLiteral<
|
|
833
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
492
834
|
id: z.ZodString;
|
|
493
835
|
workspaceId: z.ZodString;
|
|
494
836
|
aggregateId: z.ZodString;
|
|
@@ -503,6 +845,15 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
503
845
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
504
846
|
displayName: z.ZodOptional<z.ZodString>;
|
|
505
847
|
}, z.core.$strip>;
|
|
848
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
849
|
+
basis: z.ZodEnum<{
|
|
850
|
+
operator: "operator";
|
|
851
|
+
workspace_admin: "workspace_admin";
|
|
852
|
+
organization_admin: "organization_admin";
|
|
853
|
+
local_owner: "local_owner";
|
|
854
|
+
}>;
|
|
855
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
856
|
+
}, z.core.$strict>>;
|
|
506
857
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
507
858
|
source: z.ZodOptional<z.ZodObject<{
|
|
508
859
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -515,9 +866,15 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
515
866
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./types.js").JsonValue, unknown, z.core.$ZodTypeInternals<import("./types.js").JsonValue, unknown>>>>;
|
|
516
867
|
type: z.ZodLiteral<"memo.archived">;
|
|
517
868
|
memoId: z.ZodString;
|
|
518
|
-
|
|
869
|
+
recipient: z.ZodObject<{
|
|
870
|
+
kind: z.ZodEnum<{
|
|
871
|
+
human: "human";
|
|
872
|
+
agent: "agent";
|
|
873
|
+
}>;
|
|
874
|
+
id: z.ZodString;
|
|
875
|
+
}, z.core.$strict>;
|
|
519
876
|
}, z.core.$strip>, z.ZodObject<{
|
|
520
|
-
schemaVersion: z.ZodLiteral<
|
|
877
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
521
878
|
id: z.ZodString;
|
|
522
879
|
workspaceId: z.ZodString;
|
|
523
880
|
aggregateId: z.ZodString;
|
|
@@ -532,6 +889,15 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
532
889
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
533
890
|
displayName: z.ZodOptional<z.ZodString>;
|
|
534
891
|
}, z.core.$strip>;
|
|
892
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
893
|
+
basis: z.ZodEnum<{
|
|
894
|
+
operator: "operator";
|
|
895
|
+
workspace_admin: "workspace_admin";
|
|
896
|
+
organization_admin: "organization_admin";
|
|
897
|
+
local_owner: "local_owner";
|
|
898
|
+
}>;
|
|
899
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
900
|
+
}, z.core.$strict>>;
|
|
535
901
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
536
902
|
source: z.ZodOptional<z.ZodObject<{
|
|
537
903
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -543,7 +909,13 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
543
909
|
}, z.core.$strip>>;
|
|
544
910
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./types.js").JsonValue, unknown, z.core.$ZodTypeInternals<import("./types.js").JsonValue, unknown>>>>;
|
|
545
911
|
type: z.ZodLiteral<"note.created">;
|
|
546
|
-
|
|
912
|
+
owner: z.ZodObject<{
|
|
913
|
+
kind: z.ZodEnum<{
|
|
914
|
+
human: "human";
|
|
915
|
+
agent: "agent";
|
|
916
|
+
}>;
|
|
917
|
+
id: z.ZodString;
|
|
918
|
+
}, z.core.$strict>;
|
|
547
919
|
ownerDisplayName: z.ZodString;
|
|
548
920
|
title: z.ZodString;
|
|
549
921
|
body: z.ZodString;
|
|
@@ -551,7 +923,7 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
551
923
|
topicIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
552
924
|
visibility: z.ZodLiteral<"private">;
|
|
553
925
|
}, z.core.$strip>, z.ZodObject<{
|
|
554
|
-
schemaVersion: z.ZodLiteral<
|
|
926
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
555
927
|
id: z.ZodString;
|
|
556
928
|
workspaceId: z.ZodString;
|
|
557
929
|
aggregateId: z.ZodString;
|
|
@@ -566,6 +938,15 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
566
938
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
567
939
|
displayName: z.ZodOptional<z.ZodString>;
|
|
568
940
|
}, z.core.$strip>;
|
|
941
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
942
|
+
basis: z.ZodEnum<{
|
|
943
|
+
operator: "operator";
|
|
944
|
+
workspace_admin: "workspace_admin";
|
|
945
|
+
organization_admin: "organization_admin";
|
|
946
|
+
local_owner: "local_owner";
|
|
947
|
+
}>;
|
|
948
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
949
|
+
}, z.core.$strict>>;
|
|
569
950
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
570
951
|
source: z.ZodOptional<z.ZodObject<{
|
|
571
952
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -584,7 +965,7 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
584
965
|
topicIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
585
966
|
visibility: z.ZodLiteral<"private">;
|
|
586
967
|
}, z.core.$strip>, z.ZodObject<{
|
|
587
|
-
schemaVersion: z.ZodLiteral<
|
|
968
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
588
969
|
id: z.ZodString;
|
|
589
970
|
workspaceId: z.ZodString;
|
|
590
971
|
aggregateId: z.ZodString;
|
|
@@ -599,6 +980,15 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
599
980
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
600
981
|
displayName: z.ZodOptional<z.ZodString>;
|
|
601
982
|
}, z.core.$strip>;
|
|
983
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
984
|
+
basis: z.ZodEnum<{
|
|
985
|
+
operator: "operator";
|
|
986
|
+
workspace_admin: "workspace_admin";
|
|
987
|
+
organization_admin: "organization_admin";
|
|
988
|
+
local_owner: "local_owner";
|
|
989
|
+
}>;
|
|
990
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
991
|
+
}, z.core.$strict>>;
|
|
602
992
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
603
993
|
source: z.ZodOptional<z.ZodObject<{
|
|
604
994
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -612,7 +1002,7 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
612
1002
|
type: z.ZodLiteral<"note.archived">;
|
|
613
1003
|
noteId: z.ZodString;
|
|
614
1004
|
}, z.core.$strip>, z.ZodObject<{
|
|
615
|
-
schemaVersion: z.ZodLiteral<
|
|
1005
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
616
1006
|
id: z.ZodString;
|
|
617
1007
|
workspaceId: z.ZodString;
|
|
618
1008
|
aggregateId: z.ZodString;
|
|
@@ -627,6 +1017,15 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
627
1017
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
628
1018
|
displayName: z.ZodOptional<z.ZodString>;
|
|
629
1019
|
}, z.core.$strip>;
|
|
1020
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
1021
|
+
basis: z.ZodEnum<{
|
|
1022
|
+
operator: "operator";
|
|
1023
|
+
workspace_admin: "workspace_admin";
|
|
1024
|
+
organization_admin: "organization_admin";
|
|
1025
|
+
local_owner: "local_owner";
|
|
1026
|
+
}>;
|
|
1027
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1028
|
+
}, z.core.$strict>>;
|
|
630
1029
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
631
1030
|
source: z.ZodOptional<z.ZodObject<{
|
|
632
1031
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -656,11 +1055,17 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
656
1055
|
public: "public";
|
|
657
1056
|
}>;
|
|
658
1057
|
type: z.ZodLiteral<"task.created">;
|
|
659
|
-
|
|
1058
|
+
assignee: z.ZodObject<{
|
|
1059
|
+
kind: z.ZodEnum<{
|
|
1060
|
+
human: "human";
|
|
1061
|
+
agent: "agent";
|
|
1062
|
+
}>;
|
|
1063
|
+
id: z.ZodString;
|
|
1064
|
+
}, z.core.$strict>;
|
|
660
1065
|
assigneeDisplayName: z.ZodString;
|
|
661
1066
|
requiresAcceptance: z.ZodBoolean;
|
|
662
1067
|
}, z.core.$strip>, z.ZodObject<{
|
|
663
|
-
schemaVersion: z.ZodLiteral<
|
|
1068
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
664
1069
|
id: z.ZodString;
|
|
665
1070
|
workspaceId: z.ZodString;
|
|
666
1071
|
aggregateId: z.ZodString;
|
|
@@ -675,6 +1080,15 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
675
1080
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
676
1081
|
displayName: z.ZodOptional<z.ZodString>;
|
|
677
1082
|
}, z.core.$strip>;
|
|
1083
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
1084
|
+
basis: z.ZodEnum<{
|
|
1085
|
+
operator: "operator";
|
|
1086
|
+
workspace_admin: "workspace_admin";
|
|
1087
|
+
organization_admin: "organization_admin";
|
|
1088
|
+
local_owner: "local_owner";
|
|
1089
|
+
}>;
|
|
1090
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1091
|
+
}, z.core.$strict>>;
|
|
678
1092
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
679
1093
|
source: z.ZodOptional<z.ZodObject<{
|
|
680
1094
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -706,7 +1120,7 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
706
1120
|
type: z.ZodLiteral<"task.updated">;
|
|
707
1121
|
taskId: z.ZodString;
|
|
708
1122
|
}, z.core.$strip>, z.ZodObject<{
|
|
709
|
-
schemaVersion: z.ZodLiteral<
|
|
1123
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
710
1124
|
id: z.ZodString;
|
|
711
1125
|
workspaceId: z.ZodString;
|
|
712
1126
|
aggregateId: z.ZodString;
|
|
@@ -721,6 +1135,15 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
721
1135
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
722
1136
|
displayName: z.ZodOptional<z.ZodString>;
|
|
723
1137
|
}, z.core.$strip>;
|
|
1138
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
1139
|
+
basis: z.ZodEnum<{
|
|
1140
|
+
operator: "operator";
|
|
1141
|
+
workspace_admin: "workspace_admin";
|
|
1142
|
+
organization_admin: "organization_admin";
|
|
1143
|
+
local_owner: "local_owner";
|
|
1144
|
+
}>;
|
|
1145
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1146
|
+
}, z.core.$strict>>;
|
|
724
1147
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
725
1148
|
source: z.ZodOptional<z.ZodObject<{
|
|
726
1149
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -735,7 +1158,7 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
735
1158
|
taskId: z.ZodString;
|
|
736
1159
|
note: z.ZodOptional<z.ZodString>;
|
|
737
1160
|
}, z.core.$strip>, z.ZodObject<{
|
|
738
|
-
schemaVersion: z.ZodLiteral<
|
|
1161
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
739
1162
|
id: z.ZodString;
|
|
740
1163
|
workspaceId: z.ZodString;
|
|
741
1164
|
aggregateId: z.ZodString;
|
|
@@ -750,6 +1173,15 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
750
1173
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
751
1174
|
displayName: z.ZodOptional<z.ZodString>;
|
|
752
1175
|
}, z.core.$strip>;
|
|
1176
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
1177
|
+
basis: z.ZodEnum<{
|
|
1178
|
+
operator: "operator";
|
|
1179
|
+
workspace_admin: "workspace_admin";
|
|
1180
|
+
organization_admin: "organization_admin";
|
|
1181
|
+
local_owner: "local_owner";
|
|
1182
|
+
}>;
|
|
1183
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1184
|
+
}, z.core.$strict>>;
|
|
753
1185
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
754
1186
|
source: z.ZodOptional<z.ZodObject<{
|
|
755
1187
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -763,7 +1195,7 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
763
1195
|
type: z.ZodLiteral<"task.reopened">;
|
|
764
1196
|
taskId: z.ZodString;
|
|
765
1197
|
}, z.core.$strip>, z.ZodObject<{
|
|
766
|
-
schemaVersion: z.ZodLiteral<
|
|
1198
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
767
1199
|
id: z.ZodString;
|
|
768
1200
|
workspaceId: z.ZodString;
|
|
769
1201
|
aggregateId: z.ZodString;
|
|
@@ -778,6 +1210,15 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
778
1210
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
779
1211
|
displayName: z.ZodOptional<z.ZodString>;
|
|
780
1212
|
}, z.core.$strip>;
|
|
1213
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
1214
|
+
basis: z.ZodEnum<{
|
|
1215
|
+
operator: "operator";
|
|
1216
|
+
workspace_admin: "workspace_admin";
|
|
1217
|
+
organization_admin: "organization_admin";
|
|
1218
|
+
local_owner: "local_owner";
|
|
1219
|
+
}>;
|
|
1220
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1221
|
+
}, z.core.$strict>>;
|
|
781
1222
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
782
1223
|
source: z.ZodOptional<z.ZodObject<{
|
|
783
1224
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -792,7 +1233,7 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
792
1233
|
taskId: z.ZodString;
|
|
793
1234
|
response: z.ZodOptional<z.ZodString>;
|
|
794
1235
|
}, z.core.$strip>, z.ZodObject<{
|
|
795
|
-
schemaVersion: z.ZodLiteral<
|
|
1236
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
796
1237
|
id: z.ZodString;
|
|
797
1238
|
workspaceId: z.ZodString;
|
|
798
1239
|
aggregateId: z.ZodString;
|
|
@@ -807,6 +1248,15 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
807
1248
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
808
1249
|
displayName: z.ZodOptional<z.ZodString>;
|
|
809
1250
|
}, z.core.$strip>;
|
|
1251
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
1252
|
+
basis: z.ZodEnum<{
|
|
1253
|
+
operator: "operator";
|
|
1254
|
+
workspace_admin: "workspace_admin";
|
|
1255
|
+
organization_admin: "organization_admin";
|
|
1256
|
+
local_owner: "local_owner";
|
|
1257
|
+
}>;
|
|
1258
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1259
|
+
}, z.core.$strict>>;
|
|
810
1260
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
811
1261
|
source: z.ZodOptional<z.ZodObject<{
|
|
812
1262
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -821,7 +1271,7 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
821
1271
|
taskId: z.ZodString;
|
|
822
1272
|
response: z.ZodString;
|
|
823
1273
|
}, z.core.$strip>, z.ZodObject<{
|
|
824
|
-
schemaVersion: z.ZodLiteral<
|
|
1274
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
825
1275
|
id: z.ZodString;
|
|
826
1276
|
workspaceId: z.ZodString;
|
|
827
1277
|
aggregateId: z.ZodString;
|
|
@@ -836,6 +1286,15 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
836
1286
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
837
1287
|
displayName: z.ZodOptional<z.ZodString>;
|
|
838
1288
|
}, z.core.$strip>;
|
|
1289
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
1290
|
+
basis: z.ZodEnum<{
|
|
1291
|
+
operator: "operator";
|
|
1292
|
+
workspace_admin: "workspace_admin";
|
|
1293
|
+
organization_admin: "organization_admin";
|
|
1294
|
+
local_owner: "local_owner";
|
|
1295
|
+
}>;
|
|
1296
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1297
|
+
}, z.core.$strict>>;
|
|
839
1298
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
840
1299
|
source: z.ZodOptional<z.ZodObject<{
|
|
841
1300
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -850,7 +1309,53 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
850
1309
|
taskId: z.ZodString;
|
|
851
1310
|
reason: z.ZodOptional<z.ZodString>;
|
|
852
1311
|
}, z.core.$strip>, z.ZodObject<{
|
|
853
|
-
schemaVersion: z.ZodLiteral<
|
|
1312
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
1313
|
+
id: z.ZodString;
|
|
1314
|
+
workspaceId: z.ZodString;
|
|
1315
|
+
aggregateId: z.ZodString;
|
|
1316
|
+
aggregateVersion: z.ZodNumber;
|
|
1317
|
+
createdAt: z.ZodString;
|
|
1318
|
+
actor: z.ZodObject<{
|
|
1319
|
+
kind: z.ZodEnum<{
|
|
1320
|
+
human: "human";
|
|
1321
|
+
agent: "agent";
|
|
1322
|
+
system: "system";
|
|
1323
|
+
}>;
|
|
1324
|
+
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
1325
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
1326
|
+
}, z.core.$strip>;
|
|
1327
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
1328
|
+
basis: z.ZodEnum<{
|
|
1329
|
+
operator: "operator";
|
|
1330
|
+
workspace_admin: "workspace_admin";
|
|
1331
|
+
organization_admin: "organization_admin";
|
|
1332
|
+
local_owner: "local_owner";
|
|
1333
|
+
}>;
|
|
1334
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1335
|
+
}, z.core.$strict>>;
|
|
1336
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
1337
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
1338
|
+
runtime: z.ZodOptional<z.ZodString>;
|
|
1339
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1340
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1341
|
+
repository: z.ZodOptional<z.ZodString>;
|
|
1342
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
1343
|
+
workingDirectory: z.ZodOptional<z.ZodString>;
|
|
1344
|
+
}, z.core.$strip>>;
|
|
1345
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./types.js").JsonValue, unknown, z.core.$ZodTypeInternals<import("./types.js").JsonValue, unknown>>>>;
|
|
1346
|
+
type: z.ZodLiteral<"task.decision_overridden">;
|
|
1347
|
+
taskId: z.ZodString;
|
|
1348
|
+
previousStatus: z.ZodEnum<{
|
|
1349
|
+
open: "open";
|
|
1350
|
+
rejected: "rejected";
|
|
1351
|
+
}>;
|
|
1352
|
+
nextStatus: z.ZodEnum<{
|
|
1353
|
+
open: "open";
|
|
1354
|
+
rejected: "rejected";
|
|
1355
|
+
}>;
|
|
1356
|
+
reason: z.ZodString;
|
|
1357
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1358
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
854
1359
|
id: z.ZodString;
|
|
855
1360
|
workspaceId: z.ZodString;
|
|
856
1361
|
aggregateId: z.ZodString;
|
|
@@ -865,6 +1370,15 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
865
1370
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
866
1371
|
displayName: z.ZodOptional<z.ZodString>;
|
|
867
1372
|
}, z.core.$strip>;
|
|
1373
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
1374
|
+
basis: z.ZodEnum<{
|
|
1375
|
+
operator: "operator";
|
|
1376
|
+
workspace_admin: "workspace_admin";
|
|
1377
|
+
organization_admin: "organization_admin";
|
|
1378
|
+
local_owner: "local_owner";
|
|
1379
|
+
}>;
|
|
1380
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1381
|
+
}, z.core.$strict>>;
|
|
868
1382
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
869
1383
|
source: z.ZodOptional<z.ZodObject<{
|
|
870
1384
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -889,8 +1403,15 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
889
1403
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
890
1404
|
topicIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
891
1405
|
type: z.ZodLiteral<"todo.created">;
|
|
1406
|
+
owner: z.ZodObject<{
|
|
1407
|
+
kind: z.ZodEnum<{
|
|
1408
|
+
human: "human";
|
|
1409
|
+
agent: "agent";
|
|
1410
|
+
}>;
|
|
1411
|
+
id: z.ZodString;
|
|
1412
|
+
}, z.core.$strict>;
|
|
892
1413
|
}, z.core.$strip>, z.ZodObject<{
|
|
893
|
-
schemaVersion: z.ZodLiteral<
|
|
1414
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
894
1415
|
id: z.ZodString;
|
|
895
1416
|
workspaceId: z.ZodString;
|
|
896
1417
|
aggregateId: z.ZodString;
|
|
@@ -905,6 +1426,15 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
905
1426
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
906
1427
|
displayName: z.ZodOptional<z.ZodString>;
|
|
907
1428
|
}, z.core.$strip>;
|
|
1429
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
1430
|
+
basis: z.ZodEnum<{
|
|
1431
|
+
operator: "operator";
|
|
1432
|
+
workspace_admin: "workspace_admin";
|
|
1433
|
+
organization_admin: "organization_admin";
|
|
1434
|
+
local_owner: "local_owner";
|
|
1435
|
+
}>;
|
|
1436
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1437
|
+
}, z.core.$strict>>;
|
|
908
1438
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
909
1439
|
source: z.ZodOptional<z.ZodObject<{
|
|
910
1440
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -931,7 +1461,7 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
931
1461
|
type: z.ZodLiteral<"todo.updated">;
|
|
932
1462
|
todoId: z.ZodString;
|
|
933
1463
|
}, z.core.$strip>, z.ZodObject<{
|
|
934
|
-
schemaVersion: z.ZodLiteral<
|
|
1464
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
935
1465
|
id: z.ZodString;
|
|
936
1466
|
workspaceId: z.ZodString;
|
|
937
1467
|
aggregateId: z.ZodString;
|
|
@@ -946,6 +1476,15 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
946
1476
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
947
1477
|
displayName: z.ZodOptional<z.ZodString>;
|
|
948
1478
|
}, z.core.$strip>;
|
|
1479
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
1480
|
+
basis: z.ZodEnum<{
|
|
1481
|
+
operator: "operator";
|
|
1482
|
+
workspace_admin: "workspace_admin";
|
|
1483
|
+
organization_admin: "organization_admin";
|
|
1484
|
+
local_owner: "local_owner";
|
|
1485
|
+
}>;
|
|
1486
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1487
|
+
}, z.core.$strict>>;
|
|
949
1488
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
950
1489
|
source: z.ZodOptional<z.ZodObject<{
|
|
951
1490
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -960,7 +1499,7 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
960
1499
|
todoId: z.ZodString;
|
|
961
1500
|
note: z.ZodOptional<z.ZodString>;
|
|
962
1501
|
}, z.core.$strip>, z.ZodObject<{
|
|
963
|
-
schemaVersion: z.ZodLiteral<
|
|
1502
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
964
1503
|
id: z.ZodString;
|
|
965
1504
|
workspaceId: z.ZodString;
|
|
966
1505
|
aggregateId: z.ZodString;
|
|
@@ -975,6 +1514,15 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
975
1514
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
976
1515
|
displayName: z.ZodOptional<z.ZodString>;
|
|
977
1516
|
}, z.core.$strip>;
|
|
1517
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
1518
|
+
basis: z.ZodEnum<{
|
|
1519
|
+
operator: "operator";
|
|
1520
|
+
workspace_admin: "workspace_admin";
|
|
1521
|
+
organization_admin: "organization_admin";
|
|
1522
|
+
local_owner: "local_owner";
|
|
1523
|
+
}>;
|
|
1524
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1525
|
+
}, z.core.$strict>>;
|
|
978
1526
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
979
1527
|
source: z.ZodOptional<z.ZodObject<{
|
|
980
1528
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -988,7 +1536,7 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
988
1536
|
type: z.ZodLiteral<"todo.reopened">;
|
|
989
1537
|
todoId: z.ZodString;
|
|
990
1538
|
}, z.core.$strip>, z.ZodObject<{
|
|
991
|
-
schemaVersion: z.ZodLiteral<
|
|
1539
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
992
1540
|
id: z.ZodString;
|
|
993
1541
|
workspaceId: z.ZodString;
|
|
994
1542
|
aggregateId: z.ZodString;
|
|
@@ -1003,6 +1551,15 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
1003
1551
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
1004
1552
|
displayName: z.ZodOptional<z.ZodString>;
|
|
1005
1553
|
}, z.core.$strip>;
|
|
1554
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
1555
|
+
basis: z.ZodEnum<{
|
|
1556
|
+
operator: "operator";
|
|
1557
|
+
workspace_admin: "workspace_admin";
|
|
1558
|
+
organization_admin: "organization_admin";
|
|
1559
|
+
local_owner: "local_owner";
|
|
1560
|
+
}>;
|
|
1561
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1562
|
+
}, z.core.$strict>>;
|
|
1006
1563
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
1007
1564
|
source: z.ZodOptional<z.ZodObject<{
|
|
1008
1565
|
runtime: z.ZodOptional<z.ZodString>;
|
|
@@ -1017,7 +1574,7 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
1017
1574
|
todoId: z.ZodString;
|
|
1018
1575
|
reason: z.ZodOptional<z.ZodString>;
|
|
1019
1576
|
}, z.core.$strip>, z.ZodObject<{
|
|
1020
|
-
schemaVersion: z.ZodLiteral<
|
|
1577
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
1021
1578
|
id: z.ZodString;
|
|
1022
1579
|
workspaceId: z.ZodString;
|
|
1023
1580
|
aggregateId: z.ZodString;
|
|
@@ -1032,6 +1589,15 @@ export declare const importBundleSchema: z.ZodObject<{
|
|
|
1032
1589
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
1033
1590
|
displayName: z.ZodOptional<z.ZodString>;
|
|
1034
1591
|
}, z.core.$strip>;
|
|
1592
|
+
intervention: z.ZodOptional<z.ZodObject<{
|
|
1593
|
+
basis: z.ZodEnum<{
|
|
1594
|
+
operator: "operator";
|
|
1595
|
+
workspace_admin: "workspace_admin";
|
|
1596
|
+
organization_admin: "organization_admin";
|
|
1597
|
+
local_owner: "local_owner";
|
|
1598
|
+
}>;
|
|
1599
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1600
|
+
}, z.core.$strict>>;
|
|
1035
1601
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
1036
1602
|
source: z.ZodOptional<z.ZodObject<{
|
|
1037
1603
|
runtime: z.ZodOptional<z.ZodString>;
|