@ourofoundation/ouro-js 3.5.2 → 3.5.4

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 (60) hide show
  1. package/dist/chunk-73DHYPGU.cjs +2 -0
  2. package/dist/chunk-73DHYPGU.cjs.map +1 -0
  3. package/dist/{chunk-G24BRDHO.cjs → chunk-FLOHG4H4.cjs} +2 -2
  4. package/dist/chunk-FLOHG4H4.cjs.map +1 -0
  5. package/dist/chunk-QR2BSJ2C.js +2 -0
  6. package/dist/chunk-QR2BSJ2C.js.map +1 -0
  7. package/dist/{chunk-HIXNQKVP.cjs → chunk-W73NWPCZ.cjs} +2 -2
  8. package/dist/chunk-W73NWPCZ.cjs.map +1 -0
  9. package/dist/{chunk-CIWFH5BJ.js → chunk-X2PI5PAT.js} +2 -2
  10. package/dist/chunk-X2PI5PAT.js.map +1 -0
  11. package/dist/chunk-XLJBQ7BU.js +2 -0
  12. package/dist/chunk-XLJBQ7BU.js.map +1 -0
  13. package/dist/index.cjs +1 -1
  14. package/dist/index.d.cts +1 -1
  15. package/dist/index.d.ts +1 -1
  16. package/dist/index.js +1 -1
  17. package/dist/schema/assets.d.cts +84 -84
  18. package/dist/schema/assets.d.ts +84 -84
  19. package/dist/schema/comments.d.cts +136 -136
  20. package/dist/schema/comments.d.ts +136 -136
  21. package/dist/schema/common.d.cts +16 -16
  22. package/dist/schema/common.d.ts +16 -16
  23. package/dist/schema/conversations.cjs +1 -1
  24. package/dist/schema/conversations.d.cts +71 -69
  25. package/dist/schema/conversations.d.ts +71 -69
  26. package/dist/schema/conversations.js +1 -1
  27. package/dist/schema/datasets.cjs +1 -1
  28. package/dist/schema/datasets.d.cts +186 -140
  29. package/dist/schema/datasets.d.ts +186 -140
  30. package/dist/schema/datasets.js +1 -1
  31. package/dist/schema/events.cjs +1 -1
  32. package/dist/schema/events.d.cts +6 -1
  33. package/dist/schema/events.d.ts +6 -1
  34. package/dist/schema/events.js +1 -1
  35. package/dist/schema/files.d.cts +100 -100
  36. package/dist/schema/files.d.ts +100 -100
  37. package/dist/schema/notifications.d.cts +2 -2
  38. package/dist/schema/notifications.d.ts +2 -2
  39. package/dist/schema/organizations.d.cts +1 -1
  40. package/dist/schema/organizations.d.ts +1 -1
  41. package/dist/schema/posts.d.cts +127 -127
  42. package/dist/schema/posts.d.ts +127 -127
  43. package/dist/schema/quests.d.cts +177 -177
  44. package/dist/schema/quests.d.ts +177 -177
  45. package/dist/schema/services.d.cts +127 -127
  46. package/dist/schema/services.d.ts +127 -127
  47. package/dist/schema/teams.d.cts +18 -18
  48. package/dist/schema/teams.d.ts +18 -18
  49. package/dist/utils/quest-submission.d.cts +7 -7
  50. package/dist/utils/quest-submission.d.ts +7 -7
  51. package/package.json +1 -1
  52. package/dist/chunk-35CJDNHH.js +0 -2
  53. package/dist/chunk-35CJDNHH.js.map +0 -1
  54. package/dist/chunk-3UWDQLTN.js +0 -2
  55. package/dist/chunk-3UWDQLTN.js.map +0 -1
  56. package/dist/chunk-CIWFH5BJ.js.map +0 -1
  57. package/dist/chunk-G24BRDHO.cjs.map +0 -1
  58. package/dist/chunk-HIXNQKVP.cjs.map +0 -1
  59. package/dist/chunk-OBWPO2QT.cjs +0 -2
  60. package/dist/chunk-OBWPO2QT.cjs.map +0 -1
