@ourofoundation/ouro-js 3.7.0 → 3.7.2

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 (97) hide show
  1. package/dist/chunk-2BABFO5H.js +2 -0
  2. package/dist/chunk-2BABFO5H.js.map +1 -0
  3. package/dist/{chunk-HW6FGPTA.cjs → chunk-2KXX5JF6.cjs} +2 -2
  4. package/dist/{chunk-HW6FGPTA.cjs.map → chunk-2KXX5JF6.cjs.map} +1 -1
  5. package/dist/chunk-CPA7CZ7T.cjs +2 -0
  6. package/dist/chunk-CPA7CZ7T.cjs.map +1 -0
  7. package/dist/{chunk-QSOXS57A.cjs → chunk-G5V2WTN5.cjs} +2 -2
  8. package/dist/{chunk-QSOXS57A.cjs.map → chunk-G5V2WTN5.cjs.map} +1 -1
  9. package/dist/chunk-IL3WA4D7.js +2 -0
  10. package/dist/{chunk-QBL6KIST.js.map → chunk-IL3WA4D7.js.map} +1 -1
  11. package/dist/chunk-LYP7DPZ3.js +2 -0
  12. package/dist/{chunk-7EKD5NQB.js.map → chunk-LYP7DPZ3.js.map} +1 -1
  13. package/dist/chunk-MWNVL2DD.js +2 -0
  14. package/dist/chunk-MWNVL2DD.js.map +1 -0
  15. package/dist/chunk-N74Y47X7.js +2 -0
  16. package/dist/chunk-N74Y47X7.js.map +1 -0
  17. package/dist/{chunk-IVO3RQUN.cjs → chunk-O5CY3JW3.cjs} +2 -2
  18. package/dist/{chunk-IVO3RQUN.cjs.map → chunk-O5CY3JW3.cjs.map} +1 -1
  19. package/dist/{chunk-JUELSRCY.js → chunk-OBXAWON7.js} +2 -2
  20. package/dist/{chunk-JUELSRCY.js.map → chunk-OBXAWON7.js.map} +1 -1
  21. package/dist/{chunk-DY5QSBE4.js → chunk-OWS6VJJ2.js} +2 -2
  22. package/dist/{chunk-DY5QSBE4.js.map → chunk-OWS6VJJ2.js.map} +1 -1
  23. package/dist/{chunk-NTWSEN2H.cjs → chunk-PN763DHR.cjs} +2 -2
  24. package/dist/{chunk-NTWSEN2H.cjs.map → chunk-PN763DHR.cjs.map} +1 -1
  25. package/dist/{chunk-5EQ5LO7V.cjs → chunk-PPZZKUF6.cjs} +2 -2
  26. package/dist/chunk-PPZZKUF6.cjs.map +1 -0
  27. package/dist/chunk-QJG6O5OT.cjs +2 -0
  28. package/dist/chunk-QJG6O5OT.cjs.map +1 -0
  29. package/dist/chunk-R7YOQNVS.js +2 -0
  30. package/dist/{chunk-ZC2VDKSH.js.map → chunk-R7YOQNVS.js.map} +1 -1
  31. package/dist/{chunk-TMNFNVTZ.js → chunk-S5VZHGMV.js} +2 -2
  32. package/dist/{chunk-TMNFNVTZ.js.map → chunk-S5VZHGMV.js.map} +1 -1
  33. package/dist/{chunk-QNERXSMJ.cjs → chunk-VPYKCTVU.cjs} +2 -2
  34. package/dist/{chunk-QNERXSMJ.cjs.map → chunk-VPYKCTVU.cjs.map} +1 -1
  35. package/dist/{chunk-AI2FA44G.cjs → chunk-Y6EN5F74.cjs} +2 -2
  36. package/dist/{chunk-AI2FA44G.cjs.map → chunk-Y6EN5F74.cjs.map} +1 -1
  37. package/dist/{chunk-57RRLX7P.cjs → chunk-YCK6Y3BF.cjs} +2 -2
  38. package/dist/{chunk-57RRLX7P.cjs.map → chunk-YCK6Y3BF.cjs.map} +1 -1
  39. package/dist/{chunk-RD6EPK44.js → chunk-YXVAFJZH.js} +2 -2
  40. package/dist/{chunk-RD6EPK44.js.map → chunk-YXVAFJZH.js.map} +1 -1
  41. package/dist/index.cjs +1 -1
  42. package/dist/index.d.cts +1 -1
  43. package/dist/index.d.ts +1 -1
  44. package/dist/index.js +1 -1
  45. package/dist/schema/assets.cjs +1 -1
  46. package/dist/schema/assets.d.cts +123 -84
  47. package/dist/schema/assets.d.ts +123 -84
  48. package/dist/schema/assets.js +1 -1
  49. package/dist/schema/comments.cjs +1 -1
  50. package/dist/schema/comments.d.cts +78 -42
  51. package/dist/schema/comments.d.ts +78 -42
  52. package/dist/schema/comments.js +1 -1
  53. package/dist/schema/conversations.cjs +1 -1
  54. package/dist/schema/conversations.d.cts +173 -101
  55. package/dist/schema/conversations.d.ts +173 -101
  56. package/dist/schema/conversations.js +1 -1
  57. package/dist/schema/datasets.cjs +1 -1
  58. package/dist/schema/datasets.d.cts +239 -167
  59. package/dist/schema/datasets.d.ts +239 -167
  60. package/dist/schema/datasets.js +1 -1
  61. package/dist/schema/events.cjs +1 -1
  62. package/dist/schema/events.d.cts +6 -1
  63. package/dist/schema/events.d.ts +6 -1
  64. package/dist/schema/events.js +1 -1
  65. package/dist/schema/files.cjs +1 -1
  66. package/dist/schema/files.d.cts +219 -147
  67. package/dist/schema/files.d.ts +219 -147
  68. package/dist/schema/files.js +1 -1
  69. package/dist/schema/posts.cjs +1 -1
  70. package/dist/schema/posts.d.cts +152 -116
  71. package/dist/schema/posts.d.ts +152 -116
  72. package/dist/schema/posts.js +1 -1
  73. package/dist/schema/quests.cjs +1 -1
  74. package/dist/schema/quests.d.cts +156 -120
  75. package/dist/schema/quests.d.ts +156 -120
  76. package/dist/schema/quests.js +1 -1
  77. package/dist/schema/services.cjs +1 -1
  78. package/dist/schema/services.d.cts +156 -120
  79. package/dist/schema/services.d.ts +156 -120
  80. package/dist/schema/services.js +1 -1
  81. package/dist/utils/quest-submission.cjs +1 -1
  82. package/dist/utils/quest-submission.js +1 -1
  83. package/package.json +2 -2
  84. package/dist/chunk-5EQ5LO7V.cjs.map +0 -1
  85. package/dist/chunk-7EKD5NQB.js +0 -2
  86. package/dist/chunk-FLOHG4H4.cjs +0 -2
  87. package/dist/chunk-FLOHG4H4.cjs.map +0 -1
  88. package/dist/chunk-ITF5WQQB.js +0 -2
  89. package/dist/chunk-ITF5WQQB.js.map +0 -1
  90. package/dist/chunk-QBL6KIST.js +0 -2
  91. package/dist/chunk-SY5IKIT6.cjs +0 -2
  92. package/dist/chunk-SY5IKIT6.cjs.map +0 -1
  93. package/dist/chunk-TGOXRPF5.js +0 -2
  94. package/dist/chunk-TGOXRPF5.js.map +0 -1
  95. package/dist/chunk-X2PI5PAT.js +0 -2
  96. package/dist/chunk-X2PI5PAT.js.map +0 -1
  97. package/dist/chunk-ZC2VDKSH.js +0 -2
