@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,2276 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod";
|
|
6
|
-
import { EventStream } from "../../lib/event-streams.js";
|
|
7
|
-
import { remap as remap$ } from "../../lib/primitives.js";
|
|
8
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
9
|
-
import {
|
|
10
|
-
catchUnrecognizedEnum,
|
|
11
|
-
ClosedEnum,
|
|
12
|
-
OpenEnum,
|
|
13
|
-
Unrecognized,
|
|
14
|
-
} from "../../types/enums.js";
|
|
15
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
16
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
17
|
-
import * as models from "../index.js";
|
|
18
|
-
|
|
19
|
-
export const ServiceTier = {
|
|
20
|
-
Auto: "auto",
|
|
21
|
-
Default: "default",
|
|
22
|
-
Flex: "flex",
|
|
23
|
-
Priority: "priority",
|
|
24
|
-
Scale: "scale",
|
|
25
|
-
} as const;
|
|
26
|
-
export type ServiceTier = OpenEnum<typeof ServiceTier>;
|
|
27
|
-
|
|
28
|
-
export const Truncation = {
|
|
29
|
-
Auto: "auto",
|
|
30
|
-
Disabled: "disabled",
|
|
31
|
-
} as const;
|
|
32
|
-
export type Truncation = OpenEnum<typeof Truncation>;
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* Data collection setting. If no available model provider meets the requirement, your request will return an error.
|
|
36
|
-
*
|
|
37
|
-
* @remarks
|
|
38
|
-
* - allow: (default) allow providers which store user data non-transiently and may train on it
|
|
39
|
-
* - deny: use only providers which do not collect user data.
|
|
40
|
-
*/
|
|
41
|
-
export const SendResponsesRequestDataCollection = {
|
|
42
|
-
Deny: "deny",
|
|
43
|
-
Allow: "allow",
|
|
44
|
-
} as const;
|
|
45
|
-
/**
|
|
46
|
-
* Data collection setting. If no available model provider meets the requirement, your request will return an error.
|
|
47
|
-
*
|
|
48
|
-
* @remarks
|
|
49
|
-
* - allow: (default) allow providers which store user data non-transiently and may train on it
|
|
50
|
-
* - deny: use only providers which do not collect user data.
|
|
51
|
-
*/
|
|
52
|
-
export type SendResponsesRequestDataCollection = OpenEnum<
|
|
53
|
-
typeof SendResponsesRequestDataCollection
|
|
54
|
-
>;
|
|
55
|
-
|
|
56
|
-
export const SendResponsesRequestOrderEnum = {
|
|
57
|
-
AnyScale: "AnyScale",
|
|
58
|
-
CentML: "Cent-ML",
|
|
59
|
-
HuggingFace: "HuggingFace",
|
|
60
|
-
Hyperbolic2: "Hyperbolic 2",
|
|
61
|
-
Lepton: "Lepton",
|
|
62
|
-
Lynn2: "Lynn 2",
|
|
63
|
-
Lynn: "Lynn",
|
|
64
|
-
Mancer: "Mancer",
|
|
65
|
-
Modal: "Modal",
|
|
66
|
-
OctoAI: "OctoAI",
|
|
67
|
-
Recursal: "Recursal",
|
|
68
|
-
Reflection: "Reflection",
|
|
69
|
-
Replicate: "Replicate",
|
|
70
|
-
SambaNova2: "SambaNova 2",
|
|
71
|
-
SFCompute: "SF Compute",
|
|
72
|
-
Together2: "Together 2",
|
|
73
|
-
OneDotAI: "01.AI",
|
|
74
|
-
Ai21: "AI21",
|
|
75
|
-
AionLabs: "AionLabs",
|
|
76
|
-
Alibaba: "Alibaba",
|
|
77
|
-
AmazonBedrock: "Amazon Bedrock",
|
|
78
|
-
Anthropic: "Anthropic",
|
|
79
|
-
AtlasCloud: "AtlasCloud",
|
|
80
|
-
Atoma: "Atoma",
|
|
81
|
-
Avian: "Avian",
|
|
82
|
-
Azure: "Azure",
|
|
83
|
-
BaseTen: "BaseTen",
|
|
84
|
-
Cerebras: "Cerebras",
|
|
85
|
-
Chutes: "Chutes",
|
|
86
|
-
Cloudflare: "Cloudflare",
|
|
87
|
-
Cohere: "Cohere",
|
|
88
|
-
CrofAI: "CrofAI",
|
|
89
|
-
Crusoe: "Crusoe",
|
|
90
|
-
DeepInfra: "DeepInfra",
|
|
91
|
-
DeepSeek: "DeepSeek",
|
|
92
|
-
Enfer: "Enfer",
|
|
93
|
-
Featherless: "Featherless",
|
|
94
|
-
Fireworks: "Fireworks",
|
|
95
|
-
Friendli: "Friendli",
|
|
96
|
-
GMICloud: "GMICloud",
|
|
97
|
-
Google: "Google",
|
|
98
|
-
GoogleAIStudio: "Google AI Studio",
|
|
99
|
-
Groq: "Groq",
|
|
100
|
-
Hyperbolic: "Hyperbolic",
|
|
101
|
-
Inception: "Inception",
|
|
102
|
-
InferenceNet: "InferenceNet",
|
|
103
|
-
Infermatic: "Infermatic",
|
|
104
|
-
Inflection: "Inflection",
|
|
105
|
-
InoCloud: "InoCloud",
|
|
106
|
-
Kluster: "Kluster",
|
|
107
|
-
Lambda: "Lambda",
|
|
108
|
-
Liquid: "Liquid",
|
|
109
|
-
Mancer2: "Mancer 2",
|
|
110
|
-
Meta: "Meta",
|
|
111
|
-
Minimax: "Minimax",
|
|
112
|
-
Mistral: "Mistral",
|
|
113
|
-
MoonshotAI: "Moonshot AI",
|
|
114
|
-
Morph: "Morph",
|
|
115
|
-
NCompass: "NCompass",
|
|
116
|
-
Nebius: "Nebius",
|
|
117
|
-
NextBit: "NextBit",
|
|
118
|
-
Nineteen: "Nineteen",
|
|
119
|
-
Novita: "Novita",
|
|
120
|
-
Nvidia: "Nvidia",
|
|
121
|
-
OpenAI: "OpenAI",
|
|
122
|
-
OpenInference: "OpenInference",
|
|
123
|
-
Parasail: "Parasail",
|
|
124
|
-
Perplexity: "Perplexity",
|
|
125
|
-
Phala: "Phala",
|
|
126
|
-
Relace: "Relace",
|
|
127
|
-
SambaNova: "SambaNova",
|
|
128
|
-
SiliconFlow: "SiliconFlow",
|
|
129
|
-
Stealth: "Stealth",
|
|
130
|
-
Switchpoint: "Switchpoint",
|
|
131
|
-
Targon: "Targon",
|
|
132
|
-
Together: "Together",
|
|
133
|
-
Ubicloud: "Ubicloud",
|
|
134
|
-
Venice: "Venice",
|
|
135
|
-
WandB: "WandB",
|
|
136
|
-
XAI: "xAI",
|
|
137
|
-
ZAi: "Z.AI",
|
|
138
|
-
FakeProvider: "FakeProvider",
|
|
139
|
-
} as const;
|
|
140
|
-
export type SendResponsesRequestOrderEnum = OpenEnum<
|
|
141
|
-
typeof SendResponsesRequestOrderEnum
|
|
142
|
-
>;
|
|
143
|
-
|
|
144
|
-
export type SendResponsesRequestOrderUnion =
|
|
145
|
-
| SendResponsesRequestOrderEnum
|
|
146
|
-
| string;
|
|
147
|
-
|
|
148
|
-
export const SendResponsesRequestOnlyEnum = {
|
|
149
|
-
AnyScale: "AnyScale",
|
|
150
|
-
CentML: "Cent-ML",
|
|
151
|
-
HuggingFace: "HuggingFace",
|
|
152
|
-
Hyperbolic2: "Hyperbolic 2",
|
|
153
|
-
Lepton: "Lepton",
|
|
154
|
-
Lynn2: "Lynn 2",
|
|
155
|
-
Lynn: "Lynn",
|
|
156
|
-
Mancer: "Mancer",
|
|
157
|
-
Modal: "Modal",
|
|
158
|
-
OctoAI: "OctoAI",
|
|
159
|
-
Recursal: "Recursal",
|
|
160
|
-
Reflection: "Reflection",
|
|
161
|
-
Replicate: "Replicate",
|
|
162
|
-
SambaNova2: "SambaNova 2",
|
|
163
|
-
SFCompute: "SF Compute",
|
|
164
|
-
Together2: "Together 2",
|
|
165
|
-
OneDotAI: "01.AI",
|
|
166
|
-
Ai21: "AI21",
|
|
167
|
-
AionLabs: "AionLabs",
|
|
168
|
-
Alibaba: "Alibaba",
|
|
169
|
-
AmazonBedrock: "Amazon Bedrock",
|
|
170
|
-
Anthropic: "Anthropic",
|
|
171
|
-
AtlasCloud: "AtlasCloud",
|
|
172
|
-
Atoma: "Atoma",
|
|
173
|
-
Avian: "Avian",
|
|
174
|
-
Azure: "Azure",
|
|
175
|
-
BaseTen: "BaseTen",
|
|
176
|
-
Cerebras: "Cerebras",
|
|
177
|
-
Chutes: "Chutes",
|
|
178
|
-
Cloudflare: "Cloudflare",
|
|
179
|
-
Cohere: "Cohere",
|
|
180
|
-
CrofAI: "CrofAI",
|
|
181
|
-
Crusoe: "Crusoe",
|
|
182
|
-
DeepInfra: "DeepInfra",
|
|
183
|
-
DeepSeek: "DeepSeek",
|
|
184
|
-
Enfer: "Enfer",
|
|
185
|
-
Featherless: "Featherless",
|
|
186
|
-
Fireworks: "Fireworks",
|
|
187
|
-
Friendli: "Friendli",
|
|
188
|
-
GMICloud: "GMICloud",
|
|
189
|
-
Google: "Google",
|
|
190
|
-
GoogleAIStudio: "Google AI Studio",
|
|
191
|
-
Groq: "Groq",
|
|
192
|
-
Hyperbolic: "Hyperbolic",
|
|
193
|
-
Inception: "Inception",
|
|
194
|
-
InferenceNet: "InferenceNet",
|
|
195
|
-
Infermatic: "Infermatic",
|
|
196
|
-
Inflection: "Inflection",
|
|
197
|
-
InoCloud: "InoCloud",
|
|
198
|
-
Kluster: "Kluster",
|
|
199
|
-
Lambda: "Lambda",
|
|
200
|
-
Liquid: "Liquid",
|
|
201
|
-
Mancer2: "Mancer 2",
|
|
202
|
-
Meta: "Meta",
|
|
203
|
-
Minimax: "Minimax",
|
|
204
|
-
Mistral: "Mistral",
|
|
205
|
-
MoonshotAI: "Moonshot AI",
|
|
206
|
-
Morph: "Morph",
|
|
207
|
-
NCompass: "NCompass",
|
|
208
|
-
Nebius: "Nebius",
|
|
209
|
-
NextBit: "NextBit",
|
|
210
|
-
Nineteen: "Nineteen",
|
|
211
|
-
Novita: "Novita",
|
|
212
|
-
Nvidia: "Nvidia",
|
|
213
|
-
OpenAI: "OpenAI",
|
|
214
|
-
OpenInference: "OpenInference",
|
|
215
|
-
Parasail: "Parasail",
|
|
216
|
-
Perplexity: "Perplexity",
|
|
217
|
-
Phala: "Phala",
|
|
218
|
-
Relace: "Relace",
|
|
219
|
-
SambaNova: "SambaNova",
|
|
220
|
-
SiliconFlow: "SiliconFlow",
|
|
221
|
-
Stealth: "Stealth",
|
|
222
|
-
Switchpoint: "Switchpoint",
|
|
223
|
-
Targon: "Targon",
|
|
224
|
-
Together: "Together",
|
|
225
|
-
Ubicloud: "Ubicloud",
|
|
226
|
-
Venice: "Venice",
|
|
227
|
-
WandB: "WandB",
|
|
228
|
-
XAI: "xAI",
|
|
229
|
-
ZAi: "Z.AI",
|
|
230
|
-
FakeProvider: "FakeProvider",
|
|
231
|
-
} as const;
|
|
232
|
-
export type SendResponsesRequestOnlyEnum = OpenEnum<
|
|
233
|
-
typeof SendResponsesRequestOnlyEnum
|
|
234
|
-
>;
|
|
235
|
-
|
|
236
|
-
export type SendResponsesRequestOnlyUnion =
|
|
237
|
-
| SendResponsesRequestOnlyEnum
|
|
238
|
-
| string;
|
|
239
|
-
|
|
240
|
-
export const SendResponsesRequestIgnoreEnum = {
|
|
241
|
-
AnyScale: "AnyScale",
|
|
242
|
-
CentML: "Cent-ML",
|
|
243
|
-
HuggingFace: "HuggingFace",
|
|
244
|
-
Hyperbolic2: "Hyperbolic 2",
|
|
245
|
-
Lepton: "Lepton",
|
|
246
|
-
Lynn2: "Lynn 2",
|
|
247
|
-
Lynn: "Lynn",
|
|
248
|
-
Mancer: "Mancer",
|
|
249
|
-
Modal: "Modal",
|
|
250
|
-
OctoAI: "OctoAI",
|
|
251
|
-
Recursal: "Recursal",
|
|
252
|
-
Reflection: "Reflection",
|
|
253
|
-
Replicate: "Replicate",
|
|
254
|
-
SambaNova2: "SambaNova 2",
|
|
255
|
-
SFCompute: "SF Compute",
|
|
256
|
-
Together2: "Together 2",
|
|
257
|
-
OneDotAI: "01.AI",
|
|
258
|
-
Ai21: "AI21",
|
|
259
|
-
AionLabs: "AionLabs",
|
|
260
|
-
Alibaba: "Alibaba",
|
|
261
|
-
AmazonBedrock: "Amazon Bedrock",
|
|
262
|
-
Anthropic: "Anthropic",
|
|
263
|
-
AtlasCloud: "AtlasCloud",
|
|
264
|
-
Atoma: "Atoma",
|
|
265
|
-
Avian: "Avian",
|
|
266
|
-
Azure: "Azure",
|
|
267
|
-
BaseTen: "BaseTen",
|
|
268
|
-
Cerebras: "Cerebras",
|
|
269
|
-
Chutes: "Chutes",
|
|
270
|
-
Cloudflare: "Cloudflare",
|
|
271
|
-
Cohere: "Cohere",
|
|
272
|
-
CrofAI: "CrofAI",
|
|
273
|
-
Crusoe: "Crusoe",
|
|
274
|
-
DeepInfra: "DeepInfra",
|
|
275
|
-
DeepSeek: "DeepSeek",
|
|
276
|
-
Enfer: "Enfer",
|
|
277
|
-
Featherless: "Featherless",
|
|
278
|
-
Fireworks: "Fireworks",
|
|
279
|
-
Friendli: "Friendli",
|
|
280
|
-
GMICloud: "GMICloud",
|
|
281
|
-
Google: "Google",
|
|
282
|
-
GoogleAIStudio: "Google AI Studio",
|
|
283
|
-
Groq: "Groq",
|
|
284
|
-
Hyperbolic: "Hyperbolic",
|
|
285
|
-
Inception: "Inception",
|
|
286
|
-
InferenceNet: "InferenceNet",
|
|
287
|
-
Infermatic: "Infermatic",
|
|
288
|
-
Inflection: "Inflection",
|
|
289
|
-
InoCloud: "InoCloud",
|
|
290
|
-
Kluster: "Kluster",
|
|
291
|
-
Lambda: "Lambda",
|
|
292
|
-
Liquid: "Liquid",
|
|
293
|
-
Mancer2: "Mancer 2",
|
|
294
|
-
Meta: "Meta",
|
|
295
|
-
Minimax: "Minimax",
|
|
296
|
-
Mistral: "Mistral",
|
|
297
|
-
MoonshotAI: "Moonshot AI",
|
|
298
|
-
Morph: "Morph",
|
|
299
|
-
NCompass: "NCompass",
|
|
300
|
-
Nebius: "Nebius",
|
|
301
|
-
NextBit: "NextBit",
|
|
302
|
-
Nineteen: "Nineteen",
|
|
303
|
-
Novita: "Novita",
|
|
304
|
-
Nvidia: "Nvidia",
|
|
305
|
-
OpenAI: "OpenAI",
|
|
306
|
-
OpenInference: "OpenInference",
|
|
307
|
-
Parasail: "Parasail",
|
|
308
|
-
Perplexity: "Perplexity",
|
|
309
|
-
Phala: "Phala",
|
|
310
|
-
Relace: "Relace",
|
|
311
|
-
SambaNova: "SambaNova",
|
|
312
|
-
SiliconFlow: "SiliconFlow",
|
|
313
|
-
Stealth: "Stealth",
|
|
314
|
-
Switchpoint: "Switchpoint",
|
|
315
|
-
Targon: "Targon",
|
|
316
|
-
Together: "Together",
|
|
317
|
-
Ubicloud: "Ubicloud",
|
|
318
|
-
Venice: "Venice",
|
|
319
|
-
WandB: "WandB",
|
|
320
|
-
XAI: "xAI",
|
|
321
|
-
ZAi: "Z.AI",
|
|
322
|
-
FakeProvider: "FakeProvider",
|
|
323
|
-
} as const;
|
|
324
|
-
export type SendResponsesRequestIgnoreEnum = OpenEnum<
|
|
325
|
-
typeof SendResponsesRequestIgnoreEnum
|
|
326
|
-
>;
|
|
327
|
-
|
|
328
|
-
export type SendResponsesRequestIgnoreUnion =
|
|
329
|
-
| SendResponsesRequestIgnoreEnum
|
|
330
|
-
| string;
|
|
331
|
-
|
|
332
|
-
export const SendResponsesRequestQuantization = {
|
|
333
|
-
Int4: "int4",
|
|
334
|
-
Int8: "int8",
|
|
335
|
-
Fp4: "fp4",
|
|
336
|
-
Fp6: "fp6",
|
|
337
|
-
Fp8: "fp8",
|
|
338
|
-
Fp16: "fp16",
|
|
339
|
-
Bf16: "bf16",
|
|
340
|
-
Fp32: "fp32",
|
|
341
|
-
Unknown: "unknown",
|
|
342
|
-
} as const;
|
|
343
|
-
export type SendResponsesRequestQuantization = OpenEnum<
|
|
344
|
-
typeof SendResponsesRequestQuantization
|
|
345
|
-
>;
|
|
346
|
-
|
|
347
|
-
/**
|
|
348
|
-
* The sorting strategy to use for this request, if "order" is not specified. When set, no load balancing is performed.
|
|
349
|
-
*/
|
|
350
|
-
export const SendResponsesRequestSort = {
|
|
351
|
-
Price: "price",
|
|
352
|
-
Throughput: "throughput",
|
|
353
|
-
Latency: "latency",
|
|
354
|
-
} as const;
|
|
355
|
-
/**
|
|
356
|
-
* The sorting strategy to use for this request, if "order" is not specified. When set, no load balancing is performed.
|
|
357
|
-
*/
|
|
358
|
-
export type SendResponsesRequestSort = OpenEnum<
|
|
359
|
-
typeof SendResponsesRequestSort
|
|
360
|
-
>;
|
|
361
|
-
|
|
362
|
-
export type SendResponsesRequestPrompt = number | string | any;
|
|
363
|
-
|
|
364
|
-
export type SendResponsesRequestCompletion = number | string | any;
|
|
365
|
-
|
|
366
|
-
export type SendResponsesRequestImage = number | string | any;
|
|
367
|
-
|
|
368
|
-
export type SendResponsesRequestAudio = number | string | any;
|
|
369
|
-
|
|
370
|
-
export type SendResponsesRequestRequestUnion = number | string | any;
|
|
371
|
-
|
|
372
|
-
/**
|
|
373
|
-
* The object specifying the maximum price you want to pay for this request. USD price per million tokens, for prompt and completion.
|
|
374
|
-
*/
|
|
375
|
-
export type SendResponsesRequestMaxPrice = {
|
|
376
|
-
prompt?: number | string | any | undefined;
|
|
377
|
-
completion?: number | string | any | undefined;
|
|
378
|
-
image?: number | string | any | undefined;
|
|
379
|
-
audio?: number | string | any | undefined;
|
|
380
|
-
request?: number | string | any | undefined;
|
|
381
|
-
};
|
|
382
|
-
|
|
383
|
-
export type SendResponsesRequestExperimental = {};
|
|
384
|
-
|
|
385
|
-
/**
|
|
386
|
-
* When multiple model providers are available, optionally indicate your routing preference.
|
|
387
|
-
*/
|
|
388
|
-
export type SendResponsesRequestProvider = {
|
|
389
|
-
/**
|
|
390
|
-
* Whether to allow backup providers to serve requests
|
|
391
|
-
*
|
|
392
|
-
* @remarks
|
|
393
|
-
* - true: (default) when the primary provider (or your custom providers in "order") is unavailable, use the next best provider.
|
|
394
|
-
* - false: use only the primary/custom provider, and return the upstream error if it's unavailable.
|
|
395
|
-
*/
|
|
396
|
-
allowFallbacks?: boolean | null | undefined;
|
|
397
|
-
/**
|
|
398
|
-
* Whether to filter providers to only those that support the parameters you've provided. If this setting is omitted or set to false, then providers will receive only the parameters they support, and ignore the rest.
|
|
399
|
-
*/
|
|
400
|
-
requireParameters?: boolean | null | undefined;
|
|
401
|
-
/**
|
|
402
|
-
* Data collection setting. If no available model provider meets the requirement, your request will return an error.
|
|
403
|
-
*
|
|
404
|
-
* @remarks
|
|
405
|
-
* - allow: (default) allow providers which store user data non-transiently and may train on it
|
|
406
|
-
* - deny: use only providers which do not collect user data.
|
|
407
|
-
*/
|
|
408
|
-
dataCollection?: SendResponsesRequestDataCollection | null | undefined;
|
|
409
|
-
/**
|
|
410
|
-
* Whether to restrict routing to only ZDR (Zero Data Retention) endpoints. When true, only endpoints that do not retain prompts will be used.
|
|
411
|
-
*/
|
|
412
|
-
zdr?: boolean | null | undefined;
|
|
413
|
-
/**
|
|
414
|
-
* An ordered list of provider slugs. The router will attempt to use the first provider in the subset of this list that supports your requested model, and fall back to the next if it is unavailable. If no providers are available, the request will fail with an error message.
|
|
415
|
-
*/
|
|
416
|
-
order?: Array<SendResponsesRequestOrderEnum | string> | null | undefined;
|
|
417
|
-
/**
|
|
418
|
-
* List of provider slugs to allow. If provided, this list is merged with your account-wide allowed provider settings for this request.
|
|
419
|
-
*/
|
|
420
|
-
only?: Array<SendResponsesRequestOnlyEnum | string> | null | undefined;
|
|
421
|
-
/**
|
|
422
|
-
* List of provider slugs to ignore. If provided, this list is merged with your account-wide ignored provider settings for this request.
|
|
423
|
-
*/
|
|
424
|
-
ignore?: Array<SendResponsesRequestIgnoreEnum | string> | null | undefined;
|
|
425
|
-
/**
|
|
426
|
-
* A list of quantization levels to filter the provider by.
|
|
427
|
-
*/
|
|
428
|
-
quantizations?: Array<SendResponsesRequestQuantization> | null | undefined;
|
|
429
|
-
/**
|
|
430
|
-
* The sorting strategy to use for this request, if "order" is not specified. When set, no load balancing is performed.
|
|
431
|
-
*/
|
|
432
|
-
sort?: SendResponsesRequestSort | null | undefined;
|
|
433
|
-
/**
|
|
434
|
-
* The object specifying the maximum price you want to pay for this request. USD price per million tokens, for prompt and completion.
|
|
435
|
-
*/
|
|
436
|
-
maxPrice?: SendResponsesRequestMaxPrice | undefined;
|
|
437
|
-
experimental?: SendResponsesRequestExperimental | null | undefined;
|
|
438
|
-
};
|
|
439
|
-
|
|
440
|
-
export const IdFileParser = {
|
|
441
|
-
FileParser: "file-parser",
|
|
442
|
-
} as const;
|
|
443
|
-
export type IdFileParser = ClosedEnum<typeof IdFileParser>;
|
|
444
|
-
|
|
445
|
-
export const PdfEngine = {
|
|
446
|
-
MistralOcr: "mistral-ocr",
|
|
447
|
-
PdfText: "pdf-text",
|
|
448
|
-
Native: "native",
|
|
449
|
-
} as const;
|
|
450
|
-
export type PdfEngine = OpenEnum<typeof PdfEngine>;
|
|
451
|
-
|
|
452
|
-
export type Pdf = {
|
|
453
|
-
engine?: PdfEngine | undefined;
|
|
454
|
-
};
|
|
455
|
-
|
|
456
|
-
export type PluginFileParser = {
|
|
457
|
-
id: IdFileParser;
|
|
458
|
-
maxFiles?: number | undefined;
|
|
459
|
-
pdf?: Pdf | undefined;
|
|
460
|
-
};
|
|
461
|
-
|
|
462
|
-
export const IdChainOfThought = {
|
|
463
|
-
ChainOfThought: "chain-of-thought",
|
|
464
|
-
} as const;
|
|
465
|
-
export type IdChainOfThought = ClosedEnum<typeof IdChainOfThought>;
|
|
466
|
-
|
|
467
|
-
export type PluginChainOfThought = {
|
|
468
|
-
id: IdChainOfThought;
|
|
469
|
-
};
|
|
470
|
-
|
|
471
|
-
export const IdWeb = {
|
|
472
|
-
Web: "web",
|
|
473
|
-
} as const;
|
|
474
|
-
export type IdWeb = ClosedEnum<typeof IdWeb>;
|
|
475
|
-
|
|
476
|
-
export const Engine = {
|
|
477
|
-
Native: "native",
|
|
478
|
-
Exa: "exa",
|
|
479
|
-
} as const;
|
|
480
|
-
export type Engine = OpenEnum<typeof Engine>;
|
|
481
|
-
|
|
482
|
-
export type PluginWeb = {
|
|
483
|
-
id: IdWeb;
|
|
484
|
-
maxResults?: number | undefined;
|
|
485
|
-
searchPrompt?: string | undefined;
|
|
486
|
-
engine?: Engine | undefined;
|
|
487
|
-
};
|
|
488
|
-
|
|
489
|
-
export const IdModeration = {
|
|
490
|
-
Moderation: "moderation",
|
|
491
|
-
} as const;
|
|
492
|
-
export type IdModeration = ClosedEnum<typeof IdModeration>;
|
|
493
|
-
|
|
494
|
-
export type PluginModeration = {
|
|
495
|
-
id: IdModeration;
|
|
496
|
-
};
|
|
497
|
-
|
|
498
|
-
export type Plugin =
|
|
499
|
-
| PluginModeration
|
|
500
|
-
| PluginWeb
|
|
501
|
-
| PluginChainOfThought
|
|
502
|
-
| PluginFileParser;
|
|
503
|
-
|
|
504
|
-
/**
|
|
505
|
-
* Request schema for OpenAI-compatible Responses API
|
|
506
|
-
*/
|
|
507
|
-
export type SendResponsesRequestRequest = {
|
|
508
|
-
/**
|
|
509
|
-
* Input for Responses API (can be a string or array of input items)
|
|
510
|
-
*/
|
|
511
|
-
input?: models.ResponseInput | undefined;
|
|
512
|
-
instructions?: string | null | undefined;
|
|
513
|
-
/**
|
|
514
|
-
* Metadata for Responses API requests (max 16 pairs, keys ≤64 chars, values ≤512 chars)
|
|
515
|
-
*/
|
|
516
|
-
metadata?: { [k: string]: string } | null | undefined;
|
|
517
|
-
tools?: Array<models.Tool> | undefined;
|
|
518
|
-
/**
|
|
519
|
-
* Tool choice configuration
|
|
520
|
-
*/
|
|
521
|
-
toolChoice?: models.ToolChoiceUnion | undefined;
|
|
522
|
-
parallelToolCalls?: boolean | null | undefined;
|
|
523
|
-
model?: string | undefined;
|
|
524
|
-
models?: Array<string> | undefined;
|
|
525
|
-
/**
|
|
526
|
-
* Text configuration for Responses API
|
|
527
|
-
*/
|
|
528
|
-
text?: models.ResponseTextConfig | undefined;
|
|
529
|
-
/**
|
|
530
|
-
* Reasoning configuration for Responses API
|
|
531
|
-
*/
|
|
532
|
-
reasoning?: models.ResponseReasoningConfig | null | undefined;
|
|
533
|
-
maxOutputTokens?: number | null | undefined;
|
|
534
|
-
temperature?: number | null | undefined;
|
|
535
|
-
topP?: number | null | undefined;
|
|
536
|
-
topK?: number | undefined;
|
|
537
|
-
promptCacheKey?: string | undefined;
|
|
538
|
-
previousResponseId?: string | null | undefined;
|
|
539
|
-
/**
|
|
540
|
-
* Prompt configuration with variables
|
|
541
|
-
*/
|
|
542
|
-
prompt?: models.ResponsePrompt | null | undefined;
|
|
543
|
-
include?: Array<models.ResponseIncludable> | null | undefined;
|
|
544
|
-
background?: boolean | null | undefined;
|
|
545
|
-
safetyIdentifier?: string | undefined;
|
|
546
|
-
store?: boolean | null | undefined;
|
|
547
|
-
serviceTier?: ServiceTier | null | undefined;
|
|
548
|
-
truncation?: Truncation | null | undefined;
|
|
549
|
-
stream?: boolean | null | undefined;
|
|
550
|
-
/**
|
|
551
|
-
* When multiple model providers are available, optionally indicate your routing preference.
|
|
552
|
-
*/
|
|
553
|
-
provider?: SendResponsesRequestProvider | null | undefined;
|
|
554
|
-
/**
|
|
555
|
-
* Plugins you want to enable for this request, including their settings.
|
|
556
|
-
*/
|
|
557
|
-
plugins?:
|
|
558
|
-
| Array<
|
|
559
|
-
PluginModeration | PluginWeb | PluginChainOfThought | PluginFileParser
|
|
560
|
-
>
|
|
561
|
-
| undefined;
|
|
562
|
-
/**
|
|
563
|
-
* A unique identifier representing your end-user, which helps distinguish between different users of your app. This allows your app to identify specific users in case of abuse reports, preventing your entire app from being affected by the actions of individual users. Maximum of 128 characters.
|
|
564
|
-
*/
|
|
565
|
-
user?: string | undefined;
|
|
566
|
-
};
|
|
567
|
-
|
|
568
|
-
/**
|
|
569
|
-
* Successful response
|
|
570
|
-
*/
|
|
571
|
-
export type SendResponsesRequestResponseBody = {
|
|
572
|
-
/**
|
|
573
|
-
* Streaming chunk from Responses API
|
|
574
|
-
*/
|
|
575
|
-
data: models.ResponsesStreamChunkUnion;
|
|
576
|
-
};
|
|
577
|
-
|
|
578
|
-
export type SendResponsesRequestResponse =
|
|
579
|
-
| models.ResponsesNonStreamingResponse
|
|
580
|
-
| EventStream<SendResponsesRequestResponseBody>;
|
|
581
|
-
|
|
582
|
-
/** @internal */
|
|
583
|
-
export const ServiceTier$inboundSchema: z.ZodType<
|
|
584
|
-
ServiceTier,
|
|
585
|
-
z.ZodTypeDef,
|
|
586
|
-
unknown
|
|
587
|
-
> = z
|
|
588
|
-
.union([
|
|
589
|
-
z.nativeEnum(ServiceTier),
|
|
590
|
-
z.string().transform(catchUnrecognizedEnum),
|
|
591
|
-
]);
|
|
592
|
-
|
|
593
|
-
/** @internal */
|
|
594
|
-
export const ServiceTier$outboundSchema: z.ZodType<
|
|
595
|
-
ServiceTier,
|
|
596
|
-
z.ZodTypeDef,
|
|
597
|
-
ServiceTier
|
|
598
|
-
> = z.union([
|
|
599
|
-
z.nativeEnum(ServiceTier),
|
|
600
|
-
z.string().and(z.custom<Unrecognized<string>>()),
|
|
601
|
-
]);
|
|
602
|
-
|
|
603
|
-
/**
|
|
604
|
-
* @internal
|
|
605
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
606
|
-
*/
|
|
607
|
-
export namespace ServiceTier$ {
|
|
608
|
-
/** @deprecated use `ServiceTier$inboundSchema` instead. */
|
|
609
|
-
export const inboundSchema = ServiceTier$inboundSchema;
|
|
610
|
-
/** @deprecated use `ServiceTier$outboundSchema` instead. */
|
|
611
|
-
export const outboundSchema = ServiceTier$outboundSchema;
|
|
612
|
-
}
|
|
613
|
-
|
|
614
|
-
/** @internal */
|
|
615
|
-
export const Truncation$inboundSchema: z.ZodType<
|
|
616
|
-
Truncation,
|
|
617
|
-
z.ZodTypeDef,
|
|
618
|
-
unknown
|
|
619
|
-
> = z
|
|
620
|
-
.union([
|
|
621
|
-
z.nativeEnum(Truncation),
|
|
622
|
-
z.string().transform(catchUnrecognizedEnum),
|
|
623
|
-
]);
|
|
624
|
-
|
|
625
|
-
/** @internal */
|
|
626
|
-
export const Truncation$outboundSchema: z.ZodType<
|
|
627
|
-
Truncation,
|
|
628
|
-
z.ZodTypeDef,
|
|
629
|
-
Truncation
|
|
630
|
-
> = z.union([
|
|
631
|
-
z.nativeEnum(Truncation),
|
|
632
|
-
z.string().and(z.custom<Unrecognized<string>>()),
|
|
633
|
-
]);
|
|
634
|
-
|
|
635
|
-
/**
|
|
636
|
-
* @internal
|
|
637
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
638
|
-
*/
|
|
639
|
-
export namespace Truncation$ {
|
|
640
|
-
/** @deprecated use `Truncation$inboundSchema` instead. */
|
|
641
|
-
export const inboundSchema = Truncation$inboundSchema;
|
|
642
|
-
/** @deprecated use `Truncation$outboundSchema` instead. */
|
|
643
|
-
export const outboundSchema = Truncation$outboundSchema;
|
|
644
|
-
}
|
|
645
|
-
|
|
646
|
-
/** @internal */
|
|
647
|
-
export const SendResponsesRequestDataCollection$inboundSchema: z.ZodType<
|
|
648
|
-
SendResponsesRequestDataCollection,
|
|
649
|
-
z.ZodTypeDef,
|
|
650
|
-
unknown
|
|
651
|
-
> = z
|
|
652
|
-
.union([
|
|
653
|
-
z.nativeEnum(SendResponsesRequestDataCollection),
|
|
654
|
-
z.string().transform(catchUnrecognizedEnum),
|
|
655
|
-
]);
|
|
656
|
-
|
|
657
|
-
/** @internal */
|
|
658
|
-
export const SendResponsesRequestDataCollection$outboundSchema: z.ZodType<
|
|
659
|
-
SendResponsesRequestDataCollection,
|
|
660
|
-
z.ZodTypeDef,
|
|
661
|
-
SendResponsesRequestDataCollection
|
|
662
|
-
> = z.union([
|
|
663
|
-
z.nativeEnum(SendResponsesRequestDataCollection),
|
|
664
|
-
z.string().and(z.custom<Unrecognized<string>>()),
|
|
665
|
-
]);
|
|
666
|
-
|
|
667
|
-
/**
|
|
668
|
-
* @internal
|
|
669
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
670
|
-
*/
|
|
671
|
-
export namespace SendResponsesRequestDataCollection$ {
|
|
672
|
-
/** @deprecated use `SendResponsesRequestDataCollection$inboundSchema` instead. */
|
|
673
|
-
export const inboundSchema = SendResponsesRequestDataCollection$inboundSchema;
|
|
674
|
-
/** @deprecated use `SendResponsesRequestDataCollection$outboundSchema` instead. */
|
|
675
|
-
export const outboundSchema =
|
|
676
|
-
SendResponsesRequestDataCollection$outboundSchema;
|
|
677
|
-
}
|
|
678
|
-
|
|
679
|
-
/** @internal */
|
|
680
|
-
export const SendResponsesRequestOrderEnum$inboundSchema: z.ZodType<
|
|
681
|
-
SendResponsesRequestOrderEnum,
|
|
682
|
-
z.ZodTypeDef,
|
|
683
|
-
unknown
|
|
684
|
-
> = z
|
|
685
|
-
.union([
|
|
686
|
-
z.nativeEnum(SendResponsesRequestOrderEnum),
|
|
687
|
-
z.string().transform(catchUnrecognizedEnum),
|
|
688
|
-
]);
|
|
689
|
-
|
|
690
|
-
/** @internal */
|
|
691
|
-
export const SendResponsesRequestOrderEnum$outboundSchema: z.ZodType<
|
|
692
|
-
SendResponsesRequestOrderEnum,
|
|
693
|
-
z.ZodTypeDef,
|
|
694
|
-
SendResponsesRequestOrderEnum
|
|
695
|
-
> = z.union([
|
|
696
|
-
z.nativeEnum(SendResponsesRequestOrderEnum),
|
|
697
|
-
z.string().and(z.custom<Unrecognized<string>>()),
|
|
698
|
-
]);
|
|
699
|
-
|
|
700
|
-
/**
|
|
701
|
-
* @internal
|
|
702
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
703
|
-
*/
|
|
704
|
-
export namespace SendResponsesRequestOrderEnum$ {
|
|
705
|
-
/** @deprecated use `SendResponsesRequestOrderEnum$inboundSchema` instead. */
|
|
706
|
-
export const inboundSchema = SendResponsesRequestOrderEnum$inboundSchema;
|
|
707
|
-
/** @deprecated use `SendResponsesRequestOrderEnum$outboundSchema` instead. */
|
|
708
|
-
export const outboundSchema = SendResponsesRequestOrderEnum$outboundSchema;
|
|
709
|
-
}
|
|
710
|
-
|
|
711
|
-
/** @internal */
|
|
712
|
-
export const SendResponsesRequestOrderUnion$inboundSchema: z.ZodType<
|
|
713
|
-
SendResponsesRequestOrderUnion,
|
|
714
|
-
z.ZodTypeDef,
|
|
715
|
-
unknown
|
|
716
|
-
> = z.union([SendResponsesRequestOrderEnum$inboundSchema, z.string()]);
|
|
717
|
-
|
|
718
|
-
/** @internal */
|
|
719
|
-
export type SendResponsesRequestOrderUnion$Outbound = string | string;
|
|
720
|
-
|
|
721
|
-
/** @internal */
|
|
722
|
-
export const SendResponsesRequestOrderUnion$outboundSchema: z.ZodType<
|
|
723
|
-
SendResponsesRequestOrderUnion$Outbound,
|
|
724
|
-
z.ZodTypeDef,
|
|
725
|
-
SendResponsesRequestOrderUnion
|
|
726
|
-
> = z.union([SendResponsesRequestOrderEnum$outboundSchema, z.string()]);
|
|
727
|
-
|
|
728
|
-
/**
|
|
729
|
-
* @internal
|
|
730
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
731
|
-
*/
|
|
732
|
-
export namespace SendResponsesRequestOrderUnion$ {
|
|
733
|
-
/** @deprecated use `SendResponsesRequestOrderUnion$inboundSchema` instead. */
|
|
734
|
-
export const inboundSchema = SendResponsesRequestOrderUnion$inboundSchema;
|
|
735
|
-
/** @deprecated use `SendResponsesRequestOrderUnion$outboundSchema` instead. */
|
|
736
|
-
export const outboundSchema = SendResponsesRequestOrderUnion$outboundSchema;
|
|
737
|
-
/** @deprecated use `SendResponsesRequestOrderUnion$Outbound` instead. */
|
|
738
|
-
export type Outbound = SendResponsesRequestOrderUnion$Outbound;
|
|
739
|
-
}
|
|
740
|
-
|
|
741
|
-
export function sendResponsesRequestOrderUnionToJSON(
|
|
742
|
-
sendResponsesRequestOrderUnion: SendResponsesRequestOrderUnion,
|
|
743
|
-
): string {
|
|
744
|
-
return JSON.stringify(
|
|
745
|
-
SendResponsesRequestOrderUnion$outboundSchema.parse(
|
|
746
|
-
sendResponsesRequestOrderUnion,
|
|
747
|
-
),
|
|
748
|
-
);
|
|
749
|
-
}
|
|
750
|
-
|
|
751
|
-
export function sendResponsesRequestOrderUnionFromJSON(
|
|
752
|
-
jsonString: string,
|
|
753
|
-
): SafeParseResult<SendResponsesRequestOrderUnion, SDKValidationError> {
|
|
754
|
-
return safeParse(
|
|
755
|
-
jsonString,
|
|
756
|
-
(x) => SendResponsesRequestOrderUnion$inboundSchema.parse(JSON.parse(x)),
|
|
757
|
-
`Failed to parse 'SendResponsesRequestOrderUnion' from JSON`,
|
|
758
|
-
);
|
|
759
|
-
}
|
|
760
|
-
|
|
761
|
-
/** @internal */
|
|
762
|
-
export const SendResponsesRequestOnlyEnum$inboundSchema: z.ZodType<
|
|
763
|
-
SendResponsesRequestOnlyEnum,
|
|
764
|
-
z.ZodTypeDef,
|
|
765
|
-
unknown
|
|
766
|
-
> = z
|
|
767
|
-
.union([
|
|
768
|
-
z.nativeEnum(SendResponsesRequestOnlyEnum),
|
|
769
|
-
z.string().transform(catchUnrecognizedEnum),
|
|
770
|
-
]);
|
|
771
|
-
|
|
772
|
-
/** @internal */
|
|
773
|
-
export const SendResponsesRequestOnlyEnum$outboundSchema: z.ZodType<
|
|
774
|
-
SendResponsesRequestOnlyEnum,
|
|
775
|
-
z.ZodTypeDef,
|
|
776
|
-
SendResponsesRequestOnlyEnum
|
|
777
|
-
> = z.union([
|
|
778
|
-
z.nativeEnum(SendResponsesRequestOnlyEnum),
|
|
779
|
-
z.string().and(z.custom<Unrecognized<string>>()),
|
|
780
|
-
]);
|
|
781
|
-
|
|
782
|
-
/**
|
|
783
|
-
* @internal
|
|
784
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
785
|
-
*/
|
|
786
|
-
export namespace SendResponsesRequestOnlyEnum$ {
|
|
787
|
-
/** @deprecated use `SendResponsesRequestOnlyEnum$inboundSchema` instead. */
|
|
788
|
-
export const inboundSchema = SendResponsesRequestOnlyEnum$inboundSchema;
|
|
789
|
-
/** @deprecated use `SendResponsesRequestOnlyEnum$outboundSchema` instead. */
|
|
790
|
-
export const outboundSchema = SendResponsesRequestOnlyEnum$outboundSchema;
|
|
791
|
-
}
|
|
792
|
-
|
|
793
|
-
/** @internal */
|
|
794
|
-
export const SendResponsesRequestOnlyUnion$inboundSchema: z.ZodType<
|
|
795
|
-
SendResponsesRequestOnlyUnion,
|
|
796
|
-
z.ZodTypeDef,
|
|
797
|
-
unknown
|
|
798
|
-
> = z.union([SendResponsesRequestOnlyEnum$inboundSchema, z.string()]);
|
|
799
|
-
|
|
800
|
-
/** @internal */
|
|
801
|
-
export type SendResponsesRequestOnlyUnion$Outbound = string | string;
|
|
802
|
-
|
|
803
|
-
/** @internal */
|
|
804
|
-
export const SendResponsesRequestOnlyUnion$outboundSchema: z.ZodType<
|
|
805
|
-
SendResponsesRequestOnlyUnion$Outbound,
|
|
806
|
-
z.ZodTypeDef,
|
|
807
|
-
SendResponsesRequestOnlyUnion
|
|
808
|
-
> = z.union([SendResponsesRequestOnlyEnum$outboundSchema, z.string()]);
|
|
809
|
-
|
|
810
|
-
/**
|
|
811
|
-
* @internal
|
|
812
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
813
|
-
*/
|
|
814
|
-
export namespace SendResponsesRequestOnlyUnion$ {
|
|
815
|
-
/** @deprecated use `SendResponsesRequestOnlyUnion$inboundSchema` instead. */
|
|
816
|
-
export const inboundSchema = SendResponsesRequestOnlyUnion$inboundSchema;
|
|
817
|
-
/** @deprecated use `SendResponsesRequestOnlyUnion$outboundSchema` instead. */
|
|
818
|
-
export const outboundSchema = SendResponsesRequestOnlyUnion$outboundSchema;
|
|
819
|
-
/** @deprecated use `SendResponsesRequestOnlyUnion$Outbound` instead. */
|
|
820
|
-
export type Outbound = SendResponsesRequestOnlyUnion$Outbound;
|
|
821
|
-
}
|
|
822
|
-
|
|
823
|
-
export function sendResponsesRequestOnlyUnionToJSON(
|
|
824
|
-
sendResponsesRequestOnlyUnion: SendResponsesRequestOnlyUnion,
|
|
825
|
-
): string {
|
|
826
|
-
return JSON.stringify(
|
|
827
|
-
SendResponsesRequestOnlyUnion$outboundSchema.parse(
|
|
828
|
-
sendResponsesRequestOnlyUnion,
|
|
829
|
-
),
|
|
830
|
-
);
|
|
831
|
-
}
|
|
832
|
-
|
|
833
|
-
export function sendResponsesRequestOnlyUnionFromJSON(
|
|
834
|
-
jsonString: string,
|
|
835
|
-
): SafeParseResult<SendResponsesRequestOnlyUnion, SDKValidationError> {
|
|
836
|
-
return safeParse(
|
|
837
|
-
jsonString,
|
|
838
|
-
(x) => SendResponsesRequestOnlyUnion$inboundSchema.parse(JSON.parse(x)),
|
|
839
|
-
`Failed to parse 'SendResponsesRequestOnlyUnion' from JSON`,
|
|
840
|
-
);
|
|
841
|
-
}
|
|
842
|
-
|
|
843
|
-
/** @internal */
|
|
844
|
-
export const SendResponsesRequestIgnoreEnum$inboundSchema: z.ZodType<
|
|
845
|
-
SendResponsesRequestIgnoreEnum,
|
|
846
|
-
z.ZodTypeDef,
|
|
847
|
-
unknown
|
|
848
|
-
> = z
|
|
849
|
-
.union([
|
|
850
|
-
z.nativeEnum(SendResponsesRequestIgnoreEnum),
|
|
851
|
-
z.string().transform(catchUnrecognizedEnum),
|
|
852
|
-
]);
|
|
853
|
-
|
|
854
|
-
/** @internal */
|
|
855
|
-
export const SendResponsesRequestIgnoreEnum$outboundSchema: z.ZodType<
|
|
856
|
-
SendResponsesRequestIgnoreEnum,
|
|
857
|
-
z.ZodTypeDef,
|
|
858
|
-
SendResponsesRequestIgnoreEnum
|
|
859
|
-
> = z.union([
|
|
860
|
-
z.nativeEnum(SendResponsesRequestIgnoreEnum),
|
|
861
|
-
z.string().and(z.custom<Unrecognized<string>>()),
|
|
862
|
-
]);
|
|
863
|
-
|
|
864
|
-
/**
|
|
865
|
-
* @internal
|
|
866
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
867
|
-
*/
|
|
868
|
-
export namespace SendResponsesRequestIgnoreEnum$ {
|
|
869
|
-
/** @deprecated use `SendResponsesRequestIgnoreEnum$inboundSchema` instead. */
|
|
870
|
-
export const inboundSchema = SendResponsesRequestIgnoreEnum$inboundSchema;
|
|
871
|
-
/** @deprecated use `SendResponsesRequestIgnoreEnum$outboundSchema` instead. */
|
|
872
|
-
export const outboundSchema = SendResponsesRequestIgnoreEnum$outboundSchema;
|
|
873
|
-
}
|
|
874
|
-
|
|
875
|
-
/** @internal */
|
|
876
|
-
export const SendResponsesRequestIgnoreUnion$inboundSchema: z.ZodType<
|
|
877
|
-
SendResponsesRequestIgnoreUnion,
|
|
878
|
-
z.ZodTypeDef,
|
|
879
|
-
unknown
|
|
880
|
-
> = z.union([SendResponsesRequestIgnoreEnum$inboundSchema, z.string()]);
|
|
881
|
-
|
|
882
|
-
/** @internal */
|
|
883
|
-
export type SendResponsesRequestIgnoreUnion$Outbound = string | string;
|
|
884
|
-
|
|
885
|
-
/** @internal */
|
|
886
|
-
export const SendResponsesRequestIgnoreUnion$outboundSchema: z.ZodType<
|
|
887
|
-
SendResponsesRequestIgnoreUnion$Outbound,
|
|
888
|
-
z.ZodTypeDef,
|
|
889
|
-
SendResponsesRequestIgnoreUnion
|
|
890
|
-
> = z.union([SendResponsesRequestIgnoreEnum$outboundSchema, z.string()]);
|
|
891
|
-
|
|
892
|
-
/**
|
|
893
|
-
* @internal
|
|
894
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
895
|
-
*/
|
|
896
|
-
export namespace SendResponsesRequestIgnoreUnion$ {
|
|
897
|
-
/** @deprecated use `SendResponsesRequestIgnoreUnion$inboundSchema` instead. */
|
|
898
|
-
export const inboundSchema = SendResponsesRequestIgnoreUnion$inboundSchema;
|
|
899
|
-
/** @deprecated use `SendResponsesRequestIgnoreUnion$outboundSchema` instead. */
|
|
900
|
-
export const outboundSchema = SendResponsesRequestIgnoreUnion$outboundSchema;
|
|
901
|
-
/** @deprecated use `SendResponsesRequestIgnoreUnion$Outbound` instead. */
|
|
902
|
-
export type Outbound = SendResponsesRequestIgnoreUnion$Outbound;
|
|
903
|
-
}
|
|
904
|
-
|
|
905
|
-
export function sendResponsesRequestIgnoreUnionToJSON(
|
|
906
|
-
sendResponsesRequestIgnoreUnion: SendResponsesRequestIgnoreUnion,
|
|
907
|
-
): string {
|
|
908
|
-
return JSON.stringify(
|
|
909
|
-
SendResponsesRequestIgnoreUnion$outboundSchema.parse(
|
|
910
|
-
sendResponsesRequestIgnoreUnion,
|
|
911
|
-
),
|
|
912
|
-
);
|
|
913
|
-
}
|
|
914
|
-
|
|
915
|
-
export function sendResponsesRequestIgnoreUnionFromJSON(
|
|
916
|
-
jsonString: string,
|
|
917
|
-
): SafeParseResult<SendResponsesRequestIgnoreUnion, SDKValidationError> {
|
|
918
|
-
return safeParse(
|
|
919
|
-
jsonString,
|
|
920
|
-
(x) => SendResponsesRequestIgnoreUnion$inboundSchema.parse(JSON.parse(x)),
|
|
921
|
-
`Failed to parse 'SendResponsesRequestIgnoreUnion' from JSON`,
|
|
922
|
-
);
|
|
923
|
-
}
|
|
924
|
-
|
|
925
|
-
/** @internal */
|
|
926
|
-
export const SendResponsesRequestQuantization$inboundSchema: z.ZodType<
|
|
927
|
-
SendResponsesRequestQuantization,
|
|
928
|
-
z.ZodTypeDef,
|
|
929
|
-
unknown
|
|
930
|
-
> = z
|
|
931
|
-
.union([
|
|
932
|
-
z.nativeEnum(SendResponsesRequestQuantization),
|
|
933
|
-
z.string().transform(catchUnrecognizedEnum),
|
|
934
|
-
]);
|
|
935
|
-
|
|
936
|
-
/** @internal */
|
|
937
|
-
export const SendResponsesRequestQuantization$outboundSchema: z.ZodType<
|
|
938
|
-
SendResponsesRequestQuantization,
|
|
939
|
-
z.ZodTypeDef,
|
|
940
|
-
SendResponsesRequestQuantization
|
|
941
|
-
> = z.union([
|
|
942
|
-
z.nativeEnum(SendResponsesRequestQuantization),
|
|
943
|
-
z.string().and(z.custom<Unrecognized<string>>()),
|
|
944
|
-
]);
|
|
945
|
-
|
|
946
|
-
/**
|
|
947
|
-
* @internal
|
|
948
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
949
|
-
*/
|
|
950
|
-
export namespace SendResponsesRequestQuantization$ {
|
|
951
|
-
/** @deprecated use `SendResponsesRequestQuantization$inboundSchema` instead. */
|
|
952
|
-
export const inboundSchema = SendResponsesRequestQuantization$inboundSchema;
|
|
953
|
-
/** @deprecated use `SendResponsesRequestQuantization$outboundSchema` instead. */
|
|
954
|
-
export const outboundSchema = SendResponsesRequestQuantization$outboundSchema;
|
|
955
|
-
}
|
|
956
|
-
|
|
957
|
-
/** @internal */
|
|
958
|
-
export const SendResponsesRequestSort$inboundSchema: z.ZodType<
|
|
959
|
-
SendResponsesRequestSort,
|
|
960
|
-
z.ZodTypeDef,
|
|
961
|
-
unknown
|
|
962
|
-
> = z
|
|
963
|
-
.union([
|
|
964
|
-
z.nativeEnum(SendResponsesRequestSort),
|
|
965
|
-
z.string().transform(catchUnrecognizedEnum),
|
|
966
|
-
]);
|
|
967
|
-
|
|
968
|
-
/** @internal */
|
|
969
|
-
export const SendResponsesRequestSort$outboundSchema: z.ZodType<
|
|
970
|
-
SendResponsesRequestSort,
|
|
971
|
-
z.ZodTypeDef,
|
|
972
|
-
SendResponsesRequestSort
|
|
973
|
-
> = z.union([
|
|
974
|
-
z.nativeEnum(SendResponsesRequestSort),
|
|
975
|
-
z.string().and(z.custom<Unrecognized<string>>()),
|
|
976
|
-
]);
|
|
977
|
-
|
|
978
|
-
/**
|
|
979
|
-
* @internal
|
|
980
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
981
|
-
*/
|
|
982
|
-
export namespace SendResponsesRequestSort$ {
|
|
983
|
-
/** @deprecated use `SendResponsesRequestSort$inboundSchema` instead. */
|
|
984
|
-
export const inboundSchema = SendResponsesRequestSort$inboundSchema;
|
|
985
|
-
/** @deprecated use `SendResponsesRequestSort$outboundSchema` instead. */
|
|
986
|
-
export const outboundSchema = SendResponsesRequestSort$outboundSchema;
|
|
987
|
-
}
|
|
988
|
-
|
|
989
|
-
/** @internal */
|
|
990
|
-
export const SendResponsesRequestPrompt$inboundSchema: z.ZodType<
|
|
991
|
-
SendResponsesRequestPrompt,
|
|
992
|
-
z.ZodTypeDef,
|
|
993
|
-
unknown
|
|
994
|
-
> = z.union([z.number(), z.string(), z.any()]);
|
|
995
|
-
|
|
996
|
-
/** @internal */
|
|
997
|
-
export type SendResponsesRequestPrompt$Outbound = number | string | any;
|
|
998
|
-
|
|
999
|
-
/** @internal */
|
|
1000
|
-
export const SendResponsesRequestPrompt$outboundSchema: z.ZodType<
|
|
1001
|
-
SendResponsesRequestPrompt$Outbound,
|
|
1002
|
-
z.ZodTypeDef,
|
|
1003
|
-
SendResponsesRequestPrompt
|
|
1004
|
-
> = z.union([z.number(), z.string(), z.any()]);
|
|
1005
|
-
|
|
1006
|
-
/**
|
|
1007
|
-
* @internal
|
|
1008
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1009
|
-
*/
|
|
1010
|
-
export namespace SendResponsesRequestPrompt$ {
|
|
1011
|
-
/** @deprecated use `SendResponsesRequestPrompt$inboundSchema` instead. */
|
|
1012
|
-
export const inboundSchema = SendResponsesRequestPrompt$inboundSchema;
|
|
1013
|
-
/** @deprecated use `SendResponsesRequestPrompt$outboundSchema` instead. */
|
|
1014
|
-
export const outboundSchema = SendResponsesRequestPrompt$outboundSchema;
|
|
1015
|
-
/** @deprecated use `SendResponsesRequestPrompt$Outbound` instead. */
|
|
1016
|
-
export type Outbound = SendResponsesRequestPrompt$Outbound;
|
|
1017
|
-
}
|
|
1018
|
-
|
|
1019
|
-
export function sendResponsesRequestPromptToJSON(
|
|
1020
|
-
sendResponsesRequestPrompt: SendResponsesRequestPrompt,
|
|
1021
|
-
): string {
|
|
1022
|
-
return JSON.stringify(
|
|
1023
|
-
SendResponsesRequestPrompt$outboundSchema.parse(sendResponsesRequestPrompt),
|
|
1024
|
-
);
|
|
1025
|
-
}
|
|
1026
|
-
|
|
1027
|
-
export function sendResponsesRequestPromptFromJSON(
|
|
1028
|
-
jsonString: string,
|
|
1029
|
-
): SafeParseResult<SendResponsesRequestPrompt, SDKValidationError> {
|
|
1030
|
-
return safeParse(
|
|
1031
|
-
jsonString,
|
|
1032
|
-
(x) => SendResponsesRequestPrompt$inboundSchema.parse(JSON.parse(x)),
|
|
1033
|
-
`Failed to parse 'SendResponsesRequestPrompt' from JSON`,
|
|
1034
|
-
);
|
|
1035
|
-
}
|
|
1036
|
-
|
|
1037
|
-
/** @internal */
|
|
1038
|
-
export const SendResponsesRequestCompletion$inboundSchema: z.ZodType<
|
|
1039
|
-
SendResponsesRequestCompletion,
|
|
1040
|
-
z.ZodTypeDef,
|
|
1041
|
-
unknown
|
|
1042
|
-
> = z.union([z.number(), z.string(), z.any()]);
|
|
1043
|
-
|
|
1044
|
-
/** @internal */
|
|
1045
|
-
export type SendResponsesRequestCompletion$Outbound = number | string | any;
|
|
1046
|
-
|
|
1047
|
-
/** @internal */
|
|
1048
|
-
export const SendResponsesRequestCompletion$outboundSchema: z.ZodType<
|
|
1049
|
-
SendResponsesRequestCompletion$Outbound,
|
|
1050
|
-
z.ZodTypeDef,
|
|
1051
|
-
SendResponsesRequestCompletion
|
|
1052
|
-
> = z.union([z.number(), z.string(), z.any()]);
|
|
1053
|
-
|
|
1054
|
-
/**
|
|
1055
|
-
* @internal
|
|
1056
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1057
|
-
*/
|
|
1058
|
-
export namespace SendResponsesRequestCompletion$ {
|
|
1059
|
-
/** @deprecated use `SendResponsesRequestCompletion$inboundSchema` instead. */
|
|
1060
|
-
export const inboundSchema = SendResponsesRequestCompletion$inboundSchema;
|
|
1061
|
-
/** @deprecated use `SendResponsesRequestCompletion$outboundSchema` instead. */
|
|
1062
|
-
export const outboundSchema = SendResponsesRequestCompletion$outboundSchema;
|
|
1063
|
-
/** @deprecated use `SendResponsesRequestCompletion$Outbound` instead. */
|
|
1064
|
-
export type Outbound = SendResponsesRequestCompletion$Outbound;
|
|
1065
|
-
}
|
|
1066
|
-
|
|
1067
|
-
export function sendResponsesRequestCompletionToJSON(
|
|
1068
|
-
sendResponsesRequestCompletion: SendResponsesRequestCompletion,
|
|
1069
|
-
): string {
|
|
1070
|
-
return JSON.stringify(
|
|
1071
|
-
SendResponsesRequestCompletion$outboundSchema.parse(
|
|
1072
|
-
sendResponsesRequestCompletion,
|
|
1073
|
-
),
|
|
1074
|
-
);
|
|
1075
|
-
}
|
|
1076
|
-
|
|
1077
|
-
export function sendResponsesRequestCompletionFromJSON(
|
|
1078
|
-
jsonString: string,
|
|
1079
|
-
): SafeParseResult<SendResponsesRequestCompletion, SDKValidationError> {
|
|
1080
|
-
return safeParse(
|
|
1081
|
-
jsonString,
|
|
1082
|
-
(x) => SendResponsesRequestCompletion$inboundSchema.parse(JSON.parse(x)),
|
|
1083
|
-
`Failed to parse 'SendResponsesRequestCompletion' from JSON`,
|
|
1084
|
-
);
|
|
1085
|
-
}
|
|
1086
|
-
|
|
1087
|
-
/** @internal */
|
|
1088
|
-
export const SendResponsesRequestImage$inboundSchema: z.ZodType<
|
|
1089
|
-
SendResponsesRequestImage,
|
|
1090
|
-
z.ZodTypeDef,
|
|
1091
|
-
unknown
|
|
1092
|
-
> = z.union([z.number(), z.string(), z.any()]);
|
|
1093
|
-
|
|
1094
|
-
/** @internal */
|
|
1095
|
-
export type SendResponsesRequestImage$Outbound = number | string | any;
|
|
1096
|
-
|
|
1097
|
-
/** @internal */
|
|
1098
|
-
export const SendResponsesRequestImage$outboundSchema: z.ZodType<
|
|
1099
|
-
SendResponsesRequestImage$Outbound,
|
|
1100
|
-
z.ZodTypeDef,
|
|
1101
|
-
SendResponsesRequestImage
|
|
1102
|
-
> = z.union([z.number(), z.string(), z.any()]);
|
|
1103
|
-
|
|
1104
|
-
/**
|
|
1105
|
-
* @internal
|
|
1106
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1107
|
-
*/
|
|
1108
|
-
export namespace SendResponsesRequestImage$ {
|
|
1109
|
-
/** @deprecated use `SendResponsesRequestImage$inboundSchema` instead. */
|
|
1110
|
-
export const inboundSchema = SendResponsesRequestImage$inboundSchema;
|
|
1111
|
-
/** @deprecated use `SendResponsesRequestImage$outboundSchema` instead. */
|
|
1112
|
-
export const outboundSchema = SendResponsesRequestImage$outboundSchema;
|
|
1113
|
-
/** @deprecated use `SendResponsesRequestImage$Outbound` instead. */
|
|
1114
|
-
export type Outbound = SendResponsesRequestImage$Outbound;
|
|
1115
|
-
}
|
|
1116
|
-
|
|
1117
|
-
export function sendResponsesRequestImageToJSON(
|
|
1118
|
-
sendResponsesRequestImage: SendResponsesRequestImage,
|
|
1119
|
-
): string {
|
|
1120
|
-
return JSON.stringify(
|
|
1121
|
-
SendResponsesRequestImage$outboundSchema.parse(sendResponsesRequestImage),
|
|
1122
|
-
);
|
|
1123
|
-
}
|
|
1124
|
-
|
|
1125
|
-
export function sendResponsesRequestImageFromJSON(
|
|
1126
|
-
jsonString: string,
|
|
1127
|
-
): SafeParseResult<SendResponsesRequestImage, SDKValidationError> {
|
|
1128
|
-
return safeParse(
|
|
1129
|
-
jsonString,
|
|
1130
|
-
(x) => SendResponsesRequestImage$inboundSchema.parse(JSON.parse(x)),
|
|
1131
|
-
`Failed to parse 'SendResponsesRequestImage' from JSON`,
|
|
1132
|
-
);
|
|
1133
|
-
}
|
|
1134
|
-
|
|
1135
|
-
/** @internal */
|
|
1136
|
-
export const SendResponsesRequestAudio$inboundSchema: z.ZodType<
|
|
1137
|
-
SendResponsesRequestAudio,
|
|
1138
|
-
z.ZodTypeDef,
|
|
1139
|
-
unknown
|
|
1140
|
-
> = z.union([z.number(), z.string(), z.any()]);
|
|
1141
|
-
|
|
1142
|
-
/** @internal */
|
|
1143
|
-
export type SendResponsesRequestAudio$Outbound = number | string | any;
|
|
1144
|
-
|
|
1145
|
-
/** @internal */
|
|
1146
|
-
export const SendResponsesRequestAudio$outboundSchema: z.ZodType<
|
|
1147
|
-
SendResponsesRequestAudio$Outbound,
|
|
1148
|
-
z.ZodTypeDef,
|
|
1149
|
-
SendResponsesRequestAudio
|
|
1150
|
-
> = z.union([z.number(), z.string(), z.any()]);
|
|
1151
|
-
|
|
1152
|
-
/**
|
|
1153
|
-
* @internal
|
|
1154
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1155
|
-
*/
|
|
1156
|
-
export namespace SendResponsesRequestAudio$ {
|
|
1157
|
-
/** @deprecated use `SendResponsesRequestAudio$inboundSchema` instead. */
|
|
1158
|
-
export const inboundSchema = SendResponsesRequestAudio$inboundSchema;
|
|
1159
|
-
/** @deprecated use `SendResponsesRequestAudio$outboundSchema` instead. */
|
|
1160
|
-
export const outboundSchema = SendResponsesRequestAudio$outboundSchema;
|
|
1161
|
-
/** @deprecated use `SendResponsesRequestAudio$Outbound` instead. */
|
|
1162
|
-
export type Outbound = SendResponsesRequestAudio$Outbound;
|
|
1163
|
-
}
|
|
1164
|
-
|
|
1165
|
-
export function sendResponsesRequestAudioToJSON(
|
|
1166
|
-
sendResponsesRequestAudio: SendResponsesRequestAudio,
|
|
1167
|
-
): string {
|
|
1168
|
-
return JSON.stringify(
|
|
1169
|
-
SendResponsesRequestAudio$outboundSchema.parse(sendResponsesRequestAudio),
|
|
1170
|
-
);
|
|
1171
|
-
}
|
|
1172
|
-
|
|
1173
|
-
export function sendResponsesRequestAudioFromJSON(
|
|
1174
|
-
jsonString: string,
|
|
1175
|
-
): SafeParseResult<SendResponsesRequestAudio, SDKValidationError> {
|
|
1176
|
-
return safeParse(
|
|
1177
|
-
jsonString,
|
|
1178
|
-
(x) => SendResponsesRequestAudio$inboundSchema.parse(JSON.parse(x)),
|
|
1179
|
-
`Failed to parse 'SendResponsesRequestAudio' from JSON`,
|
|
1180
|
-
);
|
|
1181
|
-
}
|
|
1182
|
-
|
|
1183
|
-
/** @internal */
|
|
1184
|
-
export const SendResponsesRequestRequestUnion$inboundSchema: z.ZodType<
|
|
1185
|
-
SendResponsesRequestRequestUnion,
|
|
1186
|
-
z.ZodTypeDef,
|
|
1187
|
-
unknown
|
|
1188
|
-
> = z.union([z.number(), z.string(), z.any()]);
|
|
1189
|
-
|
|
1190
|
-
/** @internal */
|
|
1191
|
-
export type SendResponsesRequestRequestUnion$Outbound = number | string | any;
|
|
1192
|
-
|
|
1193
|
-
/** @internal */
|
|
1194
|
-
export const SendResponsesRequestRequestUnion$outboundSchema: z.ZodType<
|
|
1195
|
-
SendResponsesRequestRequestUnion$Outbound,
|
|
1196
|
-
z.ZodTypeDef,
|
|
1197
|
-
SendResponsesRequestRequestUnion
|
|
1198
|
-
> = z.union([z.number(), z.string(), z.any()]);
|
|
1199
|
-
|
|
1200
|
-
/**
|
|
1201
|
-
* @internal
|
|
1202
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1203
|
-
*/
|
|
1204
|
-
export namespace SendResponsesRequestRequestUnion$ {
|
|
1205
|
-
/** @deprecated use `SendResponsesRequestRequestUnion$inboundSchema` instead. */
|
|
1206
|
-
export const inboundSchema = SendResponsesRequestRequestUnion$inboundSchema;
|
|
1207
|
-
/** @deprecated use `SendResponsesRequestRequestUnion$outboundSchema` instead. */
|
|
1208
|
-
export const outboundSchema = SendResponsesRequestRequestUnion$outboundSchema;
|
|
1209
|
-
/** @deprecated use `SendResponsesRequestRequestUnion$Outbound` instead. */
|
|
1210
|
-
export type Outbound = SendResponsesRequestRequestUnion$Outbound;
|
|
1211
|
-
}
|
|
1212
|
-
|
|
1213
|
-
export function sendResponsesRequestRequestUnionToJSON(
|
|
1214
|
-
sendResponsesRequestRequestUnion: SendResponsesRequestRequestUnion,
|
|
1215
|
-
): string {
|
|
1216
|
-
return JSON.stringify(
|
|
1217
|
-
SendResponsesRequestRequestUnion$outboundSchema.parse(
|
|
1218
|
-
sendResponsesRequestRequestUnion,
|
|
1219
|
-
),
|
|
1220
|
-
);
|
|
1221
|
-
}
|
|
1222
|
-
|
|
1223
|
-
export function sendResponsesRequestRequestUnionFromJSON(
|
|
1224
|
-
jsonString: string,
|
|
1225
|
-
): SafeParseResult<SendResponsesRequestRequestUnion, SDKValidationError> {
|
|
1226
|
-
return safeParse(
|
|
1227
|
-
jsonString,
|
|
1228
|
-
(x) => SendResponsesRequestRequestUnion$inboundSchema.parse(JSON.parse(x)),
|
|
1229
|
-
`Failed to parse 'SendResponsesRequestRequestUnion' from JSON`,
|
|
1230
|
-
);
|
|
1231
|
-
}
|
|
1232
|
-
|
|
1233
|
-
/** @internal */
|
|
1234
|
-
export const SendResponsesRequestMaxPrice$inboundSchema: z.ZodType<
|
|
1235
|
-
SendResponsesRequestMaxPrice,
|
|
1236
|
-
z.ZodTypeDef,
|
|
1237
|
-
unknown
|
|
1238
|
-
> = z.object({
|
|
1239
|
-
prompt: z.union([z.number(), z.string(), z.any()]).optional(),
|
|
1240
|
-
completion: z.union([z.number(), z.string(), z.any()]).optional(),
|
|
1241
|
-
image: z.union([z.number(), z.string(), z.any()]).optional(),
|
|
1242
|
-
audio: z.union([z.number(), z.string(), z.any()]).optional(),
|
|
1243
|
-
request: z.union([z.number(), z.string(), z.any()]).optional(),
|
|
1244
|
-
});
|
|
1245
|
-
|
|
1246
|
-
/** @internal */
|
|
1247
|
-
export type SendResponsesRequestMaxPrice$Outbound = {
|
|
1248
|
-
prompt?: number | string | any | undefined;
|
|
1249
|
-
completion?: number | string | any | undefined;
|
|
1250
|
-
image?: number | string | any | undefined;
|
|
1251
|
-
audio?: number | string | any | undefined;
|
|
1252
|
-
request?: number | string | any | undefined;
|
|
1253
|
-
};
|
|
1254
|
-
|
|
1255
|
-
/** @internal */
|
|
1256
|
-
export const SendResponsesRequestMaxPrice$outboundSchema: z.ZodType<
|
|
1257
|
-
SendResponsesRequestMaxPrice$Outbound,
|
|
1258
|
-
z.ZodTypeDef,
|
|
1259
|
-
SendResponsesRequestMaxPrice
|
|
1260
|
-
> = z.object({
|
|
1261
|
-
prompt: z.union([z.number(), z.string(), z.any()]).optional(),
|
|
1262
|
-
completion: z.union([z.number(), z.string(), z.any()]).optional(),
|
|
1263
|
-
image: z.union([z.number(), z.string(), z.any()]).optional(),
|
|
1264
|
-
audio: z.union([z.number(), z.string(), z.any()]).optional(),
|
|
1265
|
-
request: z.union([z.number(), z.string(), z.any()]).optional(),
|
|
1266
|
-
});
|
|
1267
|
-
|
|
1268
|
-
/**
|
|
1269
|
-
* @internal
|
|
1270
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1271
|
-
*/
|
|
1272
|
-
export namespace SendResponsesRequestMaxPrice$ {
|
|
1273
|
-
/** @deprecated use `SendResponsesRequestMaxPrice$inboundSchema` instead. */
|
|
1274
|
-
export const inboundSchema = SendResponsesRequestMaxPrice$inboundSchema;
|
|
1275
|
-
/** @deprecated use `SendResponsesRequestMaxPrice$outboundSchema` instead. */
|
|
1276
|
-
export const outboundSchema = SendResponsesRequestMaxPrice$outboundSchema;
|
|
1277
|
-
/** @deprecated use `SendResponsesRequestMaxPrice$Outbound` instead. */
|
|
1278
|
-
export type Outbound = SendResponsesRequestMaxPrice$Outbound;
|
|
1279
|
-
}
|
|
1280
|
-
|
|
1281
|
-
export function sendResponsesRequestMaxPriceToJSON(
|
|
1282
|
-
sendResponsesRequestMaxPrice: SendResponsesRequestMaxPrice,
|
|
1283
|
-
): string {
|
|
1284
|
-
return JSON.stringify(
|
|
1285
|
-
SendResponsesRequestMaxPrice$outboundSchema.parse(
|
|
1286
|
-
sendResponsesRequestMaxPrice,
|
|
1287
|
-
),
|
|
1288
|
-
);
|
|
1289
|
-
}
|
|
1290
|
-
|
|
1291
|
-
export function sendResponsesRequestMaxPriceFromJSON(
|
|
1292
|
-
jsonString: string,
|
|
1293
|
-
): SafeParseResult<SendResponsesRequestMaxPrice, SDKValidationError> {
|
|
1294
|
-
return safeParse(
|
|
1295
|
-
jsonString,
|
|
1296
|
-
(x) => SendResponsesRequestMaxPrice$inboundSchema.parse(JSON.parse(x)),
|
|
1297
|
-
`Failed to parse 'SendResponsesRequestMaxPrice' from JSON`,
|
|
1298
|
-
);
|
|
1299
|
-
}
|
|
1300
|
-
|
|
1301
|
-
/** @internal */
|
|
1302
|
-
export const SendResponsesRequestExperimental$inboundSchema: z.ZodType<
|
|
1303
|
-
SendResponsesRequestExperimental,
|
|
1304
|
-
z.ZodTypeDef,
|
|
1305
|
-
unknown
|
|
1306
|
-
> = z.object({});
|
|
1307
|
-
|
|
1308
|
-
/** @internal */
|
|
1309
|
-
export type SendResponsesRequestExperimental$Outbound = {};
|
|
1310
|
-
|
|
1311
|
-
/** @internal */
|
|
1312
|
-
export const SendResponsesRequestExperimental$outboundSchema: z.ZodType<
|
|
1313
|
-
SendResponsesRequestExperimental$Outbound,
|
|
1314
|
-
z.ZodTypeDef,
|
|
1315
|
-
SendResponsesRequestExperimental
|
|
1316
|
-
> = z.object({});
|
|
1317
|
-
|
|
1318
|
-
/**
|
|
1319
|
-
* @internal
|
|
1320
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1321
|
-
*/
|
|
1322
|
-
export namespace SendResponsesRequestExperimental$ {
|
|
1323
|
-
/** @deprecated use `SendResponsesRequestExperimental$inboundSchema` instead. */
|
|
1324
|
-
export const inboundSchema = SendResponsesRequestExperimental$inboundSchema;
|
|
1325
|
-
/** @deprecated use `SendResponsesRequestExperimental$outboundSchema` instead. */
|
|
1326
|
-
export const outboundSchema = SendResponsesRequestExperimental$outboundSchema;
|
|
1327
|
-
/** @deprecated use `SendResponsesRequestExperimental$Outbound` instead. */
|
|
1328
|
-
export type Outbound = SendResponsesRequestExperimental$Outbound;
|
|
1329
|
-
}
|
|
1330
|
-
|
|
1331
|
-
export function sendResponsesRequestExperimentalToJSON(
|
|
1332
|
-
sendResponsesRequestExperimental: SendResponsesRequestExperimental,
|
|
1333
|
-
): string {
|
|
1334
|
-
return JSON.stringify(
|
|
1335
|
-
SendResponsesRequestExperimental$outboundSchema.parse(
|
|
1336
|
-
sendResponsesRequestExperimental,
|
|
1337
|
-
),
|
|
1338
|
-
);
|
|
1339
|
-
}
|
|
1340
|
-
|
|
1341
|
-
export function sendResponsesRequestExperimentalFromJSON(
|
|
1342
|
-
jsonString: string,
|
|
1343
|
-
): SafeParseResult<SendResponsesRequestExperimental, SDKValidationError> {
|
|
1344
|
-
return safeParse(
|
|
1345
|
-
jsonString,
|
|
1346
|
-
(x) => SendResponsesRequestExperimental$inboundSchema.parse(JSON.parse(x)),
|
|
1347
|
-
`Failed to parse 'SendResponsesRequestExperimental' from JSON`,
|
|
1348
|
-
);
|
|
1349
|
-
}
|
|
1350
|
-
|
|
1351
|
-
/** @internal */
|
|
1352
|
-
export const SendResponsesRequestProvider$inboundSchema: z.ZodType<
|
|
1353
|
-
SendResponsesRequestProvider,
|
|
1354
|
-
z.ZodTypeDef,
|
|
1355
|
-
unknown
|
|
1356
|
-
> = z.object({
|
|
1357
|
-
allow_fallbacks: z.nullable(z.boolean()).optional(),
|
|
1358
|
-
require_parameters: z.nullable(z.boolean()).optional(),
|
|
1359
|
-
data_collection: z.nullable(SendResponsesRequestDataCollection$inboundSchema)
|
|
1360
|
-
.optional(),
|
|
1361
|
-
zdr: z.nullable(z.boolean()).optional(),
|
|
1362
|
-
order: z.nullable(
|
|
1363
|
-
z.array(z.union([SendResponsesRequestOrderEnum$inboundSchema, z.string()])),
|
|
1364
|
-
).optional(),
|
|
1365
|
-
only: z.nullable(
|
|
1366
|
-
z.array(z.union([SendResponsesRequestOnlyEnum$inboundSchema, z.string()])),
|
|
1367
|
-
).optional(),
|
|
1368
|
-
ignore: z.nullable(
|
|
1369
|
-
z.array(
|
|
1370
|
-
z.union([SendResponsesRequestIgnoreEnum$inboundSchema, z.string()]),
|
|
1371
|
-
),
|
|
1372
|
-
).optional(),
|
|
1373
|
-
quantizations: z.nullable(
|
|
1374
|
-
z.array(SendResponsesRequestQuantization$inboundSchema),
|
|
1375
|
-
).optional(),
|
|
1376
|
-
sort: z.nullable(SendResponsesRequestSort$inboundSchema).optional(),
|
|
1377
|
-
max_price: z.lazy(() => SendResponsesRequestMaxPrice$inboundSchema)
|
|
1378
|
-
.optional(),
|
|
1379
|
-
experimental: z.nullable(
|
|
1380
|
-
z.lazy(() => SendResponsesRequestExperimental$inboundSchema),
|
|
1381
|
-
).optional(),
|
|
1382
|
-
}).transform((v) => {
|
|
1383
|
-
return remap$(v, {
|
|
1384
|
-
"allow_fallbacks": "allowFallbacks",
|
|
1385
|
-
"require_parameters": "requireParameters",
|
|
1386
|
-
"data_collection": "dataCollection",
|
|
1387
|
-
"max_price": "maxPrice",
|
|
1388
|
-
});
|
|
1389
|
-
});
|
|
1390
|
-
|
|
1391
|
-
/** @internal */
|
|
1392
|
-
export type SendResponsesRequestProvider$Outbound = {
|
|
1393
|
-
allow_fallbacks?: boolean | null | undefined;
|
|
1394
|
-
require_parameters?: boolean | null | undefined;
|
|
1395
|
-
data_collection?: string | null | undefined;
|
|
1396
|
-
zdr?: boolean | null | undefined;
|
|
1397
|
-
order?: Array<string | string> | null | undefined;
|
|
1398
|
-
only?: Array<string | string> | null | undefined;
|
|
1399
|
-
ignore?: Array<string | string> | null | undefined;
|
|
1400
|
-
quantizations?: Array<string> | null | undefined;
|
|
1401
|
-
sort?: string | null | undefined;
|
|
1402
|
-
max_price?: SendResponsesRequestMaxPrice$Outbound | undefined;
|
|
1403
|
-
experimental?: SendResponsesRequestExperimental$Outbound | null | undefined;
|
|
1404
|
-
};
|
|
1405
|
-
|
|
1406
|
-
/** @internal */
|
|
1407
|
-
export const SendResponsesRequestProvider$outboundSchema: z.ZodType<
|
|
1408
|
-
SendResponsesRequestProvider$Outbound,
|
|
1409
|
-
z.ZodTypeDef,
|
|
1410
|
-
SendResponsesRequestProvider
|
|
1411
|
-
> = z.object({
|
|
1412
|
-
allowFallbacks: z.nullable(z.boolean()).optional(),
|
|
1413
|
-
requireParameters: z.nullable(z.boolean()).optional(),
|
|
1414
|
-
dataCollection: z.nullable(SendResponsesRequestDataCollection$outboundSchema)
|
|
1415
|
-
.optional(),
|
|
1416
|
-
zdr: z.nullable(z.boolean()).optional(),
|
|
1417
|
-
order: z.nullable(
|
|
1418
|
-
z.array(
|
|
1419
|
-
z.union([SendResponsesRequestOrderEnum$outboundSchema, z.string()]),
|
|
1420
|
-
),
|
|
1421
|
-
).optional(),
|
|
1422
|
-
only: z.nullable(
|
|
1423
|
-
z.array(z.union([SendResponsesRequestOnlyEnum$outboundSchema, z.string()])),
|
|
1424
|
-
).optional(),
|
|
1425
|
-
ignore: z.nullable(
|
|
1426
|
-
z.array(
|
|
1427
|
-
z.union([SendResponsesRequestIgnoreEnum$outboundSchema, z.string()]),
|
|
1428
|
-
),
|
|
1429
|
-
).optional(),
|
|
1430
|
-
quantizations: z.nullable(
|
|
1431
|
-
z.array(SendResponsesRequestQuantization$outboundSchema),
|
|
1432
|
-
).optional(),
|
|
1433
|
-
sort: z.nullable(SendResponsesRequestSort$outboundSchema).optional(),
|
|
1434
|
-
maxPrice: z.lazy(() => SendResponsesRequestMaxPrice$outboundSchema)
|
|
1435
|
-
.optional(),
|
|
1436
|
-
experimental: z.nullable(
|
|
1437
|
-
z.lazy(() => SendResponsesRequestExperimental$outboundSchema),
|
|
1438
|
-
).optional(),
|
|
1439
|
-
}).transform((v) => {
|
|
1440
|
-
return remap$(v, {
|
|
1441
|
-
allowFallbacks: "allow_fallbacks",
|
|
1442
|
-
requireParameters: "require_parameters",
|
|
1443
|
-
dataCollection: "data_collection",
|
|
1444
|
-
maxPrice: "max_price",
|
|
1445
|
-
});
|
|
1446
|
-
});
|
|
1447
|
-
|
|
1448
|
-
/**
|
|
1449
|
-
* @internal
|
|
1450
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1451
|
-
*/
|
|
1452
|
-
export namespace SendResponsesRequestProvider$ {
|
|
1453
|
-
/** @deprecated use `SendResponsesRequestProvider$inboundSchema` instead. */
|
|
1454
|
-
export const inboundSchema = SendResponsesRequestProvider$inboundSchema;
|
|
1455
|
-
/** @deprecated use `SendResponsesRequestProvider$outboundSchema` instead. */
|
|
1456
|
-
export const outboundSchema = SendResponsesRequestProvider$outboundSchema;
|
|
1457
|
-
/** @deprecated use `SendResponsesRequestProvider$Outbound` instead. */
|
|
1458
|
-
export type Outbound = SendResponsesRequestProvider$Outbound;
|
|
1459
|
-
}
|
|
1460
|
-
|
|
1461
|
-
export function sendResponsesRequestProviderToJSON(
|
|
1462
|
-
sendResponsesRequestProvider: SendResponsesRequestProvider,
|
|
1463
|
-
): string {
|
|
1464
|
-
return JSON.stringify(
|
|
1465
|
-
SendResponsesRequestProvider$outboundSchema.parse(
|
|
1466
|
-
sendResponsesRequestProvider,
|
|
1467
|
-
),
|
|
1468
|
-
);
|
|
1469
|
-
}
|
|
1470
|
-
|
|
1471
|
-
export function sendResponsesRequestProviderFromJSON(
|
|
1472
|
-
jsonString: string,
|
|
1473
|
-
): SafeParseResult<SendResponsesRequestProvider, SDKValidationError> {
|
|
1474
|
-
return safeParse(
|
|
1475
|
-
jsonString,
|
|
1476
|
-
(x) => SendResponsesRequestProvider$inboundSchema.parse(JSON.parse(x)),
|
|
1477
|
-
`Failed to parse 'SendResponsesRequestProvider' from JSON`,
|
|
1478
|
-
);
|
|
1479
|
-
}
|
|
1480
|
-
|
|
1481
|
-
/** @internal */
|
|
1482
|
-
export const IdFileParser$inboundSchema: z.ZodNativeEnum<typeof IdFileParser> =
|
|
1483
|
-
z.nativeEnum(IdFileParser);
|
|
1484
|
-
|
|
1485
|
-
/** @internal */
|
|
1486
|
-
export const IdFileParser$outboundSchema: z.ZodNativeEnum<typeof IdFileParser> =
|
|
1487
|
-
IdFileParser$inboundSchema;
|
|
1488
|
-
|
|
1489
|
-
/**
|
|
1490
|
-
* @internal
|
|
1491
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1492
|
-
*/
|
|
1493
|
-
export namespace IdFileParser$ {
|
|
1494
|
-
/** @deprecated use `IdFileParser$inboundSchema` instead. */
|
|
1495
|
-
export const inboundSchema = IdFileParser$inboundSchema;
|
|
1496
|
-
/** @deprecated use `IdFileParser$outboundSchema` instead. */
|
|
1497
|
-
export const outboundSchema = IdFileParser$outboundSchema;
|
|
1498
|
-
}
|
|
1499
|
-
|
|
1500
|
-
/** @internal */
|
|
1501
|
-
export const PdfEngine$inboundSchema: z.ZodType<
|
|
1502
|
-
PdfEngine,
|
|
1503
|
-
z.ZodTypeDef,
|
|
1504
|
-
unknown
|
|
1505
|
-
> = z
|
|
1506
|
-
.union([
|
|
1507
|
-
z.nativeEnum(PdfEngine),
|
|
1508
|
-
z.string().transform(catchUnrecognizedEnum),
|
|
1509
|
-
]);
|
|
1510
|
-
|
|
1511
|
-
/** @internal */
|
|
1512
|
-
export const PdfEngine$outboundSchema: z.ZodType<
|
|
1513
|
-
PdfEngine,
|
|
1514
|
-
z.ZodTypeDef,
|
|
1515
|
-
PdfEngine
|
|
1516
|
-
> = z.union([
|
|
1517
|
-
z.nativeEnum(PdfEngine),
|
|
1518
|
-
z.string().and(z.custom<Unrecognized<string>>()),
|
|
1519
|
-
]);
|
|
1520
|
-
|
|
1521
|
-
/**
|
|
1522
|
-
* @internal
|
|
1523
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1524
|
-
*/
|
|
1525
|
-
export namespace PdfEngine$ {
|
|
1526
|
-
/** @deprecated use `PdfEngine$inboundSchema` instead. */
|
|
1527
|
-
export const inboundSchema = PdfEngine$inboundSchema;
|
|
1528
|
-
/** @deprecated use `PdfEngine$outboundSchema` instead. */
|
|
1529
|
-
export const outboundSchema = PdfEngine$outboundSchema;
|
|
1530
|
-
}
|
|
1531
|
-
|
|
1532
|
-
/** @internal */
|
|
1533
|
-
export const Pdf$inboundSchema: z.ZodType<Pdf, z.ZodTypeDef, unknown> = z
|
|
1534
|
-
.object({
|
|
1535
|
-
engine: PdfEngine$inboundSchema.optional(),
|
|
1536
|
-
});
|
|
1537
|
-
|
|
1538
|
-
/** @internal */
|
|
1539
|
-
export type Pdf$Outbound = {
|
|
1540
|
-
engine?: string | undefined;
|
|
1541
|
-
};
|
|
1542
|
-
|
|
1543
|
-
/** @internal */
|
|
1544
|
-
export const Pdf$outboundSchema: z.ZodType<Pdf$Outbound, z.ZodTypeDef, Pdf> = z
|
|
1545
|
-
.object({
|
|
1546
|
-
engine: PdfEngine$outboundSchema.optional(),
|
|
1547
|
-
});
|
|
1548
|
-
|
|
1549
|
-
/**
|
|
1550
|
-
* @internal
|
|
1551
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1552
|
-
*/
|
|
1553
|
-
export namespace Pdf$ {
|
|
1554
|
-
/** @deprecated use `Pdf$inboundSchema` instead. */
|
|
1555
|
-
export const inboundSchema = Pdf$inboundSchema;
|
|
1556
|
-
/** @deprecated use `Pdf$outboundSchema` instead. */
|
|
1557
|
-
export const outboundSchema = Pdf$outboundSchema;
|
|
1558
|
-
/** @deprecated use `Pdf$Outbound` instead. */
|
|
1559
|
-
export type Outbound = Pdf$Outbound;
|
|
1560
|
-
}
|
|
1561
|
-
|
|
1562
|
-
export function pdfToJSON(pdf: Pdf): string {
|
|
1563
|
-
return JSON.stringify(Pdf$outboundSchema.parse(pdf));
|
|
1564
|
-
}
|
|
1565
|
-
|
|
1566
|
-
export function pdfFromJSON(
|
|
1567
|
-
jsonString: string,
|
|
1568
|
-
): SafeParseResult<Pdf, SDKValidationError> {
|
|
1569
|
-
return safeParse(
|
|
1570
|
-
jsonString,
|
|
1571
|
-
(x) => Pdf$inboundSchema.parse(JSON.parse(x)),
|
|
1572
|
-
`Failed to parse 'Pdf' from JSON`,
|
|
1573
|
-
);
|
|
1574
|
-
}
|
|
1575
|
-
|
|
1576
|
-
/** @internal */
|
|
1577
|
-
export const PluginFileParser$inboundSchema: z.ZodType<
|
|
1578
|
-
PluginFileParser,
|
|
1579
|
-
z.ZodTypeDef,
|
|
1580
|
-
unknown
|
|
1581
|
-
> = z.object({
|
|
1582
|
-
id: IdFileParser$inboundSchema,
|
|
1583
|
-
max_files: z.number().optional(),
|
|
1584
|
-
pdf: z.lazy(() => Pdf$inboundSchema).optional(),
|
|
1585
|
-
}).transform((v) => {
|
|
1586
|
-
return remap$(v, {
|
|
1587
|
-
"max_files": "maxFiles",
|
|
1588
|
-
});
|
|
1589
|
-
});
|
|
1590
|
-
|
|
1591
|
-
/** @internal */
|
|
1592
|
-
export type PluginFileParser$Outbound = {
|
|
1593
|
-
id: string;
|
|
1594
|
-
max_files?: number | undefined;
|
|
1595
|
-
pdf?: Pdf$Outbound | undefined;
|
|
1596
|
-
};
|
|
1597
|
-
|
|
1598
|
-
/** @internal */
|
|
1599
|
-
export const PluginFileParser$outboundSchema: z.ZodType<
|
|
1600
|
-
PluginFileParser$Outbound,
|
|
1601
|
-
z.ZodTypeDef,
|
|
1602
|
-
PluginFileParser
|
|
1603
|
-
> = z.object({
|
|
1604
|
-
id: IdFileParser$outboundSchema,
|
|
1605
|
-
maxFiles: z.number().optional(),
|
|
1606
|
-
pdf: z.lazy(() => Pdf$outboundSchema).optional(),
|
|
1607
|
-
}).transform((v) => {
|
|
1608
|
-
return remap$(v, {
|
|
1609
|
-
maxFiles: "max_files",
|
|
1610
|
-
});
|
|
1611
|
-
});
|
|
1612
|
-
|
|
1613
|
-
/**
|
|
1614
|
-
* @internal
|
|
1615
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1616
|
-
*/
|
|
1617
|
-
export namespace PluginFileParser$ {
|
|
1618
|
-
/** @deprecated use `PluginFileParser$inboundSchema` instead. */
|
|
1619
|
-
export const inboundSchema = PluginFileParser$inboundSchema;
|
|
1620
|
-
/** @deprecated use `PluginFileParser$outboundSchema` instead. */
|
|
1621
|
-
export const outboundSchema = PluginFileParser$outboundSchema;
|
|
1622
|
-
/** @deprecated use `PluginFileParser$Outbound` instead. */
|
|
1623
|
-
export type Outbound = PluginFileParser$Outbound;
|
|
1624
|
-
}
|
|
1625
|
-
|
|
1626
|
-
export function pluginFileParserToJSON(
|
|
1627
|
-
pluginFileParser: PluginFileParser,
|
|
1628
|
-
): string {
|
|
1629
|
-
return JSON.stringify(
|
|
1630
|
-
PluginFileParser$outboundSchema.parse(pluginFileParser),
|
|
1631
|
-
);
|
|
1632
|
-
}
|
|
1633
|
-
|
|
1634
|
-
export function pluginFileParserFromJSON(
|
|
1635
|
-
jsonString: string,
|
|
1636
|
-
): SafeParseResult<PluginFileParser, SDKValidationError> {
|
|
1637
|
-
return safeParse(
|
|
1638
|
-
jsonString,
|
|
1639
|
-
(x) => PluginFileParser$inboundSchema.parse(JSON.parse(x)),
|
|
1640
|
-
`Failed to parse 'PluginFileParser' from JSON`,
|
|
1641
|
-
);
|
|
1642
|
-
}
|
|
1643
|
-
|
|
1644
|
-
/** @internal */
|
|
1645
|
-
export const IdChainOfThought$inboundSchema: z.ZodNativeEnum<
|
|
1646
|
-
typeof IdChainOfThought
|
|
1647
|
-
> = z.nativeEnum(IdChainOfThought);
|
|
1648
|
-
|
|
1649
|
-
/** @internal */
|
|
1650
|
-
export const IdChainOfThought$outboundSchema: z.ZodNativeEnum<
|
|
1651
|
-
typeof IdChainOfThought
|
|
1652
|
-
> = IdChainOfThought$inboundSchema;
|
|
1653
|
-
|
|
1654
|
-
/**
|
|
1655
|
-
* @internal
|
|
1656
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1657
|
-
*/
|
|
1658
|
-
export namespace IdChainOfThought$ {
|
|
1659
|
-
/** @deprecated use `IdChainOfThought$inboundSchema` instead. */
|
|
1660
|
-
export const inboundSchema = IdChainOfThought$inboundSchema;
|
|
1661
|
-
/** @deprecated use `IdChainOfThought$outboundSchema` instead. */
|
|
1662
|
-
export const outboundSchema = IdChainOfThought$outboundSchema;
|
|
1663
|
-
}
|
|
1664
|
-
|
|
1665
|
-
/** @internal */
|
|
1666
|
-
export const PluginChainOfThought$inboundSchema: z.ZodType<
|
|
1667
|
-
PluginChainOfThought,
|
|
1668
|
-
z.ZodTypeDef,
|
|
1669
|
-
unknown
|
|
1670
|
-
> = z.object({
|
|
1671
|
-
id: IdChainOfThought$inboundSchema,
|
|
1672
|
-
});
|
|
1673
|
-
|
|
1674
|
-
/** @internal */
|
|
1675
|
-
export type PluginChainOfThought$Outbound = {
|
|
1676
|
-
id: string;
|
|
1677
|
-
};
|
|
1678
|
-
|
|
1679
|
-
/** @internal */
|
|
1680
|
-
export const PluginChainOfThought$outboundSchema: z.ZodType<
|
|
1681
|
-
PluginChainOfThought$Outbound,
|
|
1682
|
-
z.ZodTypeDef,
|
|
1683
|
-
PluginChainOfThought
|
|
1684
|
-
> = z.object({
|
|
1685
|
-
id: IdChainOfThought$outboundSchema,
|
|
1686
|
-
});
|
|
1687
|
-
|
|
1688
|
-
/**
|
|
1689
|
-
* @internal
|
|
1690
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1691
|
-
*/
|
|
1692
|
-
export namespace PluginChainOfThought$ {
|
|
1693
|
-
/** @deprecated use `PluginChainOfThought$inboundSchema` instead. */
|
|
1694
|
-
export const inboundSchema = PluginChainOfThought$inboundSchema;
|
|
1695
|
-
/** @deprecated use `PluginChainOfThought$outboundSchema` instead. */
|
|
1696
|
-
export const outboundSchema = PluginChainOfThought$outboundSchema;
|
|
1697
|
-
/** @deprecated use `PluginChainOfThought$Outbound` instead. */
|
|
1698
|
-
export type Outbound = PluginChainOfThought$Outbound;
|
|
1699
|
-
}
|
|
1700
|
-
|
|
1701
|
-
export function pluginChainOfThoughtToJSON(
|
|
1702
|
-
pluginChainOfThought: PluginChainOfThought,
|
|
1703
|
-
): string {
|
|
1704
|
-
return JSON.stringify(
|
|
1705
|
-
PluginChainOfThought$outboundSchema.parse(pluginChainOfThought),
|
|
1706
|
-
);
|
|
1707
|
-
}
|
|
1708
|
-
|
|
1709
|
-
export function pluginChainOfThoughtFromJSON(
|
|
1710
|
-
jsonString: string,
|
|
1711
|
-
): SafeParseResult<PluginChainOfThought, SDKValidationError> {
|
|
1712
|
-
return safeParse(
|
|
1713
|
-
jsonString,
|
|
1714
|
-
(x) => PluginChainOfThought$inboundSchema.parse(JSON.parse(x)),
|
|
1715
|
-
`Failed to parse 'PluginChainOfThought' from JSON`,
|
|
1716
|
-
);
|
|
1717
|
-
}
|
|
1718
|
-
|
|
1719
|
-
/** @internal */
|
|
1720
|
-
export const IdWeb$inboundSchema: z.ZodNativeEnum<typeof IdWeb> = z.nativeEnum(
|
|
1721
|
-
IdWeb,
|
|
1722
|
-
);
|
|
1723
|
-
|
|
1724
|
-
/** @internal */
|
|
1725
|
-
export const IdWeb$outboundSchema: z.ZodNativeEnum<typeof IdWeb> =
|
|
1726
|
-
IdWeb$inboundSchema;
|
|
1727
|
-
|
|
1728
|
-
/**
|
|
1729
|
-
* @internal
|
|
1730
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1731
|
-
*/
|
|
1732
|
-
export namespace IdWeb$ {
|
|
1733
|
-
/** @deprecated use `IdWeb$inboundSchema` instead. */
|
|
1734
|
-
export const inboundSchema = IdWeb$inboundSchema;
|
|
1735
|
-
/** @deprecated use `IdWeb$outboundSchema` instead. */
|
|
1736
|
-
export const outboundSchema = IdWeb$outboundSchema;
|
|
1737
|
-
}
|
|
1738
|
-
|
|
1739
|
-
/** @internal */
|
|
1740
|
-
export const Engine$inboundSchema: z.ZodType<Engine, z.ZodTypeDef, unknown> = z
|
|
1741
|
-
.union([
|
|
1742
|
-
z.nativeEnum(Engine),
|
|
1743
|
-
z.string().transform(catchUnrecognizedEnum),
|
|
1744
|
-
]);
|
|
1745
|
-
|
|
1746
|
-
/** @internal */
|
|
1747
|
-
export const Engine$outboundSchema: z.ZodType<Engine, z.ZodTypeDef, Engine> = z
|
|
1748
|
-
.union([
|
|
1749
|
-
z.nativeEnum(Engine),
|
|
1750
|
-
z.string().and(z.custom<Unrecognized<string>>()),
|
|
1751
|
-
]);
|
|
1752
|
-
|
|
1753
|
-
/**
|
|
1754
|
-
* @internal
|
|
1755
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1756
|
-
*/
|
|
1757
|
-
export namespace Engine$ {
|
|
1758
|
-
/** @deprecated use `Engine$inboundSchema` instead. */
|
|
1759
|
-
export const inboundSchema = Engine$inboundSchema;
|
|
1760
|
-
/** @deprecated use `Engine$outboundSchema` instead. */
|
|
1761
|
-
export const outboundSchema = Engine$outboundSchema;
|
|
1762
|
-
}
|
|
1763
|
-
|
|
1764
|
-
/** @internal */
|
|
1765
|
-
export const PluginWeb$inboundSchema: z.ZodType<
|
|
1766
|
-
PluginWeb,
|
|
1767
|
-
z.ZodTypeDef,
|
|
1768
|
-
unknown
|
|
1769
|
-
> = z.object({
|
|
1770
|
-
id: IdWeb$inboundSchema,
|
|
1771
|
-
max_results: z.number().optional(),
|
|
1772
|
-
search_prompt: z.string().optional(),
|
|
1773
|
-
engine: Engine$inboundSchema.optional(),
|
|
1774
|
-
}).transform((v) => {
|
|
1775
|
-
return remap$(v, {
|
|
1776
|
-
"max_results": "maxResults",
|
|
1777
|
-
"search_prompt": "searchPrompt",
|
|
1778
|
-
});
|
|
1779
|
-
});
|
|
1780
|
-
|
|
1781
|
-
/** @internal */
|
|
1782
|
-
export type PluginWeb$Outbound = {
|
|
1783
|
-
id: string;
|
|
1784
|
-
max_results?: number | undefined;
|
|
1785
|
-
search_prompt?: string | undefined;
|
|
1786
|
-
engine?: string | undefined;
|
|
1787
|
-
};
|
|
1788
|
-
|
|
1789
|
-
/** @internal */
|
|
1790
|
-
export const PluginWeb$outboundSchema: z.ZodType<
|
|
1791
|
-
PluginWeb$Outbound,
|
|
1792
|
-
z.ZodTypeDef,
|
|
1793
|
-
PluginWeb
|
|
1794
|
-
> = z.object({
|
|
1795
|
-
id: IdWeb$outboundSchema,
|
|
1796
|
-
maxResults: z.number().optional(),
|
|
1797
|
-
searchPrompt: z.string().optional(),
|
|
1798
|
-
engine: Engine$outboundSchema.optional(),
|
|
1799
|
-
}).transform((v) => {
|
|
1800
|
-
return remap$(v, {
|
|
1801
|
-
maxResults: "max_results",
|
|
1802
|
-
searchPrompt: "search_prompt",
|
|
1803
|
-
});
|
|
1804
|
-
});
|
|
1805
|
-
|
|
1806
|
-
/**
|
|
1807
|
-
* @internal
|
|
1808
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1809
|
-
*/
|
|
1810
|
-
export namespace PluginWeb$ {
|
|
1811
|
-
/** @deprecated use `PluginWeb$inboundSchema` instead. */
|
|
1812
|
-
export const inboundSchema = PluginWeb$inboundSchema;
|
|
1813
|
-
/** @deprecated use `PluginWeb$outboundSchema` instead. */
|
|
1814
|
-
export const outboundSchema = PluginWeb$outboundSchema;
|
|
1815
|
-
/** @deprecated use `PluginWeb$Outbound` instead. */
|
|
1816
|
-
export type Outbound = PluginWeb$Outbound;
|
|
1817
|
-
}
|
|
1818
|
-
|
|
1819
|
-
export function pluginWebToJSON(pluginWeb: PluginWeb): string {
|
|
1820
|
-
return JSON.stringify(PluginWeb$outboundSchema.parse(pluginWeb));
|
|
1821
|
-
}
|
|
1822
|
-
|
|
1823
|
-
export function pluginWebFromJSON(
|
|
1824
|
-
jsonString: string,
|
|
1825
|
-
): SafeParseResult<PluginWeb, SDKValidationError> {
|
|
1826
|
-
return safeParse(
|
|
1827
|
-
jsonString,
|
|
1828
|
-
(x) => PluginWeb$inboundSchema.parse(JSON.parse(x)),
|
|
1829
|
-
`Failed to parse 'PluginWeb' from JSON`,
|
|
1830
|
-
);
|
|
1831
|
-
}
|
|
1832
|
-
|
|
1833
|
-
/** @internal */
|
|
1834
|
-
export const IdModeration$inboundSchema: z.ZodNativeEnum<typeof IdModeration> =
|
|
1835
|
-
z.nativeEnum(IdModeration);
|
|
1836
|
-
|
|
1837
|
-
/** @internal */
|
|
1838
|
-
export const IdModeration$outboundSchema: z.ZodNativeEnum<typeof IdModeration> =
|
|
1839
|
-
IdModeration$inboundSchema;
|
|
1840
|
-
|
|
1841
|
-
/**
|
|
1842
|
-
* @internal
|
|
1843
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1844
|
-
*/
|
|
1845
|
-
export namespace IdModeration$ {
|
|
1846
|
-
/** @deprecated use `IdModeration$inboundSchema` instead. */
|
|
1847
|
-
export const inboundSchema = IdModeration$inboundSchema;
|
|
1848
|
-
/** @deprecated use `IdModeration$outboundSchema` instead. */
|
|
1849
|
-
export const outboundSchema = IdModeration$outboundSchema;
|
|
1850
|
-
}
|
|
1851
|
-
|
|
1852
|
-
/** @internal */
|
|
1853
|
-
export const PluginModeration$inboundSchema: z.ZodType<
|
|
1854
|
-
PluginModeration,
|
|
1855
|
-
z.ZodTypeDef,
|
|
1856
|
-
unknown
|
|
1857
|
-
> = z.object({
|
|
1858
|
-
id: IdModeration$inboundSchema,
|
|
1859
|
-
});
|
|
1860
|
-
|
|
1861
|
-
/** @internal */
|
|
1862
|
-
export type PluginModeration$Outbound = {
|
|
1863
|
-
id: string;
|
|
1864
|
-
};
|
|
1865
|
-
|
|
1866
|
-
/** @internal */
|
|
1867
|
-
export const PluginModeration$outboundSchema: z.ZodType<
|
|
1868
|
-
PluginModeration$Outbound,
|
|
1869
|
-
z.ZodTypeDef,
|
|
1870
|
-
PluginModeration
|
|
1871
|
-
> = z.object({
|
|
1872
|
-
id: IdModeration$outboundSchema,
|
|
1873
|
-
});
|
|
1874
|
-
|
|
1875
|
-
/**
|
|
1876
|
-
* @internal
|
|
1877
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1878
|
-
*/
|
|
1879
|
-
export namespace PluginModeration$ {
|
|
1880
|
-
/** @deprecated use `PluginModeration$inboundSchema` instead. */
|
|
1881
|
-
export const inboundSchema = PluginModeration$inboundSchema;
|
|
1882
|
-
/** @deprecated use `PluginModeration$outboundSchema` instead. */
|
|
1883
|
-
export const outboundSchema = PluginModeration$outboundSchema;
|
|
1884
|
-
/** @deprecated use `PluginModeration$Outbound` instead. */
|
|
1885
|
-
export type Outbound = PluginModeration$Outbound;
|
|
1886
|
-
}
|
|
1887
|
-
|
|
1888
|
-
export function pluginModerationToJSON(
|
|
1889
|
-
pluginModeration: PluginModeration,
|
|
1890
|
-
): string {
|
|
1891
|
-
return JSON.stringify(
|
|
1892
|
-
PluginModeration$outboundSchema.parse(pluginModeration),
|
|
1893
|
-
);
|
|
1894
|
-
}
|
|
1895
|
-
|
|
1896
|
-
export function pluginModerationFromJSON(
|
|
1897
|
-
jsonString: string,
|
|
1898
|
-
): SafeParseResult<PluginModeration, SDKValidationError> {
|
|
1899
|
-
return safeParse(
|
|
1900
|
-
jsonString,
|
|
1901
|
-
(x) => PluginModeration$inboundSchema.parse(JSON.parse(x)),
|
|
1902
|
-
`Failed to parse 'PluginModeration' from JSON`,
|
|
1903
|
-
);
|
|
1904
|
-
}
|
|
1905
|
-
|
|
1906
|
-
/** @internal */
|
|
1907
|
-
export const Plugin$inboundSchema: z.ZodType<Plugin, z.ZodTypeDef, unknown> = z
|
|
1908
|
-
.union([
|
|
1909
|
-
z.lazy(() => PluginModeration$inboundSchema),
|
|
1910
|
-
z.lazy(() => PluginWeb$inboundSchema),
|
|
1911
|
-
z.lazy(() => PluginChainOfThought$inboundSchema),
|
|
1912
|
-
z.lazy(() => PluginFileParser$inboundSchema),
|
|
1913
|
-
]);
|
|
1914
|
-
|
|
1915
|
-
/** @internal */
|
|
1916
|
-
export type Plugin$Outbound =
|
|
1917
|
-
| PluginModeration$Outbound
|
|
1918
|
-
| PluginWeb$Outbound
|
|
1919
|
-
| PluginChainOfThought$Outbound
|
|
1920
|
-
| PluginFileParser$Outbound;
|
|
1921
|
-
|
|
1922
|
-
/** @internal */
|
|
1923
|
-
export const Plugin$outboundSchema: z.ZodType<
|
|
1924
|
-
Plugin$Outbound,
|
|
1925
|
-
z.ZodTypeDef,
|
|
1926
|
-
Plugin
|
|
1927
|
-
> = z.union([
|
|
1928
|
-
z.lazy(() => PluginModeration$outboundSchema),
|
|
1929
|
-
z.lazy(() => PluginWeb$outboundSchema),
|
|
1930
|
-
z.lazy(() => PluginChainOfThought$outboundSchema),
|
|
1931
|
-
z.lazy(() => PluginFileParser$outboundSchema),
|
|
1932
|
-
]);
|
|
1933
|
-
|
|
1934
|
-
/**
|
|
1935
|
-
* @internal
|
|
1936
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1937
|
-
*/
|
|
1938
|
-
export namespace Plugin$ {
|
|
1939
|
-
/** @deprecated use `Plugin$inboundSchema` instead. */
|
|
1940
|
-
export const inboundSchema = Plugin$inboundSchema;
|
|
1941
|
-
/** @deprecated use `Plugin$outboundSchema` instead. */
|
|
1942
|
-
export const outboundSchema = Plugin$outboundSchema;
|
|
1943
|
-
/** @deprecated use `Plugin$Outbound` instead. */
|
|
1944
|
-
export type Outbound = Plugin$Outbound;
|
|
1945
|
-
}
|
|
1946
|
-
|
|
1947
|
-
export function pluginToJSON(plugin: Plugin): string {
|
|
1948
|
-
return JSON.stringify(Plugin$outboundSchema.parse(plugin));
|
|
1949
|
-
}
|
|
1950
|
-
|
|
1951
|
-
export function pluginFromJSON(
|
|
1952
|
-
jsonString: string,
|
|
1953
|
-
): SafeParseResult<Plugin, SDKValidationError> {
|
|
1954
|
-
return safeParse(
|
|
1955
|
-
jsonString,
|
|
1956
|
-
(x) => Plugin$inboundSchema.parse(JSON.parse(x)),
|
|
1957
|
-
`Failed to parse 'Plugin' from JSON`,
|
|
1958
|
-
);
|
|
1959
|
-
}
|
|
1960
|
-
|
|
1961
|
-
/** @internal */
|
|
1962
|
-
export const SendResponsesRequestRequest$inboundSchema: z.ZodType<
|
|
1963
|
-
SendResponsesRequestRequest,
|
|
1964
|
-
z.ZodTypeDef,
|
|
1965
|
-
unknown
|
|
1966
|
-
> = z.object({
|
|
1967
|
-
input: models.ResponseInput$inboundSchema.optional(),
|
|
1968
|
-
instructions: z.nullable(z.string()).optional(),
|
|
1969
|
-
metadata: z.nullable(z.record(z.string())).optional(),
|
|
1970
|
-
tools: z.array(models.Tool$inboundSchema).optional(),
|
|
1971
|
-
tool_choice: models.ToolChoiceUnion$inboundSchema.optional(),
|
|
1972
|
-
parallel_tool_calls: z.nullable(z.boolean()).optional(),
|
|
1973
|
-
model: z.string().optional(),
|
|
1974
|
-
models: z.array(z.string()).optional(),
|
|
1975
|
-
text: models.ResponseTextConfig$inboundSchema.optional(),
|
|
1976
|
-
reasoning: z.nullable(models.ResponseReasoningConfig$inboundSchema)
|
|
1977
|
-
.optional(),
|
|
1978
|
-
max_output_tokens: z.nullable(z.number()).optional(),
|
|
1979
|
-
temperature: z.nullable(z.number()).optional(),
|
|
1980
|
-
top_p: z.nullable(z.number()).optional(),
|
|
1981
|
-
top_k: z.number().optional(),
|
|
1982
|
-
prompt_cache_key: z.string().optional(),
|
|
1983
|
-
previous_response_id: z.nullable(z.string()).optional(),
|
|
1984
|
-
prompt: z.nullable(models.ResponsePrompt$inboundSchema).optional(),
|
|
1985
|
-
include: z.nullable(z.array(models.ResponseIncludable$inboundSchema))
|
|
1986
|
-
.optional(),
|
|
1987
|
-
background: z.nullable(z.boolean()).optional(),
|
|
1988
|
-
safety_identifier: z.string().optional(),
|
|
1989
|
-
store: z.nullable(z.boolean()).optional(),
|
|
1990
|
-
service_tier: z.nullable(ServiceTier$inboundSchema).optional(),
|
|
1991
|
-
truncation: z.nullable(Truncation$inboundSchema).optional(),
|
|
1992
|
-
stream: z.nullable(z.boolean()).optional(),
|
|
1993
|
-
provider: z.nullable(z.lazy(() => SendResponsesRequestProvider$inboundSchema))
|
|
1994
|
-
.optional(),
|
|
1995
|
-
plugins: z.array(
|
|
1996
|
-
z.union([
|
|
1997
|
-
z.lazy(() => PluginModeration$inboundSchema),
|
|
1998
|
-
z.lazy(() => PluginWeb$inboundSchema),
|
|
1999
|
-
z.lazy(() => PluginChainOfThought$inboundSchema),
|
|
2000
|
-
z.lazy(() => PluginFileParser$inboundSchema),
|
|
2001
|
-
]),
|
|
2002
|
-
).optional(),
|
|
2003
|
-
user: z.string().optional(),
|
|
2004
|
-
}).transform((v) => {
|
|
2005
|
-
return remap$(v, {
|
|
2006
|
-
"tool_choice": "toolChoice",
|
|
2007
|
-
"parallel_tool_calls": "parallelToolCalls",
|
|
2008
|
-
"max_output_tokens": "maxOutputTokens",
|
|
2009
|
-
"top_p": "topP",
|
|
2010
|
-
"top_k": "topK",
|
|
2011
|
-
"prompt_cache_key": "promptCacheKey",
|
|
2012
|
-
"previous_response_id": "previousResponseId",
|
|
2013
|
-
"safety_identifier": "safetyIdentifier",
|
|
2014
|
-
"service_tier": "serviceTier",
|
|
2015
|
-
});
|
|
2016
|
-
});
|
|
2017
|
-
|
|
2018
|
-
/** @internal */
|
|
2019
|
-
export type SendResponsesRequestRequest$Outbound = {
|
|
2020
|
-
input?: models.ResponseInput$Outbound | undefined;
|
|
2021
|
-
instructions?: string | null | undefined;
|
|
2022
|
-
metadata?: { [k: string]: string } | null | undefined;
|
|
2023
|
-
tools?: Array<models.Tool$Outbound> | undefined;
|
|
2024
|
-
tool_choice?: models.ToolChoiceUnion$Outbound | undefined;
|
|
2025
|
-
parallel_tool_calls?: boolean | null | undefined;
|
|
2026
|
-
model?: string | undefined;
|
|
2027
|
-
models?: Array<string> | undefined;
|
|
2028
|
-
text?: models.ResponseTextConfig$Outbound | undefined;
|
|
2029
|
-
reasoning?: models.ResponseReasoningConfig$Outbound | null | undefined;
|
|
2030
|
-
max_output_tokens?: number | null | undefined;
|
|
2031
|
-
temperature?: number | null | undefined;
|
|
2032
|
-
top_p?: number | null | undefined;
|
|
2033
|
-
top_k?: number | undefined;
|
|
2034
|
-
prompt_cache_key?: string | undefined;
|
|
2035
|
-
previous_response_id?: string | null | undefined;
|
|
2036
|
-
prompt?: models.ResponsePrompt$Outbound | null | undefined;
|
|
2037
|
-
include?: Array<string> | null | undefined;
|
|
2038
|
-
background?: boolean | null | undefined;
|
|
2039
|
-
safety_identifier?: string | undefined;
|
|
2040
|
-
store?: boolean | null | undefined;
|
|
2041
|
-
service_tier?: string | null | undefined;
|
|
2042
|
-
truncation?: string | null | undefined;
|
|
2043
|
-
stream?: boolean | null | undefined;
|
|
2044
|
-
provider?: SendResponsesRequestProvider$Outbound | null | undefined;
|
|
2045
|
-
plugins?:
|
|
2046
|
-
| Array<
|
|
2047
|
-
| PluginModeration$Outbound
|
|
2048
|
-
| PluginWeb$Outbound
|
|
2049
|
-
| PluginChainOfThought$Outbound
|
|
2050
|
-
| PluginFileParser$Outbound
|
|
2051
|
-
>
|
|
2052
|
-
| undefined;
|
|
2053
|
-
user?: string | undefined;
|
|
2054
|
-
};
|
|
2055
|
-
|
|
2056
|
-
/** @internal */
|
|
2057
|
-
export const SendResponsesRequestRequest$outboundSchema: z.ZodType<
|
|
2058
|
-
SendResponsesRequestRequest$Outbound,
|
|
2059
|
-
z.ZodTypeDef,
|
|
2060
|
-
SendResponsesRequestRequest
|
|
2061
|
-
> = z.object({
|
|
2062
|
-
input: models.ResponseInput$outboundSchema.optional(),
|
|
2063
|
-
instructions: z.nullable(z.string()).optional(),
|
|
2064
|
-
metadata: z.nullable(z.record(z.string())).optional(),
|
|
2065
|
-
tools: z.array(models.Tool$outboundSchema).optional(),
|
|
2066
|
-
toolChoice: models.ToolChoiceUnion$outboundSchema.optional(),
|
|
2067
|
-
parallelToolCalls: z.nullable(z.boolean()).optional(),
|
|
2068
|
-
model: z.string().optional(),
|
|
2069
|
-
models: z.array(z.string()).optional(),
|
|
2070
|
-
text: models.ResponseTextConfig$outboundSchema.optional(),
|
|
2071
|
-
reasoning: z.nullable(models.ResponseReasoningConfig$outboundSchema)
|
|
2072
|
-
.optional(),
|
|
2073
|
-
maxOutputTokens: z.nullable(z.number()).optional(),
|
|
2074
|
-
temperature: z.nullable(z.number()).optional(),
|
|
2075
|
-
topP: z.nullable(z.number()).optional(),
|
|
2076
|
-
topK: z.number().optional(),
|
|
2077
|
-
promptCacheKey: z.string().optional(),
|
|
2078
|
-
previousResponseId: z.nullable(z.string()).optional(),
|
|
2079
|
-
prompt: z.nullable(models.ResponsePrompt$outboundSchema).optional(),
|
|
2080
|
-
include: z.nullable(z.array(models.ResponseIncludable$outboundSchema))
|
|
2081
|
-
.optional(),
|
|
2082
|
-
background: z.nullable(z.boolean()).optional(),
|
|
2083
|
-
safetyIdentifier: z.string().optional(),
|
|
2084
|
-
store: z.nullable(z.boolean()).optional(),
|
|
2085
|
-
serviceTier: z.nullable(ServiceTier$outboundSchema).optional(),
|
|
2086
|
-
truncation: z.nullable(Truncation$outboundSchema).optional(),
|
|
2087
|
-
stream: z.nullable(z.boolean()).optional(),
|
|
2088
|
-
provider: z.nullable(
|
|
2089
|
-
z.lazy(() => SendResponsesRequestProvider$outboundSchema),
|
|
2090
|
-
).optional(),
|
|
2091
|
-
plugins: z.array(
|
|
2092
|
-
z.union([
|
|
2093
|
-
z.lazy(() => PluginModeration$outboundSchema),
|
|
2094
|
-
z.lazy(() => PluginWeb$outboundSchema),
|
|
2095
|
-
z.lazy(() => PluginChainOfThought$outboundSchema),
|
|
2096
|
-
z.lazy(() => PluginFileParser$outboundSchema),
|
|
2097
|
-
]),
|
|
2098
|
-
).optional(),
|
|
2099
|
-
user: z.string().optional(),
|
|
2100
|
-
}).transform((v) => {
|
|
2101
|
-
return remap$(v, {
|
|
2102
|
-
toolChoice: "tool_choice",
|
|
2103
|
-
parallelToolCalls: "parallel_tool_calls",
|
|
2104
|
-
maxOutputTokens: "max_output_tokens",
|
|
2105
|
-
topP: "top_p",
|
|
2106
|
-
topK: "top_k",
|
|
2107
|
-
promptCacheKey: "prompt_cache_key",
|
|
2108
|
-
previousResponseId: "previous_response_id",
|
|
2109
|
-
safetyIdentifier: "safety_identifier",
|
|
2110
|
-
serviceTier: "service_tier",
|
|
2111
|
-
});
|
|
2112
|
-
});
|
|
2113
|
-
|
|
2114
|
-
/**
|
|
2115
|
-
* @internal
|
|
2116
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2117
|
-
*/
|
|
2118
|
-
export namespace SendResponsesRequestRequest$ {
|
|
2119
|
-
/** @deprecated use `SendResponsesRequestRequest$inboundSchema` instead. */
|
|
2120
|
-
export const inboundSchema = SendResponsesRequestRequest$inboundSchema;
|
|
2121
|
-
/** @deprecated use `SendResponsesRequestRequest$outboundSchema` instead. */
|
|
2122
|
-
export const outboundSchema = SendResponsesRequestRequest$outboundSchema;
|
|
2123
|
-
/** @deprecated use `SendResponsesRequestRequest$Outbound` instead. */
|
|
2124
|
-
export type Outbound = SendResponsesRequestRequest$Outbound;
|
|
2125
|
-
}
|
|
2126
|
-
|
|
2127
|
-
export function sendResponsesRequestRequestToJSON(
|
|
2128
|
-
sendResponsesRequestRequest: SendResponsesRequestRequest,
|
|
2129
|
-
): string {
|
|
2130
|
-
return JSON.stringify(
|
|
2131
|
-
SendResponsesRequestRequest$outboundSchema.parse(
|
|
2132
|
-
sendResponsesRequestRequest,
|
|
2133
|
-
),
|
|
2134
|
-
);
|
|
2135
|
-
}
|
|
2136
|
-
|
|
2137
|
-
export function sendResponsesRequestRequestFromJSON(
|
|
2138
|
-
jsonString: string,
|
|
2139
|
-
): SafeParseResult<SendResponsesRequestRequest, SDKValidationError> {
|
|
2140
|
-
return safeParse(
|
|
2141
|
-
jsonString,
|
|
2142
|
-
(x) => SendResponsesRequestRequest$inboundSchema.parse(JSON.parse(x)),
|
|
2143
|
-
`Failed to parse 'SendResponsesRequestRequest' from JSON`,
|
|
2144
|
-
);
|
|
2145
|
-
}
|
|
2146
|
-
|
|
2147
|
-
/** @internal */
|
|
2148
|
-
export const SendResponsesRequestResponseBody$inboundSchema: z.ZodType<
|
|
2149
|
-
SendResponsesRequestResponseBody,
|
|
2150
|
-
z.ZodTypeDef,
|
|
2151
|
-
unknown
|
|
2152
|
-
> = z.object({
|
|
2153
|
-
data: z.string().transform((v, ctx) => {
|
|
2154
|
-
try {
|
|
2155
|
-
return JSON.parse(v);
|
|
2156
|
-
} catch (err) {
|
|
2157
|
-
ctx.addIssue({
|
|
2158
|
-
code: z.ZodIssueCode.custom,
|
|
2159
|
-
message: `malformed json: ${err}`,
|
|
2160
|
-
});
|
|
2161
|
-
return z.NEVER;
|
|
2162
|
-
}
|
|
2163
|
-
}).pipe(models.ResponsesStreamChunkUnion$inboundSchema),
|
|
2164
|
-
});
|
|
2165
|
-
|
|
2166
|
-
/** @internal */
|
|
2167
|
-
export type SendResponsesRequestResponseBody$Outbound = {
|
|
2168
|
-
data: models.ResponsesStreamChunkUnion$Outbound;
|
|
2169
|
-
};
|
|
2170
|
-
|
|
2171
|
-
/** @internal */
|
|
2172
|
-
export const SendResponsesRequestResponseBody$outboundSchema: z.ZodType<
|
|
2173
|
-
SendResponsesRequestResponseBody$Outbound,
|
|
2174
|
-
z.ZodTypeDef,
|
|
2175
|
-
SendResponsesRequestResponseBody
|
|
2176
|
-
> = z.object({
|
|
2177
|
-
data: models.ResponsesStreamChunkUnion$outboundSchema,
|
|
2178
|
-
});
|
|
2179
|
-
|
|
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 namespace SendResponsesRequestResponseBody$ {
|
|
2185
|
-
/** @deprecated use `SendResponsesRequestResponseBody$inboundSchema` instead. */
|
|
2186
|
-
export const inboundSchema = SendResponsesRequestResponseBody$inboundSchema;
|
|
2187
|
-
/** @deprecated use `SendResponsesRequestResponseBody$outboundSchema` instead. */
|
|
2188
|
-
export const outboundSchema = SendResponsesRequestResponseBody$outboundSchema;
|
|
2189
|
-
/** @deprecated use `SendResponsesRequestResponseBody$Outbound` instead. */
|
|
2190
|
-
export type Outbound = SendResponsesRequestResponseBody$Outbound;
|
|
2191
|
-
}
|
|
2192
|
-
|
|
2193
|
-
export function sendResponsesRequestResponseBodyToJSON(
|
|
2194
|
-
sendResponsesRequestResponseBody: SendResponsesRequestResponseBody,
|
|
2195
|
-
): string {
|
|
2196
|
-
return JSON.stringify(
|
|
2197
|
-
SendResponsesRequestResponseBody$outboundSchema.parse(
|
|
2198
|
-
sendResponsesRequestResponseBody,
|
|
2199
|
-
),
|
|
2200
|
-
);
|
|
2201
|
-
}
|
|
2202
|
-
|
|
2203
|
-
export function sendResponsesRequestResponseBodyFromJSON(
|
|
2204
|
-
jsonString: string,
|
|
2205
|
-
): SafeParseResult<SendResponsesRequestResponseBody, SDKValidationError> {
|
|
2206
|
-
return safeParse(
|
|
2207
|
-
jsonString,
|
|
2208
|
-
(x) => SendResponsesRequestResponseBody$inboundSchema.parse(JSON.parse(x)),
|
|
2209
|
-
`Failed to parse 'SendResponsesRequestResponseBody' from JSON`,
|
|
2210
|
-
);
|
|
2211
|
-
}
|
|
2212
|
-
|
|
2213
|
-
/** @internal */
|
|
2214
|
-
export const SendResponsesRequestResponse$inboundSchema: z.ZodType<
|
|
2215
|
-
SendResponsesRequestResponse,
|
|
2216
|
-
z.ZodTypeDef,
|
|
2217
|
-
unknown
|
|
2218
|
-
> = z.union([
|
|
2219
|
-
models.ResponsesNonStreamingResponse$inboundSchema,
|
|
2220
|
-
z
|
|
2221
|
-
.instanceof(ReadableStream<Uint8Array>)
|
|
2222
|
-
.transform(stream => {
|
|
2223
|
-
return new EventStream(stream, rawEvent => {
|
|
2224
|
-
if (rawEvent.data === "[DONE]") return { done: true };
|
|
2225
|
-
return {
|
|
2226
|
-
value: z.lazy(() => SendResponsesRequestResponseBody$inboundSchema)
|
|
2227
|
-
.parse(rawEvent),
|
|
2228
|
-
};
|
|
2229
|
-
});
|
|
2230
|
-
}),
|
|
2231
|
-
]);
|
|
2232
|
-
|
|
2233
|
-
/** @internal */
|
|
2234
|
-
export type SendResponsesRequestResponse$Outbound =
|
|
2235
|
-
| models.ResponsesNonStreamingResponse$Outbound
|
|
2236
|
-
| never;
|
|
2237
|
-
|
|
2238
|
-
/** @internal */
|
|
2239
|
-
export const SendResponsesRequestResponse$outboundSchema: z.ZodType<
|
|
2240
|
-
SendResponsesRequestResponse$Outbound,
|
|
2241
|
-
z.ZodTypeDef,
|
|
2242
|
-
SendResponsesRequestResponse
|
|
2243
|
-
> = z.union([models.ResponsesNonStreamingResponse$outboundSchema, z.never()]);
|
|
2244
|
-
|
|
2245
|
-
/**
|
|
2246
|
-
* @internal
|
|
2247
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2248
|
-
*/
|
|
2249
|
-
export namespace SendResponsesRequestResponse$ {
|
|
2250
|
-
/** @deprecated use `SendResponsesRequestResponse$inboundSchema` instead. */
|
|
2251
|
-
export const inboundSchema = SendResponsesRequestResponse$inboundSchema;
|
|
2252
|
-
/** @deprecated use `SendResponsesRequestResponse$outboundSchema` instead. */
|
|
2253
|
-
export const outboundSchema = SendResponsesRequestResponse$outboundSchema;
|
|
2254
|
-
/** @deprecated use `SendResponsesRequestResponse$Outbound` instead. */
|
|
2255
|
-
export type Outbound = SendResponsesRequestResponse$Outbound;
|
|
2256
|
-
}
|
|
2257
|
-
|
|
2258
|
-
export function sendResponsesRequestResponseToJSON(
|
|
2259
|
-
sendResponsesRequestResponse: SendResponsesRequestResponse,
|
|
2260
|
-
): string {
|
|
2261
|
-
return JSON.stringify(
|
|
2262
|
-
SendResponsesRequestResponse$outboundSchema.parse(
|
|
2263
|
-
sendResponsesRequestResponse,
|
|
2264
|
-
),
|
|
2265
|
-
);
|
|
2266
|
-
}
|
|
2267
|
-
|
|
2268
|
-
export function sendResponsesRequestResponseFromJSON(
|
|
2269
|
-
jsonString: string,
|
|
2270
|
-
): SafeParseResult<SendResponsesRequestResponse, SDKValidationError> {
|
|
2271
|
-
return safeParse(
|
|
2272
|
-
jsonString,
|
|
2273
|
-
(x) => SendResponsesRequestResponse$inboundSchema.parse(JSON.parse(x)),
|
|
2274
|
-
`Failed to parse 'SendResponsesRequestResponse' from JSON`,
|
|
2275
|
-
);
|
|
2276
|
-
}
|