@ourofoundation/ouro-js 3.2.5 → 3.4.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 (144) hide show
  1. package/dist/chunk-36UOEIZN.js +2 -0
  2. package/dist/chunk-36UOEIZN.js.map +1 -0
  3. package/dist/chunk-43KB23BA.cjs +2 -0
  4. package/dist/chunk-43KB23BA.cjs.map +1 -0
  5. package/dist/{chunk-7RF362MN.cjs → chunk-4K6R6FZD.cjs} +2 -2
  6. package/dist/{chunk-7RF362MN.cjs.map → chunk-4K6R6FZD.cjs.map} +1 -1
  7. package/dist/chunk-4KDHR4VP.js +2 -0
  8. package/dist/chunk-4KDHR4VP.js.map +1 -0
  9. package/dist/{chunk-SKQ6BRPY.js → chunk-6YF2RSXS.js} +2 -2
  10. package/dist/{chunk-SKQ6BRPY.js.map → chunk-6YF2RSXS.js.map} +1 -1
  11. package/dist/{chunk-TGAK4B5M.js → chunk-B4225TEG.js} +2 -2
  12. package/dist/{chunk-TGAK4B5M.js.map → chunk-B4225TEG.js.map} +1 -1
  13. package/dist/{chunk-Q34MIANF.js → chunk-BFBGVGNF.js} +2 -2
  14. package/dist/{chunk-Q34MIANF.js.map → chunk-BFBGVGNF.js.map} +1 -1
  15. package/dist/{chunk-OFSSOFOC.cjs → chunk-BQ5WODME.cjs} +2 -2
  16. package/dist/{chunk-OFSSOFOC.cjs.map → chunk-BQ5WODME.cjs.map} +1 -1
  17. package/dist/{chunk-WYHO26N6.js → chunk-CF56NFUG.js} +2 -2
  18. package/dist/{chunk-WYHO26N6.js.map → chunk-CF56NFUG.js.map} +1 -1
  19. package/dist/chunk-CIWFH5BJ.js +2 -0
  20. package/dist/chunk-CIWFH5BJ.js.map +1 -0
  21. package/dist/chunk-G24BRDHO.cjs +2 -0
  22. package/dist/chunk-G24BRDHO.cjs.map +1 -0
  23. package/dist/{chunk-KZOOYWQ7.js → chunk-G2MXCB7Q.js} +2 -2
  24. package/dist/{chunk-KZOOYWQ7.js.map → chunk-G2MXCB7Q.js.map} +1 -1
  25. package/dist/{chunk-FQ4F7DQH.cjs → chunk-IP4OVRZB.cjs} +2 -2
  26. package/dist/{chunk-FQ4F7DQH.cjs.map → chunk-IP4OVRZB.cjs.map} +1 -1
  27. package/dist/chunk-IU7AKVYI.cjs +2 -0
  28. package/dist/chunk-IU7AKVYI.cjs.map +1 -0
  29. package/dist/{chunk-XIH622YH.js → chunk-JISPX5A6.js} +2 -2
  30. package/dist/{chunk-XIH622YH.js.map → chunk-JISPX5A6.js.map} +1 -1
  31. package/dist/{chunk-KYK27OHG.cjs → chunk-MH4A7XAY.cjs} +2 -2
  32. package/dist/{chunk-KYK27OHG.cjs.map → chunk-MH4A7XAY.cjs.map} +1 -1
  33. package/dist/chunk-NEINJFFK.cjs +2 -0
  34. package/dist/{chunk-CVFVOARW.cjs.map → chunk-NEINJFFK.cjs.map} +1 -1
  35. package/dist/chunk-NRZCTFCQ.cjs +2 -0
  36. package/dist/chunk-NRZCTFCQ.cjs.map +1 -0
  37. package/dist/{chunk-P5JYABNP.cjs → chunk-QT3A4ULM.cjs} +2 -2
  38. package/dist/{chunk-P5JYABNP.cjs.map → chunk-QT3A4ULM.cjs.map} +1 -1
  39. package/dist/{chunk-7SSENGQL.js → chunk-U3F23ASS.js} +2 -2
  40. package/dist/{chunk-7SSENGQL.js.map → chunk-U3F23ASS.js.map} +1 -1
  41. package/dist/chunk-UY43EQTO.cjs +2 -0
  42. package/dist/{chunk-IW4MZW5P.cjs.map → chunk-UY43EQTO.cjs.map} +1 -1
  43. package/dist/{chunk-OIPOIY6M.cjs → chunk-VOY623ZD.cjs} +2 -2
  44. package/dist/{chunk-OIPOIY6M.cjs.map → chunk-VOY623ZD.cjs.map} +1 -1
  45. package/dist/{chunk-MB4EEZKP.js → chunk-WLGOABHV.js} +2 -2
  46. package/dist/{chunk-MB4EEZKP.js.map → chunk-WLGOABHV.js.map} +1 -1
  47. package/dist/chunk-WRHPQNEL.js +2 -0
  48. package/dist/chunk-WRHPQNEL.js.map +1 -0
  49. package/dist/{chunk-V5DSXK34.cjs → chunk-WUC5AUUJ.cjs} +2 -2
  50. package/dist/{chunk-V5DSXK34.cjs.map → chunk-WUC5AUUJ.cjs.map} +1 -1
  51. package/dist/{chunk-XWUYZSVO.js → chunk-Y6AKG4FJ.js} +2 -2
  52. package/dist/{chunk-XWUYZSVO.js.map → chunk-Y6AKG4FJ.js.map} +1 -1
  53. package/dist/index.cjs +1 -1
  54. package/dist/index.d.cts +3 -3
  55. package/dist/index.d.ts +3 -3
  56. package/dist/index.js +1 -1
  57. package/dist/schema/assets.cjs +1 -1
  58. package/dist/schema/assets.d.cts +77 -83
  59. package/dist/schema/assets.d.ts +77 -83
  60. package/dist/schema/assets.js +1 -1
  61. package/dist/schema/comments.cjs +1 -1
  62. package/dist/schema/comments.d.cts +73 -73
  63. package/dist/schema/comments.d.ts +73 -73
  64. package/dist/schema/comments.js +1 -1
  65. package/dist/schema/common.cjs +1 -1
  66. package/dist/schema/common.d.cts +10 -21
  67. package/dist/schema/common.d.ts +10 -21
  68. package/dist/schema/common.js +1 -1
  69. package/dist/schema/conversations.cjs +1 -1
  70. package/dist/schema/conversations.d.cts +62 -64
  71. package/dist/schema/conversations.d.ts +62 -64
  72. package/dist/schema/conversations.js +1 -1
  73. package/dist/schema/datasets.cjs +1 -1
  74. package/dist/schema/datasets.d.cts +97 -97
  75. package/dist/schema/datasets.d.ts +97 -97
  76. package/dist/schema/datasets.js +1 -1
  77. package/dist/schema/events.cjs +2 -0
  78. package/dist/schema/events.cjs.map +1 -0
  79. package/dist/schema/events.d.cts +113 -0
  80. package/dist/schema/events.d.ts +113 -0
  81. package/dist/schema/events.js +2 -0
  82. package/dist/schema/events.js.map +1 -0
  83. package/dist/schema/files.cjs +1 -1
  84. package/dist/schema/files.d.cts +91 -91
  85. package/dist/schema/files.d.ts +91 -91
  86. package/dist/schema/files.js +1 -1
  87. package/dist/schema/notifications.cjs +1 -1
  88. package/dist/schema/notifications.d.cts +1 -3
  89. package/dist/schema/notifications.d.ts +1 -3
  90. package/dist/schema/notifications.js +1 -1
  91. package/dist/schema/organizations.cjs +1 -1
  92. package/dist/schema/organizations.js +1 -1
  93. package/dist/schema/posts.cjs +1 -1
  94. package/dist/schema/posts.d.cts +110 -120
  95. package/dist/schema/posts.d.ts +110 -120
  96. package/dist/schema/posts.js +1 -1
  97. package/dist/schema/quests.cjs +2 -0
  98. package/dist/schema/quests.cjs.map +1 -0
  99. package/dist/schema/quests.d.cts +1140 -0
  100. package/dist/schema/quests.d.ts +1140 -0
  101. package/dist/schema/quests.js +2 -0
  102. package/dist/schema/quests.js.map +1 -0
  103. package/dist/schema/services.cjs +1 -1
  104. package/dist/schema/services.d.cts +141 -114
  105. package/dist/schema/services.d.ts +141 -114
  106. package/dist/schema/services.js +1 -1
  107. package/dist/schema/tags.d.cts +7 -7
  108. package/dist/schema/tags.d.ts +7 -7
  109. package/dist/schema/teams.cjs +1 -1
  110. package/dist/schema/teams.d.cts +15 -15
  111. package/dist/schema/teams.d.ts +15 -15
  112. package/dist/schema/teams.js +1 -1
  113. package/package.json +1 -1
  114. package/scripts/dump-events.ts +10 -0
  115. package/dist/chunk-3ZHWBPGA.cjs +0 -2
  116. package/dist/chunk-3ZHWBPGA.cjs.map +0 -1
  117. package/dist/chunk-5V7HPXUK.js +0 -2
  118. package/dist/chunk-5V7HPXUK.js.map +0 -1
  119. package/dist/chunk-6AK3RVZR.cjs +0 -2
  120. package/dist/chunk-6AK3RVZR.cjs.map +0 -1
  121. package/dist/chunk-6TOGDJKP.cjs +0 -2
  122. package/dist/chunk-6TOGDJKP.cjs.map +0 -1
  123. package/dist/chunk-7ABFUHWW.js +0 -2
  124. package/dist/chunk-7ABFUHWW.js.map +0 -1
  125. package/dist/chunk-BU2S7UEL.js +0 -2
  126. package/dist/chunk-BU2S7UEL.js.map +0 -1
  127. package/dist/chunk-CVFVOARW.cjs +0 -2
  128. package/dist/chunk-D7S2GB7Z.cjs +0 -2
  129. package/dist/chunk-D7S2GB7Z.cjs.map +0 -1
  130. package/dist/chunk-IW4MZW5P.cjs +0 -2
  131. package/dist/chunk-JPCZIGX2.js +0 -2
  132. package/dist/chunk-JPCZIGX2.js.map +0 -1
  133. package/dist/schema/blueprints.cjs +0 -2
  134. package/dist/schema/blueprints.cjs.map +0 -1
  135. package/dist/schema/blueprints.d.cts +0 -823
  136. package/dist/schema/blueprints.d.ts +0 -823
  137. package/dist/schema/blueprints.js +0 -2
  138. package/dist/schema/blueprints.js.map +0 -1
  139. package/dist/schema/replications.cjs +0 -2
  140. package/dist/schema/replications.cjs.map +0 -1
  141. package/dist/schema/replications.d.cts +0 -827
  142. package/dist/schema/replications.d.ts +0 -827
  143. package/dist/schema/replications.js +0 -2
  144. package/dist/schema/replications.js.map +0 -1
