@ourofoundation/ouro-js 1.0.6 → 1.0.7

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.
@@ -106,7 +106,7 @@ declare const AssetSchema: z.ZodObject<{
106
106
  default_role?: "none" | "admin" | "read" | "write" | undefined;
107
107
  }>>;
108
108
  parent_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
109
- asset_type: z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
109
+ asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
110
110
  name: z.ZodString;
111
111
  name_url_slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
112
112
  slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -130,7 +130,7 @@ declare const AssetSchema: z.ZodObject<{
130
130
  visibility: "inherit" | "private" | "public" | "organization" | "monetized";
131
131
  user_id: string;
132
132
  org_id: string;
133
- asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
133
+ asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
134
134
  created_at: string;
135
135
  last_updated: string;
136
136
  team_id: string;
@@ -187,7 +187,7 @@ declare const AssetSchema: z.ZodObject<{
187
187
  visibility: "inherit" | "private" | "public" | "organization" | "monetized";
188
188
  user_id: string;
189
189
  org_id: string;
190
- asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
190
+ asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
191
191
  created_at: string;
192
192
  last_updated: string;
193
193
  team_id: string;
@@ -346,7 +346,7 @@ declare const CreateAssetSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
346
346
  default_role?: "none" | "admin" | "read" | "write" | undefined;
347
347
  }>>>;
348
348
  parent_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
349
- asset_type: z.ZodOptional<z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>>;
349
+ asset_type: z.ZodOptional<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>>;
350
350
  name: z.ZodOptional<z.ZodString>;
351
351
  name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
352
352
  slug: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
@@ -364,7 +364,7 @@ declare const CreateAssetSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
364
364
  state: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<["queued", "in-progress", "success", "error"]>>>>;
365
365
  created_at: z.ZodOptional<z.ZodString>;
366
366
  last_updated: z.ZodOptional<z.ZodString>;
367
- }, "user" | "organization" | "user_id" | "team" | "slug">, {
367
+ }, "user" | "organization" | "team" | "user_id" | "slug">, {
368
368
  id: z.ZodDefault<z.ZodString>;
369
369
  team_id: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
370
370
  org_id: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -385,7 +385,7 @@ declare const CreateAssetSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
385
385
  team_id: string | null;
386
386
  metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
387
387
  description?: string | null | undefined;
388
- asset_type?: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
388
+ asset_type?: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
389
389
  parent_id?: string | null | undefined;
390
390
  name_url_slug?: string | null | undefined;
391
391
  monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
@@ -404,7 +404,7 @@ declare const CreateAssetSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
404
404
  metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
405
405
  description?: string | null | undefined;
406
406
  org_id?: string | null | undefined;
407
- asset_type?: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
407
+ asset_type?: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
408
408
  created_at?: string | undefined;
409
409
  last_updated?: string | undefined;
410
410
  team_id?: string | null | undefined;
@@ -106,7 +106,7 @@ declare const BlueprintSchema: z.ZodObject<z.objectUtil.extendShape<{
106
106
  default_role?: "none" | "admin" | "read" | "write" | undefined;
107
107
  }>>;
108
108
  parent_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
109
- asset_type: z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
109
+ asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
110
110
  name: z.ZodString;
111
111
  name_url_slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
112
112
  slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -125,14 +125,14 @@ declare const BlueprintSchema: z.ZodObject<z.objectUtil.extendShape<{
125
125
  created_at: z.ZodString;
126
126
  last_updated: z.ZodString;
127
127
  }, {
128
- asset_type: z.ZodEffects<z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>, "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication", "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication">;
128
+ asset_type: z.ZodEffects<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>, "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication", "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication">;
129
129
  }>, "strip", z.ZodTypeAny, {
130
130
  id: string;
131
131
  name: string;
132
132
  visibility: "inherit" | "private" | "public" | "organization" | "monetized";
133
133
  user_id: string;
134
134
  org_id: string;
135
- asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
135
+ asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
136
136
  created_at: string;
137
137
  last_updated: string;
138
138
  team_id: string;
@@ -189,7 +189,7 @@ declare const BlueprintSchema: z.ZodObject<z.objectUtil.extendShape<{
189
189
  visibility: "inherit" | "private" | "public" | "organization" | "monetized";
190
190
  user_id: string;
191
191
  org_id: string;
192
- asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
192
+ asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
193
193
  created_at: string;
194
194
  last_updated: string;
195
195
  team_id: string;
@@ -348,7 +348,7 @@ declare const CreateBlueprintSchema: z.ZodObject<z.objectUtil.extendShape<{
348
348
  default_role?: "none" | "admin" | "read" | "write" | undefined;
349
349
  }>>>;
350
350
  parent_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
351
- asset_type: z.ZodOptional<z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>>;
351
+ asset_type: z.ZodOptional<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>>;
352
352
  name: z.ZodOptional<z.ZodString>;
353
353
  name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
354
354
  slug: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
@@ -420,10 +420,6 @@ declare const CreateBlueprintSchema: z.ZodObject<z.objectUtil.extendShape<{
420
420
  }[] | null | undefined;
421
421
  base_role?: "none" | "admin" | "read" | "write" | undefined;
422
422
  } | undefined;
423
- user_id?: string | undefined;
424
- asset_type?: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
425
- created_at?: string | undefined;
426
- last_updated?: string | undefined;
427
423
  team?: {
428
424
  id?: string | undefined;
429
425
  name?: string | undefined;
@@ -433,6 +429,10 @@ declare const CreateBlueprintSchema: z.ZodObject<z.objectUtil.extendShape<{
433
429
  created_at?: string | undefined;
434
430
  default_role?: "none" | "admin" | "read" | "write" | undefined;
435
431
  } | undefined;
432
+ user_id?: string | undefined;
433
+ asset_type?: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
434
+ created_at?: string | undefined;
435
+ last_updated?: string | undefined;
436
436
  parent_id?: string | null | undefined;
437
437
  slug?: string | null | undefined;
438
438
  monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
@@ -480,12 +480,6 @@ declare const CreateBlueprintSchema: z.ZodObject<z.objectUtil.extendShape<{
480
480
  }[] | null | undefined;
481
481
  base_role?: "none" | "admin" | "read" | "write" | undefined;
482
482
  } | undefined;
483
- user_id?: string | undefined;
484
- org_id?: string | undefined;
485
- asset_type?: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
486
- created_at?: string | undefined;
487
- last_updated?: string | undefined;
488
- team_id?: string | undefined;
489
483
  team?: {
490
484
  id?: string | undefined;
491
485
  name?: string | undefined;
@@ -495,6 +489,12 @@ declare const CreateBlueprintSchema: z.ZodObject<z.objectUtil.extendShape<{
495
489
  created_at?: string | undefined;
496
490
  default_role?: "none" | "admin" | "read" | "write" | undefined;
497
491
  } | undefined;
492
+ user_id?: string | undefined;
493
+ org_id?: string | undefined;
494
+ asset_type?: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
495
+ created_at?: string | undefined;
496
+ last_updated?: string | undefined;
497
+ team_id?: string | undefined;
498
498
  parent_id?: string | null | undefined;
499
499
  slug?: string | null | undefined;
500
500
  monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
@@ -106,7 +106,7 @@ declare const CommentSchema: z.ZodObject<z.objectUtil.extendShape<{
106
106
  default_role?: "none" | "admin" | "read" | "write" | undefined;
107
107
  }>>;
108
108
  parent_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
109
- asset_type: z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
109
+ asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
110
110
  name: z.ZodString;
111
111
  name_url_slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
112
112
  slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -233,7 +233,6 @@ declare const CommentSchema: z.ZodObject<z.objectUtil.extendShape<{
233
233
  }[] | null | undefined;
234
234
  base_role?: "none" | "admin" | "read" | "write" | undefined;
235
235
  } | undefined;
236
- asset_type?: "comment" | undefined;
237
236
  team?: {
238
237
  id?: string | undefined;
239
238
  name?: string | undefined;
@@ -243,6 +242,7 @@ declare const CommentSchema: z.ZodObject<z.objectUtil.extendShape<{
243
242
  created_at?: string | undefined;
244
243
  default_role?: "none" | "admin" | "read" | "write" | undefined;
245
244
  } | undefined;
245
+ asset_type?: "comment" | undefined;
246
246
  parent_id?: string | null | undefined;
247
247
  name_url_slug?: string | null | undefined;
248
248
  slug?: string | null | undefined;
@@ -431,8 +431,6 @@ declare const CreateCommentSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
431
431
  }[] | null | undefined;
432
432
  base_role?: "none" | "admin" | "read" | "write" | undefined;
433
433
  } | undefined;
434
- org_id?: string | undefined;
435
- team_id?: string | undefined;
436
434
  team?: {
437
435
  id?: string | undefined;
438
436
  name?: string | undefined;
@@ -442,6 +440,8 @@ declare const CreateCommentSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
442
440
  created_at?: string | undefined;
443
441
  default_role?: "none" | "admin" | "read" | "write" | undefined;
444
442
  } | undefined;
443
+ org_id?: string | undefined;
444
+ team_id?: string | undefined;
445
445
  parent_id?: string | null | undefined;
446
446
  name_url_slug?: string | null | undefined;
447
447
  slug?: string | null | undefined;
@@ -487,11 +487,6 @@ declare const CreateCommentSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
487
487
  }[] | null | undefined;
