@ourofoundation/ouro-js 1.0.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.
@@ -0,0 +1,1612 @@
1
+ import { z } from "zod";
2
+ declare const PostSchema: z.ZodObject<z.objectUtil.extendShape<{
3
+ id: z.ZodString;
4
+ user_id: z.ZodString;
5
+ user: z.ZodOptional<z.ZodObject<{
6
+ id: z.ZodOptional<z.ZodString>;
7
+ user_id: z.ZodOptional<z.ZodString>;
8
+ username: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
9
+ avatar_path: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
10
+ bio: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
11
+ urls: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
12
+ value: z.ZodString;
13
+ }, "strip", z.ZodTypeAny, {
14
+ value: string;
15
+ }, {
16
+ value: string;
17
+ }>, "many">>>;
18
+ last_active: z.ZodOptional<z.ZodString>;
19
+ }, "strip", z.ZodTypeAny, {
20
+ id?: string | undefined;
21
+ user_id?: string | undefined;
22
+ avatar_path?: string | null | undefined;
23
+ urls?: {
24
+ value: string;
25
+ }[] | undefined;
26
+ username?: string | null | undefined;
27
+ bio?: string | null | undefined;
28
+ last_active?: string | undefined;
29
+ }, {
30
+ id?: string | undefined;
31
+ user_id?: string | undefined;
32
+ avatar_path?: string | null | undefined;
33
+ urls?: {
34
+ value: string;
35
+ }[] | undefined;
36
+ username?: string | null | undefined;
37
+ bio?: string | null | undefined;
38
+ last_active?: string | undefined;
39
+ }>>;
40
+ org_id: z.ZodString;
41
+ organization: z.ZodOptional<z.ZodObject<{
42
+ id: z.ZodOptional<z.ZodString>;
43
+ owner_id: z.ZodOptional<z.ZodString>;
44
+ name: z.ZodOptional<z.ZodString>;
45
+ avatar_path: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
46
+ mission: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
47
+ size: z.ZodOptional<z.ZodString>;
48
+ email: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
49
+ domain: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
50
+ urls: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
51
+ value: z.ZodString;
52
+ }, "strip", z.ZodTypeAny, {
53
+ value: string;
54
+ }, {
55
+ value: string;
56
+ }>, "many">>>>;
57
+ base_role: z.ZodOptional<z.ZodDefault<z.ZodEnum<["admin", "read", "write", "none"]>>>;
58
+ }, "strip", z.ZodTypeAny, {
59
+ id?: string | undefined;
60
+ name?: string | undefined;
61
+ size?: string | undefined;
62
+ email?: string | null | undefined;
63
+ owner_id?: string | undefined;
64
+ avatar_path?: string | null | undefined;
65
+ mission?: string | null | undefined;
66
+ domain?: string | null | undefined;
67
+ urls?: {
68
+ value: string;
69
+ }[] | null | undefined;
70
+ base_role?: "none" | "admin" | "read" | "write" | undefined;
71
+ }, {
72
+ id?: string | undefined;
73
+ name?: string | undefined;
74
+ size?: string | undefined;
75
+ email?: string | null | undefined;
76
+ owner_id?: string | undefined;
77
+ avatar_path?: string | null | undefined;
78
+ mission?: string | null | undefined;
79
+ domain?: string | null | undefined;
80
+ urls?: {
81
+ value: string;
82
+ }[] | null | undefined;
83
+ base_role?: "none" | "admin" | "read" | "write" | undefined;
84
+ }>>;
85
+ team_id: z.ZodString;
86
+ team: z.ZodOptional<z.ZodObject<{
87
+ id: z.ZodOptional<z.ZodString>;
88
+ org_id: z.ZodOptional<z.ZodString>;
89
+ name: z.ZodOptional<z.ZodString>;
90
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
91
+ default_role: z.ZodOptional<z.ZodEnum<["admin", "read", "write", "none"]>>;
92
+ visibility: z.ZodOptional<z.ZodEnum<["public", "private", "organization", "monetized", "inherit"]>>;
93
+ created_at: z.ZodOptional<z.ZodString>;
94
+ }, "strip", z.ZodTypeAny, {
95
+ id?: string | undefined;
96
+ name?: string | undefined;
97
+ visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
98
+ description?: string | null | undefined;
99
+ org_id?: string | undefined;
100
+ created_at?: string | undefined;
101
+ default_role?: "none" | "admin" | "read" | "write" | undefined;
102
+ }, {
103
+ id?: string | undefined;
104
+ name?: string | undefined;
105
+ visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
106
+ description?: string | null | undefined;
107
+ org_id?: string | undefined;
108
+ created_at?: string | undefined;
109
+ default_role?: "none" | "admin" | "read" | "write" | undefined;
110
+ }>>;
111
+ parent_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
112
+ asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
113
+ name: z.ZodString;
114
+ name_url_slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
115
+ slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
116
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
117
+ visibility: z.ZodEnum<["public", "private", "organization", "monetized", "inherit"]>;
118
+ monetization: z.ZodEnum<["none", "pay-to-unlock", "pay-per-use"]>;
119
+ price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
120
+ unit_cost: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
121
+ cost_accounting: z.ZodNullable<z.ZodOptional<z.ZodEnum<["fixed", "variable"]>>>;
122
+ cost_unit: z.ZodNullable<z.ZodOptional<z.ZodString>>;
123
+ product_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
124
+ price_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
125
+ metadata: z.ZodNullable<z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>>;
126
+ preview: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>>;
127
+ created_at: z.ZodString;
128
+ last_updated: z.ZodString;
129
+ }, {
130
+ name: z.ZodNullable<z.ZodString>;
131
+ 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">;
132
+ preview: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodObject<{
133
+ type: z.ZodEffects<z.ZodString, string, string>;
134
+ content: z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">;
135
+ }, "strip", z.ZodTypeAny, {
136
+ type: string;
137
+ content: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">[];
138
+ }, {
139
+ type: string;
140
+ content: z.objectInputType<{}, z.ZodTypeAny, "passthrough">[];
141
+ }>>>>;
142
+ }>, "strip", z.ZodTypeAny, {
143
+ id: string;
144
+ name: string | null;
145
+ visibility: "inherit" | "private" | "public" | "organization" | "monetized";
146
+ user_id: string;
147
+ org_id: string;
148
+ asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
149
+ created_at: string;
150
+ last_updated: string;
151
+ team_id: string;
152
+ monetization: "none" | "pay-to-unlock" | "pay-per-use";
153
+ preview: {
154
+ type: string;
155
+ content: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">[];
156
+ } | null;
157
+ metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
158
+ description?: string | null | undefined;
159
+ user?: {
160
+ id?: string | undefined;
161
+ user_id?: string | undefined;
162
+ avatar_path?: string | null | undefined;
163
+ urls?: {
164
+ value: string;
165
+ }[] | undefined;
166
+ username?: string | null | undefined;
167
+ bio?: string | null | undefined;
168
+ last_active?: string | undefined;
169
+ } | undefined;
170
+ organization?: {
171
+ id?: string | undefined;
172
+ name?: string | undefined;
173
+ size?: string | undefined;
174
+ email?: string | null | undefined;
175
+ owner_id?: string | undefined;
176
+ avatar_path?: string | null | undefined;
177
+ mission?: string | null | undefined;
178
+ domain?: string | null | undefined;
179
+ urls?: {
180
+ value: string;
181
+ }[] | null | undefined;
182
+ base_role?: "none" | "admin" | "read" | "write" | undefined;
183
+ } | undefined;
184
+ team?: {
185
+ id?: string | undefined;
186
+ name?: string | undefined;
187
+ visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
188
+ description?: string | null | undefined;
189
+ org_id?: string | undefined;
190
+ created_at?: string | undefined;
191
+ default_role?: "none" | "admin" | "read" | "write" | undefined;
192
+ } | undefined;
193
+ parent_id?: string | null | undefined;
194
+ name_url_slug?: string | null | undefined;
195
+ slug?: string | null | undefined;
196
+ price?: number | null | undefined;
197
+ unit_cost?: number | null | undefined;
198
+ cost_accounting?: "fixed" | "variable" | null | undefined;
199
+ cost_unit?: string | null | undefined;
200
+ product_id?: string | null | undefined;
201
+ price_id?: string | null | undefined;
202
+ }, {
203
+ id: string;
204
+ name: string | null;
205
+ visibility: "inherit" | "private" | "public" | "organization" | "monetized";
206
+ user_id: string;
207
+ org_id: string;
208
+ asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
209
+ created_at: string;
210
+ last_updated: string;
211
+ team_id: string;
212
+ monetization: "none" | "pay-to-unlock" | "pay-per-use";
213
+ metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
214
+ description?: string | null | undefined;
215
+ user?: {
216
+ id?: string | undefined;
217
+ user_id?: string | undefined;
218
+ avatar_path?: string | null | undefined;
219
+ urls?: {
220
+ value: string;
221
+ }[] | undefined;
222
+ username?: string | null | undefined;
223
+ bio?: string | null | undefined;
224
+ last_active?: string | undefined;
225
+ } | undefined;
226
+ organization?: {
227
+ id?: string | undefined;
228
+ name?: string | undefined;
229
+ size?: string | undefined;
230
+ email?: string | null | undefined;
231
+ owner_id?: string | undefined;
232
+ avatar_path?: string | null | undefined;
233
+ mission?: string | null | undefined;
234
+ domain?: string | null | undefined;
235
+ urls?: {
236
+ value: string;
237
+ }[] | null | undefined;
238
+ base_role?: "none" | "admin" | "read" | "write" | undefined;
239
+ } | undefined;
240
+ team?: {
241
+ id?: string | undefined;
242
+ name?: string | undefined;
243
+ visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
244
+ description?: string | null | undefined;
245
+ org_id?: string | undefined;
246
+ created_at?: string | undefined;
247
+ default_role?: "none" | "admin" | "read" | "write" | undefined;
248
+ } | undefined;
249
+ parent_id?: string | null | undefined;
250
+ name_url_slug?: string | null | undefined;
251
+ slug?: string | null | undefined;
252
+ price?: number | null | undefined;
253
+ unit_cost?: number | null | undefined;
254
+ cost_accounting?: "fixed" | "variable" | null | undefined;
255
+ cost_unit?: string | null | undefined;
256
+ product_id?: string | null | undefined;
257
+ price_id?: string | null | undefined;
258
+ preview?: {
259
+ type: string;
260
+ content: z.objectInputType<{}, z.ZodTypeAny, "passthrough">[];
261
+ } | null | undefined;
262
+ }>;
263
+ declare const TipTapSchema: z.ZodObject<{
264
+ type: z.ZodEffects<z.ZodString, string, string>;
265
+ content: z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">;
266
+ }, "strip", z.ZodTypeAny, {
267
+ type: string;
268
+ content: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">[];
269
+ }, {
270
+ type: string;
271
+ content: z.objectInputType<{}, z.ZodTypeAny, "passthrough">[];
272
+ }>;
273
+ declare const ContentSchema: z.ZodObject<{
274
+ json: z.ZodObject<{
275
+ type: z.ZodEffects<z.ZodString, string, string>;
276
+ content: z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">;
277
+ }, "strip", z.ZodTypeAny, {
278
+ type: string;
279
+ content: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">[];
280
+ }, {
281
+ type: string;
282
+ content: z.objectInputType<{}, z.ZodTypeAny, "passthrough">[];
283
+ }>;
284
+ text: z.ZodString;
285
+ }, "strip", z.ZodTypeAny, {
286
+ text: string;
287
+ json: {
288
+ type: string;
289
+ content: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">[];
290
+ };
291
+ }, {
292
+ text: string;
293
+ json: {
294
+ type: string;
295
+ content: z.objectInputType<{}, z.ZodTypeAny, "passthrough">[];
296
+ };
297
+ }>;
298
+ declare const CreatePostSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
299
+ id: z.ZodOptional<z.ZodString>;
300
+ user_id: z.ZodOptional<z.ZodString>;
301
+ user: z.ZodOptional<z.ZodOptional<z.ZodObject<{
302
+ id: z.ZodOptional<z.ZodString>;
303
+ user_id: z.ZodOptional<z.ZodString>;
304
+ username: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
305
+ avatar_path: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
306
+ bio: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
307
+ urls: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
308
+ value: z.ZodString;
309
+ }, "strip", z.ZodTypeAny, {
310
+ value: string;
311
+ }, {
312
+ value: string;
313
+ }>, "many">>>;
314
+ last_active: z.ZodOptional<z.ZodString>;
315
+ }, "strip", z.ZodTypeAny, {
316
+ id?: string | undefined;
317
+ user_id?: string | undefined;
318
+ avatar_path?: string | null | undefined;
319
+ urls?: {
320
+ value: string;
321
+ }[] | undefined;
322
+ username?: string | null | undefined;
323
+ bio?: string | null | undefined;
324
+ last_active?: string | undefined;
325
+ }, {
326
+ id?: string | undefined;
327
+ user_id?: string | undefined;
328
+ avatar_path?: string | null | undefined;
329
+ urls?: {
330
+ value: string;
331
+ }[] | undefined;
332
+ username?: string | null | undefined;
333
+ bio?: string | null | undefined;
334
+ last_active?: string | undefined;
335
+ }>>>;
336
+ org_id: z.ZodOptional<z.ZodString>;
337
+ organization: z.ZodOptional<z.ZodOptional<z.ZodObject<{
338
+ id: z.ZodOptional<z.ZodString>;
339
+ owner_id: z.ZodOptional<z.ZodString>;
340
+ name: z.ZodOptional<z.ZodString>;
341
+ avatar_path: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
342
+ mission: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
343
+ size: z.ZodOptional<z.ZodString>;
344
+ email: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
345
+ domain: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
346
+ urls: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
347
+ value: z.ZodString;
348
+ }, "strip", z.ZodTypeAny, {
349
+ value: string;
350
+ }, {
351
+ value: string;
352
+ }>, "many">>>>;
353
+ base_role: z.ZodOptional<z.ZodDefault<z.ZodEnum<["admin", "read", "write", "none"]>>>;
354
+ }, "strip", z.ZodTypeAny, {
355
+ id?: string | undefined;
356
+ name?: string | undefined;
357
+ size?: string | undefined;
358
+ email?: string | null | undefined;
359
+ owner_id?: string | undefined;
360
+ avatar_path?: string | null | undefined;
361
+ mission?: string | null | undefined;
362
+ domain?: string | null | undefined;
363
+ urls?: {
364
+ value: string;
365
+ }[] | null | undefined;
366
+ base_role?: "none" | "admin" | "read" | "write" | undefined;
367
+ }, {
368
+ id?: string | undefined;
369
+ name?: string | undefined;
370
+ size?: string | undefined;
371
+ email?: string | null | undefined;
372
+ owner_id?: string | undefined;
373
+ avatar_path?: string | null | undefined;
374
+ mission?: string | null | undefined;
375
+ domain?: string | null | undefined;
376
+ urls?: {
377
+ value: string;
378
+ }[] | null | undefined;
379
+ base_role?: "none" | "admin" | "read" | "write" | undefined;
380
+ }>>>;
381
+ team_id: z.ZodOptional<z.ZodString>;
382
+ team: z.ZodOptional<z.ZodOptional<z.ZodObject<{
383
+ id: z.ZodOptional<z.ZodString>;
384
+ org_id: z.ZodOptional<z.ZodString>;
385
+ name: z.ZodOptional<z.ZodString>;
386
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
387
+ default_role: z.ZodOptional<z.ZodEnum<["admin", "read", "write", "none"]>>;
388
+ visibility: z.ZodOptional<z.ZodEnum<["public", "private", "organization", "monetized", "inherit"]>>;
389
+ created_at: z.ZodOptional<z.ZodString>;
390
+ }, "strip", z.ZodTypeAny, {
391
+ id?: string | undefined;
392
+ name?: string | undefined;
393
+ visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
394
+ description?: string | null | undefined;
395
+ org_id?: string | undefined;
396
+ created_at?: string | undefined;
397
+ default_role?: "none" | "admin" | "read" | "write" | undefined;
398
+ }, {
399
+ id?: string | undefined;
400
+ name?: string | undefined;
401
+ visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
402
+ description?: string | null | undefined;
403
+ org_id?: string | undefined;
404
+ created_at?: string | undefined;
405
+ default_role?: "none" | "admin" | "read" | "write" | undefined;
406
+ }>>>;
407
+ parent_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
408
+ name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
409
+ slug: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
410
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
411
+ visibility: z.ZodOptional<z.ZodEnum<["public", "private", "organization", "monetized", "inherit"]>>;
412
+ monetization: z.ZodOptional<z.ZodEnum<["none", "pay-to-unlock", "pay-per-use"]>>;
413
+ price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
414
+ unit_cost: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
415
+ cost_accounting: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<["fixed", "variable"]>>>>;
416
+ cost_unit: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
417
+ product_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
418
+ price_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
419
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>>>;
420
+ created_at: z.ZodOptional<z.ZodString>;
421
+ last_updated: z.ZodOptional<z.ZodString>;
422
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
423
+ 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">>;
424
+ preview: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodObject<{
425
+ type: z.ZodEffects<z.ZodString, string, string>;
426
+ content: z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">;
427
+ }, "strip", z.ZodTypeAny, {
428
+ type: string;
429
+ content: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">[];
430
+ }, {
431
+ type: string;
432
+ content: z.objectInputType<{}, z.ZodTypeAny, "passthrough">[];
433
+ }>>>>>;
434
+ }, "id" | "user_id">, {
435
+ id: z.ZodDefault<z.ZodString>;
436
+ team_id: z.ZodDefault<z.ZodString>;
437
+ org_id: z.ZodDefault<z.ZodString>;
438
+ asset_type: z.ZodEffects<z.ZodDefault<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" | undefined>;
439
+ name: z.ZodEffects<z.ZodEffects<z.ZodDefault<z.ZodString>, string, string | undefined>, string | null, string | undefined>;
440
+ visibility: z.ZodDefault<z.ZodEnum<["public", "private", "organization", "monetized", "inherit"]>>;
441
+ monetization: z.ZodDefault<z.ZodEnum<["none", "pay-to-unlock", "pay-per-use"]>>;
442
+ created_at: z.ZodDefault<z.ZodString>;
443
+ last_updated: z.ZodDefault<z.ZodString>;
444
+ }>, "strip", z.ZodTypeAny, {
445
+ id: string;
446
+ name: string | null;
447
+ visibility: "inherit" | "private" | "public" | "organization" | "monetized";
448
+ org_id: string;
449
+ asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
450
+ created_at: string;
451
+ last_updated: string;
452
+ team_id: string;
453
+ monetization: "none" | "pay-to-unlock" | "pay-per-use";
454
+ metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
455
+ description?: string | null | undefined;
456
+ user?: {
457
+ id?: string | undefined;
458
+ user_id?: string | undefined;
459
+ avatar_path?: string | null | undefined;
460
+ urls?: {
461
+ value: string;
462
+ }[] | undefined;
463
+ username?: string | null | undefined;
464
+ bio?: string | null | undefined;
465
+ last_active?: string | undefined;
466
+ } | undefined;
467
+ organization?: {
468
+ id?: string | undefined;
469
+ name?: string | undefined;
470
+ size?: string | undefined;
471
+ email?: string | null | undefined;
472
+ owner_id?: string | undefined;
473
+ avatar_path?: string | null | undefined;
474
+ mission?: string | null | undefined;
475
+ domain?: string | null | undefined;
476
+ urls?: {
477
+ value: string;
478
+ }[] | null | undefined;
479
+ base_role?: "none" | "admin" | "read" | "write" | undefined;
480
+ } | undefined;
481
+ team?: {
482
+ id?: string | undefined;
483
+ name?: string | undefined;
484
+ visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
485
+ description?: string | null | undefined;
486
+ org_id?: string | undefined;
487
+ created_at?: string | undefined;
488
+ default_role?: "none" | "admin" | "read" | "write" | undefined;
489
+ } | undefined;
490
+ parent_id?: string | null | undefined;
491
+ name_url_slug?: string | null | undefined;
492
+ slug?: string | null | undefined;
493
+ price?: number | null | undefined;
494
+ unit_cost?: number | null | undefined;
495
+ cost_accounting?: "fixed" | "variable" | null | undefined;
496
+ cost_unit?: string | null | undefined;
497
+ product_id?: string | null | undefined;
498
+ price_id?: string | null | undefined;
499
+ preview?: {
500
+ type: string;
501
+ content: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">[];
502
+ } | null | undefined;
503
+ }, {
504
+ id?: string | undefined;
505
+ name?: string | undefined;
506
+ visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
507
+ metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
508
+ description?: string | null | undefined;
509
+ user?: {
510
+ id?: string | undefined;
511
+ user_id?: string | undefined;
512
+ avatar_path?: string | null | undefined;
513
+ urls?: {
514
+ value: string;
515
+ }[] | undefined;
516
+ username?: string | null | undefined;
517
+ bio?: string | null | undefined;
518
+ last_active?: string | undefined;
519
+ } | undefined;
520
+ organization?: {
521
+ id?: string | undefined;
522
+ name?: string | undefined;
523
+ size?: string | undefined;
524
+ email?: string | null | undefined;
525
+ owner_id?: string | undefined;
526
+ avatar_path?: string | null | undefined;
527
+ mission?: string | null | undefined;
528
+ domain?: string | null | undefined;
529
+ urls?: {
530
+ value: string;
531
+ }[] | null | undefined;
532
+ base_role?: "none" | "admin" | "read" | "write" | undefined;
533
+ } | undefined;
534
+ team?: {
535
+ id?: string | undefined;
536
+ name?: string | undefined;
537
+ visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
538
+ description?: string | null | undefined;
539
+ org_id?: string | undefined;
540
+ created_at?: string | undefined;
541
+ default_role?: "none" | "admin" | "read" | "write" | undefined;
542
+ } | undefined;
543
+ org_id?: string | undefined;
544
+ asset_type?: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
545
+ created_at?: string | undefined;
546
+ last_updated?: string | undefined;
547
+ team_id?: string | undefined;
548
+ parent_id?: string | null | undefined;
549
+ name_url_slug?: string | null | undefined;
550
+ slug?: string | null | undefined;
551
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
552
+ price?: number | null | undefined;
553
+ unit_cost?: number | null | undefined;
554
+ cost_accounting?: "fixed" | "variable" | null | undefined;
555
+ cost_unit?: string | null | undefined;
556
+ product_id?: string | null | undefined;
557
+ price_id?: string | null | undefined;
558
+ preview?: {
559
+ type: string;
560
+ content: z.objectInputType<{}, z.ZodTypeAny, "passthrough">[];
561
+ } | null | undefined;
562
+ }>;
563
+ declare const ReadPostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
564
+ id: z.ZodString;
565
+ user_id: z.ZodString;
566
+ user: z.ZodOptional<z.ZodObject<{
567
+ id: z.ZodOptional<z.ZodString>;
568
+ user_id: z.ZodOptional<z.ZodString>;
569
+ username: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
570
+ avatar_path: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
571
+ bio: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
572
+ urls: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
573
+ value: z.ZodString;
574
+ }, "strip", z.ZodTypeAny, {
575
+ value: string;
576
+ }, {
577
+ value: string;
578
+ }>, "many">>>;
579
+ last_active: z.ZodOptional<z.ZodString>;
580
+ }, "strip", z.ZodTypeAny, {
581
+ id?: string | undefined;
582
+ user_id?: string | undefined;
583
+ avatar_path?: string | null | undefined;
584
+ urls?: {
585
+ value: string;
586
+ }[] | undefined;
587
+ username?: string | null | undefined;
588
+ bio?: string | null | undefined;
589
+ last_active?: string | undefined;
590
+ }, {
591
+ id?: string | undefined;
592
+ user_id?: string | undefined;
593
+ avatar_path?: string | null | undefined;
594
+ urls?: {
595
+ value: string;
596
+ }[] | undefined;
597
+ username?: string | null | undefined;
598
+ bio?: string | null | undefined;
599
+ last_active?: string | undefined;
600
+ }>>;
601
+ org_id: z.ZodString;
602
+ organization: z.ZodOptional<z.ZodObject<{
603
+ id: z.ZodOptional<z.ZodString>;
604
+ owner_id: z.ZodOptional<z.ZodString>;
605
+ name: z.ZodOptional<z.ZodString>;
606
+ avatar_path: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
607
+ mission: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
608
+ size: z.ZodOptional<z.ZodString>;
609
+ email: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
610
+ domain: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
611
+ urls: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
612
+ value: z.ZodString;
613
+ }, "strip", z.ZodTypeAny, {
614
+ value: string;
615
+ }, {
616
+ value: string;
617
+ }>, "many">>>>;
618
+ base_role: z.ZodOptional<z.ZodDefault<z.ZodEnum<["admin", "read", "write", "none"]>>>;
619
+ }, "strip", z.ZodTypeAny, {
620
+ id?: string | undefined;
621
+ name?: string | undefined;
622
+ size?: string | undefined;
623
+ email?: string | null | undefined;
624
+ owner_id?: string | undefined;
625
+ avatar_path?: string | null | undefined;
626
+ mission?: string | null | undefined;
627
+ domain?: string | null | undefined;
628
+ urls?: {
629
+ value: string;
630
+ }[] | null | undefined;
631
+ base_role?: "none" | "admin" | "read" | "write" | undefined;
632
+ }, {
633
+ id?: string | undefined;
634
+ name?: string | undefined;
635
+ size?: string | undefined;
636
+ email?: string | null | undefined;
637
+ owner_id?: string | undefined;
638
+ avatar_path?: string | null | undefined;
639
+ mission?: string | null | undefined;
640
+ domain?: string | null | undefined;
641
+ urls?: {
642
+ value: string;
643
+ }[] | null | undefined;
644
+ base_role?: "none" | "admin" | "read" | "write" | undefined;
645
+ }>>;
646
+ team_id: z.ZodString;
647
+ team: z.ZodOptional<z.ZodObject<{
648
+ id: z.ZodOptional<z.ZodString>;
649
+ org_id: z.ZodOptional<z.ZodString>;
650
+ name: z.ZodOptional<z.ZodString>;
651
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
652
+ default_role: z.ZodOptional<z.ZodEnum<["admin", "read", "write", "none"]>>;
653
+ visibility: z.ZodOptional<z.ZodEnum<["public", "private", "organization", "monetized", "inherit"]>>;
654
+ created_at: z.ZodOptional<z.ZodString>;
655
+ }, "strip", z.ZodTypeAny, {
656
+ id?: string | undefined;
657
+ name?: string | undefined;
658
+ visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
659
+ description?: string | null | undefined;
660
+ org_id?: string | undefined;
661
+ created_at?: string | undefined;
662
+ default_role?: "none" | "admin" | "read" | "write" | undefined;
663
+ }, {
664
+ id?: string | undefined;
665
+ name?: string | undefined;
666
+ visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
667
+ description?: string | null | undefined;
668
+ org_id?: string | undefined;
669
+ created_at?: string | undefined;
670
+ default_role?: "none" | "admin" | "read" | "write" | undefined;
671
+ }>>;
672
+ parent_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
673
+ asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
674
+ name: z.ZodString;
675
+ name_url_slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
676
+ slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
677
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
678
+ visibility: z.ZodEnum<["public", "private", "organization", "monetized", "inherit"]>;
679
+ monetization: z.ZodEnum<["none", "pay-to-unlock", "pay-per-use"]>;
680
+ price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
681
+ unit_cost: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
682
+ cost_accounting: z.ZodNullable<z.ZodOptional<z.ZodEnum<["fixed", "variable"]>>>;
683
+ cost_unit: z.ZodNullable<z.ZodOptional<z.ZodString>>;
684
+ product_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
685
+ price_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
686
+ metadata: z.ZodNullable<z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>>;
687
+ preview: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>>;
688
+ created_at: z.ZodString;
689
+ last_updated: z.ZodString;
690
+ }, {
691
+ name: z.ZodNullable<z.ZodString>;
692
+ 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">;
693
+ preview: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodObject<{
694
+ type: z.ZodEffects<z.ZodString, string, string>;
695
+ content: z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">;
696
+ }, "strip", z.ZodTypeAny, {
697
+ type: string;
698
+ content: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">[];
699
+ }, {
700
+ type: string;
701
+ content: z.objectInputType<{}, z.ZodTypeAny, "passthrough">[];
702
+ }>>>>;
703
+ }>, {
704
+ content: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodObject<{
705
+ json: z.ZodObject<{
706
+ type: z.ZodEffects<z.ZodString, string, string>;
707
+ content: z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">;
708
+ }, "strip", z.ZodTypeAny, {
709
+ type: string;
710
+ content: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">[];
711
+ }, {
712
+ type: string;
713
+ content: z.objectInputType<{}, z.ZodTypeAny, "passthrough">[];
714
+ }>;
715
+ text: z.ZodString;
716
+ }, "strip", z.ZodTypeAny, {
717
+ text: string;
718
+ json: {
719
+ type: string;
720
+ content: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">[];
721
+ };
722
+ }, {
723
+ text: string;
724
+ json: {
725
+ type: string;
726
+ content: z.objectInputType<{}, z.ZodTypeAny, "passthrough">[];
727
+ };
728
+ }>>>>;
729
+ reactions: z.ZodDefault<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
730
+ views: z.ZodDefault<z.ZodNumber>;
731
+ commentCount: z.ZodDefault<z.ZodNumber>;
732
+ parent: z.ZodNullable<z.ZodOptional<z.ZodObject<{
733
+ id: z.ZodString;
734
+ user_id: z.ZodString;
735
+ type: z.ZodEnum<["comment", "reference", "mention", "action"]>;
736
+ action_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
737
+ source_id: z.ZodString;
738
+ target_id: z.ZodString;
739
+ source_asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
740
+ target_asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
741
+ created_at: z.ZodString;
742
+ last_updated: z.ZodString;
743
+ }, "strip", z.ZodTypeAny, {
744
+ type: "action" | "comment" | "reference" | "mention";
745
+ id: string;
746
+ user_id: string;
747
+ created_at: string;
748
+ last_updated: string;
749
+ source_id: string;
750
+ target_id: string;
751
+ source_asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
752
+ target_asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
753
+ action_id?: string | null | undefined;
754
+ }, {
755
+ type: "action" | "comment" | "reference" | "mention";
756
+ id: string;
757
+ user_id: string;
758
+ created_at: string;
759
+ last_updated: string;
760
+ source_id: string;
761
+ target_id: string;
762
+ source_asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
763
+ target_asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
764
+ action_id?: string | null | undefined;
765
+ }>>>;
766
+ pinned: z.ZodDefault<z.ZodBoolean>;
767
+ }>, "strip", z.ZodTypeAny, {
768
+ id: string;
769
+ name: string | null;
770
+ content: {
771
+ text: string;
772
+ json: {
773
+ type: string;
774
+ content: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">[];
775
+ };
776
+ } | null;
777
+ visibility: "inherit" | "private" | "public" | "organization" | "monetized";
778
+ user_id: string;
779
+ org_id: string;
780
+ asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
781
+ created_at: string;
782
+ last_updated: string;
783
+ team_id: string;
784
+ monetization: "none" | "pay-to-unlock" | "pay-per-use";
785
+ preview: {
786
+ type: string;
787
+ content: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">[];
788
+ } | null;
789
+ reactions: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">[];
790
+ views: number;
791
+ commentCount: number;
792
+ pinned: boolean;
793
+ metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
794
+ description?: string | null | undefined;
795
+ parent?: {
796
+ type: "action" | "comment" | "reference" | "mention";
797
+ id: string;
798
+ user_id: string;
799
+ created_at: string;
800
+ last_updated: string;
801
+ source_id: string;
802
+ target_id: string;
803
+ source_asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
804
+ target_asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
805
+ action_id?: string | null | undefined;
806
+ } | null | undefined;
807
+ user?: {
808
+ id?: string | undefined;
809
+ user_id?: string | undefined;
810
+ avatar_path?: string | null | undefined;
811
+ urls?: {
812
+ value: string;
813
+ }[] | undefined;
814
+ username?: string | null | undefined;
815
+ bio?: string | null | undefined;
816
+ last_active?: string | undefined;
817
+ } | undefined;
818
+ organization?: {
819
+ id?: string | undefined;
820
+ name?: string | undefined;
821
+ size?: string | undefined;
822
+ email?: string | null | undefined;
823
+ owner_id?: string | undefined;
824
+ avatar_path?: string | null | undefined;
825
+ mission?: string | null | undefined;
826
+ domain?: string | null | undefined;
827
+ urls?: {
828
+ value: string;
829
+ }[] | null | undefined;
830
+ base_role?: "none" | "admin" | "read" | "write" | undefined;
831
+ } | undefined;
832
+ team?: {
833
+ id?: string | undefined;
834
+ name?: string | undefined;
835
+ visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
836
+ description?: string | null | undefined;
837
+ org_id?: string | undefined;
838
+ created_at?: string | undefined;
839
+ default_role?: "none" | "admin" | "read" | "write" | undefined;
840
+ } | undefined;
841
+ parent_id?: string | null | undefined;
842
+ name_url_slug?: string | null | undefined;
843
+ slug?: string | null | undefined;
844
+ price?: number | null | undefined;
845
+ unit_cost?: number | null | undefined;
846
+ cost_accounting?: "fixed" | "variable" | null | undefined;
847
+ cost_unit?: string | null | undefined;
848
+ product_id?: string | null | undefined;
849
+ price_id?: string | null | undefined;
850
+ }, {
851
+ id: string;
852
+ name: string | null;
853
+ visibility: "inherit" | "private" | "public" | "organization" | "monetized";
854
+ user_id: string;
855
+ org_id: string;
856
+ asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
857
+ created_at: string;
858
+ last_updated: string;
859
+ team_id: string;
860
+ monetization: "none" | "pay-to-unlock" | "pay-per-use";
861
+ content?: {
862
+ text: string;
863
+ json: {
864
+ type: string;
865
+ content: z.objectInputType<{}, z.ZodTypeAny, "passthrough">[];
866
+ };
867
+ } | null | undefined;
868
+ metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
869
+ description?: string | null | undefined;
870
+ parent?: {
871
+ type: "action" | "comment" | "reference" | "mention";
872
+ id: string;
873
+ user_id: string;
874
+ created_at: string;
875
+ last_updated: string;
876
+ source_id: string;
877
+ target_id: string;
878
+ source_asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
879
+ target_asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
880
+ action_id?: string | null | undefined;
881
+ } | null | undefined;
882
+ user?: {
883
+ id?: string | undefined;
884
+ user_id?: string | undefined;
885
+ avatar_path?: string | null | undefined;
886
+ urls?: {
887
+ value: string;
888
+ }[] | undefined;
889
+ username?: string | null | undefined;
890
+ bio?: string | null | undefined;
891
+ last_active?: string | undefined;
892
+ } | undefined;
893
+ organization?: {
894
+ id?: string | undefined;
895
+ name?: string | undefined;
896
+ size?: string | undefined;
897
+ email?: string | null | undefined;
898
+ owner_id?: string | undefined;
899
+ avatar_path?: string | null | undefined;
900
+ mission?: string | null | undefined;
901
+ domain?: string | null | undefined;
902
+ urls?: {
903
+ value: string;
904
+ }[] | null | undefined;
905
+ base_role?: "none" | "admin" | "read" | "write" | undefined;
906
+ } | undefined;
907
+ team?: {
908
+ id?: string | undefined;
909
+ name?: string | undefined;
910
+ visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
911
+ description?: string | null | undefined;
912
+ org_id?: string | undefined;
913
+ created_at?: string | undefined;
914
+ default_role?: "none" | "admin" | "read" | "write" | undefined;
915
+ } | undefined;
916
+ parent_id?: string | null | undefined;
917
+ name_url_slug?: string | null | undefined;
918
+ slug?: string | null | undefined;
919
+ price?: number | null | undefined;
920
+ unit_cost?: number | null | undefined;
921
+ cost_accounting?: "fixed" | "variable" | null | undefined;
922
+ cost_unit?: string | null | undefined;
923
+ product_id?: string | null | undefined;
924
+ price_id?: string | null | undefined;
925
+ preview?: {
926
+ type: string;
927
+ content: z.objectInputType<{}, z.ZodTypeAny, "passthrough">[];
928
+ } | null | undefined;
929
+ reactions?: z.objectInputType<{}, z.ZodTypeAny, "passthrough">[] | undefined;
930
+ views?: number | undefined;
931
+ commentCount?: number | undefined;
932
+ pinned?: boolean | undefined;
933
+ }>;
934
+ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
935
+ id: z.ZodString;
936
+ user_id: z.ZodString;
937
+ user: z.ZodOptional<z.ZodObject<{
938
+ id: z.ZodOptional<z.ZodString>;
939
+ user_id: z.ZodOptional<z.ZodString>;
940
+ username: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
941
+ avatar_path: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
942
+ bio: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
943
+ urls: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
944
+ value: z.ZodString;
945
+ }, "strip", z.ZodTypeAny, {
946
+ value: string;
947
+ }, {
948
+ value: string;
949
+ }>, "many">>>;
950
+ last_active: z.ZodOptional<z.ZodString>;
951
+ }, "strip", z.ZodTypeAny, {
952
+ id?: string | undefined;
953
+ user_id?: string | undefined;
954
+ avatar_path?: string | null | undefined;
955
+ urls?: {
956
+ value: string;
957
+ }[] | undefined;
958
+ username?: string | null | undefined;
959
+ bio?: string | null | undefined;
960
+ last_active?: string | undefined;
961
+ }, {
962
+ id?: string | undefined;
963
+ user_id?: string | undefined;
964
+ avatar_path?: string | null | undefined;
965
+ urls?: {
966
+ value: string;
967
+ }[] | undefined;
968
+ username?: string | null | undefined;
969
+ bio?: string | null | undefined;
970
+ last_active?: string | undefined;
971
+ }>>;
972
+ org_id: z.ZodString;
973
+ organization: z.ZodOptional<z.ZodObject<{
974
+ id: z.ZodOptional<z.ZodString>;
975
+ owner_id: z.ZodOptional<z.ZodString>;
976
+ name: z.ZodOptional<z.ZodString>;
977
+ avatar_path: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
978
+ mission: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
979
+ size: z.ZodOptional<z.ZodString>;
980
+ email: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
981
+ domain: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
982
+ urls: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
983
+ value: z.ZodString;
984
+ }, "strip", z.ZodTypeAny, {
985
+ value: string;
986
+ }, {
987
+ value: string;
988
+ }>, "many">>>>;
989
+ base_role: z.ZodOptional<z.ZodDefault<z.ZodEnum<["admin", "read", "write", "none"]>>>;
990
+ }, "strip", z.ZodTypeAny, {
991
+ id?: string | undefined;
992
+ name?: string | undefined;
993
+ size?: string | undefined;
994
+ email?: string | null | undefined;
995
+ owner_id?: string | undefined;
996
+ avatar_path?: string | null | undefined;
997
+ mission?: string | null | undefined;
998
+ domain?: string | null | undefined;
999
+ urls?: {
1000
+ value: string;
1001
+ }[] | null | undefined;
1002
+ base_role?: "none" | "admin" | "read" | "write" | undefined;
1003
+ }, {
1004
+ id?: string | undefined;
1005
+ name?: string | undefined;
1006
+ size?: string | undefined;
1007
+ email?: string | null | undefined;
1008
+ owner_id?: string | undefined;
1009
+ avatar_path?: string | null | undefined;
1010
+ mission?: string | null | undefined;
1011
+ domain?: string | null | undefined;
1012
+ urls?: {
1013
+ value: string;
1014
+ }[] | null | undefined;
1015
+ base_role?: "none" | "admin" | "read" | "write" | undefined;
1016
+ }>>;
1017
+ team_id: z.ZodString;
1018
+ team: z.ZodOptional<z.ZodObject<{
1019
+ id: z.ZodOptional<z.ZodString>;
1020
+ org_id: z.ZodOptional<z.ZodString>;
1021
+ name: z.ZodOptional<z.ZodString>;
1022
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1023
+ default_role: z.ZodOptional<z.ZodEnum<["admin", "read", "write", "none"]>>;
1024
+ visibility: z.ZodOptional<z.ZodEnum<["public", "private", "organization", "monetized", "inherit"]>>;
1025
+ created_at: z.ZodOptional<z.ZodString>;
1026
+ }, "strip", z.ZodTypeAny, {
1027
+ id?: string | undefined;
1028
+ name?: string | undefined;
1029
+ visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
1030
+ description?: string | null | undefined;
1031
+ org_id?: string | undefined;
1032
+ created_at?: string | undefined;
1033
+ default_role?: "none" | "admin" | "read" | "write" | undefined;
1034
+ }, {
1035
+ id?: string | undefined;
1036
+ name?: string | undefined;
1037
+ visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
1038
+ description?: string | null | undefined;
1039
+ org_id?: string | undefined;
1040
+ created_at?: string | undefined;
1041
+ default_role?: "none" | "admin" | "read" | "write" | undefined;
1042
+ }>>;
1043
+ parent_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1044
+ asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
1045
+ name: z.ZodString;
1046
+ name_url_slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1047
+ slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1048
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1049
+ visibility: z.ZodEnum<["public", "private", "organization", "monetized", "inherit"]>;
1050
+ monetization: z.ZodEnum<["none", "pay-to-unlock", "pay-per-use"]>;
1051
+ price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1052
+ unit_cost: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1053
+ cost_accounting: z.ZodNullable<z.ZodOptional<z.ZodEnum<["fixed", "variable"]>>>;
1054
+ cost_unit: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1055
+ product_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1056
+ price_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1057
+ metadata: z.ZodNullable<z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>>;
1058
+ preview: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>>;
1059
+ created_at: z.ZodString;
1060
+ last_updated: z.ZodString;
1061
+ }, {
1062
+ name: z.ZodNullable<z.ZodString>;
1063
+ 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">;
1064
+ preview: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodObject<{
1065
+ type: z.ZodEffects<z.ZodString, string, string>;
1066
+ content: z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">;
1067
+ }, "strip", z.ZodTypeAny, {
1068
+ type: string;
1069
+ content: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">[];
1070
+ }, {
1071
+ type: string;
1072
+ content: z.objectInputType<{}, z.ZodTypeAny, "passthrough">[];
1073
+ }>>>>;
1074
+ }>, {
1075
+ content: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodObject<{
1076
+ json: z.ZodObject<{
1077
+ type: z.ZodEffects<z.ZodString, string, string>;
1078
+ content: z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">;
1079
+ }, "strip", z.ZodTypeAny, {
1080
+ type: string;
1081
+ content: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">[];
1082
+ }, {
1083
+ type: string;
1084
+ content: z.objectInputType<{}, z.ZodTypeAny, "passthrough">[];
1085
+ }>;
1086
+ text: z.ZodString;
1087
+ }, "strip", z.ZodTypeAny, {
1088
+ text: string;
1089
+ json: {
1090
+ type: string;
1091
+ content: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">[];
1092
+ };
1093
+ }, {
1094
+ text: string;
1095
+ json: {
1096
+ type: string;
1097
+ content: z.objectInputType<{}, z.ZodTypeAny, "passthrough">[];
1098
+ };
1099
+ }>>>>;
1100
+ reactions: z.ZodDefault<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
1101
+ views: z.ZodDefault<z.ZodNumber>;
1102
+ commentCount: z.ZodDefault<z.ZodNumber>;
1103
+ parent: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1104
+ id: z.ZodString;
1105
+ user_id: z.ZodString;
1106
+ type: z.ZodEnum<["comment", "reference", "mention", "action"]>;
1107
+ action_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1108
+ source_id: z.ZodString;
1109
+ target_id: z.ZodString;
1110
+ source_asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
1111
+ target_asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
1112
+ created_at: z.ZodString;
1113
+ last_updated: z.ZodString;
1114
+ }, "strip", z.ZodTypeAny, {
1115
+ type: "action" | "comment" | "reference" | "mention";
1116
+ id: string;
1117
+ user_id: string;
1118
+ created_at: string;
1119
+ last_updated: string;
1120
+ source_id: string;
1121
+ target_id: string;
1122
+ source_asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1123
+ target_asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1124
+ action_id?: string | null | undefined;
1125
+ }, {
1126
+ type: "action" | "comment" | "reference" | "mention";
1127
+ id: string;
1128
+ user_id: string;
1129
+ created_at: string;
1130
+ last_updated: string;
1131
+ source_id: string;
1132
+ target_id: string;
1133
+ source_asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1134
+ target_asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1135
+ action_id?: string | null | undefined;
1136
+ }>>>;
1137
+ pinned: z.ZodDefault<z.ZodBoolean>;
1138
+ }>, "strip", z.ZodTypeAny, {
1139
+ id: string;
1140
+ name: string | null;
1141
+ content: {
1142
+ text: string;
1143
+ json: {
1144
+ type: string;
1145
+ content: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">[];
1146
+ };
1147
+ } | null;
1148
+ visibility: "inherit" | "private" | "public" | "organization" | "monetized";
1149
+ user_id: string;
1150
+ org_id: string;
1151
+ asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1152
+ created_at: string;
1153
+ last_updated: string;
1154
+ team_id: string;
1155
+ monetization: "none" | "pay-to-unlock" | "pay-per-use";
1156
+ preview: {
1157
+ type: string;
1158
+ content: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">[];
1159
+ } | null;
1160
+ reactions: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">[];
1161
+ views: number;
1162
+ commentCount: number;
1163
+ pinned: boolean;
1164
+ metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
1165
+ description?: string | null | undefined;
1166
+ parent?: {
1167
+ type: "action" | "comment" | "reference" | "mention";
1168
+ id: string;
1169
+ user_id: string;
1170
+ created_at: string;
1171
+ last_updated: string;
1172
+ source_id: string;
1173
+ target_id: string;
1174
+ source_asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1175
+ target_asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1176
+ action_id?: string | null | undefined;
1177
+ } | null | undefined;
1178
+ user?: {
1179
+ id?: string | undefined;
1180
+ user_id?: string | undefined;
1181
+ avatar_path?: string | null | undefined;
1182
+ urls?: {
1183
+ value: string;
1184
+ }[] | undefined;
1185
+ username?: string | null | undefined;
1186
+ bio?: string | null | undefined;
1187
+ last_active?: string | undefined;
1188
+ } | undefined;
1189
+ organization?: {
1190
+ id?: string | undefined;
1191
+ name?: string | undefined;
1192
+ size?: string | undefined;
1193
+ email?: string | null | undefined;
1194
+ owner_id?: string | undefined;
1195
+ avatar_path?: string | null | undefined;
1196
+ mission?: string | null | undefined;
1197
+ domain?: string | null | undefined;
1198
+ urls?: {
1199
+ value: string;
1200
+ }[] | null | undefined;
1201
+ base_role?: "none" | "admin" | "read" | "write" | undefined;
1202
+ } | undefined;
1203
+ team?: {
1204
+ id?: string | undefined;
1205
+ name?: string | undefined;
1206
+ visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
1207
+ description?: string | null | undefined;
1208
+ org_id?: string | undefined;
1209
+ created_at?: string | undefined;
1210
+ default_role?: "none" | "admin" | "read" | "write" | undefined;
1211
+ } | undefined;
1212
+ parent_id?: string | null | undefined;
1213
+ name_url_slug?: string | null | undefined;
1214
+ slug?: string | null | undefined;
1215
+ price?: number | null | undefined;
1216
+ unit_cost?: number | null | undefined;
1217
+ cost_accounting?: "fixed" | "variable" | null | undefined;
1218
+ cost_unit?: string | null | undefined;
1219
+ product_id?: string | null | undefined;
1220
+ price_id?: string | null | undefined;
1221
+ }, {
1222
+ id: string;
1223
+ name: string | null;
1224
+ visibility: "inherit" | "private" | "public" | "organization" | "monetized";
1225
+ user_id: string;
1226
+ org_id: string;
1227
+ asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1228
+ created_at: string;
1229
+ last_updated: string;
1230
+ team_id: string;
1231
+ monetization: "none" | "pay-to-unlock" | "pay-per-use";
1232
+ content?: {
1233
+ text: string;
1234
+ json: {
1235
+ type: string;
1236
+ content: z.objectInputType<{}, z.ZodTypeAny, "passthrough">[];
1237
+ };
1238
+ } | null | undefined;
1239
+ metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
1240
+ description?: string | null | undefined;
1241
+ parent?: {
1242
+ type: "action" | "comment" | "reference" | "mention";
1243
+ id: string;
1244
+ user_id: string;
1245
+ created_at: string;
1246
+ last_updated: string;
1247
+ source_id: string;
1248
+ target_id: string;
1249
+ source_asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1250
+ target_asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1251
+ action_id?: string | null | undefined;
1252
+ } | null | undefined;
1253
+ user?: {
1254
+ id?: string | undefined;
1255
+ user_id?: string | undefined;
1256
+ avatar_path?: string | null | undefined;
1257
+ urls?: {
1258
+ value: string;
1259
+ }[] | undefined;
1260
+ username?: string | null | undefined;
1261
+ bio?: string | null | undefined;
1262
+ last_active?: string | undefined;
1263
+ } | undefined;
1264
+ organization?: {
1265
+ id?: string | undefined;
1266
+ name?: string | undefined;
1267
+ size?: string | undefined;
1268
+ email?: string | null | undefined;
1269
+ owner_id?: string | undefined;
1270
+ avatar_path?: string | null | undefined;
1271
+ mission?: string | null | undefined;
1272
+ domain?: string | null | undefined;
1273
+ urls?: {
1274
+ value: string;
1275
+ }[] | null | undefined;
1276
+ base_role?: "none" | "admin" | "read" | "write" | undefined;
1277
+ } | undefined;
1278
+ team?: {
1279
+ id?: string | undefined;
1280
+ name?: string | undefined;
1281
+ visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
1282
+ description?: string | null | undefined;
1283
+ org_id?: string | undefined;
1284
+ created_at?: string | undefined;
1285
+ default_role?: "none" | "admin" | "read" | "write" | undefined;
1286
+ } | undefined;
1287
+ parent_id?: string | null | undefined;
1288
+ name_url_slug?: string | null | undefined;
1289
+ slug?: string | null | undefined;
1290
+ price?: number | null | undefined;
1291
+ unit_cost?: number | null | undefined;
1292
+ cost_accounting?: "fixed" | "variable" | null | undefined;
1293
+ cost_unit?: string | null | undefined;
1294
+ product_id?: string | null | undefined;
1295
+ price_id?: string | null | undefined;
1296
+ preview?: {
1297
+ type: string;
1298
+ content: z.objectInputType<{}, z.ZodTypeAny, "passthrough">[];
1299
+ } | null | undefined;
1300
+ reactions?: z.objectInputType<{}, z.ZodTypeAny, "passthrough">[] | undefined;
1301
+ views?: number | undefined;
1302
+ commentCount?: number | undefined;
1303
+ pinned?: boolean | undefined;
1304
+ }>, "many">;
1305
+ declare const ListPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1306
+ id: z.ZodString;
1307
+ user_id: z.ZodString;
1308
+ user: z.ZodOptional<z.ZodObject<{
1309
+ id: z.ZodOptional<z.ZodString>;
1310
+ user_id: z.ZodOptional<z.ZodString>;
1311
+ username: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
1312
+ avatar_path: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
1313
+ bio: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
1314
+ urls: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
1315
+ value: z.ZodString;
1316
+ }, "strip", z.ZodTypeAny, {
1317
+ value: string;
1318
+ }, {
1319
+ value: string;
1320
+ }>, "many">>>;
1321
+ last_active: z.ZodOptional<z.ZodString>;
1322
+ }, "strip", z.ZodTypeAny, {
1323
+ id?: string | undefined;
1324
+ user_id?: string | undefined;
1325
+ avatar_path?: string | null | undefined;
1326
+ urls?: {
1327
+ value: string;
1328
+ }[] | undefined;
1329
+ username?: string | null | undefined;
1330
+ bio?: string | null | undefined;
1331
+ last_active?: string | undefined;
1332
+ }, {
1333
+ id?: string | undefined;
1334
+ user_id?: string | undefined;
1335
+ avatar_path?: string | null | undefined;
1336
+ urls?: {
1337
+ value: string;
1338
+ }[] | undefined;
1339
+ username?: string | null | undefined;
1340
+ bio?: string | null | undefined;
1341
+ last_active?: string | undefined;
1342
+ }>>;
1343
+ org_id: z.ZodString;
1344
+ organization: z.ZodOptional<z.ZodObject<{
1345
+ id: z.ZodOptional<z.ZodString>;
1346
+ owner_id: z.ZodOptional<z.ZodString>;
1347
+ name: z.ZodOptional<z.ZodString>;
1348
+ avatar_path: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1349
+ mission: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1350
+ size: z.ZodOptional<z.ZodString>;
1351
+ email: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1352
+ domain: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1353
+ urls: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
1354
+ value: z.ZodString;
1355
+ }, "strip", z.ZodTypeAny, {
1356
+ value: string;
1357
+ }, {
1358
+ value: string;
1359
+ }>, "many">>>>;
1360
+ base_role: z.ZodOptional<z.ZodDefault<z.ZodEnum<["admin", "read", "write", "none"]>>>;
1361
+ }, "strip", z.ZodTypeAny, {
1362
+ id?: string | undefined;
1363
+ name?: string | undefined;
1364
+ size?: string | undefined;
1365
+ email?: string | null | undefined;
1366
+ owner_id?: string | undefined;
1367
+ avatar_path?: string | null | undefined;
1368
+ mission?: string | null | undefined;
1369
+ domain?: string | null | undefined;
1370
+ urls?: {
1371
+ value: string;
1372
+ }[] | null | undefined;
1373
+ base_role?: "none" | "admin" | "read" | "write" | undefined;
1374
+ }, {
1375
+ id?: string | undefined;
1376
+ name?: string | undefined;
1377
+ size?: string | undefined;
1378
+ email?: string | null | undefined;
1379
+ owner_id?: string | undefined;
1380
+ avatar_path?: string | null | undefined;
1381
+ mission?: string | null | undefined;
1382
+ domain?: string | null | undefined;
1383
+ urls?: {
1384
+ value: string;
1385
+ }[] | null | undefined;
1386
+ base_role?: "none" | "admin" | "read" | "write" | undefined;
1387
+ }>>;
1388
+ team_id: z.ZodString;
1389
+ team: z.ZodOptional<z.ZodObject<{
1390
+ id: z.ZodOptional<z.ZodString>;
1391
+ org_id: z.ZodOptional<z.ZodString>;
1392
+ name: z.ZodOptional<z.ZodString>;
1393
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1394
+ default_role: z.ZodOptional<z.ZodEnum<["admin", "read", "write", "none"]>>;
1395
+ visibility: z.ZodOptional<z.ZodEnum<["public", "private", "organization", "monetized", "inherit"]>>;
1396
+ created_at: z.ZodOptional<z.ZodString>;
1397
+ }, "strip", z.ZodTypeAny, {
1398
+ id?: string | undefined;
1399
+ name?: string | undefined;
1400
+ visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
1401
+ description?: string | null | undefined;
1402
+ org_id?: string | undefined;
1403
+ created_at?: string | undefined;
1404
+ default_role?: "none" | "admin" | "read" | "write" | undefined;
1405
+ }, {
1406
+ id?: string | undefined;
1407
+ name?: string | undefined;
1408
+ visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
1409
+ description?: string | null | undefined;
1410
+ org_id?: string | undefined;
1411
+ created_at?: string | undefined;
1412
+ default_role?: "none" | "admin" | "read" | "write" | undefined;
1413
+ }>>;
1414
+ parent_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1415
+ asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
1416
+ name: z.ZodString;
1417
+ name_url_slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1418
+ slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1419
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1420
+ visibility: z.ZodEnum<["public", "private", "organization", "monetized", "inherit"]>;
1421
+ monetization: z.ZodEnum<["none", "pay-to-unlock", "pay-per-use"]>;
1422
+ price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1423
+ unit_cost: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1424
+ cost_accounting: z.ZodNullable<z.ZodOptional<z.ZodEnum<["fixed", "variable"]>>>;
1425
+ cost_unit: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1426
+ product_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1427
+ price_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1428
+ metadata: z.ZodNullable<z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>>;
1429
+ preview: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>>;
1430
+ created_at: z.ZodString;
1431
+ last_updated: z.ZodString;
1432
+ }, {
1433
+ name: z.ZodNullable<z.ZodString>;
1434
+ 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">;
1435
+ preview: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodObject<{
1436
+ type: z.ZodEffects<z.ZodString, string, string>;
1437
+ content: z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">;
1438
+ }, "strip", z.ZodTypeAny, {
1439
+ type: string;
1440
+ content: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">[];
1441
+ }, {
1442
+ type: string;
1443
+ content: z.objectInputType<{}, z.ZodTypeAny, "passthrough">[];
1444
+ }>>>>;
1445
+ }>, "strip", z.ZodTypeAny, {
1446
+ id: string;
1447
+ name: string | null;
1448
+ visibility: "inherit" | "private" | "public" | "organization" | "monetized";
1449
+ user_id: string;
1450
+ org_id: string;
1451
+ asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1452
+ created_at: string;
1453
+ last_updated: string;
1454
+ team_id: string;
1455
+ monetization: "none" | "pay-to-unlock" | "pay-per-use";
1456
+ preview: {
1457
+ type: string;
1458
+ content: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">[];
1459
+ } | null;
1460
+ metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
1461
+ description?: string | null | undefined;
1462
+ user?: {
1463
+ id?: string | undefined;
1464
+ user_id?: string | undefined;
1465
+ avatar_path?: string | null | undefined;
1466
+ urls?: {
1467
+ value: string;
1468
+ }[] | undefined;
1469
+ username?: string | null | undefined;
1470
+ bio?: string | null | undefined;
1471
+ last_active?: string | undefined;
1472
+ } | undefined;
1473
+ organization?: {
1474
+ id?: string | undefined;
1475
+ name?: string | undefined;
1476
+ size?: string | undefined;
1477
+ email?: string | null | undefined;
1478
+ owner_id?: string | undefined;
1479
+ avatar_path?: string | null | undefined;
1480
+ mission?: string | null | undefined;
1481
+ domain?: string | null | undefined;
1482
+ urls?: {
1483
+ value: string;
1484
+ }[] | null | undefined;
1485
+ base_role?: "none" | "admin" | "read" | "write" | undefined;
1486
+ } | undefined;
1487
+ team?: {
1488
+ id?: string | undefined;
1489
+ name?: string | undefined;
1490
+ visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
1491
+ description?: string | null | undefined;
1492
+ org_id?: string | undefined;
1493
+ created_at?: string | undefined;
1494
+ default_role?: "none" | "admin" | "read" | "write" | undefined;
1495
+ } | undefined;
1496
+ parent_id?: string | null | undefined;
1497
+ name_url_slug?: string | null | undefined;
1498
+ slug?: string | null | undefined;
1499
+ price?: number | null | undefined;
1500
+ unit_cost?: number | null | undefined;
1501
+ cost_accounting?: "fixed" | "variable" | null | undefined;
1502
+ cost_unit?: string | null | undefined;
1503
+ product_id?: string | null | undefined;
1504
+ price_id?: string | null | undefined;
1505
+ }, {
1506
+ id: string;
1507
+ name: string | null;
1508
+ visibility: "inherit" | "private" | "public" | "organization" | "monetized";
1509
+ user_id: string;
1510
+ org_id: string;
1511
+ asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1512
+ created_at: string;
1513
+ last_updated: string;
1514
+ team_id: string;
1515
+ monetization: "none" | "pay-to-unlock" | "pay-per-use";
1516
+ metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
1517
+ description?: string | null | undefined;
1518
+ user?: {
1519
+ id?: string | undefined;
1520
+ user_id?: string | undefined;
1521
+ avatar_path?: string | null | undefined;
1522
+ urls?: {
1523
+ value: string;
1524
+ }[] | undefined;
1525
+ username?: string | null | undefined;
1526
+ bio?: string | null | undefined;
1527
+ last_active?: string | undefined;
1528
+ } | undefined;
1529
+ organization?: {
1530
+ id?: string | undefined;
1531
+ name?: string | undefined;
1532
+ size?: string | undefined;
1533
+ email?: string | null | undefined;
1534
+ owner_id?: string | undefined;
1535
+ avatar_path?: string | null | undefined;
1536
+ mission?: string | null | undefined;
1537
+ domain?: string | null | undefined;
1538
+ urls?: {
1539
+ value: string;
1540
+ }[] | null | undefined;
1541
+ base_role?: "none" | "admin" | "read" | "write" | undefined;
1542
+ } | undefined;
1543
+ team?: {
1544
+ id?: string | undefined;
1545
+ name?: string | undefined;
1546
+ visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | undefined;
1547
+ description?: string | null | undefined;
1548
+ org_id?: string | undefined;
1549
+ created_at?: string | undefined;
1550
+ default_role?: "none" | "admin" | "read" | "write" | undefined;
1551
+ } | undefined;
1552
+ parent_id?: string | null | undefined;
1553
+ name_url_slug?: string | null | undefined;
1554
+ slug?: string | null | undefined;
1555
+ price?: number | null | undefined;
1556
+ unit_cost?: number | null | undefined;
1557
+ cost_accounting?: "fixed" | "variable" | null | undefined;
1558
+ cost_unit?: string | null | undefined;
1559
+ product_id?: string | null | undefined;
1560
+ price_id?: string | null | undefined;
1561
+ preview?: {
1562
+ type: string;
1563
+ content: z.objectInputType<{}, z.ZodTypeAny, "passthrough">[];
1564
+ } | null | undefined;
1565
+ }>, "many">;
1566
+ declare const updatePostSchema: z.ZodObject<{
1567
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1568
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1569
+ visibility: z.ZodOptional<z.ZodNullable<z.ZodEnum<["public", "private", "organization", "monetized", "inherit"]>>>;
1570
+ monetization: z.ZodOptional<z.ZodNullable<z.ZodEnum<["none", "pay-to-unlock", "pay-per-use"]>>>;
1571
+ price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1572
+ metadata: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1573
+ table_name: z.ZodString;
1574
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1575
+ table_name: z.ZodString;
1576
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1577
+ table_name: z.ZodString;
1578
+ }, z.ZodTypeAny, "passthrough">>>>;
1579
+ preview: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>>;
1580
+ last_updated: z.ZodDefault<z.ZodString>;
1581
+ }, "strip", z.ZodTypeAny, {
1582
+ last_updated: string;
1583
+ name?: string | null | undefined;
1584
+ visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | null | undefined;
1585
+ metadata?: z.objectOutputType<{
1586
+ table_name: z.ZodString;
1587
+ }, z.ZodTypeAny, "passthrough"> | null | undefined;
1588
+ description?: string | null | undefined;
1589
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | null | undefined;
1590
+ price?: number | null | undefined;
1591
+ preview?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">[] | null | undefined;
1592
+ }, {
1593
+ name?: string | null | undefined;
1594
+ visibility?: "inherit" | "private" | "public" | "organization" | "monetized" | null | undefined;
1595
+ metadata?: z.objectInputType<{
1596
+ table_name: z.ZodString;
1597
+ }, z.ZodTypeAny, "passthrough"> | null | undefined;
1598
+ description?: string | null | undefined;
1599
+ last_updated?: string | undefined;
1600
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | null | undefined;
1601
+ price?: number | null | undefined;
1602
+ preview?: z.objectInputType<{}, z.ZodTypeAny, "passthrough">[] | null | undefined;
1603
+ }>;
1604
+ type Post = z.infer<typeof PostSchema>;
1605
+ type CreatePost = z.infer<typeof CreatePostSchema>;
1606
+ type ListPosts = z.infer<typeof ListPostsSchema>;
1607
+ type ReadPost = z.infer<typeof ReadPostSchema>;
1608
+ type ReadPosts = z.infer<typeof ReadPostsSchema>;
1609
+ type UpdatePost = z.infer<typeof updatePostSchema>;
1610
+ type Content = z.infer<typeof ContentSchema>;
1611
+ type TipTap = z.infer<typeof TipTapSchema>;
1612
+ 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, };