@ourofoundation/ouro-js 3.6.0 → 3.7.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 (100) hide show
  1. package/dist/chunk-2BABFO5H.js +2 -0
  2. package/dist/chunk-2BABFO5H.js.map +1 -0
  3. package/dist/{chunk-DBEBXFQI.cjs → chunk-2KXX5JF6.cjs} +2 -2
  4. package/dist/{chunk-DBEBXFQI.cjs.map → chunk-2KXX5JF6.cjs.map} +1 -1
  5. package/dist/chunk-G5V2WTN5.cjs +2 -0
  6. package/dist/chunk-G5V2WTN5.cjs.map +1 -0
  7. package/dist/{chunk-WNYOQITO.js → chunk-IL3WA4D7.js} +2 -2
  8. package/dist/{chunk-WNYOQITO.js.map → chunk-IL3WA4D7.js.map} +1 -1
  9. package/dist/chunk-KHERHT26.cjs +2 -0
  10. package/dist/chunk-KHERHT26.cjs.map +1 -0
  11. package/dist/{chunk-IWOXGKK4.js → chunk-LYP7DPZ3.js} +2 -2
  12. package/dist/{chunk-IWOXGKK4.js.map → chunk-LYP7DPZ3.js.map} +1 -1
  13. package/dist/chunk-N74Y47X7.js +2 -0
  14. package/dist/chunk-N74Y47X7.js.map +1 -0
  15. package/dist/{chunk-IBRRR3T2.cjs → chunk-O5CY3JW3.cjs} +2 -2
  16. package/dist/{chunk-IBRRR3T2.cjs.map → chunk-O5CY3JW3.cjs.map} +1 -1
  17. package/dist/chunk-OBXAWON7.js +2 -0
  18. package/dist/{chunk-4UE3XIYR.js.map → chunk-OBXAWON7.js.map} +1 -1
  19. package/dist/chunk-OU4JKY4M.js +2 -0
  20. package/dist/chunk-OU4JKY4M.js.map +1 -0
  21. package/dist/chunk-OWS6VJJ2.js +2 -0
  22. package/dist/{chunk-NGN2PI7X.js.map → chunk-OWS6VJJ2.js.map} +1 -1
  23. package/dist/{chunk-F5CWCYOP.cjs → chunk-PN763DHR.cjs} +2 -2
  24. package/dist/{chunk-F5CWCYOP.cjs.map → chunk-PN763DHR.cjs.map} +1 -1
  25. package/dist/chunk-PPZZKUF6.cjs +2 -0
  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-R7YOQNVS.js.map +1 -0
  31. package/dist/{chunk-TYOQ32UV.js → chunk-S5VZHGMV.js} +2 -2
  32. package/dist/{chunk-TYOQ32UV.js.map → chunk-S5VZHGMV.js.map} +1 -1
  33. package/dist/{chunk-6ZJQTECB.cjs → chunk-VPYKCTVU.cjs} +2 -2
  34. package/dist/{chunk-6ZJQTECB.cjs.map → chunk-VPYKCTVU.cjs.map} +1 -1
  35. package/dist/{chunk-YKA3RUTN.cjs → chunk-Y6EN5F74.cjs} +2 -2
  36. package/dist/{chunk-YKA3RUTN.cjs.map → chunk-Y6EN5F74.cjs.map} +1 -1
  37. package/dist/{chunk-6GPIZJ4T.cjs → chunk-YCK6Y3BF.cjs} +2 -2
  38. package/dist/{chunk-6GPIZJ4T.cjs.map → chunk-YCK6Y3BF.cjs.map} +1 -1
  39. package/dist/chunk-YXVAFJZH.js +2 -0
  40. package/dist/{chunk-KCVE35IO.js.map → chunk-YXVAFJZH.js.map} +1 -1
  41. package/dist/index.cjs +1 -1
  42. package/dist/index.d.cts +2 -1
  43. package/dist/index.d.ts +2 -1
  44. package/dist/index.js +1 -1
  45. package/dist/schema/assets.cjs +1 -1
  46. package/dist/schema/assets.d.cts +215 -46
  47. package/dist/schema/assets.d.ts +215 -46
  48. package/dist/schema/assets.js +1 -1
  49. package/dist/schema/comments.cjs +1 -1
  50. package/dist/schema/comments.d.cts +132 -28
  51. package/dist/schema/comments.d.ts +132 -28
  52. package/dist/schema/comments.js +1 -1
  53. package/dist/schema/conversations.cjs +1 -1
  54. package/dist/schema/conversations.d.cts +235 -47
  55. package/dist/schema/conversations.d.ts +235 -47
  56. package/dist/schema/conversations.js +1 -1
  57. package/dist/schema/datasets.cjs +1 -1
  58. package/dist/schema/datasets.d.cts +302 -66
  59. package/dist/schema/datasets.d.ts +302 -66
  60. package/dist/schema/datasets.js +1 -1
  61. package/dist/schema/files.cjs +1 -1
  62. package/dist/schema/files.d.cts +302 -66
  63. package/dist/schema/files.d.ts +302 -66
  64. package/dist/schema/files.js +1 -1
  65. package/dist/schema/posts.cjs +1 -1
  66. package/dist/schema/posts.d.cts +286 -74
  67. package/dist/schema/posts.d.ts +286 -74
  68. package/dist/schema/posts.js +1 -1
  69. package/dist/schema/quests.cjs +1 -1
  70. package/dist/schema/quests.d.cts +199 -47
  71. package/dist/schema/quests.d.ts +199 -47
  72. package/dist/schema/quests.js +1 -1
  73. package/dist/schema/services.cjs +1 -1
  74. package/dist/schema/services.d.cts +286 -74
  75. package/dist/schema/services.d.ts +286 -74
  76. package/dist/schema/services.js +1 -1
  77. package/dist/utils/files.cjs +2 -0
  78. package/dist/utils/files.cjs.map +1 -0
  79. package/dist/utils/files.d.cts +18 -0
  80. package/dist/utils/files.d.ts +18 -0
  81. package/dist/utils/files.js +2 -0
  82. package/dist/utils/files.js.map +1 -0
  83. package/dist/utils/quest-submission.cjs +1 -1
  84. package/dist/utils/quest-submission.js +1 -1
  85. package/package.json +1 -1
  86. package/dist/chunk-4UE3XIYR.js +0 -2
  87. package/dist/chunk-FRMPLGE4.cjs +0 -2
  88. package/dist/chunk-FRMPLGE4.cjs.map +0 -1
  89. package/dist/chunk-G3VMEPTP.js +0 -2
  90. package/dist/chunk-G3VMEPTP.js.map +0 -1
  91. package/dist/chunk-KCVE35IO.js +0 -2
  92. package/dist/chunk-MLTO7TMM.js +0 -2
  93. package/dist/chunk-MLTO7TMM.js.map +0 -1
  94. package/dist/chunk-NGN2PI7X.js +0 -2
  95. package/dist/chunk-ROMY5WNQ.cjs +0 -2
  96. package/dist/chunk-ROMY5WNQ.cjs.map +0 -1
  97. package/dist/chunk-SR5UZ4NP.js +0 -2
  98. package/dist/chunk-SR5UZ4NP.js.map +0 -1
  99. package/dist/chunk-V73EW77Y.cjs +0 -2
  100. package/dist/chunk-V73EW77Y.cjs.map +0 -1