@@ -222,14 +222,14 @@ declare const CommentSchema: z.ZodObject<{
222
222
  }, z.core.$strip>>>;
223
223
  state: z.ZodEnum<{
224
224
  success: "success";
225
- error: "error";
226
225
  queued: "queued";
227
226
  "in-progress": "in-progress";
228
227
  "timed-out": "timed-out";
228
+ error: "error";
229
229
  }>;
230
230
  source: z.ZodEnum<{
231
- web: "web";
232
231
  api: "api";
232
+ web: "web";
233
233
  }>;
234
234
  created_at: z.ZodString;
235
235
  last_updated: z.ZodString;
@@ -240,30 +240,6 @@ declare const CommentSchema: z.ZodObject<{
240
240
  }, z.core.$strip>>>>;
241
241
  }, z.core.$strip>;
242
242
  declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
243
- parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
244
- source: z.ZodOptional<z.ZodEnum<{
245
- web: "web";
246
- api: "api";
247
- }>>;
248
- visibility: z.ZodOptional<z.ZodEnum<{
249
- organization: "organization";
250
- public: "public";
251
- private: "private";
252
- monetized: "monetized";
253
- inherit: "inherit";
254
- }>>;
255
- monetization: z.ZodOptional<z.ZodEnum<{
256
- none: "none";
257
- "pay-to-unlock": "pay-to-unlock";
258
- "pay-per-use": "pay-per-use";
259
- }>>;
260
- state: z.ZodOptional<z.ZodEnum<{
261
- success: "success";
262
- error: "error";
263
- queued: "queued";
264
- "in-progress": "in-progress";
265
- "timed-out": "timed-out";
266
- }>>;
267
243
  user: z.ZodOptional<z.ZodOptional<z.ZodObject<{
268
244
  id: z.ZodOptional<z.ZodUUID>;
269
245
  user_id: z.ZodOptional<z.ZodUUID>;
@@ -288,7 +264,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
288
264
  }>>;
