@ourofoundation/ouro-js 1.1.1 → 1.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (96) hide show
  1. package/dist/index.d.ts +18 -19
  2. package/dist/index.esm.js +2 -0
  3. package/dist/index.esm.js.map +1 -0
  4. package/dist/index.js +2 -81
  5. package/dist/index.js.map +1 -1
  6. package/dist/schema/assets.d.ts +111 -100
  7. package/dist/schema/assets.esm.js +2 -0
  8. package/dist/schema/assets.esm.js.map +1 -0
  9. package/dist/schema/assets.js +2 -95
  10. package/dist/schema/assets.js.map +1 -1
  11. package/dist/schema/blueprints.d.ts +105 -95
  12. package/dist/schema/blueprints.esm.js +2 -0
  13. package/dist/schema/blueprints.esm.js.map +1 -0
  14. package/dist/schema/blueprints.js +2 -38
  15. package/dist/schema/blueprints.js.map +1 -1
  16. package/dist/schema/comments.d.ts +91 -81
  17. package/dist/schema/comments.esm.js +2 -0
  18. package/dist/schema/comments.esm.js.map +1 -0
  19. package/dist/schema/comments.js +2 -32
  20. package/dist/schema/comments.js.map +1 -1
  21. package/dist/schema/common.d.ts +32 -32
  22. package/dist/schema/common.esm.js +2 -0
  23. package/dist/schema/common.esm.js.map +1 -0
  24. package/dist/schema/common.js +2 -87
  25. package/dist/schema/common.js.map +1 -1
  26. package/dist/schema/conversations.d.ts +149 -139
  27. package/dist/schema/conversations.esm.js +2 -0
  28. package/dist/schema/conversations.esm.js.map +1 -0
  29. package/dist/schema/conversations.js +2 -54
  30. package/dist/schema/conversations.js.map +1 -1
  31. package/dist/schema/datasets.d.ts +218 -202
  32. package/dist/schema/datasets.esm.js +2 -0
  33. package/dist/schema/datasets.esm.js.map +1 -0
  34. package/dist/schema/datasets.js +2 -49
  35. package/dist/schema/datasets.js.map +1 -1
  36. package/dist/schema/files.d.ts +201 -185
  37. package/dist/schema/files.esm.js +2 -0
  38. package/dist/schema/files.esm.js.map +1 -0
  39. package/dist/schema/files.js +2 -50
  40. package/dist/schema/files.js.map +1 -1
  41. package/dist/schema/index.d.ts +14 -80
  42. package/dist/schema/notifications.d.ts +22 -22
  43. package/dist/schema/notifications.esm.js +2 -0
  44. package/dist/schema/notifications.esm.js.map +1 -0
  45. package/dist/schema/notifications.js +2 -46
  46. package/dist/schema/notifications.js.map +1 -1
  47. package/dist/schema/organizations.d.ts +11 -11
  48. package/dist/schema/organizations.esm.js +2 -0
  49. package/dist/schema/organizations.esm.js.map +1 -0
  50. package/dist/schema/organizations.js +2 -33
  51. package/dist/schema/organizations.js.map +1 -1
  52. package/dist/schema/posts.d.ts +326 -298
  53. package/dist/schema/posts.esm.js +2 -0
  54. package/dist/schema/posts.esm.js.map +1 -0
  55. package/dist/schema/posts.js +2 -81
  56. package/dist/schema/posts.js.map +1 -1
  57. package/dist/schema/replications.d.ts +125 -115
  58. package/dist/schema/replications.esm.js +2 -0
  59. package/dist/schema/replications.esm.js.map +1 -0
  60. package/dist/schema/replications.js +2 -42
  61. package/dist/schema/replications.js.map +1 -1
  62. package/dist/schema/services.d.ts +14 -14
  63. package/dist/schema/services.esm.js +2 -0
  64. package/dist/schema/services.esm.js.map +1 -0
  65. package/dist/schema/services.js +2 -39
  66. package/dist/schema/services.js.map +1 -1
  67. package/dist/schema/teams.d.ts +99 -85
  68. package/dist/schema/teams.esm.js +2 -0
  69. package/dist/schema/teams.esm.js.map +1 -0
  70. package/dist/schema/teams.js +2 -57
  71. package/dist/schema/teams.js.map +1 -1
  72. package/dist/schema/users.d.ts +13 -4
  73. package/dist/schema/users.esm.js +2 -0
  74. package/dist/schema/users.esm.js.map +1 -0
  75. package/dist/schema/users.js +2 -35
  76. package/dist/schema/users.js.map +1 -1
  77. package/dist/types/index.d.ts +14 -0
  78. package/dist/utils/air/index.d.ts +1 -1
  79. package/dist/utils/air/index.esm.js +2 -0
  80. package/dist/utils/air/index.esm.js.map +1 -0
  81. package/dist/utils/air/index.js +2 -51
  82. package/dist/utils/air/index.js.map +1 -1
  83. package/dist/utils/air/markdown-parser.esm.js +2 -0
  84. package/dist/utils/air/markdown-parser.esm.js.map +1 -0
  85. package/dist/utils/air/markdown-parser.js +2 -118
  86. package/dist/utils/air/markdown-parser.js.map +1 -1
  87. package/dist/utils/dataset.esm.js +2 -0
  88. package/dist/utils/dataset.esm.js.map +1 -0
  89. package/dist/utils/dataset.js +2 -19
  90. package/dist/utils/dataset.js.map +1 -1
  91. package/dist/utils/navigate.esm.js +2 -0
  92. package/dist/utils/navigate.esm.js.map +1 -0
  93. package/dist/utils/navigate.js +2 -56
  94. package/dist/utils/navigate.js.map +1 -1
  95. package/package.json +21 -4
  96. package/rollup.config.js +52 -0
@@ -50,6 +50,7 @@ declare const PostSchema: z.ZodObject<z.objectUtil.extendShape<{
50
50
  }, {
51
51
  value: string;
52
52
  }>, "many">>>;
53
+ post_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
53
54
  last_active: z.ZodOptional<z.ZodString>;
54
55
  }, "strip", z.ZodTypeAny, {
55
56
  id?: string | undefined;
@@ -60,6 +61,7 @@ declare const PostSchema: z.ZodObject<z.objectUtil.extendShape<{
60
61
  }[] | undefined;
61
62
  username?: string | null | undefined;
62
63
  bio?: string | null | undefined;
64
+ post_id?: string | null | undefined;
63
65
  last_active?: string | undefined;
64
66
  }, {
65
67
  id?: string | undefined;
@@ -70,6 +72,7 @@ declare const PostSchema: z.ZodObject<z.objectUtil.extendShape<{
70
72
  }[] | undefined;
71
73
  username?: string | null | undefined;
72
74
  bio?: string | null | undefined;
75
+ post_id?: string | null | undefined;
73
76
  last_active?: string | undefined;
74
77
  }>>;
75
78
  org_id: z.ZodString;
@@ -92,27 +95,27 @@ declare const PostSchema: z.ZodObject<z.objectUtil.extendShape<{
92
95
  }, "strip", z.ZodTypeAny, {
93
96
  id?: string | undefined;
94
97
  name?: string | undefined;
95
- size?: string | undefined;
96
- email?: string | null | undefined;
97
98
  avatar_path?: string | null | undefined;
98
99
  mission?: string | null | undefined;
100
+ size?: string | undefined;
101
+ email?: string | null | undefined;
99
102
  domain?: string | null | undefined;
100
103
  urls?: {
101
104
  value: string;
102
105
  }[] | null | undefined;
103
- base_role?: "none" | "admin" | "read" | "write" | undefined;
106
+ base_role?: "admin" | "read" | "write" | "none" | undefined;
104
107
  }, {
105
108
  id?: string | undefined;
106
109
  name?: string | undefined;
107
- size?: string | undefined;
108
- email?: string | null | undefined;
109
110
  avatar_path?: string | null | undefined;
110
111
  mission?: string | null | undefined;
112
+ size?: string | undefined;
113
+ email?: string | null | undefined;
111
114
  domain?: string | null | undefined;
112
115
  urls?: {
113
116
  value: string;
114
117
  }[] | null | undefined;
115
- base_role?: "none" | "admin" | "read" | "write" | undefined;
118
+ base_role?: "admin" | "read" | "write" | "none" | undefined;
116
119
  }>>;
117
120
  team_id: z.ZodString;
