@ourofoundation/ouro-js 3.8.2 → 3.8.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 (182) hide show
  1. package/dist/chunk-2GABFYUS.cjs +2 -0
  2. package/dist/chunk-2GABFYUS.cjs.map +1 -0
  3. package/dist/chunk-4AEKCY33.js +2 -0
  4. package/dist/chunk-4AEKCY33.js.map +1 -0
  5. package/dist/chunk-4GP5MIEM.cjs +2 -0
  6. package/dist/chunk-4GP5MIEM.cjs.map +1 -0
  7. package/dist/{chunk-DSJ23DIB.cjs → chunk-4UNQYG7I.cjs} +2 -2
  8. package/dist/{chunk-DSJ23DIB.cjs.map → chunk-4UNQYG7I.cjs.map} +1 -1
  9. package/dist/{chunk-KU5AWMS5.cjs → chunk-5PWVQ2XA.cjs} +2 -2
  10. package/dist/{chunk-KU5AWMS5.cjs.map → chunk-5PWVQ2XA.cjs.map} +1 -1
  11. package/dist/chunk-67Q4RMP6.js +2 -0
  12. package/dist/chunk-67Q4RMP6.js.map +1 -0
  13. package/dist/chunk-6KQTA6I7.cjs +2 -0
  14. package/dist/{chunk-AIIAIQ6L.cjs.map → chunk-6KQTA6I7.cjs.map} +1 -1
  15. package/dist/chunk-B4OJDZY5.js +2 -0
  16. package/dist/{chunk-PGCNGDPK.js.map → chunk-B4OJDZY5.js.map} +1 -1
  17. package/dist/{chunk-OCG3P3PJ.js → chunk-BWUPF76F.js} +2 -2
  18. package/dist/{chunk-OCG3P3PJ.js.map → chunk-BWUPF76F.js.map} +1 -1
  19. package/dist/{chunk-RMMMRN4X.cjs → chunk-D2VAJ55Q.cjs} +2 -2
  20. package/dist/{chunk-RMMMRN4X.cjs.map → chunk-D2VAJ55Q.cjs.map} +1 -1
  21. package/dist/chunk-D6JWKEY5.cjs +2 -0
  22. package/dist/chunk-D6JWKEY5.cjs.map +1 -0
  23. package/dist/chunk-G3IGIXKD.cjs +2 -0
  24. package/dist/chunk-G3IGIXKD.cjs.map +1 -0
  25. package/dist/chunk-GS5VFJ22.cjs +2 -0
  26. package/dist/chunk-GS5VFJ22.cjs.map +1 -0
  27. package/dist/chunk-GUEHIQ6T.cjs +2 -0
  28. package/dist/chunk-GUEHIQ6T.cjs.map +1 -0
  29. package/dist/chunk-HKU6LRRS.js +2 -0
  30. package/dist/chunk-HKU6LRRS.js.map +1 -0
  31. package/dist/chunk-IUO6O47I.cjs +2 -0
  32. package/dist/chunk-IUO6O47I.cjs.map +1 -0
  33. package/dist/chunk-KTJTOSL2.cjs +2 -0
  34. package/dist/chunk-KTJTOSL2.cjs.map +1 -0
  35. package/dist/chunk-KV6R6XC2.cjs +2 -0
  36. package/dist/chunk-KV6R6XC2.cjs.map +1 -0
  37. package/dist/chunk-MRUJUIPN.js +2 -0
  38. package/dist/chunk-MRUJUIPN.js.map +1 -0
  39. package/dist/{chunk-LXDNBUOU.js → chunk-MV4VXP6M.js} +2 -2
  40. package/dist/{chunk-LXDNBUOU.js.map → chunk-MV4VXP6M.js.map} +1 -1
  41. package/dist/chunk-NGPSTYQD.js +2 -0
  42. package/dist/chunk-NGPSTYQD.js.map +1 -0
  43. package/dist/chunk-NK4K542Q.js +2 -0
  44. package/dist/chunk-NK4K542Q.js.map +1 -0
  45. package/dist/chunk-NLU672VS.js +2 -0
  46. package/dist/chunk-NLU672VS.js.map +1 -0
  47. package/dist/chunk-OC34WU3H.cjs +2 -0
  48. package/dist/chunk-OC34WU3H.cjs.map +1 -0
  49. package/dist/chunk-OZBQNIKJ.js +2 -0
  50. package/dist/chunk-OZBQNIKJ.js.map +1 -0
  51. package/dist/chunk-QVMN2EX4.js +2 -0
  52. package/dist/chunk-QVMN2EX4.js.map +1 -0
  53. package/dist/{chunk-E2FDUS3B.cjs → chunk-RCUD47O3.cjs} +2 -2
  54. package/dist/{chunk-E2FDUS3B.cjs.map → chunk-RCUD47O3.cjs.map} +1 -1
  55. package/dist/chunk-SB4X4GDQ.js +2 -0
  56. package/dist/chunk-SB4X4GDQ.js.map +1 -0
  57. package/dist/chunk-WMCUQQ2Q.cjs +2 -0
  58. package/dist/chunk-WMCUQQ2Q.cjs.map +1 -0
  59. package/dist/chunk-XQTA6BNA.js +2 -0
  60. package/dist/chunk-XQTA6BNA.js.map +1 -0
  61. package/dist/chunk-XTINLMDO.js +2 -0
  62. package/dist/{chunk-FGEMQEEM.js.map → chunk-XTINLMDO.js.map} +1 -1
  63. package/dist/chunk-ZBNLKRMB.js +2 -0
  64. package/dist/{chunk-MKRXM63S.js.map → chunk-ZBNLKRMB.js.map} +1 -1
  65. package/dist/index.cjs +1 -1
  66. package/dist/index.d.cts +7 -6
  67. package/dist/index.d.ts +7 -6
  68. package/dist/index.js +1 -1
  69. package/dist/schema/asset-filters.cjs +1 -1
  70. package/dist/schema/asset-filters.d.cts +4 -2
  71. package/dist/schema/asset-filters.d.ts +4 -2
  72. package/dist/schema/asset-filters.js +1 -1
  73. package/dist/schema/assets.cjs +1 -1
  74. package/dist/schema/assets.d.cts +6 -0
  75. package/dist/schema/assets.d.ts +6 -0
  76. package/dist/schema/assets.js +1 -1
  77. package/dist/schema/comments.cjs +1 -1
  78. package/dist/schema/comments.d.cts +36 -0
  79. package/dist/schema/comments.d.ts +36 -0
  80. package/dist/schema/comments.js +1 -1
  81. package/dist/schema/conversations.cjs +1 -1
  82. package/dist/schema/conversations.d.cts +12 -0
  83. package/dist/schema/conversations.d.ts +12 -0
  84. package/dist/schema/conversations.js +1 -1
  85. package/dist/schema/datasets.cjs +1 -1
  86. package/dist/schema/datasets.d.cts +13 -5
  87. package/dist/schema/datasets.d.ts +13 -5
  88. package/dist/schema/datasets.js +1 -1
  89. package/dist/schema/files.cjs +1 -1
  90. package/dist/schema/files.d.cts +168 -1
  91. package/dist/schema/files.d.ts +168 -1
  92. package/dist/schema/files.js +1 -1
  93. package/dist/schema/notifications.cjs +1 -1
  94. package/dist/schema/notifications.d.cts +148 -1
  95. package/dist/schema/notifications.d.ts +148 -1
  96. package/dist/schema/notifications.js +1 -1
  97. package/dist/schema/organizations.cjs +1 -1
  98. package/dist/schema/organizations.d.cts +3 -1
  99. package/dist/schema/organizations.d.ts +3 -1
  100. package/dist/schema/organizations.js +1 -1
  101. package/dist/schema/posts.cjs +1 -1
  102. package/dist/schema/posts.d.cts +36 -0
  103. package/dist/schema/posts.d.ts +36 -0
  104. package/dist/schema/posts.js +1 -1
  105. package/dist/schema/quests.cjs +1 -1
  106. package/dist/schema/quests.d.cts +88 -15
  107. package/dist/schema/quests.d.ts +88 -15
  108. package/dist/schema/quests.js +1 -1
  109. package/dist/schema/renditions.cjs +2 -0
  110. package/dist/schema/renditions.cjs.map +1 -0
  111. package/dist/schema/renditions.d.cts +196 -0
  112. package/dist/schema/renditions.d.ts +196 -0
  113. package/dist/schema/renditions.js +2 -0
  114. package/dist/schema/renditions.js.map +1 -0
  115. package/dist/schema/services.cjs +1 -1
  116. package/dist/schema/services.d.cts +319 -7
  117. package/dist/schema/services.d.ts +319 -7
  118. package/dist/schema/services.js +1 -1
  119. package/dist/schema/teams.cjs +1 -1
  120. package/dist/schema/teams.d.cts +25 -0
  121. package/dist/schema/teams.d.ts +25 -0
  122. package/dist/schema/teams.js +1 -1
  123. package/dist/schema/users.cjs +1 -1
  124. package/dist/schema/users.d.cts +42 -1
  125. package/dist/schema/users.d.ts +42 -1
  126. package/dist/schema/users.js +1 -1
  127. package/dist/utils/files.cjs +1 -1
  128. package/dist/utils/files.d.cts +2 -1
  129. package/dist/utils/files.d.ts +2 -1
  130. package/dist/utils/files.js +1 -1
  131. package/dist/utils/quest-submission.cjs +1 -1
  132. package/dist/utils/quest-submission.d.cts +10 -1
  133. package/dist/utils/quest-submission.d.ts +10 -1
  134. package/dist/utils/quest-submission.js +1 -1
  135. package/package.json +1 -1
  136. package/tests/file-classification.test.mjs +19 -0
  137. package/tests/files.test.mjs +21 -1
  138. package/tests/renditions.test.mjs +111 -0
  139. package/dist/chunk-3DGJ27WL.js +0 -2
  140. package/dist/chunk-3DGJ27WL.js.map +0 -1
  141. package/dist/chunk-3JPOAQ2M.cjs +0 -2
  142. package/dist/chunk-3JPOAQ2M.cjs.map +0 -1
  143. package/dist/chunk-5CPECQKN.js +0 -2
  144. package/dist/chunk-5CPECQKN.js.map +0 -1
  145. package/dist/chunk-5SC4M4E3.cjs +0 -2
  146. package/dist/chunk-5SC4M4E3.cjs.map +0 -1
  147. package/dist/chunk-AIIAIQ6L.cjs +0 -2
  148. package/dist/chunk-CDJH4OT5.js +0 -2
  149. package/dist/chunk-CDJH4OT5.js.map +0 -1
  150. package/dist/chunk-EC376C5T.js +0 -2
  151. package/dist/chunk-EC376C5T.js.map +0 -1
  152. package/dist/chunk-FGEMQEEM.js +0 -2
  153. package/dist/chunk-KHERHT26.cjs +0 -2
  154. package/dist/chunk-KHERHT26.cjs.map +0 -1
  155. package/dist/chunk-KMENBGAB.js +0 -2
  156. package/dist/chunk-KMENBGAB.js.map +0 -1
  157. package/dist/chunk-LHCGBWFP.cjs +0 -2
  158. package/dist/chunk-LHCGBWFP.cjs.map +0 -1
  159. package/dist/chunk-MKRXM63S.js +0 -2
  160. package/dist/chunk-O4LSX56P.js +0 -2
  161. package/dist/chunk-O4LSX56P.js.map +0 -1
  162. package/dist/chunk-OU4JKY4M.js +0 -2
  163. package/dist/chunk-OU4JKY4M.js.map +0 -1
  164. package/dist/chunk-PGCNGDPK.js +0 -2
  165. package/dist/chunk-PVUBGWOI.cjs +0 -2
  166. package/dist/chunk-PVUBGWOI.cjs.map +0 -1
  167. package/dist/chunk-RS5H4XDK.js +0 -2
  168. package/dist/chunk-RS5H4XDK.js.map +0 -1
  169. package/dist/chunk-T6UO42TO.cjs +0 -2
  170. package/dist/chunk-T6UO42TO.cjs.map +0 -1
  171. package/dist/chunk-U6XOT6XH.cjs +0 -2
  172. package/dist/chunk-U6XOT6XH.cjs.map +0 -1
  173. package/dist/chunk-W6KXPYCB.js +0 -2
  174. package/dist/chunk-W6KXPYCB.js.map +0 -1
  175. package/dist/chunk-XEA4DDOE.cjs +0 -2
  176. package/dist/chunk-XEA4DDOE.cjs.map +0 -1
  177. package/dist/chunk-XL2RQ3DZ.cjs +0 -2
  178. package/dist/chunk-XL2RQ3DZ.cjs.map +0 -1
  179. package/dist/chunk-Y6BK75KP.js +0 -2
  180. package/dist/chunk-Y6BK75KP.js.map +0 -1
  181. package/dist/chunk-YTCAK2AH.cjs +0 -2
  182. package/dist/chunk-YTCAK2AH.cjs.map +0 -1