289
265
  last_active: z.ZodOptional<z.ZodString>;
290
266
  }, z.core.$strip>>>;
291
- org_id: z.ZodOptional<z.ZodUUID>;
292
267
  organization: z.ZodOptional<z.ZodOptional<z.ZodObject<{
293
268
  id: z.ZodOptional<z.ZodUUID>;
294
269
  name: z.ZodOptional<z.ZodString>;
@@ -321,7 +296,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
321
296
  api_only: "api_only";
322
297
  }>>>>;
323
298
  }, z.core.$strip>>>;
324
- team_id: z.ZodOptional<z.ZodUUID>;
325
299
  team: z.ZodOptional<z.ZodOptional<z.ZodObject<{
326
300
  id: z.ZodOptional<z.ZodUUID>;
327
301
  org_id: z.ZodOptional<z.ZodUUID>;
@@ -431,10 +405,49 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
431
405
  }, z.core.$strip>>>;
432
406
  created_at: z.ZodOptional<z.ZodString>;
433
407
  }, z.core.$strip>>>;
408
+ org_id: z.ZodOptional<z.ZodUUID>;
409
+ parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
410
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
411
+ doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
412
+ external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
413
+ paper_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
414
+ github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
415
+ originality: z.ZodEnum<{
416
+ original: "original";
417
+ derivative: "derivative";
418
+ "third-party": "third-party";
419
+ }>;
420
+ source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
421
+ reply_to_comment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
422
+ }, z.core.$strip>>>>;
423
+ team_id: z.ZodOptional<z.ZodUUID>;
424
+ visibility: z.ZodOptional<z.ZodEnum<{
425
+ organization: "organization";
426
+ public: "public";
427
+ private: "private";
428
+ monetized: "monetized";
429
+ inherit: "inherit";
430
+ }>>;
434
431
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
435
432
  json: z.ZodRecord<z.ZodString, z.ZodAny>;