118
121
  team: z.ZodOptional<z.ZodObject<{
@@ -125,20 +128,20 @@ declare const PostSchema: z.ZodObject<z.objectUtil.extendShape<{
125
128
  created_at: z.ZodOptional<z.ZodString>;
126
129
  }, "strip", z.ZodTypeAny, {
127
130
  id?: string | undefined;
128
- name?: string | undefined;
129
- visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
130
- description?: string | null | undefined;
131
131
  org_id?: string | undefined;
132
132
  created_at?: string | undefined;
133
- default_role?: "none" | "admin" | "read" | "write" | undefined;
134
- }, {
135
- id?: string | undefined;
136
133
  name?: string | undefined;
137
- visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
134
+ visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
138
135
  description?: string | null | undefined;
136
+ default_role?: "admin" | "read" | "write" | "none" | undefined;
137
+ }, {
138
+ id?: string | undefined;
139
139
  org_id?: string | undefined;
140
140
  created_at?: string | undefined;
141
- default_role?: "none" | "admin" | "read" | "write" | undefined;
141
+ name?: string | undefined;
142
+ visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
143
+ description?: string | null | undefined;
144
+ default_role?: "admin" | "read" | "write" | "none" | undefined;
142
145
  }>>;
143
146
  parent_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
144
147
  parent: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
@@ -162,7 +165,7 @@ declare const PostSchema: z.ZodObject<z.objectUtil.extendShape<{
162
165
  last_updated: z.ZodString;
163
166
  }, {
164
167
  name: z.ZodNullable<z.ZodString>;
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">;
168
+ asset_type: z.ZodEffects<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>, "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication", "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication">;
166
169
  preview: z.ZodDefault<z.ZodObject<{
167
170
  type: z.ZodLiteral<"doc">;
168
171
  content: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
@@ -200,7 +203,8 @@ declare const PostSchema: z.ZodObject<z.objectUtil.extendShape<{
200
203
  }>>;
201
204
  }>, "strip", z.ZodTypeAny, {
202
205
  id: string;
203
- name: string | null;
206
+ user_id: string;
207
+ org_id: string;
204
208
  content: {
205
209
  text: string;
206
210
  json: {
@@ -208,22 +212,17 @@ declare const PostSchema: z.ZodObject<z.objectUtil.extendShape<{
208
212
  content: any[];
209
213
  };
210
214
  };
211
- visibility: "inherit" | "private" | "public" | "organization" | "monetized";
212
- user_id: string;
213
- org_id: string;
214
- asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
215
+ asset_type: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
215
216
  created_at: string;
216
217
  last_updated: string;
218
+ name: string | null;
217
219
  team_id: string;
220
+ visibility: "organization" | "public" | "private" | "monetized" | "inherit";
218
221
  monetization: "none" | "pay-to-unlock" | "pay-per-use";
219
222
  preview: {
220
223
  type: "doc";
221
224
  content: any[];
222
225
  };
223
- state?: "error" | "in-progress" | "success" | "queued" | null | undefined;
224
- metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
225
- description?: string | null | undefined;
226
- parent?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
227
226
  user?: {
228
227
  id?: string | undefined;
229
228
  user_id?: string | undefined;
@@ -233,31 +232,35 @@ declare const PostSchema: z.ZodObject<z.objectUtil.extendShape<{
233
232
  }[] | undefined;
234
233
  username?: string | null | undefined;
235
234
  bio?: string | null | undefined;
235
+ post_id?: string | null | undefined;
236
236
  last_active?: string | undefined;
237
237
  } | undefined;
238
238
  organization?: {
239
239
  id?: string | undefined;
240
240
  name?: string | undefined;
241
- size?: string | undefined;
242
- email?: string | null | undefined;
243
241
  avatar_path?: string | null | undefined;
244
242
  mission?: string | null | undefined;
243
+ size?: string | undefined;
244
+ email?: string | null | undefined;
245
245
  domain?: string | null | undefined;
246
246
  urls?: {
247
247
  value: string;
248
248
  }[] | null | undefined;
249
- base_role?: "none" | "admin" | "read" | "write" | undefined;
249
+ base_role?: "admin" | "read" | "write" | "none" | undefined;
250
250
  } | undefined;
251
251
  team?: {
252
252
  id?: string | undefined;
253
- name?: string | undefined;
254
- visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
255
- description?: string | null | undefined;
256
253
  org_id?: string | undefined;
257
254
  created_at?: string | undefined;
258
- default_role?: "none" | "admin" | "read" | "write" | undefined;
255
+ name?: string | undefined;
256
+ visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
257
+ description?: string | null | undefined;
258
+ default_role?: "admin" | "read" | "write" | "none" | undefined;
259
259
  } | undefined;
260
+ metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
261
+ description?: string | null | undefined;
260
262
  parent_id?: string | null | undefined;
263
+ parent?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
261
264
  name_url_slug?: string | null | undefined;
262
265
  slug?: string | null | undefined;
263
266
  price?: number | null | undefined;
@@ -266,28 +269,18 @@ declare const PostSchema: z.ZodObject<z.objectUtil.extendShape<{
266
269
  cost_unit?: string | null | undefined;
267
270
  product_id?: string | null | undefined;
268
271
  price_id?: string | null | undefined;
272
+ state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
269
273
  }, {
270
274
  id: string;
271
- name: string | null;
272
- visibility: "inherit" | "private" | "public" | "organization" | "monetized";
273
275
  user_id: string;
274
276
  org_id: string;
275
- asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
277
+ asset_type: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
276
278
  created_at: string;
277
279
  last_updated: string;
280
+ name: string | null;
278
281
  team_id: string;
282
+ visibility: "organization" | "public" | "private" | "monetized" | "inherit";
279
283
  monetization: "none" | "pay-to-unlock" | "pay-per-use";
280
- state?: "error" | "in-progress" | "success" | "queued" | null | undefined;
281
- content?: {
282
- text: string;
283
- json: {
284
- type: "doc";
285
- content: any[];
286
- };
287
- } | undefined;
288
- metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
289
- description?: string | null | undefined;
290
- parent?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
291
284
  user?: {
292
285
  id?: string | undefined;
293
286
  user_id?: string | undefined;
@@ -297,31 +290,42 @@ declare const PostSchema: z.ZodObject<z.objectUtil.extendShape<{
297
290
  }[] | undefined;
298
291
  username?: string | null | undefined;
299
292
  bio?: string | null | undefined;
293
+ post_id?: string | null | undefined;
300
294
  last_active?: string | undefined;
301
295
  } | undefined;
302
296
  organization?: {
303
297
  id?: string | undefined;
304
298
  name?: string | undefined;
305
- size?: string | undefined;
306
- email?: string | null | undefined;
307
299
  avatar_path?: string | null | undefined;
308
300
  mission?: string | null | undefined;
301
+ size?: string | undefined;
302
+ email?: string | null | undefined;
309
303
  domain?: string | null | undefined;
310
304
  urls?: {
311
305
  value: string;
312
306
  }[] | null | undefined;
313
- base_role?: "none" | "admin" | "read" | "write" | undefined;
307
+ base_role?: "admin" | "read" | "write" | "none" | undefined;
314
308
  } | undefined;
315
309
  team?: {
316
310
  id?: string | undefined;
317
- name?: string | undefined;
318
- visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
319
- description?: string | null | undefined;
320
311
  org_id?: string | undefined;
321
312
  created_at?: string | undefined;
322
- default_role?: "none" | "admin" | "read" | "write" | undefined;
313
+ name?: string | undefined;
314
+ visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
315
+ description?: string | null | undefined;
316
+ default_role?: "admin" | "read" | "write" | "none" | undefined;
323
317
  } | undefined;
318
+ content?: {
319
+ text: string;
320
+ json: {
321
+ type: "doc";
322
+ content: any[];
323
+ };
324
+ } | undefined;
325
+ metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
326
+ description?: string | null | undefined;
324
327
  parent_id?: string | null | undefined;
328
+ parent?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
325
329
  name_url_slug?: string | null | undefined;
326
330
  slug?: string | null | undefined;
327
331
  price?: number | null | undefined;
@@ -334,6 +338,7 @@ declare const PostSchema: z.ZodObject<z.objectUtil.extendShape<{
334
338
  type: "doc";
335
339
  content: any[];
336
340
  } | undefined;
341
+ state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
337
342
  }>;
338
343
  declare const CreatePostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<Omit<{
339
344
  id: z.ZodOptional<z.ZodString>;
@@ -351,6 +356,7 @@ declare const CreatePostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUti
351
356
  }, {
352
357
  value: string;
353
358
  }>, "many">>>;
359
+ post_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
354
360
  last_active: z.ZodOptional<z.ZodString>;
355
361
  }, "strip", z.ZodTypeAny, {
356
362
  id?: string | undefined;
@@ -361,6 +367,7 @@ declare const CreatePostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUti
361
367
  }[] | undefined;
362
368
  username?: string | null | undefined;
363
369
  bio?: string | null | undefined;
370
+ post_id?: string | null | undefined;
364
371
  last_active?: string | undefined;
365
372
  }, {
366
373
  id?: string | undefined;
@@ -371,6 +378,7 @@ declare const CreatePostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUti
371
378
  }[] | undefined;
372
379
  username?: string | null | undefined;
373
380
  bio?: string | null | undefined;
381
+ post_id?: string | null | undefined;
374
382
  last_active?: string | undefined;
375
383
  }>>>;
376
384
  org_id: z.ZodOptional<z.ZodString>;
@@ -393,27 +401,27 @@ declare const CreatePostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUti
393
401
  }, "strip", z.ZodTypeAny, {
394
402
  id?: string | undefined;
395
403
  name?: string | undefined;
396
- size?: string | undefined;
397
- email?: string | null | undefined;
398
404
  avatar_path?: string | null | undefined;
399
405
  mission?: string | null | undefined;
406
+ size?: string | undefined;
407
+ email?: string | null | undefined;
400
408
  domain?: string | null | undefined;
401
409
  urls?: {
402
410
  value: string;
403
411
  }[] | null | undefined;
404
- base_role?: "none" | "admin" | "read" | "write" | undefined;
412
+ base_role?: "admin" | "read" | "write" | "none" | undefined;
405
413
  }, {
406
414
  id?: string | undefined;
407
415
  name?: string | undefined;
408
- size?: string | undefined;
409
- email?: string | null | undefined;
410
416
  avatar_path?: string | null | undefined;
411
417
  mission?: string | null | undefined;
418
+ size?: string | undefined;
419
+ email?: string | null | undefined;
412
420
  domain?: string | null | undefined;
413
421
  urls?: {
414
422
  value: string;
415
423
  }[] | null | undefined;
416
- base_role?: "none" | "admin" | "read" | "write" | undefined;
424
+ base_role?: "admin" | "read" | "write" | "none" | undefined;
417
425
  }>>>;
