@ourofoundation/ouro-js 3.2.3 → 3.2.5

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 (49) hide show
  1. package/dist/chunk-5V7HPXUK.js +2 -0
  2. package/dist/chunk-5V7HPXUK.js.map +1 -0
  3. package/dist/chunk-D7S2GB7Z.cjs +2 -0
  4. package/dist/chunk-D7S2GB7Z.cjs.map +1 -0
  5. package/dist/chunk-EY4OFSDP.js +2 -0
  6. package/dist/chunk-EY4OFSDP.js.map +1 -0
  7. package/dist/chunk-MOEVC3KD.cjs +2 -0
  8. package/dist/chunk-MOEVC3KD.cjs.map +1 -0
  9. package/dist/index.cjs +1 -1
  10. package/dist/index.js +1 -1
  11. package/dist/schema/assets.d.cts +77 -77
  12. package/dist/schema/assets.d.ts +77 -77
  13. package/dist/schema/blueprints.d.cts +12 -12
  14. package/dist/schema/blueprints.d.ts +12 -12
  15. package/dist/schema/comments.d.cts +73 -73
  16. package/dist/schema/comments.d.ts +73 -73
  17. package/dist/schema/common.d.cts +9 -9
  18. package/dist/schema/common.d.ts +9 -9
  19. package/dist/schema/conversations.d.cts +62 -62
  20. package/dist/schema/conversations.d.ts +62 -62
  21. package/dist/schema/datasets.d.cts +97 -97
  22. package/dist/schema/datasets.d.ts +97 -97
  23. package/dist/schema/files.d.cts +91 -91
  24. package/dist/schema/files.d.ts +91 -91
  25. package/dist/schema/notifications.d.cts +1 -1
  26. package/dist/schema/notifications.d.ts +1 -1
  27. package/dist/schema/posts.d.cts +110 -110
  28. package/dist/schema/posts.d.ts +110 -110
  29. package/dist/schema/replications.d.cts +12 -12
  30. package/dist/schema/replications.d.ts +12 -12
  31. package/dist/schema/services.cjs +1 -1
  32. package/dist/schema/services.d.cts +106 -101
  33. package/dist/schema/services.d.ts +106 -101
  34. package/dist/schema/services.js +1 -1
  35. package/dist/schema/teams.d.cts +15 -15
  36. package/dist/schema/teams.d.ts +15 -15
  37. package/dist/utils/navigate.cjs +1 -1
  38. package/dist/utils/navigate.d.cts +2 -2
  39. package/dist/utils/navigate.d.ts +2 -2
  40. package/dist/utils/navigate.js +1 -1
  41. package/package.json +1 -1
  42. package/dist/chunk-6RGIIOOP.js +0 -2
  43. package/dist/chunk-6RGIIOOP.js.map +0 -1
  44. package/dist/chunk-DHQJ2FCF.cjs +0 -2
  45. package/dist/chunk-DHQJ2FCF.cjs.map +0 -1
  46. package/dist/chunk-FNW6DDNP.cjs +0 -2
  47. package/dist/chunk-FNW6DDNP.cjs.map +0 -1
  48. package/dist/chunk-XMYZV7TD.js +0 -2
  49. package/dist/chunk-XMYZV7TD.js.map +0 -1
@@ -210,23 +210,23 @@ declare const ServiceSchema: 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
  created_at: z.ZodString;
223
223
  last_updated: z.ZodString;
