@ourofoundation/ouro-js 3.5.1 → 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 (76) hide show
  1. package/dist/{chunk-XQQVHVWP.js → chunk-35CJDNHH.js} +2 -2
  2. package/dist/{chunk-XQQVHVWP.js.map → chunk-35CJDNHH.js.map} +1 -1
  3. package/dist/{chunk-6XQFD2Z2.cjs → chunk-6GPIZJ4T.cjs} +2 -2
  4. package/dist/chunk-6GPIZJ4T.cjs.map +1 -0
  5. package/dist/{chunk-HN7Y7VMJ.cjs → chunk-6ZJQTECB.cjs} +2 -2
  6. package/dist/{chunk-HN7Y7VMJ.cjs.map → chunk-6ZJQTECB.cjs.map} +1 -1
  7. package/dist/{chunk-6FG474SV.cjs → chunk-BWAEBQKV.cjs} +2 -2
  8. package/dist/chunk-BWAEBQKV.cjs.map +1 -0
  9. package/dist/{chunk-DC6TYS3A.cjs → chunk-F5CWCYOP.cjs} +2 -2
  10. package/dist/chunk-F5CWCYOP.cjs.map +1 -0
  11. package/dist/{chunk-NJQ5YWYJ.cjs → chunk-HIXNQKVP.cjs} +2 -2
  12. package/dist/{chunk-NJQ5YWYJ.cjs.map → chunk-HIXNQKVP.cjs.map} +1 -1
  13. package/dist/{chunk-OS542EYD.js → chunk-IWOXGKK4.js} +2 -2
  14. package/dist/chunk-IWOXGKK4.js.map +1 -0
  15. package/dist/chunk-KCVE35IO.js +2 -0
  16. package/dist/chunk-KCVE35IO.js.map +1 -0
  17. package/dist/chunk-MLTO7TMM.js +2 -0
  18. package/dist/chunk-MLTO7TMM.js.map +1 -0
  19. package/dist/{chunk-EK5P7FST.js → chunk-R2W4NEEJ.js} +2 -2
  20. package/dist/chunk-R2W4NEEJ.js.map +1 -0
  21. package/dist/{chunk-M2JJPDBW.js → chunk-TYOQ32UV.js} +2 -2
  22. package/dist/{chunk-M2JJPDBW.js.map → chunk-TYOQ32UV.js.map} +1 -1
  23. package/dist/chunk-V73EW77Y.cjs +2 -0
  24. package/dist/chunk-V73EW77Y.cjs.map +1 -0
  25. package/dist/index.cjs +1 -1
  26. package/dist/index.js +1 -1
  27. package/dist/schema/assets.d.cts +84 -84
  28. package/dist/schema/assets.d.ts +84 -84
  29. package/dist/schema/comments.d.cts +136 -136
  30. package/dist/schema/comments.d.ts +136 -136
  31. package/dist/schema/common.d.cts +16 -16
  32. package/dist/schema/common.d.ts +16 -16
  33. package/dist/schema/conversations.cjs +1 -1
  34. package/dist/schema/conversations.d.cts +69 -69
  35. package/dist/schema/conversations.d.ts +69 -69
  36. package/dist/schema/conversations.js +1 -1
  37. package/dist/schema/datasets.d.cts +137 -137
  38. package/dist/schema/datasets.d.ts +137 -137
  39. package/dist/schema/files.cjs +1 -1
  40. package/dist/schema/files.d.cts +100 -103
  41. package/dist/schema/files.d.ts +100 -103
  42. package/dist/schema/files.js +1 -1
  43. package/dist/schema/notifications.d.cts +2 -2
  44. package/dist/schema/notifications.d.ts +2 -2
  45. package/dist/schema/organizations.d.cts +1 -1
  46. package/dist/schema/organizations.d.ts +1 -1
  47. package/dist/schema/posts.cjs +1 -1
  48. package/dist/schema/posts.d.cts +127 -130
  49. package/dist/schema/posts.d.ts +127 -130
  50. package/dist/schema/posts.js +1 -1
  51. package/dist/schema/quests.cjs +1 -1
  52. package/dist/schema/quests.d.cts +177 -180
  53. package/dist/schema/quests.d.ts +177 -180
  54. package/dist/schema/quests.js +1 -1
  55. package/dist/schema/services.cjs +1 -1
  56. package/dist/schema/services.d.cts +127 -130
  57. package/dist/schema/services.d.ts +127 -130
  58. package/dist/schema/services.js +1 -1
  59. package/dist/schema/teams.d.cts +18 -18
  60. package/dist/schema/teams.d.ts +18 -18
  61. package/dist/utils/quest-submission.cjs +1 -1
  62. package/dist/utils/quest-submission.d.cts +7 -7
  63. package/dist/utils/quest-submission.d.ts +7 -7
  64. package/dist/utils/quest-submission.js +1 -1
  65. package/package.json +1 -1
  66. package/dist/chunk-6FG474SV.cjs.map +0 -1
  67. package/dist/chunk-6XQFD2Z2.cjs.map +0 -1
  68. package/dist/chunk-DC6TYS3A.cjs.map +0 -1
  69. package/dist/chunk-EK5P7FST.js.map +0 -1
  70. package/dist/chunk-OFDJA6ZW.cjs +0 -2
  71. package/dist/chunk-OFDJA6ZW.cjs.map +0 -1
  72. package/dist/chunk-OS542EYD.js.map +0 -1
  73. package/dist/chunk-VJJLRHOX.js +0 -2
  74. package/dist/chunk-VJJLRHOX.js.map +0 -1
  75. package/dist/chunk-W5UCZ73B.js +0 -2
  76. package/dist/chunk-W5UCZ73B.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,14 +210,14 @@ 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
