@orq-ai/node 3.1.0 → 3.1.2

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 (304) hide show
  1. package/README.md +34 -34
  2. package/docs/sdks/deployments/README.md +9 -86
  3. package/docs/sdks/files/README.md +174 -2
  4. package/docs/sdks/orq/README.md +1 -1
  5. package/docs/sdks/prompt/README.md +6 -0
  6. package/docs/sdks/prompts/README.md +128 -135
  7. package/docs/sdks/snippets/README.md +84 -0
  8. package/docs/sdks/templates/README.md +80 -0
  9. package/funcs/{deploymentsList.d.ts → deploymentsAll.d.ts} +2 -2
  10. package/funcs/deploymentsAll.d.ts.map +1 -0
  11. package/funcs/{deploymentsList.js → deploymentsAll.js} +4 -5
  12. package/funcs/deploymentsAll.js.map +1 -0
  13. package/funcs/deploymentsInvoke.d.ts +7 -1
  14. package/funcs/deploymentsInvoke.d.ts.map +1 -1
  15. package/funcs/deploymentsInvoke.js +11 -10
  16. package/funcs/deploymentsInvoke.js.map +1 -1
  17. package/funcs/filesBulkUpload.d.ts +15 -0
  18. package/funcs/filesBulkUpload.d.ts.map +1 -0
  19. package/funcs/{promptsList.js → filesBulkUpload.js} +15 -18
  20. package/funcs/filesBulkUpload.js.map +1 -0
  21. package/funcs/{promptSnippetsDelete.d.ts → filesUpdate.d.ts} +3 -3
  22. package/funcs/filesUpdate.d.ts.map +1 -0
  23. package/funcs/{promptSnippetsGetByKey.js → filesUpdate.js} +13 -12
  24. package/funcs/filesUpdate.js.map +1 -0
  25. package/funcs/{promptSnippetsList.d.ts → promptSnippetsFindOne.d.ts} +3 -3
  26. package/funcs/promptSnippetsFindOne.d.ts.map +1 -0
  27. package/funcs/{promptSnippetsGet.js → promptSnippetsFindOne.js} +6 -6
  28. package/funcs/promptSnippetsFindOne.js.map +1 -0
  29. package/funcs/{promptSnippetsCreate.d.ts → promptTemplatesGetAll.d.ts} +3 -3
  30. package/funcs/promptTemplatesGetAll.d.ts.map +1 -0
  31. package/funcs/{promptSnippetsList.js → promptTemplatesGetAll.js} +13 -13
  32. package/funcs/promptTemplatesGetAll.js.map +1 -0
  33. package/funcs/promptsCreate.d.ts +1 -1
  34. package/funcs/promptsCreate.js +2 -2
  35. package/funcs/promptsCreate.js.map +1 -1
  36. package/funcs/{promptsRetrieve.d.ts → promptsCreateVersion.d.ts} +3 -6
  37. package/funcs/{promptSnippetsDelete.d.ts.map → promptsCreateVersion.d.ts.map} +1 -1
  38. package/funcs/promptsCreateVersion.js +110 -0
  39. package/funcs/promptsCreateVersion.js.map +1 -0
  40. package/funcs/promptsDelete.js +1 -1
  41. package/funcs/promptsDelete.js.map +1 -1
  42. package/funcs/{promptSnippetsGet.d.ts → promptsDuplicate.d.ts} +3 -3
  43. package/funcs/promptsDuplicate.d.ts.map +1 -0
  44. package/funcs/{promptSnippetsDelete.js → promptsDuplicate.js} +8 -8
  45. package/funcs/promptsDuplicate.js.map +1 -0
  46. package/funcs/promptsGetAll.d.ts +12 -0
  47. package/funcs/promptsGetAll.d.ts.map +1 -0
  48. package/funcs/{promptSnippetsCreate.js → promptsGetAll.js} +8 -8
  49. package/funcs/promptsGetAll.js.map +1 -0
  50. package/funcs/promptsGetOne.d.ts +12 -0
  51. package/funcs/promptsGetOne.d.ts.map +1 -0
  52. package/funcs/{promptsRetrieve.js → promptsGetOne.js} +8 -10
  53. package/funcs/promptsGetOne.js.map +1 -0
  54. package/funcs/promptsUpdate.js +1 -1
  55. package/funcs/promptsUpdate.js.map +1 -1
  56. package/jsr.json +1 -1
  57. package/lib/config.d.ts +2 -10
  58. package/lib/config.d.ts.map +1 -1
  59. package/lib/config.js +2 -2
  60. package/lib/config.js.map +1 -1
  61. package/lib/env.d.ts +0 -13
  62. package/lib/env.d.ts.map +1 -1
  63. package/lib/env.js +0 -17
  64. package/lib/env.js.map +1 -1
  65. package/lib/sdks.js +1 -1
  66. package/lib/sdks.js.map +1 -1
  67. package/models/components/deployments.d.ts +5 -0
  68. package/models/components/deployments.d.ts.map +1 -1
  69. package/models/components/deployments.js +2 -0
  70. package/models/components/deployments.js.map +1 -1
  71. package/models/errors/index.d.ts +0 -2
  72. package/models/errors/index.d.ts.map +1 -1
  73. package/models/errors/index.js +0 -2
  74. package/models/errors/index.js.map +1 -1
  75. package/models/operations/bulkfileupload.d.ts +173 -0
  76. package/models/operations/bulkfileupload.d.ts.map +1 -0
  77. package/models/operations/bulkfileupload.js +210 -0
  78. package/models/operations/bulkfileupload.js.map +1 -0
  79. package/models/operations/createcontact.js +2 -2
  80. package/models/operations/createprompt.d.ts +381 -702
  81. package/models/operations/createprompt.d.ts.map +1 -1
  82. package/models/operations/createprompt.js +481 -641
  83. package/models/operations/createprompt.js.map +1 -1
  84. package/models/operations/createpromptversion.d.ts +2003 -0
  85. package/models/operations/createpromptversion.d.ts.map +1 -0
  86. package/models/operations/createpromptversion.js +1852 -0
  87. package/models/operations/createpromptversion.js.map +1 -0
  88. package/models/operations/deleteprompt.d.ts +1 -1
  89. package/models/operations/deploymentgetconfig.d.ts +0 -39
  90. package/models/operations/deploymentgetconfig.d.ts.map +1 -1
  91. package/models/operations/deploymentgetconfig.js +4 -29
  92. package/models/operations/deploymentgetconfig.js.map +1 -1
  93. package/models/operations/deploymentinvoke.d.ts +683 -23
  94. package/models/operations/deploymentinvoke.d.ts.map +1 -1
  95. package/models/operations/deploymentinvoke.js +614 -23
  96. package/models/operations/deploymentinvoke.js.map +1 -1
  97. package/models/operations/deployments.d.ts +8 -54
  98. package/models/operations/deployments.d.ts.map +1 -1
  99. package/models/operations/deployments.js +13 -44
  100. package/models/operations/deployments.js.map +1 -1
  101. package/models/operations/duplicateprompt.d.ts +32 -0
  102. package/models/operations/duplicateprompt.d.ts.map +1 -0
  103. package/models/operations/{deletepromptsnippet.js → duplicateprompt.js} +17 -17
  104. package/models/operations/duplicateprompt.js.map +1 -0
  105. package/models/operations/fileget.js +2 -2
  106. package/models/operations/filelist.d.ts +5 -1
  107. package/models/operations/filelist.d.ts.map +1 -1
  108. package/models/operations/filelist.js +12 -4
  109. package/models/operations/filelist.js.map +1 -1
  110. package/models/operations/fileupdate.d.ts +143 -0
  111. package/models/operations/fileupdate.d.ts.map +1 -0
  112. package/models/operations/fileupdate.js +193 -0
  113. package/models/operations/fileupdate.js.map +1 -0
  114. package/models/operations/fileupload.js +2 -2
  115. package/models/operations/findonepromptsnippet.d.ts +4768 -938
  116. package/models/operations/findonepromptsnippet.d.ts.map +1 -1
  117. package/models/operations/findonepromptsnippet.js +4751 -984
  118. package/models/operations/findonepromptsnippet.js.map +1 -1
  119. package/models/operations/getallprompts.d.ts +9926 -546
  120. package/models/operations/getallprompts.d.ts.map +1 -1
  121. package/models/operations/getallprompts.js +8805 -557
  122. package/models/operations/getallprompts.js.map +1 -1
  123. package/models/operations/getallprompttemplates.d.ts +6607 -0
  124. package/models/operations/getallprompttemplates.d.ts.map +1 -0
  125. package/models/operations/getallprompttemplates.js +6225 -0
  126. package/models/operations/getallprompttemplates.js.map +1 -0
  127. package/models/operations/getoneprompt.d.ts +1 -1203
  128. package/models/operations/getoneprompt.d.ts.map +1 -1
  129. package/models/operations/getoneprompt.js +1 -1011
  130. package/models/operations/getoneprompt.js.map +1 -1
  131. package/models/operations/index.d.ts +5 -8
  132. package/models/operations/index.d.ts.map +1 -1
  133. package/models/operations/index.js +5 -8
  134. package/models/operations/index.js.map +1 -1
  135. package/models/operations/updateprompt.d.ts +5979 -1121
  136. package/models/operations/updateprompt.d.ts.map +1 -1
  137. package/models/operations/updateprompt.js +5729 -1119
  138. package/models/operations/updateprompt.js.map +1 -1
  139. package/package.json +1 -1
  140. package/sdk/deployments.d.ts +6 -10
  141. package/sdk/deployments.d.ts.map +1 -1
  142. package/sdk/deployments.js +6 -14
  143. package/sdk/deployments.js.map +1 -1
  144. package/sdk/files.d.ts +11 -0
  145. package/sdk/files.d.ts.map +1 -1
  146. package/sdk/files.js +17 -0
  147. package/sdk/files.js.map +1 -1
  148. package/sdk/prompt.d.ts +10 -0
  149. package/sdk/prompt.d.ts.map +1 -0
  150. package/sdk/prompt.js +19 -0
  151. package/sdk/prompt.js.map +1 -0
  152. package/sdk/prompts.d.ts +14 -26
  153. package/sdk/prompts.d.ts.map +1 -1
  154. package/sdk/prompts.js +25 -37
  155. package/sdk/prompts.js.map +1 -1
  156. package/sdk/sdk.d.ts +3 -3
  157. package/sdk/sdk.d.ts.map +1 -1
  158. package/sdk/sdk.js +3 -3
  159. package/sdk/sdk.js.map +1 -1
  160. package/sdk/snippets.d.ts +9 -0
  161. package/sdk/snippets.d.ts.map +1 -0
  162. package/sdk/snippets.js +19 -0
  163. package/sdk/snippets.js.map +1 -0
  164. package/sdk/templates.d.ts +9 -0
  165. package/sdk/templates.d.ts.map +1 -0
  166. package/sdk/templates.js +19 -0
  167. package/sdk/templates.js.map +1 -0
  168. package/src/funcs/{deploymentsList.ts → deploymentsAll.ts} +2 -3
  169. package/src/funcs/deploymentsInvoke.ts +16 -21
  170. package/src/funcs/filesBulkUpload.ts +129 -0
  171. package/src/funcs/{promptSnippetsGetByKey.ts → filesUpdate.ts} +16 -18
  172. package/src/funcs/{promptSnippetsGet.ts → promptSnippetsFindOne.ts} +4 -4
  173. package/src/funcs/{promptSnippetsList.ts → promptTemplatesGetAll.ts} +16 -16
  174. package/src/funcs/promptsCreate.ts +2 -2
  175. package/src/funcs/promptsCreateVersion.ts +131 -0
  176. package/src/funcs/promptsDelete.ts +1 -1
  177. package/src/funcs/{promptSnippetsDelete.ts → promptsDuplicate.ts} +7 -8
  178. package/src/funcs/{promptSnippetsCreate.ts → promptsGetAll.ts} +9 -9
  179. package/src/funcs/{promptsRetrieve.ts → promptsGetOne.ts} +8 -10
  180. package/src/funcs/promptsUpdate.ts +1 -1
  181. package/src/lib/config.ts +2 -12
  182. package/src/lib/env.ts +0 -32
  183. package/src/lib/sdks.ts +2 -2
  184. package/src/models/components/deployments.ts +7 -0
  185. package/src/models/errors/index.ts +0 -2
  186. package/src/models/operations/bulkfileupload.ts +315 -0
  187. package/src/models/operations/createcontact.ts +2 -2
  188. package/src/models/operations/createprompt.ts +690 -1048
  189. package/src/models/operations/createpromptversion.ts +3703 -0
  190. package/src/models/operations/deleteprompt.ts +1 -1
  191. package/src/models/operations/deploymentgetconfig.ts +0 -44
  192. package/src/models/operations/deploymentinvoke.ts +1415 -174
  193. package/src/models/operations/deployments.ts +18 -68
  194. package/src/models/operations/duplicateprompt.ts +69 -0
  195. package/src/models/operations/fileget.ts +2 -2
  196. package/src/models/operations/filelist.ts +17 -5
  197. package/src/models/operations/fileupdate.ts +298 -0
  198. package/src/models/operations/fileupload.ts +2 -2
  199. package/src/models/operations/findonepromptsnippet.ts +11104 -1818
  200. package/src/models/operations/getallprompts.ts +17860 -1336
  201. package/src/models/operations/getallprompttemplates.ts +13690 -0
  202. package/src/models/operations/getoneprompt.ts +1 -1914
  203. package/src/models/operations/index.ts +5 -8
  204. package/src/models/operations/updateprompt.ts +12561 -2071
  205. package/src/sdk/deployments.ts +11 -25
  206. package/src/sdk/files.ts +33 -0
  207. package/src/sdk/prompt.ts +19 -0
  208. package/src/sdk/prompts.ts +39 -51
  209. package/src/sdk/sdk.ts +4 -4
  210. package/src/sdk/snippets.ts +24 -0
  211. package/src/sdk/templates.ts +24 -0
  212. package/docs/sdks/promptsnippets/README.md +0 -488
  213. package/funcs/deploymentsList.d.ts.map +0 -1
  214. package/funcs/deploymentsList.js.map +0 -1
  215. package/funcs/deploymentsStream.d.ts +0 -16
  216. package/funcs/deploymentsStream.d.ts.map +0 -1
  217. package/funcs/deploymentsStream.js +0 -125
  218. package/funcs/deploymentsStream.js.map +0 -1
  219. package/funcs/promptSnippetsCreate.d.ts.map +0 -1
  220. package/funcs/promptSnippetsCreate.js.map +0 -1
  221. package/funcs/promptSnippetsDelete.js.map +0 -1
  222. package/funcs/promptSnippetsGet.d.ts.map +0 -1
  223. package/funcs/promptSnippetsGet.js.map +0 -1
  224. package/funcs/promptSnippetsGetByKey.d.ts +0 -12
  225. package/funcs/promptSnippetsGetByKey.d.ts.map +0 -1
  226. package/funcs/promptSnippetsGetByKey.js.map +0 -1
  227. package/funcs/promptSnippetsList.d.ts.map +0 -1
  228. package/funcs/promptSnippetsList.js.map +0 -1
  229. package/funcs/promptSnippetsUpdate.d.ts +0 -13
  230. package/funcs/promptSnippetsUpdate.d.ts.map +0 -1
  231. package/funcs/promptSnippetsUpdate.js +0 -114
  232. package/funcs/promptSnippetsUpdate.js.map +0 -1
  233. package/funcs/promptsGetVersion.d.ts +0 -16
  234. package/funcs/promptsGetVersion.d.ts.map +0 -1
  235. package/funcs/promptsGetVersion.js +0 -120
  236. package/funcs/promptsGetVersion.js.map +0 -1
  237. package/funcs/promptsList.d.ts +0 -15
  238. package/funcs/promptsList.d.ts.map +0 -1
  239. package/funcs/promptsList.js.map +0 -1
  240. package/funcs/promptsListVersions.d.ts +0 -15
  241. package/funcs/promptsListVersions.d.ts.map +0 -1
  242. package/funcs/promptsListVersions.js +0 -118
  243. package/funcs/promptsListVersions.js.map +0 -1
  244. package/funcs/promptsRetrieve.d.ts.map +0 -1
  245. package/funcs/promptsRetrieve.js.map +0 -1
  246. package/models/errors/getpromptversion.d.ts +0 -36
  247. package/models/errors/getpromptversion.d.ts.map +0 -1
  248. package/models/errors/getpromptversion.js +0 -79
  249. package/models/errors/getpromptversion.js.map +0 -1
  250. package/models/errors/updatepromptsnippet.d.ts +0 -36
  251. package/models/errors/updatepromptsnippet.d.ts.map +0 -1
  252. package/models/errors/updatepromptsnippet.js +0 -79
  253. package/models/errors/updatepromptsnippet.js.map +0 -1
  254. package/models/operations/createpromptsnippet.d.ts +0 -3567
  255. package/models/operations/createpromptsnippet.d.ts.map +0 -1
  256. package/models/operations/createpromptsnippet.js +0 -3056
  257. package/models/operations/createpromptsnippet.js.map +0 -1
  258. package/models/operations/deletepromptsnippet.d.ts +0 -32
  259. package/models/operations/deletepromptsnippet.d.ts.map +0 -1
  260. package/models/operations/deletepromptsnippet.js.map +0 -1
  261. package/models/operations/deploymentstream.d.ts +0 -1622
  262. package/models/operations/deploymentstream.d.ts.map +0 -1
  263. package/models/operations/deploymentstream.js +0 -1571
  264. package/models/operations/deploymentstream.js.map +0 -1
  265. package/models/operations/findonebykeypromptsnippet.d.ts +0 -2448
  266. package/models/operations/findonebykeypromptsnippet.d.ts.map +0 -1
  267. package/models/operations/findonebykeypromptsnippet.js +0 -2133
  268. package/models/operations/findonebykeypromptsnippet.js.map +0 -1
  269. package/models/operations/getallpromptsnippets.d.ts +0 -2512
  270. package/models/operations/getallpromptsnippets.d.ts.map +0 -1
  271. package/models/operations/getallpromptsnippets.js +0 -2195
  272. package/models/operations/getallpromptsnippets.js.map +0 -1
  273. package/models/operations/getpromptversion.d.ts +0 -1228
  274. package/models/operations/getpromptversion.d.ts.map +0 -1
  275. package/models/operations/getpromptversion.js +0 -1080
  276. package/models/operations/getpromptversion.js.map +0 -1
  277. package/models/operations/listpromptversions.d.ts +0 -1286
  278. package/models/operations/listpromptversions.d.ts.map +0 -1
  279. package/models/operations/listpromptversions.js +0 -1142
  280. package/models/operations/listpromptversions.js.map +0 -1
  281. package/models/operations/updatepromptsnippet.d.ts +0 -3595
  282. package/models/operations/updatepromptsnippet.d.ts.map +0 -1
  283. package/models/operations/updatepromptsnippet.js +0 -3116
  284. package/models/operations/updatepromptsnippet.js.map +0 -1
  285. package/sdk/promptsnippets.d.ts +0 -29
  286. package/sdk/promptsnippets.d.ts.map +0 -1
  287. package/sdk/promptsnippets.js +0 -54
  288. package/sdk/promptsnippets.js.map +0 -1
  289. package/src/funcs/deploymentsStream.ts +0 -150
  290. package/src/funcs/promptSnippetsUpdate.ts +0 -139
  291. package/src/funcs/promptsGetVersion.ts +0 -146
  292. package/src/funcs/promptsList.ts +0 -133
  293. package/src/funcs/promptsListVersions.ts +0 -139
  294. package/src/models/errors/getpromptversion.ts +0 -71
  295. package/src/models/errors/updatepromptsnippet.ts +0 -71
  296. package/src/models/operations/createpromptsnippet.ts +0 -6239
  297. package/src/models/operations/deletepromptsnippet.ts +0 -69
  298. package/src/models/operations/deploymentstream.ts +0 -3062
  299. package/src/models/operations/findonebykeypromptsnippet.ts +0 -4483
  300. package/src/models/operations/getallpromptsnippets.ts +0 -4472
  301. package/src/models/operations/getpromptversion.ts +0 -2012
  302. package/src/models/operations/listpromptversions.ts +0 -2146
  303. package/src/models/operations/updatepromptsnippet.ts +0 -6544
  304. package/src/sdk/promptsnippets.ts +0 -99
