@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
@@ -637,6 +637,35 @@ declare const QuestSchema: z.ZodObject<{
637
637
  stripe_product_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
638
638
  stripe_price_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
639
639
  stripe_meter_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
640
+ attribution: z.ZodObject<{
641
+ originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
642
+ original: "original";
643
+ derivative: "derivative";
644
+ "third-party": "third-party";
645
+ }>>>;
646
+ external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
647
+ github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
648
+ paper_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
649
+ doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
650
+ citation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
651
+ doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
652
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
653
+ authors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
654
+ year: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
655
+ venue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
656
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
657
+ bibtex: z.ZodOptional<z.ZodNullable<z.ZodString>>;
658
+ source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
659
+ }, z.core.$strip>>>;
660
+ relation_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
661
+ IsSupplementTo: "IsSupplementTo";
662
+ IsDerivedFrom: "IsDerivedFrom";
663
+ References: "References";
664
+ IsVariantFormOf: "IsVariantFormOf";
665
+ IsIdenticalTo: "IsIdenticalTo";
666
+ }>>>;
667
+ doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
668
+ }, z.core.$strip>;
640
669
  preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
641
670
  state: z.ZodEnum<{
642
671
  success: "success";
@@ -654,15 +683,6 @@ declare const QuestSchema: z.ZodObject<{
654
683
  last_updated: z.ZodString;
655
684
  asset_type: z.ZodDefault<z.ZodLiteral<"quest">>;
656
685
  metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
657
- doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
658
- external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
659
- paper_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
660
- github_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
661
- originality: z.ZodOptional<z.ZodEnum<{
662
- original: "original";
663
- derivative: "derivative";
664
- "third-party": "third-party";
665
- }>>;
666
686
  source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
667
687
  reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
668
688
  }, z.core.$strip>>>;
@@ -806,15 +826,6 @@ declare const QuestSchema: z.ZodObject<{
806
826
  declare const CreateQuestSchema: z.ZodPipe<z.ZodObject<{
807
827
  parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
808
828
  metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
809
- doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
810
- external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
811
- paper_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
812
- github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
813
- originality: z.ZodEnum<{
814
- original: "original";
815
- derivative: "derivative";
816
- "third-party": "third-party";
817
- }>;
818
829
  source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
819
830
  reply_to_comment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
820
831
  }, z.core.$strip>>>>;
@@ -862,6 +873,71 @@ declare const CreateQuestSchema: z.ZodPipe<z.ZodObject<{
862
873
  monetized: "monetized";
863
874
  inherit: "inherit";
864
875
  }>>>;
876
+ attribution: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
877
+ originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
878
+ original: "original";
879
+ derivative: "derivative";
880
+ "third-party": "third-party";
881
+ }>>>;
882
+ external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
883
+ github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
884
+ paper_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
885
+ doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
886
+ citation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
887
+ doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
888
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
889
+ authors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
890
+ year: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
891
+ venue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
892
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
893
+ bibtex: z.ZodOptional<z.ZodNullable<z.ZodString>>;
894
+ source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
895
+ }, z.core.$strip>>>;
896
+ relation_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
897
+ IsSupplementTo: "IsSupplementTo";
898
+ IsDerivedFrom: "IsDerivedFrom";
899
+ References: "References";
900
+ IsVariantFormOf: "IsVariantFormOf";
901
+ IsIdenticalTo: "IsIdenticalTo";
902
+ }>>>;
903
+ doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
904
+ }, z.core.$strip>>>, z.ZodTransform<{
905
+ originality: "original" | "derivative" | "third-party";
906
+ external_url?: string | null | undefined;
907
+ github_url?: string | null | undefined;
908
+ paper_url?: string | null | undefined;
909
+ doi_url?: string | null | undefined;
910
+ citation?: {
911
+ doi?: string | null | undefined;
912
+ title?: string | null | undefined;
913
+ authors?: string[] | null | undefined;
914
+ year?: number | null | undefined;
915
+ venue?: string | null | undefined;
916
+ url?: string | null | undefined;
917
+ bibtex?: string | null | undefined;
918
+ source?: string | null | undefined;
919
+ } | null | undefined;
920
+ relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
921
+ doi?: string | null | undefined;
922
+ }, {
923
+ originality: "original" | "derivative" | "third-party";
924
+ external_url?: string | null | undefined;
925
+ github_url?: string | null | undefined;
926
+ paper_url?: string | null | undefined;
927
+ doi_url?: string | null | undefined;
928
+ citation?: {
929
+ doi?: string | null | undefined;
930
+ title?: string | null | undefined;
931
+ authors?: string[] | null | undefined;
932
+ year?: number | null | undefined;
933
+ venue?: string | null | undefined;
934
+ url?: string | null | undefined;
935
+ bibtex?: string | null | undefined;
936
+ source?: string | null | undefined;
937
+ } | null | undefined;
938
+ relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
939
+ doi?: string | null | undefined;
940
+ } | null | undefined>>;
865
941
  created_at: z.ZodDefault<z.ZodString>;
