@ourofoundation/ouro-js 3.7.7 → 3.7.8

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 (93) hide show
  1. package/dist/{chunk-F6PWGWDJ.js → chunk-3C7PGJ33.js} +2 -2
  2. package/dist/{chunk-F6PWGWDJ.js.map → chunk-3C7PGJ33.js.map} +1 -1
  3. package/dist/{chunk-HZDBAPRY.js → chunk-3OUJXTJZ.js} +2 -2
  4. package/dist/{chunk-HZDBAPRY.js.map → chunk-3OUJXTJZ.js.map} +1 -1
  5. package/dist/{chunk-SZ5PIWEE.cjs → chunk-3RFYEL3A.cjs} +2 -2
  6. package/dist/{chunk-SZ5PIWEE.cjs.map → chunk-3RFYEL3A.cjs.map} +1 -1
  7. package/dist/{chunk-SIZVKGUT.js → chunk-4NAPVNIX.js} +2 -2
  8. package/dist/{chunk-SIZVKGUT.js.map → chunk-4NAPVNIX.js.map} +1 -1
  9. package/dist/{chunk-4CXHZFX4.cjs → chunk-66AAHP6X.cjs} +2 -2
  10. package/dist/{chunk-4CXHZFX4.cjs.map → chunk-66AAHP6X.cjs.map} +1 -1
  11. package/dist/{chunk-TB7MTWMO.cjs → chunk-7YG2YDXN.cjs} +2 -2
  12. package/dist/{chunk-TB7MTWMO.cjs.map → chunk-7YG2YDXN.cjs.map} +1 -1
  13. package/dist/{chunk-4TQRYYVQ.js → chunk-ASLHRT77.js} +2 -2
  14. package/dist/{chunk-4TQRYYVQ.js.map → chunk-ASLHRT77.js.map} +1 -1
  15. package/dist/{chunk-EP5DBAZQ.cjs → chunk-B3OK6NNR.cjs} +2 -2
  16. package/dist/{chunk-EP5DBAZQ.cjs.map → chunk-B3OK6NNR.cjs.map} +1 -1
  17. package/dist/{chunk-JAVIKBEC.js → chunk-EMDUI7HF.js} +2 -2
  18. package/dist/{chunk-JAVIKBEC.js.map → chunk-EMDUI7HF.js.map} +1 -1
  19. package/dist/{chunk-BUO2Y3O3.js → chunk-KHUEMWG2.js} +2 -2
  20. package/dist/{chunk-BUO2Y3O3.js.map → chunk-KHUEMWG2.js.map} +1 -1
  21. package/dist/{chunk-ICEXKHCC.cjs → chunk-LD5G6GFH.cjs} +2 -2
  22. package/dist/{chunk-ICEXKHCC.cjs.map → chunk-LD5G6GFH.cjs.map} +1 -1
  23. package/dist/{chunk-FDCVNMMO.js → chunk-PB4XG5WM.js} +2 -2
  24. package/dist/{chunk-FDCVNMMO.js.map → chunk-PB4XG5WM.js.map} +1 -1
  25. package/dist/{chunk-2KQZYT5W.cjs → chunk-QWD7POET.cjs} +2 -2
  26. package/dist/{chunk-2KQZYT5W.cjs.map → chunk-QWD7POET.cjs.map} +1 -1
  27. package/dist/{chunk-QJ3DLN2Y.cjs → chunk-UDTRH3OQ.cjs} +2 -2
  28. package/dist/{chunk-QJ3DLN2Y.cjs.map → chunk-UDTRH3OQ.cjs.map} +1 -1
  29. package/dist/{chunk-6DS2XXIF.cjs → chunk-UVVPXYJA.cjs} +2 -2
  30. package/dist/{chunk-6DS2XXIF.cjs.map → chunk-UVVPXYJA.cjs.map} +1 -1
  31. package/dist/chunk-W6AKVS4L.cjs +2 -0
  32. package/dist/chunk-W6AKVS4L.cjs.map +1 -0
  33. package/dist/{chunk-PXT4NFAJ.cjs → chunk-W6MBAIKZ.cjs} +2 -2
  34. package/dist/{chunk-PXT4NFAJ.cjs.map → chunk-W6MBAIKZ.cjs.map} +1 -1
  35. package/dist/chunk-XVN3DFMT.js +2 -0
  36. package/dist/chunk-XVN3DFMT.js.map +1 -0
  37. package/dist/{chunk-732QBVGP.js → chunk-Y6TOO6ET.js} +2 -2
  38. package/dist/{chunk-732QBVGP.js.map → chunk-Y6TOO6ET.js.map} +1 -1
  39. package/dist/{chunk-VC4DZZ3C.js → chunk-YTIUJ72Q.js} +2 -2
  40. package/dist/{chunk-VC4DZZ3C.js.map → chunk-YTIUJ72Q.js.map} +1 -1
  41. package/dist/index.cjs +1 -1
  42. package/dist/index.js +1 -1
  43. package/dist/schema/asset-filters.d.cts +7 -7
  44. package/dist/schema/asset-filters.d.ts +7 -7
  45. package/dist/schema/assets.cjs +1 -1
  46. package/dist/schema/assets.d.cts +63 -63
  47. package/dist/schema/assets.d.ts +63 -63
  48. package/dist/schema/assets.js +1 -1
  49. package/dist/schema/comments.cjs +1 -1
  50. package/dist/schema/comments.d.cts +59 -59
  51. package/dist/schema/comments.d.ts +59 -59
  52. package/dist/schema/comments.js +1 -1
  53. package/dist/schema/common.d.cts +9 -9
  54. package/dist/schema/common.d.ts +9 -9
  55. package/dist/schema/conversations.cjs +1 -1
  56. package/dist/schema/conversations.d.cts +57 -57
  57. package/dist/schema/conversations.d.ts +57 -57
  58. package/dist/schema/conversations.js +1 -1
  59. package/dist/schema/datasets.cjs +1 -1
  60. package/dist/schema/datasets.d.cts +137 -137
  61. package/dist/schema/datasets.d.ts +137 -137
  62. package/dist/schema/datasets.js +1 -1
  63. package/dist/schema/files.cjs +1 -1
  64. package/dist/schema/files.d.cts +88 -88
  65. package/dist/schema/files.d.ts +88 -88
  66. package/dist/schema/files.js +1 -1
  67. package/dist/schema/notifications.d.cts +106 -106
  68. package/dist/schema/notifications.d.ts +106 -106
  69. package/dist/schema/posts.cjs +1 -1
  70. package/dist/schema/posts.d.cts +91 -91
  71. package/dist/schema/posts.d.ts +91 -91
  72. package/dist/schema/posts.js +1 -1
  73. package/dist/schema/quests.cjs +1 -1
  74. package/dist/schema/quests.d.cts +262 -273
  75. package/dist/schema/quests.d.ts +262 -273
  76. package/dist/schema/quests.js +1 -1
  77. package/dist/schema/services.cjs +1 -1
  78. package/dist/schema/services.d.cts +132 -132
  79. package/dist/schema/services.d.ts +132 -132
  80. package/dist/schema/services.js +1 -1
  81. package/dist/schema/teams.cjs +1 -1
  82. package/dist/schema/teams.d.cts +15 -15
  83. package/dist/schema/teams.d.ts +15 -15
  84. package/dist/schema/teams.js +1 -1
  85. package/dist/utils/quest-submission.cjs +1 -1
  86. package/dist/utils/quest-submission.d.cts +4 -4
  87. package/dist/utils/quest-submission.d.ts +4 -4
  88. package/dist/utils/quest-submission.js +1 -1
  89. package/package.json +1 -1
  90. package/dist/chunk-BTHFK5MC.js +0 -2
  91. package/dist/chunk-BTHFK5MC.js.map +0 -1
  92. package/dist/chunk-ZTTLI5V5.cjs +0 -2
  93. package/dist/chunk-ZTTLI5V5.cjs.map +0 -1
