@ourofoundation/ouro-js 2.0.3 → 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 +583 -17
- package/dist/index.d.ts +583 -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
|
@@ -3442,6 +3442,7 @@ declare const FileSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3442
3442
|
bucket: z.ZodEnum<["public-files", "files"]>;
|
|
3443
3443
|
name: z.ZodString;
|
|
3444
3444
|
type: z.ZodString;
|
|
3445
|
+
extension: z.ZodString;
|
|
3445
3446
|
size: z.ZodNumber;
|
|
3446
3447
|
width: z.ZodOptional<z.ZodNumber>;
|
|
3447
3448
|
height: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3452,6 +3453,7 @@ declare const FileSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3452
3453
|
name: string;
|
|
3453
3454
|
size: number;
|
|
3454
3455
|
bucket: "public-files" | "files";
|
|
3456
|
+
extension: string;
|
|
3455
3457
|
width?: number | undefined;
|
|
3456
3458
|
height?: number | undefined;
|
|
3457
3459
|
}, {
|
|
@@ -3461,6 +3463,7 @@ declare const FileSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3461
3463
|
name: string;
|
|
3462
3464
|
size: number;
|
|
3463
3465
|
bucket: "public-files" | "files";
|
|
3466
|
+
extension: string;
|
|
3464
3467
|
width?: number | undefined;
|
|
3465
3468
|
height?: number | undefined;
|
|
3466
3469
|
}>;
|
|
@@ -3476,6 +3479,7 @@ declare const FileSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3476
3479
|
name: string;
|
|
3477
3480
|
size: number;
|
|
3478
3481
|
bucket: "public-files" | "files";
|
|
3482
|
+
extension: string;
|
|
3479
3483
|
width?: number | undefined;
|
|
3480
3484
|
height?: number | undefined;
|
|
3481
3485
|
};
|
|
@@ -3581,6 +3585,7 @@ declare const FileSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3581
3585
|
name: string;
|
|
3582
3586
|
size: number;
|
|
3583
3587
|
bucket: "public-files" | "files";
|
|
3588
|
+
extension: string;
|
|
3584
3589
|
width?: number | undefined;
|
|
3585
3590
|
height?: number | undefined;
|
|
3586
3591
|
};
|
|
@@ -4037,6 +4042,7 @@ declare const CreateFileSchema: z.ZodDiscriminatedUnion<"state", [z.ZodObject<z.
|
|
|
4037
4042
|
bucket: z.ZodEnum<["public-files", "files"]>;
|
|
4038
4043
|
name: z.ZodString;
|
|
4039
4044
|
type: z.ZodString;
|
|
4045
|
+
extension: z.ZodString;
|
|
4040
4046
|
size: z.ZodNumber;
|
|
4041
4047
|
width: z.ZodOptional<z.ZodNumber>;
|
|
4042
4048
|
height: z.ZodOptional<z.ZodNumber>;
|
|
@@ -4047,6 +4053,7 @@ declare const CreateFileSchema: z.ZodDiscriminatedUnion<"state", [z.ZodObject<z.
|
|
|
4047
4053
|
name: string;
|
|
4048
4054
|
size: number;
|
|
4049
4055
|
bucket: "public-files" | "files";
|
|
4056
|
+
extension: string;
|
|
4050
4057
|
width?: number | undefined;
|
|
4051
4058
|
height?: number | undefined;
|
|
4052
4059
|
}, {
|
|
@@ -4056,6 +4063,7 @@ declare const CreateFileSchema: z.ZodDiscriminatedUnion<"state", [z.ZodObject<z.
|
|
|
4056
4063
|
name: string;
|
|
4057
4064
|
size: number;
|
|
4058
4065
|
bucket: "public-files" | "files";
|
|
4066
|
+
extension: string;
|
|
4059
4067
|
width?: number | undefined;
|
|
4060
4068
|
height?: number | undefined;
|
|
4061
4069
|
}>;
|
|
@@ -4070,6 +4078,7 @@ declare const CreateFileSchema: z.ZodDiscriminatedUnion<"state", [z.ZodObject<z.
|
|
|
4070
4078
|
name: string;
|
|
4071
4079
|
size: number;
|
|
4072
4080
|
bucket: "public-files" | "files";
|
|
4081
|
+
extension: string;
|
|
4073
4082
|
width?: number | undefined;
|
|
4074
4083
|
height?: number | undefined;
|
|
4075
4084
|
};
|
|
@@ -4099,6 +4108,7 @@ declare const CreateFileSchema: z.ZodDiscriminatedUnion<"state", [z.ZodObject<z.
|
|
|
4099
4108
|
name: string;
|
|
4100
4109
|
size: number;
|
|
4101
4110
|
bucket: "public-files" | "files";
|
|
4111
|
+
extension: string;
|
|
4102
4112
|
width?: number | undefined;
|
|
4103
4113
|
height?: number | undefined;
|
|
4104
4114
|
};
|
|
@@ -4881,6 +4891,7 @@ declare const updateFileSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
4881
4891
|
bucket: z.ZodEnum<["public-files", "files"]>;
|
|
4882
4892
|
name: z.ZodString;
|
|
4883
4893
|
type: z.ZodString;
|
|
4894
|
+
extension: z.ZodString;
|
|
4884
4895
|
size: z.ZodNumber;
|
|
4885
4896
|
width: z.ZodOptional<z.ZodNumber>;
|
|
4886
4897
|
height: z.ZodOptional<z.ZodNumber>;
|
|
@@ -4891,6 +4902,7 @@ declare const updateFileSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
4891
4902
|
name: string;
|
|
4892
4903
|
size: number;
|
|
4893
4904
|
bucket: "public-files" | "files";
|
|
4905
|
+
extension: string;
|
|
4894
4906
|
width?: number | undefined;
|
|
4895
4907
|
height?: number | undefined;
|
|
4896
4908
|
}, {
|
|
@@ -4900,6 +4912,7 @@ declare const updateFileSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
4900
4912
|
name: string;
|
|
4901
4913
|
size: number;
|
|
4902
4914
|
bucket: "public-files" | "files";
|
|
4915
|
+
extension: string;
|
|
4903
4916
|
width?: number | undefined;
|
|
4904
4917
|
height?: number | undefined;
|
|
4905
4918
|
}>>;
|
|
@@ -4916,6 +4929,7 @@ declare const updateFileSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
4916
4929
|
name: string;
|
|
4917
4930
|
size: number;
|
|
4918
4931
|
bucket: "public-files" | "files";
|
|
4932
|
+
extension: string;
|
|
4919
4933
|
width?: number | undefined;
|
|
4920
4934
|
height?: number | undefined;
|
|
4921
4935
|
} | undefined;
|
|
@@ -4945,6 +4959,7 @@ declare const updateFileSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
4945
4959
|
name: string;
|
|
4946
4960
|
size: number;
|
|
4947
4961
|
bucket: "public-files" | "files";
|
|
4962
|
+
extension: string;
|
|
4948
4963
|
width?: number | undefined;
|
|
4949
4964
|
height?: number | undefined;
|
|
4950
4965
|
} | undefined;
|
|
@@ -11278,6 +11293,7 @@ declare const DatasetSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
11278
11293
|
type: z.ZodOptional<z.ZodString>;
|
|
11279
11294
|
size: z.ZodOptional<z.ZodNumber>;
|
|
11280
11295
|
path: z.ZodOptional<z.ZodString>;
|
|
11296
|
+
extension: z.ZodOptional<z.ZodString>;
|
|
11281
11297
|
name: z.ZodOptional<z.ZodString>;
|
|
11282
11298
|
id: z.ZodOptional<z.ZodString>;
|
|
11283
11299
|
bucket: z.ZodOptional<z.ZodEnum<["public-files", "files"]>>;
|
|
@@ -11291,6 +11307,7 @@ declare const DatasetSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
11291
11307
|
name?: string | undefined;
|
|
11292
11308
|
size?: number | undefined;
|
|
11293
11309
|
bucket?: "public-files" | "files" | undefined;
|
|
11310
|
+
extension?: string | undefined;
|
|
11294
11311
|
}, {
|
|
11295
11312
|
table_name: string;
|
|
11296
11313
|
columns: string[];
|
|
@@ -11300,6 +11317,7 @@ declare const DatasetSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
11300
11317
|
name?: string | undefined;
|
|
11301
11318
|
size?: number | undefined;
|
|
11302
11319
|
bucket?: "public-files" | "files" | undefined;
|
|
11320
|
+
extension?: string | undefined;
|
|
11303
11321
|
schema?: "datasets" | undefined;
|
|
11304
11322
|
}>;
|
|
11305
11323
|
preview: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">;
|
|
@@ -11318,6 +11336,7 @@ declare const DatasetSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
11318
11336
|
name?: string | undefined;
|
|
11319
11337
|
size?: number | undefined;
|
|
11320
11338
|
bucket?: "public-files" | "files" | undefined;
|
|
11339
|
+
extension?: string | undefined;
|
|
11321
11340
|
};
|
|
11322
11341
|
created_at: string;
|
|
11323
11342
|
last_updated: string;
|
|
@@ -11423,6 +11442,7 @@ declare const DatasetSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
11423
11442
|
name?: string | undefined;
|
|
11424
11443
|
size?: number | undefined;
|
|
11425
11444
|
bucket?: "public-files" | "files" | undefined;
|
|
11445
|
+
extension?: string | undefined;
|
|
11426
11446
|
schema?: "datasets" | undefined;
|
|
11427
11447
|
};
|
|
11428
11448
|
created_at: string;
|
|
@@ -11879,6 +11899,7 @@ declare const CreateDatasetFromFileSchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
11879
11899
|
type: z.ZodString;
|
|
11880
11900
|
size: z.ZodNumber;
|
|
11881
11901
|
path: z.ZodString;
|
|
11902
|
+
extension: z.ZodString;
|
|
11882
11903
|
name: z.ZodString;
|
|
11883
11904
|
id: z.ZodString;
|
|
11884
11905
|
bucket: z.ZodEnum<["public-files", "files"]>;
|
|
@@ -11889,6 +11910,7 @@ declare const CreateDatasetFromFileSchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
11889
11910
|
name: string;
|
|
11890
11911
|
size: number;
|
|
11891
11912
|
bucket: "public-files" | "files";
|
|
11913
|
+
extension: string;
|
|
11892
11914
|
table_name: string;
|
|
11893
11915
|
schema: "datasets";
|
|
11894
11916
|
columns: string[];
|
|
@@ -11899,6 +11921,7 @@ declare const CreateDatasetFromFileSchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
11899
11921
|
name: string;
|
|
11900
11922
|
size: number;
|
|
11901
11923
|
bucket: "public-files" | "files";
|
|
11924
|
+
extension: string;
|
|
11902
11925
|
table_name: string;
|
|
11903
11926
|
columns: string[];
|
|
11904
11927
|
schema?: "datasets" | undefined;
|
|
@@ -11915,6 +11938,7 @@ declare const CreateDatasetFromFileSchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
11915
11938
|
name: string;
|
|
11916
11939
|
size: number;
|
|
11917
11940
|
bucket: "public-files" | "files";
|
|
11941
|
+
extension: string;
|
|
11918
11942
|
table_name: string;
|
|
11919
11943
|
schema: "datasets";
|
|
11920
11944
|
columns: string[];
|
|
@@ -11945,6 +11969,7 @@ declare const CreateDatasetFromFileSchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
11945
11969
|
name: string;
|
|
11946
11970
|
size: number;
|
|
11947
11971
|
bucket: "public-files" | "files";
|
|
11972
|
+
extension: string;
|
|
11948
11973
|
table_name: string;
|
|
11949
11974
|
columns: string[];
|
|
11950
11975
|
schema?: "datasets" | undefined;
|
|
@@ -12740,6 +12765,7 @@ declare const updateDatasetSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
12740
12765
|
type: z.ZodOptional<z.ZodString>;
|
|
12741
12766
|
size: z.ZodOptional<z.ZodNumber>;
|
|
12742
12767
|
path: z.ZodOptional<z.ZodString>;
|
|
12768
|
+
extension: z.ZodOptional<z.ZodString>;
|
|
12743
12769
|
name: z.ZodOptional<z.ZodString>;
|
|
12744
12770
|
id: z.ZodOptional<z.ZodString>;
|
|
12745
12771
|
bucket: z.ZodOptional<z.ZodEnum<["public-files", "files"]>>;
|
|
@@ -12753,6 +12779,7 @@ declare const updateDatasetSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
12753
12779
|
name?: string | undefined;
|
|
12754
12780
|
size?: number | undefined;
|
|
12755
12781
|
bucket?: "public-files" | "files" | undefined;
|
|
12782
|
+
extension?: string | undefined;
|
|
12756
12783
|
}, {
|
|
12757
12784
|
table_name: string;
|
|
12758
12785
|
columns: string[];
|
|
@@ -12762,6 +12789,7 @@ declare const updateDatasetSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
12762
12789
|
name?: string | undefined;
|
|
12763
12790
|
size?: number | undefined;
|
|
12764
12791
|
bucket?: "public-files" | "files" | undefined;
|
|
12792
|
+
extension?: string | undefined;
|
|
12765
12793
|
schema?: "datasets" | undefined;
|
|
12766
12794
|
}>>;
|
|
12767
12795
|
preview: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>;
|
|
@@ -12782,6 +12810,7 @@ declare const updateDatasetSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
12782
12810
|
name?: string | undefined;
|
|
12783
12811
|
size?: number | undefined;
|
|
12784
12812
|
bucket?: "public-files" | "files" | undefined;
|
|
12813
|
+
extension?: string | undefined;
|
|
12785
12814
|
} | undefined;
|
|
12786
12815
|
name?: string | undefined;
|
|
12787
12816
|
team_id?: string | undefined;
|
|
@@ -12811,6 +12840,7 @@ declare const updateDatasetSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
12811
12840
|
name?: string | undefined;
|
|
12812
12841
|
size?: number | undefined;
|
|
12813
12842
|
bucket?: "public-files" | "files" | undefined;
|
|
12843
|
+
extension?: string | undefined;
|
|
12814
12844
|
schema?: "datasets" | undefined;
|
|
12815
12845
|
} | undefined;
|
|
12816
12846
|
last_updated?: string | undefined;
|
|
@@ -12935,45 +12965,569 @@ declare const NotificationSchema: z.ZodObject<{
|
|
|
12935
12965
|
type Notification = z.infer<typeof NotificationSchema>;
|
|
12936
12966
|
|
|
12937
12967
|
declare const authType: z.ZodEnum<["Personal Access Token", "None", "OAuth 2.0"]>;
|
|
12938
|
-
declare const serviceSchema: z.ZodObject<{
|
|
12968
|
+
declare const serviceSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
12939
12969
|
id: z.ZodString;
|
|
12940
12970
|
user_id: z.ZodString;
|
|
12941
|
-
|
|
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"]>;
|
|
12942
13292
|
name: z.ZodString;
|
|
13293
|
+
name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13294
|
+
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12943
13295
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12944
13296
|
visibility: z.ZodEnum<["public", "private", "organization", "monetized", "inherit"]>;
|
|
12945
|
-
|
|
12946
|
-
|
|
12947
|
-
|
|
12948
|
-
|
|
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"]>>>;
|
|
12949
13307
|
created_at: z.ZodString;
|
|
12950
13308
|
last_updated: z.ZodString;
|
|
12951
|
-
},
|
|
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, {
|
|
12952
13328
|
id: string;
|
|
12953
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
|
+
};
|
|
12954
13338
|
created_at: string;
|
|
12955
13339
|
last_updated: string;
|
|
12956
13340
|
name: string;
|
|
13341
|
+
team_id: string;
|
|
12957
13342
|
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
12958
|
-
|
|
12959
|
-
|
|
12960
|
-
|
|
12961
|
-
|
|
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;
|
|
12962
13416
|
description?: string | null | undefined;
|
|
12963
|
-
|
|
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;
|
|
12964
13429
|
}, {
|
|
12965
13430
|
id: string;
|
|
12966
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
|
+
};
|
|
12967
13440
|
created_at: string;
|
|
12968
13441
|
last_updated: string;
|
|
12969
13442
|
name: string;
|
|
13443
|
+
team_id: string;
|
|
12970
13444
|
visibility: "organization" | "public" | "private" | "monetized" | "inherit";
|
|
12971
|
-
|
|
12972
|
-
|
|
12973
|
-
|
|
12974
|
-
|
|
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;
|
|
12975
13518
|
description?: string | null | undefined;
|
|
12976
|
-
|
|
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;
|
|
12977
13531
|
}>;
|
|
12978
13532
|
declare const routeSchema: z.ZodObject<{
|
|
12979
13533
|
id: z.ZodString;
|
|
@@ -12985,6 +13539,10 @@ declare const routeSchema: z.ZodObject<{
|
|
|
12985
13539
|
parameters: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>;
|
|
12986
13540
|
request_body: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
12987
13541
|
responses: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>;
|
|
13542
|
+
input_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<["file", "dataset", "post"]>>>;
|
|
13543
|
+
input_filter: z.ZodOptional<z.ZodNullable<z.ZodEnum<["audio", "video", "image", "pdf", "3d model", "atomic structure"]>>>;
|
|
13544
|
+
input_file_extension: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13545
|
+
output_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<["file", "dataset", "post"]>>>;
|
|
12988
13546
|
security: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
12989
13547
|
rate_limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12990
13548
|
last_updated: z.ZodString;
|
|
@@ -12999,6 +13557,10 @@ declare const routeSchema: z.ZodObject<{
|
|
|
12999
13557
|
parameters?: Record<string, any>[] | null | undefined;
|
|
13000
13558
|
request_body?: Record<string, any> | null | undefined;
|
|
13001
13559
|
responses?: Record<string, any>[] | null | undefined;
|
|
13560
|
+
input_type?: "dataset" | "file" | "post" | null | undefined;
|
|
13561
|
+
input_filter?: "audio" | "video" | "image" | "pdf" | "3d model" | "atomic structure" | null | undefined;
|
|
13562
|
+
input_file_extension?: string | null | undefined;
|
|
13563
|
+
output_type?: "dataset" | "file" | "post" | null | undefined;
|
|
13002
13564
|
security?: Record<string, any> | null | undefined;
|
|
13003
13565
|
rate_limit?: number | null | undefined;
|
|
13004
13566
|
}, {
|
|
@@ -13012,6 +13574,10 @@ declare const routeSchema: z.ZodObject<{
|
|
|
13012
13574
|
parameters?: Record<string, any>[] | null | undefined;
|
|
13013
13575
|
request_body?: Record<string, any> | null | undefined;
|
|
13014
13576
|
responses?: Record<string, any>[] | null | undefined;
|
|
13577
|
+
input_type?: "dataset" | "file" | "post" | null | undefined;
|
|
13578
|
+
input_filter?: "audio" | "video" | "image" | "pdf" | "3d model" | "atomic structure" | null | undefined;
|
|
13579
|
+
input_file_extension?: string | null | undefined;
|
|
13580
|
+
output_type?: "dataset" | "file" | "post" | null | undefined;
|
|
13015
13581
|
security?: Record<string, any> | null | undefined;
|
|
13016
13582
|
rate_limit?: number | null | undefined;
|
|
13017
13583
|
}>;
|