@ourofoundation/ouro-js 3.3.0 → 3.4.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 (49) hide show
  1. package/dist/chunk-36UOEIZN.js +2 -0
  2. package/dist/chunk-36UOEIZN.js.map +1 -0
  3. package/dist/chunk-4KDHR4VP.js +2 -0
  4. package/dist/chunk-4KDHR4VP.js.map +1 -0
  5. package/dist/chunk-IU7AKVYI.cjs +2 -0
  6. package/dist/chunk-IU7AKVYI.cjs.map +1 -0
  7. package/dist/chunk-NRZCTFCQ.cjs +2 -0
  8. package/dist/chunk-NRZCTFCQ.cjs.map +1 -0
  9. package/dist/index.cjs +1 -1
  10. package/dist/index.d.cts +2 -1
  11. package/dist/index.d.ts +2 -1
  12. package/dist/index.js +1 -1
  13. package/dist/schema/assets.d.cts +84 -84
  14. package/dist/schema/assets.d.ts +84 -84
  15. package/dist/schema/comments.d.cts +136 -136
  16. package/dist/schema/comments.d.ts +136 -136
  17. package/dist/schema/common.d.cts +16 -16
  18. package/dist/schema/common.d.ts +16 -16
  19. package/dist/schema/conversations.d.cts +69 -69
  20. package/dist/schema/conversations.d.ts +69 -69
  21. package/dist/schema/datasets.d.cts +106 -106
  22. package/dist/schema/datasets.d.ts +106 -106
  23. package/dist/schema/files.d.cts +100 -100
  24. package/dist/schema/files.d.ts +100 -100
  25. package/dist/schema/notifications.d.cts +2 -2
  26. package/dist/schema/notifications.d.ts +2 -2
  27. package/dist/schema/organizations.d.cts +1 -1
  28. package/dist/schema/organizations.d.ts +1 -1
  29. package/dist/schema/posts.d.cts +127 -127
  30. package/dist/schema/posts.d.ts +127 -127
  31. package/dist/schema/quests.cjs +2 -0
  32. package/dist/schema/quests.cjs.map +1 -0
  33. package/dist/schema/quests.d.cts +1140 -0
  34. package/dist/schema/quests.d.ts +1140 -0
  35. package/dist/schema/quests.js +2 -0
  36. package/dist/schema/quests.js.map +1 -0
  37. package/dist/schema/services.cjs +1 -1
  38. package/dist/schema/services.d.cts +159 -120
  39. package/dist/schema/services.d.ts +159 -120
  40. package/dist/schema/services.js +1 -1
  41. package/dist/schema/tags.d.cts +7 -7
  42. package/dist/schema/tags.d.ts +7 -7
  43. package/dist/schema/teams.d.cts +18 -18
  44. package/dist/schema/teams.d.ts +18 -18
  45. package/package.json +1 -1
  46. package/dist/chunk-42EQ7ULD.cjs +0 -2
  47. package/dist/chunk-42EQ7ULD.cjs.map +0 -1
  48. package/dist/chunk-FDKZIS34.js +0 -2
  49. package/dist/chunk-FDKZIS34.js.map +0 -1
@@ -108,9 +108,9 @@ declare const DatasetSchema: z.ZodObject<{
108
108
  none: "none";
109
109
  }>>;
110
110
  visibility: z.ZodOptional<z.ZodEnum<{
111
+ organization: "organization";
111
112
  public: "public";
112
113
  private: "private";
113
- organization: "organization";
114
114
  monetized: "monetized";
115
115
  inherit: "inherit";
116
116
  }>>;
@@ -182,9 +182,9 @@ declare const DatasetSchema: z.ZodObject<{
182
182
  text: z.ZodString;
183
183
  }, z.core.$strip>>>;
184
184
  visibility: z.ZodEnum<{
185
+ organization: "organization";
185
186
  public: "public";
186
187
  private: "private";
187
- organization: "organization";
188
188
  monetized: "monetized";
189
189
  inherit: "inherit";
190
190
  }>;
