@openrouter/sdk 0.0.1-beta.8 → 0.0.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/FUNCTIONS.md +109 -1
- package/REACT_QUERY.md +109 -1
- 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/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
|
@@ -4,46 +4,27 @@
|
|
|
4
4
|
import * as z from "zod/v4";
|
|
5
5
|
import { remap as remap$ } from "../lib/primitives.js";
|
|
6
6
|
import { safeParse } from "../lib/schemas.js";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
7
|
+
import { OpenAIResponsesAnnotation$inboundSchema, OpenAIResponsesAnnotation$outboundSchema, } from "./openairesponsesannotation.js";
|
|
8
|
+
import { OpenAIResponsesRefusalContent$inboundSchema, OpenAIResponsesRefusalContent$outboundSchema, } from "./openairesponsesrefusalcontent.js";
|
|
9
|
+
import { OpenResponsesErrorEvent$inboundSchema, OpenResponsesErrorEvent$outboundSchema, } from "./openresponseserrorevent.js";
|
|
10
|
+
import { OpenResponsesImageGenCallCompleted$inboundSchema, OpenResponsesImageGenCallCompleted$outboundSchema, } from "./openresponsesimagegencallcompleted.js";
|
|
11
|
+
import { OpenResponsesImageGenCallGenerating$inboundSchema, OpenResponsesImageGenCallGenerating$outboundSchema, } from "./openresponsesimagegencallgenerating.js";
|
|
12
|
+
import { OpenResponsesImageGenCallInProgress$inboundSchema, OpenResponsesImageGenCallInProgress$outboundSchema, } from "./openresponsesimagegencallinprogress.js";
|
|
13
|
+
import { OpenResponsesImageGenCallPartialImage$inboundSchema, OpenResponsesImageGenCallPartialImage$outboundSchema, } from "./openresponsesimagegencallpartialimage.js";
|
|
9
14
|
import { OpenResponsesLogProbs$inboundSchema, OpenResponsesLogProbs$outboundSchema, } from "./openresponseslogprobs.js";
|
|
10
15
|
import { OpenResponsesNonStreamingResponse$inboundSchema, OpenResponsesNonStreamingResponse$outboundSchema, } from "./openresponsesnonstreamingresponse.js";
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
16
|
+
import { OpenResponsesReasoningDeltaEvent$inboundSchema, OpenResponsesReasoningDeltaEvent$outboundSchema, } from "./openresponsesreasoningdeltaevent.js";
|
|
17
|
+
import { OpenResponsesReasoningDoneEvent$inboundSchema, OpenResponsesReasoningDoneEvent$outboundSchema, } from "./openresponsesreasoningdoneevent.js";
|
|
18
|
+
import { OpenResponsesReasoningSummaryPartAddedEvent$inboundSchema, OpenResponsesReasoningSummaryPartAddedEvent$outboundSchema, } from "./openresponsesreasoningsummarypartaddedevent.js";
|
|
19
|
+
import { OpenResponsesReasoningSummaryTextDeltaEvent$inboundSchema, OpenResponsesReasoningSummaryTextDeltaEvent$outboundSchema, } from "./openresponsesreasoningsummarytextdeltaevent.js";
|
|
20
|
+
import { OpenResponsesReasoningSummaryTextDoneEvent$inboundSchema, OpenResponsesReasoningSummaryTextDoneEvent$outboundSchema, } from "./openresponsesreasoningsummarytextdoneevent.js";
|
|
13
21
|
import { ReasoningSummaryText$inboundSchema, ReasoningSummaryText$outboundSchema, } from "./reasoningsummarytext.js";
|
|
14
22
|
import { ReasoningTextContent$inboundSchema, ReasoningTextContent$outboundSchema, } from "./reasoningtextcontent.js";
|
|
23
|
+
import { ResponseOutputText$inboundSchema, ResponseOutputText$outboundSchema, } from "./responseoutputtext.js";
|
|
15
24
|
import { ResponsesOutputItem$inboundSchema, ResponsesOutputItem$outboundSchema, } from "./responsesoutputitem.js";
|
|
16
|
-
import { URLCitationAnnotation$inboundSchema, URLCitationAnnotation$outboundSchema, } from "./urlcitationannotation.js";
|
|
17
|
-
export const TypeResponseImageGenerationCallCompleted = {
|
|
18
|
-
ResponseImageGenerationCallCompleted: "response.image_generation_call.completed",
|
|
19
|
-
};
|
|
20
|
-
export const TypeResponseImageGenerationCallPartialImage = {
|
|
21
|
-
ResponseImageGenerationCallPartialImage: "response.image_generation_call.partial_image",
|
|
22
|
-
};
|
|
23
|
-
export const TypeResponseImageGenerationCallGenerating = {
|
|
24
|
-
ResponseImageGenerationCallGenerating: "response.image_generation_call.generating",
|
|
25
|
-
};
|
|
26
|
-
export const TypeResponseImageGenerationCallInProgress = {
|
|
27
|
-
ResponseImageGenerationCallInProgress: "response.image_generation_call.in_progress",
|
|
28
|
-
};
|
|
29
|
-
export const TypeResponseReasoningSummaryTextDone = {
|
|
30
|
-
ResponseReasoningSummaryTextDone: "response.reasoning_summary_text.done",
|
|
31
|
-
};
|
|
32
|
-
export const TypeResponseReasoningSummaryTextDelta = {
|
|
33
|
-
ResponseReasoningSummaryTextDelta: "response.reasoning_summary_text.delta",
|
|
34
|
-
};
|
|
35
25
|
export const TypeResponseReasoningSummaryPartDone = {
|
|
36
26
|
ResponseReasoningSummaryPartDone: "response.reasoning_summary_part.done",
|
|
37
27
|
};
|
|
38
|
-
export const TypeResponseReasoningSummaryPartAdded = {
|
|
39
|
-
ResponseReasoningSummaryPartAdded: "response.reasoning_summary_part.added",
|
|
40
|
-
};
|
|
41
|
-
export const TypeResponseReasoningTextDone = {
|
|
42
|
-
ResponseReasoningTextDone: "response.reasoning_text.done",
|
|
43
|
-
};
|
|
44
|
-
export const TypeResponseReasoningTextDelta = {
|
|
45
|
-
ResponseReasoningTextDelta: "response.reasoning_text.delta",
|
|
46
|
-
};
|
|
47
28
|
export const TypeResponseFunctionCallArgumentsDone = {
|
|
48
29
|
ResponseFunctionCallArgumentsDone: "response.function_call_arguments.done",
|
|
49
30
|
};
|
|
@@ -77,9 +58,6 @@ export const TypeResponseOutputItemDone = {
|
|
|
77
58
|
export const TypeResponseOutputItemAdded = {
|
|
78
59
|
ResponseOutputItemAdded: "response.output_item.added",
|
|
79
60
|
};
|
|
80
|
-
export const TypeError = {
|
|
81
|
-
Error: "error",
|
|
82
|
-
};
|
|
83
61
|
export const TypeResponseFailed = {
|
|
84
62
|
ResponseFailed: "response.failed",
|
|
85
63
|
};
|
|
@@ -96,386 +74,6 @@ export const TypeResponseCreated = {
|
|
|
96
74
|
ResponseCreated: "response.created",
|
|
97
75
|
};
|
|
98
76
|
/** @internal */
|
|
99
|
-
export const TypeResponseImageGenerationCallCompleted$inboundSchema = z.enum(TypeResponseImageGenerationCallCompleted);
|
|
100
|
-
/** @internal */
|
|
101
|
-
export const TypeResponseImageGenerationCallCompleted$outboundSchema = TypeResponseImageGenerationCallCompleted$inboundSchema;
|
|
102
|
-
/**
|
|
103
|
-
* @internal
|
|
104
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
105
|
-
*/
|
|
106
|
-
export var TypeResponseImageGenerationCallCompleted$;
|
|
107
|
-
(function (TypeResponseImageGenerationCallCompleted$) {
|
|
108
|
-
/** @deprecated use `TypeResponseImageGenerationCallCompleted$inboundSchema` instead. */
|
|
109
|
-
TypeResponseImageGenerationCallCompleted$.inboundSchema = TypeResponseImageGenerationCallCompleted$inboundSchema;
|
|
110
|
-
/** @deprecated use `TypeResponseImageGenerationCallCompleted$outboundSchema` instead. */
|
|
111
|
-
TypeResponseImageGenerationCallCompleted$.outboundSchema = TypeResponseImageGenerationCallCompleted$outboundSchema;
|
|
112
|
-
})(TypeResponseImageGenerationCallCompleted$ || (TypeResponseImageGenerationCallCompleted$ = {}));
|
|
113
|
-
/** @internal */
|
|
114
|
-
export const OpenResponsesStreamEventResponseImageGenerationCallCompleted$inboundSchema = z.object({
|
|
115
|
-
type: TypeResponseImageGenerationCallCompleted$inboundSchema,
|
|
116
|
-
item_id: z.string(),
|
|
117
|
-
output_index: z.number(),
|
|
118
|
-
sequence_number: z.number(),
|
|
119
|
-
}).transform((v) => {
|
|
120
|
-
return remap$(v, {
|
|
121
|
-
"item_id": "itemId",
|
|
122
|
-
"output_index": "outputIndex",
|
|
123
|
-
"sequence_number": "sequenceNumber",
|
|
124
|
-
});
|
|
125
|
-
});
|
|
126
|
-
/** @internal */
|
|
127
|
-
export const OpenResponsesStreamEventResponseImageGenerationCallCompleted$outboundSchema = z.object({
|
|
128
|
-
type: TypeResponseImageGenerationCallCompleted$outboundSchema,
|
|
129
|
-
itemId: z.string(),
|
|
130
|
-
outputIndex: z.number(),
|
|
131
|
-
sequenceNumber: z.number(),
|
|
132
|
-
}).transform((v) => {
|
|
133
|
-
return remap$(v, {
|
|
134
|
-
itemId: "item_id",
|
|
135
|
-
outputIndex: "output_index",
|
|
136
|
-
sequenceNumber: "sequence_number",
|
|
137
|
-
});
|
|
138
|
-
});
|
|
139
|
-
/**
|
|
140
|
-
* @internal
|
|
141
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
142
|
-
*/
|
|
143
|
-
export var OpenResponsesStreamEventResponseImageGenerationCallCompleted$;
|
|
144
|
-
(function (OpenResponsesStreamEventResponseImageGenerationCallCompleted$) {
|
|
145
|
-
/** @deprecated use `OpenResponsesStreamEventResponseImageGenerationCallCompleted$inboundSchema` instead. */
|
|
146
|
-
OpenResponsesStreamEventResponseImageGenerationCallCompleted$.inboundSchema = OpenResponsesStreamEventResponseImageGenerationCallCompleted$inboundSchema;
|
|
147
|
-
/** @deprecated use `OpenResponsesStreamEventResponseImageGenerationCallCompleted$outboundSchema` instead. */
|
|
148
|
-
OpenResponsesStreamEventResponseImageGenerationCallCompleted$.outboundSchema = OpenResponsesStreamEventResponseImageGenerationCallCompleted$outboundSchema;
|
|
149
|
-
})(OpenResponsesStreamEventResponseImageGenerationCallCompleted$ || (OpenResponsesStreamEventResponseImageGenerationCallCompleted$ = {}));
|
|
150
|
-
export function openResponsesStreamEventResponseImageGenerationCallCompletedToJSON(openResponsesStreamEventResponseImageGenerationCallCompleted) {
|
|
151
|
-
return JSON.stringify(OpenResponsesStreamEventResponseImageGenerationCallCompleted$outboundSchema
|
|
152
|
-
.parse(openResponsesStreamEventResponseImageGenerationCallCompleted));
|
|
153
|
-
}
|
|
154
|
-
export function openResponsesStreamEventResponseImageGenerationCallCompletedFromJSON(jsonString) {
|
|
155
|
-
return safeParse(jsonString, (x) => OpenResponsesStreamEventResponseImageGenerationCallCompleted$inboundSchema
|
|
156
|
-
.parse(JSON.parse(x)), `Failed to parse 'OpenResponsesStreamEventResponseImageGenerationCallCompleted' from JSON`);
|
|
157
|
-
}
|
|
158
|
-
/** @internal */
|
|
159
|
-
export const TypeResponseImageGenerationCallPartialImage$inboundSchema = z.enum(TypeResponseImageGenerationCallPartialImage);
|
|
160
|
-
/** @internal */
|
|
161
|
-
export const TypeResponseImageGenerationCallPartialImage$outboundSchema = TypeResponseImageGenerationCallPartialImage$inboundSchema;
|
|
162
|
-
/**
|
|
163
|
-
* @internal
|
|
164
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
165
|
-
*/
|
|
166
|
-
export var TypeResponseImageGenerationCallPartialImage$;
|
|
167
|
-
(function (TypeResponseImageGenerationCallPartialImage$) {
|
|
168
|
-
/** @deprecated use `TypeResponseImageGenerationCallPartialImage$inboundSchema` instead. */
|
|
169
|
-
TypeResponseImageGenerationCallPartialImage$.inboundSchema = TypeResponseImageGenerationCallPartialImage$inboundSchema;
|
|
170
|
-
/** @deprecated use `TypeResponseImageGenerationCallPartialImage$outboundSchema` instead. */
|
|
171
|
-
TypeResponseImageGenerationCallPartialImage$.outboundSchema = TypeResponseImageGenerationCallPartialImage$outboundSchema;
|
|
172
|
-
})(TypeResponseImageGenerationCallPartialImage$ || (TypeResponseImageGenerationCallPartialImage$ = {}));
|
|
173
|
-
/** @internal */
|
|
174
|
-
export const OpenResponsesStreamEventResponseImageGenerationCallPartialImage$inboundSchema = z.object({
|
|
175
|
-
type: TypeResponseImageGenerationCallPartialImage$inboundSchema,
|
|
176
|
-
item_id: z.string(),
|
|
177
|
-
output_index: z.number(),
|
|
178
|
-
sequence_number: z.number(),
|
|
179
|
-
partial_image_b64: z.string(),
|
|
180
|
-
partial_image_index: z.number(),
|
|
181
|
-
}).transform((v) => {
|
|
182
|
-
return remap$(v, {
|
|
183
|
-
"item_id": "itemId",
|
|
184
|
-
"output_index": "outputIndex",
|
|
185
|
-
"sequence_number": "sequenceNumber",
|
|
186
|
-
"partial_image_b64": "partialImageB64",
|
|
187
|
-
"partial_image_index": "partialImageIndex",
|
|
188
|
-
});
|
|
189
|
-
});
|
|
190
|
-
/** @internal */
|
|
191
|
-
export const OpenResponsesStreamEventResponseImageGenerationCallPartialImage$outboundSchema = z.object({
|
|
192
|
-
type: TypeResponseImageGenerationCallPartialImage$outboundSchema,
|
|
193
|
-
itemId: z.string(),
|
|
194
|
-
outputIndex: z.number(),
|
|
195
|
-
sequenceNumber: z.number(),
|
|
196
|
-
partialImageB64: z.string(),
|
|
197
|
-
partialImageIndex: z.number(),
|
|
198
|
-
}).transform((v) => {
|
|
199
|
-
return remap$(v, {
|
|
200
|
-
itemId: "item_id",
|
|
201
|
-
outputIndex: "output_index",
|
|
202
|
-
sequenceNumber: "sequence_number",
|
|
203
|
-
partialImageB64: "partial_image_b64",
|
|
204
|
-
partialImageIndex: "partial_image_index",
|
|
205
|
-
});
|
|
206
|
-
});
|
|
207
|
-
/**
|
|
208
|
-
* @internal
|
|
209
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
210
|
-
*/
|
|
211
|
-
export var OpenResponsesStreamEventResponseImageGenerationCallPartialImage$;
|
|
212
|
-
(function (OpenResponsesStreamEventResponseImageGenerationCallPartialImage$) {
|
|
213
|
-
/** @deprecated use `OpenResponsesStreamEventResponseImageGenerationCallPartialImage$inboundSchema` instead. */
|
|
214
|
-
OpenResponsesStreamEventResponseImageGenerationCallPartialImage$.inboundSchema = OpenResponsesStreamEventResponseImageGenerationCallPartialImage$inboundSchema;
|
|
215
|
-
/** @deprecated use `OpenResponsesStreamEventResponseImageGenerationCallPartialImage$outboundSchema` instead. */
|
|
216
|
-
OpenResponsesStreamEventResponseImageGenerationCallPartialImage$.outboundSchema = OpenResponsesStreamEventResponseImageGenerationCallPartialImage$outboundSchema;
|
|
217
|
-
})(OpenResponsesStreamEventResponseImageGenerationCallPartialImage$ || (OpenResponsesStreamEventResponseImageGenerationCallPartialImage$ = {}));
|
|
218
|
-
export function openResponsesStreamEventResponseImageGenerationCallPartialImageToJSON(openResponsesStreamEventResponseImageGenerationCallPartialImage) {
|
|
219
|
-
return JSON.stringify(OpenResponsesStreamEventResponseImageGenerationCallPartialImage$outboundSchema
|
|
220
|
-
.parse(openResponsesStreamEventResponseImageGenerationCallPartialImage));
|
|
221
|
-
}
|
|
222
|
-
export function openResponsesStreamEventResponseImageGenerationCallPartialImageFromJSON(jsonString) {
|
|
223
|
-
return safeParse(jsonString, (x) => OpenResponsesStreamEventResponseImageGenerationCallPartialImage$inboundSchema
|
|
224
|
-
.parse(JSON.parse(x)), `Failed to parse 'OpenResponsesStreamEventResponseImageGenerationCallPartialImage' from JSON`);
|
|
225
|
-
}
|
|
226
|
-
/** @internal */
|
|
227
|
-
export const TypeResponseImageGenerationCallGenerating$inboundSchema = z.enum(TypeResponseImageGenerationCallGenerating);
|
|
228
|
-
/** @internal */
|
|
229
|
-
export const TypeResponseImageGenerationCallGenerating$outboundSchema = TypeResponseImageGenerationCallGenerating$inboundSchema;
|
|
230
|
-
/**
|
|
231
|
-
* @internal
|
|
232
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
233
|
-
*/
|
|
234
|
-
export var TypeResponseImageGenerationCallGenerating$;
|
|
235
|
-
(function (TypeResponseImageGenerationCallGenerating$) {
|
|
236
|
-
/** @deprecated use `TypeResponseImageGenerationCallGenerating$inboundSchema` instead. */
|
|
237
|
-
TypeResponseImageGenerationCallGenerating$.inboundSchema = TypeResponseImageGenerationCallGenerating$inboundSchema;
|
|
238
|
-
/** @deprecated use `TypeResponseImageGenerationCallGenerating$outboundSchema` instead. */
|
|
239
|
-
TypeResponseImageGenerationCallGenerating$.outboundSchema = TypeResponseImageGenerationCallGenerating$outboundSchema;
|
|
240
|
-
})(TypeResponseImageGenerationCallGenerating$ || (TypeResponseImageGenerationCallGenerating$ = {}));
|
|
241
|
-
/** @internal */
|
|
242
|
-
export const OpenResponsesStreamEventResponseImageGenerationCallGenerating$inboundSchema = z.object({
|
|
243
|
-
type: TypeResponseImageGenerationCallGenerating$inboundSchema,
|
|
244
|
-
item_id: z.string(),
|
|
245
|
-
output_index: z.number(),
|
|
246
|
-
sequence_number: z.number(),
|
|
247
|
-
}).transform((v) => {
|
|
248
|
-
return remap$(v, {
|
|
249
|
-
"item_id": "itemId",
|
|
250
|
-
"output_index": "outputIndex",
|
|
251
|
-
"sequence_number": "sequenceNumber",
|
|
252
|
-
});
|
|
253
|
-
});
|
|
254
|
-
/** @internal */
|
|
255
|
-
export const OpenResponsesStreamEventResponseImageGenerationCallGenerating$outboundSchema = z.object({
|
|
256
|
-
type: TypeResponseImageGenerationCallGenerating$outboundSchema,
|
|
257
|
-
itemId: z.string(),
|
|
258
|
-
outputIndex: z.number(),
|
|
259
|
-
sequenceNumber: z.number(),
|
|
260
|
-
}).transform((v) => {
|
|
261
|
-
return remap$(v, {
|
|
262
|
-
itemId: "item_id",
|
|
263
|
-
outputIndex: "output_index",
|
|
264
|
-
sequenceNumber: "sequence_number",
|
|
265
|
-
});
|
|
266
|
-
});
|
|
267
|
-
/**
|
|
268
|
-
* @internal
|
|
269
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
270
|
-
*/
|
|
271
|
-
export var OpenResponsesStreamEventResponseImageGenerationCallGenerating$;
|
|
272
|
-
(function (OpenResponsesStreamEventResponseImageGenerationCallGenerating$) {
|
|
273
|
-
/** @deprecated use `OpenResponsesStreamEventResponseImageGenerationCallGenerating$inboundSchema` instead. */
|
|
274
|
-
OpenResponsesStreamEventResponseImageGenerationCallGenerating$.inboundSchema = OpenResponsesStreamEventResponseImageGenerationCallGenerating$inboundSchema;
|
|
275
|
-
/** @deprecated use `OpenResponsesStreamEventResponseImageGenerationCallGenerating$outboundSchema` instead. */
|
|
276
|
-
OpenResponsesStreamEventResponseImageGenerationCallGenerating$.outboundSchema = OpenResponsesStreamEventResponseImageGenerationCallGenerating$outboundSchema;
|
|
277
|
-
})(OpenResponsesStreamEventResponseImageGenerationCallGenerating$ || (OpenResponsesStreamEventResponseImageGenerationCallGenerating$ = {}));
|
|
278
|
-
export function openResponsesStreamEventResponseImageGenerationCallGeneratingToJSON(openResponsesStreamEventResponseImageGenerationCallGenerating) {
|
|
279
|
-
return JSON.stringify(OpenResponsesStreamEventResponseImageGenerationCallGenerating$outboundSchema
|
|
280
|
-
.parse(openResponsesStreamEventResponseImageGenerationCallGenerating));
|
|
281
|
-
}
|
|
282
|
-
export function openResponsesStreamEventResponseImageGenerationCallGeneratingFromJSON(jsonString) {
|
|
283
|
-
return safeParse(jsonString, (x) => OpenResponsesStreamEventResponseImageGenerationCallGenerating$inboundSchema
|
|
284
|
-
.parse(JSON.parse(x)), `Failed to parse 'OpenResponsesStreamEventResponseImageGenerationCallGenerating' from JSON`);
|
|
285
|
-
}
|
|
286
|
-
/** @internal */
|
|
287
|
-
export const TypeResponseImageGenerationCallInProgress$inboundSchema = z.enum(TypeResponseImageGenerationCallInProgress);
|
|
288
|
-
/** @internal */
|
|
289
|
-
export const TypeResponseImageGenerationCallInProgress$outboundSchema = TypeResponseImageGenerationCallInProgress$inboundSchema;
|
|
290
|
-
/**
|
|
291
|
-
* @internal
|
|
292
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
293
|
-
*/
|
|
294
|
-
export var TypeResponseImageGenerationCallInProgress$;
|
|
295
|
-
(function (TypeResponseImageGenerationCallInProgress$) {
|
|
296
|
-
/** @deprecated use `TypeResponseImageGenerationCallInProgress$inboundSchema` instead. */
|
|
297
|
-
TypeResponseImageGenerationCallInProgress$.inboundSchema = TypeResponseImageGenerationCallInProgress$inboundSchema;
|
|
298
|
-
/** @deprecated use `TypeResponseImageGenerationCallInProgress$outboundSchema` instead. */
|
|
299
|
-
TypeResponseImageGenerationCallInProgress$.outboundSchema = TypeResponseImageGenerationCallInProgress$outboundSchema;
|
|
300
|
-
})(TypeResponseImageGenerationCallInProgress$ || (TypeResponseImageGenerationCallInProgress$ = {}));
|
|
301
|
-
/** @internal */
|
|
302
|
-
export const OpenResponsesStreamEventResponseImageGenerationCallInProgress$inboundSchema = z.object({
|
|
303
|
-
type: TypeResponseImageGenerationCallInProgress$inboundSchema,
|
|
304
|
-
item_id: z.string(),
|
|
305
|
-
output_index: z.number(),
|
|
306
|
-
sequence_number: z.number(),
|
|
307
|
-
}).transform((v) => {
|
|
308
|
-
return remap$(v, {
|
|
309
|
-
"item_id": "itemId",
|
|
310
|
-
"output_index": "outputIndex",
|
|
311
|
-
"sequence_number": "sequenceNumber",
|
|
312
|
-
});
|
|
313
|
-
});
|
|
314
|
-
/** @internal */
|
|
315
|
-
export const OpenResponsesStreamEventResponseImageGenerationCallInProgress$outboundSchema = z.object({
|
|
316
|
-
type: TypeResponseImageGenerationCallInProgress$outboundSchema,
|
|
317
|
-
itemId: z.string(),
|
|
318
|
-
outputIndex: z.number(),
|
|
319
|
-
sequenceNumber: z.number(),
|
|
320
|
-
}).transform((v) => {
|
|
321
|
-
return remap$(v, {
|
|
322
|
-
itemId: "item_id",
|
|
323
|
-
outputIndex: "output_index",
|
|
324
|
-
sequenceNumber: "sequence_number",
|
|
325
|
-
});
|
|
326
|
-
});
|
|
327
|
-
/**
|
|
328
|
-
* @internal
|
|
329
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
330
|
-
*/
|
|
331
|
-
export var OpenResponsesStreamEventResponseImageGenerationCallInProgress$;
|
|
332
|
-
(function (OpenResponsesStreamEventResponseImageGenerationCallInProgress$) {
|
|
333
|
-
/** @deprecated use `OpenResponsesStreamEventResponseImageGenerationCallInProgress$inboundSchema` instead. */
|
|
334
|
-
OpenResponsesStreamEventResponseImageGenerationCallInProgress$.inboundSchema = OpenResponsesStreamEventResponseImageGenerationCallInProgress$inboundSchema;
|
|
335
|
-
/** @deprecated use `OpenResponsesStreamEventResponseImageGenerationCallInProgress$outboundSchema` instead. */
|
|
336
|
-
OpenResponsesStreamEventResponseImageGenerationCallInProgress$.outboundSchema = OpenResponsesStreamEventResponseImageGenerationCallInProgress$outboundSchema;
|
|
337
|
-
})(OpenResponsesStreamEventResponseImageGenerationCallInProgress$ || (OpenResponsesStreamEventResponseImageGenerationCallInProgress$ = {}));
|
|
338
|
-
export function openResponsesStreamEventResponseImageGenerationCallInProgressToJSON(openResponsesStreamEventResponseImageGenerationCallInProgress) {
|
|
339
|
-
return JSON.stringify(OpenResponsesStreamEventResponseImageGenerationCallInProgress$outboundSchema
|
|
340
|
-
.parse(openResponsesStreamEventResponseImageGenerationCallInProgress));
|
|
341
|
-
}
|
|
342
|
-
export function openResponsesStreamEventResponseImageGenerationCallInProgressFromJSON(jsonString) {
|
|
343
|
-
return safeParse(jsonString, (x) => OpenResponsesStreamEventResponseImageGenerationCallInProgress$inboundSchema
|
|
344
|
-
.parse(JSON.parse(x)), `Failed to parse 'OpenResponsesStreamEventResponseImageGenerationCallInProgress' from JSON`);
|
|
345
|
-
}
|
|
346
|
-
/** @internal */
|
|
347
|
-
export const TypeResponseReasoningSummaryTextDone$inboundSchema = z.enum(TypeResponseReasoningSummaryTextDone);
|
|
348
|
-
/** @internal */
|
|
349
|
-
export const TypeResponseReasoningSummaryTextDone$outboundSchema = TypeResponseReasoningSummaryTextDone$inboundSchema;
|
|
350
|
-
/**
|
|
351
|
-
* @internal
|
|
352
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
353
|
-
*/
|
|
354
|
-
export var TypeResponseReasoningSummaryTextDone$;
|
|
355
|
-
(function (TypeResponseReasoningSummaryTextDone$) {
|
|
356
|
-
/** @deprecated use `TypeResponseReasoningSummaryTextDone$inboundSchema` instead. */
|
|
357
|
-
TypeResponseReasoningSummaryTextDone$.inboundSchema = TypeResponseReasoningSummaryTextDone$inboundSchema;
|
|
358
|
-
/** @deprecated use `TypeResponseReasoningSummaryTextDone$outboundSchema` instead. */
|
|
359
|
-
TypeResponseReasoningSummaryTextDone$.outboundSchema = TypeResponseReasoningSummaryTextDone$outboundSchema;
|
|
360
|
-
})(TypeResponseReasoningSummaryTextDone$ || (TypeResponseReasoningSummaryTextDone$ = {}));
|
|
361
|
-
/** @internal */
|
|
362
|
-
export const OpenResponsesStreamEventResponseReasoningSummaryTextDone$inboundSchema = z.object({
|
|
363
|
-
type: TypeResponseReasoningSummaryTextDone$inboundSchema,
|
|
364
|
-
item_id: z.string(),
|
|
365
|
-
output_index: z.number(),
|
|
366
|
-
summary_index: z.number(),
|
|
367
|
-
text: z.string(),
|
|
368
|
-
sequence_number: z.number(),
|
|
369
|
-
}).transform((v) => {
|
|
370
|
-
return remap$(v, {
|
|
371
|
-
"item_id": "itemId",
|
|
372
|
-
"output_index": "outputIndex",
|
|
373
|
-
"summary_index": "summaryIndex",
|
|
374
|
-
"sequence_number": "sequenceNumber",
|
|
375
|
-
});
|
|
376
|
-
});
|
|
377
|
-
/** @internal */
|
|
378
|
-
export const OpenResponsesStreamEventResponseReasoningSummaryTextDone$outboundSchema = z.object({
|
|
379
|
-
type: TypeResponseReasoningSummaryTextDone$outboundSchema,
|
|
380
|
-
itemId: z.string(),
|
|
381
|
-
outputIndex: z.number(),
|
|
382
|
-
summaryIndex: z.number(),
|
|
383
|
-
text: z.string(),
|
|
384
|
-
sequenceNumber: z.number(),
|
|
385
|
-
}).transform((v) => {
|
|
386
|
-
return remap$(v, {
|
|
387
|
-
itemId: "item_id",
|
|
388
|
-
outputIndex: "output_index",
|
|
389
|
-
summaryIndex: "summary_index",
|
|
390
|
-
sequenceNumber: "sequence_number",
|
|
391
|
-
});
|
|
392
|
-
});
|
|
393
|
-
/**
|
|
394
|
-
* @internal
|
|
395
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
396
|
-
*/
|
|
397
|
-
export var OpenResponsesStreamEventResponseReasoningSummaryTextDone$;
|
|
398
|
-
(function (OpenResponsesStreamEventResponseReasoningSummaryTextDone$) {
|
|
399
|
-
/** @deprecated use `OpenResponsesStreamEventResponseReasoningSummaryTextDone$inboundSchema` instead. */
|
|
400
|
-
OpenResponsesStreamEventResponseReasoningSummaryTextDone$.inboundSchema = OpenResponsesStreamEventResponseReasoningSummaryTextDone$inboundSchema;
|
|
401
|
-
/** @deprecated use `OpenResponsesStreamEventResponseReasoningSummaryTextDone$outboundSchema` instead. */
|
|
402
|
-
OpenResponsesStreamEventResponseReasoningSummaryTextDone$.outboundSchema = OpenResponsesStreamEventResponseReasoningSummaryTextDone$outboundSchema;
|
|
403
|
-
})(OpenResponsesStreamEventResponseReasoningSummaryTextDone$ || (OpenResponsesStreamEventResponseReasoningSummaryTextDone$ = {}));
|
|
404
|
-
export function openResponsesStreamEventResponseReasoningSummaryTextDoneToJSON(openResponsesStreamEventResponseReasoningSummaryTextDone) {
|
|
405
|
-
return JSON.stringify(OpenResponsesStreamEventResponseReasoningSummaryTextDone$outboundSchema
|
|
406
|
-
.parse(openResponsesStreamEventResponseReasoningSummaryTextDone));
|
|
407
|
-
}
|
|
408
|
-
export function openResponsesStreamEventResponseReasoningSummaryTextDoneFromJSON(jsonString) {
|
|
409
|
-
return safeParse(jsonString, (x) => OpenResponsesStreamEventResponseReasoningSummaryTextDone$inboundSchema
|
|
410
|
-
.parse(JSON.parse(x)), `Failed to parse 'OpenResponsesStreamEventResponseReasoningSummaryTextDone' from JSON`);
|
|
411
|
-
}
|
|
412
|
-
/** @internal */
|
|
413
|
-
export const TypeResponseReasoningSummaryTextDelta$inboundSchema = z.enum(TypeResponseReasoningSummaryTextDelta);
|
|
414
|
-
/** @internal */
|
|
415
|
-
export const TypeResponseReasoningSummaryTextDelta$outboundSchema = TypeResponseReasoningSummaryTextDelta$inboundSchema;
|
|
416
|
-
/**
|
|
417
|
-
* @internal
|
|
418
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
419
|
-
*/
|
|
420
|
-
export var TypeResponseReasoningSummaryTextDelta$;
|
|
421
|
-
(function (TypeResponseReasoningSummaryTextDelta$) {
|
|
422
|
-
/** @deprecated use `TypeResponseReasoningSummaryTextDelta$inboundSchema` instead. */
|
|
423
|
-
TypeResponseReasoningSummaryTextDelta$.inboundSchema = TypeResponseReasoningSummaryTextDelta$inboundSchema;
|
|
424
|
-
/** @deprecated use `TypeResponseReasoningSummaryTextDelta$outboundSchema` instead. */
|
|
425
|
-
TypeResponseReasoningSummaryTextDelta$.outboundSchema = TypeResponseReasoningSummaryTextDelta$outboundSchema;
|
|
426
|
-
})(TypeResponseReasoningSummaryTextDelta$ || (TypeResponseReasoningSummaryTextDelta$ = {}));
|
|
427
|
-
/** @internal */
|
|
428
|
-
export const OpenResponsesStreamEventResponseReasoningSummaryTextDelta$inboundSchema = z.object({
|
|
429
|
-
type: TypeResponseReasoningSummaryTextDelta$inboundSchema,
|
|
430
|
-
item_id: z.string(),
|
|
431
|
-
output_index: z.number(),
|
|
432
|
-
summary_index: z.number(),
|
|
433
|
-
delta: z.string(),
|
|
434
|
-
sequence_number: z.number(),
|
|
435
|
-
}).transform((v) => {
|
|
436
|
-
return remap$(v, {
|
|
437
|
-
"item_id": "itemId",
|
|
438
|
-
"output_index": "outputIndex",
|
|
439
|
-
"summary_index": "summaryIndex",
|
|
440
|
-
"sequence_number": "sequenceNumber",
|
|
441
|
-
});
|
|
442
|
-
});
|
|
443
|
-
/** @internal */
|
|
444
|
-
export const OpenResponsesStreamEventResponseReasoningSummaryTextDelta$outboundSchema = z.object({
|
|
445
|
-
type: TypeResponseReasoningSummaryTextDelta$outboundSchema,
|
|
446
|
-
itemId: z.string(),
|
|
447
|
-
outputIndex: z.number(),
|
|
448
|
-
summaryIndex: z.number(),
|
|
449
|
-
delta: z.string(),
|
|
450
|
-
sequenceNumber: z.number(),
|
|
451
|
-
}).transform((v) => {
|
|
452
|
-
return remap$(v, {
|
|
453
|
-
itemId: "item_id",
|
|
454
|
-
outputIndex: "output_index",
|
|
455
|
-
summaryIndex: "summary_index",
|
|
456
|
-
sequenceNumber: "sequence_number",
|
|
457
|
-
});
|
|
458
|
-
});
|
|
459
|
-
/**
|
|
460
|
-
* @internal
|
|
461
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
462
|
-
*/
|
|
463
|
-
export var OpenResponsesStreamEventResponseReasoningSummaryTextDelta$;
|
|
464
|
-
(function (OpenResponsesStreamEventResponseReasoningSummaryTextDelta$) {
|
|
465
|
-
/** @deprecated use `OpenResponsesStreamEventResponseReasoningSummaryTextDelta$inboundSchema` instead. */
|
|
466
|
-
OpenResponsesStreamEventResponseReasoningSummaryTextDelta$.inboundSchema = OpenResponsesStreamEventResponseReasoningSummaryTextDelta$inboundSchema;
|
|
467
|
-
/** @deprecated use `OpenResponsesStreamEventResponseReasoningSummaryTextDelta$outboundSchema` instead. */
|
|
468
|
-
OpenResponsesStreamEventResponseReasoningSummaryTextDelta$.outboundSchema = OpenResponsesStreamEventResponseReasoningSummaryTextDelta$outboundSchema;
|
|
469
|
-
})(OpenResponsesStreamEventResponseReasoningSummaryTextDelta$ || (OpenResponsesStreamEventResponseReasoningSummaryTextDelta$ = {}));
|
|
470
|
-
export function openResponsesStreamEventResponseReasoningSummaryTextDeltaToJSON(openResponsesStreamEventResponseReasoningSummaryTextDelta) {
|
|
471
|
-
return JSON.stringify(OpenResponsesStreamEventResponseReasoningSummaryTextDelta$outboundSchema
|
|
472
|
-
.parse(openResponsesStreamEventResponseReasoningSummaryTextDelta));
|
|
473
|
-
}
|
|
474
|
-
export function openResponsesStreamEventResponseReasoningSummaryTextDeltaFromJSON(jsonString) {
|
|
475
|
-
return safeParse(jsonString, (x) => OpenResponsesStreamEventResponseReasoningSummaryTextDelta$inboundSchema
|
|
476
|
-
.parse(JSON.parse(x)), `Failed to parse 'OpenResponsesStreamEventResponseReasoningSummaryTextDelta' from JSON`);
|
|
477
|
-
}
|
|
478
|
-
/** @internal */
|
|
479
77
|
export const TypeResponseReasoningSummaryPartDone$inboundSchema = z.enum(TypeResponseReasoningSummaryPartDone);
|
|
480
78
|
/** @internal */
|
|
481
79
|
export const TypeResponseReasoningSummaryPartDone$outboundSchema = TypeResponseReasoningSummaryPartDone$inboundSchema;
|
|
@@ -542,202 +140,6 @@ export function openResponsesStreamEventResponseReasoningSummaryPartDoneFromJSON
|
|
|
542
140
|
.parse(JSON.parse(x)), `Failed to parse 'OpenResponsesStreamEventResponseReasoningSummaryPartDone' from JSON`);
|
|
543
141
|
}
|
|
544
142
|
/** @internal */
|
|
545
|
-
export const TypeResponseReasoningSummaryPartAdded$inboundSchema = z.enum(TypeResponseReasoningSummaryPartAdded);
|
|
546
|
-
/** @internal */
|
|
547
|
-
export const TypeResponseReasoningSummaryPartAdded$outboundSchema = TypeResponseReasoningSummaryPartAdded$inboundSchema;
|
|
548
|
-
/**
|
|
549
|
-
* @internal
|
|
550
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
551
|
-
*/
|
|
552
|
-
export var TypeResponseReasoningSummaryPartAdded$;
|
|
553
|
-
(function (TypeResponseReasoningSummaryPartAdded$) {
|
|
554
|
-
/** @deprecated use `TypeResponseReasoningSummaryPartAdded$inboundSchema` instead. */
|
|
555
|
-
TypeResponseReasoningSummaryPartAdded$.inboundSchema = TypeResponseReasoningSummaryPartAdded$inboundSchema;
|
|
556
|
-
/** @deprecated use `TypeResponseReasoningSummaryPartAdded$outboundSchema` instead. */
|
|
557
|
-
TypeResponseReasoningSummaryPartAdded$.outboundSchema = TypeResponseReasoningSummaryPartAdded$outboundSchema;
|
|
558
|
-
})(TypeResponseReasoningSummaryPartAdded$ || (TypeResponseReasoningSummaryPartAdded$ = {}));
|
|
559
|
-
/** @internal */
|
|
560
|
-
export const OpenResponsesStreamEventResponseReasoningSummaryPartAdded$inboundSchema = z.object({
|
|
561
|
-
type: TypeResponseReasoningSummaryPartAdded$inboundSchema,
|
|
562
|
-
output_index: z.number(),
|
|
563
|
-
item_id: z.string(),
|
|
564
|
-
summary_index: z.number(),
|
|
565
|
-
part: ReasoningSummaryText$inboundSchema,
|
|
566
|
-
sequence_number: z.number(),
|
|
567
|
-
}).transform((v) => {
|
|
568
|
-
return remap$(v, {
|
|
569
|
-
"output_index": "outputIndex",
|
|
570
|
-
"item_id": "itemId",
|
|
571
|
-
"summary_index": "summaryIndex",
|
|
572
|
-
"sequence_number": "sequenceNumber",
|
|
573
|
-
});
|
|
574
|
-
});
|
|
575
|
-
/** @internal */
|
|
576
|
-
export const OpenResponsesStreamEventResponseReasoningSummaryPartAdded$outboundSchema = z.object({
|
|
577
|
-
type: TypeResponseReasoningSummaryPartAdded$outboundSchema,
|
|
578
|
-
outputIndex: z.number(),
|
|
579
|
-
itemId: z.string(),
|
|
580
|
-
summaryIndex: z.number(),
|
|
581
|
-
part: ReasoningSummaryText$outboundSchema,
|
|
582
|
-
sequenceNumber: z.number(),
|
|
583
|
-
}).transform((v) => {
|
|
584
|
-
return remap$(v, {
|
|
585
|
-
outputIndex: "output_index",
|
|
586
|
-
itemId: "item_id",
|
|
587
|
-
summaryIndex: "summary_index",
|
|
588
|
-
sequenceNumber: "sequence_number",
|
|
589
|
-
});
|
|
590
|
-
});
|
|
591
|
-
/**
|
|
592
|
-
* @internal
|
|
593
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
594
|
-
*/
|
|
595
|
-
export var OpenResponsesStreamEventResponseReasoningSummaryPartAdded$;
|
|
596
|
-
(function (OpenResponsesStreamEventResponseReasoningSummaryPartAdded$) {
|
|
597
|
-
/** @deprecated use `OpenResponsesStreamEventResponseReasoningSummaryPartAdded$inboundSchema` instead. */
|
|
598
|
-
OpenResponsesStreamEventResponseReasoningSummaryPartAdded$.inboundSchema = OpenResponsesStreamEventResponseReasoningSummaryPartAdded$inboundSchema;
|
|
599
|
-
/** @deprecated use `OpenResponsesStreamEventResponseReasoningSummaryPartAdded$outboundSchema` instead. */
|
|
600
|
-
OpenResponsesStreamEventResponseReasoningSummaryPartAdded$.outboundSchema = OpenResponsesStreamEventResponseReasoningSummaryPartAdded$outboundSchema;
|
|
601
|
-
})(OpenResponsesStreamEventResponseReasoningSummaryPartAdded$ || (OpenResponsesStreamEventResponseReasoningSummaryPartAdded$ = {}));
|
|
602
|
-
export function openResponsesStreamEventResponseReasoningSummaryPartAddedToJSON(openResponsesStreamEventResponseReasoningSummaryPartAdded) {
|
|
603
|
-
return JSON.stringify(OpenResponsesStreamEventResponseReasoningSummaryPartAdded$outboundSchema
|
|
604
|
-
.parse(openResponsesStreamEventResponseReasoningSummaryPartAdded));
|
|
605
|
-
}
|
|
606
|
-
export function openResponsesStreamEventResponseReasoningSummaryPartAddedFromJSON(jsonString) {
|
|
607
|
-
return safeParse(jsonString, (x) => OpenResponsesStreamEventResponseReasoningSummaryPartAdded$inboundSchema
|
|
608
|
-
.parse(JSON.parse(x)), `Failed to parse 'OpenResponsesStreamEventResponseReasoningSummaryPartAdded' from JSON`);
|
|
609
|
-
}
|
|
610
|
-
/** @internal */
|
|
611
|
-
export const TypeResponseReasoningTextDone$inboundSchema = z.enum(TypeResponseReasoningTextDone);
|
|
612
|
-
/** @internal */
|
|
613
|
-
export const TypeResponseReasoningTextDone$outboundSchema = TypeResponseReasoningTextDone$inboundSchema;
|
|
614
|
-
/**
|
|
615
|
-
* @internal
|
|
616
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
617
|
-
*/
|
|
618
|
-
export var TypeResponseReasoningTextDone$;
|
|
619
|
-
(function (TypeResponseReasoningTextDone$) {
|
|
620
|
-
/** @deprecated use `TypeResponseReasoningTextDone$inboundSchema` instead. */
|
|
621
|
-
TypeResponseReasoningTextDone$.inboundSchema = TypeResponseReasoningTextDone$inboundSchema;
|
|
622
|
-
/** @deprecated use `TypeResponseReasoningTextDone$outboundSchema` instead. */
|
|
623
|
-
TypeResponseReasoningTextDone$.outboundSchema = TypeResponseReasoningTextDone$outboundSchema;
|
|
624
|
-
})(TypeResponseReasoningTextDone$ || (TypeResponseReasoningTextDone$ = {}));
|
|
625
|
-
/** @internal */
|
|
626
|
-
export const OpenResponsesStreamEventResponseReasoningTextDone$inboundSchema = z
|
|
627
|
-
.object({
|
|
628
|
-
type: TypeResponseReasoningTextDone$inboundSchema,
|
|
629
|
-
output_index: z.number(),
|
|
630
|
-
item_id: z.string(),
|
|
631
|
-
content_index: z.number(),
|
|
632
|
-
text: z.string(),
|
|
633
|
-
sequence_number: z.number(),
|
|
634
|
-
}).transform((v) => {
|
|
635
|
-
return remap$(v, {
|
|
636
|
-
"output_index": "outputIndex",
|
|
637
|
-
"item_id": "itemId",
|
|
638
|
-
"content_index": "contentIndex",
|
|
639
|
-
"sequence_number": "sequenceNumber",
|
|
640
|
-
});
|
|
641
|
-
});
|
|
642
|
-
/** @internal */
|
|
643
|
-
export const OpenResponsesStreamEventResponseReasoningTextDone$outboundSchema = z.object({
|
|
644
|
-
type: TypeResponseReasoningTextDone$outboundSchema,
|
|
645
|
-
outputIndex: z.number(),
|
|
646
|
-
itemId: z.string(),
|
|
647
|
-
contentIndex: z.number(),
|
|
648
|
-
text: z.string(),
|
|
649
|
-
sequenceNumber: z.number(),
|
|
650
|
-
}).transform((v) => {
|
|
651
|
-
return remap$(v, {
|
|
652
|
-
outputIndex: "output_index",
|
|
653
|
-
itemId: "item_id",
|
|
654
|
-
contentIndex: "content_index",
|
|
655
|
-
sequenceNumber: "sequence_number",
|
|
656
|
-
});
|
|
657
|
-
});
|
|
658
|
-
/**
|
|
659
|
-
* @internal
|
|
660
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
661
|
-
*/
|
|
662
|
-
export var OpenResponsesStreamEventResponseReasoningTextDone$;
|
|
663
|
-
(function (OpenResponsesStreamEventResponseReasoningTextDone$) {
|
|
664
|
-
/** @deprecated use `OpenResponsesStreamEventResponseReasoningTextDone$inboundSchema` instead. */
|
|
665
|
-
OpenResponsesStreamEventResponseReasoningTextDone$.inboundSchema = OpenResponsesStreamEventResponseReasoningTextDone$inboundSchema;
|
|
666
|
-
/** @deprecated use `OpenResponsesStreamEventResponseReasoningTextDone$outboundSchema` instead. */
|
|
667
|
-
OpenResponsesStreamEventResponseReasoningTextDone$.outboundSchema = OpenResponsesStreamEventResponseReasoningTextDone$outboundSchema;
|
|
668
|
-
})(OpenResponsesStreamEventResponseReasoningTextDone$ || (OpenResponsesStreamEventResponseReasoningTextDone$ = {}));
|
|
669
|
-
export function openResponsesStreamEventResponseReasoningTextDoneToJSON(openResponsesStreamEventResponseReasoningTextDone) {
|
|
670
|
-
return JSON.stringify(OpenResponsesStreamEventResponseReasoningTextDone$outboundSchema.parse(openResponsesStreamEventResponseReasoningTextDone));
|
|
671
|
-
}
|
|
672
|
-
export function openResponsesStreamEventResponseReasoningTextDoneFromJSON(jsonString) {
|
|
673
|
-
return safeParse(jsonString, (x) => OpenResponsesStreamEventResponseReasoningTextDone$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'OpenResponsesStreamEventResponseReasoningTextDone' from JSON`);
|
|
674
|
-
}
|
|
675
|
-
/** @internal */
|
|
676
|
-
export const TypeResponseReasoningTextDelta$inboundSchema = z.enum(TypeResponseReasoningTextDelta);
|
|
677
|
-
/** @internal */
|
|
678
|
-
export const TypeResponseReasoningTextDelta$outboundSchema = TypeResponseReasoningTextDelta$inboundSchema;
|
|
679
|
-
/**
|
|
680
|
-
* @internal
|
|
681
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
682
|
-
*/
|
|
683
|
-
export var TypeResponseReasoningTextDelta$;
|
|
684
|
-
(function (TypeResponseReasoningTextDelta$) {
|
|
685
|
-
/** @deprecated use `TypeResponseReasoningTextDelta$inboundSchema` instead. */
|
|
686
|
-
TypeResponseReasoningTextDelta$.inboundSchema = TypeResponseReasoningTextDelta$inboundSchema;
|
|
687
|
-
/** @deprecated use `TypeResponseReasoningTextDelta$outboundSchema` instead. */
|
|
688
|
-
TypeResponseReasoningTextDelta$.outboundSchema = TypeResponseReasoningTextDelta$outboundSchema;
|
|
689
|
-
})(TypeResponseReasoningTextDelta$ || (TypeResponseReasoningTextDelta$ = {}));
|
|
690
|
-
/** @internal */
|
|
691
|
-
export const OpenResponsesStreamEventResponseReasoningTextDelta$inboundSchema = z
|
|
692
|
-
.object({
|
|
693
|
-
type: TypeResponseReasoningTextDelta$inboundSchema,
|
|
694
|
-
output_index: z.number(),
|
|
695
|
-
item_id: z.string(),
|
|
696
|
-
content_index: z.number(),
|
|
697
|
-
delta: z.string(),
|
|
698
|
-
sequence_number: z.number(),
|
|
699
|
-
}).transform((v) => {
|
|
700
|
-
return remap$(v, {
|
|
701
|
-
"output_index": "outputIndex",
|
|
702
|
-
"item_id": "itemId",
|
|
703
|
-
"content_index": "contentIndex",
|
|
704
|
-
"sequence_number": "sequenceNumber",
|
|
705
|
-
});
|
|
706
|
-
});
|
|
707
|
-
/** @internal */
|
|
708
|
-
export const OpenResponsesStreamEventResponseReasoningTextDelta$outboundSchema = z.object({
|
|
709
|
-
type: TypeResponseReasoningTextDelta$outboundSchema,
|
|
710
|
-
outputIndex: z.number(),
|
|
711
|
-
itemId: z.string(),
|
|
712
|
-
contentIndex: z.number(),
|
|
713
|
-
delta: z.string(),
|
|
714
|
-
sequenceNumber: z.number(),
|
|
715
|
-
}).transform((v) => {
|
|
716
|
-
return remap$(v, {
|
|
717
|
-
outputIndex: "output_index",
|
|
718
|
-
itemId: "item_id",
|
|
719
|
-
contentIndex: "content_index",
|
|
720
|
-
sequenceNumber: "sequence_number",
|
|
721
|
-
});
|
|
722
|
-
});
|
|
723
|
-
/**
|
|
724
|
-
* @internal
|
|
725
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
726
|
-
*/
|
|
727
|
-
export var OpenResponsesStreamEventResponseReasoningTextDelta$;
|
|
728
|
-
(function (OpenResponsesStreamEventResponseReasoningTextDelta$) {
|
|
729
|
-
/** @deprecated use `OpenResponsesStreamEventResponseReasoningTextDelta$inboundSchema` instead. */
|
|
730
|
-
OpenResponsesStreamEventResponseReasoningTextDelta$.inboundSchema = OpenResponsesStreamEventResponseReasoningTextDelta$inboundSchema;
|
|
731
|
-
/** @deprecated use `OpenResponsesStreamEventResponseReasoningTextDelta$outboundSchema` instead. */
|
|
732
|
-
OpenResponsesStreamEventResponseReasoningTextDelta$.outboundSchema = OpenResponsesStreamEventResponseReasoningTextDelta$outboundSchema;
|
|
733
|
-
})(OpenResponsesStreamEventResponseReasoningTextDelta$ || (OpenResponsesStreamEventResponseReasoningTextDelta$ = {}));
|
|
734
|
-
export function openResponsesStreamEventResponseReasoningTextDeltaToJSON(openResponsesStreamEventResponseReasoningTextDelta) {
|
|
735
|
-
return JSON.stringify(OpenResponsesStreamEventResponseReasoningTextDelta$outboundSchema.parse(openResponsesStreamEventResponseReasoningTextDelta));
|
|
736
|
-
}
|
|
737
|
-
export function openResponsesStreamEventResponseReasoningTextDeltaFromJSON(jsonString) {
|
|
738
|
-
return safeParse(jsonString, (x) => OpenResponsesStreamEventResponseReasoningTextDelta$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'OpenResponsesStreamEventResponseReasoningTextDelta' from JSON`);
|
|
739
|
-
}
|
|
740
|
-
/** @internal */
|
|
741
143
|
export const TypeResponseFunctionCallArgumentsDone$inboundSchema = z.enum(TypeResponseFunctionCallArgumentsDone);
|
|
742
144
|
/** @internal */
|
|
743
145
|
export const TypeResponseFunctionCallArgumentsDone$outboundSchema = TypeResponseFunctionCallArgumentsDone$inboundSchema;
|
|
@@ -879,35 +281,6 @@ export var TypeResponseOutputTextAnnotationAdded$;
|
|
|
879
281
|
TypeResponseOutputTextAnnotationAdded$.outboundSchema = TypeResponseOutputTextAnnotationAdded$outboundSchema;
|
|
880
282
|
})(TypeResponseOutputTextAnnotationAdded$ || (TypeResponseOutputTextAnnotationAdded$ = {}));
|
|
881
283
|
/** @internal */
|
|
882
|
-
export const OpenResponsesStreamEventAnnotation$inboundSchema = z.union([
|
|
883
|
-
URLCitationAnnotation$inboundSchema,
|
|
884
|
-
FileCitationAnnotation$inboundSchema,
|
|
885
|
-
FilePathAnnotation$inboundSchema,
|
|
886
|
-
]);
|
|
887
|
-
/** @internal */
|
|
888
|
-
export const OpenResponsesStreamEventAnnotation$outboundSchema = z.union([
|
|
889
|
-
URLCitationAnnotation$outboundSchema,
|
|
890
|
-
FileCitationAnnotation$outboundSchema,
|
|
891
|
-
FilePathAnnotation$outboundSchema,
|
|
892
|
-
]);
|
|
893
|
-
/**
|
|
894
|
-
* @internal
|
|
895
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
896
|
-
*/
|
|
897
|
-
export var OpenResponsesStreamEventAnnotation$;
|
|
898
|
-
(function (OpenResponsesStreamEventAnnotation$) {
|
|
899
|
-
/** @deprecated use `OpenResponsesStreamEventAnnotation$inboundSchema` instead. */
|
|
900
|
-
OpenResponsesStreamEventAnnotation$.inboundSchema = OpenResponsesStreamEventAnnotation$inboundSchema;
|
|
901
|
-
/** @deprecated use `OpenResponsesStreamEventAnnotation$outboundSchema` instead. */
|
|
902
|
-
OpenResponsesStreamEventAnnotation$.outboundSchema = OpenResponsesStreamEventAnnotation$outboundSchema;
|
|
903
|
-
})(OpenResponsesStreamEventAnnotation$ || (OpenResponsesStreamEventAnnotation$ = {}));
|
|
904
|
-
export function openResponsesStreamEventAnnotationToJSON(openResponsesStreamEventAnnotation) {
|
|
905
|
-
return JSON.stringify(OpenResponsesStreamEventAnnotation$outboundSchema.parse(openResponsesStreamEventAnnotation));
|
|
906
|
-
}
|
|
907
|
-
export function openResponsesStreamEventAnnotationFromJSON(jsonString) {
|
|
908
|
-
return safeParse(jsonString, (x) => OpenResponsesStreamEventAnnotation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'OpenResponsesStreamEventAnnotation' from JSON`);
|
|
909
|
-
}
|
|
910
|
-
/** @internal */
|
|
911
284
|
export const OpenResponsesStreamEventResponseOutputTextAnnotationAdded$inboundSchema = z.object({
|
|
912
285
|
type: TypeResponseOutputTextAnnotationAdded$inboundSchema,
|
|
913
286
|
output_index: z.number(),
|
|
@@ -915,11 +288,7 @@ export const OpenResponsesStreamEventResponseOutputTextAnnotationAdded$inboundSc
|
|
|
915
288
|
content_index: z.number(),
|
|
916
289
|
sequence_number: z.number(),
|
|
917
290
|
annotation_index: z.number(),
|
|
918
|
-
annotation:
|
|
919
|
-
URLCitationAnnotation$inboundSchema,
|
|
920
|
-
FileCitationAnnotation$inboundSchema,
|
|
921
|
-
FilePathAnnotation$inboundSchema,
|
|
922
|
-
]),
|
|
291
|
+
annotation: OpenAIResponsesAnnotation$inboundSchema,
|
|
923
292
|
}).transform((v) => {
|
|
924
293
|
return remap$(v, {
|
|
925
294
|
"output_index": "outputIndex",
|
|
@@ -937,11 +306,7 @@ export const OpenResponsesStreamEventResponseOutputTextAnnotationAdded$outboundS
|
|
|
937
306
|
contentIndex: z.number(),
|
|
938
307
|
sequenceNumber: z.number(),
|
|
939
308
|
annotationIndex: z.number(),
|
|
940
|
-
annotation:
|
|
941
|
-
URLCitationAnnotation$outboundSchema,
|
|
942
|
-
FileCitationAnnotation$outboundSchema,
|
|
943
|
-
FilePathAnnotation$outboundSchema,
|
|
944
|
-
]),
|
|
309
|
+
annotation: OpenAIResponsesAnnotation$outboundSchema,
|
|
945
310
|
}).transform((v) => {
|
|
946
311
|
return remap$(v, {
|
|
947
312
|
outputIndex: "output_index",
|
|
@@ -1248,15 +613,15 @@ export var TypeResponseContentPartDone$;
|
|
|
1248
613
|
})(TypeResponseContentPartDone$ || (TypeResponseContentPartDone$ = {}));
|
|
1249
614
|
/** @internal */
|
|
1250
615
|
export const Part2$inboundSchema = z.union([
|
|
1251
|
-
|
|
616
|
+
ResponseOutputText$inboundSchema,
|
|
1252
617
|
ReasoningTextContent$inboundSchema,
|
|
1253
|
-
|
|
618
|
+
OpenAIResponsesRefusalContent$inboundSchema,
|
|
1254
619
|
]);
|
|
1255
620
|
/** @internal */
|
|
1256
621
|
export const Part2$outboundSchema = z.union([
|
|
1257
|
-
|
|
622
|
+
ResponseOutputText$outboundSchema,
|
|
1258
623
|
ReasoningTextContent$outboundSchema,
|
|
1259
|
-
|
|
624
|
+
OpenAIResponsesRefusalContent$outboundSchema,
|
|
1260
625
|
]);
|
|
1261
626
|
/**
|
|
1262
627
|
* @internal
|
|
@@ -1283,9 +648,9 @@ export const OpenResponsesStreamEventResponseContentPartDone$inboundSchema = z
|
|
|
1283
648
|
item_id: z.string(),
|
|
1284
649
|
content_index: z.number(),
|
|
1285
650
|
part: z.union([
|
|
1286
|
-
|
|
651
|
+
ResponseOutputText$inboundSchema,
|
|
1287
652
|
ReasoningTextContent$inboundSchema,
|
|
1288
|
-
|
|
653
|
+
OpenAIResponsesRefusalContent$inboundSchema,
|
|
1289
654
|
]),
|
|
1290
655
|
sequence_number: z.number(),
|
|
1291
656
|
}).transform((v) => {
|
|
@@ -1303,9 +668,9 @@ export const OpenResponsesStreamEventResponseContentPartDone$outboundSchema = z.
|
|
|
1303
668
|
itemId: z.string(),
|
|
1304
669
|
contentIndex: z.number(),
|
|
1305
670
|
part: z.union([
|
|
1306
|
-
|
|
671
|
+
ResponseOutputText$outboundSchema,
|
|
1307
672
|
ReasoningTextContent$outboundSchema,
|
|
1308
|
-
|
|
673
|
+
OpenAIResponsesRefusalContent$outboundSchema,
|
|
1309
674
|
]),
|
|
1310
675
|
sequenceNumber: z.number(),
|
|
1311
676
|
}).transform((v) => {
|
|
@@ -1350,15 +715,15 @@ export var TypeResponseContentPartAdded$;
|
|
|
1350
715
|
})(TypeResponseContentPartAdded$ || (TypeResponseContentPartAdded$ = {}));
|
|
1351
716
|
/** @internal */
|
|
1352
717
|
export const Part1$inboundSchema = z.union([
|
|
1353
|
-
|
|
718
|
+
ResponseOutputText$inboundSchema,
|
|
1354
719
|
ReasoningTextContent$inboundSchema,
|
|
1355
|
-
|
|
720
|
+
OpenAIResponsesRefusalContent$inboundSchema,
|
|
1356
721
|
]);
|
|
1357
722
|
/** @internal */
|
|
1358
723
|
export const Part1$outboundSchema = z.union([
|
|
1359
|
-
|
|
724
|
+
ResponseOutputText$outboundSchema,
|
|
1360
725
|
ReasoningTextContent$outboundSchema,
|
|
1361
|
-
|
|
726
|
+
OpenAIResponsesRefusalContent$outboundSchema,
|
|
1362
727
|
]);
|
|
1363
728
|
/**
|
|
1364
729
|
* @internal
|
|
@@ -1385,9 +750,9 @@ export const OpenResponsesStreamEventResponseContentPartAdded$inboundSchema = z
|
|
|
1385
750
|
item_id: z.string(),
|
|
1386
751
|
content_index: z.number(),
|
|
1387
752
|
part: z.union([
|
|
1388
|
-
|
|
753
|
+
ResponseOutputText$inboundSchema,
|
|
1389
754
|
ReasoningTextContent$inboundSchema,
|
|
1390
|
-
|
|
755
|
+
OpenAIResponsesRefusalContent$inboundSchema,
|
|
1391
756
|
]),
|
|
1392
757
|
sequence_number: z.number(),
|
|
1393
758
|
}).transform((v) => {
|
|
@@ -1405,9 +770,9 @@ export const OpenResponsesStreamEventResponseContentPartAdded$outboundSchema = z
|
|
|
1405
770
|
itemId: z.string(),
|
|
1406
771
|
contentIndex: z.number(),
|
|
1407
772
|
part: z.union([
|
|
1408
|
-
|
|
773
|
+
ResponseOutputText$outboundSchema,
|
|
1409
774
|
ReasoningTextContent$outboundSchema,
|
|
1410
|
-
|
|
775
|
+
OpenAIResponsesRefusalContent$outboundSchema,
|
|
1411
776
|
]),
|
|
1412
777
|
sequenceNumber: z.number(),
|
|
1413
778
|
}).transform((v) => {
|
|
@@ -1549,62 +914,6 @@ export function openResponsesStreamEventResponseOutputItemAddedFromJSON(jsonStri
|
|
|
1549
914
|
return safeParse(jsonString, (x) => OpenResponsesStreamEventResponseOutputItemAdded$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'OpenResponsesStreamEventResponseOutputItemAdded' from JSON`);
|
|
1550
915
|
}
|
|
1551
916
|
/** @internal */
|
|
1552
|
-
export const TypeError$inboundSchema = z.enum(TypeError);
|
|
1553
|
-
/** @internal */
|
|
1554
|
-
export const TypeError$outboundSchema = TypeError$inboundSchema;
|
|
1555
|
-
/**
|
|
1556
|
-
* @internal
|
|
1557
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1558
|
-
*/
|
|
1559
|
-
export var TypeError$;
|
|
1560
|
-
(function (TypeError$) {
|
|
1561
|
-
/** @deprecated use `TypeError$inboundSchema` instead. */
|
|
1562
|
-
TypeError$.inboundSchema = TypeError$inboundSchema;
|
|
1563
|
-
/** @deprecated use `TypeError$outboundSchema` instead. */
|
|
1564
|
-
TypeError$.outboundSchema = TypeError$outboundSchema;
|
|
1565
|
-
})(TypeError$ || (TypeError$ = {}));
|
|
1566
|
-
/** @internal */
|
|
1567
|
-
export const OpenResponsesStreamEventError$inboundSchema = z.object({
|
|
1568
|
-
type: TypeError$inboundSchema,
|
|
1569
|
-
code: z.nullable(z.string()),
|
|
1570
|
-
message: z.string(),
|
|
1571
|
-
param: z.nullable(z.string()),
|
|
1572
|
-
sequence_number: z.number(),
|
|
1573
|
-
}).transform((v) => {
|
|
1574
|
-
return remap$(v, {
|
|
1575
|
-
"sequence_number": "sequenceNumber",
|
|
1576
|
-
});
|
|
1577
|
-
});
|
|
1578
|
-
/** @internal */
|
|
1579
|
-
export const OpenResponsesStreamEventError$outboundSchema = z.object({
|
|
1580
|
-
type: TypeError$outboundSchema,
|
|
1581
|
-
code: z.nullable(z.string()),
|
|
1582
|
-
message: z.string(),
|
|
1583
|
-
param: z.nullable(z.string()),
|
|
1584
|
-
sequenceNumber: z.number(),
|
|
1585
|
-
}).transform((v) => {
|
|
1586
|
-
return remap$(v, {
|
|
1587
|
-
sequenceNumber: "sequence_number",
|
|
1588
|
-
});
|
|
1589
|
-
});
|
|
1590
|
-
/**
|
|
1591
|
-
* @internal
|
|
1592
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1593
|
-
*/
|
|
1594
|
-
export var OpenResponsesStreamEventError$;
|
|
1595
|
-
(function (OpenResponsesStreamEventError$) {
|
|
1596
|
-
/** @deprecated use `OpenResponsesStreamEventError$inboundSchema` instead. */
|
|
1597
|
-
OpenResponsesStreamEventError$.inboundSchema = OpenResponsesStreamEventError$inboundSchema;
|
|
1598
|
-
/** @deprecated use `OpenResponsesStreamEventError$outboundSchema` instead. */
|
|
1599
|
-
OpenResponsesStreamEventError$.outboundSchema = OpenResponsesStreamEventError$outboundSchema;
|
|
1600
|
-
})(OpenResponsesStreamEventError$ || (OpenResponsesStreamEventError$ = {}));
|
|
1601
|
-
export function openResponsesStreamEventErrorToJSON(openResponsesStreamEventError) {
|
|
1602
|
-
return JSON.stringify(OpenResponsesStreamEventError$outboundSchema.parse(openResponsesStreamEventError));
|
|
1603
|
-
}
|
|
1604
|
-
export function openResponsesStreamEventErrorFromJSON(jsonString) {
|
|
1605
|
-
return safeParse(jsonString, (x) => OpenResponsesStreamEventError$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'OpenResponsesStreamEventError' from JSON`);
|
|
1606
|
-
}
|
|
1607
|
-
/** @internal */
|
|
1608
917
|
export const TypeResponseFailed$inboundSchema = z.enum(TypeResponseFailed);
|
|
1609
918
|
/** @internal */
|
|
1610
919
|
export const TypeResponseFailed$outboundSchema = TypeResponseFailed$inboundSchema;
|
|
@@ -1874,20 +1183,20 @@ export const OpenResponsesStreamEvent$inboundSchema = z.union([
|
|
|
1874
1183
|
z.lazy(() => OpenResponsesStreamEventResponseRefusalDelta$inboundSchema),
|
|
1875
1184
|
z.lazy(() => OpenResponsesStreamEventResponseRefusalDone$inboundSchema),
|
|
1876
1185
|
z.lazy(() => OpenResponsesStreamEventResponseFunctionCallArgumentsDone$inboundSchema),
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1186
|
+
OpenResponsesReasoningDeltaEvent$inboundSchema,
|
|
1187
|
+
OpenResponsesReasoningDoneEvent$inboundSchema,
|
|
1188
|
+
OpenResponsesReasoningSummaryPartAddedEvent$inboundSchema,
|
|
1880
1189
|
z.lazy(() => OpenResponsesStreamEventResponseReasoningSummaryPartDone$inboundSchema),
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1190
|
+
OpenResponsesReasoningSummaryTextDeltaEvent$inboundSchema,
|
|
1191
|
+
OpenResponsesReasoningSummaryTextDoneEvent$inboundSchema,
|
|
1192
|
+
OpenResponsesImageGenCallPartialImage$inboundSchema,
|
|
1193
|
+
OpenResponsesErrorEvent$inboundSchema,
|
|
1885
1194
|
z.lazy(() => OpenResponsesStreamEventResponseFunctionCallArgumentsDelta$inboundSchema),
|
|
1886
1195
|
z.lazy(() => OpenResponsesStreamEventResponseOutputItemAdded$inboundSchema),
|
|
1887
1196
|
z.lazy(() => OpenResponsesStreamEventResponseOutputItemDone$inboundSchema),
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1197
|
+
OpenResponsesImageGenCallInProgress$inboundSchema,
|
|
1198
|
+
OpenResponsesImageGenCallGenerating$inboundSchema,
|
|
1199
|
+
OpenResponsesImageGenCallCompleted$inboundSchema,
|
|
1891
1200
|
z.lazy(() => OpenResponsesStreamEventResponseCreated$inboundSchema),
|
|
1892
1201
|
z.lazy(() => OpenResponsesStreamEventResponseInProgress$inboundSchema),
|
|
1893
1202
|
z.lazy(() => OpenResponsesStreamEventResponseCompleted$inboundSchema),
|
|
@@ -1904,20 +1213,20 @@ export const OpenResponsesStreamEvent$outboundSchema = z.union([
|
|
|
1904
1213
|
z.lazy(() => OpenResponsesStreamEventResponseRefusalDelta$outboundSchema),
|
|
1905
1214
|
z.lazy(() => OpenResponsesStreamEventResponseRefusalDone$outboundSchema),
|
|
1906
1215
|
z.lazy(() => OpenResponsesStreamEventResponseFunctionCallArgumentsDone$outboundSchema),
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1216
|
+
OpenResponsesReasoningDeltaEvent$outboundSchema,
|
|
1217
|
+
OpenResponsesReasoningDoneEvent$outboundSchema,
|
|
1218
|
+
OpenResponsesReasoningSummaryPartAddedEvent$outboundSchema,
|
|
1910
1219
|
z.lazy(() => OpenResponsesStreamEventResponseReasoningSummaryPartDone$outboundSchema),
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1220
|
+
OpenResponsesReasoningSummaryTextDeltaEvent$outboundSchema,
|
|
1221
|
+
OpenResponsesReasoningSummaryTextDoneEvent$outboundSchema,
|
|
1222
|
+
OpenResponsesImageGenCallPartialImage$outboundSchema,
|
|
1223
|
+
OpenResponsesErrorEvent$outboundSchema,
|
|
1915
1224
|
z.lazy(() => OpenResponsesStreamEventResponseFunctionCallArgumentsDelta$outboundSchema),
|
|
1916
1225
|
z.lazy(() => OpenResponsesStreamEventResponseOutputItemAdded$outboundSchema),
|
|
1917
1226
|
z.lazy(() => OpenResponsesStreamEventResponseOutputItemDone$outboundSchema),
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1227
|
+
OpenResponsesImageGenCallInProgress$outboundSchema,
|
|
1228
|
+
OpenResponsesImageGenCallGenerating$outboundSchema,
|
|
1229
|
+
OpenResponsesImageGenCallCompleted$outboundSchema,
|
|
1921
1230
|
z.lazy(() => OpenResponsesStreamEventResponseCreated$outboundSchema),
|
|
1922
1231
|
z.lazy(() => OpenResponsesStreamEventResponseInProgress$outboundSchema),
|
|
1923
1232
|
z.lazy(() => OpenResponsesStreamEventResponseCompleted$outboundSchema),
|