@ourofoundation/ouro-js 3.6.0 → 3.7.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-2BABFO5H.js +2 -0
- package/dist/chunk-2BABFO5H.js.map +1 -0
- package/dist/{chunk-DBEBXFQI.cjs → chunk-2KXX5JF6.cjs} +2 -2
- package/dist/{chunk-DBEBXFQI.cjs.map → chunk-2KXX5JF6.cjs.map} +1 -1
- package/dist/chunk-G5V2WTN5.cjs +2 -0
- package/dist/chunk-G5V2WTN5.cjs.map +1 -0
- package/dist/{chunk-WNYOQITO.js → chunk-IL3WA4D7.js} +2 -2
- package/dist/{chunk-WNYOQITO.js.map → chunk-IL3WA4D7.js.map} +1 -1
- package/dist/chunk-KHERHT26.cjs +2 -0
- package/dist/chunk-KHERHT26.cjs.map +1 -0
- package/dist/{chunk-IWOXGKK4.js → chunk-LYP7DPZ3.js} +2 -2
- package/dist/{chunk-IWOXGKK4.js.map → chunk-LYP7DPZ3.js.map} +1 -1
- package/dist/chunk-N74Y47X7.js +2 -0
- package/dist/chunk-N74Y47X7.js.map +1 -0
- package/dist/{chunk-IBRRR3T2.cjs → chunk-O5CY3JW3.cjs} +2 -2
- package/dist/{chunk-IBRRR3T2.cjs.map → chunk-O5CY3JW3.cjs.map} +1 -1
- package/dist/chunk-OBXAWON7.js +2 -0
- package/dist/{chunk-4UE3XIYR.js.map → chunk-OBXAWON7.js.map} +1 -1
- package/dist/chunk-OU4JKY4M.js +2 -0
- package/dist/chunk-OU4JKY4M.js.map +1 -0
- package/dist/chunk-OWS6VJJ2.js +2 -0
- package/dist/{chunk-NGN2PI7X.js.map → chunk-OWS6VJJ2.js.map} +1 -1
- package/dist/{chunk-F5CWCYOP.cjs → chunk-PN763DHR.cjs} +2 -2
- package/dist/{chunk-F5CWCYOP.cjs.map → chunk-PN763DHR.cjs.map} +1 -1
- package/dist/chunk-PPZZKUF6.cjs +2 -0
- package/dist/chunk-PPZZKUF6.cjs.map +1 -0
- package/dist/chunk-QJG6O5OT.cjs +2 -0
- package/dist/chunk-QJG6O5OT.cjs.map +1 -0
- package/dist/chunk-R7YOQNVS.js +2 -0
- package/dist/chunk-R7YOQNVS.js.map +1 -0
- package/dist/{chunk-TYOQ32UV.js → chunk-S5VZHGMV.js} +2 -2
- package/dist/{chunk-TYOQ32UV.js.map → chunk-S5VZHGMV.js.map} +1 -1
- package/dist/{chunk-6ZJQTECB.cjs → chunk-VPYKCTVU.cjs} +2 -2
- package/dist/{chunk-6ZJQTECB.cjs.map → chunk-VPYKCTVU.cjs.map} +1 -1
- package/dist/{chunk-YKA3RUTN.cjs → chunk-Y6EN5F74.cjs} +2 -2
- package/dist/{chunk-YKA3RUTN.cjs.map → chunk-Y6EN5F74.cjs.map} +1 -1
- package/dist/{chunk-6GPIZJ4T.cjs → chunk-YCK6Y3BF.cjs} +2 -2
- package/dist/{chunk-6GPIZJ4T.cjs.map → chunk-YCK6Y3BF.cjs.map} +1 -1
- package/dist/chunk-YXVAFJZH.js +2 -0
- package/dist/{chunk-KCVE35IO.js.map → chunk-YXVAFJZH.js.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1 -1
- package/dist/schema/assets.cjs +1 -1
- package/dist/schema/assets.d.cts +215 -46
- package/dist/schema/assets.d.ts +215 -46
- package/dist/schema/assets.js +1 -1
- package/dist/schema/comments.cjs +1 -1
- package/dist/schema/comments.d.cts +132 -28
- package/dist/schema/comments.d.ts +132 -28
- package/dist/schema/comments.js +1 -1
- package/dist/schema/conversations.cjs +1 -1
- package/dist/schema/conversations.d.cts +235 -47
- package/dist/schema/conversations.d.ts +235 -47
- package/dist/schema/conversations.js +1 -1
- package/dist/schema/datasets.cjs +1 -1
- package/dist/schema/datasets.d.cts +302 -66
- package/dist/schema/datasets.d.ts +302 -66
- package/dist/schema/datasets.js +1 -1
- package/dist/schema/files.cjs +1 -1
- package/dist/schema/files.d.cts +302 -66
- package/dist/schema/files.d.ts +302 -66
- package/dist/schema/files.js +1 -1
- package/dist/schema/posts.cjs +1 -1
- package/dist/schema/posts.d.cts +286 -74
- package/dist/schema/posts.d.ts +286 -74
- package/dist/schema/posts.js +1 -1
- package/dist/schema/quests.cjs +1 -1
- package/dist/schema/quests.d.cts +199 -47
- package/dist/schema/quests.d.ts +199 -47
- package/dist/schema/quests.js +1 -1
- package/dist/schema/services.cjs +1 -1
- package/dist/schema/services.d.cts +286 -74
- package/dist/schema/services.d.ts +286 -74
- package/dist/schema/services.js +1 -1
- package/dist/utils/files.cjs +2 -0
- package/dist/utils/files.cjs.map +1 -0
- package/dist/utils/files.d.cts +18 -0
- package/dist/utils/files.d.ts +18 -0
- package/dist/utils/files.js +2 -0
- package/dist/utils/files.js.map +1 -0
- package/dist/utils/quest-submission.cjs +1 -1
- package/dist/utils/quest-submission.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-4UE3XIYR.js +0 -2
- package/dist/chunk-FRMPLGE4.cjs +0 -2
- package/dist/chunk-FRMPLGE4.cjs.map +0 -1
- package/dist/chunk-G3VMEPTP.js +0 -2
- package/dist/chunk-G3VMEPTP.js.map +0 -1
- package/dist/chunk-KCVE35IO.js +0 -2
- package/dist/chunk-MLTO7TMM.js +0 -2
- package/dist/chunk-MLTO7TMM.js.map +0 -1
- package/dist/chunk-NGN2PI7X.js +0 -2
- package/dist/chunk-ROMY5WNQ.cjs +0 -2
- package/dist/chunk-ROMY5WNQ.cjs.map +0 -1
- package/dist/chunk-SR5UZ4NP.js +0 -2
- package/dist/chunk-SR5UZ4NP.js.map +0 -1
- package/dist/chunk-V73EW77Y.cjs +0 -2
- package/dist/chunk-V73EW77Y.cjs.map +0 -1
|
@@ -207,6 +207,35 @@ declare const ServiceSchema: z.ZodObject<{
|
|
|
207
207
|
stripe_product_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
208
208
|
stripe_price_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
209
209
|
stripe_meter_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
210
|
+
attribution: z.ZodObject<{
|
|
211
|
+
originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
212
|
+
original: "original";
|
|
213
|
+
derivative: "derivative";
|
|
214
|
+
"third-party": "third-party";
|
|
215
|
+
}>>>;
|
|
216
|
+
external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
217
|
+
github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
218
|
+
paper_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
219
|
+
doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
220
|
+
citation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
221
|
+
doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
222
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
223
|
+
authors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
224
|
+
year: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
225
|
+
venue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
226
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
227
|
+
bibtex: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
228
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
229
|
+
}, z.core.$strip>>>;
|
|
230
|
+
relation_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
231
|
+
IsSupplementTo: "IsSupplementTo";
|
|
232
|
+
IsDerivedFrom: "IsDerivedFrom";
|
|
233
|
+
References: "References";
|
|
234
|
+
IsVariantFormOf: "IsVariantFormOf";
|
|
235
|
+
IsIdenticalTo: "IsIdenticalTo";
|
|
236
|
+
}>>>;
|
|
237
|
+
doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
238
|
+
}, z.core.$strip>;
|
|
210
239
|
preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
|
|
211
240
|
state: z.ZodEnum<{
|
|
212
241
|
success: "success";
|
|
@@ -247,15 +276,6 @@ declare const ServiceSchema: z.ZodObject<{
|
|
|
247
276
|
spec_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
248
277
|
spec_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
249
278
|
auth_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
250
|
-
doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
251
|
-
external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
252
|
-
paper_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
253
|
-
github_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
254
|
-
originality: z.ZodOptional<z.ZodEnum<{
|
|
255
|
-
original: "original";
|
|
256
|
-
derivative: "derivative";
|
|
257
|
-
"third-party": "third-party";
|
|
258
|
-
}>>;
|
|
259
279
|
source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
260
280
|
reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
261
281
|
}, z.core.$strip>;
|
|
@@ -311,6 +331,71 @@ declare const CreateServiceSchema: z.ZodPipe<z.ZodObject<{
|
|
|
311
331
|
monetized: "monetized";
|
|
312
332
|
inherit: "inherit";
|
|
313
333
|
}>>>;
|
|
334
|
+
attribution: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
335
|
+
originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
336
|
+
original: "original";
|
|
337
|
+
derivative: "derivative";
|
|
338
|
+
"third-party": "third-party";
|
|
339
|
+
}>>>;
|
|
340
|
+
external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
341
|
+
github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
342
|
+
paper_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
343
|
+
doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
344
|
+
citation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
345
|
+
doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
346
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
347
|
+
authors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
348
|
+
year: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
349
|
+
venue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
350
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
351
|
+
bibtex: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
352
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
353
|
+
}, z.core.$strip>>>;
|
|
354
|
+
relation_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
355
|
+
IsSupplementTo: "IsSupplementTo";
|
|
356
|
+
IsDerivedFrom: "IsDerivedFrom";
|
|
357
|
+
References: "References";
|
|
358
|
+
IsVariantFormOf: "IsVariantFormOf";
|
|
359
|
+
IsIdenticalTo: "IsIdenticalTo";
|
|
360
|
+
}>>>;
|
|
361
|
+
doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
362
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
363
|
+
originality: "original" | "derivative" | "third-party";
|
|
364
|
+
external_url?: string | null | undefined;
|
|
365
|
+
github_url?: string | null | undefined;
|
|
366
|
+
paper_url?: string | null | undefined;
|
|
367
|
+
doi_url?: string | null | undefined;
|
|
368
|
+
citation?: {
|
|
369
|
+
doi?: string | null | undefined;
|
|
370
|
+
title?: string | null | undefined;
|
|
371
|
+
authors?: string[] | null | undefined;
|
|
372
|
+
year?: number | null | undefined;
|
|
373
|
+
venue?: string | null | undefined;
|
|
374
|
+
url?: string | null | undefined;
|
|
375
|
+
bibtex?: string | null | undefined;
|
|
376
|
+
source?: string | null | undefined;
|
|
377
|
+
} | null | undefined;
|
|
378
|
+
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
379
|
+
doi?: string | null | undefined;
|
|
380
|
+
}, {
|
|
381
|
+
originality: "original" | "derivative" | "third-party";
|
|
382
|
+
external_url?: string | null | undefined;
|
|
383
|
+
github_url?: string | null | undefined;
|
|
384
|
+
paper_url?: string | null | undefined;
|
|
385
|
+
doi_url?: string | null | undefined;
|
|
386
|
+
citation?: {
|
|
387
|
+
doi?: string | null | undefined;
|
|
388
|
+
title?: string | null | undefined;
|
|
389
|
+
authors?: string[] | null | undefined;
|
|
390
|
+
year?: number | null | undefined;
|
|
391
|
+
venue?: string | null | undefined;
|
|
392
|
+
url?: string | null | undefined;
|
|
393
|
+
bibtex?: string | null | undefined;
|
|
394
|
+
source?: string | null | undefined;
|
|
395
|
+
} | null | undefined;
|
|
396
|
+
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
397
|
+
doi?: string | null | undefined;
|
|
398
|
+
} | null | undefined>>;
|
|
314
399
|
created_at: z.ZodDefault<z.ZodString>;
|
|
315
400
|
last_updated: z.ZodDefault<z.ZodString>;
|
|
316
401
|
asset_type: z.ZodEnum<{
|
|
@@ -338,15 +423,6 @@ declare const CreateServiceSchema: z.ZodPipe<z.ZodObject<{
|
|
|
338
423
|
spec_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
339
424
|
spec_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
340
425
|
auth_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
341
|
-
doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
342
|
-
external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
343
|
-
paper_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
344
|
-
github_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
345
|
-
originality: z.ZodOptional<z.ZodEnum<{
|
|
346
|
-
original: "original";
|
|
347
|
-
derivative: "derivative";
|
|
348
|
-
"third-party": "third-party";
|
|
349
|
-
}>>;
|
|
350
426
|
source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
351
427
|
reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
352
428
|
}, z.core.$strip>;
|
|
@@ -358,6 +434,25 @@ declare const CreateServiceSchema: z.ZodPipe<z.ZodObject<{
|
|
|
358
434
|
state: "success" | "queued" | "in-progress" | "timed-out" | "error";
|
|
359
435
|
source: "api" | "web";
|
|
360
436
|
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
437
|
+
attribution: {
|
|
438
|
+
originality: "original" | "derivative" | "third-party";
|
|
439
|
+
external_url?: string | null | undefined;
|
|
440
|
+
github_url?: string | null | undefined;
|
|
441
|
+
paper_url?: string | null | undefined;
|
|
442
|
+
doi_url?: string | null | undefined;
|
|
443
|
+
citation?: {
|
|
444
|
+
doi?: string | null | undefined;
|
|
445
|
+
title?: string | null | undefined;
|
|
446
|
+
authors?: string[] | null | undefined;
|
|
447
|
+
year?: number | null | undefined;
|
|
448
|
+
venue?: string | null | undefined;
|
|
449
|
+
url?: string | null | undefined;
|
|
450
|
+
bibtex?: string | null | undefined;
|
|
451
|
+
source?: string | null | undefined;
|
|
452
|
+
} | null | undefined;
|
|
453
|
+
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
454
|
+
doi?: string | null | undefined;
|
|
455
|
+
};
|
|
361
456
|
created_at: string;
|
|
362
457
|
last_updated: string;
|
|
363
458
|
asset_type: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "quest" | "comment" | "conversation";
|
|
@@ -368,11 +463,6 @@ declare const CreateServiceSchema: z.ZodPipe<z.ZodObject<{
|
|
|
368
463
|
spec_path?: string | null | undefined;
|
|
369
464
|
spec_url?: string | null | undefined;
|
|
370
465
|
auth_url?: string | null | undefined;
|
|
371
|
-
doi_url?: string | null | undefined;
|
|
372
|
-
external_url?: string | null | undefined;
|
|
373
|
-
paper_url?: string | null | undefined;
|
|
374
|
-
github_url?: string | null | undefined;
|
|
375
|
-
originality?: "original" | "derivative" | "third-party" | undefined;
|
|
376
466
|
source?: string | null | undefined;
|
|
377
467
|
reply_to_comment_id?: string | null | undefined;
|
|
378
468
|
};
|
|
@@ -402,6 +492,25 @@ declare const CreateServiceSchema: z.ZodPipe<z.ZodObject<{
|
|
|
402
492
|
state: "success" | "queued" | "in-progress" | "timed-out" | "error";
|
|
403
493
|
source: "api" | "web";
|
|
404
494
|
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
495
|
+
attribution: {
|
|
496
|
+
originality: "original" | "derivative" | "third-party";
|
|
497
|
+
external_url?: string | null | undefined;
|
|
498
|
+
github_url?: string | null | undefined;
|
|
499
|
+
paper_url?: string | null | undefined;
|
|
500
|
+
doi_url?: string | null | undefined;
|
|
501
|
+
citation?: {
|
|
502
|
+
doi?: string | null | undefined;
|
|
503
|
+
title?: string | null | undefined;
|
|
504
|
+
authors?: string[] | null | undefined;
|
|
505
|
+
year?: number | null | undefined;
|
|
506
|
+
venue?: string | null | undefined;
|
|
507
|
+
url?: string | null | undefined;
|
|
508
|
+
bibtex?: string | null | undefined;
|
|
509
|
+
source?: string | null | undefined;
|
|
510
|
+
} | null | undefined;
|
|
511
|
+
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
512
|
+
doi?: string | null | undefined;
|
|
513
|
+
};
|
|
405
514
|
created_at: string;
|
|
406
515
|
last_updated: string;
|
|
407
516
|
asset_type: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "quest" | "comment" | "conversation";
|
|
@@ -412,11 +521,6 @@ declare const CreateServiceSchema: z.ZodPipe<z.ZodObject<{
|
|
|
412
521
|
spec_path?: string | null | undefined;
|
|
413
522
|
spec_url?: string | null | undefined;
|
|
414
523
|
auth_url?: string | null | undefined;
|
|
415
|
-
doi_url?: string | null | undefined;
|
|
416
|
-
external_url?: string | null | undefined;
|
|
417
|
-
paper_url?: string | null | undefined;
|
|
418
|
-
github_url?: string | null | undefined;
|
|
419
|
-
originality?: "original" | "derivative" | "third-party" | undefined;
|
|
420
524
|
source?: string | null | undefined;
|
|
421
525
|
reply_to_comment_id?: string | null | undefined;
|
|
422
526
|
};
|
|
@@ -467,15 +571,6 @@ declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
|
|
|
467
571
|
spec_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
468
572
|
spec_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
469
573
|
auth_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
470
|
-
doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
471
|
-
external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
472
|
-
paper_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
473
|
-
github_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
474
|
-
originality: z.ZodOptional<z.ZodEnum<{
|
|
475
|
-
original: "original";
|
|
476
|
-
derivative: "derivative";
|
|
477
|
-
"third-party": "third-party";
|
|
478
|
-
}>>;
|
|
479
574
|
source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
480
575
|
reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
481
576
|
}, z.core.$strip>>;
|
|
@@ -501,6 +596,35 @@ declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
|
|
|
501
596
|
"pay-to-unlock": "pay-to-unlock";
|
|
502
597
|
"pay-per-use": "pay-per-use";
|
|
503
598
|
}>>;
|
|
599
|
+
attribution: z.ZodOptional<z.ZodObject<{
|
|
600
|
+
originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
601
|
+
original: "original";
|
|
602
|
+
derivative: "derivative";
|
|
603
|
+
"third-party": "third-party";
|
|
604
|
+
}>>>;
|
|
605
|
+
external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
606
|
+
github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
607
|
+
paper_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
608
|
+
doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
609
|
+
citation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
610
|
+
doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
611
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
612
|
+
authors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
613
|
+
year: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
614
|
+
venue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
615
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
616
|
+
bibtex: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
617
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
618
|
+
}, z.core.$strip>>>;
|
|
619
|
+
relation_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
620
|
+
IsSupplementTo: "IsSupplementTo";
|
|
621
|
+
IsDerivedFrom: "IsDerivedFrom";
|
|
622
|
+
References: "References";
|
|
623
|
+
IsVariantFormOf: "IsVariantFormOf";
|
|
624
|
+
IsIdenticalTo: "IsIdenticalTo";
|
|
625
|
+
}>>>;
|
|
626
|
+
doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
627
|
+
}, z.core.$strip>>;
|
|
504
628
|
state: z.ZodOptional<z.ZodEnum<{
|
|
505
629
|
success: "success";
|
|
506
630
|
queued: "queued";
|
|
@@ -540,11 +664,6 @@ declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
|
|
|
540
664
|
spec_path?: string | null | undefined;
|
|
541
665
|
spec_url?: string | null | undefined;
|
|
542
666
|
auth_url?: string | null | undefined;
|
|
543
|
-
doi_url?: string | null | undefined;
|
|
544
|
-
external_url?: string | null | undefined;
|
|
545
|
-
paper_url?: string | null | undefined;
|
|
546
|
-
github_url?: string | null | undefined;
|
|
547
|
-
originality?: "original" | "derivative" | "third-party" | undefined;
|
|
548
667
|
source?: string | null | undefined;
|
|
549
668
|
reply_to_comment_id?: string | null | undefined;
|
|
550
669
|
} | undefined;
|
|
@@ -557,6 +676,25 @@ declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
|
|
|
557
676
|
} | null | undefined;
|
|
558
677
|
source?: "api" | "web" | undefined;
|
|
559
678
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
679
|
+
attribution?: {
|
|
680
|
+
originality: "original" | "derivative" | "third-party";
|
|
681
|
+
external_url?: string | null | undefined;
|
|
682
|
+
github_url?: string | null | undefined;
|
|
683
|
+
paper_url?: string | null | undefined;
|
|
684
|
+
doi_url?: string | null | undefined;
|
|
685
|
+
citation?: {
|
|
686
|
+
doi?: string | null | undefined;
|
|
687
|
+
title?: string | null | undefined;
|
|
688
|
+
authors?: string[] | null | undefined;
|
|
689
|
+
year?: number | null | undefined;
|
|
690
|
+
venue?: string | null | undefined;
|
|
691
|
+
url?: string | null | undefined;
|
|
692
|
+
bibtex?: string | null | undefined;
|
|
693
|
+
source?: string | null | undefined;
|
|
694
|
+
} | null | undefined;
|
|
695
|
+
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
696
|
+
doi?: string | null | undefined;
|
|
697
|
+
} | undefined;
|
|
560
698
|
state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
|
|
561
699
|
parent_id?: string | null | undefined;
|
|
562
700
|
license_id?: string | undefined;
|
|
@@ -583,11 +721,6 @@ declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
|
|
|
583
721
|
spec_path?: string | null | undefined;
|
|
584
722
|
spec_url?: string | null | undefined;
|
|
585
723
|
auth_url?: string | null | undefined;
|
|
586
|
-
doi_url?: string | null | undefined;
|
|
587
|
-
external_url?: string | null | undefined;
|
|
588
|
-
paper_url?: string | null | undefined;
|
|
589
|
-
github_url?: string | null | undefined;
|
|
590
|
-
originality?: "original" | "derivative" | "third-party" | undefined;
|
|
591
724
|
source?: string | null | undefined;
|
|
592
725
|
reply_to_comment_id?: string | null | undefined;
|
|
593
726
|
} | undefined;
|
|
@@ -600,6 +733,25 @@ declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
|
|
|
600
733
|
} | null | undefined;
|
|
601
734
|
source?: "api" | "web" | undefined;
|
|
602
735
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
736
|
+
attribution?: {
|
|
737
|
+
originality: "original" | "derivative" | "third-party";
|
|
738
|
+
external_url?: string | null | undefined;
|
|
739
|
+
github_url?: string | null | undefined;
|
|
740
|
+
paper_url?: string | null | undefined;
|
|
741
|
+
doi_url?: string | null | undefined;
|
|
742
|
+
citation?: {
|
|
743
|
+
doi?: string | null | undefined;
|
|
744
|
+
title?: string | null | undefined;
|
|
745
|
+
authors?: string[] | null | undefined;
|
|
746
|
+
year?: number | null | undefined;
|
|
747
|
+
venue?: string | null | undefined;
|
|
748
|
+
url?: string | null | undefined;
|
|
749
|
+
bibtex?: string | null | undefined;
|
|
750
|
+
source?: string | null | undefined;
|
|
751
|
+
} | null | undefined;
|
|
752
|
+
relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
|
|
753
|
+
doi?: string | null | undefined;
|
|
754
|
+
} | undefined;
|
|
603
755
|
state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
|
|
604
756
|
parent_id?: string | null | undefined;
|
|
605
757
|
license_id?: string | undefined;
|
|
@@ -967,18 +1119,38 @@ declare const RouteSchema: z.ZodObject<{
|
|
|
967
1119
|
stripe_price_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
968
1120
|
stripe_meter_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
969
1121
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
970
|
-
doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
971
|
-
external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
972
|
-
paper_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
973
|
-
github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
974
|
-
originality: z.ZodEnum<{
|
|
975
|
-
original: "original";
|
|
976
|
-
derivative: "derivative";
|
|
977
|
-
"third-party": "third-party";
|
|
978
|
-
}>;
|
|
979
1122
|
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
980
1123
|
reply_to_comment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
981
1124
|
}, z.core.$strip>>>;
|
|
1125
|
+
attribution: z.ZodObject<{
|
|
1126
|
+
originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1127
|
+
original: "original";
|
|
1128
|
+
derivative: "derivative";
|
|
1129
|
+
"third-party": "third-party";
|
|
1130
|
+
}>>>;
|
|
1131
|
+
external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1132
|
+
github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1133
|
+
paper_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1134
|
+
doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1135
|
+
citation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1136
|
+
doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1137
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1138
|
+
authors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
1139
|
+
year: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1140
|
+
venue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1141
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1142
|
+
bibtex: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1143
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1144
|
+
}, z.core.$strip>>>;
|
|
1145
|
+
relation_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1146
|
+
IsSupplementTo: "IsSupplementTo";
|
|
1147
|
+
IsDerivedFrom: "IsDerivedFrom";
|
|
1148
|
+
References: "References";
|
|
1149
|
+
IsVariantFormOf: "IsVariantFormOf";
|
|
1150
|
+
IsIdenticalTo: "IsIdenticalTo";
|
|
1151
|
+
}>>>;
|
|
1152
|
+
doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1153
|
+
}, z.core.$strip>;
|
|
982
1154
|
preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
|
|
983
1155
|
state: z.ZodEnum<{
|
|
984
1156
|
success: "success";
|
|
@@ -1322,18 +1494,38 @@ declare const ActionSchema: z.ZodObject<{
|
|
|
1322
1494
|
stripe_price_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1323
1495
|
stripe_meter_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1324
1496
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1325
|
-
doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1326
|
-
external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1327
|
-
paper_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1328
|
-
github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1329
|
-
originality: z.ZodEnum<{
|
|
1330
|
-
original: "original";
|
|
1331
|
-
derivative: "derivative";
|
|
1332
|
-
"third-party": "third-party";
|
|
1333
|
-
}>;
|
|
1334
1497
|
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1335
1498
|
reply_to_comment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1336
1499
|
}, z.core.$strip>>>;
|
|
1500
|
+
attribution: z.ZodObject<{
|
|
1501
|
+
originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1502
|
+
original: "original";
|
|
1503
|
+
derivative: "derivative";
|
|
1504
|
+
"third-party": "third-party";
|
|
1505
|
+
}>>>;
|
|
1506
|
+
external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1507
|
+
github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1508
|
+
paper_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1509
|
+
doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1510
|
+
citation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1511
|
+
doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1512
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1513
|
+
authors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
1514
|
+
year: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1515
|
+
venue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1516
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1517
|
+
bibtex: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1518
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1519
|
+
}, z.core.$strip>>>;
|
|
1520
|
+
relation_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1521
|
+
IsSupplementTo: "IsSupplementTo";
|
|
1522
|
+
IsDerivedFrom: "IsDerivedFrom";
|
|
1523
|
+
References: "References";
|
|
1524
|
+
IsVariantFormOf: "IsVariantFormOf";
|
|
1525
|
+
IsIdenticalTo: "IsIdenticalTo";
|
|
1526
|
+
}>>>;
|
|
1527
|
+
doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1528
|
+
}, z.core.$strip>;
|
|
1337
1529
|
preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
|
|
1338
1530
|
state: z.ZodEnum<{
|
|
1339
1531
|
success: "success";
|
|
@@ -1572,18 +1764,38 @@ declare const ActionSchema: z.ZodObject<{
|
|
|
1572
1764
|
stripe_price_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1573
1765
|
stripe_meter_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1574
1766
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1575
|
-
doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1576
|
-
external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1577
|
-
paper_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1578
|
-
github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1579
|
-
originality: z.ZodEnum<{
|
|
1580
|
-
original: "original";
|
|
1581
|
-
derivative: "derivative";
|
|
1582
|
-
"third-party": "third-party";
|
|
1583
|
-
}>;
|
|
1584
1767
|
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1585
1768
|
reply_to_comment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1586
1769
|
}, z.core.$strip>>>;
|
|
1770
|
+
attribution: z.ZodObject<{
|
|
1771
|
+
originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1772
|
+
original: "original";
|
|
1773
|
+
derivative: "derivative";
|
|
1774
|
+
"third-party": "third-party";
|
|
1775
|
+
}>>>;
|
|
1776
|
+
external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1777
|
+
github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1778
|
+
paper_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1779
|
+
doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1780
|
+
citation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1781
|
+
doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1782
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1783
|
+
authors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
1784
|
+
year: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1785
|
+
venue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1786
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1787
|
+
bibtex: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1788
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1789
|
+
}, z.core.$strip>>>;
|
|
1790
|
+
relation_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1791
|
+
IsSupplementTo: "IsSupplementTo";
|
|
1792
|
+
IsDerivedFrom: "IsDerivedFrom";
|
|
1793
|
+
References: "References";
|
|
1794
|
+
IsVariantFormOf: "IsVariantFormOf";
|
|
1795
|
+
IsIdenticalTo: "IsIdenticalTo";
|
|
1796
|
+
}>>>;
|
|
1797
|
+
doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1798
|
+
}, z.core.$strip>;
|
|
1587
1799
|
preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
|
|
1588
1800
|
state: z.ZodEnum<{
|
|
1589
1801
|
success: "success";
|