@ourofoundation/ouro-js 3.8.3 → 3.8.5

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 (193) hide show
  1. package/.github/workflows/publish.yml +63 -0
  2. package/dist/chunk-33ELNWOX.js +2 -0
  3. package/dist/chunk-33ELNWOX.js.map +1 -0
  4. package/dist/chunk-3PRQXWQP.js +2 -0
  5. package/dist/chunk-3PRQXWQP.js.map +1 -0
  6. package/dist/chunk-4276I2OP.js +2 -0
  7. package/dist/chunk-4276I2OP.js.map +1 -0
  8. package/dist/chunk-4AEKCY33.js +2 -0
  9. package/dist/chunk-4AEKCY33.js.map +1 -0
  10. package/dist/{chunk-KU5AWMS5.cjs → chunk-5PWVQ2XA.cjs} +2 -2
  11. package/dist/{chunk-KU5AWMS5.cjs.map → chunk-5PWVQ2XA.cjs.map} +1 -1
  12. package/dist/{chunk-RMMMRN4X.cjs → chunk-6DNS4QKU.cjs} +2 -2
  13. package/dist/{chunk-RMMMRN4X.cjs.map → chunk-6DNS4QKU.cjs.map} +1 -1
  14. package/dist/{chunk-AIIAIQ6L.cjs → chunk-BR3QVFVE.cjs} +2 -2
  15. package/dist/{chunk-AIIAIQ6L.cjs.map → chunk-BR3QVFVE.cjs.map} +1 -1
  16. package/dist/{chunk-OCG3P3PJ.js → chunk-BWUPF76F.js} +2 -2
  17. package/dist/{chunk-OCG3P3PJ.js.map → chunk-BWUPF76F.js.map} +1 -1
  18. package/dist/{chunk-LXDNBUOU.js → chunk-BYYDLMAE.js} +2 -2
  19. package/dist/{chunk-LXDNBUOU.js.map → chunk-BYYDLMAE.js.map} +1 -1
  20. package/dist/chunk-CZMKRHO4.cjs +2 -0
  21. package/dist/chunk-CZMKRHO4.cjs.map +1 -0
  22. package/dist/chunk-D6JWKEY5.cjs +2 -0
  23. package/dist/chunk-D6JWKEY5.cjs.map +1 -0
  24. package/dist/chunk-DA7VOYUY.js +2 -0
  25. package/dist/{chunk-FGEMQEEM.js.map → chunk-DA7VOYUY.js.map} +1 -1
  26. package/dist/chunk-F7URSDHU.cjs +2 -0
  27. package/dist/chunk-F7URSDHU.cjs.map +1 -0
  28. package/dist/chunk-HJW6XNOY.js +2 -0
  29. package/dist/chunk-HJW6XNOY.js.map +1 -0
  30. package/dist/chunk-J4GKOJZZ.cjs +2 -0
  31. package/dist/chunk-J4GKOJZZ.cjs.map +1 -0
  32. package/dist/chunk-KE53HYHH.cjs +2 -0
  33. package/dist/chunk-KE53HYHH.cjs.map +1 -0
  34. package/dist/chunk-NLU672VS.js +2 -0
  35. package/dist/chunk-NLU672VS.js.map +1 -0
  36. package/dist/chunk-O2BXIKRA.js +2 -0
  37. package/dist/chunk-O2BXIKRA.js.map +1 -0
  38. package/dist/chunk-OC34WU3H.cjs +2 -0
  39. package/dist/chunk-OC34WU3H.cjs.map +1 -0
  40. package/dist/chunk-OMO4474C.cjs +2 -0
  41. package/dist/chunk-OMO4474C.cjs.map +1 -0
  42. package/dist/chunk-PMOXYEAS.js +2 -0
  43. package/dist/{chunk-MKRXM63S.js.map → chunk-PMOXYEAS.js.map} +1 -1
  44. package/dist/chunk-QVMN2EX4.js +2 -0
  45. package/dist/chunk-QVMN2EX4.js.map +1 -0
  46. package/dist/chunk-R52RJPI3.cjs +2 -0
  47. package/dist/chunk-R52RJPI3.cjs.map +1 -0
  48. package/dist/chunk-RO6NRIGU.js +2 -0
  49. package/dist/chunk-RO6NRIGU.js.map +1 -0
  50. package/dist/chunk-SUVNXKE6.js +2 -0
  51. package/dist/chunk-SUVNXKE6.js.map +1 -0
  52. package/dist/chunk-SZW4GHCP.cjs +2 -0
  53. package/dist/chunk-SZW4GHCP.cjs.map +1 -0
  54. package/dist/chunk-UBSYUTZO.cjs +2 -0
  55. package/dist/chunk-UBSYUTZO.cjs.map +1 -0
  56. package/dist/chunk-V352KM56.cjs +2 -0
  57. package/dist/chunk-V352KM56.cjs.map +1 -0
  58. package/dist/{chunk-DSJ23DIB.cjs → chunk-V5W6FOUA.cjs} +2 -2
  59. package/dist/{chunk-DSJ23DIB.cjs.map → chunk-V5W6FOUA.cjs.map} +1 -1
  60. package/dist/chunk-WMCUQQ2Q.cjs +2 -0
  61. package/dist/chunk-WMCUQQ2Q.cjs.map +1 -0
  62. package/dist/{chunk-E2FDUS3B.cjs → chunk-X5KE2IW6.cjs} +2 -2
  63. package/dist/{chunk-E2FDUS3B.cjs.map → chunk-X5KE2IW6.cjs.map} +1 -1
  64. package/dist/chunk-XSZPAZEE.js +2 -0
  65. package/dist/{chunk-PGCNGDPK.js.map → chunk-XSZPAZEE.js.map} +1 -1
  66. package/dist/chunk-Y37HRTGF.js +2 -0
  67. package/dist/chunk-Y37HRTGF.js.map +1 -0
  68. package/dist/chunk-ZM7J5MCU.js +2 -0
  69. package/dist/chunk-ZM7J5MCU.js.map +1 -0
  70. package/dist/index.cjs +1 -1
  71. package/dist/index.d.cts +6 -5
  72. package/dist/index.d.ts +6 -5
  73. package/dist/index.js +1 -1
  74. package/dist/schema/asset-filters.d.cts +2 -2
  75. package/dist/schema/asset-filters.d.ts +2 -2
  76. package/dist/schema/assets.cjs +1 -1
  77. package/dist/schema/assets.d.cts +10 -4
  78. package/dist/schema/assets.d.ts +10 -4
  79. package/dist/schema/assets.js +1 -1
  80. package/dist/schema/comments.cjs +1 -1
  81. package/dist/schema/comments.d.cts +44 -8
  82. package/dist/schema/comments.d.ts +44 -8
  83. package/dist/schema/comments.js +1 -1
  84. package/dist/schema/conversations.cjs +1 -1
  85. package/dist/schema/conversations.d.cts +18 -6
  86. package/dist/schema/conversations.d.ts +18 -6
  87. package/dist/schema/conversations.js +1 -1
  88. package/dist/schema/datasets.cjs +1 -1
  89. package/dist/schema/datasets.d.cts +24 -16
  90. package/dist/schema/datasets.d.ts +24 -16
  91. package/dist/schema/datasets.js +1 -1
  92. package/dist/schema/files.cjs +1 -1
  93. package/dist/schema/files.d.cts +178 -11
  94. package/dist/schema/files.d.ts +178 -11
  95. package/dist/schema/files.js +1 -1
  96. package/dist/schema/notifications.cjs +1 -1
  97. package/dist/schema/notifications.d.cts +21 -1
  98. package/dist/schema/notifications.d.ts +21 -1
  99. package/dist/schema/notifications.js +1 -1
  100. package/dist/schema/organizations.cjs +1 -1
  101. package/dist/schema/organizations.d.cts +3 -1
  102. package/dist/schema/organizations.d.ts +3 -1
  103. package/dist/schema/organizations.js +1 -1
  104. package/dist/schema/posts.cjs +1 -1
  105. package/dist/schema/posts.d.cts +42 -6
  106. package/dist/schema/posts.d.ts +42 -6
  107. package/dist/schema/posts.js +1 -1
  108. package/dist/schema/quests.cjs +1 -1
  109. package/dist/schema/quests.d.cts +94 -21
  110. package/dist/schema/quests.d.ts +94 -21
  111. package/dist/schema/quests.js +1 -1
  112. package/dist/schema/renditions.cjs +2 -0
  113. package/dist/schema/renditions.cjs.map +1 -0
  114. package/dist/schema/renditions.d.cts +196 -0
  115. package/dist/schema/renditions.d.ts +196 -0
  116. package/dist/schema/renditions.js +2 -0
  117. package/dist/schema/renditions.js.map +1 -0
  118. package/dist/schema/services.cjs +1 -1
  119. package/dist/schema/services.d.cts +333 -21
  120. package/dist/schema/services.d.ts +333 -21
  121. package/dist/schema/services.js +1 -1
  122. package/dist/schema/teams.cjs +1 -1
  123. package/dist/schema/teams.d.cts +27 -2
  124. package/dist/schema/teams.d.ts +27 -2
  125. package/dist/schema/teams.js +1 -1
  126. package/dist/schema/users.cjs +1 -1
  127. package/dist/schema/users.d.cts +42 -1
  128. package/dist/schema/users.d.ts +42 -1
  129. package/dist/schema/users.js +1 -1
  130. package/dist/utils/files.cjs +1 -1
  131. package/dist/utils/files.d.cts +2 -1
  132. package/dist/utils/files.d.ts +2 -1
  133. package/dist/utils/files.js +1 -1
  134. package/dist/utils/navigate.cjs +1 -1
  135. package/dist/utils/navigate.js +1 -1
  136. package/dist/utils/quest-submission-helpers.cjs +2 -0
  137. package/dist/utils/quest-submission-helpers.cjs.map +1 -0
  138. package/dist/utils/quest-submission-helpers.d.cts +2 -0
  139. package/dist/utils/quest-submission-helpers.d.ts +2 -0
  140. package/dist/utils/quest-submission-helpers.js +2 -0
  141. package/dist/utils/quest-submission-helpers.js.map +1 -0
  142. package/dist/utils/quest-submission.cjs +1 -1
  143. package/dist/utils/quest-submission.d.cts +69 -59
  144. package/dist/utils/quest-submission.d.ts +69 -59
  145. package/dist/utils/quest-submission.js +1 -1
  146. package/package.json +1 -1
  147. package/tests/file-classification.test.mjs +19 -0
  148. package/tests/files.test.mjs +21 -1
  149. package/tests/navigate.test.mjs +53 -0
  150. package/tests/renditions.test.mjs +111 -0
  151. package/dist/chunk-3DGJ27WL.js +0 -2
  152. package/dist/chunk-3DGJ27WL.js.map +0 -1
  153. package/dist/chunk-3JPOAQ2M.cjs +0 -2
  154. package/dist/chunk-3JPOAQ2M.cjs.map +0 -1
  155. package/dist/chunk-64ZUBBP7.js +0 -2
  156. package/dist/chunk-64ZUBBP7.js.map +0 -1
  157. package/dist/chunk-ADLJ3UUW.cjs +0 -2
  158. package/dist/chunk-ADLJ3UUW.cjs.map +0 -1
  159. package/dist/chunk-CDJH4OT5.js +0 -2
  160. package/dist/chunk-CDJH4OT5.js.map +0 -1
  161. package/dist/chunk-CIEATF7M.cjs +0 -2
  162. package/dist/chunk-CIEATF7M.cjs.map +0 -1
  163. package/dist/chunk-EY4OFSDP.js +0 -2
  164. package/dist/chunk-EY4OFSDP.js.map +0 -1
  165. package/dist/chunk-FGEMQEEM.js +0 -2
  166. package/dist/chunk-KHERHT26.cjs +0 -2
  167. package/dist/chunk-KHERHT26.cjs.map +0 -1
  168. package/dist/chunk-LMRFVO4I.cjs +0 -2
  169. package/dist/chunk-LMRFVO4I.cjs.map +0 -1
  170. package/dist/chunk-MKRXM63S.js +0 -2
  171. package/dist/chunk-MOEVC3KD.cjs +0 -2
  172. package/dist/chunk-MOEVC3KD.cjs.map +0 -1
  173. package/dist/chunk-OU4JKY4M.js +0 -2
  174. package/dist/chunk-OU4JKY4M.js.map +0 -1
  175. package/dist/chunk-PGCNGDPK.js +0 -2
  176. package/dist/chunk-PVUBGWOI.cjs +0 -2
  177. package/dist/chunk-PVUBGWOI.cjs.map +0 -1
  178. package/dist/chunk-RS5H4XDK.js +0 -2
  179. package/dist/chunk-RS5H4XDK.js.map +0 -1
  180. package/dist/chunk-W6KXPYCB.js +0 -2
  181. package/dist/chunk-W6KXPYCB.js.map +0 -1
  182. package/dist/chunk-XEA4DDOE.cjs +0 -2
  183. package/dist/chunk-XEA4DDOE.cjs.map +0 -1
  184. package/dist/chunk-XL2RQ3DZ.cjs +0 -2
  185. package/dist/chunk-XL2RQ3DZ.cjs.map +0 -1
  186. package/dist/chunk-XXFKHRNE.js +0 -2
  187. package/dist/chunk-XXFKHRNE.js.map +0 -1
  188. package/dist/chunk-Y6BK75KP.js +0 -2
  189. package/dist/chunk-Y6BK75KP.js.map +0 -1
  190. package/dist/chunk-YTCAK2AH.cjs +0 -2
  191. package/dist/chunk-YTCAK2AH.cjs.map +0 -1
  192. package/dist/chunk-ZFARY5F4.js +0 -2
  193. package/dist/chunk-ZFARY5F4.js.map +0 -1
