tekimax-ts 0.1.7 → 0.1.8

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 (359) hide show
  1. package/README.md +113 -26
  2. package/dist/adapter-BtbeHotF.d.cts +81 -0
  3. package/dist/adapter-BtbeHotF.d.ts +81 -0
  4. package/dist/adapter-C5iFgx6o.d.cts +162 -0
  5. package/dist/adapter-C5iFgx6o.d.ts +162 -0
  6. package/dist/adapter-CMu9Gvvm.d.cts +81 -0
  7. package/dist/adapter-CMu9Gvvm.d.ts +81 -0
  8. package/dist/adapter-DeUJcFAn.d.cts +43 -0
  9. package/dist/adapter-DeUJcFAn.d.ts +43 -0
  10. package/dist/adapter-K9NFtBg8.d.cts +81 -0
  11. package/dist/adapter-K9NFtBg8.d.ts +81 -0
  12. package/dist/adapter-TuDzMu0Y.d.cts +43 -0
  13. package/dist/adapter-TuDzMu0Y.d.ts +43 -0
  14. package/dist/adapter-YcdKK3By.d.cts +63 -0
  15. package/dist/adapter-YcdKK3By.d.ts +63 -0
  16. package/dist/adapter-xdRwibId.d.cts +144 -0
  17. package/dist/adapter-xdRwibId.d.ts +144 -0
  18. package/dist/adapter-zXqUGXCx.d.cts +81 -0
  19. package/dist/adapter-zXqUGXCx.d.ts +81 -0
  20. package/dist/chunk-MLKGABMK.js +9 -0
  21. package/dist/gen/index.js +1572 -378
  22. package/dist/gen/types.js +290 -201
  23. package/dist/gen/zod/allowedToolChoiceSchema.js +17 -13
  24. package/dist/gen/zod/allowedToolsParamSchema.js +28 -13
  25. package/dist/gen/zod/annotationSchema.js +16 -11
  26. package/dist/gen/zod/assistantMessageItemParamSchema.js +52 -19
  27. package/dist/gen/zod/createResponseBodySchema.js +142 -44
  28. package/dist/gen/zod/createresponseSchema.js +23 -12
  29. package/dist/gen/zod/detailEnumSchema.js +8 -8
  30. package/dist/gen/zod/developerMessageItemParamSchema.js +35 -16
  31. package/dist/gen/zod/emptyModelParamSchema.js +8 -8
  32. package/dist/gen/zod/errorPayloadSchema.js +27 -14
  33. package/dist/gen/zod/errorSchema.js +17 -11
  34. package/dist/gen/zod/errorStreamingEventSchema.js +23 -13
  35. package/dist/gen/zod/functionCallItemParamSchema.js +38 -15
  36. package/dist/gen/zod/functionCallItemStatusSchema.js +12 -8
  37. package/dist/gen/zod/functionCallOutputItemParamSchema.js +90 -27
  38. package/dist/gen/zod/functionCallOutputSchema.js +67 -24
  39. package/dist/gen/zod/functionCallOutputStatusEnumSchema.js +12 -8
  40. package/dist/gen/zod/functionCallSchema.js +29 -16
  41. package/dist/gen/zod/functionCallStatusSchema.js +12 -8
  42. package/dist/gen/zod/functionToolChoiceSchema.js +10 -10
  43. package/dist/gen/zod/functionToolParamSchema.js +25 -14
  44. package/dist/gen/zod/functionToolSchema.js +24 -14
  45. package/dist/gen/zod/imageDetailSchema.js +8 -8
  46. package/dist/gen/zod/includeEnumSchema.js +11 -8
  47. package/dist/gen/zod/incompleteDetailsSchema.js +14 -10
  48. package/dist/gen/zod/index.js +871 -213
  49. package/dist/gen/zod/inputFileContentParamSchema.js +24 -13
  50. package/dist/gen/zod/inputFileContentSchema.js +23 -12
  51. package/dist/gen/zod/inputImageContentParamAutoParamSchema.js +29 -13
  52. package/dist/gen/zod/inputImageContentSchema.js +22 -13
  53. package/dist/gen/zod/inputTextContentParamSchema.js +19 -11
  54. package/dist/gen/zod/inputTextContentSchema.js +16 -11
  55. package/dist/gen/zod/inputTokensDetailsSchema.js +15 -10
  56. package/dist/gen/zod/inputVideoContentSchema.js +17 -11
  57. package/dist/gen/zod/itemFieldSchema.js +45 -20
  58. package/dist/gen/zod/itemParamSchema.js +55 -23
  59. package/dist/gen/zod/itemReferenceParamSchema.js +15 -11
  60. package/dist/gen/zod/jsonObjectResponseFormatSchema.js +9 -9
  61. package/dist/gen/zod/jsonSchemaResponseFormatParamSchema.js +38 -13
  62. package/dist/gen/zod/jsonSchemaResponseFormatSchema.js +13 -13
  63. package/dist/gen/zod/logProbSchema.js +20 -14
  64. package/dist/gen/zod/messageRoleSchema.js +13 -8
  65. package/dist/gen/zod/messageSchema.js +109 -43
  66. package/dist/gen/zod/messageStatusSchema.js +12 -8
  67. package/dist/gen/zod/metadataParamSchema.js +13 -8
  68. package/dist/gen/zod/outputTextContentParamSchema.js +21 -12
  69. package/dist/gen/zod/outputTextContentSchema.js +30 -15
  70. package/dist/gen/zod/outputTokensDetailsSchema.js +17 -10
  71. package/dist/gen/zod/reasoningBodySchema.js +173 -54
  72. package/dist/gen/zod/reasoningEffortEnumSchema.js +14 -8
  73. package/dist/gen/zod/reasoningItemParamSchema.js +26 -14
  74. package/dist/gen/zod/reasoningParamSchema.js +33 -13
  75. package/dist/gen/zod/reasoningSchema.js +27 -13
  76. package/dist/gen/zod/reasoningSummaryContentParamSchema.js +13 -10
  77. package/dist/gen/zod/reasoningSummaryEnumSchema.js +12 -8
  78. package/dist/gen/zod/reasoningTextContentSchema.js +16 -11
  79. package/dist/gen/zod/refusalContentParamSchema.js +13 -10
  80. package/dist/gen/zod/refusalContentSchema.js +18 -11
  81. package/dist/gen/zod/responseCompletedStreamingEventSchema.js +23 -13
  82. package/dist/gen/zod/responseContentPartAddedStreamingEventSchema.js +98 -39
  83. package/dist/gen/zod/responseContentPartDoneStreamingEventSchema.js +98 -39
  84. package/dist/gen/zod/responseCreatedStreamingEventSchema.js +23 -13
  85. package/dist/gen/zod/responseFailedStreamingEventSchema.js +23 -13
  86. package/dist/gen/zod/responseFunctionCallArgumentsDeltaStreamingEventSchema.js +38 -15
  87. package/dist/gen/zod/responseFunctionCallArgumentsDoneStreamingEventSchema.js +33 -14
  88. package/dist/gen/zod/responseInProgressStreamingEventSchema.js +23 -13
  89. package/dist/gen/zod/responseIncompleteStreamingEventSchema.js +23 -13
  90. package/dist/gen/zod/responseOutputItemAddedStreamingEventSchema.js +32 -14
  91. package/dist/gen/zod/responseOutputItemDoneStreamingEventSchema.js +30 -14
  92. package/dist/gen/zod/responseOutputTextAnnotationAddedStreamingEventSchema.js +43 -17
  93. package/dist/gen/zod/responseOutputTextDeltaStreamingEventSchema.js +48 -18
  94. package/dist/gen/zod/responseOutputTextDoneStreamingEventSchema.js +39 -17
  95. package/dist/gen/zod/responseQueuedStreamingEventSchema.js +23 -13
  96. package/dist/gen/zod/responseReasoningDeltaStreamingEventSchema.js +40 -16
  97. package/dist/gen/zod/responseReasoningDoneStreamingEventSchema.js +31 -15
  98. package/dist/gen/zod/responseReasoningSummaryDeltaStreamingEventSchema.js +42 -16
  99. package/dist/gen/zod/responseReasoningSummaryDoneStreamingEventSchema.js +33 -15
  100. package/dist/gen/zod/responseReasoningSummaryPartAddedStreamingEventSchema.js +102 -39
  101. package/dist/gen/zod/responseReasoningSummaryPartDoneStreamingEventSchema.js +102 -39
  102. package/dist/gen/zod/responseRefusalDeltaStreamingEventSchema.js +33 -15
  103. package/dist/gen/zod/responseRefusalDoneStreamingEventSchema.js +31 -15
  104. package/dist/gen/zod/responseResourceSchema.js +146 -51
  105. package/dist/gen/zod/responsesToolParamSchema.js +15 -11
  106. package/dist/gen/zod/serviceTierEnumSchema.js +13 -8
  107. package/dist/gen/zod/specificFunctionParamSchema.js +13 -10
  108. package/dist/gen/zod/specificToolChoiceParamSchema.js +11 -9
  109. package/dist/gen/zod/streamOptionsParamSchema.js +18 -10
  110. package/dist/gen/zod/summaryTextContentSchema.js +18 -11
  111. package/dist/gen/zod/systemMessageItemParamSchema.js +35 -16
  112. package/dist/gen/zod/textContentSchema.js +13 -11
  113. package/dist/gen/zod/textFieldSchema.js +24 -14
  114. package/dist/gen/zod/textFormatParamSchema.js +16 -10
  115. package/dist/gen/zod/textParamSchema.js +23 -12
  116. package/dist/gen/zod/textResponseFormatSchema.js +9 -9
  117. package/dist/gen/zod/toolChoiceParamSchema.js +21 -11
  118. package/dist/gen/zod/toolChoiceValueEnumSchema.js +8 -8
  119. package/dist/gen/zod/toolSchema.js +16 -11
  120. package/dist/gen/zod/topLogProbSchema.js +14 -12
  121. package/dist/gen/zod/truncationEnumSchema.js +8 -8
  122. package/dist/gen/zod/urlCitationBodySchema.js +29 -14
  123. package/dist/gen/zod/urlCitationParamSchema.js +28 -13
  124. package/dist/gen/zod/usageSchema.js +35 -16
  125. package/dist/gen/zod/userMessageItemParamSchema.js +64 -22
  126. package/dist/gen/zod/verbosityEnumSchema.js +8 -8
  127. package/dist/index.cjs +1574 -0
  128. package/dist/index.d.cts +2823 -0
  129. package/dist/index.d.mts +51000 -31111
  130. package/dist/index.d.ts +407 -29296
  131. package/dist/index.js +1136 -1405
  132. package/dist/index.mjs +2441 -1010
  133. package/dist/react/index.cjs +216 -0
  134. package/dist/react/index.d.cts +25 -0
  135. package/dist/react/index.d.ts +25 -0
  136. package/dist/react/index.js +191 -0
  137. package/dist/tekimax-C-DJ0z27.d.cts +283 -0
  138. package/dist/tekimax-C-DJ0z27.d.ts +283 -0
  139. package/package.json +47 -9
  140. package/.dockerignore +0 -5
  141. package/Dockerfile +0 -25
  142. package/kubb.config.js +0 -30
  143. package/kubb.config.ts +0 -35
  144. package/public/logos/tekimax-logo-ScreenRGB-2.png +0 -0
  145. package/spec/openapi.json +0 -3876
  146. package/src/client.ts +0 -129
  147. package/src/gen/.kubb/config.ts +0 -43
  148. package/src/gen/client/createresponse.ts +0 -27
  149. package/src/gen/client/index.ts +0 -1
  150. package/src/gen/index.ts +0 -187
  151. package/src/gen/schemas/allowedToolChoice.json +0 -1
  152. package/src/gen/schemas/allowedToolsParam.json +0 -1
  153. package/src/gen/schemas/annotation.json +0 -1
  154. package/src/gen/schemas/assistantMessageItemParam.json +0 -1
  155. package/src/gen/schemas/createResponseBody.json +0 -1
  156. package/src/gen/schemas/detailEnum.json +0 -1
  157. package/src/gen/schemas/developerMessageItemParam.json +0 -1
  158. package/src/gen/schemas/emptyModelParam.json +0 -1
  159. package/src/gen/schemas/error.json +0 -1
  160. package/src/gen/schemas/errorPayload.json +0 -1
  161. package/src/gen/schemas/errorStreamingEvent.json +0 -1
  162. package/src/gen/schemas/functionCall.json +0 -1
  163. package/src/gen/schemas/functionCallItemParam.json +0 -1
  164. package/src/gen/schemas/functionCallItemStatus.json +0 -1
  165. package/src/gen/schemas/functionCallOutput.json +0 -1
  166. package/src/gen/schemas/functionCallOutputItemParam.json +0 -1
  167. package/src/gen/schemas/functionCallOutputStatusEnum.json +0 -1
  168. package/src/gen/schemas/functionCallStatus.json +0 -1
  169. package/src/gen/schemas/functionTool.json +0 -1
  170. package/src/gen/schemas/functionToolChoice.json +0 -1
  171. package/src/gen/schemas/functionToolParam.json +0 -1
  172. package/src/gen/schemas/imageDetail.json +0 -1
  173. package/src/gen/schemas/includeEnum.json +0 -1
  174. package/src/gen/schemas/incompleteDetails.json +0 -1
  175. package/src/gen/schemas/inputFileContent.json +0 -1
  176. package/src/gen/schemas/inputFileContentParam.json +0 -1
  177. package/src/gen/schemas/inputImageContent.json +0 -1
  178. package/src/gen/schemas/inputImageContentParamAutoParam.json +0 -1
  179. package/src/gen/schemas/inputTextContent.json +0 -1
  180. package/src/gen/schemas/inputTextContentParam.json +0 -1
  181. package/src/gen/schemas/inputTokensDetails.json +0 -1
  182. package/src/gen/schemas/inputVideoContent.json +0 -1
  183. package/src/gen/schemas/itemField.json +0 -1
  184. package/src/gen/schemas/itemParam.json +0 -1
  185. package/src/gen/schemas/itemReferenceParam.json +0 -1
  186. package/src/gen/schemas/jsonObjectResponseFormat.json +0 -1
  187. package/src/gen/schemas/jsonSchemaResponseFormat.json +0 -1
  188. package/src/gen/schemas/jsonSchemaResponseFormatParam.json +0 -1
  189. package/src/gen/schemas/logProb.json +0 -1
  190. package/src/gen/schemas/message.json +0 -1
  191. package/src/gen/schemas/messageRole.json +0 -1
  192. package/src/gen/schemas/messageStatus.json +0 -1
  193. package/src/gen/schemas/metadataParam.json +0 -1
  194. package/src/gen/schemas/outputTextContent.json +0 -1
  195. package/src/gen/schemas/outputTextContentParam.json +0 -1
  196. package/src/gen/schemas/outputTokensDetails.json +0 -1
  197. package/src/gen/schemas/reasoning.json +0 -1
  198. package/src/gen/schemas/reasoningBody.json +0 -1
  199. package/src/gen/schemas/reasoningEffortEnum.json +0 -1
  200. package/src/gen/schemas/reasoningItemParam.json +0 -1
  201. package/src/gen/schemas/reasoningParam.json +0 -1
  202. package/src/gen/schemas/reasoningSummaryContentParam.json +0 -1
  203. package/src/gen/schemas/reasoningSummaryEnum.json +0 -1
  204. package/src/gen/schemas/reasoningTextContent.json +0 -1
  205. package/src/gen/schemas/refusalContent.json +0 -1
  206. package/src/gen/schemas/refusalContentParam.json +0 -1
  207. package/src/gen/schemas/responseCompletedStreamingEvent.json +0 -1
  208. package/src/gen/schemas/responseContentPartAddedStreamingEvent.json +0 -1
  209. package/src/gen/schemas/responseContentPartDoneStreamingEvent.json +0 -1
  210. package/src/gen/schemas/responseCreatedStreamingEvent.json +0 -1
  211. package/src/gen/schemas/responseFailedStreamingEvent.json +0 -1
  212. package/src/gen/schemas/responseFunctionCallArgumentsDeltaStreamingEvent.json +0 -1
  213. package/src/gen/schemas/responseFunctionCallArgumentsDoneStreamingEvent.json +0 -1
  214. package/src/gen/schemas/responseInProgressStreamingEvent.json +0 -1
  215. package/src/gen/schemas/responseIncompleteStreamingEvent.json +0 -1
  216. package/src/gen/schemas/responseOutputItemAddedStreamingEvent.json +0 -1
  217. package/src/gen/schemas/responseOutputItemDoneStreamingEvent.json +0 -1
  218. package/src/gen/schemas/responseOutputTextAnnotationAddedStreamingEvent.json +0 -1
  219. package/src/gen/schemas/responseOutputTextDeltaStreamingEvent.json +0 -1
  220. package/src/gen/schemas/responseOutputTextDoneStreamingEvent.json +0 -1
  221. package/src/gen/schemas/responseQueuedStreamingEvent.json +0 -1
  222. package/src/gen/schemas/responseReasoningDeltaStreamingEvent.json +0 -1
  223. package/src/gen/schemas/responseReasoningDoneStreamingEvent.json +0 -1
  224. package/src/gen/schemas/responseReasoningSummaryDeltaStreamingEvent.json +0 -1
  225. package/src/gen/schemas/responseReasoningSummaryDoneStreamingEvent.json +0 -1
  226. package/src/gen/schemas/responseReasoningSummaryPartAddedStreamingEvent.json +0 -1
  227. package/src/gen/schemas/responseReasoningSummaryPartDoneStreamingEvent.json +0 -1
  228. package/src/gen/schemas/responseRefusalDeltaStreamingEvent.json +0 -1
  229. package/src/gen/schemas/responseRefusalDoneStreamingEvent.json +0 -1
  230. package/src/gen/schemas/responseResource.json +0 -1
  231. package/src/gen/schemas/responsesToolParam.json +0 -1
  232. package/src/gen/schemas/serviceTierEnum.json +0 -1
  233. package/src/gen/schemas/specificFunctionParam.json +0 -1
  234. package/src/gen/schemas/specificToolChoiceParam.json +0 -1
  235. package/src/gen/schemas/streamOptionsParam.json +0 -1
  236. package/src/gen/schemas/summaryTextContent.json +0 -1
  237. package/src/gen/schemas/systemMessageItemParam.json +0 -1
  238. package/src/gen/schemas/textContent.json +0 -1
  239. package/src/gen/schemas/textField.json +0 -1
  240. package/src/gen/schemas/textFormatParam.json +0 -1
  241. package/src/gen/schemas/textParam.json +0 -1
  242. package/src/gen/schemas/textResponseFormat.json +0 -1
  243. package/src/gen/schemas/tool.json +0 -1
  244. package/src/gen/schemas/toolChoiceParam.json +0 -1
  245. package/src/gen/schemas/toolChoiceValueEnum.json +0 -1
  246. package/src/gen/schemas/topLogProb.json +0 -1
  247. package/src/gen/schemas/truncationEnum.json +0 -1
  248. package/src/gen/schemas/urlCitationBody.json +0 -1
  249. package/src/gen/schemas/urlCitationParam.json +0 -1
  250. package/src/gen/schemas/usage.json +0 -1
  251. package/src/gen/schemas/userMessageItemParam.json +0 -1
  252. package/src/gen/schemas/verbosityEnum.json +0 -1
  253. package/src/gen/types.ts +0 -2613
  254. package/src/gen/zod/allowedToolChoiceSchema.ts +0 -14
  255. package/src/gen/zod/allowedToolsParamSchema.ts +0 -14
  256. package/src/gen/zod/annotationSchema.ts +0 -14
  257. package/src/gen/zod/assistantMessageItemParamSchema.ts +0 -20
  258. package/src/gen/zod/createResponseBodySchema.ts +0 -45
  259. package/src/gen/zod/createresponseSchema.ts +0 -17
  260. package/src/gen/zod/detailEnumSchema.ts +0 -8
  261. package/src/gen/zod/developerMessageItemParamSchema.ts +0 -17
  262. package/src/gen/zod/emptyModelParamSchema.ts +0 -10
  263. package/src/gen/zod/errorPayloadSchema.ts +0 -19
  264. package/src/gen/zod/errorSchema.ts +0 -14
  265. package/src/gen/zod/errorStreamingEventSchema.ts +0 -16
  266. package/src/gen/zod/functionCallItemParamSchema.ts +0 -16
  267. package/src/gen/zod/functionCallItemStatusSchema.ts +0 -8
  268. package/src/gen/zod/functionCallOutputItemParamSchema.ts +0 -30
  269. package/src/gen/zod/functionCallOutputSchema.ts +0 -27
  270. package/src/gen/zod/functionCallOutputStatusEnumSchema.ts +0 -11
  271. package/src/gen/zod/functionCallSchema.ts +0 -19
  272. package/src/gen/zod/functionCallStatusSchema.ts +0 -8
  273. package/src/gen/zod/functionToolChoiceSchema.ts +0 -11
  274. package/src/gen/zod/functionToolParamSchema.ts +0 -15
  275. package/src/gen/zod/functionToolSchema.ts +0 -19
  276. package/src/gen/zod/imageDetailSchema.ts +0 -8
  277. package/src/gen/zod/includeEnumSchema.ts +0 -8
  278. package/src/gen/zod/incompleteDetailsSchema.ts +0 -13
  279. package/src/gen/zod/index.ts +0 -103
  280. package/src/gen/zod/inputFileContentParamSchema.ts +0 -16
  281. package/src/gen/zod/inputFileContentSchema.ts +0 -15
  282. package/src/gen/zod/inputImageContentParamAutoParamSchema.ts +0 -16
  283. package/src/gen/zod/inputImageContentSchema.ts +0 -16
  284. package/src/gen/zod/inputTextContentParamSchema.ts +0 -14
  285. package/src/gen/zod/inputTextContentSchema.ts +0 -14
  286. package/src/gen/zod/inputTokensDetailsSchema.ts +0 -13
  287. package/src/gen/zod/inputVideoContentSchema.ts +0 -14
  288. package/src/gen/zod/itemFieldSchema.ts +0 -23
  289. package/src/gen/zod/itemParamSchema.ts +0 -23
  290. package/src/gen/zod/itemReferenceParamSchema.ts +0 -14
  291. package/src/gen/zod/jsonObjectResponseFormatSchema.ts +0 -10
  292. package/src/gen/zod/jsonSchemaResponseFormatParamSchema.ts +0 -16
  293. package/src/gen/zod/jsonSchemaResponseFormatSchema.ts +0 -14
  294. package/src/gen/zod/logProbSchema.ts +0 -17
  295. package/src/gen/zod/messageRoleSchema.ts +0 -8
  296. package/src/gen/zod/messageSchema.ts +0 -46
  297. package/src/gen/zod/messageStatusSchema.ts +0 -8
  298. package/src/gen/zod/metadataParamSchema.ts +0 -13
  299. package/src/gen/zod/outputTextContentParamSchema.ts +0 -13
  300. package/src/gen/zod/outputTextContentSchema.ts +0 -18
  301. package/src/gen/zod/outputTokensDetailsSchema.ts +0 -13
  302. package/src/gen/zod/reasoningBodySchema.ts +0 -57
  303. package/src/gen/zod/reasoningEffortEnumSchema.ts +0 -8
  304. package/src/gen/zod/reasoningItemParamSchema.ts +0 -15
  305. package/src/gen/zod/reasoningParamSchema.ts +0 -16
  306. package/src/gen/zod/reasoningSchema.ts +0 -16
  307. package/src/gen/zod/reasoningSummaryContentParamSchema.ts +0 -11
  308. package/src/gen/zod/reasoningSummaryEnumSchema.ts +0 -8
  309. package/src/gen/zod/reasoningTextContentSchema.ts +0 -14
  310. package/src/gen/zod/refusalContentParamSchema.ts +0 -11
  311. package/src/gen/zod/refusalContentSchema.ts +0 -14
  312. package/src/gen/zod/responseCompletedStreamingEventSchema.ts +0 -16
  313. package/src/gen/zod/responseContentPartAddedStreamingEventSchema.ts +0 -42
  314. package/src/gen/zod/responseContentPartDoneStreamingEventSchema.ts +0 -42
  315. package/src/gen/zod/responseCreatedStreamingEventSchema.ts +0 -16
  316. package/src/gen/zod/responseFailedStreamingEventSchema.ts +0 -16
  317. package/src/gen/zod/responseFunctionCallArgumentsDeltaStreamingEventSchema.ts +0 -18
  318. package/src/gen/zod/responseFunctionCallArgumentsDoneStreamingEventSchema.ts +0 -17
  319. package/src/gen/zod/responseInProgressStreamingEventSchema.ts +0 -16
  320. package/src/gen/zod/responseIncompleteStreamingEventSchema.ts +0 -16
  321. package/src/gen/zod/responseOutputItemAddedStreamingEventSchema.ts +0 -17
  322. package/src/gen/zod/responseOutputItemDoneStreamingEventSchema.ts +0 -17
  323. package/src/gen/zod/responseOutputTextAnnotationAddedStreamingEventSchema.ts +0 -20
  324. package/src/gen/zod/responseOutputTextDeltaStreamingEventSchema.ts +0 -21
  325. package/src/gen/zod/responseOutputTextDoneStreamingEventSchema.ts +0 -20
  326. package/src/gen/zod/responseQueuedStreamingEventSchema.ts +0 -16
  327. package/src/gen/zod/responseReasoningDeltaStreamingEventSchema.ts +0 -19
  328. package/src/gen/zod/responseReasoningDoneStreamingEventSchema.ts +0 -18
  329. package/src/gen/zod/responseReasoningSummaryDeltaStreamingEventSchema.ts +0 -19
  330. package/src/gen/zod/responseReasoningSummaryDoneStreamingEventSchema.ts +0 -18
  331. package/src/gen/zod/responseReasoningSummaryPartAddedStreamingEventSchema.ts +0 -42
  332. package/src/gen/zod/responseReasoningSummaryPartDoneStreamingEventSchema.ts +0 -42
  333. package/src/gen/zod/responseRefusalDeltaStreamingEventSchema.ts +0 -18
  334. package/src/gen/zod/responseRefusalDoneStreamingEventSchema.ts +0 -18
  335. package/src/gen/zod/responseResourceSchema.ts +0 -54
  336. package/src/gen/zod/responsesToolParamSchema.ts +0 -11
  337. package/src/gen/zod/serviceTierEnumSchema.ts +0 -8
  338. package/src/gen/zod/specificFunctionParamSchema.ts +0 -11
  339. package/src/gen/zod/specificToolChoiceParamSchema.ts +0 -9
  340. package/src/gen/zod/streamOptionsParamSchema.ts +0 -13
  341. package/src/gen/zod/summaryTextContentSchema.ts +0 -14
  342. package/src/gen/zod/systemMessageItemParamSchema.ts +0 -17
  343. package/src/gen/zod/textContentSchema.ts +0 -14
  344. package/src/gen/zod/textFieldSchema.ts +0 -15
  345. package/src/gen/zod/textFormatParamSchema.ts +0 -10
  346. package/src/gen/zod/textParamSchema.ts +0 -13
  347. package/src/gen/zod/textResponseFormatSchema.ts +0 -10
  348. package/src/gen/zod/toolChoiceParamSchema.ts +0 -14
  349. package/src/gen/zod/toolChoiceValueEnumSchema.ts +0 -8
  350. package/src/gen/zod/toolSchema.ts +0 -14
  351. package/src/gen/zod/topLogProbSchema.ts +0 -15
  352. package/src/gen/zod/truncationEnumSchema.ts +0 -8
  353. package/src/gen/zod/urlCitationBodySchema.ts +0 -17
  354. package/src/gen/zod/urlCitationParamSchema.ts +0 -14
  355. package/src/gen/zod/usageSchema.ts +0 -19
  356. package/src/gen/zod/userMessageItemParamSchema.ts +0 -23
  357. package/src/gen/zod/verbosityEnumSchema.ts +0 -8
  358. package/src/index.ts +0 -3
  359. package/tsconfig.json +0 -21
