@ourofoundation/ouro-js 3.7.3 → 3.7.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (179) hide show
  1. package/dist/{chunk-WRHPQNEL.js → chunk-3BZRQYRC.js} +2 -2
  2. package/dist/chunk-3BZRQYRC.js.map +1 -0
  3. package/dist/{chunk-F7W5ETUD.js → chunk-3C7PGJ33.js} +2 -2
  4. package/dist/{chunk-F7W5ETUD.js.map → chunk-3C7PGJ33.js.map} +1 -1
  5. package/dist/{chunk-ODFKZL7T.js → chunk-3OUJXTJZ.js} +2 -2
  6. package/dist/{chunk-ODFKZL7T.js.map → chunk-3OUJXTJZ.js.map} +1 -1
  7. package/dist/chunk-3RFYEL3A.cjs +2 -0
  8. package/dist/chunk-3RFYEL3A.cjs.map +1 -0
  9. package/dist/chunk-42ADEGDM.js +2 -0
  10. package/dist/chunk-42ADEGDM.js.map +1 -0
  11. package/dist/{chunk-4IMLVBKS.js → chunk-42WKTHH5.js} +2 -2
  12. package/dist/{chunk-4IMLVBKS.js.map → chunk-42WKTHH5.js.map} +1 -1
  13. package/dist/chunk-4NAPVNIX.js +2 -0
  14. package/dist/chunk-4NAPVNIX.js.map +1 -0
  15. package/dist/chunk-66AAHP6X.cjs +2 -0
  16. package/dist/chunk-66AAHP6X.cjs.map +1 -0
  17. package/dist/{chunk-Q6VQANTI.cjs → chunk-7YG2YDXN.cjs} +2 -2
  18. package/dist/{chunk-Q6VQANTI.cjs.map → chunk-7YG2YDXN.cjs.map} +1 -1
  19. package/dist/{chunk-4BJJ7VCS.js → chunk-ASLHRT77.js} +2 -2
  20. package/dist/{chunk-4BJJ7VCS.js.map → chunk-ASLHRT77.js.map} +1 -1
  21. package/dist/chunk-B3OK6NNR.cjs +2 -0
  22. package/dist/chunk-B3OK6NNR.cjs.map +1 -0
  23. package/dist/chunk-CRUIBV5F.js +2 -0
  24. package/dist/chunk-CRUIBV5F.js.map +1 -0
  25. package/dist/chunk-CW4TV3DY.js +2 -0
  26. package/dist/chunk-CW4TV3DY.js.map +1 -0
  27. package/dist/chunk-EMDUI7HF.js +2 -0
  28. package/dist/chunk-EMDUI7HF.js.map +1 -0
  29. package/dist/chunk-EVQAA7RQ.cjs +2 -0
  30. package/dist/chunk-EVQAA7RQ.cjs.map +1 -0
  31. package/dist/chunk-FJTFM3ML.cjs +2 -0
  32. package/dist/chunk-FJTFM3ML.cjs.map +1 -0
  33. package/dist/chunk-JRBBNFFI.cjs +2 -0
  34. package/dist/chunk-JRBBNFFI.cjs.map +1 -0
  35. package/dist/chunk-KHUEMWG2.js +2 -0
  36. package/dist/chunk-KHUEMWG2.js.map +1 -0
  37. package/dist/chunk-LD5G6GFH.cjs +2 -0
  38. package/dist/chunk-LD5G6GFH.cjs.map +1 -0
  39. package/dist/chunk-LGJ2LLH6.js +2 -0
  40. package/dist/chunk-LGJ2LLH6.js.map +1 -0
  41. package/dist/{chunk-43KB23BA.cjs → chunk-MNECKGIP.cjs} +2 -2
  42. package/dist/chunk-MNECKGIP.cjs.map +1 -0
  43. package/dist/chunk-NAISOUTE.cjs +2 -0
  44. package/dist/chunk-NAISOUTE.cjs.map +1 -0
  45. package/dist/{chunk-PE7JS2HJ.js → chunk-PB4XG5WM.js} +2 -2
  46. package/dist/{chunk-PE7JS2HJ.js.map → chunk-PB4XG5WM.js.map} +1 -1
  47. package/dist/{chunk-SAREC2M2.cjs → chunk-QWD7POET.cjs} +2 -2
  48. package/dist/{chunk-SAREC2M2.cjs.map → chunk-QWD7POET.cjs.map} +1 -1
  49. package/dist/{chunk-FPZA5343.cjs → chunk-UDTRH3OQ.cjs} +2 -2
  50. package/dist/{chunk-FPZA5343.cjs.map → chunk-UDTRH3OQ.cjs.map} +1 -1
  51. package/dist/chunk-UVVPXYJA.cjs +2 -0
  52. package/dist/chunk-UVVPXYJA.cjs.map +1 -0
  53. package/dist/chunk-W3N744QV.js +2 -0
  54. package/dist/chunk-W3N744QV.js.map +1 -0
  55. package/dist/chunk-W6AKVS4L.cjs +2 -0
  56. package/dist/chunk-W6AKVS4L.cjs.map +1 -0
  57. package/dist/{chunk-RJX57RHG.cjs → chunk-W6MBAIKZ.cjs} +2 -2
  58. package/dist/{chunk-RJX57RHG.cjs.map → chunk-W6MBAIKZ.cjs.map} +1 -1
  59. package/dist/chunk-XVN3DFMT.js +2 -0
  60. package/dist/chunk-XVN3DFMT.js.map +1 -0
  61. package/dist/chunk-Y6TOO6ET.js +2 -0
  62. package/dist/chunk-Y6TOO6ET.js.map +1 -0
  63. package/dist/chunk-YTIUJ72Q.js +2 -0
  64. package/dist/chunk-YTIUJ72Q.js.map +1 -0
  65. package/dist/chunk-Z66O3S3W.cjs +2 -0
  66. package/dist/chunk-Z66O3S3W.cjs.map +1 -0
  67. package/dist/{chunk-R736Q46O.cjs → chunk-ZRJUBEIK.cjs} +2 -2
  68. package/dist/{chunk-R736Q46O.cjs.map → chunk-ZRJUBEIK.cjs.map} +1 -1
  69. package/dist/index.cjs +1 -1
  70. package/dist/index.d.cts +8 -5
  71. package/dist/index.d.ts +8 -5
  72. package/dist/index.js +1 -1
  73. package/dist/schema/asset-filters.cjs +2 -0
  74. package/dist/schema/asset-filters.cjs.map +1 -0
  75. package/dist/schema/asset-filters.d.cts +145 -0
  76. package/dist/schema/asset-filters.d.ts +145 -0
  77. package/dist/schema/asset-filters.js +2 -0
  78. package/dist/schema/asset-filters.js.map +1 -0
  79. package/dist/schema/assets.cjs +1 -1
  80. package/dist/schema/assets.d.cts +63 -63
  81. package/dist/schema/assets.d.ts +63 -63
  82. package/dist/schema/assets.js +1 -1
  83. package/dist/schema/comments.cjs +1 -1
  84. package/dist/schema/comments.d.cts +654 -55
  85. package/dist/schema/comments.d.ts +654 -55
  86. package/dist/schema/comments.js +1 -1
  87. package/dist/schema/common.cjs +1 -1
  88. package/dist/schema/common.d.cts +18 -10
  89. package/dist/schema/common.d.ts +18 -10
  90. package/dist/schema/common.js +1 -1
  91. package/dist/schema/content-refs.cjs +2 -0
  92. package/dist/schema/content-refs.cjs.map +1 -0
  93. package/dist/schema/content-refs.d.cts +18 -0
  94. package/dist/schema/content-refs.d.ts +18 -0
  95. package/dist/schema/content-refs.js +2 -0
  96. package/dist/schema/content-refs.js.map +1 -0
  97. package/dist/schema/conversations.cjs +1 -1
  98. package/dist/schema/conversations.d.cts +360 -54
  99. package/dist/schema/conversations.d.ts +360 -54
  100. package/dist/schema/conversations.js +1 -1
  101. package/dist/schema/datasets.cjs +1 -1
  102. package/dist/schema/datasets.d.cts +137 -137
  103. package/dist/schema/datasets.d.ts +137 -137
  104. package/dist/schema/datasets.js +1 -1
  105. package/dist/schema/files.cjs +1 -1
  106. package/dist/schema/files.d.cts +88 -88
  107. package/dist/schema/files.d.ts +88 -88
  108. package/dist/schema/files.js +1 -1
  109. package/dist/schema/notifications.cjs +1 -1
  110. package/dist/schema/notifications.d.cts +3417 -41
  111. package/dist/schema/notifications.d.ts +3417 -41
  112. package/dist/schema/notifications.js +1 -1
  113. package/dist/schema/organizations.cjs +1 -1
  114. package/dist/schema/organizations.js +1 -1
  115. package/dist/schema/posts.cjs +1 -1
  116. package/dist/schema/posts.d.cts +697 -85
  117. package/dist/schema/posts.d.ts +697 -85
  118. package/dist/schema/posts.js +1 -1
  119. package/dist/schema/quests.cjs +1 -1
  120. package/dist/schema/quests.d.cts +278 -289
  121. package/dist/schema/quests.d.ts +278 -289
  122. package/dist/schema/quests.js +1 -1
  123. package/dist/schema/services.cjs +1 -1
  124. package/dist/schema/services.d.cts +2197 -118
  125. package/dist/schema/services.d.ts +2197 -118
  126. package/dist/schema/services.js +1 -1
  127. package/dist/schema/teams.cjs +1 -1
  128. package/dist/schema/teams.d.cts +29 -15
  129. package/dist/schema/teams.d.ts +29 -15
  130. package/dist/schema/teams.js +1 -1
  131. package/dist/utils/air/index.cjs +1 -1
  132. package/dist/utils/air/index.d.cts +13 -1
  133. package/dist/utils/air/index.d.ts +13 -1
  134. package/dist/utils/air/index.js +1 -1
  135. package/dist/utils/asset-filters.cjs +2 -0
  136. package/dist/utils/asset-filters.cjs.map +1 -0
  137. package/dist/utils/asset-filters.d.cts +15 -0
  138. package/dist/utils/asset-filters.d.ts +15 -0
  139. package/dist/utils/asset-filters.js +2 -0
  140. package/dist/utils/asset-filters.js.map +1 -0
  141. package/dist/utils/quest-submission.cjs +1 -1
  142. package/dist/utils/quest-submission.d.cts +6 -6
  143. package/dist/utils/quest-submission.d.ts +6 -6
  144. package/dist/utils/quest-submission.js +1 -1
  145. package/package.json +1 -1
  146. package/dist/chunk-2EXUO67W.cjs +0 -2
  147. package/dist/chunk-2EXUO67W.cjs.map +0 -1
  148. package/dist/chunk-43KB23BA.cjs.map +0 -1
  149. package/dist/chunk-4K6R6FZD.cjs +0 -2
  150. package/dist/chunk-4K6R6FZD.cjs.map +0 -1
  151. package/dist/chunk-AWBCE7ME.cjs +0 -2
  152. package/dist/chunk-AWBCE7ME.cjs.map +0 -1
  153. package/dist/chunk-E4ZLYXHD.cjs +0 -2
  154. package/dist/chunk-E4ZLYXHD.cjs.map +0 -1
  155. package/dist/chunk-G5YNDO2B.cjs +0 -2
  156. package/dist/chunk-G5YNDO2B.cjs.map +0 -1
  157. package/dist/chunk-GSUGFBTH.js +0 -2
  158. package/dist/chunk-GSUGFBTH.js.map +0 -1
  159. package/dist/chunk-GTFGYJSD.js +0 -2
  160. package/dist/chunk-GTFGYJSD.js.map +0 -1
  161. package/dist/chunk-HBCNAVZP.js +0 -2
  162. package/dist/chunk-HBCNAVZP.js.map +0 -1
  163. package/dist/chunk-J2BGBOOC.cjs +0 -2
  164. package/dist/chunk-J2BGBOOC.cjs.map +0 -1
  165. package/dist/chunk-JISPX5A6.js +0 -2
  166. package/dist/chunk-JISPX5A6.js.map +0 -1
  167. package/dist/chunk-P7N5DY3B.cjs +0 -2
  168. package/dist/chunk-P7N5DY3B.cjs.map +0 -1
  169. package/dist/chunk-PAACMXYE.cjs +0 -2
  170. package/dist/chunk-PAACMXYE.cjs.map +0 -1
  171. package/dist/chunk-T3HVRQBB.js +0 -2
  172. package/dist/chunk-T3HVRQBB.js.map +0 -1
  173. package/dist/chunk-WFGZLHG2.js +0 -2
  174. package/dist/chunk-WFGZLHG2.js.map +0 -1
  175. package/dist/chunk-WRHPQNEL.js.map +0 -1
  176. package/dist/chunk-YSWB7HAZ.js +0 -2
  177. package/dist/chunk-YSWB7HAZ.js.map +0 -1
  178. package/dist/chunk-ZNN4S4KJ.js +0 -2
  179. package/dist/chunk-ZNN4S4KJ.js.map +0 -1