436
433
  text: z.ZodString;
437
434
  }, z.core.$strip>>>>;
435
+ source: z.ZodOptional<z.ZodEnum<{
436
+ api: "api";
437
+ web: "web";
438
+ }>>;
439
+ monetization: z.ZodOptional<z.ZodEnum<{
440
+ none: "none";
441
+ "pay-to-unlock": "pay-to-unlock";
442
+ "pay-per-use": "pay-per-use";
443
+ }>>;
444
+ state: z.ZodOptional<z.ZodEnum<{
445
+ success: "success";
446
+ queued: "queued";
447
+ "in-progress": "in-progress";
448
+ "timed-out": "timed-out";
449
+ error: "error";
450
+ }>>;
438
451
  parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
439
452
  license_id: z.ZodOptional<z.ZodString>;
440
453
  license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
@@ -454,19 +467,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
454
467
  stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
455
468
  stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
456
469
  stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
457
- metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
458
- doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
459
- external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
460
- paper_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
461
- github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
462
- originality: z.ZodEnum<{
463
- original: "original";
464
- derivative: "derivative";
465
- "third-party": "third-party";
466
- }>;
467
- source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
468
- reply_to_comment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
469
- }, z.core.$strip>>>>;
470
470
  preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodObject<{
471
471
  type: z.ZodString;
472
472
  content: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>;
@@ -482,11 +482,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
482
482
  name: string;
483
483
  created_at: string;
484
484
  last_updated: string;
485
- parent?: Record<string, any> | undefined;
486
- source?: "web" | "api" | undefined;
487
- visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
488
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
489
- state?: "success" | "error" | "queued" | "in-progress" | "timed-out" | undefined;
490
485
  user?: {
491
486
  id?: string | undefined;
492
487
  user_id?: string | undefined;
@@ -504,7 +499,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
504
499
  plan_type?: "free" | "gold" | undefined;
505
500
  last_active?: string | undefined;
506
501
  } | undefined;
507
- org_id?: string | undefined;
508
502
  organization?: {
509
503
  id?: string | undefined;
510
504
  name?: string | undefined;
@@ -524,7 +518,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
524
518
  actor_type_policy?: "any" | "verified_only" | "agents_only" | undefined;
525
519
  source_policy?: "any" | "web_only" | "api_only" | undefined;
526
520
  } | undefined;
527
- team_id?: string | undefined;
528
521
  team?: {
529
522
  id?: string | undefined;
530
523
  org_id?: string | undefined;
@@ -585,10 +578,26 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
585
578
  }[] | undefined;
586
579
  created_at?: string | undefined;
587
580
  } | undefined;
581
+ org_id?: string | undefined;
582
+ parent?: Record<string, any> | undefined;
583
+ metadata?: {
584
+ originality: "original" | "derivative" | "third-party";
585
+ doi_url?: string | null | undefined;
586
+ external_url?: string | null | undefined;
587
+ paper_url?: string | null | undefined;
588
+ github_url?: string | null | undefined;
589
+ source?: string | null | undefined;
590
+ reply_to_comment_id?: string | null | undefined;
591
+ } | null | undefined;
592
+ team_id?: string | undefined;
593
+ visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
588
594
  description?: {
589
595
  json: Record<string, any>;
590
596
  text: string;
591
597
  } | null | undefined;
598
+ source?: "api" | "web" | undefined;
599
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
600
+ state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
592
601
  parent_id?: string | null | undefined;
593
602
  license_id?: string | undefined;
