@ourofoundation/ouro-js 3.0.5 → 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 +193 -75
- package/dist/schema/assets.d.ts +193 -75
- package/dist/schema/assets.js +1 -1
- package/dist/schema/blueprints.cjs +1 -1
- package/dist/schema/blueprints.d.cts +408 -42
- package/dist/schema/blueprints.d.ts +408 -42
- package/dist/schema/blueprints.js +1 -1
- package/dist/schema/comments.cjs +1 -1
- package/dist/schema/comments.d.cts +429 -81
- package/dist/schema/comments.d.ts +429 -81
- package/dist/schema/comments.js +1 -1
- package/dist/schema/common.cjs +1 -1
- package/dist/schema/common.d.cts +26 -26
- package/dist/schema/common.d.ts +26 -26
- 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 +257 -63
- package/dist/schema/conversations.d.ts +257 -63
- package/dist/schema/conversations.js +1 -1
- package/dist/schema/datasets.cjs +1 -1
- package/dist/schema/datasets.d.cts +388 -82
- package/dist/schema/datasets.d.ts +388 -82
- package/dist/schema/datasets.js +1 -1
- package/dist/schema/files.cjs +1 -1
- package/dist/schema/files.d.cts +378 -80
- package/dist/schema/files.d.ts +378 -80
- package/dist/schema/files.js +1 -1
- package/dist/schema/notifications.cjs +1 -1
- package/dist/schema/notifications.d.cts +2 -2
- package/dist/schema/notifications.d.ts +2 -2
- package/dist/schema/notifications.js +1 -1
- package/dist/schema/organizations.cjs +1 -1
- package/dist/schema/organizations.d.cts +31 -4
- package/dist/schema/organizations.d.ts +31 -4
- package/dist/schema/organizations.js +1 -1
- package/dist/schema/posts.cjs +1 -1
- package/dist/schema/posts.d.cts +444 -126
- package/dist/schema/posts.d.ts +444 -126
- 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 +410 -42
- package/dist/schema/replications.d.ts +410 -42
- package/dist/schema/replications.js +1 -1
- package/dist/schema/services.cjs +1 -1
- package/dist/schema/services.d.cts +471 -137
- package/dist/schema/services.d.ts +471 -137
- package/dist/schema/services.js +1 -1
- package/dist/schema/teams.cjs +1 -1
- package/dist/schema/teams.d.cts +143 -36
- package/dist/schema/teams.d.ts +143 -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-2TOV7G54.js +0 -2
- package/dist/chunk-2TOV7G54.js.map +0 -1
- package/dist/chunk-3RRKHJ3K.cjs +0 -2
- package/dist/chunk-3RRKHJ3K.cjs.map +0 -1
- package/dist/chunk-4RN4XNPV.cjs +0 -2
- package/dist/chunk-4RN4XNPV.cjs.map +0 -1
- package/dist/chunk-6GWDL7RE.cjs +0 -2
- package/dist/chunk-6GWDL7RE.cjs.map +0 -1
- package/dist/chunk-6Q25VZKZ.cjs +0 -2
- package/dist/chunk-6Q25VZKZ.cjs.map +0 -1
- package/dist/chunk-ARSGP6GA.js +0 -2
- package/dist/chunk-ARSGP6GA.js.map +0 -1
- package/dist/chunk-B776YSQ2.cjs +0 -2
- package/dist/chunk-B776YSQ2.cjs.map +0 -1
- package/dist/chunk-C3EY5Q7D.cjs +0 -2
- package/dist/chunk-C3EY5Q7D.cjs.map +0 -1
- package/dist/chunk-C3JUA7VU.js +0 -2
- package/dist/chunk-C3JUA7VU.js.map +0 -1
- package/dist/chunk-C7P6EZ4K.js +0 -2
- package/dist/chunk-C7P6EZ4K.js.map +0 -1
- package/dist/chunk-CEANOLSH.js +0 -2
- package/dist/chunk-CEANOLSH.js.map +0 -1
- package/dist/chunk-D2H3DN4E.cjs +0 -2
- package/dist/chunk-D2H3DN4E.cjs.map +0 -1
- package/dist/chunk-E3BVDCVN.cjs +0 -2
- package/dist/chunk-E3BVDCVN.cjs.map +0 -1
- package/dist/chunk-ENCQWA5V.js +0 -2
- package/dist/chunk-ENCQWA5V.js.map +0 -1
- package/dist/chunk-FWDYNPNC.cjs +0 -2
- package/dist/chunk-FWDYNPNC.cjs.map +0 -1
- package/dist/chunk-HT4JPC5P.js +0 -2
- package/dist/chunk-HT4JPC5P.js.map +0 -1
- package/dist/chunk-HVX2JPYI.js +0 -2
- package/dist/chunk-HVX2JPYI.js.map +0 -1
- package/dist/chunk-IF4N6V66.cjs +0 -2
- package/dist/chunk-IF4N6V66.cjs.map +0 -1
- package/dist/chunk-IIKZ5DYT.cjs +0 -2
- package/dist/chunk-JAAPYGR3.js +0 -2
- package/dist/chunk-JAAPYGR3.js.map +0 -1
- package/dist/chunk-JYZE6VG5.js +0 -2
- package/dist/chunk-JYZE6VG5.js.map +0 -1
- package/dist/chunk-LWSF5AHU.js +0 -2
- package/dist/chunk-LWSF5AHU.js.map +0 -1
- package/dist/chunk-MRSFHKNV.js +0 -2
- package/dist/chunk-MRSFHKNV.js.map +0 -1
- package/dist/chunk-N5ADIAWW.cjs +0 -2
- package/dist/chunk-N5ADIAWW.cjs.map +0 -1
- package/dist/chunk-PDLAKYCI.cjs +0 -2
- package/dist/chunk-PDLAKYCI.cjs.map +0 -1
- package/dist/chunk-QTPX6PU3.cjs +0 -2
- package/dist/chunk-QTPX6PU3.cjs.map +0 -1
- package/dist/chunk-RPUL3U2U.js +0 -2
- package/dist/chunk-RPUL3U2U.js.map +0 -1
- package/dist/chunk-T3J5Y445.js +0 -2
- package/dist/chunk-TNDFH7NB.js +0 -2
- package/dist/chunk-TNDFH7NB.js.map +0 -1
- package/dist/chunk-UEV6JSU5.cjs +0 -2
- package/dist/chunk-UEV6JSU5.cjs.map +0 -1
- package/dist/chunk-V4FDUFIL.cjs +0 -2
- package/dist/chunk-V4FDUFIL.cjs.map +0 -1
- package/dist/chunk-VOX7A2FD.js +0 -2
- package/dist/chunk-VOX7A2FD.js.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
|
|
3
3
|
declare const BlueprintSchema: 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,15 +13,19 @@ declare const BlueprintSchema: 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
30
|
id: z.ZodOptional<z.ZodUUID>;
|
|
27
31
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -41,12 +45,23 @@ declare const BlueprintSchema: z.ZodObject<{
|
|
|
41
45
|
none: "none";
|
|
42
46
|
}>>>;
|
|
43
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>>>;
|
|
44
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
|
+
}>>>>;
|
|
45
60
|
}, z.core.$strip>>;
|
|
46
|
-
team_id: z.
|
|
61
|
+
team_id: z.ZodUUID;
|
|
47
62
|
team: z.ZodOptional<z.ZodObject<{
|
|
48
|
-
id: z.ZodOptional<z.
|
|
49
|
-
org_id: z.ZodOptional<z.
|
|
63
|
+
id: z.ZodOptional<z.ZodUUID>;
|
|
64
|
+
org_id: z.ZodOptional<z.ZodUUID>;
|
|
50
65
|
organization: z.ZodOptional<z.ZodObject<{
|
|
51
66
|
id: z.ZodUUID;
|
|
52
67
|
name: z.ZodString;
|
|
@@ -66,7 +81,18 @@ declare const BlueprintSchema: z.ZodObject<{
|
|
|
66
81
|
none: "none";
|
|
67
82
|
}>>;
|
|
68
83
|
allow_external_members: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
84
|
+
allow_external_public_team_creation: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
69
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
|
+
}>>>;
|
|
70
96
|
}, z.core.$strip>>;
|
|
71
97
|
name: z.ZodOptional<z.ZodString>;
|
|
72
98
|
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -80,14 +106,24 @@ declare const BlueprintSchema: z.ZodObject<{
|
|
|
80
106
|
none: "none";
|
|
81
107
|
}>>;
|
|
82
108
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
83
|
-
organization: "organization";
|
|
84
109
|
public: "public";
|
|
85
110
|
private: "private";
|
|
111
|
+
organization: "organization";
|
|
86
112
|
monetized: "monetized";
|
|
87
113
|
inherit: "inherit";
|
|
88
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
|
+
}>>>>;
|
|
89
125
|
userMembership: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
90
|
-
user_id: z.
|
|
126
|
+
user_id: z.ZodUUID;
|
|
91
127
|
role: z.ZodEnum<{
|
|
92
128
|
admin: "admin";
|
|
93
129
|
read: "read";
|
|
@@ -97,7 +133,7 @@ declare const BlueprintSchema: z.ZodObject<{
|
|
|
97
133
|
}, z.core.$strip>>>>;
|
|
98
134
|
memberCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
99
135
|
members: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
100
|
-
user_id: z.
|
|
136
|
+
user_id: z.ZodUUID;
|
|
101
137
|
role: z.ZodEnum<{
|
|
102
138
|
admin: "admin";
|
|
103
139
|
read: "read";
|
|
@@ -115,8 +151,12 @@ declare const BlueprintSchema: z.ZodObject<{
|
|
|
115
151
|
urls: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
116
152
|
value: z.ZodString;
|
|
117
153
|
}, z.core.$strip>>>>;
|
|
118
|
-
post_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.
|
|
119
|
-
|
|
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
|
+
}>>;
|
|
120
160
|
plan_type: z.ZodOptional<z.ZodEnum<{
|
|
121
161
|
free: "free";
|
|
122
162
|
gold: "gold";
|
|
@@ -126,7 +166,7 @@ declare const BlueprintSchema: z.ZodObject<{
|
|
|
126
166
|
}, z.core.$strip>>>;
|
|
127
167
|
created_at: z.ZodOptional<z.ZodString>;
|
|
128
168
|
}, z.core.$strip>>;
|
|
129
|
-
parent_id: z.ZodOptional<z.ZodNullable<z.
|
|
169
|
+
parent_id: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
130
170
|
parent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
131
171
|
license_id: z.ZodString;
|
|
132
172
|
license: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
@@ -138,9 +178,9 @@ declare const BlueprintSchema: z.ZodObject<{
|
|
|
138
178
|
text: z.ZodString;
|
|
139
179
|
}, z.core.$strip>>>;
|
|
140
180
|
visibility: z.ZodEnum<{
|
|
141
|
-
organization: "organization";
|
|
142
181
|
public: "public";
|
|
143
182
|
private: "private";
|
|
183
|
+
organization: "organization";
|
|
144
184
|
monetized: "monetized";
|
|
145
185
|
inherit: "inherit";
|
|
146
186
|
}>;
|
|
@@ -171,17 +211,17 @@ declare const BlueprintSchema: z.ZodObject<{
|
|
|
171
211
|
"in-progress": "in-progress";
|
|
172
212
|
}>;
|
|
173
213
|
source: z.ZodEnum<{
|
|
174
|
-
api: "api";
|
|
175
214
|
web: "web";
|
|
215
|
+
api: "api";
|
|
176
216
|
}>;
|
|
177
217
|
created_at: z.ZodString;
|
|
178
218
|
last_updated: z.ZodString;
|
|
179
219
|
asset_type: z.ZodEnum<{
|
|
180
|
-
user: "user";
|
|
181
220
|
organization: "organization";
|
|
221
|
+
file: "file";
|
|
222
|
+
user: "user";
|
|
182
223
|
team: "team";
|
|
183
224
|
dataset: "dataset";
|
|
184
|
-
file: "file";
|
|
185
225
|
service: "service";
|
|
186
226
|
route: "route";
|
|
187
227
|
post: "post";
|
|
@@ -206,8 +246,8 @@ declare const BlueprintSchema: z.ZodObject<{
|
|
|
206
246
|
source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
207
247
|
}, z.core.$strip>;
|
|
208
248
|
}, z.core.$strip>;
|
|
209
|
-
declare const CreateBlueprintSchema: z.ZodObject<{
|
|
210
|
-
user_id: z.ZodOptional<z.
|
|
249
|
+
declare const CreateBlueprintSchema: z.ZodPipe<z.ZodObject<{
|
|
250
|
+
user_id: z.ZodOptional<z.ZodUUID>;
|
|
211
251
|
user: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
212
252
|
id: z.ZodOptional<z.ZodUUID>;
|
|
213
253
|
user_id: z.ZodOptional<z.ZodUUID>;
|
|
@@ -218,8 +258,12 @@ declare const CreateBlueprintSchema: z.ZodObject<{
|
|
|
218
258
|
urls: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
219
259
|
value: z.ZodString;
|
|
220
260
|
}, z.core.$strip>>>>;
|
|
221
|
-
post_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.
|
|
222
|
-
|
|
261
|
+
post_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
262
|
+
actor_type: z.ZodOptional<z.ZodEnum<{
|
|
263
|
+
base: "base";
|
|
264
|
+
agent: "agent";
|
|
265
|
+
verified: "verified";
|
|
266
|
+
}>>;
|
|
223
267
|
plan_type: z.ZodOptional<z.ZodEnum<{
|
|
224
268
|
free: "free";
|
|
225
269
|
gold: "gold";
|
|
@@ -245,11 +289,22 @@ declare const CreateBlueprintSchema: z.ZodObject<{
|
|
|
245
289
|
none: "none";
|
|
246
290
|
}>>>;
|
|
247
291
|
allow_external_members: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
292
|
+
allow_external_public_team_creation: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
248
293
|
join_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
|
|
294
|
+
actor_type_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
295
|
+
any: "any";
|
|
296
|
+
verified_only: "verified_only";
|
|
297
|
+
agents_only: "agents_only";
|
|
298
|
+
}>>>>;
|
|
299
|
+
source_policy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
300
|
+
any: "any";
|
|
301
|
+
web_only: "web_only";
|
|
302
|
+
api_only: "api_only";
|
|
303
|
+
}>>>>;
|
|
249
304
|
}, z.core.$strip>>>;
|
|
250
305
|
team: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
251
|
-
id: z.ZodOptional<z.
|
|
252
|
-
org_id: z.ZodOptional<z.
|
|
306
|
+
id: z.ZodOptional<z.ZodUUID>;
|
|
307
|
+
org_id: z.ZodOptional<z.ZodUUID>;
|
|
253
308
|
organization: z.ZodOptional<z.ZodObject<{
|
|
254
309
|
id: z.ZodUUID;
|
|
255
310
|
name: z.ZodString;
|
|
@@ -269,7 +324,18 @@ declare const CreateBlueprintSchema: z.ZodObject<{
|
|
|
269
324
|
none: "none";
|
|
270
325
|
}>>;
|
|
271
326
|
allow_external_members: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
327
|
+
allow_external_public_team_creation: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
272
328
|
join_policy: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
329
|
+
actor_type_policy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
330
|
+
any: "any";
|
|
331
|
+
verified_only: "verified_only";
|
|
332
|
+
agents_only: "agents_only";
|
|
333
|
+
}>>>;
|
|
334
|
+
source_policy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
335
|
+
any: "any";
|
|
336
|
+
web_only: "web_only";
|
|
337
|
+
api_only: "api_only";
|
|
338
|
+
}>>>;
|
|
273
339
|
}, z.core.$strip>>;
|
|
274
340
|
name: z.ZodOptional<z.ZodString>;
|
|
275
341
|
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -283,14 +349,24 @@ declare const CreateBlueprintSchema: z.ZodObject<{
|
|
|
283
349
|
none: "none";
|
|
284
350
|
}>>;
|
|
285
351
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
286
|
-
organization: "organization";
|
|
287
352
|
public: "public";
|
|
288
353
|
private: "private";
|
|
354
|
+
organization: "organization";
|
|
289
355
|
monetized: "monetized";
|
|
290
356
|
inherit: "inherit";
|
|
291
357
|
}>>;
|
|
358
|
+
actor_type_policy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
359
|
+
any: "any";
|
|
360
|
+
verified_only: "verified_only";
|
|
361
|
+
agents_only: "agents_only";
|
|
362
|
+
}>>>>;
|
|
363
|
+
source_policy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
364
|
+
any: "any";
|
|
365
|
+
web_only: "web_only";
|
|
366
|
+
api_only: "api_only";
|
|
367
|
+
}>>>>;
|
|
292
368
|
userMembership: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
293
|
-
user_id: z.
|
|
369
|
+
user_id: z.ZodUUID;
|
|
294
370
|
role: z.ZodEnum<{
|
|
295
371
|
admin: "admin";
|
|
296
372
|
read: "read";
|
|
@@ -300,7 +376,7 @@ declare const CreateBlueprintSchema: z.ZodObject<{
|
|
|
300
376
|
}, z.core.$strip>>>>;
|
|
301
377
|
memberCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
302
378
|
members: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
303
|
-
user_id: z.
|
|
379
|
+
user_id: z.ZodUUID;
|
|
304
380
|
role: z.ZodEnum<{
|
|
305
381
|
admin: "admin";
|
|
306
382
|
read: "read";
|
|
@@ -318,8 +394,12 @@ declare const CreateBlueprintSchema: z.ZodObject<{
|
|
|
318
394
|
urls: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
319
395
|
value: z.ZodString;
|
|
320
396
|
}, z.core.$strip>>>>;
|
|
321
|
-
post_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.
|
|
322
|
-
|
|
397
|
+
post_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
398
|
+
actor_type: z.ZodOptional<z.ZodEnum<{
|
|
399
|
+
base: "base";
|
|
400
|
+
agent: "agent";
|
|
401
|
+
verified: "verified";
|
|
402
|
+
}>>;
|
|
323
403
|
plan_type: z.ZodOptional<z.ZodEnum<{
|
|
324
404
|
free: "free";
|
|
325
405
|
gold: "gold";
|
|
@@ -329,16 +409,16 @@ declare const CreateBlueprintSchema: z.ZodObject<{
|
|
|
329
409
|
}, z.core.$strip>>>;
|
|
330
410
|
created_at: z.ZodOptional<z.ZodString>;
|
|
331
411
|
}, z.core.$strip>>>;
|
|
332
|
-
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.
|
|
412
|
+
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
333
413
|
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
334
414
|
license_id: z.ZodOptional<z.ZodString>;
|
|
335
415
|
license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
336
416
|
asset_type: z.ZodOptional<z.ZodEnum<{
|
|
337
|
-
user: "user";
|
|
338
417
|
organization: "organization";
|
|
418
|
+
file: "file";
|
|
419
|
+
user: "user";
|
|
339
420
|
team: "team";
|
|
340
421
|
dataset: "dataset";
|
|
341
|
-
file: "file";
|
|
342
422
|
service: "service";
|
|
343
423
|
route: "route";
|
|
344
424
|
post: "post";
|
|
@@ -355,9 +435,9 @@ declare const CreateBlueprintSchema: z.ZodObject<{
|
|
|
355
435
|
text: z.ZodString;
|
|
356
436
|
}, z.core.$strip>>>>;
|
|
357
437
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
358
|
-
organization: "organization";
|
|
359
438
|
public: "public";
|
|
360
439
|
private: "private";
|
|
440
|
+
organization: "organization";
|
|
361
441
|
monetized: "monetized";
|
|
362
442
|
inherit: "inherit";
|
|
363
443
|
}>>;
|
|
@@ -388,14 +468,14 @@ declare const CreateBlueprintSchema: z.ZodObject<{
|
|
|
388
468
|
"in-progress": "in-progress";
|
|
389
469
|
}>>;
|
|
390
470
|
source: z.ZodOptional<z.ZodEnum<{
|
|
391
|
-
api: "api";
|
|
392
471
|
web: "web";
|
|
472
|
+
api: "api";
|
|
393
473
|
}>>;
|
|
394
474
|
created_at: z.ZodOptional<z.ZodString>;
|
|
395
475
|
last_updated: z.ZodOptional<z.ZodString>;
|
|
396
|
-
id: z.ZodDefault<z.
|
|
397
|
-
team_id: z.ZodDefault<z.
|
|
398
|
-
org_id: z.ZodDefault<z.
|
|
476
|
+
id: z.ZodDefault<z.ZodUUID>;
|
|
477
|
+
team_id: z.ZodDefault<z.ZodUUID>;
|
|
478
|
+
org_id: z.ZodDefault<z.ZodUUID>;
|
|
399
479
|
name_url_slug: z.ZodString;
|
|
400
480
|
metadata: z.ZodObject<{
|
|
401
481
|
edges: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
@@ -411,22 +491,308 @@ declare const CreateBlueprintSchema: z.ZodObject<{
|
|
|
411
491
|
}>>;
|
|
412
492
|
source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
413
493
|
}, z.core.$loose>;
|
|
414
|
-
}, z.core.$strip
|
|
415
|
-
|
|
416
|
-
team_id:
|
|
494
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
495
|
+
id: string;
|
|
496
|
+
team_id: string;
|
|
497
|
+
org_id: string;
|
|
498
|
+
name_url_slug: string;
|
|
499
|
+
metadata: {
|
|
500
|
+
[x: string]: unknown;
|
|
501
|
+
edges: Record<string, any>[];
|
|
502
|
+
nodes: Record<string, any>[];
|
|
503
|
+
doi_url?: string | null | undefined;
|
|
504
|
+
external_url?: string | null | undefined;
|
|
505
|
+
paper_url?: string | null | undefined;
|
|
506
|
+
github_url?: string | null | undefined;
|
|
507
|
+
originality?: "original" | "derivative" | "third-party" | undefined;
|
|
508
|
+
source?: string | null | undefined;
|
|
509
|
+
};
|
|
510
|
+
user_id?: string | undefined;
|
|
511
|
+
user?: {
|
|
512
|
+
id?: string | undefined;
|
|
513
|
+
user_id?: string | undefined;
|
|
514
|
+
username?: string | null | undefined;
|
|
515
|
+
name?: string | null | undefined;
|
|
516
|
+
avatar_path?: string | null | undefined;
|
|
517
|
+
bio?: string | null | undefined;
|
|
518
|
+
urls?: {
|
|
519
|
+
value: string;
|
|
520
|
+
}[] | undefined;
|
|
521
|
+
post_id?: string | null | undefined;
|
|
522
|
+
actor_type?: "base" | "agent" | "verified" | undefined;
|
|
523
|
+
plan_type?: "free" | "gold" | undefined;
|
|
524
|
+
last_active?: string | undefined;
|
|
525
|
+
} | undefined;
|
|
526
|
+
organization?: {
|
|
527
|
+
id?: string | undefined;
|
|
528
|
+
name?: string | undefined;
|
|
529
|
+
display_name?: string | null | undefined;
|
|
530
|
+
avatar_path?: string | null | undefined;
|
|
531
|
+
mission?: string | null | undefined;
|
|
532
|
+
size?: string | undefined;
|
|
533
|
+
email?: string | null | undefined;
|
|
534
|
+
domain?: string | null | undefined;
|
|
535
|
+
urls?: {
|
|
536
|
+
value: string;
|
|
537
|
+
}[] | null | undefined;
|
|
538
|
+
base_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
539
|
+
allow_external_members?: boolean | undefined;
|
|
540
|
+
allow_external_public_team_creation?: boolean | undefined;
|
|
541
|
+
join_policy?: string | undefined;
|
|
542
|
+
actor_type_policy?: "any" | "verified_only" | "agents_only" | undefined;
|
|
543
|
+
source_policy?: "any" | "web_only" | "api_only" | undefined;
|
|
544
|
+
} | undefined;
|
|
545
|
+
team?: {
|
|
546
|
+
id?: string | undefined;
|
|
547
|
+
org_id?: string | undefined;
|
|
548
|
+
organization?: {
|
|
549
|
+
id: string;
|
|
550
|
+
name: string;
|
|
551
|
+
size: string;
|
|
552
|
+
base_role: "admin" | "read" | "write" | "none";
|
|
553
|
+
allow_external_members: boolean;
|
|
554
|
+
allow_external_public_team_creation: boolean;
|
|
555
|
+
join_policy: string;
|
|
556
|
+
actor_type_policy: "any" | "verified_only" | "agents_only";
|
|
557
|
+
source_policy: "any" | "web_only" | "api_only";
|
|
558
|
+
display_name?: string | null | undefined;
|
|
559
|
+
avatar_path?: string | null | undefined;
|
|
560
|
+
mission?: string | null | undefined;
|
|
561
|
+
email?: string | null | undefined;
|
|
562
|
+
domain?: string | null | undefined;
|
|
563
|
+
urls?: {
|
|
564
|
+
value: string;
|
|
565
|
+
}[] | null | undefined;
|
|
566
|
+
} | undefined;
|
|
567
|
+
name?: string | undefined;
|
|
568
|
+
description?: {
|
|
569
|
+
text: string;
|
|
570
|
+
json: Record<string, any>;
|
|
571
|
+
} | null | undefined;
|
|
572
|
+
default_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
573
|
+
visibility?: "public" | "private" | "organization" | "monetized" | "inherit" | undefined;
|
|
574
|
+
actor_type_policy?: "any" | "verified_only" | "agents_only" | null | undefined;
|
|
575
|
+
source_policy?: "any" | "web_only" | "api_only" | null | undefined;
|
|
576
|
+
userMembership?: {
|
|
577
|
+
user_id: string;
|
|
578
|
+
role: "admin" | "read" | "write" | "none";
|
|
579
|
+
} | null | undefined;
|
|
580
|
+
memberCount?: number | null | undefined;
|
|
581
|
+
members?: {
|
|
582
|
+
user_id: string;
|
|
583
|
+
role: "admin" | "read" | "write" | "none";
|
|
584
|
+
added_at: string;
|
|
585
|
+
user?: {
|
|
586
|
+
id?: string | undefined;
|
|
587
|
+
user_id?: string | undefined;
|
|
588
|
+
username?: string | null | undefined;
|
|
589
|
+
name?: string | null | undefined;
|
|
590
|
+
avatar_path?: string | null | undefined;
|
|
591
|
+
bio?: string | null | undefined;
|
|
592
|
+
urls?: {
|
|
593
|
+
value: string;
|
|
594
|
+
}[] | undefined;
|
|
595
|
+
post_id?: string | null | undefined;
|
|
596
|
+
actor_type?: "base" | "agent" | "verified" | undefined;
|
|
597
|
+
plan_type?: "free" | "gold" | undefined;
|
|
598
|
+
last_active?: string | undefined;
|
|
599
|
+
} | null | undefined;
|
|
600
|
+
}[] | undefined;
|
|
601
|
+
created_at?: string | undefined;
|
|
602
|
+
} | undefined;
|
|
603
|
+
parent_id?: string | null | undefined;
|
|
604
|
+
parent?: Record<string, any> | undefined;
|
|
605
|
+
license_id?: string | undefined;
|
|
606
|
+
license?: Record<string, any> | undefined;
|
|
607
|
+
asset_type?: "organization" | "file" | "user" | "team" | "dataset" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
|
|
608
|
+
name?: string | undefined;
|
|
609
|
+
slug?: string | null | undefined;
|
|
610
|
+
description?: {
|
|
611
|
+
json: Record<string, any>;
|
|
612
|
+
text: string;
|
|
613
|
+
} | null | undefined;
|
|
614
|
+
visibility?: "public" | "private" | "organization" | "monetized" | "inherit" | undefined;
|
|
615
|
+
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
616
|
+
price?: number | null | undefined;
|
|
617
|
+
unit_cost?: number | null | undefined;
|
|
618
|
+
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
619
|
+
cost_unit?: string | null | undefined;
|
|
620
|
+
price_currency?: "usd" | "btc" | undefined;
|
|
621
|
+
stripe_product_id?: string | null | undefined;
|
|
622
|
+
stripe_price_id?: string | null | undefined;
|
|
623
|
+
stripe_meter_id?: string | null | undefined;
|
|
624
|
+
preview?: Record<string, any>[] | null | undefined;
|
|
625
|
+
state?: "success" | "error" | "queued" | "in-progress" | undefined;
|
|
626
|
+
source?: "web" | "api" | undefined;
|
|
627
|
+
created_at?: string | undefined;
|
|
628
|
+
last_updated?: string | undefined;
|
|
629
|
+
}, {
|
|
630
|
+
id: string;
|
|
631
|
+
team_id: string;
|
|
632
|
+
org_id: string;
|
|
633
|
+
name_url_slug: string;
|
|
634
|
+
metadata: {
|
|
635
|
+
[x: string]: unknown;
|
|
636
|
+
edges: Record<string, any>[];
|
|
637
|
+
nodes: Record<string, any>[];
|
|
638
|
+
doi_url?: string | null | undefined;
|
|
639
|
+
external_url?: string | null | undefined;
|
|
640
|
+
paper_url?: string | null | undefined;
|
|
641
|
+
github_url?: string | null | undefined;
|
|
642
|
+
originality?: "original" | "derivative" | "third-party" | undefined;
|
|
643
|
+
source?: string | null | undefined;
|
|
644
|
+
};
|
|
645
|
+
user_id?: string | undefined;
|
|
646
|
+
user?: {
|
|
647
|
+
id?: string | undefined;
|
|
648
|
+
user_id?: string | undefined;
|
|
649
|
+
username?: string | null | undefined;
|
|
650
|
+
name?: string | null | undefined;
|
|
651
|
+
avatar_path?: string | null | undefined;
|
|
652
|
+
bio?: string | null | undefined;
|
|
653
|
+
urls?: {
|
|
654
|
+
value: string;
|
|
655
|
+
}[] | undefined;
|
|
656
|
+
post_id?: string | null | undefined;
|
|
657
|
+
actor_type?: "base" | "agent" | "verified" | undefined;
|
|
658
|
+
plan_type?: "free" | "gold" | undefined;
|
|
659
|
+
last_active?: string | undefined;
|
|
660
|
+
} | undefined;
|
|
661
|
+
organization?: {
|
|
662
|
+
id?: string | undefined;
|
|
663
|
+
name?: string | undefined;
|
|
664
|
+
display_name?: string | null | undefined;
|
|
665
|
+
avatar_path?: string | null | undefined;
|
|
666
|
+
mission?: string | null | undefined;
|
|
667
|
+
size?: string | undefined;
|
|
668
|
+
email?: string | null | undefined;
|
|
669
|
+
domain?: string | null | undefined;
|
|
670
|
+
urls?: {
|
|
671
|
+
value: string;
|
|
672
|
+
}[] | null | undefined;
|
|
673
|
+
base_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
674
|
+
allow_external_members?: boolean | undefined;
|
|
675
|
+
allow_external_public_team_creation?: boolean | undefined;
|
|
676
|
+
join_policy?: string | undefined;
|
|
677
|
+
actor_type_policy?: "any" | "verified_only" | "agents_only" | undefined;
|
|
678
|
+
source_policy?: "any" | "web_only" | "api_only" | undefined;
|
|
679
|
+
} | undefined;
|
|
680
|
+
team?: {
|
|
681
|
+
id?: string | undefined;
|
|
682
|
+
org_id?: string | undefined;
|
|
683
|
+
organization?: {
|
|
684
|
+
id: string;
|
|
685
|
+
name: string;
|
|
686
|
+
size: string;
|
|
687
|
+
base_role: "admin" | "read" | "write" | "none";
|
|
688
|
+
allow_external_members: boolean;
|
|
689
|
+
allow_external_public_team_creation: boolean;
|
|
690
|
+
join_policy: string;
|
|
691
|
+
actor_type_policy: "any" | "verified_only" | "agents_only";
|
|
692
|
+
source_policy: "any" | "web_only" | "api_only";
|
|
693
|
+
display_name?: string | null | undefined;
|
|
694
|
+
avatar_path?: string | null | undefined;
|
|
695
|
+
mission?: string | null | undefined;
|
|
696
|
+
email?: string | null | undefined;
|
|
697
|
+
domain?: string | null | undefined;
|
|
698
|
+
urls?: {
|
|
699
|
+
value: string;
|
|
700
|
+
}[] | null | undefined;
|
|
701
|
+
} | undefined;
|
|
702
|
+
name?: string | undefined;
|
|
703
|
+
description?: {
|
|
704
|
+
text: string;
|
|
705
|
+
json: Record<string, any>;
|
|
706
|
+
} | null | undefined;
|
|
707
|
+
default_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
708
|
+
visibility?: "public" | "private" | "organization" | "monetized" | "inherit" | undefined;
|
|
709
|
+
actor_type_policy?: "any" | "verified_only" | "agents_only" | null | undefined;
|
|
710
|
+
source_policy?: "any" | "web_only" | "api_only" | null | undefined;
|
|
711
|
+
userMembership?: {
|
|
712
|
+
user_id: string;
|
|
713
|
+
role: "admin" | "read" | "write" | "none";
|
|
714
|
+
} | null | undefined;
|
|
715
|
+
memberCount?: number | null | undefined;
|
|
716
|
+
members?: {
|
|
717
|
+
user_id: string;
|
|
718
|
+
role: "admin" | "read" | "write" | "none";
|
|
719
|
+
added_at: string;
|
|
720
|
+
user?: {
|
|
721
|
+
id?: string | undefined;
|
|
722
|
+
user_id?: string | undefined;
|
|
723
|
+
username?: string | null | undefined;
|
|
724
|
+
name?: string | null | undefined;
|
|
725
|
+
avatar_path?: string | null | undefined;
|
|
726
|
+
bio?: string | null | undefined;
|
|
727
|
+
urls?: {
|
|
728
|
+
value: string;
|
|
729
|
+
}[] | undefined;
|
|
730
|
+
post_id?: string | null | undefined;
|
|
731
|
+
actor_type?: "base" | "agent" | "verified" | undefined;
|
|
732
|
+
plan_type?: "free" | "gold" | undefined;
|
|
733
|
+
last_active?: string | undefined;
|
|
734
|
+
} | null | undefined;
|
|
735
|
+
}[] | undefined;
|
|
736
|
+
created_at?: string | undefined;
|
|
737
|
+
} | undefined;
|
|
738
|
+
parent_id?: string | null | undefined;
|
|
739
|
+
parent?: Record<string, any> | undefined;
|
|
740
|
+
license_id?: string | undefined;
|
|
741
|
+
license?: Record<string, any> | undefined;
|
|
742
|
+
asset_type?: "organization" | "file" | "user" | "team" | "dataset" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
|
|
743
|
+
name?: string | undefined;
|
|
744
|
+
slug?: string | null | undefined;
|
|
745
|
+
description?: {
|
|
746
|
+
json: Record<string, any>;
|
|
747
|
+
text: string;
|
|
748
|
+
} | null | undefined;
|
|
749
|
+
visibility?: "public" | "private" | "organization" | "monetized" | "inherit" | undefined;
|
|
750
|
+
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
751
|
+
price?: number | null | undefined;
|
|
752
|
+
unit_cost?: number | null | undefined;
|
|
753
|
+
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
754
|
+
cost_unit?: string | null | undefined;
|
|
755
|
+
price_currency?: "usd" | "btc" | undefined;
|
|
756
|
+
stripe_product_id?: string | null | undefined;
|
|
757
|
+
stripe_price_id?: string | null | undefined;
|
|
758
|
+
stripe_meter_id?: string | null | undefined;
|
|
759
|
+
preview?: Record<string, any>[] | null | undefined;
|
|
760
|
+
state?: "success" | "error" | "queued" | "in-progress" | undefined;
|
|
761
|
+
source?: "web" | "api" | undefined;
|
|
762
|
+
created_at?: string | undefined;
|
|
763
|
+
last_updated?: string | undefined;
|
|
764
|
+
}>>;
|
|
765
|
+
declare const UpdateBlueprintSchema: z.ZodPipe<z.ZodObject<{
|
|
766
|
+
team_id: z.ZodNullable<z.ZodUUID>;
|
|
417
767
|
name_url_slug: z.ZodNullable<z.ZodString>;
|
|
418
768
|
name: z.ZodNullable<z.ZodString>;
|
|
419
769
|
description: z.ZodNullable<z.ZodString>;
|
|
420
770
|
visibility: z.ZodNullable<z.ZodEnum<{
|
|
421
|
-
organization: "organization";
|
|
422
771
|
public: "public";
|
|
423
772
|
private: "private";
|
|
773
|
+
organization: "organization";
|
|
424
774
|
monetized: "monetized";
|
|
425
775
|
inherit: "inherit";
|
|
426
776
|
}>>;
|
|
427
777
|
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
428
778
|
last_updated: z.ZodDefault<z.ZodString>;
|
|
429
|
-
}, z.core.$strip
|
|
779
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
780
|
+
team_id: string | null;
|
|
781
|
+
name_url_slug: string | null;
|
|
782
|
+
name: string | null;
|
|
783
|
+
description: string | null;
|
|
784
|
+
visibility: "public" | "private" | "organization" | "monetized" | "inherit" | null;
|
|
785
|
+
metadata: Record<string, any> | null;
|
|
786
|
+
last_updated: string;
|
|
787
|
+
}, {
|
|
788
|
+
team_id: string | null;
|
|
789
|
+
name_url_slug: string | null;
|
|
790
|
+
name: string | null;
|
|
791
|
+
description: string | null;
|
|
792
|
+
visibility: "public" | "private" | "organization" | "monetized" | "inherit" | null;
|
|
793
|
+
metadata: Record<string, any> | null;
|
|
794
|
+
last_updated: string;
|
|
795
|
+
}>>;
|
|
430
796
|
|
|
431
797
|
type Blueprint = z.infer<typeof BlueprintSchema>;
|
|
432
798
|
type CreateBlueprint = z.infer<typeof CreateBlueprintSchema>;
|