@ourofoundation/ouro-js 3.5.8 → 3.7.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 (110) hide show
  1. package/dist/{chunk-6GPIZJ4T.cjs → chunk-57RRLX7P.cjs} +2 -2
  2. package/dist/{chunk-6GPIZJ4T.cjs.map → chunk-57RRLX7P.cjs.map} +1 -1
  3. package/dist/chunk-5EQ5LO7V.cjs +2 -0
  4. package/dist/chunk-5EQ5LO7V.cjs.map +1 -0
  5. package/dist/chunk-7EKD5NQB.js +2 -0
  6. package/dist/{chunk-IWOXGKK4.js.map → chunk-7EKD5NQB.js.map} +1 -1
  7. package/dist/{chunk-YKA3RUTN.cjs → chunk-AI2FA44G.cjs} +2 -2
  8. package/dist/{chunk-YKA3RUTN.cjs.map → chunk-AI2FA44G.cjs.map} +1 -1
  9. package/dist/chunk-AWBCE7ME.cjs +2 -0
  10. package/dist/chunk-AWBCE7ME.cjs.map +1 -0
  11. package/dist/chunk-DY5QSBE4.js +2 -0
  12. package/dist/chunk-DY5QSBE4.js.map +1 -0
  13. package/dist/{chunk-DBEBXFQI.cjs → chunk-HW6FGPTA.cjs} +2 -2
  14. package/dist/{chunk-DBEBXFQI.cjs.map → chunk-HW6FGPTA.cjs.map} +1 -1
  15. package/dist/{chunk-G3VMEPTP.js → chunk-ITF5WQQB.js} +2 -2
  16. package/dist/{chunk-G3VMEPTP.js.map → chunk-ITF5WQQB.js.map} +1 -1
  17. package/dist/{chunk-USO3MLKI.cjs → chunk-IVO3RQUN.cjs} +2 -2
  18. package/dist/chunk-IVO3RQUN.cjs.map +1 -0
  19. package/dist/chunk-JUELSRCY.js +2 -0
  20. package/dist/{chunk-4UE3XIYR.js.map → chunk-JUELSRCY.js.map} +1 -1
  21. package/dist/chunk-KHERHT26.cjs +2 -0
  22. package/dist/chunk-KHERHT26.cjs.map +1 -0
  23. package/dist/{chunk-F5CWCYOP.cjs → chunk-NTWSEN2H.cjs} +2 -2
  24. package/dist/{chunk-F5CWCYOP.cjs.map → chunk-NTWSEN2H.cjs.map} +1 -1
  25. package/dist/chunk-OU4JKY4M.js +2 -0
  26. package/dist/chunk-OU4JKY4M.js.map +1 -0
  27. package/dist/chunk-QBL6KIST.js +2 -0
  28. package/dist/{chunk-WNYOQITO.js.map → chunk-QBL6KIST.js.map} +1 -1
  29. package/dist/{chunk-6ZJQTECB.cjs → chunk-QNERXSMJ.cjs} +2 -2
  30. package/dist/{chunk-6ZJQTECB.cjs.map → chunk-QNERXSMJ.cjs.map} +1 -1
  31. package/dist/chunk-QSOXS57A.cjs +2 -0
  32. package/dist/chunk-QSOXS57A.cjs.map +1 -0
  33. package/dist/chunk-RD6EPK44.js +2 -0
  34. package/dist/{chunk-KCVE35IO.js.map → chunk-RD6EPK44.js.map} +1 -1
  35. package/dist/{chunk-FRMPLGE4.cjs → chunk-SY5IKIT6.cjs} +2 -2
  36. package/dist/{chunk-FRMPLGE4.cjs.map → chunk-SY5IKIT6.cjs.map} +1 -1
  37. package/dist/chunk-T3HVRQBB.js +2 -0
  38. package/dist/chunk-T3HVRQBB.js.map +1 -0
  39. package/dist/chunk-TGOXRPF5.js +2 -0
  40. package/dist/chunk-TGOXRPF5.js.map +1 -0
  41. package/dist/{chunk-TYOQ32UV.js → chunk-TMNFNVTZ.js} +2 -2
  42. package/dist/{chunk-TYOQ32UV.js.map → chunk-TMNFNVTZ.js.map} +1 -1
  43. package/dist/chunk-ZC2VDKSH.js +2 -0
  44. package/dist/chunk-ZC2VDKSH.js.map +1 -0
  45. package/dist/index.cjs +1 -1
  46. package/dist/index.d.cts +2 -1
  47. package/dist/index.d.ts +2 -1
  48. package/dist/index.js +1 -1
  49. package/dist/schema/assets.cjs +1 -1
  50. package/dist/schema/assets.d.cts +175 -45
  51. package/dist/schema/assets.d.ts +175 -45
  52. package/dist/schema/assets.js +1 -1
  53. package/dist/schema/comments.cjs +1 -1
  54. package/dist/schema/comments.d.cts +95 -27
  55. package/dist/schema/comments.d.ts +95 -27
  56. package/dist/schema/comments.js +1 -1
  57. package/dist/schema/conversations.cjs +1 -1
  58. package/dist/schema/conversations.d.cts +163 -47
  59. package/dist/schema/conversations.d.ts +163 -47
  60. package/dist/schema/conversations.js +1 -1
  61. package/dist/schema/datasets.cjs +1 -1
  62. package/dist/schema/datasets.d.cts +230 -66
  63. package/dist/schema/datasets.d.ts +230 -66
  64. package/dist/schema/datasets.js +1 -1
  65. package/dist/schema/files.cjs +1 -1
  66. package/dist/schema/files.d.cts +230 -66
  67. package/dist/schema/files.d.ts +230 -66
  68. package/dist/schema/files.js +1 -1
  69. package/dist/schema/posts.cjs +1 -1
  70. package/dist/schema/posts.d.cts +250 -74
  71. package/dist/schema/posts.d.ts +250 -74
  72. package/dist/schema/posts.js +1 -1
  73. package/dist/schema/quests.cjs +1 -1
  74. package/dist/schema/quests.d.cts +164 -48
  75. package/dist/schema/quests.d.ts +164 -48
  76. package/dist/schema/quests.js +1 -1
  77. package/dist/schema/services.cjs +1 -1
  78. package/dist/schema/services.d.cts +247 -71
  79. package/dist/schema/services.d.ts +247 -71
  80. package/dist/schema/services.js +1 -1
  81. package/dist/utils/air/index.cjs +1 -1
  82. package/dist/utils/air/index.js +1 -1
  83. package/dist/utils/files.cjs +2 -0
  84. package/dist/utils/files.cjs.map +1 -0
  85. package/dist/utils/files.d.cts +18 -0
  86. package/dist/utils/files.d.ts +18 -0
  87. package/dist/utils/files.js +2 -0
  88. package/dist/utils/files.js.map +1 -0
  89. package/dist/utils/quest-submission.cjs +1 -1
  90. package/dist/utils/quest-submission.js +1 -1
  91. package/package.json +2 -2
  92. package/dist/chunk-4UE3XIYR.js +0 -2
  93. package/dist/chunk-IWOXGKK4.js +0 -2
  94. package/dist/chunk-KCVE35IO.js +0 -2
  95. package/dist/chunk-LQOKGPEK.js +0 -2
  96. package/dist/chunk-LQOKGPEK.js.map +0 -1
  97. package/dist/chunk-MLTO7TMM.js +0 -2
  98. package/dist/chunk-MLTO7TMM.js.map +0 -1
  99. package/dist/chunk-NABNY2EN.js +0 -2
  100. package/dist/chunk-NABNY2EN.js.map +0 -1
  101. package/dist/chunk-ROMY5WNQ.cjs +0 -2
  102. package/dist/chunk-ROMY5WNQ.cjs.map +0 -1
  103. package/dist/chunk-SR5UZ4NP.js +0 -2
  104. package/dist/chunk-SR5UZ4NP.js.map +0 -1
  105. package/dist/chunk-TUZS3DKI.cjs +0 -2
  106. package/dist/chunk-TUZS3DKI.cjs.map +0 -1
  107. package/dist/chunk-USO3MLKI.cjs.map +0 -1
  108. package/dist/chunk-V73EW77Y.cjs +0 -2
  109. package/dist/chunk-V73EW77Y.cjs.map +0 -1
  110. package/dist/chunk-WNYOQITO.js +0 -2
