@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
@@ -208,18 +208,38 @@ declare const CommentSchema: z.ZodObject<{
208
208
  stripe_price_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
209
209
  stripe_meter_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
210
210
  metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
211
- doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
212
- external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
213
- paper_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
214
- github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
215
- originality: z.ZodEnum<{
216
- original: "original";
217
- derivative: "derivative";
218
- "third-party": "third-party";
219
- }>;
220
211
  source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
221
212
  reply_to_comment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
222
213
  }, z.core.$strip>>>;
214
+ attribution: z.ZodObject<{
215
+ originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
216
+ original: "original";
217
+ derivative: "derivative";
218
+ "third-party": "third-party";
219
+ }>>>;
220
+ external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
221
+ github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
222
+ paper_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
223
+ doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
224
+ citation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
225
+ doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
226
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
227
+ authors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
228
+ year: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
229
+ venue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
230
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
231
+ bibtex: z.ZodOptional<z.ZodNullable<z.ZodString>>;
232
+ source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
233
+ }, z.core.$strip>>>;
234
+ relation_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
235
+ IsSupplementTo: "IsSupplementTo";
236
+ IsDerivedFrom: "IsDerivedFrom";
237
+ References: "References";
238
+ IsVariantFormOf: "IsVariantFormOf";
239
+ IsIdenticalTo: "IsIdenticalTo";
240
+ }>>>;
241
+ doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
242
+ }, z.core.$strip>;
223
243
  state: z.ZodEnum<{
224
244
  success: "success";
225
245
  queued: "queued";
@@ -409,15 +429,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
409
429
  org_id: z.ZodOptional<z.ZodUUID>;
410
430
  parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
411
431
  metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
412
- doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
413
- external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
414
- paper_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
415
- github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
416
- originality: z.ZodEnum<{
417
- original: "original";
418
- derivative: "derivative";
419
- "third-party": "third-party";
420
- }>;
421
432
  source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
422
433
  reply_to_comment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
423
434
  }, z.core.$strip>>>>;
@@ -476,12 +487,96 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
476
487
  asset_type: z.ZodDefault<z.ZodLiteral<"comment">>;
477
488
  id: z.ZodDefault<z.ZodString>;
478
489
  name: z.ZodDefault<z.ZodString>;
490
+ attribution: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
491
+ originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
492
+ original: "original";
493
+ derivative: "derivative";
494
+ "third-party": "third-party";
495
+ }>>>;
496
+ external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
497
+ github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
498
+ paper_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
499
+ doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
500
+ citation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
501
+ doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
502
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
503
+ authors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
504
+ year: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
505
+ venue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
506
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
507
+ bibtex: z.ZodOptional<z.ZodNullable<z.ZodString>>;
508
+ source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
509
+ }, z.core.$strip>>>;
510
+ relation_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
511
+ IsSupplementTo: "IsSupplementTo";
512
+ IsDerivedFrom: "IsDerivedFrom";
513
+ References: "References";
514
+ IsVariantFormOf: "IsVariantFormOf";
515
+ IsIdenticalTo: "IsIdenticalTo";
516
+ }>>>;
517
+ doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
518
+ }, z.core.$strip>>>, z.ZodTransform<{
519
+ originality: "original" | "derivative" | "third-party";
520
+ external_url?: string | null | undefined;
521
+ github_url?: string | null | undefined;
522
+ paper_url?: string | null | undefined;
523
+ doi_url?: string | null | undefined;
524
+ citation?: {
525
+ doi?: string | null | undefined;
526
+ title?: string | null | undefined;
527
+ authors?: string[] | null | undefined;
528
+ year?: number | null | undefined;
529
+ venue?: string | null | undefined;
530
+ url?: string | null | undefined;
531
+ bibtex?: string | null | undefined;
532
+ source?: string | null | undefined;
533
+ } | null | undefined;
534
+ relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
535
+ doi?: string | null | undefined;
536
+ }, {
537
+ originality: "original" | "derivative" | "third-party";
538
+ external_url?: string | null | undefined;
539
+ github_url?: string | null | undefined;
540
+ paper_url?: string | null | undefined;
541
+ doi_url?: string | null | undefined;
542
+ citation?: {
543
+ doi?: string | null | undefined;
544
+ title?: string | null | undefined;
545
+ authors?: string[] | null | undefined;
546
+ year?: number | null | undefined;
547
+ venue?: string | null | undefined;
548
+ url?: string | null | undefined;
549
+ bibtex?: string | null | undefined;
550
+ source?: string | null | undefined;
551
+ } | null | undefined;
552
+ relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
553
+ doi?: string | null | undefined;
554
+ } | null | undefined>>;
479
555
  created_at: z.ZodDefault<z.ZodString>;
