@ourofoundation/ouro-js 1.0.6 → 1.1.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.
@@ -1,73 +1,37 @@
1
1
  import { z } from "zod";
2
2
  declare const TipTapSchema: z.ZodObject<{
3
3
  type: z.ZodLiteral<"doc">;
4
- content: z.ZodArray<z.ZodObject<{
5
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
6
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
7
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
9
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
10
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
11
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
12
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
13
- }, z.ZodTypeAny, "passthrough">>, "many">;
4
+ content: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
14
5
  }, "strip", z.ZodTypeAny, {
15
6
  type: "doc";
16
- content: z.objectOutputType<{
17
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
18
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
19
- }, z.ZodTypeAny, "passthrough">[];
7
+ content: any[];
20
8
  }, {
21
9
  type: "doc";
22
- content: z.objectInputType<{
23
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
24
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
25
- }, z.ZodTypeAny, "passthrough">[];
10
+ content: any[];
26
11
  }>;
27
12
  declare const ContentSchema: z.ZodDefault<z.ZodObject<{
28
13
  json: z.ZodObject<{
29
14
  type: z.ZodLiteral<"doc">;
30
- content: z.ZodArray<z.ZodObject<{
31
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
32
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
33
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
34
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
35
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
36
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
37
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
38
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
39
- }, z.ZodTypeAny, "passthrough">>, "many">;
15
+ content: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
40
16
  }, "strip", z.ZodTypeAny, {
41
17
  type: "doc";
42
- content: z.objectOutputType<{
43
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
44
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
45
- }, z.ZodTypeAny, "passthrough">[];
18
+ content: any[];
46
19
  }, {
47
20
  type: "doc";
48
- content: z.objectInputType<{
49
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
50
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
51
- }, z.ZodTypeAny, "passthrough">[];
21
+ content: any[];
52
22
  }>;
53
23
  text: z.ZodString;
54
24
  }, "strip", z.ZodTypeAny, {
55
25
  text: string;
56
26
  json: {
57
27
  type: "doc";
58
- content: z.objectOutputType<{
59
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
60
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
61
- }, z.ZodTypeAny, "passthrough">[];
28
+ content: any[];
62
29
  };
63
30
  }, {
64
31
  text: string;
65
32
  json: {
66
33
  type: "doc";
67
- content: z.objectInputType<{
68
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
69
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
70
- }, z.ZodTypeAny, "passthrough">[];
34
+ content: any[];
71
35
  };
72
36
  }>>;