@@ -209,14 +209,14 @@ declare const DatasetSchema: z.ZodObject<{
209
209
  stripe_meter_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
210
210
  state: z.ZodEnum<{
211
211
  success: "success";
212
- error: "error";
213
212
  queued: "queued";
214
213
  "in-progress": "in-progress";
215
214
  "timed-out": "timed-out";
215
+ error: "error";
216
216
  }>;
217
217
  source: z.ZodEnum<{
218
- web: "web";
219
218
  api: "api";
219
+ web: "web";
220
220
  }>;
221
221
  created_at: z.ZodString;
222
222
  last_updated: z.ZodString;
@@ -251,15 +251,15 @@ declare const DatasetSchema: z.ZodObject<{
251
251
  }, z.core.$strip>;
252
252
  declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
253
253
  parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
254
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
255
+ json: z.ZodRecord<z.ZodString, z.ZodAny>;
256
+ text: z.ZodString;
257
+ }, z.core.$strip>>>>;
254
258
  monetization: z.ZodOptional<z.ZodEnum<{
255
259
  none: "none";
256
260
  "pay-to-unlock": "pay-to-unlock";
257
261
  "pay-per-use": "pay-per-use";
258
262
  }>>;
259
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
260
- json: z.ZodRecord<z.ZodString, z.ZodAny>;
261
- text: z.ZodString;
262
- }, z.core.$strip>>>>;
263
263
  parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
264
264
  license_id: z.ZodOptional<z.ZodString>;
265
265
  price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
@@ -283,19 +283,19 @@ declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
283
283
  name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
284
284
  state: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
285
285
  success: "success";
286
- error: "error";
287
286
  queued: "queued";
288
287
  "in-progress": "in-progress";
289
288
  "timed-out": "timed-out";
289
+ error: "error";
290
290
  }>>>;
291
291
  source: z.ZodDefault<z.ZodEnum<{
292
- web: "web";
293
292
  api: "api";
293
+ web: "web";
294
294
  }>>;
295
295
  visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
296
+ organization: "organization";
296
297
  public: "public";
297
298
  private: "private";
298
- organization: "organization";
299
299
  monetized: "monetized";
300
300
  inherit: "inherit";
301
301
  }>>>;
@@ -334,9 +334,9 @@ declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
334
334
  team_id: string | null;
335
335
  org_id: string | null;
336
336
  name: string;
337
- state: "success" | "error" | "queued" | "in-progress" | "timed-out";
338
- source: "web" | "api";
339
- visibility: "public" | "private" | "organization" | "monetized" | "inherit";
337
+ state: "success" | "queued" | "in-progress" | "timed-out" | "error";
338
+ source: "api" | "web";
339
+ visibility: "organization" | "public" | "private" | "monetized" | "inherit";
340
340
  created_at: string;
341
341
  last_updated: string;
342
342
  asset_type: "dataset";
@@ -361,11 +361,11 @@ declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
361
361
  };
362
362
  preview: Record<string, any>[];
363
363
  parent?: Record<string, any> | undefined;
364
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
365
364
  description?: {
366
365
  json: Record<string, any>;
367
366
  text: string;
368
367
  } | null | undefined;
368
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
369
369
  parent_id?: string | null | undefined;
370
370
  license_id?: string | undefined;
371
371
  price?: number | null | undefined;
@@ -382,9 +382,9 @@ declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
382
382
  team_id: string | null;
383
383
  org_id: string | null;
384
384
  name: string;
385
- state: "success" | "error" | "queued" | "in-progress" | "timed-out";
386
- source: "web" | "api";
387
- visibility: "public" | "private" | "organization" | "monetized" | "inherit";
385
+ state: "success" | "queued" | "in-progress" | "timed-out" | "error";
386
+ source: "api" | "web";
387
+ visibility: "organization" | "public" | "private" | "monetized" | "inherit";
388
388
  created_at: string;
389
389
  last_updated: string;
390
390
  asset_type: "dataset";
@@ -409,11 +409,11 @@ declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
409
409
  };
410
410
  preview: Record<string, any>[];
411
411
  parent?: Record<string, any> | undefined;
412
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
413
412
  description?: {
414
413
  json: Record<string, any>;
415
414
  text: string;
416
415
  } | null | undefined;
416
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
417
417
  parent_id?: string | null | undefined;
418
418
  license_id?: string | undefined;
419
419
  price?: number | null | undefined;
@@ -428,15 +428,15 @@ declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
428
428
  }>>;
429
429
  declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
430
430
  parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