@@ -348,6 +348,35 @@ 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.ZodObject<{
352
+ originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
353
+ original: "original";
354
+ derivative: "derivative";
355
+ "third-party": "third-party";
356
+ }>>>;
357
+ external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
358
+ github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
359
+ paper_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
360
+ doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
361
+ citation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
362
+ doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
363
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
364
+ authors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
365
+ year: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
366
+ venue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
367
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
368
+ bibtex: z.ZodOptional<z.ZodNullable<z.ZodString>>;
369
+ source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
370
+ }, z.core.$strip>>>;
371
+ relation_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
372
+ IsSupplementTo: "IsSupplementTo";
373
+ IsDerivedFrom: "IsDerivedFrom";
374
+ References: "References";
375
+ IsVariantFormOf: "IsVariantFormOf";
376
+ IsIdenticalTo: "IsIdenticalTo";
377
+ }>>>;
378
+ doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
379
+ }, z.core.$strip>;
351
380
  state: z.ZodEnum<{
352
381
  success: "success";
353
382
  queued: "queued";
@@ -389,15 +418,6 @@ declare const DatasetSchema: z.ZodObject<{
389
418
  enum_columns: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
390
419
  values: z.ZodArray<z.ZodString>;
391
420
  }, z.core.$strip>>>>;
392
- doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
393
- external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
394
- paper_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
395
- github_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
396
- originality: z.ZodOptional<z.ZodEnum<{
397
- original: "original";
398
- derivative: "derivative";
399
- "third-party": "third-party";
400
- }>>;
401
421
  source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
402
422
  reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
403
423
  type: z.ZodOptional<z.ZodString>;
@@ -463,6 +483,71 @@ declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
463
483
  monetized: "monetized";
464
484
  inherit: "inherit";
465
485
  }>>>;