@@ -243,14 +243,14 @@ declare const FileSchema: z.ZodObject<{
243
243
  preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
244
244
  state: z.ZodEnum<{
245
245
  success: "success";
246
+ error: "error";
246
247
  queued: "queued";
247
248
  "in-progress": "in-progress";
248
249
  "timed-out": "timed-out";
249
- error: "error";
250
250
  }>;
251
251
  source: z.ZodEnum<{
252
- api: "api";
253
252
  web: "web";
253
+ api: "api";
254
254
  }>;
255
255
  is_pinned_in_team: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
256
256
  created_at: z.ZodString;
@@ -274,16 +274,16 @@ declare const FileSchema: z.ZodObject<{
274
274
  }, z.core.$strip>;
275
275
  }, z.core.$strip>;
276
276
  declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
277
- parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
278
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
279
- json: z.ZodRecord<z.ZodString, z.ZodAny>;
280
- text: z.ZodString;
281
- }, z.core.$strip>>>>;
282
277
  monetization: z.ZodOptional<z.ZodEnum<{
283
278
  none: "none";
284
279
  "pay-to-unlock": "pay-to-unlock";
285
280
  "pay-per-use": "pay-per-use";
286
281
  }>>;
282
+ parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
283
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
284
+ json: z.ZodRecord<z.ZodString, z.ZodAny>;
285
+ text: z.ZodString;
286
+ }, z.core.$strip>>>>;
287
287
  parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
