@ourofoundation/ouro-js 2.0.9 → 2.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -4725,12 +4725,25 @@ declare const CreateFileSchema: z.ZodDiscriminatedUnion<"state", [z.ZodObject<z.
4725
4725
  }>, {
4726
4726
  asset_type: z.ZodDefault<z.ZodLiteral<"file">>;
4727
4727
  state: z.ZodDefault<z.ZodLiteral<"in-progress">>;
4728
- metadata: z.ZodObject<{
4728
+ metadata: z.ZodObject<z.objectUtil.extendShape<{
4729
4729
  type: z.ZodString;
4730
- }, "strip", z.ZodTypeAny, {
4730
+ }, {
4731
+ doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4732
+ external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4733
+ originality: z.ZodOptional<z.ZodEnum<["original", "derivative", "third-party"]>>;
4734
+ source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4735
+ }>, "strip", z.ZodTypeAny, {
4731
4736
  type: string;
4737
+ doi_url?: string | null | undefined;
4738
+ external_url?: string | null | undefined;
4739
+ originality?: "original" | "derivative" | "third-party" | undefined;
4740
+ source?: string | null | undefined;
4732
4741
  }, {
4733
4742
  type: string;
4743
+ doi_url?: string | null | undefined;
4744
+ external_url?: string | null | undefined;
4745
+ originality?: "original" | "derivative" | "third-party" | undefined;
4746
+ source?: string | null | undefined;
4734
4747
  }>;
4735
4748
  }>, "strip", z.ZodTypeAny, {
4736
4749
  id: string;
@@ -4738,6 +4751,10 @@ declare const CreateFileSchema: z.ZodDiscriminatedUnion<"state", [z.ZodObject<z.
4738
4751
  asset_type: "file";
4739
4752
  metadata: {
4740
4753
  type: string;
4754
+ doi_url?: string | null | undefined;
4755
+ external_url?: string | null | undefined;
4756
+ originality?: "original" | "derivative" | "third-party" | undefined;
4757
+ source?: string | null | undefined;
4741
4758
  };
4742
4759
  created_at: string;
4743
4760
  last_updated: string;
@@ -4759,6 +4776,10 @@ declare const CreateFileSchema: z.ZodDiscriminatedUnion<"state", [z.ZodObject<z.
4759
4776
  }, {
4760
4777
  metadata: {
4761
4778
  type: string;
4779
+ doi_url?: string | null | undefined;
4780
+ external_url?: string | null | undefined;
4781
+ originality?: "original" | "derivative" | "third-party" | undefined;
4782
+ source?: string | null | undefined;
4762
4783
  };
4763
4784
  name: string;
4764
4785
  id?: string | undefined;
@@ -5647,6 +5668,22 @@ declare const PostSchema: z.ZodObject<z.objectUtil.extendShape<{
5647
5668
  }, {
5648
5669
  name: z.ZodNullable<z.ZodString>;
5649
5670
  asset_type: z.ZodEffects<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>, "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication", "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication">;
5671
+ metadata: z.ZodObject<z.objectUtil.extendShape<{}, {
5672
+ doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5673
+ external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5674
+ originality: z.ZodOptional<z.ZodEnum<["original", "derivative", "third-party"]>>;
5675
+ source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5676
+ }>, "strip", z.ZodTypeAny, {
5677
+ doi_url?: string | null | undefined;
5678
+ external_url?: string | null | undefined;
5679
+ originality?: "original" | "derivative" | "third-party" | undefined;
5680
+ source?: string | null | undefined;
5681
+ }, {
5682
+ doi_url?: string | null | undefined;
5683
+ external_url?: string | null | undefined;
5684
+ originality?: "original" | "derivative" | "third-party" | undefined;
5685
+ source?: string | null | undefined;
5686
+ }>;
5650
5687
  preview: z.ZodDefault<z.ZodObject<{
5651
5688
  type: z.ZodLiteral<"doc">;
5652
5689
  content: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
@@ -5694,6 +5731,12 @@ declare const PostSchema: z.ZodObject<z.objectUtil.extendShape<{
5694
5731
  };
5695
5732
  };
5696
5733
  asset_type: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
5734
+ metadata: {
5735
+ doi_url?: string | null | undefined;
5736
+ external_url?: string | null | undefined;
5737
+ originality?: "original" | "derivative" | "third-party" | undefined;
5738
+ source?: string | null | undefined;
5739
+ };
5697
5740
  created_at: string;
5698
5741
  last_updated: string;
5699
5742
  name: string | null;
@@ -5779,12 +5822,6 @@ declare const PostSchema: z.ZodObject<z.objectUtil.extendShape<{
5779
5822
  } | null | undefined;
5780
5823
  }[] | undefined;
5781
5824
  } | undefined;
5782
- metadata?: {
5783
- originality: "original" | "derivative" | "third-party";
5784
- doi_url?: string | null | undefined;
5785
- external_url?: string | null | undefined;
5786
- source?: string | null | undefined;
5787
- } | null | undefined;
5788
5825
  description?: string | null | undefined;
5789
5826
  parent_id?: string | null | undefined;
5790
5827
  parent?: Record<string, any> | undefined;
@@ -5800,6 +5837,12 @@ declare const PostSchema: z.ZodObject<z.objectUtil.extendShape<{
5800
5837
  user_id: string;
5801
5838
  org_id: string;
5802
5839
  asset_type: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
5840
+ metadata: {
5841
+ doi_url?: string | null | undefined;
5842
+ external_url?: string | null | undefined;
5843
+ originality?: "original" | "derivative" | "third-party" | undefined;
5844
+ source?: string | null | undefined;
5845
+ };
5803
5846
  created_at: string;
5804
5847
  last_updated: string;
5805
5848
  name: string | null;
@@ -5888,12 +5931,6 @@ declare const PostSchema: z.ZodObject<z.objectUtil.extendShape<{
5888
5931
  content: any[];
5889
5932
  };
5890
5933
  } | undefined;
5891
- metadata?: {
5892
- originality: "original" | "derivative" | "third-party";
5893
- doi_url?: string | null | undefined;
5894
- external_url?: string | null | undefined;
5895
- source?: string | null | undefined;
5896
- } | null | undefined;
5897
5934
  description?: string | null | undefined;
5898
5935
  parent_id?: string | null | undefined;
5899
5936
  parent?: Record<string, any> | undefined;
@@ -6718,6 +6755,22 @@ declare const ReadPostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
6718
6755
  }, {
6719
6756
  name: z.ZodNullable<z.ZodString>;
6720
6757
  asset_type: z.ZodEffects<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>, "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication", "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication">;
6758
+ metadata: z.ZodObject<z.objectUtil.extendShape<{}, {
6759
+ doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
6760
+ external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
6761
+ originality: z.ZodOptional<z.ZodEnum<["original", "derivative", "third-party"]>>;
6762
+ source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
6763
+ }>, "strip", z.ZodTypeAny, {
6764
+ doi_url?: string | null | undefined;
6765
+ external_url?: string | null | undefined;
6766
+ originality?: "original" | "derivative" | "third-party" | undefined;
6767
+ source?: string | null | undefined;
6768
+ }, {
6769
+ doi_url?: string | null | undefined;
6770
+ external_url?: string | null | undefined;
6771
+ originality?: "original" | "derivative" | "third-party" | undefined;
6772
+ source?: string | null | undefined;
6773
+ }>;
6721
6774
  preview: z.ZodDefault<z.ZodObject<{
6722
6775
  type: z.ZodLiteral<"doc">;
6723
6776
  content: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
@@ -6788,6 +6841,12 @@ declare const ReadPostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
6788
6841
  user_id: string;
6789
6842
  org_id: string;
6790
6843
  asset_type: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
6844
+ metadata: {
6845
+ doi_url?: string | null | undefined;
6846
+ external_url?: string | null | undefined;
6847
+ originality?: "original" | "derivative" | "third-party" | undefined;
6848
+ source?: string | null | undefined;
6849
+ };
6791
6850
  created_at: string;
6792
6851
  last_updated: string;
6793
6852
  name: string | null;
@@ -6884,12 +6943,6 @@ declare const ReadPostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
6884
6943
  content: any[];
6885
6944
  };
6886
6945
  } | null | undefined;
6887
- metadata?: {
6888
- originality: "original" | "derivative" | "third-party";
6889
- doi_url?: string | null | undefined;
6890
- external_url?: string | null | undefined;
6891
- source?: string | null | undefined;
6892
- } | null | undefined;
6893
6946
  description?: string | null | undefined;
6894
6947
  parent_id?: string | null | undefined;
6895
6948
  parent?: Record<string, any> | undefined;
@@ -6905,6 +6958,12 @@ declare const ReadPostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
6905
6958
  user_id: string;
6906
6959
  org_id: string;
6907
6960
  asset_type: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
6961
+ metadata: {
6962
+ doi_url?: string | null | undefined;
6963
+ external_url?: string | null | undefined;
6964
+ originality?: "original" | "derivative" | "third-party" | undefined;
6965
+ source?: string | null | undefined;
6966
+ };
6908
6967
  created_at: string;
6909
6968
  last_updated: string;
6910
6969
  name: string | null;
@@ -6993,12 +7052,6 @@ declare const ReadPostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
6993
7052
  content: any[];
6994
7053
  };
6995
7054
  } | null | undefined;
6996
- metadata?: {
6997
- originality: "original" | "derivative" | "third-party";
6998
- doi_url?: string | null | undefined;
6999
- external_url?: string | null | undefined;
7000
- source?: string | null | undefined;
7001
- } | null | undefined;
7002
7055
  description?: string | null | undefined;
7003
7056
  parent_id?: string | null | undefined;
7004
7057
  parent?: Record<string, any> | undefined;
@@ -7382,6 +7435,22 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z
7382
7435
  }, {
7383
7436
  name: z.ZodNullable<z.ZodString>;
7384
7437
  asset_type: z.ZodEffects<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>, "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication", "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication">;
7438
+ metadata: z.ZodObject<z.objectUtil.extendShape<{}, {
7439
+ doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
7440
+ external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
7441
+ originality: z.ZodOptional<z.ZodEnum<["original", "derivative", "third-party"]>>;
7442
+ source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
7443
+ }>, "strip", z.ZodTypeAny, {
7444
+ doi_url?: string | null | undefined;
7445
+ external_url?: string | null | undefined;
7446
+ originality?: "original" | "derivative" | "third-party" | undefined;
7447
+ source?: string | null | undefined;
7448
+ }, {
7449
+ doi_url?: string | null | undefined;
7450
+ external_url?: string | null | undefined;
7451
+ originality?: "original" | "derivative" | "third-party" | undefined;
7452
+ source?: string | null | undefined;
7453
+ }>;
7385
7454
  preview: z.ZodDefault<z.ZodObject<{
7386
7455
  type: z.ZodLiteral<"doc">;
7387
7456
  content: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
@@ -7452,6 +7521,12 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z
7452
7521
  user_id: string;
7453
7522
  org_id: string;
7454
7523
  asset_type: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
7524
+ metadata: {
7525
+ doi_url?: string | null | undefined;
7526
+ external_url?: string | null | undefined;
7527
+ originality?: "original" | "derivative" | "third-party" | undefined;
7528
+ source?: string | null | undefined;
7529
+ };
7455
7530
  created_at: string;
7456
7531
  last_updated: string;
7457
7532
  name: string | null;
@@ -7548,12 +7623,6 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z
7548
7623
  content: any[];
7549
7624
  };
7550
7625
  } | null | undefined;
7551
- metadata?: {
7552
- originality: "original" | "derivative" | "third-party";
7553
- doi_url?: string | null | undefined;
7554
- external_url?: string | null | undefined;
7555
- source?: string | null | undefined;
7556
- } | null | undefined;
7557
7626
  description?: string | null | undefined;
7558
7627
  parent_id?: string | null | undefined;
7559
7628
  parent?: Record<string, any> | undefined;
@@ -7569,6 +7638,12 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z
7569
7638
  user_id: string;
7570
7639
  org_id: string;
7571
7640
  asset_type: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
7641
+ metadata: {
7642
+ doi_url?: string | null | undefined;
7643
+ external_url?: string | null | undefined;
7644
+ originality?: "original" | "derivative" | "third-party" | undefined;
7645
+ source?: string | null | undefined;
7646
+ };
7572
7647
  created_at: string;
7573
7648
  last_updated: string;
7574
7649
  name: string | null;
@@ -7657,12 +7732,6 @@ declare const ReadPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z
7657
7732
  content: any[];
7658
7733
  };
7659
7734
  } | null | undefined;
7660
- metadata?: {
7661
- originality: "original" | "derivative" | "third-party";
7662
- doi_url?: string | null | undefined;
7663
- external_url?: string | null | undefined;
7664
- source?: string | null | undefined;
7665
- } | null | undefined;
7666
7735
  description?: string | null | undefined;
7667
7736
  parent_id?: string | null | undefined;
7668
7737
  parent?: Record<string, any> | undefined;
@@ -8046,6 +8115,22 @@ declare const ListPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
8046
8115
  }, {
8047
8116
  name: z.ZodNullable<z.ZodString>;
8048
8117
  asset_type: z.ZodEffects<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>, "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication", "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication">;
8118
+ metadata: z.ZodObject<z.objectUtil.extendShape<{}, {
8119
+ doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8120
+ external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8121
+ originality: z.ZodOptional<z.ZodEnum<["original", "derivative", "third-party"]>>;
8122
+ source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8123
+ }>, "strip", z.ZodTypeAny, {
8124
+ doi_url?: string | null | undefined;
8125
+ external_url?: string | null | undefined;
8126
+ originality?: "original" | "derivative" | "third-party" | undefined;
8127
+ source?: string | null | undefined;
8128
+ }, {
8129
+ doi_url?: string | null | undefined;
8130
+ external_url?: string | null | undefined;
8131
+ originality?: "original" | "derivative" | "third-party" | undefined;
8132
+ source?: string | null | undefined;
8133
+ }>;
8049
8134
  preview: z.ZodDefault<z.ZodObject<{
8050
8135
  type: z.ZodLiteral<"doc">;
8051
8136
  content: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
@@ -8093,6 +8178,12 @@ declare const ListPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
8093
8178
  };
8094
8179
  };
