@ourofoundation/ouro-js 3.0.5 → 3.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (220) hide show
  1. package/dist/chunk-2JCUJKLB.js +3 -0
  2. package/dist/chunk-2JCUJKLB.js.map +1 -0
  3. package/dist/chunk-3N56ERWF.js +2 -0
  4. package/dist/chunk-3N56ERWF.js.map +1 -0
  5. package/dist/{chunk-FPRFE54S.cjs → chunk-4KUHOXA5.cjs} +2 -2
  6. package/dist/{chunk-FPRFE54S.cjs.map → chunk-4KUHOXA5.cjs.map} +1 -1
  7. package/dist/chunk-4VEWTZNL.js +2 -0
  8. package/dist/chunk-4VEWTZNL.js.map +1 -0
  9. package/dist/chunk-6DQ5ZEGV.js +2 -0
  10. package/dist/chunk-6DQ5ZEGV.js.map +1 -0
  11. package/dist/chunk-6RGIIOOP.js +2 -0
  12. package/dist/chunk-6RGIIOOP.js.map +1 -0
  13. package/dist/chunk-7BEEJS6W.js +2 -0
  14. package/dist/chunk-7BEEJS6W.js.map +1 -0
  15. package/dist/chunk-7HF5VHUN.cjs +2 -0
  16. package/dist/chunk-7HF5VHUN.cjs.map +1 -0
  17. package/dist/chunk-ACWMAF3H.cjs +2 -0
  18. package/dist/chunk-ACWMAF3H.cjs.map +1 -0
  19. package/dist/chunk-AKXQDI77.cjs +2 -0
  20. package/dist/chunk-AKXQDI77.cjs.map +1 -0
  21. package/dist/chunk-ALQBCU4T.js +2 -0
  22. package/dist/chunk-ALQBCU4T.js.map +1 -0
  23. package/dist/chunk-B7NJYI4N.cjs +2 -0
  24. package/dist/{chunk-IIKZ5DYT.cjs.map → chunk-B7NJYI4N.cjs.map} +1 -1
  25. package/dist/chunk-BUSTKLOI.cjs +2 -0
  26. package/dist/chunk-BUSTKLOI.cjs.map +1 -0
  27. package/dist/chunk-BXNIUQ5W.js +2 -0
  28. package/dist/chunk-BXNIUQ5W.js.map +1 -0
  29. package/dist/chunk-CBWCC3NJ.js +2 -0
  30. package/dist/chunk-CBWCC3NJ.js.map +1 -0
  31. package/dist/chunk-DHQJ2FCF.cjs +2 -0
  32. package/dist/chunk-DHQJ2FCF.cjs.map +1 -0
  33. package/dist/chunk-DUBPWSCA.js +2 -0
  34. package/dist/chunk-DUBPWSCA.js.map +1 -0
  35. package/dist/chunk-FJZO6R7B.cjs +2 -0
  36. package/dist/chunk-FJZO6R7B.cjs.map +1 -0
  37. package/dist/{chunk-NUGG4SK2.js → chunk-FS5P754F.js} +2 -2
  38. package/dist/{chunk-NUGG4SK2.js.map → chunk-FS5P754F.js.map} +1 -1
  39. package/dist/chunk-GY6SLMMJ.cjs +2 -0
  40. package/dist/chunk-GY6SLMMJ.cjs.map +1 -0
  41. package/dist/chunk-K2JZZ624.cjs +2 -0
  42. package/dist/chunk-K2JZZ624.cjs.map +1 -0
  43. package/dist/chunk-KYQSTVIK.js +2 -0
  44. package/dist/chunk-KYQSTVIK.js.map +1 -0
  45. package/dist/chunk-LUAQEXTM.cjs +2 -0
  46. package/dist/chunk-LUAQEXTM.cjs.map +1 -0
  47. package/dist/chunk-MAHNRYUV.cjs +2 -0
  48. package/dist/chunk-MAHNRYUV.cjs.map +1 -0
  49. package/dist/chunk-OGPYSKWY.cjs +2 -0
  50. package/dist/chunk-OGPYSKWY.cjs.map +1 -0
  51. package/dist/chunk-Q5SQSLM7.cjs +2 -0
  52. package/dist/chunk-Q5SQSLM7.cjs.map +1 -0
  53. package/dist/chunk-S5TPBKS6.js +2 -0
  54. package/dist/{chunk-T3J5Y445.js.map → chunk-S5TPBKS6.js.map} +1 -1
  55. package/dist/chunk-T2FZOXMU.cjs +2 -0
  56. package/dist/chunk-T2FZOXMU.cjs.map +1 -0
  57. package/dist/chunk-T3XKETDR.cjs +3 -0
  58. package/dist/chunk-T3XKETDR.cjs.map +1 -0
  59. package/dist/chunk-T4BUMCXS.cjs +2 -0
  60. package/dist/chunk-T4BUMCXS.cjs.map +1 -0
  61. package/dist/chunk-TYOBHRLP.cjs +2 -0
  62. package/dist/chunk-TYOBHRLP.cjs.map +1 -0
  63. package/dist/chunk-UIPFVGSN.js +2 -0
  64. package/dist/chunk-UIPFVGSN.js.map +1 -0
  65. package/dist/chunk-UWVZZARS.js +2 -0
  66. package/dist/chunk-UWVZZARS.js.map +1 -0
  67. package/dist/chunk-VF2UIROP.cjs +2 -0
  68. package/dist/chunk-VF2UIROP.cjs.map +1 -0
  69. package/dist/chunk-WE6CXCEQ.js +2 -0
  70. package/dist/chunk-WE6CXCEQ.js.map +1 -0
  71. package/dist/chunk-XQE5MFWC.js +2 -0
  72. package/dist/chunk-XQE5MFWC.js.map +1 -0
  73. package/dist/chunk-Z44HJZBF.js +2 -0
  74. package/dist/chunk-Z44HJZBF.js.map +1 -0
  75. package/dist/chunk-ZE2OBRXV.js +2 -0
  76. package/dist/chunk-ZE2OBRXV.js.map +1 -0
  77. package/dist/index.cjs +1 -1
  78. package/dist/index.d.cts +3 -3
  79. package/dist/index.d.ts +3 -3
  80. package/dist/index.js +1 -1
  81. package/dist/schema/assets.cjs +1 -1
  82. package/dist/schema/assets.d.cts +154 -26
  83. package/dist/schema/assets.d.ts +154 -26
  84. package/dist/schema/assets.js +1 -1
  85. package/dist/schema/blueprints.cjs +1 -1
  86. package/dist/schema/blueprints.d.cts +419 -33
  87. package/dist/schema/blueprints.d.ts +419 -33
  88. package/dist/schema/blueprints.js +1 -1
  89. package/dist/schema/comments.cjs +1 -1
  90. package/dist/schema/comments.d.cts +396 -28
  91. package/dist/schema/comments.d.ts +396 -28
  92. package/dist/schema/comments.js +1 -1
  93. package/dist/schema/common.cjs +1 -1
  94. package/dist/schema/common.d.cts +12 -12
  95. package/dist/schema/common.d.ts +12 -12
  96. package/dist/schema/common.js +1 -1
  97. package/dist/schema/constants.cjs +2 -0
  98. package/dist/schema/constants.cjs.map +1 -0
  99. package/dist/schema/constants.d.cts +5 -0
  100. package/dist/schema/constants.d.ts +5 -0
  101. package/dist/schema/constants.js +2 -0
  102. package/dist/schema/constants.js.map +1 -0
  103. package/dist/schema/conversations.cjs +1 -1
  104. package/dist/schema/conversations.d.cts +242 -33
  105. package/dist/schema/conversations.d.ts +242 -33
  106. package/dist/schema/conversations.js +1 -1
  107. package/dist/schema/datasets.cjs +1 -1
  108. package/dist/schema/datasets.d.cts +357 -37
  109. package/dist/schema/datasets.d.ts +357 -37
  110. package/dist/schema/datasets.js +1 -1
  111. package/dist/schema/files.cjs +1 -1
  112. package/dist/schema/files.d.cts +345 -33
  113. package/dist/schema/files.d.ts +345 -33
  114. package/dist/schema/files.js +1 -1
  115. package/dist/schema/notifications.cjs +1 -1
  116. package/dist/schema/notifications.js +1 -1
  117. package/dist/schema/organizations.cjs +1 -1
  118. package/dist/schema/organizations.d.cts +32 -3
  119. package/dist/schema/organizations.d.ts +32 -3
  120. package/dist/schema/organizations.js +1 -1
  121. package/dist/schema/posts.cjs +1 -1
  122. package/dist/schema/posts.d.cts +413 -69
  123. package/dist/schema/posts.d.ts +413 -69
  124. package/dist/schema/posts.js +1 -1
  125. package/dist/schema/reactions.cjs +1 -1
  126. package/dist/schema/reactions.d.cts +3 -3
  127. package/dist/schema/reactions.d.ts +3 -3
  128. package/dist/schema/reactions.js +1 -1
  129. package/dist/schema/replications.cjs +1 -1
  130. package/dist/schema/replications.d.cts +421 -33
  131. package/dist/schema/replications.d.ts +421 -33
  132. package/dist/schema/replications.js +1 -1
  133. package/dist/schema/services.cjs +1 -1
  134. package/dist/schema/services.d.cts +435 -75
  135. package/dist/schema/services.d.ts +435 -75
  136. package/dist/schema/services.js +1 -1
  137. package/dist/schema/teams.cjs +1 -1
  138. package/dist/schema/teams.d.cts +147 -28
  139. package/dist/schema/teams.d.ts +147 -28
  140. package/dist/schema/teams.js +1 -1
  141. package/dist/schema/users.cjs +1 -1
  142. package/dist/schema/users.d.cts +29 -7
  143. package/dist/schema/users.d.ts +29 -7
  144. package/dist/schema/users.js +1 -1
  145. package/dist/utils/air/index.cjs +1 -1
  146. package/dist/utils/air/index.d.cts +4 -2
  147. package/dist/utils/air/index.d.ts +4 -2
  148. package/dist/utils/air/index.js +1 -1
  149. package/dist/utils/air/markdown-parser.cjs +1 -1
  150. package/dist/utils/air/markdown-parser.js +1 -1
  151. package/dist/utils/navigate.cjs +1 -1
  152. package/dist/utils/navigate.js +1 -1
  153. package/package.json +1 -1
  154. package/tsup.config.ts +16 -16
  155. package/dist/chunk-2TOV7G54.js +0 -2
  156. package/dist/chunk-2TOV7G54.js.map +0 -1
  157. package/dist/chunk-3RRKHJ3K.cjs +0 -2
  158. package/dist/chunk-3RRKHJ3K.cjs.map +0 -1
  159. package/dist/chunk-47E5TCNF.js +0 -3
  160. package/dist/chunk-47E5TCNF.js.map +0 -1
  161. package/dist/chunk-4RN4XNPV.cjs +0 -2
  162. package/dist/chunk-4RN4XNPV.cjs.map +0 -1
  163. package/dist/chunk-6GWDL7RE.cjs +0 -2
  164. package/dist/chunk-6GWDL7RE.cjs.map +0 -1
  165. package/dist/chunk-6Q25VZKZ.cjs +0 -2
  166. package/dist/chunk-6Q25VZKZ.cjs.map +0 -1
  167. package/dist/chunk-ARSGP6GA.js +0 -2
  168. package/dist/chunk-ARSGP6GA.js.map +0 -1
  169. package/dist/chunk-B776YSQ2.cjs +0 -2
  170. package/dist/chunk-B776YSQ2.cjs.map +0 -1
  171. package/dist/chunk-C3EY5Q7D.cjs +0 -2
  172. package/dist/chunk-C3EY5Q7D.cjs.map +0 -1
  173. package/dist/chunk-C3JUA7VU.js +0 -2
  174. package/dist/chunk-C3JUA7VU.js.map +0 -1
  175. package/dist/chunk-C7P6EZ4K.js +0 -2
  176. package/dist/chunk-C7P6EZ4K.js.map +0 -1
  177. package/dist/chunk-CEANOLSH.js +0 -2
  178. package/dist/chunk-CEANOLSH.js.map +0 -1
  179. package/dist/chunk-D2H3DN4E.cjs +0 -2
  180. package/dist/chunk-D2H3DN4E.cjs.map +0 -1
  181. package/dist/chunk-E3BVDCVN.cjs +0 -2
  182. package/dist/chunk-E3BVDCVN.cjs.map +0 -1
  183. package/dist/chunk-ENCQWA5V.js +0 -2
  184. package/dist/chunk-ENCQWA5V.js.map +0 -1
  185. package/dist/chunk-FWDYNPNC.cjs +0 -2
  186. package/dist/chunk-FWDYNPNC.cjs.map +0 -1
  187. package/dist/chunk-HT4JPC5P.js +0 -2
  188. package/dist/chunk-HT4JPC5P.js.map +0 -1
  189. package/dist/chunk-HVX2JPYI.js +0 -2
  190. package/dist/chunk-HVX2JPYI.js.map +0 -1
  191. package/dist/chunk-IF4N6V66.cjs +0 -2
  192. package/dist/chunk-IF4N6V66.cjs.map +0 -1
  193. package/dist/chunk-IIKZ5DYT.cjs +0 -2
  194. package/dist/chunk-JAAPYGR3.js +0 -2
  195. package/dist/chunk-JAAPYGR3.js.map +0 -1
  196. package/dist/chunk-JYZE6VG5.js +0 -2
  197. package/dist/chunk-JYZE6VG5.js.map +0 -1
  198. package/dist/chunk-LWSF5AHU.js +0 -2
  199. package/dist/chunk-LWSF5AHU.js.map +0 -1
  200. package/dist/chunk-MRSFHKNV.js +0 -2
  201. package/dist/chunk-MRSFHKNV.js.map +0 -1
  202. package/dist/chunk-N5ADIAWW.cjs +0 -2
  203. package/dist/chunk-N5ADIAWW.cjs.map +0 -1
  204. package/dist/chunk-PDLAKYCI.cjs +0 -2
  205. package/dist/chunk-PDLAKYCI.cjs.map +0 -1
  206. package/dist/chunk-QTPX6PU3.cjs +0 -2
  207. package/dist/chunk-QTPX6PU3.cjs.map +0 -1
  208. package/dist/chunk-RPUL3U2U.js +0 -2
  209. package/dist/chunk-RPUL3U2U.js.map +0 -1
  210. package/dist/chunk-SE3HKRJM.cjs +0 -3
  211. package/dist/chunk-SE3HKRJM.cjs.map +0 -1
  212. package/dist/chunk-T3J5Y445.js +0 -2
  213. package/dist/chunk-TNDFH7NB.js +0 -2
  214. package/dist/chunk-TNDFH7NB.js.map +0 -1
  215. package/dist/chunk-UEV6JSU5.cjs +0 -2
  216. package/dist/chunk-UEV6JSU5.cjs.map +0 -1
  217. package/dist/chunk-V4FDUFIL.cjs +0 -2
  218. package/dist/chunk-V4FDUFIL.cjs.map +0 -1
  219. package/dist/chunk-VOX7A2FD.js +0 -2
  220. package/dist/chunk-VOX7A2FD.js.map +0 -1
