@ourofoundation/ouro-js 3.1.0 → 3.1.1

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 (124) hide show
  1. package/dist/chunk-2JCUJKLB.js +3 -0
  2. package/dist/chunk-2JCUJKLB.js.map +1 -0
  3. package/dist/chunk-3N56ERWF.js +2 -0
  4. package/dist/chunk-3N56ERWF.js.map +1 -0
  5. package/dist/{chunk-J2SVE52E.js → chunk-4VEWTZNL.js} +2 -2
  6. package/dist/{chunk-J2SVE52E.js.map → chunk-4VEWTZNL.js.map} +1 -1
  7. package/dist/{chunk-QZ3AAXO5.js → chunk-6DQ5ZEGV.js} +2 -2
  8. package/dist/{chunk-QZ3AAXO5.js.map → chunk-6DQ5ZEGV.js.map} +1 -1
  9. package/dist/{chunk-XPQVPGJX.js → chunk-7BEEJS6W.js} +2 -2
  10. package/dist/{chunk-XPQVPGJX.js.map → chunk-7BEEJS6W.js.map} +1 -1
  11. package/dist/chunk-ACWMAF3H.cjs +2 -0
  12. package/dist/chunk-ACWMAF3H.cjs.map +1 -0
  13. package/dist/chunk-AKXQDI77.cjs +2 -0
  14. package/dist/{chunk-OD7M3RFZ.cjs.map → chunk-AKXQDI77.cjs.map} +1 -1
  15. package/dist/{chunk-332F74RS.js → chunk-ALQBCU4T.js} +2 -2
  16. package/dist/{chunk-332F74RS.js.map → chunk-ALQBCU4T.js.map} +1 -1
  17. package/dist/{chunk-P4VD5SVM.cjs → chunk-BUSTKLOI.cjs} +2 -2
  18. package/dist/{chunk-P4VD5SVM.cjs.map → chunk-BUSTKLOI.cjs.map} +1 -1
  19. package/dist/{chunk-LDAPPQXR.js → chunk-BXNIUQ5W.js} +2 -2
  20. package/dist/{chunk-LDAPPQXR.js.map → chunk-BXNIUQ5W.js.map} +1 -1
  21. package/dist/{chunk-PX6OZKCX.cjs → chunk-FJZO6R7B.cjs} +2 -2
  22. package/dist/{chunk-PX6OZKCX.cjs.map → chunk-FJZO6R7B.cjs.map} +1 -1
  23. package/dist/chunk-GY6SLMMJ.cjs +2 -0
  24. package/dist/chunk-GY6SLMMJ.cjs.map +1 -0
  25. package/dist/{chunk-MQYRINJ5.cjs → chunk-K2JZZ624.cjs} +2 -2
  26. package/dist/{chunk-MQYRINJ5.cjs.map → chunk-K2JZZ624.cjs.map} +1 -1
  27. package/dist/{chunk-BDFRHJD4.js → chunk-KYQSTVIK.js} +2 -2
  28. package/dist/{chunk-BDFRHJD4.js.map → chunk-KYQSTVIK.js.map} +1 -1
  29. package/dist/{chunk-Z2GTDYQ6.cjs → chunk-LUAQEXTM.cjs} +2 -2
  30. package/dist/{chunk-Z2GTDYQ6.cjs.map → chunk-LUAQEXTM.cjs.map} +1 -1
  31. package/dist/{chunk-JANLRWLU.cjs → chunk-OGPYSKWY.cjs} +2 -2
  32. package/dist/{chunk-JANLRWLU.cjs.map → chunk-OGPYSKWY.cjs.map} +1 -1
  33. package/dist/{chunk-6XNV6B6L.cjs → chunk-Q5SQSLM7.cjs} +2 -2
  34. package/dist/{chunk-6XNV6B6L.cjs.map → chunk-Q5SQSLM7.cjs.map} +1 -1
  35. package/dist/{chunk-6UH4ZK6D.cjs → chunk-T2FZOXMU.cjs} +2 -2
  36. package/dist/{chunk-6UH4ZK6D.cjs.map → chunk-T2FZOXMU.cjs.map} +1 -1
  37. package/dist/chunk-T3XKETDR.cjs +3 -0
  38. package/dist/chunk-T3XKETDR.cjs.map +1 -0
  39. package/dist/{chunk-D4SCLCSO.cjs → chunk-TYOBHRLP.cjs} +2 -2
  40. package/dist/{chunk-D4SCLCSO.cjs.map → chunk-TYOBHRLP.cjs.map} +1 -1
  41. package/dist/{chunk-ICU37YVV.js → chunk-UIPFVGSN.js} +2 -2
  42. package/dist/{chunk-ICU37YVV.js.map → chunk-UIPFVGSN.js.map} +1 -1
  43. package/dist/chunk-UWVZZARS.js +2 -0
  44. package/dist/chunk-UWVZZARS.js.map +1 -0
  45. package/dist/{chunk-DAN33Z3Q.cjs → chunk-VF2UIROP.cjs} +2 -2
  46. package/dist/{chunk-DAN33Z3Q.cjs.map → chunk-VF2UIROP.cjs.map} +1 -1
  47. package/dist/{chunk-63BUDJ7V.js → chunk-XQE5MFWC.js} +2 -2
  48. package/dist/{chunk-63BUDJ7V.js.map → chunk-XQE5MFWC.js.map} +1 -1
  49. package/dist/{chunk-BULBWSNF.js → chunk-Z44HJZBF.js} +2 -2
  50. package/dist/{chunk-BULBWSNF.js.map → chunk-Z44HJZBF.js.map} +1 -1
  51. package/dist/{chunk-VBRZ227O.js → chunk-ZE2OBRXV.js} +2 -2
  52. package/dist/{chunk-VBRZ227O.js.map → chunk-ZE2OBRXV.js.map} +1 -1
  53. package/dist/index.cjs +1 -1
  54. package/dist/index.js +1 -1
  55. package/dist/schema/assets.cjs +1 -1
  56. package/dist/schema/assets.d.cts +91 -81
  57. package/dist/schema/assets.d.ts +91 -81
  58. package/dist/schema/assets.js +1 -1
  59. package/dist/schema/blueprints.cjs +1 -1
  60. package/dist/schema/blueprints.d.cts +45 -25
  61. package/dist/schema/blueprints.d.ts +45 -25
  62. package/dist/schema/blueprints.js +1 -1
  63. package/dist/schema/comments.cjs +1 -1
  64. package/dist/schema/comments.d.cts +146 -126
  65. package/dist/schema/comments.d.ts +146 -126
  66. package/dist/schema/comments.js +1 -1
  67. package/dist/schema/common.d.cts +16 -16
  68. package/dist/schema/common.d.ts +16 -16
  69. package/dist/schema/conversations.cjs +1 -1
  70. package/dist/schema/conversations.d.cts +82 -67
  71. package/dist/schema/conversations.d.ts +82 -67
  72. package/dist/schema/conversations.js +1 -1
  73. package/dist/schema/datasets.cjs +1 -1
  74. package/dist/schema/datasets.d.cts +119 -105
  75. package/dist/schema/datasets.d.ts +119 -105
  76. package/dist/schema/datasets.js +1 -1
  77. package/dist/schema/files.cjs +1 -1
  78. package/dist/schema/files.d.cts +113 -99
  79. package/dist/schema/files.d.ts +113 -99
  80. package/dist/schema/files.js +1 -1
  81. package/dist/schema/notifications.d.cts +2 -2
  82. package/dist/schema/notifications.d.ts +2 -2
  83. package/dist/schema/organizations.cjs +1 -1
  84. package/dist/schema/organizations.d.cts +3 -1
  85. package/dist/schema/organizations.d.ts +3 -1
  86. package/dist/schema/organizations.js +1 -1
  87. package/dist/schema/posts.cjs +1 -1
  88. package/dist/schema/posts.d.cts +148 -122
  89. package/dist/schema/posts.d.ts +148 -122
  90. package/dist/schema/posts.js +1 -1
  91. package/dist/schema/replications.cjs +1 -1
  92. package/dist/schema/replications.d.cts +45 -25
  93. package/dist/schema/replications.d.ts +45 -25
  94. package/dist/schema/replications.js +1 -1
  95. package/dist/schema/services.cjs +1 -1
  96. package/dist/schema/services.d.cts +145 -119
  97. package/dist/schema/services.d.ts +145 -119
  98. package/dist/schema/services.js +1 -1
  99. package/dist/schema/teams.cjs +1 -1
  100. package/dist/schema/teams.d.cts +30 -18
  101. package/dist/schema/teams.d.ts +30 -18
  102. package/dist/schema/teams.js +1 -1
  103. package/dist/schema/users.cjs +1 -1
  104. package/dist/schema/users.d.cts +4 -0
  105. package/dist/schema/users.d.ts +4 -0
  106. package/dist/schema/users.js +1 -1
  107. package/dist/utils/air/index.d.cts +2 -0
  108. package/dist/utils/air/index.d.ts +2 -0
  109. package/dist/utils/air/markdown-parser.cjs +1 -1
  110. package/dist/utils/air/markdown-parser.js +1 -1
  111. package/package.json +1 -1
  112. package/dist/chunk-25FGGQFY.cjs +0 -2
  113. package/dist/chunk-25FGGQFY.cjs.map +0 -1
  114. package/dist/chunk-47E5TCNF.js +0 -3
  115. package/dist/chunk-47E5TCNF.js.map +0 -1
  116. package/dist/chunk-JNBXFB5P.cjs +0 -2
  117. package/dist/chunk-JNBXFB5P.cjs.map +0 -1
  118. package/dist/chunk-OD7M3RFZ.cjs +0 -2
  119. package/dist/chunk-SE3HKRJM.cjs +0 -3
  120. package/dist/chunk-SE3HKRJM.cjs.map +0 -1
  121. package/dist/chunk-XJH3EC3E.js +0 -2
  122. package/dist/chunk-XJH3EC3E.js.map +0 -1
  123. package/dist/chunk-ZQAXMMR2.js +0 -2
  124. package/dist/chunk-ZQAXMMR2.js.map +0 -1
