@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 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>>>>;
|
|
@@ -106,9 +108,9 @@ declare const ConversationSchema: 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 ConversationSchema: 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 ConversationSchema: 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
|
}>;
|
|
@@ -206,22 +210,22 @@ declare const ConversationSchema: z.ZodObject<{
|
|
|
206
210
|
preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
|
|
207
211
|
state: z.ZodEnum<{
|
|
208
212
|
success: "success";
|
|
209
|
-
error: "error";
|
|
210
213
|
queued: "queued";
|
|
211
214
|
"in-progress": "in-progress";
|
|
215
|
+
error: "error";
|
|
212
216
|
}>;
|
|
213
217
|
source: z.ZodEnum<{
|
|
214
|
-
web: "web";
|
|
215
218
|
api: "api";
|
|
219
|
+
web: "web";
|
|
216
220
|
}>;
|
|
217
221
|
created_at: z.ZodString;
|
|
218
222
|
last_updated: z.ZodString;
|
|
219
223
|
asset_type: z.ZodDefault<z.ZodEnum<{
|
|
220
|
-
organization: "organization";
|
|
221
|
-
file: "file";
|
|
222
224
|
user: "user";
|
|
225
|
+
organization: "organization";
|
|
223
226
|
team: "team";
|
|
224
227
|
dataset: "dataset";
|
|
228
|
+
file: "file";
|
|
225
229
|
service: "service";
|
|
226
230
|
route: "route";
|
|
227
231
|
post: "post";
|
|
@@ -243,6 +247,7 @@ declare const ConversationSchema: z.ZodObject<{
|
|
|
243
247
|
"third-party": "third-party";
|
|
244
248
|
}>>;
|
|
245
249
|
source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
250
|
+
reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
246
251
|
}, z.core.$strip>;
|
|
247
252
|
users: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
248
253
|
id: z.ZodUUID;
|
|
@@ -251,6 +256,8 @@ declare const ConversationSchema: z.ZodObject<{
|
|
|
251
256
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
252
257
|
avatar_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
253
258
|
bio: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
259
|
+
is_provisioned: z.ZodOptional<z.ZodBoolean>;
|
|
260
|
+
claimed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
254
261
|
urls: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
255
262
|
value: z.ZodString;
|
|
256
263
|
}, z.core.$strip>>>;
|
|
@@ -297,13 +304,13 @@ declare const CreateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
297
304
|
name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
298
305
|
state: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
299
306
|
success: "success";
|
|
300
|
-
error: "error";
|
|
301
307
|
queued: "queued";
|
|
302
308
|
"in-progress": "in-progress";
|
|
309
|
+
error: "error";
|
|
303
310
|
}>>>;
|
|
304
311
|
source: z.ZodDefault<z.ZodEnum<{
|
|
305
|
-
web: "web";
|
|
306
312
|
api: "api";
|
|
313
|
+
web: "web";
|
|
307
314
|
}>>;
|
|
308
315
|
created_at: z.ZodDefault<z.ZodString>;
|
|
309
316
|
last_updated: z.ZodDefault<z.ZodString>;
|
|
@@ -314,9 +321,9 @@ declare const CreateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
314
321
|
"pay-per-use": "pay-per-use";
|
|
315
322
|
}>>;
|
|
316
323
|
visibility: z.ZodDefault<z.ZodEnum<{
|
|
324
|
+
organization: "organization";
|
|
317
325
|
public: "public";
|
|
318
326
|
private: "private";
|
|
319
|
-
organization: "organization";
|
|
320
327
|
monetized: "monetized";
|
|
321
328
|
inherit: "inherit";
|
|
322
329
|
}>>;
|
|
@@ -332,19 +339,20 @@ declare const CreateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
332
339
|
"third-party": "third-party";
|
|
333
340
|
}>>;
|
|
334
341
|
source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
342
|
+
reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
335
343
|
}, z.core.$strip>;
|
|
336
344
|
}, z.core.$strip>, z.ZodTransform<{
|
|
337
345
|
id: string;
|
|
338
346
|
team_id: string | null;
|
|
339
347
|
org_id: string | null;
|
|
340
348
|
name: string;
|
|
341
|
-
state: "success" | "
|
|
342
|
-
source: "
|
|
349
|
+
state: "success" | "queued" | "in-progress" | "error";
|
|
350
|
+
source: "api" | "web";
|
|
343
351
|
created_at: string;
|
|
344
352
|
last_updated: string;
|
|
345
353
|
asset_type: "conversation";
|
|
346
354
|
monetization: "none" | "pay-to-unlock" | "pay-per-use";
|
|
347
|
-
visibility: "
|
|
355
|
+
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
348
356
|
metadata: {
|
|
349
357
|
members: string[];
|
|
350
358
|
doi_url?: string | null | undefined;
|
|
@@ -353,6 +361,7 @@ declare const CreateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
353
361
|
github_url?: string | null | undefined;
|
|
354
362
|
originality?: "original" | "derivative" | "third-party" | undefined;
|
|
355
363
|
source?: string | null | undefined;
|
|
364
|
+
reply_to_comment_id?: string | null | undefined;
|
|
356
365
|
};
|
|
357
366
|
parent?: Record<string, any> | undefined;
|
|
358
367
|
description?: {
|
|
@@ -376,13 +385,13 @@ declare const CreateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
376
385
|
team_id: string | null;
|
|
377
386
|
org_id: string | null;
|
|
378
387
|
name: string;
|
|
379
|
-
state: "success" | "
|
|
380
|
-
source: "
|
|
388
|
+
state: "success" | "queued" | "in-progress" | "error";
|
|
389
|
+
source: "api" | "web";
|
|
381
390
|
created_at: string;
|
|
382
391
|
last_updated: string;
|
|
383
392
|
asset_type: "conversation";
|
|
384
393
|
monetization: "none" | "pay-to-unlock" | "pay-per-use";
|
|
385
|
-
visibility: "
|
|
394
|
+
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
386
395
|
metadata: {
|
|
387
396
|
members: string[];
|
|
388
397
|
doi_url?: string | null | undefined;
|
|
@@ -391,6 +400,7 @@ declare const CreateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
391
400
|
github_url?: string | null | undefined;
|
|
392
401
|
originality?: "original" | "derivative" | "third-party" | undefined;
|
|
393
402
|
source?: string | null | undefined;
|
|
403
|
+
reply_to_comment_id?: string | null | undefined;
|
|
394
404
|
};
|
|
395
405
|
parent?: Record<string, any> | undefined;
|
|
396
406
|
description?: {
|
|
@@ -411,19 +421,40 @@ declare const CreateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
411
421
|
name_url_slug?: string | null | undefined;
|
|
412
422
|
}>>;
|
|
413
423
|
declare const UpdateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
414
|
-
parent: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
|
|
415
|
-
source: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
416
|
-
web: "web";
|
|
417
|
-
api: "api";
|
|
418
|
-
}>>>;
|
|
419
424
|
asset_type: z.ZodOptional<z.ZodDefault<z.ZodLiteral<"conversation">>>;
|
|
425
|
+
parent: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
|
|
426
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
427
|
+
members: z.ZodArray<z.ZodString>;
|
|
428
|
+
doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
429
|
+
external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
430
|
+
paper_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
431
|
+
github_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
432
|
+
originality: z.ZodOptional<z.ZodEnum<{
|
|
433
|
+
original: "original";
|
|
434
|
+
derivative: "derivative";
|
|
435
|
+
"third-party": "third-party";
|
|
436
|
+
}>>;
|
|
437
|
+
source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
438
|
+
reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
439
|
+
}, z.core.$strip>>;
|
|
440
|
+
created_at: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
441
|
+
last_updated: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
442
|
+
name: z.ZodOptional<z.ZodString>;
|
|
420
443
|
visibility: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
444
|
+
organization: "organization";
|
|
421
445
|
public: "public";
|
|
422
446
|
private: "private";
|
|
423
|
-
organization: "organization";
|
|
424
447
|
monetized: "monetized";
|
|
425
448
|
inherit: "inherit";
|
|
426
449
|
}>>>;
|
|
450
|
+
description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
451
|
+
json: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
452
|
+
text: z.ZodString;
|
|
453
|
+
}, z.core.$strip>>>>>;
|
|
454
|
+
source: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
455
|
+
api: "api";
|
|
456
|
+
web: "web";
|
|
457
|
+
}>>>;
|
|
427
458
|
monetization: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
428
459
|
none: "none";
|
|
429
460
|
"pay-to-unlock": "pay-to-unlock";
|
|
@@ -431,16 +462,10 @@ declare const UpdateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
431
462
|
}>>>;
|
|
432
463
|
state: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
433
464
|
success: "success";
|
|
434
|
-
error: "error";
|
|
435
465
|
queued: "queued";
|
|
436
466
|
"in-progress": "in-progress";
|
|
467
|
+
error: "error";
|
|
437
468
|
}>>>>;
|
|
438
|
-
name: z.ZodOptional<z.ZodString>;
|
|
439
|
-
description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
440
|
-
json: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
441
|
-
text: z.ZodString;
|
|
442
|
-
}, z.core.$strip>>>>>;
|
|
443
|
-
created_at: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
444
469
|
parent_id: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>>;
|
|
445
470
|
license_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
446
471
|
name_url_slug: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -458,34 +483,31 @@ declare const UpdateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
458
483
|
stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
459
484
|
stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
460
485
|
stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
461
|
-
metadata: z.ZodOptional<z.ZodObject<{
|
|
462
|
-
members: z.ZodArray<z.ZodString>;
|
|
463
|
-
doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
464
|
-
external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
465
|
-
paper_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
466
|
-
github_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
467
|
-
originality: z.ZodOptional<z.ZodEnum<{
|
|
468
|
-
original: "original";
|
|
469
|
-
derivative: "derivative";
|
|
470
|
-
"third-party": "third-party";
|
|
471
|
-
}>>;
|
|
472
|
-
source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
473
|
-
}, z.core.$strip>>;
|
|
474
486
|
preview: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>>>;
|
|
475
|
-
last_updated: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
476
487
|
}, z.core.$strip>, z.ZodTransform<{
|
|
477
|
-
parent?: Record<string, any> | undefined;
|
|
478
|
-
source?: "web" | "api" | undefined;
|
|
479
488
|
asset_type?: "conversation" | undefined;
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
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;
|
|
483
502
|
name?: string | undefined;
|
|
503
|
+
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
484
504
|
description?: {
|
|
485
505
|
json: Record<string, any>;
|
|
486
506
|
text: string;
|
|
487
507
|
} | null | undefined;
|
|
488
|
-
|
|
508
|
+
source?: "api" | "web" | undefined;
|
|
509
|
+
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
510
|
+
state?: "success" | "queued" | "in-progress" | "error" | undefined;
|
|
489
511
|
parent_id?: string | null | undefined;
|
|
490
512
|
license_id?: string | undefined;
|
|
491
513
|
name_url_slug?: string | null | undefined;
|
|
@@ -497,6 +519,10 @@ declare const UpdateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
497
519
|
stripe_product_id?: string | null | undefined;
|
|
498
520
|
stripe_price_id?: string | null | undefined;
|
|
499
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;
|
|
500
526
|
metadata?: {
|
|
501
527
|
members: string[];
|
|
502
528
|
doi_url?: string | null | undefined;
|
|
@@ -505,22 +531,19 @@ declare const UpdateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
505
531
|
github_url?: string | null | undefined;
|
|
506
532
|
originality?: "original" | "derivative" | "third-party" | undefined;
|
|
507
533
|
source?: string | null | undefined;
|
|
534
|
+
reply_to_comment_id?: string | null | undefined;
|
|
508
535
|
} | undefined;
|
|
509
|
-
|
|
536
|
+
created_at?: string | undefined;
|
|
510
537
|
last_updated?: string | undefined;
|
|
511
|
-
}, {
|
|
512
|
-
parent?: Record<string, any> | undefined;
|
|
513
|
-
source?: "web" | "api" | undefined;
|
|
514
|
-
asset_type?: "conversation" | undefined;
|
|
515
|
-
visibility?: "public" | "private" | "organization" | "monetized" | "inherit" | undefined;
|
|
516
|
-
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
517
|
-
state?: "success" | "error" | "queued" | "in-progress" | undefined;
|
|
518
538
|
name?: string | undefined;
|
|
539
|
+
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
519
540
|
description?: {
|
|
520
541
|
json: Record<string, any>;
|
|
521
542
|
text: string;
|
|
522
543
|
} | null | undefined;
|
|
523
|
-
|
|
544
|
+
source?: "api" | "web" | undefined;
|
|
545
|
+
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
546
|
+
state?: "success" | "queued" | "in-progress" | "error" | undefined;
|
|
524
547
|
parent_id?: string | null | undefined;
|
|
525
548
|
license_id?: string | undefined;
|
|
526
549
|
name_url_slug?: string | null | undefined;
|
|
@@ -532,17 +555,7 @@ declare const UpdateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
532
555
|
stripe_product_id?: string | null | undefined;
|
|
533
556
|
stripe_price_id?: string | null | undefined;
|
|
534
557
|
stripe_meter_id?: string | null | undefined;
|
|
535
|
-
metadata?: {
|
|
536
|
-
members: string[];
|
|
537
|
-
doi_url?: string | null | undefined;
|
|
538
|
-
external_url?: string | null | undefined;
|
|
539
|
-
paper_url?: string | null | undefined;
|
|
540
|
-
github_url?: string | null | undefined;
|
|
541
|
-
originality?: "original" | "derivative" | "third-party" | undefined;
|
|
542
|
-
source?: string | null | undefined;
|
|
543
|
-
} | undefined;
|
|
544
558
|
preview?: Record<string, any>[] | null | undefined;
|
|
545
|
-
last_updated?: string | undefined;
|
|
546
559
|
}>>;
|
|
547
560
|
declare const MessageSchema: z.ZodObject<{
|
|
548
561
|
id: z.ZodUUID;
|
|
@@ -555,6 +568,8 @@ declare const MessageSchema: z.ZodObject<{
|
|
|
555
568
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
556
569
|
avatar_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
557
570
|
bio: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
571
|
+
is_provisioned: z.ZodOptional<z.ZodBoolean>;
|
|
572
|
+
claimed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
558
573
|
urls: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
559
574
|
value: z.ZodString;
|
|
560
575
|
}, z.core.$strip>>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{a as ConversationSchema,b as CreateConversationSchema,d as MessageSchema,c as UpdateConversationSchema}from'../chunk-
|
|
1
|
+
export{a as ConversationSchema,b as CreateConversationSchema,d as MessageSchema,c as UpdateConversationSchema}from'../chunk-Y7MYLO3W.js';import'../chunk-QMVYPQP3.js';import'../chunk-XIDYDUVH.js';import'../chunk-7GATZDKH.js';import'../chunk-7XHIK5BY.js';import'../chunk-3N56ERWF.js';import'../chunk-3EK6Q2YF.js';import'../chunk-DUBPWSCA.js';//# sourceMappingURL=conversations.js.map
|
|
2
2
|
//# sourceMappingURL=conversations.js.map
|
package/dist/schema/datasets.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkCZ53CZIQ_cjs=require('../chunk-CZ53CZIQ.cjs');require('../chunk-4JJ6JLXK.cjs'),require('../chunk-BDVKX5EB.cjs'),require('../chunk-LAMEJFKJ.cjs'),require('../chunk-GY6SLMMJ.cjs'),require('../chunk-MKMFDR3M.cjs'),require('../chunk-7HF5VHUN.cjs');Object.defineProperty(exports,"CreateDatasetFromFileSchema",{enumerable:true,get:function(){return chunkCZ53CZIQ_cjs.b}});Object.defineProperty(exports,"CreateDatasetFromSchemaSchema",{enumerable:true,get:function(){return chunkCZ53CZIQ_cjs.c}});Object.defineProperty(exports,"DatasetSchema",{enumerable:true,get:function(){return chunkCZ53CZIQ_cjs.a}});Object.defineProperty(exports,"updateDatasetSchema",{enumerable:true,get:function(){return chunkCZ53CZIQ_cjs.d}});//# sourceMappingURL=datasets.cjs.map
|
|
2
2
|
//# sourceMappingURL=datasets.cjs.map
|