@ourofoundation/ouro-js 3.7.0 → 3.7.1

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 (85) hide show
  1. package/dist/chunk-2BABFO5H.js +2 -0
  2. package/dist/chunk-2BABFO5H.js.map +1 -0
  3. package/dist/{chunk-HW6FGPTA.cjs → chunk-2KXX5JF6.cjs} +2 -2
  4. package/dist/{chunk-HW6FGPTA.cjs.map → chunk-2KXX5JF6.cjs.map} +1 -1
  5. package/dist/{chunk-QSOXS57A.cjs → chunk-G5V2WTN5.cjs} +2 -2
  6. package/dist/{chunk-QSOXS57A.cjs.map → chunk-G5V2WTN5.cjs.map} +1 -1
  7. package/dist/chunk-IL3WA4D7.js +2 -0
  8. package/dist/{chunk-QBL6KIST.js.map → chunk-IL3WA4D7.js.map} +1 -1
  9. package/dist/chunk-LYP7DPZ3.js +2 -0
  10. package/dist/{chunk-7EKD5NQB.js.map → chunk-LYP7DPZ3.js.map} +1 -1
  11. package/dist/chunk-N74Y47X7.js +2 -0
  12. package/dist/chunk-N74Y47X7.js.map +1 -0
  13. package/dist/{chunk-IVO3RQUN.cjs → chunk-O5CY3JW3.cjs} +2 -2
  14. package/dist/{chunk-IVO3RQUN.cjs.map → chunk-O5CY3JW3.cjs.map} +1 -1
  15. package/dist/{chunk-JUELSRCY.js → chunk-OBXAWON7.js} +2 -2
  16. package/dist/{chunk-JUELSRCY.js.map → chunk-OBXAWON7.js.map} +1 -1
  17. package/dist/{chunk-DY5QSBE4.js → chunk-OWS6VJJ2.js} +2 -2
  18. package/dist/{chunk-DY5QSBE4.js.map → chunk-OWS6VJJ2.js.map} +1 -1
  19. package/dist/{chunk-NTWSEN2H.cjs → chunk-PN763DHR.cjs} +2 -2
  20. package/dist/{chunk-NTWSEN2H.cjs.map → chunk-PN763DHR.cjs.map} +1 -1
  21. package/dist/{chunk-5EQ5LO7V.cjs → chunk-PPZZKUF6.cjs} +2 -2
  22. package/dist/chunk-PPZZKUF6.cjs.map +1 -0
  23. package/dist/chunk-QJG6O5OT.cjs +2 -0
  24. package/dist/chunk-QJG6O5OT.cjs.map +1 -0
  25. package/dist/chunk-R7YOQNVS.js +2 -0
  26. package/dist/{chunk-ZC2VDKSH.js.map → chunk-R7YOQNVS.js.map} +1 -1
  27. package/dist/{chunk-TMNFNVTZ.js → chunk-S5VZHGMV.js} +2 -2
  28. package/dist/{chunk-TMNFNVTZ.js.map → chunk-S5VZHGMV.js.map} +1 -1
  29. package/dist/{chunk-QNERXSMJ.cjs → chunk-VPYKCTVU.cjs} +2 -2
  30. package/dist/{chunk-QNERXSMJ.cjs.map → chunk-VPYKCTVU.cjs.map} +1 -1
  31. package/dist/{chunk-AI2FA44G.cjs → chunk-Y6EN5F74.cjs} +2 -2
  32. package/dist/{chunk-AI2FA44G.cjs.map → chunk-Y6EN5F74.cjs.map} +1 -1
  33. package/dist/{chunk-57RRLX7P.cjs → chunk-YCK6Y3BF.cjs} +2 -2
  34. package/dist/{chunk-57RRLX7P.cjs.map → chunk-YCK6Y3BF.cjs.map} +1 -1
  35. package/dist/{chunk-RD6EPK44.js → chunk-YXVAFJZH.js} +2 -2
  36. package/dist/{chunk-RD6EPK44.js.map → chunk-YXVAFJZH.js.map} +1 -1
  37. package/dist/index.cjs +1 -1
  38. package/dist/index.d.cts +1 -1
  39. package/dist/index.d.ts +1 -1
  40. package/dist/index.js +1 -1
  41. package/dist/schema/assets.cjs +1 -1
  42. package/dist/schema/assets.d.cts +123 -84
  43. package/dist/schema/assets.d.ts +123 -84
  44. package/dist/schema/assets.js +1 -1
  45. package/dist/schema/comments.cjs +1 -1
  46. package/dist/schema/comments.d.cts +78 -42
  47. package/dist/schema/comments.d.ts +78 -42
  48. package/dist/schema/comments.js +1 -1
  49. package/dist/schema/conversations.cjs +1 -1
  50. package/dist/schema/conversations.d.cts +173 -101
  51. package/dist/schema/conversations.d.ts +173 -101
  52. package/dist/schema/conversations.js +1 -1
  53. package/dist/schema/datasets.cjs +1 -1
  54. package/dist/schema/datasets.d.cts +239 -167
  55. package/dist/schema/datasets.d.ts +239 -167
  56. package/dist/schema/datasets.js +1 -1
  57. package/dist/schema/files.cjs +1 -1
  58. package/dist/schema/files.d.cts +219 -147
  59. package/dist/schema/files.d.ts +219 -147
  60. package/dist/schema/files.js +1 -1
  61. package/dist/schema/posts.cjs +1 -1
  62. package/dist/schema/posts.d.cts +152 -116
  63. package/dist/schema/posts.d.ts +152 -116
  64. package/dist/schema/posts.js +1 -1
  65. package/dist/schema/quests.cjs +1 -1
  66. package/dist/schema/quests.d.cts +156 -120
  67. package/dist/schema/quests.d.ts +156 -120
  68. package/dist/schema/quests.js +1 -1
  69. package/dist/schema/services.cjs +1 -1
  70. package/dist/schema/services.d.cts +156 -120
  71. package/dist/schema/services.d.ts +156 -120
  72. package/dist/schema/services.js +1 -1
  73. package/dist/utils/quest-submission.cjs +1 -1
  74. package/dist/utils/quest-submission.js +1 -1
  75. package/package.json +2 -2
  76. package/dist/chunk-5EQ5LO7V.cjs.map +0 -1
  77. package/dist/chunk-7EKD5NQB.js +0 -2
  78. package/dist/chunk-ITF5WQQB.js +0 -2
  79. package/dist/chunk-ITF5WQQB.js.map +0 -1
  80. package/dist/chunk-QBL6KIST.js +0 -2
  81. package/dist/chunk-SY5IKIT6.cjs +0 -2
  82. package/dist/chunk-SY5IKIT6.cjs.map +0 -1
  83. package/dist/chunk-TGOXRPF5.js +0 -2
  84. package/dist/chunk-TGOXRPF5.js.map +0 -1
  85. package/dist/chunk-ZC2VDKSH.js +0 -2