@@ -10,6 +10,8 @@ declare const DatasetSchema: z.ZodObject<{
10
10
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
11
11
  avatar_path: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
12
12
  bio: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
13
+ is_provisioned: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
14
+ claimed_at: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
13
15
  urls: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
14
16
  value: z.ZodString;
15
17
  }, z.core.$strip>>>>;
@@ -106,9 +108,9 @@ declare const DatasetSchema: z.ZodObject<{
106
108
  none: "none";
107
109
  }>>;
108
110
  visibility: z.ZodOptional<z.ZodEnum<{
111
+ organization: "organization";
109
112
  public: "public";
110
113
  private: "private";
111
- organization: "organization";
112
114
  monetized: "monetized";
113
115
  inherit: "inherit";
114
116
  }>>;
@@ -148,6 +150,8 @@ declare const DatasetSchema: z.ZodObject<{
148
150
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
149
151
  avatar_path: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
150
152
  bio: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
153
+ is_provisioned: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
154
+ claimed_at: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
151
155
  urls: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
152
156
  value: z.ZodString;
153
157
  }, z.core.$strip>>>>;
@@ -178,9 +182,9 @@ declare const DatasetSchema: z.ZodObject<{
178
182
  text: z.ZodString;
179
183
  }, z.core.$strip>>>;
