@ourofoundation/ouro-js 2.0.8 → 2.0.9
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.
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +971 -343
- package/dist/index.d.ts +971 -343
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -138,6 +138,22 @@ type PurchaseAsset = z.infer<typeof PurchaseAssetSchema>;
|
|
|
138
138
|
type Permission = z.infer<typeof PermissionSchema>;
|
|
139
139
|
type Status = z.infer<typeof StatusSchema>;
|
|
140
140
|
|
|
141
|
+
declare const AssetMetadataSchema: z.ZodObject<{
|
|
142
|
+
doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
143
|
+
external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
144
|
+
originality: z.ZodEnum<["original", "derivative", "third-party"]>;
|
|
145
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
146
|
+
}, "strip", z.ZodTypeAny, {
|
|
147
|
+
originality: "original" | "derivative" | "third-party";
|
|
148
|
+
doi_url?: string | null | undefined;
|
|
149
|
+
external_url?: string | null | undefined;
|
|
150
|
+
source?: string | null | undefined;
|
|
151
|
+
}, {
|
|
152
|
+
originality: "original" | "derivative" | "third-party";
|
|
153
|
+
doi_url?: string | null | undefined;
|
|
154
|
+
external_url?: string | null | undefined;
|
|
155
|
+
source?: string | null | undefined;
|
|
156
|
+
}>;
|
|
141
157
|
declare const AssetSchema: z.ZodObject<{
|
|
142
158
|
id: z.ZodString;
|
|
143
159
|
user_id: z.ZodString;
|
|
@@ -466,6 +482,8 @@ declare const AssetSchema: z.ZodObject<{
|
|
|
466
482
|
}>>;
|
|
467
483
|
parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
468
484
|
parent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
485
|
+
license_id: z.ZodString;
|
|
486
|
+
license: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
469
487
|
asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
|
|
470
488
|
name: z.ZodString;
|
|
471
489
|
name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -477,11 +495,24 @@ declare const AssetSchema: z.ZodObject<{
|
|
|
477
495
|
unit_cost: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
478
496
|
cost_accounting: z.ZodOptional<z.ZodNullable<z.ZodEnum<["fixed", "variable"]>>>;
|
|
479
497
|
cost_unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
498
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
499
|
+
doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
500
|
+
external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
501
|
+
originality: z.ZodEnum<["original", "derivative", "third-party"]>;
|
|
502
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
503
|
+
}, "strip", z.ZodTypeAny, {
|
|
504
|
+
originality: "original" | "derivative" | "third-party";
|
|
505
|
+
doi_url?: string | null | undefined;
|
|
506
|
+
external_url?: string | null | undefined;
|
|
507
|
+
source?: string | null | undefined;
|
|
508
|
+
}, {
|
|
509
|
+
originality: "original" | "derivative" | "third-party";
|
|
510
|
+
doi_url?: string | null | undefined;
|
|
511
|
+
external_url?: string | null | undefined;
|
|
512
|
+
source?: string | null | undefined;
|
|
513
|
+
}>>>;
|
|
483
514
|
preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>;
|
|
484
|
-
state: z.
|
|
515
|
+
state: z.ZodEnum<["queued", "in-progress", "success", "error"]>;
|
|
485
516
|
created_at: z.ZodString;
|
|
486
517
|
last_updated: z.ZodString;
|
|
487
518
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -494,7 +525,9 @@ declare const AssetSchema: z.ZodObject<{
|
|
|
494
525
|
name: string;
|
|
495
526
|
team_id: string;
|
|
496
527
|
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
528
|
+
license_id: string;
|
|
497
529
|
monetization: "none" | "pay-to-unlock" | "pay-per-use";
|
|
530
|
+
state: "queued" | "in-progress" | "success" | "error";
|
|
498
531
|
user?: {
|
|
499
532
|
id?: string | undefined;
|
|
500
533
|
user_id?: string | undefined;
|
|
@@ -568,20 +601,23 @@ declare const AssetSchema: z.ZodObject<{
|
|
|
568
601
|
} | null | undefined;
|
|
569
602
|
}[] | undefined;
|
|
570
603
|
} | undefined;
|
|
571
|
-
metadata?:
|
|
604
|
+
metadata?: {
|
|
605
|
+
originality: "original" | "derivative" | "third-party";
|
|
606
|
+
doi_url?: string | null | undefined;
|
|
607
|
+
external_url?: string | null | undefined;
|
|
608
|
+
source?: string | null | undefined;
|
|
609
|
+
} | null | undefined;
|
|
572
610
|
description?: string | null | undefined;
|
|
573
611
|
parent_id?: string | null | undefined;
|
|
574
612
|
parent?: Record<string, any> | undefined;
|
|
613
|
+
license?: Record<string, any> | undefined;
|
|
575
614
|
name_url_slug?: string | null | undefined;
|
|
576
615
|
slug?: string | null | undefined;
|
|
577
616
|
price?: number | null | undefined;
|
|
578
617
|
unit_cost?: number | null | undefined;
|
|
579
618
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
580
619
|
cost_unit?: string | null | undefined;
|
|
581
|
-
product_id?: string | null | undefined;
|
|
582
|
-
price_id?: string | null | undefined;
|
|
583
620
|
preview?: Record<string, any>[] | null | undefined;
|
|
584
|
-
state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
|
|
585
621
|
}, {
|
|
586
622
|
id: string;
|
|
587
623
|
user_id: string;
|
|
@@ -592,7 +628,9 @@ declare const AssetSchema: z.ZodObject<{
|
|
|
592
628
|
name: string;
|
|
593
629
|
team_id: string;
|
|
594
630
|
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
631
|
+
license_id: string;
|
|
595
632
|
monetization: "none" | "pay-to-unlock" | "pay-per-use";
|
|
633
|
+
state: "queued" | "in-progress" | "success" | "error";
|
|
596
634
|
user?: {
|
|
597
635
|
id?: string | undefined;
|
|
598
636
|
user_id?: string | undefined;
|
|
@@ -666,20 +704,23 @@ declare const AssetSchema: z.ZodObject<{
|
|
|
666
704
|
} | null | undefined;
|
|
667
705
|
}[] | undefined;
|
|
668
706
|
} | undefined;
|
|
669
|
-
metadata?:
|
|
707
|
+
metadata?: {
|
|
708
|
+
originality: "original" | "derivative" | "third-party";
|
|
709
|
+
doi_url?: string | null | undefined;
|
|
710
|
+
external_url?: string | null | undefined;
|
|
711
|
+
source?: string | null | undefined;
|
|
712
|
+
} | null | undefined;
|
|
670
713
|
description?: string | null | undefined;
|
|
671
714
|
parent_id?: string | null | undefined;
|
|
672
715
|
parent?: Record<string, any> | undefined;
|
|
716
|
+
license?: Record<string, any> | undefined;
|
|
673
717
|
name_url_slug?: string | null | undefined;
|
|
674
718
|
slug?: string | null | undefined;
|
|
675
719
|
price?: number | null | undefined;
|
|
676
720
|
unit_cost?: number | null | undefined;
|
|
677
721
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
678
722
|
cost_unit?: string | null | undefined;
|
|
679
|
-
product_id?: string | null | undefined;
|
|
680
|
-
price_id?: string | null | undefined;
|
|
681
723
|
preview?: Record<string, any>[] | null | undefined;
|
|
682
|
-
state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
|
|
683
724
|
}>;
|
|
684
725
|
declare const CreateAssetSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
685
726
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -1009,6 +1050,8 @@ declare const CreateAssetSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
1009
1050
|
}>>>;
|
|
1010
1051
|
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1011
1052
|
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1053
|
+
license_id: z.ZodOptional<z.ZodString>;
|
|
1054
|
+
license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1012
1055
|
asset_type: z.ZodOptional<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>>;
|
|
1013
1056
|
name: z.ZodOptional<z.ZodString>;
|
|
1014
1057
|
name_url_slug: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -1020,14 +1063,27 @@ declare const CreateAssetSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
1020
1063
|
unit_cost: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
1021
1064
|
cost_accounting: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<["fixed", "variable"]>>>>;
|
|
1022
1065
|
cost_unit: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1066
|
+
metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1067
|
+
doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1068
|
+
external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1069
|
+
originality: z.ZodEnum<["original", "derivative", "third-party"]>;
|
|
1070
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1071
|
+
}, "strip", z.ZodTypeAny, {
|
|
1072
|
+
originality: "original" | "derivative" | "third-party";
|
|
1073
|
+
doi_url?: string | null | undefined;
|
|
1074
|
+
external_url?: string | null | undefined;
|
|
1075
|
+
source?: string | null | undefined;
|
|
1076
|
+
}, {
|
|
1077
|
+
originality: "original" | "derivative" | "third-party";
|
|
1078
|
+
doi_url?: string | null | undefined;
|
|
1079
|
+
external_url?: string | null | undefined;
|
|
1080
|
+
source?: string | null | undefined;
|
|
1081
|
+
}>>>>;
|
|
1026
1082
|
preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>>;
|
|
1027
|
-
state: z.ZodOptional<z.
|
|
1083
|
+
state: z.ZodOptional<z.ZodEnum<["queued", "in-progress", "success", "error"]>>;
|
|
1028
1084
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1029
1085
|
last_updated: z.ZodOptional<z.ZodString>;
|
|
1030
|
-
}, "user" | "organization" | "team" | "user_id" | "slug">, {
|
|
1086
|
+
}, "user" | "organization" | "team" | "user_id" | "license" | "slug">, {
|
|
1031
1087
|
id: z.ZodDefault<z.ZodString>;
|
|
1032
1088
|
team_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1033
1089
|
org_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
@@ -1047,25 +1103,34 @@ declare const CreateAssetSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
1047
1103
|
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
1048
1104
|
state: "queued" | "in-progress" | "success" | "error";
|
|
1049
1105
|
asset_type?: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
|
|
1050
|
-
metadata?:
|
|
1106
|
+
metadata?: {
|
|
1107
|
+
originality: "original" | "derivative" | "third-party";
|
|
1108
|
+
doi_url?: string | null | undefined;
|
|
1109
|
+
external_url?: string | null | undefined;
|
|
1110
|
+
source?: string | null | undefined;
|
|
1111
|
+
} | null | undefined;
|
|
1051
1112
|
description?: string | null | undefined;
|
|
1052
1113
|
parent_id?: string | null | undefined;
|
|
1053
1114
|
parent?: Record<string, any> | undefined;
|
|
1115
|
+
license_id?: string | undefined;
|
|
1054
1116
|
name_url_slug?: string | null | undefined;
|
|
1055
1117
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
1056
1118
|
price?: number | null | undefined;
|
|
1057
1119
|
unit_cost?: number | null | undefined;
|
|
1058
1120
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
1059
1121
|
cost_unit?: string | null | undefined;
|
|
1060
|
-
product_id?: string | null | undefined;
|
|
1061
|
-
price_id?: string | null | undefined;
|
|
1062
1122
|
preview?: Record<string, any>[] | null | undefined;
|
|
1063
1123
|
}, {
|
|
1064
1124
|
name: string;
|
|
1065
1125
|
id?: string | undefined;
|
|
1066
1126
|
org_id?: string | null | undefined;
|
|
1067
1127
|
asset_type?: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
|
|
1068
|
-
metadata?:
|
|
1128
|
+
metadata?: {
|
|
1129
|
+
originality: "original" | "derivative" | "third-party";
|
|
1130
|
+
doi_url?: string | null | undefined;
|
|
1131
|
+
external_url?: string | null | undefined;
|
|
1132
|
+
source?: string | null | undefined;
|
|
1133
|
+
} | null | undefined;
|
|
1069
1134
|
created_at?: string | undefined;
|
|
1070
1135
|
last_updated?: string | undefined;
|
|
1071
1136
|
team_id?: string | null | undefined;
|
|
@@ -1073,14 +1138,13 @@ declare const CreateAssetSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
1073
1138
|
description?: string | null | undefined;
|
|
1074
1139
|
parent_id?: string | null | undefined;
|
|
1075
1140
|
parent?: Record<string, any> | undefined;
|
|
1141
|
+
license_id?: string | undefined;
|
|
1076
1142
|
name_url_slug?: string | null | undefined;
|
|
1077
1143
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
1078
1144
|
price?: number | null | undefined;
|
|
1079
1145
|
unit_cost?: number | null | undefined;
|
|
1080
1146
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
1081
1147
|
cost_unit?: string | null | undefined;
|
|
1082
|
-
product_id?: string | null | undefined;
|
|
1083
|
-
price_id?: string | null | undefined;
|
|
1084
1148
|
preview?: Record<string, any>[] | null | undefined;
|
|
1085
1149
|
state?: "queued" | "in-progress" | "success" | "error" | undefined;
|
|
1086
1150
|
}>;
|
|
@@ -1412,6 +1476,8 @@ declare const UpdateAssetSchema: z.ZodObject<Omit<{
|
|
|
1412
1476
|
}>>>;
|
|
1413
1477
|
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1414
1478
|
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1479
|
+
license_id: z.ZodOptional<z.ZodString>;
|
|
1480
|
+
license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1415
1481
|
asset_type: z.ZodOptional<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>>;
|
|
1416
1482
|
name: z.ZodOptional<z.ZodString>;
|
|
1417
1483
|
name_url_slug: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -1423,17 +1489,35 @@ declare const UpdateAssetSchema: z.ZodObject<Omit<{
|
|
|
1423
1489
|
unit_cost: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
1424
1490
|
cost_accounting: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<["fixed", "variable"]>>>>;
|
|
1425
1491
|
cost_unit: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1492
|
+
metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1493
|
+
doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1494
|
+
external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1495
|
+
originality: z.ZodEnum<["original", "derivative", "third-party"]>;
|
|
1496
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1497
|
+
}, "strip", z.ZodTypeAny, {
|
|
1498
|
+
originality: "original" | "derivative" | "third-party";
|
|
1499
|
+
doi_url?: string | null | undefined;
|
|
1500
|
+
external_url?: string | null | undefined;
|
|
1501
|
+
source?: string | null | undefined;
|
|
1502
|
+
}, {
|
|
1503
|
+
originality: "original" | "derivative" | "third-party";
|
|
1504
|
+
doi_url?: string | null | undefined;
|
|
1505
|
+
external_url?: string | null | undefined;
|
|
1506
|
+
source?: string | null | undefined;
|
|
1507
|
+
}>>>>;
|
|
1429
1508
|
preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>>;
|
|
1430
|
-
state: z.ZodOptional<z.
|
|
1509
|
+
state: z.ZodOptional<z.ZodEnum<["queued", "in-progress", "success", "error"]>>;
|
|
1431
1510
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1432
1511
|
last_updated: z.ZodOptional<z.ZodString>;
|
|
1433
1512
|
}, "user" | "organization" | "team" | "id" | "user_id" | "created_at" | "slug">, "strip", z.ZodTypeAny, {
|
|
1434
1513
|
org_id?: string | undefined;
|
|
1435
1514
|
asset_type?: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
|
|
1436
|
-
metadata?:
|
|
1515
|
+
metadata?: {
|
|
1516
|
+
originality: "original" | "derivative" | "third-party";
|
|
1517
|
+
doi_url?: string | null | undefined;
|
|
1518
|
+
external_url?: string | null | undefined;
|
|
1519
|
+
source?: string | null | undefined;
|
|
1520
|
+
} | null | undefined;
|
|
1437
1521
|
last_updated?: string | undefined;
|
|
1438
1522
|
name?: string | undefined;
|
|
1439
1523
|
team_id?: string | undefined;
|
|
@@ -1441,20 +1525,25 @@ declare const UpdateAssetSchema: z.ZodObject<Omit<{
|
|
|
1441
1525
|
description?: string | null | undefined;
|
|
1442
1526
|
parent_id?: string | null | undefined;
|
|
1443
1527
|
parent?: Record<string, any> | undefined;
|
|
1528
|
+
license_id?: string | undefined;
|
|
1529
|
+
license?: Record<string, any> | undefined;
|
|
1444
1530
|
name_url_slug?: string | null | undefined;
|
|
1445
1531
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
1446
1532
|
price?: number | null | undefined;
|
|
1447
1533
|
unit_cost?: number | null | undefined;
|
|
1448
1534
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
1449
1535
|
cost_unit?: string | null | undefined;
|
|
1450
|
-
product_id?: string | null | undefined;
|
|
1451
|
-
price_id?: string | null | undefined;
|
|
1452
1536
|
preview?: Record<string, any>[] | null | undefined;
|
|
1453
|
-
state?: "queued" | "in-progress" | "success" | "error" |
|
|
1537
|
+
state?: "queued" | "in-progress" | "success" | "error" | undefined;
|
|
1454
1538
|
}, {
|
|
1455
1539
|
org_id?: string | undefined;
|
|
1456
1540
|
asset_type?: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
|
|
1457
|
-
metadata?:
|
|
1541
|
+
metadata?: {
|
|
1542
|
+
originality: "original" | "derivative" | "third-party";
|
|
1543
|
+
doi_url?: string | null | undefined;
|
|
1544
|
+
external_url?: string | null | undefined;
|
|
1545
|
+
source?: string | null | undefined;
|
|
1546
|
+
} | null | undefined;
|
|
1458
1547
|
last_updated?: string | undefined;
|
|
1459
1548
|
name?: string | undefined;
|
|
1460
1549
|
team_id?: string | undefined;
|
|
@@ -1462,18 +1551,19 @@ declare const UpdateAssetSchema: z.ZodObject<Omit<{
|
|
|
1462
1551
|
description?: string | null | undefined;
|
|
1463
1552
|
parent_id?: string | null | undefined;
|
|
1464
1553
|
parent?: Record<string, any> | undefined;
|
|
1554
|
+
license_id?: string | undefined;
|
|
1555
|
+
license?: Record<string, any> | undefined;
|
|
1465
1556
|
name_url_slug?: string | null | undefined;
|
|
1466
1557
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
1467
1558
|
price?: number | null | undefined;
|
|
1468
1559
|
unit_cost?: number | null | undefined;
|
|
1469
1560
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
1470
1561
|
cost_unit?: string | null | undefined;
|
|
1471
|
-
product_id?: string | null | undefined;
|
|
1472
|
-
price_id?: string | null | undefined;
|
|
1473
1562
|
preview?: Record<string, any>[] | null | undefined;
|
|
1474
|
-
state?: "queued" | "in-progress" | "success" | "error" |
|
|
1563
|
+
state?: "queued" | "in-progress" | "success" | "error" | undefined;
|
|
1475
1564
|
}>;
|
|
1476
1565
|
|
|
1566
|
+
type AssetMetadata = z.infer<typeof AssetMetadataSchema>;
|
|
1477
1567
|
type Asset = z.infer<typeof AssetSchema>;
|
|
1478
1568
|
type CreateAsset = z.infer<typeof CreateAssetSchema>;
|
|
1479
1569
|
type UpdateAsset = z.infer<typeof UpdateAssetSchema>;
|
|
@@ -3467,6 +3557,8 @@ declare const FileSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3467
3557
|
}>>;
|
|
3468
3558
|
parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3469
3559
|
parent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3560
|
+
license_id: z.ZodString;
|
|
3561
|
+
license: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3470
3562
|
asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
|
|
3471
3563
|
name: z.ZodString;
|
|
3472
3564
|
name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3478,16 +3570,29 @@ declare const FileSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3478
3570
|
unit_cost: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3479
3571
|
cost_accounting: z.ZodOptional<z.ZodNullable<z.ZodEnum<["fixed", "variable"]>>>;
|
|
3480
3572
|
cost_unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3481
|
-
|
|
3482
|
-
|
|
3483
|
-
|
|
3573
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3574
|
+
doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3575
|
+
external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3576
|
+
originality: z.ZodEnum<["original", "derivative", "third-party"]>;
|
|
3577
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3578
|
+
}, "strip", z.ZodTypeAny, {
|
|
3579
|
+
originality: "original" | "derivative" | "third-party";
|
|
3580
|
+
doi_url?: string | null | undefined;
|
|
3581
|
+
external_url?: string | null | undefined;
|
|
3582
|
+
source?: string | null | undefined;
|
|
3583
|
+
}, {
|
|
3584
|
+
originality: "original" | "derivative" | "third-party";
|
|
3585
|
+
doi_url?: string | null | undefined;
|
|
3586
|
+
external_url?: string | null | undefined;
|
|
3587
|
+
source?: string | null | undefined;
|
|
3588
|
+
}>>>;
|
|
3484
3589
|
preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>;
|
|
3485
|
-
state: z.
|
|
3590
|
+
state: z.ZodEnum<["queued", "in-progress", "success", "error"]>;
|
|
3486
3591
|
created_at: z.ZodString;
|
|
3487
3592
|
last_updated: z.ZodString;
|
|
3488
3593
|
}, {
|
|
3489
3594
|
asset_type: z.ZodDefault<z.ZodLiteral<"file">>;
|
|
3490
|
-
metadata: z.ZodObject<{
|
|
3595
|
+
metadata: z.ZodObject<z.objectUtil.extendShape<{
|
|
3491
3596
|
id: z.ZodString;
|
|
3492
3597
|
path: z.ZodString;
|
|
3493
3598
|
bucket: z.ZodEnum<["public-files", "files"]>;
|
|
@@ -3497,7 +3602,12 @@ declare const FileSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3497
3602
|
size: z.ZodNumber;
|
|
3498
3603
|
width: z.ZodOptional<z.ZodNumber>;
|
|
3499
3604
|
height: z.ZodOptional<z.ZodNumber>;
|
|
3500
|
-
},
|
|
3605
|
+
}, {
|
|
3606
|
+
doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
3607
|
+
external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
3608
|
+
originality: z.ZodOptional<z.ZodEnum<["original", "derivative", "third-party"]>>;
|
|
3609
|
+
source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
3610
|
+
}>, "strip", z.ZodTypeAny, {
|
|
3501
3611
|
id: string;
|
|
3502
3612
|
path: string;
|
|
3503
3613
|
type: string;
|
|
@@ -3505,6 +3615,10 @@ declare const FileSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3505
3615
|
size: number;
|
|
3506
3616
|
bucket: "public-files" | "files";
|
|
3507
3617
|
extension: string;
|
|
3618
|
+
doi_url?: string | null | undefined;
|
|
3619
|
+
external_url?: string | null | undefined;
|
|
3620
|
+
originality?: "original" | "derivative" | "third-party" | undefined;
|
|
3621
|
+
source?: string | null | undefined;
|
|
3508
3622
|
width?: number | undefined;
|
|
3509
3623
|
height?: number | undefined;
|
|
3510
3624
|
}, {
|
|
@@ -3515,6 +3629,10 @@ declare const FileSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3515
3629
|
size: number;
|
|
3516
3630
|
bucket: "public-files" | "files";
|
|
3517
3631
|
extension: string;
|
|
3632
|
+
doi_url?: string | null | undefined;
|
|
3633
|
+
external_url?: string | null | undefined;
|
|
3634
|
+
originality?: "original" | "derivative" | "third-party" | undefined;
|
|
3635
|
+
source?: string | null | undefined;
|
|
3518
3636
|
width?: number | undefined;
|
|
3519
3637
|
height?: number | undefined;
|
|
3520
3638
|
}>;
|
|
@@ -3531,6 +3649,10 @@ declare const FileSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3531
3649
|
size: number;
|
|
3532
3650
|
bucket: "public-files" | "files";
|
|
3533
3651
|
extension: string;
|
|
3652
|
+
doi_url?: string | null | undefined;
|
|
3653
|
+
external_url?: string | null | undefined;
|
|
3654
|
+
originality?: "original" | "derivative" | "third-party" | undefined;
|
|
3655
|
+
source?: string | null | undefined;
|
|
3534
3656
|
width?: number | undefined;
|
|
3535
3657
|
height?: number | undefined;
|
|
3536
3658
|
};
|
|
@@ -3539,7 +3661,9 @@ declare const FileSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3539
3661
|
name: string;
|
|
3540
3662
|
team_id: string;
|
|
3541
3663
|
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
3664
|
+
license_id: string;
|
|
3542
3665
|
monetization: "none" | "pay-to-unlock" | "pay-per-use";
|
|
3666
|
+
state: "queued" | "in-progress" | "success" | "error";
|
|
3543
3667
|
user?: {
|
|
3544
3668
|
id?: string | undefined;
|
|
3545
3669
|
user_id?: string | undefined;
|
|
@@ -3616,16 +3740,14 @@ declare const FileSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3616
3740
|
description?: string | null | undefined;
|
|
3617
3741
|
parent_id?: string | null | undefined;
|
|
3618
3742
|
parent?: Record<string, any> | undefined;
|
|
3743
|
+
license?: Record<string, any> | undefined;
|
|
3619
3744
|
name_url_slug?: string | null | undefined;
|
|
3620
3745
|
slug?: string | null | undefined;
|
|
3621
3746
|
price?: number | null | undefined;
|
|
3622
3747
|
unit_cost?: number | null | undefined;
|
|
3623
3748
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
3624
3749
|
cost_unit?: string | null | undefined;
|
|
3625
|
-
product_id?: string | null | undefined;
|
|
3626
|
-
price_id?: string | null | undefined;
|
|
3627
3750
|
preview?: Record<string, any>[] | null | undefined;
|
|
3628
|
-
state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
|
|
3629
3751
|
}, {
|
|
3630
3752
|
id: string;
|
|
3631
3753
|
user_id: string;
|
|
@@ -3638,6 +3760,10 @@ declare const FileSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3638
3760
|
size: number;
|
|
3639
3761
|
bucket: "public-files" | "files";
|
|
3640
3762
|
extension: string;
|
|
3763
|
+
doi_url?: string | null | undefined;
|
|
3764
|
+
external_url?: string | null | undefined;
|
|
3765
|
+
originality?: "original" | "derivative" | "third-party" | undefined;
|
|
3766
|
+
source?: string | null | undefined;
|
|
3641
3767
|
width?: number | undefined;
|
|
3642
3768
|
height?: number | undefined;
|
|
3643
3769
|
};
|
|
@@ -3646,7 +3772,9 @@ declare const FileSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3646
3772
|
name: string;
|
|
3647
3773
|
team_id: string;
|
|
3648
3774
|
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
3775
|
+
license_id: string;
|
|
3649
3776
|
monetization: "none" | "pay-to-unlock" | "pay-per-use";
|
|
3777
|
+
state: "queued" | "in-progress" | "success" | "error";
|
|
3650
3778
|
user?: {
|
|
3651
3779
|
id?: string | undefined;
|
|
3652
3780
|
user_id?: string | undefined;
|
|
@@ -3724,16 +3852,14 @@ declare const FileSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3724
3852
|
description?: string | null | undefined;
|
|
3725
3853
|
parent_id?: string | null | undefined;
|
|
3726
3854
|
parent?: Record<string, any> | undefined;
|
|
3855
|
+
license?: Record<string, any> | undefined;
|
|
3727
3856
|
name_url_slug?: string | null | undefined;
|
|
3728
3857
|
slug?: string | null | undefined;
|
|
3729
3858
|
price?: number | null | undefined;
|
|
3730
3859
|
unit_cost?: number | null | undefined;
|
|
3731
3860
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
3732
3861
|
cost_unit?: string | null | undefined;
|
|
3733
|
-
product_id?: string | null | undefined;
|
|
3734
|
-
price_id?: string | null | undefined;
|
|
3735
3862
|
preview?: Record<string, any>[] | null | undefined;
|
|
3736
|
-
state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
|
|
3737
3863
|
}>;
|
|
3738
3864
|
declare const CreateFileSchema: z.ZodDiscriminatedUnion<"state", [z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<Omit<{
|
|
3739
3865
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -4063,6 +4189,8 @@ declare const CreateFileSchema: z.ZodDiscriminatedUnion<"state", [z.ZodObject<z.
|
|
|
4063
4189
|
}>>>;
|
|
4064
4190
|
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
4065
4191
|
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
4192
|
+
license_id: z.ZodOptional<z.ZodString>;
|
|
4193
|
+
license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
4066
4194
|
asset_type: z.ZodOptional<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>>;
|
|
4067
4195
|
name: z.ZodOptional<z.ZodString>;
|
|
4068
4196
|
name_url_slug: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -4074,14 +4202,27 @@ declare const CreateFileSchema: z.ZodDiscriminatedUnion<"state", [z.ZodObject<z.
|
|
|
4074
4202
|
unit_cost: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
4075
4203
|
cost_accounting: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<["fixed", "variable"]>>>>;
|
|
4076
4204
|
cost_unit: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
4077
|
-
|
|
4078
|
-
|
|
4079
|
-
|
|
4205
|
+
metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4206
|
+
doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4207
|
+
external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4208
|
+
originality: z.ZodEnum<["original", "derivative", "third-party"]>;
|
|
4209
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4210
|
+
}, "strip", z.ZodTypeAny, {
|
|
4211
|
+
originality: "original" | "derivative" | "third-party";
|
|
4212
|
+
doi_url?: string | null | undefined;
|
|
4213
|
+
external_url?: string | null | undefined;
|
|
4214
|
+
source?: string | null | undefined;
|
|
4215
|
+
}, {
|
|
4216
|
+
originality: "original" | "derivative" | "third-party";
|
|
4217
|
+
doi_url?: string | null | undefined;
|
|
4218
|
+
external_url?: string | null | undefined;
|
|
4219
|
+
source?: string | null | undefined;
|
|
4220
|
+
}>>>>;
|
|
4080
4221
|
preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>>;
|
|
4081
|
-
state: z.ZodOptional<z.
|
|
4222
|
+
state: z.ZodOptional<z.ZodEnum<["queued", "in-progress", "success", "error"]>>;
|
|
4082
4223
|
created_at: z.ZodOptional<z.ZodString>;
|
|
4083
4224
|
last_updated: z.ZodOptional<z.ZodString>;
|
|
4084
|
-
}, "user" | "organization" | "team" | "user_id" | "slug">, {
|
|
4225
|
+
}, "user" | "organization" | "team" | "user_id" | "license" | "slug">, {
|
|
4085
4226
|
id: z.ZodDefault<z.ZodString>;
|
|
4086
4227
|
team_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
4087
4228
|
org_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
@@ -4094,7 +4235,7 @@ declare const CreateFileSchema: z.ZodDiscriminatedUnion<"state", [z.ZodObject<z.
|
|
|
4094
4235
|
}>, {
|
|
4095
4236
|
asset_type: z.ZodDefault<z.ZodLiteral<"file">>;
|
|
4096
4237
|
state: z.ZodDefault<z.ZodLiteral<"success">>;
|
|
4097
|
-
metadata: z.ZodObject<{
|
|
4238
|
+
metadata: z.ZodObject<z.objectUtil.extendShape<{
|
|
4098
4239
|
id: z.ZodString;
|
|
4099
4240
|
path: z.ZodString;
|
|
4100
4241
|
bucket: z.ZodEnum<["public-files", "files"]>;
|
|
@@ -4104,7 +4245,12 @@ declare const CreateFileSchema: z.ZodDiscriminatedUnion<"state", [z.ZodObject<z.
|
|
|
4104
4245
|
size: z.ZodNumber;
|
|
4105
4246
|
width: z.ZodOptional<z.ZodNumber>;
|
|
4106
4247
|
height: z.ZodOptional<z.ZodNumber>;
|
|
4107
|
-
},
|
|
4248
|
+
}, {
|
|
4249
|
+
doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
4250
|
+
external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
4251
|
+
originality: z.ZodOptional<z.ZodEnum<["original", "derivative", "third-party"]>>;
|
|
4252
|
+
source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
4253
|
+
}>, "strip", z.ZodTypeAny, {
|
|
4108
4254
|
id: string;
|
|
4109
4255
|
path: string;
|
|
4110
4256
|
type: string;
|
|
@@ -4112,6 +4258,10 @@ declare const CreateFileSchema: z.ZodDiscriminatedUnion<"state", [z.ZodObject<z.
|
|
|
4112
4258
|
size: number;
|
|
4113
4259
|
bucket: "public-files" | "files";
|
|
4114
4260
|
extension: string;
|
|
4261
|
+
doi_url?: string | null | undefined;
|
|
4262
|
+
external_url?: string | null | undefined;
|
|
4263
|
+
originality?: "original" | "derivative" | "third-party" | undefined;
|
|
4264
|
+
source?: string | null | undefined;
|
|
4115
4265
|
width?: number | undefined;
|
|
4116
4266
|
height?: number | undefined;
|
|
4117
4267
|
}, {
|
|
@@ -4122,6 +4272,10 @@ declare const CreateFileSchema: z.ZodDiscriminatedUnion<"state", [z.ZodObject<z.
|
|
|
4122
4272
|
size: number;
|
|
4123
4273
|
bucket: "public-files" | "files";
|
|
4124
4274
|
extension: string;
|
|
4275
|
+
doi_url?: string | null | undefined;
|
|
4276
|
+
external_url?: string | null | undefined;
|
|
4277
|
+
originality?: "original" | "derivative" | "third-party" | undefined;
|
|
4278
|
+
source?: string | null | undefined;
|
|
4125
4279
|
width?: number | undefined;
|
|
4126
4280
|
height?: number | undefined;
|
|
4127
4281
|
}>;
|
|
@@ -4137,6 +4291,10 @@ declare const CreateFileSchema: z.ZodDiscriminatedUnion<"state", [z.ZodObject<z.
|
|
|
4137
4291
|
size: number;
|
|
4138
4292
|
bucket: "public-files" | "files";
|
|
4139
4293
|
extension: string;
|
|
4294
|
+
doi_url?: string | null | undefined;
|
|
4295
|
+
external_url?: string | null | undefined;
|
|
4296
|
+
originality?: "original" | "derivative" | "third-party" | undefined;
|
|
4297
|
+
source?: string | null | undefined;
|
|
4140
4298
|
width?: number | undefined;
|
|
4141
4299
|
height?: number | undefined;
|
|
4142
4300
|
};
|
|
@@ -4149,14 +4307,13 @@ declare const CreateFileSchema: z.ZodDiscriminatedUnion<"state", [z.ZodObject<z.
|
|
|
4149
4307
|
description?: string | null | undefined;
|
|
4150
4308
|
parent_id?: string | null | undefined;
|
|
4151
4309
|
parent?: Record<string, any> | undefined;
|
|
4310
|
+
license_id?: string | undefined;
|
|
4152
4311
|
name_url_slug?: string | null | undefined;
|
|
4153
4312
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
4154
4313
|
price?: number | null | undefined;
|
|
4155
4314
|
unit_cost?: number | null | undefined;
|
|
4156
4315
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
4157
4316
|
cost_unit?: string | null | undefined;
|
|
4158
|
-
product_id?: string | null | undefined;
|
|
4159
|
-
price_id?: string | null | undefined;
|
|
4160
4317
|
preview?: Record<string, any>[] | null | undefined;
|
|
4161
4318
|
}, {
|
|
4162
4319
|
metadata: {
|
|
@@ -4167,6 +4324,10 @@ declare const CreateFileSchema: z.ZodDiscriminatedUnion<"state", [z.ZodObject<z.
|
|
|
4167
4324
|
size: number;
|
|
4168
4325
|
bucket: "public-files" | "files";
|
|
4169
4326
|
extension: string;
|
|
4327
|
+
doi_url?: string | null | undefined;
|
|
4328
|
+
external_url?: string | null | undefined;
|
|
4329
|
+
originality?: "original" | "derivative" | "third-party" | undefined;
|
|
4330
|
+
source?: string | null | undefined;
|
|
4170
4331
|
width?: number | undefined;
|
|
4171
4332
|
height?: number | undefined;
|
|
4172
4333
|
};
|
|
@@ -4181,14 +4342,13 @@ declare const CreateFileSchema: z.ZodDiscriminatedUnion<"state", [z.ZodObject<z.
|
|
|
4181
4342
|
description?: string | null | undefined;
|
|
4182
4343
|
parent_id?: string | null | undefined;
|
|
4183
4344
|
parent?: Record<string, any> | undefined;
|
|
4345
|
+
license_id?: string | undefined;
|
|
4184
4346
|
name_url_slug?: string | null | undefined;
|
|
4185
4347
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
4186
4348
|
price?: number | null | undefined;
|
|
4187
4349
|
unit_cost?: number | null | undefined;
|
|
4188
4350
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
4189
4351
|
cost_unit?: string | null | undefined;
|
|
4190
|
-
product_id?: string | null | undefined;
|
|
4191
|
-
price_id?: string | null | undefined;
|
|
4192
4352
|
preview?: Record<string, any>[] | null | undefined;
|
|
4193
4353
|
state?: "success" | undefined;
|
|
4194
4354
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<Omit<{
|
|
@@ -4519,6 +4679,8 @@ declare const CreateFileSchema: z.ZodDiscriminatedUnion<"state", [z.ZodObject<z.
|
|
|
4519
4679
|
}>>>;
|
|
4520
4680
|
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
4521
4681
|
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
4682
|
+
license_id: z.ZodOptional<z.ZodString>;
|
|
4683
|
+
license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
4522
4684
|
asset_type: z.ZodOptional<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>>;
|
|
4523
4685
|
name: z.ZodOptional<z.ZodString>;
|
|
4524
4686
|
name_url_slug: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -4530,14 +4692,27 @@ declare const CreateFileSchema: z.ZodDiscriminatedUnion<"state", [z.ZodObject<z.
|
|
|
4530
4692
|
unit_cost: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
4531
4693
|
cost_accounting: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<["fixed", "variable"]>>>>;
|
|
4532
4694
|
cost_unit: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
4533
|
-
|
|
4534
|
-
|
|
4535
|
-
|
|
4695
|
+
metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4696
|
+
doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4697
|
+
external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4698
|
+
originality: z.ZodEnum<["original", "derivative", "third-party"]>;
|
|
4699
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4700
|
+
}, "strip", z.ZodTypeAny, {
|
|
4701
|
+
originality: "original" | "derivative" | "third-party";
|
|
4702
|
+
doi_url?: string | null | undefined;
|
|
4703
|
+
external_url?: string | null | undefined;
|
|
4704
|
+
source?: string | null | undefined;
|
|
4705
|
+
}, {
|
|
4706
|
+
originality: "original" | "derivative" | "third-party";
|
|
4707
|
+
doi_url?: string | null | undefined;
|
|
4708
|
+
external_url?: string | null | undefined;
|
|
4709
|
+
source?: string | null | undefined;
|
|
4710
|
+
}>>>>;
|
|
4536
4711
|
preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>>;
|
|
4537
|
-
state: z.ZodOptional<z.
|
|
4712
|
+
state: z.ZodOptional<z.ZodEnum<["queued", "in-progress", "success", "error"]>>;
|
|
4538
4713
|
created_at: z.ZodOptional<z.ZodString>;
|
|
4539
4714
|
last_updated: z.ZodOptional<z.ZodString>;
|
|
4540
|
-
}, "user" | "organization" | "team" | "user_id" | "slug">, {
|
|
4715
|
+
}, "user" | "organization" | "team" | "user_id" | "license" | "slug">, {
|
|
4541
4716
|
id: z.ZodDefault<z.ZodString>;
|
|
4542
4717
|
team_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
4543
4718
|
org_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
@@ -4573,14 +4748,13 @@ declare const CreateFileSchema: z.ZodDiscriminatedUnion<"state", [z.ZodObject<z.
|
|
|
4573
4748
|
description?: string | null | undefined;
|
|
4574
4749
|
parent_id?: string | null | undefined;
|
|
4575
4750
|
parent?: Record<string, any> | undefined;
|
|
4751
|
+
license_id?: string | undefined;
|
|
4576
4752
|
name_url_slug?: string | null | undefined;
|
|
4577
4753
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
4578
4754
|
price?: number | null | undefined;
|
|
4579
4755
|
unit_cost?: number | null | undefined;
|
|
4580
4756
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
4581
4757
|
cost_unit?: string | null | undefined;
|
|
4582
|
-
product_id?: string | null | undefined;
|
|
4583
|
-
price_id?: string | null | undefined;
|
|
4584
4758
|
preview?: Record<string, any>[] | null | undefined;
|
|
4585
4759
|
}, {
|
|
4586
4760
|
metadata: {
|
|
@@ -4597,14 +4771,13 @@ declare const CreateFileSchema: z.ZodDiscriminatedUnion<"state", [z.ZodObject<z.
|
|
|
4597
4771
|
description?: string | null | undefined;
|
|
4598
4772
|
parent_id?: string | null | undefined;
|
|
4599
4773
|
parent?: Record<string, any> | undefined;
|
|
4774
|
+
license_id?: string | undefined;
|
|
4600
4775
|
name_url_slug?: string | null | undefined;
|
|
4601
4776
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
4602
4777
|
price?: number | null | undefined;
|
|
4603
4778
|
unit_cost?: number | null | undefined;
|
|
4604
4779
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
4605
4780
|
cost_unit?: string | null | undefined;
|
|
4606
|
-
product_id?: string | null | undefined;
|
|
4607
|
-
price_id?: string | null | undefined;
|
|
4608
4781
|
preview?: Record<string, any>[] | null | undefined;
|
|
4609
4782
|
state?: "in-progress" | undefined;
|
|
4610
4783
|
}>]>;
|
|
@@ -4936,6 +5109,8 @@ declare const updateFileSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
4936
5109
|
}>>>;
|
|
4937
5110
|
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
4938
5111
|
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
5112
|
+
license_id: z.ZodOptional<z.ZodString>;
|
|
5113
|
+
license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
4939
5114
|
name: z.ZodOptional<z.ZodString>;
|
|
4940
5115
|
name_url_slug: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
4941
5116
|
slug: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -4946,14 +5121,12 @@ declare const updateFileSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
4946
5121
|
unit_cost: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
4947
5122
|
cost_accounting: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<["fixed", "variable"]>>>>;
|
|
4948
5123
|
cost_unit: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
4949
|
-
product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
4950
|
-
price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
4951
5124
|
preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>>;
|
|
4952
|
-
state: z.ZodOptional<z.
|
|
5125
|
+
state: z.ZodOptional<z.ZodEnum<["queued", "in-progress", "success", "error"]>>;
|
|
4953
5126
|
created_at: z.ZodOptional<z.ZodString>;
|
|
4954
5127
|
last_updated: z.ZodOptional<z.ZodString>;
|
|
4955
5128
|
asset_type: z.ZodOptional<z.ZodDefault<z.ZodLiteral<"file">>>;
|
|
4956
|
-
metadata: z.ZodOptional<z.ZodObject<{
|
|
5129
|
+
metadata: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
4957
5130
|
id: z.ZodString;
|
|
4958
5131
|
path: z.ZodString;
|
|
4959
5132
|
bucket: z.ZodEnum<["public-files", "files"]>;
|
|
@@ -4963,7 +5136,12 @@ declare const updateFileSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
4963
5136
|
size: z.ZodNumber;
|
|
4964
5137
|
width: z.ZodOptional<z.ZodNumber>;
|
|
4965
5138
|
height: z.ZodOptional<z.ZodNumber>;
|
|
4966
|
-
},
|
|
5139
|
+
}, {
|
|
5140
|
+
doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
5141
|
+
external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
5142
|
+
originality: z.ZodOptional<z.ZodEnum<["original", "derivative", "third-party"]>>;
|
|
5143
|
+
source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
5144
|
+
}>, "strip", z.ZodTypeAny, {
|
|
4967
5145
|
id: string;
|
|
4968
5146
|
path: string;
|
|
4969
5147
|
type: string;
|
|
@@ -4971,6 +5149,10 @@ declare const updateFileSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
4971
5149
|
size: number;
|
|
4972
5150
|
bucket: "public-files" | "files";
|
|
4973
5151
|
extension: string;
|
|
5152
|
+
doi_url?: string | null | undefined;
|
|
5153
|
+
external_url?: string | null | undefined;
|
|
5154
|
+
originality?: "original" | "derivative" | "third-party" | undefined;
|
|
5155
|
+
source?: string | null | undefined;
|
|
4974
5156
|
width?: number | undefined;
|
|
4975
5157
|
height?: number | undefined;
|
|
4976
5158
|
}, {
|
|
@@ -4981,6 +5163,10 @@ declare const updateFileSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
4981
5163
|
size: number;
|
|
4982
5164
|
bucket: "public-files" | "files";
|
|
4983
5165
|
extension: string;
|
|
5166
|
+
doi_url?: string | null | undefined;
|
|
5167
|
+
external_url?: string | null | undefined;
|
|
5168
|
+
originality?: "original" | "derivative" | "third-party" | undefined;
|
|
5169
|
+
source?: string | null | undefined;
|
|
4984
5170
|
width?: number | undefined;
|
|
4985
5171
|
height?: number | undefined;
|
|
4986
5172
|
}>>;
|
|
@@ -4998,6 +5184,10 @@ declare const updateFileSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
4998
5184
|
size: number;
|
|
4999
5185
|
bucket: "public-files" | "files";
|
|
5000
5186
|
extension: string;
|
|
5187
|
+
doi_url?: string | null | undefined;
|
|
5188
|
+
external_url?: string | null | undefined;
|
|
5189
|
+
originality?: "original" | "derivative" | "third-party" | undefined;
|
|
5190
|
+
source?: string | null | undefined;
|
|
5001
5191
|
width?: number | undefined;
|
|
5002
5192
|
height?: number | undefined;
|
|
5003
5193
|
} | undefined;
|
|
@@ -5007,16 +5197,16 @@ declare const updateFileSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
5007
5197
|
description?: string | null | undefined;
|
|
5008
5198
|
parent_id?: string | null | undefined;
|
|
5009
5199
|
parent?: Record<string, any> | undefined;
|
|
5200
|
+
license_id?: string | undefined;
|
|
5201
|
+
license?: Record<string, any> | undefined;
|
|
5010
5202
|
name_url_slug?: string | null | undefined;
|
|
5011
5203
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
5012
5204
|
price?: number | null | undefined;
|
|
5013
5205
|
unit_cost?: number | null | undefined;
|
|
5014
5206
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
5015
5207
|
cost_unit?: string | null | undefined;
|
|
5016
|
-
product_id?: string | null | undefined;
|
|
5017
|
-
price_id?: string | null | undefined;
|
|
5018
5208
|
preview?: Record<string, any>[] | null | undefined;
|
|
5019
|
-
state?: "queued" | "in-progress" | "success" | "error" |
|
|
5209
|
+
state?: "queued" | "in-progress" | "success" | "error" | undefined;
|
|
5020
5210
|
}, {
|
|
5021
5211
|
org_id?: string | undefined;
|
|
5022
5212
|
asset_type?: "file" | undefined;
|
|
@@ -5028,6 +5218,10 @@ declare const updateFileSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
5028
5218
|
size: number;
|
|
5029
5219
|
bucket: "public-files" | "files";
|
|
5030
5220
|
extension: string;
|
|
5221
|
+
doi_url?: string | null | undefined;
|
|
5222
|
+
external_url?: string | null | undefined;
|
|
5223
|
+
originality?: "original" | "derivative" | "third-party" | undefined;
|
|
5224
|
+
source?: string | null | undefined;
|
|
5031
5225
|
width?: number | undefined;
|
|
5032
5226
|
height?: number | undefined;
|
|
5033
5227
|
} | undefined;
|
|
@@ -5038,16 +5232,16 @@ declare const updateFileSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
5038
5232
|
description?: string | null | undefined;
|
|
5039
5233
|
parent_id?: string | null | undefined;
|
|
5040
5234
|
parent?: Record<string, any> | undefined;
|
|
5235
|
+
license_id?: string | undefined;
|
|
5236
|
+
license?: Record<string, any> | undefined;
|
|
5041
5237
|
name_url_slug?: string | null | undefined;
|
|
5042
5238
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
5043
5239
|
price?: number | null | undefined;
|
|
5044
5240
|
unit_cost?: number | null | undefined;
|
|
5045
5241
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
5046
5242
|
cost_unit?: string | null | undefined;
|
|
5047
|
-
product_id?: string | null | undefined;
|
|
5048
|
-
price_id?: string | null | undefined;
|
|
5049
5243
|
preview?: Record<string, any>[] | null | undefined;
|
|
5050
|
-
state?: "queued" | "in-progress" | "success" | "error" |
|
|
5244
|
+
state?: "queued" | "in-progress" | "success" | "error" | undefined;
|
|
5051
5245
|
}>;
|
|
5052
5246
|
|
|
5053
5247
|
type File = z.infer<typeof FileSchema>;
|
|
@@ -5417,6 +5611,8 @@ declare const PostSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
5417
5611
|
}>>;
|
|
5418
5612
|
parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5419
5613
|
parent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5614
|
+
license_id: z.ZodString;
|
|
5615
|
+
license: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5420
5616
|
asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
|
|
5421
5617
|
name: z.ZodString;
|
|
5422
5618
|
name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -5428,11 +5624,24 @@ declare const PostSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
5428
5624
|
unit_cost: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5429
5625
|
cost_accounting: z.ZodOptional<z.ZodNullable<z.ZodEnum<["fixed", "variable"]>>>;
|
|
5430
5626
|
cost_unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5431
|
-
|
|
5432
|
-
|
|
5433
|
-
|
|
5627
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5628
|
+
doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5629
|
+
external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5630
|
+
originality: z.ZodEnum<["original", "derivative", "third-party"]>;
|
|
5631
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5632
|
+
}, "strip", z.ZodTypeAny, {
|
|
5633
|
+
originality: "original" | "derivative" | "third-party";
|
|
5634
|
+
doi_url?: string | null | undefined;
|
|
5635
|
+
external_url?: string | null | undefined;
|
|
5636
|
+
source?: string | null | undefined;
|
|
5637
|
+
}, {
|
|
5638
|
+
originality: "original" | "derivative" | "third-party";
|
|
5639
|
+
doi_url?: string | null | undefined;
|
|
5640
|
+
external_url?: string | null | undefined;
|
|
5641
|
+
source?: string | null | undefined;
|
|
5642
|
+
}>>>;
|
|
5434
5643
|
preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>;
|
|
5435
|
-
state: z.
|
|
5644
|
+
state: z.ZodEnum<["queued", "in-progress", "success", "error"]>;
|
|
5436
5645
|
created_at: z.ZodString;
|
|
5437
5646
|
last_updated: z.ZodString;
|
|
5438
5647
|
}, {
|
|
@@ -5490,11 +5699,13 @@ declare const PostSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
5490
5699
|
name: string | null;
|
|
5491
5700
|
team_id: string;
|
|
5492
5701
|
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
5702
|
+
license_id: string;
|
|
5493
5703
|
monetization: "none" | "pay-to-unlock" | "pay-per-use";
|
|
5494
5704
|
preview: {
|
|
5495
5705
|
type: "doc";
|
|
5496
5706
|
content: any[];
|
|
5497
5707
|
};
|
|
5708
|
+
state: "queued" | "in-progress" | "success" | "error";
|
|
5498
5709
|
user?: {
|
|
5499
5710
|
id?: string | undefined;
|
|
5500
5711
|
user_id?: string | undefined;
|
|
@@ -5568,19 +5779,22 @@ declare const PostSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
5568
5779
|
} | null | undefined;
|
|
5569
5780
|
}[] | undefined;
|
|
5570
5781
|
} | undefined;
|
|
5571
|
-
metadata?:
|
|
5782
|
+
metadata?: {
|
|
5783
|
+
originality: "original" | "derivative" | "third-party";
|
|
5784
|
+
doi_url?: string | null | undefined;
|
|
5785
|
+
external_url?: string | null | undefined;
|
|
5786
|
+
source?: string | null | undefined;
|
|
5787
|
+
} | null | undefined;
|
|
5572
5788
|
description?: string | null | undefined;
|
|
5573
5789
|
parent_id?: string | null | undefined;
|
|
5574
5790
|
parent?: Record<string, any> | undefined;
|
|
5791
|
+
license?: Record<string, any> | undefined;
|
|
5575
5792
|
name_url_slug?: string | null | undefined;
|
|
5576
5793
|
slug?: string | null | undefined;
|
|
5577
5794
|
price?: number | null | undefined;
|
|
5578
5795
|
unit_cost?: number | null | undefined;
|
|
5579
5796
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
5580
5797
|
cost_unit?: string | null | undefined;
|
|
5581
|
-
product_id?: string | null | undefined;
|
|
5582
|
-
price_id?: string | null | undefined;
|
|
5583
|
-
state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
|
|
5584
5798
|
}, {
|
|
5585
5799
|
id: string;
|
|
5586
5800
|
user_id: string;
|
|
@@ -5591,7 +5805,9 @@ declare const PostSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
5591
5805
|
name: string | null;
|
|
5592
5806
|
team_id: string;
|
|
5593
5807
|
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
5808
|
+
license_id: string;
|
|
5594
5809
|
monetization: "none" | "pay-to-unlock" | "pay-per-use";
|
|
5810
|
+
state: "queued" | "in-progress" | "success" | "error";
|
|
5595
5811
|
user?: {
|
|
5596
5812
|
id?: string | undefined;
|
|
5597
5813
|
user_id?: string | undefined;
|
|
@@ -5672,23 +5888,26 @@ declare const PostSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
5672
5888
|
content: any[];
|
|
5673
5889
|
};
|
|
5674
5890
|
} | undefined;
|
|
5675
|
-
metadata?:
|
|
5891
|
+
metadata?: {
|
|
5892
|
+
originality: "original" | "derivative" | "third-party";
|
|
5893
|
+
doi_url?: string | null | undefined;
|
|
5894
|
+
external_url?: string | null | undefined;
|
|
5895
|
+
source?: string | null | undefined;
|
|
5896
|
+
} | null | undefined;
|
|
5676
5897
|
description?: string | null | undefined;
|
|
5677
5898
|
parent_id?: string | null | undefined;
|
|
5678
5899
|
parent?: Record<string, any> | undefined;
|
|
5900
|
+
license?: Record<string, any> | undefined;
|
|
5679
5901
|
name_url_slug?: string | null | undefined;
|
|
5680
5902
|
slug?: string | null | undefined;
|
|
5681
5903
|
price?: number | null | undefined;
|
|
5682
5904
|
unit_cost?: number | null | undefined;
|
|
5683
5905
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
5684
5906
|
cost_unit?: string | null | undefined;
|
|
5685
|
-
product_id?: string | null | undefined;
|
|
5686
|
-
price_id?: string | null | undefined;
|
|
5687
5907
|
preview?: {
|
|
5688
5908
|
type: "doc";
|
|
5689
5909
|
content: any[];
|
|
5690
5910
|
} | undefined;
|
|
5691
|
-
state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
|
|
5692
5911
|
}>;
|
|
5693
5912
|
declare const CreatePostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<Omit<{
|
|
5694
5913
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -6018,6 +6237,8 @@ declare const CreatePostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
6018
6237
|
}>>>;
|
|
6019
6238
|
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
6020
6239
|
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
6240
|
+
license_id: z.ZodOptional<z.ZodString>;
|
|
6241
|
+
license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
6021
6242
|
asset_type: z.ZodOptional<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>>;
|
|
6022
6243
|
name: z.ZodOptional<z.ZodString>;
|
|
6023
6244
|
name_url_slug: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -6029,14 +6250,27 @@ declare const CreatePostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
6029
6250
|
unit_cost: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
6030
6251
|
cost_accounting: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<["fixed", "variable"]>>>>;
|
|
6031
6252
|
cost_unit: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
6032
|
-
|
|
6033
|
-
|
|
6034
|
-
|
|
6253
|
+
metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
6254
|
+
doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6255
|
+
external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6256
|
+
originality: z.ZodEnum<["original", "derivative", "third-party"]>;
|
|
6257
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6258
|
+
}, "strip", z.ZodTypeAny, {
|
|
6259
|
+
originality: "original" | "derivative" | "third-party";
|
|
6260
|
+
doi_url?: string | null | undefined;
|
|
6261
|
+
external_url?: string | null | undefined;
|
|
6262
|
+
source?: string | null | undefined;
|
|
6263
|
+
}, {
|
|
6264
|
+
originality: "original" | "derivative" | "third-party";
|
|
6265
|
+
doi_url?: string | null | undefined;
|
|
6266
|
+
external_url?: string | null | undefined;
|
|
6267
|
+
source?: string | null | undefined;
|
|
6268
|
+
}>>>>;
|
|
6035
6269
|
preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>>;
|
|
6036
|
-
state: z.ZodOptional<z.
|
|
6270
|
+
state: z.ZodOptional<z.ZodEnum<["queued", "in-progress", "success", "error"]>>;
|
|
6037
6271
|
created_at: z.ZodOptional<z.ZodString>;
|
|
6038
6272
|
last_updated: z.ZodOptional<z.ZodString>;
|
|
6039
|
-
}, "user" | "organization" | "team" | "user_id" | "slug">, {
|
|
6273
|
+
}, "user" | "organization" | "team" | "user_id" | "license" | "slug">, {
|
|
6040
6274
|
id: z.ZodDefault<z.ZodString>;
|
|
6041
6275
|
team_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
6042
6276
|
org_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
@@ -6073,18 +6307,22 @@ declare const CreatePostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
6073
6307
|
content: any[];
|
|
6074
6308
|
};
|
|
6075
6309
|
state: "queued" | "in-progress" | "success" | "error";
|
|
6076
|
-
metadata?:
|
|
6310
|
+
metadata?: {
|
|
6311
|
+
originality: "original" | "derivative" | "third-party";
|
|
6312
|
+
doi_url?: string | null | undefined;
|
|
6313
|
+
external_url?: string | null | undefined;
|
|
6314
|
+
source?: string | null | undefined;
|
|
6315
|
+
} | null | undefined;
|
|
6077
6316
|
description?: string | null | undefined;
|
|
6078
6317
|
parent_id?: string | null | undefined;
|
|
6079
6318
|
parent?: Record<string, any> | undefined;
|
|
6319
|
+
license_id?: string | undefined;
|
|
6080
6320
|
name_url_slug?: string | null | undefined;
|
|
6081
6321
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
6082
6322
|
price?: number | null | undefined;
|
|
6083
6323
|
unit_cost?: number | null | undefined;
|
|
6084
6324
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
6085
6325
|
cost_unit?: string | null | undefined;
|
|
6086
|
-
product_id?: string | null | undefined;
|
|
6087
|
-
price_id?: string | null | undefined;
|
|
6088
6326
|
}, {
|
|
6089
6327
|
preview: {
|
|
6090
6328
|
type: "doc";
|
|
@@ -6093,7 +6331,12 @@ declare const CreatePostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
6093
6331
|
id?: string | undefined;
|
|
6094
6332
|
org_id?: string | null | undefined;
|
|
6095
6333
|
asset_type?: "post" | undefined;
|
|
6096
|
-
metadata?:
|
|
6334
|
+
metadata?: {
|
|
6335
|
+
originality: "original" | "derivative" | "third-party";
|
|
6336
|
+
doi_url?: string | null | undefined;
|
|
6337
|
+
external_url?: string | null | undefined;
|
|
6338
|
+
source?: string | null | undefined;
|
|
6339
|
+
} | null | undefined;
|
|
6097
6340
|
created_at?: string | undefined;
|
|
6098
6341
|
last_updated?: string | undefined;
|
|
6099
6342
|
name?: string | null | undefined;
|
|
@@ -6102,14 +6345,13 @@ declare const CreatePostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
6102
6345
|
description?: string | null | undefined;
|
|
6103
6346
|
parent_id?: string | null | undefined;
|
|
6104
6347
|
parent?: Record<string, any> | undefined;
|
|
6348
|
+
license_id?: string | undefined;
|
|
6105
6349
|
name_url_slug?: string | null | undefined;
|
|
6106
6350
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
6107
6351
|
price?: number | null | undefined;
|
|
6108
6352
|
unit_cost?: number | null | undefined;
|
|
6109
6353
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
6110
6354
|
cost_unit?: string | null | undefined;
|
|
6111
|
-
product_id?: string | null | undefined;
|
|
6112
|
-
price_id?: string | null | undefined;
|
|
6113
6355
|
state?: "queued" | "in-progress" | "success" | "error" | undefined;
|
|
6114
6356
|
}>;
|
|
6115
6357
|
declare const ReadPostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -6440,6 +6682,8 @@ declare const ReadPostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
|
|
|
6440
6682
|
}>>;
|
|
6441
6683
|
parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6442
6684
|
parent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
6685
|
+
license_id: z.ZodString;
|
|
6686
|
+
license: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
6443
6687
|
asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
|
|
6444
6688
|
name: z.ZodString;
|
|
6445
6689
|
name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -6451,11 +6695,24 @@ declare const ReadPostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
|
|
|
6451
6695
|
unit_cost: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
6452
6696
|
cost_accounting: z.ZodOptional<z.ZodNullable<z.ZodEnum<["fixed", "variable"]>>>;
|
|
6453
6697
|
cost_unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6454
|
-
|
|
6455
|
-
|
|
6456
|
-
|
|
6698
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
6699
|
+
doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6700
|
+
external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6701
|
+
originality: z.ZodEnum<["original", "derivative", "third-party"]>;
|
|
6702
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6703
|
+
}, "strip", z.ZodTypeAny, {
|
|
6704
|
+
originality: "original" | "derivative" | "third-party";
|
|
6705
|
+
doi_url?: string | null | undefined;
|
|
6706
|
+
external_url?: string | null | undefined;
|
|
6707
|
+
source?: string | null | undefined;
|
|
6708
|
+
}, {
|
|
6709
|
+
originality: "original" | "derivative" | "third-party";
|
|
6710
|
+
doi_url?: string | null | undefined;
|
|
6711
|
+
external_url?: string | null | undefined;
|
|
6712
|
+
source?: string | null | undefined;
|
|
6713
|
+
}>>>;
|
|
6457
6714
|
preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>;
|
|
6458
|
-
state: z.
|
|
6715
|
+
state: z.ZodEnum<["queued", "in-progress", "success", "error"]>;
|
|
6459
6716
|
created_at: z.ZodString;
|
|
6460
6717
|
last_updated: z.ZodString;
|
|
6461
6718
|
}, {
|
|
@@ -6536,11 +6793,13 @@ declare const ReadPostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
|
|
|
6536
6793
|
name: string | null;
|
|
6537
6794
|
team_id: string;
|
|
6538
6795
|
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
6796
|
+
license_id: string;
|
|
6539
6797
|
monetization: "none" | "pay-to-unlock" | "pay-per-use";
|
|
6540
6798
|
preview: {
|
|
6541
6799
|
type: "doc";
|
|
6542
6800
|
content: any[];
|
|
6543
6801
|
};
|
|
6802
|
+
state: "queued" | "in-progress" | "success" | "error";
|
|
6544
6803
|
reactions: Record<string, any>[];
|
|
6545
6804
|
views: number;
|
|
6546
6805
|
commentCount: number;
|
|
@@ -6625,19 +6884,22 @@ declare const ReadPostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
|
|
|
6625
6884
|
content: any[];
|
|
6626
6885
|
};
|
|
6627
6886
|
} | null | undefined;
|
|
6628
|
-
metadata?:
|
|
6887
|
+
metadata?: {
|
|
6888
|
+
originality: "original" | "derivative" | "third-party";
|
|
6889
|
+
doi_url?: string | null | undefined;
|
|
6890
|
+
external_url?: string | null | undefined;
|
|
6891
|
+
source?: string | null | undefined;
|
|
6892
|
+
} | null | undefined;
|
|
6629
6893
|
description?: string | null | undefined;
|
|
6630
6894
|
parent_id?: string | null | undefined;
|
|
6631
6895
|
parent?: Record<string, any> | undefined;
|
|
6896
|
+
license?: Record<string, any> | undefined;
|
|
6632
6897
|
name_url_slug?: string | null | undefined;
|
|
6633
6898
|
slug?: string | null | undefined;
|
|
6634
6899
|
price?: number | null | undefined;
|
|
6635
6900
|
unit_cost?: number | null | undefined;
|
|
6636
6901
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
6637
6902
|
cost_unit?: string | null | undefined;
|
|
6638
|
-
product_id?: string | null | undefined;
|
|
6639
|
-
price_id?: string | null | undefined;
|
|
6640
|
-
state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
|
|
6641
6903
|
}, {
|
|
6642
6904
|
id: string;
|
|
6643
6905
|
user_id: string;
|
|
@@ -6648,7 +6910,9 @@ declare const ReadPostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
|
|
|
6648
6910
|
name: string | null;
|
|
6649
6911
|
team_id: string;
|
|
6650
6912
|
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
6913
|
+
license_id: string;
|
|
6651
6914
|
monetization: "none" | "pay-to-unlock" | "pay-per-use";
|
|
6915
|
+
state: "queued" | "in-progress" | "success" | "error";
|
|
6652
6916
|
user?: {
|
|
6653
6917
|
id?: string | undefined;
|
|
6654
6918
|
user_id?: string | undefined;
|
|
@@ -6729,23 +6993,26 @@ declare const ReadPostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
|
|
|
6729
6993
|
content: any[];
|
|
6730
6994
|
};
|
|
6731
6995
|
} | null | undefined;
|
|
6732
|
-
metadata?:
|
|
6996
|
+
metadata?: {
|
|
6997
|
+
originality: "original" | "derivative" | "third-party";
|
|
6998
|
+
doi_url?: string | null | undefined;
|
|
6999
|
+
external_url?: string | null | undefined;
|
|
7000
|
+
source?: string | null | undefined;
|
|
7001
|
+
} | null | undefined;
|
|
6733
7002
|
description?: string | null | undefined;
|
|
6734
7003
|
parent_id?: string | null | undefined;
|
|
6735
7004
|
parent?: Record<string, any> | undefined;
|
|
7005
|
+
license?: Record<string, any> | undefined;
|
|
6736
7006
|
name_url_slug?: string | null | undefined;
|
|
6737
7007
|
slug?: string | null | undefined;
|
|
6738
7008
|
price?: number | null | undefined;
|
|
6739
7009
|
unit_cost?: number | null | undefined;
|
|
6740
7010
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
6741
7011
|
cost_unit?: string | null | undefined;
|
|
6742
|
-
product_id?: string | null | undefined;
|
|
6743
|
-
price_id?: string | null | undefined;
|
|
6744
7012
|
preview?: {
|
|
6745
7013
|
type: "doc";
|
|
6746
7014
|
content: any[];
|
|
6747
7015
|
} | undefined;
|
|
6748
|
-
state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
|
|
6749
7016
|
reactions?: Record<string, any>[] | undefined;
|
|
6750
7017
|
views?: number | undefined;
|
|
6751
7018
|
commentCount?: number | undefined;
|
|
@@ -7079,6 +7346,8 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z
|
|
|
7079
7346
|
}>>;
|
|
7080
7347
|
parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7081
7348
|
parent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
7349
|
+
license_id: z.ZodString;
|
|
7350
|
+
license: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
7082
7351
|
asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
|
|
7083
7352
|
name: z.ZodString;
|
|
7084
7353
|
name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -7090,11 +7359,24 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z
|
|
|
7090
7359
|
unit_cost: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
7091
7360
|
cost_accounting: z.ZodOptional<z.ZodNullable<z.ZodEnum<["fixed", "variable"]>>>;
|
|
7092
7361
|
cost_unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7093
|
-
|
|
7094
|
-
|
|
7095
|
-
|
|
7362
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7363
|
+
doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7364
|
+
external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7365
|
+
originality: z.ZodEnum<["original", "derivative", "third-party"]>;
|
|
7366
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7367
|
+
}, "strip", z.ZodTypeAny, {
|
|
7368
|
+
originality: "original" | "derivative" | "third-party";
|
|
7369
|
+
doi_url?: string | null | undefined;
|
|
7370
|
+
external_url?: string | null | undefined;
|
|
7371
|
+
source?: string | null | undefined;
|
|
7372
|
+
}, {
|
|
7373
|
+
originality: "original" | "derivative" | "third-party";
|
|
7374
|
+
doi_url?: string | null | undefined;
|
|
7375
|
+
external_url?: string | null | undefined;
|
|
7376
|
+
source?: string | null | undefined;
|
|
7377
|
+
}>>>;
|
|
7096
7378
|
preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>;
|
|
7097
|
-
state: z.
|
|
7379
|
+
state: z.ZodEnum<["queued", "in-progress", "success", "error"]>;
|
|
7098
7380
|
created_at: z.ZodString;
|
|
7099
7381
|
last_updated: z.ZodString;
|
|
7100
7382
|
}, {
|
|
@@ -7175,11 +7457,13 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z
|
|
|
7175
7457
|
name: string | null;
|
|
7176
7458
|
team_id: string;
|
|
7177
7459
|
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
7460
|
+
license_id: string;
|
|
7178
7461
|
monetization: "none" | "pay-to-unlock" | "pay-per-use";
|
|
7179
7462
|
preview: {
|
|
7180
7463
|
type: "doc";
|
|
7181
7464
|
content: any[];
|
|
7182
7465
|
};
|
|
7466
|
+
state: "queued" | "in-progress" | "success" | "error";
|
|
7183
7467
|
reactions: Record<string, any>[];
|
|
7184
7468
|
views: number;
|
|
7185
7469
|
commentCount: number;
|
|
@@ -7264,19 +7548,22 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z
|
|
|
7264
7548
|
content: any[];
|
|
7265
7549
|
};
|
|
7266
7550
|
} | null | undefined;
|
|
7267
|
-
metadata?:
|
|
7551
|
+
metadata?: {
|
|
7552
|
+
originality: "original" | "derivative" | "third-party";
|
|
7553
|
+
doi_url?: string | null | undefined;
|
|
7554
|
+
external_url?: string | null | undefined;
|
|
7555
|
+
source?: string | null | undefined;
|
|
7556
|
+
} | null | undefined;
|
|
7268
7557
|
description?: string | null | undefined;
|
|
7269
7558
|
parent_id?: string | null | undefined;
|
|
7270
7559
|
parent?: Record<string, any> | undefined;
|
|
7560
|
+
license?: Record<string, any> | undefined;
|
|
7271
7561
|
name_url_slug?: string | null | undefined;
|
|
7272
7562
|
slug?: string | null | undefined;
|
|
7273
7563
|
price?: number | null | undefined;
|
|
7274
7564
|
unit_cost?: number | null | undefined;
|
|
7275
7565
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
7276
7566
|
cost_unit?: string | null | undefined;
|
|
7277
|
-
product_id?: string | null | undefined;
|
|
7278
|
-
price_id?: string | null | undefined;
|
|
7279
|
-
state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
|
|
7280
7567
|
}, {
|
|
7281
7568
|
id: string;
|
|
7282
7569
|
user_id: string;
|
|
@@ -7287,7 +7574,9 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z
|
|
|
7287
7574
|
name: string | null;
|
|
7288
7575
|
team_id: string;
|
|
7289
7576
|
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
7577
|
+
license_id: string;
|
|
7290
7578
|
monetization: "none" | "pay-to-unlock" | "pay-per-use";
|
|
7579
|
+
state: "queued" | "in-progress" | "success" | "error";
|
|
7291
7580
|
user?: {
|
|
7292
7581
|
id?: string | undefined;
|
|
7293
7582
|
user_id?: string | undefined;
|
|
@@ -7368,23 +7657,26 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z
|
|
|
7368
7657
|
content: any[];
|
|
7369
7658
|
};
|
|
7370
7659
|
} | null | undefined;
|
|
7371
|
-
metadata?:
|
|
7660
|
+
metadata?: {
|
|
7661
|
+
originality: "original" | "derivative" | "third-party";
|
|
7662
|
+
doi_url?: string | null | undefined;
|
|
7663
|
+
external_url?: string | null | undefined;
|
|
7664
|
+
source?: string | null | undefined;
|
|
7665
|
+
} | null | undefined;
|
|
7372
7666
|
description?: string | null | undefined;
|
|
7373
7667
|
parent_id?: string | null | undefined;
|
|
7374
7668
|
parent?: Record<string, any> | undefined;
|
|
7669
|
+
license?: Record<string, any> | undefined;
|
|
7375
7670
|
name_url_slug?: string | null | undefined;
|
|
7376
7671
|
slug?: string | null | undefined;
|
|
7377
7672
|
price?: number | null | undefined;
|
|
7378
7673
|
unit_cost?: number | null | undefined;
|
|
7379
7674
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
7380
7675
|
cost_unit?: string | null | undefined;
|
|
7381
|
-
product_id?: string | null | undefined;
|
|
7382
|
-
price_id?: string | null | undefined;
|
|
7383
7676
|
preview?: {
|
|
7384
7677
|
type: "doc";
|
|
7385
7678
|
content: any[];
|
|
7386
7679
|
} | undefined;
|
|
7387
|
-
state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
|
|
7388
7680
|
reactions?: Record<string, any>[] | undefined;
|
|
7389
7681
|
views?: number | undefined;
|
|
7390
7682
|
commentCount?: number | undefined;
|
|
@@ -7718,6 +8010,8 @@ declare const ListPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
|
7718
8010
|
}>>;
|
|
7719
8011
|
parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7720
8012
|
parent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
8013
|
+
license_id: z.ZodString;
|
|
8014
|
+
license: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
7721
8015
|
asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
|
|
7722
8016
|
name: z.ZodString;
|
|
7723
8017
|
name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -7729,11 +8023,24 @@ declare const ListPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
|
7729
8023
|
unit_cost: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
7730
8024
|
cost_accounting: z.ZodOptional<z.ZodNullable<z.ZodEnum<["fixed", "variable"]>>>;
|
|
7731
8025
|
cost_unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7732
|
-
|
|
7733
|
-
|
|
7734
|
-
|
|
8026
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
8027
|
+
doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8028
|
+
external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8029
|
+
originality: z.ZodEnum<["original", "derivative", "third-party"]>;
|
|
8030
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8031
|
+
}, "strip", z.ZodTypeAny, {
|
|
8032
|
+
originality: "original" | "derivative" | "third-party";
|
|
8033
|
+
doi_url?: string | null | undefined;
|
|
8034
|
+
external_url?: string | null | undefined;
|
|
8035
|
+
source?: string | null | undefined;
|
|
8036
|
+
}, {
|
|
8037
|
+
originality: "original" | "derivative" | "third-party";
|
|
8038
|
+
doi_url?: string | null | undefined;
|
|
8039
|
+
external_url?: string | null | undefined;
|
|
8040
|
+
source?: string | null | undefined;
|
|
8041
|
+
}>>>;
|
|
7735
8042
|
preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>;
|
|
7736
|
-
state: z.
|
|
8043
|
+
state: z.ZodEnum<["queued", "in-progress", "success", "error"]>;
|
|
7737
8044
|
created_at: z.ZodString;
|
|
7738
8045
|
last_updated: z.ZodString;
|
|
7739
8046
|
}, {
|
|
@@ -7791,11 +8098,13 @@ declare const ListPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
|
7791
8098
|
name: string | null;
|
|
7792
8099
|
team_id: string;
|
|
7793
8100
|
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
8101
|
+
license_id: string;
|
|
7794
8102
|
monetization: "none" | "pay-to-unlock" | "pay-per-use";
|
|
7795
8103
|
preview: {
|
|
7796
8104
|
type: "doc";
|
|
7797
8105
|
content: any[];
|
|
7798
8106
|
};
|
|
8107
|
+
state: "queued" | "in-progress" | "success" | "error";
|
|
7799
8108
|
user?: {
|
|
7800
8109
|
id?: string | undefined;
|
|
7801
8110
|
user_id?: string | undefined;
|
|
@@ -7869,19 +8178,22 @@ declare const ListPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
|
7869
8178
|
} | null | undefined;
|
|
7870
8179
|
}[] | undefined;
|
|
7871
8180
|
} | undefined;
|
|
7872
|
-
metadata?:
|
|
8181
|
+
metadata?: {
|
|
8182
|
+
originality: "original" | "derivative" | "third-party";
|
|
8183
|
+
doi_url?: string | null | undefined;
|
|
8184
|
+
external_url?: string | null | undefined;
|
|
8185
|
+
source?: string | null | undefined;
|
|
8186
|
+
} | null | undefined;
|
|
7873
8187
|
description?: string | null | undefined;
|
|
7874
8188
|
parent_id?: string | null | undefined;
|
|
7875
8189
|
parent?: Record<string, any> | undefined;
|
|
8190
|
+
license?: Record<string, any> | undefined;
|
|
7876
8191
|
name_url_slug?: string | null | undefined;
|
|
7877
8192
|
slug?: string | null | undefined;
|
|
7878
8193
|
price?: number | null | undefined;
|
|
7879
8194
|
unit_cost?: number | null | undefined;
|
|
7880
8195
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
7881
8196
|
cost_unit?: string | null | undefined;
|
|
7882
|
-
product_id?: string | null | undefined;
|
|
7883
|
-
price_id?: string | null | undefined;
|
|
7884
|
-
state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
|
|
7885
8197
|
}, {
|
|
7886
8198
|
id: string;
|
|
7887
8199
|
user_id: string;
|
|
@@ -7892,7 +8204,9 @@ declare const ListPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
|
7892
8204
|
name: string | null;
|
|
7893
8205
|
team_id: string;
|
|
7894
8206
|
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
8207
|
+
license_id: string;
|
|
7895
8208
|
monetization: "none" | "pay-to-unlock" | "pay-per-use";
|
|
8209
|
+
state: "queued" | "in-progress" | "success" | "error";
|
|
7896
8210
|
user?: {
|
|
7897
8211
|
id?: string | undefined;
|
|
7898
8212
|
user_id?: string | undefined;
|
|
@@ -7973,23 +8287,26 @@ declare const ListPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
|
7973
8287
|
content: any[];
|
|
7974
8288
|
};
|
|
7975
8289
|
} | undefined;
|
|
7976
|
-
metadata?:
|
|
8290
|
+
metadata?: {
|
|
8291
|
+
originality: "original" | "derivative" | "third-party";
|
|
8292
|
+
doi_url?: string | null | undefined;
|
|
8293
|
+
external_url?: string | null | undefined;
|
|
8294
|
+
source?: string | null | undefined;
|
|
8295
|
+
} | null | undefined;
|
|
7977
8296
|
description?: string | null | undefined;
|
|
7978
8297
|
parent_id?: string | null | undefined;
|
|
7979
8298
|
parent?: Record<string, any> | undefined;
|
|
8299
|
+
license?: Record<string, any> | undefined;
|
|
7980
8300
|
name_url_slug?: string | null | undefined;
|
|
7981
8301
|
slug?: string | null | undefined;
|
|
7982
8302
|
price?: number | null | undefined;
|
|
7983
8303
|
unit_cost?: number | null | undefined;
|
|
7984
8304
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
7985
8305
|
cost_unit?: string | null | undefined;
|
|
7986
|
-
product_id?: string | null | undefined;
|
|
7987
|
-
price_id?: string | null | undefined;
|
|
7988
8306
|
preview?: {
|
|
7989
8307
|
type: "doc";
|
|
7990
8308
|
content: any[];
|
|
7991
8309
|
} | undefined;
|
|
7992
|
-
state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
|
|
7993
8310
|
}>, "many">;
|
|
7994
8311
|
declare const UpdatePostSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
7995
8312
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -8319,6 +8636,8 @@ declare const UpdatePostSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
8319
8636
|
}>>>;
|
|
8320
8637
|
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
8321
8638
|
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
8639
|
+
license_id: z.ZodOptional<z.ZodString>;
|
|
8640
|
+
license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
8322
8641
|
name_url_slug: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
8323
8642
|
slug: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
8324
8643
|
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -8328,10 +8647,23 @@ declare const UpdatePostSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
8328
8647
|
unit_cost: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
8329
8648
|
cost_accounting: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<["fixed", "variable"]>>>>;
|
|
8330
8649
|
cost_unit: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
8331
|
-
|
|
8332
|
-
|
|
8333
|
-
|
|
8334
|
-
|
|
8650
|
+
metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
8651
|
+
doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8652
|
+
external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8653
|
+
originality: z.ZodEnum<["original", "derivative", "third-party"]>;
|
|
8654
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8655
|
+
}, "strip", z.ZodTypeAny, {
|
|
8656
|
+
originality: "original" | "derivative" | "third-party";
|
|
8657
|
+
doi_url?: string | null | undefined;
|
|
8658
|
+
external_url?: string | null | undefined;
|
|
8659
|
+
source?: string | null | undefined;
|
|
8660
|
+
}, {
|
|
8661
|
+
originality: "original" | "derivative" | "third-party";
|
|
8662
|
+
doi_url?: string | null | undefined;
|
|
8663
|
+
external_url?: string | null | undefined;
|
|
8664
|
+
source?: string | null | undefined;
|
|
8665
|
+
}>>>>;
|
|
8666
|
+
state: z.ZodOptional<z.ZodEnum<["queued", "in-progress", "success", "error"]>>;
|
|
8335
8667
|
created_at: z.ZodOptional<z.ZodString>;
|
|
8336
8668
|
last_updated: z.ZodOptional<z.ZodString>;
|
|
8337
8669
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -8377,30 +8709,40 @@ declare const UpdatePostSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
8377
8709
|
last_updated: string;
|
|
8378
8710
|
org_id?: string | undefined;
|
|
8379
8711
|
asset_type?: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
|
|
8380
|
-
metadata?:
|
|
8712
|
+
metadata?: {
|
|
8713
|
+
originality: "original" | "derivative" | "third-party";
|
|
8714
|
+
doi_url?: string | null | undefined;
|
|
8715
|
+
external_url?: string | null | undefined;
|
|
8716
|
+
source?: string | null | undefined;
|
|
8717
|
+
} | null | undefined;
|
|
8381
8718
|
name?: string | null | undefined;
|
|
8382
8719
|
team_id?: string | undefined;
|
|
8383
8720
|
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
8384
8721
|
description?: string | null | undefined;
|
|
8385
8722
|
parent_id?: string | null | undefined;
|
|
8386
8723
|
parent?: Record<string, any> | undefined;
|
|
8724
|
+
license_id?: string | undefined;
|
|
8725
|
+
license?: Record<string, any> | undefined;
|
|
8387
8726
|
name_url_slug?: string | null | undefined;
|
|
8388
8727
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
8389
8728
|
price?: number | null | undefined;
|
|
8390
8729
|
unit_cost?: number | null | undefined;
|
|
8391
8730
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
8392
8731
|
cost_unit?: string | null | undefined;
|
|
8393
|
-
product_id?: string | null | undefined;
|
|
8394
|
-
price_id?: string | null | undefined;
|
|
8395
8732
|
preview?: {
|
|
8396
8733
|
type: "doc";
|
|
8397
8734
|
content: any[];
|
|
8398
8735
|
} | undefined;
|
|
8399
|
-
state?: "queued" | "in-progress" | "success" | "error" |
|
|
8736
|
+
state?: "queued" | "in-progress" | "success" | "error" | undefined;
|
|
8400
8737
|
}, {
|
|
8401
8738
|
org_id?: string | undefined;
|
|
8402
8739
|
asset_type?: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
|
|
8403
|
-
metadata?:
|
|
8740
|
+
metadata?: {
|
|
8741
|
+
originality: "original" | "derivative" | "third-party";
|
|
8742
|
+
doi_url?: string | null | undefined;
|
|
8743
|
+
external_url?: string | null | undefined;
|
|
8744
|
+
source?: string | null | undefined;
|
|
8745
|
+
} | null | undefined;
|
|
8404
8746
|
last_updated?: string | undefined;
|
|
8405
8747
|
name?: string | null | undefined;
|
|
8406
8748
|
team_id?: string | undefined;
|
|
@@ -8408,19 +8750,19 @@ declare const UpdatePostSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
8408
8750
|
description?: string | null | undefined;
|
|
8409
8751
|
parent_id?: string | null | undefined;
|
|
8410
8752
|
parent?: Record<string, any> | undefined;
|
|
8753
|
+
license_id?: string | undefined;
|
|
8754
|
+
license?: Record<string, any> | undefined;
|
|
8411
8755
|
name_url_slug?: string | null | undefined;
|
|
8412
8756
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
8413
8757
|
price?: number | null | undefined;
|
|
8414
8758
|
unit_cost?: number | null | undefined;
|
|
8415
8759
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
8416
8760
|
cost_unit?: string | null | undefined;
|
|
8417
|
-
product_id?: string | null | undefined;
|
|
8418
|
-
price_id?: string | null | undefined;
|
|
8419
8761
|
preview?: {
|
|
8420
8762
|
type: "doc";
|
|
8421
8763
|
content: any[];
|
|
8422
8764
|
} | undefined;
|
|
8423
|
-
state?: "queued" | "in-progress" | "success" | "error" |
|
|
8765
|
+
state?: "queued" | "in-progress" | "success" | "error" | undefined;
|
|
8424
8766
|
}>;
|
|
8425
8767
|
|
|
8426
8768
|
type Post = z.infer<typeof PostSchema>;
|
|
@@ -8760,6 +9102,8 @@ declare const CommentSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
8760
9102
|
}>>;
|
|
8761
9103
|
parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8762
9104
|
parent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
9105
|
+
license_id: z.ZodString;
|
|
9106
|
+
license: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
8763
9107
|
asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
|
|
8764
9108
|
name: z.ZodString;
|
|
8765
9109
|
name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -8771,11 +9115,24 @@ declare const CommentSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
8771
9115
|
unit_cost: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
8772
9116
|
cost_accounting: z.ZodOptional<z.ZodNullable<z.ZodEnum<["fixed", "variable"]>>>;
|
|
8773
9117
|
cost_unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8774
|
-
|
|
8775
|
-
|
|
8776
|
-
|
|
9118
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
9119
|
+
doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9120
|
+
external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9121
|
+
originality: z.ZodEnum<["original", "derivative", "third-party"]>;
|
|
9122
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9123
|
+
}, "strip", z.ZodTypeAny, {
|
|
9124
|
+
originality: "original" | "derivative" | "third-party";
|
|
9125
|
+
doi_url?: string | null | undefined;
|
|
9126
|
+
external_url?: string | null | undefined;
|
|
9127
|
+
source?: string | null | undefined;
|
|
9128
|
+
}, {
|
|
9129
|
+
originality: "original" | "derivative" | "third-party";
|
|
9130
|
+
doi_url?: string | null | undefined;
|
|
9131
|
+
external_url?: string | null | undefined;
|
|
9132
|
+
source?: string | null | undefined;
|
|
9133
|
+
}>>>;
|
|
8777
9134
|
preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>;
|
|
8778
|
-
state: z.
|
|
9135
|
+
state: z.ZodEnum<["queued", "in-progress", "success", "error"]>;
|
|
8779
9136
|
created_at: z.ZodString;
|
|
8780
9137
|
last_updated: z.ZodString;
|
|
8781
9138
|
}, {
|
|
@@ -8800,7 +9157,9 @@ declare const CommentSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
8800
9157
|
name: string;
|
|
8801
9158
|
team_id: string;
|
|
8802
9159
|
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
9160
|
+
license_id: string;
|
|
8803
9161
|
monetization: "none" | "pay-to-unlock" | "pay-per-use";
|
|
9162
|
+
state: "queued" | "in-progress" | "success" | "error";
|
|
8804
9163
|
user?: {
|
|
8805
9164
|
id?: string | undefined;
|
|
8806
9165
|
user_id?: string | undefined;
|
|
@@ -8874,23 +9233,26 @@ declare const CommentSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
8874
9233
|
} | null | undefined;
|
|
8875
9234
|
}[] | undefined;
|
|
8876
9235
|
} | undefined;
|
|
8877
|
-
metadata?:
|
|
9236
|
+
metadata?: {
|
|
9237
|
+
originality: "original" | "derivative" | "third-party";
|
|
9238
|
+
doi_url?: string | null | undefined;
|
|
9239
|
+
external_url?: string | null | undefined;
|
|
9240
|
+
source?: string | null | undefined;
|
|
9241
|
+
} | null | undefined;
|
|
8878
9242
|
description?: string | null | undefined;
|
|
8879
9243
|
parent_id?: string | null | undefined;
|
|
8880
9244
|
parent?: Record<string, any> | undefined;
|
|
9245
|
+
license?: Record<string, any> | undefined;
|
|
8881
9246
|
name_url_slug?: string | null | undefined;
|
|
8882
9247
|
slug?: string | null | undefined;
|
|
8883
9248
|
price?: number | null | undefined;
|
|
8884
9249
|
unit_cost?: number | null | undefined;
|
|
8885
9250
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
8886
9251
|
cost_unit?: string | null | undefined;
|
|
8887
|
-
product_id?: string | null | undefined;
|
|
8888
|
-
price_id?: string | null | undefined;
|
|
8889
9252
|
preview?: {
|
|
8890
9253
|
type: string;
|
|
8891
9254
|
content: Record<string, any>[];
|
|
8892
9255
|
} | null | undefined;
|
|
8893
|
-
state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
|
|
8894
9256
|
}, {
|
|
8895
9257
|
id: string;
|
|
8896
9258
|
user_id: string;
|
|
@@ -8900,7 +9262,9 @@ declare const CommentSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
8900
9262
|
name: string;
|
|
8901
9263
|
team_id: string;
|
|
8902
9264
|
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
9265
|
+
license_id: string;
|
|
8903
9266
|
monetization: "none" | "pay-to-unlock" | "pay-per-use";
|
|
9267
|
+
state: "queued" | "in-progress" | "success" | "error";
|
|
8904
9268
|
user?: {
|
|
8905
9269
|
id?: string | undefined;
|
|
8906
9270
|
user_id?: string | undefined;
|
|
@@ -8975,23 +9339,26 @@ declare const CommentSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
8975
9339
|
}[] | undefined;
|
|
8976
9340
|
} | undefined;
|
|
8977
9341
|
asset_type?: "comment" | undefined;
|
|
8978
|
-
metadata?:
|
|
9342
|
+
metadata?: {
|
|
9343
|
+
originality: "original" | "derivative" | "third-party";
|
|
9344
|
+
doi_url?: string | null | undefined;
|
|
9345
|
+
external_url?: string | null | undefined;
|
|
9346
|
+
source?: string | null | undefined;
|
|
9347
|
+
} | null | undefined;
|
|
8979
9348
|
description?: string | null | undefined;
|
|
8980
9349
|
parent_id?: string | null | undefined;
|
|
8981
9350
|
parent?: Record<string, any> | undefined;
|
|
9351
|
+
license?: Record<string, any> | undefined;
|
|
8982
9352
|
name_url_slug?: string | null | undefined;
|
|
8983
9353
|
slug?: string | null | undefined;
|
|
8984
9354
|
price?: number | null | undefined;
|
|
8985
9355
|
unit_cost?: number | null | undefined;
|
|
8986
9356
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
8987
9357
|
cost_unit?: string | null | undefined;
|
|
8988
|
-
product_id?: string | null | undefined;
|
|
8989
|
-
price_id?: string | null | undefined;
|
|
8990
9358
|
preview?: {
|
|
8991
9359
|
type: string;
|
|
8992
9360
|
content: Record<string, any>[];
|
|
8993
9361
|
} | null | undefined;
|
|
8994
|
-
state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
|
|
8995
9362
|
}>;
|
|
8996
9363
|
declare const CreateCommentSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
8997
9364
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -9321,6 +9688,8 @@ declare const CreateCommentSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
9321
9688
|
}>>>;
|
|
9322
9689
|
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
9323
9690
|
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
9691
|
+
license_id: z.ZodOptional<z.ZodString>;
|
|
9692
|
+
license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
9324
9693
|
name: z.ZodOptional<z.ZodString>;
|
|
9325
9694
|
name_url_slug: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
9326
9695
|
slug: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -9331,10 +9700,23 @@ declare const CreateCommentSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
9331
9700
|
unit_cost: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
9332
9701
|
cost_accounting: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<["fixed", "variable"]>>>>;
|
|
9333
9702
|
cost_unit: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
9334
|
-
|
|
9335
|
-
|
|
9336
|
-
|
|
9337
|
-
|
|
9703
|
+
metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
9704
|
+
doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9705
|
+
external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9706
|
+
originality: z.ZodEnum<["original", "derivative", "third-party"]>;
|
|
9707
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9708
|
+
}, "strip", z.ZodTypeAny, {
|
|
9709
|
+
originality: "original" | "derivative" | "third-party";
|
|
9710
|
+
doi_url?: string | null | undefined;
|
|
9711
|
+
external_url?: string | null | undefined;
|
|
9712
|
+
source?: string | null | undefined;
|
|
9713
|
+
}, {
|
|
9714
|
+
originality: "original" | "derivative" | "third-party";
|
|
9715
|
+
doi_url?: string | null | undefined;
|
|
9716
|
+
external_url?: string | null | undefined;
|
|
9717
|
+
source?: string | null | undefined;
|
|
9718
|
+
}>>>>;
|
|
9719
|
+
state: z.ZodOptional<z.ZodEnum<["queued", "in-progress", "success", "error"]>>;
|
|
9338
9720
|
created_at: z.ZodOptional<z.ZodString>;
|
|
9339
9721
|
last_updated: z.ZodOptional<z.ZodString>;
|
|
9340
9722
|
asset_type: z.ZodOptional<z.ZodDefault<z.ZodLiteral<"comment">>>;
|
|
@@ -9434,12 +9816,19 @@ declare const CreateCommentSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
9434
9816
|
}[] | undefined;
|
|
9435
9817
|
} | undefined;
|
|
9436
9818
|
org_id?: string | undefined;
|
|
9437
|
-
metadata?:
|
|
9819
|
+
metadata?: {
|
|
9820
|
+
originality: "original" | "derivative" | "third-party";
|
|
9821
|
+
doi_url?: string | null | undefined;
|
|
9822
|
+
external_url?: string | null | undefined;
|
|
9823
|
+
source?: string | null | undefined;
|
|
9824
|
+
} | null | undefined;
|
|
9438
9825
|
team_id?: string | undefined;
|
|
9439
9826
|
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
9440
9827
|
description?: string | null | undefined;
|
|
9441
9828
|
parent_id?: string | null | undefined;
|
|
9442
9829
|
parent?: Record<string, any> | undefined;
|
|
9830
|
+
license_id?: string | undefined;
|
|
9831
|
+
license?: Record<string, any> | undefined;
|
|
9443
9832
|
name_url_slug?: string | null | undefined;
|
|
9444
9833
|
slug?: string | null | undefined;
|
|
9445
9834
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
@@ -9447,13 +9836,11 @@ declare const CreateCommentSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
9447
9836
|
unit_cost?: number | null | undefined;
|
|
9448
9837
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
9449
9838
|
cost_unit?: string | null | undefined;
|
|
9450
|
-
product_id?: string | null | undefined;
|
|
9451
|
-
price_id?: string | null | undefined;
|
|
9452
9839
|
preview?: {
|
|
9453
9840
|
type: string;
|
|
9454
9841
|
content: Record<string, any>[];
|
|
9455
9842
|
} | null | undefined;
|
|
9456
|
-
state?: "queued" | "in-progress" | "success" | "error" |
|
|
9843
|
+
state?: "queued" | "in-progress" | "success" | "error" | undefined;
|
|
9457
9844
|
}, {
|
|
9458
9845
|
user?: {
|
|
9459
9846
|
id?: string | undefined;
|
|
@@ -9531,7 +9918,12 @@ declare const CreateCommentSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
9531
9918
|
id?: string | undefined;
|
|
9532
9919
|
org_id?: string | undefined;
|
|
9533
9920
|
asset_type?: "comment" | undefined;
|
|
9534
|
-
metadata?:
|
|
9921
|
+
metadata?: {
|
|
9922
|
+
originality: "original" | "derivative" | "third-party";
|
|
9923
|
+
doi_url?: string | null | undefined;
|
|
9924
|
+
external_url?: string | null | undefined;
|
|
9925
|
+
source?: string | null | undefined;
|
|
9926
|
+
} | null | undefined;
|
|
9535
9927
|
created_at?: string | undefined;
|
|
9536
9928
|
last_updated?: string | undefined;
|
|
9537
9929
|
name?: string | undefined;
|
|
@@ -9540,6 +9932,8 @@ declare const CreateCommentSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
9540
9932
|
description?: string | null | undefined;
|
|
9541
9933
|
parent_id?: string | null | undefined;
|
|
9542
9934
|
parent?: Record<string, any> | undefined;
|
|
9935
|
+
license_id?: string | undefined;
|
|
9936
|
+
license?: Record<string, any> | undefined;
|
|
9543
9937
|
name_url_slug?: string | null | undefined;
|
|
9544
9938
|
slug?: string | null | undefined;
|
|
9545
9939
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
@@ -9547,13 +9941,11 @@ declare const CreateCommentSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
9547
9941
|
unit_cost?: number | null | undefined;
|
|
9548
9942
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
9549
9943
|
cost_unit?: string | null | undefined;
|
|
9550
|
-
product_id?: string | null | undefined;
|
|
9551
|
-
price_id?: string | null | undefined;
|
|
9552
9944
|
preview?: {
|
|
9553
9945
|
type: string;
|
|
9554
9946
|
content: Record<string, any>[];
|
|
9555
9947
|
} | null | undefined;
|
|
9556
|
-
state?: "queued" | "in-progress" | "success" | "error" |
|
|
9948
|
+
state?: "queued" | "in-progress" | "success" | "error" | undefined;
|
|
9557
9949
|
}>;
|
|
9558
9950
|
|
|
9559
9951
|
type Comment = z.infer<typeof CommentSchema>;
|
|
@@ -9887,6 +10279,8 @@ declare const ConversationSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
9887
10279
|
}>>;
|
|
9888
10280
|
parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9889
10281
|
parent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
10282
|
+
license_id: z.ZodString;
|
|
10283
|
+
license: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
9890
10284
|
asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
|
|
9891
10285
|
name: z.ZodString;
|
|
9892
10286
|
name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -9898,11 +10292,24 @@ declare const ConversationSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
9898
10292
|
unit_cost: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9899
10293
|
cost_accounting: z.ZodOptional<z.ZodNullable<z.ZodEnum<["fixed", "variable"]>>>;
|
|
9900
10294
|
cost_unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9901
|
-
|
|
9902
|
-
|
|
9903
|
-
|
|
10295
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
10296
|
+
doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10297
|
+
external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10298
|
+
originality: z.ZodEnum<["original", "derivative", "third-party"]>;
|
|
10299
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10300
|
+
}, "strip", z.ZodTypeAny, {
|
|
10301
|
+
originality: "original" | "derivative" | "third-party";
|
|
10302
|
+
doi_url?: string | null | undefined;
|
|
10303
|
+
external_url?: string | null | undefined;
|
|
10304
|
+
source?: string | null | undefined;
|
|
10305
|
+
}, {
|
|
10306
|
+
originality: "original" | "derivative" | "third-party";
|
|
10307
|
+
doi_url?: string | null | undefined;
|
|
10308
|
+
external_url?: string | null | undefined;
|
|
10309
|
+
source?: string | null | undefined;
|
|
10310
|
+
}>>>;
|
|
9904
10311
|
preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>;
|
|
9905
|
-
state: z.
|
|
10312
|
+
state: z.ZodEnum<["queued", "in-progress", "success", "error"]>;
|
|
9906
10313
|
created_at: z.ZodString;
|
|
9907
10314
|
last_updated: z.ZodString;
|
|
9908
10315
|
}, {
|
|
@@ -9971,7 +10378,9 @@ declare const ConversationSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
9971
10378
|
name: string;
|
|
9972
10379
|
team_id: string;
|
|
9973
10380
|
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
10381
|
+
license_id: string;
|
|
9974
10382
|
monetization: "none" | "pay-to-unlock" | "pay-per-use";
|
|
10383
|
+
state: "queued" | "in-progress" | "success" | "error";
|
|
9975
10384
|
user?: {
|
|
9976
10385
|
id?: string | undefined;
|
|
9977
10386
|
user_id?: string | undefined;
|
|
@@ -10048,16 +10457,14 @@ declare const ConversationSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
10048
10457
|
description?: string | null | undefined;
|
|
10049
10458
|
parent_id?: string | null | undefined;
|
|
10050
10459
|
parent?: Record<string, any> | undefined;
|
|
10460
|
+
license?: Record<string, any> | undefined;
|
|
10051
10461
|
name_url_slug?: string | null | undefined;
|
|
10052
10462
|
slug?: string | null | undefined;
|
|
10053
10463
|
price?: number | null | undefined;
|
|
10054
10464
|
unit_cost?: number | null | undefined;
|
|
10055
10465
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
10056
10466
|
cost_unit?: string | null | undefined;
|
|
10057
|
-
product_id?: string | null | undefined;
|
|
10058
|
-
price_id?: string | null | undefined;
|
|
10059
10467
|
preview?: Record<string, any>[] | null | undefined;
|
|
10060
|
-
state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
|
|
10061
10468
|
users?: {
|
|
10062
10469
|
id: string;
|
|
10063
10470
|
user_id: string;
|
|
@@ -10084,7 +10491,9 @@ declare const ConversationSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
10084
10491
|
name: string;
|
|
10085
10492
|
team_id: string;
|
|
10086
10493
|
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
10494
|
+
license_id: string;
|
|
10087
10495
|
monetization: "none" | "pay-to-unlock" | "pay-per-use";
|
|
10496
|
+
state: "queued" | "in-progress" | "success" | "error";
|
|
10088
10497
|
user?: {
|
|
10089
10498
|
id?: string | undefined;
|
|
10090
10499
|
user_id?: string | undefined;
|
|
@@ -10162,16 +10571,14 @@ declare const ConversationSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
10162
10571
|
description?: string | null | undefined;
|
|
10163
10572
|
parent_id?: string | null | undefined;
|
|
10164
10573
|
parent?: Record<string, any> | undefined;
|
|
10574
|
+
license?: Record<string, any> | undefined;
|
|
10165
10575
|
name_url_slug?: string | null | undefined;
|
|
10166
10576
|
slug?: string | null | undefined;
|
|
10167
10577
|
price?: number | null | undefined;
|
|
10168
10578
|
unit_cost?: number | null | undefined;
|
|
10169
10579
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
10170
10580
|
cost_unit?: string | null | undefined;
|
|
10171
|
-
product_id?: string | null | undefined;
|
|
10172
|
-
price_id?: string | null | undefined;
|
|
10173
10581
|
preview?: Record<string, any>[] | null | undefined;
|
|
10174
|
-
state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
|
|
10175
10582
|
users?: {
|
|
10176
10583
|
id: string;
|
|
10177
10584
|
user_id: string;
|
|
@@ -10515,6 +10922,8 @@ declare const CreateConversationSchema: z.ZodObject<z.objectUtil.extendShape<Omi
|
|
|
10515
10922
|
}>>;
|
|
10516
10923
|
parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10517
10924
|
parent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
10925
|
+
license_id: z.ZodString;
|
|
10926
|
+
license: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
10518
10927
|
asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
|
|
10519
10928
|
name: z.ZodString;
|
|
10520
10929
|
name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -10526,11 +10935,24 @@ declare const CreateConversationSchema: z.ZodObject<z.objectUtil.extendShape<Omi
|
|
|
10526
10935
|
unit_cost: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
10527
10936
|
cost_accounting: z.ZodOptional<z.ZodNullable<z.ZodEnum<["fixed", "variable"]>>>;
|
|
10528
10937
|
cost_unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10529
|
-
|
|
10530
|
-
|
|
10531
|
-
|
|
10938
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
10939
|
+
doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10940
|
+
external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10941
|
+
originality: z.ZodEnum<["original", "derivative", "third-party"]>;
|
|
10942
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10943
|
+
}, "strip", z.ZodTypeAny, {
|
|
10944
|
+
originality: "original" | "derivative" | "third-party";
|
|
10945
|
+
doi_url?: string | null | undefined;
|
|
10946
|
+
external_url?: string | null | undefined;
|
|
10947
|
+
source?: string | null | undefined;
|
|
10948
|
+
}, {
|
|
10949
|
+
originality: "original" | "derivative" | "third-party";
|
|
10950
|
+
doi_url?: string | null | undefined;
|
|
10951
|
+
external_url?: string | null | undefined;
|
|
10952
|
+
source?: string | null | undefined;
|
|
10953
|
+
}>>>;
|
|
10532
10954
|
preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>;
|
|
10533
|
-
state: z.
|
|
10955
|
+
state: z.ZodEnum<["queued", "in-progress", "success", "error"]>;
|
|
10534
10956
|
created_at: z.ZodString;
|
|
10535
10957
|
last_updated: z.ZodString;
|
|
10536
10958
|
}, {
|
|
@@ -10602,7 +11024,9 @@ declare const CreateConversationSchema: z.ZodObject<z.objectUtil.extendShape<Omi
|
|
|
10602
11024
|
name: string;
|
|
10603
11025
|
team_id: string;
|
|
10604
11026
|
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
11027
|
+
license_id: string;
|
|
10605
11028
|
monetization: "none" | "pay-to-unlock" | "pay-per-use";
|
|
11029
|
+
state: "queued" | "in-progress" | "success" | "error";
|
|
10606
11030
|
user?: {
|
|
10607
11031
|
id?: string | undefined;
|
|
10608
11032
|
user_id?: string | undefined;
|
|
@@ -10679,16 +11103,14 @@ declare const CreateConversationSchema: z.ZodObject<z.objectUtil.extendShape<Omi
|
|
|
10679
11103
|
description?: string | null | undefined;
|
|
10680
11104
|
parent_id?: string | null | undefined;
|
|
10681
11105
|
parent?: Record<string, any> | undefined;
|
|
11106
|
+
license?: Record<string, any> | undefined;
|
|
10682
11107
|
name_url_slug?: string | null | undefined;
|
|
10683
11108
|
slug?: string | null | undefined;
|
|
10684
11109
|
price?: number | null | undefined;
|
|
10685
11110
|
unit_cost?: number | null | undefined;
|
|
10686
11111
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
10687
11112
|
cost_unit?: string | null | undefined;
|
|
10688
|
-
product_id?: string | null | undefined;
|
|
10689
|
-
price_id?: string | null | undefined;
|
|
10690
11113
|
preview?: Record<string, any>[] | null | undefined;
|
|
10691
|
-
state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
|
|
10692
11114
|
users?: {
|
|
10693
11115
|
id: string;
|
|
10694
11116
|
user_id: string;
|
|
@@ -10708,6 +11130,8 @@ declare const CreateConversationSchema: z.ZodObject<z.objectUtil.extendShape<Omi
|
|
|
10708
11130
|
members: string[];
|
|
10709
11131
|
};
|
|
10710
11132
|
name: string;
|
|
11133
|
+
license_id: string;
|
|
11134
|
+
state: "queued" | "in-progress" | "success" | "error";
|
|
10711
11135
|
user?: {
|
|
10712
11136
|
id?: string | undefined;
|
|
10713
11137
|
user_id?: string | undefined;
|
|
@@ -10789,6 +11213,7 @@ declare const CreateConversationSchema: z.ZodObject<z.objectUtil.extendShape<Omi
|
|
|
10789
11213
|
description?: string | null | undefined;
|
|
10790
11214
|
parent_id?: string | null | undefined;
|
|
10791
11215
|
parent?: Record<string, any> | undefined;
|
|
11216
|
+
license?: Record<string, any> | undefined;
|
|
10792
11217
|
name_url_slug?: string | null | undefined;
|
|
10793
11218
|
slug?: string | null | undefined;
|
|
10794
11219
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
@@ -10796,10 +11221,7 @@ declare const CreateConversationSchema: z.ZodObject<z.objectUtil.extendShape<Omi
|
|
|
10796
11221
|
unit_cost?: number | null | undefined;
|
|
10797
11222
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
10798
11223
|
cost_unit?: string | null | undefined;
|
|
10799
|
-
product_id?: string | null | undefined;
|
|
10800
|
-
price_id?: string | null | undefined;
|
|
10801
11224
|
preview?: Record<string, any>[] | null | undefined;
|
|
10802
|
-
state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
|
|
10803
11225
|
users?: {
|
|
10804
11226
|
id: string;
|
|
10805
11227
|
user_id: string;
|
|
@@ -10829,16 +11251,16 @@ declare const UpdateConversationSchema: z.ZodObject<{
|
|
|
10829
11251
|
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
10830
11252
|
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
10831
11253
|
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
11254
|
+
license_id: z.ZodOptional<z.ZodString>;
|
|
11255
|
+
license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
10832
11256
|
name_url_slug: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
10833
11257
|
monetization: z.ZodOptional<z.ZodDefault<z.ZodEnum<["none", "pay-to-unlock", "pay-per-use"]>>>;
|
|
10834
11258
|
price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
10835
11259
|
unit_cost: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
10836
11260
|
cost_accounting: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<["fixed", "variable"]>>>>;
|
|
10837
11261
|
cost_unit: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
10838
|
-
product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
10839
|
-
price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
10840
11262
|
preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>>;
|
|
10841
|
-
state: z.ZodOptional<z.
|
|
11263
|
+
state: z.ZodOptional<z.ZodEnum<["queued", "in-progress", "success", "error"]>>;
|
|
10842
11264
|
users: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
10843
11265
|
id: z.ZodString;
|
|
10844
11266
|
user_id: z.ZodString;
|
|
@@ -10893,16 +11315,16 @@ declare const UpdateConversationSchema: z.ZodObject<{
|
|
|
10893
11315
|
description?: string | null | undefined;
|
|
10894
11316
|
parent_id?: string | null | undefined;
|
|
10895
11317
|
parent?: Record<string, any> | undefined;
|
|
11318
|
+
license_id?: string | undefined;
|
|
11319
|
+
license?: Record<string, any> | undefined;
|
|
10896
11320
|
name_url_slug?: string | null | undefined;
|
|
10897
11321
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
10898
11322
|
price?: number | null | undefined;
|
|
10899
11323
|
unit_cost?: number | null | undefined;
|
|
10900
11324
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
10901
11325
|
cost_unit?: string | null | undefined;
|
|
10902
|
-
product_id?: string | null | undefined;
|
|
10903
|
-
price_id?: string | null | undefined;
|
|
10904
11326
|
preview?: Record<string, any>[] | null | undefined;
|
|
10905
|
-
state?: "queued" | "in-progress" | "success" | "error" |
|
|
11327
|
+
state?: "queued" | "in-progress" | "success" | "error" | undefined;
|
|
10906
11328
|
users?: {
|
|
10907
11329
|
id: string;
|
|
10908
11330
|
user_id: string;
|
|
@@ -10927,16 +11349,16 @@ declare const UpdateConversationSchema: z.ZodObject<{
|
|
|
10927
11349
|
description?: string | null | undefined;
|
|
10928
11350
|
parent_id?: string | null | undefined;
|
|
10929
11351
|
parent?: Record<string, any> | undefined;
|
|
11352
|
+
license_id?: string | undefined;
|
|
11353
|
+
license?: Record<string, any> | undefined;
|
|
10930
11354
|
name_url_slug?: string | null | undefined;
|
|
10931
11355
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
10932
11356
|
price?: number | null | undefined;
|
|
10933
11357
|
unit_cost?: number | null | undefined;
|
|
10934
11358
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
10935
11359
|
cost_unit?: string | null | undefined;
|
|
10936
|
-
product_id?: string | null | undefined;
|
|
10937
|
-
price_id?: string | null | undefined;
|
|
10938
11360
|
preview?: Record<string, any>[] | null | undefined;
|
|
10939
|
-
state?: "queued" | "in-progress" | "success" | "error" |
|
|
11361
|
+
state?: "queued" | "in-progress" | "success" | "error" | undefined;
|
|
10940
11362
|
users?: {
|
|
10941
11363
|
id: string;
|
|
10942
11364
|
user_id: string;
|
|
@@ -11404,6 +11826,8 @@ declare const DatasetSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
11404
11826
|
}>>;
|
|
11405
11827
|
parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11406
11828
|
parent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
11829
|
+
license_id: z.ZodString;
|
|
11830
|
+
license: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
11407
11831
|
asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
|
|
11408
11832
|
name: z.ZodString;
|
|
11409
11833
|
name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -11415,11 +11839,24 @@ declare const DatasetSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
11415
11839
|
unit_cost: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11416
11840
|
cost_accounting: z.ZodOptional<z.ZodNullable<z.ZodEnum<["fixed", "variable"]>>>;
|
|
11417
11841
|
cost_unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11418
|
-
|
|
11419
|
-
|
|
11420
|
-
|
|
11842
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
11843
|
+
doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11844
|
+
external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11845
|
+
originality: z.ZodEnum<["original", "derivative", "third-party"]>;
|
|
11846
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11847
|
+
}, "strip", z.ZodTypeAny, {
|
|
11848
|
+
originality: "original" | "derivative" | "third-party";
|
|
11849
|
+
doi_url?: string | null | undefined;
|
|
11850
|
+
external_url?: string | null | undefined;
|
|
11851
|
+
source?: string | null | undefined;
|
|
11852
|
+
}, {
|
|
11853
|
+
originality: "original" | "derivative" | "third-party";
|
|
11854
|
+
doi_url?: string | null | undefined;
|
|
11855
|
+
external_url?: string | null | undefined;
|
|
11856
|
+
source?: string | null | undefined;
|
|
11857
|
+
}>>>;
|
|
11421
11858
|
preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>;
|
|
11422
|
-
state: z.
|
|
11859
|
+
state: z.ZodEnum<["queued", "in-progress", "success", "error"]>;
|
|
11423
11860
|
created_at: z.ZodString;
|
|
11424
11861
|
last_updated: z.ZodString;
|
|
11425
11862
|
}, {
|
|
@@ -11482,8 +11919,10 @@ declare const DatasetSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
11482
11919
|
name: string;
|
|
11483
11920
|
team_id: string;
|
|
11484
11921
|
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
11922
|
+
license_id: string;
|
|
11485
11923
|
monetization: "none" | "pay-to-unlock" | "pay-per-use";
|
|
11486
11924
|
preview: Record<string, any>[];
|
|
11925
|
+
state: "queued" | "in-progress" | "success" | "error";
|
|
11487
11926
|
user?: {
|
|
11488
11927
|
id?: string | undefined;
|
|
11489
11928
|
user_id?: string | undefined;
|
|
@@ -11560,15 +11999,13 @@ declare const DatasetSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
11560
11999
|
description?: string | null | undefined;
|
|
11561
12000
|
parent_id?: string | null | undefined;
|
|
11562
12001
|
parent?: Record<string, any> | undefined;
|
|
12002
|
+
license?: Record<string, any> | undefined;
|
|
11563
12003
|
name_url_slug?: string | null | undefined;
|
|
11564
12004
|
slug?: string | null | undefined;
|
|
11565
12005
|
price?: number | null | undefined;
|
|
11566
12006
|
unit_cost?: number | null | undefined;
|
|
11567
12007
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
11568
12008
|
cost_unit?: string | null | undefined;
|
|
11569
|
-
product_id?: string | null | undefined;
|
|
11570
|
-
price_id?: string | null | undefined;
|
|
11571
|
-
state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
|
|
11572
12009
|
}, {
|
|
11573
12010
|
id: string;
|
|
11574
12011
|
user_id: string;
|
|
@@ -11590,8 +12027,10 @@ declare const DatasetSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
11590
12027
|
name: string;
|
|
11591
12028
|
team_id: string;
|
|
11592
12029
|
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
12030
|
+
license_id: string;
|
|
11593
12031
|
monetization: "none" | "pay-to-unlock" | "pay-per-use";
|
|
11594
12032
|
preview: Record<string, any>[];
|
|
12033
|
+
state: "queued" | "in-progress" | "success" | "error";
|
|
11595
12034
|
user?: {
|
|
11596
12035
|
id?: string | undefined;
|
|
11597
12036
|
user_id?: string | undefined;
|
|
@@ -11669,15 +12108,13 @@ declare const DatasetSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
11669
12108
|
description?: string | null | undefined;
|
|
11670
12109
|
parent_id?: string | null | undefined;
|
|
11671
12110
|
parent?: Record<string, any> | undefined;
|
|
12111
|
+
license?: Record<string, any> | undefined;
|
|
11672
12112
|
name_url_slug?: string | null | undefined;
|
|
11673
12113
|
slug?: string | null | undefined;
|
|
11674
12114
|
price?: number | null | undefined;
|
|
11675
12115
|
unit_cost?: number | null | undefined;
|
|
11676
12116
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
11677
12117
|
cost_unit?: string | null | undefined;
|
|
11678
|
-
product_id?: string | null | undefined;
|
|
11679
|
-
price_id?: string | null | undefined;
|
|
11680
|
-
state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
|
|
11681
12118
|
}>;
|
|
11682
12119
|
declare const CreateDatasetFromFileSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<Omit<{
|
|
11683
12120
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -12007,6 +12444,8 @@ declare const CreateDatasetFromFileSchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
12007
12444
|
}>>>;
|
|
12008
12445
|
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
12009
12446
|
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
12447
|
+
license_id: z.ZodOptional<z.ZodString>;
|
|
12448
|
+
license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
12010
12449
|
asset_type: z.ZodOptional<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>>;
|
|
12011
12450
|
name: z.ZodOptional<z.ZodString>;
|
|
12012
12451
|
name_url_slug: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -12018,14 +12457,27 @@ declare const CreateDatasetFromFileSchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
12018
12457
|
unit_cost: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
12019
12458
|
cost_accounting: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<["fixed", "variable"]>>>>;
|
|
12020
12459
|
cost_unit: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
12021
|
-
|
|
12022
|
-
|
|
12023
|
-
|
|
12460
|
+
metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
12461
|
+
doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12462
|
+
external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12463
|
+
originality: z.ZodEnum<["original", "derivative", "third-party"]>;
|
|
12464
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12465
|
+
}, "strip", z.ZodTypeAny, {
|
|
12466
|
+
originality: "original" | "derivative" | "third-party";
|
|
12467
|
+
doi_url?: string | null | undefined;
|
|
12468
|
+
external_url?: string | null | undefined;
|
|
12469
|
+
source?: string | null | undefined;
|
|
12470
|
+
}, {
|
|
12471
|
+
originality: "original" | "derivative" | "third-party";
|
|
12472
|
+
doi_url?: string | null | undefined;
|
|
12473
|
+
external_url?: string | null | undefined;
|
|
12474
|
+
source?: string | null | undefined;
|
|
12475
|
+
}>>>>;
|
|
12024
12476
|
preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>>;
|
|
12025
|
-
state: z.ZodOptional<z.
|
|
12477
|
+
state: z.ZodOptional<z.ZodEnum<["queued", "in-progress", "success", "error"]>>;
|
|
12026
12478
|
created_at: z.ZodOptional<z.ZodString>;
|
|
12027
12479
|
last_updated: z.ZodOptional<z.ZodString>;
|
|
12028
|
-
}, "user" | "organization" | "team" | "user_id" | "slug">, {
|
|
12480
|
+
}, "user" | "organization" | "team" | "user_id" | "license" | "slug">, {
|
|
12029
12481
|
id: z.ZodDefault<z.ZodString>;
|
|
12030
12482
|
team_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
12031
12483
|
org_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
@@ -12099,14 +12551,13 @@ declare const CreateDatasetFromFileSchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
12099
12551
|
description?: string | null | undefined;
|
|
12100
12552
|
parent_id?: string | null | undefined;
|
|
12101
12553
|
parent?: Record<string, any> | undefined;
|
|
12554
|
+
license_id?: string | undefined;
|
|
12102
12555
|
name_url_slug?: string | null | undefined;
|
|
12103
12556
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
12104
12557
|
price?: number | null | undefined;
|
|
12105
12558
|
unit_cost?: number | null | undefined;
|
|
12106
12559
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
12107
12560
|
cost_unit?: string | null | undefined;
|
|
12108
|
-
product_id?: string | null | undefined;
|
|
12109
|
-
price_id?: string | null | undefined;
|
|
12110
12561
|
}, {
|
|
12111
12562
|
metadata: {
|
|
12112
12563
|
id: string;
|
|
@@ -12132,14 +12583,13 @@ declare const CreateDatasetFromFileSchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
12132
12583
|
description?: string | null | undefined;
|
|
12133
12584
|
parent_id?: string | null | undefined;
|
|
12134
12585
|
parent?: Record<string, any> | undefined;
|
|
12586
|
+
license_id?: string | undefined;
|
|
12135
12587
|
name_url_slug?: string | null | undefined;
|
|
12136
12588
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
12137
12589
|
price?: number | null | undefined;
|
|
12138
12590
|
unit_cost?: number | null | undefined;
|
|
12139
12591
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
12140
12592
|
cost_unit?: string | null | undefined;
|
|
12141
|
-
product_id?: string | null | undefined;
|
|
12142
|
-
price_id?: string | null | undefined;
|
|
12143
12593
|
state?: "queued" | "in-progress" | "success" | "error" | undefined;
|
|
12144
12594
|
}>;
|
|
12145
12595
|
declare const CreateDatasetFromSchemaSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<Omit<{
|
|
@@ -12470,6 +12920,8 @@ declare const CreateDatasetFromSchemaSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
12470
12920
|
}>>>;
|
|
12471
12921
|
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
12472
12922
|
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
12923
|
+
license_id: z.ZodOptional<z.ZodString>;
|
|
12924
|
+
license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
12473
12925
|
asset_type: z.ZodOptional<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>>;
|
|
12474
12926
|
name: z.ZodOptional<z.ZodString>;
|
|
12475
12927
|
name_url_slug: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -12481,14 +12933,27 @@ declare const CreateDatasetFromSchemaSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
12481
12933
|
unit_cost: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
12482
12934
|
cost_accounting: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<["fixed", "variable"]>>>>;
|
|
12483
12935
|
cost_unit: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
12484
|
-
|
|
12485
|
-
|
|
12486
|
-
|
|
12936
|
+
metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
12937
|
+
doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12938
|
+
external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12939
|
+
originality: z.ZodEnum<["original", "derivative", "third-party"]>;
|
|
12940
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12941
|
+
}, "strip", z.ZodTypeAny, {
|
|
12942
|
+
originality: "original" | "derivative" | "third-party";
|
|
12943
|
+
doi_url?: string | null | undefined;
|
|
12944
|
+
external_url?: string | null | undefined;
|
|
12945
|
+
source?: string | null | undefined;
|
|
12946
|
+
}, {
|
|
12947
|
+
originality: "original" | "derivative" | "third-party";
|
|
12948
|
+
doi_url?: string | null | undefined;
|
|
12949
|
+
external_url?: string | null | undefined;
|
|
12950
|
+
source?: string | null | undefined;
|
|
12951
|
+
}>>>>;
|
|
12487
12952
|
preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>>;
|
|
12488
|
-
state: z.ZodOptional<z.
|
|
12953
|
+
state: z.ZodOptional<z.ZodEnum<["queued", "in-progress", "success", "error"]>>;
|
|
12489
12954
|
created_at: z.ZodOptional<z.ZodString>;
|
|
12490
12955
|
last_updated: z.ZodOptional<z.ZodString>;
|
|
12491
|
-
}, "user" | "organization" | "team" | "user_id" | "slug">, {
|
|
12956
|
+
}, "user" | "organization" | "team" | "user_id" | "license" | "slug">, {
|
|
12492
12957
|
id: z.ZodDefault<z.ZodString>;
|
|
12493
12958
|
team_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
12494
12959
|
org_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
@@ -12533,14 +12998,13 @@ declare const CreateDatasetFromSchemaSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
12533
12998
|
description?: string | null | undefined;
|
|
12534
12999
|
parent_id?: string | null | undefined;
|
|
12535
13000
|
parent?: Record<string, any> | undefined;
|
|
13001
|
+
license_id?: string | undefined;
|
|
12536
13002
|
name_url_slug?: string | null | undefined;
|
|
12537
13003
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
12538
13004
|
price?: number | null | undefined;
|
|
12539
13005
|
unit_cost?: number | null | undefined;
|
|
12540
13006
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
12541
13007
|
cost_unit?: string | null | undefined;
|
|
12542
|
-
product_id?: string | null | undefined;
|
|
12543
|
-
price_id?: string | null | undefined;
|
|
12544
13008
|
}, {
|
|
12545
13009
|
metadata: {
|
|
12546
13010
|
table_name: string;
|
|
@@ -12559,14 +13023,13 @@ declare const CreateDatasetFromSchemaSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
12559
13023
|
description?: string | null | undefined;
|
|
12560
13024
|
parent_id?: string | null | undefined;
|
|
12561
13025
|
parent?: Record<string, any> | undefined;
|
|
13026
|
+
license_id?: string | undefined;
|
|
12562
13027
|
name_url_slug?: string | null | undefined;
|
|
12563
13028
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
12564
13029
|
price?: number | null | undefined;
|
|
12565
13030
|
unit_cost?: number | null | undefined;
|
|
12566
13031
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
12567
13032
|
cost_unit?: string | null | undefined;
|
|
12568
|
-
product_id?: string | null | undefined;
|
|
12569
|
-
price_id?: string | null | undefined;
|
|
12570
13033
|
state?: "queued" | "in-progress" | "success" | "error" | undefined;
|
|
12571
13034
|
}>;
|
|
12572
13035
|
declare const updateDatasetSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
@@ -12897,6 +13360,8 @@ declare const updateDatasetSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
12897
13360
|
}>>>;
|
|
12898
13361
|
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
12899
13362
|
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
13363
|
+
license_id: z.ZodOptional<z.ZodString>;
|
|
13364
|
+
license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
12900
13365
|
name: z.ZodOptional<z.ZodString>;
|
|
12901
13366
|
name_url_slug: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
12902
13367
|
slug: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -12907,9 +13372,7 @@ declare const updateDatasetSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
12907
13372
|
unit_cost: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
12908
13373
|
cost_accounting: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<["fixed", "variable"]>>>>;
|
|
12909
13374
|
cost_unit: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
12910
|
-
|
|
12911
|
-
price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
12912
|
-
state: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<["queued", "in-progress", "success", "error"]>>>>;
|
|
13375
|
+
state: z.ZodOptional<z.ZodEnum<["queued", "in-progress", "success", "error"]>>;
|
|
12913
13376
|
created_at: z.ZodOptional<z.ZodString>;
|
|
12914
13377
|
last_updated: z.ZodOptional<z.ZodString>;
|
|
12915
13378
|
asset_type: z.ZodOptional<z.ZodDefault<z.ZodLiteral<"dataset">>>;
|
|
@@ -12974,16 +13437,16 @@ declare const updateDatasetSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
12974
13437
|
description?: string | null | undefined;
|
|
12975
13438
|
parent_id?: string | null | undefined;
|
|
12976
13439
|
parent?: Record<string, any> | undefined;
|
|
13440
|
+
license_id?: string | undefined;
|
|
13441
|
+
license?: Record<string, any> | undefined;
|
|
12977
13442
|
name_url_slug?: string | null | undefined;
|
|
12978
13443
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
12979
13444
|
price?: number | null | undefined;
|
|
12980
13445
|
unit_cost?: number | null | undefined;
|
|
12981
13446
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
12982
13447
|
cost_unit?: string | null | undefined;
|
|
12983
|
-
product_id?: string | null | undefined;
|
|
12984
|
-
price_id?: string | null | undefined;
|
|
12985
13448
|
preview?: Record<string, any>[] | undefined;
|
|
12986
|
-
state?: "queued" | "in-progress" | "success" | "error" |
|
|
13449
|
+
state?: "queued" | "in-progress" | "success" | "error" | undefined;
|
|
12987
13450
|
}, {
|
|
12988
13451
|
org_id?: string | undefined;
|
|
12989
13452
|
asset_type?: "dataset" | undefined;
|
|
@@ -13006,16 +13469,16 @@ declare const updateDatasetSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
13006
13469
|
description?: string | null | undefined;
|
|
13007
13470
|
parent_id?: string | null | undefined;
|
|
13008
13471
|
parent?: Record<string, any> | undefined;
|
|
13472
|
+
license_id?: string | undefined;
|
|
13473
|
+
license?: Record<string, any> | undefined;
|
|
13009
13474
|
name_url_slug?: string | null | undefined;
|
|
13010
13475
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
13011
13476
|
price?: number | null | undefined;
|
|
13012
13477
|
unit_cost?: number | null | undefined;
|
|
13013
13478
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
13014
13479
|
cost_unit?: string | null | undefined;
|
|
13015
|
-
product_id?: string | null | undefined;
|
|
13016
|
-
price_id?: string | null | undefined;
|
|
13017
13480
|
preview?: Record<string, any>[] | undefined;
|
|
13018
|
-
state?: "queued" | "in-progress" | "success" | "error" |
|
|
13481
|
+
state?: "queued" | "in-progress" | "success" | "error" | undefined;
|
|
13019
13482
|
}>;
|
|
13020
13483
|
|
|
13021
13484
|
type Dataset = z.infer<typeof DatasetSchema>;
|
|
@@ -13449,6 +13912,8 @@ declare const serviceSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
13449
13912
|
}>>;
|
|
13450
13913
|
parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13451
13914
|
parent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
13915
|
+
license_id: z.ZodString;
|
|
13916
|
+
license: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
13452
13917
|
asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
|
|
13453
13918
|
name: z.ZodString;
|
|
13454
13919
|
name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -13460,11 +13925,24 @@ declare const serviceSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
13460
13925
|
unit_cost: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13461
13926
|
cost_accounting: z.ZodOptional<z.ZodNullable<z.ZodEnum<["fixed", "variable"]>>>;
|
|
13462
13927
|
cost_unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13463
|
-
|
|
13464
|
-
|
|
13465
|
-
|
|
13928
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
13929
|
+
doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13930
|
+
external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13931
|
+
originality: z.ZodEnum<["original", "derivative", "third-party"]>;
|
|
13932
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13933
|
+
}, "strip", z.ZodTypeAny, {
|
|
13934
|
+
originality: "original" | "derivative" | "third-party";
|
|
13935
|
+
doi_url?: string | null | undefined;
|
|
13936
|
+
external_url?: string | null | undefined;
|
|
13937
|
+
source?: string | null | undefined;
|
|
13938
|
+
}, {
|
|
13939
|
+
originality: "original" | "derivative" | "third-party";
|
|
13940
|
+
doi_url?: string | null | undefined;
|
|
13941
|
+
external_url?: string | null | undefined;
|
|
13942
|
+
source?: string | null | undefined;
|
|
13943
|
+
}>>>;
|
|
13466
13944
|
preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>;
|
|
13467
|
-
state: z.
|
|
13945
|
+
state: z.ZodEnum<["queued", "in-progress", "success", "error"]>;
|
|
13468
13946
|
created_at: z.ZodString;
|
|
13469
13947
|
last_updated: z.ZodString;
|
|
13470
13948
|
}, {
|
|
@@ -13501,7 +13979,9 @@ declare const serviceSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
13501
13979
|
name: string;
|
|
13502
13980
|
team_id: string;
|
|
13503
13981
|
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
13982
|
+
license_id: string;
|
|
13504
13983
|
monetization: "none" | "pay-to-unlock" | "pay-per-use";
|
|
13984
|
+
state: "queued" | "in-progress" | "success" | "error";
|
|
13505
13985
|
user?: {
|
|
13506
13986
|
id?: string | undefined;
|
|
13507
13987
|
user_id?: string | undefined;
|
|
@@ -13578,16 +14058,14 @@ declare const serviceSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
13578
14058
|
description?: string | null | undefined;
|
|
13579
14059
|
parent_id?: string | null | undefined;
|
|
13580
14060
|
parent?: Record<string, any> | undefined;
|
|
14061
|
+
license?: Record<string, any> | undefined;
|
|
13581
14062
|
name_url_slug?: string | null | undefined;
|
|
13582
14063
|
slug?: string | null | undefined;
|
|
13583
14064
|
price?: number | null | undefined;
|
|
13584
14065
|
unit_cost?: number | null | undefined;
|
|
13585
14066
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
13586
14067
|
cost_unit?: string | null | undefined;
|
|
13587
|
-
product_id?: string | null | undefined;
|
|
13588
|
-
price_id?: string | null | undefined;
|
|
13589
14068
|
preview?: Record<string, any>[] | null | undefined;
|
|
13590
|
-
state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
|
|
13591
14069
|
}, {
|
|
13592
14070
|
id: string;
|
|
13593
14071
|
user_id: string;
|
|
@@ -13604,7 +14082,9 @@ declare const serviceSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
13604
14082
|
name: string;
|
|
13605
14083
|
team_id: string;
|
|
13606
14084
|
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
14085
|
+
license_id: string;
|
|
13607
14086
|
monetization: "none" | "pay-to-unlock" | "pay-per-use";
|
|
14087
|
+
state: "queued" | "in-progress" | "success" | "error";
|
|
13608
14088
|
user?: {
|
|
13609
14089
|
id?: string | undefined;
|
|
13610
14090
|
user_id?: string | undefined;
|
|
@@ -13681,16 +14161,14 @@ declare const serviceSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
13681
14161
|
description?: string | null | undefined;
|
|
13682
14162
|
parent_id?: string | null | undefined;
|
|
13683
14163
|
parent?: Record<string, any> | undefined;
|
|
14164
|
+
license?: Record<string, any> | undefined;
|
|
13684
14165
|
name_url_slug?: string | null | undefined;
|
|
13685
14166
|
slug?: string | null | undefined;
|
|
13686
14167
|
price?: number | null | undefined;
|
|
13687
14168
|
unit_cost?: number | null | undefined;
|
|
13688
14169
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
13689
14170
|
cost_unit?: string | null | undefined;
|
|
13690
|
-
product_id?: string | null | undefined;
|
|
13691
|
-
price_id?: string | null | undefined;
|
|
13692
14171
|
preview?: Record<string, any>[] | null | undefined;
|
|
13693
|
-
state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
|
|
13694
14172
|
}>;
|
|
13695
14173
|
declare const routeDetailSchema: z.ZodObject<{
|
|
13696
14174
|
id: z.ZodString;
|
|
@@ -14072,6 +14550,8 @@ declare const routeSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
14072
14550
|
}>>;
|
|
14073
14551
|
parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14074
14552
|
parent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
14553
|
+
license_id: z.ZodString;
|
|
14554
|
+
license: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
14075
14555
|
asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
|
|
14076
14556
|
name: z.ZodString;
|
|
14077
14557
|
name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -14083,11 +14563,24 @@ declare const routeSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
14083
14563
|
unit_cost: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14084
14564
|
cost_accounting: z.ZodOptional<z.ZodNullable<z.ZodEnum<["fixed", "variable"]>>>;
|
|
14085
14565
|
cost_unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14086
|
-
|
|
14087
|
-
|
|
14088
|
-
|
|
14566
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
14567
|
+
doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14568
|
+
external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14569
|
+
originality: z.ZodEnum<["original", "derivative", "third-party"]>;
|
|
14570
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14571
|
+
}, "strip", z.ZodTypeAny, {
|
|
14572
|
+
originality: "original" | "derivative" | "third-party";
|
|
14573
|
+
doi_url?: string | null | undefined;
|
|
14574
|
+
external_url?: string | null | undefined;
|
|
14575
|
+
source?: string | null | undefined;
|
|
14576
|
+
}, {
|
|
14577
|
+
originality: "original" | "derivative" | "third-party";
|
|
14578
|
+
doi_url?: string | null | undefined;
|
|
14579
|
+
external_url?: string | null | undefined;
|
|
14580
|
+
source?: string | null | undefined;
|
|
14581
|
+
}>>>;
|
|
14089
14582
|
preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>;
|
|
14090
|
-
state: z.
|
|
14583
|
+
state: z.ZodEnum<["queued", "in-progress", "success", "error"]>;
|
|
14091
14584
|
created_at: z.ZodString;
|
|
14092
14585
|
last_updated: z.ZodString;
|
|
14093
14586
|
}, {
|
|
@@ -14172,7 +14665,9 @@ declare const routeSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
14172
14665
|
name: string;
|
|
14173
14666
|
team_id: string;
|
|
14174
14667
|
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
14668
|
+
license_id: string;
|
|
14175
14669
|
monetization: "none" | "pay-to-unlock" | "pay-per-use";
|
|
14670
|
+
state: "queued" | "in-progress" | "success" | "error";
|
|
14176
14671
|
user?: {
|
|
14177
14672
|
id?: string | undefined;
|
|
14178
14673
|
user_id?: string | undefined;
|
|
@@ -14246,20 +14741,23 @@ declare const routeSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
14246
14741
|
} | null | undefined;
|
|
14247
14742
|
}[] | undefined;
|
|
14248
14743
|
} | undefined;
|
|
14249
|
-
metadata?:
|
|
14744
|
+
metadata?: {
|
|
14745
|
+
originality: "original" | "derivative" | "third-party";
|
|
14746
|
+
doi_url?: string | null | undefined;
|
|
14747
|
+
external_url?: string | null | undefined;
|
|
14748
|
+
source?: string | null | undefined;
|
|
14749
|
+
} | null | undefined;
|
|
14250
14750
|
description?: string | null | undefined;
|
|
14251
14751
|
parent_id?: string | null | undefined;
|
|
14252
14752
|
parent?: Record<string, any> | undefined;
|
|
14753
|
+
license?: Record<string, any> | undefined;
|
|
14253
14754
|
name_url_slug?: string | null | undefined;
|
|
14254
14755
|
slug?: string | null | undefined;
|
|
14255
14756
|
price?: number | null | undefined;
|
|
14256
14757
|
unit_cost?: number | null | undefined;
|
|
14257
14758
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
14258
14759
|
cost_unit?: string | null | undefined;
|
|
14259
|
-
product_id?: string | null | undefined;
|
|
14260
|
-
price_id?: string | null | undefined;
|
|
14261
14760
|
preview?: Record<string, any>[] | null | undefined;
|
|
14262
|
-
state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
|
|
14263
14761
|
}, {
|
|
14264
14762
|
route: {
|
|
14265
14763
|
id: string;
|
|
@@ -14288,7 +14786,9 @@ declare const routeSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
14288
14786
|
name: string;
|
|
14289
14787
|
team_id: string;
|
|
14290
14788
|
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
14789
|
+
license_id: string;
|
|
14291
14790
|
monetization: "none" | "pay-to-unlock" | "pay-per-use";
|
|
14791
|
+
state: "queued" | "in-progress" | "success" | "error";
|
|
14292
14792
|
user?: {
|
|
14293
14793
|
id?: string | undefined;
|
|
14294
14794
|
user_id?: string | undefined;
|
|
@@ -14362,20 +14862,23 @@ declare const routeSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
14362
14862
|
} | null | undefined;
|
|
14363
14863
|
}[] | undefined;
|
|
14364
14864
|
} | undefined;
|
|
14365
|
-
metadata?:
|
|
14865
|
+
metadata?: {
|
|
14866
|
+
originality: "original" | "derivative" | "third-party";
|
|
14867
|
+
doi_url?: string | null | undefined;
|
|
14868
|
+
external_url?: string | null | undefined;
|
|
14869
|
+
source?: string | null | undefined;
|
|
14870
|
+
} | null | undefined;
|
|
14366
14871
|
description?: string | null | undefined;
|
|
14367
14872
|
parent_id?: string | null | undefined;
|
|
14368
14873
|
parent?: Record<string, any> | undefined;
|
|
14874
|
+
license?: Record<string, any> | undefined;
|
|
14369
14875
|
name_url_slug?: string | null | undefined;
|
|
14370
14876
|
slug?: string | null | undefined;
|
|
14371
14877
|
price?: number | null | undefined;
|
|
14372
14878
|
unit_cost?: number | null | undefined;
|
|
14373
14879
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
14374
14880
|
cost_unit?: string | null | undefined;
|
|
14375
|
-
product_id?: string | null | undefined;
|
|
14376
|
-
price_id?: string | null | undefined;
|
|
14377
14881
|
preview?: Record<string, any>[] | null | undefined;
|
|
14378
|
-
state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
|
|
14379
14882
|
}>;
|
|
14380
14883
|
declare const ActionSchema: z.ZodObject<{
|
|
14381
14884
|
id: z.ZodString;
|
|
@@ -14714,6 +15217,8 @@ declare const ActionSchema: z.ZodObject<{
|
|
|
14714
15217
|
}>>;
|
|
14715
15218
|
parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14716
15219
|
parent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
15220
|
+
license_id: z.ZodString;
|
|
15221
|
+
license: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
14717
15222
|
asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
|
|
14718
15223
|
name: z.ZodString;
|
|
14719
15224
|
name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -14725,11 +15230,24 @@ declare const ActionSchema: z.ZodObject<{
|
|
|
14725
15230
|
unit_cost: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14726
15231
|
cost_accounting: z.ZodOptional<z.ZodNullable<z.ZodEnum<["fixed", "variable"]>>>;
|
|
14727
15232
|
cost_unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14728
|
-
|
|
14729
|
-
|
|
14730
|
-
|
|
15233
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15234
|
+
doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15235
|
+
external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15236
|
+
originality: z.ZodEnum<["original", "derivative", "third-party"]>;
|
|
15237
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15238
|
+
}, "strip", z.ZodTypeAny, {
|
|
15239
|
+
originality: "original" | "derivative" | "third-party";
|
|
15240
|
+
doi_url?: string | null | undefined;
|
|
15241
|
+
external_url?: string | null | undefined;
|
|
15242
|
+
source?: string | null | undefined;
|
|
15243
|
+
}, {
|
|
15244
|
+
originality: "original" | "derivative" | "third-party";
|
|
15245
|
+
doi_url?: string | null | undefined;
|
|
15246
|
+
external_url?: string | null | undefined;
|
|
15247
|
+
source?: string | null | undefined;
|
|
15248
|
+
}>>>;
|
|
14731
15249
|
preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>;
|
|
14732
|
-
state: z.
|
|
15250
|
+
state: z.ZodEnum<["queued", "in-progress", "success", "error"]>;
|
|
14733
15251
|
created_at: z.ZodString;
|
|
14734
15252
|
last_updated: z.ZodString;
|
|
14735
15253
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -14742,7 +15260,9 @@ declare const ActionSchema: z.ZodObject<{
|
|
|
14742
15260
|
name: string;
|
|
14743
15261
|
team_id: string;
|
|
14744
15262
|
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
15263
|
+
license_id: string;
|
|
14745
15264
|
monetization: "none" | "pay-to-unlock" | "pay-per-use";
|
|
15265
|
+
state: "queued" | "in-progress" | "success" | "error";
|
|
14746
15266
|
user?: {
|
|
14747
15267
|
id?: string | undefined;
|
|
14748
15268
|
user_id?: string | undefined;
|
|
@@ -14816,20 +15336,23 @@ declare const ActionSchema: z.ZodObject<{
|
|
|
14816
15336
|
} | null | undefined;
|
|
14817
15337
|
}[] | undefined;
|
|
14818
15338
|
} | undefined;
|
|
14819
|
-
metadata?:
|
|
15339
|
+
metadata?: {
|
|
15340
|
+
originality: "original" | "derivative" | "third-party";
|
|
15341
|
+
doi_url?: string | null | undefined;
|
|
15342
|
+
external_url?: string | null | undefined;
|
|
15343
|
+
source?: string | null | undefined;
|
|
15344
|
+
} | null | undefined;
|
|
14820
15345
|
description?: string | null | undefined;
|
|
14821
15346
|
parent_id?: string | null | undefined;
|
|
14822
15347
|
parent?: Record<string, any> | undefined;
|
|
15348
|
+
license?: Record<string, any> | undefined;
|
|
14823
15349
|
name_url_slug?: string | null | undefined;
|
|
14824
15350
|
slug?: string | null | undefined;
|
|
14825
15351
|
price?: number | null | undefined;
|
|
14826
15352
|
unit_cost?: number | null | undefined;
|
|
14827
15353
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
14828
15354
|
cost_unit?: string | null | undefined;
|
|
14829
|
-
product_id?: string | null | undefined;
|
|
14830
|
-
price_id?: string | null | undefined;
|
|
14831
15355
|
preview?: Record<string, any>[] | null | undefined;
|
|
14832
|
-
state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
|
|
14833
15356
|
}, {
|
|
14834
15357
|
id: string;
|
|
14835
15358
|
user_id: string;
|
|
@@ -14840,7 +15363,9 @@ declare const ActionSchema: z.ZodObject<{
|
|
|
14840
15363
|
name: string;
|
|
14841
15364
|
team_id: string;
|
|
14842
15365
|
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
15366
|
+
license_id: string;
|
|
14843
15367
|
monetization: "none" | "pay-to-unlock" | "pay-per-use";
|
|
15368
|
+
state: "queued" | "in-progress" | "success" | "error";
|
|
14844
15369
|
user?: {
|
|
14845
15370
|
id?: string | undefined;
|
|
14846
15371
|
user_id?: string | undefined;
|
|
@@ -14914,20 +15439,23 @@ declare const ActionSchema: z.ZodObject<{
|
|
|
14914
15439
|
} | null | undefined;
|
|
14915
15440
|
}[] | undefined;
|
|
14916
15441
|
} | undefined;
|
|
14917
|
-
metadata?:
|
|
15442
|
+
metadata?: {
|
|
15443
|
+
originality: "original" | "derivative" | "third-party";
|
|
15444
|
+
doi_url?: string | null | undefined;
|
|
15445
|
+
external_url?: string | null | undefined;
|
|
15446
|
+
source?: string | null | undefined;
|
|
15447
|
+
} | null | undefined;
|
|
14918
15448
|
description?: string | null | undefined;
|
|
14919
15449
|
parent_id?: string | null | undefined;
|
|
14920
15450
|
parent?: Record<string, any> | undefined;
|
|
15451
|
+
license?: Record<string, any> | undefined;
|
|
14921
15452
|
name_url_slug?: string | null | undefined;
|
|
14922
15453
|
slug?: string | null | undefined;
|
|
14923
15454
|
price?: number | null | undefined;
|
|
14924
15455
|
unit_cost?: number | null | undefined;
|
|
14925
15456
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
14926
15457
|
cost_unit?: string | null | undefined;
|
|
14927
|
-
product_id?: string | null | undefined;
|
|
14928
|
-
price_id?: string | null | undefined;
|
|
14929
15458
|
preview?: Record<string, any>[] | null | undefined;
|
|
14930
|
-
state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
|
|
14931
15459
|
}>>>;
|
|
14932
15460
|
output_asset: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
14933
15461
|
id: z.ZodString;
|
|
@@ -15257,6 +15785,8 @@ declare const ActionSchema: z.ZodObject<{
|
|
|
15257
15785
|
}>>;
|
|
15258
15786
|
parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15259
15787
|
parent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
15788
|
+
license_id: z.ZodString;
|
|
15789
|
+
license: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
15260
15790
|
asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
|
|
15261
15791
|
name: z.ZodString;
|
|
15262
15792
|
name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -15268,11 +15798,24 @@ declare const ActionSchema: z.ZodObject<{
|
|
|
15268
15798
|
unit_cost: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15269
15799
|
cost_accounting: z.ZodOptional<z.ZodNullable<z.ZodEnum<["fixed", "variable"]>>>;
|
|
15270
15800
|
cost_unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15271
|
-
|
|
15272
|
-
|
|
15273
|
-
|
|
15801
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15802
|
+
doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15803
|
+
external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15804
|
+
originality: z.ZodEnum<["original", "derivative", "third-party"]>;
|
|
15805
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15806
|
+
}, "strip", z.ZodTypeAny, {
|
|
15807
|
+
originality: "original" | "derivative" | "third-party";
|
|
15808
|
+
doi_url?: string | null | undefined;
|
|
15809
|
+
external_url?: string | null | undefined;
|
|
15810
|
+
source?: string | null | undefined;
|
|
15811
|
+
}, {
|
|
15812
|
+
originality: "original" | "derivative" | "third-party";
|
|
15813
|
+
doi_url?: string | null | undefined;
|
|
15814
|
+
external_url?: string | null | undefined;
|
|
15815
|
+
source?: string | null | undefined;
|
|
15816
|
+
}>>>;
|
|
15274
15817
|
preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>;
|
|
15275
|
-
state: z.
|
|
15818
|
+
state: z.ZodEnum<["queued", "in-progress", "success", "error"]>;
|
|
15276
15819
|
created_at: z.ZodString;
|
|
15277
15820
|
last_updated: z.ZodString;
|
|
15278
15821
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -15285,7 +15828,9 @@ declare const ActionSchema: z.ZodObject<{
|
|
|
15285
15828
|
name: string;
|
|
15286
15829
|
team_id: string;
|
|
15287
15830
|
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
15831
|
+
license_id: string;
|
|
15288
15832
|
monetization: "none" | "pay-to-unlock" | "pay-per-use";
|
|
15833
|
+
state: "queued" | "in-progress" | "success" | "error";
|
|
15289
15834
|
user?: {
|
|
15290
15835
|
id?: string | undefined;
|
|
15291
15836
|
user_id?: string | undefined;
|
|
@@ -15359,20 +15904,23 @@ declare const ActionSchema: z.ZodObject<{
|
|
|
15359
15904
|
} | null | undefined;
|
|
15360
15905
|
}[] | undefined;
|
|
15361
15906
|
} | undefined;
|
|
15362
|
-
metadata?:
|
|
15907
|
+
metadata?: {
|
|
15908
|
+
originality: "original" | "derivative" | "third-party";
|
|
15909
|
+
doi_url?: string | null | undefined;
|
|
15910
|
+
external_url?: string | null | undefined;
|
|
15911
|
+
source?: string | null | undefined;
|
|
15912
|
+
} | null | undefined;
|
|
15363
15913
|
description?: string | null | undefined;
|
|
15364
15914
|
parent_id?: string | null | undefined;
|
|
15365
15915
|
parent?: Record<string, any> | undefined;
|
|
15916
|
+
license?: Record<string, any> | undefined;
|
|
15366
15917
|
name_url_slug?: string | null | undefined;
|
|
15367
15918
|
slug?: string | null | undefined;
|
|
15368
15919
|
price?: number | null | undefined;
|
|
15369
15920
|
unit_cost?: number | null | undefined;
|
|
15370
15921
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
15371
15922
|
cost_unit?: string | null | undefined;
|
|
15372
|
-
product_id?: string | null | undefined;
|
|
15373
|
-
price_id?: string | null | undefined;
|
|
15374
15923
|
preview?: Record<string, any>[] | null | undefined;
|
|
15375
|
-
state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
|
|
15376
15924
|
}, {
|
|
15377
15925
|
id: string;
|
|
15378
15926
|
user_id: string;
|
|
@@ -15383,7 +15931,9 @@ declare const ActionSchema: z.ZodObject<{
|
|
|
15383
15931
|
name: string;
|
|
15384
15932
|
team_id: string;
|
|
15385
15933
|
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
15934
|
+
license_id: string;
|
|
15386
15935
|
monetization: "none" | "pay-to-unlock" | "pay-per-use";
|
|
15936
|
+
state: "queued" | "in-progress" | "success" | "error";
|
|
15387
15937
|
user?: {
|
|
15388
15938
|
id?: string | undefined;
|
|
15389
15939
|
user_id?: string | undefined;
|
|
@@ -15457,20 +16007,23 @@ declare const ActionSchema: z.ZodObject<{
|
|
|
15457
16007
|
} | null | undefined;
|
|
15458
16008
|
}[] | undefined;
|
|
15459
16009
|
} | undefined;
|
|
15460
|
-
metadata?:
|
|
16010
|
+
metadata?: {
|
|
16011
|
+
originality: "original" | "derivative" | "third-party";
|
|
16012
|
+
doi_url?: string | null | undefined;
|
|
16013
|
+
external_url?: string | null | undefined;
|
|
16014
|
+
source?: string | null | undefined;
|
|
16015
|
+
} | null | undefined;
|
|
15461
16016
|
description?: string | null | undefined;
|
|
15462
16017
|
parent_id?: string | null | undefined;
|
|
15463
16018
|
parent?: Record<string, any> | undefined;
|
|
16019
|
+
license?: Record<string, any> | undefined;
|
|
15464
16020
|
name_url_slug?: string | null | undefined;
|
|
15465
16021
|
slug?: string | null | undefined;
|
|
15466
16022
|
price?: number | null | undefined;
|
|
15467
16023
|
unit_cost?: number | null | undefined;
|
|
15468
16024
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
15469
16025
|
cost_unit?: string | null | undefined;
|
|
15470
|
-
product_id?: string | null | undefined;
|
|
15471
|
-
price_id?: string | null | undefined;
|
|
15472
16026
|
preview?: Record<string, any>[] | null | undefined;
|
|
15473
|
-
state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
|
|
15474
16027
|
}>>>;
|
|
15475
16028
|
status: z.ZodEnum<["queued", "in-progress", "success", "error", "done"]>;
|
|
15476
16029
|
created_at: z.ZodString;
|
|
@@ -15499,7 +16052,9 @@ declare const ActionSchema: z.ZodObject<{
|
|
|
15499
16052
|
name: string;
|
|
15500
16053
|
team_id: string;
|
|
15501
16054
|
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
16055
|
+
license_id: string;
|
|
15502
16056
|
monetization: "none" | "pay-to-unlock" | "pay-per-use";
|
|
16057
|
+
state: "queued" | "in-progress" | "success" | "error";
|
|
15503
16058
|
user?: {
|
|
15504
16059
|
id?: string | undefined;
|
|
15505
16060
|
user_id?: string | undefined;
|
|
@@ -15573,20 +16128,23 @@ declare const ActionSchema: z.ZodObject<{
|
|
|
15573
16128
|
} | null | undefined;
|
|
15574
16129
|
}[] | undefined;
|
|
15575
16130
|
} | undefined;
|
|
15576
|
-
metadata?:
|
|
16131
|
+
metadata?: {
|
|
16132
|
+
originality: "original" | "derivative" | "third-party";
|
|
16133
|
+
doi_url?: string | null | undefined;
|
|
16134
|
+
external_url?: string | null | undefined;
|
|
16135
|
+
source?: string | null | undefined;
|
|
16136
|
+
} | null | undefined;
|
|
15577
16137
|
description?: string | null | undefined;
|
|
15578
16138
|
parent_id?: string | null | undefined;
|
|
15579
16139
|
parent?: Record<string, any> | undefined;
|
|
16140
|
+
license?: Record<string, any> | undefined;
|
|
15580
16141
|
name_url_slug?: string | null | undefined;
|
|
15581
16142
|
slug?: string | null | undefined;
|
|
15582
16143
|
price?: number | null | undefined;
|
|
15583
16144
|
unit_cost?: number | null | undefined;
|
|
15584
16145
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
15585
16146
|
cost_unit?: string | null | undefined;
|
|
15586
|
-
product_id?: string | null | undefined;
|
|
15587
|
-
price_id?: string | null | undefined;
|
|
15588
16147
|
preview?: Record<string, any>[] | null | undefined;
|
|
15589
|
-
state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
|
|
15590
16148
|
} | null | undefined;
|
|
15591
16149
|
output_asset?: {
|
|
15592
16150
|
id: string;
|
|
@@ -15598,7 +16156,9 @@ declare const ActionSchema: z.ZodObject<{
|
|
|
15598
16156
|
name: string;
|
|
15599
16157
|
team_id: string;
|
|
15600
16158
|
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
16159
|
+
license_id: string;
|
|
15601
16160
|
monetization: "none" | "pay-to-unlock" | "pay-per-use";
|
|
16161
|
+
state: "queued" | "in-progress" | "success" | "error";
|
|
15602
16162
|
user?: {
|
|
15603
16163
|
id?: string | undefined;
|
|
15604
16164
|
user_id?: string | undefined;
|
|
@@ -15672,20 +16232,23 @@ declare const ActionSchema: z.ZodObject<{
|
|
|
15672
16232
|
} | null | undefined;
|
|
15673
16233
|
}[] | undefined;
|
|
15674
16234
|
} | undefined;
|
|
15675
|
-
metadata?:
|
|
16235
|
+
metadata?: {
|
|
16236
|
+
originality: "original" | "derivative" | "third-party";
|
|
16237
|
+
doi_url?: string | null | undefined;
|
|
16238
|
+
external_url?: string | null | undefined;
|
|
16239
|
+
source?: string | null | undefined;
|
|
16240
|
+
} | null | undefined;
|
|
15676
16241
|
description?: string | null | undefined;
|
|
15677
16242
|
parent_id?: string | null | undefined;
|
|
15678
16243
|
parent?: Record<string, any> | undefined;
|
|
16244
|
+
license?: Record<string, any> | undefined;
|
|
15679
16245
|
name_url_slug?: string | null | undefined;
|
|
15680
16246
|
slug?: string | null | undefined;
|
|
15681
16247
|
price?: number | null | undefined;
|
|
15682
16248
|
unit_cost?: number | null | undefined;
|
|
15683
16249
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
15684
16250
|
cost_unit?: string | null | undefined;
|
|
15685
|
-
product_id?: string | null | undefined;
|
|
15686
|
-
price_id?: string | null | undefined;
|
|
15687
16251
|
preview?: Record<string, any>[] | null | undefined;
|
|
15688
|
-
state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
|
|
15689
16252
|
} | null | undefined;
|
|
15690
16253
|
started_at?: string | null | undefined;
|
|
15691
16254
|
finished_at?: string | null | undefined;
|
|
@@ -15711,7 +16274,9 @@ declare const ActionSchema: z.ZodObject<{
|
|
|
15711
16274
|
name: string;
|
|
15712
16275
|
team_id: string;
|
|
15713
16276
|
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
16277
|
+
license_id: string;
|
|
15714
16278
|
monetization: "none" | "pay-to-unlock" | "pay-per-use";
|
|
16279
|
+
state: "queued" | "in-progress" | "success" | "error";
|
|
15715
16280
|
user?: {
|
|
15716
16281
|
id?: string | undefined;
|
|
15717
16282
|
user_id?: string | undefined;
|
|
@@ -15785,20 +16350,23 @@ declare const ActionSchema: z.ZodObject<{
|
|
|
15785
16350
|
} | null | undefined;
|
|
15786
16351
|
}[] | undefined;
|
|
15787
16352
|
} | undefined;
|
|
15788
|
-
metadata?:
|
|
16353
|
+
metadata?: {
|
|
16354
|
+
originality: "original" | "derivative" | "third-party";
|
|
16355
|
+
doi_url?: string | null | undefined;
|
|
16356
|
+
external_url?: string | null | undefined;
|
|
16357
|
+
source?: string | null | undefined;
|
|
16358
|
+
} | null | undefined;
|
|
15789
16359
|
description?: string | null | undefined;
|
|
15790
16360
|
parent_id?: string | null | undefined;
|
|
15791
16361
|
parent?: Record<string, any> | undefined;
|
|
16362
|
+
license?: Record<string, any> | undefined;
|
|
15792
16363
|
name_url_slug?: string | null | undefined;
|
|
15793
16364
|
slug?: string | null | undefined;
|
|
15794
16365
|
price?: number | null | undefined;
|
|
15795
16366
|
unit_cost?: number | null | undefined;
|
|
15796
16367
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
15797
16368
|
cost_unit?: string | null | undefined;
|
|
15798
|
-
product_id?: string | null | undefined;
|
|
15799
|
-
price_id?: string | null | undefined;
|
|
15800
16369
|
preview?: Record<string, any>[] | null | undefined;
|
|
15801
|
-
state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
|
|
15802
16370
|
} | null | undefined;
|
|
15803
16371
|
output_asset?: {
|
|
15804
16372
|
id: string;
|
|
@@ -15810,7 +16378,9 @@ declare const ActionSchema: z.ZodObject<{
|
|
|
15810
16378
|
name: string;
|
|
15811
16379
|
team_id: string;
|
|
15812
16380
|
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
16381
|
+
license_id: string;
|
|
15813
16382
|
monetization: "none" | "pay-to-unlock" | "pay-per-use";
|
|
16383
|
+
state: "queued" | "in-progress" | "success" | "error";
|
|
15814
16384
|
user?: {
|
|
15815
16385
|
id?: string | undefined;
|
|
15816
16386
|
user_id?: string | undefined;
|
|
@@ -15884,20 +16454,23 @@ declare const ActionSchema: z.ZodObject<{
|
|
|
15884
16454
|
} | null | undefined;
|
|
15885
16455
|
}[] | undefined;
|
|
15886
16456
|
} | undefined;
|
|
15887
|
-
metadata?:
|
|
16457
|
+
metadata?: {
|
|
16458
|
+
originality: "original" | "derivative" | "third-party";
|
|
16459
|
+
doi_url?: string | null | undefined;
|
|
16460
|
+
external_url?: string | null | undefined;
|
|
16461
|
+
source?: string | null | undefined;
|
|
16462
|
+
} | null | undefined;
|
|
15888
16463
|
description?: string | null | undefined;
|
|
15889
16464
|
parent_id?: string | null | undefined;
|
|
15890
16465
|
parent?: Record<string, any> | undefined;
|
|
16466
|
+
license?: Record<string, any> | undefined;
|
|
15891
16467
|
name_url_slug?: string | null | undefined;
|
|
15892
16468
|
slug?: string | null | undefined;
|
|
15893
16469
|
price?: number | null | undefined;
|
|
15894
16470
|
unit_cost?: number | null | undefined;
|
|
15895
16471
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
15896
16472
|
cost_unit?: string | null | undefined;
|
|
15897
|
-
product_id?: string | null | undefined;
|
|
15898
|
-
price_id?: string | null | undefined;
|
|
15899
16473
|
preview?: Record<string, any>[] | null | undefined;
|
|
15900
|
-
state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
|
|
15901
16474
|
} | null | undefined;
|
|
15902
16475
|
started_at?: string | null | undefined;
|
|
15903
16476
|
finished_at?: string | null | undefined;
|
|
@@ -16237,6 +16810,8 @@ declare const ReplicationSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
16237
16810
|
}>>;
|
|
16238
16811
|
parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16239
16812
|
parent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
16813
|
+
license_id: z.ZodString;
|
|
16814
|
+
license: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
16240
16815
|
asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
|
|
16241
16816
|
name: z.ZodString;
|
|
16242
16817
|
name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -16248,11 +16823,24 @@ declare const ReplicationSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
16248
16823
|
unit_cost: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16249
16824
|
cost_accounting: z.ZodOptional<z.ZodNullable<z.ZodEnum<["fixed", "variable"]>>>;
|
|
16250
16825
|
cost_unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16251
|
-
|
|
16252
|
-
|
|
16253
|
-
|
|
16826
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
16827
|
+
doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16828
|
+
external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16829
|
+
originality: z.ZodEnum<["original", "derivative", "third-party"]>;
|
|
16830
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16831
|
+
}, "strip", z.ZodTypeAny, {
|
|
16832
|
+
originality: "original" | "derivative" | "third-party";
|
|
16833
|
+
doi_url?: string | null | undefined;
|
|
16834
|
+
external_url?: string | null | undefined;
|
|
16835
|
+
source?: string | null | undefined;
|
|
16836
|
+
}, {
|
|
16837
|
+
originality: "original" | "derivative" | "third-party";
|
|
16838
|
+
doi_url?: string | null | undefined;
|
|
16839
|
+
external_url?: string | null | undefined;
|
|
16840
|
+
source?: string | null | undefined;
|
|
16841
|
+
}>>>;
|
|
16254
16842
|
preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>;
|
|
16255
|
-
state: z.
|
|
16843
|
+
state: z.ZodEnum<["queued", "in-progress", "success", "error"]>;
|
|
16256
16844
|
created_at: z.ZodString;
|
|
16257
16845
|
last_updated: z.ZodString;
|
|
16258
16846
|
}, {
|
|
@@ -16299,7 +16887,9 @@ declare const ReplicationSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
16299
16887
|
name: string;
|
|
16300
16888
|
team_id: string;
|
|
16301
16889
|
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
16890
|
+
license_id: string;
|
|
16302
16891
|
monetization: "none" | "pay-to-unlock" | "pay-per-use";
|
|
16892
|
+
state: "queued" | "in-progress" | "success" | "error";
|
|
16303
16893
|
user?: {
|
|
16304
16894
|
id?: string | undefined;
|
|
16305
16895
|
user_id?: string | undefined;
|
|
@@ -16376,16 +16966,14 @@ declare const ReplicationSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
16376
16966
|
description?: string | null | undefined;
|
|
16377
16967
|
parent_id?: string | null | undefined;
|
|
16378
16968
|
parent?: Record<string, any> | undefined;
|
|
16969
|
+
license?: Record<string, any> | undefined;
|
|
16379
16970
|
name_url_slug?: string | null | undefined;
|
|
16380
16971
|
slug?: string | null | undefined;
|
|
16381
16972
|
price?: number | null | undefined;
|
|
16382
16973
|
unit_cost?: number | null | undefined;
|
|
16383
16974
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
16384
16975
|
cost_unit?: string | null | undefined;
|
|
16385
|
-
product_id?: string | null | undefined;
|
|
16386
|
-
price_id?: string | null | undefined;
|
|
16387
16976
|
preview?: Record<string, any>[] | null | undefined;
|
|
16388
|
-
state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
|
|
16389
16977
|
}, {
|
|
16390
16978
|
id: string;
|
|
16391
16979
|
user_id: string;
|
|
@@ -16403,7 +16991,9 @@ declare const ReplicationSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
16403
16991
|
name: string;
|
|
16404
16992
|
team_id: string;
|
|
16405
16993
|
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
16994
|
+
license_id: string;
|
|
16406
16995
|
monetization: "none" | "pay-to-unlock" | "pay-per-use";
|
|
16996
|
+
state: "queued" | "in-progress" | "success" | "error";
|
|
16407
16997
|
user?: {
|
|
16408
16998
|
id?: string | undefined;
|
|
16409
16999
|
user_id?: string | undefined;
|
|
@@ -16480,16 +17070,14 @@ declare const ReplicationSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
16480
17070
|
description?: string | null | undefined;
|
|
16481
17071
|
parent_id?: string | null | undefined;
|
|
16482
17072
|
parent?: Record<string, any> | undefined;
|
|
17073
|
+
license?: Record<string, any> | undefined;
|
|
16483
17074
|
name_url_slug?: string | null | undefined;
|
|
16484
17075
|
slug?: string | null | undefined;
|
|
16485
17076
|
price?: number | null | undefined;
|
|
16486
17077
|
unit_cost?: number | null | undefined;
|
|
16487
17078
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
16488
17079
|
cost_unit?: string | null | undefined;
|
|
16489
|
-
product_id?: string | null | undefined;
|
|
16490
|
-
price_id?: string | null | undefined;
|
|
16491
17080
|
preview?: Record<string, any>[] | null | undefined;
|
|
16492
|
-
state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
|
|
16493
17081
|
}>;
|
|
16494
17082
|
declare const CreateReplicationSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
16495
17083
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -16819,6 +17407,8 @@ declare const CreateReplicationSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
16819
17407
|
}>>>;
|
|
16820
17408
|
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
16821
17409
|
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
17410
|
+
license_id: z.ZodOptional<z.ZodString>;
|
|
17411
|
+
license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
16822
17412
|
name: z.ZodOptional<z.ZodString>;
|
|
16823
17413
|
name_url_slug: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
16824
17414
|
slug: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -16829,10 +17419,8 @@ declare const CreateReplicationSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
16829
17419
|
unit_cost: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
16830
17420
|
cost_accounting: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<["fixed", "variable"]>>>>;
|
|
16831
17421
|
cost_unit: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
16832
|
-
product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
16833
|
-
price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
16834
17422
|
preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>>;
|
|
16835
|
-
state: z.ZodOptional<z.
|
|
17423
|
+
state: z.ZodOptional<z.ZodEnum<["queued", "in-progress", "success", "error"]>>;
|
|
16836
17424
|
created_at: z.ZodOptional<z.ZodString>;
|
|
16837
17425
|
last_updated: z.ZodOptional<z.ZodString>;
|
|
16838
17426
|
asset_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>, "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication", "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication">>;
|
|
@@ -16962,16 +17550,16 @@ declare const CreateReplicationSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
16962
17550
|
description?: string | null | undefined;
|
|
16963
17551
|
parent_id?: string | null | undefined;
|
|
16964
17552
|
parent?: Record<string, any> | undefined;
|
|
17553
|
+
license_id?: string | undefined;
|
|
17554
|
+
license?: Record<string, any> | undefined;
|
|
16965
17555
|
slug?: string | null | undefined;
|
|
16966
17556
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
16967
17557
|
price?: number | null | undefined;
|
|
16968
17558
|
unit_cost?: number | null | undefined;
|
|
16969
17559
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
16970
17560
|
cost_unit?: string | null | undefined;
|
|
16971
|
-
product_id?: string | null | undefined;
|
|
16972
|
-
price_id?: string | null | undefined;
|
|
16973
17561
|
preview?: Record<string, any>[] | null | undefined;
|
|
16974
|
-
state?: "queued" | "in-progress" | "success" | "error" |
|
|
17562
|
+
state?: "queued" | "in-progress" | "success" | "error" | undefined;
|
|
16975
17563
|
}, {
|
|
16976
17564
|
name_url_slug: string;
|
|
16977
17565
|
user?: {
|
|
@@ -17068,16 +17656,16 @@ declare const CreateReplicationSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
17068
17656
|
description?: string | null | undefined;
|
|
17069
17657
|
parent_id?: string | null | undefined;
|
|
17070
17658
|
parent?: Record<string, any> | undefined;
|
|
17659
|
+
license_id?: string | undefined;
|
|
17660
|
+
license?: Record<string, any> | undefined;
|
|
17071
17661
|
slug?: string | null | undefined;
|
|
17072
17662
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
17073
17663
|
price?: number | null | undefined;
|
|
17074
17664
|
unit_cost?: number | null | undefined;
|
|
17075
17665
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
17076
17666
|
cost_unit?: string | null | undefined;
|
|
17077
|
-
product_id?: string | null | undefined;
|
|
17078
|
-
price_id?: string | null | undefined;
|
|
17079
17667
|
preview?: Record<string, any>[] | null | undefined;
|
|
17080
|
-
state?: "queued" | "in-progress" | "success" | "error" |
|
|
17668
|
+
state?: "queued" | "in-progress" | "success" | "error" | undefined;
|
|
17081
17669
|
}>;
|
|
17082
17670
|
declare const UpdateReplicationSchema: z.ZodObject<{
|
|
17083
17671
|
team_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -17437,6 +18025,8 @@ declare const BlueprintSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
17437
18025
|
}>>;
|
|
17438
18026
|
parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17439
18027
|
parent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
18028
|
+
license_id: z.ZodString;
|
|
18029
|
+
license: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
17440
18030
|
asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
|
|
17441
18031
|
name: z.ZodString;
|
|
17442
18032
|
name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -17448,11 +18038,24 @@ declare const BlueprintSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
17448
18038
|
unit_cost: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17449
18039
|
cost_accounting: z.ZodOptional<z.ZodNullable<z.ZodEnum<["fixed", "variable"]>>>;
|
|
17450
18040
|
cost_unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17451
|
-
|
|
17452
|
-
|
|
17453
|
-
|
|
18041
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
18042
|
+
doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18043
|
+
external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18044
|
+
originality: z.ZodEnum<["original", "derivative", "third-party"]>;
|
|
18045
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18046
|
+
}, "strip", z.ZodTypeAny, {
|
|
18047
|
+
originality: "original" | "derivative" | "third-party";
|
|
18048
|
+
doi_url?: string | null | undefined;
|
|
18049
|
+
external_url?: string | null | undefined;
|
|
18050
|
+
source?: string | null | undefined;
|
|
18051
|
+
}, {
|
|
18052
|
+
originality: "original" | "derivative" | "third-party";
|
|
18053
|
+
doi_url?: string | null | undefined;
|
|
18054
|
+
external_url?: string | null | undefined;
|
|
18055
|
+
source?: string | null | undefined;
|
|
18056
|
+
}>>>;
|
|
17454
18057
|
preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>;
|
|
17455
|
-
state: z.
|
|
18058
|
+
state: z.ZodEnum<["queued", "in-progress", "success", "error"]>;
|
|
17456
18059
|
created_at: z.ZodString;
|
|
17457
18060
|
last_updated: z.ZodString;
|
|
17458
18061
|
}, {
|
|
@@ -17467,7 +18070,9 @@ declare const BlueprintSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
17467
18070
|
name: string;
|
|
17468
18071
|
team_id: string;
|
|
17469
18072
|
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
18073
|
+
license_id: string;
|
|
17470
18074
|
monetization: "none" | "pay-to-unlock" | "pay-per-use";
|
|
18075
|
+
state: "queued" | "in-progress" | "success" | "error";
|
|
17471
18076
|
user?: {
|
|
17472
18077
|
id?: string | undefined;
|
|
17473
18078
|
user_id?: string | undefined;
|
|
@@ -17541,20 +18146,23 @@ declare const BlueprintSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
17541
18146
|
} | null | undefined;
|
|
17542
18147
|
}[] | undefined;
|
|
17543
18148
|
} | undefined;
|
|
17544
|
-
metadata?:
|
|
18149
|
+
metadata?: {
|
|
18150
|
+
originality: "original" | "derivative" | "third-party";
|
|
18151
|
+
doi_url?: string | null | undefined;
|
|
18152
|
+
external_url?: string | null | undefined;
|
|
18153
|
+
source?: string | null | undefined;
|
|
18154
|
+
} | null | undefined;
|
|
17545
18155
|
description?: string | null | undefined;
|
|
17546
18156
|
parent_id?: string | null | undefined;
|
|
17547
18157
|
parent?: Record<string, any> | undefined;
|
|
18158
|
+
license?: Record<string, any> | undefined;
|
|
17548
18159
|
name_url_slug?: string | null | undefined;
|
|
17549
18160
|
slug?: string | null | undefined;
|
|
17550
18161
|
price?: number | null | undefined;
|
|
17551
18162
|
unit_cost?: number | null | undefined;
|
|
17552
18163
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
17553
18164
|
cost_unit?: string | null | undefined;
|
|
17554
|
-
product_id?: string | null | undefined;
|
|
17555
|
-
price_id?: string | null | undefined;
|
|
17556
18165
|
preview?: Record<string, any>[] | null | undefined;
|
|
17557
|
-
state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
|
|
17558
18166
|
}, {
|
|
17559
18167
|
id: string;
|
|
17560
18168
|
user_id: string;
|
|
@@ -17565,7 +18173,9 @@ declare const BlueprintSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
17565
18173
|
name: string;
|
|
17566
18174
|
team_id: string;
|
|
17567
18175
|
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
18176
|
+
license_id: string;
|
|
17568
18177
|
monetization: "none" | "pay-to-unlock" | "pay-per-use";
|
|
18178
|
+
state: "queued" | "in-progress" | "success" | "error";
|
|
17569
18179
|
user?: {
|
|
17570
18180
|
id?: string | undefined;
|
|
17571
18181
|
user_id?: string | undefined;
|
|
@@ -17639,20 +18249,23 @@ declare const BlueprintSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
17639
18249
|
} | null | undefined;
|
|
17640
18250
|
}[] | undefined;
|
|
17641
18251
|
} | undefined;
|
|
17642
|
-
metadata?:
|
|
18252
|
+
metadata?: {
|
|
18253
|
+
originality: "original" | "derivative" | "third-party";
|
|
18254
|
+
doi_url?: string | null | undefined;
|
|
18255
|
+
external_url?: string | null | undefined;
|
|
18256
|
+
source?: string | null | undefined;
|
|
18257
|
+
} | null | undefined;
|
|
17643
18258
|
description?: string | null | undefined;
|
|
17644
18259
|
parent_id?: string | null | undefined;
|
|
17645
18260
|
parent?: Record<string, any> | undefined;
|
|
18261
|
+
license?: Record<string, any> | undefined;
|
|
17646
18262
|
name_url_slug?: string | null | undefined;
|
|
17647
18263
|
slug?: string | null | undefined;
|
|
17648
18264
|
price?: number | null | undefined;
|
|
17649
18265
|
unit_cost?: number | null | undefined;
|
|
17650
18266
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
17651
18267
|
cost_unit?: string | null | undefined;
|
|
17652
|
-
product_id?: string | null | undefined;
|
|
17653
|
-
price_id?: string | null | undefined;
|
|
17654
18268
|
preview?: Record<string, any>[] | null | undefined;
|
|
17655
|
-
state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
|
|
17656
18269
|
}>;
|
|
17657
18270
|
declare const CreateBlueprintSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
17658
18271
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -17982,6 +18595,8 @@ declare const CreateBlueprintSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
17982
18595
|
}>>>;
|
|
17983
18596
|
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
17984
18597
|
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
18598
|
+
license_id: z.ZodOptional<z.ZodString>;
|
|
18599
|
+
license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
17985
18600
|
asset_type: z.ZodOptional<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>>;
|
|
17986
18601
|
name: z.ZodOptional<z.ZodString>;
|
|
17987
18602
|
name_url_slug: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -17993,11 +18608,24 @@ declare const CreateBlueprintSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
17993
18608
|
unit_cost: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
17994
18609
|
cost_accounting: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<["fixed", "variable"]>>>>;
|
|
17995
18610
|
cost_unit: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
17996
|
-
|
|
17997
|
-
|
|
17998
|
-
|
|
18611
|
+
metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
18612
|
+
doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18613
|
+
external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18614
|
+
originality: z.ZodEnum<["original", "derivative", "third-party"]>;
|
|
18615
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18616
|
+
}, "strip", z.ZodTypeAny, {
|
|
18617
|
+
originality: "original" | "derivative" | "third-party";
|
|
18618
|
+
doi_url?: string | null | undefined;
|
|
18619
|
+
external_url?: string | null | undefined;
|
|
18620
|
+
source?: string | null | undefined;
|
|
18621
|
+
}, {
|
|
18622
|
+
originality: "original" | "derivative" | "third-party";
|
|
18623
|
+
doi_url?: string | null | undefined;
|
|
18624
|
+
external_url?: string | null | undefined;
|
|
18625
|
+
source?: string | null | undefined;
|
|
18626
|
+
}>>>>;
|
|
17999
18627
|
preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>>;
|
|
18000
|
-
state: z.ZodOptional<z.
|
|
18628
|
+
state: z.ZodOptional<z.ZodEnum<["queued", "in-progress", "success", "error"]>>;
|
|
18001
18629
|
created_at: z.ZodOptional<z.ZodString>;
|
|
18002
18630
|
last_updated: z.ZodOptional<z.ZodString>;
|
|
18003
18631
|
}, {
|
|
@@ -18108,16 +18736,16 @@ declare const CreateBlueprintSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
18108
18736
|
description?: string | null | undefined;
|
|
18109
18737
|
parent_id?: string | null | undefined;
|
|
18110
18738
|
parent?: Record<string, any> | undefined;
|
|
18739
|
+
license_id?: string | undefined;
|
|
18740
|
+
license?: Record<string, any> | undefined;
|
|
18111
18741
|
slug?: string | null | undefined;
|
|
18112
18742
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
18113
18743
|
price?: number | null | undefined;
|
|
18114
18744
|
unit_cost?: number | null | undefined;
|
|
18115
18745
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
18116
18746
|
cost_unit?: string | null | undefined;
|
|
18117
|
-
product_id?: string | null | undefined;
|
|
18118
|
-
price_id?: string | null | undefined;
|
|
18119
18747
|
preview?: Record<string, any>[] | null | undefined;
|
|
18120
|
-
state?: "queued" | "in-progress" | "success" | "error" |
|
|
18748
|
+
state?: "queued" | "in-progress" | "success" | "error" | undefined;
|
|
18121
18749
|
}, {
|
|
18122
18750
|
metadata: {
|
|
18123
18751
|
edges: Record<string, any>[];
|
|
@@ -18211,16 +18839,16 @@ declare const CreateBlueprintSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
18211
18839
|
description?: string | null | undefined;
|
|
18212
18840
|
parent_id?: string | null | undefined;
|
|
18213
18841
|
parent?: Record<string, any> | undefined;
|
|
18842
|
+
license_id?: string | undefined;
|
|
18843
|
+
license?: Record<string, any> | undefined;
|
|
18214
18844
|
slug?: string | null | undefined;
|
|
18215
18845
|
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
18216
18846
|
price?: number | null | undefined;
|
|
18217
18847
|
unit_cost?: number | null | undefined;
|
|
18218
18848
|
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
18219
18849
|
cost_unit?: string | null | undefined;
|
|
18220
|
-
product_id?: string | null | undefined;
|
|
18221
|
-
price_id?: string | null | undefined;
|
|
18222
18850
|
preview?: Record<string, any>[] | null | undefined;
|
|
18223
|
-
state?: "queued" | "in-progress" | "success" | "error" |
|
|
18851
|
+
state?: "queued" | "in-progress" | "success" | "error" | undefined;
|
|
18224
18852
|
}>;
|
|
18225
18853
|
declare const UpdateBlueprintSchema: z.ZodObject<{
|
|
18226
18854
|
team_id: z.ZodNullable<z.ZodString>;
|
|
@@ -18322,4 +18950,4 @@ declare function getReferencesInContent(json: Content["json"]): {
|
|
|
18322
18950
|
assets: InlineAssetAttrs[];
|
|
18323
18951
|
};
|
|
18324
18952
|
|
|
18325
|
-
export { type Action, ActionSchema, type Asset, AssetSchema, AssetTypeSchema, type AssetTypes, type AuthType, type Blueprint, BlueprintSchema, type Comment, CommentSchema, type Connection, ConnectionSchema, type Content, ContentSchema, type Conversation, ConversationSchema, type CreateAsset, CreateAssetSchema, type CreateBlueprint, CreateBlueprintSchema, type CreateComment, CreateCommentSchema, type CreateConversation, CreateConversationSchema, CreateDatasetFromFileSchema, CreateDatasetFromSchemaSchema, type CreateFile, CreateFileSchema, type CreateFromFileDataset, type CreateFromSchemaDataset, type CreatePost, CreatePostSchema, type CreateReplication, CreateReplicationSchema, type CreateTeam, CreateTeamSchema, type Dataset, DatasetSchema, type Embedding, EmbeddingSchema, type File, FileSchema, type ListPosts, ListPostsSchema, type Membership, MembershipSchema, type Message, MessageSchema, type Monetization, MonetizationSchema, type Notification, NotificationSchema, type Organization, OrganizationsSchema, type Permission, PermissionSchema, type Post, PostSchema, type Profile, ProfileSchema, type PurchaseAsset, PurchaseAssetSchema, type Reaction, type ReadPost, ReadPostSchema, type ReadPosts, ReadPostsSchema, type ReadProfile, ReadProfileSchema, type ReadTeam, ReadTeamSchema, type ReadTeams, ReadTeamsSchema, type Replication, ReplicationSchema, type Role, RoleSchema, type Route, type RouteDetail, type Service, type Status, StatusSchema, type Team, TeamSchema, type TipTap, TipTapSchema, type UpdateAsset, UpdateAssetSchema, type UpdateBlueprint, UpdateBlueprintSchema, type UpdateConversation, UpdateConversationSchema, type UpdateDataset, type UpdateFile, type UpdatePost, UpdatePostSchema, type UpdateProfile, UpdateProfileSchema, type UpdateReplication, UpdateReplicationSchema, type UpdateTeam, UpdateTeamSchema, type Visibility, VisibilitySchema, authType, createNameUrlSlug, createUrlSlug, filterListToString, getAssetUrl, getReferencesInContent, parseMarkdown, reactionSchema, routeSchema, serviceSchema, updateDatasetSchema, updateFileSchema };
|
|
18953
|
+
export { type Action, ActionSchema, type Asset, type AssetMetadata, AssetMetadataSchema, AssetSchema, AssetTypeSchema, type AssetTypes, type AuthType, type Blueprint, BlueprintSchema, type Comment, CommentSchema, type Connection, ConnectionSchema, type Content, ContentSchema, type Conversation, ConversationSchema, type CreateAsset, CreateAssetSchema, type CreateBlueprint, CreateBlueprintSchema, type CreateComment, CreateCommentSchema, type CreateConversation, CreateConversationSchema, CreateDatasetFromFileSchema, CreateDatasetFromSchemaSchema, type CreateFile, CreateFileSchema, type CreateFromFileDataset, type CreateFromSchemaDataset, type CreatePost, CreatePostSchema, type CreateReplication, CreateReplicationSchema, type CreateTeam, CreateTeamSchema, type Dataset, DatasetSchema, type Embedding, EmbeddingSchema, type File, FileSchema, type ListPosts, ListPostsSchema, type Membership, MembershipSchema, type Message, MessageSchema, type Monetization, MonetizationSchema, type Notification, NotificationSchema, type Organization, OrganizationsSchema, type Permission, PermissionSchema, type Post, PostSchema, type Profile, ProfileSchema, type PurchaseAsset, PurchaseAssetSchema, type Reaction, type ReadPost, ReadPostSchema, type ReadPosts, ReadPostsSchema, type ReadProfile, ReadProfileSchema, type ReadTeam, ReadTeamSchema, type ReadTeams, ReadTeamsSchema, type Replication, ReplicationSchema, type Role, RoleSchema, type Route, type RouteDetail, type Service, type Status, StatusSchema, type Team, TeamSchema, type TipTap, TipTapSchema, type UpdateAsset, UpdateAssetSchema, type UpdateBlueprint, UpdateBlueprintSchema, type UpdateConversation, UpdateConversationSchema, type UpdateDataset, type UpdateFile, type UpdatePost, UpdatePostSchema, type UpdateProfile, UpdateProfileSchema, type UpdateReplication, UpdateReplicationSchema, type UpdateTeam, UpdateTeamSchema, type Visibility, VisibilitySchema, authType, createNameUrlSlug, createUrlSlug, filterListToString, getAssetUrl, getReferencesInContent, parseMarkdown, reactionSchema, routeSchema, serviceSchema, updateDatasetSchema, updateFileSchema };
|