@@ -126,6 +126,7 @@ declare const CommentSchema: z.ZodObject<{
126
126
  web_only: "web_only";
127
127
  api_only: "api_only";
128
128
  }>>>>;
129
+ join_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
129
130
  userMembership: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
130
131
  user_id: z.ZodUUID;
131
132
  role: z.ZodEnum<{
@@ -135,6 +136,11 @@ declare const CommentSchema: z.ZodObject<{
135
136
  none: "none";
136
137
  }>;
137
138
  }, z.core.$strip>>>>;
139
+ userJoinRequest: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
140
+ id: z.ZodUUID;
141
+ status: z.ZodString;
142
+ created_at: z.ZodString;
143
+ }, z.core.$strip>>>>;
138
144
  memberCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
139
145
  members: z.ZodOptional<z.ZodArray<z.ZodObject<{
140
146
  user_id: z.ZodUUID;
@@ -260,7 +266,7 @@ declare const CommentSchema: z.ZodObject<{
260
266
  last_updated: z.ZodString;
261
267
  asset_type: z.ZodDefault<z.ZodLiteral<"comment">>;
262
268
  preview: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodObject<{
263
- type: z.ZodString;
269
+ type: z.ZodString & z.ZodType<"doc", string, z.core.$ZodTypeInternals<"doc", string>>;
264
270
  content: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>;
265
271
  }, z.core.$strip>>>>;
266
272
  }, z.core.$strip>;
@@ -386,6 +392,7 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
386
392
  web_only: "web_only";
387
393
  api_only: "api_only";
388
394
  }>>>>;