@@ -207,7 +207,7 @@ declare const ServiceSchema: z.ZodObject<{
207
207
  stripe_product_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
208
208
  stripe_price_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
209
209
  stripe_meter_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
210
- attribution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
210
+ attribution: z.ZodObject<{
211
211
  originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
212
212
  original: "original";
213
213
  derivative: "derivative";
@@ -235,7 +235,7 @@ declare const ServiceSchema: z.ZodObject<{
235
235
  IsIdenticalTo: "IsIdenticalTo";
236
236
  }>>>;
237
237
  doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
238
- }, z.core.$strip>>>;
238
+ }, z.core.$strip>;
239
239
  preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
240
240
  state: z.ZodEnum<{
241
241
  success: "success";
@@ -307,7 +307,31 @@ declare const CreateServiceSchema: z.ZodPipe<z.ZodObject<{
307
307
  stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
308
308
  stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
309
309
  stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
310
- attribution: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
310
+ preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>>;
311
+ id: z.ZodDefault<z.ZodUUID>;
312
+ team_id: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
313
+ org_id: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
314
+ name: z.ZodString;
315
+ name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
316
+ state: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
317
+ success: "success";
318
+ queued: "queued";
319
+ "in-progress": "in-progress";
320
+ "timed-out": "timed-out";
321
+ error: "error";
322
+ }>>>;
323
+ source: z.ZodDefault<z.ZodEnum<{
324
+ api: "api";
325
+ web: "web";
326
+ }>>;
327
+ visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
328
+ organization: "organization";
329
+ public: "public";
330
+ private: "private";
331
+ monetized: "monetized";
332
+ inherit: "inherit";
333
+ }>>>;
334
+ attribution: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
311
335
  originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
