@ourofoundation/ouro-js 3.4.0 → 3.5.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.
Files changed (99) hide show
  1. package/dist/chunk-3UWDQLTN.js +2 -0
  2. package/dist/chunk-3UWDQLTN.js.map +1 -0
  3. package/dist/chunk-6FG474SV.cjs +2 -0
  4. package/dist/chunk-6FG474SV.cjs.map +1 -0
  5. package/dist/{chunk-BQ5WODME.cjs → chunk-6XQFD2Z2.cjs} +2 -2
  6. package/dist/{chunk-BQ5WODME.cjs.map → chunk-6XQFD2Z2.cjs.map} +1 -1
  7. package/dist/chunk-DC6TYS3A.cjs +2 -0
  8. package/dist/chunk-DC6TYS3A.cjs.map +1 -0
  9. package/dist/chunk-EK5P7FST.js +2 -0
  10. package/dist/chunk-EK5P7FST.js.map +1 -0
  11. package/dist/{chunk-QT3A4ULM.cjs → chunk-FRMPLGE4.cjs} +2 -2
  12. package/dist/{chunk-QT3A4ULM.cjs.map → chunk-FRMPLGE4.cjs.map} +1 -1
  13. package/dist/{chunk-6YF2RSXS.js → chunk-G3VMEPTP.js} +2 -2
  14. package/dist/{chunk-6YF2RSXS.js.map → chunk-G3VMEPTP.js.map} +1 -1
  15. package/dist/chunk-HN7Y7VMJ.cjs +2 -0
  16. package/dist/chunk-HN7Y7VMJ.cjs.map +1 -0
  17. package/dist/chunk-M2JJPDBW.js +2 -0
  18. package/dist/chunk-M2JJPDBW.js.map +1 -0
  19. package/dist/chunk-NJQ5YWYJ.cjs +2 -0
  20. package/dist/{chunk-NEINJFFK.cjs.map → chunk-NJQ5YWYJ.cjs.map} +1 -1
  21. package/dist/chunk-OBWPO2QT.cjs +2 -0
  22. package/dist/chunk-OBWPO2QT.cjs.map +1 -0
  23. package/dist/chunk-OFDJA6ZW.cjs +2 -0
  24. package/dist/chunk-OFDJA6ZW.cjs.map +1 -0
  25. package/dist/chunk-OS542EYD.js +2 -0
  26. package/dist/chunk-OS542EYD.js.map +1 -0
  27. package/dist/{chunk-IP4OVRZB.cjs → chunk-ROMY5WNQ.cjs} +2 -2
  28. package/dist/chunk-ROMY5WNQ.cjs.map +1 -0
  29. package/dist/chunk-SR5UZ4NP.js +2 -0
  30. package/dist/chunk-SR5UZ4NP.js.map +1 -0
  31. package/dist/{chunk-B4225TEG.js → chunk-VJJLRHOX.js} +2 -2
  32. package/dist/{chunk-B4225TEG.js.map → chunk-VJJLRHOX.js.map} +1 -1
  33. package/dist/chunk-W5UCZ73B.js +2 -0
  34. package/dist/chunk-W5UCZ73B.js.map +1 -0
  35. package/dist/{chunk-BFBGVGNF.js → chunk-XQQVHVWP.js} +2 -2
  36. package/dist/{chunk-BFBGVGNF.js.map → chunk-XQQVHVWP.js.map} +1 -1
  37. package/dist/index.cjs +1 -1
  38. package/dist/index.d.cts +3 -2
  39. package/dist/index.d.ts +3 -2
  40. package/dist/index.js +1 -1
  41. package/dist/schema/assets.cjs +1 -1
  42. package/dist/schema/assets.d.cts +1 -0
  43. package/dist/schema/assets.d.ts +1 -0
  44. package/dist/schema/assets.js +1 -1
  45. package/dist/schema/comments.cjs +1 -1
  46. package/dist/schema/comments.d.cts +4 -0
  47. package/dist/schema/comments.d.ts +4 -0
  48. package/dist/schema/comments.js +1 -1
  49. package/dist/schema/conversations.cjs +1 -1
  50. package/dist/schema/conversations.d.cts +1 -0
  51. package/dist/schema/conversations.d.ts +1 -0
  52. package/dist/schema/conversations.js +1 -1
  53. package/dist/schema/datasets.cjs +1 -1
  54. package/dist/schema/datasets.d.cts +177 -1
  55. package/dist/schema/datasets.d.ts +177 -1
  56. package/dist/schema/datasets.js +1 -1
  57. package/dist/schema/files.cjs +1 -1
  58. package/dist/schema/files.d.cts +4 -0
  59. package/dist/schema/files.d.ts +4 -0
  60. package/dist/schema/files.js +1 -1
  61. package/dist/schema/posts.cjs +1 -1
  62. package/dist/schema/posts.d.cts +7 -2
  63. package/dist/schema/posts.d.ts +7 -2
  64. package/dist/schema/posts.js +1 -1
  65. package/dist/schema/quests.cjs +1 -1
  66. package/dist/schema/quests.d.cts +410 -29
  67. package/dist/schema/quests.d.ts +410 -29
  68. package/dist/schema/quests.js +1 -1
  69. package/dist/schema/services.cjs +1 -1
  70. package/dist/schema/services.d.cts +124 -5
  71. package/dist/schema/services.d.ts +124 -5
  72. package/dist/schema/services.js +1 -1
  73. package/dist/utils/quest-submission.cjs +2 -0
  74. package/dist/utils/quest-submission.cjs.map +1 -0
  75. package/dist/utils/quest-submission.d.cts +134 -0
  76. package/dist/utils/quest-submission.d.ts +134 -0
  77. package/dist/utils/quest-submission.js +2 -0
  78. package/dist/utils/quest-submission.js.map +1 -0
  79. package/package.json +1 -1
  80. package/dist/chunk-36UOEIZN.js +0 -2
  81. package/dist/chunk-36UOEIZN.js.map +0 -1
  82. package/dist/chunk-4KDHR4VP.js +0 -2
  83. package/dist/chunk-4KDHR4VP.js.map +0 -1
  84. package/dist/chunk-G2MXCB7Q.js +0 -2
  85. package/dist/chunk-G2MXCB7Q.js.map +0 -1
  86. package/dist/chunk-IP4OVRZB.cjs.map +0 -1
  87. package/dist/chunk-IU7AKVYI.cjs +0 -2
  88. package/dist/chunk-IU7AKVYI.cjs.map +0 -1
  89. package/dist/chunk-MH4A7XAY.cjs +0 -2
  90. package/dist/chunk-MH4A7XAY.cjs.map +0 -1
  91. package/dist/chunk-NEINJFFK.cjs +0 -2
  92. package/dist/chunk-NRZCTFCQ.cjs +0 -2
  93. package/dist/chunk-NRZCTFCQ.cjs.map +0 -1
  94. package/dist/chunk-U3F23ASS.js +0 -2
  95. package/dist/chunk-U3F23ASS.js.map +0 -1
  96. package/dist/chunk-WUC5AUUJ.cjs +0 -2
  97. package/dist/chunk-WUC5AUUJ.cjs.map +0 -1
  98. package/dist/chunk-Y6AKG4FJ.js +0 -2
  99. package/dist/chunk-Y6AKG4FJ.js.map +0 -1