288
288
  license_id: z.ZodOptional<z.ZodString>;
289
289
  price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
@@ -307,8 +307,8 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
307
307
  name: z.ZodString;
308
308
  name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
309
309
  source: z.ZodDefault<z.ZodEnum<{
310
- api: "api";
311
310
  web: "web";
311
+ api: "api";
312
312
  }>>;
313
313
  visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
314
314
  organization: "organization";
@@ -403,16 +403,16 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
403
403
  reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
404
404
  }, z.core.$strip>;
405
405
  }, z.core.$strip>, z.ZodObject<{
406
- parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
407
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
408
- json: z.ZodRecord<z.ZodString, z.ZodAny>;
409
- text: z.ZodString;
410
- }, z.core.$strip>>>>;
411
406
  monetization: z.ZodOptional<z.ZodEnum<{
412
407
  none: "none";
413
408
  "pay-to-unlock": "pay-to-unlock";
414
409
  "pay-per-use": "pay-per-use";
415
410
  }>>;
411
+ parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
412
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
413
+ json: z.ZodRecord<z.ZodString, z.ZodAny>;
414
+ text: z.ZodString;
415
+ }, z.core.$strip>>>>;
416
416
  parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
417
417
  license_id: z.ZodOptional<z.ZodString>;
418
418
  price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
