@ourofoundation/ouro-js 3.7.0 → 3.7.2

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 (97) hide show
  1. package/dist/chunk-2BABFO5H.js +2 -0
  2. package/dist/chunk-2BABFO5H.js.map +1 -0
  3. package/dist/{chunk-HW6FGPTA.cjs → chunk-2KXX5JF6.cjs} +2 -2
  4. package/dist/{chunk-HW6FGPTA.cjs.map → chunk-2KXX5JF6.cjs.map} +1 -1
  5. package/dist/chunk-CPA7CZ7T.cjs +2 -0
  6. package/dist/chunk-CPA7CZ7T.cjs.map +1 -0
  7. package/dist/{chunk-QSOXS57A.cjs → chunk-G5V2WTN5.cjs} +2 -2
  8. package/dist/{chunk-QSOXS57A.cjs.map → chunk-G5V2WTN5.cjs.map} +1 -1
  9. package/dist/chunk-IL3WA4D7.js +2 -0
  10. package/dist/{chunk-QBL6KIST.js.map → chunk-IL3WA4D7.js.map} +1 -1
  11. package/dist/chunk-LYP7DPZ3.js +2 -0
  12. package/dist/{chunk-7EKD5NQB.js.map → chunk-LYP7DPZ3.js.map} +1 -1
  13. package/dist/chunk-MWNVL2DD.js +2 -0
  14. package/dist/chunk-MWNVL2DD.js.map +1 -0
  15. package/dist/chunk-N74Y47X7.js +2 -0
  16. package/dist/chunk-N74Y47X7.js.map +1 -0
  17. package/dist/{chunk-IVO3RQUN.cjs → chunk-O5CY3JW3.cjs} +2 -2
  18. package/dist/{chunk-IVO3RQUN.cjs.map → chunk-O5CY3JW3.cjs.map} +1 -1
  19. package/dist/{chunk-JUELSRCY.js → chunk-OBXAWON7.js} +2 -2
  20. package/dist/{chunk-JUELSRCY.js.map → chunk-OBXAWON7.js.map} +1 -1
  21. package/dist/{chunk-DY5QSBE4.js → chunk-OWS6VJJ2.js} +2 -2
  22. package/dist/{chunk-DY5QSBE4.js.map → chunk-OWS6VJJ2.js.map} +1 -1
  23. package/dist/{chunk-NTWSEN2H.cjs → chunk-PN763DHR.cjs} +2 -2
  24. package/dist/{chunk-NTWSEN2H.cjs.map → chunk-PN763DHR.cjs.map} +1 -1
  25. package/dist/{chunk-5EQ5LO7V.cjs → chunk-PPZZKUF6.cjs} +2 -2
  26. package/dist/chunk-PPZZKUF6.cjs.map +1 -0
  27. package/dist/chunk-QJG6O5OT.cjs +2 -0
  28. package/dist/chunk-QJG6O5OT.cjs.map +1 -0
  29. package/dist/chunk-R7YOQNVS.js +2 -0
  30. package/dist/{chunk-ZC2VDKSH.js.map → chunk-R7YOQNVS.js.map} +1 -1
  31. package/dist/{chunk-TMNFNVTZ.js → chunk-S5VZHGMV.js} +2 -2
  32. package/dist/{chunk-TMNFNVTZ.js.map → chunk-S5VZHGMV.js.map} +1 -1
  33. package/dist/{chunk-QNERXSMJ.cjs → chunk-VPYKCTVU.cjs} +2 -2
  34. package/dist/{chunk-QNERXSMJ.cjs.map → chunk-VPYKCTVU.cjs.map} +1 -1
  35. package/dist/{chunk-AI2FA44G.cjs → chunk-Y6EN5F74.cjs} +2 -2
  36. package/dist/{chunk-AI2FA44G.cjs.map → chunk-Y6EN5F74.cjs.map} +1 -1
  37. package/dist/{chunk-57RRLX7P.cjs → chunk-YCK6Y3BF.cjs} +2 -2
  38. package/dist/{chunk-57RRLX7P.cjs.map → chunk-YCK6Y3BF.cjs.map} +1 -1
  39. package/dist/{chunk-RD6EPK44.js → chunk-YXVAFJZH.js} +2 -2
  40. package/dist/{chunk-RD6EPK44.js.map → chunk-YXVAFJZH.js.map} +1 -1
  41. package/dist/index.cjs +1 -1
  42. package/dist/index.d.cts +1 -1
  43. package/dist/index.d.ts +1 -1
  44. package/dist/index.js +1 -1
  45. package/dist/schema/assets.cjs +1 -1
  46. package/dist/schema/assets.d.cts +123 -84
  47. package/dist/schema/assets.d.ts +123 -84
  48. package/dist/schema/assets.js +1 -1
  49. package/dist/schema/comments.cjs +1 -1
  50. package/dist/schema/comments.d.cts +78 -42
  51. package/dist/schema/comments.d.ts +78 -42
  52. package/dist/schema/comments.js +1 -1
  53. package/dist/schema/conversations.cjs +1 -1
  54. package/dist/schema/conversations.d.cts +173 -101
  55. package/dist/schema/conversations.d.ts +173 -101
  56. package/dist/schema/conversations.js +1 -1
  57. package/dist/schema/datasets.cjs +1 -1
  58. package/dist/schema/datasets.d.cts +239 -167
  59. package/dist/schema/datasets.d.ts +239 -167
  60. package/dist/schema/datasets.js +1 -1
  61. package/dist/schema/events.cjs +1 -1
  62. package/dist/schema/events.d.cts +6 -1
  63. package/dist/schema/events.d.ts +6 -1
  64. package/dist/schema/events.js +1 -1
  65. package/dist/schema/files.cjs +1 -1
  66. package/dist/schema/files.d.cts +219 -147
  67. package/dist/schema/files.d.ts +219 -147
  68. package/dist/schema/files.js +1 -1
  69. package/dist/schema/posts.cjs +1 -1
  70. package/dist/schema/posts.d.cts +152 -116
  71. package/dist/schema/posts.d.ts +152 -116
  72. package/dist/schema/posts.js +1 -1
  73. package/dist/schema/quests.cjs +1 -1
  74. package/dist/schema/quests.d.cts +156 -120
  75. package/dist/schema/quests.d.ts +156 -120
  76. package/dist/schema/quests.js +1 -1
  77. package/dist/schema/services.cjs +1 -1
  78. package/dist/schema/services.d.cts +156 -120
  79. package/dist/schema/services.d.ts +156 -120
  80. package/dist/schema/services.js +1 -1
  81. package/dist/utils/quest-submission.cjs +1 -1
  82. package/dist/utils/quest-submission.js +1 -1
  83. package/package.json +2 -2
  84. package/dist/chunk-5EQ5LO7V.cjs.map +0 -1
  85. package/dist/chunk-7EKD5NQB.js +0 -2
  86. package/dist/chunk-FLOHG4H4.cjs +0 -2
  87. package/dist/chunk-FLOHG4H4.cjs.map +0 -1
  88. package/dist/chunk-ITF5WQQB.js +0 -2
  89. package/dist/chunk-ITF5WQQB.js.map +0 -1
  90. package/dist/chunk-QBL6KIST.js +0 -2
  91. package/dist/chunk-SY5IKIT6.cjs +0 -2
  92. package/dist/chunk-SY5IKIT6.cjs.map +0 -1
  93. package/dist/chunk-TGOXRPF5.js +0 -2
  94. package/dist/chunk-TGOXRPF5.js.map +0 -1
  95. package/dist/chunk-X2PI5PAT.js +0 -2
  96. package/dist/chunk-X2PI5PAT.js.map +0 -1
  97. package/dist/chunk-ZC2VDKSH.js +0 -2