@@ -219,6 +219,7 @@ declare const ServiceSchema: z.ZodObject<{
219
219
  api: "api";
220
220
  web: "web";
221
221
  }>;
222
+ is_pinned_in_team: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
222
223
  created_at: z.ZodString;
223
224
  last_updated: z.ZodString;
224
225
  asset_type: z.ZodEnum<{
@@ -526,6 +527,7 @@ declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
526
527
  stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
527
528
  stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
528
529
  preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>>;
530
+ is_pinned_in_team: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
529
531
  last_updated: z.ZodDefault<z.ZodString>;
530
532
  }, z.core.$strip>, z.ZodTransform<{
531
533
  last_updated: string;
@@ -570,6 +572,7 @@ declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
570
572
  stripe_price_id?: string | null | undefined;
571
573
  stripe_meter_id?: string | null | undefined;
572
574
  preview?: Record<string, any>[] | null | undefined;
575
+ is_pinned_in_team?: boolean | undefined;
573
576
  }, {
574
577
  last_updated: string;
575
578
  asset_type?: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | undefined;
@@ -613,11 +616,68 @@ declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
613
616
  stripe_price_id?: string | null | undefined;
614
617
  stripe_meter_id?: string | null | undefined;
615
618
  preview?: Record<string, any>[] | null | undefined;
619
+ is_pinned_in_team?: boolean | undefined;
616
620
  }>>;
617
621
  declare const ExecutionModeSchema: z.ZodEnum<{
618
622
  sync: "sync";
619
623
  async: "async";
620
624
  }>;