@@ -436,8 +436,8 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
436
436
  name: z.ZodString;
437
437
  name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
438
438
  source: z.ZodDefault<z.ZodEnum<{
439
- api: "api";
440
439
  web: "web";
440
+ api: "api";
441
441
  }>>;
442
442
  visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
443
443
  organization: "organization";
@@ -525,7 +525,7 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
525
525
  team_id: string | null;
526
526
  org_id: string | null;
527
527
  name: string;
528
- source: "api" | "web";
528
+ source: "web" | "api";
529
529
  visibility: "organization" | "public" | "private" | "monetized" | "inherit";
530
530
  attribution: {
531
531
  originality: "original" | "derivative" | "third-party";
@@ -563,12 +563,12 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
563
563
  source?: string | null | undefined;
564
564
  reply_to_comment_id?: string | null | undefined;
565
565
  };
566
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
566
567
  parent?: Record<string, any> | undefined;
567
568
  description?: {
568
569
  json: Record<string, any>;
569
570
  text: string;
570
571
  } | null | undefined;
571
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
572
572
  parent_id?: string | null | undefined;
573
573
  license_id?: string | undefined;
574
574
  price?: number | null | undefined;
@@ -586,7 +586,7 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
586
586
  team_id: string | null;
587
587
  org_id: string | null;
