@ourofoundation/ouro-js 1.1.3 → 2.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.
Files changed (104) hide show
  1. package/dist/index.cjs +801 -0
  2. package/dist/index.cjs.map +1 -0
  3. package/dist/index.d.cts +8045 -0
  4. package/dist/index.d.ts +8045 -18
  5. package/dist/index.js +740 -1
  6. package/dist/index.js.map +1 -1
  7. package/package.json +19 -36
  8. package/tsup.config.ts +12 -0
  9. package/dist/index.esm.js +0 -2
  10. package/dist/index.esm.js.map +0 -1
  11. package/dist/schema/assets.d.ts +0 -611
  12. package/dist/schema/assets.esm.js +0 -2
  13. package/dist/schema/assets.esm.js.map +0 -1
  14. package/dist/schema/assets.js +0 -2
  15. package/dist/schema/assets.js.map +0 -1
  16. package/dist/schema/blueprints.d.ts +0 -553
  17. package/dist/schema/blueprints.esm.js +0 -2
  18. package/dist/schema/blueprints.esm.js.map +0 -1
  19. package/dist/schema/blueprints.js +0 -2
  20. package/dist/schema/blueprints.js.map +0 -1
  21. package/dist/schema/comments.d.ts +0 -537
  22. package/dist/schema/comments.esm.js +0 -2
  23. package/dist/schema/comments.esm.js.map +0 -1
  24. package/dist/schema/comments.js +0 -2
  25. package/dist/schema/comments.js.map +0 -1
  26. package/dist/schema/common.d.ts +0 -138
  27. package/dist/schema/common.esm.js +0 -2
  28. package/dist/schema/common.esm.js.map +0 -1
  29. package/dist/schema/common.js +0 -2
  30. package/dist/schema/common.js.map +0 -1
  31. package/dist/schema/conversations.d.ts +0 -709
  32. package/dist/schema/conversations.esm.js +0 -2
  33. package/dist/schema/conversations.esm.js.map +0 -1
  34. package/dist/schema/conversations.js +0 -2
  35. package/dist/schema/conversations.js.map +0 -1
  36. package/dist/schema/datasets.d.ts +0 -1056
  37. package/dist/schema/datasets.esm.js +0 -2
  38. package/dist/schema/datasets.esm.js.map +0 -1
  39. package/dist/schema/datasets.js +0 -2
  40. package/dist/schema/datasets.js.map +0 -1
  41. package/dist/schema/files.d.ts +0 -1024
  42. package/dist/schema/files.esm.js +0 -2
  43. package/dist/schema/files.esm.js.map +0 -1
  44. package/dist/schema/files.js +0 -2
  45. package/dist/schema/files.js.map +0 -1
  46. package/dist/schema/index.d.ts +0 -14
  47. package/dist/schema/index.js +0 -63
  48. package/dist/schema/notifications.d.ts +0 -97
  49. package/dist/schema/notifications.esm.js +0 -2
  50. package/dist/schema/notifications.esm.js.map +0 -1
  51. package/dist/schema/notifications.js +0 -2
  52. package/dist/schema/notifications.js.map +0 -1
  53. package/dist/schema/organizations.d.ts +0 -70
  54. package/dist/schema/organizations.esm.js +0 -2
  55. package/dist/schema/organizations.esm.js.map +0 -1
  56. package/dist/schema/organizations.js +0 -2
  57. package/dist/schema/organizations.js.map +0 -1
  58. package/dist/schema/posts.d.ts +0 -1848
  59. package/dist/schema/posts.esm.js +0 -2
  60. package/dist/schema/posts.esm.js.map +0 -1
  61. package/dist/schema/posts.js +0 -2
  62. package/dist/schema/posts.js.map +0 -1
  63. package/dist/schema/replications.d.ts +0 -610
  64. package/dist/schema/replications.esm.js +0 -2
  65. package/dist/schema/replications.esm.js.map +0 -1
  66. package/dist/schema/replications.js +0 -2
  67. package/dist/schema/replications.js.map +0 -1
  68. package/dist/schema/services.d.ts +0 -86
  69. package/dist/schema/services.esm.js +0 -2
  70. package/dist/schema/services.esm.js.map +0 -1
  71. package/dist/schema/services.js +0 -2
  72. package/dist/schema/services.js.map +0 -1
  73. package/dist/schema/teams.d.ts +0 -528
  74. package/dist/schema/teams.esm.js +0 -2
  75. package/dist/schema/teams.esm.js.map +0 -1
  76. package/dist/schema/teams.js +0 -2
  77. package/dist/schema/teams.js.map +0 -1
  78. package/dist/schema/users.d.ts +0 -132
  79. package/dist/schema/users.esm.js +0 -2
  80. package/dist/schema/users.esm.js.map +0 -1
  81. package/dist/schema/users.js +0 -2
  82. package/dist/schema/users.js.map +0 -1
  83. package/dist/types/index.d.ts +0 -14
  84. package/dist/utils/air/index.d.ts +0 -13
  85. package/dist/utils/air/index.esm.js +0 -2
  86. package/dist/utils/air/index.esm.js.map +0 -1
  87. package/dist/utils/air/index.js +0 -2
  88. package/dist/utils/air/index.js.map +0 -1
  89. package/dist/utils/air/markdown-parser.d.ts +0 -1
  90. package/dist/utils/air/markdown-parser.esm.js +0 -2
  91. package/dist/utils/air/markdown-parser.esm.js.map +0 -1
  92. package/dist/utils/air/markdown-parser.js +0 -2
  93. package/dist/utils/air/markdown-parser.js.map +0 -1
  94. package/dist/utils/dataset.d.ts +0 -7
  95. package/dist/utils/dataset.esm.js +0 -2
  96. package/dist/utils/dataset.esm.js.map +0 -1
  97. package/dist/utils/dataset.js +0 -2
  98. package/dist/utils/dataset.js.map +0 -1
  99. package/dist/utils/navigate.d.ts +0 -11
  100. package/dist/utils/navigate.esm.js +0 -2
  101. package/dist/utils/navigate.esm.js.map +0 -1
  102. package/dist/utils/navigate.js +0 -2
  103. package/dist/utils/navigate.js.map +0 -1
  104. package/rollup.config.js +0 -52
