@ourofoundation/ouro-js 3.2.5 → 3.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (144) hide show
  1. package/dist/chunk-36UOEIZN.js +2 -0
  2. package/dist/chunk-36UOEIZN.js.map +1 -0
  3. package/dist/chunk-43KB23BA.cjs +2 -0
  4. package/dist/chunk-43KB23BA.cjs.map +1 -0
  5. package/dist/{chunk-7RF362MN.cjs → chunk-4K6R6FZD.cjs} +2 -2
  6. package/dist/{chunk-7RF362MN.cjs.map → chunk-4K6R6FZD.cjs.map} +1 -1
  7. package/dist/chunk-4KDHR4VP.js +2 -0
  8. package/dist/chunk-4KDHR4VP.js.map +1 -0
  9. package/dist/{chunk-SKQ6BRPY.js → chunk-6YF2RSXS.js} +2 -2
  10. package/dist/{chunk-SKQ6BRPY.js.map → chunk-6YF2RSXS.js.map} +1 -1
  11. package/dist/{chunk-TGAK4B5M.js → chunk-B4225TEG.js} +2 -2
  12. package/dist/{chunk-TGAK4B5M.js.map → chunk-B4225TEG.js.map} +1 -1
  13. package/dist/{chunk-Q34MIANF.js → chunk-BFBGVGNF.js} +2 -2
  14. package/dist/{chunk-Q34MIANF.js.map → chunk-BFBGVGNF.js.map} +1 -1
  15. package/dist/{chunk-OFSSOFOC.cjs → chunk-BQ5WODME.cjs} +2 -2
  16. package/dist/{chunk-OFSSOFOC.cjs.map → chunk-BQ5WODME.cjs.map} +1 -1
  17. package/dist/{chunk-WYHO26N6.js → chunk-CF56NFUG.js} +2 -2
  18. package/dist/{chunk-WYHO26N6.js.map → chunk-CF56NFUG.js.map} +1 -1
  19. package/dist/chunk-CIWFH5BJ.js +2 -0
  20. package/dist/chunk-CIWFH5BJ.js.map +1 -0
  21. package/dist/chunk-G24BRDHO.cjs +2 -0
  22. package/dist/chunk-G24BRDHO.cjs.map +1 -0
  23. package/dist/{chunk-KZOOYWQ7.js → chunk-G2MXCB7Q.js} +2 -2
  24. package/dist/{chunk-KZOOYWQ7.js.map → chunk-G2MXCB7Q.js.map} +1 -1
  25. package/dist/{chunk-FQ4F7DQH.cjs → chunk-IP4OVRZB.cjs} +2 -2
  26. package/dist/{chunk-FQ4F7DQH.cjs.map → chunk-IP4OVRZB.cjs.map} +1 -1
  27. package/dist/chunk-IU7AKVYI.cjs +2 -0
  28. package/dist/chunk-IU7AKVYI.cjs.map +1 -0
  29. package/dist/{chunk-XIH622YH.js → chunk-JISPX5A6.js} +2 -2
  30. package/dist/{chunk-XIH622YH.js.map → chunk-JISPX5A6.js.map} +1 -1
  31. package/dist/{chunk-KYK27OHG.cjs → chunk-MH4A7XAY.cjs} +2 -2
  32. package/dist/{chunk-KYK27OHG.cjs.map → chunk-MH4A7XAY.cjs.map} +1 -1
  33. package/dist/chunk-NEINJFFK.cjs +2 -0
  34. package/dist/{chunk-CVFVOARW.cjs.map → chunk-NEINJFFK.cjs.map} +1 -1
  35. package/dist/chunk-NRZCTFCQ.cjs +2 -0
  36. package/dist/chunk-NRZCTFCQ.cjs.map +1 -0
  37. package/dist/{chunk-P5JYABNP.cjs → chunk-QT3A4ULM.cjs} +2 -2
  38. package/dist/{chunk-P5JYABNP.cjs.map → chunk-QT3A4ULM.cjs.map} +1 -1
  39. package/dist/{chunk-7SSENGQL.js → chunk-U3F23ASS.js} +2 -2
  40. package/dist/{chunk-7SSENGQL.js.map → chunk-U3F23ASS.js.map} +1 -1
  41. package/dist/chunk-UY43EQTO.cjs +2 -0
  42. package/dist/{chunk-IW4MZW5P.cjs.map → chunk-UY43EQTO.cjs.map} +1 -1
  43. package/dist/{chunk-OIPOIY6M.cjs → chunk-VOY623ZD.cjs} +2 -2
  44. package/dist/{chunk-OIPOIY6M.cjs.map → chunk-VOY623ZD.cjs.map} +1 -1
  45. package/dist/{chunk-MB4EEZKP.js → chunk-WLGOABHV.js} +2 -2
  46. package/dist/{chunk-MB4EEZKP.js.map → chunk-WLGOABHV.js.map} +1 -1
  47. package/dist/chunk-WRHPQNEL.js +2 -0
  48. package/dist/chunk-WRHPQNEL.js.map +1 -0
  49. package/dist/{chunk-V5DSXK34.cjs → chunk-WUC5AUUJ.cjs} +2 -2
  50. package/dist/{chunk-V5DSXK34.cjs.map → chunk-WUC5AUUJ.cjs.map} +1 -1
  51. package/dist/{chunk-XWUYZSVO.js → chunk-Y6AKG4FJ.js} +2 -2
  52. package/dist/{chunk-XWUYZSVO.js.map → chunk-Y6AKG4FJ.js.map} +1 -1
  53. package/dist/index.cjs +1 -1
  54. package/dist/index.d.cts +3 -3
  55. package/dist/index.d.ts +3 -3
  56. package/dist/index.js +1 -1
  57. package/dist/schema/assets.cjs +1 -1
  58. package/dist/schema/assets.d.cts +77 -83
  59. package/dist/schema/assets.d.ts +77 -83
  60. package/dist/schema/assets.js +1 -1
  61. package/dist/schema/comments.cjs +1 -1
  62. package/dist/schema/comments.d.cts +73 -73
  63. package/dist/schema/comments.d.ts +73 -73
  64. package/dist/schema/comments.js +1 -1
  65. package/dist/schema/common.cjs +1 -1
  66. package/dist/schema/common.d.cts +10 -21
  67. package/dist/schema/common.d.ts +10 -21
  68. package/dist/schema/common.js +1 -1
  69. package/dist/schema/conversations.cjs +1 -1
  70. package/dist/schema/conversations.d.cts +62 -64
  71. package/dist/schema/conversations.d.ts +62 -64
  72. package/dist/schema/conversations.js +1 -1
  73. package/dist/schema/datasets.cjs +1 -1
  74. package/dist/schema/datasets.d.cts +97 -97
  75. package/dist/schema/datasets.d.ts +97 -97
  76. package/dist/schema/datasets.js +1 -1
  77. package/dist/schema/events.cjs +2 -0
  78. package/dist/schema/events.cjs.map +1 -0
  79. package/dist/schema/events.d.cts +113 -0
  80. package/dist/schema/events.d.ts +113 -0
  81. package/dist/schema/events.js +2 -0
  82. package/dist/schema/events.js.map +1 -0
  83. package/dist/schema/files.cjs +1 -1
  84. package/dist/schema/files.d.cts +91 -91
  85. package/dist/schema/files.d.ts +91 -91
  86. package/dist/schema/files.js +1 -1
  87. package/dist/schema/notifications.cjs +1 -1
  88. package/dist/schema/notifications.d.cts +1 -3
  89. package/dist/schema/notifications.d.ts +1 -3
  90. package/dist/schema/notifications.js +1 -1
  91. package/dist/schema/organizations.cjs +1 -1
  92. package/dist/schema/organizations.js +1 -1
  93. package/dist/schema/posts.cjs +1 -1
  94. package/dist/schema/posts.d.cts +110 -120
  95. package/dist/schema/posts.d.ts +110 -120
  96. package/dist/schema/posts.js +1 -1
  97. package/dist/schema/quests.cjs +2 -0
  98. package/dist/schema/quests.cjs.map +1 -0
  99. package/dist/schema/quests.d.cts +1140 -0
  100. package/dist/schema/quests.d.ts +1140 -0
  101. package/dist/schema/quests.js +2 -0
  102. package/dist/schema/quests.js.map +1 -0
  103. package/dist/schema/services.cjs +1 -1
  104. package/dist/schema/services.d.cts +141 -114
  105. package/dist/schema/services.d.ts +141 -114
  106. package/dist/schema/services.js +1 -1
  107. package/dist/schema/tags.d.cts +7 -7
  108. package/dist/schema/tags.d.ts +7 -7
  109. package/dist/schema/teams.cjs +1 -1
  110. package/dist/schema/teams.d.cts +15 -15
  111. package/dist/schema/teams.d.ts +15 -15
  112. package/dist/schema/teams.js +1 -1
  113. package/package.json +1 -1
  114. package/scripts/dump-events.ts +10 -0
  115. package/dist/chunk-3ZHWBPGA.cjs +0 -2
  116. package/dist/chunk-3ZHWBPGA.cjs.map +0 -1
  117. package/dist/chunk-5V7HPXUK.js +0 -2
  118. package/dist/chunk-5V7HPXUK.js.map +0 -1
  119. package/dist/chunk-6AK3RVZR.cjs +0 -2
  120. package/dist/chunk-6AK3RVZR.cjs.map +0 -1
  121. package/dist/chunk-6TOGDJKP.cjs +0 -2
  122. package/dist/chunk-6TOGDJKP.cjs.map +0 -1
  123. package/dist/chunk-7ABFUHWW.js +0 -2
  124. package/dist/chunk-7ABFUHWW.js.map +0 -1
  125. package/dist/chunk-BU2S7UEL.js +0 -2
  126. package/dist/chunk-BU2S7UEL.js.map +0 -1
  127. package/dist/chunk-CVFVOARW.cjs +0 -2
  128. package/dist/chunk-D7S2GB7Z.cjs +0 -2
  129. package/dist/chunk-D7S2GB7Z.cjs.map +0 -1
  130. package/dist/chunk-IW4MZW5P.cjs +0 -2
  131. package/dist/chunk-JPCZIGX2.js +0 -2
  132. package/dist/chunk-JPCZIGX2.js.map +0 -1
  133. package/dist/schema/blueprints.cjs +0 -2
  134. package/dist/schema/blueprints.cjs.map +0 -1
  135. package/dist/schema/blueprints.d.cts +0 -823
  136. package/dist/schema/blueprints.d.ts +0 -823
  137. package/dist/schema/blueprints.js +0 -2
  138. package/dist/schema/blueprints.js.map +0 -1
  139. package/dist/schema/replications.cjs +0 -2
  140. package/dist/schema/replications.cjs.map +0 -1
  141. package/dist/schema/replications.d.cts +0 -827
  142. package/dist/schema/replications.d.ts +0 -827
  143. package/dist/schema/replications.js +0 -2
  144. package/dist/schema/replications.js.map +0 -1