224
224
  asset_type: z.ZodEnum<{
225
+ file: "file";
225
226
  user: "user";
226
227
  organization: "organization";
227
228
  team: "team";
228
229
  dataset: "dataset";
229
- file: "file";
230
230
  service: "service";
231
231
  route: "route";
232
232
  post: "post";
@@ -263,15 +263,15 @@ declare const ServiceSchema: z.ZodObject<{
263
263
  }, z.core.$strip>;
264
264
  declare const CreateServiceSchema: z.ZodPipe<z.ZodObject<{
265
265
  parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
266
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
267
- json: z.ZodRecord<z.ZodString, z.ZodAny>;
268
- text: z.ZodString;
269
- }, z.core.$strip>>>>;
270
266
  monetization: z.ZodOptional<z.ZodEnum<{
271
267
  none: "none";
272
268
  "pay-to-unlock": "pay-to-unlock";
273
269
  "pay-per-use": "pay-per-use";
274
270
  }>>;
271
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
272
+ json: z.ZodRecord<z.ZodString, z.ZodAny>;
273
+ text: z.ZodString;
274
+ }, z.core.$strip>>>>;
275
275
  parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
276
276
  license_id: z.ZodOptional<z.ZodString>;
277
277
  price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
@@ -296,14 +296,14 @@ declare const CreateServiceSchema: z.ZodPipe<z.ZodObject<{
296
296
  name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
297
297
  state: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
298
298
  success: "success";
299
+ error: "error";
299
300
  queued: "queued";
300
301
  "in-progress": "in-progress";
301
302
  "timed-out": "timed-out";
302
- error: "error";
303
303
  }>>>;
304
304
  source: z.ZodDefault<z.ZodEnum<{
305
- api: "api";
306
305
  web: "web";
306
+ api: "api";
307
307
  }>>;
308
308
  visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
309
309
  organization: "organization";
