@ourofoundation/ouro-js 3.5.0 → 3.5.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 (107) hide show
  1. package/dist/{chunk-BFBGVGNF.js → chunk-35CJDNHH.js} +2 -2
  2. package/dist/{chunk-BFBGVGNF.js.map → chunk-35CJDNHH.js.map} +1 -1
  3. package/dist/chunk-3UWDQLTN.js +2 -0
  4. package/dist/chunk-3UWDQLTN.js.map +1 -0
  5. package/dist/chunk-6GPIZJ4T.cjs +2 -0
  6. package/dist/chunk-6GPIZJ4T.cjs.map +1 -0
  7. package/dist/{chunk-CONKY65O.cjs → chunk-6ZJQTECB.cjs} +2 -2
  8. package/dist/{chunk-CONKY65O.cjs.map → chunk-6ZJQTECB.cjs.map} +1 -1
  9. package/dist/{chunk-XWXLCG4E.cjs → chunk-BWAEBQKV.cjs} +2 -2
  10. package/dist/chunk-BWAEBQKV.cjs.map +1 -0
  11. package/dist/chunk-F5CWCYOP.cjs +2 -0
  12. package/dist/chunk-F5CWCYOP.cjs.map +1 -0
  13. package/dist/{chunk-QT3A4ULM.cjs → chunk-FRMPLGE4.cjs} +2 -2
  14. package/dist/{chunk-QT3A4ULM.cjs.map → chunk-FRMPLGE4.cjs.map} +1 -1
  15. package/dist/{chunk-6YF2RSXS.js → chunk-G3VMEPTP.js} +2 -2
  16. package/dist/{chunk-6YF2RSXS.js.map → chunk-G3VMEPTP.js.map} +1 -1
  17. package/dist/chunk-HIXNQKVP.cjs +2 -0
  18. package/dist/{chunk-NEINJFFK.cjs.map → chunk-HIXNQKVP.cjs.map} +1 -1
  19. package/dist/chunk-IWOXGKK4.js +2 -0
  20. package/dist/chunk-IWOXGKK4.js.map +1 -0
  21. package/dist/chunk-KCVE35IO.js +2 -0
  22. package/dist/chunk-KCVE35IO.js.map +1 -0
  23. package/dist/chunk-MLTO7TMM.js +2 -0
  24. package/dist/chunk-MLTO7TMM.js.map +1 -0
  25. package/dist/chunk-OBWPO2QT.cjs +2 -0
  26. package/dist/chunk-OBWPO2QT.cjs.map +1 -0
  27. package/dist/{chunk-Z3ALIFYO.js → chunk-R2W4NEEJ.js} +2 -2
  28. package/dist/chunk-R2W4NEEJ.js.map +1 -0
  29. package/dist/{chunk-IP4OVRZB.cjs → chunk-ROMY5WNQ.cjs} +2 -2
  30. package/dist/chunk-ROMY5WNQ.cjs.map +1 -0
  31. package/dist/chunk-SR5UZ4NP.js +2 -0
  32. package/dist/chunk-SR5UZ4NP.js.map +1 -0
  33. package/dist/{chunk-JKTQY4RU.js → chunk-TYOQ32UV.js} +2 -2
  34. package/dist/{chunk-JKTQY4RU.js.map → chunk-TYOQ32UV.js.map} +1 -1
  35. package/dist/chunk-V73EW77Y.cjs +2 -0
  36. package/dist/chunk-V73EW77Y.cjs.map +1 -0
  37. package/dist/index.cjs +1 -1
  38. package/dist/index.d.cts +1 -1
  39. package/dist/index.d.ts +1 -1
  40. package/dist/index.js +1 -1
  41. package/dist/schema/assets.cjs +1 -1
  42. package/dist/schema/assets.d.cts +85 -84
  43. package/dist/schema/assets.d.ts +85 -84
  44. package/dist/schema/assets.js +1 -1
  45. package/dist/schema/comments.cjs +1 -1
  46. package/dist/schema/comments.d.cts +140 -136
  47. package/dist/schema/comments.d.ts +140 -136
  48. package/dist/schema/comments.js +1 -1
  49. package/dist/schema/common.d.cts +16 -16
  50. package/dist/schema/common.d.ts +16 -16
  51. package/dist/schema/conversations.cjs +1 -1
  52. package/dist/schema/conversations.d.cts +70 -69
  53. package/dist/schema/conversations.d.ts +70 -69
  54. package/dist/schema/conversations.js +1 -1
  55. package/dist/schema/datasets.cjs +1 -1
  56. package/dist/schema/datasets.d.cts +283 -107
  57. package/dist/schema/datasets.d.ts +283 -107
  58. package/dist/schema/datasets.js +1 -1
  59. package/dist/schema/files.cjs +1 -1
  60. package/dist/schema/files.d.cts +101 -100
  61. package/dist/schema/files.d.ts +101 -100
  62. package/dist/schema/files.js +1 -1
  63. package/dist/schema/notifications.d.cts +2 -2
  64. package/dist/schema/notifications.d.ts +2 -2
  65. package/dist/schema/organizations.d.cts +1 -1
  66. package/dist/schema/organizations.d.ts +1 -1
  67. package/dist/schema/posts.cjs +1 -1
  68. package/dist/schema/posts.d.cts +131 -129
  69. package/dist/schema/posts.d.ts +131 -129
  70. package/dist/schema/posts.js +1 -1
  71. package/dist/schema/quests.cjs +1 -1
  72. package/dist/schema/quests.d.cts +178 -177
  73. package/dist/schema/quests.d.ts +178 -177
  74. package/dist/schema/quests.js +1 -1
  75. package/dist/schema/services.cjs +1 -1
  76. package/dist/schema/services.d.cts +131 -127
  77. package/dist/schema/services.d.ts +131 -127
  78. package/dist/schema/services.js +1 -1
  79. package/dist/schema/teams.d.cts +18 -18
  80. package/dist/schema/teams.d.ts +18 -18
  81. package/dist/utils/quest-submission.cjs +1 -1
  82. package/dist/utils/quest-submission.d.cts +7 -7
  83. package/dist/utils/quest-submission.d.ts +7 -7
  84. package/dist/utils/quest-submission.js +1 -1
  85. package/package.json +1 -1
  86. package/dist/chunk-7F26V24D.js +0 -2
  87. package/dist/chunk-7F26V24D.js.map +0 -1
  88. package/dist/chunk-B4225TEG.js +0 -2
  89. package/dist/chunk-B4225TEG.js.map +0 -1
  90. package/dist/chunk-BQ5WODME.cjs +0 -2
  91. package/dist/chunk-BQ5WODME.cjs.map +0 -1
  92. package/dist/chunk-G2MXCB7Q.js +0 -2
  93. package/dist/chunk-G2MXCB7Q.js.map +0 -1
  94. package/dist/chunk-IP4OVRZB.cjs.map +0 -1
  95. package/dist/chunk-JW7FACNZ.cjs +0 -2
  96. package/dist/chunk-JW7FACNZ.cjs.map +0 -1
  97. package/dist/chunk-MH4A7XAY.cjs +0 -2
  98. package/dist/chunk-MH4A7XAY.cjs.map +0 -1
  99. package/dist/chunk-NEINJFFK.cjs +0 -2
  100. package/dist/chunk-U3F23ASS.js +0 -2
  101. package/dist/chunk-U3F23ASS.js.map +0 -1
  102. package/dist/chunk-WUC5AUUJ.cjs +0 -2
  103. package/dist/chunk-WUC5AUUJ.cjs.map +0 -1
  104. package/dist/chunk-XWXLCG4E.cjs.map +0 -1
  105. package/dist/chunk-Y6AKG4FJ.js +0 -2
  106. package/dist/chunk-Y6AKG4FJ.js.map +0 -1
  107. package/dist/chunk-Z3ALIFYO.js.map +0 -1