@@ -108,9 +108,9 @@ declare const CommentSchema: z.ZodObject<{
108
108
  none: "none";
109
109
  }>>;
110
110
  visibility: z.ZodOptional<z.ZodEnum<{
111
+ organization: "organization";
111
112
  public: "public";
112
113
  private: "private";
113
- organization: "organization";
114
114
  monetized: "monetized";
115
115
  inherit: "inherit";
116
116
  }>>;
@@ -182,9 +182,9 @@ declare const CommentSchema: z.ZodObject<{
182
182
  text: z.ZodString;
183
183
  }, z.core.$strip>>>;
184
184
  visibility: z.ZodEnum<{
185
+ organization: "organization";
185
186
  public: "public";
186
187
  private: "private";
187
- organization: "organization";
188
188
  monetized: "monetized";
189
189
  inherit: "inherit";
190
190
  }>;
@@ -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
  is_pinned_in_team: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
235
235
  created_at: z.ZodString;
@@ -241,6 +241,30 @@ declare const CommentSchema: z.ZodObject<{
241
241
  }, z.core.$strip>>>>;
242
242
  }, z.core.$strip>;
243
243
  declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
244
+ user: z.ZodOptional<z.ZodOptional<z.ZodObject<{
245
+ id: z.ZodOptional<z.ZodUUID>;
246
+ user_id: z.ZodOptional<z.ZodUUID>;
247
+ username: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
248
+ name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
249
+ avatar_path: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
250
+ bio: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
251
+ is_provisioned: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
252
+ claimed_at: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
253
+ urls: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
254
+ value: z.ZodString;
255
+ }, z.core.$strip>>>>;
256
+ post_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
257
+ actor_type: z.ZodOptional<z.ZodEnum<{
258
+ base: "base";
259
+ agent: "agent";
260
+ verified: "verified";
261
+ }>>;
262
+ plan_type: z.ZodOptional<z.ZodEnum<{
263
+ free: "free";
264
+ gold: "gold";
265
+ }>>;
266
+ last_active: z.ZodOptional<z.ZodString>;
267
+ }, z.core.$strip>>>;
244
268
  organization: z.ZodOptional<z.ZodOptional<z.ZodObject<{
245
269
  id: z.ZodOptional<z.ZodUUID>;
246
270
  name: z.ZodOptional<z.ZodString>;
@@ -273,56 +297,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
273
297
  api_only: "api_only";
274
298
  }>>>>;
275
299
  }, z.core.$strip>>>;
276
- parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
277
- source: z.ZodOptional<z.ZodEnum<{
278
- web: "web";
279
- api: "api";
280
- }>>;
281
- visibility: z.ZodOptional<z.ZodEnum<{
282
- public: "public";
283
- private: "private";
284
- organization: "organization";
285
- monetized: "monetized";
286
- inherit: "inherit";
287
- }>>;
288
- monetization: z.ZodOptional<z.ZodEnum<{
289
- none: "none";
290
- "pay-to-unlock": "pay-to-unlock";
291
- "pay-per-use": "pay-per-use";
292
- }>>;
293
- state: z.ZodOptional<z.ZodEnum<{
294
- success: "success";
295
- error: "error";
296
- queued: "queued";
297
- "in-progress": "in-progress";
298
- "timed-out": "timed-out";
299
- }>>;
300
- user: z.ZodOptional<z.ZodOptional<z.ZodObject<{
301
- id: z.ZodOptional<z.ZodUUID>;
302
- user_id: z.ZodOptional<z.ZodUUID>;
303
- username: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
304
- name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
305
- avatar_path: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
306
- bio: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
307
- is_provisioned: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
308
- claimed_at: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
309
- urls: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
310
- value: z.ZodString;
311
- }, z.core.$strip>>>>;
312
- post_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
313
- actor_type: z.ZodOptional<z.ZodEnum<{
314
- base: "base";
315
- agent: "agent";
316
- verified: "verified";
317
- }>>;
318
- plan_type: z.ZodOptional<z.ZodEnum<{
319
- free: "free";
320
- gold: "gold";
321
- }>>;
322
- last_active: z.ZodOptional<z.ZodString>;
323
- }, z.core.$strip>>>;
324
- org_id: z.ZodOptional<z.ZodUUID>;
325
- team_id: z.ZodOptional<z.ZodUUID>;
326
300
  team: z.ZodOptional<z.ZodOptional<z.ZodObject<{
327
301
  id: z.ZodOptional<z.ZodUUID>;
328
302
  org_id: z.ZodOptional<z.ZodUUID>;
@@ -370,9 +344,9 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
370
344
  none: "none";
371
345
  }>>;
