@ourofoundation/ouro-js 3.5.2 → 3.5.4

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 (60) hide show
  1. package/dist/chunk-73DHYPGU.cjs +2 -0
  2. package/dist/chunk-73DHYPGU.cjs.map +1 -0
  3. package/dist/{chunk-G24BRDHO.cjs → chunk-FLOHG4H4.cjs} +2 -2
  4. package/dist/chunk-FLOHG4H4.cjs.map +1 -0
  5. package/dist/chunk-QR2BSJ2C.js +2 -0
  6. package/dist/chunk-QR2BSJ2C.js.map +1 -0
  7. package/dist/{chunk-HIXNQKVP.cjs → chunk-W73NWPCZ.cjs} +2 -2
  8. package/dist/chunk-W73NWPCZ.cjs.map +1 -0
  9. package/dist/{chunk-CIWFH5BJ.js → chunk-X2PI5PAT.js} +2 -2
  10. package/dist/chunk-X2PI5PAT.js.map +1 -0
  11. package/dist/chunk-XLJBQ7BU.js +2 -0
  12. package/dist/chunk-XLJBQ7BU.js.map +1 -0
  13. package/dist/index.cjs +1 -1
  14. package/dist/index.d.cts +1 -1
  15. package/dist/index.d.ts +1 -1
  16. package/dist/index.js +1 -1
  17. package/dist/schema/assets.d.cts +84 -84
  18. package/dist/schema/assets.d.ts +84 -84
  19. package/dist/schema/comments.d.cts +136 -136
  20. package/dist/schema/comments.d.ts +136 -136
  21. package/dist/schema/common.d.cts +16 -16
  22. package/dist/schema/common.d.ts +16 -16
  23. package/dist/schema/conversations.cjs +1 -1
  24. package/dist/schema/conversations.d.cts +71 -69
  25. package/dist/schema/conversations.d.ts +71 -69
  26. package/dist/schema/conversations.js +1 -1
  27. package/dist/schema/datasets.cjs +1 -1
  28. package/dist/schema/datasets.d.cts +186 -140
  29. package/dist/schema/datasets.d.ts +186 -140
  30. package/dist/schema/datasets.js +1 -1
  31. package/dist/schema/events.cjs +1 -1
  32. package/dist/schema/events.d.cts +6 -1
  33. package/dist/schema/events.d.ts +6 -1
  34. package/dist/schema/events.js +1 -1
  35. package/dist/schema/files.d.cts +100 -100
  36. package/dist/schema/files.d.ts +100 -100
  37. package/dist/schema/notifications.d.cts +2 -2
  38. package/dist/schema/notifications.d.ts +2 -2
  39. package/dist/schema/organizations.d.cts +1 -1
  40. package/dist/schema/organizations.d.ts +1 -1
  41. package/dist/schema/posts.d.cts +127 -127
  42. package/dist/schema/posts.d.ts +127 -127
  43. package/dist/schema/quests.d.cts +177 -177
  44. package/dist/schema/quests.d.ts +177 -177
  45. package/dist/schema/services.d.cts +127 -127
  46. package/dist/schema/services.d.ts +127 -127
  47. package/dist/schema/teams.d.cts +18 -18
  48. package/dist/schema/teams.d.ts +18 -18
  49. package/dist/utils/quest-submission.d.cts +7 -7
  50. package/dist/utils/quest-submission.d.ts +7 -7
  51. package/package.json +1 -1
  52. package/dist/chunk-35CJDNHH.js +0 -2
  53. package/dist/chunk-35CJDNHH.js.map +0 -1
  54. package/dist/chunk-3UWDQLTN.js +0 -2
  55. package/dist/chunk-3UWDQLTN.js.map +0 -1
  56. package/dist/chunk-CIWFH5BJ.js.map +0 -1
  57. package/dist/chunk-G24BRDHO.cjs.map +0 -1
  58. package/dist/chunk-HIXNQKVP.cjs.map +0 -1
  59. package/dist/chunk-OBWPO2QT.cjs +0 -2
  60. package/dist/chunk-OBWPO2QT.cjs.map +0 -1