594
603
  license?: Record<string, any> | undefined;
@@ -602,15 +611,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
602
611
  stripe_product_id?: string | null | undefined;
603
612
  stripe_price_id?: string | null | undefined;
604
613
  stripe_meter_id?: string | null | undefined;
605
- metadata?: {
606
- originality: "original" | "derivative" | "third-party";
607
- doi_url?: string | null | undefined;
608
- external_url?: string | null | undefined;
609
- paper_url?: string | null | undefined;
610
- github_url?: string | null | undefined;
611
- source?: string | null | undefined;
612
- reply_to_comment_id?: string | null | undefined;
613
- } | null | undefined;
614
614
  preview?: {
615
615
  type: string;
616
616
  content: Record<string, any>[];
@@ -621,11 +621,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
621
621
  name: string;
622
622
  created_at: string;
623
623
  last_updated: string;
624
- parent?: Record<string, any> | undefined;
625
- source?: "web" | "api" | undefined;
626
- visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
627
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
628
- state?: "success" | "error" | "queued" | "in-progress" | "timed-out" | undefined;
629
624
  user?: {
630
625
  id?: string | undefined;
631
626
  user_id?: string | undefined;
@@ -643,7 +638,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
643
638
  plan_type?: "free" | "gold" | undefined;
644
639
  last_active?: string | undefined;
645
640
  } | undefined;
646
- org_id?: string | undefined;
647
641
  organization?: {
648
642
  id?: string | undefined;
649
643
  name?: string | undefined;
@@ -663,7 +657,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
663
657
  actor_type_policy?: "any" | "verified_only" | "agents_only" | undefined;
664
658
  source_policy?: "any" | "web_only" | "api_only" | undefined;
665
659
  } | undefined;
666
- team_id?: string | undefined;
667
660
  team?: {
668
661
  id?: string | undefined;
669
662
  org_id?: string | undefined;
@@ -724,10 +717,26 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
724
717
  }[] | undefined;
725
718
  created_at?: string | undefined;
726
719
  } | undefined;
720
+ org_id?: string | undefined;
721
+ parent?: Record<string, any> | undefined;
722
+ metadata?: {
723
+ originality: "original" | "derivative" | "third-party";
724
+ doi_url?: string | null | undefined;
725
+ external_url?: string | null | undefined;
726
+ paper_url?: string | null | undefined;
727
+ github_url?: string | null | undefined;
728
+ source?: string | null | undefined;
729
+ reply_to_comment_id?: string | null | undefined;
730
+ } | null | undefined;
731
+ team_id?: string | undefined;
732
+ visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
727
733
  description?: {
728
734
  json: Record<string, any>;
729
735
  text: string;
730
736
  } | null | undefined;
737
+ source?: "api" | "web" | undefined;
738
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
739
+ state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
731
740
  parent_id?: string | null | undefined;
732
741
  license_id?: string | undefined;
733
742
  license?: Record<string, any> | undefined;
@@ -741,15 +750,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
741
750
  stripe_product_id?: string | null | undefined;
742
751
  stripe_price_id?: string | null | undefined;
743
752
  stripe_meter_id?: string | null | undefined;
744
- metadata?: {
745
- originality: "original" | "derivative" | "third-party";
746
- doi_url?: string | null | undefined;
747
- external_url?: string | null | undefined;
748
- paper_url?: string | null | undefined;
749
- github_url?: string | null | undefined;
750
- source?: string | null | undefined;
751
- reply_to_comment_id?: string | null | undefined;
752
- } | null | undefined;
753
753
  preview?: {
754
754
  type: string;
755
755
  content: Record<string, any>[];
@@ -222,14 +222,14 @@ declare const CommentSchema: z.ZodObject<{
222
222
  }, z.core.$strip>>>;
223
223
  state: z.ZodEnum<{
224
224
  success: "success";
225
- error: "error";
226
225
  queued: "queued";
227
226
  "in-progress": "in-progress";
228
227
  "timed-out": "timed-out";
228
+ error: "error";
229
229
  }>;
230
230
  source: z.ZodEnum<{
231
- web: "web";
232
231
  api: "api";
232
+ web: "web";
233
233
  }>;
234
234
  created_at: z.ZodString;
235
235
  last_updated: z.ZodString;
@@ -240,30 +240,6 @@ declare const CommentSchema: z.ZodObject<{
240
240
  }, z.core.$strip>>>>;
241
241
  }, z.core.$strip>;
242
242
  declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