222
  is_pinned_in_team: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
223
223
  created_at: z.ZodString;
@@ -251,15 +251,15 @@ declare const FileSchema: z.ZodObject<{
251
251
  }, z.core.$strip>;
252
252
  declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
253
253
  parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
254
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
255
- json: z.ZodRecord<z.ZodString, z.ZodAny>;
256
- text: z.ZodString;
257
- }, z.core.$strip>>>>;
258
254
  monetization: z.ZodOptional<z.ZodEnum<{
259
255
  none: "none";
260
256
  "pay-to-unlock": "pay-to-unlock";
261
257
  "pay-per-use": "pay-per-use";
262
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>>>>;
263
263
  parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
264
264
  license_id: z.ZodOptional<z.ZodString>;
265
265
  price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
@@ -283,13 +283,13 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
283
283
  name: z.ZodString;
284
284
  name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
285
285
  source: z.ZodDefault<z.ZodEnum<{
286
- api: "api";
287
286
  web: "web";
287
+ api: "api";
288
288
  }>>;
289
289
  visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
290
- organization: "organization";
291
290
  public: "public";
292
291
  private: "private";
292
+ organization: "organization";
293
293
  monetized: "monetized";
294
294
  inherit: "inherit";
295
295
  }>>>;
@@ -324,15 +324,15 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
324
324
  }, z.core.$strip>;
325
325
  }, z.core.$strip>, z.ZodObject<{
326
326
  parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
327
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
328
- json: z.ZodRecord<z.ZodString, z.ZodAny>;
329
- text: z.ZodString;
330
- }, z.core.$strip>>>>;
331
327
  monetization: z.ZodOptional<z.ZodEnum<{
332
328
  none: "none";
333
329
  "pay-to-unlock": "pay-to-unlock";
334
330
  "pay-per-use": "pay-per-use";
335
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>>>>;
336
336
  parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
337
337
  license_id: z.ZodOptional<z.ZodString>;
338
338
  price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
@@ -356,13 +356,13 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
356
356
  name: z.ZodString;
357
357
  name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
358
358
  source: z.ZodDefault<z.ZodEnum<{
359
- api: "api";
360
359
  web: "web";
360
+ api: "api";
361
361
  }>>;
362
362
  visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
363
- organization: "organization";
364
363
  public: "public";
365
364
  private: "private";
365
+ organization: "organization";
366
366
  monetized: "monetized";
367
367
  inherit: "inherit";
368
368
  }>>>;
@@ -389,8 +389,8 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
389
389
  team_id: string | null;
390
390
  org_id: string | null;
391
391
  name: string;
392
- source: "api" | "web";
393
- visibility: "organization" | "public" | "private" | "monetized" | "inherit";
392
+ source: "web" | "api";
393
+ visibility: "public" | "private" | "organization" | "monetized" | "inherit";
394
394
  created_at: string;
395
395
  last_updated: string;
396
396
  asset_type: "file";
@@ -414,11 +414,11 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
414
414
  reply_to_comment_id?: string | null | undefined;
415
415
  };
416
416
  parent?: Record<string, any> | undefined;
417
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
417
418
  description?: {
418
419
  json: Record<string, any>;
419
420
  text: string;
420
421
  } | null | undefined;
421
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
422
422
  parent_id?: string | null | undefined;
423
423
  license_id?: string | undefined;
424
424
  price?: number | null | undefined;
@@ -436,8 +436,8 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
436
436
  team_id: string | null;
437
437
  org_id: string | null;
438
438
  name: string;
