@openrouter/sdk 1.4.25 → 1.5.1
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/organizationGetSettings.d.ts +1 -1
- package/esm/funcs/organizationGetSettings.js +2 -2
- package/esm/funcs/organizationListMembers.d.ts +1 -1
- package/esm/funcs/organizationListMembers.js +2 -2
- package/esm/funcs/organizationUpdateSettings.d.ts +1 -1
- package/esm/funcs/organizationUpdateSettings.js +2 -2
- 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/interndaemonaccess.d.ts +11 -1
- package/esm/models/interndaemonaccess.js +8 -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/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/index.d.ts +10 -5
- package/esm/models/operations/index.js +10 -5
- package/esm/models/operations/list.d.ts +5 -0
- package/esm/models/operations/list.js +2 -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 +5 -0
- package/esm/models/operations/updatekeys.js +2 -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 +8 -8
- 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,181 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: cce8243d36bb
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
import { remap as remap$ } from "../lib/primitives.js";
|
|
7
|
+
import * as openEnums from "../types/enums.js";
|
|
8
|
+
import { AdvisorServerToolOpenRouter$outboundSchema, } from "./advisorservertoolopenrouter.js";
|
|
9
|
+
import { ApplyPatchServerTool$outboundSchema, } from "./applypatchservertool.js";
|
|
10
|
+
import { ApplyPatchServerToolOpenRouter$outboundSchema, } from "./applypatchservertoolopenrouter.js";
|
|
11
|
+
import { BashServerTool$outboundSchema, } from "./bashservertool.js";
|
|
12
|
+
import { CodeInterpreterServerTool$outboundSchema, } from "./codeinterpreterservertool.js";
|
|
13
|
+
import { CodexLocalShellTool$outboundSchema, } from "./codexlocalshelltool.js";
|
|
14
|
+
import { ComputerUseServerTool$outboundSchema, } from "./computeruseservertool.js";
|
|
15
|
+
import { CustomTool$outboundSchema, } from "./customtool.js";
|
|
16
|
+
import { DatetimeServerTool$outboundSchema, } from "./datetimeservertool.js";
|
|
17
|
+
import { FileSearchServerTool$outboundSchema, } from "./filesearchservertool.js";
|
|
18
|
+
import { FilesServerTool$outboundSchema, } from "./filesservertool.js";
|
|
19
|
+
import { FusionServerToolOpenRouter$outboundSchema, } from "./fusionservertoolopenrouter.js";
|
|
20
|
+
import { ImageGenerationServerTool$outboundSchema, } from "./imagegenerationservertool.js";
|
|
21
|
+
import { ImageGenerationServerToolOpenRouter$outboundSchema, } from "./imagegenerationservertoolopenrouter.js";
|
|
22
|
+
import { LegacyWebSearchServerTool$outboundSchema, } from "./legacywebsearchservertool.js";
|
|
23
|
+
import { McpServerTool$outboundSchema, } from "./mcpservertool.js";
|
|
24
|
+
import { NamespaceTool$outboundSchema, } from "./namespacetool.js";
|
|
25
|
+
import { Preview20250311WebSearchServerTool$outboundSchema, } from "./preview20250311websearchservertool.js";
|
|
26
|
+
import { PreviewWebSearchServerTool$outboundSchema, } from "./previewwebsearchservertool.js";
|
|
27
|
+
import { SearchModelsServerToolOpenRouter$outboundSchema, } from "./searchmodelsservertoolopenrouter.js";
|
|
28
|
+
import { ShellServerTool$outboundSchema, } from "./shellservertool.js";
|
|
29
|
+
import { ShellServerToolOpenRouter$outboundSchema, } from "./shellservertoolopenrouter.js";
|
|
30
|
+
import { SubagentServerToolOpenRouter$outboundSchema, } from "./subagentservertoolopenrouter.js";
|
|
31
|
+
import { ToolSearchServerTool$outboundSchema, } from "./toolsearchservertool.js";
|
|
32
|
+
import { WebFetchServerTool$outboundSchema, } from "./webfetchservertool.js";
|
|
33
|
+
import { WebSearchServerTool$outboundSchema, } from "./websearchservertool.js";
|
|
34
|
+
import { WebSearchServerToolOpenRouter$outboundSchema, } from "./websearchservertoolopenrouter.js";
|
|
35
|
+
export const ToolSearchOutputItemExecution = {
|
|
36
|
+
Server: "server",
|
|
37
|
+
Client: "client",
|
|
38
|
+
};
|
|
39
|
+
export const ToolSearchOutputItemStatus = {
|
|
40
|
+
InProgress: "in_progress",
|
|
41
|
+
Completed: "completed",
|
|
42
|
+
Incomplete: "incomplete",
|
|
43
|
+
};
|
|
44
|
+
export const ToolSearchOutputItemTypeFunction = {
|
|
45
|
+
Function: "function",
|
|
46
|
+
};
|
|
47
|
+
export const ToolSearchOutputItemAllowedCaller = {
|
|
48
|
+
Direct: "direct",
|
|
49
|
+
Programmatic: "programmatic",
|
|
50
|
+
};
|
|
51
|
+
export const TypeToolSearchOutput = {
|
|
52
|
+
ToolSearchOutput: "tool_search_output",
|
|
53
|
+
};
|
|
54
|
+
/** @internal */
|
|
55
|
+
export const ToolSearchOutputItemExecution$outboundSchema = openEnums.outboundSchema(ToolSearchOutputItemExecution);
|
|
56
|
+
/** @internal */
|
|
57
|
+
export const ToolSearchOutputItemStatus$outboundSchema = openEnums.outboundSchema(ToolSearchOutputItemStatus);
|
|
58
|
+
/** @internal */
|
|
59
|
+
export const ToolSearchOutputItemTool$outboundSchema = z.object({
|
|
60
|
+
type: z.string(),
|
|
61
|
+
additionalProperties: z.record(z.string(), z.any()).optional(),
|
|
62
|
+
}).transform((v) => {
|
|
63
|
+
return {
|
|
64
|
+
...v.additionalProperties,
|
|
65
|
+
...remap$(v, {
|
|
66
|
+
additionalProperties: null,
|
|
67
|
+
}),
|
|
68
|
+
};
|
|
69
|
+
});
|
|
70
|
+
export function toolSearchOutputItemToolToJSON(toolSearchOutputItemTool) {
|
|
71
|
+
return JSON.stringify(ToolSearchOutputItemTool$outboundSchema.parse(toolSearchOutputItemTool));
|
|
72
|
+
}
|
|
73
|
+
/** @internal */
|
|
74
|
+
export const ToolSearchOutputItemTypeFunction$outboundSchema = z.enum(ToolSearchOutputItemTypeFunction);
|
|
75
|
+
/** @internal */
|
|
76
|
+
export const ToolSearchOutputItemAllowedCaller$outboundSchema = openEnums.outboundSchema(ToolSearchOutputItemAllowedCaller);
|
|
77
|
+
/** @internal */
|
|
78
|
+
export const ToolSearchOutputItemToolFunction$outboundSchema = z.object({
|
|
79
|
+
description: z.nullable(z.string()).optional(),
|
|
80
|
+
name: z.string(),
|
|
81
|
+
parameters: z.nullable(z.record(z.string(), z.any())),
|
|
82
|
+
strict: z.nullable(z.boolean()).optional(),
|
|
83
|
+
type: ToolSearchOutputItemTypeFunction$outboundSchema,
|
|
84
|
+
allowedCallers: z.nullable(z.array(ToolSearchOutputItemAllowedCaller$outboundSchema)).optional(),
|
|
85
|
+
async: z.boolean().optional(),
|
|
86
|
+
deferLoading: z.boolean().optional(),
|
|
87
|
+
outputSchema: z.nullable(z.record(z.string(), z.any())).optional(),
|
|
88
|
+
}).transform((v) => {
|
|
89
|
+
return remap$(v, {
|
|
90
|
+
allowedCallers: "allowed_callers",
|
|
91
|
+
deferLoading: "defer_loading",
|
|
92
|
+
outputSchema: "output_schema",
|
|
93
|
+
});
|
|
94
|
+
});
|
|
95
|
+
export function toolSearchOutputItemToolFunctionToJSON(toolSearchOutputItemToolFunction) {
|
|
96
|
+
return JSON.stringify(ToolSearchOutputItemToolFunction$outboundSchema.parse(toolSearchOutputItemToolFunction));
|
|
97
|
+
}
|
|
98
|
+
/** @internal */
|
|
99
|
+
export const ToolSearchOutputItemToolUnion$outboundSchema = z.union([
|
|
100
|
+
ComputerUseServerTool$outboundSchema,
|
|
101
|
+
NamespaceTool$outboundSchema,
|
|
102
|
+
z.lazy(() => ToolSearchOutputItemToolFunction$outboundSchema),
|
|
103
|
+
FileSearchServerTool$outboundSchema,
|
|
104
|
+
CodeInterpreterServerTool$outboundSchema,
|
|
105
|
+
McpServerTool$outboundSchema,
|
|
106
|
+
CustomTool$outboundSchema,
|
|
107
|
+
PreviewWebSearchServerTool$outboundSchema,
|
|
108
|
+
Preview20250311WebSearchServerTool$outboundSchema,
|
|
109
|
+
LegacyWebSearchServerTool$outboundSchema,
|
|
110
|
+
WebSearchServerTool$outboundSchema,
|
|
111
|
+
ImageGenerationServerTool$outboundSchema,
|
|
112
|
+
CodexLocalShellTool$outboundSchema,
|
|
113
|
+
ShellServerTool$outboundSchema,
|
|
114
|
+
ApplyPatchServerTool$outboundSchema,
|
|
115
|
+
AdvisorServerToolOpenRouter$outboundSchema,
|
|
116
|
+
SubagentServerToolOpenRouter$outboundSchema,
|
|
117
|
+
DatetimeServerTool$outboundSchema,
|
|
118
|
+
FilesServerTool$outboundSchema,
|
|
119
|
+
FusionServerToolOpenRouter$outboundSchema,
|
|
120
|
+
ImageGenerationServerToolOpenRouter$outboundSchema,
|
|
121
|
+
SearchModelsServerToolOpenRouter$outboundSchema,
|
|
122
|
+
WebFetchServerTool$outboundSchema,
|
|
123
|
+
WebSearchServerToolOpenRouter$outboundSchema,
|
|
124
|
+
ApplyPatchServerToolOpenRouter$outboundSchema,
|
|
125
|
+
BashServerTool$outboundSchema,
|
|
126
|
+
ShellServerToolOpenRouter$outboundSchema,
|
|
127
|
+
ToolSearchServerTool$outboundSchema,
|
|
128
|
+
z.lazy(() => ToolSearchOutputItemTool$outboundSchema),
|
|
129
|
+
]);
|
|
130
|
+
export function toolSearchOutputItemToolUnionToJSON(toolSearchOutputItemToolUnion) {
|
|
131
|
+
return JSON.stringify(ToolSearchOutputItemToolUnion$outboundSchema.parse(toolSearchOutputItemToolUnion));
|
|
132
|
+
}
|
|
133
|
+
/** @internal */
|
|
134
|
+
export const TypeToolSearchOutput$outboundSchema = z.enum(TypeToolSearchOutput);
|
|
135
|
+
/** @internal */
|
|
136
|
+
export const ToolSearchOutputItem$outboundSchema = z.object({
|
|
137
|
+
callId: z.string(),
|
|
138
|
+
execution: ToolSearchOutputItemExecution$outboundSchema,
|
|
139
|
+
id: z.nullable(z.string()).optional(),
|
|
140
|
+
status: z.nullable(ToolSearchOutputItemStatus$outboundSchema).optional(),
|
|
141
|
+
tools: z.array(z.union([
|
|
142
|
+
ComputerUseServerTool$outboundSchema,
|
|
143
|
+
NamespaceTool$outboundSchema,
|
|
144
|
+
z.lazy(() => ToolSearchOutputItemToolFunction$outboundSchema),
|
|
145
|
+
FileSearchServerTool$outboundSchema,
|
|
146
|
+
CodeInterpreterServerTool$outboundSchema,
|
|
147
|
+
McpServerTool$outboundSchema,
|
|
148
|
+
CustomTool$outboundSchema,
|
|
149
|
+
PreviewWebSearchServerTool$outboundSchema,
|
|
150
|
+
Preview20250311WebSearchServerTool$outboundSchema,
|
|
151
|
+
LegacyWebSearchServerTool$outboundSchema,
|
|
152
|
+
WebSearchServerTool$outboundSchema,
|
|
153
|
+
ImageGenerationServerTool$outboundSchema,
|
|
154
|
+
CodexLocalShellTool$outboundSchema,
|
|
155
|
+
ShellServerTool$outboundSchema,
|
|
156
|
+
ApplyPatchServerTool$outboundSchema,
|
|
157
|
+
AdvisorServerToolOpenRouter$outboundSchema,
|
|
158
|
+
SubagentServerToolOpenRouter$outboundSchema,
|
|
159
|
+
DatetimeServerTool$outboundSchema,
|
|
160
|
+
FilesServerTool$outboundSchema,
|
|
161
|
+
FusionServerToolOpenRouter$outboundSchema,
|
|
162
|
+
ImageGenerationServerToolOpenRouter$outboundSchema,
|
|
163
|
+
SearchModelsServerToolOpenRouter$outboundSchema,
|
|
164
|
+
WebFetchServerTool$outboundSchema,
|
|
165
|
+
WebSearchServerToolOpenRouter$outboundSchema,
|
|
166
|
+
ApplyPatchServerToolOpenRouter$outboundSchema,
|
|
167
|
+
BashServerTool$outboundSchema,
|
|
168
|
+
ShellServerToolOpenRouter$outboundSchema,
|
|
169
|
+
ToolSearchServerTool$outboundSchema,
|
|
170
|
+
z.lazy(() => ToolSearchOutputItemTool$outboundSchema),
|
|
171
|
+
])),
|
|
172
|
+
type: TypeToolSearchOutput$outboundSchema,
|
|
173
|
+
}).transform((v) => {
|
|
174
|
+
return remap$(v, {
|
|
175
|
+
callId: "call_id",
|
|
176
|
+
});
|
|
177
|
+
});
|
|
178
|
+
export function toolSearchOutputItemToJSON(toolSearchOutputItem) {
|
|
179
|
+
return JSON.stringify(ToolSearchOutputItem$outboundSchema.parse(toolSearchOutputItem));
|
|
180
|
+
}
|
|
181
|
+
//# sourceMappingURL=toolsearchoutputitem.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as z from "zod/v4";
|
|
2
2
|
import { OpenEnum } from "../types/enums.js";
|
|
3
3
|
/**
|
|
4
|
-
* Your declaration of the data region in which the upstream provider account behind this credential processes requests, used for routing eligibility on OpenRouter's regional hosts. `null` means undeclared and `global` is behaviorally identical: the credential follows the region OpenRouter records for the endpoint. `europe` or `us` lets requests to `eu.openrouter.ai` or `us.openrouter.ai` use this credential for that provider (private endpoints, endpoints pinned to another cloud region, cross-region inference profiles and video models are excluded). Self-declared and not verified by OpenRouter. For OpenAI and Fireworks the region comes from the key material (a `{"api_key": ..., "region": ...}` key), so the value must match the key's region. Among other providers,
|
|
4
|
+
* Your declaration of the data region in which the upstream provider account behind this credential processes requests, used for routing eligibility on OpenRouter's regional hosts. `null` means undeclared and `global` is behaviorally identical: the credential follows the region OpenRouter records for the endpoint. `europe` or `us` lets requests to `eu.openrouter.ai` or `us.openrouter.ai` use this credential for that provider (private endpoints, endpoints pinned to another cloud region, cross-region inference profiles and video models are excluded). Self-declared and not verified by OpenRouter. For OpenAI and Fireworks the region comes from the key material (a `{"api_key": ..., "region": ...}` key), so the value must match the key's region. Among other providers, Azure accepts `europe` or `us` and Anthropic accepts `us` only. Omit to leave the stored value unchanged (rotating an OpenAI or Fireworks `key` re-derives it from the new key); `null` clears the declaration.
|
|
5
5
|
*/
|
|
6
6
|
export declare const UpdateBYOKKeyRequestDeclaredRegion: {
|
|
7
7
|
readonly Global: "global";
|
|
@@ -9,7 +9,7 @@ export declare const UpdateBYOKKeyRequestDeclaredRegion: {
|
|
|
9
9
|
readonly Us: "us";
|
|
10
10
|
};
|
|
11
11
|
/**
|
|
12
|
-
* Your declaration of the data region in which the upstream provider account behind this credential processes requests, used for routing eligibility on OpenRouter's regional hosts. `null` means undeclared and `global` is behaviorally identical: the credential follows the region OpenRouter records for the endpoint. `europe` or `us` lets requests to `eu.openrouter.ai` or `us.openrouter.ai` use this credential for that provider (private endpoints, endpoints pinned to another cloud region, cross-region inference profiles and video models are excluded). Self-declared and not verified by OpenRouter. For OpenAI and Fireworks the region comes from the key material (a `{"api_key": ..., "region": ...}` key), so the value must match the key's region. Among other providers,
|
|
12
|
+
* Your declaration of the data region in which the upstream provider account behind this credential processes requests, used for routing eligibility on OpenRouter's regional hosts. `null` means undeclared and `global` is behaviorally identical: the credential follows the region OpenRouter records for the endpoint. `europe` or `us` lets requests to `eu.openrouter.ai` or `us.openrouter.ai` use this credential for that provider (private endpoints, endpoints pinned to another cloud region, cross-region inference profiles and video models are excluded). Self-declared and not verified by OpenRouter. For OpenAI and Fireworks the region comes from the key material (a `{"api_key": ..., "region": ...}` key), so the value must match the key's region. Among other providers, Azure accepts `europe` or `us` and Anthropic accepts `us` only. Omit to leave the stored value unchanged (rotating an OpenAI or Fireworks `key` re-derives it from the new key); `null` clears the declaration.
|
|
13
13
|
*/
|
|
14
14
|
export type UpdateBYOKKeyRequestDeclaredRegion = OpenEnum<typeof UpdateBYOKKeyRequestDeclaredRegion>;
|
|
15
15
|
export type UpdateBYOKKeyRequest = {
|
|
@@ -26,7 +26,7 @@ export type UpdateBYOKKeyRequest = {
|
|
|
26
26
|
*/
|
|
27
27
|
allowedUserIds?: Array<string> | null | undefined;
|
|
28
28
|
/**
|
|
29
|
-
* Your declaration of the data region in which the upstream provider account behind this credential processes requests, used for routing eligibility on OpenRouter's regional hosts. `null` means undeclared and `global` is behaviorally identical: the credential follows the region OpenRouter records for the endpoint. `europe` or `us` lets requests to `eu.openrouter.ai` or `us.openrouter.ai` use this credential for that provider (private endpoints, endpoints pinned to another cloud region, cross-region inference profiles and video models are excluded). Self-declared and not verified by OpenRouter. For OpenAI and Fireworks the region comes from the key material (a `{"api_key": ..., "region": ...}` key), so the value must match the key's region. Among other providers,
|
|
29
|
+
* Your declaration of the data region in which the upstream provider account behind this credential processes requests, used for routing eligibility on OpenRouter's regional hosts. `null` means undeclared and `global` is behaviorally identical: the credential follows the region OpenRouter records for the endpoint. `europe` or `us` lets requests to `eu.openrouter.ai` or `us.openrouter.ai` use this credential for that provider (private endpoints, endpoints pinned to another cloud region, cross-region inference profiles and video models are excluded). Self-declared and not verified by OpenRouter. For OpenAI and Fireworks the region comes from the key material (a `{"api_key": ..., "region": ...}` key), so the value must match the key's region. Among other providers, Azure accepts `europe` or `us` and Anthropic accepts `us` only. Omit to leave the stored value unchanged (rotating an OpenAI or Fireworks `key` re-derives it from the new key); `null` clears the declaration.
|
|
30
30
|
*/
|
|
31
31
|
declaredRegion?: UpdateBYOKKeyRequestDeclaredRegion | null | undefined;
|
|
32
32
|
/**
|
|
@@ -6,7 +6,7 @@ import * as z from "zod/v4";
|
|
|
6
6
|
import { remap as remap$ } from "../lib/primitives.js";
|
|
7
7
|
import * as openEnums from "../types/enums.js";
|
|
8
8
|
/**
|
|
9
|
-
* Your declaration of the data region in which the upstream provider account behind this credential processes requests, used for routing eligibility on OpenRouter's regional hosts. `null` means undeclared and `global` is behaviorally identical: the credential follows the region OpenRouter records for the endpoint. `europe` or `us` lets requests to `eu.openrouter.ai` or `us.openrouter.ai` use this credential for that provider (private endpoints, endpoints pinned to another cloud region, cross-region inference profiles and video models are excluded). Self-declared and not verified by OpenRouter. For OpenAI and Fireworks the region comes from the key material (a `{"api_key": ..., "region": ...}` key), so the value must match the key's region. Among other providers,
|
|
9
|
+
* Your declaration of the data region in which the upstream provider account behind this credential processes requests, used for routing eligibility on OpenRouter's regional hosts. `null` means undeclared and `global` is behaviorally identical: the credential follows the region OpenRouter records for the endpoint. `europe` or `us` lets requests to `eu.openrouter.ai` or `us.openrouter.ai` use this credential for that provider (private endpoints, endpoints pinned to another cloud region, cross-region inference profiles and video models are excluded). Self-declared and not verified by OpenRouter. For OpenAI and Fireworks the region comes from the key material (a `{"api_key": ..., "region": ...}` key), so the value must match the key's region. Among other providers, Azure accepts `europe` or `us` and Anthropic accepts `us` only. Omit to leave the stored value unchanged (rotating an OpenAI or Fireworks `key` re-derives it from the new key); `null` clears the declaration.
|
|
10
10
|
*/
|
|
11
11
|
export const UpdateBYOKKeyRequestDeclaredRegion = {
|
|
12
12
|
Global: "global",
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
|
+
export type UpdateExternalUserRequest = {
|
|
3
|
+
/**
|
|
4
|
+
* Registration state only; does not enforce inference access.
|
|
5
|
+
*/
|
|
6
|
+
isActive: boolean;
|
|
7
|
+
};
|
|
8
|
+
/** @internal */
|
|
9
|
+
export type UpdateExternalUserRequest$Outbound = {
|
|
10
|
+
is_active: boolean;
|
|
11
|
+
};
|
|
12
|
+
/** @internal */
|
|
13
|
+
export declare const UpdateExternalUserRequest$outboundSchema: z.ZodType<UpdateExternalUserRequest$Outbound, UpdateExternalUserRequest>;
|
|
14
|
+
export declare function updateExternalUserRequestToJSON(updateExternalUserRequest: UpdateExternalUserRequest): string;
|
|
15
|
+
//# sourceMappingURL=updateexternaluserrequest.d.ts.map
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 61f141e8739a
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
import { remap as remap$ } from "../lib/primitives.js";
|
|
7
|
+
/** @internal */
|
|
8
|
+
export const UpdateExternalUserRequest$outboundSchema = z.object({
|
|
9
|
+
isActive: z.boolean(),
|
|
10
|
+
}).transform((v) => {
|
|
11
|
+
return remap$(v, {
|
|
12
|
+
isActive: "is_active",
|
|
13
|
+
});
|
|
14
|
+
});
|
|
15
|
+
export function updateExternalUserRequestToJSON(updateExternalUserRequest) {
|
|
16
|
+
return JSON.stringify(UpdateExternalUserRequest$outboundSchema.parse(updateExternalUserRequest));
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=updateexternaluserrequest.js.map
|
|
@@ -4,6 +4,14 @@ import { ContentFilterEntry, ContentFilterEntry$Outbound } from "./contentfilter
|
|
|
4
4
|
import { GuardrailDataRegion } from "./guardraildataregion.js";
|
|
5
5
|
import { GuardrailInterval } from "./guardrailinterval.js";
|
|
6
6
|
export type UpdateGuardrailRequest = {
|
|
7
|
+
/**
|
|
8
|
+
* 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.
|
|
9
|
+
*/
|
|
10
|
+
allowSafetyRetentionGoogle?: boolean | null | undefined;
|
|
11
|
+
/**
|
|
12
|
+
* 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.
|
|
13
|
+
*/
|
|
14
|
+
allowSafetyRetentionOther?: boolean | null | undefined;
|
|
7
15
|
/**
|
|
8
16
|
* 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. An empty array is rejected.
|
|
9
17
|
*/
|
|
@@ -93,6 +101,8 @@ export type UpdateGuardrailRequest = {
|
|
|
93
101
|
};
|
|
94
102
|
/** @internal */
|
|
95
103
|
export type UpdateGuardrailRequest$Outbound = {
|
|
104
|
+
allow_safety_retention_google?: boolean | null | undefined;
|
|
105
|
+
allow_safety_retention_other?: boolean | null | undefined;
|
|
96
106
|
allowed_data_regions?: Array<string> | null | undefined;
|
|
97
107
|
allowed_models?: Array<string> | null | undefined;
|
|
98
108
|
allowed_providers?: Array<string> | null | undefined;
|
|
@@ -10,6 +10,8 @@ import { GuardrailDataRegion$outboundSchema, } from "./guardraildataregion.js";
|
|
|
10
10
|
import { GuardrailInterval$outboundSchema, } from "./guardrailinterval.js";
|
|
11
11
|
/** @internal */
|
|
12
12
|
export const UpdateGuardrailRequest$outboundSchema = z.object({
|
|
13
|
+
allowSafetyRetentionGoogle: z.nullable(z.boolean()).optional(),
|
|
14
|
+
allowSafetyRetentionOther: z.nullable(z.boolean()).optional(),
|
|
13
15
|
allowedDataRegions: z.nullable(z.array(GuardrailDataRegion$outboundSchema))
|
|
14
16
|
.optional(),
|
|
15
17
|
allowedModels: z.nullable(z.array(z.string())).optional(),
|
|
@@ -35,6 +37,8 @@ export const UpdateGuardrailRequest$outboundSchema = z.object({
|
|
|
35
37
|
resetInterval: z.nullable(GuardrailInterval$outboundSchema).optional(),
|
|
36
38
|
}).transform((v) => {
|
|
37
39
|
return remap$(v, {
|
|
40
|
+
allowSafetyRetentionGoogle: "allow_safety_retention_google",
|
|
41
|
+
allowSafetyRetentionOther: "allow_safety_retention_other",
|
|
38
42
|
allowedDataRegions: "allowed_data_regions",
|
|
39
43
|
allowedModels: "allowed_models",
|
|
40
44
|
allowedProviders: "allowed_providers",
|
|
@@ -10,6 +10,10 @@ export type UpdateObservabilityDestinationRequest = {
|
|
|
10
10
|
* Whether to include cost and billing generation metadata.
|
|
11
11
|
*/
|
|
12
12
|
broadcastGenerationCost?: boolean | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* Beta. When true, include openrouter_cost_allocation: per-token-kind usage and cost, sent only when they reconcile with the billed cost.
|
|
15
|
+
*/
|
|
16
|
+
broadcastGenerationCostAllocation?: boolean | undefined;
|
|
13
17
|
/**
|
|
14
18
|
* Whether to include identity generation metadata.
|
|
15
19
|
*/
|
|
@@ -50,6 +54,7 @@ export type UpdateObservabilityDestinationRequest = {
|
|
|
50
54
|
export type UpdateObservabilityDestinationRequest$Outbound = {
|
|
51
55
|
api_key_hashes?: Array<string> | null | undefined;
|
|
52
56
|
broadcast_generation_cost?: boolean | undefined;
|
|
57
|
+
broadcast_generation_cost_allocation?: boolean | undefined;
|
|
53
58
|
broadcast_generation_identity?: boolean | undefined;
|
|
54
59
|
broadcast_generation_request_context?: boolean | undefined;
|
|
55
60
|
config?: {
|
|
@@ -10,6 +10,7 @@ import { ObservabilityFilterRulesConfigNullable$outboundSchema, } from "./observ
|
|
|
10
10
|
export const UpdateObservabilityDestinationRequest$outboundSchema = z.object({
|
|
11
11
|
apiKeyHashes: z.nullable(z.array(z.string())).optional(),
|
|
12
12
|
broadcastGenerationCost: z.boolean().optional(),
|
|
13
|
+
broadcastGenerationCostAllocation: z.boolean().optional(),
|
|
13
14
|
broadcastGenerationIdentity: z.boolean().optional(),
|
|
14
15
|
broadcastGenerationRequestContext: z.boolean().optional(),
|
|
15
16
|
config: z.record(z.string(), z.any()).optional(),
|
|
@@ -24,6 +25,7 @@ export const UpdateObservabilityDestinationRequest$outboundSchema = z.object({
|
|
|
24
25
|
return remap$(v, {
|
|
25
26
|
apiKeyHashes: "api_key_hashes",
|
|
26
27
|
broadcastGenerationCost: "broadcast_generation_cost",
|
|
28
|
+
broadcastGenerationCostAllocation: "broadcast_generation_cost_allocation",
|
|
27
29
|
broadcastGenerationIdentity: "broadcast_generation_identity",
|
|
28
30
|
broadcastGenerationRequestContext: "broadcast_generation_request_context",
|
|
29
31
|
filterRules: "filter_rules",
|
|
@@ -325,6 +325,9 @@ export type VideoGenerationRequestOptions = {
|
|
|
325
325
|
parasail?: {
|
|
326
326
|
[k: string]: any;
|
|
327
327
|
} | undefined;
|
|
328
|
+
paretoAlpha?: {
|
|
329
|
+
[k: string]: any;
|
|
330
|
+
} | undefined;
|
|
328
331
|
perceptron?: {
|
|
329
332
|
[k: string]: any;
|
|
330
333
|
} | undefined;
|
|
@@ -349,6 +352,9 @@ export type VideoGenerationRequestOptions = {
|
|
|
349
352
|
recursal?: {
|
|
350
353
|
[k: string]: any;
|
|
351
354
|
} | undefined;
|
|
355
|
+
recursive?: {
|
|
356
|
+
[k: string]: any;
|
|
357
|
+
} | undefined;
|
|
352
358
|
reflection?: {
|
|
353
359
|
[k: string]: any;
|
|
354
360
|
} | undefined;
|
|
@@ -862,6 +868,9 @@ export type VideoGenerationRequestOptions$Outbound = {
|
|
|
862
868
|
parasail?: {
|
|
863
869
|
[k: string]: any;
|
|
864
870
|
} | undefined;
|
|
871
|
+
"pareto-alpha"?: {
|
|
872
|
+
[k: string]: any;
|
|
873
|
+
} | undefined;
|
|
865
874
|
perceptron?: {
|
|
866
875
|
[k: string]: any;
|
|
867
876
|
} | undefined;
|
|
@@ -886,6 +895,9 @@ export type VideoGenerationRequestOptions$Outbound = {
|
|
|
886
895
|
recursal?: {
|
|
887
896
|
[k: string]: any;
|
|
888
897
|
} | undefined;
|
|
898
|
+
recursive?: {
|
|
899
|
+
[k: string]: any;
|
|
900
|
+
} | undefined;
|
|
889
901
|
reflection?: {
|
|
890
902
|
[k: string]: any;
|
|
891
903
|
} | undefined;
|
|
@@ -139,6 +139,7 @@ export const VideoGenerationRequestOptions$outboundSchema = z.object({
|
|
|
139
139
|
openInference: z.record(z.string(), z.any()).optional(),
|
|
140
140
|
openai: z.record(z.string(), z.any()).optional(),
|
|
141
141
|
parasail: z.record(z.string(), z.any()).optional(),
|
|
142
|
+
paretoAlpha: z.record(z.string(), z.any()).optional(),
|
|
142
143
|
perceptron: z.record(z.string(), z.any()).optional(),
|
|
143
144
|
perplexity: z.record(z.string(), z.any()).optional(),
|
|
144
145
|
phala: z.record(z.string(), z.any()).optional(),
|
|
@@ -147,6 +148,7 @@ export const VideoGenerationRequestOptions$outboundSchema = z.object({
|
|
|
147
148
|
quiver: z.record(z.string(), z.any()).optional(),
|
|
148
149
|
recraft: z.record(z.string(), z.any()).optional(),
|
|
149
150
|
recursal: z.record(z.string(), z.any()).optional(),
|
|
151
|
+
recursive: z.record(z.string(), z.any()).optional(),
|
|
150
152
|
reflection: z.record(z.string(), z.any()).optional(),
|
|
151
153
|
reka: z.record(z.string(), z.any()).optional(),
|
|
152
154
|
relace: z.record(z.string(), z.any()).optional(),
|
|
@@ -210,6 +212,7 @@ export const VideoGenerationRequestOptions$outboundSchema = z.object({
|
|
|
210
212
|
nearAi: "near-ai",
|
|
211
213
|
nexAgi: "nex-agi",
|
|
212
214
|
openInference: "open-inference",
|
|
215
|
+
paretoAlpha: "pareto-alpha",
|
|
213
216
|
sailResearch: "sail-research",
|
|
214
217
|
sakanaAi: "sakana-ai",
|
|
215
218
|
sambanovaCloaked: "sambanova-cloaked",
|
|
@@ -14,6 +14,10 @@ export declare const VideoGenerationResponseStatus: {
|
|
|
14
14
|
export type VideoGenerationResponseStatus = OpenEnum<typeof VideoGenerationResponseStatus>;
|
|
15
15
|
export type VideoGenerationResponse = {
|
|
16
16
|
error?: string | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* Unix timestamp in seconds when OpenRouter's stored copy of the outputs stops being available. Present only when that copy exists.
|
|
19
|
+
*/
|
|
20
|
+
expiresAt?: number | undefined;
|
|
17
21
|
/**
|
|
18
22
|
* The generation ID associated with this video generation job. Available once the job has been processed.
|
|
19
23
|
*/
|
|
@@ -24,7 +28,14 @@ export type VideoGenerationResponse = {
|
|
|
24
28
|
id: string;
|
|
25
29
|
pollingUrl: string;
|
|
26
30
|
status: VideoGenerationResponseStatus;
|
|
31
|
+
/**
|
|
32
|
+
* OpenRouter content URLs for each output. They need your API key in the `Authorization` header and keep working for as long as the output is available.
|
|
33
|
+
*/
|
|
27
34
|
unsignedUrls?: Array<string> | undefined;
|
|
35
|
+
/**
|
|
36
|
+
* Signed download URLs for OpenRouter's stored copy of each output, usable without an API key until `expires_at`. Anyone holding a URL can download that output until it expires, so treat it like a secret. Present only when the stored copy exists.
|
|
37
|
+
*/
|
|
38
|
+
urls?: Array<string> | undefined;
|
|
28
39
|
/**
|
|
29
40
|
* Usage and cost information for the video generation. Available once the job has completed.
|
|
30
41
|
*/
|
|
@@ -20,14 +20,17 @@ export const VideoGenerationResponseStatus$inboundSchema = openEnums.inboundSche
|
|
|
20
20
|
/** @internal */
|
|
21
21
|
export const VideoGenerationResponse$inboundSchema = z.object({
|
|
22
22
|
error: z.string().optional(),
|
|
23
|
+
expires_at: z.int().optional(),
|
|
23
24
|
generation_id: z.string().optional(),
|
|
24
25
|
id: z.string(),
|
|
25
26
|
polling_url: z.string(),
|
|
26
27
|
status: VideoGenerationResponseStatus$inboundSchema,
|
|
27
28
|
unsigned_urls: z.array(z.string()).optional(),
|
|
29
|
+
urls: z.array(z.string()).optional(),
|
|
28
30
|
usage: VideoGenerationUsage$inboundSchema.optional(),
|
|
29
31
|
}).transform((v) => {
|
|
30
32
|
return remap$(v, {
|
|
33
|
+
"expires_at": "expiresAt",
|
|
31
34
|
"generation_id": "generationId",
|
|
32
35
|
"polling_url": "pollingUrl",
|
|
33
36
|
"unsigned_urls": "unsignedUrls",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as z from "zod/v4";
|
|
2
2
|
import { OpenEnum } from "../types/enums.js";
|
|
3
3
|
/**
|
|
4
|
-
* Which fetch engine to use. "auto" (default) uses native if the provider supports it, otherwise Exa. "native" forces the provider's built-in fetch. "exa" uses Exa Contents API. "openrouter" uses direct HTTP fetch. "firecrawl" uses Firecrawl scrape
|
|
4
|
+
* Which fetch engine to use. "auto" (default) uses native if the provider supports it, otherwise Exa. "native" forces the provider's built-in fetch. "exa" uses Exa Contents API. "openrouter" uses direct HTTP fetch. "firecrawl" uses Firecrawl scrape. "parallel" uses the Parallel extract API.
|
|
5
5
|
*/
|
|
6
6
|
export declare const WebFetchEngineEnum: {
|
|
7
7
|
readonly Auto: "auto";
|
|
@@ -12,7 +12,7 @@ export declare const WebFetchEngineEnum: {
|
|
|
12
12
|
readonly Firecrawl: "firecrawl";
|
|
13
13
|
};
|
|
14
14
|
/**
|
|
15
|
-
* Which fetch engine to use. "auto" (default) uses native if the provider supports it, otherwise Exa. "native" forces the provider's built-in fetch. "exa" uses Exa Contents API. "openrouter" uses direct HTTP fetch. "firecrawl" uses Firecrawl scrape
|
|
15
|
+
* Which fetch engine to use. "auto" (default) uses native if the provider supports it, otherwise Exa. "native" forces the provider's built-in fetch. "exa" uses Exa Contents API. "openrouter" uses direct HTTP fetch. "firecrawl" uses Firecrawl scrape. "parallel" uses the Parallel extract API.
|
|
16
16
|
*/
|
|
17
17
|
export type WebFetchEngineEnum = OpenEnum<typeof WebFetchEngineEnum>;
|
|
18
18
|
/** @internal */
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import * as openEnums from "../types/enums.js";
|
|
6
6
|
/**
|
|
7
|
-
* Which fetch engine to use. "auto" (default) uses native if the provider supports it, otherwise Exa. "native" forces the provider's built-in fetch. "exa" uses Exa Contents API. "openrouter" uses direct HTTP fetch. "firecrawl" uses Firecrawl scrape
|
|
7
|
+
* Which fetch engine to use. "auto" (default) uses native if the provider supports it, otherwise Exa. "native" forces the provider's built-in fetch. "exa" uses Exa Contents API. "openrouter" uses direct HTTP fetch. "firecrawl" uses Firecrawl scrape. "parallel" uses the Parallel extract API.
|
|
8
8
|
*/
|
|
9
9
|
export const WebFetchEngineEnum = {
|
|
10
10
|
Auto: "auto",
|
|
@@ -13,7 +13,7 @@ export type WebFetchServerToolConfig = {
|
|
|
13
13
|
*/
|
|
14
14
|
blockedDomains?: Array<string> | undefined;
|
|
15
15
|
/**
|
|
16
|
-
* Which fetch engine to use. "auto" (default) uses native if the provider supports it, otherwise Exa. "native" forces the provider's built-in fetch. "exa" uses Exa Contents API. "openrouter" uses direct HTTP fetch. "firecrawl" uses Firecrawl scrape
|
|
16
|
+
* Which fetch engine to use. "auto" (default) uses native if the provider supports it, otherwise Exa. "native" forces the provider's built-in fetch. "exa" uses Exa Contents API. "openrouter" uses direct HTTP fetch. "firecrawl" uses Firecrawl scrape. "parallel" uses the Parallel extract API.
|
|
17
17
|
*/
|
|
18
18
|
engine?: WebFetchEngineEnum | undefined;
|
|
19
19
|
/**
|
|
@@ -10,7 +10,7 @@ export type WebSearchConfig = {
|
|
|
10
10
|
*/
|
|
11
11
|
allowedDomains?: Array<string> | undefined;
|
|
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
|
|
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 the Firecrawl search API. "parallel" uses the Parallel search API. "perplexity" uses the Perplexity Search API (raw ranked results).
|
|
14
14
|
*/
|
|
15
15
|
engine?: WebSearchEngineEnum | undefined;
|
|
16
16
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as z from "zod/v4";
|
|
2
2
|
import { OpenEnum } from "../types/enums.js";
|
|
3
3
|
/**
|
|
4
|
-
* 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
|
|
4
|
+
* 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 the Firecrawl search API. "parallel" uses the Parallel search API. "perplexity" uses the Perplexity Search API (raw ranked results).
|
|
5
5
|
*/
|
|
6
6
|
export declare const WebSearchEngineEnum: {
|
|
7
7
|
readonly Native: "native";
|
|
@@ -12,7 +12,7 @@ export declare const WebSearchEngineEnum: {
|
|
|
12
12
|
readonly Auto: "auto";
|
|
13
13
|
};
|
|
14
14
|
/**
|
|
15
|
-
* 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
|
|
15
|
+
* 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 the Firecrawl search API. "parallel" uses the Parallel search API. "perplexity" uses the Perplexity Search API (raw ranked results).
|
|
16
16
|
*/
|
|
17
17
|
export type WebSearchEngineEnum = OpenEnum<typeof WebSearchEngineEnum>;
|
|
18
18
|
/** @internal */
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import * as openEnums from "../types/enums.js";
|
|
6
6
|
/**
|
|
7
|
-
* 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
|
|
7
|
+
* 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 the Firecrawl search API. "parallel" uses the Parallel search API. "perplexity" uses the Perplexity Search API (raw ranked results).
|
|
8
8
|
*/
|
|
9
9
|
export const WebSearchEngineEnum = {
|
|
10
10
|
Native: "native",
|
|
@@ -17,7 +17,7 @@ export type WebSearchServerToolType = ClosedEnum<typeof WebSearchServerToolType>
|
|
|
17
17
|
*/
|
|
18
18
|
export type WebSearchServerTool = {
|
|
19
19
|
/**
|
|
20
|
-
* 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
|
|
20
|
+
* 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 the Firecrawl search API. "parallel" uses the Parallel search API. "perplexity" uses the Perplexity Search API (raw ranked results).
|
|
21
21
|
*/
|
|
22
22
|
engine?: WebSearchEngineEnum | undefined;
|
|
23
23
|
filters?: WebSearchDomainFilter | null | undefined;
|
|
@@ -13,7 +13,7 @@ export type WebSearchServerToolConfig = {
|
|
|
13
13
|
*/
|
|
14
14
|
allowedDomains?: Array<string> | undefined;
|
|
15
15
|
/**
|
|
16
|
-
* 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
|
|
16
|
+
* 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 the Firecrawl search API. "parallel" uses the Parallel search API. "perplexity" uses the Perplexity Search API (raw ranked results).
|
|
17
17
|
*/
|
|
18
18
|
engine?: WebSearchEngineEnum | undefined;
|
|
19
19
|
/**
|
|
@@ -5,7 +5,7 @@ import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
|
5
5
|
/**
|
|
6
6
|
* Interval at which spend resets. Null means a lifetime (one-time) budget.
|
|
7
7
|
*/
|
|
8
|
-
export declare const
|
|
8
|
+
export declare const WorkspaceBudgetResetInterval: {
|
|
9
9
|
readonly Daily: "daily";
|
|
10
10
|
readonly Weekly: "weekly";
|
|
11
11
|
readonly Monthly: "monthly";
|
|
@@ -13,7 +13,7 @@ export declare const ResetInterval: {
|
|
|
13
13
|
/**
|
|
14
14
|
* Interval at which spend resets. Null means a lifetime (one-time) budget.
|
|
15
15
|
*/
|
|
16
|
-
export type
|
|
16
|
+
export type WorkspaceBudgetResetInterval = OpenEnum<typeof WorkspaceBudgetResetInterval>;
|
|
17
17
|
export type WorkspaceBudget = {
|
|
18
18
|
/**
|
|
19
19
|
* ISO 8601 timestamp of when the budget was created
|
|
@@ -30,7 +30,7 @@ export type WorkspaceBudget = {
|
|
|
30
30
|
/**
|
|
31
31
|
* Interval at which spend resets. Null means a lifetime (one-time) budget.
|
|
32
32
|
*/
|
|
33
|
-
resetInterval:
|
|
33
|
+
resetInterval: WorkspaceBudgetResetInterval | null;
|
|
34
34
|
/**
|
|
35
35
|
* ISO 8601 timestamp of when the budget was last updated
|
|
36
36
|
*/
|
|
@@ -41,7 +41,7 @@ export type WorkspaceBudget = {
|
|
|
41
41
|
workspaceId: string;
|
|
42
42
|
};
|
|
43
43
|
/** @internal */
|
|
44
|
-
export declare const
|
|
44
|
+
export declare const WorkspaceBudgetResetInterval$inboundSchema: z.ZodType<WorkspaceBudgetResetInterval, unknown>;
|
|
45
45
|
/** @internal */
|
|
46
46
|
export declare const WorkspaceBudget$inboundSchema: z.ZodType<WorkspaceBudget, unknown>;
|
|
47
47
|
export declare function workspaceBudgetFromJSON(jsonString: string): SafeParseResult<WorkspaceBudget, SDKValidationError>;
|
|
@@ -9,19 +9,19 @@ import * as openEnums from "../types/enums.js";
|
|
|
9
9
|
/**
|
|
10
10
|
* Interval at which spend resets. Null means a lifetime (one-time) budget.
|
|
11
11
|
*/
|
|
12
|
-
export const
|
|
12
|
+
export const WorkspaceBudgetResetInterval = {
|
|
13
13
|
Daily: "daily",
|
|
14
14
|
Weekly: "weekly",
|
|
15
15
|
Monthly: "monthly",
|
|
16
16
|
};
|
|
17
17
|
/** @internal */
|
|
18
|
-
export const
|
|
18
|
+
export const WorkspaceBudgetResetInterval$inboundSchema = openEnums.inboundSchema(WorkspaceBudgetResetInterval);
|
|
19
19
|
/** @internal */
|
|
20
20
|
export const WorkspaceBudget$inboundSchema = z.object({
|
|
21
21
|
created_at: z.string(),
|
|
22
22
|
id: z.string(),
|
|
23
23
|
limit_usd: z.number(),
|
|
24
|
-
reset_interval: z.nullable(
|
|
24
|
+
reset_interval: z.nullable(WorkspaceBudgetResetInterval$inboundSchema),
|
|
25
25
|
updated_at: z.string(),
|
|
26
26
|
workspace_id: z.string(),
|
|
27
27
|
}).transform((v) => {
|
package/esm/sdk/apikeys.d.ts
CHANGED
|
@@ -42,8 +42,10 @@ export declare class APIKeys extends ClientSDK {
|
|
|
42
42
|
* @remarks
|
|
43
43
|
* Update an existing API key. Authenticate with a [management key](/docs/guides/overview/auth/management-api-keys).
|
|
44
44
|
*
|
|
45
|
+
* Set `workspace_id` to move the key to another workspace.
|
|
46
|
+
*
|
|
45
47
|
* <Warning>
|
|
46
|
-
*
|
|
48
|
+
* The request body accepts only the fields listed below, and unrecognized fields are ignored. If the body contains none of the accepted fields, the request fails with `400` and the message `No update fields provided`.
|
|
47
49
|
* </Warning>
|
|
48
50
|
*/
|
|
49
51
|
update(request: operations.UpdateKeysRequest, options?: RequestOptions): Promise<operations.UpdateKeysResponse>;
|