@@ -1,19 +1,17 @@
1
1
  import { z } from 'zod';
2
2
 
3
3
  declare const AssetTypeSchema: z.ZodEnum<{
4
- file: "file";
5
4
  user: "user";
6
5
  organization: "organization";
7
6
  team: "team";
8
7
  dataset: "dataset";
8
+ file: "file";
9
9
  service: "service";
10
10
  route: "route";
11
11
  post: "post";
12
12
  quest: "quest";
13
13
  comment: "comment";
14
14
  conversation: "conversation";
15
- blueprint: "blueprint";
16
- replication: "replication";
17
15
  }>;
18
16
  declare const VisibilitySchema: z.ZodEnum<{
19
17
  organization: "organization";
@@ -44,19 +42,17 @@ declare const EmbeddingSchema: z.ZodObject<{
44
42
  embedding: z.ZodArray<z.ZodNumber>;
45
43
  content: z.ZodString;
46
44
  asset_type: z.ZodEnum<{
47
- file: "file";
48
45
  user: "user";
49
46
  organization: "organization";
50
47
  team: "team";
51
48
  dataset: "dataset";
49
+ file: "file";
52
50
  service: "service";
53
51
  route: "route";
54
52
  post: "post";
55
53
  quest: "quest";
56
54
  comment: "comment";
57
55
  conversation: "conversation";
58
- blueprint: "blueprint";
59
- replication: "replication";
60
56
  }>;
61
57
  asset_id: z.ZodString;
62
58
  metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
@@ -73,39 +69,36 @@ declare const ConnectionSchema: z.ZodObject<{
73
69
  action: "action";
74
70
  component: "component";
75
71
  link: "link";
72
+ completion: "completion";
76
73
  }>;
77
74
  action_id: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
78
75
  source_id: z.ZodUUID;
79
76
  target_id: z.ZodUUID;
80
77
  source_asset_type: z.ZodEnum<{
81
- file: "file";
82
78
  user: "user";
83
79
  organization: "organization";
84
80
  team: "team";
85
81
  dataset: "dataset";
82
+ file: "file";
86
83
  service: "service";
87
84
  route: "route";
88
85
  post: "post";
89
86
  quest: "quest";
90
87
  comment: "comment";
91
88
  conversation: "conversation";
92
- blueprint: "blueprint";
93
- replication: "replication";
94
89
  }>;
95
90
  target_asset_type: z.ZodEnum<{
96
- file: "file";
97
91
  user: "user";
98
92
  organization: "organization";
99
93
  team: "team";
100
94
  dataset: "dataset";
95
+ file: "file";
101
96
  service: "service";
102
97
  route: "route";
103
98
  post: "post";
104
99
  quest: "quest";
105
100
  comment: "comment";
106
101
  conversation: "conversation";
107
- blueprint: "blueprint";
108
- replication: "replication";
109
102
  }>;
110
103
  created_at: z.ZodString;
111
104
  last_updated: z.ZodString;
@@ -113,23 +106,21 @@ declare const ConnectionSchema: z.ZodObject<{
113
106
  declare const PurchaseAssetSchema: z.ZodObject<{
114
107
  assetId: z.ZodUUID;
115
108
  method: z.ZodEnum<{
116
- api: "api";
117
109
  checkout: "checkout";
110
+ api: "api";
118
111
  }>;
119
112
  assetType: z.ZodEnum<{
120
- file: "file";
121
113
  user: "user";
122
114
  organization: "organization";
123
115
  team: "team";
124
116
  dataset: "dataset";
117
+ file: "file";
125
118
  service: "service";
126
119
  route: "route";
127
120
  post: "post";
128
121
  quest: "quest";
129
122
  comment: "comment";
130
123
  conversation: "conversation";
131
- blueprint: "blueprint";
132
- replication: "replication";
133
124
  }>;
134
125
  }, z.core.$strip>;
135
126
  declare const PermissionSchema: z.ZodObject<{
@@ -146,19 +137,17 @@ declare const PermissionSchema: z.ZodObject<{
146
137
  user_id: z.ZodNullable<z.ZodUUID>;
147
138
  org_id: z.ZodNullable<z.ZodUUID>;
148
139
  asset_type: z.ZodEnum<{
149
- file: "file";
150
140
  user: "user";
151
141
  organization: "organization";
152
142
  team: "team";
153
143
  dataset: "dataset";
144
+ file: "file";
154
145
  service: "service";
155
146
  route: "route";
156
147
  post: "post";
157
148
  quest: "quest";
158
149
  comment: "comment";
159
150
  conversation: "conversation";
160
- blueprint: "blueprint";
161
- replication: "replication";
162
151
  }>;
163
152
  asset_id: z.ZodUUID;
164
153
  created_at: z.ZodString;
@@ -166,14 +155,14 @@ declare const PermissionSchema: z.ZodObject<{
166
155
  }, z.core.$strip>;
167
156
  declare const StatusSchema: z.ZodEnum<{
168
157
  success: "success";
169
- error: "error";
170
158
  queued: "queued";
171
159
  "in-progress": "in-progress";
172
160
  "timed-out": "timed-out";
161
+ error: "error";
173
162
  }>;
174
163
  declare const SourceSchema: z.ZodEnum<{
175
- web: "web";
176
164
  api: "api";
165
+ web: "web";
177
166
  }>;
178
167
 
179
168
  type Role = z.infer<typeof RoleSchema>;
@@ -1,19 +1,17 @@
1
1
  import { z } from 'zod';
2
2
 
3
3
  declare const AssetTypeSchema: z.ZodEnum<{
4
- file: "file";
5
4
  user: "user";
6
5
  organization: "organization";
7
6
  team: "team";
8
7
  dataset: "dataset";
8
+ file: "file";
9
9
  service: "service";
10
10
  route: "route";
11
11
  post: "post";
12
12
  quest: "quest";
13
13
  comment: "comment";
14
14
  conversation: "conversation";
15
- blueprint: "blueprint";
16
- replication: "replication";
17
15
  }>;
18
16
  declare const VisibilitySchema: z.ZodEnum<{
19
17
  organization: "organization";
@@ -44,19 +42,17 @@ declare const EmbeddingSchema: z.ZodObject<{
44
42
  embedding: z.ZodArray<z.ZodNumber>;
45
43
  content: z.ZodString;
46
44
  asset_type: z.ZodEnum<{
47
- file: "file";
48
45
  user: "user";
49
46
  organization: "organization";
50
47
  team: "team";
51
48
  dataset: "dataset";
49
+ file: "file";
52
50
  service: "service";
53
51
  route: "route";
54
52
  post: "post";
55
53
  quest: "quest";
56
54
  comment: "comment";
57
55
  conversation: "conversation";
58
- blueprint: "blueprint";
59
- replication: "replication";
60
56
  }>;
61
57
  asset_id: z.ZodString;
62
58
  metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
@@ -73,39 +69,36 @@ declare const ConnectionSchema: z.ZodObject<{
73
69
  action: "action";
74
70
  component: "component";
75
71
  link: "link";
72
+ completion: "completion";
76
73
  }>;
77
74
  action_id: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
78
75
  source_id: z.ZodUUID;
79
76
  target_id: z.ZodUUID;
80
77
  source_asset_type: z.ZodEnum<{
81
- file: "file";
82
78
  user: "user";
83
79
  organization: "organization";
84
80
  team: "team";
85
81
  dataset: "dataset";
82
+ file: "file";
86
83
  service: "service";
87
84
  route: "route";
88
85
  post: "post";
89
86
  quest: "quest";
90
87
  comment: "comment";
91
88
  conversation: "conversation";
92
- blueprint: "blueprint";
93
- replication: "replication";
94
89
  }>;
95
90
  target_asset_type: z.ZodEnum<{
96
- file: "file";
97
91
  user: "user";
98
92
  organization: "organization";
99
93
  team: "team";
100
94
  dataset: "dataset";
95
+ file: "file";
101
96
  service: "service";
102
97
  route: "route";
103
98
  post: "post";
104
99
  quest: "quest";
105
100
  comment: "comment";
106
101
  conversation: "conversation";
107
- blueprint: "blueprint";
108
- replication: "replication";
109
102
  }>;
110
103
  created_at: z.ZodString;
111
104
  last_updated: z.ZodString;
@@ -113,23 +106,21 @@ declare const ConnectionSchema: z.ZodObject<{
113
106
  declare const PurchaseAssetSchema: z.ZodObject<{
114
107
  assetId: z.ZodUUID;
115
108
  method: z.ZodEnum<{
116
- api: "api";
117
109
  checkout: "checkout";
110
+ api: "api";
118
111
  }>;
119
112
  assetType: z.ZodEnum<{
120
- file: "file";
121
113
  user: "user";
122
114
  organization: "organization";
123
115
  team: "team";
124
116
  dataset: "dataset";
117
+ file: "file";
125
118
  service: "service";
126
119
  route: "route";
127
120
  post: "post";
128
121
  quest: "quest";
129
122
  comment: "comment";
130
123
  conversation: "conversation";
131
- blueprint: "blueprint";
132
- replication: "replication";
133
124
  }>;
134
125
  }, z.core.$strip>;
135
126
  declare const PermissionSchema: z.ZodObject<{
@@ -146,19 +137,17 @@ declare const PermissionSchema: z.ZodObject<{
146
137
  user_id: z.ZodNullable<z.ZodUUID>;
147
138
  org_id: z.ZodNullable<z.ZodUUID>;
148
139
  asset_type: z.ZodEnum<{
149
- file: "file";
150
140
  user: "user";
151
141
  organization: "organization";
152
142
  team: "team";
153
143
  dataset: "dataset";
144
+ file: "file";
154
145
  service: "service";
155
146
  route: "route";
156
147
  post: "post";
157
148
  quest: "quest";
158
149
  comment: "comment";
159
150
  conversation: "conversation";
160
- blueprint: "blueprint";
161
- replication: "replication";
162
151
  }>;
163
152
  asset_id: z.ZodUUID;
164
153
  created_at: z.ZodString;
@@ -166,14 +155,14 @@ declare const PermissionSchema: z.ZodObject<{
166
155
  }, z.core.$strip>;
167
156
  declare const StatusSchema: z.ZodEnum<{
168
157
  success: "success";
169
- error: "error";
170
158
  queued: "queued";
171
159
  "in-progress": "in-progress";
172
160
  "timed-out": "timed-out";
161
+ error: "error";
173
162
  }>;
174
163
  declare const SourceSchema: z.ZodEnum<{
175
- web: "web";
176
164
  api: "api";
165
+ web: "web";
177
166
  }>;
178
167
 
179
168
  type Role = z.infer<typeof RoleSchema>;
@@ -1,2 +1,2 @@
1
- export{a as AssetTypeSchema,g as ConnectionSchema,f as EmbeddingSchema,d as MonetizationSchema,i as PermissionSchema,e as PriceCurrencySchema,h as PurchaseAssetSchema,c as RoleSchema,k as SourceSchema,j as StatusSchema,b as VisibilitySchema}from'../chunk-7ABFUHWW.js';//# sourceMappingURL=common.js.map
1
+ export{a as AssetTypeSchema,g as ConnectionSchema,f as EmbeddingSchema,d as MonetizationSchema,i as PermissionSchema,e as PriceCurrencySchema,h as PurchaseAssetSchema,c as RoleSchema,k as SourceSchema,j as StatusSchema,b as VisibilitySchema}from'../chunk-WRHPQNEL.js';//# sourceMappingURL=common.js.map
2
2
  //# sourceMappingURL=common.js.map
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkCVFVOARW_cjs=require('../chunk-CVFVOARW.cjs');require('../chunk-V5DSXK34.cjs'),require('../chunk-FQ4F7DQH.cjs'),require('../chunk-IW4MZW5P.cjs'),require('../chunk-OIPOIY6M.cjs'),require('../chunk-GY6SLMMJ.cjs'),require('../chunk-3ZHWBPGA.cjs'),require('../chunk-7HF5VHUN.cjs');Object.defineProperty(exports,"ConversationSchema",{enumerable:true,get:function(){return chunkCVFVOARW_cjs.a}});Object.defineProperty(exports,"CreateConversationSchema",{enumerable:true,get:function(){return chunkCVFVOARW_cjs.b}});Object.defineProperty(exports,"MessageSchema",{enumerable:true,get:function(){return chunkCVFVOARW_cjs.d}});Object.defineProperty(exports,"UpdateConversationSchema",{enumerable:true,get:function(){return chunkCVFVOARW_cjs.c}});//# sourceMappingURL=conversations.cjs.map
1
+ 'use strict';var chunkNEINJFFK_cjs=require('../chunk-NEINJFFK.cjs');require('../chunk-WUC5AUUJ.cjs'),require('../chunk-IP4OVRZB.cjs'),require('../chunk-UY43EQTO.cjs'),require('../chunk-VOY623ZD.cjs'),require('../chunk-GY6SLMMJ.cjs'),require('../chunk-43KB23BA.cjs'),require('../chunk-7HF5VHUN.cjs');Object.defineProperty(exports,"ConversationSchema",{enumerable:true,get:function(){return chunkNEINJFFK_cjs.a}});Object.defineProperty(exports,"CreateConversationSchema",{enumerable:true,get:function(){return chunkNEINJFFK_cjs.b}});Object.defineProperty(exports,"MessageSchema",{enumerable:true,get:function(){return chunkNEINJFFK_cjs.d}});Object.defineProperty(exports,"UpdateConversationSchema",{enumerable:true,get:function(){return chunkNEINJFFK_cjs.c}});//# sourceMappingURL=conversations.cjs.map
2
2
  //# sourceMappingURL=conversations.cjs.map
@@ -210,31 +210,29 @@ declare const ConversationSchema: z.ZodObject<{
210
210
  preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
211
211
  state: z.ZodEnum<{
212
212
  success: "success";
213
- error: "error";
214
213
  queued: "queued";
215
214
  "in-progress": "in-progress";
216
215
  "timed-out": "timed-out";
216
+ error: "error";
217
217
  }>;
218
218
  source: z.ZodEnum<{
219
- web: "web";
220
219
  api: "api";
220
+ web: "web";
221
221
  }>;
222
222
  created_at: z.ZodString;
223
223
  last_updated: z.ZodString;
224
224
  asset_type: z.ZodDefault<z.ZodEnum<{
225
- file: "file";
226
225
  user: "user";
227
226
  organization: "organization";
228
227
  team: "team";
229
228
  dataset: "dataset";
229
+ file: "file";
230
230
  service: "service";
231
231
  route: "route";
232
232
  post: "post";
233
233
  quest: "quest";
234
234
  comment: "comment";
235
235
  conversation: "conversation";
236
- blueprint: "blueprint";
237
- replication: "replication";
238
236
  }>>;
239
237
  metadata: z.ZodObject<{
240
238
  members: z.ZodArray<z.ZodString>;
@@ -305,14 +303,14 @@ declare const CreateConversationSchema: z.ZodPipe<z.ZodObject<{
305
303
  name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
306
304
  state: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
307
305
  success: "success";
308
- error: "error";
309
306
  queued: "queued";
310
307
  "in-progress": "in-progress";
311
308
  "timed-out": "timed-out";
309
+ error: "error";
312
310
  }>>>;
313
311
  source: z.ZodDefault<z.ZodEnum<{
314
- web: "web";
315
312
  api: "api";
313
+ web: "web";
316
314
  }>>;
317
315
  created_at: z.ZodDefault<z.ZodString>;
318
316
  last_updated: z.ZodDefault<z.ZodString>;
@@ -348,8 +346,8 @@ declare const CreateConversationSchema: z.ZodPipe<z.ZodObject<{
348
346
  team_id: string | null;
349
347
  org_id: string | null;
350
348
  name: string;
351
- state: "success" | "error" | "queued" | "in-progress" | "timed-out";
352
- source: "web" | "api";
349
+ state: "success" | "queued" | "in-progress" | "timed-out" | "error";
350
+ source: "api" | "web";
353
351
  created_at: string;
354
352
  last_updated: string;
355
353
  asset_type: "conversation";
@@ -387,8 +385,8 @@ declare const CreateConversationSchema: z.ZodPipe<z.ZodObject<{
387
385
  team_id: string | null;
388
386
  org_id: string | null;
389
387
  name: string;
390
- state: "success" | "error" | "queued" | "in-progress" | "timed-out";
391
- source: "web" | "api";
388
+ state: "success" | "queued" | "in-progress" | "timed-out" | "error";
389
+ source: "api" | "web";
392
390
  created_at: string;
393
391
  last_updated: string;
394
392
  asset_type: "conversation";
@@ -423,12 +421,25 @@ declare const CreateConversationSchema: z.ZodPipe<z.ZodObject<{
423
421
  name_url_slug?: string | null | undefined;
424
422
  }>>;
425
423
  declare const UpdateConversationSchema: z.ZodPipe<z.ZodObject<{
426
- parent: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
427
- source: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
428
- web: "web";
429
- api: "api";
430
- }>>>;
431
424
  asset_type: z.ZodOptional<z.ZodDefault<z.ZodLiteral<"conversation">>>;
425
+ parent: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
426
+ metadata: z.ZodOptional<z.ZodObject<{
427
+ members: z.ZodArray<z.ZodString>;
428
+ doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
429
+ external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
430
+ paper_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
431
+ github_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
432
+ originality: z.ZodOptional<z.ZodEnum<{
433
+ original: "original";
434
+ derivative: "derivative";
435
+ "third-party": "third-party";
436
+ }>>;
437
+ source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
438
+ reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
439
+ }, z.core.$strip>>;
440
+ created_at: z.ZodOptional<z.ZodDefault<z.ZodString>>;
441
+ last_updated: z.ZodOptional<z.ZodDefault<z.ZodString>>;
442
+ name: z.ZodOptional<z.ZodString>;
432
443
  visibility: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
433
444
  organization: "organization";
434
445
  public: "public";
@@ -436,6 +447,14 @@ declare const UpdateConversationSchema: z.ZodPipe<z.ZodObject<{
436
447
  monetized: "monetized";
437
448
  inherit: "inherit";
438
449
  }>>>;
450
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
451
+ json: z.ZodRecord<z.ZodString, z.ZodAny>;
452
+ text: z.ZodString;
453
+ }, z.core.$strip>>>>>;
454
+ source: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
455
+ api: "api";
456
+ web: "web";
457
+ }>>>;
439
458
  monetization: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
440
459
  none: "none";
441
460
  "pay-to-unlock": "pay-to-unlock";
@@ -443,17 +462,11 @@ declare const UpdateConversationSchema: z.ZodPipe<z.ZodObject<{
443
462
  }>>>;
444
463
  state: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodEnum<{
445
464
  success: "success";
446
- error: "error";
447
465
  queued: "queued";
448
466
  "in-progress": "in-progress";
449
467
  "timed-out": "timed-out";
468
+ error: "error";
450
469
  }>>>>;
451
- name: z.ZodOptional<z.ZodString>;
452
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
453
- json: z.ZodRecord<z.ZodString, z.ZodAny>;
454
- text: z.ZodString;
455
- }, z.core.$strip>>>>>;
456
- created_at: z.ZodOptional<z.ZodDefault<z.ZodString>>;
457
470
  parent_id: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>>;
458
471
  license_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
459
472
  name_url_slug: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -471,35 +484,31 @@ declare const UpdateConversationSchema: z.ZodPipe<z.ZodObject<{
471
484
  stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
472
485
  stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
473
486
  stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
474
- metadata: z.ZodOptional<z.ZodObject<{
475
- members: z.ZodArray<z.ZodString>;
476
- doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
477
- external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
478
- paper_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
479
- github_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
480
- originality: z.ZodOptional<z.ZodEnum<{
481
- original: "original";
482
- derivative: "derivative";
483
- "third-party": "third-party";
484
- }>>;
485
- source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
486
- reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
487
- }, z.core.$strip>>;
488
487
  preview: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>>>;
489
- last_updated: z.ZodOptional<z.ZodDefault<z.ZodString>>;
490
488
  }, z.core.$strip>, z.ZodTransform<{
491
- parent?: Record<string, any> | undefined;
492
- source?: "web" | "api" | undefined;
493
489
  asset_type?: "conversation" | undefined;
494
- visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
495
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
496
- state?: "success" | "error" | "queued" | "in-progress" | "timed-out" | undefined;
490
+ parent?: Record<string, any> | undefined;
491
+ metadata?: {
492
+ members: string[];
493
+ doi_url?: string | null | undefined;
494
+ external_url?: string | null | undefined;
495
+ paper_url?: string | null | undefined;
496
+ github_url?: string | null | undefined;
497
+ originality?: "original" | "derivative" | "third-party" | undefined;
498
+ source?: string | null | undefined;
499
+ reply_to_comment_id?: string | null | undefined;
500
+ } | undefined;
501
+ created_at?: string | undefined;
502
+ last_updated?: string | undefined;
497
503
  name?: string | undefined;
504
+ visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
498
505
  description?: {
499
506
  json: Record<string, any>;
500
507
  text: string;
501
508
  } | null | undefined;
502
- created_at?: string | undefined;
509
+ source?: "api" | "web" | undefined;
510
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
511
+ state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
503
512
  parent_id?: string | null | undefined;
504
513
  license_id?: string | undefined;
505
514
  name_url_slug?: string | null | undefined;
@@ -511,6 +520,10 @@ declare const UpdateConversationSchema: z.ZodPipe<z.ZodObject<{
511
520
  stripe_product_id?: string | null | undefined;
512
521
  stripe_price_id?: string | null | undefined;
513
522
  stripe_meter_id?: string | null | undefined;
523
+ preview?: Record<string, any>[] | null | undefined;
524
+ }, {
525
+ asset_type?: "conversation" | undefined;
526
+ parent?: Record<string, any> | undefined;
514
527
  metadata?: {
515
528
  members: string[];
516
529
  doi_url?: string | null | undefined;
@@ -521,21 +534,17 @@ declare const UpdateConversationSchema: z.ZodPipe<z.ZodObject<{
521
534
  source?: string | null | undefined;
522
535
  reply_to_comment_id?: string | null | undefined;
523
536
  } | undefined;
524
- preview?: Record<string, any>[] | null | undefined;
537
+ created_at?: string | undefined;
525
538
  last_updated?: string | undefined;
526
- }, {
527
- parent?: Record<string, any> | undefined;
528
- source?: "web" | "api" | undefined;
529
- asset_type?: "conversation" | undefined;
530
- visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
531
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
532
- state?: "success" | "error" | "queued" | "in-progress" | "timed-out" | undefined;
533
539
  name?: string | undefined;
540
+ visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
534
541
  description?: {
535
542
  json: Record<string, any>;
536
543
  text: string;
537
544
  } | null | undefined;
538
- created_at?: string | undefined;
545
+ source?: "api" | "web" | undefined;
546
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
547
+ state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
539
548
  parent_id?: string | null | undefined;
540
549
  license_id?: string | undefined;
541
550
  name_url_slug?: string | null | undefined;
@@ -547,18 +556,7 @@ declare const UpdateConversationSchema: z.ZodPipe<z.ZodObject<{
547
556
  stripe_product_id?: string | null | undefined;
548
557
  stripe_price_id?: string | null | undefined;
549
558
  stripe_meter_id?: string | null | undefined;
550
- metadata?: {
551
- members: string[];
552
- doi_url?: string | null | undefined;
553
- external_url?: string | null | undefined;
554
- paper_url?: string | null | undefined;
555
- github_url?: string | null | undefined;
556
- originality?: "original" | "derivative" | "third-party" | undefined;
557
- source?: string | null | undefined;
558
- reply_to_comment_id?: string | null | undefined;
559
- } | undefined;
560
559
  preview?: Record<string, any>[] | null | undefined;
561
- last_updated?: string | undefined;
562
560
  }>>;
563
561
  declare const MessageSchema: z.ZodObject<{
564
562
  id: z.ZodUUID;