@@ -348,7 +348,7 @@ declare const DatasetSchema: z.ZodObject<{
348
348
  stripe_product_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
349
349
  stripe_price_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
350
350
  stripe_meter_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
351
- attribution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
351
+ attribution: z.ZodObject<{
352
352
  originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
353
353
  original: "original";
354
354
  derivative: "derivative";
@@ -376,7 +376,7 @@ declare const DatasetSchema: z.ZodObject<{
376
376
  IsIdenticalTo: "IsIdenticalTo";
377
377
  }>>>;
378
378
  doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
379
- }, z.core.$strip>>>;
379
+ }, z.core.$strip>;
380
380
  state: z.ZodEnum<{
381
381
  success: "success";
382
382
  queued: "queued";
@@ -460,7 +460,30 @@ declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
460
460
  stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
461
461
  stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
462
462
  stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
463
- attribution: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
463
+ id: z.ZodDefault<z.ZodUUID>;
464
+ team_id: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
465
+ org_id: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
466
+ name: z.ZodString;
467
+ name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
468
+ state: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
469
+ success: "success";
470
+ queued: "queued";
471
+ "in-progress": "in-progress";
472
+ "timed-out": "timed-out";
473
+ error: "error";
474
+ }>>>;
475
+ source: z.ZodDefault<z.ZodEnum<{
476
+ api: "api";
477
+ web: "web";
478
+ }>>;
479
+ visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
480
+ organization: "organization";
481
+ public: "public";
482
+ private: "private";
483
+ monetized: "monetized";
484
+ inherit: "inherit";
485
+ }>>>;
486
+ attribution: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
464
487
  originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