372
346
  visibility: z.ZodOptional<z.ZodEnum<{
347
+ organization: "organization";
373
348
  public: "public";
374
349
  private: "private";
375
- organization: "organization";
376
350
  monetized: "monetized";
377
351
  inherit: "inherit";
378
352
  }>>;
@@ -432,10 +406,49 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
432
406
  }, z.core.$strip>>>;
433
407
  created_at: z.ZodOptional<z.ZodString>;
434
408
  }, z.core.$strip>>>;
409
+ org_id: z.ZodOptional<z.ZodUUID>;
410
+ parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
411
+ 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
+ source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
422
+ reply_to_comment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
423
+ }, z.core.$strip>>>>;
424
+ team_id: z.ZodOptional<z.ZodUUID>;
425
+ visibility: z.ZodOptional<z.ZodEnum<{
426
+ organization: "organization";
427
+ public: "public";
428
+ private: "private";
429
+ monetized: "monetized";
430
+ inherit: "inherit";
431
+ }>>;
435
432
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
436
433
  json: z.ZodRecord<z.ZodString, z.ZodAny>;
437
434
  text: z.ZodString;
438
435
  }, z.core.$strip>>>>;
436
+ source: z.ZodOptional<z.ZodEnum<{
437
+ api: "api";
438
+ web: "web";
439
+ }>>;
440
+ monetization: z.ZodOptional<z.ZodEnum<{
441
+ none: "none";
442
+ "pay-to-unlock": "pay-to-unlock";
443
+ "pay-per-use": "pay-per-use";
444
+ }>>;
445
+ state: z.ZodOptional<z.ZodEnum<{
446
+ success: "success";
447
+ queued: "queued";
448
+ "in-progress": "in-progress";
449
+ "timed-out": "timed-out";
450
+ error: "error";
451
+ }>>;
439
452
  parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
440
453
  license_id: z.ZodOptional<z.ZodString>;
441
454
  license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
@@ -455,19 +468,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
455
468
  stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
456
469
  stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
457
470
  stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