625
+ declare const RouteInputAssetDeclarationSchema: z.ZodObject<{
626
+ asset_type: z.ZodEnum<{
627
+ dataset: "dataset";
628
+ file: "file";
629
+ post: "post";
630
+ }>;
631
+ primary: z.ZodOptional<z.ZodBoolean>;
632
+ input_filter: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
633
+ audio: "audio";
634
+ video: "video";
635
+ image: "image";
636
+ pdf: "pdf";
637
+ "3d model": "3d model";
638
+ "atomic structure": "atomic structure";
639
+ }>>>;
640
+ file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
641
+ contains_file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
642
+ }, z.core.$catchall<z.ZodAny>>;
643
+ declare const RouteOutputAssetDeclarationSchema: z.ZodObject<{
644
+ asset_type: z.ZodEnum<{
645
+ dataset: "dataset";
646
+ file: "file";
647
+ post: "post";
648
+ }>;
649
+ primary: z.ZodOptional<z.ZodBoolean>;
650
+ file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
651
+ contains_file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
652
+ }, z.core.$catchall<z.ZodAny>>;
653
+ declare const RouteInputAssetsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
654
+ asset_type: z.ZodEnum<{
655
+ dataset: "dataset";
656
+ file: "file";
657
+ post: "post";
658
+ }>;
659
+ primary: z.ZodOptional<z.ZodBoolean>;
660
+ input_filter: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
661
+ audio: "audio";
662
+ video: "video";
663
+ image: "image";
664
+ pdf: "pdf";
665
+ "3d model": "3d model";
666
+ "atomic structure": "atomic structure";
667
+ }>>>;
668
+ file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
669
+ contains_file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
670
+ }, z.core.$catchall<z.ZodAny>>>;
671
+ declare const RouteOutputAssetsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
672
+ asset_type: z.ZodEnum<{
673
+ dataset: "dataset";
674
+ file: "file";
675
+ post: "post";
676
+ }>;
677
+ primary: z.ZodOptional<z.ZodBoolean>;
678
+ file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
679
+ contains_file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
680
+ }, z.core.$catchall<z.ZodAny>>>;
621
681
  declare const RouteDetailSchema: z.ZodObject<{
622
682
  id: z.ZodString;
623
683
  user_id: z.ZodString;
@@ -634,7 +694,24 @@ declare const RouteDetailSchema: z.ZodObject<{
634
694
  parameters: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
635
695
  request_body: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
636
696
  responses: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
637
- input_assets: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
697
+ input_assets: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
698
+ asset_type: z.ZodEnum<{
699
+ dataset: "dataset";
700
+ file: "file";
701
+ post: "post";
702
+ }>;
703
+ primary: z.ZodOptional<z.ZodBoolean>;
704
+ input_filter: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
705
+ audio: "audio";
706
+ video: "video";
707
+ image: "image";
708
+ pdf: "pdf";
709
+ "3d model": "3d model";
710
+ "atomic structure": "atomic structure";
711
+ }>>>;
712
+ file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
713
+ contains_file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
714
+ }, z.core.$catchall<z.ZodAny>>>>>;
638
715
  input_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
639
716
  dataset: "dataset";
640
717
  file: "file";
@@ -650,12 +727,21 @@ declare const RouteDetailSchema: z.ZodObject<{
650
727
  }>>>;
651
728
  input_file_extension: z.ZodOptional<z.ZodNullable<z.ZodString>>;
652
729
  input_file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
730
+ output_assets: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
731
+ asset_type: z.ZodEnum<{
732
+ dataset: "dataset";
733
+ file: "file";
734
+ post: "post";
735
+ }>;
736
+ primary: z.ZodOptional<z.ZodBoolean>;
737
+ file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
738
+ contains_file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
739
+ }, z.core.$catchall<z.ZodAny>>>>>;
653
740
  output_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
654
741
  dataset: "dataset";
655
742
  file: "file";
656
743
  post: "post";
657
744
  }>>>;
658
- output_assets: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
659
745
  output_file_extension: z.ZodOptional<z.ZodNullable<z.ZodString>>;
660
746
  security: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
661
747
  rate_limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -908,6 +994,7 @@ declare const RouteSchema: z.ZodObject<{
908
994
  api: "api";
909
995
  web: "web";
910
996
  }>;
997
+ is_pinned_in_team: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
911
998
  created_at: z.ZodString;
912
999
  last_updated: z.ZodString;
913
1000
  asset_type: z.ZodEnum<{
@@ -939,7 +1026,24 @@ declare const RouteSchema: z.ZodObject<{
939
1026
  parameters: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
940
1027
  request_body: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
941
1028
  responses: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
942
- input_assets: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1029
+ input_assets: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
1030
+ asset_type: z.ZodEnum<{
1031
+ dataset: "dataset";
1032
+ file: "file";
1033
+ post: "post";
1034
+ }>;
1035
+ primary: z.ZodOptional<z.ZodBoolean>;
1036
+ input_filter: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1037
+ audio: "audio";
1038
+ video: "video";
1039
+ image: "image";
1040
+ pdf: "pdf";
1041
+ "3d model": "3d model";
1042
+ "atomic structure": "atomic structure";
1043
+ }>>>;
1044
+ file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1045
+ contains_file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1046
+ }, z.core.$catchall<z.ZodAny>>>>>;
943
1047
  input_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
944
1048
  dataset: "dataset";
945
1049
  file: "file";
@@ -955,12 +1059,21 @@ declare const RouteSchema: z.ZodObject<{
955
1059
  }>>>;
956
1060
  input_file_extension: z.ZodOptional<z.ZodNullable<z.ZodString>>;
957
1061
  input_file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1062
+ output_assets: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
1063
+ asset_type: z.ZodEnum<{
1064
+ dataset: "dataset";
1065
+ file: "file";
1066
+ post: "post";
1067
+ }>;
1068
+ primary: z.ZodOptional<z.ZodBoolean>;
1069
+ file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1070
+ contains_file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1071
+ }, z.core.$catchall<z.ZodAny>>>>>;
958
1072
  output_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
959
1073
  dataset: "dataset";
960
1074
  file: "file";
961
1075
  post: "post";
962
1076
  }>>>;
