@ourofoundation/ouro-js 3.0.4 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-25FGGQFY.cjs +2 -0
- package/dist/chunk-25FGGQFY.cjs.map +1 -0
- package/dist/chunk-332F74RS.js +2 -0
- package/dist/chunk-332F74RS.js.map +1 -0
- package/dist/{chunk-FPRFE54S.cjs → chunk-4KUHOXA5.cjs} +2 -2
- package/dist/{chunk-FPRFE54S.cjs.map → chunk-4KUHOXA5.cjs.map} +1 -1
- package/dist/chunk-63BUDJ7V.js +2 -0
- package/dist/chunk-63BUDJ7V.js.map +1 -0
- package/dist/chunk-6RGIIOOP.js +2 -0
- package/dist/chunk-6RGIIOOP.js.map +1 -0
- package/dist/chunk-6UH4ZK6D.cjs +2 -0
- package/dist/chunk-6UH4ZK6D.cjs.map +1 -0
- package/dist/chunk-6XNV6B6L.cjs +2 -0
- package/dist/chunk-6XNV6B6L.cjs.map +1 -0
- package/dist/chunk-7HF5VHUN.cjs +2 -0
- package/dist/chunk-7HF5VHUN.cjs.map +1 -0
- package/dist/chunk-B7NJYI4N.cjs +2 -0
- package/dist/{chunk-IIKZ5DYT.cjs.map → chunk-B7NJYI4N.cjs.map} +1 -1
- package/dist/chunk-BDFRHJD4.js +2 -0
- package/dist/chunk-BDFRHJD4.js.map +1 -0
- package/dist/chunk-BULBWSNF.js +2 -0
- package/dist/chunk-BULBWSNF.js.map +1 -0
- package/dist/chunk-CBWCC3NJ.js +2 -0
- package/dist/chunk-CBWCC3NJ.js.map +1 -0
- package/dist/chunk-D4SCLCSO.cjs +2 -0
- package/dist/chunk-D4SCLCSO.cjs.map +1 -0
- package/dist/chunk-DAN33Z3Q.cjs +2 -0
- package/dist/chunk-DAN33Z3Q.cjs.map +1 -0
- package/dist/chunk-DHQJ2FCF.cjs +2 -0
- package/dist/chunk-DHQJ2FCF.cjs.map +1 -0
- package/dist/chunk-DUBPWSCA.js +2 -0
- package/dist/chunk-DUBPWSCA.js.map +1 -0
- package/dist/{chunk-NUGG4SK2.js → chunk-FS5P754F.js} +2 -2
- package/dist/{chunk-NUGG4SK2.js.map → chunk-FS5P754F.js.map} +1 -1
- package/dist/chunk-ICU37YVV.js +2 -0
- package/dist/chunk-ICU37YVV.js.map +1 -0
- package/dist/chunk-J2SVE52E.js +2 -0
- package/dist/chunk-J2SVE52E.js.map +1 -0
- package/dist/chunk-JANLRWLU.cjs +2 -0
- package/dist/chunk-JANLRWLU.cjs.map +1 -0
- package/dist/chunk-JNBXFB5P.cjs +2 -0
- package/dist/chunk-JNBXFB5P.cjs.map +1 -0
- package/dist/chunk-LDAPPQXR.js +2 -0
- package/dist/chunk-LDAPPQXR.js.map +1 -0
- package/dist/chunk-MAHNRYUV.cjs +2 -0
- package/dist/chunk-MAHNRYUV.cjs.map +1 -0
- package/dist/chunk-MQYRINJ5.cjs +2 -0
- package/dist/chunk-MQYRINJ5.cjs.map +1 -0
- package/dist/chunk-OD7M3RFZ.cjs +2 -0
- package/dist/chunk-OD7M3RFZ.cjs.map +1 -0
- package/dist/chunk-P4VD5SVM.cjs +2 -0
- package/dist/chunk-P4VD5SVM.cjs.map +1 -0
- package/dist/chunk-PX6OZKCX.cjs +2 -0
- package/dist/chunk-PX6OZKCX.cjs.map +1 -0
- package/dist/chunk-QZ3AAXO5.js +2 -0
- package/dist/chunk-QZ3AAXO5.js.map +1 -0
- package/dist/chunk-S5TPBKS6.js +2 -0
- package/dist/{chunk-T3J5Y445.js.map → chunk-S5TPBKS6.js.map} +1 -1
- package/dist/chunk-T4BUMCXS.cjs +2 -0
- package/dist/chunk-T4BUMCXS.cjs.map +1 -0
- package/dist/chunk-VBRZ227O.js +2 -0
- package/dist/chunk-VBRZ227O.js.map +1 -0
- package/dist/chunk-WE6CXCEQ.js +2 -0
- package/dist/chunk-WE6CXCEQ.js.map +1 -0
- package/dist/chunk-XJH3EC3E.js +2 -0
- package/dist/chunk-XJH3EC3E.js.map +1 -0
- package/dist/chunk-XPQVPGJX.js +2 -0
- package/dist/chunk-XPQVPGJX.js.map +1 -0
- package/dist/chunk-Z2GTDYQ6.cjs +2 -0
- package/dist/chunk-Z2GTDYQ6.cjs.map +1 -0
- package/dist/chunk-ZQAXMMR2.js +2 -0
- package/dist/chunk-ZQAXMMR2.js.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -1
- package/dist/schema/assets.cjs +1 -1
- package/dist/schema/assets.d.cts +156 -32
- package/dist/schema/assets.d.ts +156 -32
- package/dist/schema/assets.js +1 -1
- package/dist/schema/blueprints.cjs +1 -1
- package/dist/schema/blueprints.d.cts +420 -42
- package/dist/schema/blueprints.d.ts +420 -42
- package/dist/schema/blueprints.js +1 -1
- package/dist/schema/comments.cjs +1 -1
- package/dist/schema/comments.d.cts +411 -51
- package/dist/schema/comments.d.ts +411 -51
- package/dist/schema/comments.js +1 -1
- package/dist/schema/common.cjs +1 -1
- package/dist/schema/common.d.cts +18 -18
- package/dist/schema/common.d.ts +18 -18
- package/dist/schema/common.js +1 -1
- package/dist/schema/constants.cjs +2 -0
- package/dist/schema/constants.cjs.map +1 -0
- package/dist/schema/constants.d.cts +5 -0
- package/dist/schema/constants.d.ts +5 -0
- package/dist/schema/constants.js +2 -0
- package/dist/schema/constants.js.map +1 -0
- package/dist/schema/conversations.cjs +1 -1
- package/dist/schema/conversations.d.cts +237 -37
- package/dist/schema/conversations.d.ts +237 -37
- package/dist/schema/conversations.js +1 -1
- package/dist/schema/datasets.cjs +1 -1
- package/dist/schema/datasets.d.cts +352 -40
- package/dist/schema/datasets.d.ts +352 -40
- package/dist/schema/datasets.js +1 -1
- package/dist/schema/files.cjs +1 -1
- package/dist/schema/files.d.cts +342 -38
- package/dist/schema/files.d.ts +342 -38
- package/dist/schema/files.js +1 -1
- package/dist/schema/notifications.cjs +1 -1
- package/dist/schema/notifications.d.cts +1 -1
- package/dist/schema/notifications.d.ts +1 -1
- package/dist/schema/notifications.js +1 -1
- package/dist/schema/organizations.cjs +1 -1
- package/dist/schema/organizations.d.cts +40 -9
- package/dist/schema/organizations.d.ts +40 -9
- package/dist/schema/organizations.js +1 -1
- package/dist/schema/posts.cjs +1 -1
- package/dist/schema/posts.d.cts +428 -86
- package/dist/schema/posts.d.ts +428 -86
- package/dist/schema/posts.js +1 -1
- package/dist/schema/reactions.cjs +1 -1
- package/dist/schema/reactions.d.cts +3 -3
- package/dist/schema/reactions.d.ts +3 -3
- package/dist/schema/reactions.js +1 -1
- package/dist/schema/replications.cjs +1 -1
- package/dist/schema/replications.d.cts +422 -42
- package/dist/schema/replications.d.ts +422 -42
- package/dist/schema/replications.js +1 -1
- package/dist/schema/services.cjs +1 -1
- package/dist/schema/services.d.cts +450 -92
- package/dist/schema/services.d.ts +450 -92
- package/dist/schema/services.js +1 -1
- package/dist/schema/teams.cjs +1 -1
- package/dist/schema/teams.d.cts +152 -36
- package/dist/schema/teams.d.ts +152 -36
- package/dist/schema/teams.js +1 -1
- package/dist/schema/users.cjs +1 -1
- package/dist/schema/users.d.cts +25 -7
- package/dist/schema/users.d.ts +25 -7
- package/dist/schema/users.js +1 -1
- package/dist/utils/air/index.cjs +1 -1
- package/dist/utils/air/index.d.cts +2 -2
- package/dist/utils/air/index.d.ts +2 -2
- package/dist/utils/air/index.js +1 -1
- package/dist/utils/navigate.cjs +1 -1
- package/dist/utils/navigate.js +1 -1
- package/package.json +1 -1
- package/tsup.config.ts +16 -16
- package/dist/chunk-23QZJWT4.js +0 -2
- package/dist/chunk-23QZJWT4.js.map +0 -1
- package/dist/chunk-25I3OOVX.js +0 -2
- package/dist/chunk-25I3OOVX.js.map +0 -1
- package/dist/chunk-2UEII2SB.js +0 -2
- package/dist/chunk-2UEII2SB.js.map +0 -1
- package/dist/chunk-3RRKHJ3K.cjs +0 -2
- package/dist/chunk-3RRKHJ3K.cjs.map +0 -1
- package/dist/chunk-46OPRUDE.cjs +0 -2
- package/dist/chunk-46OPRUDE.cjs.map +0 -1
- package/dist/chunk-5GTFTJIX.cjs +0 -2
- package/dist/chunk-5GTFTJIX.cjs.map +0 -1
- package/dist/chunk-ARSGP6GA.js +0 -2
- package/dist/chunk-ARSGP6GA.js.map +0 -1
- package/dist/chunk-C6YNSHLF.cjs +0 -2
- package/dist/chunk-C6YNSHLF.cjs.map +0 -1
- package/dist/chunk-D2H3DN4E.cjs +0 -2
- package/dist/chunk-D2H3DN4E.cjs.map +0 -1
- package/dist/chunk-DBKWAOAN.js +0 -2
- package/dist/chunk-DBKWAOAN.js.map +0 -1
- package/dist/chunk-E5NMUCCO.js +0 -2
- package/dist/chunk-E5NMUCCO.js.map +0 -1
- package/dist/chunk-ENCQWA5V.js +0 -2
- package/dist/chunk-ENCQWA5V.js.map +0 -1
- package/dist/chunk-F6BY6AFM.cjs +0 -2
- package/dist/chunk-F6BY6AFM.cjs.map +0 -1
- package/dist/chunk-GZWXQVKW.cjs +0 -2
- package/dist/chunk-GZWXQVKW.cjs.map +0 -1
- package/dist/chunk-HXZE74XM.js +0 -2
- package/dist/chunk-HXZE74XM.js.map +0 -1
- package/dist/chunk-I43MBJPR.cjs +0 -2
- package/dist/chunk-I43MBJPR.cjs.map +0 -1
- package/dist/chunk-IDZYYMV6.js +0 -2
- package/dist/chunk-IDZYYMV6.js.map +0 -1
- package/dist/chunk-IIKZ5DYT.cjs +0 -2
- package/dist/chunk-LJK4UVDH.cjs +0 -2
- package/dist/chunk-LJK4UVDH.cjs.map +0 -1
- package/dist/chunk-N5ADIAWW.cjs +0 -2
- package/dist/chunk-N5ADIAWW.cjs.map +0 -1
- package/dist/chunk-PRJQMFU6.cjs +0 -2
- package/dist/chunk-PRJQMFU6.cjs.map +0 -1
- package/dist/chunk-QCRTFUD5.cjs +0 -2
- package/dist/chunk-QCRTFUD5.cjs.map +0 -1
- package/dist/chunk-QTPX6PU3.cjs +0 -2
- package/dist/chunk-QTPX6PU3.cjs.map +0 -1
- package/dist/chunk-RDRNI4JL.js +0 -2
- package/dist/chunk-RDRNI4JL.js.map +0 -1
- package/dist/chunk-RNMWNMZ4.js +0 -2
- package/dist/chunk-RNMWNMZ4.js.map +0 -1
- package/dist/chunk-RPUL3U2U.js +0 -2
- package/dist/chunk-RPUL3U2U.js.map +0 -1
- package/dist/chunk-SO5EANPA.js +0 -2
- package/dist/chunk-SO5EANPA.js.map +0 -1
- package/dist/chunk-T3J5Y445.js +0 -2
- package/dist/chunk-VEBHQ6A7.cjs +0 -2
- package/dist/chunk-VEBHQ6A7.cjs.map +0 -1
- package/dist/chunk-VOX7A2FD.js +0 -2
- package/dist/chunk-VOX7A2FD.js.map +0 -1
- package/dist/chunk-X3BAM4T3.cjs +0 -2
- package/dist/chunk-X3BAM4T3.cjs.map +0 -1
- package/dist/chunk-YBDW45V3.js +0 -2
- package/dist/chunk-YBDW45V3.js.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
|
|
3
3
|
declare const ReplicationSchema: z.ZodObject<{
|
|
4
|
-
id: z.
|
|
5
|
-
user_id: z.
|
|
4
|
+
id: z.ZodUUID;
|
|
5
|
+
user_id: z.ZodUUID;
|
|
6
6
|
user: z.ZodOptional<z.ZodObject<{
|
|
7
7
|
id: z.ZodOptional<z.ZodUUID>;
|
|
8
8
|
user_id: z.ZodOptional<z.ZodUUID>;
|
|
@@ -13,18 +13,23 @@ declare const ReplicationSchema: z.ZodObject<{
|
|
|
13
13
|
urls: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
14
14
|
value: z.ZodString;
|
|
15
15
|
}, z.core.$strip>>>>;
|
|
16
|
-
post_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.
|
|
17
|
-
|
|
16
|
+
post_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
17
|
+
actor_type: z.ZodOptional<z.ZodEnum<{
|
|
18
|
+
base: "base";
|
|
19
|
+
agent: "agent";
|
|
20
|
+
verified: "verified";
|
|
21
|
+
}>>;
|
|
18
22
|
plan_type: z.ZodOptional<z.ZodEnum<{
|
|
19
23
|
free: "free";
|
|
20
24
|
gold: "gold";
|
|
21
25
|
}>>;
|
|
22
26
|
last_active: z.ZodOptional<z.ZodString>;
|
|
23
27
|
}, z.core.$strip>>;
|
|
24
|
-
org_id: z.
|
|
28
|
+
org_id: z.ZodUUID;
|
|
25
29
|
organization: z.ZodOptional<z.ZodObject<{
|
|
26
|
-
id: z.ZodOptional<z.
|
|
30
|
+
id: z.ZodOptional<z.ZodUUID>;
|
|
27
31
|
name: z.ZodOptional<z.ZodString>;
|
|
32
|
+
display_name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
28
33
|
avatar_path: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
29
34
|
mission: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
30
35
|
size: z.ZodOptional<z.ZodString>;
|
|
@@ -39,14 +44,28 @@ declare const ReplicationSchema: z.ZodObject<{
|
|
|
39
44
|
write: "write";
|
|
40
45
|
none: "none";
|
|
41
46
|
}>>>;
|
|
47
|
+
allow_external_members: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
48
|
+
allow_external_public_team_creation: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
49
|
+
join_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
|
|
50
|
+
actor_type_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
51
|
+
any: "any";
|
|
52
|
+
verified_only: "verified_only";
|
|
53
|
+
agents_only: "agents_only";
|
|
54
|
+
}>>>>;
|
|
55
|
+
source_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
56
|
+
any: "any";
|
|
57
|
+
web_only: "web_only";
|
|
58
|
+
api_only: "api_only";
|
|
59
|
+
}>>>>;
|
|
42
60
|
}, z.core.$strip>>;
|
|
43
|
-
team_id: z.
|
|
61
|
+
team_id: z.ZodUUID;
|
|
44
62
|
team: z.ZodOptional<z.ZodObject<{
|
|
45
|
-
id: z.ZodOptional<z.
|
|
46
|
-
org_id: z.ZodOptional<z.
|
|
63
|
+
id: z.ZodOptional<z.ZodUUID>;
|
|
64
|
+
org_id: z.ZodOptional<z.ZodUUID>;
|
|
47
65
|
organization: z.ZodOptional<z.ZodObject<{
|
|
48
|
-
id: z.
|
|
66
|
+
id: z.ZodUUID;
|
|
49
67
|
name: z.ZodString;
|
|
68
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
69
|
avatar_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
51
70
|
mission: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
71
|
size: z.ZodString;
|
|
@@ -61,6 +80,19 @@ declare const ReplicationSchema: z.ZodObject<{
|
|
|
61
80
|
write: "write";
|
|
62
81
|
none: "none";
|
|
63
82
|
}>>;
|
|
83
|
+
allow_external_members: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
84
|
+
allow_external_public_team_creation: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
85
|
+
join_policy: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
86
|
+
actor_type_policy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
87
|
+
any: "any";
|
|
88
|
+
verified_only: "verified_only";
|
|
89
|
+
agents_only: "agents_only";
|
|
90
|
+
}>>>;
|
|
91
|
+
source_policy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
92
|
+
any: "any";
|
|
93
|
+
web_only: "web_only";
|
|
94
|
+
api_only: "api_only";
|
|
95
|
+
}>>>;
|
|
64
96
|
}, z.core.$strip>>;
|
|
65
97
|
name: z.ZodOptional<z.ZodString>;
|
|
66
98
|
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -74,14 +106,24 @@ declare const ReplicationSchema: z.ZodObject<{
|
|
|
74
106
|
none: "none";
|
|
75
107
|
}>>;
|
|
76
108
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
77
|
-
organization: "organization";
|
|
78
109
|
public: "public";
|
|
79
110
|
private: "private";
|
|
111
|
+
organization: "organization";
|
|
80
112
|
monetized: "monetized";
|
|
81
113
|
inherit: "inherit";
|
|
82
114
|
}>>;
|
|
115
|
+
actor_type_policy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
116
|
+
any: "any";
|
|
117
|
+
verified_only: "verified_only";
|
|
118
|
+
agents_only: "agents_only";
|
|
119
|
+
}>>>>;
|
|
120
|
+
source_policy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
121
|
+
any: "any";
|
|
122
|
+
web_only: "web_only";
|
|
123
|
+
api_only: "api_only";
|
|
124
|
+
}>>>>;
|
|
83
125
|
userMembership: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
84
|
-
user_id: z.
|
|
126
|
+
user_id: z.ZodUUID;
|
|
85
127
|
role: z.ZodEnum<{
|
|
86
128
|
admin: "admin";
|
|
87
129
|
read: "read";
|
|
@@ -91,7 +133,7 @@ declare const ReplicationSchema: z.ZodObject<{
|
|
|
91
133
|
}, z.core.$strip>>>>;
|
|
92
134
|
memberCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
93
135
|
members: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
94
|
-
user_id: z.
|
|
136
|
+
user_id: z.ZodUUID;
|
|
95
137
|
role: z.ZodEnum<{
|
|
96
138
|
admin: "admin";
|
|
97
139
|
read: "read";
|
|
@@ -109,8 +151,12 @@ declare const ReplicationSchema: z.ZodObject<{
|
|
|
109
151
|
urls: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
110
152
|
value: z.ZodString;
|
|
111
153
|
}, z.core.$strip>>>>;
|
|
112
|
-
post_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.
|
|
113
|
-
|
|
154
|
+
post_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
155
|
+
actor_type: z.ZodOptional<z.ZodEnum<{
|
|
156
|
+
base: "base";
|
|
157
|
+
agent: "agent";
|
|
158
|
+
verified: "verified";
|
|
159
|
+
}>>;
|
|
114
160
|
plan_type: z.ZodOptional<z.ZodEnum<{
|
|
115
161
|
free: "free";
|
|
116
162
|
gold: "gold";
|
|
@@ -120,7 +166,7 @@ declare const ReplicationSchema: z.ZodObject<{
|
|
|
120
166
|
}, z.core.$strip>>>;
|
|
121
167
|
created_at: z.ZodOptional<z.ZodString>;
|
|
122
168
|
}, z.core.$strip>>;
|
|
123
|
-
parent_id: z.ZodOptional<z.ZodNullable<z.
|
|
169
|
+
parent_id: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
124
170
|
parent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
125
171
|
license_id: z.ZodString;
|
|
126
172
|
license: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
@@ -132,9 +178,9 @@ declare const ReplicationSchema: z.ZodObject<{
|
|
|
132
178
|
text: z.ZodString;
|
|
133
179
|
}, z.core.$strip>>>;
|
|
134
180
|
visibility: z.ZodEnum<{
|
|
135
|
-
organization: "organization";
|
|
136
181
|
public: "public";
|
|
137
182
|
private: "private";
|
|
183
|
+
organization: "organization";
|
|
138
184
|
monetized: "monetized";
|
|
139
185
|
inherit: "inherit";
|
|
140
186
|
}>;
|
|
@@ -171,9 +217,9 @@ declare const ReplicationSchema: z.ZodObject<{
|
|
|
171
217
|
created_at: z.ZodString;
|
|
172
218
|
last_updated: z.ZodString;
|
|
173
219
|
asset_type: z.ZodEnum<{
|
|
220
|
+
organization: "organization";
|
|
174
221
|
file: "file";
|
|
175
222
|
user: "user";
|
|
176
|
-
organization: "organization";
|
|
177
223
|
team: "team";
|
|
178
224
|
dataset: "dataset";
|
|
179
225
|
service: "service";
|
|
@@ -201,8 +247,8 @@ declare const ReplicationSchema: z.ZodObject<{
|
|
|
201
247
|
source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
202
248
|
}, z.core.$strip>;
|
|
203
249
|
}, z.core.$strip>;
|
|
204
|
-
declare const CreateReplicationSchema: z.ZodObject<{
|
|
205
|
-
user_id: z.ZodOptional<z.
|
|
250
|
+
declare const CreateReplicationSchema: z.ZodPipe<z.ZodObject<{
|
|
251
|
+
user_id: z.ZodOptional<z.ZodUUID>;
|
|
206
252
|
user: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
207
253
|
id: z.ZodOptional<z.ZodUUID>;
|
|
208
254
|
user_id: z.ZodOptional<z.ZodUUID>;
|
|
@@ -213,8 +259,12 @@ declare const CreateReplicationSchema: z.ZodObject<{
|
|
|
213
259
|
urls: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
214
260
|
value: z.ZodString;
|
|
215
261
|
}, z.core.$strip>>>>;
|
|
216
|
-
post_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.
|
|
217
|
-
|
|
262
|
+
post_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
263
|
+
actor_type: z.ZodOptional<z.ZodEnum<{
|
|
264
|
+
base: "base";
|
|
265
|
+
agent: "agent";
|
|
266
|
+
verified: "verified";
|
|
267
|
+
}>>;
|
|
218
268
|
plan_type: z.ZodOptional<z.ZodEnum<{
|
|
219
269
|
free: "free";
|
|
220
270
|
gold: "gold";
|
|
@@ -222,8 +272,9 @@ declare const CreateReplicationSchema: z.ZodObject<{
|
|
|
222
272
|
last_active: z.ZodOptional<z.ZodString>;
|
|
223
273
|
}, z.core.$strip>>>;
|
|
224
274
|
organization: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
225
|
-
id: z.ZodOptional<z.
|
|
275
|
+
id: z.ZodOptional<z.ZodUUID>;
|
|
226
276
|
name: z.ZodOptional<z.ZodString>;
|
|
277
|
+
display_name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
227
278
|
avatar_path: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
228
279
|
mission: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
229
280
|
size: z.ZodOptional<z.ZodString>;
|
|
@@ -238,13 +289,27 @@ declare const CreateReplicationSchema: z.ZodObject<{
|
|
|
238
289
|
write: "write";
|
|
239
290
|
none: "none";
|
|
240
291
|
}>>>;
|
|
292
|
+
allow_external_members: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
293
|
+
allow_external_public_team_creation: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
294
|
+
join_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
|
|
295
|
+
actor_type_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
296
|
+
any: "any";
|
|
297
|
+
verified_only: "verified_only";
|
|
298
|
+
agents_only: "agents_only";
|
|
299
|
+
}>>>>;
|
|
300
|
+
source_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
301
|
+
any: "any";
|
|
302
|
+
web_only: "web_only";
|
|
303
|
+
api_only: "api_only";
|
|
304
|
+
}>>>>;
|
|
241
305
|
}, z.core.$strip>>>;
|
|
242
306
|
team: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
243
|
-
id: z.ZodOptional<z.
|
|
244
|
-
org_id: z.ZodOptional<z.
|
|
307
|
+
id: z.ZodOptional<z.ZodUUID>;
|
|
308
|
+
org_id: z.ZodOptional<z.ZodUUID>;
|
|
245
309
|
organization: z.ZodOptional<z.ZodObject<{
|
|
246
|
-
id: z.
|
|
310
|
+
id: z.ZodUUID;
|
|
247
311
|
name: z.ZodString;
|
|
312
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
248
313
|
avatar_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
249
314
|
mission: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
250
315
|
size: z.ZodString;
|
|
@@ -259,6 +324,19 @@ declare const CreateReplicationSchema: z.ZodObject<{
|
|
|
259
324
|
write: "write";
|
|
260
325
|
none: "none";
|
|
261
326
|
}>>;
|
|
327
|
+
allow_external_members: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
328
|
+
allow_external_public_team_creation: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
329
|
+
join_policy: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
330
|
+
actor_type_policy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
331
|
+
any: "any";
|
|
332
|
+
verified_only: "verified_only";
|
|
333
|
+
agents_only: "agents_only";
|
|
334
|
+
}>>>;
|
|
335
|
+
source_policy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
336
|
+
any: "any";
|
|
337
|
+
web_only: "web_only";
|
|
338
|
+
api_only: "api_only";
|
|
339
|
+
}>>>;
|
|
262
340
|
}, z.core.$strip>>;
|
|
263
341
|
name: z.ZodOptional<z.ZodString>;
|
|
264
342
|
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -272,14 +350,24 @@ declare const CreateReplicationSchema: z.ZodObject<{
|
|
|
272
350
|
none: "none";
|
|
273
351
|
}>>;
|
|
274
352
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
275
|
-
organization: "organization";
|
|
276
353
|
public: "public";
|
|
277
354
|
private: "private";
|
|
355
|
+
organization: "organization";
|
|
278
356
|
monetized: "monetized";
|
|
279
357
|
inherit: "inherit";
|
|
280
358
|
}>>;
|
|
359
|
+
actor_type_policy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
360
|
+
any: "any";
|
|
361
|
+
verified_only: "verified_only";
|
|
362
|
+
agents_only: "agents_only";
|
|
363
|
+
}>>>>;
|
|
364
|
+
source_policy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
365
|
+
any: "any";
|
|
366
|
+
web_only: "web_only";
|
|
367
|
+
api_only: "api_only";
|
|
368
|
+
}>>>>;
|
|
281
369
|
userMembership: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
282
|
-
user_id: z.
|
|
370
|
+
user_id: z.ZodUUID;
|
|
283
371
|
role: z.ZodEnum<{
|
|
284
372
|
admin: "admin";
|
|
285
373
|
read: "read";
|
|
@@ -289,7 +377,7 @@ declare const CreateReplicationSchema: z.ZodObject<{
|
|
|
289
377
|
}, z.core.$strip>>>>;
|
|
290
378
|
memberCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
291
379
|
members: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
292
|
-
user_id: z.
|
|
380
|
+
user_id: z.ZodUUID;
|
|
293
381
|
role: z.ZodEnum<{
|
|
294
382
|
admin: "admin";
|
|
295
383
|
read: "read";
|
|
@@ -307,8 +395,12 @@ declare const CreateReplicationSchema: z.ZodObject<{
|
|
|
307
395
|
urls: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
308
396
|
value: z.ZodString;
|
|
309
397
|
}, z.core.$strip>>>>;
|
|
310
|
-
post_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.
|
|
311
|
-
|
|
398
|
+
post_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
399
|
+
actor_type: z.ZodOptional<z.ZodEnum<{
|
|
400
|
+
base: "base";
|
|
401
|
+
agent: "agent";
|
|
402
|
+
verified: "verified";
|
|
403
|
+
}>>;
|
|
312
404
|
plan_type: z.ZodOptional<z.ZodEnum<{
|
|
313
405
|
free: "free";
|
|
314
406
|
gold: "gold";
|
|
@@ -318,7 +410,7 @@ declare const CreateReplicationSchema: z.ZodObject<{
|
|
|
318
410
|
}, z.core.$strip>>>;
|
|
319
411
|
created_at: z.ZodOptional<z.ZodString>;
|
|
320
412
|
}, z.core.$strip>>>;
|
|
321
|
-
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.
|
|
413
|
+
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
322
414
|
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
323
415
|
license_id: z.ZodOptional<z.ZodString>;
|
|
324
416
|
license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
@@ -329,9 +421,9 @@ declare const CreateReplicationSchema: z.ZodObject<{
|
|
|
329
421
|
text: z.ZodString;
|
|
330
422
|
}, z.core.$strip>>>>;
|
|
331
423
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
332
|
-
organization: "organization";
|
|
333
424
|
public: "public";
|
|
334
425
|
private: "private";
|
|
426
|
+
organization: "organization";
|
|
335
427
|
monetized: "monetized";
|
|
336
428
|
inherit: "inherit";
|
|
337
429
|
}>>;
|
|
@@ -368,9 +460,9 @@ declare const CreateReplicationSchema: z.ZodObject<{
|
|
|
368
460
|
created_at: z.ZodOptional<z.ZodString>;
|
|
369
461
|
last_updated: z.ZodOptional<z.ZodString>;
|
|
370
462
|
asset_type: z.ZodOptional<z.ZodEnum<{
|
|
463
|
+
organization: "organization";
|
|
371
464
|
file: "file";
|
|
372
465
|
user: "user";
|
|
373
|
-
organization: "organization";
|
|
374
466
|
team: "team";
|
|
375
467
|
dataset: "dataset";
|
|
376
468
|
service: "service";
|
|
@@ -397,26 +489,314 @@ declare const CreateReplicationSchema: z.ZodObject<{
|
|
|
397
489
|
}>>;
|
|
398
490
|
source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
399
491
|
}, z.core.$strip>>;
|
|
400
|
-
id: z.ZodDefault<z.
|
|
401
|
-
team_id: z.ZodDefault<z.
|
|
402
|
-
org_id: z.ZodDefault<z.
|
|
492
|
+
id: z.ZodDefault<z.ZodUUID>;
|
|
493
|
+
team_id: z.ZodDefault<z.ZodUUID>;
|
|
494
|
+
org_id: z.ZodDefault<z.ZodUUID>;
|
|
403
495
|
name_url_slug: z.ZodString;
|
|
404
|
-
}, z.core.$strip
|
|
405
|
-
|
|
406
|
-
team_id:
|
|
496
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
497
|
+
id: string;
|
|
498
|
+
team_id: string;
|
|
499
|
+
org_id: string;
|
|
500
|
+
name_url_slug: string;
|
|
501
|
+
user_id?: string | undefined;
|
|
502
|
+
user?: {
|
|
503
|
+
id?: string | undefined;
|
|
504
|
+
user_id?: string | undefined;
|
|
505
|
+
username?: string | null | undefined;
|
|
506
|
+
name?: string | null | undefined;
|
|
507
|
+
avatar_path?: string | null | undefined;
|
|
508
|
+
bio?: string | null | undefined;
|
|
509
|
+
urls?: {
|
|
510
|
+
value: string;
|
|
511
|
+
}[] | undefined;
|
|
512
|
+
post_id?: string | null | undefined;
|
|
513
|
+
actor_type?: "base" | "agent" | "verified" | undefined;
|
|
514
|
+
plan_type?: "free" | "gold" | undefined;
|
|
515
|
+
last_active?: string | undefined;
|
|
516
|
+
} | undefined;
|
|
517
|
+
organization?: {
|
|
518
|
+
id?: string | undefined;
|
|
519
|
+
name?: string | undefined;
|
|
520
|
+
display_name?: string | null | undefined;
|
|
521
|
+
avatar_path?: string | null | undefined;
|
|
522
|
+
mission?: string | null | undefined;
|
|
523
|
+
size?: string | undefined;
|
|
524
|
+
email?: string | null | undefined;
|
|
525
|
+
domain?: string | null | undefined;
|
|
526
|
+
urls?: {
|
|
527
|
+
value: string;
|
|
528
|
+
}[] | null | undefined;
|
|
529
|
+
base_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
530
|
+
allow_external_members?: boolean | undefined;
|
|
531
|
+
allow_external_public_team_creation?: boolean | undefined;
|
|
532
|
+
join_policy?: string | undefined;
|
|
533
|
+
actor_type_policy?: "any" | "verified_only" | "agents_only" | undefined;
|
|
534
|
+
source_policy?: "any" | "web_only" | "api_only" | undefined;
|
|
535
|
+
} | undefined;
|
|
536
|
+
team?: {
|
|
537
|
+
id?: string | undefined;
|
|
538
|
+
org_id?: string | undefined;
|
|
539
|
+
organization?: {
|
|
540
|
+
id: string;
|
|
541
|
+
name: string;
|
|
542
|
+
size: string;
|
|
543
|
+
base_role: "admin" | "read" | "write" | "none";
|
|
544
|
+
allow_external_members: boolean;
|
|
545
|
+
allow_external_public_team_creation: boolean;
|
|
546
|
+
join_policy: string;
|
|
547
|
+
actor_type_policy: "any" | "verified_only" | "agents_only";
|
|
548
|
+
source_policy: "any" | "web_only" | "api_only";
|
|
549
|
+
display_name?: string | null | undefined;
|
|
550
|
+
avatar_path?: string | null | undefined;
|
|
551
|
+
mission?: string | null | undefined;
|
|
552
|
+
email?: string | null | undefined;
|
|
553
|
+
domain?: string | null | undefined;
|
|
554
|
+
urls?: {
|
|
555
|
+
value: string;
|
|
556
|
+
}[] | null | undefined;
|
|
557
|
+
} | undefined;
|
|
558
|
+
name?: string | undefined;
|
|
559
|
+
description?: {
|
|
560
|
+
text: string;
|
|
561
|
+
json: Record<string, any>;
|
|
562
|
+
} | null | undefined;
|
|
563
|
+
default_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
564
|
+
visibility?: "public" | "private" | "organization" | "monetized" | "inherit" | undefined;
|
|
565
|
+
actor_type_policy?: "any" | "verified_only" | "agents_only" | null | undefined;
|
|
566
|
+
source_policy?: "any" | "web_only" | "api_only" | null | undefined;
|
|
567
|
+
userMembership?: {
|
|
568
|
+
user_id: string;
|
|
569
|
+
role: "admin" | "read" | "write" | "none";
|
|
570
|
+
} | null | undefined;
|
|
571
|
+
memberCount?: number | null | undefined;
|
|
572
|
+
members?: {
|
|
573
|
+
user_id: string;
|
|
574
|
+
role: "admin" | "read" | "write" | "none";
|
|
575
|
+
added_at: string;
|
|
576
|
+
user?: {
|
|
577
|
+
id?: string | undefined;
|
|
578
|
+
user_id?: string | undefined;
|
|
579
|
+
username?: string | null | undefined;
|
|
580
|
+
name?: string | null | undefined;
|
|
581
|
+
avatar_path?: string | null | undefined;
|
|
582
|
+
bio?: string | null | undefined;
|
|
583
|
+
urls?: {
|
|
584
|
+
value: string;
|
|
585
|
+
}[] | undefined;
|
|
586
|
+
post_id?: string | null | undefined;
|
|
587
|
+
actor_type?: "base" | "agent" | "verified" | undefined;
|
|
588
|
+
plan_type?: "free" | "gold" | undefined;
|
|
589
|
+
last_active?: string | undefined;
|
|
590
|
+
} | null | undefined;
|
|
591
|
+
}[] | undefined;
|
|
592
|
+
created_at?: string | undefined;
|
|
593
|
+
} | undefined;
|
|
594
|
+
parent_id?: string | null | undefined;
|
|
595
|
+
parent?: Record<string, any> | undefined;
|
|
596
|
+
license_id?: string | undefined;
|
|
597
|
+
license?: Record<string, any> | undefined;
|
|
598
|
+
name?: string | undefined;
|
|
599
|
+
slug?: string | null | undefined;
|
|
600
|
+
description?: {
|
|
601
|
+
json: Record<string, any>;
|
|
602
|
+
text: string;
|
|
603
|
+
} | null | undefined;
|
|
604
|
+
visibility?: "public" | "private" | "organization" | "monetized" | "inherit" | undefined;
|
|
605
|
+
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
606
|
+
price?: number | null | undefined;
|
|
607
|
+
unit_cost?: number | null | undefined;
|
|
608
|
+
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
609
|
+
cost_unit?: string | null | undefined;
|
|
610
|
+
price_currency?: "usd" | "btc" | undefined;
|
|
611
|
+
stripe_product_id?: string | null | undefined;
|
|
612
|
+
stripe_price_id?: string | null | undefined;
|
|
613
|
+
stripe_meter_id?: string | null | undefined;
|
|
614
|
+
preview?: Record<string, any>[] | null | undefined;
|
|
615
|
+
state?: "success" | "error" | "queued" | "in-progress" | undefined;
|
|
616
|
+
source?: "web" | "api" | undefined;
|
|
617
|
+
created_at?: string | undefined;
|
|
618
|
+
last_updated?: string | undefined;
|
|
619
|
+
asset_type?: "organization" | "file" | "user" | "team" | "dataset" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
|
|
620
|
+
metadata?: {
|
|
621
|
+
schedule?: {
|
|
622
|
+
[x: string]: unknown;
|
|
623
|
+
cron: string;
|
|
624
|
+
} | undefined;
|
|
625
|
+
doi_url?: string | null | undefined;
|
|
626
|
+
external_url?: string | null | undefined;
|
|
627
|
+
paper_url?: string | null | undefined;
|
|
628
|
+
github_url?: string | null | undefined;
|
|
629
|
+
originality?: "original" | "derivative" | "third-party" | undefined;
|
|
630
|
+
source?: string | null | undefined;
|
|
631
|
+
} | undefined;
|
|
632
|
+
}, {
|
|
633
|
+
id: string;
|
|
634
|
+
team_id: string;
|
|
635
|
+
org_id: string;
|
|
636
|
+
name_url_slug: string;
|
|
637
|
+
user_id?: string | undefined;
|
|
638
|
+
user?: {
|
|
639
|
+
id?: string | undefined;
|
|
640
|
+
user_id?: string | undefined;
|
|
641
|
+
username?: string | null | undefined;
|
|
642
|
+
name?: string | null | undefined;
|
|
643
|
+
avatar_path?: string | null | undefined;
|
|
644
|
+
bio?: string | null | undefined;
|
|
645
|
+
urls?: {
|
|
646
|
+
value: string;
|
|
647
|
+
}[] | undefined;
|
|
648
|
+
post_id?: string | null | undefined;
|
|
649
|
+
actor_type?: "base" | "agent" | "verified" | undefined;
|
|
650
|
+
plan_type?: "free" | "gold" | undefined;
|
|
651
|
+
last_active?: string | undefined;
|
|
652
|
+
} | undefined;
|
|
653
|
+
organization?: {
|
|
654
|
+
id?: string | undefined;
|
|
655
|
+
name?: string | undefined;
|
|
656
|
+
display_name?: string | null | undefined;
|
|
657
|
+
avatar_path?: string | null | undefined;
|
|
658
|
+
mission?: string | null | undefined;
|
|
659
|
+
size?: string | undefined;
|
|
660
|
+
email?: string | null | undefined;
|
|
661
|
+
domain?: string | null | undefined;
|
|
662
|
+
urls?: {
|
|
663
|
+
value: string;
|
|
664
|
+
}[] | null | undefined;
|
|
665
|
+
base_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
666
|
+
allow_external_members?: boolean | undefined;
|
|
667
|
+
allow_external_public_team_creation?: boolean | undefined;
|
|
668
|
+
join_policy?: string | undefined;
|
|
669
|
+
actor_type_policy?: "any" | "verified_only" | "agents_only" | undefined;
|
|
670
|
+
source_policy?: "any" | "web_only" | "api_only" | undefined;
|
|
671
|
+
} | undefined;
|
|
672
|
+
team?: {
|
|
673
|
+
id?: string | undefined;
|
|
674
|
+
org_id?: string | undefined;
|
|
675
|
+
organization?: {
|
|
676
|
+
id: string;
|
|
677
|
+
name: string;
|
|
678
|
+
size: string;
|
|
679
|
+
base_role: "admin" | "read" | "write" | "none";
|
|
680
|
+
allow_external_members: boolean;
|
|
681
|
+
allow_external_public_team_creation: boolean;
|
|
682
|
+
join_policy: string;
|
|
683
|
+
actor_type_policy: "any" | "verified_only" | "agents_only";
|
|
684
|
+
source_policy: "any" | "web_only" | "api_only";
|
|
685
|
+
display_name?: string | null | undefined;
|
|
686
|
+
avatar_path?: string | null | undefined;
|
|
687
|
+
mission?: string | null | undefined;
|
|
688
|
+
email?: string | null | undefined;
|
|
689
|
+
domain?: string | null | undefined;
|
|
690
|
+
urls?: {
|
|
691
|
+
value: string;
|
|
692
|
+
}[] | null | undefined;
|
|
693
|
+
} | undefined;
|
|
694
|
+
name?: string | undefined;
|
|
695
|
+
description?: {
|
|
696
|
+
text: string;
|
|
697
|
+
json: Record<string, any>;
|
|
698
|
+
} | null | undefined;
|
|
699
|
+
default_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
700
|
+
visibility?: "public" | "private" | "organization" | "monetized" | "inherit" | undefined;
|
|
701
|
+
actor_type_policy?: "any" | "verified_only" | "agents_only" | null | undefined;
|
|
702
|
+
source_policy?: "any" | "web_only" | "api_only" | null | undefined;
|
|
703
|
+
userMembership?: {
|
|
704
|
+
user_id: string;
|
|
705
|
+
role: "admin" | "read" | "write" | "none";
|
|
706
|
+
} | null | undefined;
|
|
707
|
+
memberCount?: number | null | undefined;
|
|
708
|
+
members?: {
|
|
709
|
+
user_id: string;
|
|
710
|
+
role: "admin" | "read" | "write" | "none";
|
|
711
|
+
added_at: string;
|
|
712
|
+
user?: {
|
|
713
|
+
id?: string | undefined;
|
|
714
|
+
user_id?: string | undefined;
|
|
715
|
+
username?: string | null | undefined;
|
|
716
|
+
name?: string | null | undefined;
|
|
717
|
+
avatar_path?: string | null | undefined;
|
|
718
|
+
bio?: string | null | undefined;
|
|
719
|
+
urls?: {
|
|
720
|
+
value: string;
|
|
721
|
+
}[] | undefined;
|
|
722
|
+
post_id?: string | null | undefined;
|
|
723
|
+
actor_type?: "base" | "agent" | "verified" | undefined;
|
|
724
|
+
plan_type?: "free" | "gold" | undefined;
|
|
725
|
+
last_active?: string | undefined;
|
|
726
|
+
} | null | undefined;
|
|
727
|
+
}[] | undefined;
|
|
728
|
+
created_at?: string | undefined;
|
|
729
|
+
} | undefined;
|
|
730
|
+
parent_id?: string | null | undefined;
|
|
731
|
+
parent?: Record<string, any> | undefined;
|
|
732
|
+
license_id?: string | undefined;
|
|
733
|
+
license?: Record<string, any> | undefined;
|
|
734
|
+
name?: string | undefined;
|
|
735
|
+
slug?: string | null | undefined;
|
|
736
|
+
description?: {
|
|
737
|
+
json: Record<string, any>;
|
|
738
|
+
text: string;
|
|
739
|
+
} | null | undefined;
|
|
740
|
+
visibility?: "public" | "private" | "organization" | "monetized" | "inherit" | undefined;
|
|
741
|
+
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
742
|
+
price?: number | null | undefined;
|
|
743
|
+
unit_cost?: number | null | undefined;
|
|
744
|
+
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
745
|
+
cost_unit?: string | null | undefined;
|
|
746
|
+
price_currency?: "usd" | "btc" | undefined;
|
|
747
|
+
stripe_product_id?: string | null | undefined;
|
|
748
|
+
stripe_price_id?: string | null | undefined;
|
|
749
|
+
stripe_meter_id?: string | null | undefined;
|
|
750
|
+
preview?: Record<string, any>[] | null | undefined;
|
|
751
|
+
state?: "success" | "error" | "queued" | "in-progress" | undefined;
|
|
752
|
+
source?: "web" | "api" | undefined;
|
|
753
|
+
created_at?: string | undefined;
|
|
754
|
+
last_updated?: string | undefined;
|
|
755
|
+
asset_type?: "organization" | "file" | "user" | "team" | "dataset" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
|
|
756
|
+
metadata?: {
|
|
757
|
+
schedule?: {
|
|
758
|
+
[x: string]: unknown;
|
|
759
|
+
cron: string;
|
|
760
|
+
} | undefined;
|
|
761
|
+
doi_url?: string | null | undefined;
|
|
762
|
+
external_url?: string | null | undefined;
|
|
763
|
+
paper_url?: string | null | undefined;
|
|
764
|
+
github_url?: string | null | undefined;
|
|
765
|
+
originality?: "original" | "derivative" | "third-party" | undefined;
|
|
766
|
+
source?: string | null | undefined;
|
|
767
|
+
} | undefined;
|
|
768
|
+
}>>;
|
|
769
|
+
declare const UpdateReplicationSchema: z.ZodPipe<z.ZodObject<{
|
|
770
|
+
team_id: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
407
771
|
name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
408
772
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
409
773
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
410
774
|
visibility: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
411
|
-
organization: "organization";
|
|
412
775
|
public: "public";
|
|
413
776
|
private: "private";
|
|
777
|
+
organization: "organization";
|
|
414
778
|
monetized: "monetized";
|
|
415
779
|
inherit: "inherit";
|
|
416
780
|
}>>>;
|
|
417
781
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
418
782
|
last_updated: z.ZodDefault<z.ZodString>;
|
|
419
|
-
}, z.core.$strip
|
|
783
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
784
|
+
last_updated: string;
|
|
785
|
+
team_id?: string | null | undefined;
|
|
786
|
+
name_url_slug?: string | null | undefined;
|
|
787
|
+
name?: string | null | undefined;
|
|
788
|
+
description?: string | null | undefined;
|
|
789
|
+
visibility?: "public" | "private" | "organization" | "monetized" | "inherit" | null | undefined;
|
|
790
|
+
metadata?: Record<string, any> | null | undefined;
|
|
791
|
+
}, {
|
|
792
|
+
last_updated: string;
|
|
793
|
+
team_id?: string | null | undefined;
|
|
794
|
+
name_url_slug?: string | null | undefined;
|
|
795
|
+
name?: string | null | undefined;
|
|
796
|
+
description?: string | null | undefined;
|
|
797
|
+
visibility?: "public" | "private" | "organization" | "monetized" | "inherit" | null | undefined;
|
|
798
|
+
metadata?: Record<string, any> | null | undefined;
|
|
799
|
+
}>>;
|
|
420
800
|
|
|
421
801
|
type Replication = z.infer<typeof ReplicationSchema>;
|
|
422
802
|
type CreateReplication = z.infer<typeof CreateReplicationSchema>;
|