180
184
  visibility: z.ZodEnum<{
185
+ organization: "organization";
181
186
  public: "public";
182
187
  private: "private";
183
- organization: "organization";
184
188
  monetized: "monetized";
185
189
  inherit: "inherit";
186
190
  }>;
@@ -205,13 +209,13 @@ declare const DatasetSchema: z.ZodObject<{
205
209
  stripe_meter_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
206
210
  state: z.ZodEnum<{
207
211
  success: "success";
208
- error: "error";
209
212
  queued: "queued";
210
213
  "in-progress": "in-progress";
214
+ error: "error";
211
215
  }>;
212
216
  source: z.ZodEnum<{
213
- web: "web";
214
217
  api: "api";
218
+ web: "web";
215
219
  }>;
216
220
  created_at: z.ZodString;
217
221
  last_updated: z.ZodString;
@@ -230,6 +234,7 @@ declare const DatasetSchema: z.ZodObject<{
230
234
  "third-party": "third-party";
231
235
  }>>;
232
236
  source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
237
+ reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
233
238
  type: z.ZodOptional<z.ZodString>;
234
239
  size: z.ZodOptional<z.ZodNumber>;
235
240
  path: z.ZodOptional<z.ZodString>;
@@ -245,15 +250,15 @@ declare const DatasetSchema: z.ZodObject<{
245
250
  }, z.core.$strip>;
246
251
  declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
247
252
  parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
253
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
254
+ json: z.ZodRecord<z.ZodString, z.ZodAny>;
255
+ text: z.ZodString;
256
+ }, z.core.$strip>>>>;
248
257
  monetization: z.ZodOptional<z.ZodEnum<{
249
258
  none: "none";
250
259
  "pay-to-unlock": "pay-to-unlock";
251
260
  "pay-per-use": "pay-per-use";
252
261
  }>>;