480
556
  last_updated: z.ZodDefault<z.ZodString>;
481
557
  }, z.core.$strip>, z.ZodTransform<{
482
558
  asset_type: "comment";
483
559
  id: string;
484
560
  name: string;
561
+ attribution: {
562
+ originality: "original" | "derivative" | "third-party";
563
+ external_url?: string | null | undefined;
564
+ github_url?: string | null | undefined;
565
+ paper_url?: string | null | undefined;
566
+ doi_url?: string | null | undefined;
567
+ citation?: {
568
+ doi?: string | null | undefined;
569
+ title?: string | null | undefined;
570
+ authors?: string[] | null | undefined;
571
+ year?: number | null | undefined;
572
+ venue?: string | null | undefined;
573
+ url?: string | null | undefined;
574
+ bibtex?: string | null | undefined;
575
+ source?: string | null | undefined;
576
+ } | null | undefined;
577
+ relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
578
+ doi?: string | null | undefined;
579
+ };
485
580
  created_at: string;
486
581
  last_updated: string;
487
582
  user?: {
@@ -583,11 +678,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
583
678
  org_id?: string | undefined;
584
679
  parent?: Record<string, any> | undefined;
585
680
  metadata?: {
586
- originality: "original" | "derivative" | "third-party";
587
- doi_url?: string | null | undefined;
588
- external_url?: string | null | undefined;
589
- paper_url?: string | null | undefined;
590
- github_url?: string | null | undefined;
591
681
  source?: string | null | undefined;
592
682
  reply_to_comment_id?: string | null | undefined;
593
683
  } | null | undefined;
@@ -622,6 +712,25 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
622
712
  asset_type: "comment";
623
713
  id: string;
624
714
  name: string;
715
+ attribution: {
716
+ originality: "original" | "derivative" | "third-party";
717
+ external_url?: string | null | undefined;
718
+ github_url?: string | null | undefined;
719
+ paper_url?: string | null | undefined;
720
+ doi_url?: string | null | undefined;
721
+ citation?: {
722
+ doi?: string | null | undefined;
723
+ title?: string | null | undefined;
724
+ authors?: string[] | null | undefined;
725
+ year?: number | null | undefined;
726
+ venue?: string | null | undefined;
727
+ url?: string | null | undefined;
728
+ bibtex?: string | null | undefined;
729
+ source?: string | null | undefined;
730
+ } | null | undefined;
731
+ relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
732
+ doi?: string | null | undefined;
733
+ };
625
734
  created_at: string;
626
735
  last_updated: string;
627
736
  user?: {
@@ -723,11 +832,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
723
832
  org_id?: string | undefined;
724
833
  parent?: Record<string, any> | undefined;
725
834
  metadata?: {
726
- originality: "original" | "derivative" | "third-party";
727
- doi_url?: string | null | undefined;
728
- external_url?: string | null | undefined;
729
- paper_url?: string | null | undefined;
730
- github_url?: string | null | undefined;
731
835
  source?: string | null | undefined;
732
836
  reply_to_comment_id?: string | null | undefined;
733
837
  } | null | undefined;
@@ -1,2 +1,2 @@
1
- export{a as CommentSchema,b as CreateCommentSchema}from'../chunk-G3VMEPTP.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=comments.js.map
1
+ export{a as CommentSchema,b as CreateCommentSchema}from'../chunk-N74Y47X7.js';import'../chunk-2BABFO5H.js';import'../chunk-CF56NFUG.js';import'../chunk-WLGOABHV.js';import'../chunk-3N56ERWF.js';import'../chunk-WRHPQNEL.js';import'../chunk-DUBPWSCA.js';//# sourceMappingURL=comments.js.map
2
2
  //# sourceMappingURL=comments.js.map
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkDBEBXFQI_cjs=require('../chunk-DBEBXFQI.cjs');require('../chunk-F5CWCYOP.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,"ConversationSchema",{enumerable:true,get:function(){return chunkDBEBXFQI_cjs.a}});Object.defineProperty(exports,"CreateConversationSchema",{enumerable:true,get:function(){return chunkDBEBXFQI_cjs.b}});Object.defineProperty(exports,"MessageSchema",{enumerable:true,get:function(){return chunkDBEBXFQI_cjs.d}});Object.defineProperty(exports,"UpdateConversationSchema",{enumerable:true,get:function(){return chunkDBEBXFQI_cjs.c}});//# sourceMappingURL=conversations.cjs.map
1
+ 'use strict';var chunk2KXX5JF6_cjs=require('../chunk-2KXX5JF6.cjs');require('../chunk-PN763DHR.cjs'),require('../chunk-PPZZKUF6.cjs'),require('../chunk-UY43EQTO.cjs'),require('../chunk-VOY623ZD.cjs'),require('../chunk-GY6SLMMJ.cjs'),require('../chunk-43KB23BA.cjs'),require('../chunk-7HF5VHUN.cjs');Object.defineProperty(exports,"ConversationSchema",{enumerable:true,get:function(){return chunk2KXX5JF6_cjs.a}});Object.defineProperty(exports,"CreateConversationSchema",{enumerable:true,get:function(){return chunk2KXX5JF6_cjs.b}});Object.defineProperty(exports,"MessageSchema",{enumerable:true,get:function(){return chunk2KXX5JF6_cjs.d}});Object.defineProperty(exports,"UpdateConversationSchema",{enumerable:true,get:function(){return chunk2KXX5JF6_cjs.c}});//# sourceMappingURL=conversations.cjs.map
2
2
  //# sourceMappingURL=conversations.cjs.map
@@ -206,6 +206,35 @@ declare const ConversationSchema: z.ZodObject<{
206
206
  stripe_product_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
207
207
  stripe_price_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
208
208
  stripe_meter_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
209
+ attribution: z.ZodObject<{
210
+ originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
211
+ original: "original";
212
+ derivative: "derivative";
213
+ "third-party": "third-party";
214
+ }>>>;
215
+ external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
216
+ github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
217
+ paper_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
218
+ doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
219
+ citation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
220
+ doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
221
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
222
+ authors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
223
+ year: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
224
+ venue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
225
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
226
+ bibtex: z.ZodOptional<z.ZodNullable<z.ZodString>>;
227
+ source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
228
+ }, z.core.$strip>>>;
229
+ relation_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
230
+ IsSupplementTo: "IsSupplementTo";
231
+ IsDerivedFrom: "IsDerivedFrom";
232
+ References: "References";
233
+ IsVariantFormOf: "IsVariantFormOf";
234
+ IsIdenticalTo: "IsIdenticalTo";
235
+ }>>>;
236
+ doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
237
+ }, z.core.$strip>;
209
238
  preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
210
239
  state: z.ZodEnum<{
211
240
  success: "success";
@@ -237,15 +266,6 @@ declare const ConversationSchema: z.ZodObject<{
237
266
  name: z.ZodNullable<z.ZodString>;
238
267
  metadata: z.ZodObject<{
239
268
  members: z.ZodArray<z.ZodString>;
240
- doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
241
- external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
242
- paper_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
243
- github_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
244
- originality: z.ZodOptional<z.ZodEnum<{
245
- original: "original";
246
- derivative: "derivative";
247
- "third-party": "third-party";
248
- }>>;
249
269
  source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
250
270
  reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
251
271
  }, z.core.$strip>;
@@ -312,6 +332,71 @@ declare const CreateConversationSchema: z.ZodPipe<z.ZodObject<{
312
332
  api: "api";
313
333
  web: "web";
314
334
  }>>;
335
+ attribution: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
336
+ originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
337
+ original: "original";
338
+ derivative: "derivative";
339
+ "third-party": "third-party";
340
+ }>>>;
341
+ external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
342
+ github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
343
+ paper_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
344
+ doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
345
+ citation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
346
+ doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
347
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
348
+ authors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
349
+ year: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
350
+ venue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
351
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
352
+ bibtex: z.ZodOptional<z.ZodNullable<z.ZodString>>;
353
+ source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
354
+ }, z.core.$strip>>>;
355
+ relation_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
356
+ IsSupplementTo: "IsSupplementTo";
357
+ IsDerivedFrom: "IsDerivedFrom";
358
+ References: "References";
359
+ IsVariantFormOf: "IsVariantFormOf";
360
+ IsIdenticalTo: "IsIdenticalTo";
361
+ }>>>;
362
+ doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
363
+ }, z.core.$strip>>>, z.ZodTransform<{
364
+ originality: "original" | "derivative" | "third-party";
365
+ external_url?: string | null | undefined;
366
+ github_url?: string | null | undefined;
367
+ paper_url?: string | null | undefined;
368
+ doi_url?: string | null | undefined;
369
+ citation?: {
370
+ doi?: string | null | undefined;
371
+ title?: string | null | undefined;
372
+ authors?: string[] | null | undefined;
373
+ year?: number | null | undefined;
374
+ venue?: string | null | undefined;
375
+ url?: string | null | undefined;
376
+ bibtex?: string | null | undefined;
377
+ source?: string | null | undefined;
378
+ } | null | undefined;
379
+ relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
380
+ doi?: string | null | undefined;
381
+ }, {
382
+ originality: "original" | "derivative" | "third-party";
383
+ external_url?: string | null | undefined;
384
+ github_url?: string | null | undefined;
385
+ paper_url?: string | null | undefined;
386
+ doi_url?: string | null | undefined;
387
+ citation?: {
388
+ doi?: string | null | undefined;
389
+ title?: string | null | undefined;
390
+ authors?: string[] | null | undefined;
391
+ year?: number | null | undefined;
392
+ venue?: string | null | undefined;
393
+ url?: string | null | undefined;
394
+ bibtex?: string | null | undefined;
395
+ source?: string | null | undefined;
396
+ } | null | undefined;
397
+ relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
398
+ doi?: string | null | undefined;
399
+ } | null | undefined>>;
315
400
  created_at: z.ZodDefault<z.ZodString>;