418
426
  team_id: z.ZodOptional<z.ZodString>;
419
427
  team: z.ZodOptional<z.ZodOptional<z.ZodObject<{
@@ -426,20 +434,20 @@ declare const CreatePostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUti
426
434
  created_at: z.ZodOptional<z.ZodString>;
427
435
  }, "strip", z.ZodTypeAny, {
428
436
  id?: string | undefined;
429
- name?: string | undefined;
430
- visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
431
- description?: string | null | undefined;
432
437
  org_id?: string | undefined;
433
438
  created_at?: string | undefined;
434
- default_role?: "none" | "admin" | "read" | "write" | undefined;
435
- }, {
436
- id?: string | undefined;
437
439
  name?: string | undefined;
438
- visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
440
+ visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
439
441
  description?: string | null | undefined;
442
+ default_role?: "admin" | "read" | "write" | "none" | undefined;
443
+ }, {
444
+ id?: string | undefined;
440
445
  org_id?: string | undefined;
441
446
  created_at?: string | undefined;
442
- default_role?: "none" | "admin" | "read" | "write" | undefined;
447
+ name?: string | undefined;
448
+ visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
449
+ description?: string | null | undefined;
450
+ default_role?: "admin" | "read" | "write" | "none" | undefined;
443
451
  }>>>;
444
452
  parent_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
445
453
  parent: z.ZodOptional<z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>>;
@@ -486,22 +494,22 @@ declare const CreatePostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUti
486
494
  }>;
487
495
  }>, "strip", z.ZodTypeAny, {
488
496
  id: string;
489
- state: "error" | "in-progress" | "success" | "queued";
490
- name: string | null;
491
- visibility: "inherit" | "private" | "public" | "organization" | "monetized";
492
497
  org_id: string | null;
493
498
  asset_type: "post";
494
499
  created_at: string;
495
500
  last_updated: string;
501
+ name: string | null;
496
502
  team_id: string | null;
503
+ visibility: "organization" | "public" | "private" | "monetized" | "inherit";
497
504
  preview: {
498
505
  type: "doc";
499
506
  content: any[];
500
507
  };
508
+ state: "queued" | "in-progress" | "success" | "error";
501
509
  metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
502
510
  description?: string | null | undefined;
503
- parent?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
504
511
  parent_id?: string | null | undefined;
512
+ parent?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
505
513
  name_url_slug?: string | null | undefined;
506
514
  monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
507
515
  price?: number | null | undefined;
@@ -516,18 +524,17 @@ declare const CreatePostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUti
516
524
  content: any[];
517
525
  };
518
526
  id?: string | undefined;
519
- state?: "error" | "in-progress" | "success" | "queued" | undefined;
520
- name?: string | null | undefined;
521
- visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
522
- metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
523
- description?: string | null | undefined;
524
- parent?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
525
527
  org_id?: string | null | undefined;
526
528
  asset_type?: "post" | undefined;
529
+ metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
527
530
  created_at?: string | undefined;
528
531
  last_updated?: string | undefined;
532
+ name?: string | null | undefined;
529
533
  team_id?: string | null | undefined;
534
+ visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
535
+ description?: string | null | undefined;
530
536
  parent_id?: string | null | undefined;
537
+ parent?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
531
538
  name_url_slug?: string | null | undefined;
532
539
  monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
533
540
  price?: number | null | undefined;
@@ -536,6 +543,7 @@ declare const CreatePostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUti
536
543
  cost_unit?: string | null | undefined;
537
544
  product_id?: string | null | undefined;
538
545
  price_id?: string | null | undefined;
546
+ state?: "queued" | "in-progress" | "success" | "error" | undefined;
539
547
  }>;
540
548
  declare const ReadPostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
541
549
  id: z.ZodString;
@@ -553,6 +561,7 @@ declare const ReadPostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
553
561
  }, {
554
562
  value: string;
555
563
  }>, "many">>>;
564
+ post_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
556
565
  last_active: z.ZodOptional<z.ZodString>;
557
566
  }, "strip", z.ZodTypeAny, {
558
567
  id?: string | undefined;
@@ -563,6 +572,7 @@ declare const ReadPostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
563
572
  }[] | undefined;
564
573
  username?: string | null | undefined;
565
574
  bio?: string | null | undefined;
575
+ post_id?: string | null | undefined;
566
576
  last_active?: string | undefined;
567
577
  }, {
568
578
  id?: string | undefined;
@@ -573,6 +583,7 @@ declare const ReadPostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
573
583
  }[] | undefined;
574
584
  username?: string | null | undefined;
575
585
  bio?: string | null | undefined;
586
+ post_id?: string | null | undefined;
576
587
  last_active?: string | undefined;
577
588
  }>>;
578
589
  org_id: z.ZodString;
@@ -595,27 +606,27 @@ declare const ReadPostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
595
606
  }, "strip", z.ZodTypeAny, {
596
607
  id?: string | undefined;
597
608
  name?: string | undefined;
598
- size?: string | undefined;
599
- email?: string | null | undefined;
600
609
  avatar_path?: string | null | undefined;
601
610
  mission?: string | null | undefined;
611
+ size?: string | undefined;
612
+ email?: string | null | undefined;
602
613
  domain?: string | null | undefined;
603
614
  urls?: {
604
615
  value: string;
605
616
  }[] | null | undefined;
606
- base_role?: "none" | "admin" | "read" | "write" | undefined;
617
+ base_role?: "admin" | "read" | "write" | "none" | undefined;
607
618
  }, {
608
619
  id?: string | undefined;
609
620
  name?: string | undefined;
610
- size?: string | undefined;
611
- email?: string | null | undefined;
612
621
  avatar_path?: string | null | undefined;
613
622
  mission?: string | null | undefined;
623
+ size?: string | undefined;
624
+ email?: string | null | undefined;
614
625
  domain?: string | null | undefined;
615
626
  urls?: {
616
627
  value: string;
617
628
  }[] | null | undefined;
618
- base_role?: "none" | "admin" | "read" | "write" | undefined;
629
+ base_role?: "admin" | "read" | "write" | "none" | undefined;
619
630
  }>>;
620
631
  team_id: z.ZodString;
