@mistralai/mistralai 2.2.1 → 2.2.5

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 (1294) hide show
  1. package/FUNCTIONS.md +2 -2
  2. package/README.md +41 -2
  3. package/esm/extra/structChat.d.ts.map +1 -1
  4. package/esm/extra/structChat.js +30 -9
  5. package/esm/extra/structChat.js.map +1 -1
  6. package/esm/funcs/agentsComplete.js +1 -1
  7. package/esm/funcs/agentsStream.js +1 -1
  8. package/esm/funcs/audioSpeechComplete.js +1 -1
  9. package/esm/funcs/audioTranscriptionsComplete.js +1 -1
  10. package/esm/funcs/audioTranscriptionsStream.js +1 -1
  11. package/esm/funcs/audioVoicesCreate.js +1 -1
  12. package/esm/funcs/audioVoicesDelete.js +1 -1
  13. package/esm/funcs/audioVoicesGet.js +1 -1
  14. package/esm/funcs/audioVoicesGetSampleAudio.js +1 -1
  15. package/esm/funcs/audioVoicesList.js +1 -1
  16. package/esm/funcs/audioVoicesUpdate.js +1 -1
  17. package/esm/funcs/batchJobsCancel.js +1 -1
  18. package/esm/funcs/batchJobsCreate.js +1 -1
  19. package/esm/funcs/batchJobsDelete.js +1 -1
  20. package/esm/funcs/batchJobsGet.js +1 -1
  21. package/esm/funcs/batchJobsList.js +1 -1
  22. package/esm/funcs/betaAgentsCreate.js +1 -1
  23. package/esm/funcs/betaAgentsCreateVersionAlias.js +1 -1
  24. package/esm/funcs/betaAgentsDelete.js +1 -1
  25. package/esm/funcs/betaAgentsDeleteVersionAlias.js +1 -1
  26. package/esm/funcs/betaAgentsGet.js +1 -1
  27. package/esm/funcs/betaAgentsGetVersion.js +1 -1
  28. package/esm/funcs/betaAgentsList.js +1 -1
  29. package/esm/funcs/betaAgentsListVersionAliases.js +1 -1
  30. package/esm/funcs/betaAgentsListVersions.js +1 -1
  31. package/esm/funcs/betaAgentsUpdate.js +1 -1
  32. package/esm/funcs/betaAgentsUpdateVersion.js +1 -1
  33. package/esm/funcs/betaConnectorsActivateForOrganization.d.ts +19 -0
  34. package/esm/funcs/betaConnectorsActivateForOrganization.d.ts.map +1 -0
  35. package/esm/funcs/betaConnectorsActivateForOrganization.js +93 -0
  36. package/esm/funcs/betaConnectorsActivateForOrganization.js.map +1 -0
  37. package/esm/funcs/betaConnectorsActivateForUser.d.ts +19 -0
  38. package/esm/funcs/betaConnectorsActivateForUser.d.ts.map +1 -0
  39. package/esm/funcs/betaConnectorsActivateForUser.js +93 -0
  40. package/esm/funcs/betaConnectorsActivateForUser.js.map +1 -0
  41. package/esm/funcs/betaConnectorsActivateForWorkspace.d.ts +19 -0
  42. package/esm/funcs/betaConnectorsActivateForWorkspace.d.ts.map +1 -0
  43. package/esm/funcs/betaConnectorsActivateForWorkspace.js +93 -0
  44. package/esm/funcs/betaConnectorsActivateForWorkspace.js.map +1 -0
  45. package/esm/funcs/betaConnectorsCallTool.js +1 -1
  46. package/esm/funcs/betaConnectorsCreate.js +1 -1
  47. package/esm/funcs/betaConnectorsCreateOrUpdateOrganizationCredentials.js +1 -1
  48. package/esm/funcs/betaConnectorsCreateOrUpdateUserCredentials.js +1 -1
  49. package/esm/funcs/betaConnectorsCreateOrUpdateWorkspaceCredentials.js +1 -1
  50. package/esm/funcs/betaConnectorsDeactivateForOrganization.d.ts +19 -0
  51. package/esm/funcs/betaConnectorsDeactivateForOrganization.d.ts.map +1 -0
  52. package/esm/funcs/betaConnectorsDeactivateForOrganization.js +91 -0
  53. package/esm/funcs/betaConnectorsDeactivateForOrganization.js.map +1 -0
  54. package/esm/funcs/betaConnectorsDeactivateForUser.d.ts +19 -0
  55. package/esm/funcs/betaConnectorsDeactivateForUser.d.ts.map +1 -0
  56. package/esm/funcs/betaConnectorsDeactivateForUser.js +90 -0
  57. package/esm/funcs/betaConnectorsDeactivateForUser.js.map +1 -0
  58. package/esm/funcs/betaConnectorsDeactivateForWorkspace.d.ts +19 -0
  59. package/esm/funcs/betaConnectorsDeactivateForWorkspace.d.ts.map +1 -0
  60. package/esm/funcs/betaConnectorsDeactivateForWorkspace.js +90 -0
  61. package/esm/funcs/betaConnectorsDeactivateForWorkspace.js.map +1 -0
  62. package/esm/funcs/betaConnectorsDelete.js +1 -1
  63. package/esm/funcs/betaConnectorsDeleteOrganizationCredentials.js +1 -1
  64. package/esm/funcs/betaConnectorsDeleteUserCredentials.js +1 -1
  65. package/esm/funcs/betaConnectorsDeleteWorkspaceCredentials.js +1 -1
  66. package/esm/funcs/betaConnectorsGet.js +2 -2
  67. package/esm/funcs/betaConnectorsGet.js.map +1 -1
  68. package/esm/funcs/betaConnectorsGetAuthUrl.js +1 -1
  69. package/esm/funcs/betaConnectorsGetAuthenticationMethods.js +1 -1
  70. package/esm/funcs/betaConnectorsList.js +1 -1
  71. package/esm/funcs/betaConnectorsListOrganizationCredentials.js +1 -1
  72. package/esm/funcs/betaConnectorsListTools.js +1 -1
  73. package/esm/funcs/betaConnectorsListUserCredentials.js +1 -1
  74. package/esm/funcs/betaConnectorsListWorkspaceCredentials.js +1 -1
  75. package/esm/funcs/betaConnectorsUpdate.js +1 -1
  76. package/esm/funcs/betaConversationsAppend.js +1 -1
  77. package/esm/funcs/betaConversationsAppendStream.js +1 -1
  78. package/esm/funcs/betaConversationsDelete.js +1 -1
  79. package/esm/funcs/betaConversationsGet.js +1 -1
  80. package/esm/funcs/betaConversationsGetHistory.js +1 -1
  81. package/esm/funcs/betaConversationsGetMessages.js +1 -1
  82. package/esm/funcs/betaConversationsList.js +1 -1
  83. package/esm/funcs/betaConversationsRestart.js +1 -1
  84. package/esm/funcs/betaConversationsRestartStream.js +1 -1
  85. package/esm/funcs/betaConversationsStart.js +1 -1
  86. package/esm/funcs/betaConversationsStartStream.js +1 -1
  87. package/esm/funcs/betaLibrariesAccessesDelete.d.ts +1 -1
  88. package/esm/funcs/betaLibrariesAccessesDelete.js +2 -2
  89. package/esm/funcs/betaLibrariesAccessesList.js +1 -1
  90. package/esm/funcs/betaLibrariesAccessesUpdateOrCreate.js +1 -1
  91. package/esm/funcs/betaLibrariesCreate.js +1 -1
  92. package/esm/funcs/betaLibrariesDelete.d.ts +1 -1
  93. package/esm/funcs/betaLibrariesDelete.js +2 -2
  94. package/esm/funcs/betaLibrariesDocumentsDelete.js +1 -1
  95. package/esm/funcs/betaLibrariesDocumentsExtractedTextSignedUrl.js +1 -1
  96. package/esm/funcs/betaLibrariesDocumentsGet.js +1 -1
  97. package/esm/funcs/betaLibrariesDocumentsGetSignedUrl.js +1 -1
  98. package/esm/funcs/betaLibrariesDocumentsLibrariesDocumentsUpdateV1.d.ts +21 -0
  99. package/esm/funcs/betaLibrariesDocumentsLibrariesDocumentsUpdateV1.d.ts.map +1 -0
  100. package/esm/funcs/betaLibrariesDocumentsLibrariesDocumentsUpdateV1.js +99 -0
  101. package/esm/funcs/betaLibrariesDocumentsLibrariesDocumentsUpdateV1.js.map +1 -0
  102. package/esm/funcs/betaLibrariesDocumentsList.js +1 -1
  103. package/esm/funcs/betaLibrariesDocumentsReprocess.js +1 -1
  104. package/esm/funcs/betaLibrariesDocumentsStatus.js +1 -1
  105. package/esm/funcs/betaLibrariesDocumentsTextContent.js +1 -1
  106. package/esm/funcs/betaLibrariesDocumentsUpdate.d.ts +2 -2
  107. package/esm/funcs/betaLibrariesDocumentsUpdate.d.ts.map +1 -1
  108. package/esm/funcs/betaLibrariesDocumentsUpdate.js +5 -5
  109. package/esm/funcs/betaLibrariesDocumentsUpdate.js.map +1 -1
  110. package/esm/funcs/betaLibrariesDocumentsUpload.js +1 -1
  111. package/esm/funcs/betaLibrariesGet.js +1 -1
  112. package/esm/funcs/betaLibrariesLibrariesUpdateV1.d.ts +21 -0
  113. package/esm/funcs/betaLibrariesLibrariesUpdateV1.d.ts.map +1 -0
  114. package/esm/funcs/betaLibrariesLibrariesUpdateV1.js +95 -0
  115. package/esm/funcs/betaLibrariesLibrariesUpdateV1.js.map +1 -0
  116. package/esm/funcs/betaLibrariesList.js +1 -1
  117. package/esm/funcs/betaLibrariesUpdate.d.ts +1 -1
  118. package/esm/funcs/betaLibrariesUpdate.d.ts.map +1 -1
  119. package/esm/funcs/betaLibrariesUpdate.js +4 -4
  120. package/esm/funcs/betaLibrariesUpdate.js.map +1 -1
  121. package/esm/funcs/betaObservabilityCampaignsCreate.js +1 -1
  122. package/esm/funcs/betaObservabilityCampaignsDelete.js +1 -1
  123. package/esm/funcs/betaObservabilityCampaignsFetch.js +1 -1
  124. package/esm/funcs/betaObservabilityCampaignsFetchStatus.js +1 -1
  125. package/esm/funcs/betaObservabilityCampaignsList.js +1 -1
  126. package/esm/funcs/betaObservabilityCampaignsListEvents.js +1 -1
  127. package/esm/funcs/betaObservabilityChatCompletionEventsFetch.js +1 -1
  128. package/esm/funcs/betaObservabilityChatCompletionEventsFetchSimilarEvents.js +1 -1
  129. package/esm/funcs/betaObservabilityChatCompletionEventsFieldsFetchOptionCounts.js +1 -1
  130. package/esm/funcs/betaObservabilityChatCompletionEventsFieldsFetchOptions.js +1 -1
  131. package/esm/funcs/betaObservabilityChatCompletionEventsFieldsList.js +1 -1
  132. package/esm/funcs/betaObservabilityChatCompletionEventsJudge.js +1 -1
  133. package/esm/funcs/betaObservabilityChatCompletionEventsSearch.js +1 -1
  134. package/esm/funcs/betaObservabilityChatCompletionEventsSearchIds.js +1 -1
  135. package/esm/funcs/betaObservabilityDatasetsCreate.js +1 -1
  136. package/esm/funcs/betaObservabilityDatasetsCreateRecord.js +1 -1
  137. package/esm/funcs/betaObservabilityDatasetsDelete.js +1 -1
  138. package/esm/funcs/betaObservabilityDatasetsExportToJsonl.js +1 -1
  139. package/esm/funcs/betaObservabilityDatasetsFetch.js +1 -1
  140. package/esm/funcs/betaObservabilityDatasetsFetchTask.js +1 -1
  141. package/esm/funcs/betaObservabilityDatasetsImportFromCampaign.js +1 -1
  142. package/esm/funcs/betaObservabilityDatasetsImportFromDatasetRecords.js +1 -1
  143. package/esm/funcs/betaObservabilityDatasetsImportFromExplorer.js +1 -1
  144. package/esm/funcs/betaObservabilityDatasetsImportFromFile.js +1 -1
  145. package/esm/funcs/betaObservabilityDatasetsImportFromPlayground.js +1 -1
  146. package/esm/funcs/betaObservabilityDatasetsList.js +1 -1
  147. package/esm/funcs/betaObservabilityDatasetsListRecords.js +1 -1
  148. package/esm/funcs/betaObservabilityDatasetsListTasks.js +1 -1
  149. package/esm/funcs/betaObservabilityDatasetsRecordsBulkDelete.js +1 -1
  150. package/esm/funcs/betaObservabilityDatasetsRecordsDelete.js +1 -1
  151. package/esm/funcs/betaObservabilityDatasetsRecordsFetch.js +1 -1
  152. package/esm/funcs/betaObservabilityDatasetsRecordsJudge.js +1 -1
  153. package/esm/funcs/betaObservabilityDatasetsRecordsUpdatePayload.js +1 -1
  154. package/esm/funcs/betaObservabilityDatasetsRecordsUpdateProperties.js +1 -1
  155. package/esm/funcs/betaObservabilityDatasetsUpdate.js +1 -1
  156. package/esm/funcs/betaObservabilityJudgesCreate.js +1 -1
  157. package/esm/funcs/betaObservabilityJudgesDelete.js +1 -1
  158. package/esm/funcs/betaObservabilityJudgesFetch.js +1 -1
  159. package/esm/funcs/betaObservabilityJudgesJudgeConversation.js +1 -1
  160. package/esm/funcs/betaObservabilityJudgesList.js +1 -1
  161. package/esm/funcs/betaObservabilityJudgesUpdate.js +1 -1
  162. package/esm/funcs/betaRagIngestionPipelineConfigurationsList.js +1 -1
  163. package/esm/funcs/betaRagIngestionPipelineConfigurationsRegister.d.ts +18 -0
  164. package/esm/funcs/betaRagIngestionPipelineConfigurationsRegister.d.ts.map +1 -0
  165. package/esm/funcs/betaRagIngestionPipelineConfigurationsRegister.js +85 -0
  166. package/esm/funcs/betaRagIngestionPipelineConfigurationsRegister.js.map +1 -0
  167. package/esm/funcs/betaRagIngestionPipelineConfigurationsUpdateRunInfo.d.ts +16 -0
  168. package/esm/funcs/betaRagIngestionPipelineConfigurationsUpdateRunInfo.d.ts.map +1 -0
  169. package/esm/funcs/betaRagIngestionPipelineConfigurationsUpdateRunInfo.js +90 -0
  170. package/esm/funcs/betaRagIngestionPipelineConfigurationsUpdateRunInfo.js.map +1 -0
  171. package/esm/funcs/betaRagSearchIndexesList.d.ts +14 -0
  172. package/esm/funcs/betaRagSearchIndexesList.d.ts.map +1 -0
  173. package/esm/funcs/betaRagSearchIndexesList.js +68 -0
  174. package/esm/funcs/betaRagSearchIndexesList.js.map +1 -0
  175. package/esm/funcs/betaRagSearchIndexesRegister.d.ts +15 -0
  176. package/esm/funcs/betaRagSearchIndexesRegister.d.ts.map +1 -0
  177. package/esm/funcs/betaRagSearchIndexesRegister.js +81 -0
  178. package/esm/funcs/betaRagSearchIndexesRegister.js.map +1 -0
  179. package/esm/funcs/chatComplete.js +1 -1
  180. package/esm/funcs/chatStream.js +1 -1
  181. package/esm/funcs/classifiersClassify.js +1 -1
  182. package/esm/funcs/classifiersClassifyChat.js +1 -1
  183. package/esm/funcs/classifiersModerate.js +1 -1
  184. package/esm/funcs/classifiersModerateChat.js +1 -1
  185. package/esm/funcs/embeddingsCreate.js +1 -1
  186. package/esm/funcs/eventsGetStreamEvents.js +1 -1
  187. package/esm/funcs/eventsGetWorkflowEvents.js +1 -1
  188. package/esm/funcs/filesDelete.js +1 -1
  189. package/esm/funcs/filesDownload.js +1 -1
  190. package/esm/funcs/filesGetSignedUrl.js +1 -1
  191. package/esm/funcs/filesList.js +1 -1
  192. package/esm/funcs/filesRetrieve.js +1 -1
  193. package/esm/funcs/filesUpload.js +1 -1
  194. package/esm/funcs/fimComplete.js +1 -1
  195. package/esm/funcs/fimStream.js +1 -1
  196. package/esm/funcs/fineTuningJobsCancel.js +1 -1
  197. package/esm/funcs/fineTuningJobsCreate.js +1 -1
  198. package/esm/funcs/fineTuningJobsGet.js +1 -1
  199. package/esm/funcs/fineTuningJobsList.js +1 -1
  200. package/esm/funcs/fineTuningJobsStart.js +1 -1
  201. package/esm/funcs/modelsArchive.js +1 -1
  202. package/esm/funcs/modelsDelete.js +1 -1
  203. package/esm/funcs/modelsList.js +1 -1
  204. package/esm/funcs/modelsRetrieve.js +1 -1
  205. package/esm/funcs/modelsUnarchive.js +1 -1
  206. package/esm/funcs/modelsUpdate.js +1 -1
  207. package/esm/funcs/ocrProcess.js +1 -1
  208. package/esm/funcs/workflowsArchiveWorkflow.js +1 -1
  209. package/esm/funcs/workflowsBulkArchiveWorkflows.d.ts +15 -0
  210. package/esm/funcs/workflowsBulkArchiveWorkflows.d.ts.map +1 -0
  211. package/esm/funcs/workflowsBulkArchiveWorkflows.js +81 -0
  212. package/esm/funcs/workflowsBulkArchiveWorkflows.js.map +1 -0
  213. package/esm/funcs/workflowsBulkUnarchiveWorkflows.d.ts +15 -0
  214. package/esm/funcs/workflowsBulkUnarchiveWorkflows.d.ts.map +1 -0
  215. package/esm/funcs/workflowsBulkUnarchiveWorkflows.js +81 -0
  216. package/esm/funcs/workflowsBulkUnarchiveWorkflows.js.map +1 -0
  217. package/esm/funcs/workflowsDeploymentsGetDeployment.js +1 -1
  218. package/esm/funcs/workflowsDeploymentsListDeployments.js +1 -1
  219. package/esm/funcs/workflowsExecuteWorkflow.js +1 -1
  220. package/esm/funcs/workflowsExecuteWorkflowRegistration.js +1 -1
  221. package/esm/funcs/workflowsExecutionsBatchCancelWorkflowExecutions.js +1 -1
  222. package/esm/funcs/workflowsExecutionsBatchTerminateWorkflowExecutions.js +1 -1
  223. package/esm/funcs/workflowsExecutionsCancelWorkflowExecution.js +1 -1
  224. package/esm/funcs/workflowsExecutionsGetWorkflowExecution.js +1 -1
  225. package/esm/funcs/workflowsExecutionsGetWorkflowExecutionHistory.js +1 -1
  226. package/esm/funcs/workflowsExecutionsGetWorkflowExecutionTraceEvents.js +1 -1
  227. package/esm/funcs/workflowsExecutionsGetWorkflowExecutionTraceOtel.js +1 -1
  228. package/esm/funcs/workflowsExecutionsGetWorkflowExecutionTraceSummary.js +1 -1
  229. package/esm/funcs/workflowsExecutionsQueryWorkflowExecution.js +1 -1
  230. package/esm/funcs/workflowsExecutionsResetWorkflow.js +1 -1
  231. package/esm/funcs/workflowsExecutionsSignalWorkflowExecution.js +1 -1
  232. package/esm/funcs/workflowsExecutionsStream.js +1 -1
  233. package/esm/funcs/workflowsExecutionsTerminateWorkflowExecution.js +1 -1
  234. package/esm/funcs/workflowsExecutionsUpdateWorkflowExecution.js +1 -1
  235. package/esm/funcs/workflowsGetWorkflow.js +1 -1
  236. package/esm/funcs/workflowsGetWorkflowRegistration.js +1 -1
  237. package/esm/funcs/workflowsGetWorkflowRegistrations.js +1 -1
  238. package/esm/funcs/workflowsGetWorkflows.js +1 -1
  239. package/esm/funcs/workflowsMetricsGetWorkflowMetrics.js +1 -1
  240. package/esm/funcs/workflowsRunsGetRun.js +1 -1
  241. package/esm/funcs/workflowsRunsGetRunHistory.js +1 -1
  242. package/esm/funcs/workflowsRunsListRuns.js +1 -1
  243. package/esm/funcs/workflowsSchedulesGetSchedule.d.ts +16 -0
  244. package/esm/funcs/workflowsSchedulesGetSchedule.d.ts.map +1 -0
  245. package/esm/funcs/workflowsSchedulesGetSchedule.js +89 -0
  246. package/esm/funcs/workflowsSchedulesGetSchedule.js.map +1 -0
  247. package/esm/funcs/workflowsSchedulesGetSchedules.d.ts +6 -2
  248. package/esm/funcs/workflowsSchedulesGetSchedules.d.ts.map +1 -1
  249. package/esm/funcs/workflowsSchedulesGetSchedules.js +65 -10
  250. package/esm/funcs/workflowsSchedulesGetSchedules.js.map +1 -1
  251. package/esm/funcs/workflowsSchedulesPauseSchedule.d.ts +15 -0
  252. package/esm/funcs/workflowsSchedulesPauseSchedule.d.ts.map +1 -0
  253. package/esm/funcs/workflowsSchedulesPauseSchedule.js +92 -0
  254. package/esm/funcs/workflowsSchedulesPauseSchedule.js.map +1 -0
  255. package/esm/funcs/workflowsSchedulesResumeSchedule.d.ts +15 -0
  256. package/esm/funcs/workflowsSchedulesResumeSchedule.d.ts.map +1 -0
  257. package/esm/funcs/workflowsSchedulesResumeSchedule.js +92 -0
  258. package/esm/funcs/workflowsSchedulesResumeSchedule.js.map +1 -0
  259. package/esm/funcs/workflowsSchedulesScheduleWorkflow.js +1 -1
  260. package/esm/funcs/workflowsSchedulesUnscheduleWorkflow.js +1 -1
  261. package/esm/funcs/workflowsSchedulesUpdateSchedule.d.ts +16 -0
  262. package/esm/funcs/workflowsSchedulesUpdateSchedule.d.ts.map +1 -0
  263. package/esm/funcs/workflowsSchedulesUpdateSchedule.js +92 -0
  264. package/esm/funcs/workflowsSchedulesUpdateSchedule.js.map +1 -0
  265. package/esm/funcs/workflowsUnarchiveWorkflow.js +1 -1
  266. package/esm/funcs/workflowsUpdateWorkflow.js +1 -1
  267. package/esm/hooks/deprecation_warning.d.ts.map +1 -1
  268. package/esm/hooks/deprecation_warning.js +1 -1
  269. package/esm/hooks/deprecation_warning.js.map +1 -1
  270. package/esm/lib/config.d.ts +3 -3
  271. package/esm/lib/config.js +3 -3
  272. package/esm/lib/config.js.map +1 -1
  273. package/esm/models/components/activitytaskcompletedattributesresponse.d.ts +2 -0
  274. package/esm/models/components/activitytaskcompletedattributesresponse.d.ts.map +1 -1
  275. package/esm/models/components/activitytaskcompletedattributesresponse.js.map +1 -1
  276. package/esm/models/components/activitytaskstartedattributesresponse.d.ts +2 -0
  277. package/esm/models/components/activitytaskstartedattributesresponse.d.ts.map +1 -1
  278. package/esm/models/components/activitytaskstartedattributesresponse.js.map +1 -1
  279. package/esm/models/components/agentscompletionrequest.d.ts +2 -0
  280. package/esm/models/components/agentscompletionrequest.d.ts.map +1 -1
  281. package/esm/models/components/agentscompletionrequest.js +2 -0
  282. package/esm/models/components/agentscompletionrequest.js.map +1 -1
  283. package/esm/models/components/agentscompletionstreamrequest.d.ts +2 -0
  284. package/esm/models/components/agentscompletionstreamrequest.d.ts.map +1 -1
  285. package/esm/models/components/agentscompletionstreamrequest.js +2 -0
  286. package/esm/models/components/agentscompletionstreamrequest.js.map +1 -1
  287. package/esm/models/components/authenticationconfiguration.d.ts +4 -2
  288. package/esm/models/components/authenticationconfiguration.d.ts.map +1 -1
  289. package/esm/models/components/authenticationconfiguration.js +4 -2
  290. package/esm/models/components/authenticationconfiguration.js.map +1 -1
  291. package/esm/models/components/basefielddefinition.d.ts +4 -4
  292. package/esm/models/components/basefielddefinition.d.ts.map +1 -1
  293. package/esm/models/components/basefielddefinition.js +3 -4
  294. package/esm/models/components/basefielddefinition.js.map +1 -1
  295. package/esm/models/components/chatcompletionevent.d.ts +6 -2
  296. package/esm/models/components/chatcompletionevent.d.ts.map +1 -1
  297. package/esm/models/components/chatcompletionevent.js +2 -0
  298. package/esm/models/components/chatcompletionevent.js.map +1 -1
  299. package/esm/models/components/chatcompletioneventpreview.d.ts +6 -2
  300. package/esm/models/components/chatcompletioneventpreview.d.ts.map +1 -1
  301. package/esm/models/components/chatcompletioneventpreview.js +2 -0
  302. package/esm/models/components/chatcompletioneventpreview.js.map +1 -1
  303. package/esm/models/components/chatcompletionrequest.d.ts +2 -0
  304. package/esm/models/components/chatcompletionrequest.d.ts.map +1 -1
  305. package/esm/models/components/chatcompletionrequest.js +2 -0
  306. package/esm/models/components/chatcompletionrequest.js.map +1 -1
  307. package/esm/models/components/chatcompletionstreamrequest.d.ts +2 -0
  308. package/esm/models/components/chatcompletionstreamrequest.d.ts.map +1 -1
  309. package/esm/models/components/chatcompletionstreamrequest.js +2 -0
  310. package/esm/models/components/chatcompletionstreamrequest.js.map +1 -1
  311. package/esm/models/components/classifierfinetuningjob.d.ts +1 -1
  312. package/esm/models/components/classifierfinetuningjobdetails.d.ts +42 -0
  313. package/esm/models/components/classifierfinetuningjobdetails.d.ts.map +1 -1
  314. package/esm/models/components/classifierfinetuningjobdetails.js +3 -0
  315. package/esm/models/components/classifierfinetuningjobdetails.js.map +1 -1
  316. package/esm/models/components/classifiertrainingparameters.d.ts +12 -0
  317. package/esm/models/components/classifiertrainingparameters.d.ts.map +1 -1
  318. package/esm/models/components/classifiertrainingparameters.js.map +1 -1
  319. package/esm/models/components/clientcapabilities.d.ts +26 -0
  320. package/esm/models/components/clientcapabilities.d.ts.map +1 -0
  321. package/esm/models/components/clientcapabilities.js +23 -0
  322. package/esm/models/components/clientcapabilities.js.map +1 -0
  323. package/esm/models/components/clienttaskscapability.d.ts +21 -0
  324. package/esm/models/components/clienttaskscapability.d.ts.map +1 -0
  325. package/esm/models/components/clienttaskscapability.js +17 -0
  326. package/esm/models/components/clienttaskscapability.js.map +1 -0
  327. package/esm/models/components/clienttasksrequestscapability.d.ts +17 -0
  328. package/esm/models/components/clienttasksrequestscapability.d.ts.map +1 -0
  329. package/esm/models/components/clienttasksrequestscapability.js +17 -0
  330. package/esm/models/components/clienttasksrequestscapability.js.map +1 -0
  331. package/esm/models/components/completionfinetuningjob.d.ts +1 -1
  332. package/esm/models/components/completionfinetuningjobdetails.d.ts +42 -0
  333. package/esm/models/components/completionfinetuningjobdetails.d.ts.map +1 -1
  334. package/esm/models/components/completionfinetuningjobdetails.js +3 -0
  335. package/esm/models/components/completionfinetuningjobdetails.js.map +1 -1
  336. package/esm/models/components/completiontrainingparameters.d.ts +12 -0
  337. package/esm/models/components/completiontrainingparameters.d.ts.map +1 -1
  338. package/esm/models/components/completiontrainingparameters.js.map +1 -1
  339. package/esm/models/components/connectionconfigtype.d.ts +11 -0
  340. package/esm/models/components/connectionconfigtype.d.ts.map +1 -0
  341. package/esm/models/components/connectionconfigtype.js +13 -0
  342. package/esm/models/components/connectionconfigtype.js.map +1 -0
  343. package/esm/models/components/connectionpreference.d.ts +15 -0
  344. package/esm/models/components/connectionpreference.d.ts.map +1 -0
  345. package/esm/models/components/connectionpreference.js +26 -0
  346. package/esm/models/components/connectionpreference.js.map +1 -0
  347. package/esm/models/components/connector.d.ts +29 -1
  348. package/esm/models/components/connector.d.ts.map +1 -1
  349. package/esm/models/components/connector.js +42 -2
  350. package/esm/models/components/connector.js.map +1 -1
  351. package/esm/models/components/connectorlocale.d.ts +18 -0
  352. package/esm/models/components/connectorlocale.d.ts.map +1 -0
  353. package/esm/models/components/connectorlocale.js +21 -0
  354. package/esm/models/components/connectorlocale.js.map +1 -0
  355. package/esm/models/components/connectorprotocol.d.ts +13 -0
  356. package/esm/models/components/connectorprotocol.d.ts.map +1 -0
  357. package/esm/models/components/connectorprotocol.js +15 -0
  358. package/esm/models/components/connectorprotocol.js.map +1 -0
  359. package/esm/models/components/connectorsqueryfilters.d.ts +0 -5
  360. package/esm/models/components/connectorsqueryfilters.d.ts.map +1 -1
  361. package/esm/models/components/connectorsqueryfilters.js +0 -6
  362. package/esm/models/components/connectorsqueryfilters.js.map +1 -1
  363. package/esm/models/components/consumertype.d.ts +12 -0
  364. package/esm/models/components/consumertype.d.ts.map +1 -0
  365. package/esm/models/components/consumertype.js +14 -0
  366. package/esm/models/components/consumertype.js.map +1 -0
  367. package/esm/models/components/createbatchjobrequest.d.ts +8 -1
  368. package/esm/models/components/createbatchjobrequest.d.ts.map +1 -1
  369. package/esm/models/components/createbatchjobrequest.js.map +1 -1
  370. package/esm/models/components/createconnectorrequest.d.ts +7 -0
  371. package/esm/models/components/createconnectorrequest.d.ts.map +1 -1
  372. package/esm/models/components/createconnectorrequest.js +2 -0
  373. package/esm/models/components/createconnectorrequest.js.map +1 -1
  374. package/esm/models/components/createingestionpipelineconfigurationrequest.d.ts +18 -0
  375. package/esm/models/components/createingestionpipelineconfigurationrequest.d.ts.map +1 -0
  376. package/esm/models/components/createingestionpipelineconfigurationrequest.js +20 -0
  377. package/esm/models/components/createingestionpipelineconfigurationrequest.js.map +1 -0
  378. package/esm/models/components/createlibraryrequest.d.ts +5 -0
  379. package/esm/models/components/createlibraryrequest.d.ts.map +1 -1
  380. package/esm/models/components/createlibraryrequest.js.map +1 -1
  381. package/esm/models/components/createsearchindexinforequest.d.ts +33 -0
  382. package/esm/models/components/createsearchindexinforequest.d.ts.map +1 -0
  383. package/esm/models/components/createsearchindexinforequest.js +33 -0
  384. package/esm/models/components/createsearchindexinforequest.js.map +1 -0
  385. package/esm/models/components/createvespaschemarequest.d.ts +14 -0
  386. package/esm/models/components/createvespaschemarequest.d.ts.map +1 -0
  387. package/esm/models/components/createvespaschemarequest.js +19 -0
  388. package/esm/models/components/createvespaschemarequest.js.map +1 -0
  389. package/esm/models/components/createvespasearchindexinforequest.d.ts +21 -0
  390. package/esm/models/components/createvespasearchindexinforequest.d.ts.map +1 -0
  391. package/esm/models/components/createvespasearchindexinforequest.js +25 -0
  392. package/esm/models/components/createvespasearchindexinforequest.js.map +1 -0
  393. package/esm/models/components/credentialsresponse.d.ts +2 -2
  394. package/esm/models/components/credentialsresponse.d.ts.map +1 -1
  395. package/esm/models/components/credentialsresponse.js +2 -2
  396. package/esm/models/components/credentialsresponse.js.map +1 -1
  397. package/esm/models/components/customtaskcompletedattributesresponse.d.ts +2 -0
  398. package/esm/models/components/customtaskcompletedattributesresponse.d.ts.map +1 -1
  399. package/esm/models/components/customtaskcompletedattributesresponse.js.map +1 -1
  400. package/esm/models/components/customtaskstartedattributesresponse.d.ts +2 -0
  401. package/esm/models/components/customtaskstartedattributesresponse.d.ts.map +1 -1
  402. package/esm/models/components/customtaskstartedattributesresponse.js.map +1 -1
  403. package/esm/models/components/deletemodelresponse.d.ts +2 -2
  404. package/esm/models/components/document.d.ts +16 -0
  405. package/esm/models/components/document.d.ts.map +1 -1
  406. package/esm/models/components/document.js +2 -0
  407. package/esm/models/components/document.js.map +1 -1
  408. package/esm/models/components/elicitationcapability.d.ts +23 -0
  409. package/esm/models/components/elicitationcapability.d.ts.map +1 -0
  410. package/esm/models/components/elicitationcapability.js +15 -0
  411. package/esm/models/components/elicitationcapability.js.map +1 -0
  412. package/esm/models/components/encodedpayloadoptions.d.ts +5 -3
  413. package/esm/models/components/encodedpayloadoptions.d.ts.map +1 -1
  414. package/esm/models/components/encodedpayloadoptions.js +4 -2
  415. package/esm/models/components/encodedpayloadoptions.js.map +1 -1
  416. package/esm/models/components/encryptedpatchvalue.d.ts +21 -0
  417. package/esm/models/components/encryptedpatchvalue.d.ts.map +1 -0
  418. package/esm/models/components/encryptedpatchvalue.js +15 -0
  419. package/esm/models/components/encryptedpatchvalue.js.map +1 -0
  420. package/esm/models/components/fimcompletionrequest.d.ts +2 -0
  421. package/esm/models/components/fimcompletionrequest.d.ts.map +1 -1
  422. package/esm/models/components/fimcompletionrequest.js +2 -0
  423. package/esm/models/components/fimcompletionrequest.js.map +1 -1
  424. package/esm/models/components/fimcompletionstreamrequest.d.ts +2 -0
  425. package/esm/models/components/fimcompletionstreamrequest.d.ts.map +1 -1
  426. package/esm/models/components/fimcompletionstreamrequest.js +2 -0
  427. package/esm/models/components/fimcompletionstreamrequest.js.map +1 -1
  428. package/esm/models/components/index.d.ts +59 -5
  429. package/esm/models/components/index.d.ts.map +1 -1
  430. package/esm/models/components/index.js +59 -5
  431. package/esm/models/components/index.js.map +1 -1
  432. package/esm/models/components/ingestionpipelineconfiguration.d.ts +7 -0
  433. package/esm/models/components/ingestionpipelineconfiguration.d.ts.map +1 -1
  434. package/esm/models/components/ingestionpipelineconfiguration.js +10 -0
  435. package/esm/models/components/ingestionpipelineconfiguration.js.map +1 -1
  436. package/esm/models/components/jobmetadata.d.ts +18 -0
  437. package/esm/models/components/jobmetadata.d.ts.map +1 -1
  438. package/esm/models/components/jobmetadata.js.map +1 -1
  439. package/esm/models/components/jsonpatch.d.ts +13 -0
  440. package/esm/models/components/jsonpatch.d.ts.map +1 -0
  441. package/esm/models/components/jsonpatch.js +21 -0
  442. package/esm/models/components/jsonpatch.js.map +1 -0
  443. package/esm/models/components/jsonpatchappend.d.ts +10 -2
  444. package/esm/models/components/jsonpatchappend.d.ts.map +1 -1
  445. package/esm/models/components/jsonpatchappend.js +8 -1
  446. package/esm/models/components/jsonpatchappend.js.map +1 -1
  447. package/esm/models/components/jsonpatchpayloadresponse.d.ts +7 -11
  448. package/esm/models/components/jsonpatchpayloadresponse.d.ts.map +1 -1
  449. package/esm/models/components/jsonpatchpayloadresponse.js +10 -21
  450. package/esm/models/components/jsonpatchpayloadresponse.js.map +1 -1
  451. package/esm/models/components/jsonpatchpayloadvalueresponse.d.ts +9 -0
  452. package/esm/models/components/jsonpatchpayloadvalueresponse.d.ts.map +1 -0
  453. package/esm/models/components/jsonpatchpayloadvalueresponse.js +14 -0
  454. package/esm/models/components/jsonpatchpayloadvalueresponse.js.map +1 -0
  455. package/esm/models/components/jsonpayloadresponse.d.ts +8 -1
  456. package/esm/models/components/jsonpayloadresponse.d.ts.map +1 -1
  457. package/esm/models/components/jsonpayloadresponse.js +8 -0
  458. package/esm/models/components/jsonpayloadresponse.js.map +1 -1
  459. package/esm/models/components/library.d.ts +17 -0
  460. package/esm/models/components/library.d.ts.map +1 -1
  461. package/esm/models/components/library.js.map +1 -1
  462. package/esm/models/components/logicalexpression.d.ts +39 -0
  463. package/esm/models/components/logicalexpression.d.ts.map +1 -0
  464. package/esm/models/components/logicalexpression.js +60 -0
  465. package/esm/models/components/logicalexpression.js.map +1 -0
  466. package/esm/models/components/mcpprompt.d.ts +20 -0
  467. package/esm/models/components/mcpprompt.d.ts.map +1 -0
  468. package/esm/models/components/mcpprompt.js +26 -0
  469. package/esm/models/components/mcpprompt.js.map +1 -0
  470. package/esm/models/components/mcpresource.d.ts +23 -0
  471. package/esm/models/components/mcpresource.d.ts.map +1 -0
  472. package/esm/models/components/mcpresource.js +30 -0
  473. package/esm/models/components/mcpresource.js.map +1 -0
  474. package/esm/models/components/mcpserverauthenticationrequirement.d.ts +20 -0
  475. package/esm/models/components/mcpserverauthenticationrequirement.d.ts.map +1 -0
  476. package/esm/models/components/mcpserverauthenticationrequirement.js +15 -0
  477. package/esm/models/components/mcpserverauthenticationrequirement.js.map +1 -0
  478. package/esm/models/components/mcpservercard.d.ts +58 -0
  479. package/esm/models/components/mcpservercard.d.ts.map +1 -0
  480. package/esm/models/components/mcpservercard.js +66 -0
  481. package/esm/models/components/mcpservercard.js.map +1 -0
  482. package/esm/models/components/mcpservercardmeta.d.ts +19 -0
  483. package/esm/models/components/mcpservercardmeta.d.ts.map +1 -0
  484. package/esm/models/components/mcpservercardmeta.js +20 -0
  485. package/esm/models/components/mcpservercardmeta.js.map +1 -0
  486. package/esm/models/components/mcpserverremote.d.ts +39 -0
  487. package/esm/models/components/mcpserverremote.d.ts.map +1 -0
  488. package/esm/models/components/mcpserverremote.js +31 -0
  489. package/esm/models/components/mcpserverremote.js.map +1 -0
  490. package/esm/models/components/mcpserverremoteheader.d.ts +24 -0
  491. package/esm/models/components/mcpserverremoteheader.d.ts.map +1 -0
  492. package/esm/models/components/mcpserverremoteheader.js +19 -0
  493. package/esm/models/components/mcpserverremoteheader.js.map +1 -0
  494. package/esm/models/components/mcpserverrepository.d.ts +21 -0
  495. package/esm/models/components/mcpserverrepository.d.ts.map +1 -0
  496. package/esm/models/components/mcpserverrepository.js +16 -0
  497. package/esm/models/components/mcpserverrepository.js.map +1 -0
  498. package/esm/models/components/mcptoolmeta.d.ts +16 -11
  499. package/esm/models/components/mcptoolmeta.d.ts.map +1 -1
  500. package/esm/models/components/mcptoolmeta.js +13 -5
  501. package/esm/models/components/mcptoolmeta.js.map +1 -1
  502. package/esm/models/components/ocrrequest.d.ts +0 -2
  503. package/esm/models/components/ocrrequest.d.ts.map +1 -1
  504. package/esm/models/components/ocrrequest.js +0 -1
  505. package/esm/models/components/ocrrequest.js.map +1 -1
  506. package/esm/models/components/outboundauthenticationtype.d.ts +13 -0
  507. package/esm/models/components/outboundauthenticationtype.d.ts.map +1 -0
  508. package/esm/models/components/outboundauthenticationtype.js +15 -0
  509. package/esm/models/components/outboundauthenticationtype.js.map +1 -0
  510. package/esm/models/components/partialscheduledefinition.d.ts +78 -0
  511. package/esm/models/components/partialscheduledefinition.d.ts.map +1 -0
  512. package/esm/models/components/partialscheduledefinition.js +35 -0
  513. package/esm/models/components/partialscheduledefinition.js.map +1 -0
  514. package/esm/models/components/processingstatus.d.ts +3 -0
  515. package/esm/models/components/processingstatus.d.ts.map +1 -1
  516. package/esm/models/components/processingstatus.js.map +1 -1
  517. package/esm/models/components/promptargument.d.ts +16 -0
  518. package/esm/models/components/promptargument.d.ts.map +1 -0
  519. package/esm/models/components/promptargument.js +16 -0
  520. package/esm/models/components/promptargument.js.map +1 -0
  521. package/esm/models/components/promptscapability.d.ts +14 -0
  522. package/esm/models/components/promptscapability.d.ts.map +1 -0
  523. package/esm/models/components/promptscapability.js +14 -0
  524. package/esm/models/components/promptscapability.js.map +1 -0
  525. package/esm/models/components/publicauthenticationmethod.d.ts +3 -2
  526. package/esm/models/components/publicauthenticationmethod.d.ts.map +1 -1
  527. package/esm/models/components/publicauthenticationmethod.js +4 -2
  528. package/esm/models/components/publicauthenticationmethod.js.map +1 -1
  529. package/esm/models/components/publicconnectionconfig.d.ts +16 -0
  530. package/esm/models/components/publicconnectionconfig.d.ts.map +1 -0
  531. package/esm/models/components/publicconnectionconfig.js +23 -0
  532. package/esm/models/components/publicconnectionconfig.js.map +1 -0
  533. package/esm/models/components/referencechunk.d.ts +4 -4
  534. package/esm/models/components/referencechunk.js +4 -4
  535. package/esm/models/components/referencechunk.js.map +1 -1
  536. package/esm/models/components/resourcescapability.d.ts +15 -0
  537. package/esm/models/components/resourcescapability.d.ts.map +1 -0
  538. package/esm/models/components/resourcescapability.js +15 -0
  539. package/esm/models/components/resourcescapability.js.map +1 -0
  540. package/esm/models/components/resourcetype.d.ts +12 -0
  541. package/esm/models/components/resourcetype.d.ts.map +1 -0
  542. package/esm/models/components/resourcetype.js +14 -0
  543. package/esm/models/components/resourcetype.js.map +1 -0
  544. package/esm/models/components/rootscapability.d.ts +14 -0
  545. package/esm/models/components/rootscapability.d.ts.map +1 -0
  546. package/esm/models/components/rootscapability.js +14 -0
  547. package/esm/models/components/rootscapability.js.map +1 -0
  548. package/esm/models/components/samplingcapability.d.ts +19 -0
  549. package/esm/models/components/samplingcapability.d.ts.map +1 -0
  550. package/esm/models/components/samplingcapability.js +15 -0
  551. package/esm/models/components/samplingcapability.js.map +1 -0
  552. package/esm/models/components/scheduledefinition.d.ts +5 -0
  553. package/esm/models/components/scheduledefinition.d.ts.map +1 -1
  554. package/esm/models/components/scheduledefinition.js +2 -0
  555. package/esm/models/components/scheduledefinition.js.map +1 -1
  556. package/esm/models/components/scheduledefinitionoutput.d.ts +26 -0
  557. package/esm/models/components/scheduledefinitionoutput.d.ts.map +1 -1
  558. package/esm/models/components/scheduledefinitionoutput.js +12 -0
  559. package/esm/models/components/scheduledefinitionoutput.js.map +1 -1
  560. package/esm/models/components/schedulefutureexecution.d.ts +13 -0
  561. package/esm/models/components/schedulefutureexecution.d.ts.map +1 -0
  562. package/esm/models/components/schedulefutureexecution.js +19 -0
  563. package/esm/models/components/schedulefutureexecution.js.map +1 -0
  564. package/esm/models/components/schedulerecentexecution.d.ts +21 -0
  565. package/esm/models/components/schedulerecentexecution.d.ts.map +1 -0
  566. package/esm/models/components/schedulerecentexecution.js +23 -0
  567. package/esm/models/components/schedulerecentexecution.js.map +1 -0
  568. package/esm/models/components/searchindexresponse.d.ts +30 -0
  569. package/esm/models/components/searchindexresponse.d.ts.map +1 -0
  570. package/esm/models/components/searchindexresponse.js +42 -0
  571. package/esm/models/components/searchindexresponse.js.map +1 -0
  572. package/esm/models/components/servercapabilities.d.ts +32 -0
  573. package/esm/models/components/servercapabilities.d.ts.map +1 -0
  574. package/esm/models/components/servercapabilities.js +25 -0
  575. package/esm/models/components/servercapabilities.js.map +1 -0
  576. package/esm/models/components/{turbinetoollocale.d.ts → serverlocale.d.ts} +4 -4
  577. package/esm/models/components/serverlocale.d.ts.map +1 -0
  578. package/esm/models/components/{turbinetoollocale.js → serverlocale.js} +8 -6
  579. package/esm/models/components/serverlocale.js.map +1 -0
  580. package/esm/models/components/servertaskscapability.d.ts +21 -0
  581. package/esm/models/components/servertaskscapability.d.ts.map +1 -0
  582. package/esm/models/components/servertaskscapability.js +17 -0
  583. package/esm/models/components/servertaskscapability.js.map +1 -0
  584. package/esm/models/components/servertasksrequestscapability.d.ts +15 -0
  585. package/esm/models/components/servertasksrequestscapability.d.ts.map +1 -0
  586. package/esm/models/components/servertasksrequestscapability.js +15 -0
  587. package/esm/models/components/servertasksrequestscapability.js.map +1 -0
  588. package/esm/models/components/sharing.d.ts +6 -0
  589. package/esm/models/components/sharing.d.ts.map +1 -1
  590. package/esm/models/components/sharing.js.map +1 -1
  591. package/esm/models/components/sharingdelete.d.ts +3 -0
  592. package/esm/models/components/sharingdelete.d.ts.map +1 -1
  593. package/esm/models/components/sharingdelete.js.map +1 -1
  594. package/esm/models/components/sharingrequest.d.ts +3 -0
  595. package/esm/models/components/sharingrequest.d.ts.map +1 -1
  596. package/esm/models/components/sharingrequest.js.map +1 -1
  597. package/esm/models/components/taskselicitationcapability.d.ts +16 -0
  598. package/esm/models/components/taskselicitationcapability.d.ts.map +1 -0
  599. package/esm/models/components/taskselicitationcapability.js +14 -0
  600. package/esm/models/components/taskselicitationcapability.js.map +1 -0
  601. package/esm/models/components/taskssamplingcapability.d.ts +16 -0
  602. package/esm/models/components/taskssamplingcapability.d.ts.map +1 -0
  603. package/esm/models/components/taskssamplingcapability.js +14 -0
  604. package/esm/models/components/taskssamplingcapability.js.map +1 -0
  605. package/esm/models/components/taskstoolscapability.d.ts +16 -0
  606. package/esm/models/components/taskstoolscapability.d.ts.map +1 -0
  607. package/esm/models/components/taskstoolscapability.js +14 -0
  608. package/esm/models/components/taskstoolscapability.js.map +1 -0
  609. package/esm/models/components/toolexecutionconfiguration.d.ts +43 -0
  610. package/esm/models/components/toolexecutionconfiguration.d.ts.map +1 -0
  611. package/esm/models/components/toolexecutionconfiguration.js +93 -0
  612. package/esm/models/components/toolexecutionconfiguration.js.map +1 -0
  613. package/esm/models/components/toolproperties.d.ts +17 -0
  614. package/esm/models/components/toolproperties.d.ts.map +1 -0
  615. package/esm/models/components/toolproperties.js +30 -0
  616. package/esm/models/components/toolproperties.js.map +1 -0
  617. package/esm/models/components/toolscapability.d.ts +14 -0
  618. package/esm/models/components/toolscapability.d.ts.map +1 -0
  619. package/esm/models/components/toolscapability.js +14 -0
  620. package/esm/models/components/toolscapability.js.map +1 -0
  621. package/esm/models/components/turbinemeta.d.ts +12 -0
  622. package/esm/models/components/turbinemeta.d.ts.map +1 -0
  623. package/esm/models/components/turbinemeta.js +22 -0
  624. package/esm/models/components/turbinemeta.js.map +1 -0
  625. package/esm/models/components/updateconnectorrequest.d.ts +11 -0
  626. package/esm/models/components/updateconnectorrequest.d.ts.map +1 -1
  627. package/esm/models/components/updateconnectorrequest.js +3 -0
  628. package/esm/models/components/updateconnectorrequest.js.map +1 -1
  629. package/esm/models/components/updatedocumentrequest.d.ts +7 -2
  630. package/esm/models/components/updatedocumentrequest.d.ts.map +1 -1
  631. package/esm/models/components/updatedocumentrequest.js +7 -1
  632. package/esm/models/components/updatedocumentrequest.js.map +1 -1
  633. package/esm/models/components/updatelibraryrequest.d.ts +2 -2
  634. package/esm/models/components/updatelibraryrequest.d.ts.map +1 -1
  635. package/esm/models/components/updatelibraryrequest.js +1 -1
  636. package/esm/models/components/updatelibraryrequest.js.map +1 -1
  637. package/esm/models/components/updateruninfo.d.ts +14 -0
  638. package/esm/models/components/updateruninfo.d.ts.map +1 -0
  639. package/esm/models/components/updateruninfo.js +20 -0
  640. package/esm/models/components/updateruninfo.js.map +1 -0
  641. package/esm/models/components/vespaschemaresponse.d.ts +11 -0
  642. package/esm/models/components/vespaschemaresponse.d.ts.map +1 -0
  643. package/esm/models/components/vespaschemaresponse.js +20 -0
  644. package/esm/models/components/vespaschemaresponse.js.map +1 -0
  645. package/esm/models/components/vespasearchindexinforesponse.d.ts +15 -0
  646. package/esm/models/components/vespasearchindexinforesponse.d.ts.map +1 -0
  647. package/esm/models/components/vespasearchindexinforesponse.js +26 -0
  648. package/esm/models/components/vespasearchindexinforesponse.js.map +1 -0
  649. package/esm/models/components/voiceappearance.d.ts +23 -0
  650. package/esm/models/components/voiceappearance.d.ts.map +1 -0
  651. package/esm/models/components/voiceappearance.js +42 -0
  652. package/esm/models/components/voiceappearance.js.map +1 -0
  653. package/esm/models/components/voicecreaterequest.d.ts +5 -0
  654. package/esm/models/components/voicecreaterequest.d.ts.map +1 -1
  655. package/esm/models/components/voicecreaterequest.js +3 -0
  656. package/esm/models/components/voicecreaterequest.js.map +1 -1
  657. package/esm/models/components/voiceresponse.d.ts +3 -0
  658. package/esm/models/components/voiceresponse.d.ts.map +1 -1
  659. package/esm/models/components/voiceresponse.js +3 -0
  660. package/esm/models/components/voiceresponse.js.map +1 -1
  661. package/esm/models/components/voiceupdaterequest.d.ts +5 -0
  662. package/esm/models/components/voiceupdaterequest.d.ts.map +1 -1
  663. package/esm/models/components/voiceupdaterequest.js +3 -0
  664. package/esm/models/components/voiceupdaterequest.js.map +1 -1
  665. package/esm/models/components/workflowbulkarchiverequest.d.ts +15 -0
  666. package/esm/models/components/workflowbulkarchiverequest.d.ts.map +1 -0
  667. package/esm/models/components/workflowbulkarchiverequest.js +18 -0
  668. package/esm/models/components/workflowbulkarchiverequest.js.map +1 -0
  669. package/esm/models/components/workflowbulkarchiveresponse.d.ts +19 -0
  670. package/esm/models/components/workflowbulkarchiveresponse.d.ts.map +1 -0
  671. package/esm/models/components/workflowbulkarchiveresponse.js +17 -0
  672. package/esm/models/components/workflowbulkarchiveresponse.js.map +1 -0
  673. package/esm/models/components/workflowbulkerror.d.ts +22 -0
  674. package/esm/models/components/workflowbulkerror.d.ts.map +1 -0
  675. package/esm/models/components/workflowbulkerror.js +22 -0
  676. package/esm/models/components/workflowbulkerror.js.map +1 -0
  677. package/esm/models/components/workflowbulkunarchiverequest.d.ts +15 -0
  678. package/esm/models/components/workflowbulkunarchiverequest.d.ts.map +1 -0
  679. package/esm/models/components/workflowbulkunarchiverequest.js +18 -0
  680. package/esm/models/components/workflowbulkunarchiverequest.js.map +1 -0
  681. package/esm/models/components/workflowbulkunarchiveresponse.d.ts +19 -0
  682. package/esm/models/components/workflowbulkunarchiveresponse.d.ts.map +1 -0
  683. package/esm/models/components/workflowbulkunarchiveresponse.js +17 -0
  684. package/esm/models/components/workflowbulkunarchiveresponse.js.map +1 -0
  685. package/esm/models/components/workflowexecutioncompletedattributesresponse.d.ts +2 -0
  686. package/esm/models/components/workflowexecutioncompletedattributesresponse.d.ts.map +1 -1
  687. package/esm/models/components/workflowexecutioncompletedattributesresponse.js.map +1 -1
  688. package/esm/models/components/workflowexecutioncontinuedasnewattributesresponse.d.ts +2 -0
  689. package/esm/models/components/workflowexecutioncontinuedasnewattributesresponse.d.ts.map +1 -1
  690. package/esm/models/components/workflowexecutioncontinuedasnewattributesresponse.js.map +1 -1
  691. package/esm/models/components/workflowexecutionrequest.d.ts +0 -6
  692. package/esm/models/components/workflowexecutionrequest.d.ts.map +1 -1
  693. package/esm/models/components/workflowexecutionrequest.js +0 -3
  694. package/esm/models/components/workflowexecutionrequest.js.map +1 -1
  695. package/esm/models/components/workflowexecutionstartedattributesresponse.d.ts +2 -0
  696. package/esm/models/components/workflowexecutionstartedattributesresponse.d.ts.map +1 -1
  697. package/esm/models/components/workflowexecutionstartedattributesresponse.js.map +1 -1
  698. package/esm/models/components/workflowschedulelistresponse.d.ts +4 -0
  699. package/esm/models/components/workflowschedulelistresponse.d.ts.map +1 -1
  700. package/esm/models/components/workflowschedulelistresponse.js +6 -0
  701. package/esm/models/components/workflowschedulelistresponse.js.map +1 -1
  702. package/esm/models/components/workflowschedulepauserequest.d.ts +15 -0
  703. package/esm/models/components/workflowschedulepauserequest.d.ts.map +1 -0
  704. package/esm/models/components/workflowschedulepauserequest.js +13 -0
  705. package/esm/models/components/workflowschedulepauserequest.js.map +1 -0
  706. package/esm/models/components/workflowscheduleupdaterequest.d.ts +21 -0
  707. package/esm/models/components/workflowscheduleupdaterequest.d.ts.map +1 -0
  708. package/esm/models/components/workflowscheduleupdaterequest.js +14 -0
  709. package/esm/models/components/workflowscheduleupdaterequest.js.map +1 -0
  710. package/esm/models/operations/connectoractivatefororganizationv1.d.ts +15 -0
  711. package/esm/models/operations/connectoractivatefororganizationv1.d.ts.map +1 -0
  712. package/esm/models/operations/connectoractivatefororganizationv1.js +21 -0
  713. package/esm/models/operations/connectoractivatefororganizationv1.js.map +1 -0
  714. package/esm/models/operations/connectoractivateforuserv1.d.ts +15 -0
  715. package/esm/models/operations/connectoractivateforuserv1.d.ts.map +1 -0
  716. package/esm/models/operations/connectoractivateforuserv1.js +21 -0
  717. package/esm/models/operations/connectoractivateforuserv1.js.map +1 -0
  718. package/esm/models/operations/connectoractivateforworkspacev1.d.ts +15 -0
  719. package/esm/models/operations/connectoractivateforworkspacev1.d.ts.map +1 -0
  720. package/esm/models/operations/connectoractivateforworkspacev1.js +21 -0
  721. package/esm/models/operations/connectoractivateforworkspacev1.js.map +1 -0
  722. package/esm/models/operations/connectordeactivatefororganizationv1.d.ts +12 -0
  723. package/esm/models/operations/connectordeactivatefororganizationv1.d.ts.map +1 -0
  724. package/esm/models/operations/connectordeactivatefororganizationv1.js +18 -0
  725. package/esm/models/operations/connectordeactivatefororganizationv1.js.map +1 -0
  726. package/esm/models/operations/connectordeactivateforuserv1.d.ts +12 -0
  727. package/esm/models/operations/connectordeactivateforuserv1.d.ts.map +1 -0
  728. package/esm/models/operations/connectordeactivateforuserv1.js +18 -0
  729. package/esm/models/operations/connectordeactivateforuserv1.js.map +1 -0
  730. package/esm/models/operations/connectordeactivateforworkspacev1.d.ts +12 -0
  731. package/esm/models/operations/connectordeactivateforworkspacev1.d.ts.map +1 -0
  732. package/esm/models/operations/connectordeactivateforworkspacev1.js +18 -0
  733. package/esm/models/operations/connectordeactivateforworkspacev1.js.map +1 -0
  734. package/esm/models/operations/connectorgetv1.d.ts +5 -5
  735. package/esm/models/operations/connectorgetv1.d.ts.map +1 -1
  736. package/esm/models/operations/connectorgetv1.js +2 -2
  737. package/esm/models/operations/connectorgetv1.js.map +1 -1
  738. package/esm/models/operations/connectorlistorganizationcredentialsv1.d.ts +1 -1
  739. package/esm/models/operations/connectorlistorganizationcredentialsv1.d.ts.map +1 -1
  740. package/esm/models/operations/connectorlistorganizationcredentialsv1.js +1 -1
  741. package/esm/models/operations/connectorlistorganizationcredentialsv1.js.map +1 -1
  742. package/esm/models/operations/connectorlistusercredentialsv1.d.ts +1 -1
  743. package/esm/models/operations/connectorlistusercredentialsv1.d.ts.map +1 -1
  744. package/esm/models/operations/connectorlistusercredentialsv1.js +2 -1
  745. package/esm/models/operations/connectorlistusercredentialsv1.js.map +1 -1
  746. package/esm/models/operations/connectorlistworkspacecredentialsv1.d.ts +1 -1
  747. package/esm/models/operations/connectorlistworkspacecredentialsv1.d.ts.map +1 -1
  748. package/esm/models/operations/connectorlistworkspacecredentialsv1.js +1 -1
  749. package/esm/models/operations/connectorlistworkspacecredentialsv1.js.map +1 -1
  750. package/esm/models/operations/getschedulesv1workflowsschedulesget.d.ts +58 -0
  751. package/esm/models/operations/getschedulesv1workflowsschedulesget.d.ts.map +1 -0
  752. package/esm/models/operations/getschedulesv1workflowsschedulesget.js +48 -0
  753. package/esm/models/operations/getschedulesv1workflowsschedulesget.js.map +1 -0
  754. package/esm/models/operations/getschedulev1workflowsschedulesscheduleidget.d.ts +12 -0
  755. package/esm/models/operations/getschedulev1workflowsschedulesscheduleidget.d.ts.map +1 -0
  756. package/esm/models/operations/getschedulev1workflowsschedulesscheduleidget.js +18 -0
  757. package/esm/models/operations/getschedulev1workflowsschedulesscheduleidget.js.map +1 -0
  758. package/esm/models/operations/index.d.ts +14 -0
  759. package/esm/models/operations/index.d.ts.map +1 -1
  760. package/esm/models/operations/index.js +14 -0
  761. package/esm/models/operations/index.js.map +1 -1
  762. package/esm/models/operations/librariesdocumentslistv1.d.ts +5 -0
  763. package/esm/models/operations/librariesdocumentslistv1.d.ts.map +1 -1
  764. package/esm/models/operations/librariesdocumentslistv1.js.map +1 -1
  765. package/esm/models/operations/librariesdocumentspatchv1.d.ts +17 -0
  766. package/esm/models/operations/librariesdocumentspatchv1.d.ts.map +1 -0
  767. package/esm/models/operations/librariesdocumentspatchv1.js +23 -0
  768. package/esm/models/operations/librariesdocumentspatchv1.js.map +1 -0
  769. package/esm/models/operations/librarieslistv1.d.ts +3 -1
  770. package/esm/models/operations/librarieslistv1.d.ts.map +1 -1
  771. package/esm/models/operations/librarieslistv1.js.map +1 -1
  772. package/esm/models/operations/librariespatchv1.d.ts +15 -0
  773. package/esm/models/operations/librariespatchv1.d.ts.map +1 -0
  774. package/esm/models/operations/librariespatchv1.js +21 -0
  775. package/esm/models/operations/librariespatchv1.js.map +1 -0
  776. package/esm/models/operations/pauseschedulev1workflowsschedulesscheduleidpausepost.d.ts +15 -0
  777. package/esm/models/operations/pauseschedulev1workflowsschedulesscheduleidpausepost.d.ts.map +1 -0
  778. package/esm/models/operations/pauseschedulev1workflowsschedulesscheduleidpausepost.js +22 -0
  779. package/esm/models/operations/pauseschedulev1workflowsschedulesscheduleidpausepost.js.map +1 -0
  780. package/esm/models/operations/resumeschedulev1workflowsschedulesscheduleidresumepost.d.ts +15 -0
  781. package/esm/models/operations/resumeschedulev1workflowsschedulesscheduleidresumepost.d.ts.map +1 -0
  782. package/esm/models/operations/resumeschedulev1workflowsschedulesscheduleidresumepost.js +22 -0
  783. package/esm/models/operations/resumeschedulev1workflowsschedulesscheduleidresumepost.js.map +1 -0
  784. package/esm/models/operations/updateruninfov1ragingestionpipelineconfigurationsidruninfoput.d.ts +15 -0
  785. package/esm/models/operations/updateruninfov1ragingestionpipelineconfigurationsidruninfoput.d.ts.map +1 -0
  786. package/esm/models/operations/updateruninfov1ragingestionpipelineconfigurationsidruninfoput.js +21 -0
  787. package/esm/models/operations/updateruninfov1ragingestionpipelineconfigurationsidruninfoput.js.map +1 -0
  788. package/esm/models/operations/updateschedulev1workflowsschedulesscheduleidpatch.d.ts +15 -0
  789. package/esm/models/operations/updateschedulev1workflowsschedulesscheduleidpatch.d.ts.map +1 -0
  790. package/esm/models/operations/updateschedulev1workflowsschedulesscheduleidpatch.js +22 -0
  791. package/esm/models/operations/updateschedulev1workflowsschedulesscheduleidpatch.js.map +1 -0
  792. package/esm/sdk/accesses.d.ts +1 -1
  793. package/esm/sdk/accesses.js +1 -1
  794. package/esm/sdk/connectors.d.ts +42 -0
  795. package/esm/sdk/connectors.d.ts.map +1 -1
  796. package/esm/sdk/connectors.js +60 -0
  797. package/esm/sdk/connectors.js.map +1 -1
  798. package/esm/sdk/documents.d.ts +10 -1
  799. package/esm/sdk/documents.d.ts.map +1 -1
  800. package/esm/sdk/documents.js +13 -1
  801. package/esm/sdk/documents.js.map +1 -1
  802. package/esm/sdk/ingestionpipelineconfigurations.d.ts +12 -0
  803. package/esm/sdk/ingestionpipelineconfigurations.d.ts.map +1 -1
  804. package/esm/sdk/ingestionpipelineconfigurations.js +17 -0
  805. package/esm/sdk/ingestionpipelineconfigurations.js.map +1 -1
  806. package/esm/sdk/libraries.d.ts +11 -2
  807. package/esm/sdk/libraries.d.ts.map +1 -1
  808. package/esm/sdk/libraries.js +13 -1
  809. package/esm/sdk/libraries.js.map +1 -1
  810. package/esm/sdk/rag.d.ts +3 -0
  811. package/esm/sdk/rag.d.ts.map +1 -1
  812. package/esm/sdk/rag.js +5 -0
  813. package/esm/sdk/rag.js.map +1 -1
  814. package/esm/sdk/schedules.d.ts +20 -1
  815. package/esm/sdk/schedules.d.ts.map +1 -1
  816. package/esm/sdk/schedules.js +31 -2
  817. package/esm/sdk/schedules.js.map +1 -1
  818. package/esm/sdk/searchindexes.d.ts +13 -0
  819. package/esm/sdk/searchindexes.d.ts.map +1 -0
  820. package/esm/sdk/searchindexes.js +23 -0
  821. package/esm/sdk/searchindexes.js.map +1 -0
  822. package/esm/sdk/workflows.d.ts +8 -0
  823. package/esm/sdk/workflows.d.ts.map +1 -1
  824. package/esm/sdk/workflows.js +14 -0
  825. package/esm/sdk/workflows.js.map +1 -1
  826. package/esm/types/async.d.ts.map +1 -1
  827. package/esm/types/async.js +6 -6
  828. package/esm/types/async.js.map +1 -1
  829. package/examples/src/reasoning.ts +50 -0
  830. package/examples/src/reasoning_multi_turn.ts +77 -0
  831. package/examples/src/reasoning_response_shape.ts +33 -0
  832. package/examples/src/reasoning_with_streaming.ts +68 -0
  833. package/jsr.json +1 -1
  834. package/package.json +1 -1
  835. package/packages/mistralai-azure/src/funcs/chatComplete.ts +5 -3
  836. package/packages/mistralai-azure/src/funcs/chatStream.ts +5 -3
  837. package/packages/mistralai-azure/src/funcs/ocrProcess.ts +5 -3
  838. package/packages/mistralai-azure/src/lib/config.ts +3 -3
  839. package/packages/mistralai-azure/src/lib/encodings.ts +32 -4
  840. package/packages/mistralai-azure/src/lib/files.ts +22 -0
  841. package/packages/mistralai-azure/src/lib/sdks.ts +10 -11
  842. package/packages/mistralai-azure/src/lib/security.ts +14 -2
  843. package/packages/mistralai-azure/src/lib/url.ts +16 -14
  844. package/packages/mistralai-azure/src/models/components/apikeyauth.ts +30 -0
  845. package/packages/mistralai-azure/src/models/components/chatcompletionchoice.ts +5 -2
  846. package/packages/mistralai-azure/src/models/components/chatcompletionrequest.ts +136 -15
  847. package/packages/mistralai-azure/src/models/components/chatcompletionstreamrequest.ts +138 -15
  848. package/packages/mistralai-azure/src/models/components/codeinterpretertool.ts +44 -0
  849. package/packages/mistralai-azure/src/models/components/customconnector.ts +82 -0
  850. package/packages/mistralai-azure/src/models/components/deltamessage.ts +10 -0
  851. package/packages/mistralai-azure/src/models/components/documentlibrarytool.ts +51 -0
  852. package/packages/mistralai-azure/src/models/components/guardrailconfig.ts +55 -0
  853. package/packages/mistralai-azure/src/models/components/imagegenerationtool.ts +44 -0
  854. package/packages/mistralai-azure/src/models/components/imageurlchunk.ts +1 -1
  855. package/packages/mistralai-azure/src/models/components/index.ts +18 -1
  856. package/packages/mistralai-azure/src/models/components/moderationllmaction.ts +18 -0
  857. package/packages/mistralai-azure/src/models/components/moderationllmv1categorythresholds.ts +64 -0
  858. package/packages/mistralai-azure/src/models/components/moderationllmv1config.ts +70 -0
  859. package/packages/mistralai-azure/src/models/components/moderationllmv2categorythresholds.ts +69 -0
  860. package/packages/mistralai-azure/src/models/components/moderationllmv2config.ts +70 -0
  861. package/packages/mistralai-azure/src/models/components/oauth2tokenauth.ts +32 -0
  862. package/packages/mistralai-azure/src/models/components/ocrconfidencescore.ts +52 -0
  863. package/packages/mistralai-azure/src/models/components/ocrpageconfidencescores.ts +66 -0
  864. package/packages/mistralai-azure/src/models/components/ocrpageobject.ts +15 -0
  865. package/packages/mistralai-azure/src/models/components/ocrrequest.ts +42 -7
  866. package/packages/mistralai-azure/src/models/components/ocrtableobject.ts +16 -0
  867. package/packages/mistralai-azure/src/models/components/reasoningeffort.ts +17 -0
  868. package/packages/mistralai-azure/src/models/components/referencechunk.ts +32 -4
  869. package/packages/mistralai-azure/src/models/components/thinkchunk.ts +6 -0
  870. package/packages/mistralai-azure/src/models/components/tool.ts +3 -4
  871. package/packages/mistralai-azure/src/models/components/toolcall.ts +3 -8
  872. package/packages/mistralai-azure/src/models/components/toolchoice.ts +2 -3
  873. package/packages/mistralai-azure/src/models/components/toolconfiguration.ts +42 -0
  874. package/packages/mistralai-azure/src/models/components/toolreferencechunk.ts +11 -7
  875. package/packages/mistralai-azure/src/models/components/websearchpremiumtool.ts +44 -0
  876. package/packages/mistralai-azure/src/models/components/websearchtool.ts +40 -0
  877. package/packages/mistralai-azure/src/types/async.ts +8 -7
  878. package/packages/mistralai-gcp/src/funcs/chatComplete.ts +5 -3
  879. package/packages/mistralai-gcp/src/funcs/chatStream.ts +5 -3
  880. package/packages/mistralai-gcp/src/funcs/fimComplete.ts +5 -3
  881. package/packages/mistralai-gcp/src/funcs/fimStream.ts +5 -3
  882. package/packages/mistralai-gcp/src/lib/config.ts +3 -3
  883. package/packages/mistralai-gcp/src/lib/encodings.ts +32 -4
  884. package/packages/mistralai-gcp/src/lib/files.ts +22 -0
  885. package/packages/mistralai-gcp/src/lib/sdks.ts +10 -11
  886. package/packages/mistralai-gcp/src/lib/security.ts +14 -2
  887. package/packages/mistralai-gcp/src/lib/url.ts +16 -14
  888. package/packages/mistralai-gcp/src/models/components/apikeyauth.ts +30 -0
  889. package/packages/mistralai-gcp/src/models/components/chatcompletionchoice.ts +5 -2
  890. package/packages/mistralai-gcp/src/models/components/chatcompletionrequest.ts +136 -15
  891. package/packages/mistralai-gcp/src/models/components/chatcompletionstreamrequest.ts +138 -15
  892. package/packages/mistralai-gcp/src/models/components/codeinterpretertool.ts +44 -0
  893. package/packages/mistralai-gcp/src/models/components/customconnector.ts +82 -0
  894. package/packages/mistralai-gcp/src/models/components/deltamessage.ts +10 -0
  895. package/packages/mistralai-gcp/src/models/components/documentlibrarytool.ts +51 -0
  896. package/packages/mistralai-gcp/src/models/components/fimcompletionrequest.ts +6 -6
  897. package/packages/mistralai-gcp/src/models/components/fimcompletionstreamrequest.ts +6 -6
  898. package/packages/mistralai-gcp/src/models/components/guardrailconfig.ts +55 -0
  899. package/packages/mistralai-gcp/src/models/components/imagegenerationtool.ts +44 -0
  900. package/packages/mistralai-gcp/src/models/components/imageurlchunk.ts +1 -1
  901. package/packages/mistralai-gcp/src/models/components/index.ts +16 -1
  902. package/packages/mistralai-gcp/src/models/components/moderationllmaction.ts +18 -0
  903. package/packages/mistralai-gcp/src/models/components/moderationllmv1categorythresholds.ts +64 -0
  904. package/packages/mistralai-gcp/src/models/components/moderationllmv1config.ts +70 -0
  905. package/packages/mistralai-gcp/src/models/components/moderationllmv2categorythresholds.ts +69 -0
  906. package/packages/mistralai-gcp/src/models/components/moderationllmv2config.ts +70 -0
  907. package/packages/mistralai-gcp/src/models/components/oauth2tokenauth.ts +32 -0
  908. package/packages/mistralai-gcp/src/models/components/reasoningeffort.ts +17 -0
  909. package/packages/mistralai-gcp/src/models/components/referencechunk.ts +32 -4
  910. package/packages/mistralai-gcp/src/models/components/thinkchunk.ts +6 -0
  911. package/packages/mistralai-gcp/src/models/components/tool.ts +3 -4
  912. package/packages/mistralai-gcp/src/models/components/toolcall.ts +3 -8
  913. package/packages/mistralai-gcp/src/models/components/toolchoice.ts +2 -3
  914. package/packages/mistralai-gcp/src/models/components/toolconfiguration.ts +42 -0
  915. package/packages/mistralai-gcp/src/models/components/toolreferencechunk.ts +11 -7
  916. package/packages/mistralai-gcp/src/models/components/websearchpremiumtool.ts +44 -0
  917. package/packages/mistralai-gcp/src/models/components/websearchtool.ts +40 -0
  918. package/packages/mistralai-gcp/src/models/errors/httpvalidationerror.ts +1 -1
  919. package/packages/mistralai-gcp/src/models/errors/index.ts +1 -1
  920. package/packages/mistralai-gcp/src/models/errors/responsevalidationerror.ts +1 -1
  921. package/packages/mistralai-gcp/src/models/errors/sdkerror.ts +1 -1
  922. package/packages/mistralai-gcp/src/types/async.ts +8 -7
  923. package/src/extra/structChat.ts +25 -5
  924. package/src/funcs/agentsComplete.ts +1 -1
  925. package/src/funcs/agentsStream.ts +1 -1
  926. package/src/funcs/audioSpeechComplete.ts +1 -1
  927. package/src/funcs/audioTranscriptionsComplete.ts +1 -1
  928. package/src/funcs/audioTranscriptionsStream.ts +1 -1
  929. package/src/funcs/audioVoicesCreate.ts +1 -1
  930. package/src/funcs/audioVoicesDelete.ts +1 -1
  931. package/src/funcs/audioVoicesGet.ts +1 -1
  932. package/src/funcs/audioVoicesGetSampleAudio.ts +1 -1
  933. package/src/funcs/audioVoicesList.ts +1 -1
  934. package/src/funcs/audioVoicesUpdate.ts +1 -1
  935. package/src/funcs/batchJobsCancel.ts +1 -1
  936. package/src/funcs/batchJobsCreate.ts +1 -1
  937. package/src/funcs/batchJobsDelete.ts +1 -1
  938. package/src/funcs/batchJobsGet.ts +1 -1
  939. package/src/funcs/batchJobsList.ts +1 -1
  940. package/src/funcs/betaAgentsCreate.ts +1 -1
  941. package/src/funcs/betaAgentsCreateVersionAlias.ts +1 -1
  942. package/src/funcs/betaAgentsDelete.ts +1 -1
  943. package/src/funcs/betaAgentsDeleteVersionAlias.ts +1 -1
  944. package/src/funcs/betaAgentsGet.ts +1 -1
  945. package/src/funcs/betaAgentsGetVersion.ts +1 -1
  946. package/src/funcs/betaAgentsList.ts +1 -1
  947. package/src/funcs/betaAgentsListVersionAliases.ts +1 -1
  948. package/src/funcs/betaAgentsListVersions.ts +1 -1
  949. package/src/funcs/betaAgentsUpdate.ts +1 -1
  950. package/src/funcs/betaAgentsUpdateVersion.ts +1 -1
  951. package/src/funcs/betaConnectorsActivateForOrganization.ts +186 -0
  952. package/src/funcs/betaConnectorsActivateForUser.ts +184 -0
  953. package/src/funcs/betaConnectorsActivateForWorkspace.ts +186 -0
  954. package/src/funcs/betaConnectorsCallTool.ts +1 -1
  955. package/src/funcs/betaConnectorsCreate.ts +1 -1
  956. package/src/funcs/betaConnectorsCreateOrUpdateOrganizationCredentials.ts +1 -1
  957. package/src/funcs/betaConnectorsCreateOrUpdateUserCredentials.ts +1 -1
  958. package/src/funcs/betaConnectorsCreateOrUpdateWorkspaceCredentials.ts +1 -1
  959. package/src/funcs/betaConnectorsDeactivateForOrganization.ts +182 -0
  960. package/src/funcs/betaConnectorsDeactivateForUser.ts +183 -0
  961. package/src/funcs/betaConnectorsDeactivateForWorkspace.ts +183 -0
  962. package/src/funcs/betaConnectorsDelete.ts +1 -1
  963. package/src/funcs/betaConnectorsDeleteOrganizationCredentials.ts +1 -1
  964. package/src/funcs/betaConnectorsDeleteUserCredentials.ts +1 -1
  965. package/src/funcs/betaConnectorsDeleteWorkspaceCredentials.ts +1 -1
  966. package/src/funcs/betaConnectorsGet.ts +2 -2
  967. package/src/funcs/betaConnectorsGetAuthUrl.ts +1 -1
  968. package/src/funcs/betaConnectorsGetAuthenticationMethods.ts +1 -1
  969. package/src/funcs/betaConnectorsList.ts +1 -1
  970. package/src/funcs/betaConnectorsListOrganizationCredentials.ts +1 -1
  971. package/src/funcs/betaConnectorsListTools.ts +1 -1
  972. package/src/funcs/betaConnectorsListUserCredentials.ts +1 -1
  973. package/src/funcs/betaConnectorsListWorkspaceCredentials.ts +1 -1
  974. package/src/funcs/betaConnectorsUpdate.ts +1 -1
  975. package/src/funcs/betaConversationsAppend.ts +1 -1
  976. package/src/funcs/betaConversationsAppendStream.ts +1 -1
  977. package/src/funcs/betaConversationsDelete.ts +1 -1
  978. package/src/funcs/betaConversationsGet.ts +1 -1
  979. package/src/funcs/betaConversationsGetHistory.ts +1 -1
  980. package/src/funcs/betaConversationsGetMessages.ts +1 -1
  981. package/src/funcs/betaConversationsList.ts +1 -1
  982. package/src/funcs/betaConversationsRestart.ts +1 -1
  983. package/src/funcs/betaConversationsRestartStream.ts +1 -1
  984. package/src/funcs/betaConversationsStart.ts +1 -1
  985. package/src/funcs/betaConversationsStartStream.ts +1 -1
  986. package/src/funcs/betaLibrariesAccessesDelete.ts +2 -2
  987. package/src/funcs/betaLibrariesAccessesList.ts +1 -1
  988. package/src/funcs/betaLibrariesAccessesUpdateOrCreate.ts +1 -1
  989. package/src/funcs/betaLibrariesCreate.ts +1 -1
  990. package/src/funcs/betaLibrariesDelete.ts +2 -2
  991. package/src/funcs/betaLibrariesDocumentsDelete.ts +1 -1
  992. package/src/funcs/betaLibrariesDocumentsExtractedTextSignedUrl.ts +1 -1
  993. package/src/funcs/betaLibrariesDocumentsGet.ts +1 -1
  994. package/src/funcs/betaLibrariesDocumentsGetSignedUrl.ts +1 -1
  995. package/src/funcs/betaLibrariesDocumentsLibrariesDocumentsUpdateV1.ts +190 -0
  996. package/src/funcs/betaLibrariesDocumentsList.ts +1 -1
  997. package/src/funcs/betaLibrariesDocumentsReprocess.ts +1 -1
  998. package/src/funcs/betaLibrariesDocumentsStatus.ts +1 -1
  999. package/src/funcs/betaLibrariesDocumentsTextContent.ts +1 -1
  1000. package/src/funcs/betaLibrariesDocumentsUpdate.ts +7 -7
  1001. package/src/funcs/betaLibrariesDocumentsUpload.ts +1 -1
  1002. package/src/funcs/betaLibrariesGet.ts +1 -1
  1003. package/src/funcs/betaLibrariesLibrariesUpdateV1.ts +183 -0
  1004. package/src/funcs/betaLibrariesList.ts +1 -1
  1005. package/src/funcs/betaLibrariesUpdate.ts +6 -6
  1006. package/src/funcs/betaObservabilityCampaignsCreate.ts +1 -1
  1007. package/src/funcs/betaObservabilityCampaignsDelete.ts +1 -1
  1008. package/src/funcs/betaObservabilityCampaignsFetch.ts +1 -1
  1009. package/src/funcs/betaObservabilityCampaignsFetchStatus.ts +1 -1
  1010. package/src/funcs/betaObservabilityCampaignsList.ts +1 -1
  1011. package/src/funcs/betaObservabilityCampaignsListEvents.ts +1 -1
  1012. package/src/funcs/betaObservabilityChatCompletionEventsFetch.ts +1 -1
  1013. package/src/funcs/betaObservabilityChatCompletionEventsFetchSimilarEvents.ts +1 -1
  1014. package/src/funcs/betaObservabilityChatCompletionEventsFieldsFetchOptionCounts.ts +1 -1
  1015. package/src/funcs/betaObservabilityChatCompletionEventsFieldsFetchOptions.ts +1 -1
  1016. package/src/funcs/betaObservabilityChatCompletionEventsFieldsList.ts +1 -1
  1017. package/src/funcs/betaObservabilityChatCompletionEventsJudge.ts +1 -1
  1018. package/src/funcs/betaObservabilityChatCompletionEventsSearch.ts +1 -1
  1019. package/src/funcs/betaObservabilityChatCompletionEventsSearchIds.ts +1 -1
  1020. package/src/funcs/betaObservabilityDatasetsCreate.ts +1 -1
  1021. package/src/funcs/betaObservabilityDatasetsCreateRecord.ts +1 -1
  1022. package/src/funcs/betaObservabilityDatasetsDelete.ts +1 -1
  1023. package/src/funcs/betaObservabilityDatasetsExportToJsonl.ts +1 -1
  1024. package/src/funcs/betaObservabilityDatasetsFetch.ts +1 -1
  1025. package/src/funcs/betaObservabilityDatasetsFetchTask.ts +1 -1
  1026. package/src/funcs/betaObservabilityDatasetsImportFromCampaign.ts +1 -1
  1027. package/src/funcs/betaObservabilityDatasetsImportFromDatasetRecords.ts +1 -1
  1028. package/src/funcs/betaObservabilityDatasetsImportFromExplorer.ts +1 -1
  1029. package/src/funcs/betaObservabilityDatasetsImportFromFile.ts +1 -1
  1030. package/src/funcs/betaObservabilityDatasetsImportFromPlayground.ts +1 -1
  1031. package/src/funcs/betaObservabilityDatasetsList.ts +1 -1
  1032. package/src/funcs/betaObservabilityDatasetsListRecords.ts +1 -1
  1033. package/src/funcs/betaObservabilityDatasetsListTasks.ts +1 -1
  1034. package/src/funcs/betaObservabilityDatasetsRecordsBulkDelete.ts +1 -1
  1035. package/src/funcs/betaObservabilityDatasetsRecordsDelete.ts +1 -1
  1036. package/src/funcs/betaObservabilityDatasetsRecordsFetch.ts +1 -1
  1037. package/src/funcs/betaObservabilityDatasetsRecordsJudge.ts +1 -1
  1038. package/src/funcs/betaObservabilityDatasetsRecordsUpdatePayload.ts +1 -1
  1039. package/src/funcs/betaObservabilityDatasetsRecordsUpdateProperties.ts +1 -1
  1040. package/src/funcs/betaObservabilityDatasetsUpdate.ts +1 -1
  1041. package/src/funcs/betaObservabilityJudgesCreate.ts +1 -1
  1042. package/src/funcs/betaObservabilityJudgesDelete.ts +1 -1
  1043. package/src/funcs/betaObservabilityJudgesFetch.ts +1 -1
  1044. package/src/funcs/betaObservabilityJudgesJudgeConversation.ts +1 -1
  1045. package/src/funcs/betaObservabilityJudgesList.ts +1 -1
  1046. package/src/funcs/betaObservabilityJudgesUpdate.ts +1 -1
  1047. package/src/funcs/betaRagIngestionPipelineConfigurationsList.ts +1 -1
  1048. package/src/funcs/betaRagIngestionPipelineConfigurationsRegister.ts +174 -0
  1049. package/src/funcs/betaRagIngestionPipelineConfigurationsUpdateRunInfo.ts +184 -0
  1050. package/src/funcs/betaRagSearchIndexesList.ts +143 -0
  1051. package/src/funcs/betaRagSearchIndexesRegister.ts +170 -0
  1052. package/src/funcs/chatComplete.ts +1 -1
  1053. package/src/funcs/chatStream.ts +1 -1
  1054. package/src/funcs/classifiersClassify.ts +1 -1
  1055. package/src/funcs/classifiersClassifyChat.ts +1 -1
  1056. package/src/funcs/classifiersModerate.ts +1 -1
  1057. package/src/funcs/classifiersModerateChat.ts +1 -1
  1058. package/src/funcs/embeddingsCreate.ts +1 -1
  1059. package/src/funcs/eventsGetStreamEvents.ts +1 -1
  1060. package/src/funcs/eventsGetWorkflowEvents.ts +1 -1
  1061. package/src/funcs/filesDelete.ts +1 -1
  1062. package/src/funcs/filesDownload.ts +1 -1
  1063. package/src/funcs/filesGetSignedUrl.ts +1 -1
  1064. package/src/funcs/filesList.ts +1 -1
  1065. package/src/funcs/filesRetrieve.ts +1 -1
  1066. package/src/funcs/filesUpload.ts +1 -1
  1067. package/src/funcs/fimComplete.ts +1 -1
  1068. package/src/funcs/fimStream.ts +1 -1
  1069. package/src/funcs/fineTuningJobsCancel.ts +1 -1
  1070. package/src/funcs/fineTuningJobsCreate.ts +1 -1
  1071. package/src/funcs/fineTuningJobsGet.ts +1 -1
  1072. package/src/funcs/fineTuningJobsList.ts +1 -1
  1073. package/src/funcs/fineTuningJobsStart.ts +1 -1
  1074. package/src/funcs/modelsArchive.ts +1 -1
  1075. package/src/funcs/modelsDelete.ts +1 -1
  1076. package/src/funcs/modelsList.ts +1 -1
  1077. package/src/funcs/modelsRetrieve.ts +1 -1
  1078. package/src/funcs/modelsUnarchive.ts +1 -1
  1079. package/src/funcs/modelsUpdate.ts +1 -1
  1080. package/src/funcs/ocrProcess.ts +1 -1
  1081. package/src/funcs/workflowsArchiveWorkflow.ts +1 -1
  1082. package/src/funcs/workflowsBulkArchiveWorkflows.ts +170 -0
  1083. package/src/funcs/workflowsBulkUnarchiveWorkflows.ts +170 -0
  1084. package/src/funcs/workflowsDeploymentsGetDeployment.ts +1 -1
  1085. package/src/funcs/workflowsDeploymentsListDeployments.ts +1 -1
  1086. package/src/funcs/workflowsExecuteWorkflow.ts +1 -1
  1087. package/src/funcs/workflowsExecuteWorkflowRegistration.ts +1 -1
  1088. package/src/funcs/workflowsExecutionsBatchCancelWorkflowExecutions.ts +1 -1
  1089. package/src/funcs/workflowsExecutionsBatchTerminateWorkflowExecutions.ts +1 -1
  1090. package/src/funcs/workflowsExecutionsCancelWorkflowExecution.ts +1 -1
  1091. package/src/funcs/workflowsExecutionsGetWorkflowExecution.ts +1 -1
  1092. package/src/funcs/workflowsExecutionsGetWorkflowExecutionHistory.ts +1 -1
  1093. package/src/funcs/workflowsExecutionsGetWorkflowExecutionTraceEvents.ts +1 -1
  1094. package/src/funcs/workflowsExecutionsGetWorkflowExecutionTraceOtel.ts +1 -1
  1095. package/src/funcs/workflowsExecutionsGetWorkflowExecutionTraceSummary.ts +1 -1
  1096. package/src/funcs/workflowsExecutionsQueryWorkflowExecution.ts +1 -1
  1097. package/src/funcs/workflowsExecutionsResetWorkflow.ts +1 -1
  1098. package/src/funcs/workflowsExecutionsSignalWorkflowExecution.ts +1 -1
  1099. package/src/funcs/workflowsExecutionsStream.ts +1 -1
  1100. package/src/funcs/workflowsExecutionsTerminateWorkflowExecution.ts +1 -1
  1101. package/src/funcs/workflowsExecutionsUpdateWorkflowExecution.ts +1 -1
  1102. package/src/funcs/workflowsGetWorkflow.ts +1 -1
  1103. package/src/funcs/workflowsGetWorkflowRegistration.ts +1 -1
  1104. package/src/funcs/workflowsGetWorkflowRegistrations.ts +1 -1
  1105. package/src/funcs/workflowsGetWorkflows.ts +1 -1
  1106. package/src/funcs/workflowsMetricsGetWorkflowMetrics.ts +1 -1
  1107. package/src/funcs/workflowsRunsGetRun.ts +1 -1
  1108. package/src/funcs/workflowsRunsGetRunHistory.ts +1 -1
  1109. package/src/funcs/workflowsRunsListRuns.ts +1 -1
  1110. package/src/funcs/workflowsSchedulesGetSchedule.ts +178 -0
  1111. package/src/funcs/workflowsSchedulesGetSchedules.ts +141 -30
  1112. package/src/funcs/workflowsSchedulesPauseSchedule.ts +186 -0
  1113. package/src/funcs/workflowsSchedulesResumeSchedule.ts +186 -0
  1114. package/src/funcs/workflowsSchedulesScheduleWorkflow.ts +1 -1
  1115. package/src/funcs/workflowsSchedulesUnscheduleWorkflow.ts +1 -1
  1116. package/src/funcs/workflowsSchedulesUpdateSchedule.ts +181 -0
  1117. package/src/funcs/workflowsUnarchiveWorkflow.ts +1 -1
  1118. package/src/funcs/workflowsUpdateWorkflow.ts +1 -1
  1119. package/src/hooks/deprecation_warning.ts +1 -2
  1120. package/src/lib/config.ts +3 -3
  1121. package/src/models/components/activitytaskcompletedattributesresponse.ts +2 -0
  1122. package/src/models/components/activitytaskstartedattributesresponse.ts +2 -0
  1123. package/src/models/components/agentscompletionrequest.ts +4 -0
  1124. package/src/models/components/agentscompletionstreamrequest.ts +4 -0
  1125. package/src/models/components/authenticationconfiguration.ts +8 -5
  1126. package/src/models/components/basefielddefinition.ts +8 -6
  1127. package/src/models/components/chatcompletionevent.ts +7 -9
  1128. package/src/models/components/chatcompletioneventpreview.ts +7 -9
  1129. package/src/models/components/chatcompletionrequest.ts +4 -0
  1130. package/src/models/components/chatcompletionstreamrequest.ts +4 -0
  1131. package/src/models/components/classifierfinetuningjob.ts +1 -1
  1132. package/src/models/components/classifierfinetuningjobdetails.ts +42 -0
  1133. package/src/models/components/classifiertrainingparameters.ts +12 -0
  1134. package/src/models/components/clientcapabilities.ts +60 -0
  1135. package/src/models/components/clienttaskscapability.ts +43 -0
  1136. package/src/models/components/clienttasksrequestscapability.ts +45 -0
  1137. package/src/models/components/completionfinetuningjob.ts +1 -1
  1138. package/src/models/components/completionfinetuningjobdetails.ts +42 -0
  1139. package/src/models/components/completiontrainingparameters.ts +12 -0
  1140. package/src/models/components/connectionconfigtype.ts +21 -0
  1141. package/src/models/components/connectionpreference.ts +49 -0
  1142. package/src/models/components/connector.ts +88 -3
  1143. package/src/models/components/connectorlocale.ts +40 -0
  1144. package/src/models/components/connectorprotocol.ts +26 -0
  1145. package/src/models/components/connectorsqueryfilters.ts +0 -11
  1146. package/src/models/components/consumertype.ts +20 -0
  1147. package/src/models/components/createbatchjobrequest.ts +8 -1
  1148. package/src/models/components/createconnectorrequest.ts +9 -0
  1149. package/src/models/components/createingestionpipelineconfigurationrequest.ts +44 -0
  1150. package/src/models/components/createlibraryrequest.ts +5 -0
  1151. package/src/models/components/createsearchindexinforequest.ts +89 -0
  1152. package/src/models/components/createvespaschemarequest.ts +39 -0
  1153. package/src/models/components/createvespasearchindexinforequest.ts +57 -0
  1154. package/src/models/components/credentialsresponse.ts +7 -5
  1155. package/src/models/components/customtaskcompletedattributesresponse.ts +2 -0
  1156. package/src/models/components/customtaskstartedattributesresponse.ts +2 -0
  1157. package/src/models/components/deletemodelresponse.ts +2 -2
  1158. package/src/models/components/document.ts +20 -0
  1159. package/src/models/components/elicitationcapability.ts +41 -0
  1160. package/src/models/components/encodedpayloadoptions.ts +12 -5
  1161. package/src/models/components/encryptedpatchvalue.ts +43 -0
  1162. package/src/models/components/fimcompletionrequest.ts +4 -0
  1163. package/src/models/components/fimcompletionstreamrequest.ts +4 -0
  1164. package/src/models/components/index.ts +59 -5
  1165. package/src/models/components/ingestionpipelineconfiguration.ts +17 -0
  1166. package/src/models/components/jobmetadata.ts +18 -0
  1167. package/src/models/components/jsonpatch.ts +50 -0
  1168. package/src/models/components/jsonpatchappend.ts +29 -3
  1169. package/src/models/components/jsonpatchpayloadresponse.ts +19 -57
  1170. package/src/models/components/jsonpatchpayloadvalueresponse.ts +29 -0
  1171. package/src/models/components/jsonpayloadresponse.ts +18 -1
  1172. package/src/models/components/library.ts +17 -0
  1173. package/src/models/components/logicalexpression.ts +132 -0
  1174. package/src/models/components/mcpprompt.ts +49 -0
  1175. package/src/models/components/mcpresource.ts +53 -0
  1176. package/src/models/components/mcpserverauthenticationrequirement.ts +43 -0
  1177. package/src/models/components/mcpservercard.ts +159 -0
  1178. package/src/models/components/mcpservercardmeta.ts +45 -0
  1179. package/src/models/components/mcpserverremote.ts +77 -0
  1180. package/src/models/components/mcpserverremoteheader.ts +50 -0
  1181. package/src/models/components/mcpserverrepository.ts +44 -0
  1182. package/src/models/components/mcptoolmeta.ts +24 -16
  1183. package/src/models/components/ocrrequest.ts +0 -3
  1184. package/src/models/components/outboundauthenticationtype.ts +28 -0
  1185. package/src/models/components/partialscheduledefinition.ts +128 -0
  1186. package/src/models/components/processingstatus.ts +3 -0
  1187. package/src/models/components/promptargument.ts +37 -0
  1188. package/src/models/components/promptscapability.ts +35 -0
  1189. package/src/models/components/publicauthenticationmethod.ts +9 -6
  1190. package/src/models/components/publicconnectionconfig.ts +46 -0
  1191. package/src/models/components/referencechunk.ts +8 -8
  1192. package/src/models/components/resourcescapability.ts +37 -0
  1193. package/src/models/components/resourcetype.ts +20 -0
  1194. package/src/models/components/rootscapability.ts +35 -0
  1195. package/src/models/components/samplingcapability.ts +37 -0
  1196. package/src/models/components/scheduledefinition.ts +7 -0
  1197. package/src/models/components/scheduledefinitionoutput.ts +42 -0
  1198. package/src/models/components/schedulefutureexecution.ts +39 -0
  1199. package/src/models/components/schedulerecentexecution.ts +51 -0
  1200. package/src/models/components/searchindexresponse.ts +91 -0
  1201. package/src/models/components/servercapabilities.ts +64 -0
  1202. package/src/models/components/serverlocale.ts +45 -0
  1203. package/src/models/components/servertaskscapability.ts +43 -0
  1204. package/src/models/components/servertasksrequestscapability.ts +39 -0
  1205. package/src/models/components/sharing.ts +6 -0
  1206. package/src/models/components/sharingdelete.ts +3 -0
  1207. package/src/models/components/sharingrequest.ts +3 -0
  1208. package/src/models/components/taskselicitationcapability.ts +35 -0
  1209. package/src/models/components/taskssamplingcapability.ts +35 -0
  1210. package/src/models/components/taskstoolscapability.ts +35 -0
  1211. package/src/models/components/toolexecutionconfiguration.ts +224 -0
  1212. package/src/models/components/toolproperties.ts +53 -0
  1213. package/src/models/components/toolscapability.ts +35 -0
  1214. package/src/models/components/turbinemeta.ts +37 -0
  1215. package/src/models/components/updateconnectorrequest.ts +16 -0
  1216. package/src/models/components/updatedocumentrequest.ts +14 -3
  1217. package/src/models/components/updatelibraryrequest.ts +3 -3
  1218. package/src/models/components/updateruninfo.ts +36 -0
  1219. package/src/models/components/vespaschemaresponse.ts +38 -0
  1220. package/src/models/components/vespasearchindexinforesponse.ts +50 -0
  1221. package/src/models/components/voiceappearance.ts +75 -0
  1222. package/src/models/components/voicecreaterequest.ts +11 -0
  1223. package/src/models/components/voiceresponse.ts +8 -0
  1224. package/src/models/components/voiceupdaterequest.ts +11 -0
  1225. package/src/models/components/workflowbulkarchiverequest.ts +39 -0
  1226. package/src/models/components/workflowbulkarchiveresponse.ts +44 -0
  1227. package/src/models/components/workflowbulkerror.ts +50 -0
  1228. package/src/models/components/workflowbulkunarchiverequest.ts +41 -0
  1229. package/src/models/components/workflowbulkunarchiveresponse.ts +44 -0
  1230. package/src/models/components/workflowexecutioncompletedattributesresponse.ts +2 -0
  1231. package/src/models/components/workflowexecutioncontinuedasnewattributesresponse.ts +2 -0
  1232. package/src/models/components/workflowexecutionrequest.ts +0 -12
  1233. package/src/models/components/workflowexecutionstartedattributesresponse.ts +2 -0
  1234. package/src/models/components/workflowschedulelistresponse.ts +10 -0
  1235. package/src/models/components/workflowschedulepauserequest.ts +36 -0
  1236. package/src/models/components/workflowscheduleupdaterequest.ts +46 -0
  1237. package/src/models/operations/connectoractivatefororganizationv1.ts +53 -0
  1238. package/src/models/operations/connectoractivateforuserv1.ts +51 -0
  1239. package/src/models/operations/connectoractivateforworkspacev1.ts +52 -0
  1240. package/src/models/operations/connectordeactivatefororganizationv1.ts +40 -0
  1241. package/src/models/operations/connectordeactivateforuserv1.ts +38 -0
  1242. package/src/models/operations/connectordeactivateforworkspacev1.ts +39 -0
  1243. package/src/models/operations/connectorgetv1.ts +7 -7
  1244. package/src/models/operations/connectorlistorganizationcredentialsv1.ts +2 -2
  1245. package/src/models/operations/connectorlistusercredentialsv1.ts +3 -2
  1246. package/src/models/operations/connectorlistworkspacecredentialsv1.ts +2 -2
  1247. package/src/models/operations/getschedulesv1workflowsschedulesget.ts +126 -0
  1248. package/src/models/operations/getschedulev1workflowsschedulesscheduleidget.ts +40 -0
  1249. package/src/models/operations/index.ts +14 -0
  1250. package/src/models/operations/librariesdocumentslistv1.ts +5 -0
  1251. package/src/models/operations/librariesdocumentspatchv1.ts +47 -0
  1252. package/src/models/operations/librarieslistv1.ts +3 -1
  1253. package/src/models/operations/librariespatchv1.ts +41 -0
  1254. package/src/models/operations/pauseschedulev1workflowsschedulesscheduleidpausepost.ts +53 -0
  1255. package/src/models/operations/resumeschedulev1workflowsschedulesscheduleidresumepost.ts +53 -0
  1256. package/src/models/operations/updateruninfov1ragingestionpipelineconfigurationsidruninfoput.ts +47 -0
  1257. package/src/models/operations/updateschedulev1workflowsschedulesscheduleidpatch.ts +47 -0
  1258. package/src/sdk/accesses.ts +1 -1
  1259. package/src/sdk/connectors.ts +108 -0
  1260. package/src/sdk/documents.ts +22 -2
  1261. package/src/sdk/ingestionpipelineconfigurations.ts +35 -0
  1262. package/src/sdk/libraries.ts +22 -2
  1263. package/src/sdk/rag.ts +6 -0
  1264. package/src/sdk/schedules.ts +73 -2
  1265. package/src/sdk/searchindexes.ts +38 -0
  1266. package/src/sdk/workflows.ts +30 -0
  1267. package/src/types/async.ts +8 -7
  1268. package/tests/extra/structChat.test.ts +131 -0
  1269. package/esm/models/components/authenticationtype.d.ts +0 -13
  1270. package/esm/models/components/authenticationtype.d.ts.map +0 -1
  1271. package/esm/models/components/authenticationtype.js +0 -15
  1272. package/esm/models/components/authenticationtype.js.map +0 -1
  1273. package/esm/models/components/mcpuitoolmeta.d.ts +0 -23
  1274. package/esm/models/components/mcpuitoolmeta.d.ts.map +0 -1
  1275. package/esm/models/components/mcpuitoolmeta.js +0 -23
  1276. package/esm/models/components/mcpuitoolmeta.js.map +0 -1
  1277. package/esm/models/components/tooltype.d.ts +0 -12
  1278. package/esm/models/components/tooltype.d.ts.map +0 -1
  1279. package/esm/models/components/tooltype.js +0 -15
  1280. package/esm/models/components/tooltype.js.map +0 -1
  1281. package/esm/models/components/turbinetoollocale.d.ts.map +0 -1
  1282. package/esm/models/components/turbinetoollocale.js.map +0 -1
  1283. package/esm/models/components/turbinetoolmeta.d.ts +0 -15
  1284. package/esm/models/components/turbinetoolmeta.d.ts.map +0 -1
  1285. package/esm/models/components/turbinetoolmeta.js +0 -25
  1286. package/esm/models/components/turbinetoolmeta.js.map +0 -1
  1287. package/packages/mistralai-azure/src/models/components/tooltypes.ts +0 -20
  1288. package/packages/mistralai-gcp/src/models/components/tooltypes.ts +0 -20
  1289. package/src/models/components/authenticationtype.ts +0 -26
  1290. package/src/models/components/mcpuitoolmeta.ts +0 -47
  1291. package/src/models/components/tooltype.ts +0 -20
  1292. package/src/models/components/turbinetoollocale.ts +0 -46
  1293. package/src/models/components/turbinetoolmeta.ts +0 -48
  1294. /package/packages/mistralai-gcp/src/models/errors/{mistralgoogleclouderror.ts → mistralgcperror.ts} +0 -0
