@ourofoundation/ouro-js 3.7.7 → 3.7.8
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-F6PWGWDJ.js → chunk-3C7PGJ33.js} +2 -2
- package/dist/{chunk-F6PWGWDJ.js.map → chunk-3C7PGJ33.js.map} +1 -1
- package/dist/{chunk-HZDBAPRY.js → chunk-3OUJXTJZ.js} +2 -2
- package/dist/{chunk-HZDBAPRY.js.map → chunk-3OUJXTJZ.js.map} +1 -1
- package/dist/{chunk-SZ5PIWEE.cjs → chunk-3RFYEL3A.cjs} +2 -2
- package/dist/{chunk-SZ5PIWEE.cjs.map → chunk-3RFYEL3A.cjs.map} +1 -1
- package/dist/{chunk-SIZVKGUT.js → chunk-4NAPVNIX.js} +2 -2
- package/dist/{chunk-SIZVKGUT.js.map → chunk-4NAPVNIX.js.map} +1 -1
- package/dist/{chunk-4CXHZFX4.cjs → chunk-66AAHP6X.cjs} +2 -2
- package/dist/{chunk-4CXHZFX4.cjs.map → chunk-66AAHP6X.cjs.map} +1 -1
- package/dist/{chunk-TB7MTWMO.cjs → chunk-7YG2YDXN.cjs} +2 -2
- package/dist/{chunk-TB7MTWMO.cjs.map → chunk-7YG2YDXN.cjs.map} +1 -1
- package/dist/{chunk-4TQRYYVQ.js → chunk-ASLHRT77.js} +2 -2
- package/dist/{chunk-4TQRYYVQ.js.map → chunk-ASLHRT77.js.map} +1 -1
- package/dist/{chunk-EP5DBAZQ.cjs → chunk-B3OK6NNR.cjs} +2 -2
- package/dist/{chunk-EP5DBAZQ.cjs.map → chunk-B3OK6NNR.cjs.map} +1 -1
- package/dist/{chunk-JAVIKBEC.js → chunk-EMDUI7HF.js} +2 -2
- package/dist/{chunk-JAVIKBEC.js.map → chunk-EMDUI7HF.js.map} +1 -1
- package/dist/{chunk-BUO2Y3O3.js → chunk-KHUEMWG2.js} +2 -2
- package/dist/{chunk-BUO2Y3O3.js.map → chunk-KHUEMWG2.js.map} +1 -1
- package/dist/{chunk-ICEXKHCC.cjs → chunk-LD5G6GFH.cjs} +2 -2
- package/dist/{chunk-ICEXKHCC.cjs.map → chunk-LD5G6GFH.cjs.map} +1 -1
- package/dist/{chunk-FDCVNMMO.js → chunk-PB4XG5WM.js} +2 -2
- package/dist/{chunk-FDCVNMMO.js.map → chunk-PB4XG5WM.js.map} +1 -1
- package/dist/{chunk-2KQZYT5W.cjs → chunk-QWD7POET.cjs} +2 -2
- package/dist/{chunk-2KQZYT5W.cjs.map → chunk-QWD7POET.cjs.map} +1 -1
- package/dist/{chunk-QJ3DLN2Y.cjs → chunk-UDTRH3OQ.cjs} +2 -2
- package/dist/{chunk-QJ3DLN2Y.cjs.map → chunk-UDTRH3OQ.cjs.map} +1 -1
- package/dist/{chunk-6DS2XXIF.cjs → chunk-UVVPXYJA.cjs} +2 -2
- package/dist/{chunk-6DS2XXIF.cjs.map → chunk-UVVPXYJA.cjs.map} +1 -1
- package/dist/chunk-W6AKVS4L.cjs +2 -0
- package/dist/chunk-W6AKVS4L.cjs.map +1 -0
- package/dist/{chunk-PXT4NFAJ.cjs → chunk-W6MBAIKZ.cjs} +2 -2
- package/dist/{chunk-PXT4NFAJ.cjs.map → chunk-W6MBAIKZ.cjs.map} +1 -1
- package/dist/chunk-XVN3DFMT.js +2 -0
- package/dist/chunk-XVN3DFMT.js.map +1 -0
- package/dist/{chunk-732QBVGP.js → chunk-Y6TOO6ET.js} +2 -2
- package/dist/{chunk-732QBVGP.js.map → chunk-Y6TOO6ET.js.map} +1 -1
- package/dist/{chunk-VC4DZZ3C.js → chunk-YTIUJ72Q.js} +2 -2
- package/dist/{chunk-VC4DZZ3C.js.map → chunk-YTIUJ72Q.js.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/schema/asset-filters.d.cts +7 -7
- package/dist/schema/asset-filters.d.ts +7 -7
- package/dist/schema/assets.cjs +1 -1
- package/dist/schema/assets.d.cts +63 -63
- package/dist/schema/assets.d.ts +63 -63
- package/dist/schema/assets.js +1 -1
- package/dist/schema/comments.cjs +1 -1
- package/dist/schema/comments.d.cts +59 -59
- package/dist/schema/comments.d.ts +59 -59
- package/dist/schema/comments.js +1 -1
- package/dist/schema/common.d.cts +9 -9
- package/dist/schema/common.d.ts +9 -9
- package/dist/schema/conversations.cjs +1 -1
- package/dist/schema/conversations.d.cts +57 -57
- package/dist/schema/conversations.d.ts +57 -57
- package/dist/schema/conversations.js +1 -1
- package/dist/schema/datasets.cjs +1 -1
- package/dist/schema/datasets.d.cts +137 -137
- package/dist/schema/datasets.d.ts +137 -137
- package/dist/schema/datasets.js +1 -1
- package/dist/schema/files.cjs +1 -1
- package/dist/schema/files.d.cts +88 -88
- package/dist/schema/files.d.ts +88 -88
- package/dist/schema/files.js +1 -1
- package/dist/schema/notifications.d.cts +106 -106
- package/dist/schema/notifications.d.ts +106 -106
- package/dist/schema/posts.cjs +1 -1
- package/dist/schema/posts.d.cts +91 -91
- package/dist/schema/posts.d.ts +91 -91
- package/dist/schema/posts.js +1 -1
- package/dist/schema/quests.cjs +1 -1
- package/dist/schema/quests.d.cts +262 -273
- package/dist/schema/quests.d.ts +262 -273
- package/dist/schema/quests.js +1 -1
- package/dist/schema/services.cjs +1 -1
- package/dist/schema/services.d.cts +132 -132
- package/dist/schema/services.d.ts +132 -132
- package/dist/schema/services.js +1 -1
- package/dist/schema/teams.cjs +1 -1
- package/dist/schema/teams.d.cts +15 -15
- package/dist/schema/teams.d.ts +15 -15
- package/dist/schema/teams.js +1 -1
- package/dist/utils/quest-submission.cjs +1 -1
- package/dist/utils/quest-submission.d.cts +4 -4
- package/dist/utils/quest-submission.d.ts +4 -4
- package/dist/utils/quest-submission.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-BTHFK5MC.js +0 -2
- package/dist/chunk-BTHFK5MC.js.map +0 -1
- package/dist/chunk-ZTTLI5V5.cjs +0 -2
- package/dist/chunk-ZTTLI5V5.cjs.map +0 -1
|
@@ -246,14 +246,14 @@ declare const CommentSchema: z.ZodObject<{
|
|
|
246
246
|
}, z.core.$strip>;
|
|
247
247
|
state: z.ZodEnum<{
|
|
248
248
|
success: "success";
|
|
249
|
+
error: "error";
|
|
249
250
|
queued: "queued";
|
|
250
251
|
"in-progress": "in-progress";
|
|
251
252
|
"timed-out": "timed-out";
|
|
252
|
-
error: "error";
|
|
253
253
|
}>;
|
|
254
254
|
source: z.ZodEnum<{
|
|
255
|
-
api: "api";
|
|
256
255
|
web: "web";
|
|
256
|
+
api: "api";
|
|
257
257
|
}>;
|
|
258
258
|
is_pinned_in_team: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
259
259
|
created_at: z.ZodString;
|
|
@@ -265,6 +265,29 @@ declare const CommentSchema: z.ZodObject<{
|
|
|
265
265
|
}, z.core.$strip>>>>;
|
|
266
266
|
}, z.core.$strip>;
|
|
267
267
|
declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
268
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
269
|
+
organization: "organization";
|
|
270
|
+
public: "public";
|
|
271
|
+
private: "private";
|
|
272
|
+
monetized: "monetized";
|
|
273
|
+
inherit: "inherit";
|
|
274
|
+
}>>;
|
|
275
|
+
monetization: z.ZodOptional<z.ZodEnum<{
|
|
276
|
+
none: "none";
|
|
277
|
+
"pay-to-unlock": "pay-to-unlock";
|
|
278
|
+
"pay-per-use": "pay-per-use";
|
|
279
|
+
}>>;
|
|
280
|
+
state: z.ZodOptional<z.ZodEnum<{
|
|
281
|
+
success: "success";
|
|
282
|
+
error: "error";
|
|
283
|
+
queued: "queued";
|
|
284
|
+
"in-progress": "in-progress";
|
|
285
|
+
"timed-out": "timed-out";
|
|
286
|
+
}>>;
|
|
287
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
288
|
+
web: "web";
|
|
289
|
+
api: "api";
|
|
290
|
+
}>>;
|
|
268
291
|
user: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
269
292
|
id: z.ZodOptional<z.ZodUUID>;
|
|
270
293
|
user_id: z.ZodOptional<z.ZodUUID>;
|
|
@@ -291,6 +314,8 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
291
314
|
}>>;
|
|
292
315
|
last_active: z.ZodOptional<z.ZodString>;
|
|
293
316
|
}, z.core.$strip>>>;
|
|
317
|
+
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
318
|
+
org_id: z.ZodOptional<z.ZodUUID>;
|
|
294
319
|
organization: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
295
320
|
id: z.ZodOptional<z.ZodUUID>;
|
|
296
321
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -323,6 +348,7 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
323
348
|
api_only: "api_only";
|
|
324
349
|
}>>>>;
|
|
325
350
|
}, z.core.$strip>>>;
|
|
351
|
+
team_id: z.ZodOptional<z.ZodUUID>;
|
|
326
352
|
team: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
327
353
|
id: z.ZodOptional<z.ZodUUID>;
|
|
328
354
|
org_id: z.ZodOptional<z.ZodUUID>;
|
|
@@ -434,40 +460,10 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
434
460
|
}, z.core.$strip>>>;
|
|
435
461
|
created_at: z.ZodOptional<z.ZodString>;
|
|
436
462
|
}, z.core.$strip>>>;
|
|
437
|
-
org_id: z.ZodOptional<z.ZodUUID>;
|
|
438
|
-
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
439
|
-
metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
440
|
-
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
441
|
-
reply_to_comment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
442
|
-
}, z.core.$strip>>>>;
|
|
443
|
-
team_id: z.ZodOptional<z.ZodUUID>;
|
|
444
|
-
visibility: z.ZodOptional<z.ZodEnum<{
|
|
445
|
-
organization: "organization";
|
|
446
|
-
public: "public";
|
|
447
|
-
private: "private";
|
|
448
|
-
monetized: "monetized";
|
|
449
|
-
inherit: "inherit";
|
|
450
|
-
}>>;
|
|
451
463
|
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
452
464
|
json: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
453
465
|
text: z.ZodString;
|
|
454
466
|
}, z.core.$strip>>>>;
|
|
455
|
-
source: z.ZodOptional<z.ZodEnum<{
|
|
456
|
-
api: "api";
|
|
457
|
-
web: "web";
|
|
458
|
-
}>>;
|
|
459
|
-
monetization: z.ZodOptional<z.ZodEnum<{
|
|
460
|
-
none: "none";
|
|
461
|
-
"pay-to-unlock": "pay-to-unlock";
|
|
462
|
-
"pay-per-use": "pay-per-use";
|
|
463
|
-
}>>;
|
|
464
|
-
state: z.ZodOptional<z.ZodEnum<{
|
|
465
|
-
success: "success";
|
|
466
|
-
queued: "queued";
|
|
467
|
-
"in-progress": "in-progress";
|
|
468
|
-
"timed-out": "timed-out";
|
|
469
|
-
error: "error";
|
|
470
|
-
}>>;
|
|
471
467
|
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
472
468
|
license_id: z.ZodOptional<z.ZodString>;
|
|
473
469
|
license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
@@ -487,6 +483,10 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
487
483
|
stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
488
484
|
stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
489
485
|
stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
486
|
+
metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
487
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
488
|
+
reply_to_comment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
489
|
+
}, z.core.$strip>>>>;
|
|
490
490
|
preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodObject<{
|
|
491
491
|
type: z.ZodString;
|
|
492
492
|
content: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
@@ -587,6 +587,10 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
587
587
|
};
|
|
588
588
|
created_at: string;
|
|
589
589
|
last_updated: string;
|
|
590
|
+
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
591
|
+
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
592
|
+
state?: "success" | "error" | "queued" | "in-progress" | "timed-out" | undefined;
|
|
593
|
+
source?: "web" | "api" | undefined;
|
|
590
594
|
user?: {
|
|
591
595
|
id?: string | undefined;
|
|
592
596
|
user_id?: string | undefined;
|
|
@@ -606,6 +610,8 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
606
610
|
plan_type?: "free" | "gold" | undefined;
|
|
607
611
|
last_active?: string | undefined;
|
|
608
612
|
} | undefined;
|
|
613
|
+
parent?: Record<string, any> | undefined;
|
|
614
|
+
org_id?: string | undefined;
|
|
609
615
|
organization?: {
|
|
610
616
|
id?: string | undefined;
|
|
611
617
|
name?: string | undefined;
|
|
@@ -625,6 +631,7 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
625
631
|
actor_type_policy?: "any" | "verified_only" | "agents_only" | undefined;
|
|
626
632
|
source_policy?: "any" | "web_only" | "api_only" | undefined;
|
|
627
633
|
} | undefined;
|
|
634
|
+
team_id?: string | undefined;
|
|
628
635
|
team?: {
|
|
629
636
|
id?: string | undefined;
|
|
630
637
|
org_id?: string | undefined;
|
|
@@ -687,21 +694,10 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
687
694
|
}[] | undefined;
|
|
688
695
|
created_at?: string | undefined;
|
|
689
696
|
} | undefined;
|
|
690
|
-
org_id?: string | undefined;
|
|
691
|
-
parent?: Record<string, any> | undefined;
|
|
692
|
-
metadata?: {
|
|
693
|
-
source?: string | null | undefined;
|
|
694
|
-
reply_to_comment_id?: string | null | undefined;
|
|
695
|
-
} | null | undefined;
|
|
696
|
-
team_id?: string | undefined;
|
|
697
|
-
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
698
697
|
description?: {
|
|
699
698
|
json: Record<string, any>;
|
|
700
699
|
text: string;
|
|
701
700
|
} | null | undefined;
|
|
702
|
-
source?: "api" | "web" | undefined;
|
|
703
|
-
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
704
|
-
state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
|
|
705
701
|
parent_id?: string | null | undefined;
|
|
706
702
|
license_id?: string | undefined;
|
|
707
703
|
license?: Record<string, any> | undefined;
|
|
@@ -715,6 +711,10 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
715
711
|
stripe_product_id?: string | null | undefined;
|
|
716
712
|
stripe_price_id?: string | null | undefined;
|
|
717
713
|
stripe_meter_id?: string | null | undefined;
|
|
714
|
+
metadata?: {
|
|
715
|
+
source?: string | null | undefined;
|
|
716
|
+
reply_to_comment_id?: string | null | undefined;
|
|
717
|
+
} | null | undefined;
|
|
718
718
|
preview?: {
|
|
719
719
|
type: string;
|
|
720
720
|
content: Record<string, any>[];
|
|
@@ -745,6 +745,10 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
745
745
|
};
|
|
746
746
|
created_at: string;
|
|
747
747
|
last_updated: string;
|
|
748
|
+
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
749
|
+
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
750
|
+
state?: "success" | "error" | "queued" | "in-progress" | "timed-out" | undefined;
|
|
751
|
+
source?: "web" | "api" | undefined;
|
|
748
752
|
user?: {
|
|
749
753
|
id?: string | undefined;
|
|
750
754
|
user_id?: string | undefined;
|
|
@@ -764,6 +768,8 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
764
768
|
plan_type?: "free" | "gold" | undefined;
|
|
765
769
|
last_active?: string | undefined;
|
|
766
770
|
} | undefined;
|
|
771
|
+
parent?: Record<string, any> | undefined;
|
|
772
|
+
org_id?: string | undefined;
|
|
767
773
|
organization?: {
|
|
768
774
|
id?: string | undefined;
|
|
769
775
|
name?: string | undefined;
|
|
@@ -783,6 +789,7 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
783
789
|
actor_type_policy?: "any" | "verified_only" | "agents_only" | undefined;
|
|
784
790
|
source_policy?: "any" | "web_only" | "api_only" | undefined;
|
|
785
791
|
} | undefined;
|
|
792
|
+
team_id?: string | undefined;
|
|
786
793
|
team?: {
|
|
787
794
|
id?: string | undefined;
|
|
788
795
|
org_id?: string | undefined;
|
|
@@ -845,21 +852,10 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
845
852
|
}[] | undefined;
|
|
846
853
|
created_at?: string | undefined;
|
|
847
854
|
} | undefined;
|
|
848
|
-
org_id?: string | undefined;
|
|
849
|
-
parent?: Record<string, any> | undefined;
|
|
850
|
-
metadata?: {
|
|
851
|
-
source?: string | null | undefined;
|
|
852
|
-
reply_to_comment_id?: string | null | undefined;
|
|
853
|
-
} | null | undefined;
|
|
854
|
-
team_id?: string | undefined;
|
|
855
|
-
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
856
855
|
description?: {
|
|
857
856
|
json: Record<string, any>;
|
|
858
857
|
text: string;
|
|
859
858
|
} | null | undefined;
|
|
860
|
-
source?: "api" | "web" | undefined;
|
|
861
|
-
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
862
|
-
state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
|
|
863
859
|
parent_id?: string | null | undefined;
|
|
864
860
|
license_id?: string | undefined;
|
|
865
861
|
license?: Record<string, any> | undefined;
|
|
@@ -873,6 +869,10 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
873
869
|
stripe_product_id?: string | null | undefined;
|
|
874
870
|
stripe_price_id?: string | null | undefined;
|
|
875
871
|
stripe_meter_id?: string | null | undefined;
|
|
872
|
+
metadata?: {
|
|
873
|
+
source?: string | null | undefined;
|
|
874
|
+
reply_to_comment_id?: string | null | undefined;
|
|
875
|
+
} | null | undefined;
|
|
876
876
|
preview?: {
|
|
877
877
|
type: string;
|
|
878
878
|
content: Record<string, any>[];
|
|
@@ -1133,14 +1133,14 @@ declare const ReadCommentSchema: z.ZodObject<{
|
|
|
1133
1133
|
}, z.core.$strip>;
|
|
1134
1134
|
state: z.ZodEnum<{
|
|
1135
1135
|
success: "success";
|
|
1136
|
+
error: "error";
|
|
1136
1137
|
queued: "queued";
|
|
1137
1138
|
"in-progress": "in-progress";
|
|
1138
1139
|
"timed-out": "timed-out";
|
|
1139
|
-
error: "error";
|
|
1140
1140
|
}>;
|
|
1141
1141
|
source: z.ZodEnum<{
|
|
1142
|
-
api: "api";
|
|
1143
1142
|
web: "web";
|
|
1143
|
+
api: "api";
|
|
1144
1144
|
}>;
|
|
1145
1145
|
is_pinned_in_team: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1146
1146
|
created_at: z.ZodString;
|
|
@@ -1337,10 +1337,10 @@ declare const ReadCommentSchema: z.ZodObject<{
|
|
|
1337
1337
|
license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1338
1338
|
asset_type: z.ZodOptional<z.ZodEnum<{
|
|
1339
1339
|
user: "user";
|
|
1340
|
+
file: "file";
|
|
1340
1341
|
organization: "organization";
|
|
1341
1342
|
team: "team";
|
|
1342
1343
|
dataset: "dataset";
|
|
1343
|
-
file: "file";
|
|
1344
1344
|
service: "service";
|
|
1345
1345
|
route: "route";
|
|
1346
1346
|
post: "post";
|
|
@@ -1417,14 +1417,14 @@ declare const ReadCommentSchema: z.ZodObject<{
|
|
|
1417
1417
|
preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>>;
|
|
1418
1418
|
state: z.ZodOptional<z.ZodEnum<{
|
|
1419
1419
|
success: "success";
|
|
1420
|
+
error: "error";
|
|
1420
1421
|
queued: "queued";
|
|
1421
1422
|
"in-progress": "in-progress";
|
|
1422
1423
|
"timed-out": "timed-out";
|
|
1423
|
-
error: "error";
|
|
1424
1424
|
}>>;
|
|
1425
1425
|
source: z.ZodOptional<z.ZodEnum<{
|
|
1426
|
-
api: "api";
|
|
1427
1426
|
web: "web";
|
|
1427
|
+
api: "api";
|
|
1428
1428
|
}>>;
|
|
1429
1429
|
is_pinned_in_team: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
|
|
1430
1430
|
created_at: z.ZodOptional<z.ZodString>;
|
|
@@ -246,14 +246,14 @@ declare const CommentSchema: z.ZodObject<{
|
|
|
246
246
|
}, z.core.$strip>;
|
|
247
247
|
state: z.ZodEnum<{
|
|
248
248
|
success: "success";
|
|
249
|
+
error: "error";
|
|
249
250
|
queued: "queued";
|
|
250
251
|
"in-progress": "in-progress";
|
|
251
252
|
"timed-out": "timed-out";
|
|
252
|
-
error: "error";
|
|
253
253
|
}>;
|
|
254
254
|
source: z.ZodEnum<{
|
|
255
|
-
api: "api";
|
|
256
255
|
web: "web";
|
|
256
|
+
api: "api";
|
|
257
257
|
}>;
|
|
258
258
|
is_pinned_in_team: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
259
259
|
created_at: z.ZodString;
|
|
@@ -265,6 +265,29 @@ declare const CommentSchema: z.ZodObject<{
|
|
|
265
265
|
}, z.core.$strip>>>>;
|
|
266
266
|
}, z.core.$strip>;
|
|
267
267
|
declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
268
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
269
|
+
organization: "organization";
|
|
270
|
+
public: "public";
|
|
271
|
+
private: "private";
|
|
272
|
+
monetized: "monetized";
|
|
273
|
+
inherit: "inherit";
|
|
274
|
+
}>>;
|
|
275
|
+
monetization: z.ZodOptional<z.ZodEnum<{
|
|
276
|
+
none: "none";
|
|
277
|
+
"pay-to-unlock": "pay-to-unlock";
|
|
278
|
+
"pay-per-use": "pay-per-use";
|
|
279
|
+
}>>;
|
|
280
|
+
state: z.ZodOptional<z.ZodEnum<{
|
|
281
|
+
success: "success";
|
|
282
|
+
error: "error";
|
|
283
|
+
queued: "queued";
|
|
284
|
+
"in-progress": "in-progress";
|
|
285
|
+
"timed-out": "timed-out";
|
|
286
|
+
}>>;
|
|
287
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
288
|
+
web: "web";
|
|
289
|
+
api: "api";
|
|
290
|
+
}>>;
|
|
268
291
|
user: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
269
292
|
id: z.ZodOptional<z.ZodUUID>;
|
|
270
293
|
user_id: z.ZodOptional<z.ZodUUID>;
|
|
@@ -291,6 +314,8 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
291
314
|
}>>;
|
|
292
315
|
last_active: z.ZodOptional<z.ZodString>;
|
|
293
316
|
}, z.core.$strip>>>;
|
|
317
|
+
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
318
|
+
org_id: z.ZodOptional<z.ZodUUID>;
|
|
294
319
|
organization: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
295
320
|
id: z.ZodOptional<z.ZodUUID>;
|
|
296
321
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -323,6 +348,7 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
323
348
|
api_only: "api_only";
|
|
324
349
|
}>>>>;
|
|
325
350
|
}, z.core.$strip>>>;
|
|
351
|
+
team_id: z.ZodOptional<z.ZodUUID>;
|
|
326
352
|
team: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
327
353
|
id: z.ZodOptional<z.ZodUUID>;
|
|
328
354
|
org_id: z.ZodOptional<z.ZodUUID>;
|
|
@@ -434,40 +460,10 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
434
460
|
}, z.core.$strip>>>;
|
|
435
461
|
created_at: z.ZodOptional<z.ZodString>;
|
|
436
462
|
}, z.core.$strip>>>;
|
|
437
|
-
org_id: z.ZodOptional<z.ZodUUID>;
|
|
438
|
-
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
439
|
-
metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
440
|
-
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
441
|
-
reply_to_comment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
442
|
-
}, z.core.$strip>>>>;
|
|
443
|
-
team_id: z.ZodOptional<z.ZodUUID>;
|
|
444
|
-
visibility: z.ZodOptional<z.ZodEnum<{
|
|
445
|
-
organization: "organization";
|
|
446
|
-
public: "public";
|
|
447
|
-
private: "private";
|
|
448
|
-
monetized: "monetized";
|
|
449
|
-
inherit: "inherit";
|
|
450
|
-
}>>;
|
|
451
463
|
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
452
464
|
json: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
453
465
|
text: z.ZodString;
|
|
454
466
|
}, z.core.$strip>>>>;
|
|
455
|
-
source: z.ZodOptional<z.ZodEnum<{
|
|
456
|
-
api: "api";
|
|
457
|
-
web: "web";
|
|
458
|
-
}>>;
|
|
459
|
-
monetization: z.ZodOptional<z.ZodEnum<{
|
|
460
|
-
none: "none";
|
|
461
|
-
"pay-to-unlock": "pay-to-unlock";
|
|
462
|
-
"pay-per-use": "pay-per-use";
|
|
463
|
-
}>>;
|
|
464
|
-
state: z.ZodOptional<z.ZodEnum<{
|
|
465
|
-
success: "success";
|
|
466
|
-
queued: "queued";
|
|
467
|
-
"in-progress": "in-progress";
|
|
468
|
-
"timed-out": "timed-out";
|
|
469
|
-
error: "error";
|
|
470
|
-
}>>;
|
|
471
467
|
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
472
468
|
license_id: z.ZodOptional<z.ZodString>;
|
|
473
469
|
license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
@@ -487,6 +483,10 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
487
483
|
stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
488
484
|
stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
489
485
|
stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
486
|
+
metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
487
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
488
|
+
reply_to_comment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
489
|
+
}, z.core.$strip>>>>;
|
|
490
490
|
preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodObject<{
|
|
491
491
|
type: z.ZodString;
|
|
492
492
|
content: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
@@ -587,6 +587,10 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
587
587
|
};
|
|
588
588
|
created_at: string;
|
|
589
589
|
last_updated: string;
|
|
590
|
+
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
591
|
+
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
592
|
+
state?: "success" | "error" | "queued" | "in-progress" | "timed-out" | undefined;
|
|
593
|
+
source?: "web" | "api" | undefined;
|
|
590
594
|
user?: {
|
|
591
595
|
id?: string | undefined;
|
|
592
596
|
user_id?: string | undefined;
|
|
@@ -606,6 +610,8 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
606
610
|
plan_type?: "free" | "gold" | undefined;
|
|
607
611
|
last_active?: string | undefined;
|
|
608
612
|
} | undefined;
|
|
613
|
+
parent?: Record<string, any> | undefined;
|
|
614
|
+
org_id?: string | undefined;
|
|
609
615
|
organization?: {
|
|
610
616
|
id?: string | undefined;
|
|
611
617
|
name?: string | undefined;
|
|
@@ -625,6 +631,7 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
625
631
|
actor_type_policy?: "any" | "verified_only" | "agents_only" | undefined;
|
|
626
632
|
source_policy?: "any" | "web_only" | "api_only" | undefined;
|
|
627
633
|
} | undefined;
|
|
634
|
+
team_id?: string | undefined;
|
|
628
635
|
team?: {
|
|
629
636
|
id?: string | undefined;
|
|
630
637
|
org_id?: string | undefined;
|
|
@@ -687,21 +694,10 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
687
694
|
}[] | undefined;
|
|
688
695
|
created_at?: string | undefined;
|
|
689
696
|
} | undefined;
|
|
690
|
-
org_id?: string | undefined;
|
|
691
|
-
parent?: Record<string, any> | undefined;
|
|
692
|
-
metadata?: {
|
|
693
|
-
source?: string | null | undefined;
|
|
694
|
-
reply_to_comment_id?: string | null | undefined;
|
|
695
|
-
} | null | undefined;
|
|
696
|
-
team_id?: string | undefined;
|
|
697
|
-
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
698
697
|
description?: {
|
|
699
698
|
json: Record<string, any>;
|
|
700
699
|
text: string;
|
|
701
700
|
} | null | undefined;
|
|
702
|
-
source?: "api" | "web" | undefined;
|
|
703
|
-
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
704
|
-
state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
|
|
705
701
|
parent_id?: string | null | undefined;
|
|
706
702
|
license_id?: string | undefined;
|
|
707
703
|
license?: Record<string, any> | undefined;
|
|
@@ -715,6 +711,10 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
715
711
|
stripe_product_id?: string | null | undefined;
|
|
716
712
|
stripe_price_id?: string | null | undefined;
|
|
717
713
|
stripe_meter_id?: string | null | undefined;
|
|
714
|
+
metadata?: {
|
|
715
|
+
source?: string | null | undefined;
|
|
716
|
+
reply_to_comment_id?: string | null | undefined;
|
|
717
|
+
} | null | undefined;
|
|
718
718
|
preview?: {
|
|
719
719
|
type: string;
|
|
720
720
|
content: Record<string, any>[];
|
|
@@ -745,6 +745,10 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
745
745
|
};
|
|
746
746
|
created_at: string;
|
|
747
747
|
last_updated: string;
|
|
748
|
+
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
749
|
+
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
750
|
+
state?: "success" | "error" | "queued" | "in-progress" | "timed-out" | undefined;
|
|
751
|
+
source?: "web" | "api" | undefined;
|
|
748
752
|
user?: {
|
|
749
753
|
id?: string | undefined;
|
|
750
754
|
user_id?: string | undefined;
|
|
@@ -764,6 +768,8 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
764
768
|
plan_type?: "free" | "gold" | undefined;
|
|
765
769
|
last_active?: string | undefined;
|
|
766
770
|
} | undefined;
|
|
771
|
+
parent?: Record<string, any> | undefined;
|
|
772
|
+
org_id?: string | undefined;
|
|
767
773
|
organization?: {
|
|
768
774
|
id?: string | undefined;
|
|
769
775
|
name?: string | undefined;
|
|
@@ -783,6 +789,7 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
783
789
|
actor_type_policy?: "any" | "verified_only" | "agents_only" | undefined;
|
|
784
790
|
source_policy?: "any" | "web_only" | "api_only" | undefined;
|
|
785
791
|
} | undefined;
|
|
792
|
+
team_id?: string | undefined;
|
|
786
793
|
team?: {
|
|
787
794
|
id?: string | undefined;
|
|
788
795
|
org_id?: string | undefined;
|
|
@@ -845,21 +852,10 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
845
852
|
}[] | undefined;
|
|
846
853
|
created_at?: string | undefined;
|
|
847
854
|
} | undefined;
|
|
848
|
-
org_id?: string | undefined;
|
|
849
|
-
parent?: Record<string, any> | undefined;
|
|
850
|
-
metadata?: {
|
|
851
|
-
source?: string | null | undefined;
|
|
852
|
-
reply_to_comment_id?: string | null | undefined;
|
|
853
|
-
} | null | undefined;
|
|
854
|
-
team_id?: string | undefined;
|
|
855
|
-
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
856
855
|
description?: {
|
|
857
856
|
json: Record<string, any>;
|
|
858
857
|
text: string;
|
|
859
858
|
} | null | undefined;
|
|
860
|
-
source?: "api" | "web" | undefined;
|
|
861
|
-
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
862
|
-
state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
|
|
863
859
|
parent_id?: string | null | undefined;
|
|
864
860
|
license_id?: string | undefined;
|
|
865
861
|
license?: Record<string, any> | undefined;
|
|
@@ -873,6 +869,10 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
873
869
|
stripe_product_id?: string | null | undefined;
|
|
874
870
|
stripe_price_id?: string | null | undefined;
|
|
875
871
|
stripe_meter_id?: string | null | undefined;
|
|
872
|
+
metadata?: {
|
|
873
|
+
source?: string | null | undefined;
|
|
874
|
+
reply_to_comment_id?: string | null | undefined;
|
|
875
|
+
} | null | undefined;
|
|
876
876
|
preview?: {
|
|
877
877
|
type: string;
|
|
878
878
|
content: Record<string, any>[];
|
|
@@ -1133,14 +1133,14 @@ declare const ReadCommentSchema: z.ZodObject<{
|
|
|
1133
1133
|
}, z.core.$strip>;
|
|
1134
1134
|
state: z.ZodEnum<{
|
|
1135
1135
|
success: "success";
|
|
1136
|
+
error: "error";
|
|
1136
1137
|
queued: "queued";
|
|
1137
1138
|
"in-progress": "in-progress";
|
|
1138
1139
|
"timed-out": "timed-out";
|
|
1139
|
-
error: "error";
|
|
1140
1140
|
}>;
|
|
1141
1141
|
source: z.ZodEnum<{
|
|
1142
|
-
api: "api";
|
|
1143
1142
|
web: "web";
|
|
1143
|
+
api: "api";
|
|
1144
1144
|
}>;
|
|
1145
1145
|
is_pinned_in_team: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1146
1146
|
created_at: z.ZodString;
|
|
@@ -1337,10 +1337,10 @@ declare const ReadCommentSchema: z.ZodObject<{
|
|
|
1337
1337
|
license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1338
1338
|
asset_type: z.ZodOptional<z.ZodEnum<{
|
|
1339
1339
|
user: "user";
|
|
1340
|
+
file: "file";
|
|
1340
1341
|
organization: "organization";
|
|
1341
1342
|
team: "team";
|
|
1342
1343
|
dataset: "dataset";
|
|
1343
|
-
file: "file";
|
|
1344
1344
|
service: "service";
|
|
1345
1345
|
route: "route";
|
|
1346
1346
|
post: "post";
|
|
@@ -1417,14 +1417,14 @@ declare const ReadCommentSchema: z.ZodObject<{
|
|
|
1417
1417
|
preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>>;
|
|
1418
1418
|
state: z.ZodOptional<z.ZodEnum<{
|
|
1419
1419
|
success: "success";
|
|
1420
|
+
error: "error";
|
|
1420
1421
|
queued: "queued";
|
|
1421
1422
|
"in-progress": "in-progress";
|
|
1422
1423
|
"timed-out": "timed-out";
|
|
1423
|
-
error: "error";
|
|
1424
1424
|
}>>;
|
|
1425
1425
|
source: z.ZodOptional<z.ZodEnum<{
|
|
1426
|
-
api: "api";
|
|
1427
1426
|
web: "web";
|
|
1427
|
+
api: "api";
|
|
1428
1428
|
}>>;
|
|
1429
1429
|
is_pinned_in_team: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
|
|
1430
1430
|
created_at: z.ZodOptional<z.ZodString>;
|
package/dist/schema/comments.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{c as CommentRepliesAggregateSchema,a as CommentSchema,b as CreateCommentSchema,d as ReadCommentSchema}from'../chunk-
|
|
1
|
+
export{c as CommentRepliesAggregateSchema,a as CommentSchema,b as CreateCommentSchema,d as ReadCommentSchema}from'../chunk-EMDUI7HF.js';import'../chunk-WE6CXCEQ.js';import'../chunk-KHUEMWG2.js';import'../chunk-PB4XG5WM.js';import'../chunk-YTIUJ72Q.js';import'../chunk-42WKTHH5.js';import'../chunk-G6GCUGMM.js';import'../chunk-3BZRQYRC.js';import'../chunk-DUBPWSCA.js';import'../chunk-42ADEGDM.js';//# sourceMappingURL=comments.js.map
|
|
2
2
|
//# sourceMappingURL=comments.js.map
|
package/dist/schema/common.d.cts
CHANGED
|
@@ -2,10 +2,10 @@ import { z } from 'zod';
|
|
|
2
2
|
|
|
3
3
|
declare const AssetTypeSchema: z.ZodEnum<{
|
|
4
4
|
user: "user";
|
|
5
|
+
file: "file";
|
|
5
6
|
organization: "organization";
|
|
6
7
|
team: "team";
|
|
7
8
|
dataset: "dataset";
|
|
8
|
-
file: "file";
|
|
9
9
|
service: "service";
|
|
10
10
|
route: "route";
|
|
11
11
|
post: "post";
|
|
@@ -43,10 +43,10 @@ declare const EmbeddingSchema: z.ZodObject<{
|
|
|
43
43
|
content: z.ZodString;
|
|
44
44
|
asset_type: z.ZodEnum<{
|
|
45
45
|
user: "user";
|
|
46
|
+
file: "file";
|
|
46
47
|
organization: "organization";
|
|
47
48
|
team: "team";
|
|
48
49
|
dataset: "dataset";
|
|
49
|
-
file: "file";
|
|
50
50
|
service: "service";
|
|
51
51
|
route: "route";
|
|
52
52
|
post: "post";
|
|
@@ -76,10 +76,10 @@ declare const ConnectionSchema: z.ZodObject<{
|
|
|
76
76
|
target_id: z.ZodUUID;
|
|
77
77
|
source_asset_type: z.ZodEnum<{
|
|
78
78
|
user: "user";
|
|
79
|
+
file: "file";
|
|
79
80
|
organization: "organization";
|
|
80
81
|
team: "team";
|
|
81
82
|
dataset: "dataset";
|
|
82
|
-
file: "file";
|
|
83
83
|
service: "service";
|
|
84
84
|
route: "route";
|
|
85
85
|
post: "post";
|
|
@@ -89,10 +89,10 @@ declare const ConnectionSchema: z.ZodObject<{
|
|
|
89
89
|
}>;
|
|
90
90
|
target_asset_type: z.ZodEnum<{
|
|
91
91
|
user: "user";
|
|
92
|
+
file: "file";
|
|
92
93
|
organization: "organization";
|
|
93
94
|
team: "team";
|
|
94
95
|
dataset: "dataset";
|
|
95
|
-
file: "file";
|
|
96
96
|
service: "service";
|
|
97
97
|
route: "route";
|
|
98
98
|
post: "post";
|
|
@@ -106,15 +106,15 @@ declare const ConnectionSchema: z.ZodObject<{
|
|
|
106
106
|
declare const PurchaseAssetSchema: z.ZodObject<{
|
|
107
107
|
assetId: z.ZodUUID;
|
|
108
108
|
method: z.ZodEnum<{
|
|
109
|
-
checkout: "checkout";
|
|
110
109
|
api: "api";
|
|
110
|
+
checkout: "checkout";
|
|
111
111
|
}>;
|
|
112
112
|
assetType: z.ZodEnum<{
|
|
113
113
|
user: "user";
|
|
114
|
+
file: "file";
|
|
114
115
|
organization: "organization";
|
|
115
116
|
team: "team";
|
|
116
117
|
dataset: "dataset";
|
|
117
|
-
file: "file";
|
|
118
118
|
service: "service";
|
|
119
119
|
route: "route";
|
|
120
120
|
post: "post";
|
|
@@ -138,10 +138,10 @@ declare const PermissionSchema: z.ZodObject<{
|
|
|
138
138
|
org_id: z.ZodNullable<z.ZodUUID>;
|
|
139
139
|
asset_type: z.ZodEnum<{
|
|
140
140
|
user: "user";
|
|
141
|
+
file: "file";
|
|
141
142
|
organization: "organization";
|
|
142
143
|
team: "team";
|
|
143
144
|
dataset: "dataset";
|
|
144
|
-
file: "file";
|
|
145
145
|
service: "service";
|
|
146
146
|
route: "route";
|
|
147
147
|
post: "post";
|
|
@@ -155,14 +155,14 @@ declare const PermissionSchema: z.ZodObject<{
|
|
|
155
155
|
}, z.core.$strip>;
|
|
156
156
|
declare const StatusSchema: z.ZodEnum<{
|
|
157
157
|
success: "success";
|
|
158
|
+
error: "error";
|
|
158
159
|
queued: "queued";
|
|
159
160
|
"in-progress": "in-progress";
|
|
160
161
|
"timed-out": "timed-out";
|
|
161
|
-
error: "error";
|
|
162
162
|
}>;
|
|
163
163
|
declare const SourceSchema: z.ZodEnum<{
|
|
164
|
-
api: "api";
|
|
165
164
|
web: "web";
|
|
165
|
+
api: "api";
|
|
166
166
|
}>;
|
|
167
167
|
declare const HttpMethodSchema: z.ZodEnum<{
|
|
168
168
|
GET: "GET";
|