@@ -243,24 +243,24 @@ declare const ServiceSchema: z.ZodObject<{
243
243
  preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
244
244
  state: z.ZodEnum<{
245
245
  success: "success";
246
+ error: "error";
246
247
  queued: "queued";
247
248
  "in-progress": "in-progress";
248
249
  "timed-out": "timed-out";
249
- error: "error";
250
250
  }>;
251
251
  source: z.ZodEnum<{
252
- api: "api";
253
252
  web: "web";
253
+ api: "api";
254
254
  }>;
255
255
  is_pinned_in_team: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
256
256
  created_at: z.ZodString;
257
257
  last_updated: z.ZodString;
258
258
  asset_type: z.ZodEnum<{
259
259
  user: "user";
260
+ file: "file";
260
261
  organization: "organization";
261
262
  team: "team";
262
263
  dataset: "dataset";
263
- file: "file";
264
264
  service: "service";
265
265
  route: "route";
266
266
  post: "post";
@@ -285,16 +285,16 @@ declare const ServiceSchema: z.ZodObject<{
285
285
  }, z.core.$strip>;
286
286
  }, z.core.$strip>;
287
287
  declare const CreateServiceSchema: z.ZodPipe<z.ZodObject<{
288
- parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
289
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
290
- json: z.ZodRecord<z.ZodString, z.ZodAny>;
291
- text: z.ZodString;
292
- }, z.core.$strip>>>>;
293
288
  monetization: z.ZodOptional<z.ZodEnum<{
294
289
  none: "none";
295
290
  "pay-to-unlock": "pay-to-unlock";
296
291
  "pay-per-use": "pay-per-use";
297
292
  }>>;
293
+ parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
294
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
295
+ json: z.ZodRecord<z.ZodString, z.ZodAny>;
296
+ text: z.ZodString;
297
+ }, z.core.$strip>>>>;
298
298
  parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
299
299
  license_id: z.ZodOptional<z.ZodString>;
300
300
  price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
@@ -319,14 +319,14 @@ declare const CreateServiceSchema: z.ZodPipe<z.ZodObject<{
319
319
  name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
320
320
  state: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
321
321
  success: "success";
322
+ error: "error";
322
323
  queued: "queued";
323
324
  "in-progress": "in-progress";
324
325
  "timed-out": "timed-out";
325
- error: "error";
326
326
  }>>>;
327
327
  source: z.ZodDefault<z.ZodEnum<{
328
- api: "api";
329
328
  web: "web";
329
+ api: "api";
330
330
  }>>;
331
331
  visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
332
332
  organization: "organization";