@@ -108,9 +108,9 @@ declare const ServiceSchema: z.ZodObject<{
108
108
  none: "none";
109
109
  }>>;
110
110
  visibility: z.ZodOptional<z.ZodEnum<{
111
+ organization: "organization";
111
112
  public: "public";
112
113
  private: "private";
113
- organization: "organization";
114
114
  monetized: "monetized";
115
115
  inherit: "inherit";
116
116
  }>>;
@@ -182,9 +182,9 @@ declare const ServiceSchema: z.ZodObject<{
182
182
  text: z.ZodString;
183
183
  }, z.core.$strip>>>;
184
184
  visibility: z.ZodEnum<{
185
+ organization: "organization";
185
186
  public: "public";
186
187
  private: "private";
187
- organization: "organization";
188
188
  monetized: "monetized";
189
189
  inherit: "inherit";
190
190
  }>;
@@ -210,24 +210,24 @@ declare const ServiceSchema: z.ZodObject<{
210
210
  preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
211
211
  state: z.ZodEnum<{
212
212
  success: "success";
213
- error: "error";
214
213
  queued: "queued";
215
214
  "in-progress": "in-progress";
216
215
  "timed-out": "timed-out";
216
+ error: "error";
217
217
  }>;
218
218
  source: z.ZodEnum<{
219
- web: "web";
220
219
  api: "api";
220
+ web: "web";
221
221
  }>;
222
222
  is_pinned_in_team: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
223
223
  created_at: z.ZodString;
224
224
  last_updated: z.ZodString;
225
225
  asset_type: z.ZodEnum<{
226
- organization: "organization";
227
- file: "file";
228
226
  user: "user";
227
+ organization: "organization";
229
228
  team: "team";
230
229
  dataset: "dataset";
230
+ file: "file";
231
231
  service: "service";
232
232
  route: "route";
233
233
  post: "post";
@@ -262,15 +262,15 @@ declare const ServiceSchema: z.ZodObject<{
262
262
  }, z.core.$strip>;
263
263
  declare const CreateServiceSchema: z.ZodPipe<z.ZodObject<{
264
264
  parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
265
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
266
+ json: z.ZodRecord<z.ZodString, z.ZodAny>;
267
+ text: z.ZodString;
268
+ }, z.core.$strip>>>>;
265
269
  monetization: z.ZodOptional<z.ZodEnum<{
266
270
  none: "none";
267
271
  "pay-to-unlock": "pay-to-unlock";
268
272
  "pay-per-use": "pay-per-use";
269
273
  }>>;
270
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
271
- json: z.ZodRecord<z.ZodString, z.ZodAny>;
272
- text: z.ZodString;
273
- }, z.core.$strip>>>>;
274
274
  parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
275
275
  license_id: z.ZodOptional<z.ZodString>;
276
276
  price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
@@ -295,30 +295,30 @@ declare const CreateServiceSchema: z.ZodPipe<z.ZodObject<{
295
295
  name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
296
296
  state: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
297
297
  success: "success";
298
- error: "error";
299
298
  queued: "queued";
300
299
  "in-progress": "in-progress";
301
300
  "timed-out": "timed-out";
301
+ error: "error";
302
302
  }>>>;
303
303
  source: z.ZodDefault<z.ZodEnum<{
304
- web: "web";
305
304
  api: "api";
305
+ web: "web";
306
306
  }>>;
307
307
  visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
308
+ organization: "organization";
308
309
  public: "public";
309
310
  private: "private";
310
- organization: "organization";
311
311
  monetized: "monetized";
312
312
  inherit: "inherit";
313
313
  }>>>;
314
314
  created_at: z.ZodDefault<z.ZodString>;
315
315
  last_updated: z.ZodDefault<z.ZodString>;
