@ourofoundation/ouro-js 3.7.8 → 3.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-66AAHP6X.cjs → chunk-23FTPTDP.cjs} +2 -2
- package/dist/{chunk-66AAHP6X.cjs.map → chunk-23FTPTDP.cjs.map} +1 -1
- package/dist/chunk-33C7IDRP.js +2 -0
- package/dist/chunk-33C7IDRP.js.map +1 -0
- package/dist/{chunk-4NAPVNIX.js → chunk-3UE4H5TR.js} +2 -2
- package/dist/{chunk-4NAPVNIX.js.map → chunk-3UE4H5TR.js.map} +1 -1
- package/dist/{chunk-3OUJXTJZ.js → chunk-5CKFMTWZ.js} +2 -2
- package/dist/{chunk-3OUJXTJZ.js.map → chunk-5CKFMTWZ.js.map} +1 -1
- package/dist/{chunk-Z66O3S3W.cjs → chunk-5SC4M4E3.cjs} +2 -2
- package/dist/{chunk-Z66O3S3W.cjs.map → chunk-5SC4M4E3.cjs.map} +1 -1
- package/dist/{chunk-KHUEMWG2.js → chunk-6OO4SOWL.js} +2 -2
- package/dist/{chunk-KHUEMWG2.js.map → chunk-6OO4SOWL.js.map} +1 -1
- package/dist/{chunk-7YG2YDXN.cjs → chunk-7R5EIIIR.cjs} +2 -2
- package/dist/{chunk-7YG2YDXN.cjs.map → chunk-7R5EIIIR.cjs.map} +1 -1
- package/dist/chunk-APZA6MIM.js +2 -0
- package/dist/chunk-APZA6MIM.js.map +1 -0
- package/dist/chunk-AUDVUOLX.js +2 -0
- package/dist/chunk-AUDVUOLX.js.map +1 -0
- package/dist/{chunk-ZRJUBEIK.cjs → chunk-BELCP7OL.cjs} +2 -2
- package/dist/{chunk-ZRJUBEIK.cjs.map → chunk-BELCP7OL.cjs.map} +1 -1
- package/dist/{chunk-CW4TV3DY.js → chunk-CXMEZGVG.js} +2 -2
- package/dist/{chunk-CW4TV3DY.js.map → chunk-CXMEZGVG.js.map} +1 -1
- package/dist/{chunk-42WKTHH5.js → chunk-EIB2YGN3.js} +2 -2
- package/dist/{chunk-42WKTHH5.js.map → chunk-EIB2YGN3.js.map} +1 -1
- package/dist/{chunk-EMDUI7HF.js → chunk-GT7CSIDN.js} +2 -2
- package/dist/{chunk-EMDUI7HF.js.map → chunk-GT7CSIDN.js.map} +1 -1
- package/dist/{chunk-PB4XG5WM.js → chunk-GX6RCMZR.js} +2 -2
- package/dist/{chunk-PB4XG5WM.js.map → chunk-GX6RCMZR.js.map} +1 -1
- package/dist/{chunk-W3N744QV.js → chunk-KMENBGAB.js} +2 -2
- package/dist/{chunk-W3N744QV.js.map → chunk-KMENBGAB.js.map} +1 -1
- package/dist/{chunk-UDTRH3OQ.cjs → chunk-M2ZH6MMH.cjs} +2 -2
- package/dist/{chunk-UDTRH3OQ.cjs.map → chunk-M2ZH6MMH.cjs.map} +1 -1
- package/dist/{chunk-YTIUJ72Q.js → chunk-M5ZLLARC.js} +2 -2
- package/dist/{chunk-YTIUJ72Q.js.map → chunk-M5ZLLARC.js.map} +1 -1
- package/dist/{chunk-3RFYEL3A.cjs → chunk-N3HC2ASR.cjs} +2 -2
- package/dist/{chunk-3RFYEL3A.cjs.map → chunk-N3HC2ASR.cjs.map} +1 -1
- package/dist/chunk-NVKZLT3M.cjs +2 -0
- package/dist/chunk-NVKZLT3M.cjs.map +1 -0
- package/dist/{chunk-QWD7POET.cjs → chunk-O6RFWCC4.cjs} +2 -2
- package/dist/{chunk-QWD7POET.cjs.map → chunk-O6RFWCC4.cjs.map} +1 -1
- package/dist/{chunk-3C7PGJ33.js → chunk-QUBJLDJY.js} +2 -2
- package/dist/{chunk-3C7PGJ33.js.map → chunk-QUBJLDJY.js.map} +1 -1
- package/dist/chunk-RNBIB6S7.cjs +2 -0
- package/dist/chunk-RNBIB6S7.cjs.map +1 -0
- package/dist/{chunk-FJTFM3ML.cjs → chunk-RQUVICCB.cjs} +2 -2
- package/dist/{chunk-FJTFM3ML.cjs.map → chunk-RQUVICCB.cjs.map} +1 -1
- package/dist/chunk-RRDGLT3N.cjs +2 -0
- package/dist/{chunk-LD5G6GFH.cjs.map → chunk-RRDGLT3N.cjs.map} +1 -1
- package/dist/chunk-SZWAE35B.cjs +2 -0
- package/dist/chunk-SZWAE35B.cjs.map +1 -0
- package/dist/chunk-U5JVCESS.js +2 -0
- package/dist/chunk-U5JVCESS.js.map +1 -0
- package/dist/{chunk-B3OK6NNR.cjs → chunk-W4V643O5.cjs} +2 -2
- package/dist/{chunk-B3OK6NNR.cjs.map → chunk-W4V643O5.cjs.map} +1 -1
- package/dist/chunk-YFEGRZXL.cjs +2 -0
- package/dist/chunk-YFEGRZXL.cjs.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -1
- package/dist/schema/asset-filters.cjs +1 -1
- package/dist/schema/asset-filters.d.cts +7 -7
- package/dist/schema/asset-filters.d.ts +7 -7
- package/dist/schema/asset-filters.js +1 -1
- 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.cjs +1 -1
- package/dist/schema/common.d.cts +10 -9
- package/dist/schema/common.d.ts +10 -9
- package/dist/schema/common.js +1 -1
- package/dist/schema/conversations.cjs +1 -1
- package/dist/schema/conversations.d.cts +77 -58
- package/dist/schema/conversations.d.ts +77 -58
- 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 +154 -89
- package/dist/schema/files.d.ts +154 -89
- package/dist/schema/files.js +1 -1
- package/dist/schema/notifications.cjs +1 -1
- package/dist/schema/notifications.d.cts +106 -106
- package/dist/schema/notifications.d.ts +106 -106
- package/dist/schema/notifications.js +1 -1
- package/dist/schema/organizations.cjs +1 -1
- package/dist/schema/organizations.js +1 -1
- 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 +192 -131
- package/dist/schema/quests.d.ts +192 -131
- 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 +2 -2
- package/tests/files.test.mjs +42 -0
- package/dist/chunk-3BZRQYRC.js +0 -2
- package/dist/chunk-3BZRQYRC.js.map +0 -1
- package/dist/chunk-ASLHRT77.js +0 -2
- package/dist/chunk-ASLHRT77.js.map +0 -1
- package/dist/chunk-LD5G6GFH.cjs +0 -2
- package/dist/chunk-MNECKGIP.cjs +0 -2
- package/dist/chunk-MNECKGIP.cjs.map +0 -1
- package/dist/chunk-UVVPXYJA.cjs +0 -2
- package/dist/chunk-UVVPXYJA.cjs.map +0 -1
- package/dist/chunk-W6AKVS4L.cjs +0 -2
- package/dist/chunk-W6AKVS4L.cjs.map +0 -1
- package/dist/chunk-W6MBAIKZ.cjs +0 -2
- package/dist/chunk-W6MBAIKZ.cjs.map +0 -1
- package/dist/chunk-XVN3DFMT.js +0 -2
- package/dist/chunk-XVN3DFMT.js.map +0 -1
- package/dist/chunk-Y6TOO6ET.js +0 -2
- package/dist/chunk-Y6TOO6ET.js.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";
|
|
250
249
|
queued: "queued";
|
|
251
250
|
"in-progress": "in-progress";
|
|
252
251
|
"timed-out": "timed-out";
|
|
252
|
+
error: "error";
|
|
253
253
|
}>;
|
|
254
254
|
source: z.ZodEnum<{
|
|
255
|
-
web: "web";
|
|
256
255
|
api: "api";
|
|
256
|
+
web: "web";
|
|
257
257
|
}>;
|
|
258
258
|
is_pinned_in_team: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
259
259
|
created_at: z.ZodString;
|
|
@@ -265,29 +265,6 @@ 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
|
-
}>>;
|
|
291
268
|
user: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
292
269
|
id: z.ZodOptional<z.ZodUUID>;
|
|
293
270
|
user_id: z.ZodOptional<z.ZodUUID>;
|
|
@@ -314,8 +291,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
314
291
|
}>>;
|
|
315
292
|
last_active: z.ZodOptional<z.ZodString>;
|
|
316
293
|
}, z.core.$strip>>>;
|
|
317
|
-
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
318
|
-
org_id: z.ZodOptional<z.ZodUUID>;
|
|
319
294
|
organization: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
320
295
|
id: z.ZodOptional<z.ZodUUID>;
|
|
321
296
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -348,7 +323,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
348
323
|
api_only: "api_only";
|
|
349
324
|
}>>>>;
|
|
350
325
|
}, z.core.$strip>>>;
|
|
351
|
-
team_id: z.ZodOptional<z.ZodUUID>;
|
|
352
326
|
team: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
353
327
|
id: z.ZodOptional<z.ZodUUID>;
|
|
354
328
|
org_id: z.ZodOptional<z.ZodUUID>;
|
|
@@ -460,10 +434,40 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
460
434
|
}, z.core.$strip>>>;
|
|
461
435
|
created_at: z.ZodOptional<z.ZodString>;
|
|
462
436
|
}, 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
|
+
}>>;
|
|
463
451
|
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
464
452
|
json: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
465
453
|
text: z.ZodString;
|
|
466
454
|
}, 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
|
+
}>>;
|
|
467
471
|
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
468
472
|
license_id: z.ZodOptional<z.ZodString>;
|
|
469
473
|
license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
@@ -483,10 +487,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
483
487
|
stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
484
488
|
stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
485
489
|
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,10 +587,6 @@ 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;
|
|
594
590
|
user?: {
|
|
595
591
|
id?: string | undefined;
|
|
596
592
|
user_id?: string | undefined;
|
|
@@ -610,8 +606,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
610
606
|
plan_type?: "free" | "gold" | undefined;
|
|
611
607
|
last_active?: string | undefined;
|
|
612
608
|
} | undefined;
|
|
613
|
-
parent?: Record<string, any> | undefined;
|
|
614
|
-
org_id?: string | undefined;
|
|
615
609
|
organization?: {
|
|
616
610
|
id?: string | undefined;
|
|
617
611
|
name?: string | undefined;
|
|
@@ -631,7 +625,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
631
625
|
actor_type_policy?: "any" | "verified_only" | "agents_only" | undefined;
|
|
632
626
|
source_policy?: "any" | "web_only" | "api_only" | undefined;
|
|
633
627
|
} | undefined;
|
|
634
|
-
team_id?: string | undefined;
|
|
635
628
|
team?: {
|
|
636
629
|
id?: string | undefined;
|
|
637
630
|
org_id?: string | undefined;
|
|
@@ -694,10 +687,21 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
694
687
|
}[] | undefined;
|
|
695
688
|
created_at?: string | undefined;
|
|
696
689
|
} | 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;
|
|
697
698
|
description?: {
|
|
698
699
|
json: Record<string, any>;
|
|
699
700
|
text: string;
|
|
700
701
|
} | 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;
|
|
701
705
|
parent_id?: string | null | undefined;
|
|
702
706
|
license_id?: string | undefined;
|
|
703
707
|
license?: Record<string, any> | undefined;
|
|
@@ -711,10 +715,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
711
715
|
stripe_product_id?: string | null | undefined;
|
|
712
716
|
stripe_price_id?: string | null | undefined;
|
|
713
717
|
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,10 +745,6 @@ 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;
|
|
752
748
|
user?: {
|
|
753
749
|
id?: string | undefined;
|
|
754
750
|
user_id?: string | undefined;
|
|
@@ -768,8 +764,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
768
764
|
plan_type?: "free" | "gold" | undefined;
|
|
769
765
|
last_active?: string | undefined;
|
|
770
766
|
} | undefined;
|
|
771
|
-
parent?: Record<string, any> | undefined;
|
|
772
|
-
org_id?: string | undefined;
|
|
773
767
|
organization?: {
|
|
774
768
|
id?: string | undefined;
|
|
775
769
|
name?: string | undefined;
|
|
@@ -789,7 +783,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
789
783
|
actor_type_policy?: "any" | "verified_only" | "agents_only" | undefined;
|
|
790
784
|
source_policy?: "any" | "web_only" | "api_only" | undefined;
|
|
791
785
|
} | undefined;
|
|
792
|
-
team_id?: string | undefined;
|
|
793
786
|
team?: {
|
|
794
787
|
id?: string | undefined;
|
|
795
788
|
org_id?: string | undefined;
|
|
@@ -852,10 +845,21 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
852
845
|
}[] | undefined;
|
|
853
846
|
created_at?: string | undefined;
|
|
854
847
|
} | 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;
|
|
855
856
|
description?: {
|
|
856
857
|
json: Record<string, any>;
|
|
857
858
|
text: string;
|
|
858
859
|
} | 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;
|
|
859
863
|
parent_id?: string | null | undefined;
|
|
860
864
|
license_id?: string | undefined;
|
|
861
865
|
license?: Record<string, any> | undefined;
|
|
@@ -869,10 +873,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
869
873
|
stripe_product_id?: string | null | undefined;
|
|
870
874
|
stripe_price_id?: string | null | undefined;
|
|
871
875
|
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";
|
|
1137
1136
|
queued: "queued";
|
|
1138
1137
|
"in-progress": "in-progress";
|
|
1139
1138
|
"timed-out": "timed-out";
|
|
1139
|
+
error: "error";
|
|
1140
1140
|
}>;
|
|
1141
1141
|
source: z.ZodEnum<{
|
|
1142
|
-
web: "web";
|
|
1143
1142
|
api: "api";
|
|
1143
|
+
web: "web";
|
|
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";
|
|
1341
1340
|
organization: "organization";
|
|
1342
1341
|
team: "team";
|
|
1343
1342
|
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";
|
|
1421
1420
|
queued: "queued";
|
|
1422
1421
|
"in-progress": "in-progress";
|
|
1423
1422
|
"timed-out": "timed-out";
|
|
1423
|
+
error: "error";
|
|
1424
1424
|
}>>;
|
|
1425
1425
|
source: z.ZodOptional<z.ZodEnum<{
|
|
1426
|
-
web: "web";
|
|
1427
1426
|
api: "api";
|
|
1427
|
+
web: "web";
|
|
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";
|
|
250
249
|
queued: "queued";
|
|
251
250
|
"in-progress": "in-progress";
|
|
252
251
|
"timed-out": "timed-out";
|
|
252
|
+
error: "error";
|
|
253
253
|
}>;
|
|
254
254
|
source: z.ZodEnum<{
|
|
255
|
-
web: "web";
|
|
256
255
|
api: "api";
|
|
256
|
+
web: "web";
|
|
257
257
|
}>;
|
|
258
258
|
is_pinned_in_team: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
259
259
|
created_at: z.ZodString;
|
|
@@ -265,29 +265,6 @@ 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
|
-
}>>;
|
|
291
268
|
user: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
292
269
|
id: z.ZodOptional<z.ZodUUID>;
|
|
293
270
|
user_id: z.ZodOptional<z.ZodUUID>;
|
|
@@ -314,8 +291,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
314
291
|
}>>;
|
|
315
292
|
last_active: z.ZodOptional<z.ZodString>;
|
|
316
293
|
}, z.core.$strip>>>;
|
|
317
|
-
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
318
|
-
org_id: z.ZodOptional<z.ZodUUID>;
|
|
319
294
|
organization: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
320
295
|
id: z.ZodOptional<z.ZodUUID>;
|
|
321
296
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -348,7 +323,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
348
323
|
api_only: "api_only";
|
|
349
324
|
}>>>>;
|
|
350
325
|
}, z.core.$strip>>>;
|
|
351
|
-
team_id: z.ZodOptional<z.ZodUUID>;
|
|
352
326
|
team: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
353
327
|
id: z.ZodOptional<z.ZodUUID>;
|
|
354
328
|
org_id: z.ZodOptional<z.ZodUUID>;
|
|
@@ -460,10 +434,40 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
460
434
|
}, z.core.$strip>>>;
|
|
461
435
|
created_at: z.ZodOptional<z.ZodString>;
|
|
462
436
|
}, 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
|
+
}>>;
|
|
463
451
|
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
464
452
|
json: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
465
453
|
text: z.ZodString;
|
|
466
454
|
}, 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
|
+
}>>;
|
|
467
471
|
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
468
472
|
license_id: z.ZodOptional<z.ZodString>;
|
|
469
473
|
license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
@@ -483,10 +487,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
483
487
|
stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
484
488
|
stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
485
489
|
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,10 +587,6 @@ 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;
|
|
594
590
|
user?: {
|
|
595
591
|
id?: string | undefined;
|
|
596
592
|
user_id?: string | undefined;
|
|
@@ -610,8 +606,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
610
606
|
plan_type?: "free" | "gold" | undefined;
|
|
611
607
|
last_active?: string | undefined;
|
|
612
608
|
} | undefined;
|
|
613
|
-
parent?: Record<string, any> | undefined;
|
|
614
|
-
org_id?: string | undefined;
|
|
615
609
|
organization?: {
|
|
616
610
|
id?: string | undefined;
|
|
617
611
|
name?: string | undefined;
|
|
@@ -631,7 +625,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
631
625
|
actor_type_policy?: "any" | "verified_only" | "agents_only" | undefined;
|
|
632
626
|
source_policy?: "any" | "web_only" | "api_only" | undefined;
|
|
633
627
|
} | undefined;
|
|
634
|
-
team_id?: string | undefined;
|
|
635
628
|
team?: {
|
|
636
629
|
id?: string | undefined;
|
|
637
630
|
org_id?: string | undefined;
|
|
@@ -694,10 +687,21 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
694
687
|
}[] | undefined;
|
|
695
688
|
created_at?: string | undefined;
|
|
696
689
|
} | 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;
|
|
697
698
|
description?: {
|
|
698
699
|
json: Record<string, any>;
|
|
699
700
|
text: string;
|
|
700
701
|
} | 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;
|
|
701
705
|
parent_id?: string | null | undefined;
|
|
702
706
|
license_id?: string | undefined;
|
|
703
707
|
license?: Record<string, any> | undefined;
|
|
@@ -711,10 +715,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
711
715
|
stripe_product_id?: string | null | undefined;
|
|
712
716
|
stripe_price_id?: string | null | undefined;
|
|
713
717
|
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,10 +745,6 @@ 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;
|
|
752
748
|
user?: {
|
|
753
749
|
id?: string | undefined;
|
|
754
750
|
user_id?: string | undefined;
|
|
@@ -768,8 +764,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
768
764
|
plan_type?: "free" | "gold" | undefined;
|
|
769
765
|
last_active?: string | undefined;
|
|
770
766
|
} | undefined;
|
|
771
|
-
parent?: Record<string, any> | undefined;
|
|
772
|
-
org_id?: string | undefined;
|
|
773
767
|
organization?: {
|
|
774
768
|
id?: string | undefined;
|
|
775
769
|
name?: string | undefined;
|
|
@@ -789,7 +783,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
789
783
|
actor_type_policy?: "any" | "verified_only" | "agents_only" | undefined;
|
|
790
784
|
source_policy?: "any" | "web_only" | "api_only" | undefined;
|
|
791
785
|
} | undefined;
|
|
792
|
-
team_id?: string | undefined;
|
|
793
786
|
team?: {
|
|
794
787
|
id?: string | undefined;
|
|
795
788
|
org_id?: string | undefined;
|
|
@@ -852,10 +845,21 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
852
845
|
}[] | undefined;
|
|
853
846
|
created_at?: string | undefined;
|
|
854
847
|
} | 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;
|
|
855
856
|
description?: {
|
|
856
857
|
json: Record<string, any>;
|
|
857
858
|
text: string;
|
|
858
859
|
} | 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;
|
|
859
863
|
parent_id?: string | null | undefined;
|
|
860
864
|
license_id?: string | undefined;
|
|
861
865
|
license?: Record<string, any> | undefined;
|
|
@@ -869,10 +873,6 @@ declare const CreateCommentSchema: z.ZodPipe<z.ZodObject<{
|
|
|
869
873
|
stripe_product_id?: string | null | undefined;
|
|
870
874
|
stripe_price_id?: string | null | undefined;
|
|
871
875
|
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";
|
|
1137
1136
|
queued: "queued";
|
|
1138
1137
|
"in-progress": "in-progress";
|
|
1139
1138
|
"timed-out": "timed-out";
|
|
1139
|
+
error: "error";
|
|
1140
1140
|
}>;
|
|
1141
1141
|
source: z.ZodEnum<{
|
|
1142
|
-
web: "web";
|
|
1143
1142
|
api: "api";
|
|
1143
|
+
web: "web";
|
|
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";
|
|
1341
1340
|
organization: "organization";
|
|
1342
1341
|
team: "team";
|
|
1343
1342
|
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";
|
|
1421
1420
|
queued: "queued";
|
|
1422
1421
|
"in-progress": "in-progress";
|
|
1423
1422
|
"timed-out": "timed-out";
|
|
1423
|
+
error: "error";
|
|
1424
1424
|
}>>;
|
|
1425
1425
|
source: z.ZodOptional<z.ZodEnum<{
|
|
1426
|
-
web: "web";
|
|
1427
1426
|
api: "api";
|
|
1427
|
+
web: "web";
|
|
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-GT7CSIDN.js';import'../chunk-WE6CXCEQ.js';import'../chunk-6OO4SOWL.js';import'../chunk-GX6RCMZR.js';import'../chunk-M5ZLLARC.js';import'../chunk-EIB2YGN3.js';import'../chunk-G6GCUGMM.js';import'../chunk-33C7IDRP.js';import'../chunk-DUBPWSCA.js';import'../chunk-42ADEGDM.js';//# sourceMappingURL=comments.js.map
|
|
2
2
|
//# sourceMappingURL=comments.js.map
|
package/dist/schema/common.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkYFEGRZXL_cjs=require('../chunk-YFEGRZXL.cjs');Object.defineProperty(exports,"AssetTypeSchema",{enumerable:true,get:function(){return chunkYFEGRZXL_cjs.a}});Object.defineProperty(exports,"ConnectionSchema",{enumerable:true,get:function(){return chunkYFEGRZXL_cjs.g}});Object.defineProperty(exports,"EmbeddingSchema",{enumerable:true,get:function(){return chunkYFEGRZXL_cjs.f}});Object.defineProperty(exports,"HttpMethodSchema",{enumerable:true,get:function(){return chunkYFEGRZXL_cjs.l}});Object.defineProperty(exports,"MonetizationSchema",{enumerable:true,get:function(){return chunkYFEGRZXL_cjs.d}});Object.defineProperty(exports,"PermissionSchema",{enumerable:true,get:function(){return chunkYFEGRZXL_cjs.i}});Object.defineProperty(exports,"PriceCurrencySchema",{enumerable:true,get:function(){return chunkYFEGRZXL_cjs.e}});Object.defineProperty(exports,"PurchaseAssetSchema",{enumerable:true,get:function(){return chunkYFEGRZXL_cjs.h}});Object.defineProperty(exports,"RoleSchema",{enumerable:true,get:function(){return chunkYFEGRZXL_cjs.c}});Object.defineProperty(exports,"SourceSchema",{enumerable:true,get:function(){return chunkYFEGRZXL_cjs.k}});Object.defineProperty(exports,"StatusSchema",{enumerable:true,get:function(){return chunkYFEGRZXL_cjs.j}});Object.defineProperty(exports,"VisibilitySchema",{enumerable:true,get:function(){return chunkYFEGRZXL_cjs.b}});//# sourceMappingURL=common.cjs.map
|
|
2
2
|
//# sourceMappingURL=common.cjs.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";
|
|
6
5
|
organization: "organization";
|
|
7
6
|
team: "team";
|
|
8
7
|
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";
|
|
47
46
|
organization: "organization";
|
|
48
47
|
team: "team";
|
|
49
48
|
dataset: "dataset";
|
|
49
|
+
file: "file";
|
|
50
50
|
service: "service";
|
|
51
51
|
route: "route";
|
|
52
52
|
post: "post";
|
|
@@ -70,16 +70,17 @@ declare const ConnectionSchema: z.ZodObject<{
|
|
|
70
70
|
component: "component";
|
|
71
71
|
link: "link";
|
|
72
72
|
completion: "completion";
|
|
73
|
+
evaluation: "evaluation";
|
|
73
74
|
}>;
|
|
74
75
|
action_id: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
75
76
|
source_id: z.ZodUUID;
|
|
76
77
|
target_id: z.ZodUUID;
|
|
77
78
|
source_asset_type: z.ZodEnum<{
|
|
78
79
|
user: "user";
|
|
79
|
-
file: "file";
|
|
80
80
|
organization: "organization";
|
|
81
81
|
team: "team";
|
|
82
82
|
dataset: "dataset";
|
|
83
|
+
file: "file";
|
|
83
84
|
service: "service";
|
|
84
85
|
route: "route";
|
|
85
86
|
post: "post";
|
|
@@ -89,10 +90,10 @@ declare const ConnectionSchema: z.ZodObject<{
|
|
|
89
90
|
}>;
|
|
90
91
|
target_asset_type: z.ZodEnum<{
|
|
91
92
|
user: "user";
|
|
92
|
-
file: "file";
|
|
93
93
|
organization: "organization";
|
|
94
94
|
team: "team";
|
|
95
95
|
dataset: "dataset";
|
|
96
|
+
file: "file";
|
|
96
97
|
service: "service";
|
|
97
98
|
route: "route";
|
|
98
99
|
post: "post";
|
|
@@ -106,15 +107,15 @@ declare const ConnectionSchema: z.ZodObject<{
|
|
|
106
107
|
declare const PurchaseAssetSchema: z.ZodObject<{
|
|
107
108
|
assetId: z.ZodUUID;
|
|
108
109
|
method: z.ZodEnum<{
|
|
109
|
-
api: "api";
|
|
110
110
|
checkout: "checkout";
|
|
111
|
+
api: "api";
|
|
111
112
|
}>;
|
|
112
113
|
assetType: z.ZodEnum<{
|
|
113
114
|
user: "user";
|
|
114
|
-
file: "file";
|
|
115
115
|
organization: "organization";
|
|
116
116
|
team: "team";
|
|
117
117
|
dataset: "dataset";
|
|
118
|
+
file: "file";
|
|
118
119
|
service: "service";
|
|
119
120
|
route: "route";
|
|
120
121
|
post: "post";
|
|
@@ -138,10 +139,10 @@ declare const PermissionSchema: z.ZodObject<{
|
|
|
138
139
|
org_id: z.ZodNullable<z.ZodUUID>;
|
|
139
140
|
asset_type: z.ZodEnum<{
|
|
140
141
|
user: "user";
|
|
141
|
-
file: "file";
|
|
142
142
|
organization: "organization";
|
|
143
143
|
team: "team";
|
|
144
144
|
dataset: "dataset";
|
|
145
|
+
file: "file";
|
|
145
146
|
service: "service";
|
|
146
147
|
route: "route";
|
|
147
148
|
post: "post";
|
|
@@ -155,14 +156,14 @@ declare const PermissionSchema: z.ZodObject<{
|
|
|
155
156
|
}, z.core.$strip>;
|
|
156
157
|
declare const StatusSchema: z.ZodEnum<{
|
|
157
158
|
success: "success";
|
|
158
|
-
error: "error";
|
|
159
159
|
queued: "queued";
|
|
160
160
|
"in-progress": "in-progress";
|
|
161
161
|
"timed-out": "timed-out";
|
|
162
|
+
error: "error";
|
|
162
163
|
}>;
|
|
163
164
|
declare const SourceSchema: z.ZodEnum<{
|
|
164
|
-
web: "web";
|
|
165
165
|
api: "api";
|
|
166
|
+
web: "web";
|
|
166
167
|
}>;
|
|
167
168
|
declare const HttpMethodSchema: z.ZodEnum<{
|
|
168
169
|
GET: "GET";
|