@@ -119,9 +119,9 @@ declare const PostSchema: z.ZodObject<{
119
119
  none: "none";
120
120
  }>>;
121
121
  visibility: z.ZodOptional<z.ZodEnum<{
122
- organization: "organization";
123
122
  public: "public";
124
123
  private: "private";
124
+ organization: "organization";
125
125
  monetized: "monetized";
126
126
  inherit: "inherit";
127
127
  }>>;
@@ -192,9 +192,9 @@ declare const PostSchema: z.ZodObject<{
192
192
  text: z.ZodString;
193
193
  }, z.core.$strip>>>;
194
194
  visibility: z.ZodEnum<{
195
- organization: "organization";
196
195
  public: "public";
197
196
  private: "private";
197
+ organization: "organization";
198
198
  monetized: "monetized";
199
199
  inherit: "inherit";
200
200
  }>;
@@ -219,24 +219,25 @@ declare const PostSchema: z.ZodObject<{
219
219
  stripe_meter_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
220
220
  state: z.ZodEnum<{
221
221
  success: "success";
222
+ error: "error";
222
223
  queued: "queued";
223
224
  "in-progress": "in-progress";
224
225
  "timed-out": "timed-out";
225
- error: "error";
226
226
  }>;
227
227
  source: z.ZodEnum<{
228
- api: "api";
229
228
  web: "web";
229
+ api: "api";
230
230
  }>;
231
+ is_pinned_in_team: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
231
232
  created_at: z.ZodString;
232
233
  last_updated: z.ZodString;
233
234
  name: z.ZodNullable<z.ZodString>;
234
235
  asset_type: z.ZodEnum<{
235
- user: "user";
236
236
  organization: "organization";
237
+ file: "file";
238
+ user: "user";
237
239
  team: "team";
238
240
  dataset: "dataset";
239
- file: "file";
240
241
  service: "service";
241
242
  route: "route";
242
243
  post: "post";
@@ -271,28 +272,15 @@ declare const PostSchema: z.ZodObject<{
271
272
  }, z.core.$strip>;
272
273
  declare const CreatePostSchema: z.ZodPipe<z.ZodObject<{
273
274
  parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
274
- metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
275
- doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
276
- external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
277
- paper_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
278
- github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
279
- originality: z.ZodEnum<{
280
- original: "original";
281
- derivative: "derivative";
282
- "third-party": "third-party";
283
- }>;
284
- source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
285
- reply_to_comment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
286
- }, z.core.$strip>>>>;
287
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
288
- json: z.ZodRecord<z.ZodString, z.ZodAny>;
289
- text: z.ZodString;
290
- }, z.core.$strip>>>>;
291
275
  monetization: z.ZodOptional<z.ZodEnum<{
292
276
  none: "none";
293
277
  "pay-to-unlock": "pay-to-unlock";
294
278
  "pay-per-use": "pay-per-use";
295
279
  }>>;
280
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
281
+ json: z.ZodRecord<z.ZodString, z.ZodAny>;
282
+ text: z.ZodString;
283
+ }, z.core.$strip>>>>;
296
284
  parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