588
588
  name: string;
589
- source: "api" | "web";
589
+ source: "web" | "api";
590
590
  visibility: "organization" | "public" | "private" | "monetized" | "inherit";
591
591
  attribution: {
592
592
  originality: "original" | "derivative" | "third-party";
@@ -616,12 +616,12 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
616
616
  source?: string | null | undefined;
617
617
  reply_to_comment_id?: string | null | undefined;
618
618
  };
619
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
619
620
  parent?: Record<string, any> | undefined;
620
621
  description?: {
621
622
  json: Record<string, any>;
622
623
  text: string;
623
624
  } | null | undefined;
624
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
625
625
  parent_id?: string | null | undefined;
626
626
  license_id?: string | undefined;
627
627
  price?: number | null | undefined;
@@ -639,7 +639,7 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
639
639
  team_id: string | null;
640
640
  org_id: string | null;
641
641
  name: string;
642
- source: "api" | "web";
642
+ source: "web" | "api";
643
643
  visibility: "organization" | "public" | "private" | "monetized" | "inherit";
644
644
  attribution: {
645
645
  originality: "original" | "derivative" | "third-party";
@@ -677,12 +677,12 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
677
677
  source?: string | null | undefined;
678
678
  reply_to_comment_id?: string | null | undefined;
679
679
  };
680
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
680
681
  parent?: Record<string, any> | undefined;
681
682
  description?: {
682
683
  json: Record<string, any>;
683
684
  text: string;
684
685
  } | null | undefined;
685
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
686
686
  parent_id?: string | null | undefined;
687
687
  license_id?: string | undefined;
688
688
  price?: number | null | undefined;
@@ -700,7 +700,7 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
700
700
  team_id: string | null;
701
701
  org_id: string | null;
702
702
  name: string;
703
- source: "api" | "web";
703
+ source: "web" | "api";
704
704
  visibility: "organization" | "public" | "private" | "monetized" | "inherit";
705
705
  attribution: {
706
706
  originality: "original" | "derivative" | "third-party";
@@ -730,12 +730,12 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
730
730
  source?: string | null | undefined;
731
731
  reply_to_comment_id?: string | null | undefined;
732
732
  };
733
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
733
734
  parent?: Record<string, any> | undefined;
734
735
  description?: {
735
736
  json: Record<string, any>;
736
737
  text: string;
737
738
  } | null | undefined;
738
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
739
739
  parent_id?: string | null | undefined;
740
740
  license_id?: string | undefined;
741
741
  price?: number | null | undefined;
@@ -751,26 +751,6 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
751
751
  }>>;
752
752
  declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
753
753
  asset_type: z.ZodOptional<z.ZodDefault<z.ZodLiteral<"file">>>;
754
- org_id: z.ZodOptional<z.ZodUUID>;
755
- parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
756
- metadata: z.ZodOptional<z.ZodObject<{
757
- id: z.ZodUUID;
758
- path: z.ZodString;
759
- bucket: z.ZodEnum<{
760
- "public-files": "public-files";
761
- files: "files";
762
- }>;
763
- name: z.ZodString;
764
- type: z.ZodString;
765
- extension: z.ZodString;
766
- size: z.ZodNumber;
767
- width: z.ZodOptional<z.ZodNumber>;
768
- height: z.ZodOptional<z.ZodNumber>;
769
- source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
770
- reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
771
- }, z.core.$strip>>;
772
- name: z.ZodOptional<z.ZodString>;
773
- team_id: z.ZodOptional<z.ZodUUID>;
774
754
  visibility: z.ZodOptional<z.ZodEnum<{
775
755
  organization: "organization";
776
756
  public: "public";
@@ -778,14 +758,6 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
778
758
  monetized: "monetized";
779
759
  inherit: "inherit";
780
760
  }>>;