465
488
  original: "original";
466
489
  derivative: "derivative";
@@ -488,30 +511,43 @@ declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
488
511
  IsIdenticalTo: "IsIdenticalTo";
489
512
  }>>>;
490
513
  doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
491
- }, z.core.$strip>>>>;
492
- id: z.ZodDefault<z.ZodUUID>;
493
- team_id: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
494
- org_id: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
495
- name: z.ZodString;
496
- name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
497
- state: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
498
- success: "success";
499
- queued: "queued";
500
- "in-progress": "in-progress";
501
- "timed-out": "timed-out";
502
- error: "error";
503
- }>>>;
504
- source: z.ZodDefault<z.ZodEnum<{
505
- api: "api";
506
- web: "web";
507
- }>>;
508
- visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
509
- organization: "organization";
510
- public: "public";
511
- private: "private";
512
- monetized: "monetized";
513
- inherit: "inherit";
514
- }>>>;
514
+ }, z.core.$strip>>>, z.ZodTransform<{
515
+ originality: "original" | "derivative" | "third-party";
516
+ external_url?: string | null | undefined;
517
+ github_url?: string | null | undefined;
518
+ paper_url?: string | null | undefined;
519
+ doi_url?: string | null | undefined;
520
+ citation?: {
521
+ doi?: string | null | undefined;
522
+ title?: string | null | undefined;
523
+ authors?: string[] | null | undefined;
524
+ year?: number | null | undefined;
525
+ venue?: string | null | undefined;
526
+ url?: string | null | undefined;
527
+ bibtex?: string | null | undefined;
528
+ source?: string | null | undefined;
529
+ } | null | undefined;
530
+ relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
531
+ doi?: string | null | undefined;
532
+ }, {
533
+ originality: "original" | "derivative" | "third-party";
534
+ external_url?: string | null | undefined;
535
+ github_url?: string | null | undefined;
536
+ paper_url?: string | null | undefined;
537
+ doi_url?: string | null | undefined;
538
+ citation?: {
539
+ doi?: string | null | undefined;
540
+ title?: string | null | undefined;
541
+ authors?: string[] | null | undefined;
542
+ year?: number | null | undefined;
543
+ venue?: string | null | undefined;
544
+ url?: string | null | undefined;
545
+ bibtex?: string | null | undefined;
546
+ source?: string | null | undefined;
547
+ } | null | undefined;
548
+ relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
549
+ doi?: string | null | undefined;
550
+ } | null | undefined>>;
515
551
  created_at: z.ZodDefault<z.ZodString>;
516
552
  last_updated: z.ZodDefault<z.ZodString>;
517
553
  asset_type: z.ZodDefault<z.ZodLiteral<"dataset">>;
@@ -563,6 +599,25 @@ declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
563
599
  state: "success" | "queued" | "in-progress" | "timed-out" | "error";
564
600
  source: "api" | "web";
565
601
  visibility: "organization" | "public" | "private" | "monetized" | "inherit";
602
+ attribution: {
603
+ originality: "original" | "derivative" | "third-party";
604
+ external_url?: string | null | undefined;
605
+ github_url?: string | null | undefined;
606
+ paper_url?: string | null | undefined;
607
+ doi_url?: string | null | undefined;
608
+ citation?: {
609
+ doi?: string | null | undefined;
610
+ title?: string | null | undefined;
611
+ authors?: string[] | null | undefined;
612
+ year?: number | null | undefined;
613
+ venue?: string | null | undefined;
614
+ url?: string | null | undefined;
615
+ bibtex?: string | null | undefined;
616
+ source?: string | null | undefined;
617
+ } | null | undefined;
618
+ relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
619
+ doi?: string | null | undefined;
620
+ };
566
621
  created_at: string;