963
- output_assets: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
964
1077
  output_file_extension: z.ZodOptional<z.ZodNullable<z.ZodString>>;
965
1078
  security: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
966
1079
  rate_limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -1236,6 +1349,7 @@ declare const ActionSchema: z.ZodObject<{
1236
1349
  api: "api";
1237
1350
  web: "web";
1238
1351
  }>;
1352
+ is_pinned_in_team: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1239
1353
  created_at: z.ZodString;
1240
1354
  last_updated: z.ZodString;
1241
1355
  }, z.core.$strip>>>;
@@ -1485,6 +1599,7 @@ declare const ActionSchema: z.ZodObject<{
1485
1599
  api: "api";
1486
1600
  web: "web";
1487
1601
  }>;
1602
+ is_pinned_in_team: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1488
1603
  created_at: z.ZodString;
1489
1604
  last_updated: z.ZodString;
1490
1605
  }, z.core.$strip>>>;
@@ -1510,6 +1625,10 @@ type Service = z.infer<typeof ServiceSchema>;
1510
1625
  type Route = z.infer<typeof RouteSchema>;
1511
1626
  type RouteDetail = z.infer<typeof RouteDetailSchema>;
1512
1627
  type RouteMetrics = z.infer<typeof RouteMetricsSchema>;
1628
+ type RouteInputAssetDeclaration = z.infer<typeof RouteInputAssetDeclarationSchema>;
1629
+ type RouteOutputAssetDeclaration = z.infer<typeof RouteOutputAssetDeclarationSchema>;
1630
+ type RouteInputAssets = z.infer<typeof RouteInputAssetsSchema>;
1631
+ type RouteOutputAssets = z.infer<typeof RouteOutputAssetsSchema>;
1513
1632
  type ExecutionMode = z.infer<typeof ExecutionModeSchema>;
1514
1633
  declare const AuthType: z.ZodEnum<{
1515
1634
  "Personal Access Token": "Personal Access Token";
@@ -1520,4 +1639,4 @@ declare const AuthType: z.ZodEnum<{
1520
1639
  type AuthType = z.infer<typeof AuthType>;
1521
1640
  type Action = z.infer<typeof ActionSchema>;
1522
1641
 
1523
- export { type Action, ActionSchema, AuthType, CreateServiceSchema, type ExecutionMode, ExecutionModeSchema, type Route, type RouteDetail, type RouteMetrics, RouteMetricsSchema, RouteSchema, type Service, ServiceSchema, UpdateServiceSchema };
1642
+ export { type Action, ActionSchema, AuthType, CreateServiceSchema, type ExecutionMode, ExecutionModeSchema, type Route, type RouteDetail, type RouteInputAssetDeclaration, RouteInputAssetDeclarationSchema, type RouteInputAssets, RouteInputAssetsSchema, type RouteMetrics, RouteMetricsSchema, type RouteOutputAssetDeclaration, RouteOutputAssetDeclarationSchema, type RouteOutputAssets, RouteOutputAssetsSchema, RouteSchema, type Service, ServiceSchema, UpdateServiceSchema };
@@ -219,6 +219,7 @@ declare const ServiceSchema: z.ZodObject<{
219
219
  api: "api";
220
220
  web: "web";
221
221
  }>;
222
+ is_pinned_in_team: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
222
223
  created_at: z.ZodString;
223
224
  last_updated: z.ZodString;
224
225
  asset_type: z.ZodEnum<{
@@ -526,6 +527,7 @@ declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
526
527
  stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
527
528
  stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
528
529
  preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>>;
530
+ is_pinned_in_team: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
529
531
  last_updated: z.ZodDefault<z.ZodString>;
530
532
  }, z.core.$strip>, z.ZodTransform<{
531
533
  last_updated: string;
@@ -570,6 +572,7 @@ declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
570
572
  stripe_price_id?: string | null | undefined;
571
573
  stripe_meter_id?: string | null | undefined;
572
574
  preview?: Record<string, any>[] | null | undefined;
575
+ is_pinned_in_team?: boolean | undefined;
573
576
  }, {
574
577
  last_updated: string;
575
578
  asset_type?: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | undefined;
@@ -613,11 +616,68 @@ declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
613
616
  stripe_price_id?: string | null | undefined;
614
617
  stripe_meter_id?: string | null | undefined;
615
618
  preview?: Record<string, any>[] | null | undefined;
619
+ is_pinned_in_team?: boolean | undefined;
616
620
  }>>;
617
621
  declare const ExecutionModeSchema: z.ZodEnum<{
618
622
  sync: "sync";
619
623
  async: "async";
620
624
  }>;
625
+ declare const RouteInputAssetDeclarationSchema: z.ZodObject<{
626
+ asset_type: z.ZodEnum<{
627
+ dataset: "dataset";
628
+ file: "file";
629
+ post: "post";
630
+ }>;
631
+ primary: z.ZodOptional<z.ZodBoolean>;
632
+ input_filter: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
633
+ audio: "audio";
634
+ video: "video";
635
+ image: "image";
636
+ pdf: "pdf";
637
+ "3d model": "3d model";
638
+ "atomic structure": "atomic structure";
639
+ }>>>;
640
+ file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
641
+ contains_file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
642
+ }, z.core.$catchall<z.ZodAny>>;
643
+ declare const RouteOutputAssetDeclarationSchema: z.ZodObject<{
644
+ asset_type: z.ZodEnum<{
645
+ dataset: "dataset";
646
+ file: "file";
647
+ post: "post";
648
+ }>;
649
+ primary: z.ZodOptional<z.ZodBoolean>;
650
+ file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
651
+ contains_file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
652
+ }, z.core.$catchall<z.ZodAny>>;
653
+ declare const RouteInputAssetsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
654
+ asset_type: z.ZodEnum<{
655
+ dataset: "dataset";
656
+ file: "file";
657
+ post: "post";
658
+ }>;
659
+ primary: z.ZodOptional<z.ZodBoolean>;
660
+ input_filter: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
661
+ audio: "audio";
662
+ video: "video";
663
+ image: "image";
664
+ pdf: "pdf";
665
+ "3d model": "3d model";
666
+ "atomic structure": "atomic structure";
667
+ }>>>;
668
+ file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
669
+ contains_file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
670
+ }, z.core.$catchall<z.ZodAny>>>;
671
+ declare const RouteOutputAssetsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
672
+ asset_type: z.ZodEnum<{
673
+ dataset: "dataset";
674
+ file: "file";
675
+ post: "post";
676
+ }>;
677
+ primary: z.ZodOptional<z.ZodBoolean>;
678
+ file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
679
+ contains_file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
680
+ }, z.core.$catchall<z.ZodAny>>>;
621
681
  declare const RouteDetailSchema: z.ZodObject<{
622
682
  id: z.ZodString;
623
683
  user_id: z.ZodString;
@@ -634,7 +694,24 @@ declare const RouteDetailSchema: z.ZodObject<{
634
694
  parameters: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
635
695
  request_body: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
636
696
  responses: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
637
- input_assets: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
697
+ input_assets: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
698
+ asset_type: z.ZodEnum<{
699
+ dataset: "dataset";
700
+ file: "file";
701
+ post: "post";
702
+ }>;
703
+ primary: z.ZodOptional<z.ZodBoolean>;
704
+ input_filter: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
705
+ audio: "audio";
706
+ video: "video";
707
+ image: "image";
708
+ pdf: "pdf";
709
+ "3d model": "3d model";
710
+ "atomic structure": "atomic structure";
711
+ }>>>;
712
+ file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
713
+ contains_file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
714
+ }, z.core.$catchall<z.ZodAny>>>>>;
638
715
  input_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
