@ourofoundation/ouro-js 3.5.2 → 3.5.4

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 (60) hide show
  1. package/dist/chunk-73DHYPGU.cjs +2 -0
  2. package/dist/chunk-73DHYPGU.cjs.map +1 -0
  3. package/dist/{chunk-G24BRDHO.cjs → chunk-FLOHG4H4.cjs} +2 -2
  4. package/dist/chunk-FLOHG4H4.cjs.map +1 -0
  5. package/dist/chunk-QR2BSJ2C.js +2 -0
  6. package/dist/chunk-QR2BSJ2C.js.map +1 -0
  7. package/dist/{chunk-HIXNQKVP.cjs → chunk-W73NWPCZ.cjs} +2 -2
  8. package/dist/chunk-W73NWPCZ.cjs.map +1 -0
  9. package/dist/{chunk-CIWFH5BJ.js → chunk-X2PI5PAT.js} +2 -2
  10. package/dist/chunk-X2PI5PAT.js.map +1 -0
  11. package/dist/chunk-XLJBQ7BU.js +2 -0
  12. package/dist/chunk-XLJBQ7BU.js.map +1 -0
  13. package/dist/index.cjs +1 -1
  14. package/dist/index.d.cts +1 -1
  15. package/dist/index.d.ts +1 -1
  16. package/dist/index.js +1 -1
  17. package/dist/schema/assets.d.cts +84 -84
  18. package/dist/schema/assets.d.ts +84 -84
  19. package/dist/schema/comments.d.cts +136 -136
  20. package/dist/schema/comments.d.ts +136 -136
  21. package/dist/schema/common.d.cts +16 -16
  22. package/dist/schema/common.d.ts +16 -16
  23. package/dist/schema/conversations.cjs +1 -1
  24. package/dist/schema/conversations.d.cts +71 -69
  25. package/dist/schema/conversations.d.ts +71 -69
  26. package/dist/schema/conversations.js +1 -1
  27. package/dist/schema/datasets.cjs +1 -1
  28. package/dist/schema/datasets.d.cts +186 -140
  29. package/dist/schema/datasets.d.ts +186 -140
  30. package/dist/schema/datasets.js +1 -1
  31. package/dist/schema/events.cjs +1 -1
  32. package/dist/schema/events.d.cts +6 -1
  33. package/dist/schema/events.d.ts +6 -1
  34. package/dist/schema/events.js +1 -1
  35. package/dist/schema/files.d.cts +100 -100
  36. package/dist/schema/files.d.ts +100 -100
  37. package/dist/schema/notifications.d.cts +2 -2
  38. package/dist/schema/notifications.d.ts +2 -2
  39. package/dist/schema/organizations.d.cts +1 -1
  40. package/dist/schema/organizations.d.ts +1 -1
  41. package/dist/schema/posts.d.cts +127 -127
  42. package/dist/schema/posts.d.ts +127 -127
  43. package/dist/schema/quests.d.cts +177 -177
  44. package/dist/schema/quests.d.ts +177 -177
  45. package/dist/schema/services.d.cts +127 -127
  46. package/dist/schema/services.d.ts +127 -127
  47. package/dist/schema/teams.d.cts +18 -18
  48. package/dist/schema/teams.d.ts +18 -18
  49. package/dist/utils/quest-submission.d.cts +7 -7
  50. package/dist/utils/quest-submission.d.ts +7 -7
  51. package/package.json +1 -1
  52. package/dist/chunk-35CJDNHH.js +0 -2
  53. package/dist/chunk-35CJDNHH.js.map +0 -1
  54. package/dist/chunk-3UWDQLTN.js +0 -2
  55. package/dist/chunk-3UWDQLTN.js.map +0 -1
  56. package/dist/chunk-CIWFH5BJ.js.map +0 -1
  57. package/dist/chunk-G24BRDHO.cjs.map +0 -1
  58. package/dist/chunk-HIXNQKVP.cjs.map +0 -1
  59. package/dist/chunk-OBWPO2QT.cjs +0 -2
  60. package/dist/chunk-OBWPO2QT.cjs.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";
111
112
  public: "public";
112
113
  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";
185
186
  public: "public";
186
187
  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";
214
213
  queued: "queued";
215
214
  "in-progress": "in-progress";
216
215
  "timed-out": "timed-out";
216
+ error: "error";
217
217
  }>;
218
218
  source: z.ZodEnum<{
219
- web: "web";
220
219
  api: "api";
220
+ web: "web";
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>>>>;
254
258
  monetization: z.ZodOptional<z.ZodEnum<{
255
259
  none: "none";
256
260
  "pay-to-unlock": "pay-to-unlock";
257
261
  "pay-per-use": "pay-per-use";
258
262
  }>>;
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
- web: "web";
287
286
  api: "api";
287
+ web: "web";
288
288
  }>>;
289
289
  visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
290
+ organization: "organization";
290
291
  public: "public";
291
292
  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>>>>;
327
331
  monetization: z.ZodOptional<z.ZodEnum<{
328
332
  none: "none";
329
333
  "pay-to-unlock": "pay-to-unlock";
330
334
  "pay-per-use": "pay-per-use";
331
335
  }>>;
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
- web: "web";
360
359
  api: "api";
360
+ web: "web";
361
361
  }>>;
362
362
  visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
363
+ organization: "organization";
363
364
  public: "public";
364
365
  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: "web" | "api";
393
- visibility: "public" | "private" | "organization" | "monetized" | "inherit";
392
+ source: "api" | "web";
393
+ visibility: "organization" | "public" | "private" | "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;
418
417
  description?: {
419
418
  json: Record<string, any>;
420
419
  text: string;
421
420
  } | 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: "web" | "api";