395
+ join_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
389
396
  userMembership: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
390
397
  user_id: z.ZodUUID;
391
398
  role: z.ZodEnum<{
@@ -395,6 +402,11 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
395
402
  none: "none";
396
403
  }>;
397
404
  }, z.core.$strip>>>>;
405
+ userJoinRequest: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
406
+ id: z.ZodUUID;
407
+ status: z.ZodString;
408
+ created_at: z.ZodString;
409
+ }, z.core.$strip>>>>;
398
410
  memberCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
399
411
  members: z.ZodOptional<z.ZodArray<z.ZodObject<{
400
412
  user_id: z.ZodUUID;
@@ -435,7 +447,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
435
447
  created_at: z.ZodOptional<z.ZodString>;
436
448
  }, z.core.$strip>>>;
437
449
  org_id: z.ZodOptional<z.ZodUUID>;
438
- parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
439
450
  metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
440
451
  source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
441
452
  reply_to_comment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -469,6 +480,7 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
469
480
  error: "error";
470
481
  }>>;
471
482
  parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
483
+ parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
472
484
  license_id: z.ZodOptional<z.ZodString>;
473
485
  license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
474
486
  name_url_slug: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -488,7 +500,7 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
488
500
  stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
489
501
  stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
490
502
  preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodObject<{
491
- type: z.ZodString;
503
+ type: z.ZodString & z.ZodType<"doc", string, z.core.$ZodTypeInternals<"doc", string>>;
492
504
  content: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>;
493
505
  }, z.core.$strip>>>>>;