253
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
254
- json: z.ZodRecord<z.ZodString, z.ZodAny>;
255
- text: z.ZodString;
256
- }, z.core.$strip>>>>;
257
262
  parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
258
263
  license_id: z.ZodOptional<z.ZodString>;
259
264
  price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
@@ -277,18 +282,18 @@ declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
277
282
  name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
278
283
  state: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
279
284
  success: "success";
280
- error: "error";
281
285
  queued: "queued";
282
286
  "in-progress": "in-progress";
287
+ error: "error";
283
288
  }>>>;
284
289
  source: z.ZodDefault<z.ZodEnum<{
285
- web: "web";
286
290
  api: "api";
291
+ web: "web";
287
292
  }>>;
288
293
  visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
294
+ organization: "organization";
289
295
  public: "public";
290
296
  private: "private";
291
- organization: "organization";
292
297
  monetized: "monetized";
293
298
  inherit: "inherit";
294
299
  }>>>;
@@ -309,6 +314,7 @@ declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
309
314
  "third-party": "third-party";
310
315
  }>>;
311
316
  source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
317
+ reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
312
318
  type: z.ZodString;
313
319
  size: z.ZodNumber;
314
320
  path: z.ZodString;
@@ -326,9 +332,9 @@ declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
326
332
  team_id: string | null;
327
333
  org_id: string | null;
328
334
  name: string;
329
- state: "success" | "error" | "queued" | "in-progress";
330
- source: "web" | "api";
331
- visibility: "public" | "private" | "organization" | "monetized" | "inherit";
335
+ state: "success" | "queued" | "in-progress" | "error";
336
+ source: "api" | "web";
337
+ visibility: "organization" | "public" | "private" | "monetized" | "inherit";
332
338
  created_at: string;
333
339
  last_updated: string;
334
340
  asset_type: "dataset";
@@ -349,14 +355,15 @@ declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
349
355
  github_url?: string | null | undefined;
350
356
  originality?: "original" | "derivative" | "third-party" | undefined;
351
357
  source?: string | null | undefined;
358
+ reply_to_comment_id?: string | null | undefined;
352
359
  };
353
360
  preview: Record<string, any>[];
354
361
  parent?: Record<string, any> | undefined;
355
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
356
362
  description?: {
357
363
  json: Record<string, any>;
358
364
  text: string;
359
365
  } | null | undefined;
366
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
360
367
  parent_id?: string | null | undefined;
361
368
  license_id?: string | undefined;
362
369
  price?: number | null | undefined;