8095
8180
  asset_type: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
8181
+ metadata: {
8182
+ doi_url?: string | null | undefined;
8183
+ external_url?: string | null | undefined;
8184
+ originality?: "original" | "derivative" | "third-party" | undefined;
8185
+ source?: string | null | undefined;
8186
+ };
8096
8187
  created_at: string;
8097
8188
  last_updated: string;
8098
8189
  name: string | null;
@@ -8178,12 +8269,6 @@ declare const ListPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
8178
8269
  } | null | undefined;
8179
8270
  }[] | undefined;
8180
8271
  } | undefined;
8181
- metadata?: {
8182
- originality: "original" | "derivative" | "third-party";
8183
- doi_url?: string | null | undefined;
8184
- external_url?: string | null | undefined;
8185
- source?: string | null | undefined;
8186
- } | null | undefined;
8187
8272
  description?: string | null | undefined;
8188
8273
  parent_id?: string | null | undefined;
8189
8274
  parent?: Record<string, any> | undefined;
@@ -8199,6 +8284,12 @@ declare const ListPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
8199
8284
  user_id: string;
8200
8285
  org_id: string;
8201
8286
  asset_type: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
8287
+ metadata: {
8288
+ doi_url?: string | null | undefined;
8289
+ external_url?: string | null | undefined;
8290
+ originality?: "original" | "derivative" | "third-party" | undefined;
8291
+ source?: string | null | undefined;
8292
+ };
8202
8293
  created_at: string;
8203
8294
  last_updated: string;
8204
8295
  name: string | null;
@@ -8287,12 +8378,6 @@ declare const ListPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
8287
8378
  content: any[];
8288
8379
  };
8289
8380
  } | undefined;
8290
- metadata?: {
8291
- originality: "original" | "derivative" | "third-party";
8292
- doi_url?: string | null | undefined;
8293
- external_url?: string | null | undefined;
8294
- source?: string | null | undefined;
8295
- } | null | undefined;
8296
8381
  description?: string | null | undefined;
8297
8382
  parent_id?: string | null | undefined;
8298
8383
  parent?: Record<string, any> | undefined;
@@ -8647,27 +8732,27 @@ declare const UpdatePostSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
8647
8732
  unit_cost: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
8648
8733
  cost_accounting: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<["fixed", "variable"]>>>>;
8649
8734
  cost_unit: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8650
- metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
8651
- doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8652
- external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8653
- originality: z.ZodEnum<["original", "derivative", "third-party"]>;
8654
- source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8655
- }, "strip", z.ZodTypeAny, {
8656
- originality: "original" | "derivative" | "third-party";
8735
+ state: z.ZodOptional<z.ZodEnum<["queued", "in-progress", "success", "error"]>>;
8736
+ created_at: z.ZodOptional<z.ZodString>;
8737
+ last_updated: z.ZodOptional<z.ZodString>;
8738
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8739
+ asset_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>, "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication", "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication">>;
8740
+ metadata: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{}, {
8741
+ doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8742
+ external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8743
+ originality: z.ZodOptional<z.ZodEnum<["original", "derivative", "third-party"]>>;
8744
+ source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8745
+ }>, "strip", z.ZodTypeAny, {
8657
8746
  doi_url?: string | null | undefined;
8658
8747
  external_url?: string | null | undefined;
8748
+ originality?: "original" | "derivative" | "third-party" | undefined;
8659
8749
  source?: string | null | undefined;
8660
8750
  }, {
8661
- originality: "original" | "derivative" | "third-party";
8662
8751
  doi_url?: string | null | undefined;
8663
8752
  external_url?: string | null | undefined;
8753
+ originality?: "original" | "derivative" | "third-party" | undefined;
8664
8754
  source?: string | null | undefined;
8665
- }>>>>;
8666
- state: z.ZodOptional<z.ZodEnum<["queued", "in-progress", "success", "error"]>>;
8667
- created_at: z.ZodOptional<z.ZodString>;
8668
- last_updated: z.ZodOptional<z.ZodString>;
8669
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8670
- asset_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>, "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication", "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication">>;
8755
+ }>>;
8671
8756
  preview: z.ZodOptional<z.ZodDefault<z.ZodObject<{
8672
8757
  type: z.ZodLiteral<"doc">;
8673
8758
  content: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
@@ -8710,11 +8795,11 @@ declare const UpdatePostSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
8710
8795
  org_id?: string | undefined;
8711
8796
  asset_type?: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
8712
8797
  metadata?: {
8713
- originality: "original" | "derivative" | "third-party";
8714
8798
  doi_url?: string | null | undefined;
8715
8799
  external_url?: string | null | undefined;
8800
+ originality?: "original" | "derivative" | "third-party" | undefined;
8716
8801
  source?: string | null | undefined;
8717
- } | null | undefined;
8802
+ } | undefined;
8718
8803
  name?: string | null | undefined;
8719
8804
  team_id?: string | undefined;
8720
8805
  visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
@@ -8738,11 +8823,11 @@ declare const UpdatePostSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
8738
8823
  org_id?: string | undefined;
8739
8824
  asset_type?: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
8740
8825
  metadata?: {
8741
- originality: "original" | "derivative" | "third-party";
8742
8826
  doi_url?: string | null | undefined;
8743
8827
  external_url?: string | null | undefined;
8828
+ originality?: "original" | "derivative" | "third-party" | undefined;
8744
8829
  source?: string | null | undefined;
8745
- } | null | undefined;
8830
+ } | undefined;
8746
8831
  last_updated?: string | undefined;
8747
8832
  name?: string | null | undefined;
8748
8833
  team_id?: string | undefined;