639
716
  dataset: "dataset";
640
717
  file: "file";
@@ -650,12 +727,21 @@ declare const RouteDetailSchema: z.ZodObject<{
650
727
  }>>>;
651
728
  input_file_extension: z.ZodOptional<z.ZodNullable<z.ZodString>>;
652
729
  input_file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
730
+ output_assets: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
731
+ asset_type: z.ZodEnum<{
732
+ dataset: "dataset";
733
+ file: "file";
734
+ post: "post";
735
+ }>;
736
+ primary: z.ZodOptional<z.ZodBoolean>;
737
+ file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
738
+ contains_file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
739
+ }, z.core.$catchall<z.ZodAny>>>>>;
653
740
  output_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
654
741
  dataset: "dataset";
655
742
  file: "file";
656
743
  post: "post";
657
744
  }>>>;
658
- output_assets: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
659
745
  output_file_extension: z.ZodOptional<z.ZodNullable<z.ZodString>>;
660
746
  security: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
661
747
  rate_limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -908,6 +994,7 @@ declare const RouteSchema: z.ZodObject<{
908
994
  api: "api";
909
995
  web: "web";
910
996
  }>;
997
+ is_pinned_in_team: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
911
998
  created_at: z.ZodString;
912
999
  last_updated: z.ZodString;
913
1000
  asset_type: z.ZodEnum<{
@@ -939,7 +1026,24 @@ declare const RouteSchema: z.ZodObject<{
939
1026
  parameters: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
940
1027
  request_body: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
941
1028
  responses: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
942
- input_assets: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1029
+ input_assets: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
1030
+ asset_type: z.ZodEnum<{
1031
+ dataset: "dataset";
1032
+ file: "file";
1033
+ post: "post";
1034
+ }>;
1035
+ primary: z.ZodOptional<z.ZodBoolean>;
1036
+ input_filter: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1037
+ audio: "audio";
1038
+ video: "video";
1039
+ image: "image";
1040
+ pdf: "pdf";
1041
+ "3d model": "3d model";
1042
+ "atomic structure": "atomic structure";
1043
+ }>>>;
1044
+ file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1045
+ contains_file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1046
+ }, z.core.$catchall<z.ZodAny>>>>>;
943
1047
  input_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
944
1048
  dataset: "dataset";
945
1049
  file: "file";