@@ -1,17 +1,28 @@
1
- "use strict";
1
+ 'use strict'
2
2
  /**
3
- * Generated by Kubb (https://kubb.dev/).
4
- * Do not edit manually.
5
- */
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.inputFileContentParamSchema = void 0;
8
- const zod_1 = require("zod");
3
+ * Generated by Kubb (https://kubb.dev/).
4
+ * Do not edit manually.
5
+ */
6
+ Object.defineProperty(exports, '__esModule', { value: true })
7
+ exports.inputFileContentParamSchema = void 0
8
+ const zod_1 = require('zod')
9
9
  /**
10
10
  * @description A file input to the model.
11
11
  */
12
- exports.inputFileContentParamSchema = zod_1.z.object({
13
- "type": zod_1.z.enum(["input_file"]).default("input_file").describe("The type of the input item. Always `input_file`."),
14
- "filename": zod_1.z.optional(zod_1.z.union([zod_1.z.string(), zod_1.z.null()])),
15
- "file_data": zod_1.z.optional(zod_1.z.union([zod_1.z.string(), zod_1.z.null()])),
16
- "file_url": zod_1.z.optional(zod_1.z.union([zod_1.z.string(), zod_1.z.null()]))
17
- }).describe("A file input to the model.");
12
+ exports.inputFileContentParamSchema = zod_1.z
13
+ .object({
14
+ type: zod_1.z
15
+ .enum(['input_file'])
16
+ .default('input_file')
17
+ .describe('The type of the input item. Always `input_file`.'),
18
+ filename: zod_1.z.optional(
19
+ zod_1.z.union([zod_1.z.string(), zod_1.z.null()]),
20
+ ),
21
+ file_data: zod_1.z.optional(
22
+ zod_1.z.union([zod_1.z.string(), zod_1.z.null()]),
23
+ ),
24
+ file_url: zod_1.z.optional(
25
+ zod_1.z.union([zod_1.z.string(), zod_1.z.null()]),
26
+ ),
27
+ })
28
+ .describe('A file input to the model.')
@@ -1,16 +1,27 @@
1
- "use strict";
1
+ 'use strict'
2
2
  /**
3
- * Generated by Kubb (https://kubb.dev/).
4
- * Do not edit manually.
5
- */
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.inputFileContentSchema = void 0;
8
- const zod_1 = require("zod");
3
+ * Generated by Kubb (https://kubb.dev/).
4
+ * Do not edit manually.
5
+ */
6
+ Object.defineProperty(exports, '__esModule', { value: true })
7
+ exports.inputFileContentSchema = void 0
8
+ const zod_1 = require('zod')
9
9
  /**
10
10
  * @description A file input to the model.
11
11
  */
12
- exports.inputFileContentSchema = zod_1.z.object({
13
- "type": zod_1.z.enum(["input_file"]).default("input_file").describe("The type of the input item. Always `input_file`."),
14
- "filename": zod_1.z.optional(zod_1.z.string().describe("The name of the file to be sent to the model.")),
15
- "file_url": zod_1.z.optional(zod_1.z.string().describe("The URL of the file to be sent to the model."))
16
- }).describe("A file input to the model.");
12
+ exports.inputFileContentSchema = zod_1.z
13
+ .object({
14
+ type: zod_1.z
15
+ .enum(['input_file'])
16
+ .default('input_file')
17
+ .describe('The type of the input item. Always `input_file`.'),
18
+ filename: zod_1.z.optional(
19
+ zod_1.z
20
+ .string()
21
+ .describe('The name of the file to be sent to the model.'),
22
+ ),
23
+ file_url: zod_1.z.optional(
24
+ zod_1.z.string().describe('The URL of the file to be sent to the model.'),
25
+ ),
26
+ })
27
+ .describe('A file input to the model.')
@@ -1,17 +1,33 @@
1
- "use strict";
1
+ 'use strict'
2
2
  /**
3
- * Generated by Kubb (https://kubb.dev/).
4
- * Do not edit manually.
5
- */
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.inputImageContentParamAutoParamSchema = void 0;
8
- const imageDetailSchema_ts_1 = require("./imageDetailSchema.ts");
9
- const zod_1 = require("zod");
3
+ * Generated by Kubb (https://kubb.dev/).
4
+ * Do not edit manually.
5
+ */
6
+ Object.defineProperty(exports, '__esModule', { value: true })
7
+ exports.inputImageContentParamAutoParamSchema = void 0
8
+ const imageDetailSchema_ts_1 = require('./imageDetailSchema.ts')
9
+ const zod_1 = require('zod')
10
10
  /**
11
11
  * @description An image input to the model. Learn about [image inputs](/docs/guides/vision)
12
12
  */
13
- exports.inputImageContentParamAutoParamSchema = zod_1.z.object({
14
- "type": zod_1.z.enum(["input_image"]).default("input_image").describe("The type of the input item. Always `input_image`."),
15
- "image_url": zod_1.z.optional(zod_1.z.union([zod_1.z.string(), zod_1.z.null()])),
16
- "detail": zod_1.z.optional(zod_1.z.union([zod_1.z.lazy(() => imageDetailSchema_ts_1.imageDetailSchema).and(zod_1.z.any()), zod_1.z.null()]))
17
- }).describe("An image input to the model. Learn about [image inputs](/docs/guides/vision)");
13
+ exports.inputImageContentParamAutoParamSchema = zod_1.z
14
+ .object({
15
+ type: zod_1.z
16
+ .enum(['input_image'])
17
+ .default('input_image')
18
+ .describe('The type of the input item. Always `input_image`.'),
19
+ image_url: zod_1.z.optional(
20
+ zod_1.z.union([zod_1.z.string(), zod_1.z.null()]),
21
+ ),
22
+ detail: zod_1.z.optional(
23
+ zod_1.z.union([
24
+ zod_1.z
25
+ .lazy(() => imageDetailSchema_ts_1.imageDetailSchema)
26
+ .and(zod_1.z.any()),
27
+ zod_1.z.null(),
28
+ ]),
29
+ ),
30
+ })
31
+ .describe(
32
+ 'An image input to the model. Learn about [image inputs](/docs/guides/vision)',
33
+ )
@@ -1,17 +1,26 @@
1
- "use strict";
1
+ 'use strict'
2
2
  /**
3
- * Generated by Kubb (https://kubb.dev/).
4
- * Do not edit manually.
5
- */
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.inputImageContentSchema = void 0;
8
- const imageDetailSchema_ts_1 = require("./imageDetailSchema.ts");
9
- const zod_1 = require("zod");
3
+ * Generated by Kubb (https://kubb.dev/).
4
+ * Do not edit manually.
5
+ */
6
+ Object.defineProperty(exports, '__esModule', { value: true })
7
+ exports.inputImageContentSchema = void 0
8
+ const imageDetailSchema_ts_1 = require('./imageDetailSchema.ts')
9
+ const zod_1 = require('zod')
10
10
  /**
11
11
  * @description An image input to the model. Learn about [image inputs](/docs/guides/vision).
12
12
  */
13
- exports.inputImageContentSchema = zod_1.z.object({
14
- "type": zod_1.z.enum(["input_image"]).default("input_image").describe("The type of the input item. Always `input_image`."),
15
- "image_url": zod_1.z.union([zod_1.z.string(), zod_1.z.null()]),
16
- "detail": zod_1.z.lazy(() => imageDetailSchema_ts_1.imageDetailSchema).and(zod_1.z.any())
17
- }).describe("An image input to the model. Learn about [image inputs](/docs/guides/vision).");
13
+ exports.inputImageContentSchema = zod_1.z
14
+ .object({
15
+ type: zod_1.z
16
+ .enum(['input_image'])
17
+ .default('input_image')
18
+ .describe('The type of the input item. Always `input_image`.'),
19
+ image_url: zod_1.z.union([zod_1.z.string(), zod_1.z.null()]),
20
+ detail: zod_1.z
21
+ .lazy(() => imageDetailSchema_ts_1.imageDetailSchema)
22
+ .and(zod_1.z.any()),
23
+ })
24
+ .describe(
25
+ 'An image input to the model. Learn about [image inputs](/docs/guides/vision).',
26
+ )
@@ -1,15 +1,23 @@
1
- "use strict";
1
+ 'use strict'
2
2
  /**
3
- * Generated by Kubb (https://kubb.dev/).
4
- * Do not edit manually.
5
- */
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.inputTextContentParamSchema = void 0;
8
- const zod_1 = require("zod");
3
+ * Generated by Kubb (https://kubb.dev/).
4
+ * Do not edit manually.
5
+ */
6
+ Object.defineProperty(exports, '__esModule', { value: true })
7
+ exports.inputTextContentParamSchema = void 0
8
+ const zod_1 = require('zod')
9
9
  /**
10
10
  * @description A text input to the model.
11
11
  */
12
- exports.inputTextContentParamSchema = zod_1.z.object({
13
- "type": zod_1.z.enum(["input_text"]).default("input_text").describe("The type of the input item. Always `input_text`."),
14
- "text": zod_1.z.string().max(10485760).describe("The text input to the model.")
15
- }).describe("A text input to the model.");
12
+ exports.inputTextContentParamSchema = zod_1.z
13
+ .object({
14
+ type: zod_1.z
15
+ .enum(['input_text'])
16
+ .default('input_text')
17
+ .describe('The type of the input item. Always `input_text`.'),
18
+ text: zod_1.z
19
+ .string()
20
+ .max(10485760)
21
+ .describe('The text input to the model.'),
22
+ })
23
+ .describe('A text input to the model.')
@@ -1,15 +1,20 @@
1
- "use strict";
1
+ 'use strict'
2
2
  /**
3
- * Generated by Kubb (https://kubb.dev/).
4
- * Do not edit manually.
5
- */
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.inputTextContentSchema = void 0;
8
- const zod_1 = require("zod");
3
+ * Generated by Kubb (https://kubb.dev/).
4
+ * Do not edit manually.
5
+ */
6
+ Object.defineProperty(exports, '__esModule', { value: true })
7
+ exports.inputTextContentSchema = void 0
8
+ const zod_1 = require('zod')
9
9
  /**
10
10
  * @description A text input to the model.
11
11
  */
12
- exports.inputTextContentSchema = zod_1.z.object({
13
- "type": zod_1.z.enum(["input_text"]).default("input_text").describe("The type of the input item. Always `input_text`."),
14
- "text": zod_1.z.string().describe("The text input to the model.")
15
- }).describe("A text input to the model.");
12
+ exports.inputTextContentSchema = zod_1.z
13
+ .object({
14
+ type: zod_1.z
15
+ .enum(['input_text'])
16
+ .default('input_text')
17
+ .describe('The type of the input item. Always `input_text`.'),
18
+ text: zod_1.z.string().describe('The text input to the model.'),
19
+ })
20
+ .describe('A text input to the model.')
@@ -1,14 +1,19 @@
1
- "use strict";
1
+ 'use strict'
2
2
  /**
3
- * Generated by Kubb (https://kubb.dev/).
4
- * Do not edit manually.
5
- */
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.inputTokensDetailsSchema = void 0;
8
- const zod_1 = require("zod");
3
+ * Generated by Kubb (https://kubb.dev/).
4
+ * Do not edit manually.
5
+ */
6
+ Object.defineProperty(exports, '__esModule', { value: true })
7
+ exports.inputTokensDetailsSchema = void 0
8
+ const zod_1 = require('zod')
9
9
  /**
10
10
  * @description A breakdown of input token usage that was recorded.
11
11
  */
12
- exports.inputTokensDetailsSchema = zod_1.z.object({
13
- "cached_tokens": zod_1.z.number().int().describe("The number of input tokens that were served from cache.")
14
- }).describe("A breakdown of input token usage that was recorded.");
12
+ exports.inputTokensDetailsSchema = zod_1.z
13
+ .object({
14
+ cached_tokens: zod_1.z
15
+ .number()
16
+ .int()
17
+ .describe('The number of input tokens that were served from cache.'),
18
+ })
19
+ .describe('A breakdown of input token usage that was recorded.')
@@ -1,15 +1,21 @@
1
- "use strict";
1
+ 'use strict'
2
2
  /**
3
- * Generated by Kubb (https://kubb.dev/).
4
- * Do not edit manually.
5
- */
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.inputVideoContentSchema = void 0;
8
- const zod_1 = require("zod");
3
+ * Generated by Kubb (https://kubb.dev/).
4
+ * Do not edit manually.
5
+ */
6
+ Object.defineProperty(exports, '__esModule', { value: true })
7
+ exports.inputVideoContentSchema = void 0
8
+ const zod_1 = require('zod')
9
9
  /**
10
10
  * @description A content block representing a video input to the model.
11
11
  */
12
- exports.inputVideoContentSchema = zod_1.z.object({
13
- "type": zod_1.z.enum(["input_video"]).describe("The type of the input content. Always `input_video`."),
14
- "video_url": zod_1.z.string().describe("A base64 or remote url that resolves to a video file.")
15
- }).describe("A content block representing a video input to the model.");
12
+ exports.inputVideoContentSchema = zod_1.z
13
+ .object({
14
+ type: zod_1.z
15
+ .enum(['input_video'])
16
+ .describe('The type of the input content. Always `input_video`.'),
17
+ video_url: zod_1.z
18
+ .string()
19
+ .describe('A base64 or remote url that resolves to a video file.'),
20
+ })
21
+ .describe('A content block representing a video input to the model.')
@@ -1,24 +1,49 @@
1
- "use strict";
1
+ 'use strict'
2
2
  /**
3
- * Generated by Kubb (https://kubb.dev/).
4
- * Do not edit manually.
5
- */
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.itemFieldSchema = void 0;
8
- const functionCallOutputSchema_ts_1 = require("./functionCallOutputSchema.ts");
9
- const functionCallSchema_ts_1 = require("./functionCallSchema.ts");
10
- const messageSchema_ts_1 = require("./messageSchema.ts");
11
- const reasoningBodySchema_ts_1 = require("./reasoningBodySchema.ts");
12
- const zod_1 = require("zod");
3
+ * Generated by Kubb (https://kubb.dev/).
4
+ * Do not edit manually.
5
+ */
6
+ Object.defineProperty(exports, '__esModule', { value: true })
7
+ exports.itemFieldSchema = void 0
8
+ const functionCallOutputSchema_ts_1 = require('./functionCallOutputSchema.ts')
9
+ const functionCallSchema_ts_1 = require('./functionCallSchema.ts')
10
+ const messageSchema_ts_1 = require('./messageSchema.ts')
11
+ const reasoningBodySchema_ts_1 = require('./reasoningBodySchema.ts')
12
+ const zod_1 = require('zod')
13
13
  /**
14
14
  * @description An item representing a message, tool call, tool output, reasoning, or other response element.
15
15
  */
16
- exports.itemFieldSchema = zod_1.z.union([zod_1.z.lazy(() => messageSchema_ts_1.messageSchema).and(zod_1.z.object({
17
- "type": zod_1.z.literal("message")
18
- })), zod_1.z.lazy(() => functionCallSchema_ts_1.functionCallSchema).and(zod_1.z.object({
19
- "type": zod_1.z.literal("function_call")
20
- })), zod_1.z.lazy(() => functionCallOutputSchema_ts_1.functionCallOutputSchema).and(zod_1.z.object({
21
- "type": zod_1.z.literal("function_call_output")
22
- })), zod_1.z.lazy(() => reasoningBodySchema_ts_1.reasoningBodySchema).and(zod_1.z.object({
23
- "type": zod_1.z.literal("reasoning")
24
- }))]).describe("An item representing a message, tool call, tool output, reasoning, or other response element.");
16
+ exports.itemFieldSchema = zod_1.z
17
+ .union([
18
+ zod_1.z
19
+ .lazy(() => messageSchema_ts_1.messageSchema)
20
+ .and(
21
+ zod_1.z.object({
22
+ type: zod_1.z.literal('message'),
23
+ }),
24
+ ),
25
+ zod_1.z
26
+ .lazy(() => functionCallSchema_ts_1.functionCallSchema)
27
+ .and(
28
+ zod_1.z.object({
29
+ type: zod_1.z.literal('function_call'),
30
+ }),
31
+ ),
32
+ zod_1.z
33
+ .lazy(() => functionCallOutputSchema_ts_1.functionCallOutputSchema)
34
+ .and(
35
+ zod_1.z.object({
36
+ type: zod_1.z.literal('function_call_output'),
37
+ }),
38
+ ),
39
+ zod_1.z
40
+ .lazy(() => reasoningBodySchema_ts_1.reasoningBodySchema)
41
+ .and(
42
+ zod_1.z.object({
43
+ type: zod_1.z.literal('reasoning'),
44
+ }),
45
+ ),
46
+ ])
47
+ .describe(
48
+ 'An item representing a message, tool call, tool output, reasoning, or other response element.',
49
+ )
@@ -1,24 +1,56 @@
1
- "use strict";
1
+ 'use strict'
2
2
  /**
3
- * Generated by Kubb (https://kubb.dev/).
4
- * Do not edit manually.
5
- */
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.itemParamSchema = void 0;
8
- const assistantMessageItemParamSchema_ts_1 = require("./assistantMessageItemParamSchema.ts");
9
- const functionCallItemParamSchema_ts_1 = require("./functionCallItemParamSchema.ts");
10
- const functionCallOutputItemParamSchema_ts_1 = require("./functionCallOutputItemParamSchema.ts");
11
- const itemReferenceParamSchema_ts_1 = require("./itemReferenceParamSchema.ts");
12
- const reasoningItemParamSchema_ts_1 = require("./reasoningItemParamSchema.ts");
13
- const zod_1 = require("zod");
14
- exports.itemParamSchema = zod_1.z.union([zod_1.z.lazy(() => itemReferenceParamSchema_ts_1.itemReferenceParamSchema).and(zod_1.z.object({
15
- "type": zod_1.z.literal("Item reference")
16
- })), zod_1.z.lazy(() => reasoningItemParamSchema_ts_1.reasoningItemParamSchema).and(zod_1.z.object({
17
- "type": zod_1.z.literal("reasoning")
18
- })), zod_1.z.lazy(() => assistantMessageItemParamSchema_ts_1.assistantMessageItemParamSchema).and(zod_1.z.object({
19
- "type": zod_1.z.literal("message")
20
- })), zod_1.z.lazy(() => functionCallItemParamSchema_ts_1.functionCallItemParamSchema).and(zod_1.z.object({
21
- "type": zod_1.z.literal("function_call")
22
- })), zod_1.z.lazy(() => functionCallOutputItemParamSchema_ts_1.functionCallOutputItemParamSchema).and(zod_1.z.object({
23
- "type": zod_1.z.literal("function_call_output")
24
- }))]);
3
+ * Generated by Kubb (https://kubb.dev/).
4
+ * Do not edit manually.
5
+ */
6
+ Object.defineProperty(exports, '__esModule', { value: true })
7
+ exports.itemParamSchema = void 0
8
+ const assistantMessageItemParamSchema_ts_1 = require('./assistantMessageItemParamSchema.ts')
9
+ const functionCallItemParamSchema_ts_1 = require('./functionCallItemParamSchema.ts')
10
+ const functionCallOutputItemParamSchema_ts_1 = require('./functionCallOutputItemParamSchema.ts')
11
+ const itemReferenceParamSchema_ts_1 = require('./itemReferenceParamSchema.ts')
12
+ const reasoningItemParamSchema_ts_1 = require('./reasoningItemParamSchema.ts')
13
+ const zod_1 = require('zod')
14
+ exports.itemParamSchema = zod_1.z.union([
15
+ zod_1.z
16
+ .lazy(() => itemReferenceParamSchema_ts_1.itemReferenceParamSchema)
17
+ .and(
18
+ zod_1.z.object({
19
+ type: zod_1.z.literal('Item reference'),
20
+ }),
21
+ ),
22
+ zod_1.z
23
+ .lazy(() => reasoningItemParamSchema_ts_1.reasoningItemParamSchema)
24
+ .and(
25
+ zod_1.z.object({
26
+ type: zod_1.z.literal('reasoning'),
27
+ }),
28
+ ),
29
+ zod_1.z
30
+ .lazy(
31
+ () =>
32
+ assistantMessageItemParamSchema_ts_1.assistantMessageItemParamSchema,
33
+ )
34
+ .and(
35
+ zod_1.z.object({
36
+ type: zod_1.z.literal('message'),
37
+ }),
38
+ ),
39
+ zod_1.z
40
+ .lazy(() => functionCallItemParamSchema_ts_1.functionCallItemParamSchema)
41
+ .and(
42
+ zod_1.z.object({
43
+ type: zod_1.z.literal('function_call'),
44
+ }),
45
+ ),
46
+ zod_1.z
47
+ .lazy(
48
+ () =>
49
+ functionCallOutputItemParamSchema_ts_1.functionCallOutputItemParamSchema,
50
+ )
51
+ .and(
52
+ zod_1.z.object({
53
+ type: zod_1.z.literal('function_call_output'),
54
+ }),
55
+ ),
56
+ ])
@@ -1,15 +1,19 @@
1
- "use strict";
1
+ 'use strict'
2
2
  /**
3
- * Generated by Kubb (https://kubb.dev/).
4
- * Do not edit manually.
5
- */
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.itemReferenceParamSchema = void 0;
8
- const zod_1 = require("zod");
3
+ * Generated by Kubb (https://kubb.dev/).
4
+ * Do not edit manually.
5
+ */
6
+ Object.defineProperty(exports, '__esModule', { value: true })
7
+ exports.itemReferenceParamSchema = void 0
8
+ const zod_1 = require('zod')
9
9
  /**
10
10
  * @description An internal identifier for an item to reference.
11
11
  */
12
- exports.itemReferenceParamSchema = zod_1.z.object({
13
- "type": zod_1.z.optional(zod_1.z.union([zod_1.z.enum(["item_reference"]), zod_1.z.null()])),
14
- "id": zod_1.z.string().describe("The ID of the item to reference.")
15
- }).describe("An internal identifier for an item to reference.");
12
+ exports.itemReferenceParamSchema = zod_1.z
13
+ .object({
14
+ type: zod_1.z.optional(
15
+ zod_1.z.union([zod_1.z.enum(['item_reference']), zod_1.z.null()]),
16
+ ),
17
+ id: zod_1.z.string().describe('The ID of the item to reference.'),
18
+ })
19
+ .describe('An internal identifier for an item to reference.')
@@ -1,11 +1,11 @@
1
- "use strict";
1
+ 'use strict'
2
2
  /**
3
- * Generated by Kubb (https://kubb.dev/).
4
- * Do not edit manually.
5
- */
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.jsonObjectResponseFormatSchema = void 0;
8
- const zod_1 = require("zod");
3
+ * Generated by Kubb (https://kubb.dev/).
4
+ * Do not edit manually.
5
+ */
6
+ Object.defineProperty(exports, '__esModule', { value: true })
7
+ exports.jsonObjectResponseFormatSchema = void 0
8
+ const zod_1 = require('zod')
9
9
  exports.jsonObjectResponseFormatSchema = zod_1.z.object({
10
- "type": zod_1.z.enum(["json_object"]).default("json_object")
11
- });
10
+ type: zod_1.z.enum(['json_object']).default('json_object'),
11
+ })
@@ -1,15 +1,40 @@
1
- "use strict";
1
+ 'use strict'
2
2
  /**
3
- * Generated by Kubb (https://kubb.dev/).
4
- * Do not edit manually.
5
- */
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.jsonSchemaResponseFormatParamSchema = void 0;
8
- const zod_1 = require("zod");
3
+ * Generated by Kubb (https://kubb.dev/).
4
+ * Do not edit manually.
5
+ */
6
+ Object.defineProperty(exports, '__esModule', { value: true })
7
+ exports.jsonSchemaResponseFormatParamSchema = void 0
8
+ const zod_1 = require('zod')
9
9
  exports.jsonSchemaResponseFormatParamSchema = zod_1.z.object({
10
- "type": zod_1.z.optional(zod_1.z.enum(["json_schema"]).describe("The type of response format being defined. Always `json_schema`.")),
11
- "description": zod_1.z.optional(zod_1.z.string().describe("A description of what the response format is for, used by the model to\ndetermine how to respond in the format.\n")),
12
- "name": zod_1.z.optional(zod_1.z.string().describe("The name of the response format. Must be a-z, A-Z, 0-9, or contain\nunderscores and dashes, with a maximum length of 64.\n")),
13
- "schema": zod_1.z.optional(zod_1.z.object({}).catchall(zod_1.z.any()).describe("The schema for the response format, described as a JSON Schema object.\n")),
14
- "strict": zod_1.z.optional(zod_1.z.union([zod_1.z.boolean(), zod_1.z.null()]))
15
- });
10
+ type: zod_1.z.optional(
11
+ zod_1.z
12
+ .enum(['json_schema'])
13
+ .describe(
14
+ 'The type of response format being defined. Always `json_schema`.',
15
+ ),
16
+ ),
17
+ description: zod_1.z.optional(
18
+ zod_1.z
19
+ .string()
20
+ .describe(
21
+ 'A description of what the response format is for, used by the model to\ndetermine how to respond in the format.\n',
22
+ ),
23
+ ),
24
+ name: zod_1.z.optional(
25
+ zod_1.z
26
+ .string()
27
+ .describe(
28
+ 'The name of the response format. Must be a-z, A-Z, 0-9, or contain\nunderscores and dashes, with a maximum length of 64.\n',
29
+ ),
30
+ ),
31
+ schema: zod_1.z.optional(
32
+ zod_1.z
33
+ .object({})
34
+ .catchall(zod_1.z.any())
35
+ .describe(
36
+ 'The schema for the response format, described as a JSON Schema object.\n',
37
+ ),
38
+ ),
39
+ strict: zod_1.z.optional(zod_1.z.union([zod_1.z.boolean(), zod_1.z.null()])),
40
+ })
@@ -1,15 +1,15 @@
1
- "use strict";
1
+ 'use strict'
2
2
  /**
3
- * Generated by Kubb (https://kubb.dev/).
4
- * Do not edit manually.
5
- */
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.jsonSchemaResponseFormatSchema = void 0;
8
- const zod_1 = require("zod");
3
+ * Generated by Kubb (https://kubb.dev/).
4
+ * Do not edit manually.
5
+ */
6
+ Object.defineProperty(exports, '__esModule', { value: true })
7
+ exports.jsonSchemaResponseFormatSchema = void 0
8
+ const zod_1 = require('zod')
9
9
  exports.jsonSchemaResponseFormatSchema = zod_1.z.object({
10
- "type": zod_1.z.enum(["json_schema"]).default("json_schema"),
11
- "name": zod_1.z.string(),
12
- "description": zod_1.z.union([zod_1.z.string(), zod_1.z.null()]),
13
- "schema": zod_1.z.null(),
14
- "strict": zod_1.z.boolean()
15
- });
10
+ type: zod_1.z.enum(['json_schema']).default('json_schema'),
11
+ name: zod_1.z.string(),
12
+ description: zod_1.z.union([zod_1.z.string(), zod_1.z.null()]),
13
+ schema: zod_1.z.null(),
14
+ strict: zod_1.z.boolean(),
15
+ })
@@ -1,18 +1,24 @@
1
- "use strict";
1
+ 'use strict'
2
2
  /**
3
- * Generated by Kubb (https://kubb.dev/).
4
- * Do not edit manually.
5
- */
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.logProbSchema = void 0;
8
- const topLogProbSchema_ts_1 = require("./topLogProbSchema.ts");
9
- const zod_1 = require("zod");
3
+ * Generated by Kubb (https://kubb.dev/).
4
+ * Do not edit manually.
5
+ */
6
+ Object.defineProperty(exports, '__esModule', { value: true })
7
+ exports.logProbSchema = void 0
8
+ const topLogProbSchema_ts_1 = require('./topLogProbSchema.ts')
9
+ const zod_1 = require('zod')
10
10
  /**
11
11
  * @description The log probability of a token.
12
12
  */
13
- exports.logProbSchema = zod_1.z.object({
14
- "token": zod_1.z.string(),
15
- "logprob": zod_1.z.number(),
16
- "bytes": zod_1.z.array(zod_1.z.number().int()),
17
- "top_logprobs": zod_1.z.array(zod_1.z.lazy(() => topLogProbSchema_ts_1.topLogProbSchema).describe("The top log probability of a token."))
18
- }).describe("The log probability of a token.");
13
+ exports.logProbSchema = zod_1.z
14
+ .object({
15
+ token: zod_1.z.string(),
16
+ logprob: zod_1.z.number(),
17
+ bytes: zod_1.z.array(zod_1.z.number().int()),
18
+ top_logprobs: zod_1.z.array(
19
+ zod_1.z
20
+ .lazy(() => topLogProbSchema_ts_1.topLogProbSchema)
21
+ .describe('The top log probability of a token.'),
22
+ ),
23
+ })
24
+ .describe('The log probability of a token.')