439
- source: "api" | "web";
440
- visibility: "organization" | "public" | "private" | "monetized" | "inherit";
439
+ source: "web" | "api";
440
+ visibility: "public" | "private" | "organization" | "monetized" | "inherit";
441
441
  created_at: string;
442
442
  last_updated: string;
443
443
  asset_type: "file";
@@ -453,11 +453,11 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
453
453
  reply_to_comment_id?: string | null | undefined;
454
454
  };
455
455
  parent?: Record<string, any> | undefined;
456
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
456
457
  description?: {
457
458
  json: Record<string, any>;
458
459
  text: string;
459
460
  } | null | undefined;
460
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
461
461
  parent_id?: string | null | undefined;
462
462
  license_id?: string | undefined;
463
463
  price?: number | null | undefined;
@@ -475,8 +475,8 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
475
475
  team_id: string | null;
476
476
  org_id: string | null;
477
477
  name: string;
478
- source: "api" | "web";
479
- visibility: "organization" | "public" | "private" | "monetized" | "inherit";
478
+ source: "web" | "api";
479
+ visibility: "public" | "private" | "organization" | "monetized" | "inherit";
480
480
  created_at: string;
481
481
  last_updated: string;
482
482
  asset_type: "file";
@@ -500,11 +500,11 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
500
500
  reply_to_comment_id?: string | null | undefined;
501
501
  };
502
502
  parent?: Record<string, any> | undefined;
503
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
503
504
  description?: {
504
505
  json: Record<string, any>;
505
506
  text: string;
506
507
  } | null | undefined;
507
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
508
508
  parent_id?: string | null | undefined;
509
509
  license_id?: string | undefined;
510
510
  price?: number | null | undefined;
@@ -522,8 +522,8 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
522
522
  team_id: string | null;
523
523
  org_id: string | null;
524
524
  name: string;
525
- source: "api" | "web";
526
- visibility: "organization" | "public" | "private" | "monetized" | "inherit";
525
+ source: "web" | "api";
526
+ visibility: "public" | "private" | "organization" | "monetized" | "inherit";
527
527
  created_at: string;
528
528
  last_updated: string;
529
529
  asset_type: "file";
@@ -539,11 +539,11 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
539
539
  reply_to_comment_id?: string | null | undefined;
540
540
  };
541
541
  parent?: Record<string, any> | undefined;
542
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
542
543
  description?: {
543
544
  json: Record<string, any>;
544
545
  text: string;
545
546
  } | null | undefined;
546
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
547
547
  parent_id?: string | null | undefined;
548
548
  license_id?: string | undefined;
549
549
  price?: number | null | undefined;
@@ -558,51 +558,19 @@ declare const CreateFileSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
558
558
  name_url_slug?: string | null | undefined;
559
559
  }>>;
560
560
  declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
561
- asset_type: z.ZodOptional<z.ZodDefault<z.ZodLiteral<"file">>>;
562
- org_id: z.ZodOptional<z.ZodUUID>;
563
561
  parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
564
- metadata: z.ZodOptional<z.ZodObject<{
565
- id: z.ZodUUID;
566
- path: z.ZodString;
567
- bucket: z.ZodEnum<{
568
- "public-files": "public-files";
569
- files: "files";
570
- }>;
571
- name: z.ZodString;
572
- type: z.ZodString;
573
- extension: z.ZodString;
574
- size: z.ZodNumber;
575
- width: z.ZodOptional<z.ZodNumber>;
576
- height: z.ZodOptional<z.ZodNumber>;
577
- doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
578
- external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
579
- paper_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
580
- github_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
581
- originality: z.ZodOptional<z.ZodEnum<{
582
- original: "original";
583
- derivative: "derivative";
584
- "third-party": "third-party";
585
- }>>;
586
- source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
587
- reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
588
- }, z.core.$strip>>;
589
- name: z.ZodOptional<z.ZodString>;
590
- 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">>>;
591
567
  visibility: z.ZodOptional<z.ZodEnum<{
592
- organization: "organization";
593
568
  public: "public";
594
569
  private: "private";
570
+ organization: "organization";
595
571
  monetized: "monetized";
596
572
  inherit: "inherit";
597
573
  }>>;
598
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
599
- json: z.ZodRecord<z.ZodString, z.ZodAny>;
600
- text: z.ZodString;
601
- }, z.core.$strip>>>>;
602
- source: z.ZodOptional<z.ZodEnum<{
603
- api: "api";
604
- web: "web";
605
- }>>;
606
574
  monetization: z.ZodOptional<z.ZodEnum<{
607
575
  none: "none";
608
576
  "pay-to-unlock": "pay-to-unlock";
@@ -610,11 +578,18 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
610
578
  }>>;
