@openrouter/sdk 0.0.0-beta.38 → 0.0.0-beta.39
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/dist/commonjs/funcs/betaResponsesSend.js +1 -1
- package/dist/commonjs/funcs/betaResponsesSend.js.map +1 -1
- package/dist/commonjs/funcs/chatSend.js +1 -1
- package/dist/commonjs/funcs/chatSend.js.map +1 -1
- package/dist/commonjs/funcs/custom/oAuthCreateAuthorizationUrl.d.ts +43 -0
- package/dist/commonjs/funcs/custom/oAuthCreateAuthorizationUrl.d.ts.map +1 -0
- package/dist/commonjs/funcs/custom/oAuthCreateAuthorizationUrl.js +50 -0
- package/dist/commonjs/funcs/custom/oAuthCreateAuthorizationUrl.js.map +1 -0
- package/dist/commonjs/funcs/custom/oAuthCreateAuthorizationUrl.test.d.ts +2 -0
- package/dist/commonjs/funcs/custom/oAuthCreateAuthorizationUrl.test.d.ts.map +1 -0
- package/dist/commonjs/funcs/custom/oAuthCreateAuthorizationUrl.test.js +213 -0
- package/dist/commonjs/funcs/custom/oAuthCreateAuthorizationUrl.test.js.map +1 -0
- package/dist/commonjs/funcs/custom/oAuthCreateSHA256CodeChallenge.d.ts +35 -0
- package/dist/commonjs/funcs/custom/oAuthCreateSHA256CodeChallenge.d.ts.map +1 -0
- package/dist/commonjs/funcs/custom/oAuthCreateSHA256CodeChallenge.js +75 -0
- package/dist/commonjs/funcs/custom/oAuthCreateSHA256CodeChallenge.js.map +1 -0
- package/dist/commonjs/funcs/custom/oAuthCreateSHA256CodeChallenge.test.d.ts +2 -0
- package/dist/commonjs/funcs/custom/oAuthCreateSHA256CodeChallenge.test.d.ts.map +1 -0
- package/dist/commonjs/funcs/custom/oAuthCreateSHA256CodeChallenge.test.js +164 -0
- package/dist/commonjs/funcs/custom/oAuthCreateSHA256CodeChallenge.test.js.map +1 -0
- package/dist/commonjs/funcs/modelsList.js +1 -1
- package/dist/commonjs/funcs/modelsList.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/lib/config.js.map +1 -1
- package/dist/commonjs/models/chatgenerationparams.d.ts +16 -42
- package/dist/commonjs/models/chatgenerationparams.d.ts.map +1 -1
- package/dist/commonjs/models/chatgenerationparams.js +27 -6
- package/dist/commonjs/models/chatgenerationparams.js.map +1 -1
- package/dist/commonjs/models/chatmessagecontentitemaudio.d.ts +6 -22
- package/dist/commonjs/models/chatmessagecontentitemaudio.d.ts.map +1 -1
- package/dist/commonjs/models/chatmessagecontentitemaudio.js +10 -2
- package/dist/commonjs/models/chatmessagecontentitemaudio.js.map +1 -1
- package/dist/commonjs/models/chatmessagecontentitemimage.d.ts +6 -14
- package/dist/commonjs/models/chatmessagecontentitemimage.d.ts.map +1 -1
- package/dist/commonjs/models/chatmessagecontentitemimage.js +10 -2
- package/dist/commonjs/models/chatmessagecontentitemimage.js.map +1 -1
- package/dist/commonjs/models/chatresponsechoice.d.ts +6 -18
- package/dist/commonjs/models/chatresponsechoice.d.ts.map +1 -1
- package/dist/commonjs/models/chatresponsechoice.js +10 -2
- package/dist/commonjs/models/chatresponsechoice.js.map +1 -1
- package/dist/commonjs/models/chatstreamingchoice.d.ts +6 -18
- package/dist/commonjs/models/chatstreamingchoice.d.ts.map +1 -1
- package/dist/commonjs/models/chatstreamingchoice.js +10 -2
- package/dist/commonjs/models/chatstreamingchoice.js.map +1 -1
- package/dist/commonjs/models/completionfinishreason.d.ts +6 -14
- package/dist/commonjs/models/completionfinishreason.d.ts.map +1 -1
- package/dist/commonjs/models/completionfinishreason.js +10 -2
- package/dist/commonjs/models/completionfinishreason.js.map +1 -1
- package/dist/commonjs/models/endpointslist.d.ts +21 -269
- package/dist/commonjs/models/endpointslist.d.ts.map +1 -1
- package/dist/commonjs/models/endpointslist.js +37 -8
- package/dist/commonjs/models/endpointslist.js.map +1 -1
- package/dist/commonjs/models/errorresponse.d.ts +6 -148
- package/dist/commonjs/models/errorresponse.d.ts.map +1 -1
- package/dist/commonjs/models/errorresponse.js +10 -2
- package/dist/commonjs/models/errorresponse.js.map +1 -1
- package/dist/commonjs/models/modelslist.d.ts +26 -178
- package/dist/commonjs/models/modelslist.d.ts.map +1 -1
- package/dist/commonjs/models/modelslist.js +46 -11
- package/dist/commonjs/models/modelslist.js.map +1 -1
- package/dist/commonjs/models/operations/addcoinbasecharge.d.ts +6 -14
- package/dist/commonjs/models/operations/addcoinbasecharge.d.ts.map +1 -1
- package/dist/commonjs/models/operations/addcoinbasecharge.js +9 -2
- package/dist/commonjs/models/operations/addcoinbasecharge.js.map +1 -1
- package/dist/commonjs/models/operations/create.d.ts +6 -14
- package/dist/commonjs/models/operations/create.d.ts.map +1 -1
- package/dist/commonjs/models/operations/create.js +10 -2
- package/dist/commonjs/models/operations/create.js.map +1 -1
- package/dist/commonjs/models/operations/createauthorizationcode.d.ts +6 -12
- package/dist/commonjs/models/operations/createauthorizationcode.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createauthorizationcode.js +9 -2
- package/dist/commonjs/models/operations/createauthorizationcode.js.map +1 -1
- package/dist/commonjs/models/operations/exchangeauthorizationcode.d.ts +6 -12
- package/dist/commonjs/models/operations/exchangeauthorizationcode.d.ts.map +1 -1
- package/dist/commonjs/models/operations/exchangeauthorizationcode.js +9 -2
- package/dist/commonjs/models/operations/exchangeauthorizationcode.js.map +1 -1
- package/dist/commonjs/models/operations/generate.d.ts +37 -569
- package/dist/commonjs/models/operations/generate.d.ts.map +1 -1
- package/dist/commonjs/models/operations/generate.js +55 -12
- package/dist/commonjs/models/operations/generate.js.map +1 -1
- package/dist/commonjs/models/operations/getmetadata.d.ts +6 -12
- package/dist/commonjs/models/operations/getmetadata.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getmetadata.js +9 -2
- package/dist/commonjs/models/operations/getmetadata.js.map +1 -1
- package/dist/commonjs/models/operations/getparameters.d.ts +11 -189
- package/dist/commonjs/models/operations/getparameters.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getparameters.js +19 -4
- package/dist/commonjs/models/operations/getparameters.js.map +1 -1
- package/dist/commonjs/models/operations/list.d.ts +21 -125
- package/dist/commonjs/models/operations/list.d.ts.map +1 -1
- package/dist/commonjs/models/operations/list.js +36 -8
- package/dist/commonjs/models/operations/list.js.map +1 -1
- package/dist/commonjs/models/operations/previewzdr.d.ts +21 -269
- package/dist/commonjs/models/operations/previewzdr.d.ts.map +1 -1
- package/dist/commonjs/models/operations/previewzdr.js +38 -9
- package/dist/commonjs/models/operations/previewzdr.js.map +1 -1
- package/dist/commonjs/models/operations/sendresponsesrequest.d.ts +57 -621
- package/dist/commonjs/models/operations/sendresponsesrequest.d.ts.map +1 -1
- package/dist/commonjs/models/operations/sendresponsesrequest.js +88 -20
- package/dist/commonjs/models/operations/sendresponsesrequest.js.map +1 -1
- package/dist/commonjs/models/operations/update.d.ts +6 -14
- package/dist/commonjs/models/operations/update.d.ts.map +1 -1
- package/dist/commonjs/models/operations/update.js +10 -2
- package/dist/commonjs/models/operations/update.js.map +1 -1
- package/dist/commonjs/models/responsefunctioncallstatus.d.ts +6 -14
- package/dist/commonjs/models/responsefunctioncallstatus.d.ts.map +1 -1
- package/dist/commonjs/models/responsefunctioncallstatus.js +10 -2
- package/dist/commonjs/models/responsefunctioncallstatus.js.map +1 -1
- package/dist/commonjs/models/responseimagegenerationcallstatus.d.ts +6 -16
- package/dist/commonjs/models/responseimagegenerationcallstatus.d.ts.map +1 -1
- package/dist/commonjs/models/responseimagegenerationcallstatus.js +10 -2
- package/dist/commonjs/models/responseimagegenerationcallstatus.js.map +1 -1
- package/dist/commonjs/models/responseincludable.d.ts +6 -18
- package/dist/commonjs/models/responseincludable.d.ts.map +1 -1
- package/dist/commonjs/models/responseincludable.js +10 -2
- package/dist/commonjs/models/responseincludable.js.map +1 -1
- package/dist/commonjs/models/responseinputimagedetail.d.ts +6 -14
- package/dist/commonjs/models/responseinputimagedetail.d.ts.map +1 -1
- package/dist/commonjs/models/responseinputimagedetail.js +10 -2
- package/dist/commonjs/models/responseinputimagedetail.js.map +1 -1
- package/dist/commonjs/models/responsereasoningconfig.d.ts +6 -16
- package/dist/commonjs/models/responsereasoningconfig.d.ts.map +1 -1
- package/dist/commonjs/models/responsereasoningconfig.js +10 -2
- package/dist/commonjs/models/responsereasoningconfig.js.map +1 -1
- package/dist/commonjs/models/responsereasoningsummarymode.d.ts +6 -14
- package/dist/commonjs/models/responsereasoningsummarymode.d.ts.map +1 -1
- package/dist/commonjs/models/responsereasoningsummarymode.js +10 -2
- package/dist/commonjs/models/responsereasoningsummarymode.js.map +1 -1
- package/dist/commonjs/models/responsesincompletedetails.d.ts +6 -12
- package/dist/commonjs/models/responsesincompletedetails.d.ts.map +1 -1
- package/dist/commonjs/models/responsesincompletedetails.js +10 -2
- package/dist/commonjs/models/responsesincompletedetails.js.map +1 -1
- package/dist/commonjs/models/responsesnonstreamingresponse.d.ts +21 -61
- package/dist/commonjs/models/responsesnonstreamingresponse.d.ts.map +1 -1
- package/dist/commonjs/models/responsesnonstreamingresponse.js +35 -8
- package/dist/commonjs/models/responsesnonstreamingresponse.js.map +1 -1
- package/dist/commonjs/models/responsesoutputitemfilesearchcall.d.ts +6 -16
- package/dist/commonjs/models/responsesoutputitemfilesearchcall.d.ts.map +1 -1
- package/dist/commonjs/models/responsesoutputitemfilesearchcall.js +9 -2
- package/dist/commonjs/models/responsesoutputitemfilesearchcall.js.map +1 -1
- package/dist/commonjs/models/responsesoutputitemreasoning.d.ts +6 -16
- package/dist/commonjs/models/responsesoutputitemreasoning.d.ts.map +1 -1
- package/dist/commonjs/models/responsesoutputitemreasoning.js +10 -2
- package/dist/commonjs/models/responsesoutputitemreasoning.js.map +1 -1
- package/dist/commonjs/models/responsesstreamchunkunion.d.ts +31 -81
- package/dist/commonjs/models/responsesstreamchunkunion.d.ts.map +1 -1
- package/dist/commonjs/models/responsesstreamchunkunion.js +55 -12
- package/dist/commonjs/models/responsesstreamchunkunion.js.map +1 -1
- package/dist/commonjs/models/responseswebsearchcalloutput.d.ts +6 -16
- package/dist/commonjs/models/responseswebsearchcalloutput.d.ts.map +1 -1
- package/dist/commonjs/models/responseswebsearchcalloutput.js +10 -2
- package/dist/commonjs/models/responseswebsearchcalloutput.js.map +1 -1
- package/dist/commonjs/models/responsetextverbosity.d.ts +6 -14
- package/dist/commonjs/models/responsetextverbosity.d.ts.map +1 -1
- package/dist/commonjs/models/responsetextverbosity.js +10 -2
- package/dist/commonjs/models/responsetextverbosity.js.map +1 -1
- package/dist/commonjs/sdk/oauth.d.ts +27 -0
- package/dist/commonjs/sdk/oauth.d.ts.map +1 -1
- package/dist/commonjs/sdk/oauth.js +43 -0
- package/dist/commonjs/sdk/oauth.js.map +1 -1
- package/dist/esm/funcs/betaResponsesSend.js +1 -1
- package/dist/esm/funcs/betaResponsesSend.js.map +1 -1
- package/dist/esm/funcs/chatSend.js +1 -1
- package/dist/esm/funcs/chatSend.js.map +1 -1
- package/dist/esm/funcs/custom/oAuthCreateAuthorizationUrl.d.ts +43 -0
- package/dist/esm/funcs/custom/oAuthCreateAuthorizationUrl.d.ts.map +1 -0
- package/dist/esm/funcs/custom/oAuthCreateAuthorizationUrl.js +44 -0
- package/dist/esm/funcs/custom/oAuthCreateAuthorizationUrl.js.map +1 -0
- package/dist/esm/funcs/custom/oAuthCreateAuthorizationUrl.test.d.ts +2 -0
- package/dist/esm/funcs/custom/oAuthCreateAuthorizationUrl.test.d.ts.map +1 -0
- package/dist/esm/funcs/custom/oAuthCreateAuthorizationUrl.test.js +211 -0
- package/dist/esm/funcs/custom/oAuthCreateAuthorizationUrl.test.js.map +1 -0
- package/dist/esm/funcs/custom/oAuthCreateSHA256CodeChallenge.d.ts +35 -0
- package/dist/esm/funcs/custom/oAuthCreateSHA256CodeChallenge.d.ts.map +1 -0
- package/dist/esm/funcs/custom/oAuthCreateSHA256CodeChallenge.js +69 -0
- package/dist/esm/funcs/custom/oAuthCreateSHA256CodeChallenge.js.map +1 -0
- package/dist/esm/funcs/custom/oAuthCreateSHA256CodeChallenge.test.d.ts +2 -0
- package/dist/esm/funcs/custom/oAuthCreateSHA256CodeChallenge.test.d.ts.map +1 -0
- package/dist/esm/funcs/custom/oAuthCreateSHA256CodeChallenge.test.js +162 -0
- package/dist/esm/funcs/custom/oAuthCreateSHA256CodeChallenge.test.js.map +1 -0
- package/dist/esm/funcs/modelsList.js +1 -1
- package/dist/esm/funcs/modelsList.js.map +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/lib/config.js.map +1 -1
- package/dist/esm/models/chatgenerationparams.d.ts +16 -42
- package/dist/esm/models/chatgenerationparams.d.ts.map +1 -1
- package/dist/esm/models/chatgenerationparams.js +27 -6
- package/dist/esm/models/chatgenerationparams.js.map +1 -1
- package/dist/esm/models/chatmessagecontentitemaudio.d.ts +6 -22
- package/dist/esm/models/chatmessagecontentitemaudio.d.ts.map +1 -1
- package/dist/esm/models/chatmessagecontentitemaudio.js +10 -2
- package/dist/esm/models/chatmessagecontentitemaudio.js.map +1 -1
- package/dist/esm/models/chatmessagecontentitemimage.d.ts +6 -14
- package/dist/esm/models/chatmessagecontentitemimage.d.ts.map +1 -1
- package/dist/esm/models/chatmessagecontentitemimage.js +10 -2
- package/dist/esm/models/chatmessagecontentitemimage.js.map +1 -1
- package/dist/esm/models/chatresponsechoice.d.ts +6 -18
- package/dist/esm/models/chatresponsechoice.d.ts.map +1 -1
- package/dist/esm/models/chatresponsechoice.js +10 -2
- package/dist/esm/models/chatresponsechoice.js.map +1 -1
- package/dist/esm/models/chatstreamingchoice.d.ts +6 -18
- package/dist/esm/models/chatstreamingchoice.d.ts.map +1 -1
- package/dist/esm/models/chatstreamingchoice.js +10 -2
- package/dist/esm/models/chatstreamingchoice.js.map +1 -1
- package/dist/esm/models/completionfinishreason.d.ts +6 -14
- package/dist/esm/models/completionfinishreason.d.ts.map +1 -1
- package/dist/esm/models/completionfinishreason.js +10 -2
- package/dist/esm/models/completionfinishreason.js.map +1 -1
- package/dist/esm/models/endpointslist.d.ts +21 -269
- package/dist/esm/models/endpointslist.d.ts.map +1 -1
- package/dist/esm/models/endpointslist.js +37 -8
- package/dist/esm/models/endpointslist.js.map +1 -1
- package/dist/esm/models/errorresponse.d.ts +6 -148
- package/dist/esm/models/errorresponse.d.ts.map +1 -1
- package/dist/esm/models/errorresponse.js +10 -2
- package/dist/esm/models/errorresponse.js.map +1 -1
- package/dist/esm/models/modelslist.d.ts +26 -178
- package/dist/esm/models/modelslist.d.ts.map +1 -1
- package/dist/esm/models/modelslist.js +46 -11
- package/dist/esm/models/modelslist.js.map +1 -1
- package/dist/esm/models/operations/addcoinbasecharge.d.ts +6 -14
- package/dist/esm/models/operations/addcoinbasecharge.d.ts.map +1 -1
- package/dist/esm/models/operations/addcoinbasecharge.js +9 -2
- package/dist/esm/models/operations/addcoinbasecharge.js.map +1 -1
- package/dist/esm/models/operations/create.d.ts +6 -14
- package/dist/esm/models/operations/create.d.ts.map +1 -1
- package/dist/esm/models/operations/create.js +10 -2
- package/dist/esm/models/operations/create.js.map +1 -1
- package/dist/esm/models/operations/createauthorizationcode.d.ts +6 -12
- package/dist/esm/models/operations/createauthorizationcode.d.ts.map +1 -1
- package/dist/esm/models/operations/createauthorizationcode.js +9 -2
- package/dist/esm/models/operations/createauthorizationcode.js.map +1 -1
- package/dist/esm/models/operations/exchangeauthorizationcode.d.ts +6 -12
- package/dist/esm/models/operations/exchangeauthorizationcode.d.ts.map +1 -1
- package/dist/esm/models/operations/exchangeauthorizationcode.js +9 -2
- package/dist/esm/models/operations/exchangeauthorizationcode.js.map +1 -1
- package/dist/esm/models/operations/generate.d.ts +37 -569
- package/dist/esm/models/operations/generate.d.ts.map +1 -1
- package/dist/esm/models/operations/generate.js +55 -12
- package/dist/esm/models/operations/generate.js.map +1 -1
- package/dist/esm/models/operations/getmetadata.d.ts +6 -12
- package/dist/esm/models/operations/getmetadata.d.ts.map +1 -1
- package/dist/esm/models/operations/getmetadata.js +9 -2
- package/dist/esm/models/operations/getmetadata.js.map +1 -1
- package/dist/esm/models/operations/getparameters.d.ts +11 -189
- package/dist/esm/models/operations/getparameters.d.ts.map +1 -1
- package/dist/esm/models/operations/getparameters.js +19 -4
- package/dist/esm/models/operations/getparameters.js.map +1 -1
- package/dist/esm/models/operations/list.d.ts +21 -125
- package/dist/esm/models/operations/list.d.ts.map +1 -1
- package/dist/esm/models/operations/list.js +36 -8
- package/dist/esm/models/operations/list.js.map +1 -1
- package/dist/esm/models/operations/previewzdr.d.ts +21 -269
- package/dist/esm/models/operations/previewzdr.d.ts.map +1 -1
- package/dist/esm/models/operations/previewzdr.js +38 -9
- package/dist/esm/models/operations/previewzdr.js.map +1 -1
- package/dist/esm/models/operations/sendresponsesrequest.d.ts +57 -621
- package/dist/esm/models/operations/sendresponsesrequest.d.ts.map +1 -1
- package/dist/esm/models/operations/sendresponsesrequest.js +88 -20
- package/dist/esm/models/operations/sendresponsesrequest.js.map +1 -1
- package/dist/esm/models/operations/update.d.ts +6 -14
- package/dist/esm/models/operations/update.d.ts.map +1 -1
- package/dist/esm/models/operations/update.js +10 -2
- package/dist/esm/models/operations/update.js.map +1 -1
- package/dist/esm/models/responsefunctioncallstatus.d.ts +6 -14
- package/dist/esm/models/responsefunctioncallstatus.d.ts.map +1 -1
- package/dist/esm/models/responsefunctioncallstatus.js +10 -2
- package/dist/esm/models/responsefunctioncallstatus.js.map +1 -1
- package/dist/esm/models/responseimagegenerationcallstatus.d.ts +6 -16
- package/dist/esm/models/responseimagegenerationcallstatus.d.ts.map +1 -1
- package/dist/esm/models/responseimagegenerationcallstatus.js +10 -2
- package/dist/esm/models/responseimagegenerationcallstatus.js.map +1 -1
- package/dist/esm/models/responseincludable.d.ts +6 -18
- package/dist/esm/models/responseincludable.d.ts.map +1 -1
- package/dist/esm/models/responseincludable.js +10 -2
- package/dist/esm/models/responseincludable.js.map +1 -1
- package/dist/esm/models/responseinputimagedetail.d.ts +6 -14
- package/dist/esm/models/responseinputimagedetail.d.ts.map +1 -1
- package/dist/esm/models/responseinputimagedetail.js +10 -2
- package/dist/esm/models/responseinputimagedetail.js.map +1 -1
- package/dist/esm/models/responsereasoningconfig.d.ts +6 -16
- package/dist/esm/models/responsereasoningconfig.d.ts.map +1 -1
- package/dist/esm/models/responsereasoningconfig.js +10 -2
- package/dist/esm/models/responsereasoningconfig.js.map +1 -1
- package/dist/esm/models/responsereasoningsummarymode.d.ts +6 -14
- package/dist/esm/models/responsereasoningsummarymode.d.ts.map +1 -1
- package/dist/esm/models/responsereasoningsummarymode.js +10 -2
- package/dist/esm/models/responsereasoningsummarymode.js.map +1 -1
- package/dist/esm/models/responsesincompletedetails.d.ts +6 -12
- package/dist/esm/models/responsesincompletedetails.d.ts.map +1 -1
- package/dist/esm/models/responsesincompletedetails.js +10 -2
- package/dist/esm/models/responsesincompletedetails.js.map +1 -1
- package/dist/esm/models/responsesnonstreamingresponse.d.ts +21 -61
- package/dist/esm/models/responsesnonstreamingresponse.d.ts.map +1 -1
- package/dist/esm/models/responsesnonstreamingresponse.js +35 -8
- package/dist/esm/models/responsesnonstreamingresponse.js.map +1 -1
- package/dist/esm/models/responsesoutputitemfilesearchcall.d.ts +6 -16
- package/dist/esm/models/responsesoutputitemfilesearchcall.d.ts.map +1 -1
- package/dist/esm/models/responsesoutputitemfilesearchcall.js +9 -2
- package/dist/esm/models/responsesoutputitemfilesearchcall.js.map +1 -1
- package/dist/esm/models/responsesoutputitemreasoning.d.ts +6 -16
- package/dist/esm/models/responsesoutputitemreasoning.d.ts.map +1 -1
- package/dist/esm/models/responsesoutputitemreasoning.js +10 -2
- package/dist/esm/models/responsesoutputitemreasoning.js.map +1 -1
- package/dist/esm/models/responsesstreamchunkunion.d.ts +31 -81
- package/dist/esm/models/responsesstreamchunkunion.d.ts.map +1 -1
- package/dist/esm/models/responsesstreamchunkunion.js +55 -12
- package/dist/esm/models/responsesstreamchunkunion.js.map +1 -1
- package/dist/esm/models/responseswebsearchcalloutput.d.ts +6 -16
- package/dist/esm/models/responseswebsearchcalloutput.d.ts.map +1 -1
- package/dist/esm/models/responseswebsearchcalloutput.js +10 -2
- package/dist/esm/models/responseswebsearchcalloutput.js.map +1 -1
- package/dist/esm/models/responsetextverbosity.d.ts +6 -14
- package/dist/esm/models/responsetextverbosity.d.ts.map +1 -1
- package/dist/esm/models/responsetextverbosity.js +10 -2
- package/dist/esm/models/responsetextverbosity.js.map +1 -1
- package/dist/esm/sdk/oauth.d.ts +27 -0
- package/dist/esm/sdk/oauth.d.ts.map +1 -1
- package/dist/esm/sdk/oauth.js +43 -0
- package/dist/esm/sdk/oauth.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +3 -2
- package/src/funcs/betaResponsesSend.ts +1 -1
- package/src/funcs/chatSend.ts +1 -1
- package/src/funcs/custom/oAuthCreateAuthorizationUrl.test.ts +265 -0
- package/src/funcs/custom/oAuthCreateAuthorizationUrl.ts +66 -0
- package/src/funcs/custom/oAuthCreateSHA256CodeChallenge.test.ts +189 -0
- package/src/funcs/custom/oAuthCreateSHA256CodeChallenge.ts +90 -0
- package/src/funcs/modelsList.ts +1 -1
- package/src/lib/config.ts +3 -3
- package/src/models/chatgenerationparams.ts +59 -20
- package/src/models/chatmessagecontentitemaudio.ts +23 -8
- package/src/models/chatmessagecontentitemimage.ts +16 -6
- package/src/models/chatresponsechoice.ts +23 -8
- package/src/models/chatstreamingchoice.ts +23 -8
- package/src/models/completionfinishreason.ts +23 -8
- package/src/models/endpointslist.ts +77 -25
- package/src/models/errorresponse.ts +23 -8
- package/src/models/modelslist.ts +95 -32
- package/src/models/operations/addcoinbasecharge.ts +17 -6
- package/src/models/operations/create.ts +23 -8
- package/src/models/operations/createauthorizationcode.ts +20 -6
- package/src/models/operations/exchangeauthorizationcode.ts +23 -6
- package/src/models/operations/generate.ts +114 -41
- package/src/models/operations/getmetadata.ts +17 -6
- package/src/models/operations/getparameters.ts +41 -15
- package/src/models/operations/list.ts +77 -25
- package/src/models/operations/previewzdr.ts +70 -25
- package/src/models/operations/sendresponsesrequest.ts +179 -63
- package/src/models/operations/update.ts +23 -8
- package/src/models/responsefunctioncallstatus.ts +23 -8
- package/src/models/responseimagegenerationcallstatus.ts +23 -8
- package/src/models/responseincludable.ts +23 -8
- package/src/models/responseinputimagedetail.ts +23 -8
- package/src/models/responsereasoningconfig.ts +23 -8
- package/src/models/responsereasoningsummarymode.ts +23 -8
- package/src/models/responsesincompletedetails.ts +23 -8
- package/src/models/responsesnonstreamingresponse.ts +78 -25
- package/src/models/responsesoutputitemfilesearchcall.ts +24 -8
- package/src/models/responsesoutputitemreasoning.ts +24 -8
- package/src/models/responsesstreamchunkunion.ts +114 -43
- package/src/models/responseswebsearchcalloutput.ts +24 -8
- package/src/models/responsetextverbosity.ts +23 -8
- package/src/sdk/oauth.ts +60 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
|
-
import { ClosedEnum } from "../../types/enums.js";
|
|
2
|
+
import { ClosedEnum, OpenEnum } from "../../types/enums.js";
|
|
3
3
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
4
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
5
|
export type Input = string | Array<string> | Array<number> | Array<Array<number>>;
|
|
@@ -21,7 +21,7 @@ export declare const GenerateDataCollection: {
|
|
|
21
21
|
* - allow: (default) allow providers which store user data non-transiently and may train on it
|
|
22
22
|
* - deny: use only providers which do not collect user data.
|
|
23
23
|
*/
|
|
24
|
-
export type GenerateDataCollection =
|
|
24
|
+
export type GenerateDataCollection = OpenEnum<typeof GenerateDataCollection>;
|
|
25
25
|
export declare const GenerateOrderEnum: {
|
|
26
26
|
readonly AnyScale: "AnyScale";
|
|
27
27
|
readonly CentML: "Cent-ML";
|
|
@@ -106,7 +106,7 @@ export declare const GenerateOrderEnum: {
|
|
|
106
106
|
readonly ZAi: "Z.AI";
|
|
107
107
|
readonly FakeProvider: "FakeProvider";
|
|
108
108
|
};
|
|
109
|
-
export type GenerateOrderEnum =
|
|
109
|
+
export type GenerateOrderEnum = OpenEnum<typeof GenerateOrderEnum>;
|
|
110
110
|
export type GenerateOrderUnion = GenerateOrderEnum | string;
|
|
111
111
|
export declare const GenerateOnlyEnum: {
|
|
112
112
|
readonly AnyScale: "AnyScale";
|
|
@@ -192,7 +192,7 @@ export declare const GenerateOnlyEnum: {
|
|
|
192
192
|
readonly ZAi: "Z.AI";
|
|
193
193
|
readonly FakeProvider: "FakeProvider";
|
|
194
194
|
};
|
|
195
|
-
export type GenerateOnlyEnum =
|
|
195
|
+
export type GenerateOnlyEnum = OpenEnum<typeof GenerateOnlyEnum>;
|
|
196
196
|
export type GenerateOnlyUnion = GenerateOnlyEnum | string;
|
|
197
197
|
export declare const GenerateIgnoreEnum: {
|
|
198
198
|
readonly AnyScale: "AnyScale";
|
|
@@ -278,7 +278,7 @@ export declare const GenerateIgnoreEnum: {
|
|
|
278
278
|
readonly ZAi: "Z.AI";
|
|
279
279
|
readonly FakeProvider: "FakeProvider";
|
|
280
280
|
};
|
|
281
|
-
export type GenerateIgnoreEnum =
|
|
281
|
+
export type GenerateIgnoreEnum = OpenEnum<typeof GenerateIgnoreEnum>;
|
|
282
282
|
export type GenerateIgnoreUnion = GenerateIgnoreEnum | string;
|
|
283
283
|
export declare const GenerateQuantization: {
|
|
284
284
|
readonly Int4: "int4";
|
|
@@ -291,7 +291,7 @@ export declare const GenerateQuantization: {
|
|
|
291
291
|
readonly Fp32: "fp32";
|
|
292
292
|
readonly Unknown: "unknown";
|
|
293
293
|
};
|
|
294
|
-
export type GenerateQuantization =
|
|
294
|
+
export type GenerateQuantization = OpenEnum<typeof GenerateQuantization>;
|
|
295
295
|
/**
|
|
296
296
|
* The sorting strategy to use for this request, if "order" is not specified. When set, no load balancing is performed.
|
|
297
297
|
*/
|
|
@@ -303,7 +303,7 @@ export declare const GenerateSort: {
|
|
|
303
303
|
/**
|
|
304
304
|
* The sorting strategy to use for this request, if "order" is not specified. When set, no load balancing is performed.
|
|
305
305
|
*/
|
|
306
|
-
export type GenerateSort =
|
|
306
|
+
export type GenerateSort = OpenEnum<typeof GenerateSort>;
|
|
307
307
|
export type GeneratePrompt = number | string | any;
|
|
308
308
|
export type GenerateCompletion = number | string | any;
|
|
309
309
|
export type GenerateImage = number | string | any;
|
|
@@ -436,204 +436,32 @@ export declare namespace Input$ {
|
|
|
436
436
|
export declare function inputToJSON(input: Input): string;
|
|
437
437
|
export declare function inputFromJSON(jsonString: string): SafeParseResult<Input, SDKValidationError>;
|
|
438
438
|
/** @internal */
|
|
439
|
-
export declare const GenerateDataCollection$inboundSchema: z.
|
|
439
|
+
export declare const GenerateDataCollection$inboundSchema: z.ZodType<GenerateDataCollection, z.ZodTypeDef, unknown>;
|
|
440
440
|
/** @internal */
|
|
441
|
-
export declare const GenerateDataCollection$outboundSchema: z.
|
|
441
|
+
export declare const GenerateDataCollection$outboundSchema: z.ZodType<GenerateDataCollection, z.ZodTypeDef, GenerateDataCollection>;
|
|
442
442
|
/**
|
|
443
443
|
* @internal
|
|
444
444
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
445
445
|
*/
|
|
446
446
|
export declare namespace GenerateDataCollection$ {
|
|
447
447
|
/** @deprecated use `GenerateDataCollection$inboundSchema` instead. */
|
|
448
|
-
const inboundSchema: z.
|
|
449
|
-
readonly Deny: "deny";
|
|
450
|
-
readonly Allow: "allow";
|
|
451
|
-
}>;
|
|
448
|
+
const inboundSchema: z.ZodType<GenerateDataCollection, z.ZodTypeDef, unknown>;
|
|
452
449
|
/** @deprecated use `GenerateDataCollection$outboundSchema` instead. */
|
|
453
|
-
const outboundSchema: z.
|
|
454
|
-
readonly Deny: "deny";
|
|
455
|
-
readonly Allow: "allow";
|
|
456
|
-
}>;
|
|
450
|
+
const outboundSchema: z.ZodType<GenerateDataCollection, z.ZodTypeDef, GenerateDataCollection>;
|
|
457
451
|
}
|
|
458
452
|
/** @internal */
|
|
459
|
-
export declare const GenerateOrderEnum$inboundSchema: z.
|
|
453
|
+
export declare const GenerateOrderEnum$inboundSchema: z.ZodType<GenerateOrderEnum, z.ZodTypeDef, unknown>;
|
|
460
454
|
/** @internal */
|
|
461
|
-
export declare const GenerateOrderEnum$outboundSchema: z.
|
|
455
|
+
export declare const GenerateOrderEnum$outboundSchema: z.ZodType<GenerateOrderEnum, z.ZodTypeDef, GenerateOrderEnum>;
|
|
462
456
|
/**
|
|
463
457
|
* @internal
|
|
464
458
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
465
459
|
*/
|
|
466
460
|
export declare namespace GenerateOrderEnum$ {
|
|
467
461
|
/** @deprecated use `GenerateOrderEnum$inboundSchema` instead. */
|
|
468
|
-
const inboundSchema: z.
|
|
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
|
-
}>;
|
|
462
|
+
const inboundSchema: z.ZodType<GenerateOrderEnum, z.ZodTypeDef, unknown>;
|
|
552
463
|
/** @deprecated use `GenerateOrderEnum$outboundSchema` instead. */
|
|
553
|
-
const outboundSchema: z.
|
|
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
|
-
}>;
|
|
464
|
+
const outboundSchema: z.ZodType<GenerateOrderEnum, z.ZodTypeDef, GenerateOrderEnum>;
|
|
637
465
|
}
|
|
638
466
|
/** @internal */
|
|
639
467
|
export declare const GenerateOrderUnion$inboundSchema: z.ZodType<GenerateOrderUnion, z.ZodTypeDef, unknown>;
|
|
@@ -647,193 +475,27 @@ export declare const GenerateOrderUnion$outboundSchema: z.ZodType<GenerateOrderU
|
|
|
647
475
|
*/
|
|
648
476
|
export declare namespace GenerateOrderUnion$ {
|
|
649
477
|
/** @deprecated use `GenerateOrderUnion$inboundSchema` instead. */
|
|
650
|
-
const inboundSchema: z.ZodType<
|
|
478
|
+
const inboundSchema: z.ZodType<GenerateOrderUnion, z.ZodTypeDef, unknown>;
|
|
651
479
|
/** @deprecated use `GenerateOrderUnion$outboundSchema` instead. */
|
|
652
|
-
const outboundSchema: z.ZodType<string, z.ZodTypeDef,
|
|
480
|
+
const outboundSchema: z.ZodType<string, z.ZodTypeDef, GenerateOrderUnion>;
|
|
653
481
|
/** @deprecated use `GenerateOrderUnion$Outbound` instead. */
|
|
654
482
|
type Outbound = GenerateOrderUnion$Outbound;
|
|
655
483
|
}
|
|
656
484
|
export declare function generateOrderUnionToJSON(generateOrderUnion: GenerateOrderUnion): string;
|
|
657
485
|
export declare function generateOrderUnionFromJSON(jsonString: string): SafeParseResult<GenerateOrderUnion, SDKValidationError>;
|
|
658
486
|
/** @internal */
|
|
659
|
-
export declare const GenerateOnlyEnum$inboundSchema: z.
|
|
487
|
+
export declare const GenerateOnlyEnum$inboundSchema: z.ZodType<GenerateOnlyEnum, z.ZodTypeDef, unknown>;
|
|
660
488
|
/** @internal */
|
|
661
|
-
export declare const GenerateOnlyEnum$outboundSchema: z.
|
|
489
|
+
export declare const GenerateOnlyEnum$outboundSchema: z.ZodType<GenerateOnlyEnum, z.ZodTypeDef, GenerateOnlyEnum>;
|
|
662
490
|
/**
|
|
663
491
|
* @internal
|
|
664
492
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
665
493
|
*/
|
|
666
494
|
export declare namespace GenerateOnlyEnum$ {
|
|
667
495
|
/** @deprecated use `GenerateOnlyEnum$inboundSchema` instead. */
|
|
668
|
-
const inboundSchema: z.
|
|
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
|
-
}>;
|
|
496
|
+
const inboundSchema: z.ZodType<GenerateOnlyEnum, z.ZodTypeDef, unknown>;
|
|
752
497
|
/** @deprecated use `GenerateOnlyEnum$outboundSchema` instead. */
|
|
753
|
-
const outboundSchema: z.
|
|
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
|
-
}>;
|
|
498
|
+
const outboundSchema: z.ZodType<GenerateOnlyEnum, z.ZodTypeDef, GenerateOnlyEnum>;
|
|
837
499
|
}
|
|
838
500
|
/** @internal */
|
|
839
501
|
export declare const GenerateOnlyUnion$inboundSchema: z.ZodType<GenerateOnlyUnion, z.ZodTypeDef, unknown>;
|
|
@@ -847,193 +509,27 @@ export declare const GenerateOnlyUnion$outboundSchema: z.ZodType<GenerateOnlyUni
|
|
|
847
509
|
*/
|
|
848
510
|
export declare namespace GenerateOnlyUnion$ {
|
|
849
511
|
/** @deprecated use `GenerateOnlyUnion$inboundSchema` instead. */
|
|
850
|
-
const inboundSchema: z.ZodType<
|
|
512
|
+
const inboundSchema: z.ZodType<GenerateOnlyUnion, z.ZodTypeDef, unknown>;
|
|
851
513
|
/** @deprecated use `GenerateOnlyUnion$outboundSchema` instead. */
|
|
852
|
-
const outboundSchema: z.ZodType<string, z.ZodTypeDef,
|
|
514
|
+
const outboundSchema: z.ZodType<string, z.ZodTypeDef, GenerateOnlyUnion>;
|
|
853
515
|
/** @deprecated use `GenerateOnlyUnion$Outbound` instead. */
|
|
854
516
|
type Outbound = GenerateOnlyUnion$Outbound;
|
|
855
517
|
}
|
|
856
518
|
export declare function generateOnlyUnionToJSON(generateOnlyUnion: GenerateOnlyUnion): string;
|
|
857
519
|
export declare function generateOnlyUnionFromJSON(jsonString: string): SafeParseResult<GenerateOnlyUnion, SDKValidationError>;
|
|
858
520
|
/** @internal */
|
|
859
|
-
export declare const GenerateIgnoreEnum$inboundSchema: z.
|
|
521
|
+
export declare const GenerateIgnoreEnum$inboundSchema: z.ZodType<GenerateIgnoreEnum, z.ZodTypeDef, unknown>;
|
|
860
522
|
/** @internal */
|
|
861
|
-
export declare const GenerateIgnoreEnum$outboundSchema: z.
|
|
523
|
+
export declare const GenerateIgnoreEnum$outboundSchema: z.ZodType<GenerateIgnoreEnum, z.ZodTypeDef, GenerateIgnoreEnum>;
|
|
862
524
|
/**
|
|
863
525
|
* @internal
|
|
864
526
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
865
527
|
*/
|
|
866
528
|
export declare namespace GenerateIgnoreEnum$ {
|
|
867
529
|
/** @deprecated use `GenerateIgnoreEnum$inboundSchema` instead. */
|
|
868
|
-
const inboundSchema: z.
|
|
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
|
-
}>;
|
|
530
|
+
const inboundSchema: z.ZodType<GenerateIgnoreEnum, z.ZodTypeDef, unknown>;
|
|
952
531
|
/** @deprecated use `GenerateIgnoreEnum$outboundSchema` instead. */
|
|
953
|
-
const outboundSchema: z.
|
|
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
|
-
}>;
|
|
532
|
+
const outboundSchema: z.ZodType<GenerateIgnoreEnum, z.ZodTypeDef, GenerateIgnoreEnum>;
|
|
1037
533
|
}
|
|
1038
534
|
/** @internal */
|
|
1039
535
|
export declare const GenerateIgnoreUnion$inboundSchema: z.ZodType<GenerateIgnoreUnion, z.ZodTypeDef, unknown>;
|
|
@@ -1047,69 +543,41 @@ export declare const GenerateIgnoreUnion$outboundSchema: z.ZodType<GenerateIgnor
|
|
|
1047
543
|
*/
|
|
1048
544
|
export declare namespace GenerateIgnoreUnion$ {
|
|
1049
545
|
/** @deprecated use `GenerateIgnoreUnion$inboundSchema` instead. */
|
|
1050
|
-
const inboundSchema: z.ZodType<
|
|
546
|
+
const inboundSchema: z.ZodType<GenerateIgnoreUnion, z.ZodTypeDef, unknown>;
|
|
1051
547
|
/** @deprecated use `GenerateIgnoreUnion$outboundSchema` instead. */
|
|
1052
|
-
const outboundSchema: z.ZodType<string, z.ZodTypeDef,
|
|
548
|
+
const outboundSchema: z.ZodType<string, z.ZodTypeDef, GenerateIgnoreUnion>;
|
|
1053
549
|
/** @deprecated use `GenerateIgnoreUnion$Outbound` instead. */
|
|
1054
550
|
type Outbound = GenerateIgnoreUnion$Outbound;
|
|
1055
551
|
}
|
|
1056
552
|
export declare function generateIgnoreUnionToJSON(generateIgnoreUnion: GenerateIgnoreUnion): string;
|
|
1057
553
|
export declare function generateIgnoreUnionFromJSON(jsonString: string): SafeParseResult<GenerateIgnoreUnion, SDKValidationError>;
|
|
1058
554
|
/** @internal */
|
|
1059
|
-
export declare const GenerateQuantization$inboundSchema: z.
|
|
555
|
+
export declare const GenerateQuantization$inboundSchema: z.ZodType<GenerateQuantization, z.ZodTypeDef, unknown>;
|
|
1060
556
|
/** @internal */
|
|
1061
|
-
export declare const GenerateQuantization$outboundSchema: z.
|
|
557
|
+
export declare const GenerateQuantization$outboundSchema: z.ZodType<GenerateQuantization, z.ZodTypeDef, GenerateQuantization>;
|
|
1062
558
|
/**
|
|
1063
559
|
* @internal
|
|
1064
560
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1065
561
|
*/
|
|
1066
562
|
export declare namespace GenerateQuantization$ {
|
|
1067
563
|
/** @deprecated use `GenerateQuantization$inboundSchema` instead. */
|
|
1068
|
-
const inboundSchema: z.
|
|
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
|
-
}>;
|
|
564
|
+
const inboundSchema: z.ZodType<GenerateQuantization, z.ZodTypeDef, unknown>;
|
|
1079
565
|
/** @deprecated use `GenerateQuantization$outboundSchema` instead. */
|
|
1080
|
-
const outboundSchema: z.
|
|
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
|
-
}>;
|
|
566
|
+
const outboundSchema: z.ZodType<GenerateQuantization, z.ZodTypeDef, GenerateQuantization>;
|
|
1091
567
|
}
|
|
1092
568
|
/** @internal */
|
|
1093
|
-
export declare const GenerateSort$inboundSchema: z.
|
|
569
|
+
export declare const GenerateSort$inboundSchema: z.ZodType<GenerateSort, z.ZodTypeDef, unknown>;
|
|
1094
570
|
/** @internal */
|
|
1095
|
-
export declare const GenerateSort$outboundSchema: z.
|
|
571
|
+
export declare const GenerateSort$outboundSchema: z.ZodType<GenerateSort, z.ZodTypeDef, GenerateSort>;
|
|
1096
572
|
/**
|
|
1097
573
|
* @internal
|
|
1098
574
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1099
575
|
*/
|
|
1100
576
|
export declare namespace GenerateSort$ {
|
|
1101
577
|
/** @deprecated use `GenerateSort$inboundSchema` instead. */
|
|
1102
|
-
const inboundSchema: z.
|
|
1103
|
-
readonly Price: "price";
|
|
1104
|
-
readonly Throughput: "throughput";
|
|
1105
|
-
readonly Latency: "latency";
|
|
1106
|
-
}>;
|
|
578
|
+
const inboundSchema: z.ZodType<GenerateSort, z.ZodTypeDef, unknown>;
|
|
1107
579
|
/** @deprecated use `GenerateSort$outboundSchema` instead. */
|
|
1108
|
-
const outboundSchema: z.
|
|
1109
|
-
readonly Price: "price";
|
|
1110
|
-
readonly Throughput: "throughput";
|
|
1111
|
-
readonly Latency: "latency";
|
|
1112
|
-
}>;
|
|
580
|
+
const outboundSchema: z.ZodType<GenerateSort, z.ZodTypeDef, GenerateSort>;
|
|
1113
581
|
}
|
|
1114
582
|
/** @internal */
|
|
1115
583
|
export declare const GeneratePrompt$inboundSchema: z.ZodType<GeneratePrompt, z.ZodTypeDef, unknown>;
|