431
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
432
+ json: z.ZodRecord<z.ZodString, z.ZodAny>;
433
+ text: z.ZodString;
434
+ }, z.core.$strip>>>>;
431
435
  monetization: z.ZodOptional<z.ZodEnum<{
432
436
  none: "none";
433
437
  "pay-to-unlock": "pay-to-unlock";
434
438
  "pay-per-use": "pay-per-use";
435
439
  }>>;
436
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
437
- json: z.ZodRecord<z.ZodString, z.ZodAny>;
438
- text: z.ZodString;
439
- }, z.core.$strip>>>>;
440
440
  parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
441
441
  license_id: z.ZodOptional<z.ZodString>;
442
442
  price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
@@ -460,19 +460,19 @@ declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
460
460
  name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
461
461
  state: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
462
462
  success: "success";
463
- error: "error";
464
463
  queued: "queued";
465
464
  "in-progress": "in-progress";
466
465
  "timed-out": "timed-out";
466
+ error: "error";
467
467
  }>>>;
468
468
  source: z.ZodDefault<z.ZodEnum<{
469
- web: "web";
470
469
  api: "api";
470
+ web: "web";
471
471
  }>>;
472
472
  visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
473
+ organization: "organization";
473
474
  public: "public";
474
475
  private: "private";
475
- organization: "organization";
476
476
  monetized: "monetized";
477
477
  inherit: "inherit";
478
478
  }>>>;
@@ -501,9 +501,9 @@ declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
501
501
  team_id: string | null;
502
502
  org_id: string | null;
503
503
  name: string;
504
- state: "success" | "error" | "queued" | "in-progress" | "timed-out";
505
- source: "web" | "api";
506
- visibility: "public" | "private" | "organization" | "monetized" | "inherit";
504
+ state: "success" | "queued" | "in-progress" | "timed-out" | "error";
505
+ source: "api" | "web";
506
+ visibility: "organization" | "public" | "private" | "monetized" | "inherit";
507
507
  created_at: string;
508
508
  last_updated: string;
509
509
  asset_type: "dataset";
@@ -521,11 +521,11 @@ declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
521
521
  };
522
522
  preview: Record<string, any>[];
523
523
  parent?: Record<string, any> | undefined;
524
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
525
524
  description?: {
526
525
  json: Record<string, any>;
527
526
  text: string;
528
527
  } | null | undefined;
528
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
529
529
  parent_id?: string | null | undefined;
530
530
  license_id?: string | undefined;
531
531
  price?: number | null | undefined;
@@ -542,9 +542,9 @@ declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
542
542
  team_id: string | null;
543
543
  org_id: string | null;
544
544
  name: string;
545
- state: "success" | "error" | "queued" | "in-progress" | "timed-out";
546
- source: "web" | "api";
547
- visibility: "public" | "private" | "organization" | "monetized" | "inherit";
545
+ state: "success" | "queued" | "in-progress" | "timed-out" | "error";
546
+ source: "api" | "web";
547
+ visibility: "organization" | "public" | "private" | "monetized" | "inherit";
548
548
  created_at: string;
549
549
  last_updated: string;
550
550
  asset_type: "dataset";
@@ -562,11 +562,11 @@ declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
562
562
  };
563
563
  preview: Record<string, any>[];
564
564
  parent?: Record<string, any> | undefined;
565
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
566
565
  description?: {
567
566
  json: Record<string, any>;
568
567
  text: string;
569
568
  } | null | undefined;
569
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
570
570
  parent_id?: string | null | undefined;
571
571
  license_id?: string | undefined;
572
572
  price?: number | null | undefined;
@@ -580,18 +580,51 @@ declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
580
580
  name_url_slug?: string | null | undefined;
581
581
  }>>;