494
506
  is_pinned_in_team: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
@@ -656,10 +668,16 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
656
668
  visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
657
669
  actor_type_policy?: "any" | "verified_only" | "agents_only" | null | undefined;
658
670
  source_policy?: "any" | "web_only" | "api_only" | null | undefined;
671
+ join_policy?: string | undefined;
659
672
  userMembership?: {
660
673
  user_id: string;
661
674
  role: "admin" | "read" | "write" | "none";
662
675
  } | null | undefined;
676
+ userJoinRequest?: {
677
+ id: string;
678
+ status: string;
679
+ created_at: string;
680
+ } | null | undefined;
663
681
  memberCount?: number | null | undefined;
664
682
  members?: {
665
683
  user_id: string;
@@ -688,7 +706,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
688
706
  created_at?: string | undefined;
689
707
  } | undefined;
690
708
  org_id?: string | undefined;
691
- parent?: Record<string, any> | undefined;
692
709
  metadata?: {
693
710
  source?: string | null | undefined;
694
711
  reply_to_comment_id?: string | null | undefined;
@@ -703,6 +720,7 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
703
720
  monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
704
721
  state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
705
722
  parent_id?: string | null | undefined;
723
+ parent?: Record<string, any> | undefined;
706
724
  license_id?: string | undefined;
707
725
  license?: Record<string, any> | undefined;
708
726
  name_url_slug?: string | null | undefined;
@@ -716,7 +734,7 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
716
734
  stripe_price_id?: string | null | undefined;
717
735
  stripe_meter_id?: string | null | undefined;
718
736
  preview?: {
719
- type: string;
737
+ type: "doc";
720
738
  content: Record<string, any>[];
721
739
  } | null | undefined;
722
740
  is_pinned_in_team?: boolean | undefined;
@@ -814,10 +832,16 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
814
832
  visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
815
833
  actor_type_policy?: "any" | "verified_only" | "agents_only" | null | undefined;
816
834
  source_policy?: "any" | "web_only" | "api_only" | null | undefined;
835
+ join_policy?: string | undefined;
817
836
  userMembership?: {
818
837
  user_id: string;
819
838
  role: "admin" | "read" | "write" | "none";
820
839
  } | null | undefined;
840
+ userJoinRequest?: {
841
+ id: string;
842
+ status: string;
843
+ created_at: string;
844
+ } | null | undefined;
821
845
  memberCount?: number | null | undefined;
822
846
  members?: {
823
847
  user_id: string;
@@ -846,7 +870,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
846
870
  created_at?: string | undefined;
847
871
  } | undefined;
848
872
  org_id?: string | undefined;
849
- parent?: Record<string, any> | undefined;
850
873
  metadata?: {
851
874
  source?: string | null | undefined;
852
875
  reply_to_comment_id?: string | null | undefined;
@@ -861,6 +884,7 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
861
884
  monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
862
885
  state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
863
886
  parent_id?: string | null | undefined;
887
+ parent?: Record<string, any> | undefined;
864
888
  license_id?: string | undefined;
865
889
  license?: Record<string, any> | undefined;
866
890
  name_url_slug?: string | null | undefined;
@@ -874,7 +898,7 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
874
898
  stripe_price_id?: string | null | undefined;
875
899
  stripe_meter_id?: string | null | undefined;
876
900
  preview?: {
877
- type: string;
901
+ type: "doc";
878
902
  content: Record<string, any>[];
879
903
  } | null | undefined;
880
904
  is_pinned_in_team?: boolean | undefined;
@@ -1013,6 +1037,7 @@ declare const ReadCommentSchema: z.ZodObject<{
1013
1037
  web_only: "web_only";
1014
1038
  api_only: "api_only";
1015
1039
  }>>>>;
1040
+ join_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
1016
1041
  userMembership: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
1017
1042
  user_id: z.ZodUUID;
1018
1043
  role: z.ZodEnum<{
@@ -1022,6 +1047,11 @@ declare const ReadCommentSchema: z.ZodObject<{
1022
1047
  none: "none";
1023
1048
  }>;
1024
1049
  }, z.core.$strip>>>>;
1050
+ userJoinRequest: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
1051
+ id: z.ZodUUID;
1052
+ status: z.ZodString;
1053
+ created_at: z.ZodString;
1054
+ }, z.core.$strip>>>>;
1025
1055
  memberCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
1026
1056
  members: z.ZodOptional<z.ZodArray<z.ZodObject<{
1027
1057
  user_id: z.ZodUUID;
@@ -1147,7 +1177,7 @@ declare const ReadCommentSchema: z.ZodObject<{
1147
1177
  last_updated: z.ZodString;
1148
1178
  asset_type: z.ZodDefault<z.ZodLiteral<"comment">>;
1149
1179
  preview: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodObject<{
1150
- type: z.ZodString;
1180
+ type: z.ZodString & z.ZodType<"doc", string, z.core.$ZodTypeInternals<"doc", string>>;
1151
1181
  content: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>;
1152
1182
  }, z.core.$strip>>>>;
1153
1183
  content: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodObject<{
@@ -1283,6 +1313,7 @@ declare const ReadCommentSchema: z.ZodObject<{
1283
1313
  web_only: "web_only";
1284
1314
  api_only: "api_only";
1285
1315
  }>>>>;
1316
+ join_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
1286
1317
  userMembership: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
1287
1318
  user_id: z.ZodUUID;
1288
1319
  role: z.ZodEnum<{
@@ -1292,6 +1323,11 @@ declare const ReadCommentSchema: z.ZodObject<{
1292
1323
  none: "none";
1293
1324
  }>;
1294
1325
  }, z.core.$strip>>>>;
1326
+ userJoinRequest: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
1327
+ id: z.ZodUUID;
1328
+ status: z.ZodString;
1329
+ created_at: z.ZodString;
1330
+ }, z.core.$strip>>>>;
1295
1331
  memberCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
1296
1332
  members: z.ZodOptional<z.ZodArray<z.ZodObject<{
1297
1333
  user_id: z.ZodUUID;
@@ -126,6 +126,7 @@ declare const CommentSchema: z.ZodObject<{
126
126
  web_only: "web_only";
127
127
  api_only: "api_only";
128
128
  }>>>>;
129
+ join_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
129
130
  userMembership: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
130
131
  user_id: z.ZodUUID;
131
132
  role: z.ZodEnum<{
@@ -135,6 +136,11 @@ declare const CommentSchema: z.ZodObject<{
135
136
  none: "none";
136
137
  }>;
137
138
  }, z.core.$strip>>>>;
139
+ userJoinRequest: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
140
+ id: z.ZodUUID;
141
+ status: z.ZodString;
142
+ created_at: z.ZodString;
143
+ }, z.core.$strip>>>>;
138
144
  memberCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
139
145
  members: z.ZodOptional<z.ZodArray<z.ZodObject<{
140
146
  user_id: z.ZodUUID;
@@ -260,7 +266,7 @@ declare const CommentSchema: z.ZodObject<{
260
266
  last_updated: z.ZodString;
261
267
  asset_type: z.ZodDefault<z.ZodLiteral<"comment">>;
262
268
  preview: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodObject<{
263
- type: z.ZodString;
269
+ type: z.ZodString & z.ZodType<"doc", string, z.core.$ZodTypeInternals<"doc", string>>;
264
270
  content: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>;
265
271
  }, z.core.$strip>>>>;
266
272
  }, z.core.$strip>;
@@ -386,6 +392,7 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
386
392
  web_only: "web_only";
387
393
  api_only: "api_only";
388
394
  }>>>>;
395
+ join_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
389
396
  userMembership: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
390
397
  user_id: z.ZodUUID;
391
398
  role: z.ZodEnum<{
@@ -395,6 +402,11 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
395
402
  none: "none";
396
403
  }>;
397
404
  }, z.core.$strip>>>>;
405
+ userJoinRequest: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
406
+ id: z.ZodUUID;
407
+ status: z.ZodString;
408
+ created_at: z.ZodString;
409
+ }, z.core.$strip>>>>;
398
410
  memberCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
399
411
  members: z.ZodOptional<z.ZodArray<z.ZodObject<{
400
412
  user_id: z.ZodUUID;
@@ -435,7 +447,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
435
447
  created_at: z.ZodOptional<z.ZodString>;
436
448
  }, z.core.$strip>>>;
437
449
  org_id: z.ZodOptional<z.ZodUUID>;
438
- parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
439
450
  metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
440
451
  source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
441
452
  reply_to_comment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -469,6 +480,7 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
469
480
  error: "error";
470
481
  }>>;