781
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
782
- json: z.ZodRecord<z.ZodString, z.ZodAny>;
783
- text: z.ZodString;
784
- }, z.core.$strip>>>>;
785
- source: z.ZodOptional<z.ZodEnum<{
786
- api: "api";
787
- web: "web";
788
- }>>;
789
761
  monetization: z.ZodOptional<z.ZodEnum<{
790
762
  none: "none";
791
763
  "pay-to-unlock": "pay-to-unlock";
@@ -822,11 +794,23 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
822
794
  }, z.core.$strip>>;
823
795
  state: z.ZodOptional<z.ZodEnum<{
824
796
  success: "success";
797
+ error: "error";
825
798
  queued: "queued";
826
799
  "in-progress": "in-progress";
827
800
  "timed-out": "timed-out";
828
- error: "error";
829
801
  }>>;
802
+ source: z.ZodOptional<z.ZodEnum<{
803
+ web: "web";
804
+ api: "api";
805
+ }>>;
806
+ parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
807
+ name: z.ZodOptional<z.ZodString>;
808
+ org_id: z.ZodOptional<z.ZodUUID>;
809
+ team_id: z.ZodOptional<z.ZodUUID>;
810
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
811
+ json: z.ZodRecord<z.ZodString, z.ZodAny>;
812
+ text: z.ZodString;
813
+ }, z.core.$strip>>>>;
830
814
  parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
831
815
  license_id: z.ZodOptional<z.ZodString>;
832
816
  license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
@@ -845,34 +829,28 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
845
829
  stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
846
830
  stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
847
831
  stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
832
+ metadata: z.ZodOptional<z.ZodObject<{
833
+ id: z.ZodUUID;
834
+ path: z.ZodString;
835
+ bucket: z.ZodEnum<{
836
+ "public-files": "public-files";
837
+ files: "files";
838
+ }>;
839
+ name: z.ZodString;
840
+ type: z.ZodString;
841
+ extension: z.ZodString;
842
+ size: z.ZodNumber;
843
+ width: z.ZodOptional<z.ZodNumber>;
844
+ height: z.ZodOptional<z.ZodNumber>;
845
+ source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
846
+ reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
847
+ }, z.core.$strip>>;
848
848
  preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>>;
849
849
  last_updated: z.ZodDefault<z.ZodString>;