297
285
  license_id: z.ZodOptional<z.ZodString>;
298
286
  price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
@@ -309,25 +297,38 @@ declare const CreatePostSchema: z.ZodPipe<z.ZodObject<{
309
297
  stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
310
298
  stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
311
299
  stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
300
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
301
+ doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
302
+ external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
303
+ paper_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
304
+ github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
305
+ originality: z.ZodEnum<{
306
+ original: "original";
307
+ derivative: "derivative";
308
+ "third-party": "third-party";
309
+ }>;
310
+ source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
311
+ reply_to_comment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
312
+ }, z.core.$strip>>>>;
312
313
  id: z.ZodDefault<z.ZodUUID>;
313
314
  team_id: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
314
315
  org_id: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
315
316
  name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
316
317
  state: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
317
318
  success: "success";
319
+ error: "error";
318
320
  queued: "queued";
319
321
  "in-progress": "in-progress";
320
322
  "timed-out": "timed-out";
321
- error: "error";
322
323
  }>>>;
323
324
  source: z.ZodDefault<z.ZodEnum<{
324
- api: "api";
325
325
  web: "web";
326
+ api: "api";
326
327
  }>>;
327
328
  visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
328
- organization: "organization";
329
329
  public: "public";
330
330
  private: "private";
331
+ organization: "organization";
331
332
  monetized: "monetized";
332
333
  inherit: "inherit";
333
334
  }>>>;