@@ -637,7 +637,7 @@ declare const QuestSchema: z.ZodObject<{
637
637
  stripe_product_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
638
638
  stripe_price_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
639
639
  stripe_meter_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
640
- attribution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
640
+ attribution: z.ZodObject<{
641
641
  originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
642
642
  original: "original";
643
643
  derivative: "derivative";
@@ -665,7 +665,7 @@ declare const QuestSchema: z.ZodObject<{
665
665
  IsIdenticalTo: "IsIdenticalTo";
666
666
  }>>>;
667
667
  doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
668
- }, z.core.$strip>>>;
668
+ }, z.core.$strip>;
669
669
  preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
670
670
  state: z.ZodEnum<{
671
671
  success: "success";
@@ -850,7 +850,30 @@ declare const CreateQuestSchema: z.ZodPipe<z.ZodObject<{
850
850
  stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
851
851
  stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
852
852
  stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
853
- attribution: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
853
+ preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>>;
854
+ id: z.ZodDefault<z.ZodUUID>;
855
+ team_id: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
856
+ org_id: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
857
+ name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
858
+ state: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
859
+ success: "success";
860
+ queued: "queued";
861
+ "in-progress": "in-progress";
862
+ "timed-out": "timed-out";
863
+ error: "error";
864
+ }>>>;
865
+ source: z.ZodDefault<z.ZodEnum<{
866
+ api: "api";
867
+ web: "web";
868
+ }>>;
869
+ visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
870
+ organization: "organization";
871
+ public: "public";
872
+ private: "private";
873
+ monetized: "monetized";
874
+ inherit: "inherit";
875
+ }>>>;
876
+ attribution: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
854
877
  originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