567
622
  last_updated: string;
568
623
  asset_type: "dataset";
@@ -604,7 +659,16 @@ declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
604
659
  stripe_product_id?: string | null | undefined;
605
660
  stripe_price_id?: string | null | undefined;
606
661
  stripe_meter_id?: string | null | undefined;
607
- attribution?: {
662
+ name_url_slug?: string | null | undefined;
663
+ }, {
664
+ id: string;
665
+ team_id: string | null;
666
+ org_id: string | null;
667
+ name: string;
668
+ state: "success" | "queued" | "in-progress" | "timed-out" | "error";
669
+ source: "api" | "web";
670
+ visibility: "organization" | "public" | "private" | "monetized" | "inherit";
671
+ attribution: {
608
672
  originality: "original" | "derivative" | "third-party";
609
673
  external_url?: string | null | undefined;
610
674
  github_url?: string | null | undefined;
@@ -622,16 +686,7 @@ declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
622
686
  } | null | undefined;
623
687
  relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
624
688
  doi?: string | null | undefined;
625
- } | null | undefined;
626
- name_url_slug?: string | null | undefined;
627
- }, {
628
- id: string;
629
- team_id: string | null;
630
- org_id: string | null;
631
- name: string;
632
- state: "success" | "queued" | "in-progress" | "timed-out" | "error";
633
- source: "api" | "web";
634
- visibility: "organization" | "public" | "private" | "monetized" | "inherit";
689
+ };
635
690
  created_at: string;
636
691
  last_updated: string;
637
692
  asset_type: "dataset";
@@ -673,25 +728,6 @@ declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
673
728
  stripe_product_id?: string | null | undefined;
674
729
  stripe_price_id?: string | null | undefined;
675
730
  stripe_meter_id?: string | null | undefined;
676
- attribution?: {
677
- originality: "original" | "derivative" | "third-party";
678
- external_url?: string | null | undefined;
679
- github_url?: string | null | undefined;
680
- paper_url?: string | null | undefined;
681
- doi_url?: string | null | undefined;
682
- citation?: {
683
- doi?: string | null | undefined;
684
- title?: string | null | undefined;
685
- authors?: string[] | null | undefined;
686
- year?: number | null | undefined;
687
- venue?: string | null | undefined;
688
- url?: string | null | undefined;
689
- bibtex?: string | null | undefined;
690
- source?: string | null | undefined;
691
- } | null | undefined;
692
- relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
693
- doi?: string | null | undefined;
694
- } | null | undefined;
695
731
  name_url_slug?: string | null | undefined;
696
732
  }>>;
697
733
  declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
@@ -721,7 +757,30 @@ declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
721
757
  stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
722
758
  stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
723
759
  stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
724
- attribution: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
760
+ id: z.ZodDefault<z.ZodUUID>;
761
+ team_id: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
762
+ org_id: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
763
+ name: z.ZodString;
764
+ name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
765
+ state: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
766
+ success: "success";
767
+ queued: "queued";
768
+ "in-progress": "in-progress";
769
+ "timed-out": "timed-out";
770
+ error: "error";
771
+ }>>>;
772
+ source: z.ZodDefault<z.ZodEnum<{
773
+ api: "api";
774
+ web: "web";
775
+ }>>;
776
+ visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
777
+ organization: "organization";
778
+ public: "public";
779
+ private: "private";
780
+ monetized: "monetized";
781
+ inherit: "inherit";
782
+ }>>>;
783
+ attribution: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
725
784
  originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
726
785
  original: "original";
727
786
  derivative: "derivative";
@@ -749,30 +808,43 @@ declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
749
808
  IsIdenticalTo: "IsIdenticalTo";
750
809
  }>>>;
751
810
  doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