@@ -18,6 +18,7 @@ declare const NotificationTypeSchema: z.ZodEnum<{
18
18
  "action-failed": "action-failed";
19
19
  "quest-entry": "quest-entry";
20
20
  "quest-entry-accepted": "quest-entry-accepted";
21
+ "quest-entry-eval-failed": "quest-entry-eval-failed";
21
22
  "onboarding-complete": "onboarding-complete";
22
23
  "onboarding-action-required": "onboarding-action-required";
23
24
  "route-earnings-milestone": "route-earnings-milestone";
@@ -562,6 +563,16 @@ declare const InviteContentSchema: z.ZodObject<{
562
563
  id: z.ZodString;
563
564
  name: z.ZodString;
564
565
  }, z.core.$strip>>;
566
+ team: z.ZodOptional<z.ZodObject<{
567
+ id: z.ZodString;
568
+ name: z.ZodString;
569
+ }, z.core.$strip>>;
570
+ kind: z.ZodOptional<z.ZodEnum<{
571
+ added: "added";
572
+ join_request: "join_request";
573
+ join_approved: "join_approved";
574
+ join_rejected: "join_rejected";
575
+ }>>;
565
576
  text: z.ZodOptional<z.ZodString>;
566
577
  }, z.core.$strip>;
567
578
  declare const PaymentContentSchema: z.ZodObject<{
@@ -663,12 +674,34 @@ declare const QuestEntryAcceptedContentSchema: z.ZodObject<{
663
674
  asset_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
664
675
  asset_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
665
676
  }, z.core.$strip>>;
677
+ source: z.ZodOptional<z.ZodEnum<{
678
+ review: "review";
679
+ eval: "eval";
680
+ }>>;
666
681
  reviewer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
667
682
  id: z.ZodString;
668
683
  username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
669
684
  }, z.core.$strip>>>;
