@ourofoundation/ouro-js 3.7.8 → 3.8.0

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 (133) hide show
  1. package/dist/{chunk-66AAHP6X.cjs → chunk-23FTPTDP.cjs} +2 -2
  2. package/dist/{chunk-66AAHP6X.cjs.map → chunk-23FTPTDP.cjs.map} +1 -1
  3. package/dist/chunk-33C7IDRP.js +2 -0
  4. package/dist/chunk-33C7IDRP.js.map +1 -0
  5. package/dist/{chunk-4NAPVNIX.js → chunk-3UE4H5TR.js} +2 -2
  6. package/dist/{chunk-4NAPVNIX.js.map → chunk-3UE4H5TR.js.map} +1 -1
  7. package/dist/{chunk-3OUJXTJZ.js → chunk-5CKFMTWZ.js} +2 -2
  8. package/dist/{chunk-3OUJXTJZ.js.map → chunk-5CKFMTWZ.js.map} +1 -1
  9. package/dist/{chunk-Z66O3S3W.cjs → chunk-5SC4M4E3.cjs} +2 -2
  10. package/dist/{chunk-Z66O3S3W.cjs.map → chunk-5SC4M4E3.cjs.map} +1 -1
  11. package/dist/{chunk-KHUEMWG2.js → chunk-6OO4SOWL.js} +2 -2
  12. package/dist/{chunk-KHUEMWG2.js.map → chunk-6OO4SOWL.js.map} +1 -1
  13. package/dist/{chunk-7YG2YDXN.cjs → chunk-7R5EIIIR.cjs} +2 -2
  14. package/dist/{chunk-7YG2YDXN.cjs.map → chunk-7R5EIIIR.cjs.map} +1 -1
  15. package/dist/chunk-APZA6MIM.js +2 -0
  16. package/dist/chunk-APZA6MIM.js.map +1 -0
  17. package/dist/chunk-AUDVUOLX.js +2 -0
  18. package/dist/chunk-AUDVUOLX.js.map +1 -0
  19. package/dist/{chunk-ZRJUBEIK.cjs → chunk-BELCP7OL.cjs} +2 -2
  20. package/dist/{chunk-ZRJUBEIK.cjs.map → chunk-BELCP7OL.cjs.map} +1 -1
  21. package/dist/{chunk-CW4TV3DY.js → chunk-CXMEZGVG.js} +2 -2
  22. package/dist/{chunk-CW4TV3DY.js.map → chunk-CXMEZGVG.js.map} +1 -1
  23. package/dist/{chunk-42WKTHH5.js → chunk-EIB2YGN3.js} +2 -2
  24. package/dist/{chunk-42WKTHH5.js.map → chunk-EIB2YGN3.js.map} +1 -1
  25. package/dist/{chunk-EMDUI7HF.js → chunk-GT7CSIDN.js} +2 -2
  26. package/dist/{chunk-EMDUI7HF.js.map → chunk-GT7CSIDN.js.map} +1 -1
  27. package/dist/{chunk-PB4XG5WM.js → chunk-GX6RCMZR.js} +2 -2
  28. package/dist/{chunk-PB4XG5WM.js.map → chunk-GX6RCMZR.js.map} +1 -1
  29. package/dist/{chunk-W3N744QV.js → chunk-KMENBGAB.js} +2 -2
  30. package/dist/{chunk-W3N744QV.js.map → chunk-KMENBGAB.js.map} +1 -1
  31. package/dist/{chunk-UDTRH3OQ.cjs → chunk-M2ZH6MMH.cjs} +2 -2
  32. package/dist/{chunk-UDTRH3OQ.cjs.map → chunk-M2ZH6MMH.cjs.map} +1 -1
  33. package/dist/{chunk-YTIUJ72Q.js → chunk-M5ZLLARC.js} +2 -2
  34. package/dist/{chunk-YTIUJ72Q.js.map → chunk-M5ZLLARC.js.map} +1 -1
  35. package/dist/{chunk-3RFYEL3A.cjs → chunk-N3HC2ASR.cjs} +2 -2
  36. package/dist/{chunk-3RFYEL3A.cjs.map → chunk-N3HC2ASR.cjs.map} +1 -1
  37. package/dist/chunk-NVKZLT3M.cjs +2 -0
  38. package/dist/chunk-NVKZLT3M.cjs.map +1 -0
  39. package/dist/{chunk-QWD7POET.cjs → chunk-O6RFWCC4.cjs} +2 -2
  40. package/dist/{chunk-QWD7POET.cjs.map → chunk-O6RFWCC4.cjs.map} +1 -1
  41. package/dist/{chunk-3C7PGJ33.js → chunk-QUBJLDJY.js} +2 -2
  42. package/dist/{chunk-3C7PGJ33.js.map → chunk-QUBJLDJY.js.map} +1 -1
  43. package/dist/chunk-RNBIB6S7.cjs +2 -0
  44. package/dist/chunk-RNBIB6S7.cjs.map +1 -0
  45. package/dist/{chunk-FJTFM3ML.cjs → chunk-RQUVICCB.cjs} +2 -2
  46. package/dist/{chunk-FJTFM3ML.cjs.map → chunk-RQUVICCB.cjs.map} +1 -1
  47. package/dist/chunk-RRDGLT3N.cjs +2 -0
  48. package/dist/{chunk-LD5G6GFH.cjs.map → chunk-RRDGLT3N.cjs.map} +1 -1
  49. package/dist/chunk-SZWAE35B.cjs +2 -0
  50. package/dist/chunk-SZWAE35B.cjs.map +1 -0
  51. package/dist/chunk-U5JVCESS.js +2 -0
  52. package/dist/chunk-U5JVCESS.js.map +1 -0
  53. package/dist/{chunk-B3OK6NNR.cjs → chunk-W4V643O5.cjs} +2 -2
  54. package/dist/{chunk-B3OK6NNR.cjs.map → chunk-W4V643O5.cjs.map} +1 -1
  55. package/dist/chunk-YFEGRZXL.cjs +2 -0
  56. package/dist/chunk-YFEGRZXL.cjs.map +1 -0
  57. package/dist/index.cjs +1 -1
  58. package/dist/index.d.cts +3 -3
  59. package/dist/index.d.ts +3 -3
  60. package/dist/index.js +1 -1
  61. package/dist/schema/asset-filters.cjs +1 -1
  62. package/dist/schema/asset-filters.d.cts +7 -7
  63. package/dist/schema/asset-filters.d.ts +7 -7
  64. package/dist/schema/asset-filters.js +1 -1
  65. package/dist/schema/assets.cjs +1 -1
  66. package/dist/schema/assets.d.cts +63 -63
  67. package/dist/schema/assets.d.ts +63 -63
  68. package/dist/schema/assets.js +1 -1
  69. package/dist/schema/comments.cjs +1 -1
  70. package/dist/schema/comments.d.cts +59 -59
  71. package/dist/schema/comments.d.ts +59 -59
  72. package/dist/schema/comments.js +1 -1
  73. package/dist/schema/common.cjs +1 -1
  74. package/dist/schema/common.d.cts +10 -9
  75. package/dist/schema/common.d.ts +10 -9
  76. package/dist/schema/common.js +1 -1
  77. package/dist/schema/conversations.cjs +1 -1
  78. package/dist/schema/conversations.d.cts +77 -58
  79. package/dist/schema/conversations.d.ts +77 -58
  80. package/dist/schema/conversations.js +1 -1
  81. package/dist/schema/datasets.cjs +1 -1
  82. package/dist/schema/datasets.d.cts +137 -137
  83. package/dist/schema/datasets.d.ts +137 -137
  84. package/dist/schema/datasets.js +1 -1
  85. package/dist/schema/files.cjs +1 -1
  86. package/dist/schema/files.d.cts +154 -89
  87. package/dist/schema/files.d.ts +154 -89
  88. package/dist/schema/files.js +1 -1
  89. package/dist/schema/notifications.cjs +1 -1
  90. package/dist/schema/notifications.d.cts +106 -106
  91. package/dist/schema/notifications.d.ts +106 -106
  92. package/dist/schema/notifications.js +1 -1
  93. package/dist/schema/organizations.cjs +1 -1
  94. package/dist/schema/organizations.js +1 -1
  95. package/dist/schema/posts.cjs +1 -1
  96. package/dist/schema/posts.d.cts +91 -91
  97. package/dist/schema/posts.d.ts +91 -91
  98. package/dist/schema/posts.js +1 -1
  99. package/dist/schema/quests.cjs +1 -1
  100. package/dist/schema/quests.d.cts +192 -131
  101. package/dist/schema/quests.d.ts +192 -131
  102. package/dist/schema/quests.js +1 -1
  103. package/dist/schema/services.cjs +1 -1
  104. package/dist/schema/services.d.cts +132 -132
  105. package/dist/schema/services.d.ts +132 -132
  106. package/dist/schema/services.js +1 -1
  107. package/dist/schema/teams.cjs +1 -1
  108. package/dist/schema/teams.d.cts +15 -15
  109. package/dist/schema/teams.d.ts +15 -15
  110. package/dist/schema/teams.js +1 -1
  111. package/dist/utils/quest-submission.cjs +1 -1
  112. package/dist/utils/quest-submission.d.cts +4 -4
  113. package/dist/utils/quest-submission.d.ts +4 -4
  114. package/dist/utils/quest-submission.js +1 -1
  115. package/package.json +2 -2
  116. package/tests/files.test.mjs +42 -0
  117. package/dist/chunk-3BZRQYRC.js +0 -2
  118. package/dist/chunk-3BZRQYRC.js.map +0 -1
  119. package/dist/chunk-ASLHRT77.js +0 -2
  120. package/dist/chunk-ASLHRT77.js.map +0 -1
  121. package/dist/chunk-LD5G6GFH.cjs +0 -2
  122. package/dist/chunk-MNECKGIP.cjs +0 -2
  123. package/dist/chunk-MNECKGIP.cjs.map +0 -1
  124. package/dist/chunk-UVVPXYJA.cjs +0 -2
  125. package/dist/chunk-UVVPXYJA.cjs.map +0 -1
  126. package/dist/chunk-W6AKVS4L.cjs +0 -2
  127. package/dist/chunk-W6AKVS4L.cjs.map +0 -1
  128. package/dist/chunk-W6MBAIKZ.cjs +0 -2
  129. package/dist/chunk-W6MBAIKZ.cjs.map +0 -1
  130. package/dist/chunk-XVN3DFMT.js +0 -2
  131. package/dist/chunk-XVN3DFMT.js.map +0 -1
  132. package/dist/chunk-Y6TOO6ET.js +0 -2
  133. package/dist/chunk-Y6TOO6ET.js.map +0 -1
