@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
@@ -108,9 +108,9 @@ declare const FileSchema: z.ZodObject<{
108
108
  none: "none";
109
109
  }>>;
110
110
  visibility: z.ZodOptional<z.ZodEnum<{
111
- organization: "organization";
112
111
  public: "public";
113
112
  private: "private";
113
+ organization: "organization";
114
114
  monetized: "monetized";
115
115
  inherit: "inherit";
116
116
  }>>;
@@ -182,9 +182,9 @@ declare const FileSchema: z.ZodObject<{
182
182
  text: z.ZodString;
183
183
  }, z.core.$strip>>>;
184
184
  visibility: z.ZodEnum<{
185
- organization: "organization";
186
185
  public: "public";
187
186
  private: "private";
187
+ organization: "organization";
188
188
  monetized: "monetized";
189
189
  inherit: "inherit";
190
190
  }>;
@@ -210,15 +210,16 @@ declare const FileSchema: z.ZodObject<{
210
210
  preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
211
211
  state: z.ZodEnum<{
212
212
  success: "success";
213
+ error: "error";
213
214
  queued: "queued";
214
215
  "in-progress": "in-progress";
215
216
  "timed-out": "timed-out";
216
- error: "error";
217
217
  }>;
218
218
  source: z.ZodEnum<{
219
- api: "api";
220
219
  web: "web";
220
+ api: "api";
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.ZodDefault<z.ZodLiteral<"file">>;
@@ -250,15 +251,15 @@ declare const FileSchema: z.ZodObject<{
250
251
  }, z.core.$strip>;
251
252
  declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
252
253
  parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
253
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
254
- json: z.ZodRecord<z.ZodString, z.ZodAny>;
255
- text: z.ZodString;
256
- }, z.core.$strip>>>>;
257
254
  monetization: z.ZodOptional<z.ZodEnum<{
258
255
  none: "none";
259
256
  "pay-to-unlock": "pay-to-unlock";
260
257
  "pay-per-use": "pay-per-use";
261
258
  }>>;
259
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
260
+ json: z.ZodRecord<z.ZodString, z.ZodAny>;
261
+ text: z.ZodString;
262
+ }, z.core.$strip>>>>;
262
263
  parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
263
264
  license_id: z.ZodOptional<z.ZodString>;
264
265
  price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
@@ -282,13 +283,13 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
282
283
  name: z.ZodString;
283
284
  name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
284
285
  source: z.ZodDefault<z.ZodEnum<{
285
- api: "api";
286
286
  web: "web";
287
+ api: "api";
287
288
  }>>;
288
289
  visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
289
- organization: "organization";
290
290
  public: "public";
291
291
  private: "private";
292
+ organization: "organization";
292
293
  monetized: "monetized";
293
294
  inherit: "inherit";
294
295
  }>>>;
@@ -323,15 +324,15 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
323
324
  }, z.core.$strip>;
324
325
  }, z.core.$strip>, z.ZodObject<{
325
326
  parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
326
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
327
- json: z.ZodRecord<z.ZodString, z.ZodAny>;
328
- text: z.ZodString;
329
- }, z.core.$strip>>>>;
330
327
  monetization: z.ZodOptional<z.ZodEnum<{
331
328
  none: "none";
332
329
  "pay-to-unlock": "pay-to-unlock";
333
330
  "pay-per-use": "pay-per-use";
334
331
  }>>;
332
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
333
+ json: z.ZodRecord<z.ZodString, z.ZodAny>;
334
+ text: z.ZodString;
335
+ }, z.core.$strip>>>>;
335
336
  parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
336
337
  license_id: z.ZodOptional<z.ZodString>;
337
338
  price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
@@ -355,13 +356,13 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
355
356
  name: z.ZodString;
356
357
  name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
357
358
  source: z.ZodDefault<z.ZodEnum<{
358
- api: "api";
359
359
  web: "web";
360
+ api: "api";
360
361
  }>>;
361
362
  visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
362
- organization: "organization";
363
363
  public: "public";
364
364
  private: "private";
365
+ organization: "organization";
365
366
  monetized: "monetized";
366
367
  inherit: "inherit";
367
368
  }>>>;
@@ -388,8 +389,8 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
388
389
  team_id: string | null;
389
390
  org_id: string | null;