670
685
  text: z.ZodOptional<z.ZodString>;
671
686
  }, z.core.$strip>;
687
+ declare const QuestEntryEvalFailedContentSchema: z.ZodObject<{
688
+ quest: z.ZodOptional<z.ZodObject<{
689
+ id: z.ZodString;
690
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
691
+ }, z.core.$strip>>;
692
+ entry: z.ZodOptional<z.ZodObject<{
693
+ id: z.ZodString;
694
+ asset_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
695
+ asset_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
696
+ asset_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
697
+ }, z.core.$strip>>;
698
+ eval_status: z.ZodOptional<z.ZodEnum<{
699
+ failed: "failed";
700
+ errored: "errored";
701
+ }>>;
702
+ eval_score: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
703
+ text: z.ZodOptional<z.ZodString>;
704
+ }, z.core.$strip>;
672
705
  declare const OnboardingCompleteContentSchema: z.ZodObject<{
673
706
  text: z.ZodOptional<z.ZodString>;
674
707
  }, z.core.$strip>;
@@ -1646,6 +1679,16 @@ declare const NotificationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1646
1679
  id: z.ZodString;
1647
1680
  name: z.ZodString;
1648
1681
  }, z.core.$strip>>;
1682
+ team: z.ZodOptional<z.ZodObject<{
1683
+ id: z.ZodString;
1684
+ name: z.ZodString;
1685
+ }, z.core.$strip>>;
1686
+ kind: z.ZodOptional<z.ZodEnum<{
1687
+ added: "added";
1688
+ join_request: "join_request";
1689
+ join_approved: "join_approved";
1690
+ join_rejected: "join_rejected";
1691
+ }>>;
1649
1692
  text: z.ZodOptional<z.ZodString>;
1650
1693
  }, z.core.$strip>;
1651
1694
  }, z.core.$strip>, z.ZodObject<{
@@ -2682,12 +2725,116 @@ declare const NotificationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2682
2725
  asset_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2683
2726
  asset_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2684
2727
  }, z.core.$strip>>;
2728
+ source: z.ZodOptional<z.ZodEnum<{
2729
+ review: "review";
2730
+ eval: "eval";
2731
+ }>>;
2685
2732
  reviewer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2686
2733
  id: z.ZodString;
2687
2734
  username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2688
2735
  }, z.core.$strip>>>;
2689
2736
  text: z.ZodOptional<z.ZodString>;
2690
2737
  }, z.core.$strip>;