488
488
  base_role?: "none" | "admin" | "read" | "write" | undefined;
489
489
  } | undefined;
490
- org_id?: string | undefined;
491
- asset_type?: "comment" | undefined;
492
- created_at?: string | undefined;
493
- last_updated?: string | undefined;
494
- team_id?: string | undefined;
495
490
  team?: {
496
491
  id?: string | undefined;
497
492
  name?: string | undefined;
@@ -501,6 +496,11 @@ declare const CreateCommentSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
501
496
  created_at?: string | undefined;
502
497
  default_role?: "none" | "admin" | "read" | "write" | undefined;
503
498
  } | undefined;
499
+ org_id?: string | undefined;
500
+ asset_type?: "comment" | undefined;
501
+ created_at?: string | undefined;
502
+ last_updated?: string | undefined;
503
+ team_id?: string | undefined;
504
504
  parent_id?: string | null | undefined;
505
505
  name_url_slug?: string | null | undefined;
506
506
  slug?: string | null | undefined;
@@ -1,5 +1,5 @@
1
1
  import { z } from "zod";
2
- declare const AssetTypeSchema: z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
2
+ declare const AssetTypeSchema: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
3
3
  declare const VisibilitySchema: z.ZodEnum<["public", "private", "organization", "monetized", "inherit"]>;
4
4
  declare const RoleSchema: z.ZodEnum<["admin", "read", "write", "none"]>;
5
5
  declare const MonetizationSchema: z.ZodEnum<["none", "pay-to-unlock", "pay-per-use"]>;