611
579
  state: z.ZodOptional<z.ZodEnum<{
612
580
  success: "success";
581
+ error: "error";
613
582
  queued: "queued";
614
583
  "in-progress": "in-progress";
615
584
  "timed-out": "timed-out";
616
- error: "error";
617
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>>>>;
618
593
  parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
619
594
  license_id: z.ZodOptional<z.ZodString>;
620
595
  license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
@@ -633,14 +608,60 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
633
608
  stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
634
609
  stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
635
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>>;
636
636
  preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>>;
637
- is_pinned_in_team: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
638
637
  last_updated: z.ZodDefault<z.ZodString>;
639
638
  }, z.core.$strip>, z.ZodTransform<{
640
639
  last_updated: string;
640
+ parent?: Record<string, any> | undefined;
641
+ source?: "web" | "api" | undefined;
641
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;
642
647
  org_id?: string | undefined;
643
- 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;
644
665
  metadata?: {
645
666
  id: string;
646
667
  path: string;
@@ -659,16 +680,22 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
659
680
  source?: string | null | undefined;
660
681
  reply_to_comment_id?: string | null | undefined;
661
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;
662
692
  name?: string | undefined;
693
+ org_id?: string | undefined;
663
694
  team_id?: string | undefined;
664
- visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
665
695
  description?: {
666
696
  json: Record<string, any>;
667
697
  text: string;
668
698
  } | null | undefined;
669
- source?: "api" | "web" | undefined;
670
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
671
- state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
672
699
  parent_id?: string | null | undefined;
673
700
  license_id?: string | undefined;
674
701
  license?: Record<string, any> | undefined;
@@ -681,13 +708,6 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
681
708
  stripe_product_id?: string | null | undefined;
682
709
  stripe_price_id?: string | null | undefined;
683
710
  stripe_meter_id?: string | null | undefined;
684
- preview?: Record<string, any>[] | null | undefined;
685
- is_pinned_in_team?: boolean | undefined;
686
- }, {
687
- last_updated: string;
688
- asset_type?: "file" | undefined;
689
- org_id?: string | undefined;
690
- parent?: Record<string, any> | undefined;
691
711
  metadata?: {
692
712
  id: string;
693
713
  path: string;
@@ -706,30 +726,7 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
706
726
  source?: string | null | undefined;
707
727
  reply_to_comment_id?: string | null | undefined;
708
728
  } | undefined;
709
- name?: string | undefined;
710
- team_id?: string | undefined;
711
- visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
712
- description?: {
713
- json: Record<string, any>;
714
- text: string;
715
- } | null | undefined;
716
- source?: "api" | "web" | undefined;
717
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
718
- state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
719
- parent_id?: string | null | undefined;
720
- license_id?: string | undefined;
721
- license?: Record<string, any> | undefined;
722
- name_url_slug?: string | null | undefined;
723
- price?: number | null | undefined;
724
- unit_cost?: number | null | undefined;
725
- cost_accounting?: "fixed" | "variable" | null | undefined;
726
- cost_unit?: string | null | undefined;
727
- price_currency?: "usd" | "btc" | undefined;
728
- stripe_product_id?: string | null | undefined;
729
- stripe_price_id?: string | null | undefined;
730
- stripe_meter_id?: string | null | undefined;
731
729
  preview?: Record<string, any>[] | null | undefined;
732
- is_pinned_in_team?: boolean | undefined;
733
730
  }>>;
734
731
 
735
732
  type File = z.infer<typeof FileSchema>;
@@ -1,2 +1,2 @@
1
- export{b as CreateFileSchema,a as FileSchema,c as updateFileSchema}from'../chunk-VJJLRHOX.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
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 chunkDC6TYS3A_cjs=require('../chunk-DC6TYS3A.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 chunkDC6TYS3A_cjs.b}});Object.defineProperty(exports,"CreatePostSchema",{enumerable:true,get:function(){return chunkDC6TYS3A_cjs.d}});Object.defineProperty(exports,"ListPostsSchema",{enumerable:true,get:function(){return chunkDC6TYS3A_cjs.g}});Object.defineProperty(exports,"PostSchema",{enumerable:true,get:function(){return chunkDC6TYS3A_cjs.c}});Object.defineProperty(exports,"ReadPostSchema",{enumerable:true,get:function(){return chunkDC6TYS3A_cjs.e}});Object.defineProperty(exports,"ReadPostsSchema",{enumerable:true,get:function(){return chunkDC6TYS3A_cjs.f}});Object.defineProperty(exports,"TipTapSchema",{enumerable:true,get:function(){return chunkDC6TYS3A_cjs.a}});Object.defineProperty(exports,"UpdatePostSchema",{enumerable:true,get:function(){return chunkDC6TYS3A_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