@@ -955,12 +1059,21 @@ declare const RouteSchema: z.ZodObject<{
955
1059
  }>>>;
956
1060
  input_file_extension: z.ZodOptional<z.ZodNullable<z.ZodString>>;
957
1061
  input_file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1062
+ output_assets: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
1063
+ asset_type: z.ZodEnum<{
1064
+ dataset: "dataset";
1065
+ file: "file";
1066
+ post: "post";
1067
+ }>;
1068
+ primary: z.ZodOptional<z.ZodBoolean>;
1069
+ file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1070
+ contains_file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1071
+ }, z.core.$catchall<z.ZodAny>>>>>;
958
1072
  output_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
959
1073
  dataset: "dataset";
960
1074
  file: "file";
961
1075
  post: "post";
962
1076
  }>>>;
963
- output_assets: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
964
1077
  output_file_extension: z.ZodOptional<z.ZodNullable<z.ZodString>>;
965
1078
  security: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
966
1079
  rate_limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -1236,6 +1349,7 @@ declare const ActionSchema: z.ZodObject<{
1236
1349
  api: "api";
1237
1350
  web: "web";
1238
1351
  }>;
1352
+ is_pinned_in_team: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1239
1353
  created_at: z.ZodString;
1240
1354
  last_updated: z.ZodString;
1241
1355
  }, z.core.$strip>>>;
@@ -1485,6 +1599,7 @@ declare const ActionSchema: z.ZodObject<{
1485
1599
  api: "api";
1486
1600
  web: "web";
1487
1601
  }>;
1602
+ is_pinned_in_team: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1488
1603
  created_at: z.ZodString;
1489
1604
  last_updated: z.ZodString;
1490
1605
  }, z.core.$strip>>>;
@@ -1510,6 +1625,10 @@ type Service = z.infer<typeof ServiceSchema>;
1510
1625
  type Route = z.infer<typeof RouteSchema>;
1511
1626
  type RouteDetail = z.infer<typeof RouteDetailSchema>;
1512
1627
  type RouteMetrics = z.infer<typeof RouteMetricsSchema>;
1628
+ type RouteInputAssetDeclaration = z.infer<typeof RouteInputAssetDeclarationSchema>;
1629
+ type RouteOutputAssetDeclaration = z.infer<typeof RouteOutputAssetDeclarationSchema>;
1630
+ type RouteInputAssets = z.infer<typeof RouteInputAssetsSchema>;
1631
+ type RouteOutputAssets = z.infer<typeof RouteOutputAssetsSchema>;
1513
1632
  type ExecutionMode = z.infer<typeof ExecutionModeSchema>;
