@openrouter/sdk 0.0.1-beta.9 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/REACT_QUERY.md +3 -12
- package/README.md +52 -396
- package/esm/funcs/analyticsGetUserActivity.d.ts +1 -1
- package/esm/funcs/analyticsGetUserActivity.js +2 -2
- package/esm/funcs/apiKeysCreate.d.ts +1 -1
- package/esm/funcs/apiKeysCreate.js +2 -2
- package/esm/funcs/apiKeysDelete.d.ts +1 -1
- package/esm/funcs/apiKeysDelete.js +2 -2
- package/esm/funcs/apiKeysGet.d.ts +1 -1
- package/esm/funcs/apiKeysGet.js +2 -2
- package/esm/funcs/apiKeysGetCurrentKeyMetadata.d.ts +1 -1
- package/esm/funcs/apiKeysGetCurrentKeyMetadata.js +2 -2
- package/esm/funcs/apiKeysList.d.ts +1 -1
- package/esm/funcs/apiKeysList.js +2 -2
- package/esm/funcs/apiKeysUpdate.d.ts +1 -1
- package/esm/funcs/apiKeysUpdate.js +2 -2
- package/esm/funcs/betaResponsesSend.d.ts +9 -1
- package/esm/funcs/betaResponsesSend.js +38 -14
- package/esm/funcs/chatSend.d.ts +7 -0
- package/esm/funcs/chatSend.js +1 -7
- package/esm/funcs/creditsCreateCoinbaseCharge.d.ts +1 -1
- package/esm/funcs/creditsCreateCoinbaseCharge.js +15 -5
- package/esm/funcs/creditsGetCredits.d.ts +1 -1
- package/esm/funcs/creditsGetCredits.js +2 -2
- package/esm/funcs/endpointsList.d.ts +1 -1
- package/esm/funcs/endpointsList.js +2 -2
- package/esm/funcs/endpointsListZdrEndpoints.d.ts +2 -1
- package/esm/funcs/endpointsListZdrEndpoints.js +6 -2
- package/esm/funcs/generationsGetGeneration.d.ts +1 -1
- package/esm/funcs/generationsGetGeneration.js +13 -2
- package/esm/funcs/modelsCount.d.ts +3 -2
- package/esm/funcs/modelsCount.js +7 -3
- package/esm/funcs/modelsList.d.ts +3 -1
- package/esm/funcs/modelsList.js +8 -7
- package/esm/funcs/modelsListForUser.d.ts +3 -1
- package/esm/funcs/modelsListForUser.js +7 -3
- package/esm/funcs/oAuthCreateAuthCode.d.ts +18 -0
- package/esm/funcs/oAuthCreateAuthCode.js +82 -0
- package/esm/funcs/oAuthCreateAuthorizationUrl.d.ts +2 -2
- package/esm/funcs/oAuthExchangeAuthCodeForAPIKey.d.ts +18 -0
- package/esm/funcs/oAuthExchangeAuthCodeForAPIKey.js +82 -0
- package/esm/funcs/parametersGetParameters.d.ts +1 -1
- package/esm/funcs/parametersGetParameters.js +2 -2
- package/esm/funcs/providersList.d.ts +1 -1
- package/esm/funcs/providersList.js +1 -1
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/lib/event-streams.d.ts +1 -1
- package/esm/models/badgatewayresponseerrordata.d.ts +40 -0
- package/esm/models/badgatewayresponseerrordata.js +35 -0
- package/esm/models/badrequestresponseerrordata.d.ts +40 -0
- package/esm/models/badrequestresponseerrordata.js +35 -0
- package/esm/models/chatgenerationparams.d.ts +12 -12
- package/esm/models/chatgenerationparams.js +16 -16
- package/esm/models/chatgenerationtokenusage.d.ts +2 -2
- package/esm/models/chatgenerationtokenusage.js +2 -4
- package/esm/models/chatmessagetokenlogprob.d.ts +15 -15
- package/esm/models/chatmessagetokenlogprob.js +16 -15
- package/esm/models/chatstreamingresponsechunk.d.ts +15 -15
- package/esm/models/chatstreamingresponsechunk.js +15 -15
- package/esm/models/completioncreateparams.d.ts +2 -2
- package/esm/models/completioncreateparams.js +2 -2
- package/esm/models/createchargerequest.d.ts +31 -2
- package/esm/models/createchargerequest.js +47 -2
- package/esm/models/defaultparameters.d.ts +36 -0
- package/esm/models/defaultparameters.js +46 -0
- package/esm/models/edgenetworktimeoutresponseerrordata.d.ts +40 -0
- package/esm/models/edgenetworktimeoutresponseerrordata.js +35 -0
- package/esm/models/endpointstatus.d.ts +26 -0
- package/esm/models/endpointstatus.js +36 -0
- package/esm/models/errors/badgatewayresponseerror.d.ts +52 -0
- package/esm/models/errors/badgatewayresponseerror.js +63 -0
- package/esm/models/errors/badrequestresponseerror.d.ts +52 -0
- package/esm/models/errors/badrequestresponseerror.js +63 -0
- package/esm/models/errors/edgenetworktimeoutresponseerror.d.ts +52 -0
- package/esm/models/errors/edgenetworktimeoutresponseerror.js +63 -0
- package/esm/models/errors/forbiddenresponseerror.d.ts +52 -0
- package/esm/models/errors/forbiddenresponseerror.js +63 -0
- package/esm/models/errors/index.d.ts +14 -2
- package/esm/models/errors/index.js +14 -2
- package/esm/models/errors/internalserverresponseerror.d.ts +52 -0
- package/esm/models/errors/internalserverresponseerror.js +63 -0
- package/esm/models/errors/notfoundresponseerror.d.ts +52 -0
- package/esm/models/errors/{errorresponse.js → notfoundresponseerror.js} +16 -17
- package/esm/models/errors/payloadtoolargeresponseerror.d.ts +52 -0
- package/esm/models/errors/payloadtoolargeresponseerror.js +63 -0
- package/esm/models/errors/paymentrequiredresponseerror.d.ts +52 -0
- package/esm/models/errors/paymentrequiredresponseerror.js +63 -0
- package/esm/models/errors/provideroverloadedresponseerror.d.ts +52 -0
- package/esm/models/errors/provideroverloadedresponseerror.js +63 -0
- package/esm/models/errors/requesttimeoutresponseerror.d.ts +52 -0
- package/esm/models/errors/requesttimeoutresponseerror.js +63 -0
- package/esm/models/errors/serviceunavailableresponseerror.d.ts +52 -0
- package/esm/models/errors/serviceunavailableresponseerror.js +63 -0
- package/esm/models/errors/toomanyrequestsresponseerror.d.ts +52 -0
- package/esm/models/errors/toomanyrequestsresponseerror.js +63 -0
- package/esm/models/errors/unauthorizedresponseerror.d.ts +52 -0
- package/esm/models/errors/unauthorizedresponseerror.js +63 -0
- package/esm/models/errors/unprocessableentityresponseerror.d.ts +52 -0
- package/esm/models/errors/unprocessableentityresponseerror.js +63 -0
- package/esm/models/filecitation.d.ts +58 -0
- package/esm/models/filecitation.js +65 -0
- package/esm/models/filepath.d.ts +56 -0
- package/esm/models/filepath.js +64 -0
- package/esm/models/forbiddenresponseerrordata.d.ts +40 -0
- package/esm/models/forbiddenresponseerrordata.js +35 -0
- package/esm/models/index.d.ts +67 -23
- package/esm/models/index.js +67 -23
- package/esm/models/inputmodality.d.ts +25 -0
- package/esm/models/inputmodality.js +35 -0
- package/esm/models/instructtype.d.ts +48 -0
- package/esm/models/instructtype.js +55 -0
- package/esm/models/internalserverresponseerrordata.d.ts +40 -0
- package/esm/models/internalserverresponseerrordata.js +35 -0
- package/esm/models/listendpointsresponse.d.ts +126 -2
- package/esm/models/listendpointsresponse.js +115 -2
- package/esm/models/model.d.ts +101 -0
- package/esm/models/model.js +82 -0
- package/esm/models/modelarchitecture.d.ts +104 -0
- package/esm/models/modelarchitecture.js +107 -0
- package/esm/models/modelgroup.d.ts +45 -0
- package/esm/models/modelgroup.js +53 -0
- package/esm/models/modelscountresponse.d.ts +40 -2
- package/esm/models/modelscountresponse.js +31 -2
- package/esm/models/modelslistresponse.d.ts +10 -2
- package/esm/models/modelslistresponse.js +7 -2
- package/esm/models/notfoundresponseerrordata.d.ts +40 -0
- package/esm/models/notfoundresponseerrordata.js +35 -0
- package/esm/models/openairesponsesannotation.d.ts +28 -0
- package/esm/models/openairesponsesannotation.js +38 -0
- package/esm/models/openairesponsesincludable.d.ts +25 -0
- package/esm/models/openairesponsesincludable.js +35 -0
- package/esm/models/openairesponsesincompletedetails.d.ts +49 -0
- package/esm/models/openairesponsesincompletedetails.js +58 -0
- package/esm/models/openairesponsesinputunion.d.ts +588 -0
- package/esm/models/openairesponsesinputunion.js +686 -0
- package/esm/models/openairesponsesprompt.d.ts +83 -0
- package/esm/models/openairesponsesprompt.js +97 -0
- package/esm/models/openairesponsesreasoningconfig.d.ts +33 -0
- package/esm/models/openairesponsesreasoningconfig.js +35 -0
- package/esm/models/openairesponsesreasoningeffort.d.ts +24 -0
- package/esm/models/openairesponsesreasoningeffort.js +34 -0
- package/esm/models/openairesponsesrefusalcontent.d.ts +54 -0
- package/esm/models/openairesponsesrefusalcontent.js +51 -0
- package/esm/models/openairesponsesresponsestatus.d.ts +26 -0
- package/esm/models/openairesponsesresponsestatus.js +36 -0
- package/esm/models/openairesponsesservicetier.d.ts +25 -0
- package/esm/models/openairesponsesservicetier.js +35 -0
- package/esm/models/openairesponsestoolchoiceunion.d.ts +231 -0
- package/esm/models/openairesponsestoolchoiceunion.js +233 -0
- package/esm/models/openairesponsestruncation.d.ts +22 -0
- package/esm/models/openairesponsestruncation.js +32 -0
- package/esm/models/openresponseseasyinputmessage.d.ts +75 -19
- package/esm/models/openresponseseasyinputmessage.js +105 -16
- package/esm/models/openresponseserrorevent.d.ts +63 -0
- package/esm/models/openresponseserrorevent.js +66 -0
- package/esm/models/openresponsesimagegencallcompleted.d.ts +61 -0
- package/esm/models/openresponsesimagegencallcompleted.js +68 -0
- package/esm/models/openresponsesimagegencallgenerating.d.ts +61 -0
- package/esm/models/openresponsesimagegencallgenerating.js +68 -0
- package/esm/models/openresponsesimagegencallinprogress.d.ts +61 -0
- package/esm/models/openresponsesimagegencallinprogress.js +68 -0
- package/esm/models/openresponsesimagegencallpartialimage.d.ts +65 -0
- package/esm/models/openresponsesimagegencallpartialimage.js +76 -0
- package/esm/models/openresponsesinput.d.ts +36 -5
- package/esm/models/openresponsesinput.js +82 -5
- package/esm/models/openresponsesinputmessageitem.d.ts +52 -8
- package/esm/models/openresponsesinputmessageitem.js +68 -5
- package/esm/models/openresponseslogprobs.d.ts +3 -32
- package/esm/models/openresponseslogprobs.js +3 -29
- package/esm/models/openresponsesnonstreamingresponse.d.ts +93 -123
- package/esm/models/openresponsesnonstreamingresponse.js +111 -145
- package/esm/models/openresponsesreasoning.d.ts +89 -0
- package/esm/models/openresponsesreasoning.js +93 -0
- package/esm/models/openresponsesreasoningconfig.d.ts +2 -23
- package/esm/models/openresponsesreasoningconfig.js +3 -33
- package/esm/models/openresponsesreasoningdeltaevent.d.ts +65 -0
- package/esm/models/openresponsesreasoningdeltaevent.js +74 -0
- package/esm/models/openresponsesreasoningdoneevent.d.ts +65 -0
- package/esm/models/openresponsesreasoningdoneevent.js +74 -0
- package/esm/models/openresponsesreasoningsummarypartaddedevent.d.ts +66 -0
- package/esm/models/openresponsesreasoningsummarypartaddedevent.js +75 -0
- package/esm/models/openresponsesreasoningsummarytextdeltaevent.d.ts +65 -0
- package/esm/models/openresponsesreasoningsummarytextdeltaevent.js +74 -0
- package/esm/models/openresponsesreasoningsummarytextdoneevent.d.ts +65 -0
- package/esm/models/openresponsesreasoningsummarytextdoneevent.js +74 -0
- package/esm/models/openresponsesrequest.d.ts +736 -2
- package/esm/models/openresponsesrequest.js +789 -2
- package/esm/models/openresponsesresponsetext.d.ts +59 -0
- package/esm/models/openresponsesresponsetext.js +64 -0
- package/esm/models/openresponsesstreamevent.d.ts +25 -612
- package/esm/models/openresponsesstreamevent.js +51 -742
- package/esm/models/openresponsestoplogprobs.d.ts +34 -0
- package/esm/models/openresponsestoplogprobs.js +33 -0
- package/esm/models/{responsesusage.d.ts → openresponsesusage.d.ts} +14 -14
- package/esm/models/{responsesusage.js → openresponsesusage.js} +14 -14
- package/esm/models/operations/createauthkeyscode.d.ts +145 -0
- package/esm/models/operations/createauthkeyscode.js +146 -0
- package/esm/models/operations/createresponses.d.ts +58 -0
- package/esm/models/operations/createresponses.js +80 -0
- package/esm/models/operations/exchangeauthcodeforapikey.d.ts +104 -0
- package/esm/models/operations/exchangeauthcodeforapikey.js +111 -0
- package/esm/models/operations/getmodels.d.ts +0 -26
- package/esm/models/operations/getmodels.js +0 -38
- package/esm/models/operations/getparameters.d.ts +1 -0
- package/esm/models/operations/getparameters.js +1 -0
- package/esm/models/operations/index.d.ts +3 -2
- package/esm/models/operations/index.js +3 -2
- package/esm/models/operations/listendpointszdr.d.ts +3 -24
- package/esm/models/operations/listendpointszdr.js +2 -29
- package/esm/models/operations/listmodelsuser.d.ts +0 -22
- package/esm/models/operations/listmodelsuser.js +0 -28
- package/esm/models/operations/listproviders.d.ts +0 -36
- package/esm/models/operations/listproviders.js +0 -28
- package/esm/models/operations/sendchatcompletionrequest.d.ts +1 -1
- package/esm/models/operations/sendchatcompletionrequest.js +2 -1
- package/esm/models/outputitemimagegenerationcall.d.ts +59 -0
- package/esm/models/outputitemimagegenerationcall.js +56 -0
- package/esm/models/outputmessage.d.ts +192 -0
- package/esm/models/outputmessage.js +202 -0
- package/esm/models/outputmodality.d.ts +23 -0
- package/esm/models/outputmodality.js +33 -0
- package/esm/models/parameter.d.ts +43 -0
- package/esm/models/parameter.js +54 -0
- package/esm/models/payloadtoolargeresponseerrordata.d.ts +40 -0
- package/esm/models/payloadtoolargeresponseerrordata.js +35 -0
- package/esm/models/paymentrequiredresponseerrordata.d.ts +40 -0
- package/esm/models/paymentrequiredresponseerrordata.js +35 -0
- package/esm/models/perrequestlimits.d.ts +40 -0
- package/esm/models/perrequestlimits.js +44 -0
- package/esm/models/providername.d.ts +106 -0
- package/esm/models/providername.js +116 -0
- package/esm/models/provideroverloadedresponseerrordata.d.ts +40 -0
- package/esm/models/provideroverloadedresponseerrordata.js +35 -0
- package/esm/models/publicendpoint.d.ts +140 -2
- package/esm/models/publicendpoint.js +156 -2
- package/esm/models/publicpricing.d.ts +87 -0
- package/esm/models/publicpricing.js +73 -0
- package/esm/models/quantization.d.ts +29 -0
- package/esm/models/quantization.js +39 -0
- package/esm/models/requesttimeoutresponseerrordata.d.ts +40 -0
- package/esm/models/requesttimeoutresponseerrordata.js +35 -0
- package/esm/models/responseformattextconfig.d.ts +31 -0
- package/esm/models/responseformattextconfig.js +38 -0
- package/esm/models/responseinputfile.d.ts +63 -0
- package/esm/models/responseinputfile.js +70 -0
- package/esm/models/responseinputimage.d.ts +79 -0
- package/esm/models/responseinputimage.js +90 -0
- package/esm/models/responseinputtext.d.ts +57 -0
- package/esm/models/responseinputtext.js +51 -0
- package/esm/models/responseoutputtext.d.ts +57 -0
- package/esm/models/responseoutputtext.js +54 -0
- package/esm/models/responseserrorfield.d.ts +25 -10
- package/esm/models/responseserrorfield.js +29 -14
- package/esm/models/responsesformatjsonobject.d.ts +55 -0
- package/esm/models/responsesformatjsonobject.js +49 -0
- package/esm/models/responsesformattext.d.ts +55 -0
- package/esm/models/responsesformattext.js +49 -0
- package/esm/models/responsesformattextjsonschemaconfig.d.ts +67 -0
- package/esm/models/responsesformattextjsonschemaconfig.js +57 -0
- package/esm/models/responsesoutputitemfunctioncall.d.ts +89 -0
- package/esm/models/responsesoutputitemfunctioncall.js +93 -0
- package/esm/models/responsesoutputitemreasoning.d.ts +92 -0
- package/esm/models/responsesoutputitemreasoning.js +93 -0
- package/esm/models/responsesoutputmessage.d.ts +45 -42
- package/esm/models/responsesoutputmessage.js +76 -65
- package/esm/models/responsetextconfig.d.ts +59 -0
- package/esm/models/responsetextconfig.js +62 -0
- package/esm/models/serviceunavailableresponseerrordata.d.ts +40 -0
- package/esm/models/serviceunavailableresponseerrordata.js +35 -0
- package/esm/models/toomanyrequestsresponseerrordata.d.ts +40 -0
- package/esm/models/toomanyrequestsresponseerrordata.js +35 -0
- package/esm/models/topproviderinfo.d.ts +45 -0
- package/esm/models/topproviderinfo.js +48 -0
- package/esm/models/unauthorizedresponseerrordata.d.ts +40 -0
- package/esm/models/unauthorizedresponseerrordata.js +35 -0
- package/esm/models/unprocessableentityresponseerrordata.d.ts +40 -0
- package/esm/models/unprocessableentityresponseerrordata.js +35 -0
- package/esm/models/urlcitation.d.ts +60 -0
- package/esm/models/urlcitation.js +69 -0
- package/esm/react-query/betaResponsesSend.d.ts +1 -1
- package/esm/react-query/index.d.ts +2 -0
- package/esm/react-query/index.js +2 -0
- package/esm/react-query/modelsCount.d.ts +2 -2
- package/esm/react-query/modelsList.d.ts +2 -7
- package/esm/react-query/modelsList.js +0 -2
- package/esm/react-query/modelsListForUser.d.ts +2 -1
- package/esm/react-query/oAuthCreateAuthCode.d.ts +23 -0
- package/esm/react-query/oAuthCreateAuthCode.js +42 -0
- package/esm/react-query/oAuthExchangeAuthCodeForAPIKey.d.ts +23 -0
- package/esm/react-query/oAuthExchangeAuthCodeForAPIKey.js +42 -0
- package/esm/sdk/chat.d.ts +7 -0
- package/esm/sdk/chat.js +0 -6
- package/esm/sdk/models.d.ts +4 -3
- package/esm/sdk/oauth.d.ts +46 -0
- package/esm/sdk/oauth.js +67 -0
- package/esm/sdk/responses.d.ts +8 -1
- package/esm/sdk/responses.js +0 -6
- package/esm/sdk/sdk.d.ts +3 -0
- package/esm/sdk/sdk.js +4 -0
- package/jsr.json +1 -1
- package/package.json +3 -1
- package/vitest.config.ts +26 -0
- package/.devcontainer/README.md +0 -35
- package/esm/models/errorresponse.d.ts +0 -155
- package/esm/models/errorresponse.js +0 -167
- package/esm/models/errors/errorresponse.d.ts +0 -46
- package/esm/models/errors/listproviders.d.ts +0 -49
- package/esm/models/errors/listproviders.js +0 -51
- package/esm/models/filecitationannotation.d.ts +0 -58
- package/esm/models/filecitationannotation.js +0 -64
- package/esm/models/filepathannotation.d.ts +0 -56
- package/esm/models/filepathannotation.js +0 -62
- package/esm/models/openresponsesformatjsonobject.d.ts +0 -55
- package/esm/models/openresponsesformatjsonobject.js +0 -49
- package/esm/models/openresponsesformatjsonschema.d.ts +0 -67
- package/esm/models/openresponsesformatjsonschema.js +0 -57
- package/esm/models/openresponsesformattext.d.ts +0 -55
- package/esm/models/openresponsesformattext.js +0 -49
- package/esm/models/openresponsesformattextconfig.d.ts +0 -31
- package/esm/models/openresponsesformattextconfig.js +0 -38
- package/esm/models/openresponsesinputcontent.d.ts +0 -43
- package/esm/models/openresponsesinputcontent.js +0 -50
- package/esm/models/openresponsesinputfile.d.ts +0 -63
- package/esm/models/openresponsesinputfile.js +0 -70
- package/esm/models/openresponsesinputimage.d.ts +0 -79
- package/esm/models/openresponsesinputimage.js +0 -90
- package/esm/models/openresponsesinputitem.d.ts +0 -39
- package/esm/models/openresponsesinputitem.js +0 -62
- package/esm/models/openresponsesinputtext.d.ts +0 -57
- package/esm/models/openresponsesinputtext.js +0 -51
- package/esm/models/openresponsesoutputtext.d.ts +0 -80
- package/esm/models/openresponsesoutputtext.js +0 -93
- package/esm/models/openresponsesprompt.d.ts +0 -39
- package/esm/models/openresponsesprompt.js +0 -34
- package/esm/models/openresponsesrefusalcontent.d.ts +0 -54
- package/esm/models/openresponsesrefusalcontent.js +0 -51
- package/esm/models/openresponsestextconfig.d.ts +0 -59
- package/esm/models/openresponsestextconfig.js +0 -63
- package/esm/models/openresponsestoolchoice.d.ts +0 -148
- package/esm/models/openresponsestoolchoice.js +0 -139
- package/esm/models/openresponsestoolunion.d.ts +0 -95
- package/esm/models/openresponsestoolunion.js +0 -94
- package/esm/models/operations/createapialpharesponses.d.ts +0 -58
- package/esm/models/operations/createapialpharesponses.js +0 -83
- package/esm/models/operations/listmodelscount.d.ts +0 -26
- package/esm/models/operations/listmodelscount.js +0 -34
- package/esm/models/outputtextcontent.d.ts +0 -80
- package/esm/models/outputtextcontent.js +0 -93
- package/esm/models/refusalcontent.d.ts +0 -54
- package/esm/models/refusalcontent.js +0 -51
- package/esm/models/toolchoicetypes.d.ts +0 -164
- package/esm/models/toolchoicetypes.js +0 -167
- package/esm/models/urlcitationannotation.d.ts +0 -60
- package/esm/models/urlcitationannotation.js +0 -68
- package/examples/README.md +0 -31
|
@@ -0,0 +1,588 @@
|
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
3
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
4
|
+
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
5
|
+
import { OutputItemImageGenerationCall, OutputItemImageGenerationCall$Outbound } from "./outputitemimagegenerationcall.js";
|
|
6
|
+
import { OutputMessage, OutputMessage$Outbound } from "./outputmessage.js";
|
|
7
|
+
import { ResponseInputFile, ResponseInputFile$Outbound } from "./responseinputfile.js";
|
|
8
|
+
import { ResponseInputImage, ResponseInputImage$Outbound } from "./responseinputimage.js";
|
|
9
|
+
import { ResponseInputText, ResponseInputText$Outbound } from "./responseinputtext.js";
|
|
10
|
+
import { ToolCallStatus } from "./toolcallstatus.js";
|
|
11
|
+
export declare const OpenAIResponsesInputTypeFunctionCall: {
|
|
12
|
+
readonly FunctionCall: "function_call";
|
|
13
|
+
};
|
|
14
|
+
export type OpenAIResponsesInputTypeFunctionCall = ClosedEnum<typeof OpenAIResponsesInputTypeFunctionCall>;
|
|
15
|
+
export type OpenAIResponsesInputFunctionCall = {
|
|
16
|
+
type: OpenAIResponsesInputTypeFunctionCall;
|
|
17
|
+
callId: string;
|
|
18
|
+
name: string;
|
|
19
|
+
arguments: string;
|
|
20
|
+
id?: string | undefined;
|
|
21
|
+
status?: ToolCallStatus | undefined;
|
|
22
|
+
};
|
|
23
|
+
export declare const OpenAIResponsesInputTypeFunctionCallOutput: {
|
|
24
|
+
readonly FunctionCallOutput: "function_call_output";
|
|
25
|
+
};
|
|
26
|
+
export type OpenAIResponsesInputTypeFunctionCallOutput = ClosedEnum<typeof OpenAIResponsesInputTypeFunctionCallOutput>;
|
|
27
|
+
export type OpenAIResponsesInputFunctionCallOutput = {
|
|
28
|
+
type: OpenAIResponsesInputTypeFunctionCallOutput;
|
|
29
|
+
id: string;
|
|
30
|
+
callId: string;
|
|
31
|
+
output: string;
|
|
32
|
+
status?: ToolCallStatus | undefined;
|
|
33
|
+
};
|
|
34
|
+
export declare const OpenAIResponsesInputTypeMessage2: {
|
|
35
|
+
readonly Message: "message";
|
|
36
|
+
};
|
|
37
|
+
export type OpenAIResponsesInputTypeMessage2 = ClosedEnum<typeof OpenAIResponsesInputTypeMessage2>;
|
|
38
|
+
export declare const OpenAIResponsesInputRoleDeveloper2: {
|
|
39
|
+
readonly Developer: "developer";
|
|
40
|
+
};
|
|
41
|
+
export type OpenAIResponsesInputRoleDeveloper2 = ClosedEnum<typeof OpenAIResponsesInputRoleDeveloper2>;
|
|
42
|
+
export declare const OpenAIResponsesInputRoleSystem2: {
|
|
43
|
+
readonly System: "system";
|
|
44
|
+
};
|
|
45
|
+
export type OpenAIResponsesInputRoleSystem2 = ClosedEnum<typeof OpenAIResponsesInputRoleSystem2>;
|
|
46
|
+
export declare const OpenAIResponsesInputRoleUser2: {
|
|
47
|
+
readonly User: "user";
|
|
48
|
+
};
|
|
49
|
+
export type OpenAIResponsesInputRoleUser2 = ClosedEnum<typeof OpenAIResponsesInputRoleUser2>;
|
|
50
|
+
export type OpenAIResponsesInputRoleUnion2 = OpenAIResponsesInputRoleUser2 | OpenAIResponsesInputRoleSystem2 | OpenAIResponsesInputRoleDeveloper2;
|
|
51
|
+
export type OpenAIResponsesInputContent3 = (ResponseInputText & {
|
|
52
|
+
type: "input_text";
|
|
53
|
+
}) | (ResponseInputImage & {
|
|
54
|
+
type: "input_image";
|
|
55
|
+
}) | (ResponseInputFile & {
|
|
56
|
+
type: "input_file";
|
|
57
|
+
});
|
|
58
|
+
export type OpenAIResponsesInputMessage2 = {
|
|
59
|
+
id: string;
|
|
60
|
+
type?: OpenAIResponsesInputTypeMessage2 | undefined;
|
|
61
|
+
role: OpenAIResponsesInputRoleUser2 | OpenAIResponsesInputRoleSystem2 | OpenAIResponsesInputRoleDeveloper2;
|
|
62
|
+
content: Array<(ResponseInputText & {
|
|
63
|
+
type: "input_text";
|
|
64
|
+
}) | (ResponseInputImage & {
|
|
65
|
+
type: "input_image";
|
|
66
|
+
}) | (ResponseInputFile & {
|
|
67
|
+
type: "input_file";
|
|
68
|
+
})>;
|
|
69
|
+
};
|
|
70
|
+
export declare const OpenAIResponsesInputTypeMessage1: {
|
|
71
|
+
readonly Message: "message";
|
|
72
|
+
};
|
|
73
|
+
export type OpenAIResponsesInputTypeMessage1 = ClosedEnum<typeof OpenAIResponsesInputTypeMessage1>;
|
|
74
|
+
export declare const OpenAIResponsesInputRoleDeveloper1: {
|
|
75
|
+
readonly Developer: "developer";
|
|
76
|
+
};
|
|
77
|
+
export type OpenAIResponsesInputRoleDeveloper1 = ClosedEnum<typeof OpenAIResponsesInputRoleDeveloper1>;
|
|
78
|
+
export declare const OpenAIResponsesInputRoleAssistant: {
|
|
79
|
+
readonly Assistant: "assistant";
|
|
80
|
+
};
|
|
81
|
+
export type OpenAIResponsesInputRoleAssistant = ClosedEnum<typeof OpenAIResponsesInputRoleAssistant>;
|
|
82
|
+
export declare const OpenAIResponsesInputRoleSystem1: {
|
|
83
|
+
readonly System: "system";
|
|
84
|
+
};
|
|
85
|
+
export type OpenAIResponsesInputRoleSystem1 = ClosedEnum<typeof OpenAIResponsesInputRoleSystem1>;
|
|
86
|
+
export declare const OpenAIResponsesInputRoleUser1: {
|
|
87
|
+
readonly User: "user";
|
|
88
|
+
};
|
|
89
|
+
export type OpenAIResponsesInputRoleUser1 = ClosedEnum<typeof OpenAIResponsesInputRoleUser1>;
|
|
90
|
+
export type OpenAIResponsesInputRoleUnion1 = OpenAIResponsesInputRoleUser1 | OpenAIResponsesInputRoleSystem1 | OpenAIResponsesInputRoleAssistant | OpenAIResponsesInputRoleDeveloper1;
|
|
91
|
+
export type OpenAIResponsesInputContent1 = (ResponseInputText & {
|
|
92
|
+
type: "input_text";
|
|
93
|
+
}) | (ResponseInputImage & {
|
|
94
|
+
type: "input_image";
|
|
95
|
+
}) | (ResponseInputFile & {
|
|
96
|
+
type: "input_file";
|
|
97
|
+
});
|
|
98
|
+
export type OpenAIResponsesInputContent2 = Array<(ResponseInputText & {
|
|
99
|
+
type: "input_text";
|
|
100
|
+
}) | (ResponseInputImage & {
|
|
101
|
+
type: "input_image";
|
|
102
|
+
}) | (ResponseInputFile & {
|
|
103
|
+
type: "input_file";
|
|
104
|
+
})> | string;
|
|
105
|
+
export type OpenAIResponsesInputMessage1 = {
|
|
106
|
+
type?: OpenAIResponsesInputTypeMessage1 | undefined;
|
|
107
|
+
role: OpenAIResponsesInputRoleUser1 | OpenAIResponsesInputRoleSystem1 | OpenAIResponsesInputRoleAssistant | OpenAIResponsesInputRoleDeveloper1;
|
|
108
|
+
content: Array<(ResponseInputText & {
|
|
109
|
+
type: "input_text";
|
|
110
|
+
}) | (ResponseInputImage & {
|
|
111
|
+
type: "input_image";
|
|
112
|
+
}) | (ResponseInputFile & {
|
|
113
|
+
type: "input_file";
|
|
114
|
+
})> | string;
|
|
115
|
+
};
|
|
116
|
+
export type OpenAIResponsesInputUnion1 = OpenAIResponsesInputFunctionCallOutput | OpenAIResponsesInputFunctionCall | OutputItemImageGenerationCall | OutputMessage | OpenAIResponsesInputMessage2 | OpenAIResponsesInputMessage1;
|
|
117
|
+
export type OpenAIResponsesInputUnion = string | Array<OpenAIResponsesInputFunctionCallOutput | OpenAIResponsesInputFunctionCall | OutputItemImageGenerationCall | OutputMessage | OpenAIResponsesInputMessage2 | OpenAIResponsesInputMessage1> | any;
|
|
118
|
+
/** @internal */
|
|
119
|
+
export declare const OpenAIResponsesInputTypeFunctionCall$inboundSchema: z.ZodEnum<typeof OpenAIResponsesInputTypeFunctionCall>;
|
|
120
|
+
/** @internal */
|
|
121
|
+
export declare const OpenAIResponsesInputTypeFunctionCall$outboundSchema: z.ZodEnum<typeof OpenAIResponsesInputTypeFunctionCall>;
|
|
122
|
+
/**
|
|
123
|
+
* @internal
|
|
124
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
125
|
+
*/
|
|
126
|
+
export declare namespace OpenAIResponsesInputTypeFunctionCall$ {
|
|
127
|
+
/** @deprecated use `OpenAIResponsesInputTypeFunctionCall$inboundSchema` instead. */
|
|
128
|
+
const inboundSchema: z.ZodEnum<{
|
|
129
|
+
readonly FunctionCall: "function_call";
|
|
130
|
+
}>;
|
|
131
|
+
/** @deprecated use `OpenAIResponsesInputTypeFunctionCall$outboundSchema` instead. */
|
|
132
|
+
const outboundSchema: z.ZodEnum<{
|
|
133
|
+
readonly FunctionCall: "function_call";
|
|
134
|
+
}>;
|
|
135
|
+
}
|
|
136
|
+
/** @internal */
|
|
137
|
+
export declare const OpenAIResponsesInputFunctionCall$inboundSchema: z.ZodType<OpenAIResponsesInputFunctionCall, unknown>;
|
|
138
|
+
/** @internal */
|
|
139
|
+
export type OpenAIResponsesInputFunctionCall$Outbound = {
|
|
140
|
+
type: string;
|
|
141
|
+
call_id: string;
|
|
142
|
+
name: string;
|
|
143
|
+
arguments: string;
|
|
144
|
+
id?: string | undefined;
|
|
145
|
+
status?: string | undefined;
|
|
146
|
+
};
|
|
147
|
+
/** @internal */
|
|
148
|
+
export declare const OpenAIResponsesInputFunctionCall$outboundSchema: z.ZodType<OpenAIResponsesInputFunctionCall$Outbound, OpenAIResponsesInputFunctionCall>;
|
|
149
|
+
/**
|
|
150
|
+
* @internal
|
|
151
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
152
|
+
*/
|
|
153
|
+
export declare namespace OpenAIResponsesInputFunctionCall$ {
|
|
154
|
+
/** @deprecated use `OpenAIResponsesInputFunctionCall$inboundSchema` instead. */
|
|
155
|
+
const inboundSchema: z.ZodType<OpenAIResponsesInputFunctionCall, unknown, z.core.$ZodTypeInternals<OpenAIResponsesInputFunctionCall, unknown>>;
|
|
156
|
+
/** @deprecated use `OpenAIResponsesInputFunctionCall$outboundSchema` instead. */
|
|
157
|
+
const outboundSchema: z.ZodType<OpenAIResponsesInputFunctionCall$Outbound, OpenAIResponsesInputFunctionCall, z.core.$ZodTypeInternals<OpenAIResponsesInputFunctionCall$Outbound, OpenAIResponsesInputFunctionCall>>;
|
|
158
|
+
/** @deprecated use `OpenAIResponsesInputFunctionCall$Outbound` instead. */
|
|
159
|
+
type Outbound = OpenAIResponsesInputFunctionCall$Outbound;
|
|
160
|
+
}
|
|
161
|
+
export declare function openAIResponsesInputFunctionCallToJSON(openAIResponsesInputFunctionCall: OpenAIResponsesInputFunctionCall): string;
|
|
162
|
+
export declare function openAIResponsesInputFunctionCallFromJSON(jsonString: string): SafeParseResult<OpenAIResponsesInputFunctionCall, SDKValidationError>;
|
|
163
|
+
/** @internal */
|
|
164
|
+
export declare const OpenAIResponsesInputTypeFunctionCallOutput$inboundSchema: z.ZodEnum<typeof OpenAIResponsesInputTypeFunctionCallOutput>;
|
|
165
|
+
/** @internal */
|
|
166
|
+
export declare const OpenAIResponsesInputTypeFunctionCallOutput$outboundSchema: z.ZodEnum<typeof OpenAIResponsesInputTypeFunctionCallOutput>;
|
|
167
|
+
/**
|
|
168
|
+
* @internal
|
|
169
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
170
|
+
*/
|
|
171
|
+
export declare namespace OpenAIResponsesInputTypeFunctionCallOutput$ {
|
|
172
|
+
/** @deprecated use `OpenAIResponsesInputTypeFunctionCallOutput$inboundSchema` instead. */
|
|
173
|
+
const inboundSchema: z.ZodEnum<{
|
|
174
|
+
readonly FunctionCallOutput: "function_call_output";
|
|
175
|
+
}>;
|
|
176
|
+
/** @deprecated use `OpenAIResponsesInputTypeFunctionCallOutput$outboundSchema` instead. */
|
|
177
|
+
const outboundSchema: z.ZodEnum<{
|
|
178
|
+
readonly FunctionCallOutput: "function_call_output";
|
|
179
|
+
}>;
|
|
180
|
+
}
|
|
181
|
+
/** @internal */
|
|
182
|
+
export declare const OpenAIResponsesInputFunctionCallOutput$inboundSchema: z.ZodType<OpenAIResponsesInputFunctionCallOutput, unknown>;
|
|
183
|
+
/** @internal */
|
|
184
|
+
export type OpenAIResponsesInputFunctionCallOutput$Outbound = {
|
|
185
|
+
type: string;
|
|
186
|
+
id: string;
|
|
187
|
+
call_id: string;
|
|
188
|
+
output: string;
|
|
189
|
+
status?: string | undefined;
|
|
190
|
+
};
|
|
191
|
+
/** @internal */
|
|
192
|
+
export declare const OpenAIResponsesInputFunctionCallOutput$outboundSchema: z.ZodType<OpenAIResponsesInputFunctionCallOutput$Outbound, OpenAIResponsesInputFunctionCallOutput>;
|
|
193
|
+
/**
|
|
194
|
+
* @internal
|
|
195
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
196
|
+
*/
|
|
197
|
+
export declare namespace OpenAIResponsesInputFunctionCallOutput$ {
|
|
198
|
+
/** @deprecated use `OpenAIResponsesInputFunctionCallOutput$inboundSchema` instead. */
|
|
199
|
+
const inboundSchema: z.ZodType<OpenAIResponsesInputFunctionCallOutput, unknown, z.core.$ZodTypeInternals<OpenAIResponsesInputFunctionCallOutput, unknown>>;
|
|
200
|
+
/** @deprecated use `OpenAIResponsesInputFunctionCallOutput$outboundSchema` instead. */
|
|
201
|
+
const outboundSchema: z.ZodType<OpenAIResponsesInputFunctionCallOutput$Outbound, OpenAIResponsesInputFunctionCallOutput, z.core.$ZodTypeInternals<OpenAIResponsesInputFunctionCallOutput$Outbound, OpenAIResponsesInputFunctionCallOutput>>;
|
|
202
|
+
/** @deprecated use `OpenAIResponsesInputFunctionCallOutput$Outbound` instead. */
|
|
203
|
+
type Outbound = OpenAIResponsesInputFunctionCallOutput$Outbound;
|
|
204
|
+
}
|
|
205
|
+
export declare function openAIResponsesInputFunctionCallOutputToJSON(openAIResponsesInputFunctionCallOutput: OpenAIResponsesInputFunctionCallOutput): string;
|
|
206
|
+
export declare function openAIResponsesInputFunctionCallOutputFromJSON(jsonString: string): SafeParseResult<OpenAIResponsesInputFunctionCallOutput, SDKValidationError>;
|
|
207
|
+
/** @internal */
|
|
208
|
+
export declare const OpenAIResponsesInputTypeMessage2$inboundSchema: z.ZodEnum<typeof OpenAIResponsesInputTypeMessage2>;
|
|
209
|
+
/** @internal */
|
|
210
|
+
export declare const OpenAIResponsesInputTypeMessage2$outboundSchema: z.ZodEnum<typeof OpenAIResponsesInputTypeMessage2>;
|
|
211
|
+
/**
|
|
212
|
+
* @internal
|
|
213
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
214
|
+
*/
|
|
215
|
+
export declare namespace OpenAIResponsesInputTypeMessage2$ {
|
|
216
|
+
/** @deprecated use `OpenAIResponsesInputTypeMessage2$inboundSchema` instead. */
|
|
217
|
+
const inboundSchema: z.ZodEnum<{
|
|
218
|
+
readonly Message: "message";
|
|
219
|
+
}>;
|
|
220
|
+
/** @deprecated use `OpenAIResponsesInputTypeMessage2$outboundSchema` instead. */
|
|
221
|
+
const outboundSchema: z.ZodEnum<{
|
|
222
|
+
readonly Message: "message";
|
|
223
|
+
}>;
|
|
224
|
+
}
|
|
225
|
+
/** @internal */
|
|
226
|
+
export declare const OpenAIResponsesInputRoleDeveloper2$inboundSchema: z.ZodEnum<typeof OpenAIResponsesInputRoleDeveloper2>;
|
|
227
|
+
/** @internal */
|
|
228
|
+
export declare const OpenAIResponsesInputRoleDeveloper2$outboundSchema: z.ZodEnum<typeof OpenAIResponsesInputRoleDeveloper2>;
|
|
229
|
+
/**
|
|
230
|
+
* @internal
|
|
231
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
232
|
+
*/
|
|
233
|
+
export declare namespace OpenAIResponsesInputRoleDeveloper2$ {
|
|
234
|
+
/** @deprecated use `OpenAIResponsesInputRoleDeveloper2$inboundSchema` instead. */
|
|
235
|
+
const inboundSchema: z.ZodEnum<{
|
|
236
|
+
readonly Developer: "developer";
|
|
237
|
+
}>;
|
|
238
|
+
/** @deprecated use `OpenAIResponsesInputRoleDeveloper2$outboundSchema` instead. */
|
|
239
|
+
const outboundSchema: z.ZodEnum<{
|
|
240
|
+
readonly Developer: "developer";
|
|
241
|
+
}>;
|
|
242
|
+
}
|
|
243
|
+
/** @internal */
|
|
244
|
+
export declare const OpenAIResponsesInputRoleSystem2$inboundSchema: z.ZodEnum<typeof OpenAIResponsesInputRoleSystem2>;
|
|
245
|
+
/** @internal */
|
|
246
|
+
export declare const OpenAIResponsesInputRoleSystem2$outboundSchema: z.ZodEnum<typeof OpenAIResponsesInputRoleSystem2>;
|
|
247
|
+
/**
|
|
248
|
+
* @internal
|
|
249
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
250
|
+
*/
|
|
251
|
+
export declare namespace OpenAIResponsesInputRoleSystem2$ {
|
|
252
|
+
/** @deprecated use `OpenAIResponsesInputRoleSystem2$inboundSchema` instead. */
|
|
253
|
+
const inboundSchema: z.ZodEnum<{
|
|
254
|
+
readonly System: "system";
|
|
255
|
+
}>;
|
|
256
|
+
/** @deprecated use `OpenAIResponsesInputRoleSystem2$outboundSchema` instead. */
|
|
257
|
+
const outboundSchema: z.ZodEnum<{
|
|
258
|
+
readonly System: "system";
|
|
259
|
+
}>;
|
|
260
|
+
}
|
|
261
|
+
/** @internal */
|
|
262
|
+
export declare const OpenAIResponsesInputRoleUser2$inboundSchema: z.ZodEnum<typeof OpenAIResponsesInputRoleUser2>;
|
|
263
|
+
/** @internal */
|
|
264
|
+
export declare const OpenAIResponsesInputRoleUser2$outboundSchema: z.ZodEnum<typeof OpenAIResponsesInputRoleUser2>;
|
|
265
|
+
/**
|
|
266
|
+
* @internal
|
|
267
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
268
|
+
*/
|
|
269
|
+
export declare namespace OpenAIResponsesInputRoleUser2$ {
|
|
270
|
+
/** @deprecated use `OpenAIResponsesInputRoleUser2$inboundSchema` instead. */
|
|
271
|
+
const inboundSchema: z.ZodEnum<{
|
|
272
|
+
readonly User: "user";
|
|
273
|
+
}>;
|
|
274
|
+
/** @deprecated use `OpenAIResponsesInputRoleUser2$outboundSchema` instead. */
|
|
275
|
+
const outboundSchema: z.ZodEnum<{
|
|
276
|
+
readonly User: "user";
|
|
277
|
+
}>;
|
|
278
|
+
}
|
|
279
|
+
/** @internal */
|
|
280
|
+
export declare const OpenAIResponsesInputRoleUnion2$inboundSchema: z.ZodType<OpenAIResponsesInputRoleUnion2, unknown>;
|
|
281
|
+
/** @internal */
|
|
282
|
+
export type OpenAIResponsesInputRoleUnion2$Outbound = string | string | string;
|
|
283
|
+
/** @internal */
|
|
284
|
+
export declare const OpenAIResponsesInputRoleUnion2$outboundSchema: z.ZodType<OpenAIResponsesInputRoleUnion2$Outbound, OpenAIResponsesInputRoleUnion2>;
|
|
285
|
+
/**
|
|
286
|
+
* @internal
|
|
287
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
288
|
+
*/
|
|
289
|
+
export declare namespace OpenAIResponsesInputRoleUnion2$ {
|
|
290
|
+
/** @deprecated use `OpenAIResponsesInputRoleUnion2$inboundSchema` instead. */
|
|
291
|
+
const inboundSchema: z.ZodType<OpenAIResponsesInputRoleUnion2, unknown, z.core.$ZodTypeInternals<OpenAIResponsesInputRoleUnion2, unknown>>;
|
|
292
|
+
/** @deprecated use `OpenAIResponsesInputRoleUnion2$outboundSchema` instead. */
|
|
293
|
+
const outboundSchema: z.ZodType<string, OpenAIResponsesInputRoleUnion2, z.core.$ZodTypeInternals<string, OpenAIResponsesInputRoleUnion2>>;
|
|
294
|
+
/** @deprecated use `OpenAIResponsesInputRoleUnion2$Outbound` instead. */
|
|
295
|
+
type Outbound = OpenAIResponsesInputRoleUnion2$Outbound;
|
|
296
|
+
}
|
|
297
|
+
export declare function openAIResponsesInputRoleUnion2ToJSON(openAIResponsesInputRoleUnion2: OpenAIResponsesInputRoleUnion2): string;
|
|
298
|
+
export declare function openAIResponsesInputRoleUnion2FromJSON(jsonString: string): SafeParseResult<OpenAIResponsesInputRoleUnion2, SDKValidationError>;
|
|
299
|
+
/** @internal */
|
|
300
|
+
export declare const OpenAIResponsesInputContent3$inboundSchema: z.ZodType<OpenAIResponsesInputContent3, unknown>;
|
|
301
|
+
/** @internal */
|
|
302
|
+
export type OpenAIResponsesInputContent3$Outbound = (ResponseInputText$Outbound & {
|
|
303
|
+
type: "input_text";
|
|
304
|
+
}) | (ResponseInputImage$Outbound & {
|
|
305
|
+
type: "input_image";
|
|
306
|
+
}) | (ResponseInputFile$Outbound & {
|
|
307
|
+
type: "input_file";
|
|
308
|
+
});
|
|
309
|
+
/** @internal */
|
|
310
|
+
export declare const OpenAIResponsesInputContent3$outboundSchema: z.ZodType<OpenAIResponsesInputContent3$Outbound, OpenAIResponsesInputContent3>;
|
|
311
|
+
/**
|
|
312
|
+
* @internal
|
|
313
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
314
|
+
*/
|
|
315
|
+
export declare namespace OpenAIResponsesInputContent3$ {
|
|
316
|
+
/** @deprecated use `OpenAIResponsesInputContent3$inboundSchema` instead. */
|
|
317
|
+
const inboundSchema: z.ZodType<OpenAIResponsesInputContent3, unknown, z.core.$ZodTypeInternals<OpenAIResponsesInputContent3, unknown>>;
|
|
318
|
+
/** @deprecated use `OpenAIResponsesInputContent3$outboundSchema` instead. */
|
|
319
|
+
const outboundSchema: z.ZodType<OpenAIResponsesInputContent3$Outbound, OpenAIResponsesInputContent3, z.core.$ZodTypeInternals<OpenAIResponsesInputContent3$Outbound, OpenAIResponsesInputContent3>>;
|
|
320
|
+
/** @deprecated use `OpenAIResponsesInputContent3$Outbound` instead. */
|
|
321
|
+
type Outbound = OpenAIResponsesInputContent3$Outbound;
|
|
322
|
+
}
|
|
323
|
+
export declare function openAIResponsesInputContent3ToJSON(openAIResponsesInputContent3: OpenAIResponsesInputContent3): string;
|
|
324
|
+
export declare function openAIResponsesInputContent3FromJSON(jsonString: string): SafeParseResult<OpenAIResponsesInputContent3, SDKValidationError>;
|
|
325
|
+
/** @internal */
|
|
326
|
+
export declare const OpenAIResponsesInputMessage2$inboundSchema: z.ZodType<OpenAIResponsesInputMessage2, unknown>;
|
|
327
|
+
/** @internal */
|
|
328
|
+
export type OpenAIResponsesInputMessage2$Outbound = {
|
|
329
|
+
id: string;
|
|
330
|
+
type?: string | undefined;
|
|
331
|
+
role: string | string | string;
|
|
332
|
+
content: Array<(ResponseInputText$Outbound & {
|
|
333
|
+
type: "input_text";
|
|
334
|
+
}) | (ResponseInputImage$Outbound & {
|
|
335
|
+
type: "input_image";
|
|
336
|
+
}) | (ResponseInputFile$Outbound & {
|
|
337
|
+
type: "input_file";
|
|
338
|
+
})>;
|
|
339
|
+
};
|
|
340
|
+
/** @internal */
|
|
341
|
+
export declare const OpenAIResponsesInputMessage2$outboundSchema: z.ZodType<OpenAIResponsesInputMessage2$Outbound, OpenAIResponsesInputMessage2>;
|
|
342
|
+
/**
|
|
343
|
+
* @internal
|
|
344
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
345
|
+
*/
|
|
346
|
+
export declare namespace OpenAIResponsesInputMessage2$ {
|
|
347
|
+
/** @deprecated use `OpenAIResponsesInputMessage2$inboundSchema` instead. */
|
|
348
|
+
const inboundSchema: z.ZodType<OpenAIResponsesInputMessage2, unknown, z.core.$ZodTypeInternals<OpenAIResponsesInputMessage2, unknown>>;
|
|
349
|
+
/** @deprecated use `OpenAIResponsesInputMessage2$outboundSchema` instead. */
|
|
350
|
+
const outboundSchema: z.ZodType<OpenAIResponsesInputMessage2$Outbound, OpenAIResponsesInputMessage2, z.core.$ZodTypeInternals<OpenAIResponsesInputMessage2$Outbound, OpenAIResponsesInputMessage2>>;
|
|
351
|
+
/** @deprecated use `OpenAIResponsesInputMessage2$Outbound` instead. */
|
|
352
|
+
type Outbound = OpenAIResponsesInputMessage2$Outbound;
|
|
353
|
+
}
|
|
354
|
+
export declare function openAIResponsesInputMessage2ToJSON(openAIResponsesInputMessage2: OpenAIResponsesInputMessage2): string;
|
|
355
|
+
export declare function openAIResponsesInputMessage2FromJSON(jsonString: string): SafeParseResult<OpenAIResponsesInputMessage2, SDKValidationError>;
|
|
356
|
+
/** @internal */
|
|
357
|
+
export declare const OpenAIResponsesInputTypeMessage1$inboundSchema: z.ZodEnum<typeof OpenAIResponsesInputTypeMessage1>;
|
|
358
|
+
/** @internal */
|
|
359
|
+
export declare const OpenAIResponsesInputTypeMessage1$outboundSchema: z.ZodEnum<typeof OpenAIResponsesInputTypeMessage1>;
|
|
360
|
+
/**
|
|
361
|
+
* @internal
|
|
362
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
363
|
+
*/
|
|
364
|
+
export declare namespace OpenAIResponsesInputTypeMessage1$ {
|
|
365
|
+
/** @deprecated use `OpenAIResponsesInputTypeMessage1$inboundSchema` instead. */
|
|
366
|
+
const inboundSchema: z.ZodEnum<{
|
|
367
|
+
readonly Message: "message";
|
|
368
|
+
}>;
|
|
369
|
+
/** @deprecated use `OpenAIResponsesInputTypeMessage1$outboundSchema` instead. */
|
|
370
|
+
const outboundSchema: z.ZodEnum<{
|
|
371
|
+
readonly Message: "message";
|
|
372
|
+
}>;
|
|
373
|
+
}
|
|
374
|
+
/** @internal */
|
|
375
|
+
export declare const OpenAIResponsesInputRoleDeveloper1$inboundSchema: z.ZodEnum<typeof OpenAIResponsesInputRoleDeveloper1>;
|
|
376
|
+
/** @internal */
|
|
377
|
+
export declare const OpenAIResponsesInputRoleDeveloper1$outboundSchema: z.ZodEnum<typeof OpenAIResponsesInputRoleDeveloper1>;
|
|
378
|
+
/**
|
|
379
|
+
* @internal
|
|
380
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
381
|
+
*/
|
|
382
|
+
export declare namespace OpenAIResponsesInputRoleDeveloper1$ {
|
|
383
|
+
/** @deprecated use `OpenAIResponsesInputRoleDeveloper1$inboundSchema` instead. */
|
|
384
|
+
const inboundSchema: z.ZodEnum<{
|
|
385
|
+
readonly Developer: "developer";
|
|
386
|
+
}>;
|
|
387
|
+
/** @deprecated use `OpenAIResponsesInputRoleDeveloper1$outboundSchema` instead. */
|
|
388
|
+
const outboundSchema: z.ZodEnum<{
|
|
389
|
+
readonly Developer: "developer";
|
|
390
|
+
}>;
|
|
391
|
+
}
|
|
392
|
+
/** @internal */
|
|
393
|
+
export declare const OpenAIResponsesInputRoleAssistant$inboundSchema: z.ZodEnum<typeof OpenAIResponsesInputRoleAssistant>;
|
|
394
|
+
/** @internal */
|
|
395
|
+
export declare const OpenAIResponsesInputRoleAssistant$outboundSchema: z.ZodEnum<typeof OpenAIResponsesInputRoleAssistant>;
|
|
396
|
+
/**
|
|
397
|
+
* @internal
|
|
398
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
399
|
+
*/
|
|
400
|
+
export declare namespace OpenAIResponsesInputRoleAssistant$ {
|
|
401
|
+
/** @deprecated use `OpenAIResponsesInputRoleAssistant$inboundSchema` instead. */
|
|
402
|
+
const inboundSchema: z.ZodEnum<{
|
|
403
|
+
readonly Assistant: "assistant";
|
|
404
|
+
}>;
|
|
405
|
+
/** @deprecated use `OpenAIResponsesInputRoleAssistant$outboundSchema` instead. */
|
|
406
|
+
const outboundSchema: z.ZodEnum<{
|
|
407
|
+
readonly Assistant: "assistant";
|
|
408
|
+
}>;
|
|
409
|
+
}
|
|
410
|
+
/** @internal */
|
|
411
|
+
export declare const OpenAIResponsesInputRoleSystem1$inboundSchema: z.ZodEnum<typeof OpenAIResponsesInputRoleSystem1>;
|
|
412
|
+
/** @internal */
|
|
413
|
+
export declare const OpenAIResponsesInputRoleSystem1$outboundSchema: z.ZodEnum<typeof OpenAIResponsesInputRoleSystem1>;
|
|
414
|
+
/**
|
|
415
|
+
* @internal
|
|
416
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
417
|
+
*/
|
|
418
|
+
export declare namespace OpenAIResponsesInputRoleSystem1$ {
|
|
419
|
+
/** @deprecated use `OpenAIResponsesInputRoleSystem1$inboundSchema` instead. */
|
|
420
|
+
const inboundSchema: z.ZodEnum<{
|
|
421
|
+
readonly System: "system";
|
|
422
|
+
}>;
|
|
423
|
+
/** @deprecated use `OpenAIResponsesInputRoleSystem1$outboundSchema` instead. */
|
|
424
|
+
const outboundSchema: z.ZodEnum<{
|
|
425
|
+
readonly System: "system";
|
|
426
|
+
}>;
|
|
427
|
+
}
|
|
428
|
+
/** @internal */
|
|
429
|
+
export declare const OpenAIResponsesInputRoleUser1$inboundSchema: z.ZodEnum<typeof OpenAIResponsesInputRoleUser1>;
|
|
430
|
+
/** @internal */
|
|
431
|
+
export declare const OpenAIResponsesInputRoleUser1$outboundSchema: z.ZodEnum<typeof OpenAIResponsesInputRoleUser1>;
|
|
432
|
+
/**
|
|
433
|
+
* @internal
|
|
434
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
435
|
+
*/
|
|
436
|
+
export declare namespace OpenAIResponsesInputRoleUser1$ {
|
|
437
|
+
/** @deprecated use `OpenAIResponsesInputRoleUser1$inboundSchema` instead. */
|
|
438
|
+
const inboundSchema: z.ZodEnum<{
|
|
439
|
+
readonly User: "user";
|
|
440
|
+
}>;
|
|
441
|
+
/** @deprecated use `OpenAIResponsesInputRoleUser1$outboundSchema` instead. */
|
|
442
|
+
const outboundSchema: z.ZodEnum<{
|
|
443
|
+
readonly User: "user";
|
|
444
|
+
}>;
|
|
445
|
+
}
|
|
446
|
+
/** @internal */
|
|
447
|
+
export declare const OpenAIResponsesInputRoleUnion1$inboundSchema: z.ZodType<OpenAIResponsesInputRoleUnion1, unknown>;
|
|
448
|
+
/** @internal */
|
|
449
|
+
export type OpenAIResponsesInputRoleUnion1$Outbound = string | string | string | string;
|
|
450
|
+
/** @internal */
|
|
451
|
+
export declare const OpenAIResponsesInputRoleUnion1$outboundSchema: z.ZodType<OpenAIResponsesInputRoleUnion1$Outbound, OpenAIResponsesInputRoleUnion1>;
|
|
452
|
+
/**
|
|
453
|
+
* @internal
|
|
454
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
455
|
+
*/
|
|
456
|
+
export declare namespace OpenAIResponsesInputRoleUnion1$ {
|
|
457
|
+
/** @deprecated use `OpenAIResponsesInputRoleUnion1$inboundSchema` instead. */
|
|
458
|
+
const inboundSchema: z.ZodType<OpenAIResponsesInputRoleUnion1, unknown, z.core.$ZodTypeInternals<OpenAIResponsesInputRoleUnion1, unknown>>;
|
|
459
|
+
/** @deprecated use `OpenAIResponsesInputRoleUnion1$outboundSchema` instead. */
|
|
460
|
+
const outboundSchema: z.ZodType<string, OpenAIResponsesInputRoleUnion1, z.core.$ZodTypeInternals<string, OpenAIResponsesInputRoleUnion1>>;
|
|
461
|
+
/** @deprecated use `OpenAIResponsesInputRoleUnion1$Outbound` instead. */
|
|
462
|
+
type Outbound = OpenAIResponsesInputRoleUnion1$Outbound;
|
|
463
|
+
}
|
|
464
|
+
export declare function openAIResponsesInputRoleUnion1ToJSON(openAIResponsesInputRoleUnion1: OpenAIResponsesInputRoleUnion1): string;
|
|
465
|
+
export declare function openAIResponsesInputRoleUnion1FromJSON(jsonString: string): SafeParseResult<OpenAIResponsesInputRoleUnion1, SDKValidationError>;
|
|
466
|
+
/** @internal */
|
|
467
|
+
export declare const OpenAIResponsesInputContent1$inboundSchema: z.ZodType<OpenAIResponsesInputContent1, unknown>;
|
|
468
|
+
/** @internal */
|
|
469
|
+
export type OpenAIResponsesInputContent1$Outbound = (ResponseInputText$Outbound & {
|
|
470
|
+
type: "input_text";
|
|
471
|
+
}) | (ResponseInputImage$Outbound & {
|
|
472
|
+
type: "input_image";
|
|
473
|
+
}) | (ResponseInputFile$Outbound & {
|
|
474
|
+
type: "input_file";
|
|
475
|
+
});
|
|
476
|
+
/** @internal */
|
|
477
|
+
export declare const OpenAIResponsesInputContent1$outboundSchema: z.ZodType<OpenAIResponsesInputContent1$Outbound, OpenAIResponsesInputContent1>;
|
|
478
|
+
/**
|
|
479
|
+
* @internal
|
|
480
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
481
|
+
*/
|
|
482
|
+
export declare namespace OpenAIResponsesInputContent1$ {
|
|
483
|
+
/** @deprecated use `OpenAIResponsesInputContent1$inboundSchema` instead. */
|
|
484
|
+
const inboundSchema: z.ZodType<OpenAIResponsesInputContent1, unknown, z.core.$ZodTypeInternals<OpenAIResponsesInputContent1, unknown>>;
|
|
485
|
+
/** @deprecated use `OpenAIResponsesInputContent1$outboundSchema` instead. */
|
|
486
|
+
const outboundSchema: z.ZodType<OpenAIResponsesInputContent1$Outbound, OpenAIResponsesInputContent1, z.core.$ZodTypeInternals<OpenAIResponsesInputContent1$Outbound, OpenAIResponsesInputContent1>>;
|
|
487
|
+
/** @deprecated use `OpenAIResponsesInputContent1$Outbound` instead. */
|
|
488
|
+
type Outbound = OpenAIResponsesInputContent1$Outbound;
|
|
489
|
+
}
|
|
490
|
+
export declare function openAIResponsesInputContent1ToJSON(openAIResponsesInputContent1: OpenAIResponsesInputContent1): string;
|
|
491
|
+
export declare function openAIResponsesInputContent1FromJSON(jsonString: string): SafeParseResult<OpenAIResponsesInputContent1, SDKValidationError>;
|
|
492
|
+
/** @internal */
|
|
493
|
+
export declare const OpenAIResponsesInputContent2$inboundSchema: z.ZodType<OpenAIResponsesInputContent2, unknown>;
|
|
494
|
+
/** @internal */
|
|
495
|
+
export type OpenAIResponsesInputContent2$Outbound = Array<(ResponseInputText$Outbound & {
|
|
496
|
+
type: "input_text";
|
|
497
|
+
}) | (ResponseInputImage$Outbound & {
|
|
498
|
+
type: "input_image";
|
|
499
|
+
}) | (ResponseInputFile$Outbound & {
|
|
500
|
+
type: "input_file";
|
|
501
|
+
})> | string;
|
|
502
|
+
/** @internal */
|
|
503
|
+
export declare const OpenAIResponsesInputContent2$outboundSchema: z.ZodType<OpenAIResponsesInputContent2$Outbound, OpenAIResponsesInputContent2>;
|
|
504
|
+
/**
|
|
505
|
+
* @internal
|
|
506
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
507
|
+
*/
|
|
508
|
+
export declare namespace OpenAIResponsesInputContent2$ {
|
|
509
|
+
/** @deprecated use `OpenAIResponsesInputContent2$inboundSchema` instead. */
|
|
510
|
+
const inboundSchema: z.ZodType<OpenAIResponsesInputContent2, unknown, z.core.$ZodTypeInternals<OpenAIResponsesInputContent2, unknown>>;
|
|
511
|
+
/** @deprecated use `OpenAIResponsesInputContent2$outboundSchema` instead. */
|
|
512
|
+
const outboundSchema: z.ZodType<OpenAIResponsesInputContent2$Outbound, OpenAIResponsesInputContent2, z.core.$ZodTypeInternals<OpenAIResponsesInputContent2$Outbound, OpenAIResponsesInputContent2>>;
|
|
513
|
+
/** @deprecated use `OpenAIResponsesInputContent2$Outbound` instead. */
|
|
514
|
+
type Outbound = OpenAIResponsesInputContent2$Outbound;
|
|
515
|
+
}
|
|
516
|
+
export declare function openAIResponsesInputContent2ToJSON(openAIResponsesInputContent2: OpenAIResponsesInputContent2): string;
|
|
517
|
+
export declare function openAIResponsesInputContent2FromJSON(jsonString: string): SafeParseResult<OpenAIResponsesInputContent2, SDKValidationError>;
|
|
518
|
+
/** @internal */
|
|
519
|
+
export declare const OpenAIResponsesInputMessage1$inboundSchema: z.ZodType<OpenAIResponsesInputMessage1, unknown>;
|
|
520
|
+
/** @internal */
|
|
521
|
+
export type OpenAIResponsesInputMessage1$Outbound = {
|
|
522
|
+
type?: string | undefined;
|
|
523
|
+
role: string | string | string | string;
|
|
524
|
+
content: Array<(ResponseInputText$Outbound & {
|
|
525
|
+
type: "input_text";
|
|
526
|
+
}) | (ResponseInputImage$Outbound & {
|
|
527
|
+
type: "input_image";
|
|
528
|
+
}) | (ResponseInputFile$Outbound & {
|
|
529
|
+
type: "input_file";
|
|
530
|
+
})> | string;
|
|
531
|
+
};
|
|
532
|
+
/** @internal */
|
|
533
|
+
export declare const OpenAIResponsesInputMessage1$outboundSchema: z.ZodType<OpenAIResponsesInputMessage1$Outbound, OpenAIResponsesInputMessage1>;
|
|
534
|
+
/**
|
|
535
|
+
* @internal
|
|
536
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
537
|
+
*/
|
|
538
|
+
export declare namespace OpenAIResponsesInputMessage1$ {
|
|
539
|
+
/** @deprecated use `OpenAIResponsesInputMessage1$inboundSchema` instead. */
|
|
540
|
+
const inboundSchema: z.ZodType<OpenAIResponsesInputMessage1, unknown, z.core.$ZodTypeInternals<OpenAIResponsesInputMessage1, unknown>>;
|
|
541
|
+
/** @deprecated use `OpenAIResponsesInputMessage1$outboundSchema` instead. */
|
|
542
|
+
const outboundSchema: z.ZodType<OpenAIResponsesInputMessage1$Outbound, OpenAIResponsesInputMessage1, z.core.$ZodTypeInternals<OpenAIResponsesInputMessage1$Outbound, OpenAIResponsesInputMessage1>>;
|
|
543
|
+
/** @deprecated use `OpenAIResponsesInputMessage1$Outbound` instead. */
|
|
544
|
+
type Outbound = OpenAIResponsesInputMessage1$Outbound;
|
|
545
|
+
}
|
|
546
|
+
export declare function openAIResponsesInputMessage1ToJSON(openAIResponsesInputMessage1: OpenAIResponsesInputMessage1): string;
|
|
547
|
+
export declare function openAIResponsesInputMessage1FromJSON(jsonString: string): SafeParseResult<OpenAIResponsesInputMessage1, SDKValidationError>;
|
|
548
|
+
/** @internal */
|
|
549
|
+
export declare const OpenAIResponsesInputUnion1$inboundSchema: z.ZodType<OpenAIResponsesInputUnion1, unknown>;
|
|
550
|
+
/** @internal */
|
|
551
|
+
export type OpenAIResponsesInputUnion1$Outbound = OpenAIResponsesInputFunctionCallOutput$Outbound | OpenAIResponsesInputFunctionCall$Outbound | OutputItemImageGenerationCall$Outbound | OutputMessage$Outbound | OpenAIResponsesInputMessage2$Outbound | OpenAIResponsesInputMessage1$Outbound;
|
|
552
|
+
/** @internal */
|
|
553
|
+
export declare const OpenAIResponsesInputUnion1$outboundSchema: z.ZodType<OpenAIResponsesInputUnion1$Outbound, OpenAIResponsesInputUnion1>;
|
|
554
|
+
/**
|
|
555
|
+
* @internal
|
|
556
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
557
|
+
*/
|
|
558
|
+
export declare namespace OpenAIResponsesInputUnion1$ {
|
|
559
|
+
/** @deprecated use `OpenAIResponsesInputUnion1$inboundSchema` instead. */
|
|
560
|
+
const inboundSchema: z.ZodType<OpenAIResponsesInputUnion1, unknown, z.core.$ZodTypeInternals<OpenAIResponsesInputUnion1, unknown>>;
|
|
561
|
+
/** @deprecated use `OpenAIResponsesInputUnion1$outboundSchema` instead. */
|
|
562
|
+
const outboundSchema: z.ZodType<OpenAIResponsesInputUnion1$Outbound, OpenAIResponsesInputUnion1, z.core.$ZodTypeInternals<OpenAIResponsesInputUnion1$Outbound, OpenAIResponsesInputUnion1>>;
|
|
563
|
+
/** @deprecated use `OpenAIResponsesInputUnion1$Outbound` instead. */
|
|
564
|
+
type Outbound = OpenAIResponsesInputUnion1$Outbound;
|
|
565
|
+
}
|
|
566
|
+
export declare function openAIResponsesInputUnion1ToJSON(openAIResponsesInputUnion1: OpenAIResponsesInputUnion1): string;
|
|
567
|
+
export declare function openAIResponsesInputUnion1FromJSON(jsonString: string): SafeParseResult<OpenAIResponsesInputUnion1, SDKValidationError>;
|
|
568
|
+
/** @internal */
|
|
569
|
+
export declare const OpenAIResponsesInputUnion$inboundSchema: z.ZodType<OpenAIResponsesInputUnion, unknown>;
|
|
570
|
+
/** @internal */
|
|
571
|
+
export type OpenAIResponsesInputUnion$Outbound = string | Array<OpenAIResponsesInputFunctionCallOutput$Outbound | OpenAIResponsesInputFunctionCall$Outbound | OutputItemImageGenerationCall$Outbound | OutputMessage$Outbound | OpenAIResponsesInputMessage2$Outbound | OpenAIResponsesInputMessage1$Outbound> | any;
|
|
572
|
+
/** @internal */
|
|
573
|
+
export declare const OpenAIResponsesInputUnion$outboundSchema: z.ZodType<OpenAIResponsesInputUnion$Outbound, OpenAIResponsesInputUnion>;
|
|
574
|
+
/**
|
|
575
|
+
* @internal
|
|
576
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
577
|
+
*/
|
|
578
|
+
export declare namespace OpenAIResponsesInputUnion$ {
|
|
579
|
+
/** @deprecated use `OpenAIResponsesInputUnion$inboundSchema` instead. */
|
|
580
|
+
const inboundSchema: z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>;
|
|
581
|
+
/** @deprecated use `OpenAIResponsesInputUnion$outboundSchema` instead. */
|
|
582
|
+
const outboundSchema: z.ZodType<any, any, z.core.$ZodTypeInternals<any, any>>;
|
|
583
|
+
/** @deprecated use `OpenAIResponsesInputUnion$Outbound` instead. */
|
|
584
|
+
type Outbound = OpenAIResponsesInputUnion$Outbound;
|
|
585
|
+
}
|
|
586
|
+
export declare function openAIResponsesInputUnionToJSON(openAIResponsesInputUnion: OpenAIResponsesInputUnion): string;
|
|
587
|
+
export declare function openAIResponsesInputUnionFromJSON(jsonString: string): SafeParseResult<OpenAIResponsesInputUnion, SDKValidationError>;
|
|
588
|
+
//# sourceMappingURL=openairesponsesinputunion.d.ts.map
|