@@ -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.ZodOptional<z.ZodNullable<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>;
@@ -440,6 +460,35 @@ declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
440
460
  stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
441
461
  stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
442
462
  stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
463
+ attribution: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
464
+ originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
465
+ original: "original";
466
+ derivative: "derivative";
467
+ "third-party": "third-party";
468
+ }>>>;
469
+ external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
470
+ github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
471
+ paper_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
472
+ doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
473
+ citation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
474
+ doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
475
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
476
+ authors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
477
+ year: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
478
+ venue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
479
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
480
+ bibtex: z.ZodOptional<z.ZodNullable<z.ZodString>>;
481
+ source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
482
+ }, z.core.$strip>>>;
483
+ relation_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
484
+ IsSupplementTo: "IsSupplementTo";
485
+ IsDerivedFrom: "IsDerivedFrom";
486
+ References: "References";
487
+ IsVariantFormOf: "IsVariantFormOf";
488
+ IsIdenticalTo: "IsIdenticalTo";
489
+ }>>>;
490
+ doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
491
+ }, z.core.$strip>>>>;
443
492
  id: z.ZodDefault<z.ZodUUID>;
444
493
  team_id: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
445
494
  org_id: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
@@ -492,15 +541,6 @@ declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
492
541
  enum_columns: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