1514
1633
  declare const AuthType: z.ZodEnum<{
1515
1634
  "Personal Access Token": "Personal Access Token";
@@ -1520,4 +1639,4 @@ declare const AuthType: z.ZodEnum<{
1520
1639
  type AuthType = z.infer<typeof AuthType>;
1521
1640
  type Action = z.infer<typeof ActionSchema>;
1522
1641
 
1523
- export { type Action, ActionSchema, AuthType, CreateServiceSchema, type ExecutionMode, ExecutionModeSchema, type Route, type RouteDetail, type RouteMetrics, RouteMetricsSchema, RouteSchema, type Service, ServiceSchema, UpdateServiceSchema };
1642
+ export { type Action, ActionSchema, AuthType, CreateServiceSchema, type ExecutionMode, ExecutionModeSchema, type Route, type RouteDetail, type RouteInputAssetDeclaration, RouteInputAssetDeclarationSchema, type RouteInputAssets, RouteInputAssetsSchema, type RouteMetrics, RouteMetricsSchema, type RouteOutputAssetDeclaration, RouteOutputAssetDeclarationSchema, type RouteOutputAssets, RouteOutputAssetsSchema, RouteSchema, type Service, ServiceSchema, UpdateServiceSchema };
@@ -1,2 +1,2 @@
1
- export{g as ActionSchema,b as CreateServiceSchema,d as ExecutionModeSchema,e as RouteMetricsSchema,f as RouteSchema,a as ServiceSchema,c as UpdateServiceSchema}from'../chunk-36UOEIZN.js';import'../chunk-G2MXCB7Q.js';import'../chunk-CF56NFUG.js';import'../chunk-WLGOABHV.js';import'../chunk-3N56ERWF.js';import'../chunk-WRHPQNEL.js';import'../chunk-DUBPWSCA.js';//# sourceMappingURL=services.js.map
1
+ export{k as ActionSchema,b as CreateServiceSchema,d as ExecutionModeSchema,e as RouteInputAssetDeclarationSchema,g as RouteInputAssetsSchema,i as RouteMetricsSchema,f as RouteOutputAssetDeclarationSchema,h as RouteOutputAssetsSchema,j as RouteSchema,a as ServiceSchema,c as UpdateServiceSchema}from'../chunk-W5UCZ73B.js';import'../chunk-SR5UZ4NP.js';import'../chunk-CF56NFUG.js';import'../chunk-WLGOABHV.js';import'../chunk-3N56ERWF.js';import'../chunk-WRHPQNEL.js';import'../chunk-DUBPWSCA.js';//# sourceMappingURL=services.js.map
2
2
  //# sourceMappingURL=services.js.map
@@ -0,0 +1,2 @@
1
+ 'use strict';var chunkHN7Y7VMJ_cjs=require('../chunk-HN7Y7VMJ.cjs');require('../chunk-OFDJA6ZW.cjs'),require('../chunk-ROMY5WNQ.cjs'),require('../chunk-UY43EQTO.cjs'),require('../chunk-VOY623ZD.cjs'),require('../chunk-GY6SLMMJ.cjs'),require('../chunk-43KB23BA.cjs'),require('../chunk-7HF5VHUN.cjs');Object.defineProperty(exports,"KeyedAssetInputSchema",{enumerable:true,get:function(){return chunkHN7Y7VMJ_cjs.c}});Object.defineProperty(exports,"KeyedAssetInputValueSchema",{enumerable:true,get:function(){return chunkHN7Y7VMJ_cjs.b}});Object.defineProperty(exports,"KeyedAssetRefsSchema",{enumerable:true,get:function(){return chunkHN7Y7VMJ_cjs.a}});Object.defineProperty(exports,"QuestSubmissionAssetDeclarationSchema",{enumerable:true,get:function(){return chunkHN7Y7VMJ_cjs.d}});Object.defineProperty(exports,"assetMatchesDeclaration",{enumerable:true,get:function(){return chunkHN7Y7VMJ_cjs.k}});Object.defineProperty(exports,"declarationToPickerFilters",{enumerable:true,get:function(){return chunkHN7Y7VMJ_cjs.j}});Object.defineProperty(exports,"declarationToSubmissionDeclaration",{enumerable:true,get:function(){return chunkHN7Y7VMJ_cjs.f}});Object.defineProperty(exports,"getPrimaryAssetRef",{enumerable:true,get:function(){return chunkHN7Y7VMJ_cjs.l}});Object.defineProperty(exports,"getPrimaryDeclarationKey",{enumerable:true,get:function(){return chunkHN7Y7VMJ_cjs.h}});Object.defineProperty(exports,"getRouteInputDeclarationsFromRoute",{enumerable:true,get:function(){return chunkHN7Y7VMJ_cjs.e}});Object.defineProperty(exports,"getSubmissionAssetShape",{enumerable:true,get:function(){return chunkHN7Y7VMJ_cjs.i}});Object.defineProperty(exports,"materializeContributorSubmissionAssets",{enumerable:true,get:function(){return chunkHN7Y7VMJ_cjs.g}});Object.defineProperty(exports,"toRouteInputAssets",{enumerable:true,get:function(){return chunkHN7Y7VMJ_cjs.m}});//# sourceMappingURL=quest-submission.cjs.map
2
+ //# sourceMappingURL=quest-submission.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"quest-submission.cjs"}
@@ -0,0 +1,134 @@
1
+ import { z } from 'zod';
2
+
3
+ /** Stored on entries and eval_static_inputs after server normalization. */
4
+ declare const KeyedAssetRefsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
5
+ asset_id: z.ZodUUID;
6
+ asset_type: z.ZodEnum<{
7
+ user: "user";
8
+ organization: "organization";
9
+ team: "team";
10
+ dataset: "dataset";
11
+ file: "file";
12
+ service: "service";
13
+ route: "route";
14
+ post: "post";
15
+ quest: "quest";
16
+ comment: "comment";
17
+ conversation: "conversation";
18
+ }>;
19
+ }, z.core.$strip>>;
20
+ /** Accepted on POST /quests/:id/entries/create — server fills asset_type. */
21
+ declare const KeyedAssetInputValueSchema: z.ZodUnion<readonly [z.ZodUUID, z.ZodObject<{
22
+ asset_id: z.ZodUUID;
23
+ asset_type: z.ZodOptional<z.ZodEnum<{
24
+ user: "user";
25
+ organization: "organization";
26
+ team: "team";
27
+ dataset: "dataset";
28
+ file: "file";
29
+ service: "service";
30
+ route: "route";
31
+ post: "post";
32
+ quest: "quest";
33
+ comment: "comment";
34
+ conversation: "conversation";
35
+ }>>;
36
+ }, z.core.$strip>]>;
37
+ declare const KeyedAssetInputSchema: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUUID, z.ZodObject<{
38
+ asset_id: z.ZodUUID;
39
+ asset_type: z.ZodOptional<z.ZodEnum<{
40
+ user: "user";
41
+ organization: "organization";
42
+ team: "team";
43
+ dataset: "dataset";
44
+ file: "file";
45
+ service: "service";
46
+ route: "route";
47
+ post: "post";
48
+ quest: "quest";
49
+ comment: "comment";
50
+ conversation: "conversation";
51
+ }>>;
52
+ }, z.core.$strip>]>>;
53
+ declare const QuestSubmissionAssetDeclarationSchema: z.ZodObject<{
54
+ asset_type: z.ZodEnum<{
55
+ dataset: "dataset";
56
+ file: "file";
57
+ post: "post";
58
+ }>;
59
+ primary: z.ZodOptional<z.ZodBoolean>;
60
+ input_filter: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
61
+ audio: "audio";
62
+ video: "video";
63
+ image: "image";
64
+ pdf: "pdf";
65
+ "3d model": "3d model";
66
+ "atomic structure": "atomic structure";
67
+ }>>>;
68
+ file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
69
+ contains_file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
70
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
71
+ }, z.core.$catchall<z.ZodAny>>;
72
+ type KeyedAssetRefs = z.infer<typeof KeyedAssetRefsSchema>;
73
+ type KeyedAssetInput = z.infer<typeof KeyedAssetInputSchema>;
74
+ type QuestSubmissionAssetDeclaration = z.infer<typeof QuestSubmissionAssetDeclarationSchema>;
75
+ type AssetDeclarationPickerFilters = {
76
+ assetType?: string;
77
+ fileType?: string;
78
+ extensions?: string[];
79
+ hasConstraints: boolean;
80
+ };
81
+ type QuestSubmissionItemInput = {
82
+ eval_route_id?: string | null;
83
+ submission_assets?: Record<string, QuestSubmissionAssetDeclaration> | null;
84
+ eval_static_inputs?: KeyedAssetRefs | null;
85
+ expected_asset_type?: string | null;
86
+ };
87
+ type RouteInputDeclarationLike = {
88
+ asset_type?: string | null;
89
+ primary?: boolean;
90
+ input_filter?: string | null;
91
+ filter?: string | null;
92
+ file_extensions?: string[] | null;
93
+ input_file_extensions?: string[] | null;
94
+ };
95
+ type RouteForSubmissionShape = {
96
+ route?: {
97
+ input_assets?: Record<string, RouteInputDeclarationLike> | null;
98
+ input_type?: string | null;
99
+ input_filter?: string | null;
100
+ input_file_extensions?: string[] | null;
101
+ } | null;
102
+ } | null;
103
+ /** Route keyed inputs as a flat map (includes legacy input_type fallback). */
104
+ declare function getRouteInputDeclarationsFromRoute(route: RouteForSubmissionShape): Record<string, RouteInputDeclarationLike>;
105
+ declare function declarationToSubmissionDeclaration(declaration: RouteInputDeclarationLike): QuestSubmissionAssetDeclaration;
106
+ /** Materialize contributor declarations from route inputs minus pinned keys. */
107
+ declare function materializeContributorSubmissionAssets(routeInputs: Record<string, RouteInputDeclarationLike>, pinnedKeys: string[]): Record<string, QuestSubmissionAssetDeclaration>;
108
+ declare function getPrimaryDeclarationKey(declarations: Record<string, QuestSubmissionAssetDeclaration>): string | null;
109
+ declare function getSubmissionAssetShape(item: QuestSubmissionItemInput, route?: RouteForSubmissionShape | null): {
110
+ contributorKeys: string[];
111
+ declarations: Record<string, QuestSubmissionAssetDeclaration>;
112
+ pinned: KeyedAssetRefs;
113
+ };
114
+ declare function declarationToPickerFilters(declaration: RouteInputDeclarationLike | QuestSubmissionAssetDeclaration | null | undefined): AssetDeclarationPickerFilters | null;
115
+ declare function assetMatchesDeclaration(asset: {
116
+ assetType?: string | null;
117
+ asset_type?: string | null;
118
+ asset?: {
119
+ metadata?: Record<string, unknown>;
120
+ } | null;
121
+ } | null | undefined, declaration: RouteInputDeclarationLike | QuestSubmissionAssetDeclaration | null | undefined): boolean;
122
+ declare function getPrimaryAssetRef(refs: KeyedAssetRefs | null | undefined, declarations?: Record<string, QuestSubmissionAssetDeclaration> | null): {
123
+ key: string;
124
+ asset_id: string;
125
+ asset_type: string;
126
+ } | null;
127
+ declare function toRouteInputAssets(refs: KeyedAssetRefs | null | undefined): Record<string, {
128
+ assetId: string;
129
+ assetType: string;
130
+ }>;
131
+ /** @deprecated Use declarationToPickerFilters */
132
+ type EvalSubmissionFilters = AssetDeclarationPickerFilters;
133
+
134
+ export { type AssetDeclarationPickerFilters, type EvalSubmissionFilters, type KeyedAssetInput, KeyedAssetInputSchema, KeyedAssetInputValueSchema, type KeyedAssetRefs, KeyedAssetRefsSchema, type QuestSubmissionAssetDeclaration, QuestSubmissionAssetDeclarationSchema, type QuestSubmissionItemInput, type RouteForSubmissionShape, type RouteInputDeclarationLike, assetMatchesDeclaration, declarationToPickerFilters, declarationToSubmissionDeclaration, getPrimaryAssetRef, getPrimaryDeclarationKey, getRouteInputDeclarationsFromRoute, getSubmissionAssetShape, materializeContributorSubmissionAssets, toRouteInputAssets };