440
- visibility: "public" | "private" | "organization" | "monetized" | "inherit";
439
+ source: "api" | "web";
440
+ visibility: "organization" | "public" | "private" | "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;
457
456
  description?: {
458
457
  json: Record<string, any>;
459
458
  text: string;
460
459
  } | 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: "web" | "api";
479
- visibility: "public" | "private" | "organization" | "monetized" | "inherit";
478
+ source: "api" | "web";
479
+ visibility: "organization" | "public" | "private" | "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;
504
503
  description?: {
505
504
  json: Record<string, any>;
506
505
  text: string;
507
506
  } | 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: "web" | "api";
526
- visibility: "public" | "private" | "organization" | "monetized" | "inherit";
525
+ source: "api" | "web";
526
+ visibility: "organization" | "public" | "private" | "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;
543
542
  description?: {
544
543
  json: Record<string, any>;
545
544
  text: string;
546
545
  } | 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,19 +558,51 @@ 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
- parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
562
- source: z.ZodOptional<z.ZodEnum<{
563
- web: "web";
564
- api: "api";
565
- }>>;
566
561
  asset_type: z.ZodOptional<z.ZodDefault<z.ZodLiteral<"file">>>;
562
+ org_id: z.ZodOptional<z.ZodUUID>;
563
+ 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>;
567
591
  visibility: z.ZodOptional<z.ZodEnum<{
592
+ organization: "organization";
568
593
  public: "public";
569
594
  private: "private";
570
- organization: "organization";
571
595
  monetized: "monetized";
572
596
  inherit: "inherit";
573
597
  }>>;
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
+ }>>;
574
606
  monetization: z.ZodOptional<z.ZodEnum<{
575
607
  none: "none";
576
608
  "pay-to-unlock": "pay-to-unlock";
@@ -578,18 +610,11 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
578
610
  }>>;
579
611
  state: z.ZodOptional<z.ZodEnum<{
580
612
  success: "success";
581
- error: "error";
582
613
  queued: "queued";
583
614
  "in-progress": "in-progress";
584
615
  "timed-out": "timed-out";
616
+ error: "error";
585
617
  }>>;
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>>>>;
593
618
  parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
594
619
  license_id: z.ZodOptional<z.ZodString>;
595
620
  license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
@@ -608,60 +633,13 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
608
633
  stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
609
634
  stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
610
635
  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
637
  last_updated: z.ZodDefault<z.ZodString>;
638
638
  }, z.core.$strip>, z.ZodTransform<{
639
639
  last_updated: string;
640
- parent?: Record<string, any> | undefined;
641
- source?: "web" | "api" | undefined;
642
640
  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;
647
641
  org_id?: string | 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
+ parent?: Record<string, any> | undefined;
665
643
  metadata?: {
666
644
  id: string;
667
645
  path: string;
@@ -680,22 +658,16 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
680
658
  source?: string | null | undefined;
681
659
  reply_to_comment_id?: string | null | undefined;
682
660
  } | 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;
692
661
  name?: string | undefined;
693
- org_id?: string | undefined;
694
662
  team_id?: string | undefined;
663
+ visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
695
664
  description?: {
696
665
  json: Record<string, any>;
697
666
  text: string;
698
667
  } | null | undefined;
668
+ source?: "api" | "web" | undefined;
669
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
670
+ state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
699
671
  parent_id?: string | null | undefined;
700
672
  license_id?: string | undefined;
701
673
  license?: Record<string, any> | undefined;
@@ -708,6 +680,12 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
708
680
  stripe_product_id?: string | null | undefined;
709
681
  stripe_price_id?: string | null | undefined;
710
682
  stripe_meter_id?: string | null | undefined;
683
+ preview?: Record<string, any>[] | null | undefined;
684
+ }, {
685
+ last_updated: string;
686
+ asset_type?: "file" | undefined;
687
+ org_id?: string | undefined;
688
+ parent?: Record<string, any> | undefined;
711
689
  metadata?: {
712
690
  id: string;
713
691
  path: string;
@@ -726,6 +704,28 @@ declare const updateFileSchema: z.ZodPipe<z.ZodObject<{
726
704
  source?: string | null | undefined;
727
705
  reply_to_comment_id?: string | null | undefined;
728
706
  } | undefined;
707
+ name?: string | undefined;
708
+ team_id?: string | undefined;
709
+ visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
710
+ description?: {
711
+ json: Record<string, any>;
712
+ text: string;
713
+ } | null | undefined;
714
+ source?: "api" | "web" | undefined;
715
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
716
+ state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
717
+ parent_id?: string | null | undefined;
718
+ license_id?: string | undefined;
719
+ license?: Record<string, any> | undefined;
720
+ name_url_slug?: string | null | undefined;
721
+ price?: number | null | undefined;
722
+ unit_cost?: number | null | undefined;
723
+ cost_accounting?: "fixed" | "variable" | null | undefined;
724
+ cost_unit?: string | null | undefined;
725
+ price_currency?: "usd" | "btc" | undefined;
726
+ stripe_product_id?: string | null | undefined;
727
+ stripe_price_id?: string | null | undefined;
728
+ stripe_meter_id?: string | null | undefined;
729
729
  preview?: Record<string, any>[] | null | undefined;
730
730
  }>>;
731
731
 
@@ -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
- organization: "organization";
42
- file: "file";
43
41
  user: "user";
42
+ organization: "organization";
44
43
  team: "team";
45
44
  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
- organization: "organization";
42
- file: "file";
43
41
  user: "user";
42
+ organization: "organization";
44
43
  team: "team";
45
44
  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";
83
84
  public: "public";
84
85
  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";
83
84
  public: "public";
84
85
  private: "private";
85
- organization: "organization";
86
86
  monetized: "monetized";
87
87
  inherit: "inherit";
88
88
  }>>;