@ourofoundation/ouro-js 3.1.0 → 3.2.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.
- package/dist/chunk-2NJRZN2A.js +2 -0
- package/dist/chunk-2NJRZN2A.js.map +1 -0
- package/dist/chunk-3EK6Q2YF.js +2 -0
- package/dist/chunk-3EK6Q2YF.js.map +1 -0
- package/dist/chunk-3N56ERWF.js +2 -0
- package/dist/chunk-3N56ERWF.js.map +1 -0
- package/dist/chunk-4JJ6JLXK.cjs +2 -0
- package/dist/chunk-4JJ6JLXK.cjs.map +1 -0
- package/dist/{chunk-J2SVE52E.js → chunk-5ZISONMU.js} +2 -2
- package/dist/{chunk-J2SVE52E.js.map → chunk-5ZISONMU.js.map} +1 -1
- package/dist/chunk-6MSNL636.cjs +2 -0
- package/dist/chunk-6MSNL636.cjs.map +1 -0
- package/dist/{chunk-BDFRHJD4.js → chunk-6PR63E3C.js} +2 -2
- package/dist/{chunk-BDFRHJD4.js.map → chunk-6PR63E3C.js.map} +1 -1
- package/dist/chunk-6VIPPUJT.cjs +2 -0
- package/dist/chunk-6VIPPUJT.cjs.map +1 -0
- package/dist/{chunk-QZ3AAXO5.js → chunk-7GATZDKH.js} +2 -2
- package/dist/{chunk-QZ3AAXO5.js.map → chunk-7GATZDKH.js.map} +1 -1
- package/dist/{chunk-63BUDJ7V.js → chunk-7XHIK5BY.js} +2 -2
- package/dist/{chunk-63BUDJ7V.js.map → chunk-7XHIK5BY.js.map} +1 -1
- package/dist/{chunk-VBRZ227O.js → chunk-AL7O4IAB.js} +2 -2
- package/dist/{chunk-VBRZ227O.js.map → chunk-AL7O4IAB.js.map} +1 -1
- package/dist/{chunk-332F74RS.js → chunk-B75WL6RS.js} +2 -2
- package/dist/{chunk-332F74RS.js.map → chunk-B75WL6RS.js.map} +1 -1
- package/dist/chunk-BDVKX5EB.cjs +2 -0
- package/dist/{chunk-6XNV6B6L.cjs.map → chunk-BDVKX5EB.cjs.map} +1 -1
- package/dist/chunk-BSSU5PNI.js +8 -0
- package/dist/chunk-BSSU5PNI.js.map +1 -0
- package/dist/{chunk-Z2GTDYQ6.cjs → chunk-C5CSA2IE.cjs} +2 -2
- package/dist/{chunk-Z2GTDYQ6.cjs.map → chunk-C5CSA2IE.cjs.map} +1 -1
- package/dist/{chunk-DAN33Z3Q.cjs → chunk-CZ53CZIQ.cjs} +2 -2
- package/dist/{chunk-DAN33Z3Q.cjs.map → chunk-CZ53CZIQ.cjs.map} +1 -1
- package/dist/chunk-GY6SLMMJ.cjs +2 -0
- package/dist/chunk-GY6SLMMJ.cjs.map +1 -0
- package/dist/{chunk-D4SCLCSO.cjs → chunk-J6IXOTYT.cjs} +2 -2
- package/dist/{chunk-D4SCLCSO.cjs.map → chunk-J6IXOTYT.cjs.map} +1 -1
- package/dist/{chunk-BULBWSNF.js → chunk-KOFLISSG.js} +2 -2
- package/dist/{chunk-BULBWSNF.js.map → chunk-KOFLISSG.js.map} +1 -1
- package/dist/{chunk-6UH4ZK6D.cjs → chunk-LAMEJFKJ.cjs} +2 -2
- package/dist/{chunk-6UH4ZK6D.cjs.map → chunk-LAMEJFKJ.cjs.map} +1 -1
- package/dist/{chunk-PX6OZKCX.cjs → chunk-MFRUMVY6.cjs} +2 -2
- package/dist/{chunk-PX6OZKCX.cjs.map → chunk-MFRUMVY6.cjs.map} +1 -1
- package/dist/chunk-MKMFDR3M.cjs +2 -0
- package/dist/chunk-MKMFDR3M.cjs.map +1 -0
- package/dist/{chunk-P4VD5SVM.cjs → chunk-OILLE36G.cjs} +2 -2
- package/dist/{chunk-P4VD5SVM.cjs.map → chunk-OILLE36G.cjs.map} +1 -1
- package/dist/{chunk-ICU37YVV.js → chunk-QMVYPQP3.js} +2 -2
- package/dist/{chunk-ICU37YVV.js.map → chunk-QMVYPQP3.js.map} +1 -1
- package/dist/chunk-S2CP6IGR.js +2 -0
- package/dist/chunk-S2CP6IGR.js.map +1 -0
- package/dist/{chunk-JANLRWLU.cjs → chunk-SRHZ5S5N.cjs} +2 -2
- package/dist/{chunk-JANLRWLU.cjs.map → chunk-SRHZ5S5N.cjs.map} +1 -1
- package/dist/chunk-U5WHESJR.js +2 -0
- package/dist/chunk-U5WHESJR.js.map +1 -0
- package/dist/chunk-W3XNHFD6.cjs +2 -0
- package/dist/chunk-W3XNHFD6.cjs.map +1 -0
- package/dist/chunk-XIDYDUVH.js +2 -0
- package/dist/chunk-XIDYDUVH.js.map +1 -0
- package/dist/{chunk-XPQVPGJX.js → chunk-Y7MYLO3W.js} +2 -2
- package/dist/{chunk-XPQVPGJX.js.map → chunk-Y7MYLO3W.js.map} +1 -1
- package/dist/chunk-YB33F7QJ.cjs +8 -0
- package/dist/chunk-YB33F7QJ.cjs.map +1 -0
- package/dist/chunk-Z37VUR4P.cjs +2 -0
- package/dist/{chunk-OD7M3RFZ.cjs.map → chunk-Z37VUR4P.cjs.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/schema/assets.cjs +1 -1
- package/dist/schema/assets.d.cts +91 -81
- package/dist/schema/assets.d.ts +91 -81
- package/dist/schema/assets.js +1 -1
- package/dist/schema/blueprints.cjs +1 -1
- package/dist/schema/blueprints.d.cts +45 -25
- package/dist/schema/blueprints.d.ts +45 -25
- package/dist/schema/blueprints.js +1 -1
- package/dist/schema/comments.cjs +1 -1
- package/dist/schema/comments.d.cts +146 -126
- package/dist/schema/comments.d.ts +146 -126
- package/dist/schema/comments.js +1 -1
- package/dist/schema/common.cjs +1 -1
- package/dist/schema/common.d.cts +17 -16
- package/dist/schema/common.d.ts +17 -16
- package/dist/schema/common.js +1 -1
- package/dist/schema/conversations.cjs +1 -1
- package/dist/schema/conversations.d.cts +82 -67
- package/dist/schema/conversations.d.ts +82 -67
- package/dist/schema/conversations.js +1 -1
- package/dist/schema/datasets.cjs +1 -1
- package/dist/schema/datasets.d.cts +119 -105
- package/dist/schema/datasets.d.ts +119 -105
- package/dist/schema/datasets.js +1 -1
- package/dist/schema/files.cjs +1 -1
- package/dist/schema/files.d.cts +113 -99
- package/dist/schema/files.d.ts +113 -99
- package/dist/schema/files.js +1 -1
- package/dist/schema/notifications.cjs +1 -1
- package/dist/schema/notifications.d.cts +3 -2
- package/dist/schema/notifications.d.ts +3 -2
- package/dist/schema/notifications.js +1 -1
- package/dist/schema/organizations.cjs +1 -1
- package/dist/schema/organizations.d.cts +3 -1
- package/dist/schema/organizations.d.ts +3 -1
- package/dist/schema/organizations.js +1 -1
- package/dist/schema/posts.cjs +1 -1
- package/dist/schema/posts.d.cts +148 -122
- package/dist/schema/posts.d.ts +148 -122
- package/dist/schema/posts.js +1 -1
- package/dist/schema/replications.cjs +1 -1
- package/dist/schema/replications.d.cts +45 -25
- package/dist/schema/replications.d.ts +45 -25
- package/dist/schema/replications.js +1 -1
- package/dist/schema/services.cjs +1 -1
- package/dist/schema/services.d.cts +147 -124
- package/dist/schema/services.d.ts +147 -124
- package/dist/schema/services.js +1 -1
- package/dist/schema/teams.cjs +1 -1
- package/dist/schema/teams.d.cts +30 -18
- package/dist/schema/teams.d.ts +30 -18
- package/dist/schema/teams.js +1 -1
- package/dist/schema/users.cjs +1 -1
- package/dist/schema/users.d.cts +4 -0
- package/dist/schema/users.d.ts +4 -0
- package/dist/schema/users.js +1 -1
- package/dist/utils/air/index.cjs +1 -1
- package/dist/utils/air/index.d.cts +44 -7
- package/dist/utils/air/index.d.ts +44 -7
- package/dist/utils/air/index.js +1 -1
- package/dist/utils/air/markdown-parser.cjs +1 -1
- package/dist/utils/air/markdown-parser.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-25FGGQFY.cjs +0 -2
- package/dist/chunk-25FGGQFY.cjs.map +0 -1
- package/dist/chunk-47E5TCNF.js +0 -3
- package/dist/chunk-47E5TCNF.js.map +0 -1
- package/dist/chunk-4KUHOXA5.cjs +0 -2
- package/dist/chunk-4KUHOXA5.cjs.map +0 -1
- package/dist/chunk-6XNV6B6L.cjs +0 -2
- package/dist/chunk-B7NJYI4N.cjs +0 -2
- package/dist/chunk-B7NJYI4N.cjs.map +0 -1
- package/dist/chunk-CBWCC3NJ.js +0 -2
- package/dist/chunk-CBWCC3NJ.js.map +0 -1
- package/dist/chunk-FS5P754F.js +0 -2
- package/dist/chunk-FS5P754F.js.map +0 -1
- package/dist/chunk-JNBXFB5P.cjs +0 -2
- package/dist/chunk-JNBXFB5P.cjs.map +0 -1
- package/dist/chunk-LDAPPQXR.js +0 -2
- package/dist/chunk-LDAPPQXR.js.map +0 -1
- package/dist/chunk-MAHNRYUV.cjs +0 -2
- package/dist/chunk-MAHNRYUV.cjs.map +0 -1
- package/dist/chunk-MQYRINJ5.cjs +0 -2
- package/dist/chunk-MQYRINJ5.cjs.map +0 -1
- package/dist/chunk-OD7M3RFZ.cjs +0 -2
- package/dist/chunk-S5TPBKS6.js +0 -2
- package/dist/chunk-S5TPBKS6.js.map +0 -1
- package/dist/chunk-SE3HKRJM.cjs +0 -3
- package/dist/chunk-SE3HKRJM.cjs.map +0 -1
- package/dist/chunk-XJH3EC3E.js +0 -2
- package/dist/chunk-XJH3EC3E.js.map +0 -1
- package/dist/chunk-ZQAXMMR2.js +0 -2
- package/dist/chunk-ZQAXMMR2.js.map +0 -1
|
@@ -10,6 +10,8 @@ declare const CommentSchema: 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>>>>;
|
|
@@ -106,9 +108,9 @@ declare const CommentSchema: z.ZodObject<{
|
|
|
106
108
|
none: "none";
|
|
107
109
|
}>>;
|
|
108
110
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
111
|
+
organization: "organization";
|
|
109
112
|
public: "public";
|
|
110
113
|
private: "private";
|
|
111
|
-
organization: "organization";
|
|
112
114
|
monetized: "monetized";
|
|
113
115
|
inherit: "inherit";
|
|
114
116
|
}>>;
|
|
@@ -148,6 +150,8 @@ declare const CommentSchema: z.ZodObject<{
|
|
|
148
150
|
name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
149
151
|
avatar_path: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
150
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>>>;
|
|
151
155
|
urls: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
152
156
|
value: z.ZodString;
|
|
153
157
|
}, z.core.$strip>>>>;
|
|
@@ -178,9 +182,9 @@ declare const CommentSchema: z.ZodObject<{
|
|
|
178
182
|
text: z.ZodString;
|
|
179
183
|
}, z.core.$strip>>>;
|
|
180
184
|
visibility: z.ZodEnum<{
|
|
185
|
+
organization: "organization";
|
|
181
186
|
public: "public";
|
|
182
187
|
private: "private";
|
|
183
|
-
organization: "organization";
|
|
184
188
|
monetized: "monetized";
|
|
185
189
|
inherit: "inherit";
|
|
186
190
|
}>;
|
|
@@ -214,16 +218,17 @@ declare const CommentSchema: z.ZodObject<{
|
|
|
214
218
|
"third-party": "third-party";
|
|
215
219
|
}>;
|
|
216
220
|
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
221
|
+
reply_to_comment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
217
222
|
}, z.core.$strip>>>;
|
|
218
223
|
state: z.ZodEnum<{
|
|
219
224
|
success: "success";
|
|
220
|
-
error: "error";
|
|
221
225
|
queued: "queued";
|
|
222
226
|
"in-progress": "in-progress";
|
|
227
|
+
error: "error";
|
|
223
228
|
}>;
|
|
224
229
|
source: z.ZodEnum<{
|
|
225
|
-
web: "web";
|
|
226
230
|
api: "api";
|
|
231
|
+
web: "web";
|
|
227
232
|
}>;
|
|
228
233
|
created_at: z.ZodString;
|
|
229
234
|
last_updated: z.ZodString;
|
|
@@ -234,6 +239,30 @@ declare const CommentSchema: z.ZodObject<{
|
|
|
234
239
|
}, z.core.$strip>>>>;
|
|
235
240
|
}, z.core.$strip>;
|
|
236
241
|
declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
242
|
+
user: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
243
|
+
id: z.ZodOptional<z.ZodUUID>;
|
|
244
|
+
user_id: z.ZodOptional<z.ZodUUID>;
|
|
245
|
+
username: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
246
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
247
|
+
avatar_path: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
248
|
+
bio: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
249
|
+
is_provisioned: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
250
|
+
claimed_at: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
251
|
+
urls: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
252
|
+
value: z.ZodString;
|
|
253
|
+
}, z.core.$strip>>>>;
|
|
254
|
+
post_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
255
|
+
actor_type: z.ZodOptional<z.ZodEnum<{
|
|
256
|
+
base: "base";
|
|
257
|
+
agent: "agent";
|
|
258
|
+
verified: "verified";
|
|
259
|
+
}>>;
|
|
260
|
+
plan_type: z.ZodOptional<z.ZodEnum<{
|
|
261
|
+
free: "free";
|
|
262
|
+
gold: "gold";
|
|
263
|
+
}>>;
|
|
264
|
+
last_active: z.ZodOptional<z.ZodString>;
|
|
265
|
+
}, z.core.$strip>>>;
|
|
237
266
|
organization: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
238
267
|
id: z.ZodOptional<z.ZodUUID>;
|
|
239
268
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -266,53 +295,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
266
295
|
api_only: "api_only";
|
|
267
296
|
}>>>>;
|
|
268
297
|
}, z.core.$strip>>>;
|
|
269
|
-
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
270
|
-
source: z.ZodOptional<z.ZodEnum<{
|
|
271
|
-
web: "web";
|
|
272
|
-
api: "api";
|
|
273
|
-
}>>;
|
|
274
|
-
visibility: z.ZodOptional<z.ZodEnum<{
|
|
275
|
-
public: "public";
|
|
276
|
-
private: "private";
|
|
277
|
-
organization: "organization";
|
|
278
|
-
monetized: "monetized";
|
|
279
|
-
inherit: "inherit";
|
|
280
|
-
}>>;
|
|
281
|
-
monetization: z.ZodOptional<z.ZodEnum<{
|
|
282
|
-
none: "none";
|
|
283
|
-
"pay-to-unlock": "pay-to-unlock";
|
|
284
|
-
"pay-per-use": "pay-per-use";
|
|
285
|
-
}>>;
|
|
286
|
-
state: z.ZodOptional<z.ZodEnum<{
|
|
287
|
-
success: "success";
|
|
288
|
-
error: "error";
|
|
289
|
-
queued: "queued";
|
|
290
|
-
"in-progress": "in-progress";
|
|
291
|
-
}>>;
|
|
292
|
-
user: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
293
|
-
id: z.ZodOptional<z.ZodUUID>;
|
|
294
|
-
user_id: z.ZodOptional<z.ZodUUID>;
|
|
295
|
-
username: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
296
|
-
name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
297
|
-
avatar_path: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
298
|
-
bio: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
299
|
-
urls: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
300
|
-
value: z.ZodString;
|
|
301
|
-
}, z.core.$strip>>>>;
|
|
302
|
-
post_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
303
|
-
actor_type: z.ZodOptional<z.ZodEnum<{
|
|
304
|
-
base: "base";
|
|
305
|
-
agent: "agent";
|
|
306
|
-
verified: "verified";
|
|
307
|
-
}>>;
|
|
308
|
-
plan_type: z.ZodOptional<z.ZodEnum<{
|
|
309
|
-
free: "free";
|
|
310
|
-
gold: "gold";
|
|
311
|
-
}>>;
|
|
312
|
-
last_active: z.ZodOptional<z.ZodString>;
|
|
313
|
-
}, z.core.$strip>>>;
|
|
314
|
-
org_id: z.ZodOptional<z.ZodUUID>;
|
|
315
|
-
team_id: z.ZodOptional<z.ZodUUID>;
|
|
316
298
|
team: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
317
299
|
id: z.ZodOptional<z.ZodUUID>;
|
|
318
300
|
org_id: z.ZodOptional<z.ZodUUID>;
|
|
@@ -360,9 +342,9 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
360
342
|
none: "none";
|
|
361
343
|
}>>;
|
|
362
344
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
345
|
+
organization: "organization";
|
|
363
346
|
public: "public";
|
|
364
347
|
private: "private";
|
|
365
|
-
organization: "organization";
|
|
366
348
|
monetized: "monetized";
|
|
367
349
|
inherit: "inherit";
|
|
368
350
|
}>>;
|
|
@@ -402,6 +384,8 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
402
384
|
name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
403
385
|
avatar_path: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
404
386
|
bio: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
387
|
+
is_provisioned: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
388
|
+
claimed_at: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
405
389
|
urls: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
406
390
|
value: z.ZodString;
|
|
407
391
|
}, z.core.$strip>>>>;
|
|
@@ -420,10 +404,48 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
420
404
|
}, z.core.$strip>>>;
|
|
421
405
|
created_at: z.ZodOptional<z.ZodString>;
|
|
422
406
|
}, z.core.$strip>>>;
|
|
407
|
+
org_id: z.ZodOptional<z.ZodUUID>;
|
|
408
|
+
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
409
|
+
metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
410
|
+
doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
411
|
+
external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
412
|
+
paper_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
413
|
+
github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
414
|
+
originality: z.ZodEnum<{
|
|
415
|
+
original: "original";
|
|
416
|
+
derivative: "derivative";
|
|
417
|
+
"third-party": "third-party";
|
|
418
|
+
}>;
|
|
419
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
420
|
+
reply_to_comment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
421
|
+
}, z.core.$strip>>>>;
|
|
422
|
+
team_id: z.ZodOptional<z.ZodUUID>;
|
|
423
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
424
|
+
organization: "organization";
|
|
425
|
+
public: "public";
|
|
426
|
+
private: "private";
|
|
427
|
+
monetized: "monetized";
|
|
428
|
+
inherit: "inherit";
|
|
429
|
+
}>>;
|
|
423
430
|
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
424
431
|
json: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
425
432
|
text: z.ZodString;
|
|
426
433
|
}, z.core.$strip>>>>;
|
|
434
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
435
|
+
api: "api";
|
|
436
|
+
web: "web";
|
|
437
|
+
}>>;
|
|
438
|
+
monetization: z.ZodOptional<z.ZodEnum<{
|
|
439
|
+
none: "none";
|
|
440
|
+
"pay-to-unlock": "pay-to-unlock";
|
|
441
|
+
"pay-per-use": "pay-per-use";
|
|
442
|
+
}>>;
|
|
443
|
+
state: z.ZodOptional<z.ZodEnum<{
|
|
444
|
+
success: "success";
|
|
445
|
+
queued: "queued";
|
|
446
|
+
"in-progress": "in-progress";
|
|
447
|
+
error: "error";
|
|
448
|
+
}>>;
|
|
427
449
|
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
428
450
|
license_id: z.ZodOptional<z.ZodString>;
|
|
429
451
|
license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
@@ -443,18 +465,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
443
465
|
stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
444
466
|
stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
445
467
|
stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
446
|
-
metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
447
|
-
doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
448
|
-
external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
449
|
-
paper_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
450
|
-
github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
451
|
-
originality: z.ZodEnum<{
|
|
452
|
-
original: "original";
|
|
453
|
-
derivative: "derivative";
|
|
454
|
-
"third-party": "third-party";
|
|
455
|
-
}>;
|
|
456
|
-
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
457
|
-
}, z.core.$strip>>>>;
|
|
458
468
|
preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodObject<{
|
|
459
469
|
type: z.ZodString;
|
|
460
470
|
content: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
@@ -470,6 +480,23 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
470
480
|
name: string;
|
|
471
481
|
created_at: string;
|
|
472
482
|
last_updated: string;
|
|
483
|
+
user?: {
|
|
484
|
+
id?: string | undefined;
|
|
485
|
+
user_id?: string | undefined;
|
|
486
|
+
username?: string | null | undefined;
|
|
487
|
+
name?: string | null | undefined;
|
|
488
|
+
avatar_path?: string | null | undefined;
|
|
489
|
+
bio?: string | null | undefined;
|
|
490
|
+
is_provisioned?: boolean | undefined;
|
|
491
|
+
claimed_at?: string | null | undefined;
|
|
492
|
+
urls?: {
|
|
493
|
+
value: string;
|
|
494
|
+
}[] | undefined;
|
|
495
|
+
post_id?: string | null | undefined;
|
|
496
|
+
actor_type?: "base" | "agent" | "verified" | undefined;
|
|
497
|
+
plan_type?: "free" | "gold" | undefined;
|
|
498
|
+
last_active?: string | undefined;
|
|
499
|
+
} | undefined;
|
|
473
500
|
organization?: {
|
|
474
501
|
id?: string | undefined;
|
|
475
502
|
name?: string | undefined;
|
|
@@ -489,28 +516,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
489
516
|
actor_type_policy?: "any" | "verified_only" | "agents_only" | undefined;
|
|
490
517
|
source_policy?: "any" | "web_only" | "api_only" | undefined;
|
|
491
518
|
} | undefined;
|
|
492
|
-
parent?: Record<string, any> | undefined;
|
|
493
|
-
source?: "web" | "api" | undefined;
|
|
494
|
-
visibility?: "public" | "private" | "organization" | "monetized" | "inherit" | undefined;
|
|
495
|
-
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
496
|
-
state?: "success" | "error" | "queued" | "in-progress" | undefined;
|
|
497
|
-
user?: {
|
|
498
|
-
id?: string | undefined;
|
|
499
|
-
user_id?: string | undefined;
|
|
500
|
-
username?: string | null | undefined;
|
|
501
|
-
name?: string | null | undefined;
|
|
502
|
-
avatar_path?: string | null | undefined;
|
|
503
|
-
bio?: string | null | undefined;
|
|
504
|
-
urls?: {
|
|
505
|
-
value: string;
|
|
506
|
-
}[] | undefined;
|
|
507
|
-
post_id?: string | null | undefined;
|
|
508
|
-
actor_type?: "base" | "agent" | "verified" | undefined;
|
|
509
|
-
plan_type?: "free" | "gold" | undefined;
|
|
510
|
-
last_active?: string | undefined;
|
|
511
|
-
} | undefined;
|
|
512
|
-
org_id?: string | undefined;
|
|
513
|
-
team_id?: string | undefined;
|
|
514
519
|
team?: {
|
|
515
520
|
id?: string | undefined;
|
|
516
521
|
org_id?: string | undefined;
|
|
@@ -539,7 +544,7 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
539
544
|
json: Record<string, any>;
|
|
540
545
|
} | null | undefined;
|
|
541
546
|
default_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
542
|
-
visibility?: "
|
|
547
|
+
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
543
548
|
actor_type_policy?: "any" | "verified_only" | "agents_only" | null | undefined;
|
|
544
549
|
source_policy?: "any" | "web_only" | "api_only" | null | undefined;
|
|
545
550
|
userMembership?: {
|
|
@@ -558,6 +563,8 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
558
563
|
name?: string | null | undefined;
|
|
559
564
|
avatar_path?: string | null | undefined;
|
|
560
565
|
bio?: string | null | undefined;
|
|
566
|
+
is_provisioned?: boolean | undefined;
|
|
567
|
+
claimed_at?: string | null | undefined;
|
|
561
568
|
urls?: {
|
|
562
569
|
value: string;
|
|
563
570
|
}[] | undefined;
|
|
@@ -569,10 +576,26 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
569
576
|
}[] | undefined;
|
|
570
577
|
created_at?: string | undefined;
|
|
571
578
|
} | undefined;
|
|
579
|
+
org_id?: string | undefined;
|
|
580
|
+
parent?: Record<string, any> | undefined;
|
|
581
|
+
metadata?: {
|
|
582
|
+
originality: "original" | "derivative" | "third-party";
|
|
583
|
+
doi_url?: string | null | undefined;
|
|
584
|
+
external_url?: string | null | undefined;
|
|
585
|
+
paper_url?: string | null | undefined;
|
|
586
|
+
github_url?: string | null | undefined;
|
|
587
|
+
source?: string | null | undefined;
|
|
588
|
+
reply_to_comment_id?: string | null | undefined;
|
|
589
|
+
} | null | undefined;
|
|
590
|
+
team_id?: string | undefined;
|
|
591
|
+
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
572
592
|
description?: {
|
|
573
593
|
json: Record<string, any>;
|
|
574
594
|
text: string;
|
|
575
595
|
} | null | undefined;
|
|
596
|
+
source?: "api" | "web" | undefined;
|
|
597
|
+
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
598
|
+
state?: "success" | "queued" | "in-progress" | "error" | undefined;
|
|
576
599
|
parent_id?: string | null | undefined;
|
|
577
600
|
license_id?: string | undefined;
|
|
578
601
|
license?: Record<string, any> | undefined;
|
|
@@ -586,14 +609,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
586
609
|
stripe_product_id?: string | null | undefined;
|
|
587
610
|
stripe_price_id?: string | null | undefined;
|
|
588
611
|
stripe_meter_id?: string | null | undefined;
|
|
589
|
-
metadata?: {
|
|
590
|
-
originality: "original" | "derivative" | "third-party";
|
|
591
|
-
doi_url?: string | null | undefined;
|
|
592
|
-
external_url?: string | null | undefined;
|
|
593
|
-
paper_url?: string | null | undefined;
|
|
594
|
-
github_url?: string | null | undefined;
|
|
595
|
-
source?: string | null | undefined;
|
|
596
|
-
} | null | undefined;
|
|
597
612
|
preview?: {
|
|
598
613
|
type: string;
|
|
599
614
|
content: Record<string, any>[];
|
|
@@ -604,6 +619,23 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
604
619
|
name: string;
|
|
605
620
|
created_at: string;
|
|
606
621
|
last_updated: string;
|
|
622
|
+
user?: {
|
|
623
|
+
id?: string | undefined;
|
|
624
|
+
user_id?: string | undefined;
|
|
625
|
+
username?: string | null | undefined;
|
|
626
|
+
name?: string | null | undefined;
|
|
627
|
+
avatar_path?: string | null | undefined;
|
|
628
|
+
bio?: string | null | undefined;
|
|
629
|
+
is_provisioned?: boolean | undefined;
|
|
630
|
+
claimed_at?: string | null | undefined;
|
|
631
|
+
urls?: {
|
|
632
|
+
value: string;
|
|
633
|
+
}[] | undefined;
|
|
634
|
+
post_id?: string | null | undefined;
|
|
635
|
+
actor_type?: "base" | "agent" | "verified" | undefined;
|
|
636
|
+
plan_type?: "free" | "gold" | undefined;
|
|
637
|
+
last_active?: string | undefined;
|
|
638
|
+
} | undefined;
|
|
607
639
|
organization?: {
|
|
608
640
|
id?: string | undefined;
|
|
609
641
|
name?: string | undefined;
|
|
@@ -623,28 +655,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
623
655
|
actor_type_policy?: "any" | "verified_only" | "agents_only" | undefined;
|
|
624
656
|
source_policy?: "any" | "web_only" | "api_only" | undefined;
|
|
625
657
|
} | undefined;
|
|
626
|
-
parent?: Record<string, any> | undefined;
|
|
627
|
-
source?: "web" | "api" | undefined;
|
|
628
|
-
visibility?: "public" | "private" | "organization" | "monetized" | "inherit" | undefined;
|
|
629
|
-
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
630
|
-
state?: "success" | "error" | "queued" | "in-progress" | undefined;
|
|
631
|
-
user?: {
|
|
632
|
-
id?: string | undefined;
|
|
633
|
-
user_id?: string | undefined;
|
|
634
|
-
username?: string | null | undefined;
|
|
635
|
-
name?: string | null | undefined;
|
|
636
|
-
avatar_path?: string | null | undefined;
|
|
637
|
-
bio?: string | null | undefined;
|
|
638
|
-
urls?: {
|
|
639
|
-
value: string;
|
|
640
|
-
}[] | undefined;
|
|
641
|
-
post_id?: string | null | undefined;
|
|
642
|
-
actor_type?: "base" | "agent" | "verified" | undefined;
|
|
643
|
-
plan_type?: "free" | "gold" | undefined;
|
|
644
|
-
last_active?: string | undefined;
|
|
645
|
-
} | undefined;
|
|
646
|
-
org_id?: string | undefined;
|
|
647
|
-
team_id?: string | undefined;
|
|
648
658
|
team?: {
|
|
649
659
|
id?: string | undefined;
|
|
650
660
|
org_id?: string | undefined;
|
|
@@ -673,7 +683,7 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
673
683
|
json: Record<string, any>;
|
|
674
684
|
} | null | undefined;
|
|
675
685
|
default_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
676
|
-
visibility?: "
|
|
686
|
+
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
677
687
|
actor_type_policy?: "any" | "verified_only" | "agents_only" | null | undefined;
|
|
678
688
|
source_policy?: "any" | "web_only" | "api_only" | null | undefined;
|
|
679
689
|
userMembership?: {
|
|
@@ -692,6 +702,8 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
692
702
|
name?: string | null | undefined;
|
|
693
703
|
avatar_path?: string | null | undefined;
|
|
694
704
|
bio?: string | null | undefined;
|
|
705
|
+
is_provisioned?: boolean | undefined;
|
|
706
|
+
claimed_at?: string | null | undefined;
|
|
695
707
|
urls?: {
|
|
696
708
|
value: string;
|
|
697
709
|
}[] | undefined;
|
|
@@ -703,10 +715,26 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
703
715
|
}[] | undefined;
|
|
704
716
|
created_at?: string | undefined;
|
|
705
717
|
} | undefined;
|
|
718
|
+
org_id?: string | undefined;
|
|
719
|
+
parent?: Record<string, any> | undefined;
|
|
720
|
+
metadata?: {
|
|
721
|
+
originality: "original" | "derivative" | "third-party";
|
|
722
|
+
doi_url?: string | null | undefined;
|
|
723
|
+
external_url?: string | null | undefined;
|
|
724
|
+
paper_url?: string | null | undefined;
|
|
725
|
+
github_url?: string | null | undefined;
|
|
726
|
+
source?: string | null | undefined;
|
|
727
|
+
reply_to_comment_id?: string | null | undefined;
|
|
728
|
+
} | null | undefined;
|
|
729
|
+
team_id?: string | undefined;
|
|
730
|
+
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
706
731
|
description?: {
|
|
707
732
|
json: Record<string, any>;
|
|
708
733
|
text: string;
|
|
709
734
|
} | null | undefined;
|
|
735
|
+
source?: "api" | "web" | undefined;
|
|
736
|
+
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
737
|
+
state?: "success" | "queued" | "in-progress" | "error" | undefined;
|
|
710
738
|
parent_id?: string | null | undefined;
|
|
711
739
|
license_id?: string | undefined;
|
|
712
740
|
license?: Record<string, any> | undefined;
|
|
@@ -720,14 +748,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
720
748
|
stripe_product_id?: string | null | undefined;
|
|
721
749
|
stripe_price_id?: string | null | undefined;
|
|
722
750
|
stripe_meter_id?: string | null | undefined;
|
|
723
|
-
metadata?: {
|
|
724
|
-
originality: "original" | "derivative" | "third-party";
|
|
725
|
-
doi_url?: string | null | undefined;
|
|
726
|
-
external_url?: string | null | undefined;
|
|
727
|
-
paper_url?: string | null | undefined;
|
|
728
|
-
github_url?: string | null | undefined;
|
|
729
|
-
source?: string | null | undefined;
|
|
730
|
-
} | null | undefined;
|
|
731
751
|
preview?: {
|
|
732
752
|
type: string;
|
|
733
753
|
content: Record<string, any>[];
|