486
+ attribution: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
487
+ originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
488
+ original: "original";
489
+ derivative: "derivative";
490
+ "third-party": "third-party";
491
+ }>>>;
492
+ external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
493
+ github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
494
+ paper_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
495
+ doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
496
+ citation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
497
+ doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
498
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
499
+ authors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
500
+ year: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
501
+ venue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
502
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
503
+ bibtex: z.ZodOptional<z.ZodNullable<z.ZodString>>;
504
+ source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
505
+ }, z.core.$strip>>>;
506
+ relation_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
507
+ IsSupplementTo: "IsSupplementTo";
508
+ IsDerivedFrom: "IsDerivedFrom";
509
+ References: "References";
510
+ IsVariantFormOf: "IsVariantFormOf";
511
+ IsIdenticalTo: "IsIdenticalTo";
512
+ }>>>;
513
+ doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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>>;
466
551
  created_at: z.ZodDefault<z.ZodString>;
467
552
  last_updated: z.ZodDefault<z.ZodString>;
468
553
  asset_type: z.ZodDefault<z.ZodLiteral<"dataset">>;
@@ -492,15 +577,6 @@ declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
492
577
  enum_columns: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
493
578
  values: z.ZodArray<z.ZodString>;
494
579
  }, z.core.$strip>>>>;
495
- doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
496
- external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
497
- paper_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
498
- github_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
499
- originality: z.ZodOptional<z.ZodEnum<{
500
- original: "original";
501
- derivative: "derivative";
502
- "third-party": "third-party";
503
- }>>;
504
580
  source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
505
581
  reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
506
582
  type: z.ZodString;
@@ -523,6 +599,25 @@ declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
523
599
  state: "success" | "queued" | "in-progress" | "timed-out" | "error";
524
600
  source: "api" | "web";
525
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
+ };
526
621
  created_at: string;
527
622
  last_updated: string;
528
623
  asset_type: "dataset";
@@ -544,11 +639,6 @@ declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
544
639
  enum_columns?: Record<string, {
545
640
  values: string[];
546
641
  }> | null | undefined;
547
- doi_url?: string | null | undefined;
548
- external_url?: string | null | undefined;
549
- paper_url?: string | null | undefined;
550
- github_url?: string | null | undefined;
551
- originality?: "original" | "derivative" | "third-party" | undefined;
552
642
  source?: string | null | undefined;
553
643
  reply_to_comment_id?: string | null | undefined;
554
644
  };
@@ -578,6 +668,25 @@ declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
578
668
  state: "success" | "queued" | "in-progress" | "timed-out" | "error";
579
669
  source: "api" | "web";
580
670
  visibility: "organization" | "public" | "private" | "monetized" | "inherit";
671
+ attribution: {
672
+ originality: "original" | "derivative" | "third-party";
673
+ external_url?: string | null | undefined;
674
+ github_url?: string | null | undefined;
675
+ paper_url?: string | null | undefined;
676
+ doi_url?: string | null | undefined;
677
+ citation?: {
678
+ doi?: string | null | undefined;
679
+ title?: string | null | undefined;
680
+ authors?: string[] | null | undefined;
681
+ year?: number | null | undefined;
682
+ venue?: string | null | undefined;
683
+ url?: string | null | undefined;
684
+ bibtex?: string | null | undefined;
685
+ source?: string | null | undefined;
686
+ } | null | undefined;
687
+ relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
688
+ doi?: string | null | undefined;
689
+ };
581
690
  created_at: string;
582
691
  last_updated: string;
583
692
  asset_type: "dataset";
@@ -599,11 +708,6 @@ declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
599
708
  enum_columns?: Record<string, {
600
709
  values: string[];
601
710
  }> | null | undefined;
602
- doi_url?: string | null | undefined;
603
- external_url?: string | null | undefined;
604
- paper_url?: string | null | undefined;
605
- github_url?: string | null | undefined;
606
- originality?: "original" | "derivative" | "third-party" | undefined;
607
711
  source?: string | null | undefined;
608
712
  reply_to_comment_id?: string | null | undefined;
609
713
  };
@@ -676,6 +780,71 @@ declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
676
780
  monetized: "monetized";
677
781
  inherit: "inherit";
678
782
  }>>>;