850
850
  }, z.core.$strip>, z.ZodTransform<{
851
851
  last_updated: string;
852
852
  asset_type?: "file" | undefined;
853
- org_id?: string | undefined;
854
- parent?: Record<string, any> | undefined;
855
- metadata?: {
856
- id: string;
857
- path: string;
858
- bucket: "public-files" | "files";
859
- name: string;
860
- type: string;
861
- extension: string;
862
- size: number;
863
- width?: number | undefined;
864
- height?: number | undefined;
865
- source?: string | null | undefined;
866
- reply_to_comment_id?: string | null | undefined;
867
- } | undefined;
868
- name?: string | undefined;
869
- team_id?: string | undefined;
870
853
  visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
871
- description?: {
872
- json: Record<string, any>;
873
- text: string;
874
- } | null | undefined;
875
- source?: "api" | "web" | undefined;
876
854
  monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
877
855
  attribution?: {
878
856
  originality: "original" | "derivative" | "third-party";
@@ -893,7 +871,16 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
893
871
  relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
894
872
  doi?: string | null | undefined;
895
873
  } | undefined;
896
- state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
874
+ state?: "success" | "error" | "queued" | "in-progress" | "timed-out" | undefined;
875
+ source?: "web" | "api" | undefined;
876
+ parent?: Record<string, any> | undefined;
877
+ name?: string | undefined;
878
+ org_id?: string | undefined;
879
+ team_id?: string | undefined;
880
+ description?: {
881
+ json: Record<string, any>;
882
+ text: string;
883
+ } | null | undefined;
897
884
  parent_id?: string | null | undefined;
898
885
  license_id?: string | undefined;
899
886
  license?: Record<string, any> | undefined;
@@ -906,12 +893,6 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
906
893
  stripe_product_id?: string | null | undefined;
907
894
  stripe_price_id?: string | null | undefined;
908
895
  stripe_meter_id?: string | null | undefined;
909
- preview?: Record<string, any>[] | null | undefined;
910
- }, {
911
- last_updated: string;
912
- asset_type?: "file" | undefined;
913
- org_id?: string | undefined;
914
- parent?: Record<string, any> | undefined;
915
896
  metadata?: {
916
897
  id: string;
917
898
  path: string;
@@ -925,14 +906,11 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
925
906
  source?: string | null | undefined;
926
907
  reply_to_comment_id?: string | null | undefined;
927
908
  } | undefined;
928
- name?: string | undefined;
929
- team_id?: string | undefined;
909
+ preview?: Record<string, any>[] | null | undefined;
910
+ }, {
911
+ last_updated: string;
912
+ asset_type?: "file" | undefined;
930
913
  visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
931
- description?: {
932
- json: Record<string, any>;
933
- text: string;
934
- } | null | undefined;
935
- source?: "api" | "web" | undefined;
936
914
  monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
937
915
  attribution?: {
938
916
  originality: "original" | "derivative" | "third-party";
@@ -953,7 +931,16 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
953
931
  relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
954
932
  doi?: string | null | undefined;
955
933
  } | undefined;
956
- state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
934
+ state?: "success" | "error" | "queued" | "in-progress" | "timed-out" | undefined;
935
+ source?: "web" | "api" | undefined;
936
+ parent?: Record<string, any> | undefined;
937
+ name?: string | undefined;
938
+ org_id?: string | undefined;
939
+ team_id?: string | undefined;
940
+ description?: {
941
+ json: Record<string, any>;
942
+ text: string;
943
+ } | null | undefined;
957
944
  parent_id?: string | null | undefined;
958
945
  license_id?: string | undefined;
959
946
  license?: Record<string, any> | undefined;
@@ -966,6 +953,19 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
966
953
  stripe_product_id?: string | null | undefined;
967
954
  stripe_price_id?: string | null | undefined;
968
955
  stripe_meter_id?: string | null | undefined;
956
+ metadata?: {
957
+ id: string;
958
+ path: string;
959
+ bucket: "public-files" | "files";
960
+ name: string;
961
+ type: string;
962
+ extension: string;
963
+ size: number;
964
+ width?: number | undefined;
965
+ height?: number | undefined;
966
+ source?: string | null | undefined;
967
+ reply_to_comment_id?: string | null | undefined;
968
+ } | undefined;
969
969
  preview?: Record<string, any>[] | null | undefined;
970
970
  }>>;
971
971
 
@@ -1,2 +1,2 @@
1
- export{b as CreateFileSchema,a as FileSchema,c as updateFileSchema}from'../chunk-4BJJ7VCS.js';import'../chunk-PE7JS2HJ.js';import'../chunk-HBCNAVZP.js';import'../chunk-4IMLVBKS.js';import'../chunk-G6GCUGMM.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-ASLHRT77.js';import'../chunk-PB4XG5WM.js';import'../chunk-YTIUJ72Q.js';import'../chunk-42WKTHH5.js';import'../chunk-G6GCUGMM.js';import'../chunk-3BZRQYRC.js';import'../chunk-DUBPWSCA.js';import'../chunk-42ADEGDM.js';//# sourceMappingURL=files.js.map
2
2
  //# sourceMappingURL=files.js.map
