@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
|
@@ -6,7 +6,7 @@ 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
|
import * as openEnums from "../../types/enums.js";
|
|
9
|
-
import { FreeModelDailyRequests$inboundSchema as models_FreeModelDailyRequests$inboundSchema } from "../freemodeldailyrequests.js";
|
|
9
|
+
import { FreeModelDailyRequests$inboundSchema as models_FreeModelDailyRequests$inboundSchema } from "../freemodeldailyrequests.js"; import { KeyBudget$inboundSchema as models_KeyBudget$inboundSchema } from "../keybudget.js";
|
|
10
10
|
export const AllowedDataRegion = {
|
|
11
11
|
Global: "global",
|
|
12
12
|
Europe: "europe",
|
|
@@ -39,11 +39,13 @@ export function rateLimitFromJSON(jsonString) {
|
|
|
39
39
|
/** @internal */
|
|
40
40
|
export const GetCurrentKeyData$inboundSchema = z.object({
|
|
41
41
|
allowed_data_regions: z.array(AllowedDataRegion$inboundSchema),
|
|
42
|
+
budgets: z.array(models_KeyBudget$inboundSchema),
|
|
42
43
|
byok_usage: z.number(),
|
|
43
44
|
byok_usage_daily: z.number(),
|
|
44
45
|
byok_usage_monthly: z.number(),
|
|
45
46
|
byok_usage_weekly: z.number(),
|
|
46
47
|
creator_user_id: z.nullable(z.string()),
|
|
48
|
+
effective_budget: z.nullable(models_KeyBudget$inboundSchema),
|
|
47
49
|
expires_at: z.nullable(z.iso.datetime({ offset: true }).transform(v => new Date(v))).optional(),
|
|
48
50
|
free_model_daily_requests: models_FreeModelDailyRequests$inboundSchema,
|
|
49
51
|
include_byok_in_limit: z.boolean(),
|
|
@@ -69,6 +71,7 @@ export const GetCurrentKeyData$inboundSchema = z.object({
|
|
|
69
71
|
"byok_usage_monthly": "byokUsageMonthly",
|
|
70
72
|
"byok_usage_weekly": "byokUsageWeekly",
|
|
71
73
|
"creator_user_id": "creatorUserId",
|
|
74
|
+
"effective_budget": "effectiveBudget",
|
|
72
75
|
"expires_at": "expiresAt",
|
|
73
76
|
"free_model_daily_requests": "freeModelDailyRequests",
|
|
74
77
|
"include_byok_in_limit": "includeByokInLimit",
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as z from "zod/v4";
|
|
2
|
-
|
|
3
|
-
export type UpdateEndUserGlobals = {
|
|
2
|
+
export type GetExternalUserGlobals = {
|
|
4
3
|
/**
|
|
5
4
|
* The app identifier should be your app's URL and is used as the primary identifier for rankings.
|
|
6
5
|
*
|
|
@@ -21,7 +20,7 @@ export type UpdateEndUserGlobals = {
|
|
|
21
20
|
*/
|
|
22
21
|
appCategories?: string | undefined;
|
|
23
22
|
};
|
|
24
|
-
export type
|
|
23
|
+
export type GetExternalUserRequest = {
|
|
25
24
|
/**
|
|
26
25
|
* The app identifier should be your app's URL and is used as the primary identifier for rankings.
|
|
27
26
|
*
|
|
@@ -42,20 +41,18 @@ export type UpdateEndUserRequest = {
|
|
|
42
41
|
*/
|
|
43
42
|
appCategories?: string | undefined;
|
|
44
43
|
/**
|
|
45
|
-
* Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths.
|
|
44
|
+
* 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.
|
|
46
45
|
*/
|
|
47
46
|
user: string;
|
|
48
|
-
updateEndUserRequest: models.UpdateEndUserRequest;
|
|
49
47
|
};
|
|
50
48
|
/** @internal */
|
|
51
|
-
export type
|
|
49
|
+
export type GetExternalUserRequest$Outbound = {
|
|
52
50
|
"HTTP-Referer"?: string | undefined;
|
|
53
51
|
appTitle?: string | undefined;
|
|
54
52
|
appCategories?: string | undefined;
|
|
55
53
|
user: string;
|
|
56
|
-
UpdateEndUserRequest: models.UpdateEndUserRequest$Outbound;
|
|
57
54
|
};
|
|
58
55
|
/** @internal */
|
|
59
|
-
export declare const
|
|
60
|
-
export declare function
|
|
61
|
-
//# sourceMappingURL=
|
|
56
|
+
export declare const GetExternalUserRequest$outboundSchema: z.ZodType<GetExternalUserRequest$Outbound, GetExternalUserRequest>;
|
|
57
|
+
export declare function getExternalUserRequestToJSON(getExternalUserRequest: GetExternalUserRequest): string;
|
|
58
|
+
//# sourceMappingURL=getexternaluser.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
* @generated-id:
|
|
3
|
+
* @generated-id: 47129d1d67c4
|
|
4
4
|
*/
|
|
5
5
|
import * as z from "zod/v4";
|
|
6
6
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
7
|
/** @internal */
|
|
8
|
-
export const
|
|
8
|
+
export const GetExternalUserRequest$outboundSchema = z.object({
|
|
9
9
|
httpReferer: z.string().optional(),
|
|
10
10
|
appTitle: z.string().optional(),
|
|
11
11
|
appCategories: z.string().optional(),
|
|
@@ -15,7 +15,7 @@ export const GetEndUserRequest$outboundSchema = z.object({
|
|
|
15
15
|
httpReferer: "HTTP-Referer",
|
|
16
16
|
});
|
|
17
17
|
});
|
|
18
|
-
export function
|
|
19
|
-
return JSON.stringify(
|
|
18
|
+
export function getExternalUserRequestToJSON(getExternalUserRequest) {
|
|
19
|
+
return JSON.stringify(GetExternalUserRequest$outboundSchema.parse(getExternalUserRequest));
|
|
20
20
|
}
|
|
21
|
-
//# sourceMappingURL=
|
|
21
|
+
//# sourceMappingURL=getexternaluser.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as z from "zod/v4";
|
|
2
|
-
export type
|
|
2
|
+
export type GetInternConnectionsGlobals = {
|
|
3
3
|
/**
|
|
4
4
|
* The app identifier should be your app's URL and is used as the primary identifier for rankings.
|
|
5
5
|
*
|
|
@@ -20,7 +20,7 @@ export type DeleteEndUserGlobals = {
|
|
|
20
20
|
*/
|
|
21
21
|
appCategories?: string | undefined;
|
|
22
22
|
};
|
|
23
|
-
export type
|
|
23
|
+
export type GetInternConnectionsRequest = {
|
|
24
24
|
/**
|
|
25
25
|
* The app identifier should be your app's URL and is used as the primary identifier for rankings.
|
|
26
26
|
*
|
|
@@ -41,18 +41,18 @@ export type DeleteEndUserRequest = {
|
|
|
41
41
|
*/
|
|
42
42
|
appCategories?: string | undefined;
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
44
|
+
* ID of an intern visible to the authenticated API key.
|
|
45
45
|
*/
|
|
46
|
-
|
|
46
|
+
internId: string;
|
|
47
47
|
};
|
|
48
48
|
/** @internal */
|
|
49
|
-
export type
|
|
49
|
+
export type GetInternConnectionsRequest$Outbound = {
|
|
50
50
|
"HTTP-Referer"?: string | undefined;
|
|
51
51
|
appTitle?: string | undefined;
|
|
52
52
|
appCategories?: string | undefined;
|
|
53
|
-
|
|
53
|
+
internId: string;
|
|
54
54
|
};
|
|
55
55
|
/** @internal */
|
|
56
|
-
export declare const
|
|
57
|
-
export declare function
|
|
58
|
-
//# sourceMappingURL=
|
|
56
|
+
export declare const GetInternConnectionsRequest$outboundSchema: z.ZodType<GetInternConnectionsRequest$Outbound, GetInternConnectionsRequest>;
|
|
57
|
+
export declare function getInternConnectionsRequestToJSON(getInternConnectionsRequest: GetInternConnectionsRequest): string;
|
|
58
|
+
//# sourceMappingURL=getinternconnections.d.ts.map
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: e3ab1398423c
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
/** @internal */
|
|
8
|
+
export const GetInternConnectionsRequest$outboundSchema = z.object({
|
|
9
|
+
httpReferer: z.string().optional(),
|
|
10
|
+
appTitle: z.string().optional(),
|
|
11
|
+
appCategories: z.string().optional(),
|
|
12
|
+
internId: z.string(),
|
|
13
|
+
}).transform((v) => {
|
|
14
|
+
return remap$(v, {
|
|
15
|
+
httpReferer: "HTTP-Referer",
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
export function getInternConnectionsRequestToJSON(getInternConnectionsRequest) {
|
|
19
|
+
return JSON.stringify(GetInternConnectionsRequest$outboundSchema.parse(getInternConnectionsRequest));
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=getinternconnections.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as z from "zod/v4";
|
|
2
|
-
export type
|
|
2
|
+
export type GetInternIconGlobals = {
|
|
3
3
|
/**
|
|
4
4
|
* The app identifier should be your app's URL and is used as the primary identifier for rankings.
|
|
5
5
|
*
|
|
@@ -20,7 +20,7 @@ export type GetEndUserGlobals = {
|
|
|
20
20
|
*/
|
|
21
21
|
appCategories?: string | undefined;
|
|
22
22
|
};
|
|
23
|
-
export type
|
|
23
|
+
export type GetInternIconRequest = {
|
|
24
24
|
/**
|
|
25
25
|
* The app identifier should be your app's URL and is used as the primary identifier for rankings.
|
|
26
26
|
*
|
|
@@ -41,18 +41,23 @@ export type GetEndUserRequest = {
|
|
|
41
41
|
*/
|
|
42
42
|
appCategories?: string | undefined;
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
44
|
+
* ID of an intern visible to the authenticated API key.
|
|
45
45
|
*/
|
|
46
|
-
|
|
46
|
+
internId: string;
|
|
47
|
+
/**
|
|
48
|
+
* The `icon_sha256` the caller expects.
|
|
49
|
+
*/
|
|
50
|
+
v?: string | undefined;
|
|
47
51
|
};
|
|
48
52
|
/** @internal */
|
|
49
|
-
export type
|
|
53
|
+
export type GetInternIconRequest$Outbound = {
|
|
50
54
|
"HTTP-Referer"?: string | undefined;
|
|
51
55
|
appTitle?: string | undefined;
|
|
52
56
|
appCategories?: string | undefined;
|
|
53
|
-
|
|
57
|
+
internId: string;
|
|
58
|
+
v?: string | undefined;
|
|
54
59
|
};
|
|
55
60
|
/** @internal */
|
|
56
|
-
export declare const
|
|
57
|
-
export declare function
|
|
58
|
-
//# sourceMappingURL=
|
|
61
|
+
export declare const GetInternIconRequest$outboundSchema: z.ZodType<GetInternIconRequest$Outbound, GetInternIconRequest>;
|
|
62
|
+
export declare function getInternIconRequestToJSON(getInternIconRequest: GetInternIconRequest): string;
|
|
63
|
+
//# sourceMappingURL=getinternicon.d.ts.map
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: a41b9b092844
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
/** @internal */
|
|
8
|
+
export const GetInternIconRequest$outboundSchema = z.object({
|
|
9
|
+
httpReferer: z.string().optional(),
|
|
10
|
+
appTitle: z.string().optional(),
|
|
11
|
+
appCategories: z.string().optional(),
|
|
12
|
+
internId: z.string(),
|
|
13
|
+
v: z.string().optional(),
|
|
14
|
+
}).transform((v) => {
|
|
15
|
+
return remap$(v, {
|
|
16
|
+
httpReferer: "HTTP-Referer",
|
|
17
|
+
});
|
|
18
|
+
});
|
|
19
|
+
export function getInternIconRequestToJSON(getInternIconRequest) {
|
|
20
|
+
return JSON.stringify(GetInternIconRequest$outboundSchema.parse(getInternIconRequest));
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=getinternicon.js.map
|
|
@@ -14,7 +14,7 @@ export * from "./createauthkeyscode.js";
|
|
|
14
14
|
export * from "./createbatches.js";
|
|
15
15
|
export * from "./createbyokkey.js";
|
|
16
16
|
export * from "./createembeddings.js";
|
|
17
|
-
export * from "./
|
|
17
|
+
export * from "./createexternaluser.js";
|
|
18
18
|
export * from "./createguardrail.js";
|
|
19
19
|
export * from "./createimages.js";
|
|
20
20
|
export * from "./createintern.js";
|
|
@@ -35,7 +35,7 @@ export * from "./createvideos.js";
|
|
|
35
35
|
export * from "./createworkspace.js";
|
|
36
36
|
export * from "./deletebatch.js";
|
|
37
37
|
export * from "./deletebyokkey.js";
|
|
38
|
-
export * from "./
|
|
38
|
+
export * from "./deleteexternaluser.js";
|
|
39
39
|
export * from "./deletefile.js";
|
|
40
40
|
export * from "./deleteguardrail.js";
|
|
41
41
|
export * from "./deleteintern.js";
|
|
@@ -60,13 +60,15 @@ export * from "./getbyokkey.js";
|
|
|
60
60
|
export * from "./getcontainerfile.js";
|
|
61
61
|
export * from "./getcredits.js";
|
|
62
62
|
export * from "./getcurrentkey.js";
|
|
63
|
-
export * from "./
|
|
63
|
+
export * from "./getexternaluser.js";
|
|
64
64
|
export * from "./getfilemetadata.js";
|
|
65
65
|
export * from "./getgeneration.js";
|
|
66
66
|
export * from "./getguardrail.js";
|
|
67
67
|
export * from "./getintern.js";
|
|
68
|
+
export * from "./getinternconnections.js";
|
|
68
69
|
export * from "./getinterndaemon.js";
|
|
69
70
|
export * from "./getinterndaemonaccess.js";
|
|
71
|
+
export * from "./getinternicon.js";
|
|
70
72
|
export * from "./getkey.js";
|
|
71
73
|
export * from "./getmodel.js";
|
|
72
74
|
export * from "./getmodels.js";
|
|
@@ -93,7 +95,7 @@ export * from "./listcontainerfiles.js";
|
|
|
93
95
|
export * from "./listembeddingsmodels.js";
|
|
94
96
|
export * from "./listendpoints.js";
|
|
95
97
|
export * from "./listendpointszdr.js";
|
|
96
|
-
export * from "./
|
|
98
|
+
export * from "./listexternalusers.js";
|
|
97
99
|
export * from "./listfiles.js";
|
|
98
100
|
export * from "./listgenerationcontent.js";
|
|
99
101
|
export * from "./listguardrailkeyassignments.js";
|
|
@@ -101,6 +103,7 @@ export * from "./listguardrailmemberassignments.js";
|
|
|
101
103
|
export * from "./listguardrails.js";
|
|
102
104
|
export * from "./listimagemodelendpoints.js";
|
|
103
105
|
export * from "./listimagemodels.js";
|
|
106
|
+
export * from "./listinternconnections.js";
|
|
104
107
|
export * from "./listinterneffectivevaultsecrets.js";
|
|
105
108
|
export * from "./listinterns.js";
|
|
106
109
|
export * from "./listinternvaultsecrets.js";
|
|
@@ -128,12 +131,14 @@ export * from "./promotecontainerfile.js";
|
|
|
128
131
|
export * from "./provisionintern.js";
|
|
129
132
|
export * from "./queryanalytics.js";
|
|
130
133
|
export * from "./sendchatcompletionrequest.js";
|
|
134
|
+
export * from "./signinterndaemonaccessrequest.js";
|
|
135
|
+
export * from "./signinterndaemonrequest.js";
|
|
131
136
|
export * from "./storeinternvaultsecret.js";
|
|
132
137
|
export * from "./storevaultsecret.js";
|
|
133
138
|
export * from "./submitgenerationfeedback.js";
|
|
134
139
|
export * from "./suspendintern.js";
|
|
135
140
|
export * from "./updatebyokkey.js";
|
|
136
|
-
export * from "./
|
|
141
|
+
export * from "./updateexternaluser.js";
|
|
137
142
|
export * from "./updateguardrail.js";
|
|
138
143
|
export * from "./updateintern.js";
|
|
139
144
|
export * from "./updatekeys.js";
|
|
@@ -18,7 +18,7 @@ export * from "./createauthkeyscode.js";
|
|
|
18
18
|
export * from "./createbatches.js";
|
|
19
19
|
export * from "./createbyokkey.js";
|
|
20
20
|
export * from "./createembeddings.js";
|
|
21
|
-
export * from "./
|
|
21
|
+
export * from "./createexternaluser.js";
|
|
22
22
|
export * from "./createguardrail.js";
|
|
23
23
|
export * from "./createimages.js";
|
|
24
24
|
export * from "./createintern.js";
|
|
@@ -39,7 +39,7 @@ export * from "./createvideos.js";
|
|
|
39
39
|
export * from "./createworkspace.js";
|
|
40
40
|
export * from "./deletebatch.js";
|
|
41
41
|
export * from "./deletebyokkey.js";
|
|
42
|
-
export * from "./
|
|
42
|
+
export * from "./deleteexternaluser.js";
|
|
43
43
|
export * from "./deletefile.js";
|
|
44
44
|
export * from "./deleteguardrail.js";
|
|
45
45
|
export * from "./deleteintern.js";
|
|
@@ -64,13 +64,15 @@ export * from "./getbyokkey.js";
|
|
|
64
64
|
export * from "./getcontainerfile.js";
|
|
65
65
|
export * from "./getcredits.js";
|
|
66
66
|
export * from "./getcurrentkey.js";
|
|
67
|
-
export * from "./
|
|
67
|
+
export * from "./getexternaluser.js";
|
|
68
68
|
export * from "./getfilemetadata.js";
|
|
69
69
|
export * from "./getgeneration.js";
|
|
70
70
|
export * from "./getguardrail.js";
|
|
71
71
|
export * from "./getintern.js";
|
|
72
|
+
export * from "./getinternconnections.js";
|
|
72
73
|
export * from "./getinterndaemon.js";
|
|
73
74
|
export * from "./getinterndaemonaccess.js";
|
|
75
|
+
export * from "./getinternicon.js";
|
|
74
76
|
export * from "./getkey.js";
|
|
75
77
|
export * from "./getmodel.js";
|
|
76
78
|
export * from "./getmodels.js";
|
|
@@ -97,7 +99,7 @@ export * from "./listcontainerfiles.js";
|
|
|
97
99
|
export * from "./listembeddingsmodels.js";
|
|
98
100
|
export * from "./listendpoints.js";
|
|
99
101
|
export * from "./listendpointszdr.js";
|
|
100
|
-
export * from "./
|
|
102
|
+
export * from "./listexternalusers.js";
|
|
101
103
|
export * from "./listfiles.js";
|
|
102
104
|
export * from "./listgenerationcontent.js";
|
|
103
105
|
export * from "./listguardrailkeyassignments.js";
|
|
@@ -105,6 +107,7 @@ export * from "./listguardrailmemberassignments.js";
|
|
|
105
107
|
export * from "./listguardrails.js";
|
|
106
108
|
export * from "./listimagemodelendpoints.js";
|
|
107
109
|
export * from "./listimagemodels.js";
|
|
110
|
+
export * from "./listinternconnections.js";
|
|
108
111
|
export * from "./listinterneffectivevaultsecrets.js";
|
|
109
112
|
export * from "./listinterns.js";
|
|
110
113
|
export * from "./listinternvaultsecrets.js";
|
|
@@ -132,12 +135,14 @@ export * from "./promotecontainerfile.js";
|
|
|
132
135
|
export * from "./provisionintern.js";
|
|
133
136
|
export * from "./queryanalytics.js";
|
|
134
137
|
export * from "./sendchatcompletionrequest.js";
|
|
138
|
+
export * from "./signinterndaemonaccessrequest.js";
|
|
139
|
+
export * from "./signinterndaemonrequest.js";
|
|
135
140
|
export * from "./storeinternvaultsecret.js";
|
|
136
141
|
export * from "./storevaultsecret.js";
|
|
137
142
|
export * from "./submitgenerationfeedback.js";
|
|
138
143
|
export * from "./suspendintern.js";
|
|
139
144
|
export * from "./updatebyokkey.js";
|
|
140
|
-
export * from "./
|
|
145
|
+
export * from "./updateexternaluser.js";
|
|
141
146
|
export * from "./updateguardrail.js";
|
|
142
147
|
export * from "./updateintern.js";
|
|
143
148
|
export * from "./updatekeys.js";
|
|
@@ -46,6 +46,10 @@ export type ListRequest = {
|
|
|
46
46
|
* Whether to include disabled API keys in the response
|
|
47
47
|
*/
|
|
48
48
|
includeDisabled?: boolean | undefined;
|
|
49
|
+
/**
|
|
50
|
+
* Whether to include expired API keys in the response. Expired keys are excluded by default and returned only when this is true.
|
|
51
|
+
*/
|
|
52
|
+
includeExpired?: boolean | undefined;
|
|
49
53
|
/**
|
|
50
54
|
* Number of API keys to skip for pagination
|
|
51
55
|
*/
|
|
@@ -164,6 +168,7 @@ export type ListRequest$Outbound = {
|
|
|
164
168
|
appTitle?: string | undefined;
|
|
165
169
|
appCategories?: string | undefined;
|
|
166
170
|
include_disabled?: boolean | undefined;
|
|
171
|
+
include_expired?: boolean | undefined;
|
|
167
172
|
offset?: number | null | undefined;
|
|
168
173
|
workspace_id?: string | undefined;
|
|
169
174
|
};
|
|
@@ -11,12 +11,14 @@ export const ListRequest$outboundSchema = z.object({
|
|
|
11
11
|
appTitle: z.string().optional(),
|
|
12
12
|
appCategories: z.string().optional(),
|
|
13
13
|
includeDisabled: z.boolean().optional(),
|
|
14
|
+
includeExpired: z.boolean().optional(),
|
|
14
15
|
offset: z.nullable(z.int()).optional(),
|
|
15
16
|
workspaceId: z.string().optional(),
|
|
16
17
|
}).transform((v) => {
|
|
17
18
|
return remap$(v, {
|
|
18
19
|
httpReferer: "HTTP-Referer",
|
|
19
20
|
includeDisabled: "include_disabled",
|
|
21
|
+
includeExpired: "include_expired",
|
|
20
22
|
workspaceId: "workspace_id",
|
|
21
23
|
});
|
|
22
24
|
});
|
|
@@ -58,11 +58,11 @@ export type ListBatchesRequest = {
|
|
|
58
58
|
/**
|
|
59
59
|
* Only include batches created strictly after this timestamp.
|
|
60
60
|
*/
|
|
61
|
-
createdAfter?:
|
|
61
|
+
createdAfter?: any | undefined;
|
|
62
62
|
/**
|
|
63
63
|
* Only include batches created strictly before this timestamp.
|
|
64
64
|
*/
|
|
65
|
-
createdBefore?:
|
|
65
|
+
createdBefore?: any | undefined;
|
|
66
66
|
};
|
|
67
67
|
export type ListBatchesResponse = {
|
|
68
68
|
result: models.BatchListResponse;
|
|
@@ -75,8 +75,8 @@ export type ListBatchesRequest$Outbound = {
|
|
|
75
75
|
limit?: number | undefined;
|
|
76
76
|
after?: string | undefined;
|
|
77
77
|
status?: Array<string> | undefined;
|
|
78
|
-
created_after?:
|
|
79
|
-
created_before?:
|
|
78
|
+
created_after?: any | undefined;
|
|
79
|
+
created_before?: any | undefined;
|
|
80
80
|
};
|
|
81
81
|
/** @internal */
|
|
82
82
|
export declare const ListBatchesRequest$outboundSchema: z.ZodType<ListBatchesRequest$Outbound, ListBatchesRequest>;
|
|
@@ -5,7 +5,7 @@
|
|
|
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
|
-
import { BatchListResponse$inboundSchema as models_BatchListResponse$inboundSchema } from "../batchlistresponse.js"; import { BatchListStatus$outboundSchema as models_BatchListStatus$outboundSchema } from "../batchliststatus.js";
|
|
8
|
+
import { BatchListResponse$inboundSchema as models_BatchListResponse$inboundSchema } from "../batchlistresponse.js"; import { BatchListStatus$outboundSchema as models_BatchListStatus$outboundSchema } from "../batchliststatus.js";
|
|
9
9
|
/** @internal */
|
|
10
10
|
export const ListBatchesRequest$outboundSchema = z.object({
|
|
11
11
|
httpReferer: z.string().optional(),
|
|
@@ -14,8 +14,8 @@ export const ListBatchesRequest$outboundSchema = z.object({
|
|
|
14
14
|
limit: z.int().optional(),
|
|
15
15
|
after: z.string().optional(),
|
|
16
16
|
status: z.array(models_BatchListStatus$outboundSchema).optional(),
|
|
17
|
-
createdAfter:
|
|
18
|
-
createdBefore:
|
|
17
|
+
createdAfter: z.any().optional(),
|
|
18
|
+
createdBefore: z.any().optional(),
|
|
19
19
|
}).transform((v) => {
|
|
20
20
|
return remap$(v, {
|
|
21
21
|
httpReferer: "HTTP-Referer",
|
|
@@ -106,6 +106,7 @@ export declare const Provider: {
|
|
|
106
106
|
readonly OpenInference: "open-inference";
|
|
107
107
|
readonly Openai: "openai";
|
|
108
108
|
readonly Parasail: "parasail";
|
|
109
|
+
readonly ParetoAlpha: "pareto-alpha";
|
|
109
110
|
readonly Perceptron: "perceptron";
|
|
110
111
|
readonly Perplexity: "perplexity";
|
|
111
112
|
readonly Phala: "phala";
|
|
@@ -113,6 +114,7 @@ export declare const Provider: {
|
|
|
113
114
|
readonly Primeintellect: "primeintellect";
|
|
114
115
|
readonly Quiver: "quiver";
|
|
115
116
|
readonly Recraft: "recraft";
|
|
117
|
+
readonly Recursive: "recursive";
|
|
116
118
|
readonly Reka: "reka";
|
|
117
119
|
readonly Relace: "relace";
|
|
118
120
|
readonly Respan: "respan";
|
|
@@ -89,6 +89,7 @@ export const Provider = {
|
|
|
89
89
|
OpenInference: "open-inference",
|
|
90
90
|
Openai: "openai",
|
|
91
91
|
Parasail: "parasail",
|
|
92
|
+
ParetoAlpha: "pareto-alpha",
|
|
92
93
|
Perceptron: "perceptron",
|
|
93
94
|
Perplexity: "perplexity",
|
|
94
95
|
Phala: "phala",
|
|
@@ -96,6 +97,7 @@ export const Provider = {
|
|
|
96
97
|
Primeintellect: "primeintellect",
|
|
97
98
|
Quiver: "quiver",
|
|
98
99
|
Recraft: "recraft",
|
|
100
|
+
Recursive: "recursive",
|
|
99
101
|
Reka: "reka",
|
|
100
102
|
Relace: "relace",
|
|
101
103
|
Respan: "respan",
|
|
@@ -2,7 +2,7 @@ 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
4
|
import * as models from "../index.js";
|
|
5
|
-
export type
|
|
5
|
+
export type ListExternalUsersGlobals = {
|
|
6
6
|
/**
|
|
7
7
|
* The app identifier should be your app's URL and is used as the primary identifier for rankings.
|
|
8
8
|
*
|
|
@@ -23,7 +23,7 @@ export type ListEndUsersGlobals = {
|
|
|
23
23
|
*/
|
|
24
24
|
appCategories?: string | undefined;
|
|
25
25
|
};
|
|
26
|
-
export type
|
|
26
|
+
export type ListExternalUsersRequest = {
|
|
27
27
|
/**
|
|
28
28
|
* The app identifier should be your app's URL and is used as the primary identifier for rankings.
|
|
29
29
|
*
|
|
@@ -52,7 +52,7 @@ export type ListEndUsersRequest = {
|
|
|
52
52
|
*/
|
|
53
53
|
limit?: number | undefined;
|
|
54
54
|
/**
|
|
55
|
-
* Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths.
|
|
55
|
+
* 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.
|
|
56
56
|
*/
|
|
57
57
|
user?: string | undefined;
|
|
58
58
|
/**
|
|
@@ -60,11 +60,11 @@ export type ListEndUsersRequest = {
|
|
|
60
60
|
*/
|
|
61
61
|
includeInactive?: boolean | undefined;
|
|
62
62
|
};
|
|
63
|
-
export type
|
|
64
|
-
result: models.
|
|
63
|
+
export type ListExternalUsersResponse = {
|
|
64
|
+
result: models.ListExternalUsersResponse;
|
|
65
65
|
};
|
|
66
66
|
/** @internal */
|
|
67
|
-
export type
|
|
67
|
+
export type ListExternalUsersRequest$Outbound = {
|
|
68
68
|
"HTTP-Referer"?: string | undefined;
|
|
69
69
|
appTitle?: string | undefined;
|
|
70
70
|
appCategories?: string | undefined;
|
|
@@ -74,9 +74,9 @@ export type ListEndUsersRequest$Outbound = {
|
|
|
74
74
|
include_inactive: boolean;
|
|
75
75
|
};
|
|
76
76
|
/** @internal */
|
|
77
|
-
export declare const
|
|
78
|
-
export declare function
|
|
77
|
+
export declare const ListExternalUsersRequest$outboundSchema: z.ZodType<ListExternalUsersRequest$Outbound, ListExternalUsersRequest>;
|
|
78
|
+
export declare function listExternalUsersRequestToJSON(listExternalUsersRequest: ListExternalUsersRequest): string;
|
|
79
79
|
/** @internal */
|
|
80
|
-
export declare const
|
|
81
|
-
export declare function
|
|
82
|
-
//# sourceMappingURL=
|
|
80
|
+
export declare const ListExternalUsersResponse$inboundSchema: z.ZodType<ListExternalUsersResponse, unknown>;
|
|
81
|
+
export declare function listExternalUsersResponseFromJSON(jsonString: string): SafeParseResult<ListExternalUsersResponse, SDKValidationError>;
|
|
82
|
+
//# sourceMappingURL=listexternalusers.d.ts.map
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 54fe31dd43b6
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { ListExternalUsersResponse$inboundSchema as models_ListExternalUsersResponse$inboundSchema } from "../listexternalusersresponse.js";
|
|
9
|
+
/** @internal */
|
|
10
|
+
export const ListExternalUsersRequest$outboundSchema = z.object({
|
|
11
|
+
httpReferer: z.string().optional(),
|
|
12
|
+
appTitle: z.string().optional(),
|
|
13
|
+
appCategories: z.string().optional(),
|
|
14
|
+
offset: z.nullable(z.int().default(0)),
|
|
15
|
+
limit: z.int().default(50),
|
|
16
|
+
user: z.string().optional(),
|
|
17
|
+
includeInactive: z.boolean().default(false),
|
|
18
|
+
}).transform((v) => {
|
|
19
|
+
return remap$(v, {
|
|
20
|
+
httpReferer: "HTTP-Referer",
|
|
21
|
+
includeInactive: "include_inactive",
|
|
22
|
+
});
|
|
23
|
+
});
|
|
24
|
+
export function listExternalUsersRequestToJSON(listExternalUsersRequest) {
|
|
25
|
+
return JSON.stringify(ListExternalUsersRequest$outboundSchema.parse(listExternalUsersRequest));
|
|
26
|
+
}
|
|
27
|
+
/** @internal */
|
|
28
|
+
export const ListExternalUsersResponse$inboundSchema = z.object({
|
|
29
|
+
Result: models_ListExternalUsersResponse$inboundSchema,
|
|
30
|
+
}).transform((v) => {
|
|
31
|
+
return remap$(v, {
|
|
32
|
+
"Result": "result",
|
|
33
|
+
});
|
|
34
|
+
});
|
|
35
|
+
export function listExternalUsersResponseFromJSON(jsonString) {
|
|
36
|
+
return safeParse(jsonString, (x) => ListExternalUsersResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListExternalUsersResponse' from JSON`);
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=listexternalusers.js.map
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
export type ListInternConnectionsGlobals = {
|
|
5
|
+
/**
|
|
6
|
+
* The app identifier should be your app's URL and is used as the primary identifier for rankings.
|
|
7
|
+
*
|
|
8
|
+
* @remarks
|
|
9
|
+
* This is used to track API usage per application.
|
|
10
|
+
*/
|
|
11
|
+
httpReferer?: string | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* The app display name allows you to customize how your app appears in OpenRouter's dashboard.
|
|
14
|
+
*
|
|
15
|
+
* @remarks
|
|
16
|
+
*/
|
|
17
|
+
appTitle?: string | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* Comma-separated list of app categories (e.g. "cli-agent,cloud-agent"). Used for marketplace rankings.
|
|
20
|
+
*
|
|
21
|
+
* @remarks
|
|
22
|
+
*/
|
|
23
|
+
appCategories?: string | undefined;
|
|
24
|
+
};
|
|
25
|
+
export type ListInternConnectionsRequest = {
|
|
26
|
+
/**
|
|
27
|
+
* The app identifier should be your app's URL and is used as the primary identifier for rankings.
|
|
28
|
+
*
|
|
29
|
+
* @remarks
|
|
30
|
+
* This is used to track API usage per application.
|
|
31
|
+
*/
|
|
32
|
+
httpReferer?: string | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* The app display name allows you to customize how your app appears in OpenRouter's dashboard.
|
|
35
|
+
*
|
|
36
|
+
* @remarks
|
|
37
|
+
*/
|
|
38
|
+
appTitle?: string | undefined;
|
|
39
|
+
/**
|
|
40
|
+
* Comma-separated list of app categories (e.g. "cli-agent,cloud-agent"). Used for marketplace rankings.
|
|
41
|
+
*
|
|
42
|
+
* @remarks
|
|
43
|
+
*/
|
|
44
|
+
appCategories?: string | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* UUID of an intern in the workspace selected by the API key.
|
|
47
|
+
*/
|
|
48
|
+
internId: string;
|
|
49
|
+
};
|
|
50
|
+
export type ListInternConnectionsData = {
|
|
51
|
+
key: string;
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* The connections the intern can use.
|
|
55
|
+
*/
|
|
56
|
+
export type ListInternConnectionsResponse = {
|
|
57
|
+
data: Array<ListInternConnectionsData>;
|
|
58
|
+
};
|
|
59
|
+
/** @internal */
|
|
60
|
+
export type ListInternConnectionsRequest$Outbound = {
|
|
61
|
+
"HTTP-Referer"?: string | undefined;
|
|
62
|
+
appTitle?: string | undefined;
|
|
63
|
+
appCategories?: string | undefined;
|
|
64
|
+
internId: string;
|
|
65
|
+
};
|
|
66
|
+
/** @internal */
|
|
67
|
+
export declare const ListInternConnectionsRequest$outboundSchema: z.ZodType<ListInternConnectionsRequest$Outbound, ListInternConnectionsRequest>;
|
|
68
|
+
export declare function listInternConnectionsRequestToJSON(listInternConnectionsRequest: ListInternConnectionsRequest): string;
|
|
69
|
+
/** @internal */
|
|
70
|
+
export declare const ListInternConnectionsData$inboundSchema: z.ZodType<ListInternConnectionsData, unknown>;
|
|
71
|
+
export declare function listInternConnectionsDataFromJSON(jsonString: string): SafeParseResult<ListInternConnectionsData, SDKValidationError>;
|
|
72
|
+
/** @internal */
|
|
73
|
+
export declare const ListInternConnectionsResponse$inboundSchema: z.ZodType<ListInternConnectionsResponse, unknown>;
|
|
74
|
+
export declare function listInternConnectionsResponseFromJSON(jsonString: string): SafeParseResult<ListInternConnectionsResponse, SDKValidationError>;
|
|
75
|
+
//# sourceMappingURL=listinternconnections.d.ts.map
|