471
482
  parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
483
+ parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
472
484
  license_id: z.ZodOptional<z.ZodString>;
473
485
  license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
474
486
  name_url_slug: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -488,7 +500,7 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
488
500
  stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
489
501
  stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
490
502
  preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodObject<{
491
- type: z.ZodString;
503
+ type: z.ZodString & z.ZodType<"doc", string, z.core.$ZodTypeInternals<"doc", string>>;
492
504
  content: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>;
493
505
  }, z.core.$strip>>>>>;
494
506
  is_pinned_in_team: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
@@ -656,10 +668,16 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
656
668
  visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
657
669
  actor_type_policy?: "any" | "verified_only" | "agents_only" | null | undefined;
658
670
  source_policy?: "any" | "web_only" | "api_only" | null | undefined;
671
+ join_policy?: string | undefined;
659
672
  userMembership?: {
660
673
  user_id: string;
661
674
  role: "admin" | "read" | "write" | "none";
662
675
  } | null | undefined;
676
+ userJoinRequest?: {
677
+ id: string;
678
+ status: string;
679
+ created_at: string;
680
+ } | null | undefined;
663
681
  memberCount?: number | null | undefined;
664
682
  members?: {
665
683
  user_id: string;
@@ -688,7 +706,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
688
706
  created_at?: string | undefined;
689
707
  } | undefined;