@@ -373,9 +380,9 @@ declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
373
380
  team_id: string | null;
374
381
  org_id: string | null;
375
382
  name: string;
376
- state: "success" | "error" | "queued" | "in-progress";
377
- source: "web" | "api";
378
- visibility: "public" | "private" | "organization" | "monetized" | "inherit";
383
+ state: "success" | "queued" | "in-progress" | "error";
384
+ source: "api" | "web";
385
+ visibility: "organization" | "public" | "private" | "monetized" | "inherit";
379
386
  created_at: string;
380
387
  last_updated: string;
381
388
  asset_type: "dataset";
@@ -396,14 +403,15 @@ declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
396
403
  github_url?: string | null | undefined;
397
404
  originality?: "original" | "derivative" | "third-party" | undefined;
398
405
  source?: string | null | undefined;
406
+ reply_to_comment_id?: string | null | undefined;
399
407
  };
400
408
  preview: Record<string, any>[];
401
409
  parent?: Record<string, any> | undefined;
402
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
403
410
  description?: {
404
411
  json: Record<string, any>;
405
412
  text: string;
406
413
  } | null | undefined;
414
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
407
415
  parent_id?: string | null | undefined;
408
416
  license_id?: string | undefined;
409
417
  price?: number | null | undefined;
@@ -418,15 +426,15 @@ declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
418
426
  }>>;
419
427
  declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
420
428
  parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
429
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
430
+ json: z.ZodRecord<z.ZodString, z.ZodAny>;
431
+ text: z.ZodString;
432
+ }, z.core.$strip>>>>;
421
433
  monetization: z.ZodOptional<z.ZodEnum<{
422
434
  none: "none";
423
435
  "pay-to-unlock": "pay-to-unlock";
424
436
  "pay-per-use": "pay-per-use";
425
437
  }>>;
426
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
427
- json: z.ZodRecord<z.ZodString, z.ZodAny>;
428
- text: z.ZodString;
429
- }, z.core.$strip>>>>;
430
438
  parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
431
439
  license_id: z.ZodOptional<z.ZodString>;
432
440
  price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
@@ -450,18 +458,18 @@ declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
450
458
  name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
451
459
  state: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
452
460
  success: "success";
453
- error: "error";
454
461
  queued: "queued";
455
462
  "in-progress": "in-progress";
463
+ error: "error";
456
464
  }>>>;
457
465
  source: z.ZodDefault<z.ZodEnum<{
458
- web: "web";
459
466
  api: "api";
467
+ web: "web";
460
468
  }>>;
461
469
  visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
470
+ organization: "organization";
462
471
  public: "public";
463
472
  private: "private";
464
- organization: "organization";
465
473
  monetized: "monetized";
466
474
  inherit: "inherit";
467
475
  }>>>;
@@ -482,6 +490,7 @@ declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
482
490
  "third-party": "third-party";
483
491
  }>>;
484
492
  source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
493
+ reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
485
494
  }, z.core.$strip>;
486
495
  preview: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>;
487
496
  }, z.core.$strip>, z.ZodTransform<{
@@ -489,9 +498,9 @@ declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
489
498
  team_id: string | null;
490
499
  org_id: string | null;
491
500
  name: string;
492
- state: "success" | "error" | "queued" | "in-progress";
493
- source: "web" | "api";
494
- visibility: "public" | "private" | "organization" | "monetized" | "inherit";
501
+ state: "success" | "queued" | "in-progress" | "error";
502
+ source: "api" | "web";
503
+ visibility: "organization" | "public" | "private" | "monetized" | "inherit";
495
504
  created_at: string;
496
505
  last_updated: string;
497
506
  asset_type: "dataset";
@@ -505,14 +514,15 @@ declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
505
514
  github_url?: string | null | undefined;
506
515
  originality?: "original" | "derivative" | "third-party" | undefined;
507
516
  source?: string | null | undefined;
517
+ reply_to_comment_id?: string | null | undefined;
508
518
  };