@@ -11,6 +11,31 @@ import {
11
11
  AssistantMessage$Outbound,
12
12
  AssistantMessage$outboundSchema,
13
13
  } from "./assistantmessage.js";
14
+ import {
15
+ CodeInterpreterTool,
16
+ CodeInterpreterTool$Outbound,
17
+ CodeInterpreterTool$outboundSchema,
18
+ } from "./codeinterpretertool.js";
19
+ import {
20
+ CustomConnector,
21
+ CustomConnector$Outbound,
22
+ CustomConnector$outboundSchema,
23
+ } from "./customconnector.js";
24
+ import {
25
+ DocumentLibraryTool,
26
+ DocumentLibraryTool$Outbound,
27
+ DocumentLibraryTool$outboundSchema,
28
+ } from "./documentlibrarytool.js";
29
+ import {
30
+ GuardrailConfig,
31
+ GuardrailConfig$Outbound,
32
+ GuardrailConfig$outboundSchema,
33
+ } from "./guardrailconfig.js";
34
+ import {
35
+ ImageGenerationTool,
36
+ ImageGenerationTool$Outbound,
37
+ ImageGenerationTool$outboundSchema,
38
+ } from "./imagegenerationtool.js";
14
39
  import {
15
40
  MistralPromptMode,
16
41
  MistralPromptMode$outboundSchema,
@@ -20,6 +45,10 @@ import {
20
45
  Prediction$Outbound,
21
46
  Prediction$outboundSchema,
22
47
  } from "./prediction.js";
48
+ import {
49
+ ReasoningEffort,
50
+ ReasoningEffort$outboundSchema,
51
+ } from "./reasoningeffort.js";
23
52
  import {
24
53
  ResponseFormat,
25
54
  ResponseFormat$Outbound,
@@ -50,6 +79,16 @@ import {
50
79
  UserMessage$Outbound,
51
80
  UserMessage$outboundSchema,
52
81
  } from "./usermessage.js";
82
+ import {
83
+ WebSearchPremiumTool,
84
+ WebSearchPremiumTool$Outbound,
85
+ WebSearchPremiumTool$outboundSchema,
86
+ } from "./websearchpremiumtool.js";
87
+ import {
88
+ WebSearchTool,
89
+ WebSearchTool$Outbound,
90
+ WebSearchTool$outboundSchema,
91
+ } from "./websearchtool.js";
53
92
 
54
93
  /**
55
94
  * Stop generation if this token is detected. Or if one of these tokens is detected when providing an array
@@ -62,6 +101,15 @@ export type ChatCompletionRequestMessage =
62
101
  | ToolMessage
63
102
  | UserMessage;
64
103
 
104
+ export type ChatCompletionRequestTool =
105
+ | Tool
106
+ | WebSearchTool
107
+ | WebSearchPremiumTool
108
+ | CodeInterpreterTool
109
+ | ImageGenerationTool
110
+ | DocumentLibraryTool
111
+ | CustomConnector;
112
+
65
113
  /**
66
114
  * Controls which (if any) tool is called by the model. `none` means the model will not call any tool and instead generates a message. `auto` means the model can pick between generating a message or calling one or more tools. `any` or `required` means the model must call one or more tools. Specifying a particular tool via `{"type": "function", "function": {"name": "my_function"}}` forces the model to call that tool.
67
115
  */
@@ -79,7 +127,7 @@ export type ChatCompletionRequest = {
79
127
  /**
80
128
  * Nucleus sampling, where the model considers the results of the tokens with `top_p` probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered. We generally recommend altering this or `temperature` but not both.
81
129
  */
82
- topP?: number | undefined;
130
+ topP?: number | null | undefined;
83
131
  /**
84
132
  * The maximum number of tokens to generate in the completion. The token count of your prompt plus `max_tokens` cannot exceed the model's context length.
85
133
  */
@@ -91,7 +139,7 @@ export type ChatCompletionRequest = {
91
139
  /**
92
140
  * Stop generation if this token is detected. Or if one of these tokens is detected when providing an array
93
141
  */
94
- stop?: string | Array<string> | undefined;
142
+ stop?: string | Array<string> | null | undefined;
95
143
  /**
96
144
  * The seed to use for random sampling. If set, different calls will generate deterministic results.
97
145
  */
@@ -113,7 +161,18 @@ export type ChatCompletionRequest = {
113
161
  /**
114
162
  * A list of tools the model may call. Use this to provide a list of functions the model may generate JSON inputs for.
115
163
  */
116
- tools?: Array<Tool> | null | undefined;
164
+ tools?:
165
+ | Array<
166
+ | Tool
167
+ | WebSearchTool
168
+ | WebSearchPremiumTool
169
+ | CodeInterpreterTool
170
+ | ImageGenerationTool
171
+ | DocumentLibraryTool
172
+ | CustomConnector
173
+ >
174
+ | null
175
+ | undefined;
117
176
  /**
118
177
  * Controls which (if any) tool is called by the model. `none` means the model will not call any tool and instead generates a message. `auto` means the model can pick between generating a message or calling one or more tools. `any` or `required` means the model must call one or more tools. Specifying a particular tool via `{"type": "function", "function": {"name": "my_function"}}` forces the model to call that tool.
119
178
  */
@@ -121,11 +180,11 @@ export type ChatCompletionRequest = {
121
180
  /**
122
181
  * The `presence_penalty` determines how much the model penalizes the repetition of words or phrases. A higher presence penalty encourages the model to use a wider variety of words and phrases, making the output more diverse and creative.
123
182
  */
124
- presencePenalty?: number | undefined;
183
+ presencePenalty?: number | null | undefined;
125
184
  /**
126
185
  * The `frequency_penalty` penalizes the repetition of words based on their frequency in the generated text. A higher frequency penalty discourages the model from repeating words that have already appeared frequently in the output, promoting diversity and reducing repetition.
127
186
  */
128
- frequencyPenalty?: number | undefined;
187
+ frequencyPenalty?: number | null | undefined;
129
188
  /**
130
189
  * Number of completions to return for each request, input tokens are only billed once.
131
190
  */
@@ -138,10 +197,12 @@ export type ChatCompletionRequest = {
138
197
  * Whether to enable parallel function calling during tool use, when enabled the model can call multiple tools in parallel.
139
198
  */
140
199
  parallelToolCalls?: boolean | undefined;
200
+ reasoningEffort?: ReasoningEffort | null | undefined;
141
201
  /**
142
202
  * Allows toggling between the reasoning mode and no system prompt. When set to `reasoning` the system prompt for reasoning models will be used.
143
203
  */
144
204
  promptMode?: MistralPromptMode | null | undefined;
205
+ guardrails?: Array<GuardrailConfig> | null | undefined;
145
206
  /**
146
207
  * Whether to inject a safety prompt before all conversations.
147
208
  */
@@ -195,6 +256,38 @@ export function chatCompletionRequestMessageToJSON(
195
256
  );
196
257
  }
197
258
 
259
+ /** @internal */
260
+ export type ChatCompletionRequestTool$Outbound =
261
+ | Tool$Outbound
262
+ | WebSearchTool$Outbound
263
+ | WebSearchPremiumTool$Outbound
264
+ | CodeInterpreterTool$Outbound
265
+ | ImageGenerationTool$Outbound
266
+ | DocumentLibraryTool$Outbound
267
+ | CustomConnector$Outbound;
268
+
269
+ /** @internal */
270
+ export const ChatCompletionRequestTool$outboundSchema: z.ZodType<
271
+ ChatCompletionRequestTool$Outbound,
272
+ ChatCompletionRequestTool
273
+ > = z.union([
274
+ Tool$outboundSchema,
275
+ WebSearchTool$outboundSchema,
276
+ WebSearchPremiumTool$outboundSchema,
277
+ CodeInterpreterTool$outboundSchema,
278
+ ImageGenerationTool$outboundSchema,
279
+ DocumentLibraryTool$outboundSchema,
280
+ CustomConnector$outboundSchema,
281
+ ]);
282
+
283
+ export function chatCompletionRequestToolToJSON(
284
+ chatCompletionRequestTool: ChatCompletionRequestTool,
285
+ ): string {
286
+ return JSON.stringify(
287
+ ChatCompletionRequestTool$outboundSchema.parse(chatCompletionRequestTool),
288
+ );
289
+ }
290
+
198
291
  /** @internal */
199
292
  export type ChatCompletionRequestToolChoice$Outbound =
200
293
  | ToolChoice$Outbound
@@ -220,10 +313,10 @@ export function chatCompletionRequestToolChoiceToJSON(
220
313
  export type ChatCompletionRequest$Outbound = {
221
314
  model: string;
222
315
  temperature?: number | null | undefined;
223
- top_p?: number | undefined;
316
+ top_p?: number | null | undefined;
224
317
  max_tokens?: number | null | undefined;
225
318
  stream: boolean;
226
- stop?: string | Array<string> | undefined;
319
+ stop?: string | Array<string> | null | undefined;
227
320
  random_seed?: number | null | undefined;
228
321
  metadata?: { [k: string]: any } | null | undefined;
229
322
  messages: Array<
@@ -233,14 +326,27 @@ export type ChatCompletionRequest$Outbound = {
233
326
  | UserMessage$Outbound
234
327
  >;
235
328
  response_format?: ResponseFormat$Outbound | undefined;
236
- tools?: Array<Tool$Outbound> | null | undefined;
329
+ tools?:
330
+ | Array<
331
+ | Tool$Outbound
332
+ | WebSearchTool$Outbound
333
+ | WebSearchPremiumTool$Outbound
334
+ | CodeInterpreterTool$Outbound
335
+ | ImageGenerationTool$Outbound
336
+ | DocumentLibraryTool$Outbound
337
+ | CustomConnector$Outbound
338
+ >
339
+ | null
340
+ | undefined;
237
341
  tool_choice?: ToolChoice$Outbound | string | undefined;
238
- presence_penalty?: number | undefined;
239
- frequency_penalty?: number | undefined;
342
+ presence_penalty?: number | null | undefined;
343
+ frequency_penalty?: number | null | undefined;
240
344
  n?: number | null | undefined;
241
345
  prediction?: Prediction$Outbound | undefined;
242
346
  parallel_tool_calls?: boolean | undefined;
347
+ reasoning_effort?: string | null | undefined;
243
348
  prompt_mode?: string | null | undefined;
349
+ guardrails?: Array<GuardrailConfig$Outbound> | null | undefined;
244
350
  safe_prompt?: boolean | undefined;
245
351
  };
246
352
 
@@ -251,10 +357,10 @@ export const ChatCompletionRequest$outboundSchema: z.ZodType<
251
357
  > = z.object({
252
358
  model: z.string().default("azureai"),
253
359
  temperature: z.nullable(z.number()).optional(),
254
- topP: z.number().optional(),
360
+ topP: z.nullable(z.number()).optional(),
255
361
  maxTokens: z.nullable(z.int()).optional(),
256
362
  stream: z.boolean().default(false),
257
- stop: smartUnion([z.string(), z.array(z.string())]).optional(),
363
+ stop: z.nullable(smartUnion([z.string(), z.array(z.string())])).optional(),
258
364
  randomSeed: z.nullable(z.int()).optional(),
259
365
  metadata: z.nullable(z.record(z.string(), z.any())).optional(),
260
366
  messages: z.array(
@@ -268,17 +374,31 @@ export const ChatCompletionRequest$outboundSchema: z.ZodType<
268
374
  ]),
269
375
  ),
270
376
  responseFormat: ResponseFormat$outboundSchema.optional(),
271
- tools: z.nullable(z.array(Tool$outboundSchema)).optional(),
377
+ tools: z.nullable(
378
+ z.array(
379
+ z.union([
380
+ Tool$outboundSchema,
381
+ WebSearchTool$outboundSchema,
382
+ WebSearchPremiumTool$outboundSchema,
383
+ CodeInterpreterTool$outboundSchema,
384
+ ImageGenerationTool$outboundSchema,
385
+ DocumentLibraryTool$outboundSchema,
386
+ CustomConnector$outboundSchema,
387
+ ]),
388
+ ),
389
+ ).optional(),
272
390
  toolChoice: smartUnion([
273
391
  ToolChoice$outboundSchema,
274
392
  ToolChoiceEnum$outboundSchema,
275
393
  ]).optional(),
276
- presencePenalty: z.number().optional(),
277
- frequencyPenalty: z.number().optional(),
394
+ presencePenalty: z.nullable(z.number()).optional(),
395
+ frequencyPenalty: z.nullable(z.number()).optional(),
278
396
  n: z.nullable(z.int()).optional(),
279
397
  prediction: Prediction$outboundSchema.optional(),
280
398
  parallelToolCalls: z.boolean().optional(),
399
+ reasoningEffort: z.nullable(ReasoningEffort$outboundSchema).optional(),
281
400
  promptMode: z.nullable(MistralPromptMode$outboundSchema).optional(),
401
+ guardrails: z.nullable(z.array(GuardrailConfig$outboundSchema)).optional(),
282
402
  safePrompt: z.boolean().optional(),
283
403
  }).transform((v) => {
284
404
  return remap$(v, {
@@ -290,6 +410,7 @@ export const ChatCompletionRequest$outboundSchema: z.ZodType<
290
410
  presencePenalty: "presence_penalty",
291
411
  frequencyPenalty: "frequency_penalty",
292
412
  parallelToolCalls: "parallel_tool_calls",
413
+ reasoningEffort: "reasoning_effort",
293
414
  promptMode: "prompt_mode",
294
415
  safePrompt: "safe_prompt",
295
416
  });
@@ -11,6 +11,31 @@ import {
11
11
  AssistantMessage$Outbound,
12
12
  AssistantMessage$outboundSchema,
13
13
  } from "./assistantmessage.js";
14
+ import {
15
+ CodeInterpreterTool,
16
+ CodeInterpreterTool$Outbound,
17
+ CodeInterpreterTool$outboundSchema,
18
+ } from "./codeinterpretertool.js";
19
+ import {
20
+ CustomConnector,
21
+ CustomConnector$Outbound,
22
+ CustomConnector$outboundSchema,
23
+ } from "./customconnector.js";
24
+ import {
25
+ DocumentLibraryTool,
26
+ DocumentLibraryTool$Outbound,
27
+ DocumentLibraryTool$outboundSchema,
28
+ } from "./documentlibrarytool.js";
29
+ import {
30
+ GuardrailConfig,
31
+ GuardrailConfig$Outbound,
32
+ GuardrailConfig$outboundSchema,
33
+ } from "./guardrailconfig.js";
34
+ import {
35
+ ImageGenerationTool,
36
+ ImageGenerationTool$Outbound,
37
+ ImageGenerationTool$outboundSchema,
38
+ } from "./imagegenerationtool.js";
14
39
  import {
15
40
  MistralPromptMode,
16
41
  MistralPromptMode$outboundSchema,
@@ -20,6 +45,10 @@ import {
20
45
  Prediction$Outbound,
21
46
  Prediction$outboundSchema,
22
47
  } from "./prediction.js";
48
+ import {
49
+ ReasoningEffort,
50
+ ReasoningEffort$outboundSchema,
51
+ } from "./reasoningeffort.js";
23
52
  import {
24
53
  ResponseFormat,
25
54
  ResponseFormat$Outbound,
@@ -50,6 +79,16 @@ import {
50
79
  UserMessage$Outbound,
51
80
  UserMessage$outboundSchema,
52
81
  } from "./usermessage.js";
82
+ import {
83
+ WebSearchPremiumTool,
84
+ WebSearchPremiumTool$Outbound,
85
+ WebSearchPremiumTool$outboundSchema,
86
+ } from "./websearchpremiumtool.js";
87
+ import {
88
+ WebSearchTool,
89
+ WebSearchTool$Outbound,
90
+ WebSearchTool$outboundSchema,
91
+ } from "./websearchtool.js";
53
92
 
54
93
  /**
55
94
  * Stop generation if this token is detected. Or if one of these tokens is detected when providing an array
@@ -62,6 +101,15 @@ export type ChatCompletionStreamRequestMessage =
62
101
  | ToolMessage
63
102
  | UserMessage;
64
103
 
104
+ export type ChatCompletionStreamRequestTool =
105
+ | Tool
106
+ | WebSearchTool
107
+ | WebSearchPremiumTool
108
+ | CodeInterpreterTool
109
+ | ImageGenerationTool
110
+ | DocumentLibraryTool
111
+ | CustomConnector;
112
+
65
113
  /**
66
114
  * Controls which (if any) tool is called by the model. `none` means the model will not call any tool and instead generates a message. `auto` means the model can pick between generating a message or calling one or more tools. `any` or `required` means the model must call one or more tools. Specifying a particular tool via `{"type": "function", "function": {"name": "my_function"}}` forces the model to call that tool.
67
115
  */
@@ -79,7 +127,7 @@ export type ChatCompletionStreamRequest = {
79
127
  /**
80
128
  * Nucleus sampling, where the model considers the results of the tokens with `top_p` probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered. We generally recommend altering this or `temperature` but not both.
81
129
  */
82
- topP?: number | undefined;
130
+ topP?: number | null | undefined;
83
131
  /**
84
132
  * The maximum number of tokens to generate in the completion. The token count of your prompt plus `max_tokens` cannot exceed the model's context length.
85
133
  */
@@ -88,7 +136,7 @@ export type ChatCompletionStreamRequest = {
88
136
  /**
89
137
  * Stop generation if this token is detected. Or if one of these tokens is detected when providing an array
90
138
  */
91
- stop?: string | Array<string> | undefined;
139
+ stop?: string | Array<string> | null | undefined;
92
140
  /**
93
141
  * The seed to use for random sampling. If set, different calls will generate deterministic results.
94
142
  */
@@ -110,7 +158,18 @@ export type ChatCompletionStreamRequest = {
110
158
  /**
111
159
  * A list of tools the model may call. Use this to provide a list of functions the model may generate JSON inputs for.
112
160
  */
113
- tools?: Array<Tool> | null | undefined;
161
+ tools?:
162
+ | Array<
163
+ | Tool
164
+ | WebSearchTool
165
+ | WebSearchPremiumTool
166
+ | CodeInterpreterTool
167
+ | ImageGenerationTool
168
+ | DocumentLibraryTool
169
+ | CustomConnector
170
+ >
171
+ | null
172
+ | undefined;
114
173
  /**
115
174
  * Controls which (if any) tool is called by the model. `none` means the model will not call any tool and instead generates a message. `auto` means the model can pick between generating a message or calling one or more tools. `any` or `required` means the model must call one or more tools. Specifying a particular tool via `{"type": "function", "function": {"name": "my_function"}}` forces the model to call that tool.
116
175
  */
@@ -118,11 +177,11 @@ export type ChatCompletionStreamRequest = {
118
177
  /**
119
178
  * The `presence_penalty` determines how much the model penalizes the repetition of words or phrases. A higher presence penalty encourages the model to use a wider variety of words and phrases, making the output more diverse and creative.
120
179
  */
121
- presencePenalty?: number | undefined;
180
+ presencePenalty?: number | null | undefined;
122
181
  /**
123
182
  * The `frequency_penalty` penalizes the repetition of words based on their frequency in the generated text. A higher frequency penalty discourages the model from repeating words that have already appeared frequently in the output, promoting diversity and reducing repetition.
124
183
  */
125
- frequencyPenalty?: number | undefined;
184
+ frequencyPenalty?: number | null | undefined;
126
185
  /**
127
186
  * Number of completions to return for each request, input tokens are only billed once.
128
187
  */
@@ -135,10 +194,12 @@ export type ChatCompletionStreamRequest = {
135
194
  * Whether to enable parallel function calling during tool use, when enabled the model can call multiple tools in parallel.
136
195
  */
137
196
  parallelToolCalls?: boolean | undefined;
197
+ reasoningEffort?: ReasoningEffort | null | undefined;
138
198
  /**
139
199
  * Allows toggling between the reasoning mode and no system prompt. When set to `reasoning` the system prompt for reasoning models will be used.
140
200
  */
141
201
  promptMode?: MistralPromptMode | null | undefined;
202
+ guardrails?: Array<GuardrailConfig> | null | undefined;
142
203
  /**
143
204
  * Whether to inject a safety prompt before all conversations.
144
205
  */
@@ -194,6 +255,40 @@ export function chatCompletionStreamRequestMessageToJSON(
194
255
  );
195
256
  }
196
257
 
258
+ /** @internal */
259
+ export type ChatCompletionStreamRequestTool$Outbound =
260
+ | Tool$Outbound
261
+ | WebSearchTool$Outbound
262
+ | WebSearchPremiumTool$Outbound
263
+ | CodeInterpreterTool$Outbound
264
+ | ImageGenerationTool$Outbound
265
+ | DocumentLibraryTool$Outbound
266
+ | CustomConnector$Outbound;
267
+
268
+ /** @internal */
269
+ export const ChatCompletionStreamRequestTool$outboundSchema: z.ZodType<
270
+ ChatCompletionStreamRequestTool$Outbound,
271
+ ChatCompletionStreamRequestTool
272
+ > = z.union([
273
+ Tool$outboundSchema,
274
+ WebSearchTool$outboundSchema,
275
+ WebSearchPremiumTool$outboundSchema,
276
+ CodeInterpreterTool$outboundSchema,
277
+ ImageGenerationTool$outboundSchema,
278
+ DocumentLibraryTool$outboundSchema,
279
+ CustomConnector$outboundSchema,
280
+ ]);
281
+
282
+ export function chatCompletionStreamRequestToolToJSON(
283
+ chatCompletionStreamRequestTool: ChatCompletionStreamRequestTool,
284
+ ): string {
285
+ return JSON.stringify(
286
+ ChatCompletionStreamRequestTool$outboundSchema.parse(
287
+ chatCompletionStreamRequestTool,
288
+ ),
289
+ );
290
+ }
291
+
197
292
  /** @internal */
198
293
  export type ChatCompletionStreamRequestToolChoice$Outbound =
199
294
  | ToolChoice$Outbound
@@ -219,10 +314,10 @@ export function chatCompletionStreamRequestToolChoiceToJSON(
219
314
  export type ChatCompletionStreamRequest$Outbound = {
220
315
  model: string;
221
316
  temperature?: number | null | undefined;
222
- top_p?: number | undefined;
317
+ top_p?: number | null | undefined;
223
318
  max_tokens?: number | null | undefined;
224
319
  stream: boolean;
225
- stop?: string | Array<string> | undefined;
320
+ stop?: string | Array<string> | null | undefined;
226
321
  random_seed?: number | null | undefined;
227
322
  metadata?: { [k: string]: any } | null | undefined;
228
323
  messages: Array<
@@ -232,14 +327,27 @@ export type ChatCompletionStreamRequest$Outbound = {
232
327
  | UserMessage$Outbound
233
328
  >;
234
329
  response_format?: ResponseFormat$Outbound | undefined;
235
- tools?: Array<Tool$Outbound> | null | undefined;
330
+ tools?:
331
+ | Array<
332
+ | Tool$Outbound
333
+ | WebSearchTool$Outbound
334
+ | WebSearchPremiumTool$Outbound
335
+ | CodeInterpreterTool$Outbound
336
+ | ImageGenerationTool$Outbound
337
+ | DocumentLibraryTool$Outbound
338
+ | CustomConnector$Outbound
339
+ >
340
+ | null
341
+ | undefined;
236
342
  tool_choice?: ToolChoice$Outbound | string | undefined;
237
- presence_penalty?: number | undefined;
238
- frequency_penalty?: number | undefined;
343
+ presence_penalty?: number | null | undefined;
344
+ frequency_penalty?: number | null | undefined;
239
345
  n?: number | null | undefined;
240
346
  prediction?: Prediction$Outbound | undefined;
241
347
  parallel_tool_calls?: boolean | undefined;
348
+ reasoning_effort?: string | null | undefined;
242
349
  prompt_mode?: string | null | undefined;
350
+ guardrails?: Array<GuardrailConfig$Outbound> | null | undefined;
243
351
  safe_prompt?: boolean | undefined;
244
352
  };
245
353
 
@@ -250,10 +358,10 @@ export const ChatCompletionStreamRequest$outboundSchema: z.ZodType<
250
358
  > = z.object({
251
359
  model: z.string().default("azureai"),
252
360
  temperature: z.nullable(z.number()).optional(),
253
- topP: z.number().optional(),
361
+ topP: z.nullable(z.number()).optional(),
254
362
  maxTokens: z.nullable(z.int()).optional(),
255
363
  stream: z.boolean().default(true),
256
- stop: smartUnion([z.string(), z.array(z.string())]).optional(),
364
+ stop: z.nullable(smartUnion([z.string(), z.array(z.string())])).optional(),
257
365
  randomSeed: z.nullable(z.int()).optional(),
258
366
  metadata: z.nullable(z.record(z.string(), z.any())).optional(),
259
367
  messages: z.array(
@@ -267,17 +375,31 @@ export const ChatCompletionStreamRequest$outboundSchema: z.ZodType<
267
375
  ]),
268
376
  ),
269
377
  responseFormat: ResponseFormat$outboundSchema.optional(),
270
- tools: z.nullable(z.array(Tool$outboundSchema)).optional(),
378
+ tools: z.nullable(
379
+ z.array(
380
+ z.union([
381
+ Tool$outboundSchema,
382
+ WebSearchTool$outboundSchema,
383
+ WebSearchPremiumTool$outboundSchema,
384
+ CodeInterpreterTool$outboundSchema,
385
+ ImageGenerationTool$outboundSchema,
386
+ DocumentLibraryTool$outboundSchema,
387
+ CustomConnector$outboundSchema,
388
+ ]),
389
+ ),
390
+ ).optional(),
271
391
  toolChoice: smartUnion([
272
392
  ToolChoice$outboundSchema,
273
393
  ToolChoiceEnum$outboundSchema,
274
394
  ]).optional(),
275
- presencePenalty: z.number().optional(),
276
- frequencyPenalty: z.number().optional(),
395
+ presencePenalty: z.nullable(z.number()).optional(),
396
+ frequencyPenalty: z.nullable(z.number()).optional(),
277
397
  n: z.nullable(z.int()).optional(),
278
398
  prediction: Prediction$outboundSchema.optional(),
279
399
  parallelToolCalls: z.boolean().optional(),
400
+ reasoningEffort: z.nullable(ReasoningEffort$outboundSchema).optional(),
280
401
  promptMode: z.nullable(MistralPromptMode$outboundSchema).optional(),
402
+ guardrails: z.nullable(z.array(GuardrailConfig$outboundSchema)).optional(),
281
403
  safePrompt: z.boolean().optional(),
282
404
  }).transform((v) => {
283
405
  return remap$(v, {
@@ -289,6 +411,7 @@ export const ChatCompletionStreamRequest$outboundSchema: z.ZodType<
289
411
  presencePenalty: "presence_penalty",
290
412
  frequencyPenalty: "frequency_penalty",
291
413
  parallelToolCalls: "parallel_tool_calls",
414
+ reasoningEffort: "reasoning_effort",
292
415
  promptMode: "prompt_mode",
293
416
  safePrompt: "safe_prompt",
294
417
  });
@@ -0,0 +1,44 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: 3ba1f01240d6
4
+ */
5
+
6
+ import * as z from "zod/v4";
7
+ import { remap as remap$ } from "../../lib/primitives.js";
8
+ import {
9
+ ToolConfiguration,
10
+ ToolConfiguration$Outbound,
11
+ ToolConfiguration$outboundSchema,
12
+ } from "./toolconfiguration.js";
13
+
14
+ export type CodeInterpreterTool = {
15
+ toolConfiguration?: ToolConfiguration | null | undefined;
16
+ type: "code_interpreter";
17
+ };
18
+
19
+ /** @internal */
20
+ export type CodeInterpreterTool$Outbound = {
21
+ tool_configuration?: ToolConfiguration$Outbound | null | undefined;
22
+ type: "code_interpreter";
23
+ };
24
+
25
+ /** @internal */
26
+ export const CodeInterpreterTool$outboundSchema: z.ZodType<
27
+ CodeInterpreterTool$Outbound,
28
+ CodeInterpreterTool
29
+ > = z.object({
30
+ toolConfiguration: z.nullable(ToolConfiguration$outboundSchema).optional(),
31
+ type: z.literal("code_interpreter"),
32
+ }).transform((v) => {
33
+ return remap$(v, {
34
+ toolConfiguration: "tool_configuration",
35
+ });
36
+ });
37
+
38
+ export function codeInterpreterToolToJSON(
39
+ codeInterpreterTool: CodeInterpreterTool,
40
+ ): string {
41
+ return JSON.stringify(
42
+ CodeInterpreterTool$outboundSchema.parse(codeInterpreterTool),
43
+ );
44
+ }
@@ -0,0 +1,82 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: 6687cfaf9029
4
+ */
5
+
6
+ import * as z from "zod/v4";
7
+ import { remap as remap$ } from "../../lib/primitives.js";
8
+ import {
9
+ APIKeyAuth,
10
+ APIKeyAuth$Outbound,
11
+ APIKeyAuth$outboundSchema,
12
+ } from "./apikeyauth.js";
13
+ import {
14
+ OAuth2TokenAuth,
15
+ OAuth2TokenAuth$Outbound,
16
+ OAuth2TokenAuth$outboundSchema,
17
+ } from "./oauth2tokenauth.js";
18
+ import {
19
+ ToolConfiguration,
20
+ ToolConfiguration$Outbound,
21
+ ToolConfiguration$outboundSchema,
22
+ } from "./toolconfiguration.js";
23
+
24
+ export type Authorization = APIKeyAuth | OAuth2TokenAuth;
25
+
26
+ export type CustomConnector = {
27
+ type: "connector";
28
+ connectorId: string;
29
+ authorization?: APIKeyAuth | OAuth2TokenAuth | null | undefined;
30
+ toolConfiguration?: ToolConfiguration | null | undefined;
31
+ };
32
+
33
+ /** @internal */
34
+ export type Authorization$Outbound =
35
+ | APIKeyAuth$Outbound
36
+ | OAuth2TokenAuth$Outbound;
37
+
38
+ /** @internal */
39
+ export const Authorization$outboundSchema: z.ZodType<
40
+ Authorization$Outbound,
41
+ Authorization
42
+ > = z.union([APIKeyAuth$outboundSchema, OAuth2TokenAuth$outboundSchema]);
43
+
44
+ export function authorizationToJSON(authorization: Authorization): string {
45
+ return JSON.stringify(Authorization$outboundSchema.parse(authorization));
46
+ }
47
+
48
+ /** @internal */
49
+ export type CustomConnector$Outbound = {
50
+ type: "connector";
51
+ connector_id: string;
52
+ authorization?:
53
+ | APIKeyAuth$Outbound
54
+ | OAuth2TokenAuth$Outbound
55
+ | null
56
+ | undefined;
57
+ tool_configuration?: ToolConfiguration$Outbound | null | undefined;
58
+ };
59
+
60
+ /** @internal */
61
+ export const CustomConnector$outboundSchema: z.ZodType<
62
+ CustomConnector$Outbound,
63
+ CustomConnector
64
+ > = z.object({
65
+ type: z.literal("connector"),
66
+ connectorId: z.string(),
67
+ authorization: z.nullable(
68
+ z.union([APIKeyAuth$outboundSchema, OAuth2TokenAuth$outboundSchema]),
69
+ ).optional(),
70
+ toolConfiguration: z.nullable(ToolConfiguration$outboundSchema).optional(),
71
+ }).transform((v) => {
72
+ return remap$(v, {
73
+ connectorId: "connector_id",
74
+ toolConfiguration: "tool_configuration",
75
+ });
76
+ });
77
+
78
+ export function customConnectorToJSON(
79
+ customConnector: CustomConnector,
80
+ ): string {
81
+ return JSON.stringify(CustomConnector$outboundSchema.parse(customConnector));
82
+ }