621
632
  team: z.ZodOptional<z.ZodObject<{
@@ -628,20 +639,20 @@ declare const ReadPostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
628
639
  created_at: z.ZodOptional<z.ZodString>;
629
640
  }, "strip", z.ZodTypeAny, {
630
641
  id?: string | undefined;
631
- name?: string | undefined;
632
- visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
633
- description?: string | null | undefined;
634
642
  org_id?: string | undefined;
635
643
  created_at?: string | undefined;
636
- default_role?: "none" | "admin" | "read" | "write" | undefined;
637
- }, {
638
- id?: string | undefined;
639
644
  name?: string | undefined;
640
- visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
645
+ visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
641
646
  description?: string | null | undefined;
647
+ default_role?: "admin" | "read" | "write" | "none" | undefined;
648
+ }, {
649
+ id?: string | undefined;
642
650
  org_id?: string | undefined;
643
651
  created_at?: string | undefined;
644
- default_role?: "none" | "admin" | "read" | "write" | undefined;
652
+ name?: string | undefined;
653
+ visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
654
+ description?: string | null | undefined;
655
+ default_role?: "admin" | "read" | "write" | "none" | undefined;
645
656
  }>>;
646
657
  parent_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
647
658
  parent: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
@@ -665,7 +676,7 @@ declare const ReadPostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
665
676
  last_updated: z.ZodString;
666
677
  }, {
667
678
  name: z.ZodNullable<z.ZodString>;
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">;
679
+ asset_type: z.ZodEffects<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>, "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication", "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication">;
669
680
  preview: z.ZodDefault<z.ZodObject<{
670
681
  type: z.ZodLiteral<"doc">;
671
682
  content: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
@@ -733,7 +744,8 @@ declare const ReadPostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
733
744
  pinned: z.ZodDefault<z.ZodBoolean>;
734
745
  }>, "strip", z.ZodTypeAny, {
735
746
  id: string;
736
- name: string | null;
747
+ user_id: string;
748
+ org_id: string;
737
749
  content: {
738
750
  text: string;
739
751
  json: {
@@ -741,13 +753,12 @@ declare const ReadPostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
741
753
  content: any[];
742
754
  };
743
755
  } | null;
744
- visibility: "inherit" | "private" | "public" | "organization" | "monetized";
745
- user_id: string;
746
- org_id: string;
747
- asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
756
+ asset_type: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
748
757
  created_at: string;
749
758
  last_updated: string;
759
+ name: string | null;
750
760
  team_id: string;
761
+ visibility: "organization" | "public" | "private" | "monetized" | "inherit";
751
762
  monetization: "none" | "pay-to-unlock" | "pay-per-use";
752
763
  preview: {
753
764
  type: "doc";
@@ -757,10 +768,6 @@ declare const ReadPostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
757
768
  views: number;
758
769
  commentCount: number;
759
770
  pinned: boolean;
760
- state?: "error" | "in-progress" | "success" | "queued" | null | undefined;
761
- metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
762
- description?: string | null | undefined;
763
- parent?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
764
771
  user?: {
765
772
  id?: string | undefined;
766
773
  user_id?: string | undefined;
@@ -770,31 +777,35 @@ declare const ReadPostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
770
777
  }[] | undefined;
771
778
  username?: string | null | undefined;
772
779
  bio?: string | null | undefined;
780
+ post_id?: string | null | undefined;
773
781
  last_active?: string | undefined;
774
782
  } | undefined;
775
783
  organization?: {
776
784
  id?: string | undefined;
777
785
  name?: string | undefined;
778
- size?: string | undefined;
779
- email?: string | null | undefined;
780
786
  avatar_path?: string | null | undefined;
781
787
  mission?: string | null | undefined;
788
+ size?: string | undefined;
789
+ email?: string | null | undefined;
782
790
  domain?: string | null | undefined;
783
791
  urls?: {
784
792
  value: string;
785
793
  }[] | null | undefined;
786
- base_role?: "none" | "admin" | "read" | "write" | undefined;
794
+ base_role?: "admin" | "read" | "write" | "none" | undefined;
787
795
  } | undefined;
788
796
  team?: {
789
797
  id?: string | undefined;
790
- name?: string | undefined;
791
- visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
792
- description?: string | null | undefined;
793
798
  org_id?: string | undefined;
794
799
  created_at?: string | undefined;
795
- default_role?: "none" | "admin" | "read" | "write" | undefined;
800
+ name?: string | undefined;
801
+ visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
802
+ description?: string | null | undefined;
803
+ default_role?: "admin" | "read" | "write" | "none" | undefined;
796
804
  } | undefined;
805
+ metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
806
+ description?: string | null | undefined;
797
807
  parent_id?: string | null | undefined;
808
+ parent?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
798
809
  name_url_slug?: string | null | undefined;
799
810
  slug?: string | null | undefined;
800
811
  price?: number | null | undefined;
@@ -803,28 +814,18 @@ declare const ReadPostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
803
814
  cost_unit?: string | null | undefined;
804
815
  product_id?: string | null | undefined;
805
816
  price_id?: string | null | undefined;
817
+ state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
806
818
  }, {
807
819
  id: string;
808
- name: string | null;
809
- visibility: "inherit" | "private" | "public" | "organization" | "monetized";
810
820
  user_id: string;
811
821
  org_id: string;
812
- asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
822
+ asset_type: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
813
823
  created_at: string;
814
824
  last_updated: string;
825
+ name: string | null;
815
826
  team_id: string;
827
+ visibility: "organization" | "public" | "private" | "monetized" | "inherit";
816
828
  monetization: "none" | "pay-to-unlock" | "pay-per-use";
817
- state?: "error" | "in-progress" | "success" | "queued" | null | undefined;
818
- content?: {
819
- text: string;
820
- json: {
821
- type: "doc";
822
- content: any[];
823
- };
824
- } | null | undefined;
825
- metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
826
- description?: string | null | undefined;
827
- parent?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
828
829
  user?: {
829
830
  id?: string | undefined;
830
831
  user_id?: string | undefined;
@@ -834,31 +835,42 @@ declare const ReadPostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
834
835
  }[] | undefined;
835
836
  username?: string | null | undefined;
836
837
  bio?: string | null | undefined;
838
+ post_id?: string | null | undefined;
837
839
  last_active?: string | undefined;
838
840
  } | undefined;
839
841
  organization?: {
840
842
  id?: string | undefined;
841
843
  name?: string | undefined;
842
- size?: string | undefined;
843
- email?: string | null | undefined;
844
844
  avatar_path?: string | null | undefined;
845
845
  mission?: string | null | undefined;
846
+ size?: string | undefined;
847
+ email?: string | null | undefined;
846
848
  domain?: string | null | undefined;
847
849
  urls?: {
848
850
  value: string;
849
851
  }[] | null | undefined;
850
- base_role?: "none" | "admin" | "read" | "write" | undefined;
852
+ base_role?: "admin" | "read" | "write" | "none" | undefined;
851
853
  } | undefined;
852
854
  team?: {
853
855
  id?: string | undefined;
854
- name?: string | undefined;
855
- visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
856
- description?: string | null | undefined;
857
856
  org_id?: string | undefined;
858
857
  created_at?: string | undefined;
859
- default_role?: "none" | "admin" | "read" | "write" | undefined;
858
+ name?: string | undefined;
859
+ visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
860
+ description?: string | null | undefined;
861
+ default_role?: "admin" | "read" | "write" | "none" | undefined;
860
862
  } | undefined;
863
+ content?: {
864
+ text: string;
865
+ json: {
866
+ type: "doc";
867
+ content: any[];
868
+ };
869
+ } | null | undefined;
870
+ metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
871
+ description?: string | null | undefined;
861
872
  parent_id?: string | null | undefined;
873
+ parent?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
862
874
  name_url_slug?: string | null | undefined;
863
875
  slug?: string | null | undefined;
864
876
  price?: number | null | undefined;
@@ -871,6 +883,7 @@ declare const ReadPostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
871
883
  type: "doc";
872
884
  content: any[];
873
885
  } | undefined;
886
+ state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
874
887
  reactions?: z.objectInputType<{}, z.ZodTypeAny, "passthrough">[] | undefined;
875
888
  views?: number | undefined;
876
889
  commentCount?: number | undefined;
@@ -892,6 +905,7 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z
892
905
  }, {
893
906
  value: string;
894
907
  }>, "many">>>;
908
+ post_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
895
909
  last_active: z.ZodOptional<z.ZodString>;
896
910
  }, "strip", z.ZodTypeAny, {
897
911
  id?: string | undefined;
@@ -902,6 +916,7 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z
902
916
  }[] | undefined;
903
917
  username?: string | null | undefined;
904
918
  bio?: string | null | undefined;
919
+ post_id?: string | null | undefined;
905
920
  last_active?: string | undefined;
906
921
  }, {
907
922
  id?: string | undefined;
@@ -912,6 +927,7 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z
912
927
  }[] | undefined;
913
928
  username?: string | null | undefined;