@@ -64,8 +64,8 @@ declare const EmbeddingSchema: z.ZodObject<{
64
64
  last_updated: z.ZodString;
65
65
  }, z.core.$strip>;
66
66
  declare const ConnectionSchema: z.ZodObject<{
67
- id: z.ZodString;
68
- user_id: z.ZodString;
67
+ id: z.ZodUUID;
68
+ user_id: z.ZodUUID;
69
69
  type: z.ZodEnum<{
70
70
  comment: "comment";
71
71
  reference: "reference";
@@ -73,9 +73,9 @@ declare const ConnectionSchema: z.ZodObject<{
73
73
  action: "action";
74
74
  component: "component";
75
75
  }>;
76
- action_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
77
- source_id: z.ZodString;
78
- target_id: z.ZodString;
76
+ action_id: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
77
+ source_id: z.ZodUUID;
78
+ target_id: z.ZodUUID;
79
79
  source_asset_type: z.ZodEnum<{
80
80
  user: "user";
81
81
  organization: "organization";
@@ -110,7 +110,7 @@ declare const ConnectionSchema: z.ZodObject<{
110
110
  last_updated: z.ZodString;
111
111
  }, z.core.$strip>;
112
112
  declare const PurchaseAssetSchema: z.ZodObject<{
113
- assetId: z.ZodString;
113
+ assetId: z.ZodUUID;
114
114
  method: z.ZodEnum<{
115
115
  checkout: "checkout";
116
116
  api: "api";
@@ -132,7 +132,7 @@ declare const PurchaseAssetSchema: z.ZodObject<{
132
132
  }>;
133
133
  }, z.core.$strip>;
134
134
  declare const PermissionSchema: z.ZodObject<{
135
- id: z.ZodString;
135
+ id: z.ZodUUID;
136
136
  role: z.ZodEnum<{
137
137
  admin: "admin";
138
138
  read: "read";
@@ -140,10 +140,10 @@ declare const PermissionSchema: z.ZodObject<{
140
140
  none: "none";
141
141
  }>;
142
142
  user: z.ZodObject<{
143
- user_id: z.ZodString;
143
+ user_id: z.ZodUUID;
144
144
  }, z.core.$strip>;
145
- user_id: z.ZodNullable<z.ZodString>;
146
- org_id: z.ZodNullable<z.ZodString>;
145
+ user_id: z.ZodNullable<z.ZodUUID>;
146
+ org_id: z.ZodNullable<z.ZodUUID>;
147
147
  asset_type: z.ZodEnum<{
148
148
  user: "user";
149
149
  organization: "organization";
@@ -159,15 +159,15 @@ declare const PermissionSchema: z.ZodObject<{
159
159
  blueprint: "blueprint";
160
160
  replication: "replication";
161
161
  }>;
162
- asset_id: z.ZodString;
162
+ asset_id: z.ZodUUID;
163
163
  created_at: z.ZodString;
164
164
  last_updated: z.ZodString;
165
165
  }, z.core.$strip>;
166
166
  declare const StatusSchema: z.ZodEnum<{
167
167
  success: "success";
168
- error: "error";
169
168
  queued: "queued";
170
169
  "in-progress": "in-progress";
170
+ error: "error";
171
171
  }>;
172
172
  declare const SourceSchema: z.ZodEnum<{
173
173
  api: "api";
@@ -64,8 +64,8 @@ declare const EmbeddingSchema: z.ZodObject<{
64
64
  last_updated: z.ZodString;
65
65
  }, z.core.$strip>;
66
66
  declare const ConnectionSchema: z.ZodObject<{
67
- id: z.ZodString;
68
- user_id: z.ZodString;
67
+ id: z.ZodUUID;
68
+ user_id: z.ZodUUID;
69
69
  type: z.ZodEnum<{
70
70
  comment: "comment";
71
71
  reference: "reference";
@@ -73,9 +73,9 @@ declare const ConnectionSchema: z.ZodObject<{
73
73
  action: "action";
74
74
  component: "component";
75
75
  }>;
76
- action_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
77
- source_id: z.ZodString;
78
- target_id: z.ZodString;
76
+ action_id: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
77
+ source_id: z.ZodUUID;
78
+ target_id: z.ZodUUID;
79
79
  source_asset_type: z.ZodEnum<{
80
80
  user: "user";
81
81
  organization: "organization";
@@ -110,7 +110,7 @@ declare const ConnectionSchema: z.ZodObject<{
110
110
  last_updated: z.ZodString;
111
111
  }, z.core.$strip>;
112
112
  declare const PurchaseAssetSchema: z.ZodObject<{
113
- assetId: z.ZodString;
113
+ assetId: z.ZodUUID;
114
114
  method: z.ZodEnum<{
115
115
  checkout: "checkout";
116
116
  api: "api";
@@ -132,7 +132,7 @@ declare const PurchaseAssetSchema: z.ZodObject<{
132
132
  }>;
133
133
  }, z.core.$strip>;
134
134
  declare const PermissionSchema: z.ZodObject<{
135
- id: z.ZodString;
135
+ id: z.ZodUUID;
136
136
  role: z.ZodEnum<{
137
137
  admin: "admin";
138
138
  read: "read";
@@ -140,10 +140,10 @@ declare const PermissionSchema: z.ZodObject<{
140
140
  none: "none";
141
141
  }>;
142
142
  user: z.ZodObject<{
143
- user_id: z.ZodString;
143
+ user_id: z.ZodUUID;
144
144
  }, z.core.$strip>;
145
- user_id: z.ZodNullable<z.ZodString>;
146
- org_id: z.ZodNullable<z.ZodString>;
145
+ user_id: z.ZodNullable<z.ZodUUID>;
146
+ org_id: z.ZodNullable<z.ZodUUID>;
147
147
  asset_type: z.ZodEnum<{
148
148
  user: "user";
149
149
  organization: "organization";
@@ -159,15 +159,15 @@ declare const PermissionSchema: z.ZodObject<{
159
159
  blueprint: "blueprint";
160
160
  replication: "replication";
161
161
  }>;
162
- asset_id: z.ZodString;
162
+ asset_id: z.ZodUUID;
163
163
  created_at: z.ZodString;
164
164
  last_updated: z.ZodString;
165
165
  }, z.core.$strip>;
166
166
  declare const StatusSchema: z.ZodEnum<{
167
167
  success: "success";
168
- error: "error";
169
168
  queued: "queued";
170
169
  "in-progress": "in-progress";
170
+ error: "error";
171
171
  }>;
172
172
  declare const SourceSchema: z.ZodEnum<{
173
173
  api: "api";
@@ -1,2 +1,2 @@
1
- export{a as AssetTypeSchema,g as ConnectionSchema,f as EmbeddingSchema,d as MonetizationSchema,i as PermissionSchema,e as PriceCurrencySchema,h as PurchaseAssetSchema,c as RoleSchema,k as SourceSchema,j as StatusSchema,b as VisibilitySchema}from'../chunk-RPUL3U2U.js';//# sourceMappingURL=common.js.map
1
+ export{a as AssetTypeSchema,g as ConnectionSchema,f as EmbeddingSchema,d as MonetizationSchema,i as PermissionSchema,e as PriceCurrencySchema,h as PurchaseAssetSchema,c as RoleSchema,k as SourceSchema,j as StatusSchema,b as VisibilitySchema}from'../chunk-CBWCC3NJ.js';//# sourceMappingURL=common.js.map
2
2
  //# sourceMappingURL=common.js.map
@@ -0,0 +1,2 @@
1
+ 'use strict';var chunk7HF5VHUN_cjs=require('../chunk-7HF5VHUN.cjs');Object.defineProperty(exports,"GLOBAL_ORG_ID",{enumerable:true,get:function(){return chunk7HF5VHUN_cjs.b}});Object.defineProperty(exports,"GLOBAL_TEAM_ID",{enumerable:true,get:function(){return chunk7HF5VHUN_cjs.c}});Object.defineProperty(exports,"ZERO_UUID",{enumerable:true,get:function(){return chunk7HF5VHUN_cjs.a}});//# sourceMappingURL=constants.cjs.map
2
+ //# sourceMappingURL=constants.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"constants.cjs"}
@@ -0,0 +1,5 @@
1
+ declare const ZERO_UUID = "00000000-0000-0000-0000-000000000000";
2
+ declare const GLOBAL_ORG_ID = "00000000-0000-0000-0000-000000000000";
3
+ declare const GLOBAL_TEAM_ID = "00000000-0000-0000-0000-000000000000";
4
+
5
+ export { GLOBAL_ORG_ID, GLOBAL_TEAM_ID, ZERO_UUID };
@@ -0,0 +1,5 @@
1
+ declare const ZERO_UUID = "00000000-0000-0000-0000-000000000000";
2
+ declare const GLOBAL_ORG_ID = "00000000-0000-0000-0000-000000000000";
3
+ declare const GLOBAL_TEAM_ID = "00000000-0000-0000-0000-000000000000";
4
+
5
+ export { GLOBAL_ORG_ID, GLOBAL_TEAM_ID, ZERO_UUID };
@@ -0,0 +1,2 @@
1
+ export{b as GLOBAL_ORG_ID,c as GLOBAL_TEAM_ID,a as ZERO_UUID}from'../chunk-DUBPWSCA.js';//# sourceMappingURL=constants.js.map
2
+ //# sourceMappingURL=constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"constants.js"}
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkC3EY5Q7D_cjs=require('../chunk-C3EY5Q7D.cjs');require('../chunk-V4FDUFIL.cjs'),require('../chunk-FWDYNPNC.cjs'),require('../chunk-E3BVDCVN.cjs'),require('../chunk-4RN4XNPV.cjs'),require('../chunk-N5ADIAWW.cjs'),require('../chunk-3RRKHJ3K.cjs');Object.defineProperty(exports,"ConversationSchema",{enumerable:true,get:function(){return chunkC3EY5Q7D_cjs.a}});Object.defineProperty(exports,"CreateConversationSchema",{enumerable:true,get:function(){return chunkC3EY5Q7D_cjs.b}});Object.defineProperty(exports,"MessageSchema",{enumerable:true,get:function(){return chunkC3EY5Q7D_cjs.d}});Object.defineProperty(exports,"UpdateConversationSchema",{enumerable:true,get:function(){return chunkC3EY5Q7D_cjs.c}});//# sourceMappingURL=conversations.cjs.map
1
+ 'use strict';var chunkAKXQDI77_cjs=require('../chunk-AKXQDI77.cjs');require('../chunk-LUAQEXTM.cjs'),require('../chunk-ACWMAF3H.cjs'),require('../chunk-Q5SQSLM7.cjs'),require('../chunk-T2FZOXMU.cjs'),require('../chunk-GY6SLMMJ.cjs'),require('../chunk-MAHNRYUV.cjs'),require('../chunk-7HF5VHUN.cjs');Object.defineProperty(exports,"ConversationSchema",{enumerable:true,get:function(){return chunkAKXQDI77_cjs.a}});Object.defineProperty(exports,"CreateConversationSchema",{enumerable:true,get:function(){return chunkAKXQDI77_cjs.b}});Object.defineProperty(exports,"MessageSchema",{enumerable:true,get:function(){return chunkAKXQDI77_cjs.d}});Object.defineProperty(exports,"UpdateConversationSchema",{enumerable:true,get:function(){return chunkAKXQDI77_cjs.c}});//# sourceMappingURL=conversations.cjs.map
2
2
  //# sourceMappingURL=conversations.cjs.map
@@ -1,8 +1,8 @@
1
1
  import { z } from 'zod';
2
2
 
3
3
  declare const ConversationSchema: z.ZodObject<{
4
- id: z.ZodString;
5
- user_id: z.ZodString;
4
+ id: z.ZodUUID;
5
+ user_id: z.ZodUUID;
6
6
  user: z.ZodOptional<z.ZodObject<{
7
7
  id: z.ZodOptional<z.ZodUUID>;
8
8
  user_id: z.ZodOptional<z.ZodUUID>;
@@ -10,18 +10,24 @@ declare const ConversationSchema: z.ZodObject<{
10
10
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
11
11
  avatar_path: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
12
12
  bio: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
13
+ is_provisioned: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
14
+ claimed_at: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
13
15
  urls: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
14
16
  value: z.ZodString;
15
17
  }, z.core.$strip>>>>;
16
- post_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17
- is_agent: z.ZodOptional<z.ZodBoolean>;
18
+ post_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
19
+ actor_type: z.ZodOptional<z.ZodEnum<{
20
+ base: "base";
21
+ agent: "agent";
22
+ verified: "verified";
23
+ }>>;
18
24
  plan_type: z.ZodOptional<z.ZodEnum<{
19
25
  free: "free";
20
26
  gold: "gold";
21
27
  }>>;
22
28
  last_active: z.ZodOptional<z.ZodString>;
23
29
  }, z.core.$strip>>;
24
- org_id: z.ZodString;
30
+ org_id: z.ZodUUID;
25
31
  organization: z.ZodOptional<z.ZodObject<{
26
32
  id: z.ZodOptional<z.ZodUUID>;
27
33
  name: z.ZodOptional<z.ZodString>;
@@ -41,12 +47,23 @@ declare const ConversationSchema: z.ZodObject<{
41
47
  none: "none";
42
48
  }>>>;
43
49
  allow_external_members: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
50
+ allow_external_public_team_creation: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
44
51
  join_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
52
+ actor_type_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodEnum<{
53
+ any: "any";
54
+ verified_only: "verified_only";
55
+ agents_only: "agents_only";
56
+ }>>>>;
57
+ source_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodEnum<{
58
+ any: "any";
59
+ web_only: "web_only";
60
+ api_only: "api_only";
61
+ }>>>>;
45
62
  }, z.core.$strip>>;
46
- team_id: z.ZodString;
63
+ team_id: z.ZodUUID;
47
64
  team: z.ZodOptional<z.ZodObject<{
48
- id: z.ZodOptional<z.ZodString>;
49
- org_id: z.ZodOptional<z.ZodString>;
65
+ id: z.ZodOptional<z.ZodUUID>;
66
+ org_id: z.ZodOptional<z.ZodUUID>;
50
67
  organization: z.ZodOptional<z.ZodObject<{
51
68
  id: z.ZodUUID;
52
69
  name: z.ZodString;
@@ -66,7 +83,18 @@ declare const ConversationSchema: z.ZodObject<{
66
83
  none: "none";
67
84
  }>>;
68
85
  allow_external_members: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
86
+ allow_external_public_team_creation: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
69
87
  join_policy: z.ZodDefault<z.ZodOptional<z.ZodString>>;
88
+ actor_type_policy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
89
+ any: "any";
90
+ verified_only: "verified_only";
91
+ agents_only: "agents_only";
92
+ }>>>;
93
+ source_policy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
94
+ any: "any";
95
+ web_only: "web_only";
96
+ api_only: "api_only";
97
+ }>>>;
70
98
  }, z.core.$strip>>;
71
99
  name: z.ZodOptional<z.ZodString>;
72
100
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -86,8 +114,18 @@ declare const ConversationSchema: z.ZodObject<{
86
114
  monetized: "monetized";
87
115
  inherit: "inherit";
88
116
  }>>;
117
+ actor_type_policy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
118
+ any: "any";
119
+ verified_only: "verified_only";
120
+ agents_only: "agents_only";
121
+ }>>>>;
122
+ source_policy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
123
+ any: "any";
124
+ web_only: "web_only";
125
+ api_only: "api_only";
126
+ }>>>>;
89
127
  userMembership: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
90
- user_id: z.ZodString;
128
+ user_id: z.ZodUUID;
91
129
  role: z.ZodEnum<{
92
130
  admin: "admin";
93
131
  read: "read";
@@ -97,7 +135,7 @@ declare const ConversationSchema: z.ZodObject<{
97
135
  }, z.core.$strip>>>>;
98
136
  memberCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
99
137
  members: z.ZodOptional<z.ZodArray<z.ZodObject<{
100
- user_id: z.ZodString;
138
+ user_id: z.ZodUUID;
101
139
  role: z.ZodEnum<{
102
140
  admin: "admin";
103
141
  read: "read";
@@ -112,11 +150,17 @@ declare const ConversationSchema: z.ZodObject<{
112
150
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
113
151
  avatar_path: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
114
152
  bio: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
153
+ is_provisioned: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
154
+ claimed_at: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
115
155
  urls: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
116
156
  value: z.ZodString;
117
157
  }, z.core.$strip>>>>;
118
- post_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
119
- is_agent: z.ZodOptional<z.ZodBoolean>;
158
+ post_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
159
+ actor_type: z.ZodOptional<z.ZodEnum<{
160
+ base: "base";
161
+ agent: "agent";
162
+ verified: "verified";
163
+ }>>;
120
164
  plan_type: z.ZodOptional<z.ZodEnum<{
121
165
  free: "free";
122
166
  gold: "gold";
@@ -126,7 +170,7 @@ declare const ConversationSchema: z.ZodObject<{
126
170
  }, z.core.$strip>>>;
127
171
  created_at: z.ZodOptional<z.ZodString>;
128
172
  }, z.core.$strip>>;
129
- parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
173
+ parent_id: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
130
174
  parent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
131
175
  license_id: z.ZodString;
132
176
  license: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
@@ -166,9 +210,9 @@ declare const ConversationSchema: z.ZodObject<{
166
210
  preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
167
211
  state: z.ZodEnum<{
168
212
  success: "success";
169
- error: "error";
170
213
  queued: "queued";
171
214
  "in-progress": "in-progress";
215
+ error: "error";
172
216
  }>;
173
217
  source: z.ZodEnum<{
174
218
  api: "api";
@@ -203,6 +247,7 @@ declare const ConversationSchema: z.ZodObject<{
203
247
  "third-party": "third-party";
204
248
  }>>;
205
249
  source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
250
+ reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
206
251
  }, z.core.$strip>;
207
252
  users: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
208
253
  id: z.ZodUUID;
@@ -211,11 +256,17 @@ declare const ConversationSchema: z.ZodObject<{
211
256
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
212
257
  avatar_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
213
258
  bio: z.ZodOptional<z.ZodNullable<z.ZodString>>;
259
+ is_provisioned: z.ZodOptional<z.ZodBoolean>;
260
+ claimed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
214
261
  urls: z.ZodOptional<z.ZodArray<z.ZodObject<{
215
262
  value: z.ZodString;
216
263
  }, z.core.$strip>>>;
217
- post_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
218
- is_agent: z.ZodBoolean;
264
+ post_id: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
265
+ actor_type: z.ZodEnum<{
266
+ base: "base";
267
+ agent: "agent";
268
+ verified: "verified";
269
+ }>;
219
270
  plan_type: z.ZodEnum<{
220
271
  free: "free";
221
272
  gold: "gold";
@@ -223,13 +274,13 @@ declare const ConversationSchema: z.ZodObject<{
223
274
  last_active: z.ZodString;
224
275
  }, z.core.$strip>>>>;
225
276
  }, z.core.$strip>;
226
- declare const CreateConversationSchema: z.ZodObject<{
277
+ declare const CreateConversationSchema: z.ZodPipe<z.ZodObject<{
227
278
  parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
228
279
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
229
280
  json: z.ZodRecord<z.ZodString, z.ZodAny>;
230
281
  text: z.ZodString;
231
282
  }, z.core.$strip>>>>;
232
- parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
283
+ parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
233
284
  license_id: z.ZodOptional<z.ZodString>;
234
285
  price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
235
286
  unit_cost: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
@@ -246,16 +297,16 @@ declare const CreateConversationSchema: z.ZodObject<{
246
297
  stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
247
298
  stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
248
299
  preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>>;
249
- id: z.ZodDefault<z.ZodString>;
250
- team_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
251
- org_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
300
+ id: z.ZodDefault<z.ZodUUID>;
301
+ team_id: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
302
+ org_id: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
252
303
  name: z.ZodString;
253
304
  name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
254
305
  state: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
255
306
  success: "success";
256
- error: "error";
257
307
  queued: "queued";
258
308
  "in-progress": "in-progress";
309
+ error: "error";
259
310
  }>>>;
260
311
  source: z.ZodDefault<z.ZodEnum<{
261
312
  api: "api";
@@ -288,9 +339,88 @@ declare const CreateConversationSchema: z.ZodObject<{
288
339
  "third-party": "third-party";
289
340
  }>>;
290
341
  source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
342
+ reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
291
343
  }, z.core.$strip>;
292
- }, z.core.$strip>;
293
- declare const UpdateConversationSchema: z.ZodObject<{
344
+ }, z.core.$strip>, z.ZodTransform<{
345
+ id: string;
346
+ team_id: string | null;
347
+ org_id: string | null;
348
+ name: string;
349
+ state: "success" | "queued" | "in-progress" | "error";
350
+ source: "api" | "web";
351
+ created_at: string;
352
+ last_updated: string;
353
+ asset_type: "conversation";
354
+ monetization: "none" | "pay-to-unlock" | "pay-per-use";
355
+ visibility: "organization" | "public" | "private" | "monetized" | "inherit";
356
+ metadata: {
357
+ members: string[];
358
+ doi_url?: string | null | undefined;
359
+ external_url?: string | null | undefined;
360
+ paper_url?: string | null | undefined;
361
+ github_url?: string | null | undefined;
362
+ originality?: "original" | "derivative" | "third-party" | undefined;
363
+ source?: string | null | undefined;
364
+ reply_to_comment_id?: string | null | undefined;
365
+ };
366
+ parent?: Record<string, any> | undefined;
367
+ description?: {
368
+ json: Record<string, any>;
369
+ text: string;
370
+ } | null | undefined;
371
+ parent_id?: string | null | undefined;
372
+ license_id?: string | undefined;
373
+ price?: number | null | undefined;
374
+ unit_cost?: number | null | undefined;
375
+ cost_accounting?: "fixed" | "variable" | null | undefined;
376
+ cost_unit?: string | null | undefined;
377
+ price_currency?: "usd" | "btc" | undefined;
378
+ stripe_product_id?: string | null | undefined;
379
+ stripe_price_id?: string | null | undefined;
380
+ stripe_meter_id?: string | null | undefined;
381
+ preview?: Record<string, any>[] | null | undefined;
382
+ name_url_slug?: string | null | undefined;
383
+ }, {
384
+ id: string;
385
+ team_id: string | null;
386
+ org_id: string | null;
387
+ name: string;
388
+ state: "success" | "queued" | "in-progress" | "error";
389
+ source: "api" | "web";
390
+ created_at: string;
391
+ last_updated: string;
392
+ asset_type: "conversation";
393
+ monetization: "none" | "pay-to-unlock" | "pay-per-use";
394
+ visibility: "organization" | "public" | "private" | "monetized" | "inherit";
395
+ metadata: {
396
+ members: string[];
397
+ doi_url?: string | null | undefined;
398
+ external_url?: string | null | undefined;
399
+ paper_url?: string | null | undefined;
400
+ github_url?: string | null | undefined;
401
+ originality?: "original" | "derivative" | "third-party" | undefined;
402
+ source?: string | null | undefined;
403
+ reply_to_comment_id?: string | null | undefined;
404
+ };
405
+ parent?: Record<string, any> | undefined;
406
+ description?: {
407
+ json: Record<string, any>;
408
+ text: string;
409
+ } | null | undefined;
410
+ parent_id?: string | null | undefined;
411
+ license_id?: string | undefined;
412
+ price?: number | null | undefined;
413
+ unit_cost?: number | null | undefined;
414
+ cost_accounting?: "fixed" | "variable" | null | undefined;
415
+ cost_unit?: string | null | undefined;
416
+ price_currency?: "usd" | "btc" | undefined;
417
+ stripe_product_id?: string | null | undefined;
418
+ stripe_price_id?: string | null | undefined;
419
+ stripe_meter_id?: string | null | undefined;
420
+ preview?: Record<string, any>[] | null | undefined;
421
+ name_url_slug?: string | null | undefined;
422
+ }>>;
423
+ declare const UpdateConversationSchema: z.ZodPipe<z.ZodObject<{
294
424
  asset_type: z.ZodOptional<z.ZodDefault<z.ZodLiteral<"conversation">>>;
295
425
  parent: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
296
426
  metadata: z.ZodOptional<z.ZodObject<{
@@ -305,6 +435,7 @@ declare const UpdateConversationSchema: z.ZodObject<{
305
435
  "third-party": "third-party";
306
436
  }>>;
307
437
  source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
438
+ reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
308
439
  }, z.core.$strip>>;
309
440
  created_at: z.ZodOptional<z.ZodDefault<z.ZodString>>;
310
441
  last_updated: z.ZodOptional<z.ZodDefault<z.ZodString>>;
@@ -331,11 +462,11 @@ declare const UpdateConversationSchema: z.ZodObject<{
331
462
  }>>>;
332
463
  state: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodEnum<{
333
464
  success: "success";
334
- error: "error";
335
465
  queued: "queued";
336
466
  "in-progress": "in-progress";
467
+ error: "error";
337
468
  }>>>>;
338
- parent_id: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
469
+ parent_id: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>>;
339
470
  license_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
340
471
  name_url_slug: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
341
472
  price: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>>;
@@ -353,11 +484,83 @@ declare const UpdateConversationSchema: z.ZodObject<{
353
484
  stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
354
485
  stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
355
486
  preview: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>>>;
356
- }, z.core.$strip>;
487
+ }, z.core.$strip>, z.ZodTransform<{
488
+ asset_type?: "conversation" | undefined;
489
+ parent?: Record<string, any> | undefined;
490
+ metadata?: {
491
+ members: string[];
492
+ doi_url?: string | null | undefined;
493
+ external_url?: string | null | undefined;
494
+ paper_url?: string | null | undefined;
495
+ github_url?: string | null | undefined;
496
+ originality?: "original" | "derivative" | "third-party" | undefined;
497
+ source?: string | null | undefined;
498
+ reply_to_comment_id?: string | null | undefined;
499
+ } | undefined;
500
+ created_at?: string | undefined;
501
+ last_updated?: string | undefined;
502
+ name?: string | undefined;
503
+ visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
504
+ description?: {
505
+ json: Record<string, any>;
506
+ text: string;
507
+ } | null | undefined;
508
+ source?: "api" | "web" | undefined;
509
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
510
+ state?: "success" | "queued" | "in-progress" | "error" | undefined;
511
+ parent_id?: string | null | undefined;
512
+ license_id?: string | undefined;
513
+ name_url_slug?: string | null | undefined;
514
+ price?: number | null | undefined;
515
+ unit_cost?: number | null | undefined;
516
+ cost_accounting?: "fixed" | "variable" | null | undefined;
517
+ cost_unit?: string | null | undefined;
518
+ price_currency?: "usd" | "btc" | undefined;
519
+ stripe_product_id?: string | null | undefined;
520
+ stripe_price_id?: string | null | undefined;
521
+ stripe_meter_id?: string | null | undefined;
522
+ preview?: Record<string, any>[] | null | undefined;
523
+ }, {
524
+ asset_type?: "conversation" | undefined;
525
+ parent?: Record<string, any> | undefined;
526
+ metadata?: {
527
+ members: string[];
528
+ doi_url?: string | null | undefined;
529
+ external_url?: string | null | undefined;
530
+ paper_url?: string | null | undefined;
531
+ github_url?: string | null | undefined;
532
+ originality?: "original" | "derivative" | "third-party" | undefined;
533
+ source?: string | null | undefined;
534
+ reply_to_comment_id?: string | null | undefined;
535
+ } | undefined;
536
+ created_at?: string | undefined;
537
+ last_updated?: string | undefined;
538
+ name?: string | undefined;
539
+ visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
540
+ description?: {
541
+ json: Record<string, any>;
542
+ text: string;
543
+ } | null | undefined;
544
+ source?: "api" | "web" | undefined;
545
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
546
+ state?: "success" | "queued" | "in-progress" | "error" | undefined;
547
+ parent_id?: string | null | undefined;
548
+ license_id?: string | undefined;
549
+ name_url_slug?: string | null | undefined;
550
+ price?: number | null | undefined;
551
+ unit_cost?: number | null | undefined;
552
+ cost_accounting?: "fixed" | "variable" | null | undefined;
553
+ cost_unit?: string | null | undefined;
554
+ price_currency?: "usd" | "btc" | undefined;
555
+ stripe_product_id?: string | null | undefined;
556
+ stripe_price_id?: string | null | undefined;
557
+ stripe_meter_id?: string | null | undefined;
558
+ preview?: Record<string, any>[] | null | undefined;
559
+ }>>;
357
560
  declare const MessageSchema: z.ZodObject<{
358
- id: z.ZodString;
359
- conversation_id: z.ZodString;
360
- user_id: z.ZodString;
561
+ id: z.ZodUUID;
562
+ conversation_id: z.ZodUUID;
563
+ user_id: z.ZodUUID;
361
564
  user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
362
565
  id: z.ZodUUID;
363
566
  user_id: z.ZodUUID;
@@ -365,11 +568,17 @@ declare const MessageSchema: z.ZodObject<{
365
568
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
366
569
  avatar_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
367
570
  bio: z.ZodOptional<z.ZodNullable<z.ZodString>>;
571
+ is_provisioned: z.ZodOptional<z.ZodBoolean>;
572
+ claimed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
368
573
  urls: z.ZodOptional<z.ZodArray<z.ZodObject<{
369
574
  value: z.ZodString;
370
575
  }, z.core.$strip>>>;
371
- post_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
372
- is_agent: z.ZodBoolean;
576
+ post_id: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
577
+ actor_type: z.ZodEnum<{
578
+ base: "base";
579
+ agent: "agent";
580
+ verified: "verified";
581
+ }>;
373
582
  plan_type: z.ZodEnum<{
374
583
  free: "free";
375
584
  gold: "gold";
@@ -378,7 +587,7 @@ declare const MessageSchema: z.ZodObject<{
378
587
  }, z.core.$strip>>>;
379
588
  created_at: z.ZodString;
380
589
  last_updated: z.ZodString;
381
- viewers: z.ZodArray<z.ZodString>;
590
+ viewers: z.ZodArray<z.ZodUUID>;
382
591
  json: z.ZodObject<{
383
592
  type: z.ZodLiteral<"doc">;
384
593
  content: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;