316
316
  asset_type: z.ZodEnum<{
317
- organization: "organization";
318
- file: "file";
319
317
  user: "user";
318
+ organization: "organization";
320
319
  team: "team";
321
320
  dataset: "dataset";
321
+ file: "file";
322
322
  service: "service";
323
323
  route: "route";
324
324
  post: "post";
@@ -355,12 +355,12 @@ declare const CreateServiceSchema: z.ZodPipe<z.ZodObject<{
355
355
  team_id: string | null;
356
356
  org_id: string | null;
357
357
  name: string;
358
- state: "success" | "error" | "queued" | "in-progress" | "timed-out";
359
- source: "web" | "api";
360
- visibility: "public" | "private" | "organization" | "monetized" | "inherit";
358
+ state: "success" | "queued" | "in-progress" | "timed-out" | "error";
359
+ source: "api" | "web";
360
+ visibility: "organization" | "public" | "private" | "monetized" | "inherit";
361
361
  created_at: string;
362
362
  last_updated: string;
363
- asset_type: "organization" | "file" | "user" | "team" | "dataset" | "service" | "route" | "post" | "quest" | "comment" | "conversation";
363
+ asset_type: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "quest" | "comment" | "conversation";
364
364
  metadata: {
365
365
  authentication: "Personal Access Token" | "Ouro" | "None" | "OAuth 2.0";
366
366
  base_url: string;
@@ -377,11 +377,11 @@ declare const CreateServiceSchema: z.ZodPipe<z.ZodObject<{
377
377
  reply_to_comment_id?: string | null | undefined;
378
378
  };
379
379
  parent?: Record<string, any> | undefined;
380
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
381
380
  description?: {
382
381
  json: Record<string, any>;
383
382
  text: string;
384
383
  } | null | undefined;
384
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
385
385
  parent_id?: string | null | undefined;
386
386
  license_id?: string | undefined;
387
387
  price?: number | null | undefined;
@@ -399,12 +399,12 @@ declare const CreateServiceSchema: z.ZodPipe<z.ZodObject<{
399
399
  team_id: string | null;
400
400
  org_id: string | null;
401
401
  name: string;
402
- state: "success" | "error" | "queued" | "in-progress" | "timed-out";
403
- source: "web" | "api";
404
- visibility: "public" | "private" | "organization" | "monetized" | "inherit";
402
+ state: "success" | "queued" | "in-progress" | "timed-out" | "error";
403
+ source: "api" | "web";
404
+ visibility: "organization" | "public" | "private" | "monetized" | "inherit";
405
405
  created_at: string;
406
406
  last_updated: string;
407
- asset_type: "organization" | "file" | "user" | "team" | "dataset" | "service" | "route" | "post" | "quest" | "comment" | "conversation";
407
+ asset_type: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "quest" | "comment" | "conversation";
408
408
  metadata: {
409
409
  authentication: "Personal Access Token" | "Ouro" | "None" | "OAuth 2.0";
410
410
  base_url: string;
@@ -421,11 +421,11 @@ declare const CreateServiceSchema: z.ZodPipe<z.ZodObject<{
421
421
  reply_to_comment_id?: string | null | undefined;
422
422
  };
423
423
  parent?: Record<string, any> | undefined;
424
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
425
424
  description?: {
426
425
  json: Record<string, any>;
427
426
  text: string;
428
427
  } | null | undefined;
428
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
429
429
  parent_id?: string | null | undefined;
430
430
  license_id?: string | undefined;
431
431
  price?: number | null | undefined;
@@ -440,17 +440,12 @@ declare const CreateServiceSchema: z.ZodPipe<z.ZodObject<{
440
440
  name_url_slug?: string | null | undefined;
441
441
  }>>;
442
442
  declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
443
- parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
444
- source: z.ZodOptional<z.ZodEnum<{
445
- web: "web";
446
- api: "api";
447
- }>>;
448
443
  asset_type: z.ZodOptional<z.ZodEnum<{
449
- organization: "organization";
450
- file: "file";
451
444
  user: "user";
445
+ organization: "organization";
452
446
  team: "team";
453
447
  dataset: "dataset";
448
+ file: "file";
454
449
  service: "service";
455
450
  route: "route";
456
451
  post: "post";
@@ -458,13 +453,49 @@ declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
458
453
  comment: "comment";
459
454
  conversation: "conversation";
460
455
  }>>;
456
+ org_id: z.ZodOptional<z.ZodUUID>;
457
+ parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
458
+ metadata: z.ZodOptional<z.ZodObject<{
459
+ authentication: z.ZodEnum<{
460
+ "Personal Access Token": "Personal Access Token";
461
+ Ouro: "Ouro";
462
+ None: "None";
463
+ "OAuth 2.0": "OAuth 2.0";
464
+ }>;
465
+ base_url: z.ZodString;
466
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
467
+ spec_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
468
+ spec_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
469
+ 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
+ source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
480
+ reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
481
+ }, z.core.$strip>>;
482
+ name: z.ZodOptional<z.ZodString>;
483
+ team_id: z.ZodOptional<z.ZodUUID>;
461
484
  visibility: z.ZodOptional<z.ZodEnum<{
485
+ organization: "organization";
462
486
  public: "public";
463
487
  private: "private";
464
- organization: "organization";
465
488
  monetized: "monetized";
466
489
  inherit: "inherit";
467
490
  }>>;
491
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
492
+ json: z.ZodRecord<z.ZodString, z.ZodAny>;
493
+ text: z.ZodString;
494
+ }, z.core.$strip>>>>;
495
+ source: z.ZodOptional<z.ZodEnum<{
496
+ api: "api";
497
+ web: "web";
498
+ }>>;
468
499
  monetization: z.ZodOptional<z.ZodEnum<{
469
500
  none: "none";
470
501
  "pay-to-unlock": "pay-to-unlock";
@@ -472,18 +503,11 @@ declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
472
503
  }>>;
473
504
  state: z.ZodOptional<z.ZodEnum<{
474
505
  success: "success";
475
- error: "error";
476
506
  queued: "queued";
477
507
  "in-progress": "in-progress";
478
508
  "timed-out": "timed-out";
509
+ error: "error";
479
510
  }>>;
480
- name: z.ZodOptional<z.ZodString>;
481
- org_id: z.ZodOptional<z.ZodUUID>;
482
- team_id: z.ZodOptional<z.ZodUUID>;
483
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
484
- json: z.ZodRecord<z.ZodString, z.ZodAny>;
485
- text: z.ZodString;
486
- }, z.core.$strip>>>>;
487
511
  parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
488
512
  license_id: z.ZodOptional<z.ZodString>;
489
513
  license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
@@ -502,47 +526,38 @@ declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
502
526
  stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
503
527
  stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
504
528
  stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
505
- metadata: z.ZodOptional<z.ZodObject<{
506
- authentication: z.ZodEnum<{
507
- "Personal Access Token": "Personal Access Token";
508
- Ouro: "Ouro";
509
- None: "None";
510
- "OAuth 2.0": "OAuth 2.0";
511
- }>;
512
- base_url: z.ZodString;
513
- version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
514
- spec_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
515
- spec_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
516
- auth_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
517
- doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
518
- external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
519
- paper_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
520
- github_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
521
- originality: z.ZodOptional<z.ZodEnum<{
522
- original: "original";
523
- derivative: "derivative";
524
- "third-party": "third-party";
525
- }>>;
526
- source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
527
- reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
528
- }, z.core.$strip>>;
529
529
  preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>>;
530
530
  last_updated: z.ZodDefault<z.ZodString>;
531
531
  }, z.core.$strip>, z.ZodTransform<{
532
532
  last_updated: string;
533
+ asset_type?: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | undefined;
534
+ org_id?: string | undefined;
533
535
  parent?: Record<string, any> | undefined;
534
- source?: "web" | "api" | undefined;
535
- asset_type?: "organization" | "file" | "user" | "team" | "dataset" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | undefined;
536
- visibility?: "public" | "private" | "organization" | "monetized" | "inherit" | undefined;
537
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
538
- state?: "success" | "error" | "queued" | "in-progress" | "timed-out" | undefined;
536
+ metadata?: {
537
+ authentication: "Personal Access Token" | "Ouro" | "None" | "OAuth 2.0";
538
+ base_url: string;
539
+ version?: string | null | undefined;
540
+ spec_path?: string | null | undefined;
541
+ spec_url?: string | null | undefined;
542
+ 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
+ source?: string | null | undefined;
549
+ reply_to_comment_id?: string | null | undefined;
550
+ } | undefined;
539
551
  name?: string | undefined;
540
- org_id?: string | undefined;
541
552
  team_id?: string | undefined;
553
+ visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
542
554
  description?: {
543
555
  json: Record<string, any>;
544
556
  text: string;
545
557
  } | null | undefined;
558
+ source?: "api" | "web" | undefined;
559
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
560
+ state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
546
561
  parent_id?: string | null | undefined;
547
562
  license_id?: string | undefined;
548
563
  license?: Record<string, any> | undefined;
@@ -555,6 +570,12 @@ declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
555
570
  stripe_product_id?: string | null | undefined;
556
571
  stripe_price_id?: string | null | undefined;
557
572
  stripe_meter_id?: string | null | undefined;
573
+ preview?: Record<string, any>[] | null | undefined;
574
+ }, {
575
+ last_updated: string;
576
+ asset_type?: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | undefined;
577
+ org_id?: string | undefined;
578
+ parent?: Record<string, any> | undefined;
558
579
  metadata?: {
559
580
  authentication: "Personal Access Token" | "Ouro" | "None" | "OAuth 2.0";
560
581
  base_url: string;
@@ -570,22 +591,16 @@ declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
570
591
  source?: string | null | undefined;
571
592
  reply_to_comment_id?: string | null | undefined;
572
593
  } | undefined;
573
- preview?: Record<string, any>[] | null | undefined;
574
- }, {
575
- last_updated: string;
576
- parent?: Record<string, any> | undefined;
577
- source?: "web" | "api" | undefined;
578
- asset_type?: "organization" | "file" | "user" | "team" | "dataset" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | undefined;
579
- visibility?: "public" | "private" | "organization" | "monetized" | "inherit" | undefined;
580
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
581
- state?: "success" | "error" | "queued" | "in-progress" | "timed-out" | undefined;
582
594
  name?: string | undefined;
583
- org_id?: string | undefined;
584
595
  team_id?: string | undefined;
596
+ visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
585
597
  description?: {
586
598
  json: Record<string, any>;
587
599
  text: string;
588
600
  } | null | undefined;
601
+ source?: "api" | "web" | undefined;
602
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
603
+ state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
589
604
  parent_id?: string | null | undefined;
590
605
  license_id?: string | undefined;
591
606
  license?: Record<string, any> | undefined;
@@ -598,21 +613,6 @@ declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
598
613
  stripe_product_id?: string | null | undefined;
599
614
  stripe_price_id?: string | null | undefined;
600
615
  stripe_meter_id?: string | null | undefined;
601
- metadata?: {
602
- authentication: "Personal Access Token" | "Ouro" | "None" | "OAuth 2.0";
603
- base_url: string;
604
- version?: string | null | undefined;
605
- spec_path?: string | null | undefined;
606
- spec_url?: string | null | undefined;
607
- auth_url?: string | null | undefined;
608
- doi_url?: string | null | undefined;
609
- external_url?: string | null | undefined;
610
- paper_url?: string | null | undefined;
611
- github_url?: string | null | undefined;
612
- originality?: "original" | "derivative" | "third-party" | undefined;
613
- source?: string | null | undefined;
614
- reply_to_comment_id?: string | null | undefined;
615
- } | undefined;
616
616
  preview?: Record<string, any>[] | null | undefined;
617
617
  }>>;
618
618
  declare const ExecutionModeSchema: z.ZodEnum<{
@@ -621,8 +621,8 @@ declare const ExecutionModeSchema: z.ZodEnum<{
621
621
  }>;
622
622
  declare const RouteInputAssetDeclarationSchema: z.ZodObject<{
623
623
  asset_type: z.ZodEnum<{
624
- file: "file";
625
624
  dataset: "dataset";
625
+ file: "file";
626
626
  post: "post";
627
627
  }>;
628
628
  primary: z.ZodOptional<z.ZodBoolean>;
@@ -639,8 +639,8 @@ declare const RouteInputAssetDeclarationSchema: z.ZodObject<{
639
639
  }, z.core.$catchall<z.ZodAny>>;
640
640
  declare const RouteOutputAssetDeclarationSchema: z.ZodObject<{
641
641
  asset_type: z.ZodEnum<{
642
- file: "file";
643
642
  dataset: "dataset";
643
+ file: "file";
644
644
  post: "post";
645
645
  }>;
646
646
  primary: z.ZodOptional<z.ZodBoolean>;
@@ -649,8 +649,8 @@ declare const RouteOutputAssetDeclarationSchema: z.ZodObject<{
649
649
  }, z.core.$catchall<z.ZodAny>>;
650
650
  declare const RouteInputAssetsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
651
651
  asset_type: z.ZodEnum<{
652
- file: "file";
653
652
  dataset: "dataset";
653
+ file: "file";
654
654
  post: "post";
655
655
  }>;
656
656
  primary: z.ZodOptional<z.ZodBoolean>;
@@ -667,8 +667,8 @@ declare const RouteInputAssetsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
667
667
  }, z.core.$catchall<z.ZodAny>>>;
668
668
  declare const RouteOutputAssetsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
669
669
  asset_type: z.ZodEnum<{
670
- file: "file";
671
670
  dataset: "dataset";
671
+ file: "file";
672
672
  post: "post";
673
673
  }>;
674
674
  primary: z.ZodOptional<z.ZodBoolean>;
@@ -693,8 +693,8 @@ declare const RouteDetailSchema: z.ZodObject<{
693
693
  responses: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
694
694
  input_assets: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
695
695
  asset_type: z.ZodEnum<{
696
- file: "file";
697
696
  dataset: "dataset";
697
+ file: "file";
698
698
  post: "post";
699
699
  }>;
700
700
  primary: z.ZodOptional<z.ZodBoolean>;
@@ -710,8 +710,8 @@ declare const RouteDetailSchema: z.ZodObject<{
710
710
  contains_file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
711
711
  }, z.core.$catchall<z.ZodAny>>>>>;
712
712
  input_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
713
- file: "file";
714
713
  dataset: "dataset";
714
+ file: "file";
715
715
  post: "post";
716
716
  }>>>;
717
717
  input_filter: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -726,8 +726,8 @@ declare const RouteDetailSchema: z.ZodObject<{
726
726
  input_file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
727
727
  output_assets: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
728
728
  asset_type: z.ZodEnum<{
729
- file: "file";
730
729
  dataset: "dataset";
730
+ file: "file";
731
731
  post: "post";
732
732
  }>;
733
733
  primary: z.ZodOptional<z.ZodBoolean>;
@@ -735,8 +735,8 @@ declare const RouteDetailSchema: z.ZodObject<{
735
735
  contains_file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
736
736
  }, z.core.$catchall<z.ZodAny>>>>>;
737
737
  output_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
738
- file: "file";
739
738
  dataset: "dataset";
739
+ file: "file";
740
740
  post: "post";
741
741
  }>>>;
742
742
  output_file_extension: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -867,9 +867,9 @@ declare const RouteSchema: z.ZodObject<{
867
867
  none: "none";
868
868
  }>>;
869
869
  visibility: z.ZodOptional<z.ZodEnum<{
870
+ organization: "organization";
870
871
  public: "public";
871
872
  private: "private";
872
- organization: "organization";
873
873
  monetized: "monetized";
874
874
  inherit: "inherit";
875
875
  }>>;
@@ -941,9 +941,9 @@ declare const RouteSchema: z.ZodObject<{
941
941
  text: z.ZodString;
942
942
  }, z.core.$strip>>>;
943
943
  visibility: z.ZodEnum<{
944
+ organization: "organization";
944
945
  public: "public";
945
946
  private: "private";
946
- organization: "organization";
947
947
  monetized: "monetized";
948
948
  inherit: "inherit";
949
949
  }>;
@@ -982,24 +982,24 @@ declare const RouteSchema: z.ZodObject<{
982
982
  preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
983
983
  state: z.ZodEnum<{
984
984
  success: "success";
985
- error: "error";
986
985
  queued: "queued";
987
986
  "in-progress": "in-progress";
988
987
  "timed-out": "timed-out";
988
+ error: "error";
989
989
  }>;
990
990
  source: z.ZodEnum<{
991
- web: "web";
992
991
  api: "api";
992
+ web: "web";
993
993
  }>;
994
994
  is_pinned_in_team: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
995
995
  created_at: z.ZodString;
996
996
  last_updated: z.ZodString;
997
997
  asset_type: z.ZodEnum<{
998
- organization: "organization";
999
- file: "file";
1000
998
  user: "user";
999
+ organization: "organization";
1001
1000
  team: "team";
1002
1001
  dataset: "dataset";
1002
+ file: "file";
1003
1003
  service: "service";
1004
1004
  route: "route";
1005
1005
  post: "post";
@@ -1025,8 +1025,8 @@ declare const RouteSchema: z.ZodObject<{
1025
1025
  responses: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
1026
1026
  input_assets: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
1027
1027
  asset_type: z.ZodEnum<{
1028
- file: "file";
1029
1028
  dataset: "dataset";
1029
+ file: "file";
1030
1030
  post: "post";
1031
1031
  }>;
1032
1032
  primary: z.ZodOptional<z.ZodBoolean>;
@@ -1042,8 +1042,8 @@ declare const RouteSchema: z.ZodObject<{
1042
1042
  contains_file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1043
1043
  }, z.core.$catchall<z.ZodAny>>>>>;
1044
1044
  input_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1045
- file: "file";
1046
1045
  dataset: "dataset";
1046
+ file: "file";
1047
1047
  post: "post";
1048
1048
  }>>>;
1049
1049
  input_filter: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -1058,8 +1058,8 @@ declare const RouteSchema: z.ZodObject<{
1058
1058
  input_file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1059
1059
  output_assets: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
1060
1060
  asset_type: z.ZodEnum<{
1061
- file: "file";
1062
1061
  dataset: "dataset";
1062
+ file: "file";
1063
1063
  post: "post";
1064
1064
  }>;
1065
1065
  primary: z.ZodOptional<z.ZodBoolean>;
@@ -1067,8 +1067,8 @@ declare const RouteSchema: z.ZodObject<{
1067
1067
  contains_file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1068
1068
  }, z.core.$catchall<z.ZodAny>>>>>;
1069
1069
  output_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1070
- file: "file";
1071
1070
  dataset: "dataset";
1071
+ file: "file";
1072
1072
  post: "post";
1073
1073
  }>>>;
1074
1074
  output_file_extension: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1209,9 +1209,9 @@ declare const ActionSchema: z.ZodObject<{
1209
1209
  none: "none";
1210
1210
  }>>;
1211
1211
  visibility: z.ZodOptional<z.ZodEnum<{
1212
+ organization: "organization";
1212
1213
  public: "public";
1213
1214
  private: "private";
1214
- organization: "organization";
1215
1215
  monetized: "monetized";
1216
1216
  inherit: "inherit";
1217
1217
  }>>;
@@ -1276,11 +1276,11 @@ declare const ActionSchema: z.ZodObject<{
1276
1276
  license_id: z.ZodString;
1277
1277
  license: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1278
1278
  asset_type: z.ZodEnum<{
1279
- organization: "organization";
1280
- file: "file";
1281
1279
  user: "user";
1280
+ organization: "organization";
1282
1281
  team: "team";
1283
1282
  dataset: "dataset";
1283
+ file: "file";
1284
1284
  service: "service";
1285
1285
  route: "route";
1286
1286
  post: "post";
@@ -1296,9 +1296,9 @@ declare const ActionSchema: z.ZodObject<{
1296
1296
  text: z.ZodString;
1297
1297
  }, z.core.$strip>>>;
1298
1298
  visibility: z.ZodEnum<{
1299
+ organization: "organization";
1299
1300
  public: "public";
1300
1301
  private: "private";
1301
- organization: "organization";
1302
1302
  monetized: "monetized";
1303
1303
  inherit: "inherit";
1304
1304
  }>;
@@ -1337,14 +1337,14 @@ declare const ActionSchema: z.ZodObject<{
1337
1337
  preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
1338
1338
  state: z.ZodEnum<{
1339
1339
  success: "success";
1340
- error: "error";
1341
1340
  queued: "queued";
1342
1341
  "in-progress": "in-progress";
1343
1342
  "timed-out": "timed-out";
1343
+ error: "error";
1344
1344
  }>;
1345
1345
  source: z.ZodEnum<{
1346
- web: "web";
1347
1346
  api: "api";
1347
+ web: "web";
1348
1348
  }>;
1349
1349
  is_pinned_in_team: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1350
1350
  created_at: z.ZodString;
@@ -1459,9 +1459,9 @@ declare const ActionSchema: z.ZodObject<{
1459
1459
  none: "none";
1460
1460
  }>>;
1461
1461
  visibility: z.ZodOptional<z.ZodEnum<{
1462
+ organization: "organization";
1462
1463
  public: "public";
1463
1464
  private: "private";
1464
- organization: "organization";
1465
1465
  monetized: "monetized";
1466
1466
  inherit: "inherit";
1467
1467
  }>>;
@@ -1526,11 +1526,11 @@ declare const ActionSchema: z.ZodObject<{
1526
1526
  license_id: z.ZodString;
1527
1527
  license: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1528
1528
  asset_type: z.ZodEnum<{
1529
- organization: "organization";
1530
- file: "file";
1531
1529
  user: "user";
1530
+ organization: "organization";
1532
1531
  team: "team";
1533
1532
  dataset: "dataset";
1533
+ file: "file";
1534
1534
  service: "service";
1535
1535
  route: "route";
1536
1536
  post: "post";
@@ -1546,9 +1546,9 @@ declare const ActionSchema: z.ZodObject<{
1546
1546
  text: z.ZodString;
1547
1547
  }, z.core.$strip>>>;
1548
1548
  visibility: z.ZodEnum<{
1549
+ organization: "organization";
1549
1550
  public: "public";
1550
1551
  private: "private";
1551
- organization: "organization";
1552
1552
  monetized: "monetized";
1553
1553
  inherit: "inherit";
1554
1554
  }>;
@@ -1587,14 +1587,14 @@ declare const ActionSchema: z.ZodObject<{
1587
1587
  preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
1588
1588
  state: z.ZodEnum<{
1589
1589
  success: "success";
1590
- error: "error";
1591
1590
  queued: "queued";
1592
1591
  "in-progress": "in-progress";
1593
1592
  "timed-out": "timed-out";
1593
+ error: "error";
1594
1594
  }>;
1595
1595
  source: z.ZodEnum<{
1596
- web: "web";
1597
1596
  api: "api";
1597
+ web: "web";
1598
1598
  }>;
1599
1599
  is_pinned_in_team: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1600
1600
  created_at: z.ZodString;
@@ -1605,10 +1605,10 @@ declare const ActionSchema: z.ZodObject<{
1605
1605
  webhook_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1606
1606
  status: z.ZodEnum<{
1607
1607
  success: "success";
1608
- error: "error";
1609
1608
  queued: "queued";
1610
1609
  "in-progress": "in-progress";
1611
1610
  "timed-out": "timed-out";
1611
+ error: "error";
1612
1612
  }>;
1613
1613
  created_at: z.ZodString;
1614
1614
  last_updated: z.ZodString;