690
708
  org_id?: string | undefined;
691
- parent?: Record<string, any> | undefined;
692
709
  metadata?: {
693
710
  source?: string | null | undefined;
694
711
  reply_to_comment_id?: string | null | undefined;
@@ -703,6 +720,7 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
703
720
  monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
704
721
  state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
705
722
  parent_id?: string | null | undefined;
723
+ parent?: Record<string, any> | undefined;
706
724
  license_id?: string | undefined;
707
725
  license?: Record<string, any> | undefined;
708
726
  name_url_slug?: string | null | undefined;
@@ -716,7 +734,7 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
716
734
  stripe_price_id?: string | null | undefined;
717
735
  stripe_meter_id?: string | null | undefined;
718
736
  preview?: {
719
- type: string;
737
+ type: "doc";
720
738
  content: Record<string, any>[];
721
739
  } | null | undefined;
722
740
  is_pinned_in_team?: boolean | undefined;
@@ -814,10 +832,16 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
814
832
  visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
815
833
  actor_type_policy?: "any" | "verified_only" | "agents_only" | null | undefined;
816
834
  source_policy?: "any" | "web_only" | "api_only" | null | undefined;
835
+ join_policy?: string | undefined;
817
836
  userMembership?: {
818
837
  user_id: string;
819
838
  role: "admin" | "read" | "write" | "none";
820
839
  } | null | undefined;
840
+ userJoinRequest?: {
841
+ id: string;
842
+ status: string;
843
+ created_at: string;
844
+ } | null | undefined;
821
845
  memberCount?: number | null | undefined;
822
846
  members?: {
823
847
  user_id: string;
@@ -846,7 +870,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
846
870
  created_at?: string | undefined;
847
871
  } | undefined;
848
872
  org_id?: string | undefined;
849
- parent?: Record<string, any> | undefined;
850
873
  metadata?: {
851
874
  source?: string | null | undefined;
852
875
  reply_to_comment_id?: string | null | undefined;
@@ -861,6 +884,7 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
861
884
  monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
862
885
  state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
863
886
  parent_id?: string | null | undefined;
887
+ parent?: Record<string, any> | undefined;
864
888
  license_id?: string | undefined;
865
889
  license?: Record<string, any> | undefined;
866
890
  name_url_slug?: string | null | undefined;
@@ -874,7 +898,7 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
874
898
  stripe_price_id?: string | null | undefined;
875
899
  stripe_meter_id?: string | null | undefined;
876
900
  preview?: {
877
- type: string;
901
+ type: "doc";
878
902
  content: Record<string, any>[];
879
903
  } | null | undefined;
880
904
  is_pinned_in_team?: boolean | undefined;
@@ -1013,6 +1037,7 @@ declare const ReadCommentSchema: z.ZodObject<{
1013
1037
  web_only: "web_only";
1014
1038
  api_only: "api_only";
1015
1039
  }>>>>;
1040
+ join_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
1016
1041
  userMembership: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
1017
1042
  user_id: z.ZodUUID;
1018
1043
  role: z.ZodEnum<{
@@ -1022,6 +1047,11 @@ declare const ReadCommentSchema: z.ZodObject<{
1022
1047
  none: "none";
1023
1048
  }>;
1024
1049
  }, z.core.$strip>>>>;
1050
+ userJoinRequest: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
1051
+ id: z.ZodUUID;
1052
+ status: z.ZodString;
1053
+ created_at: z.ZodString;
1054
+ }, z.core.$strip>>>>;
1025
1055
  memberCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
1026
1056
  members: z.ZodOptional<z.ZodArray<z.ZodObject<{
1027
1057
  user_id: z.ZodUUID;
@@ -1147,7 +1177,7 @@ declare const ReadCommentSchema: z.ZodObject<{
1147
1177
  last_updated: z.ZodString;
1148
1178
  asset_type: z.ZodDefault<z.ZodLiteral<"comment">>;
1149
1179
  preview: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodObject<{
1150
- type: z.ZodString;
1180
+ type: z.ZodString & z.ZodType<"doc", string, z.core.$ZodTypeInternals<"doc", string>>;
1151
1181
  content: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>;
1152
1182
  }, z.core.$strip>>>>;
1153
1183
  content: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodObject<{
@@ -1283,6 +1313,7 @@ declare const ReadCommentSchema: z.ZodObject<{
1283
1313
  web_only: "web_only";
1284
1314
  api_only: "api_only";
1285
1315
  }>>>>;
1316
+ join_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
1286
1317
  userMembership: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
1287
1318
  user_id: z.ZodUUID;
1288
1319
  role: z.ZodEnum<{
@@ -1292,6 +1323,11 @@ declare const ReadCommentSchema: z.ZodObject<{
1292
1323
  none: "none";
1293
1324
  }>;
1294
1325
  }, z.core.$strip>>>>;
1326
+ userJoinRequest: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
1327
+ id: z.ZodUUID;
1328
+ status: z.ZodString;
1329
+ created_at: z.ZodString;
1330
+ }, z.core.$strip>>>>;
1295
1331
  memberCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
1296
1332
  members: z.ZodOptional<z.ZodArray<z.ZodObject<{
1297
1333
  user_id: z.ZodUUID;
@@ -1,2 +1,2 @@
1
- export{c as CommentRepliesAggregateSchema,a as CommentSchema,b as CreateCommentSchema,d as ReadCommentSchema}from'../chunk-MKRXM63S.js';import'../chunk-WE6CXCEQ.js';import'../chunk-LXDNBUOU.js';import'../chunk-PGCNGDPK.js';import'../chunk-Y6BK75KP.js';import'../chunk-OCG3P3PJ.js';import'../chunk-CDJH4OT5.js';import'../chunk-33C7IDRP.js';import'../chunk-DUBPWSCA.js';import'../chunk-42ADEGDM.js';//# sourceMappingURL=comments.js.map
1
+ export{c as CommentRepliesAggregateSchema,a as CommentSchema,b as CreateCommentSchema,d as ReadCommentSchema}from'../chunk-PMOXYEAS.js';import'../chunk-WE6CXCEQ.js';import'../chunk-BYYDLMAE.js';import'../chunk-XSZPAZEE.js';import'../chunk-ZM7J5MCU.js';import'../chunk-BWUPF76F.js';import'../chunk-NLU672VS.js';import'../chunk-33C7IDRP.js';import'../chunk-DUBPWSCA.js';import'../chunk-42ADEGDM.js';//# sourceMappingURL=comments.js.map
2
2
  //# sourceMappingURL=comments.js.map
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkAIIAIQ6L_cjs=require('../chunk-AIIAIQ6L.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,"ConversationSchema",{enumerable:true,get:function(){return chunkAIIAIQ6L_cjs.a}});Object.defineProperty(exports,"CreateConversationSchema",{enumerable:true,get:function(){return chunkAIIAIQ6L_cjs.b}});Object.defineProperty(exports,"MessageReactionSchema",{enumerable:true,get:function(){return chunkAIIAIQ6L_cjs.e}});Object.defineProperty(exports,"MessageReactionValueSchema",{enumerable:true,get:function(){return chunkAIIAIQ6L_cjs.d}});Object.defineProperty(exports,"MessageSchema",{enumerable:true,get:function(){return chunkAIIAIQ6L_cjs.f}});Object.defineProperty(exports,"UpdateConversationSchema",{enumerable:true,get:function(){return chunkAIIAIQ6L_cjs.c}});//# sourceMappingURL=conversations.cjs.map
1
+ 'use strict';var chunkBR3QVFVE_cjs=require('../chunk-BR3QVFVE.cjs');require('../chunk-V5W6FOUA.cjs'),require('../chunk-6DNS4QKU.cjs'),require('../chunk-R52RJPI3.cjs'),require('../chunk-5PWVQ2XA.cjs'),require('../chunk-WMCUQQ2Q.cjs'),require('../chunk-YFEGRZXL.cjs'),require('../chunk-7HF5VHUN.cjs'),require('../chunk-JRBBNFFI.cjs');Object.defineProperty(exports,"ConversationSchema",{enumerable:true,get:function(){return chunkBR3QVFVE_cjs.a}});Object.defineProperty(exports,"CreateConversationSchema",{enumerable:true,get:function(){return chunkBR3QVFVE_cjs.b}});Object.defineProperty(exports,"MessageReactionSchema",{enumerable:true,get:function(){return chunkBR3QVFVE_cjs.e}});Object.defineProperty(exports,"MessageReactionValueSchema",{enumerable:true,get:function(){return chunkBR3QVFVE_cjs.d}});Object.defineProperty(exports,"MessageSchema",{enumerable:true,get:function(){return chunkBR3QVFVE_cjs.f}});Object.defineProperty(exports,"UpdateConversationSchema",{enumerable:true,get:function(){return chunkBR3QVFVE_cjs.c}});//# sourceMappingURL=conversations.cjs.map
2
2
  //# sourceMappingURL=conversations.cjs.map
@@ -126,6 +126,7 @@ declare const ConversationSchema: z.ZodObject<{
126
126
  web_only: "web_only";
127
127
  api_only: "api_only";
128
128
  }>>>>;
129
+ join_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
129
130
  userMembership: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
130
131
  user_id: z.ZodUUID;
131
132
  role: z.ZodEnum<{
@@ -135,6 +136,11 @@ declare const ConversationSchema: z.ZodObject<{
135
136
  none: "none";
136
137
  }>;
137
138
  }, z.core.$strip>>>>;
139
+ userJoinRequest: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
140
+ id: z.ZodUUID;
141
+ status: z.ZodString;
142
+ created_at: z.ZodString;
143
+ }, z.core.$strip>>>>;
138
144
  memberCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
139
145
  members: z.ZodOptional<z.ZodArray<z.ZodObject<{
140
146
  user_id: z.ZodUUID;
@@ -301,12 +307,12 @@ declare const ConversationSchema: z.ZodObject<{
301
307
  }, z.core.$strip>>>>;
302
308
  }, z.core.$strip>;
303
309
  declare const CreateConversationSchema: z.ZodPipe<z.ZodObject<{
304
- parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
305
310
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
306
311
  json: z.ZodRecord<z.ZodString, z.ZodAny>;
307
312
  text: z.ZodString;
308
313
  }, z.core.$strip>>>>;
309
314
  parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
315
+ parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
310
316
  license_id: z.ZodOptional<z.ZodString>;
311
317
  price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
312
318
  unit_cost: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
@@ -460,12 +466,12 @@ declare const CreateConversationSchema: z.ZodPipe<z.ZodObject<{
460
466
  source?: string | null | undefined;
461
467
  reply_to_comment_id?: string | null | undefined;
462
468
  };
463
- parent?: Record<string, any> | undefined;
464
469
  description?: {
465
470
  json: Record<string, any>;
466
471
  text: string;
467
472
  } | null | undefined;
468
473
  parent_id?: string | null | undefined;
474
+ parent?: Record<string, any> | undefined;
469
475
  license_id?: string | undefined;
470
476
  price?: number | null | undefined;
471
477
  unit_cost?: number | null | undefined;
@@ -513,12 +519,12 @@ declare const CreateConversationSchema: z.ZodPipe<z.ZodObject<{
513
519
  source?: string | null | undefined;
514
520
  reply_to_comment_id?: string | null | undefined;
515
521
  };
516
- parent?: Record<string, any> | undefined;
517
522
  description?: {
518
523
  json: Record<string, any>;
519
524
  text: string;
520
525
  } | null | undefined;
521
526
  parent_id?: string | null | undefined;
527
+ parent?: Record<string, any> | undefined;
522
528
  license_id?: string | undefined;
523
529
  price?: number | null | undefined;
524
530
  unit_cost?: number | null | undefined;
@@ -533,7 +539,6 @@ declare const CreateConversationSchema: z.ZodPipe<z.ZodObject<{
533
539
  }>>;
534
540
  declare const UpdateConversationSchema: z.ZodPipe<z.ZodObject<{
535
541
  asset_type: z.ZodOptional<z.ZodDefault<z.ZodLiteral<"conversation">>>;
536
- parent: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
537
542
  metadata: z.ZodOptional<z.ZodObject<{
538
543
  members: z.ZodArray<z.ZodString>;
539
544
  source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -635,6 +640,7 @@ declare const UpdateConversationSchema: z.ZodPipe<z.ZodObject<{
635
640
  error: "error";
636
641
  }>>>>;
637
642
  parent_id: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>>;
643
+ parent: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
638
644
  license_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
639
645
  name_url_slug: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
640
646
  price: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>>;
@@ -654,7 +660,6 @@ declare const UpdateConversationSchema: z.ZodPipe<z.ZodObject<{
654
660
  preview: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>>>;
655
661
  }, z.core.$strip>, z.ZodTransform<{
656
662
  asset_type?: "conversation" | undefined;
657
- parent?: Record<string, any> | undefined;
658
663
  metadata?: {
659
664
  members: string[];
660
665
  source?: string | null | undefined;
@@ -691,6 +696,7 @@ declare const UpdateConversationSchema: z.ZodPipe<z.ZodObject<{
691
696
  } | undefined;
692
697
  state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
693
698
  parent_id?: string | null | undefined;
699
+ parent?: Record<string, any> | undefined;
694
700
  license_id?: string | undefined;
695
701
  name_url_slug?: string | null | undefined;
696
702
  price?: number | null | undefined;
@@ -704,7 +710,6 @@ declare const UpdateConversationSchema: z.ZodPipe<z.ZodObject<{
704
710
  preview?: Record<string, any>[] | null | undefined;
705
711
  }, {
706
712
  asset_type?: "conversation" | undefined;
707
- parent?: Record<string, any> | undefined;
708
713
  metadata?: {
709
714
  members: string[];
710
715
  source?: string | null | undefined;
@@ -741,6 +746,7 @@ declare const UpdateConversationSchema: z.ZodPipe<z.ZodObject<{
741
746
  } | undefined;
742
747
  state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
743
748
  parent_id?: string | null | undefined;
749
+ parent?: Record<string, any> | undefined;
744
750
  license_id?: string | undefined;
745
751
  name_url_slug?: string | null | undefined;
746
752
  price?: number | null | undefined;
@@ -938,6 +944,7 @@ declare const MessageSchema: z.ZodObject<{
938
944
  web_only: "web_only";
939
945
  api_only: "api_only";
940
946
  }>>>>;
947
+ join_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
941
948
  userMembership: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
942
949
  user_id: z.ZodUUID;
943
950
  role: z.ZodEnum<{
@@ -947,6 +954,11 @@ declare const MessageSchema: z.ZodObject<{
947
954
  none: "none";
948
955
  }>;
949
956
  }, z.core.$strip>>>>;
957
+ userJoinRequest: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
958
+ id: z.ZodUUID;
959
+ status: z.ZodString;
960
+ created_at: z.ZodString;
961
+ }, z.core.$strip>>>>;
950
962
  memberCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
951
963
  members: z.ZodOptional<z.ZodArray<z.ZodObject<{
952
964
  user_id: z.ZodUUID;