855
878
  original: "original";
856
879
  derivative: "derivative";
@@ -878,30 +901,43 @@ declare const CreateQuestSchema: z.ZodPipe<z.ZodObject<{
878
901
  IsIdenticalTo: "IsIdenticalTo";
879
902
  }>>>;
880
903
  doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
881
- }, z.core.$strip>>>>;
882
- preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>>;
883
- id: z.ZodDefault<z.ZodUUID>;
884
- team_id: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
885
- org_id: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
886
- name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
887
- state: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
888
- success: "success";
889
- queued: "queued";
890
- "in-progress": "in-progress";
891
- "timed-out": "timed-out";
892
- error: "error";
893
- }>>>;
894
- source: z.ZodDefault<z.ZodEnum<{
895
- api: "api";
896
- web: "web";
897
- }>>;
898
- visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
899
- organization: "organization";
900
- public: "public";
901
- private: "private";
902
- monetized: "monetized";
903
- inherit: "inherit";
904
- }>>>;
904
+ }, z.core.$strip>>>, z.ZodTransform<{
905
+ originality: "original" | "derivative" | "third-party";
906
+ external_url?: string | null | undefined;
907
+ github_url?: string | null | undefined;
908
+ paper_url?: string | null | undefined;
909
+ doi_url?: string | null | undefined;
910
+ citation?: {
911
+ doi?: string | null | undefined;
912
+ title?: string | null | undefined;
913
+ authors?: string[] | null | undefined;
914
+ year?: number | null | undefined;
915
+ venue?: string | null | undefined;
916
+ url?: string | null | undefined;
917
+ bibtex?: string | null | undefined;
918
+ source?: string | null | undefined;
919
+ } | null | undefined;
920
+ relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
921
+ doi?: string | null | undefined;
922
+ }, {
923
+ originality: "original" | "derivative" | "third-party";
924
+ external_url?: string | null | undefined;
925
+ github_url?: string | null | undefined;
926
+ paper_url?: string | null | undefined;
927
+ doi_url?: string | null | undefined;
928
+ citation?: {
929
+ doi?: string | null | undefined;
930
+ title?: string | null | undefined;
931
+ authors?: string[] | null | undefined;
932
+ year?: number | null | undefined;
933
+ venue?: string | null | undefined;
934
+ url?: string | null | undefined;
935
+ bibtex?: string | null | undefined;
936
+ source?: string | null | undefined;
937
+ } | null | undefined;
938
+ relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
939
+ doi?: string | null | undefined;
940
+ } | null | undefined>>;
905
941
  created_at: z.ZodDefault<z.ZodString>;
906
942
  last_updated: z.ZodDefault<z.ZodString>;