@@ -343,9 +344,9 @@ declare const CreatePostSchema: z.ZodPipe<z.ZodObject<{
343
344
  id: string;
344
345
  team_id: string | null;
345
346
  org_id: string | null;
346
- state: "success" | "queued" | "in-progress" | "timed-out" | "error";
347
- source: "api" | "web";
348
- visibility: "organization" | "public" | "private" | "monetized" | "inherit";
347
+ state: "success" | "error" | "queued" | "in-progress" | "timed-out";
348
+ source: "web" | "api";
349
+ visibility: "public" | "private" | "organization" | "monetized" | "inherit";
349
350
  created_at: string;
350
351
  last_updated: string;
351
352
  asset_type: "post";
@@ -355,20 +356,11 @@ declare const CreatePostSchema: z.ZodPipe<z.ZodObject<{
355
356
  content: any[];
356
357
  };
357
358
  parent?: Record<string, any> | undefined;
358
- metadata?: {
359
- originality: "original" | "derivative" | "third-party";
360
- doi_url?: string | null | undefined;
361
- external_url?: string | null | undefined;
362
- paper_url?: string | null | undefined;
363
- github_url?: string | null | undefined;
364
- source?: string | null | undefined;
365
- reply_to_comment_id?: string | null | undefined;
366
- } | null | undefined;
359
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
367
360
  description?: {
368
361
  json: Record<string, any>;
369
362
  text: string;
370
363
  } | null | undefined;
371
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
372
364
  parent_id?: string | null | undefined;
373
365
  license_id?: string | undefined;
374
366
  price?: number | null | undefined;
@@ -379,14 +371,23 @@ declare const CreatePostSchema: z.ZodPipe<z.ZodObject<{
379
371
  stripe_product_id?: string | null | undefined;
380
372
  stripe_price_id?: string | null | undefined;
381
373
  stripe_meter_id?: string | null | undefined;
374
+ metadata?: {
375
+ originality: "original" | "derivative" | "third-party";
376
+ doi_url?: string | null | undefined;
377
+ external_url?: string | null | undefined;
378
+ paper_url?: string | null | undefined;
379
+ github_url?: string | null | undefined;
380
+ source?: string | null | undefined;
381
+ reply_to_comment_id?: string | null | undefined;
382
+ } | null | undefined;
382
383
  name_url_slug?: string | null | undefined;
383
384
  }, {
384
385
  id: string;
385
386
  team_id: string | null;
386
387
  org_id: string | null;
387
- state: "success" | "queued" | "in-progress" | "timed-out" | "error";
388
- source: "api" | "web";
389
- visibility: "organization" | "public" | "private" | "monetized" | "inherit";
388
+ state: "success" | "error" | "queued" | "in-progress" | "timed-out";
389
+ source: "web" | "api";
390
+ visibility: "public" | "private" | "organization" | "monetized" | "inherit";
390
391
  created_at: string;
391
392
  last_updated: string;
392
393
  asset_type: "post";
@@ -396,20 +397,11 @@ declare const CreatePostSchema: z.ZodPipe<z.ZodObject<{
396
397
  content: any[];
397
398
  };
398
399
  parent?: Record<string, any> | undefined;
399
- metadata?: {
400
- originality: "original" | "derivative" | "third-party";
401
- doi_url?: string | null | undefined;
402
- external_url?: string | null | undefined;
403
- paper_url?: string | null | undefined;
404
- github_url?: string | null | undefined;
405
- source?: string | null | undefined;
406
- reply_to_comment_id?: string | null | undefined;
407
- } | null | undefined;
400
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
408
401
  description?: {
409
402
  json: Record<string, any>;
410
403
  text: string;
411
404
  } | null | undefined;
412
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
413
405
  parent_id?: string | null | undefined;
414
406
  license_id?: string | undefined;
415
407
  price?: number | null | undefined;
@@ -420,6 +412,15 @@ declare const CreatePostSchema: z.ZodPipe<z.ZodObject<{
420
412
  stripe_product_id?: string | null | undefined;
421
413
  stripe_price_id?: string | null | undefined;
422
414
  stripe_meter_id?: string | null | undefined;
415
+ metadata?: {
416
+ originality: "original" | "derivative" | "third-party";
417
+ doi_url?: string | null | undefined;
418
+ external_url?: string | null | undefined;
419
+ paper_url?: string | null | undefined;
420
+ github_url?: string | null | undefined;
421
+ source?: string | null | undefined;
422
+ reply_to_comment_id?: string | null | undefined;
423
+ } | null | undefined;
423
424
  name_url_slug?: string | null | undefined;
424
425
  }>>;
425
426
  declare const ReadPostSchema: z.ZodObject<{
@@ -530,9 +531,9 @@ declare const ReadPostSchema: z.ZodObject<{
530
531
  none: "none";
531
532
  }>>;
532
533
  visibility: z.ZodOptional<z.ZodEnum<{
533
- organization: "organization";
534
534
  public: "public";
535
535
  private: "private";
536
+ organization: "organization";
536
537
  monetized: "monetized";
537
538
  inherit: "inherit";
538
539
  }>>;
@@ -603,9 +604,9 @@ declare const ReadPostSchema: z.ZodObject<{
603
604
  text: z.ZodString;
604
605
  }, z.core.$strip>>>;
605
606
  visibility: z.ZodEnum<{
606
- organization: "organization";
607
607
  public: "public";
608
608
  private: "private";
609
+ organization: "organization";
609
610
  monetized: "monetized";
610
611
  inherit: "inherit";
611
612
  }>;
@@ -630,24 +631,25 @@ declare const ReadPostSchema: z.ZodObject<{
630
631
  stripe_meter_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
631
632
  state: z.ZodEnum<{
632
633
  success: "success";
634
+ error: "error";
633
635
  queued: "queued";
634
636
  "in-progress": "in-progress";
635
637
  "timed-out": "timed-out";
636
- error: "error";
637
638
  }>;
638
639
  source: z.ZodEnum<{
639
- api: "api";
640
640
  web: "web";
641
+ api: "api";
641
642
  }>;
643
+ is_pinned_in_team: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
642
644
  created_at: z.ZodString;
643
645
  last_updated: z.ZodString;
644
646
  name: z.ZodNullable<z.ZodString>;
645
647
  asset_type: z.ZodEnum<{
646
- user: "user";
647
648
  organization: "organization";
649
+ file: "file";
650
+ user: "user";
648
651
  team: "team";
649
652
  dataset: "dataset";
650
- file: "file";
651
653
  service: "service";
652
654
  route: "route";
653
655
  post: "post";
@@ -682,7 +684,6 @@ declare const ReadPostSchema: z.ZodObject<{
682
684
  reactions: z.ZodDefault<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>;
683
685
  views: z.ZodDefault<z.ZodNumber>;
684
686
  commentCount: z.ZodDefault<z.ZodNumber>;
685
- pinned: z.ZodDefault<z.ZodBoolean>;
686
687
  }, z.core.$strip>;
687
688
  declare const ReadPostsSchema: z.ZodArray<z.ZodObject<{
688
689
  id: z.ZodUUID;
@@ -792,9 +793,9 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<{
792
793
  none: "none";
793
794
  }>>;
794
795
  visibility: z.ZodOptional<z.ZodEnum<{
795
- organization: "organization";
796
796
  public: "public";
797
797
  private: "private";
798
+ organization: "organization";
798
799
  monetized: "monetized";
799
800
  inherit: "inherit";
800
801
  }>>;
@@ -865,9 +866,9 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<{
865
866
  text: z.ZodString;
866
867
  }, z.core.$strip>>>;
867
868
  visibility: z.ZodEnum<{
868
- organization: "organization";
869
869
  public: "public";
870
870
  private: "private";
871
+ organization: "organization";
871
872
  monetized: "monetized";
872
873
  inherit: "inherit";
873
874
  }>;
@@ -892,24 +893,25 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<{
892
893
  stripe_meter_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
893
894
  state: z.ZodEnum<{
894
895
  success: "success";
896
+ error: "error";
895
897
  queued: "queued";
896
898
  "in-progress": "in-progress";
897
899
  "timed-out": "timed-out";
898
- error: "error";
899
900
  }>;
900
901
  source: z.ZodEnum<{
901
- api: "api";
902
902
  web: "web";
903
+ api: "api";
903
904
  }>;
905
+ is_pinned_in_team: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
904
906
  created_at: z.ZodString;
905
907
  last_updated: z.ZodString;
906
908
  name: z.ZodNullable<z.ZodString>;
907
909
  asset_type: z.ZodEnum<{
908
- user: "user";
909
910
  organization: "organization";
911
+ file: "file";
912
+ user: "user";
910
913
  team: "team";
911
914
  dataset: "dataset";
912
- file: "file";
913
915
  service: "service";
914
916
  route: "route";
915
917
  post: "post";
@@ -944,7 +946,6 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<{
944
946
  reactions: z.ZodDefault<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>;
945
947
  views: z.ZodDefault<z.ZodNumber>;
946
948
  commentCount: z.ZodDefault<z.ZodNumber>;
947
- pinned: z.ZodDefault<z.ZodBoolean>;
948
949
  }, z.core.$strip>>;
949
950
  declare const ListPostsSchema: z.ZodArray<z.ZodObject<{
950
951
  id: z.ZodUUID;
@@ -1054,9 +1055,9 @@ declare const ListPostsSchema: z.ZodArray<z.ZodObject<{
1054
1055
  none: "none";
1055
1056
  }>>;
1056
1057
  visibility: z.ZodOptional<z.ZodEnum<{
1057
- organization: "organization";
1058
1058
  public: "public";
1059
1059
  private: "private";
1060
+ organization: "organization";
1060
1061
  monetized: "monetized";
1061
1062
  inherit: "inherit";
1062
1063
  }>>;
@@ -1127,9 +1128,9 @@ declare const ListPostsSchema: z.ZodArray<z.ZodObject<{
1127
1128
  text: z.ZodString;
1128
1129
  }, z.core.$strip>>>;
1129
1130
  visibility: z.ZodEnum<{
1130
- organization: "organization";
1131
1131
  public: "public";
1132
1132
  private: "private";
1133
+ organization: "organization";
1133
1134
  monetized: "monetized";
1134
1135
  inherit: "inherit";
1135
1136
  }>;
@@ -1154,24 +1155,25 @@ declare const ListPostsSchema: z.ZodArray<z.ZodObject<{
1154
1155
  stripe_meter_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1155
1156
  state: z.ZodEnum<{
1156
1157
  success: "success";
1158
+ error: "error";
1157
1159
  queued: "queued";
1158
1160
  "in-progress": "in-progress";
1159
1161
  "timed-out": "timed-out";
1160
- error: "error";
1161
1162
  }>;
1162
1163
  source: z.ZodEnum<{
1163
- api: "api";
1164
1164
  web: "web";
1165
+ api: "api";
1165
1166
  }>;
1167
+ is_pinned_in_team: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1166
1168
  created_at: z.ZodString;
1167
1169
  last_updated: z.ZodString;
1168
1170
  name: z.ZodNullable<z.ZodString>;
1169
1171
  asset_type: z.ZodEnum<{
1170
- user: "user";
1171
1172
  organization: "organization";
1173
+ file: "file";
1174
+ user: "user";
1172
1175
  team: "team";
1173
1176
  dataset: "dataset";
1174
- file: "file";
1175
1177
  service: "service";
1176
1178
  route: "route";
1177
1179
  post: "post";
@@ -1205,12 +1207,17 @@ declare const ListPostsSchema: z.ZodArray<z.ZodObject<{
1205
1207
  }, z.core.$strip>>;
1206
1208
  }, z.core.$strip>>;
1207
1209
  declare const UpdatePostSchema: z.ZodPipe<z.ZodObject<{
1210
+ parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1211
+ source: z.ZodOptional<z.ZodEnum<{
1212
+ web: "web";
1213
+ api: "api";
1214
+ }>>;
1208
1215
  asset_type: z.ZodOptional<z.ZodEnum<{
1209
- user: "user";
1210
1216
  organization: "organization";
1217
+ file: "file";
1218
+ user: "user";
1211
1219
  team: "team";
1212
1220
  dataset: "dataset";
1213
- file: "file";
1214
1221
  service: "service";
1215
1222
  route: "route";
1216
1223
  post: "post";
@@ -1218,38 +1225,13 @@ declare const UpdatePostSchema: z.ZodPipe<z.ZodObject<{
1218
1225
  comment: "comment";
1219
1226
  conversation: "conversation";
1220
1227
  }>>;
1221
- org_id: z.ZodOptional<z.ZodUUID>;
1222
- parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1223
- metadata: z.ZodOptional<z.ZodObject<{
1224
- doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1225
- external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1226
- paper_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1227
- github_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1228
- originality: z.ZodOptional<z.ZodEnum<{
1229
- original: "original";
1230
- derivative: "derivative";
1231
- "third-party": "third-party";
1232
- }>>;
1233
- source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1234
- reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1235
- }, z.core.$strip>>;
1236
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1237
- team_id: z.ZodOptional<z.ZodUUID>;
1238
1228
  visibility: z.ZodOptional<z.ZodEnum<{
1239
- organization: "organization";
1240
1229
  public: "public";
1241
1230
  private: "private";
1231
+ organization: "organization";
1242
1232
  monetized: "monetized";
1243
1233
  inherit: "inherit";
1244
1234
  }>>;
1245
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
1246
- json: z.ZodRecord<z.ZodString, z.ZodAny>;
1247
- text: z.ZodString;
1248
- }, z.core.$strip>>>>;
1249
- source: z.ZodOptional<z.ZodEnum<{
1250
- api: "api";
1251
- web: "web";
1252
- }>>;
1253
1235
  monetization: z.ZodOptional<z.ZodEnum<{
1254
1236
  none: "none";
1255
1237
  "pay-to-unlock": "pay-to-unlock";
@@ -1257,11 +1239,18 @@ declare const UpdatePostSchema: z.ZodPipe<z.ZodObject<{
1257
1239
  }>>;
1258
1240
  state: z.ZodOptional<z.ZodEnum<{
1259
1241
  success: "success";
1242
+ error: "error";
1260
1243
  queued: "queued";
1261
1244
  "in-progress": "in-progress";
1262
1245
  "timed-out": "timed-out";
1263
- error: "error";
1264
1246
  }>>;
1247
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1248
+ org_id: z.ZodOptional<z.ZodUUID>;
1249
+ team_id: z.ZodOptional<z.ZodUUID>;
1250
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
1251
+ json: z.ZodRecord<z.ZodString, z.ZodAny>;
1252
+ text: z.ZodString;
1253
+ }, z.core.$strip>>>>;
1265
1254
  parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
1266
1255
  license_id: z.ZodOptional<z.ZodString>;
1267
1256
  license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
@@ -1280,6 +1269,19 @@ declare const UpdatePostSchema: z.ZodPipe<z.ZodObject<{
1280
1269
  stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1281
1270
  stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1282
1271
  stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1272
+ metadata: z.ZodOptional<z.ZodObject<{
1273
+ doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1274
+ external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1275
+ paper_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1276
+ github_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1277
+ originality: z.ZodOptional<z.ZodEnum<{
1278
+ original: "original";
1279
+ derivative: "derivative";
1280
+ "third-party": "third-party";
1281
+ }>>;
1282
+ source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1283
+ reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1284
+ }, z.core.$strip>>;
1283
1285
  preview: z.ZodOptional<z.ZodDefault<z.ZodObject<{
1284
1286
  type: z.ZodLiteral<"doc">;
1285
1287
  content: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
@@ -1287,28 +1289,19 @@ declare const UpdatePostSchema: z.ZodPipe<z.ZodObject<{
1287
1289
  last_updated: z.ZodDefault<z.ZodString>;
1288
1290
  }, z.core.$strip>, z.ZodTransform<{
1289
1291
  last_updated: string;
1290
- asset_type?: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | undefined;
1291
- org_id?: string | undefined;
1292
1292
  parent?: Record<string, any> | undefined;
1293
- metadata?: {
1294
- doi_url?: string | null | undefined;
1295
- external_url?: string | null | undefined;
1296
- paper_url?: string | null | undefined;
1297
- github_url?: string | null | undefined;
1298
- originality?: "original" | "derivative" | "third-party" | undefined;
1299
- source?: string | null | undefined;
1300
- reply_to_comment_id?: string | null | undefined;
1301
- } | undefined;
1293
+ source?: "web" | "api" | undefined;
1294
+ asset_type?: "organization" | "file" | "user" | "team" | "dataset" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | undefined;
1295
+ visibility?: "public" | "private" | "organization" | "monetized" | "inherit" | undefined;
1296
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
1297
+ state?: "success" | "error" | "queued" | "in-progress" | "timed-out" | undefined;
1302
1298
  name?: string | null | undefined;
1299
+ org_id?: string | undefined;
1303
1300
  team_id?: string | undefined;
1304
- visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
1305
1301
  description?: {
1306
1302
  json: Record<string, any>;
1307
1303
  text: string;
1308
1304
  } | null | undefined;
1309
- source?: "api" | "web" | undefined;
1310
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
1311
- state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
1312
1305
  parent_id?: string | null | undefined;
1313
1306
  license_id?: string | undefined;
1314
1307
  license?: Record<string, any> | undefined;
@@ -1321,15 +1314,6 @@ declare const UpdatePostSchema: z.ZodPipe<z.ZodObject<{
1321
1314
  stripe_product_id?: string | null | undefined;
1322
1315
  stripe_price_id?: string | null | undefined;
1323
1316
  stripe_meter_id?: string | null | undefined;
1324
- preview?: {
1325
- type: "doc";
1326
- content: any[];
1327
- } | undefined;
1328
- }, {
1329
- last_updated: string;
1330
- asset_type?: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | undefined;
1331
- org_id?: string | undefined;
1332
- parent?: Record<string, any> | undefined;
1333
1317
  metadata?: {
1334
1318
  doi_url?: string | null | undefined;
1335
1319
  external_url?: string | null | undefined;
@@ -1339,16 +1323,25 @@ declare const UpdatePostSchema: z.ZodPipe<z.ZodObject<{
1339
1323
  source?: string | null | undefined;
1340
1324
  reply_to_comment_id?: string | null | undefined;
1341
1325
  } | undefined;
1326
+ preview?: {
1327
+ type: "doc";
1328
+ content: any[];
1329
+ } | undefined;
1330
+ }, {
1331
+ last_updated: string;
1332
+ parent?: Record<string, any> | undefined;
1333
+ source?: "web" | "api" | undefined;
1334
+ asset_type?: "organization" | "file" | "user" | "team" | "dataset" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | undefined;
1335
+ visibility?: "public" | "private" | "organization" | "monetized" | "inherit" | undefined;
1336
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
1337
+ state?: "success" | "error" | "queued" | "in-progress" | "timed-out" | undefined;
1342
1338
  name?: string | null | undefined;
1339
+ org_id?: string | undefined;
1343
1340
  team_id?: string | undefined;
1344
- visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
1345
1341
  description?: {
1346
1342
  json: Record<string, any>;
1347
1343
  text: string;
1348
1344
  } | null | undefined;
1349
- source?: "api" | "web" | undefined;
1350
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
1351
- state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
1352
1345
  parent_id?: string | null | undefined;
1353
1346
  license_id?: string | undefined;
1354
1347
  license?: Record<string, any> | undefined;
@@ -1361,6 +1354,15 @@ declare const UpdatePostSchema: z.ZodPipe<z.ZodObject<{
1361
1354
  stripe_product_id?: string | null | undefined;
1362
1355
  stripe_price_id?: string | null | undefined;
1363
1356
  stripe_meter_id?: string | null | undefined;
1357
+ metadata?: {
1358
+ doi_url?: string | null | undefined;
1359
+ external_url?: string | null | undefined;
1360
+ paper_url?: string | null | undefined;
1361
+ github_url?: string | null | undefined;
1362
+ originality?: "original" | "derivative" | "third-party" | undefined;
1363
+ source?: string | null | undefined;
1364
+ reply_to_comment_id?: string | null | undefined;
1365
+ } | undefined;
1364
1366
  preview?: {
1365
1367
  type: "doc";
1366
1368
  content: any[];
@@ -1,2 +1,2 @@
1
- export{b as ContentSchema,d as CreatePostSchema,g as ListPostsSchema,c as PostSchema,e as ReadPostSchema,f as ReadPostsSchema,a as TipTapSchema,h as UpdatePostSchema}from'../chunk-Y6AKG4FJ.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=posts.js.map
1
+ export{b as ContentSchema,d as CreatePostSchema,g as ListPostsSchema,c as PostSchema,e as ReadPostSchema,f as ReadPostsSchema,a as TipTapSchema,h as UpdatePostSchema}from'../chunk-IWOXGKK4.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=posts.js.map
2
2
  //# sourceMappingURL=posts.js.map
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkXWXLCG4E_cjs=require('../chunk-XWXLCG4E.cjs'),chunkCONKY65O_cjs=require('../chunk-CONKY65O.cjs');require('../chunk-JW7FACNZ.cjs'),require('../chunk-IP4OVRZB.cjs'),require('../chunk-UY43EQTO.cjs'),require('../chunk-VOY623ZD.cjs'),require('../chunk-GY6SLMMJ.cjs'),require('../chunk-43KB23BA.cjs'),require('../chunk-7HF5VHUN.cjs');Object.defineProperty(exports,"CreateEntrySchema",{enumerable:true,get:function(){return chunkXWXLCG4E_cjs.p}});Object.defineProperty(exports,"CreateQuestItemObjectSchema",{enumerable:true,get:function(){return chunkXWXLCG4E_cjs.i}});Object.defineProperty(exports,"CreateQuestItemSchema",{enumerable:true,get:function(){return chunkXWXLCG4E_cjs.j}});Object.defineProperty(exports,"CreateQuestSchema",{enumerable:true,get:function(){return chunkXWXLCG4E_cjs.l}});Object.defineProperty(exports,"EntryEvalStatusSchema",{enumerable:true,get:function(){return chunkXWXLCG4E_cjs.e}});Object.defineProperty(exports,"EntrySchema",{enumerable:true,get:function(){return chunkXWXLCG4E_cjs.o}});Object.defineProperty(exports,"EntryStatusSchema",{enumerable:true,get:function(){return chunkXWXLCG4E_cjs.f}});Object.defineProperty(exports,"QuestItemBaseSchema",{enumerable:true,get:function(){return chunkXWXLCG4E_cjs.g}});Object.defineProperty(exports,"QuestItemSchema",{enumerable:true,get:function(){return chunkXWXLCG4E_cjs.h}});Object.defineProperty(exports,"QuestItemStatusSchema",{enumerable:true,get:function(){return chunkXWXLCG4E_cjs.c}});Object.defineProperty(exports,"QuestSchema",{enumerable:true,get:function(){return chunkXWXLCG4E_cjs.k}});Object.defineProperty(exports,"QuestStatusSchema",{enumerable:true,get:function(){return chunkXWXLCG4E_cjs.b}});Object.defineProperty(exports,"QuestTypeSchema",{enumerable:true,get:function(){return chunkXWXLCG4E_cjs.a}});Object.defineProperty(exports,"ReviewEntrySchema",{enumerable:true,get:function(){return chunkXWXLCG4E_cjs.q}});Object.defineProperty(exports,"RewardCurrencySchema",{enumerable:true,get:function(){return chunkXWXLCG4E_cjs.d}});Object.defineProperty(exports,"UpdateQuestItemSchema",{enumerable:true,get:function(){return chunkXWXLCG4E_cjs.n}});Object.defineProperty(exports,"UpdateQuestSchema",{enumerable:true,get:function(){return chunkXWXLCG4E_cjs.m}});Object.defineProperty(exports,"KeyedAssetInputSchema",{enumerable:true,get:function(){return chunkCONKY65O_cjs.c}});Object.defineProperty(exports,"KeyedAssetRefsSchema",{enumerable:true,get:function(){return chunkCONKY65O_cjs.a}});Object.defineProperty(exports,"QuestSubmissionAssetDeclarationSchema",{enumerable:true,get:function(){return chunkCONKY65O_cjs.d}});//# sourceMappingURL=quests.cjs.map
1
+ 'use strict';var chunkBWAEBQKV_cjs=require('../chunk-BWAEBQKV.cjs'),chunk6ZJQTECB_cjs=require('../chunk-6ZJQTECB.cjs');require('../chunk-V73EW77Y.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,"CreateEntrySchema",{enumerable:true,get:function(){return chunkBWAEBQKV_cjs.p}});Object.defineProperty(exports,"CreateQuestItemObjectSchema",{enumerable:true,get:function(){return chunkBWAEBQKV_cjs.i}});Object.defineProperty(exports,"CreateQuestItemSchema",{enumerable:true,get:function(){return chunkBWAEBQKV_cjs.j}});Object.defineProperty(exports,"CreateQuestSchema",{enumerable:true,get:function(){return chunkBWAEBQKV_cjs.l}});Object.defineProperty(exports,"EntryEvalStatusSchema",{enumerable:true,get:function(){return chunkBWAEBQKV_cjs.e}});Object.defineProperty(exports,"EntrySchema",{enumerable:true,get:function(){return chunkBWAEBQKV_cjs.o}});Object.defineProperty(exports,"EntryStatusSchema",{enumerable:true,get:function(){return chunkBWAEBQKV_cjs.f}});Object.defineProperty(exports,"QuestItemBaseSchema",{enumerable:true,get:function(){return chunkBWAEBQKV_cjs.g}});Object.defineProperty(exports,"QuestItemSchema",{enumerable:true,get:function(){return chunkBWAEBQKV_cjs.h}});Object.defineProperty(exports,"QuestItemStatusSchema",{enumerable:true,get:function(){return chunkBWAEBQKV_cjs.c}});Object.defineProperty(exports,"QuestSchema",{enumerable:true,get:function(){return chunkBWAEBQKV_cjs.k}});Object.defineProperty(exports,"QuestStatusSchema",{enumerable:true,get:function(){return chunkBWAEBQKV_cjs.b}});Object.defineProperty(exports,"QuestTypeSchema",{enumerable:true,get:function(){return chunkBWAEBQKV_cjs.a}});Object.defineProperty(exports,"ReviewEntrySchema",{enumerable:true,get:function(){return chunkBWAEBQKV_cjs.q}});Object.defineProperty(exports,"RewardCurrencySchema",{enumerable:true,get:function(){return chunkBWAEBQKV_cjs.d}});Object.defineProperty(exports,"UpdateQuestItemSchema",{enumerable:true,get:function(){return chunkBWAEBQKV_cjs.n}});Object.defineProperty(exports,"UpdateQuestSchema",{enumerable:true,get:function(){return chunkBWAEBQKV_cjs.m}});Object.defineProperty(exports,"KeyedAssetInputSchema",{enumerable:true,get:function(){return chunk6ZJQTECB_cjs.c}});Object.defineProperty(exports,"KeyedAssetRefsSchema",{enumerable:true,get:function(){return chunk6ZJQTECB_cjs.a}});Object.defineProperty(exports,"QuestSubmissionAssetDeclarationSchema",{enumerable:true,get:function(){return chunk6ZJQTECB_cjs.d}});//# sourceMappingURL=quests.cjs.map
2
2
  //# sourceMappingURL=quests.cjs.map