@openrouter/sdk 0.0.0-beta.17 → 0.0.0-beta.32
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 +69 -5
- package/REACT_QUERY.md +81 -17
- package/README.md +479 -93
- package/RUNTIMES.md +6 -6
- package/dist/commonjs/funcs/analyticsGetUserActivity.d.ts +18 -0
- package/dist/commonjs/funcs/analyticsGetUserActivity.d.ts.map +1 -0
- package/dist/commonjs/funcs/analyticsGetUserActivity.js +121 -0
- package/dist/commonjs/funcs/analyticsGetUserActivity.js.map +1 -0
- package/dist/commonjs/funcs/apiKeysCreate.d.ts +15 -0
- package/dist/commonjs/funcs/apiKeysCreate.d.ts.map +1 -0
- package/dist/commonjs/funcs/apiKeysCreate.js +115 -0
- package/dist/commonjs/funcs/apiKeysCreate.js.map +1 -0
- package/dist/commonjs/funcs/apiKeysDelete.d.ts +15 -0
- package/dist/commonjs/funcs/apiKeysDelete.d.ts.map +1 -0
- package/dist/commonjs/funcs/apiKeysDelete.js +120 -0
- package/dist/commonjs/funcs/apiKeysDelete.js.map +1 -0
- package/dist/commonjs/funcs/apiKeysGet.d.ts +15 -0
- package/dist/commonjs/funcs/apiKeysGet.d.ts.map +1 -0
- package/dist/commonjs/funcs/apiKeysGet.js +120 -0
- package/dist/commonjs/funcs/apiKeysGet.js.map +1 -0
- package/dist/commonjs/funcs/apiKeysGetCurrentKeyMetadata.d.ts +18 -0
- package/dist/commonjs/funcs/apiKeysGetCurrentKeyMetadata.d.ts.map +1 -0
- package/dist/commonjs/funcs/apiKeysGetCurrentKeyMetadata.js +108 -0
- package/dist/commonjs/funcs/apiKeysGetCurrentKeyMetadata.js.map +1 -0
- package/dist/commonjs/funcs/apiKeysList.d.ts +15 -0
- package/dist/commonjs/funcs/apiKeysList.d.ts.map +1 -0
- package/dist/commonjs/funcs/apiKeysList.js +119 -0
- package/dist/commonjs/funcs/apiKeysList.js.map +1 -0
- package/dist/commonjs/funcs/apiKeysUpdate.d.ts +15 -0
- package/dist/commonjs/funcs/apiKeysUpdate.d.ts.map +1 -0
- package/dist/commonjs/funcs/apiKeysUpdate.js +121 -0
- package/dist/commonjs/funcs/apiKeysUpdate.js.map +1 -0
- package/dist/commonjs/funcs/betaResponsesSendRequest.d.ts +36 -0
- package/dist/commonjs/funcs/betaResponsesSendRequest.d.ts.map +1 -0
- package/dist/commonjs/funcs/betaResponsesSendRequest.js +120 -0
- package/dist/commonjs/funcs/betaResponsesSendRequest.js.map +1 -0
- package/dist/commonjs/funcs/chatSend.d.ts +1 -1
- package/dist/commonjs/funcs/chatSend.d.ts.map +1 -1
- package/dist/commonjs/funcs/chatSend.js +3 -3
- package/dist/commonjs/funcs/chatSend.js.map +1 -1
- package/dist/commonjs/funcs/completionsGenerate.d.ts +1 -19
- package/dist/commonjs/funcs/completionsGenerate.d.ts.map +1 -1
- package/dist/commonjs/funcs/completionsGenerate.js +10 -12
- package/dist/commonjs/funcs/completionsGenerate.js.map +1 -1
- package/dist/commonjs/funcs/creditsAddCoinbaseCharge.d.ts +15 -0
- package/dist/commonjs/funcs/creditsAddCoinbaseCharge.d.ts.map +1 -0
- package/dist/commonjs/funcs/creditsAddCoinbaseCharge.js +119 -0
- package/dist/commonjs/funcs/creditsAddCoinbaseCharge.js.map +1 -0
- package/dist/commonjs/funcs/creditsGet.d.ts +15 -0
- package/dist/commonjs/funcs/creditsGet.d.ts.map +1 -0
- package/dist/commonjs/funcs/creditsGet.js +105 -0
- package/dist/commonjs/funcs/creditsGet.js.map +1 -0
- package/dist/commonjs/funcs/embeddingsGenerate.d.ts +1 -1
- package/dist/commonjs/funcs/embeddingsGenerate.d.ts.map +1 -1
- package/dist/commonjs/funcs/embeddingsGenerate.js +5 -7
- package/dist/commonjs/funcs/embeddingsGenerate.js.map +1 -1
- package/dist/commonjs/funcs/endpointsList.d.ts +15 -0
- package/dist/commonjs/funcs/endpointsList.d.ts.map +1 -0
- package/dist/commonjs/funcs/endpointsList.js +124 -0
- package/dist/commonjs/funcs/endpointsList.js.map +1 -0
- package/dist/commonjs/funcs/endpointsPreviewZDR.d.ts +15 -0
- package/dist/commonjs/funcs/endpointsPreviewZDR.d.ts.map +1 -0
- package/dist/commonjs/funcs/endpointsPreviewZDR.js +105 -0
- package/dist/commonjs/funcs/endpointsPreviewZDR.js.map +1 -0
- package/dist/commonjs/funcs/generationsGetMetadata.d.ts +15 -0
- package/dist/commonjs/funcs/generationsGetMetadata.d.ts.map +1 -0
- package/dist/commonjs/funcs/generationsGetMetadata.js +118 -0
- package/dist/commonjs/funcs/generationsGetMetadata.js.map +1 -0
- package/dist/commonjs/funcs/modelGetParameters.d.ts +15 -0
- package/dist/commonjs/funcs/modelGetParameters.d.ts.map +1 -0
- package/dist/commonjs/funcs/modelGetParameters.js +132 -0
- package/dist/commonjs/funcs/modelGetParameters.js.map +1 -0
- package/dist/commonjs/funcs/modelsGetCount.d.ts +15 -0
- package/dist/commonjs/funcs/modelsGetCount.d.ts.map +1 -0
- package/dist/commonjs/funcs/modelsGetCount.js +105 -0
- package/dist/commonjs/funcs/modelsGetCount.js.map +1 -0
- package/dist/commonjs/funcs/modelsList.d.ts +21 -0
- package/dist/commonjs/funcs/modelsList.d.ts.map +1 -0
- package/dist/commonjs/funcs/modelsList.js +130 -0
- package/dist/commonjs/funcs/modelsList.js.map +1 -0
- package/dist/commonjs/funcs/modelsListUserModels.d.ts +15 -0
- package/dist/commonjs/funcs/modelsListUserModels.d.ts.map +1 -0
- package/dist/commonjs/funcs/modelsListUserModels.js +109 -0
- package/dist/commonjs/funcs/modelsListUserModels.js.map +1 -0
- package/dist/commonjs/funcs/oAuthCreateAuthorizationCode.d.ts +18 -0
- package/dist/commonjs/funcs/oAuthCreateAuthorizationCode.d.ts.map +1 -0
- package/dist/commonjs/funcs/oAuthCreateAuthorizationCode.js +118 -0
- package/dist/commonjs/funcs/oAuthCreateAuthorizationCode.js.map +1 -0
- package/dist/commonjs/funcs/oAuthExchangeAuthorizationCode.d.ts +18 -0
- package/dist/commonjs/funcs/oAuthExchangeAuthorizationCode.d.ts.map +1 -0
- package/dist/commonjs/funcs/oAuthExchangeAuthorizationCode.js +118 -0
- package/dist/commonjs/funcs/oAuthExchangeAuthorizationCode.js.map +1 -0
- package/dist/commonjs/funcs/providersList.d.ts +15 -0
- package/dist/commonjs/funcs/providersList.d.ts.map +1 -0
- package/dist/commonjs/funcs/providersList.js +105 -0
- package/dist/commonjs/funcs/providersList.js.map +1 -0
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/models/chaterror.d.ts +13 -13
- package/dist/commonjs/models/chaterror.d.ts.map +1 -1
- package/dist/commonjs/models/chaterror.js +17 -16
- package/dist/commonjs/models/chaterror.js.map +1 -1
- package/dist/commonjs/models/chatgenerationparams.d.ts +16 -16
- package/dist/commonjs/models/chatgenerationparams.d.ts.map +1 -1
- package/dist/commonjs/models/chatgenerationparams.js +26 -27
- package/dist/commonjs/models/chatgenerationparams.js.map +1 -1
- package/dist/commonjs/models/chatmessagecontentitemaudio.d.ts +8 -8
- package/dist/commonjs/models/chatmessagecontentitemaudio.d.ts.map +1 -1
- package/dist/commonjs/models/chatmessagecontentitemaudio.js +13 -14
- package/dist/commonjs/models/chatmessagecontentitemaudio.js.map +1 -1
- package/dist/commonjs/models/chatstreamingmessagechunk.d.ts +8 -8
- package/dist/commonjs/models/chatstreamingmessagechunk.d.ts.map +1 -1
- package/dist/commonjs/models/chatstreamingmessagechunk.js +13 -13
- package/dist/commonjs/models/chatstreamingmessagechunk.js.map +1 -1
- package/dist/commonjs/models/chatstreamingresponsechunk.d.ts +15 -15
- package/dist/commonjs/models/chatstreamingresponsechunk.d.ts.map +1 -1
- package/dist/commonjs/models/chatstreamingresponsechunk.js +21 -19
- package/dist/commonjs/models/chatstreamingresponsechunk.js.map +1 -1
- package/dist/commonjs/models/completioncreateparams.d.ts +13 -13
- package/dist/commonjs/models/completioncreateparams.d.ts.map +1 -1
- package/dist/commonjs/models/completioncreateparams.js +16 -17
- package/dist/commonjs/models/completioncreateparams.js.map +1 -1
- package/dist/commonjs/models/errorresponse.d.ts +8 -8
- package/dist/commonjs/models/errorresponse.d.ts.map +1 -1
- package/dist/commonjs/models/errorresponse.js +13 -14
- package/dist/commonjs/models/errorresponse.js.map +1 -1
- package/dist/commonjs/models/errors/index.d.ts +1 -2
- package/dist/commonjs/models/errors/index.d.ts.map +1 -1
- package/dist/commonjs/models/errors/index.js +1 -2
- package/dist/commonjs/models/errors/index.js.map +1 -1
- package/dist/commonjs/models/errors/listproviders.d.ts +49 -0
- package/dist/commonjs/models/errors/listproviders.d.ts.map +1 -0
- package/dist/commonjs/models/errors/listproviders.js +88 -0
- package/dist/commonjs/models/errors/listproviders.js.map +1 -0
- package/dist/commonjs/models/index.d.ts +54 -3
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +54 -3
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/openairesponsesrequest.d.ts +1704 -0
- package/dist/commonjs/models/openairesponsesrequest.d.ts.map +1 -0
- package/dist/commonjs/models/openairesponsesrequest.js +1212 -0
- package/dist/commonjs/models/openairesponsesrequest.js.map +1 -0
- package/dist/commonjs/models/operations/addcoinbasecharge.d.ts +270 -0
- package/dist/commonjs/models/operations/addcoinbasecharge.d.ts.map +1 -0
- package/dist/commonjs/models/operations/addcoinbasecharge.js +374 -0
- package/dist/commonjs/models/operations/addcoinbasecharge.js.map +1 -0
- package/dist/commonjs/models/operations/create.d.ts +144 -0
- package/dist/commonjs/models/operations/create.d.ts.map +1 -0
- package/dist/commonjs/models/operations/create.js +162 -0
- package/dist/commonjs/models/operations/create.js.map +1 -0
- package/dist/commonjs/models/operations/createauthorizationcode.d.ts +151 -0
- package/dist/commonjs/models/operations/createauthorizationcode.d.ts.map +1 -0
- package/dist/commonjs/models/operations/createauthorizationcode.js +180 -0
- package/dist/commonjs/models/operations/createauthorizationcode.js.map +1 -0
- package/dist/commonjs/models/operations/delete.d.ts +60 -0
- package/dist/commonjs/models/operations/delete.d.ts.map +1 -0
- package/dist/commonjs/models/operations/delete.js +96 -0
- package/dist/commonjs/models/operations/delete.js.map +1 -0
- package/dist/commonjs/models/operations/exchangeauthorizationcode.d.ts +110 -0
- package/dist/commonjs/models/operations/exchangeauthorizationcode.d.ts.map +1 -0
- package/dist/commonjs/models/operations/exchangeauthorizationcode.js +144 -0
- package/dist/commonjs/models/operations/exchangeauthorizationcode.js.map +1 -0
- package/dist/commonjs/models/operations/generate.d.ts +1484 -0
- package/dist/commonjs/models/operations/generate.d.ts.map +1 -0
- package/dist/commonjs/models/operations/generate.js +1037 -0
- package/dist/commonjs/models/operations/generate.js.map +1 -0
- package/dist/commonjs/models/operations/getapikey.d.ts +126 -0
- package/dist/commonjs/models/operations/getapikey.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getapikey.js +148 -0
- package/dist/commonjs/models/operations/getapikey.js.map +1 -0
- package/dist/commonjs/models/operations/getcount.d.ts +66 -0
- package/dist/commonjs/models/operations/getcount.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getcount.js +96 -0
- package/dist/commonjs/models/operations/getcount.js.map +1 -0
- package/dist/commonjs/models/operations/getcurrentkey.d.ts +141 -0
- package/dist/commonjs/models/operations/getcurrentkey.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getcurrentkey.js +154 -0
- package/dist/commonjs/models/operations/getcurrentkey.js.map +1 -0
- package/dist/commonjs/models/operations/getmetadata.d.ts +273 -0
- package/dist/commonjs/models/operations/getmetadata.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getmetadata.js +261 -0
- package/dist/commonjs/models/operations/getmetadata.js.map +1 -0
- package/dist/commonjs/models/operations/getparameters.d.ts +425 -0
- package/dist/commonjs/models/operations/getparameters.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getparameters.js +286 -0
- package/dist/commonjs/models/operations/getparameters.js.map +1 -0
- package/dist/commonjs/models/operations/getuseractivity.d.ts +61 -0
- package/dist/commonjs/models/operations/getuseractivity.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getuseractivity.js +97 -0
- package/dist/commonjs/models/operations/getuseractivity.js.map +1 -0
- package/dist/commonjs/models/operations/index.d.ts +21 -23
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +21 -23
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/list.d.ts +1159 -0
- package/dist/commonjs/models/operations/list.d.ts.map +1 -0
- package/dist/commonjs/models/operations/list.js +888 -0
- package/dist/commonjs/models/operations/list.js.map +1 -0
- package/dist/commonjs/models/operations/listapikeys.d.ts +125 -0
- package/dist/commonjs/models/operations/listapikeys.d.ts.map +1 -0
- package/dist/commonjs/models/operations/listapikeys.js +158 -0
- package/dist/commonjs/models/operations/listapikeys.js.map +1 -0
- package/dist/commonjs/models/operations/listmodels.d.ts +937 -0
- package/dist/commonjs/models/operations/listmodels.d.ts.map +1 -0
- package/dist/commonjs/models/operations/listmodels.js +862 -0
- package/dist/commonjs/models/operations/listmodels.js.map +1 -0
- package/dist/commonjs/models/operations/listproviders.d.ts +116 -0
- package/dist/commonjs/models/operations/listproviders.d.ts.map +1 -0
- package/dist/commonjs/models/operations/listproviders.js +147 -0
- package/dist/commonjs/models/operations/listproviders.js.map +1 -0
- package/dist/commonjs/models/operations/listusermodels.d.ts +910 -0
- package/dist/commonjs/models/operations/listusermodels.d.ts.map +1 -0
- package/dist/commonjs/models/operations/listusermodels.js +823 -0
- package/dist/commonjs/models/operations/listusermodels.js.map +1 -0
- package/dist/commonjs/models/operations/previewzdr.d.ts +796 -0
- package/dist/commonjs/models/operations/previewzdr.d.ts.map +1 -0
- package/dist/commonjs/models/operations/previewzdr.js +652 -0
- package/dist/commonjs/models/operations/previewzdr.js.map +1 -0
- package/dist/commonjs/models/operations/sendchatcompletionrequest.d.ts +27 -0
- package/dist/commonjs/models/operations/sendchatcompletionrequest.d.ts.map +1 -0
- package/dist/commonjs/models/operations/sendchatcompletionrequest.js +80 -0
- package/dist/commonjs/models/operations/sendchatcompletionrequest.js.map +1 -0
- package/dist/commonjs/models/operations/sendresponsesrequest.d.ts +58 -0
- package/dist/commonjs/models/operations/sendresponsesrequest.d.ts.map +1 -0
- package/dist/commonjs/models/operations/sendresponsesrequest.js +119 -0
- package/dist/commonjs/models/operations/sendresponsesrequest.js.map +1 -0
- package/dist/commonjs/models/operations/update.d.ts +171 -0
- package/dist/commonjs/models/operations/update.d.ts.map +1 -0
- package/dist/commonjs/models/operations/update.js +199 -0
- package/dist/commonjs/models/operations/update.js.map +1 -0
- package/dist/commonjs/models/responseeasyinputmessage.d.ts +61 -0
- package/dist/commonjs/models/responseeasyinputmessage.d.ts.map +1 -0
- package/dist/commonjs/models/responseeasyinputmessage.js +93 -0
- package/dist/commonjs/models/responseeasyinputmessage.js.map +1 -0
- package/dist/commonjs/models/responseformatjsonobject.d.ts +55 -0
- package/dist/commonjs/models/responseformatjsonobject.d.ts.map +1 -0
- package/dist/commonjs/models/responseformatjsonobject.js +87 -0
- package/dist/commonjs/models/responseformatjsonobject.js.map +1 -0
- package/dist/commonjs/models/responseformatjsonschema.d.ts +67 -0
- package/dist/commonjs/models/responseformatjsonschema.d.ts.map +1 -0
- package/dist/commonjs/models/responseformatjsonschema.js +95 -0
- package/dist/commonjs/models/responseformatjsonschema.js.map +1 -0
- package/dist/commonjs/models/responseformattext.d.ts +55 -0
- package/dist/commonjs/models/responseformattext.d.ts.map +1 -0
- package/dist/commonjs/models/responseformattext.js +87 -0
- package/dist/commonjs/models/responseformattext.js.map +1 -0
- package/dist/commonjs/models/responseformattextconfig.d.ts +31 -0
- package/dist/commonjs/models/responseformattextconfig.d.ts.map +1 -0
- package/dist/commonjs/models/responseformattextconfig.js +76 -0
- package/dist/commonjs/models/responseformattextconfig.js.map +1 -0
- package/dist/commonjs/models/responsefunctioncalloutputitem.d.ts +64 -0
- package/dist/commonjs/models/responsefunctioncalloutputitem.d.ts.map +1 -0
- package/dist/commonjs/models/responsefunctioncalloutputitem.js +105 -0
- package/dist/commonjs/models/responsefunctioncalloutputitem.js.map +1 -0
- package/dist/commonjs/models/responsefunctioncallstatus.d.ts +31 -0
- package/dist/commonjs/models/responsefunctioncallstatus.d.ts.map +1 -0
- package/dist/commonjs/models/responsefunctioncallstatus.js +61 -0
- package/dist/commonjs/models/responsefunctioncallstatus.js.map +1 -0
- package/dist/commonjs/models/responsefunctiontoolcall.d.ts +66 -0
- package/dist/commonjs/models/responsefunctiontoolcall.d.ts.map +1 -0
- package/dist/commonjs/models/responsefunctiontoolcall.js +107 -0
- package/dist/commonjs/models/responsefunctiontoolcall.js.map +1 -0
- package/dist/commonjs/models/responseimagegenerationcallstatus.d.ts +34 -0
- package/dist/commonjs/models/responseimagegenerationcallstatus.d.ts.map +1 -0
- package/dist/commonjs/models/responseimagegenerationcallstatus.js +62 -0
- package/dist/commonjs/models/responseimagegenerationcallstatus.js.map +1 -0
- package/dist/commonjs/models/responseincludable.d.ts +43 -0
- package/dist/commonjs/models/responseincludable.d.ts.map +1 -0
- package/dist/commonjs/models/responseincludable.js +66 -0
- package/dist/commonjs/models/responseincludable.js.map +1 -0
- package/dist/commonjs/models/responseinput.d.ts +29 -0
- package/dist/commonjs/models/responseinput.d.ts.map +1 -0
- package/dist/commonjs/models/responseinput.js +66 -0
- package/dist/commonjs/models/responseinput.js.map +1 -0
- package/dist/commonjs/models/responseinputcontent.d.ts +43 -0
- package/dist/commonjs/models/responseinputcontent.d.ts.map +1 -0
- package/dist/commonjs/models/responseinputcontent.js +88 -0
- package/dist/commonjs/models/responseinputcontent.js.map +1 -0
- package/dist/commonjs/models/responseinputfile.d.ts +63 -0
- package/dist/commonjs/models/responseinputfile.d.ts.map +1 -0
- package/dist/commonjs/models/responseinputfile.js +108 -0
- package/dist/commonjs/models/responseinputfile.js.map +1 -0
- package/dist/commonjs/models/responseinputimage.d.ts +60 -0
- package/dist/commonjs/models/responseinputimage.d.ts.map +1 -0
- package/dist/commonjs/models/responseinputimage.js +101 -0
- package/dist/commonjs/models/responseinputimage.js.map +1 -0
- package/dist/commonjs/models/responseinputimagedetail.d.ts +31 -0
- package/dist/commonjs/models/responseinputimagedetail.d.ts.map +1 -0
- package/dist/commonjs/models/responseinputimagedetail.js +61 -0
- package/dist/commonjs/models/responseinputimagedetail.js.map +1 -0
- package/dist/commonjs/models/responseinputitem.d.ts +35 -0
- package/dist/commonjs/models/responseinputitem.d.ts.map +1 -0
- package/dist/commonjs/models/responseinputitem.js +88 -0
- package/dist/commonjs/models/responseinputitem.js.map +1 -0
- package/dist/commonjs/models/responseinputmessagecontentunion.d.ts +26 -0
- package/dist/commonjs/models/responseinputmessagecontentunion.d.ts.map +1 -0
- package/dist/commonjs/models/responseinputmessagecontentunion.js +66 -0
- package/dist/commonjs/models/responseinputmessagecontentunion.js.map +1 -0
- package/dist/commonjs/models/responseinputmessageitem.d.ts +63 -0
- package/dist/commonjs/models/responseinputmessageitem.d.ts.map +1 -0
- package/dist/commonjs/models/responseinputmessageitem.js +95 -0
- package/dist/commonjs/models/responseinputmessageitem.js.map +1 -0
- package/dist/commonjs/models/responseinputmessageitemrole.d.ts +92 -0
- package/dist/commonjs/models/responseinputmessageitemrole.d.ts.map +1 -0
- package/dist/commonjs/models/responseinputmessageitemrole.js +127 -0
- package/dist/commonjs/models/responseinputmessageitemrole.js.map +1 -0
- package/dist/commonjs/models/responseinputmessagerole.d.ts +114 -0
- package/dist/commonjs/models/responseinputmessagerole.d.ts.map +1 -0
- package/dist/commonjs/models/responseinputmessagerole.js +147 -0
- package/dist/commonjs/models/responseinputmessagerole.js.map +1 -0
- package/dist/commonjs/models/responseinputtext.d.ts +57 -0
- package/dist/commonjs/models/responseinputtext.d.ts.map +1 -0
- package/dist/commonjs/models/responseinputtext.js +89 -0
- package/dist/commonjs/models/responseinputtext.js.map +1 -0
- package/dist/commonjs/models/responseprompt.d.ts +39 -0
- package/dist/commonjs/models/responseprompt.d.ts.map +1 -0
- package/dist/commonjs/models/responseprompt.js +74 -0
- package/dist/commonjs/models/responseprompt.js.map +1 -0
- package/dist/commonjs/models/responsereasoningconfig.d.ts +67 -0
- package/dist/commonjs/models/responsereasoningconfig.d.ts.map +1 -0
- package/dist/commonjs/models/responsereasoningconfig.js +93 -0
- package/dist/commonjs/models/responsereasoningconfig.js.map +1 -0
- package/dist/commonjs/models/responsereasoningsummarymode.d.ts +31 -0
- package/dist/commonjs/models/responsereasoningsummarymode.d.ts.map +1 -0
- package/dist/commonjs/models/responsereasoningsummarymode.js +61 -0
- package/dist/commonjs/models/responsereasoningsummarymode.js.map +1 -0
- package/dist/commonjs/models/responsesannotation.d.ts +31 -0
- package/dist/commonjs/models/responsesannotation.d.ts.map +1 -0
- package/dist/commonjs/models/responsesannotation.js +76 -0
- package/dist/commonjs/models/responsesannotation.js.map +1 -0
- package/dist/commonjs/models/responsesannotationfilecitation.d.ts +58 -0
- package/dist/commonjs/models/responsesannotationfilecitation.d.ts.map +1 -0
- package/dist/commonjs/models/responsesannotationfilecitation.js +102 -0
- package/dist/commonjs/models/responsesannotationfilecitation.js.map +1 -0
- package/dist/commonjs/models/responsesannotationfilepath.d.ts +56 -0
- package/dist/commonjs/models/responsesannotationfilepath.d.ts.map +1 -0
- package/dist/commonjs/models/responsesannotationfilepath.js +100 -0
- package/dist/commonjs/models/responsesannotationfilepath.js.map +1 -0
- package/dist/commonjs/models/responsesannotationurlcitation.d.ts +60 -0
- package/dist/commonjs/models/responsesannotationurlcitation.d.ts.map +1 -0
- package/dist/commonjs/models/responsesannotationurlcitation.js +106 -0
- package/dist/commonjs/models/responsesannotationurlcitation.js.map +1 -0
- package/dist/commonjs/models/responsesimagegenerationcall.d.ts +62 -0
- package/dist/commonjs/models/responsesimagegenerationcall.d.ts.map +1 -0
- package/dist/commonjs/models/responsesimagegenerationcall.js +94 -0
- package/dist/commonjs/models/responsesimagegenerationcall.js.map +1 -0
- package/dist/commonjs/models/responsesincompletedetails.d.ts +58 -0
- package/dist/commonjs/models/responsesincompletedetails.d.ts.map +1 -0
- package/dist/commonjs/models/responsesincompletedetails.js +88 -0
- package/dist/commonjs/models/responsesincompletedetails.js.map +1 -0
- package/dist/commonjs/models/responsesinputtokensdetails.d.ts +32 -0
- package/dist/commonjs/models/responsesinputtokensdetails.d.ts.map +1 -0
- package/dist/commonjs/models/responsesinputtokensdetails.js +78 -0
- package/dist/commonjs/models/responsesinputtokensdetails.js.map +1 -0
- package/dist/commonjs/models/responsesmessagecontent.d.ts +27 -0
- package/dist/commonjs/models/responsesmessagecontent.d.ts.map +1 -0
- package/dist/commonjs/models/responsesmessagecontent.js +73 -0
- package/dist/commonjs/models/responsesmessagecontent.js.map +1 -0
- package/dist/commonjs/models/responsesmessagestatus.d.ts +92 -0
- package/dist/commonjs/models/responsesmessagestatus.d.ts.map +1 -0
- package/dist/commonjs/models/responsesmessagestatus.js +127 -0
- package/dist/commonjs/models/responsesmessagestatus.js.map +1 -0
- package/dist/commonjs/models/responsesnonstreamingresponse.d.ts +321 -0
- package/dist/commonjs/models/responsesnonstreamingresponse.d.ts.map +1 -0
- package/dist/commonjs/models/responsesnonstreamingresponse.js +330 -0
- package/dist/commonjs/models/responsesnonstreamingresponse.js.map +1 -0
- package/dist/commonjs/models/responsesoutputitem.d.ts +58 -0
- package/dist/commonjs/models/responsesoutputitem.d.ts.map +1 -0
- package/dist/commonjs/models/responsesoutputitem.js +109 -0
- package/dist/commonjs/models/responsesoutputitem.js.map +1 -0
- package/dist/commonjs/models/responsesoutputitemfilesearchcall.d.ts +92 -0
- package/dist/commonjs/models/responsesoutputitemfilesearchcall.d.ts.map +1 -0
- package/dist/commonjs/models/responsesoutputitemfilesearchcall.js +115 -0
- package/dist/commonjs/models/responsesoutputitemfilesearchcall.js.map +1 -0
- package/dist/commonjs/models/responsesoutputitemfunctioncall.d.ts +63 -0
- package/dist/commonjs/models/responsesoutputitemfunctioncall.d.ts.map +1 -0
- package/dist/commonjs/models/responsesoutputitemfunctioncall.js +104 -0
- package/dist/commonjs/models/responsesoutputitemfunctioncall.js.map +1 -0
- package/dist/commonjs/models/responsesoutputitemreasoning.d.ts +97 -0
- package/dist/commonjs/models/responsesoutputitemreasoning.d.ts.map +1 -0
- package/dist/commonjs/models/responsesoutputitemreasoning.js +132 -0
- package/dist/commonjs/models/responsesoutputitemreasoning.js.map +1 -0
- package/dist/commonjs/models/responsesoutputmessage.d.ts +87 -0
- package/dist/commonjs/models/responsesoutputmessage.d.ts.map +1 -0
- package/dist/commonjs/models/responsesoutputmessage.js +115 -0
- package/dist/commonjs/models/responsesoutputmessage.js.map +1 -0
- package/dist/commonjs/models/responsesoutputtext.d.ts +60 -0
- package/dist/commonjs/models/responsesoutputtext.d.ts.map +1 -0
- package/dist/commonjs/models/responsesoutputtext.js +92 -0
- package/dist/commonjs/models/responsesoutputtext.js.map +1 -0
- package/dist/commonjs/models/responsesoutputtokensdetails.d.ts +32 -0
- package/dist/commonjs/models/responsesoutputtokensdetails.d.ts.map +1 -0
- package/dist/commonjs/models/responsesoutputtokensdetails.js +78 -0
- package/dist/commonjs/models/responsesoutputtokensdetails.js.map +1 -0
- package/dist/commonjs/models/responsesreasoningsummarytext.d.ts +54 -0
- package/dist/commonjs/models/responsesreasoningsummarytext.d.ts.map +1 -0
- package/dist/commonjs/models/responsesreasoningsummarytext.js +89 -0
- package/dist/commonjs/models/responsesreasoningsummarytext.js.map +1 -0
- package/dist/commonjs/models/responsesreasoningtextcontent.d.ts +54 -0
- package/dist/commonjs/models/responsesreasoningtextcontent.d.ts.map +1 -0
- package/dist/commonjs/models/responsesreasoningtextcontent.js +89 -0
- package/dist/commonjs/models/responsesreasoningtextcontent.js.map +1 -0
- package/dist/commonjs/models/responsesrefusalcontent.d.ts +57 -0
- package/dist/commonjs/models/responsesrefusalcontent.d.ts.map +1 -0
- package/dist/commonjs/models/responsesrefusalcontent.js +89 -0
- package/dist/commonjs/models/responsesrefusalcontent.js.map +1 -0
- package/dist/commonjs/models/responsesstreamchunkunion.d.ts +2512 -0
- package/dist/commonjs/models/responsesstreamchunkunion.d.ts.map +1 -0
- package/dist/commonjs/models/responsesstreamchunkunion.js +2823 -0
- package/dist/commonjs/models/responsesstreamchunkunion.js.map +1 -0
- package/dist/commonjs/models/responsesusage.d.ts +48 -0
- package/dist/commonjs/models/responsesusage.d.ts.map +1 -0
- package/dist/commonjs/models/responsesusage.js +96 -0
- package/dist/commonjs/models/responsesusage.js.map +1 -0
- package/dist/commonjs/models/responseswebsearchcalloutput.d.ts +90 -0
- package/dist/commonjs/models/responseswebsearchcalloutput.d.ts.map +1 -0
- package/dist/commonjs/models/responseswebsearchcalloutput.js +112 -0
- package/dist/commonjs/models/responseswebsearchcalloutput.js.map +1 -0
- package/dist/commonjs/models/responsetextconfig.d.ts +39 -0
- package/dist/commonjs/models/responsetextconfig.d.ts.map +1 -0
- package/dist/commonjs/models/responsetextconfig.js +73 -0
- package/dist/commonjs/models/responsetextconfig.js.map +1 -0
- package/dist/commonjs/models/responsetextverbosity.d.ts +31 -0
- package/dist/commonjs/models/responsetextverbosity.d.ts.map +1 -0
- package/dist/commonjs/models/responsetextverbosity.js +61 -0
- package/dist/commonjs/models/responsetextverbosity.js.map +1 -0
- package/dist/commonjs/models/toolchoice.d.ts +97 -0
- package/dist/commonjs/models/toolchoice.d.ts.map +1 -0
- package/dist/commonjs/models/toolchoice.js +133 -0
- package/dist/commonjs/models/toolchoice.js.map +1 -0
- package/dist/commonjs/models/toolchoicefunction.d.ts +57 -0
- package/dist/commonjs/models/toolchoicefunction.d.ts.map +1 -0
- package/dist/commonjs/models/toolchoicefunction.js +89 -0
- package/dist/commonjs/models/toolchoicefunction.js.map +1 -0
- package/dist/commonjs/models/toolchoicetypes.d.ts +33 -0
- package/dist/commonjs/models/toolchoicetypes.d.ts.map +1 -0
- package/dist/commonjs/models/toolchoicetypes.js +70 -0
- package/dist/commonjs/models/toolchoicetypes.js.map +1 -0
- package/dist/commonjs/models/toolchoicetypeunion.d.ts +136 -0
- package/dist/commonjs/models/toolchoicetypeunion.d.ts.map +1 -0
- package/dist/commonjs/models/toolchoicetypeunion.js +168 -0
- package/dist/commonjs/models/toolchoicetypeunion.js.map +1 -0
- package/dist/commonjs/react-query/analyticsGetUserActivity.d.ts +36 -0
- package/dist/commonjs/react-query/analyticsGetUserActivity.d.ts.map +1 -0
- package/dist/commonjs/react-query/analyticsGetUserActivity.js +87 -0
- package/dist/commonjs/react-query/analyticsGetUserActivity.js.map +1 -0
- package/dist/commonjs/react-query/apiKeysCreate.d.ts +20 -0
- package/dist/commonjs/react-query/apiKeysCreate.d.ts.map +1 -0
- package/dist/commonjs/react-query/apiKeysCreate.js +44 -0
- package/dist/commonjs/react-query/apiKeysCreate.js.map +1 -0
- package/dist/commonjs/react-query/apiKeysDelete.d.ts +20 -0
- package/dist/commonjs/react-query/apiKeysDelete.d.ts.map +1 -0
- package/dist/commonjs/react-query/apiKeysDelete.js +44 -0
- package/dist/commonjs/react-query/apiKeysDelete.js.map +1 -0
- package/dist/commonjs/react-query/apiKeysGet.d.ts +24 -0
- package/dist/commonjs/react-query/apiKeysGet.d.ts.map +1 -0
- package/dist/commonjs/react-query/apiKeysGet.js +76 -0
- package/dist/commonjs/react-query/apiKeysGet.js.map +1 -0
- package/dist/commonjs/react-query/apiKeysGetCurrentKeyMetadata.d.ts +29 -0
- package/dist/commonjs/react-query/apiKeysGetCurrentKeyMetadata.d.ts.map +1 -0
- package/dist/commonjs/react-query/apiKeysGetCurrentKeyMetadata.js +75 -0
- package/dist/commonjs/react-query/apiKeysGetCurrentKeyMetadata.js.map +1 -0
- package/dist/commonjs/react-query/apiKeysList.d.ts +37 -0
- package/dist/commonjs/react-query/apiKeysList.d.ts.map +1 -0
- package/dist/commonjs/react-query/apiKeysList.js +79 -0
- package/dist/commonjs/react-query/apiKeysList.js.map +1 -0
- package/dist/commonjs/react-query/apiKeysUpdate.d.ts +20 -0
- package/dist/commonjs/react-query/apiKeysUpdate.d.ts.map +1 -0
- package/dist/commonjs/react-query/apiKeysUpdate.js +44 -0
- package/dist/commonjs/react-query/apiKeysUpdate.js.map +1 -0
- package/dist/commonjs/react-query/betaResponsesSendRequest.d.ts +28 -0
- package/dist/commonjs/react-query/betaResponsesSendRequest.d.ts.map +1 -0
- package/dist/commonjs/react-query/betaResponsesSendRequest.js +50 -0
- package/dist/commonjs/react-query/betaResponsesSendRequest.js.map +1 -0
- package/dist/commonjs/react-query/chatSend.d.ts +1 -1
- package/dist/commonjs/react-query/chatSend.d.ts.map +1 -1
- package/dist/commonjs/react-query/completionsGenerate.d.ts +2 -7
- package/dist/commonjs/react-query/completionsGenerate.d.ts.map +1 -1
- package/dist/commonjs/react-query/completionsGenerate.js +0 -3
- package/dist/commonjs/react-query/completionsGenerate.js.map +1 -1
- package/dist/commonjs/react-query/creditsAddCoinbaseCharge.d.ts +21 -0
- package/dist/commonjs/react-query/creditsAddCoinbaseCharge.d.ts.map +1 -0
- package/dist/commonjs/react-query/creditsAddCoinbaseCharge.js +44 -0
- package/dist/commonjs/react-query/creditsAddCoinbaseCharge.js.map +1 -0
- package/dist/commonjs/react-query/creditsGet.d.ts +23 -0
- package/dist/commonjs/react-query/creditsGet.d.ts.map +1 -0
- package/dist/commonjs/react-query/creditsGet.js +69 -0
- package/dist/commonjs/react-query/creditsGet.js.map +1 -0
- package/dist/commonjs/react-query/embeddingsGenerate.d.ts +2 -2
- package/dist/commonjs/react-query/embeddingsGenerate.d.ts.map +1 -1
- package/dist/commonjs/react-query/endpointsList.d.ts +24 -0
- package/dist/commonjs/react-query/endpointsList.d.ts.map +1 -0
- package/dist/commonjs/react-query/endpointsList.js +76 -0
- package/dist/commonjs/react-query/endpointsList.js.map +1 -0
- package/dist/commonjs/react-query/endpointsPreviewZDR.d.ts +23 -0
- package/dist/commonjs/react-query/endpointsPreviewZDR.d.ts.map +1 -0
- package/dist/commonjs/react-query/endpointsPreviewZDR.js +69 -0
- package/dist/commonjs/react-query/endpointsPreviewZDR.js.map +1 -0
- package/dist/commonjs/react-query/generationsGetMetadata.d.ts +30 -0
- package/dist/commonjs/react-query/generationsGetMetadata.d.ts.map +1 -0
- package/dist/commonjs/react-query/generationsGetMetadata.js +81 -0
- package/dist/commonjs/react-query/generationsGetMetadata.js.map +1 -0
- package/dist/commonjs/react-query/index.d.ts +20 -21
- package/dist/commonjs/react-query/index.d.ts.map +1 -1
- package/dist/commonjs/react-query/index.js +20 -21
- package/dist/commonjs/react-query/index.js.map +1 -1
- package/dist/commonjs/react-query/modelGetParameters.d.ts +38 -0
- package/dist/commonjs/react-query/modelGetParameters.d.ts.map +1 -0
- package/dist/commonjs/react-query/modelGetParameters.js +85 -0
- package/dist/commonjs/react-query/modelGetParameters.js.map +1 -0
- package/dist/commonjs/react-query/modelsGetCount.d.ts +23 -0
- package/dist/commonjs/react-query/modelsGetCount.d.ts.map +1 -0
- package/dist/commonjs/react-query/modelsGetCount.js +69 -0
- package/dist/commonjs/react-query/modelsGetCount.js.map +1 -0
- package/dist/commonjs/react-query/modelsList.d.ts +47 -0
- package/dist/commonjs/react-query/modelsList.d.ts.map +1 -0
- package/dist/commonjs/react-query/modelsList.js +84 -0
- package/dist/commonjs/react-query/modelsList.js.map +1 -0
- package/dist/commonjs/react-query/modelsListUserModels.d.ts +23 -0
- package/dist/commonjs/react-query/modelsListUserModels.d.ts.map +1 -0
- package/dist/commonjs/react-query/modelsListUserModels.js +69 -0
- package/dist/commonjs/react-query/modelsListUserModels.js.map +1 -0
- package/dist/commonjs/react-query/oAuthCreateAuthorizationCode.d.ts +23 -0
- package/dist/commonjs/react-query/oAuthCreateAuthorizationCode.d.ts.map +1 -0
- package/dist/commonjs/react-query/oAuthCreateAuthorizationCode.js +47 -0
- package/dist/commonjs/react-query/oAuthCreateAuthorizationCode.js.map +1 -0
- package/dist/commonjs/react-query/oAuthExchangeAuthorizationCode.d.ts +23 -0
- package/dist/commonjs/react-query/oAuthExchangeAuthorizationCode.d.ts.map +1 -0
- package/dist/commonjs/react-query/oAuthExchangeAuthorizationCode.js +47 -0
- package/dist/commonjs/react-query/oAuthExchangeAuthorizationCode.js.map +1 -0
- package/dist/commonjs/react-query/providersList.d.ts +23 -0
- package/dist/commonjs/react-query/providersList.d.ts.map +1 -0
- package/dist/commonjs/react-query/providersList.js +69 -0
- package/dist/commonjs/react-query/providersList.js.map +1 -0
- package/dist/commonjs/sdk/analytics.d.ts +1 -1
- package/dist/commonjs/sdk/analytics.d.ts.map +1 -1
- package/dist/commonjs/sdk/analytics.js +3 -3
- package/dist/commonjs/sdk/analytics.js.map +1 -1
- package/dist/commonjs/sdk/apikeys.d.ts +6 -13
- package/dist/commonjs/sdk/apikeys.d.ts.map +1 -1
- package/dist/commonjs/sdk/apikeys.js +18 -28
- package/dist/commonjs/sdk/apikeys.js.map +1 -1
- package/dist/commonjs/sdk/beta.d.ts +7 -0
- package/dist/commonjs/sdk/beta.d.ts.map +1 -0
- package/dist/commonjs/sdk/beta.js +15 -0
- package/dist/commonjs/sdk/beta.js.map +1 -0
- package/dist/commonjs/sdk/chat.d.ts +1 -1
- package/dist/commonjs/sdk/chat.d.ts.map +1 -1
- package/dist/commonjs/sdk/completions.d.ts +1 -17
- package/dist/commonjs/sdk/completions.d.ts.map +1 -1
- package/dist/commonjs/sdk/completions.js +7 -3
- package/dist/commonjs/sdk/completions.js.map +1 -1
- package/dist/commonjs/sdk/credits.d.ts +2 -2
- package/dist/commonjs/sdk/credits.d.ts.map +1 -1
- package/dist/commonjs/sdk/credits.js +6 -6
- package/dist/commonjs/sdk/credits.js.map +1 -1
- package/dist/commonjs/sdk/embeddings.d.ts +1 -1
- package/dist/commonjs/sdk/embeddings.d.ts.map +1 -1
- package/dist/commonjs/sdk/embeddings.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 +6 -6
- 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/model.d.ts +1 -1
- package/dist/commonjs/sdk/model.d.ts.map +1 -1
- package/dist/commonjs/sdk/model.js +3 -3
- package/dist/commonjs/sdk/model.js.map +1 -1
- package/dist/commonjs/sdk/models.d.ts +7 -7
- package/dist/commonjs/sdk/models.d.ts.map +1 -1
- package/dist/commonjs/sdk/models.js +12 -12
- package/dist/commonjs/sdk/models.js.map +1 -1
- package/dist/commonjs/sdk/oauth.d.ts +2 -2
- package/dist/commonjs/sdk/oauth.d.ts.map +1 -1
- package/dist/commonjs/sdk/oauth.js +6 -6
- package/dist/commonjs/sdk/oauth.js.map +1 -1
- package/dist/commonjs/sdk/providers.d.ts +1 -1
- package/dist/commonjs/sdk/providers.d.ts.map +1 -1
- package/dist/commonjs/sdk/providers.js +3 -3
- package/dist/commonjs/sdk/providers.js.map +1 -1
- package/dist/commonjs/sdk/responses.d.ts +12 -11
- package/dist/commonjs/sdk/responses.d.ts.map +1 -1
- package/dist/commonjs/sdk/responses.js +6 -6
- package/dist/commonjs/sdk/responses.js.map +1 -1
- package/dist/commonjs/sdk/sdk.d.ts +3 -3
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
- package/dist/commonjs/sdk/sdk.js +3 -3
- package/dist/commonjs/sdk/sdk.js.map +1 -1
- package/dist/esm/funcs/analyticsGetUserActivity.d.ts +18 -0
- package/dist/esm/funcs/analyticsGetUserActivity.d.ts.map +1 -0
- package/dist/esm/funcs/analyticsGetUserActivity.js +85 -0
- package/dist/esm/funcs/analyticsGetUserActivity.js.map +1 -0
- package/dist/esm/funcs/apiKeysCreate.d.ts +15 -0
- package/dist/esm/funcs/apiKeysCreate.d.ts.map +1 -0
- package/dist/esm/funcs/apiKeysCreate.js +79 -0
- package/dist/esm/funcs/apiKeysCreate.js.map +1 -0
- package/dist/esm/funcs/apiKeysDelete.d.ts +15 -0
- package/dist/esm/funcs/apiKeysDelete.d.ts.map +1 -0
- package/dist/esm/funcs/apiKeysDelete.js +84 -0
- package/dist/esm/funcs/apiKeysDelete.js.map +1 -0
- package/dist/esm/funcs/apiKeysGet.d.ts +15 -0
- package/dist/esm/funcs/apiKeysGet.d.ts.map +1 -0
- package/dist/esm/funcs/apiKeysGet.js +84 -0
- package/dist/esm/funcs/apiKeysGet.js.map +1 -0
- package/dist/esm/funcs/apiKeysGetCurrentKeyMetadata.d.ts +18 -0
- package/dist/esm/funcs/apiKeysGetCurrentKeyMetadata.d.ts.map +1 -0
- package/dist/esm/funcs/apiKeysGetCurrentKeyMetadata.js +72 -0
- package/dist/esm/funcs/apiKeysGetCurrentKeyMetadata.js.map +1 -0
- package/dist/esm/funcs/apiKeysList.d.ts +15 -0
- package/dist/esm/funcs/apiKeysList.d.ts.map +1 -0
- package/dist/esm/funcs/apiKeysList.js +83 -0
- package/dist/esm/funcs/apiKeysList.js.map +1 -0
- package/dist/esm/funcs/apiKeysUpdate.d.ts +15 -0
- package/dist/esm/funcs/apiKeysUpdate.d.ts.map +1 -0
- package/dist/esm/funcs/apiKeysUpdate.js +85 -0
- package/dist/esm/funcs/apiKeysUpdate.js.map +1 -0
- package/dist/esm/funcs/betaResponsesSendRequest.d.ts +36 -0
- package/dist/esm/funcs/betaResponsesSendRequest.d.ts.map +1 -0
- package/dist/esm/funcs/betaResponsesSendRequest.js +83 -0
- package/dist/esm/funcs/betaResponsesSendRequest.js.map +1 -0
- package/dist/esm/funcs/chatSend.d.ts +1 -1
- package/dist/esm/funcs/chatSend.d.ts.map +1 -1
- package/dist/esm/funcs/chatSend.js +3 -3
- package/dist/esm/funcs/chatSend.js.map +1 -1
- package/dist/esm/funcs/completionsGenerate.d.ts +1 -19
- package/dist/esm/funcs/completionsGenerate.d.ts.map +1 -1
- package/dist/esm/funcs/completionsGenerate.js +10 -11
- package/dist/esm/funcs/completionsGenerate.js.map +1 -1
- package/dist/esm/funcs/creditsAddCoinbaseCharge.d.ts +15 -0
- package/dist/esm/funcs/creditsAddCoinbaseCharge.d.ts.map +1 -0
- package/dist/esm/funcs/creditsAddCoinbaseCharge.js +83 -0
- package/dist/esm/funcs/creditsAddCoinbaseCharge.js.map +1 -0
- package/dist/esm/funcs/creditsGet.d.ts +15 -0
- package/dist/esm/funcs/creditsGet.d.ts.map +1 -0
- package/dist/esm/funcs/creditsGet.js +69 -0
- package/dist/esm/funcs/creditsGet.js.map +1 -0
- package/dist/esm/funcs/embeddingsGenerate.d.ts +1 -1
- package/dist/esm/funcs/embeddingsGenerate.d.ts.map +1 -1
- package/dist/esm/funcs/embeddingsGenerate.js +5 -7
- package/dist/esm/funcs/embeddingsGenerate.js.map +1 -1
- package/dist/esm/funcs/endpointsList.d.ts +15 -0
- package/dist/esm/funcs/endpointsList.d.ts.map +1 -0
- package/dist/esm/funcs/endpointsList.js +88 -0
- package/dist/esm/funcs/endpointsList.js.map +1 -0
- package/dist/esm/funcs/endpointsPreviewZDR.d.ts +15 -0
- package/dist/esm/funcs/endpointsPreviewZDR.d.ts.map +1 -0
- package/dist/esm/funcs/endpointsPreviewZDR.js +69 -0
- package/dist/esm/funcs/endpointsPreviewZDR.js.map +1 -0
- package/dist/esm/funcs/generationsGetMetadata.d.ts +15 -0
- package/dist/esm/funcs/generationsGetMetadata.d.ts.map +1 -0
- package/dist/esm/funcs/generationsGetMetadata.js +82 -0
- package/dist/esm/funcs/generationsGetMetadata.js.map +1 -0
- package/dist/esm/funcs/modelGetParameters.d.ts +15 -0
- package/dist/esm/funcs/modelGetParameters.d.ts.map +1 -0
- package/dist/esm/funcs/modelGetParameters.js +96 -0
- package/dist/esm/funcs/modelGetParameters.js.map +1 -0
- package/dist/esm/funcs/modelsGetCount.d.ts +15 -0
- package/dist/esm/funcs/modelsGetCount.d.ts.map +1 -0
- package/dist/esm/funcs/modelsGetCount.js +69 -0
- package/dist/esm/funcs/modelsGetCount.js.map +1 -0
- package/dist/esm/funcs/modelsList.d.ts +21 -0
- package/dist/esm/funcs/modelsList.d.ts.map +1 -0
- package/dist/esm/funcs/modelsList.js +93 -0
- package/dist/esm/funcs/modelsList.js.map +1 -0
- package/dist/esm/funcs/modelsListUserModels.d.ts +15 -0
- package/dist/esm/funcs/modelsListUserModels.d.ts.map +1 -0
- package/dist/esm/funcs/modelsListUserModels.js +73 -0
- package/dist/esm/funcs/modelsListUserModels.js.map +1 -0
- package/dist/esm/funcs/oAuthCreateAuthorizationCode.d.ts +18 -0
- package/dist/esm/funcs/oAuthCreateAuthorizationCode.d.ts.map +1 -0
- package/dist/esm/funcs/oAuthCreateAuthorizationCode.js +82 -0
- package/dist/esm/funcs/oAuthCreateAuthorizationCode.js.map +1 -0
- package/dist/esm/funcs/oAuthExchangeAuthorizationCode.d.ts +18 -0
- package/dist/esm/funcs/oAuthExchangeAuthorizationCode.d.ts.map +1 -0
- package/dist/esm/funcs/oAuthExchangeAuthorizationCode.js +82 -0
- package/dist/esm/funcs/oAuthExchangeAuthorizationCode.js.map +1 -0
- package/dist/esm/funcs/providersList.d.ts +15 -0
- package/dist/esm/funcs/providersList.d.ts.map +1 -0
- package/dist/esm/funcs/providersList.js +69 -0
- package/dist/esm/funcs/providersList.js.map +1 -0
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/models/chaterror.d.ts +13 -13
- package/dist/esm/models/chaterror.d.ts.map +1 -1
- package/dist/esm/models/chaterror.js +14 -13
- package/dist/esm/models/chaterror.js.map +1 -1
- package/dist/esm/models/chatgenerationparams.d.ts +16 -16
- package/dist/esm/models/chatgenerationparams.d.ts.map +1 -1
- package/dist/esm/models/chatgenerationparams.js +25 -26
- package/dist/esm/models/chatgenerationparams.js.map +1 -1
- package/dist/esm/models/chatmessagecontentitemaudio.d.ts +8 -8
- package/dist/esm/models/chatmessagecontentitemaudio.d.ts.map +1 -1
- package/dist/esm/models/chatmessagecontentitemaudio.js +12 -13
- package/dist/esm/models/chatmessagecontentitemaudio.js.map +1 -1
- package/dist/esm/models/chatstreamingmessagechunk.d.ts +8 -8
- package/dist/esm/models/chatstreamingmessagechunk.d.ts.map +1 -1
- package/dist/esm/models/chatstreamingmessagechunk.js +12 -12
- package/dist/esm/models/chatstreamingmessagechunk.js.map +1 -1
- package/dist/esm/models/chatstreamingresponsechunk.d.ts +15 -15
- package/dist/esm/models/chatstreamingresponsechunk.d.ts.map +1 -1
- package/dist/esm/models/chatstreamingresponsechunk.js +18 -16
- package/dist/esm/models/chatstreamingresponsechunk.js.map +1 -1
- package/dist/esm/models/completioncreateparams.d.ts +13 -13
- package/dist/esm/models/completioncreateparams.d.ts.map +1 -1
- package/dist/esm/models/completioncreateparams.js +13 -14
- package/dist/esm/models/completioncreateparams.js.map +1 -1
- package/dist/esm/models/errorresponse.d.ts +8 -8
- package/dist/esm/models/errorresponse.d.ts.map +1 -1
- package/dist/esm/models/errorresponse.js +12 -13
- package/dist/esm/models/errorresponse.js.map +1 -1
- package/dist/esm/models/errors/index.d.ts +1 -2
- package/dist/esm/models/errors/index.d.ts.map +1 -1
- package/dist/esm/models/errors/index.js +1 -2
- package/dist/esm/models/errors/index.js.map +1 -1
- package/dist/esm/models/errors/listproviders.d.ts +49 -0
- package/dist/esm/models/errors/listproviders.d.ts.map +1 -0
- package/dist/esm/models/errors/listproviders.js +51 -0
- package/dist/esm/models/errors/listproviders.js.map +1 -0
- package/dist/esm/models/index.d.ts +54 -3
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +54 -3
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/openairesponsesrequest.d.ts +1704 -0
- package/dist/esm/models/openairesponsesrequest.d.ts.map +1 -0
- package/dist/esm/models/openairesponsesrequest.js +1138 -0
- package/dist/esm/models/openairesponsesrequest.js.map +1 -0
- package/dist/esm/models/operations/addcoinbasecharge.d.ts +270 -0
- package/dist/esm/models/operations/addcoinbasecharge.d.ts.map +1 -0
- package/dist/esm/models/operations/addcoinbasecharge.js +322 -0
- package/dist/esm/models/operations/addcoinbasecharge.js.map +1 -0
- package/dist/esm/models/operations/create.d.ts +144 -0
- package/dist/esm/models/operations/create.d.ts.map +1 -0
- package/dist/esm/models/operations/create.js +120 -0
- package/dist/esm/models/operations/create.js.map +1 -0
- package/dist/esm/models/operations/createauthorizationcode.d.ts +151 -0
- package/dist/esm/models/operations/createauthorizationcode.d.ts.map +1 -0
- package/dist/esm/models/operations/createauthorizationcode.js +138 -0
- package/dist/esm/models/operations/createauthorizationcode.js.map +1 -0
- package/dist/esm/models/operations/delete.d.ts +60 -0
- package/dist/esm/models/operations/delete.d.ts.map +1 -0
- package/dist/esm/models/operations/delete.js +56 -0
- package/dist/esm/models/operations/delete.js.map +1 -0
- package/dist/esm/models/operations/exchangeauthorizationcode.d.ts +110 -0
- package/dist/esm/models/operations/exchangeauthorizationcode.d.ts.map +1 -0
- package/dist/esm/models/operations/exchangeauthorizationcode.js +104 -0
- package/dist/esm/models/operations/exchangeauthorizationcode.js.map +1 -0
- package/dist/esm/models/operations/generate.d.ts +1484 -0
- package/dist/esm/models/operations/generate.d.ts.map +1 -0
- package/dist/esm/models/operations/generate.js +966 -0
- package/dist/esm/models/operations/generate.js.map +1 -0
- package/dist/esm/models/operations/getapikey.d.ts +126 -0
- package/dist/esm/models/operations/getapikey.d.ts.map +1 -0
- package/dist/esm/models/operations/getapikey.js +106 -0
- package/dist/esm/models/operations/getapikey.js.map +1 -0
- package/dist/esm/models/operations/getcount.d.ts +66 -0
- package/dist/esm/models/operations/getcount.d.ts.map +1 -0
- package/dist/esm/models/operations/getcount.js +56 -0
- package/dist/esm/models/operations/getcount.js.map +1 -0
- package/dist/esm/models/operations/getcurrentkey.d.ts +141 -0
- package/dist/esm/models/operations/getcurrentkey.d.ts.map +1 -0
- package/dist/esm/models/operations/getcurrentkey.js +112 -0
- package/dist/esm/models/operations/getcurrentkey.js.map +1 -0
- package/dist/esm/models/operations/getmetadata.d.ts +273 -0
- package/dist/esm/models/operations/getmetadata.d.ts.map +1 -0
- package/dist/esm/models/operations/getmetadata.js +219 -0
- package/dist/esm/models/operations/getmetadata.js.map +1 -0
- package/dist/esm/models/operations/getparameters.d.ts +425 -0
- package/dist/esm/models/operations/getparameters.d.ts.map +1 -0
- package/dist/esm/models/operations/getparameters.js +242 -0
- package/dist/esm/models/operations/getparameters.js.map +1 -0
- package/dist/esm/models/operations/getuseractivity.d.ts +61 -0
- package/dist/esm/models/operations/getuseractivity.d.ts.map +1 -0
- package/dist/esm/models/operations/getuseractivity.js +57 -0
- package/dist/esm/models/operations/getuseractivity.js.map +1 -0
- package/dist/esm/models/operations/index.d.ts +21 -23
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +21 -23
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/list.d.ts +1159 -0
- package/dist/esm/models/operations/list.d.ts.map +1 -0
- package/dist/esm/models/operations/list.js +817 -0
- package/dist/esm/models/operations/list.js.map +1 -0
- package/dist/esm/models/operations/listapikeys.d.ts +125 -0
- package/dist/esm/models/operations/listapikeys.d.ts.map +1 -0
- package/dist/esm/models/operations/listapikeys.js +116 -0
- package/dist/esm/models/operations/listapikeys.js.map +1 -0
- package/dist/esm/models/operations/listmodels.d.ts +937 -0
- package/dist/esm/models/operations/listmodels.d.ts.map +1 -0
- package/dist/esm/models/operations/listmodels.js +785 -0
- package/dist/esm/models/operations/listmodels.js.map +1 -0
- package/dist/esm/models/operations/listproviders.d.ts +116 -0
- package/dist/esm/models/operations/listproviders.d.ts.map +1 -0
- package/dist/esm/models/operations/listproviders.js +105 -0
- package/dist/esm/models/operations/listproviders.js.map +1 -0
- package/dist/esm/models/operations/listusermodels.d.ts +910 -0
- package/dist/esm/models/operations/listusermodels.d.ts.map +1 -0
- package/dist/esm/models/operations/listusermodels.js +748 -0
- package/dist/esm/models/operations/listusermodels.js.map +1 -0
- package/dist/esm/models/operations/previewzdr.d.ts +796 -0
- package/dist/esm/models/operations/previewzdr.d.ts.map +1 -0
- package/dist/esm/models/operations/previewzdr.js +587 -0
- package/dist/esm/models/operations/previewzdr.js.map +1 -0
- package/dist/esm/models/operations/sendchatcompletionrequest.d.ts +27 -0
- package/dist/esm/models/operations/sendchatcompletionrequest.d.ts.map +1 -0
- package/dist/esm/models/operations/sendchatcompletionrequest.js +42 -0
- package/dist/esm/models/operations/sendchatcompletionrequest.js.map +1 -0
- package/dist/esm/models/operations/sendresponsesrequest.d.ts +58 -0
- package/dist/esm/models/operations/sendresponsesrequest.d.ts.map +1 -0
- package/dist/esm/models/operations/sendresponsesrequest.js +79 -0
- package/dist/esm/models/operations/sendresponsesrequest.js.map +1 -0
- package/dist/esm/models/operations/update.d.ts +171 -0
- package/dist/esm/models/operations/update.d.ts.map +1 -0
- package/dist/esm/models/operations/update.js +155 -0
- package/dist/esm/models/operations/update.js.map +1 -0
- package/dist/esm/models/responseeasyinputmessage.d.ts +61 -0
- package/dist/esm/models/responseeasyinputmessage.d.ts.map +1 -0
- package/dist/esm/models/responseeasyinputmessage.js +55 -0
- package/dist/esm/models/responseeasyinputmessage.js.map +1 -0
- package/dist/esm/models/responseformatjsonobject.d.ts +55 -0
- package/dist/esm/models/responseformatjsonobject.d.ts.map +1 -0
- package/dist/esm/models/responseformatjsonobject.js +49 -0
- package/dist/esm/models/responseformatjsonobject.js.map +1 -0
- package/dist/esm/models/responseformatjsonschema.d.ts +67 -0
- package/dist/esm/models/responseformatjsonschema.d.ts.map +1 -0
- package/dist/esm/models/responseformatjsonschema.js +57 -0
- package/dist/esm/models/responseformatjsonschema.js.map +1 -0
- package/dist/esm/models/responseformattext.d.ts +55 -0
- package/dist/esm/models/responseformattext.d.ts.map +1 -0
- package/dist/esm/models/responseformattext.js +49 -0
- package/dist/esm/models/responseformattext.js.map +1 -0
- package/dist/esm/models/responseformattextconfig.d.ts +31 -0
- package/dist/esm/models/responseformattextconfig.d.ts.map +1 -0
- package/dist/esm/models/responseformattextconfig.js +38 -0
- package/dist/esm/models/responseformattextconfig.js.map +1 -0
- package/dist/esm/models/responsefunctioncalloutputitem.d.ts +64 -0
- package/dist/esm/models/responsefunctioncalloutputitem.d.ts.map +1 -0
- package/dist/esm/models/responsefunctioncalloutputitem.js +67 -0
- package/dist/esm/models/responsefunctioncalloutputitem.js.map +1 -0
- package/dist/esm/models/responsefunctioncallstatus.d.ts +31 -0
- package/dist/esm/models/responsefunctioncallstatus.d.ts.map +1 -0
- package/dist/esm/models/responsefunctioncallstatus.js +25 -0
- package/dist/esm/models/responsefunctioncallstatus.js.map +1 -0
- package/dist/esm/models/responsefunctiontoolcall.d.ts +66 -0
- package/dist/esm/models/responsefunctiontoolcall.d.ts.map +1 -0
- package/dist/esm/models/responsefunctiontoolcall.js +69 -0
- package/dist/esm/models/responsefunctiontoolcall.js.map +1 -0
- package/dist/esm/models/responseimagegenerationcallstatus.d.ts +34 -0
- package/dist/esm/models/responseimagegenerationcallstatus.d.ts.map +1 -0
- package/dist/esm/models/responseimagegenerationcallstatus.js +26 -0
- package/dist/esm/models/responseimagegenerationcallstatus.js.map +1 -0
- package/dist/esm/models/responseincludable.d.ts +43 -0
- package/dist/esm/models/responseincludable.d.ts.map +1 -0
- package/dist/esm/models/responseincludable.js +30 -0
- package/dist/esm/models/responseincludable.js.map +1 -0
- package/dist/esm/models/responseinput.d.ts +29 -0
- package/dist/esm/models/responseinput.d.ts.map +1 -0
- package/dist/esm/models/responseinput.js +28 -0
- package/dist/esm/models/responseinput.js.map +1 -0
- package/dist/esm/models/responseinputcontent.d.ts +43 -0
- package/dist/esm/models/responseinputcontent.d.ts.map +1 -0
- package/dist/esm/models/responseinputcontent.js +50 -0
- package/dist/esm/models/responseinputcontent.js.map +1 -0
- package/dist/esm/models/responseinputfile.d.ts +63 -0
- package/dist/esm/models/responseinputfile.d.ts.map +1 -0
- package/dist/esm/models/responseinputfile.js +70 -0
- package/dist/esm/models/responseinputfile.js.map +1 -0
- package/dist/esm/models/responseinputimage.d.ts +60 -0
- package/dist/esm/models/responseinputimage.d.ts.map +1 -0
- package/dist/esm/models/responseinputimage.js +63 -0
- package/dist/esm/models/responseinputimage.js.map +1 -0
- package/dist/esm/models/responseinputimagedetail.d.ts +31 -0
- package/dist/esm/models/responseinputimagedetail.d.ts.map +1 -0
- package/dist/esm/models/responseinputimagedetail.js +25 -0
- package/dist/esm/models/responseinputimagedetail.js.map +1 -0
- package/dist/esm/models/responseinputitem.d.ts +35 -0
- package/dist/esm/models/responseinputitem.d.ts.map +1 -0
- package/dist/esm/models/responseinputitem.js +50 -0
- package/dist/esm/models/responseinputitem.js.map +1 -0
- package/dist/esm/models/responseinputmessagecontentunion.d.ts +26 -0
- package/dist/esm/models/responseinputmessagecontentunion.d.ts.map +1 -0
- package/dist/esm/models/responseinputmessagecontentunion.js +28 -0
- package/dist/esm/models/responseinputmessagecontentunion.js.map +1 -0
- package/dist/esm/models/responseinputmessageitem.d.ts +63 -0
- package/dist/esm/models/responseinputmessageitem.d.ts.map +1 -0
- package/dist/esm/models/responseinputmessageitem.js +57 -0
- package/dist/esm/models/responseinputmessageitem.js.map +1 -0
- package/dist/esm/models/responseinputmessageitemrole.d.ts +92 -0
- package/dist/esm/models/responseinputmessageitemrole.d.ts.map +1 -0
- package/dist/esm/models/responseinputmessageitemrole.js +89 -0
- package/dist/esm/models/responseinputmessageitemrole.js.map +1 -0
- package/dist/esm/models/responseinputmessagerole.d.ts +114 -0
- package/dist/esm/models/responseinputmessagerole.d.ts.map +1 -0
- package/dist/esm/models/responseinputmessagerole.js +109 -0
- package/dist/esm/models/responseinputmessagerole.js.map +1 -0
- package/dist/esm/models/responseinputtext.d.ts +57 -0
- package/dist/esm/models/responseinputtext.d.ts.map +1 -0
- package/dist/esm/models/responseinputtext.js +51 -0
- package/dist/esm/models/responseinputtext.js.map +1 -0
- package/dist/esm/models/responseprompt.d.ts +39 -0
- package/dist/esm/models/responseprompt.d.ts.map +1 -0
- package/dist/esm/models/responseprompt.js +36 -0
- package/dist/esm/models/responseprompt.js.map +1 -0
- package/dist/esm/models/responsereasoningconfig.d.ts +67 -0
- package/dist/esm/models/responsereasoningconfig.d.ts.map +1 -0
- package/dist/esm/models/responsereasoningconfig.js +55 -0
- package/dist/esm/models/responsereasoningconfig.js.map +1 -0
- package/dist/esm/models/responsereasoningsummarymode.d.ts +31 -0
- package/dist/esm/models/responsereasoningsummarymode.d.ts.map +1 -0
- package/dist/esm/models/responsereasoningsummarymode.js +25 -0
- package/dist/esm/models/responsereasoningsummarymode.js.map +1 -0
- package/dist/esm/models/responsesannotation.d.ts +31 -0
- package/dist/esm/models/responsesannotation.d.ts.map +1 -0
- package/dist/esm/models/responsesannotation.js +38 -0
- package/dist/esm/models/responsesannotation.js.map +1 -0
- package/dist/esm/models/responsesannotationfilecitation.d.ts +58 -0
- package/dist/esm/models/responsesannotationfilecitation.d.ts.map +1 -0
- package/dist/esm/models/responsesannotationfilecitation.js +64 -0
- package/dist/esm/models/responsesannotationfilecitation.js.map +1 -0
- package/dist/esm/models/responsesannotationfilepath.d.ts +56 -0
- package/dist/esm/models/responsesannotationfilepath.d.ts.map +1 -0
- package/dist/esm/models/responsesannotationfilepath.js +62 -0
- package/dist/esm/models/responsesannotationfilepath.js.map +1 -0
- package/dist/esm/models/responsesannotationurlcitation.d.ts +60 -0
- package/dist/esm/models/responsesannotationurlcitation.d.ts.map +1 -0
- package/dist/esm/models/responsesannotationurlcitation.js +68 -0
- package/dist/esm/models/responsesannotationurlcitation.js.map +1 -0
- package/dist/esm/models/responsesimagegenerationcall.d.ts +62 -0
- package/dist/esm/models/responsesimagegenerationcall.d.ts.map +1 -0
- package/dist/esm/models/responsesimagegenerationcall.js +56 -0
- package/dist/esm/models/responsesimagegenerationcall.js.map +1 -0
- package/dist/esm/models/responsesincompletedetails.d.ts +58 -0
- package/dist/esm/models/responsesincompletedetails.d.ts.map +1 -0
- package/dist/esm/models/responsesincompletedetails.js +50 -0
- package/dist/esm/models/responsesincompletedetails.js.map +1 -0
- package/dist/esm/models/responsesinputtokensdetails.d.ts +32 -0
- package/dist/esm/models/responsesinputtokensdetails.d.ts.map +1 -0
- package/dist/esm/models/responsesinputtokensdetails.js +40 -0
- package/dist/esm/models/responsesinputtokensdetails.js.map +1 -0
- package/dist/esm/models/responsesmessagecontent.d.ts +27 -0
- package/dist/esm/models/responsesmessagecontent.d.ts.map +1 -0
- package/dist/esm/models/responsesmessagecontent.js +35 -0
- package/dist/esm/models/responsesmessagecontent.js.map +1 -0
- package/dist/esm/models/responsesmessagestatus.d.ts +92 -0
- package/dist/esm/models/responsesmessagestatus.d.ts.map +1 -0
- package/dist/esm/models/responsesmessagestatus.js +89 -0
- package/dist/esm/models/responsesmessagestatus.js.map +1 -0
- package/dist/esm/models/responsesnonstreamingresponse.d.ts +321 -0
- package/dist/esm/models/responsesnonstreamingresponse.d.ts.map +1 -0
- package/dist/esm/models/responsesnonstreamingresponse.js +288 -0
- package/dist/esm/models/responsesnonstreamingresponse.js.map +1 -0
- package/dist/esm/models/responsesoutputitem.d.ts +58 -0
- package/dist/esm/models/responsesoutputitem.d.ts.map +1 -0
- package/dist/esm/models/responsesoutputitem.js +71 -0
- package/dist/esm/models/responsesoutputitem.js.map +1 -0
- package/dist/esm/models/responsesoutputitemfilesearchcall.d.ts +92 -0
- package/dist/esm/models/responsesoutputitemfilesearchcall.d.ts.map +1 -0
- package/dist/esm/models/responsesoutputitemfilesearchcall.js +77 -0
- package/dist/esm/models/responsesoutputitemfilesearchcall.js.map +1 -0
- package/dist/esm/models/responsesoutputitemfunctioncall.d.ts +63 -0
- package/dist/esm/models/responsesoutputitemfunctioncall.d.ts.map +1 -0
- package/dist/esm/models/responsesoutputitemfunctioncall.js +66 -0
- package/dist/esm/models/responsesoutputitemfunctioncall.js.map +1 -0
- package/dist/esm/models/responsesoutputitemreasoning.d.ts +97 -0
- package/dist/esm/models/responsesoutputitemreasoning.d.ts.map +1 -0
- package/dist/esm/models/responsesoutputitemreasoning.js +94 -0
- package/dist/esm/models/responsesoutputitemreasoning.js.map +1 -0
- package/dist/esm/models/responsesoutputmessage.d.ts +87 -0
- package/dist/esm/models/responsesoutputmessage.d.ts.map +1 -0
- package/dist/esm/models/responsesoutputmessage.js +77 -0
- package/dist/esm/models/responsesoutputmessage.js.map +1 -0
- package/dist/esm/models/responsesoutputtext.d.ts +60 -0
- package/dist/esm/models/responsesoutputtext.d.ts.map +1 -0
- package/dist/esm/models/responsesoutputtext.js +54 -0
- package/dist/esm/models/responsesoutputtext.js.map +1 -0
- package/dist/esm/models/responsesoutputtokensdetails.d.ts +32 -0
- package/dist/esm/models/responsesoutputtokensdetails.d.ts.map +1 -0
- package/dist/esm/models/responsesoutputtokensdetails.js +40 -0
- package/dist/esm/models/responsesoutputtokensdetails.js.map +1 -0
- package/dist/esm/models/responsesreasoningsummarytext.d.ts +54 -0
- package/dist/esm/models/responsesreasoningsummarytext.d.ts.map +1 -0
- package/dist/esm/models/responsesreasoningsummarytext.js +51 -0
- package/dist/esm/models/responsesreasoningsummarytext.js.map +1 -0
- package/dist/esm/models/responsesreasoningtextcontent.d.ts +54 -0
- package/dist/esm/models/responsesreasoningtextcontent.d.ts.map +1 -0
- package/dist/esm/models/responsesreasoningtextcontent.js +51 -0
- package/dist/esm/models/responsesreasoningtextcontent.js.map +1 -0
- package/dist/esm/models/responsesrefusalcontent.d.ts +57 -0
- package/dist/esm/models/responsesrefusalcontent.d.ts.map +1 -0
- package/dist/esm/models/responsesrefusalcontent.js +51 -0
- package/dist/esm/models/responsesrefusalcontent.js.map +1 -0
- package/dist/esm/models/responsesstreamchunkunion.d.ts +2512 -0
- package/dist/esm/models/responsesstreamchunkunion.d.ts.map +1 -0
- package/dist/esm/models/responsesstreamchunkunion.js +2683 -0
- package/dist/esm/models/responsesstreamchunkunion.js.map +1 -0
- package/dist/esm/models/responsesusage.d.ts +48 -0
- package/dist/esm/models/responsesusage.d.ts.map +1 -0
- package/dist/esm/models/responsesusage.js +58 -0
- package/dist/esm/models/responsesusage.js.map +1 -0
- package/dist/esm/models/responseswebsearchcalloutput.d.ts +90 -0
- package/dist/esm/models/responseswebsearchcalloutput.d.ts.map +1 -0
- package/dist/esm/models/responseswebsearchcalloutput.js +74 -0
- package/dist/esm/models/responseswebsearchcalloutput.js.map +1 -0
- package/dist/esm/models/responsetextconfig.d.ts +39 -0
- package/dist/esm/models/responsetextconfig.d.ts.map +1 -0
- package/dist/esm/models/responsetextconfig.js +35 -0
- package/dist/esm/models/responsetextconfig.js.map +1 -0
- package/dist/esm/models/responsetextverbosity.d.ts +31 -0
- package/dist/esm/models/responsetextverbosity.d.ts.map +1 -0
- package/dist/esm/models/responsetextverbosity.js +25 -0
- package/dist/esm/models/responsetextverbosity.js.map +1 -0
- package/dist/esm/models/toolchoice.d.ts +97 -0
- package/dist/esm/models/toolchoice.d.ts.map +1 -0
- package/dist/esm/models/toolchoice.js +95 -0
- package/dist/esm/models/toolchoice.js.map +1 -0
- package/dist/esm/models/toolchoicefunction.d.ts +57 -0
- package/dist/esm/models/toolchoicefunction.d.ts.map +1 -0
- package/dist/esm/models/toolchoicefunction.js +51 -0
- package/dist/esm/models/toolchoicefunction.js.map +1 -0
- package/dist/esm/models/toolchoicetypes.d.ts +33 -0
- package/dist/esm/models/toolchoicetypes.d.ts.map +1 -0
- package/dist/esm/models/toolchoicetypes.js +32 -0
- package/dist/esm/models/toolchoicetypes.js.map +1 -0
- package/dist/esm/models/toolchoicetypeunion.d.ts +136 -0
- package/dist/esm/models/toolchoicetypeunion.d.ts.map +1 -0
- package/dist/esm/models/toolchoicetypeunion.js +130 -0
- package/dist/esm/models/toolchoicetypeunion.js.map +1 -0
- package/dist/esm/react-query/analyticsGetUserActivity.d.ts +36 -0
- package/dist/esm/react-query/analyticsGetUserActivity.d.ts.map +1 -0
- package/dist/esm/react-query/analyticsGetUserActivity.js +77 -0
- package/dist/esm/react-query/analyticsGetUserActivity.js.map +1 -0
- package/dist/esm/react-query/apiKeysCreate.d.ts +20 -0
- package/dist/esm/react-query/apiKeysCreate.d.ts.map +1 -0
- package/dist/esm/react-query/apiKeysCreate.js +39 -0
- package/dist/esm/react-query/apiKeysCreate.js.map +1 -0
- package/dist/esm/react-query/apiKeysDelete.d.ts +20 -0
- package/dist/esm/react-query/apiKeysDelete.d.ts.map +1 -0
- package/dist/esm/react-query/apiKeysDelete.js +39 -0
- package/dist/esm/react-query/apiKeysDelete.js.map +1 -0
- package/dist/esm/react-query/apiKeysGet.d.ts +24 -0
- package/dist/esm/react-query/apiKeysGet.d.ts.map +1 -0
- package/dist/esm/react-query/apiKeysGet.js +66 -0
- package/dist/esm/react-query/apiKeysGet.js.map +1 -0
- package/dist/esm/react-query/apiKeysGetCurrentKeyMetadata.d.ts +29 -0
- package/dist/esm/react-query/apiKeysGetCurrentKeyMetadata.d.ts.map +1 -0
- package/dist/esm/react-query/apiKeysGetCurrentKeyMetadata.js +66 -0
- package/dist/esm/react-query/apiKeysGetCurrentKeyMetadata.js.map +1 -0
- package/dist/esm/react-query/apiKeysList.d.ts +37 -0
- package/dist/esm/react-query/apiKeysList.d.ts.map +1 -0
- package/dist/esm/react-query/apiKeysList.js +69 -0
- package/dist/esm/react-query/apiKeysList.js.map +1 -0
- package/dist/esm/react-query/apiKeysUpdate.d.ts +20 -0
- package/dist/esm/react-query/apiKeysUpdate.d.ts.map +1 -0
- package/dist/esm/react-query/apiKeysUpdate.js +39 -0
- package/dist/esm/react-query/apiKeysUpdate.js.map +1 -0
- package/dist/esm/react-query/betaResponsesSendRequest.d.ts +28 -0
- package/dist/esm/react-query/betaResponsesSendRequest.d.ts.map +1 -0
- package/dist/esm/react-query/betaResponsesSendRequest.js +43 -0
- package/dist/esm/react-query/betaResponsesSendRequest.js.map +1 -0
- package/dist/esm/react-query/chatSend.d.ts +1 -1
- package/dist/esm/react-query/chatSend.d.ts.map +1 -1
- package/dist/esm/react-query/completionsGenerate.d.ts +2 -7
- package/dist/esm/react-query/completionsGenerate.d.ts.map +1 -1
- package/dist/esm/react-query/completionsGenerate.js +1 -2
- package/dist/esm/react-query/completionsGenerate.js.map +1 -1
- package/dist/esm/react-query/creditsAddCoinbaseCharge.d.ts +21 -0
- package/dist/esm/react-query/creditsAddCoinbaseCharge.d.ts.map +1 -0
- package/dist/esm/react-query/creditsAddCoinbaseCharge.js +39 -0
- package/dist/esm/react-query/creditsAddCoinbaseCharge.js.map +1 -0
- package/dist/esm/react-query/creditsGet.d.ts +23 -0
- package/dist/esm/react-query/creditsGet.d.ts.map +1 -0
- package/dist/esm/react-query/creditsGet.js +60 -0
- package/dist/esm/react-query/creditsGet.js.map +1 -0
- package/dist/esm/react-query/embeddingsGenerate.d.ts +2 -2
- package/dist/esm/react-query/embeddingsGenerate.d.ts.map +1 -1
- package/dist/esm/react-query/endpointsList.d.ts +24 -0
- package/dist/esm/react-query/endpointsList.d.ts.map +1 -0
- package/dist/esm/react-query/endpointsList.js +66 -0
- package/dist/esm/react-query/endpointsList.js.map +1 -0
- package/dist/esm/react-query/endpointsPreviewZDR.d.ts +23 -0
- package/dist/esm/react-query/endpointsPreviewZDR.d.ts.map +1 -0
- package/dist/esm/react-query/endpointsPreviewZDR.js +60 -0
- package/dist/esm/react-query/endpointsPreviewZDR.js.map +1 -0
- package/dist/esm/react-query/generationsGetMetadata.d.ts +30 -0
- package/dist/esm/react-query/generationsGetMetadata.d.ts.map +1 -0
- package/dist/esm/react-query/generationsGetMetadata.js +71 -0
- package/dist/esm/react-query/generationsGetMetadata.js.map +1 -0
- package/dist/esm/react-query/index.d.ts +20 -21
- package/dist/esm/react-query/index.d.ts.map +1 -1
- package/dist/esm/react-query/index.js +20 -21
- package/dist/esm/react-query/index.js.map +1 -1
- package/dist/esm/react-query/modelGetParameters.d.ts +38 -0
- package/dist/esm/react-query/modelGetParameters.d.ts.map +1 -0
- package/dist/esm/react-query/modelGetParameters.js +75 -0
- package/dist/esm/react-query/modelGetParameters.js.map +1 -0
- package/dist/esm/react-query/modelsGetCount.d.ts +23 -0
- package/dist/esm/react-query/modelsGetCount.d.ts.map +1 -0
- package/dist/esm/react-query/modelsGetCount.js +60 -0
- package/dist/esm/react-query/modelsGetCount.js.map +1 -0
- package/dist/esm/react-query/modelsList.d.ts +47 -0
- package/dist/esm/react-query/modelsList.d.ts.map +1 -0
- package/dist/esm/react-query/modelsList.js +72 -0
- package/dist/esm/react-query/modelsList.js.map +1 -0
- package/dist/esm/react-query/modelsListUserModels.d.ts +23 -0
- package/dist/esm/react-query/modelsListUserModels.d.ts.map +1 -0
- package/dist/esm/react-query/modelsListUserModels.js +60 -0
- package/dist/esm/react-query/modelsListUserModels.js.map +1 -0
- package/dist/esm/react-query/oAuthCreateAuthorizationCode.d.ts +23 -0
- package/dist/esm/react-query/oAuthCreateAuthorizationCode.d.ts.map +1 -0
- package/dist/esm/react-query/oAuthCreateAuthorizationCode.js +42 -0
- package/dist/esm/react-query/oAuthCreateAuthorizationCode.js.map +1 -0
- package/dist/esm/react-query/oAuthExchangeAuthorizationCode.d.ts +23 -0
- package/dist/esm/react-query/oAuthExchangeAuthorizationCode.d.ts.map +1 -0
- package/dist/esm/react-query/oAuthExchangeAuthorizationCode.js +42 -0
- package/dist/esm/react-query/oAuthExchangeAuthorizationCode.js.map +1 -0
- package/dist/esm/react-query/providersList.d.ts +23 -0
- package/dist/esm/react-query/providersList.d.ts.map +1 -0
- package/dist/esm/react-query/providersList.js +60 -0
- package/dist/esm/react-query/providersList.js.map +1 -0
- package/dist/esm/sdk/analytics.d.ts +1 -1
- package/dist/esm/sdk/analytics.d.ts.map +1 -1
- package/dist/esm/sdk/analytics.js +3 -3
- package/dist/esm/sdk/analytics.js.map +1 -1
- package/dist/esm/sdk/apikeys.d.ts +6 -13
- package/dist/esm/sdk/apikeys.d.ts.map +1 -1
- package/dist/esm/sdk/apikeys.js +18 -28
- package/dist/esm/sdk/apikeys.js.map +1 -1
- package/dist/esm/sdk/beta.d.ts +7 -0
- package/dist/esm/sdk/beta.d.ts.map +1 -0
- package/dist/esm/sdk/beta.js +11 -0
- package/dist/esm/sdk/beta.js.map +1 -0
- package/dist/esm/sdk/chat.d.ts +1 -1
- package/dist/esm/sdk/chat.d.ts.map +1 -1
- package/dist/esm/sdk/completions.d.ts +1 -17
- package/dist/esm/sdk/completions.d.ts.map +1 -1
- package/dist/esm/sdk/completions.js +7 -2
- package/dist/esm/sdk/completions.js.map +1 -1
- package/dist/esm/sdk/credits.d.ts +2 -2
- package/dist/esm/sdk/credits.d.ts.map +1 -1
- package/dist/esm/sdk/credits.js +6 -6
- package/dist/esm/sdk/credits.js.map +1 -1
- package/dist/esm/sdk/embeddings.d.ts +1 -1
- package/dist/esm/sdk/embeddings.d.ts.map +1 -1
- package/dist/esm/sdk/embeddings.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 +6 -6
- 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/model.d.ts +1 -1
- package/dist/esm/sdk/model.d.ts.map +1 -1
- package/dist/esm/sdk/model.js +3 -3
- package/dist/esm/sdk/model.js.map +1 -1
- package/dist/esm/sdk/models.d.ts +7 -7
- package/dist/esm/sdk/models.d.ts.map +1 -1
- package/dist/esm/sdk/models.js +10 -10
- package/dist/esm/sdk/models.js.map +1 -1
- package/dist/esm/sdk/oauth.d.ts +2 -2
- package/dist/esm/sdk/oauth.d.ts.map +1 -1
- package/dist/esm/sdk/oauth.js +6 -6
- package/dist/esm/sdk/oauth.js.map +1 -1
- package/dist/esm/sdk/providers.d.ts +1 -1
- package/dist/esm/sdk/providers.d.ts.map +1 -1
- package/dist/esm/sdk/providers.js +3 -3
- package/dist/esm/sdk/providers.js.map +1 -1
- package/dist/esm/sdk/responses.d.ts +12 -11
- package/dist/esm/sdk/responses.d.ts.map +1 -1
- package/dist/esm/sdk/responses.js +4 -4
- package/dist/esm/sdk/responses.js.map +1 -1
- package/dist/esm/sdk/sdk.d.ts +3 -3
- package/dist/esm/sdk/sdk.d.ts.map +1 -1
- package/dist/esm/sdk/sdk.js +3 -3
- package/dist/esm/sdk/sdk.js.map +1 -1
- package/docs/sdks/analytics/README.md +17 -15
- package/docs/sdks/apikeys/README.md +84 -173
- package/docs/sdks/chat/README.md +92 -4
- package/docs/sdks/completions/README.md +70 -6
- package/docs/sdks/credits/README.md +34 -24
- package/docs/sdks/embeddings/README.md +73 -5
- package/docs/sdks/endpoints/README.md +30 -28
- package/docs/sdks/generations/README.md +17 -15
- package/docs/sdks/model/README.md +20 -16
- package/docs/sdks/models/README.md +54 -42
- package/docs/sdks/oauth/README.md +26 -24
- package/docs/sdks/providers/README.md +15 -13
- package/docs/sdks/responses/README.md +146 -16
- package/examples/betaResponsesSendRequest.example.ts +95 -0
- package/examples/nextjs-example/README.md +118 -0
- package/examples/nextjs-example/components.json +22 -0
- package/examples/nextjs-example/eslint.config.mjs +25 -0
- package/examples/nextjs-example/next.config.ts +7 -0
- package/examples/nextjs-example/package-lock.json +6922 -0
- package/examples/nextjs-example/package.json +36 -0
- package/examples/nextjs-example/postcss.config.mjs +5 -0
- package/examples/nextjs-example/src/app/oauth/callback/route.ts +34 -0
- package/examples/nextjs-example/src/lib/config.ts +10 -0
- package/examples/nextjs-example/src/lib/utils.ts +10 -0
- package/examples/nextjs-example/tsconfig.json +27 -0
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/analyticsGetUserActivity.ts +173 -0
- package/src/funcs/apiKeysCreate.ts +165 -0
- package/src/funcs/apiKeysDelete.ts +171 -0
- package/src/funcs/apiKeysGet.ts +171 -0
- package/src/funcs/apiKeysGetCurrentKeyMetadata.ts +150 -0
- package/src/funcs/apiKeysList.ts +171 -0
- package/src/funcs/apiKeysUpdate.ts +172 -0
- package/src/funcs/betaResponsesSendRequest.ts +231 -0
- package/src/funcs/chatSend.ts +8 -8
- package/src/funcs/completionsGenerate.ts +14 -77
- package/src/funcs/creditsAddCoinbaseCharge.ts +174 -0
- package/src/funcs/creditsGet.ts +147 -0
- package/src/funcs/embeddingsGenerate.ts +10 -13
- package/src/funcs/endpointsList.ts +175 -0
- package/src/funcs/endpointsPreviewZDR.ts +147 -0
- package/src/funcs/generationsGetMetadata.ts +169 -0
- package/src/funcs/modelGetParameters.ts +189 -0
- package/src/funcs/modelsGetCount.ts +147 -0
- package/src/funcs/modelsList.ts +184 -0
- package/src/funcs/modelsListUserModels.ts +156 -0
- package/src/funcs/oAuthCreateAuthorizationCode.ts +169 -0
- package/src/funcs/oAuthExchangeAuthorizationCode.ts +169 -0
- package/src/funcs/providersList.ts +148 -0
- package/src/lib/config.ts +3 -3
- package/src/models/chaterror.ts +19 -25
- package/src/models/chatgenerationparams.ts +32 -28
- package/src/models/chatmessagecontentitemaudio.ts +19 -14
- package/src/models/chatstreamingmessagechunk.ts +18 -15
- package/src/models/chatstreamingresponsechunk.ts +49 -60
- package/src/models/completioncreateparams.ts +34 -25
- package/src/models/errorresponse.ts +16 -14
- package/src/models/errors/index.ts +1 -2
- package/src/models/errors/listproviders.ts +91 -0
- package/src/models/index.ts +54 -3
- package/src/models/openairesponsesrequest.ts +1935 -0
- package/src/models/operations/addcoinbasecharge.ts +615 -0
- package/src/models/operations/create.ts +274 -0
- package/src/models/operations/createauthorizationcode.ts +301 -0
- package/src/models/operations/delete.ts +122 -0
- package/src/models/operations/exchangeauthorizationcode.ts +220 -0
- package/src/models/operations/generate.ts +1594 -0
- package/src/models/operations/getapikey.ts +250 -0
- package/src/models/operations/getcount.ts +132 -0
- package/src/models/operations/getcurrentkey.ts +271 -0
- package/src/models/operations/getmetadata.ts +489 -0
- package/src/models/operations/getparameters.ts +416 -0
- package/src/models/operations/getuseractivity.ts +131 -0
- package/src/models/operations/index.ts +21 -23
- package/src/models/operations/list.ts +1471 -0
- package/src/models/operations/listapikeys.ts +261 -0
- package/src/models/operations/listmodels.ts +1618 -0
- package/src/models/operations/listproviders.ts +235 -0
- package/src/models/operations/listusermodels.ts +1566 -0
- package/src/models/operations/previewzdr.ts +1085 -0
- package/src/models/operations/sendchatcompletionrequest.ts +81 -0
- package/src/models/operations/sendresponsesrequest.ts +155 -0
- package/src/models/operations/update.ts +344 -0
- package/src/models/responseeasyinputmessage.ts +118 -0
- package/src/models/responseformatjsonobject.ts +98 -0
- package/src/models/responseformatjsonschema.ts +114 -0
- package/src/models/responseformattext.ts +96 -0
- package/src/models/responseformattextconfig.ts +93 -0
- package/src/models/responsefunctioncalloutputitem.ts +131 -0
- package/src/models/responsefunctioncallstatus.ts +36 -0
- package/src/models/responsefunctiontoolcall.ts +132 -0
- package/src/models/responseimagegenerationcallstatus.ts +38 -0
- package/src/models/responseincludable.ts +42 -0
- package/src/models/responseinput.ts +63 -0
- package/src/models/responseinputcontent.ts +117 -0
- package/src/models/responseinputfile.ts +125 -0
- package/src/models/responseinputimage.ts +118 -0
- package/src/models/responseinputimagedetail.ts +36 -0
- package/src/models/responseinputitem.ts +133 -0
- package/src/models/responseinputmessagecontentunion.ts +70 -0
- package/src/models/responseinputmessageitem.ts +122 -0
- package/src/models/responseinputmessageitemrole.ts +160 -0
- package/src/models/responseinputmessagerole.ts +191 -0
- package/src/models/responseinputtext.ts +100 -0
- package/src/models/responseprompt.ts +77 -0
- package/src/models/responsereasoningconfig.ts +110 -0
- package/src/models/responsereasoningsummarymode.ts +36 -0
- package/src/models/responsesannotation.ts +93 -0
- package/src/models/responsesannotationfilecitation.ts +120 -0
- package/src/models/responsesannotationfilepath.ts +114 -0
- package/src/models/responsesannotationurlcitation.ts +125 -0
- package/src/models/responsesimagegenerationcall.ts +117 -0
- package/src/models/responsesincompletedetails.ts +99 -0
- package/src/models/responsesinputtokensdetails.ts +80 -0
- package/src/models/responsesmessagecontent.ts +80 -0
- package/src/models/responsesmessagestatus.ts +154 -0
- package/src/models/responsesnonstreamingresponse.ts +589 -0
- package/src/models/responsesoutputitem.ts +171 -0
- package/src/models/responsesoutputitemfilesearchcall.ts +149 -0
- package/src/models/responsesoutputitemfunctioncall.ts +127 -0
- package/src/models/responsesoutputitemreasoning.ts +178 -0
- package/src/models/responsesoutputmessage.ts +154 -0
- package/src/models/responsesoutputtext.ts +112 -0
- package/src/models/responsesoutputtokensdetails.ts +80 -0
- package/src/models/responsesreasoningsummarytext.ts +102 -0
- package/src/models/responsesreasoningtextcontent.ts +102 -0
- package/src/models/responsesrefusalcontent.ts +102 -0
- package/src/models/responsesstreamchunkunion.ts +5312 -0
- package/src/models/responsesusage.ts +116 -0
- package/src/models/responseswebsearchcalloutput.ts +140 -0
- package/src/models/responsetextconfig.ts +87 -0
- package/src/models/responsetextverbosity.ts +34 -0
- package/src/models/toolchoice.ts +170 -0
- package/src/models/toolchoicefunction.ts +100 -0
- package/src/models/toolchoicetypes.ts +73 -0
- package/src/models/toolchoicetypeunion.ts +229 -0
- package/src/react-query/analyticsGetUserActivity.ts +156 -0
- package/src/react-query/apiKeysCreate.ts +85 -0
- package/src/react-query/apiKeysDelete.ts +85 -0
- package/src/react-query/apiKeysGet.ts +140 -0
- package/src/react-query/apiKeysGetCurrentKeyMetadata.ts +125 -0
- package/src/react-query/apiKeysList.ts +158 -0
- package/src/react-query/apiKeysUpdate.ts +85 -0
- package/src/react-query/betaResponsesSendRequest.ts +95 -0
- package/src/react-query/chatSend.ts +1 -1
- package/src/react-query/completionsGenerate.ts +3 -10
- package/src/react-query/creditsAddCoinbaseCharge.ts +89 -0
- package/src/react-query/creditsGet.ts +116 -0
- package/src/react-query/embeddingsGenerate.ts +2 -2
- package/src/react-query/endpointsList.ts +140 -0
- package/src/react-query/endpointsPreviewZDR.ts +118 -0
- package/src/react-query/generationsGetMetadata.ts +149 -0
- package/src/react-query/index.ts +20 -21
- package/src/react-query/modelGetParameters.ts +173 -0
- package/src/react-query/modelsGetCount.ts +116 -0
- package/src/react-query/modelsList.ts +168 -0
- package/src/react-query/modelsListUserModels.ts +126 -0
- package/src/react-query/oAuthCreateAuthorizationCode.ts +89 -0
- package/src/react-query/oAuthExchangeAuthorizationCode.ts +89 -0
- package/src/react-query/providersList.ts +116 -0
- package/src/sdk/analytics.ts +5 -5
- package/src/sdk/apikeys.ts +29 -45
- package/src/sdk/beta.ts +13 -0
- package/src/sdk/chat.ts +2 -2
- package/src/sdk/completions.ts +3 -22
- package/src/sdk/credits.ts +9 -9
- package/src/sdk/embeddings.ts +2 -2
- package/src/sdk/endpoints.ts +9 -9
- package/src/sdk/generations.ts +5 -5
- package/src/sdk/model.ts +6 -6
- package/src/sdk/models.ts +16 -19
- package/src/sdk/oauth.ts +10 -10
- package/src/sdk/providers.ts +4 -4
- package/src/sdk/responses.ts +22 -23
- package/src/sdk/sdk.ts +4 -4
- package/dist/commonjs/funcs/alphaResponsesSend2.d.ts +0 -35
- package/dist/commonjs/funcs/alphaResponsesSend2.d.ts.map +0 -1
- package/dist/commonjs/funcs/alphaResponsesSend2.js +0 -119
- package/dist/commonjs/funcs/alphaResponsesSend2.js.map +0 -1
- package/dist/commonjs/funcs/analyticsGetActivity.d.ts +0 -18
- package/dist/commonjs/funcs/analyticsGetActivity.d.ts.map +0 -1
- package/dist/commonjs/funcs/analyticsGetActivity.js +0 -121
- package/dist/commonjs/funcs/analyticsGetActivity.js.map +0 -1
- package/dist/commonjs/funcs/apiKeysDeleteKeysHash.d.ts +0 -15
- package/dist/commonjs/funcs/apiKeysDeleteKeysHash.d.ts.map +0 -1
- package/dist/commonjs/funcs/apiKeysDeleteKeysHash.js +0 -120
- package/dist/commonjs/funcs/apiKeysDeleteKeysHash.js.map +0 -1
- package/dist/commonjs/funcs/apiKeysGetAuthKey.d.ts +0 -18
- package/dist/commonjs/funcs/apiKeysGetAuthKey.d.ts.map +0 -1
- package/dist/commonjs/funcs/apiKeysGetAuthKey.js +0 -108
- package/dist/commonjs/funcs/apiKeysGetAuthKey.js.map +0 -1
- package/dist/commonjs/funcs/apiKeysGetKey.d.ts +0 -18
- package/dist/commonjs/funcs/apiKeysGetKey.d.ts.map +0 -1
- package/dist/commonjs/funcs/apiKeysGetKey.js +0 -108
- package/dist/commonjs/funcs/apiKeysGetKey.js.map +0 -1
- package/dist/commonjs/funcs/apiKeysGetKeys.d.ts +0 -15
- package/dist/commonjs/funcs/apiKeysGetKeys.d.ts.map +0 -1
- package/dist/commonjs/funcs/apiKeysGetKeys.js +0 -119
- package/dist/commonjs/funcs/apiKeysGetKeys.js.map +0 -1
- package/dist/commonjs/funcs/apiKeysGetKeysHash.d.ts +0 -15
- package/dist/commonjs/funcs/apiKeysGetKeysHash.d.ts.map +0 -1
- package/dist/commonjs/funcs/apiKeysGetKeysHash.js +0 -120
- package/dist/commonjs/funcs/apiKeysGetKeysHash.js.map +0 -1
- package/dist/commonjs/funcs/apiKeysPatchKeysHash.d.ts +0 -15
- package/dist/commonjs/funcs/apiKeysPatchKeysHash.d.ts.map +0 -1
- package/dist/commonjs/funcs/apiKeysPatchKeysHash.js +0 -121
- package/dist/commonjs/funcs/apiKeysPatchKeysHash.js.map +0 -1
- package/dist/commonjs/funcs/apiKeysPostKeys.d.ts +0 -15
- package/dist/commonjs/funcs/apiKeysPostKeys.d.ts.map +0 -1
- package/dist/commonjs/funcs/apiKeysPostKeys.js +0 -117
- package/dist/commonjs/funcs/apiKeysPostKeys.js.map +0 -1
- package/dist/commonjs/funcs/creditsGetCredits.d.ts +0 -15
- package/dist/commonjs/funcs/creditsGetCredits.d.ts.map +0 -1
- package/dist/commonjs/funcs/creditsGetCredits.js +0 -105
- package/dist/commonjs/funcs/creditsGetCredits.js.map +0 -1
- package/dist/commonjs/funcs/creditsPostCreditsCoinbase.d.ts +0 -15
- package/dist/commonjs/funcs/creditsPostCreditsCoinbase.d.ts.map +0 -1
- package/dist/commonjs/funcs/creditsPostCreditsCoinbase.js +0 -121
- package/dist/commonjs/funcs/creditsPostCreditsCoinbase.js.map +0 -1
- package/dist/commonjs/funcs/endpointsGetEndpointsZdr.d.ts +0 -15
- package/dist/commonjs/funcs/endpointsGetEndpointsZdr.d.ts.map +0 -1
- package/dist/commonjs/funcs/endpointsGetEndpointsZdr.js +0 -105
- package/dist/commonjs/funcs/endpointsGetEndpointsZdr.js.map +0 -1
- package/dist/commonjs/funcs/endpointsGetModelsAuthorSlugEndpoints.d.ts +0 -15
- package/dist/commonjs/funcs/endpointsGetModelsAuthorSlugEndpoints.d.ts.map +0 -1
- package/dist/commonjs/funcs/endpointsGetModelsAuthorSlugEndpoints.js +0 -125
- package/dist/commonjs/funcs/endpointsGetModelsAuthorSlugEndpoints.js.map +0 -1
- package/dist/commonjs/funcs/generationsGetGeneration.d.ts +0 -15
- package/dist/commonjs/funcs/generationsGetGeneration.d.ts.map +0 -1
- package/dist/commonjs/funcs/generationsGetGeneration.js +0 -118
- package/dist/commonjs/funcs/generationsGetGeneration.js.map +0 -1
- package/dist/commonjs/funcs/modelGetParametersAuthorSlug.d.ts +0 -15
- package/dist/commonjs/funcs/modelGetParametersAuthorSlug.d.ts.map +0 -1
- package/dist/commonjs/funcs/modelGetParametersAuthorSlug.js +0 -132
- package/dist/commonjs/funcs/modelGetParametersAuthorSlug.js.map +0 -1
- package/dist/commonjs/funcs/modelsGetModels.d.ts +0 -21
- package/dist/commonjs/funcs/modelsGetModels.d.ts.map +0 -1
- package/dist/commonjs/funcs/modelsGetModels.js +0 -130
- package/dist/commonjs/funcs/modelsGetModels.js.map +0 -1
- package/dist/commonjs/funcs/modelsGetModelsCount.d.ts +0 -15
- package/dist/commonjs/funcs/modelsGetModelsCount.d.ts.map +0 -1
- package/dist/commonjs/funcs/modelsGetModelsCount.js +0 -105
- package/dist/commonjs/funcs/modelsGetModelsCount.js.map +0 -1
- package/dist/commonjs/funcs/modelsGetModelsUser.d.ts +0 -15
- package/dist/commonjs/funcs/modelsGetModelsUser.d.ts.map +0 -1
- package/dist/commonjs/funcs/modelsGetModelsUser.js +0 -109
- package/dist/commonjs/funcs/modelsGetModelsUser.js.map +0 -1
- package/dist/commonjs/funcs/oAuthPostAuthKeys.d.ts +0 -18
- package/dist/commonjs/funcs/oAuthPostAuthKeys.d.ts.map +0 -1
- package/dist/commonjs/funcs/oAuthPostAuthKeys.js +0 -120
- package/dist/commonjs/funcs/oAuthPostAuthKeys.js.map +0 -1
- package/dist/commonjs/funcs/oAuthPostAuthKeysCode.d.ts +0 -18
- package/dist/commonjs/funcs/oAuthPostAuthKeysCode.d.ts.map +0 -1
- package/dist/commonjs/funcs/oAuthPostAuthKeysCode.js +0 -120
- package/dist/commonjs/funcs/oAuthPostAuthKeysCode.js.map +0 -1
- package/dist/commonjs/funcs/providersGetProviders.d.ts +0 -15
- package/dist/commonjs/funcs/providersGetProviders.d.ts.map +0 -1
- package/dist/commonjs/funcs/providersGetProviders.js +0 -105
- package/dist/commonjs/funcs/providersGetProviders.js.map +0 -1
- package/dist/commonjs/models/completionerror.d.ts +0 -56
- package/dist/commonjs/models/completionerror.d.ts.map +0 -1
- package/dist/commonjs/models/completionerror.js +0 -98
- package/dist/commonjs/models/completionerror.js.map +0 -1
- package/dist/commonjs/models/completionstreamingchoice.d.ts +0 -37
- package/dist/commonjs/models/completionstreamingchoice.d.ts.map +0 -1
- package/dist/commonjs/models/completionstreamingchoice.js +0 -86
- package/dist/commonjs/models/completionstreamingchoice.js.map +0 -1
- package/dist/commonjs/models/completionstreamingresponsechunk.d.ts +0 -68
- package/dist/commonjs/models/completionstreamingresponsechunk.d.ts.map +0 -1
- package/dist/commonjs/models/completionstreamingresponsechunk.js +0 -130
- package/dist/commonjs/models/completionstreamingresponsechunk.js.map +0 -1
- package/dist/commonjs/models/errors/completionerror.d.ts +0 -37
- package/dist/commonjs/models/errors/completionerror.d.ts.map +0 -1
- package/dist/commonjs/models/errors/completionerror.js +0 -85
- package/dist/commonjs/models/errors/completionerror.js.map +0 -1
- package/dist/commonjs/models/errors/getproviders.d.ts +0 -49
- package/dist/commonjs/models/errors/getproviders.d.ts.map +0 -1
- package/dist/commonjs/models/errors/getproviders.js +0 -88
- package/dist/commonjs/models/errors/getproviders.js.map +0 -1
- package/dist/commonjs/models/operations/deletekeyshash.d.ts +0 -60
- package/dist/commonjs/models/operations/deletekeyshash.d.ts.map +0 -1
- package/dist/commonjs/models/operations/deletekeyshash.js +0 -96
- package/dist/commonjs/models/operations/deletekeyshash.js.map +0 -1
- package/dist/commonjs/models/operations/getactivity.d.ts +0 -61
- package/dist/commonjs/models/operations/getactivity.d.ts.map +0 -1
- package/dist/commonjs/models/operations/getactivity.js +0 -97
- package/dist/commonjs/models/operations/getactivity.js.map +0 -1
- package/dist/commonjs/models/operations/getauthkey.d.ts +0 -141
- package/dist/commonjs/models/operations/getauthkey.d.ts.map +0 -1
- package/dist/commonjs/models/operations/getauthkey.js +0 -154
- package/dist/commonjs/models/operations/getauthkey.js.map +0 -1
- package/dist/commonjs/models/operations/getendpointszdr.d.ts +0 -793
- package/dist/commonjs/models/operations/getendpointszdr.d.ts.map +0 -1
- package/dist/commonjs/models/operations/getendpointszdr.js +0 -651
- package/dist/commonjs/models/operations/getendpointszdr.js.map +0 -1
- package/dist/commonjs/models/operations/getgeneration.d.ts +0 -273
- package/dist/commonjs/models/operations/getgeneration.d.ts.map +0 -1
- package/dist/commonjs/models/operations/getgeneration.js +0 -261
- package/dist/commonjs/models/operations/getgeneration.js.map +0 -1
- package/dist/commonjs/models/operations/getkey.d.ts +0 -141
- package/dist/commonjs/models/operations/getkey.d.ts.map +0 -1
- package/dist/commonjs/models/operations/getkey.js +0 -154
- package/dist/commonjs/models/operations/getkey.js.map +0 -1
- package/dist/commonjs/models/operations/getkeys.d.ts +0 -125
- package/dist/commonjs/models/operations/getkeys.d.ts.map +0 -1
- package/dist/commonjs/models/operations/getkeys.js +0 -158
- package/dist/commonjs/models/operations/getkeys.js.map +0 -1
- package/dist/commonjs/models/operations/getkeyshash.d.ts +0 -126
- package/dist/commonjs/models/operations/getkeyshash.d.ts.map +0 -1
- package/dist/commonjs/models/operations/getkeyshash.js +0 -148
- package/dist/commonjs/models/operations/getkeyshash.js.map +0 -1
- package/dist/commonjs/models/operations/getmodels.d.ts +0 -900
- package/dist/commonjs/models/operations/getmodels.d.ts.map +0 -1
- package/dist/commonjs/models/operations/getmodels.js +0 -817
- package/dist/commonjs/models/operations/getmodels.js.map +0 -1
- package/dist/commonjs/models/operations/getmodelsauthorslugendpoints.d.ts +0 -1156
- package/dist/commonjs/models/operations/getmodelsauthorslugendpoints.d.ts.map +0 -1
- package/dist/commonjs/models/operations/getmodelsauthorslugendpoints.js +0 -892
- package/dist/commonjs/models/operations/getmodelsauthorslugendpoints.js.map +0 -1
- package/dist/commonjs/models/operations/getmodelscount.d.ts +0 -66
- package/dist/commonjs/models/operations/getmodelscount.d.ts.map +0 -1
- package/dist/commonjs/models/operations/getmodelscount.js +0 -96
- package/dist/commonjs/models/operations/getmodelscount.js.map +0 -1
- package/dist/commonjs/models/operations/getmodelsuser.d.ts +0 -873
- package/dist/commonjs/models/operations/getmodelsuser.d.ts.map +0 -1
- package/dist/commonjs/models/operations/getmodelsuser.js +0 -776
- package/dist/commonjs/models/operations/getmodelsuser.js.map +0 -1
- package/dist/commonjs/models/operations/getparametersauthorslug.d.ts +0 -422
- package/dist/commonjs/models/operations/getparametersauthorslug.d.ts.map +0 -1
- package/dist/commonjs/models/operations/getparametersauthorslug.js +0 -286
- package/dist/commonjs/models/operations/getparametersauthorslug.js.map +0 -1
- package/dist/commonjs/models/operations/getproviders.d.ts +0 -116
- package/dist/commonjs/models/operations/getproviders.d.ts.map +0 -1
- package/dist/commonjs/models/operations/getproviders.js +0 -146
- package/dist/commonjs/models/operations/getproviders.js.map +0 -1
- package/dist/commonjs/models/operations/patchkeyshash.d.ts +0 -171
- package/dist/commonjs/models/operations/patchkeyshash.d.ts.map +0 -1
- package/dist/commonjs/models/operations/patchkeyshash.js +0 -199
- package/dist/commonjs/models/operations/patchkeyshash.js.map +0 -1
- package/dist/commonjs/models/operations/postapialpharesponses.d.ts +0 -11049
- package/dist/commonjs/models/operations/postapialpharesponses.d.ts.map +0 -1
- package/dist/commonjs/models/operations/postapialpharesponses.js +0 -11305
- package/dist/commonjs/models/operations/postapialpharesponses.js.map +0 -1
- package/dist/commonjs/models/operations/postauthkeys.d.ts +0 -110
- package/dist/commonjs/models/operations/postauthkeys.d.ts.map +0 -1
- package/dist/commonjs/models/operations/postauthkeys.js +0 -145
- package/dist/commonjs/models/operations/postauthkeys.js.map +0 -1
- package/dist/commonjs/models/operations/postauthkeyscode.d.ts +0 -145
- package/dist/commonjs/models/operations/postauthkeyscode.d.ts.map +0 -1
- package/dist/commonjs/models/operations/postauthkeyscode.js +0 -180
- package/dist/commonjs/models/operations/postauthkeyscode.js.map +0 -1
- package/dist/commonjs/models/operations/postchatcompletions.d.ts +0 -27
- package/dist/commonjs/models/operations/postchatcompletions.d.ts.map +0 -1
- package/dist/commonjs/models/operations/postchatcompletions.js +0 -80
- package/dist/commonjs/models/operations/postchatcompletions.js.map +0 -1
- package/dist/commonjs/models/operations/postcompletions.d.ts +0 -27
- package/dist/commonjs/models/operations/postcompletions.d.ts.map +0 -1
- package/dist/commonjs/models/operations/postcompletions.js +0 -80
- package/dist/commonjs/models/operations/postcompletions.js.map +0 -1
- package/dist/commonjs/models/operations/postcreditscoinbase.d.ts +0 -270
- package/dist/commonjs/models/operations/postcreditscoinbase.d.ts.map +0 -1
- package/dist/commonjs/models/operations/postcreditscoinbase.js +0 -374
- package/dist/commonjs/models/operations/postcreditscoinbase.js.map +0 -1
- package/dist/commonjs/models/operations/postembeddings.d.ts +0 -1475
- package/dist/commonjs/models/operations/postembeddings.d.ts.map +0 -1
- package/dist/commonjs/models/operations/postembeddings.js +0 -1020
- package/dist/commonjs/models/operations/postembeddings.js.map +0 -1
- package/dist/commonjs/models/operations/postkeys.d.ts +0 -144
- package/dist/commonjs/models/operations/postkeys.d.ts.map +0 -1
- package/dist/commonjs/models/operations/postkeys.js +0 -162
- package/dist/commonjs/models/operations/postkeys.js.map +0 -1
- package/dist/commonjs/react-query/alphaResponsesSend2.d.ts +0 -27
- package/dist/commonjs/react-query/alphaResponsesSend2.d.ts.map +0 -1
- package/dist/commonjs/react-query/alphaResponsesSend2.js +0 -50
- package/dist/commonjs/react-query/alphaResponsesSend2.js.map +0 -1
- package/dist/commonjs/react-query/analyticsGetActivity.d.ts +0 -36
- package/dist/commonjs/react-query/analyticsGetActivity.d.ts.map +0 -1
- package/dist/commonjs/react-query/analyticsGetActivity.js +0 -82
- package/dist/commonjs/react-query/analyticsGetActivity.js.map +0 -1
- package/dist/commonjs/react-query/apiKeysDeleteKeysHash.d.ts +0 -20
- package/dist/commonjs/react-query/apiKeysDeleteKeysHash.d.ts.map +0 -1
- package/dist/commonjs/react-query/apiKeysDeleteKeysHash.js +0 -44
- package/dist/commonjs/react-query/apiKeysDeleteKeysHash.js.map +0 -1
- package/dist/commonjs/react-query/apiKeysGetAuthKey.d.ts +0 -29
- package/dist/commonjs/react-query/apiKeysGetAuthKey.d.ts.map +0 -1
- package/dist/commonjs/react-query/apiKeysGetAuthKey.js +0 -75
- package/dist/commonjs/react-query/apiKeysGetAuthKey.js.map +0 -1
- package/dist/commonjs/react-query/apiKeysGetKey.d.ts +0 -29
- package/dist/commonjs/react-query/apiKeysGetKey.d.ts.map +0 -1
- package/dist/commonjs/react-query/apiKeysGetKey.js +0 -75
- package/dist/commonjs/react-query/apiKeysGetKey.js.map +0 -1
- package/dist/commonjs/react-query/apiKeysGetKeys.d.ts +0 -37
- package/dist/commonjs/react-query/apiKeysGetKeys.d.ts.map +0 -1
- package/dist/commonjs/react-query/apiKeysGetKeys.js +0 -79
- package/dist/commonjs/react-query/apiKeysGetKeys.js.map +0 -1
- package/dist/commonjs/react-query/apiKeysGetKeysHash.d.ts +0 -24
- package/dist/commonjs/react-query/apiKeysGetKeysHash.d.ts.map +0 -1
- package/dist/commonjs/react-query/apiKeysGetKeysHash.js +0 -76
- package/dist/commonjs/react-query/apiKeysGetKeysHash.js.map +0 -1
- package/dist/commonjs/react-query/apiKeysPatchKeysHash.d.ts +0 -20
- package/dist/commonjs/react-query/apiKeysPatchKeysHash.d.ts.map +0 -1
- package/dist/commonjs/react-query/apiKeysPatchKeysHash.js +0 -44
- package/dist/commonjs/react-query/apiKeysPatchKeysHash.js.map +0 -1
- package/dist/commonjs/react-query/apiKeysPostKeys.d.ts +0 -20
- package/dist/commonjs/react-query/apiKeysPostKeys.d.ts.map +0 -1
- package/dist/commonjs/react-query/apiKeysPostKeys.js +0 -44
- package/dist/commonjs/react-query/apiKeysPostKeys.js.map +0 -1
- package/dist/commonjs/react-query/creditsGetCredits.d.ts +0 -23
- package/dist/commonjs/react-query/creditsGetCredits.d.ts.map +0 -1
- package/dist/commonjs/react-query/creditsGetCredits.js +0 -69
- package/dist/commonjs/react-query/creditsGetCredits.js.map +0 -1
- package/dist/commonjs/react-query/creditsPostCreditsCoinbase.d.ts +0 -21
- package/dist/commonjs/react-query/creditsPostCreditsCoinbase.d.ts.map +0 -1
- package/dist/commonjs/react-query/creditsPostCreditsCoinbase.js +0 -44
- package/dist/commonjs/react-query/creditsPostCreditsCoinbase.js.map +0 -1
- package/dist/commonjs/react-query/endpointsGetEndpointsZdr.d.ts +0 -23
- package/dist/commonjs/react-query/endpointsGetEndpointsZdr.d.ts.map +0 -1
- package/dist/commonjs/react-query/endpointsGetEndpointsZdr.js +0 -69
- package/dist/commonjs/react-query/endpointsGetEndpointsZdr.js.map +0 -1
- package/dist/commonjs/react-query/endpointsGetModelsAuthorSlugEndpoints.d.ts +0 -24
- package/dist/commonjs/react-query/endpointsGetModelsAuthorSlugEndpoints.d.ts.map +0 -1
- package/dist/commonjs/react-query/endpointsGetModelsAuthorSlugEndpoints.js +0 -87
- package/dist/commonjs/react-query/endpointsGetModelsAuthorSlugEndpoints.js.map +0 -1
- package/dist/commonjs/react-query/generationsGetGeneration.d.ts +0 -30
- package/dist/commonjs/react-query/generationsGetGeneration.d.ts.map +0 -1
- package/dist/commonjs/react-query/generationsGetGeneration.js +0 -81
- package/dist/commonjs/react-query/generationsGetGeneration.js.map +0 -1
- package/dist/commonjs/react-query/modelGetParametersAuthorSlug.d.ts +0 -38
- package/dist/commonjs/react-query/modelGetParametersAuthorSlug.d.ts.map +0 -1
- package/dist/commonjs/react-query/modelGetParametersAuthorSlug.js +0 -88
- package/dist/commonjs/react-query/modelGetParametersAuthorSlug.js.map +0 -1
- package/dist/commonjs/react-query/modelsGetModels.d.ts +0 -47
- package/dist/commonjs/react-query/modelsGetModels.d.ts.map +0 -1
- package/dist/commonjs/react-query/modelsGetModels.js +0 -84
- package/dist/commonjs/react-query/modelsGetModels.js.map +0 -1
- package/dist/commonjs/react-query/modelsGetModelsCount.d.ts +0 -23
- package/dist/commonjs/react-query/modelsGetModelsCount.d.ts.map +0 -1
- package/dist/commonjs/react-query/modelsGetModelsCount.js +0 -69
- package/dist/commonjs/react-query/modelsGetModelsCount.js.map +0 -1
- package/dist/commonjs/react-query/modelsGetModelsUser.d.ts +0 -23
- package/dist/commonjs/react-query/modelsGetModelsUser.d.ts.map +0 -1
- package/dist/commonjs/react-query/modelsGetModelsUser.js +0 -69
- package/dist/commonjs/react-query/modelsGetModelsUser.js.map +0 -1
- package/dist/commonjs/react-query/oAuthPostAuthKeys.d.ts +0 -23
- package/dist/commonjs/react-query/oAuthPostAuthKeys.d.ts.map +0 -1
- package/dist/commonjs/react-query/oAuthPostAuthKeys.js +0 -47
- package/dist/commonjs/react-query/oAuthPostAuthKeys.js.map +0 -1
- package/dist/commonjs/react-query/oAuthPostAuthKeysCode.d.ts +0 -23
- package/dist/commonjs/react-query/oAuthPostAuthKeysCode.d.ts.map +0 -1
- package/dist/commonjs/react-query/oAuthPostAuthKeysCode.js +0 -47
- package/dist/commonjs/react-query/oAuthPostAuthKeysCode.js.map +0 -1
- package/dist/commonjs/react-query/providersGetProviders.d.ts +0 -23
- package/dist/commonjs/react-query/providersGetProviders.d.ts.map +0 -1
- package/dist/commonjs/react-query/providersGetProviders.js +0 -69
- package/dist/commonjs/react-query/providersGetProviders.js.map +0 -1
- package/dist/commonjs/sdk/alpha.d.ts +0 -7
- package/dist/commonjs/sdk/alpha.d.ts.map +0 -1
- package/dist/commonjs/sdk/alpha.js +0 -15
- package/dist/commonjs/sdk/alpha.js.map +0 -1
- package/dist/esm/funcs/alphaResponsesSend2.d.ts +0 -35
- package/dist/esm/funcs/alphaResponsesSend2.d.ts.map +0 -1
- package/dist/esm/funcs/alphaResponsesSend2.js +0 -82
- package/dist/esm/funcs/alphaResponsesSend2.js.map +0 -1
- package/dist/esm/funcs/analyticsGetActivity.d.ts +0 -18
- package/dist/esm/funcs/analyticsGetActivity.d.ts.map +0 -1
- package/dist/esm/funcs/analyticsGetActivity.js +0 -85
- package/dist/esm/funcs/analyticsGetActivity.js.map +0 -1
- package/dist/esm/funcs/apiKeysDeleteKeysHash.d.ts +0 -15
- package/dist/esm/funcs/apiKeysDeleteKeysHash.d.ts.map +0 -1
- package/dist/esm/funcs/apiKeysDeleteKeysHash.js +0 -84
- package/dist/esm/funcs/apiKeysDeleteKeysHash.js.map +0 -1
- package/dist/esm/funcs/apiKeysGetAuthKey.d.ts +0 -18
- package/dist/esm/funcs/apiKeysGetAuthKey.d.ts.map +0 -1
- package/dist/esm/funcs/apiKeysGetAuthKey.js +0 -72
- package/dist/esm/funcs/apiKeysGetAuthKey.js.map +0 -1
- package/dist/esm/funcs/apiKeysGetKey.d.ts +0 -18
- package/dist/esm/funcs/apiKeysGetKey.d.ts.map +0 -1
- package/dist/esm/funcs/apiKeysGetKey.js +0 -72
- package/dist/esm/funcs/apiKeysGetKey.js.map +0 -1
- package/dist/esm/funcs/apiKeysGetKeys.d.ts +0 -15
- package/dist/esm/funcs/apiKeysGetKeys.d.ts.map +0 -1
- package/dist/esm/funcs/apiKeysGetKeys.js +0 -83
- package/dist/esm/funcs/apiKeysGetKeys.js.map +0 -1
- package/dist/esm/funcs/apiKeysGetKeysHash.d.ts +0 -15
- package/dist/esm/funcs/apiKeysGetKeysHash.d.ts.map +0 -1
- package/dist/esm/funcs/apiKeysGetKeysHash.js +0 -84
- package/dist/esm/funcs/apiKeysGetKeysHash.js.map +0 -1
- package/dist/esm/funcs/apiKeysPatchKeysHash.d.ts +0 -15
- package/dist/esm/funcs/apiKeysPatchKeysHash.d.ts.map +0 -1
- package/dist/esm/funcs/apiKeysPatchKeysHash.js +0 -85
- package/dist/esm/funcs/apiKeysPatchKeysHash.js.map +0 -1
- package/dist/esm/funcs/apiKeysPostKeys.d.ts +0 -15
- package/dist/esm/funcs/apiKeysPostKeys.d.ts.map +0 -1
- package/dist/esm/funcs/apiKeysPostKeys.js +0 -81
- package/dist/esm/funcs/apiKeysPostKeys.js.map +0 -1
- package/dist/esm/funcs/creditsGetCredits.d.ts +0 -15
- package/dist/esm/funcs/creditsGetCredits.d.ts.map +0 -1
- package/dist/esm/funcs/creditsGetCredits.js +0 -69
- package/dist/esm/funcs/creditsGetCredits.js.map +0 -1
- package/dist/esm/funcs/creditsPostCreditsCoinbase.d.ts +0 -15
- package/dist/esm/funcs/creditsPostCreditsCoinbase.d.ts.map +0 -1
- package/dist/esm/funcs/creditsPostCreditsCoinbase.js +0 -85
- package/dist/esm/funcs/creditsPostCreditsCoinbase.js.map +0 -1
- package/dist/esm/funcs/endpointsGetEndpointsZdr.d.ts +0 -15
- package/dist/esm/funcs/endpointsGetEndpointsZdr.d.ts.map +0 -1
- package/dist/esm/funcs/endpointsGetEndpointsZdr.js +0 -69
- package/dist/esm/funcs/endpointsGetEndpointsZdr.js.map +0 -1
- package/dist/esm/funcs/endpointsGetModelsAuthorSlugEndpoints.d.ts +0 -15
- package/dist/esm/funcs/endpointsGetModelsAuthorSlugEndpoints.d.ts.map +0 -1
- package/dist/esm/funcs/endpointsGetModelsAuthorSlugEndpoints.js +0 -89
- package/dist/esm/funcs/endpointsGetModelsAuthorSlugEndpoints.js.map +0 -1
- package/dist/esm/funcs/generationsGetGeneration.d.ts +0 -15
- package/dist/esm/funcs/generationsGetGeneration.d.ts.map +0 -1
- package/dist/esm/funcs/generationsGetGeneration.js +0 -82
- package/dist/esm/funcs/generationsGetGeneration.js.map +0 -1
- package/dist/esm/funcs/modelGetParametersAuthorSlug.d.ts +0 -15
- package/dist/esm/funcs/modelGetParametersAuthorSlug.d.ts.map +0 -1
- package/dist/esm/funcs/modelGetParametersAuthorSlug.js +0 -96
- package/dist/esm/funcs/modelGetParametersAuthorSlug.js.map +0 -1
- package/dist/esm/funcs/modelsGetModels.d.ts +0 -21
- package/dist/esm/funcs/modelsGetModels.d.ts.map +0 -1
- package/dist/esm/funcs/modelsGetModels.js +0 -93
- package/dist/esm/funcs/modelsGetModels.js.map +0 -1
- package/dist/esm/funcs/modelsGetModelsCount.d.ts +0 -15
- package/dist/esm/funcs/modelsGetModelsCount.d.ts.map +0 -1
- package/dist/esm/funcs/modelsGetModelsCount.js +0 -69
- package/dist/esm/funcs/modelsGetModelsCount.js.map +0 -1
- package/dist/esm/funcs/modelsGetModelsUser.d.ts +0 -15
- package/dist/esm/funcs/modelsGetModelsUser.d.ts.map +0 -1
- package/dist/esm/funcs/modelsGetModelsUser.js +0 -73
- package/dist/esm/funcs/modelsGetModelsUser.js.map +0 -1
- package/dist/esm/funcs/oAuthPostAuthKeys.d.ts +0 -18
- package/dist/esm/funcs/oAuthPostAuthKeys.d.ts.map +0 -1
- package/dist/esm/funcs/oAuthPostAuthKeys.js +0 -84
- package/dist/esm/funcs/oAuthPostAuthKeys.js.map +0 -1
- package/dist/esm/funcs/oAuthPostAuthKeysCode.d.ts +0 -18
- package/dist/esm/funcs/oAuthPostAuthKeysCode.d.ts.map +0 -1
- package/dist/esm/funcs/oAuthPostAuthKeysCode.js +0 -84
- package/dist/esm/funcs/oAuthPostAuthKeysCode.js.map +0 -1
- package/dist/esm/funcs/providersGetProviders.d.ts +0 -15
- package/dist/esm/funcs/providersGetProviders.d.ts.map +0 -1
- package/dist/esm/funcs/providersGetProviders.js +0 -69
- package/dist/esm/funcs/providersGetProviders.js.map +0 -1
- package/dist/esm/models/completionerror.d.ts +0 -56
- package/dist/esm/models/completionerror.d.ts.map +0 -1
- package/dist/esm/models/completionerror.js +0 -58
- package/dist/esm/models/completionerror.js.map +0 -1
- package/dist/esm/models/completionstreamingchoice.d.ts +0 -37
- package/dist/esm/models/completionstreamingchoice.d.ts.map +0 -1
- package/dist/esm/models/completionstreamingchoice.js +0 -48
- package/dist/esm/models/completionstreamingchoice.js.map +0 -1
- package/dist/esm/models/completionstreamingresponsechunk.d.ts +0 -68
- package/dist/esm/models/completionstreamingresponsechunk.d.ts.map +0 -1
- package/dist/esm/models/completionstreamingresponsechunk.js +0 -90
- package/dist/esm/models/completionstreamingresponsechunk.js.map +0 -1
- package/dist/esm/models/errors/completionerror.d.ts +0 -37
- package/dist/esm/models/errors/completionerror.d.ts.map +0 -1
- package/dist/esm/models/errors/completionerror.js +0 -48
- package/dist/esm/models/errors/completionerror.js.map +0 -1
- package/dist/esm/models/errors/getproviders.d.ts +0 -49
- package/dist/esm/models/errors/getproviders.d.ts.map +0 -1
- package/dist/esm/models/errors/getproviders.js +0 -51
- package/dist/esm/models/errors/getproviders.js.map +0 -1
- package/dist/esm/models/operations/deletekeyshash.d.ts +0 -60
- package/dist/esm/models/operations/deletekeyshash.d.ts.map +0 -1
- package/dist/esm/models/operations/deletekeyshash.js +0 -56
- package/dist/esm/models/operations/deletekeyshash.js.map +0 -1
- package/dist/esm/models/operations/getactivity.d.ts +0 -61
- package/dist/esm/models/operations/getactivity.d.ts.map +0 -1
- package/dist/esm/models/operations/getactivity.js +0 -57
- package/dist/esm/models/operations/getactivity.js.map +0 -1
- package/dist/esm/models/operations/getauthkey.d.ts +0 -141
- package/dist/esm/models/operations/getauthkey.d.ts.map +0 -1
- package/dist/esm/models/operations/getauthkey.js +0 -112
- package/dist/esm/models/operations/getauthkey.js.map +0 -1
- package/dist/esm/models/operations/getendpointszdr.d.ts +0 -793
- package/dist/esm/models/operations/getendpointszdr.d.ts.map +0 -1
- package/dist/esm/models/operations/getendpointszdr.js +0 -586
- package/dist/esm/models/operations/getendpointszdr.js.map +0 -1
- package/dist/esm/models/operations/getgeneration.d.ts +0 -273
- package/dist/esm/models/operations/getgeneration.d.ts.map +0 -1
- package/dist/esm/models/operations/getgeneration.js +0 -219
- package/dist/esm/models/operations/getgeneration.js.map +0 -1
- package/dist/esm/models/operations/getkey.d.ts +0 -141
- package/dist/esm/models/operations/getkey.d.ts.map +0 -1
- package/dist/esm/models/operations/getkey.js +0 -112
- package/dist/esm/models/operations/getkey.js.map +0 -1
- package/dist/esm/models/operations/getkeys.d.ts +0 -125
- package/dist/esm/models/operations/getkeys.d.ts.map +0 -1
- package/dist/esm/models/operations/getkeys.js +0 -116
- package/dist/esm/models/operations/getkeys.js.map +0 -1
- package/dist/esm/models/operations/getkeyshash.d.ts +0 -126
- package/dist/esm/models/operations/getkeyshash.d.ts.map +0 -1
- package/dist/esm/models/operations/getkeyshash.js +0 -106
- package/dist/esm/models/operations/getkeyshash.js.map +0 -1
- package/dist/esm/models/operations/getmodels.d.ts +0 -900
- package/dist/esm/models/operations/getmodels.d.ts.map +0 -1
- package/dist/esm/models/operations/getmodels.js +0 -742
- package/dist/esm/models/operations/getmodels.js.map +0 -1
- package/dist/esm/models/operations/getmodelsauthorslugendpoints.d.ts +0 -1156
- package/dist/esm/models/operations/getmodelsauthorslugendpoints.d.ts.map +0 -1
- package/dist/esm/models/operations/getmodelsauthorslugendpoints.js +0 -821
- package/dist/esm/models/operations/getmodelsauthorslugendpoints.js.map +0 -1
- package/dist/esm/models/operations/getmodelscount.d.ts +0 -66
- package/dist/esm/models/operations/getmodelscount.d.ts.map +0 -1
- package/dist/esm/models/operations/getmodelscount.js +0 -56
- package/dist/esm/models/operations/getmodelscount.js.map +0 -1
- package/dist/esm/models/operations/getmodelsuser.d.ts +0 -873
- package/dist/esm/models/operations/getmodelsuser.d.ts.map +0 -1
- package/dist/esm/models/operations/getmodelsuser.js +0 -703
- package/dist/esm/models/operations/getmodelsuser.js.map +0 -1
- package/dist/esm/models/operations/getparametersauthorslug.d.ts +0 -422
- package/dist/esm/models/operations/getparametersauthorslug.d.ts.map +0 -1
- package/dist/esm/models/operations/getparametersauthorslug.js +0 -242
- package/dist/esm/models/operations/getparametersauthorslug.js.map +0 -1
- package/dist/esm/models/operations/getproviders.d.ts +0 -116
- package/dist/esm/models/operations/getproviders.d.ts.map +0 -1
- package/dist/esm/models/operations/getproviders.js +0 -104
- package/dist/esm/models/operations/getproviders.js.map +0 -1
- package/dist/esm/models/operations/patchkeyshash.d.ts +0 -171
- package/dist/esm/models/operations/patchkeyshash.d.ts.map +0 -1
- package/dist/esm/models/operations/patchkeyshash.js +0 -155
- package/dist/esm/models/operations/patchkeyshash.js.map +0 -1
- package/dist/esm/models/operations/postapialpharesponses.d.ts +0 -11049
- package/dist/esm/models/operations/postapialpharesponses.d.ts.map +0 -1
- package/dist/esm/models/operations/postapialpharesponses.js +0 -10873
- package/dist/esm/models/operations/postapialpharesponses.js.map +0 -1
- package/dist/esm/models/operations/postauthkeys.d.ts +0 -110
- package/dist/esm/models/operations/postauthkeys.d.ts.map +0 -1
- package/dist/esm/models/operations/postauthkeys.js +0 -105
- package/dist/esm/models/operations/postauthkeys.js.map +0 -1
- package/dist/esm/models/operations/postauthkeyscode.d.ts +0 -145
- package/dist/esm/models/operations/postauthkeyscode.d.ts.map +0 -1
- package/dist/esm/models/operations/postauthkeyscode.js +0 -138
- package/dist/esm/models/operations/postauthkeyscode.js.map +0 -1
- package/dist/esm/models/operations/postchatcompletions.d.ts +0 -27
- package/dist/esm/models/operations/postchatcompletions.d.ts.map +0 -1
- package/dist/esm/models/operations/postchatcompletions.js +0 -42
- package/dist/esm/models/operations/postchatcompletions.js.map +0 -1
- package/dist/esm/models/operations/postcompletions.d.ts +0 -27
- package/dist/esm/models/operations/postcompletions.d.ts.map +0 -1
- package/dist/esm/models/operations/postcompletions.js +0 -42
- package/dist/esm/models/operations/postcompletions.js.map +0 -1
- package/dist/esm/models/operations/postcreditscoinbase.d.ts +0 -270
- package/dist/esm/models/operations/postcreditscoinbase.d.ts.map +0 -1
- package/dist/esm/models/operations/postcreditscoinbase.js +0 -322
- package/dist/esm/models/operations/postcreditscoinbase.js.map +0 -1
- package/dist/esm/models/operations/postembeddings.d.ts +0 -1475
- package/dist/esm/models/operations/postembeddings.d.ts.map +0 -1
- package/dist/esm/models/operations/postembeddings.js +0 -949
- package/dist/esm/models/operations/postembeddings.js.map +0 -1
- package/dist/esm/models/operations/postkeys.d.ts +0 -144
- package/dist/esm/models/operations/postkeys.d.ts.map +0 -1
- package/dist/esm/models/operations/postkeys.js +0 -120
- package/dist/esm/models/operations/postkeys.js.map +0 -1
- package/dist/esm/react-query/alphaResponsesSend2.d.ts +0 -27
- package/dist/esm/react-query/alphaResponsesSend2.d.ts.map +0 -1
- package/dist/esm/react-query/alphaResponsesSend2.js +0 -43
- package/dist/esm/react-query/alphaResponsesSend2.js.map +0 -1
- package/dist/esm/react-query/analyticsGetActivity.d.ts +0 -36
- package/dist/esm/react-query/analyticsGetActivity.d.ts.map +0 -1
- package/dist/esm/react-query/analyticsGetActivity.js +0 -72
- package/dist/esm/react-query/analyticsGetActivity.js.map +0 -1
- package/dist/esm/react-query/apiKeysDeleteKeysHash.d.ts +0 -20
- package/dist/esm/react-query/apiKeysDeleteKeysHash.d.ts.map +0 -1
- package/dist/esm/react-query/apiKeysDeleteKeysHash.js +0 -39
- package/dist/esm/react-query/apiKeysDeleteKeysHash.js.map +0 -1
- package/dist/esm/react-query/apiKeysGetAuthKey.d.ts +0 -29
- package/dist/esm/react-query/apiKeysGetAuthKey.d.ts.map +0 -1
- package/dist/esm/react-query/apiKeysGetAuthKey.js +0 -66
- package/dist/esm/react-query/apiKeysGetAuthKey.js.map +0 -1
- package/dist/esm/react-query/apiKeysGetKey.d.ts +0 -29
- package/dist/esm/react-query/apiKeysGetKey.d.ts.map +0 -1
- package/dist/esm/react-query/apiKeysGetKey.js +0 -66
- package/dist/esm/react-query/apiKeysGetKey.js.map +0 -1
- package/dist/esm/react-query/apiKeysGetKeys.d.ts +0 -37
- package/dist/esm/react-query/apiKeysGetKeys.d.ts.map +0 -1
- package/dist/esm/react-query/apiKeysGetKeys.js +0 -69
- package/dist/esm/react-query/apiKeysGetKeys.js.map +0 -1
- package/dist/esm/react-query/apiKeysGetKeysHash.d.ts +0 -24
- package/dist/esm/react-query/apiKeysGetKeysHash.d.ts.map +0 -1
- package/dist/esm/react-query/apiKeysGetKeysHash.js +0 -66
- package/dist/esm/react-query/apiKeysGetKeysHash.js.map +0 -1
- package/dist/esm/react-query/apiKeysPatchKeysHash.d.ts +0 -20
- package/dist/esm/react-query/apiKeysPatchKeysHash.d.ts.map +0 -1
- package/dist/esm/react-query/apiKeysPatchKeysHash.js +0 -39
- package/dist/esm/react-query/apiKeysPatchKeysHash.js.map +0 -1
- package/dist/esm/react-query/apiKeysPostKeys.d.ts +0 -20
- package/dist/esm/react-query/apiKeysPostKeys.d.ts.map +0 -1
- package/dist/esm/react-query/apiKeysPostKeys.js +0 -39
- package/dist/esm/react-query/apiKeysPostKeys.js.map +0 -1
- package/dist/esm/react-query/creditsGetCredits.d.ts +0 -23
- package/dist/esm/react-query/creditsGetCredits.d.ts.map +0 -1
- package/dist/esm/react-query/creditsGetCredits.js +0 -60
- package/dist/esm/react-query/creditsGetCredits.js.map +0 -1
- package/dist/esm/react-query/creditsPostCreditsCoinbase.d.ts +0 -21
- package/dist/esm/react-query/creditsPostCreditsCoinbase.d.ts.map +0 -1
- package/dist/esm/react-query/creditsPostCreditsCoinbase.js +0 -39
- package/dist/esm/react-query/creditsPostCreditsCoinbase.js.map +0 -1
- package/dist/esm/react-query/endpointsGetEndpointsZdr.d.ts +0 -23
- package/dist/esm/react-query/endpointsGetEndpointsZdr.d.ts.map +0 -1
- package/dist/esm/react-query/endpointsGetEndpointsZdr.js +0 -60
- package/dist/esm/react-query/endpointsGetEndpointsZdr.js.map +0 -1
- package/dist/esm/react-query/endpointsGetModelsAuthorSlugEndpoints.d.ts +0 -24
- package/dist/esm/react-query/endpointsGetModelsAuthorSlugEndpoints.d.ts.map +0 -1
- package/dist/esm/react-query/endpointsGetModelsAuthorSlugEndpoints.js +0 -77
- package/dist/esm/react-query/endpointsGetModelsAuthorSlugEndpoints.js.map +0 -1
- package/dist/esm/react-query/generationsGetGeneration.d.ts +0 -30
- package/dist/esm/react-query/generationsGetGeneration.d.ts.map +0 -1
- package/dist/esm/react-query/generationsGetGeneration.js +0 -71
- package/dist/esm/react-query/generationsGetGeneration.js.map +0 -1
- package/dist/esm/react-query/modelGetParametersAuthorSlug.d.ts +0 -38
- package/dist/esm/react-query/modelGetParametersAuthorSlug.d.ts.map +0 -1
- package/dist/esm/react-query/modelGetParametersAuthorSlug.js +0 -78
- package/dist/esm/react-query/modelGetParametersAuthorSlug.js.map +0 -1
- package/dist/esm/react-query/modelsGetModels.d.ts +0 -47
- package/dist/esm/react-query/modelsGetModels.d.ts.map +0 -1
- package/dist/esm/react-query/modelsGetModels.js +0 -72
- package/dist/esm/react-query/modelsGetModels.js.map +0 -1
- package/dist/esm/react-query/modelsGetModelsCount.d.ts +0 -23
- package/dist/esm/react-query/modelsGetModelsCount.d.ts.map +0 -1
- package/dist/esm/react-query/modelsGetModelsCount.js +0 -60
- package/dist/esm/react-query/modelsGetModelsCount.js.map +0 -1
- package/dist/esm/react-query/modelsGetModelsUser.d.ts +0 -23
- package/dist/esm/react-query/modelsGetModelsUser.d.ts.map +0 -1
- package/dist/esm/react-query/modelsGetModelsUser.js +0 -60
- package/dist/esm/react-query/modelsGetModelsUser.js.map +0 -1
- package/dist/esm/react-query/oAuthPostAuthKeys.d.ts +0 -23
- package/dist/esm/react-query/oAuthPostAuthKeys.d.ts.map +0 -1
- package/dist/esm/react-query/oAuthPostAuthKeys.js +0 -42
- package/dist/esm/react-query/oAuthPostAuthKeys.js.map +0 -1
- package/dist/esm/react-query/oAuthPostAuthKeysCode.d.ts +0 -23
- package/dist/esm/react-query/oAuthPostAuthKeysCode.d.ts.map +0 -1
- package/dist/esm/react-query/oAuthPostAuthKeysCode.js +0 -42
- package/dist/esm/react-query/oAuthPostAuthKeysCode.js.map +0 -1
- package/dist/esm/react-query/providersGetProviders.d.ts +0 -23
- package/dist/esm/react-query/providersGetProviders.d.ts.map +0 -1
- package/dist/esm/react-query/providersGetProviders.js +0 -60
- package/dist/esm/react-query/providersGetProviders.js.map +0 -1
- package/dist/esm/sdk/alpha.d.ts +0 -7
- package/dist/esm/sdk/alpha.d.ts.map +0 -1
- package/dist/esm/sdk/alpha.js +0 -11
- package/dist/esm/sdk/alpha.js.map +0 -1
- package/docs/sdks/alpha/README.md +0 -6
- package/docs/sdks/openrouter/README.md +0 -10
- package/examples/alphaResponsesSend2.example.ts +0 -30
- package/src/funcs/alphaResponsesSend2.ts +0 -231
- package/src/funcs/analyticsGetActivity.ts +0 -173
- package/src/funcs/apiKeysDeleteKeysHash.ts +0 -171
- package/src/funcs/apiKeysGetAuthKey.ts +0 -150
- package/src/funcs/apiKeysGetKey.ts +0 -150
- package/src/funcs/apiKeysGetKeys.ts +0 -170
- package/src/funcs/apiKeysGetKeysHash.ts +0 -171
- package/src/funcs/apiKeysPatchKeysHash.ts +0 -172
- package/src/funcs/apiKeysPostKeys.ts +0 -168
- package/src/funcs/creditsGetCredits.ts +0 -147
- package/src/funcs/creditsPostCreditsCoinbase.ts +0 -179
- package/src/funcs/endpointsGetEndpointsZdr.ts +0 -147
- package/src/funcs/endpointsGetModelsAuthorSlugEndpoints.ts +0 -177
- package/src/funcs/generationsGetGeneration.ts +0 -169
- package/src/funcs/modelGetParametersAuthorSlug.ts +0 -190
- package/src/funcs/modelsGetModels.ts +0 -182
- package/src/funcs/modelsGetModelsCount.ts +0 -147
- package/src/funcs/modelsGetModelsUser.ts +0 -156
- package/src/funcs/oAuthPostAuthKeys.ts +0 -171
- package/src/funcs/oAuthPostAuthKeysCode.ts +0 -171
- package/src/funcs/providersGetProviders.ts +0 -148
- package/src/models/completionerror.ts +0 -128
- package/src/models/completionstreamingchoice.ts +0 -98
- package/src/models/completionstreamingresponsechunk.ts +0 -186
- package/src/models/errors/completionerror.ts +0 -79
- package/src/models/errors/getproviders.ts +0 -91
- package/src/models/operations/deletekeyshash.ts +0 -130
- package/src/models/operations/getactivity.ts +0 -131
- package/src/models/operations/getauthkey.ts +0 -271
- package/src/models/operations/getendpointszdr.ts +0 -1109
- package/src/models/operations/getgeneration.ts +0 -491
- package/src/models/operations/getkey.ts +0 -265
- package/src/models/operations/getkeys.ts +0 -253
- package/src/models/operations/getkeyshash.ts +0 -252
- package/src/models/operations/getmodels.ts +0 -1514
- package/src/models/operations/getmodelsauthorslugendpoints.ts +0 -1719
- package/src/models/operations/getmodelscount.ts +0 -136
- package/src/models/operations/getmodelsuser.ts +0 -1466
- package/src/models/operations/getparametersauthorslug.ts +0 -431
- package/src/models/operations/getproviders.ts +0 -242
- package/src/models/operations/patchkeyshash.ts +0 -356
- package/src/models/operations/postapialpharesponses.ts +0 -20393
- package/src/models/operations/postauthkeys.ts +0 -211
- package/src/models/operations/postauthkeyscode.ts +0 -289
- package/src/models/operations/postchatcompletions.ts +0 -80
- package/src/models/operations/postcompletions.ts +0 -78
- package/src/models/operations/postcreditscoinbase.ts +0 -619
- package/src/models/operations/postembeddings.ts +0 -1683
- package/src/models/operations/postkeys.ts +0 -280
- package/src/react-query/alphaResponsesSend2.ts +0 -94
- package/src/react-query/analyticsGetActivity.ts +0 -150
- package/src/react-query/apiKeysDeleteKeysHash.ts +0 -86
- package/src/react-query/apiKeysGetAuthKey.ts +0 -124
- package/src/react-query/apiKeysGetKey.ts +0 -122
- package/src/react-query/apiKeysGetKeys.ts +0 -158
- package/src/react-query/apiKeysGetKeysHash.ts +0 -142
- package/src/react-query/apiKeysPatchKeysHash.ts +0 -85
- package/src/react-query/apiKeysPostKeys.ts +0 -85
- package/src/react-query/creditsGetCredits.ts +0 -118
- package/src/react-query/creditsPostCreditsCoinbase.ts +0 -89
- package/src/react-query/endpointsGetEndpointsZdr.ts +0 -119
- package/src/react-query/endpointsGetModelsAuthorSlugEndpoints.ts +0 -168
- package/src/react-query/generationsGetGeneration.ts +0 -150
- package/src/react-query/modelGetParametersAuthorSlug.ts +0 -187
- package/src/react-query/modelsGetModels.ts +0 -171
- package/src/react-query/modelsGetModelsCount.ts +0 -118
- package/src/react-query/modelsGetModelsUser.ts +0 -126
- package/src/react-query/oAuthPostAuthKeys.ts +0 -88
- package/src/react-query/oAuthPostAuthKeysCode.ts +0 -89
- package/src/react-query/providersGetProviders.ts +0 -118
- package/src/sdk/alpha.ts +0 -13
|
@@ -0,0 +1,1484 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
|
+
export type Input = string | Array<string> | Array<number> | Array<Array<number>>;
|
|
6
|
+
/**
|
|
7
|
+
* Data collection setting. If no available model provider meets the requirement, your request will return an error.
|
|
8
|
+
*
|
|
9
|
+
* @remarks
|
|
10
|
+
* - allow: (default) allow providers which store user data non-transiently and may train on it
|
|
11
|
+
* - deny: use only providers which do not collect user data.
|
|
12
|
+
*/
|
|
13
|
+
export declare const DataCollection: {
|
|
14
|
+
readonly Deny: "deny";
|
|
15
|
+
readonly Allow: "allow";
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Data collection setting. If no available model provider meets the requirement, your request will return an error.
|
|
19
|
+
*
|
|
20
|
+
* @remarks
|
|
21
|
+
* - allow: (default) allow providers which store user data non-transiently and may train on it
|
|
22
|
+
* - deny: use only providers which do not collect user data.
|
|
23
|
+
*/
|
|
24
|
+
export type DataCollection = ClosedEnum<typeof DataCollection>;
|
|
25
|
+
export declare const OrderEnum: {
|
|
26
|
+
readonly AnyScale: "AnyScale";
|
|
27
|
+
readonly CentML: "Cent-ML";
|
|
28
|
+
readonly HuggingFace: "HuggingFace";
|
|
29
|
+
readonly Hyperbolic2: "Hyperbolic 2";
|
|
30
|
+
readonly Lepton: "Lepton";
|
|
31
|
+
readonly Lynn2: "Lynn 2";
|
|
32
|
+
readonly Lynn: "Lynn";
|
|
33
|
+
readonly Mancer: "Mancer";
|
|
34
|
+
readonly Modal: "Modal";
|
|
35
|
+
readonly OctoAI: "OctoAI";
|
|
36
|
+
readonly Recursal: "Recursal";
|
|
37
|
+
readonly Reflection: "Reflection";
|
|
38
|
+
readonly Replicate: "Replicate";
|
|
39
|
+
readonly SambaNova2: "SambaNova 2";
|
|
40
|
+
readonly SFCompute: "SF Compute";
|
|
41
|
+
readonly Together2: "Together 2";
|
|
42
|
+
readonly OneDotAI: "01.AI";
|
|
43
|
+
readonly Ai21: "AI21";
|
|
44
|
+
readonly AionLabs: "AionLabs";
|
|
45
|
+
readonly Alibaba: "Alibaba";
|
|
46
|
+
readonly AmazonBedrock: "Amazon Bedrock";
|
|
47
|
+
readonly Anthropic: "Anthropic";
|
|
48
|
+
readonly AtlasCloud: "AtlasCloud";
|
|
49
|
+
readonly Atoma: "Atoma";
|
|
50
|
+
readonly Avian: "Avian";
|
|
51
|
+
readonly Azure: "Azure";
|
|
52
|
+
readonly BaseTen: "BaseTen";
|
|
53
|
+
readonly Cerebras: "Cerebras";
|
|
54
|
+
readonly Chutes: "Chutes";
|
|
55
|
+
readonly Cloudflare: "Cloudflare";
|
|
56
|
+
readonly Cohere: "Cohere";
|
|
57
|
+
readonly CrofAI: "CrofAI";
|
|
58
|
+
readonly Crusoe: "Crusoe";
|
|
59
|
+
readonly DeepInfra: "DeepInfra";
|
|
60
|
+
readonly DeepSeek: "DeepSeek";
|
|
61
|
+
readonly Enfer: "Enfer";
|
|
62
|
+
readonly Featherless: "Featherless";
|
|
63
|
+
readonly Fireworks: "Fireworks";
|
|
64
|
+
readonly Friendli: "Friendli";
|
|
65
|
+
readonly GMICloud: "GMICloud";
|
|
66
|
+
readonly Google: "Google";
|
|
67
|
+
readonly GoogleAIStudio: "Google AI Studio";
|
|
68
|
+
readonly Groq: "Groq";
|
|
69
|
+
readonly Hyperbolic: "Hyperbolic";
|
|
70
|
+
readonly Inception: "Inception";
|
|
71
|
+
readonly InferenceNet: "InferenceNet";
|
|
72
|
+
readonly Infermatic: "Infermatic";
|
|
73
|
+
readonly Inflection: "Inflection";
|
|
74
|
+
readonly InoCloud: "InoCloud";
|
|
75
|
+
readonly Kluster: "Kluster";
|
|
76
|
+
readonly Lambda: "Lambda";
|
|
77
|
+
readonly Liquid: "Liquid";
|
|
78
|
+
readonly Mancer2: "Mancer 2";
|
|
79
|
+
readonly Meta: "Meta";
|
|
80
|
+
readonly Minimax: "Minimax";
|
|
81
|
+
readonly Mistral: "Mistral";
|
|
82
|
+
readonly MoonshotAI: "Moonshot AI";
|
|
83
|
+
readonly Morph: "Morph";
|
|
84
|
+
readonly NCompass: "NCompass";
|
|
85
|
+
readonly Nebius: "Nebius";
|
|
86
|
+
readonly NextBit: "NextBit";
|
|
87
|
+
readonly Nineteen: "Nineteen";
|
|
88
|
+
readonly Novita: "Novita";
|
|
89
|
+
readonly Nvidia: "Nvidia";
|
|
90
|
+
readonly OpenAI: "OpenAI";
|
|
91
|
+
readonly OpenInference: "OpenInference";
|
|
92
|
+
readonly Parasail: "Parasail";
|
|
93
|
+
readonly Perplexity: "Perplexity";
|
|
94
|
+
readonly Phala: "Phala";
|
|
95
|
+
readonly Relace: "Relace";
|
|
96
|
+
readonly SambaNova: "SambaNova";
|
|
97
|
+
readonly SiliconFlow: "SiliconFlow";
|
|
98
|
+
readonly Stealth: "Stealth";
|
|
99
|
+
readonly Switchpoint: "Switchpoint";
|
|
100
|
+
readonly Targon: "Targon";
|
|
101
|
+
readonly Together: "Together";
|
|
102
|
+
readonly Ubicloud: "Ubicloud";
|
|
103
|
+
readonly Venice: "Venice";
|
|
104
|
+
readonly WandB: "WandB";
|
|
105
|
+
readonly XAI: "xAI";
|
|
106
|
+
readonly ZAi: "Z.AI";
|
|
107
|
+
readonly FakeProvider: "FakeProvider";
|
|
108
|
+
};
|
|
109
|
+
export type OrderEnum = ClosedEnum<typeof OrderEnum>;
|
|
110
|
+
export type Order = OrderEnum | string;
|
|
111
|
+
export declare const OnlyEnum: {
|
|
112
|
+
readonly AnyScale: "AnyScale";
|
|
113
|
+
readonly CentML: "Cent-ML";
|
|
114
|
+
readonly HuggingFace: "HuggingFace";
|
|
115
|
+
readonly Hyperbolic2: "Hyperbolic 2";
|
|
116
|
+
readonly Lepton: "Lepton";
|
|
117
|
+
readonly Lynn2: "Lynn 2";
|
|
118
|
+
readonly Lynn: "Lynn";
|
|
119
|
+
readonly Mancer: "Mancer";
|
|
120
|
+
readonly Modal: "Modal";
|
|
121
|
+
readonly OctoAI: "OctoAI";
|
|
122
|
+
readonly Recursal: "Recursal";
|
|
123
|
+
readonly Reflection: "Reflection";
|
|
124
|
+
readonly Replicate: "Replicate";
|
|
125
|
+
readonly SambaNova2: "SambaNova 2";
|
|
126
|
+
readonly SFCompute: "SF Compute";
|
|
127
|
+
readonly Together2: "Together 2";
|
|
128
|
+
readonly OneDotAI: "01.AI";
|
|
129
|
+
readonly Ai21: "AI21";
|
|
130
|
+
readonly AionLabs: "AionLabs";
|
|
131
|
+
readonly Alibaba: "Alibaba";
|
|
132
|
+
readonly AmazonBedrock: "Amazon Bedrock";
|
|
133
|
+
readonly Anthropic: "Anthropic";
|
|
134
|
+
readonly AtlasCloud: "AtlasCloud";
|
|
135
|
+
readonly Atoma: "Atoma";
|
|
136
|
+
readonly Avian: "Avian";
|
|
137
|
+
readonly Azure: "Azure";
|
|
138
|
+
readonly BaseTen: "BaseTen";
|
|
139
|
+
readonly Cerebras: "Cerebras";
|
|
140
|
+
readonly Chutes: "Chutes";
|
|
141
|
+
readonly Cloudflare: "Cloudflare";
|
|
142
|
+
readonly Cohere: "Cohere";
|
|
143
|
+
readonly CrofAI: "CrofAI";
|
|
144
|
+
readonly Crusoe: "Crusoe";
|
|
145
|
+
readonly DeepInfra: "DeepInfra";
|
|
146
|
+
readonly DeepSeek: "DeepSeek";
|
|
147
|
+
readonly Enfer: "Enfer";
|
|
148
|
+
readonly Featherless: "Featherless";
|
|
149
|
+
readonly Fireworks: "Fireworks";
|
|
150
|
+
readonly Friendli: "Friendli";
|
|
151
|
+
readonly GMICloud: "GMICloud";
|
|
152
|
+
readonly Google: "Google";
|
|
153
|
+
readonly GoogleAIStudio: "Google AI Studio";
|
|
154
|
+
readonly Groq: "Groq";
|
|
155
|
+
readonly Hyperbolic: "Hyperbolic";
|
|
156
|
+
readonly Inception: "Inception";
|
|
157
|
+
readonly InferenceNet: "InferenceNet";
|
|
158
|
+
readonly Infermatic: "Infermatic";
|
|
159
|
+
readonly Inflection: "Inflection";
|
|
160
|
+
readonly InoCloud: "InoCloud";
|
|
161
|
+
readonly Kluster: "Kluster";
|
|
162
|
+
readonly Lambda: "Lambda";
|
|
163
|
+
readonly Liquid: "Liquid";
|
|
164
|
+
readonly Mancer2: "Mancer 2";
|
|
165
|
+
readonly Meta: "Meta";
|
|
166
|
+
readonly Minimax: "Minimax";
|
|
167
|
+
readonly Mistral: "Mistral";
|
|
168
|
+
readonly MoonshotAI: "Moonshot AI";
|
|
169
|
+
readonly Morph: "Morph";
|
|
170
|
+
readonly NCompass: "NCompass";
|
|
171
|
+
readonly Nebius: "Nebius";
|
|
172
|
+
readonly NextBit: "NextBit";
|
|
173
|
+
readonly Nineteen: "Nineteen";
|
|
174
|
+
readonly Novita: "Novita";
|
|
175
|
+
readonly Nvidia: "Nvidia";
|
|
176
|
+
readonly OpenAI: "OpenAI";
|
|
177
|
+
readonly OpenInference: "OpenInference";
|
|
178
|
+
readonly Parasail: "Parasail";
|
|
179
|
+
readonly Perplexity: "Perplexity";
|
|
180
|
+
readonly Phala: "Phala";
|
|
181
|
+
readonly Relace: "Relace";
|
|
182
|
+
readonly SambaNova: "SambaNova";
|
|
183
|
+
readonly SiliconFlow: "SiliconFlow";
|
|
184
|
+
readonly Stealth: "Stealth";
|
|
185
|
+
readonly Switchpoint: "Switchpoint";
|
|
186
|
+
readonly Targon: "Targon";
|
|
187
|
+
readonly Together: "Together";
|
|
188
|
+
readonly Ubicloud: "Ubicloud";
|
|
189
|
+
readonly Venice: "Venice";
|
|
190
|
+
readonly WandB: "WandB";
|
|
191
|
+
readonly XAI: "xAI";
|
|
192
|
+
readonly ZAi: "Z.AI";
|
|
193
|
+
readonly FakeProvider: "FakeProvider";
|
|
194
|
+
};
|
|
195
|
+
export type OnlyEnum = ClosedEnum<typeof OnlyEnum>;
|
|
196
|
+
export type Only = OnlyEnum | string;
|
|
197
|
+
export declare const IgnoreEnum: {
|
|
198
|
+
readonly AnyScale: "AnyScale";
|
|
199
|
+
readonly CentML: "Cent-ML";
|
|
200
|
+
readonly HuggingFace: "HuggingFace";
|
|
201
|
+
readonly Hyperbolic2: "Hyperbolic 2";
|
|
202
|
+
readonly Lepton: "Lepton";
|
|
203
|
+
readonly Lynn2: "Lynn 2";
|
|
204
|
+
readonly Lynn: "Lynn";
|
|
205
|
+
readonly Mancer: "Mancer";
|
|
206
|
+
readonly Modal: "Modal";
|
|
207
|
+
readonly OctoAI: "OctoAI";
|
|
208
|
+
readonly Recursal: "Recursal";
|
|
209
|
+
readonly Reflection: "Reflection";
|
|
210
|
+
readonly Replicate: "Replicate";
|
|
211
|
+
readonly SambaNova2: "SambaNova 2";
|
|
212
|
+
readonly SFCompute: "SF Compute";
|
|
213
|
+
readonly Together2: "Together 2";
|
|
214
|
+
readonly OneDotAI: "01.AI";
|
|
215
|
+
readonly Ai21: "AI21";
|
|
216
|
+
readonly AionLabs: "AionLabs";
|
|
217
|
+
readonly Alibaba: "Alibaba";
|
|
218
|
+
readonly AmazonBedrock: "Amazon Bedrock";
|
|
219
|
+
readonly Anthropic: "Anthropic";
|
|
220
|
+
readonly AtlasCloud: "AtlasCloud";
|
|
221
|
+
readonly Atoma: "Atoma";
|
|
222
|
+
readonly Avian: "Avian";
|
|
223
|
+
readonly Azure: "Azure";
|
|
224
|
+
readonly BaseTen: "BaseTen";
|
|
225
|
+
readonly Cerebras: "Cerebras";
|
|
226
|
+
readonly Chutes: "Chutes";
|
|
227
|
+
readonly Cloudflare: "Cloudflare";
|
|
228
|
+
readonly Cohere: "Cohere";
|
|
229
|
+
readonly CrofAI: "CrofAI";
|
|
230
|
+
readonly Crusoe: "Crusoe";
|
|
231
|
+
readonly DeepInfra: "DeepInfra";
|
|
232
|
+
readonly DeepSeek: "DeepSeek";
|
|
233
|
+
readonly Enfer: "Enfer";
|
|
234
|
+
readonly Featherless: "Featherless";
|
|
235
|
+
readonly Fireworks: "Fireworks";
|
|
236
|
+
readonly Friendli: "Friendli";
|
|
237
|
+
readonly GMICloud: "GMICloud";
|
|
238
|
+
readonly Google: "Google";
|
|
239
|
+
readonly GoogleAIStudio: "Google AI Studio";
|
|
240
|
+
readonly Groq: "Groq";
|
|
241
|
+
readonly Hyperbolic: "Hyperbolic";
|
|
242
|
+
readonly Inception: "Inception";
|
|
243
|
+
readonly InferenceNet: "InferenceNet";
|
|
244
|
+
readonly Infermatic: "Infermatic";
|
|
245
|
+
readonly Inflection: "Inflection";
|
|
246
|
+
readonly InoCloud: "InoCloud";
|
|
247
|
+
readonly Kluster: "Kluster";
|
|
248
|
+
readonly Lambda: "Lambda";
|
|
249
|
+
readonly Liquid: "Liquid";
|
|
250
|
+
readonly Mancer2: "Mancer 2";
|
|
251
|
+
readonly Meta: "Meta";
|
|
252
|
+
readonly Minimax: "Minimax";
|
|
253
|
+
readonly Mistral: "Mistral";
|
|
254
|
+
readonly MoonshotAI: "Moonshot AI";
|
|
255
|
+
readonly Morph: "Morph";
|
|
256
|
+
readonly NCompass: "NCompass";
|
|
257
|
+
readonly Nebius: "Nebius";
|
|
258
|
+
readonly NextBit: "NextBit";
|
|
259
|
+
readonly Nineteen: "Nineteen";
|
|
260
|
+
readonly Novita: "Novita";
|
|
261
|
+
readonly Nvidia: "Nvidia";
|
|
262
|
+
readonly OpenAI: "OpenAI";
|
|
263
|
+
readonly OpenInference: "OpenInference";
|
|
264
|
+
readonly Parasail: "Parasail";
|
|
265
|
+
readonly Perplexity: "Perplexity";
|
|
266
|
+
readonly Phala: "Phala";
|
|
267
|
+
readonly Relace: "Relace";
|
|
268
|
+
readonly SambaNova: "SambaNova";
|
|
269
|
+
readonly SiliconFlow: "SiliconFlow";
|
|
270
|
+
readonly Stealth: "Stealth";
|
|
271
|
+
readonly Switchpoint: "Switchpoint";
|
|
272
|
+
readonly Targon: "Targon";
|
|
273
|
+
readonly Together: "Together";
|
|
274
|
+
readonly Ubicloud: "Ubicloud";
|
|
275
|
+
readonly Venice: "Venice";
|
|
276
|
+
readonly WandB: "WandB";
|
|
277
|
+
readonly XAI: "xAI";
|
|
278
|
+
readonly ZAi: "Z.AI";
|
|
279
|
+
readonly FakeProvider: "FakeProvider";
|
|
280
|
+
};
|
|
281
|
+
export type IgnoreEnum = ClosedEnum<typeof IgnoreEnum>;
|
|
282
|
+
export type Ignore = IgnoreEnum | string;
|
|
283
|
+
export declare const GenerateQuantization: {
|
|
284
|
+
readonly Int4: "int4";
|
|
285
|
+
readonly Int8: "int8";
|
|
286
|
+
readonly Fp4: "fp4";
|
|
287
|
+
readonly Fp6: "fp6";
|
|
288
|
+
readonly Fp8: "fp8";
|
|
289
|
+
readonly Fp16: "fp16";
|
|
290
|
+
readonly Bf16: "bf16";
|
|
291
|
+
readonly Fp32: "fp32";
|
|
292
|
+
readonly Unknown: "unknown";
|
|
293
|
+
};
|
|
294
|
+
export type GenerateQuantization = ClosedEnum<typeof GenerateQuantization>;
|
|
295
|
+
/**
|
|
296
|
+
* The sorting strategy to use for this request, if "order" is not specified. When set, no load balancing is performed.
|
|
297
|
+
*/
|
|
298
|
+
export declare const Sort: {
|
|
299
|
+
readonly Price: "price";
|
|
300
|
+
readonly Throughput: "throughput";
|
|
301
|
+
readonly Latency: "latency";
|
|
302
|
+
};
|
|
303
|
+
/**
|
|
304
|
+
* The sorting strategy to use for this request, if "order" is not specified. When set, no load balancing is performed.
|
|
305
|
+
*/
|
|
306
|
+
export type Sort = ClosedEnum<typeof Sort>;
|
|
307
|
+
export type GeneratePrompt = number | string | any;
|
|
308
|
+
export type GenerateCompletion = number | string | any;
|
|
309
|
+
export type GenerateImage = number | string | any;
|
|
310
|
+
export type GenerateAudio = number | string | any;
|
|
311
|
+
export type GenerateRequestUnion = number | string | any;
|
|
312
|
+
/**
|
|
313
|
+
* The object specifying the maximum price you want to pay for this request. USD price per million tokens, for prompt and completion.
|
|
314
|
+
*/
|
|
315
|
+
export type MaxPrice = {
|
|
316
|
+
prompt?: number | string | any | undefined;
|
|
317
|
+
completion?: number | string | any | undefined;
|
|
318
|
+
image?: number | string | any | undefined;
|
|
319
|
+
audio?: number | string | any | undefined;
|
|
320
|
+
request?: number | string | any | undefined;
|
|
321
|
+
};
|
|
322
|
+
export type Experimental = {};
|
|
323
|
+
export type GenerateProvider = {
|
|
324
|
+
/**
|
|
325
|
+
* Whether to allow backup providers to serve requests
|
|
326
|
+
*
|
|
327
|
+
* @remarks
|
|
328
|
+
* - true: (default) when the primary provider (or your custom providers in "order") is unavailable, use the next best provider.
|
|
329
|
+
* - false: use only the primary/custom provider, and return the upstream error if it's unavailable.
|
|
330
|
+
*/
|
|
331
|
+
allowFallbacks?: boolean | null | undefined;
|
|
332
|
+
/**
|
|
333
|
+
* 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.
|
|
334
|
+
*/
|
|
335
|
+
requireParameters?: boolean | null | undefined;
|
|
336
|
+
/**
|
|
337
|
+
* Data collection setting. If no available model provider meets the requirement, your request will return an error.
|
|
338
|
+
*
|
|
339
|
+
* @remarks
|
|
340
|
+
* - allow: (default) allow providers which store user data non-transiently and may train on it
|
|
341
|
+
* - deny: use only providers which do not collect user data.
|
|
342
|
+
*/
|
|
343
|
+
dataCollection?: DataCollection | null | undefined;
|
|
344
|
+
/**
|
|
345
|
+
* Whether to restrict routing to only ZDR (Zero Data Retention) endpoints. When true, only endpoints that do not retain prompts will be used.
|
|
346
|
+
*/
|
|
347
|
+
zdr?: boolean | null | undefined;
|
|
348
|
+
/**
|
|
349
|
+
* 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.
|
|
350
|
+
*/
|
|
351
|
+
order?: Array<OrderEnum | string> | null | undefined;
|
|
352
|
+
/**
|
|
353
|
+
* List of provider slugs to allow. If provided, this list is merged with your account-wide allowed provider settings for this request.
|
|
354
|
+
*/
|
|
355
|
+
only?: Array<OnlyEnum | string> | null | undefined;
|
|
356
|
+
/**
|
|
357
|
+
* List of provider slugs to ignore. If provided, this list is merged with your account-wide ignored provider settings for this request.
|
|
358
|
+
*/
|
|
359
|
+
ignore?: Array<IgnoreEnum | string> | null | undefined;
|
|
360
|
+
/**
|
|
361
|
+
* A list of quantization levels to filter the provider by.
|
|
362
|
+
*/
|
|
363
|
+
quantizations?: Array<GenerateQuantization> | null | undefined;
|
|
364
|
+
/**
|
|
365
|
+
* The sorting strategy to use for this request, if "order" is not specified. When set, no load balancing is performed.
|
|
366
|
+
*/
|
|
367
|
+
sort?: Sort | null | undefined;
|
|
368
|
+
/**
|
|
369
|
+
* The object specifying the maximum price you want to pay for this request. USD price per million tokens, for prompt and completion.
|
|
370
|
+
*/
|
|
371
|
+
maxPrice?: MaxPrice | undefined;
|
|
372
|
+
experimental?: Experimental | null | undefined;
|
|
373
|
+
};
|
|
374
|
+
export declare const EncodingFormatBase64: {
|
|
375
|
+
readonly Base64: "base64";
|
|
376
|
+
};
|
|
377
|
+
export type EncodingFormatBase64 = ClosedEnum<typeof EncodingFormatBase64>;
|
|
378
|
+
export declare const EncodingFormatFloat: {
|
|
379
|
+
readonly Float: "float";
|
|
380
|
+
};
|
|
381
|
+
export type EncodingFormatFloat = ClosedEnum<typeof EncodingFormatFloat>;
|
|
382
|
+
export type EncodingFormat = EncodingFormatFloat | EncodingFormatBase64;
|
|
383
|
+
export type GenerateRequest = {
|
|
384
|
+
input: string | Array<string> | Array<number> | Array<Array<number>>;
|
|
385
|
+
model?: string | undefined;
|
|
386
|
+
models?: Array<string> | undefined;
|
|
387
|
+
provider?: GenerateProvider | undefined;
|
|
388
|
+
encodingFormat?: EncodingFormatFloat | EncodingFormatBase64 | undefined;
|
|
389
|
+
user?: string | undefined;
|
|
390
|
+
};
|
|
391
|
+
export declare const ObjectT: {
|
|
392
|
+
readonly List: "list";
|
|
393
|
+
};
|
|
394
|
+
export type ObjectT = ClosedEnum<typeof ObjectT>;
|
|
395
|
+
export declare const ObjectEmbedding: {
|
|
396
|
+
readonly Embedding: "embedding";
|
|
397
|
+
};
|
|
398
|
+
export type ObjectEmbedding = ClosedEnum<typeof ObjectEmbedding>;
|
|
399
|
+
export type GenerateData = {
|
|
400
|
+
object: ObjectEmbedding;
|
|
401
|
+
embedding: Array<number>;
|
|
402
|
+
index: number;
|
|
403
|
+
};
|
|
404
|
+
export type Usage = {
|
|
405
|
+
promptTokens: number;
|
|
406
|
+
totalTokens: number;
|
|
407
|
+
cost?: number | undefined;
|
|
408
|
+
};
|
|
409
|
+
/**
|
|
410
|
+
* Embedding response
|
|
411
|
+
*/
|
|
412
|
+
export type GenerateResponse = {
|
|
413
|
+
object: ObjectT;
|
|
414
|
+
data: Array<GenerateData>;
|
|
415
|
+
model: string;
|
|
416
|
+
usage?: Usage | undefined;
|
|
417
|
+
};
|
|
418
|
+
/** @internal */
|
|
419
|
+
export declare const Input$inboundSchema: z.ZodType<Input, z.ZodTypeDef, unknown>;
|
|
420
|
+
/** @internal */
|
|
421
|
+
export type Input$Outbound = string | Array<string> | Array<number> | Array<Array<number>>;
|
|
422
|
+
/** @internal */
|
|
423
|
+
export declare const Input$outboundSchema: z.ZodType<Input$Outbound, z.ZodTypeDef, Input>;
|
|
424
|
+
/**
|
|
425
|
+
* @internal
|
|
426
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
427
|
+
*/
|
|
428
|
+
export declare namespace Input$ {
|
|
429
|
+
/** @deprecated use `Input$inboundSchema` instead. */
|
|
430
|
+
const inboundSchema: z.ZodType<Input, z.ZodTypeDef, unknown>;
|
|
431
|
+
/** @deprecated use `Input$outboundSchema` instead. */
|
|
432
|
+
const outboundSchema: z.ZodType<Input$Outbound, z.ZodTypeDef, Input>;
|
|
433
|
+
/** @deprecated use `Input$Outbound` instead. */
|
|
434
|
+
type Outbound = Input$Outbound;
|
|
435
|
+
}
|
|
436
|
+
export declare function inputToJSON(input: Input): string;
|
|
437
|
+
export declare function inputFromJSON(jsonString: string): SafeParseResult<Input, SDKValidationError>;
|
|
438
|
+
/** @internal */
|
|
439
|
+
export declare const DataCollection$inboundSchema: z.ZodNativeEnum<typeof DataCollection>;
|
|
440
|
+
/** @internal */
|
|
441
|
+
export declare const DataCollection$outboundSchema: z.ZodNativeEnum<typeof DataCollection>;
|
|
442
|
+
/**
|
|
443
|
+
* @internal
|
|
444
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
445
|
+
*/
|
|
446
|
+
export declare namespace DataCollection$ {
|
|
447
|
+
/** @deprecated use `DataCollection$inboundSchema` instead. */
|
|
448
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
449
|
+
readonly Deny: "deny";
|
|
450
|
+
readonly Allow: "allow";
|
|
451
|
+
}>;
|
|
452
|
+
/** @deprecated use `DataCollection$outboundSchema` instead. */
|
|
453
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
454
|
+
readonly Deny: "deny";
|
|
455
|
+
readonly Allow: "allow";
|
|
456
|
+
}>;
|
|
457
|
+
}
|
|
458
|
+
/** @internal */
|
|
459
|
+
export declare const OrderEnum$inboundSchema: z.ZodNativeEnum<typeof OrderEnum>;
|
|
460
|
+
/** @internal */
|
|
461
|
+
export declare const OrderEnum$outboundSchema: z.ZodNativeEnum<typeof OrderEnum>;
|
|
462
|
+
/**
|
|
463
|
+
* @internal
|
|
464
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
465
|
+
*/
|
|
466
|
+
export declare namespace OrderEnum$ {
|
|
467
|
+
/** @deprecated use `OrderEnum$inboundSchema` instead. */
|
|
468
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
469
|
+
readonly AnyScale: "AnyScale";
|
|
470
|
+
readonly CentML: "Cent-ML";
|
|
471
|
+
readonly HuggingFace: "HuggingFace";
|
|
472
|
+
readonly Hyperbolic2: "Hyperbolic 2";
|
|
473
|
+
readonly Lepton: "Lepton";
|
|
474
|
+
readonly Lynn2: "Lynn 2";
|
|
475
|
+
readonly Lynn: "Lynn";
|
|
476
|
+
readonly Mancer: "Mancer";
|
|
477
|
+
readonly Modal: "Modal";
|
|
478
|
+
readonly OctoAI: "OctoAI";
|
|
479
|
+
readonly Recursal: "Recursal";
|
|
480
|
+
readonly Reflection: "Reflection";
|
|
481
|
+
readonly Replicate: "Replicate";
|
|
482
|
+
readonly SambaNova2: "SambaNova 2";
|
|
483
|
+
readonly SFCompute: "SF Compute";
|
|
484
|
+
readonly Together2: "Together 2";
|
|
485
|
+
readonly OneDotAI: "01.AI";
|
|
486
|
+
readonly Ai21: "AI21";
|
|
487
|
+
readonly AionLabs: "AionLabs";
|
|
488
|
+
readonly Alibaba: "Alibaba";
|
|
489
|
+
readonly AmazonBedrock: "Amazon Bedrock";
|
|
490
|
+
readonly Anthropic: "Anthropic";
|
|
491
|
+
readonly AtlasCloud: "AtlasCloud";
|
|
492
|
+
readonly Atoma: "Atoma";
|
|
493
|
+
readonly Avian: "Avian";
|
|
494
|
+
readonly Azure: "Azure";
|
|
495
|
+
readonly BaseTen: "BaseTen";
|
|
496
|
+
readonly Cerebras: "Cerebras";
|
|
497
|
+
readonly Chutes: "Chutes";
|
|
498
|
+
readonly Cloudflare: "Cloudflare";
|
|
499
|
+
readonly Cohere: "Cohere";
|
|
500
|
+
readonly CrofAI: "CrofAI";
|
|
501
|
+
readonly Crusoe: "Crusoe";
|
|
502
|
+
readonly DeepInfra: "DeepInfra";
|
|
503
|
+
readonly DeepSeek: "DeepSeek";
|
|
504
|
+
readonly Enfer: "Enfer";
|
|
505
|
+
readonly Featherless: "Featherless";
|
|
506
|
+
readonly Fireworks: "Fireworks";
|
|
507
|
+
readonly Friendli: "Friendli";
|
|
508
|
+
readonly GMICloud: "GMICloud";
|
|
509
|
+
readonly Google: "Google";
|
|
510
|
+
readonly GoogleAIStudio: "Google AI Studio";
|
|
511
|
+
readonly Groq: "Groq";
|
|
512
|
+
readonly Hyperbolic: "Hyperbolic";
|
|
513
|
+
readonly Inception: "Inception";
|
|
514
|
+
readonly InferenceNet: "InferenceNet";
|
|
515
|
+
readonly Infermatic: "Infermatic";
|
|
516
|
+
readonly Inflection: "Inflection";
|
|
517
|
+
readonly InoCloud: "InoCloud";
|
|
518
|
+
readonly Kluster: "Kluster";
|
|
519
|
+
readonly Lambda: "Lambda";
|
|
520
|
+
readonly Liquid: "Liquid";
|
|
521
|
+
readonly Mancer2: "Mancer 2";
|
|
522
|
+
readonly Meta: "Meta";
|
|
523
|
+
readonly Minimax: "Minimax";
|
|
524
|
+
readonly Mistral: "Mistral";
|
|
525
|
+
readonly MoonshotAI: "Moonshot AI";
|
|
526
|
+
readonly Morph: "Morph";
|
|
527
|
+
readonly NCompass: "NCompass";
|
|
528
|
+
readonly Nebius: "Nebius";
|
|
529
|
+
readonly NextBit: "NextBit";
|
|
530
|
+
readonly Nineteen: "Nineteen";
|
|
531
|
+
readonly Novita: "Novita";
|
|
532
|
+
readonly Nvidia: "Nvidia";
|
|
533
|
+
readonly OpenAI: "OpenAI";
|
|
534
|
+
readonly OpenInference: "OpenInference";
|
|
535
|
+
readonly Parasail: "Parasail";
|
|
536
|
+
readonly Perplexity: "Perplexity";
|
|
537
|
+
readonly Phala: "Phala";
|
|
538
|
+
readonly Relace: "Relace";
|
|
539
|
+
readonly SambaNova: "SambaNova";
|
|
540
|
+
readonly SiliconFlow: "SiliconFlow";
|
|
541
|
+
readonly Stealth: "Stealth";
|
|
542
|
+
readonly Switchpoint: "Switchpoint";
|
|
543
|
+
readonly Targon: "Targon";
|
|
544
|
+
readonly Together: "Together";
|
|
545
|
+
readonly Ubicloud: "Ubicloud";
|
|
546
|
+
readonly Venice: "Venice";
|
|
547
|
+
readonly WandB: "WandB";
|
|
548
|
+
readonly XAI: "xAI";
|
|
549
|
+
readonly ZAi: "Z.AI";
|
|
550
|
+
readonly FakeProvider: "FakeProvider";
|
|
551
|
+
}>;
|
|
552
|
+
/** @deprecated use `OrderEnum$outboundSchema` instead. */
|
|
553
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
554
|
+
readonly AnyScale: "AnyScale";
|
|
555
|
+
readonly CentML: "Cent-ML";
|
|
556
|
+
readonly HuggingFace: "HuggingFace";
|
|
557
|
+
readonly Hyperbolic2: "Hyperbolic 2";
|
|
558
|
+
readonly Lepton: "Lepton";
|
|
559
|
+
readonly Lynn2: "Lynn 2";
|
|
560
|
+
readonly Lynn: "Lynn";
|
|
561
|
+
readonly Mancer: "Mancer";
|
|
562
|
+
readonly Modal: "Modal";
|
|
563
|
+
readonly OctoAI: "OctoAI";
|
|
564
|
+
readonly Recursal: "Recursal";
|
|
565
|
+
readonly Reflection: "Reflection";
|
|
566
|
+
readonly Replicate: "Replicate";
|
|
567
|
+
readonly SambaNova2: "SambaNova 2";
|
|
568
|
+
readonly SFCompute: "SF Compute";
|
|
569
|
+
readonly Together2: "Together 2";
|
|
570
|
+
readonly OneDotAI: "01.AI";
|
|
571
|
+
readonly Ai21: "AI21";
|
|
572
|
+
readonly AionLabs: "AionLabs";
|
|
573
|
+
readonly Alibaba: "Alibaba";
|
|
574
|
+
readonly AmazonBedrock: "Amazon Bedrock";
|
|
575
|
+
readonly Anthropic: "Anthropic";
|
|
576
|
+
readonly AtlasCloud: "AtlasCloud";
|
|
577
|
+
readonly Atoma: "Atoma";
|
|
578
|
+
readonly Avian: "Avian";
|
|
579
|
+
readonly Azure: "Azure";
|
|
580
|
+
readonly BaseTen: "BaseTen";
|
|
581
|
+
readonly Cerebras: "Cerebras";
|
|
582
|
+
readonly Chutes: "Chutes";
|
|
583
|
+
readonly Cloudflare: "Cloudflare";
|
|
584
|
+
readonly Cohere: "Cohere";
|
|
585
|
+
readonly CrofAI: "CrofAI";
|
|
586
|
+
readonly Crusoe: "Crusoe";
|
|
587
|
+
readonly DeepInfra: "DeepInfra";
|
|
588
|
+
readonly DeepSeek: "DeepSeek";
|
|
589
|
+
readonly Enfer: "Enfer";
|
|
590
|
+
readonly Featherless: "Featherless";
|
|
591
|
+
readonly Fireworks: "Fireworks";
|
|
592
|
+
readonly Friendli: "Friendli";
|
|
593
|
+
readonly GMICloud: "GMICloud";
|
|
594
|
+
readonly Google: "Google";
|
|
595
|
+
readonly GoogleAIStudio: "Google AI Studio";
|
|
596
|
+
readonly Groq: "Groq";
|
|
597
|
+
readonly Hyperbolic: "Hyperbolic";
|
|
598
|
+
readonly Inception: "Inception";
|
|
599
|
+
readonly InferenceNet: "InferenceNet";
|
|
600
|
+
readonly Infermatic: "Infermatic";
|
|
601
|
+
readonly Inflection: "Inflection";
|
|
602
|
+
readonly InoCloud: "InoCloud";
|
|
603
|
+
readonly Kluster: "Kluster";
|
|
604
|
+
readonly Lambda: "Lambda";
|
|
605
|
+
readonly Liquid: "Liquid";
|
|
606
|
+
readonly Mancer2: "Mancer 2";
|
|
607
|
+
readonly Meta: "Meta";
|
|
608
|
+
readonly Minimax: "Minimax";
|
|
609
|
+
readonly Mistral: "Mistral";
|
|
610
|
+
readonly MoonshotAI: "Moonshot AI";
|
|
611
|
+
readonly Morph: "Morph";
|
|
612
|
+
readonly NCompass: "NCompass";
|
|
613
|
+
readonly Nebius: "Nebius";
|
|
614
|
+
readonly NextBit: "NextBit";
|
|
615
|
+
readonly Nineteen: "Nineteen";
|
|
616
|
+
readonly Novita: "Novita";
|
|
617
|
+
readonly Nvidia: "Nvidia";
|
|
618
|
+
readonly OpenAI: "OpenAI";
|
|
619
|
+
readonly OpenInference: "OpenInference";
|
|
620
|
+
readonly Parasail: "Parasail";
|
|
621
|
+
readonly Perplexity: "Perplexity";
|
|
622
|
+
readonly Phala: "Phala";
|
|
623
|
+
readonly Relace: "Relace";
|
|
624
|
+
readonly SambaNova: "SambaNova";
|
|
625
|
+
readonly SiliconFlow: "SiliconFlow";
|
|
626
|
+
readonly Stealth: "Stealth";
|
|
627
|
+
readonly Switchpoint: "Switchpoint";
|
|
628
|
+
readonly Targon: "Targon";
|
|
629
|
+
readonly Together: "Together";
|
|
630
|
+
readonly Ubicloud: "Ubicloud";
|
|
631
|
+
readonly Venice: "Venice";
|
|
632
|
+
readonly WandB: "WandB";
|
|
633
|
+
readonly XAI: "xAI";
|
|
634
|
+
readonly ZAi: "Z.AI";
|
|
635
|
+
readonly FakeProvider: "FakeProvider";
|
|
636
|
+
}>;
|
|
637
|
+
}
|
|
638
|
+
/** @internal */
|
|
639
|
+
export declare const Order$inboundSchema: z.ZodType<Order, z.ZodTypeDef, unknown>;
|
|
640
|
+
/** @internal */
|
|
641
|
+
export type Order$Outbound = string | string;
|
|
642
|
+
/** @internal */
|
|
643
|
+
export declare const Order$outboundSchema: z.ZodType<Order$Outbound, z.ZodTypeDef, Order>;
|
|
644
|
+
/**
|
|
645
|
+
* @internal
|
|
646
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
647
|
+
*/
|
|
648
|
+
export declare namespace Order$ {
|
|
649
|
+
/** @deprecated use `Order$inboundSchema` instead. */
|
|
650
|
+
const inboundSchema: z.ZodType<string, z.ZodTypeDef, unknown>;
|
|
651
|
+
/** @deprecated use `Order$outboundSchema` instead. */
|
|
652
|
+
const outboundSchema: z.ZodType<string, z.ZodTypeDef, string>;
|
|
653
|
+
/** @deprecated use `Order$Outbound` instead. */
|
|
654
|
+
type Outbound = Order$Outbound;
|
|
655
|
+
}
|
|
656
|
+
export declare function orderToJSON(order: Order): string;
|
|
657
|
+
export declare function orderFromJSON(jsonString: string): SafeParseResult<Order, SDKValidationError>;
|
|
658
|
+
/** @internal */
|
|
659
|
+
export declare const OnlyEnum$inboundSchema: z.ZodNativeEnum<typeof OnlyEnum>;
|
|
660
|
+
/** @internal */
|
|
661
|
+
export declare const OnlyEnum$outboundSchema: z.ZodNativeEnum<typeof OnlyEnum>;
|
|
662
|
+
/**
|
|
663
|
+
* @internal
|
|
664
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
665
|
+
*/
|
|
666
|
+
export declare namespace OnlyEnum$ {
|
|
667
|
+
/** @deprecated use `OnlyEnum$inboundSchema` instead. */
|
|
668
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
669
|
+
readonly AnyScale: "AnyScale";
|
|
670
|
+
readonly CentML: "Cent-ML";
|
|
671
|
+
readonly HuggingFace: "HuggingFace";
|
|
672
|
+
readonly Hyperbolic2: "Hyperbolic 2";
|
|
673
|
+
readonly Lepton: "Lepton";
|
|
674
|
+
readonly Lynn2: "Lynn 2";
|
|
675
|
+
readonly Lynn: "Lynn";
|
|
676
|
+
readonly Mancer: "Mancer";
|
|
677
|
+
readonly Modal: "Modal";
|
|
678
|
+
readonly OctoAI: "OctoAI";
|
|
679
|
+
readonly Recursal: "Recursal";
|
|
680
|
+
readonly Reflection: "Reflection";
|
|
681
|
+
readonly Replicate: "Replicate";
|
|
682
|
+
readonly SambaNova2: "SambaNova 2";
|
|
683
|
+
readonly SFCompute: "SF Compute";
|
|
684
|
+
readonly Together2: "Together 2";
|
|
685
|
+
readonly OneDotAI: "01.AI";
|
|
686
|
+
readonly Ai21: "AI21";
|
|
687
|
+
readonly AionLabs: "AionLabs";
|
|
688
|
+
readonly Alibaba: "Alibaba";
|
|
689
|
+
readonly AmazonBedrock: "Amazon Bedrock";
|
|
690
|
+
readonly Anthropic: "Anthropic";
|
|
691
|
+
readonly AtlasCloud: "AtlasCloud";
|
|
692
|
+
readonly Atoma: "Atoma";
|
|
693
|
+
readonly Avian: "Avian";
|
|
694
|
+
readonly Azure: "Azure";
|
|
695
|
+
readonly BaseTen: "BaseTen";
|
|
696
|
+
readonly Cerebras: "Cerebras";
|
|
697
|
+
readonly Chutes: "Chutes";
|
|
698
|
+
readonly Cloudflare: "Cloudflare";
|
|
699
|
+
readonly Cohere: "Cohere";
|
|
700
|
+
readonly CrofAI: "CrofAI";
|
|
701
|
+
readonly Crusoe: "Crusoe";
|
|
702
|
+
readonly DeepInfra: "DeepInfra";
|
|
703
|
+
readonly DeepSeek: "DeepSeek";
|
|
704
|
+
readonly Enfer: "Enfer";
|
|
705
|
+
readonly Featherless: "Featherless";
|
|
706
|
+
readonly Fireworks: "Fireworks";
|
|
707
|
+
readonly Friendli: "Friendli";
|
|
708
|
+
readonly GMICloud: "GMICloud";
|
|
709
|
+
readonly Google: "Google";
|
|
710
|
+
readonly GoogleAIStudio: "Google AI Studio";
|
|
711
|
+
readonly Groq: "Groq";
|
|
712
|
+
readonly Hyperbolic: "Hyperbolic";
|
|
713
|
+
readonly Inception: "Inception";
|
|
714
|
+
readonly InferenceNet: "InferenceNet";
|
|
715
|
+
readonly Infermatic: "Infermatic";
|
|
716
|
+
readonly Inflection: "Inflection";
|
|
717
|
+
readonly InoCloud: "InoCloud";
|
|
718
|
+
readonly Kluster: "Kluster";
|
|
719
|
+
readonly Lambda: "Lambda";
|
|
720
|
+
readonly Liquid: "Liquid";
|
|
721
|
+
readonly Mancer2: "Mancer 2";
|
|
722
|
+
readonly Meta: "Meta";
|
|
723
|
+
readonly Minimax: "Minimax";
|
|
724
|
+
readonly Mistral: "Mistral";
|
|
725
|
+
readonly MoonshotAI: "Moonshot AI";
|
|
726
|
+
readonly Morph: "Morph";
|
|
727
|
+
readonly NCompass: "NCompass";
|
|
728
|
+
readonly Nebius: "Nebius";
|
|
729
|
+
readonly NextBit: "NextBit";
|
|
730
|
+
readonly Nineteen: "Nineteen";
|
|
731
|
+
readonly Novita: "Novita";
|
|
732
|
+
readonly Nvidia: "Nvidia";
|
|
733
|
+
readonly OpenAI: "OpenAI";
|
|
734
|
+
readonly OpenInference: "OpenInference";
|
|
735
|
+
readonly Parasail: "Parasail";
|
|
736
|
+
readonly Perplexity: "Perplexity";
|
|
737
|
+
readonly Phala: "Phala";
|
|
738
|
+
readonly Relace: "Relace";
|
|
739
|
+
readonly SambaNova: "SambaNova";
|
|
740
|
+
readonly SiliconFlow: "SiliconFlow";
|
|
741
|
+
readonly Stealth: "Stealth";
|
|
742
|
+
readonly Switchpoint: "Switchpoint";
|
|
743
|
+
readonly Targon: "Targon";
|
|
744
|
+
readonly Together: "Together";
|
|
745
|
+
readonly Ubicloud: "Ubicloud";
|
|
746
|
+
readonly Venice: "Venice";
|
|
747
|
+
readonly WandB: "WandB";
|
|
748
|
+
readonly XAI: "xAI";
|
|
749
|
+
readonly ZAi: "Z.AI";
|
|
750
|
+
readonly FakeProvider: "FakeProvider";
|
|
751
|
+
}>;
|
|
752
|
+
/** @deprecated use `OnlyEnum$outboundSchema` instead. */
|
|
753
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
754
|
+
readonly AnyScale: "AnyScale";
|
|
755
|
+
readonly CentML: "Cent-ML";
|
|
756
|
+
readonly HuggingFace: "HuggingFace";
|
|
757
|
+
readonly Hyperbolic2: "Hyperbolic 2";
|
|
758
|
+
readonly Lepton: "Lepton";
|
|
759
|
+
readonly Lynn2: "Lynn 2";
|
|
760
|
+
readonly Lynn: "Lynn";
|
|
761
|
+
readonly Mancer: "Mancer";
|
|
762
|
+
readonly Modal: "Modal";
|
|
763
|
+
readonly OctoAI: "OctoAI";
|
|
764
|
+
readonly Recursal: "Recursal";
|
|
765
|
+
readonly Reflection: "Reflection";
|
|
766
|
+
readonly Replicate: "Replicate";
|
|
767
|
+
readonly SambaNova2: "SambaNova 2";
|
|
768
|
+
readonly SFCompute: "SF Compute";
|
|
769
|
+
readonly Together2: "Together 2";
|
|
770
|
+
readonly OneDotAI: "01.AI";
|
|
771
|
+
readonly Ai21: "AI21";
|
|
772
|
+
readonly AionLabs: "AionLabs";
|
|
773
|
+
readonly Alibaba: "Alibaba";
|
|
774
|
+
readonly AmazonBedrock: "Amazon Bedrock";
|
|
775
|
+
readonly Anthropic: "Anthropic";
|
|
776
|
+
readonly AtlasCloud: "AtlasCloud";
|
|
777
|
+
readonly Atoma: "Atoma";
|
|
778
|
+
readonly Avian: "Avian";
|
|
779
|
+
readonly Azure: "Azure";
|
|
780
|
+
readonly BaseTen: "BaseTen";
|
|
781
|
+
readonly Cerebras: "Cerebras";
|
|
782
|
+
readonly Chutes: "Chutes";
|
|
783
|
+
readonly Cloudflare: "Cloudflare";
|
|
784
|
+
readonly Cohere: "Cohere";
|
|
785
|
+
readonly CrofAI: "CrofAI";
|
|
786
|
+
readonly Crusoe: "Crusoe";
|
|
787
|
+
readonly DeepInfra: "DeepInfra";
|
|
788
|
+
readonly DeepSeek: "DeepSeek";
|
|
789
|
+
readonly Enfer: "Enfer";
|
|
790
|
+
readonly Featherless: "Featherless";
|
|
791
|
+
readonly Fireworks: "Fireworks";
|
|
792
|
+
readonly Friendli: "Friendli";
|
|
793
|
+
readonly GMICloud: "GMICloud";
|
|
794
|
+
readonly Google: "Google";
|
|
795
|
+
readonly GoogleAIStudio: "Google AI Studio";
|
|
796
|
+
readonly Groq: "Groq";
|
|
797
|
+
readonly Hyperbolic: "Hyperbolic";
|
|
798
|
+
readonly Inception: "Inception";
|
|
799
|
+
readonly InferenceNet: "InferenceNet";
|
|
800
|
+
readonly Infermatic: "Infermatic";
|
|
801
|
+
readonly Inflection: "Inflection";
|
|
802
|
+
readonly InoCloud: "InoCloud";
|
|
803
|
+
readonly Kluster: "Kluster";
|
|
804
|
+
readonly Lambda: "Lambda";
|
|
805
|
+
readonly Liquid: "Liquid";
|
|
806
|
+
readonly Mancer2: "Mancer 2";
|
|
807
|
+
readonly Meta: "Meta";
|
|
808
|
+
readonly Minimax: "Minimax";
|
|
809
|
+
readonly Mistral: "Mistral";
|
|
810
|
+
readonly MoonshotAI: "Moonshot AI";
|
|
811
|
+
readonly Morph: "Morph";
|
|
812
|
+
readonly NCompass: "NCompass";
|
|
813
|
+
readonly Nebius: "Nebius";
|
|
814
|
+
readonly NextBit: "NextBit";
|
|
815
|
+
readonly Nineteen: "Nineteen";
|
|
816
|
+
readonly Novita: "Novita";
|
|
817
|
+
readonly Nvidia: "Nvidia";
|
|
818
|
+
readonly OpenAI: "OpenAI";
|
|
819
|
+
readonly OpenInference: "OpenInference";
|
|
820
|
+
readonly Parasail: "Parasail";
|
|
821
|
+
readonly Perplexity: "Perplexity";
|
|
822
|
+
readonly Phala: "Phala";
|
|
823
|
+
readonly Relace: "Relace";
|
|
824
|
+
readonly SambaNova: "SambaNova";
|
|
825
|
+
readonly SiliconFlow: "SiliconFlow";
|
|
826
|
+
readonly Stealth: "Stealth";
|
|
827
|
+
readonly Switchpoint: "Switchpoint";
|
|
828
|
+
readonly Targon: "Targon";
|
|
829
|
+
readonly Together: "Together";
|
|
830
|
+
readonly Ubicloud: "Ubicloud";
|
|
831
|
+
readonly Venice: "Venice";
|
|
832
|
+
readonly WandB: "WandB";
|
|
833
|
+
readonly XAI: "xAI";
|
|
834
|
+
readonly ZAi: "Z.AI";
|
|
835
|
+
readonly FakeProvider: "FakeProvider";
|
|
836
|
+
}>;
|
|
837
|
+
}
|
|
838
|
+
/** @internal */
|
|
839
|
+
export declare const Only$inboundSchema: z.ZodType<Only, z.ZodTypeDef, unknown>;
|
|
840
|
+
/** @internal */
|
|
841
|
+
export type Only$Outbound = string | string;
|
|
842
|
+
/** @internal */
|
|
843
|
+
export declare const Only$outboundSchema: z.ZodType<Only$Outbound, z.ZodTypeDef, Only>;
|
|
844
|
+
/**
|
|
845
|
+
* @internal
|
|
846
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
847
|
+
*/
|
|
848
|
+
export declare namespace Only$ {
|
|
849
|
+
/** @deprecated use `Only$inboundSchema` instead. */
|
|
850
|
+
const inboundSchema: z.ZodType<string, z.ZodTypeDef, unknown>;
|
|
851
|
+
/** @deprecated use `Only$outboundSchema` instead. */
|
|
852
|
+
const outboundSchema: z.ZodType<string, z.ZodTypeDef, string>;
|
|
853
|
+
/** @deprecated use `Only$Outbound` instead. */
|
|
854
|
+
type Outbound = Only$Outbound;
|
|
855
|
+
}
|
|
856
|
+
export declare function onlyToJSON(only: Only): string;
|
|
857
|
+
export declare function onlyFromJSON(jsonString: string): SafeParseResult<Only, SDKValidationError>;
|
|
858
|
+
/** @internal */
|
|
859
|
+
export declare const IgnoreEnum$inboundSchema: z.ZodNativeEnum<typeof IgnoreEnum>;
|
|
860
|
+
/** @internal */
|
|
861
|
+
export declare const IgnoreEnum$outboundSchema: z.ZodNativeEnum<typeof IgnoreEnum>;
|
|
862
|
+
/**
|
|
863
|
+
* @internal
|
|
864
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
865
|
+
*/
|
|
866
|
+
export declare namespace IgnoreEnum$ {
|
|
867
|
+
/** @deprecated use `IgnoreEnum$inboundSchema` instead. */
|
|
868
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
869
|
+
readonly AnyScale: "AnyScale";
|
|
870
|
+
readonly CentML: "Cent-ML";
|
|
871
|
+
readonly HuggingFace: "HuggingFace";
|
|
872
|
+
readonly Hyperbolic2: "Hyperbolic 2";
|
|
873
|
+
readonly Lepton: "Lepton";
|
|
874
|
+
readonly Lynn2: "Lynn 2";
|
|
875
|
+
readonly Lynn: "Lynn";
|
|
876
|
+
readonly Mancer: "Mancer";
|
|
877
|
+
readonly Modal: "Modal";
|
|
878
|
+
readonly OctoAI: "OctoAI";
|
|
879
|
+
readonly Recursal: "Recursal";
|
|
880
|
+
readonly Reflection: "Reflection";
|
|
881
|
+
readonly Replicate: "Replicate";
|
|
882
|
+
readonly SambaNova2: "SambaNova 2";
|
|
883
|
+
readonly SFCompute: "SF Compute";
|
|
884
|
+
readonly Together2: "Together 2";
|
|
885
|
+
readonly OneDotAI: "01.AI";
|
|
886
|
+
readonly Ai21: "AI21";
|
|
887
|
+
readonly AionLabs: "AionLabs";
|
|
888
|
+
readonly Alibaba: "Alibaba";
|
|
889
|
+
readonly AmazonBedrock: "Amazon Bedrock";
|
|
890
|
+
readonly Anthropic: "Anthropic";
|
|
891
|
+
readonly AtlasCloud: "AtlasCloud";
|
|
892
|
+
readonly Atoma: "Atoma";
|
|
893
|
+
readonly Avian: "Avian";
|
|
894
|
+
readonly Azure: "Azure";
|
|
895
|
+
readonly BaseTen: "BaseTen";
|
|
896
|
+
readonly Cerebras: "Cerebras";
|
|
897
|
+
readonly Chutes: "Chutes";
|
|
898
|
+
readonly Cloudflare: "Cloudflare";
|
|
899
|
+
readonly Cohere: "Cohere";
|
|
900
|
+
readonly CrofAI: "CrofAI";
|
|
901
|
+
readonly Crusoe: "Crusoe";
|
|
902
|
+
readonly DeepInfra: "DeepInfra";
|
|
903
|
+
readonly DeepSeek: "DeepSeek";
|
|
904
|
+
readonly Enfer: "Enfer";
|
|
905
|
+
readonly Featherless: "Featherless";
|
|
906
|
+
readonly Fireworks: "Fireworks";
|
|
907
|
+
readonly Friendli: "Friendli";
|
|
908
|
+
readonly GMICloud: "GMICloud";
|
|
909
|
+
readonly Google: "Google";
|
|
910
|
+
readonly GoogleAIStudio: "Google AI Studio";
|
|
911
|
+
readonly Groq: "Groq";
|
|
912
|
+
readonly Hyperbolic: "Hyperbolic";
|
|
913
|
+
readonly Inception: "Inception";
|
|
914
|
+
readonly InferenceNet: "InferenceNet";
|
|
915
|
+
readonly Infermatic: "Infermatic";
|
|
916
|
+
readonly Inflection: "Inflection";
|
|
917
|
+
readonly InoCloud: "InoCloud";
|
|
918
|
+
readonly Kluster: "Kluster";
|
|
919
|
+
readonly Lambda: "Lambda";
|
|
920
|
+
readonly Liquid: "Liquid";
|
|
921
|
+
readonly Mancer2: "Mancer 2";
|
|
922
|
+
readonly Meta: "Meta";
|
|
923
|
+
readonly Minimax: "Minimax";
|
|
924
|
+
readonly Mistral: "Mistral";
|
|
925
|
+
readonly MoonshotAI: "Moonshot AI";
|
|
926
|
+
readonly Morph: "Morph";
|
|
927
|
+
readonly NCompass: "NCompass";
|
|
928
|
+
readonly Nebius: "Nebius";
|
|
929
|
+
readonly NextBit: "NextBit";
|
|
930
|
+
readonly Nineteen: "Nineteen";
|
|
931
|
+
readonly Novita: "Novita";
|
|
932
|
+
readonly Nvidia: "Nvidia";
|
|
933
|
+
readonly OpenAI: "OpenAI";
|
|
934
|
+
readonly OpenInference: "OpenInference";
|
|
935
|
+
readonly Parasail: "Parasail";
|
|
936
|
+
readonly Perplexity: "Perplexity";
|
|
937
|
+
readonly Phala: "Phala";
|
|
938
|
+
readonly Relace: "Relace";
|
|
939
|
+
readonly SambaNova: "SambaNova";
|
|
940
|
+
readonly SiliconFlow: "SiliconFlow";
|
|
941
|
+
readonly Stealth: "Stealth";
|
|
942
|
+
readonly Switchpoint: "Switchpoint";
|
|
943
|
+
readonly Targon: "Targon";
|
|
944
|
+
readonly Together: "Together";
|
|
945
|
+
readonly Ubicloud: "Ubicloud";
|
|
946
|
+
readonly Venice: "Venice";
|
|
947
|
+
readonly WandB: "WandB";
|
|
948
|
+
readonly XAI: "xAI";
|
|
949
|
+
readonly ZAi: "Z.AI";
|
|
950
|
+
readonly FakeProvider: "FakeProvider";
|
|
951
|
+
}>;
|
|
952
|
+
/** @deprecated use `IgnoreEnum$outboundSchema` instead. */
|
|
953
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
954
|
+
readonly AnyScale: "AnyScale";
|
|
955
|
+
readonly CentML: "Cent-ML";
|
|
956
|
+
readonly HuggingFace: "HuggingFace";
|
|
957
|
+
readonly Hyperbolic2: "Hyperbolic 2";
|
|
958
|
+
readonly Lepton: "Lepton";
|
|
959
|
+
readonly Lynn2: "Lynn 2";
|
|
960
|
+
readonly Lynn: "Lynn";
|
|
961
|
+
readonly Mancer: "Mancer";
|
|
962
|
+
readonly Modal: "Modal";
|
|
963
|
+
readonly OctoAI: "OctoAI";
|
|
964
|
+
readonly Recursal: "Recursal";
|
|
965
|
+
readonly Reflection: "Reflection";
|
|
966
|
+
readonly Replicate: "Replicate";
|
|
967
|
+
readonly SambaNova2: "SambaNova 2";
|
|
968
|
+
readonly SFCompute: "SF Compute";
|
|
969
|
+
readonly Together2: "Together 2";
|
|
970
|
+
readonly OneDotAI: "01.AI";
|
|
971
|
+
readonly Ai21: "AI21";
|
|
972
|
+
readonly AionLabs: "AionLabs";
|
|
973
|
+
readonly Alibaba: "Alibaba";
|
|
974
|
+
readonly AmazonBedrock: "Amazon Bedrock";
|
|
975
|
+
readonly Anthropic: "Anthropic";
|
|
976
|
+
readonly AtlasCloud: "AtlasCloud";
|
|
977
|
+
readonly Atoma: "Atoma";
|
|
978
|
+
readonly Avian: "Avian";
|
|
979
|
+
readonly Azure: "Azure";
|
|
980
|
+
readonly BaseTen: "BaseTen";
|
|
981
|
+
readonly Cerebras: "Cerebras";
|
|
982
|
+
readonly Chutes: "Chutes";
|
|
983
|
+
readonly Cloudflare: "Cloudflare";
|
|
984
|
+
readonly Cohere: "Cohere";
|
|
985
|
+
readonly CrofAI: "CrofAI";
|
|
986
|
+
readonly Crusoe: "Crusoe";
|
|
987
|
+
readonly DeepInfra: "DeepInfra";
|
|
988
|
+
readonly DeepSeek: "DeepSeek";
|
|
989
|
+
readonly Enfer: "Enfer";
|
|
990
|
+
readonly Featherless: "Featherless";
|
|
991
|
+
readonly Fireworks: "Fireworks";
|
|
992
|
+
readonly Friendli: "Friendli";
|
|
993
|
+
readonly GMICloud: "GMICloud";
|
|
994
|
+
readonly Google: "Google";
|
|
995
|
+
readonly GoogleAIStudio: "Google AI Studio";
|
|
996
|
+
readonly Groq: "Groq";
|
|
997
|
+
readonly Hyperbolic: "Hyperbolic";
|
|
998
|
+
readonly Inception: "Inception";
|
|
999
|
+
readonly InferenceNet: "InferenceNet";
|
|
1000
|
+
readonly Infermatic: "Infermatic";
|
|
1001
|
+
readonly Inflection: "Inflection";
|
|
1002
|
+
readonly InoCloud: "InoCloud";
|
|
1003
|
+
readonly Kluster: "Kluster";
|
|
1004
|
+
readonly Lambda: "Lambda";
|
|
1005
|
+
readonly Liquid: "Liquid";
|
|
1006
|
+
readonly Mancer2: "Mancer 2";
|
|
1007
|
+
readonly Meta: "Meta";
|
|
1008
|
+
readonly Minimax: "Minimax";
|
|
1009
|
+
readonly Mistral: "Mistral";
|
|
1010
|
+
readonly MoonshotAI: "Moonshot AI";
|
|
1011
|
+
readonly Morph: "Morph";
|
|
1012
|
+
readonly NCompass: "NCompass";
|
|
1013
|
+
readonly Nebius: "Nebius";
|
|
1014
|
+
readonly NextBit: "NextBit";
|
|
1015
|
+
readonly Nineteen: "Nineteen";
|
|
1016
|
+
readonly Novita: "Novita";
|
|
1017
|
+
readonly Nvidia: "Nvidia";
|
|
1018
|
+
readonly OpenAI: "OpenAI";
|
|
1019
|
+
readonly OpenInference: "OpenInference";
|
|
1020
|
+
readonly Parasail: "Parasail";
|
|
1021
|
+
readonly Perplexity: "Perplexity";
|
|
1022
|
+
readonly Phala: "Phala";
|
|
1023
|
+
readonly Relace: "Relace";
|
|
1024
|
+
readonly SambaNova: "SambaNova";
|
|
1025
|
+
readonly SiliconFlow: "SiliconFlow";
|
|
1026
|
+
readonly Stealth: "Stealth";
|
|
1027
|
+
readonly Switchpoint: "Switchpoint";
|
|
1028
|
+
readonly Targon: "Targon";
|
|
1029
|
+
readonly Together: "Together";
|
|
1030
|
+
readonly Ubicloud: "Ubicloud";
|
|
1031
|
+
readonly Venice: "Venice";
|
|
1032
|
+
readonly WandB: "WandB";
|
|
1033
|
+
readonly XAI: "xAI";
|
|
1034
|
+
readonly ZAi: "Z.AI";
|
|
1035
|
+
readonly FakeProvider: "FakeProvider";
|
|
1036
|
+
}>;
|
|
1037
|
+
}
|
|
1038
|
+
/** @internal */
|
|
1039
|
+
export declare const Ignore$inboundSchema: z.ZodType<Ignore, z.ZodTypeDef, unknown>;
|
|
1040
|
+
/** @internal */
|
|
1041
|
+
export type Ignore$Outbound = string | string;
|
|
1042
|
+
/** @internal */
|
|
1043
|
+
export declare const Ignore$outboundSchema: z.ZodType<Ignore$Outbound, z.ZodTypeDef, Ignore>;
|
|
1044
|
+
/**
|
|
1045
|
+
* @internal
|
|
1046
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1047
|
+
*/
|
|
1048
|
+
export declare namespace Ignore$ {
|
|
1049
|
+
/** @deprecated use `Ignore$inboundSchema` instead. */
|
|
1050
|
+
const inboundSchema: z.ZodType<string, z.ZodTypeDef, unknown>;
|
|
1051
|
+
/** @deprecated use `Ignore$outboundSchema` instead. */
|
|
1052
|
+
const outboundSchema: z.ZodType<string, z.ZodTypeDef, string>;
|
|
1053
|
+
/** @deprecated use `Ignore$Outbound` instead. */
|
|
1054
|
+
type Outbound = Ignore$Outbound;
|
|
1055
|
+
}
|
|
1056
|
+
export declare function ignoreToJSON(ignore: Ignore): string;
|
|
1057
|
+
export declare function ignoreFromJSON(jsonString: string): SafeParseResult<Ignore, SDKValidationError>;
|
|
1058
|
+
/** @internal */
|
|
1059
|
+
export declare const GenerateQuantization$inboundSchema: z.ZodNativeEnum<typeof GenerateQuantization>;
|
|
1060
|
+
/** @internal */
|
|
1061
|
+
export declare const GenerateQuantization$outboundSchema: z.ZodNativeEnum<typeof GenerateQuantization>;
|
|
1062
|
+
/**
|
|
1063
|
+
* @internal
|
|
1064
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1065
|
+
*/
|
|
1066
|
+
export declare namespace GenerateQuantization$ {
|
|
1067
|
+
/** @deprecated use `GenerateQuantization$inboundSchema` instead. */
|
|
1068
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
1069
|
+
readonly Int4: "int4";
|
|
1070
|
+
readonly Int8: "int8";
|
|
1071
|
+
readonly Fp4: "fp4";
|
|
1072
|
+
readonly Fp6: "fp6";
|
|
1073
|
+
readonly Fp8: "fp8";
|
|
1074
|
+
readonly Fp16: "fp16";
|
|
1075
|
+
readonly Bf16: "bf16";
|
|
1076
|
+
readonly Fp32: "fp32";
|
|
1077
|
+
readonly Unknown: "unknown";
|
|
1078
|
+
}>;
|
|
1079
|
+
/** @deprecated use `GenerateQuantization$outboundSchema` instead. */
|
|
1080
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
1081
|
+
readonly Int4: "int4";
|
|
1082
|
+
readonly Int8: "int8";
|
|
1083
|
+
readonly Fp4: "fp4";
|
|
1084
|
+
readonly Fp6: "fp6";
|
|
1085
|
+
readonly Fp8: "fp8";
|
|
1086
|
+
readonly Fp16: "fp16";
|
|
1087
|
+
readonly Bf16: "bf16";
|
|
1088
|
+
readonly Fp32: "fp32";
|
|
1089
|
+
readonly Unknown: "unknown";
|
|
1090
|
+
}>;
|
|
1091
|
+
}
|
|
1092
|
+
/** @internal */
|
|
1093
|
+
export declare const Sort$inboundSchema: z.ZodNativeEnum<typeof Sort>;
|
|
1094
|
+
/** @internal */
|
|
1095
|
+
export declare const Sort$outboundSchema: z.ZodNativeEnum<typeof Sort>;
|
|
1096
|
+
/**
|
|
1097
|
+
* @internal
|
|
1098
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1099
|
+
*/
|
|
1100
|
+
export declare namespace Sort$ {
|
|
1101
|
+
/** @deprecated use `Sort$inboundSchema` instead. */
|
|
1102
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
1103
|
+
readonly Price: "price";
|
|
1104
|
+
readonly Throughput: "throughput";
|
|
1105
|
+
readonly Latency: "latency";
|
|
1106
|
+
}>;
|
|
1107
|
+
/** @deprecated use `Sort$outboundSchema` instead. */
|
|
1108
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
1109
|
+
readonly Price: "price";
|
|
1110
|
+
readonly Throughput: "throughput";
|
|
1111
|
+
readonly Latency: "latency";
|
|
1112
|
+
}>;
|
|
1113
|
+
}
|
|
1114
|
+
/** @internal */
|
|
1115
|
+
export declare const GeneratePrompt$inboundSchema: z.ZodType<GeneratePrompt, z.ZodTypeDef, unknown>;
|
|
1116
|
+
/** @internal */
|
|
1117
|
+
export type GeneratePrompt$Outbound = number | string | any;
|
|
1118
|
+
/** @internal */
|
|
1119
|
+
export declare const GeneratePrompt$outboundSchema: z.ZodType<GeneratePrompt$Outbound, z.ZodTypeDef, GeneratePrompt>;
|
|
1120
|
+
/**
|
|
1121
|
+
* @internal
|
|
1122
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1123
|
+
*/
|
|
1124
|
+
export declare namespace GeneratePrompt$ {
|
|
1125
|
+
/** @deprecated use `GeneratePrompt$inboundSchema` instead. */
|
|
1126
|
+
const inboundSchema: z.ZodType<any, z.ZodTypeDef, unknown>;
|
|
1127
|
+
/** @deprecated use `GeneratePrompt$outboundSchema` instead. */
|
|
1128
|
+
const outboundSchema: z.ZodType<any, z.ZodTypeDef, any>;
|
|
1129
|
+
/** @deprecated use `GeneratePrompt$Outbound` instead. */
|
|
1130
|
+
type Outbound = GeneratePrompt$Outbound;
|
|
1131
|
+
}
|
|
1132
|
+
export declare function generatePromptToJSON(generatePrompt: GeneratePrompt): string;
|
|
1133
|
+
export declare function generatePromptFromJSON(jsonString: string): SafeParseResult<GeneratePrompt, SDKValidationError>;
|
|
1134
|
+
/** @internal */
|
|
1135
|
+
export declare const GenerateCompletion$inboundSchema: z.ZodType<GenerateCompletion, z.ZodTypeDef, unknown>;
|
|
1136
|
+
/** @internal */
|
|
1137
|
+
export type GenerateCompletion$Outbound = number | string | any;
|
|
1138
|
+
/** @internal */
|
|
1139
|
+
export declare const GenerateCompletion$outboundSchema: z.ZodType<GenerateCompletion$Outbound, z.ZodTypeDef, GenerateCompletion>;
|
|
1140
|
+
/**
|
|
1141
|
+
* @internal
|
|
1142
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1143
|
+
*/
|
|
1144
|
+
export declare namespace GenerateCompletion$ {
|
|
1145
|
+
/** @deprecated use `GenerateCompletion$inboundSchema` instead. */
|
|
1146
|
+
const inboundSchema: z.ZodType<any, z.ZodTypeDef, unknown>;
|
|
1147
|
+
/** @deprecated use `GenerateCompletion$outboundSchema` instead. */
|
|
1148
|
+
const outboundSchema: z.ZodType<any, z.ZodTypeDef, any>;
|
|
1149
|
+
/** @deprecated use `GenerateCompletion$Outbound` instead. */
|
|
1150
|
+
type Outbound = GenerateCompletion$Outbound;
|
|
1151
|
+
}
|
|
1152
|
+
export declare function generateCompletionToJSON(generateCompletion: GenerateCompletion): string;
|
|
1153
|
+
export declare function generateCompletionFromJSON(jsonString: string): SafeParseResult<GenerateCompletion, SDKValidationError>;
|
|
1154
|
+
/** @internal */
|
|
1155
|
+
export declare const GenerateImage$inboundSchema: z.ZodType<GenerateImage, z.ZodTypeDef, unknown>;
|
|
1156
|
+
/** @internal */
|
|
1157
|
+
export type GenerateImage$Outbound = number | string | any;
|
|
1158
|
+
/** @internal */
|
|
1159
|
+
export declare const GenerateImage$outboundSchema: z.ZodType<GenerateImage$Outbound, z.ZodTypeDef, GenerateImage>;
|
|
1160
|
+
/**
|
|
1161
|
+
* @internal
|
|
1162
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1163
|
+
*/
|
|
1164
|
+
export declare namespace GenerateImage$ {
|
|
1165
|
+
/** @deprecated use `GenerateImage$inboundSchema` instead. */
|
|
1166
|
+
const inboundSchema: z.ZodType<any, z.ZodTypeDef, unknown>;
|
|
1167
|
+
/** @deprecated use `GenerateImage$outboundSchema` instead. */
|
|
1168
|
+
const outboundSchema: z.ZodType<any, z.ZodTypeDef, any>;
|
|
1169
|
+
/** @deprecated use `GenerateImage$Outbound` instead. */
|
|
1170
|
+
type Outbound = GenerateImage$Outbound;
|
|
1171
|
+
}
|
|
1172
|
+
export declare function generateImageToJSON(generateImage: GenerateImage): string;
|
|
1173
|
+
export declare function generateImageFromJSON(jsonString: string): SafeParseResult<GenerateImage, SDKValidationError>;
|
|
1174
|
+
/** @internal */
|
|
1175
|
+
export declare const GenerateAudio$inboundSchema: z.ZodType<GenerateAudio, z.ZodTypeDef, unknown>;
|
|
1176
|
+
/** @internal */
|
|
1177
|
+
export type GenerateAudio$Outbound = number | string | any;
|
|
1178
|
+
/** @internal */
|
|
1179
|
+
export declare const GenerateAudio$outboundSchema: z.ZodType<GenerateAudio$Outbound, z.ZodTypeDef, GenerateAudio>;
|
|
1180
|
+
/**
|
|
1181
|
+
* @internal
|
|
1182
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1183
|
+
*/
|
|
1184
|
+
export declare namespace GenerateAudio$ {
|
|
1185
|
+
/** @deprecated use `GenerateAudio$inboundSchema` instead. */
|
|
1186
|
+
const inboundSchema: z.ZodType<any, z.ZodTypeDef, unknown>;
|
|
1187
|
+
/** @deprecated use `GenerateAudio$outboundSchema` instead. */
|
|
1188
|
+
const outboundSchema: z.ZodType<any, z.ZodTypeDef, any>;
|
|
1189
|
+
/** @deprecated use `GenerateAudio$Outbound` instead. */
|
|
1190
|
+
type Outbound = GenerateAudio$Outbound;
|
|
1191
|
+
}
|
|
1192
|
+
export declare function generateAudioToJSON(generateAudio: GenerateAudio): string;
|
|
1193
|
+
export declare function generateAudioFromJSON(jsonString: string): SafeParseResult<GenerateAudio, SDKValidationError>;
|
|
1194
|
+
/** @internal */
|
|
1195
|
+
export declare const GenerateRequestUnion$inboundSchema: z.ZodType<GenerateRequestUnion, z.ZodTypeDef, unknown>;
|
|
1196
|
+
/** @internal */
|
|
1197
|
+
export type GenerateRequestUnion$Outbound = number | string | any;
|
|
1198
|
+
/** @internal */
|
|
1199
|
+
export declare const GenerateRequestUnion$outboundSchema: z.ZodType<GenerateRequestUnion$Outbound, z.ZodTypeDef, GenerateRequestUnion>;
|
|
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 declare namespace GenerateRequestUnion$ {
|
|
1205
|
+
/** @deprecated use `GenerateRequestUnion$inboundSchema` instead. */
|
|
1206
|
+
const inboundSchema: z.ZodType<any, z.ZodTypeDef, unknown>;
|
|
1207
|
+
/** @deprecated use `GenerateRequestUnion$outboundSchema` instead. */
|
|
1208
|
+
const outboundSchema: z.ZodType<any, z.ZodTypeDef, any>;
|
|
1209
|
+
/** @deprecated use `GenerateRequestUnion$Outbound` instead. */
|
|
1210
|
+
type Outbound = GenerateRequestUnion$Outbound;
|
|
1211
|
+
}
|
|
1212
|
+
export declare function generateRequestUnionToJSON(generateRequestUnion: GenerateRequestUnion): string;
|
|
1213
|
+
export declare function generateRequestUnionFromJSON(jsonString: string): SafeParseResult<GenerateRequestUnion, SDKValidationError>;
|
|
1214
|
+
/** @internal */
|
|
1215
|
+
export declare const MaxPrice$inboundSchema: z.ZodType<MaxPrice, z.ZodTypeDef, unknown>;
|
|
1216
|
+
/** @internal */
|
|
1217
|
+
export type MaxPrice$Outbound = {
|
|
1218
|
+
prompt?: number | string | any | undefined;
|
|
1219
|
+
completion?: number | string | any | undefined;
|
|
1220
|
+
image?: number | string | any | undefined;
|
|
1221
|
+
audio?: number | string | any | undefined;
|
|
1222
|
+
request?: number | string | any | undefined;
|
|
1223
|
+
};
|
|
1224
|
+
/** @internal */
|
|
1225
|
+
export declare const MaxPrice$outboundSchema: z.ZodType<MaxPrice$Outbound, z.ZodTypeDef, MaxPrice>;
|
|
1226
|
+
/**
|
|
1227
|
+
* @internal
|
|
1228
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1229
|
+
*/
|
|
1230
|
+
export declare namespace MaxPrice$ {
|
|
1231
|
+
/** @deprecated use `MaxPrice$inboundSchema` instead. */
|
|
1232
|
+
const inboundSchema: z.ZodType<MaxPrice, z.ZodTypeDef, unknown>;
|
|
1233
|
+
/** @deprecated use `MaxPrice$outboundSchema` instead. */
|
|
1234
|
+
const outboundSchema: z.ZodType<MaxPrice$Outbound, z.ZodTypeDef, MaxPrice>;
|
|
1235
|
+
/** @deprecated use `MaxPrice$Outbound` instead. */
|
|
1236
|
+
type Outbound = MaxPrice$Outbound;
|
|
1237
|
+
}
|
|
1238
|
+
export declare function maxPriceToJSON(maxPrice: MaxPrice): string;
|
|
1239
|
+
export declare function maxPriceFromJSON(jsonString: string): SafeParseResult<MaxPrice, SDKValidationError>;
|
|
1240
|
+
/** @internal */
|
|
1241
|
+
export declare const Experimental$inboundSchema: z.ZodType<Experimental, z.ZodTypeDef, unknown>;
|
|
1242
|
+
/** @internal */
|
|
1243
|
+
export type Experimental$Outbound = {};
|
|
1244
|
+
/** @internal */
|
|
1245
|
+
export declare const Experimental$outboundSchema: z.ZodType<Experimental$Outbound, z.ZodTypeDef, Experimental>;
|
|
1246
|
+
/**
|
|
1247
|
+
* @internal
|
|
1248
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1249
|
+
*/
|
|
1250
|
+
export declare namespace Experimental$ {
|
|
1251
|
+
/** @deprecated use `Experimental$inboundSchema` instead. */
|
|
1252
|
+
const inboundSchema: z.ZodType<Experimental, z.ZodTypeDef, unknown>;
|
|
1253
|
+
/** @deprecated use `Experimental$outboundSchema` instead. */
|
|
1254
|
+
const outboundSchema: z.ZodType<Experimental$Outbound, z.ZodTypeDef, Experimental>;
|
|
1255
|
+
/** @deprecated use `Experimental$Outbound` instead. */
|
|
1256
|
+
type Outbound = Experimental$Outbound;
|
|
1257
|
+
}
|
|
1258
|
+
export declare function experimentalToJSON(experimental: Experimental): string;
|
|
1259
|
+
export declare function experimentalFromJSON(jsonString: string): SafeParseResult<Experimental, SDKValidationError>;
|
|
1260
|
+
/** @internal */
|
|
1261
|
+
export declare const GenerateProvider$inboundSchema: z.ZodType<GenerateProvider, z.ZodTypeDef, unknown>;
|
|
1262
|
+
/** @internal */
|
|
1263
|
+
export type GenerateProvider$Outbound = {
|
|
1264
|
+
allow_fallbacks?: boolean | null | undefined;
|
|
1265
|
+
require_parameters?: boolean | null | undefined;
|
|
1266
|
+
data_collection?: string | null | undefined;
|
|
1267
|
+
zdr?: boolean | null | undefined;
|
|
1268
|
+
order?: Array<string | string> | null | undefined;
|
|
1269
|
+
only?: Array<string | string> | null | undefined;
|
|
1270
|
+
ignore?: Array<string | string> | null | undefined;
|
|
1271
|
+
quantizations?: Array<string> | null | undefined;
|
|
1272
|
+
sort?: string | null | undefined;
|
|
1273
|
+
max_price?: MaxPrice$Outbound | undefined;
|
|
1274
|
+
experimental?: Experimental$Outbound | null | undefined;
|
|
1275
|
+
};
|
|
1276
|
+
/** @internal */
|
|
1277
|
+
export declare const GenerateProvider$outboundSchema: z.ZodType<GenerateProvider$Outbound, z.ZodTypeDef, GenerateProvider>;
|
|
1278
|
+
/**
|
|
1279
|
+
* @internal
|
|
1280
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1281
|
+
*/
|
|
1282
|
+
export declare namespace GenerateProvider$ {
|
|
1283
|
+
/** @deprecated use `GenerateProvider$inboundSchema` instead. */
|
|
1284
|
+
const inboundSchema: z.ZodType<GenerateProvider, z.ZodTypeDef, unknown>;
|
|
1285
|
+
/** @deprecated use `GenerateProvider$outboundSchema` instead. */
|
|
1286
|
+
const outboundSchema: z.ZodType<GenerateProvider$Outbound, z.ZodTypeDef, GenerateProvider>;
|
|
1287
|
+
/** @deprecated use `GenerateProvider$Outbound` instead. */
|
|
1288
|
+
type Outbound = GenerateProvider$Outbound;
|
|
1289
|
+
}
|
|
1290
|
+
export declare function generateProviderToJSON(generateProvider: GenerateProvider): string;
|
|
1291
|
+
export declare function generateProviderFromJSON(jsonString: string): SafeParseResult<GenerateProvider, SDKValidationError>;
|
|
1292
|
+
/** @internal */
|
|
1293
|
+
export declare const EncodingFormatBase64$inboundSchema: z.ZodNativeEnum<typeof EncodingFormatBase64>;
|
|
1294
|
+
/** @internal */
|
|
1295
|
+
export declare const EncodingFormatBase64$outboundSchema: z.ZodNativeEnum<typeof EncodingFormatBase64>;
|
|
1296
|
+
/**
|
|
1297
|
+
* @internal
|
|
1298
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1299
|
+
*/
|
|
1300
|
+
export declare namespace EncodingFormatBase64$ {
|
|
1301
|
+
/** @deprecated use `EncodingFormatBase64$inboundSchema` instead. */
|
|
1302
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
1303
|
+
readonly Base64: "base64";
|
|
1304
|
+
}>;
|
|
1305
|
+
/** @deprecated use `EncodingFormatBase64$outboundSchema` instead. */
|
|
1306
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
1307
|
+
readonly Base64: "base64";
|
|
1308
|
+
}>;
|
|
1309
|
+
}
|
|
1310
|
+
/** @internal */
|
|
1311
|
+
export declare const EncodingFormatFloat$inboundSchema: z.ZodNativeEnum<typeof EncodingFormatFloat>;
|
|
1312
|
+
/** @internal */
|
|
1313
|
+
export declare const EncodingFormatFloat$outboundSchema: z.ZodNativeEnum<typeof EncodingFormatFloat>;
|
|
1314
|
+
/**
|
|
1315
|
+
* @internal
|
|
1316
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1317
|
+
*/
|
|
1318
|
+
export declare namespace EncodingFormatFloat$ {
|
|
1319
|
+
/** @deprecated use `EncodingFormatFloat$inboundSchema` instead. */
|
|
1320
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
1321
|
+
readonly Float: "float";
|
|
1322
|
+
}>;
|
|
1323
|
+
/** @deprecated use `EncodingFormatFloat$outboundSchema` instead. */
|
|
1324
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
1325
|
+
readonly Float: "float";
|
|
1326
|
+
}>;
|
|
1327
|
+
}
|
|
1328
|
+
/** @internal */
|
|
1329
|
+
export declare const EncodingFormat$inboundSchema: z.ZodType<EncodingFormat, z.ZodTypeDef, unknown>;
|
|
1330
|
+
/** @internal */
|
|
1331
|
+
export type EncodingFormat$Outbound = string | string;
|
|
1332
|
+
/** @internal */
|
|
1333
|
+
export declare const EncodingFormat$outboundSchema: z.ZodType<EncodingFormat$Outbound, z.ZodTypeDef, EncodingFormat>;
|
|
1334
|
+
/**
|
|
1335
|
+
* @internal
|
|
1336
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1337
|
+
*/
|
|
1338
|
+
export declare namespace EncodingFormat$ {
|
|
1339
|
+
/** @deprecated use `EncodingFormat$inboundSchema` instead. */
|
|
1340
|
+
const inboundSchema: z.ZodType<EncodingFormat, z.ZodTypeDef, unknown>;
|
|
1341
|
+
/** @deprecated use `EncodingFormat$outboundSchema` instead. */
|
|
1342
|
+
const outboundSchema: z.ZodType<string, z.ZodTypeDef, EncodingFormat>;
|
|
1343
|
+
/** @deprecated use `EncodingFormat$Outbound` instead. */
|
|
1344
|
+
type Outbound = EncodingFormat$Outbound;
|
|
1345
|
+
}
|
|
1346
|
+
export declare function encodingFormatToJSON(encodingFormat: EncodingFormat): string;
|
|
1347
|
+
export declare function encodingFormatFromJSON(jsonString: string): SafeParseResult<EncodingFormat, SDKValidationError>;
|
|
1348
|
+
/** @internal */
|
|
1349
|
+
export declare const GenerateRequest$inboundSchema: z.ZodType<GenerateRequest, z.ZodTypeDef, unknown>;
|
|
1350
|
+
/** @internal */
|
|
1351
|
+
export type GenerateRequest$Outbound = {
|
|
1352
|
+
input: string | Array<string> | Array<number> | Array<Array<number>>;
|
|
1353
|
+
model?: string | undefined;
|
|
1354
|
+
models?: Array<string> | undefined;
|
|
1355
|
+
provider?: GenerateProvider$Outbound | undefined;
|
|
1356
|
+
encoding_format?: string | string | undefined;
|
|
1357
|
+
user?: string | undefined;
|
|
1358
|
+
};
|
|
1359
|
+
/** @internal */
|
|
1360
|
+
export declare const GenerateRequest$outboundSchema: z.ZodType<GenerateRequest$Outbound, z.ZodTypeDef, GenerateRequest>;
|
|
1361
|
+
/**
|
|
1362
|
+
* @internal
|
|
1363
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1364
|
+
*/
|
|
1365
|
+
export declare namespace GenerateRequest$ {
|
|
1366
|
+
/** @deprecated use `GenerateRequest$inboundSchema` instead. */
|
|
1367
|
+
const inboundSchema: z.ZodType<GenerateRequest, z.ZodTypeDef, unknown>;
|
|
1368
|
+
/** @deprecated use `GenerateRequest$outboundSchema` instead. */
|
|
1369
|
+
const outboundSchema: z.ZodType<GenerateRequest$Outbound, z.ZodTypeDef, GenerateRequest>;
|
|
1370
|
+
/** @deprecated use `GenerateRequest$Outbound` instead. */
|
|
1371
|
+
type Outbound = GenerateRequest$Outbound;
|
|
1372
|
+
}
|
|
1373
|
+
export declare function generateRequestToJSON(generateRequest: GenerateRequest): string;
|
|
1374
|
+
export declare function generateRequestFromJSON(jsonString: string): SafeParseResult<GenerateRequest, SDKValidationError>;
|
|
1375
|
+
/** @internal */
|
|
1376
|
+
export declare const ObjectT$inboundSchema: z.ZodNativeEnum<typeof ObjectT>;
|
|
1377
|
+
/** @internal */
|
|
1378
|
+
export declare const ObjectT$outboundSchema: z.ZodNativeEnum<typeof ObjectT>;
|
|
1379
|
+
/**
|
|
1380
|
+
* @internal
|
|
1381
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1382
|
+
*/
|
|
1383
|
+
export declare namespace ObjectT$ {
|
|
1384
|
+
/** @deprecated use `ObjectT$inboundSchema` instead. */
|
|
1385
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
1386
|
+
readonly List: "list";
|
|
1387
|
+
}>;
|
|
1388
|
+
/** @deprecated use `ObjectT$outboundSchema` instead. */
|
|
1389
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
1390
|
+
readonly List: "list";
|
|
1391
|
+
}>;
|
|
1392
|
+
}
|
|
1393
|
+
/** @internal */
|
|
1394
|
+
export declare const ObjectEmbedding$inboundSchema: z.ZodNativeEnum<typeof ObjectEmbedding>;
|
|
1395
|
+
/** @internal */
|
|
1396
|
+
export declare const ObjectEmbedding$outboundSchema: z.ZodNativeEnum<typeof ObjectEmbedding>;
|
|
1397
|
+
/**
|
|
1398
|
+
* @internal
|
|
1399
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1400
|
+
*/
|
|
1401
|
+
export declare namespace ObjectEmbedding$ {
|
|
1402
|
+
/** @deprecated use `ObjectEmbedding$inboundSchema` instead. */
|
|
1403
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
1404
|
+
readonly Embedding: "embedding";
|
|
1405
|
+
}>;
|
|
1406
|
+
/** @deprecated use `ObjectEmbedding$outboundSchema` instead. */
|
|
1407
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
1408
|
+
readonly Embedding: "embedding";
|
|
1409
|
+
}>;
|
|
1410
|
+
}
|
|
1411
|
+
/** @internal */
|
|
1412
|
+
export declare const GenerateData$inboundSchema: z.ZodType<GenerateData, z.ZodTypeDef, unknown>;
|
|
1413
|
+
/** @internal */
|
|
1414
|
+
export type GenerateData$Outbound = {
|
|
1415
|
+
object: string;
|
|
1416
|
+
embedding: Array<number>;
|
|
1417
|
+
index: number;
|
|
1418
|
+
};
|
|
1419
|
+
/** @internal */
|
|
1420
|
+
export declare const GenerateData$outboundSchema: z.ZodType<GenerateData$Outbound, z.ZodTypeDef, GenerateData>;
|
|
1421
|
+
/**
|
|
1422
|
+
* @internal
|
|
1423
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1424
|
+
*/
|
|
1425
|
+
export declare namespace GenerateData$ {
|
|
1426
|
+
/** @deprecated use `GenerateData$inboundSchema` instead. */
|
|
1427
|
+
const inboundSchema: z.ZodType<GenerateData, z.ZodTypeDef, unknown>;
|
|
1428
|
+
/** @deprecated use `GenerateData$outboundSchema` instead. */
|
|
1429
|
+
const outboundSchema: z.ZodType<GenerateData$Outbound, z.ZodTypeDef, GenerateData>;
|
|
1430
|
+
/** @deprecated use `GenerateData$Outbound` instead. */
|
|
1431
|
+
type Outbound = GenerateData$Outbound;
|
|
1432
|
+
}
|
|
1433
|
+
export declare function generateDataToJSON(generateData: GenerateData): string;
|
|
1434
|
+
export declare function generateDataFromJSON(jsonString: string): SafeParseResult<GenerateData, SDKValidationError>;
|
|
1435
|
+
/** @internal */
|
|
1436
|
+
export declare const Usage$inboundSchema: z.ZodType<Usage, z.ZodTypeDef, unknown>;
|
|
1437
|
+
/** @internal */
|
|
1438
|
+
export type Usage$Outbound = {
|
|
1439
|
+
prompt_tokens: number;
|
|
1440
|
+
total_tokens: number;
|
|
1441
|
+
cost?: number | undefined;
|
|
1442
|
+
};
|
|
1443
|
+
/** @internal */
|
|
1444
|
+
export declare const Usage$outboundSchema: z.ZodType<Usage$Outbound, z.ZodTypeDef, Usage>;
|
|
1445
|
+
/**
|
|
1446
|
+
* @internal
|
|
1447
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1448
|
+
*/
|
|
1449
|
+
export declare namespace Usage$ {
|
|
1450
|
+
/** @deprecated use `Usage$inboundSchema` instead. */
|
|
1451
|
+
const inboundSchema: z.ZodType<Usage, z.ZodTypeDef, unknown>;
|
|
1452
|
+
/** @deprecated use `Usage$outboundSchema` instead. */
|
|
1453
|
+
const outboundSchema: z.ZodType<Usage$Outbound, z.ZodTypeDef, Usage>;
|
|
1454
|
+
/** @deprecated use `Usage$Outbound` instead. */
|
|
1455
|
+
type Outbound = Usage$Outbound;
|
|
1456
|
+
}
|
|
1457
|
+
export declare function usageToJSON(usage: Usage): string;
|
|
1458
|
+
export declare function usageFromJSON(jsonString: string): SafeParseResult<Usage, SDKValidationError>;
|
|
1459
|
+
/** @internal */
|
|
1460
|
+
export declare const GenerateResponse$inboundSchema: z.ZodType<GenerateResponse, z.ZodTypeDef, unknown>;
|
|
1461
|
+
/** @internal */
|
|
1462
|
+
export type GenerateResponse$Outbound = {
|
|
1463
|
+
object: string;
|
|
1464
|
+
data: Array<GenerateData$Outbound>;
|
|
1465
|
+
model: string;
|
|
1466
|
+
usage?: Usage$Outbound | undefined;
|
|
1467
|
+
};
|
|
1468
|
+
/** @internal */
|
|
1469
|
+
export declare const GenerateResponse$outboundSchema: z.ZodType<GenerateResponse$Outbound, z.ZodTypeDef, GenerateResponse>;
|
|
1470
|
+
/**
|
|
1471
|
+
* @internal
|
|
1472
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1473
|
+
*/
|
|
1474
|
+
export declare namespace GenerateResponse$ {
|
|
1475
|
+
/** @deprecated use `GenerateResponse$inboundSchema` instead. */
|
|
1476
|
+
const inboundSchema: z.ZodType<GenerateResponse, z.ZodTypeDef, unknown>;
|
|
1477
|
+
/** @deprecated use `GenerateResponse$outboundSchema` instead. */
|
|
1478
|
+
const outboundSchema: z.ZodType<GenerateResponse$Outbound, z.ZodTypeDef, GenerateResponse>;
|
|
1479
|
+
/** @deprecated use `GenerateResponse$Outbound` instead. */
|
|
1480
|
+
type Outbound = GenerateResponse$Outbound;
|
|
1481
|
+
}
|
|
1482
|
+
export declare function generateResponseToJSON(generateResponse: GenerateResponse): string;
|
|
1483
|
+
export declare function generateResponseFromJSON(jsonString: string): SafeParseResult<GenerateResponse, SDKValidationError>;
|
|
1484
|
+
//# sourceMappingURL=generate.d.ts.map
|