@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
@@ -10,24 +10,24 @@ import { Result as SafeParseResult } from "../../types/fp.js";
10
10
  import { smartUnion } from "../../types/smartUnion.js";
11
11
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
12
12
 
13
- export type ReferenceId = string | number;
13
+ export type ReferenceId = number | string;
14
14
 
15
15
  export type ReferenceChunk = {
16
16
  type?: "reference" | undefined;
17
- referenceIds: Array<string | number>;
17
+ referenceIds: Array<number | string>;
18
18
  };
19
19
 
20
20
  /** @internal */
21
21
  export const ReferenceId$inboundSchema: z.ZodType<ReferenceId, unknown> =
22
- smartUnion([z.string(), z.int()]);
22
+ smartUnion([z.int(), z.string()]);
23
23
  /** @internal */
24
- export type ReferenceId$Outbound = string | number;
24
+ export type ReferenceId$Outbound = number | string;
25
25
 
26
26
  /** @internal */
27
27
  export const ReferenceId$outboundSchema: z.ZodType<
28
28
  ReferenceId$Outbound,
29
29
  ReferenceId
30
- > = smartUnion([z.string(), z.int()]);
30
+ > = smartUnion([z.int(), z.string()]);
31
31
 
32
32
  export function referenceIdToJSON(referenceId: ReferenceId): string {
33
33
  return JSON.stringify(ReferenceId$outboundSchema.parse(referenceId));
@@ -46,7 +46,7 @@ export function referenceIdFromJSON(
46
46
  export const ReferenceChunk$inboundSchema: z.ZodType<ReferenceChunk, unknown> =
47
47
  z.object({
48
48
  type: z.literal("reference").default("reference"),
49
- reference_ids: z.array(smartUnion([z.string(), z.int()])),
49
+ reference_ids: z.array(smartUnion([z.int(), z.string()])),
50
50
  }).transform((v) => {
51
51
  return remap$(v, {
52
52
  "reference_ids": "referenceIds",
@@ -55,7 +55,7 @@ export const ReferenceChunk$inboundSchema: z.ZodType<ReferenceChunk, unknown> =
55
55
  /** @internal */
56
56
  export type ReferenceChunk$Outbound = {
57
57
  type: "reference";
58
- reference_ids: Array<string | number>;
58
+ reference_ids: Array<number | string>;
59
59
  };
60
60
 
61
61
  /** @internal */
@@ -64,7 +64,7 @@ export const ReferenceChunk$outboundSchema: z.ZodType<
64
64
  ReferenceChunk
65
65
  > = z.object({
66
66
  type: z.literal("reference").default("reference" as const),
67
- referenceIds: z.array(smartUnion([z.string(), z.int()])),
67
+ referenceIds: z.array(smartUnion([z.int(), z.string()])),
68
68
  }).transform((v) => {
69
69
  return remap$(v, {
70
70
  referenceIds: "reference_ids",
@@ -0,0 +1,37 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: d63a77b18d65
4
+ */
5
+
6
+ import * as z from "zod/v4";
7
+ import { safeParse } from "../../lib/schemas.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+
11
+ /**
12
+ * Capability for resources operations.
13
+ */
14
+ export type ResourcesCapability = {
15
+ subscribe?: boolean | null | undefined;
16
+ listChanged?: boolean | null | undefined;
17
+ [additionalProperties: string]: unknown;
18
+ };
19
+
20
+ /** @internal */
21
+ export const ResourcesCapability$inboundSchema: z.ZodType<
22
+ ResourcesCapability,
23
+ unknown
24
+ > = z.object({
25
+ subscribe: z.nullable(z.boolean()).optional(),
26
+ listChanged: z.nullable(z.boolean()).optional(),
27
+ }).catchall(z.any());
28
+
29
+ export function resourcesCapabilityFromJSON(
30
+ jsonString: string,
31
+ ): SafeParseResult<ResourcesCapability, SDKValidationError> {
32
+ return safeParse(
33
+ jsonString,
34
+ (x) => ResourcesCapability$inboundSchema.parse(JSON.parse(x)),
35
+ `Failed to parse 'ResourcesCapability' from JSON`,
36
+ );
37
+ }
@@ -0,0 +1,20 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: f5aa56961ad9
4
+ */
5
+
6
+ import * as z from "zod/v4";
7
+ import * as openEnums from "../../types/enums.js";
8
+ import { OpenEnum } from "../../types/enums.js";
9
+
10
+ export const ResourceType = {
11
+ One: 1,
12
+ Two: 2,
13
+ Three: 3,
14
+ Four: 4,
15
+ } as const;
16
+ export type ResourceType = OpenEnum<typeof ResourceType>;
17
+
18
+ /** @internal */
19
+ export const ResourceType$inboundSchema: z.ZodType<ResourceType, unknown> =
20
+ openEnums.inboundSchemaInt(ResourceType);
@@ -0,0 +1,35 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: bae9a0fb024d
4
+ */
5
+
6
+ import * as z from "zod/v4";
7
+ import { safeParse } from "../../lib/schemas.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+
11
+ /**
12
+ * Capability for root operations.
13
+ */
14
+ export type RootsCapability = {
15
+ listChanged?: boolean | null | undefined;
16
+ [additionalProperties: string]: unknown;
17
+ };
18
+
19
+ /** @internal */
20
+ export const RootsCapability$inboundSchema: z.ZodType<
21
+ RootsCapability,
22
+ unknown
23
+ > = z.object({
24
+ listChanged: z.nullable(z.boolean()).optional(),
25
+ }).catchall(z.any());
26
+
27
+ export function rootsCapabilityFromJSON(
28
+ jsonString: string,
29
+ ): SafeParseResult<RootsCapability, SDKValidationError> {
30
+ return safeParse(
31
+ jsonString,
32
+ (x) => RootsCapability$inboundSchema.parse(JSON.parse(x)),
33
+ `Failed to parse 'RootsCapability' from JSON`,
34
+ );
35
+ }
@@ -0,0 +1,37 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: 5abd65c635d4
4
+ */
5
+
6
+ import * as z from "zod/v4";
7
+ import { safeParse } from "../../lib/schemas.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+
11
+ /**
12
+ * Sampling capability structure, allowing fine-grained capability advertisement.
13
+ */
14
+ export type SamplingCapability = {
15
+ context?: { [k: string]: any } | null | undefined;
16
+ tools?: { [k: string]: any } | null | undefined;
17
+ [additionalProperties: string]: unknown;
18
+ };
19
+
20
+ /** @internal */
21
+ export const SamplingCapability$inboundSchema: z.ZodType<
22
+ SamplingCapability,
23
+ unknown
24
+ > = z.object({
25
+ context: z.nullable(z.record(z.string(), z.any())).optional(),
26
+ tools: z.nullable(z.record(z.string(), z.any())).optional(),
27
+ }).catchall(z.any());
28
+
29
+ export function samplingCapabilityFromJSON(
30
+ jsonString: string,
31
+ ): SafeParseResult<SamplingCapability, SDKValidationError> {
32
+ return safeParse(
33
+ jsonString,
34
+ (x) => SamplingCapability$inboundSchema.parse(JSON.parse(x)),
35
+ `Failed to parse 'SamplingCapability' from JSON`,
36
+ );
37
+ }
@@ -74,6 +74,10 @@ export type ScheduleDefinition = {
74
74
  */
75
75
  timeZoneName?: string | null | undefined;
76
76
  policy?: SchedulePolicy | undefined;
77
+ /**
78
+ * Maximum number of times this schedule will trigger a workflow execution. Once this limit is reached, no further executions are triggered automatically. null means unlimited.
79
+ */
80
+ maxExecutions?: number | null | undefined;
77
81
  /**
78
82
  * Unique identifier for the schedule.
79
83
  */
@@ -92,6 +96,7 @@ export type ScheduleDefinition$Outbound = {
92
96
  jitter?: string | null | undefined;
93
97
  time_zone_name?: string | null | undefined;
94
98
  policy?: SchedulePolicy$Outbound | undefined;
99
+ max_executions?: number | null | undefined;
95
100
  schedule_id?: string | null | undefined;
96
101
  };
97
102
 
@@ -110,6 +115,7 @@ export const ScheduleDefinition$outboundSchema: z.ZodType<
110
115
  jitter: z.nullable(z.string()).optional(),
111
116
  timeZoneName: z.nullable(z.string()).optional(),
112
117
  policy: SchedulePolicy$outboundSchema.optional(),
118
+ maxExecutions: z.nullable(z.int()).optional(),
113
119
  scheduleId: z.nullable(z.string()).optional(),
114
120
  }).transform((v) => {
115
121
  return remap$(v, {
@@ -117,6 +123,7 @@ export const ScheduleDefinition$outboundSchema: z.ZodType<
117
123
  startAt: "start_at",
118
124
  endAt: "end_at",
119
125
  timeZoneName: "time_zone_name",
126
+ maxExecutions: "max_executions",
120
127
  scheduleId: "schedule_id",
121
128
  });
122
129
  });
@@ -12,6 +12,10 @@ import {
12
12
  ScheduleCalendar,
13
13
  ScheduleCalendar$inboundSchema,
14
14
  } from "./schedulecalendar.js";
15
+ import {
16
+ ScheduleFutureExecution,
17
+ ScheduleFutureExecution$inboundSchema,
18
+ } from "./schedulefutureexecution.js";
15
19
  import {
16
20
  ScheduleInterval,
17
21
  ScheduleInterval$inboundSchema,
@@ -20,6 +24,10 @@ import {
20
24
  SchedulePolicy,
21
25
  SchedulePolicy$inboundSchema,
22
26
  } from "./schedulepolicy.js";
27
+ import {
28
+ ScheduleRecentExecution,
29
+ ScheduleRecentExecution$inboundSchema,
30
+ } from "./schedulerecentexecution.js";
23
31
 
24
32
  /**
25
33
  * Output representation of a schedule with required schedule_id.
@@ -75,6 +83,30 @@ export type ScheduleDefinitionOutput = {
75
83
  * Unique identifier for the schedule.
76
84
  */
77
85
  scheduleId: string;
86
+ /**
87
+ * Remaining workflow executions before this schedule stops triggering automatically. null means unlimited; 0 means the limit has been reached and the schedule is exhausted.
88
+ */
89
+ remainingExecutions?: number | null | undefined;
90
+ /**
91
+ * Name of the workflow this schedule triggers.
92
+ */
93
+ workflowName: string;
94
+ /**
95
+ * Whether the schedule is currently paused.
96
+ */
97
+ paused: boolean;
98
+ /**
99
+ * Human-readable note associated with the current pause or resume state.
100
+ */
101
+ note?: string | null | undefined;
102
+ /**
103
+ * Upcoming scheduled executions (10 next executions, earliest first).
104
+ */
105
+ futureExecutions?: Array<ScheduleFutureExecution> | undefined;
106
+ /**
107
+ * Most recent scheduled executions (10 most recent, newest last).
108
+ */
109
+ recentExecutions?: Array<ScheduleRecentExecution> | undefined;
78
110
  };
79
111
 
80
112
  /** @internal */
@@ -97,6 +129,12 @@ export const ScheduleDefinitionOutput$inboundSchema: z.ZodType<
97
129
  time_zone_name: z.nullable(z.string()).optional(),
98
130
  policy: SchedulePolicy$inboundSchema.optional(),
99
131
  schedule_id: z.string(),
132
+ remaining_executions: z.nullable(z.int()).optional(),
133
+ workflow_name: z.string(),
134
+ paused: z.boolean(),
135
+ note: z.nullable(z.string()).optional(),
136
+ future_executions: z.array(ScheduleFutureExecution$inboundSchema).optional(),
137
+ recent_executions: z.array(ScheduleRecentExecution$inboundSchema).optional(),
100
138
  }).transform((v) => {
101
139
  return remap$(v, {
102
140
  "cron_expressions": "cronExpressions",
@@ -104,6 +142,10 @@ export const ScheduleDefinitionOutput$inboundSchema: z.ZodType<
104
142
  "end_at": "endAt",
105
143
  "time_zone_name": "timeZoneName",
106
144
  "schedule_id": "scheduleId",
145
+ "remaining_executions": "remainingExecutions",
146
+ "workflow_name": "workflowName",
147
+ "future_executions": "futureExecutions",
148
+ "recent_executions": "recentExecutions",
107
149
  });
108
150
  });
109
151
 
@@ -0,0 +1,39 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: c1f1a9512455
4
+ */
5
+
6
+ import * as z from "zod/v4";
7
+ import { remap as remap$ } from "../../lib/primitives.js";
8
+ import { safeParse } from "../../lib/schemas.js";
9
+ import { Result as SafeParseResult } from "../../types/fp.js";
10
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
+
12
+ export type ScheduleFutureExecution = {
13
+ /**
14
+ * Time the execution is scheduled to run.
15
+ */
16
+ scheduledAt: Date;
17
+ };
18
+
19
+ /** @internal */
20
+ export const ScheduleFutureExecution$inboundSchema: z.ZodType<
21
+ ScheduleFutureExecution,
22
+ unknown
23
+ > = z.object({
24
+ scheduled_at: z.iso.datetime({ offset: true }).transform(v => new Date(v)),
25
+ }).transform((v) => {
26
+ return remap$(v, {
27
+ "scheduled_at": "scheduledAt",
28
+ });
29
+ });
30
+
31
+ export function scheduleFutureExecutionFromJSON(
32
+ jsonString: string,
33
+ ): SafeParseResult<ScheduleFutureExecution, SDKValidationError> {
34
+ return safeParse(
35
+ jsonString,
36
+ (x) => ScheduleFutureExecution$inboundSchema.parse(JSON.parse(x)),
37
+ `Failed to parse 'ScheduleFutureExecution' from JSON`,
38
+ );
39
+ }
@@ -0,0 +1,51 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: 3a338846c043
4
+ */
5
+
6
+ import * as z from "zod/v4";
7
+ import { remap as remap$ } from "../../lib/primitives.js";
8
+ import { safeParse } from "../../lib/schemas.js";
9
+ import { Result as SafeParseResult } from "../../types/fp.js";
10
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
+
12
+ export type ScheduleRecentExecution = {
13
+ /**
14
+ * Time the execution was scheduled to run.
15
+ */
16
+ scheduledAt: Date;
17
+ /**
18
+ * Actual time the execution started.
19
+ */
20
+ startedAt: Date;
21
+ /**
22
+ * ID of the workflow execution that was started.
23
+ */
24
+ executionId: string;
25
+ };
26
+
27
+ /** @internal */
28
+ export const ScheduleRecentExecution$inboundSchema: z.ZodType<
29
+ ScheduleRecentExecution,
30
+ unknown
31
+ > = z.object({
32
+ scheduled_at: z.iso.datetime({ offset: true }).transform(v => new Date(v)),
33
+ started_at: z.iso.datetime({ offset: true }).transform(v => new Date(v)),
34
+ execution_id: z.string(),
35
+ }).transform((v) => {
36
+ return remap$(v, {
37
+ "scheduled_at": "scheduledAt",
38
+ "started_at": "startedAt",
39
+ "execution_id": "executionId",
40
+ });
41
+ });
42
+
43
+ export function scheduleRecentExecutionFromJSON(
44
+ jsonString: string,
45
+ ): SafeParseResult<ScheduleRecentExecution, SDKValidationError> {
46
+ return safeParse(
47
+ jsonString,
48
+ (x) => ScheduleRecentExecution$inboundSchema.parse(JSON.parse(x)),
49
+ `Failed to parse 'ScheduleRecentExecution' from JSON`,
50
+ );
51
+ }
@@ -0,0 +1,91 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: 8ac6d82b05c8
4
+ */
5
+
6
+ import * as z from "zod/v4";
7
+ import { remap as remap$ } from "../../lib/primitives.js";
8
+ import { safeParse } from "../../lib/schemas.js";
9
+ import * as openEnums from "../../types/enums.js";
10
+ import { OpenEnum } from "../../types/enums.js";
11
+ import { Result as SafeParseResult } from "../../types/fp.js";
12
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
13
+ import {
14
+ VespaSearchIndexInfoResponse,
15
+ VespaSearchIndexInfoResponse$inboundSchema,
16
+ } from "./vespasearchindexinforesponse.js";
17
+
18
+ export const SearchIndexResponseStatus = {
19
+ Online: "online",
20
+ Offline: "offline",
21
+ } as const;
22
+ export type SearchIndexResponseStatus = OpenEnum<
23
+ typeof SearchIndexResponseStatus
24
+ >;
25
+
26
+ export type SearchIndexResponseIndex = VespaSearchIndexInfoResponse;
27
+
28
+ export type SearchIndexResponse = {
29
+ id: string;
30
+ name: string;
31
+ creatorId: string;
32
+ documentCount: number;
33
+ status: SearchIndexResponseStatus;
34
+ createdAt: Date;
35
+ modifiedAt: Date;
36
+ index: VespaSearchIndexInfoResponse;
37
+ };
38
+
39
+ /** @internal */
40
+ export const SearchIndexResponseStatus$inboundSchema: z.ZodType<
41
+ SearchIndexResponseStatus,
42
+ unknown
43
+ > = openEnums.inboundSchema(SearchIndexResponseStatus);
44
+
45
+ /** @internal */
46
+ export const SearchIndexResponseIndex$inboundSchema: z.ZodType<
47
+ SearchIndexResponseIndex,
48
+ unknown
49
+ > = VespaSearchIndexInfoResponse$inboundSchema;
50
+
51
+ export function searchIndexResponseIndexFromJSON(
52
+ jsonString: string,
53
+ ): SafeParseResult<SearchIndexResponseIndex, SDKValidationError> {
54
+ return safeParse(
55
+ jsonString,
56
+ (x) => SearchIndexResponseIndex$inboundSchema.parse(JSON.parse(x)),
57
+ `Failed to parse 'SearchIndexResponseIndex' from JSON`,
58
+ );
59
+ }
60
+
61
+ /** @internal */
62
+ export const SearchIndexResponse$inboundSchema: z.ZodType<
63
+ SearchIndexResponse,
64
+ unknown
65
+ > = z.object({
66
+ id: z.string(),
67
+ name: z.string(),
68
+ creator_id: z.string(),
69
+ document_count: z.int(),
70
+ status: SearchIndexResponseStatus$inboundSchema,
71
+ created_at: z.iso.datetime({ offset: true }).transform(v => new Date(v)),
72
+ modified_at: z.iso.datetime({ offset: true }).transform(v => new Date(v)),
73
+ index: VespaSearchIndexInfoResponse$inboundSchema,
74
+ }).transform((v) => {
75
+ return remap$(v, {
76
+ "creator_id": "creatorId",
77
+ "document_count": "documentCount",
78
+ "created_at": "createdAt",
79
+ "modified_at": "modifiedAt",
80
+ });
81
+ });
82
+
83
+ export function searchIndexResponseFromJSON(
84
+ jsonString: string,
85
+ ): SafeParseResult<SearchIndexResponse, SDKValidationError> {
86
+ return safeParse(
87
+ jsonString,
88
+ (x) => SearchIndexResponse$inboundSchema.parse(JSON.parse(x)),
89
+ `Failed to parse 'SearchIndexResponse' from JSON`,
90
+ );
91
+ }
@@ -0,0 +1,64 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: f9901681c983
4
+ */
5
+
6
+ import * as z from "zod/v4";
7
+ import { safeParse } from "../../lib/schemas.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+ import {
11
+ PromptsCapability,
12
+ PromptsCapability$inboundSchema,
13
+ } from "./promptscapability.js";
14
+ import {
15
+ ResourcesCapability,
16
+ ResourcesCapability$inboundSchema,
17
+ } from "./resourcescapability.js";
18
+ import {
19
+ ServerTasksCapability,
20
+ ServerTasksCapability$inboundSchema,
21
+ } from "./servertaskscapability.js";
22
+ import {
23
+ ToolsCapability,
24
+ ToolsCapability$inboundSchema,
25
+ } from "./toolscapability.js";
26
+
27
+ /**
28
+ * Capabilities that a server may support.
29
+ */
30
+ export type ServerCapabilities = {
31
+ experimental?: { [k: string]: { [k: string]: any } } | null | undefined;
32
+ logging?: { [k: string]: any } | null | undefined;
33
+ prompts?: PromptsCapability | null | undefined;
34
+ resources?: ResourcesCapability | null | undefined;
35
+ tools?: ToolsCapability | null | undefined;
36
+ completions?: { [k: string]: any } | null | undefined;
37
+ tasks?: ServerTasksCapability | null | undefined;
38
+ [additionalProperties: string]: unknown;
39
+ };
40
+
41
+ /** @internal */
42
+ export const ServerCapabilities$inboundSchema: z.ZodType<
43
+ ServerCapabilities,
44
+ unknown
45
+ > = z.object({
46
+ experimental: z.nullable(z.record(z.string(), z.record(z.string(), z.any())))
47
+ .optional(),
48
+ logging: z.nullable(z.record(z.string(), z.any())).optional(),
49
+ prompts: z.nullable(PromptsCapability$inboundSchema).optional(),
50
+ resources: z.nullable(ResourcesCapability$inboundSchema).optional(),
51
+ tools: z.nullable(ToolsCapability$inboundSchema).optional(),
52
+ completions: z.nullable(z.record(z.string(), z.any())).optional(),
53
+ tasks: z.nullable(ServerTasksCapability$inboundSchema).optional(),
54
+ }).catchall(z.any());
55
+
56
+ export function serverCapabilitiesFromJSON(
57
+ jsonString: string,
58
+ ): SafeParseResult<ServerCapabilities, SDKValidationError> {
59
+ return safeParse(
60
+ jsonString,
61
+ (x) => ServerCapabilities$inboundSchema.parse(JSON.parse(x)),
62
+ `Failed to parse 'ServerCapabilities' from JSON`,
63
+ );
64
+ }
@@ -0,0 +1,45 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: 89f59da01576
4
+ */
5
+
6
+ import * as z from "zod/v4";
7
+ import { remap as remap$ } from "../../lib/primitives.js";
8
+ import { safeParse } from "../../lib/schemas.js";
9
+ import { Result as SafeParseResult } from "../../types/fp.js";
10
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
+
12
+ export type ServerLocale = {
13
+ name?: { [k: string]: string } | null | undefined;
14
+ description?: { [k: string]: string } | null | undefined;
15
+ usageSentence?: { [k: string]: string } | null | undefined;
16
+ workingDescription?: { [k: string]: string } | null | undefined;
17
+ doneDescription?: { [k: string]: string } | null | undefined;
18
+ };
19
+
20
+ /** @internal */
21
+ export const ServerLocale$inboundSchema: z.ZodType<ServerLocale, unknown> = z
22
+ .object({
23
+ name: z.nullable(z.record(z.string(), z.string())).optional(),
24
+ description: z.nullable(z.record(z.string(), z.string())).optional(),
25
+ usage_sentence: z.nullable(z.record(z.string(), z.string())).optional(),
26
+ working_description: z.nullable(z.record(z.string(), z.string()))
27
+ .optional(),
28
+ done_description: z.nullable(z.record(z.string(), z.string())).optional(),
29
+ }).transform((v) => {
30
+ return remap$(v, {
31
+ "usage_sentence": "usageSentence",
32
+ "working_description": "workingDescription",
33
+ "done_description": "doneDescription",
34
+ });
35
+ });
36
+
37
+ export function serverLocaleFromJSON(
38
+ jsonString: string,
39
+ ): SafeParseResult<ServerLocale, SDKValidationError> {
40
+ return safeParse(
41
+ jsonString,
42
+ (x) => ServerLocale$inboundSchema.parse(JSON.parse(x)),
43
+ `Failed to parse 'ServerLocale' from JSON`,
44
+ );
45
+ }
@@ -0,0 +1,43 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: c60cfca9941f
4
+ */
5
+
6
+ import * as z from "zod/v4";
7
+ import { safeParse } from "../../lib/schemas.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+ import {
11
+ ServerTasksRequestsCapability,
12
+ ServerTasksRequestsCapability$inboundSchema,
13
+ } from "./servertasksrequestscapability.js";
14
+
15
+ /**
16
+ * Capability for server tasks operations.
17
+ */
18
+ export type ServerTasksCapability = {
19
+ list?: { [k: string]: any } | null | undefined;
20
+ cancel?: { [k: string]: any } | null | undefined;
21
+ requests?: ServerTasksRequestsCapability | null | undefined;
22
+ [additionalProperties: string]: unknown;
23
+ };
24
+
25
+ /** @internal */
26
+ export const ServerTasksCapability$inboundSchema: z.ZodType<
27
+ ServerTasksCapability,
28
+ unknown
29
+ > = z.object({
30
+ list: z.nullable(z.record(z.string(), z.any())).optional(),
31
+ cancel: z.nullable(z.record(z.string(), z.any())).optional(),
32
+ requests: z.nullable(ServerTasksRequestsCapability$inboundSchema).optional(),
33
+ }).catchall(z.any());
34
+
35
+ export function serverTasksCapabilityFromJSON(
36
+ jsonString: string,
37
+ ): SafeParseResult<ServerTasksCapability, SDKValidationError> {
38
+ return safeParse(
39
+ jsonString,
40
+ (x) => ServerTasksCapability$inboundSchema.parse(JSON.parse(x)),
41
+ `Failed to parse 'ServerTasksCapability' from JSON`,
42
+ );
43
+ }
@@ -0,0 +1,39 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: 9ae4b43c0b85
4
+ */
5
+
6
+ import * as z from "zod/v4";
7
+ import { safeParse } from "../../lib/schemas.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+ import {
11
+ TasksToolsCapability,
12
+ TasksToolsCapability$inboundSchema,
13
+ } from "./taskstoolscapability.js";
14
+
15
+ /**
16
+ * Capability for tasks requests operations.
17
+ */
18
+ export type ServerTasksRequestsCapability = {
19
+ tools?: TasksToolsCapability | null | undefined;
20
+ [additionalProperties: string]: unknown;
21
+ };
22
+
23
+ /** @internal */
24
+ export const ServerTasksRequestsCapability$inboundSchema: z.ZodType<
25
+ ServerTasksRequestsCapability,
26
+ unknown
27
+ > = z.object({
28
+ tools: z.nullable(TasksToolsCapability$inboundSchema).optional(),
29
+ }).catchall(z.any());
30
+
31
+ export function serverTasksRequestsCapabilityFromJSON(
32
+ jsonString: string,
33
+ ): SafeParseResult<ServerTasksRequestsCapability, SDKValidationError> {
34
+ return safeParse(
35
+ jsonString,
36
+ (x) => ServerTasksRequestsCapability$inboundSchema.parse(JSON.parse(x)),
37
+ `Failed to parse 'ServerTasksRequestsCapability' from JSON`,
38
+ );
39
+ }