2738
+ }, z.core.$strip>, z.ZodObject<{
2739
+ id: z.ZodUUID;
2740
+ source_user_id: z.ZodUUID;
2741
+ destination_user_id: z.ZodUUID;
2742
+ org_id: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
2743
+ asset_id: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
2744
+ reaction_id: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
2745
+ action_id: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
2746
+ parent_asset_id: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
2747
+ root_asset_id: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
2748
+ viewed: z.ZodBoolean;
2749
+ created_at: z.ZodString;
2750
+ last_updated: z.ZodString;
2751
+ source_user: z.ZodOptional<z.ZodObject<{
2752
+ id: z.ZodOptional<z.ZodUUID>;
2753
+ user_id: z.ZodOptional<z.ZodUUID>;
2754
+ username: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
2755
+ name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
2756
+ first_name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
2757
+ last_name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
2758
+ avatar_path: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
2759
+ bio: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
2760
+ is_provisioned: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
2761
+ claimed_at: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
2762
+ urls: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
2763
+ value: z.ZodString;
2764
+ }, z.core.$strip>>>>;
2765
+ post_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
2766
+ actor_type: z.ZodOptional<z.ZodEnum<{
2767
+ base: "base";
2768
+ agent: "agent";
2769
+ verified: "verified";
2770
+ }>>;
2771
+ plan_type: z.ZodOptional<z.ZodEnum<{
2772
+ free: "free";
2773
+ gold: "gold";
2774
+ }>>;
2775
+ last_active: z.ZodOptional<z.ZodString>;
2776
+ }, z.core.$strip>>;
2777
+ asset: z.ZodOptional<z.ZodObject<{
2778
+ assetId: z.ZodOptional<z.ZodString>;
2779
+ assetType: z.ZodOptional<z.ZodEnum<{
2780
+ user: "user";
2781
+ organization: "organization";
2782
+ team: "team";
2783
+ dataset: "dataset";
2784
+ file: "file";
2785
+ service: "service";
2786
+ route: "route";
2787
+ post: "post";
2788
+ quest: "quest";
2789
+ comment: "comment";
2790
+ conversation: "conversation";
2791
+ }>>;
2792
+ id: z.ZodOptional<z.ZodString>;
2793
+ asset_type: z.ZodOptional<z.ZodEnum<{
2794
+ user: "user";
2795
+ organization: "organization";
2796
+ team: "team";
2797
+ dataset: "dataset";
2798
+ file: "file";
2799
+ service: "service";
2800
+ route: "route";
2801
+ post: "post";
2802
+ quest: "quest";
2803
+ comment: "comment";
2804
+ conversation: "conversation";
2805
+ }>>;
2806
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2807
+ user_id: z.ZodOptional<z.ZodString>;
2808
+ preview: z.ZodOptional<z.ZodAny>;
2809
+ description: z.ZodOptional<z.ZodAny>;
2810
+ slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2811
+ name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2812
+ org_id: z.ZodOptional<z.ZodString>;
2813
+ parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2814
+ parent: z.ZodOptional<z.ZodAny>;
2815
+ user: z.ZodOptional<z.ZodAny>;
2816
+ organization: z.ZodOptional<z.ZodAny>;
2817
+ team: z.ZodOptional<z.ZodAny>;
2818
+ }, z.core.$strip>>;
2819
+ type: z.ZodLiteral<"quest-entry-eval-failed">;
2820
+ content: z.ZodObject<{
2821
+ quest: z.ZodOptional<z.ZodObject<{
2822
+ id: z.ZodString;
2823
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2824
+ }, z.core.$strip>>;
2825
+ entry: z.ZodOptional<z.ZodObject<{
2826
+ id: z.ZodString;
2827
+ asset_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2828
+ asset_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2829
+ asset_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2830
+ }, z.core.$strip>>;
2831
+ eval_status: z.ZodOptional<z.ZodEnum<{
2832
+ failed: "failed";
2833
+ errored: "errored";
2834
+ }>>;
2835
+ eval_score: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2836
+ text: z.ZodOptional<z.ZodString>;
2837
+ }, z.core.$strip>;
2691
2838
  }, z.core.$strip>, z.ZodObject<{
2692
2839
  id: z.ZodUUID;
2693
2840
  source_user_id: z.ZodUUID;
@@ -3448,4 +3595,4 @@ type NotificationOfType<T extends NotificationType> = Extract<Notification, {
3448
3595
  type NotificationContentAsset = z.infer<typeof NotificationContentAssetSchema>;
3449
3596
  type NotificationAssetRef = z.infer<typeof NotificationAssetRefSchema>;
3450
3597
 
3451
- export { ActionCompleteContentSchema, BadgeContentSchema, CommentContentSchema, ContentDeletedContentSchema, ContentMovedContentSchema, DepositContentSchema, EventContentSchema, FollowContentSchema, InviteContentSchema, MentionContentSchema, type Notification, type NotificationAssetRef, NotificationAssetRefSchema, type NotificationContentAsset, NotificationContentAssetSchema, type NotificationOfType, NotificationParentRefSchema, NotificationRootInfoSchema, NotificationSchema, type NotificationType, NotificationTypeSchema, OnboardingActionRequiredContentSchema, OnboardingCompleteContentSchema, OwnershipTransferContentSchema, PaymentContentSchema, QuestEntryAcceptedContentSchema, QuestEntryContentSchema, ReactionContentSchema, ReferenceContentSchema, ReplyContentSchema, RouteEarningsMilestoneContentSchema, RoutePayoutContentSchema, ShareContentSchema };
3598
+ export { ActionCompleteContentSchema, BadgeContentSchema, CommentContentSchema, ContentDeletedContentSchema, ContentMovedContentSchema, DepositContentSchema, EventContentSchema, FollowContentSchema, InviteContentSchema, MentionContentSchema, type Notification, type NotificationAssetRef, NotificationAssetRefSchema, type NotificationContentAsset, NotificationContentAssetSchema, type NotificationOfType, NotificationParentRefSchema, NotificationRootInfoSchema, NotificationSchema, type NotificationType, NotificationTypeSchema, OnboardingActionRequiredContentSchema, OnboardingCompleteContentSchema, OwnershipTransferContentSchema, PaymentContentSchema, QuestEntryAcceptedContentSchema, QuestEntryContentSchema, QuestEntryEvalFailedContentSchema, ReactionContentSchema, ReferenceContentSchema, ReplyContentSchema, RouteEarningsMilestoneContentSchema, RoutePayoutContentSchema, ShareContentSchema };
@@ -18,6 +18,7 @@ declare const NotificationTypeSchema: z.ZodEnum<{
18
18
  "action-failed": "action-failed";
19
19
  "quest-entry": "quest-entry";
20
20
  "quest-entry-accepted": "quest-entry-accepted";
21
+ "quest-entry-eval-failed": "quest-entry-eval-failed";
21
22
  "onboarding-complete": "onboarding-complete";
22
23
  "onboarding-action-required": "onboarding-action-required";
23
24
  "route-earnings-milestone": "route-earnings-milestone";
@@ -562,6 +563,16 @@ declare const InviteContentSchema: z.ZodObject<{
562
563
  id: z.ZodString;
563
564
  name: z.ZodString;
564
565
  }, z.core.$strip>>;
566
+ team: z.ZodOptional<z.ZodObject<{
567
+ id: z.ZodString;
568
+ name: z.ZodString;
569
+ }, z.core.$strip>>;
570
+ kind: z.ZodOptional<z.ZodEnum<{
571
+ added: "added";
572
+ join_request: "join_request";
573
+ join_approved: "join_approved";
574
+ join_rejected: "join_rejected";
575
+ }>>;
565
576
  text: z.ZodOptional<z.ZodString>;
566
577
  }, z.core.$strip>;
567
578
  declare const PaymentContentSchema: z.ZodObject<{
@@ -663,12 +674,34 @@ declare const QuestEntryAcceptedContentSchema: z.ZodObject<{
663
674
  asset_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
664
675
  asset_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
665
676
  }, z.core.$strip>>;
677
+ source: z.ZodOptional<z.ZodEnum<{
678
+ review: "review";
679
+ eval: "eval";
680
+ }>>;
666
681
  reviewer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
667
682
  id: z.ZodString;
668
683
  username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
669
684
  }, z.core.$strip>>>;
670
685
  text: z.ZodOptional<z.ZodString>;
671
686
  }, z.core.$strip>;
687
+ declare const QuestEntryEvalFailedContentSchema: z.ZodObject<{
688
+ quest: z.ZodOptional<z.ZodObject<{
689
+ id: z.ZodString;
690
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
691
+ }, z.core.$strip>>;
692
+ entry: z.ZodOptional<z.ZodObject<{
693
+ id: z.ZodString;
694
+ asset_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
695
+ asset_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
696
+ asset_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
697
+ }, z.core.$strip>>;
698
+ eval_status: z.ZodOptional<z.ZodEnum<{
699
+ failed: "failed";
700
+ errored: "errored";
701
+ }>>;
702
+ eval_score: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
703
+ text: z.ZodOptional<z.ZodString>;
704
+ }, z.core.$strip>;
672
705
  declare const OnboardingCompleteContentSchema: z.ZodObject<{
673
706
  text: z.ZodOptional<z.ZodString>;
674
707
  }, z.core.$strip>;
@@ -1646,6 +1679,16 @@ declare const NotificationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1646
1679
  id: z.ZodString;
1647
1680
  name: z.ZodString;
1648
1681
  }, z.core.$strip>>;