907
943
  asset_type: z.ZodDefault<z.ZodLiteral<"quest">>;
@@ -1064,6 +1100,25 @@ declare const CreateQuestSchema: z.ZodPipe<z.ZodObject<{
1064
1100
  state: "success" | "queued" | "in-progress" | "timed-out" | "error";
1065
1101
  source: "api" | "web";
1066
1102
  visibility: "organization" | "public" | "private" | "monetized" | "inherit";
1103
+ attribution: {
1104
+ originality: "original" | "derivative" | "third-party";
1105
+ external_url?: string | null | undefined;
1106
+ github_url?: string | null | undefined;
1107
+ paper_url?: string | null | undefined;
1108
+ doi_url?: string | null | undefined;
1109
+ citation?: {
1110
+ doi?: string | null | undefined;
1111
+ title?: string | null | undefined;
1112
+ authors?: string[] | null | undefined;
1113
+ year?: number | null | undefined;
1114
+ venue?: string | null | undefined;
1115
+ url?: string | null | undefined;
1116
+ bibtex?: string | null | undefined;
1117
+ source?: string | null | undefined;
1118
+ } | null | undefined;
1119
+ relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
1120
+ doi?: string | null | undefined;
1121
+ };
1067
1122
  created_at: string;
1068
1123
  last_updated: string;
1069
1124
  asset_type: "quest";
@@ -1115,25 +1170,6 @@ declare const CreateQuestSchema: z.ZodPipe<z.ZodObject<{
1115
1170
  stripe_product_id?: string | null | undefined;
1116
1171
  stripe_price_id?: string | null | undefined;
1117
1172
  stripe_meter_id?: string | null | undefined;
1118
- attribution?: {
1119
- originality: "original" | "derivative" | "third-party";
1120
- external_url?: string | null | undefined;
1121
- github_url?: string | null | undefined;
1122
- paper_url?: string | null | undefined;
1123
- doi_url?: string | null | undefined;
1124
- citation?: {
1125
- doi?: string | null | undefined;
1126
- title?: string | null | undefined;
1127
- authors?: string[] | null | undefined;
1128
- year?: number | null | undefined;
1129
- venue?: string | null | undefined;
1130
- url?: string | null | undefined;
1131
- bibtex?: string | null | undefined;
1132
- source?: string | null | undefined;
1133
- } | null | undefined;
1134
- relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
1135
- doi?: string | null | undefined;
1136
- } | null | undefined;
1137
1173
  preview?: Record<string, any>[] | null | undefined;
1138
1174
  name_url_slug?: string | null | undefined;
1139
1175
  description?: {
@@ -1151,6 +1187,25 @@ declare const CreateQuestSchema: z.ZodPipe<z.ZodObject<{
1151
1187
  state: "success" | "queued" | "in-progress" | "timed-out" | "error";
1152
1188
  source: "api" | "web";
1153
1189
  visibility: "organization" | "public" | "private" | "monetized" | "inherit";
1190
+ attribution: {
1191
+ originality: "original" | "derivative" | "third-party";
1192
+ external_url?: string | null | undefined;
1193
+ github_url?: string | null | undefined;
1194
+ paper_url?: string | null | undefined;
1195
+ doi_url?: string | null | undefined;
1196
+ citation?: {
1197
+ doi?: string | null | undefined;
1198
+ title?: string | null | undefined;
1199
+ authors?: string[] | null | undefined;
1200
+ year?: number | null | undefined;
1201
+ venue?: string | null | undefined;
1202
+ url?: string | null | undefined;
1203
+ bibtex?: string | null | undefined;
1204
+ source?: string | null | undefined;
1205
+ } | null | undefined;
1206
+ relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
1207
+ doi?: string | null | undefined;
1208
+ };
1154
1209
  created_at: string;
1155
1210
  last_updated: string;
1156
1211
  asset_type: "quest";
@@ -1202,25 +1257,6 @@ declare const CreateQuestSchema: z.ZodPipe<z.ZodObject<{
1202
1257
  stripe_product_id?: string | null | undefined;
1203
1258
  stripe_price_id?: string | null | undefined;
1204
1259
  stripe_meter_id?: string | null | undefined;
1205
- attribution?: {
1206
- originality: "original" | "derivative" | "third-party";
1207
- external_url?: string | null | undefined;
1208
- github_url?: string | null | undefined;
1209
- paper_url?: string | null | undefined;
1210
- doi_url?: string | null | undefined;
1211
- citation?: {
1212
- doi?: string | null | undefined;
1213
- title?: string | null | undefined;
1214
- authors?: string[] | null | undefined;
1215
- year?: number | null | undefined;
1216
- venue?: string | null | undefined;
1217
- url?: string | null | undefined;
1218
- bibtex?: string | null | undefined;
1219
- source?: string | null | undefined;
1220
- } | null | undefined;
1221
- relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
1222
- doi?: string | null | undefined;
1223
- } | null | undefined;
1224
1260
  preview?: Record<string, any>[] | null | undefined;
1225
1261
  name_url_slug?: string | null | undefined;
1226
1262
  description?: {
@@ -1275,32 +1311,7 @@ declare const UpdateQuestSchema: z.ZodPipe<z.ZodObject<{
1275
1311
  "pay-to-unlock": "pay-to-unlock";
1276
1312
  "pay-per-use": "pay-per-use";
1277
1313
  }>>;
1278
- state: z.ZodOptional<z.ZodEnum<{
1279
- success: "success";
1280
- queued: "queued";
1281
- "in-progress": "in-progress";
1282
- "timed-out": "timed-out";
1283
- error: "error";
1284
- }>>;
1285
- parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
1286
- license_id: z.ZodOptional<z.ZodString>;
1287
- license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1288
- name_url_slug: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1289
- price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
1290
- unit_cost: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
1291
- cost_accounting: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1292
- fixed: "fixed";
1293
- variable: "variable";
1294
- }>>>>;
1295
- cost_unit: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1296
- price_currency: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
1297
- usd: "usd";
1298
- btc: "btc";
1299
- }>>>;
1300
- stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1301
- stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1302
- stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1303
- attribution: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
1314
+ attribution: z.ZodOptional<z.ZodObject<{
1304
1315
  originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1305
1316
  original: "original";
1306
1317
  derivative: "derivative";
@@ -1328,7 +1339,32 @@ declare const UpdateQuestSchema: z.ZodPipe<z.ZodObject<{
1328
1339
  IsIdenticalTo: "IsIdenticalTo";
1329
1340
  }>>>;
1330
1341
  doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1331
- }, z.core.$strip>>>>;
1342
+ }, z.core.$strip>>;
1343
+ state: z.ZodOptional<z.ZodEnum<{
1344
+ success: "success";
1345
+ queued: "queued";
1346
+ "in-progress": "in-progress";
1347
+ "timed-out": "timed-out";
1348
+ error: "error";
1349
+ }>>;
1350
+ parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
1351
+ license_id: z.ZodOptional<z.ZodString>;
1352
+ license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1353
+ name_url_slug: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1354
+ price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
1355
+ unit_cost: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
1356
+ cost_accounting: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1357
+ fixed: "fixed";
1358
+ variable: "variable";
1359
+ }>>>>;
1360
+ cost_unit: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1361
+ price_currency: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
1362
+ usd: "usd";
1363
+ btc: "btc";
1364
+ }>>>;
1365
+ stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1366
+ stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1367
+ stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1332
1368
  preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>>;
1333
1369
  asset_type: z.ZodDefault<z.ZodLiteral<"quest">>;
1334
1370
  last_updated: z.ZodDefault<z.ZodString>;
@@ -1356,19 +1392,6 @@ declare const UpdateQuestSchema: z.ZodPipe<z.ZodObject<{
1356
1392
  } | null | undefined;
1357
1393
  source?: "api" | "web" | undefined;
1358
1394
  monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
1359
- state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
1360
- parent_id?: string | null | undefined;
1361
- license_id?: string | undefined;
1362
- license?: Record<string, any> | undefined;
1363
- name_url_slug?: string | null | undefined;
1364
- price?: number | null | undefined;
1365
- unit_cost?: number | null | undefined;
1366
- cost_accounting?: "fixed" | "variable" | null | undefined;
1367
- cost_unit?: string | null | undefined;
1368
- price_currency?: "usd" | "btc" | undefined;
1369
- stripe_product_id?: string | null | undefined;
1370
- stripe_price_id?: string | null | undefined;
1371
- stripe_meter_id?: string | null | undefined;
1372
1395
  attribution?: {
1373
1396
  originality: "original" | "derivative" | "third-party";
1374
1397
  external_url?: string | null | undefined;
@@ -1387,7 +1410,20 @@ declare const UpdateQuestSchema: z.ZodPipe<z.ZodObject<{
1387
1410
  } | null | undefined;
1388
1411
  relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
1389
1412
  doi?: string | null | undefined;
1390
- } | null | undefined;
1413
+ } | undefined;
1414
+ state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
1415
+ parent_id?: string | null | undefined;
1416
+ license_id?: string | undefined;
1417
+ license?: Record<string, any> | undefined;
1418
+ name_url_slug?: string | null | undefined;
1419
+ price?: number | null | undefined;
1420
+ unit_cost?: number | null | undefined;
1421
+ cost_accounting?: "fixed" | "variable" | null | undefined;
1422
+ cost_unit?: string | null | undefined;
1423
+ price_currency?: "usd" | "btc" | undefined;
1424
+ stripe_product_id?: string | null | undefined;
1425
+ stripe_price_id?: string | null | undefined;
1426
+ stripe_meter_id?: string | null | undefined;
1391
1427
  preview?: Record<string, any>[] | null | undefined;