509
519
  preview: Record<string, any>[];
510
520
  parent?: Record<string, any> | undefined;
511
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
512
521
  description?: {
513
522
  json: Record<string, any>;
514
523
  text: string;
515
524
  } | null | undefined;
525
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
516
526
  parent_id?: string | null | undefined;
517
527
  license_id?: string | undefined;
518
528
  price?: number | null | undefined;
@@ -529,9 +539,9 @@ declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
529
539
  team_id: string | null;
530
540
  org_id: string | null;
531
541
  name: string;
532
- state: "success" | "error" | "queued" | "in-progress";
533
- source: "web" | "api";
534
- visibility: "public" | "private" | "organization" | "monetized" | "inherit";
542
+ state: "success" | "queued" | "in-progress" | "error";
543
+ source: "api" | "web";
544
+ visibility: "organization" | "public" | "private" | "monetized" | "inherit";
535
545
  created_at: string;
536
546
  last_updated: string;
537
547
  asset_type: "dataset";
@@ -545,14 +555,15 @@ declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
545
555
  github_url?: string | null | undefined;
546
556
  originality?: "original" | "derivative" | "third-party" | undefined;
547
557
  source?: string | null | undefined;
558
+ reply_to_comment_id?: string | null | undefined;
548
559
  };
549
560
  preview: Record<string, any>[];
550
561
  parent?: Record<string, any> | undefined;
551
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
552
562
  description?: {
553
563
  json: Record<string, any>;
554
564
  text: string;
555
565
  } | null | undefined;
566
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
556
567
  parent_id?: string | null | undefined;
557
568
  license_id?: string | undefined;
558
569
  price?: number | null | undefined;
@@ -566,18 +577,51 @@ declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
566
577
  name_url_slug?: string | null | undefined;
567
578
  }>>;
568
579
  declare const updateDatasetSchema: z.ZodPipe<z.ZodObject<{
580
+ org_id: z.ZodOptional<z.ZodUUID>;
569
581
  parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
570
- source: z.ZodOptional<z.ZodEnum<{
571
- web: "web";
572
- api: "api";
573
- }>>;
582
+ metadata: z.ZodOptional<z.ZodObject<{
583
+ table_name: z.ZodString;
584
+ schema: z.ZodDefault<z.ZodLiteral<"datasets">>;
585
+ columns: z.ZodArray<z.ZodString>;
586
+ doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
587
+ external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
588
+ paper_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
589
+ github_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
590
+ originality: z.ZodOptional<z.ZodEnum<{
591
+ original: "original";
592
+ derivative: "derivative";
593
+ "third-party": "third-party";
594
+ }>>;
595
+ source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
596
+ reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
597
+ type: z.ZodOptional<z.ZodString>;
598
+ size: z.ZodOptional<z.ZodNumber>;
599
+ path: z.ZodOptional<z.ZodString>;
600
+ extension: z.ZodOptional<z.ZodString>;
601
+ name: z.ZodOptional<z.ZodString>;
602
+ id: z.ZodOptional<z.ZodUUID>;
603
+ bucket: z.ZodOptional<z.ZodEnum<{
604
+ "public-files": "public-files";
605
+ files: "files";
606
+ }>>;
607
+ }, z.core.$strip>>;
608
+ name: z.ZodOptional<z.ZodString>;
609
+ team_id: z.ZodOptional<z.ZodUUID>;
574
610
  visibility: z.ZodOptional<z.ZodEnum<{
611
+ organization: "organization";
575
612
  public: "public";
576
613
  private: "private";
577
- organization: "organization";
578
614
  monetized: "monetized";
579
615
  inherit: "inherit";
580
616
  }>>;
617
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
618
+ json: z.ZodRecord<z.ZodString, z.ZodAny>;
619
+ text: z.ZodString;
620
+ }, z.core.$strip>>>>;
621
+ source: z.ZodOptional<z.ZodEnum<{
622
+ api: "api";
623
+ web: "web";
624
+ }>>;
581
625
  monetization: z.ZodOptional<z.ZodEnum<{
582
626
  none: "none";
583
627
  "pay-to-unlock": "pay-to-unlock";
@@ -585,17 +629,10 @@ declare const updateDatasetSchema: z.ZodPipe<z.ZodObject<{
585
629
  }>>;
586
630
  state: z.ZodOptional<z.ZodEnum<{
587
631
  success: "success";
588
- error: "error";
589
632
  queued: "queued";
590
633
  "in-progress": "in-progress";
634
+ error: "error";
591
635
  }>>;
592
- name: z.ZodOptional<z.ZodString>;
593
- org_id: z.ZodOptional<z.ZodUUID>;
594
- team_id: z.ZodOptional<z.ZodUUID>;
595
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
596
- json: z.ZodRecord<z.ZodString, z.ZodAny>;
597
- text: z.ZodString;
598
- }, z.core.$strip>>>>;
599
636
  parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