312
336
  original: "original";
313
337
  derivative: "derivative";
@@ -335,31 +359,43 @@ declare const CreateServiceSchema: z.ZodPipe<z.ZodObject<{
335
359
  IsIdenticalTo: "IsIdenticalTo";
336
360
  }>>>;
337
361
  doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
338
- }, z.core.$strip>>>>;
339
- preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>>;
340
- id: z.ZodDefault<z.ZodUUID>;
341
- team_id: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
342
- org_id: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
343
- name: z.ZodString;
344
- name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
345
- state: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
346
- success: "success";
347
- queued: "queued";
348
- "in-progress": "in-progress";
349
- "timed-out": "timed-out";
350
- error: "error";
351
- }>>>;
352
- source: z.ZodDefault<z.ZodEnum<{
353
- api: "api";
354
- web: "web";
355
- }>>;
356
- visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
357
- organization: "organization";
358
- public: "public";
359
- private: "private";
360
- monetized: "monetized";
361
- inherit: "inherit";
362
- }>>>;
362
+ }, z.core.$strip>>>, z.ZodTransform<{
363
+ originality: "original" | "derivative" | "third-party";
364
+ external_url?: string | null | undefined;
365
+ github_url?: string | null | undefined;
366
+ paper_url?: string | null | undefined;
367
+ doi_url?: string | null | undefined;
368
+ citation?: {
369
+ doi?: string | null | undefined;
370
+ title?: string | null | undefined;
371
+ authors?: string[] | null | undefined;
372
+ year?: number | null | undefined;
373
+ venue?: string | null | undefined;
374
+ url?: string | null | undefined;
375
+ bibtex?: string | null | undefined;
376
+ source?: string | null | undefined;
377
+ } | null | undefined;
378
+ relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
379
+ doi?: string | null | undefined;
380
+ }, {
381
+ originality: "original" | "derivative" | "third-party";
382
+ external_url?: string | null | undefined;
383
+ github_url?: string | null | undefined;
384
+ paper_url?: string | null | undefined;
385
+ doi_url?: string | null | undefined;
386
+ citation?: {
387
+ doi?: string | null | undefined;
388
+ title?: string | null | undefined;
389
+ authors?: string[] | null | undefined;
390
+ year?: number | null | undefined;
391
+ venue?: string | null | undefined;
392
+ url?: string | null | undefined;
393
+ bibtex?: string | null | undefined;
394
+ source?: string | null | undefined;
395
+ } | null | undefined;
396
+ relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
397
+ doi?: string | null | undefined;
398
+ } | null | undefined>>;
363
399
  created_at: z.ZodDefault<z.ZodString>;
364
400
  last_updated: z.ZodDefault<z.ZodString>;