783
+ attribution: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
784
+ originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
785
+ original: "original";
786
+ derivative: "derivative";
787
+ "third-party": "third-party";
788
+ }>>>;
789
+ external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
790
+ github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
791
+ paper_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
792
+ doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
793
+ citation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
794
+ doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
795
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
796
+ authors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
797
+ year: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
798
+ venue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
799
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
800
+ bibtex: z.ZodOptional<z.ZodNullable<z.ZodString>>;
801
+ source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
802
+ }, z.core.$strip>>>;
803
+ relation_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
804
+ IsSupplementTo: "IsSupplementTo";
805
+ IsDerivedFrom: "IsDerivedFrom";
806
+ References: "References";
807
+ IsVariantFormOf: "IsVariantFormOf";
808
+ IsIdenticalTo: "IsIdenticalTo";
809
+ }>>>;
810
+ doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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>>;
679
848
  created_at: z.ZodDefault<z.ZodString>;
680
849
  last_updated: z.ZodDefault<z.ZodString>;
681
850
  asset_type: z.ZodDefault<z.ZodLiteral<"dataset">>;
@@ -705,15 +874,6 @@ declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
705
874
  enum_columns: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
706
875
  values: z.ZodArray<z.ZodString>;
707
876
  }, z.core.$strip>>>>;
708
- doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
709
- external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
710
- paper_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
711
- github_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
712
- originality: z.ZodOptional<z.ZodEnum<{
713
- original: "original";
714
- derivative: "derivative";
715
- "third-party": "third-party";
716
- }>>;
717
877
  source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
718
878
  reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
719
879
  }, z.core.$strip>;
@@ -726,6 +886,25 @@ declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
726
886
  state: "success" | "queued" | "in-progress" | "timed-out" | "error";
727
887
  source: "api" | "web";
728
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
+ };
729
908
  created_at: string;
730
909
  last_updated: string;
731
910
  asset_type: "dataset";
@@ -740,11 +919,6 @@ declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
740
919
  enum_columns?: Record<string, {
741
920
  values: string[];
742
921
  }> | null | undefined;
743
- doi_url?: string | null | undefined;
744
- external_url?: string | null | undefined;
745
- paper_url?: string | null | undefined;
746
- github_url?: string | null | undefined;
747
- originality?: "original" | "derivative" | "third-party" | undefined;
748
922
  source?: string | null | undefined;
749
923
  reply_to_comment_id?: string | null | undefined;
750
924
  };
@@ -774,6 +948,25 @@ declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
774
948
  state: "success" | "queued" | "in-progress" | "timed-out" | "error";
775
949
  source: "api" | "web";
776
950
  visibility: "organization" | "public" | "private" | "monetized" | "inherit";
951
+ attribution: {
952
+ originality: "original" | "derivative" | "third-party";
953
+ external_url?: string | null | undefined;
954
+ github_url?: string | null | undefined;
955
+ paper_url?: string | null | undefined;
956
+ doi_url?: string | null | undefined;
957
+ citation?: {
958
+ doi?: string | null | undefined;
959
+ title?: string | null | undefined;
960
+ authors?: string[] | null | undefined;
961
+ year?: number | null | undefined;
962
+ venue?: string | null | undefined;
963
+ url?: string | null | undefined;
964
+ bibtex?: string | null | undefined;
965
+ source?: string | null | undefined;
966
+ } | null | undefined;
967
+ relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
968
+ doi?: string | null | undefined;
969
+ };
777
970
  created_at: string;
778
971
  last_updated: string;
779
972
  asset_type: "dataset";
@@ -788,11 +981,6 @@ declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
788
981
  enum_columns?: Record<string, {
789
982
  values: string[];
790
983
  }> | null | undefined;
791
- doi_url?: string | null | undefined;
792
- external_url?: string | null | undefined;
793
- paper_url?: string | null | undefined;
794
- github_url?: string | null | undefined;
795
- originality?: "original" | "derivative" | "third-party" | undefined;
796
984
  source?: string | null | undefined;
797
985
  reply_to_comment_id?: string | null | undefined;
798
986
  };
@@ -844,15 +1032,6 @@ declare const updateDatasetSchema: z.ZodPipe<z.ZodObject<{
844
1032
  enum_columns: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
845
1033
  values: z.ZodArray<z.ZodString>;
846
1034
  }, z.core.$strip>>>>;
847
- doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
848
- external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
849
- paper_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
850
- github_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
851
- originality: z.ZodOptional<z.ZodEnum<{
852
- original: "original";
853
- derivative: "derivative";
854
- "third-party": "third-party";
855
- }>>;
856
1035
  source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
857
1036
  reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
858
1037
  type: z.ZodOptional<z.ZodString>;
@@ -888,6 +1067,35 @@ declare const updateDatasetSchema: z.ZodPipe<z.ZodObject<{
888
1067
  "pay-to-unlock": "pay-to-unlock";
889
1068
  "pay-per-use": "pay-per-use";
890
1069
  }>>;