493
542
  values: z.ZodArray<z.ZodString>;
494
543
  }, 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
544
  source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
505
545
  reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
506
546
  type: z.ZodString;
@@ -544,11 +584,6 @@ declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
544
584
  enum_columns?: Record<string, {
545
585
  values: string[];
546
586
  }> | 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
587
  source?: string | null | undefined;
553
588
  reply_to_comment_id?: string | null | undefined;
554
589
  };
@@ -569,6 +604,25 @@ declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
569
604
  stripe_product_id?: string | null | undefined;
570
605
  stripe_price_id?: string | null | undefined;
571
606
  stripe_meter_id?: string | null | undefined;
607
+ attribution?: {
608
+ originality: "original" | "derivative" | "third-party";
609
+ external_url?: string | null | undefined;
610
+ github_url?: string | null | undefined;
611
+ paper_url?: string | null | undefined;
612
+ doi_url?: string | null | undefined;
613
+ citation?: {
614
+ doi?: string | null | undefined;
615
+ title?: string | null | undefined;
616
+ authors?: string[] | null | undefined;
617
+ year?: number | null | undefined;
618
+ venue?: string | null | undefined;
619
+ url?: string | null | undefined;
620
+ bibtex?: string | null | undefined;
621
+ source?: string | null | undefined;
622
+ } | null | undefined;
623
+ relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
624
+ doi?: string | null | undefined;
625
+ } | null | undefined;
572
626
  name_url_slug?: string | null | undefined;
573
627
  }, {
574
628
  id: string;
@@ -599,11 +653,6 @@ declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
599
653
  enum_columns?: Record<string, {
600
654
  values: string[];
601
655
  }> | 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
656
  source?: string | null | undefined;
608
657
  reply_to_comment_id?: string | null | undefined;
609
658
  };
@@ -624,6 +673,25 @@ declare const CreateDatasetFromFileSchema: z.ZodPipe<z.ZodObject<{
624
673
  stripe_product_id?: string | null | undefined;
625
674
  stripe_price_id?: string | null | undefined;
626
675
  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;
627
695
  name_url_slug?: string | null | undefined;
628
696
  }>>;