365
401
  asset_type: z.ZodEnum<{
@@ -398,6 +434,25 @@ declare const CreateServiceSchema: z.ZodPipe<z.ZodObject<{
398
434
  state: "success" | "queued" | "in-progress" | "timed-out" | "error";
399
435
  source: "api" | "web";
400
436
  visibility: "organization" | "public" | "private" | "monetized" | "inherit";
437
+ attribution: {
438
+ originality: "original" | "derivative" | "third-party";
439
+ external_url?: string | null | undefined;
440
+ github_url?: string | null | undefined;
441
+ paper_url?: string | null | undefined;
442
+ doi_url?: string | null | undefined;
443
+ citation?: {
444
+ doi?: string | null | undefined;
445
+ title?: string | null | undefined;
446
+ authors?: string[] | null | undefined;
447
+ year?: number | null | undefined;
448
+ venue?: string | null | undefined;
449
+ url?: string | null | undefined;
450
+ bibtex?: string | null | undefined;
451
+ source?: string | null | undefined;
452
+ } | null | undefined;
453
+ relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
454
+ doi?: string | null | undefined;
455
+ };
401
456
  created_at: string;
402
457
  last_updated: string;
403
458
  asset_type: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "quest" | "comment" | "conversation";
@@ -427,7 +482,17 @@ declare const CreateServiceSchema: z.ZodPipe<z.ZodObject<{
427
482
  stripe_product_id?: string | null | undefined;
428
483
  stripe_price_id?: string | null | undefined;
429
484
  stripe_meter_id?: string | null | undefined;
430
- attribution?: {
485
+ preview?: Record<string, any>[] | null | undefined;
486
+ name_url_slug?: string | null | undefined;
487
+ }, {
488
+ id: string;
489
+ team_id: string | null;
490
+ org_id: string | null;
491
+ name: string;
492
+ state: "success" | "queued" | "in-progress" | "timed-out" | "error";
493
+ source: "api" | "web";
494
+ visibility: "organization" | "public" | "private" | "monetized" | "inherit";
495
+ attribution: {
431
496
  originality: "original" | "derivative" | "third-party";
432
497
  external_url?: string | null | undefined;
433
498
  github_url?: string | null | undefined;
@@ -445,17 +510,7 @@ declare const CreateServiceSchema: z.ZodPipe<z.ZodObject<{
445
510
  } | null | undefined;
446
511
  relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
447
512
  doi?: string | null | undefined;
448
- } | null | undefined;
449
- preview?: Record<string, any>[] | null | undefined;
450
- name_url_slug?: string | null | undefined;
451
- }, {
452
- id: string;
453
- team_id: string | null;
454
- org_id: string | null;
455
- name: string;
456
- state: "success" | "queued" | "in-progress" | "timed-out" | "error";
457
- source: "api" | "web";
458
- visibility: "organization" | "public" | "private" | "monetized" | "inherit";
513
+ };
459
514
  created_at: string;
460
515
  last_updated: string;
461
516
  asset_type: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "quest" | "comment" | "conversation";
@@ -485,25 +540,6 @@ declare const CreateServiceSchema: z.ZodPipe<z.ZodObject<{
485
540
  stripe_product_id?: string | null | undefined;
486
541
  stripe_price_id?: string | null | undefined;
487
542
  stripe_meter_id?: string | null | undefined;
488
- attribution?: {
489
- originality: "original" | "derivative" | "third-party";
490
- external_url?: string | null | undefined;
491
- github_url?: string | null | undefined;
492
- paper_url?: string | null | undefined;
493
- doi_url?: string | null | undefined;
494
- citation?: {
495
- doi?: string | null | undefined;
496
- title?: string | null | undefined;
497
- authors?: string[] | null | undefined;
498
- year?: number | null | undefined;
499
- venue?: string | null | undefined;
500
- url?: string | null | undefined;
501
- bibtex?: string | null | undefined;
502
- source?: string | null | undefined;
503
- } | null | undefined;
504
- relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
505
- doi?: string | null | undefined;
506
- } | null | undefined;
507
543
  preview?: Record<string, any>[] | null | undefined;
508
544
  name_url_slug?: string | null | undefined;
509
545
  }>>;
@@ -560,32 +596,7 @@ declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
560
596
  "pay-to-unlock": "pay-to-unlock";
561
597
  "pay-per-use": "pay-per-use";
562
598
  }>>;
563
- state: z.ZodOptional<z.ZodEnum<{
564
- success: "success";
565
- queued: "queued";
566
- "in-progress": "in-progress";
567
- "timed-out": "timed-out";
568
- error: "error";
569
- }>>;
570
- parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
571
- license_id: z.ZodOptional<z.ZodString>;
572
- license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
573
- name_url_slug: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
574
- price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
575
- unit_cost: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
576
- cost_accounting: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
577
- fixed: "fixed";
578
- variable: "variable";
579
- }>>>>;
580
- cost_unit: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
581
- price_currency: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
582
- usd: "usd";
583
- btc: "btc";
584
- }>>>;
585
- stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
586
- stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
587
- stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
588
- attribution: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
599
+ attribution: z.ZodOptional<z.ZodObject<{
589
600
  originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
590
601
  original: "original";
591
602
  derivative: "derivative";
@@ -613,7 +624,32 @@ declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
613
624
  IsIdenticalTo: "IsIdenticalTo";
614
625
  }>>>;