243
- parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
244
- source: z.ZodOptional<z.ZodEnum<{
245
- web: "web";
246
- api: "api";
247
- }>>;
248
- visibility: z.ZodOptional<z.ZodEnum<{
249
- organization: "organization";
250
- public: "public";
251
- private: "private";
252
- monetized: "monetized";
253
- inherit: "inherit";
254
- }>>;
255
- monetization: z.ZodOptional<z.ZodEnum<{
256
- none: "none";
257
- "pay-to-unlock": "pay-to-unlock";
258
- "pay-per-use": "pay-per-use";
259
- }>>;
260
- state: z.ZodOptional<z.ZodEnum<{
261
- success: "success";
262
- error: "error";
263
- queued: "queued";
264
- "in-progress": "in-progress";
265
- "timed-out": "timed-out";
266
- }>>;
267
243
  user: z.ZodOptional<z.ZodOptional<z.ZodObject<{
268
244
  id: z.ZodOptional<z.ZodUUID>;
269
245
  user_id: z.ZodOptional<z.ZodUUID>;
@@ -288,7 +264,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
288
264
  }>>;
289
265
  last_active: z.ZodOptional<z.ZodString>;
290
266
  }, z.core.$strip>>>;
291
- org_id: z.ZodOptional<z.ZodUUID>;
292
267
  organization: z.ZodOptional<z.ZodOptional<z.ZodObject<{
293
268
  id: z.ZodOptional<z.ZodUUID>;
294
269
  name: z.ZodOptional<z.ZodString>;
@@ -321,7 +296,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
321
296
  api_only: "api_only";
322
297
  }>>>>;
323
298
  }, z.core.$strip>>>;
324
- team_id: z.ZodOptional<z.ZodUUID>;
325
299
  team: z.ZodOptional<z.ZodOptional<z.ZodObject<{
326
300
  id: z.ZodOptional<z.ZodUUID>;
327
301
  org_id: z.ZodOptional<z.ZodUUID>;
@@ -431,10 +405,49 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
431
405
  }, z.core.$strip>>>;
432
406
  created_at: z.ZodOptional<z.ZodString>;
433
407
  }, z.core.$strip>>>;
408
+ org_id: z.ZodOptional<z.ZodUUID>;
409
+ parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
410
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
411
+ doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
412
+ external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
413
+ paper_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
414
+ github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
415
+ originality: z.ZodEnum<{
416
+ original: "original";
417
+ derivative: "derivative";
418
+ "third-party": "third-party";
419
+ }>;
420
+ source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
421
+ reply_to_comment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
422
+ }, z.core.$strip>>>>;
423
+ team_id: z.ZodOptional<z.ZodUUID>;
424
+ visibility: z.ZodOptional<z.ZodEnum<{
425
+ organization: "organization";
426
+ public: "public";
427
+ private: "private";
428
+ monetized: "monetized";
429
+ inherit: "inherit";
430
+ }>>;
434
431
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
435
432
  json: z.ZodRecord<z.ZodString, z.ZodAny>;
436
433
  text: z.ZodString;
437
434
  }, z.core.$strip>>>>;
435
+ source: z.ZodOptional<z.ZodEnum<{
436
+ api: "api";
437
+ web: "web";
438
+ }>>;
439
+ monetization: z.ZodOptional<z.ZodEnum<{
440
+ none: "none";
441
+ "pay-to-unlock": "pay-to-unlock";
442
+ "pay-per-use": "pay-per-use";
443
+ }>>;
444
+ state: z.ZodOptional<z.ZodEnum<{
445
+ success: "success";
446
+ queued: "queued";
447
+ "in-progress": "in-progress";
448
+ "timed-out": "timed-out";
449
+ error: "error";
450
+ }>>;
438
451
  parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
439
452
  license_id: z.ZodOptional<z.ZodString>;
440
453
  license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
@@ -454,19 +467,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
454
467
  stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
455
468
  stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
456
469
  stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
457
- metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
458
- doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
459
- external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
460
- paper_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
461
- github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
462
- originality: z.ZodEnum<{
463
- original: "original";
464
- derivative: "derivative";
465
- "third-party": "third-party";
466
- }>;
467
- source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
468
- reply_to_comment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
469
- }, z.core.$strip>>>>;
470
470
  preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodObject<{
471
471
  type: z.ZodString;
472
472
  content: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>;
@@ -482,11 +482,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
482
482
  name: string;
483
483
  created_at: string;
484
484
  last_updated: string;
485
- parent?: Record<string, any> | undefined;
486
- source?: "web" | "api" | undefined;
487
- visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
488
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
489
- state?: "success" | "error" | "queued" | "in-progress" | "timed-out" | undefined;
490
485
  user?: {
491
486
  id?: string | undefined;
492
487
  user_id?: string | undefined;
@@ -504,7 +499,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
504
499
  plan_type?: "free" | "gold" | undefined;
505
500
  last_active?: string | undefined;
506
501
  } | undefined;
507
- org_id?: string | undefined;
508
502
  organization?: {
509
503
  id?: string | undefined;
510
504
  name?: string | undefined;
@@ -524,7 +518,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
524
518
  actor_type_policy?: "any" | "verified_only" | "agents_only" | undefined;
525
519
  source_policy?: "any" | "web_only" | "api_only" | undefined;
526
520
  } | undefined;
527
- team_id?: string | undefined;
528
521
  team?: {
529
522
  id?: string | undefined;
530
523
  org_id?: string | undefined;
@@ -585,10 +578,26 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
585
578
  }[] | undefined;
586
579
  created_at?: string | undefined;
587
580
  } | undefined;