@@ -243,24 +243,24 @@ declare const ServiceSchema: 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";
247
246
  queued: "queued";
248
247
  "in-progress": "in-progress";
249
248
  "timed-out": "timed-out";
249
+ error: "error";
250
250
  }>;
251
251
  source: z.ZodEnum<{
252
- web: "web";
253
252
  api: "api";
253
+ web: "web";
254
254
  }>;
255
255
  is_pinned_in_team: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
256
256
  created_at: z.ZodString;
257
257
  last_updated: z.ZodString;
258
258
  asset_type: z.ZodEnum<{
259
259
  user: "user";
260
- file: "file";
261
260
  organization: "organization";
262
261
  team: "team";
263
262
  dataset: "dataset";
263
+ file: "file";
264
264
  service: "service";
265
265
  route: "route";
266
266
  post: "post";
@@ -285,16 +285,16 @@ declare const ServiceSchema: z.ZodObject<{
285
285
  }, z.core.$strip>;
286
286
  }, z.core.$strip>;
287
287
  declare const CreateServiceSchema: z.ZodPipe<z.ZodObject<{
288
- monetization: z.ZodOptional<z.ZodEnum<{
289
- none: "none";
290
- "pay-to-unlock": "pay-to-unlock";
291
- "pay-per-use": "pay-per-use";
292
- }>>;
293
288
  parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
294
289
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
295
290
  json: z.ZodRecord<z.ZodString, z.ZodAny>;
296
291
  text: z.ZodString;
297
292
  }, z.core.$strip>>>>;