73
37
  declare const PostSchema: z.ZodObject<z.objectUtil.extendShape<{
@@ -177,7 +141,8 @@ declare const PostSchema: z.ZodObject<z.objectUtil.extendShape<{
177
141
  default_role?: "none" | "admin" | "read" | "write" | undefined;
178
142
  }>>;
179
143
  parent_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
180
- asset_type: z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
144
+ parent: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
145
+ asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
181
146
  name: z.ZodString;
182
147
  name_url_slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
183
148
  slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -197,76 +162,40 @@ declare const PostSchema: z.ZodObject<z.objectUtil.extendShape<{
197
162
  last_updated: z.ZodString;
198
163
  }, {
199
164
  name: z.ZodNullable<z.ZodString>;
200
- asset_type: z.ZodEffects<z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>, "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication", "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication">;
165
+ asset_type: z.ZodEffects<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>, "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication", "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication">;
201
166
  preview: z.ZodDefault<z.ZodObject<{
202
167
  type: z.ZodLiteral<"doc">;
203
- content: z.ZodArray<z.ZodObject<{
204
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
205
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
206
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
207
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
208
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
209
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
210
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
211
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
212
- }, z.ZodTypeAny, "passthrough">>, "many">;
168
+ content: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
213
169
  }, "strip", z.ZodTypeAny, {
214
170
  type: "doc";
215
- content: z.objectOutputType<{
216
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
217
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
218
- }, z.ZodTypeAny, "passthrough">[];
171
+ content: any[];
219
172
  }, {
220
173
  type: "doc";
221
- content: z.objectInputType<{
222
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
223
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
224
- }, z.ZodTypeAny, "passthrough">[];
174
+ content: any[];
225
175
  }>>;
226
176
  content: z.ZodDefault<z.ZodObject<{
227
177
  json: z.ZodObject<{
228
178
  type: z.ZodLiteral<"doc">;
229
- content: z.ZodArray<z.ZodObject<{
230
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
231
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
232
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
233
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
234
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
235
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
236
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
237
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
238
- }, z.ZodTypeAny, "passthrough">>, "many">;
179
+ content: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
239
180
  }, "strip", z.ZodTypeAny, {
240
181
  type: "doc";
241
- content: z.objectOutputType<{
242
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
243
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
244
- }, z.ZodTypeAny, "passthrough">[];
182
+ content: any[];
245
183
  }, {
246
184
  type: "doc";
247
- content: z.objectInputType<{
248
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
249
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
250
- }, z.ZodTypeAny, "passthrough">[];
185
+ content: any[];
251
186
  }>;
252
187
  text: z.ZodString;
253
188
  }, "strip", z.ZodTypeAny, {
254
189
  text: string;
255
190
  json: {
256
191
  type: "doc";
257
- content: z.objectOutputType<{
258
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
259
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
260
- }, z.ZodTypeAny, "passthrough">[];
192
+ content: any[];
261
193
  };
262
194
  }, {
263
195
  text: string;
264
196
  json: {
265
197
  type: "doc";
266
- content: z.objectInputType<{
267
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
268
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
269
- }, z.ZodTypeAny, "passthrough">[];
198
+ content: any[];
270
199
  };
271
200
  }>>;
272
201
  }>, "strip", z.ZodTypeAny, {
@@ -276,30 +205,25 @@ declare const PostSchema: z.ZodObject<z.objectUtil.extendShape<{
276
205
  text: string;
277
206
  json: {
278
207
  type: "doc";
279
- content: z.objectOutputType<{
280
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
281
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
282
- }, z.ZodTypeAny, "passthrough">[];
208
+ content: any[];
283
209
  };
284
210
  };
285
211
  visibility: "inherit" | "private" | "public" | "organization" | "monetized";
286
212
  user_id: string;
287
213
  org_id: string;
288
- asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
214
+ asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
289
215
  created_at: string;
290
216
  last_updated: string;
291
217
  team_id: string;
292
218
  monetization: "none" | "pay-to-unlock" | "pay-per-use";
293
219
  preview: {
294
220
  type: "doc";
295
- content: z.objectOutputType<{
296
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
297
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
298
- }, z.ZodTypeAny, "passthrough">[];
221
+ content: any[];
299
222
  };
300
223
  state?: "error" | "in-progress" | "success" | "queued" | null | undefined;
301
224
  metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
302
225
  description?: string | null | undefined;
226
+ parent?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
303
227
  user?: {
304
228
  id?: string | undefined;
305
229
  user_id?: string | undefined;
@@ -348,7 +272,7 @@ declare const PostSchema: z.ZodObject<z.objectUtil.extendShape<{
348
272
  visibility: "inherit" | "private" | "public" | "organization" | "monetized";
349
273
  user_id: string;
350
274
  org_id: string;
351
- asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
275
+ asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
352
276
  created_at: string;
353
277
  last_updated: string;
354
278
  team_id: string;
@@ -358,14 +282,12 @@ declare const PostSchema: z.ZodObject<z.objectUtil.extendShape<{
358
282
  text: string;
359
283
  json: {
360
284
  type: "doc";
361
- content: z.objectInputType<{
362
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
363
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
364
- }, z.ZodTypeAny, "passthrough">[];
285
+ content: any[];
365
286
  };
366
287
  } | undefined;
367
288
  metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
368
289
  description?: string | null | undefined;
290
+ parent?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
369
291
  user?: {
370
292
  id?: string | undefined;
371
293
  user_id?: string | undefined;
@@ -410,10 +332,7 @@ declare const PostSchema: z.ZodObject<z.objectUtil.extendShape<{
410
332
  price_id?: string | null | undefined;
411
333
  preview?: {
412
334
  type: "doc";
413
- content: z.objectInputType<{
414
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
415
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
416
- }, z.ZodTypeAny, "passthrough">[];
335
+ content: any[];
417
336
  } | undefined;
418
337
  }>;
419
338
  declare const CreatePostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<Omit<{
@@ -523,7 +442,8 @@ declare const CreatePostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUti
523
442
  default_role?: "none" | "admin" | "read" | "write" | undefined;
524
443
  }>>>;
525
444
  parent_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
526
- asset_type: z.ZodOptional<z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>>;
445
+ parent: z.ZodOptional<z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>>;
446
+ asset_type: z.ZodOptional<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>>;
527
447
  name: z.ZodOptional<z.ZodString>;
528
448
  name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
529
449
  slug: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
@@ -541,7 +461,7 @@ declare const CreatePostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUti
541
461
  state: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<["queued", "in-progress", "success", "error"]>>>>;
542
462
  created_at: z.ZodOptional<z.ZodString>;
543
463
  last_updated: z.ZodOptional<z.ZodString>;
544
- }, "user" | "organization" | "user_id" | "team" | "slug">, {
464
+ }, "user" | "organization" | "team" | "user_id" | "slug">, {
545
465
  id: z.ZodDefault<z.ZodString>;
546
466
  team_id: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
547
467
  org_id: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -556,28 +476,13 @@ declare const CreatePostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUti
556
476
  name: z.ZodEffects<z.ZodEffects<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodString>>>, string | undefined, string | null | undefined>, string | null, string | null | undefined>;
557
477
  preview: z.ZodObject<{
558
478
  type: z.ZodLiteral<"doc">;
559
- content: z.ZodArray<z.ZodObject<{
560
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
561
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
562
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
563
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
564
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
565
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
566
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
567
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
568
- }, z.ZodTypeAny, "passthrough">>, "many">;
479
+ content: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
569
480
  }, "strip", z.ZodTypeAny, {
570
481
  type: "doc";
571
- content: z.objectOutputType<{
572
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
573
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
574
- }, z.ZodTypeAny, "passthrough">[];
482
+ content: any[];
575
483
  }, {
576
484
  type: "doc";
577
- content: z.objectInputType<{
578
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
579
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
580
- }, z.ZodTypeAny, "passthrough">[];
485
+ content: any[];
581
486
  }>;
582
487
  }>, "strip", z.ZodTypeAny, {
583
488
  id: string;
@@ -591,13 +496,11 @@ declare const CreatePostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUti
591
496
  team_id: string | null;
592
497
  preview: {
593
498
  type: "doc";
594
- content: z.objectOutputType<{
595
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
596
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
597
- }, z.ZodTypeAny, "passthrough">[];
499
+ content: any[];
598
500
  };
599
501
  metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
600
502
  description?: string | null | undefined;
503
+ parent?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
601
504
  parent_id?: string | null | undefined;
602
505
  name_url_slug?: string | null | undefined;
603
506
  monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
@@ -610,10 +513,7 @@ declare const CreatePostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUti
610
513
  }, {
611
514
  preview: {
612
515
  type: "doc";
613
- content: z.objectInputType<{
614
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
615
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
616
- }, z.ZodTypeAny, "passthrough">[];
516
+ content: any[];
617
517
  };
618
518
  id?: string | undefined;
619
519
  state?: "error" | "in-progress" | "success" | "queued" | undefined;
@@ -621,6 +521,7 @@ declare const CreatePostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUti
621
521
  visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
622
522
  metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
623
523
  description?: string | null | undefined;
524
+ parent?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
624
525
  org_id?: string | null | undefined;
625
526
  asset_type?: "post" | undefined;
626
527
  created_at?: string | undefined;
@@ -743,7 +644,8 @@ declare const ReadPostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
743
644
  default_role?: "none" | "admin" | "read" | "write" | undefined;
744
645
  }>>;
745
646
  parent_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
746
- asset_type: z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
647
+ parent: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
648
+ asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
747
649
  name: z.ZodString;
748
650
  name_url_slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
749
651
  slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -763,162 +665,71 @@ declare const ReadPostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
763
665
  last_updated: z.ZodString;
764
666
  }, {
765
667
  name: z.ZodNullable<z.ZodString>;
766
- asset_type: z.ZodEffects<z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>, "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication", "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication">;
668
+ asset_type: z.ZodEffects<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>, "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication", "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication">;
767
669
  preview: z.ZodDefault<z.ZodObject<{
768
670
  type: z.ZodLiteral<"doc">;
769
- content: z.ZodArray<z.ZodObject<{
770
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
771
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
772
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
773
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
774
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
775
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
776
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
777
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
778
- }, z.ZodTypeAny, "passthrough">>, "many">;
671
+ content: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
779
672
  }, "strip", z.ZodTypeAny, {
780
673
  type: "doc";
781
- content: z.objectOutputType<{
782
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
783
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
784
- }, z.ZodTypeAny, "passthrough">[];
674
+ content: any[];
785
675
  }, {
786
676
  type: "doc";
787
- content: z.objectInputType<{
788
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
789
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
790
- }, z.ZodTypeAny, "passthrough">[];
677
+ content: any[];
791
678
  }>>;
792
679
  content: z.ZodDefault<z.ZodObject<{
793
680
  json: z.ZodObject<{
794
681
  type: z.ZodLiteral<"doc">;
795
- content: z.ZodArray<z.ZodObject<{
796
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
797
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
798
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
799
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
800
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
801
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
802
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
803
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
804
- }, z.ZodTypeAny, "passthrough">>, "many">;
682
+ content: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
805
683
  }, "strip", z.ZodTypeAny, {
806
684
  type: "doc";
807
- content: z.objectOutputType<{
808
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
809
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
810
- }, z.ZodTypeAny, "passthrough">[];
685
+ content: any[];
811
686
  }, {
812
687
  type: "doc";
813
- content: z.objectInputType<{
814
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
815
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
816
- }, z.ZodTypeAny, "passthrough">[];
688
+ content: any[];
817
689
  }>;
818
690
  text: z.ZodString;
819
691
  }, "strip", z.ZodTypeAny, {
820
692
  text: string;
821
693
  json: {
822
694
  type: "doc";
823
- content: z.objectOutputType<{
824
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
825
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
826
- }, z.ZodTypeAny, "passthrough">[];
695
+ content: any[];
827
696
  };
828
697
  }, {
829
698
  text: string;
830
699
  json: {
831
700
  type: "doc";
832
- content: z.objectInputType<{
833
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
834
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
835
- }, z.ZodTypeAny, "passthrough">[];
701
+ content: any[];
836
702
  };
837
703
  }>>;
838
704
  }>, {
839
705
  content: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodDefault<z.ZodObject<{
840
706
  json: z.ZodObject<{
841
707
  type: z.ZodLiteral<"doc">;
842
- content: z.ZodArray<z.ZodObject<{
843
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
844
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
845
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
846
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
847
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
848
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
849
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
850
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
851
- }, z.ZodTypeAny, "passthrough">>, "many">;
708
+ content: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
852
709
  }, "strip", z.ZodTypeAny, {
853
710
  type: "doc";
854
- content: z.objectOutputType<{
855
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
856
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
857
- }, z.ZodTypeAny, "passthrough">[];
711
+ content: any[];
858
712
  }, {
859
713
  type: "doc";
860
- content: z.objectInputType<{
861
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
862
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
863
- }, z.ZodTypeAny, "passthrough">[];
714
+ content: any[];
864
715
  }>;
865
716
  text: z.ZodString;
866
717
  }, "strip", z.ZodTypeAny, {
867
718
  text: string;
868
719
  json: {
869
720
  type: "doc";
870
- content: z.objectOutputType<{
871
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
872
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
873
- }, z.ZodTypeAny, "passthrough">[];
721
+ content: any[];
874
722
  };
875
723
  }, {
876
724
  text: string;
877
725
  json: {
878
726
  type: "doc";
879
- content: z.objectInputType<{
880
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
881
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
882
- }, z.ZodTypeAny, "passthrough">[];
727
+ content: any[];
883
728
  };
884
729
  }>>>>>;
885
730
  reactions: z.ZodDefault<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
886
731
  views: z.ZodDefault<z.ZodNumber>;
887
732
  commentCount: z.ZodDefault<z.ZodNumber>;
888
- parent: z.ZodNullable<z.ZodOptional<z.ZodObject<{
889
- id: z.ZodString;
890
- user_id: z.ZodString;
891
- type: z.ZodEnum<["comment", "reference", "mention", "action", "component"]>;
892
- action_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
893
- source_id: z.ZodString;
894
- target_id: z.ZodString;
895
- source_asset_type: z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
896
- target_asset_type: z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
897
- created_at: z.ZodString;
898
- last_updated: z.ZodString;
899
- }, "strip", z.ZodTypeAny, {
900
- type: "action" | "comment" | "reference" | "mention" | "component";
901
- id: string;
902
- user_id: string;
903
- created_at: string;
904
- last_updated: string;
905
- source_id: string;
906
- target_id: string;
907
- source_asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
908
- target_asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
909
- action_id?: string | null | undefined;
910
- }, {
911
- type: "action" | "comment" | "reference" | "mention" | "component";
912
- id: string;
913
- user_id: string;
914
- created_at: string;
915
- last_updated: string;
916
- source_id: string;
917
- target_id: string;
918
- source_asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
919
- target_asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
920
- action_id?: string | null | undefined;
921
- }>>>;
922
733
  pinned: z.ZodDefault<z.ZodBoolean>;
923
734
  }>, "strip", z.ZodTypeAny, {
924
735
  id: string;
@@ -927,26 +738,20 @@ declare const ReadPostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
927
738
  text: string;
928
739
  json: {
929
740
  type: "doc";
930
- content: z.objectOutputType<{
931
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
932
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
933
- }, z.ZodTypeAny, "passthrough">[];
741
+ content: any[];
934
742
  };
935
743
  } | null;
936
744
  visibility: "inherit" | "private" | "public" | "organization" | "monetized";
937
745
  user_id: string;
938
746
  org_id: string;
939
- asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
747
+ asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
940
748
  created_at: string;
941
749
  last_updated: string;
942
750
  team_id: string;
943
751
  monetization: "none" | "pay-to-unlock" | "pay-per-use";
944
752
  preview: {
945
753
  type: "doc";
946
- content: z.objectOutputType<{
947
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
948
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
949
- }, z.ZodTypeAny, "passthrough">[];
754
+ content: any[];
950
755
  };
951
756
  reactions: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">[];
952
757
  views: number;
@@ -955,18 +760,7 @@ declare const ReadPostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
955
760
  state?: "error" | "in-progress" | "success" | "queued" | null | undefined;
956
761
  metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
957
762
  description?: string | null | undefined;
958
- parent?: {
959
- type: "action" | "comment" | "reference" | "mention" | "component";
960
- id: string;
961
- user_id: string;
962
- created_at: string;
963
- last_updated: string;
964
- source_id: string;
965
- target_id: string;
966
- source_asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
967
- target_asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
968
- action_id?: string | null | undefined;
969
- } | null | undefined;
763
+ parent?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
970
764
  user?: {
971
765
  id?: string | undefined;
972
766
  user_id?: string | undefined;
@@ -1015,7 +809,7 @@ declare const ReadPostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
1015
809
  visibility: "inherit" | "private" | "public" | "organization" | "monetized";
1016
810
  user_id: string;
1017
811
  org_id: string;
1018
- asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
812
+ asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1019
813
  created_at: string;
1020
814
  last_updated: string;
1021
815
  team_id: string;
@@ -1025,26 +819,12 @@ declare const ReadPostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
1025
819
  text: string;
1026
820
  json: {
1027
821
  type: "doc";
1028
- content: z.objectInputType<{
1029
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
1030
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1031
- }, z.ZodTypeAny, "passthrough">[];
822
+ content: any[];
1032
823
  };
1033
824
  } | null | undefined;
1034
825
  metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
1035
826
  description?: string | null | undefined;
1036
- parent?: {
1037
- type: "action" | "comment" | "reference" | "mention" | "component";
1038
- id: string;
1039
- user_id: string;
1040
- created_at: string;
1041
- last_updated: string;
1042
- source_id: string;
1043
- target_id: string;
1044
- source_asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1045
- target_asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1046
- action_id?: string | null | undefined;
1047
- } | null | undefined;
827
+ parent?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1048
828
  user?: {
1049
829
  id?: string | undefined;
1050
830
  user_id?: string | undefined;
@@ -1089,10 +869,7 @@ declare const ReadPostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
1089
869
  price_id?: string | null | undefined;
1090
870
  preview?: {
1091
871
  type: "doc";
1092
- content: z.objectInputType<{
1093
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
1094
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1095
- }, z.ZodTypeAny, "passthrough">[];
872
+ content: any[];
1096
873
  } | undefined;
1097
874
  reactions?: z.objectInputType<{}, z.ZodTypeAny, "passthrough">[] | undefined;
1098
875
  views?: number | undefined;
@@ -1206,7 +983,8 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z
1206
983
  default_role?: "none" | "admin" | "read" | "write" | undefined;
1207
984
  }>>;
1208
985
  parent_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1209
- asset_type: z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
986
+ parent: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
987
+ asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
1210
988
  name: z.ZodString;
1211
989
  name_url_slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1212
990
  slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -1226,162 +1004,71 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z
1226
1004
  last_updated: z.ZodString;
1227
1005
  }, {
1228
1006
  name: z.ZodNullable<z.ZodString>;
1229
- asset_type: z.ZodEffects<z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>, "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication", "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication">;
1007
+ asset_type: z.ZodEffects<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>, "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication", "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication">;
1230
1008
  preview: z.ZodDefault<z.ZodObject<{
1231
1009
  type: z.ZodLiteral<"doc">;
1232
- content: z.ZodArray<z.ZodObject<{
1233
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
1234
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1235
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1236
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
1237
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1238
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1239
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
1240
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1241
- }, z.ZodTypeAny, "passthrough">>, "many">;
1010
+ content: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
1242
1011
  }, "strip", z.ZodTypeAny, {
1243
1012
  type: "doc";
1244
- content: z.objectOutputType<{
1245
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
1246
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1247
- }, z.ZodTypeAny, "passthrough">[];
1013
+ content: any[];
1248
1014
  }, {
1249
1015
  type: "doc";
1250
- content: z.objectInputType<{
1251
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
1252
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1253
- }, z.ZodTypeAny, "passthrough">[];
1016
+ content: any[];
1254
1017
  }>>;
1255
1018
  content: z.ZodDefault<z.ZodObject<{
1256
1019
  json: z.ZodObject<{
1257
1020
  type: z.ZodLiteral<"doc">;
1258
- content: z.ZodArray<z.ZodObject<{
1259
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
1260
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1261
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1262
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
1263
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1264
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1265
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
1266
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1267
- }, z.ZodTypeAny, "passthrough">>, "many">;
1021
+ content: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
1268
1022
  }, "strip", z.ZodTypeAny, {
1269
1023
  type: "doc";
1270
- content: z.objectOutputType<{
1271
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
1272
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1273
- }, z.ZodTypeAny, "passthrough">[];
1024
+ content: any[];
1274
1025
  }, {
1275
1026
  type: "doc";
1276
- content: z.objectInputType<{
1277
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
1278
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1279
- }, z.ZodTypeAny, "passthrough">[];
1027
+ content: any[];
1280
1028
  }>;
1281
1029
  text: z.ZodString;
1282
1030
  }, "strip", z.ZodTypeAny, {
1283
1031
  text: string;
1284
1032
  json: {
1285
1033
  type: "doc";
1286
- content: z.objectOutputType<{
1287
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
1288
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1289
- }, z.ZodTypeAny, "passthrough">[];
1034
+ content: any[];
1290
1035
  };
1291
1036
  }, {
1292
1037
  text: string;
1293
1038
  json: {
1294
1039
  type: "doc";
1295
- content: z.objectInputType<{
1296
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
1297
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1298
- }, z.ZodTypeAny, "passthrough">[];
1040
+ content: any[];
1299
1041
  };
1300
1042
  }>>;
1301
1043
  }>, {
1302
1044
  content: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodDefault<z.ZodObject<{
1303
1045
  json: z.ZodObject<{
1304
1046
  type: z.ZodLiteral<"doc">;
1305
- content: z.ZodArray<z.ZodObject<{
1306
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
1307
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1308
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1309
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
1310
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1311
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1312
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
1313
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1314
- }, z.ZodTypeAny, "passthrough">>, "many">;
1047
+ content: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
1315
1048
  }, "strip", z.ZodTypeAny, {
1316
1049
  type: "doc";
1317
- content: z.objectOutputType<{
1318
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
1319
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1320
- }, z.ZodTypeAny, "passthrough">[];
1050
+ content: any[];
1321
1051
  }, {
1322
1052
  type: "doc";
1323
- content: z.objectInputType<{
1324
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
1325
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1326
- }, z.ZodTypeAny, "passthrough">[];
1053
+ content: any[];
1327
1054
  }>;
1328
1055
  text: z.ZodString;
1329
1056
  }, "strip", z.ZodTypeAny, {
1330
1057
  text: string;
1331
1058
  json: {
1332
1059
  type: "doc";
1333
- content: z.objectOutputType<{
1334
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
1335
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1336
- }, z.ZodTypeAny, "passthrough">[];
1060
+ content: any[];
1337
1061
  };
1338
1062
  }, {
1339
1063
  text: string;
1340
1064
  json: {
1341
1065
  type: "doc";
1342
- content: z.objectInputType<{
1343
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
1344
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1345
- }, z.ZodTypeAny, "passthrough">[];
1066
+ content: any[];
1346
1067
  };
1347
1068
  }>>>>>;
1348
1069
  reactions: z.ZodDefault<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
1349
1070
  views: z.ZodDefault<z.ZodNumber>;
1350
1071
  commentCount: z.ZodDefault<z.ZodNumber>;
1351
- parent: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1352
- id: z.ZodString;
1353
- user_id: z.ZodString;
1354
- type: z.ZodEnum<["comment", "reference", "mention", "action", "component"]>;
1355
- action_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1356
- source_id: z.ZodString;
1357
- target_id: z.ZodString;
1358
- source_asset_type: z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
1359
- target_asset_type: z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
1360
- created_at: z.ZodString;
1361
- last_updated: z.ZodString;
1362
- }, "strip", z.ZodTypeAny, {
1363
- type: "action" | "comment" | "reference" | "mention" | "component";
1364
- id: string;
1365
- user_id: string;
1366
- created_at: string;
1367
- last_updated: string;
1368
- source_id: string;
1369
- target_id: string;
1370
- source_asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1371
- target_asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1372
- action_id?: string | null | undefined;
1373
- }, {
1374
- type: "action" | "comment" | "reference" | "mention" | "component";
1375
- id: string;
1376
- user_id: string;
1377
- created_at: string;
1378
- last_updated: string;
1379
- source_id: string;
1380
- target_id: string;
1381
- source_asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1382
- target_asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1383
- action_id?: string | null | undefined;
1384
- }>>>;
1385
1072
  pinned: z.ZodDefault<z.ZodBoolean>;
1386
1073
  }>, "strip", z.ZodTypeAny, {
1387
1074
  id: string;
@@ -1390,26 +1077,20 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z
1390
1077
  text: string;
1391
1078
  json: {
1392
1079
  type: "doc";
1393
- content: z.objectOutputType<{
1394
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
1395
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1396
- }, z.ZodTypeAny, "passthrough">[];
1080
+ content: any[];
1397
1081
  };
1398
1082
  } | null;
1399
1083
  visibility: "inherit" | "private" | "public" | "organization" | "monetized";
1400
1084
  user_id: string;
1401
1085
  org_id: string;
1402
- asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1086
+ asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1403
1087
  created_at: string;
1404
1088
  last_updated: string;
1405
1089
  team_id: string;
1406
1090
  monetization: "none" | "pay-to-unlock" | "pay-per-use";
1407
1091
  preview: {
1408
1092
  type: "doc";
1409
- content: z.objectOutputType<{
1410
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
1411
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1412
- }, z.ZodTypeAny, "passthrough">[];
1093
+ content: any[];
1413
1094
  };
1414
1095
  reactions: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">[];
1415
1096
  views: number;
@@ -1418,18 +1099,7 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z
1418
1099
  state?: "error" | "in-progress" | "success" | "queued" | null | undefined;
1419
1100
  metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
1420
1101
  description?: string | null | undefined;
1421
- parent?: {
1422
- type: "action" | "comment" | "reference" | "mention" | "component";
1423
- id: string;
1424
- user_id: string;
1425
- created_at: string;
1426
- last_updated: string;
1427
- source_id: string;
1428
- target_id: string;
1429
- source_asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1430
- target_asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1431
- action_id?: string | null | undefined;
1432
- } | null | undefined;
1102
+ parent?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1433
1103
  user?: {
1434
1104
  id?: string | undefined;
1435
1105
  user_id?: string | undefined;
@@ -1478,7 +1148,7 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z
1478
1148
  visibility: "inherit" | "private" | "public" | "organization" | "monetized";
1479
1149
  user_id: string;
1480
1150
  org_id: string;
1481
- asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1151
+ asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1482
1152
  created_at: string;
1483
1153
  last_updated: string;
1484
1154
  team_id: string;
@@ -1488,26 +1158,12 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z
1488
1158
  text: string;
1489
1159
  json: {
1490
1160
  type: "doc";
1491
- content: z.objectInputType<{
1492
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
1493
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1494
- }, z.ZodTypeAny, "passthrough">[];
1161
+ content: any[];
1495
1162
  };
1496
1163
  } | null | undefined;
1497
1164
  metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
1498
1165
  description?: string | null | undefined;
1499
- parent?: {
1500
- type: "action" | "comment" | "reference" | "mention" | "component";
1501
- id: string;
1502
- user_id: string;
1503
- created_at: string;
1504
- last_updated: string;
1505
- source_id: string;
1506
- target_id: string;
1507
- source_asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1508
- target_asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1509
- action_id?: string | null | undefined;
1510
- } | null | undefined;
1166
+ parent?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1511
1167
  user?: {
1512
1168
  id?: string | undefined;
1513
1169
  user_id?: string | undefined;
@@ -1552,10 +1208,7 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z
1552
1208
  price_id?: string | null | undefined;
1553
1209
  preview?: {
1554
1210
  type: "doc";
1555
- content: z.objectInputType<{
1556
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
1557
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1558
- }, z.ZodTypeAny, "passthrough">[];
1211
+ content: any[];
1559
1212
  } | undefined;
1560
1213
  reactions?: z.objectInputType<{}, z.ZodTypeAny, "passthrough">[] | undefined;
1561
1214
  views?: number | undefined;
@@ -1669,7 +1322,8 @@ declare const ListPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1669
1322
  default_role?: "none" | "admin" | "read" | "write" | undefined;
1670
1323
  }>>;
1671
1324
  parent_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1672
- asset_type: z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
1325
+ parent: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1326
+ asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
1673
1327
  name: z.ZodString;
1674
1328
  name_url_slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1675
1329
  slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -1689,76 +1343,40 @@ declare const ListPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1689
1343
  last_updated: z.ZodString;
1690
1344
  }, {
1691
1345
  name: z.ZodNullable<z.ZodString>;
1692
- asset_type: z.ZodEffects<z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>, "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication", "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication">;
1346
+ asset_type: z.ZodEffects<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>, "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication", "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication">;
1693
1347
  preview: z.ZodDefault<z.ZodObject<{
1694
1348
  type: z.ZodLiteral<"doc">;
1695
- content: z.ZodArray<z.ZodObject<{
1696
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
1697
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1698
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1699
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
1700
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1701
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1702
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
1703
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1704
- }, z.ZodTypeAny, "passthrough">>, "many">;
1349
+ content: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
1705
1350
  }, "strip", z.ZodTypeAny, {
1706
1351
  type: "doc";
1707
- content: z.objectOutputType<{
1708
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
1709
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1710
- }, z.ZodTypeAny, "passthrough">[];
1352
+ content: any[];
1711
1353
  }, {
1712
1354
  type: "doc";
1713
- content: z.objectInputType<{
1714
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
1715
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1716
- }, z.ZodTypeAny, "passthrough">[];
1355
+ content: any[];
1717
1356
  }>>;
1718
1357
  content: z.ZodDefault<z.ZodObject<{
1719
1358
  json: z.ZodObject<{
1720
1359
  type: z.ZodLiteral<"doc">;
1721
- content: z.ZodArray<z.ZodObject<{
1722
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
1723
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1724
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1725
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
1726
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1727
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1728
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
1729
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1730
- }, z.ZodTypeAny, "passthrough">>, "many">;
1360
+ content: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
1731
1361
  }, "strip", z.ZodTypeAny, {
1732
1362
  type: "doc";
1733
- content: z.objectOutputType<{
1734
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
1735
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1736
- }, z.ZodTypeAny, "passthrough">[];
1363
+ content: any[];
1737
1364
  }, {
1738
1365
  type: "doc";
1739
- content: z.objectInputType<{
1740
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
1741
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1742
- }, z.ZodTypeAny, "passthrough">[];
1366
+ content: any[];
1743
1367
  }>;
1744
1368
  text: z.ZodString;
1745
1369
  }, "strip", z.ZodTypeAny, {
1746
1370
  text: string;
1747
1371
  json: {
1748
1372
  type: "doc";
1749
- content: z.objectOutputType<{
1750
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
1751
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1752
- }, z.ZodTypeAny, "passthrough">[];
1373
+ content: any[];
1753
1374
  };
1754
1375
  }, {
1755
1376
  text: string;
1756
1377
  json: {
1757
1378
  type: "doc";
1758
- content: z.objectInputType<{
1759
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
1760
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1761
- }, z.ZodTypeAny, "passthrough">[];
1379
+ content: any[];
1762
1380
  };
1763
1381
  }>>;
1764
1382
  }>, "strip", z.ZodTypeAny, {
@@ -1768,30 +1386,25 @@ declare const ListPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1768
1386
  text: string;
1769
1387
  json: {
1770
1388
  type: "doc";
1771
- content: z.objectOutputType<{
1772
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
1773
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1774
- }, z.ZodTypeAny, "passthrough">[];
1389
+ content: any[];
1775
1390
  };
1776
1391
  };