866
942
  last_updated: z.ZodDefault<z.ZodString>;
867
943
  asset_type: z.ZodDefault<z.ZodLiteral<"quest">>;
@@ -1024,6 +1100,25 @@ declare const CreateQuestSchema: z.ZodPipe<z.ZodObject<{
1024
1100
  state: "success" | "queued" | "in-progress" | "timed-out" | "error";
1025
1101
  source: "api" | "web";
1026
1102
  visibility: "organization" | "public" | "private" | "monetized" | "inherit";
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
+ };
1027
1122
  created_at: string;
1028
1123
  last_updated: string;
1029
1124
  asset_type: "quest";
@@ -1061,11 +1156,6 @@ declare const CreateQuestSchema: z.ZodPipe<z.ZodObject<{
1061
1156
  }[];
1062
1157
  parent?: Record<string, any> | undefined;
1063
1158
  metadata?: {
1064
- originality: "original" | "derivative" | "third-party";
1065
- doi_url?: string | null | undefined;
1066
- external_url?: string | null | undefined;
1067
- paper_url?: string | null | undefined;
1068
- github_url?: string | null | undefined;
1069
1159
  source?: string | null | undefined;
1070
1160
  reply_to_comment_id?: string | null | undefined;
1071
1161
  } | null | undefined;