914
929
  bio?: string | null | undefined;
930
+ post_id?: string | null | undefined;
915
931
  last_active?: string | undefined;
916
932
  }>>;
917
933
  org_id: z.ZodString;
@@ -934,27 +950,27 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z
934
950
  }, "strip", z.ZodTypeAny, {
935
951
  id?: string | undefined;
936
952
  name?: string | undefined;
937
- size?: string | undefined;
938
- email?: string | null | undefined;
939
953
  avatar_path?: string | null | undefined;
940
954
  mission?: string | null | undefined;
955
+ size?: string | undefined;
956
+ email?: string | null | undefined;
941
957
  domain?: string | null | undefined;
942
958
  urls?: {
943
959
  value: string;
944
960
  }[] | null | undefined;
945
- base_role?: "none" | "admin" | "read" | "write" | undefined;
961
+ base_role?: "admin" | "read" | "write" | "none" | undefined;
946
962
  }, {
947
963
  id?: string | undefined;
948
964
  name?: string | undefined;
949
- size?: string | undefined;
950
- email?: string | null | undefined;
951
965
  avatar_path?: string | null | undefined;
952
966
  mission?: string | null | undefined;
967
+ size?: string | undefined;
968
+ email?: string | null | undefined;
953
969
  domain?: string | null | undefined;
954
970
  urls?: {
955
971
  value: string;
956
972
  }[] | null | undefined;
957
- base_role?: "none" | "admin" | "read" | "write" | undefined;
973
+ base_role?: "admin" | "read" | "write" | "none" | undefined;
958
974
  }>>;
959
975
  team_id: z.ZodString;
960
976
  team: z.ZodOptional<z.ZodObject<{
@@ -967,20 +983,20 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z
967
983
  created_at: z.ZodOptional<z.ZodString>;
968
984
  }, "strip", z.ZodTypeAny, {
969
985
  id?: string | undefined;
970
- name?: string | undefined;
971
- visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
972
- description?: string | null | undefined;
973
986
  org_id?: string | undefined;
974
987
  created_at?: string | undefined;
975
- default_role?: "none" | "admin" | "read" | "write" | undefined;
976
- }, {
977
- id?: string | undefined;
978
988
  name?: string | undefined;
979
- visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
989
+ visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
980
990
  description?: string | null | undefined;
991
+ default_role?: "admin" | "read" | "write" | "none" | undefined;
992
+ }, {
993
+ id?: string | undefined;
981
994
  org_id?: string | undefined;
982
995
  created_at?: string | undefined;
983
- default_role?: "none" | "admin" | "read" | "write" | undefined;
996
+ name?: string | undefined;
997
+ visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
998
+ description?: string | null | undefined;
999
+ default_role?: "admin" | "read" | "write" | "none" | undefined;
984
1000
  }>>;
985
1001
  parent_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
986
1002
  parent: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
@@ -1004,7 +1020,7 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z
1004
1020
  last_updated: z.ZodString;
1005
1021
  }, {
1006
1022
  name: z.ZodNullable<z.ZodString>;
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">;
1023
+ asset_type: z.ZodEffects<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>, "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication", "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication">;
1008
1024
  preview: z.ZodDefault<z.ZodObject<{
1009
1025
  type: z.ZodLiteral<"doc">;
1010
1026
  content: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
@@ -1072,7 +1088,8 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z
1072
1088
  pinned: z.ZodDefault<z.ZodBoolean>;
1073
1089
  }>, "strip", z.ZodTypeAny, {
1074
1090
  id: string;
1075
- name: string | null;
1091
+ user_id: string;
1092
+ org_id: string;
1076
1093
  content: {
1077
1094
  text: string;
1078
1095
  json: {
@@ -1080,13 +1097,12 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z
1080
1097
  content: any[];
1081
1098
  };
1082
1099
  } | null;
1083
- visibility: "inherit" | "private" | "public" | "organization" | "monetized";
1084
- user_id: string;
1085
- org_id: string;
1086
- asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1100
+ asset_type: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1087
1101
  created_at: string;
1088
1102
  last_updated: string;
1103
+ name: string | null;
1089
1104
  team_id: string;
1105
+ visibility: "organization" | "public" | "private" | "monetized" | "inherit";
1090
1106
  monetization: "none" | "pay-to-unlock" | "pay-per-use";
1091
1107
  preview: {
1092
1108
  type: "doc";
@@ -1096,10 +1112,6 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z
1096
1112
  views: number;
1097
1113
  commentCount: number;
1098
1114
  pinned: boolean;
1099
- state?: "error" | "in-progress" | "success" | "queued" | null | undefined;
1100
- metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
1101
- description?: string | null | undefined;
1102
- parent?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1103
1115
  user?: {
1104
1116
  id?: string | undefined;
1105
1117
  user_id?: string | undefined;
@@ -1109,31 +1121,35 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z
1109
1121
  }[] | undefined;
1110
1122
  username?: string | null | undefined;
1111
1123
  bio?: string | null | undefined;
1124
+ post_id?: string | null | undefined;
1112
1125
  last_active?: string | undefined;
1113
1126
  } | undefined;
1114
1127
  organization?: {
1115
1128
  id?: string | undefined;
1116
1129
  name?: string | undefined;
1117
- size?: string | undefined;
1118
- email?: string | null | undefined;
1119
1130
  avatar_path?: string | null | undefined;
1120
1131
  mission?: string | null | undefined;
1132
+ size?: string | undefined;
1133
+ email?: string | null | undefined;
1121
1134
  domain?: string | null | undefined;
1122
1135
  urls?: {
1123
1136
  value: string;
1124
1137
  }[] | null | undefined;
1125
- base_role?: "none" | "admin" | "read" | "write" | undefined;
1138
+ base_role?: "admin" | "read" | "write" | "none" | undefined;
1126
1139
  } | undefined;
1127
1140
  team?: {
1128
1141
  id?: string | undefined;
1129
- name?: string | undefined;
1130
- visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
1131
- description?: string | null | undefined;
1132
1142
  org_id?: string | undefined;
1133
1143
  created_at?: string | undefined;
1134
- default_role?: "none" | "admin" | "read" | "write" | undefined;
1144
+ name?: string | undefined;
1145
+ visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
1146
+ description?: string | null | undefined;
1147
+ default_role?: "admin" | "read" | "write" | "none" | undefined;
1135
1148
  } | undefined;
1149
+ metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
1150
+ description?: string | null | undefined;
1136
1151
  parent_id?: string | null | undefined;
1152
+ parent?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1137
1153
  name_url_slug?: string | null | undefined;
1138
1154
  slug?: string | null | undefined;
1139
1155
  price?: number | null | undefined;
@@ -1142,28 +1158,18 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z
1142
1158
  cost_unit?: string | null | undefined;
1143
1159
  product_id?: string | null | undefined;
1144
1160
  price_id?: string | null | undefined;
1161
+ state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
1145
1162
  }, {
1146
1163
  id: string;
1147
- name: string | null;
1148
- visibility: "inherit" | "private" | "public" | "organization" | "monetized";
1149
1164
  user_id: string;
1150
1165
  org_id: string;
1151
- asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1166
+ asset_type: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1152
1167
  created_at: string;
1153
1168
  last_updated: string;
1169
+ name: string | null;
1154
1170
  team_id: string;
1171
+ visibility: "organization" | "public" | "private" | "monetized" | "inherit";
1155
1172
  monetization: "none" | "pay-to-unlock" | "pay-per-use";
1156
- state?: "error" | "in-progress" | "success" | "queued" | null | undefined;
1157
- content?: {
1158
- text: string;
1159
- json: {
1160
- type: "doc";
1161
- content: any[];
1162
- };
1163
- } | null | undefined;
1164
- metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
1165
- description?: string | null | undefined;
1166
- parent?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1167
1173
  user?: {
1168
1174
  id?: string | undefined;
1169
1175
  user_id?: string | undefined;
@@ -1173,31 +1179,42 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z
1173
1179
  }[] | undefined;
1174
1180
  username?: string | null | undefined;
1175
1181
  bio?: string | null | undefined;
1182
+ post_id?: string | null | undefined;
1176
1183
  last_active?: string | undefined;
1177
1184
  } | undefined;
1178
1185
  organization?: {
1179
1186
  id?: string | undefined;
1180
1187
  name?: string | undefined;
1181
- size?: string | undefined;
1182
- email?: string | null | undefined;
1183
1188
  avatar_path?: string | null | undefined;
1184
1189
  mission?: string | null | undefined;
1190
+ size?: string | undefined;
1191
+ email?: string | null | undefined;
1185
1192
  domain?: string | null | undefined;
1186
1193
  urls?: {
1187
1194
  value: string;
1188
1195
  }[] | null | undefined;
1189
- base_role?: "none" | "admin" | "read" | "write" | undefined;
1196
+ base_role?: "admin" | "read" | "write" | "none" | undefined;
1190
1197
  } | undefined;
1191
1198
  team?: {
1192
1199
  id?: string | undefined;
1193
- name?: string | undefined;
1194
- visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
1195
- description?: string | null | undefined;
1196
1200
  org_id?: string | undefined;
1197
1201
  created_at?: string | undefined;
1198
- default_role?: "none" | "admin" | "read" | "write" | undefined;
1202
+ name?: string | undefined;
1203
+ visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
1204
+ description?: string | null | undefined;
1205
+ default_role?: "admin" | "read" | "write" | "none" | undefined;
1199
1206
  } | undefined;
1207
+ content?: {
1208
+ text: string;
1209
+ json: {
1210
+ type: "doc";
1211
+ content: any[];
1212
+ };
1213
+ } | null | undefined;
1214
+ metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
1215
+ description?: string | null | undefined;
1200
1216
  parent_id?: string | null | undefined;
1217
+ parent?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1201
1218
  name_url_slug?: string | null | undefined;
1202
1219
  slug?: string | null | undefined;
1203
1220
  price?: number | null | undefined;
@@ -1210,6 +1227,7 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z
1210
1227
  type: "doc";
1211
1228
  content: any[];
1212
1229
  } | undefined;