293
+ monetization: z.ZodOptional<z.ZodEnum<{
294
+ none: "none";
295
+ "pay-to-unlock": "pay-to-unlock";
296
+ "pay-per-use": "pay-per-use";
297
+ }>>;
298
298
  parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
299
299
  license_id: z.ZodOptional<z.ZodString>;
300
300
  price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
@@ -319,14 +319,14 @@ declare const CreateServiceSchema: z.ZodPipe<z.ZodObject<{
319
319
  name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
320
320
  state: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
321
321
  success: "success";
322
- error: "error";
323
322
  queued: "queued";
324
323
  "in-progress": "in-progress";
325
324
  "timed-out": "timed-out";
325
+ error: "error";
326
326
  }>>>;
327
327
  source: z.ZodDefault<z.ZodEnum<{
328
- web: "web";
329
328
  api: "api";
329
+ web: "web";
330
330
  }>>;
331
331
  visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
332
332
  organization: "organization";
@@ -404,10 +404,10 @@ declare const CreateServiceSchema: z.ZodPipe<z.ZodObject<{
404
404
  last_updated: z.ZodDefault<z.ZodString>;
405
405
  asset_type: z.ZodEnum<{
406
406
  user: "user";
407
- file: "file";
408
407
  organization: "organization";
409
408
  team: "team";
410
409
  dataset: "dataset";
410
+ file: "file";
411
411
  service: "service";
412
412
  route: "route";
413
413
  post: "post";
@@ -435,8 +435,8 @@ declare const CreateServiceSchema: z.ZodPipe<z.ZodObject<{
435
435
  team_id: string | null;
436
436
  org_id: string | null;
437
437
  name: string;
438
- state: "success" | "error" | "queued" | "in-progress" | "timed-out";
439
- source: "web" | "api";
438
+ state: "success" | "queued" | "in-progress" | "timed-out" | "error";
439
+ source: "api" | "web";
440
440
  visibility: "organization" | "public" | "private" | "monetized" | "inherit";
441
441
  attribution: {
442
442
  originality: "original" | "derivative" | "third-party";
@@ -459,7 +459,7 @@ declare const CreateServiceSchema: z.ZodPipe<z.ZodObject<{
459
459
  };
460
460
  created_at: string;
461
461
  last_updated: string;
462
- asset_type: "user" | "file" | "organization" | "team" | "dataset" | "service" | "route" | "post" | "quest" | "comment" | "conversation";
462
+ asset_type: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "quest" | "comment" | "conversation";
463
463
  metadata: {
464
464
  authentication: "Personal Access Token" | "Ouro" | "None" | "OAuth 2.0";
465
465
  base_url: string;
@@ -470,12 +470,12 @@ declare const CreateServiceSchema: z.ZodPipe<z.ZodObject<{
470
470
  source?: string | null | undefined;
471
471
  reply_to_comment_id?: string | null | undefined;
472
472
  };
473
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
474
473
  parent?: Record<string, any> | undefined;
475
474
  description?: {
476
475
  json: Record<string, any>;
477
476
  text: string;
478
477
  } | null | undefined;
478
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
479
479
  parent_id?: string | null | undefined;
480
480
  license_id?: string | undefined;
481
481
  price?: number | null | undefined;
@@ -493,8 +493,8 @@ declare const CreateServiceSchema: z.ZodPipe<z.ZodObject<{
493
493
  team_id: string | null;
494
494
  org_id: string | null;
495
495
  name: string;
496
- state: "success" | "error" | "queued" | "in-progress" | "timed-out";
497
- source: "web" | "api";
496
+ state: "success" | "queued" | "in-progress" | "timed-out" | "error";
497
+ source: "api" | "web";
498
498
  visibility: "organization" | "public" | "private" | "monetized" | "inherit";
499
499
  attribution: {
500
500
  originality: "original" | "derivative" | "third-party";
@@ -517,7 +517,7 @@ declare const CreateServiceSchema: z.ZodPipe<z.ZodObject<{
517
517
  };
518
518
  created_at: string;
519
519
  last_updated: string;
520
- asset_type: "user" | "file" | "organization" | "team" | "dataset" | "service" | "route" | "post" | "quest" | "comment" | "conversation";
520
+ asset_type: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "quest" | "comment" | "conversation";
521
521
  metadata: {
522
522
  authentication: "Personal Access Token" | "Ouro" | "None" | "OAuth 2.0";
523
523
  base_url: string;
@@ -528,12 +528,12 @@ declare const CreateServiceSchema: z.ZodPipe<z.ZodObject<{
528
528
  source?: string | null | undefined;
529
529
  reply_to_comment_id?: string | null | undefined;
530
530
  };
531
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
532
531
  parent?: Record<string, any> | undefined;
533
532
  description?: {
534
533
  json: Record<string, any>;
535
534
  text: string;
536
535
  } | null | undefined;
536
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
537
537
  parent_id?: string | null | undefined;
538
538
  license_id?: string | undefined;
539
539
  price?: number | null | undefined;
@@ -550,10 +550,10 @@ declare const CreateServiceSchema: z.ZodPipe<z.ZodObject<{
550
550
  declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
551
551
  asset_type: z.ZodOptional<z.ZodEnum<{
552
552
  user: "user";
553
- file: "file";
554
553
  organization: "organization";
555
554
  team: "team";
556
555
  dataset: "dataset";
556
+ file: "file";
557
557
  service: "service";
558
558
  route: "route";
559
559
  post: "post";
@@ -561,6 +561,25 @@ declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
561
561
  comment: "comment";
562
562
  conversation: "conversation";
563
563
  }>>;
564
+ org_id: z.ZodOptional<z.ZodUUID>;
565
+ parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
566
+ metadata: z.ZodOptional<z.ZodObject<{
567
+ authentication: z.ZodEnum<{
568
+ "Personal Access Token": "Personal Access Token";
569
+ Ouro: "Ouro";
570
+ None: "None";
571
+ "OAuth 2.0": "OAuth 2.0";
572
+ }>;
573
+ base_url: z.ZodString;
574
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
575
+ spec_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
576
+ spec_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
577
+ auth_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
578
+ source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
579
+ reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
580
+ }, z.core.$strip>>;
581
+ name: z.ZodOptional<z.ZodString>;
582
+ team_id: z.ZodOptional<z.ZodUUID>;
564
583
  visibility: z.ZodOptional<z.ZodEnum<{
565
584
  organization: "organization";
566
585
  public: "public";
@@ -568,6 +587,14 @@ declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
568
587
  monetized: "monetized";
569
588
  inherit: "inherit";
570
589
  }>>;
590
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
591
+ json: z.ZodRecord<z.ZodString, z.ZodAny>;
592
+ text: z.ZodString;
593
+ }, z.core.$strip>>>>;
594
+ source: z.ZodOptional<z.ZodEnum<{
595
+ api: "api";
596
+ web: "web";
597
+ }>>;
571
598
  monetization: z.ZodOptional<z.ZodEnum<{
572
599
  none: "none";
573
600
  "pay-to-unlock": "pay-to-unlock";
@@ -604,23 +631,11 @@ declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
604
631
  }, z.core.$strip>>;
605
632
  state: z.ZodOptional<z.ZodEnum<{
606
633
  success: "success";
607
- error: "error";
608
634
  queued: "queued";
609
635
  "in-progress": "in-progress";
610
636
  "timed-out": "timed-out";
637
+ error: "error";
611
638
  }>>;
612
- source: z.ZodOptional<z.ZodEnum<{
613
- web: "web";
614
- api: "api";
615
- }>>;
616
- parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
617
- name: z.ZodOptional<z.ZodString>;
618
- org_id: z.ZodOptional<z.ZodUUID>;
619
- team_id: z.ZodOptional<z.ZodUUID>;
620
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
621
- json: z.ZodRecord<z.ZodString, z.ZodAny>;
622
- text: z.ZodString;
623
- }, z.core.$strip>>>>;
624
639
  parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
625
640
  license_id: z.ZodOptional<z.ZodString>;
626
641
  license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
@@ -639,27 +654,31 @@ declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
639
654
  stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
640
655
  stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
641
656
  stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
642
- metadata: z.ZodOptional<z.ZodObject<{
643
- authentication: z.ZodEnum<{
644
- "Personal Access Token": "Personal Access Token";
645
- Ouro: "Ouro";
646
- None: "None";
647
- "OAuth 2.0": "OAuth 2.0";
648
- }>;
649
- base_url: z.ZodString;
650
- version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
651
- spec_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
652
- spec_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
653
- auth_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
654
- source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
655
- reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
656
- }, z.core.$strip>>;
657
657
  preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>>;
658
658
  last_updated: z.ZodDefault<z.ZodString>;
659
659
  }, z.core.$strip>, z.ZodTransform<{
660
660
  last_updated: string;
661
- asset_type?: "user" | "file" | "organization" | "team" | "dataset" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | undefined;
661
+ asset_type?: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | undefined;
662
+ org_id?: string | undefined;
663
+ parent?: Record<string, any> | undefined;
664
+ metadata?: {
665
+ authentication: "Personal Access Token" | "Ouro" | "None" | "OAuth 2.0";
666
+ base_url: string;
667
+ version?: string | null | undefined;
668
+ spec_path?: string | null | undefined;
669
+ spec_url?: string | null | undefined;
670
+ auth_url?: string | null | undefined;
671
+ source?: string | null | undefined;
672
+ reply_to_comment_id?: string | null | undefined;
673
+ } | undefined;
674
+ name?: string | undefined;
675
+ team_id?: string | undefined;
662
676
  visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
677
+ description?: {
678
+ json: Record<string, any>;
679
+ text: string;
680
+ } | null | undefined;
681
+ source?: "api" | "web" | undefined;
663
682
  monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
664
683
  attribution?: {
665
684
  originality: "original" | "derivative" | "third-party";
@@ -680,16 +699,7 @@ declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
680
699
  relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
681
700
  doi?: string | null | undefined;
682
701
  } | undefined;
683
- state?: "success" | "error" | "queued" | "in-progress" | "timed-out" | undefined;
684
- source?: "web" | "api" | undefined;
685
- parent?: Record<string, any> | undefined;
686
- name?: string | undefined;
687
- org_id?: string | undefined;
688
- team_id?: string | undefined;
689
- description?: {
690
- json: Record<string, any>;
691
- text: string;
692
- } | null | undefined;
702
+ state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
693
703
  parent_id?: string | null | undefined;
694
704
  license_id?: string | undefined;
695
705
  license?: Record<string, any> | undefined;
@@ -702,6 +712,12 @@ declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
702
712
  stripe_product_id?: string | null | undefined;
703
713
  stripe_price_id?: string | null | undefined;
704
714
  stripe_meter_id?: string | null | undefined;
715
+ preview?: Record<string, any>[] | null | undefined;
716
+ }, {
717
+ last_updated: string;
718
+ asset_type?: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | undefined;
719
+ org_id?: string | undefined;
720
+ parent?: Record<string, any> | undefined;
705
721
  metadata?: {
706
722
  authentication: "Personal Access Token" | "Ouro" | "None" | "OAuth 2.0";
707
723
  base_url: string;
@@ -712,11 +728,14 @@ declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
712
728
  source?: string | null | undefined;
713
729
  reply_to_comment_id?: string | null | undefined;
714
730
  } | undefined;
715
- preview?: Record<string, any>[] | null | undefined;
716
- }, {
717
- last_updated: string;
718
- asset_type?: "user" | "file" | "organization" | "team" | "dataset" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | undefined;
731
+ name?: string | undefined;
732
+ team_id?: string | undefined;
719
733
  visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
734
+ description?: {
735
+ json: Record<string, any>;
736
+ text: string;
737
+ } | null | undefined;
738
+ source?: "api" | "web" | undefined;
720
739
  monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
721
740
  attribution?: {
722
741
  originality: "original" | "derivative" | "third-party";
@@ -737,16 +756,7 @@ declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
737
756
  relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
738
757
  doi?: string | null | undefined;
739
758
  } | undefined;
740
- state?: "success" | "error" | "queued" | "in-progress" | "timed-out" | undefined;
741
- source?: "web" | "api" | undefined;
742
- parent?: Record<string, any> | undefined;
743
- name?: string | undefined;
744
- org_id?: string | undefined;
745
- team_id?: string | undefined;
746
- description?: {
747
- json: Record<string, any>;
748
- text: string;
749
- } | null | undefined;
759
+ state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
750
760
  parent_id?: string | null | undefined;
751
761
  license_id?: string | undefined;
752
762
  license?: Record<string, any> | undefined;
@@ -759,16 +769,6 @@ declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
759
769
  stripe_product_id?: string | null | undefined;
760
770
  stripe_price_id?: string | null | undefined;
761
771
  stripe_meter_id?: string | null | undefined;
762
- metadata?: {
763
- authentication: "Personal Access Token" | "Ouro" | "None" | "OAuth 2.0";
764
- base_url: string;
765
- version?: string | null | undefined;
766
- spec_path?: string | null | undefined;
767
- spec_url?: string | null | undefined;
768
- auth_url?: string | null | undefined;
769
- source?: string | null | undefined;
770
- reply_to_comment_id?: string | null | undefined;
771
- } | undefined;
772
772
  preview?: Record<string, any>[] | null | undefined;
773
773
  }>>;
774
774
  declare const ExecutionModeSchema: z.ZodEnum<{
@@ -777,8 +777,8 @@ declare const ExecutionModeSchema: z.ZodEnum<{
777
777
  }>;
778
778
  declare const RouteInputAssetDeclarationSchema: z.ZodObject<{
779
779
  asset_type: z.ZodEnum<{
780
- file: "file";
781
780
  dataset: "dataset";
781
+ file: "file";
782
782
  post: "post";
783
783
  }>;
784
784
  primary: z.ZodOptional<z.ZodBoolean>;
@@ -795,8 +795,8 @@ declare const RouteInputAssetDeclarationSchema: z.ZodObject<{
795
795
  }, z.core.$catchall<z.ZodAny>>;
796
796
  declare const RouteOutputAssetDeclarationSchema: z.ZodObject<{
797
797
  asset_type: z.ZodEnum<{
798
- file: "file";
799
798
  dataset: "dataset";
799
+ file: "file";
800
800
  post: "post";
801
801
  }>;
802
802
  primary: z.ZodOptional<z.ZodBoolean>;
@@ -805,8 +805,8 @@ declare const RouteOutputAssetDeclarationSchema: z.ZodObject<{
805
805
  }, z.core.$catchall<z.ZodAny>>;
806
806
  declare const RouteInputAssetsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
807
807
  asset_type: z.ZodEnum<{
808
- file: "file";
809
808
  dataset: "dataset";
809
+ file: "file";
810
810
  post: "post";
811
811
  }>;
812
812
  primary: z.ZodOptional<z.ZodBoolean>;
@@ -823,8 +823,8 @@ declare const RouteInputAssetsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
823
823
  }, z.core.$catchall<z.ZodAny>>>;
824
824
  declare const RouteOutputAssetsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
825
825
  asset_type: z.ZodEnum<{
826
- file: "file";
827
826
  dataset: "dataset";
827
+ file: "file";
828
828
  post: "post";
829
829
  }>;
830
830
  primary: z.ZodOptional<z.ZodBoolean>;
@@ -849,8 +849,8 @@ declare const RouteDetailSchema: z.ZodObject<{
849
849
  responses: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
850
850
  input_assets: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
851
851
  asset_type: z.ZodEnum<{
852
- file: "file";
853
852
  dataset: "dataset";
853
+ file: "file";
854
854
  post: "post";
855
855
  }>;
856
856
  primary: z.ZodOptional<z.ZodBoolean>;
@@ -866,8 +866,8 @@ declare const RouteDetailSchema: z.ZodObject<{
866
866
  contains_file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
867
867
  }, z.core.$catchall<z.ZodAny>>>>>;
868
868
  input_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
869
- file: "file";
870
869
  dataset: "dataset";
870
+ file: "file";
871
871
  post: "post";
872
872
  }>>>;
873
873
  input_filter: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -882,8 +882,8 @@ declare const RouteDetailSchema: z.ZodObject<{
882
882
  input_file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
883
883
  output_assets: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
884
884
  asset_type: z.ZodEnum<{
885
- file: "file";
886
885
  dataset: "dataset";
886
+ file: "file";
887
887
  post: "post";
888
888
  }>;
889
889
  primary: z.ZodOptional<z.ZodBoolean>;
@@ -891,8 +891,8 @@ declare const RouteDetailSchema: z.ZodObject<{
891
891
  contains_file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
892
892
  }, z.core.$catchall<z.ZodAny>>>>>;
893
893
  output_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
894
- file: "file";
895
894
  dataset: "dataset";
895
+ file: "file";
896
896
  post: "post";
897
897
  }>>>;
898
898
  output_file_extension: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1162,24 +1162,24 @@ declare const RouteSchema: z.ZodObject<{
1162
1162
  preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
1163
1163
  state: z.ZodEnum<{
1164
1164
  success: "success";
1165
- error: "error";
1166
1165
  queued: "queued";
1167
1166
  "in-progress": "in-progress";
1168
1167
  "timed-out": "timed-out";
1168
+ error: "error";
1169
1169
  }>;
1170
1170
  source: z.ZodEnum<{
1171
- web: "web";
1172
1171
  api: "api";
1172
+ web: "web";
1173
1173
  }>;
1174
1174
  is_pinned_in_team: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1175
1175
  created_at: z.ZodString;
1176
1176
  last_updated: z.ZodString;
1177
1177
  asset_type: z.ZodEnum<{
1178
1178
  user: "user";
1179
- file: "file";
1180
1179
  organization: "organization";
1181
1180
  team: "team";
1182
1181
  dataset: "dataset";
1182
+ file: "file";
1183
1183
  service: "service";
1184
1184
  route: "route";
1185
1185
  post: "post";
@@ -1205,8 +1205,8 @@ declare const RouteSchema: z.ZodObject<{
1205
1205
  responses: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
1206
1206
  input_assets: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
1207
1207
  asset_type: z.ZodEnum<{
1208
- file: "file";
1209
1208
  dataset: "dataset";
1209
+ file: "file";
1210
1210
  post: "post";
1211
1211
  }>;
1212
1212
  primary: z.ZodOptional<z.ZodBoolean>;
@@ -1222,8 +1222,8 @@ declare const RouteSchema: z.ZodObject<{
1222
1222
  contains_file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1223
1223
  }, z.core.$catchall<z.ZodAny>>>>>;
1224
1224
  input_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1225
- file: "file";
1226
1225
  dataset: "dataset";
1226
+ file: "file";
1227
1227
  post: "post";
1228
1228
  }>>>;
1229
1229
  input_filter: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -1238,8 +1238,8 @@ declare const RouteSchema: z.ZodObject<{
1238
1238
  input_file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1239
1239
  output_assets: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
1240
1240
  asset_type: z.ZodEnum<{
1241
- file: "file";
1242
1241
  dataset: "dataset";
1242
+ file: "file";
1243
1243
  post: "post";
1244
1244
  }>;
1245
1245
  primary: z.ZodOptional<z.ZodBoolean>;
@@ -1247,8 +1247,8 @@ declare const RouteSchema: z.ZodObject<{
1247
1247
  contains_file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1248
1248
  }, z.core.$catchall<z.ZodAny>>>>>;
1249
1249
  output_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1250
- file: "file";
1251
1250
  dataset: "dataset";
1251
+ file: "file";
1252
1252
  post: "post";
1253
1253
  }>>>;
1254
1254
  output_file_extension: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1461,10 +1461,10 @@ declare const ActionSchema: z.ZodObject<{
1461
1461
  license: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1462
1462
  asset_type: z.ZodEnum<{
1463
1463
  user: "user";
1464
- file: "file";
1465
1464
  organization: "organization";
1466
1465
  team: "team";
1467
1466
  dataset: "dataset";
1467
+ file: "file";
1468
1468
  service: "service";
1469
1469
  route: "route";
1470
1470
  post: "post";
@@ -1541,14 +1541,14 @@ declare const ActionSchema: z.ZodObject<{
1541
1541
  preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
1542
1542
  state: z.ZodEnum<{
1543
1543
  success: "success";
1544
- error: "error";
1545
1544
  queued: "queued";
1546
1545
  "in-progress": "in-progress";
1547
1546
  "timed-out": "timed-out";
1547
+ error: "error";
1548
1548
  }>;
1549
1549
  source: z.ZodEnum<{
1550
- web: "web";
1551
1550
  api: "api";
1551
+ web: "web";
1552
1552
  }>;
1553
1553
  is_pinned_in_team: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1554
1554
  created_at: z.ZodString;
@@ -1735,10 +1735,10 @@ declare const ActionSchema: z.ZodObject<{
1735
1735
  license: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1736
1736
  asset_type: z.ZodEnum<{
1737
1737
  user: "user";
1738
- file: "file";
1739
1738
  organization: "organization";
1740
1739
  team: "team";
1741
1740
  dataset: "dataset";
1741
+ file: "file";
1742
1742
  service: "service";
1743
1743
  route: "route";
1744
1744
  post: "post";
@@ -1815,14 +1815,14 @@ declare const ActionSchema: z.ZodObject<{
1815
1815
  preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
1816
1816
  state: z.ZodEnum<{
1817
1817
  success: "success";
1818
- error: "error";
1819
1818
  queued: "queued";
1820
1819
  "in-progress": "in-progress";
1821
1820
  "timed-out": "timed-out";
1821
+ error: "error";
1822
1822
  }>;
1823
1823
  source: z.ZodEnum<{
1824
- web: "web";
1825
1824
  api: "api";
1825
+ web: "web";
1826
1826
  }>;
1827
1827
  is_pinned_in_team: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1828
1828
  created_at: z.ZodString;
@@ -1833,10 +1833,10 @@ declare const ActionSchema: z.ZodObject<{
1833
1833
  webhook_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1834
1834
  status: z.ZodEnum<{
1835
1835
  success: "success";
1836
- error: "error";
1837
1836
  queued: "queued";
1838
1837
  "in-progress": "in-progress";
1839
1838
  "timed-out": "timed-out";
1839
+ error: "error";
1840
1840
  }>;
1841
1841
  created_at: z.ZodString;
1842
1842
  last_updated: z.ZodString;
@@ -1854,10 +1854,10 @@ declare const ActionAssetRefSchema: z.ZodObject<{
1854
1854
  asset_id: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
1855
1855
  asset_type: z.ZodOptional<z.ZodEnum<{
1856
1856
  user: "user";
1857
- file: "file";
1858
1857
  organization: "organization";
1859
1858
  team: "team";
1860
1859
  dataset: "dataset";
1860
+ file: "file";
1861
1861
  service: "service";
1862
1862
  route: "route";
1863
1863
  post: "post";
@@ -2046,10 +2046,10 @@ declare const ActionAssetRefSchema: z.ZodObject<{
2046
2046
  license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
2047
2047
  asset_type: z.ZodOptional<z.ZodEnum<{
2048
2048
  user: "user";
2049
- file: "file";
2050
2049
  organization: "organization";
2051
2050
  team: "team";
2052
2051
  dataset: "dataset";
2052
+ file: "file";
2053
2053
  service: "service";
2054
2054
  route: "route";
2055
2055
  post: "post";
@@ -2126,14 +2126,14 @@ declare const ActionAssetRefSchema: z.ZodObject<{
2126
2126
  preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>>;
2127
2127
  state: z.ZodOptional<z.ZodEnum<{
2128
2128
  success: "success";
2129
- error: "error";
2130
2129
  queued: "queued";
2131
2130
  "in-progress": "in-progress";
2132
2131
  "timed-out": "timed-out";
2132
+ error: "error";
2133
2133
  }>>;
2134
2134
  source: z.ZodOptional<z.ZodEnum<{
2135
- web: "web";
2136
2135
  api: "api";
2136
+ web: "web";
2137
2137
  }>>;
2138
2138
  is_pinned_in_team: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
2139
2139
  created_at: z.ZodOptional<z.ZodString>;
@@ -2321,10 +2321,10 @@ declare const ReadActionRouteSchema: z.ZodObject<{
2321
2321
  license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
2322
2322
  asset_type: z.ZodOptional<z.ZodEnum<{
2323
2323
  user: "user";
2324
- file: "file";
2325
2324
  organization: "organization";
2326
2325
  team: "team";
2327
2326
  dataset: "dataset";
2327
+ file: "file";
2328
2328
  service: "service";
2329
2329
  route: "route";
2330
2330
  post: "post";
@@ -2401,14 +2401,14 @@ declare const ReadActionRouteSchema: z.ZodObject<{
2401
2401
  preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>>;
2402
2402
  state: z.ZodOptional<z.ZodEnum<{
2403
2403
  success: "success";
2404
- error: "error";
2405
2404
  queued: "queued";
2406
2405
  "in-progress": "in-progress";
2407
2406
  "timed-out": "timed-out";
2407
+ error: "error";
2408
2408
  }>>;
2409
2409
  source: z.ZodOptional<z.ZodEnum<{
2410
- web: "web";
2411
2410
  api: "api";
2411
+ web: "web";
2412
2412
  }>>;
2413
2413
  is_pinned_in_team: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
2414
2414
  created_at: z.ZodOptional<z.ZodString>;
@@ -2416,10 +2416,10 @@ declare const ReadActionRouteSchema: z.ZodObject<{
2416
2416
  route: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2417
2417
  output_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
2418
2418
  user: "user";
2419
- file: "file";
2420
2419
  organization: "organization";
2421
2420
  team: "team";
2422
2421
  dataset: "dataset";
2422
+ file: "file";
2423
2423
  service: "service";
2424
2424
  route: "route";
2425
2425
  post: "post";
@@ -2622,10 +2622,10 @@ declare const ReadActionSchema: z.ZodObject<{
2622
2622
  license: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2623
2623
  asset_type: z.ZodEnum<{
2624
2624
  user: "user";
2625
- file: "file";
2626
2625
  organization: "organization";
2627
2626
  team: "team";
2628
2627
  dataset: "dataset";
2628
+ file: "file";
2629
2629
  service: "service";
2630
2630
  route: "route";
2631
2631
  post: "post";
@@ -2702,14 +2702,14 @@ declare const ReadActionSchema: z.ZodObject<{
2702
2702
  preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
2703
2703
  state: z.ZodEnum<{
2704
2704
  success: "success";
2705
- error: "error";
2706
2705
  queued: "queued";
2707
2706
  "in-progress": "in-progress";
2708
2707
  "timed-out": "timed-out";
2708
+ error: "error";
2709
2709
  }>;
2710
2710
  source: z.ZodEnum<{
2711
- web: "web";
2712
2711
  api: "api";
2712
+ web: "web";
2713
2713
  }>;
2714
2714
  is_pinned_in_team: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2715
2715
  created_at: z.ZodString;
@@ -2895,10 +2895,10 @@ declare const ReadActionSchema: z.ZodObject<{
2895
2895
  license: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2896
2896
  asset_type: z.ZodEnum<{
2897
2897
  user: "user";
2898
- file: "file";
2899
2898
  organization: "organization";
2900
2899
  team: "team";
2901
2900
  dataset: "dataset";
2901
+ file: "file";
2902
2902
  service: "service";
2903
2903
  route: "route";
2904
2904
  post: "post";
@@ -2975,14 +2975,14 @@ declare const ReadActionSchema: z.ZodObject<{
2975
2975
  preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
2976
2976
  state: z.ZodEnum<{
2977
2977
  success: "success";
2978
- error: "error";
2979
2978
  queued: "queued";
2980
2979
  "in-progress": "in-progress";
2981
2980
  "timed-out": "timed-out";
2981
+ error: "error";
2982
2982
  }>;
2983
2983
  source: z.ZodEnum<{
2984
- web: "web";
2985
2984
  api: "api";
2985
+ web: "web";
2986
2986
  }>;
2987
2987
  is_pinned_in_team: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2988
2988
  created_at: z.ZodString;
@@ -2992,10 +2992,10 @@ declare const ReadActionSchema: z.ZodObject<{
2992
2992
  webhook_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2993
2993
  status: z.ZodEnum<{
2994
2994
  success: "success";
2995
- error: "error";
2996
2995
  queued: "queued";
2997
2996
  "in-progress": "in-progress";
2998
2997
  "timed-out": "timed-out";
2998
+ error: "error";
2999
2999
  }>;
3000
3000
  created_at: z.ZodString;
3001
3001
  last_updated: z.ZodString;
@@ -3209,10 +3209,10 @@ declare const ReadActionSchema: z.ZodObject<{
3209
3209
  license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
3210
3210
  asset_type: z.ZodOptional<z.ZodEnum<{
3211
3211
  user: "user";
3212
- file: "file";
3213
3212
  organization: "organization";
3214
3213
  team: "team";
3215
3214
  dataset: "dataset";
3215
+ file: "file";
3216
3216
  service: "service";
3217
3217
  route: "route";
3218
3218
  post: "post";
@@ -3289,14 +3289,14 @@ declare const ReadActionSchema: z.ZodObject<{
3289
3289
  preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>>;
3290
3290
  state: z.ZodOptional<z.ZodEnum<{
3291
3291
  success: "success";
3292
- error: "error";
3293
3292
  queued: "queued";
3294
3293
  "in-progress": "in-progress";
3295
3294
  "timed-out": "timed-out";
3295
+ error: "error";
3296
3296
  }>>;
3297
3297
  source: z.ZodOptional<z.ZodEnum<{
3298
- web: "web";
3299
3298
  api: "api";
3299
+ web: "web";
3300
3300
  }>>;
3301
3301
  is_pinned_in_team: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
3302
3302
  created_at: z.ZodOptional<z.ZodString>;
@@ -3304,10 +3304,10 @@ declare const ReadActionSchema: z.ZodObject<{
3304
3304
  route: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3305
3305
  output_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
3306
3306
  user: "user";
3307
- file: "file";
3308
3307
  organization: "organization";
3309
3308
  team: "team";
3310
3309
  dataset: "dataset";
3310
+ file: "file";
3311
3311
  service: "service";
3312
3312
  route: "route";
3313
3313
  post: "post";
@@ -3325,10 +3325,10 @@ declare const ReadActionSchema: z.ZodObject<{
3325
3325
  asset_id: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
3326
3326
  asset_type: z.ZodOptional<z.ZodEnum<{
3327
3327
  user: "user";
3328
- file: "file";
3329
3328
  organization: "organization";
3330
3329
  team: "team";
3331
3330
  dataset: "dataset";
3331
+ file: "file";
3332
3332
  service: "service";
3333
3333
  route: "route";
3334
3334
  post: "post";
@@ -3517,10 +3517,10 @@ declare const ReadActionSchema: z.ZodObject<{
3517
3517
  license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
3518
3518
  asset_type: z.ZodOptional<z.ZodEnum<{
3519
3519
  user: "user";
3520
- file: "file";
3521
3520
  organization: "organization";
3522
3521
  team: "team";
3523
3522
  dataset: "dataset";
3523
+ file: "file";
3524
3524
  service: "service";
3525
3525
  route: "route";
3526
3526
  post: "post";
@@ -3597,14 +3597,14 @@ declare const ReadActionSchema: z.ZodObject<{
3597
3597
  preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>>;
3598
3598
  state: z.ZodOptional<z.ZodEnum<{
3599
3599
  success: "success";
3600
- error: "error";
3601
3600
  queued: "queued";
3602
3601
  "in-progress": "in-progress";
3603
3602
  "timed-out": "timed-out";
3603
+ error: "error";
3604
3604
  }>>;
3605
3605
  source: z.ZodOptional<z.ZodEnum<{
3606
- web: "web";
3607
3606
  api: "api";
3607
+ web: "web";
3608
3608
  }>>;
3609
3609
  is_pinned_in_team: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
3610
3610
  created_at: z.ZodOptional<z.ZodString>;
@@ -3616,10 +3616,10 @@ declare const ReadActionSchema: z.ZodObject<{
3616
3616
  asset_id: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
3617
3617
  asset_type: z.ZodOptional<z.ZodEnum<{
3618
3618
  user: "user";
3619
- file: "file";
3620
3619
  organization: "organization";
3621
3620
  team: "team";
3622
3621
  dataset: "dataset";
3622
+ file: "file";
3623
3623
  service: "service";
3624
3624
  route: "route";
3625
3625
  post: "post";
@@ -3808,10 +3808,10 @@ declare const ReadActionSchema: z.ZodObject<{
3808
3808
  license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
3809
3809
  asset_type: z.ZodOptional<z.ZodEnum<{
3810
3810
  user: "user";
3811
- file: "file";
3812
3811
  organization: "organization";
3813
3812
  team: "team";
3814
3813
  dataset: "dataset";
3814
+ file: "file";
3815
3815
  service: "service";
3816
3816
  route: "route";
3817
3817
  post: "post";
@@ -3888,14 +3888,14 @@ declare const ReadActionSchema: z.ZodObject<{
3888
3888
  preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>>;
3889
3889
  state: z.ZodOptional<z.ZodEnum<{
3890
3890
  success: "success";
3891
- error: "error";
3892
3891
  queued: "queued";
3893
3892
  "in-progress": "in-progress";
3894
3893
  "timed-out": "timed-out";
3894
+ error: "error";
3895
3895
  }>>;
3896
3896
  source: z.ZodOptional<z.ZodEnum<{
3897
- web: "web";
3898
3897
  api: "api";
3898
+ web: "web";
3899
3899
  }>>;
3900
3900
  is_pinned_in_team: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
3901
3901
  created_at: z.ZodOptional<z.ZodString>;