582
582
  declare const updateDatasetSchema: z.ZodPipe<z.ZodObject<{
583
+ org_id: z.ZodOptional<z.ZodUUID>;
583
584
  parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
584
- source: z.ZodOptional<z.ZodEnum<{
585
- web: "web";
586
- api: "api";
587
- }>>;
585
+ metadata: z.ZodOptional<z.ZodObject<{
586
+ table_name: z.ZodString;
587
+ schema: z.ZodDefault<z.ZodLiteral<"datasets">>;
588
+ columns: z.ZodArray<z.ZodString>;
589
+ doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
590
+ external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
591
+ paper_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
592
+ github_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
593
+ originality: z.ZodOptional<z.ZodEnum<{
594
+ original: "original";
595
+ derivative: "derivative";
596
+ "third-party": "third-party";
597
+ }>>;
598
+ source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
599
+ reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
600
+ type: z.ZodOptional<z.ZodString>;
601
+ size: z.ZodOptional<z.ZodNumber>;
602
+ path: z.ZodOptional<z.ZodString>;
603
+ extension: z.ZodOptional<z.ZodString>;
604
+ name: z.ZodOptional<z.ZodString>;
605
+ id: z.ZodOptional<z.ZodUUID>;
606
+ bucket: z.ZodOptional<z.ZodEnum<{
607
+ "public-files": "public-files";
608
+ files: "files";
609
+ }>>;
610
+ }, z.core.$strip>>;
611
+ name: z.ZodOptional<z.ZodString>;
612
+ team_id: z.ZodOptional<z.ZodUUID>;
588
613
  visibility: z.ZodOptional<z.ZodEnum<{
614
+ organization: "organization";
589
615
  public: "public";
590
616
  private: "private";
591
- organization: "organization";
592
617
  monetized: "monetized";
593
618
  inherit: "inherit";
594
619
  }>>;
620
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
621
+ json: z.ZodRecord<z.ZodString, z.ZodAny>;
622
+ text: z.ZodString;
623
+ }, z.core.$strip>>>>;
624
+ source: z.ZodOptional<z.ZodEnum<{
625
+ api: "api";
626
+ web: "web";
627
+ }>>;
595
628
  monetization: z.ZodOptional<z.ZodEnum<{
596
629
  none: "none";
597
630
  "pay-to-unlock": "pay-to-unlock";
@@ -599,18 +632,11 @@ declare const updateDatasetSchema: z.ZodPipe<z.ZodObject<{
599
632
  }>>;
600
633
  state: z.ZodOptional<z.ZodEnum<{
601
634
  success: "success";
602
- error: "error";
603
635
  queued: "queued";
604
636
  "in-progress": "in-progress";
605
637
  "timed-out": "timed-out";
638
+ error: "error";
606
639
  }>>;
607
- name: z.ZodOptional<z.ZodString>;
608
- org_id: z.ZodOptional<z.ZodUUID>;
609
- team_id: z.ZodOptional<z.ZodUUID>;
610
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
611
- json: z.ZodRecord<z.ZodString, z.ZodAny>;
612
- text: z.ZodString;
613
- }, z.core.$strip>>>>;
614
640
  parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
615
641
  license_id: z.ZodOptional<z.ZodString>;
616
642
  license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