752
- }, z.core.$strip>>>>;
753
- id: z.ZodDefault<z.ZodUUID>;
754
- team_id: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
755
- org_id: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
756
- name: z.ZodString;
757
- name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
758
- state: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
759
- success: "success";
760
- queued: "queued";
761
- "in-progress": "in-progress";
762
- "timed-out": "timed-out";
763
- error: "error";
764
- }>>>;
765
- source: z.ZodDefault<z.ZodEnum<{
766
- api: "api";
767
- web: "web";
768
- }>>;
769
- visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
770
- organization: "organization";
771
- public: "public";
772
- private: "private";
773
- monetized: "monetized";
774
- inherit: "inherit";
775
- }>>>;
811
+ }, z.core.$strip>>>, z.ZodTransform<{
812
+ originality: "original" | "derivative" | "third-party";
813
+ external_url?: string | null | undefined;
814
+ github_url?: string | null | undefined;
815
+ paper_url?: string | null | undefined;
816
+ doi_url?: string | null | undefined;
817
+ citation?: {
818
+ doi?: string | null | undefined;
819
+ title?: string | null | undefined;
820
+ authors?: string[] | null | undefined;
821
+ year?: number | null | undefined;
822
+ venue?: string | null | undefined;
823
+ url?: string | null | undefined;
824
+ bibtex?: string | null | undefined;
825
+ source?: string | null | undefined;
826
+ } | null | undefined;
827
+ relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
828
+ doi?: string | null | undefined;
829
+ }, {
830
+ originality: "original" | "derivative" | "third-party";
831
+ external_url?: string | null | undefined;
832
+ github_url?: string | null | undefined;
833
+ paper_url?: string | null | undefined;
834
+ doi_url?: string | null | undefined;
835
+ citation?: {
836
+ doi?: string | null | undefined;
837
+ title?: string | null | undefined;
838
+ authors?: string[] | null | undefined;
839
+ year?: number | null | undefined;
840
+ venue?: string | null | undefined;
841
+ url?: string | null | undefined;
842
+ bibtex?: string | null | undefined;
843
+ source?: string | null | undefined;
844
+ } | null | undefined;
845
+ relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
846
+ doi?: string | null | undefined;
847
+ } | null | undefined>>;
776
848
  created_at: z.ZodDefault<z.ZodString>;
777
849
  last_updated: z.ZodDefault<z.ZodString>;
778
850
  asset_type: z.ZodDefault<z.ZodLiteral<"dataset">>;
@@ -814,6 +886,25 @@ declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
814
886
  state: "success" | "queued" | "in-progress" | "timed-out" | "error";
815
887
  source: "api" | "web";
816
888
  visibility: "organization" | "public" | "private" | "monetized" | "inherit";
889
+ attribution: {
890
+ originality: "original" | "derivative" | "third-party";
891
+ external_url?: string | null | undefined;
892
+ github_url?: string | null | undefined;
893
+ paper_url?: string | null | undefined;
894
+ doi_url?: string | null | undefined;
895
+ citation?: {
896
+ doi?: string | null | undefined;
897
+ title?: string | null | undefined;
898
+ authors?: string[] | null | undefined;
899
+ year?: number | null | undefined;
900
+ venue?: string | null | undefined;
901
+ url?: string | null | undefined;
902
+ bibtex?: string | null | undefined;
903
+ source?: string | null | undefined;
904
+ } | null | undefined;
905
+ relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
906
+ doi?: string | null | undefined;
907
+ };
817
908
  created_at: string;
818
909
  last_updated: string;
819
910
  asset_type: "dataset";
@@ -848,7 +939,16 @@ declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
848
939
  stripe_product_id?: string | null | undefined;
849
940
  stripe_price_id?: string | null | undefined;
850
941
  stripe_meter_id?: string | null | undefined;
851
- attribution?: {
942
+ name_url_slug?: string | null | undefined;
943
+ }, {
944
+ id: string;
945
+ team_id: string | null;
946
+ org_id: string | null;
947
+ name: string;
948
+ state: "success" | "queued" | "in-progress" | "timed-out" | "error";
949
+ source: "api" | "web";
950
+ visibility: "organization" | "public" | "private" | "monetized" | "inherit";
951
+ attribution: {
852
952
  originality: "original" | "derivative" | "third-party";
853
953
  external_url?: string | null | undefined;
854
954
  github_url?: string | null | undefined;
@@ -866,16 +966,7 @@ declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
866
966
  } | null | undefined;
867
967
  relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
868
968
  doi?: string | null | undefined;
869
- } | null | undefined;
870
- name_url_slug?: string | null | undefined;
871
- }, {
872
- id: string;
873
- team_id: string | null;
874
- org_id: string | null;
875
- name: string;
876
- state: "success" | "queued" | "in-progress" | "timed-out" | "error";
877
- source: "api" | "web";
878
- visibility: "organization" | "public" | "private" | "monetized" | "inherit";
969
+ };
879
970
  created_at: string;