390
391
  name: string;
391
- source: "api" | "web";
392
- visibility: "organization" | "public" | "private" | "monetized" | "inherit";
392
+ source: "web" | "api";
393
+ visibility: "public" | "private" | "organization" | "monetized" | "inherit";
393
394
  created_at: string;
394
395
  last_updated: string;
395
396
  asset_type: "file";
@@ -413,11 +414,11 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
413
414
  reply_to_comment_id?: string | null | undefined;
414
415
  };
415
416
  parent?: Record<string, any> | undefined;
417
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
416
418
  description?: {
417
419
  json: Record<string, any>;
418
420
  text: string;
419
421
  } | null | undefined;
420
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
421
422
  parent_id?: string | null | undefined;
422
423
  license_id?: string | undefined;
423
424
  price?: number | null | undefined;
@@ -435,8 +436,8 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
435
436
  team_id: string | null;
436
437
  org_id: string | null;
437
438
  name: string;
438
- source: "api" | "web";
439
- visibility: "organization" | "public" | "private" | "monetized" | "inherit";
439
+ source: "web" | "api";
440
+ visibility: "public" | "private" | "organization" | "monetized" | "inherit";
440
441
  created_at: string;
441
442
  last_updated: string;
442
443
  asset_type: "file";
@@ -452,11 +453,11 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
452
453
  reply_to_comment_id?: string | null | undefined;
453
454
  };
454
455
  parent?: Record<string, any> | undefined;
456
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
455
457
  description?: {
456
458
  json: Record<string, any>;
457
459
  text: string;
458
460
  } | null | undefined;
459
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
460
461
  parent_id?: string | null | undefined;
461
462
  license_id?: string | undefined;
462
463
  price?: number | null | undefined;
@@ -474,8 +475,8 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
474
475
  team_id: string | null;
475
476
  org_id: string | null;
476
477
  name: string;
477
- source: "api" | "web";
478
- visibility: "organization" | "public" | "private" | "monetized" | "inherit";
478
+ source: "web" | "api";
479
+ visibility: "public" | "private" | "organization" | "monetized" | "inherit";
479
480
  created_at: string;
480
481
  last_updated: string;
481
482
  asset_type: "file";
@@ -499,11 +500,11 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
499
500
  reply_to_comment_id?: string | null | undefined;
500
501
  };
501
502
  parent?: Record<string, any> | undefined;
503
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
502
504
  description?: {
503
505
  json: Record<string, any>;
504
506
  text: string;
505
507
  } | null | undefined;
506
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
507
508
  parent_id?: string | null | undefined;
508
509
  license_id?: string | undefined;
509
510
  price?: number | null | undefined;
@@ -521,8 +522,8 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
521
522
  team_id: string | null;
522
523
  org_id: string | null;
523
524
  name: string;
524
- source: "api" | "web";
525
- visibility: "organization" | "public" | "private" | "monetized" | "inherit";
525
+ source: "web" | "api";
526
+ visibility: "public" | "private" | "organization" | "monetized" | "inherit";
526
527
  created_at: string;
527
528
  last_updated: string;
528
529
  asset_type: "file";
@@ -538,11 +539,11 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
538
539
  reply_to_comment_id?: string | null | undefined;
539
540
  };
540
541
  parent?: Record<string, any> | undefined;
542
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
541
543
  description?: {
542
544
  json: Record<string, any>;
543
545
  text: string;
544
546
  } | null | undefined;
545
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
546
547
  parent_id?: string | null | undefined;
547
548
  license_id?: string | undefined;
548
549
  price?: number | null | undefined;
@@ -557,51 +558,19 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
557
558
  name_url_slug?: string | null | undefined;
558
559
  }>>;
559
560
  declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
560
- asset_type: z.ZodOptional<z.ZodDefault<z.ZodLiteral<"file">>>;
561
- org_id: z.ZodOptional<z.ZodUUID>;
562
561
  parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