581
+ org_id?: string | undefined;
582
+ parent?: Record<string, any> | undefined;
583
+ metadata?: {
584
+ originality: "original" | "derivative" | "third-party";
585
+ doi_url?: string | null | undefined;
586
+ external_url?: string | null | undefined;
587
+ paper_url?: string | null | undefined;
588
+ github_url?: string | null | undefined;
589
+ source?: string | null | undefined;
590
+ reply_to_comment_id?: string | null | undefined;
591
+ } | null | undefined;
592
+ team_id?: string | undefined;
593
+ visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
588
594
  description?: {
589
595
  json: Record<string, any>;
590
596
  text: string;
591
597
  } | null | undefined;
598
+ source?: "api" | "web" | undefined;
599
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
600
+ state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
592
601
  parent_id?: string | null | undefined;
593
602
  license_id?: string | undefined;
594
603
  license?: Record<string, any> | undefined;
@@ -602,15 +611,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
602
611
  stripe_product_id?: string | null | undefined;
603
612
  stripe_price_id?: string | null | undefined;
604
613
  stripe_meter_id?: string | null | undefined;
605
- metadata?: {
606
- originality: "original" | "derivative" | "third-party";
607
- doi_url?: string | null | undefined;
608
- external_url?: string | null | undefined;
609
- paper_url?: string | null | undefined;
610
- github_url?: string | null | undefined;
611
- source?: string | null | undefined;
612
- reply_to_comment_id?: string | null | undefined;
613
- } | null | undefined;
614
614
  preview?: {
615
615
  type: string;
616
616
  content: Record<string, any>[];
@@ -621,11 +621,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
621
621
  name: string;
622
622
  created_at: string;
623
623
  last_updated: string;
624
- parent?: Record<string, any> | undefined;
625
- source?: "web" | "api" | undefined;
626
- visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
627
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
628
- state?: "success" | "error" | "queued" | "in-progress" | "timed-out" | undefined;
629
624
  user?: {
630
625
  id?: string | undefined;
631
626
  user_id?: string | undefined;
@@ -643,7 +638,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
643
638
  plan_type?: "free" | "gold" | undefined;
644
639
  last_active?: string | undefined;
645
640
  } | undefined;
646
- org_id?: string | undefined;
647
641
  organization?: {
648
642
  id?: string | undefined;
649
643
  name?: string | undefined;
@@ -663,7 +657,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
663
657
  actor_type_policy?: "any" | "verified_only" | "agents_only" | undefined;
664
658
  source_policy?: "any" | "web_only" | "api_only" | undefined;
665
659
  } | undefined;
666
- team_id?: string | undefined;
667
660
  team?: {
668
661
  id?: string | undefined;
669
662
  org_id?: string | undefined;
@@ -724,10 +717,26 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
724
717
  }[] | undefined;
725
718
  created_at?: string | undefined;
726
719
  } | undefined;
720
+ org_id?: string | undefined;
721
+ parent?: Record<string, any> | undefined;
722
+ metadata?: {
723
+ originality: "original" | "derivative" | "third-party";
724
+ doi_url?: string | null | undefined;
725
+ external_url?: string | null | undefined;
726
+ paper_url?: string | null | undefined;
727
+ github_url?: string | null | undefined;
728
+ source?: string | null | undefined;
729
+ reply_to_comment_id?: string | null | undefined;
730
+ } | null | undefined;
731
+ team_id?: string | undefined;
732
+ visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
727
733
  description?: {
728
734
  json: Record<string, any>;
729
735
  text: string;
730
736
  } | null | undefined;
737
+ source?: "api" | "web" | undefined;
738
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
739
+ state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
731
740
  parent_id?: string | null | undefined;
732
741
  license_id?: string | undefined;
733
742
  license?: Record<string, any> | undefined;
@@ -741,15 +750,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
741
750
  stripe_product_id?: string | null | undefined;