458
- metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
459
- doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
460
- external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
461
- paper_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
462
- github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
463
- originality: z.ZodEnum<{
464
- original: "original";
465
- derivative: "derivative";
466
- "third-party": "third-party";
467
- }>;
468
- source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
469
- reply_to_comment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
470
- }, z.core.$strip>>>>;
471
471
  preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodObject<{
472
472
  type: z.ZodString;
473
473
  content: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>;
@@ -484,6 +484,23 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
484
484
  name: string;
485
485
  created_at: string;
486
486
  last_updated: string;
487
+ user?: {
488
+ id?: string | undefined;
489
+ user_id?: string | undefined;
490
+ username?: string | null | undefined;
491
+ name?: string | null | undefined;
492
+ avatar_path?: string | null | undefined;
493
+ bio?: string | null | undefined;
494
+ is_provisioned?: boolean | undefined;
495
+ claimed_at?: string | null | undefined;
496
+ urls?: {
497
+ value: string;
498
+ }[] | undefined;
499
+ post_id?: string | null | undefined;
500
+ actor_type?: "base" | "agent" | "verified" | undefined;
501
+ plan_type?: "free" | "gold" | undefined;
502
+ last_active?: string | undefined;
503
+ } | undefined;
487
504
  organization?: {
488
505
  id?: string | undefined;
489
506
  name?: string | undefined;
@@ -503,30 +520,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
503
520
  actor_type_policy?: "any" | "verified_only" | "agents_only" | undefined;
504
521
  source_policy?: "any" | "web_only" | "api_only" | undefined;
505
522
  } | undefined;
506
- parent?: Record<string, any> | undefined;
507
- source?: "web" | "api" | undefined;
508
- visibility?: "public" | "private" | "organization" | "monetized" | "inherit" | undefined;
509
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
510
- state?: "success" | "error" | "queued" | "in-progress" | "timed-out" | undefined;
511
- user?: {
512
- id?: string | undefined;
513
- user_id?: string | undefined;
514
- username?: string | null | undefined;
515
- name?: string | null | undefined;
516
- avatar_path?: string | null | undefined;
517
- bio?: string | null | undefined;
518
- is_provisioned?: boolean | undefined;
519
- claimed_at?: string | null | undefined;
520
- urls?: {
521
- value: string;
522
- }[] | undefined;
523
- post_id?: string | null | undefined;
524
- actor_type?: "base" | "agent" | "verified" | undefined;
525
- plan_type?: "free" | "gold" | undefined;
526
- last_active?: string | undefined;
527
- } | undefined;
528
- org_id?: string | undefined;
529
- team_id?: string | undefined;
530
523
  team?: {
531
524
  id?: string | undefined;
532
525
  org_id?: string | undefined;
@@ -555,7 +548,7 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
555
548
  json: Record<string, any>;
556
549
  } | null | undefined;
557
550
  default_role?: "admin" | "read" | "write" | "none" | undefined;
558
- visibility?: "public" | "private" | "organization" | "monetized" | "inherit" | undefined;
551
+ visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
559
552
  actor_type_policy?: "any" | "verified_only" | "agents_only" | null | undefined;
560
553
  source_policy?: "any" | "web_only" | "api_only" | null | undefined;
561
554
  userMembership?: {
@@ -587,10 +580,26 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
587
580
  }[] | undefined;
588
581
  created_at?: string | undefined;
589
582
  } | undefined;
583
+ org_id?: string | undefined;
584
+ parent?: Record<string, any> | undefined;
585
+ 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
+ source?: string | null | undefined;
592
+ reply_to_comment_id?: string | null | undefined;
593
+ } | null | undefined;
594
+ team_id?: string | undefined;
595
+ visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
590
596
  description?: {
591
597
  json: Record<string, any>;
592
598
  text: string;
593
599
  } | null | undefined;
600
+ source?: "api" | "web" | undefined;
601
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
602
+ state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
594
603
  parent_id?: string | null | undefined;
595
604
  license_id?: string | undefined;
596
605
  license?: Record<string, any> | undefined;
@@ -604,15 +613,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
604
613
  stripe_product_id?: string | null | undefined;
605
614
  stripe_price_id?: string | null | undefined;
606
615
  stripe_meter_id?: string | null | undefined;