1070
+ attribution: z.ZodOptional<z.ZodObject<{
1071
+ originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1072
+ original: "original";
1073
+ derivative: "derivative";
1074
+ "third-party": "third-party";
1075
+ }>>>;
1076
+ external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1077
+ github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1078
+ paper_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1079
+ doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1080
+ citation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1081
+ doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1082
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1083
+ authors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1084
+ year: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1085
+ venue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1086
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1087
+ bibtex: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1088
+ source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1089
+ }, z.core.$strip>>>;
1090
+ relation_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1091
+ IsSupplementTo: "IsSupplementTo";
1092
+ IsDerivedFrom: "IsDerivedFrom";
1093
+ References: "References";
1094
+ IsVariantFormOf: "IsVariantFormOf";
1095
+ IsIdenticalTo: "IsIdenticalTo";
1096
+ }>>>;
1097
+ doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1098
+ }, z.core.$strip>>;
891
1099
  state: z.ZodOptional<z.ZodEnum<{
892
1100
  success: "success";
893
1101
  queued: "queued";
@@ -932,11 +1140,6 @@ declare const updateDatasetSchema: z.ZodPipe<z.ZodObject<{
932
1140
  enum_columns?: Record<string, {
933
1141
  values: string[];
934
1142
  }> | null | undefined;
935
- doi_url?: string | null | undefined;
936
- external_url?: string | null | undefined;
937
- paper_url?: string | null | undefined;
938
- github_url?: string | null | undefined;
939
- originality?: "original" | "derivative" | "third-party" | undefined;
940
1143
  source?: string | null | undefined;
941
1144
  reply_to_comment_id?: string | null | undefined;
942
1145
  type?: string | undefined;
@@ -956,6 +1159,25 @@ declare const updateDatasetSchema: z.ZodPipe<z.ZodObject<{
956
1159
  } | null | undefined;
957
1160
  source?: "api" | "web" | undefined;
958
1161
  monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
1162
+ attribution?: {
1163
+ originality: "original" | "derivative" | "third-party";
1164
+ external_url?: string | null | undefined;
1165
+ github_url?: string | null | undefined;
1166
+ paper_url?: string | null | undefined;
1167
+ doi_url?: string | null | undefined;
1168
+ citation?: {
1169
+ doi?: string | null | undefined;
1170
+ title?: string | null | undefined;
1171
+ authors?: string[] | null | undefined;
1172
+ year?: number | null | undefined;
1173
+ venue?: string | null | undefined;
1174
+ url?: string | null | undefined;
1175
+ bibtex?: string | null | undefined;
1176
+ source?: string | null | undefined;
1177
+ } | null | undefined;
1178
+ relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
1179
+ doi?: string | null | undefined;
1180
+ } | undefined;
959
1181
  state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
960
1182
  parent_id?: string | null | undefined;
961
1183
  license_id?: string | undefined;
@@ -986,11 +1208,6 @@ declare const updateDatasetSchema: z.ZodPipe<z.ZodObject<{
986
1208
  enum_columns?: Record<string, {
987
1209
  values: string[];
988
1210
  }> | null | undefined;
989
- doi_url?: string | null | undefined;
990
- external_url?: string | null | undefined;
991
- paper_url?: string | null | undefined;
992
- github_url?: string | null | undefined;
993
- originality?: "original" | "derivative" | "third-party" | undefined;
994
1211
  source?: string | null | undefined;
995
1212
  reply_to_comment_id?: string | null | undefined;
996
1213
  type?: string | undefined;
@@ -1010,6 +1227,25 @@ declare const updateDatasetSchema: z.ZodPipe<z.ZodObject<{
1010
1227
  } | null | undefined;
1011
1228
  source?: "api" | "web" | undefined;
1012
1229
  monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
1230
+ attribution?: {
1231
+ originality: "original" | "derivative" | "third-party";
1232
+ external_url?: string | null | undefined;
1233
+ github_url?: string | null | undefined;
1234
+ paper_url?: string | null | undefined;
1235
+ doi_url?: string | null | undefined;
1236
+ citation?: {
1237
+ doi?: string | null | undefined;
1238
+ title?: string | null | undefined;
1239
+ authors?: string[] | null | undefined;
1240
+ year?: number | null | undefined;
1241
+ venue?: string | null | undefined;
1242
+ url?: string | null | undefined;
1243
+ bibtex?: string | null | undefined;
1244
+ source?: string | null | undefined;
1245
+ } | null | undefined;
1246
+ relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
1247
+ doi?: string | null | undefined;
1248
+ } | undefined;
1013
1249
  state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
1014
1250
  parent_id?: string | null | undefined;
1015
1251
  license_id?: string | undefined;