@@ -404,10 +404,10 @@ declare const CreateServiceSchema: z.ZodPipe<z.ZodObject<{
404
404
  last_updated: z.ZodDefault<z.ZodString>;
405
405
  asset_type: z.ZodEnum<{
406
406
  user: "user";
407
+ file: "file";
407
408
  organization: "organization";
408
409
  team: "team";
409
410
  dataset: "dataset";
410
- file: "file";
411
411
  service: "service";
412
412
  route: "route";
413
413
  post: "post";
@@ -435,8 +435,8 @@ declare const CreateServiceSchema: z.ZodPipe<z.ZodObject<{
435
435
  team_id: string | null;
436
436
  org_id: string | null;
437
437
  name: string;
438
- state: "success" | "queued" | "in-progress" | "timed-out" | "error";
439
- source: "api" | "web";
438
+ state: "success" | "error" | "queued" | "in-progress" | "timed-out";
439
+ source: "web" | "api";
440
440
  visibility: "organization" | "public" | "private" | "monetized" | "inherit";
441
441
  attribution: {
442
442
  originality: "original" | "derivative" | "third-party";
@@ -459,7 +459,7 @@ declare const CreateServiceSchema: z.ZodPipe<z.ZodObject<{
459
459
  };
460
460
  created_at: string;
461
461
  last_updated: string;
462
- asset_type: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "quest" | "comment" | "conversation";
462
+ asset_type: "user" | "file" | "organization" | "team" | "dataset" | "service" | "route" | "post" | "quest" | "comment" | "conversation";
463
463
  metadata: {
464
464
  authentication: "Personal Access Token" | "Ouro" | "None" | "OAuth 2.0";
465
465
  base_url: string;
@@ -470,12 +470,12 @@ declare const CreateServiceSchema: z.ZodPipe<z.ZodObject<{
470
470
  source?: string | null | undefined;
471
471
  reply_to_comment_id?: string | null | undefined;
472
472
  };
473
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
473
474
  parent?: Record<string, any> | undefined;
474
475
  description?: {
475
476
  json: Record<string, any>;
476
477
  text: string;
477
478
  } | null | undefined;
478
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
479
479
  parent_id?: string | null | undefined;
480
480
  license_id?: string | undefined;
481
481
  price?: number | null | undefined;
@@ -493,8 +493,8 @@ declare const CreateServiceSchema: z.ZodPipe<z.ZodObject<{
493
493
  team_id: string | null;
494
494
  org_id: string | null;
495
495
  name: string;
496
- state: "success" | "queued" | "in-progress" | "timed-out" | "error";
497
- source: "api" | "web";
496
+ state: "success" | "error" | "queued" | "in-progress" | "timed-out";
497
+ source: "web" | "api";
498
498
  visibility: "organization" | "public" | "private" | "monetized" | "inherit";
499
499
  attribution: {
500
500
  originality: "original" | "derivative" | "third-party";
@@ -517,7 +517,7 @@ declare const CreateServiceSchema: z.ZodPipe<z.ZodObject<{
517
517
  };
518
518
  created_at: string;
519
519
  last_updated: string;
520
- asset_type: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "quest" | "comment" | "conversation";
520
+ asset_type: "user" | "file" | "organization" | "team" | "dataset" | "service" | "route" | "post" | "quest" | "comment" | "conversation";
521
521
  metadata: {
522
522
  authentication: "Personal Access Token" | "Ouro" | "None" | "OAuth 2.0";
523
523
  base_url: string;
@@ -528,12 +528,12 @@ declare const CreateServiceSchema: z.ZodPipe<z.ZodObject<{
528
528
  source?: string | null | undefined;
529
529
  reply_to_comment_id?: string | null | undefined;
530
530
  };
531
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
531
532
  parent?: Record<string, any> | undefined;
532
533
  description?: {
533
534
  json: Record<string, any>;
534
535
  text: string;
535
536
  } | null | undefined;
536
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
537
537
  parent_id?: string | null | undefined;
538
538
  license_id?: string | undefined;
539
539
  price?: number | null | undefined;
@@ -550,10 +550,10 @@ declare const CreateServiceSchema: z.ZodPipe<z.ZodObject<{
550
550
  declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
551
551
  asset_type: z.ZodOptional<z.ZodEnum<{
552
552
  user: "user";
553
+ file: "file";
553
554
  organization: "organization";
554
555
  team: "team";
555
556
  dataset: "dataset";
556
- file: "file";
557
557
  service: "service";
558
558
  route: "route";
559
559
  post: "post";
@@ -561,25 +561,6 @@ declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
561
561
  comment: "comment";
562
562
  conversation: "conversation";
563
563
  }>>;
564
- org_id: z.ZodOptional<z.ZodUUID>;
565
- parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
566
- metadata: z.ZodOptional<z.ZodObject<{
567
- authentication: z.ZodEnum<{
568
- "Personal Access Token": "Personal Access Token";
569
- Ouro: "Ouro";
570
- None: "None";
571
- "OAuth 2.0": "OAuth 2.0";
572
- }>;
573
- base_url: z.ZodString;
574
- version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
575
- spec_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
576
- spec_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
577
- auth_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
578
- source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
579
- reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
580
- }, z.core.$strip>>;
581
- name: z.ZodOptional<z.ZodString>;
582
- team_id: z.ZodOptional<z.ZodUUID>;
583
564
  visibility: z.ZodOptional<z.ZodEnum<{
584
565
  organization: "organization";
585
566
  public: "public";
@@ -587,14 +568,6 @@ declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
587
568
  monetized: "monetized";
588
569
  inherit: "inherit";
589
570
  }>>;
590
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
591
- json: z.ZodRecord<z.ZodString, z.ZodAny>;
592
- text: z.ZodString;
593
- }, z.core.$strip>>>>;
594
- source: z.ZodOptional<z.ZodEnum<{
595
- api: "api";
596
- web: "web";
597
- }>>;
598
571
  monetization: z.ZodOptional<z.ZodEnum<{
599
572
  none: "none";
600
573
  "pay-to-unlock": "pay-to-unlock";
@@ -631,11 +604,23 @@ declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
631
604
  }, z.core.$strip>>;
632
605
  state: z.ZodOptional<z.ZodEnum<{
633
606
  success: "success";
607
+ error: "error";
634
608
  queued: "queued";
635
609
  "in-progress": "in-progress";
636
610
  "timed-out": "timed-out";
637
- error: "error";
638
611
  }>>;
612
+ source: z.ZodOptional<z.ZodEnum<{
613
+ web: "web";
614
+ api: "api";
615
+ }>>;
616
+ parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
617
+ name: z.ZodOptional<z.ZodString>;
618
+ org_id: z.ZodOptional<z.ZodUUID>;
619
+ team_id: z.ZodOptional<z.ZodUUID>;
620
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
621
+ json: z.ZodRecord<z.ZodString, z.ZodAny>;
622
+ text: z.ZodString;
623
+ }, z.core.$strip>>>>;
639
624
  parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
640
625
  license_id: z.ZodOptional<z.ZodString>;
641
626
  license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
@@ -654,31 +639,27 @@ declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
654
639
  stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
655
640
  stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
656
641
  stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
642
+ metadata: z.ZodOptional<z.ZodObject<{
643
+ authentication: z.ZodEnum<{
644
+ "Personal Access Token": "Personal Access Token";
645
+ Ouro: "Ouro";
646
+ None: "None";
647
+ "OAuth 2.0": "OAuth 2.0";
648
+ }>;
649
+ base_url: z.ZodString;
650
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
651
+ spec_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
652
+ spec_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
653
+ auth_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
654
+ source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
655
+ reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
656
+ }, z.core.$strip>>;
657
657
  preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>>;
658
658
  last_updated: z.ZodDefault<z.ZodString>;
659
659
  }, z.core.$strip>, z.ZodTransform<{
660
660
  last_updated: string;
661
- asset_type?: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | undefined;
662
- org_id?: string | undefined;
663
- parent?: Record<string, any> | undefined;
664
- metadata?: {
665
- authentication: "Personal Access Token" | "Ouro" | "None" | "OAuth 2.0";
666
- base_url: string;
667
- version?: string | null | undefined;
668
- spec_path?: string | null | undefined;
669
- spec_url?: string | null | undefined;
670
- auth_url?: string | null | undefined;
671
- source?: string | null | undefined;
672
- reply_to_comment_id?: string | null | undefined;
673
- } | undefined;
674
- name?: string | undefined;
675
- team_id?: string | undefined;
661
+ asset_type?: "user" | "file" | "organization" | "team" | "dataset" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | undefined;
676
662
  visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
677
- description?: {
678
- json: Record<string, any>;
679
- text: string;
680
- } | null | undefined;
681
- source?: "api" | "web" | undefined;
682
663
  monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
683
664
  attribution?: {
684
665
  originality: "original" | "derivative" | "third-party";
@@ -699,7 +680,16 @@ declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
699
680
  relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
700
681
  doi?: string | null | undefined;
701
682
  } | undefined;
702
- state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
683
+ state?: "success" | "error" | "queued" | "in-progress" | "timed-out" | undefined;
684
+ source?: "web" | "api" | undefined;
685
+ parent?: Record<string, any> | undefined;
686
+ name?: string | undefined;
687
+ org_id?: string | undefined;
688
+ team_id?: string | undefined;
689
+ description?: {
690
+ json: Record<string, any>;
691
+ text: string;
692
+ } | null | undefined;
703
693
  parent_id?: string | null | undefined;
704
694
  license_id?: string | undefined;
705
695
  license?: Record<string, any> | undefined;
@@ -712,12 +702,6 @@ declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
712
702
  stripe_product_id?: string | null | undefined;
713
703
  stripe_price_id?: string | null | undefined;
714
704
  stripe_meter_id?: string | null | undefined;
715
- preview?: Record<string, any>[] | null | undefined;
716
- }, {
717
- last_updated: string;
718
- asset_type?: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | undefined;
719
- org_id?: string | undefined;
720
- parent?: Record<string, any> | undefined;
721
705
  metadata?: {
722
706
  authentication: "Personal Access Token" | "Ouro" | "None" | "OAuth 2.0";
723
707
  base_url: string;
@@ -728,14 +712,11 @@ declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
728
712
  source?: string | null | undefined;
729
713
  reply_to_comment_id?: string | null | undefined;
730
714
  } | undefined;
731
- name?: string | undefined;
732
- team_id?: string | undefined;
715
+ preview?: Record<string, any>[] | null | undefined;
716
+ }, {
717
+ last_updated: string;
718
+ asset_type?: "user" | "file" | "organization" | "team" | "dataset" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | undefined;
733
719
  visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
734
- description?: {
735
- json: Record<string, any>;
736
- text: string;
737
- } | null | undefined;
738
- source?: "api" | "web" | undefined;
739
720
  monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
740
721
  attribution?: {
741
722
  originality: "original" | "derivative" | "third-party";
@@ -756,7 +737,16 @@ declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
756
737
  relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
757
738
  doi?: string | null | undefined;
758
739
  } | undefined;
759
- state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
740
+ state?: "success" | "error" | "queued" | "in-progress" | "timed-out" | undefined;
741
+ source?: "web" | "api" | undefined;
742
+ parent?: Record<string, any> | undefined;
743
+ name?: string | undefined;
744
+ org_id?: string | undefined;
745
+ team_id?: string | undefined;
746
+ description?: {
747
+ json: Record<string, any>;
748
+ text: string;
749
+ } | null | undefined;
760
750
  parent_id?: string | null | undefined;
761
751
  license_id?: string | undefined;
762
752
  license?: Record<string, any> | undefined;
@@ -769,6 +759,16 @@ declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
769
759
  stripe_product_id?: string | null | undefined;
770
760
  stripe_price_id?: string | null | undefined;
771
761
  stripe_meter_id?: string | null | undefined;
762
+ metadata?: {
763
+ authentication: "Personal Access Token" | "Ouro" | "None" | "OAuth 2.0";
764
+ base_url: string;
765
+ version?: string | null | undefined;
766
+ spec_path?: string | null | undefined;
767
+ spec_url?: string | null | undefined;
768
+ auth_url?: string | null | undefined;
769
+ source?: string | null | undefined;
770
+ reply_to_comment_id?: string | null | undefined;
771
+ } | undefined;
772
772
  preview?: Record<string, any>[] | null | undefined;
773
773
  }>>;
774
774
  declare const ExecutionModeSchema: z.ZodEnum<{
@@ -777,8 +777,8 @@ declare const ExecutionModeSchema: z.ZodEnum<{
777
777
  }>;
778
778
  declare const RouteInputAssetDeclarationSchema: z.ZodObject<{
779
779
  asset_type: z.ZodEnum<{
780
- dataset: "dataset";
781
780
  file: "file";
781
+ dataset: "dataset";
782
782
  post: "post";
783
783
  }>;
784
784
  primary: z.ZodOptional<z.ZodBoolean>;
@@ -795,8 +795,8 @@ declare const RouteInputAssetDeclarationSchema: z.ZodObject<{
795
795
  }, z.core.$catchall<z.ZodAny>>;
796
796
  declare const RouteOutputAssetDeclarationSchema: z.ZodObject<{
797
797
  asset_type: z.ZodEnum<{
798
- dataset: "dataset";
799
798
  file: "file";
799
+ dataset: "dataset";
800
800
  post: "post";
801
801
  }>;
802
802
  primary: z.ZodOptional<z.ZodBoolean>;
@@ -805,8 +805,8 @@ declare const RouteOutputAssetDeclarationSchema: z.ZodObject<{
805
805
  }, z.core.$catchall<z.ZodAny>>;
806
806
  declare const RouteInputAssetsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
807
807
  asset_type: z.ZodEnum<{
808
- dataset: "dataset";
809
808
  file: "file";
809
+ dataset: "dataset";
810
810
  post: "post";
811
811
  }>;
812
812
  primary: z.ZodOptional<z.ZodBoolean>;
@@ -823,8 +823,8 @@ declare const RouteInputAssetsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
823
823
  }, z.core.$catchall<z.ZodAny>>>;
824
824
  declare const RouteOutputAssetsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
825
825
  asset_type: z.ZodEnum<{
826
- dataset: "dataset";
827
826
  file: "file";
827
+ dataset: "dataset";
828
828
  post: "post";
829
829
  }>;
830
830
  primary: z.ZodOptional<z.ZodBoolean>;
@@ -849,8 +849,8 @@ declare const RouteDetailSchema: z.ZodObject<{
849
849
  responses: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
850
850
  input_assets: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
851
851
  asset_type: z.ZodEnum<{
852
- dataset: "dataset";
853
852
  file: "file";
853
+ dataset: "dataset";
854
854
  post: "post";
855
855
  }>;
856
856
  primary: z.ZodOptional<z.ZodBoolean>;
@@ -866,8 +866,8 @@ declare const RouteDetailSchema: z.ZodObject<{
866
866
  contains_file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
867
867
  }, z.core.$catchall<z.ZodAny>>>>>;
868
868
  input_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
869
- dataset: "dataset";
870
869
  file: "file";
870
+ dataset: "dataset";
871
871
  post: "post";
872
872
  }>>>;
873
873
  input_filter: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -882,8 +882,8 @@ declare const RouteDetailSchema: z.ZodObject<{
882
882
  input_file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
883
883
  output_assets: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
884
884
  asset_type: z.ZodEnum<{
885
- dataset: "dataset";
886
885
  file: "file";
886
+ dataset: "dataset";
887
887
  post: "post";
888
888
  }>;
889
889
  primary: z.ZodOptional<z.ZodBoolean>;
@@ -891,8 +891,8 @@ declare const RouteDetailSchema: z.ZodObject<{
891
891
  contains_file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
892
892
  }, z.core.$catchall<z.ZodAny>>>>>;
893
893
  output_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
894
- dataset: "dataset";
895
894
  file: "file";
895
+ dataset: "dataset";
896
896
  post: "post";
897
897
  }>>>;
898
898
  output_file_extension: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1162,24 +1162,24 @@ declare const RouteSchema: z.ZodObject<{
1162
1162
  preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
1163
1163
  state: z.ZodEnum<{
1164
1164
  success: "success";
1165
+ error: "error";
1165
1166
  queued: "queued";
1166
1167
  "in-progress": "in-progress";
1167
1168
  "timed-out": "timed-out";
1168
- error: "error";
1169
1169
  }>;
1170
1170
  source: z.ZodEnum<{
1171
- api: "api";
1172
1171
  web: "web";
1172
+ api: "api";
1173
1173
  }>;
1174
1174
  is_pinned_in_team: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1175
1175
  created_at: z.ZodString;
1176
1176
  last_updated: z.ZodString;
1177
1177
  asset_type: z.ZodEnum<{
1178
1178
  user: "user";
1179
+ file: "file";
1179
1180
  organization: "organization";
1180
1181
  team: "team";
1181
1182
  dataset: "dataset";
1182
- file: "file";
1183
1183
  service: "service";
1184
1184
  route: "route";
1185
1185
  post: "post";
@@ -1205,8 +1205,8 @@ declare const RouteSchema: z.ZodObject<{
1205
1205
  responses: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
1206
1206
  input_assets: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
1207
1207
  asset_type: z.ZodEnum<{
1208
- dataset: "dataset";
1209
1208
  file: "file";
1209
+ dataset: "dataset";
1210
1210
  post: "post";
1211
1211
  }>;
1212
1212
  primary: z.ZodOptional<z.ZodBoolean>;
@@ -1222,8 +1222,8 @@ declare const RouteSchema: z.ZodObject<{
1222
1222
  contains_file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1223
1223
  }, z.core.$catchall<z.ZodAny>>>>>;
1224
1224
  input_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1225
- dataset: "dataset";
1226
1225
  file: "file";
1226
+ dataset: "dataset";
1227
1227
  post: "post";
1228
1228
  }>>>;
1229
1229
  input_filter: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -1238,8 +1238,8 @@ declare const RouteSchema: z.ZodObject<{
1238
1238
  input_file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1239
1239
  output_assets: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
1240
1240
  asset_type: z.ZodEnum<{
1241
- dataset: "dataset";
1242
1241
  file: "file";
1242
+ dataset: "dataset";
1243
1243
  post: "post";
1244
1244
  }>;
1245
1245
  primary: z.ZodOptional<z.ZodBoolean>;
@@ -1247,8 +1247,8 @@ declare const RouteSchema: z.ZodObject<{
1247
1247
  contains_file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1248
1248
  }, z.core.$catchall<z.ZodAny>>>>>;
1249
1249
  output_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1250
- dataset: "dataset";
1251
1250
  file: "file";
1251
+ dataset: "dataset";
1252
1252
  post: "post";
1253
1253
  }>>>;
1254
1254
  output_file_extension: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1461,10 +1461,10 @@ declare const ActionSchema: z.ZodObject<{
1461
1461
  license: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1462
1462
  asset_type: z.ZodEnum<{
1463
1463
  user: "user";
1464
+ file: "file";
1464
1465
  organization: "organization";
1465
1466
  team: "team";
1466
1467
  dataset: "dataset";
1467
- file: "file";
1468
1468
  service: "service";
1469
1469
  route: "route";
1470
1470
  post: "post";
@@ -1541,14 +1541,14 @@ declare const ActionSchema: z.ZodObject<{
1541
1541
  preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
1542
1542
  state: z.ZodEnum<{
1543
1543
  success: "success";
1544
+ error: "error";
1544
1545
  queued: "queued";
1545
1546
  "in-progress": "in-progress";
1546
1547
  "timed-out": "timed-out";
1547
- error: "error";
1548
1548
  }>;
1549
1549
  source: z.ZodEnum<{
1550
- api: "api";
1551
1550
  web: "web";
1551
+ api: "api";
1552
1552
  }>;
1553
1553
  is_pinned_in_team: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1554
1554
  created_at: z.ZodString;
@@ -1735,10 +1735,10 @@ declare const ActionSchema: z.ZodObject<{
1735
1735
  license: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1736
1736
  asset_type: z.ZodEnum<{
1737
1737
  user: "user";
1738
+ file: "file";
1738
1739
  organization: "organization";
1739
1740
  team: "team";
1740
1741
  dataset: "dataset";
1741
- file: "file";
1742
1742
  service: "service";
1743
1743
  route: "route";
1744
1744
  post: "post";
@@ -1815,14 +1815,14 @@ declare const ActionSchema: z.ZodObject<{
1815
1815
  preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
1816
1816
  state: z.ZodEnum<{
1817
1817
  success: "success";
1818
+ error: "error";
1818
1819
  queued: "queued";
1819
1820
  "in-progress": "in-progress";
1820
1821
  "timed-out": "timed-out";
1821
- error: "error";
1822
1822
  }>;
1823
1823
  source: z.ZodEnum<{
1824
- api: "api";
1825
1824
  web: "web";
1825
+ api: "api";
1826
1826
  }>;
1827
1827
  is_pinned_in_team: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1828
1828
  created_at: z.ZodString;
@@ -1833,10 +1833,10 @@ declare const ActionSchema: z.ZodObject<{
1833
1833
  webhook_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1834
1834
  status: z.ZodEnum<{
1835
1835
  success: "success";
1836
+ error: "error";
1836
1837
  queued: "queued";
1837
1838
  "in-progress": "in-progress";
1838
1839
  "timed-out": "timed-out";
1839
- error: "error";
1840
1840
  }>;
1841
1841
  created_at: z.ZodString;
1842
1842
  last_updated: z.ZodString;
@@ -1854,10 +1854,10 @@ declare const ActionAssetRefSchema: z.ZodObject<{
1854
1854
  asset_id: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
1855
1855
  asset_type: z.ZodOptional<z.ZodEnum<{
1856
1856
  user: "user";
1857
+ file: "file";
1857
1858
  organization: "organization";
1858
1859
  team: "team";
1859
1860
  dataset: "dataset";
1860
- file: "file";
1861
1861
  service: "service";
1862
1862
  route: "route";
1863
1863
  post: "post";
@@ -2046,10 +2046,10 @@ declare const ActionAssetRefSchema: z.ZodObject<{
2046
2046
  license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
2047
2047
  asset_type: z.ZodOptional<z.ZodEnum<{
2048
2048
  user: "user";
2049
+ file: "file";
2049
2050
  organization: "organization";
2050
2051
  team: "team";
2051
2052
  dataset: "dataset";
2052
- file: "file";
2053
2053
  service: "service";
2054
2054
  route: "route";
2055
2055
  post: "post";
@@ -2126,14 +2126,14 @@ declare const ActionAssetRefSchema: z.ZodObject<{
2126
2126
  preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>>;
2127
2127
  state: z.ZodOptional<z.ZodEnum<{
2128
2128
  success: "success";
2129
+ error: "error";
2129
2130
  queued: "queued";
2130
2131
  "in-progress": "in-progress";
2131
2132
  "timed-out": "timed-out";
2132
- error: "error";
2133
2133
  }>>;
2134
2134
  source: z.ZodOptional<z.ZodEnum<{
2135
- api: "api";
2136
2135
  web: "web";
2136
+ api: "api";
2137
2137
  }>>;
2138
2138
  is_pinned_in_team: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
2139
2139
  created_at: z.ZodOptional<z.ZodString>;
@@ -2321,10 +2321,10 @@ declare const ReadActionRouteSchema: z.ZodObject<{
2321
2321
  license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
2322
2322
  asset_type: z.ZodOptional<z.ZodEnum<{
2323
2323
  user: "user";
2324
+ file: "file";
2324
2325
  organization: "organization";
2325
2326
  team: "team";
2326
2327
  dataset: "dataset";
2327
- file: "file";
2328
2328
  service: "service";
2329
2329
  route: "route";
2330
2330
  post: "post";
@@ -2401,14 +2401,14 @@ declare const ReadActionRouteSchema: z.ZodObject<{
2401
2401
  preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>>;
2402
2402
  state: z.ZodOptional<z.ZodEnum<{
2403
2403
  success: "success";
2404
+ error: "error";
2404
2405
  queued: "queued";
2405
2406
  "in-progress": "in-progress";
2406
2407
  "timed-out": "timed-out";
2407
- error: "error";
2408
2408
  }>>;
2409
2409
  source: z.ZodOptional<z.ZodEnum<{
2410
- api: "api";
2411
2410
  web: "web";
2411
+ api: "api";
2412
2412
  }>>;
2413
2413
  is_pinned_in_team: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
2414
2414
  created_at: z.ZodOptional<z.ZodString>;
@@ -2416,10 +2416,10 @@ declare const ReadActionRouteSchema: z.ZodObject<{
2416
2416
  route: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2417
2417
  output_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
2418
2418
  user: "user";
2419
+ file: "file";
2419
2420
  organization: "organization";
2420
2421
  team: "team";
2421
2422
  dataset: "dataset";
2422
- file: "file";
2423
2423
  service: "service";
2424
2424
  route: "route";
2425
2425
  post: "post";
@@ -2622,10 +2622,10 @@ declare const ReadActionSchema: z.ZodObject<{
2622
2622
  license: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2623
2623
  asset_type: z.ZodEnum<{
2624
2624
  user: "user";
2625
+ file: "file";
2625
2626
  organization: "organization";
2626
2627
  team: "team";
2627
2628
  dataset: "dataset";
2628
- file: "file";
2629
2629
  service: "service";
2630
2630
  route: "route";
2631
2631
  post: "post";
@@ -2702,14 +2702,14 @@ declare const ReadActionSchema: z.ZodObject<{
2702
2702
  preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
2703
2703
  state: z.ZodEnum<{
2704
2704
  success: "success";
2705
+ error: "error";
2705
2706
  queued: "queued";
2706
2707
  "in-progress": "in-progress";
2707
2708
  "timed-out": "timed-out";
2708
- error: "error";
2709
2709
  }>;
2710
2710
  source: z.ZodEnum<{
2711
- api: "api";
2712
2711
  web: "web";
2712
+ api: "api";
2713
2713
  }>;
2714
2714
  is_pinned_in_team: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2715
2715
  created_at: z.ZodString;
@@ -2895,10 +2895,10 @@ declare const ReadActionSchema: z.ZodObject<{
2895
2895
  license: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2896
2896
  asset_type: z.ZodEnum<{
2897
2897
  user: "user";
2898
+ file: "file";
2898
2899
  organization: "organization";
2899
2900
  team: "team";
2900
2901
  dataset: "dataset";
2901
- file: "file";
2902
2902
  service: "service";
2903
2903
  route: "route";
2904
2904
  post: "post";
@@ -2975,14 +2975,14 @@ declare const ReadActionSchema: z.ZodObject<{
2975
2975
  preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
2976
2976
  state: z.ZodEnum<{
2977
2977
  success: "success";
2978
+ error: "error";
2978
2979
  queued: "queued";
2979
2980
  "in-progress": "in-progress";
2980
2981
  "timed-out": "timed-out";
2981
- error: "error";
2982
2982
  }>;
2983
2983
  source: z.ZodEnum<{
2984
- api: "api";
2985
2984
  web: "web";
2985
+ api: "api";
2986
2986
  }>;
2987
2987
  is_pinned_in_team: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2988
2988
  created_at: z.ZodString;
@@ -2992,10 +2992,10 @@ declare const ReadActionSchema: z.ZodObject<{
2992
2992
  webhook_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2993
2993
  status: z.ZodEnum<{
2994
2994
  success: "success";
2995
+ error: "error";
2995
2996
  queued: "queued";
2996
2997
  "in-progress": "in-progress";
2997
2998
  "timed-out": "timed-out";
2998
- error: "error";
2999
2999
  }>;
3000
3000
  created_at: z.ZodString;
3001
3001
  last_updated: z.ZodString;
@@ -3209,10 +3209,10 @@ declare const ReadActionSchema: z.ZodObject<{
3209
3209
  license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
3210
3210
  asset_type: z.ZodOptional<z.ZodEnum<{
3211
3211
  user: "user";
3212
+ file: "file";
3212
3213
  organization: "organization";
3213
3214
  team: "team";
3214
3215
  dataset: "dataset";
3215
- file: "file";
3216
3216
  service: "service";
3217
3217
  route: "route";
3218
3218
  post: "post";
@@ -3289,14 +3289,14 @@ declare const ReadActionSchema: z.ZodObject<{
3289
3289
  preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>>;
3290
3290
  state: z.ZodOptional<z.ZodEnum<{
3291
3291
  success: "success";
3292
+ error: "error";
3292
3293
  queued: "queued";
3293
3294
  "in-progress": "in-progress";
3294
3295
  "timed-out": "timed-out";
3295
- error: "error";
3296
3296
  }>>;
3297
3297
  source: z.ZodOptional<z.ZodEnum<{
3298
- api: "api";
3299
3298
  web: "web";
3299
+ api: "api";
3300
3300
  }>>;
3301
3301
  is_pinned_in_team: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
3302
3302
  created_at: z.ZodOptional<z.ZodString>;
@@ -3304,10 +3304,10 @@ declare const ReadActionSchema: z.ZodObject<{
3304
3304
  route: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3305
3305
  output_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
3306
3306
  user: "user";
3307
+ file: "file";
3307
3308
  organization: "organization";
3308
3309
  team: "team";
3309
3310
  dataset: "dataset";
3310
- file: "file";
3311
3311
  service: "service";
3312
3312
  route: "route";
3313
3313
  post: "post";
@@ -3325,10 +3325,10 @@ declare const ReadActionSchema: z.ZodObject<{
3325
3325
  asset_id: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
3326
3326
  asset_type: z.ZodOptional<z.ZodEnum<{
3327
3327
  user: "user";
3328
+ file: "file";
3328
3329
  organization: "organization";
3329
3330
  team: "team";
3330
3331
  dataset: "dataset";
3331
- file: "file";
3332
3332
  service: "service";
3333
3333
  route: "route";
3334
3334
  post: "post";
@@ -3517,10 +3517,10 @@ declare const ReadActionSchema: z.ZodObject<{
3517
3517
  license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
3518
3518
  asset_type: z.ZodOptional<z.ZodEnum<{
3519
3519
  user: "user";
3520
+ file: "file";
3520
3521
  organization: "organization";
3521
3522
  team: "team";
3522
3523
  dataset: "dataset";
3523
- file: "file";
3524
3524
  service: "service";
3525
3525
  route: "route";
3526
3526
  post: "post";
@@ -3597,14 +3597,14 @@ declare const ReadActionSchema: z.ZodObject<{
3597
3597
  preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>>;
3598
3598
  state: z.ZodOptional<z.ZodEnum<{
3599
3599
  success: "success";
3600
+ error: "error";
3600
3601
  queued: "queued";
3601
3602
  "in-progress": "in-progress";
3602
3603
  "timed-out": "timed-out";
3603
- error: "error";
3604
3604
  }>>;
3605
3605
  source: z.ZodOptional<z.ZodEnum<{
3606
- api: "api";
3607
3606
  web: "web";
3607
+ api: "api";
3608
3608
  }>>;
3609
3609
  is_pinned_in_team: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
3610
3610
  created_at: z.ZodOptional<z.ZodString>;
@@ -3616,10 +3616,10 @@ declare const ReadActionSchema: z.ZodObject<{
3616
3616
  asset_id: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
3617
3617
  asset_type: z.ZodOptional<z.ZodEnum<{
3618
3618
  user: "user";
3619
+ file: "file";
3619
3620
  organization: "organization";
3620
3621
  team: "team";
3621
3622
  dataset: "dataset";
3622
- file: "file";
3623
3623
  service: "service";
3624
3624
  route: "route";
3625
3625
  post: "post";
@@ -3808,10 +3808,10 @@ declare const ReadActionSchema: z.ZodObject<{
3808
3808
  license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
3809
3809
  asset_type: z.ZodOptional<z.ZodEnum<{
3810
3810
  user: "user";
3811
+ file: "file";
3811
3812
  organization: "organization";
3812
3813
  team: "team";
3813
3814
  dataset: "dataset";
3814
- file: "file";
3815
3815
  service: "service";
3816
3816
  route: "route";
3817
3817
  post: "post";
@@ -3888,14 +3888,14 @@ declare const ReadActionSchema: z.ZodObject<{
3888
3888
  preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>>;
3889
3889
  state: z.ZodOptional<z.ZodEnum<{
3890
3890
  success: "success";
3891
+ error: "error";
3891
3892
  queued: "queued";
3892
3893
  "in-progress": "in-progress";
3893
3894
  "timed-out": "timed-out";
3894
- error: "error";
3895
3895
  }>>;
3896
3896
  source: z.ZodOptional<z.ZodEnum<{
3897
- api: "api";
3898
3897
  web: "web";
3898
+ api: "api";
3899
3899
  }>>;
3900
3900
  is_pinned_in_team: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
3901
3901
  created_at: z.ZodOptional<z.ZodString>;