@@ -629,62 +655,14 @@ declare const updateDatasetSchema: z.ZodPipe<z.ZodObject<{
629
655
  stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
630
656
  stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
631
657
  stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
632
- metadata: z.ZodOptional<z.ZodObject<{
633
- table_name: z.ZodString;
634
- schema: z.ZodDefault<z.ZodLiteral<"datasets">>;
635
- columns: z.ZodArray<z.ZodString>;
636
- doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
637
- external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
638
- paper_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
639
- github_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
640
- originality: z.ZodOptional<z.ZodEnum<{
641
- original: "original";
642
- derivative: "derivative";
643
- "third-party": "third-party";
644
- }>>;
645
- source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
646
- reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
647
- type: z.ZodOptional<z.ZodString>;
648
- size: z.ZodOptional<z.ZodNumber>;
649
- path: z.ZodOptional<z.ZodString>;
650
- extension: z.ZodOptional<z.ZodString>;
651
- name: z.ZodOptional<z.ZodString>;
652
- id: z.ZodOptional<z.ZodUUID>;
653
- bucket: z.ZodOptional<z.ZodEnum<{
654
- "public-files": "public-files";
655
- files: "files";
656
- }>>;
657
- }, z.core.$strip>>;
658
658
  preview: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>;
659
659
  asset_type: z.ZodDefault<z.ZodLiteral<"dataset">>;
660
660
  last_updated: z.ZodDefault<z.ZodString>;
661
661
  }, z.core.$strip>, z.ZodTransform<{
662
662
  asset_type: "dataset";
663
663
  last_updated: string;
664
- parent?: Record<string, any> | undefined;
665
- source?: "web" | "api" | undefined;
666
- visibility?: "public" | "private" | "organization" | "monetized" | "inherit" | undefined;
667
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
668
- state?: "success" | "error" | "queued" | "in-progress" | "timed-out" | undefined;
669
- name?: string | undefined;
670
664
  org_id?: string | undefined;
671
- team_id?: string | undefined;
672
- description?: {
673
- json: Record<string, any>;
674
- text: string;
675
- } | null | undefined;
676
- parent_id?: string | null | undefined;
677
- license_id?: string | undefined;
678
- license?: Record<string, any> | undefined;
679
- name_url_slug?: string | null | undefined;
680
- price?: number | null | undefined;
681
- unit_cost?: number | null | undefined;
682
- cost_accounting?: "fixed" | "variable" | null | undefined;
683
- cost_unit?: string | null | undefined;
684
- price_currency?: "usd" | "btc" | undefined;
685
- stripe_product_id?: string | null | undefined;
686
- stripe_price_id?: string | null | undefined;
687
- stripe_meter_id?: string | null | undefined;
665
+ parent?: Record<string, any> | undefined;
688
666
  metadata?: {
689
667
  table_name: string;
690
668
  schema: "datasets";
@@ -704,22 +682,16 @@ declare const updateDatasetSchema: z.ZodPipe<z.ZodObject<{
704
682
  id?: string | undefined;
705
683
  bucket?: "public-files" | "files" | undefined;
706
684
  } | undefined;
707
- preview?: Record<string, any>[] | undefined;
708
- }, {
709
- asset_type: "dataset";
710
- last_updated: string;
711
- parent?: Record<string, any> | undefined;
712
- source?: "web" | "api" | undefined;
713
- visibility?: "public" | "private" | "organization" | "monetized" | "inherit" | undefined;
714
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
715
- state?: "success" | "error" | "queued" | "in-progress" | "timed-out" | undefined;
716
685
  name?: string | undefined;
717
- org_id?: string | undefined;
718
686
  team_id?: string | undefined;
687
+ visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
719
688
  description?: {
720
689
  json: Record<string, any>;
721
690
  text: string;
722
691
  } | null | undefined;
692
+ source?: "api" | "web" | undefined;
693
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
694
+ state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
723
695
  parent_id?: string | null | undefined;
724
696
  license_id?: string | undefined;
725
697
  license?: Record<string, any> | undefined;
@@ -732,6 +704,12 @@ declare const updateDatasetSchema: z.ZodPipe<z.ZodObject<{
732
704
  stripe_product_id?: string | null | undefined;
733
705
  stripe_price_id?: string | null | undefined;
734
706
  stripe_meter_id?: string | null | undefined;
707
+ preview?: Record<string, any>[] | undefined;
708
+ }, {
709
+ asset_type: "dataset";
710
+ last_updated: string;
711
+ org_id?: string | undefined;
712
+ parent?: Record<string, any> | undefined;
735
713
  metadata?: {
736
714
  table_name: string;
737
715
  schema: "datasets";
@@ -751,6 +729,28 @@ declare const updateDatasetSchema: z.ZodPipe<z.ZodObject<{
751
729
  id?: string | undefined;
752
730
  bucket?: "public-files" | "files" | undefined;
753
731
  } | undefined;
732
+ name?: string | undefined;
733
+ team_id?: string | undefined;
734
+ visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
735
+ description?: {
736
+ json: Record<string, any>;
737
+ text: string;
738
+ } | null | undefined;
739
+ source?: "api" | "web" | undefined;
740
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
741
+ state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
742
+ parent_id?: string | null | undefined;
743
+ license_id?: string | undefined;
744
+ license?: Record<string, any> | undefined;
745
+ name_url_slug?: string | null | undefined;
746
+ price?: number | null | undefined;
747
+ unit_cost?: number | null | undefined;
748
+ cost_accounting?: "fixed" | "variable" | null | undefined;
749
+ cost_unit?: string | null | undefined;
750
+ price_currency?: "usd" | "btc" | undefined;
751
+ stripe_product_id?: string | null | undefined;
752
+ stripe_price_id?: string | null | undefined;
753
+ stripe_meter_id?: string | null | undefined;
754
754
  preview?: Record<string, any>[] | undefined;
755
755
  }>>;
756
756