@@ -15,13 +15,9 @@ export type DeploymentsRequest = {
15
15
  */
16
16
  limit?: number | undefined;
17
17
  /**
18
- * A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, ending with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `after=01JJ1HDHN79XAS7A01WB3HYSDB` in order to fetch the next page of the list.
18
+ * A cursor for use in pagination. `after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, ending with `ed33dade-ae32-4959-8c5c-7ae4aad748b5`, your subsequent call can include `after=ed33dade-ae32-4959-8c5c-7ae4aad748b5` in order to fetch the next page of the list.
19
19
  */
20
- startingAfter?: string | undefined;
21
- /**
22
- * A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, starting with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `before=01JJ1HDHN79XAS7A01WB3HYSDB` in order to fetch the previous page of the list.
23
- */
24
- endingBefore?: string | undefined;
20
+ after?: string | undefined;
25
21
  };
26
22
 
27
23
  export const ObjectT = {
@@ -207,21 +203,6 @@ export type DeploymentsEncodingFormat = ClosedEnum<
207
203
  typeof DeploymentsEncodingFormat
208
204
  >;
209
205
 
210
- /**
211
- * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
212
- */
213
- export const DeploymentsReasoningEffort = {
214
- Low: "low",
215
- Medium: "medium",
216
- High: "high",
217
- } as const;
218
- /**
219
- * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
220
- */
221
- export type DeploymentsReasoningEffort = ClosedEnum<
222
- typeof DeploymentsReasoningEffort
223
- >;
224
-
225
206
  /**
226
207
  * Model Parameters: Not all parameters apply to every model
227
208
  */
@@ -298,10 +279,6 @@ export type DeploymentsModelParameters = {
298
279
  * The format to return the embeddings
299
280
  */
300
281
  encodingFormat?: DeploymentsEncodingFormat | undefined;
301
- /**
302
- * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
303
- */
304
- reasoningEffort?: DeploymentsReasoningEffort | undefined;
305
282
  };
306
283
 
307
284
  export const DeploymentsProvider = {
@@ -321,8 +298,6 @@ export const DeploymentsProvider = {
321
298
  Leonardoai: "leonardoai",
322
299
  Nvidia: "nvidia",
323
300
  Jina: "jina",
324
- Togetherai: "togetherai",
325
- Elevenlabs: "elevenlabs",
326
301
  } as const;
327
302
  export type DeploymentsProvider = ClosedEnum<typeof DeploymentsProvider>;
328
303
 
@@ -472,12 +447,14 @@ export type Data = {
472
447
  };
473
448
 
474
449
  /**
475
- * List all deployments
450
+ * List of deployments
476
451
  */
477
452
  export type DeploymentsResponseBody = {
478
453
  object: ObjectT;
479
454
  data: Array<Data>;
480
455
  hasMore: boolean;
456
+ firstId: string | null;
457
+ lastId: string | null;
481
458
  };
482
459
 
483
460
  /** @internal */
@@ -487,20 +464,13 @@ export const DeploymentsRequest$inboundSchema: z.ZodType<
487
464
  unknown
488
465
  > = z.object({
489
466
  limit: z.number().default(10),
490
- starting_after: z.string().optional(),
491
- ending_before: z.string().optional(),
492
- }).transform((v) => {
493
- return remap$(v, {
494
- "starting_after": "startingAfter",
495
- "ending_before": "endingBefore",
496
- });
467
+ after: z.string().optional(),
497
468
  });
498
469
 
499
470
  /** @internal */
500
471
  export type DeploymentsRequest$Outbound = {
501
472
  limit: number;
502
- starting_after?: string | undefined;
503
- ending_before?: string | undefined;
473
+ after?: string | undefined;
504
474
  };
505
475
 
506
476
  /** @internal */
@@ -510,13 +480,7 @@ export const DeploymentsRequest$outboundSchema: z.ZodType<
510
480
  DeploymentsRequest
511
481
  > = z.object({
512
482
  limit: z.number().default(10),
513
- startingAfter: z.string().optional(),
514
- endingBefore: z.string().optional(),
515
- }).transform((v) => {
516
- return remap$(v, {
517
- startingAfter: "starting_after",
518
- endingBefore: "ending_before",
519
- });
483
+ after: z.string().optional(),
520
484
  });
521
485
 
522
486
  /**
@@ -1187,27 +1151,6 @@ export namespace DeploymentsEncodingFormat$ {
1187
1151
  export const outboundSchema = DeploymentsEncodingFormat$outboundSchema;
1188
1152
  }
1189
1153
 
1190
- /** @internal */
1191
- export const DeploymentsReasoningEffort$inboundSchema: z.ZodNativeEnum<
1192
- typeof DeploymentsReasoningEffort
1193
- > = z.nativeEnum(DeploymentsReasoningEffort);
1194
-
1195
- /** @internal */
1196
- export const DeploymentsReasoningEffort$outboundSchema: z.ZodNativeEnum<
1197
- typeof DeploymentsReasoningEffort
1198
- > = DeploymentsReasoningEffort$inboundSchema;
1199
-
1200
- /**
1201
- * @internal
1202
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1203
- */
1204
- export namespace DeploymentsReasoningEffort$ {
1205
- /** @deprecated use `DeploymentsReasoningEffort$inboundSchema` instead. */
1206
- export const inboundSchema = DeploymentsReasoningEffort$inboundSchema;
1207
- /** @deprecated use `DeploymentsReasoningEffort$outboundSchema` instead. */
1208
- export const outboundSchema = DeploymentsReasoningEffort$outboundSchema;
1209
- }
1210
-
1211
1154
  /** @internal */
1212
1155
  export const DeploymentsModelParameters$inboundSchema: z.ZodType<
1213
1156
  DeploymentsModelParameters,
@@ -1234,7 +1177,6 @@ export const DeploymentsModelParameters$inboundSchema: z.ZodType<
1234
1177
  ).optional(),
1235
1178
  photoRealVersion: DeploymentsPhotoRealVersion$inboundSchema.optional(),
1236
1179
  encoding_format: DeploymentsEncodingFormat$inboundSchema.optional(),
1237
- reasoningEffort: DeploymentsReasoningEffort$inboundSchema.optional(),
1238
1180
  }).transform((v) => {
1239
1181
  return remap$(v, {
1240
1182
  "encoding_format": "encodingFormat",
@@ -1262,7 +1204,6 @@ export type DeploymentsModelParameters$Outbound = {
1262
1204
  | undefined;
1263
1205
  photoRealVersion?: string | undefined;
1264
1206
  encoding_format?: string | undefined;
1265
- reasoningEffort?: string | undefined;
1266
1207
  };
1267
1208
 
1268
1209
  /** @internal */
@@ -1291,7 +1232,6 @@ export const DeploymentsModelParameters$outboundSchema: z.ZodType<
1291
1232
  ).optional(),
1292
1233
  photoRealVersion: DeploymentsPhotoRealVersion$outboundSchema.optional(),
1293
1234
  encodingFormat: DeploymentsEncodingFormat$outboundSchema.optional(),
1294
- reasoningEffort: DeploymentsReasoningEffort$outboundSchema.optional(),
1295
1235
  }).transform((v) => {
1296
1236
  return remap$(v, {
1297
1237
  encodingFormat: "encoding_format",
@@ -2088,9 +2028,13 @@ export const DeploymentsResponseBody$inboundSchema: z.ZodType<
2088
2028
  object: ObjectT$inboundSchema,
2089
2029
  data: z.array(z.lazy(() => Data$inboundSchema)),
2090
2030
  has_more: z.boolean(),
2031
+ first_id: z.nullable(z.string()),
2032
+ last_id: z.nullable(z.string()),
2091
2033
  }).transform((v) => {
2092
2034
  return remap$(v, {
2093
2035
  "has_more": "hasMore",
2036
+ "first_id": "firstId",
2037
+ "last_id": "lastId",
2094
2038
  });
2095
2039
  });
2096
2040
 
@@ -2099,6 +2043,8 @@ export type DeploymentsResponseBody$Outbound = {
2099
2043
  object: string;
2100
2044
  data: Array<Data$Outbound>;
2101
2045
  has_more: boolean;
2046
+ first_id: string | null;
2047
+ last_id: string | null;
2102
2048
  };
2103
2049
 
2104
2050
  /** @internal */
@@ -2110,9 +2056,13 @@ export const DeploymentsResponseBody$outboundSchema: z.ZodType<
2110
2056
  object: ObjectT$outboundSchema,
2111
2057
  data: z.array(z.lazy(() => Data$outboundSchema)),
2112
2058
  hasMore: z.boolean(),
2059
+ firstId: z.nullable(z.string()),
2060
+ lastId: z.nullable(z.string()),
2113
2061
  }).transform((v) => {
2114
2062
  return remap$(v, {
2115
2063
  hasMore: "has_more",
2064
+ firstId: "first_id",
2065
+ lastId: "last_id",
2116
2066
  });
2117
2067
  });
2118
2068
 
@@ -0,0 +1,69 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { safeParse } from "../../lib/schemas.js";
7
+ import { Result as SafeParseResult } from "../../types/fp.js";
8
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
+
10
+ export type DuplicatePromptRequest = {
11
+ /**
12
+ * Prompt ID
13
+ */
14
+ id: string;
15
+ };
16
+
17
+ /** @internal */
18
+ export const DuplicatePromptRequest$inboundSchema: z.ZodType<
19
+ DuplicatePromptRequest,
20
+ z.ZodTypeDef,
21
+ unknown
22
+ > = z.object({
23
+ id: z.string(),
24
+ });
25
+
26
+ /** @internal */
27
+ export type DuplicatePromptRequest$Outbound = {
28
+ id: string;
29
+ };
30
+
31
+ /** @internal */
32
+ export const DuplicatePromptRequest$outboundSchema: z.ZodType<
33
+ DuplicatePromptRequest$Outbound,
34
+ z.ZodTypeDef,
35
+ DuplicatePromptRequest
36
+ > = z.object({
37
+ id: z.string(),
38
+ });
39
+
40
+ /**
41
+ * @internal
42
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
43
+ */
44
+ export namespace DuplicatePromptRequest$ {
45
+ /** @deprecated use `DuplicatePromptRequest$inboundSchema` instead. */
46
+ export const inboundSchema = DuplicatePromptRequest$inboundSchema;
47
+ /** @deprecated use `DuplicatePromptRequest$outboundSchema` instead. */
48
+ export const outboundSchema = DuplicatePromptRequest$outboundSchema;
49
+ /** @deprecated use `DuplicatePromptRequest$Outbound` instead. */
50
+ export type Outbound = DuplicatePromptRequest$Outbound;
51
+ }
52
+
53
+ export function duplicatePromptRequestToJSON(
54
+ duplicatePromptRequest: DuplicatePromptRequest,
55
+ ): string {
56
+ return JSON.stringify(
57
+ DuplicatePromptRequest$outboundSchema.parse(duplicatePromptRequest),
58
+ );
59
+ }
60
+
61
+ export function duplicatePromptRequestFromJSON(
62
+ jsonString: string,
63
+ ): SafeParseResult<DuplicatePromptRequest, SDKValidationError> {
64
+ return safeParse(
65
+ jsonString,
66
+ (x) => DuplicatePromptRequest$inboundSchema.parse(JSON.parse(x)),
67
+ `Failed to parse 'DuplicatePromptRequest' from JSON`,
68
+ );
69
+ }
@@ -145,7 +145,7 @@ export const FileGetResponseBody$inboundSchema: z.ZodType<
145
145
  file_name: z.string(),
146
146
  workspace_id: z.string(),
147
147
  created: z.string().datetime({ offset: true }).default(
148
- "2025-02-11T16:43:22.676Z",
148
+ "2025-01-02T13:55:01.176Z",
149
149
  ).transform(v => new Date(v)),
150
150
  }).transform((v) => {
151
151
  return remap$(v, {
@@ -179,7 +179,7 @@ export const FileGetResponseBody$outboundSchema: z.ZodType<
179
179
  bytes: z.number(),
180
180
  fileName: z.string(),
181
181
  workspaceId: z.string(),
182
- created: z.date().default(() => new Date("2025-02-11T16:43:22.676Z"))
182
+ created: z.date().default(() => new Date("2025-01-02T13:55:01.176Z"))
183
183
  .transform(v => v.toISOString()),
184
184
  }).transform((v) => {
185
185
  return remap$(v, {
@@ -62,6 +62,8 @@ export type FileListResponseBody = {
62
62
  object: FileListObject;
63
63
  data: Array<FileListData>;
64
64
  hasMore: boolean;
65
+ firstId: string | null;
66
+ lastId: string | null;
65
67
  };
66
68
 
67
69
  /** @internal */
@@ -71,7 +73,7 @@ export const FileListRequest$inboundSchema: z.ZodType<
71
73
  unknown
72
74
  > = z.object({
73
75
  page: z.number().optional(),
74
- limit: z.number().default(50),
76
+ limit: z.number().optional(),
75
77
  lastId: z.nullable(z.string()).optional(),
76
78
  firstId: z.nullable(z.string()).optional(),
77
79
  });
@@ -79,7 +81,7 @@ export const FileListRequest$inboundSchema: z.ZodType<
79
81
  /** @internal */
80
82
  export type FileListRequest$Outbound = {
81
83
  page?: number | undefined;
82
- limit: number;
84
+ limit?: number | undefined;
83
85
  lastId?: string | null | undefined;
84
86
  firstId?: string | null | undefined;
85
87
  };
@@ -91,7 +93,7 @@ export const FileListRequest$outboundSchema: z.ZodType<
91
93
  FileListRequest
92
94
  > = z.object({
93
95
  page: z.number().optional(),
94
- limit: z.number().default(50),
96
+ limit: z.number().optional(),
95
97
  lastId: z.nullable(z.string()).optional(),
96
98
  firstId: z.nullable(z.string()).optional(),
97
99
  });
@@ -180,7 +182,7 @@ export const FileListData$inboundSchema: z.ZodType<
180
182
  file_name: z.string(),
181
183
  workspace_id: z.string(),
182
184
  created: z.string().datetime({ offset: true }).default(
183
- "2025-02-11T16:43:22.676Z",
185
+ "2025-01-02T13:55:01.176Z",
184
186
  ).transform(v => new Date(v)),
185
187
  }).transform((v) => {
186
188
  return remap$(v, {
@@ -214,7 +216,7 @@ export const FileListData$outboundSchema: z.ZodType<
214
216
  bytes: z.number(),
215
217
  fileName: z.string(),
216
218
  workspaceId: z.string(),
217
- created: z.date().default(() => new Date("2025-02-11T16:43:22.676Z"))
219
+ created: z.date().default(() => new Date("2025-01-02T13:55:01.176Z"))
218
220
  .transform(v => v.toISOString()),
219
221
  }).transform((v) => {
220
222
  return remap$(v, {
@@ -261,9 +263,13 @@ export const FileListResponseBody$inboundSchema: z.ZodType<
261
263
  object: FileListObject$inboundSchema,
262
264
  data: z.array(z.lazy(() => FileListData$inboundSchema)),
263
265
  has_more: z.boolean(),
266
+ first_id: z.nullable(z.string()),
267
+ last_id: z.nullable(z.string()),
264
268
  }).transform((v) => {
265
269
  return remap$(v, {
266
270
  "has_more": "hasMore",
271
+ "first_id": "firstId",
272
+ "last_id": "lastId",
267
273
  });
268
274
  });
269
275
 
@@ -272,6 +278,8 @@ export type FileListResponseBody$Outbound = {
272
278
  object: string;
273
279
  data: Array<FileListData$Outbound>;
274
280
  has_more: boolean;
281
+ first_id: string | null;
282
+ last_id: string | null;
275
283
  };
276
284
 
277
285
  /** @internal */
@@ -283,9 +291,13 @@ export const FileListResponseBody$outboundSchema: z.ZodType<
283
291
  object: FileListObject$outboundSchema,
284
292
  data: z.array(z.lazy(() => FileListData$outboundSchema)),
285
293
  hasMore: z.boolean(),
294
+ firstId: z.nullable(z.string()),
295
+ lastId: z.nullable(z.string()),
286
296
  }).transform((v) => {
287
297
  return remap$(v, {
288
298
  hasMore: "has_more",
299
+ firstId: "first_id",
300
+ lastId: "last_id",
289
301
  });
290
302
  });
291
303
 
@@ -0,0 +1,298 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+ import { safeParse } from "../../lib/schemas.js";
8
+ import { ClosedEnum } from "../../types/enums.js";
9
+ import { Result as SafeParseResult } from "../../types/fp.js";
10
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
+
12
+ export type FileUpdateRequestBody = {
13
+ fileName: string;
14
+ };
15
+
16
+ export type FileUpdateRequest = {
17
+ /**
18
+ * The ID of the file
19
+ */
20
+ fileId: string;
21
+ requestBody?: FileUpdateRequestBody | undefined;
22
+ };
23
+
24
+ /**
25
+ * The intended purpose of the uploaded file.
26
+ */
27
+ export const FileUpdatePurpose = {
28
+ Retrieval: "retrieval",
29
+ KnowledgeDatasource: "knowledge_datasource",
30
+ } as const;
31
+ /**
32
+ * The intended purpose of the uploaded file.
33
+ */
34
+ export type FileUpdatePurpose = ClosedEnum<typeof FileUpdatePurpose>;
35
+
36
+ /**
37
+ * File updated successfully
38
+ */
39
+ export type FileUpdateResponseBody = {
40
+ id: string;
41
+ /**
42
+ * path to the file in the storage
43
+ */
44
+ objectName: string;
45
+ /**
46
+ * The intended purpose of the uploaded file.
47
+ */
48
+ purpose: FileUpdatePurpose;
49
+ bytes: number;
50
+ fileName: string;
51
+ /**
52
+ * The id of the resource
53
+ */
54
+ workspaceId: string;
55
+ /**
56
+ * The date and time the resource was created
57
+ */
58
+ created?: Date | undefined;
59
+ };
60
+
61
+ /** @internal */
62
+ export const FileUpdateRequestBody$inboundSchema: z.ZodType<
63
+ FileUpdateRequestBody,
64
+ z.ZodTypeDef,
65
+ unknown
66
+ > = z.object({
67
+ file_name: z.string(),
68
+ }).transform((v) => {
69
+ return remap$(v, {
70
+ "file_name": "fileName",
71
+ });
72
+ });
73
+
74
+ /** @internal */
75
+ export type FileUpdateRequestBody$Outbound = {
76
+ file_name: string;
77
+ };
78
+
79
+ /** @internal */
80
+ export const FileUpdateRequestBody$outboundSchema: z.ZodType<
81
+ FileUpdateRequestBody$Outbound,
82
+ z.ZodTypeDef,
83
+ FileUpdateRequestBody
84
+ > = z.object({
85
+ fileName: z.string(),
86
+ }).transform((v) => {
87
+ return remap$(v, {
88
+ fileName: "file_name",
89
+ });
90
+ });
91
+
92
+ /**
93
+ * @internal
94
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
95
+ */
96
+ export namespace FileUpdateRequestBody$ {
97
+ /** @deprecated use `FileUpdateRequestBody$inboundSchema` instead. */
98
+ export const inboundSchema = FileUpdateRequestBody$inboundSchema;
99
+ /** @deprecated use `FileUpdateRequestBody$outboundSchema` instead. */
100
+ export const outboundSchema = FileUpdateRequestBody$outboundSchema;
101
+ /** @deprecated use `FileUpdateRequestBody$Outbound` instead. */
102
+ export type Outbound = FileUpdateRequestBody$Outbound;
103
+ }
104
+
105
+ export function fileUpdateRequestBodyToJSON(
106
+ fileUpdateRequestBody: FileUpdateRequestBody,
107
+ ): string {
108
+ return JSON.stringify(
109
+ FileUpdateRequestBody$outboundSchema.parse(fileUpdateRequestBody),
110
+ );
111
+ }
112
+
113
+ export function fileUpdateRequestBodyFromJSON(
114
+ jsonString: string,
115
+ ): SafeParseResult<FileUpdateRequestBody, SDKValidationError> {
116
+ return safeParse(
117
+ jsonString,
118
+ (x) => FileUpdateRequestBody$inboundSchema.parse(JSON.parse(x)),
119
+ `Failed to parse 'FileUpdateRequestBody' from JSON`,
120
+ );
121
+ }
122
+
123
+ /** @internal */
124
+ export const FileUpdateRequest$inboundSchema: z.ZodType<
125
+ FileUpdateRequest,
126
+ z.ZodTypeDef,
127
+ unknown
128
+ > = z.object({
129
+ file_id: z.string(),
130
+ RequestBody: z.lazy(() => FileUpdateRequestBody$inboundSchema).optional(),
131
+ }).transform((v) => {
132
+ return remap$(v, {
133
+ "file_id": "fileId",
134
+ "RequestBody": "requestBody",
135
+ });
136
+ });
137
+
138
+ /** @internal */
139
+ export type FileUpdateRequest$Outbound = {
140
+ file_id: string;
141
+ RequestBody?: FileUpdateRequestBody$Outbound | undefined;
142
+ };
143
+
144
+ /** @internal */
145
+ export const FileUpdateRequest$outboundSchema: z.ZodType<
146
+ FileUpdateRequest$Outbound,
147
+ z.ZodTypeDef,
148
+ FileUpdateRequest
149
+ > = z.object({
150
+ fileId: z.string(),
151
+ requestBody: z.lazy(() => FileUpdateRequestBody$outboundSchema).optional(),
152
+ }).transform((v) => {
153
+ return remap$(v, {
154
+ fileId: "file_id",
155
+ requestBody: "RequestBody",
156
+ });
157
+ });
158
+
159
+ /**
160
+ * @internal
161
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
162
+ */
163
+ export namespace FileUpdateRequest$ {
164
+ /** @deprecated use `FileUpdateRequest$inboundSchema` instead. */
165
+ export const inboundSchema = FileUpdateRequest$inboundSchema;
166
+ /** @deprecated use `FileUpdateRequest$outboundSchema` instead. */
167
+ export const outboundSchema = FileUpdateRequest$outboundSchema;
168
+ /** @deprecated use `FileUpdateRequest$Outbound` instead. */
169
+ export type Outbound = FileUpdateRequest$Outbound;
170
+ }
171
+
172
+ export function fileUpdateRequestToJSON(
173
+ fileUpdateRequest: FileUpdateRequest,
174
+ ): string {
175
+ return JSON.stringify(
176
+ FileUpdateRequest$outboundSchema.parse(fileUpdateRequest),
177
+ );
178
+ }
179
+
180
+ export function fileUpdateRequestFromJSON(
181
+ jsonString: string,
182
+ ): SafeParseResult<FileUpdateRequest, SDKValidationError> {
183
+ return safeParse(
184
+ jsonString,
185
+ (x) => FileUpdateRequest$inboundSchema.parse(JSON.parse(x)),
186
+ `Failed to parse 'FileUpdateRequest' from JSON`,
187
+ );
188
+ }
189
+
190
+ /** @internal */
191
+ export const FileUpdatePurpose$inboundSchema: z.ZodNativeEnum<
192
+ typeof FileUpdatePurpose
193
+ > = z.nativeEnum(FileUpdatePurpose);
194
+
195
+ /** @internal */
196
+ export const FileUpdatePurpose$outboundSchema: z.ZodNativeEnum<
197
+ typeof FileUpdatePurpose
198
+ > = FileUpdatePurpose$inboundSchema;
199
+
200
+ /**
201
+ * @internal
202
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
203
+ */
204
+ export namespace FileUpdatePurpose$ {
205
+ /** @deprecated use `FileUpdatePurpose$inboundSchema` instead. */
206
+ export const inboundSchema = FileUpdatePurpose$inboundSchema;
207
+ /** @deprecated use `FileUpdatePurpose$outboundSchema` instead. */
208
+ export const outboundSchema = FileUpdatePurpose$outboundSchema;
209
+ }
210
+
211
+ /** @internal */
212
+ export const FileUpdateResponseBody$inboundSchema: z.ZodType<
213
+ FileUpdateResponseBody,
214
+ z.ZodTypeDef,
215
+ unknown
216
+ > = z.object({
217
+ _id: z.string(),
218
+ object_name: z.string(),
219
+ purpose: FileUpdatePurpose$inboundSchema,
220
+ bytes: z.number(),
221
+ file_name: z.string(),
222
+ workspace_id: z.string(),
223
+ created: z.string().datetime({ offset: true }).default(
224
+ "2025-01-02T13:55:01.176Z",
225
+ ).transform(v => new Date(v)),
226
+ }).transform((v) => {
227
+ return remap$(v, {
228
+ "_id": "id",
229
+ "object_name": "objectName",
230
+ "file_name": "fileName",
231
+ "workspace_id": "workspaceId",
232
+ });
233
+ });
234
+
235
+ /** @internal */
236
+ export type FileUpdateResponseBody$Outbound = {
237
+ _id: string;
238
+ object_name: string;
239
+ purpose: string;
240
+ bytes: number;
241
+ file_name: string;
242
+ workspace_id: string;
243
+ created: string;
244
+ };
245
+
246
+ /** @internal */
247
+ export const FileUpdateResponseBody$outboundSchema: z.ZodType<
248
+ FileUpdateResponseBody$Outbound,
249
+ z.ZodTypeDef,
250
+ FileUpdateResponseBody
251
+ > = z.object({
252
+ id: z.string(),
253
+ objectName: z.string(),
254
+ purpose: FileUpdatePurpose$outboundSchema,
255
+ bytes: z.number(),
256
+ fileName: z.string(),
257
+ workspaceId: z.string(),
258
+ created: z.date().default(() => new Date("2025-01-02T13:55:01.176Z"))
259
+ .transform(v => v.toISOString()),
260
+ }).transform((v) => {
261
+ return remap$(v, {
262
+ id: "_id",
263
+ objectName: "object_name",
264
+ fileName: "file_name",
265
+ workspaceId: "workspace_id",
266
+ });
267
+ });
268
+
269
+ /**
270
+ * @internal
271
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
272
+ */
273
+ export namespace FileUpdateResponseBody$ {
274
+ /** @deprecated use `FileUpdateResponseBody$inboundSchema` instead. */
275
+ export const inboundSchema = FileUpdateResponseBody$inboundSchema;
276
+ /** @deprecated use `FileUpdateResponseBody$outboundSchema` instead. */
277
+ export const outboundSchema = FileUpdateResponseBody$outboundSchema;
278
+ /** @deprecated use `FileUpdateResponseBody$Outbound` instead. */
279
+ export type Outbound = FileUpdateResponseBody$Outbound;
280
+ }
281
+
282
+ export function fileUpdateResponseBodyToJSON(
283
+ fileUpdateResponseBody: FileUpdateResponseBody,
284
+ ): string {
285
+ return JSON.stringify(
286
+ FileUpdateResponseBody$outboundSchema.parse(fileUpdateResponseBody),
287
+ );
288
+ }
289
+
290
+ export function fileUpdateResponseBodyFromJSON(
291
+ jsonString: string,
292
+ ): SafeParseResult<FileUpdateResponseBody, SDKValidationError> {
293
+ return safeParse(
294
+ jsonString,
295
+ (x) => FileUpdateResponseBody$inboundSchema.parse(JSON.parse(x)),
296
+ `Failed to parse 'FileUpdateResponseBody' from JSON`,
297
+ );
298
+ }
@@ -245,7 +245,7 @@ export const FileUploadResponseBody$inboundSchema: z.ZodType<
245
245
  file_name: z.string(),
246
246
  workspace_id: z.string(),
247
247
  created: z.string().datetime({ offset: true }).default(
248
- "2025-02-11T16:43:22.676Z",
248
+ "2025-01-02T13:55:01.176Z",
249
249
  ).transform(v => new Date(v)),
250
250
  }).transform((v) => {
251
251
  return remap$(v, {
@@ -279,7 +279,7 @@ export const FileUploadResponseBody$outboundSchema: z.ZodType<
279
279
  bytes: z.number(),
280
280
  fileName: z.string(),
281
281
  workspaceId: z.string(),
282
- created: z.date().default(() => new Date("2025-02-11T16:43:22.676Z"))
282
+ created: z.date().default(() => new Date("2025-01-02T13:55:01.176Z"))
283
283
  .transform(v => v.toISOString()),
284
284
  }).transform((v) => {
285
285
  return remap$(v, {