@@ -9,7 +9,7 @@ declare const EmbeddingSchema: z.ZodObject<{
9
9
  org_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
10
  embedding: z.ZodArray<z.ZodNumber, "many">;
11
11
  content: z.ZodString;
12
- asset_type: z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
12
+ asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
13
13
  asset_id: z.ZodString;
14
14
  metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>>;
15
15
  created_at: z.ZodString;
@@ -19,7 +19,7 @@ declare const EmbeddingSchema: z.ZodObject<{
19
19
  content: string;
20
20
  user_id: string;
21
21
  embedding: number[];
22
- asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
22
+ asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
23
23
  asset_id: string;
24
24
  created_at: string;
25
25
  last_updated: string;
@@ -30,7 +30,7 @@ declare const EmbeddingSchema: z.ZodObject<{
30
30
  content: string;
31
31
  user_id: string;
32
32
  embedding: number[];
33
- asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
33
+ asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
34
34
  asset_id: string;
35
35
  created_at: string;
36
36
  last_updated: string;
@@ -44,8 +44,8 @@ declare const ConnectionSchema: z.ZodObject<{
44
44
  action_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
45
45
  source_id: z.ZodString;
46
46
  target_id: z.ZodString;
47
- source_asset_type: z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
48
- target_asset_type: z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
47
+ source_asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
48
+ target_asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
49
49
  created_at: z.ZodString;
50
50
  last_updated: z.ZodString;
51
51
  }, "strip", z.ZodTypeAny, {
@@ -56,8 +56,8 @@ declare const ConnectionSchema: z.ZodObject<{
56
56
  last_updated: string;
57
57
  source_id: string;
58
58
  target_id: string;
59
- source_asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
60
- target_asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
59
+ source_asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
60
+ target_asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
61
61
  action_id?: string | null | undefined;
62
62
  }, {
63
63
  type: "action" | "comment" | "reference" | "mention" | "component";
@@ -67,22 +67,22 @@ declare const ConnectionSchema: z.ZodObject<{
67
67
  last_updated: string;
68
68
  source_id: string;
69
69
  target_id: string;
70
- source_asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
71
- target_asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
70
+ source_asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
71
+ target_asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
72
72
  action_id?: string | null | undefined;
73
73
  }>;
74
74
  declare const PurchaseAssetSchema: z.ZodObject<{
75
75
  assetId: z.ZodString;
76
76
  method: z.ZodEnum<["checkout", "api"]>;
77
- assetType: z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
77
+ assetType: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
78
78
  }, "strip", z.ZodTypeAny, {
79
79
  method: "checkout" | "api";
80
80
  assetId: string;
81
- assetType: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
81
+ assetType: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
82
82
  }, {
83
83
  method: "checkout" | "api";
84
84
  assetId: string;
85
- assetType: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
85
+ assetType: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
86
86
  }>;
87
87
  declare const PermissionSchema: z.ZodObject<{
88
88
  role: z.ZodEnum<["admin", "read", "write", "none"]>;
@@ -3,9 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.StatusSchema = exports.PermissionSchema = exports.PurchaseAssetSchema = exports.AssetTypeSchema = exports.EmbeddingSchema = exports.ConnectionSchema = exports.MonetizationSchema = exports.VisibilitySchema = exports.RoleSchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const AssetTypeSchema = zod_1.z.enum([
6
- // "user",
7
- // "organization",
8
- // "team",
6
+ "user",
7
+ "organization",
8
+ "team",
9
9
  "dataset",
10
10
  "file",
11
11
  "service",
@@ -1 +1 @@
1
- {"version":3,"file":"common.js","sourceRoot":"","sources":["../../src/schema/common.ts"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"common.js","sourceRoot":"","sources":["../../src/schema/common.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,MAAM,eAAe,GAAG,OAAC,CAAC,IAAI,CAAC;IAC7B,MAAM;IACN,cAAc;IACd,MAAM;IACN,SAAS;IACT,MAAM;IACN,SAAS;IACT,OAAO;IACP,MAAM;IACN,SAAS;IACT,cAAc;IACd,WAAW;IACX,aAAa;CACd,CAAC,CAAC;AA+ED,0CAAe;AA7EjB,MAAM,gBAAgB,GAAG,OAAC,CAAC,IAAI,CAAC;IAC9B,QAAQ;IACR,SAAS;IACT,cAAc;IACd,WAAW;IACX,SAAS;CACV,CAAC,CAAC;AAmED,4CAAgB;AAjElB,MAAM,UAAU,GAAG,OAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC;AAgE5D,gCAAU;AA9DZ,MAAM,kBAAkB,GAAG,OAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,eAAe,EAAE,aAAa,CAAC,CAAC,CAAC;AAgE1E,gDAAkB;AA9DpB,MAAM,eAAe,GAAG,OAAC,CAAC,MAAM,CAAC;IAC/B,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE;IACd,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE;IACnB,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IACxC,SAAS,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;IAC9B,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE;IACnB,UAAU,EAAE,eAAe;IAC3B,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE;IACpB,QAAQ,EAAE,OAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,WAAW,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC1D,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE;IACtB,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE;CACzB,CAAC,CAAC;AAqDD,0CAAe;AAnDjB,MAAM,oBAAoB,GAAG,OAAC,CAAC,IAAI,CAAC;IAClC,SAAS;IACT,WAAW;IACX,SAAS;IACT,QAAQ;IACR,WAAW;CACZ,CAAC,CAAC;AAEH,MAAM,gBAAgB,GAAG,OAAC,CAAC,MAAM,CAAC;IAChC,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACrB,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC1B,IAAI,EAAE,oBAAoB;IAC1B,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAClD,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC5B,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC5B,iBAAiB,EAAE,eAAe;IAClC,iBAAiB,EAAE,eAAe;IAClC,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE;IACtB,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE;CACzB,CAAC,CAAC;AA+BD,4CAAgB;AA7BlB,MAAM,mBAAmB,GAAG,OAAC,CAAC,MAAM,CAAC;IACnC,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC1B,MAAM,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,KAAK,CAAC,CAAC;IACnC,SAAS,EAAE,eAAe;CAC3B,CAAC,CAAC;AA4BD,kDAAmB;AA1BrB,MAAM,gBAAgB,GAAG,OAAC,CAAC,MAAM,CAAC;IAChC,IAAI,EAAE,UAAU;IAChB,IAAI,EAAE,OAAC,CAAC,MAAM,CAAC;QACb,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;KAC3B,CAAC;CACH,CAAC,CAAC;AAsBD,4CAAgB;AApBlB,MAAM,YAAY,GAAG,OAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,aAAa,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC;AAqBzE,oCAAY"}
@@ -106,7 +106,7 @@ declare const ConversationSchema: z.ZodObject<z.objectUtil.extendShape<{
106
106
  default_role?: "none" | "admin" | "read" | "write" | undefined;
107
107
  }>>;
108
108
  parent_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
109
- asset_type: z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
109
+ asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
110
110
  name: z.ZodString;
111
111
  name_url_slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
112
112
  slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -132,7 +132,7 @@ declare const ConversationSchema: z.ZodObject<z.objectUtil.extendShape<{
132
132
  }, {
133
133
  members: string[];
134
134
  }>;
135
- asset_type: z.ZodDefault<z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>>;
135
+ asset_type: z.ZodDefault<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>>;
136
136
  }>, "strip", z.ZodTypeAny, {
137
137
  id: string;
138
138
  name: string;
@@ -142,7 +142,7 @@ declare const ConversationSchema: z.ZodObject<z.objectUtil.extendShape<{
142
142
  };
143
143
  user_id: string;
144
144
  org_id: string;
145
- asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
145
+ asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
146
146
  created_at: string;
147
147
  last_updated: string;
148
148
  team_id: string;
@@ -231,7 +231,6 @@ declare const ConversationSchema: z.ZodObject<z.objectUtil.extendShape<{
231
231
  }[] | null | undefined;
232
232
  base_role?: "none" | "admin" | "read" | "write" | undefined;
233
233
  } | undefined;
234
- asset_type?: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
235
234
  team?: {
236
235
  id?: string | undefined;
237
236
  name?: string | undefined;
@@ -241,6 +240,7 @@ declare const ConversationSchema: z.ZodObject<z.objectUtil.extendShape<{
241
240
  created_at?: string | undefined;
242
241
  default_role?: "none" | "admin" | "read" | "write" | undefined;
243
242
  } | undefined;
243
+ asset_type?: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
244
244
  parent_id?: string | null | undefined;
245
245
  name_url_slug?: string | null | undefined;
246
246
  slug?: string | null | undefined;
@@ -359,7 +359,7 @@ declare const CreateConversationSchema: z.ZodObject<z.objectUtil.extendShape<Omi
359
359
  default_role?: "none" | "admin" | "read" | "write" | undefined;
360
360
  }>>;
361
361
  parent_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
362
- asset_type: z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
362
+ asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
363
363
  name: z.ZodString;
364
364
  name_url_slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
365
365
  slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -385,7 +385,7 @@ declare const CreateConversationSchema: z.ZodObject<z.objectUtil.extendShape<Omi
385
385
  }, {
386
386
  members: string[];
387
387
  }>;
388
- asset_type: z.ZodDefault<z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>>;
388
+ asset_type: z.ZodDefault<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>>;
389
389
  }>, "user_id" | "org_id" | "created_at" | "last_updated" | "team_id">, {
390
390
  id: z.ZodDefault<z.ZodString>;
391
391
  org_id: z.ZodDefault<z.ZodString>;
@@ -400,7 +400,7 @@ declare const CreateConversationSchema: z.ZodObject<z.objectUtil.extendShape<Omi
400
400
  members: string[];
401
401
  };
402
402
  org_id: string;
403
- asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
403
+ asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
404
404
  team_id: string;
405
405
  monetization: "none" | "pay-to-unlock" | "pay-per-use";
406
406
  state?: "error" | "in-progress" | "success" | "queued" | null | undefined;
@@ -481,9 +481,6 @@ declare const CreateConversationSchema: z.ZodObject<z.objectUtil.extendShape<Omi
481
481
  }[] | null | undefined;
482
482
  base_role?: "none" | "admin" | "read" | "write" | undefined;
483
483
  } | undefined;
484
- org_id?: string | undefined;
485
- asset_type?: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
486
- team_id?: string | undefined;
487
484
  team?: {
488
485
  id?: string | undefined;
489
486
  name?: string | undefined;
@@ -493,6 +490,9 @@ declare const CreateConversationSchema: z.ZodObject<z.objectUtil.extendShape<Omi
493
490
  created_at?: string | undefined;
494
491
  default_role?: "none" | "admin" | "read" | "write" | undefined;
495
492
  } | undefined;
493
+ org_id?: string | undefined;
494
+ asset_type?: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
495
+ team_id?: string | undefined;
496
496
  parent_id?: string | null | undefined;
497
497
  name_url_slug?: string | null | undefined;
498
498
  slug?: string | null | undefined;
@@ -558,7 +558,7 @@ declare const UpdateConversationSchema: z.ZodObject<{
558
558
  }[] | null | undefined;
559
559
  base_role?: "none" | "admin" | "read" | "write" | undefined;
560
560
  }>>>;
561
- asset_type: z.ZodOptional<z.ZodDefault<z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>>>;
561
+ asset_type: z.ZodOptional<z.ZodDefault<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>>>;
562
562
  parent_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
563
563
  name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
564
564
  slug: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
@@ -591,7 +591,7 @@ declare const UpdateConversationSchema: z.ZodObject<{
591
591
  }[] | null | undefined;
592
592
  base_role?: "none" | "admin" | "read" | "write" | undefined;
593
593
  } | undefined;
594
- asset_type?: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
594
+ asset_type?: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
595
595
  parent_id?: string | null | undefined;
596
596
  name_url_slug?: string | null | undefined;
597
597
  slug?: string | null | undefined;
@@ -624,7 +624,7 @@ declare const UpdateConversationSchema: z.ZodObject<{
624
624
  }[] | null | undefined;
625
625
  base_role?: "none" | "admin" | "read" | "write" | undefined;
626
626
  } | undefined;
627
- asset_type?: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
627
+ asset_type?: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
628
628
  parent_id?: string | null | undefined;
629
629
  name_url_slug?: string | null | undefined;
630
630
  slug?: string | null | undefined;
@@ -106,7 +106,7 @@ declare const DatasetSchema: z.ZodObject<z.objectUtil.extendShape<{
106
106
  default_role?: "none" | "admin" | "read" | "write" | undefined;
107
107
  }>>;
108
108
  parent_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
109
- asset_type: z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
109
+ asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
110
110
  name: z.ZodString;
111
111
  name_url_slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
112
112
  slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -274,7 +274,6 @@ declare const DatasetSchema: z.ZodObject<z.objectUtil.extendShape<{
274
274
  }[] | null | undefined;
275
275
  base_role?: "none" | "admin" | "read" | "write" | undefined;
276
276
  } | undefined;
277
- asset_type?: "dataset" | undefined;
278
277
  team?: {
279
278
  id?: string | undefined;
280
279
  name?: string | undefined;
@@ -284,6 +283,7 @@ declare const DatasetSchema: z.ZodObject<z.objectUtil.extendShape<{
284
283
  created_at?: string | undefined;
285
284
  default_role?: "none" | "admin" | "read" | "write" | undefined;
286
285
  } | undefined;
286
+ asset_type?: "dataset" | undefined;
287
287
  parent_id?: string | null | undefined;
288
288
  name_url_slug?: string | null | undefined;
289
289
  slug?: string | null | undefined;
@@ -401,7 +401,7 @@ declare const CreateDatasetFromFileSchema: z.ZodObject<z.objectUtil.extendShape<
401
401
  default_role?: "none" | "admin" | "read" | "write" | undefined;
402
402
  }>>>;
403
403
  parent_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
404
- asset_type: z.ZodOptional<z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>>;
404
+ asset_type: z.ZodOptional<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>>;
405
405
  name: z.ZodOptional<z.ZodString>;
406
406
  name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
407
407
  slug: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
@@ -419,7 +419,7 @@ declare const CreateDatasetFromFileSchema: z.ZodObject<z.objectUtil.extendShape<
419
419
  state: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<["queued", "in-progress", "success", "error"]>>>>;
420
420
  created_at: z.ZodOptional<z.ZodString>;
421
421
  last_updated: z.ZodOptional<z.ZodString>;
422
- }, "user" | "organization" | "user_id" | "team" | "slug">, {
422
+ }, "user" | "organization" | "team" | "user_id" | "slug">, {
423
423
  id: z.ZodDefault<z.ZodString>;
424
424
  team_id: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
425
425
  org_id: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -636,7 +636,7 @@ declare const CreateDatasetFromSchemaSchema: z.ZodObject<z.objectUtil.extendShap
636
636
  default_role?: "none" | "admin" | "read" | "write" | undefined;
637
637
  }>>>;
