@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 ConversationSchema: 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 ConversationSchema: 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 ConversationSchema: 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 ConversationSchema: 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 ConversationSchema: 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 ConversationSchema: 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 ConversationSchema: 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 ConversationSchema: 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 ConversationSchema: 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 ConversationSchema: z.ZodObject<{
|
|
|
171
217
|
created_at: z.ZodString;
|
|
172
218
|
last_updated: z.ZodString;
|
|
173
219
|
asset_type: z.ZodDefault<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";
|
|
@@ -208,8 +254,12 @@ declare const ConversationSchema: z.ZodObject<{
|
|
|
208
254
|
urls: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
209
255
|
value: z.ZodString;
|
|
210
256
|
}, z.core.$strip>>>;
|
|
211
|
-
post_id: z.ZodOptional<z.ZodNullable<z.
|
|
212
|
-
|
|
257
|
+
post_id: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
258
|
+
actor_type: z.ZodEnum<{
|
|
259
|
+
base: "base";
|
|
260
|
+
agent: "agent";
|
|
261
|
+
verified: "verified";
|
|
262
|
+
}>;
|
|
213
263
|
plan_type: z.ZodEnum<{
|
|
214
264
|
free: "free";
|
|
215
265
|
gold: "gold";
|
|
@@ -217,13 +267,13 @@ declare const ConversationSchema: z.ZodObject<{
|
|
|
217
267
|
last_active: z.ZodString;
|
|
218
268
|
}, z.core.$strip>>>>;
|
|
219
269
|
}, z.core.$strip>;
|
|
220
|
-
declare const CreateConversationSchema: z.ZodObject<{
|
|
270
|
+
declare const CreateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
221
271
|
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
222
272
|
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
223
273
|
json: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
224
274
|
text: z.ZodString;
|
|
225
275
|
}, z.core.$strip>>>>;
|
|
226
|
-
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.
|
|
276
|
+
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
227
277
|
license_id: z.ZodOptional<z.ZodString>;
|
|
228
278
|
price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
229
279
|
unit_cost: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
@@ -240,9 +290,9 @@ declare const CreateConversationSchema: z.ZodObject<{
|
|
|
240
290
|
stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
241
291
|
stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
242
292
|
preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>>;
|
|
243
|
-
id: z.ZodDefault<z.
|
|
244
|
-
team_id: z.ZodDefault<z.ZodNullable<z.
|
|
245
|
-
org_id: z.ZodDefault<z.ZodNullable<z.
|
|
293
|
+
id: z.ZodDefault<z.ZodUUID>;
|
|
294
|
+
team_id: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
|
|
295
|
+
org_id: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
|
|
246
296
|
name: z.ZodString;
|
|
247
297
|
name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
248
298
|
state: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
@@ -264,9 +314,9 @@ declare const CreateConversationSchema: z.ZodObject<{
|
|
|
264
314
|
"pay-per-use": "pay-per-use";
|
|
265
315
|
}>>;
|
|
266
316
|
visibility: z.ZodDefault<z.ZodEnum<{
|
|
267
|
-
organization: "organization";
|
|
268
317
|
public: "public";
|
|
269
318
|
private: "private";
|
|
319
|
+
organization: "organization";
|
|
270
320
|
monetized: "monetized";
|
|
271
321
|
inherit: "inherit";
|
|
272
322
|
}>>;
|
|
@@ -283,8 +333,84 @@ declare const CreateConversationSchema: z.ZodObject<{
|
|
|
283
333
|
}>>;
|
|
284
334
|
source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
285
335
|
}, z.core.$strip>;
|
|
286
|
-
}, z.core.$strip
|
|
287
|
-
|
|
336
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
337
|
+
id: string;
|
|
338
|
+
team_id: string | null;
|
|
339
|
+
org_id: string | null;
|
|
340
|
+
name: string;
|
|
341
|
+
state: "success" | "error" | "queued" | "in-progress";
|
|
342
|
+
source: "web" | "api";
|
|
343
|
+
created_at: string;
|
|
344
|
+
last_updated: string;
|
|
345
|
+
asset_type: "conversation";
|
|
346
|
+
monetization: "none" | "pay-to-unlock" | "pay-per-use";
|
|
347
|
+
visibility: "public" | "private" | "organization" | "monetized" | "inherit";
|
|
348
|
+
metadata: {
|
|
349
|
+
members: string[];
|
|
350
|
+
doi_url?: string | null | undefined;
|
|
351
|
+
external_url?: string | null | undefined;
|
|
352
|
+
paper_url?: string | null | undefined;
|
|
353
|
+
github_url?: string | null | undefined;
|
|
354
|
+
originality?: "original" | "derivative" | "third-party" | undefined;
|
|
355
|
+
source?: string | null | undefined;
|
|
356
|
+
};
|
|
357
|
+
parent?: Record<string, any> | undefined;
|
|
358
|
+
description?: {
|
|
359
|
+
json: Record<string, any>;
|
|
360
|
+
text: string;
|
|
361
|
+
} | null | undefined;
|
|
362
|
+
parent_id?: string | null | undefined;
|
|
363
|
+
license_id?: string | undefined;
|
|
364
|
+
price?: number | null | undefined;
|
|
365
|
+
unit_cost?: number | null | undefined;
|
|
366
|
+
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
367
|
+
cost_unit?: string | null | undefined;
|
|
368
|
+
price_currency?: "usd" | "btc" | undefined;
|
|
369
|
+
stripe_product_id?: string | null | undefined;
|
|
370
|
+
stripe_price_id?: string | null | undefined;
|
|
371
|
+
stripe_meter_id?: string | null | undefined;
|
|
372
|
+
preview?: Record<string, any>[] | null | undefined;
|
|
373
|
+
name_url_slug?: string | null | undefined;
|
|
374
|
+
}, {
|
|
375
|
+
id: string;
|
|
376
|
+
team_id: string | null;
|
|
377
|
+
org_id: string | null;
|
|
378
|
+
name: string;
|
|
379
|
+
state: "success" | "error" | "queued" | "in-progress";
|
|
380
|
+
source: "web" | "api";
|
|
381
|
+
created_at: string;
|
|
382
|
+
last_updated: string;
|
|
383
|
+
asset_type: "conversation";
|
|
384
|
+
monetization: "none" | "pay-to-unlock" | "pay-per-use";
|
|
385
|
+
visibility: "public" | "private" | "organization" | "monetized" | "inherit";
|
|
386
|
+
metadata: {
|
|
387
|
+
members: string[];
|
|
388
|
+
doi_url?: string | null | undefined;
|
|
389
|
+
external_url?: string | null | undefined;
|
|
390
|
+
paper_url?: string | null | undefined;
|
|
391
|
+
github_url?: string | null | undefined;
|
|
392
|
+
originality?: "original" | "derivative" | "third-party" | undefined;
|
|
393
|
+
source?: string | null | undefined;
|
|
394
|
+
};
|
|
395
|
+
parent?: Record<string, any> | undefined;
|
|
396
|
+
description?: {
|
|
397
|
+
json: Record<string, any>;
|
|
398
|
+
text: string;
|
|
399
|
+
} | null | undefined;
|
|
400
|
+
parent_id?: string | null | undefined;
|
|
401
|
+
license_id?: string | undefined;
|
|
402
|
+
price?: number | null | undefined;
|
|
403
|
+
unit_cost?: number | null | undefined;
|
|
404
|
+
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
405
|
+
cost_unit?: string | null | undefined;
|
|
406
|
+
price_currency?: "usd" | "btc" | undefined;
|
|
407
|
+
stripe_product_id?: string | null | undefined;
|
|
408
|
+
stripe_price_id?: string | null | undefined;
|
|
409
|
+
stripe_meter_id?: string | null | undefined;
|
|
410
|
+
preview?: Record<string, any>[] | null | undefined;
|
|
411
|
+
name_url_slug?: string | null | undefined;
|
|
412
|
+
}>>;
|
|
413
|
+
declare const UpdateConversationSchema: z.ZodPipe<z.ZodObject<{
|
|
288
414
|
parent: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
|
|
289
415
|
source: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
290
416
|
web: "web";
|
|
@@ -292,9 +418,9 @@ declare const UpdateConversationSchema: z.ZodObject<{
|
|
|
292
418
|
}>>>;
|
|
293
419
|
asset_type: z.ZodOptional<z.ZodDefault<z.ZodLiteral<"conversation">>>;
|
|
294
420
|
visibility: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
295
|
-
organization: "organization";
|
|
296
421
|
public: "public";
|
|
297
422
|
private: "private";
|
|
423
|
+
organization: "organization";
|
|
298
424
|
monetized: "monetized";
|
|
299
425
|
inherit: "inherit";
|
|
300
426
|
}>>>;
|
|
@@ -315,7 +441,7 @@ declare const UpdateConversationSchema: z.ZodObject<{
|
|
|
315
441
|
text: z.ZodString;
|
|
316
442
|
}, z.core.$strip>>>>>;
|
|
317
443
|
created_at: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
318
|
-
parent_id: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.
|
|
444
|
+
parent_id: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>>;
|
|
319
445
|
license_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
320
446
|
name_url_slug: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
321
447
|
price: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>>;
|
|
@@ -347,11 +473,81 @@ declare const UpdateConversationSchema: z.ZodObject<{
|
|
|
347
473
|
}, z.core.$strip>>;
|
|
348
474
|
preview: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>>>;
|
|
349
475
|
last_updated: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
350
|
-
}, z.core.$strip
|
|
476
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
477
|
+
parent?: Record<string, any> | undefined;
|
|
478
|
+
source?: "web" | "api" | undefined;
|
|
479
|
+
asset_type?: "conversation" | undefined;
|
|
480
|
+
visibility?: "public" | "private" | "organization" | "monetized" | "inherit" | undefined;
|
|
481
|
+
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
482
|
+
state?: "success" | "error" | "queued" | "in-progress" | undefined;
|
|
483
|
+
name?: string | undefined;
|
|
484
|
+
description?: {
|
|
485
|
+
json: Record<string, any>;
|
|
486
|
+
text: string;
|
|
487
|
+
} | null | undefined;
|
|
488
|
+
created_at?: string | undefined;
|
|
489
|
+
parent_id?: string | null | undefined;
|
|
490
|
+
license_id?: string | undefined;
|
|
491
|
+
name_url_slug?: string | null | undefined;
|
|
492
|
+
price?: number | null | undefined;
|
|
493
|
+
unit_cost?: number | null | undefined;
|
|
494
|
+
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
495
|
+
cost_unit?: string | null | undefined;
|
|
496
|
+
price_currency?: "usd" | "btc" | undefined;
|
|
497
|
+
stripe_product_id?: string | null | undefined;
|
|
498
|
+
stripe_price_id?: string | null | undefined;
|
|
499
|
+
stripe_meter_id?: string | null | undefined;
|
|
500
|
+
metadata?: {
|
|
501
|
+
members: string[];
|
|
502
|
+
doi_url?: string | null | undefined;
|
|
503
|
+
external_url?: string | null | undefined;
|
|
504
|
+
paper_url?: string | null | undefined;
|
|
505
|
+
github_url?: string | null | undefined;
|
|
506
|
+
originality?: "original" | "derivative" | "third-party" | undefined;
|
|
507
|
+
source?: string | null | undefined;
|
|
508
|
+
} | undefined;
|
|
509
|
+
preview?: Record<string, any>[] | null | undefined;
|
|
510
|
+
last_updated?: string | undefined;
|
|
511
|
+
}, {
|
|
512
|
+
parent?: Record<string, any> | undefined;
|
|
513
|
+
source?: "web" | "api" | undefined;
|
|
514
|
+
asset_type?: "conversation" | undefined;
|
|
515
|
+
visibility?: "public" | "private" | "organization" | "monetized" | "inherit" | undefined;
|
|
516
|
+
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
517
|
+
state?: "success" | "error" | "queued" | "in-progress" | undefined;
|
|
518
|
+
name?: string | undefined;
|
|
519
|
+
description?: {
|
|
520
|
+
json: Record<string, any>;
|
|
521
|
+
text: string;
|
|
522
|
+
} | null | undefined;
|
|
523
|
+
created_at?: string | undefined;
|
|
524
|
+
parent_id?: string | null | undefined;
|
|
525
|
+
license_id?: string | undefined;
|
|
526
|
+
name_url_slug?: string | null | undefined;
|
|
527
|
+
price?: number | null | undefined;
|
|
528
|
+
unit_cost?: number | null | undefined;
|
|
529
|
+
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
530
|
+
cost_unit?: string | null | undefined;
|
|
531
|
+
price_currency?: "usd" | "btc" | undefined;
|
|
532
|
+
stripe_product_id?: string | null | undefined;
|
|
533
|
+
stripe_price_id?: string | null | undefined;
|
|
534
|
+
stripe_meter_id?: string | null | undefined;
|
|
535
|
+
metadata?: {
|
|
536
|
+
members: string[];
|
|
537
|
+
doi_url?: string | null | undefined;
|
|
538
|
+
external_url?: string | null | undefined;
|
|
539
|
+
paper_url?: string | null | undefined;
|
|
540
|
+
github_url?: string | null | undefined;
|
|
541
|
+
originality?: "original" | "derivative" | "third-party" | undefined;
|
|
542
|
+
source?: string | null | undefined;
|
|
543
|
+
} | undefined;
|
|
544
|
+
preview?: Record<string, any>[] | null | undefined;
|
|
545
|
+
last_updated?: string | undefined;
|
|
546
|
+
}>>;
|
|
351
547
|
declare const MessageSchema: z.ZodObject<{
|
|
352
|
-
id: z.
|
|
353
|
-
conversation_id: z.
|
|
354
|
-
user_id: z.
|
|
548
|
+
id: z.ZodUUID;
|
|
549
|
+
conversation_id: z.ZodUUID;
|
|
550
|
+
user_id: z.ZodUUID;
|
|
355
551
|
user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
356
552
|
id: z.ZodUUID;
|
|
357
553
|
user_id: z.ZodUUID;
|
|
@@ -362,8 +558,12 @@ declare const MessageSchema: z.ZodObject<{
|
|
|
362
558
|
urls: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
363
559
|
value: z.ZodString;
|
|
364
560
|
}, z.core.$strip>>>;
|
|
365
|
-
post_id: z.ZodOptional<z.ZodNullable<z.
|
|
366
|
-
|
|
561
|
+
post_id: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
562
|
+
actor_type: z.ZodEnum<{
|
|
563
|
+
base: "base";
|
|
564
|
+
agent: "agent";
|
|
565
|
+
verified: "verified";
|
|
566
|
+
}>;
|
|
367
567
|
plan_type: z.ZodEnum<{
|
|
368
568
|
free: "free";
|
|
369
569
|
gold: "gold";
|
|
@@ -372,7 +572,7 @@ declare const MessageSchema: z.ZodObject<{
|
|
|
372
572
|
}, z.core.$strip>>>;
|
|
373
573
|
created_at: z.ZodString;
|
|
374
574
|
last_updated: z.ZodString;
|
|
375
|
-
viewers: z.ZodArray<z.
|
|
575
|
+
viewers: z.ZodArray<z.ZodUUID>;
|
|
376
576
|
json: z.ZodObject<{
|
|
377
577
|
type: z.ZodLiteral<"doc">;
|
|
378
578
|
content: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{a as ConversationSchema,b as CreateConversationSchema,d as MessageSchema,c as UpdateConversationSchema}from'../chunk-
|
|
1
|
+
export{a as ConversationSchema,b as CreateConversationSchema,d as MessageSchema,c as UpdateConversationSchema}from'../chunk-XPQVPGJX.js';import'../chunk-ICU37YVV.js';import'../chunk-XJH3EC3E.js';import'../chunk-QZ3AAXO5.js';import'../chunk-63BUDJ7V.js';import'../chunk-ZQAXMMR2.js';import'../chunk-CBWCC3NJ.js';import'../chunk-DUBPWSCA.js';//# sourceMappingURL=conversations.js.map
|
|
2
2
|
//# sourceMappingURL=conversations.js.map
|
package/dist/schema/datasets.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkDAN33Z3Q_cjs=require('../chunk-DAN33Z3Q.cjs');require('../chunk-25FGGQFY.cjs'),require('../chunk-6XNV6B6L.cjs'),require('../chunk-6UH4ZK6D.cjs'),require('../chunk-JNBXFB5P.cjs'),require('../chunk-MAHNRYUV.cjs'),require('../chunk-7HF5VHUN.cjs');Object.defineProperty(exports,"CreateDatasetFromFileSchema",{enumerable:true,get:function(){return chunkDAN33Z3Q_cjs.b}});Object.defineProperty(exports,"CreateDatasetFromSchemaSchema",{enumerable:true,get:function(){return chunkDAN33Z3Q_cjs.c}});Object.defineProperty(exports,"DatasetSchema",{enumerable:true,get:function(){return chunkDAN33Z3Q_cjs.a}});Object.defineProperty(exports,"updateDatasetSchema",{enumerable:true,get:function(){return chunkDAN33Z3Q_cjs.d}});//# sourceMappingURL=datasets.cjs.map
|
|
2
2
|
//# sourceMappingURL=datasets.cjs.map
|