629
697
  declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
@@ -653,6 +721,35 @@ declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
653
721
  stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
654
722
  stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
655
723
  stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
724
+ attribution: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
725
+ originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
726
+ original: "original";
727
+ derivative: "derivative";
728
+ "third-party": "third-party";
729
+ }>>>;
730
+ external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
731
+ github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
732
+ paper_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
733
+ doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
734
+ citation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
735
+ doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
736
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
737
+ authors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
738
+ year: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
739
+ venue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
740
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
741
+ bibtex: z.ZodOptional<z.ZodNullable<z.ZodString>>;
742
+ source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
743
+ }, z.core.$strip>>>;
744
+ relation_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
745
+ IsSupplementTo: "IsSupplementTo";
746
+ IsDerivedFrom: "IsDerivedFrom";
747
+ References: "References";
748
+ IsVariantFormOf: "IsVariantFormOf";
749
+ IsIdenticalTo: "IsIdenticalTo";
750
+ }>>>;
751
+ doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
752
+ }, z.core.$strip>>>>;
656
753
  id: z.ZodDefault<z.ZodUUID>;
657
754
  team_id: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
658
755
  org_id: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
@@ -705,15 +802,6 @@ declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
705
802
  enum_columns: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
706
803
  values: z.ZodArray<z.ZodString>;
707
804
  }, 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
805
  source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
718
806
  reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
719
807
  }, z.core.$strip>;
@@ -740,11 +828,6 @@ declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
740
828
  enum_columns?: Record<string, {
741
829
  values: string[];
742
830
  }> | 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
831
  source?: string | null | undefined;
749
832
  reply_to_comment_id?: string | null | undefined;
750
833
  };
@@ -765,6 +848,25 @@ declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
765
848
  stripe_product_id?: string | null | undefined;
766
849
  stripe_price_id?: string | null | undefined;
767
850
  stripe_meter_id?: string | null | undefined;
851
+ attribution?: {
852
+ originality: "original" | "derivative" | "third-party";
853
+ external_url?: string | null | undefined;
854
+ github_url?: string | null | undefined;
855
+ paper_url?: string | null | undefined;
856
+ doi_url?: string | null | undefined;
857
+ citation?: {
858
+ doi?: string | null | undefined;
859
+ title?: string | null | undefined;
860
+ authors?: string[] | null | undefined;
861
+ year?: number | null | undefined;
862
+ venue?: string | null | undefined;
863
+ url?: string | null | undefined;
864
+ bibtex?: string | null | undefined;
865
+ source?: string | null | undefined;
866
+ } | null | undefined;
867
+ relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
868
+ doi?: string | null | undefined;
869
+ } | null | undefined;
768
870
  name_url_slug?: string | null | undefined;
769
871
  }, {
770
872
  id: string;
@@ -788,11 +890,6 @@ declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
788
890
  enum_columns?: Record<string, {
789
891
  values: string[];
790
892
  }> | 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
893
  source?: string | null | undefined;
797
894
  reply_to_comment_id?: string | null | undefined;
798
895
  };
@@ -813,6 +910,25 @@ declare const CreateDatasetFromSchemaSchema: z.ZodPipe<z.ZodObject<{
813
910
  stripe_product_id?: string | null | undefined;
814
911
  stripe_price_id?: string | null | undefined;
815
912
  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;
816
932
  name_url_slug?: string | null | undefined;
817
933
  }>>;
