@ourofoundation/ouro-js 2.0.4 → 2.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +541 -17
- package/dist/index.d.ts +541 -17
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -12965,45 +12965,569 @@ declare const NotificationSchema: z.ZodObject<{
|
|
|
12965
12965
|
type Notification = z.infer<typeof NotificationSchema>;
|
|
12966
12966
|
|
|
12967
12967
|
declare const authType: z.ZodEnum<["Personal Access Token", "None", "OAuth 2.0"]>;
|
|
12968
|
-
declare const serviceSchema: z.ZodObject<{
|
|
12968
|
+
declare const serviceSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
12969
12969
|
id: z.ZodString;
|
|
12970
12970
|
user_id: z.ZodString;
|
|
12971
|
-
|
|
12971
|
+
user: z.ZodOptional<z.ZodObject<{
|
|
12972
|
+
id: z.ZodOptional<z.ZodString>;
|
|
12973
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
12974
|
+
username: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
12975
|
+
avatar_path: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
12976
|
+
bio: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
12977
|
+
urls: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
12978
|
+
value: z.ZodString;
|
|
12979
|
+
}, "strip", z.ZodTypeAny, {
|
|
12980
|
+
value: string;
|
|
12981
|
+
}, {
|
|
12982
|
+
value: string;
|
|
12983
|
+
}>, "many">>>;
|
|
12984
|
+
post_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
12985
|
+
is_agent: z.ZodOptional<z.ZodBoolean>;
|
|
12986
|
+
plan_type: z.ZodOptional<z.ZodEnum<["free", "gold"]>>;
|
|
12987
|
+
last_active: z.ZodOptional<z.ZodString>;
|
|
12988
|
+
}, "strip", z.ZodTypeAny, {
|
|
12989
|
+
id?: string | undefined;
|
|
12990
|
+
user_id?: string | undefined;
|
|
12991
|
+
username?: string | null | undefined;
|
|
12992
|
+
avatar_path?: string | null | undefined;
|
|
12993
|
+
bio?: string | null | undefined;
|
|
12994
|
+
urls?: {
|
|
12995
|
+
value: string;
|
|
12996
|
+
}[] | undefined;
|
|
12997
|
+
post_id?: string | null | undefined;
|
|
12998
|
+
is_agent?: boolean | undefined;
|
|
12999
|
+
plan_type?: "free" | "gold" | undefined;
|
|
13000
|
+
last_active?: string | undefined;
|
|
13001
|
+
}, {
|
|
13002
|
+
id?: string | undefined;
|
|
13003
|
+
user_id?: string | undefined;
|
|
13004
|
+
username?: string | null | undefined;
|
|
13005
|
+
avatar_path?: string | null | undefined;
|
|
13006
|
+
bio?: string | null | undefined;
|
|
13007
|
+
urls?: {
|
|
13008
|
+
value: string;
|
|
13009
|
+
}[] | undefined;
|
|
13010
|
+
post_id?: string | null | undefined;
|
|
13011
|
+
is_agent?: boolean | undefined;
|
|
13012
|
+
plan_type?: "free" | "gold" | undefined;
|
|
13013
|
+
last_active?: string | undefined;
|
|
13014
|
+
}>>;
|
|
13015
|
+
org_id: z.ZodString;
|
|
13016
|
+
organization: z.ZodOptional<z.ZodObject<{
|
|
13017
|
+
id: z.ZodOptional<z.ZodString>;
|
|
13018
|
+
name: z.ZodOptional<z.ZodString>;
|
|
13019
|
+
avatar_path: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
13020
|
+
mission: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
13021
|
+
size: z.ZodOptional<z.ZodString>;
|
|
13022
|
+
email: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
13023
|
+
domain: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
13024
|
+
urls: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
13025
|
+
value: z.ZodString;
|
|
13026
|
+
}, "strip", z.ZodTypeAny, {
|
|
13027
|
+
value: string;
|
|
13028
|
+
}, {
|
|
13029
|
+
value: string;
|
|
13030
|
+
}>, "many">>>>;
|
|
13031
|
+
base_role: z.ZodOptional<z.ZodDefault<z.ZodEnum<["admin", "read", "write", "none"]>>>;
|
|
13032
|
+
}, "strip", z.ZodTypeAny, {
|
|
13033
|
+
id?: string | undefined;
|
|
13034
|
+
avatar_path?: string | null | undefined;
|
|
13035
|
+
urls?: {
|
|
13036
|
+
value: string;
|
|
13037
|
+
}[] | null | undefined;
|
|
13038
|
+
name?: string | undefined;
|
|
13039
|
+
mission?: string | null | undefined;
|
|
13040
|
+
size?: string | undefined;
|
|
13041
|
+
email?: string | null | undefined;
|
|
13042
|
+
domain?: string | null | undefined;
|
|
13043
|
+
base_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
13044
|
+
}, {
|
|
13045
|
+
id?: string | undefined;
|
|
13046
|
+
avatar_path?: string | null | undefined;
|
|
13047
|
+
urls?: {
|
|
13048
|
+
value: string;
|
|
13049
|
+
}[] | null | undefined;
|
|
13050
|
+
name?: string | undefined;
|
|
13051
|
+
mission?: string | null | undefined;
|
|
13052
|
+
size?: string | undefined;
|
|
13053
|
+
email?: string | null | undefined;
|
|
13054
|
+
domain?: string | null | undefined;
|
|
13055
|
+
base_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
13056
|
+
}>>;
|
|
13057
|
+
team_id: z.ZodString;
|
|
13058
|
+
team: z.ZodOptional<z.ZodObject<{
|
|
13059
|
+
id: z.ZodOptional<z.ZodString>;
|
|
13060
|
+
org_id: z.ZodOptional<z.ZodString>;
|
|
13061
|
+
organization: z.ZodOptional<z.ZodObject<{
|
|
13062
|
+
id: z.ZodString;
|
|
13063
|
+
name: z.ZodString;
|
|
13064
|
+
avatar_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13065
|
+
mission: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13066
|
+
size: z.ZodString;
|
|
13067
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13068
|
+
domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13069
|
+
urls: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
13070
|
+
value: z.ZodString;
|
|
13071
|
+
}, "strip", z.ZodTypeAny, {
|
|
13072
|
+
value: string;
|
|
13073
|
+
}, {
|
|
13074
|
+
value: string;
|
|
13075
|
+
}>, "many">>>;
|
|
13076
|
+
base_role: z.ZodDefault<z.ZodEnum<["admin", "read", "write", "none"]>>;
|
|
13077
|
+
}, "strip", z.ZodTypeAny, {
|
|
13078
|
+
id: string;
|
|
13079
|
+
name: string;
|
|
13080
|
+
size: string;
|
|
13081
|
+
base_role: "admin" | "read" | "write" | "none";
|
|
13082
|
+
avatar_path?: string | null | undefined;
|
|
13083
|
+
urls?: {
|
|
13084
|
+
value: string;
|
|
13085
|
+
}[] | null | undefined;
|
|
13086
|
+
mission?: string | null | undefined;
|
|
13087
|
+
email?: string | null | undefined;
|
|
13088
|
+
domain?: string | null | undefined;
|
|
13089
|
+
}, {
|
|
13090
|
+
id: string;
|
|
13091
|
+
name: string;
|
|
13092
|
+
size: string;
|
|
13093
|
+
avatar_path?: string | null | undefined;
|
|
13094
|
+
urls?: {
|
|
13095
|
+
value: string;
|
|
13096
|
+
}[] | null | undefined;
|
|
13097
|
+
mission?: string | null | undefined;
|
|
13098
|
+
email?: string | null | undefined;
|
|
13099
|
+
domain?: string | null | undefined;
|
|
13100
|
+
base_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
13101
|
+
}>>;
|
|
13102
|
+
name: z.ZodOptional<z.ZodString>;
|
|
13103
|
+
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
13104
|
+
default_role: z.ZodOptional<z.ZodEnum<["admin", "read", "write", "none"]>>;
|
|
13105
|
+
visibility: z.ZodOptional<z.ZodEnum<["public", "private", "organization", "monetized", "inherit"]>>;
|
|
13106
|
+
userMembership: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
13107
|
+
user_id: z.ZodString;
|
|
13108
|
+
role: z.ZodEnum<["admin", "read", "write", "none"]>;
|
|
13109
|
+
}, "strip", z.ZodTypeAny, {
|
|
13110
|
+
user_id: string;
|
|
13111
|
+
role: "admin" | "read" | "write" | "none";
|
|
13112
|
+
}, {
|
|
13113
|
+
user_id: string;
|
|
13114
|
+
role: "admin" | "read" | "write" | "none";
|
|
13115
|
+
}>>>>;
|
|
13116
|
+
memberCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
13117
|
+
members: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
13118
|
+
user_id: z.ZodString;
|
|
13119
|
+
role: z.ZodEnum<["admin", "read", "write", "none"]>;
|
|
13120
|
+
user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
13121
|
+
id: z.ZodOptional<z.ZodString>;
|
|
13122
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
13123
|
+
username: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
13124
|
+
avatar_path: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
13125
|
+
bio: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
13126
|
+
urls: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
13127
|
+
value: z.ZodString;
|
|
13128
|
+
}, "strip", z.ZodTypeAny, {
|
|
13129
|
+
value: string;
|
|
13130
|
+
}, {
|
|
13131
|
+
value: string;
|
|
13132
|
+
}>, "many">>>;
|
|
13133
|
+
post_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
13134
|
+
is_agent: z.ZodOptional<z.ZodBoolean>;
|
|
13135
|
+
plan_type: z.ZodOptional<z.ZodEnum<["free", "gold"]>>;
|
|
13136
|
+
last_active: z.ZodOptional<z.ZodString>;
|
|
13137
|
+
}, "strip", z.ZodTypeAny, {
|
|
13138
|
+
id?: string | undefined;
|
|
13139
|
+
user_id?: string | undefined;
|
|
13140
|
+
username?: string | null | undefined;
|
|
13141
|
+
avatar_path?: string | null | undefined;
|
|
13142
|
+
bio?: string | null | undefined;
|
|
13143
|
+
urls?: {
|
|
13144
|
+
value: string;
|
|
13145
|
+
}[] | undefined;
|
|
13146
|
+
post_id?: string | null | undefined;
|
|
13147
|
+
is_agent?: boolean | undefined;
|
|
13148
|
+
plan_type?: "free" | "gold" | undefined;
|
|
13149
|
+
last_active?: string | undefined;
|
|
13150
|
+
}, {
|
|
13151
|
+
id?: string | undefined;
|
|
13152
|
+
user_id?: string | undefined;
|
|
13153
|
+
username?: string | null | undefined;
|
|
13154
|
+
avatar_path?: string | null | undefined;
|
|
13155
|
+
bio?: string | null | undefined;
|
|
13156
|
+
urls?: {
|
|
13157
|
+
value: string;
|
|
13158
|
+
}[] | undefined;
|
|
13159
|
+
post_id?: string | null | undefined;
|
|
13160
|
+
is_agent?: boolean | undefined;
|
|
13161
|
+
plan_type?: "free" | "gold" | undefined;
|
|
13162
|
+
last_active?: string | undefined;
|
|
13163
|
+
}>>>;
|
|
13164
|
+
}, "strip", z.ZodTypeAny, {
|
|
13165
|
+
user_id: string;
|
|
13166
|
+
role: "admin" | "read" | "write" | "none";
|
|
13167
|
+
user?: {
|
|
13168
|
+
id?: string | undefined;
|
|
13169
|
+
user_id?: string | undefined;
|
|
13170
|
+
username?: string | null | undefined;
|
|
13171
|
+
avatar_path?: string | null | undefined;
|
|
13172
|
+
bio?: string | null | undefined;
|
|
13173
|
+
urls?: {
|
|
13174
|
+
value: string;
|
|
13175
|
+
}[] | undefined;
|
|
13176
|
+
post_id?: string | null | undefined;
|
|
13177
|
+
is_agent?: boolean | undefined;
|
|
13178
|
+
plan_type?: "free" | "gold" | undefined;
|
|
13179
|
+
last_active?: string | undefined;
|
|
13180
|
+
} | null | undefined;
|
|
13181
|
+
}, {
|
|
13182
|
+
user_id: string;
|
|
13183
|
+
role: "admin" | "read" | "write" | "none";
|
|
13184
|
+
user?: {
|
|
13185
|
+
id?: string | undefined;
|
|
13186
|
+
user_id?: string | undefined;
|
|
13187
|
+
username?: string | null | undefined;
|
|
13188
|
+
avatar_path?: string | null | undefined;
|
|
13189
|
+
bio?: string | null | undefined;
|
|
13190
|
+
urls?: {
|
|
13191
|
+
value: string;
|
|
13192
|
+
}[] | undefined;
|
|
13193
|
+
post_id?: string | null | undefined;
|
|
13194
|
+
is_agent?: boolean | undefined;
|
|
13195
|
+
plan_type?: "free" | "gold" | undefined;
|
|
13196
|
+
last_active?: string | undefined;
|
|
13197
|
+
} | null | undefined;
|
|
13198
|
+
}>, "many">>;
|
|
13199
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
13200
|
+
}, "strip", z.ZodTypeAny, {
|
|
13201
|
+
organization?: {
|
|
13202
|
+
id: string;
|
|
13203
|
+
name: string;
|
|
13204
|
+
size: string;
|
|
13205
|
+
base_role: "admin" | "read" | "write" | "none";
|
|
13206
|
+
avatar_path?: string | null | undefined;
|
|
13207
|
+
urls?: {
|
|
13208
|
+
value: string;
|
|
13209
|
+
}[] | null | undefined;
|
|
13210
|
+
mission?: string | null | undefined;
|
|
13211
|
+
email?: string | null | undefined;
|
|
13212
|
+
domain?: string | null | undefined;
|
|
13213
|
+
} | undefined;
|
|
13214
|
+
id?: string | undefined;
|
|
13215
|
+
org_id?: string | undefined;
|
|
13216
|
+
created_at?: string | undefined;
|
|
13217
|
+
name?: string | undefined;
|
|
13218
|
+
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
13219
|
+
description?: string | null | undefined;
|
|
13220
|
+
default_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
13221
|
+
userMembership?: {
|
|
13222
|
+
user_id: string;
|
|
13223
|
+
role: "admin" | "read" | "write" | "none";
|
|
13224
|
+
} | null | undefined;
|
|
13225
|
+
memberCount?: number | null | undefined;
|
|
13226
|
+
members?: {
|
|
13227
|
+
user_id: string;
|
|
13228
|
+
role: "admin" | "read" | "write" | "none";
|
|
13229
|
+
user?: {
|
|
13230
|
+
id?: string | undefined;
|
|
13231
|
+
user_id?: string | undefined;
|
|
13232
|
+
username?: string | null | undefined;
|
|
13233
|
+
avatar_path?: string | null | undefined;
|
|
13234
|
+
bio?: string | null | undefined;
|
|
13235
|
+
urls?: {
|
|
13236
|
+
value: string;
|
|
13237
|
+
}[] | undefined;
|
|
13238
|
+
post_id?: string | null | undefined;
|
|
13239
|
+
is_agent?: boolean | undefined;
|
|
13240
|
+
plan_type?: "free" | "gold" | undefined;
|
|
13241
|
+
last_active?: string | undefined;
|
|
13242
|
+
} | null | undefined;
|
|
13243
|
+
}[] | undefined;
|
|
13244
|
+
}, {
|
|
13245
|
+
organization?: {
|
|
13246
|
+
id: string;
|
|
13247
|
+
name: string;
|
|
13248
|
+
size: string;
|
|
13249
|
+
avatar_path?: string | null | undefined;
|
|
13250
|
+
urls?: {
|
|
13251
|
+
value: string;
|
|
13252
|
+
}[] | null | undefined;
|
|
13253
|
+
mission?: string | null | undefined;
|
|
13254
|
+
email?: string | null | undefined;
|
|
13255
|
+
domain?: string | null | undefined;
|
|
13256
|
+
base_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
13257
|
+
} | undefined;
|
|
13258
|
+
id?: string | undefined;
|
|
13259
|
+
org_id?: string | undefined;
|
|
13260
|
+
created_at?: string | undefined;
|
|
13261
|
+
name?: string | undefined;
|
|
13262
|
+
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
13263
|
+
description?: string | null | undefined;
|
|
13264
|
+
default_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
13265
|
+
userMembership?: {
|
|
13266
|
+
user_id: string;
|
|
13267
|
+
role: "admin" | "read" | "write" | "none";
|
|
13268
|
+
} | null | undefined;
|
|
13269
|
+
memberCount?: number | null | undefined;
|
|
13270
|
+
members?: {
|
|
13271
|
+
user_id: string;
|
|
13272
|
+
role: "admin" | "read" | "write" | "none";
|
|
13273
|
+
user?: {
|
|
13274
|
+
id?: string | undefined;
|
|
13275
|
+
user_id?: string | undefined;
|
|
13276
|
+
username?: string | null | undefined;
|
|
13277
|
+
avatar_path?: string | null | undefined;
|
|
13278
|
+
bio?: string | null | undefined;
|
|
13279
|
+
urls?: {
|
|
13280
|
+
value: string;
|
|
13281
|
+
}[] | undefined;
|
|
13282
|
+
post_id?: string | null | undefined;
|
|
13283
|
+
is_agent?: boolean | undefined;
|
|
13284
|
+
plan_type?: "free" | "gold" | undefined;
|
|
13285
|
+
last_active?: string | undefined;
|
|
13286
|
+
} | null | undefined;
|
|
13287
|
+
}[] | undefined;
|
|
13288
|
+
}>>;
|
|
13289
|
+
parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13290
|
+
parent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
13291
|
+
asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
|
|
12972
13292
|
name: z.ZodString;
|
|
13293
|
+
name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13294
|
+
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12973
13295
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12974
13296
|
visibility: z.ZodEnum<["public", "private", "organization", "monetized", "inherit"]>;
|
|
12975
|
-
|
|
12976
|
-
|
|
12977
|
-
|
|
12978
|
-
|
|
13297
|
+
monetization: z.ZodEnum<["none", "pay-to-unlock", "pay-per-use"]>;
|
|
13298
|
+
price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13299
|
+
unit_cost: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13300
|
+
cost_accounting: z.ZodOptional<z.ZodNullable<z.ZodEnum<["fixed", "variable"]>>>;
|
|
13301
|
+
cost_unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13302
|
+
product_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13303
|
+
price_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13304
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
13305
|
+
preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>;
|
|
13306
|
+
state: z.ZodOptional<z.ZodNullable<z.ZodEnum<["queued", "in-progress", "success", "error"]>>>;
|
|
12979
13307
|
created_at: z.ZodString;
|
|
12980
13308
|
last_updated: z.ZodString;
|
|
12981
|
-
},
|
|
13309
|
+
}, {
|
|
13310
|
+
asset_type: z.ZodEffects<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>, "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication", "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication">;
|
|
13311
|
+
metadata: z.ZodObject<{
|
|
13312
|
+
authentication: z.ZodEnum<["Personal Access Token", "None", "OAuth 2.0"]>;
|
|
13313
|
+
version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13314
|
+
base_url: z.ZodString;
|
|
13315
|
+
spec_path: z.ZodString;
|
|
13316
|
+
}, "strip", z.ZodTypeAny, {
|
|
13317
|
+
authentication: "Personal Access Token" | "None" | "OAuth 2.0";
|
|
13318
|
+
base_url: string;
|
|
13319
|
+
spec_path: string;
|
|
13320
|
+
version?: string | null | undefined;
|
|
13321
|
+
}, {
|
|
13322
|
+
authentication: "Personal Access Token" | "None" | "OAuth 2.0";
|
|
13323
|
+
base_url: string;
|
|
13324
|
+
spec_path: string;
|
|
13325
|
+
version?: string | null | undefined;
|
|
13326
|
+
}>;
|
|
13327
|
+
}>, "strip", z.ZodTypeAny, {
|
|
12982
13328
|
id: string;
|
|
12983
13329
|
user_id: string;
|
|
13330
|
+
org_id: string;
|
|
13331
|
+
asset_type: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
|
|
13332
|
+
metadata: {
|
|
13333
|
+
authentication: "Personal Access Token" | "None" | "OAuth 2.0";
|
|
13334
|
+
base_url: string;
|
|
13335
|
+
spec_path: string;
|
|
13336
|
+
version?: string | null | undefined;
|
|
13337
|
+
};
|
|
12984
13338
|
created_at: string;
|
|
12985
13339
|
last_updated: string;
|
|
12986
13340
|
name: string;
|
|
13341
|
+
team_id: string;
|
|
12987
13342
|
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
12988
|
-
|
|
12989
|
-
|
|
12990
|
-
|
|
12991
|
-
|
|
13343
|
+
monetization: "none" | "pay-to-unlock" | "pay-per-use";
|
|
13344
|
+
user?: {
|
|
13345
|
+
id?: string | undefined;
|
|
13346
|
+
user_id?: string | undefined;
|
|
13347
|
+
username?: string | null | undefined;
|
|
13348
|
+
avatar_path?: string | null | undefined;
|
|
13349
|
+
bio?: string | null | undefined;
|
|
13350
|
+
urls?: {
|
|
13351
|
+
value: string;
|
|
13352
|
+
}[] | undefined;
|
|
13353
|
+
post_id?: string | null | undefined;
|
|
13354
|
+
is_agent?: boolean | undefined;
|
|
13355
|
+
plan_type?: "free" | "gold" | undefined;
|
|
13356
|
+
last_active?: string | undefined;
|
|
13357
|
+
} | undefined;
|
|
13358
|
+
organization?: {
|
|
13359
|
+
id?: string | undefined;
|
|
13360
|
+
avatar_path?: string | null | undefined;
|
|
13361
|
+
urls?: {
|
|
13362
|
+
value: string;
|
|
13363
|
+
}[] | null | undefined;
|
|
13364
|
+
name?: string | undefined;
|
|
13365
|
+
mission?: string | null | undefined;
|
|
13366
|
+
size?: string | undefined;
|
|
13367
|
+
email?: string | null | undefined;
|
|
13368
|
+
domain?: string | null | undefined;
|
|
13369
|
+
base_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
13370
|
+
} | undefined;
|
|
13371
|
+
team?: {
|
|
13372
|
+
organization?: {
|
|
13373
|
+
id: string;
|
|
13374
|
+
name: string;
|
|
13375
|
+
size: string;
|
|
13376
|
+
base_role: "admin" | "read" | "write" | "none";
|
|
13377
|
+
avatar_path?: string | null | undefined;
|
|
13378
|
+
urls?: {
|
|
13379
|
+
value: string;
|
|
13380
|
+
}[] | null | undefined;
|
|
13381
|
+
mission?: string | null | undefined;
|
|
13382
|
+
email?: string | null | undefined;
|
|
13383
|
+
domain?: string | null | undefined;
|
|
13384
|
+
} | undefined;
|
|
13385
|
+
id?: string | undefined;
|
|
13386
|
+
org_id?: string | undefined;
|
|
13387
|
+
created_at?: string | undefined;
|
|
13388
|
+
name?: string | undefined;
|
|
13389
|
+
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
13390
|
+
description?: string | null | undefined;
|
|
13391
|
+
default_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
13392
|
+
userMembership?: {
|
|
13393
|
+
user_id: string;
|
|
13394
|
+
role: "admin" | "read" | "write" | "none";
|
|
13395
|
+
} | null | undefined;
|
|
13396
|
+
memberCount?: number | null | undefined;
|
|
13397
|
+
members?: {
|
|
13398
|
+
user_id: string;
|
|
13399
|
+
role: "admin" | "read" | "write" | "none";
|
|
13400
|
+
user?: {
|
|
13401
|
+
id?: string | undefined;
|
|
13402
|
+
user_id?: string | undefined;
|
|
13403
|
+
username?: string | null | undefined;
|
|
13404
|
+
avatar_path?: string | null | undefined;
|
|
13405
|
+
bio?: string | null | undefined;
|
|
13406
|
+
urls?: {
|
|
13407
|
+
value: string;
|
|
13408
|
+
}[] | undefined;
|
|
13409
|
+
post_id?: string | null | undefined;
|
|
13410
|
+
is_agent?: boolean | undefined;
|
|
13411
|
+
plan_type?: "free" | "gold" | undefined;
|
|
13412
|
+
last_active?: string | undefined;
|
|
13413
|
+
} | null | undefined;
|
|
13414
|
+
}[] | undefined;
|
|
13415
|
+
} | undefined;
|
|
12992
13416
|
description?: string | null | undefined;
|
|
12993
|
-
|
|
13417
|
+
parent_id?: string | null | undefined;
|
|
13418
|
+
parent?: Record<string, any> | undefined;
|
|
13419
|
+
name_url_slug?: string | null | undefined;
|
|
13420
|
+
slug?: string | null | undefined;
|
|
13421
|
+
price?: number | null | undefined;
|
|
13422
|
+
unit_cost?: number | null | undefined;
|
|
13423
|
+
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
13424
|
+
cost_unit?: string | null | undefined;
|
|
13425
|
+
product_id?: string | null | undefined;
|
|
13426
|
+
price_id?: string | null | undefined;
|
|
13427
|
+
preview?: Record<string, any>[] | null | undefined;
|
|
13428
|
+
state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
|
|
12994
13429
|
}, {
|
|
12995
13430
|
id: string;
|
|
12996
13431
|
user_id: string;
|
|
13432
|
+
org_id: string;
|
|
13433
|
+
asset_type: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
|
|
13434
|
+
metadata: {
|
|
13435
|
+
authentication: "Personal Access Token" | "None" | "OAuth 2.0";
|
|
13436
|
+
base_url: string;
|
|
13437
|
+
spec_path: string;
|
|
13438
|
+
version?: string | null | undefined;
|
|
13439
|
+
};
|
|
12997
13440
|
created_at: string;
|
|
12998
13441
|
last_updated: string;
|
|
12999
13442
|
name: string;
|
|
13443
|
+
team_id: string;
|
|
13000
13444
|
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
13001
|
-
|
|
13002
|
-
|
|
13003
|
-
|
|
13004
|
-
|
|
13445
|
+
monetization: "none" | "pay-to-unlock" | "pay-per-use";
|
|
13446
|
+
user?: {
|
|
13447
|
+
id?: string | undefined;
|
|
13448
|
+
user_id?: string | undefined;
|
|
13449
|
+
username?: string | null | undefined;
|
|
13450
|
+
avatar_path?: string | null | undefined;
|
|
13451
|
+
bio?: string | null | undefined;
|
|
13452
|
+
urls?: {
|
|
13453
|
+
value: string;
|
|
13454
|
+
}[] | undefined;
|
|
13455
|
+
post_id?: string | null | undefined;
|
|
13456
|
+
is_agent?: boolean | undefined;
|
|
13457
|
+
plan_type?: "free" | "gold" | undefined;
|
|
13458
|
+
last_active?: string | undefined;
|
|
13459
|
+
} | undefined;
|
|
13460
|
+
organization?: {
|
|
13461
|
+
id?: string | undefined;
|
|
13462
|
+
avatar_path?: string | null | undefined;
|
|
13463
|
+
urls?: {
|
|
13464
|
+
value: string;
|
|
13465
|
+
}[] | null | undefined;
|
|
13466
|
+
name?: string | undefined;
|
|
13467
|
+
mission?: string | null | undefined;
|
|
13468
|
+
size?: string | undefined;
|
|
13469
|
+
email?: string | null | undefined;
|
|
13470
|
+
domain?: string | null | undefined;
|
|
13471
|
+
base_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
13472
|
+
} | undefined;
|
|
13473
|
+
team?: {
|
|
13474
|
+
organization?: {
|
|
13475
|
+
id: string;
|
|
13476
|
+
name: string;
|
|
13477
|
+
size: string;
|
|
13478
|
+
avatar_path?: string | null | undefined;
|
|
13479
|
+
urls?: {
|
|
13480
|
+
value: string;
|
|
13481
|
+
}[] | null | undefined;
|
|
13482
|
+
mission?: string | null | undefined;
|
|
13483
|
+
email?: string | null | undefined;
|
|
13484
|
+
domain?: string | null | undefined;
|
|
13485
|
+
base_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
13486
|
+
} | undefined;
|
|
13487
|
+
id?: string | undefined;
|
|
13488
|
+
org_id?: string | undefined;
|
|
13489
|
+
created_at?: string | undefined;
|
|
13490
|
+
name?: string | undefined;
|
|
13491
|
+
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
13492
|
+
description?: string | null | undefined;
|
|
13493
|
+
default_role?: "admin" | "read" | "write" | "none" | undefined;
|
|
13494
|
+
userMembership?: {
|
|
13495
|
+
user_id: string;
|
|
13496
|
+
role: "admin" | "read" | "write" | "none";
|
|
13497
|
+
} | null | undefined;
|
|
13498
|
+
memberCount?: number | null | undefined;
|
|
13499
|
+
members?: {
|
|
13500
|
+
user_id: string;
|
|
13501
|
+
role: "admin" | "read" | "write" | "none";
|
|
13502
|
+
user?: {
|
|
13503
|
+
id?: string | undefined;
|
|
13504
|
+
user_id?: string | undefined;
|
|
13505
|
+
username?: string | null | undefined;
|
|
13506
|
+
avatar_path?: string | null | undefined;
|
|
13507
|
+
bio?: string | null | undefined;
|
|
13508
|
+
urls?: {
|
|
13509
|
+
value: string;
|
|
13510
|
+
}[] | undefined;
|
|
13511
|
+
post_id?: string | null | undefined;
|
|
13512
|
+
is_agent?: boolean | undefined;
|
|
13513
|
+
plan_type?: "free" | "gold" | undefined;
|
|
13514
|
+
last_active?: string | undefined;
|
|
13515
|
+
} | null | undefined;
|
|
13516
|
+
}[] | undefined;
|
|
13517
|
+
} | undefined;
|
|
13005
13518
|
description?: string | null | undefined;
|
|
13006
|
-
|
|
13519
|
+
parent_id?: string | null | undefined;
|
|
13520
|
+
parent?: Record<string, any> | undefined;
|
|
13521
|
+
name_url_slug?: string | null | undefined;
|
|
13522
|
+
slug?: string | null | undefined;
|
|
13523
|
+
price?: number | null | undefined;
|
|
13524
|
+
unit_cost?: number | null | undefined;
|
|
13525
|
+
cost_accounting?: "fixed" | "variable" | null | undefined;
|
|
13526
|
+
cost_unit?: string | null | undefined;
|
|
13527
|
+
product_id?: string | null | undefined;
|
|
13528
|
+
price_id?: string | null | undefined;
|
|
13529
|
+
preview?: Record<string, any>[] | null | undefined;
|
|
13530
|
+
state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
|
|
13007
13531
|
}>;
|
|
13008
13532
|
declare const routeSchema: z.ZodObject<{
|
|
13009
13533
|
id: z.ZodString;
|