1230
+ state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
1213
1231
  reactions?: z.objectInputType<{}, z.ZodTypeAny, "passthrough">[] | undefined;
1214
1232
  views?: number | undefined;
1215
1233
  commentCount?: number | undefined;
@@ -1231,6 +1249,7 @@ declare const ListPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1231
1249
  }, {
1232
1250
  value: string;
1233
1251
  }>, "many">>>;
1252
+ post_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
1234
1253
  last_active: z.ZodOptional<z.ZodString>;
1235
1254
  }, "strip", z.ZodTypeAny, {
1236
1255
  id?: string | undefined;
@@ -1241,6 +1260,7 @@ declare const ListPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1241
1260
  }[] | undefined;
1242
1261
  username?: string | null | undefined;
1243
1262
  bio?: string | null | undefined;
1263
+ post_id?: string | null | undefined;
1244
1264
  last_active?: string | undefined;
1245
1265
  }, {
1246
1266
  id?: string | undefined;
@@ -1251,6 +1271,7 @@ declare const ListPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1251
1271
  }[] | undefined;
1252
1272
  username?: string | null | undefined;
1253
1273
  bio?: string | null | undefined;
1274
+ post_id?: string | null | undefined;
1254
1275
  last_active?: string | undefined;
1255
1276
  }>>;
1256
1277
  org_id: z.ZodString;
@@ -1273,27 +1294,27 @@ declare const ListPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1273
1294
  }, "strip", z.ZodTypeAny, {
1274
1295
  id?: string | undefined;
1275
1296
  name?: string | undefined;
1276
- size?: string | undefined;
1277
- email?: string | null | undefined;
1278
1297
  avatar_path?: string | null | undefined;
1279
1298
  mission?: string | null | undefined;
1299
+ size?: string | undefined;
1300
+ email?: string | null | undefined;
1280
1301
  domain?: string | null | undefined;
1281
1302
  urls?: {
1282
1303
  value: string;
1283
1304
  }[] | null | undefined;
1284
- base_role?: "none" | "admin" | "read" | "write" | undefined;
1305
+ base_role?: "admin" | "read" | "write" | "none" | undefined;
1285
1306
  }, {
1286
1307
  id?: string | undefined;
1287
1308
  name?: string | undefined;
1288
- size?: string | undefined;
1289
- email?: string | null | undefined;
1290
1309
  avatar_path?: string | null | undefined;
1291
1310
  mission?: string | null | undefined;
1311
+ size?: string | undefined;
1312
+ email?: string | null | undefined;
1292
1313
  domain?: string | null | undefined;
1293
1314
  urls?: {
1294
1315
  value: string;
1295
1316
  }[] | null | undefined;
1296
- base_role?: "none" | "admin" | "read" | "write" | undefined;
1317
+ base_role?: "admin" | "read" | "write" | "none" | undefined;
1297
1318
  }>>;
1298
1319
  team_id: z.ZodString;
1299
1320
  team: z.ZodOptional<z.ZodObject<{
@@ -1306,20 +1327,20 @@ declare const ListPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1306
1327
  created_at: z.ZodOptional<z.ZodString>;
1307
1328
  }, "strip", z.ZodTypeAny, {
1308
1329
  id?: string | undefined;
1309
- name?: string | undefined;
1310
- visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
1311
- description?: string | null | undefined;
1312
1330
  org_id?: string | undefined;
1313
1331
  created_at?: string | undefined;
1314
- default_role?: "none" | "admin" | "read" | "write" | undefined;
1315
- }, {
1316
- id?: string | undefined;
1317
1332
  name?: string | undefined;
1318
- visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
1333
+ visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
1319
1334
  description?: string | null | undefined;
1335
+ default_role?: "admin" | "read" | "write" | "none" | undefined;
1336
+ }, {
1337
+ id?: string | undefined;
1320
1338
  org_id?: string | undefined;
1321
1339
  created_at?: string | undefined;
1322
- default_role?: "none" | "admin" | "read" | "write" | undefined;
1340
+ name?: string | undefined;
1341
+ visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
1342
+ description?: string | null | undefined;
1343
+ default_role?: "admin" | "read" | "write" | "none" | undefined;
1323
1344
  }>>;
1324
1345
  parent_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1325
1346
  parent: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
@@ -1343,7 +1364,7 @@ declare const ListPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1343
1364
  last_updated: z.ZodString;
1344
1365
  }, {
1345
1366
  name: z.ZodNullable<z.ZodString>;
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">;
1367
+ asset_type: z.ZodEffects<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>, "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication", "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication">;
1347
1368
  preview: z.ZodDefault<z.ZodObject<{
1348
1369
  type: z.ZodLiteral<"doc">;
1349
1370
  content: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
@@ -1381,7 +1402,8 @@ declare const ListPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1381
1402
  }>>;
1382
1403
  }>, "strip", z.ZodTypeAny, {
1383
1404
  id: string;
1384
- name: string | null;
1405
+ user_id: string;
1406
+ org_id: string;
1385
1407
  content: {
1386
1408
  text: string;
1387
1409
  json: {
@@ -1389,22 +1411,17 @@ declare const ListPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1389
1411
  content: any[];
1390
1412
  };
1391
1413
  };
1392
- visibility: "inherit" | "private" | "public" | "organization" | "monetized";
1393
- user_id: string;
1394
- org_id: string;
1395
- asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1414
+ asset_type: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1396
1415
  created_at: string;
1397
1416
  last_updated: string;
1417
+ name: string | null;
1398
1418
  team_id: string;
1419
+ visibility: "organization" | "public" | "private" | "monetized" | "inherit";
1399
1420
  monetization: "none" | "pay-to-unlock" | "pay-per-use";
1400
1421
  preview: {
1401
1422
  type: "doc";
1402
1423
  content: any[];
1403
1424
  };
1404
- state?: "error" | "in-progress" | "success" | "queued" | null | undefined;
1405
- metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
1406
- description?: string | null | undefined;
1407
- parent?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1408
1425
  user?: {
1409
1426
  id?: string | undefined;
1410
1427
  user_id?: string | undefined;
@@ -1414,31 +1431,35 @@ declare const ListPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1414
1431
  }[] | undefined;
1415
1432
  username?: string | null | undefined;
1416
1433
  bio?: string | null | undefined;
1434
+ post_id?: string | null | undefined;
1417
1435
  last_active?: string | undefined;
1418
1436
  } | undefined;
1419
1437
  organization?: {
1420
1438
  id?: string | undefined;
1421
1439
  name?: string | undefined;
1422
- size?: string | undefined;
1423
- email?: string | null | undefined;
1424
1440
  avatar_path?: string | null | undefined;
1425
1441
  mission?: string | null | undefined;
1442
+ size?: string | undefined;
1443
+ email?: string | null | undefined;
1426
1444
  domain?: string | null | undefined;
1427
1445
  urls?: {
1428
1446
  value: string;
1429
1447
  }[] | null | undefined;
1430
- base_role?: "none" | "admin" | "read" | "write" | undefined;
1448
+ base_role?: "admin" | "read" | "write" | "none" | undefined;
1431
1449
  } | undefined;