563
- metadata: z.ZodOptional<z.ZodObject<{
564
- id: z.ZodUUID;
565
- path: z.ZodString;
566
- bucket: z.ZodEnum<{
567
- "public-files": "public-files";
568
- files: "files";
569
- }>;
570
- name: z.ZodString;
571
- type: z.ZodString;
572
- extension: z.ZodString;
573
- size: z.ZodNumber;
574
- width: z.ZodOptional<z.ZodNumber>;
575
- height: z.ZodOptional<z.ZodNumber>;
576
- doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
577
- external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
578
- paper_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
579
- github_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
580
- originality: z.ZodOptional<z.ZodEnum<{
581
- original: "original";
582
- derivative: "derivative";
583
- "third-party": "third-party";
584
- }>>;
585
- source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
586
- reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
587
- }, z.core.$strip>>;
588
- name: z.ZodOptional<z.ZodString>;
589
- team_id: z.ZodOptional<z.ZodUUID>;
562
+ source: z.ZodOptional<z.ZodEnum<{
563
+ web: "web";
564
+ api: "api";
565
+ }>>;
566
+ asset_type: z.ZodOptional<z.ZodDefault<z.ZodLiteral<"file">>>;
590
567
  visibility: z.ZodOptional<z.ZodEnum<{
591
- organization: "organization";
592
568
  public: "public";
593
569
  private: "private";
570
+ organization: "organization";
594
571
  monetized: "monetized";
595
572
  inherit: "inherit";
596
573
  }>>;
597
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
598
- json: z.ZodRecord<z.ZodString, z.ZodAny>;
599
- text: z.ZodString;
600
- }, z.core.$strip>>>>;
601
- source: z.ZodOptional<z.ZodEnum<{
602
- api: "api";
603
- web: "web";
604
- }>>;
605
574
  monetization: z.ZodOptional<z.ZodEnum<{
606
575
  none: "none";
607
576
  "pay-to-unlock": "pay-to-unlock";
@@ -609,11 +578,18 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
609
578
  }>>;
610
579
  state: z.ZodOptional<z.ZodEnum<{
611
580
  success: "success";
581
+ error: "error";
612
582
  queued: "queued";
613
583
  "in-progress": "in-progress";
614
584
  "timed-out": "timed-out";
615
- error: "error";
616
585
  }>>;
586
+ name: z.ZodOptional<z.ZodString>;
587
+ org_id: z.ZodOptional<z.ZodUUID>;
588
+ team_id: z.ZodOptional<z.ZodUUID>;
589
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
590
+ json: z.ZodRecord<z.ZodString, z.ZodAny>;
591
+ text: z.ZodString;
592
+ }, z.core.$strip>>>>;
617
593
  parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
618
594
  license_id: z.ZodOptional<z.ZodString>;
619
595
  license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
@@ -632,13 +608,60 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
632
608
  stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
633
609
  stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
634
610
  stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
611
+ metadata: z.ZodOptional<z.ZodObject<{
612
+ id: z.ZodUUID;
613
+ path: z.ZodString;
614
+ bucket: z.ZodEnum<{
615
+ "public-files": "public-files";
616
+ files: "files";
617
+ }>;
618
+ name: z.ZodString;
619
+ type: z.ZodString;
620
+ extension: z.ZodString;
621
+ size: z.ZodNumber;
622
+ width: z.ZodOptional<z.ZodNumber>;
623
+ height: z.ZodOptional<z.ZodNumber>;
624
+ doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
625
+ external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
626
+ paper_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
627
+ github_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
628
+ originality: z.ZodOptional<z.ZodEnum<{
629
+ original: "original";
630
+ derivative: "derivative";
631
+ "third-party": "third-party";
632
+ }>>;
633
+ source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
634
+ reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
635
+ }, z.core.$strip>>;
635
636
  preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>>;
636
637
  last_updated: z.ZodDefault<z.ZodString>;