638
638
  parent_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
639
- asset_type: z.ZodOptional<z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>>;
639
+ asset_type: z.ZodOptional<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>>;
640
640
  name: z.ZodOptional<z.ZodString>;
641
641
  name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
642
642
  slug: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
@@ -654,7 +654,7 @@ declare const CreateDatasetFromSchemaSchema: z.ZodObject<z.objectUtil.extendShap
654
654
  state: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<["queued", "in-progress", "success", "error"]>>>>;
655
655
  created_at: z.ZodOptional<z.ZodString>;
656
656
  last_updated: z.ZodOptional<z.ZodString>;
657
- }, "user" | "organization" | "user_id" | "team" | "slug">, {
657
+ }, "user" | "organization" | "team" | "user_id" | "slug">, {
658
658
  id: z.ZodDefault<z.ZodString>;
659
659
  team_id: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
660
660
  org_id: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -934,8 +934,6 @@ declare const updateDatasetSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
934
934
  }[] | null | undefined;
935
935
  base_role?: "none" | "admin" | "read" | "write" | undefined;
936
936
  } | undefined;
937
- org_id?: string | undefined;
938
- team_id?: string | undefined;
939
937
  team?: {
940
938
  id?: string | undefined;
941
939
  name?: string | undefined;
@@ -945,6 +943,8 @@ declare const updateDatasetSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
945
943
  created_at?: string | undefined;
946
944
  default_role?: "none" | "admin" | "read" | "write" | undefined;
947
945
  } | undefined;