880
971
  last_updated: string;
881
972
  asset_type: "dataset";
@@ -910,25 +1001,6 @@ declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
910
1001
  stripe_product_id?: string | null | undefined;
911
1002
  stripe_price_id?: string | null | undefined;
912
1003
  stripe_meter_id?: string | null | undefined;
913
- attribution?: {
914
- originality: "original" | "derivative" | "third-party";
915
- external_url?: string | null | undefined;
916
- github_url?: string | null | undefined;
917
- paper_url?: string | null | undefined;
918
- doi_url?: string | null | undefined;
919
- citation?: {
920
- doi?: string | null | undefined;
921
- title?: string | null | undefined;
922
- authors?: string[] | null | undefined;
923
- year?: number | null | undefined;
924
- venue?: string | null | undefined;
925
- url?: string | null | undefined;
926
- bibtex?: string | null | undefined;
927
- source?: string | null | undefined;
928
- } | null | undefined;
929
- relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
930
- doi?: string | null | undefined;
931
- } | null | undefined;
932
1004
  name_url_slug?: string | null | undefined;
933
1005
  }>>;
934
1006
  declare const updateDatasetSchema: z.ZodPipe<z.ZodObject<{
@@ -995,32 +1067,7 @@ declare const updateDatasetSchema: z.ZodPipe<z.ZodObject<{
995
1067
  "pay-to-unlock": "pay-to-unlock";
996
1068
  "pay-per-use": "pay-per-use";
997
1069
  }>>;
998
- state: z.ZodOptional<z.ZodEnum<{
999
- success: "success";
1000
- queued: "queued";
1001
- "in-progress": "in-progress";
1002
- "timed-out": "timed-out";
1003
- error: "error";
1004
- }>>;
1005
- parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
1006
- license_id: z.ZodOptional<z.ZodString>;
1007
- license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1008
- name_url_slug: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1009
- price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
1010
- unit_cost: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
1011
- cost_accounting: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1012
- fixed: "fixed";
1013
- variable: "variable";
1014
- }>>>>;
1015
- cost_unit: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1016
- price_currency: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
1017
- usd: "usd";
1018
- btc: "btc";
1019
- }>>>;
1020
- stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1021
- stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1022
- stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1023
- attribution: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
1070
+ attribution: z.ZodOptional<z.ZodObject<{
1024
1071
  originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1025
1072
  original: "original";
1026
1073
  derivative: "derivative";
@@ -1048,7 +1095,32 @@ declare const updateDatasetSchema: z.ZodPipe<z.ZodObject<{
1048
1095
  IsIdenticalTo: "IsIdenticalTo";
1049
1096
  }>>>;
1050
1097
  doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1051
- }, z.core.$strip>>>>;
1098
+ }, z.core.$strip>>;
1099
+ state: z.ZodOptional<z.ZodEnum<{
1100
+ success: "success";
1101
+ queued: "queued";
1102
+ "in-progress": "in-progress";
1103
+ "timed-out": "timed-out";
1104
+ error: "error";
1105
+ }>>;
1106
+ parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
1107
+ license_id: z.ZodOptional<z.ZodString>;
1108
+ license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1109
+ name_url_slug: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1110
+ price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
1111
+ unit_cost: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
1112
+ cost_accounting: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1113
+ fixed: "fixed";
1114
+ variable: "variable";
1115
+ }>>>>;
1116
+ cost_unit: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1117
+ price_currency: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
1118
+ usd: "usd";
1119
+ btc: "btc";
1120
+ }>>>;
1121
+ stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1122
+ stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1123
+ stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1052
1124
  preview: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1053
1125
  asset_type: z.ZodDefault<z.ZodLiteral<"dataset">>;
1054
1126
  last_updated: z.ZodDefault<z.ZodString>;