637
638
  }, z.core.$strip>, z.ZodTransform<{
638
639
  last_updated: string;
640
+ parent?: Record<string, any> | undefined;
641
+ source?: "web" | "api" | undefined;
639
642
  asset_type?: "file" | undefined;
643
+ visibility?: "public" | "private" | "organization" | "monetized" | "inherit" | undefined;
644
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
645
+ state?: "success" | "error" | "queued" | "in-progress" | "timed-out" | undefined;
646
+ name?: string | undefined;
640
647
  org_id?: string | undefined;
641
- parent?: Record<string, any> | undefined;
648
+ team_id?: string | undefined;
649
+ description?: {
650
+ json: Record<string, any>;
651
+ text: string;
652
+ } | null | undefined;
653
+ parent_id?: string | null | undefined;
654
+ license_id?: string | undefined;
655
+ license?: Record<string, any> | undefined;
656
+ name_url_slug?: string | null | undefined;
657
+ price?: number | null | undefined;
658
+ unit_cost?: number | null | undefined;
659
+ cost_accounting?: "fixed" | "variable" | null | undefined;
660
+ cost_unit?: string | null | undefined;
661
+ price_currency?: "usd" | "btc" | undefined;
662
+ stripe_product_id?: string | null | undefined;
663
+ stripe_price_id?: string | null | undefined;
664
+ stripe_meter_id?: string | null | undefined;
642
665
  metadata?: {
643
666
  id: string;
644
667
  path: string;
@@ -657,16 +680,22 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
657
680
  source?: string | null | undefined;
658
681
  reply_to_comment_id?: string | null | undefined;
659
682
  } | undefined;
683
+ preview?: Record<string, any>[] | null | undefined;
684
+ }, {
685
+ last_updated: string;
686
+ parent?: Record<string, any> | undefined;
687
+ source?: "web" | "api" | undefined;
688
+ asset_type?: "file" | undefined;
689
+ visibility?: "public" | "private" | "organization" | "monetized" | "inherit" | undefined;
690
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
691
+ state?: "success" | "error" | "queued" | "in-progress" | "timed-out" | undefined;
660
692
  name?: string | undefined;
693
+ org_id?: string | undefined;
661
694
  team_id?: string | undefined;
662
- visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
663
695
  description?: {
664
696
  json: Record<string, any>;
665
697
  text: string;
666
698
  } | null | undefined;
667
- source?: "api" | "web" | undefined;
668
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
669
- state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
670
699
  parent_id?: string | null | undefined;
671
700
  license_id?: string | undefined;
672
701
  license?: Record<string, any> | undefined;
@@ -679,12 +708,6 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
679
708
  stripe_product_id?: string | null | undefined;
680
709
  stripe_price_id?: string | null | undefined;
681
710
  stripe_meter_id?: string | null | undefined;
682
- preview?: Record<string, any>[] | null | undefined;
683
- }, {
684
- last_updated: string;
685
- asset_type?: "file" | undefined;
686
- org_id?: string | undefined;
687
- parent?: Record<string, any> | undefined;
688
711
  metadata?: {
689
712
  id: string;
690
713
  path: string;
@@ -703,28 +726,6 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
703
726
  source?: string | null | undefined;
704
727
  reply_to_comment_id?: string | null | undefined;
705
728
  } | undefined;
706
- name?: string | undefined;
707
- team_id?: string | undefined;
708
- visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
709
- description?: {
710
- json: Record<string, any>;
711
- text: string;
712
- } | null | undefined;
713
- source?: "api" | "web" | undefined;
714
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
715
- state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
716
- parent_id?: string | null | undefined;
717
- license_id?: string | undefined;
718
- license?: Record<string, any> | undefined;
719
- name_url_slug?: string | null | undefined;
720
- price?: number | null | undefined;
721
- unit_cost?: number | null | undefined;
722
- cost_accounting?: "fixed" | "variable" | null | undefined;
723
- cost_unit?: string | null | undefined;
724
- price_currency?: "usd" | "btc" | undefined;
725
- stripe_product_id?: string | null | undefined;
726
- stripe_price_id?: string | null | undefined;
727
- stripe_meter_id?: string | null | undefined;
728
729
  preview?: Record<string, any>[] | null | undefined;
729
730
  }>>;
730
731
 
@@ -1,2 +1,2 @@
1
- export{b as CreateFileSchema,a as FileSchema,c as updateFileSchema}from'../chunk-B4225TEG.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=files.js.map
1
+ export{b as CreateFileSchema,a as FileSchema,c as updateFileSchema}from'../chunk-KCVE35IO.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=files.js.map
2
2
  //# sourceMappingURL=files.js.map