615
626
  doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
616
- }, z.core.$strip>>>>;
627
+ }, z.core.$strip>>;
628
+ state: z.ZodOptional<z.ZodEnum<{
629
+ success: "success";
630
+ queued: "queued";
631
+ "in-progress": "in-progress";
632
+ "timed-out": "timed-out";
633
+ error: "error";
634
+ }>>;
635
+ parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
636
+ license_id: z.ZodOptional<z.ZodString>;
637
+ license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
638
+ name_url_slug: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
639
+ price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
640
+ unit_cost: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
641
+ cost_accounting: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
642
+ fixed: "fixed";
643
+ variable: "variable";
644
+ }>>>>;
645
+ cost_unit: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
646
+ price_currency: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
647
+ usd: "usd";
648
+ btc: "btc";
649
+ }>>>;
650
+ stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
651
+ stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
652
+ stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
617
653
  preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>>;
618
654
  last_updated: z.ZodDefault<z.ZodString>;
619
655
  }, z.core.$strip>, z.ZodTransform<{
@@ -640,19 +676,6 @@ declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
640
676
  } | null | undefined;
641
677
  source?: "api" | "web" | undefined;
642
678
  monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
643
- state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
644
- parent_id?: string | null | undefined;
645
- license_id?: string | undefined;
646
- license?: Record<string, any> | undefined;
647
- name_url_slug?: string | null | undefined;
648
- price?: number | null | undefined;
649
- unit_cost?: number | null | undefined;
650
- cost_accounting?: "fixed" | "variable" | null | undefined;
651
- cost_unit?: string | null | undefined;
652
- price_currency?: "usd" | "btc" | undefined;
653
- stripe_product_id?: string | null | undefined;
654
- stripe_price_id?: string | null | undefined;
655
- stripe_meter_id?: string | null | undefined;
656
679
  attribution?: {
657
680
  originality: "original" | "derivative" | "third-party";
658
681
  external_url?: string | null | undefined;
@@ -671,7 +694,20 @@ declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
671
694
  } | null | undefined;
672
695
  relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
673
696
  doi?: string | null | undefined;
674
- } | null | undefined;
697
+ } | undefined;
698
+ state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
699
+ parent_id?: string | null | undefined;
700
+ license_id?: string | undefined;
701
+ license?: Record<string, any> | undefined;
702
+ name_url_slug?: string | null | undefined;
703
+ price?: number | null | undefined;
704
+ unit_cost?: number | null | undefined;
705
+ cost_accounting?: "fixed" | "variable" | null | undefined;
706
+ cost_unit?: string | null | undefined;
707
+ price_currency?: "usd" | "btc" | undefined;
708
+ stripe_product_id?: string | null | undefined;
709
+ stripe_price_id?: string | null | undefined;
710
+ stripe_meter_id?: string | null | undefined;
675
711
  preview?: Record<string, any>[] | null | undefined;
676
712
  }, {
677
713
  last_updated: string;
@@ -697,19 +733,6 @@ declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
697
733
  } | null | undefined;
698
734
  source?: "api" | "web" | undefined;
699
735
  monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