1392
1428
  }, {
1393
1429
  asset_type: "quest";
@@ -1413,19 +1449,6 @@ declare const UpdateQuestSchema: z.ZodPipe<z.ZodObject<{
1413
1449
  } | null | undefined;
1414
1450
  source?: "api" | "web" | undefined;
1415
1451
  monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
1416
- state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
1417
- parent_id?: string | null | undefined;
1418
- license_id?: string | undefined;
1419
- license?: Record<string, any> | undefined;
1420
- name_url_slug?: string | null | undefined;
1421
- price?: number | null | undefined;
1422
- unit_cost?: number | null | undefined;
1423
- cost_accounting?: "fixed" | "variable" | null | undefined;
1424
- cost_unit?: string | null | undefined;
1425
- price_currency?: "usd" | "btc" | undefined;
1426
- stripe_product_id?: string | null | undefined;
1427
- stripe_price_id?: string | null | undefined;
1428
- stripe_meter_id?: string | null | undefined;
1429
1452
  attribution?: {
1430
1453
  originality: "original" | "derivative" | "third-party";
1431
1454
  external_url?: string | null | undefined;
@@ -1444,7 +1467,20 @@ declare const UpdateQuestSchema: z.ZodPipe<z.ZodObject<{
1444
1467
  } | null | undefined;
1445
1468
  relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
1446
1469
  doi?: string | null | undefined;
1447
- } | null | undefined;
1470
+ } | undefined;
1471
+ state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
1472
+ parent_id?: string | null | undefined;
1473
+ license_id?: string | undefined;
1474
+ license?: Record<string, any> | undefined;
1475
+ name_url_slug?: string | null | undefined;
1476
+ price?: number | null | undefined;
1477
+ unit_cost?: number | null | undefined;
1478
+ cost_accounting?: "fixed" | "variable" | null | undefined;
1479
+ cost_unit?: string | null | undefined;
1480
+ price_currency?: "usd" | "btc" | undefined;
1481
+ stripe_product_id?: string | null | undefined;
1482
+ stripe_price_id?: string | null | undefined;
1483
+ stripe_meter_id?: string | null | undefined;
1448
1484
  preview?: Record<string, any>[] | null | undefined;
1449
1485
  }>>;
1450
1486
  declare const UpdateQuestItemSchema: z.ZodObject<{