@@ -38,11 +38,11 @@ declare const NotificationSchema: z.ZodObject<{
38
38
  asset: z.ZodOptional<z.ZodObject<{
39
39
  assetId: z.ZodString;
40
40
  assetType: z.ZodEnum<{
41
- user: "user";
42
41
  organization: "organization";
42
+ file: "file";
43
+ user: "user";
43
44
  team: "team";
44
45
  dataset: "dataset";
45
- file: "file";
46
46
  service: "service";
47
47
  route: "route";
48
48
  post: "post";
@@ -38,11 +38,11 @@ declare const NotificationSchema: z.ZodObject<{
38
38
  asset: z.ZodOptional<z.ZodObject<{
39
39
  assetId: z.ZodString;
40
40
  assetType: z.ZodEnum<{
41
- user: "user";
42
41
  organization: "organization";
42
+ file: "file";
43
+ user: "user";
43
44
  team: "team";
44
45
  dataset: "dataset";
45
- file: "file";
46
46
  service: "service";
47
47
  route: "route";
48
48
  post: "post";
@@ -80,9 +80,9 @@ declare const MembershipSchema: z.ZodObject<{
80
80
  membership_type: z.ZodDefault<z.ZodOptional<z.ZodString>>;
81
81
  added_at: z.ZodDefault<z.ZodString>;
82
82
  visibility: z.ZodDefault<z.ZodEnum<{
83
- organization: "organization";
84
83
  public: "public";
85
84
  private: "private";
85
+ organization: "organization";
86
86
  monetized: "monetized";
87
87
  inherit: "inherit";
88
88
  }>>;
@@ -80,9 +80,9 @@ declare const MembershipSchema: z.ZodObject<{
80
80
  membership_type: z.ZodDefault<z.ZodOptional<z.ZodString>>;
81
81
  added_at: z.ZodDefault<z.ZodString>;
82
82
  visibility: z.ZodDefault<z.ZodEnum<{
83
- organization: "organization";
84
83
  public: "public";
85
84
  private: "private";
85
+ organization: "organization";
86
86
  monetized: "monetized";
87
87
  inherit: "inherit";
88
88
  }>>;
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkWUC5AUUJ_cjs=require('../chunk-WUC5AUUJ.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,"ContentSchema",{enumerable:true,get:function(){return chunkWUC5AUUJ_cjs.b}});Object.defineProperty(exports,"CreatePostSchema",{enumerable:true,get:function(){return chunkWUC5AUUJ_cjs.d}});Object.defineProperty(exports,"ListPostsSchema",{enumerable:true,get:function(){return chunkWUC5AUUJ_cjs.g}});Object.defineProperty(exports,"PostSchema",{enumerable:true,get:function(){return chunkWUC5AUUJ_cjs.c}});Object.defineProperty(exports,"ReadPostSchema",{enumerable:true,get:function(){return chunkWUC5AUUJ_cjs.e}});Object.defineProperty(exports,"ReadPostsSchema",{enumerable:true,get:function(){return chunkWUC5AUUJ_cjs.f}});Object.defineProperty(exports,"TipTapSchema",{enumerable:true,get:function(){return chunkWUC5AUUJ_cjs.a}});Object.defineProperty(exports,"UpdatePostSchema",{enumerable:true,get:function(){return chunkWUC5AUUJ_cjs.h}});//# sourceMappingURL=posts.cjs.map
1
+ 'use strict';var chunkF5CWCYOP_cjs=require('../chunk-F5CWCYOP.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,"ContentSchema",{enumerable:true,get:function(){return chunkF5CWCYOP_cjs.b}});Object.defineProperty(exports,"CreatePostSchema",{enumerable:true,get:function(){return chunkF5CWCYOP_cjs.d}});Object.defineProperty(exports,"ListPostsSchema",{enumerable:true,get:function(){return chunkF5CWCYOP_cjs.g}});Object.defineProperty(exports,"PostSchema",{enumerable:true,get:function(){return chunkF5CWCYOP_cjs.c}});Object.defineProperty(exports,"ReadPostSchema",{enumerable:true,get:function(){return chunkF5CWCYOP_cjs.e}});Object.defineProperty(exports,"ReadPostsSchema",{enumerable:true,get:function(){return chunkF5CWCYOP_cjs.f}});Object.defineProperty(exports,"TipTapSchema",{enumerable:true,get:function(){return chunkF5CWCYOP_cjs.a}});Object.defineProperty(exports,"UpdatePostSchema",{enumerable:true,get:function(){return chunkF5CWCYOP_cjs.h}});//# sourceMappingURL=posts.cjs.map
2
2
  //# sourceMappingURL=posts.cjs.map