1777
1392
  visibility: "inherit" | "private" | "public" | "organization" | "monetized";
1778
1393
  user_id: string;
1779
1394
  org_id: string;
1780
- asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1395
+ asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1781
1396
  created_at: string;
1782
1397
  last_updated: string;
1783
1398
  team_id: string;
1784
1399
  monetization: "none" | "pay-to-unlock" | "pay-per-use";
1785
1400
  preview: {
1786
1401
  type: "doc";
1787
- content: z.objectOutputType<{
1788
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
1789
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1790
- }, z.ZodTypeAny, "passthrough">[];
1402
+ content: any[];
1791
1403
  };
1792
1404
  state?: "error" | "in-progress" | "success" | "queued" | null | undefined;
1793
1405
  metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
1794
1406
  description?: string | null | undefined;
1407
+ parent?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1795
1408
  user?: {
1796
1409
  id?: string | undefined;
1797
1410
  user_id?: string | undefined;
@@ -1840,7 +1453,7 @@ declare const ListPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1840
1453
  visibility: "inherit" | "private" | "public" | "organization" | "monetized";
1841
1454
  user_id: string;
1842
1455
  org_id: string;
1843
- asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1456
+ asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1844
1457
  created_at: string;
1845
1458
  last_updated: string;
1846
1459
  team_id: string;
@@ -1850,14 +1463,12 @@ declare const ListPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1850
1463
  text: string;
1851
1464
  json: {
1852
1465
  type: "doc";
1853
- content: z.objectInputType<{
1854
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
1855
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1856
- }, z.ZodTypeAny, "passthrough">[];
1466
+ content: any[];
1857
1467
  };
1858
1468
  } | undefined;