1432
1450
  team?: {
1433
1451
  id?: string | undefined;
1434
- name?: string | undefined;
1435
- visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
1436
- description?: string | null | undefined;
1437
1452
  org_id?: string | undefined;
1438
1453
  created_at?: string | undefined;
1439
- default_role?: "none" | "admin" | "read" | "write" | undefined;
1454
+ name?: string | undefined;
1455
+ visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
1456
+ description?: string | null | undefined;
1457
+ default_role?: "admin" | "read" | "write" | "none" | undefined;
1440
1458
  } | undefined;
1459
+ metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
1460
+ description?: string | null | undefined;
1441
1461
  parent_id?: string | null | undefined;
1462
+ parent?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1442
1463
  name_url_slug?: string | null | undefined;
1443
1464
  slug?: string | null | undefined;
1444
1465
  price?: number | null | undefined;
@@ -1447,28 +1468,18 @@ declare const ListPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1447
1468
  cost_unit?: string | null | undefined;
1448
1469
  product_id?: string | null | undefined;
1449
1470
  price_id?: string | null | undefined;
1471
+ state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
1450
1472
  }, {
1451
1473
  id: string;
1452
- name: string | null;
1453
- visibility: "inherit" | "private" | "public" | "organization" | "monetized";
1454
1474
  user_id: string;
1455
1475
  org_id: string;
1456
- asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1476
+ asset_type: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1457
1477
  created_at: string;
1458
1478
  last_updated: string;
1479
+ name: string | null;
1459
1480
  team_id: string;
1481
+ visibility: "organization" | "public" | "private" | "monetized" | "inherit";
1460
1482
  monetization: "none" | "pay-to-unlock" | "pay-per-use";
1461
- state?: "error" | "in-progress" | "success" | "queued" | null | undefined;
1462
- content?: {
1463
- text: string;
1464
- json: {
1465
- type: "doc";
1466
- content: any[];
1467
- };
1468
- } | undefined;
1469
- metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
1470
- description?: string | null | undefined;
1471
- parent?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1472
1483
  user?: {
1473
1484
  id?: string | undefined;
1474
1485
  user_id?: string | undefined;
@@ -1478,31 +1489,42 @@ declare const ListPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1478
1489
  }[] | undefined;
1479
1490
  username?: string | null | undefined;
1480
1491
  bio?: string | null | undefined;
1492
+ post_id?: string | null | undefined;
1481
1493
  last_active?: string | undefined;
1482
1494
  } | undefined;
1483
1495
  organization?: {
1484
1496
  id?: string | undefined;
1485
1497
  name?: string | undefined;
1486
- size?: string | undefined;
1487
- email?: string | null | undefined;
1488
1498
  avatar_path?: string | null | undefined;
1489
1499
  mission?: string | null | undefined;
1500
+ size?: string | undefined;
1501
+ email?: string | null | undefined;
1490
1502
  domain?: string | null | undefined;
1491
1503
  urls?: {
1492
1504
  value: string;
1493
1505
  }[] | null | undefined;
1494
- base_role?: "none" | "admin" | "read" | "write" | undefined;
1506
+ base_role?: "admin" | "read" | "write" | "none" | undefined;
1495
1507
  } | undefined;
1496
1508
  team?: {
1497
1509
  id?: string | undefined;
1498
- name?: string | undefined;
1499
- visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
1500
- description?: string | null | undefined;
1501
1510
  org_id?: string | undefined;
1502
1511
  created_at?: string | undefined;
1503
- default_role?: "none" | "admin" | "read" | "write" | undefined;
1512
+ name?: string | undefined;
1513
+ visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
1514
+ description?: string | null | undefined;
1515
+ default_role?: "admin" | "read" | "write" | "none" | undefined;
1504
1516
  } | undefined;
1517
+ content?: {
1518
+ text: string;
1519
+ json: {
1520
+ type: "doc";
1521
+ content: any[];
1522
+ };
1523
+ } | undefined;
1524
+ metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
1525
+ description?: string | null | undefined;
1505
1526
  parent_id?: string | null | undefined;
1527
+ parent?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1506
1528
  name_url_slug?: string | null | undefined;
1507
1529
  slug?: string | null | undefined;
1508
1530
  price?: number | null | undefined;
@@ -1515,6 +1537,7 @@ declare const ListPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1515
1537
  type: "doc";
1516
1538
  content: any[];
1517
1539
  } | undefined;
1540
+ state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
1518
1541
  }>, "many">;
1519
1542
  declare const UpdatePostSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
1520
1543
  id: z.ZodOptional<z.ZodString>;
@@ -1532,6 +1555,7 @@ declare const UpdatePostSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
1532
1555
  }, {
1533
1556
  value: string;
1534
1557
  }>, "many">>>;
1558
+ post_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
1535
1559
  last_active: z.ZodOptional<z.ZodString>;
1536
1560
  }, "strip", z.ZodTypeAny, {
1537
1561
  id?: string | undefined;
@@ -1542,6 +1566,7 @@ declare const UpdatePostSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
1542
1566
  }[] | undefined;
1543
1567
  username?: string | null | undefined;
1544
1568
  bio?: string | null | undefined;
1569
+ post_id?: string | null | undefined;
1545
1570
  last_active?: string | undefined;
1546
1571
  }, {
1547
1572
  id?: string | undefined;
@@ -1552,6 +1577,7 @@ declare const UpdatePostSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
1552
1577
  }[] | undefined;
1553
1578
  username?: string | null | undefined;
1554
1579
  bio?: string | null | undefined;
1580
+ post_id?: string | null | undefined;
1555
1581
  last_active?: string | undefined;
1556
1582
  }>>>;
1557
1583
  org_id: z.ZodOptional<z.ZodString>;
@@ -1574,27 +1600,27 @@ declare const UpdatePostSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
1574
1600
  }, "strip", z.ZodTypeAny, {
1575
1601
  id?: string | undefined;
1576
1602
  name?: string | undefined;
1577
- size?: string | undefined;
1578
- email?: string | null | undefined;
1579
1603
  avatar_path?: string | null | undefined;
1580
1604
  mission?: string | null | undefined;
1605
+ size?: string | undefined;
1606
+ email?: string | null | undefined;
1581
1607
  domain?: string | null | undefined;
1582
1608
  urls?: {
1583
1609
  value: string;
1584
1610
  }[] | null | undefined;
1585
- base_role?: "none" | "admin" | "read" | "write" | undefined;
1611
+ base_role?: "admin" | "read" | "write" | "none" | undefined;
1586
1612
  }, {
1587
1613
  id?: string | undefined;
1588
1614
  name?: string | undefined;
1589
- size?: string | undefined;
1590
- email?: string | null | undefined;
1591
1615
  avatar_path?: string | null | undefined;
1592
1616
  mission?: string | null | undefined;
1617
+ size?: string | undefined;
1618
+ email?: string | null | undefined;
1593
1619
  domain?: string | null | undefined;
1594
1620
  urls?: {
1595
1621
  value: string;
1596
1622
  }[] | null | undefined;
1597
- base_role?: "none" | "admin" | "read" | "write" | undefined;
1623
+ base_role?: "admin" | "read" | "write" | "none" | undefined;
1598
1624
  }>>>;
1599
1625
  team_id: z.ZodOptional<z.ZodString>;
1600
1626
  team: z.ZodOptional<z.ZodOptional<z.ZodObject<{
@@ -1607,20 +1633,20 @@ declare const UpdatePostSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
1607
1633
  created_at: z.ZodOptional<z.ZodString>;
1608
1634
  }, "strip", z.ZodTypeAny, {
1609
1635
  id?: string | undefined;
1610
- name?: string | undefined;
1611
- visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
1612
- description?: string | null | undefined;
1613
1636
  org_id?: string | undefined;
1614
1637
  created_at?: string | undefined;
1615
- default_role?: "none" | "admin" | "read" | "write" | undefined;
1616
- }, {
1617
- id?: string | undefined;
1618
1638
  name?: string | undefined;
1619
- visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
1639
+ visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
1620
1640
  description?: string | null | undefined;
1641
+ default_role?: "admin" | "read" | "write" | "none" | undefined;
1642
+ }, {
1643
+ id?: string | undefined;
1621
1644
  org_id?: string | undefined;
1622
1645
  created_at?: string | undefined;
1623
- default_role?: "none" | "admin" | "read" | "write" | undefined;
1646
+ name?: string | undefined;
1647
+ visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
1648
+ description?: string | null | undefined;
1649
+ default_role?: "admin" | "read" | "write" | "none" | undefined;
1624
1650
  }>>>;
1625
1651
  parent_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