@@ -1,2 +1,2 @@
1
- 'use strict';var chunk4K6R6FZD_cjs=require('../chunk-4K6R6FZD.cjs');require('../chunk-43KB23BA.cjs');Object.defineProperty(exports,"NotificationSchema",{enumerable:true,get:function(){return chunk4K6R6FZD_cjs.a}});//# sourceMappingURL=notifications.cjs.map
1
+ 'use strict';var chunkFJTFM3ML_cjs=require('../chunk-FJTFM3ML.cjs');require('../chunk-L6SVUDFH.cjs'),require('../chunk-MNECKGIP.cjs');Object.defineProperty(exports,"ActionCompleteContentSchema",{enumerable:true,get:function(){return chunkFJTFM3ML_cjs.r}});Object.defineProperty(exports,"BadgeContentSchema",{enumerable:true,get:function(){return chunkFJTFM3ML_cjs.q}});Object.defineProperty(exports,"CommentContentSchema",{enumerable:true,get:function(){return chunkFJTFM3ML_cjs.g}});Object.defineProperty(exports,"ContentDeletedContentSchema",{enumerable:true,get:function(){return chunkFJTFM3ML_cjs.z}});Object.defineProperty(exports,"ContentMovedContentSchema",{enumerable:true,get:function(){return chunkFJTFM3ML_cjs.y}});Object.defineProperty(exports,"DepositContentSchema",{enumerable:true,get:function(){return chunkFJTFM3ML_cjs.p}});Object.defineProperty(exports,"EventContentSchema",{enumerable:true,get:function(){return chunkFJTFM3ML_cjs.A}});Object.defineProperty(exports,"FollowContentSchema",{enumerable:true,get:function(){return chunkFJTFM3ML_cjs.m}});Object.defineProperty(exports,"InviteContentSchema",{enumerable:true,get:function(){return chunkFJTFM3ML_cjs.n}});Object.defineProperty(exports,"MentionContentSchema",{enumerable:true,get:function(){return chunkFJTFM3ML_cjs.f}});Object.defineProperty(exports,"NotificationAssetRefSchema",{enumerable:true,get:function(){return chunkFJTFM3ML_cjs.b}});Object.defineProperty(exports,"NotificationContentAssetSchema",{enumerable:true,get:function(){return chunkFJTFM3ML_cjs.c}});Object.defineProperty(exports,"NotificationParentRefSchema",{enumerable:true,get:function(){return chunkFJTFM3ML_cjs.d}});Object.defineProperty(exports,"NotificationRootInfoSchema",{enumerable:true,get:function(){return chunkFJTFM3ML_cjs.e}});Object.defineProperty(exports,"NotificationSchema",{enumerable:true,get:function(){return chunkFJTFM3ML_cjs.B}});Object.defineProperty(exports,"NotificationTypeSchema",{enumerable:true,get:function(){return chunkFJTFM3ML_cjs.a}});Object.defineProperty(exports,"OnboardingActionRequiredContentSchema",{enumerable:true,get:function(){return chunkFJTFM3ML_cjs.v}});Object.defineProperty(exports,"OnboardingCompleteContentSchema",{enumerable:true,get:function(){return chunkFJTFM3ML_cjs.u}});Object.defineProperty(exports,"OwnershipTransferContentSchema",{enumerable:true,get:function(){return chunkFJTFM3ML_cjs.l}});Object.defineProperty(exports,"PaymentContentSchema",{enumerable:true,get:function(){return chunkFJTFM3ML_cjs.o}});Object.defineProperty(exports,"QuestEntryAcceptedContentSchema",{enumerable:true,get:function(){return chunkFJTFM3ML_cjs.t}});Object.defineProperty(exports,"QuestEntryContentSchema",{enumerable:true,get:function(){return chunkFJTFM3ML_cjs.s}});Object.defineProperty(exports,"ReactionContentSchema",{enumerable:true,get:function(){return chunkFJTFM3ML_cjs.j}});Object.defineProperty(exports,"ReferenceContentSchema",{enumerable:true,get:function(){return chunkFJTFM3ML_cjs.i}});Object.defineProperty(exports,"ReplyContentSchema",{enumerable:true,get:function(){return chunkFJTFM3ML_cjs.h}});Object.defineProperty(exports,"RouteEarningsMilestoneContentSchema",{enumerable:true,get:function(){return chunkFJTFM3ML_cjs.w}});Object.defineProperty(exports,"RoutePayoutContentSchema",{enumerable:true,get:function(){return chunkFJTFM3ML_cjs.x}});Object.defineProperty(exports,"ShareContentSchema",{enumerable:true,get:function(){return chunkFJTFM3ML_cjs.k}});//# sourceMappingURL=notifications.cjs.map
2
2
  //# sourceMappingURL=notifications.cjs.map