818
934
  declare const updateDatasetSchema: z.ZodPipe<z.ZodObject<{
@@ -844,15 +960,6 @@ declare const updateDatasetSchema: z.ZodPipe<z.ZodObject<{
844
960
  enum_columns: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
845
961
  values: z.ZodArray<z.ZodString>;
846
962
  }, 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
963
  source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
857
964
  reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
858
965
  type: z.ZodOptional<z.ZodString>;
@@ -913,6 +1020,35 @@ declare const updateDatasetSchema: z.ZodPipe<z.ZodObject<{
913
1020
  stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
914
1021
  stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
915
1022
  stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1023
+ attribution: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
1024
+ originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1025
+ original: "original";
1026
+ derivative: "derivative";
1027
+ "third-party": "third-party";
1028
+ }>>>;
1029
+ external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1030
+ github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1031
+ paper_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1032
+ doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1033
+ citation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1034
+ doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1035
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1036
+ authors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1037
+ year: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1038
+ venue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1039
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1040
+ bibtex: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1041
+ source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1042
+ }, z.core.$strip>>>;
1043
+ relation_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1044
+ IsSupplementTo: "IsSupplementTo";
1045
+ IsDerivedFrom: "IsDerivedFrom";
1046
+ References: "References";
1047
+ IsVariantFormOf: "IsVariantFormOf";
1048
+ IsIdenticalTo: "IsIdenticalTo";
1049
+ }>>>;
1050
+ doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1051
+ }, z.core.$strip>>>>;
916
1052
  preview: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>;
917
1053
  asset_type: z.ZodDefault<z.ZodLiteral<"dataset">>;
918
1054
  last_updated: z.ZodDefault<z.ZodString>;