1859
1469
  metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
1860
1470
  description?: string | null | undefined;
1471
+ parent?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1861
1472
  user?: {
1862
1473
  id?: string | undefined;
1863
1474
  user_id?: string | undefined;
@@ -1902,10 +1513,7 @@ declare const ListPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1902
1513
  price_id?: string | null | undefined;
1903
1514
  preview?: {
1904
1515
  type: "doc";
1905
- content: z.objectInputType<{
1906
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
1907
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1908
- }, z.ZodTypeAny, "passthrough">[];
1516
+ content: any[];
1909
1517
  } | undefined;
1910
1518
  }>, "many">;
1911
1519
  declare const UpdatePostSchema: z.ZodObject<z.objectUtil.extendShape<Omit<z.objectUtil.extendShape<z.objectUtil.extendShape<Omit<{
@@ -2015,7 +1623,8 @@ declare const UpdatePostSchema: z.ZodObject<z.objectUtil.extendShape<Omit<z.obje
2015
1623
  default_role?: "none" | "admin" | "read" | "write" | undefined;
2016
1624
  }>>>;
2017
1625
  parent_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
2018
- asset_type: z.ZodOptional<z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>>;
1626
+ parent: z.ZodOptional<z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>>;
1627
+ asset_type: z.ZodOptional<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>>;
2019
1628
  name: z.ZodOptional<z.ZodString>;
