@openrouter/sdk 0.0.0-beta.39 → 0.0.0-beta.40
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 +64 -26
- package/REACT_QUERY.md +64 -26
- package/README.md +359 -262
- package/dist/commonjs/funcs/analyticsGetUserActivity.d.ts +1 -2
- package/dist/commonjs/funcs/analyticsGetUserActivity.d.ts.map +1 -1
- package/dist/commonjs/funcs/analyticsGetUserActivity.js +1 -5
- package/dist/commonjs/funcs/analyticsGetUserActivity.js.map +1 -1
- package/dist/commonjs/funcs/apiKeysCreate.d.ts +1 -2
- package/dist/commonjs/funcs/apiKeysCreate.d.ts.map +1 -1
- package/dist/commonjs/funcs/apiKeysCreate.js +3 -7
- package/dist/commonjs/funcs/apiKeysCreate.js.map +1 -1
- package/dist/commonjs/funcs/apiKeysDelete.d.ts +1 -2
- package/dist/commonjs/funcs/apiKeysDelete.d.ts.map +1 -1
- package/dist/commonjs/funcs/apiKeysDelete.js +3 -7
- package/dist/commonjs/funcs/apiKeysDelete.js.map +1 -1
- package/dist/commonjs/funcs/apiKeysGet.d.ts +1 -2
- package/dist/commonjs/funcs/apiKeysGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/apiKeysGet.js +3 -7
- package/dist/commonjs/funcs/apiKeysGet.js.map +1 -1
- package/dist/commonjs/funcs/apiKeysGetCurrentKeyMetadata.d.ts +1 -2
- package/dist/commonjs/funcs/apiKeysGetCurrentKeyMetadata.d.ts.map +1 -1
- package/dist/commonjs/funcs/apiKeysGetCurrentKeyMetadata.js +1 -5
- package/dist/commonjs/funcs/apiKeysGetCurrentKeyMetadata.js.map +1 -1
- package/dist/commonjs/funcs/apiKeysList.d.ts +1 -2
- package/dist/commonjs/funcs/apiKeysList.d.ts.map +1 -1
- package/dist/commonjs/funcs/apiKeysList.js +3 -7
- package/dist/commonjs/funcs/apiKeysList.js.map +1 -1
- package/dist/commonjs/funcs/apiKeysUpdate.d.ts +1 -2
- package/dist/commonjs/funcs/apiKeysUpdate.d.ts.map +1 -1
- package/dist/commonjs/funcs/apiKeysUpdate.js +3 -7
- package/dist/commonjs/funcs/apiKeysUpdate.js.map +1 -1
- package/dist/commonjs/funcs/betaResponsesSend.d.ts +3 -11
- package/dist/commonjs/funcs/betaResponsesSend.d.ts.map +1 -1
- package/dist/commonjs/funcs/betaResponsesSend.js +11 -8
- package/dist/commonjs/funcs/betaResponsesSend.js.map +1 -1
- package/dist/commonjs/funcs/creditsCreateCoinbaseCharge.d.ts +17 -0
- package/dist/commonjs/funcs/creditsCreateCoinbaseCharge.d.ts.map +1 -0
- package/dist/commonjs/funcs/creditsCreateCoinbaseCharge.js +118 -0
- package/dist/commonjs/funcs/creditsCreateCoinbaseCharge.js.map +1 -0
- package/dist/commonjs/funcs/creditsGetCredits.d.ts +17 -0
- package/dist/commonjs/funcs/creditsGetCredits.d.ts.map +1 -0
- package/dist/commonjs/funcs/creditsGetCredits.js +104 -0
- package/dist/commonjs/funcs/creditsGetCredits.js.map +1 -0
- package/dist/commonjs/funcs/endpointsList.d.ts +1 -2
- package/dist/commonjs/funcs/endpointsList.d.ts.map +1 -1
- package/dist/commonjs/funcs/endpointsList.js +3 -7
- package/dist/commonjs/funcs/endpointsList.js.map +1 -1
- package/dist/commonjs/funcs/endpointsListZdrEndpoints.d.ts +14 -0
- package/dist/commonjs/funcs/endpointsListZdrEndpoints.d.ts.map +1 -0
- package/dist/commonjs/funcs/endpointsListZdrEndpoints.js +101 -0
- package/dist/commonjs/funcs/endpointsListZdrEndpoints.js.map +1 -0
- package/dist/commonjs/funcs/generationsGetGeneration.d.ts +14 -0
- package/dist/commonjs/funcs/generationsGetGeneration.d.ts.map +1 -0
- package/dist/commonjs/funcs/generationsGetGeneration.js +114 -0
- package/dist/commonjs/funcs/generationsGetGeneration.js.map +1 -0
- package/dist/commonjs/funcs/modelsGetModels.d.ts +14 -0
- package/dist/commonjs/funcs/modelsGetModels.d.ts.map +1 -0
- package/dist/commonjs/funcs/modelsGetModels.js +119 -0
- package/dist/commonjs/funcs/modelsGetModels.js.map +1 -0
- package/dist/commonjs/funcs/modelsListModelsCount.d.ts +14 -0
- package/dist/commonjs/funcs/modelsListModelsCount.d.ts.map +1 -0
- package/dist/commonjs/funcs/modelsListModelsCount.js +101 -0
- package/dist/commonjs/funcs/modelsListModelsCount.js.map +1 -0
- package/dist/commonjs/funcs/modelsListModelsUser.d.ts +14 -0
- package/dist/commonjs/funcs/modelsListModelsUser.d.ts.map +1 -0
- package/dist/commonjs/funcs/modelsListModelsUser.js +105 -0
- package/dist/commonjs/funcs/modelsListModelsUser.js.map +1 -0
- package/dist/commonjs/funcs/oAuthCreateAuthorizationUrl.d.ts +43 -0
- package/dist/commonjs/funcs/oAuthCreateAuthorizationUrl.d.ts.map +1 -0
- package/dist/commonjs/funcs/oAuthCreateAuthorizationUrl.js +50 -0
- package/dist/commonjs/funcs/oAuthCreateAuthorizationUrl.js.map +1 -0
- package/dist/commonjs/funcs/oAuthCreateSHA256CodeChallenge.d.ts +35 -0
- package/dist/commonjs/funcs/oAuthCreateSHA256CodeChallenge.d.ts.map +1 -0
- package/dist/commonjs/funcs/oAuthCreateSHA256CodeChallenge.js.map +1 -0
- package/dist/commonjs/funcs/parametersGetParameters.d.ts +14 -0
- package/dist/commonjs/funcs/parametersGetParameters.d.ts.map +1 -0
- package/dist/commonjs/funcs/parametersGetParameters.js +128 -0
- package/dist/commonjs/funcs/parametersGetParameters.js.map +1 -0
- package/dist/commonjs/funcs/providersList.d.ts +1 -1
- package/dist/commonjs/funcs/providersList.js +1 -1
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/models/chatcompletionfinishreason.d.ts +25 -0
- package/dist/commonjs/models/chatcompletionfinishreason.d.ts.map +1 -0
- package/dist/commonjs/models/chatcompletionfinishreason.js +71 -0
- package/dist/commonjs/models/chatcompletionfinishreason.js.map +1 -0
- package/dist/commonjs/models/chatgenerationparams.d.ts +8 -136
- package/dist/commonjs/models/chatgenerationparams.d.ts.map +1 -1
- package/dist/commonjs/models/chatgenerationparams.js +14 -174
- package/dist/commonjs/models/chatgenerationparams.js.map +1 -1
- package/dist/commonjs/models/chatmessagecontentitemimage.d.ts +10 -10
- package/dist/commonjs/models/chatmessagecontentitemimage.d.ts.map +1 -1
- package/dist/commonjs/models/chatmessagecontentitemimage.js +15 -16
- package/dist/commonjs/models/chatmessagecontentitemimage.js.map +1 -1
- package/dist/commonjs/models/chatmessagetokenlogprob.d.ts +15 -15
- package/dist/commonjs/models/chatmessagetokenlogprob.d.ts.map +1 -1
- package/dist/commonjs/models/chatmessagetokenlogprob.js +18 -18
- package/dist/commonjs/models/chatmessagetokenlogprob.js.map +1 -1
- package/dist/commonjs/models/chatresponsechoice.d.ts +2 -24
- package/dist/commonjs/models/chatresponsechoice.d.ts.map +1 -1
- package/dist/commonjs/models/chatresponsechoice.js +4 -33
- package/dist/commonjs/models/chatresponsechoice.js.map +1 -1
- package/dist/commonjs/models/chatstreamingchoice.d.ts +2 -24
- package/dist/commonjs/models/chatstreamingchoice.d.ts.map +1 -1
- package/dist/commonjs/models/chatstreamingchoice.js +4 -33
- package/dist/commonjs/models/chatstreamingchoice.js.map +1 -1
- package/dist/commonjs/models/completioncreateparams.d.ts +6 -93
- package/dist/commonjs/models/completioncreateparams.d.ts.map +1 -1
- package/dist/commonjs/models/completioncreateparams.js +11 -108
- package/dist/commonjs/models/completioncreateparams.js.map +1 -1
- package/dist/commonjs/models/datacollection.d.ts +36 -0
- package/dist/commonjs/models/datacollection.d.ts.map +1 -0
- package/dist/commonjs/models/datacollection.js +75 -0
- package/dist/commonjs/models/datacollection.js.map +1 -0
- package/dist/commonjs/models/defaultparameters.d.ts +36 -0
- package/dist/commonjs/models/defaultparameters.d.ts.map +1 -0
- package/dist/commonjs/models/defaultparameters.js +84 -0
- package/dist/commonjs/models/defaultparameters.js.map +1 -0
- package/dist/commonjs/models/endpointstatus.d.ts +26 -0
- package/dist/commonjs/models/endpointstatus.d.ts.map +1 -0
- package/dist/commonjs/models/endpointstatus.js +72 -0
- package/dist/commonjs/models/endpointstatus.js.map +1 -0
- package/dist/commonjs/models/errorresponse.d.ts +30 -0
- package/dist/commonjs/models/errorresponse.d.ts.map +1 -1
- package/dist/commonjs/models/errorresponse.js +39 -1
- package/dist/commonjs/models/errorresponse.js.map +1 -1
- package/dist/commonjs/models/errors/index.d.ts +0 -1
- package/dist/commonjs/models/errors/index.d.ts.map +1 -1
- package/dist/commonjs/models/errors/index.js +0 -1
- package/dist/commonjs/models/errors/index.js.map +1 -1
- package/dist/commonjs/models/filecitationannotation.d.ts +58 -0
- package/dist/commonjs/models/filecitationannotation.d.ts.map +1 -0
- package/dist/commonjs/models/filecitationannotation.js +102 -0
- package/dist/commonjs/models/filecitationannotation.js.map +1 -0
- package/dist/commonjs/models/filepathannotation.d.ts +56 -0
- package/dist/commonjs/models/filepathannotation.d.ts.map +1 -0
- package/dist/commonjs/models/filepathannotation.js +100 -0
- package/dist/commonjs/models/filepathannotation.js.map +1 -0
- package/dist/commonjs/models/imagegenerationstatus.d.ts +24 -0
- package/dist/commonjs/models/imagegenerationstatus.d.ts.map +1 -0
- package/dist/commonjs/models/imagegenerationstatus.js +70 -0
- package/dist/commonjs/models/imagegenerationstatus.js.map +1 -0
- package/dist/commonjs/models/index.d.ts +66 -55
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +66 -55
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/inputmodality.d.ts +24 -0
- package/dist/commonjs/models/inputmodality.d.ts.map +1 -0
- package/dist/commonjs/models/inputmodality.js +70 -0
- package/dist/commonjs/models/inputmodality.js.map +1 -0
- package/dist/commonjs/models/instructtype.d.ts +48 -0
- package/dist/commonjs/models/instructtype.d.ts.map +1 -0
- package/dist/commonjs/models/instructtype.js +91 -0
- package/dist/commonjs/models/instructtype.js.map +1 -0
- package/dist/commonjs/models/jsonschemaconfig.d.ts +39 -0
- package/dist/commonjs/models/jsonschemaconfig.d.ts.map +1 -0
- package/dist/commonjs/models/jsonschemaconfig.js +75 -0
- package/dist/commonjs/models/jsonschemaconfig.js.map +1 -0
- package/dist/commonjs/models/model.d.ts +416 -0
- package/dist/commonjs/models/model.d.ts.map +1 -0
- package/dist/commonjs/models/model.js +478 -0
- package/dist/commonjs/models/model.js.map +1 -0
- package/dist/commonjs/models/modelarchitecture.d.ts +59 -0
- package/dist/commonjs/models/modelarchitecture.d.ts.map +1 -0
- package/dist/commonjs/models/modelarchitecture.js +94 -0
- package/dist/commonjs/models/modelarchitecture.js.map +1 -0
- package/dist/commonjs/models/modelgroup.d.ts +45 -0
- package/dist/commonjs/models/modelgroup.d.ts.map +1 -0
- package/dist/commonjs/models/modelgroup.js +88 -0
- package/dist/commonjs/models/modelgroup.js.map +1 -0
- package/dist/commonjs/models/openresponseseasyinputmessage.d.ts +190 -0
- package/dist/commonjs/models/openresponseseasyinputmessage.d.ts.map +1 -0
- package/dist/commonjs/models/openresponseseasyinputmessage.js +239 -0
- package/dist/commonjs/models/openresponseseasyinputmessage.js.map +1 -0
- package/dist/commonjs/models/openresponsesformatjsonobject.d.ts +55 -0
- package/dist/commonjs/models/openresponsesformatjsonobject.d.ts.map +1 -0
- package/dist/commonjs/models/openresponsesformatjsonobject.js +87 -0
- package/dist/commonjs/models/openresponsesformatjsonobject.js.map +1 -0
- package/dist/commonjs/models/openresponsesformatjsonschema.d.ts +67 -0
- package/dist/commonjs/models/openresponsesformatjsonschema.d.ts.map +1 -0
- package/dist/commonjs/models/openresponsesformatjsonschema.js +95 -0
- package/dist/commonjs/models/openresponsesformatjsonschema.js.map +1 -0
- package/dist/commonjs/models/openresponsesformattext.d.ts +55 -0
- package/dist/commonjs/models/openresponsesformattext.d.ts.map +1 -0
- package/dist/commonjs/models/openresponsesformattext.js +87 -0
- package/dist/commonjs/models/openresponsesformattext.js.map +1 -0
- package/dist/commonjs/models/openresponsesformattextconfig.d.ts +31 -0
- package/dist/commonjs/models/openresponsesformattextconfig.d.ts.map +1 -0
- package/dist/commonjs/models/openresponsesformattextconfig.js +76 -0
- package/dist/commonjs/models/openresponsesformattextconfig.js.map +1 -0
- package/dist/commonjs/models/openresponsesfunctioncalloutput.d.ts +64 -0
- package/dist/commonjs/models/openresponsesfunctioncalloutput.d.ts.map +1 -0
- package/dist/commonjs/models/openresponsesfunctioncalloutput.js +105 -0
- package/dist/commonjs/models/openresponsesfunctioncalloutput.js.map +1 -0
- package/dist/commonjs/models/openresponsesfunctiontoolcall.d.ts +66 -0
- package/dist/commonjs/models/openresponsesfunctiontoolcall.d.ts.map +1 -0
- package/dist/commonjs/models/openresponsesfunctiontoolcall.js +107 -0
- package/dist/commonjs/models/openresponsesfunctiontoolcall.js.map +1 -0
- package/dist/commonjs/models/openresponsesincludable.d.ts +31 -0
- package/dist/commonjs/models/openresponsesincludable.d.ts.map +1 -0
- package/dist/commonjs/models/openresponsesincludable.js +74 -0
- package/dist/commonjs/models/openresponsesincludable.js.map +1 -0
- package/dist/commonjs/models/openresponsesinput.d.ts +29 -0
- package/dist/commonjs/models/openresponsesinput.d.ts.map +1 -0
- package/dist/commonjs/models/openresponsesinput.js +74 -0
- package/dist/commonjs/models/openresponsesinput.js.map +1 -0
- package/dist/commonjs/models/openresponsesinputcontent.d.ts +43 -0
- package/dist/commonjs/models/openresponsesinputcontent.d.ts.map +1 -0
- package/dist/commonjs/models/openresponsesinputcontent.js +88 -0
- package/dist/commonjs/models/openresponsesinputcontent.js.map +1 -0
- package/dist/commonjs/models/openresponsesinputfile.d.ts +63 -0
- package/dist/commonjs/models/openresponsesinputfile.d.ts.map +1 -0
- package/dist/commonjs/models/openresponsesinputfile.js +108 -0
- package/dist/commonjs/models/openresponsesinputfile.js.map +1 -0
- package/dist/commonjs/models/openresponsesinputimage.d.ts +79 -0
- package/dist/commonjs/models/openresponsesinputimage.d.ts.map +1 -0
- package/dist/commonjs/models/openresponsesinputimage.js +128 -0
- package/dist/commonjs/models/openresponsesinputimage.js.map +1 -0
- package/dist/commonjs/models/openresponsesinputitem.d.ts +492 -0
- package/dist/commonjs/models/openresponsesinputitem.d.ts.map +1 -0
- package/dist/commonjs/models/openresponsesinputitem.js +565 -0
- package/dist/commonjs/models/openresponsesinputitem.js.map +1 -0
- package/dist/commonjs/models/openresponsesinputmessageitem.d.ts +149 -0
- package/dist/commonjs/models/openresponsesinputmessageitem.d.ts.map +1 -0
- package/dist/commonjs/models/openresponsesinputmessageitem.js +189 -0
- package/dist/commonjs/models/openresponsesinputmessageitem.js.map +1 -0
- package/dist/commonjs/models/openresponsesinputtext.d.ts +57 -0
- package/dist/commonjs/models/openresponsesinputtext.d.ts.map +1 -0
- package/dist/commonjs/models/openresponsesinputtext.js +89 -0
- package/dist/commonjs/models/openresponsesinputtext.js.map +1 -0
- package/dist/commonjs/models/openresponseslogprobs.d.ts +66 -0
- package/dist/commonjs/models/openresponseslogprobs.d.ts.map +1 -0
- package/dist/commonjs/models/openresponseslogprobs.js +111 -0
- package/dist/commonjs/models/openresponseslogprobs.js.map +1 -0
- package/dist/commonjs/models/openresponsesnonstreamingresponse.d.ts +260 -0
- package/dist/commonjs/models/openresponsesnonstreamingresponse.d.ts.map +1 -0
- package/dist/commonjs/models/openresponsesnonstreamingresponse.js +330 -0
- package/dist/commonjs/models/openresponsesnonstreamingresponse.js.map +1 -0
- package/dist/commonjs/models/openresponsesoutputtext.d.ts +80 -0
- package/dist/commonjs/models/openresponsesoutputtext.d.ts.map +1 -0
- package/dist/commonjs/models/openresponsesoutputtext.js +133 -0
- package/dist/commonjs/models/openresponsesoutputtext.js.map +1 -0
- package/dist/commonjs/models/openresponsesprompt.d.ts +39 -0
- package/dist/commonjs/models/openresponsesprompt.d.ts.map +1 -0
- package/dist/commonjs/models/openresponsesprompt.js +74 -0
- package/dist/commonjs/models/openresponsesprompt.js.map +1 -0
- package/dist/commonjs/models/openresponsesreasoning.d.ts +90 -0
- package/dist/commonjs/models/openresponsesreasoning.d.ts.map +1 -0
- package/dist/commonjs/models/openresponsesreasoning.js +139 -0
- package/dist/commonjs/models/openresponsesreasoning.js.map +1 -0
- package/dist/commonjs/models/openresponsesreasoningconfig.d.ts +61 -0
- package/dist/commonjs/models/openresponsesreasoningconfig.d.ts.map +1 -0
- package/dist/commonjs/models/openresponsesreasoningconfig.js +116 -0
- package/dist/commonjs/models/openresponsesreasoningconfig.js.map +1 -0
- package/dist/commonjs/models/openresponsesrefusalcontent.d.ts +54 -0
- package/dist/commonjs/models/openresponsesrefusalcontent.d.ts.map +1 -0
- package/dist/commonjs/models/openresponsesrefusalcontent.js +89 -0
- package/dist/commonjs/models/openresponsesrefusalcontent.js.map +1 -0
- package/dist/commonjs/models/openresponsesrequest.d.ts +672 -0
- package/dist/commonjs/models/openresponsesrequest.d.ts.map +1 -0
- package/dist/commonjs/models/openresponsesrequest.js +760 -0
- package/dist/commonjs/models/openresponsesrequest.js.map +1 -0
- package/dist/commonjs/models/openresponsesservicetier.d.ts +25 -0
- package/dist/commonjs/models/openresponsesservicetier.d.ts.map +1 -0
- package/dist/commonjs/models/openresponsesservicetier.js +71 -0
- package/dist/commonjs/models/openresponsesservicetier.js.map +1 -0
- package/dist/commonjs/models/openresponsesstreamevent.d.ts +1683 -0
- package/dist/commonjs/models/openresponsesstreamevent.d.ts.map +1 -0
- package/dist/commonjs/models/openresponsesstreamevent.js +2047 -0
- package/dist/commonjs/models/openresponsesstreamevent.js.map +1 -0
- package/dist/commonjs/models/openresponsestextconfig.d.ts +59 -0
- package/dist/commonjs/models/openresponsestextconfig.d.ts.map +1 -0
- package/dist/commonjs/models/openresponsestextconfig.js +100 -0
- package/dist/commonjs/models/openresponsestextconfig.js.map +1 -0
- package/dist/commonjs/models/openresponsestoolchoice.d.ts +148 -0
- package/dist/commonjs/models/openresponsestoolchoice.d.ts.map +1 -0
- package/dist/commonjs/models/openresponsestoolchoice.js +179 -0
- package/dist/commonjs/models/openresponsestoolchoice.js.map +1 -0
- package/dist/commonjs/models/openresponsestoolunion.d.ts +95 -0
- package/dist/commonjs/models/openresponsestoolunion.d.ts.map +1 -0
- package/dist/commonjs/models/openresponsestoolunion.js +134 -0
- package/dist/commonjs/models/openresponsestoolunion.js.map +1 -0
- package/dist/commonjs/models/openresponsestruncation.d.ts +22 -0
- package/dist/commonjs/models/openresponsestruncation.d.ts.map +1 -0
- package/dist/commonjs/models/openresponsestruncation.js +68 -0
- package/dist/commonjs/models/openresponsestruncation.js.map +1 -0
- package/dist/commonjs/models/openresponseswebsearch20250826tool.d.ts +94 -0
- package/dist/commonjs/models/openresponseswebsearch20250826tool.d.ts.map +1 -0
- package/dist/commonjs/models/openresponseswebsearch20250826tool.js +143 -0
- package/dist/commonjs/models/openresponseswebsearch20250826tool.js.map +1 -0
- package/dist/commonjs/models/openresponseswebsearchpreview20250311tool.d.ts +67 -0
- package/dist/commonjs/models/openresponseswebsearchpreview20250311tool.d.ts.map +1 -0
- package/dist/commonjs/models/openresponseswebsearchpreview20250311tool.js +107 -0
- package/dist/commonjs/models/openresponseswebsearchpreview20250311tool.js.map +1 -0
- package/dist/commonjs/models/openresponseswebsearchpreviewtool.d.ts +67 -0
- package/dist/commonjs/models/openresponseswebsearchpreviewtool.d.ts.map +1 -0
- package/dist/commonjs/models/openresponseswebsearchpreviewtool.js +106 -0
- package/dist/commonjs/models/openresponseswebsearchpreviewtool.js.map +1 -0
- package/dist/commonjs/models/openresponseswebsearchtool.d.ts +94 -0
- package/dist/commonjs/models/openresponseswebsearchtool.d.ts.map +1 -0
- package/dist/commonjs/models/openresponseswebsearchtool.js +143 -0
- package/dist/commonjs/models/openresponseswebsearchtool.js.map +1 -0
- package/dist/commonjs/models/operations/createapialpharesponses.d.ts +58 -0
- package/dist/commonjs/models/operations/createapialpharesponses.d.ts.map +1 -0
- package/dist/commonjs/models/operations/createapialpharesponses.js +124 -0
- package/dist/commonjs/models/operations/createapialpharesponses.js.map +1 -0
- package/dist/commonjs/models/operations/createcoinbasecharge.d.ts +284 -0
- package/dist/commonjs/models/operations/createcoinbasecharge.d.ts.map +1 -0
- package/dist/commonjs/models/operations/createcoinbasecharge.js +411 -0
- package/dist/commonjs/models/operations/createcoinbasecharge.js.map +1 -0
- package/dist/commonjs/models/operations/createkeys.d.ts +248 -0
- package/dist/commonjs/models/operations/createkeys.d.ts.map +1 -0
- package/dist/commonjs/models/operations/createkeys.js +267 -0
- package/dist/commonjs/models/operations/createkeys.js.map +1 -0
- package/dist/commonjs/models/operations/deletekeys.d.ts +82 -0
- package/dist/commonjs/models/operations/deletekeys.d.ts.map +1 -0
- package/dist/commonjs/models/operations/deletekeys.js +126 -0
- package/dist/commonjs/models/operations/deletekeys.js.map +1 -0
- package/dist/commonjs/models/operations/getcredits.d.ts +25 -3
- package/dist/commonjs/models/operations/getcredits.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getcredits.js +33 -3
- package/dist/commonjs/models/operations/getcredits.js.map +1 -1
- package/dist/commonjs/models/operations/getcurrentkey.d.ts +177 -5
- package/dist/commonjs/models/operations/getcurrentkey.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getcurrentkey.js +155 -5
- package/dist/commonjs/models/operations/getcurrentkey.js.map +1 -1
- package/dist/commonjs/models/operations/getgeneration.d.ts +294 -0
- package/dist/commonjs/models/operations/getgeneration.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getgeneration.js +302 -0
- package/dist/commonjs/models/operations/getgeneration.js.map +1 -0
- package/dist/commonjs/models/operations/getkey.d.ts +198 -0
- package/dist/commonjs/models/operations/getkey.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getkey.js +218 -0
- package/dist/commonjs/models/operations/getkey.js.map +1 -0
- package/dist/commonjs/models/operations/getmodels.d.ts +88 -0
- package/dist/commonjs/models/operations/getmodels.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getmodels.js +147 -0
- package/dist/commonjs/models/operations/getmodels.js.map +1 -0
- package/dist/commonjs/models/operations/getparameters.d.ts +48 -23
- package/dist/commonjs/models/operations/getparameters.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getparameters.js +64 -31
- package/dist/commonjs/models/operations/getparameters.js.map +1 -1
- package/dist/commonjs/models/operations/getuseractivity.d.ts +24 -3
- package/dist/commonjs/models/operations/getuseractivity.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getuseractivity.js +32 -3
- package/dist/commonjs/models/operations/getuseractivity.js.map +1 -1
- package/dist/commonjs/models/operations/index.d.ts +12 -15
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +12 -15
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/list.d.ts +102 -198
- package/dist/commonjs/models/operations/list.d.ts.map +1 -1
- package/dist/commonjs/models/operations/list.js +108 -215
- package/dist/commonjs/models/operations/list.js.map +1 -1
- package/dist/commonjs/models/operations/listendpoints.d.ts +225 -0
- package/dist/commonjs/models/operations/listendpoints.d.ts.map +1 -0
- package/dist/commonjs/models/operations/listendpoints.js +260 -0
- package/dist/commonjs/models/operations/listendpoints.js.map +1 -0
- package/dist/commonjs/models/operations/listendpointszdr.d.ts +54 -0
- package/dist/commonjs/models/operations/listendpointszdr.d.ts.map +1 -0
- package/dist/commonjs/models/operations/listendpointszdr.js +99 -0
- package/dist/commonjs/models/operations/listendpointszdr.js.map +1 -0
- package/dist/commonjs/models/operations/listmodelscount.d.ts +88 -0
- package/dist/commonjs/models/operations/listmodelscount.d.ts.map +1 -0
- package/dist/commonjs/models/operations/listmodelscount.js +126 -0
- package/dist/commonjs/models/operations/listmodelscount.js.map +1 -0
- package/dist/commonjs/models/operations/listmodelsuser.d.ts +82 -0
- package/dist/commonjs/models/operations/listmodelsuser.d.ts.map +1 -0
- package/dist/commonjs/models/operations/listmodelsuser.js +126 -0
- package/dist/commonjs/models/operations/listmodelsuser.js.map +1 -0
- package/dist/commonjs/models/operations/updatekeys.d.ts +275 -0
- package/dist/commonjs/models/operations/updatekeys.d.ts.map +1 -0
- package/dist/commonjs/models/operations/updatekeys.js +304 -0
- package/dist/commonjs/models/operations/updatekeys.js.map +1 -0
- package/dist/commonjs/models/outputmodality.d.ts +23 -0
- package/dist/commonjs/models/outputmodality.d.ts.map +1 -0
- package/dist/commonjs/models/outputmodality.js +69 -0
- package/dist/commonjs/models/outputmodality.js.map +1 -0
- package/dist/commonjs/models/outputtextcontent.d.ts +80 -0
- package/dist/commonjs/models/outputtextcontent.d.ts.map +1 -0
- package/dist/commonjs/models/outputtextcontent.js +133 -0
- package/dist/commonjs/models/outputtextcontent.js.map +1 -0
- package/dist/commonjs/models/parameter.d.ts +43 -0
- package/dist/commonjs/models/parameter.d.ts.map +1 -0
- package/dist/commonjs/models/parameter.js +89 -0
- package/dist/commonjs/models/parameter.js.map +1 -0
- package/dist/commonjs/models/providername.d.ts +105 -0
- package/dist/commonjs/models/providername.d.ts.map +1 -0
- package/dist/commonjs/models/providername.js +151 -0
- package/dist/commonjs/models/providername.js.map +1 -0
- package/dist/commonjs/models/providersort.d.ts +29 -0
- package/dist/commonjs/models/providersort.d.ts.map +1 -0
- package/dist/commonjs/models/providersort.js +72 -0
- package/dist/commonjs/models/providersort.js.map +1 -0
- package/dist/commonjs/models/publicendpoint.d.ts +364 -0
- package/dist/commonjs/models/publicendpoint.d.ts.map +1 -0
- package/dist/commonjs/models/publicendpoint.js +473 -0
- package/dist/commonjs/models/publicendpoint.js.map +1 -0
- package/dist/commonjs/models/quantization.d.ts +29 -0
- package/dist/commonjs/models/quantization.d.ts.map +1 -0
- package/dist/commonjs/models/quantization.js +75 -0
- package/dist/commonjs/models/quantization.js.map +1 -0
- package/dist/commonjs/models/reasoningsummarytext.d.ts +54 -0
- package/dist/commonjs/models/reasoningsummarytext.d.ts.map +1 -0
- package/dist/commonjs/models/reasoningsummarytext.js +89 -0
- package/dist/commonjs/models/reasoningsummarytext.js.map +1 -0
- package/dist/commonjs/models/reasoningsummaryverbosity.d.ts +23 -0
- package/dist/commonjs/models/reasoningsummaryverbosity.d.ts.map +1 -0
- package/dist/commonjs/models/reasoningsummaryverbosity.js +69 -0
- package/dist/commonjs/models/reasoningsummaryverbosity.js.map +1 -0
- package/dist/commonjs/models/reasoningtextcontent.d.ts +54 -0
- package/dist/commonjs/models/reasoningtextcontent.d.ts.map +1 -0
- package/dist/commonjs/models/reasoningtextcontent.js +89 -0
- package/dist/commonjs/models/reasoningtextcontent.js.map +1 -0
- package/dist/commonjs/models/refusalcontent.d.ts +54 -0
- package/dist/commonjs/models/refusalcontent.d.ts.map +1 -0
- package/dist/commonjs/models/refusalcontent.js +89 -0
- package/dist/commonjs/models/refusalcontent.js.map +1 -0
- package/dist/commonjs/models/responseformatjsonschema.d.ts +5 -40
- package/dist/commonjs/models/responseformatjsonschema.d.ts.map +1 -1
- package/dist/commonjs/models/responseformatjsonschema.js +15 -29
- package/dist/commonjs/models/responseformatjsonschema.js.map +1 -1
- package/dist/commonjs/models/responseformattextgrammar.d.ts +31 -0
- package/dist/commonjs/models/responseformattextgrammar.d.ts.map +1 -0
- package/dist/commonjs/models/responseformattextgrammar.js +71 -0
- package/dist/commonjs/models/responseformattextgrammar.js.map +1 -0
- package/dist/commonjs/models/responseserrorfield.d.ts +55 -0
- package/dist/commonjs/models/responseserrorfield.d.ts.map +1 -0
- package/dist/commonjs/models/responseserrorfield.js +99 -0
- package/dist/commonjs/models/responseserrorfield.js.map +1 -0
- package/dist/commonjs/models/responsesoutputitem.d.ts +464 -35
- package/dist/commonjs/models/responsesoutputitem.d.ts.map +1 -1
- package/dist/commonjs/models/responsesoutputitem.js +482 -43
- package/dist/commonjs/models/responsesoutputitem.js.map +1 -1
- package/dist/commonjs/models/responsessearchcontextsize.d.ts +29 -0
- package/dist/commonjs/models/responsessearchcontextsize.d.ts.map +1 -0
- package/dist/commonjs/models/responsessearchcontextsize.js +72 -0
- package/dist/commonjs/models/responsessearchcontextsize.js.map +1 -0
- package/dist/commonjs/models/responsesusage.d.ts +55 -13
- package/dist/commonjs/models/responsesusage.d.ts.map +1 -1
- package/dist/commonjs/models/responsesusage.js +75 -7
- package/dist/commonjs/models/responsesusage.js.map +1 -1
- package/dist/commonjs/models/responseswebsearchuserlocation.d.ts +63 -0
- package/dist/commonjs/models/responseswebsearchuserlocation.d.ts.map +1 -0
- package/dist/commonjs/models/responseswebsearchuserlocation.js +95 -0
- package/dist/commonjs/models/responseswebsearchuserlocation.js.map +1 -0
- package/dist/commonjs/models/toolcallstatus.d.ts +23 -0
- package/dist/commonjs/models/toolcallstatus.d.ts.map +1 -0
- package/dist/commonjs/models/toolcallstatus.js +69 -0
- package/dist/commonjs/models/toolcallstatus.js.map +1 -0
- package/dist/commonjs/models/toolchoicetypes.d.ts +164 -0
- package/dist/commonjs/models/toolchoicetypes.d.ts.map +1 -0
- package/dist/commonjs/models/toolchoicetypes.js +208 -0
- package/dist/commonjs/models/toolchoicetypes.js.map +1 -0
- package/dist/commonjs/models/topproviderinfo.d.ts +45 -0
- package/dist/commonjs/models/topproviderinfo.d.ts.map +1 -0
- package/dist/commonjs/models/topproviderinfo.js +86 -0
- package/dist/commonjs/models/topproviderinfo.js.map +1 -0
- package/dist/commonjs/models/urlcitationannotation.d.ts +60 -0
- package/dist/commonjs/models/urlcitationannotation.d.ts.map +1 -0
- package/dist/commonjs/models/urlcitationannotation.js +106 -0
- package/dist/commonjs/models/urlcitationannotation.js.map +1 -0
- package/dist/commonjs/models/websearchstatus.d.ts +24 -0
- package/dist/commonjs/models/websearchstatus.d.ts.map +1 -0
- package/dist/commonjs/models/websearchstatus.js +70 -0
- package/dist/commonjs/models/websearchstatus.js.map +1 -0
- package/dist/commonjs/react-query/apiKeysCreate.d.ts +2 -2
- package/dist/commonjs/react-query/apiKeysCreate.d.ts.map +1 -1
- package/dist/commonjs/react-query/apiKeysDelete.d.ts +2 -2
- package/dist/commonjs/react-query/apiKeysDelete.d.ts.map +1 -1
- package/dist/commonjs/react-query/apiKeysGet.d.ts +5 -5
- package/dist/commonjs/react-query/apiKeysGet.d.ts.map +1 -1
- package/dist/commonjs/react-query/apiKeysGet.js.map +1 -1
- package/dist/commonjs/react-query/apiKeysList.d.ts +5 -5
- package/dist/commonjs/react-query/apiKeysList.d.ts.map +1 -1
- package/dist/commonjs/react-query/apiKeysList.js.map +1 -1
- package/dist/commonjs/react-query/apiKeysUpdate.d.ts +2 -2
- package/dist/commonjs/react-query/apiKeysUpdate.d.ts.map +1 -1
- package/dist/commonjs/react-query/betaResponsesSend.d.ts +5 -4
- package/dist/commonjs/react-query/betaResponsesSend.d.ts.map +1 -1
- package/dist/commonjs/react-query/betaResponsesSend.js +2 -2
- package/dist/commonjs/react-query/betaResponsesSend.js.map +1 -1
- package/dist/commonjs/react-query/creditsCreateCoinbaseCharge.d.ts +24 -0
- package/dist/commonjs/react-query/creditsCreateCoinbaseCharge.d.ts.map +1 -0
- package/dist/commonjs/react-query/creditsCreateCoinbaseCharge.js +47 -0
- package/dist/commonjs/react-query/creditsCreateCoinbaseCharge.js.map +1 -0
- package/dist/commonjs/react-query/creditsGetCredits.d.ts +29 -0
- package/dist/commonjs/react-query/creditsGetCredits.d.ts.map +1 -0
- package/dist/commonjs/react-query/creditsGetCredits.js +75 -0
- package/dist/commonjs/react-query/creditsGetCredits.js.map +1 -0
- package/dist/commonjs/react-query/endpointsList.d.ts +5 -5
- package/dist/commonjs/react-query/endpointsList.d.ts.map +1 -1
- package/dist/commonjs/react-query/endpointsList.js.map +1 -1
- package/dist/commonjs/react-query/endpointsListZdrEndpoints.d.ts +23 -0
- package/dist/commonjs/react-query/endpointsListZdrEndpoints.d.ts.map +1 -0
- package/dist/commonjs/react-query/endpointsListZdrEndpoints.js +69 -0
- package/dist/commonjs/react-query/endpointsListZdrEndpoints.js.map +1 -0
- package/dist/commonjs/react-query/generationsGetGeneration.d.ts +30 -0
- package/dist/commonjs/react-query/generationsGetGeneration.d.ts.map +1 -0
- package/dist/commonjs/react-query/generationsGetGeneration.js +81 -0
- package/dist/commonjs/react-query/generationsGetGeneration.js.map +1 -0
- package/dist/commonjs/react-query/index.d.ts +8 -11
- package/dist/commonjs/react-query/index.d.ts.map +1 -1
- package/dist/commonjs/react-query/index.js +8 -11
- package/dist/commonjs/react-query/index.js.map +1 -1
- package/dist/commonjs/react-query/modelsGetModels.d.ts +43 -0
- package/dist/commonjs/react-query/modelsGetModels.d.ts.map +1 -0
- package/dist/commonjs/react-query/modelsGetModels.js +81 -0
- package/dist/commonjs/react-query/modelsGetModels.js.map +1 -0
- package/dist/commonjs/react-query/modelsListModelsCount.d.ts +23 -0
- package/dist/commonjs/react-query/modelsListModelsCount.d.ts.map +1 -0
- package/dist/commonjs/react-query/modelsListModelsCount.js +69 -0
- package/dist/commonjs/react-query/modelsListModelsCount.js.map +1 -0
- package/dist/commonjs/react-query/modelsListModelsUser.d.ts +23 -0
- package/dist/commonjs/react-query/modelsListModelsUser.d.ts.map +1 -0
- package/dist/commonjs/react-query/modelsListModelsUser.js +69 -0
- package/dist/commonjs/react-query/modelsListModelsUser.js.map +1 -0
- package/dist/commonjs/react-query/parametersGetParameters.d.ts +38 -0
- package/dist/commonjs/react-query/parametersGetParameters.d.ts.map +1 -0
- package/dist/commonjs/react-query/parametersGetParameters.js +90 -0
- package/dist/commonjs/react-query/parametersGetParameters.js.map +1 -0
- package/dist/commonjs/react-query/providersList.d.ts +2 -2
- package/dist/commonjs/react-query/providersList.js +2 -2
- package/dist/commonjs/sdk/apikeys.d.ts +5 -5
- package/dist/commonjs/sdk/apikeys.d.ts.map +1 -1
- package/dist/commonjs/sdk/apikeys.js.map +1 -1
- package/dist/commonjs/sdk/credits.d.ts +8 -2
- package/dist/commonjs/sdk/credits.d.ts.map +1 -1
- package/dist/commonjs/sdk/credits.js +12 -6
- package/dist/commonjs/sdk/credits.js.map +1 -1
- package/dist/commonjs/sdk/endpoints.d.ts +2 -2
- package/dist/commonjs/sdk/endpoints.d.ts.map +1 -1
- package/dist/commonjs/sdk/endpoints.js +3 -3
- package/dist/commonjs/sdk/endpoints.js.map +1 -1
- package/dist/commonjs/sdk/generations.d.ts +1 -1
- package/dist/commonjs/sdk/generations.d.ts.map +1 -1
- package/dist/commonjs/sdk/generations.js +3 -3
- package/dist/commonjs/sdk/generations.js.map +1 -1
- package/dist/commonjs/sdk/models.d.ts +3 -3
- package/dist/commonjs/sdk/models.d.ts.map +1 -1
- package/dist/commonjs/sdk/models.js +9 -9
- package/dist/commonjs/sdk/models.js.map +1 -1
- package/dist/commonjs/sdk/parameters.d.ts +9 -0
- package/dist/commonjs/sdk/parameters.d.ts.map +1 -0
- package/dist/commonjs/sdk/parameters.js +19 -0
- package/dist/commonjs/sdk/parameters.js.map +1 -0
- package/dist/commonjs/sdk/providers.d.ts +1 -1
- package/dist/commonjs/sdk/providers.js +1 -1
- package/dist/commonjs/sdk/responses.d.ts +3 -10
- package/dist/commonjs/sdk/responses.d.ts.map +1 -1
- package/dist/commonjs/sdk/responses.js +6 -0
- package/dist/commonjs/sdk/responses.js.map +1 -1
- package/dist/commonjs/sdk/sdk.d.ts +3 -9
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
- package/dist/commonjs/sdk/sdk.js +3 -11
- package/dist/commonjs/sdk/sdk.js.map +1 -1
- package/dist/esm/funcs/analyticsGetUserActivity.d.ts +1 -2
- package/dist/esm/funcs/analyticsGetUserActivity.d.ts.map +1 -1
- package/dist/esm/funcs/analyticsGetUserActivity.js +1 -5
- package/dist/esm/funcs/analyticsGetUserActivity.js.map +1 -1
- package/dist/esm/funcs/apiKeysCreate.d.ts +1 -2
- package/dist/esm/funcs/apiKeysCreate.d.ts.map +1 -1
- package/dist/esm/funcs/apiKeysCreate.js +3 -7
- package/dist/esm/funcs/apiKeysCreate.js.map +1 -1
- package/dist/esm/funcs/apiKeysDelete.d.ts +1 -2
- package/dist/esm/funcs/apiKeysDelete.d.ts.map +1 -1
- package/dist/esm/funcs/apiKeysDelete.js +3 -7
- package/dist/esm/funcs/apiKeysDelete.js.map +1 -1
- package/dist/esm/funcs/apiKeysGet.d.ts +1 -2
- package/dist/esm/funcs/apiKeysGet.d.ts.map +1 -1
- package/dist/esm/funcs/apiKeysGet.js +3 -7
- package/dist/esm/funcs/apiKeysGet.js.map +1 -1
- package/dist/esm/funcs/apiKeysGetCurrentKeyMetadata.d.ts +1 -2
- package/dist/esm/funcs/apiKeysGetCurrentKeyMetadata.d.ts.map +1 -1
- package/dist/esm/funcs/apiKeysGetCurrentKeyMetadata.js +1 -5
- package/dist/esm/funcs/apiKeysGetCurrentKeyMetadata.js.map +1 -1
- package/dist/esm/funcs/apiKeysList.d.ts +1 -2
- package/dist/esm/funcs/apiKeysList.d.ts.map +1 -1
- package/dist/esm/funcs/apiKeysList.js +3 -7
- package/dist/esm/funcs/apiKeysList.js.map +1 -1
- package/dist/esm/funcs/apiKeysUpdate.d.ts +1 -2
- package/dist/esm/funcs/apiKeysUpdate.d.ts.map +1 -1
- package/dist/esm/funcs/apiKeysUpdate.js +3 -7
- package/dist/esm/funcs/apiKeysUpdate.js.map +1 -1
- package/dist/esm/funcs/betaResponsesSend.d.ts +3 -11
- package/dist/esm/funcs/betaResponsesSend.d.ts.map +1 -1
- package/dist/esm/funcs/betaResponsesSend.js +11 -8
- package/dist/esm/funcs/betaResponsesSend.js.map +1 -1
- package/dist/esm/funcs/creditsCreateCoinbaseCharge.d.ts +17 -0
- package/dist/esm/funcs/creditsCreateCoinbaseCharge.d.ts.map +1 -0
- package/dist/esm/funcs/creditsCreateCoinbaseCharge.js +82 -0
- package/dist/esm/funcs/creditsCreateCoinbaseCharge.js.map +1 -0
- package/dist/esm/funcs/creditsGetCredits.d.ts +17 -0
- package/dist/esm/funcs/creditsGetCredits.d.ts.map +1 -0
- package/dist/esm/funcs/creditsGetCredits.js +68 -0
- package/dist/esm/funcs/creditsGetCredits.js.map +1 -0
- package/dist/esm/funcs/endpointsList.d.ts +1 -2
- package/dist/esm/funcs/endpointsList.d.ts.map +1 -1
- package/dist/esm/funcs/endpointsList.js +3 -7
- package/dist/esm/funcs/endpointsList.js.map +1 -1
- package/dist/esm/funcs/endpointsListZdrEndpoints.d.ts +14 -0
- package/dist/esm/funcs/endpointsListZdrEndpoints.d.ts.map +1 -0
- package/dist/esm/funcs/endpointsListZdrEndpoints.js +65 -0
- package/dist/esm/funcs/endpointsListZdrEndpoints.js.map +1 -0
- package/dist/esm/funcs/generationsGetGeneration.d.ts +14 -0
- package/dist/esm/funcs/generationsGetGeneration.d.ts.map +1 -0
- package/dist/esm/funcs/generationsGetGeneration.js +78 -0
- package/dist/esm/funcs/generationsGetGeneration.js.map +1 -0
- package/dist/esm/funcs/modelsGetModels.d.ts +14 -0
- package/dist/esm/funcs/modelsGetModels.d.ts.map +1 -0
- package/dist/esm/funcs/modelsGetModels.js +83 -0
- package/dist/esm/funcs/modelsGetModels.js.map +1 -0
- package/dist/esm/funcs/modelsListModelsCount.d.ts +14 -0
- package/dist/esm/funcs/modelsListModelsCount.d.ts.map +1 -0
- package/dist/esm/funcs/modelsListModelsCount.js +65 -0
- package/dist/esm/funcs/modelsListModelsCount.js.map +1 -0
- package/dist/esm/funcs/modelsListModelsUser.d.ts +14 -0
- package/dist/esm/funcs/modelsListModelsUser.d.ts.map +1 -0
- package/dist/esm/funcs/modelsListModelsUser.js +69 -0
- package/dist/esm/funcs/modelsListModelsUser.js.map +1 -0
- package/dist/esm/funcs/oAuthCreateAuthorizationUrl.d.ts +43 -0
- package/dist/esm/funcs/oAuthCreateAuthorizationUrl.d.ts.map +1 -0
- package/dist/esm/funcs/oAuthCreateAuthorizationUrl.js +44 -0
- package/dist/esm/funcs/oAuthCreateAuthorizationUrl.js.map +1 -0
- package/dist/esm/funcs/oAuthCreateSHA256CodeChallenge.d.ts +35 -0
- package/dist/esm/funcs/oAuthCreateSHA256CodeChallenge.d.ts.map +1 -0
- package/dist/esm/funcs/oAuthCreateSHA256CodeChallenge.js.map +1 -0
- package/dist/esm/funcs/parametersGetParameters.d.ts +14 -0
- package/dist/esm/funcs/parametersGetParameters.d.ts.map +1 -0
- package/dist/esm/funcs/parametersGetParameters.js +92 -0
- package/dist/esm/funcs/parametersGetParameters.js.map +1 -0
- package/dist/esm/funcs/providersList.d.ts +1 -1
- package/dist/esm/funcs/providersList.js +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/models/chatcompletionfinishreason.d.ts +25 -0
- package/dist/esm/models/chatcompletionfinishreason.d.ts.map +1 -0
- package/dist/esm/models/chatcompletionfinishreason.js +35 -0
- package/dist/esm/models/chatcompletionfinishreason.js.map +1 -0
- package/dist/esm/models/chatgenerationparams.d.ts +8 -136
- package/dist/esm/models/chatgenerationparams.d.ts.map +1 -1
- package/dist/esm/models/chatgenerationparams.js +13 -167
- package/dist/esm/models/chatgenerationparams.js.map +1 -1
- package/dist/esm/models/chatmessagecontentitemimage.d.ts +10 -10
- package/dist/esm/models/chatmessagecontentitemimage.d.ts.map +1 -1
- package/dist/esm/models/chatmessagecontentitemimage.js +14 -15
- package/dist/esm/models/chatmessagecontentitemimage.js.map +1 -1
- package/dist/esm/models/chatmessagetokenlogprob.d.ts +15 -15
- package/dist/esm/models/chatmessagetokenlogprob.d.ts.map +1 -1
- package/dist/esm/models/chatmessagetokenlogprob.js +15 -15
- package/dist/esm/models/chatmessagetokenlogprob.js.map +1 -1
- package/dist/esm/models/chatresponsechoice.d.ts +2 -24
- package/dist/esm/models/chatresponsechoice.d.ts.map +1 -1
- package/dist/esm/models/chatresponsechoice.js +3 -32
- package/dist/esm/models/chatresponsechoice.js.map +1 -1
- package/dist/esm/models/chatstreamingchoice.d.ts +2 -24
- package/dist/esm/models/chatstreamingchoice.d.ts.map +1 -1
- package/dist/esm/models/chatstreamingchoice.js +3 -32
- package/dist/esm/models/chatstreamingchoice.js.map +1 -1
- package/dist/esm/models/completioncreateparams.d.ts +6 -93
- package/dist/esm/models/completioncreateparams.d.ts.map +1 -1
- package/dist/esm/models/completioncreateparams.js +10 -101
- package/dist/esm/models/completioncreateparams.js.map +1 -1
- package/dist/esm/models/datacollection.d.ts +36 -0
- package/dist/esm/models/datacollection.d.ts.map +1 -0
- package/dist/esm/models/datacollection.js +39 -0
- package/dist/esm/models/datacollection.js.map +1 -0
- package/dist/esm/models/defaultparameters.d.ts +36 -0
- package/dist/esm/models/defaultparameters.d.ts.map +1 -0
- package/dist/esm/models/defaultparameters.js +46 -0
- package/dist/esm/models/defaultparameters.js.map +1 -0
- package/dist/esm/models/endpointstatus.d.ts +26 -0
- package/dist/esm/models/endpointstatus.d.ts.map +1 -0
- package/dist/esm/models/endpointstatus.js +36 -0
- package/dist/esm/models/endpointstatus.js.map +1 -0
- package/dist/esm/models/errorresponse.d.ts +30 -0
- package/dist/esm/models/errorresponse.d.ts.map +1 -1
- package/dist/esm/models/errorresponse.js +36 -0
- package/dist/esm/models/errorresponse.js.map +1 -1
- package/dist/esm/models/errors/index.d.ts +0 -1
- package/dist/esm/models/errors/index.d.ts.map +1 -1
- package/dist/esm/models/errors/index.js +0 -1
- package/dist/esm/models/errors/index.js.map +1 -1
- package/dist/esm/models/filecitationannotation.d.ts +58 -0
- package/dist/esm/models/filecitationannotation.d.ts.map +1 -0
- package/dist/esm/models/filecitationannotation.js +64 -0
- package/dist/esm/models/filecitationannotation.js.map +1 -0
- package/dist/esm/models/filepathannotation.d.ts +56 -0
- package/dist/esm/models/filepathannotation.d.ts.map +1 -0
- package/dist/esm/models/filepathannotation.js +62 -0
- package/dist/esm/models/filepathannotation.js.map +1 -0
- package/dist/esm/models/imagegenerationstatus.d.ts +24 -0
- package/dist/esm/models/imagegenerationstatus.d.ts.map +1 -0
- package/dist/esm/models/imagegenerationstatus.js +34 -0
- package/dist/esm/models/imagegenerationstatus.js.map +1 -0
- package/dist/esm/models/index.d.ts +66 -55
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +66 -55
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/inputmodality.d.ts +24 -0
- package/dist/esm/models/inputmodality.d.ts.map +1 -0
- package/dist/esm/models/inputmodality.js +34 -0
- package/dist/esm/models/inputmodality.js.map +1 -0
- package/dist/esm/models/instructtype.d.ts +48 -0
- package/dist/esm/models/instructtype.d.ts.map +1 -0
- package/dist/esm/models/instructtype.js +55 -0
- package/dist/esm/models/instructtype.js.map +1 -0
- package/dist/esm/models/jsonschemaconfig.d.ts +39 -0
- package/dist/esm/models/jsonschemaconfig.d.ts.map +1 -0
- package/dist/esm/models/jsonschemaconfig.js +37 -0
- package/dist/esm/models/jsonschemaconfig.js.map +1 -0
- package/dist/esm/models/model.d.ts +416 -0
- package/dist/esm/models/model.d.ts.map +1 -0
- package/dist/esm/models/model.js +414 -0
- package/dist/esm/models/model.js.map +1 -0
- package/dist/esm/models/modelarchitecture.d.ts +59 -0
- package/dist/esm/models/modelarchitecture.d.ts.map +1 -0
- package/dist/esm/models/modelarchitecture.js +56 -0
- package/dist/esm/models/modelarchitecture.js.map +1 -0
- package/dist/esm/models/modelgroup.d.ts +45 -0
- package/dist/esm/models/modelgroup.d.ts.map +1 -0
- package/dist/esm/models/modelgroup.js +52 -0
- package/dist/esm/models/modelgroup.js.map +1 -0
- package/dist/esm/models/openresponseseasyinputmessage.d.ts +190 -0
- package/dist/esm/models/openresponseseasyinputmessage.d.ts.map +1 -0
- package/dist/esm/models/openresponseseasyinputmessage.js +197 -0
- package/dist/esm/models/openresponseseasyinputmessage.js.map +1 -0
- package/dist/esm/models/openresponsesformatjsonobject.d.ts +55 -0
- package/dist/esm/models/openresponsesformatjsonobject.d.ts.map +1 -0
- package/dist/esm/models/openresponsesformatjsonobject.js +49 -0
- package/dist/esm/models/openresponsesformatjsonobject.js.map +1 -0
- package/dist/esm/models/openresponsesformatjsonschema.d.ts +67 -0
- package/dist/esm/models/openresponsesformatjsonschema.d.ts.map +1 -0
- package/dist/esm/models/openresponsesformatjsonschema.js +57 -0
- package/dist/esm/models/openresponsesformatjsonschema.js.map +1 -0
- package/dist/esm/models/openresponsesformattext.d.ts +55 -0
- package/dist/esm/models/openresponsesformattext.d.ts.map +1 -0
- package/dist/esm/models/openresponsesformattext.js +49 -0
- package/dist/esm/models/openresponsesformattext.js.map +1 -0
- package/dist/esm/models/openresponsesformattextconfig.d.ts +31 -0
- package/dist/esm/models/openresponsesformattextconfig.d.ts.map +1 -0
- package/dist/esm/models/openresponsesformattextconfig.js +38 -0
- package/dist/esm/models/openresponsesformattextconfig.js.map +1 -0
- package/dist/esm/models/openresponsesfunctioncalloutput.d.ts +64 -0
- package/dist/esm/models/openresponsesfunctioncalloutput.d.ts.map +1 -0
- package/dist/esm/models/openresponsesfunctioncalloutput.js +67 -0
- package/dist/esm/models/openresponsesfunctioncalloutput.js.map +1 -0
- package/dist/esm/models/openresponsesfunctiontoolcall.d.ts +66 -0
- package/dist/esm/models/openresponsesfunctiontoolcall.d.ts.map +1 -0
- package/dist/esm/models/openresponsesfunctiontoolcall.js +69 -0
- package/dist/esm/models/openresponsesfunctiontoolcall.js.map +1 -0
- package/dist/esm/models/openresponsesincludable.d.ts +31 -0
- package/dist/esm/models/openresponsesincludable.d.ts.map +1 -0
- package/dist/esm/models/openresponsesincludable.js +38 -0
- package/dist/esm/models/openresponsesincludable.js.map +1 -0
- package/dist/esm/models/openresponsesinput.d.ts +29 -0
- package/dist/esm/models/openresponsesinput.d.ts.map +1 -0
- package/dist/esm/models/openresponsesinput.js +36 -0
- package/dist/esm/models/openresponsesinput.js.map +1 -0
- package/dist/esm/models/openresponsesinputcontent.d.ts +43 -0
- package/dist/esm/models/openresponsesinputcontent.d.ts.map +1 -0
- package/dist/esm/models/openresponsesinputcontent.js +50 -0
- package/dist/esm/models/openresponsesinputcontent.js.map +1 -0
- package/dist/esm/models/openresponsesinputfile.d.ts +63 -0
- package/dist/esm/models/openresponsesinputfile.d.ts.map +1 -0
- package/dist/esm/models/openresponsesinputfile.js +70 -0
- package/dist/esm/models/openresponsesinputfile.js.map +1 -0
- package/dist/esm/models/openresponsesinputimage.d.ts +79 -0
- package/dist/esm/models/openresponsesinputimage.d.ts.map +1 -0
- package/dist/esm/models/openresponsesinputimage.js +90 -0
- package/dist/esm/models/openresponsesinputimage.js.map +1 -0
- package/dist/esm/models/openresponsesinputitem.d.ts +492 -0
- package/dist/esm/models/openresponsesinputitem.d.ts.map +1 -0
- package/dist/esm/models/openresponsesinputitem.js +510 -0
- package/dist/esm/models/openresponsesinputitem.js.map +1 -0
- package/dist/esm/models/openresponsesinputmessageitem.d.ts +149 -0
- package/dist/esm/models/openresponsesinputmessageitem.d.ts.map +1 -0
- package/dist/esm/models/openresponsesinputmessageitem.js +149 -0
- package/dist/esm/models/openresponsesinputmessageitem.js.map +1 -0
- package/dist/esm/models/openresponsesinputtext.d.ts +57 -0
- package/dist/esm/models/openresponsesinputtext.d.ts.map +1 -0
- package/dist/esm/models/openresponsesinputtext.js +51 -0
- package/dist/esm/models/openresponsesinputtext.js.map +1 -0
- package/dist/esm/models/openresponseslogprobs.d.ts +66 -0
- package/dist/esm/models/openresponseslogprobs.d.ts.map +1 -0
- package/dist/esm/models/openresponseslogprobs.js +71 -0
- package/dist/esm/models/openresponseslogprobs.js.map +1 -0
- package/dist/esm/models/openresponsesnonstreamingresponse.d.ts +260 -0
- package/dist/esm/models/openresponsesnonstreamingresponse.d.ts.map +1 -0
- package/dist/esm/models/openresponsesnonstreamingresponse.js +290 -0
- package/dist/esm/models/openresponsesnonstreamingresponse.js.map +1 -0
- package/dist/esm/models/openresponsesoutputtext.d.ts +80 -0
- package/dist/esm/models/openresponsesoutputtext.d.ts.map +1 -0
- package/dist/esm/models/openresponsesoutputtext.js +93 -0
- package/dist/esm/models/openresponsesoutputtext.js.map +1 -0
- package/dist/esm/models/openresponsesprompt.d.ts +39 -0
- package/dist/esm/models/openresponsesprompt.d.ts.map +1 -0
- package/dist/esm/models/openresponsesprompt.js +36 -0
- package/dist/esm/models/openresponsesprompt.js.map +1 -0
- package/dist/esm/models/openresponsesreasoning.d.ts +90 -0
- package/dist/esm/models/openresponsesreasoning.d.ts.map +1 -0
- package/dist/esm/models/openresponsesreasoning.js +101 -0
- package/dist/esm/models/openresponsesreasoning.js.map +1 -0
- package/dist/esm/models/openresponsesreasoningconfig.d.ts +61 -0
- package/dist/esm/models/openresponsesreasoningconfig.d.ts.map +1 -0
- package/dist/esm/models/openresponsesreasoningconfig.js +78 -0
- package/dist/esm/models/openresponsesreasoningconfig.js.map +1 -0
- package/dist/esm/models/openresponsesrefusalcontent.d.ts +54 -0
- package/dist/esm/models/openresponsesrefusalcontent.d.ts.map +1 -0
- package/dist/esm/models/openresponsesrefusalcontent.js +51 -0
- package/dist/esm/models/openresponsesrefusalcontent.js.map +1 -0
- package/dist/esm/models/openresponsesrequest.d.ts +672 -0
- package/dist/esm/models/openresponsesrequest.d.ts.map +1 -0
- package/dist/esm/models/openresponsesrequest.js +689 -0
- package/dist/esm/models/openresponsesrequest.js.map +1 -0
- package/dist/esm/models/openresponsesservicetier.d.ts +25 -0
- package/dist/esm/models/openresponsesservicetier.d.ts.map +1 -0
- package/dist/esm/models/openresponsesservicetier.js +35 -0
- package/dist/esm/models/openresponsesservicetier.js.map +1 -0
- package/dist/esm/models/openresponsesstreamevent.d.ts +1683 -0
- package/dist/esm/models/openresponsesstreamevent.d.ts.map +1 -0
- package/dist/esm/models/openresponsesstreamevent.js +1945 -0
- package/dist/esm/models/openresponsesstreamevent.js.map +1 -0
- package/dist/esm/models/openresponsestextconfig.d.ts +59 -0
- package/dist/esm/models/openresponsestextconfig.d.ts.map +1 -0
- package/dist/esm/models/openresponsestextconfig.js +62 -0
- package/dist/esm/models/openresponsestextconfig.js.map +1 -0
- package/dist/esm/models/openresponsestoolchoice.d.ts +148 -0
- package/dist/esm/models/openresponsestoolchoice.d.ts.map +1 -0
- package/dist/esm/models/openresponsestoolchoice.js +139 -0
- package/dist/esm/models/openresponsestoolchoice.js.map +1 -0
- package/dist/esm/models/openresponsestoolunion.d.ts +95 -0
- package/dist/esm/models/openresponsestoolunion.d.ts.map +1 -0
- package/dist/esm/models/openresponsestoolunion.js +94 -0
- package/dist/esm/models/openresponsestoolunion.js.map +1 -0
- package/dist/esm/models/openresponsestruncation.d.ts +22 -0
- package/dist/esm/models/openresponsestruncation.d.ts.map +1 -0
- package/dist/esm/models/openresponsestruncation.js +32 -0
- package/dist/esm/models/openresponsestruncation.js.map +1 -0
- package/dist/esm/models/openresponseswebsearch20250826tool.d.ts +94 -0
- package/dist/esm/models/openresponseswebsearch20250826tool.d.ts.map +1 -0
- package/dist/esm/models/openresponseswebsearch20250826tool.js +103 -0
- package/dist/esm/models/openresponseswebsearch20250826tool.js.map +1 -0
- package/dist/esm/models/openresponseswebsearchpreview20250311tool.d.ts +67 -0
- package/dist/esm/models/openresponseswebsearchpreview20250311tool.d.ts.map +1 -0
- package/dist/esm/models/openresponseswebsearchpreview20250311tool.js +69 -0
- package/dist/esm/models/openresponseswebsearchpreview20250311tool.js.map +1 -0
- package/dist/esm/models/openresponseswebsearchpreviewtool.d.ts +67 -0
- package/dist/esm/models/openresponseswebsearchpreviewtool.d.ts.map +1 -0
- package/dist/esm/models/openresponseswebsearchpreviewtool.js +68 -0
- package/dist/esm/models/openresponseswebsearchpreviewtool.js.map +1 -0
- package/dist/esm/models/openresponseswebsearchtool.d.ts +94 -0
- package/dist/esm/models/openresponseswebsearchtool.d.ts.map +1 -0
- package/dist/esm/models/openresponseswebsearchtool.js +103 -0
- package/dist/esm/models/openresponseswebsearchtool.js.map +1 -0
- package/dist/esm/models/operations/createapialpharesponses.d.ts +58 -0
- package/dist/esm/models/operations/createapialpharesponses.d.ts.map +1 -0
- package/dist/esm/models/operations/createapialpharesponses.js +84 -0
- package/dist/esm/models/operations/createapialpharesponses.js.map +1 -0
- package/dist/esm/models/operations/createcoinbasecharge.d.ts +284 -0
- package/dist/esm/models/operations/createcoinbasecharge.d.ts.map +1 -0
- package/dist/esm/models/operations/createcoinbasecharge.js +357 -0
- package/dist/esm/models/operations/createcoinbasecharge.js.map +1 -0
- package/dist/esm/models/operations/createkeys.d.ts +248 -0
- package/dist/esm/models/operations/createkeys.d.ts.map +1 -0
- package/dist/esm/models/operations/createkeys.js +223 -0
- package/dist/esm/models/operations/createkeys.js.map +1 -0
- package/dist/esm/models/operations/deletekeys.d.ts +82 -0
- package/dist/esm/models/operations/deletekeys.d.ts.map +1 -0
- package/dist/esm/models/operations/deletekeys.js +84 -0
- package/dist/esm/models/operations/deletekeys.js.map +1 -0
- package/dist/esm/models/operations/getcredits.d.ts +25 -3
- package/dist/esm/models/operations/getcredits.d.ts.map +1 -1
- package/dist/esm/models/operations/getcredits.js +30 -2
- package/dist/esm/models/operations/getcredits.js.map +1 -1
- package/dist/esm/models/operations/getcurrentkey.d.ts +177 -5
- package/dist/esm/models/operations/getcurrentkey.d.ts.map +1 -1
- package/dist/esm/models/operations/getcurrentkey.js +148 -4
- package/dist/esm/models/operations/getcurrentkey.js.map +1 -1
- package/dist/esm/models/operations/getgeneration.d.ts +294 -0
- package/dist/esm/models/operations/getgeneration.d.ts.map +1 -0
- package/dist/esm/models/operations/getgeneration.js +258 -0
- package/dist/esm/models/operations/getgeneration.js.map +1 -0
- package/dist/esm/models/operations/getkey.d.ts +198 -0
- package/dist/esm/models/operations/getkey.d.ts.map +1 -0
- package/dist/esm/models/operations/getkey.js +174 -0
- package/dist/esm/models/operations/getkey.js.map +1 -0
- package/dist/esm/models/operations/getmodels.d.ts +88 -0
- package/dist/esm/models/operations/getmodels.d.ts.map +1 -0
- package/dist/esm/models/operations/getmodels.js +105 -0
- package/dist/esm/models/operations/getmodels.js.map +1 -0
- package/dist/esm/models/operations/getparameters.d.ts +48 -23
- package/dist/esm/models/operations/getparameters.d.ts.map +1 -1
- package/dist/esm/models/operations/getparameters.js +61 -30
- package/dist/esm/models/operations/getparameters.js.map +1 -1
- package/dist/esm/models/operations/getuseractivity.d.ts +24 -3
- package/dist/esm/models/operations/getuseractivity.d.ts.map +1 -1
- package/dist/esm/models/operations/getuseractivity.js +29 -2
- package/dist/esm/models/operations/getuseractivity.js.map +1 -1
- package/dist/esm/models/operations/index.d.ts +12 -15
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +12 -15
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/list.d.ts +102 -198
- package/dist/esm/models/operations/list.d.ts.map +1 -1
- package/dist/esm/models/operations/list.js +105 -212
- package/dist/esm/models/operations/list.js.map +1 -1
- package/dist/esm/models/operations/listendpoints.d.ts +225 -0
- package/dist/esm/models/operations/listendpoints.d.ts.map +1 -0
- package/dist/esm/models/operations/listendpoints.js +214 -0
- package/dist/esm/models/operations/listendpoints.js.map +1 -0
- package/dist/esm/models/operations/listendpointszdr.d.ts +54 -0
- package/dist/esm/models/operations/listendpointszdr.d.ts.map +1 -0
- package/dist/esm/models/operations/listendpointszdr.js +59 -0
- package/dist/esm/models/operations/listendpointszdr.js.map +1 -0
- package/dist/esm/models/operations/listmodelscount.d.ts +88 -0
- package/dist/esm/models/operations/listmodelscount.d.ts.map +1 -0
- package/dist/esm/models/operations/listmodelscount.js +84 -0
- package/dist/esm/models/operations/listmodelscount.js.map +1 -0
- package/dist/esm/models/operations/listmodelsuser.d.ts +82 -0
- package/dist/esm/models/operations/listmodelsuser.d.ts.map +1 -0
- package/dist/esm/models/operations/listmodelsuser.js +84 -0
- package/dist/esm/models/operations/listmodelsuser.js.map +1 -0
- package/dist/esm/models/operations/updatekeys.d.ts +275 -0
- package/dist/esm/models/operations/updatekeys.d.ts.map +1 -0
- package/dist/esm/models/operations/updatekeys.js +258 -0
- package/dist/esm/models/operations/updatekeys.js.map +1 -0
- package/dist/esm/models/outputmodality.d.ts +23 -0
- package/dist/esm/models/outputmodality.d.ts.map +1 -0
- package/dist/esm/models/outputmodality.js +33 -0
- package/dist/esm/models/outputmodality.js.map +1 -0
- package/dist/esm/models/outputtextcontent.d.ts +80 -0
- package/dist/esm/models/outputtextcontent.d.ts.map +1 -0
- package/dist/esm/models/outputtextcontent.js +93 -0
- package/dist/esm/models/outputtextcontent.js.map +1 -0
- package/dist/esm/models/parameter.d.ts +43 -0
- package/dist/esm/models/parameter.d.ts.map +1 -0
- package/dist/esm/models/parameter.js +53 -0
- package/dist/esm/models/parameter.js.map +1 -0
- package/dist/esm/models/providername.d.ts +105 -0
- package/dist/esm/models/providername.d.ts.map +1 -0
- package/dist/esm/models/providername.js +115 -0
- package/dist/esm/models/providername.js.map +1 -0
- package/dist/esm/models/providersort.d.ts +29 -0
- package/dist/esm/models/providersort.d.ts.map +1 -0
- package/dist/esm/models/providersort.js +36 -0
- package/dist/esm/models/providersort.js.map +1 -0
- package/dist/esm/models/publicendpoint.d.ts +364 -0
- package/dist/esm/models/publicendpoint.d.ts.map +1 -0
- package/dist/esm/models/publicendpoint.js +411 -0
- package/dist/esm/models/publicendpoint.js.map +1 -0
- package/dist/esm/models/quantization.d.ts +29 -0
- package/dist/esm/models/quantization.d.ts.map +1 -0
- package/dist/esm/models/quantization.js +39 -0
- package/dist/esm/models/quantization.js.map +1 -0
- package/dist/esm/models/reasoningsummarytext.d.ts +54 -0
- package/dist/esm/models/reasoningsummarytext.d.ts.map +1 -0
- package/dist/esm/models/reasoningsummarytext.js +51 -0
- package/dist/esm/models/reasoningsummarytext.js.map +1 -0
- package/dist/esm/models/reasoningsummaryverbosity.d.ts +23 -0
- package/dist/esm/models/reasoningsummaryverbosity.d.ts.map +1 -0
- package/dist/esm/models/reasoningsummaryverbosity.js +33 -0
- package/dist/esm/models/reasoningsummaryverbosity.js.map +1 -0
- package/dist/esm/models/reasoningtextcontent.d.ts +54 -0
- package/dist/esm/models/reasoningtextcontent.d.ts.map +1 -0
- package/dist/esm/models/reasoningtextcontent.js +51 -0
- package/dist/esm/models/reasoningtextcontent.js.map +1 -0
- package/dist/esm/models/refusalcontent.d.ts +54 -0
- package/dist/esm/models/refusalcontent.d.ts.map +1 -0
- package/dist/esm/models/refusalcontent.js +51 -0
- package/dist/esm/models/refusalcontent.js.map +1 -0
- package/dist/esm/models/responseformatjsonschema.d.ts +5 -40
- package/dist/esm/models/responseformatjsonschema.d.ts.map +1 -1
- package/dist/esm/models/responseformatjsonschema.js +14 -28
- package/dist/esm/models/responseformatjsonschema.js.map +1 -1
- package/dist/esm/models/responseformattextgrammar.d.ts +31 -0
- package/dist/esm/models/responseformattextgrammar.d.ts.map +1 -0
- package/dist/esm/models/responseformattextgrammar.js +33 -0
- package/dist/esm/models/responseformattextgrammar.js.map +1 -0
- package/dist/esm/models/responseserrorfield.d.ts +55 -0
- package/dist/esm/models/responseserrorfield.d.ts.map +1 -0
- package/dist/esm/models/responseserrorfield.js +61 -0
- package/dist/esm/models/responseserrorfield.js.map +1 -0
- package/dist/esm/models/responsesoutputitem.d.ts +464 -35
- package/dist/esm/models/responsesoutputitem.d.ts.map +1 -1
- package/dist/esm/models/responsesoutputitem.js +464 -42
- package/dist/esm/models/responsesoutputitem.js.map +1 -1
- package/dist/esm/models/responsessearchcontextsize.d.ts +29 -0
- package/dist/esm/models/responsessearchcontextsize.d.ts.map +1 -0
- package/dist/esm/models/responsessearchcontextsize.js +36 -0
- package/dist/esm/models/responsessearchcontextsize.js.map +1 -0
- package/dist/esm/models/responsesusage.d.ts +55 -13
- package/dist/esm/models/responsesusage.d.ts.map +1 -1
- package/dist/esm/models/responsesusage.js +70 -6
- package/dist/esm/models/responsesusage.js.map +1 -1
- package/dist/esm/models/responseswebsearchuserlocation.d.ts +63 -0
- package/dist/esm/models/responseswebsearchuserlocation.d.ts.map +1 -0
- package/dist/esm/models/responseswebsearchuserlocation.js +57 -0
- package/dist/esm/models/responseswebsearchuserlocation.js.map +1 -0
- package/dist/esm/models/toolcallstatus.d.ts +23 -0
- package/dist/esm/models/toolcallstatus.d.ts.map +1 -0
- package/dist/esm/models/toolcallstatus.js +33 -0
- package/dist/esm/models/toolcallstatus.js.map +1 -0
- package/dist/esm/models/toolchoicetypes.d.ts +164 -0
- package/dist/esm/models/toolchoicetypes.d.ts.map +1 -0
- package/dist/esm/models/toolchoicetypes.js +168 -0
- package/dist/esm/models/toolchoicetypes.js.map +1 -0
- package/dist/esm/models/topproviderinfo.d.ts +45 -0
- package/dist/esm/models/topproviderinfo.d.ts.map +1 -0
- package/dist/esm/models/topproviderinfo.js +48 -0
- package/dist/esm/models/topproviderinfo.js.map +1 -0
- package/dist/esm/models/urlcitationannotation.d.ts +60 -0
- package/dist/esm/models/urlcitationannotation.d.ts.map +1 -0
- package/dist/esm/models/urlcitationannotation.js +68 -0
- package/dist/esm/models/urlcitationannotation.js.map +1 -0
- package/dist/esm/models/websearchstatus.d.ts +24 -0
- package/dist/esm/models/websearchstatus.d.ts.map +1 -0
- package/dist/esm/models/websearchstatus.js +34 -0
- package/dist/esm/models/websearchstatus.js.map +1 -0
- package/dist/esm/react-query/apiKeysCreate.d.ts +2 -2
- package/dist/esm/react-query/apiKeysCreate.d.ts.map +1 -1
- package/dist/esm/react-query/apiKeysDelete.d.ts +2 -2
- package/dist/esm/react-query/apiKeysDelete.d.ts.map +1 -1
- package/dist/esm/react-query/apiKeysGet.d.ts +5 -5
- package/dist/esm/react-query/apiKeysGet.d.ts.map +1 -1
- package/dist/esm/react-query/apiKeysGet.js.map +1 -1
- package/dist/esm/react-query/apiKeysList.d.ts +5 -5
- package/dist/esm/react-query/apiKeysList.d.ts.map +1 -1
- package/dist/esm/react-query/apiKeysList.js.map +1 -1
- package/dist/esm/react-query/apiKeysUpdate.d.ts +2 -2
- package/dist/esm/react-query/apiKeysUpdate.d.ts.map +1 -1
- package/dist/esm/react-query/betaResponsesSend.d.ts +5 -4
- package/dist/esm/react-query/betaResponsesSend.d.ts.map +1 -1
- package/dist/esm/react-query/betaResponsesSend.js +2 -2
- package/dist/esm/react-query/betaResponsesSend.js.map +1 -1
- package/dist/esm/react-query/creditsCreateCoinbaseCharge.d.ts +24 -0
- package/dist/esm/react-query/creditsCreateCoinbaseCharge.d.ts.map +1 -0
- package/dist/esm/react-query/creditsCreateCoinbaseCharge.js +42 -0
- package/dist/esm/react-query/creditsCreateCoinbaseCharge.js.map +1 -0
- package/dist/esm/react-query/creditsGetCredits.d.ts +29 -0
- package/dist/esm/react-query/creditsGetCredits.d.ts.map +1 -0
- package/dist/esm/react-query/creditsGetCredits.js +66 -0
- package/dist/esm/react-query/creditsGetCredits.js.map +1 -0
- package/dist/esm/react-query/endpointsList.d.ts +5 -5
- package/dist/esm/react-query/endpointsList.d.ts.map +1 -1
- package/dist/esm/react-query/endpointsList.js.map +1 -1
- package/dist/esm/react-query/endpointsListZdrEndpoints.d.ts +23 -0
- package/dist/esm/react-query/endpointsListZdrEndpoints.d.ts.map +1 -0
- package/dist/esm/react-query/endpointsListZdrEndpoints.js +60 -0
- package/dist/esm/react-query/endpointsListZdrEndpoints.js.map +1 -0
- package/dist/esm/react-query/generationsGetGeneration.d.ts +30 -0
- package/dist/esm/react-query/generationsGetGeneration.d.ts.map +1 -0
- package/dist/esm/react-query/generationsGetGeneration.js +71 -0
- package/dist/esm/react-query/generationsGetGeneration.js.map +1 -0
- package/dist/esm/react-query/index.d.ts +8 -11
- package/dist/esm/react-query/index.d.ts.map +1 -1
- package/dist/esm/react-query/index.js +8 -11
- package/dist/esm/react-query/index.js.map +1 -1
- package/dist/esm/react-query/modelsGetModels.d.ts +43 -0
- package/dist/esm/react-query/modelsGetModels.d.ts.map +1 -0
- package/dist/esm/react-query/modelsGetModels.js +71 -0
- package/dist/esm/react-query/modelsGetModels.js.map +1 -0
- package/dist/esm/react-query/modelsListModelsCount.d.ts +23 -0
- package/dist/esm/react-query/modelsListModelsCount.d.ts.map +1 -0
- package/dist/esm/react-query/modelsListModelsCount.js +60 -0
- package/dist/esm/react-query/modelsListModelsCount.js.map +1 -0
- package/dist/esm/react-query/modelsListModelsUser.d.ts +23 -0
- package/dist/esm/react-query/modelsListModelsUser.d.ts.map +1 -0
- package/dist/esm/react-query/modelsListModelsUser.js +60 -0
- package/dist/esm/react-query/modelsListModelsUser.js.map +1 -0
- package/dist/esm/react-query/parametersGetParameters.d.ts +38 -0
- package/dist/esm/react-query/parametersGetParameters.d.ts.map +1 -0
- package/dist/esm/react-query/parametersGetParameters.js +80 -0
- package/dist/esm/react-query/parametersGetParameters.js.map +1 -0
- package/dist/esm/react-query/providersList.d.ts +2 -2
- package/dist/esm/react-query/providersList.js +2 -2
- package/dist/esm/sdk/apikeys.d.ts +5 -5
- package/dist/esm/sdk/apikeys.d.ts.map +1 -1
- package/dist/esm/sdk/apikeys.js.map +1 -1
- package/dist/esm/sdk/credits.d.ts +8 -2
- package/dist/esm/sdk/credits.d.ts.map +1 -1
- package/dist/esm/sdk/credits.js +12 -6
- package/dist/esm/sdk/credits.js.map +1 -1
- package/dist/esm/sdk/endpoints.d.ts +2 -2
- package/dist/esm/sdk/endpoints.d.ts.map +1 -1
- package/dist/esm/sdk/endpoints.js +3 -3
- package/dist/esm/sdk/endpoints.js.map +1 -1
- package/dist/esm/sdk/generations.d.ts +1 -1
- package/dist/esm/sdk/generations.d.ts.map +1 -1
- package/dist/esm/sdk/generations.js +3 -3
- package/dist/esm/sdk/generations.js.map +1 -1
- package/dist/esm/sdk/models.d.ts +3 -3
- package/dist/esm/sdk/models.d.ts.map +1 -1
- package/dist/esm/sdk/models.js +9 -9
- package/dist/esm/sdk/models.js.map +1 -1
- package/dist/esm/sdk/parameters.d.ts +9 -0
- package/dist/esm/sdk/parameters.d.ts.map +1 -0
- package/dist/esm/sdk/parameters.js +15 -0
- package/dist/esm/sdk/parameters.js.map +1 -0
- package/dist/esm/sdk/providers.d.ts +1 -1
- package/dist/esm/sdk/providers.js +1 -1
- package/dist/esm/sdk/responses.d.ts +3 -10
- package/dist/esm/sdk/responses.d.ts.map +1 -1
- package/dist/esm/sdk/responses.js +6 -0
- package/dist/esm/sdk/responses.js.map +1 -1
- package/dist/esm/sdk/sdk.d.ts +3 -9
- package/dist/esm/sdk/sdk.d.ts.map +1 -1
- package/dist/esm/sdk/sdk.js +3 -11
- package/dist/esm/sdk/sdk.js.map +1 -1
- package/docs/sdks/analytics/README.md +3 -4
- package/docs/sdks/apikeys/README.md +37 -43
- package/docs/sdks/chat/README.md +0 -2
- package/docs/sdks/credits/README.md +29 -31
- package/docs/sdks/endpoints/README.md +22 -24
- package/docs/sdks/generations/README.md +18 -19
- package/docs/sdks/models/README.md +51 -54
- package/docs/sdks/parameters/README.md +116 -0
- package/docs/sdks/providers/README.md +2 -2
- package/docs/sdks/responses/README.md +136 -61
- package/examples/betaResponsesSend.example.ts +64 -27
- package/examples/nextjs-example/package-lock.json +26 -3
- package/examples/nextjs-example/package.json +2 -1
- package/examples/nextjs-example/src/app/oauth/callback/route.ts +7 -27
- package/examples/nextjs-example/src/lib/config.ts +2 -7
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/analyticsGetUserActivity.ts +4 -11
- package/src/funcs/apiKeysCreate.ts +12 -19
- package/src/funcs/apiKeysDelete.ts +12 -19
- package/src/funcs/apiKeysGet.ts +12 -19
- package/src/funcs/apiKeysGetCurrentKeyMetadata.ts +4 -11
- package/src/funcs/apiKeysList.ts +12 -20
- package/src/funcs/apiKeysUpdate.ts +12 -19
- package/src/funcs/betaResponsesSend.ts +16 -79
- package/src/funcs/creditsCreateCoinbaseCharge.ts +171 -0
- package/src/funcs/creditsGetCredits.ts +143 -0
- package/src/funcs/endpointsList.ts +12 -19
- package/src/funcs/endpointsListZdrEndpoints.ts +140 -0
- package/src/funcs/generationsGetGeneration.ts +162 -0
- package/src/funcs/modelsGetModels.ts +169 -0
- package/src/funcs/modelsListModelsCount.ts +140 -0
- package/src/funcs/modelsListModelsUser.ts +149 -0
- package/src/funcs/oAuthCreateAuthorizationUrl.ts +66 -0
- package/src/funcs/oAuthCreateSHA256CodeChallenge.ts +90 -0
- package/src/funcs/parametersGetParameters.ts +182 -0
- package/src/funcs/providersList.ts +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/chatcompletionfinishreason.ts +53 -0
- package/src/models/chatgenerationparams.ts +36 -338
- package/src/models/chatmessagecontentitemimage.ts +27 -17
- package/src/models/chatmessagetokenlogprob.ts +35 -24
- package/src/models/chatresponsechoice.ts +8 -51
- package/src/models/chatstreamingchoice.ts +8 -51
- package/src/models/completioncreateparams.ts +28 -251
- package/src/models/datacollection.ts +62 -0
- package/src/models/defaultparameters.ts +88 -0
- package/src/models/endpointstatus.ts +52 -0
- package/src/models/errorresponse.ts +70 -0
- package/src/models/errors/index.ts +0 -1
- package/src/models/filecitationannotation.ts +116 -0
- package/src/models/filepathannotation.ts +110 -0
- package/src/models/imagegenerationstatus.ts +50 -0
- package/src/models/index.ts +66 -55
- package/src/models/inputmodality.ts +50 -0
- package/src/models/instructtype.ts +74 -0
- package/src/models/jsonschemaconfig.ts +78 -0
- package/src/models/model.ts +923 -0
- package/src/models/modelarchitecture.ts +133 -0
- package/src/models/modelgroup.ts +71 -0
- package/src/models/openresponseseasyinputmessage.ts +389 -0
- package/src/models/openresponsesformatjsonobject.ts +101 -0
- package/src/models/openresponsesformatjsonschema.ts +117 -0
- package/src/models/openresponsesformattext.ts +98 -0
- package/src/models/openresponsesformattextconfig.ts +95 -0
- package/src/models/openresponsesfunctioncalloutput.ts +132 -0
- package/src/models/openresponsesfunctiontoolcall.ts +135 -0
- package/src/models/openresponsesincludable.ts +57 -0
- package/src/models/openresponsesinput.ts +78 -0
- package/src/models/openresponsesinputcontent.ts +117 -0
- package/src/models/openresponsesinputfile.ts +127 -0
- package/src/models/openresponsesinputimage.ts +161 -0
- package/src/models/openresponsesinputitem.ts +1084 -0
- package/src/models/openresponsesinputmessageitem.ts +291 -0
- package/src/models/openresponsesinputtext.ts +102 -0
- package/src/models/openresponseslogprobs.ts +157 -0
- package/src/models/openresponsesnonstreamingresponse.ts +547 -0
- package/src/models/openresponsesoutputtext.ts +208 -0
- package/src/models/openresponsesprompt.ts +84 -0
- package/src/models/openresponsesreasoning.ts +190 -0
- package/src/models/openresponsesreasoningconfig.ts +147 -0
- package/src/models/openresponsesrefusalcontent.ts +101 -0
- package/src/models/openresponsesrequest.ts +1420 -0
- package/src/models/openresponsesservicetier.ts +53 -0
- package/src/models/openresponsesstreamevent.ts +4042 -0
- package/src/models/openresponsestextconfig.ts +126 -0
- package/src/models/openresponsestoolchoice.ts +269 -0
- package/src/models/openresponsestoolunion.ts +215 -0
- package/src/models/openresponsestruncation.ts +48 -0
- package/src/models/openresponseswebsearch20250826tool.ts +232 -0
- package/src/models/openresponseswebsearchpreview20250311tool.ts +150 -0
- package/src/models/openresponseswebsearchpreviewtool.ts +142 -0
- package/src/models/openresponseswebsearchtool.ts +213 -0
- package/src/models/operations/createapialpharesponses.ts +165 -0
- package/src/models/operations/createcoinbasecharge.ts +695 -0
- package/src/models/operations/createkeys.ts +490 -0
- package/src/models/operations/deletekeys.ts +189 -0
- package/src/models/operations/getcredits.ts +66 -7
- package/src/models/operations/getcurrentkey.ts +350 -10
- package/src/models/operations/getgeneration.ts +572 -0
- package/src/models/operations/getkey.ts +391 -0
- package/src/models/operations/getmodels.ts +220 -0
- package/src/models/operations/getparameters.ts +105 -43
- package/src/models/operations/getuseractivity.ts +69 -7
- package/src/models/operations/index.ts +12 -15
- package/src/models/operations/list.ts +209 -335
- package/src/models/operations/listendpoints.ts +452 -0
- package/src/models/operations/listendpointszdr.ts +132 -0
- package/src/models/operations/listmodelscount.ts +199 -0
- package/src/models/operations/listmodelsuser.ts +191 -0
- package/src/models/operations/updatekeys.ts +560 -0
- package/src/models/outputmodality.ts +49 -0
- package/src/models/outputtextcontent.ts +205 -0
- package/src/models/parameter.ts +69 -0
- package/src/models/providername.ts +131 -0
- package/src/models/providersort.ts +55 -0
- package/src/models/publicendpoint.ts +881 -0
- package/src/models/quantization.ts +55 -0
- package/src/models/reasoningsummarytext.ts +99 -0
- package/src/models/reasoningsummaryverbosity.ts +51 -0
- package/src/models/reasoningtextcontent.ts +99 -0
- package/src/models/refusalcontent.ts +93 -0
- package/src/models/responseformatjsonschema.ts +23 -52
- package/src/models/responseformattextgrammar.ts +70 -0
- package/src/models/responseserrorfield.ts +117 -0
- package/src/models/responsesoutputitem.ts +938 -102
- package/src/models/responsessearchcontextsize.ts +57 -0
- package/src/models/responsesusage.ts +141 -27
- package/src/models/responseswebsearchuserlocation.ts +117 -0
- package/src/models/toolcallstatus.ts +49 -0
- package/src/models/toolchoicetypes.ts +280 -0
- package/src/models/topproviderinfo.ts +97 -0
- package/src/models/urlcitationannotation.ts +122 -0
- package/src/models/websearchstatus.ts +50 -0
- package/src/react-query/apiKeysCreate.ts +2 -2
- package/src/react-query/apiKeysDelete.ts +2 -2
- package/src/react-query/apiKeysGet.ts +5 -5
- package/src/react-query/apiKeysList.ts +5 -5
- package/src/react-query/apiKeysUpdate.ts +2 -2
- package/src/react-query/betaResponsesSend.ts +5 -4
- package/src/react-query/creditsCreateCoinbaseCharge.ts +92 -0
- package/src/react-query/creditsGetCredits.ts +124 -0
- package/src/react-query/endpointsList.ts +5 -5
- package/src/react-query/endpointsListZdrEndpoints.ts +119 -0
- package/src/react-query/generationsGetGeneration.ts +150 -0
- package/src/react-query/index.ts +8 -11
- package/src/react-query/modelsGetModels.ts +166 -0
- package/src/react-query/modelsListModelsCount.ts +118 -0
- package/src/react-query/modelsListModelsUser.ts +126 -0
- package/src/react-query/parametersGetParameters.ts +178 -0
- package/src/react-query/providersList.ts +2 -2
- package/src/sdk/apikeys.ts +10 -10
- package/src/sdk/credits.ts +15 -9
- package/src/sdk/endpoints.ts +6 -6
- package/src/sdk/generations.ts +5 -5
- package/src/sdk/models.ts +14 -14
- package/src/sdk/parameters.ts +26 -0
- package/src/sdk/providers.ts +1 -1
- package/src/sdk/responses.ts +4 -19
- package/src/sdk/sdk.ts +4 -16
- package/tests/funcs/oAuthCreateAuthorizationUrl.test.ts +265 -0
- package/tests/funcs/oAuthCreateSHA256CodeChallenge.test.ts +199 -0
- package/tests/sdk/oauth.test.ts +44 -0
- package/dist/commonjs/funcs/creditsAddCoinbaseCharge.d.ts +0 -15
- package/dist/commonjs/funcs/creditsAddCoinbaseCharge.d.ts.map +0 -1
- package/dist/commonjs/funcs/creditsAddCoinbaseCharge.js +0 -119
- package/dist/commonjs/funcs/creditsAddCoinbaseCharge.js.map +0 -1
- package/dist/commonjs/funcs/creditsGet.d.ts +0 -15
- package/dist/commonjs/funcs/creditsGet.d.ts.map +0 -1
- package/dist/commonjs/funcs/creditsGet.js +0 -105
- package/dist/commonjs/funcs/creditsGet.js.map +0 -1
- package/dist/commonjs/funcs/custom/oAuthCreateAuthorizationUrl.d.ts +0 -43
- package/dist/commonjs/funcs/custom/oAuthCreateAuthorizationUrl.d.ts.map +0 -1
- package/dist/commonjs/funcs/custom/oAuthCreateAuthorizationUrl.js +0 -50
- package/dist/commonjs/funcs/custom/oAuthCreateAuthorizationUrl.js.map +0 -1
- package/dist/commonjs/funcs/custom/oAuthCreateAuthorizationUrl.test.d.ts +0 -2
- package/dist/commonjs/funcs/custom/oAuthCreateAuthorizationUrl.test.d.ts.map +0 -1
- package/dist/commonjs/funcs/custom/oAuthCreateAuthorizationUrl.test.js +0 -213
- package/dist/commonjs/funcs/custom/oAuthCreateAuthorizationUrl.test.js.map +0 -1
- package/dist/commonjs/funcs/custom/oAuthCreateSHA256CodeChallenge.d.ts +0 -35
- package/dist/commonjs/funcs/custom/oAuthCreateSHA256CodeChallenge.d.ts.map +0 -1
- package/dist/commonjs/funcs/custom/oAuthCreateSHA256CodeChallenge.js.map +0 -1
- package/dist/commonjs/funcs/custom/oAuthCreateSHA256CodeChallenge.test.d.ts +0 -2
- package/dist/commonjs/funcs/custom/oAuthCreateSHA256CodeChallenge.test.d.ts.map +0 -1
- package/dist/commonjs/funcs/custom/oAuthCreateSHA256CodeChallenge.test.js +0 -164
- package/dist/commonjs/funcs/custom/oAuthCreateSHA256CodeChallenge.test.js.map +0 -1
- package/dist/commonjs/funcs/embeddingsGenerate.d.ts +0 -18
- package/dist/commonjs/funcs/embeddingsGenerate.d.ts.map +0 -1
- package/dist/commonjs/funcs/embeddingsGenerate.js +0 -118
- package/dist/commonjs/funcs/embeddingsGenerate.js.map +0 -1
- package/dist/commonjs/funcs/endpointsPreviewZDR.d.ts +0 -15
- package/dist/commonjs/funcs/endpointsPreviewZDR.d.ts.map +0 -1
- package/dist/commonjs/funcs/endpointsPreviewZDR.js +0 -105
- package/dist/commonjs/funcs/endpointsPreviewZDR.js.map +0 -1
- package/dist/commonjs/funcs/generationsGetMetadata.d.ts +0 -15
- package/dist/commonjs/funcs/generationsGetMetadata.d.ts.map +0 -1
- package/dist/commonjs/funcs/generationsGetMetadata.js +0 -118
- package/dist/commonjs/funcs/generationsGetMetadata.js.map +0 -1
- package/dist/commonjs/funcs/modelGetParameters.d.ts +0 -15
- package/dist/commonjs/funcs/modelGetParameters.d.ts.map +0 -1
- package/dist/commonjs/funcs/modelGetParameters.js +0 -132
- package/dist/commonjs/funcs/modelGetParameters.js.map +0 -1
- package/dist/commonjs/funcs/modelsGetCount.d.ts +0 -15
- package/dist/commonjs/funcs/modelsGetCount.d.ts.map +0 -1
- package/dist/commonjs/funcs/modelsGetCount.js +0 -105
- package/dist/commonjs/funcs/modelsGetCount.js.map +0 -1
- package/dist/commonjs/funcs/modelsList.d.ts +0 -15
- package/dist/commonjs/funcs/modelsList.d.ts.map +0 -1
- package/dist/commonjs/funcs/modelsList.js +0 -123
- package/dist/commonjs/funcs/modelsList.js.map +0 -1
- package/dist/commonjs/funcs/modelsListUserModels.d.ts +0 -15
- package/dist/commonjs/funcs/modelsListUserModels.d.ts.map +0 -1
- package/dist/commonjs/funcs/modelsListUserModels.js +0 -109
- package/dist/commonjs/funcs/modelsListUserModels.js.map +0 -1
- package/dist/commonjs/funcs/oAuthCreateAuthorizationCode.d.ts +0 -18
- package/dist/commonjs/funcs/oAuthCreateAuthorizationCode.d.ts.map +0 -1
- package/dist/commonjs/funcs/oAuthCreateAuthorizationCode.js +0 -118
- package/dist/commonjs/funcs/oAuthCreateAuthorizationCode.js.map +0 -1
- package/dist/commonjs/funcs/oAuthExchangeAuthorizationCode.d.ts +0 -18
- package/dist/commonjs/funcs/oAuthExchangeAuthorizationCode.d.ts.map +0 -1
- package/dist/commonjs/funcs/oAuthExchangeAuthorizationCode.js +0 -118
- package/dist/commonjs/funcs/oAuthExchangeAuthorizationCode.js.map +0 -1
- package/dist/commonjs/models/createapikeydata.d.ts +0 -120
- package/dist/commonjs/models/createapikeydata.d.ts.map +0 -1
- package/dist/commonjs/models/createapikeydata.js +0 -134
- package/dist/commonjs/models/createapikeydata.js.map +0 -1
- package/dist/commonjs/models/endpointslist.d.ts +0 -520
- package/dist/commonjs/models/endpointslist.d.ts.map +0 -1
- package/dist/commonjs/models/endpointslist.js +0 -654
- package/dist/commonjs/models/endpointslist.js.map +0 -1
- package/dist/commonjs/models/errors/errorresponse.d.ts +0 -46
- package/dist/commonjs/models/errors/errorresponse.d.ts.map +0 -1
- package/dist/commonjs/models/errors/errorresponse.js +0 -100
- package/dist/commonjs/models/errors/errorresponse.js.map +0 -1
- package/dist/commonjs/models/getapikeydata.d.ts +0 -120
- package/dist/commonjs/models/getapikeydata.d.ts.map +0 -1
- package/dist/commonjs/models/getapikeydata.js +0 -134
- package/dist/commonjs/models/getapikeydata.js.map +0 -1
- package/dist/commonjs/models/keyinfo.d.ts +0 -155
- package/dist/commonjs/models/keyinfo.d.ts.map +0 -1
- package/dist/commonjs/models/keyinfo.js +0 -163
- package/dist/commonjs/models/keyinfo.js.map +0 -1
- package/dist/commonjs/models/listapikeysdata.d.ts +0 -117
- package/dist/commonjs/models/listapikeysdata.d.ts.map +0 -1
- package/dist/commonjs/models/listapikeysdata.js +0 -134
- package/dist/commonjs/models/listapikeysdata.js.map +0 -1
- package/dist/commonjs/models/modelslist.d.ts +0 -702
- package/dist/commonjs/models/modelslist.d.ts.map +0 -1
- package/dist/commonjs/models/modelslist.js +0 -803
- package/dist/commonjs/models/modelslist.js.map +0 -1
- package/dist/commonjs/models/operations/addcoinbasecharge.d.ts +0 -262
- package/dist/commonjs/models/operations/addcoinbasecharge.d.ts.map +0 -1
- package/dist/commonjs/models/operations/addcoinbasecharge.js +0 -381
- package/dist/commonjs/models/operations/addcoinbasecharge.js.map +0 -1
- package/dist/commonjs/models/operations/create.d.ts +0 -111
- package/dist/commonjs/models/operations/create.d.ts.map +0 -1
- package/dist/commonjs/models/operations/create.js +0 -147
- package/dist/commonjs/models/operations/create.js.map +0 -1
- package/dist/commonjs/models/operations/createauthorizationcode.d.ts +0 -145
- package/dist/commonjs/models/operations/createauthorizationcode.d.ts.map +0 -1
- package/dist/commonjs/models/operations/createauthorizationcode.js +0 -187
- package/dist/commonjs/models/operations/createauthorizationcode.js.map +0 -1
- package/dist/commonjs/models/operations/delete.d.ts +0 -60
- package/dist/commonjs/models/operations/delete.d.ts.map +0 -1
- package/dist/commonjs/models/operations/delete.js +0 -96
- package/dist/commonjs/models/operations/delete.js.map +0 -1
- package/dist/commonjs/models/operations/exchangeauthorizationcode.d.ts +0 -104
- package/dist/commonjs/models/operations/exchangeauthorizationcode.d.ts.map +0 -1
- package/dist/commonjs/models/operations/exchangeauthorizationcode.js +0 -151
- package/dist/commonjs/models/operations/exchangeauthorizationcode.js.map +0 -1
- package/dist/commonjs/models/operations/generate.d.ts +0 -952
- package/dist/commonjs/models/operations/generate.d.ts.map +0 -1
- package/dist/commonjs/models/operations/generate.js +0 -1069
- package/dist/commonjs/models/operations/generate.js.map +0 -1
- package/dist/commonjs/models/operations/getapikey.d.ts +0 -61
- package/dist/commonjs/models/operations/getapikey.d.ts.map +0 -1
- package/dist/commonjs/models/operations/getapikey.js +0 -97
- package/dist/commonjs/models/operations/getapikey.js.map +0 -1
- package/dist/commonjs/models/operations/getcount.d.ts +0 -66
- package/dist/commonjs/models/operations/getcount.d.ts.map +0 -1
- package/dist/commonjs/models/operations/getcount.js +0 -96
- package/dist/commonjs/models/operations/getcount.js.map +0 -1
- package/dist/commonjs/models/operations/getmetadata.d.ts +0 -267
- package/dist/commonjs/models/operations/getmetadata.d.ts.map +0 -1
- package/dist/commonjs/models/operations/getmetadata.js +0 -268
- package/dist/commonjs/models/operations/getmetadata.js.map +0 -1
- package/dist/commonjs/models/operations/listapikeys.d.ts +0 -63
- package/dist/commonjs/models/operations/listapikeys.d.ts.map +0 -1
- package/dist/commonjs/models/operations/listapikeys.js +0 -108
- package/dist/commonjs/models/operations/listapikeys.js.map +0 -1
- package/dist/commonjs/models/operations/listmodels.d.ts +0 -88
- package/dist/commonjs/models/operations/listmodels.d.ts.map +0 -1
- package/dist/commonjs/models/operations/listmodels.js +0 -139
- package/dist/commonjs/models/operations/listmodels.js.map +0 -1
- package/dist/commonjs/models/operations/listusermodels.d.ts +0 -61
- package/dist/commonjs/models/operations/listusermodels.d.ts.map +0 -1
- package/dist/commonjs/models/operations/listusermodels.js +0 -97
- package/dist/commonjs/models/operations/listusermodels.js.map +0 -1
- package/dist/commonjs/models/operations/previewzdr.d.ts +0 -548
- package/dist/commonjs/models/operations/previewzdr.d.ts.map +0 -1
- package/dist/commonjs/models/operations/previewzdr.js +0 -682
- package/dist/commonjs/models/operations/previewzdr.js.map +0 -1
- package/dist/commonjs/models/operations/sendresponsesrequest.d.ts +0 -1187
- package/dist/commonjs/models/operations/sendresponsesrequest.d.ts.map +0 -1
- package/dist/commonjs/models/operations/sendresponsesrequest.js +0 -1342
- package/dist/commonjs/models/operations/sendresponsesrequest.js.map +0 -1
- package/dist/commonjs/models/operations/update.d.ts +0 -138
- package/dist/commonjs/models/operations/update.d.ts.map +0 -1
- package/dist/commonjs/models/operations/update.js +0 -184
- package/dist/commonjs/models/operations/update.js.map +0 -1
- package/dist/commonjs/models/responseeasyinputmessage.d.ts +0 -61
- package/dist/commonjs/models/responseeasyinputmessage.d.ts.map +0 -1
- package/dist/commonjs/models/responseeasyinputmessage.js +0 -93
- package/dist/commonjs/models/responseeasyinputmessage.js.map +0 -1
- package/dist/commonjs/models/responseformatjsonobject.d.ts +0 -55
- package/dist/commonjs/models/responseformatjsonobject.d.ts.map +0 -1
- package/dist/commonjs/models/responseformatjsonobject.js +0 -87
- package/dist/commonjs/models/responseformatjsonobject.js.map +0 -1
- package/dist/commonjs/models/responseformattext.d.ts +0 -55
- package/dist/commonjs/models/responseformattext.d.ts.map +0 -1
- package/dist/commonjs/models/responseformattext.js +0 -87
- package/dist/commonjs/models/responseformattext.js.map +0 -1
- package/dist/commonjs/models/responseformattextconfig.d.ts +0 -31
- package/dist/commonjs/models/responseformattextconfig.d.ts.map +0 -1
- package/dist/commonjs/models/responseformattextconfig.js +0 -76
- package/dist/commonjs/models/responseformattextconfig.js.map +0 -1
- package/dist/commonjs/models/responsefunctioncalloutputitem.d.ts +0 -64
- package/dist/commonjs/models/responsefunctioncalloutputitem.d.ts.map +0 -1
- package/dist/commonjs/models/responsefunctioncalloutputitem.js +0 -105
- package/dist/commonjs/models/responsefunctioncalloutputitem.js.map +0 -1
- package/dist/commonjs/models/responsefunctioncallstatus.d.ts +0 -23
- package/dist/commonjs/models/responsefunctioncallstatus.d.ts.map +0 -1
- package/dist/commonjs/models/responsefunctioncallstatus.js +0 -69
- package/dist/commonjs/models/responsefunctioncallstatus.js.map +0 -1
- package/dist/commonjs/models/responsefunctiontoolcall.d.ts +0 -66
- package/dist/commonjs/models/responsefunctiontoolcall.d.ts.map +0 -1
- package/dist/commonjs/models/responsefunctiontoolcall.js +0 -107
- package/dist/commonjs/models/responsefunctiontoolcall.js.map +0 -1
- package/dist/commonjs/models/responseimagegenerationcallstatus.d.ts +0 -24
- package/dist/commonjs/models/responseimagegenerationcallstatus.d.ts.map +0 -1
- package/dist/commonjs/models/responseimagegenerationcallstatus.js +0 -70
- package/dist/commonjs/models/responseimagegenerationcallstatus.js.map +0 -1
- package/dist/commonjs/models/responseincludable.d.ts +0 -31
- package/dist/commonjs/models/responseincludable.d.ts.map +0 -1
- package/dist/commonjs/models/responseincludable.js +0 -74
- package/dist/commonjs/models/responseincludable.js.map +0 -1
- package/dist/commonjs/models/responseinput.d.ts +0 -29
- package/dist/commonjs/models/responseinput.d.ts.map +0 -1
- package/dist/commonjs/models/responseinput.js +0 -66
- package/dist/commonjs/models/responseinput.js.map +0 -1
- package/dist/commonjs/models/responseinputcontent.d.ts +0 -43
- package/dist/commonjs/models/responseinputcontent.d.ts.map +0 -1
- package/dist/commonjs/models/responseinputcontent.js +0 -88
- package/dist/commonjs/models/responseinputcontent.js.map +0 -1
- package/dist/commonjs/models/responseinputfile.d.ts +0 -63
- package/dist/commonjs/models/responseinputfile.d.ts.map +0 -1
- package/dist/commonjs/models/responseinputfile.js +0 -108
- package/dist/commonjs/models/responseinputfile.js.map +0 -1
- package/dist/commonjs/models/responseinputimage.d.ts +0 -60
- package/dist/commonjs/models/responseinputimage.d.ts.map +0 -1
- package/dist/commonjs/models/responseinputimage.js +0 -101
- package/dist/commonjs/models/responseinputimage.js.map +0 -1
- package/dist/commonjs/models/responseinputimagedetail.d.ts +0 -23
- package/dist/commonjs/models/responseinputimagedetail.d.ts.map +0 -1
- package/dist/commonjs/models/responseinputimagedetail.js +0 -69
- package/dist/commonjs/models/responseinputimagedetail.js.map +0 -1
- package/dist/commonjs/models/responseinputitem.d.ts +0 -35
- package/dist/commonjs/models/responseinputitem.d.ts.map +0 -1
- package/dist/commonjs/models/responseinputitem.js +0 -88
- package/dist/commonjs/models/responseinputitem.js.map +0 -1
- package/dist/commonjs/models/responseinputmessagecontentunion.d.ts +0 -26
- package/dist/commonjs/models/responseinputmessagecontentunion.d.ts.map +0 -1
- package/dist/commonjs/models/responseinputmessagecontentunion.js +0 -66
- package/dist/commonjs/models/responseinputmessagecontentunion.js.map +0 -1
- package/dist/commonjs/models/responseinputmessageitem.d.ts +0 -63
- package/dist/commonjs/models/responseinputmessageitem.d.ts.map +0 -1
- package/dist/commonjs/models/responseinputmessageitem.js +0 -95
- package/dist/commonjs/models/responseinputmessageitem.js.map +0 -1
- package/dist/commonjs/models/responseinputmessageitemrole.d.ts +0 -92
- package/dist/commonjs/models/responseinputmessageitemrole.d.ts.map +0 -1
- package/dist/commonjs/models/responseinputmessageitemrole.js +0 -127
- package/dist/commonjs/models/responseinputmessageitemrole.js.map +0 -1
- package/dist/commonjs/models/responseinputmessagerole.d.ts +0 -114
- package/dist/commonjs/models/responseinputmessagerole.d.ts.map +0 -1
- package/dist/commonjs/models/responseinputmessagerole.js +0 -147
- package/dist/commonjs/models/responseinputmessagerole.js.map +0 -1
- package/dist/commonjs/models/responseinputtext.d.ts +0 -57
- package/dist/commonjs/models/responseinputtext.d.ts.map +0 -1
- package/dist/commonjs/models/responseinputtext.js +0 -89
- package/dist/commonjs/models/responseinputtext.js.map +0 -1
- package/dist/commonjs/models/responseprompt.d.ts +0 -39
- package/dist/commonjs/models/responseprompt.d.ts.map +0 -1
- package/dist/commonjs/models/responseprompt.js +0 -74
- package/dist/commonjs/models/responseprompt.js.map +0 -1
- package/dist/commonjs/models/responsereasoningconfig.d.ts +0 -61
- package/dist/commonjs/models/responsereasoningconfig.d.ts.map +0 -1
- package/dist/commonjs/models/responsereasoningconfig.js +0 -114
- package/dist/commonjs/models/responsereasoningconfig.js.map +0 -1
- package/dist/commonjs/models/responsereasoningsummarymode.d.ts +0 -23
- package/dist/commonjs/models/responsereasoningsummarymode.d.ts.map +0 -1
- package/dist/commonjs/models/responsereasoningsummarymode.js +0 -69
- package/dist/commonjs/models/responsereasoningsummarymode.js.map +0 -1
- package/dist/commonjs/models/responsesannotation.d.ts +0 -31
- package/dist/commonjs/models/responsesannotation.d.ts.map +0 -1
- package/dist/commonjs/models/responsesannotation.js +0 -76
- package/dist/commonjs/models/responsesannotation.js.map +0 -1
- package/dist/commonjs/models/responsesannotationfilecitation.d.ts +0 -58
- package/dist/commonjs/models/responsesannotationfilecitation.d.ts.map +0 -1
- package/dist/commonjs/models/responsesannotationfilecitation.js +0 -102
- package/dist/commonjs/models/responsesannotationfilecitation.js.map +0 -1
- package/dist/commonjs/models/responsesannotationfilepath.d.ts +0 -56
- package/dist/commonjs/models/responsesannotationfilepath.d.ts.map +0 -1
- package/dist/commonjs/models/responsesannotationfilepath.js +0 -100
- package/dist/commonjs/models/responsesannotationfilepath.js.map +0 -1
- package/dist/commonjs/models/responsesannotationurlcitation.d.ts +0 -60
- package/dist/commonjs/models/responsesannotationurlcitation.d.ts.map +0 -1
- package/dist/commonjs/models/responsesannotationurlcitation.js +0 -106
- package/dist/commonjs/models/responsesannotationurlcitation.js.map +0 -1
- package/dist/commonjs/models/responsesimagegenerationcall.d.ts +0 -62
- package/dist/commonjs/models/responsesimagegenerationcall.d.ts.map +0 -1
- package/dist/commonjs/models/responsesimagegenerationcall.js +0 -94
- package/dist/commonjs/models/responsesimagegenerationcall.js.map +0 -1
- package/dist/commonjs/models/responsesincompletedetails.d.ts +0 -52
- package/dist/commonjs/models/responsesincompletedetails.d.ts.map +0 -1
- package/dist/commonjs/models/responsesincompletedetails.js +0 -96
- package/dist/commonjs/models/responsesincompletedetails.js.map +0 -1
- package/dist/commonjs/models/responsesinputtokensdetails.d.ts +0 -32
- package/dist/commonjs/models/responsesinputtokensdetails.d.ts.map +0 -1
- package/dist/commonjs/models/responsesinputtokensdetails.js +0 -78
- package/dist/commonjs/models/responsesinputtokensdetails.js.map +0 -1
- package/dist/commonjs/models/responsesmessagecontent.d.ts +0 -27
- package/dist/commonjs/models/responsesmessagecontent.d.ts.map +0 -1
- package/dist/commonjs/models/responsesmessagecontent.js +0 -73
- package/dist/commonjs/models/responsesmessagecontent.js.map +0 -1
- package/dist/commonjs/models/responsesmessagestatus.d.ts +0 -92
- package/dist/commonjs/models/responsesmessagestatus.d.ts.map +0 -1
- package/dist/commonjs/models/responsesmessagestatus.js +0 -127
- package/dist/commonjs/models/responsesmessagestatus.js.map +0 -1
- package/dist/commonjs/models/responsesnonstreamingresponse.d.ts +0 -281
- package/dist/commonjs/models/responsesnonstreamingresponse.d.ts.map +0 -1
- package/dist/commonjs/models/responsesnonstreamingresponse.js +0 -355
- package/dist/commonjs/models/responsesnonstreamingresponse.js.map +0 -1
- package/dist/commonjs/models/responsesoutputitemfilesearchcall.d.ts +0 -82
- package/dist/commonjs/models/responsesoutputitemfilesearchcall.d.ts.map +0 -1
- package/dist/commonjs/models/responsesoutputitemfilesearchcall.js +0 -122
- package/dist/commonjs/models/responsesoutputitemfilesearchcall.js.map +0 -1
- package/dist/commonjs/models/responsesoutputitemfunctioncall.d.ts +0 -63
- package/dist/commonjs/models/responsesoutputitemfunctioncall.d.ts.map +0 -1
- package/dist/commonjs/models/responsesoutputitemfunctioncall.js +0 -104
- package/dist/commonjs/models/responsesoutputitemfunctioncall.js.map +0 -1
- package/dist/commonjs/models/responsesoutputitemreasoning.d.ts +0 -90
- package/dist/commonjs/models/responsesoutputitemreasoning.d.ts.map +0 -1
- package/dist/commonjs/models/responsesoutputitemreasoning.js +0 -141
- package/dist/commonjs/models/responsesoutputitemreasoning.js.map +0 -1
- package/dist/commonjs/models/responsesoutputmessage.d.ts +0 -87
- package/dist/commonjs/models/responsesoutputmessage.d.ts.map +0 -1
- package/dist/commonjs/models/responsesoutputmessage.js +0 -115
- package/dist/commonjs/models/responsesoutputmessage.js.map +0 -1
- package/dist/commonjs/models/responsesoutputtext.d.ts +0 -60
- package/dist/commonjs/models/responsesoutputtext.d.ts.map +0 -1
- package/dist/commonjs/models/responsesoutputtext.js +0 -92
- package/dist/commonjs/models/responsesoutputtext.js.map +0 -1
- package/dist/commonjs/models/responsesoutputtokensdetails.d.ts +0 -32
- package/dist/commonjs/models/responsesoutputtokensdetails.d.ts.map +0 -1
- package/dist/commonjs/models/responsesoutputtokensdetails.js +0 -78
- package/dist/commonjs/models/responsesoutputtokensdetails.js.map +0 -1
- package/dist/commonjs/models/responsesreasoningsummarytext.d.ts +0 -54
- package/dist/commonjs/models/responsesreasoningsummarytext.d.ts.map +0 -1
- package/dist/commonjs/models/responsesreasoningsummarytext.js +0 -89
- package/dist/commonjs/models/responsesreasoningsummarytext.js.map +0 -1
- package/dist/commonjs/models/responsesreasoningtextcontent.d.ts +0 -54
- package/dist/commonjs/models/responsesreasoningtextcontent.d.ts.map +0 -1
- package/dist/commonjs/models/responsesreasoningtextcontent.js +0 -89
- package/dist/commonjs/models/responsesreasoningtextcontent.js.map +0 -1
- package/dist/commonjs/models/responsesrefusalcontent.d.ts +0 -57
- package/dist/commonjs/models/responsesrefusalcontent.d.ts.map +0 -1
- package/dist/commonjs/models/responsesrefusalcontent.js +0 -89
- package/dist/commonjs/models/responsesrefusalcontent.js.map +0 -1
- package/dist/commonjs/models/responsesstreamchunkunion.d.ts +0 -2462
- package/dist/commonjs/models/responsesstreamchunkunion.d.ts.map +0 -1
- package/dist/commonjs/models/responsesstreamchunkunion.js +0 -2866
- package/dist/commonjs/models/responsesstreamchunkunion.js.map +0 -1
- package/dist/commonjs/models/responseswebsearchcalloutput.d.ts +0 -80
- package/dist/commonjs/models/responseswebsearchcalloutput.d.ts.map +0 -1
- package/dist/commonjs/models/responseswebsearchcalloutput.js +0 -120
- package/dist/commonjs/models/responseswebsearchcalloutput.js.map +0 -1
- package/dist/commonjs/models/responsetextconfig.d.ts +0 -39
- package/dist/commonjs/models/responsetextconfig.d.ts.map +0 -1
- package/dist/commonjs/models/responsetextconfig.js +0 -73
- package/dist/commonjs/models/responsetextconfig.js.map +0 -1
- package/dist/commonjs/models/responsetextverbosity.d.ts +0 -23
- package/dist/commonjs/models/responsetextverbosity.d.ts.map +0 -1
- package/dist/commonjs/models/responsetextverbosity.js +0 -69
- package/dist/commonjs/models/responsetextverbosity.js.map +0 -1
- package/dist/commonjs/models/toolchoicetypeunion.d.ts +0 -136
- package/dist/commonjs/models/toolchoicetypeunion.d.ts.map +0 -1
- package/dist/commonjs/models/toolchoicetypeunion.js +0 -168
- package/dist/commonjs/models/toolchoicetypeunion.js.map +0 -1
- package/dist/commonjs/models/toolchoiceunion.d.ts +0 -176
- package/dist/commonjs/models/toolchoiceunion.d.ts.map +0 -1
- package/dist/commonjs/models/toolchoiceunion.js +0 -206
- package/dist/commonjs/models/toolchoiceunion.js.map +0 -1
- package/dist/commonjs/models/updateapikeydata.d.ts +0 -120
- package/dist/commonjs/models/updateapikeydata.d.ts.map +0 -1
- package/dist/commonjs/models/updateapikeydata.js +0 -134
- package/dist/commonjs/models/updateapikeydata.js.map +0 -1
- package/dist/commonjs/react-query/creditsAddCoinbaseCharge.d.ts +0 -21
- package/dist/commonjs/react-query/creditsAddCoinbaseCharge.d.ts.map +0 -1
- package/dist/commonjs/react-query/creditsAddCoinbaseCharge.js +0 -44
- package/dist/commonjs/react-query/creditsAddCoinbaseCharge.js.map +0 -1
- package/dist/commonjs/react-query/creditsGet.d.ts +0 -23
- package/dist/commonjs/react-query/creditsGet.d.ts.map +0 -1
- package/dist/commonjs/react-query/creditsGet.js +0 -69
- package/dist/commonjs/react-query/creditsGet.js.map +0 -1
- package/dist/commonjs/react-query/embeddingsGenerate.d.ts +0 -23
- package/dist/commonjs/react-query/embeddingsGenerate.d.ts.map +0 -1
- package/dist/commonjs/react-query/embeddingsGenerate.js +0 -47
- package/dist/commonjs/react-query/embeddingsGenerate.js.map +0 -1
- package/dist/commonjs/react-query/endpointsPreviewZDR.d.ts +0 -23
- package/dist/commonjs/react-query/endpointsPreviewZDR.d.ts.map +0 -1
- package/dist/commonjs/react-query/endpointsPreviewZDR.js +0 -69
- package/dist/commonjs/react-query/endpointsPreviewZDR.js.map +0 -1
- package/dist/commonjs/react-query/generationsGetMetadata.d.ts +0 -30
- package/dist/commonjs/react-query/generationsGetMetadata.d.ts.map +0 -1
- package/dist/commonjs/react-query/generationsGetMetadata.js +0 -81
- package/dist/commonjs/react-query/generationsGetMetadata.js.map +0 -1
- package/dist/commonjs/react-query/modelGetParameters.d.ts +0 -38
- package/dist/commonjs/react-query/modelGetParameters.d.ts.map +0 -1
- package/dist/commonjs/react-query/modelGetParameters.js +0 -85
- package/dist/commonjs/react-query/modelGetParameters.js.map +0 -1
- package/dist/commonjs/react-query/modelsGetCount.d.ts +0 -23
- package/dist/commonjs/react-query/modelsGetCount.d.ts.map +0 -1
- package/dist/commonjs/react-query/modelsGetCount.js +0 -69
- package/dist/commonjs/react-query/modelsGetCount.js.map +0 -1
- package/dist/commonjs/react-query/modelsList.d.ts +0 -43
- package/dist/commonjs/react-query/modelsList.d.ts.map +0 -1
- package/dist/commonjs/react-query/modelsList.js +0 -81
- package/dist/commonjs/react-query/modelsList.js.map +0 -1
- package/dist/commonjs/react-query/modelsListUserModels.d.ts +0 -23
- package/dist/commonjs/react-query/modelsListUserModels.d.ts.map +0 -1
- package/dist/commonjs/react-query/modelsListUserModels.js +0 -69
- package/dist/commonjs/react-query/modelsListUserModels.js.map +0 -1
- package/dist/commonjs/react-query/oAuthCreateAuthorizationCode.d.ts +0 -23
- package/dist/commonjs/react-query/oAuthCreateAuthorizationCode.d.ts.map +0 -1
- package/dist/commonjs/react-query/oAuthCreateAuthorizationCode.js +0 -47
- package/dist/commonjs/react-query/oAuthCreateAuthorizationCode.js.map +0 -1
- package/dist/commonjs/react-query/oAuthExchangeAuthorizationCode.d.ts +0 -23
- package/dist/commonjs/react-query/oAuthExchangeAuthorizationCode.d.ts.map +0 -1
- package/dist/commonjs/react-query/oAuthExchangeAuthorizationCode.js +0 -47
- package/dist/commonjs/react-query/oAuthExchangeAuthorizationCode.js.map +0 -1
- package/dist/commonjs/sdk/embeddings.d.ts +0 -12
- package/dist/commonjs/sdk/embeddings.d.ts.map +0 -1
- package/dist/commonjs/sdk/embeddings.js +0 -22
- package/dist/commonjs/sdk/embeddings.js.map +0 -1
- package/dist/commonjs/sdk/model.d.ts +0 -9
- package/dist/commonjs/sdk/model.d.ts.map +0 -1
- package/dist/commonjs/sdk/model.js +0 -19
- package/dist/commonjs/sdk/model.js.map +0 -1
- package/dist/commonjs/sdk/oauth.d.ts +0 -46
- package/dist/commonjs/sdk/oauth.d.ts.map +0 -1
- package/dist/commonjs/sdk/oauth.js +0 -75
- package/dist/commonjs/sdk/oauth.js.map +0 -1
- package/dist/esm/funcs/creditsAddCoinbaseCharge.d.ts +0 -15
- package/dist/esm/funcs/creditsAddCoinbaseCharge.d.ts.map +0 -1
- package/dist/esm/funcs/creditsAddCoinbaseCharge.js +0 -83
- package/dist/esm/funcs/creditsAddCoinbaseCharge.js.map +0 -1
- package/dist/esm/funcs/creditsGet.d.ts +0 -15
- package/dist/esm/funcs/creditsGet.d.ts.map +0 -1
- package/dist/esm/funcs/creditsGet.js +0 -69
- package/dist/esm/funcs/creditsGet.js.map +0 -1
- package/dist/esm/funcs/custom/oAuthCreateAuthorizationUrl.d.ts +0 -43
- package/dist/esm/funcs/custom/oAuthCreateAuthorizationUrl.d.ts.map +0 -1
- package/dist/esm/funcs/custom/oAuthCreateAuthorizationUrl.js +0 -44
- package/dist/esm/funcs/custom/oAuthCreateAuthorizationUrl.js.map +0 -1
- package/dist/esm/funcs/custom/oAuthCreateAuthorizationUrl.test.d.ts +0 -2
- package/dist/esm/funcs/custom/oAuthCreateAuthorizationUrl.test.d.ts.map +0 -1
- package/dist/esm/funcs/custom/oAuthCreateAuthorizationUrl.test.js +0 -211
- package/dist/esm/funcs/custom/oAuthCreateAuthorizationUrl.test.js.map +0 -1
- package/dist/esm/funcs/custom/oAuthCreateSHA256CodeChallenge.d.ts +0 -35
- package/dist/esm/funcs/custom/oAuthCreateSHA256CodeChallenge.d.ts.map +0 -1
- package/dist/esm/funcs/custom/oAuthCreateSHA256CodeChallenge.js.map +0 -1
- package/dist/esm/funcs/custom/oAuthCreateSHA256CodeChallenge.test.d.ts +0 -2
- package/dist/esm/funcs/custom/oAuthCreateSHA256CodeChallenge.test.d.ts.map +0 -1
- package/dist/esm/funcs/custom/oAuthCreateSHA256CodeChallenge.test.js +0 -162
- package/dist/esm/funcs/custom/oAuthCreateSHA256CodeChallenge.test.js.map +0 -1
- package/dist/esm/funcs/embeddingsGenerate.d.ts +0 -18
- package/dist/esm/funcs/embeddingsGenerate.d.ts.map +0 -1
- package/dist/esm/funcs/embeddingsGenerate.js +0 -82
- package/dist/esm/funcs/embeddingsGenerate.js.map +0 -1
- package/dist/esm/funcs/endpointsPreviewZDR.d.ts +0 -15
- package/dist/esm/funcs/endpointsPreviewZDR.d.ts.map +0 -1
- package/dist/esm/funcs/endpointsPreviewZDR.js +0 -69
- package/dist/esm/funcs/endpointsPreviewZDR.js.map +0 -1
- package/dist/esm/funcs/generationsGetMetadata.d.ts +0 -15
- package/dist/esm/funcs/generationsGetMetadata.d.ts.map +0 -1
- package/dist/esm/funcs/generationsGetMetadata.js +0 -82
- package/dist/esm/funcs/generationsGetMetadata.js.map +0 -1
- package/dist/esm/funcs/modelGetParameters.d.ts +0 -15
- package/dist/esm/funcs/modelGetParameters.d.ts.map +0 -1
- package/dist/esm/funcs/modelGetParameters.js +0 -96
- package/dist/esm/funcs/modelGetParameters.js.map +0 -1
- package/dist/esm/funcs/modelsGetCount.d.ts +0 -15
- package/dist/esm/funcs/modelsGetCount.d.ts.map +0 -1
- package/dist/esm/funcs/modelsGetCount.js +0 -69
- package/dist/esm/funcs/modelsGetCount.js.map +0 -1
- package/dist/esm/funcs/modelsList.d.ts +0 -15
- package/dist/esm/funcs/modelsList.d.ts.map +0 -1
- package/dist/esm/funcs/modelsList.js +0 -87
- package/dist/esm/funcs/modelsList.js.map +0 -1
- package/dist/esm/funcs/modelsListUserModels.d.ts +0 -15
- package/dist/esm/funcs/modelsListUserModels.d.ts.map +0 -1
- package/dist/esm/funcs/modelsListUserModels.js +0 -73
- package/dist/esm/funcs/modelsListUserModels.js.map +0 -1
- package/dist/esm/funcs/oAuthCreateAuthorizationCode.d.ts +0 -18
- package/dist/esm/funcs/oAuthCreateAuthorizationCode.d.ts.map +0 -1
- package/dist/esm/funcs/oAuthCreateAuthorizationCode.js +0 -82
- package/dist/esm/funcs/oAuthCreateAuthorizationCode.js.map +0 -1
- package/dist/esm/funcs/oAuthExchangeAuthorizationCode.d.ts +0 -18
- package/dist/esm/funcs/oAuthExchangeAuthorizationCode.d.ts.map +0 -1
- package/dist/esm/funcs/oAuthExchangeAuthorizationCode.js +0 -82
- package/dist/esm/funcs/oAuthExchangeAuthorizationCode.js.map +0 -1
- package/dist/esm/models/createapikeydata.d.ts +0 -120
- package/dist/esm/models/createapikeydata.d.ts.map +0 -1
- package/dist/esm/models/createapikeydata.js +0 -96
- package/dist/esm/models/createapikeydata.js.map +0 -1
- package/dist/esm/models/endpointslist.d.ts +0 -520
- package/dist/esm/models/endpointslist.d.ts.map +0 -1
- package/dist/esm/models/endpointslist.js +0 -591
- package/dist/esm/models/endpointslist.js.map +0 -1
- package/dist/esm/models/errors/errorresponse.d.ts +0 -46
- package/dist/esm/models/errors/errorresponse.d.ts.map +0 -1
- package/dist/esm/models/errors/errorresponse.js +0 -63
- package/dist/esm/models/errors/errorresponse.js.map +0 -1
- package/dist/esm/models/getapikeydata.d.ts +0 -120
- package/dist/esm/models/getapikeydata.d.ts.map +0 -1
- package/dist/esm/models/getapikeydata.js +0 -96
- package/dist/esm/models/getapikeydata.js.map +0 -1
- package/dist/esm/models/keyinfo.d.ts +0 -155
- package/dist/esm/models/keyinfo.d.ts.map +0 -1
- package/dist/esm/models/keyinfo.js +0 -123
- package/dist/esm/models/keyinfo.js.map +0 -1
- package/dist/esm/models/listapikeysdata.d.ts +0 -117
- package/dist/esm/models/listapikeysdata.d.ts.map +0 -1
- package/dist/esm/models/listapikeysdata.js +0 -96
- package/dist/esm/models/listapikeysdata.js.map +0 -1
- package/dist/esm/models/modelslist.d.ts +0 -702
- package/dist/esm/models/modelslist.d.ts.map +0 -1
- package/dist/esm/models/modelslist.js +0 -732
- package/dist/esm/models/modelslist.js.map +0 -1
- package/dist/esm/models/operations/addcoinbasecharge.d.ts +0 -262
- package/dist/esm/models/operations/addcoinbasecharge.d.ts.map +0 -1
- package/dist/esm/models/operations/addcoinbasecharge.js +0 -329
- package/dist/esm/models/operations/addcoinbasecharge.js.map +0 -1
- package/dist/esm/models/operations/create.d.ts +0 -111
- package/dist/esm/models/operations/create.d.ts.map +0 -1
- package/dist/esm/models/operations/create.js +0 -107
- package/dist/esm/models/operations/create.js.map +0 -1
- package/dist/esm/models/operations/createauthorizationcode.d.ts +0 -145
- package/dist/esm/models/operations/createauthorizationcode.d.ts.map +0 -1
- package/dist/esm/models/operations/createauthorizationcode.js +0 -145
- package/dist/esm/models/operations/createauthorizationcode.js.map +0 -1
- package/dist/esm/models/operations/delete.d.ts +0 -60
- package/dist/esm/models/operations/delete.d.ts.map +0 -1
- package/dist/esm/models/operations/delete.js +0 -56
- package/dist/esm/models/operations/delete.js.map +0 -1
- package/dist/esm/models/operations/exchangeauthorizationcode.d.ts +0 -104
- package/dist/esm/models/operations/exchangeauthorizationcode.d.ts.map +0 -1
- package/dist/esm/models/operations/exchangeauthorizationcode.js +0 -111
- package/dist/esm/models/operations/exchangeauthorizationcode.js.map +0 -1
- package/dist/esm/models/operations/generate.d.ts +0 -952
- package/dist/esm/models/operations/generate.d.ts.map +0 -1
- package/dist/esm/models/operations/generate.js +0 -998
- package/dist/esm/models/operations/generate.js.map +0 -1
- package/dist/esm/models/operations/getapikey.d.ts +0 -61
- package/dist/esm/models/operations/getapikey.d.ts.map +0 -1
- package/dist/esm/models/operations/getapikey.js +0 -57
- package/dist/esm/models/operations/getapikey.js.map +0 -1
- package/dist/esm/models/operations/getcount.d.ts +0 -66
- package/dist/esm/models/operations/getcount.d.ts.map +0 -1
- package/dist/esm/models/operations/getcount.js +0 -56
- package/dist/esm/models/operations/getcount.js.map +0 -1
- package/dist/esm/models/operations/getmetadata.d.ts +0 -267
- package/dist/esm/models/operations/getmetadata.d.ts.map +0 -1
- package/dist/esm/models/operations/getmetadata.js +0 -226
- package/dist/esm/models/operations/getmetadata.js.map +0 -1
- package/dist/esm/models/operations/listapikeys.d.ts +0 -63
- package/dist/esm/models/operations/listapikeys.d.ts.map +0 -1
- package/dist/esm/models/operations/listapikeys.js +0 -68
- package/dist/esm/models/operations/listapikeys.js.map +0 -1
- package/dist/esm/models/operations/listmodels.d.ts +0 -88
- package/dist/esm/models/operations/listmodels.d.ts.map +0 -1
- package/dist/esm/models/operations/listmodels.js +0 -97
- package/dist/esm/models/operations/listmodels.js.map +0 -1
- package/dist/esm/models/operations/listusermodels.d.ts +0 -61
- package/dist/esm/models/operations/listusermodels.d.ts.map +0 -1
- package/dist/esm/models/operations/listusermodels.js +0 -57
- package/dist/esm/models/operations/listusermodels.js.map +0 -1
- package/dist/esm/models/operations/previewzdr.d.ts +0 -548
- package/dist/esm/models/operations/previewzdr.d.ts.map +0 -1
- package/dist/esm/models/operations/previewzdr.js +0 -617
- package/dist/esm/models/operations/previewzdr.js.map +0 -1
- package/dist/esm/models/operations/sendresponsesrequest.d.ts +0 -1187
- package/dist/esm/models/operations/sendresponsesrequest.d.ts.map +0 -1
- package/dist/esm/models/operations/sendresponsesrequest.js +0 -1264
- package/dist/esm/models/operations/sendresponsesrequest.js.map +0 -1
- package/dist/esm/models/operations/update.d.ts +0 -138
- package/dist/esm/models/operations/update.d.ts.map +0 -1
- package/dist/esm/models/operations/update.js +0 -142
- package/dist/esm/models/operations/update.js.map +0 -1
- package/dist/esm/models/responseeasyinputmessage.d.ts +0 -61
- package/dist/esm/models/responseeasyinputmessage.d.ts.map +0 -1
- package/dist/esm/models/responseeasyinputmessage.js +0 -55
- package/dist/esm/models/responseeasyinputmessage.js.map +0 -1
- package/dist/esm/models/responseformatjsonobject.d.ts +0 -55
- package/dist/esm/models/responseformatjsonobject.d.ts.map +0 -1
- package/dist/esm/models/responseformatjsonobject.js +0 -49
- package/dist/esm/models/responseformatjsonobject.js.map +0 -1
- package/dist/esm/models/responseformattext.d.ts +0 -55
- package/dist/esm/models/responseformattext.d.ts.map +0 -1
- package/dist/esm/models/responseformattext.js +0 -49
- package/dist/esm/models/responseformattext.js.map +0 -1
- package/dist/esm/models/responseformattextconfig.d.ts +0 -31
- package/dist/esm/models/responseformattextconfig.d.ts.map +0 -1
- package/dist/esm/models/responseformattextconfig.js +0 -38
- package/dist/esm/models/responseformattextconfig.js.map +0 -1
- package/dist/esm/models/responsefunctioncalloutputitem.d.ts +0 -64
- package/dist/esm/models/responsefunctioncalloutputitem.d.ts.map +0 -1
- package/dist/esm/models/responsefunctioncalloutputitem.js +0 -67
- package/dist/esm/models/responsefunctioncalloutputitem.js.map +0 -1
- package/dist/esm/models/responsefunctioncallstatus.d.ts +0 -23
- package/dist/esm/models/responsefunctioncallstatus.d.ts.map +0 -1
- package/dist/esm/models/responsefunctioncallstatus.js +0 -33
- package/dist/esm/models/responsefunctioncallstatus.js.map +0 -1
- package/dist/esm/models/responsefunctiontoolcall.d.ts +0 -66
- package/dist/esm/models/responsefunctiontoolcall.d.ts.map +0 -1
- package/dist/esm/models/responsefunctiontoolcall.js +0 -69
- package/dist/esm/models/responsefunctiontoolcall.js.map +0 -1
- package/dist/esm/models/responseimagegenerationcallstatus.d.ts +0 -24
- package/dist/esm/models/responseimagegenerationcallstatus.d.ts.map +0 -1
- package/dist/esm/models/responseimagegenerationcallstatus.js +0 -34
- package/dist/esm/models/responseimagegenerationcallstatus.js.map +0 -1
- package/dist/esm/models/responseincludable.d.ts +0 -31
- package/dist/esm/models/responseincludable.d.ts.map +0 -1
- package/dist/esm/models/responseincludable.js +0 -38
- package/dist/esm/models/responseincludable.js.map +0 -1
- package/dist/esm/models/responseinput.d.ts +0 -29
- package/dist/esm/models/responseinput.d.ts.map +0 -1
- package/dist/esm/models/responseinput.js +0 -28
- package/dist/esm/models/responseinput.js.map +0 -1
- package/dist/esm/models/responseinputcontent.d.ts +0 -43
- package/dist/esm/models/responseinputcontent.d.ts.map +0 -1
- package/dist/esm/models/responseinputcontent.js +0 -50
- package/dist/esm/models/responseinputcontent.js.map +0 -1
- package/dist/esm/models/responseinputfile.d.ts +0 -63
- package/dist/esm/models/responseinputfile.d.ts.map +0 -1
- package/dist/esm/models/responseinputfile.js +0 -70
- package/dist/esm/models/responseinputfile.js.map +0 -1
- package/dist/esm/models/responseinputimage.d.ts +0 -60
- package/dist/esm/models/responseinputimage.d.ts.map +0 -1
- package/dist/esm/models/responseinputimage.js +0 -63
- package/dist/esm/models/responseinputimage.js.map +0 -1
- package/dist/esm/models/responseinputimagedetail.d.ts +0 -23
- package/dist/esm/models/responseinputimagedetail.d.ts.map +0 -1
- package/dist/esm/models/responseinputimagedetail.js +0 -33
- package/dist/esm/models/responseinputimagedetail.js.map +0 -1
- package/dist/esm/models/responseinputitem.d.ts +0 -35
- package/dist/esm/models/responseinputitem.d.ts.map +0 -1
- package/dist/esm/models/responseinputitem.js +0 -50
- package/dist/esm/models/responseinputitem.js.map +0 -1
- package/dist/esm/models/responseinputmessagecontentunion.d.ts +0 -26
- package/dist/esm/models/responseinputmessagecontentunion.d.ts.map +0 -1
- package/dist/esm/models/responseinputmessagecontentunion.js +0 -28
- package/dist/esm/models/responseinputmessagecontentunion.js.map +0 -1
- package/dist/esm/models/responseinputmessageitem.d.ts +0 -63
- package/dist/esm/models/responseinputmessageitem.d.ts.map +0 -1
- package/dist/esm/models/responseinputmessageitem.js +0 -57
- package/dist/esm/models/responseinputmessageitem.js.map +0 -1
- package/dist/esm/models/responseinputmessageitemrole.d.ts +0 -92
- package/dist/esm/models/responseinputmessageitemrole.d.ts.map +0 -1
- package/dist/esm/models/responseinputmessageitemrole.js +0 -89
- package/dist/esm/models/responseinputmessageitemrole.js.map +0 -1
- package/dist/esm/models/responseinputmessagerole.d.ts +0 -114
- package/dist/esm/models/responseinputmessagerole.d.ts.map +0 -1
- package/dist/esm/models/responseinputmessagerole.js +0 -109
- package/dist/esm/models/responseinputmessagerole.js.map +0 -1
- package/dist/esm/models/responseinputtext.d.ts +0 -57
- package/dist/esm/models/responseinputtext.d.ts.map +0 -1
- package/dist/esm/models/responseinputtext.js +0 -51
- package/dist/esm/models/responseinputtext.js.map +0 -1
- package/dist/esm/models/responseprompt.d.ts +0 -39
- package/dist/esm/models/responseprompt.d.ts.map +0 -1
- package/dist/esm/models/responseprompt.js +0 -36
- package/dist/esm/models/responseprompt.js.map +0 -1
- package/dist/esm/models/responsereasoningconfig.d.ts +0 -61
- package/dist/esm/models/responsereasoningconfig.d.ts.map +0 -1
- package/dist/esm/models/responsereasoningconfig.js +0 -76
- package/dist/esm/models/responsereasoningconfig.js.map +0 -1
- package/dist/esm/models/responsereasoningsummarymode.d.ts +0 -23
- package/dist/esm/models/responsereasoningsummarymode.d.ts.map +0 -1
- package/dist/esm/models/responsereasoningsummarymode.js +0 -33
- package/dist/esm/models/responsereasoningsummarymode.js.map +0 -1
- package/dist/esm/models/responsesannotation.d.ts +0 -31
- package/dist/esm/models/responsesannotation.d.ts.map +0 -1
- package/dist/esm/models/responsesannotation.js +0 -38
- package/dist/esm/models/responsesannotation.js.map +0 -1
- package/dist/esm/models/responsesannotationfilecitation.d.ts +0 -58
- package/dist/esm/models/responsesannotationfilecitation.d.ts.map +0 -1
- package/dist/esm/models/responsesannotationfilecitation.js +0 -64
- package/dist/esm/models/responsesannotationfilecitation.js.map +0 -1
- package/dist/esm/models/responsesannotationfilepath.d.ts +0 -56
- package/dist/esm/models/responsesannotationfilepath.d.ts.map +0 -1
- package/dist/esm/models/responsesannotationfilepath.js +0 -62
- package/dist/esm/models/responsesannotationfilepath.js.map +0 -1
- package/dist/esm/models/responsesannotationurlcitation.d.ts +0 -60
- package/dist/esm/models/responsesannotationurlcitation.d.ts.map +0 -1
- package/dist/esm/models/responsesannotationurlcitation.js +0 -68
- package/dist/esm/models/responsesannotationurlcitation.js.map +0 -1
- package/dist/esm/models/responsesimagegenerationcall.d.ts +0 -62
- package/dist/esm/models/responsesimagegenerationcall.d.ts.map +0 -1
- package/dist/esm/models/responsesimagegenerationcall.js +0 -56
- package/dist/esm/models/responsesimagegenerationcall.js.map +0 -1
- package/dist/esm/models/responsesincompletedetails.d.ts +0 -52
- package/dist/esm/models/responsesincompletedetails.d.ts.map +0 -1
- package/dist/esm/models/responsesincompletedetails.js +0 -58
- package/dist/esm/models/responsesincompletedetails.js.map +0 -1
- package/dist/esm/models/responsesinputtokensdetails.d.ts +0 -32
- package/dist/esm/models/responsesinputtokensdetails.d.ts.map +0 -1
- package/dist/esm/models/responsesinputtokensdetails.js +0 -40
- package/dist/esm/models/responsesinputtokensdetails.js.map +0 -1
- package/dist/esm/models/responsesmessagecontent.d.ts +0 -27
- package/dist/esm/models/responsesmessagecontent.d.ts.map +0 -1
- package/dist/esm/models/responsesmessagecontent.js +0 -35
- package/dist/esm/models/responsesmessagecontent.js.map +0 -1
- package/dist/esm/models/responsesmessagestatus.d.ts +0 -92
- package/dist/esm/models/responsesmessagestatus.d.ts.map +0 -1
- package/dist/esm/models/responsesmessagestatus.js +0 -89
- package/dist/esm/models/responsesmessagestatus.js.map +0 -1
- package/dist/esm/models/responsesnonstreamingresponse.d.ts +0 -281
- package/dist/esm/models/responsesnonstreamingresponse.d.ts.map +0 -1
- package/dist/esm/models/responsesnonstreamingresponse.js +0 -313
- package/dist/esm/models/responsesnonstreamingresponse.js.map +0 -1
- package/dist/esm/models/responsesoutputitemfilesearchcall.d.ts +0 -82
- package/dist/esm/models/responsesoutputitemfilesearchcall.d.ts.map +0 -1
- package/dist/esm/models/responsesoutputitemfilesearchcall.js +0 -84
- package/dist/esm/models/responsesoutputitemfilesearchcall.js.map +0 -1
- package/dist/esm/models/responsesoutputitemfunctioncall.d.ts +0 -63
- package/dist/esm/models/responsesoutputitemfunctioncall.d.ts.map +0 -1
- package/dist/esm/models/responsesoutputitemfunctioncall.js +0 -66
- package/dist/esm/models/responsesoutputitemfunctioncall.js.map +0 -1
- package/dist/esm/models/responsesoutputitemreasoning.d.ts +0 -90
- package/dist/esm/models/responsesoutputitemreasoning.d.ts.map +0 -1
- package/dist/esm/models/responsesoutputitemreasoning.js +0 -103
- package/dist/esm/models/responsesoutputitemreasoning.js.map +0 -1
- package/dist/esm/models/responsesoutputmessage.d.ts +0 -87
- package/dist/esm/models/responsesoutputmessage.d.ts.map +0 -1
- package/dist/esm/models/responsesoutputmessage.js +0 -77
- package/dist/esm/models/responsesoutputmessage.js.map +0 -1
- package/dist/esm/models/responsesoutputtext.d.ts +0 -60
- package/dist/esm/models/responsesoutputtext.d.ts.map +0 -1
- package/dist/esm/models/responsesoutputtext.js +0 -54
- package/dist/esm/models/responsesoutputtext.js.map +0 -1
- package/dist/esm/models/responsesoutputtokensdetails.d.ts +0 -32
- package/dist/esm/models/responsesoutputtokensdetails.d.ts.map +0 -1
- package/dist/esm/models/responsesoutputtokensdetails.js +0 -40
- package/dist/esm/models/responsesoutputtokensdetails.js.map +0 -1
- package/dist/esm/models/responsesreasoningsummarytext.d.ts +0 -54
- package/dist/esm/models/responsesreasoningsummarytext.d.ts.map +0 -1
- package/dist/esm/models/responsesreasoningsummarytext.js +0 -51
- package/dist/esm/models/responsesreasoningsummarytext.js.map +0 -1
- package/dist/esm/models/responsesreasoningtextcontent.d.ts +0 -54
- package/dist/esm/models/responsesreasoningtextcontent.d.ts.map +0 -1
- package/dist/esm/models/responsesreasoningtextcontent.js +0 -51
- package/dist/esm/models/responsesreasoningtextcontent.js.map +0 -1
- package/dist/esm/models/responsesrefusalcontent.d.ts +0 -57
- package/dist/esm/models/responsesrefusalcontent.d.ts.map +0 -1
- package/dist/esm/models/responsesrefusalcontent.js +0 -51
- package/dist/esm/models/responsesrefusalcontent.js.map +0 -1
- package/dist/esm/models/responsesstreamchunkunion.d.ts +0 -2462
- package/dist/esm/models/responsesstreamchunkunion.d.ts.map +0 -1
- package/dist/esm/models/responsesstreamchunkunion.js +0 -2726
- package/dist/esm/models/responsesstreamchunkunion.js.map +0 -1
- package/dist/esm/models/responseswebsearchcalloutput.d.ts +0 -80
- package/dist/esm/models/responseswebsearchcalloutput.d.ts.map +0 -1
- package/dist/esm/models/responseswebsearchcalloutput.js +0 -82
- package/dist/esm/models/responseswebsearchcalloutput.js.map +0 -1
- package/dist/esm/models/responsetextconfig.d.ts +0 -39
- package/dist/esm/models/responsetextconfig.d.ts.map +0 -1
- package/dist/esm/models/responsetextconfig.js +0 -35
- package/dist/esm/models/responsetextconfig.js.map +0 -1
- package/dist/esm/models/responsetextverbosity.d.ts +0 -23
- package/dist/esm/models/responsetextverbosity.d.ts.map +0 -1
- package/dist/esm/models/responsetextverbosity.js +0 -33
- package/dist/esm/models/responsetextverbosity.js.map +0 -1
- package/dist/esm/models/toolchoicetypeunion.d.ts +0 -136
- package/dist/esm/models/toolchoicetypeunion.d.ts.map +0 -1
- package/dist/esm/models/toolchoicetypeunion.js +0 -130
- package/dist/esm/models/toolchoicetypeunion.js.map +0 -1
- package/dist/esm/models/toolchoiceunion.d.ts +0 -176
- package/dist/esm/models/toolchoiceunion.d.ts.map +0 -1
- package/dist/esm/models/toolchoiceunion.js +0 -164
- package/dist/esm/models/toolchoiceunion.js.map +0 -1
- package/dist/esm/models/updateapikeydata.d.ts +0 -120
- package/dist/esm/models/updateapikeydata.d.ts.map +0 -1
- package/dist/esm/models/updateapikeydata.js +0 -96
- package/dist/esm/models/updateapikeydata.js.map +0 -1
- package/dist/esm/react-query/creditsAddCoinbaseCharge.d.ts +0 -21
- package/dist/esm/react-query/creditsAddCoinbaseCharge.d.ts.map +0 -1
- package/dist/esm/react-query/creditsAddCoinbaseCharge.js +0 -39
- package/dist/esm/react-query/creditsAddCoinbaseCharge.js.map +0 -1
- package/dist/esm/react-query/creditsGet.d.ts +0 -23
- package/dist/esm/react-query/creditsGet.d.ts.map +0 -1
- package/dist/esm/react-query/creditsGet.js +0 -60
- package/dist/esm/react-query/creditsGet.js.map +0 -1
- package/dist/esm/react-query/embeddingsGenerate.d.ts +0 -23
- package/dist/esm/react-query/embeddingsGenerate.d.ts.map +0 -1
- package/dist/esm/react-query/embeddingsGenerate.js +0 -42
- package/dist/esm/react-query/embeddingsGenerate.js.map +0 -1
- package/dist/esm/react-query/endpointsPreviewZDR.d.ts +0 -23
- package/dist/esm/react-query/endpointsPreviewZDR.d.ts.map +0 -1
- package/dist/esm/react-query/endpointsPreviewZDR.js +0 -60
- package/dist/esm/react-query/endpointsPreviewZDR.js.map +0 -1
- package/dist/esm/react-query/generationsGetMetadata.d.ts +0 -30
- package/dist/esm/react-query/generationsGetMetadata.d.ts.map +0 -1
- package/dist/esm/react-query/generationsGetMetadata.js +0 -71
- package/dist/esm/react-query/generationsGetMetadata.js.map +0 -1
- package/dist/esm/react-query/modelGetParameters.d.ts +0 -38
- package/dist/esm/react-query/modelGetParameters.d.ts.map +0 -1
- package/dist/esm/react-query/modelGetParameters.js +0 -75
- package/dist/esm/react-query/modelGetParameters.js.map +0 -1
- package/dist/esm/react-query/modelsGetCount.d.ts +0 -23
- package/dist/esm/react-query/modelsGetCount.d.ts.map +0 -1
- package/dist/esm/react-query/modelsGetCount.js +0 -60
- package/dist/esm/react-query/modelsGetCount.js.map +0 -1
- package/dist/esm/react-query/modelsList.d.ts +0 -43
- package/dist/esm/react-query/modelsList.d.ts.map +0 -1
- package/dist/esm/react-query/modelsList.js +0 -71
- package/dist/esm/react-query/modelsList.js.map +0 -1
- package/dist/esm/react-query/modelsListUserModels.d.ts +0 -23
- package/dist/esm/react-query/modelsListUserModels.d.ts.map +0 -1
- package/dist/esm/react-query/modelsListUserModels.js +0 -60
- package/dist/esm/react-query/modelsListUserModels.js.map +0 -1
- package/dist/esm/react-query/oAuthCreateAuthorizationCode.d.ts +0 -23
- package/dist/esm/react-query/oAuthCreateAuthorizationCode.d.ts.map +0 -1
- package/dist/esm/react-query/oAuthCreateAuthorizationCode.js +0 -42
- package/dist/esm/react-query/oAuthCreateAuthorizationCode.js.map +0 -1
- package/dist/esm/react-query/oAuthExchangeAuthorizationCode.d.ts +0 -23
- package/dist/esm/react-query/oAuthExchangeAuthorizationCode.d.ts.map +0 -1
- package/dist/esm/react-query/oAuthExchangeAuthorizationCode.js +0 -42
- package/dist/esm/react-query/oAuthExchangeAuthorizationCode.js.map +0 -1
- package/dist/esm/sdk/embeddings.d.ts +0 -12
- package/dist/esm/sdk/embeddings.d.ts.map +0 -1
- package/dist/esm/sdk/embeddings.js +0 -18
- package/dist/esm/sdk/embeddings.js.map +0 -1
- package/dist/esm/sdk/model.d.ts +0 -9
- package/dist/esm/sdk/model.d.ts.map +0 -1
- package/dist/esm/sdk/model.js +0 -15
- package/dist/esm/sdk/model.js.map +0 -1
- package/dist/esm/sdk/oauth.d.ts +0 -46
- package/dist/esm/sdk/oauth.d.ts.map +0 -1
- package/dist/esm/sdk/oauth.js +0 -71
- package/dist/esm/sdk/oauth.js.map +0 -1
- package/docs/sdks/embeddings/README.md +0 -173
- package/docs/sdks/model/README.md +0 -117
- package/docs/sdks/oauth/README.md +0 -203
- package/src/funcs/creditsAddCoinbaseCharge.ts +0 -174
- package/src/funcs/creditsGet.ts +0 -147
- package/src/funcs/custom/oAuthCreateAuthorizationUrl.test.ts +0 -265
- package/src/funcs/custom/oAuthCreateAuthorizationUrl.ts +0 -66
- package/src/funcs/custom/oAuthCreateSHA256CodeChallenge.test.ts +0 -189
- package/src/funcs/custom/oAuthCreateSHA256CodeChallenge.ts +0 -90
- package/src/funcs/embeddingsGenerate.ts +0 -168
- package/src/funcs/endpointsPreviewZDR.ts +0 -147
- package/src/funcs/generationsGetMetadata.ts +0 -169
- package/src/funcs/modelGetParameters.ts +0 -189
- package/src/funcs/modelsGetCount.ts +0 -147
- package/src/funcs/modelsList.ts +0 -176
- package/src/funcs/modelsListUserModels.ts +0 -156
- package/src/funcs/oAuthCreateAuthorizationCode.ts +0 -169
- package/src/funcs/oAuthExchangeAuthorizationCode.ts +0 -169
- package/src/models/createapikeydata.ts +0 -222
- package/src/models/endpointslist.ts +0 -1082
- package/src/models/errors/errorresponse.ts +0 -102
- package/src/models/getapikeydata.ts +0 -218
- package/src/models/keyinfo.ts +0 -281
- package/src/models/listapikeysdata.ts +0 -217
- package/src/models/modelslist.ts +0 -1457
- package/src/models/operations/addcoinbasecharge.ts +0 -626
- package/src/models/operations/create.ts +0 -215
- package/src/models/operations/createauthorizationcode.ts +0 -315
- package/src/models/operations/delete.ts +0 -122
- package/src/models/operations/exchangeauthorizationcode.ts +0 -237
- package/src/models/operations/generate.ts +0 -1711
- package/src/models/operations/getapikey.ts +0 -131
- package/src/models/operations/getcount.ts +0 -132
- package/src/models/operations/getmetadata.ts +0 -500
- package/src/models/operations/listapikeys.ts +0 -144
- package/src/models/operations/listmodels.ts +0 -208
- package/src/models/operations/listusermodels.ts +0 -131
- package/src/models/operations/previewzdr.ts +0 -1101
- package/src/models/operations/sendresponsesrequest.ts +0 -2276
- package/src/models/operations/update.ts +0 -285
- package/src/models/responseeasyinputmessage.ts +0 -118
- package/src/models/responseformatjsonobject.ts +0 -98
- package/src/models/responseformattext.ts +0 -96
- package/src/models/responseformattextconfig.ts +0 -93
- package/src/models/responsefunctioncalloutputitem.ts +0 -131
- package/src/models/responsefunctioncallstatus.ts +0 -51
- package/src/models/responsefunctiontoolcall.ts +0 -132
- package/src/models/responseimagegenerationcallstatus.ts +0 -53
- package/src/models/responseincludable.ts +0 -57
- package/src/models/responseinput.ts +0 -63
- package/src/models/responseinputcontent.ts +0 -117
- package/src/models/responseinputfile.ts +0 -125
- package/src/models/responseinputimage.ts +0 -118
- package/src/models/responseinputimagedetail.ts +0 -51
- package/src/models/responseinputitem.ts +0 -133
- package/src/models/responseinputmessagecontentunion.ts +0 -70
- package/src/models/responseinputmessageitem.ts +0 -122
- package/src/models/responseinputmessageitemrole.ts +0 -160
- package/src/models/responseinputmessagerole.ts +0 -191
- package/src/models/responseinputtext.ts +0 -100
- package/src/models/responseprompt.ts +0 -77
- package/src/models/responsereasoningconfig.ts +0 -142
- package/src/models/responsereasoningsummarymode.ts +0 -51
- package/src/models/responsesannotation.ts +0 -93
- package/src/models/responsesannotationfilecitation.ts +0 -120
- package/src/models/responsesannotationfilepath.ts +0 -114
- package/src/models/responsesannotationurlcitation.ts +0 -125
- package/src/models/responsesimagegenerationcall.ts +0 -117
- package/src/models/responsesincompletedetails.ts +0 -114
- package/src/models/responsesinputtokensdetails.ts +0 -80
- package/src/models/responsesmessagecontent.ts +0 -80
- package/src/models/responsesmessagestatus.ts +0 -154
- package/src/models/responsesnonstreamingresponse.ts +0 -624
- package/src/models/responsesoutputitemfilesearchcall.ts +0 -165
- package/src/models/responsesoutputitemfunctioncall.ts +0 -127
- package/src/models/responsesoutputitemreasoning.ts +0 -195
- package/src/models/responsesoutputmessage.ts +0 -154
- package/src/models/responsesoutputtext.ts +0 -112
- package/src/models/responsesoutputtokensdetails.ts +0 -80
- package/src/models/responsesreasoningsummarytext.ts +0 -102
- package/src/models/responsesreasoningtextcontent.ts +0 -102
- package/src/models/responsesrefusalcontent.ts +0 -102
- package/src/models/responsesstreamchunkunion.ts +0 -5383
- package/src/models/responseswebsearchcalloutput.ts +0 -156
- package/src/models/responsetextconfig.ts +0 -87
- package/src/models/responsetextverbosity.ts +0 -49
- package/src/models/toolchoicetypeunion.ts +0 -229
- package/src/models/toolchoiceunion.ts +0 -314
- package/src/models/updateapikeydata.ts +0 -222
- package/src/react-query/creditsAddCoinbaseCharge.ts +0 -89
- package/src/react-query/creditsGet.ts +0 -116
- package/src/react-query/embeddingsGenerate.ts +0 -88
- package/src/react-query/endpointsPreviewZDR.ts +0 -118
- package/src/react-query/generationsGetMetadata.ts +0 -149
- package/src/react-query/modelGetParameters.ts +0 -173
- package/src/react-query/modelsGetCount.ts +0 -116
- package/src/react-query/modelsList.ts +0 -166
- package/src/react-query/modelsListUserModels.ts +0 -126
- package/src/react-query/oAuthCreateAuthorizationCode.ts +0 -89
- package/src/react-query/oAuthExchangeAuthorizationCode.ts +0 -89
- package/src/sdk/embeddings.ts +0 -27
- package/src/sdk/model.ts +0 -26
- package/src/sdk/oauth.ts +0 -105
- /package/dist/commonjs/funcs/{custom/oAuthCreateSHA256CodeChallenge.js → oAuthCreateSHA256CodeChallenge.js} +0 -0
- /package/dist/esm/funcs/{custom/oAuthCreateSHA256CodeChallenge.js → oAuthCreateSHA256CodeChallenge.js} +0 -0
|
@@ -1,2726 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
import * as z from "zod";
|
|
5
|
-
import { remap as remap$ } from "../lib/primitives.js";
|
|
6
|
-
import { safeParse } from "../lib/schemas.js";
|
|
7
|
-
import { catchUnrecognizedEnum, } from "../types/enums.js";
|
|
8
|
-
import { ResponsesOutputText$inboundSchema, ResponsesOutputText$outboundSchema, } from "./responsesoutputtext.js";
|
|
9
|
-
import { ResponsesUsage$inboundSchema, ResponsesUsage$outboundSchema, } from "./responsesusage.js";
|
|
10
|
-
export const TypeError = {
|
|
11
|
-
Error: "error",
|
|
12
|
-
};
|
|
13
|
-
export const TypeResponseRefusalDone = {
|
|
14
|
-
ResponseRefusalDone: "response.refusal.done",
|
|
15
|
-
};
|
|
16
|
-
export const TypeResponseRefusalDelta = {
|
|
17
|
-
ResponseRefusalDelta: "response.refusal.delta",
|
|
18
|
-
};
|
|
19
|
-
export const TypeResponseError = {
|
|
20
|
-
ResponseError: "response.error",
|
|
21
|
-
};
|
|
22
|
-
export const TypeResponseFailed = {
|
|
23
|
-
ResponseFailed: "response.failed",
|
|
24
|
-
};
|
|
25
|
-
export const StatusFailed = {
|
|
26
|
-
Failed: "failed",
|
|
27
|
-
};
|
|
28
|
-
export const TypeResponseImageGenerationCallCompleted = {
|
|
29
|
-
ResponseImageGenerationCallCompleted: "response.image_generation_call.completed",
|
|
30
|
-
};
|
|
31
|
-
export const TypeResponseImageGenerationCallPartialImage = {
|
|
32
|
-
ResponseImageGenerationCallPartialImage: "response.image_generation_call.partial_image",
|
|
33
|
-
};
|
|
34
|
-
export const TypeResponseImageGenerationCallGenerating = {
|
|
35
|
-
ResponseImageGenerationCallGenerating: "response.image_generation_call.generating",
|
|
36
|
-
};
|
|
37
|
-
export const TypeResponseImageGenerationCallInProgress = {
|
|
38
|
-
ResponseImageGenerationCallInProgress: "response.image_generation_call.in_progress",
|
|
39
|
-
};
|
|
40
|
-
export const TypeResponseWebSearchCallSearching = {
|
|
41
|
-
ResponseWebSearchCallSearching: "response.web_search_call.searching",
|
|
42
|
-
};
|
|
43
|
-
export const TypeResponseWebSearchCallInProgress = {
|
|
44
|
-
ResponseWebSearchCallInProgress: "response.web_search_call.in_progress",
|
|
45
|
-
};
|
|
46
|
-
export const TypeResponseFileSearchCallCompleted = {
|
|
47
|
-
ResponseFileSearchCallCompleted: "response.file_search_call.completed",
|
|
48
|
-
};
|
|
49
|
-
export const TypeResponseFileSearchCallSearching = {
|
|
50
|
-
ResponseFileSearchCallSearching: "response.file_search_call.searching",
|
|
51
|
-
};
|
|
52
|
-
export const TypeResponseFileSearchCallInProgress = {
|
|
53
|
-
ResponseFileSearchCallInProgress: "response.file_search_call.in_progress",
|
|
54
|
-
};
|
|
55
|
-
export const TypeResponseWebSearchCallCompleted = {
|
|
56
|
-
ResponseWebSearchCallCompleted: "response.web_search_call.completed",
|
|
57
|
-
};
|
|
58
|
-
export const TypeResponseFunctionCallArgumentsDone = {
|
|
59
|
-
ResponseFunctionCallArgumentsDone: "response.function_call_arguments.done",
|
|
60
|
-
};
|
|
61
|
-
export const TypeResponseReasoningSummaryTextDelta = {
|
|
62
|
-
ResponseReasoningSummaryTextDelta: "response.reasoning_summary_text.delta",
|
|
63
|
-
};
|
|
64
|
-
export const TypeResponseOutputTextAnnotationAdded = {
|
|
65
|
-
ResponseOutputTextAnnotationAdded: "response.output_text.annotation.added",
|
|
66
|
-
};
|
|
67
|
-
export const ResponsesStreamChunkTypeURLCitation = {
|
|
68
|
-
UrlCitation: "url_citation",
|
|
69
|
-
};
|
|
70
|
-
export const TypeResponseOutputItemAdded = {
|
|
71
|
-
ResponseOutputItemAdded: "response.output_item.added",
|
|
72
|
-
};
|
|
73
|
-
export const ItemTypeWebSearchCall2 = {
|
|
74
|
-
WebSearchCall: "web_search_call",
|
|
75
|
-
};
|
|
76
|
-
export const ItemStatusEnum4 = {
|
|
77
|
-
InProgress: "in_progress",
|
|
78
|
-
Completed: "completed",
|
|
79
|
-
Searching: "searching",
|
|
80
|
-
};
|
|
81
|
-
export const ItemTypeImageGenerationCall = {
|
|
82
|
-
ImageGenerationCall: "image_generation_call",
|
|
83
|
-
};
|
|
84
|
-
export const ItemStatusEnum3 = {
|
|
85
|
-
InProgress: "in_progress",
|
|
86
|
-
Completed: "completed",
|
|
87
|
-
Generating: "generating",
|
|
88
|
-
Failed: "failed",
|
|
89
|
-
};
|
|
90
|
-
export const ItemTypeReasoning2 = {
|
|
91
|
-
Reasoning: "reasoning",
|
|
92
|
-
};
|
|
93
|
-
export const ItemTypeSummaryText2 = {
|
|
94
|
-
SummaryText: "summary_text",
|
|
95
|
-
};
|
|
96
|
-
export const ItemTypeFunctionCall2 = {
|
|
97
|
-
FunctionCall: "function_call",
|
|
98
|
-
};
|
|
99
|
-
export const ItemTypeMessage2 = {
|
|
100
|
-
Message: "message",
|
|
101
|
-
};
|
|
102
|
-
export const TypeResponseFunctionCallArgumentsDelta = {
|
|
103
|
-
ResponseFunctionCallArgumentsDelta: "response.function_call_arguments.delta",
|
|
104
|
-
};
|
|
105
|
-
export const TypeResponseOutputItemDone = {
|
|
106
|
-
ResponseOutputItemDone: "response.output_item.done",
|
|
107
|
-
};
|
|
108
|
-
export const ItemTypeFileSearchCall = {
|
|
109
|
-
FileSearchCall: "file_search_call",
|
|
110
|
-
};
|
|
111
|
-
export const ItemStatusEnum2 = {
|
|
112
|
-
Completed: "completed",
|
|
113
|
-
Searching: "searching",
|
|
114
|
-
InProgress: "in_progress",
|
|
115
|
-
Failed: "failed",
|
|
116
|
-
};
|
|
117
|
-
export const ItemTypeWebSearchCall1 = {
|
|
118
|
-
WebSearchCall: "web_search_call",
|
|
119
|
-
};
|
|
120
|
-
export const ItemStatusEnum1 = {
|
|
121
|
-
Completed: "completed",
|
|
122
|
-
Searching: "searching",
|
|
123
|
-
InProgress: "in_progress",
|
|
124
|
-
Failed: "failed",
|
|
125
|
-
};
|
|
126
|
-
export const ItemTypeReasoning1 = {
|
|
127
|
-
Reasoning: "reasoning",
|
|
128
|
-
};
|
|
129
|
-
export const ItemTypeSummaryText1 = {
|
|
130
|
-
SummaryText: "summary_text",
|
|
131
|
-
};
|
|
132
|
-
export const ItemTypeFunctionCall1 = {
|
|
133
|
-
FunctionCall: "function_call",
|
|
134
|
-
};
|
|
135
|
-
export const ItemTypeMessage1 = {
|
|
136
|
-
Message: "message",
|
|
137
|
-
};
|
|
138
|
-
export const ResponsesStreamChunkRole = {
|
|
139
|
-
Assistant: "assistant",
|
|
140
|
-
};
|
|
141
|
-
export const StatusInProgress = {
|
|
142
|
-
InProgress: "in_progress",
|
|
143
|
-
};
|
|
144
|
-
export const StatusIncomplete = {
|
|
145
|
-
Incomplete: "incomplete",
|
|
146
|
-
};
|
|
147
|
-
export const StatusCompleted = {
|
|
148
|
-
Completed: "completed",
|
|
149
|
-
};
|
|
150
|
-
export const TypeResponseCreated = {
|
|
151
|
-
ResponseCreated: "response.created",
|
|
152
|
-
};
|
|
153
|
-
export const ResponsesStreamChunkType = {
|
|
154
|
-
ResponseCompleted: "response.completed",
|
|
155
|
-
ResponseIncomplete: "response.incomplete",
|
|
156
|
-
};
|
|
157
|
-
export const ResponsesStreamChunkReason = {
|
|
158
|
-
MaxOutputTokens: "max_output_tokens",
|
|
159
|
-
ContentFilter: "content_filter",
|
|
160
|
-
};
|
|
161
|
-
export const TypeResponseOutputTextDelta = {
|
|
162
|
-
ResponseOutputTextDelta: "response.output_text.delta",
|
|
163
|
-
};
|
|
164
|
-
/** @internal */
|
|
165
|
-
export const TypeError$inboundSchema = z
|
|
166
|
-
.nativeEnum(TypeError);
|
|
167
|
-
/** @internal */
|
|
168
|
-
export const TypeError$outboundSchema = TypeError$inboundSchema;
|
|
169
|
-
/**
|
|
170
|
-
* @internal
|
|
171
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
172
|
-
*/
|
|
173
|
-
export var TypeError$;
|
|
174
|
-
(function (TypeError$) {
|
|
175
|
-
/** @deprecated use `TypeError$inboundSchema` instead. */
|
|
176
|
-
TypeError$.inboundSchema = TypeError$inboundSchema;
|
|
177
|
-
/** @deprecated use `TypeError$outboundSchema` instead. */
|
|
178
|
-
TypeError$.outboundSchema = TypeError$outboundSchema;
|
|
179
|
-
})(TypeError$ || (TypeError$ = {}));
|
|
180
|
-
/** @internal */
|
|
181
|
-
export const ResponsesStreamChunkError2$inboundSchema = z.object({
|
|
182
|
-
code: z.string().optional(),
|
|
183
|
-
message: z.string(),
|
|
184
|
-
});
|
|
185
|
-
/** @internal */
|
|
186
|
-
export const ResponsesStreamChunkError2$outboundSchema = z.object({
|
|
187
|
-
code: z.string().optional(),
|
|
188
|
-
message: z.string(),
|
|
189
|
-
});
|
|
190
|
-
/**
|
|
191
|
-
* @internal
|
|
192
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
193
|
-
*/
|
|
194
|
-
export var ResponsesStreamChunkError2$;
|
|
195
|
-
(function (ResponsesStreamChunkError2$) {
|
|
196
|
-
/** @deprecated use `ResponsesStreamChunkError2$inboundSchema` instead. */
|
|
197
|
-
ResponsesStreamChunkError2$.inboundSchema = ResponsesStreamChunkError2$inboundSchema;
|
|
198
|
-
/** @deprecated use `ResponsesStreamChunkError2$outboundSchema` instead. */
|
|
199
|
-
ResponsesStreamChunkError2$.outboundSchema = ResponsesStreamChunkError2$outboundSchema;
|
|
200
|
-
})(ResponsesStreamChunkError2$ || (ResponsesStreamChunkError2$ = {}));
|
|
201
|
-
export function responsesStreamChunkError2ToJSON(responsesStreamChunkError2) {
|
|
202
|
-
return JSON.stringify(ResponsesStreamChunkError2$outboundSchema.parse(responsesStreamChunkError2));
|
|
203
|
-
}
|
|
204
|
-
export function responsesStreamChunkError2FromJSON(jsonString) {
|
|
205
|
-
return safeParse(jsonString, (x) => ResponsesStreamChunkError2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponsesStreamChunkError2' from JSON`);
|
|
206
|
-
}
|
|
207
|
-
/** @internal */
|
|
208
|
-
export const ResponsesStreamChunkError$inboundSchema = z.object({
|
|
209
|
-
type: TypeError$inboundSchema,
|
|
210
|
-
error: z.lazy(() => ResponsesStreamChunkError2$inboundSchema),
|
|
211
|
-
});
|
|
212
|
-
/** @internal */
|
|
213
|
-
export const ResponsesStreamChunkError$outboundSchema = z.object({
|
|
214
|
-
type: TypeError$outboundSchema,
|
|
215
|
-
error: z.lazy(() => ResponsesStreamChunkError2$outboundSchema),
|
|
216
|
-
});
|
|
217
|
-
/**
|
|
218
|
-
* @internal
|
|
219
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
220
|
-
*/
|
|
221
|
-
export var ResponsesStreamChunkError$;
|
|
222
|
-
(function (ResponsesStreamChunkError$) {
|
|
223
|
-
/** @deprecated use `ResponsesStreamChunkError$inboundSchema` instead. */
|
|
224
|
-
ResponsesStreamChunkError$.inboundSchema = ResponsesStreamChunkError$inboundSchema;
|
|
225
|
-
/** @deprecated use `ResponsesStreamChunkError$outboundSchema` instead. */
|
|
226
|
-
ResponsesStreamChunkError$.outboundSchema = ResponsesStreamChunkError$outboundSchema;
|
|
227
|
-
})(ResponsesStreamChunkError$ || (ResponsesStreamChunkError$ = {}));
|
|
228
|
-
export function responsesStreamChunkErrorToJSON(responsesStreamChunkError) {
|
|
229
|
-
return JSON.stringify(ResponsesStreamChunkError$outboundSchema.parse(responsesStreamChunkError));
|
|
230
|
-
}
|
|
231
|
-
export function responsesStreamChunkErrorFromJSON(jsonString) {
|
|
232
|
-
return safeParse(jsonString, (x) => ResponsesStreamChunkError$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponsesStreamChunkError' from JSON`);
|
|
233
|
-
}
|
|
234
|
-
/** @internal */
|
|
235
|
-
export const TypeResponseRefusalDone$inboundSchema = z.nativeEnum(TypeResponseRefusalDone);
|
|
236
|
-
/** @internal */
|
|
237
|
-
export const TypeResponseRefusalDone$outboundSchema = TypeResponseRefusalDone$inboundSchema;
|
|
238
|
-
/**
|
|
239
|
-
* @internal
|
|
240
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
241
|
-
*/
|
|
242
|
-
export var TypeResponseRefusalDone$;
|
|
243
|
-
(function (TypeResponseRefusalDone$) {
|
|
244
|
-
/** @deprecated use `TypeResponseRefusalDone$inboundSchema` instead. */
|
|
245
|
-
TypeResponseRefusalDone$.inboundSchema = TypeResponseRefusalDone$inboundSchema;
|
|
246
|
-
/** @deprecated use `TypeResponseRefusalDone$outboundSchema` instead. */
|
|
247
|
-
TypeResponseRefusalDone$.outboundSchema = TypeResponseRefusalDone$outboundSchema;
|
|
248
|
-
})(TypeResponseRefusalDone$ || (TypeResponseRefusalDone$ = {}));
|
|
249
|
-
/** @internal */
|
|
250
|
-
export const ResponsesStreamChunkResponseRefusalDone$inboundSchema = z.object({
|
|
251
|
-
type: TypeResponseRefusalDone$inboundSchema,
|
|
252
|
-
item_id: z.string(),
|
|
253
|
-
output_index: z.number(),
|
|
254
|
-
sequence_number: z.number(),
|
|
255
|
-
refusal: z.string(),
|
|
256
|
-
}).transform((v) => {
|
|
257
|
-
return remap$(v, {
|
|
258
|
-
"item_id": "itemId",
|
|
259
|
-
"output_index": "outputIndex",
|
|
260
|
-
"sequence_number": "sequenceNumber",
|
|
261
|
-
});
|
|
262
|
-
});
|
|
263
|
-
/** @internal */
|
|
264
|
-
export const ResponsesStreamChunkResponseRefusalDone$outboundSchema = z.object({
|
|
265
|
-
type: TypeResponseRefusalDone$outboundSchema,
|
|
266
|
-
itemId: z.string(),
|
|
267
|
-
outputIndex: z.number(),
|
|
268
|
-
sequenceNumber: z.number(),
|
|
269
|
-
refusal: z.string(),
|
|
270
|
-
}).transform((v) => {
|
|
271
|
-
return remap$(v, {
|
|
272
|
-
itemId: "item_id",
|
|
273
|
-
outputIndex: "output_index",
|
|
274
|
-
sequenceNumber: "sequence_number",
|
|
275
|
-
});
|
|
276
|
-
});
|
|
277
|
-
/**
|
|
278
|
-
* @internal
|
|
279
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
280
|
-
*/
|
|
281
|
-
export var ResponsesStreamChunkResponseRefusalDone$;
|
|
282
|
-
(function (ResponsesStreamChunkResponseRefusalDone$) {
|
|
283
|
-
/** @deprecated use `ResponsesStreamChunkResponseRefusalDone$inboundSchema` instead. */
|
|
284
|
-
ResponsesStreamChunkResponseRefusalDone$.inboundSchema = ResponsesStreamChunkResponseRefusalDone$inboundSchema;
|
|
285
|
-
/** @deprecated use `ResponsesStreamChunkResponseRefusalDone$outboundSchema` instead. */
|
|
286
|
-
ResponsesStreamChunkResponseRefusalDone$.outboundSchema = ResponsesStreamChunkResponseRefusalDone$outboundSchema;
|
|
287
|
-
})(ResponsesStreamChunkResponseRefusalDone$ || (ResponsesStreamChunkResponseRefusalDone$ = {}));
|
|
288
|
-
export function responsesStreamChunkResponseRefusalDoneToJSON(responsesStreamChunkResponseRefusalDone) {
|
|
289
|
-
return JSON.stringify(ResponsesStreamChunkResponseRefusalDone$outboundSchema.parse(responsesStreamChunkResponseRefusalDone));
|
|
290
|
-
}
|
|
291
|
-
export function responsesStreamChunkResponseRefusalDoneFromJSON(jsonString) {
|
|
292
|
-
return safeParse(jsonString, (x) => ResponsesStreamChunkResponseRefusalDone$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponsesStreamChunkResponseRefusalDone' from JSON`);
|
|
293
|
-
}
|
|
294
|
-
/** @internal */
|
|
295
|
-
export const TypeResponseRefusalDelta$inboundSchema = z.nativeEnum(TypeResponseRefusalDelta);
|
|
296
|
-
/** @internal */
|
|
297
|
-
export const TypeResponseRefusalDelta$outboundSchema = TypeResponseRefusalDelta$inboundSchema;
|
|
298
|
-
/**
|
|
299
|
-
* @internal
|
|
300
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
301
|
-
*/
|
|
302
|
-
export var TypeResponseRefusalDelta$;
|
|
303
|
-
(function (TypeResponseRefusalDelta$) {
|
|
304
|
-
/** @deprecated use `TypeResponseRefusalDelta$inboundSchema` instead. */
|
|
305
|
-
TypeResponseRefusalDelta$.inboundSchema = TypeResponseRefusalDelta$inboundSchema;
|
|
306
|
-
/** @deprecated use `TypeResponseRefusalDelta$outboundSchema` instead. */
|
|
307
|
-
TypeResponseRefusalDelta$.outboundSchema = TypeResponseRefusalDelta$outboundSchema;
|
|
308
|
-
})(TypeResponseRefusalDelta$ || (TypeResponseRefusalDelta$ = {}));
|
|
309
|
-
/** @internal */
|
|
310
|
-
export const ResponsesStreamChunkResponseRefusalDelta$inboundSchema = z.object({
|
|
311
|
-
type: TypeResponseRefusalDelta$inboundSchema,
|
|
312
|
-
item_id: z.string(),
|
|
313
|
-
output_index: z.number(),
|
|
314
|
-
sequence_number: z.number(),
|
|
315
|
-
delta: z.string(),
|
|
316
|
-
}).transform((v) => {
|
|
317
|
-
return remap$(v, {
|
|
318
|
-
"item_id": "itemId",
|
|
319
|
-
"output_index": "outputIndex",
|
|
320
|
-
"sequence_number": "sequenceNumber",
|
|
321
|
-
});
|
|
322
|
-
});
|
|
323
|
-
/** @internal */
|
|
324
|
-
export const ResponsesStreamChunkResponseRefusalDelta$outboundSchema = z.object({
|
|
325
|
-
type: TypeResponseRefusalDelta$outboundSchema,
|
|
326
|
-
itemId: z.string(),
|
|
327
|
-
outputIndex: z.number(),
|
|
328
|
-
sequenceNumber: z.number(),
|
|
329
|
-
delta: z.string(),
|
|
330
|
-
}).transform((v) => {
|
|
331
|
-
return remap$(v, {
|
|
332
|
-
itemId: "item_id",
|
|
333
|
-
outputIndex: "output_index",
|
|
334
|
-
sequenceNumber: "sequence_number",
|
|
335
|
-
});
|
|
336
|
-
});
|
|
337
|
-
/**
|
|
338
|
-
* @internal
|
|
339
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
340
|
-
*/
|
|
341
|
-
export var ResponsesStreamChunkResponseRefusalDelta$;
|
|
342
|
-
(function (ResponsesStreamChunkResponseRefusalDelta$) {
|
|
343
|
-
/** @deprecated use `ResponsesStreamChunkResponseRefusalDelta$inboundSchema` instead. */
|
|
344
|
-
ResponsesStreamChunkResponseRefusalDelta$.inboundSchema = ResponsesStreamChunkResponseRefusalDelta$inboundSchema;
|
|
345
|
-
/** @deprecated use `ResponsesStreamChunkResponseRefusalDelta$outboundSchema` instead. */
|
|
346
|
-
ResponsesStreamChunkResponseRefusalDelta$.outboundSchema = ResponsesStreamChunkResponseRefusalDelta$outboundSchema;
|
|
347
|
-
})(ResponsesStreamChunkResponseRefusalDelta$ || (ResponsesStreamChunkResponseRefusalDelta$ = {}));
|
|
348
|
-
export function responsesStreamChunkResponseRefusalDeltaToJSON(responsesStreamChunkResponseRefusalDelta) {
|
|
349
|
-
return JSON.stringify(ResponsesStreamChunkResponseRefusalDelta$outboundSchema.parse(responsesStreamChunkResponseRefusalDelta));
|
|
350
|
-
}
|
|
351
|
-
export function responsesStreamChunkResponseRefusalDeltaFromJSON(jsonString) {
|
|
352
|
-
return safeParse(jsonString, (x) => ResponsesStreamChunkResponseRefusalDelta$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponsesStreamChunkResponseRefusalDelta' from JSON`);
|
|
353
|
-
}
|
|
354
|
-
/** @internal */
|
|
355
|
-
export const TypeResponseError$inboundSchema = z.nativeEnum(TypeResponseError);
|
|
356
|
-
/** @internal */
|
|
357
|
-
export const TypeResponseError$outboundSchema = TypeResponseError$inboundSchema;
|
|
358
|
-
/**
|
|
359
|
-
* @internal
|
|
360
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
361
|
-
*/
|
|
362
|
-
export var TypeResponseError$;
|
|
363
|
-
(function (TypeResponseError$) {
|
|
364
|
-
/** @deprecated use `TypeResponseError$inboundSchema` instead. */
|
|
365
|
-
TypeResponseError$.inboundSchema = TypeResponseError$inboundSchema;
|
|
366
|
-
/** @deprecated use `TypeResponseError$outboundSchema` instead. */
|
|
367
|
-
TypeResponseError$.outboundSchema = TypeResponseError$outboundSchema;
|
|
368
|
-
})(TypeResponseError$ || (TypeResponseError$ = {}));
|
|
369
|
-
/** @internal */
|
|
370
|
-
export const ResponsesStreamChunkError1$inboundSchema = z.object({
|
|
371
|
-
code: z.string().optional(),
|
|
372
|
-
message: z.string(),
|
|
373
|
-
});
|
|
374
|
-
/** @internal */
|
|
375
|
-
export const ResponsesStreamChunkError1$outboundSchema = z.object({
|
|
376
|
-
code: z.string().optional(),
|
|
377
|
-
message: z.string(),
|
|
378
|
-
});
|
|
379
|
-
/**
|
|
380
|
-
* @internal
|
|
381
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
382
|
-
*/
|
|
383
|
-
export var ResponsesStreamChunkError1$;
|
|
384
|
-
(function (ResponsesStreamChunkError1$) {
|
|
385
|
-
/** @deprecated use `ResponsesStreamChunkError1$inboundSchema` instead. */
|
|
386
|
-
ResponsesStreamChunkError1$.inboundSchema = ResponsesStreamChunkError1$inboundSchema;
|
|
387
|
-
/** @deprecated use `ResponsesStreamChunkError1$outboundSchema` instead. */
|
|
388
|
-
ResponsesStreamChunkError1$.outboundSchema = ResponsesStreamChunkError1$outboundSchema;
|
|
389
|
-
})(ResponsesStreamChunkError1$ || (ResponsesStreamChunkError1$ = {}));
|
|
390
|
-
export function responsesStreamChunkError1ToJSON(responsesStreamChunkError1) {
|
|
391
|
-
return JSON.stringify(ResponsesStreamChunkError1$outboundSchema.parse(responsesStreamChunkError1));
|
|
392
|
-
}
|
|
393
|
-
export function responsesStreamChunkError1FromJSON(jsonString) {
|
|
394
|
-
return safeParse(jsonString, (x) => ResponsesStreamChunkError1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponsesStreamChunkError1' from JSON`);
|
|
395
|
-
}
|
|
396
|
-
/** @internal */
|
|
397
|
-
export const ResponsesStreamChunkResponseError$inboundSchema = z.object({
|
|
398
|
-
type: TypeResponseError$inboundSchema,
|
|
399
|
-
error: z.lazy(() => ResponsesStreamChunkError1$inboundSchema),
|
|
400
|
-
});
|
|
401
|
-
/** @internal */
|
|
402
|
-
export const ResponsesStreamChunkResponseError$outboundSchema = z.object({
|
|
403
|
-
type: TypeResponseError$outboundSchema,
|
|
404
|
-
error: z.lazy(() => ResponsesStreamChunkError1$outboundSchema),
|
|
405
|
-
});
|
|
406
|
-
/**
|
|
407
|
-
* @internal
|
|
408
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
409
|
-
*/
|
|
410
|
-
export var ResponsesStreamChunkResponseError$;
|
|
411
|
-
(function (ResponsesStreamChunkResponseError$) {
|
|
412
|
-
/** @deprecated use `ResponsesStreamChunkResponseError$inboundSchema` instead. */
|
|
413
|
-
ResponsesStreamChunkResponseError$.inboundSchema = ResponsesStreamChunkResponseError$inboundSchema;
|
|
414
|
-
/** @deprecated use `ResponsesStreamChunkResponseError$outboundSchema` instead. */
|
|
415
|
-
ResponsesStreamChunkResponseError$.outboundSchema = ResponsesStreamChunkResponseError$outboundSchema;
|
|
416
|
-
})(ResponsesStreamChunkResponseError$ || (ResponsesStreamChunkResponseError$ = {}));
|
|
417
|
-
export function responsesStreamChunkResponseErrorToJSON(responsesStreamChunkResponseError) {
|
|
418
|
-
return JSON.stringify(ResponsesStreamChunkResponseError$outboundSchema.parse(responsesStreamChunkResponseError));
|
|
419
|
-
}
|
|
420
|
-
export function responsesStreamChunkResponseErrorFromJSON(jsonString) {
|
|
421
|
-
return safeParse(jsonString, (x) => ResponsesStreamChunkResponseError$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponsesStreamChunkResponseError' from JSON`);
|
|
422
|
-
}
|
|
423
|
-
/** @internal */
|
|
424
|
-
export const TypeResponseFailed$inboundSchema = z.nativeEnum(TypeResponseFailed);
|
|
425
|
-
/** @internal */
|
|
426
|
-
export const TypeResponseFailed$outboundSchema = TypeResponseFailed$inboundSchema;
|
|
427
|
-
/**
|
|
428
|
-
* @internal
|
|
429
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
430
|
-
*/
|
|
431
|
-
export var TypeResponseFailed$;
|
|
432
|
-
(function (TypeResponseFailed$) {
|
|
433
|
-
/** @deprecated use `TypeResponseFailed$inboundSchema` instead. */
|
|
434
|
-
TypeResponseFailed$.inboundSchema = TypeResponseFailed$inboundSchema;
|
|
435
|
-
/** @deprecated use `TypeResponseFailed$outboundSchema` instead. */
|
|
436
|
-
TypeResponseFailed$.outboundSchema = TypeResponseFailed$outboundSchema;
|
|
437
|
-
})(TypeResponseFailed$ || (TypeResponseFailed$ = {}));
|
|
438
|
-
/** @internal */
|
|
439
|
-
export const StatusFailed$inboundSchema = z.nativeEnum(StatusFailed);
|
|
440
|
-
/** @internal */
|
|
441
|
-
export const StatusFailed$outboundSchema = StatusFailed$inboundSchema;
|
|
442
|
-
/**
|
|
443
|
-
* @internal
|
|
444
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
445
|
-
*/
|
|
446
|
-
export var StatusFailed$;
|
|
447
|
-
(function (StatusFailed$) {
|
|
448
|
-
/** @deprecated use `StatusFailed$inboundSchema` instead. */
|
|
449
|
-
StatusFailed$.inboundSchema = StatusFailed$inboundSchema;
|
|
450
|
-
/** @deprecated use `StatusFailed$outboundSchema` instead. */
|
|
451
|
-
StatusFailed$.outboundSchema = StatusFailed$outboundSchema;
|
|
452
|
-
})(StatusFailed$ || (StatusFailed$ = {}));
|
|
453
|
-
/** @internal */
|
|
454
|
-
export const ErrorFailed$inboundSchema = z.object({
|
|
455
|
-
code: z.string(),
|
|
456
|
-
message: z.string(),
|
|
457
|
-
});
|
|
458
|
-
/** @internal */
|
|
459
|
-
export const ErrorFailed$outboundSchema = z.object({
|
|
460
|
-
code: z.string(),
|
|
461
|
-
message: z.string(),
|
|
462
|
-
});
|
|
463
|
-
/**
|
|
464
|
-
* @internal
|
|
465
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
466
|
-
*/
|
|
467
|
-
export var ErrorFailed$;
|
|
468
|
-
(function (ErrorFailed$) {
|
|
469
|
-
/** @deprecated use `ErrorFailed$inboundSchema` instead. */
|
|
470
|
-
ErrorFailed$.inboundSchema = ErrorFailed$inboundSchema;
|
|
471
|
-
/** @deprecated use `ErrorFailed$outboundSchema` instead. */
|
|
472
|
-
ErrorFailed$.outboundSchema = ErrorFailed$outboundSchema;
|
|
473
|
-
})(ErrorFailed$ || (ErrorFailed$ = {}));
|
|
474
|
-
export function errorFailedToJSON(errorFailed) {
|
|
475
|
-
return JSON.stringify(ErrorFailed$outboundSchema.parse(errorFailed));
|
|
476
|
-
}
|
|
477
|
-
export function errorFailedFromJSON(jsonString) {
|
|
478
|
-
return safeParse(jsonString, (x) => ErrorFailed$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ErrorFailed' from JSON`);
|
|
479
|
-
}
|
|
480
|
-
/** @internal */
|
|
481
|
-
export const ResponseFailed$inboundSchema = z.object({
|
|
482
|
-
id: z.string(),
|
|
483
|
-
status: StatusFailed$inboundSchema,
|
|
484
|
-
error: z.lazy(() => ErrorFailed$inboundSchema),
|
|
485
|
-
});
|
|
486
|
-
/** @internal */
|
|
487
|
-
export const ResponseFailed$outboundSchema = z.object({
|
|
488
|
-
id: z.string(),
|
|
489
|
-
status: StatusFailed$outboundSchema,
|
|
490
|
-
error: z.lazy(() => ErrorFailed$outboundSchema),
|
|
491
|
-
});
|
|
492
|
-
/**
|
|
493
|
-
* @internal
|
|
494
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
495
|
-
*/
|
|
496
|
-
export var ResponseFailed$;
|
|
497
|
-
(function (ResponseFailed$) {
|
|
498
|
-
/** @deprecated use `ResponseFailed$inboundSchema` instead. */
|
|
499
|
-
ResponseFailed$.inboundSchema = ResponseFailed$inboundSchema;
|
|
500
|
-
/** @deprecated use `ResponseFailed$outboundSchema` instead. */
|
|
501
|
-
ResponseFailed$.outboundSchema = ResponseFailed$outboundSchema;
|
|
502
|
-
})(ResponseFailed$ || (ResponseFailed$ = {}));
|
|
503
|
-
export function responseFailedToJSON(responseFailed) {
|
|
504
|
-
return JSON.stringify(ResponseFailed$outboundSchema.parse(responseFailed));
|
|
505
|
-
}
|
|
506
|
-
export function responseFailedFromJSON(jsonString) {
|
|
507
|
-
return safeParse(jsonString, (x) => ResponseFailed$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponseFailed' from JSON`);
|
|
508
|
-
}
|
|
509
|
-
/** @internal */
|
|
510
|
-
export const ResponsesStreamChunkResponseFailed$inboundSchema = z.object({
|
|
511
|
-
type: TypeResponseFailed$inboundSchema,
|
|
512
|
-
response: z.lazy(() => ResponseFailed$inboundSchema),
|
|
513
|
-
});
|
|
514
|
-
/** @internal */
|
|
515
|
-
export const ResponsesStreamChunkResponseFailed$outboundSchema = z.object({
|
|
516
|
-
type: TypeResponseFailed$outboundSchema,
|
|
517
|
-
response: z.lazy(() => ResponseFailed$outboundSchema),
|
|
518
|
-
});
|
|
519
|
-
/**
|
|
520
|
-
* @internal
|
|
521
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
522
|
-
*/
|
|
523
|
-
export var ResponsesStreamChunkResponseFailed$;
|
|
524
|
-
(function (ResponsesStreamChunkResponseFailed$) {
|
|
525
|
-
/** @deprecated use `ResponsesStreamChunkResponseFailed$inboundSchema` instead. */
|
|
526
|
-
ResponsesStreamChunkResponseFailed$.inboundSchema = ResponsesStreamChunkResponseFailed$inboundSchema;
|
|
527
|
-
/** @deprecated use `ResponsesStreamChunkResponseFailed$outboundSchema` instead. */
|
|
528
|
-
ResponsesStreamChunkResponseFailed$.outboundSchema = ResponsesStreamChunkResponseFailed$outboundSchema;
|
|
529
|
-
})(ResponsesStreamChunkResponseFailed$ || (ResponsesStreamChunkResponseFailed$ = {}));
|
|
530
|
-
export function responsesStreamChunkResponseFailedToJSON(responsesStreamChunkResponseFailed) {
|
|
531
|
-
return JSON.stringify(ResponsesStreamChunkResponseFailed$outboundSchema.parse(responsesStreamChunkResponseFailed));
|
|
532
|
-
}
|
|
533
|
-
export function responsesStreamChunkResponseFailedFromJSON(jsonString) {
|
|
534
|
-
return safeParse(jsonString, (x) => ResponsesStreamChunkResponseFailed$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponsesStreamChunkResponseFailed' from JSON`);
|
|
535
|
-
}
|
|
536
|
-
/** @internal */
|
|
537
|
-
export const TypeResponseImageGenerationCallCompleted$inboundSchema = z
|
|
538
|
-
.nativeEnum(TypeResponseImageGenerationCallCompleted);
|
|
539
|
-
/** @internal */
|
|
540
|
-
export const TypeResponseImageGenerationCallCompleted$outboundSchema = TypeResponseImageGenerationCallCompleted$inboundSchema;
|
|
541
|
-
/**
|
|
542
|
-
* @internal
|
|
543
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
544
|
-
*/
|
|
545
|
-
export var TypeResponseImageGenerationCallCompleted$;
|
|
546
|
-
(function (TypeResponseImageGenerationCallCompleted$) {
|
|
547
|
-
/** @deprecated use `TypeResponseImageGenerationCallCompleted$inboundSchema` instead. */
|
|
548
|
-
TypeResponseImageGenerationCallCompleted$.inboundSchema = TypeResponseImageGenerationCallCompleted$inboundSchema;
|
|
549
|
-
/** @deprecated use `TypeResponseImageGenerationCallCompleted$outboundSchema` instead. */
|
|
550
|
-
TypeResponseImageGenerationCallCompleted$.outboundSchema = TypeResponseImageGenerationCallCompleted$outboundSchema;
|
|
551
|
-
})(TypeResponseImageGenerationCallCompleted$ || (TypeResponseImageGenerationCallCompleted$ = {}));
|
|
552
|
-
/** @internal */
|
|
553
|
-
export const ResponsesStreamChunkResponseImageGenerationCallCompleted$inboundSchema = z.object({
|
|
554
|
-
type: TypeResponseImageGenerationCallCompleted$inboundSchema,
|
|
555
|
-
item_id: z.string(),
|
|
556
|
-
output_index: z.number(),
|
|
557
|
-
sequence_number: z.number(),
|
|
558
|
-
}).transform((v) => {
|
|
559
|
-
return remap$(v, {
|
|
560
|
-
"item_id": "itemId",
|
|
561
|
-
"output_index": "outputIndex",
|
|
562
|
-
"sequence_number": "sequenceNumber",
|
|
563
|
-
});
|
|
564
|
-
});
|
|
565
|
-
/** @internal */
|
|
566
|
-
export const ResponsesStreamChunkResponseImageGenerationCallCompleted$outboundSchema = z.object({
|
|
567
|
-
type: TypeResponseImageGenerationCallCompleted$outboundSchema,
|
|
568
|
-
itemId: z.string(),
|
|
569
|
-
outputIndex: z.number(),
|
|
570
|
-
sequenceNumber: z.number(),
|
|
571
|
-
}).transform((v) => {
|
|
572
|
-
return remap$(v, {
|
|
573
|
-
itemId: "item_id",
|
|
574
|
-
outputIndex: "output_index",
|
|
575
|
-
sequenceNumber: "sequence_number",
|
|
576
|
-
});
|
|
577
|
-
});
|
|
578
|
-
/**
|
|
579
|
-
* @internal
|
|
580
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
581
|
-
*/
|
|
582
|
-
export var ResponsesStreamChunkResponseImageGenerationCallCompleted$;
|
|
583
|
-
(function (ResponsesStreamChunkResponseImageGenerationCallCompleted$) {
|
|
584
|
-
/** @deprecated use `ResponsesStreamChunkResponseImageGenerationCallCompleted$inboundSchema` instead. */
|
|
585
|
-
ResponsesStreamChunkResponseImageGenerationCallCompleted$.inboundSchema = ResponsesStreamChunkResponseImageGenerationCallCompleted$inboundSchema;
|
|
586
|
-
/** @deprecated use `ResponsesStreamChunkResponseImageGenerationCallCompleted$outboundSchema` instead. */
|
|
587
|
-
ResponsesStreamChunkResponseImageGenerationCallCompleted$.outboundSchema = ResponsesStreamChunkResponseImageGenerationCallCompleted$outboundSchema;
|
|
588
|
-
})(ResponsesStreamChunkResponseImageGenerationCallCompleted$ || (ResponsesStreamChunkResponseImageGenerationCallCompleted$ = {}));
|
|
589
|
-
export function responsesStreamChunkResponseImageGenerationCallCompletedToJSON(responsesStreamChunkResponseImageGenerationCallCompleted) {
|
|
590
|
-
return JSON.stringify(ResponsesStreamChunkResponseImageGenerationCallCompleted$outboundSchema
|
|
591
|
-
.parse(responsesStreamChunkResponseImageGenerationCallCompleted));
|
|
592
|
-
}
|
|
593
|
-
export function responsesStreamChunkResponseImageGenerationCallCompletedFromJSON(jsonString) {
|
|
594
|
-
return safeParse(jsonString, (x) => ResponsesStreamChunkResponseImageGenerationCallCompleted$inboundSchema
|
|
595
|
-
.parse(JSON.parse(x)), `Failed to parse 'ResponsesStreamChunkResponseImageGenerationCallCompleted' from JSON`);
|
|
596
|
-
}
|
|
597
|
-
/** @internal */
|
|
598
|
-
export const TypeResponseImageGenerationCallPartialImage$inboundSchema = z
|
|
599
|
-
.nativeEnum(TypeResponseImageGenerationCallPartialImage);
|
|
600
|
-
/** @internal */
|
|
601
|
-
export const TypeResponseImageGenerationCallPartialImage$outboundSchema = TypeResponseImageGenerationCallPartialImage$inboundSchema;
|
|
602
|
-
/**
|
|
603
|
-
* @internal
|
|
604
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
605
|
-
*/
|
|
606
|
-
export var TypeResponseImageGenerationCallPartialImage$;
|
|
607
|
-
(function (TypeResponseImageGenerationCallPartialImage$) {
|
|
608
|
-
/** @deprecated use `TypeResponseImageGenerationCallPartialImage$inboundSchema` instead. */
|
|
609
|
-
TypeResponseImageGenerationCallPartialImage$.inboundSchema = TypeResponseImageGenerationCallPartialImage$inboundSchema;
|
|
610
|
-
/** @deprecated use `TypeResponseImageGenerationCallPartialImage$outboundSchema` instead. */
|
|
611
|
-
TypeResponseImageGenerationCallPartialImage$.outboundSchema = TypeResponseImageGenerationCallPartialImage$outboundSchema;
|
|
612
|
-
})(TypeResponseImageGenerationCallPartialImage$ || (TypeResponseImageGenerationCallPartialImage$ = {}));
|
|
613
|
-
/** @internal */
|
|
614
|
-
export const ResponsesStreamChunkResponseImageGenerationCallPartialImage$inboundSchema = z.object({
|
|
615
|
-
type: TypeResponseImageGenerationCallPartialImage$inboundSchema,
|
|
616
|
-
item_id: z.string(),
|
|
617
|
-
output_index: z.number(),
|
|
618
|
-
sequence_number: z.number(),
|
|
619
|
-
partial_image_b64: z.string(),
|
|
620
|
-
partial_image_index: z.number(),
|
|
621
|
-
}).transform((v) => {
|
|
622
|
-
return remap$(v, {
|
|
623
|
-
"item_id": "itemId",
|
|
624
|
-
"output_index": "outputIndex",
|
|
625
|
-
"sequence_number": "sequenceNumber",
|
|
626
|
-
"partial_image_b64": "partialImageB64",
|
|
627
|
-
"partial_image_index": "partialImageIndex",
|
|
628
|
-
});
|
|
629
|
-
});
|
|
630
|
-
/** @internal */
|
|
631
|
-
export const ResponsesStreamChunkResponseImageGenerationCallPartialImage$outboundSchema = z.object({
|
|
632
|
-
type: TypeResponseImageGenerationCallPartialImage$outboundSchema,
|
|
633
|
-
itemId: z.string(),
|
|
634
|
-
outputIndex: z.number(),
|
|
635
|
-
sequenceNumber: z.number(),
|
|
636
|
-
partialImageB64: z.string(),
|
|
637
|
-
partialImageIndex: z.number(),
|
|
638
|
-
}).transform((v) => {
|
|
639
|
-
return remap$(v, {
|
|
640
|
-
itemId: "item_id",
|
|
641
|
-
outputIndex: "output_index",
|
|
642
|
-
sequenceNumber: "sequence_number",
|
|
643
|
-
partialImageB64: "partial_image_b64",
|
|
644
|
-
partialImageIndex: "partial_image_index",
|
|
645
|
-
});
|
|
646
|
-
});
|
|
647
|
-
/**
|
|
648
|
-
* @internal
|
|
649
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
650
|
-
*/
|
|
651
|
-
export var ResponsesStreamChunkResponseImageGenerationCallPartialImage$;
|
|
652
|
-
(function (ResponsesStreamChunkResponseImageGenerationCallPartialImage$) {
|
|
653
|
-
/** @deprecated use `ResponsesStreamChunkResponseImageGenerationCallPartialImage$inboundSchema` instead. */
|
|
654
|
-
ResponsesStreamChunkResponseImageGenerationCallPartialImage$.inboundSchema = ResponsesStreamChunkResponseImageGenerationCallPartialImage$inboundSchema;
|
|
655
|
-
/** @deprecated use `ResponsesStreamChunkResponseImageGenerationCallPartialImage$outboundSchema` instead. */
|
|
656
|
-
ResponsesStreamChunkResponseImageGenerationCallPartialImage$.outboundSchema = ResponsesStreamChunkResponseImageGenerationCallPartialImage$outboundSchema;
|
|
657
|
-
})(ResponsesStreamChunkResponseImageGenerationCallPartialImage$ || (ResponsesStreamChunkResponseImageGenerationCallPartialImage$ = {}));
|
|
658
|
-
export function responsesStreamChunkResponseImageGenerationCallPartialImageToJSON(responsesStreamChunkResponseImageGenerationCallPartialImage) {
|
|
659
|
-
return JSON.stringify(ResponsesStreamChunkResponseImageGenerationCallPartialImage$outboundSchema
|
|
660
|
-
.parse(responsesStreamChunkResponseImageGenerationCallPartialImage));
|
|
661
|
-
}
|
|
662
|
-
export function responsesStreamChunkResponseImageGenerationCallPartialImageFromJSON(jsonString) {
|
|
663
|
-
return safeParse(jsonString, (x) => ResponsesStreamChunkResponseImageGenerationCallPartialImage$inboundSchema
|
|
664
|
-
.parse(JSON.parse(x)), `Failed to parse 'ResponsesStreamChunkResponseImageGenerationCallPartialImage' from JSON`);
|
|
665
|
-
}
|
|
666
|
-
/** @internal */
|
|
667
|
-
export const TypeResponseImageGenerationCallGenerating$inboundSchema = z
|
|
668
|
-
.nativeEnum(TypeResponseImageGenerationCallGenerating);
|
|
669
|
-
/** @internal */
|
|
670
|
-
export const TypeResponseImageGenerationCallGenerating$outboundSchema = TypeResponseImageGenerationCallGenerating$inboundSchema;
|
|
671
|
-
/**
|
|
672
|
-
* @internal
|
|
673
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
674
|
-
*/
|
|
675
|
-
export var TypeResponseImageGenerationCallGenerating$;
|
|
676
|
-
(function (TypeResponseImageGenerationCallGenerating$) {
|
|
677
|
-
/** @deprecated use `TypeResponseImageGenerationCallGenerating$inboundSchema` instead. */
|
|
678
|
-
TypeResponseImageGenerationCallGenerating$.inboundSchema = TypeResponseImageGenerationCallGenerating$inboundSchema;
|
|
679
|
-
/** @deprecated use `TypeResponseImageGenerationCallGenerating$outboundSchema` instead. */
|
|
680
|
-
TypeResponseImageGenerationCallGenerating$.outboundSchema = TypeResponseImageGenerationCallGenerating$outboundSchema;
|
|
681
|
-
})(TypeResponseImageGenerationCallGenerating$ || (TypeResponseImageGenerationCallGenerating$ = {}));
|
|
682
|
-
/** @internal */
|
|
683
|
-
export const ResponsesStreamChunkResponseImageGenerationCallGenerating$inboundSchema = z.object({
|
|
684
|
-
type: TypeResponseImageGenerationCallGenerating$inboundSchema,
|
|
685
|
-
item_id: z.string(),
|
|
686
|
-
output_index: z.number(),
|
|
687
|
-
sequence_number: z.number(),
|
|
688
|
-
}).transform((v) => {
|
|
689
|
-
return remap$(v, {
|
|
690
|
-
"item_id": "itemId",
|
|
691
|
-
"output_index": "outputIndex",
|
|
692
|
-
"sequence_number": "sequenceNumber",
|
|
693
|
-
});
|
|
694
|
-
});
|
|
695
|
-
/** @internal */
|
|
696
|
-
export const ResponsesStreamChunkResponseImageGenerationCallGenerating$outboundSchema = z.object({
|
|
697
|
-
type: TypeResponseImageGenerationCallGenerating$outboundSchema,
|
|
698
|
-
itemId: z.string(),
|
|
699
|
-
outputIndex: z.number(),
|
|
700
|
-
sequenceNumber: z.number(),
|
|
701
|
-
}).transform((v) => {
|
|
702
|
-
return remap$(v, {
|
|
703
|
-
itemId: "item_id",
|
|
704
|
-
outputIndex: "output_index",
|
|
705
|
-
sequenceNumber: "sequence_number",
|
|
706
|
-
});
|
|
707
|
-
});
|
|
708
|
-
/**
|
|
709
|
-
* @internal
|
|
710
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
711
|
-
*/
|
|
712
|
-
export var ResponsesStreamChunkResponseImageGenerationCallGenerating$;
|
|
713
|
-
(function (ResponsesStreamChunkResponseImageGenerationCallGenerating$) {
|
|
714
|
-
/** @deprecated use `ResponsesStreamChunkResponseImageGenerationCallGenerating$inboundSchema` instead. */
|
|
715
|
-
ResponsesStreamChunkResponseImageGenerationCallGenerating$.inboundSchema = ResponsesStreamChunkResponseImageGenerationCallGenerating$inboundSchema;
|
|
716
|
-
/** @deprecated use `ResponsesStreamChunkResponseImageGenerationCallGenerating$outboundSchema` instead. */
|
|
717
|
-
ResponsesStreamChunkResponseImageGenerationCallGenerating$.outboundSchema = ResponsesStreamChunkResponseImageGenerationCallGenerating$outboundSchema;
|
|
718
|
-
})(ResponsesStreamChunkResponseImageGenerationCallGenerating$ || (ResponsesStreamChunkResponseImageGenerationCallGenerating$ = {}));
|
|
719
|
-
export function responsesStreamChunkResponseImageGenerationCallGeneratingToJSON(responsesStreamChunkResponseImageGenerationCallGenerating) {
|
|
720
|
-
return JSON.stringify(ResponsesStreamChunkResponseImageGenerationCallGenerating$outboundSchema
|
|
721
|
-
.parse(responsesStreamChunkResponseImageGenerationCallGenerating));
|
|
722
|
-
}
|
|
723
|
-
export function responsesStreamChunkResponseImageGenerationCallGeneratingFromJSON(jsonString) {
|
|
724
|
-
return safeParse(jsonString, (x) => ResponsesStreamChunkResponseImageGenerationCallGenerating$inboundSchema
|
|
725
|
-
.parse(JSON.parse(x)), `Failed to parse 'ResponsesStreamChunkResponseImageGenerationCallGenerating' from JSON`);
|
|
726
|
-
}
|
|
727
|
-
/** @internal */
|
|
728
|
-
export const TypeResponseImageGenerationCallInProgress$inboundSchema = z
|
|
729
|
-
.nativeEnum(TypeResponseImageGenerationCallInProgress);
|
|
730
|
-
/** @internal */
|
|
731
|
-
export const TypeResponseImageGenerationCallInProgress$outboundSchema = TypeResponseImageGenerationCallInProgress$inboundSchema;
|
|
732
|
-
/**
|
|
733
|
-
* @internal
|
|
734
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
735
|
-
*/
|
|
736
|
-
export var TypeResponseImageGenerationCallInProgress$;
|
|
737
|
-
(function (TypeResponseImageGenerationCallInProgress$) {
|
|
738
|
-
/** @deprecated use `TypeResponseImageGenerationCallInProgress$inboundSchema` instead. */
|
|
739
|
-
TypeResponseImageGenerationCallInProgress$.inboundSchema = TypeResponseImageGenerationCallInProgress$inboundSchema;
|
|
740
|
-
/** @deprecated use `TypeResponseImageGenerationCallInProgress$outboundSchema` instead. */
|
|
741
|
-
TypeResponseImageGenerationCallInProgress$.outboundSchema = TypeResponseImageGenerationCallInProgress$outboundSchema;
|
|
742
|
-
})(TypeResponseImageGenerationCallInProgress$ || (TypeResponseImageGenerationCallInProgress$ = {}));
|
|
743
|
-
/** @internal */
|
|
744
|
-
export const ResponsesStreamChunkResponseImageGenerationCallInProgress$inboundSchema = z.object({
|
|
745
|
-
type: TypeResponseImageGenerationCallInProgress$inboundSchema,
|
|
746
|
-
item_id: z.string(),
|
|
747
|
-
output_index: z.number(),
|
|
748
|
-
sequence_number: z.number(),
|
|
749
|
-
}).transform((v) => {
|
|
750
|
-
return remap$(v, {
|
|
751
|
-
"item_id": "itemId",
|
|
752
|
-
"output_index": "outputIndex",
|
|
753
|
-
"sequence_number": "sequenceNumber",
|
|
754
|
-
});
|
|
755
|
-
});
|
|
756
|
-
/** @internal */
|
|
757
|
-
export const ResponsesStreamChunkResponseImageGenerationCallInProgress$outboundSchema = z.object({
|
|
758
|
-
type: TypeResponseImageGenerationCallInProgress$outboundSchema,
|
|
759
|
-
itemId: z.string(),
|
|
760
|
-
outputIndex: z.number(),
|
|
761
|
-
sequenceNumber: z.number(),
|
|
762
|
-
}).transform((v) => {
|
|
763
|
-
return remap$(v, {
|
|
764
|
-
itemId: "item_id",
|
|
765
|
-
outputIndex: "output_index",
|
|
766
|
-
sequenceNumber: "sequence_number",
|
|
767
|
-
});
|
|
768
|
-
});
|
|
769
|
-
/**
|
|
770
|
-
* @internal
|
|
771
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
772
|
-
*/
|
|
773
|
-
export var ResponsesStreamChunkResponseImageGenerationCallInProgress$;
|
|
774
|
-
(function (ResponsesStreamChunkResponseImageGenerationCallInProgress$) {
|
|
775
|
-
/** @deprecated use `ResponsesStreamChunkResponseImageGenerationCallInProgress$inboundSchema` instead. */
|
|
776
|
-
ResponsesStreamChunkResponseImageGenerationCallInProgress$.inboundSchema = ResponsesStreamChunkResponseImageGenerationCallInProgress$inboundSchema;
|
|
777
|
-
/** @deprecated use `ResponsesStreamChunkResponseImageGenerationCallInProgress$outboundSchema` instead. */
|
|
778
|
-
ResponsesStreamChunkResponseImageGenerationCallInProgress$.outboundSchema = ResponsesStreamChunkResponseImageGenerationCallInProgress$outboundSchema;
|
|
779
|
-
})(ResponsesStreamChunkResponseImageGenerationCallInProgress$ || (ResponsesStreamChunkResponseImageGenerationCallInProgress$ = {}));
|
|
780
|
-
export function responsesStreamChunkResponseImageGenerationCallInProgressToJSON(responsesStreamChunkResponseImageGenerationCallInProgress) {
|
|
781
|
-
return JSON.stringify(ResponsesStreamChunkResponseImageGenerationCallInProgress$outboundSchema
|
|
782
|
-
.parse(responsesStreamChunkResponseImageGenerationCallInProgress));
|
|
783
|
-
}
|
|
784
|
-
export function responsesStreamChunkResponseImageGenerationCallInProgressFromJSON(jsonString) {
|
|
785
|
-
return safeParse(jsonString, (x) => ResponsesStreamChunkResponseImageGenerationCallInProgress$inboundSchema
|
|
786
|
-
.parse(JSON.parse(x)), `Failed to parse 'ResponsesStreamChunkResponseImageGenerationCallInProgress' from JSON`);
|
|
787
|
-
}
|
|
788
|
-
/** @internal */
|
|
789
|
-
export const TypeResponseWebSearchCallSearching$inboundSchema = z.nativeEnum(TypeResponseWebSearchCallSearching);
|
|
790
|
-
/** @internal */
|
|
791
|
-
export const TypeResponseWebSearchCallSearching$outboundSchema = TypeResponseWebSearchCallSearching$inboundSchema;
|
|
792
|
-
/**
|
|
793
|
-
* @internal
|
|
794
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
795
|
-
*/
|
|
796
|
-
export var TypeResponseWebSearchCallSearching$;
|
|
797
|
-
(function (TypeResponseWebSearchCallSearching$) {
|
|
798
|
-
/** @deprecated use `TypeResponseWebSearchCallSearching$inboundSchema` instead. */
|
|
799
|
-
TypeResponseWebSearchCallSearching$.inboundSchema = TypeResponseWebSearchCallSearching$inboundSchema;
|
|
800
|
-
/** @deprecated use `TypeResponseWebSearchCallSearching$outboundSchema` instead. */
|
|
801
|
-
TypeResponseWebSearchCallSearching$.outboundSchema = TypeResponseWebSearchCallSearching$outboundSchema;
|
|
802
|
-
})(TypeResponseWebSearchCallSearching$ || (TypeResponseWebSearchCallSearching$ = {}));
|
|
803
|
-
/** @internal */
|
|
804
|
-
export const ResponsesStreamChunkResponseWebSearchCallSearching$inboundSchema = z.object({
|
|
805
|
-
type: TypeResponseWebSearchCallSearching$inboundSchema,
|
|
806
|
-
item_id: z.string(),
|
|
807
|
-
output_index: z.number(),
|
|
808
|
-
query: z.string().optional(),
|
|
809
|
-
sequence_number: z.number(),
|
|
810
|
-
}).transform((v) => {
|
|
811
|
-
return remap$(v, {
|
|
812
|
-
"item_id": "itemId",
|
|
813
|
-
"output_index": "outputIndex",
|
|
814
|
-
"sequence_number": "sequenceNumber",
|
|
815
|
-
});
|
|
816
|
-
});
|
|
817
|
-
/** @internal */
|
|
818
|
-
export const ResponsesStreamChunkResponseWebSearchCallSearching$outboundSchema = z.object({
|
|
819
|
-
type: TypeResponseWebSearchCallSearching$outboundSchema,
|
|
820
|
-
itemId: z.string(),
|
|
821
|
-
outputIndex: z.number(),
|
|
822
|
-
query: z.string().optional(),
|
|
823
|
-
sequenceNumber: z.number(),
|
|
824
|
-
}).transform((v) => {
|
|
825
|
-
return remap$(v, {
|
|
826
|
-
itemId: "item_id",
|
|
827
|
-
outputIndex: "output_index",
|
|
828
|
-
sequenceNumber: "sequence_number",
|
|
829
|
-
});
|
|
830
|
-
});
|
|
831
|
-
/**
|
|
832
|
-
* @internal
|
|
833
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
834
|
-
*/
|
|
835
|
-
export var ResponsesStreamChunkResponseWebSearchCallSearching$;
|
|
836
|
-
(function (ResponsesStreamChunkResponseWebSearchCallSearching$) {
|
|
837
|
-
/** @deprecated use `ResponsesStreamChunkResponseWebSearchCallSearching$inboundSchema` instead. */
|
|
838
|
-
ResponsesStreamChunkResponseWebSearchCallSearching$.inboundSchema = ResponsesStreamChunkResponseWebSearchCallSearching$inboundSchema;
|
|
839
|
-
/** @deprecated use `ResponsesStreamChunkResponseWebSearchCallSearching$outboundSchema` instead. */
|
|
840
|
-
ResponsesStreamChunkResponseWebSearchCallSearching$.outboundSchema = ResponsesStreamChunkResponseWebSearchCallSearching$outboundSchema;
|
|
841
|
-
})(ResponsesStreamChunkResponseWebSearchCallSearching$ || (ResponsesStreamChunkResponseWebSearchCallSearching$ = {}));
|
|
842
|
-
export function responsesStreamChunkResponseWebSearchCallSearchingToJSON(responsesStreamChunkResponseWebSearchCallSearching) {
|
|
843
|
-
return JSON.stringify(ResponsesStreamChunkResponseWebSearchCallSearching$outboundSchema.parse(responsesStreamChunkResponseWebSearchCallSearching));
|
|
844
|
-
}
|
|
845
|
-
export function responsesStreamChunkResponseWebSearchCallSearchingFromJSON(jsonString) {
|
|
846
|
-
return safeParse(jsonString, (x) => ResponsesStreamChunkResponseWebSearchCallSearching$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponsesStreamChunkResponseWebSearchCallSearching' from JSON`);
|
|
847
|
-
}
|
|
848
|
-
/** @internal */
|
|
849
|
-
export const TypeResponseWebSearchCallInProgress$inboundSchema = z.nativeEnum(TypeResponseWebSearchCallInProgress);
|
|
850
|
-
/** @internal */
|
|
851
|
-
export const TypeResponseWebSearchCallInProgress$outboundSchema = TypeResponseWebSearchCallInProgress$inboundSchema;
|
|
852
|
-
/**
|
|
853
|
-
* @internal
|
|
854
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
855
|
-
*/
|
|
856
|
-
export var TypeResponseWebSearchCallInProgress$;
|
|
857
|
-
(function (TypeResponseWebSearchCallInProgress$) {
|
|
858
|
-
/** @deprecated use `TypeResponseWebSearchCallInProgress$inboundSchema` instead. */
|
|
859
|
-
TypeResponseWebSearchCallInProgress$.inboundSchema = TypeResponseWebSearchCallInProgress$inboundSchema;
|
|
860
|
-
/** @deprecated use `TypeResponseWebSearchCallInProgress$outboundSchema` instead. */
|
|
861
|
-
TypeResponseWebSearchCallInProgress$.outboundSchema = TypeResponseWebSearchCallInProgress$outboundSchema;
|
|
862
|
-
})(TypeResponseWebSearchCallInProgress$ || (TypeResponseWebSearchCallInProgress$ = {}));
|
|
863
|
-
/** @internal */
|
|
864
|
-
export const ResponsesStreamChunkResponseWebSearchCallInProgress$inboundSchema = z.object({
|
|
865
|
-
type: TypeResponseWebSearchCallInProgress$inboundSchema,
|
|
866
|
-
item_id: z.string(),
|
|
867
|
-
output_index: z.number(),
|
|
868
|
-
}).transform((v) => {
|
|
869
|
-
return remap$(v, {
|
|
870
|
-
"item_id": "itemId",
|
|
871
|
-
"output_index": "outputIndex",
|
|
872
|
-
});
|
|
873
|
-
});
|
|
874
|
-
/** @internal */
|
|
875
|
-
export const ResponsesStreamChunkResponseWebSearchCallInProgress$outboundSchema = z.object({
|
|
876
|
-
type: TypeResponseWebSearchCallInProgress$outboundSchema,
|
|
877
|
-
itemId: z.string(),
|
|
878
|
-
outputIndex: z.number(),
|
|
879
|
-
}).transform((v) => {
|
|
880
|
-
return remap$(v, {
|
|
881
|
-
itemId: "item_id",
|
|
882
|
-
outputIndex: "output_index",
|
|
883
|
-
});
|
|
884
|
-
});
|
|
885
|
-
/**
|
|
886
|
-
* @internal
|
|
887
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
888
|
-
*/
|
|
889
|
-
export var ResponsesStreamChunkResponseWebSearchCallInProgress$;
|
|
890
|
-
(function (ResponsesStreamChunkResponseWebSearchCallInProgress$) {
|
|
891
|
-
/** @deprecated use `ResponsesStreamChunkResponseWebSearchCallInProgress$inboundSchema` instead. */
|
|
892
|
-
ResponsesStreamChunkResponseWebSearchCallInProgress$.inboundSchema = ResponsesStreamChunkResponseWebSearchCallInProgress$inboundSchema;
|
|
893
|
-
/** @deprecated use `ResponsesStreamChunkResponseWebSearchCallInProgress$outboundSchema` instead. */
|
|
894
|
-
ResponsesStreamChunkResponseWebSearchCallInProgress$.outboundSchema = ResponsesStreamChunkResponseWebSearchCallInProgress$outboundSchema;
|
|
895
|
-
})(ResponsesStreamChunkResponseWebSearchCallInProgress$ || (ResponsesStreamChunkResponseWebSearchCallInProgress$ = {}));
|
|
896
|
-
export function responsesStreamChunkResponseWebSearchCallInProgressToJSON(responsesStreamChunkResponseWebSearchCallInProgress) {
|
|
897
|
-
return JSON.stringify(ResponsesStreamChunkResponseWebSearchCallInProgress$outboundSchema.parse(responsesStreamChunkResponseWebSearchCallInProgress));
|
|
898
|
-
}
|
|
899
|
-
export function responsesStreamChunkResponseWebSearchCallInProgressFromJSON(jsonString) {
|
|
900
|
-
return safeParse(jsonString, (x) => ResponsesStreamChunkResponseWebSearchCallInProgress$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponsesStreamChunkResponseWebSearchCallInProgress' from JSON`);
|
|
901
|
-
}
|
|
902
|
-
/** @internal */
|
|
903
|
-
export const TypeResponseFileSearchCallCompleted$inboundSchema = z.nativeEnum(TypeResponseFileSearchCallCompleted);
|
|
904
|
-
/** @internal */
|
|
905
|
-
export const TypeResponseFileSearchCallCompleted$outboundSchema = TypeResponseFileSearchCallCompleted$inboundSchema;
|
|
906
|
-
/**
|
|
907
|
-
* @internal
|
|
908
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
909
|
-
*/
|
|
910
|
-
export var TypeResponseFileSearchCallCompleted$;
|
|
911
|
-
(function (TypeResponseFileSearchCallCompleted$) {
|
|
912
|
-
/** @deprecated use `TypeResponseFileSearchCallCompleted$inboundSchema` instead. */
|
|
913
|
-
TypeResponseFileSearchCallCompleted$.inboundSchema = TypeResponseFileSearchCallCompleted$inboundSchema;
|
|
914
|
-
/** @deprecated use `TypeResponseFileSearchCallCompleted$outboundSchema` instead. */
|
|
915
|
-
TypeResponseFileSearchCallCompleted$.outboundSchema = TypeResponseFileSearchCallCompleted$outboundSchema;
|
|
916
|
-
})(TypeResponseFileSearchCallCompleted$ || (TypeResponseFileSearchCallCompleted$ = {}));
|
|
917
|
-
/** @internal */
|
|
918
|
-
export const Result$inboundSchema = z
|
|
919
|
-
.object({
|
|
920
|
-
file_id: z.string(),
|
|
921
|
-
filename: z.string(),
|
|
922
|
-
score: z.number(),
|
|
923
|
-
}).transform((v) => {
|
|
924
|
-
return remap$(v, {
|
|
925
|
-
"file_id": "fileId",
|
|
926
|
-
});
|
|
927
|
-
});
|
|
928
|
-
/** @internal */
|
|
929
|
-
export const Result$outboundSchema = z.object({
|
|
930
|
-
fileId: z.string(),
|
|
931
|
-
filename: z.string(),
|
|
932
|
-
score: z.number(),
|
|
933
|
-
}).transform((v) => {
|
|
934
|
-
return remap$(v, {
|
|
935
|
-
fileId: "file_id",
|
|
936
|
-
});
|
|
937
|
-
});
|
|
938
|
-
/**
|
|
939
|
-
* @internal
|
|
940
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
941
|
-
*/
|
|
942
|
-
export var Result$;
|
|
943
|
-
(function (Result$) {
|
|
944
|
-
/** @deprecated use `Result$inboundSchema` instead. */
|
|
945
|
-
Result$.inboundSchema = Result$inboundSchema;
|
|
946
|
-
/** @deprecated use `Result$outboundSchema` instead. */
|
|
947
|
-
Result$.outboundSchema = Result$outboundSchema;
|
|
948
|
-
})(Result$ || (Result$ = {}));
|
|
949
|
-
export function resultToJSON(result) {
|
|
950
|
-
return JSON.stringify(Result$outboundSchema.parse(result));
|
|
951
|
-
}
|
|
952
|
-
export function resultFromJSON(jsonString) {
|
|
953
|
-
return safeParse(jsonString, (x) => Result$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Result' from JSON`);
|
|
954
|
-
}
|
|
955
|
-
/** @internal */
|
|
956
|
-
export const ResponsesStreamChunkResponseFileSearchCallCompleted$inboundSchema = z.object({
|
|
957
|
-
type: TypeResponseFileSearchCallCompleted$inboundSchema,
|
|
958
|
-
item_id: z.string(),
|
|
959
|
-
output_index: z.number(),
|
|
960
|
-
results: z.array(z.lazy(() => Result$inboundSchema)),
|
|
961
|
-
}).transform((v) => {
|
|
962
|
-
return remap$(v, {
|
|
963
|
-
"item_id": "itemId",
|
|
964
|
-
"output_index": "outputIndex",
|
|
965
|
-
});
|
|
966
|
-
});
|
|
967
|
-
/** @internal */
|
|
968
|
-
export const ResponsesStreamChunkResponseFileSearchCallCompleted$outboundSchema = z.object({
|
|
969
|
-
type: TypeResponseFileSearchCallCompleted$outboundSchema,
|
|
970
|
-
itemId: z.string(),
|
|
971
|
-
outputIndex: z.number(),
|
|
972
|
-
results: z.array(z.lazy(() => Result$outboundSchema)),
|
|
973
|
-
}).transform((v) => {
|
|
974
|
-
return remap$(v, {
|
|
975
|
-
itemId: "item_id",
|
|
976
|
-
outputIndex: "output_index",
|
|
977
|
-
});
|
|
978
|
-
});
|
|
979
|
-
/**
|
|
980
|
-
* @internal
|
|
981
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
982
|
-
*/
|
|
983
|
-
export var ResponsesStreamChunkResponseFileSearchCallCompleted$;
|
|
984
|
-
(function (ResponsesStreamChunkResponseFileSearchCallCompleted$) {
|
|
985
|
-
/** @deprecated use `ResponsesStreamChunkResponseFileSearchCallCompleted$inboundSchema` instead. */
|
|
986
|
-
ResponsesStreamChunkResponseFileSearchCallCompleted$.inboundSchema = ResponsesStreamChunkResponseFileSearchCallCompleted$inboundSchema;
|
|
987
|
-
/** @deprecated use `ResponsesStreamChunkResponseFileSearchCallCompleted$outboundSchema` instead. */
|
|
988
|
-
ResponsesStreamChunkResponseFileSearchCallCompleted$.outboundSchema = ResponsesStreamChunkResponseFileSearchCallCompleted$outboundSchema;
|
|
989
|
-
})(ResponsesStreamChunkResponseFileSearchCallCompleted$ || (ResponsesStreamChunkResponseFileSearchCallCompleted$ = {}));
|
|
990
|
-
export function responsesStreamChunkResponseFileSearchCallCompletedToJSON(responsesStreamChunkResponseFileSearchCallCompleted) {
|
|
991
|
-
return JSON.stringify(ResponsesStreamChunkResponseFileSearchCallCompleted$outboundSchema.parse(responsesStreamChunkResponseFileSearchCallCompleted));
|
|
992
|
-
}
|
|
993
|
-
export function responsesStreamChunkResponseFileSearchCallCompletedFromJSON(jsonString) {
|
|
994
|
-
return safeParse(jsonString, (x) => ResponsesStreamChunkResponseFileSearchCallCompleted$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponsesStreamChunkResponseFileSearchCallCompleted' from JSON`);
|
|
995
|
-
}
|
|
996
|
-
/** @internal */
|
|
997
|
-
export const TypeResponseFileSearchCallSearching$inboundSchema = z.nativeEnum(TypeResponseFileSearchCallSearching);
|
|
998
|
-
/** @internal */
|
|
999
|
-
export const TypeResponseFileSearchCallSearching$outboundSchema = TypeResponseFileSearchCallSearching$inboundSchema;
|
|
1000
|
-
/**
|
|
1001
|
-
* @internal
|
|
1002
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1003
|
-
*/
|
|
1004
|
-
export var TypeResponseFileSearchCallSearching$;
|
|
1005
|
-
(function (TypeResponseFileSearchCallSearching$) {
|
|
1006
|
-
/** @deprecated use `TypeResponseFileSearchCallSearching$inboundSchema` instead. */
|
|
1007
|
-
TypeResponseFileSearchCallSearching$.inboundSchema = TypeResponseFileSearchCallSearching$inboundSchema;
|
|
1008
|
-
/** @deprecated use `TypeResponseFileSearchCallSearching$outboundSchema` instead. */
|
|
1009
|
-
TypeResponseFileSearchCallSearching$.outboundSchema = TypeResponseFileSearchCallSearching$outboundSchema;
|
|
1010
|
-
})(TypeResponseFileSearchCallSearching$ || (TypeResponseFileSearchCallSearching$ = {}));
|
|
1011
|
-
/** @internal */
|
|
1012
|
-
export const ResponsesStreamChunkResponseFileSearchCallSearching$inboundSchema = z.object({
|
|
1013
|
-
type: TypeResponseFileSearchCallSearching$inboundSchema,
|
|
1014
|
-
item_id: z.string(),
|
|
1015
|
-
output_index: z.number(),
|
|
1016
|
-
query: z.string(),
|
|
1017
|
-
}).transform((v) => {
|
|
1018
|
-
return remap$(v, {
|
|
1019
|
-
"item_id": "itemId",
|
|
1020
|
-
"output_index": "outputIndex",
|
|
1021
|
-
});
|
|
1022
|
-
});
|
|
1023
|
-
/** @internal */
|
|
1024
|
-
export const ResponsesStreamChunkResponseFileSearchCallSearching$outboundSchema = z.object({
|
|
1025
|
-
type: TypeResponseFileSearchCallSearching$outboundSchema,
|
|
1026
|
-
itemId: z.string(),
|
|
1027
|
-
outputIndex: z.number(),
|
|
1028
|
-
query: z.string(),
|
|
1029
|
-
}).transform((v) => {
|
|
1030
|
-
return remap$(v, {
|
|
1031
|
-
itemId: "item_id",
|
|
1032
|
-
outputIndex: "output_index",
|
|
1033
|
-
});
|
|
1034
|
-
});
|
|
1035
|
-
/**
|
|
1036
|
-
* @internal
|
|
1037
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1038
|
-
*/
|
|
1039
|
-
export var ResponsesStreamChunkResponseFileSearchCallSearching$;
|
|
1040
|
-
(function (ResponsesStreamChunkResponseFileSearchCallSearching$) {
|
|
1041
|
-
/** @deprecated use `ResponsesStreamChunkResponseFileSearchCallSearching$inboundSchema` instead. */
|
|
1042
|
-
ResponsesStreamChunkResponseFileSearchCallSearching$.inboundSchema = ResponsesStreamChunkResponseFileSearchCallSearching$inboundSchema;
|
|
1043
|
-
/** @deprecated use `ResponsesStreamChunkResponseFileSearchCallSearching$outboundSchema` instead. */
|
|
1044
|
-
ResponsesStreamChunkResponseFileSearchCallSearching$.outboundSchema = ResponsesStreamChunkResponseFileSearchCallSearching$outboundSchema;
|
|
1045
|
-
})(ResponsesStreamChunkResponseFileSearchCallSearching$ || (ResponsesStreamChunkResponseFileSearchCallSearching$ = {}));
|
|
1046
|
-
export function responsesStreamChunkResponseFileSearchCallSearchingToJSON(responsesStreamChunkResponseFileSearchCallSearching) {
|
|
1047
|
-
return JSON.stringify(ResponsesStreamChunkResponseFileSearchCallSearching$outboundSchema.parse(responsesStreamChunkResponseFileSearchCallSearching));
|
|
1048
|
-
}
|
|
1049
|
-
export function responsesStreamChunkResponseFileSearchCallSearchingFromJSON(jsonString) {
|
|
1050
|
-
return safeParse(jsonString, (x) => ResponsesStreamChunkResponseFileSearchCallSearching$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponsesStreamChunkResponseFileSearchCallSearching' from JSON`);
|
|
1051
|
-
}
|
|
1052
|
-
/** @internal */
|
|
1053
|
-
export const TypeResponseFileSearchCallInProgress$inboundSchema = z.nativeEnum(TypeResponseFileSearchCallInProgress);
|
|
1054
|
-
/** @internal */
|
|
1055
|
-
export const TypeResponseFileSearchCallInProgress$outboundSchema = TypeResponseFileSearchCallInProgress$inboundSchema;
|
|
1056
|
-
/**
|
|
1057
|
-
* @internal
|
|
1058
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1059
|
-
*/
|
|
1060
|
-
export var TypeResponseFileSearchCallInProgress$;
|
|
1061
|
-
(function (TypeResponseFileSearchCallInProgress$) {
|
|
1062
|
-
/** @deprecated use `TypeResponseFileSearchCallInProgress$inboundSchema` instead. */
|
|
1063
|
-
TypeResponseFileSearchCallInProgress$.inboundSchema = TypeResponseFileSearchCallInProgress$inboundSchema;
|
|
1064
|
-
/** @deprecated use `TypeResponseFileSearchCallInProgress$outboundSchema` instead. */
|
|
1065
|
-
TypeResponseFileSearchCallInProgress$.outboundSchema = TypeResponseFileSearchCallInProgress$outboundSchema;
|
|
1066
|
-
})(TypeResponseFileSearchCallInProgress$ || (TypeResponseFileSearchCallInProgress$ = {}));
|
|
1067
|
-
/** @internal */
|
|
1068
|
-
export const ResponsesStreamChunkResponseFileSearchCallInProgress$inboundSchema = z.object({
|
|
1069
|
-
type: TypeResponseFileSearchCallInProgress$inboundSchema,
|
|
1070
|
-
item_id: z.string(),
|
|
1071
|
-
output_index: z.number(),
|
|
1072
|
-
}).transform((v) => {
|
|
1073
|
-
return remap$(v, {
|
|
1074
|
-
"item_id": "itemId",
|
|
1075
|
-
"output_index": "outputIndex",
|
|
1076
|
-
});
|
|
1077
|
-
});
|
|
1078
|
-
/** @internal */
|
|
1079
|
-
export const ResponsesStreamChunkResponseFileSearchCallInProgress$outboundSchema = z.object({
|
|
1080
|
-
type: TypeResponseFileSearchCallInProgress$outboundSchema,
|
|
1081
|
-
itemId: z.string(),
|
|
1082
|
-
outputIndex: z.number(),
|
|
1083
|
-
}).transform((v) => {
|
|
1084
|
-
return remap$(v, {
|
|
1085
|
-
itemId: "item_id",
|
|
1086
|
-
outputIndex: "output_index",
|
|
1087
|
-
});
|
|
1088
|
-
});
|
|
1089
|
-
/**
|
|
1090
|
-
* @internal
|
|
1091
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1092
|
-
*/
|
|
1093
|
-
export var ResponsesStreamChunkResponseFileSearchCallInProgress$;
|
|
1094
|
-
(function (ResponsesStreamChunkResponseFileSearchCallInProgress$) {
|
|
1095
|
-
/** @deprecated use `ResponsesStreamChunkResponseFileSearchCallInProgress$inboundSchema` instead. */
|
|
1096
|
-
ResponsesStreamChunkResponseFileSearchCallInProgress$.inboundSchema = ResponsesStreamChunkResponseFileSearchCallInProgress$inboundSchema;
|
|
1097
|
-
/** @deprecated use `ResponsesStreamChunkResponseFileSearchCallInProgress$outboundSchema` instead. */
|
|
1098
|
-
ResponsesStreamChunkResponseFileSearchCallInProgress$.outboundSchema = ResponsesStreamChunkResponseFileSearchCallInProgress$outboundSchema;
|
|
1099
|
-
})(ResponsesStreamChunkResponseFileSearchCallInProgress$ || (ResponsesStreamChunkResponseFileSearchCallInProgress$ = {}));
|
|
1100
|
-
export function responsesStreamChunkResponseFileSearchCallInProgressToJSON(responsesStreamChunkResponseFileSearchCallInProgress) {
|
|
1101
|
-
return JSON.stringify(ResponsesStreamChunkResponseFileSearchCallInProgress$outboundSchema.parse(responsesStreamChunkResponseFileSearchCallInProgress));
|
|
1102
|
-
}
|
|
1103
|
-
export function responsesStreamChunkResponseFileSearchCallInProgressFromJSON(jsonString) {
|
|
1104
|
-
return safeParse(jsonString, (x) => ResponsesStreamChunkResponseFileSearchCallInProgress$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponsesStreamChunkResponseFileSearchCallInProgress' from JSON`);
|
|
1105
|
-
}
|
|
1106
|
-
/** @internal */
|
|
1107
|
-
export const TypeResponseWebSearchCallCompleted$inboundSchema = z.nativeEnum(TypeResponseWebSearchCallCompleted);
|
|
1108
|
-
/** @internal */
|
|
1109
|
-
export const TypeResponseWebSearchCallCompleted$outboundSchema = TypeResponseWebSearchCallCompleted$inboundSchema;
|
|
1110
|
-
/**
|
|
1111
|
-
* @internal
|
|
1112
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1113
|
-
*/
|
|
1114
|
-
export var TypeResponseWebSearchCallCompleted$;
|
|
1115
|
-
(function (TypeResponseWebSearchCallCompleted$) {
|
|
1116
|
-
/** @deprecated use `TypeResponseWebSearchCallCompleted$inboundSchema` instead. */
|
|
1117
|
-
TypeResponseWebSearchCallCompleted$.inboundSchema = TypeResponseWebSearchCallCompleted$inboundSchema;
|
|
1118
|
-
/** @deprecated use `TypeResponseWebSearchCallCompleted$outboundSchema` instead. */
|
|
1119
|
-
TypeResponseWebSearchCallCompleted$.outboundSchema = TypeResponseWebSearchCallCompleted$outboundSchema;
|
|
1120
|
-
})(TypeResponseWebSearchCallCompleted$ || (TypeResponseWebSearchCallCompleted$ = {}));
|
|
1121
|
-
/** @internal */
|
|
1122
|
-
export const ResponsesStreamChunkResponseWebSearchCallCompleted$inboundSchema = z.object({
|
|
1123
|
-
type: TypeResponseWebSearchCallCompleted$inboundSchema,
|
|
1124
|
-
item_id: z.string(),
|
|
1125
|
-
output_index: z.number(),
|
|
1126
|
-
sequence_number: z.number(),
|
|
1127
|
-
}).transform((v) => {
|
|
1128
|
-
return remap$(v, {
|
|
1129
|
-
"item_id": "itemId",
|
|
1130
|
-
"output_index": "outputIndex",
|
|
1131
|
-
"sequence_number": "sequenceNumber",
|
|
1132
|
-
});
|
|
1133
|
-
});
|
|
1134
|
-
/** @internal */
|
|
1135
|
-
export const ResponsesStreamChunkResponseWebSearchCallCompleted$outboundSchema = z.object({
|
|
1136
|
-
type: TypeResponseWebSearchCallCompleted$outboundSchema,
|
|
1137
|
-
itemId: z.string(),
|
|
1138
|
-
outputIndex: z.number(),
|
|
1139
|
-
sequenceNumber: z.number(),
|
|
1140
|
-
}).transform((v) => {
|
|
1141
|
-
return remap$(v, {
|
|
1142
|
-
itemId: "item_id",
|
|
1143
|
-
outputIndex: "output_index",
|
|
1144
|
-
sequenceNumber: "sequence_number",
|
|
1145
|
-
});
|
|
1146
|
-
});
|
|
1147
|
-
/**
|
|
1148
|
-
* @internal
|
|
1149
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1150
|
-
*/
|
|
1151
|
-
export var ResponsesStreamChunkResponseWebSearchCallCompleted$;
|
|
1152
|
-
(function (ResponsesStreamChunkResponseWebSearchCallCompleted$) {
|
|
1153
|
-
/** @deprecated use `ResponsesStreamChunkResponseWebSearchCallCompleted$inboundSchema` instead. */
|
|
1154
|
-
ResponsesStreamChunkResponseWebSearchCallCompleted$.inboundSchema = ResponsesStreamChunkResponseWebSearchCallCompleted$inboundSchema;
|
|
1155
|
-
/** @deprecated use `ResponsesStreamChunkResponseWebSearchCallCompleted$outboundSchema` instead. */
|
|
1156
|
-
ResponsesStreamChunkResponseWebSearchCallCompleted$.outboundSchema = ResponsesStreamChunkResponseWebSearchCallCompleted$outboundSchema;
|
|
1157
|
-
})(ResponsesStreamChunkResponseWebSearchCallCompleted$ || (ResponsesStreamChunkResponseWebSearchCallCompleted$ = {}));
|
|
1158
|
-
export function responsesStreamChunkResponseWebSearchCallCompletedToJSON(responsesStreamChunkResponseWebSearchCallCompleted) {
|
|
1159
|
-
return JSON.stringify(ResponsesStreamChunkResponseWebSearchCallCompleted$outboundSchema.parse(responsesStreamChunkResponseWebSearchCallCompleted));
|
|
1160
|
-
}
|
|
1161
|
-
export function responsesStreamChunkResponseWebSearchCallCompletedFromJSON(jsonString) {
|
|
1162
|
-
return safeParse(jsonString, (x) => ResponsesStreamChunkResponseWebSearchCallCompleted$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponsesStreamChunkResponseWebSearchCallCompleted' from JSON`);
|
|
1163
|
-
}
|
|
1164
|
-
/** @internal */
|
|
1165
|
-
export const TypeResponseFunctionCallArgumentsDone$inboundSchema = z.nativeEnum(TypeResponseFunctionCallArgumentsDone);
|
|
1166
|
-
/** @internal */
|
|
1167
|
-
export const TypeResponseFunctionCallArgumentsDone$outboundSchema = TypeResponseFunctionCallArgumentsDone$inboundSchema;
|
|
1168
|
-
/**
|
|
1169
|
-
* @internal
|
|
1170
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1171
|
-
*/
|
|
1172
|
-
export var TypeResponseFunctionCallArgumentsDone$;
|
|
1173
|
-
(function (TypeResponseFunctionCallArgumentsDone$) {
|
|
1174
|
-
/** @deprecated use `TypeResponseFunctionCallArgumentsDone$inboundSchema` instead. */
|
|
1175
|
-
TypeResponseFunctionCallArgumentsDone$.inboundSchema = TypeResponseFunctionCallArgumentsDone$inboundSchema;
|
|
1176
|
-
/** @deprecated use `TypeResponseFunctionCallArgumentsDone$outboundSchema` instead. */
|
|
1177
|
-
TypeResponseFunctionCallArgumentsDone$.outboundSchema = TypeResponseFunctionCallArgumentsDone$outboundSchema;
|
|
1178
|
-
})(TypeResponseFunctionCallArgumentsDone$ || (TypeResponseFunctionCallArgumentsDone$ = {}));
|
|
1179
|
-
/** @internal */
|
|
1180
|
-
export const ResponsesStreamChunkResponseFunctionCallArgumentsDone$inboundSchema = z.object({
|
|
1181
|
-
type: TypeResponseFunctionCallArgumentsDone$inboundSchema,
|
|
1182
|
-
item_id: z.string(),
|
|
1183
|
-
output_index: z.number(),
|
|
1184
|
-
sequence_number: z.number(),
|
|
1185
|
-
arguments: z.string(),
|
|
1186
|
-
}).transform((v) => {
|
|
1187
|
-
return remap$(v, {
|
|
1188
|
-
"item_id": "itemId",
|
|
1189
|
-
"output_index": "outputIndex",
|
|
1190
|
-
"sequence_number": "sequenceNumber",
|
|
1191
|
-
});
|
|
1192
|
-
});
|
|
1193
|
-
/** @internal */
|
|
1194
|
-
export const ResponsesStreamChunkResponseFunctionCallArgumentsDone$outboundSchema = z.object({
|
|
1195
|
-
type: TypeResponseFunctionCallArgumentsDone$outboundSchema,
|
|
1196
|
-
itemId: z.string(),
|
|
1197
|
-
outputIndex: z.number(),
|
|
1198
|
-
sequenceNumber: z.number(),
|
|
1199
|
-
arguments: z.string(),
|
|
1200
|
-
}).transform((v) => {
|
|
1201
|
-
return remap$(v, {
|
|
1202
|
-
itemId: "item_id",
|
|
1203
|
-
outputIndex: "output_index",
|
|
1204
|
-
sequenceNumber: "sequence_number",
|
|
1205
|
-
});
|
|
1206
|
-
});
|
|
1207
|
-
/**
|
|
1208
|
-
* @internal
|
|
1209
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1210
|
-
*/
|
|
1211
|
-
export var ResponsesStreamChunkResponseFunctionCallArgumentsDone$;
|
|
1212
|
-
(function (ResponsesStreamChunkResponseFunctionCallArgumentsDone$) {
|
|
1213
|
-
/** @deprecated use `ResponsesStreamChunkResponseFunctionCallArgumentsDone$inboundSchema` instead. */
|
|
1214
|
-
ResponsesStreamChunkResponseFunctionCallArgumentsDone$.inboundSchema = ResponsesStreamChunkResponseFunctionCallArgumentsDone$inboundSchema;
|
|
1215
|
-
/** @deprecated use `ResponsesStreamChunkResponseFunctionCallArgumentsDone$outboundSchema` instead. */
|
|
1216
|
-
ResponsesStreamChunkResponseFunctionCallArgumentsDone$.outboundSchema = ResponsesStreamChunkResponseFunctionCallArgumentsDone$outboundSchema;
|
|
1217
|
-
})(ResponsesStreamChunkResponseFunctionCallArgumentsDone$ || (ResponsesStreamChunkResponseFunctionCallArgumentsDone$ = {}));
|
|
1218
|
-
export function responsesStreamChunkResponseFunctionCallArgumentsDoneToJSON(responsesStreamChunkResponseFunctionCallArgumentsDone) {
|
|
1219
|
-
return JSON.stringify(ResponsesStreamChunkResponseFunctionCallArgumentsDone$outboundSchema.parse(responsesStreamChunkResponseFunctionCallArgumentsDone));
|
|
1220
|
-
}
|
|
1221
|
-
export function responsesStreamChunkResponseFunctionCallArgumentsDoneFromJSON(jsonString) {
|
|
1222
|
-
return safeParse(jsonString, (x) => ResponsesStreamChunkResponseFunctionCallArgumentsDone$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponsesStreamChunkResponseFunctionCallArgumentsDone' from JSON`);
|
|
1223
|
-
}
|
|
1224
|
-
/** @internal */
|
|
1225
|
-
export const TypeResponseReasoningSummaryTextDelta$inboundSchema = z.nativeEnum(TypeResponseReasoningSummaryTextDelta);
|
|
1226
|
-
/** @internal */
|
|
1227
|
-
export const TypeResponseReasoningSummaryTextDelta$outboundSchema = TypeResponseReasoningSummaryTextDelta$inboundSchema;
|
|
1228
|
-
/**
|
|
1229
|
-
* @internal
|
|
1230
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1231
|
-
*/
|
|
1232
|
-
export var TypeResponseReasoningSummaryTextDelta$;
|
|
1233
|
-
(function (TypeResponseReasoningSummaryTextDelta$) {
|
|
1234
|
-
/** @deprecated use `TypeResponseReasoningSummaryTextDelta$inboundSchema` instead. */
|
|
1235
|
-
TypeResponseReasoningSummaryTextDelta$.inboundSchema = TypeResponseReasoningSummaryTextDelta$inboundSchema;
|
|
1236
|
-
/** @deprecated use `TypeResponseReasoningSummaryTextDelta$outboundSchema` instead. */
|
|
1237
|
-
TypeResponseReasoningSummaryTextDelta$.outboundSchema = TypeResponseReasoningSummaryTextDelta$outboundSchema;
|
|
1238
|
-
})(TypeResponseReasoningSummaryTextDelta$ || (TypeResponseReasoningSummaryTextDelta$ = {}));
|
|
1239
|
-
/** @internal */
|
|
1240
|
-
export const ResponsesStreamChunkResponseReasoningSummaryTextDelta$inboundSchema = z.object({
|
|
1241
|
-
type: TypeResponseReasoningSummaryTextDelta$inboundSchema,
|
|
1242
|
-
item_id: z.string(),
|
|
1243
|
-
output_index: z.number(),
|
|
1244
|
-
summary_index: z.number(),
|
|
1245
|
-
sequence_number: z.number(),
|
|
1246
|
-
delta: z.string(),
|
|
1247
|
-
}).transform((v) => {
|
|
1248
|
-
return remap$(v, {
|
|
1249
|
-
"item_id": "itemId",
|
|
1250
|
-
"output_index": "outputIndex",
|
|
1251
|
-
"summary_index": "summaryIndex",
|
|
1252
|
-
"sequence_number": "sequenceNumber",
|
|
1253
|
-
});
|
|
1254
|
-
});
|
|
1255
|
-
/** @internal */
|
|
1256
|
-
export const ResponsesStreamChunkResponseReasoningSummaryTextDelta$outboundSchema = z.object({
|
|
1257
|
-
type: TypeResponseReasoningSummaryTextDelta$outboundSchema,
|
|
1258
|
-
itemId: z.string(),
|
|
1259
|
-
outputIndex: z.number(),
|
|
1260
|
-
summaryIndex: z.number(),
|
|
1261
|
-
sequenceNumber: z.number(),
|
|
1262
|
-
delta: z.string(),
|
|
1263
|
-
}).transform((v) => {
|
|
1264
|
-
return remap$(v, {
|
|
1265
|
-
itemId: "item_id",
|
|
1266
|
-
outputIndex: "output_index",
|
|
1267
|
-
summaryIndex: "summary_index",
|
|
1268
|
-
sequenceNumber: "sequence_number",
|
|
1269
|
-
});
|
|
1270
|
-
});
|
|
1271
|
-
/**
|
|
1272
|
-
* @internal
|
|
1273
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1274
|
-
*/
|
|
1275
|
-
export var ResponsesStreamChunkResponseReasoningSummaryTextDelta$;
|
|
1276
|
-
(function (ResponsesStreamChunkResponseReasoningSummaryTextDelta$) {
|
|
1277
|
-
/** @deprecated use `ResponsesStreamChunkResponseReasoningSummaryTextDelta$inboundSchema` instead. */
|
|
1278
|
-
ResponsesStreamChunkResponseReasoningSummaryTextDelta$.inboundSchema = ResponsesStreamChunkResponseReasoningSummaryTextDelta$inboundSchema;
|
|
1279
|
-
/** @deprecated use `ResponsesStreamChunkResponseReasoningSummaryTextDelta$outboundSchema` instead. */
|
|
1280
|
-
ResponsesStreamChunkResponseReasoningSummaryTextDelta$.outboundSchema = ResponsesStreamChunkResponseReasoningSummaryTextDelta$outboundSchema;
|
|
1281
|
-
})(ResponsesStreamChunkResponseReasoningSummaryTextDelta$ || (ResponsesStreamChunkResponseReasoningSummaryTextDelta$ = {}));
|
|
1282
|
-
export function responsesStreamChunkResponseReasoningSummaryTextDeltaToJSON(responsesStreamChunkResponseReasoningSummaryTextDelta) {
|
|
1283
|
-
return JSON.stringify(ResponsesStreamChunkResponseReasoningSummaryTextDelta$outboundSchema.parse(responsesStreamChunkResponseReasoningSummaryTextDelta));
|
|
1284
|
-
}
|
|
1285
|
-
export function responsesStreamChunkResponseReasoningSummaryTextDeltaFromJSON(jsonString) {
|
|
1286
|
-
return safeParse(jsonString, (x) => ResponsesStreamChunkResponseReasoningSummaryTextDelta$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponsesStreamChunkResponseReasoningSummaryTextDelta' from JSON`);
|
|
1287
|
-
}
|
|
1288
|
-
/** @internal */
|
|
1289
|
-
export const TypeResponseOutputTextAnnotationAdded$inboundSchema = z.nativeEnum(TypeResponseOutputTextAnnotationAdded);
|
|
1290
|
-
/** @internal */
|
|
1291
|
-
export const TypeResponseOutputTextAnnotationAdded$outboundSchema = TypeResponseOutputTextAnnotationAdded$inboundSchema;
|
|
1292
|
-
/**
|
|
1293
|
-
* @internal
|
|
1294
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1295
|
-
*/
|
|
1296
|
-
export var TypeResponseOutputTextAnnotationAdded$;
|
|
1297
|
-
(function (TypeResponseOutputTextAnnotationAdded$) {
|
|
1298
|
-
/** @deprecated use `TypeResponseOutputTextAnnotationAdded$inboundSchema` instead. */
|
|
1299
|
-
TypeResponseOutputTextAnnotationAdded$.inboundSchema = TypeResponseOutputTextAnnotationAdded$inboundSchema;
|
|
1300
|
-
/** @deprecated use `TypeResponseOutputTextAnnotationAdded$outboundSchema` instead. */
|
|
1301
|
-
TypeResponseOutputTextAnnotationAdded$.outboundSchema = TypeResponseOutputTextAnnotationAdded$outboundSchema;
|
|
1302
|
-
})(TypeResponseOutputTextAnnotationAdded$ || (TypeResponseOutputTextAnnotationAdded$ = {}));
|
|
1303
|
-
/** @internal */
|
|
1304
|
-
export const ResponsesStreamChunkTypeURLCitation$inboundSchema = z.nativeEnum(ResponsesStreamChunkTypeURLCitation);
|
|
1305
|
-
/** @internal */
|
|
1306
|
-
export const ResponsesStreamChunkTypeURLCitation$outboundSchema = ResponsesStreamChunkTypeURLCitation$inboundSchema;
|
|
1307
|
-
/**
|
|
1308
|
-
* @internal
|
|
1309
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1310
|
-
*/
|
|
1311
|
-
export var ResponsesStreamChunkTypeURLCitation$;
|
|
1312
|
-
(function (ResponsesStreamChunkTypeURLCitation$) {
|
|
1313
|
-
/** @deprecated use `ResponsesStreamChunkTypeURLCitation$inboundSchema` instead. */
|
|
1314
|
-
ResponsesStreamChunkTypeURLCitation$.inboundSchema = ResponsesStreamChunkTypeURLCitation$inboundSchema;
|
|
1315
|
-
/** @deprecated use `ResponsesStreamChunkTypeURLCitation$outboundSchema` instead. */
|
|
1316
|
-
ResponsesStreamChunkTypeURLCitation$.outboundSchema = ResponsesStreamChunkTypeURLCitation$outboundSchema;
|
|
1317
|
-
})(ResponsesStreamChunkTypeURLCitation$ || (ResponsesStreamChunkTypeURLCitation$ = {}));
|
|
1318
|
-
/** @internal */
|
|
1319
|
-
export const Annotation$inboundSchema = z.object({
|
|
1320
|
-
type: ResponsesStreamChunkTypeURLCitation$inboundSchema,
|
|
1321
|
-
url: z.string(),
|
|
1322
|
-
title: z.string(),
|
|
1323
|
-
start_index: z.number(),
|
|
1324
|
-
end_index: z.number(),
|
|
1325
|
-
}).transform((v) => {
|
|
1326
|
-
return remap$(v, {
|
|
1327
|
-
"start_index": "startIndex",
|
|
1328
|
-
"end_index": "endIndex",
|
|
1329
|
-
});
|
|
1330
|
-
});
|
|
1331
|
-
/** @internal */
|
|
1332
|
-
export const Annotation$outboundSchema = z.object({
|
|
1333
|
-
type: ResponsesStreamChunkTypeURLCitation$outboundSchema,
|
|
1334
|
-
url: z.string(),
|
|
1335
|
-
title: z.string(),
|
|
1336
|
-
startIndex: z.number(),
|
|
1337
|
-
endIndex: z.number(),
|
|
1338
|
-
}).transform((v) => {
|
|
1339
|
-
return remap$(v, {
|
|
1340
|
-
startIndex: "start_index",
|
|
1341
|
-
endIndex: "end_index",
|
|
1342
|
-
});
|
|
1343
|
-
});
|
|
1344
|
-
/**
|
|
1345
|
-
* @internal
|
|
1346
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1347
|
-
*/
|
|
1348
|
-
export var Annotation$;
|
|
1349
|
-
(function (Annotation$) {
|
|
1350
|
-
/** @deprecated use `Annotation$inboundSchema` instead. */
|
|
1351
|
-
Annotation$.inboundSchema = Annotation$inboundSchema;
|
|
1352
|
-
/** @deprecated use `Annotation$outboundSchema` instead. */
|
|
1353
|
-
Annotation$.outboundSchema = Annotation$outboundSchema;
|
|
1354
|
-
})(Annotation$ || (Annotation$ = {}));
|
|
1355
|
-
export function annotationToJSON(annotation) {
|
|
1356
|
-
return JSON.stringify(Annotation$outboundSchema.parse(annotation));
|
|
1357
|
-
}
|
|
1358
|
-
export function annotationFromJSON(jsonString) {
|
|
1359
|
-
return safeParse(jsonString, (x) => Annotation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Annotation' from JSON`);
|
|
1360
|
-
}
|
|
1361
|
-
/** @internal */
|
|
1362
|
-
export const ResponsesStreamChunkResponseOutputTextAnnotationAdded$inboundSchema = z.object({
|
|
1363
|
-
type: TypeResponseOutputTextAnnotationAdded$inboundSchema,
|
|
1364
|
-
annotation: z.lazy(() => Annotation$inboundSchema),
|
|
1365
|
-
});
|
|
1366
|
-
/** @internal */
|
|
1367
|
-
export const ResponsesStreamChunkResponseOutputTextAnnotationAdded$outboundSchema = z.object({
|
|
1368
|
-
type: TypeResponseOutputTextAnnotationAdded$outboundSchema,
|
|
1369
|
-
annotation: z.lazy(() => Annotation$outboundSchema),
|
|
1370
|
-
});
|
|
1371
|
-
/**
|
|
1372
|
-
* @internal
|
|
1373
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1374
|
-
*/
|
|
1375
|
-
export var ResponsesStreamChunkResponseOutputTextAnnotationAdded$;
|
|
1376
|
-
(function (ResponsesStreamChunkResponseOutputTextAnnotationAdded$) {
|
|
1377
|
-
/** @deprecated use `ResponsesStreamChunkResponseOutputTextAnnotationAdded$inboundSchema` instead. */
|
|
1378
|
-
ResponsesStreamChunkResponseOutputTextAnnotationAdded$.inboundSchema = ResponsesStreamChunkResponseOutputTextAnnotationAdded$inboundSchema;
|
|
1379
|
-
/** @deprecated use `ResponsesStreamChunkResponseOutputTextAnnotationAdded$outboundSchema` instead. */
|
|
1380
|
-
ResponsesStreamChunkResponseOutputTextAnnotationAdded$.outboundSchema = ResponsesStreamChunkResponseOutputTextAnnotationAdded$outboundSchema;
|
|
1381
|
-
})(ResponsesStreamChunkResponseOutputTextAnnotationAdded$ || (ResponsesStreamChunkResponseOutputTextAnnotationAdded$ = {}));
|
|
1382
|
-
export function responsesStreamChunkResponseOutputTextAnnotationAddedToJSON(responsesStreamChunkResponseOutputTextAnnotationAdded) {
|
|
1383
|
-
return JSON.stringify(ResponsesStreamChunkResponseOutputTextAnnotationAdded$outboundSchema.parse(responsesStreamChunkResponseOutputTextAnnotationAdded));
|
|
1384
|
-
}
|
|
1385
|
-
export function responsesStreamChunkResponseOutputTextAnnotationAddedFromJSON(jsonString) {
|
|
1386
|
-
return safeParse(jsonString, (x) => ResponsesStreamChunkResponseOutputTextAnnotationAdded$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponsesStreamChunkResponseOutputTextAnnotationAdded' from JSON`);
|
|
1387
|
-
}
|
|
1388
|
-
/** @internal */
|
|
1389
|
-
export const TypeResponseOutputItemAdded$inboundSchema = z.nativeEnum(TypeResponseOutputItemAdded);
|
|
1390
|
-
/** @internal */
|
|
1391
|
-
export const TypeResponseOutputItemAdded$outboundSchema = TypeResponseOutputItemAdded$inboundSchema;
|
|
1392
|
-
/**
|
|
1393
|
-
* @internal
|
|
1394
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1395
|
-
*/
|
|
1396
|
-
export var TypeResponseOutputItemAdded$;
|
|
1397
|
-
(function (TypeResponseOutputItemAdded$) {
|
|
1398
|
-
/** @deprecated use `TypeResponseOutputItemAdded$inboundSchema` instead. */
|
|
1399
|
-
TypeResponseOutputItemAdded$.inboundSchema = TypeResponseOutputItemAdded$inboundSchema;
|
|
1400
|
-
/** @deprecated use `TypeResponseOutputItemAdded$outboundSchema` instead. */
|
|
1401
|
-
TypeResponseOutputItemAdded$.outboundSchema = TypeResponseOutputItemAdded$outboundSchema;
|
|
1402
|
-
})(TypeResponseOutputItemAdded$ || (TypeResponseOutputItemAdded$ = {}));
|
|
1403
|
-
/** @internal */
|
|
1404
|
-
export const ItemTypeWebSearchCall2$inboundSchema = z.nativeEnum(ItemTypeWebSearchCall2);
|
|
1405
|
-
/** @internal */
|
|
1406
|
-
export const ItemTypeWebSearchCall2$outboundSchema = ItemTypeWebSearchCall2$inboundSchema;
|
|
1407
|
-
/**
|
|
1408
|
-
* @internal
|
|
1409
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1410
|
-
*/
|
|
1411
|
-
export var ItemTypeWebSearchCall2$;
|
|
1412
|
-
(function (ItemTypeWebSearchCall2$) {
|
|
1413
|
-
/** @deprecated use `ItemTypeWebSearchCall2$inboundSchema` instead. */
|
|
1414
|
-
ItemTypeWebSearchCall2$.inboundSchema = ItemTypeWebSearchCall2$inboundSchema;
|
|
1415
|
-
/** @deprecated use `ItemTypeWebSearchCall2$outboundSchema` instead. */
|
|
1416
|
-
ItemTypeWebSearchCall2$.outboundSchema = ItemTypeWebSearchCall2$outboundSchema;
|
|
1417
|
-
})(ItemTypeWebSearchCall2$ || (ItemTypeWebSearchCall2$ = {}));
|
|
1418
|
-
/** @internal */
|
|
1419
|
-
export const ItemStatusEnum4$inboundSchema = z
|
|
1420
|
-
.union([
|
|
1421
|
-
z.nativeEnum(ItemStatusEnum4),
|
|
1422
|
-
z.string().transform(catchUnrecognizedEnum),
|
|
1423
|
-
]);
|
|
1424
|
-
/** @internal */
|
|
1425
|
-
export const ItemStatusEnum4$outboundSchema = z.union([
|
|
1426
|
-
z.nativeEnum(ItemStatusEnum4),
|
|
1427
|
-
z.string().and(z.custom()),
|
|
1428
|
-
]);
|
|
1429
|
-
/**
|
|
1430
|
-
* @internal
|
|
1431
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1432
|
-
*/
|
|
1433
|
-
export var ItemStatusEnum4$;
|
|
1434
|
-
(function (ItemStatusEnum4$) {
|
|
1435
|
-
/** @deprecated use `ItemStatusEnum4$inboundSchema` instead. */
|
|
1436
|
-
ItemStatusEnum4$.inboundSchema = ItemStatusEnum4$inboundSchema;
|
|
1437
|
-
/** @deprecated use `ItemStatusEnum4$outboundSchema` instead. */
|
|
1438
|
-
ItemStatusEnum4$.outboundSchema = ItemStatusEnum4$outboundSchema;
|
|
1439
|
-
})(ItemStatusEnum4$ || (ItemStatusEnum4$ = {}));
|
|
1440
|
-
/** @internal */
|
|
1441
|
-
export const ItemWebSearchCall2$inboundSchema = z.object({
|
|
1442
|
-
type: ItemTypeWebSearchCall2$inboundSchema,
|
|
1443
|
-
id: z.string(),
|
|
1444
|
-
status: ItemStatusEnum4$inboundSchema,
|
|
1445
|
-
});
|
|
1446
|
-
/** @internal */
|
|
1447
|
-
export const ItemWebSearchCall2$outboundSchema = z.object({
|
|
1448
|
-
type: ItemTypeWebSearchCall2$outboundSchema,
|
|
1449
|
-
id: z.string(),
|
|
1450
|
-
status: ItemStatusEnum4$outboundSchema,
|
|
1451
|
-
});
|
|
1452
|
-
/**
|
|
1453
|
-
* @internal
|
|
1454
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1455
|
-
*/
|
|
1456
|
-
export var ItemWebSearchCall2$;
|
|
1457
|
-
(function (ItemWebSearchCall2$) {
|
|
1458
|
-
/** @deprecated use `ItemWebSearchCall2$inboundSchema` instead. */
|
|
1459
|
-
ItemWebSearchCall2$.inboundSchema = ItemWebSearchCall2$inboundSchema;
|
|
1460
|
-
/** @deprecated use `ItemWebSearchCall2$outboundSchema` instead. */
|
|
1461
|
-
ItemWebSearchCall2$.outboundSchema = ItemWebSearchCall2$outboundSchema;
|
|
1462
|
-
})(ItemWebSearchCall2$ || (ItemWebSearchCall2$ = {}));
|
|
1463
|
-
export function itemWebSearchCall2ToJSON(itemWebSearchCall2) {
|
|
1464
|
-
return JSON.stringify(ItemWebSearchCall2$outboundSchema.parse(itemWebSearchCall2));
|
|
1465
|
-
}
|
|
1466
|
-
export function itemWebSearchCall2FromJSON(jsonString) {
|
|
1467
|
-
return safeParse(jsonString, (x) => ItemWebSearchCall2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ItemWebSearchCall2' from JSON`);
|
|
1468
|
-
}
|
|
1469
|
-
/** @internal */
|
|
1470
|
-
export const ItemTypeImageGenerationCall$inboundSchema = z.nativeEnum(ItemTypeImageGenerationCall);
|
|
1471
|
-
/** @internal */
|
|
1472
|
-
export const ItemTypeImageGenerationCall$outboundSchema = ItemTypeImageGenerationCall$inboundSchema;
|
|
1473
|
-
/**
|
|
1474
|
-
* @internal
|
|
1475
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1476
|
-
*/
|
|
1477
|
-
export var ItemTypeImageGenerationCall$;
|
|
1478
|
-
(function (ItemTypeImageGenerationCall$) {
|
|
1479
|
-
/** @deprecated use `ItemTypeImageGenerationCall$inboundSchema` instead. */
|
|
1480
|
-
ItemTypeImageGenerationCall$.inboundSchema = ItemTypeImageGenerationCall$inboundSchema;
|
|
1481
|
-
/** @deprecated use `ItemTypeImageGenerationCall$outboundSchema` instead. */
|
|
1482
|
-
ItemTypeImageGenerationCall$.outboundSchema = ItemTypeImageGenerationCall$outboundSchema;
|
|
1483
|
-
})(ItemTypeImageGenerationCall$ || (ItemTypeImageGenerationCall$ = {}));
|
|
1484
|
-
/** @internal */
|
|
1485
|
-
export const ItemStatusEnum3$inboundSchema = z
|
|
1486
|
-
.union([
|
|
1487
|
-
z.nativeEnum(ItemStatusEnum3),
|
|
1488
|
-
z.string().transform(catchUnrecognizedEnum),
|
|
1489
|
-
]);
|
|
1490
|
-
/** @internal */
|
|
1491
|
-
export const ItemStatusEnum3$outboundSchema = z.union([
|
|
1492
|
-
z.nativeEnum(ItemStatusEnum3),
|
|
1493
|
-
z.string().and(z.custom()),
|
|
1494
|
-
]);
|
|
1495
|
-
/**
|
|
1496
|
-
* @internal
|
|
1497
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1498
|
-
*/
|
|
1499
|
-
export var ItemStatusEnum3$;
|
|
1500
|
-
(function (ItemStatusEnum3$) {
|
|
1501
|
-
/** @deprecated use `ItemStatusEnum3$inboundSchema` instead. */
|
|
1502
|
-
ItemStatusEnum3$.inboundSchema = ItemStatusEnum3$inboundSchema;
|
|
1503
|
-
/** @deprecated use `ItemStatusEnum3$outboundSchema` instead. */
|
|
1504
|
-
ItemStatusEnum3$.outboundSchema = ItemStatusEnum3$outboundSchema;
|
|
1505
|
-
})(ItemStatusEnum3$ || (ItemStatusEnum3$ = {}));
|
|
1506
|
-
/** @internal */
|
|
1507
|
-
export const ItemImageGenerationCall$inboundSchema = z.object({
|
|
1508
|
-
type: ItemTypeImageGenerationCall$inboundSchema,
|
|
1509
|
-
id: z.string(),
|
|
1510
|
-
status: ItemStatusEnum3$inboundSchema,
|
|
1511
|
-
});
|
|
1512
|
-
/** @internal */
|
|
1513
|
-
export const ItemImageGenerationCall$outboundSchema = z.object({
|
|
1514
|
-
type: ItemTypeImageGenerationCall$outboundSchema,
|
|
1515
|
-
id: z.string(),
|
|
1516
|
-
status: ItemStatusEnum3$outboundSchema,
|
|
1517
|
-
});
|
|
1518
|
-
/**
|
|
1519
|
-
* @internal
|
|
1520
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1521
|
-
*/
|
|
1522
|
-
export var ItemImageGenerationCall$;
|
|
1523
|
-
(function (ItemImageGenerationCall$) {
|
|
1524
|
-
/** @deprecated use `ItemImageGenerationCall$inboundSchema` instead. */
|
|
1525
|
-
ItemImageGenerationCall$.inboundSchema = ItemImageGenerationCall$inboundSchema;
|
|
1526
|
-
/** @deprecated use `ItemImageGenerationCall$outboundSchema` instead. */
|
|
1527
|
-
ItemImageGenerationCall$.outboundSchema = ItemImageGenerationCall$outboundSchema;
|
|
1528
|
-
})(ItemImageGenerationCall$ || (ItemImageGenerationCall$ = {}));
|
|
1529
|
-
export function itemImageGenerationCallToJSON(itemImageGenerationCall) {
|
|
1530
|
-
return JSON.stringify(ItemImageGenerationCall$outboundSchema.parse(itemImageGenerationCall));
|
|
1531
|
-
}
|
|
1532
|
-
export function itemImageGenerationCallFromJSON(jsonString) {
|
|
1533
|
-
return safeParse(jsonString, (x) => ItemImageGenerationCall$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ItemImageGenerationCall' from JSON`);
|
|
1534
|
-
}
|
|
1535
|
-
/** @internal */
|
|
1536
|
-
export const ItemTypeReasoning2$inboundSchema = z.nativeEnum(ItemTypeReasoning2);
|
|
1537
|
-
/** @internal */
|
|
1538
|
-
export const ItemTypeReasoning2$outboundSchema = ItemTypeReasoning2$inboundSchema;
|
|
1539
|
-
/**
|
|
1540
|
-
* @internal
|
|
1541
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1542
|
-
*/
|
|
1543
|
-
export var ItemTypeReasoning2$;
|
|
1544
|
-
(function (ItemTypeReasoning2$) {
|
|
1545
|
-
/** @deprecated use `ItemTypeReasoning2$inboundSchema` instead. */
|
|
1546
|
-
ItemTypeReasoning2$.inboundSchema = ItemTypeReasoning2$inboundSchema;
|
|
1547
|
-
/** @deprecated use `ItemTypeReasoning2$outboundSchema` instead. */
|
|
1548
|
-
ItemTypeReasoning2$.outboundSchema = ItemTypeReasoning2$outboundSchema;
|
|
1549
|
-
})(ItemTypeReasoning2$ || (ItemTypeReasoning2$ = {}));
|
|
1550
|
-
/** @internal */
|
|
1551
|
-
export const ItemTypeSummaryText2$inboundSchema = z.nativeEnum(ItemTypeSummaryText2);
|
|
1552
|
-
/** @internal */
|
|
1553
|
-
export const ItemTypeSummaryText2$outboundSchema = ItemTypeSummaryText2$inboundSchema;
|
|
1554
|
-
/**
|
|
1555
|
-
* @internal
|
|
1556
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1557
|
-
*/
|
|
1558
|
-
export var ItemTypeSummaryText2$;
|
|
1559
|
-
(function (ItemTypeSummaryText2$) {
|
|
1560
|
-
/** @deprecated use `ItemTypeSummaryText2$inboundSchema` instead. */
|
|
1561
|
-
ItemTypeSummaryText2$.inboundSchema = ItemTypeSummaryText2$inboundSchema;
|
|
1562
|
-
/** @deprecated use `ItemTypeSummaryText2$outboundSchema` instead. */
|
|
1563
|
-
ItemTypeSummaryText2$.outboundSchema = ItemTypeSummaryText2$outboundSchema;
|
|
1564
|
-
})(ItemTypeSummaryText2$ || (ItemTypeSummaryText2$ = {}));
|
|
1565
|
-
/** @internal */
|
|
1566
|
-
export const ResponsesStreamChunkSummary2$inboundSchema = z.object({
|
|
1567
|
-
type: ItemTypeSummaryText2$inboundSchema,
|
|
1568
|
-
text: z.string(),
|
|
1569
|
-
});
|
|
1570
|
-
/** @internal */
|
|
1571
|
-
export const ResponsesStreamChunkSummary2$outboundSchema = z.object({
|
|
1572
|
-
type: ItemTypeSummaryText2$outboundSchema,
|
|
1573
|
-
text: z.string(),
|
|
1574
|
-
});
|
|
1575
|
-
/**
|
|
1576
|
-
* @internal
|
|
1577
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1578
|
-
*/
|
|
1579
|
-
export var ResponsesStreamChunkSummary2$;
|
|
1580
|
-
(function (ResponsesStreamChunkSummary2$) {
|
|
1581
|
-
/** @deprecated use `ResponsesStreamChunkSummary2$inboundSchema` instead. */
|
|
1582
|
-
ResponsesStreamChunkSummary2$.inboundSchema = ResponsesStreamChunkSummary2$inboundSchema;
|
|
1583
|
-
/** @deprecated use `ResponsesStreamChunkSummary2$outboundSchema` instead. */
|
|
1584
|
-
ResponsesStreamChunkSummary2$.outboundSchema = ResponsesStreamChunkSummary2$outboundSchema;
|
|
1585
|
-
})(ResponsesStreamChunkSummary2$ || (ResponsesStreamChunkSummary2$ = {}));
|
|
1586
|
-
export function responsesStreamChunkSummary2ToJSON(responsesStreamChunkSummary2) {
|
|
1587
|
-
return JSON.stringify(ResponsesStreamChunkSummary2$outboundSchema.parse(responsesStreamChunkSummary2));
|
|
1588
|
-
}
|
|
1589
|
-
export function responsesStreamChunkSummary2FromJSON(jsonString) {
|
|
1590
|
-
return safeParse(jsonString, (x) => ResponsesStreamChunkSummary2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponsesStreamChunkSummary2' from JSON`);
|
|
1591
|
-
}
|
|
1592
|
-
/** @internal */
|
|
1593
|
-
export const ItemReasoning2$inboundSchema = z.object({
|
|
1594
|
-
type: ItemTypeReasoning2$inboundSchema,
|
|
1595
|
-
id: z.string(),
|
|
1596
|
-
summary: z.array(z.lazy(() => ResponsesStreamChunkSummary2$inboundSchema)),
|
|
1597
|
-
});
|
|
1598
|
-
/** @internal */
|
|
1599
|
-
export const ItemReasoning2$outboundSchema = z.object({
|
|
1600
|
-
type: ItemTypeReasoning2$outboundSchema,
|
|
1601
|
-
id: z.string(),
|
|
1602
|
-
summary: z.array(z.lazy(() => ResponsesStreamChunkSummary2$outboundSchema)),
|
|
1603
|
-
});
|
|
1604
|
-
/**
|
|
1605
|
-
* @internal
|
|
1606
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1607
|
-
*/
|
|
1608
|
-
export var ItemReasoning2$;
|
|
1609
|
-
(function (ItemReasoning2$) {
|
|
1610
|
-
/** @deprecated use `ItemReasoning2$inboundSchema` instead. */
|
|
1611
|
-
ItemReasoning2$.inboundSchema = ItemReasoning2$inboundSchema;
|
|
1612
|
-
/** @deprecated use `ItemReasoning2$outboundSchema` instead. */
|
|
1613
|
-
ItemReasoning2$.outboundSchema = ItemReasoning2$outboundSchema;
|
|
1614
|
-
})(ItemReasoning2$ || (ItemReasoning2$ = {}));
|
|
1615
|
-
export function itemReasoning2ToJSON(itemReasoning2) {
|
|
1616
|
-
return JSON.stringify(ItemReasoning2$outboundSchema.parse(itemReasoning2));
|
|
1617
|
-
}
|
|
1618
|
-
export function itemReasoning2FromJSON(jsonString) {
|
|
1619
|
-
return safeParse(jsonString, (x) => ItemReasoning2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ItemReasoning2' from JSON`);
|
|
1620
|
-
}
|
|
1621
|
-
/** @internal */
|
|
1622
|
-
export const ItemTypeFunctionCall2$inboundSchema = z.nativeEnum(ItemTypeFunctionCall2);
|
|
1623
|
-
/** @internal */
|
|
1624
|
-
export const ItemTypeFunctionCall2$outboundSchema = ItemTypeFunctionCall2$inboundSchema;
|
|
1625
|
-
/**
|
|
1626
|
-
* @internal
|
|
1627
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1628
|
-
*/
|
|
1629
|
-
export var ItemTypeFunctionCall2$;
|
|
1630
|
-
(function (ItemTypeFunctionCall2$) {
|
|
1631
|
-
/** @deprecated use `ItemTypeFunctionCall2$inboundSchema` instead. */
|
|
1632
|
-
ItemTypeFunctionCall2$.inboundSchema = ItemTypeFunctionCall2$inboundSchema;
|
|
1633
|
-
/** @deprecated use `ItemTypeFunctionCall2$outboundSchema` instead. */
|
|
1634
|
-
ItemTypeFunctionCall2$.outboundSchema = ItemTypeFunctionCall2$outboundSchema;
|
|
1635
|
-
})(ItemTypeFunctionCall2$ || (ItemTypeFunctionCall2$ = {}));
|
|
1636
|
-
/** @internal */
|
|
1637
|
-
export const ItemFunctionCall2$inboundSchema = z.object({
|
|
1638
|
-
type: ItemTypeFunctionCall2$inboundSchema,
|
|
1639
|
-
id: z.string(),
|
|
1640
|
-
call_id: z.string(),
|
|
1641
|
-
name: z.string(),
|
|
1642
|
-
arguments: z.string(),
|
|
1643
|
-
}).transform((v) => {
|
|
1644
|
-
return remap$(v, {
|
|
1645
|
-
"call_id": "callId",
|
|
1646
|
-
});
|
|
1647
|
-
});
|
|
1648
|
-
/** @internal */
|
|
1649
|
-
export const ItemFunctionCall2$outboundSchema = z.object({
|
|
1650
|
-
type: ItemTypeFunctionCall2$outboundSchema,
|
|
1651
|
-
id: z.string(),
|
|
1652
|
-
callId: z.string(),
|
|
1653
|
-
name: z.string(),
|
|
1654
|
-
arguments: z.string(),
|
|
1655
|
-
}).transform((v) => {
|
|
1656
|
-
return remap$(v, {
|
|
1657
|
-
callId: "call_id",
|
|
1658
|
-
});
|
|
1659
|
-
});
|
|
1660
|
-
/**
|
|
1661
|
-
* @internal
|
|
1662
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1663
|
-
*/
|
|
1664
|
-
export var ItemFunctionCall2$;
|
|
1665
|
-
(function (ItemFunctionCall2$) {
|
|
1666
|
-
/** @deprecated use `ItemFunctionCall2$inboundSchema` instead. */
|
|
1667
|
-
ItemFunctionCall2$.inboundSchema = ItemFunctionCall2$inboundSchema;
|
|
1668
|
-
/** @deprecated use `ItemFunctionCall2$outboundSchema` instead. */
|
|
1669
|
-
ItemFunctionCall2$.outboundSchema = ItemFunctionCall2$outboundSchema;
|
|
1670
|
-
})(ItemFunctionCall2$ || (ItemFunctionCall2$ = {}));
|
|
1671
|
-
export function itemFunctionCall2ToJSON(itemFunctionCall2) {
|
|
1672
|
-
return JSON.stringify(ItemFunctionCall2$outboundSchema.parse(itemFunctionCall2));
|
|
1673
|
-
}
|
|
1674
|
-
export function itemFunctionCall2FromJSON(jsonString) {
|
|
1675
|
-
return safeParse(jsonString, (x) => ItemFunctionCall2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ItemFunctionCall2' from JSON`);
|
|
1676
|
-
}
|
|
1677
|
-
/** @internal */
|
|
1678
|
-
export const ItemTypeMessage2$inboundSchema = z.nativeEnum(ItemTypeMessage2);
|
|
1679
|
-
/** @internal */
|
|
1680
|
-
export const ItemTypeMessage2$outboundSchema = ItemTypeMessage2$inboundSchema;
|
|
1681
|
-
/**
|
|
1682
|
-
* @internal
|
|
1683
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1684
|
-
*/
|
|
1685
|
-
export var ItemTypeMessage2$;
|
|
1686
|
-
(function (ItemTypeMessage2$) {
|
|
1687
|
-
/** @deprecated use `ItemTypeMessage2$inboundSchema` instead. */
|
|
1688
|
-
ItemTypeMessage2$.inboundSchema = ItemTypeMessage2$inboundSchema;
|
|
1689
|
-
/** @deprecated use `ItemTypeMessage2$outboundSchema` instead. */
|
|
1690
|
-
ItemTypeMessage2$.outboundSchema = ItemTypeMessage2$outboundSchema;
|
|
1691
|
-
})(ItemTypeMessage2$ || (ItemTypeMessage2$ = {}));
|
|
1692
|
-
/** @internal */
|
|
1693
|
-
export const ItemMessage$inboundSchema = z.object({
|
|
1694
|
-
type: ItemTypeMessage2$inboundSchema,
|
|
1695
|
-
});
|
|
1696
|
-
/** @internal */
|
|
1697
|
-
export const ItemMessage$outboundSchema = z.object({
|
|
1698
|
-
type: ItemTypeMessage2$outboundSchema,
|
|
1699
|
-
});
|
|
1700
|
-
/**
|
|
1701
|
-
* @internal
|
|
1702
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1703
|
-
*/
|
|
1704
|
-
export var ItemMessage$;
|
|
1705
|
-
(function (ItemMessage$) {
|
|
1706
|
-
/** @deprecated use `ItemMessage$inboundSchema` instead. */
|
|
1707
|
-
ItemMessage$.inboundSchema = ItemMessage$inboundSchema;
|
|
1708
|
-
/** @deprecated use `ItemMessage$outboundSchema` instead. */
|
|
1709
|
-
ItemMessage$.outboundSchema = ItemMessage$outboundSchema;
|
|
1710
|
-
})(ItemMessage$ || (ItemMessage$ = {}));
|
|
1711
|
-
export function itemMessageToJSON(itemMessage) {
|
|
1712
|
-
return JSON.stringify(ItemMessage$outboundSchema.parse(itemMessage));
|
|
1713
|
-
}
|
|
1714
|
-
export function itemMessageFromJSON(jsonString) {
|
|
1715
|
-
return safeParse(jsonString, (x) => ItemMessage$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ItemMessage' from JSON`);
|
|
1716
|
-
}
|
|
1717
|
-
/** @internal */
|
|
1718
|
-
export const ItemUnion2$inboundSchema = z.union([
|
|
1719
|
-
z.lazy(() => ItemFunctionCall2$inboundSchema),
|
|
1720
|
-
z.lazy(() => ItemReasoning2$inboundSchema),
|
|
1721
|
-
z.lazy(() => ItemImageGenerationCall$inboundSchema),
|
|
1722
|
-
z.lazy(() => ItemWebSearchCall2$inboundSchema),
|
|
1723
|
-
z.lazy(() => ItemMessage$inboundSchema),
|
|
1724
|
-
]);
|
|
1725
|
-
/** @internal */
|
|
1726
|
-
export const ItemUnion2$outboundSchema = z.union([
|
|
1727
|
-
z.lazy(() => ItemFunctionCall2$outboundSchema),
|
|
1728
|
-
z.lazy(() => ItemReasoning2$outboundSchema),
|
|
1729
|
-
z.lazy(() => ItemImageGenerationCall$outboundSchema),
|
|
1730
|
-
z.lazy(() => ItemWebSearchCall2$outboundSchema),
|
|
1731
|
-
z.lazy(() => ItemMessage$outboundSchema),
|
|
1732
|
-
]);
|
|
1733
|
-
/**
|
|
1734
|
-
* @internal
|
|
1735
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1736
|
-
*/
|
|
1737
|
-
export var ItemUnion2$;
|
|
1738
|
-
(function (ItemUnion2$) {
|
|
1739
|
-
/** @deprecated use `ItemUnion2$inboundSchema` instead. */
|
|
1740
|
-
ItemUnion2$.inboundSchema = ItemUnion2$inboundSchema;
|
|
1741
|
-
/** @deprecated use `ItemUnion2$outboundSchema` instead. */
|
|
1742
|
-
ItemUnion2$.outboundSchema = ItemUnion2$outboundSchema;
|
|
1743
|
-
})(ItemUnion2$ || (ItemUnion2$ = {}));
|
|
1744
|
-
export function itemUnion2ToJSON(itemUnion2) {
|
|
1745
|
-
return JSON.stringify(ItemUnion2$outboundSchema.parse(itemUnion2));
|
|
1746
|
-
}
|
|
1747
|
-
export function itemUnion2FromJSON(jsonString) {
|
|
1748
|
-
return safeParse(jsonString, (x) => ItemUnion2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ItemUnion2' from JSON`);
|
|
1749
|
-
}
|
|
1750
|
-
/** @internal */
|
|
1751
|
-
export const ResponsesStreamChunkResponseOutputItemAdded$inboundSchema = z.object({
|
|
1752
|
-
type: TypeResponseOutputItemAdded$inboundSchema,
|
|
1753
|
-
output_index: z.number(),
|
|
1754
|
-
item: z.union([
|
|
1755
|
-
z.lazy(() => ItemFunctionCall2$inboundSchema),
|
|
1756
|
-
z.lazy(() => ItemReasoning2$inboundSchema),
|
|
1757
|
-
z.lazy(() => ItemImageGenerationCall$inboundSchema),
|
|
1758
|
-
z.lazy(() => ItemWebSearchCall2$inboundSchema),
|
|
1759
|
-
z.lazy(() => ItemMessage$inboundSchema),
|
|
1760
|
-
]),
|
|
1761
|
-
}).transform((v) => {
|
|
1762
|
-
return remap$(v, {
|
|
1763
|
-
"output_index": "outputIndex",
|
|
1764
|
-
});
|
|
1765
|
-
});
|
|
1766
|
-
/** @internal */
|
|
1767
|
-
export const ResponsesStreamChunkResponseOutputItemAdded$outboundSchema = z.object({
|
|
1768
|
-
type: TypeResponseOutputItemAdded$outboundSchema,
|
|
1769
|
-
outputIndex: z.number(),
|
|
1770
|
-
item: z.union([
|
|
1771
|
-
z.lazy(() => ItemFunctionCall2$outboundSchema),
|
|
1772
|
-
z.lazy(() => ItemReasoning2$outboundSchema),
|
|
1773
|
-
z.lazy(() => ItemImageGenerationCall$outboundSchema),
|
|
1774
|
-
z.lazy(() => ItemWebSearchCall2$outboundSchema),
|
|
1775
|
-
z.lazy(() => ItemMessage$outboundSchema),
|
|
1776
|
-
]),
|
|
1777
|
-
}).transform((v) => {
|
|
1778
|
-
return remap$(v, {
|
|
1779
|
-
outputIndex: "output_index",
|
|
1780
|
-
});
|
|
1781
|
-
});
|
|
1782
|
-
/**
|
|
1783
|
-
* @internal
|
|
1784
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1785
|
-
*/
|
|
1786
|
-
export var ResponsesStreamChunkResponseOutputItemAdded$;
|
|
1787
|
-
(function (ResponsesStreamChunkResponseOutputItemAdded$) {
|
|
1788
|
-
/** @deprecated use `ResponsesStreamChunkResponseOutputItemAdded$inboundSchema` instead. */
|
|
1789
|
-
ResponsesStreamChunkResponseOutputItemAdded$.inboundSchema = ResponsesStreamChunkResponseOutputItemAdded$inboundSchema;
|
|
1790
|
-
/** @deprecated use `ResponsesStreamChunkResponseOutputItemAdded$outboundSchema` instead. */
|
|
1791
|
-
ResponsesStreamChunkResponseOutputItemAdded$.outboundSchema = ResponsesStreamChunkResponseOutputItemAdded$outboundSchema;
|
|
1792
|
-
})(ResponsesStreamChunkResponseOutputItemAdded$ || (ResponsesStreamChunkResponseOutputItemAdded$ = {}));
|
|
1793
|
-
export function responsesStreamChunkResponseOutputItemAddedToJSON(responsesStreamChunkResponseOutputItemAdded) {
|
|
1794
|
-
return JSON.stringify(ResponsesStreamChunkResponseOutputItemAdded$outboundSchema.parse(responsesStreamChunkResponseOutputItemAdded));
|
|
1795
|
-
}
|
|
1796
|
-
export function responsesStreamChunkResponseOutputItemAddedFromJSON(jsonString) {
|
|
1797
|
-
return safeParse(jsonString, (x) => ResponsesStreamChunkResponseOutputItemAdded$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponsesStreamChunkResponseOutputItemAdded' from JSON`);
|
|
1798
|
-
}
|
|
1799
|
-
/** @internal */
|
|
1800
|
-
export const TypeResponseFunctionCallArgumentsDelta$inboundSchema = z.nativeEnum(TypeResponseFunctionCallArgumentsDelta);
|
|
1801
|
-
/** @internal */
|
|
1802
|
-
export const TypeResponseFunctionCallArgumentsDelta$outboundSchema = TypeResponseFunctionCallArgumentsDelta$inboundSchema;
|
|
1803
|
-
/**
|
|
1804
|
-
* @internal
|
|
1805
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1806
|
-
*/
|
|
1807
|
-
export var TypeResponseFunctionCallArgumentsDelta$;
|
|
1808
|
-
(function (TypeResponseFunctionCallArgumentsDelta$) {
|
|
1809
|
-
/** @deprecated use `TypeResponseFunctionCallArgumentsDelta$inboundSchema` instead. */
|
|
1810
|
-
TypeResponseFunctionCallArgumentsDelta$.inboundSchema = TypeResponseFunctionCallArgumentsDelta$inboundSchema;
|
|
1811
|
-
/** @deprecated use `TypeResponseFunctionCallArgumentsDelta$outboundSchema` instead. */
|
|
1812
|
-
TypeResponseFunctionCallArgumentsDelta$.outboundSchema = TypeResponseFunctionCallArgumentsDelta$outboundSchema;
|
|
1813
|
-
})(TypeResponseFunctionCallArgumentsDelta$ || (TypeResponseFunctionCallArgumentsDelta$ = {}));
|
|
1814
|
-
/** @internal */
|
|
1815
|
-
export const ResponsesStreamChunkResponseFunctionCallArgumentsDelta$inboundSchema = z.object({
|
|
1816
|
-
type: TypeResponseFunctionCallArgumentsDelta$inboundSchema,
|
|
1817
|
-
item_id: z.string(),
|
|
1818
|
-
output_index: z.number(),
|
|
1819
|
-
sequence_number: z.number(),
|
|
1820
|
-
delta: z.string(),
|
|
1821
|
-
}).transform((v) => {
|
|
1822
|
-
return remap$(v, {
|
|
1823
|
-
"item_id": "itemId",
|
|
1824
|
-
"output_index": "outputIndex",
|
|
1825
|
-
"sequence_number": "sequenceNumber",
|
|
1826
|
-
});
|
|
1827
|
-
});
|
|
1828
|
-
/** @internal */
|
|
1829
|
-
export const ResponsesStreamChunkResponseFunctionCallArgumentsDelta$outboundSchema = z.object({
|
|
1830
|
-
type: TypeResponseFunctionCallArgumentsDelta$outboundSchema,
|
|
1831
|
-
itemId: z.string(),
|
|
1832
|
-
outputIndex: z.number(),
|
|
1833
|
-
sequenceNumber: z.number(),
|
|
1834
|
-
delta: z.string(),
|
|
1835
|
-
}).transform((v) => {
|
|
1836
|
-
return remap$(v, {
|
|
1837
|
-
itemId: "item_id",
|
|
1838
|
-
outputIndex: "output_index",
|
|
1839
|
-
sequenceNumber: "sequence_number",
|
|
1840
|
-
});
|
|
1841
|
-
});
|
|
1842
|
-
/**
|
|
1843
|
-
* @internal
|
|
1844
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1845
|
-
*/
|
|
1846
|
-
export var ResponsesStreamChunkResponseFunctionCallArgumentsDelta$;
|
|
1847
|
-
(function (ResponsesStreamChunkResponseFunctionCallArgumentsDelta$) {
|
|
1848
|
-
/** @deprecated use `ResponsesStreamChunkResponseFunctionCallArgumentsDelta$inboundSchema` instead. */
|
|
1849
|
-
ResponsesStreamChunkResponseFunctionCallArgumentsDelta$.inboundSchema = ResponsesStreamChunkResponseFunctionCallArgumentsDelta$inboundSchema;
|
|
1850
|
-
/** @deprecated use `ResponsesStreamChunkResponseFunctionCallArgumentsDelta$outboundSchema` instead. */
|
|
1851
|
-
ResponsesStreamChunkResponseFunctionCallArgumentsDelta$.outboundSchema = ResponsesStreamChunkResponseFunctionCallArgumentsDelta$outboundSchema;
|
|
1852
|
-
})(ResponsesStreamChunkResponseFunctionCallArgumentsDelta$ || (ResponsesStreamChunkResponseFunctionCallArgumentsDelta$ = {}));
|
|
1853
|
-
export function responsesStreamChunkResponseFunctionCallArgumentsDeltaToJSON(responsesStreamChunkResponseFunctionCallArgumentsDelta) {
|
|
1854
|
-
return JSON.stringify(ResponsesStreamChunkResponseFunctionCallArgumentsDelta$outboundSchema.parse(responsesStreamChunkResponseFunctionCallArgumentsDelta));
|
|
1855
|
-
}
|
|
1856
|
-
export function responsesStreamChunkResponseFunctionCallArgumentsDeltaFromJSON(jsonString) {
|
|
1857
|
-
return safeParse(jsonString, (x) => ResponsesStreamChunkResponseFunctionCallArgumentsDelta$inboundSchema
|
|
1858
|
-
.parse(JSON.parse(x)), `Failed to parse 'ResponsesStreamChunkResponseFunctionCallArgumentsDelta' from JSON`);
|
|
1859
|
-
}
|
|
1860
|
-
/** @internal */
|
|
1861
|
-
export const TypeResponseOutputItemDone$inboundSchema = z.nativeEnum(TypeResponseOutputItemDone);
|
|
1862
|
-
/** @internal */
|
|
1863
|
-
export const TypeResponseOutputItemDone$outboundSchema = TypeResponseOutputItemDone$inboundSchema;
|
|
1864
|
-
/**
|
|
1865
|
-
* @internal
|
|
1866
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1867
|
-
*/
|
|
1868
|
-
export var TypeResponseOutputItemDone$;
|
|
1869
|
-
(function (TypeResponseOutputItemDone$) {
|
|
1870
|
-
/** @deprecated use `TypeResponseOutputItemDone$inboundSchema` instead. */
|
|
1871
|
-
TypeResponseOutputItemDone$.inboundSchema = TypeResponseOutputItemDone$inboundSchema;
|
|
1872
|
-
/** @deprecated use `TypeResponseOutputItemDone$outboundSchema` instead. */
|
|
1873
|
-
TypeResponseOutputItemDone$.outboundSchema = TypeResponseOutputItemDone$outboundSchema;
|
|
1874
|
-
})(TypeResponseOutputItemDone$ || (TypeResponseOutputItemDone$ = {}));
|
|
1875
|
-
/** @internal */
|
|
1876
|
-
export const ItemTypeFileSearchCall$inboundSchema = z.nativeEnum(ItemTypeFileSearchCall);
|
|
1877
|
-
/** @internal */
|
|
1878
|
-
export const ItemTypeFileSearchCall$outboundSchema = ItemTypeFileSearchCall$inboundSchema;
|
|
1879
|
-
/**
|
|
1880
|
-
* @internal
|
|
1881
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1882
|
-
*/
|
|
1883
|
-
export var ItemTypeFileSearchCall$;
|
|
1884
|
-
(function (ItemTypeFileSearchCall$) {
|
|
1885
|
-
/** @deprecated use `ItemTypeFileSearchCall$inboundSchema` instead. */
|
|
1886
|
-
ItemTypeFileSearchCall$.inboundSchema = ItemTypeFileSearchCall$inboundSchema;
|
|
1887
|
-
/** @deprecated use `ItemTypeFileSearchCall$outboundSchema` instead. */
|
|
1888
|
-
ItemTypeFileSearchCall$.outboundSchema = ItemTypeFileSearchCall$outboundSchema;
|
|
1889
|
-
})(ItemTypeFileSearchCall$ || (ItemTypeFileSearchCall$ = {}));
|
|
1890
|
-
/** @internal */
|
|
1891
|
-
export const ItemStatusEnum2$inboundSchema = z
|
|
1892
|
-
.union([
|
|
1893
|
-
z.nativeEnum(ItemStatusEnum2),
|
|
1894
|
-
z.string().transform(catchUnrecognizedEnum),
|
|
1895
|
-
]);
|
|
1896
|
-
/** @internal */
|
|
1897
|
-
export const ItemStatusEnum2$outboundSchema = z.union([
|
|
1898
|
-
z.nativeEnum(ItemStatusEnum2),
|
|
1899
|
-
z.string().and(z.custom()),
|
|
1900
|
-
]);
|
|
1901
|
-
/**
|
|
1902
|
-
* @internal
|
|
1903
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1904
|
-
*/
|
|
1905
|
-
export var ItemStatusEnum2$;
|
|
1906
|
-
(function (ItemStatusEnum2$) {
|
|
1907
|
-
/** @deprecated use `ItemStatusEnum2$inboundSchema` instead. */
|
|
1908
|
-
ItemStatusEnum2$.inboundSchema = ItemStatusEnum2$inboundSchema;
|
|
1909
|
-
/** @deprecated use `ItemStatusEnum2$outboundSchema` instead. */
|
|
1910
|
-
ItemStatusEnum2$.outboundSchema = ItemStatusEnum2$outboundSchema;
|
|
1911
|
-
})(ItemStatusEnum2$ || (ItemStatusEnum2$ = {}));
|
|
1912
|
-
/** @internal */
|
|
1913
|
-
export const ItemFileSearchCall$inboundSchema = z.object({
|
|
1914
|
-
type: ItemTypeFileSearchCall$inboundSchema,
|
|
1915
|
-
id: z.string(),
|
|
1916
|
-
queries: z.array(z.string()),
|
|
1917
|
-
status: ItemStatusEnum2$inboundSchema,
|
|
1918
|
-
});
|
|
1919
|
-
/** @internal */
|
|
1920
|
-
export const ItemFileSearchCall$outboundSchema = z.object({
|
|
1921
|
-
type: ItemTypeFileSearchCall$outboundSchema,
|
|
1922
|
-
id: z.string(),
|
|
1923
|
-
queries: z.array(z.string()),
|
|
1924
|
-
status: ItemStatusEnum2$outboundSchema,
|
|
1925
|
-
});
|
|
1926
|
-
/**
|
|
1927
|
-
* @internal
|
|
1928
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1929
|
-
*/
|
|
1930
|
-
export var ItemFileSearchCall$;
|
|
1931
|
-
(function (ItemFileSearchCall$) {
|
|
1932
|
-
/** @deprecated use `ItemFileSearchCall$inboundSchema` instead. */
|
|
1933
|
-
ItemFileSearchCall$.inboundSchema = ItemFileSearchCall$inboundSchema;
|
|
1934
|
-
/** @deprecated use `ItemFileSearchCall$outboundSchema` instead. */
|
|
1935
|
-
ItemFileSearchCall$.outboundSchema = ItemFileSearchCall$outboundSchema;
|
|
1936
|
-
})(ItemFileSearchCall$ || (ItemFileSearchCall$ = {}));
|
|
1937
|
-
export function itemFileSearchCallToJSON(itemFileSearchCall) {
|
|
1938
|
-
return JSON.stringify(ItemFileSearchCall$outboundSchema.parse(itemFileSearchCall));
|
|
1939
|
-
}
|
|
1940
|
-
export function itemFileSearchCallFromJSON(jsonString) {
|
|
1941
|
-
return safeParse(jsonString, (x) => ItemFileSearchCall$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ItemFileSearchCall' from JSON`);
|
|
1942
|
-
}
|
|
1943
|
-
/** @internal */
|
|
1944
|
-
export const ItemTypeWebSearchCall1$inboundSchema = z.nativeEnum(ItemTypeWebSearchCall1);
|
|
1945
|
-
/** @internal */
|
|
1946
|
-
export const ItemTypeWebSearchCall1$outboundSchema = ItemTypeWebSearchCall1$inboundSchema;
|
|
1947
|
-
/**
|
|
1948
|
-
* @internal
|
|
1949
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1950
|
-
*/
|
|
1951
|
-
export var ItemTypeWebSearchCall1$;
|
|
1952
|
-
(function (ItemTypeWebSearchCall1$) {
|
|
1953
|
-
/** @deprecated use `ItemTypeWebSearchCall1$inboundSchema` instead. */
|
|
1954
|
-
ItemTypeWebSearchCall1$.inboundSchema = ItemTypeWebSearchCall1$inboundSchema;
|
|
1955
|
-
/** @deprecated use `ItemTypeWebSearchCall1$outboundSchema` instead. */
|
|
1956
|
-
ItemTypeWebSearchCall1$.outboundSchema = ItemTypeWebSearchCall1$outboundSchema;
|
|
1957
|
-
})(ItemTypeWebSearchCall1$ || (ItemTypeWebSearchCall1$ = {}));
|
|
1958
|
-
/** @internal */
|
|
1959
|
-
export const ItemStatusEnum1$inboundSchema = z
|
|
1960
|
-
.union([
|
|
1961
|
-
z.nativeEnum(ItemStatusEnum1),
|
|
1962
|
-
z.string().transform(catchUnrecognizedEnum),
|
|
1963
|
-
]);
|
|
1964
|
-
/** @internal */
|
|
1965
|
-
export const ItemStatusEnum1$outboundSchema = z.union([
|
|
1966
|
-
z.nativeEnum(ItemStatusEnum1),
|
|
1967
|
-
z.string().and(z.custom()),
|
|
1968
|
-
]);
|
|
1969
|
-
/**
|
|
1970
|
-
* @internal
|
|
1971
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1972
|
-
*/
|
|
1973
|
-
export var ItemStatusEnum1$;
|
|
1974
|
-
(function (ItemStatusEnum1$) {
|
|
1975
|
-
/** @deprecated use `ItemStatusEnum1$inboundSchema` instead. */
|
|
1976
|
-
ItemStatusEnum1$.inboundSchema = ItemStatusEnum1$inboundSchema;
|
|
1977
|
-
/** @deprecated use `ItemStatusEnum1$outboundSchema` instead. */
|
|
1978
|
-
ItemStatusEnum1$.outboundSchema = ItemStatusEnum1$outboundSchema;
|
|
1979
|
-
})(ItemStatusEnum1$ || (ItemStatusEnum1$ = {}));
|
|
1980
|
-
/** @internal */
|
|
1981
|
-
export const ItemWebSearchCall1$inboundSchema = z.object({
|
|
1982
|
-
type: ItemTypeWebSearchCall1$inboundSchema,
|
|
1983
|
-
id: z.string(),
|
|
1984
|
-
status: ItemStatusEnum1$inboundSchema,
|
|
1985
|
-
});
|
|
1986
|
-
/** @internal */
|
|
1987
|
-
export const ItemWebSearchCall1$outboundSchema = z.object({
|
|
1988
|
-
type: ItemTypeWebSearchCall1$outboundSchema,
|
|
1989
|
-
id: z.string(),
|
|
1990
|
-
status: ItemStatusEnum1$outboundSchema,
|
|
1991
|
-
});
|
|
1992
|
-
/**
|
|
1993
|
-
* @internal
|
|
1994
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1995
|
-
*/
|
|
1996
|
-
export var ItemWebSearchCall1$;
|
|
1997
|
-
(function (ItemWebSearchCall1$) {
|
|
1998
|
-
/** @deprecated use `ItemWebSearchCall1$inboundSchema` instead. */
|
|
1999
|
-
ItemWebSearchCall1$.inboundSchema = ItemWebSearchCall1$inboundSchema;
|
|
2000
|
-
/** @deprecated use `ItemWebSearchCall1$outboundSchema` instead. */
|
|
2001
|
-
ItemWebSearchCall1$.outboundSchema = ItemWebSearchCall1$outboundSchema;
|
|
2002
|
-
})(ItemWebSearchCall1$ || (ItemWebSearchCall1$ = {}));
|
|
2003
|
-
export function itemWebSearchCall1ToJSON(itemWebSearchCall1) {
|
|
2004
|
-
return JSON.stringify(ItemWebSearchCall1$outboundSchema.parse(itemWebSearchCall1));
|
|
2005
|
-
}
|
|
2006
|
-
export function itemWebSearchCall1FromJSON(jsonString) {
|
|
2007
|
-
return safeParse(jsonString, (x) => ItemWebSearchCall1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ItemWebSearchCall1' from JSON`);
|
|
2008
|
-
}
|
|
2009
|
-
/** @internal */
|
|
2010
|
-
export const ItemTypeReasoning1$inboundSchema = z.nativeEnum(ItemTypeReasoning1);
|
|
2011
|
-
/** @internal */
|
|
2012
|
-
export const ItemTypeReasoning1$outboundSchema = ItemTypeReasoning1$inboundSchema;
|
|
2013
|
-
/**
|
|
2014
|
-
* @internal
|
|
2015
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2016
|
-
*/
|
|
2017
|
-
export var ItemTypeReasoning1$;
|
|
2018
|
-
(function (ItemTypeReasoning1$) {
|
|
2019
|
-
/** @deprecated use `ItemTypeReasoning1$inboundSchema` instead. */
|
|
2020
|
-
ItemTypeReasoning1$.inboundSchema = ItemTypeReasoning1$inboundSchema;
|
|
2021
|
-
/** @deprecated use `ItemTypeReasoning1$outboundSchema` instead. */
|
|
2022
|
-
ItemTypeReasoning1$.outboundSchema = ItemTypeReasoning1$outboundSchema;
|
|
2023
|
-
})(ItemTypeReasoning1$ || (ItemTypeReasoning1$ = {}));
|
|
2024
|
-
/** @internal */
|
|
2025
|
-
export const ItemTypeSummaryText1$inboundSchema = z.nativeEnum(ItemTypeSummaryText1);
|
|
2026
|
-
/** @internal */
|
|
2027
|
-
export const ItemTypeSummaryText1$outboundSchema = ItemTypeSummaryText1$inboundSchema;
|
|
2028
|
-
/**
|
|
2029
|
-
* @internal
|
|
2030
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2031
|
-
*/
|
|
2032
|
-
export var ItemTypeSummaryText1$;
|
|
2033
|
-
(function (ItemTypeSummaryText1$) {
|
|
2034
|
-
/** @deprecated use `ItemTypeSummaryText1$inboundSchema` instead. */
|
|
2035
|
-
ItemTypeSummaryText1$.inboundSchema = ItemTypeSummaryText1$inboundSchema;
|
|
2036
|
-
/** @deprecated use `ItemTypeSummaryText1$outboundSchema` instead. */
|
|
2037
|
-
ItemTypeSummaryText1$.outboundSchema = ItemTypeSummaryText1$outboundSchema;
|
|
2038
|
-
})(ItemTypeSummaryText1$ || (ItemTypeSummaryText1$ = {}));
|
|
2039
|
-
/** @internal */
|
|
2040
|
-
export const ResponsesStreamChunkSummary1$inboundSchema = z.object({
|
|
2041
|
-
type: ItemTypeSummaryText1$inboundSchema,
|
|
2042
|
-
text: z.string(),
|
|
2043
|
-
});
|
|
2044
|
-
/** @internal */
|
|
2045
|
-
export const ResponsesStreamChunkSummary1$outboundSchema = z.object({
|
|
2046
|
-
type: ItemTypeSummaryText1$outboundSchema,
|
|
2047
|
-
text: z.string(),
|
|
2048
|
-
});
|
|
2049
|
-
/**
|
|
2050
|
-
* @internal
|
|
2051
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2052
|
-
*/
|
|
2053
|
-
export var ResponsesStreamChunkSummary1$;
|
|
2054
|
-
(function (ResponsesStreamChunkSummary1$) {
|
|
2055
|
-
/** @deprecated use `ResponsesStreamChunkSummary1$inboundSchema` instead. */
|
|
2056
|
-
ResponsesStreamChunkSummary1$.inboundSchema = ResponsesStreamChunkSummary1$inboundSchema;
|
|
2057
|
-
/** @deprecated use `ResponsesStreamChunkSummary1$outboundSchema` instead. */
|
|
2058
|
-
ResponsesStreamChunkSummary1$.outboundSchema = ResponsesStreamChunkSummary1$outboundSchema;
|
|
2059
|
-
})(ResponsesStreamChunkSummary1$ || (ResponsesStreamChunkSummary1$ = {}));
|
|
2060
|
-
export function responsesStreamChunkSummary1ToJSON(responsesStreamChunkSummary1) {
|
|
2061
|
-
return JSON.stringify(ResponsesStreamChunkSummary1$outboundSchema.parse(responsesStreamChunkSummary1));
|
|
2062
|
-
}
|
|
2063
|
-
export function responsesStreamChunkSummary1FromJSON(jsonString) {
|
|
2064
|
-
return safeParse(jsonString, (x) => ResponsesStreamChunkSummary1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponsesStreamChunkSummary1' from JSON`);
|
|
2065
|
-
}
|
|
2066
|
-
/** @internal */
|
|
2067
|
-
export const ItemReasoning1$inboundSchema = z.object({
|
|
2068
|
-
type: ItemTypeReasoning1$inboundSchema,
|
|
2069
|
-
id: z.string(),
|
|
2070
|
-
summary: z.array(z.lazy(() => ResponsesStreamChunkSummary1$inboundSchema)),
|
|
2071
|
-
encrypted_content: z.nullable(z.string()).optional(),
|
|
2072
|
-
}).transform((v) => {
|
|
2073
|
-
return remap$(v, {
|
|
2074
|
-
"encrypted_content": "encryptedContent",
|
|
2075
|
-
});
|
|
2076
|
-
});
|
|
2077
|
-
/** @internal */
|
|
2078
|
-
export const ItemReasoning1$outboundSchema = z.object({
|
|
2079
|
-
type: ItemTypeReasoning1$outboundSchema,
|
|
2080
|
-
id: z.string(),
|
|
2081
|
-
summary: z.array(z.lazy(() => ResponsesStreamChunkSummary1$outboundSchema)),
|
|
2082
|
-
encryptedContent: z.nullable(z.string()).optional(),
|
|
2083
|
-
}).transform((v) => {
|
|
2084
|
-
return remap$(v, {
|
|
2085
|
-
encryptedContent: "encrypted_content",
|
|
2086
|
-
});
|
|
2087
|
-
});
|
|
2088
|
-
/**
|
|
2089
|
-
* @internal
|
|
2090
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2091
|
-
*/
|
|
2092
|
-
export var ItemReasoning1$;
|
|
2093
|
-
(function (ItemReasoning1$) {
|
|
2094
|
-
/** @deprecated use `ItemReasoning1$inboundSchema` instead. */
|
|
2095
|
-
ItemReasoning1$.inboundSchema = ItemReasoning1$inboundSchema;
|
|
2096
|
-
/** @deprecated use `ItemReasoning1$outboundSchema` instead. */
|
|
2097
|
-
ItemReasoning1$.outboundSchema = ItemReasoning1$outboundSchema;
|
|
2098
|
-
})(ItemReasoning1$ || (ItemReasoning1$ = {}));
|
|
2099
|
-
export function itemReasoning1ToJSON(itemReasoning1) {
|
|
2100
|
-
return JSON.stringify(ItemReasoning1$outboundSchema.parse(itemReasoning1));
|
|
2101
|
-
}
|
|
2102
|
-
export function itemReasoning1FromJSON(jsonString) {
|
|
2103
|
-
return safeParse(jsonString, (x) => ItemReasoning1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ItemReasoning1' from JSON`);
|
|
2104
|
-
}
|
|
2105
|
-
/** @internal */
|
|
2106
|
-
export const ItemTypeFunctionCall1$inboundSchema = z.nativeEnum(ItemTypeFunctionCall1);
|
|
2107
|
-
/** @internal */
|
|
2108
|
-
export const ItemTypeFunctionCall1$outboundSchema = ItemTypeFunctionCall1$inboundSchema;
|
|
2109
|
-
/**
|
|
2110
|
-
* @internal
|
|
2111
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2112
|
-
*/
|
|
2113
|
-
export var ItemTypeFunctionCall1$;
|
|
2114
|
-
(function (ItemTypeFunctionCall1$) {
|
|
2115
|
-
/** @deprecated use `ItemTypeFunctionCall1$inboundSchema` instead. */
|
|
2116
|
-
ItemTypeFunctionCall1$.inboundSchema = ItemTypeFunctionCall1$inboundSchema;
|
|
2117
|
-
/** @deprecated use `ItemTypeFunctionCall1$outboundSchema` instead. */
|
|
2118
|
-
ItemTypeFunctionCall1$.outboundSchema = ItemTypeFunctionCall1$outboundSchema;
|
|
2119
|
-
})(ItemTypeFunctionCall1$ || (ItemTypeFunctionCall1$ = {}));
|
|
2120
|
-
/** @internal */
|
|
2121
|
-
export const ItemFunctionCall1$inboundSchema = z.object({
|
|
2122
|
-
type: ItemTypeFunctionCall1$inboundSchema,
|
|
2123
|
-
id: z.string().optional(),
|
|
2124
|
-
call_id: z.string(),
|
|
2125
|
-
name: z.string(),
|
|
2126
|
-
arguments: z.string(),
|
|
2127
|
-
}).transform((v) => {
|
|
2128
|
-
return remap$(v, {
|
|
2129
|
-
"call_id": "callId",
|
|
2130
|
-
});
|
|
2131
|
-
});
|
|
2132
|
-
/** @internal */
|
|
2133
|
-
export const ItemFunctionCall1$outboundSchema = z.object({
|
|
2134
|
-
type: ItemTypeFunctionCall1$outboundSchema,
|
|
2135
|
-
id: z.string().optional(),
|
|
2136
|
-
callId: z.string(),
|
|
2137
|
-
name: z.string(),
|
|
2138
|
-
arguments: z.string(),
|
|
2139
|
-
}).transform((v) => {
|
|
2140
|
-
return remap$(v, {
|
|
2141
|
-
callId: "call_id",
|
|
2142
|
-
});
|
|
2143
|
-
});
|
|
2144
|
-
/**
|
|
2145
|
-
* @internal
|
|
2146
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2147
|
-
*/
|
|
2148
|
-
export var ItemFunctionCall1$;
|
|
2149
|
-
(function (ItemFunctionCall1$) {
|
|
2150
|
-
/** @deprecated use `ItemFunctionCall1$inboundSchema` instead. */
|
|
2151
|
-
ItemFunctionCall1$.inboundSchema = ItemFunctionCall1$inboundSchema;
|
|
2152
|
-
/** @deprecated use `ItemFunctionCall1$outboundSchema` instead. */
|
|
2153
|
-
ItemFunctionCall1$.outboundSchema = ItemFunctionCall1$outboundSchema;
|
|
2154
|
-
})(ItemFunctionCall1$ || (ItemFunctionCall1$ = {}));
|
|
2155
|
-
export function itemFunctionCall1ToJSON(itemFunctionCall1) {
|
|
2156
|
-
return JSON.stringify(ItemFunctionCall1$outboundSchema.parse(itemFunctionCall1));
|
|
2157
|
-
}
|
|
2158
|
-
export function itemFunctionCall1FromJSON(jsonString) {
|
|
2159
|
-
return safeParse(jsonString, (x) => ItemFunctionCall1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ItemFunctionCall1' from JSON`);
|
|
2160
|
-
}
|
|
2161
|
-
/** @internal */
|
|
2162
|
-
export const ItemTypeMessage1$inboundSchema = z.nativeEnum(ItemTypeMessage1);
|
|
2163
|
-
/** @internal */
|
|
2164
|
-
export const ItemTypeMessage1$outboundSchema = ItemTypeMessage1$inboundSchema;
|
|
2165
|
-
/**
|
|
2166
|
-
* @internal
|
|
2167
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2168
|
-
*/
|
|
2169
|
-
export var ItemTypeMessage1$;
|
|
2170
|
-
(function (ItemTypeMessage1$) {
|
|
2171
|
-
/** @deprecated use `ItemTypeMessage1$inboundSchema` instead. */
|
|
2172
|
-
ItemTypeMessage1$.inboundSchema = ItemTypeMessage1$inboundSchema;
|
|
2173
|
-
/** @deprecated use `ItemTypeMessage1$outboundSchema` instead. */
|
|
2174
|
-
ItemTypeMessage1$.outboundSchema = ItemTypeMessage1$outboundSchema;
|
|
2175
|
-
})(ItemTypeMessage1$ || (ItemTypeMessage1$ = {}));
|
|
2176
|
-
/** @internal */
|
|
2177
|
-
export const ResponsesStreamChunkRole$inboundSchema = z.nativeEnum(ResponsesStreamChunkRole);
|
|
2178
|
-
/** @internal */
|
|
2179
|
-
export const ResponsesStreamChunkRole$outboundSchema = ResponsesStreamChunkRole$inboundSchema;
|
|
2180
|
-
/**
|
|
2181
|
-
* @internal
|
|
2182
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2183
|
-
*/
|
|
2184
|
-
export var ResponsesStreamChunkRole$;
|
|
2185
|
-
(function (ResponsesStreamChunkRole$) {
|
|
2186
|
-
/** @deprecated use `ResponsesStreamChunkRole$inboundSchema` instead. */
|
|
2187
|
-
ResponsesStreamChunkRole$.inboundSchema = ResponsesStreamChunkRole$inboundSchema;
|
|
2188
|
-
/** @deprecated use `ResponsesStreamChunkRole$outboundSchema` instead. */
|
|
2189
|
-
ResponsesStreamChunkRole$.outboundSchema = ResponsesStreamChunkRole$outboundSchema;
|
|
2190
|
-
})(ResponsesStreamChunkRole$ || (ResponsesStreamChunkRole$ = {}));
|
|
2191
|
-
/** @internal */
|
|
2192
|
-
export const StatusInProgress$inboundSchema = z.nativeEnum(StatusInProgress);
|
|
2193
|
-
/** @internal */
|
|
2194
|
-
export const StatusInProgress$outboundSchema = StatusInProgress$inboundSchema;
|
|
2195
|
-
/**
|
|
2196
|
-
* @internal
|
|
2197
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2198
|
-
*/
|
|
2199
|
-
export var StatusInProgress$;
|
|
2200
|
-
(function (StatusInProgress$) {
|
|
2201
|
-
/** @deprecated use `StatusInProgress$inboundSchema` instead. */
|
|
2202
|
-
StatusInProgress$.inboundSchema = StatusInProgress$inboundSchema;
|
|
2203
|
-
/** @deprecated use `StatusInProgress$outboundSchema` instead. */
|
|
2204
|
-
StatusInProgress$.outboundSchema = StatusInProgress$outboundSchema;
|
|
2205
|
-
})(StatusInProgress$ || (StatusInProgress$ = {}));
|
|
2206
|
-
/** @internal */
|
|
2207
|
-
export const StatusIncomplete$inboundSchema = z.nativeEnum(StatusIncomplete);
|
|
2208
|
-
/** @internal */
|
|
2209
|
-
export const StatusIncomplete$outboundSchema = StatusIncomplete$inboundSchema;
|
|
2210
|
-
/**
|
|
2211
|
-
* @internal
|
|
2212
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2213
|
-
*/
|
|
2214
|
-
export var StatusIncomplete$;
|
|
2215
|
-
(function (StatusIncomplete$) {
|
|
2216
|
-
/** @deprecated use `StatusIncomplete$inboundSchema` instead. */
|
|
2217
|
-
StatusIncomplete$.inboundSchema = StatusIncomplete$inboundSchema;
|
|
2218
|
-
/** @deprecated use `StatusIncomplete$outboundSchema` instead. */
|
|
2219
|
-
StatusIncomplete$.outboundSchema = StatusIncomplete$outboundSchema;
|
|
2220
|
-
})(StatusIncomplete$ || (StatusIncomplete$ = {}));
|
|
2221
|
-
/** @internal */
|
|
2222
|
-
export const StatusCompleted$inboundSchema = z.nativeEnum(StatusCompleted);
|
|
2223
|
-
/** @internal */
|
|
2224
|
-
export const StatusCompleted$outboundSchema = StatusCompleted$inboundSchema;
|
|
2225
|
-
/**
|
|
2226
|
-
* @internal
|
|
2227
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2228
|
-
*/
|
|
2229
|
-
export var StatusCompleted$;
|
|
2230
|
-
(function (StatusCompleted$) {
|
|
2231
|
-
/** @deprecated use `StatusCompleted$inboundSchema` instead. */
|
|
2232
|
-
StatusCompleted$.inboundSchema = StatusCompleted$inboundSchema;
|
|
2233
|
-
/** @deprecated use `StatusCompleted$outboundSchema` instead. */
|
|
2234
|
-
StatusCompleted$.outboundSchema = StatusCompleted$outboundSchema;
|
|
2235
|
-
})(StatusCompleted$ || (StatusCompleted$ = {}));
|
|
2236
|
-
/** @internal */
|
|
2237
|
-
export const Status$inboundSchema = z
|
|
2238
|
-
.union([
|
|
2239
|
-
StatusCompleted$inboundSchema,
|
|
2240
|
-
StatusIncomplete$inboundSchema,
|
|
2241
|
-
StatusInProgress$inboundSchema,
|
|
2242
|
-
]);
|
|
2243
|
-
/** @internal */
|
|
2244
|
-
export const Status$outboundSchema = z.union([
|
|
2245
|
-
StatusCompleted$outboundSchema,
|
|
2246
|
-
StatusIncomplete$outboundSchema,
|
|
2247
|
-
StatusInProgress$outboundSchema,
|
|
2248
|
-
]);
|
|
2249
|
-
/**
|
|
2250
|
-
* @internal
|
|
2251
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2252
|
-
*/
|
|
2253
|
-
export var Status$;
|
|
2254
|
-
(function (Status$) {
|
|
2255
|
-
/** @deprecated use `Status$inboundSchema` instead. */
|
|
2256
|
-
Status$.inboundSchema = Status$inboundSchema;
|
|
2257
|
-
/** @deprecated use `Status$outboundSchema` instead. */
|
|
2258
|
-
Status$.outboundSchema = Status$outboundSchema;
|
|
2259
|
-
})(Status$ || (Status$ = {}));
|
|
2260
|
-
export function statusToJSON(status) {
|
|
2261
|
-
return JSON.stringify(Status$outboundSchema.parse(status));
|
|
2262
|
-
}
|
|
2263
|
-
export function statusFromJSON(jsonString) {
|
|
2264
|
-
return safeParse(jsonString, (x) => Status$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Status' from JSON`);
|
|
2265
|
-
}
|
|
2266
|
-
/** @internal */
|
|
2267
|
-
export const ItemAssistant$inboundSchema = z.object({
|
|
2268
|
-
type: ItemTypeMessage1$inboundSchema,
|
|
2269
|
-
id: z.string(),
|
|
2270
|
-
content: z.array(ResponsesOutputText$inboundSchema),
|
|
2271
|
-
role: ResponsesStreamChunkRole$inboundSchema,
|
|
2272
|
-
status: z.union([
|
|
2273
|
-
StatusCompleted$inboundSchema,
|
|
2274
|
-
StatusIncomplete$inboundSchema,
|
|
2275
|
-
StatusInProgress$inboundSchema,
|
|
2276
|
-
]),
|
|
2277
|
-
});
|
|
2278
|
-
/** @internal */
|
|
2279
|
-
export const ItemAssistant$outboundSchema = z.object({
|
|
2280
|
-
type: ItemTypeMessage1$outboundSchema,
|
|
2281
|
-
id: z.string(),
|
|
2282
|
-
content: z.array(ResponsesOutputText$outboundSchema),
|
|
2283
|
-
role: ResponsesStreamChunkRole$outboundSchema,
|
|
2284
|
-
status: z.union([
|
|
2285
|
-
StatusCompleted$outboundSchema,
|
|
2286
|
-
StatusIncomplete$outboundSchema,
|
|
2287
|
-
StatusInProgress$outboundSchema,
|
|
2288
|
-
]),
|
|
2289
|
-
});
|
|
2290
|
-
/**
|
|
2291
|
-
* @internal
|
|
2292
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2293
|
-
*/
|
|
2294
|
-
export var ItemAssistant$;
|
|
2295
|
-
(function (ItemAssistant$) {
|
|
2296
|
-
/** @deprecated use `ItemAssistant$inboundSchema` instead. */
|
|
2297
|
-
ItemAssistant$.inboundSchema = ItemAssistant$inboundSchema;
|
|
2298
|
-
/** @deprecated use `ItemAssistant$outboundSchema` instead. */
|
|
2299
|
-
ItemAssistant$.outboundSchema = ItemAssistant$outboundSchema;
|
|
2300
|
-
})(ItemAssistant$ || (ItemAssistant$ = {}));
|
|
2301
|
-
export function itemAssistantToJSON(itemAssistant) {
|
|
2302
|
-
return JSON.stringify(ItemAssistant$outboundSchema.parse(itemAssistant));
|
|
2303
|
-
}
|
|
2304
|
-
export function itemAssistantFromJSON(jsonString) {
|
|
2305
|
-
return safeParse(jsonString, (x) => ItemAssistant$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ItemAssistant' from JSON`);
|
|
2306
|
-
}
|
|
2307
|
-
/** @internal */
|
|
2308
|
-
export const ItemUnion1$inboundSchema = z.union([
|
|
2309
|
-
z.lazy(() => ItemAssistant$inboundSchema),
|
|
2310
|
-
z.lazy(() => ItemFunctionCall1$inboundSchema),
|
|
2311
|
-
z.lazy(() => ItemFileSearchCall$inboundSchema),
|
|
2312
|
-
z.lazy(() => ItemReasoning1$inboundSchema),
|
|
2313
|
-
z.lazy(() => ItemWebSearchCall1$inboundSchema),
|
|
2314
|
-
]);
|
|
2315
|
-
/** @internal */
|
|
2316
|
-
export const ItemUnion1$outboundSchema = z.union([
|
|
2317
|
-
z.lazy(() => ItemAssistant$outboundSchema),
|
|
2318
|
-
z.lazy(() => ItemFunctionCall1$outboundSchema),
|
|
2319
|
-
z.lazy(() => ItemFileSearchCall$outboundSchema),
|
|
2320
|
-
z.lazy(() => ItemReasoning1$outboundSchema),
|
|
2321
|
-
z.lazy(() => ItemWebSearchCall1$outboundSchema),
|
|
2322
|
-
]);
|
|
2323
|
-
/**
|
|
2324
|
-
* @internal
|
|
2325
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2326
|
-
*/
|
|
2327
|
-
export var ItemUnion1$;
|
|
2328
|
-
(function (ItemUnion1$) {
|
|
2329
|
-
/** @deprecated use `ItemUnion1$inboundSchema` instead. */
|
|
2330
|
-
ItemUnion1$.inboundSchema = ItemUnion1$inboundSchema;
|
|
2331
|
-
/** @deprecated use `ItemUnion1$outboundSchema` instead. */
|
|
2332
|
-
ItemUnion1$.outboundSchema = ItemUnion1$outboundSchema;
|
|
2333
|
-
})(ItemUnion1$ || (ItemUnion1$ = {}));
|
|
2334
|
-
export function itemUnion1ToJSON(itemUnion1) {
|
|
2335
|
-
return JSON.stringify(ItemUnion1$outboundSchema.parse(itemUnion1));
|
|
2336
|
-
}
|
|
2337
|
-
export function itemUnion1FromJSON(jsonString) {
|
|
2338
|
-
return safeParse(jsonString, (x) => ItemUnion1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ItemUnion1' from JSON`);
|
|
2339
|
-
}
|
|
2340
|
-
/** @internal */
|
|
2341
|
-
export const ResponsesStreamChunkResponseOutputItemDone$inboundSchema = z.object({
|
|
2342
|
-
type: TypeResponseOutputItemDone$inboundSchema,
|
|
2343
|
-
output_index: z.number(),
|
|
2344
|
-
sequence_number: z.number(),
|
|
2345
|
-
item: z.union([
|
|
2346
|
-
z.lazy(() => ItemAssistant$inboundSchema),
|
|
2347
|
-
z.lazy(() => ItemFunctionCall1$inboundSchema),
|
|
2348
|
-
z.lazy(() => ItemFileSearchCall$inboundSchema),
|
|
2349
|
-
z.lazy(() => ItemReasoning1$inboundSchema),
|
|
2350
|
-
z.lazy(() => ItemWebSearchCall1$inboundSchema),
|
|
2351
|
-
]),
|
|
2352
|
-
}).transform((v) => {
|
|
2353
|
-
return remap$(v, {
|
|
2354
|
-
"output_index": "outputIndex",
|
|
2355
|
-
"sequence_number": "sequenceNumber",
|
|
2356
|
-
});
|
|
2357
|
-
});
|
|
2358
|
-
/** @internal */
|
|
2359
|
-
export const ResponsesStreamChunkResponseOutputItemDone$outboundSchema = z.object({
|
|
2360
|
-
type: TypeResponseOutputItemDone$outboundSchema,
|
|
2361
|
-
outputIndex: z.number(),
|
|
2362
|
-
sequenceNumber: z.number(),
|
|
2363
|
-
item: z.union([
|
|
2364
|
-
z.lazy(() => ItemAssistant$outboundSchema),
|
|
2365
|
-
z.lazy(() => ItemFunctionCall1$outboundSchema),
|
|
2366
|
-
z.lazy(() => ItemFileSearchCall$outboundSchema),
|
|
2367
|
-
z.lazy(() => ItemReasoning1$outboundSchema),
|
|
2368
|
-
z.lazy(() => ItemWebSearchCall1$outboundSchema),
|
|
2369
|
-
]),
|
|
2370
|
-
}).transform((v) => {
|
|
2371
|
-
return remap$(v, {
|
|
2372
|
-
outputIndex: "output_index",
|
|
2373
|
-
sequenceNumber: "sequence_number",
|
|
2374
|
-
});
|
|
2375
|
-
});
|
|
2376
|
-
/**
|
|
2377
|
-
* @internal
|
|
2378
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2379
|
-
*/
|
|
2380
|
-
export var ResponsesStreamChunkResponseOutputItemDone$;
|
|
2381
|
-
(function (ResponsesStreamChunkResponseOutputItemDone$) {
|
|
2382
|
-
/** @deprecated use `ResponsesStreamChunkResponseOutputItemDone$inboundSchema` instead. */
|
|
2383
|
-
ResponsesStreamChunkResponseOutputItemDone$.inboundSchema = ResponsesStreamChunkResponseOutputItemDone$inboundSchema;
|
|
2384
|
-
/** @deprecated use `ResponsesStreamChunkResponseOutputItemDone$outboundSchema` instead. */
|
|
2385
|
-
ResponsesStreamChunkResponseOutputItemDone$.outboundSchema = ResponsesStreamChunkResponseOutputItemDone$outboundSchema;
|
|
2386
|
-
})(ResponsesStreamChunkResponseOutputItemDone$ || (ResponsesStreamChunkResponseOutputItemDone$ = {}));
|
|
2387
|
-
export function responsesStreamChunkResponseOutputItemDoneToJSON(responsesStreamChunkResponseOutputItemDone) {
|
|
2388
|
-
return JSON.stringify(ResponsesStreamChunkResponseOutputItemDone$outboundSchema.parse(responsesStreamChunkResponseOutputItemDone));
|
|
2389
|
-
}
|
|
2390
|
-
export function responsesStreamChunkResponseOutputItemDoneFromJSON(jsonString) {
|
|
2391
|
-
return safeParse(jsonString, (x) => ResponsesStreamChunkResponseOutputItemDone$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponsesStreamChunkResponseOutputItemDone' from JSON`);
|
|
2392
|
-
}
|
|
2393
|
-
/** @internal */
|
|
2394
|
-
export const TypeResponseCreated$inboundSchema = z.nativeEnum(TypeResponseCreated);
|
|
2395
|
-
/** @internal */
|
|
2396
|
-
export const TypeResponseCreated$outboundSchema = TypeResponseCreated$inboundSchema;
|
|
2397
|
-
/**
|
|
2398
|
-
* @internal
|
|
2399
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2400
|
-
*/
|
|
2401
|
-
export var TypeResponseCreated$;
|
|
2402
|
-
(function (TypeResponseCreated$) {
|
|
2403
|
-
/** @deprecated use `TypeResponseCreated$inboundSchema` instead. */
|
|
2404
|
-
TypeResponseCreated$.inboundSchema = TypeResponseCreated$inboundSchema;
|
|
2405
|
-
/** @deprecated use `TypeResponseCreated$outboundSchema` instead. */
|
|
2406
|
-
TypeResponseCreated$.outboundSchema = TypeResponseCreated$outboundSchema;
|
|
2407
|
-
})(TypeResponseCreated$ || (TypeResponseCreated$ = {}));
|
|
2408
|
-
/** @internal */
|
|
2409
|
-
export const Response2$inboundSchema = z.object({
|
|
2410
|
-
id: z.string(),
|
|
2411
|
-
created_at: z.number(),
|
|
2412
|
-
model: z.string(),
|
|
2413
|
-
}).transform((v) => {
|
|
2414
|
-
return remap$(v, {
|
|
2415
|
-
"created_at": "createdAt",
|
|
2416
|
-
});
|
|
2417
|
-
});
|
|
2418
|
-
/** @internal */
|
|
2419
|
-
export const Response2$outboundSchema = z.object({
|
|
2420
|
-
id: z.string(),
|
|
2421
|
-
createdAt: z.number(),
|
|
2422
|
-
model: z.string(),
|
|
2423
|
-
}).transform((v) => {
|
|
2424
|
-
return remap$(v, {
|
|
2425
|
-
createdAt: "created_at",
|
|
2426
|
-
});
|
|
2427
|
-
});
|
|
2428
|
-
/**
|
|
2429
|
-
* @internal
|
|
2430
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2431
|
-
*/
|
|
2432
|
-
export var Response2$;
|
|
2433
|
-
(function (Response2$) {
|
|
2434
|
-
/** @deprecated use `Response2$inboundSchema` instead. */
|
|
2435
|
-
Response2$.inboundSchema = Response2$inboundSchema;
|
|
2436
|
-
/** @deprecated use `Response2$outboundSchema` instead. */
|
|
2437
|
-
Response2$.outboundSchema = Response2$outboundSchema;
|
|
2438
|
-
})(Response2$ || (Response2$ = {}));
|
|
2439
|
-
export function response2ToJSON(response2) {
|
|
2440
|
-
return JSON.stringify(Response2$outboundSchema.parse(response2));
|
|
2441
|
-
}
|
|
2442
|
-
export function response2FromJSON(jsonString) {
|
|
2443
|
-
return safeParse(jsonString, (x) => Response2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Response2' from JSON`);
|
|
2444
|
-
}
|
|
2445
|
-
/** @internal */
|
|
2446
|
-
export const ResponsesStreamChunkResponseCreated$inboundSchema = z.object({
|
|
2447
|
-
type: TypeResponseCreated$inboundSchema,
|
|
2448
|
-
response: z.lazy(() => Response2$inboundSchema),
|
|
2449
|
-
});
|
|
2450
|
-
/** @internal */
|
|
2451
|
-
export const ResponsesStreamChunkResponseCreated$outboundSchema = z.object({
|
|
2452
|
-
type: TypeResponseCreated$outboundSchema,
|
|
2453
|
-
response: z.lazy(() => Response2$outboundSchema),
|
|
2454
|
-
});
|
|
2455
|
-
/**
|
|
2456
|
-
* @internal
|
|
2457
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2458
|
-
*/
|
|
2459
|
-
export var ResponsesStreamChunkResponseCreated$;
|
|
2460
|
-
(function (ResponsesStreamChunkResponseCreated$) {
|
|
2461
|
-
/** @deprecated use `ResponsesStreamChunkResponseCreated$inboundSchema` instead. */
|
|
2462
|
-
ResponsesStreamChunkResponseCreated$.inboundSchema = ResponsesStreamChunkResponseCreated$inboundSchema;
|
|
2463
|
-
/** @deprecated use `ResponsesStreamChunkResponseCreated$outboundSchema` instead. */
|
|
2464
|
-
ResponsesStreamChunkResponseCreated$.outboundSchema = ResponsesStreamChunkResponseCreated$outboundSchema;
|
|
2465
|
-
})(ResponsesStreamChunkResponseCreated$ || (ResponsesStreamChunkResponseCreated$ = {}));
|
|
2466
|
-
export function responsesStreamChunkResponseCreatedToJSON(responsesStreamChunkResponseCreated) {
|
|
2467
|
-
return JSON.stringify(ResponsesStreamChunkResponseCreated$outboundSchema.parse(responsesStreamChunkResponseCreated));
|
|
2468
|
-
}
|
|
2469
|
-
export function responsesStreamChunkResponseCreatedFromJSON(jsonString) {
|
|
2470
|
-
return safeParse(jsonString, (x) => ResponsesStreamChunkResponseCreated$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponsesStreamChunkResponseCreated' from JSON`);
|
|
2471
|
-
}
|
|
2472
|
-
/** @internal */
|
|
2473
|
-
export const ResponsesStreamChunkType$inboundSchema = z
|
|
2474
|
-
.union([
|
|
2475
|
-
z.nativeEnum(ResponsesStreamChunkType),
|
|
2476
|
-
z.string().transform(catchUnrecognizedEnum),
|
|
2477
|
-
]);
|
|
2478
|
-
/** @internal */
|
|
2479
|
-
export const ResponsesStreamChunkType$outboundSchema = z.union([
|
|
2480
|
-
z.nativeEnum(ResponsesStreamChunkType),
|
|
2481
|
-
z.string().and(z.custom()),
|
|
2482
|
-
]);
|
|
2483
|
-
/**
|
|
2484
|
-
* @internal
|
|
2485
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2486
|
-
*/
|
|
2487
|
-
export var ResponsesStreamChunkType$;
|
|
2488
|
-
(function (ResponsesStreamChunkType$) {
|
|
2489
|
-
/** @deprecated use `ResponsesStreamChunkType$inboundSchema` instead. */
|
|
2490
|
-
ResponsesStreamChunkType$.inboundSchema = ResponsesStreamChunkType$inboundSchema;
|
|
2491
|
-
/** @deprecated use `ResponsesStreamChunkType$outboundSchema` instead. */
|
|
2492
|
-
ResponsesStreamChunkType$.outboundSchema = ResponsesStreamChunkType$outboundSchema;
|
|
2493
|
-
})(ResponsesStreamChunkType$ || (ResponsesStreamChunkType$ = {}));
|
|
2494
|
-
/** @internal */
|
|
2495
|
-
export const ResponsesStreamChunkReason$inboundSchema = z
|
|
2496
|
-
.union([
|
|
2497
|
-
z.nativeEnum(ResponsesStreamChunkReason),
|
|
2498
|
-
z.string().transform(catchUnrecognizedEnum),
|
|
2499
|
-
]);
|
|
2500
|
-
/** @internal */
|
|
2501
|
-
export const ResponsesStreamChunkReason$outboundSchema = z.union([
|
|
2502
|
-
z.nativeEnum(ResponsesStreamChunkReason),
|
|
2503
|
-
z.string().and(z.custom()),
|
|
2504
|
-
]);
|
|
2505
|
-
/**
|
|
2506
|
-
* @internal
|
|
2507
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2508
|
-
*/
|
|
2509
|
-
export var ResponsesStreamChunkReason$;
|
|
2510
|
-
(function (ResponsesStreamChunkReason$) {
|
|
2511
|
-
/** @deprecated use `ResponsesStreamChunkReason$inboundSchema` instead. */
|
|
2512
|
-
ResponsesStreamChunkReason$.inboundSchema = ResponsesStreamChunkReason$inboundSchema;
|
|
2513
|
-
/** @deprecated use `ResponsesStreamChunkReason$outboundSchema` instead. */
|
|
2514
|
-
ResponsesStreamChunkReason$.outboundSchema = ResponsesStreamChunkReason$outboundSchema;
|
|
2515
|
-
})(ResponsesStreamChunkReason$ || (ResponsesStreamChunkReason$ = {}));
|
|
2516
|
-
/** @internal */
|
|
2517
|
-
export const IncompleteDetails$inboundSchema = z.object({
|
|
2518
|
-
reason: ResponsesStreamChunkReason$inboundSchema,
|
|
2519
|
-
});
|
|
2520
|
-
/** @internal */
|
|
2521
|
-
export const IncompleteDetails$outboundSchema = z.object({
|
|
2522
|
-
reason: ResponsesStreamChunkReason$outboundSchema,
|
|
2523
|
-
});
|
|
2524
|
-
/**
|
|
2525
|
-
* @internal
|
|
2526
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2527
|
-
*/
|
|
2528
|
-
export var IncompleteDetails$;
|
|
2529
|
-
(function (IncompleteDetails$) {
|
|
2530
|
-
/** @deprecated use `IncompleteDetails$inboundSchema` instead. */
|
|
2531
|
-
IncompleteDetails$.inboundSchema = IncompleteDetails$inboundSchema;
|
|
2532
|
-
/** @deprecated use `IncompleteDetails$outboundSchema` instead. */
|
|
2533
|
-
IncompleteDetails$.outboundSchema = IncompleteDetails$outboundSchema;
|
|
2534
|
-
})(IncompleteDetails$ || (IncompleteDetails$ = {}));
|
|
2535
|
-
export function incompleteDetailsToJSON(incompleteDetails) {
|
|
2536
|
-
return JSON.stringify(IncompleteDetails$outboundSchema.parse(incompleteDetails));
|
|
2537
|
-
}
|
|
2538
|
-
export function incompleteDetailsFromJSON(jsonString) {
|
|
2539
|
-
return safeParse(jsonString, (x) => IncompleteDetails$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'IncompleteDetails' from JSON`);
|
|
2540
|
-
}
|
|
2541
|
-
/** @internal */
|
|
2542
|
-
export const Response1$inboundSchema = z.object({
|
|
2543
|
-
incomplete_details: z.nullable(z.lazy(() => IncompleteDetails$inboundSchema)),
|
|
2544
|
-
usage: ResponsesUsage$inboundSchema,
|
|
2545
|
-
}).transform((v) => {
|
|
2546
|
-
return remap$(v, {
|
|
2547
|
-
"incomplete_details": "incompleteDetails",
|
|
2548
|
-
});
|
|
2549
|
-
});
|
|
2550
|
-
/** @internal */
|
|
2551
|
-
export const Response1$outboundSchema = z.object({
|
|
2552
|
-
incompleteDetails: z.nullable(z.lazy(() => IncompleteDetails$outboundSchema)),
|
|
2553
|
-
usage: ResponsesUsage$outboundSchema,
|
|
2554
|
-
}).transform((v) => {
|
|
2555
|
-
return remap$(v, {
|
|
2556
|
-
incompleteDetails: "incomplete_details",
|
|
2557
|
-
});
|
|
2558
|
-
});
|
|
2559
|
-
/**
|
|
2560
|
-
* @internal
|
|
2561
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2562
|
-
*/
|
|
2563
|
-
export var Response1$;
|
|
2564
|
-
(function (Response1$) {
|
|
2565
|
-
/** @deprecated use `Response1$inboundSchema` instead. */
|
|
2566
|
-
Response1$.inboundSchema = Response1$inboundSchema;
|
|
2567
|
-
/** @deprecated use `Response1$outboundSchema` instead. */
|
|
2568
|
-
Response1$.outboundSchema = Response1$outboundSchema;
|
|
2569
|
-
})(Response1$ || (Response1$ = {}));
|
|
2570
|
-
export function response1ToJSON(response1) {
|
|
2571
|
-
return JSON.stringify(Response1$outboundSchema.parse(response1));
|
|
2572
|
-
}
|
|
2573
|
-
export function response1FromJSON(jsonString) {
|
|
2574
|
-
return safeParse(jsonString, (x) => Response1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Response1' from JSON`);
|
|
2575
|
-
}
|
|
2576
|
-
/** @internal */
|
|
2577
|
-
export const ResponsesStreamChunk$inboundSchema = z.object({
|
|
2578
|
-
type: ResponsesStreamChunkType$inboundSchema,
|
|
2579
|
-
response: z.lazy(() => Response1$inboundSchema),
|
|
2580
|
-
});
|
|
2581
|
-
/** @internal */
|
|
2582
|
-
export const ResponsesStreamChunk$outboundSchema = z.object({
|
|
2583
|
-
type: ResponsesStreamChunkType$outboundSchema,
|
|
2584
|
-
response: z.lazy(() => Response1$outboundSchema),
|
|
2585
|
-
});
|
|
2586
|
-
/**
|
|
2587
|
-
* @internal
|
|
2588
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2589
|
-
*/
|
|
2590
|
-
export var ResponsesStreamChunk$;
|
|
2591
|
-
(function (ResponsesStreamChunk$) {
|
|
2592
|
-
/** @deprecated use `ResponsesStreamChunk$inboundSchema` instead. */
|
|
2593
|
-
ResponsesStreamChunk$.inboundSchema = ResponsesStreamChunk$inboundSchema;
|
|
2594
|
-
/** @deprecated use `ResponsesStreamChunk$outboundSchema` instead. */
|
|
2595
|
-
ResponsesStreamChunk$.outboundSchema = ResponsesStreamChunk$outboundSchema;
|
|
2596
|
-
})(ResponsesStreamChunk$ || (ResponsesStreamChunk$ = {}));
|
|
2597
|
-
export function responsesStreamChunkToJSON(responsesStreamChunk) {
|
|
2598
|
-
return JSON.stringify(ResponsesStreamChunk$outboundSchema.parse(responsesStreamChunk));
|
|
2599
|
-
}
|
|
2600
|
-
export function responsesStreamChunkFromJSON(jsonString) {
|
|
2601
|
-
return safeParse(jsonString, (x) => ResponsesStreamChunk$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponsesStreamChunk' from JSON`);
|
|
2602
|
-
}
|
|
2603
|
-
/** @internal */
|
|
2604
|
-
export const TypeResponseOutputTextDelta$inboundSchema = z.nativeEnum(TypeResponseOutputTextDelta);
|
|
2605
|
-
/** @internal */
|
|
2606
|
-
export const TypeResponseOutputTextDelta$outboundSchema = TypeResponseOutputTextDelta$inboundSchema;
|
|
2607
|
-
/**
|
|
2608
|
-
* @internal
|
|
2609
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2610
|
-
*/
|
|
2611
|
-
export var TypeResponseOutputTextDelta$;
|
|
2612
|
-
(function (TypeResponseOutputTextDelta$) {
|
|
2613
|
-
/** @deprecated use `TypeResponseOutputTextDelta$inboundSchema` instead. */
|
|
2614
|
-
TypeResponseOutputTextDelta$.inboundSchema = TypeResponseOutputTextDelta$inboundSchema;
|
|
2615
|
-
/** @deprecated use `TypeResponseOutputTextDelta$outboundSchema` instead. */
|
|
2616
|
-
TypeResponseOutputTextDelta$.outboundSchema = TypeResponseOutputTextDelta$outboundSchema;
|
|
2617
|
-
})(TypeResponseOutputTextDelta$ || (TypeResponseOutputTextDelta$ = {}));
|
|
2618
|
-
/** @internal */
|
|
2619
|
-
export const ResponsesStreamChunkResponseOutputTextDelta$inboundSchema = z.object({
|
|
2620
|
-
type: TypeResponseOutputTextDelta$inboundSchema,
|
|
2621
|
-
delta: z.string(),
|
|
2622
|
-
sequence_number: z.number(),
|
|
2623
|
-
}).transform((v) => {
|
|
2624
|
-
return remap$(v, {
|
|
2625
|
-
"sequence_number": "sequenceNumber",
|
|
2626
|
-
});
|
|
2627
|
-
});
|
|
2628
|
-
/** @internal */
|
|
2629
|
-
export const ResponsesStreamChunkResponseOutputTextDelta$outboundSchema = z.object({
|
|
2630
|
-
type: TypeResponseOutputTextDelta$outboundSchema,
|
|
2631
|
-
delta: z.string(),
|
|
2632
|
-
sequenceNumber: z.number(),
|
|
2633
|
-
}).transform((v) => {
|
|
2634
|
-
return remap$(v, {
|
|
2635
|
-
sequenceNumber: "sequence_number",
|
|
2636
|
-
});
|
|
2637
|
-
});
|
|
2638
|
-
/**
|
|
2639
|
-
* @internal
|
|
2640
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2641
|
-
*/
|
|
2642
|
-
export var ResponsesStreamChunkResponseOutputTextDelta$;
|
|
2643
|
-
(function (ResponsesStreamChunkResponseOutputTextDelta$) {
|
|
2644
|
-
/** @deprecated use `ResponsesStreamChunkResponseOutputTextDelta$inboundSchema` instead. */
|
|
2645
|
-
ResponsesStreamChunkResponseOutputTextDelta$.inboundSchema = ResponsesStreamChunkResponseOutputTextDelta$inboundSchema;
|
|
2646
|
-
/** @deprecated use `ResponsesStreamChunkResponseOutputTextDelta$outboundSchema` instead. */
|
|
2647
|
-
ResponsesStreamChunkResponseOutputTextDelta$.outboundSchema = ResponsesStreamChunkResponseOutputTextDelta$outboundSchema;
|
|
2648
|
-
})(ResponsesStreamChunkResponseOutputTextDelta$ || (ResponsesStreamChunkResponseOutputTextDelta$ = {}));
|
|
2649
|
-
export function responsesStreamChunkResponseOutputTextDeltaToJSON(responsesStreamChunkResponseOutputTextDelta) {
|
|
2650
|
-
return JSON.stringify(ResponsesStreamChunkResponseOutputTextDelta$outboundSchema.parse(responsesStreamChunkResponseOutputTextDelta));
|
|
2651
|
-
}
|
|
2652
|
-
export function responsesStreamChunkResponseOutputTextDeltaFromJSON(jsonString) {
|
|
2653
|
-
return safeParse(jsonString, (x) => ResponsesStreamChunkResponseOutputTextDelta$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponsesStreamChunkResponseOutputTextDelta' from JSON`);
|
|
2654
|
-
}
|
|
2655
|
-
/** @internal */
|
|
2656
|
-
export const ResponsesStreamChunkUnion$inboundSchema = z.union([
|
|
2657
|
-
z.lazy(() => ResponsesStreamChunkResponseReasoningSummaryTextDelta$inboundSchema),
|
|
2658
|
-
z.lazy(() => ResponsesStreamChunkResponseImageGenerationCallPartialImage$inboundSchema),
|
|
2659
|
-
z.lazy(() => ResponsesStreamChunkResponseFunctionCallArgumentsDelta$inboundSchema),
|
|
2660
|
-
z.lazy(() => ResponsesStreamChunkResponseFunctionCallArgumentsDone$inboundSchema),
|
|
2661
|
-
z.lazy(() => ResponsesStreamChunkResponseRefusalDelta$inboundSchema),
|
|
2662
|
-
z.lazy(() => ResponsesStreamChunkResponseRefusalDone$inboundSchema),
|
|
2663
|
-
z.lazy(() => ResponsesStreamChunkResponseOutputItemDone$inboundSchema),
|
|
2664
|
-
z.lazy(() => ResponsesStreamChunkResponseWebSearchCallCompleted$inboundSchema),
|
|
2665
|
-
z.lazy(() => ResponsesStreamChunkResponseFileSearchCallSearching$inboundSchema),
|
|
2666
|
-
z.lazy(() => ResponsesStreamChunkResponseFileSearchCallCompleted$inboundSchema),
|
|
2667
|
-
z.lazy(() => ResponsesStreamChunkResponseWebSearchCallSearching$inboundSchema),
|
|
2668
|
-
z.lazy(() => ResponsesStreamChunkResponseImageGenerationCallInProgress$inboundSchema),
|
|
2669
|
-
z.lazy(() => ResponsesStreamChunkResponseImageGenerationCallGenerating$inboundSchema),
|
|
2670
|
-
z.lazy(() => ResponsesStreamChunkResponseImageGenerationCallCompleted$inboundSchema),
|
|
2671
|
-
z.lazy(() => ResponsesStreamChunkResponseOutputTextDelta$inboundSchema),
|
|
2672
|
-
z.lazy(() => ResponsesStreamChunkResponseOutputItemAdded$inboundSchema),
|
|
2673
|
-
z.lazy(() => ResponsesStreamChunkResponseFileSearchCallInProgress$inboundSchema),
|
|
2674
|
-
z.lazy(() => ResponsesStreamChunkResponseWebSearchCallInProgress$inboundSchema),
|
|
2675
|
-
z.lazy(() => ResponsesStreamChunk$inboundSchema),
|
|
2676
|
-
z.lazy(() => ResponsesStreamChunkResponseCreated$inboundSchema),
|
|
2677
|
-
z.lazy(() => ResponsesStreamChunkResponseOutputTextAnnotationAdded$inboundSchema),
|
|
2678
|
-
z.lazy(() => ResponsesStreamChunkResponseFailed$inboundSchema),
|
|
2679
|
-
z.lazy(() => ResponsesStreamChunkResponseError$inboundSchema),
|
|
2680
|
-
z.lazy(() => ResponsesStreamChunkError$inboundSchema),
|
|
2681
|
-
]);
|
|
2682
|
-
/** @internal */
|
|
2683
|
-
export const ResponsesStreamChunkUnion$outboundSchema = z.union([
|
|
2684
|
-
z.lazy(() => ResponsesStreamChunkResponseReasoningSummaryTextDelta$outboundSchema),
|
|
2685
|
-
z.lazy(() => ResponsesStreamChunkResponseImageGenerationCallPartialImage$outboundSchema),
|
|
2686
|
-
z.lazy(() => ResponsesStreamChunkResponseFunctionCallArgumentsDelta$outboundSchema),
|
|
2687
|
-
z.lazy(() => ResponsesStreamChunkResponseFunctionCallArgumentsDone$outboundSchema),
|
|
2688
|
-
z.lazy(() => ResponsesStreamChunkResponseRefusalDelta$outboundSchema),
|
|
2689
|
-
z.lazy(() => ResponsesStreamChunkResponseRefusalDone$outboundSchema),
|
|
2690
|
-
z.lazy(() => ResponsesStreamChunkResponseOutputItemDone$outboundSchema),
|
|
2691
|
-
z.lazy(() => ResponsesStreamChunkResponseWebSearchCallCompleted$outboundSchema),
|
|
2692
|
-
z.lazy(() => ResponsesStreamChunkResponseFileSearchCallSearching$outboundSchema),
|
|
2693
|
-
z.lazy(() => ResponsesStreamChunkResponseFileSearchCallCompleted$outboundSchema),
|
|
2694
|
-
z.lazy(() => ResponsesStreamChunkResponseWebSearchCallSearching$outboundSchema),
|
|
2695
|
-
z.lazy(() => ResponsesStreamChunkResponseImageGenerationCallInProgress$outboundSchema),
|
|
2696
|
-
z.lazy(() => ResponsesStreamChunkResponseImageGenerationCallGenerating$outboundSchema),
|
|
2697
|
-
z.lazy(() => ResponsesStreamChunkResponseImageGenerationCallCompleted$outboundSchema),
|
|
2698
|
-
z.lazy(() => ResponsesStreamChunkResponseOutputTextDelta$outboundSchema),
|
|
2699
|
-
z.lazy(() => ResponsesStreamChunkResponseOutputItemAdded$outboundSchema),
|
|
2700
|
-
z.lazy(() => ResponsesStreamChunkResponseFileSearchCallInProgress$outboundSchema),
|
|
2701
|
-
z.lazy(() => ResponsesStreamChunkResponseWebSearchCallInProgress$outboundSchema),
|
|
2702
|
-
z.lazy(() => ResponsesStreamChunk$outboundSchema),
|
|
2703
|
-
z.lazy(() => ResponsesStreamChunkResponseCreated$outboundSchema),
|
|
2704
|
-
z.lazy(() => ResponsesStreamChunkResponseOutputTextAnnotationAdded$outboundSchema),
|
|
2705
|
-
z.lazy(() => ResponsesStreamChunkResponseFailed$outboundSchema),
|
|
2706
|
-
z.lazy(() => ResponsesStreamChunkResponseError$outboundSchema),
|
|
2707
|
-
z.lazy(() => ResponsesStreamChunkError$outboundSchema),
|
|
2708
|
-
]);
|
|
2709
|
-
/**
|
|
2710
|
-
* @internal
|
|
2711
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2712
|
-
*/
|
|
2713
|
-
export var ResponsesStreamChunkUnion$;
|
|
2714
|
-
(function (ResponsesStreamChunkUnion$) {
|
|
2715
|
-
/** @deprecated use `ResponsesStreamChunkUnion$inboundSchema` instead. */
|
|
2716
|
-
ResponsesStreamChunkUnion$.inboundSchema = ResponsesStreamChunkUnion$inboundSchema;
|
|
2717
|
-
/** @deprecated use `ResponsesStreamChunkUnion$outboundSchema` instead. */
|
|
2718
|
-
ResponsesStreamChunkUnion$.outboundSchema = ResponsesStreamChunkUnion$outboundSchema;
|
|
2719
|
-
})(ResponsesStreamChunkUnion$ || (ResponsesStreamChunkUnion$ = {}));
|
|
2720
|
-
export function responsesStreamChunkUnionToJSON(responsesStreamChunkUnion) {
|
|
2721
|
-
return JSON.stringify(ResponsesStreamChunkUnion$outboundSchema.parse(responsesStreamChunkUnion));
|
|
2722
|
-
}
|
|
2723
|
-
export function responsesStreamChunkUnionFromJSON(jsonString) {
|
|
2724
|
-
return safeParse(jsonString, (x) => ResponsesStreamChunkUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponsesStreamChunkUnion' from JSON`);
|
|
2725
|
-
}
|
|
2726
|
-
//# sourceMappingURL=responsesstreamchunkunion.js.map
|