607
- metadata?: {
608
- originality: "original" | "derivative" | "third-party";
609
- doi_url?: string | null | undefined;
610
- external_url?: string | null | undefined;
611
- paper_url?: string | null | undefined;
612
- github_url?: string | null | undefined;
613
- source?: string | null | undefined;
614
- reply_to_comment_id?: string | null | undefined;
615
- } | null | undefined;
616
616
  preview?: {
617
617
  type: string;
618
618
  content: Record<string, any>[];
@@ -624,6 +624,23 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
624
624
  name: string;
625
625
  created_at: string;
626
626
  last_updated: string;
627
+ user?: {
628
+ id?: string | undefined;
629
+ user_id?: string | undefined;
630
+ username?: string | null | undefined;
631
+ name?: string | null | undefined;
632
+ avatar_path?: string | null | undefined;
633
+ bio?: string | null | undefined;
634
+ is_provisioned?: boolean | undefined;
635
+ claimed_at?: string | null | undefined;
636
+ urls?: {
637
+ value: string;
638
+ }[] | undefined;
639
+ post_id?: string | null | undefined;
640
+ actor_type?: "base" | "agent" | "verified" | undefined;
641
+ plan_type?: "free" | "gold" | undefined;
642
+ last_active?: string | undefined;
643
+ } | undefined;
627
644
  organization?: {
628
645
  id?: string | undefined;
629
646
  name?: string | undefined;
@@ -643,30 +660,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
643
660
  actor_type_policy?: "any" | "verified_only" | "agents_only" | undefined;
644
661
  source_policy?: "any" | "web_only" | "api_only" | undefined;
645
662
  } | undefined;
646
- parent?: Record<string, any> | undefined;
647
- source?: "web" | "api" | undefined;
648
- visibility?: "public" | "private" | "organization" | "monetized" | "inherit" | undefined;
649
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
650
- state?: "success" | "error" | "queued" | "in-progress" | "timed-out" | undefined;
651
- user?: {
652
- id?: string | undefined;
653
- user_id?: string | undefined;
654
- username?: string | null | undefined;
655
- name?: string | null | undefined;
656
- avatar_path?: string | null | undefined;
657
- bio?: string | null | undefined;
658
- is_provisioned?: boolean | undefined;
659
- claimed_at?: string | null | undefined;
660
- urls?: {
661
- value: string;
662
- }[] | undefined;
663
- post_id?: string | null | undefined;
664
- actor_type?: "base" | "agent" | "verified" | undefined;
665
- plan_type?: "free" | "gold" | undefined;
666
- last_active?: string | undefined;
667
- } | undefined;
668
- org_id?: string | undefined;
669
- team_id?: string | undefined;
670
663
  team?: {
671
664
  id?: string | undefined;
672
665
  org_id?: string | undefined;
@@ -695,7 +688,7 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
695
688
  json: Record<string, any>;
696
689
  } | null | undefined;
697
690
  default_role?: "admin" | "read" | "write" | "none" | undefined;
698
- visibility?: "public" | "private" | "organization" | "monetized" | "inherit" | undefined;
691
+ visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
699
692
  actor_type_policy?: "any" | "verified_only" | "agents_only" | null | undefined;
700
693
  source_policy?: "any" | "web_only" | "api_only" | null | undefined;
701
694
  userMembership?: {
@@ -727,10 +720,26 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
727
720
  }[] | undefined;
728
721
  created_at?: string | undefined;
729
722
  } | undefined;
723
+ org_id?: string | undefined;
724
+ parent?: Record<string, any> | undefined;
725
+ 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
+ source?: string | null | undefined;
732
+ reply_to_comment_id?: string | null | undefined;
733
+ } | null | undefined;
734
+ team_id?: string | undefined;
735
+ visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
730
736
  description?: {
731
737
  json: Record<string, any>;
732
738
  text: string;
733
739
  } | null | undefined;
740
+ source?: "api" | "web" | undefined;
741
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
742
+ state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
734
743
  parent_id?: string | null | undefined;
735
744
  license_id?: string | undefined;
736
745
  license?: Record<string, any> | undefined;
@@ -744,15 +753,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
744
753
  stripe_product_id?: string | null | undefined;
745
754
  stripe_price_id?: string | null | undefined;
746
755
  stripe_meter_id?: string | null | undefined;
747
- metadata?: {
748
- originality: "original" | "derivative" | "third-party";
749
- doi_url?: string | null | undefined;
750
- external_url?: string | null | undefined;
751
- paper_url?: string | null | undefined;
752
- github_url?: string | null | undefined;
753
- source?: string | null | undefined;
754
- reply_to_comment_id?: string | null | undefined;
755
- } | null | undefined;
756
756
  preview?: {
757
757
  type: string;
758
758
  content: Record<string, any>[];