@@ -932,11 +1068,6 @@ declare const updateDatasetSchema: z.ZodPipe<z.ZodObject<{
932
1068
  enum_columns?: Record<string, {
933
1069
  values: string[];
934
1070
  }> | 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
1071
  source?: string | null | undefined;
941
1072
  reply_to_comment_id?: string | null | undefined;
942
1073
  type?: string | undefined;
@@ -969,6 +1100,25 @@ declare const updateDatasetSchema: z.ZodPipe<z.ZodObject<{
969
1100
  stripe_product_id?: string | null | undefined;
970
1101
  stripe_price_id?: string | null | undefined;
971
1102
  stripe_meter_id?: string | null | undefined;
1103
+ attribution?: {
1104
+ originality: "original" | "derivative" | "third-party";
1105
+ external_url?: string | null | undefined;
1106
+ github_url?: string | null | undefined;
1107
+ paper_url?: string | null | undefined;
1108
+ doi_url?: string | null | undefined;
1109
+ citation?: {
1110
+ doi?: string | null | undefined;
1111
+ title?: string | null | undefined;
1112
+ authors?: string[] | null | undefined;
1113
+ year?: number | null | undefined;
1114
+ venue?: string | null | undefined;
1115
+ url?: string | null | undefined;
1116
+ bibtex?: string | null | undefined;
1117
+ source?: string | null | undefined;
1118
+ } | null | undefined;
1119
+ relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
1120
+ doi?: string | null | undefined;
1121
+ } | null | undefined;
972
1122
  preview?: Record<string, any>[] | undefined;
973
1123
  }, {
974
1124
  asset_type: "dataset";
@@ -986,11 +1136,6 @@ declare const updateDatasetSchema: z.ZodPipe<z.ZodObject<{
986
1136
  enum_columns?: Record<string, {
987
1137
  values: string[];
988
1138
  }> | 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
1139
  source?: string | null | undefined;
995
1140
  reply_to_comment_id?: string | null | undefined;
996
1141
  type?: string | undefined;
@@ -1023,6 +1168,25 @@ declare const updateDatasetSchema: z.ZodPipe<z.ZodObject<{
1023
1168
  stripe_product_id?: string | null | undefined;
1024
1169
  stripe_price_id?: string | null | undefined;
1025
1170
  stripe_meter_id?: string | null | undefined;
1171
+ attribution?: {
1172
+ originality: "original" | "derivative" | "third-party";
1173
+ external_url?: string | null | undefined;
1174
+ github_url?: string | null | undefined;
1175
+ paper_url?: string | null | undefined;
1176
+ doi_url?: string | null | undefined;
1177
+ citation?: {
1178
+ doi?: string | null | undefined;
1179
+ title?: string | null | undefined;
1180
+ authors?: string[] | null | undefined;
1181
+ year?: number | null | undefined;
1182
+ venue?: string | null | undefined;
1183
+ url?: string | null | undefined;
1184
+ bibtex?: string | null | undefined;
1185
+ source?: string | null | undefined;
1186
+ } | null | undefined;
1187
+ relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
1188
+ doi?: string | null | undefined;
1189
+ } | null | undefined;
1026
1190
  preview?: Record<string, any>[] | undefined;
1027
1191
  }>>;
1028
1192
 
@@ -1,2 +1,2 @@
1
- export{h as CreateDatasetFromFileSchema,i as CreateDatasetFromSchemaSchema,c as DatasetEnumColumnsSchema,b as DatasetRefsSchema,g as DatasetSchema,d as EnrichedDatasetSchemaFieldSchema,a as RefKindSchema,e as ResolvedRefSchema,f as ResolvedRefsSchema,j as updateDatasetSchema}from'../chunk-WNYOQITO.js';import'../chunk-SR5UZ4NP.js';import'../chunk-CF56NFUG.js';import'../chunk-WLGOABHV.js';import'../chunk-3N56ERWF.js';import'../chunk-WRHPQNEL.js';import'../chunk-DUBPWSCA.js';//# sourceMappingURL=datasets.js.map
1
+ export{h as CreateDatasetFromFileSchema,i as CreateDatasetFromSchemaSchema,c as DatasetEnumColumnsSchema,b as DatasetRefsSchema,g as DatasetSchema,d as EnrichedDatasetSchemaFieldSchema,a as RefKindSchema,e as ResolvedRefSchema,f as ResolvedRefsSchema,j as updateDatasetSchema}from'../chunk-QBL6KIST.js';import'../chunk-TGOXRPF5.js';import'../chunk-CF56NFUG.js';import'../chunk-WLGOABHV.js';import'../chunk-3N56ERWF.js';import'../chunk-WRHPQNEL.js';import'../chunk-DUBPWSCA.js';//# sourceMappingURL=datasets.js.map
2
2
  //# sourceMappingURL=datasets.js.map
@@ -1,2 +1,2 @@
1
- 'use strict';var chunk6GPIZJ4T_cjs=require('../chunk-6GPIZJ4T.cjs');require('../chunk-ROMY5WNQ.cjs'),require('../chunk-UY43EQTO.cjs'),require('../chunk-VOY623ZD.cjs'),require('../chunk-GY6SLMMJ.cjs'),require('../chunk-43KB23BA.cjs'),require('../chunk-7HF5VHUN.cjs');Object.defineProperty(exports,"CreateFileSchema",{enumerable:true,get:function(){return chunk6GPIZJ4T_cjs.b}});Object.defineProperty(exports,"FileSchema",{enumerable:true,get:function(){return chunk6GPIZJ4T_cjs.a}});Object.defineProperty(exports,"updateFileSchema",{enumerable:true,get:function(){return chunk6GPIZJ4T_cjs.c}});//# sourceMappingURL=files.cjs.map
1
+ 'use strict';var chunk57RRLX7P_cjs=require('../chunk-57RRLX7P.cjs');require('../chunk-5EQ5LO7V.cjs'),require('../chunk-UY43EQTO.cjs'),require('../chunk-VOY623ZD.cjs'),require('../chunk-GY6SLMMJ.cjs'),require('../chunk-43KB23BA.cjs'),require('../chunk-7HF5VHUN.cjs');Object.defineProperty(exports,"CreateFileSchema",{enumerable:true,get:function(){return chunk57RRLX7P_cjs.b}});Object.defineProperty(exports,"FileSchema",{enumerable:true,get:function(){return chunk57RRLX7P_cjs.a}});Object.defineProperty(exports,"updateFileSchema",{enumerable:true,get:function(){return chunk57RRLX7P_cjs.c}});//# sourceMappingURL=files.cjs.map
2
2
  //# sourceMappingURL=files.cjs.map