700
- state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
701
- parent_id?: string | null | undefined;
702
- license_id?: string | undefined;
703
- license?: Record<string, any> | undefined;
704
- name_url_slug?: string | null | undefined;
705
- price?: number | null | undefined;
706
- unit_cost?: number | null | undefined;
707
- cost_accounting?: "fixed" | "variable" | null | undefined;
708
- cost_unit?: string | null | undefined;
709
- price_currency?: "usd" | "btc" | undefined;
710
- stripe_product_id?: string | null | undefined;
711
- stripe_price_id?: string | null | undefined;
712
- stripe_meter_id?: string | null | undefined;
713
736
  attribution?: {
714
737
  originality: "original" | "derivative" | "third-party";
715
738
  external_url?: string | null | undefined;
@@ -728,7 +751,20 @@ declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
728
751
  } | null | undefined;
729
752
  relation_type?: "IsSupplementTo" | "IsDerivedFrom" | "References" | "IsVariantFormOf" | "IsIdenticalTo" | null | undefined;
730
753
  doi?: string | null | undefined;
731
- } | null | undefined;
754
+ } | undefined;
755
+ state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
756
+ parent_id?: string | null | undefined;
757
+ license_id?: string | undefined;
758
+ license?: Record<string, any> | undefined;
759
+ name_url_slug?: string | null | undefined;
760
+ price?: number | null | undefined;
761
+ unit_cost?: number | null | undefined;
762
+ cost_accounting?: "fixed" | "variable" | null | undefined;
763
+ cost_unit?: string | null | undefined;
764
+ price_currency?: "usd" | "btc" | undefined;
765
+ stripe_product_id?: string | null | undefined;
766
+ stripe_price_id?: string | null | undefined;
767
+ stripe_meter_id?: string | null | undefined;
732
768
  preview?: Record<string, any>[] | null | undefined;
733
769
  }>>;
734
770
  declare const ExecutionModeSchema: z.ZodEnum<{
@@ -1086,7 +1122,7 @@ declare const RouteSchema: z.ZodObject<{
1086
1122
  source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1087
1123
  reply_to_comment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1088
1124
  }, z.core.$strip>>>;
1089
- attribution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1125
+ attribution: z.ZodObject<{
1090
1126
  originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1091
1127
  original: "original";
1092
1128
  derivative: "derivative";
@@ -1114,7 +1150,7 @@ declare const RouteSchema: z.ZodObject<{
1114
1150
  IsIdenticalTo: "IsIdenticalTo";
1115
1151
  }>>>;
1116
1152
  doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1117
- }, z.core.$strip>>>;
1153
+ }, z.core.$strip>;
1118
1154
  preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
1119
1155
  state: z.ZodEnum<{
1120
1156
  success: "success";
@@ -1461,7 +1497,7 @@ declare const ActionSchema: z.ZodObject<{
1461
1497
  source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1462
1498
  reply_to_comment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1463
1499
  }, z.core.$strip>>>;
1464
- attribution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1500
+ attribution: z.ZodObject<{
1465
1501
  originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1466
1502
  original: "original";
1467
1503
  derivative: "derivative";
@@ -1489,7 +1525,7 @@ declare const ActionSchema: z.ZodObject<{
1489
1525
  IsIdenticalTo: "IsIdenticalTo";
1490
1526
  }>>>;
1491
1527
  doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1492
- }, z.core.$strip>>>;
1528
+ }, z.core.$strip>;
1493
1529
  preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
1494
1530
  state: z.ZodEnum<{
1495
1531
  success: "success";
@@ -1731,7 +1767,7 @@ declare const ActionSchema: z.ZodObject<{
1731
1767
  source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1732
1768
  reply_to_comment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1733
1769
  }, z.core.$strip>>>;
1734
- attribution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1770
+ attribution: z.ZodObject<{
1735
1771
  originality: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1736
1772
  original: "original";
1737
1773
  derivative: "derivative";
@@ -1759,7 +1795,7 @@ declare const ActionSchema: z.ZodObject<{
1759
1795
  IsIdenticalTo: "IsIdenticalTo";
1760
1796
  }>>>;
1761
1797
  doi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1762
- }, z.core.$strip>>>;
1798
+ }, z.core.$strip>;
1763
1799
  preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
1764
1800
  state: z.ZodEnum<{
1765
1801
  success: "success";