946
+ org_id?: string | undefined;
947
+ team_id?: string | undefined;
948
948
  parent_id?: string | null | undefined;
949
949
  name_url_slug?: string | null | undefined;
950
950
  slug?: string | null | undefined;
@@ -996,10 +996,6 @@ declare const updateDatasetSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
996
996
  }[] | null | undefined;
997
997
  base_role?: "none" | "admin" | "read" | "write" | undefined;
998
998
  } | undefined;
999
- org_id?: string | undefined;
1000
- asset_type?: "dataset" | undefined;
1001
- last_updated?: string | undefined;
1002
- team_id?: string | undefined;
1003
999
  team?: {
1004
1000
  id?: string | undefined;
1005
1001
  name?: string | undefined;
@@ -1009,6 +1005,10 @@ declare const updateDatasetSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
1009
1005
  created_at?: string | undefined;
1010
1006
  default_role?: "none" | "admin" | "read" | "write" | undefined;
1011
1007
  } | undefined;
1008
+ org_id?: string | undefined;
1009
+ asset_type?: "dataset" | undefined;
1010
+ last_updated?: string | undefined;
1011
+ team_id?: string | undefined;
1012
1012
  parent_id?: string | null | undefined;
1013
1013
  name_url_slug?: string | null | undefined;
1014
1014
  slug?: string | null | undefined;
@@ -106,7 +106,7 @@ declare const FileSchema: z.ZodObject<z.objectUtil.extendShape<{
106
106
  default_role?: "none" | "admin" | "read" | "write" | undefined;
107
107
  }>>;
108
108
  parent_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
109
- asset_type: z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
109
+ asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
110
110
  name: z.ZodString;
111
111
  name_url_slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
112
112
  slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -266,7 +266,6 @@ declare const FileSchema: z.ZodObject<z.objectUtil.extendShape<{
266
266
  }[] | null | undefined;
267
267
  base_role?: "none" | "admin" | "read" | "write" | undefined;
268
268
  } | undefined;
269
- asset_type?: "file" | undefined;
270
269
  team?: {
271
270
  id?: string | undefined;
272
271
  name?: string | undefined;
@@ -276,6 +275,7 @@ declare const FileSchema: z.ZodObject<z.objectUtil.extendShape<{
276
275
  created_at?: string | undefined;
277
276
  default_role?: "none" | "admin" | "read" | "write" | undefined;
278
277
  } | undefined;
278
+ asset_type?: "file" | undefined;
279
279
  parent_id?: string | null | undefined;
280
280
  name_url_slug?: string | null | undefined;
281
281
  slug?: string | null | undefined;
@@ -394,7 +394,7 @@ declare const CreateFileSchema: z.ZodDiscriminatedUnion<"state", [z.ZodObject<z.
394
394
  default_role?: "none" | "admin" | "read" | "write" | undefined;
395
395
  }>>>;
396
396
  parent_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
397
- asset_type: z.ZodOptional<z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>>;
397
+ asset_type: z.ZodOptional<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>>;
398
398
  name: z.ZodOptional<z.ZodString>;
399
399
  name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
400
400
  slug: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
@@ -412,7 +412,7 @@ declare const CreateFileSchema: z.ZodDiscriminatedUnion<"state", [z.ZodObject<z.
412
412
  state: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<["queued", "in-progress", "success", "error"]>>>>;
413
413
  created_at: z.ZodOptional<z.ZodString>;
414
414
  last_updated: z.ZodOptional<z.ZodString>;
415
- }, "user" | "organization" | "user_id" | "team" | "slug">, {
415
+ }, "user" | "organization" | "team" | "user_id" | "slug">, {
416
416
  id: z.ZodDefault<z.ZodString>;
417
417
  team_id: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
418
418
  org_id: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -622,7 +622,7 @@ declare const CreateFileSchema: z.ZodDiscriminatedUnion<"state", [z.ZodObject<z.
622
622
  default_role?: "none" | "admin" | "read" | "write" | undefined;
623
623
  }>>>;
624
624
  parent_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
625
- asset_type: z.ZodOptional<z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>>;
625
+ asset_type: z.ZodOptional<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>>;
626
626
  name: z.ZodOptional<z.ZodString>;
627
627
  name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
628
628
  slug: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
@@ -640,7 +640,7 @@ declare const CreateFileSchema: z.ZodDiscriminatedUnion<"state", [z.ZodObject<z.
640
640
  state: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<["queued", "in-progress", "success", "error"]>>>>;
641
641
  created_at: z.ZodOptional<z.ZodString>;
642
642
  last_updated: z.ZodOptional<z.ZodString>;
643
- }, "user" | "organization" | "user_id" | "team" | "slug">, {
643
+ }, "user" | "organization" | "team" | "user_id" | "slug">, {
644
644
  id: z.ZodDefault<z.ZodString>;
645
645
  team_id: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
646
646
  org_id: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -903,9 +903,6 @@ declare const updateFileSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
903
903
  }[] | null | undefined;
904
904
  base_role?: "none" | "admin" | "read" | "write" | undefined;
905
905
  } | undefined;
906
- org_id?: string | undefined;
907
- asset_type?: "file" | undefined;
908
- team_id?: string | undefined;
909
906
  team?: {
910
907
  id?: string | undefined;
911
908
  name?: string | undefined;
@@ -915,6 +912,9 @@ declare const updateFileSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
915
912
  created_at?: string | undefined;
916
913
  default_role?: "none" | "admin" | "read" | "write" | undefined;
917
914
  } | undefined;
915
+ org_id?: string | undefined;
916
+ asset_type?: "file" | undefined;
917
+ team_id?: string | undefined;
918
918
  parent_id?: string | null | undefined;
919
919
  name_url_slug?: string | null | undefined;
920
920
  slug?: string | null | undefined;
@@ -965,10 +965,6 @@ declare const updateFileSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
965
965
  }[] | null | undefined;
966
966
  base_role?: "none" | "admin" | "read" | "write" | undefined;
967
967
  } | undefined;