@@ -1,1056 +0,0 @@
1
- import { z } from "zod";
2
- declare const DatasetSchema: 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
- post_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
19
- last_active: z.ZodOptional<z.ZodString>;
20
- }, "strip", z.ZodTypeAny, {
21
- id?: string | undefined;
22
- user_id?: string | undefined;
23
- avatar_path?: string | null | undefined;
24
- urls?: {
25
- value: string;
26
- }[] | undefined;
27
- username?: string | null | undefined;
28
- bio?: string | null | undefined;
29
- post_id?: string | null | undefined;
30
- last_active?: string | undefined;
31
- }, {
32
- id?: string | undefined;
33
- user_id?: string | undefined;
34
- avatar_path?: string | null | undefined;
35
- urls?: {
36
- value: string;
37
- }[] | undefined;
38
- username?: string | null | undefined;
39
- bio?: string | null | undefined;
40
- post_id?: string | null | undefined;
41
- last_active?: string | undefined;
42
- }>>;
43
- org_id: z.ZodString;
44
- organization: z.ZodOptional<z.ZodObject<{
45
- id: z.ZodOptional<z.ZodString>;
46
- name: z.ZodOptional<z.ZodString>;
47
- avatar_path: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
48
- mission: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
49
- size: z.ZodOptional<z.ZodString>;
50
- email: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
51
- domain: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
52
- urls: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
53
- value: z.ZodString;
54
- }, "strip", z.ZodTypeAny, {
55
- value: string;
56
- }, {
57
- value: string;
58
- }>, "many">>>>;
59
- base_role: z.ZodOptional<z.ZodDefault<z.ZodEnum<["admin", "read", "write", "none"]>>>;
60
- }, "strip", z.ZodTypeAny, {
61
- id?: string | undefined;
62
- name?: string | undefined;
63
- avatar_path?: string | null | undefined;
64
- mission?: string | null | undefined;
65
- size?: string | undefined;
66
- email?: string | null | undefined;
67
- domain?: string | null | undefined;
68
- urls?: {
69
- value: string;
70
- }[] | null | undefined;
71
- base_role?: "admin" | "read" | "write" | "none" | undefined;
72
- }, {
73
- id?: string | undefined;
74
- name?: string | undefined;
75
- avatar_path?: string | null | undefined;
76
- mission?: string | null | undefined;
77
- size?: string | undefined;
78
- email?: string | null | undefined;
79
- domain?: string | null | undefined;
80
- urls?: {
81
- value: string;
82
- }[] | null | undefined;
83
- base_role?: "admin" | "read" | "write" | "none" | 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
- org_id?: string | undefined;
97
- created_at?: string | undefined;
98
- name?: string | undefined;
99
- visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
100
- description?: string | null | undefined;
101
- default_role?: "admin" | "read" | "write" | "none" | undefined;
102
- }, {
103
- id?: string | undefined;
104
- org_id?: string | undefined;
105
- created_at?: string | undefined;
106
- name?: string | undefined;
107
- visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
108
- description?: string | null | undefined;
109
- default_role?: "admin" | "read" | "write" | "none" | undefined;
110
- }>>;
111
- parent_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
112
- parent: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
113
- asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
114
- name: z.ZodString;
115
- name_url_slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
116
- slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
117
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
118
- visibility: z.ZodEnum<["public", "private", "organization", "monetized", "inherit"]>;
119
- monetization: z.ZodEnum<["none", "pay-to-unlock", "pay-per-use"]>;
120
- price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
121
- unit_cost: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
122
- cost_accounting: z.ZodNullable<z.ZodOptional<z.ZodEnum<["fixed", "variable"]>>>;
123
- cost_unit: z.ZodNullable<z.ZodOptional<z.ZodString>>;
124
- product_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
125
- price_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
126
- metadata: z.ZodNullable<z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>>;
127
- preview: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>>;
128
- state: z.ZodNullable<z.ZodOptional<z.ZodEnum<["queued", "in-progress", "success", "error"]>>>;
129
- created_at: z.ZodString;
130
- last_updated: z.ZodString;
131
- }, {
132
- asset_type: z.ZodDefault<z.ZodLiteral<"dataset">>;
133
- metadata: z.ZodObject<z.objectUtil.extendShape<{
134
- table_name: z.ZodString;
135
- schema: z.ZodDefault<z.ZodLiteral<"datasets">>;
136
- columns: z.ZodArray<z.ZodString, "many">;
137
- }, {
138
- type: z.ZodOptional<z.ZodString>;
139
- size: z.ZodOptional<z.ZodNumber>;
140
- path: z.ZodOptional<z.ZodString>;
141
- name: z.ZodOptional<z.ZodString>;
142
- id: z.ZodOptional<z.ZodString>;
143
- bucket: z.ZodOptional<z.ZodEnum<["public-files", "files"]>>;
144
- }>, "strip", z.ZodTypeAny, {
145
- table_name: string;
146
- schema: "datasets";
147
- columns: string[];
148
- id?: string | undefined;
149
- path?: string | undefined;
150
- type?: string | undefined;
151
- name?: string | undefined;
152
- size?: number | undefined;
153
- bucket?: "public-files" | "files" | undefined;
154
- }, {
155
- table_name: string;
156
- columns: string[];
157
- id?: string | undefined;
158
- path?: string | undefined;
159
- type?: string | undefined;
160
- name?: string | undefined;
161
- size?: number | undefined;
162
- bucket?: "public-files" | "files" | undefined;
163
- schema?: "datasets" | undefined;
164
- }>;
165
- preview: z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">;
166
- }>, "strip", z.ZodTypeAny, {
167
- id: string;
168
- user_id: string;
169
- org_id: string;
170
- asset_type: "dataset";
171
- metadata: {
172
- table_name: string;
173
- schema: "datasets";
174
- columns: string[];
175
- id?: string | undefined;
176
- path?: string | undefined;
177
- type?: string | undefined;
178
- name?: string | undefined;
179
- size?: number | undefined;
180
- bucket?: "public-files" | "files" | undefined;
181
- };
182
- created_at: string;
183
- last_updated: string;
184
- name: string;
185
- team_id: string;
186
- visibility: "organization" | "public" | "private" | "monetized" | "inherit";
187
- monetization: "none" | "pay-to-unlock" | "pay-per-use";
188
- preview: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">[];
189
- user?: {
190
- id?: string | undefined;
191
- user_id?: string | undefined;
192
- avatar_path?: string | null | undefined;
193
- urls?: {
194
- value: string;
195
- }[] | undefined;
196
- username?: string | null | undefined;
197
- bio?: string | null | undefined;
198
- post_id?: string | null | undefined;
199
- last_active?: string | undefined;
200
- } | undefined;
201
- organization?: {
202
- id?: string | undefined;
203
- name?: string | undefined;
204
- avatar_path?: string | null | undefined;
205
- mission?: string | null | undefined;
206
- size?: string | undefined;
207
- email?: string | null | undefined;
208
- domain?: string | null | undefined;
209
- urls?: {
210
- value: string;
211
- }[] | null | undefined;
212
- base_role?: "admin" | "read" | "write" | "none" | undefined;
213
- } | undefined;
214
- team?: {
215
- id?: string | undefined;
216
- org_id?: string | undefined;
217
- created_at?: string | undefined;
218
- name?: string | undefined;
219
- visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
220
- description?: string | null | undefined;
221
- default_role?: "admin" | "read" | "write" | "none" | undefined;
222
- } | undefined;
223
- description?: string | null | undefined;
224
- parent_id?: string | null | undefined;
225
- parent?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
226
- name_url_slug?: string | null | undefined;
227
- slug?: string | null | undefined;
228
- price?: number | null | undefined;
229
- unit_cost?: number | null | undefined;
230
- cost_accounting?: "fixed" | "variable" | null | undefined;
231
- cost_unit?: string | null | undefined;
232
- product_id?: string | null | undefined;
233
- price_id?: string | null | undefined;
234
- state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
235
- }, {
236
- id: string;
237
- user_id: string;
238
- org_id: string;
239
- metadata: {
240
- table_name: string;
241
- columns: string[];
242
- id?: string | undefined;
243
- path?: string | undefined;
244
- type?: string | undefined;
245
- name?: string | undefined;
246
- size?: number | undefined;
247
- bucket?: "public-files" | "files" | undefined;
248
- schema?: "datasets" | undefined;
249
- };
250
- created_at: string;
251
- last_updated: string;
252
- name: string;
253
- team_id: string;
254
- visibility: "organization" | "public" | "private" | "monetized" | "inherit";
255
- monetization: "none" | "pay-to-unlock" | "pay-per-use";
256
- preview: z.objectInputType<{}, z.ZodTypeAny, "passthrough">[];
257
- user?: {
258
- id?: string | undefined;
259
- user_id?: string | undefined;
260
- avatar_path?: string | null | undefined;
261
- urls?: {
262
- value: string;
263
- }[] | undefined;
264
- username?: string | null | undefined;
265
- bio?: string | null | undefined;
266
- post_id?: string | null | undefined;
267
- last_active?: string | undefined;
268
- } | undefined;
269
- organization?: {
270
- id?: string | undefined;
271
- name?: string | undefined;
272
- avatar_path?: string | null | undefined;
273
- mission?: string | null | undefined;
274
- size?: string | undefined;
275
- email?: string | null | undefined;
276
- domain?: string | null | undefined;
277
- urls?: {
278
- value: string;
279
- }[] | null | undefined;
280
- base_role?: "admin" | "read" | "write" | "none" | undefined;
281
- } | undefined;
282
- team?: {
283
- id?: string | undefined;
284
- org_id?: string | undefined;
285
- created_at?: string | undefined;
286
- name?: string | undefined;
287
- visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
288
- description?: string | null | undefined;
289
- default_role?: "admin" | "read" | "write" | "none" | undefined;
290
- } | undefined;
291
- asset_type?: "dataset" | undefined;
292
- description?: string | null | undefined;
293
- parent_id?: string | null | undefined;
294
- parent?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
295
- name_url_slug?: string | null | undefined;
296
- slug?: string | null | undefined;
297
- price?: number | null | undefined;
298
- unit_cost?: number | null | undefined;
299
- cost_accounting?: "fixed" | "variable" | null | undefined;
300
- cost_unit?: string | null | undefined;
301
- product_id?: string | null | undefined;
302
- price_id?: string | null | undefined;
303
- state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
304
- }>;
305
- declare const CreateDatasetFromFileSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<Omit<{
306
- id: z.ZodOptional<z.ZodString>;
307
- user_id: z.ZodOptional<z.ZodString>;
308
- user: z.ZodOptional<z.ZodOptional<z.ZodObject<{
309
- id: z.ZodOptional<z.ZodString>;
310
- user_id: z.ZodOptional<z.ZodString>;
311
- username: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
312
- avatar_path: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
313
- bio: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
314
- urls: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
315
- value: z.ZodString;
316
- }, "strip", z.ZodTypeAny, {
317
- value: string;
318
- }, {
319
- value: string;
320
- }>, "many">>>;
321
- post_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
322
- last_active: z.ZodOptional<z.ZodString>;
323
- }, "strip", z.ZodTypeAny, {
324
- id?: string | undefined;
325
- user_id?: string | undefined;
326
- avatar_path?: string | null | undefined;
327
- urls?: {
328
- value: string;
329
- }[] | undefined;
330
- username?: string | null | undefined;
331
- bio?: string | null | undefined;
332
- post_id?: string | null | undefined;
333
- last_active?: string | undefined;
334
- }, {
335
- id?: string | undefined;
336
- user_id?: string | undefined;
337
- avatar_path?: string | null | undefined;
338
- urls?: {
339
- value: string;
340
- }[] | undefined;
341
- username?: string | null | undefined;
342
- bio?: string | null | undefined;
343
- post_id?: string | null | undefined;
344
- last_active?: string | undefined;
345
- }>>>;
346
- org_id: z.ZodOptional<z.ZodString>;
347
- organization: z.ZodOptional<z.ZodOptional<z.ZodObject<{
348
- id: z.ZodOptional<z.ZodString>;
349
- name: z.ZodOptional<z.ZodString>;
350
- avatar_path: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
351
- mission: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
352
- size: z.ZodOptional<z.ZodString>;
353
- email: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
354
- domain: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
355
- urls: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
356
- value: z.ZodString;
357
- }, "strip", z.ZodTypeAny, {
358
- value: string;
359
- }, {
360
- value: string;
361
- }>, "many">>>>;
362
- base_role: z.ZodOptional<z.ZodDefault<z.ZodEnum<["admin", "read", "write", "none"]>>>;
363
- }, "strip", z.ZodTypeAny, {
364
- id?: string | undefined;
365
- name?: string | undefined;
366
- avatar_path?: string | null | undefined;
367
- mission?: string | null | undefined;
368
- size?: string | undefined;
369
- email?: string | null | undefined;
370
- domain?: string | null | undefined;
371
- urls?: {
372
- value: string;
373
- }[] | null | undefined;
374
- base_role?: "admin" | "read" | "write" | "none" | undefined;
375
- }, {
376
- id?: string | undefined;
377
- name?: string | undefined;
378
- avatar_path?: string | null | undefined;
379
- mission?: string | null | undefined;
380
- size?: string | undefined;
381
- email?: string | null | undefined;
382
- domain?: string | null | undefined;
383
- urls?: {
384
- value: string;
385
- }[] | null | undefined;
386
- base_role?: "admin" | "read" | "write" | "none" | undefined;
387
- }>>>;
388
- team_id: z.ZodOptional<z.ZodString>;
389
- team: z.ZodOptional<z.ZodOptional<z.ZodObject<{
390
- id: z.ZodOptional<z.ZodString>;
391
- org_id: z.ZodOptional<z.ZodString>;
392
- name: z.ZodOptional<z.ZodString>;
393
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
394
- default_role: z.ZodOptional<z.ZodEnum<["admin", "read", "write", "none"]>>;
395
- visibility: z.ZodOptional<z.ZodEnum<["public", "private", "organization", "monetized", "inherit"]>>;
396
- created_at: z.ZodOptional<z.ZodString>;
397
- }, "strip", z.ZodTypeAny, {
398
- id?: string | undefined;
399
- org_id?: string | undefined;
400
- created_at?: string | undefined;
401
- name?: string | undefined;
402
- visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
403
- description?: string | null | undefined;
404
- default_role?: "admin" | "read" | "write" | "none" | undefined;
405
- }, {
406
- id?: string | undefined;
407
- org_id?: string | undefined;
408
- created_at?: string | undefined;
409
- name?: string | undefined;
410
- visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
411
- description?: string | null | undefined;
412
- default_role?: "admin" | "read" | "write" | "none" | undefined;
413
- }>>>;
414
- parent_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
415
- parent: z.ZodOptional<z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>>;
416
- asset_type: z.ZodOptional<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>>;
417
- name: z.ZodOptional<z.ZodString>;
418
- name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
419
- slug: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
420
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
421
- visibility: z.ZodOptional<z.ZodEnum<["public", "private", "organization", "monetized", "inherit"]>>;
422
- monetization: z.ZodOptional<z.ZodEnum<["none", "pay-to-unlock", "pay-per-use"]>>;
423
- price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
424
- unit_cost: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
425
- cost_accounting: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<["fixed", "variable"]>>>>;
426
- cost_unit: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
427
- product_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
428
- price_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
429
- metadata: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>>>;
430
- preview: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>>>;
431
- state: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<["queued", "in-progress", "success", "error"]>>>>;
432
- created_at: z.ZodOptional<z.ZodString>;
433
- last_updated: z.ZodOptional<z.ZodString>;
434
- }, "user" | "organization" | "team" | "user_id" | "slug">, {
435
- id: z.ZodDefault<z.ZodString>;
436
- team_id: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
437
- org_id: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
438
- name: z.ZodString;
439
- name_url_slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
440
- state: z.ZodDefault<z.ZodOptional<z.ZodEnum<["queued", "in-progress", "success", "error"]>>>;
441
- visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<["public", "private", "organization", "monetized", "inherit"]>>>;
442
- created_at: z.ZodDefault<z.ZodString>;
443
- last_updated: z.ZodDefault<z.ZodString>;
444
- }>, {
445
- asset_type: z.ZodDefault<z.ZodLiteral<"dataset">>;
446
- metadata: z.ZodObject<z.objectUtil.extendShape<{
447
- table_name: z.ZodString;
448
- schema: z.ZodDefault<z.ZodLiteral<"datasets">>;
449
- columns: z.ZodArray<z.ZodString, "many">;
450
- }, {
451
- type: z.ZodString;
452
- size: z.ZodNumber;
453
- path: z.ZodString;
454
- name: z.ZodString;
455
- id: z.ZodString;
456
- bucket: z.ZodEnum<["public-files", "files"]>;
457
- }>, "strip", z.ZodTypeAny, {
458
- id: string;
459
- path: string;
460
- type: string;
461
- name: string;
462
- size: number;
463
- bucket: "public-files" | "files";
464
- table_name: string;
465
- schema: "datasets";
466
- columns: string[];
467
- }, {
468
- id: string;
469
- path: string;
470
- type: string;
471
- name: string;
472
- size: number;
473
- bucket: "public-files" | "files";
474
- table_name: string;
475
- columns: string[];
476
- schema?: "datasets" | undefined;
477
- }>;
478
- preview: z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">;
479
- }>, "strip", z.ZodTypeAny, {
480
- id: string;
481
- org_id: string | null;
482
- asset_type: "dataset";
483
- metadata: {
484
- id: string;
485
- path: string;
486
- type: string;
487
- name: string;
488
- size: number;
489
- bucket: "public-files" | "files";
490
- table_name: string;
491
- schema: "datasets";
492
- columns: string[];
493
- };
494
- created_at: string;
495
- last_updated: string;
496
- name: string;
497
- team_id: string | null;
498
- visibility: "organization" | "public" | "private" | "monetized" | "inherit";
499
- preview: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">[];
500
- state: "queued" | "in-progress" | "success" | "error";
501
- description?: string | null | undefined;
502
- parent_id?: string | null | undefined;
503
- parent?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
504
- name_url_slug?: string | null | undefined;
505
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
506
- price?: number | null | undefined;
507
- unit_cost?: number | null | undefined;
508
- cost_accounting?: "fixed" | "variable" | null | undefined;
509
- cost_unit?: string | null | undefined;
510
- product_id?: string | null | undefined;
511
- price_id?: string | null | undefined;
512
- }, {
513
- metadata: {
514
- id: string;
515
- path: string;
516
- type: string;
517
- name: string;
518
- size: number;
519
- bucket: "public-files" | "files";
520
- table_name: string;
521
- columns: string[];
522
- schema?: "datasets" | undefined;
523
- };
524
- name: string;
525
- preview: z.objectInputType<{}, z.ZodTypeAny, "passthrough">[];
526
- id?: string | undefined;
527
- org_id?: string | null | undefined;
528
- asset_type?: "dataset" | undefined;
529
- created_at?: string | undefined;
530
- last_updated?: string | undefined;
531
- team_id?: string | null | undefined;
532
- visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
533
- description?: string | null | undefined;
534
- parent_id?: string | null | undefined;
535
- parent?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
536
- name_url_slug?: string | null | undefined;
537
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
538
- price?: number | null | undefined;
539
- unit_cost?: number | null | undefined;
540
- cost_accounting?: "fixed" | "variable" | null | undefined;
541
- cost_unit?: string | null | undefined;
542
- product_id?: string | null | undefined;
543
- price_id?: string | null | undefined;
544
- state?: "queued" | "in-progress" | "success" | "error" | undefined;
545
- }>;
546
- declare const CreateDatasetFromSchemaSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<Omit<{
547
- id: z.ZodOptional<z.ZodString>;
548
- user_id: z.ZodOptional<z.ZodString>;
549
- user: z.ZodOptional<z.ZodOptional<z.ZodObject<{
550
- id: z.ZodOptional<z.ZodString>;
551
- user_id: z.ZodOptional<z.ZodString>;
552
- username: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
553
- avatar_path: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
554
- bio: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
555
- urls: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
556
- value: z.ZodString;
557
- }, "strip", z.ZodTypeAny, {
558
- value: string;
559
- }, {
560
- value: string;
561
- }>, "many">>>;
562
- post_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
563
- last_active: z.ZodOptional<z.ZodString>;
564
- }, "strip", z.ZodTypeAny, {
565
- id?: string | undefined;
566
- user_id?: string | undefined;
567
- avatar_path?: string | null | undefined;
568
- urls?: {
569
- value: string;
570
- }[] | undefined;
571
- username?: string | null | undefined;
572
- bio?: string | null | undefined;
573
- post_id?: string | null | undefined;
574
- last_active?: string | undefined;
575
- }, {
576
- id?: string | undefined;
577
- user_id?: string | undefined;
578
- avatar_path?: string | null | undefined;
579
- urls?: {
580
- value: string;
581
- }[] | undefined;
582
- username?: string | null | undefined;
583
- bio?: string | null | undefined;
584
- post_id?: string | null | undefined;
585
- last_active?: string | undefined;
586
- }>>>;
587
- org_id: z.ZodOptional<z.ZodString>;
588
- organization: z.ZodOptional<z.ZodOptional<z.ZodObject<{
589
- id: z.ZodOptional<z.ZodString>;
590
- name: z.ZodOptional<z.ZodString>;
591
- avatar_path: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
592
- mission: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
593
- size: z.ZodOptional<z.ZodString>;
594
- email: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
595
- domain: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
596
- urls: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
597
- value: z.ZodString;
598
- }, "strip", z.ZodTypeAny, {
599
- value: string;
600
- }, {
601
- value: string;
602
- }>, "many">>>>;
603
- base_role: z.ZodOptional<z.ZodDefault<z.ZodEnum<["admin", "read", "write", "none"]>>>;
604
- }, "strip", z.ZodTypeAny, {
605
- id?: string | undefined;
606
- name?: string | undefined;
607
- avatar_path?: string | null | undefined;
608
- mission?: string | null | undefined;
609
- size?: string | undefined;
610
- email?: string | null | undefined;
611
- domain?: string | null | undefined;
612
- urls?: {
613
- value: string;
614
- }[] | null | undefined;
615
- base_role?: "admin" | "read" | "write" | "none" | undefined;
616
- }, {
617
- id?: string | undefined;
618
- name?: string | undefined;
619
- avatar_path?: string | null | undefined;
620
- mission?: string | null | undefined;
621
- size?: string | undefined;
622
- email?: string | null | undefined;
623
- domain?: string | null | undefined;
624
- urls?: {
625
- value: string;
626
- }[] | null | undefined;
627
- base_role?: "admin" | "read" | "write" | "none" | undefined;
628
- }>>>;
629
- team_id: z.ZodOptional<z.ZodString>;
630
- team: z.ZodOptional<z.ZodOptional<z.ZodObject<{
631
- id: z.ZodOptional<z.ZodString>;
632
- org_id: z.ZodOptional<z.ZodString>;
633
- name: z.ZodOptional<z.ZodString>;
634
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
635
- default_role: z.ZodOptional<z.ZodEnum<["admin", "read", "write", "none"]>>;
636
- visibility: z.ZodOptional<z.ZodEnum<["public", "private", "organization", "monetized", "inherit"]>>;
637
- created_at: z.ZodOptional<z.ZodString>;
638
- }, "strip", z.ZodTypeAny, {
639
- id?: string | undefined;
640
- org_id?: string | undefined;
641
- created_at?: string | undefined;
642
- name?: string | undefined;
643
- visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
644
- description?: string | null | undefined;
645
- default_role?: "admin" | "read" | "write" | "none" | undefined;
646
- }, {
647
- id?: string | undefined;
648
- org_id?: string | undefined;
649
- created_at?: string | undefined;
650
- name?: string | undefined;
651
- visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
652
- description?: string | null | undefined;
653
- default_role?: "admin" | "read" | "write" | "none" | undefined;
654
- }>>>;
655
- parent_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
656
- parent: z.ZodOptional<z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>>;
657
- asset_type: z.ZodOptional<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>>;
658
- name: z.ZodOptional<z.ZodString>;
659
- name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
660
- slug: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
661
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
662
- visibility: z.ZodOptional<z.ZodEnum<["public", "private", "organization", "monetized", "inherit"]>>;
663
- monetization: z.ZodOptional<z.ZodEnum<["none", "pay-to-unlock", "pay-per-use"]>>;
664
- price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
665
- unit_cost: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
666
- cost_accounting: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<["fixed", "variable"]>>>>;
667
- cost_unit: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
668
- product_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
669
- price_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
670
- metadata: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>>>;
671
- preview: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>>>;
672
- state: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<["queued", "in-progress", "success", "error"]>>>>;
673
- created_at: z.ZodOptional<z.ZodString>;
674
- last_updated: z.ZodOptional<z.ZodString>;
675
- }, "user" | "organization" | "team" | "user_id" | "slug">, {
676
- id: z.ZodDefault<z.ZodString>;
677
- team_id: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
678
- org_id: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
679
- name: z.ZodString;
680
- name_url_slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
681
- state: z.ZodDefault<z.ZodOptional<z.ZodEnum<["queued", "in-progress", "success", "error"]>>>;
682
- visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<["public", "private", "organization", "monetized", "inherit"]>>>;
683
- created_at: z.ZodDefault<z.ZodString>;
684
- last_updated: z.ZodDefault<z.ZodString>;
685
- }>, {
686
- asset_type: z.ZodDefault<z.ZodLiteral<"dataset">>;
687
- metadata: z.ZodObject<{
688
- table_name: z.ZodString;
689
- schema: z.ZodDefault<z.ZodLiteral<"datasets">>;
690
- columns: z.ZodArray<z.ZodString, "many">;
691
- }, "strip", z.ZodTypeAny, {
692
- table_name: string;
693
- schema: "datasets";
694
- columns: string[];
695
- }, {
696
- table_name: string;
697
- columns: string[];
698
- schema?: "datasets" | undefined;
699
- }>;
700
- preview: z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">;
701
- }>, "strip", z.ZodTypeAny, {
702
- id: string;
703
- org_id: string | null;
704
- asset_type: "dataset";
705
- metadata: {
706
- table_name: string;
707
- schema: "datasets";
708
- columns: string[];
709
- };
710
- created_at: string;
711
- last_updated: string;
712
- name: string;
713
- team_id: string | null;
714
- visibility: "organization" | "public" | "private" | "monetized" | "inherit";
715
- preview: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">[];
716
- state: "queued" | "in-progress" | "success" | "error";
717
- description?: string | null | undefined;
718
- parent_id?: string | null | undefined;
719
- parent?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
720
- name_url_slug?: string | null | undefined;
721
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
722
- price?: number | null | undefined;
723
- unit_cost?: number | null | undefined;
724
- cost_accounting?: "fixed" | "variable" | null | undefined;
725
- cost_unit?: string | null | undefined;
726
- product_id?: string | null | undefined;
727
- price_id?: string | null | undefined;
728
- }, {
729
- metadata: {
730
- table_name: string;
731
- columns: string[];
732
- schema?: "datasets" | undefined;
733
- };
734
- name: string;
735
- preview: z.objectInputType<{}, z.ZodTypeAny, "passthrough">[];
736
- id?: string | undefined;
737
- org_id?: string | null | undefined;
738
- asset_type?: "dataset" | undefined;
739
- created_at?: string | undefined;
740
- last_updated?: string | undefined;
741
- team_id?: string | null | undefined;
742
- visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
743
- description?: string | null | undefined;
744
- parent_id?: string | null | undefined;
745
- parent?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
746
- name_url_slug?: string | null | undefined;
747
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
748
- price?: number | null | undefined;
749
- unit_cost?: number | null | undefined;
750
- cost_accounting?: "fixed" | "variable" | null | undefined;
751
- cost_unit?: string | null | undefined;
752
- product_id?: string | null | undefined;
753
- price_id?: string | null | undefined;
754
- state?: "queued" | "in-progress" | "success" | "error" | undefined;
755
- }>;
756
- declare const updateDatasetSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
757
- id: z.ZodOptional<z.ZodString>;
758
- user_id: z.ZodOptional<z.ZodString>;
759
- user: z.ZodOptional<z.ZodOptional<z.ZodObject<{
760
- id: z.ZodOptional<z.ZodString>;
761
- user_id: z.ZodOptional<z.ZodString>;
762
- username: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
763
- avatar_path: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
764
- bio: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
765
- urls: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
766
- value: z.ZodString;
767
- }, "strip", z.ZodTypeAny, {
768
- value: string;
769
- }, {
770
- value: string;
771
- }>, "many">>>;
772
- post_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
773
- last_active: z.ZodOptional<z.ZodString>;
774
- }, "strip", z.ZodTypeAny, {
775
- id?: string | undefined;
776
- user_id?: string | undefined;
777
- avatar_path?: string | null | undefined;
778
- urls?: {
779
- value: string;
780
- }[] | undefined;
781
- username?: string | null | undefined;
782
- bio?: string | null | undefined;
783
- post_id?: string | null | undefined;
784
- last_active?: string | undefined;
785
- }, {
786
- id?: string | undefined;
787
- user_id?: string | undefined;
788
- avatar_path?: string | null | undefined;
789
- urls?: {
790
- value: string;
791
- }[] | undefined;
792
- username?: string | null | undefined;
793
- bio?: string | null | undefined;
794
- post_id?: string | null | undefined;
795
- last_active?: string | undefined;
796
- }>>>;
797
- org_id: z.ZodOptional<z.ZodString>;
798
- organization: z.ZodOptional<z.ZodOptional<z.ZodObject<{
799
- id: z.ZodOptional<z.ZodString>;
800
- name: z.ZodOptional<z.ZodString>;
801
- avatar_path: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
802
- mission: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
803
- size: z.ZodOptional<z.ZodString>;
804
- email: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
805
- domain: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
806
- urls: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
807
- value: z.ZodString;
808
- }, "strip", z.ZodTypeAny, {
809
- value: string;
810
- }, {
811
- value: string;
812
- }>, "many">>>>;
813
- base_role: z.ZodOptional<z.ZodDefault<z.ZodEnum<["admin", "read", "write", "none"]>>>;
814
- }, "strip", z.ZodTypeAny, {
815
- id?: string | undefined;
816
- name?: string | undefined;
817
- avatar_path?: string | null | undefined;
818
- mission?: string | null | undefined;
819
- size?: string | undefined;
820
- email?: string | null | undefined;
821
- domain?: string | null | undefined;
822
- urls?: {
823
- value: string;
824
- }[] | null | undefined;
825
- base_role?: "admin" | "read" | "write" | "none" | undefined;
826
- }, {
827
- id?: string | undefined;
828
- name?: string | undefined;
829
- avatar_path?: string | null | undefined;
830
- mission?: string | null | undefined;
831
- size?: string | undefined;
832
- email?: string | null | undefined;
833
- domain?: string | null | undefined;
834
- urls?: {
835
- value: string;
836
- }[] | null | undefined;
837
- base_role?: "admin" | "read" | "write" | "none" | undefined;
838
- }>>>;
839
- team_id: z.ZodOptional<z.ZodString>;
840
- team: z.ZodOptional<z.ZodOptional<z.ZodObject<{
841
- id: z.ZodOptional<z.ZodString>;
842
- org_id: z.ZodOptional<z.ZodString>;
843
- name: z.ZodOptional<z.ZodString>;
844
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
845
- default_role: z.ZodOptional<z.ZodEnum<["admin", "read", "write", "none"]>>;
846
- visibility: z.ZodOptional<z.ZodEnum<["public", "private", "organization", "monetized", "inherit"]>>;
847
- created_at: z.ZodOptional<z.ZodString>;
848
- }, "strip", z.ZodTypeAny, {
849
- id?: string | undefined;
850
- org_id?: string | undefined;
851
- created_at?: string | undefined;
852
- name?: string | undefined;
853
- visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
854
- description?: string | null | undefined;
855
- default_role?: "admin" | "read" | "write" | "none" | undefined;
856
- }, {
857
- id?: string | undefined;
858
- org_id?: string | undefined;
859
- created_at?: string | undefined;
860
- name?: string | undefined;
861
- visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
862
- description?: string | null | undefined;
863
- default_role?: "admin" | "read" | "write" | "none" | undefined;
864
- }>>>;
865
- parent_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
866
- parent: z.ZodOptional<z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>>;
867
- name: z.ZodOptional<z.ZodString>;
868
- name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
869
- slug: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
870
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
871
- visibility: z.ZodOptional<z.ZodEnum<["public", "private", "organization", "monetized", "inherit"]>>;
872
- monetization: z.ZodOptional<z.ZodEnum<["none", "pay-to-unlock", "pay-per-use"]>>;
873
- price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
874
- unit_cost: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
875
- cost_accounting: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<["fixed", "variable"]>>>>;
876
- cost_unit: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
877
- product_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
878
- price_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
879
- state: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<["queued", "in-progress", "success", "error"]>>>>;
880
- created_at: z.ZodOptional<z.ZodString>;
881
- last_updated: z.ZodOptional<z.ZodString>;
882
- asset_type: z.ZodOptional<z.ZodDefault<z.ZodLiteral<"dataset">>>;
883
- metadata: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
884
- table_name: z.ZodString;
885
- schema: z.ZodDefault<z.ZodLiteral<"datasets">>;
886
- columns: z.ZodArray<z.ZodString, "many">;
887
- }, {
888
- type: z.ZodOptional<z.ZodString>;
889
- size: z.ZodOptional<z.ZodNumber>;
890
- path: z.ZodOptional<z.ZodString>;
891
- name: z.ZodOptional<z.ZodString>;
892
- id: z.ZodOptional<z.ZodString>;
893
- bucket: z.ZodOptional<z.ZodEnum<["public-files", "files"]>>;
894
- }>, "strip", z.ZodTypeAny, {
895
- table_name: string;
896
- schema: "datasets";
897
- columns: string[];
898
- id?: string | undefined;
899
- path?: string | undefined;
900
- type?: string | undefined;
901
- name?: string | undefined;
902
- size?: number | undefined;
903
- bucket?: "public-files" | "files" | undefined;
904
- }, {
905
- table_name: string;
906
- columns: string[];
907
- id?: string | undefined;
908
- path?: string | undefined;
909
- type?: string | undefined;
910
- name?: string | undefined;
911
- size?: number | undefined;
912
- bucket?: "public-files" | "files" | undefined;
913
- schema?: "datasets" | undefined;
914
- }>>;
915
- preview: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
916
- }, "id" | "user_id" | "created_at" | "last_updated">, {
917
- asset_type: z.ZodDefault<z.ZodLiteral<"dataset">>;
918
- last_updated: z.ZodDefault<z.ZodString>;
919
- }>, "strip", z.ZodTypeAny, {
920
- asset_type: "dataset";
921
- last_updated: string;
922
- user?: {
923
- id?: string | undefined;
924
- user_id?: string | undefined;
925
- avatar_path?: string | null | undefined;
926
- urls?: {
927
- value: string;
928
- }[] | undefined;
929
- username?: string | null | undefined;
930
- bio?: string | null | undefined;
931
- post_id?: string | null | undefined;
932
- last_active?: string | undefined;
933
- } | undefined;
934
- organization?: {
935
- id?: string | undefined;
936
- name?: string | undefined;
937
- avatar_path?: string | null | undefined;
938
- mission?: string | null | undefined;
939
- size?: string | undefined;
940
- email?: string | null | undefined;
941
- domain?: string | null | undefined;
942
- urls?: {
943
- value: string;
944
- }[] | null | undefined;
945
- base_role?: "admin" | "read" | "write" | "none" | undefined;
946
- } | undefined;
947
- team?: {
948
- id?: string | undefined;
949
- org_id?: string | undefined;
950
- created_at?: string | undefined;
951
- name?: string | undefined;
952
- visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
953
- description?: string | null | undefined;
954
- default_role?: "admin" | "read" | "write" | "none" | undefined;
955
- } | undefined;
956
- org_id?: string | undefined;
957
- metadata?: {
958
- table_name: string;
959
- schema: "datasets";
960
- columns: string[];
961
- id?: string | undefined;
962
- path?: string | undefined;
963
- type?: string | undefined;
964
- name?: string | undefined;
965
- size?: number | undefined;
966
- bucket?: "public-files" | "files" | undefined;
967
- } | undefined;
968
- name?: string | undefined;
969
- team_id?: string | undefined;
970
- visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
971
- description?: string | null | undefined;
972
- parent_id?: string | null | undefined;
973
- parent?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
974
- name_url_slug?: string | null | undefined;
975
- slug?: string | null | undefined;
976
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
977
- price?: number | null | undefined;
978
- unit_cost?: number | null | undefined;
979
- cost_accounting?: "fixed" | "variable" | null | undefined;
980
- cost_unit?: string | null | undefined;
981
- product_id?: string | null | undefined;
982
- price_id?: string | null | undefined;
983
- preview?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">[] | undefined;
984
- state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
985
- }, {
986
- user?: {
987
- id?: string | undefined;
988
- user_id?: string | undefined;
989
- avatar_path?: string | null | undefined;
990
- urls?: {
991
- value: string;
992
- }[] | undefined;
993
- username?: string | null | undefined;
994
- bio?: string | null | undefined;
995
- post_id?: string | null | undefined;
996
- last_active?: string | undefined;
997
- } | undefined;
998
- organization?: {
999
- id?: string | undefined;
1000
- name?: string | undefined;
1001
- avatar_path?: string | null | undefined;
1002
- mission?: string | null | undefined;
1003
- size?: string | undefined;
1004
- email?: string | null | undefined;
1005
- domain?: string | null | undefined;
1006
- urls?: {
1007
- value: string;
1008
- }[] | null | undefined;
1009
- base_role?: "admin" | "read" | "write" | "none" | undefined;
1010
- } | undefined;
1011
- team?: {
1012
- id?: string | undefined;
1013
- org_id?: string | undefined;
1014
- created_at?: string | undefined;
1015
- name?: string | undefined;
1016
- visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
1017
- description?: string | null | undefined;
1018
- default_role?: "admin" | "read" | "write" | "none" | undefined;
1019
- } | undefined;
1020
- org_id?: string | undefined;
1021
- asset_type?: "dataset" | undefined;
1022
- metadata?: {
1023
- table_name: string;
1024
- columns: string[];
1025
- id?: string | undefined;
1026
- path?: string | undefined;
1027
- type?: string | undefined;
1028
- name?: string | undefined;
1029
- size?: number | undefined;
1030
- bucket?: "public-files" | "files" | undefined;
1031
- schema?: "datasets" | undefined;
1032
- } | undefined;
1033
- last_updated?: string | undefined;
1034
- name?: string | undefined;
1035
- team_id?: string | undefined;
1036
- visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
1037
- description?: string | null | undefined;
1038
- parent_id?: string | null | undefined;
1039
- parent?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1040
- name_url_slug?: string | null | undefined;
1041
- slug?: string | null | undefined;
1042
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
1043
- price?: number | null | undefined;
1044
- unit_cost?: number | null | undefined;
1045
- cost_accounting?: "fixed" | "variable" | null | undefined;
1046
- cost_unit?: string | null | undefined;
1047
- product_id?: string | null | undefined;
1048
- price_id?: string | null | undefined;
1049
- preview?: z.objectInputType<{}, z.ZodTypeAny, "passthrough">[] | undefined;
1050
- state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
1051
- }>;
1052
- export { DatasetSchema, CreateDatasetFromFileSchema, CreateDatasetFromSchemaSchema, updateDatasetSchema, };
1053
- export type Dataset = z.infer<typeof DatasetSchema>;
1054
- export type CreateFromFileDataset = z.infer<typeof CreateDatasetFromFileSchema>;
1055
- export type CreateFromSchemaDataset = z.infer<typeof CreateDatasetFromSchemaSchema>;
1056
- export type UpdateDataset = z.infer<typeof updateDatasetSchema>;