600
637
  license_id: z.ZodOptional<z.ZodString>;
601
638
  license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
@@ -614,61 +651,14 @@ declare const updateDatasetSchema: z.ZodPipe<z.ZodObject<{
614
651
  stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
615
652
  stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
616
653
  stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
617
- metadata: z.ZodOptional<z.ZodObject<{
618
- table_name: z.ZodString;
619
- schema: z.ZodDefault<z.ZodLiteral<"datasets">>;
620
- columns: z.ZodArray<z.ZodString>;
621
- doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
622
- external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
623
- paper_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
624
- github_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
625
- originality: z.ZodOptional<z.ZodEnum<{
626
- original: "original";
627
- derivative: "derivative";
628
- "third-party": "third-party";
629
- }>>;
630
- source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
631
- type: z.ZodOptional<z.ZodString>;
632
- size: z.ZodOptional<z.ZodNumber>;
633
- path: z.ZodOptional<z.ZodString>;
634
- extension: z.ZodOptional<z.ZodString>;
635
- name: z.ZodOptional<z.ZodString>;
636
- id: z.ZodOptional<z.ZodUUID>;
637
- bucket: z.ZodOptional<z.ZodEnum<{
638
- "public-files": "public-files";
639
- files: "files";
640
- }>>;
641
- }, z.core.$strip>>;
642
654
  preview: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>;
643
655
  asset_type: z.ZodDefault<z.ZodLiteral<"dataset">>;
644
656
  last_updated: z.ZodDefault<z.ZodString>;
645
657
  }, z.core.$strip>, z.ZodTransform<{
646
658
  asset_type: "dataset";
647
659
  last_updated: string;
648
- parent?: Record<string, any> | undefined;
649
- source?: "web" | "api" | undefined;
650
- visibility?: "public" | "private" | "organization" | "monetized" | "inherit" | undefined;
651
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
652
- state?: "success" | "error" | "queued" | "in-progress" | undefined;
653
- name?: string | undefined;
654
660
  org_id?: string | undefined;
655
- team_id?: string | undefined;
656
- description?: {
657
- json: Record<string, any>;
658
- text: string;
659
- } | null | undefined;
660
- parent_id?: string | null | undefined;
661
- license_id?: string | undefined;
662
- license?: Record<string, any> | undefined;
663
- name_url_slug?: string | null | undefined;
664
- price?: number | null | undefined;
665
- unit_cost?: number | null | undefined;
666
- cost_accounting?: "fixed" | "variable" | null | undefined;
667
- cost_unit?: string | null | undefined;
668
- price_currency?: "usd" | "btc" | undefined;
669
- stripe_product_id?: string | null | undefined;
670
- stripe_price_id?: string | null | undefined;
671
- stripe_meter_id?: string | null | undefined;
661
+ parent?: Record<string, any> | undefined;
672
662
  metadata?: {
673
663
  table_name: string;
674
664
  schema: "datasets";
@@ -679,6 +669,7 @@ declare const updateDatasetSchema: z.ZodPipe<z.ZodObject<{
679
669
  github_url?: string | null | undefined;
680
670
  originality?: "original" | "derivative" | "third-party" | undefined;
681
671
  source?: string | null | undefined;
672
+ reply_to_comment_id?: string | null | undefined;
682
673
  type?: string | undefined;
683
674
  size?: number | undefined;
684
675
  path?: string | undefined;
@@ -687,22 +678,16 @@ declare const updateDatasetSchema: z.ZodPipe<z.ZodObject<{
687
678
  id?: string | undefined;
688
679
  bucket?: "public-files" | "files" | undefined;
689
680
  } | undefined;
690
- preview?: Record<string, any>[] | undefined;
691
- }, {
692
- asset_type: "dataset";
693
- last_updated: string;
694
- parent?: Record<string, any> | undefined;
695
- source?: "web" | "api" | undefined;
696
- visibility?: "public" | "private" | "organization" | "monetized" | "inherit" | undefined;
697
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
698
- state?: "success" | "error" | "queued" | "in-progress" | undefined;
699
681
  name?: string | undefined;
700
- org_id?: string | undefined;
701
682
  team_id?: string | undefined;
683
+ visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
702
684
  description?: {
703
685
  json: Record<string, any>;
704
686
  text: string;
705
687
  } | null | undefined;
688
+ source?: "api" | "web" | undefined;
689
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
690
+ state?: "success" | "queued" | "in-progress" | "error" | undefined;
706
691
  parent_id?: string | null | undefined;
707
692
  license_id?: string | undefined;
708
693
  license?: Record<string, any> | undefined;
@@ -715,6 +700,12 @@ declare const updateDatasetSchema: z.ZodPipe<z.ZodObject<{
715
700
  stripe_product_id?: string | null | undefined;
716
701
  stripe_price_id?: string | null | undefined;
717
702
  stripe_meter_id?: string | null | undefined;
703
+ preview?: Record<string, any>[] | undefined;
704
+ }, {
705
+ asset_type: "dataset";
706
+ last_updated: string;
707
+ org_id?: string | undefined;
708
+ parent?: Record<string, any> | undefined;
718
709
  metadata?: {
719
710
  table_name: string;
720
711
  schema: "datasets";
@@ -725,6 +716,7 @@ declare const updateDatasetSchema: z.ZodPipe<z.ZodObject<{
725
716
  github_url?: string | null | undefined;
726
717
  originality?: "original" | "derivative" | "third-party" | undefined;
727
718
  source?: string | null | undefined;
719
+ reply_to_comment_id?: string | null | undefined;
728
720
  type?: string | undefined;
729
721
  size?: number | undefined;
730
722
  path?: string | undefined;
@@ -733,6 +725,28 @@ declare const updateDatasetSchema: z.ZodPipe<z.ZodObject<{
733
725
  id?: string | undefined;
734
726
  bucket?: "public-files" | "files" | undefined;
735
727
  } | undefined;
728
+ name?: string | undefined;
729
+ team_id?: string | undefined;
730
+ visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
731
+ description?: {
732
+ json: Record<string, any>;
733
+ text: string;
734
+ } | null | undefined;
735
+ source?: "api" | "web" | undefined;
736
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
737
+ state?: "success" | "queued" | "in-progress" | "error" | undefined;
738
+ parent_id?: string | null | undefined;
739
+ license_id?: string | undefined;
740
+ license?: Record<string, any> | undefined;
741
+ name_url_slug?: string | null | undefined;
742
+ price?: number | null | undefined;
743
+ unit_cost?: number | null | undefined;
744
+ cost_accounting?: "fixed" | "variable" | null | undefined;
745
+ cost_unit?: string | null | undefined;
746
+ price_currency?: "usd" | "btc" | undefined;
747
+ stripe_product_id?: string | null | undefined;
748
+ stripe_price_id?: string | null | undefined;
749
+ stripe_meter_id?: string | null | undefined;
736
750
  preview?: Record<string, any>[] | undefined;
737
751
  }>>;
738
752