1626
1652
  parent: z.ZodOptional<z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>>;
@@ -1640,7 +1666,7 @@ declare const UpdatePostSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
1640
1666
  created_at: z.ZodOptional<z.ZodString>;
1641
1667
  last_updated: z.ZodOptional<z.ZodString>;
1642
1668
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1643
- asset_type: z.ZodOptional<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">>;
1669
+ asset_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>, "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication", "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication">>;
1644
1670
  preview: z.ZodOptional<z.ZodDefault<z.ZodObject<{
1645
1671
  type: z.ZodLiteral<"doc">;
1646
1672
  content: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
@@ -1680,19 +1706,6 @@ declare const UpdatePostSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
1680
1706
  last_updated: z.ZodDefault<z.ZodString>;
1681
1707
  }>, "strip", z.ZodTypeAny, {
1682
1708
  last_updated: string;
1683
- state?: "error" | "in-progress" | "success" | "queued" | null | undefined;
1684
- name?: string | null | undefined;
1685
- content?: {
1686
- text: string;
1687
- json: {
1688
- type: "doc";
1689
- content: any[];
1690
- };
1691
- } | undefined;
1692
- visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
1693
- metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
1694
- description?: string | null | undefined;
1695
- parent?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1696
1709
  user?: {
1697
1710
  id?: string | undefined;
1698
1711
  user_id?: string | undefined;
@@ -1702,34 +1715,47 @@ declare const UpdatePostSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
1702
1715
  }[] | undefined;
1703
1716
  username?: string | null | undefined;
1704
1717
  bio?: string | null | undefined;
1718
+ post_id?: string | null | undefined;
1705
1719
  last_active?: string | undefined;
1706
1720
  } | undefined;
1707
1721
  organization?: {
1708
1722
  id?: string | undefined;
1709
1723
  name?: string | undefined;
1710
- size?: string | undefined;
1711
- email?: string | null | undefined;
1712
1724
  avatar_path?: string | null | undefined;
1713
1725
  mission?: string | null | undefined;
1726
+ size?: string | undefined;
1727
+ email?: string | null | undefined;
1714
1728
  domain?: string | null | undefined;
1715
1729
  urls?: {
1716
1730
  value: string;
1717
1731
  }[] | null | undefined;
1718
- base_role?: "none" | "admin" | "read" | "write" | undefined;
1732
+ base_role?: "admin" | "read" | "write" | "none" | undefined;
1719
1733
  } | undefined;
1720
1734
  team?: {
1721
1735
  id?: string | undefined;
1722
- name?: string | undefined;
1723
- visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
1724
- description?: string | null | undefined;
1725
1736
  org_id?: string | undefined;
1726
1737
  created_at?: string | undefined;
1727
- default_role?: "none" | "admin" | "read" | "write" | undefined;
1738
+ name?: string | undefined;
1739
+ visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
1740
+ description?: string | null | undefined;
1741
+ default_role?: "admin" | "read" | "write" | "none" | undefined;
1728
1742
  } | undefined;
1729
1743
  org_id?: string | undefined;
1730
- asset_type?: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
1744
+ content?: {
1745
+ text: string;
1746
+ json: {
1747
+ type: "doc";
1748
+ content: any[];
1749
+ };
1750
+ } | undefined;
1751
+ asset_type?: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
1752
+ metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
1753
+ name?: string | null | undefined;
1731
1754
  team_id?: string | undefined;
1755
+ visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
1756
+ description?: string | null | undefined;
1732
1757
  parent_id?: string | null | undefined;
1758
+ parent?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1733
1759
  name_url_slug?: string | null | undefined;
1734
1760
  slug?: string | null | undefined;
1735
1761
  monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
@@ -1743,20 +1769,8 @@ declare const UpdatePostSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
1743
1769
  type: "doc";
1744
1770
  content: any[];
1745
1771
  } | undefined;
1772
+ state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
1746
1773
  }, {
1747
- state?: "error" | "in-progress" | "success" | "queued" | null | undefined;
1748
- name?: string | null | undefined;
1749
- content?: {
1750
- text: string;
1751
- json: {
1752
- type: "doc";
1753
- content: any[];
1754
- };
1755
- } | undefined;
1756
- visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
1757
- metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
1758
- description?: string | null | undefined;
1759
- parent?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1760
1774
  user?: {
1761
1775
  id?: string | undefined;
1762
1776
  user_id?: string | undefined;
@@ -1766,35 +1780,48 @@ declare const UpdatePostSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
1766
1780
  }[] | undefined;
1767
1781
  username?: string | null | undefined;
1768
1782
  bio?: string | null | undefined;
1783
+ post_id?: string | null | undefined;
1769
1784
  last_active?: string | undefined;
1770
1785
  } | undefined;
1771
1786
  organization?: {
1772
1787
  id?: string | undefined;
1773
1788
  name?: string | undefined;
1774
- size?: string | undefined;
1775
- email?: string | null | undefined;
1776
1789
  avatar_path?: string | null | undefined;
1777
1790
  mission?: string | null | undefined;
1791
+ size?: string | undefined;
1792
+ email?: string | null | undefined;
1778
1793
  domain?: string | null | undefined;
1779
1794
  urls?: {
1780
1795
  value: string;
1781
1796
  }[] | null | undefined;
1782
- base_role?: "none" | "admin" | "read" | "write" | undefined;
1797
+ base_role?: "admin" | "read" | "write" | "none" | undefined;
1783
1798
  } | undefined;
1784
1799
  team?: {
1785
1800
  id?: string | undefined;
1786
- name?: string | undefined;
1787
- visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
1788
- description?: string | null | undefined;
1789
1801
  org_id?: string | undefined;
1790
1802
  created_at?: string | undefined;
1791
- default_role?: "none" | "admin" | "read" | "write" | undefined;
1803
+ name?: string | undefined;
1804
+ visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
1805
+ description?: string | null | undefined;
1806
+ default_role?: "admin" | "read" | "write" | "none" | undefined;
1792
1807
  } | undefined;
1793
1808
  org_id?: string | undefined;
1794
- asset_type?: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
1809
+ content?: {
1810
+ text: string;
1811
+ json: {
1812
+ type: "doc";
1813
+ content: any[];
1814
+ };
1815
+ } | undefined;
1816
+ asset_type?: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
1817
+ metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
1795
1818
  last_updated?: string | undefined;
1819
+ name?: string | null | undefined;
1796
1820
  team_id?: string | undefined;
1821
+ visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
1822
+ description?: string | null | undefined;
1797
1823
  parent_id?: string | null | undefined;
1824
+ parent?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1798
1825
  name_url_slug?: string | null | undefined;
1799
1826
  slug?: string | null | undefined;
1800
1827
  monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
@@ -1808,13 +1835,14 @@ declare const UpdatePostSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
1808
1835
  type: "doc";
1809
1836
  content: any[];
1810
1837
  } | undefined;
1838
+ state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
1811
1839
  }>;
1812
- type Post = z.infer<typeof PostSchema>;
1813
- type CreatePost = z.infer<typeof CreatePostSchema>;
1814
- type ListPosts = z.infer<typeof ListPostsSchema>;
1815
- type ReadPost = z.infer<typeof ReadPostSchema>;
1816
- type ReadPosts = z.infer<typeof ReadPostsSchema>;
1817
- type UpdatePost = z.infer<typeof UpdatePostSchema>;
1818
- type Content = z.infer<typeof ContentSchema>;
1819
- type TipTap = z.infer<typeof TipTapSchema>;
1820
- export { TipTapSchema, ContentSchema, PostSchema, CreatePostSchema, ListPostsSchema, ReadPostSchema, ReadPostsSchema, UpdatePostSchema, type Post, type CreatePost, type ListPosts, type ReadPost, type ReadPosts, type UpdatePost, type Content, type TipTap, };
1840
+ export { TipTapSchema, ContentSchema, PostSchema, CreatePostSchema, ListPostsSchema, ReadPostSchema, ReadPostsSchema, UpdatePostSchema, };
1841
+ export type Post = z.infer<typeof PostSchema>;
1842
+ export type CreatePost = z.infer<typeof CreatePostSchema>;
1843
+ export type ListPosts = z.infer<typeof ListPostsSchema>;
1844
+ export type ReadPost = z.infer<typeof ReadPostSchema>;
1845
+ export type ReadPosts = z.infer<typeof ReadPostsSchema>;
1846
+ export type UpdatePost = z.infer<typeof UpdatePostSchema>;
1847
+ export type Content = z.infer<typeof ContentSchema>;
1848
+ export type TipTap = z.infer<typeof TipTapSchema>;