@@ -10313,14 +10398,27 @@ declare const ConversationSchema: z.ZodObject<z.objectUtil.extendShape<{
10313
10398
  created_at: z.ZodString;
10314
10399
  last_updated: z.ZodString;
10315
10400
  }, {
10316
- metadata: z.ZodObject<{
10401
+ asset_type: z.ZodDefault<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>>;
10402
+ metadata: z.ZodObject<z.objectUtil.extendShape<{
10317
10403
  members: z.ZodArray<z.ZodString, "many">;
10318
- }, "strip", z.ZodTypeAny, {
10404
+ }, {
10405
+ doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
10406
+ external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
10407
+ originality: z.ZodOptional<z.ZodEnum<["original", "derivative", "third-party"]>>;
10408
+ source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
10409
+ }>, "strip", z.ZodTypeAny, {
10319
10410
  members: string[];
10411
+ doi_url?: string | null | undefined;
10412
+ external_url?: string | null | undefined;
10413
+ originality?: "original" | "derivative" | "third-party" | undefined;
10414
+ source?: string | null | undefined;
10320
10415
  }, {
10321
10416
  members: string[];
10417
+ doi_url?: string | null | undefined;
10418
+ external_url?: string | null | undefined;
10419
+ originality?: "original" | "derivative" | "third-party" | undefined;
10420
+ source?: string | null | undefined;
10322
10421
  }>;
10323
- asset_type: z.ZodDefault<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>>;
10324
10422
  users: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
10325
10423
  id: z.ZodString;
10326
10424
  user_id: z.ZodString;
@@ -10372,6 +10470,10 @@ declare const ConversationSchema: z.ZodObject<z.objectUtil.extendShape<{
10372
10470
  asset_type: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
10373
10471
  metadata: {
10374
10472
  members: string[];
10473
+ doi_url?: string | null | undefined;
10474
+ external_url?: string | null | undefined;
10475
+ originality?: "original" | "derivative" | "third-party" | undefined;
10476
+ source?: string | null | undefined;
10375
10477
  };
10376
10478
  created_at: string;
10377
10479
  last_updated: string;
@@ -10485,6 +10587,10 @@ declare const ConversationSchema: z.ZodObject<z.objectUtil.extendShape<{
10485
10587
  org_id: string;
10486
10588
  metadata: {
10487
10589
  members: string[];
10590
+ doi_url?: string | null | undefined;
10591
+ external_url?: string | null | undefined;
10592
+ originality?: "original" | "derivative" | "third-party" | undefined;
10593
+ source?: string | null | undefined;
10488
10594
  };
10489
10595
  created_at: string;
10490
10596
  last_updated: string;
@@ -10956,14 +11062,27 @@ declare const CreateConversationSchema: z.ZodObject<z.objectUtil.extendShape<Omi
10956
11062
  created_at: z.ZodString;
10957
11063
  last_updated: z.ZodString;
10958
11064
  }, {
10959
- metadata: z.ZodObject<{
11065
+ asset_type: z.ZodDefault<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>>;
11066
+ metadata: z.ZodObject<z.objectUtil.extendShape<{
10960
11067
  members: z.ZodArray<z.ZodString, "many">;
10961
- }, "strip", z.ZodTypeAny, {
11068
+ }, {
11069
+ doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
11070
+ external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
11071
+ originality: z.ZodOptional<z.ZodEnum<["original", "derivative", "third-party"]>>;
11072
+ source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
11073
+ }>, "strip", z.ZodTypeAny, {
10962
11074
  members: string[];
11075
+ doi_url?: string | null | undefined;
11076
+ external_url?: string | null | undefined;
11077
+ originality?: "original" | "derivative" | "third-party" | undefined;
11078
+ source?: string | null | undefined;
10963
11079
  }, {
10964
11080
  members: string[];
10965
- }>;
10966
- asset_type: z.ZodDefault<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>>;
11081
+ doi_url?: string | null | undefined;
11082
+ external_url?: string | null | undefined;
11083
+ originality?: "original" | "derivative" | "third-party" | undefined;
11084
+ source?: string | null | undefined;
11085
+ }>;
10967
11086
  users: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
10968
11087
  id: z.ZodString;
10969
11088
  user_id: z.ZodString;
@@ -11020,6 +11139,10 @@ declare const CreateConversationSchema: z.ZodObject<z.objectUtil.extendShape<Omi
11020
11139
  asset_type: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
11021
11140
  metadata: {
11022
11141
  members: string[];
11142
+ doi_url?: string | null | undefined;
11143
+ external_url?: string | null | undefined;
11144
+ originality?: "original" | "derivative" | "third-party" | undefined;
11145
+ source?: string | null | undefined;
11023
11146
  };
11024
11147
  name: string;
11025
11148
  team_id: string;
@@ -11128,6 +11251,10 @@ declare const CreateConversationSchema: z.ZodObject<z.objectUtil.extendShape<Omi
11128
11251
  }, {
11129
11252
  metadata: {
11130
11253
  members: string[];
11254
+ doi_url?: string | null | undefined;
11255
+ external_url?: string | null | undefined;
11256
+ originality?: "original" | "derivative" | "third-party" | undefined;
11257
+ source?: string | null | undefined;
11131
11258
  };
11132
11259
  name: string;
11133
11260
  license_id: string;
@@ -11239,12 +11366,25 @@ declare const CreateConversationSchema: z.ZodObject<z.objectUtil.extendShape<Omi
11239
11366
  }>;
11240
11367
  declare const UpdateConversationSchema: z.ZodObject<{
11241
11368
  asset_type: z.ZodOptional<z.ZodDefault<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>>>;
11242
- metadata: z.ZodOptional<z.ZodObject<{
11369
+ metadata: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
11243
11370
  members: z.ZodArray<z.ZodString, "many">;
11244
- }, "strip", z.ZodTypeAny, {
11371
+ }, {
11372
+ doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
11373
+ external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
11374
+ originality: z.ZodOptional<z.ZodEnum<["original", "derivative", "third-party"]>>;
11375
+ source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
11376
+ }>, "strip", z.ZodTypeAny, {
11245
11377
  members: string[];
11378
+ doi_url?: string | null | undefined;
11379
+ external_url?: string | null | undefined;
11380
+ originality?: "original" | "derivative" | "third-party" | undefined;
11381
+ source?: string | null | undefined;
11246
11382
  }, {
11247
11383
  members: string[];
11384
+ doi_url?: string | null | undefined;
11385
+ external_url?: string | null | undefined;
11386
+ originality?: "original" | "derivative" | "third-party" | undefined;
11387
+ source?: string | null | undefined;
11248
11388
  }>>;
11249
11389
  name: z.ZodOptional<z.ZodString>;
11250
11390
  visibility: z.ZodOptional<z.ZodDefault<z.ZodEnum<["public", "private", "organization", "monetized", "inherit"]>>>;
@@ -11309,6 +11449,10 @@ declare const UpdateConversationSchema: z.ZodObject<{
11309
11449
  asset_type?: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
11310
11450
  metadata?: {
11311
11451
  members: string[];
11452
+ doi_url?: string | null | undefined;
11453
+ external_url?: string | null | undefined;
11454
+ originality?: "original" | "derivative" | "third-party" | undefined;
11455
+ source?: string | null | undefined;
11312
11456
  } | undefined;
11313
11457
  name?: string | undefined;
11314
11458
  visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
@@ -11343,6 +11487,10 @@ declare const UpdateConversationSchema: z.ZodObject<{
11343
11487
  asset_type?: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
11344
11488
  metadata?: {
11345
11489
  members: string[];
11490
+ doi_url?: string | null | undefined;
11491
+ external_url?: string | null | undefined;
11492
+ originality?: "original" | "derivative" | "third-party" | undefined;
11493
+ source?: string | null | undefined;
11346
11494
  } | undefined;
11347
11495
  name?: string | undefined;
11348
11496
  visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
@@ -11861,11 +12009,16 @@ declare const DatasetSchema: z.ZodObject<z.objectUtil.extendShape<{
11861
12009
  last_updated: z.ZodString;
11862
12010
  }, {
11863
12011
  asset_type: z.ZodDefault<z.ZodLiteral<"dataset">>;
11864
- metadata: z.ZodObject<z.objectUtil.extendShape<{
12012
+ metadata: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
11865
12013
  table_name: z.ZodString;
11866
12014
  schema: z.ZodDefault<z.ZodLiteral<"datasets">>;
11867
12015
  columns: z.ZodArray<z.ZodString, "many">;
11868
12016
  }, {
12017
+ doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
12018
+ external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
12019
+ originality: z.ZodOptional<z.ZodEnum<["original", "derivative", "third-party"]>>;
12020
+ source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
12021
+ }>, {
11869
12022
  type: z.ZodOptional<z.ZodString>;
11870
12023
  size: z.ZodOptional<z.ZodNumber>;
11871
12024
  path: z.ZodOptional<z.ZodString>;
@@ -11882,6 +12035,10 @@ declare const DatasetSchema: z.ZodObject<z.objectUtil.extendShape<{
11882
12035
  type?: string | undefined;
11883
12036
  name?: string | undefined;
11884
12037
  size?: number | undefined;
12038
+ doi_url?: string | null | undefined;
12039
+ external_url?: string | null | undefined;
12040
+ originality?: "original" | "derivative" | "third-party" | undefined;
12041
+ source?: string | null | undefined;
11885
12042
  bucket?: "public-files" | "files" | undefined;
11886
12043
  extension?: string | undefined;
11887
12044
  }, {
@@ -11892,6 +12049,10 @@ declare const DatasetSchema: z.ZodObject<z.objectUtil.extendShape<{
11892
12049
  type?: string | undefined;
11893
12050
  name?: string | undefined;
11894
12051
  size?: number | undefined;
12052
+ doi_url?: string | null | undefined;
12053
+ external_url?: string | null | undefined;
12054
+ originality?: "original" | "derivative" | "third-party" | undefined;
12055
+ source?: string | null | undefined;
11895
12056
  bucket?: "public-files" | "files" | undefined;
11896
12057
  extension?: string | undefined;
11897
12058
  schema?: "datasets" | undefined;
@@ -11911,6 +12072,10 @@ declare const DatasetSchema: z.ZodObject<z.objectUtil.extendShape<{
11911
12072
  type?: string | undefined;
11912
12073
  name?: string | undefined;
11913
12074
  size?: number | undefined;
12075
+ doi_url?: string | null | undefined;
12076
+ external_url?: string | null | undefined;
12077
+ originality?: "original" | "derivative" | "third-party" | undefined;
12078
+ source?: string | null | undefined;
11914
12079
  bucket?: "public-files" | "files" | undefined;
11915
12080
  extension?: string | undefined;
11916
12081
  };
@@ -12018,6 +12183,10 @@ declare const DatasetSchema: z.ZodObject<z.objectUtil.extendShape<{
12018
12183
  type?: string | undefined;
12019
12184
  name?: string | undefined;
12020
12185
  size?: number | undefined;
12186
+ doi_url?: string | null | undefined;
12187
+ external_url?: string | null | undefined;
12188
+ originality?: "original" | "derivative" | "third-party" | undefined;
12189
+ source?: string | null | undefined;
12021
12190
  bucket?: "public-files" | "files" | undefined;
12022
12191
  extension?: string | undefined;
12023
12192
  schema?: "datasets" | undefined;
@@ -12489,11 +12658,16 @@ declare const CreateDatasetFromFileSchema: z.ZodObject<z.objectUtil.extendShape<
12489
12658
  last_updated: z.ZodDefault<z.ZodString>;
12490
12659
  }>, {
12491
12660
  asset_type: z.ZodDefault<z.ZodLiteral<"dataset">>;
12492
- metadata: z.ZodObject<z.objectUtil.extendShape<{
12661
+ metadata: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
12493
12662
  table_name: z.ZodString;
12494
12663
  schema: z.ZodDefault<z.ZodLiteral<"datasets">>;
12495
12664
  columns: z.ZodArray<z.ZodString, "many">;
12496
12665
  }, {
12666
+ doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
12667
+ external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
12668
+ originality: z.ZodOptional<z.ZodEnum<["original", "derivative", "third-party"]>>;
12669
+ source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
12670
+ }>, {
12497
12671
  type: z.ZodString;
12498
12672
  size: z.ZodNumber;
12499
12673
  path: z.ZodString;
@@ -12512,6 +12686,10 @@ declare const CreateDatasetFromFileSchema: z.ZodObject<z.objectUtil.extendShape<
12512
12686
  table_name: string;
12513
12687
  schema: "datasets";
12514
12688
  columns: string[];
12689
+ doi_url?: string | null | undefined;
12690
+ external_url?: string | null | undefined;
12691
+ originality?: "original" | "derivative" | "third-party" | undefined;
12692
+ source?: string | null | undefined;
12515
12693
  }, {
12516
12694
  id: string;
12517
12695
  path: string;
@@ -12522,6 +12700,10 @@ declare const CreateDatasetFromFileSchema: z.ZodObject<z.objectUtil.extendShape<
12522
12700
  extension: string;
12523
12701
  table_name: string;
12524
12702
  columns: string[];
12703
+ doi_url?: string | null | undefined;
12704
+ external_url?: string | null | undefined;
12705
+ originality?: "original" | "derivative" | "third-party" | undefined;
12706
+ source?: string | null | undefined;
12525
12707
  schema?: "datasets" | undefined;
12526
12708
  }>;
12527
12709
  preview: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">;
@@ -12540,6 +12722,10 @@ declare const CreateDatasetFromFileSchema: z.ZodObject<z.objectUtil.extendShape<
12540
12722
  table_name: string;
12541
12723
  schema: "datasets";
12542
12724
  columns: string[];
12725
+ doi_url?: string | null | undefined;
12726
+ external_url?: string | null | undefined;
12727
+ originality?: "original" | "derivative" | "third-party" | undefined;
12728
+ source?: string | null | undefined;
12543
12729
  };
12544
12730
  created_at: string;
12545
12731
  last_updated: string;
@@ -12569,6 +12755,10 @@ declare const CreateDatasetFromFileSchema: z.ZodObject<z.objectUtil.extendShape<
12569
12755
  extension: string;
12570
12756
  table_name: string;
12571
12757
  columns: string[];
12758
+ doi_url?: string | null | undefined;
12759
+ external_url?: string | null | undefined;
12760
+ originality?: "original" | "derivative" | "third-party" | undefined;
12761
+ source?: string | null | undefined;
12572
12762
  schema?: "datasets" | undefined;
12573
12763
  };
12574
12764
  name: string;
@@ -12965,17 +13155,30 @@ declare const CreateDatasetFromSchemaSchema: z.ZodObject<z.objectUtil.extendShap
12965
13155
  last_updated: z.ZodDefault<z.ZodString>;
12966
13156
  }>, {
12967
13157
  asset_type: z.ZodDefault<z.ZodLiteral<"dataset">>;
12968
- metadata: z.ZodObject<{
13158
+ metadata: z.ZodObject<z.objectUtil.extendShape<{
12969
13159
  table_name: z.ZodString;
12970
13160
  schema: z.ZodDefault<z.ZodLiteral<"datasets">>;
12971
13161
  columns: z.ZodArray<z.ZodString, "many">;
12972
- }, "strip", z.ZodTypeAny, {
13162
+ }, {
13163
+ doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
13164
+ external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
13165
+ originality: z.ZodOptional<z.ZodEnum<["original", "derivative", "third-party"]>>;
13166
+ source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
13167
+ }>, "strip", z.ZodTypeAny, {
12973
13168
  table_name: string;
12974
13169
  schema: "datasets";
12975
13170
  columns: string[];
13171
+ doi_url?: string | null | undefined;
13172
+ external_url?: string | null | undefined;
13173
+ originality?: "original" | "derivative" | "third-party" | undefined;
13174
+ source?: string | null | undefined;
12976
13175
  }, {
12977
13176
  table_name: string;
12978
13177
  columns: string[];
13178
+ doi_url?: string | null | undefined;
13179
+ external_url?: string | null | undefined;
13180
+ originality?: "original" | "derivative" | "third-party" | undefined;
13181
+ source?: string | null | undefined;
12979
13182
  schema?: "datasets" | undefined;
12980
13183
  }>;
12981
13184
  preview: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">;
@@ -12987,6 +13190,10 @@ declare const CreateDatasetFromSchemaSchema: z.ZodObject<z.objectUtil.extendShap
12987
13190
  table_name: string;
12988
13191
  schema: "datasets";
12989
13192
  columns: string[];
13193
+ doi_url?: string | null | undefined;
13194
+ external_url?: string | null | undefined;
13195
+ originality?: "original" | "derivative" | "third-party" | undefined;
13196
+ source?: string | null | undefined;
12990
13197
  };
12991
13198
  created_at: string;
12992
13199
  last_updated: string;
@@ -13009,6 +13216,10 @@ declare const CreateDatasetFromSchemaSchema: z.ZodObject<z.objectUtil.extendShap
13009
13216
  metadata: {
13010
13217
  table_name: string;
13011
13218
  columns: string[];
13219
+ doi_url?: string | null | undefined;
13220
+ external_url?: string | null | undefined;
13221
+ originality?: "original" | "derivative" | "third-party" | undefined;
13222
+ source?: string | null | undefined;
13012
13223
  schema?: "datasets" | undefined;
13013
13224
  };
13014
13225
  name: string;
@@ -13376,11 +13587,16 @@ declare const updateDatasetSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
13376
13587
  created_at: z.ZodOptional<z.ZodString>;
13377
13588
  last_updated: z.ZodOptional<z.ZodString>;
13378
13589
  asset_type: z.ZodOptional<z.ZodDefault<z.ZodLiteral<"dataset">>>;
13379
- metadata: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
13590
+ metadata: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
13380
13591
  table_name: z.ZodString;
13381
13592
  schema: z.ZodDefault<z.ZodLiteral<"datasets">>;
13382
13593
  columns: z.ZodArray<z.ZodString, "many">;
13383
13594
  }, {
13595
+ doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
13596
+ external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
13597
+ originality: z.ZodOptional<z.ZodEnum<["original", "derivative", "third-party"]>>;
13598
+ source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
13599
+ }>, {
13384
13600
  type: z.ZodOptional<z.ZodString>;
13385
13601
  size: z.ZodOptional<z.ZodNumber>;
13386
13602
  path: z.ZodOptional<z.ZodString>;
@@ -13397,6 +13613,10 @@ declare const updateDatasetSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
13397
13613
  type?: string | undefined;
13398
13614
  name?: string | undefined;
13399
13615
  size?: number | undefined;
13616
+ doi_url?: string | null | undefined;
13617
+ external_url?: string | null | undefined;
13618
+ originality?: "original" | "derivative" | "third-party" | undefined;
13619
+ source?: string | null | undefined;
13400
13620
  bucket?: "public-files" | "files" | undefined;
13401
13621
  extension?: string | undefined;
13402
13622
  }, {
@@ -13407,6 +13627,10 @@ declare const updateDatasetSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
13407
13627
  type?: string | undefined;
13408
13628
  name?: string | undefined;
13409
13629
  size?: number | undefined;
13630
+ doi_url?: string | null | undefined;
13631
+ external_url?: string | null | undefined;
13632
+ originality?: "original" | "derivative" | "third-party" | undefined;
13633
+ source?: string | null | undefined;
13410
13634
  bucket?: "public-files" | "files" | undefined;
13411
13635
  extension?: string | undefined;
13412
13636
  schema?: "datasets" | undefined;
@@ -13428,6 +13652,10 @@ declare const updateDatasetSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
13428
13652
  type?: string | undefined;
13429
13653
  name?: string | undefined;
13430
13654
  size?: number | undefined;
13655
+ doi_url?: string | null | undefined;
13656
+ external_url?: string | null | undefined;
13657
+ originality?: "original" | "derivative" | "third-party" | undefined;
13658
+ source?: string | null | undefined;
13431
13659
  bucket?: "public-files" | "files" | undefined;
13432
13660
  extension?: string | undefined;
13433
13661
  } | undefined;
@@ -13458,6 +13686,10 @@ declare const updateDatasetSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
13458
13686
  type?: string | undefined;
13459
13687
  name?: string | undefined;
13460
13688
  size?: number | undefined;
13689
+ doi_url?: string | null | undefined;
13690
+ external_url?: string | null | undefined;
13691
+ originality?: "original" | "derivative" | "third-party" | undefined;
13692
+ source?: string | null | undefined;
13461
13693
  bucket?: "public-files" | "files" | undefined;
13462
13694
  extension?: string | undefined;
13463
13695
  schema?: "datasets" | undefined;
@@ -13583,8 +13815,7 @@ declare const NotificationSchema: z.ZodObject<{
13583
13815
 
13584
13816
  type Notification = z.infer<typeof NotificationSchema>;
13585
13817
 
13586
- declare const authType: z.ZodEnum<["Personal Access Token", "None", "OAuth 2.0"]>;
13587
- declare const serviceSchema: z.ZodObject<z.objectUtil.extendShape<{
13818
+ declare const ServiceSchema: z.ZodObject<z.objectUtil.extendShape<{
13588
13819
  id: z.ZodString;
13589
13820
  user_id: z.ZodString;
13590
13821
  user: z.ZodOptional<z.ZodObject<{
@@ -13947,21 +14178,40 @@ declare const serviceSchema: z.ZodObject<z.objectUtil.extendShape<{
13947
14178
  last_updated: z.ZodString;
13948
14179
  }, {
13949
14180
  asset_type: z.ZodEffects<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>, "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication", "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication">;
13950
- metadata: z.ZodObject<{
13951
- authentication: z.ZodEnum<["Personal Access Token", "None", "OAuth 2.0"]>;
13952
- version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14181
+ metadata: z.ZodObject<z.objectUtil.extendShape<{
14182
+ authentication: z.ZodEnum<["Personal Access Token", "Ouro", "None", "OAuth 2.0"]>;
13953
14183
  base_url: z.ZodString;
13954
- spec_path: z.ZodString;
13955
- }, "strip", z.ZodTypeAny, {
13956
- authentication: "Personal Access Token" | "None" | "OAuth 2.0";
14184
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14185
+ spec_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14186
+ auth_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14187
+ auth_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14188
+ }, {
14189
+ doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
14190
+ external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
14191
+ originality: z.ZodOptional<z.ZodEnum<["original", "derivative", "third-party"]>>;
14192
+ source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
14193
+ }>, "strip", z.ZodTypeAny, {
14194
+ authentication: "Personal Access Token" | "Ouro" | "None" | "OAuth 2.0";
13957
14195
  base_url: string;
13958
- spec_path: string;
14196
+ doi_url?: string | null | undefined;
14197
+ external_url?: string | null | undefined;
14198
+ originality?: "original" | "derivative" | "third-party" | undefined;
14199
+ source?: string | null | undefined;
13959
14200
  version?: string | null | undefined;
14201
+ spec_path?: string | null | undefined;
14202
+ auth_token?: string | null | undefined;
14203
+ auth_url?: string | null | undefined;
13960
14204
  }, {
13961
- authentication: "Personal Access Token" | "None" | "OAuth 2.0";
14205
+ authentication: "Personal Access Token" | "Ouro" | "None" | "OAuth 2.0";
13962
14206
  base_url: string;
13963
- spec_path: string;
14207
+ doi_url?: string | null | undefined;
14208
+ external_url?: string | null | undefined;
14209
+ originality?: "original" | "derivative" | "third-party" | undefined;
14210
+ source?: string | null | undefined;
13964
14211
  version?: string | null | undefined;
14212
+ spec_path?: string | null | undefined;
14213
+ auth_token?: string | null | undefined;
14214
+ auth_url?: string | null | undefined;
13965
14215
  }>;
13966
14216
  }>, "strip", z.ZodTypeAny, {
13967
14217
  id: string;
@@ -13969,10 +14219,16 @@ declare const serviceSchema: z.ZodObject<z.objectUtil.extendShape<{
13969
14219
  org_id: string;
13970
14220
  asset_type: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
13971
14221
  metadata: {
13972
- authentication: "Personal Access Token" | "None" | "OAuth 2.0";
14222
+ authentication: "Personal Access Token" | "Ouro" | "None" | "OAuth 2.0";
13973
14223
  base_url: string;
13974
- spec_path: string;
14224
+ doi_url?: string | null | undefined;
14225
+ external_url?: string | null | undefined;
14226
+ originality?: "original" | "derivative" | "third-party" | undefined;
14227
+ source?: string | null | undefined;
13975
14228
  version?: string | null | undefined;
14229
+ spec_path?: string | null | undefined;
14230
+ auth_token?: string | null | undefined;
14231
+ auth_url?: string | null | undefined;
13976
14232
  };
13977
14233
  created_at: string;
13978
14234
  last_updated: string;
@@ -14072,10 +14328,16 @@ declare const serviceSchema: z.ZodObject<z.objectUtil.extendShape<{
14072
14328
  org_id: string;
14073
14329
  asset_type: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
14074
14330
  metadata: {
14075
- authentication: "Personal Access Token" | "None" | "OAuth 2.0";
14331
+ authentication: "Personal Access Token" | "Ouro" | "None" | "OAuth 2.0";
14076
14332
  base_url: string;
14077
- spec_path: string;
14333
+ doi_url?: string | null | undefined;
14334
+ external_url?: string | null | undefined;
14335
+ originality?: "original" | "derivative" | "third-party" | undefined;
14336
+ source?: string | null | undefined;
14078
14337
  version?: string | null | undefined;
14338
+ spec_path?: string | null | undefined;
14339
+ auth_token?: string | null | undefined;
14340
+ auth_url?: string | null | undefined;
14079
14341
  };
14080
14342
  created_at: string;
14081
14343
  last_updated: string;
@@ -14163,14 +14425,936 @@ declare const serviceSchema: z.ZodObject<z.objectUtil.extendShape<{
14163
14425
  parent?: Record<string, any> | undefined;
14164
14426
  license?: Record<string, any> | undefined;
14165
14427
  name_url_slug?: string | null | undefined;
14166
- slug?: string | null | undefined;
14428
+ slug?: string | null | undefined;
14429
+ price?: number | null | undefined;
14430
+ unit_cost?: number | null | undefined;
14431
+ cost_accounting?: "fixed" | "variable" | null | undefined;
14432
+ cost_unit?: string | null | undefined;
14433
+ preview?: Record<string, any>[] | null | undefined;
14434
+ }>;
14435
+ declare const CreateServiceSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<Omit<{
14436
+ id: z.ZodOptional<z.ZodString>;
14437
+ user_id: z.ZodOptional<z.ZodString>;
14438
+ user: z.ZodOptional<z.ZodOptional<z.ZodObject<{
14439
+ id: z.ZodOptional<z.ZodString>;
14440
+ user_id: z.ZodOptional<z.ZodString>;
14441
+ username: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
14442
+ avatar_path: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
14443
+ bio: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
14444
+ urls: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
14445
+ value: z.ZodString;
14446
+ }, "strip", z.ZodTypeAny, {
14447
+ value: string;
14448
+ }, {
14449
+ value: string;
14450
+ }>, "many">>>;
14451
+ post_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
14452
+ is_agent: z.ZodOptional<z.ZodBoolean>;
14453
+ plan_type: z.ZodOptional<z.ZodEnum<["free", "gold"]>>;
14454
+ last_active: z.ZodOptional<z.ZodString>;
14455
+ }, "strip", z.ZodTypeAny, {
14456
+ id?: string | undefined;
14457
+ user_id?: string | undefined;
14458
+ username?: string | null | undefined;
14459
+ avatar_path?: string | null | undefined;
14460
+ bio?: string | null | undefined;
14461
+ urls?: {
14462
+ value: string;
14463
+ }[] | undefined;
14464
+ post_id?: string | null | undefined;
14465
+ is_agent?: boolean | undefined;
14466
+ plan_type?: "free" | "gold" | undefined;
14467
+ last_active?: string | undefined;
14468
+ }, {
14469
+ id?: string | undefined;
14470
+ user_id?: string | undefined;
14471
+ username?: string | null | undefined;
14472
+ avatar_path?: string | null | undefined;
14473
+ bio?: string | null | undefined;
14474
+ urls?: {
14475
+ value: string;
14476
+ }[] | undefined;
14477
+ post_id?: string | null | undefined;
14478
+ is_agent?: boolean | undefined;
14479
+ plan_type?: "free" | "gold" | undefined;
14480
+ last_active?: string | undefined;
14481
+ }>>>;
14482
+ org_id: z.ZodOptional<z.ZodString>;
14483
+ organization: z.ZodOptional<z.ZodOptional<z.ZodObject<{
14484
+ id: z.ZodOptional<z.ZodString>;
14485
+ name: z.ZodOptional<z.ZodString>;
14486
+ avatar_path: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
14487
+ mission: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
14488
+ size: z.ZodOptional<z.ZodString>;
14489
+ email: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
14490
+ domain: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
14491
+ urls: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
14492
+ value: z.ZodString;
14493
+ }, "strip", z.ZodTypeAny, {
14494
+ value: string;
14495
+ }, {
14496
+ value: string;
14497
+ }>, "many">>>>;
14498
+ base_role: z.ZodOptional<z.ZodDefault<z.ZodEnum<["admin", "read", "write", "none"]>>>;
14499
+ }, "strip", z.ZodTypeAny, {
14500
+ id?: string | undefined;
14501
+ avatar_path?: string | null | undefined;
14502
+ urls?: {
14503
+ value: string;
14504
+ }[] | null | undefined;
14505
+ name?: string | undefined;
14506
+ mission?: string | null | undefined;
14507
+ size?: string | undefined;
14508
+ email?: string | null | undefined;
14509
+ domain?: string | null | undefined;
14510
+ base_role?: "admin" | "read" | "write" | "none" | undefined;
14511
+ }, {
14512
+ id?: string | undefined;
14513
+ avatar_path?: string | null | undefined;
14514
+ urls?: {
14515
+ value: string;
14516
+ }[] | null | undefined;
14517
+ name?: string | undefined;
14518
+ mission?: string | null | undefined;
14519
+ size?: string | undefined;
14520
+ email?: string | null | undefined;
14521
+ domain?: string | null | undefined;
14522
+ base_role?: "admin" | "read" | "write" | "none" | undefined;
14523
+ }>>>;
14524
+ team_id: z.ZodOptional<z.ZodString>;
14525
+ team: z.ZodOptional<z.ZodOptional<z.ZodObject<{
14526
+ id: z.ZodOptional<z.ZodString>;
14527
+ org_id: z.ZodOptional<z.ZodString>;
14528
+ organization: z.ZodOptional<z.ZodObject<{
14529
+ id: z.ZodString;
14530
+ name: z.ZodString;
14531
+ avatar_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14532
+ mission: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14533
+ size: z.ZodString;
14534
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14535
+ domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14536
+ urls: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
14537
+ value: z.ZodString;
14538
+ }, "strip", z.ZodTypeAny, {
14539
+ value: string;
14540
+ }, {
14541
+ value: string;
14542
+ }>, "many">>>;
14543
+ base_role: z.ZodDefault<z.ZodEnum<["admin", "read", "write", "none"]>>;
14544
+ }, "strip", z.ZodTypeAny, {
14545
+ id: string;
14546
+ name: string;
14547
+ size: string;
14548
+ base_role: "admin" | "read" | "write" | "none";
14549
+ avatar_path?: string | null | undefined;
14550
+ urls?: {
14551
+ value: string;
14552
+ }[] | null | undefined;
14553
+ mission?: string | null | undefined;
14554
+ email?: string | null | undefined;
14555
+ domain?: string | null | undefined;
14556
+ }, {
14557
+ id: string;
14558
+ name: string;
14559
+ size: string;
14560
+ avatar_path?: string | null | undefined;
14561
+ urls?: {
14562
+ value: string;
14563
+ }[] | null | undefined;
14564
+ mission?: string | null | undefined;
14565
+ email?: string | null | undefined;
14566
+ domain?: string | null | undefined;
14567
+ base_role?: "admin" | "read" | "write" | "none" | undefined;
14568
+ }>>;
14569
+ name: z.ZodOptional<z.ZodString>;
14570
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
14571
+ default_role: z.ZodOptional<z.ZodEnum<["admin", "read", "write", "none"]>>;
14572
+ visibility: z.ZodOptional<z.ZodEnum<["public", "private", "organization", "monetized", "inherit"]>>;
14573
+ userMembership: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
14574
+ user_id: z.ZodString;
14575
+ role: z.ZodEnum<["admin", "read", "write", "none"]>;
14576
+ }, "strip", z.ZodTypeAny, {
14577
+ user_id: string;
14578
+ role: "admin" | "read" | "write" | "none";
14579
+ }, {
14580
+ user_id: string;
14581
+ role: "admin" | "read" | "write" | "none";
14582
+ }>>>>;
14583
+ memberCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
14584
+ members: z.ZodOptional<z.ZodArray<z.ZodObject<{
14585
+ user_id: z.ZodString;
14586
+ role: z.ZodEnum<["admin", "read", "write", "none"]>;
14587
+ added_at: z.ZodString;
14588
+ user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
14589
+ id: z.ZodOptional<z.ZodString>;
14590
+ user_id: z.ZodOptional<z.ZodString>;
14591
+ username: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
14592
+ avatar_path: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
14593
+ bio: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
14594
+ urls: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
14595
+ value: z.ZodString;
14596
+ }, "strip", z.ZodTypeAny, {
14597
+ value: string;
14598
+ }, {
14599
+ value: string;
14600
+ }>, "many">>>;
14601
+ post_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
14602
+ is_agent: z.ZodOptional<z.ZodBoolean>;
14603
+ plan_type: z.ZodOptional<z.ZodEnum<["free", "gold"]>>;
14604
+ last_active: z.ZodOptional<z.ZodString>;
14605
+ }, "strip", z.ZodTypeAny, {
14606
+ id?: string | undefined;
14607
+ user_id?: string | undefined;
14608
+ username?: string | null | undefined;
14609
+ avatar_path?: string | null | undefined;
14610
+ bio?: string | null | undefined;
14611
+ urls?: {
14612
+ value: string;
14613
+ }[] | undefined;
14614
+ post_id?: string | null | undefined;
14615
+ is_agent?: boolean | undefined;
14616
+ plan_type?: "free" | "gold" | undefined;
14617
+ last_active?: string | undefined;
14618
+ }, {
14619
+ id?: string | undefined;
14620
+ user_id?: string | undefined;
14621
+ username?: string | null | undefined;
14622
+ avatar_path?: string | null | undefined;
14623
+ bio?: string | null | undefined;
14624
+ urls?: {
14625
+ value: string;
14626
+ }[] | undefined;
14627
+ post_id?: string | null | undefined;
14628
+ is_agent?: boolean | undefined;
14629
+ plan_type?: "free" | "gold" | undefined;
14630
+ last_active?: string | undefined;
14631
+ }>>>;
14632
+ }, "strip", z.ZodTypeAny, {
14633
+ user_id: string;
14634
+ role: "admin" | "read" | "write" | "none";
14635
+ added_at: string;
14636
+ user?: {
14637
+ id?: string | undefined;
14638
+ user_id?: string | undefined;
14639
+ username?: string | null | undefined;
14640
+ avatar_path?: string | null | undefined;
14641
+ bio?: string | null | undefined;
14642
+ urls?: {
14643
+ value: string;
14644
+ }[] | undefined;
14645
+ post_id?: string | null | undefined;
14646
+ is_agent?: boolean | undefined;
14647
+ plan_type?: "free" | "gold" | undefined;
14648
+ last_active?: string | undefined;
14649
+ } | null | undefined;
14650
+ }, {
14651
+ user_id: string;
14652
+ role: "admin" | "read" | "write" | "none";
14653
+ added_at: string;
14654
+ user?: {
14655
+ id?: string | undefined;
14656
+ user_id?: string | undefined;
14657
+ username?: string | null | undefined;
14658
+ avatar_path?: string | null | undefined;
14659
+ bio?: string | null | undefined;
14660
+ urls?: {
14661
+ value: string;
14662
+ }[] | undefined;
14663
+ post_id?: string | null | undefined;
14664
+ is_agent?: boolean | undefined;
14665
+ plan_type?: "free" | "gold" | undefined;
14666
+ last_active?: string | undefined;
14667
+ } | null | undefined;
14668
+ }>, "many">>;
14669
+ created_at: z.ZodOptional<z.ZodString>;
14670
+ }, "strip", z.ZodTypeAny, {
14671
+ organization?: {
14672
+ id: string;
14673
+ name: string;
14674
+ size: string;
14675
+ base_role: "admin" | "read" | "write" | "none";
14676
+ avatar_path?: string | null | undefined;
14677
+ urls?: {
14678
+ value: string;
14679
+ }[] | null | undefined;
14680
+ mission?: string | null | undefined;
14681
+ email?: string | null | undefined;
14682
+ domain?: string | null | undefined;
14683
+ } | undefined;
14684
+ id?: string | undefined;
14685
+ org_id?: string | undefined;
14686
+ created_at?: string | undefined;
14687
+ name?: string | undefined;
14688
+ visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
14689
+ description?: string | null | undefined;
14690
+ default_role?: "admin" | "read" | "write" | "none" | undefined;
14691
+ userMembership?: {
14692
+ user_id: string;
14693
+ role: "admin" | "read" | "write" | "none";
14694
+ } | null | undefined;
14695
+ memberCount?: number | null | undefined;
14696
+ members?: {
14697
+ user_id: string;
14698
+ role: "admin" | "read" | "write" | "none";
14699
+ added_at: string;
14700
+ user?: {
14701
+ id?: string | undefined;
14702
+ user_id?: string | undefined;
14703
+ username?: string | null | undefined;
14704
+ avatar_path?: string | null | undefined;
14705
+ bio?: string | null | undefined;
14706
+ urls?: {
14707
+ value: string;
14708
+ }[] | undefined;
14709
+ post_id?: string | null | undefined;
14710
+ is_agent?: boolean | undefined;
14711
+ plan_type?: "free" | "gold" | undefined;
14712
+ last_active?: string | undefined;
14713
+ } | null | undefined;
14714
+ }[] | undefined;
14715
+ }, {
14716
+ organization?: {
14717
+ id: string;
14718
+ name: string;
14719
+ size: string;
14720
+ avatar_path?: string | null | undefined;
14721
+ urls?: {
14722
+ value: string;
14723
+ }[] | null | undefined;
14724
+ mission?: string | null | undefined;
14725
+ email?: string | null | undefined;
14726
+ domain?: string | null | undefined;
14727
+ base_role?: "admin" | "read" | "write" | "none" | undefined;
14728
+ } | undefined;
14729
+ id?: string | undefined;
14730
+ org_id?: string | undefined;
14731
+ created_at?: string | undefined;
14732
+ name?: string | undefined;
14733
+ visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
14734
+ description?: string | null | undefined;
14735
+ default_role?: "admin" | "read" | "write" | "none" | undefined;
14736
+ userMembership?: {
14737
+ user_id: string;
14738
+ role: "admin" | "read" | "write" | "none";
14739
+ } | null | undefined;
14740
+ memberCount?: number | null | undefined;
14741
+ members?: {
14742
+ user_id: string;
14743
+ role: "admin" | "read" | "write" | "none";
14744
+ added_at: string;
14745
+ user?: {
14746
+ id?: string | undefined;
14747
+ user_id?: string | undefined;
14748
+ username?: string | null | undefined;
14749
+ avatar_path?: string | null | undefined;
14750
+ bio?: string | null | undefined;
14751
+ urls?: {
14752
+ value: string;
14753
+ }[] | undefined;
14754
+ post_id?: string | null | undefined;
14755
+ is_agent?: boolean | undefined;
14756
+ plan_type?: "free" | "gold" | undefined;
14757
+ last_active?: string | undefined;
14758
+ } | null | undefined;
14759
+ }[] | undefined;
14760
+ }>>>;
14761
+ parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
14762
+ parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
14763
+ license_id: z.ZodOptional<z.ZodString>;
14764
+ license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
14765
+ asset_type: z.ZodOptional<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>>;
14766
+ name: z.ZodOptional<z.ZodString>;
14767
+ name_url_slug: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
14768
+ slug: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
14769
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
14770
+ visibility: z.ZodOptional<z.ZodEnum<["public", "private", "organization", "monetized", "inherit"]>>;
14771
+ monetization: z.ZodOptional<z.ZodEnum<["none", "pay-to-unlock", "pay-per-use"]>>;
14772
+ price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
14773
+ unit_cost: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
14774
+ cost_accounting: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<["fixed", "variable"]>>>>;
14775
+ cost_unit: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
14776
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
14777
+ doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14778
+ external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14779
+ originality: z.ZodEnum<["original", "derivative", "third-party"]>;
14780
+ source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14781
+ }, "strip", z.ZodTypeAny, {
14782
+ originality: "original" | "derivative" | "third-party";
14783
+ doi_url?: string | null | undefined;
14784
+ external_url?: string | null | undefined;
14785
+ source?: string | null | undefined;
14786
+ }, {
14787
+ originality: "original" | "derivative" | "third-party";
14788
+ doi_url?: string | null | undefined;
14789
+ external_url?: string | null | undefined;
14790
+ source?: string | null | undefined;
14791
+ }>>>>;
14792
+ preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>>;
14793
+ state: z.ZodOptional<z.ZodEnum<["queued", "in-progress", "success", "error"]>>;
14794
+ created_at: z.ZodOptional<z.ZodString>;
14795
+ last_updated: z.ZodOptional<z.ZodString>;
14796
+ }, "user" | "organization" | "team" | "user_id" | "license" | "slug">, {
14797
+ id: z.ZodDefault<z.ZodString>;
14798
+ team_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
14799
+ org_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
14800
+ name: z.ZodString;
14801
+ name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14802
+ state: z.ZodDefault<z.ZodOptional<z.ZodEnum<["queued", "in-progress", "success", "error"]>>>;
14803
+ visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<["public", "private", "organization", "monetized", "inherit"]>>>;
14804
+ created_at: z.ZodDefault<z.ZodString>;
14805
+ last_updated: z.ZodDefault<z.ZodString>;
14806
+ }>, {
14807
+ asset_type: z.ZodEffects<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>, "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication", "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication">;
14808
+ metadata: z.ZodObject<z.objectUtil.extendShape<{
14809
+ authentication: z.ZodEnum<["Personal Access Token", "Ouro", "None", "OAuth 2.0"]>;
14810
+ base_url: z.ZodString;
14811
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14812
+ spec_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14813
+ auth_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14814
+ auth_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14815
+ }, {
14816
+ doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
14817
+ external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
14818
+ originality: z.ZodOptional<z.ZodEnum<["original", "derivative", "third-party"]>>;
14819
+ source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
14820
+ }>, "strip", z.ZodTypeAny, {
14821
+ authentication: "Personal Access Token" | "Ouro" | "None" | "OAuth 2.0";
14822
+ base_url: string;
14823
+ doi_url?: string | null | undefined;
14824
+ external_url?: string | null | undefined;
14825
+ originality?: "original" | "derivative" | "third-party" | undefined;
14826
+ source?: string | null | undefined;
14827
+ version?: string | null | undefined;
14828
+ spec_path?: string | null | undefined;
14829
+ auth_token?: string | null | undefined;
14830
+ auth_url?: string | null | undefined;
14831
+ }, {
14832
+ authentication: "Personal Access Token" | "Ouro" | "None" | "OAuth 2.0";
14833
+ base_url: string;
14834
+ doi_url?: string | null | undefined;
14835
+ external_url?: string | null | undefined;
14836
+ originality?: "original" | "derivative" | "third-party" | undefined;
14837
+ source?: string | null | undefined;
14838
+ version?: string | null | undefined;
14839
+ spec_path?: string | null | undefined;
14840
+ auth_token?: string | null | undefined;
14841
+ auth_url?: string | null | undefined;
14842
+ }>;
14843
+ }>, "strip", z.ZodTypeAny, {
14844
+ id: string;
14845
+ org_id: string | null;
14846
+ asset_type: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
14847
+ metadata: {
14848
+ authentication: "Personal Access Token" | "Ouro" | "None" | "OAuth 2.0";
14849
+ base_url: string;
14850
+ doi_url?: string | null | undefined;
14851
+ external_url?: string | null | undefined;
14852
+ originality?: "original" | "derivative" | "third-party" | undefined;
14853
+ source?: string | null | undefined;
14854
+ version?: string | null | undefined;
14855
+ spec_path?: string | null | undefined;
14856
+ auth_token?: string | null | undefined;
14857
+ auth_url?: string | null | undefined;
14858
+ };
14859
+ created_at: string;
14860
+ last_updated: string;
14861
+ name: string;
14862
+ team_id: string | null;
14863
+ visibility: "organization" | "public" | "private" | "monetized" | "inherit";
14864
+ state: "queued" | "in-progress" | "success" | "error";
14865
+ description?: string | null | undefined;
14866
+ parent_id?: string | null | undefined;
14867
+ parent?: Record<string, any> | undefined;
14868
+ license_id?: string | undefined;
14869
+ name_url_slug?: string | null | undefined;
14870
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
14871
+ price?: number | null | undefined;
14872
+ unit_cost?: number | null | undefined;
14873
+ cost_accounting?: "fixed" | "variable" | null | undefined;
14874
+ cost_unit?: string | null | undefined;
14875
+ preview?: Record<string, any>[] | null | undefined;
14876
+ }, {
14877
+ asset_type: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
14878
+ metadata: {
14879
+ authentication: "Personal Access Token" | "Ouro" | "None" | "OAuth 2.0";
14880
+ base_url: string;
14881
+ doi_url?: string | null | undefined;
14882
+ external_url?: string | null | undefined;
14883
+ originality?: "original" | "derivative" | "third-party" | undefined;
14884
+ source?: string | null | undefined;
14885
+ version?: string | null | undefined;
14886
+ spec_path?: string | null | undefined;
14887
+ auth_token?: string | null | undefined;
14888
+ auth_url?: string | null | undefined;
14889
+ };
14890
+ name: string;
14891
+ id?: string | undefined;
14892
+ org_id?: string | null | undefined;
14893
+ created_at?: string | undefined;
14894
+ last_updated?: string | undefined;
14895
+ team_id?: string | null | undefined;
14896
+ visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
14897
+ description?: string | null | undefined;
14898
+ parent_id?: string | null | undefined;
14899
+ parent?: Record<string, any> | undefined;
14900
+ license_id?: string | undefined;
14901
+ name_url_slug?: string | null | undefined;
14902
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
14903
+ price?: number | null | undefined;
14904
+ unit_cost?: number | null | undefined;
14905
+ cost_accounting?: "fixed" | "variable" | null | undefined;
14906
+ cost_unit?: string | null | undefined;
14907
+ preview?: Record<string, any>[] | null | undefined;
14908
+ state?: "queued" | "in-progress" | "success" | "error" | undefined;
14909
+ }>;
14910
+ declare const UpdateServiceSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
14911
+ id: z.ZodOptional<z.ZodString>;
14912
+ user_id: z.ZodOptional<z.ZodString>;
14913
+ user: z.ZodOptional<z.ZodOptional<z.ZodObject<{
14914
+ id: z.ZodOptional<z.ZodString>;
14915
+ user_id: z.ZodOptional<z.ZodString>;
14916
+ username: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
14917
+ avatar_path: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
14918
+ bio: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
14919
+ urls: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
14920
+ value: z.ZodString;
14921
+ }, "strip", z.ZodTypeAny, {
14922
+ value: string;
14923
+ }, {
14924
+ value: string;
14925
+ }>, "many">>>;
14926
+ post_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
14927
+ is_agent: z.ZodOptional<z.ZodBoolean>;
14928
+ plan_type: z.ZodOptional<z.ZodEnum<["free", "gold"]>>;
14929
+ last_active: z.ZodOptional<z.ZodString>;
14930
+ }, "strip", z.ZodTypeAny, {
14931
+ id?: string | undefined;
14932
+ user_id?: string | undefined;
14933
+ username?: string | null | undefined;
14934
+ avatar_path?: string | null | undefined;
14935
+ bio?: string | null | undefined;
14936
+ urls?: {
14937
+ value: string;
14938
+ }[] | undefined;
14939
+ post_id?: string | null | undefined;
14940
+ is_agent?: boolean | undefined;
14941
+ plan_type?: "free" | "gold" | undefined;
14942
+ last_active?: string | undefined;
14943
+ }, {
14944
+ id?: string | undefined;
14945
+ user_id?: string | undefined;
14946
+ username?: string | null | undefined;
14947
+ avatar_path?: string | null | undefined;
14948
+ bio?: string | null | undefined;
14949
+ urls?: {
14950
+ value: string;
14951
+ }[] | undefined;
14952
+ post_id?: string | null | undefined;
14953
+ is_agent?: boolean | undefined;
14954
+ plan_type?: "free" | "gold" | undefined;
14955
+ last_active?: string | undefined;
14956
+ }>>>;
14957
+ org_id: z.ZodOptional<z.ZodString>;
14958
+ organization: z.ZodOptional<z.ZodOptional<z.ZodObject<{
14959
+ id: z.ZodOptional<z.ZodString>;
14960
+ name: z.ZodOptional<z.ZodString>;
14961
+ avatar_path: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
14962
+ mission: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
14963
+ size: z.ZodOptional<z.ZodString>;
14964
+ email: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
14965
+ domain: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
14966
+ urls: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
14967
+ value: z.ZodString;
14968
+ }, "strip", z.ZodTypeAny, {
14969
+ value: string;
14970
+ }, {
14971
+ value: string;
14972
+ }>, "many">>>>;
14973
+ base_role: z.ZodOptional<z.ZodDefault<z.ZodEnum<["admin", "read", "write", "none"]>>>;
14974
+ }, "strip", z.ZodTypeAny, {
14975
+ id?: string | undefined;
14976
+ avatar_path?: string | null | undefined;
14977
+ urls?: {
14978
+ value: string;
14979
+ }[] | null | undefined;
14980
+ name?: string | undefined;
14981
+ mission?: string | null | undefined;
14982
+ size?: string | undefined;
14983
+ email?: string | null | undefined;
14984
+ domain?: string | null | undefined;
14985
+ base_role?: "admin" | "read" | "write" | "none" | undefined;
14986
+ }, {
14987
+ id?: string | undefined;
14988
+ avatar_path?: string | null | undefined;
14989
+ urls?: {
14990
+ value: string;
14991
+ }[] | null | undefined;
14992
+ name?: string | undefined;
14993
+ mission?: string | null | undefined;
14994
+ size?: string | undefined;
14995
+ email?: string | null | undefined;
14996
+ domain?: string | null | undefined;
14997
+ base_role?: "admin" | "read" | "write" | "none" | undefined;
14998
+ }>>>;
14999
+ team_id: z.ZodOptional<z.ZodString>;
15000
+ team: z.ZodOptional<z.ZodOptional<z.ZodObject<{
15001
+ id: z.ZodOptional<z.ZodString>;
15002
+ org_id: z.ZodOptional<z.ZodString>;
15003
+ organization: z.ZodOptional<z.ZodObject<{
15004
+ id: z.ZodString;
15005
+ name: z.ZodString;
15006
+ avatar_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15007
+ mission: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15008
+ size: z.ZodString;
15009
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15010
+ domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15011
+ urls: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
15012
+ value: z.ZodString;
15013
+ }, "strip", z.ZodTypeAny, {
15014
+ value: string;
15015
+ }, {
15016
+ value: string;
15017
+ }>, "many">>>;
15018
+ base_role: z.ZodDefault<z.ZodEnum<["admin", "read", "write", "none"]>>;
15019
+ }, "strip", z.ZodTypeAny, {
15020
+ id: string;
15021
+ name: string;
15022
+ size: string;
15023
+ base_role: "admin" | "read" | "write" | "none";
15024
+ avatar_path?: string | null | undefined;
15025
+ urls?: {
15026
+ value: string;
15027
+ }[] | null | undefined;
15028
+ mission?: string | null | undefined;
15029
+ email?: string | null | undefined;
15030
+ domain?: string | null | undefined;
15031
+ }, {
15032
+ id: string;
15033
+ name: string;
15034
+ size: string;
15035
+ avatar_path?: string | null | undefined;
15036
+ urls?: {
15037
+ value: string;
15038
+ }[] | null | undefined;
15039
+ mission?: string | null | undefined;
15040
+ email?: string | null | undefined;
15041
+ domain?: string | null | undefined;
15042
+ base_role?: "admin" | "read" | "write" | "none" | undefined;
15043
+ }>>;
15044
+ name: z.ZodOptional<z.ZodString>;
15045
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
15046
+ default_role: z.ZodOptional<z.ZodEnum<["admin", "read", "write", "none"]>>;
15047
+ visibility: z.ZodOptional<z.ZodEnum<["public", "private", "organization", "monetized", "inherit"]>>;
15048
+ userMembership: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
15049
+ user_id: z.ZodString;
15050
+ role: z.ZodEnum<["admin", "read", "write", "none"]>;
15051
+ }, "strip", z.ZodTypeAny, {
15052
+ user_id: string;
15053
+ role: "admin" | "read" | "write" | "none";
15054
+ }, {
15055
+ user_id: string;
15056
+ role: "admin" | "read" | "write" | "none";
15057
+ }>>>>;
15058
+ memberCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
15059
+ members: z.ZodOptional<z.ZodArray<z.ZodObject<{
15060
+ user_id: z.ZodString;
15061
+ role: z.ZodEnum<["admin", "read", "write", "none"]>;
15062
+ added_at: z.ZodString;
15063
+ user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
15064
+ id: z.ZodOptional<z.ZodString>;
15065
+ user_id: z.ZodOptional<z.ZodString>;
15066
+ username: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
15067
+ avatar_path: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
15068
+ bio: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
15069
+ urls: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
15070
+ value: z.ZodString;
15071
+ }, "strip", z.ZodTypeAny, {
15072
+ value: string;
15073
+ }, {
15074
+ value: string;
15075
+ }>, "many">>>;
15076
+ post_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
15077
+ is_agent: z.ZodOptional<z.ZodBoolean>;
15078
+ plan_type: z.ZodOptional<z.ZodEnum<["free", "gold"]>>;
15079
+ last_active: z.ZodOptional<z.ZodString>;
15080
+ }, "strip", z.ZodTypeAny, {
15081
+ id?: string | undefined;
15082
+ user_id?: string | undefined;
15083
+ username?: string | null | undefined;
15084
+ avatar_path?: string | null | undefined;
15085
+ bio?: string | null | undefined;
15086
+ urls?: {
15087
+ value: string;
15088
+ }[] | undefined;
15089
+ post_id?: string | null | undefined;
15090
+ is_agent?: boolean | undefined;
15091
+ plan_type?: "free" | "gold" | undefined;
15092
+ last_active?: string | undefined;
15093
+ }, {
15094
+ id?: string | undefined;
15095
+ user_id?: string | undefined;
15096
+ username?: string | null | undefined;
15097
+ avatar_path?: string | null | undefined;
15098
+ bio?: string | null | undefined;
15099
+ urls?: {
15100
+ value: string;
15101
+ }[] | undefined;
15102
+ post_id?: string | null | undefined;
15103
+ is_agent?: boolean | undefined;
15104
+ plan_type?: "free" | "gold" | undefined;
15105
+ last_active?: string | undefined;
15106
+ }>>>;
15107
+ }, "strip", z.ZodTypeAny, {
15108
+ user_id: string;
15109
+ role: "admin" | "read" | "write" | "none";
15110
+ added_at: string;
15111
+ user?: {
15112
+ id?: string | undefined;
15113
+ user_id?: string | undefined;
15114
+ username?: string | null | undefined;
15115
+ avatar_path?: string | null | undefined;
15116
+ bio?: string | null | undefined;
15117
+ urls?: {
15118
+ value: string;
15119
+ }[] | undefined;
15120
+ post_id?: string | null | undefined;
15121
+ is_agent?: boolean | undefined;
15122
+ plan_type?: "free" | "gold" | undefined;
15123
+ last_active?: string | undefined;
15124
+ } | null | undefined;
15125
+ }, {
15126
+ user_id: string;
15127
+ role: "admin" | "read" | "write" | "none";
15128
+ added_at: string;
15129
+ user?: {
15130
+ id?: string | undefined;
15131
+ user_id?: string | undefined;
15132
+ username?: string | null | undefined;
15133
+ avatar_path?: string | null | undefined;
15134
+ bio?: string | null | undefined;
15135
+ urls?: {
15136
+ value: string;
15137
+ }[] | undefined;
15138
+ post_id?: string | null | undefined;
15139
+ is_agent?: boolean | undefined;
15140
+ plan_type?: "free" | "gold" | undefined;
15141
+ last_active?: string | undefined;
15142
+ } | null | undefined;
15143
+ }>, "many">>;
15144
+ created_at: z.ZodOptional<z.ZodString>;
15145
+ }, "strip", z.ZodTypeAny, {
15146
+ organization?: {
15147
+ id: string;
15148
+ name: string;
15149
+ size: string;
15150
+ base_role: "admin" | "read" | "write" | "none";
15151
+ avatar_path?: string | null | undefined;
15152
+ urls?: {
15153
+ value: string;
15154
+ }[] | null | undefined;
15155
+ mission?: string | null | undefined;
15156
+ email?: string | null | undefined;
15157
+ domain?: string | null | undefined;
15158
+ } | undefined;
15159
+ id?: string | undefined;
15160
+ org_id?: string | undefined;
15161
+ created_at?: string | undefined;
15162
+ name?: string | undefined;
15163
+ visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
15164
+ description?: string | null | undefined;
15165
+ default_role?: "admin" | "read" | "write" | "none" | undefined;
15166
+ userMembership?: {
15167
+ user_id: string;
15168
+ role: "admin" | "read" | "write" | "none";
15169
+ } | null | undefined;
15170
+ memberCount?: number | null | undefined;
15171
+ members?: {
15172
+ user_id: string;
15173
+ role: "admin" | "read" | "write" | "none";
15174
+ added_at: string;
15175
+ user?: {
15176
+ id?: string | undefined;
15177
+ user_id?: string | undefined;
15178
+ username?: string | null | undefined;
15179
+ avatar_path?: string | null | undefined;
15180
+ bio?: string | null | undefined;
15181
+ urls?: {
15182
+ value: string;
15183
+ }[] | undefined;
15184
+ post_id?: string | null | undefined;
15185
+ is_agent?: boolean | undefined;
15186
+ plan_type?: "free" | "gold" | undefined;
15187
+ last_active?: string | undefined;
15188
+ } | null | undefined;
15189
+ }[] | undefined;
15190
+ }, {
15191
+ organization?: {
15192
+ id: string;
15193
+ name: string;
15194
+ size: string;
15195
+ avatar_path?: string | null | undefined;
15196
+ urls?: {
15197
+ value: string;
15198
+ }[] | null | undefined;
15199
+ mission?: string | null | undefined;
15200
+ email?: string | null | undefined;
15201
+ domain?: string | null | undefined;
15202
+ base_role?: "admin" | "read" | "write" | "none" | undefined;
15203
+ } | undefined;
15204
+ id?: string | undefined;
15205
+ org_id?: string | undefined;
15206
+ created_at?: string | undefined;
15207
+ name?: string | undefined;
15208
+ visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
15209
+ description?: string | null | undefined;
15210
+ default_role?: "admin" | "read" | "write" | "none" | undefined;
15211
+ userMembership?: {
15212
+ user_id: string;
15213
+ role: "admin" | "read" | "write" | "none";
15214
+ } | null | undefined;
15215
+ memberCount?: number | null | undefined;
15216
+ members?: {
15217
+ user_id: string;
15218
+ role: "admin" | "read" | "write" | "none";
15219
+ added_at: string;
15220
+ user?: {
15221
+ id?: string | undefined;
15222
+ user_id?: string | undefined;
15223
+ username?: string | null | undefined;
15224
+ avatar_path?: string | null | undefined;
15225
+ bio?: string | null | undefined;
15226
+ urls?: {
15227
+ value: string;
15228
+ }[] | undefined;
15229
+ post_id?: string | null | undefined;
15230
+ is_agent?: boolean | undefined;
15231
+ plan_type?: "free" | "gold" | undefined;
15232
+ last_active?: string | undefined;
15233
+ } | null | undefined;
15234
+ }[] | undefined;
15235
+ }>>>;
15236
+ parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
15237
+ parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
15238
+ license_id: z.ZodOptional<z.ZodString>;
15239
+ license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
15240
+ name: z.ZodOptional<z.ZodString>;
15241
+ name_url_slug: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
15242
+ slug: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
15243
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
15244
+ visibility: z.ZodOptional<z.ZodEnum<["public", "private", "organization", "monetized", "inherit"]>>;
15245
+ monetization: z.ZodOptional<z.ZodEnum<["none", "pay-to-unlock", "pay-per-use"]>>;
15246
+ price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
15247
+ unit_cost: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
15248
+ cost_accounting: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<["fixed", "variable"]>>>>;
15249
+ cost_unit: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
15250
+ preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>>;
15251
+ state: z.ZodOptional<z.ZodEnum<["queued", "in-progress", "success", "error"]>>;
15252
+ created_at: z.ZodOptional<z.ZodString>;
15253
+ last_updated: z.ZodOptional<z.ZodString>;
15254
+ asset_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>, "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication", "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication">>;
15255
+ metadata: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
15256
+ authentication: z.ZodEnum<["Personal Access Token", "Ouro", "None", "OAuth 2.0"]>;
15257
+ base_url: z.ZodString;
15258
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15259
+ spec_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15260
+ auth_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15261
+ auth_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15262
+ }, {
15263
+ doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
15264
+ external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
15265
+ originality: z.ZodOptional<z.ZodEnum<["original", "derivative", "third-party"]>>;
15266
+ source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
15267
+ }>, "strip", z.ZodTypeAny, {
15268
+ authentication: "Personal Access Token" | "Ouro" | "None" | "OAuth 2.0";
15269
+ base_url: string;
15270
+ doi_url?: string | null | undefined;
15271
+ external_url?: string | null | undefined;
15272
+ originality?: "original" | "derivative" | "third-party" | undefined;
15273
+ source?: string | null | undefined;
15274
+ version?: string | null | undefined;
15275
+ spec_path?: string | null | undefined;
15276
+ auth_token?: string | null | undefined;
15277
+ auth_url?: string | null | undefined;
15278
+ }, {
15279
+ authentication: "Personal Access Token" | "Ouro" | "None" | "OAuth 2.0";
15280
+ base_url: string;
15281
+ doi_url?: string | null | undefined;
15282
+ external_url?: string | null | undefined;
15283
+ originality?: "original" | "derivative" | "third-party" | undefined;
15284
+ source?: string | null | undefined;
15285
+ version?: string | null | undefined;
15286
+ spec_path?: string | null | undefined;
15287
+ auth_token?: string | null | undefined;
15288
+ auth_url?: string | null | undefined;
15289
+ }>>;
15290
+ }, "user" | "organization" | "team" | "id" | "user_id" | "created_at" | "last_updated" | "slug">, {
15291
+ last_updated: z.ZodDefault<z.ZodString>;
15292
+ }>, "strip", z.ZodTypeAny, {
15293
+ last_updated: string;
15294
+ org_id?: string | undefined;
15295
+ asset_type?: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
15296
+ metadata?: {
15297
+ authentication: "Personal Access Token" | "Ouro" | "None" | "OAuth 2.0";
15298
+ base_url: string;
15299
+ doi_url?: string | null | undefined;
15300
+ external_url?: string | null | undefined;
15301
+ originality?: "original" | "derivative" | "third-party" | undefined;
15302
+ source?: string | null | undefined;
15303
+ version?: string | null | undefined;
15304
+ spec_path?: string | null | undefined;
15305
+ auth_token?: string | null | undefined;
15306
+ auth_url?: string | null | undefined;
15307
+ } | undefined;
15308
+ name?: string | undefined;
15309
+ team_id?: string | undefined;
15310
+ visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
15311
+ description?: string | null | undefined;
15312
+ parent_id?: string | null | undefined;
15313
+ parent?: Record<string, any> | undefined;
15314
+ license_id?: string | undefined;
15315
+ license?: Record<string, any> | undefined;
15316
+ name_url_slug?: string | null | undefined;
15317
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
15318
+ price?: number | null | undefined;
15319
+ unit_cost?: number | null | undefined;
15320
+ cost_accounting?: "fixed" | "variable" | null | undefined;
15321
+ cost_unit?: string | null | undefined;
15322
+ preview?: Record<string, any>[] | null | undefined;
15323
+ state?: "queued" | "in-progress" | "success" | "error" | undefined;
15324
+ }, {
15325
+ org_id?: string | undefined;
15326
+ asset_type?: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
15327
+ metadata?: {
15328
+ authentication: "Personal Access Token" | "Ouro" | "None" | "OAuth 2.0";
15329
+ base_url: string;
15330
+ doi_url?: string | null | undefined;
15331
+ external_url?: string | null | undefined;
15332
+ originality?: "original" | "derivative" | "third-party" | undefined;
15333
+ source?: string | null | undefined;
15334
+ version?: string | null | undefined;
15335
+ spec_path?: string | null | undefined;
15336
+ auth_token?: string | null | undefined;
15337
+ auth_url?: string | null | undefined;
15338
+ } | undefined;
15339
+ last_updated?: string | undefined;
15340
+ name?: string | undefined;
15341
+ team_id?: string | undefined;
15342
+ visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
15343
+ description?: string | null | undefined;
15344
+ parent_id?: string | null | undefined;
15345
+ parent?: Record<string, any> | undefined;
15346
+ license_id?: string | undefined;
15347
+ license?: Record<string, any> | undefined;
15348
+ name_url_slug?: string | null | undefined;
15349
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
14167
15350
  price?: number | null | undefined;
14168
15351
  unit_cost?: number | null | undefined;
14169
15352
  cost_accounting?: "fixed" | "variable" | null | undefined;
14170
15353
  cost_unit?: string | null | undefined;
14171
15354
  preview?: Record<string, any>[] | null | undefined;
15355
+ state?: "queued" | "in-progress" | "success" | "error" | undefined;
14172
15356
  }>;
14173
- declare const routeDetailSchema: z.ZodObject<{
15357
+ declare const RouteDetailSchema: z.ZodObject<{
14174
15358
  id: z.ZodString;
14175
15359
  user_id: z.ZodString;
14176
15360
  service_id: z.ZodString;
@@ -14222,7 +15406,7 @@ declare const routeDetailSchema: z.ZodObject<{
14222
15406
  security?: Record<string, any> | null | undefined;
14223
15407
  rate_limit?: number | null | undefined;
14224
15408
  }>;
14225
- declare const routeSchema: z.ZodObject<z.objectUtil.extendShape<{
15409
+ declare const RouteSchema: z.ZodObject<z.objectUtil.extendShape<{
14226
15410
  id: z.ZodString;
14227
15411
  user_id: z.ZodString;
14228
15412
  user: z.ZodOptional<z.ZodObject<{
@@ -16476,10 +17660,11 @@ declare const ActionSchema: z.ZodObject<{
16476
17660
  finished_at?: string | null | undefined;
16477
17661
  }>;
16478
17662
 
16479
- type Service = z.infer<typeof serviceSchema>;
16480
- type Route = z.infer<typeof routeSchema>;
16481
- type RouteDetail = z.infer<typeof routeDetailSchema>;
16482
- type AuthType = z.infer<typeof authType>;
17663
+ type Service = z.infer<typeof ServiceSchema>;
17664
+ type Route = z.infer<typeof RouteSchema>;
17665
+ type RouteDetail = z.infer<typeof RouteDetailSchema>;
17666
+ declare const AuthType: z.ZodEnum<["Personal Access Token", "Ouro", "None", "OAuth 2.0"]>;
17667
+ type AuthType = z.infer<typeof AuthType>;
16483
17668
  type Action = z.infer<typeof ActionSchema>;
16484
17669
 
16485
17670
  declare const ReplicationSchema: z.ZodObject<z.objectUtil.extendShape<{
@@ -16845,15 +18030,7 @@ declare const ReplicationSchema: z.ZodObject<z.objectUtil.extendShape<{
16845
18030
  last_updated: z.ZodString;
16846
18031
  }, {
16847
18032
  asset_type: z.ZodEffects<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>, "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication", "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication">;
16848
- metadata: z.ZodObject<{
16849
- schedule: z.ZodOptional<z.ZodObject<{
16850
- cron: z.ZodString;
16851
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
16852
- cron: z.ZodString;
16853
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
16854
- cron: z.ZodString;
16855
- }, z.ZodTypeAny, "passthrough">>>;
16856
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
18033
+ metadata: z.ZodObject<z.objectUtil.extendShape<{
16857
18034
  schedule: z.ZodOptional<z.ZodObject<{
16858
18035
  cron: z.ZodString;
16859
18036
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -16861,26 +18038,41 @@ declare const ReplicationSchema: z.ZodObject<z.objectUtil.extendShape<{
16861
18038
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
16862
18039
  cron: z.ZodString;
16863
18040
  }, z.ZodTypeAny, "passthrough">>>;
16864
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
16865
- schedule: z.ZodOptional<z.ZodObject<{
16866
- cron: z.ZodString;
16867
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
18041
+ }, {
18042
+ doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18043
+ external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18044
+ originality: z.ZodOptional<z.ZodEnum<["original", "derivative", "third-party"]>>;
18045
+ source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18046
+ }>, "strip", z.ZodTypeAny, {
18047
+ doi_url?: string | null | undefined;
18048
+ external_url?: string | null | undefined;
18049
+ originality?: "original" | "derivative" | "third-party" | undefined;
18050
+ source?: string | null | undefined;
18051
+ schedule?: z.objectOutputType<{
16868
18052
  cron: z.ZodString;
16869
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
18053
+ }, z.ZodTypeAny, "passthrough"> | undefined;
18054
+ }, {
18055
+ doi_url?: string | null | undefined;
18056
+ external_url?: string | null | undefined;
18057
+ originality?: "original" | "derivative" | "third-party" | undefined;
18058
+ source?: string | null | undefined;
18059
+ schedule?: z.objectInputType<{
16870
18060
  cron: z.ZodString;
16871
- }, z.ZodTypeAny, "passthrough">>>;
16872
- }, z.ZodTypeAny, "passthrough">>;
18061
+ }, z.ZodTypeAny, "passthrough"> | undefined;
18062
+ }>;
16873
18063
  }>, "strip", z.ZodTypeAny, {
16874
18064
  id: string;
16875
18065
  user_id: string;
16876
18066
  org_id: string;
16877
18067
  asset_type: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
16878
18068
  metadata: {
18069
+ doi_url?: string | null | undefined;
18070
+ external_url?: string | null | undefined;
18071
+ originality?: "original" | "derivative" | "third-party" | undefined;
18072
+ source?: string | null | undefined;
16879
18073
  schedule?: z.objectOutputType<{
16880
18074
  cron: z.ZodString;
16881
18075
  }, z.ZodTypeAny, "passthrough"> | undefined;
16882
- } & {
16883
- [k: string]: unknown;
16884
18076
  };
16885
18077
  created_at: string;
16886
18078
  last_updated: string;
@@ -16980,11 +18172,13 @@ declare const ReplicationSchema: z.ZodObject<z.objectUtil.extendShape<{
16980
18172
  org_id: string;
16981
18173
  asset_type: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
16982
18174
  metadata: {
18175
+ doi_url?: string | null | undefined;
18176
+ external_url?: string | null | undefined;
18177
+ originality?: "original" | "derivative" | "third-party" | undefined;
18178
+ source?: string | null | undefined;
16983
18179
  schedule?: z.objectInputType<{
16984
18180
  cron: z.ZodString;
16985
18181
  }, z.ZodTypeAny, "passthrough"> | undefined;
16986
- } & {
16987
- [k: string]: unknown;
16988
18182
  };
16989
18183
  created_at: string;
16990
18184
  last_updated: string;
@@ -17424,15 +18618,7 @@ declare const CreateReplicationSchema: z.ZodObject<z.objectUtil.extendShape<{
17424
18618
  created_at: z.ZodOptional<z.ZodString>;
17425
18619
  last_updated: z.ZodOptional<z.ZodString>;
17426
18620
  asset_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>, "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication", "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication">>;
17427
- metadata: z.ZodOptional<z.ZodObject<{
17428
- schedule: z.ZodOptional<z.ZodObject<{
17429
- cron: z.ZodString;
17430
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
17431
- cron: z.ZodString;
17432
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
17433
- cron: z.ZodString;
17434
- }, z.ZodTypeAny, "passthrough">>>;
17435
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
18621
+ metadata: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
17436
18622
  schedule: z.ZodOptional<z.ZodObject<{
17437
18623
  cron: z.ZodString;
17438
18624
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -17440,15 +18626,28 @@ declare const CreateReplicationSchema: z.ZodObject<z.objectUtil.extendShape<{
17440
18626
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
17441
18627
  cron: z.ZodString;
17442
18628
  }, z.ZodTypeAny, "passthrough">>>;
17443
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
17444
- schedule: z.ZodOptional<z.ZodObject<{
17445
- cron: z.ZodString;
17446
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
18629
+ }, {
18630
+ doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18631
+ external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18632
+ originality: z.ZodOptional<z.ZodEnum<["original", "derivative", "third-party"]>>;
18633
+ source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18634
+ }>, "strip", z.ZodTypeAny, {
18635
+ doi_url?: string | null | undefined;
18636
+ external_url?: string | null | undefined;
18637
+ originality?: "original" | "derivative" | "third-party" | undefined;
18638
+ source?: string | null | undefined;
18639
+ schedule?: z.objectOutputType<{
17447
18640
  cron: z.ZodString;
17448
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
18641
+ }, z.ZodTypeAny, "passthrough"> | undefined;
18642
+ }, {
18643
+ doi_url?: string | null | undefined;
18644
+ external_url?: string | null | undefined;
18645
+ originality?: "original" | "derivative" | "third-party" | undefined;
18646
+ source?: string | null | undefined;
18647
+ schedule?: z.objectInputType<{
17449
18648
  cron: z.ZodString;
17450
- }, z.ZodTypeAny, "passthrough">>>;
17451
- }, z.ZodTypeAny, "passthrough">>>;
18649
+ }, z.ZodTypeAny, "passthrough"> | undefined;
18650
+ }>>;
17452
18651
  }, {
17453
18652
  id: z.ZodDefault<z.ZodString>;
17454
18653
  team_id: z.ZodDefault<z.ZodString>;
@@ -17534,15 +18733,15 @@ declare const CreateReplicationSchema: z.ZodObject<z.objectUtil.extendShape<{
17534
18733
  } | undefined;
17535
18734
  user_id?: string | undefined;
17536
18735
  asset_type?: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
17537
- metadata?: z.objectOutputType<{
17538
- schedule: z.ZodOptional<z.ZodObject<{
17539
- cron: z.ZodString;
17540
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
17541
- cron: z.ZodString;
17542
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
18736
+ metadata?: {
18737
+ doi_url?: string | null | undefined;
18738
+ external_url?: string | null | undefined;
18739
+ originality?: "original" | "derivative" | "third-party" | undefined;
18740
+ source?: string | null | undefined;
18741
+ schedule?: z.objectOutputType<{
17543
18742
  cron: z.ZodString;
17544
- }, z.ZodTypeAny, "passthrough">>>;
17545
- }, z.ZodTypeAny, "passthrough"> | undefined;
18743
+ }, z.ZodTypeAny, "passthrough"> | undefined;
18744
+ } | undefined;
17546
18745
  created_at?: string | undefined;
17547
18746
  last_updated?: string | undefined;
17548
18747
  name?: string | undefined;
@@ -17639,15 +18838,15 @@ declare const CreateReplicationSchema: z.ZodObject<z.objectUtil.extendShape<{
17639
18838
  user_id?: string | undefined;
17640
18839
  org_id?: string | undefined;
17641
18840
  asset_type?: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
17642
- metadata?: z.objectInputType<{
17643
- schedule: z.ZodOptional<z.ZodObject<{
17644
- cron: z.ZodString;
17645
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
17646
- cron: z.ZodString;
17647
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
18841
+ metadata?: {
18842
+ doi_url?: string | null | undefined;
18843
+ external_url?: string | null | undefined;
18844
+ originality?: "original" | "derivative" | "third-party" | undefined;
18845
+ source?: string | null | undefined;
18846
+ schedule?: z.objectInputType<{
17648
18847
  cron: z.ZodString;
17649
- }, z.ZodTypeAny, "passthrough">>>;
17650
- }, z.ZodTypeAny, "passthrough"> | undefined;
18848
+ }, z.ZodTypeAny, "passthrough"> | undefined;
18849
+ } | undefined;
17651
18850
  created_at?: string | undefined;
17652
18851
  last_updated?: string | undefined;
17653
18852
  name?: string | undefined;
@@ -18060,11 +19259,42 @@ declare const BlueprintSchema: z.ZodObject<z.objectUtil.extendShape<{
18060
19259
  last_updated: z.ZodString;
18061
19260
  }, {
18062
19261
  asset_type: z.ZodEffects<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>, "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication", "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication">;
19262
+ metadata: z.ZodObject<z.objectUtil.extendShape<{
19263
+ edges: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">;
19264
+ nodes: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">;
19265
+ }, {
19266
+ doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19267
+ external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19268
+ originality: z.ZodOptional<z.ZodEnum<["original", "derivative", "third-party"]>>;
19269
+ source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19270
+ }>, "strip", z.ZodTypeAny, {
19271
+ edges: Record<string, any>[];
19272
+ nodes: Record<string, any>[];
19273
+ doi_url?: string | null | undefined;
19274
+ external_url?: string | null | undefined;
19275
+ originality?: "original" | "derivative" | "third-party" | undefined;
19276
+ source?: string | null | undefined;
19277
+ }, {
19278
+ edges: Record<string, any>[];
19279
+ nodes: Record<string, any>[];
19280
+ doi_url?: string | null | undefined;
19281
+ external_url?: string | null | undefined;
19282
+ originality?: "original" | "derivative" | "third-party" | undefined;
19283
+ source?: string | null | undefined;
19284
+ }>;
18063
19285
  }>, "strip", z.ZodTypeAny, {
18064
19286
  id: string;
18065
19287
  user_id: string;
18066
19288
  org_id: string;
18067
19289
  asset_type: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
19290
+ metadata: {
19291
+ edges: Record<string, any>[];
19292
+ nodes: Record<string, any>[];
19293
+ doi_url?: string | null | undefined;
19294
+ external_url?: string | null | undefined;
19295
+ originality?: "original" | "derivative" | "third-party" | undefined;
19296
+ source?: string | null | undefined;
19297
+ };
18068
19298
  created_at: string;
18069
19299
  last_updated: string;
18070
19300
  name: string;
@@ -18146,12 +19376,6 @@ declare const BlueprintSchema: z.ZodObject<z.objectUtil.extendShape<{
18146
19376
  } | null | undefined;
18147
19377
  }[] | undefined;
18148
19378
  } | undefined;
18149
- metadata?: {
18150
- originality: "original" | "derivative" | "third-party";
18151
- doi_url?: string | null | undefined;
18152
- external_url?: string | null | undefined;
18153
- source?: string | null | undefined;
18154
- } | null | undefined;
18155
19379
  description?: string | null | undefined;
18156
19380
  parent_id?: string | null | undefined;
18157
19381
  parent?: Record<string, any> | undefined;
@@ -18168,6 +19392,14 @@ declare const BlueprintSchema: z.ZodObject<z.objectUtil.extendShape<{
18168
19392
  user_id: string;
18169
19393
  org_id: string;
18170
19394
  asset_type: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
19395
+ metadata: {
19396
+ edges: Record<string, any>[];
19397
+ nodes: Record<string, any>[];
19398
+ doi_url?: string | null | undefined;
19399
+ external_url?: string | null | undefined;
19400
+ originality?: "original" | "derivative" | "third-party" | undefined;
19401
+ source?: string | null | undefined;
19402
+ };
18171
19403
  created_at: string;
18172
19404
  last_updated: string;
18173
19405
  name: string;
@@ -18249,12 +19481,6 @@ declare const BlueprintSchema: z.ZodObject<z.objectUtil.extendShape<{
18249
19481
  } | null | undefined;
18250
19482
  }[] | undefined;
18251
19483
  } | undefined;
18252
- metadata?: {
18253
- originality: "original" | "derivative" | "third-party";
18254
- doi_url?: string | null | undefined;
18255
- external_url?: string | null | undefined;
18256
- source?: string | null | undefined;
18257
- } | null | undefined;
18258
19484
  description?: string | null | undefined;
18259
19485
  parent_id?: string | null | undefined;
18260
19486
  parent?: Record<string, any> | undefined;
@@ -18633,22 +19859,41 @@ declare const CreateBlueprintSchema: z.ZodObject<z.objectUtil.extendShape<{
18633
19859
  team_id: z.ZodDefault<z.ZodString>;
18634
19860
  org_id: z.ZodDefault<z.ZodString>;
18635
19861
  name_url_slug: z.ZodString;
18636
- metadata: z.ZodObject<{
19862
+ metadata: z.ZodObject<z.objectUtil.extendShape<{
18637
19863
  edges: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">;
18638
19864
  nodes: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">;
18639
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
19865
+ }, {
19866
+ doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19867
+ external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19868
+ originality: z.ZodOptional<z.ZodEnum<["original", "derivative", "third-party"]>>;
19869
+ source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19870
+ }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
18640
19871
  edges: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">;
18641
19872
  nodes: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">;
18642
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
19873
+ }, {
19874
+ doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19875
+ external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19876
+ originality: z.ZodOptional<z.ZodEnum<["original", "derivative", "third-party"]>>;
19877
+ source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19878
+ }>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
18643
19879
  edges: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">;
18644
19880
  nodes: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">;
18645
- }, z.ZodTypeAny, "passthrough">>;
19881
+ }, {
19882
+ doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19883
+ external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19884
+ originality: z.ZodOptional<z.ZodEnum<["original", "derivative", "third-party"]>>;
19885
+ source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19886
+ }>, z.ZodTypeAny, "passthrough">>;
18646
19887
  }>, "strip", z.ZodTypeAny, {
18647
19888
  id: string;
18648
19889
  org_id: string;
18649
19890
  metadata: {
18650
19891
  edges: Record<string, any>[];
18651
19892
  nodes: Record<string, any>[];
19893
+ doi_url?: string | null | undefined;
19894
+ external_url?: string | null | undefined;
19895
+ originality?: "original" | "derivative" | "third-party" | undefined;
19896
+ source?: string | null | undefined;
18652
19897
  } & {
18653
19898
  [k: string]: unknown;
18654
19899
  };
@@ -18750,6 +19995,10 @@ declare const CreateBlueprintSchema: z.ZodObject<z.objectUtil.extendShape<{
18750
19995
  metadata: {
18751
19996
  edges: Record<string, any>[];
18752
19997
  nodes: Record<string, any>[];
19998
+ doi_url?: string | null | undefined;
19999
+ external_url?: string | null | undefined;
20000
+ originality?: "original" | "derivative" | "third-party" | undefined;
20001
+ source?: string | null | undefined;
18753
20002
  } & {
18754
20003
  [k: string]: unknown;
18755
20004
  };
@@ -18950,4 +20199,4 @@ declare function getReferencesInContent(json: Content["json"]): {
18950
20199
  assets: InlineAssetAttrs[];
18951
20200
  };
18952
20201
 
18953
- export { type Action, ActionSchema, type Asset, type AssetMetadata, AssetMetadataSchema, AssetSchema, AssetTypeSchema, type AssetTypes, type AuthType, type Blueprint, BlueprintSchema, type Comment, CommentSchema, type Connection, ConnectionSchema, type Content, ContentSchema, type Conversation, ConversationSchema, type CreateAsset, CreateAssetSchema, type CreateBlueprint, CreateBlueprintSchema, type CreateComment, CreateCommentSchema, type CreateConversation, CreateConversationSchema, CreateDatasetFromFileSchema, CreateDatasetFromSchemaSchema, type CreateFile, CreateFileSchema, type CreateFromFileDataset, type CreateFromSchemaDataset, type CreatePost, CreatePostSchema, type CreateReplication, CreateReplicationSchema, type CreateTeam, CreateTeamSchema, type Dataset, DatasetSchema, type Embedding, EmbeddingSchema, type File, FileSchema, type ListPosts, ListPostsSchema, type Membership, MembershipSchema, type Message, MessageSchema, type Monetization, MonetizationSchema, type Notification, NotificationSchema, type Organization, OrganizationsSchema, type Permission, PermissionSchema, type Post, PostSchema, type Profile, ProfileSchema, type PurchaseAsset, PurchaseAssetSchema, type Reaction, type ReadPost, ReadPostSchema, type ReadPosts, ReadPostsSchema, type ReadProfile, ReadProfileSchema, type ReadTeam, ReadTeamSchema, type ReadTeams, ReadTeamsSchema, type Replication, ReplicationSchema, type Role, RoleSchema, type Route, type RouteDetail, type Service, type Status, StatusSchema, type Team, TeamSchema, type TipTap, TipTapSchema, type UpdateAsset, UpdateAssetSchema, type UpdateBlueprint, UpdateBlueprintSchema, type UpdateConversation, UpdateConversationSchema, type UpdateDataset, type UpdateFile, type UpdatePost, UpdatePostSchema, type UpdateProfile, UpdateProfileSchema, type UpdateReplication, UpdateReplicationSchema, type UpdateTeam, UpdateTeamSchema, type Visibility, VisibilitySchema, authType, createNameUrlSlug, createUrlSlug, filterListToString, getAssetUrl, getReferencesInContent, parseMarkdown, reactionSchema, routeSchema, serviceSchema, updateDatasetSchema, updateFileSchema };
20202
+ export { type Action, ActionSchema, type Asset, type AssetMetadata, AssetMetadataSchema, AssetSchema, AssetTypeSchema, type AssetTypes, AuthType, type Blueprint, BlueprintSchema, type Comment, CommentSchema, type Connection, ConnectionSchema, type Content, ContentSchema, type Conversation, ConversationSchema, type CreateAsset, CreateAssetSchema, type CreateBlueprint, CreateBlueprintSchema, type CreateComment, CreateCommentSchema, type CreateConversation, CreateConversationSchema, CreateDatasetFromFileSchema, CreateDatasetFromSchemaSchema, type CreateFile, CreateFileSchema, type CreateFromFileDataset, type CreateFromSchemaDataset, type CreatePost, CreatePostSchema, type CreateReplication, CreateReplicationSchema, CreateServiceSchema, type CreateTeam, CreateTeamSchema, type Dataset, DatasetSchema, type Embedding, EmbeddingSchema, type File, FileSchema, type ListPosts, ListPostsSchema, type Membership, MembershipSchema, type Message, MessageSchema, type Monetization, MonetizationSchema, type Notification, NotificationSchema, type Organization, OrganizationsSchema, type Permission, PermissionSchema, type Post, PostSchema, type Profile, ProfileSchema, type PurchaseAsset, PurchaseAssetSchema, type Reaction, type ReadPost, ReadPostSchema, type ReadPosts, ReadPostsSchema, type ReadProfile, ReadProfileSchema, type ReadTeam, ReadTeamSchema, type ReadTeams, ReadTeamsSchema, type Replication, ReplicationSchema, type Role, RoleSchema, type Route, type RouteDetail, RouteSchema, type Service, ServiceSchema, type Status, StatusSchema, type Team, TeamSchema, type TipTap, TipTapSchema, type UpdateAsset, UpdateAssetSchema, type UpdateBlueprint, UpdateBlueprintSchema, type UpdateConversation, UpdateConversationSchema, type UpdateDataset, type UpdateFile, type UpdatePost, UpdatePostSchema, type UpdateProfile, UpdateProfileSchema, type UpdateReplication, UpdateReplicationSchema, UpdateServiceSchema, type UpdateTeam, UpdateTeamSchema, type Visibility, VisibilitySchema, createNameUrlSlug, createUrlSlug, filterListToString, getAssetUrl, getReferencesInContent, parseMarkdown, reactionSchema, updateDatasetSchema, updateFileSchema };