2020
1629
  name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
2021
1630
  slug: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
@@ -2033,7 +1642,7 @@ declare const UpdatePostSchema: z.ZodObject<z.objectUtil.extendShape<Omit<z.obje
2033
1642
  state: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<["queued", "in-progress", "success", "error"]>>>>;
2034
1643
  created_at: z.ZodOptional<z.ZodString>;
2035
1644
  last_updated: z.ZodOptional<z.ZodString>;
2036
- }, "user" | "organization" | "user_id" | "team" | "slug">, {
1645
+ }, "user" | "organization" | "team" | "user_id" | "slug">, {
2037
1646
  id: z.ZodDefault<z.ZodString>;
2038
1647
  team_id: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
2039
1648
  org_id: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -2048,28 +1657,13 @@ declare const UpdatePostSchema: z.ZodObject<z.objectUtil.extendShape<Omit<z.obje
2048
1657
  name: z.ZodEffects<z.ZodEffects<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodString>>>, string | undefined, string | null | undefined>, string | null, string | null | undefined>;
2049
1658
  preview: z.ZodObject<{
2050
1659
  type: z.ZodLiteral<"doc">;
2051
- content: z.ZodArray<z.ZodObject<{
2052
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
2053
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
2054
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2055
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
2056
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
2057
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2058
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
2059
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
2060
- }, z.ZodTypeAny, "passthrough">>, "many">;
1660
+ content: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
2061
1661
  }, "strip", z.ZodTypeAny, {
2062
1662
  type: "doc";
2063
- content: z.objectOutputType<{
2064
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
2065
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
2066
- }, z.ZodTypeAny, "passthrough">[];
1663
+ content: any[];
2067
1664
  }, {
2068
1665
  type: "doc";
2069
- content: z.objectInputType<{
2070
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
2071
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
2072
- }, z.ZodTypeAny, "passthrough">[];
1666
+ content: any[];
2073
1667
  }>;
2074
1668
  }>, "last_updated">, {
2075
1669
  last_updated: z.ZodDefault<z.ZodString>;
@@ -2085,13 +1679,11 @@ declare const UpdatePostSchema: z.ZodObject<z.objectUtil.extendShape<Omit<z.obje
2085
1679
  team_id: string | null;
2086
1680
  preview: {
2087
1681
  type: "doc";
2088
- content: z.objectOutputType<{
2089
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
2090
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
2091
- }, z.ZodTypeAny, "passthrough">[];
1682
+ content: any[];
2092
1683
  };
2093
1684
  metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
2094
1685
  description?: string | null | undefined;
1686
+ parent?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2095
1687
  parent_id?: string | null | undefined;
2096
1688
  name_url_slug?: string | null | undefined;
2097
1689
  monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
@@ -2104,10 +1696,7 @@ declare const UpdatePostSchema: z.ZodObject<z.objectUtil.extendShape<Omit<z.obje
2104
1696
  }, {
2105
1697
  preview: {
2106
1698
  type: "doc";
2107
- content: z.objectInputType<{
2108
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
2109
- attrs: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
2110
- }, z.ZodTypeAny, "passthrough">[];
1699
+ content: any[];
2111
1700
  };
2112
1701
  id?: string | undefined;
2113
1702
  state?: "error" | "in-progress" | "success" | "queued" | undefined;
@@ -2115,6 +1704,7 @@ declare const UpdatePostSchema: z.ZodObject<z.objectUtil.extendShape<Omit<z.obje
2115
1704
  visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
2116
1705
  metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
2117
1706
  description?: string | null | undefined;
1707
+ parent?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2118
1708
  org_id?: string | null | undefined;
2119
1709
  asset_type?: "post" | undefined;
2120
1710
  created_at?: string | undefined;