316
401
  last_updated: z.ZodDefault<z.ZodString>;
317
402
  asset_type: z.ZodDefault<z.ZodLiteral<"conversation">>;
@@ -330,15 +415,6 @@ declare const CreateConversationSchema: z.ZodPipe<z.ZodObject<{
330
415
  name: z.ZodPipe<z.ZodPipe<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodString>>>, z.ZodTransform<string | undefined, string | null>>, z.ZodTransform<string | null, string | undefined>>;
331
416
  metadata: z.ZodObject<{
332
417
  members: z.ZodArray<z.ZodString>;
333
- doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
334
- external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
335
- paper_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
336
- github_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
337
- originality: z.ZodOptional<z.ZodEnum<{
338
- original: "original";
339
- derivative: "derivative";
340
- "third-party": "third-party";
341
- }>>;
342
418
  source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
343
419
  reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
344
420
  }, z.core.$strip>;
@@ -348,6 +424,25 @@ declare const CreateConversationSchema: z.ZodPipe<z.ZodObject<{
348
424
  org_id: string | null;
349
425
  state: "success" | "queued" | "in-progress" | "timed-out" | "error";
350
426
  source: "api" | "web";
427
+ attribution: {
428
+ originality: "original" | "derivative" | "third-party";
429
+ external_url?: string | null | undefined;
430
+ github_url?: string | null | undefined;
431
+ paper_url?: string | null | undefined;
432
+ doi_url?: string | null | undefined;
433
+ citation?: {
434
+ doi?: string | null | undefined;
435
+ title?: string | null | undefined;
436
+ authors?: string[] | null | undefined;
437
+ year?: number | null | undefined;
438
+ venue?: string | null | undefined;
439
+ url?: string | null | undefined;
440
+ bibtex?: string | null | undefined;
441
+ source?: string | null | undefined;
442
+ } | null | undefined;
443
+ relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
444
+ doi?: string | null | undefined;
445
+ };
351
446
  created_at: string;
352
447
  last_updated: string;
353
448
  asset_type: "conversation";
@@ -356,11 +451,6 @@ declare const CreateConversationSchema: z.ZodPipe<z.ZodObject<{
356
451
  name: string | null;
357
452
  metadata: {
358
453
  members: string[];
359
- doi_url?: string | null | undefined;
360
- external_url?: string | null | undefined;
361
- paper_url?: string | null | undefined;
362
- github_url?: string | null | undefined;
363
- originality?: "original" | "derivative" | "third-party" | undefined;
364
454
  source?: string | null | undefined;
365
455
  reply_to_comment_id?: string | null | undefined;
366
456
  };
@@ -387,6 +477,25 @@ declare const CreateConversationSchema: z.ZodPipe<z.ZodObject<{
387
477
  org_id: string | null;
388
478
  state: "success" | "queued" | "in-progress" | "timed-out" | "error";
389
479
  source: "api" | "web";
480
+ attribution: {
481
+ originality: "original" | "derivative" | "third-party";
482
+ external_url?: string | null | undefined;
483
+ github_url?: string | null | undefined;
484
+ paper_url?: string | null | undefined;
485
+ doi_url?: string | null | undefined;
486
+ citation?: {
487
+ doi?: string | null | undefined;
488
+ title?: string | null | undefined;
489
+ authors?: string[] | null | undefined;
490
+ year?: number | null | undefined;
491
+ venue?: string | null | undefined;
492
+ url?: string | null | undefined;
493
+ bibtex?: string | null | undefined;
494
+ source?: string | null | undefined;
495
+ } | null | undefined;
496
+ relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
497
+ doi?: string | null | undefined;
498
+ };
390
499
  created_at: string;
391
500
  last_updated: string;
392
501
  asset_type: "conversation";
@@ -395,11 +504,6 @@ declare const CreateConversationSchema: z.ZodPipe<z.ZodObject<{
395
504
  name: string | null;
396
505
  metadata: {
397
506
  members: string[];
398
- doi_url?: string | null | undefined;
399
- external_url?: string | null | undefined;
400
- paper_url?: string | null | undefined;
401
- github_url?: string | null | undefined;
402
- originality?: "original" | "derivative" | "third-party" | undefined;
403
507
  source?: string | null | undefined;
404
508
  reply_to_comment_id?: string | null | undefined;
405
509
  };
@@ -426,15 +530,6 @@ declare const UpdateConversationSchema: z.ZodPipe<z.ZodObject<{
426
530
  parent: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
427
531
  metadata: z.ZodOptional<z.ZodObject<{
428
532
  members: z.ZodArray<z.ZodString>;
429
- doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
430
- external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
431
- paper_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
432
- github_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
433
- originality: z.ZodOptional<z.ZodEnum<{
434
- original: "original";
435
- derivative: "derivative";
436
- "third-party": "third-party";
437
- }>>;
438
533
  source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
439
534
  reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
440
535
  }, z.core.$strip>>;
@@ -461,6 +556,71 @@ declare const UpdateConversationSchema: z.ZodPipe<z.ZodObject<{
461
556
  "pay-to-unlock": "pay-to-unlock";
462
557
  "pay-per-use": "pay-per-use";
463
558
  }>>>;
559
+ attribution: z.ZodOptional<z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
560
+ originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
561
+ original: "original";
562
+ derivative: "derivative";
563
+ "third-party": "third-party";
564
+ }>>>;
565
+ external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
566
+ github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
567
+ paper_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
568
+ doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
569
+ citation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
570
+ doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
571
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
572
+ authors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
573
+ year: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
574
+ venue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
575
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
576
+ bibtex: z.ZodOptional<z.ZodNullable<z.ZodString>>;
577
+ source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
578
+ }, z.core.$strip>>>;
579
+ relation_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
580
+ IsSupplementTo: "IsSupplementTo";
581
+ IsDerivedFrom: "IsDerivedFrom";
582
+ References: "References";
583
+ IsVariantFormOf: "IsVariantFormOf";
584
+ IsIdenticalTo: "IsIdenticalTo";
585
+ }>>>;
586
+ doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
587
+ }, z.core.$strip>>>, z.ZodTransform<{
588
+ originality: "original" | "derivative" | "third-party";
589
+ external_url?: string | null | undefined;
590
+ github_url?: string | null | undefined;
591
+ paper_url?: string | null | undefined;
592
+ doi_url?: string | null | undefined;
593
+ citation?: {
594
+ doi?: string | null | undefined;
595
+ title?: string | null | undefined;
596
+ authors?: string[] | null | undefined;
597
+ year?: number | null | undefined;
598
+ venue?: string | null | undefined;
599
+ url?: string | null | undefined;
600
+ bibtex?: string | null | undefined;
601
+ source?: string | null | undefined;
602
+ } | null | undefined;
603
+ relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
604
+ doi?: string | null | undefined;
605
+ }, {
606
+ originality: "original" | "derivative" | "third-party";
607
+ external_url?: string | null | undefined;
608
+ github_url?: string | null | undefined;
609
+ paper_url?: string | null | undefined;
610
+ doi_url?: string | null | undefined;
611
+ citation?: {
612
+ doi?: string | null | undefined;
613
+ title?: string | null | undefined;
614
+ authors?: string[] | null | undefined;
615
+ year?: number | null | undefined;
616
+ venue?: string | null | undefined;
617
+ url?: string | null | undefined;
618
+ bibtex?: string | null | undefined;
619
+ source?: string | null | undefined;
620
+ } | null | undefined;
621
+ relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
622
+ doi?: string | null | undefined;
623
+ } | null | undefined>>>;
464
624
  state: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodEnum<{
465
625
  success: "success";
466
626
  queued: "queued";
@@ -491,11 +651,6 @@ declare const UpdateConversationSchema: z.ZodPipe<z.ZodObject<{
491
651
  parent?: Record<string, any> | undefined;
492
652
  metadata?: {
493
653
  members: string[];
494
- doi_url?: string | null | undefined;
495
- external_url?: string | null | undefined;
496
- paper_url?: string | null | undefined;
497
- github_url?: string | null | undefined;
498
- originality?: "original" | "derivative" | "third-party" | undefined;
499
654
  source?: string | null | undefined;
500
655
  reply_to_comment_id?: string | null | undefined;
501
656
  } | undefined;
@@ -509,6 +664,25 @@ declare const UpdateConversationSchema: z.ZodPipe<z.ZodObject<{
509
664
  } | null | undefined;
510
665
  source?: "api" | "web" | undefined;
511
666
  monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
667
+ attribution?: {
668
+ originality: "original" | "derivative" | "third-party";
669
+ external_url?: string | null | undefined;
670
+ github_url?: string | null | undefined;
671
+ paper_url?: string | null | undefined;
672
+ doi_url?: string | null | undefined;
673
+ citation?: {
674
+ doi?: string | null | undefined;
675
+ title?: string | null | undefined;
676
+ authors?: string[] | null | undefined;
677
+ year?: number | null | undefined;
678
+ venue?: string | null | undefined;
679
+ url?: string | null | undefined;
680
+ bibtex?: string | null | undefined;
681
+ source?: string | null | undefined;
682
+ } | null | undefined;
683
+ relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
684
+ doi?: string | null | undefined;
685
+ } | undefined;
512
686
  state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
513
687
  parent_id?: string | null | undefined;
514
688
  license_id?: string | undefined;
@@ -527,11 +701,6 @@ declare const UpdateConversationSchema: z.ZodPipe<z.ZodObject<{
527
701
  parent?: Record<string, any> | undefined;
528
702
  metadata?: {
529
703
  members: string[];
530
- doi_url?: string | null | undefined;
531
- external_url?: string | null | undefined;
532
- paper_url?: string | null | undefined;
533
- github_url?: string | null | undefined;
534
- originality?: "original" | "derivative" | "third-party" | undefined;
535
704
  source?: string | null | undefined;
536
705
  reply_to_comment_id?: string | null | undefined;
537
706
  } | undefined;
@@ -545,6 +714,25 @@ declare const UpdateConversationSchema: z.ZodPipe<z.ZodObject<{
545
714
  } | null | undefined;
546
715
  source?: "api" | "web" | undefined;
547
716
  monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
717
+ attribution?: {
718
+ originality: "original" | "derivative" | "third-party";
719
+ external_url?: string | null | undefined;
720
+ github_url?: string | null | undefined;
721
+ paper_url?: string | null | undefined;
722
+ doi_url?: string | null | undefined;
723
+ citation?: {
724
+ doi?: string | null | undefined;
725
+ title?: string | null | undefined;
726
+ authors?: string[] | null | undefined;
727
+ year?: number | null | undefined;
728
+ venue?: string | null | undefined;
729
+ url?: string | null | undefined;
730
+ bibtex?: string | null | undefined;
731
+ source?: string | null | undefined;
732
+ } | null | undefined;
733
+ relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
734
+ doi?: string | null | undefined;
735
+ } | undefined;
548
736
  state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
549
737
  parent_id?: string | null | undefined;
550
738
  license_id?: string | undefined;