@@ -1087,19 +1159,6 @@ declare const updateDatasetSchema: z.ZodPipe<z.ZodObject<{
1087
1159
  } | null | undefined;
1088
1160
  source?: "api" | "web" | undefined;
1089
1161
  monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
1090
- state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
1091
- parent_id?: string | null | undefined;
1092
- license_id?: string | undefined;
1093
- license?: Record<string, any> | undefined;
1094
- name_url_slug?: string | null | undefined;
1095
- price?: number | null | undefined;
1096
- unit_cost?: number | null | undefined;
1097
- cost_accounting?: "fixed" | "variable" | null | undefined;
1098
- cost_unit?: string | null | undefined;
1099
- price_currency?: "usd" | "btc" | undefined;
1100
- stripe_product_id?: string | null | undefined;
1101
- stripe_price_id?: string | null | undefined;
1102
- stripe_meter_id?: string | null | undefined;
1103
1162
  attribution?: {
1104
1163
  originality: "original" | "derivative" | "third-party";
1105
1164
  external_url?: string | null | undefined;
@@ -1118,7 +1177,20 @@ declare const updateDatasetSchema: z.ZodPipe<z.ZodObject<{
1118
1177
  } | null | undefined;
1119
1178
  relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
1120
1179
  doi?: string | null | undefined;
1121
- } | null | undefined;
1180
+ } | undefined;
1181
+ state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
1182
+ parent_id?: string | null | undefined;
1183
+ license_id?: string | undefined;
1184
+ license?: Record<string, any> | undefined;
1185
+ name_url_slug?: string | null | undefined;
1186
+ price?: number | null | undefined;
1187
+ unit_cost?: number | null | undefined;
1188
+ cost_accounting?: "fixed" | "variable" | null | undefined;
1189
+ cost_unit?: string | null | undefined;
1190
+ price_currency?: "usd" | "btc" | undefined;
1191
+ stripe_product_id?: string | null | undefined;
1192
+ stripe_price_id?: string | null | undefined;
1193
+ stripe_meter_id?: string | null | undefined;
1122
1194
  preview?: Record<string, any>[] | undefined;
1123
1195
  }, {
1124
1196
  asset_type: "dataset";
@@ -1155,19 +1227,6 @@ declare const updateDatasetSchema: z.ZodPipe<z.ZodObject<{
1155
1227
  } | null | undefined;
1156
1228
  source?: "api" | "web" | undefined;
1157
1229
  monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
1158
- state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
1159
- parent_id?: string | null | undefined;
1160
- license_id?: string | undefined;
1161
- license?: Record<string, any> | undefined;
1162
- name_url_slug?: string | null | undefined;
1163
- price?: number | null | undefined;
1164
- unit_cost?: number | null | undefined;
1165
- cost_accounting?: "fixed" | "variable" | null | undefined;
1166
- cost_unit?: string | null | undefined;
1167
- price_currency?: "usd" | "btc" | undefined;
1168
- stripe_product_id?: string | null | undefined;
1169
- stripe_price_id?: string | null | undefined;
1170
- stripe_meter_id?: string | null | undefined;
1171
1230
  attribution?: {
1172
1231
  originality: "original" | "derivative" | "third-party";
1173
1232
  external_url?: string | null | undefined;
@@ -1186,7 +1245,20 @@ declare const updateDatasetSchema: z.ZodPipe<z.ZodObject<{
1186
1245
  } | null | undefined;
1187
1246
  relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
1188
1247
  doi?: string | null | undefined;
1189
- } | null | undefined;
1248
+ } | undefined;
1249
+ state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
1250
+ parent_id?: string | null | undefined;
1251
+ license_id?: string | undefined;
1252
+ license?: Record<string, any> | undefined;
1253
+ name_url_slug?: string | null | undefined;
1254
+ price?: number | null | undefined;
1255
+ unit_cost?: number | null | undefined;
1256
+ cost_accounting?: "fixed" | "variable" | null | undefined;
1257
+ cost_unit?: string | null | undefined;
1258
+ price_currency?: "usd" | "btc" | undefined;
1259
+ stripe_product_id?: string | null | undefined;
1260
+ stripe_price_id?: string | null | undefined;
1261
+ stripe_meter_id?: string | null | undefined;
1190
1262
  preview?: Record<string, any>[] | undefined;
1191
1263
  }>>;
1192
1264