@@ -315,11 +315,11 @@ declare const CreateServiceSchema: z.ZodPipe<z.ZodObject<{
315
315
  created_at: z.ZodDefault<z.ZodString>;
316
316
  last_updated: z.ZodDefault<z.ZodString>;
317
317
  asset_type: z.ZodEnum<{
318
+ file: "file";
318
319
  user: "user";
319
320
  organization: "organization";
320
321
  team: "team";
321
322
  dataset: "dataset";
322
- file: "file";
323
323
  service: "service";
324
324
  route: "route";
325
325
  post: "post";
@@ -358,12 +358,12 @@ declare const CreateServiceSchema: z.ZodPipe<z.ZodObject<{
358
358
  team_id: string | null;
359
359
  org_id: string | null;
360
360
  name: string;
361
- state: "success" | "queued" | "in-progress" | "timed-out" | "error";
362
- source: "api" | "web";
361
+ state: "success" | "error" | "queued" | "in-progress" | "timed-out";
362
+ source: "web" | "api";
363
363
  visibility: "organization" | "public" | "private" | "monetized" | "inherit";
364
364
  created_at: string;
365
365
  last_updated: string;
366
- asset_type: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | "blueprint" | "replication";
366
+ asset_type: "file" | "user" | "organization" | "team" | "dataset" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | "blueprint" | "replication";
367
367
  metadata: {
368
368
  authentication: "Personal Access Token" | "Ouro" | "None" | "OAuth 2.0";
369
369
  base_url: string;
@@ -380,11 +380,11 @@ declare const CreateServiceSchema: z.ZodPipe<z.ZodObject<{
380
380
  reply_to_comment_id?: string | null | undefined;
381
381
  };
382
382
  parent?: Record<string, any> | undefined;
383
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
383
384
  description?: {
384
385
  json: Record<string, any>;
385
386
  text: string;
386
387
  } | null | undefined;
387
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
388
388
  parent_id?: string | null | undefined;
389
389
  license_id?: string | undefined;
390
390
  price?: number | null | undefined;
@@ -402,12 +402,12 @@ declare const CreateServiceSchema: z.ZodPipe<z.ZodObject<{
402
402
  team_id: string | null;
403
403
  org_id: string | null;
404
404
  name: string;
405
- state: "success" | "queued" | "in-progress" | "timed-out" | "error";
406
- source: "api" | "web";
405
+ state: "success" | "error" | "queued" | "in-progress" | "timed-out";
406
+ source: "web" | "api";
407
407
  visibility: "organization" | "public" | "private" | "monetized" | "inherit";
408
408
  created_at: string;
409
409
  last_updated: string;
410
- asset_type: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | "blueprint" | "replication";
410
+ asset_type: "file" | "user" | "organization" | "team" | "dataset" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | "blueprint" | "replication";
411
411
  metadata: {
412
412
  authentication: "Personal Access Token" | "Ouro" | "None" | "OAuth 2.0";
413
413
  base_url: string;
@@ -424,11 +424,11 @@ declare const CreateServiceSchema: z.ZodPipe<z.ZodObject<{
424
424
  reply_to_comment_id?: string | null | undefined;
425
425
  };
426
426
  parent?: Record<string, any> | undefined;
427
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
427
428
  description?: {
428
429
  json: Record<string, any>;
429
430
  text: string;
430
431
  } | null | undefined;
431
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
432
432
  parent_id?: string | null | undefined;
433
433
  license_id?: string | undefined;
434
434
  price?: number | null | undefined;
@@ -443,12 +443,17 @@ declare const CreateServiceSchema: z.ZodPipe<z.ZodObject<{
443
443
  name_url_slug?: string | null | undefined;
444
444
  }>>;
445
445
  declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
446
+ parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
447
+ source: z.ZodOptional<z.ZodEnum<{
448
+ web: "web";
449
+ api: "api";
450
+ }>>;
446
451
  asset_type: z.ZodOptional<z.ZodEnum<{
452
+ file: "file";
447
453
  user: "user";
448
454
  organization: "organization";
449
455
  team: "team";
450
456
  dataset: "dataset";
451
- file: "file";
452
457
  service: "service";
453
458
  route: "route";
454
459
  post: "post";
@@ -458,34 +463,6 @@ declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
458
463
  blueprint: "blueprint";
459
464
  replication: "replication";
460
465
  }>>;
461
- org_id: z.ZodOptional<z.ZodUUID>;
462
- parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
463
- metadata: z.ZodOptional<z.ZodObject<{
464
- authentication: z.ZodEnum<{
465
- "Personal Access Token": "Personal Access Token";
466
- Ouro: "Ouro";
467
- None: "None";
468
- "OAuth 2.0": "OAuth 2.0";
469
- }>;
470
- base_url: z.ZodString;
471
- version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
472
- spec_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
473
- spec_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
474
- auth_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
475
- doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
476
- external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
477
- paper_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
478
- github_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
479
- originality: z.ZodOptional<z.ZodEnum<{
480
- original: "original";
481
- derivative: "derivative";
482
- "third-party": "third-party";
483
- }>>;
484
- source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
485
- reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
486
- }, z.core.$strip>>;
487
- name: z.ZodOptional<z.ZodString>;
488
- team_id: z.ZodOptional<z.ZodUUID>;
489
466
  visibility: z.ZodOptional<z.ZodEnum<{
490
467
  organization: "organization";
491
468
  public: "public";
@@ -493,14 +470,6 @@ declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
493
470
  monetized: "monetized";
494
471
  inherit: "inherit";
495
472
  }>>;
496
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
497
- json: z.ZodRecord<z.ZodString, z.ZodAny>;
498
- text: z.ZodString;
499
- }, z.core.$strip>>>>;
500
- source: z.ZodOptional<z.ZodEnum<{
501
- api: "api";
502
- web: "web";
503
- }>>;
504
473
  monetization: z.ZodOptional<z.ZodEnum<{
505
474
  none: "none";
506
475
  "pay-to-unlock": "pay-to-unlock";
@@ -508,11 +477,18 @@ declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
508
477
  }>>;
509
478
  state: z.ZodOptional<z.ZodEnum<{
510
479
  success: "success";
480
+ error: "error";
511
481
  queued: "queued";
512
482
  "in-progress": "in-progress";
513
483
  "timed-out": "timed-out";
514
- error: "error";
515
484
  }>>;
485
+ name: z.ZodOptional<z.ZodString>;
486
+ org_id: z.ZodOptional<z.ZodUUID>;
487
+ team_id: z.ZodOptional<z.ZodUUID>;
488
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
489
+ json: z.ZodRecord<z.ZodString, z.ZodAny>;
490
+ text: z.ZodString;
491
+ }, z.core.$strip>>>>;
516
492
  parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
517
493
  license_id: z.ZodOptional<z.ZodString>;
518
494
  license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
@@ -531,38 +507,47 @@ declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
531
507
  stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
532
508
  stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
533
509
  stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
510
+ metadata: z.ZodOptional<z.ZodObject<{
511
+ authentication: z.ZodEnum<{
512
+ "Personal Access Token": "Personal Access Token";
513
+ Ouro: "Ouro";
514
+ None: "None";
515
+ "OAuth 2.0": "OAuth 2.0";
516
+ }>;
517
+ base_url: z.ZodString;
518
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
519
+ spec_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
520
+ spec_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
521
+ auth_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
522
+ doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
523
+ external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
524
+ paper_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
525
+ github_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
526
+ originality: z.ZodOptional<z.ZodEnum<{
527
+ original: "original";
528
+ derivative: "derivative";
529
+ "third-party": "third-party";
530
+ }>>;
531
+ source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
532
+ reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
533
+ }, z.core.$strip>>;
534
534
  preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>>;
535
535
  last_updated: z.ZodDefault<z.ZodString>;
536
536
  }, z.core.$strip>, z.ZodTransform<{
537
537
  last_updated: string;
538
- asset_type?: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
539
- org_id?: string | undefined;
540
538
  parent?: Record<string, any> | undefined;
541
- metadata?: {
542
- authentication: "Personal Access Token" | "Ouro" | "None" | "OAuth 2.0";
543
- base_url: string;
544
- version?: string | null | undefined;
545
- spec_path?: string | null | undefined;
546
- spec_url?: string | null | undefined;
547
- auth_url?: string | null | undefined;
548
- doi_url?: string | null | undefined;
549
- external_url?: string | null | undefined;
550
- paper_url?: string | null | undefined;
551
- github_url?: string | null | undefined;
552
- originality?: "original" | "derivative" | "third-party" | undefined;
553
- source?: string | null | undefined;
554
- reply_to_comment_id?: string | null | undefined;
555
- } | undefined;
539
+ source?: "web" | "api" | undefined;
540
+ asset_type?: "file" | "user" | "organization" | "team" | "dataset" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
541
+ visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
542
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
543
+ state?: "success" | "error" | "queued" | "in-progress" | "timed-out" | undefined;
556
544
  name?: string | undefined;
545
+ org_id?: string | undefined;
557
546
  team_id?: string | undefined;
558
- visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
559
547
  description?: {
560
548
  json: Record<string, any>;
561
549
  text: string;
562
550
  } | null | undefined;
563
- source?: "api" | "web" | undefined;
564
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
565
- state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
566
551
  parent_id?: string | null | undefined;
567
552
  license_id?: string | undefined;
568
553
  license?: Record<string, any> | undefined;
@@ -575,12 +560,6 @@ declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
575
560
  stripe_product_id?: string | null | undefined;
576
561
  stripe_price_id?: string | null | undefined;
577
562
  stripe_meter_id?: string | null | undefined;
578
- preview?: Record<string, any>[] | null | undefined;
579
- }, {
580
- last_updated: string;
581
- asset_type?: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
582
- org_id?: string | undefined;
583
- parent?: Record<string, any> | undefined;
584
563
  metadata?: {
585
564
  authentication: "Personal Access Token" | "Ouro" | "None" | "OAuth 2.0";
586
565
  base_url: string;
@@ -596,16 +575,22 @@ declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
596
575
  source?: string | null | undefined;
597
576
  reply_to_comment_id?: string | null | undefined;
598
577
  } | undefined;
578
+ preview?: Record<string, any>[] | null | undefined;
579
+ }, {
580
+ last_updated: string;
581
+ parent?: Record<string, any> | undefined;
582
+ source?: "web" | "api" | undefined;
583
+ asset_type?: "file" | "user" | "organization" | "team" | "dataset" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
584
+ visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
585
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
586
+ state?: "success" | "error" | "queued" | "in-progress" | "timed-out" | undefined;
599
587
  name?: string | undefined;
588
+ org_id?: string | undefined;
600
589
  team_id?: string | undefined;
601
- visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
602
590
  description?: {
603
591
  json: Record<string, any>;
604
592
  text: string;
605
593
  } | null | undefined;
606
- source?: "api" | "web" | undefined;
607
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
608
- state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
609
594
  parent_id?: string | null | undefined;
610
595
  license_id?: string | undefined;
611
596
  license?: Record<string, any> | undefined;
@@ -618,6 +603,21 @@ declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
618
603
  stripe_product_id?: string | null | undefined;
619
604
  stripe_price_id?: string | null | undefined;
620
605
  stripe_meter_id?: string | null | undefined;
606
+ metadata?: {
607
+ authentication: "Personal Access Token" | "Ouro" | "None" | "OAuth 2.0";
608
+ base_url: string;
609
+ version?: string | null | undefined;
610
+ spec_path?: string | null | undefined;
611
+ spec_url?: string | null | undefined;
612
+ auth_url?: string | null | undefined;
613
+ doi_url?: string | null | undefined;
614
+ external_url?: string | null | undefined;
615
+ paper_url?: string | null | undefined;
616
+ github_url?: string | null | undefined;
617
+ originality?: "original" | "derivative" | "third-party" | undefined;
618
+ source?: string | null | undefined;
619
+ reply_to_comment_id?: string | null | undefined;
620
+ } | undefined;
621
621
  preview?: Record<string, any>[] | null | undefined;
622
622
  }>>;
623
623
  declare const RouteDetailSchema: z.ZodObject<{
@@ -636,9 +636,10 @@ declare const RouteDetailSchema: z.ZodObject<{
636
636
  parameters: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
637
637
  request_body: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
638
638
  responses: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
639
+ input_assets: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
639
640
  input_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
640
- dataset: "dataset";
641
641
  file: "file";
642
+ dataset: "dataset";
642
643
  post: "post";
643
644
  }>>>;
644
645
  input_filter: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -652,10 +653,11 @@ declare const RouteDetailSchema: z.ZodObject<{
652
653
  input_file_extension: z.ZodOptional<z.ZodNullable<z.ZodString>>;
653
654
  input_file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
654
655
  output_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
655
- dataset: "dataset";
656
656
  file: "file";
657
+ dataset: "dataset";
657
658
  post: "post";
658
659
  }>>>;
660
+ output_assets: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
659
661
  output_file_extension: z.ZodOptional<z.ZodNullable<z.ZodString>>;
660
662
  security: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
661
663
  rate_limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -884,23 +886,23 @@ declare const RouteSchema: z.ZodObject<{
884
886
  preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
885
887
  state: z.ZodEnum<{
886
888
  success: "success";
889
+ error: "error";
887
890
  queued: "queued";
888
891
  "in-progress": "in-progress";
889
892
  "timed-out": "timed-out";
890
- error: "error";
891
893
  }>;
892
894
  source: z.ZodEnum<{
893
- api: "api";
894
895
  web: "web";
896
+ api: "api";
895
897
  }>;
896
898
  created_at: z.ZodString;
897
899
  last_updated: z.ZodString;
898
900
  asset_type: z.ZodEnum<{
901
+ file: "file";
899
902
  user: "user";
900
903
  organization: "organization";
901
904
  team: "team";
902
905
  dataset: "dataset";
903
- file: "file";
904
906
  service: "service";
905
907
  route: "route";
906
908
  post: "post";
@@ -926,9 +928,10 @@ declare const RouteSchema: z.ZodObject<{
926
928
  parameters: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
927
929
  request_body: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
928
930
  responses: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
931
+ input_assets: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
929
932
  input_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
930
- dataset: "dataset";
931
933
  file: "file";
934
+ dataset: "dataset";
932
935
  post: "post";
933
936
  }>>>;
934
937
  input_filter: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -942,10 +945,11 @@ declare const RouteSchema: z.ZodObject<{
942
945
  input_file_extension: z.ZodOptional<z.ZodNullable<z.ZodString>>;
943
946
  input_file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
944
947
  output_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
945
- dataset: "dataset";
946
948
  file: "file";
949
+ dataset: "dataset";
947
950
  post: "post";
948
951
  }>>>;
952
+ output_assets: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
949
953
  output_file_extension: z.ZodOptional<z.ZodNullable<z.ZodString>>;
950
954
  security: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
951
955
  rate_limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -1136,11 +1140,11 @@ declare const ActionSchema: z.ZodObject<{
1136
1140
  license_id: z.ZodString;
1137
1141
  license: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1138
1142
  asset_type: z.ZodEnum<{
1143
+ file: "file";
1139
1144
  user: "user";
1140
1145
  organization: "organization";
1141
1146
  team: "team";
1142
1147
  dataset: "dataset";
1143
- file: "file";
1144
1148
  service: "service";
1145
1149
  route: "route";
1146
1150
  post: "post";
@@ -1199,18 +1203,19 @@ declare const ActionSchema: z.ZodObject<{
1199
1203
  preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
1200
1204
  state: z.ZodEnum<{
1201
1205
  success: "success";
1206
+ error: "error";
1202
1207
  queued: "queued";
1203
1208
  "in-progress": "in-progress";
1204
1209
  "timed-out": "timed-out";
1205
- error: "error";
1206
1210
  }>;
1207
1211
  source: z.ZodEnum<{
1208
- api: "api";
1209
1212
  web: "web";
1213
+ api: "api";
1210
1214
  }>;
1211
1215
  created_at: z.ZodString;
1212
1216
  last_updated: z.ZodString;
1213
1217
  }, z.core.$strip>>>;
1218
+ input_assets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
1214
1219
  output_asset: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1215
1220
  id: z.ZodUUID;
1216
1221
  user_id: z.ZodUUID;
@@ -1386,11 +1391,11 @@ declare const ActionSchema: z.ZodObject<{
1386
1391
  license_id: z.ZodString;
1387
1392
  license: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1388
1393
  asset_type: z.ZodEnum<{
1394
+ file: "file";
1389
1395
  user: "user";
1390
1396
  organization: "organization";
1391
1397
  team: "team";
1392
1398
  dataset: "dataset";
1393
- file: "file";
1394
1399
  service: "service";
1395
1400
  route: "route";
1396
1401
  post: "post";
@@ -1449,14 +1454,14 @@ declare const ActionSchema: z.ZodObject<{
1449
1454
  preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
1450
1455
  state: z.ZodEnum<{
1451
1456
  success: "success";
1457
+ error: "error";
1452
1458
  queued: "queued";
1453
1459
  "in-progress": "in-progress";
1454
1460
  "timed-out": "timed-out";
1455
- error: "error";
1456
1461
  }>;
1457
1462
  source: z.ZodEnum<{
1458
- api: "api";
1459
1463
  web: "web";
1464
+ api: "api";
1460
1465
  }>;
1461
1466
  created_at: z.ZodString;
1462
1467
  last_updated: z.ZodString;
@@ -1465,10 +1470,10 @@ declare const ActionSchema: z.ZodObject<{
1465
1470
  webhook_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1466
1471
  status: z.ZodEnum<{
1467
1472
  success: "success";
1473
+ error: "error";
1468
1474
  queued: "queued";
1469
1475
  "in-progress": "in-progress";
1470
1476
  "timed-out": "timed-out";
1471
- error: "error";
1472
1477
  }>;
1473
1478
  created_at: z.ZodString;
1474
1479
  last_updated: z.ZodString;