742
751
  stripe_price_id?: string | null | undefined;
743
752
  stripe_meter_id?: string | null | undefined;
744
- metadata?: {
745
- originality: "original" | "derivative" | "third-party";
746
- doi_url?: string | null | undefined;
747
- external_url?: string | null | undefined;
748
- paper_url?: string | null | undefined;
749
- github_url?: string | null | undefined;
750
- source?: string | null | undefined;
751
- reply_to_comment_id?: string | null | undefined;
752
- } | null | undefined;
753
753
  preview?: {
754
754
  type: string;
755
755
  content: Record<string, any>[];
@@ -1,2 +1,2 @@
1
- export{a as CommentSchema,b as CreateCommentSchema}from'../chunk-SKQ6BRPY.js';import'../chunk-KZOOYWQ7.js';import'../chunk-WYHO26N6.js';import'../chunk-MB4EEZKP.js';import'../chunk-3N56ERWF.js';import'../chunk-7ABFUHWW.js';import'../chunk-DUBPWSCA.js';//# sourceMappingURL=comments.js.map
1
+ export{a as CommentSchema,b as CreateCommentSchema}from'../chunk-6YF2RSXS.js';import'../chunk-G2MXCB7Q.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 chunk3ZHWBPGA_cjs=require('../chunk-3ZHWBPGA.cjs');Object.defineProperty(exports,"AssetTypeSchema",{enumerable:true,get:function(){return chunk3ZHWBPGA_cjs.a}});Object.defineProperty(exports,"ConnectionSchema",{enumerable:true,get:function(){return chunk3ZHWBPGA_cjs.g}});Object.defineProperty(exports,"EmbeddingSchema",{enumerable:true,get:function(){return chunk3ZHWBPGA_cjs.f}});Object.defineProperty(exports,"MonetizationSchema",{enumerable:true,get:function(){return chunk3ZHWBPGA_cjs.d}});Object.defineProperty(exports,"PermissionSchema",{enumerable:true,get:function(){return chunk3ZHWBPGA_cjs.i}});Object.defineProperty(exports,"PriceCurrencySchema",{enumerable:true,get:function(){return chunk3ZHWBPGA_cjs.e}});Object.defineProperty(exports,"PurchaseAssetSchema",{enumerable:true,get:function(){return chunk3ZHWBPGA_cjs.h}});Object.defineProperty(exports,"RoleSchema",{enumerable:true,get:function(){return chunk3ZHWBPGA_cjs.c}});Object.defineProperty(exports,"SourceSchema",{enumerable:true,get:function(){return chunk3ZHWBPGA_cjs.k}});Object.defineProperty(exports,"StatusSchema",{enumerable:true,get:function(){return chunk3ZHWBPGA_cjs.j}});Object.defineProperty(exports,"VisibilitySchema",{enumerable:true,get:function(){return chunk3ZHWBPGA_cjs.b}});//# sourceMappingURL=common.cjs.map
1
+ 'use strict';var chunk43KB23BA_cjs=require('../chunk-43KB23BA.cjs');Object.defineProperty(exports,"AssetTypeSchema",{enumerable:true,get:function(){return chunk43KB23BA_cjs.a}});Object.defineProperty(exports,"ConnectionSchema",{enumerable:true,get:function(){return chunk43KB23BA_cjs.g}});Object.defineProperty(exports,"EmbeddingSchema",{enumerable:true,get:function(){return chunk43KB23BA_cjs.f}});Object.defineProperty(exports,"MonetizationSchema",{enumerable:true,get:function(){return chunk43KB23BA_cjs.d}});Object.defineProperty(exports,"PermissionSchema",{enumerable:true,get:function(){return chunk43KB23BA_cjs.i}});Object.defineProperty(exports,"PriceCurrencySchema",{enumerable:true,get:function(){return chunk43KB23BA_cjs.e}});Object.defineProperty(exports,"PurchaseAssetSchema",{enumerable:true,get:function(){return chunk43KB23BA_cjs.h}});Object.defineProperty(exports,"RoleSchema",{enumerable:true,get:function(){return chunk43KB23BA_cjs.c}});Object.defineProperty(exports,"SourceSchema",{enumerable:true,get:function(){return chunk43KB23BA_cjs.k}});Object.defineProperty(exports,"StatusSchema",{enumerable:true,get:function(){return chunk43KB23BA_cjs.j}});Object.defineProperty(exports,"VisibilitySchema",{enumerable:true,get:function(){return chunk43KB23BA_cjs.b}});//# sourceMappingURL=common.cjs.map
2
2
  //# sourceMappingURL=common.cjs.map