@openrouter/sdk 1.4.24 → 1.5.0
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/esm/funcs/apiKeysList.d.ts +1 -1
- package/esm/funcs/apiKeysList.js +3 -2
- package/esm/funcs/apiKeysUpdate.d.ts +4 -2
- package/esm/funcs/apiKeysUpdate.js +5 -3
- package/esm/funcs/chatSend.d.ts +4 -2
- package/esm/funcs/containersPromoteContainerFile.d.ts +1 -1
- package/esm/funcs/containersPromoteContainerFile.js +2 -2
- package/esm/funcs/embeddingsGenerate.d.ts +1 -1
- package/esm/funcs/embeddingsGenerate.js +2 -2
- package/esm/funcs/{endUsersCreate.d.ts → externalUsersCreate.d.ts} +3 -3
- package/esm/funcs/{endUsersCreate.js → externalUsersCreate.js} +11 -11
- package/esm/funcs/{endUsersDelete.d.ts → externalUsersDelete.d.ts} +3 -3
- package/esm/funcs/{endUsersDelete.js → externalUsersDelete.js} +8 -8
- package/esm/funcs/{endUsersGet.d.ts → externalUsersGet.d.ts} +3 -3
- package/esm/funcs/{endUsersGet.js → externalUsersGet.js} +10 -10
- package/esm/funcs/{endUsersList.d.ts → externalUsersList.d.ts} +3 -3
- package/esm/funcs/{endUsersList.js → externalUsersList.js} +10 -10
- package/esm/funcs/{endUsersUpdate.d.ts → externalUsersUpdate.d.ts} +3 -3
- package/esm/funcs/{endUsersUpdate.js → externalUsersUpdate.js} +11 -11
- package/esm/funcs/filesUpload.d.ts +1 -1
- package/esm/funcs/filesUpload.js +2 -2
- package/esm/funcs/guardrailsListKeyAssignments.d.ts +1 -1
- package/esm/funcs/guardrailsListKeyAssignments.js +2 -2
- package/esm/funcs/guardrailsListMemberAssignments.d.ts +1 -1
- package/esm/funcs/guardrailsListMemberAssignments.js +2 -2
- package/esm/funcs/imagesGenerate.d.ts +4 -2
- package/esm/funcs/internsGetInternConnections.d.ts +21 -0
- package/esm/funcs/internsGetInternConnections.js +105 -0
- package/esm/funcs/internsGetInternDaemon.d.ts +1 -1
- package/esm/funcs/internsGetInternDaemon.js +1 -1
- package/esm/funcs/internsGetInternIcon.d.ts +20 -0
- package/esm/funcs/internsGetInternIcon.js +109 -0
- package/esm/funcs/internsSignInternDaemonAccessRequest.d.ts +22 -0
- package/esm/funcs/internsSignInternDaemonAccessRequest.js +109 -0
- package/esm/funcs/internsSignInternDaemonRequest.d.ts +20 -0
- package/esm/funcs/internsSignInternDaemonRequest.js +109 -0
- package/esm/funcs/modelsListForUser.js +1 -0
- package/esm/funcs/privateEndpointsUpdatePricing.d.ts +1 -1
- package/esm/funcs/privateEndpointsUpdatePricing.js +1 -1
- package/esm/funcs/responsesSend.d.ts +4 -2
- package/esm/funcs/vaultDeleteInternVaultSecret.d.ts +1 -1
- package/esm/funcs/vaultDeleteInternVaultSecret.js +2 -2
- package/esm/funcs/vaultDeleteVaultSecret.d.ts +1 -1
- package/esm/funcs/vaultDeleteVaultSecret.js +2 -2
- package/esm/funcs/vaultListInternConnections.d.ts +20 -0
- package/esm/funcs/vaultListInternConnections.js +104 -0
- package/esm/funcs/vaultStoreVaultSecret.d.ts +1 -1
- package/esm/funcs/vaultStoreVaultSecret.js +2 -2
- package/esm/funcs/videoGenerationGenerate.d.ts +1 -1
- package/esm/funcs/videoGenerationGenerate.js +2 -2
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/lib/encodings.d.ts +10 -9
- package/esm/lib/encodings.js +29 -13
- package/esm/lib/http.d.ts +1 -1
- package/esm/lib/http.js +1 -1
- package/esm/lib/security.d.ts +5 -4
- package/esm/lib/security.js +4 -5
- package/esm/models/additionaltoolsitem.d.ts +16 -1
- package/esm/models/additionaltoolsitem.js +10 -0
- package/esm/models/alignment.d.ts +1 -1
- package/esm/models/alignmentplugin.d.ts +9 -8
- package/esm/models/alignmentplugin.js +3 -2
- package/esm/models/alignmentrule.d.ts +31 -0
- package/esm/models/alignmentrule.js +25 -0
- package/esm/models/alignmentrulerecord.d.ts +7 -3
- package/esm/models/alignmentrulerecord.js +2 -1
- package/esm/models/armorautomode.d.ts +44 -0
- package/esm/models/armorautomode.js +49 -0
- package/esm/models/armorcontext.d.ts +22 -0
- package/esm/models/armorcontext.js +25 -0
- package/esm/models/armorenvironmententry.d.ts +14 -0
- package/esm/models/armorenvironmententry.js +14 -0
- package/esm/models/armorplugin.d.ts +92 -0
- package/esm/models/armorplugin.js +60 -0
- package/esm/models/armorrule.d.ts +30 -0
- package/esm/models/armorrule.js +16 -0
- package/esm/models/armorsafeguardresult.d.ts +69 -0
- package/esm/models/armorsafeguardresult.js +83 -0
- package/esm/models/batchlistitem.d.ts +8 -0
- package/esm/models/batchlistitem.js +3 -0
- package/esm/models/batchobject.d.ts +13 -0
- package/esm/models/batchobject.js +6 -0
- package/esm/models/batchsubmitbody.d.ts +5 -0
- package/esm/models/batchsubmitbody.js +2 -0
- package/esm/models/byokkey.d.ts +3 -3
- package/esm/models/byokkey.js +1 -1
- package/esm/models/byokproviderslug.d.ts +2 -0
- package/esm/models/byokproviderslug.js +2 -0
- package/esm/models/chatcontenttext.d.ts +1 -1
- package/esm/models/chatfunctiontool.d.ts +4 -0
- package/esm/models/chatfunctiontool.js +7 -0
- package/esm/models/chatrequest.d.ts +16 -9
- package/esm/models/chatrequest.js +9 -6
- package/esm/models/chatresult.d.ts +10 -0
- package/esm/models/chatresult.js +5 -0
- package/esm/models/chatstreamchunk.d.ts +7 -0
- package/esm/models/chatstreamchunk.js +5 -0
- package/esm/models/chatwebsearchshorthand.d.ts +1 -1
- package/esm/models/clientclosedrequestresponseerrordata.d.ts +17 -0
- package/esm/models/clientclosedrequestresponseerrordata.js +16 -0
- package/esm/models/computeruseservertool.d.ts +5 -5
- package/esm/models/computeruseservertool.js +5 -5
- package/esm/models/createbyokkeyrequest.d.ts +3 -3
- package/esm/models/createbyokkeyrequest.js +1 -1
- package/esm/models/createexternaluserrequest.d.ts +15 -0
- package/esm/models/createexternaluserrequest.js +13 -0
- package/esm/models/createguardrailrequest.d.ts +10 -0
- package/esm/models/createguardrailrequest.js +4 -0
- package/esm/models/createobservabilitydestinationrequest.d.ts +5 -0
- package/esm/models/createobservabilitydestinationrequest.js +2 -0
- package/esm/models/customtool.d.ts +2 -0
- package/esm/models/customtool.js +11 -0
- package/esm/models/decisionsboxanswer.d.ts +21 -0
- package/esm/models/decisionsboxanswer.js +26 -0
- package/esm/models/decisionsboxquestion.d.ts +34 -0
- package/esm/models/decisionsboxquestion.js +23 -0
- package/esm/models/decisionsrequest.d.ts +6 -5
- package/esm/models/decisionsrequest.js +3 -0
- package/esm/models/decisionsresponse.d.ts +4 -3
- package/esm/models/decisionsresponse.js +3 -0
- package/esm/models/deferredbm25search.d.ts +17 -0
- package/esm/models/deferredbm25search.js +19 -0
- package/esm/models/deferredcustomsearch.d.ts +21 -0
- package/esm/models/deferredcustomsearch.js +23 -0
- package/esm/models/deferredregexsearch.d.ts +17 -0
- package/esm/models/deferredregexsearch.js +19 -0
- package/esm/models/deferredtoolscontrol.d.ts +62 -0
- package/esm/models/deferredtoolscontrol.js +38 -0
- package/esm/models/deferredtoolssearchstrategy.d.ts +14 -0
- package/esm/models/deferredtoolssearchstrategy.js +18 -0
- package/esm/models/errors/batchpaymentrequiredresponseerror.d.ts +16 -0
- package/esm/models/errors/batchpaymentrequiredresponseerror.js +5 -0
- package/esm/models/errors/clientclosedrequestresponseerror.d.ts +39 -0
- package/esm/models/errors/clientclosedrequestresponseerror.js +47 -0
- package/esm/models/errors/index.d.ts +1 -0
- package/esm/models/errors/index.js +1 -0
- package/esm/models/{enduser.d.ts → externaluser.d.ts} +5 -5
- package/esm/models/{enduser.js → externaluser.js} +6 -5
- package/esm/models/externaluserresponse.d.ts +11 -0
- package/esm/models/externaluserresponse.js +15 -0
- package/esm/models/guardrail.d.ts +8 -0
- package/esm/models/guardrail.js +4 -0
- package/esm/models/imagegenerationproviderpreferences.d.ts +12 -0
- package/esm/models/imagegenerationproviderpreferences.js +3 -0
- package/esm/models/index.d.ts +34 -6
- package/esm/models/index.js +34 -6
- package/esm/models/inputsunion.d.ts +7 -4
- package/esm/models/inputsunion.js +9 -0
- package/esm/models/inputtext.d.ts +1 -1
- package/esm/models/intern.d.ts +12 -0
- package/esm/models/intern.js +6 -0
- package/esm/models/internconnection.d.ts +118 -0
- package/esm/models/internconnection.js +105 -0
- package/esm/models/internconnectionlist.d.ts +11 -0
- package/esm/models/internconnectionlist.js +15 -0
- package/esm/models/jevrouterplugin.d.ts +5 -0
- package/esm/models/jevrouterplugin.js +2 -0
- package/esm/models/keybudget.d.ts +80 -0
- package/esm/models/keybudget.js +58 -0
- package/esm/models/legacywebsearchservertool.d.ts +1 -1
- package/esm/models/listexternalusersresponse.d.ts +15 -0
- package/esm/models/listexternalusersresponse.js +21 -0
- package/esm/models/messagesmessageparam.d.ts +7 -6
- package/esm/models/messagesmessageparam.js +4 -0
- package/esm/models/messagesrequest.d.ts +11 -4
- package/esm/models/messagesrequest.js +6 -0
- package/esm/models/namespacefunctiontool.d.ts +5 -5
- package/esm/models/namespacefunctiontool.js +5 -5
- package/esm/models/observabilityarizedestination.d.ts +4 -0
- package/esm/models/observabilityarizedestination.js +2 -0
- package/esm/models/observabilitybraintrustdestination.d.ts +4 -0
- package/esm/models/observabilitybraintrustdestination.js +2 -0
- package/esm/models/observabilityclickhousedestination.d.ts +4 -0
- package/esm/models/observabilityclickhousedestination.js +2 -0
- package/esm/models/observabilitydatadogdestination.d.ts +4 -0
- package/esm/models/observabilitydatadogdestination.js +2 -0
- package/esm/models/observabilitygrafanadestination.d.ts +4 -0
- package/esm/models/observabilitygrafanadestination.js +2 -0
- package/esm/models/observabilitylangfusedestination.d.ts +4 -0
- package/esm/models/observabilitylangfusedestination.js +2 -0
- package/esm/models/observabilitylangsmithdestination.d.ts +4 -0
- package/esm/models/observabilitylangsmithdestination.js +2 -0
- package/esm/models/observabilitynewrelicdestination.d.ts +4 -0
- package/esm/models/observabilitynewrelicdestination.js +2 -0
- package/esm/models/observabilityopikdestination.d.ts +4 -0
- package/esm/models/observabilityopikdestination.js +2 -0
- package/esm/models/observabilityotelcollectordestination.d.ts +4 -0
- package/esm/models/observabilityotelcollectordestination.js +2 -0
- package/esm/models/observabilityposthogdestination.d.ts +4 -0
- package/esm/models/observabilityposthogdestination.js +2 -0
- package/esm/models/observabilityrampdestination.d.ts +4 -0
- package/esm/models/observabilityrampdestination.js +2 -0
- package/esm/models/observabilitys3destination.d.ts +4 -0
- package/esm/models/observabilitys3destination.js +2 -0
- package/esm/models/observabilitysentrydestination.d.ts +4 -0
- package/esm/models/observabilitysentrydestination.js +2 -0
- package/esm/models/observabilitysnowflakedestination.d.ts +4 -0
- package/esm/models/observabilitysnowflakedestination.js +2 -0
- package/esm/models/observabilityweavedestination.d.ts +4 -0
- package/esm/models/observabilityweavedestination.js +2 -0
- package/esm/models/observabilitywebhookdestination.d.ts +8 -4
- package/esm/models/observabilitywebhookdestination.js +5 -4
- package/esm/models/openresponseserrorfield.d.ts +1 -0
- package/esm/models/openresponseserrorfield.js +1 -0
- package/esm/models/openresponseserrormetadata.d.ts +1 -1
- package/esm/models/openresponsesresult.d.ts +19 -3
- package/esm/models/openresponsesresult.js +14 -0
- package/esm/models/operations/{createenduser.d.ts → createexternaluser.d.ts} +8 -8
- package/esm/models/operations/createexternaluser.js +23 -0
- package/esm/models/operations/createkeys.d.ts +4 -0
- package/esm/models/operations/createkeys.js +2 -0
- package/esm/models/operations/deleteexternaluser.d.ts +58 -0
- package/esm/models/operations/{deleteenduser.js → deleteexternaluser.js} +5 -5
- package/esm/models/operations/getcurrentkey.d.ts +5 -0
- package/esm/models/operations/getcurrentkey.js +4 -1
- package/esm/models/operations/{updateenduser.d.ts → getexternaluser.d.ts} +7 -10
- package/esm/models/operations/{getenduser.js → getexternaluser.js} +5 -5
- package/esm/models/operations/{deleteenduser.d.ts → getinternconnections.d.ts} +9 -9
- package/esm/models/operations/getinternconnections.js +21 -0
- package/esm/models/operations/{getenduser.d.ts → getinternicon.d.ts} +14 -9
- package/esm/models/operations/getinternicon.js +22 -0
- package/esm/models/operations/getkey.d.ts +4 -0
- package/esm/models/operations/getkey.js +2 -0
- package/esm/models/operations/index.d.ts +10 -5
- package/esm/models/operations/index.js +10 -5
- package/esm/models/operations/list.d.ts +9 -0
- package/esm/models/operations/list.js +4 -0
- package/esm/models/operations/listbatches.d.ts +4 -4
- package/esm/models/operations/listbatches.js +3 -3
- package/esm/models/operations/listbyokkeys.d.ts +2 -0
- package/esm/models/operations/listbyokkeys.js +2 -0
- package/esm/models/operations/{listendusers.d.ts → listexternalusers.d.ts} +11 -11
- package/esm/models/operations/listexternalusers.js +38 -0
- package/esm/models/operations/listinternconnections.d.ts +75 -0
- package/esm/models/operations/listinternconnections.js +36 -0
- package/esm/models/operations/listmodelsuser.d.ts +29 -0
- package/esm/models/operations/listmodelsuser.js +21 -0
- package/esm/models/operations/signinterndaemonaccessrequest.d.ts +72 -0
- package/esm/models/operations/signinterndaemonaccessrequest.js +38 -0
- package/esm/models/operations/signinterndaemonrequest.d.ts +72 -0
- package/esm/models/operations/signinterndaemonrequest.js +38 -0
- package/esm/models/operations/updateexternaluser.d.ts +61 -0
- package/esm/models/operations/updateexternaluser.js +24 -0
- package/esm/models/operations/updatekeys.d.ts +9 -0
- package/esm/models/operations/updatekeys.js +4 -0
- package/esm/models/oranthropiccontentblock.d.ts +2 -1
- package/esm/models/oranthropiccontentblock.js +2 -0
- package/esm/models/oranthropictoolsearchresult.d.ts +17 -0
- package/esm/models/oranthropictoolsearchresult.js +21 -0
- package/esm/models/oranthropictoolsearchresultparam.d.ts +23 -0
- package/esm/models/oranthropictoolsearchresultparam.js +20 -0
- package/esm/models/outputapplypatchservertoolitem.d.ts +7 -2
- package/esm/models/outputapplypatchservertoolitem.js +5 -3
- package/esm/models/outputarmorblockeditem.d.ts +71 -0
- package/esm/models/outputarmorblockeditem.js +60 -0
- package/esm/models/outputdatetimeitem.d.ts +7 -2
- package/esm/models/outputdatetimeitem.js +5 -3
- package/esm/models/outputimagegenerationservertoolitem.d.ts +7 -2
- package/esm/models/outputimagegenerationservertoolitem.js +5 -3
- package/esm/models/outputitems.d.ts +5 -1
- package/esm/models/outputitems.js +4 -0
- package/esm/models/outputsearchmodelsservertoolitem.d.ts +7 -2
- package/esm/models/outputsearchmodelsservertoolitem.js +5 -3
- package/esm/models/outputtoolsearchcallitem.d.ts +26 -0
- package/esm/models/outputtoolsearchcallitem.js +30 -0
- package/esm/models/outputtoolsearchservertoolitem.d.ts +30 -2
- package/esm/models/outputtoolsearchservertoolitem.js +36 -3
- package/esm/models/outputwebsearchservertoolitem.d.ts +7 -2
- package/esm/models/outputwebsearchservertoolitem.js +5 -3
- package/esm/models/preview20250311websearchservertool.d.ts +1 -1
- package/esm/models/previewwebsearchservertool.d.ts +1 -1
- package/esm/models/privateendpointpricing.d.ts +10 -0
- package/esm/models/privateendpointpricing.js +15 -0
- package/esm/models/promptcachebreakpoint.d.ts +3 -1
- package/esm/models/promptcachebreakpoint.js +2 -0
- package/esm/models/promptcacheoptions.d.ts +1 -1
- package/esm/models/providername.d.ts +2 -0
- package/esm/models/providername.js +2 -0
- package/esm/models/provideroptions.d.ts +12 -0
- package/esm/models/provideroptions.js +3 -0
- package/esm/models/providerresponse.d.ts +2 -0
- package/esm/models/providerresponse.js +2 -0
- package/esm/models/publicendpoint.d.ts +11 -2
- package/esm/models/publicendpoint.js +5 -0
- package/esm/models/publicservicetier.d.ts +17 -0
- package/esm/models/publicservicetier.js +16 -0
- package/esm/models/responsesrequest.d.ts +42 -6
- package/esm/models/responsesrequest.js +22 -0
- package/esm/models/signinterndaemonrequest.d.ts +54 -0
- package/esm/models/signinterndaemonrequest.js +30 -0
- package/esm/models/signinterndaemonresponse.d.ts +32 -0
- package/esm/models/signinterndaemonresponse.js +27 -0
- package/esm/models/speechinput.d.ts +12 -0
- package/esm/models/speechinput.js +12 -0
- package/esm/models/speechinputreferenceimage.d.ts +1 -1
- package/esm/models/speechrequest.d.ts +10 -4
- package/esm/models/speechrequest.js +3 -1
- package/esm/models/speechturn.d.ts +25 -0
- package/esm/models/speechturn.js +15 -0
- package/esm/models/switchyardrouterplugin.d.ts +1 -1
- package/esm/models/tokenexchangerequest.d.ts +7 -6
- package/esm/models/tokenexchangerequest.js +4 -2
- package/esm/models/tokenexchangeresponse.d.ts +3 -0
- package/esm/models/toolsearchcallitem.d.ts +47 -0
- package/esm/models/toolsearchcallitem.js +42 -0
- package/esm/models/toolsearchoutputitem.d.ts +150 -0
- package/esm/models/toolsearchoutputitem.js +181 -0
- package/esm/models/updatebyokkeyrequest.d.ts +3 -3
- package/esm/models/updatebyokkeyrequest.js +1 -1
- package/esm/models/updateexternaluserrequest.d.ts +15 -0
- package/esm/models/updateexternaluserrequest.js +18 -0
- package/esm/models/updateguardrailrequest.d.ts +10 -0
- package/esm/models/updateguardrailrequest.js +4 -0
- package/esm/models/updateobservabilitydestinationrequest.d.ts +5 -0
- package/esm/models/updateobservabilitydestinationrequest.js +2 -0
- package/esm/models/videogenerationrequest.d.ts +12 -0
- package/esm/models/videogenerationrequest.js +3 -0
- package/esm/models/videogenerationresponse.d.ts +11 -0
- package/esm/models/videogenerationresponse.js +3 -0
- package/esm/models/webfetchengineenum.d.ts +2 -2
- package/esm/models/webfetchengineenum.js +1 -1
- package/esm/models/webfetchservertoolconfig.d.ts +1 -1
- package/esm/models/websearchconfig.d.ts +1 -1
- package/esm/models/websearchengineenum.d.ts +2 -2
- package/esm/models/websearchengineenum.js +1 -1
- package/esm/models/websearchservertool.d.ts +1 -1
- package/esm/models/websearchservertoolconfig.d.ts +1 -1
- package/esm/models/workspacebudget.d.ts +4 -4
- package/esm/models/workspacebudget.js +3 -3
- package/esm/sdk/apikeys.d.ts +3 -1
- package/esm/sdk/apikeys.js +3 -1
- package/esm/sdk/betaresponses.d.ts +4 -2
- package/esm/sdk/chat.d.ts +4 -2
- package/esm/sdk/endusers.d.ts +10 -10
- package/esm/sdk/endusers.js +15 -15
- package/esm/sdk/externalusers.d.ts +44 -0
- package/esm/sdk/externalusers.js +60 -0
- package/esm/sdk/images.d.ts +3 -2
- package/esm/sdk/interns.d.ts +31 -1
- package/esm/sdk/interns.js +43 -1
- package/esm/sdk/privateendpoints.d.ts +1 -1
- package/esm/sdk/privateendpoints.js +1 -1
- package/esm/sdk/responses.d.ts +4 -2
- package/esm/sdk/sdk.d.ts +5 -2
- package/esm/sdk/sdk.js +7 -3
- package/esm/sdk/vault.d.ts +7 -0
- package/esm/sdk/vault.js +10 -0
- package/jsr.json +1 -1
- package/package.json +5 -5
- package/esm/models/batchlisttimestamp.d.ts +0 -12
- package/esm/models/batchlisttimestamp.js +0 -15
- package/esm/models/createenduserrequest.d.ts +0 -15
- package/esm/models/createenduserrequest.js +0 -13
- package/esm/models/enduserresponse.d.ts +0 -11
- package/esm/models/enduserresponse.js +0 -15
- package/esm/models/listendusersresponse.d.ts +0 -15
- package/esm/models/listendusersresponse.js +0 -21
- package/esm/models/operations/createenduser.js +0 -23
- package/esm/models/operations/listendusers.js +0 -38
- package/esm/models/operations/updateenduser.js +0 -24
- package/esm/models/updateenduserrequest.d.ts +0 -15
- package/esm/models/updateenduserrequest.js +0 -18
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: b7ebd71cc56f
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { ClientClosedRequestResponseErrorData$inboundSchema as models_ClientClosedRequestResponseErrorData$inboundSchema } from "../clientclosedrequestresponseerrordata.js";
|
|
8
|
+
import { OpenRouterError } from "./openroutererror.js";
|
|
9
|
+
/**
|
|
10
|
+
* Client Closed Request - The caller cancelled the request
|
|
11
|
+
*/
|
|
12
|
+
export class ClientClosedRequestResponseError extends OpenRouterError {
|
|
13
|
+
constructor(err, httpMeta) {
|
|
14
|
+
const message = err.error?.message
|
|
15
|
+
|| `API error occurred: ${JSON.stringify(err)}`;
|
|
16
|
+
super(message, httpMeta);
|
|
17
|
+
this.data$ = err;
|
|
18
|
+
this.error = err.error;
|
|
19
|
+
if (err.openrouterMetadata != null) {
|
|
20
|
+
this.openrouterMetadata = err.openrouterMetadata;
|
|
21
|
+
}
|
|
22
|
+
if (err.userId != null)
|
|
23
|
+
this.userId = err.userId;
|
|
24
|
+
this.name = "ClientClosedRequestResponseError";
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
/** @internal */
|
|
28
|
+
export const ClientClosedRequestResponseError$inboundSchema = z.object({
|
|
29
|
+
error: models_ClientClosedRequestResponseErrorData$inboundSchema,
|
|
30
|
+
openrouter_metadata: z.nullable(z.record(z.string(), z.any())).optional(),
|
|
31
|
+
user_id: z.nullable(z.string()).optional(),
|
|
32
|
+
request$: z.custom(x => x instanceof Request),
|
|
33
|
+
response$: z.custom(x => x instanceof Response),
|
|
34
|
+
body$: z.string(),
|
|
35
|
+
})
|
|
36
|
+
.transform((v) => {
|
|
37
|
+
const remapped = remap$(v, {
|
|
38
|
+
"openrouter_metadata": "openrouterMetadata",
|
|
39
|
+
"user_id": "userId",
|
|
40
|
+
});
|
|
41
|
+
return new ClientClosedRequestResponseError(remapped, {
|
|
42
|
+
request: v.request$,
|
|
43
|
+
response: v.response$,
|
|
44
|
+
body: v.body$,
|
|
45
|
+
});
|
|
46
|
+
});
|
|
47
|
+
//# sourceMappingURL=clientclosedrequestresponseerror.js.map
|
|
@@ -2,6 +2,7 @@ export * from "./badgatewayresponseerror.js";
|
|
|
2
2
|
export * from "./badrequestresponseerror.js";
|
|
3
3
|
export * from "./batcherrorresponse.js";
|
|
4
4
|
export * from "./batchpaymentrequiredresponseerror.js";
|
|
5
|
+
export * from "./clientclosedrequestresponseerror.js";
|
|
5
6
|
export * from "./conflictresponseerror.js";
|
|
6
7
|
export * from "./createprivateendpoint.js";
|
|
7
8
|
export * from "./createprivateendpointvalidationfailedresponseerror.js";
|
|
@@ -6,6 +6,7 @@ export * from "./badgatewayresponseerror.js";
|
|
|
6
6
|
export * from "./badrequestresponseerror.js";
|
|
7
7
|
export * from "./batcherrorresponse.js";
|
|
8
8
|
export * from "./batchpaymentrequiredresponseerror.js";
|
|
9
|
+
export * from "./clientclosedrequestresponseerror.js";
|
|
9
10
|
export * from "./conflictresponseerror.js";
|
|
10
11
|
export * from "./createprivateendpoint.js";
|
|
11
12
|
export * from "./createprivateendpointvalidationfailedresponseerror.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as z from "zod/v4";
|
|
2
2
|
import { Result as SafeParseResult } from "../types/fp.js";
|
|
3
3
|
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
4
|
-
export type
|
|
4
|
+
export type ExternalUser = {
|
|
5
5
|
/**
|
|
6
6
|
* Registration creation time.
|
|
7
7
|
*/
|
|
@@ -15,11 +15,11 @@ export type EndUser = {
|
|
|
15
15
|
*/
|
|
16
16
|
updatedAt: Date;
|
|
17
17
|
/**
|
|
18
|
-
* Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths.
|
|
18
|
+
* Immutable case-sensitive tracking string supplied as user on inference requests or as external.user on API keys: 1 to 512 characters, well-formed Unicode, no NUL, no surrounding whitespace. URL-encode it in resource paths; an ID of `.` or `..` cannot be addressed by path, so look it up with the list filter.
|
|
19
19
|
*/
|
|
20
20
|
user: string;
|
|
21
21
|
};
|
|
22
22
|
/** @internal */
|
|
23
|
-
export declare const
|
|
24
|
-
export declare function
|
|
25
|
-
//# sourceMappingURL=
|
|
23
|
+
export declare const ExternalUser$inboundSchema: z.ZodType<ExternalUser, unknown>;
|
|
24
|
+
export declare function externalUserFromJSON(jsonString: string): SafeParseResult<ExternalUser, SDKValidationError>;
|
|
25
|
+
//# sourceMappingURL=externaluser.d.ts.map
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
* @generated-id:
|
|
3
|
+
* @generated-id: d4d73fe93150
|
|
4
4
|
*/
|
|
5
5
|
import * as z from "zod/v4";
|
|
6
6
|
import { remap as remap$ } from "../lib/primitives.js";
|
|
7
7
|
import { safeParse } from "../lib/schemas.js";
|
|
8
8
|
/** @internal */
|
|
9
|
-
export const
|
|
9
|
+
export const ExternalUser$inboundSchema = z
|
|
10
|
+
.object({
|
|
10
11
|
created_at: z.iso.datetime({ offset: true }).transform(v => new Date(v)),
|
|
11
12
|
is_active: z.boolean(),
|
|
12
13
|
updated_at: z.iso.datetime({ offset: true }).transform(v => new Date(v)),
|
|
@@ -18,7 +19,7 @@ export const EndUser$inboundSchema = z.object({
|
|
|
18
19
|
"updated_at": "updatedAt",
|
|
19
20
|
});
|
|
20
21
|
});
|
|
21
|
-
export function
|
|
22
|
-
return safeParse(jsonString, (x) =>
|
|
22
|
+
export function externalUserFromJSON(jsonString) {
|
|
23
|
+
return safeParse(jsonString, (x) => ExternalUser$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ExternalUser' from JSON`);
|
|
23
24
|
}
|
|
24
|
-
//# sourceMappingURL=
|
|
25
|
+
//# sourceMappingURL=externaluser.js.map
|
|
@@ -0,0 +1,11 @@
|
|
|
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 { ExternalUser } from "./externaluser.js";
|
|
5
|
+
export type ExternalUserResponse = {
|
|
6
|
+
data: ExternalUser;
|
|
7
|
+
};
|
|
8
|
+
/** @internal */
|
|
9
|
+
export declare const ExternalUserResponse$inboundSchema: z.ZodType<ExternalUserResponse, unknown>;
|
|
10
|
+
export declare function externalUserResponseFromJSON(jsonString: string): SafeParseResult<ExternalUserResponse, SDKValidationError>;
|
|
11
|
+
//# sourceMappingURL=externaluserresponse.d.ts.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: af27c97975ac
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
import { safeParse } from "../lib/schemas.js";
|
|
7
|
+
import { ExternalUser$inboundSchema } from "./externaluser.js";
|
|
8
|
+
/** @internal */
|
|
9
|
+
export const ExternalUserResponse$inboundSchema = z.object({
|
|
10
|
+
data: ExternalUser$inboundSchema,
|
|
11
|
+
});
|
|
12
|
+
export function externalUserResponseFromJSON(jsonString) {
|
|
13
|
+
return safeParse(jsonString, (x) => ExternalUserResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ExternalUserResponse' from JSON`);
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=externaluserresponse.js.map
|
|
@@ -6,6 +6,14 @@ import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
|
6
6
|
import { GuardrailDataRegion } from "./guardraildataregion.js";
|
|
7
7
|
import { GuardrailInterval } from "./guardrailinterval.js";
|
|
8
8
|
export type Guardrail = {
|
|
9
|
+
/**
|
|
10
|
+
* Whether ZDR-only requests to google/* models may use endpoints that may retain prompts for safety monitoring. false allows only zero-retention endpoints. A guardrail can only be more restrictive than the account setting. Inherits the account setting when not provided.
|
|
11
|
+
*/
|
|
12
|
+
allowSafetyRetentionGoogle?: boolean | null | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* Whether ZDR-only requests to models outside the named providers (for example open-weight models on Vertex) may use endpoints that may retain prompts for safety monitoring. false allows only zero-retention endpoints. A guardrail can only be more restrictive than the account setting. Inherits the account setting when not provided.
|
|
15
|
+
*/
|
|
16
|
+
allowSafetyRetentionOther?: boolean | null | undefined;
|
|
9
17
|
/**
|
|
10
18
|
* Data regions through which requests governed by this guardrail must arrive. `global` is https://openrouter.ai, `europe` is https://eu.openrouter.ai, and `us` is https://us.openrouter.ai. Requests arriving through any other region are rejected. `null` leaves the ingress region unrestricted. When several guardrails apply (workspace default, member, API key), the effective regions are the intersection of every non-null value.
|
|
11
19
|
*/
|
package/esm/models/guardrail.js
CHANGED
|
@@ -11,6 +11,8 @@ import { GuardrailDataRegion$inboundSchema, } from "./guardraildataregion.js";
|
|
|
11
11
|
import { GuardrailInterval$inboundSchema, } from "./guardrailinterval.js";
|
|
12
12
|
/** @internal */
|
|
13
13
|
export const Guardrail$inboundSchema = z.object({
|
|
14
|
+
allow_safety_retention_google: z.nullable(z.boolean()).optional(),
|
|
15
|
+
allow_safety_retention_other: z.nullable(z.boolean()).optional(),
|
|
14
16
|
allowed_data_regions: z.nullable(z.array(GuardrailDataRegion$inboundSchema))
|
|
15
17
|
.optional(),
|
|
16
18
|
allowed_models: z.nullable(z.array(z.string())).optional(),
|
|
@@ -40,6 +42,8 @@ export const Guardrail$inboundSchema = z.object({
|
|
|
40
42
|
workspace_id: z.nullable(z.string()),
|
|
41
43
|
}).transform((v) => {
|
|
42
44
|
return remap$(v, {
|
|
45
|
+
"allow_safety_retention_google": "allowSafetyRetentionGoogle",
|
|
46
|
+
"allow_safety_retention_other": "allowSafetyRetentionOther",
|
|
43
47
|
"allowed_data_regions": "allowedDataRegions",
|
|
44
48
|
"allowed_models": "allowedModels",
|
|
45
49
|
"allowed_providers": "allowedProviders",
|
|
@@ -308,6 +308,9 @@ export type ImageGenerationProviderPreferencesOptions = {
|
|
|
308
308
|
parasail?: {
|
|
309
309
|
[k: string]: any;
|
|
310
310
|
} | undefined;
|
|
311
|
+
paretoAlpha?: {
|
|
312
|
+
[k: string]: any;
|
|
313
|
+
} | undefined;
|
|
311
314
|
perceptron?: {
|
|
312
315
|
[k: string]: any;
|
|
313
316
|
} | undefined;
|
|
@@ -332,6 +335,9 @@ export type ImageGenerationProviderPreferencesOptions = {
|
|
|
332
335
|
recursal?: {
|
|
333
336
|
[k: string]: any;
|
|
334
337
|
} | undefined;
|
|
338
|
+
recursive?: {
|
|
339
|
+
[k: string]: any;
|
|
340
|
+
} | undefined;
|
|
335
341
|
reflection?: {
|
|
336
342
|
[k: string]: any;
|
|
337
343
|
} | undefined;
|
|
@@ -794,6 +800,9 @@ export type ImageGenerationProviderPreferencesOptions$Outbound = {
|
|
|
794
800
|
parasail?: {
|
|
795
801
|
[k: string]: any;
|
|
796
802
|
} | undefined;
|
|
803
|
+
"pareto-alpha"?: {
|
|
804
|
+
[k: string]: any;
|
|
805
|
+
} | undefined;
|
|
797
806
|
perceptron?: {
|
|
798
807
|
[k: string]: any;
|
|
799
808
|
} | undefined;
|
|
@@ -818,6 +827,9 @@ export type ImageGenerationProviderPreferencesOptions$Outbound = {
|
|
|
818
827
|
recursal?: {
|
|
819
828
|
[k: string]: any;
|
|
820
829
|
} | undefined;
|
|
830
|
+
recursive?: {
|
|
831
|
+
[k: string]: any;
|
|
832
|
+
} | undefined;
|
|
821
833
|
reflection?: {
|
|
822
834
|
[k: string]: any;
|
|
823
835
|
} | undefined;
|
|
@@ -119,6 +119,7 @@ export const ImageGenerationProviderPreferencesOptions$outboundSchema = z.object
|
|
|
119
119
|
openInference: z.record(z.string(), z.any()).optional(),
|
|
120
120
|
openai: z.record(z.string(), z.any()).optional(),
|
|
121
121
|
parasail: z.record(z.string(), z.any()).optional(),
|
|
122
|
+
paretoAlpha: z.record(z.string(), z.any()).optional(),
|
|
122
123
|
perceptron: z.record(z.string(), z.any()).optional(),
|
|
123
124
|
perplexity: z.record(z.string(), z.any()).optional(),
|
|
124
125
|
phala: z.record(z.string(), z.any()).optional(),
|
|
@@ -127,6 +128,7 @@ export const ImageGenerationProviderPreferencesOptions$outboundSchema = z.object
|
|
|
127
128
|
quiver: z.record(z.string(), z.any()).optional(),
|
|
128
129
|
recraft: z.record(z.string(), z.any()).optional(),
|
|
129
130
|
recursal: z.record(z.string(), z.any()).optional(),
|
|
131
|
+
recursive: z.record(z.string(), z.any()).optional(),
|
|
130
132
|
reflection: z.record(z.string(), z.any()).optional(),
|
|
131
133
|
reka: z.record(z.string(), z.any()).optional(),
|
|
132
134
|
relace: z.record(z.string(), z.any()).optional(),
|
|
@@ -190,6 +192,7 @@ export const ImageGenerationProviderPreferencesOptions$outboundSchema = z.object
|
|
|
190
192
|
nearAi: "near-ai",
|
|
191
193
|
nexAgi: "nex-agi",
|
|
192
194
|
openInference: "open-inference",
|
|
195
|
+
paretoAlpha: "pareto-alpha",
|
|
193
196
|
sailResearch: "sail-research",
|
|
194
197
|
sakanaAi: "sakana-ai",
|
|
195
198
|
sambanovaCloaked: "sambanova-cloaked",
|
package/esm/models/index.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ export * from "./alignmentchattoolcall.js";
|
|
|
17
17
|
export * from "./alignmentplugin.js";
|
|
18
18
|
export * from "./alignmentrejected.js";
|
|
19
19
|
export * from "./alignmentresponsesrejected.js";
|
|
20
|
+
export * from "./alignmentrule.js";
|
|
20
21
|
export * from "./alignmentrulerecord.js";
|
|
21
22
|
export * from "./alignmentunavailablecallrecord.js";
|
|
22
23
|
export * from "./annotationaddedevent.js";
|
|
@@ -137,6 +138,12 @@ export * from "./applypatchservertoolopenrouter.js";
|
|
|
137
138
|
export * from "./applypatchupdatefileoperation.js";
|
|
138
139
|
export * from "./apprankingsitem.js";
|
|
139
140
|
export * from "./apprankingsresponse.js";
|
|
141
|
+
export * from "./armorautomode.js";
|
|
142
|
+
export * from "./armorcontext.js";
|
|
143
|
+
export * from "./armorenvironmententry.js";
|
|
144
|
+
export * from "./armorplugin.js";
|
|
145
|
+
export * from "./armorrule.js";
|
|
146
|
+
export * from "./armorsafeguardresult.js";
|
|
140
147
|
export * from "./autobetarouterplugin.js";
|
|
141
148
|
export * from "./autorouterplugin.js";
|
|
142
149
|
export * from "./badgatewayresponseerrordata.js";
|
|
@@ -154,7 +161,6 @@ export * from "./batcherrorresponse.js";
|
|
|
154
161
|
export * from "./batchlistitem.js";
|
|
155
162
|
export * from "./batchlistresponse.js";
|
|
156
163
|
export * from "./batchliststatus.js";
|
|
157
|
-
export * from "./batchlisttimestamp.js";
|
|
158
164
|
export * from "./batchobject.js";
|
|
159
165
|
export * from "./batchpaymentrequiredresponseerror.js";
|
|
160
166
|
export * from "./batchproviderpreferences.js";
|
|
@@ -220,6 +226,7 @@ export * from "./chattoolmessage.js";
|
|
|
220
226
|
export * from "./chatusage.js";
|
|
221
227
|
export * from "./chatusermessage.js";
|
|
222
228
|
export * from "./chatwebsearchshorthand.js";
|
|
229
|
+
export * from "./clientclosedrequestresponseerrordata.js";
|
|
223
230
|
export * from "./codeinterpretercallcodedeltaevent.js";
|
|
224
231
|
export * from "./codeinterpretercallcodedoneevent.js";
|
|
225
232
|
export * from "./codeinterpretercallcompletedevent.js";
|
|
@@ -261,7 +268,7 @@ export * from "./contextcompressionplugin.js";
|
|
|
261
268
|
export * from "./costdetails.js";
|
|
262
269
|
export * from "./createbyokkeyrequest.js";
|
|
263
270
|
export * from "./createbyokkeyresponse.js";
|
|
264
|
-
export * from "./
|
|
271
|
+
export * from "./createexternaluserrequest.js";
|
|
265
272
|
export * from "./createguardrailrequest.js";
|
|
266
273
|
export * from "./createguardrailresponse.js";
|
|
267
274
|
export * from "./createinternrequest.js";
|
|
@@ -284,6 +291,8 @@ export * from "./dabenchmarkentry.js";
|
|
|
284
291
|
export * from "./datetimeservertool.js";
|
|
285
292
|
export * from "./datetimeservertoolconfig.js";
|
|
286
293
|
export * from "./debugevent.js";
|
|
294
|
+
export * from "./decisionsboxanswer.js";
|
|
295
|
+
export * from "./decisionsboxquestion.js";
|
|
287
296
|
export * from "./decisionschoiceanswer.js";
|
|
288
297
|
export * from "./decisionschoicequestion.js";
|
|
289
298
|
export * from "./decisionsnoulanswer.js";
|
|
@@ -293,6 +302,11 @@ export * from "./decisionsresponse.js";
|
|
|
293
302
|
export * from "./decisionsscoreanswer.js";
|
|
294
303
|
export * from "./decisionsscorequestion.js";
|
|
295
304
|
export * from "./defaultparameters.js";
|
|
305
|
+
export * from "./deferredbm25search.js";
|
|
306
|
+
export * from "./deferredcustomsearch.js";
|
|
307
|
+
export * from "./deferredregexsearch.js";
|
|
308
|
+
export * from "./deferredtoolscontrol.js";
|
|
309
|
+
export * from "./deferredtoolssearchstrategy.js";
|
|
296
310
|
export * from "./deletebyokkeyresponse.js";
|
|
297
311
|
export * from "./deleteguardrailresponse.js";
|
|
298
312
|
export * from "./deleteinternrequest.js";
|
|
@@ -307,10 +321,10 @@ export * from "./edgenetworktimeoutresponseerrordata.js";
|
|
|
307
321
|
export * from "./endpointinfo.js";
|
|
308
322
|
export * from "./endpointsmetadata.js";
|
|
309
323
|
export * from "./endpointstatus.js";
|
|
310
|
-
export * from "./enduser.js";
|
|
311
|
-
export * from "./enduserresponse.js";
|
|
312
324
|
export * from "./enumcapability.js";
|
|
313
325
|
export * from "./errorevent.js";
|
|
326
|
+
export * from "./externaluser.js";
|
|
327
|
+
export * from "./externaluserresponse.js";
|
|
314
328
|
export * from "./failabletoolcallstatus.js";
|
|
315
329
|
export * from "./filecitation.js";
|
|
316
330
|
export * from "./filedeleteresponse.js";
|
|
@@ -432,6 +446,8 @@ export * from "./internchattoolcallfunction.js";
|
|
|
432
446
|
export * from "./internchattoolmessage.js";
|
|
433
447
|
export * from "./internchatusage.js";
|
|
434
448
|
export * from "./internchatusermessage.js";
|
|
449
|
+
export * from "./internconnection.js";
|
|
450
|
+
export * from "./internconnectionlist.js";
|
|
435
451
|
export * from "./interndaemonaccess.js";
|
|
436
452
|
export * from "./interninvokeacceptedresponse.js";
|
|
437
453
|
export * from "./interninvokerequest.js";
|
|
@@ -440,12 +456,13 @@ export * from "./internlistresponse.js";
|
|
|
440
456
|
export * from "./itemreferenceitem.js";
|
|
441
457
|
export * from "./jevrouterplugin.js";
|
|
442
458
|
export * from "./keyassignment.js";
|
|
459
|
+
export * from "./keybudget.js";
|
|
443
460
|
export * from "./legacychatcontentvideo.js";
|
|
444
461
|
export * from "./legacychatcontentvideoinput.js";
|
|
445
462
|
export * from "./legacywebsearchservertool.js";
|
|
446
463
|
export * from "./listbyokkeysresponse.js";
|
|
447
464
|
export * from "./listendpointsresponse.js";
|
|
448
|
-
export * from "./
|
|
465
|
+
export * from "./listexternalusersresponse.js";
|
|
449
466
|
export * from "./listguardrailsresponse.js";
|
|
450
467
|
export * from "./listkeyassignmentsresponse.js";
|
|
451
468
|
export * from "./listmemberassignmentsresponse.js";
|
|
@@ -553,10 +570,13 @@ export * from "./oranthropicnullablecaller.js";
|
|
|
553
570
|
export * from "./oranthropicservertooluseblock.js";
|
|
554
571
|
export * from "./oranthropicshelltoolresult.js";
|
|
555
572
|
export * from "./oranthropicstopreason.js";
|
|
573
|
+
export * from "./oranthropictoolsearchresult.js";
|
|
574
|
+
export * from "./oranthropictoolsearchresultparam.js";
|
|
556
575
|
export * from "./organizationsettings.js";
|
|
557
576
|
export * from "./outputadvisorservertoolitem.js";
|
|
558
577
|
export * from "./outputapplypatchcallitem.js";
|
|
559
578
|
export * from "./outputapplypatchservertoolitem.js";
|
|
579
|
+
export * from "./outputarmorblockeditem.js";
|
|
560
580
|
export * from "./outputbashservertoolitem.js";
|
|
561
581
|
export * from "./outputbrowseruseservertoolitem.js";
|
|
562
582
|
export * from "./outputcodeinterpretercallitem.js";
|
|
@@ -593,6 +613,7 @@ export * from "./outputshellcalloutputitem.js";
|
|
|
593
613
|
export * from "./outputshellservertoolitem.js";
|
|
594
614
|
export * from "./outputsubagentservertoolitem.js";
|
|
595
615
|
export * from "./outputtexteditorservertoolitem.js";
|
|
616
|
+
export * from "./outputtoolsearchcallitem.js";
|
|
596
617
|
export * from "./outputtoolsearchservertoolitem.js";
|
|
597
618
|
export * from "./outputwebfetchservertoolitem.js";
|
|
598
619
|
export * from "./outputwebsearchcallitem.js";
|
|
@@ -646,6 +667,7 @@ export * from "./providersortconfig.js";
|
|
|
646
667
|
export * from "./provisioninternresponse.js";
|
|
647
668
|
export * from "./publicendpoint.js";
|
|
648
669
|
export * from "./publicpricing.js";
|
|
670
|
+
export * from "./publicservicetier.js";
|
|
649
671
|
export * from "./quantization.js";
|
|
650
672
|
export * from "./rangecapability.js";
|
|
651
673
|
export * from "./rankingsdailyitem.js";
|
|
@@ -712,6 +734,9 @@ export * from "./shellservertoolconfig.js";
|
|
|
712
734
|
export * from "./shellservertoolengine.js";
|
|
713
735
|
export * from "./shellservertoolenvironment.js";
|
|
714
736
|
export * from "./shellservertoolopenrouter.js";
|
|
737
|
+
export * from "./signinterndaemonrequest.js";
|
|
738
|
+
export * from "./signinterndaemonresponse.js";
|
|
739
|
+
export * from "./speechinput.js";
|
|
715
740
|
export * from "./speechinputreference.js";
|
|
716
741
|
export * from "./speechinputreferenceaudio.js";
|
|
717
742
|
export * from "./speechinputreferenceaudioinput.js";
|
|
@@ -719,6 +744,7 @@ export * from "./speechinputreferenceimage.js";
|
|
|
719
744
|
export * from "./speechinputreferenceimageinput.js";
|
|
720
745
|
export * from "./speechinputreferencetext.js";
|
|
721
746
|
export * from "./speechrequest.js";
|
|
747
|
+
export * from "./speechturn.js";
|
|
722
748
|
export * from "./stopservertoolswhencondition.js";
|
|
723
749
|
export * from "./stopservertoolswhenfinishreasonis.js";
|
|
724
750
|
export * from "./stopservertoolswhenhastoolcall.js";
|
|
@@ -764,6 +790,8 @@ export * from "./tokenexchangeresponse.js";
|
|
|
764
790
|
export * from "./toolcallstatus.js";
|
|
765
791
|
export * from "./toolchoiceallowed.js";
|
|
766
792
|
export * from "./toolchoicesupport.js";
|
|
793
|
+
export * from "./toolsearchcallitem.js";
|
|
794
|
+
export * from "./toolsearchoutputitem.js";
|
|
767
795
|
export * from "./toolsearchservertool.js";
|
|
768
796
|
export * from "./toolsearchservertoolconfig.js";
|
|
769
797
|
export * from "./toomanyrequestsresponseerrordata.js";
|
|
@@ -782,7 +810,7 @@ export * from "./unifiedbenchmarkssearchrunconfig.js";
|
|
|
782
810
|
export * from "./unprocessableentityresponseerrordata.js";
|
|
783
811
|
export * from "./updatebyokkeyrequest.js";
|
|
784
812
|
export * from "./updatebyokkeyresponse.js";
|
|
785
|
-
export * from "./
|
|
813
|
+
export * from "./updateexternaluserrequest.js";
|
|
786
814
|
export * from "./updateguardrailrequest.js";
|
|
787
815
|
export * from "./updateguardrailresponse.js";
|
|
788
816
|
export * from "./updateinternrequest.js";
|
package/esm/models/index.js
CHANGED
|
@@ -21,6 +21,7 @@ export * from "./alignmentchattoolcall.js";
|
|
|
21
21
|
export * from "./alignmentplugin.js";
|
|
22
22
|
export * from "./alignmentrejected.js";
|
|
23
23
|
export * from "./alignmentresponsesrejected.js";
|
|
24
|
+
export * from "./alignmentrule.js";
|
|
24
25
|
export * from "./alignmentrulerecord.js";
|
|
25
26
|
export * from "./alignmentunavailablecallrecord.js";
|
|
26
27
|
export * from "./annotationaddedevent.js";
|
|
@@ -141,6 +142,12 @@ export * from "./applypatchservertoolopenrouter.js";
|
|
|
141
142
|
export * from "./applypatchupdatefileoperation.js";
|
|
142
143
|
export * from "./apprankingsitem.js";
|
|
143
144
|
export * from "./apprankingsresponse.js";
|
|
145
|
+
export * from "./armorautomode.js";
|
|
146
|
+
export * from "./armorcontext.js";
|
|
147
|
+
export * from "./armorenvironmententry.js";
|
|
148
|
+
export * from "./armorplugin.js";
|
|
149
|
+
export * from "./armorrule.js";
|
|
150
|
+
export * from "./armorsafeguardresult.js";
|
|
144
151
|
export * from "./autobetarouterplugin.js";
|
|
145
152
|
export * from "./autorouterplugin.js";
|
|
146
153
|
export * from "./badgatewayresponseerrordata.js";
|
|
@@ -158,7 +165,6 @@ export * from "./batcherrorresponse.js";
|
|
|
158
165
|
export * from "./batchlistitem.js";
|
|
159
166
|
export * from "./batchlistresponse.js";
|
|
160
167
|
export * from "./batchliststatus.js";
|
|
161
|
-
export * from "./batchlisttimestamp.js";
|
|
162
168
|
export * from "./batchobject.js";
|
|
163
169
|
export * from "./batchpaymentrequiredresponseerror.js";
|
|
164
170
|
export * from "./batchproviderpreferences.js";
|
|
@@ -224,6 +230,7 @@ export * from "./chattoolmessage.js";
|
|
|
224
230
|
export * from "./chatusage.js";
|
|
225
231
|
export * from "./chatusermessage.js";
|
|
226
232
|
export * from "./chatwebsearchshorthand.js";
|
|
233
|
+
export * from "./clientclosedrequestresponseerrordata.js";
|
|
227
234
|
export * from "./codeinterpretercallcodedeltaevent.js";
|
|
228
235
|
export * from "./codeinterpretercallcodedoneevent.js";
|
|
229
236
|
export * from "./codeinterpretercallcompletedevent.js";
|
|
@@ -265,7 +272,7 @@ export * from "./contextcompressionplugin.js";
|
|
|
265
272
|
export * from "./costdetails.js";
|
|
266
273
|
export * from "./createbyokkeyrequest.js";
|
|
267
274
|
export * from "./createbyokkeyresponse.js";
|
|
268
|
-
export * from "./
|
|
275
|
+
export * from "./createexternaluserrequest.js";
|
|
269
276
|
export * from "./createguardrailrequest.js";
|
|
270
277
|
export * from "./createguardrailresponse.js";
|
|
271
278
|
export * from "./createinternrequest.js";
|
|
@@ -288,6 +295,8 @@ export * from "./dabenchmarkentry.js";
|
|
|
288
295
|
export * from "./datetimeservertool.js";
|
|
289
296
|
export * from "./datetimeservertoolconfig.js";
|
|
290
297
|
export * from "./debugevent.js";
|
|
298
|
+
export * from "./decisionsboxanswer.js";
|
|
299
|
+
export * from "./decisionsboxquestion.js";
|
|
291
300
|
export * from "./decisionschoiceanswer.js";
|
|
292
301
|
export * from "./decisionschoicequestion.js";
|
|
293
302
|
export * from "./decisionsnoulanswer.js";
|
|
@@ -297,6 +306,11 @@ export * from "./decisionsresponse.js";
|
|
|
297
306
|
export * from "./decisionsscoreanswer.js";
|
|
298
307
|
export * from "./decisionsscorequestion.js";
|
|
299
308
|
export * from "./defaultparameters.js";
|
|
309
|
+
export * from "./deferredbm25search.js";
|
|
310
|
+
export * from "./deferredcustomsearch.js";
|
|
311
|
+
export * from "./deferredregexsearch.js";
|
|
312
|
+
export * from "./deferredtoolscontrol.js";
|
|
313
|
+
export * from "./deferredtoolssearchstrategy.js";
|
|
300
314
|
export * from "./deletebyokkeyresponse.js";
|
|
301
315
|
export * from "./deleteguardrailresponse.js";
|
|
302
316
|
export * from "./deleteinternrequest.js";
|
|
@@ -311,10 +325,10 @@ export * from "./edgenetworktimeoutresponseerrordata.js";
|
|
|
311
325
|
export * from "./endpointinfo.js";
|
|
312
326
|
export * from "./endpointsmetadata.js";
|
|
313
327
|
export * from "./endpointstatus.js";
|
|
314
|
-
export * from "./enduser.js";
|
|
315
|
-
export * from "./enduserresponse.js";
|
|
316
328
|
export * from "./enumcapability.js";
|
|
317
329
|
export * from "./errorevent.js";
|
|
330
|
+
export * from "./externaluser.js";
|
|
331
|
+
export * from "./externaluserresponse.js";
|
|
318
332
|
export * from "./failabletoolcallstatus.js";
|
|
319
333
|
export * from "./filecitation.js";
|
|
320
334
|
export * from "./filedeleteresponse.js";
|
|
@@ -436,6 +450,8 @@ export * from "./internchattoolcallfunction.js";
|
|
|
436
450
|
export * from "./internchattoolmessage.js";
|
|
437
451
|
export * from "./internchatusage.js";
|
|
438
452
|
export * from "./internchatusermessage.js";
|
|
453
|
+
export * from "./internconnection.js";
|
|
454
|
+
export * from "./internconnectionlist.js";
|
|
439
455
|
export * from "./interndaemonaccess.js";
|
|
440
456
|
export * from "./interninvokeacceptedresponse.js";
|
|
441
457
|
export * from "./interninvokerequest.js";
|
|
@@ -444,12 +460,13 @@ export * from "./internlistresponse.js";
|
|
|
444
460
|
export * from "./itemreferenceitem.js";
|
|
445
461
|
export * from "./jevrouterplugin.js";
|
|
446
462
|
export * from "./keyassignment.js";
|
|
463
|
+
export * from "./keybudget.js";
|
|
447
464
|
export * from "./legacychatcontentvideo.js";
|
|
448
465
|
export * from "./legacychatcontentvideoinput.js";
|
|
449
466
|
export * from "./legacywebsearchservertool.js";
|
|
450
467
|
export * from "./listbyokkeysresponse.js";
|
|
451
468
|
export * from "./listendpointsresponse.js";
|
|
452
|
-
export * from "./
|
|
469
|
+
export * from "./listexternalusersresponse.js";
|
|
453
470
|
export * from "./listguardrailsresponse.js";
|
|
454
471
|
export * from "./listkeyassignmentsresponse.js";
|
|
455
472
|
export * from "./listmemberassignmentsresponse.js";
|
|
@@ -557,10 +574,13 @@ export * from "./oranthropicnullablecaller.js";
|
|
|
557
574
|
export * from "./oranthropicservertooluseblock.js";
|
|
558
575
|
export * from "./oranthropicshelltoolresult.js";
|
|
559
576
|
export * from "./oranthropicstopreason.js";
|
|
577
|
+
export * from "./oranthropictoolsearchresult.js";
|
|
578
|
+
export * from "./oranthropictoolsearchresultparam.js";
|
|
560
579
|
export * from "./organizationsettings.js";
|
|
561
580
|
export * from "./outputadvisorservertoolitem.js";
|
|
562
581
|
export * from "./outputapplypatchcallitem.js";
|
|
563
582
|
export * from "./outputapplypatchservertoolitem.js";
|
|
583
|
+
export * from "./outputarmorblockeditem.js";
|
|
564
584
|
export * from "./outputbashservertoolitem.js";
|
|
565
585
|
export * from "./outputbrowseruseservertoolitem.js";
|
|
566
586
|
export * from "./outputcodeinterpretercallitem.js";
|
|
@@ -597,6 +617,7 @@ export * from "./outputshellcalloutputitem.js";
|
|
|
597
617
|
export * from "./outputshellservertoolitem.js";
|
|
598
618
|
export * from "./outputsubagentservertoolitem.js";
|
|
599
619
|
export * from "./outputtexteditorservertoolitem.js";
|
|
620
|
+
export * from "./outputtoolsearchcallitem.js";
|
|
600
621
|
export * from "./outputtoolsearchservertoolitem.js";
|
|
601
622
|
export * from "./outputwebfetchservertoolitem.js";
|
|
602
623
|
export * from "./outputwebsearchcallitem.js";
|
|
@@ -650,6 +671,7 @@ export * from "./providersortconfig.js";
|
|
|
650
671
|
export * from "./provisioninternresponse.js";
|
|
651
672
|
export * from "./publicendpoint.js";
|
|
652
673
|
export * from "./publicpricing.js";
|
|
674
|
+
export * from "./publicservicetier.js";
|
|
653
675
|
export * from "./quantization.js";
|
|
654
676
|
export * from "./rangecapability.js";
|
|
655
677
|
export * from "./rankingsdailyitem.js";
|
|
@@ -716,6 +738,9 @@ export * from "./shellservertoolconfig.js";
|
|
|
716
738
|
export * from "./shellservertoolengine.js";
|
|
717
739
|
export * from "./shellservertoolenvironment.js";
|
|
718
740
|
export * from "./shellservertoolopenrouter.js";
|
|
741
|
+
export * from "./signinterndaemonrequest.js";
|
|
742
|
+
export * from "./signinterndaemonresponse.js";
|
|
743
|
+
export * from "./speechinput.js";
|
|
719
744
|
export * from "./speechinputreference.js";
|
|
720
745
|
export * from "./speechinputreferenceaudio.js";
|
|
721
746
|
export * from "./speechinputreferenceaudioinput.js";
|
|
@@ -723,6 +748,7 @@ export * from "./speechinputreferenceimage.js";
|
|
|
723
748
|
export * from "./speechinputreferenceimageinput.js";
|
|
724
749
|
export * from "./speechinputreferencetext.js";
|
|
725
750
|
export * from "./speechrequest.js";
|
|
751
|
+
export * from "./speechturn.js";
|
|
726
752
|
export * from "./stopservertoolswhencondition.js";
|
|
727
753
|
export * from "./stopservertoolswhenfinishreasonis.js";
|
|
728
754
|
export * from "./stopservertoolswhenhastoolcall.js";
|
|
@@ -768,6 +794,8 @@ export * from "./tokenexchangeresponse.js";
|
|
|
768
794
|
export * from "./toolcallstatus.js";
|
|
769
795
|
export * from "./toolchoiceallowed.js";
|
|
770
796
|
export * from "./toolchoicesupport.js";
|
|
797
|
+
export * from "./toolsearchcallitem.js";
|
|
798
|
+
export * from "./toolsearchoutputitem.js";
|
|
771
799
|
export * from "./toolsearchservertool.js";
|
|
772
800
|
export * from "./toolsearchservertoolconfig.js";
|
|
773
801
|
export * from "./toomanyrequestsresponseerrordata.js";
|
|
@@ -786,7 +814,7 @@ export * from "./unifiedbenchmarkssearchrunconfig.js";
|
|
|
786
814
|
export * from "./unprocessableentityresponseerrordata.js";
|
|
787
815
|
export * from "./updatebyokkeyrequest.js";
|
|
788
816
|
export * from "./updatebyokkeyresponse.js";
|
|
789
|
-
export * from "./
|
|
817
|
+
export * from "./updateexternaluserrequest.js";
|
|
790
818
|
export * from "./updateguardrailrequest.js";
|
|
791
819
|
export * from "./updateguardrailresponse.js";
|
|
792
820
|
export * from "./updateinternrequest.js";
|
|
@@ -23,6 +23,7 @@ import { McpListToolsItem, McpListToolsItem$Outbound } from "./mcplisttoolsitem.
|
|
|
23
23
|
import { OpenAIResponsesRefusalContent, OpenAIResponsesRefusalContent$Outbound } from "./openairesponsesrefusalcontent.js";
|
|
24
24
|
import { OutputAdvisorServerToolItem, OutputAdvisorServerToolItem$Outbound } from "./outputadvisorservertoolitem.js";
|
|
25
25
|
import { OutputApplyPatchServerToolItem, OutputApplyPatchServerToolItem$Outbound } from "./outputapplypatchservertoolitem.js";
|
|
26
|
+
import { OutputArmorBlockedItem, OutputArmorBlockedItem$Outbound } from "./outputarmorblockeditem.js";
|
|
26
27
|
import { OutputBashServerToolItem, OutputBashServerToolItem$Outbound } from "./outputbashservertoolitem.js";
|
|
27
28
|
import { OutputBrowserUseServerToolItem, OutputBrowserUseServerToolItem$Outbound } from "./outputbrowseruseservertoolitem.js";
|
|
28
29
|
import { OutputCodeInterpreterCallItem, OutputCodeInterpreterCallItem$Outbound } from "./outputcodeinterpretercallitem.js";
|
|
@@ -52,6 +53,8 @@ import { ReasoningTextContent, ReasoningTextContent$Outbound } from "./reasoning
|
|
|
52
53
|
import { ResponseOutputText, ResponseOutputText$Outbound } from "./responseoutputtext.js";
|
|
53
54
|
import { ShellCallItem, ShellCallItem$Outbound } from "./shellcallitem.js";
|
|
54
55
|
import { ShellCallOutputItem, ShellCallOutputItem$Outbound } from "./shellcalloutputitem.js";
|
|
56
|
+
import { ToolSearchCallItem, ToolSearchCallItem$Outbound } from "./toolsearchcallitem.js";
|
|
57
|
+
import { ToolSearchOutputItem, ToolSearchOutputItem$Outbound } from "./toolsearchoutputitem.js";
|
|
55
58
|
export declare const InputsStatusInProgress2: {
|
|
56
59
|
readonly InProgress: "in_progress";
|
|
57
60
|
};
|
|
@@ -134,11 +137,11 @@ export type InputsMessage = {
|
|
|
134
137
|
status?: InputsStatusCompleted1 | InputsStatusIncomplete1 | InputsStatusInProgress1 | undefined;
|
|
135
138
|
type?: InputsTypeMessage | undefined;
|
|
136
139
|
};
|
|
137
|
-
export type InputsUnion1 = LocalShellCallItem | McpApprovalRequestItem | McpCallItem | FunctionCallItem | ApplyPatchCallItem | OutputFileSearchCallItem | OutputComputerCallItem | OutputDatetimeItem | McpListToolsItem | CustomToolCallItem | AgentMessageItem | ReasoningItem | FunctionCallOutputItem | ApplyPatchCallOutputItem | InputsMessage | InputsReasoning | OutputWebSearchCallItem | OutputImageGenerationCallItem | OutputCodeInterpreterCallItem | LocalShellCallOutputItem | ShellCallItem | ShellCallOutputItem | McpApprovalResponseItem | CustomToolCallOutputItem | AdditionalToolsItem | OutputWebSearchServerToolItem | OutputCodeInterpreterServerToolItem | OutputFileSearchServerToolItem | OutputImageGenerationServerToolItem | OutputBrowserUseServerToolItem | OutputBashServerToolItem | OutputTextEditorServerToolItem | OutputApplyPatchServerToolItem | OutputWebFetchServerToolItem | OutputToolSearchServerToolItem | OutputMemoryServerToolItem | OutputMcpServerToolItem | OutputSearchModelsServerToolItem | OutputFusionServerToolItem | OutputAdvisorServerToolItem | OutputSubagentServerToolItem | OutputFilesServerToolItem | OutputShellServerToolItem | CompactionItem | ItemReferenceItem | ConfigurationUpdateItem | EasyInputMessage | InputMessageItem | ContextCompactionItem;
|
|
140
|
+
export type InputsUnion1 = OutputArmorBlockedItem | LocalShellCallItem | McpApprovalRequestItem | McpCallItem | FunctionCallItem | ApplyPatchCallItem | OutputFileSearchCallItem | OutputComputerCallItem | OutputDatetimeItem | McpListToolsItem | CustomToolCallItem | AgentMessageItem | ToolSearchOutputItem | ReasoningItem | FunctionCallOutputItem | ApplyPatchCallOutputItem | InputsMessage | InputsReasoning | OutputWebSearchCallItem | OutputImageGenerationCallItem | OutputCodeInterpreterCallItem | LocalShellCallOutputItem | ShellCallItem | ShellCallOutputItem | McpApprovalResponseItem | CustomToolCallOutputItem | AdditionalToolsItem | ToolSearchCallItem | OutputWebSearchServerToolItem | OutputCodeInterpreterServerToolItem | OutputFileSearchServerToolItem | OutputImageGenerationServerToolItem | OutputBrowserUseServerToolItem | OutputBashServerToolItem | OutputTextEditorServerToolItem | OutputApplyPatchServerToolItem | OutputWebFetchServerToolItem | OutputToolSearchServerToolItem | OutputMemoryServerToolItem | OutputMcpServerToolItem | OutputSearchModelsServerToolItem | OutputFusionServerToolItem | OutputAdvisorServerToolItem | OutputSubagentServerToolItem | OutputFilesServerToolItem | OutputShellServerToolItem | CompactionItem | ItemReferenceItem | ConfigurationUpdateItem | EasyInputMessage | InputMessageItem | ContextCompactionItem;
|
|
138
141
|
/**
|
|
139
142
|
* Input for a response request - can be a string or array of items
|
|
140
143
|
*/
|
|
141
|
-
export type InputsUnion = string | Array<LocalShellCallItem | McpApprovalRequestItem | McpCallItem | FunctionCallItem | ApplyPatchCallItem | OutputFileSearchCallItem | OutputComputerCallItem | OutputDatetimeItem | McpListToolsItem | CustomToolCallItem | AgentMessageItem | ReasoningItem | FunctionCallOutputItem | ApplyPatchCallOutputItem | InputsMessage | InputsReasoning | OutputWebSearchCallItem | OutputImageGenerationCallItem | OutputCodeInterpreterCallItem | LocalShellCallOutputItem | ShellCallItem | ShellCallOutputItem | McpApprovalResponseItem | CustomToolCallOutputItem | AdditionalToolsItem | OutputWebSearchServerToolItem | OutputCodeInterpreterServerToolItem | OutputFileSearchServerToolItem | OutputImageGenerationServerToolItem | OutputBrowserUseServerToolItem | OutputBashServerToolItem | OutputTextEditorServerToolItem | OutputApplyPatchServerToolItem | OutputWebFetchServerToolItem | OutputToolSearchServerToolItem | OutputMemoryServerToolItem | OutputMcpServerToolItem | OutputSearchModelsServerToolItem | OutputFusionServerToolItem | OutputAdvisorServerToolItem | OutputSubagentServerToolItem | OutputFilesServerToolItem | OutputShellServerToolItem | CompactionItem | ItemReferenceItem | ConfigurationUpdateItem | EasyInputMessage | InputMessageItem | ContextCompactionItem>;
|
|
144
|
+
export type InputsUnion = string | Array<OutputArmorBlockedItem | LocalShellCallItem | McpApprovalRequestItem | McpCallItem | FunctionCallItem | ApplyPatchCallItem | OutputFileSearchCallItem | OutputComputerCallItem | OutputDatetimeItem | McpListToolsItem | CustomToolCallItem | AgentMessageItem | ToolSearchOutputItem | ReasoningItem | FunctionCallOutputItem | ApplyPatchCallOutputItem | InputsMessage | InputsReasoning | OutputWebSearchCallItem | OutputImageGenerationCallItem | OutputCodeInterpreterCallItem | LocalShellCallOutputItem | ShellCallItem | ShellCallOutputItem | McpApprovalResponseItem | CustomToolCallOutputItem | AdditionalToolsItem | ToolSearchCallItem | OutputWebSearchServerToolItem | OutputCodeInterpreterServerToolItem | OutputFileSearchServerToolItem | OutputImageGenerationServerToolItem | OutputBrowserUseServerToolItem | OutputBashServerToolItem | OutputTextEditorServerToolItem | OutputApplyPatchServerToolItem | OutputWebFetchServerToolItem | OutputToolSearchServerToolItem | OutputMemoryServerToolItem | OutputMcpServerToolItem | OutputSearchModelsServerToolItem | OutputFusionServerToolItem | OutputAdvisorServerToolItem | OutputSubagentServerToolItem | OutputFilesServerToolItem | OutputShellServerToolItem | CompactionItem | ItemReferenceItem | ConfigurationUpdateItem | EasyInputMessage | InputMessageItem | ContextCompactionItem>;
|
|
142
145
|
/** @internal */
|
|
143
146
|
export declare const InputsStatusInProgress2$outboundSchema: z.ZodEnum<typeof InputsStatusInProgress2>;
|
|
144
147
|
/** @internal */
|
|
@@ -213,12 +216,12 @@ export type InputsMessage$Outbound = {
|
|
|
213
216
|
export declare const InputsMessage$outboundSchema: z.ZodType<InputsMessage$Outbound, InputsMessage>;
|
|
214
217
|
export declare function inputsMessageToJSON(inputsMessage: InputsMessage): string;
|
|
215
218
|
/** @internal */
|
|
216
|
-
export type InputsUnion1$Outbound = LocalShellCallItem$Outbound | McpApprovalRequestItem$Outbound | McpCallItem$Outbound | FunctionCallItem$Outbound | ApplyPatchCallItem$Outbound | OutputFileSearchCallItem$Outbound | OutputComputerCallItem$Outbound | OutputDatetimeItem$Outbound | McpListToolsItem$Outbound | CustomToolCallItem$Outbound | AgentMessageItem$Outbound | ReasoningItem$Outbound | FunctionCallOutputItem$Outbound | ApplyPatchCallOutputItem$Outbound | InputsMessage$Outbound | InputsReasoning$Outbound | OutputWebSearchCallItem$Outbound | OutputImageGenerationCallItem$Outbound | OutputCodeInterpreterCallItem$Outbound | LocalShellCallOutputItem$Outbound | ShellCallItem$Outbound | ShellCallOutputItem$Outbound | McpApprovalResponseItem$Outbound | CustomToolCallOutputItem$Outbound | AdditionalToolsItem$Outbound | OutputWebSearchServerToolItem$Outbound | OutputCodeInterpreterServerToolItem$Outbound | OutputFileSearchServerToolItem$Outbound | OutputImageGenerationServerToolItem$Outbound | OutputBrowserUseServerToolItem$Outbound | OutputBashServerToolItem$Outbound | OutputTextEditorServerToolItem$Outbound | OutputApplyPatchServerToolItem$Outbound | OutputWebFetchServerToolItem$Outbound | OutputToolSearchServerToolItem$Outbound | OutputMemoryServerToolItem$Outbound | OutputMcpServerToolItem$Outbound | OutputSearchModelsServerToolItem$Outbound | OutputFusionServerToolItem$Outbound | OutputAdvisorServerToolItem$Outbound | OutputSubagentServerToolItem$Outbound | OutputFilesServerToolItem$Outbound | OutputShellServerToolItem$Outbound | CompactionItem$Outbound | ItemReferenceItem$Outbound | ConfigurationUpdateItem$Outbound | EasyInputMessage$Outbound | InputMessageItem$Outbound | ContextCompactionItem$Outbound;
|
|
219
|
+
export type InputsUnion1$Outbound = OutputArmorBlockedItem$Outbound | LocalShellCallItem$Outbound | McpApprovalRequestItem$Outbound | McpCallItem$Outbound | FunctionCallItem$Outbound | ApplyPatchCallItem$Outbound | OutputFileSearchCallItem$Outbound | OutputComputerCallItem$Outbound | OutputDatetimeItem$Outbound | McpListToolsItem$Outbound | CustomToolCallItem$Outbound | AgentMessageItem$Outbound | ToolSearchOutputItem$Outbound | ReasoningItem$Outbound | FunctionCallOutputItem$Outbound | ApplyPatchCallOutputItem$Outbound | InputsMessage$Outbound | InputsReasoning$Outbound | OutputWebSearchCallItem$Outbound | OutputImageGenerationCallItem$Outbound | OutputCodeInterpreterCallItem$Outbound | LocalShellCallOutputItem$Outbound | ShellCallItem$Outbound | ShellCallOutputItem$Outbound | McpApprovalResponseItem$Outbound | CustomToolCallOutputItem$Outbound | AdditionalToolsItem$Outbound | ToolSearchCallItem$Outbound | OutputWebSearchServerToolItem$Outbound | OutputCodeInterpreterServerToolItem$Outbound | OutputFileSearchServerToolItem$Outbound | OutputImageGenerationServerToolItem$Outbound | OutputBrowserUseServerToolItem$Outbound | OutputBashServerToolItem$Outbound | OutputTextEditorServerToolItem$Outbound | OutputApplyPatchServerToolItem$Outbound | OutputWebFetchServerToolItem$Outbound | OutputToolSearchServerToolItem$Outbound | OutputMemoryServerToolItem$Outbound | OutputMcpServerToolItem$Outbound | OutputSearchModelsServerToolItem$Outbound | OutputFusionServerToolItem$Outbound | OutputAdvisorServerToolItem$Outbound | OutputSubagentServerToolItem$Outbound | OutputFilesServerToolItem$Outbound | OutputShellServerToolItem$Outbound | CompactionItem$Outbound | ItemReferenceItem$Outbound | ConfigurationUpdateItem$Outbound | EasyInputMessage$Outbound | InputMessageItem$Outbound | ContextCompactionItem$Outbound;
|
|
217
220
|
/** @internal */
|
|
218
221
|
export declare const InputsUnion1$outboundSchema: z.ZodType<InputsUnion1$Outbound, InputsUnion1>;
|
|
219
222
|
export declare function inputsUnion1ToJSON(inputsUnion1: InputsUnion1): string;
|
|
220
223
|
/** @internal */
|
|
221
|
-
export type InputsUnion$Outbound = string | Array<LocalShellCallItem$Outbound | McpApprovalRequestItem$Outbound | McpCallItem$Outbound | FunctionCallItem$Outbound | ApplyPatchCallItem$Outbound | OutputFileSearchCallItem$Outbound | OutputComputerCallItem$Outbound | OutputDatetimeItem$Outbound | McpListToolsItem$Outbound | CustomToolCallItem$Outbound | AgentMessageItem$Outbound | ReasoningItem$Outbound | FunctionCallOutputItem$Outbound | ApplyPatchCallOutputItem$Outbound | InputsMessage$Outbound | InputsReasoning$Outbound | OutputWebSearchCallItem$Outbound | OutputImageGenerationCallItem$Outbound | OutputCodeInterpreterCallItem$Outbound | LocalShellCallOutputItem$Outbound | ShellCallItem$Outbound | ShellCallOutputItem$Outbound | McpApprovalResponseItem$Outbound | CustomToolCallOutputItem$Outbound | AdditionalToolsItem$Outbound | OutputWebSearchServerToolItem$Outbound | OutputCodeInterpreterServerToolItem$Outbound | OutputFileSearchServerToolItem$Outbound | OutputImageGenerationServerToolItem$Outbound | OutputBrowserUseServerToolItem$Outbound | OutputBashServerToolItem$Outbound | OutputTextEditorServerToolItem$Outbound | OutputApplyPatchServerToolItem$Outbound | OutputWebFetchServerToolItem$Outbound | OutputToolSearchServerToolItem$Outbound | OutputMemoryServerToolItem$Outbound | OutputMcpServerToolItem$Outbound | OutputSearchModelsServerToolItem$Outbound | OutputFusionServerToolItem$Outbound | OutputAdvisorServerToolItem$Outbound | OutputSubagentServerToolItem$Outbound | OutputFilesServerToolItem$Outbound | OutputShellServerToolItem$Outbound | CompactionItem$Outbound | ItemReferenceItem$Outbound | ConfigurationUpdateItem$Outbound | EasyInputMessage$Outbound | InputMessageItem$Outbound | ContextCompactionItem$Outbound>;
|
|
224
|
+
export type InputsUnion$Outbound = string | Array<OutputArmorBlockedItem$Outbound | LocalShellCallItem$Outbound | McpApprovalRequestItem$Outbound | McpCallItem$Outbound | FunctionCallItem$Outbound | ApplyPatchCallItem$Outbound | OutputFileSearchCallItem$Outbound | OutputComputerCallItem$Outbound | OutputDatetimeItem$Outbound | McpListToolsItem$Outbound | CustomToolCallItem$Outbound | AgentMessageItem$Outbound | ToolSearchOutputItem$Outbound | ReasoningItem$Outbound | FunctionCallOutputItem$Outbound | ApplyPatchCallOutputItem$Outbound | InputsMessage$Outbound | InputsReasoning$Outbound | OutputWebSearchCallItem$Outbound | OutputImageGenerationCallItem$Outbound | OutputCodeInterpreterCallItem$Outbound | LocalShellCallOutputItem$Outbound | ShellCallItem$Outbound | ShellCallOutputItem$Outbound | McpApprovalResponseItem$Outbound | CustomToolCallOutputItem$Outbound | AdditionalToolsItem$Outbound | ToolSearchCallItem$Outbound | OutputWebSearchServerToolItem$Outbound | OutputCodeInterpreterServerToolItem$Outbound | OutputFileSearchServerToolItem$Outbound | OutputImageGenerationServerToolItem$Outbound | OutputBrowserUseServerToolItem$Outbound | OutputBashServerToolItem$Outbound | OutputTextEditorServerToolItem$Outbound | OutputApplyPatchServerToolItem$Outbound | OutputWebFetchServerToolItem$Outbound | OutputToolSearchServerToolItem$Outbound | OutputMemoryServerToolItem$Outbound | OutputMcpServerToolItem$Outbound | OutputSearchModelsServerToolItem$Outbound | OutputFusionServerToolItem$Outbound | OutputAdvisorServerToolItem$Outbound | OutputSubagentServerToolItem$Outbound | OutputFilesServerToolItem$Outbound | OutputShellServerToolItem$Outbound | CompactionItem$Outbound | ItemReferenceItem$Outbound | ConfigurationUpdateItem$Outbound | EasyInputMessage$Outbound | InputMessageItem$Outbound | ContextCompactionItem$Outbound>;
|
|
222
225
|
/** @internal */
|
|
223
226
|
export declare const InputsUnion$outboundSchema: z.ZodType<InputsUnion$Outbound, InputsUnion>;
|
|
224
227
|
export declare function inputsUnionToJSON(inputsUnion: InputsUnion): string;
|