1682
+ team: z.ZodOptional<z.ZodObject<{
1683
+ id: z.ZodString;
1684
+ name: z.ZodString;
1685
+ }, z.core.$strip>>;
1686
+ kind: z.ZodOptional<z.ZodEnum<{
1687
+ added: "added";
1688
+ join_request: "join_request";
1689
+ join_approved: "join_approved";
1690
+ join_rejected: "join_rejected";
1691
+ }>>;
1649
1692
  text: z.ZodOptional<z.ZodString>;
1650
1693
  }, z.core.$strip>;
1651
1694
  }, z.core.$strip>, z.ZodObject<{
@@ -2682,12 +2725,116 @@ declare const NotificationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2682
2725
  asset_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2683
2726
  asset_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2684
2727
  }, z.core.$strip>>;
2728
+ source: z.ZodOptional<z.ZodEnum<{
2729
+ review: "review";
2730
+ eval: "eval";
2731
+ }>>;
2685
2732
  reviewer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2686
2733
  id: z.ZodString;
2687
2734
  username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2688
2735
  }, z.core.$strip>>>;
2689
2736
  text: z.ZodOptional<z.ZodString>;
2690
2737
  }, z.core.$strip>;
2738
+ }, z.core.$strip>, z.ZodObject<{
2739
+ id: z.ZodUUID;
2740
+ source_user_id: z.ZodUUID;
2741
+ destination_user_id: z.ZodUUID;
2742
+ org_id: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
2743
+ asset_id: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
2744
+ reaction_id: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
2745
+ action_id: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
2746
+ parent_asset_id: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
2747
+ root_asset_id: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
2748
+ viewed: z.ZodBoolean;
2749
+ created_at: z.ZodString;
2750
+ last_updated: z.ZodString;
2751
+ source_user: z.ZodOptional<z.ZodObject<{
2752
+ id: z.ZodOptional<z.ZodUUID>;
2753
+ user_id: z.ZodOptional<z.ZodUUID>;
2754
+ username: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
2755
+ name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
2756
+ first_name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
2757
+ last_name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
2758
+ avatar_path: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
2759
+ bio: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
2760
+ is_provisioned: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
2761
+ claimed_at: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
2762
+ urls: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
2763
+ value: z.ZodString;
2764
+ }, z.core.$strip>>>>;
2765
+ post_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
2766
+ actor_type: z.ZodOptional<z.ZodEnum<{
2767
+ base: "base";
2768
+ agent: "agent";
2769
+ verified: "verified";
2770
+ }>>;
2771
+ plan_type: z.ZodOptional<z.ZodEnum<{
2772
+ free: "free";
2773
+ gold: "gold";
2774
+ }>>;
2775
+ last_active: z.ZodOptional<z.ZodString>;
2776
+ }, z.core.$strip>>;
2777
+ asset: z.ZodOptional<z.ZodObject<{
2778
+ assetId: z.ZodOptional<z.ZodString>;
2779
+ assetType: z.ZodOptional<z.ZodEnum<{
2780
+ user: "user";
2781
+ organization: "organization";
2782
+ team: "team";
2783
+ dataset: "dataset";
2784
+ file: "file";
2785
+ service: "service";
2786
+ route: "route";
2787
+ post: "post";
2788
+ quest: "quest";
2789
+ comment: "comment";
2790
+ conversation: "conversation";
2791
+ }>>;
2792
+ id: z.ZodOptional<z.ZodString>;
2793
+ asset_type: z.ZodOptional<z.ZodEnum<{
2794
+ user: "user";
2795
+ organization: "organization";
2796
+ team: "team";
2797
+ dataset: "dataset";
2798
+ file: "file";
2799
+ service: "service";
2800
+ route: "route";
2801
+ post: "post";
2802
+ quest: "quest";
2803
+ comment: "comment";
2804
+ conversation: "conversation";
2805
+ }>>;
2806
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2807
+ user_id: z.ZodOptional<z.ZodString>;
2808
+ preview: z.ZodOptional<z.ZodAny>;
2809
+ description: z.ZodOptional<z.ZodAny>;
2810
+ slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2811
+ name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2812
+ org_id: z.ZodOptional<z.ZodString>;
2813
+ parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2814
+ parent: z.ZodOptional<z.ZodAny>;
2815
+ user: z.ZodOptional<z.ZodAny>;
2816
+ organization: z.ZodOptional<z.ZodAny>;
2817
+ team: z.ZodOptional<z.ZodAny>;
2818
+ }, z.core.$strip>>;
2819
+ type: z.ZodLiteral<"quest-entry-eval-failed">;
2820
+ content: z.ZodObject<{
2821
+ quest: z.ZodOptional<z.ZodObject<{
2822
+ id: z.ZodString;
2823
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2824
+ }, z.core.$strip>>;
2825
+ entry: z.ZodOptional<z.ZodObject<{
2826
+ id: z.ZodString;
2827
+ asset_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2828
+ asset_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2829
+ asset_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2830
+ }, z.core.$strip>>;
2831
+ eval_status: z.ZodOptional<z.ZodEnum<{
2832
+ failed: "failed";
2833
+ errored: "errored";
2834
+ }>>;
2835
+ eval_score: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2836
+ text: z.ZodOptional<z.ZodString>;
2837
+ }, z.core.$strip>;
2691
2838
  }, z.core.$strip>, z.ZodObject<{
2692
2839
  id: z.ZodUUID;
2693
2840
  source_user_id: z.ZodUUID;
@@ -3448,4 +3595,4 @@ type NotificationOfType<T extends NotificationType> = Extract<Notification, {
3448
3595
  type NotificationContentAsset = z.infer<typeof NotificationContentAssetSchema>;
3449
3596
  type NotificationAssetRef = z.infer<typeof NotificationAssetRefSchema>;
3450
3597
 
3451
- export { ActionCompleteContentSchema, BadgeContentSchema, CommentContentSchema, ContentDeletedContentSchema, ContentMovedContentSchema, DepositContentSchema, EventContentSchema, FollowContentSchema, InviteContentSchema, MentionContentSchema, type Notification, type NotificationAssetRef, NotificationAssetRefSchema, type NotificationContentAsset, NotificationContentAssetSchema, type NotificationOfType, NotificationParentRefSchema, NotificationRootInfoSchema, NotificationSchema, type NotificationType, NotificationTypeSchema, OnboardingActionRequiredContentSchema, OnboardingCompleteContentSchema, OwnershipTransferContentSchema, PaymentContentSchema, QuestEntryAcceptedContentSchema, QuestEntryContentSchema, ReactionContentSchema, ReferenceContentSchema, ReplyContentSchema, RouteEarningsMilestoneContentSchema, RoutePayoutContentSchema, ShareContentSchema };
3598
+ export { ActionCompleteContentSchema, BadgeContentSchema, CommentContentSchema, ContentDeletedContentSchema, ContentMovedContentSchema, DepositContentSchema, EventContentSchema, FollowContentSchema, InviteContentSchema, MentionContentSchema, type Notification, type NotificationAssetRef, NotificationAssetRefSchema, type NotificationContentAsset, NotificationContentAssetSchema, type NotificationOfType, NotificationParentRefSchema, NotificationRootInfoSchema, NotificationSchema, type NotificationType, NotificationTypeSchema, OnboardingActionRequiredContentSchema, OnboardingCompleteContentSchema, OwnershipTransferContentSchema, PaymentContentSchema, QuestEntryAcceptedContentSchema, QuestEntryContentSchema, QuestEntryEvalFailedContentSchema, ReactionContentSchema, ReferenceContentSchema, ReplyContentSchema, RouteEarningsMilestoneContentSchema, RoutePayoutContentSchema, ShareContentSchema };
@@ -1,2 +1,2 @@
1
- export{r as ActionCompleteContentSchema,q as BadgeContentSchema,g as CommentContentSchema,z as ContentDeletedContentSchema,y as ContentMovedContentSchema,p as DepositContentSchema,A as EventContentSchema,m as FollowContentSchema,n as InviteContentSchema,f as MentionContentSchema,b as NotificationAssetRefSchema,c as NotificationContentAssetSchema,d as NotificationParentRefSchema,e as NotificationRootInfoSchema,B as NotificationSchema,a as NotificationTypeSchema,v as OnboardingActionRequiredContentSchema,u as OnboardingCompleteContentSchema,l as OwnershipTransferContentSchema,o as PaymentContentSchema,t as QuestEntryAcceptedContentSchema,s as QuestEntryContentSchema,j as ReactionContentSchema,i as ReferenceContentSchema,h as ReplyContentSchema,w as RouteEarningsMilestoneContentSchema,x as RoutePayoutContentSchema,k as ShareContentSchema}from'../chunk-EC376C5T.js';import'../chunk-CDJH4OT5.js';import'../chunk-33C7IDRP.js';//# sourceMappingURL=notifications.js.map
1
+ export{r as ActionCompleteContentSchema,q as BadgeContentSchema,g as CommentContentSchema,A as ContentDeletedContentSchema,z as ContentMovedContentSchema,p as DepositContentSchema,B as EventContentSchema,m as FollowContentSchema,n as InviteContentSchema,f as MentionContentSchema,b as NotificationAssetRefSchema,c as NotificationContentAssetSchema,d as NotificationParentRefSchema,e as NotificationRootInfoSchema,C as NotificationSchema,a as NotificationTypeSchema,w as OnboardingActionRequiredContentSchema,v as OnboardingCompleteContentSchema,l as OwnershipTransferContentSchema,o as PaymentContentSchema,t as QuestEntryAcceptedContentSchema,s as QuestEntryContentSchema,u as QuestEntryEvalFailedContentSchema,j as ReactionContentSchema,i as ReferenceContentSchema,h as ReplyContentSchema,x as RouteEarningsMilestoneContentSchema,y as RoutePayoutContentSchema,k as ShareContentSchema}from'../chunk-4AEKCY33.js';import'../chunk-NLU672VS.js';import'../chunk-33C7IDRP.js';//# sourceMappingURL=notifications.js.map
2
2
  //# sourceMappingURL=notifications.js.map
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkKU5AWMS5_cjs=require('../chunk-KU5AWMS5.cjs');require('../chunk-YTCAK2AH.cjs'),require('../chunk-YFEGRZXL.cjs');Object.defineProperty(exports,"ActorTypePolicySchema",{enumerable:true,get:function(){return chunkKU5AWMS5_cjs.a}});Object.defineProperty(exports,"MembershipSchema",{enumerable:true,get:function(){return chunkKU5AWMS5_cjs.d}});Object.defineProperty(exports,"OrganizationsSchema",{enumerable:true,get:function(){return chunkKU5AWMS5_cjs.c}});Object.defineProperty(exports,"SourcePolicySchema",{enumerable:true,get:function(){return chunkKU5AWMS5_cjs.b}});//# sourceMappingURL=organizations.cjs.map
1
+ 'use strict';var chunk5PWVQ2XA_cjs=require('../chunk-5PWVQ2XA.cjs');require('../chunk-WMCUQQ2Q.cjs'),require('../chunk-YFEGRZXL.cjs');Object.defineProperty(exports,"ActorTypePolicySchema",{enumerable:true,get:function(){return chunk5PWVQ2XA_cjs.b}});Object.defineProperty(exports,"JoinPolicySchema",{enumerable:true,get:function(){return chunk5PWVQ2XA_cjs.a}});Object.defineProperty(exports,"MembershipSchema",{enumerable:true,get:function(){return chunk5PWVQ2XA_cjs.e}});Object.defineProperty(exports,"OrganizationsSchema",{enumerable:true,get:function(){return chunk5PWVQ2XA_cjs.d}});Object.defineProperty(exports,"SourcePolicySchema",{enumerable:true,get:function(){return chunk5PWVQ2XA_cjs.c}});//# sourceMappingURL=organizations.cjs.map
2
2
  //# sourceMappingURL=organizations.cjs.map
@@ -1,5 +1,6 @@
1
1
  import { z } from 'zod';
2
2
 
3
+ declare const JoinPolicySchema: z.ZodString;
3
4
  declare const ActorTypePolicySchema: z.ZodEnum<{
4
5
  any: "any";
5
6
  verified_only: "verified_only";
@@ -94,5 +95,6 @@ type Organization = z.infer<typeof OrganizationsSchema>;
94
95
  type Membership = z.infer<typeof MembershipSchema>;
95
96
  type ActorTypePolicy = z.infer<typeof ActorTypePolicySchema>;
96
97
  type SourcePolicy = z.infer<typeof SourcePolicySchema>;
98
+ type JoinPolicy = z.infer<typeof JoinPolicySchema>;
97
99
 
98
- export { type ActorTypePolicy, ActorTypePolicySchema, type Membership, MembershipSchema, type Organization, OrganizationsSchema, type SourcePolicy, SourcePolicySchema };
100
+ export { type ActorTypePolicy, ActorTypePolicySchema, type JoinPolicy, JoinPolicySchema, type Membership, MembershipSchema, type Organization, OrganizationsSchema, type SourcePolicy, SourcePolicySchema };
@@ -1,5 +1,6 @@
1
1
  import { z } from 'zod';
2
2
 
3
+ declare const JoinPolicySchema: z.ZodString;
3
4
  declare const ActorTypePolicySchema: z.ZodEnum<{
4
5
  any: "any";
5
6
  verified_only: "verified_only";
@@ -94,5 +95,6 @@ type Organization = z.infer<typeof OrganizationsSchema>;
94
95
  type Membership = z.infer<typeof MembershipSchema>;
95
96
  type ActorTypePolicy = z.infer<typeof ActorTypePolicySchema>;
96
97
  type SourcePolicy = z.infer<typeof SourcePolicySchema>;
98
+ type JoinPolicy = z.infer<typeof JoinPolicySchema>;
97
99
 
98
- export { type ActorTypePolicy, ActorTypePolicySchema, type Membership, MembershipSchema, type Organization, OrganizationsSchema, type SourcePolicy, SourcePolicySchema };
100
+ export { type ActorTypePolicy, ActorTypePolicySchema, type JoinPolicy, JoinPolicySchema, type Membership, MembershipSchema, type Organization, OrganizationsSchema, type SourcePolicy, SourcePolicySchema };
@@ -1,2 +1,2 @@
1
- export{a as ActorTypePolicySchema,d as MembershipSchema,c as OrganizationsSchema,b as SourcePolicySchema}from'../chunk-OCG3P3PJ.js';import'../chunk-CDJH4OT5.js';import'../chunk-33C7IDRP.js';//# sourceMappingURL=organizations.js.map
1
+ export{b as ActorTypePolicySchema,a as JoinPolicySchema,e as MembershipSchema,d as OrganizationsSchema,c as SourcePolicySchema}from'../chunk-BWUPF76F.js';import'../chunk-NLU672VS.js';import'../chunk-33C7IDRP.js';//# sourceMappingURL=organizations.js.map
2
2
  //# sourceMappingURL=organizations.js.map
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkDSJ23DIB_cjs=require('../chunk-DSJ23DIB.cjs');require('../chunk-RMMMRN4X.cjs'),require('../chunk-3JPOAQ2M.cjs'),require('../chunk-KU5AWMS5.cjs'),require('../chunk-YTCAK2AH.cjs'),require('../chunk-YFEGRZXL.cjs'),require('../chunk-7HF5VHUN.cjs'),require('../chunk-JRBBNFFI.cjs');Object.defineProperty(exports,"ContentSchema",{enumerable:true,get:function(){return chunkDSJ23DIB_cjs.b}});Object.defineProperty(exports,"CreatePostSchema",{enumerable:true,get:function(){return chunkDSJ23DIB_cjs.d}});Object.defineProperty(exports,"ListPostsSchema",{enumerable:true,get:function(){return chunkDSJ23DIB_cjs.g}});Object.defineProperty(exports,"PostSchema",{enumerable:true,get:function(){return chunkDSJ23DIB_cjs.c}});Object.defineProperty(exports,"ReadPostSchema",{enumerable:true,get:function(){return chunkDSJ23DIB_cjs.e}});Object.defineProperty(exports,"ReadPostsSchema",{enumerable:true,get:function(){return chunkDSJ23DIB_cjs.f}});Object.defineProperty(exports,"TipTapSchema",{enumerable:true,get:function(){return chunkDSJ23DIB_cjs.a}});Object.defineProperty(exports,"UpdatePostSchema",{enumerable:true,get:function(){return chunkDSJ23DIB_cjs.h}});//# sourceMappingURL=posts.cjs.map
1
+ 'use strict';var chunk4UNQYG7I_cjs=require('../chunk-4UNQYG7I.cjs');require('../chunk-D2VAJ55Q.cjs'),require('../chunk-4GP5MIEM.cjs'),require('../chunk-5PWVQ2XA.cjs'),require('../chunk-WMCUQQ2Q.cjs'),require('../chunk-JRBBNFFI.cjs'),require('../chunk-7HF5VHUN.cjs'),require('../chunk-YFEGRZXL.cjs');Object.defineProperty(exports,"ContentSchema",{enumerable:true,get:function(){return chunk4UNQYG7I_cjs.b}});Object.defineProperty(exports,"CreatePostSchema",{enumerable:true,get:function(){return chunk4UNQYG7I_cjs.d}});Object.defineProperty(exports,"ListPostsSchema",{enumerable:true,get:function(){return chunk4UNQYG7I_cjs.g}});Object.defineProperty(exports,"PostSchema",{enumerable:true,get:function(){return chunk4UNQYG7I_cjs.c}});Object.defineProperty(exports,"ReadPostSchema",{enumerable:true,get:function(){return chunk4UNQYG7I_cjs.e}});Object.defineProperty(exports,"ReadPostsSchema",{enumerable:true,get:function(){return chunk4UNQYG7I_cjs.f}});Object.defineProperty(exports,"TipTapSchema",{enumerable:true,get:function(){return chunk4UNQYG7I_cjs.a}});Object.defineProperty(exports,"UpdatePostSchema",{enumerable:true,get:function(){return chunk4UNQYG7I_cjs.h}});//# sourceMappingURL=posts.cjs.map
2
2
  //# sourceMappingURL=posts.cjs.map
@@ -137,6 +137,7 @@ declare const PostSchema: z.ZodObject<{
137
137
  web_only: "web_only";
138
138
  api_only: "api_only";
139
139
  }>>>>;
140
+ join_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
140
141
  userMembership: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
141
142
  user_id: z.ZodUUID;
142
143
  role: z.ZodEnum<{
@@ -146,6 +147,11 @@ declare const PostSchema: z.ZodObject<{
146
147
  none: "none";
147
148
  }>;
148
149
  }, z.core.$strip>>>>;
150
+ userJoinRequest: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
151
+ id: z.ZodUUID;
152
+ status: z.ZodString;
153
+ created_at: z.ZodString;
154
+ }, z.core.$strip>>>>;
149
155
  memberCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
150
156
  members: z.ZodOptional<z.ZodArray<z.ZodObject<{
151
157
  user_id: z.ZodUUID;
@@ -657,6 +663,7 @@ declare const ReadPostSchema: z.ZodObject<{
657
663
  web_only: "web_only";
658
664
  api_only: "api_only";
659
665
  }>>>>;
666
+ join_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
660
667
  userMembership: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
661
668
  user_id: z.ZodUUID;
662
669
  role: z.ZodEnum<{
@@ -666,6 +673,11 @@ declare const ReadPostSchema: z.ZodObject<{
666
673
  none: "none";
667
674
  }>;
668
675
  }, z.core.$strip>>>>;
676
+ userJoinRequest: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
677
+ id: z.ZodUUID;
678
+ status: z.ZodString;
679
+ created_at: z.ZodString;
680
+ }, z.core.$strip>>>>;
669
681
  memberCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
670
682
  members: z.ZodOptional<z.ZodArray<z.ZodObject<{
671
683
  user_id: z.ZodUUID;
@@ -942,6 +954,7 @@ declare const ReadPostSchema: z.ZodObject<{
942
954
  web_only: "web_only";
943
955
  api_only: "api_only";
944
956
  }>>>>;
957
+ join_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
945
958
  userMembership: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
946
959
  user_id: z.ZodUUID;
947
960
  role: z.ZodEnum<{
@@ -951,6 +964,11 @@ declare const ReadPostSchema: z.ZodObject<{
951
964
  none: "none";
952
965
  }>;
953
966
  }, z.core.$strip>>>>;
967
+ userJoinRequest: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
968
+ id: z.ZodUUID;
969
+ status: z.ZodString;
970
+ created_at: z.ZodString;
971
+ }, z.core.$strip>>>>;
954
972
  memberCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
955
973
  members: z.ZodOptional<z.ZodArray<z.ZodObject<{
956
974
  user_id: z.ZodUUID;
@@ -1249,6 +1267,7 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<{
1249
1267
  web_only: "web_only";
1250
1268
  api_only: "api_only";
1251
1269
  }>>>>;
1270
+ join_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
1252
1271
  userMembership: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
1253
1272
  user_id: z.ZodUUID;
1254
1273
  role: z.ZodEnum<{
@@ -1258,6 +1277,11 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<{
1258
1277
  none: "none";
1259
1278
  }>;
1260
1279
  }, z.core.$strip>>>>;
1280
+ userJoinRequest: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
1281
+ id: z.ZodUUID;
1282
+ status: z.ZodString;
1283
+ created_at: z.ZodString;
1284
+ }, z.core.$strip>>>>;
1261
1285
  memberCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
1262
1286
  members: z.ZodOptional<z.ZodArray<z.ZodObject<{
1263
1287
  user_id: z.ZodUUID;
@@ -1534,6 +1558,7 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<{
1534
1558
  web_only: "web_only";
1535
1559
  api_only: "api_only";
1536
1560
  }>>>>;
1561
+ join_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
1537
1562
  userMembership: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
1538
1563
  user_id: z.ZodUUID;
1539
1564
  role: z.ZodEnum<{
@@ -1543,6 +1568,11 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<{
1543
1568
  none: "none";
1544
1569
  }>;
1545
1570
  }, z.core.$strip>>>>;
1571
+ userJoinRequest: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
1572
+ id: z.ZodUUID;
1573
+ status: z.ZodString;
1574
+ created_at: z.ZodString;
1575
+ }, z.core.$strip>>>>;
1546
1576
  memberCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
1547
1577
  members: z.ZodOptional<z.ZodArray<z.ZodObject<{
1548
1578
  user_id: z.ZodUUID;
@@ -1841,6 +1871,7 @@ declare const ListPostsSchema: z.ZodArray<z.ZodObject<{
1841
1871
  web_only: "web_only";
1842
1872
  api_only: "api_only";
1843
1873
  }>>>>;
1874
+ join_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
1844
1875
  userMembership: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
1845
1876
  user_id: z.ZodUUID;
1846
1877
  role: z.ZodEnum<{
@@ -1850,6 +1881,11 @@ declare const ListPostsSchema: z.ZodArray<z.ZodObject<{
1850
1881
  none: "none";
1851
1882
  }>;
1852
1883
  }, z.core.$strip>>>>;
1884
+ userJoinRequest: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
1885
+ id: z.ZodUUID;
1886
+ status: z.ZodString;
1887
+ created_at: z.ZodString;
1888
+ }, z.core.$strip>>>>;
1853
1889
  memberCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
1854
1890
  members: z.ZodOptional<z.ZodArray<z.ZodObject<{
1855
1891
  user_id: z.ZodUUID;