@@ -1097,6 +1187,25 @@ declare const CreateQuestSchema: z.ZodPipe<z.ZodObject<{
1097
1187
  state: "success" | "queued" | "in-progress" | "timed-out" | "error";
1098
1188
  source: "api" | "web";
1099
1189
  visibility: "organization" | "public" | "private" | "monetized" | "inherit";
1190
+ attribution: {
1191
+ originality: "original" | "derivative" | "third-party";
1192
+ external_url?: string | null | undefined;
1193
+ github_url?: string | null | undefined;
1194
+ paper_url?: string | null | undefined;
1195
+ doi_url?: string | null | undefined;
1196
+ citation?: {
1197
+ doi?: string | null | undefined;
1198
+ title?: string | null | undefined;
1199
+ authors?: string[] | null | undefined;
1200
+ year?: number | null | undefined;
1201
+ venue?: string | null | undefined;
1202
+ url?: string | null | undefined;
1203
+ bibtex?: string | null | undefined;
1204
+ source?: string | null | undefined;
1205
+ } | null | undefined;
1206
+ relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
1207
+ doi?: string | null | undefined;
1208
+ };
1100
1209
  created_at: string;
1101
1210
  last_updated: string;
1102
1211
  asset_type: "quest";
@@ -1134,11 +1243,6 @@ declare const CreateQuestSchema: z.ZodPipe<z.ZodObject<{
1134
1243
  }[];
1135
1244
  parent?: Record<string, any> | undefined;
1136
1245
  metadata?: {
1137
- originality: "original" | "derivative" | "third-party";
1138
- doi_url?: string | null | undefined;
1139
- external_url?: string | null | undefined;
1140
- paper_url?: string | null | undefined;
1141
- github_url?: string | null | undefined;
1142
1246
  source?: string | null | undefined;
1143
1247
  reply_to_comment_id?: string | null | undefined;
1144
1248
  } | null | undefined;
@@ -1182,15 +1286,6 @@ declare const UpdateQuestSchema: z.ZodPipe<z.ZodObject<{
1182
1286
  org_id: z.ZodOptional<z.ZodUUID>;
1183
1287
  parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1184
1288
  metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
1185
- doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1186
- external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1187
- paper_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1188
- github_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1189
- originality: z.ZodOptional<z.ZodEnum<{
1190
- original: "original";
1191
- derivative: "derivative";
1192
- "third-party": "third-party";
1193
- }>>;
1194
1289
  source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1195
1290
  reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1196
1291
  }, z.core.$strip>>>>;
@@ -1216,6 +1311,35 @@ declare const UpdateQuestSchema: z.ZodPipe<z.ZodObject<{
1216
1311
  "pay-to-unlock": "pay-to-unlock";
1217
1312
  "pay-per-use": "pay-per-use";
1218
1313
  }>>;
1314
+ attribution: z.ZodOptional<z.ZodObject<{
1315
+ originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1316
+ original: "original";
1317
+ derivative: "derivative";
1318
+ "third-party": "third-party";
1319
+ }>>>;
1320
+ external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1321
+ github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1322
+ paper_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1323
+ doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1324
+ citation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1325
+ doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1326
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1327
+ authors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1328
+ year: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1329
+ venue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1330
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1331
+ bibtex: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1332
+ source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1333
+ }, z.core.$strip>>>;
1334
+ relation_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1335
+ IsSupplementTo: "IsSupplementTo";
1336
+ IsDerivedFrom: "IsDerivedFrom";
1337
+ References: "References";
1338
+ IsVariantFormOf: "IsVariantFormOf";
1339
+ IsIdenticalTo: "IsIdenticalTo";
1340
+ }>>>;
1341
+ doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1342
+ }, z.core.$strip>>;
1219
1343
  state: z.ZodOptional<z.ZodEnum<{
1220
1344
  success: "success";
1221
1345
  queued: "queued";
@@ -1256,11 +1380,6 @@ declare const UpdateQuestSchema: z.ZodPipe<z.ZodObject<{
1256
1380
  org_id?: string | undefined;
1257
1381
  parent?: Record<string, any> | undefined;
1258
1382
  metadata?: {
1259
- doi_url?: string | null | undefined;
1260
- external_url?: string | null | undefined;
1261
- paper_url?: string | null | undefined;
1262
- github_url?: string | null | undefined;
1263
- originality?: "original" | "derivative" | "third-party" | undefined;
1264
1383
  source?: string | null | undefined;
1265
1384
  reply_to_comment_id?: string | null | undefined;
1266
1385
  } | null | undefined;
@@ -1273,6 +1392,25 @@ declare const UpdateQuestSchema: z.ZodPipe<z.ZodObject<{
1273
1392
  } | null | undefined;
1274
1393
  source?: "api" | "web" | undefined;
1275
1394
  monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
1395
+ attribution?: {
1396
+ originality: "original" | "derivative" | "third-party";
1397
+ external_url?: string | null | undefined;
1398
+ github_url?: string | null | undefined;
1399
+ paper_url?: string | null | undefined;
1400
+ doi_url?: string | null | undefined;
1401
+ citation?: {
1402
+ doi?: string | null | undefined;
1403
+ title?: string | null | undefined;
1404
+ authors?: string[] | null | undefined;
1405
+ year?: number | null | undefined;
1406
+ venue?: string | null | undefined;
1407
+ url?: string | null | undefined;
1408
+ bibtex?: string | null | undefined;
1409
+ source?: string | null | undefined;
1410
+ } | null | undefined;
1411
+ relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
1412
+ doi?: string | null | undefined;
1413
+ } | undefined;
1276
1414
  state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
1277
1415
  parent_id?: string | null | undefined;
1278
1416
  license_id?: string | undefined;
@@ -1299,11 +1437,6 @@ declare const UpdateQuestSchema: z.ZodPipe<z.ZodObject<{
1299
1437
  org_id?: string | undefined;
1300
1438
  parent?: Record<string, any> | undefined;
1301
1439
  metadata?: {
1302
- doi_url?: string | null | undefined;
1303
- external_url?: string | null | undefined;
1304
- paper_url?: string | null | undefined;
1305
- github_url?: string | null | undefined;
1306
- originality?: "original" | "derivative" | "third-party" | undefined;
1307
1440
  source?: string | null | undefined;
1308
1441
  reply_to_comment_id?: string | null | undefined;
1309
1442
  } | null | undefined;
@@ -1316,6 +1449,25 @@ declare const UpdateQuestSchema: z.ZodPipe<z.ZodObject<{
1316
1449
  } | null | undefined;
1317
1450
  source?: "api" | "web" | undefined;
1318
1451
  monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
1452
+ attribution?: {
1453
+ originality: "original" | "derivative" | "third-party";
1454
+ external_url?: string | null | undefined;
1455
+ github_url?: string | null | undefined;
1456
+ paper_url?: string | null | undefined;
1457
+ doi_url?: string | null | undefined;
1458
+ citation?: {
1459
+ doi?: string | null | undefined;
1460
+ title?: string | null | undefined;
1461
+ authors?: string[] | null | undefined;
1462
+ year?: number | null | undefined;
1463
+ venue?: string | null | undefined;
1464
+ url?: string | null | undefined;
1465
+ bibtex?: string | null | undefined;
1466
+ source?: string | null | undefined;
1467
+ } | null | undefined;
1468
+ relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
1469
+ doi?: string | null | undefined;
1470
+ } | undefined;
1319
1471
  state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
1320
1472
  parent_id?: string | null | undefined;
1321
1473
  license_id?: string | undefined;