@openrouter/sdk 0.12.35 → 0.13.7
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.
- package/FUNCTIONS.md +2 -2
- package/README.md +41 -1
- package/esm/funcs/analyticsGetUserActivity.js +2 -1
- package/esm/funcs/apiKeysCreate.js +2 -1
- package/esm/funcs/apiKeysDelete.js +2 -1
- package/esm/funcs/apiKeysGet.js +2 -1
- package/esm/funcs/apiKeysGetCurrentKeyMetadata.js +2 -1
- package/esm/funcs/apiKeysList.js +2 -1
- package/esm/funcs/apiKeysUpdate.js +2 -1
- package/esm/funcs/betaAnalyticsGetAnalyticsMeta.d.ts +18 -0
- package/esm/funcs/betaAnalyticsGetAnalyticsMeta.js +96 -0
- package/esm/funcs/betaAnalyticsQueryAnalytics.d.ts +18 -0
- package/esm/funcs/betaAnalyticsQueryAnalytics.js +97 -0
- package/esm/funcs/betaResponsesSend.d.ts +3 -3
- package/esm/funcs/betaResponsesSend.js +4 -19
- package/esm/funcs/byokCreate.d.ts +19 -0
- package/esm/funcs/byokCreate.js +100 -0
- package/esm/funcs/byokDelete.d.ts +19 -0
- package/esm/funcs/byokDelete.js +103 -0
- package/esm/funcs/byokGet.d.ts +19 -0
- package/esm/funcs/byokGet.js +103 -0
- package/esm/funcs/byokList.d.ts +21 -0
- package/esm/funcs/byokList.js +136 -0
- package/esm/funcs/byokUpdate.d.ts +19 -0
- package/esm/funcs/byokUpdate.js +106 -0
- package/esm/funcs/chatSend.js +3 -19
- package/esm/funcs/creditsGetCredits.js +2 -1
- package/esm/funcs/datasetsGetAppRankings.d.ts +43 -0
- package/esm/funcs/datasetsGetAppRankings.js +161 -0
- package/esm/funcs/datasetsGetBenchmarksArtificialAnalysis.d.ts +19 -0
- package/esm/funcs/datasetsGetBenchmarksArtificialAnalysis.js +102 -0
- package/esm/funcs/datasetsGetBenchmarksDesignArena.d.ts +19 -0
- package/esm/funcs/datasetsGetBenchmarksDesignArena.js +104 -0
- package/esm/funcs/datasetsGetRankingsDaily.d.ts +37 -0
- package/esm/funcs/datasetsGetRankingsDaily.js +120 -0
- package/esm/funcs/embeddingsGenerate.js +2 -14
- package/esm/funcs/embeddingsListModels.js +2 -1
- package/esm/funcs/endpointsList.js +2 -1
- package/esm/funcs/endpointsListZdrEndpoints.js +2 -1
- package/esm/funcs/filesDelete.d.ts +19 -0
- package/esm/funcs/filesDelete.js +107 -0
- package/esm/funcs/filesDownload.d.ts +18 -0
- package/esm/funcs/filesDownload.js +107 -0
- package/esm/funcs/filesList.d.ts +21 -0
- package/esm/funcs/filesList.js +131 -0
- package/esm/funcs/filesRetrieve.d.ts +19 -0
- package/esm/funcs/filesRetrieve.js +107 -0
- package/esm/funcs/filesUpload.d.ts +19 -0
- package/esm/funcs/filesUpload.js +121 -0
- package/esm/funcs/generationsGetGeneration.js +2 -12
- package/esm/funcs/generationsListGenerationContent.js +2 -12
- package/esm/funcs/guardrailsBulkAssignKeys.js +2 -1
- package/esm/funcs/guardrailsBulkAssignMembers.js +2 -1
- package/esm/funcs/guardrailsBulkUnassignKeys.js +2 -1
- package/esm/funcs/guardrailsBulkUnassignMembers.js +2 -1
- package/esm/funcs/guardrailsCreate.js +2 -1
- package/esm/funcs/guardrailsDelete.js +2 -1
- package/esm/funcs/guardrailsGet.js +2 -1
- package/esm/funcs/guardrailsList.js +2 -1
- package/esm/funcs/guardrailsListGuardrailKeyAssignments.js +2 -1
- package/esm/funcs/guardrailsListGuardrailMemberAssignments.js +2 -1
- package/esm/funcs/guardrailsListKeyAssignments.js +2 -1
- package/esm/funcs/guardrailsListMemberAssignments.js +2 -1
- package/esm/funcs/guardrailsUpdate.js +2 -1
- package/esm/funcs/modelsCount.js +2 -1
- package/esm/funcs/modelsGet.d.ts +19 -0
- package/esm/funcs/modelsGet.js +107 -0
- package/esm/funcs/modelsList.js +14 -1
- package/esm/funcs/modelsListForUser.js +2 -1
- package/esm/funcs/oAuthCreateAuthCode.d.ts +1 -1
- package/esm/funcs/oAuthCreateAuthCode.js +3 -2
- package/esm/funcs/oAuthExchangeAuthCodeForAPIKey.js +2 -1
- package/esm/funcs/observabilityCreate.d.ts +19 -0
- package/esm/funcs/observabilityCreate.js +98 -0
- package/esm/funcs/observabilityDelete.d.ts +19 -0
- package/esm/funcs/observabilityDelete.js +103 -0
- package/esm/funcs/observabilityGet.d.ts +19 -0
- package/esm/funcs/observabilityGet.js +103 -0
- package/esm/funcs/observabilityList.d.ts +21 -0
- package/esm/funcs/observabilityList.js +134 -0
- package/esm/funcs/observabilityUpdate.d.ts +19 -0
- package/esm/funcs/observabilityUpdate.js +104 -0
- package/esm/funcs/organizationListMembers.js +2 -1
- package/esm/funcs/presetsCreatePresetsChatCompletions.d.ts +21 -0
- package/esm/funcs/presetsCreatePresetsChatCompletions.js +106 -0
- package/esm/funcs/presetsCreatePresetsMessages.d.ts +21 -0
- package/esm/funcs/presetsCreatePresetsMessages.js +106 -0
- package/esm/funcs/presetsCreatePresetsResponses.d.ts +21 -0
- package/esm/funcs/presetsCreatePresetsResponses.js +106 -0
- package/esm/funcs/presetsGet.d.ts +21 -0
- package/esm/funcs/presetsGet.js +105 -0
- package/esm/funcs/presetsGetVersion.d.ts +21 -0
- package/esm/funcs/presetsGetVersion.js +109 -0
- package/esm/funcs/presetsList.d.ts +23 -0
- package/esm/funcs/presetsList.js +136 -0
- package/esm/funcs/presetsListVersions.d.ts +23 -0
- package/esm/funcs/presetsListVersions.js +142 -0
- package/esm/funcs/providersList.js +2 -1
- package/esm/funcs/rerankRerank.js +2 -14
- package/esm/funcs/sttCreateTranscription.js +2 -14
- package/esm/funcs/ttsCreateSpeech.js +2 -14
- package/esm/funcs/videoGenerationGenerate.js +2 -1
- package/esm/funcs/videoGenerationGetGeneration.js +2 -1
- package/esm/funcs/videoGenerationGetVideoContent.js +2 -1
- package/esm/funcs/videoGenerationListVideosModels.js +2 -1
- package/esm/funcs/workspacesBulkAddMembers.js +2 -1
- package/esm/funcs/workspacesBulkRemoveMembers.js +2 -1
- package/esm/funcs/workspacesCreate.js +2 -1
- package/esm/funcs/workspacesDelete.js +2 -1
- package/esm/funcs/workspacesGet.js +2 -1
- package/esm/funcs/workspacesList.js +2 -1
- package/esm/funcs/workspacesUpdate.js +2 -1
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/lib/encodings.d.ts +1 -0
- package/esm/lib/encodings.js +6 -0
- package/esm/lib/sdks.d.ts +1 -1
- package/esm/lib/sdks.js +3 -5
- package/esm/models/aabenchmarkentry.d.ts +24 -0
- package/esm/models/aabenchmarkentry.js +23 -0
- package/esm/models/advisornestedtool.d.ts +25 -0
- package/esm/models/advisornestedtool.js +23 -0
- package/esm/models/advisorreasoning.d.ts +41 -0
- package/esm/models/advisorreasoning.js +33 -0
- package/esm/models/advisorservertoolconfig.d.ts +65 -0
- package/esm/models/advisorservertoolconfig.js +31 -0
- package/esm/models/advisorservertoolopenrouter.d.ts +28 -0
- package/esm/models/advisorservertoolopenrouter.js +20 -0
- package/esm/models/anthropicallowedcallers.d.ts +11 -0
- package/esm/models/anthropicallowedcallers.js +13 -0
- package/esm/models/anthropicbase64imagesource.d.ts +17 -0
- package/esm/models/anthropicbase64imagesource.js +21 -0
- package/esm/models/anthropicbase64pdfsource.d.ts +23 -0
- package/esm/models/anthropicbase64pdfsource.js +25 -0
- package/esm/models/anthropiccachecontroldirective.d.ts +1 -1
- package/esm/models/anthropiccitationcharlocationparam.d.ts +22 -0
- package/esm/models/anthropiccitationcharlocationparam.js +27 -0
- package/esm/models/anthropiccitationcontentblocklocationparam.d.ts +22 -0
- package/esm/models/anthropiccitationcontentblocklocationparam.js +27 -0
- package/esm/models/anthropiccitationpagelocationparam.d.ts +22 -0
- package/esm/models/anthropiccitationpagelocationparam.js +27 -0
- package/esm/models/anthropiccitationsearchresultlocation.d.ts +24 -0
- package/esm/models/anthropiccitationsearchresultlocation.js +27 -0
- package/esm/models/anthropiccitationwebsearchresultlocation.d.ts +20 -0
- package/esm/models/anthropiccitationwebsearchresultlocation.js +23 -0
- package/esm/models/anthropicdocumentblockparam.d.ts +71 -0
- package/esm/models/anthropicdocumentblockparam.js +84 -0
- package/esm/models/anthropicimageblockparam.d.ts +28 -0
- package/esm/models/anthropicimageblockparam.js +34 -0
- package/esm/models/anthropicimagemimetype.d.ts +12 -0
- package/esm/models/anthropicimagemimetype.js +14 -0
- package/esm/models/anthropicinputtokensclearatleast.d.ts +21 -0
- package/esm/models/anthropicinputtokensclearatleast.js +19 -0
- package/esm/models/anthropicinputtokenstrigger.d.ts +14 -0
- package/esm/models/anthropicinputtokenstrigger.js +14 -0
- package/esm/models/anthropicplaintextsource.d.ts +23 -0
- package/esm/models/anthropicplaintextsource.js +25 -0
- package/esm/models/anthropicsearchresultblockparam.d.ts +37 -0
- package/esm/models/anthropicsearchresultblockparam.js +32 -0
- package/esm/models/anthropictextblockparam.d.ts +33 -0
- package/esm/models/anthropictextblockparam.js +45 -0
- package/esm/models/anthropicthinkingdisplay.d.ts +10 -0
- package/esm/models/anthropicthinkingdisplay.js +12 -0
- package/esm/models/anthropicthinkingturns.d.ts +21 -0
- package/esm/models/anthropicthinkingturns.js +19 -0
- package/esm/models/anthropictooluseskeep.d.ts +21 -0
- package/esm/models/anthropictooluseskeep.js +19 -0
- package/esm/models/anthropictoolusestrigger.d.ts +14 -0
- package/esm/models/anthropictoolusestrigger.js +14 -0
- package/esm/models/anthropicurlimagesource.d.ts +14 -0
- package/esm/models/anthropicurlimagesource.js +14 -0
- package/esm/models/anthropicurlpdfsource.d.ts +14 -0
- package/esm/models/anthropicurlpdfsource.js +14 -0
- package/esm/models/anthropicwebsearchresultblockparam.d.ts +27 -0
- package/esm/models/anthropicwebsearchresultblockparam.js +28 -0
- package/esm/models/anthropicwebsearchtooluserlocation.d.ts +27 -0
- package/esm/models/anthropicwebsearchtooluserlocation.js +22 -0
- package/esm/models/applypatchcallitem.d.ts +45 -0
- package/esm/models/applypatchcallitem.js +47 -0
- package/esm/models/applypatchcalloperation.d.ts +20 -0
- package/esm/models/applypatchcalloperation.js +29 -0
- package/esm/models/applypatchcalloperationdiffdeltaevent.d.ts +17 -0
- package/esm/models/applypatchcalloperationdiffdeltaevent.js +25 -0
- package/esm/models/applypatchcalloperationdiffdoneevent.d.ts +17 -0
- package/esm/models/applypatchcalloperationdiffdoneevent.js +25 -0
- package/esm/models/applypatchcalloutputitem.d.ts +46 -0
- package/esm/models/applypatchcalloutputitem.js +54 -0
- package/esm/models/applypatchcallstatus.d.ts +18 -0
- package/esm/models/applypatchcallstatus.js +17 -0
- package/esm/models/applypatchcreatefileoperation.d.ts +24 -0
- package/esm/models/applypatchcreatefileoperation.js +25 -0
- package/esm/models/applypatchdeletefileoperation.d.ts +22 -0
- package/esm/models/applypatchdeletefileoperation.js +23 -0
- package/esm/models/applypatchengineenum.d.ts +17 -0
- package/esm/models/applypatchengineenum.js +16 -0
- package/esm/models/applypatchservertoolconfig.d.ts +19 -0
- package/esm/models/applypatchservertoolconfig.js +14 -0
- package/esm/models/applypatchservertoolopenrouter.d.ts +21 -0
- package/esm/models/applypatchservertoolopenrouter.js +15 -0
- package/esm/models/applypatchupdatefileoperation.d.ts +24 -0
- package/esm/models/applypatchupdatefileoperation.js +25 -0
- package/esm/models/apprankingsitem.d.ts +29 -0
- package/esm/models/apprankingsitem.js +26 -0
- package/esm/models/apprankingsresponse.d.ts +16 -0
- package/esm/models/apprankingsresponse.js +17 -0
- package/esm/models/autorouterplugin.d.ts +5 -0
- package/esm/models/autorouterplugin.js +2 -0
- package/esm/models/baseinputsunion.d.ts +6 -2
- package/esm/models/baseinputsunion.js +12 -0
- package/esm/models/bashservertool.d.ts +28 -0
- package/esm/models/bashservertool.js +20 -0
- package/esm/models/bashservertoolconfig.d.ts +30 -0
- package/esm/models/bashservertoolconfig.js +22 -0
- package/esm/models/bashservertoolengine.d.ts +17 -0
- package/esm/models/bashservertoolengine.js +16 -0
- package/esm/models/bashservertoolenvironment.d.ts +13 -0
- package/esm/models/bashservertoolenvironment.js +16 -0
- package/esm/models/benchmarkpricing.d.ts +20 -0
- package/esm/models/benchmarkpricing.js +15 -0
- package/esm/models/benchmarksaaitem.d.ts +34 -0
- package/esm/models/benchmarksaaitem.js +29 -0
- package/esm/models/benchmarksaameta.d.ts +70 -0
- package/esm/models/benchmarksaameta.js +50 -0
- package/esm/models/benchmarksaaresponse.d.ts +13 -0
- package/esm/models/benchmarksaaresponse.js +17 -0
- package/esm/models/benchmarksdaitem.d.ts +59 -0
- package/esm/models/benchmarksdaitem.js +50 -0
- package/esm/models/benchmarksdameta.d.ts +98 -0
- package/esm/models/benchmarksdameta.js +62 -0
- package/esm/models/benchmarksdaresponse.d.ts +13 -0
- package/esm/models/benchmarksdaresponse.js +17 -0
- package/esm/models/byokkey.d.ts +58 -0
- package/esm/models/byokkey.js +37 -0
- package/esm/models/byokproviderslug.d.ts +99 -0
- package/esm/models/byokproviderslug.js +98 -0
- package/esm/models/chatfunctiontool.d.ts +5 -2
- package/esm/models/chatfunctiontool.js +6 -0
- package/esm/models/chatrequest.d.ts +68 -15
- package/esm/models/chatrequest.js +41 -8
- package/esm/models/chatservertoolchoice.d.ts +18 -0
- package/esm/models/chatservertoolchoice.js +13 -0
- package/esm/models/chattoolchoice.d.ts +3 -2
- package/esm/models/chattoolchoice.js +2 -0
- package/esm/models/chatwebsearchshorthand.d.ts +11 -6
- package/esm/models/chatwebsearchshorthand.js +2 -0
- package/esm/models/compactionitem.d.ts +26 -0
- package/esm/models/compactionitem.js +25 -0
- package/esm/models/containerautoenvironment.d.ts +15 -0
- package/esm/models/containerautoenvironment.js +13 -0
- package/esm/models/containerreferenceenvironment.d.ts +20 -0
- package/esm/models/containerreferenceenvironment.js +19 -0
- package/esm/models/contentfilterbuiltinentry.d.ts +6 -10
- package/esm/models/contentfilterbuiltinentry.js +9 -11
- package/esm/models/contentfilterbuiltinentryinput.d.ts +38 -0
- package/esm/models/contentfilterbuiltinentryinput.js +24 -0
- package/esm/models/contentpartaudio.d.ts +24 -0
- package/esm/models/contentpartaudio.js +27 -0
- package/esm/models/contentpartimage.d.ts +2 -9
- package/esm/models/contentpartimage.js +1 -6
- package/esm/models/contentpartinputaudio.d.ts +15 -0
- package/esm/models/contentpartinputaudio.js +20 -0
- package/esm/models/contentpartinputfile.d.ts +15 -0
- package/esm/models/contentpartinputfile.js +20 -0
- package/esm/models/contentpartinputvideo.d.ts +15 -0
- package/esm/models/contentpartinputvideo.js +20 -0
- package/esm/models/contentpartvideo.d.ts +24 -0
- package/esm/models/contentpartvideo.js +27 -0
- package/esm/models/createbyokkeyrequest.d.ts +51 -0
- package/esm/models/createbyokkeyrequest.js +29 -0
- package/esm/models/createbyokkeyresponse.d.ts +11 -0
- package/esm/models/createbyokkeyresponse.js +15 -0
- package/esm/models/createguardrailrequest.d.ts +27 -5
- package/esm/models/createguardrailrequest.js +10 -2
- package/esm/models/createobservabilitydestinationrequest.d.ts +89 -0
- package/esm/models/createobservabilitydestinationrequest.js +58 -0
- package/esm/models/createobservabilitydestinationresponse.d.ts +11 -0
- package/esm/models/createobservabilitydestinationresponse.js +15 -0
- package/esm/models/createpresetfrominferenceresponse.d.ts +17 -0
- package/esm/models/createpresetfrominferenceresponse.js +15 -0
- package/esm/models/createworkspacerequest.d.ts +1 -1
- package/esm/models/customtoolcallinputdeltaevent.d.ts +17 -0
- package/esm/models/customtoolcallinputdeltaevent.js +25 -0
- package/esm/models/customtoolcallinputdoneevent.d.ts +17 -0
- package/esm/models/customtoolcallinputdoneevent.js +25 -0
- package/esm/models/customtoolcallitem.d.ts +35 -0
- package/esm/models/customtoolcallitem.js +28 -0
- package/esm/models/customtoolcalloutputitem.d.ts +68 -0
- package/esm/models/customtoolcalloutputitem.js +78 -0
- package/esm/models/dabenchmarkentry.d.ts +32 -0
- package/esm/models/dabenchmarkentry.js +23 -0
- package/esm/models/deletebyokkeyresponse.d.ts +13 -0
- package/esm/models/deletebyokkeyresponse.js +14 -0
- package/esm/models/deleteobservabilitydestinationresponse.d.ts +13 -0
- package/esm/models/deleteobservabilitydestinationresponse.js +14 -0
- package/esm/models/easyinputmessage.d.ts +1 -0
- package/esm/models/easyinputmessage.js +1 -0
- package/esm/models/filedeleteresponse.d.ts +21 -0
- package/esm/models/filedeleteresponse.js +20 -0
- package/esm/models/filelistresponse.d.ts +21 -0
- package/esm/models/filelistresponse.js +26 -0
- package/esm/models/filemetadata.d.ts +26 -0
- package/esm/models/filemetadata.js +33 -0
- package/esm/models/filesearchservertool.d.ts +12 -12
- package/esm/models/filesearchservertool.js +12 -17
- package/esm/models/functioncalloutputitem.d.ts +11 -10
- package/esm/models/functioncalloutputitem.js +7 -6
- package/esm/models/fusionanalysisresult.d.ts +88 -0
- package/esm/models/fusionanalysisresult.js +109 -0
- package/esm/models/fusioncallanalysiscompletedevent.d.ts +21 -0
- package/esm/models/fusioncallanalysiscompletedevent.js +26 -0
- package/esm/models/fusioncallanalysisinprogressevent.d.ts +17 -0
- package/esm/models/fusioncallanalysisinprogressevent.js +26 -0
- package/esm/models/fusioncallcompletedevent.d.ts +16 -0
- package/esm/models/fusioncallcompletedevent.js +24 -0
- package/esm/models/fusioncallinprogressevent.d.ts +16 -0
- package/esm/models/fusioncallinprogressevent.js +24 -0
- package/esm/models/fusioncallpaneladdedevent.d.ts +17 -0
- package/esm/models/fusioncallpaneladdedevent.js +25 -0
- package/esm/models/fusioncallpanelcompletedevent.d.ts +18 -0
- package/esm/models/fusioncallpanelcompletedevent.js +26 -0
- package/esm/models/fusioncallpaneldeltaevent.d.ts +18 -0
- package/esm/models/fusioncallpaneldeltaevent.js +26 -0
- package/esm/models/fusioncallpanelfailedevent.d.ts +19 -0
- package/esm/models/fusioncallpanelfailedevent.js +28 -0
- package/esm/models/fusioncallpanelreasoningdeltaevent.d.ts +18 -0
- package/esm/models/fusioncallpanelreasoningdeltaevent.js +26 -0
- package/esm/models/fusionplugin.d.ts +78 -0
- package/esm/models/fusionplugin.js +43 -0
- package/esm/models/fusionservertoolconfig.d.ts +109 -0
- package/esm/models/fusionservertoolconfig.js +62 -0
- package/esm/models/fusionservertoolopenrouter.d.ts +21 -0
- package/esm/models/fusionservertoolopenrouter.js +15 -0
- package/esm/models/generationresponse.d.ts +26 -0
- package/esm/models/generationresponse.js +16 -0
- package/esm/models/getbyokkeyresponse.d.ts +11 -0
- package/esm/models/getbyokkeyresponse.js +15 -0
- package/esm/models/getobservabilitydestinationresponse.d.ts +11 -0
- package/esm/models/getobservabilitydestinationresponse.js +15 -0
- package/esm/models/getpresetresponse.d.ts +17 -0
- package/esm/models/getpresetresponse.js +15 -0
- package/esm/models/getpresetversionresponse.d.ts +17 -0
- package/esm/models/getpresetversionresponse.js +15 -0
- package/esm/models/guardrail.d.ts +19 -1
- package/esm/models/guardrail.js +8 -0
- package/esm/models/index.d.ts +176 -0
- package/esm/models/index.js +176 -0
- package/esm/models/inputimage.d.ts +1 -0
- package/esm/models/inputimage.js +1 -0
- package/esm/models/inputmessageitem.d.ts +1 -0
- package/esm/models/inputmessageitem.js +1 -0
- package/esm/models/inputreference.d.ts +14 -0
- package/esm/models/inputreference.js +18 -0
- package/esm/models/inputsunion.d.ts +22 -4
- package/esm/models/inputsunion.js +56 -2
- package/esm/models/itemreferenceitem.d.ts +24 -0
- package/esm/models/itemreferenceitem.js +19 -0
- package/esm/models/legacywebsearchservertool.d.ts +2 -2
- package/esm/models/listbyokkeysresponse.d.ts +18 -0
- package/esm/models/listbyokkeysresponse.js +21 -0
- package/esm/models/listobservabilitydestinationsresponse.d.ts +18 -0
- package/esm/models/listobservabilitydestinationsresponse.js +21 -0
- package/esm/models/listpresetsresponse.d.ts +15 -0
- package/esm/models/listpresetsresponse.js +21 -0
- package/esm/models/listpresetversionsresponse.d.ts +15 -0
- package/esm/models/listpresetversionsresponse.js +21 -0
- package/esm/models/localshellcallitem.d.ts +61 -0
- package/esm/models/localshellcallitem.js +50 -0
- package/esm/models/localshellcalloutputitem.d.ts +36 -0
- package/esm/models/localshellcalloutputitem.js +29 -0
- package/esm/models/mcpapprovalrequestitem.d.ts +30 -0
- package/esm/models/mcpapprovalrequestitem.js +27 -0
- package/esm/models/mcpapprovalresponseitem.d.ts +30 -0
- package/esm/models/mcpapprovalresponseitem.js +27 -0
- package/esm/models/mcpcallitem.d.ts +34 -0
- package/esm/models/mcpcallitem.js +29 -0
- package/esm/models/mcplisttoolsitem.d.ts +50 -0
- package/esm/models/mcplisttoolsitem.js +41 -0
- package/esm/models/messagesadvisortoolresultblock.d.ts +23 -0
- package/esm/models/messagesadvisortoolresultblock.js +20 -0
- package/esm/models/messagesfallbackparam.d.ts +19 -0
- package/esm/models/messagesfallbackparam.js +22 -0
- package/esm/models/messagesmessageparam.d.ts +228 -0
- package/esm/models/messagesmessageparam.js +261 -0
- package/esm/models/messagesoutputconfig.d.ts +93 -0
- package/esm/models/messagesoutputconfig.js +61 -0
- package/esm/models/messagesrequest.d.ts +637 -0
- package/esm/models/messagesrequest.js +613 -0
- package/esm/models/model.d.ts +5 -0
- package/esm/models/model.js +2 -0
- package/esm/models/modelbenchmarks.d.ts +22 -0
- package/esm/models/modelbenchmarks.js +23 -0
- package/esm/models/modelresponse.d.ts +17 -0
- package/esm/models/modelresponse.js +16 -0
- package/esm/models/multimodalmedia.d.ts +14 -0
- package/esm/models/multimodalmedia.js +14 -0
- package/esm/models/observabilityarizedestination.d.ts +67 -0
- package/esm/models/observabilityarizedestination.js +48 -0
- package/esm/models/observabilitybraintrustdestination.d.ts +66 -0
- package/esm/models/observabilitybraintrustdestination.js +47 -0
- package/esm/models/observabilityclickhousedestination.d.ts +71 -0
- package/esm/models/observabilityclickhousedestination.js +49 -0
- package/esm/models/observabilitydatadogdestination.d.ts +75 -0
- package/esm/models/observabilitydatadogdestination.js +47 -0
- package/esm/models/observabilitydestination.d.ts +26 -0
- package/esm/models/observabilitydestination.js +47 -0
- package/esm/models/observabilityfilterrulesconfig.d.ts +112 -0
- package/esm/models/observabilityfilterrulesconfig.js +119 -0
- package/esm/models/observabilitygrafanadestination.d.ts +66 -0
- package/esm/models/observabilitygrafanadestination.js +47 -0
- package/esm/models/observabilitylangfusedestination.d.ts +66 -0
- package/esm/models/observabilitylangfusedestination.js +47 -0
- package/esm/models/observabilitylangsmithdestination.d.ts +73 -0
- package/esm/models/observabilitylangsmithdestination.js +48 -0
- package/esm/models/observabilitynewrelicdestination.d.ts +73 -0
- package/esm/models/observabilitynewrelicdestination.js +54 -0
- package/esm/models/observabilityopikdestination.d.ts +66 -0
- package/esm/models/observabilityopikdestination.js +47 -0
- package/esm/models/observabilityotelcollectordestination.d.ts +64 -0
- package/esm/models/observabilityotelcollectordestination.js +45 -0
- package/esm/models/observabilityposthogdestination.d.ts +65 -0
- package/esm/models/observabilityposthogdestination.js +46 -0
- package/esm/models/observabilityrampdestination.d.ts +68 -0
- package/esm/models/observabilityrampdestination.js +46 -0
- package/esm/models/observabilitys3destination.d.ts +77 -0
- package/esm/models/observabilitys3destination.js +52 -0
- package/esm/models/observabilitysentrydestination.d.ts +65 -0
- package/esm/models/observabilitysentrydestination.js +46 -0
- package/esm/models/observabilitysnowflakedestination.d.ts +69 -0
- package/esm/models/observabilitysnowflakedestination.js +50 -0
- package/esm/models/observabilityweavedestination.d.ts +67 -0
- package/esm/models/observabilityweavedestination.js +48 -0
- package/esm/models/observabilitywebhookdestination.d.ts +70 -0
- package/esm/models/observabilitywebhookdestination.js +54 -0
- package/esm/models/openairesponsecustomtoolcall.d.ts +25 -0
- package/esm/models/openairesponsecustomtoolcall.js +29 -0
- package/esm/models/openairesponsecustomtoolcalloutput.d.ts +38 -0
- package/esm/models/openairesponsecustomtoolcalloutput.js +59 -0
- package/esm/models/openairesponsestoolchoiceunion.d.ts +44 -2
- package/esm/models/openairesponsestoolchoiceunion.js +46 -0
- package/esm/models/operations/createauthkeyscode.d.ts +6 -1
- package/esm/models/operations/createauthkeyscode.js +2 -0
- package/esm/models/operations/createbyokkey.d.ts +56 -0
- package/esm/models/operations/createbyokkey.js +23 -0
- package/esm/models/operations/createembeddings.d.ts +8 -4
- package/esm/models/operations/createembeddings.js +8 -0
- package/esm/models/operations/createobservabilitydestination.d.ts +56 -0
- package/esm/models/operations/createobservabilitydestination.js +23 -0
- package/esm/models/operations/createpresetschatcompletions.d.ts +61 -0
- package/esm/models/operations/createpresetschatcompletions.js +24 -0
- package/esm/models/operations/createpresetsmessages.d.ts +61 -0
- package/esm/models/operations/createpresetsmessages.js +24 -0
- package/esm/models/operations/createpresetsresponses.d.ts +61 -0
- package/esm/models/operations/createpresetsresponses.js +24 -0
- package/esm/models/operations/creatererank.d.ts +44 -10
- package/esm/models/operations/creatererank.js +21 -6
- package/esm/models/operations/createresponses.d.ts +3 -3
- package/esm/models/operations/createresponses.js +2 -3
- package/esm/models/operations/deletebyokkey.d.ts +58 -0
- package/esm/models/operations/deletebyokkey.js +21 -0
- package/esm/models/operations/deletefile.d.ts +60 -0
- package/esm/models/operations/deletefile.js +24 -0
- package/esm/models/operations/deleteobservabilitydestination.d.ts +58 -0
- package/esm/models/operations/deleteobservabilitydestination.js +21 -0
- package/esm/models/operations/downloadfilecontent.d.ts +60 -0
- package/esm/models/operations/downloadfilecontent.js +24 -0
- package/esm/models/operations/getanalyticsmeta.d.ts +198 -0
- package/esm/models/operations/getanalyticsmeta.js +141 -0
- package/esm/models/operations/getapprankings.d.ts +152 -0
- package/esm/models/operations/getapprankings.js +85 -0
- package/esm/models/operations/getbenchmarksartificialanalysis.d.ts +58 -0
- package/esm/models/operations/getbenchmarksartificialanalysis.js +22 -0
- package/esm/models/operations/getbenchmarksdesignarena.d.ts +83 -0
- package/esm/models/operations/getbenchmarksdesignarena.js +36 -0
- package/esm/models/operations/getbyokkey.d.ts +58 -0
- package/esm/models/operations/getbyokkey.js +21 -0
- package/esm/models/operations/getfilemetadata.d.ts +60 -0
- package/esm/models/operations/getfilemetadata.js +24 -0
- package/esm/models/operations/getmodel.d.ts +63 -0
- package/esm/models/operations/getmodel.js +22 -0
- package/esm/models/operations/getmodels.d.ts +121 -5
- package/esm/models/operations/getmodels.js +59 -4
- package/esm/models/operations/getobservabilitydestination.d.ts +58 -0
- package/esm/models/operations/getobservabilitydestination.js +21 -0
- package/esm/models/operations/getpreset.d.ts +58 -0
- package/esm/models/operations/getpreset.js +21 -0
- package/esm/models/operations/getpresetversion.d.ts +63 -0
- package/esm/models/operations/getpresetversion.js +22 -0
- package/esm/models/operations/getrankingsdaily.d.ts +63 -0
- package/esm/models/operations/getrankingsdaily.js +24 -0
- package/esm/models/operations/index.d.ts +29 -0
- package/esm/models/operations/index.js +29 -0
- package/esm/models/operations/listbyokkeys.d.ts +177 -0
- package/esm/models/operations/listbyokkeys.js +130 -0
- package/esm/models/operations/listfiles.d.ts +77 -0
- package/esm/models/operations/listfiles.js +37 -0
- package/esm/models/operations/listobservabilitydestinations.d.ts +77 -0
- package/esm/models/operations/listobservabilitydestinations.js +37 -0
- package/esm/models/operations/listpresets.d.ts +72 -0
- package/esm/models/operations/listpresets.js +35 -0
- package/esm/models/operations/listpresetversions.d.ts +77 -0
- package/esm/models/operations/listpresetversions.js +36 -0
- package/esm/models/operations/queryanalytics.d.ts +195 -0
- package/esm/models/operations/queryanalytics.js +129 -0
- package/esm/models/operations/sendchatcompletionrequest.d.ts +3 -3
- package/esm/models/operations/sendchatcompletionrequest.js +2 -3
- package/esm/models/operations/updatebyokkey.d.ts +61 -0
- package/esm/models/operations/updatebyokkey.js +24 -0
- package/esm/models/operations/updateobservabilitydestination.d.ts +61 -0
- package/esm/models/operations/updateobservabilitydestination.js +24 -0
- package/esm/models/operations/uploadfile.d.ts +82 -0
- package/esm/models/operations/uploadfile.js +45 -0
- package/esm/models/outputadvisorservertoolitem.d.ts +59 -0
- package/esm/models/outputadvisorservertoolitem.js +52 -0
- package/esm/models/outputapplypatchcallitem.d.ts +25 -0
- package/esm/models/outputapplypatchcallitem.js +25 -0
- package/esm/models/outputapplypatchservertoolitem.d.ts +9 -5
- package/esm/models/outputapplypatchservertoolitem.js +14 -4
- package/esm/models/outputcustomtoolcallitem.d.ts +42 -0
- package/esm/models/outputcustomtoolcallitem.js +47 -0
- package/esm/models/outputfusionservertoolitem.d.ts +101 -0
- package/esm/models/outputfusionservertoolitem.js +98 -0
- package/esm/models/outputitems.d.ts +18 -3
- package/esm/models/outputitems.js +14 -0
- package/esm/models/outputshellcallitem.d.ts +29 -0
- package/esm/models/outputshellcallitem.js +38 -0
- package/esm/models/outputshellcalloutputitem.d.ts +48 -0
- package/esm/models/outputshellcalloutputitem.js +67 -0
- package/esm/models/outputsubagentservertoolitem.d.ts +59 -0
- package/esm/models/outputsubagentservertoolitem.js +54 -0
- package/esm/models/outputwebsearchcallitem.d.ts +2 -2
- package/esm/models/outputwebsearchcallitem.js +2 -2
- package/esm/models/outputwebsearchservertoolitem.d.ts +8 -8
- package/esm/models/outputwebsearchservertoolitem.js +8 -9
- package/esm/models/pipelinestage.d.ts +1 -0
- package/esm/models/pipelinestage.js +1 -0
- package/esm/models/preset.d.ts +27 -0
- package/esm/models/preset.js +35 -0
- package/esm/models/presetdesignatedversion.d.ts +22 -0
- package/esm/models/presetdesignatedversion.js +30 -0
- package/esm/models/presetstatus.d.ts +17 -0
- package/esm/models/presetstatus.js +16 -0
- package/esm/models/presetwithdesignatedversion.d.ts +32 -0
- package/esm/models/presetwithdesignatedversion.js +38 -0
- package/esm/models/preview20250311websearchservertool.d.ts +2 -2
- package/esm/models/previewwebsearchservertool.d.ts +2 -2
- package/esm/models/promptinjectionscanscope.d.ts +18 -0
- package/esm/models/promptinjectionscanscope.js +17 -0
- package/esm/models/providername.d.ts +5 -1
- package/esm/models/providername.js +5 -1
- package/esm/models/provideroptions.d.ts +30 -0
- package/esm/models/provideroptions.js +5 -0
- package/esm/models/providerresponse.d.ts +6 -1
- package/esm/models/providerresponse.js +7 -2
- package/esm/models/rankingsdailyitem.d.ts +21 -0
- package/esm/models/rankingsdailyitem.js +22 -0
- package/esm/models/rankingsdailymeta.d.ts +38 -0
- package/esm/models/rankingsdailymeta.js +32 -0
- package/esm/models/rankingsdailyresponse.d.ts +16 -0
- package/esm/models/rankingsdailyresponse.js +17 -0
- package/esm/models/responsesrequest.d.ts +61 -17
- package/esm/models/responsesrequest.js +31 -0
- package/esm/models/routingstrategy.d.ts +1 -0
- package/esm/models/routingstrategy.js +1 -0
- package/esm/models/searchqualitylevel.d.ts +2 -2
- package/esm/models/searchqualitylevel.js +1 -1
- package/esm/models/shellcallitem.d.ts +54 -0
- package/esm/models/shellcallitem.js +50 -0
- package/esm/models/shellcalloutputitem.d.ts +58 -0
- package/esm/models/shellcalloutputitem.js +55 -0
- package/esm/models/shellcallstatus.d.ts +17 -0
- package/esm/models/shellcallstatus.js +16 -0
- package/esm/models/shellservertoolconfig.d.ts +30 -0
- package/esm/models/shellservertoolconfig.js +22 -0
- package/esm/models/shellservertoolengine.d.ts +16 -0
- package/esm/models/shellservertoolengine.js +15 -0
- package/esm/models/shellservertoolenvironment.d.ts +13 -0
- package/esm/models/shellservertoolenvironment.js +16 -0
- package/esm/models/shellservertoolopenrouter.d.ts +21 -0
- package/esm/models/shellservertoolopenrouter.js +15 -0
- package/esm/models/stopservertoolswhencondition.d.ts +16 -0
- package/esm/models/stopservertoolswhencondition.js +22 -0
- package/esm/models/stopservertoolswhenfinishreasonis.d.ts +17 -0
- package/esm/models/stopservertoolswhenfinishreasonis.js +14 -0
- package/esm/models/stopservertoolswhenhastoolcall.d.ts +17 -0
- package/esm/models/stopservertoolswhenhastoolcall.js +19 -0
- package/esm/models/stopservertoolswhenmaxcost.d.ts +17 -0
- package/esm/models/stopservertoolswhenmaxcost.js +19 -0
- package/esm/models/stopservertoolswhenmaxtokensused.d.ts +17 -0
- package/esm/models/stopservertoolswhenmaxtokensused.js +19 -0
- package/esm/models/stopservertoolswhenstepcountis.d.ts +17 -0
- package/esm/models/stopservertoolswhenstepcountis.js +19 -0
- package/esm/models/streamevents.d.ts +14 -1
- package/esm/models/streamevents.js +26 -0
- package/esm/models/subagentnestedtool.d.ts +25 -0
- package/esm/models/subagentnestedtool.js +23 -0
- package/esm/models/subagentreasoning.d.ts +41 -0
- package/esm/models/subagentreasoning.js +33 -0
- package/esm/models/subagentservertoolconfig.d.ts +50 -0
- package/esm/models/subagentservertoolconfig.js +27 -0
- package/esm/models/subagentservertoolopenrouter.d.ts +28 -0
- package/esm/models/subagentservertoolopenrouter.js +20 -0
- package/esm/models/updatebyokkeyrequest.d.ts +40 -0
- package/esm/models/updatebyokkeyrequest.js +25 -0
- package/esm/models/updatebyokkeyresponse.d.ts +11 -0
- package/esm/models/updatebyokkeyresponse.js +15 -0
- package/esm/models/updateguardrailrequest.d.ts +27 -5
- package/esm/models/updateguardrailrequest.js +10 -2
- package/esm/models/updateobservabilitydestinationrequest.d.ts +47 -0
- package/esm/models/updateobservabilitydestinationrequest.js +29 -0
- package/esm/models/updateobservabilitydestinationresponse.d.ts +11 -0
- package/esm/models/updateobservabilitydestinationresponse.js +15 -0
- package/esm/models/updateworkspacerequest.d.ts +1 -1
- package/esm/models/urlcitation.d.ts +2 -0
- package/esm/models/urlcitation.js +2 -0
- package/esm/models/videogenerationrequest.d.ts +36 -4
- package/esm/models/videogenerationrequest.js +9 -2
- package/esm/models/videomodel.d.ts +10 -0
- package/esm/models/videomodel.js +10 -0
- package/esm/models/webfetchengineenum.d.ts +4 -3
- package/esm/models/webfetchengineenum.js +3 -2
- package/esm/models/webfetchplugin.d.ts +32 -0
- package/esm/models/webfetchplugin.js +25 -0
- package/esm/models/webfetchservertoolconfig.d.ts +1 -1
- package/esm/models/websearchconfig.d.ts +11 -6
- package/esm/models/websearchconfig.js +2 -0
- package/esm/models/websearchengine.d.ts +1 -0
- package/esm/models/websearchengine.js +1 -0
- package/esm/models/websearchengineenum.d.ts +5 -4
- package/esm/models/websearchengineenum.js +4 -3
- package/esm/models/websearchservertool.d.ts +2 -2
- package/esm/models/websearchservertoolconfig.d.ts +11 -6
- package/esm/models/websearchservertoolconfig.js +2 -0
- package/esm/sdk/beta.d.ts +3 -0
- package/esm/sdk/beta.js +4 -0
- package/esm/sdk/betaanalytics.d.ts +19 -0
- package/esm/sdk/betaanalytics.js +29 -0
- package/esm/sdk/byok.d.ts +44 -0
- package/esm/sdk/byok.js +60 -0
- package/esm/sdk/datasets.d.ts +77 -0
- package/esm/sdk/datasets.js +90 -0
- package/esm/sdk/files.d.ts +44 -0
- package/esm/sdk/files.js +60 -0
- package/esm/sdk/models.d.ts +7 -0
- package/esm/sdk/models.js +10 -0
- package/esm/sdk/observability.d.ts +44 -0
- package/esm/sdk/observability.js +60 -0
- package/esm/sdk/presets.d.ts +60 -0
- package/esm/sdk/presets.js +80 -0
- package/esm/sdk/sdk.d.ts +17 -2
- package/esm/sdk/sdk.js +23 -3
- package/jsr.json +1 -1
- package/package.json +11 -7
- package/tsconfig.json +0 -2
|
@@ -4,26 +4,42 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import * as z from "zod/v4";
|
|
6
6
|
import { remap as remap$ } from "../lib/primitives.js";
|
|
7
|
+
import { ApplyPatchCallItem$outboundSchema, } from "./applypatchcallitem.js";
|
|
8
|
+
import { ApplyPatchCallOutputItem$outboundSchema, } from "./applypatchcalloutputitem.js";
|
|
9
|
+
import { CompactionItem$outboundSchema, } from "./compactionitem.js";
|
|
10
|
+
import { CustomToolCallItem$outboundSchema, } from "./customtoolcallitem.js";
|
|
11
|
+
import { CustomToolCallOutputItem$outboundSchema, } from "./customtoolcalloutputitem.js";
|
|
7
12
|
import { EasyInputMessage$outboundSchema, } from "./easyinputmessage.js";
|
|
8
13
|
import { FunctionCallItem$outboundSchema, } from "./functioncallitem.js";
|
|
9
14
|
import { FunctionCallOutputItem$outboundSchema, } from "./functioncalloutputitem.js";
|
|
10
15
|
import { InputMessageItem$outboundSchema, } from "./inputmessageitem.js";
|
|
16
|
+
import { ItemReferenceItem$outboundSchema, } from "./itemreferenceitem.js";
|
|
17
|
+
import { LocalShellCallItem$outboundSchema, } from "./localshellcallitem.js";
|
|
18
|
+
import { LocalShellCallOutputItem$outboundSchema, } from "./localshellcalloutputitem.js";
|
|
19
|
+
import { McpApprovalRequestItem$outboundSchema, } from "./mcpapprovalrequestitem.js";
|
|
20
|
+
import { McpApprovalResponseItem$outboundSchema, } from "./mcpapprovalresponseitem.js";
|
|
21
|
+
import { McpCallItem$outboundSchema, } from "./mcpcallitem.js";
|
|
22
|
+
import { McpListToolsItem$outboundSchema, } from "./mcplisttoolsitem.js";
|
|
11
23
|
import { OpenAIResponsesRefusalContent$outboundSchema, } from "./openairesponsesrefusalcontent.js";
|
|
24
|
+
import { OutputAdvisorServerToolItem$outboundSchema, } from "./outputadvisorservertoolitem.js";
|
|
12
25
|
import { OutputApplyPatchServerToolItem$outboundSchema, } from "./outputapplypatchservertoolitem.js";
|
|
13
26
|
import { OutputBashServerToolItem$outboundSchema, } from "./outputbashservertoolitem.js";
|
|
14
27
|
import { OutputBrowserUseServerToolItem$outboundSchema, } from "./outputbrowseruseservertoolitem.js";
|
|
15
28
|
import { OutputCodeInterpreterCallItem$outboundSchema, } from "./outputcodeinterpretercallitem.js";
|
|
16
29
|
import { OutputCodeInterpreterServerToolItem$outboundSchema, } from "./outputcodeinterpreterservertoolitem.js";
|
|
17
30
|
import { OutputComputerCallItem$outboundSchema, } from "./outputcomputercallitem.js";
|
|
31
|
+
import { OutputCustomToolCallItem$outboundSchema, } from "./outputcustomtoolcallitem.js";
|
|
18
32
|
import { OutputDatetimeItem$outboundSchema, } from "./outputdatetimeitem.js";
|
|
19
33
|
import { OutputFileSearchCallItem$outboundSchema, } from "./outputfilesearchcallitem.js";
|
|
20
34
|
import { OutputFileSearchServerToolItem$outboundSchema, } from "./outputfilesearchservertoolitem.js";
|
|
21
35
|
import { OutputFunctionCallItem$outboundSchema, } from "./outputfunctioncallitem.js";
|
|
36
|
+
import { OutputFusionServerToolItem$outboundSchema, } from "./outputfusionservertoolitem.js";
|
|
22
37
|
import { OutputImageGenerationCallItem$outboundSchema, } from "./outputimagegenerationcallitem.js";
|
|
23
38
|
import { OutputImageGenerationServerToolItem$outboundSchema, } from "./outputimagegenerationservertoolitem.js";
|
|
24
39
|
import { OutputMcpServerToolItem$outboundSchema, } from "./outputmcpservertoolitem.js";
|
|
25
40
|
import { OutputMemoryServerToolItem$outboundSchema, } from "./outputmemoryservertoolitem.js";
|
|
26
41
|
import { OutputSearchModelsServerToolItem$outboundSchema, } from "./outputsearchmodelsservertoolitem.js";
|
|
42
|
+
import { OutputSubagentServerToolItem$outboundSchema, } from "./outputsubagentservertoolitem.js";
|
|
27
43
|
import { OutputTextEditorServerToolItem$outboundSchema, } from "./outputtexteditorservertoolitem.js";
|
|
28
44
|
import { OutputToolSearchServerToolItem$outboundSchema, } from "./outputtoolsearchservertoolitem.js";
|
|
29
45
|
import { OutputWebFetchServerToolItem$outboundSchema, } from "./outputwebfetchservertoolitem.js";
|
|
@@ -34,6 +50,8 @@ import { ReasoningItem$outboundSchema, } from "./reasoningitem.js";
|
|
|
34
50
|
import { ReasoningSummaryText$outboundSchema, } from "./reasoningsummarytext.js";
|
|
35
51
|
import { ReasoningTextContent$outboundSchema, } from "./reasoningtextcontent.js";
|
|
36
52
|
import { ResponseOutputText$outboundSchema, } from "./responseoutputtext.js";
|
|
53
|
+
import { ShellCallItem$outboundSchema, } from "./shellcallitem.js";
|
|
54
|
+
import { ShellCallOutputItem$outboundSchema, } from "./shellcalloutputitem.js";
|
|
37
55
|
export const InputsStatusInProgress2 = {
|
|
38
56
|
InProgress: "in_progress",
|
|
39
57
|
};
|
|
@@ -189,16 +207,29 @@ export function inputsMessageToJSON(inputsMessage) {
|
|
|
189
207
|
export const InputsUnion1$outboundSchema = z.union([
|
|
190
208
|
OutputCodeInterpreterCallItem$outboundSchema,
|
|
191
209
|
FunctionCallItem$outboundSchema,
|
|
210
|
+
LocalShellCallItem$outboundSchema,
|
|
211
|
+
McpApprovalRequestItem$outboundSchema,
|
|
212
|
+
McpCallItem$outboundSchema,
|
|
213
|
+
ApplyPatchCallItem$outboundSchema,
|
|
192
214
|
z.lazy(() => InputsMessage$outboundSchema),
|
|
193
215
|
OutputFunctionCallItem$outboundSchema,
|
|
194
|
-
|
|
216
|
+
OutputCustomToolCallItem$outboundSchema,
|
|
195
217
|
OutputFileSearchCallItem$outboundSchema,
|
|
196
218
|
OutputComputerCallItem$outboundSchema,
|
|
197
219
|
OutputDatetimeItem$outboundSchema,
|
|
220
|
+
McpListToolsItem$outboundSchema,
|
|
221
|
+
CustomToolCallItem$outboundSchema,
|
|
198
222
|
ReasoningItem$outboundSchema,
|
|
199
223
|
FunctionCallOutputItem$outboundSchema,
|
|
224
|
+
ApplyPatchCallOutputItem$outboundSchema,
|
|
200
225
|
z.lazy(() => InputsReasoning$outboundSchema),
|
|
226
|
+
OutputWebSearchCallItem$outboundSchema,
|
|
201
227
|
OutputImageGenerationCallItem$outboundSchema,
|
|
228
|
+
LocalShellCallOutputItem$outboundSchema,
|
|
229
|
+
ShellCallItem$outboundSchema,
|
|
230
|
+
ShellCallOutputItem$outboundSchema,
|
|
231
|
+
McpApprovalResponseItem$outboundSchema,
|
|
232
|
+
CustomToolCallOutputItem$outboundSchema,
|
|
202
233
|
OutputWebSearchServerToolItem$outboundSchema,
|
|
203
234
|
OutputCodeInterpreterServerToolItem$outboundSchema,
|
|
204
235
|
OutputFileSearchServerToolItem$outboundSchema,
|
|
@@ -212,6 +243,11 @@ export const InputsUnion1$outboundSchema = z.union([
|
|
|
212
243
|
OutputMemoryServerToolItem$outboundSchema,
|
|
213
244
|
OutputMcpServerToolItem$outboundSchema,
|
|
214
245
|
OutputSearchModelsServerToolItem$outboundSchema,
|
|
246
|
+
OutputFusionServerToolItem$outboundSchema,
|
|
247
|
+
OutputAdvisorServerToolItem$outboundSchema,
|
|
248
|
+
OutputSubagentServerToolItem$outboundSchema,
|
|
249
|
+
CompactionItem$outboundSchema,
|
|
250
|
+
ItemReferenceItem$outboundSchema,
|
|
215
251
|
EasyInputMessage$outboundSchema,
|
|
216
252
|
InputMessageItem$outboundSchema,
|
|
217
253
|
]);
|
|
@@ -224,16 +260,29 @@ export const InputsUnion$outboundSchema = z.union([
|
|
|
224
260
|
z.array(z.union([
|
|
225
261
|
OutputCodeInterpreterCallItem$outboundSchema,
|
|
226
262
|
FunctionCallItem$outboundSchema,
|
|
263
|
+
LocalShellCallItem$outboundSchema,
|
|
264
|
+
McpApprovalRequestItem$outboundSchema,
|
|
265
|
+
McpCallItem$outboundSchema,
|
|
266
|
+
ApplyPatchCallItem$outboundSchema,
|
|
227
267
|
z.lazy(() => InputsMessage$outboundSchema),
|
|
228
268
|
OutputFunctionCallItem$outboundSchema,
|
|
229
|
-
|
|
269
|
+
OutputCustomToolCallItem$outboundSchema,
|
|
230
270
|
OutputFileSearchCallItem$outboundSchema,
|
|
231
271
|
OutputComputerCallItem$outboundSchema,
|
|
232
272
|
OutputDatetimeItem$outboundSchema,
|
|
273
|
+
McpListToolsItem$outboundSchema,
|
|
274
|
+
CustomToolCallItem$outboundSchema,
|
|
233
275
|
ReasoningItem$outboundSchema,
|
|
234
276
|
FunctionCallOutputItem$outboundSchema,
|
|
277
|
+
ApplyPatchCallOutputItem$outboundSchema,
|
|
235
278
|
z.lazy(() => InputsReasoning$outboundSchema),
|
|
279
|
+
OutputWebSearchCallItem$outboundSchema,
|
|
236
280
|
OutputImageGenerationCallItem$outboundSchema,
|
|
281
|
+
LocalShellCallOutputItem$outboundSchema,
|
|
282
|
+
ShellCallItem$outboundSchema,
|
|
283
|
+
ShellCallOutputItem$outboundSchema,
|
|
284
|
+
McpApprovalResponseItem$outboundSchema,
|
|
285
|
+
CustomToolCallOutputItem$outboundSchema,
|
|
237
286
|
OutputWebSearchServerToolItem$outboundSchema,
|
|
238
287
|
OutputCodeInterpreterServerToolItem$outboundSchema,
|
|
239
288
|
OutputFileSearchServerToolItem$outboundSchema,
|
|
@@ -247,6 +296,11 @@ export const InputsUnion$outboundSchema = z.union([
|
|
|
247
296
|
OutputMemoryServerToolItem$outboundSchema,
|
|
248
297
|
OutputMcpServerToolItem$outboundSchema,
|
|
249
298
|
OutputSearchModelsServerToolItem$outboundSchema,
|
|
299
|
+
OutputFusionServerToolItem$outboundSchema,
|
|
300
|
+
OutputAdvisorServerToolItem$outboundSchema,
|
|
301
|
+
OutputSubagentServerToolItem$outboundSchema,
|
|
302
|
+
CompactionItem$outboundSchema,
|
|
303
|
+
ItemReferenceItem$outboundSchema,
|
|
250
304
|
EasyInputMessage$outboundSchema,
|
|
251
305
|
InputMessageItem$outboundSchema,
|
|
252
306
|
])),
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
3
|
+
export declare const ItemReferenceItemType: {
|
|
4
|
+
readonly ItemReference: "item_reference";
|
|
5
|
+
};
|
|
6
|
+
export type ItemReferenceItemType = ClosedEnum<typeof ItemReferenceItemType>;
|
|
7
|
+
/**
|
|
8
|
+
* A reference to a previous response item by ID
|
|
9
|
+
*/
|
|
10
|
+
export type ItemReferenceItem = {
|
|
11
|
+
id: string;
|
|
12
|
+
type: ItemReferenceItemType;
|
|
13
|
+
};
|
|
14
|
+
/** @internal */
|
|
15
|
+
export declare const ItemReferenceItemType$outboundSchema: z.ZodEnum<typeof ItemReferenceItemType>;
|
|
16
|
+
/** @internal */
|
|
17
|
+
export type ItemReferenceItem$Outbound = {
|
|
18
|
+
id: string;
|
|
19
|
+
type: string;
|
|
20
|
+
};
|
|
21
|
+
/** @internal */
|
|
22
|
+
export declare const ItemReferenceItem$outboundSchema: z.ZodType<ItemReferenceItem$Outbound, ItemReferenceItem>;
|
|
23
|
+
export declare function itemReferenceItemToJSON(itemReferenceItem: ItemReferenceItem): string;
|
|
24
|
+
//# sourceMappingURL=itemreferenceitem.d.ts.map
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: ccbe6ae60edc
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
export const ItemReferenceItemType = {
|
|
7
|
+
ItemReference: "item_reference",
|
|
8
|
+
};
|
|
9
|
+
/** @internal */
|
|
10
|
+
export const ItemReferenceItemType$outboundSchema = z.enum(ItemReferenceItemType);
|
|
11
|
+
/** @internal */
|
|
12
|
+
export const ItemReferenceItem$outboundSchema = z.object({
|
|
13
|
+
id: z.string(),
|
|
14
|
+
type: ItemReferenceItemType$outboundSchema,
|
|
15
|
+
});
|
|
16
|
+
export function itemReferenceItemToJSON(itemReferenceItem) {
|
|
17
|
+
return JSON.stringify(ItemReferenceItem$outboundSchema.parse(itemReferenceItem));
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=itemreferenceitem.js.map
|
|
@@ -10,12 +10,12 @@ import { WebSearchUserLocation, WebSearchUserLocation$Outbound } from "./websear
|
|
|
10
10
|
*/
|
|
11
11
|
export type LegacyWebSearchServerTool = {
|
|
12
12
|
/**
|
|
13
|
-
* Which search engine to use. "auto" (default) uses native if the provider supports it, otherwise Exa. "native" forces the provider's built-in search. "exa" forces the Exa search API. "firecrawl" uses Firecrawl (requires BYOK). "parallel" uses the Parallel search API.
|
|
13
|
+
* Which search engine to use. "auto" (default) uses native if the provider supports it, otherwise Exa. "native" forces the provider's built-in search. "exa" forces the Exa search API. "firecrawl" uses Firecrawl (requires BYOK). "parallel" uses the Parallel search API. "perplexity" uses the Perplexity Search API (raw ranked results).
|
|
14
14
|
*/
|
|
15
15
|
engine?: WebSearchEngineEnum | undefined;
|
|
16
16
|
filters?: WebSearchDomainFilter | null | undefined;
|
|
17
17
|
/**
|
|
18
|
-
* Maximum number of search results to return per search call. Defaults to 5. Applies to Exa, Firecrawl, and
|
|
18
|
+
* Maximum number of search results to return per search call. Defaults to 5. Applies to Exa, Firecrawl, Parallel, and Perplexity engines; ignored with native provider search.
|
|
19
19
|
*/
|
|
20
20
|
maxResults?: number | undefined;
|
|
21
21
|
/**
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
3
|
+
import { BYOKKey } from "./byokkey.js";
|
|
4
|
+
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
5
|
+
export type ListBYOKKeysResponse = {
|
|
6
|
+
/**
|
|
7
|
+
* List of BYOK credentials.
|
|
8
|
+
*/
|
|
9
|
+
data: Array<BYOKKey>;
|
|
10
|
+
/**
|
|
11
|
+
* Total number of BYOK credentials matching the filters.
|
|
12
|
+
*/
|
|
13
|
+
totalCount: number;
|
|
14
|
+
};
|
|
15
|
+
/** @internal */
|
|
16
|
+
export declare const ListBYOKKeysResponse$inboundSchema: z.ZodType<ListBYOKKeysResponse, unknown>;
|
|
17
|
+
export declare function listBYOKKeysResponseFromJSON(jsonString: string): SafeParseResult<ListBYOKKeysResponse, SDKValidationError>;
|
|
18
|
+
//# sourceMappingURL=listbyokkeysresponse.d.ts.map
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 58b401d42307
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
import { remap as remap$ } from "../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../lib/schemas.js";
|
|
8
|
+
import { BYOKKey$inboundSchema } from "./byokkey.js";
|
|
9
|
+
/** @internal */
|
|
10
|
+
export const ListBYOKKeysResponse$inboundSchema = z.object({
|
|
11
|
+
data: z.array(BYOKKey$inboundSchema),
|
|
12
|
+
total_count: z.int(),
|
|
13
|
+
}).transform((v) => {
|
|
14
|
+
return remap$(v, {
|
|
15
|
+
"total_count": "totalCount",
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
export function listBYOKKeysResponseFromJSON(jsonString) {
|
|
19
|
+
return safeParse(jsonString, (x) => ListBYOKKeysResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListBYOKKeysResponse' from JSON`);
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=listbyokkeysresponse.js.map
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
4
|
+
import { ObservabilityDestination } from "./observabilitydestination.js";
|
|
5
|
+
export type ListObservabilityDestinationsResponse = {
|
|
6
|
+
/**
|
|
7
|
+
* List of observability destinations.
|
|
8
|
+
*/
|
|
9
|
+
data: Array<ObservabilityDestination>;
|
|
10
|
+
/**
|
|
11
|
+
* Total number of destinations matching the filters.
|
|
12
|
+
*/
|
|
13
|
+
totalCount: number;
|
|
14
|
+
};
|
|
15
|
+
/** @internal */
|
|
16
|
+
export declare const ListObservabilityDestinationsResponse$inboundSchema: z.ZodType<ListObservabilityDestinationsResponse, unknown>;
|
|
17
|
+
export declare function listObservabilityDestinationsResponseFromJSON(jsonString: string): SafeParseResult<ListObservabilityDestinationsResponse, SDKValidationError>;
|
|
18
|
+
//# sourceMappingURL=listobservabilitydestinationsresponse.d.ts.map
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 5ce39dbed1ba
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
import { remap as remap$ } from "../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../lib/schemas.js";
|
|
8
|
+
import { ObservabilityDestination$inboundSchema, } from "./observabilitydestination.js";
|
|
9
|
+
/** @internal */
|
|
10
|
+
export const ListObservabilityDestinationsResponse$inboundSchema = z.object({
|
|
11
|
+
data: z.array(ObservabilityDestination$inboundSchema),
|
|
12
|
+
total_count: z.int(),
|
|
13
|
+
}).transform((v) => {
|
|
14
|
+
return remap$(v, {
|
|
15
|
+
"total_count": "totalCount",
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
export function listObservabilityDestinationsResponseFromJSON(jsonString) {
|
|
19
|
+
return safeParse(jsonString, (x) => ListObservabilityDestinationsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListObservabilityDestinationsResponse' from JSON`);
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=listobservabilitydestinationsresponse.js.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
4
|
+
import { Preset } from "./preset.js";
|
|
5
|
+
/**
|
|
6
|
+
* A paginated list of presets.
|
|
7
|
+
*/
|
|
8
|
+
export type ListPresetsResponse = {
|
|
9
|
+
data: Array<Preset>;
|
|
10
|
+
totalCount: number;
|
|
11
|
+
};
|
|
12
|
+
/** @internal */
|
|
13
|
+
export declare const ListPresetsResponse$inboundSchema: z.ZodType<ListPresetsResponse, unknown>;
|
|
14
|
+
export declare function listPresetsResponseFromJSON(jsonString: string): SafeParseResult<ListPresetsResponse, SDKValidationError>;
|
|
15
|
+
//# sourceMappingURL=listpresetsresponse.d.ts.map
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: fa1eada5cc46
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
import { remap as remap$ } from "../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../lib/schemas.js";
|
|
8
|
+
import { Preset$inboundSchema } from "./preset.js";
|
|
9
|
+
/** @internal */
|
|
10
|
+
export const ListPresetsResponse$inboundSchema = z.object({
|
|
11
|
+
data: z.array(Preset$inboundSchema),
|
|
12
|
+
total_count: z.int(),
|
|
13
|
+
}).transform((v) => {
|
|
14
|
+
return remap$(v, {
|
|
15
|
+
"total_count": "totalCount",
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
export function listPresetsResponseFromJSON(jsonString) {
|
|
19
|
+
return safeParse(jsonString, (x) => ListPresetsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListPresetsResponse' from JSON`);
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=listpresetsresponse.js.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
4
|
+
import { PresetDesignatedVersion } from "./presetdesignatedversion.js";
|
|
5
|
+
/**
|
|
6
|
+
* A paginated list of preset versions.
|
|
7
|
+
*/
|
|
8
|
+
export type ListPresetVersionsResponse = {
|
|
9
|
+
data: Array<PresetDesignatedVersion | null>;
|
|
10
|
+
totalCount: number;
|
|
11
|
+
};
|
|
12
|
+
/** @internal */
|
|
13
|
+
export declare const ListPresetVersionsResponse$inboundSchema: z.ZodType<ListPresetVersionsResponse, unknown>;
|
|
14
|
+
export declare function listPresetVersionsResponseFromJSON(jsonString: string): SafeParseResult<ListPresetVersionsResponse, SDKValidationError>;
|
|
15
|
+
//# sourceMappingURL=listpresetversionsresponse.d.ts.map
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 071060ed138f
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
import { remap as remap$ } from "../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../lib/schemas.js";
|
|
8
|
+
import { PresetDesignatedVersion$inboundSchema, } from "./presetdesignatedversion.js";
|
|
9
|
+
/** @internal */
|
|
10
|
+
export const ListPresetVersionsResponse$inboundSchema = z.object({
|
|
11
|
+
data: z.array(z.nullable(PresetDesignatedVersion$inboundSchema)),
|
|
12
|
+
total_count: z.int(),
|
|
13
|
+
}).transform((v) => {
|
|
14
|
+
return remap$(v, {
|
|
15
|
+
"total_count": "totalCount",
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
export function listPresetVersionsResponseFromJSON(jsonString) {
|
|
19
|
+
return safeParse(jsonString, (x) => ListPresetVersionsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListPresetVersionsResponse' from JSON`);
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=listpresetversionsresponse.js.map
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
3
|
+
import { ToolCallStatus } from "./toolcallstatus.js";
|
|
4
|
+
export declare const TypeExec: {
|
|
5
|
+
readonly Exec: "exec";
|
|
6
|
+
};
|
|
7
|
+
export type TypeExec = ClosedEnum<typeof TypeExec>;
|
|
8
|
+
export type LocalShellCallItemAction = {
|
|
9
|
+
command: Array<string>;
|
|
10
|
+
env: {
|
|
11
|
+
[k: string]: string;
|
|
12
|
+
};
|
|
13
|
+
timeoutMs?: number | null | undefined;
|
|
14
|
+
type: TypeExec;
|
|
15
|
+
user?: string | null | undefined;
|
|
16
|
+
workingDirectory?: string | null | undefined;
|
|
17
|
+
};
|
|
18
|
+
export declare const TypeLocalShellCall: {
|
|
19
|
+
readonly LocalShellCall: "local_shell_call";
|
|
20
|
+
};
|
|
21
|
+
export type TypeLocalShellCall = ClosedEnum<typeof TypeLocalShellCall>;
|
|
22
|
+
/**
|
|
23
|
+
* A local shell command execution call
|
|
24
|
+
*/
|
|
25
|
+
export type LocalShellCallItem = {
|
|
26
|
+
action: LocalShellCallItemAction;
|
|
27
|
+
callId: string;
|
|
28
|
+
id: string;
|
|
29
|
+
status: ToolCallStatus;
|
|
30
|
+
type: TypeLocalShellCall;
|
|
31
|
+
};
|
|
32
|
+
/** @internal */
|
|
33
|
+
export declare const TypeExec$outboundSchema: z.ZodEnum<typeof TypeExec>;
|
|
34
|
+
/** @internal */
|
|
35
|
+
export type LocalShellCallItemAction$Outbound = {
|
|
36
|
+
command: Array<string>;
|
|
37
|
+
env: {
|
|
38
|
+
[k: string]: string;
|
|
39
|
+
};
|
|
40
|
+
timeout_ms?: number | null | undefined;
|
|
41
|
+
type: string;
|
|
42
|
+
user?: string | null | undefined;
|
|
43
|
+
working_directory?: string | null | undefined;
|
|
44
|
+
};
|
|
45
|
+
/** @internal */
|
|
46
|
+
export declare const LocalShellCallItemAction$outboundSchema: z.ZodType<LocalShellCallItemAction$Outbound, LocalShellCallItemAction>;
|
|
47
|
+
export declare function localShellCallItemActionToJSON(localShellCallItemAction: LocalShellCallItemAction): string;
|
|
48
|
+
/** @internal */
|
|
49
|
+
export declare const TypeLocalShellCall$outboundSchema: z.ZodEnum<typeof TypeLocalShellCall>;
|
|
50
|
+
/** @internal */
|
|
51
|
+
export type LocalShellCallItem$Outbound = {
|
|
52
|
+
action: LocalShellCallItemAction$Outbound;
|
|
53
|
+
call_id: string;
|
|
54
|
+
id: string;
|
|
55
|
+
status: string;
|
|
56
|
+
type: string;
|
|
57
|
+
};
|
|
58
|
+
/** @internal */
|
|
59
|
+
export declare const LocalShellCallItem$outboundSchema: z.ZodType<LocalShellCallItem$Outbound, LocalShellCallItem>;
|
|
60
|
+
export declare function localShellCallItemToJSON(localShellCallItem: LocalShellCallItem): string;
|
|
61
|
+
//# sourceMappingURL=localshellcallitem.d.ts.map
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 01cd50ccbc7a
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
import { remap as remap$ } from "../lib/primitives.js";
|
|
7
|
+
import { ToolCallStatus$outboundSchema, } from "./toolcallstatus.js";
|
|
8
|
+
export const TypeExec = {
|
|
9
|
+
Exec: "exec",
|
|
10
|
+
};
|
|
11
|
+
export const TypeLocalShellCall = {
|
|
12
|
+
LocalShellCall: "local_shell_call",
|
|
13
|
+
};
|
|
14
|
+
/** @internal */
|
|
15
|
+
export const TypeExec$outboundSchema = z.enum(TypeExec);
|
|
16
|
+
/** @internal */
|
|
17
|
+
export const LocalShellCallItemAction$outboundSchema = z.object({
|
|
18
|
+
command: z.array(z.string()),
|
|
19
|
+
env: z.record(z.string(), z.string()),
|
|
20
|
+
timeoutMs: z.nullable(z.int()).optional(),
|
|
21
|
+
type: TypeExec$outboundSchema,
|
|
22
|
+
user: z.nullable(z.string()).optional(),
|
|
23
|
+
workingDirectory: z.nullable(z.string()).optional(),
|
|
24
|
+
}).transform((v) => {
|
|
25
|
+
return remap$(v, {
|
|
26
|
+
timeoutMs: "timeout_ms",
|
|
27
|
+
workingDirectory: "working_directory",
|
|
28
|
+
});
|
|
29
|
+
});
|
|
30
|
+
export function localShellCallItemActionToJSON(localShellCallItemAction) {
|
|
31
|
+
return JSON.stringify(LocalShellCallItemAction$outboundSchema.parse(localShellCallItemAction));
|
|
32
|
+
}
|
|
33
|
+
/** @internal */
|
|
34
|
+
export const TypeLocalShellCall$outboundSchema = z.enum(TypeLocalShellCall);
|
|
35
|
+
/** @internal */
|
|
36
|
+
export const LocalShellCallItem$outboundSchema = z.object({
|
|
37
|
+
action: z.lazy(() => LocalShellCallItemAction$outboundSchema),
|
|
38
|
+
callId: z.string(),
|
|
39
|
+
id: z.string(),
|
|
40
|
+
status: ToolCallStatus$outboundSchema,
|
|
41
|
+
type: TypeLocalShellCall$outboundSchema,
|
|
42
|
+
}).transform((v) => {
|
|
43
|
+
return remap$(v, {
|
|
44
|
+
callId: "call_id",
|
|
45
|
+
});
|
|
46
|
+
});
|
|
47
|
+
export function localShellCallItemToJSON(localShellCallItem) {
|
|
48
|
+
return JSON.stringify(LocalShellCallItem$outboundSchema.parse(localShellCallItem));
|
|
49
|
+
}
|
|
50
|
+
//# sourceMappingURL=localshellcallitem.js.map
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
|
+
import { ClosedEnum, OpenEnum } from "../types/enums.js";
|
|
3
|
+
export declare const LocalShellCallOutputItemStatus: {
|
|
4
|
+
readonly InProgress: "in_progress";
|
|
5
|
+
readonly Completed: "completed";
|
|
6
|
+
readonly Incomplete: "incomplete";
|
|
7
|
+
};
|
|
8
|
+
export type LocalShellCallOutputItemStatus = OpenEnum<typeof LocalShellCallOutputItemStatus>;
|
|
9
|
+
export declare const LocalShellCallOutputItemType: {
|
|
10
|
+
readonly LocalShellCallOutput: "local_shell_call_output";
|
|
11
|
+
};
|
|
12
|
+
export type LocalShellCallOutputItemType = ClosedEnum<typeof LocalShellCallOutputItemType>;
|
|
13
|
+
/**
|
|
14
|
+
* Output from a local shell command execution
|
|
15
|
+
*/
|
|
16
|
+
export type LocalShellCallOutputItem = {
|
|
17
|
+
id: string;
|
|
18
|
+
output: string;
|
|
19
|
+
status?: LocalShellCallOutputItemStatus | null | undefined;
|
|
20
|
+
type: LocalShellCallOutputItemType;
|
|
21
|
+
};
|
|
22
|
+
/** @internal */
|
|
23
|
+
export declare const LocalShellCallOutputItemStatus$outboundSchema: z.ZodType<string, LocalShellCallOutputItemStatus>;
|
|
24
|
+
/** @internal */
|
|
25
|
+
export declare const LocalShellCallOutputItemType$outboundSchema: z.ZodEnum<typeof LocalShellCallOutputItemType>;
|
|
26
|
+
/** @internal */
|
|
27
|
+
export type LocalShellCallOutputItem$Outbound = {
|
|
28
|
+
id: string;
|
|
29
|
+
output: string;
|
|
30
|
+
status?: string | null | undefined;
|
|
31
|
+
type: string;
|
|
32
|
+
};
|
|
33
|
+
/** @internal */
|
|
34
|
+
export declare const LocalShellCallOutputItem$outboundSchema: z.ZodType<LocalShellCallOutputItem$Outbound, LocalShellCallOutputItem>;
|
|
35
|
+
export declare function localShellCallOutputItemToJSON(localShellCallOutputItem: LocalShellCallOutputItem): string;
|
|
36
|
+
//# sourceMappingURL=localshellcalloutputitem.d.ts.map
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 07d6199bf63f
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
import * as openEnums from "../types/enums.js";
|
|
7
|
+
export const LocalShellCallOutputItemStatus = {
|
|
8
|
+
InProgress: "in_progress",
|
|
9
|
+
Completed: "completed",
|
|
10
|
+
Incomplete: "incomplete",
|
|
11
|
+
};
|
|
12
|
+
export const LocalShellCallOutputItemType = {
|
|
13
|
+
LocalShellCallOutput: "local_shell_call_output",
|
|
14
|
+
};
|
|
15
|
+
/** @internal */
|
|
16
|
+
export const LocalShellCallOutputItemStatus$outboundSchema = openEnums.outboundSchema(LocalShellCallOutputItemStatus);
|
|
17
|
+
/** @internal */
|
|
18
|
+
export const LocalShellCallOutputItemType$outboundSchema = z.enum(LocalShellCallOutputItemType);
|
|
19
|
+
/** @internal */
|
|
20
|
+
export const LocalShellCallOutputItem$outboundSchema = z.object({
|
|
21
|
+
id: z.string(),
|
|
22
|
+
output: z.string(),
|
|
23
|
+
status: z.nullable(LocalShellCallOutputItemStatus$outboundSchema).optional(),
|
|
24
|
+
type: LocalShellCallOutputItemType$outboundSchema,
|
|
25
|
+
});
|
|
26
|
+
export function localShellCallOutputItemToJSON(localShellCallOutputItem) {
|
|
27
|
+
return JSON.stringify(LocalShellCallOutputItem$outboundSchema.parse(localShellCallOutputItem));
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=localshellcalloutputitem.js.map
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
3
|
+
export declare const McpApprovalRequestItemType: {
|
|
4
|
+
readonly McpApprovalRequest: "mcp_approval_request";
|
|
5
|
+
};
|
|
6
|
+
export type McpApprovalRequestItemType = ClosedEnum<typeof McpApprovalRequestItemType>;
|
|
7
|
+
/**
|
|
8
|
+
* Request for approval to execute an MCP tool
|
|
9
|
+
*/
|
|
10
|
+
export type McpApprovalRequestItem = {
|
|
11
|
+
arguments: string;
|
|
12
|
+
id: string;
|
|
13
|
+
name: string;
|
|
14
|
+
serverLabel: string;
|
|
15
|
+
type: McpApprovalRequestItemType;
|
|
16
|
+
};
|
|
17
|
+
/** @internal */
|
|
18
|
+
export declare const McpApprovalRequestItemType$outboundSchema: z.ZodEnum<typeof McpApprovalRequestItemType>;
|
|
19
|
+
/** @internal */
|
|
20
|
+
export type McpApprovalRequestItem$Outbound = {
|
|
21
|
+
arguments: string;
|
|
22
|
+
id: string;
|
|
23
|
+
name: string;
|
|
24
|
+
server_label: string;
|
|
25
|
+
type: string;
|
|
26
|
+
};
|
|
27
|
+
/** @internal */
|
|
28
|
+
export declare const McpApprovalRequestItem$outboundSchema: z.ZodType<McpApprovalRequestItem$Outbound, McpApprovalRequestItem>;
|
|
29
|
+
export declare function mcpApprovalRequestItemToJSON(mcpApprovalRequestItem: McpApprovalRequestItem): string;
|
|
30
|
+
//# sourceMappingURL=mcpapprovalrequestitem.d.ts.map
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 03d997756e6c
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
import { remap as remap$ } from "../lib/primitives.js";
|
|
7
|
+
export const McpApprovalRequestItemType = {
|
|
8
|
+
McpApprovalRequest: "mcp_approval_request",
|
|
9
|
+
};
|
|
10
|
+
/** @internal */
|
|
11
|
+
export const McpApprovalRequestItemType$outboundSchema = z.enum(McpApprovalRequestItemType);
|
|
12
|
+
/** @internal */
|
|
13
|
+
export const McpApprovalRequestItem$outboundSchema = z.object({
|
|
14
|
+
arguments: z.string(),
|
|
15
|
+
id: z.string(),
|
|
16
|
+
name: z.string(),
|
|
17
|
+
serverLabel: z.string(),
|
|
18
|
+
type: McpApprovalRequestItemType$outboundSchema,
|
|
19
|
+
}).transform((v) => {
|
|
20
|
+
return remap$(v, {
|
|
21
|
+
serverLabel: "server_label",
|
|
22
|
+
});
|
|
23
|
+
});
|
|
24
|
+
export function mcpApprovalRequestItemToJSON(mcpApprovalRequestItem) {
|
|
25
|
+
return JSON.stringify(McpApprovalRequestItem$outboundSchema.parse(mcpApprovalRequestItem));
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=mcpapprovalrequestitem.js.map
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
3
|
+
export declare const McpApprovalResponseItemType: {
|
|
4
|
+
readonly McpApprovalResponse: "mcp_approval_response";
|
|
5
|
+
};
|
|
6
|
+
export type McpApprovalResponseItemType = ClosedEnum<typeof McpApprovalResponseItemType>;
|
|
7
|
+
/**
|
|
8
|
+
* User response to an MCP tool approval request
|
|
9
|
+
*/
|
|
10
|
+
export type McpApprovalResponseItem = {
|
|
11
|
+
approvalRequestId: string;
|
|
12
|
+
approve: boolean;
|
|
13
|
+
id?: string | null | undefined;
|
|
14
|
+
reason?: string | null | undefined;
|
|
15
|
+
type: McpApprovalResponseItemType;
|
|
16
|
+
};
|
|
17
|
+
/** @internal */
|
|
18
|
+
export declare const McpApprovalResponseItemType$outboundSchema: z.ZodEnum<typeof McpApprovalResponseItemType>;
|
|
19
|
+
/** @internal */
|
|
20
|
+
export type McpApprovalResponseItem$Outbound = {
|
|
21
|
+
approval_request_id: string;
|
|
22
|
+
approve: boolean;
|
|
23
|
+
id?: string | null | undefined;
|
|
24
|
+
reason?: string | null | undefined;
|
|
25
|
+
type: string;
|
|
26
|
+
};
|
|
27
|
+
/** @internal */
|
|
28
|
+
export declare const McpApprovalResponseItem$outboundSchema: z.ZodType<McpApprovalResponseItem$Outbound, McpApprovalResponseItem>;
|
|
29
|
+
export declare function mcpApprovalResponseItemToJSON(mcpApprovalResponseItem: McpApprovalResponseItem): string;
|
|
30
|
+
//# sourceMappingURL=mcpapprovalresponseitem.d.ts.map
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 0d43249f80cc
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
import { remap as remap$ } from "../lib/primitives.js";
|
|
7
|
+
export const McpApprovalResponseItemType = {
|
|
8
|
+
McpApprovalResponse: "mcp_approval_response",
|
|
9
|
+
};
|
|
10
|
+
/** @internal */
|
|
11
|
+
export const McpApprovalResponseItemType$outboundSchema = z.enum(McpApprovalResponseItemType);
|
|
12
|
+
/** @internal */
|
|
13
|
+
export const McpApprovalResponseItem$outboundSchema = z.object({
|
|
14
|
+
approvalRequestId: z.string(),
|
|
15
|
+
approve: z.boolean(),
|
|
16
|
+
id: z.nullable(z.string()).optional(),
|
|
17
|
+
reason: z.nullable(z.string()).optional(),
|
|
18
|
+
type: McpApprovalResponseItemType$outboundSchema,
|
|
19
|
+
}).transform((v) => {
|
|
20
|
+
return remap$(v, {
|
|
21
|
+
approvalRequestId: "approval_request_id",
|
|
22
|
+
});
|
|
23
|
+
});
|
|
24
|
+
export function mcpApprovalResponseItemToJSON(mcpApprovalResponseItem) {
|
|
25
|
+
return JSON.stringify(McpApprovalResponseItem$outboundSchema.parse(mcpApprovalResponseItem));
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=mcpapprovalresponseitem.js.map
|