968
- org_id?: string | undefined;
969
- asset_type?: "file" | undefined;
970
- last_updated?: string | undefined;
971
- team_id?: string | undefined;
972
968
  team?: {
973
969
  id?: string | undefined;
974
970
  name?: string | undefined;
@@ -978,6 +974,10 @@ declare const updateFileSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
978
974
  created_at?: string | undefined;
979
975
  default_role?: "none" | "admin" | "read" | "write" | undefined;
980
976
  } | undefined;
977
+ org_id?: string | undefined;
978
+ asset_type?: "file" | undefined;
979
+ last_updated?: string | undefined;
980
+ team_id?: string | undefined;
981
981
  parent_id?: string | null | undefined;
982
982
  name_url_slug?: string | null | undefined;
983
983
  slug?: string | null | undefined;
@@ -10,13 +10,13 @@ declare const NotificationSchema: z.ZodObject<{
10
10
  text: z.ZodOptional<z.ZodString>;
11
11
  asset: z.ZodOptional<z.ZodObject<{
12
12
  assetId: z.ZodString;
13
- assetType: z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
13
+ assetType: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
14
14
  }, "strip", z.ZodTypeAny, {
15
15
  assetId: string;
16
- assetType: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
16
+ assetType: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
17
17
  }, {
18
18
  assetId: string;
19
- assetType: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
19
+ assetType: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
20
20
  }>>;
21
21
  mention: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
22
22
  event: z.ZodOptional<z.ZodObject<{
@@ -34,7 +34,7 @@ declare const NotificationSchema: z.ZodObject<{
34
34
  mention?: {} | undefined;
35
35
  asset?: {
36
36
  assetId: string;
37
- assetType: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
37
+ assetType: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
38
38
  } | undefined;
39
39
  }, {
40
40
  text?: string | undefined;
@@ -44,7 +44,7 @@ declare const NotificationSchema: z.ZodObject<{
44
44
  mention?: {} | undefined;
45
45
  asset?: {
46
46
  assetId: string;
47
- assetType: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
47
+ assetType: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
48
48
  } | undefined;
49
49
  }>;
50
50
  viewed: z.ZodBoolean;
@@ -61,7 +61,7 @@ declare const NotificationSchema: z.ZodObject<{
61
61
  mention?: {} | undefined;
62
62
  asset?: {
63
63
  assetId: string;
64
- assetType: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
64
+ assetType: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
65
65
  } | undefined;
66
66
  };
67
67
  org_id: string;
@@ -82,7 +82,7 @@ declare const NotificationSchema: z.ZodObject<{
82
82
  mention?: {} | undefined;
83
83
  asset?: {
84
84
  assetId: string;
85
- assetType: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
85
+ assetType: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
86
86
  } | undefined;
87
87
  };
88
88
  org_id: string;
@@ -177,7 +177,7 @@ declare const PostSchema: z.ZodObject<z.objectUtil.extendShape<{
177
177
  default_role?: "none" | "admin" | "read" | "write" | undefined;
178
178
  }>>;
179
179
  parent_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
180
- asset_type: z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
180
+ asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
181
181
  name: z.ZodString;
182
182
  name_url_slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
183
183
  slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -197,7 +197,7 @@ declare const PostSchema: z.ZodObject<z.objectUtil.extendShape<{
197
197
  last_updated: z.ZodString;
198
198
  }, {
199
199
  name: z.ZodNullable<z.ZodString>;
200
- asset_type: z.ZodEffects<z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>, "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication", "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication">;
200
+ asset_type: z.ZodEffects<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>, "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication", "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication">;
201
201
  preview: z.ZodDefault<z.ZodObject<{
202
202
  type: z.ZodLiteral<"doc">;
203
203
  content: z.ZodArray<z.ZodObject<{
@@ -285,7 +285,7 @@ declare const PostSchema: z.ZodObject<z.objectUtil.extendShape<{
285
285
  visibility: "inherit" | "private" | "public" | "organization" | "monetized";
286
286
  user_id: string;
287
287
  org_id: string;
288
- asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
288
+ asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
289
289
  created_at: string;
290
290
  last_updated: string;
291
291
  team_id: string;
@@ -348,7 +348,7 @@ declare const PostSchema: z.ZodObject<z.objectUtil.extendShape<{
348
348
  visibility: "inherit" | "private" | "public" | "organization" | "monetized";
349
349
  user_id: string;
350
350
  org_id: string;
351
- asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
351
+ asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
352
352
  created_at: string;
353
353
  last_updated: string;
354
354
  team_id: string;
@@ -523,7 +523,7 @@ declare const CreatePostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUti
523
523
  default_role?: "none" | "admin" | "read" | "write" | undefined;
524
524
  }>>>;
525
525
  parent_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
526
- asset_type: z.ZodOptional<z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>>;
526
+ asset_type: z.ZodOptional<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>>;
527
527
  name: z.ZodOptional<z.ZodString>;
528
528
  name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
529
529
  slug: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
@@ -541,7 +541,7 @@ declare const CreatePostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUti
541
541
  state: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<["queued", "in-progress", "success", "error"]>>>>;
542
542
  created_at: z.ZodOptional<z.ZodString>;
543
543
  last_updated: z.ZodOptional<z.ZodString>;
544
- }, "user" | "organization" | "user_id" | "team" | "slug">, {
544
+ }, "user" | "organization" | "team" | "user_id" | "slug">, {
545
545
  id: z.ZodDefault<z.ZodString>;
546
546
  team_id: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
547
547
  org_id: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -743,7 +743,7 @@ declare const ReadPostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
743
743
  default_role?: "none" | "admin" | "read" | "write" | undefined;
744
744
  }>>;
745
745
  parent_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
746
- asset_type: z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
746
+ asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
747
747
  name: z.ZodString;
748
748
  name_url_slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
749
749
  slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -763,7 +763,7 @@ declare const ReadPostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
763
763
  last_updated: z.ZodString;
764
764
  }, {
765
765
  name: z.ZodNullable<z.ZodString>;
766
- asset_type: z.ZodEffects<z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>, "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication", "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication">;
766
+ asset_type: z.ZodEffects<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>, "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication", "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication">;
767
767
  preview: z.ZodDefault<z.ZodObject<{
768
768
  type: z.ZodLiteral<"doc">;
769
769
  content: z.ZodArray<z.ZodObject<{
@@ -892,8 +892,8 @@ declare const ReadPostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
892
892
  action_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
893
893
  source_id: z.ZodString;
894
894
  target_id: z.ZodString;
895
- source_asset_type: z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
896
- target_asset_type: z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
895
+ source_asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
896
+ target_asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
897
897
  created_at: z.ZodString;
898
898
  last_updated: z.ZodString;
899
899
  }, "strip", z.ZodTypeAny, {
@@ -904,8 +904,8 @@ declare const ReadPostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
904
904
  last_updated: string;
905
905
  source_id: string;
906
906
  target_id: string;
907
- source_asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
908
- target_asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
907
+ source_asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
908
+ target_asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
909
909
  action_id?: string | null | undefined;
910
910
  }, {
911
911
  type: "action" | "comment" | "reference" | "mention" | "component";
@@ -915,8 +915,8 @@ declare const ReadPostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
915
915
  last_updated: string;
916
916
  source_id: string;
917
917
  target_id: string;
918
- source_asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
919
- target_asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
918
+ source_asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
919
+ target_asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
920
920
  action_id?: string | null | undefined;
921
921
  }>>>;
922
922
  pinned: z.ZodDefault<z.ZodBoolean>;
@@ -936,7 +936,7 @@ declare const ReadPostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
936
936
  visibility: "inherit" | "private" | "public" | "organization" | "monetized";
937
937
  user_id: string;
938
938
  org_id: string;
939
- asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
939
+ asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
940
940
  created_at: string;
941
941
  last_updated: string;
942
942
  team_id: string;
@@ -963,8 +963,8 @@ declare const ReadPostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
963
963
  last_updated: string;
964
964
  source_id: string;
965
965
  target_id: string;
966
- source_asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
967
- target_asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
966
+ source_asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
967
+ target_asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
968
968
  action_id?: string | null | undefined;
969
969
  } | null | undefined;
970
970
  user?: {
@@ -1015,7 +1015,7 @@ declare const ReadPostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
1015
1015
  visibility: "inherit" | "private" | "public" | "organization" | "monetized";
1016
1016
  user_id: string;
1017
1017
  org_id: string;
1018
- asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1018
+ asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1019
1019
  created_at: string;
1020
1020
  last_updated: string;
1021
1021
  team_id: string;
@@ -1041,8 +1041,8 @@ declare const ReadPostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
1041
1041
  last_updated: string;
1042
1042
  source_id: string;
1043
1043
  target_id: string;
1044
- source_asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1045
- target_asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1044
+ source_asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1045
+ target_asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1046
1046
  action_id?: string | null | undefined;
1047
1047
  } | null | undefined;
1048
1048
  user?: {
@@ -1206,7 +1206,7 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z
1206
1206
  default_role?: "none" | "admin" | "read" | "write" | undefined;
1207
1207
  }>>;
1208
1208
  parent_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1209
- asset_type: z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
1209
+ asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
1210
1210
  name: z.ZodString;
1211
1211
  name_url_slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1212
1212
  slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -1226,7 +1226,7 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z
1226
1226
  last_updated: z.ZodString;
1227
1227
  }, {
1228
1228
  name: z.ZodNullable<z.ZodString>;
1229
- asset_type: z.ZodEffects<z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>, "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication", "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication">;
1229
+ asset_type: z.ZodEffects<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>, "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication", "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication">;
1230
1230
  preview: z.ZodDefault<z.ZodObject<{
1231
1231
  type: z.ZodLiteral<"doc">;
1232
1232
  content: z.ZodArray<z.ZodObject<{
@@ -1355,8 +1355,8 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z
1355
1355
  action_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1356
1356
  source_id: z.ZodString;
1357
1357
  target_id: z.ZodString;
1358
- source_asset_type: z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
1359
- target_asset_type: z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
1358
+ source_asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
1359
+ target_asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
1360
1360
  created_at: z.ZodString;
1361
1361
  last_updated: z.ZodString;
1362
1362
  }, "strip", z.ZodTypeAny, {
@@ -1367,8 +1367,8 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z
1367
1367
  last_updated: string;
1368
1368
  source_id: string;
1369
1369
  target_id: string;
1370
- source_asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1371
- target_asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1370
+ source_asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1371
+ target_asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1372
1372
  action_id?: string | null | undefined;
1373
1373
  }, {
1374
1374
  type: "action" | "comment" | "reference" | "mention" | "component";
@@ -1378,8 +1378,8 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z
1378
1378
  last_updated: string;
1379
1379
  source_id: string;
1380
1380
  target_id: string;
1381
- source_asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1382
- target_asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1381
+ source_asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1382
+ target_asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1383
1383
  action_id?: string | null | undefined;
1384
1384
  }>>>;
1385
1385
  pinned: z.ZodDefault<z.ZodBoolean>;
@@ -1399,7 +1399,7 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z
1399
1399
  visibility: "inherit" | "private" | "public" | "organization" | "monetized";
1400
1400
  user_id: string;
1401
1401
  org_id: string;
1402
- asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1402
+ asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1403
1403
  created_at: string;
1404
1404
  last_updated: string;
1405
1405
  team_id: string;
@@ -1426,8 +1426,8 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z
1426
1426
  last_updated: string;
1427
1427
  source_id: string;
1428
1428
  target_id: string;
1429
- source_asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1430
- target_asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1429
+ source_asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1430
+ target_asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1431
1431
  action_id?: string | null | undefined;
1432
1432
  } | null | undefined;
1433
1433
  user?: {
@@ -1478,7 +1478,7 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z
1478
1478
  visibility: "inherit" | "private" | "public" | "organization" | "monetized";
1479
1479
  user_id: string;
1480
1480
  org_id: string;
1481
- asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1481
+ asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1482
1482
  created_at: string;
1483
1483
  last_updated: string;
1484
1484
  team_id: string;
@@ -1504,8 +1504,8 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z
1504
1504
  last_updated: string;
1505
1505
  source_id: string;
1506
1506
  target_id: string;
1507
- source_asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1508
- target_asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1507
+ source_asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1508
+ target_asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1509
1509
  action_id?: string | null | undefined;
1510
1510
  } | null | undefined;
1511
1511
  user?: {
@@ -1669,7 +1669,7 @@ declare const ListPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1669
1669
  default_role?: "none" | "admin" | "read" | "write" | undefined;
1670
1670
  }>>;
1671
1671
  parent_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1672
- asset_type: z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
1672
+ asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
1673
1673
  name: z.ZodString;
1674
1674
  name_url_slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1675
1675
  slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -1689,7 +1689,7 @@ declare const ListPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1689
1689
  last_updated: z.ZodString;
1690
1690
  }, {
1691
1691
  name: z.ZodNullable<z.ZodString>;
1692
- asset_type: z.ZodEffects<z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>, "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication", "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication">;
1692
+ asset_type: z.ZodEffects<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>, "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication", "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication">;
1693
1693
  preview: z.ZodDefault<z.ZodObject<{
1694
1694
  type: z.ZodLiteral<"doc">;
1695
1695
  content: z.ZodArray<z.ZodObject<{
@@ -1777,7 +1777,7 @@ declare const ListPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1777
1777
  visibility: "inherit" | "private" | "public" | "organization" | "monetized";
1778
1778
  user_id: string;
1779
1779
  org_id: string;
1780
- asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1780
+ asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1781
1781
  created_at: string;
1782
1782
  last_updated: string;
1783
1783
  team_id: string;
@@ -1840,7 +1840,7 @@ declare const ListPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1840
1840
  visibility: "inherit" | "private" | "public" | "organization" | "monetized";
1841
1841
  user_id: string;
1842
1842
  org_id: string;
1843
- asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1843
+ asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1844
1844
  created_at: string;
1845
1845
  last_updated: string;
1846
1846
  team_id: string;
@@ -2015,7 +2015,7 @@ declare const UpdatePostSchema: z.ZodObject<z.objectUtil.extendShape<Omit<z.obje
2015
2015
  default_role?: "none" | "admin" | "read" | "write" | undefined;
2016
2016
  }>>>;
2017
2017
  parent_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
2018
- asset_type: z.ZodOptional<z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>>;
2018
+ asset_type: z.ZodOptional<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>>;
2019
2019
  name: z.ZodOptional<z.ZodString>;
2020
2020
  name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
2021
2021
  slug: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
@@ -2033,7 +2033,7 @@ declare const UpdatePostSchema: z.ZodObject<z.objectUtil.extendShape<Omit<z.obje
2033
2033
  state: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<["queued", "in-progress", "success", "error"]>>>>;
2034
2034
  created_at: z.ZodOptional<z.ZodString>;
2035
2035
  last_updated: z.ZodOptional<z.ZodString>;
2036
- }, "user" | "organization" | "user_id" | "team" | "slug">, {
2036
+ }, "user" | "organization" | "team" | "user_id" | "slug">, {
2037
2037
  id: z.ZodDefault<z.ZodString>;
2038
2038
  team_id: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
2039
2039
  org_id: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -106,7 +106,7 @@ declare const ReplicationSchema: z.ZodObject<z.objectUtil.extendShape<{
106
106
  default_role?: "none" | "admin" | "read" | "write" | undefined;
107
107
  }>>;
108
108
  parent_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
109
- asset_type: z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
109
+ asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
110
110
  name: z.ZodString;
111
111
  name_url_slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
112
112
  slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -125,7 +125,7 @@ declare const ReplicationSchema: z.ZodObject<z.objectUtil.extendShape<{
125
125
  created_at: z.ZodString;
126
126
  last_updated: z.ZodString;
127
127
  }, {
128
- asset_type: z.ZodEffects<z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>, "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication", "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication">;
128
+ asset_type: z.ZodEffects<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>, "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication", "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication">;
129
129
  metadata: z.ZodObject<{
130
130
  schedule: z.ZodOptional<z.ZodObject<{
131
131
  cron: z.ZodString;
@@ -164,7 +164,7 @@ declare const ReplicationSchema: z.ZodObject<z.objectUtil.extendShape<{
164
164
  };
165
165
  user_id: string;
166
166
  org_id: string;
167
- asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
167
+ asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
168
168
  created_at: string;
169
169
  last_updated: string;
170
170
  team_id: string;
@@ -227,7 +227,7 @@ declare const ReplicationSchema: z.ZodObject<z.objectUtil.extendShape<{
227
227
  };
228
228
  user_id: string;
229
229
  org_id: string;
230
- asset_type: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
230
+ asset_type: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
231
231
  created_at: string;
232
232
  last_updated: string;
233
233
  team_id: string;
@@ -401,7 +401,7 @@ declare const CreateReplicationSchema: z.ZodObject<z.objectUtil.extendShape<{
401
401
  state: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<["queued", "in-progress", "success", "error"]>>>>;
402
402
  created_at: z.ZodOptional<z.ZodString>;
403
403
  last_updated: z.ZodOptional<z.ZodString>;
404
- asset_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>, "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication", "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication">>;
404
+ asset_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>, "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication", "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication">>;
405
405
  metadata: z.ZodOptional<z.ZodObject<{
406
406
  schedule: z.ZodOptional<z.ZodObject<{
407
407
  cron: z.ZodString;
@@ -474,10 +474,6 @@ declare const CreateReplicationSchema: z.ZodObject<z.objectUtil.extendShape<{
474
474
  }[] | null | undefined;
475
475
  base_role?: "none" | "admin" | "read" | "write" | undefined;
476
476
  } | undefined;
477
- user_id?: string | undefined;
478
- asset_type?: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
479
- created_at?: string | undefined;
480
- last_updated?: string | undefined;
481
477
  team?: {
482
478
  id?: string | undefined;
483
479
  name?: string | undefined;
@@ -487,6 +483,10 @@ declare const CreateReplicationSchema: z.ZodObject<z.objectUtil.extendShape<{
487
483
  created_at?: string | undefined;
488
484
  default_role?: "none" | "admin" | "read" | "write" | undefined;
489
485
  } | undefined;
486
+ user_id?: string | undefined;
487
+ asset_type?: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
488
+ created_at?: string | undefined;
489
+ last_updated?: string | undefined;
490
490
  parent_id?: string | null | undefined;
491
491
  slug?: string | null | undefined;
492
492
  monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
@@ -537,12 +537,6 @@ declare const CreateReplicationSchema: z.ZodObject<z.objectUtil.extendShape<{
537
537
  }[] | null | undefined;
538
538
  base_role?: "none" | "admin" | "read" | "write" | undefined;
539
539
  } | undefined;
540
- user_id?: string | undefined;
541
- org_id?: string | undefined;
542
- asset_type?: "file" | "dataset" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
543
- created_at?: string | undefined;
544
- last_updated?: string | undefined;
545
- team_id?: string | undefined;
546
540
  team?: {
547
541
  id?: string | undefined;
548
542
  name?: string | undefined;
@@ -552,6 +546,12 @@ declare const CreateReplicationSchema: z.ZodObject<z.objectUtil.extendShape<{
552
546
  created_at?: string | undefined;
553
547
  default_role?: "none" | "admin" | "read" | "write" | undefined;
554
548
  } | undefined;
549
+ user_id?: string | undefined;
550
+ org_id?: string | undefined;
551
+ asset_type?: "file" | "dataset" | "user" | "organization" | "team" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
552
+ created_at?: string | undefined;
553
+ last_updated?: string | undefined;
554
+ team_id?: string | undefined;
555
555
  parent_id?: string | null | undefined;
556
556
  slug?: string | null | undefined;
557
557
  monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "@ourofoundation/ouro-js",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "Interact with the Ouro platform in browser and node.js environments",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "scripts": {
8
8
  "build": "tsc",
9
- "test": "echo \"Error: no test specified\" && exit 1"
9
+ "test": "echo \"Error: no test specified\" && exit 1",
10
+ "publish": "npm run build && npm publish"
10
11
  },
11
12
  "author": "ourofoundation",
12
13
  "license": "ISC",