@openrouter/sdk 0.1.2 → 0.1.3
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/esm/funcs/modelsListEmbeddings.d.ts +18 -0
- package/esm/funcs/modelsListEmbeddings.js +72 -0
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/models/activityitem.d.ts +0 -29
- package/esm/models/activityitem.js +0 -38
- package/esm/models/assistantmessage.d.ts +0 -24
- package/esm/models/assistantmessage.js +0 -22
- package/esm/models/badgatewayresponseerrordata.d.ts +0 -23
- package/esm/models/badgatewayresponseerrordata.js +0 -20
- package/esm/models/badrequestresponseerrordata.d.ts +0 -23
- package/esm/models/badrequestresponseerrordata.js +0 -20
- package/esm/models/chatcompletionfinishreason.d.ts +0 -12
- package/esm/models/chatcompletionfinishreason.js +1 -17
- package/esm/models/chaterror.d.ts +0 -39
- package/esm/models/chaterror.js +0 -40
- package/esm/models/chatgenerationparams.d.ts +3 -122
- package/esm/models/chatgenerationparams.js +7 -195
- package/esm/models/chatgenerationtokenusage.d.ts +5 -70
- package/esm/models/chatgenerationtokenusage.js +5 -89
- package/esm/models/chatmessagecontentitem.d.ts +5 -12
- package/esm/models/chatmessagecontentitem.js +7 -11
- package/esm/models/chatmessagecontentitemaudio.d.ts +0 -34
- package/esm/models/chatmessagecontentitemaudio.js +0 -33
- package/esm/models/chatmessagecontentitemimage.d.ts +0 -34
- package/esm/models/chatmessagecontentitemimage.js +0 -33
- package/esm/models/chatmessagecontentitemtext.d.ts +0 -12
- package/esm/models/chatmessagecontentitemtext.js +0 -11
- package/esm/models/chatmessagecontentitemvideo.d.ts +32 -0
- package/esm/models/chatmessagecontentitemvideo.js +46 -0
- package/esm/models/chatmessagetokenlogprob.d.ts +0 -43
- package/esm/models/chatmessagetokenlogprob.js +0 -45
- package/esm/models/chatmessagetokenlogprobs.d.ts +1 -21
- package/esm/models/chatmessagetokenlogprobs.js +1 -20
- package/esm/models/chatmessagetoolcall.d.ts +0 -24
- package/esm/models/chatmessagetoolcall.js +0 -22
- package/esm/models/chatresponse.d.ts +2 -27
- package/esm/models/chatresponse.js +2 -30
- package/esm/models/chatresponsechoice.d.ts +2 -24
- package/esm/models/chatresponsechoice.js +3 -28
- package/esm/models/chatstreamingchoice.d.ts +2 -24
- package/esm/models/chatstreamingchoice.js +3 -28
- package/esm/models/chatstreamingmessagechunk.d.ts +1 -40
- package/esm/models/chatstreamingmessagechunk.js +1 -40
- package/esm/models/chatstreamingmessagetoolcall.d.ts +0 -42
- package/esm/models/chatstreamingmessagetoolcall.js +0 -41
- package/esm/models/chatstreamingresponsechunk.d.ts +2 -67
- package/esm/models/chatstreamingresponsechunk.js +2 -69
- package/esm/models/chatstreamoptions.d.ts +0 -17
- package/esm/models/chatstreamoptions.js +0 -23
- package/esm/models/completionchoice.d.ts +1 -35
- package/esm/models/completionchoice.js +2 -43
- package/esm/models/completioncreateparams.d.ts +0 -122
- package/esm/models/completioncreateparams.js +2 -200
- package/esm/models/completionlogprobs.d.ts +0 -24
- package/esm/models/completionlogprobs.js +0 -27
- package/esm/models/completionresponse.d.ts +2 -27
- package/esm/models/completionresponse.js +2 -30
- package/esm/models/completionusage.d.ts +0 -21
- package/esm/models/completionusage.js +0 -26
- package/esm/models/createchargerequest.d.ts +0 -29
- package/esm/models/createchargerequest.js +0 -43
- package/esm/models/defaultparameters.d.ts +0 -21
- package/esm/models/defaultparameters.js +0 -25
- package/esm/models/edgenetworktimeoutresponseerrordata.d.ts +0 -23
- package/esm/models/edgenetworktimeoutresponseerrordata.js +0 -20
- package/esm/models/endpointstatus.d.ts +0 -12
- package/esm/models/endpointstatus.js +1 -17
- package/esm/models/errors/badgatewayresponseerror.d.ts +0 -19
- package/esm/models/errors/badgatewayresponseerror.js +0 -22
- package/esm/models/errors/badrequestresponseerror.d.ts +0 -19
- package/esm/models/errors/badrequestresponseerror.js +0 -22
- package/esm/models/errors/chaterror.d.ts +0 -18
- package/esm/models/errors/chaterror.js +0 -17
- package/esm/models/errors/edgenetworktimeoutresponseerror.d.ts +0 -19
- package/esm/models/errors/edgenetworktimeoutresponseerror.js +0 -22
- package/esm/models/errors/forbiddenresponseerror.d.ts +0 -19
- package/esm/models/errors/forbiddenresponseerror.js +0 -22
- package/esm/models/errors/internalserverresponseerror.d.ts +0 -19
- package/esm/models/errors/internalserverresponseerror.js +0 -22
- package/esm/models/errors/notfoundresponseerror.d.ts +0 -19
- package/esm/models/errors/notfoundresponseerror.js +0 -22
- package/esm/models/errors/payloadtoolargeresponseerror.d.ts +0 -19
- package/esm/models/errors/payloadtoolargeresponseerror.js +0 -22
- package/esm/models/errors/paymentrequiredresponseerror.d.ts +0 -19
- package/esm/models/errors/paymentrequiredresponseerror.js +0 -22
- package/esm/models/errors/provideroverloadedresponseerror.d.ts +0 -19
- package/esm/models/errors/provideroverloadedresponseerror.js +0 -22
- package/esm/models/errors/requesttimeoutresponseerror.d.ts +0 -19
- package/esm/models/errors/requesttimeoutresponseerror.js +0 -22
- package/esm/models/errors/serviceunavailableresponseerror.d.ts +0 -19
- package/esm/models/errors/serviceunavailableresponseerror.js +0 -22
- package/esm/models/errors/toomanyrequestsresponseerror.d.ts +0 -19
- package/esm/models/errors/toomanyrequestsresponseerror.js +0 -22
- package/esm/models/errors/unauthorizedresponseerror.d.ts +0 -19
- package/esm/models/errors/unauthorizedresponseerror.js +0 -22
- package/esm/models/errors/unprocessableentityresponseerror.d.ts +0 -19
- package/esm/models/errors/unprocessableentityresponseerror.js +0 -22
- package/esm/models/filecitation.d.ts +0 -26
- package/esm/models/filecitation.js +0 -22
- package/esm/models/filepath.d.ts +0 -26
- package/esm/models/filepath.js +0 -22
- package/esm/models/forbiddenresponseerrordata.d.ts +0 -23
- package/esm/models/forbiddenresponseerrordata.js +0 -20
- package/esm/models/imagegenerationstatus.d.ts +0 -10
- package/esm/models/imagegenerationstatus.js +0 -11
- package/esm/models/index.d.ts +2 -1
- package/esm/models/index.js +2 -1
- package/esm/models/inputmodality.d.ts +0 -12
- package/esm/models/inputmodality.js +1 -17
- package/esm/models/instructtype.d.ts +0 -12
- package/esm/models/instructtype.js +1 -17
- package/esm/models/internalserverresponseerrordata.d.ts +0 -23
- package/esm/models/internalserverresponseerrordata.js +0 -20
- package/esm/models/jsonschemaconfig.d.ts +0 -17
- package/esm/models/jsonschemaconfig.js +0 -22
- package/esm/models/listendpointsresponse.d.ts +1 -60
- package/esm/models/listendpointsresponse.js +5 -73
- package/esm/models/message.d.ts +0 -47
- package/esm/models/message.js +5 -67
- package/esm/models/model.d.ts +5 -36
- package/esm/models/model.js +6 -46
- package/esm/models/modelarchitecture.d.ts +0 -35
- package/esm/models/modelarchitecture.js +4 -49
- package/esm/models/modelgroup.d.ts +0 -12
- package/esm/models/modelgroup.js +1 -18
- package/esm/models/modelscountresponse.d.ts +0 -38
- package/esm/models/modelscountresponse.js +0 -36
- package/esm/models/modelslistresponse.d.ts +1 -20
- package/esm/models/modelslistresponse.js +1 -19
- package/esm/models/namedtoolchoice.d.ts +0 -32
- package/esm/models/namedtoolchoice.js +0 -38
- package/esm/models/notfoundresponseerrordata.d.ts +0 -23
- package/esm/models/notfoundresponseerrordata.js +0 -20
- package/esm/models/openairesponsesannotation.d.ts +0 -12
- package/esm/models/openairesponsesannotation.js +0 -11
- package/esm/models/openairesponsesincludable.d.ts +0 -12
- package/esm/models/openairesponsesincludable.js +0 -18
- package/esm/models/openairesponsesincompletedetails.d.ts +0 -31
- package/esm/models/openairesponsesincompletedetails.js +1 -35
- package/esm/models/openairesponsesinputunion.d.ts +6 -431
- package/esm/models/openairesponsesinputunion.js +7 -463
- package/esm/models/openairesponsesprompt.d.ts +0 -24
- package/esm/models/openairesponsesprompt.js +0 -22
- package/esm/models/openairesponsesreasoningconfig.d.ts +0 -20
- package/esm/models/openairesponsesreasoningconfig.js +2 -21
- package/esm/models/openairesponsesreasoningeffort.d.ts +0 -10
- package/esm/models/openairesponsesreasoningeffort.js +0 -11
- package/esm/models/openairesponsesrefusalcontent.d.ts +0 -26
- package/esm/models/openairesponsesrefusalcontent.js +0 -22
- package/esm/models/openairesponsesresponsestatus.d.ts +0 -12
- package/esm/models/openairesponsesresponsestatus.js +1 -17
- package/esm/models/openairesponsesservicetier.d.ts +0 -12
- package/esm/models/openairesponsesservicetier.js +1 -17
- package/esm/models/openairesponsestoolchoiceunion.d.ts +0 -132
- package/esm/models/openairesponsestoolchoiceunion.js +0 -110
- package/esm/models/openairesponsestruncation.d.ts +0 -12
- package/esm/models/openairesponsestruncation.js +1 -17
- package/esm/models/openresponseseasyinputmessage.d.ts +0 -142
- package/esm/models/openresponseseasyinputmessage.js +9 -198
- package/esm/models/openresponseserrorevent.d.ts +0 -39
- package/esm/models/openresponseserrorevent.js +0 -39
- package/esm/models/openresponsesfunctioncalloutput.d.ts +0 -33
- package/esm/models/openresponsesfunctioncalloutput.js +2 -42
- package/esm/models/openresponsesfunctiontoolcall.d.ts +0 -33
- package/esm/models/openresponsesfunctiontoolcall.js +2 -43
- package/esm/models/openresponsesimagegencallcompleted.d.ts +0 -38
- package/esm/models/openresponsesimagegencallcompleted.js +0 -40
- package/esm/models/openresponsesimagegencallgenerating.d.ts +0 -38
- package/esm/models/openresponsesimagegencallgenerating.js +0 -40
- package/esm/models/openresponsesimagegencallinprogress.d.ts +0 -38
- package/esm/models/openresponsesimagegencallinprogress.js +0 -40
- package/esm/models/openresponsesimagegencallpartialimage.d.ts +0 -40
- package/esm/models/openresponsesimagegencallpartialimage.js +0 -44
- package/esm/models/openresponsesinput.d.ts +0 -32
- package/esm/models/openresponsesinput.js +11 -71
- package/esm/models/openresponsesinputmessageitem.d.ts +0 -111
- package/esm/models/openresponsesinputmessageitem.js +8 -148
- package/esm/models/openresponseslogprobs.d.ts +1 -22
- package/esm/models/openresponseslogprobs.js +1 -25
- package/esm/models/openresponsesnonstreamingresponse.d.ts +13 -138
- package/esm/models/openresponsesnonstreamingresponse.js +16 -157
- package/esm/models/openresponsesreasoning.d.ts +0 -108
- package/esm/models/openresponsesreasoning.js +6 -130
- package/esm/models/openresponsesreasoningconfig.d.ts +0 -17
- package/esm/models/openresponsesreasoningconfig.js +2 -28
- package/esm/models/openresponsesreasoningdeltaevent.d.ts +0 -40
- package/esm/models/openresponsesreasoningdeltaevent.js +0 -43
- package/esm/models/openresponsesreasoningdoneevent.d.ts +0 -40
- package/esm/models/openresponsesreasoningdoneevent.js +0 -43
- package/esm/models/openresponsesreasoningsummarypartaddedevent.d.ts +1 -41
- package/esm/models/openresponsesreasoningsummarypartaddedevent.js +1 -44
- package/esm/models/openresponsesreasoningsummarytextdeltaevent.d.ts +0 -40
- package/esm/models/openresponsesreasoningsummarytextdeltaevent.js +0 -43
- package/esm/models/openresponsesreasoningsummarytextdoneevent.d.ts +0 -40
- package/esm/models/openresponsesreasoningsummarytextdoneevent.js +0 -43
- package/esm/models/openresponsesrequest.d.ts +0 -348
- package/esm/models/openresponsesrequest.js +16 -523
- package/esm/models/openresponsesresponsetext.d.ts +0 -29
- package/esm/models/openresponsesresponsetext.js +1 -40
- package/esm/models/openresponsesstreamevent.d.ts +18 -732
- package/esm/models/openresponsesstreamevent.js +18 -808
- package/esm/models/openresponsestoplogprobs.d.ts +0 -20
- package/esm/models/openresponsestoplogprobs.js +0 -19
- package/esm/models/openresponsesusage.d.ts +0 -85
- package/esm/models/openresponsesusage.js +0 -105
- package/esm/models/openresponseswebsearch20250826tool.d.ts +0 -38
- package/esm/models/openresponseswebsearch20250826tool.js +0 -33
- package/esm/models/openresponseswebsearchpreview20250311tool.d.ts +0 -26
- package/esm/models/openresponseswebsearchpreview20250311tool.js +0 -22
- package/esm/models/openresponseswebsearchpreviewtool.d.ts +0 -26
- package/esm/models/openresponseswebsearchpreviewtool.js +0 -22
- package/esm/models/openresponseswebsearchtool.d.ts +0 -38
- package/esm/models/openresponseswebsearchtool.js +0 -33
- package/esm/models/operations/createauthkeyscode.d.ts +0 -67
- package/esm/models/operations/createauthkeyscode.js +0 -89
- package/esm/models/operations/createcoinbasecharge.d.ts +0 -144
- package/esm/models/operations/createcoinbasecharge.js +0 -170
- package/esm/models/operations/createembeddings.d.ts +0 -322
- package/esm/models/operations/createembeddings.js +2 -397
- package/esm/models/operations/createkeys.d.ts +0 -83
- package/esm/models/operations/createkeys.js +0 -113
- package/esm/models/operations/createresponses.d.ts +0 -36
- package/esm/models/operations/createresponses.js +0 -37
- package/esm/models/operations/deletekeys.d.ts +0 -34
- package/esm/models/operations/deletekeys.js +0 -36
- package/esm/models/operations/exchangeauthcodeforapikey.d.ts +0 -47
- package/esm/models/operations/exchangeauthcodeforapikey.js +0 -66
- package/esm/models/operations/getcredits.d.ts +0 -17
- package/esm/models/operations/getcredits.js +0 -16
- package/esm/models/operations/getcurrentkey.d.ts +0 -74
- package/esm/models/operations/getcurrentkey.js +0 -87
- package/esm/models/operations/getgeneration.d.ts +0 -101
- package/esm/models/operations/getgeneration.js +1 -134
- package/esm/models/operations/getkey.d.ts +0 -70
- package/esm/models/operations/getkey.js +0 -87
- package/esm/models/operations/getmodels.d.ts +0 -17
- package/esm/models/operations/getmodels.js +0 -24
- package/esm/models/operations/getparameters.d.ts +0 -93
- package/esm/models/operations/getparameters.js +0 -112
- package/esm/models/operations/getuseractivity.d.ts +0 -34
- package/esm/models/operations/getuseractivity.js +0 -36
- package/esm/models/operations/list.d.ts +0 -70
- package/esm/models/operations/list.js +0 -93
- package/esm/models/operations/listendpoints.d.ts +0 -34
- package/esm/models/operations/listendpoints.js +0 -37
- package/esm/models/operations/listendpointszdr.d.ts +0 -19
- package/esm/models/operations/listendpointszdr.js +0 -18
- package/esm/models/operations/listmodelsuser.d.ts +0 -17
- package/esm/models/operations/listmodelsuser.js +0 -19
- package/esm/models/operations/listproviders.d.ts +0 -42
- package/esm/models/operations/listproviders.js +0 -46
- package/esm/models/operations/sendchatcompletionrequest.d.ts +0 -17
- package/esm/models/operations/sendchatcompletionrequest.js +0 -16
- package/esm/models/operations/updatekeys.d.ts +0 -97
- package/esm/models/operations/updatekeys.js +0 -136
- package/esm/models/outputitemimagegenerationcall.d.ts +0 -38
- package/esm/models/outputitemimagegenerationcall.js +1 -35
- package/esm/models/outputmessage.d.ts +2 -139
- package/esm/models/outputmessage.js +2 -135
- package/esm/models/outputmodality.d.ts +0 -12
- package/esm/models/outputmodality.js +1 -17
- package/esm/models/parameter.d.ts +0 -12
- package/esm/models/parameter.js +1 -18
- package/esm/models/payloadtoolargeresponseerrordata.d.ts +0 -23
- package/esm/models/payloadtoolargeresponseerrordata.js +0 -20
- package/esm/models/paymentrequiredresponseerrordata.d.ts +0 -23
- package/esm/models/paymentrequiredresponseerrordata.js +0 -20
- package/esm/models/perrequestlimits.d.ts +0 -20
- package/esm/models/perrequestlimits.js +0 -24
- package/esm/models/providername.d.ts +0 -10
- package/esm/models/providername.js +0 -11
- package/esm/models/provideroverloadedresponseerrordata.d.ts +0 -23
- package/esm/models/provideroverloadedresponseerrordata.js +0 -20
- package/esm/models/publicendpoint.d.ts +0 -73
- package/esm/models/publicendpoint.js +4 -100
- package/esm/models/publicpricing.d.ts +0 -30
- package/esm/models/publicpricing.js +0 -38
- package/esm/models/quantization.d.ts +0 -12
- package/esm/models/quantization.js +0 -18
- package/esm/models/reasoningsummarytext.d.ts +0 -26
- package/esm/models/reasoningsummarytext.js +0 -22
- package/esm/models/reasoningsummaryverbosity.d.ts +0 -10
- package/esm/models/reasoningsummaryverbosity.js +0 -11
- package/esm/models/reasoningtextcontent.d.ts +0 -26
- package/esm/models/reasoningtextcontent.js +0 -22
- package/esm/models/requesttimeoutresponseerrordata.d.ts +0 -23
- package/esm/models/requesttimeoutresponseerrordata.js +0 -20
- package/esm/models/responseformatjsonschema.d.ts +0 -17
- package/esm/models/responseformatjsonschema.js +1 -25
- package/esm/models/responseformattextconfig.d.ts +0 -12
- package/esm/models/responseformattextconfig.js +0 -11
- package/esm/models/responseformattextgrammar.d.ts +0 -17
- package/esm/models/responseformattextgrammar.js +0 -20
- package/esm/models/responseinputaudio.d.ts +0 -48
- package/esm/models/responseinputaudio.js +0 -44
- package/esm/models/responseinputfile.d.ts +0 -26
- package/esm/models/responseinputfile.js +0 -22
- package/esm/models/responseinputimage.d.ts +0 -36
- package/esm/models/responseinputimage.js +0 -33
- package/esm/models/responseinputtext.d.ts +0 -26
- package/esm/models/responseinputtext.js +0 -22
- package/esm/models/responseoutputtext.d.ts +0 -26
- package/esm/models/responseoutputtext.js +0 -22
- package/esm/models/responseserrorfield.d.ts +0 -32
- package/esm/models/responseserrorfield.js +1 -36
- package/esm/models/responsesformatjsonobject.d.ts +0 -26
- package/esm/models/responsesformatjsonobject.js +0 -22
- package/esm/models/responsesformattext.d.ts +0 -26
- package/esm/models/responsesformattext.js +0 -22
- package/esm/models/responsesformattextjsonschemaconfig.d.ts +0 -26
- package/esm/models/responsesformattextjsonschemaconfig.js +0 -22
- package/esm/models/responsesimagegenerationcall.d.ts +0 -26
- package/esm/models/responsesimagegenerationcall.js +0 -22
- package/esm/models/responsesoutputitem.d.ts +6 -23
- package/esm/models/responsesoutputitem.js +6 -29
- package/esm/models/responsesoutputitemfilesearchcall.d.ts +0 -26
- package/esm/models/responsesoutputitemfilesearchcall.js +0 -22
- package/esm/models/responsesoutputitemfunctioncall.d.ts +0 -80
- package/esm/models/responsesoutputitemfunctioncall.js +0 -66
- package/esm/models/responsesoutputitemreasoning.d.ts +0 -80
- package/esm/models/responsesoutputitemreasoning.js +0 -66
- package/esm/models/responsesoutputmessage.d.ts +0 -106
- package/esm/models/responsesoutputmessage.js +0 -88
- package/esm/models/responsessearchcontextsize.d.ts +0 -10
- package/esm/models/responsessearchcontextsize.js +0 -11
- package/esm/models/responseswebsearchcalloutput.d.ts +0 -26
- package/esm/models/responseswebsearchcalloutput.js +0 -22
- package/esm/models/responseswebsearchuserlocation.d.ts +0 -26
- package/esm/models/responseswebsearchuserlocation.js +0 -22
- package/esm/models/responsetextconfig.d.ts +1 -33
- package/esm/models/responsetextconfig.js +2 -37
- package/esm/models/security.d.ts +0 -17
- package/esm/models/security.js +0 -19
- package/esm/models/serviceunavailableresponseerrordata.d.ts +0 -23
- package/esm/models/serviceunavailableresponseerrordata.js +0 -20
- package/esm/models/systemmessage.d.ts +0 -32
- package/esm/models/systemmessage.js +1 -42
- package/esm/models/toolcallstatus.d.ts +0 -10
- package/esm/models/toolcallstatus.js +0 -11
- package/esm/models/tooldefinitionjson.d.ts +34 -0
- package/esm/models/tooldefinitionjson.js +23 -0
- package/esm/models/toolresponsemessage.d.ts +0 -32
- package/esm/models/toolresponsemessage.js +1 -42
- package/esm/models/toomanyrequestsresponseerrordata.d.ts +0 -23
- package/esm/models/toomanyrequestsresponseerrordata.js +0 -20
- package/esm/models/topproviderinfo.d.ts +0 -21
- package/esm/models/topproviderinfo.js +0 -26
- package/esm/models/unauthorizedresponseerrordata.d.ts +0 -23
- package/esm/models/unauthorizedresponseerrordata.js +0 -20
- package/esm/models/unprocessableentityresponseerrordata.d.ts +0 -23
- package/esm/models/unprocessableentityresponseerrordata.js +0 -20
- package/esm/models/urlcitation.d.ts +0 -26
- package/esm/models/urlcitation.js +0 -22
- package/esm/models/usermessage.d.ts +0 -32
- package/esm/models/usermessage.js +1 -42
- package/esm/models/websearchpreviewtooluserlocation.d.ts +0 -26
- package/esm/models/websearchpreviewtooluserlocation.js +0 -22
- package/esm/models/websearchstatus.d.ts +0 -10
- package/esm/models/websearchstatus.js +0 -11
- package/esm/react-query/index.d.ts +1 -0
- package/esm/react-query/index.js +1 -0
- package/esm/react-query/modelsListEmbeddings.d.ts +29 -0
- package/esm/react-query/modelsListEmbeddings.js +66 -0
- package/esm/sdk/models.d.ts +7 -0
- package/esm/sdk/models.js +10 -0
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/esm/models/tool.d.ts +0 -66
- package/esm/models/tool.js +0 -65
|
@@ -11,17 +11,6 @@ export const ResponseInputFileType = {
|
|
|
11
11
|
export const ResponseInputFileType$inboundSchema = z.enum(ResponseInputFileType);
|
|
12
12
|
/** @internal */
|
|
13
13
|
export const ResponseInputFileType$outboundSchema = ResponseInputFileType$inboundSchema;
|
|
14
|
-
/**
|
|
15
|
-
* @internal
|
|
16
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
17
|
-
*/
|
|
18
|
-
export var ResponseInputFileType$;
|
|
19
|
-
(function (ResponseInputFileType$) {
|
|
20
|
-
/** @deprecated use `ResponseInputFileType$inboundSchema` instead. */
|
|
21
|
-
ResponseInputFileType$.inboundSchema = ResponseInputFileType$inboundSchema;
|
|
22
|
-
/** @deprecated use `ResponseInputFileType$outboundSchema` instead. */
|
|
23
|
-
ResponseInputFileType$.outboundSchema = ResponseInputFileType$outboundSchema;
|
|
24
|
-
})(ResponseInputFileType$ || (ResponseInputFileType$ = {}));
|
|
25
14
|
/** @internal */
|
|
26
15
|
export const ResponseInputFile$inboundSchema = z.object({
|
|
27
16
|
type: ResponseInputFileType$inboundSchema,
|
|
@@ -50,17 +39,6 @@ export const ResponseInputFile$outboundSchema = z.object({
|
|
|
50
39
|
fileUrl: "file_url",
|
|
51
40
|
});
|
|
52
41
|
});
|
|
53
|
-
/**
|
|
54
|
-
* @internal
|
|
55
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
56
|
-
*/
|
|
57
|
-
export var ResponseInputFile$;
|
|
58
|
-
(function (ResponseInputFile$) {
|
|
59
|
-
/** @deprecated use `ResponseInputFile$inboundSchema` instead. */
|
|
60
|
-
ResponseInputFile$.inboundSchema = ResponseInputFile$inboundSchema;
|
|
61
|
-
/** @deprecated use `ResponseInputFile$outboundSchema` instead. */
|
|
62
|
-
ResponseInputFile$.outboundSchema = ResponseInputFile$outboundSchema;
|
|
63
|
-
})(ResponseInputFile$ || (ResponseInputFile$ = {}));
|
|
64
42
|
export function responseInputFileToJSON(responseInputFile) {
|
|
65
43
|
return JSON.stringify(ResponseInputFile$outboundSchema.parse(responseInputFile));
|
|
66
44
|
}
|
|
@@ -24,34 +24,10 @@ export type ResponseInputImage = {
|
|
|
24
24
|
export declare const ResponseInputImageType$inboundSchema: z.ZodEnum<typeof ResponseInputImageType>;
|
|
25
25
|
/** @internal */
|
|
26
26
|
export declare const ResponseInputImageType$outboundSchema: z.ZodEnum<typeof ResponseInputImageType>;
|
|
27
|
-
/**
|
|
28
|
-
* @internal
|
|
29
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
30
|
-
*/
|
|
31
|
-
export declare namespace ResponseInputImageType$ {
|
|
32
|
-
/** @deprecated use `ResponseInputImageType$inboundSchema` instead. */
|
|
33
|
-
const inboundSchema: z.ZodEnum<{
|
|
34
|
-
readonly InputImage: "input_image";
|
|
35
|
-
}>;
|
|
36
|
-
/** @deprecated use `ResponseInputImageType$outboundSchema` instead. */
|
|
37
|
-
const outboundSchema: z.ZodEnum<{
|
|
38
|
-
readonly InputImage: "input_image";
|
|
39
|
-
}>;
|
|
40
|
-
}
|
|
41
27
|
/** @internal */
|
|
42
28
|
export declare const ResponseInputImageDetail$inboundSchema: z.ZodType<ResponseInputImageDetail, unknown>;
|
|
43
29
|
/** @internal */
|
|
44
30
|
export declare const ResponseInputImageDetail$outboundSchema: z.ZodType<ResponseInputImageDetail, ResponseInputImageDetail>;
|
|
45
|
-
/**
|
|
46
|
-
* @internal
|
|
47
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
48
|
-
*/
|
|
49
|
-
export declare namespace ResponseInputImageDetail$ {
|
|
50
|
-
/** @deprecated use `ResponseInputImageDetail$inboundSchema` instead. */
|
|
51
|
-
const inboundSchema: z.ZodType<ResponseInputImageDetail, unknown, z.core.$ZodTypeInternals<ResponseInputImageDetail, unknown>>;
|
|
52
|
-
/** @deprecated use `ResponseInputImageDetail$outboundSchema` instead. */
|
|
53
|
-
const outboundSchema: z.ZodType<ResponseInputImageDetail, ResponseInputImageDetail, z.core.$ZodTypeInternals<ResponseInputImageDetail, ResponseInputImageDetail>>;
|
|
54
|
-
}
|
|
55
31
|
/** @internal */
|
|
56
32
|
export declare const ResponseInputImage$inboundSchema: z.ZodType<ResponseInputImage, unknown>;
|
|
57
33
|
/** @internal */
|
|
@@ -62,18 +38,6 @@ export type ResponseInputImage$Outbound = {
|
|
|
62
38
|
};
|
|
63
39
|
/** @internal */
|
|
64
40
|
export declare const ResponseInputImage$outboundSchema: z.ZodType<ResponseInputImage$Outbound, ResponseInputImage>;
|
|
65
|
-
/**
|
|
66
|
-
* @internal
|
|
67
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
68
|
-
*/
|
|
69
|
-
export declare namespace ResponseInputImage$ {
|
|
70
|
-
/** @deprecated use `ResponseInputImage$inboundSchema` instead. */
|
|
71
|
-
const inboundSchema: z.ZodType<ResponseInputImage, unknown, z.core.$ZodTypeInternals<ResponseInputImage, unknown>>;
|
|
72
|
-
/** @deprecated use `ResponseInputImage$outboundSchema` instead. */
|
|
73
|
-
const outboundSchema: z.ZodType<ResponseInputImage$Outbound, ResponseInputImage, z.core.$ZodTypeInternals<ResponseInputImage$Outbound, ResponseInputImage>>;
|
|
74
|
-
/** @deprecated use `ResponseInputImage$Outbound` instead. */
|
|
75
|
-
type Outbound = ResponseInputImage$Outbound;
|
|
76
|
-
}
|
|
77
41
|
export declare function responseInputImageToJSON(responseInputImage: ResponseInputImage): string;
|
|
78
42
|
export declare function responseInputImageFromJSON(jsonString: string): SafeParseResult<ResponseInputImage, SDKValidationError>;
|
|
79
43
|
//# sourceMappingURL=responseinputimage.d.ts.map
|
|
@@ -17,17 +17,6 @@ export const ResponseInputImageDetail = {
|
|
|
17
17
|
export const ResponseInputImageType$inboundSchema = z.enum(ResponseInputImageType);
|
|
18
18
|
/** @internal */
|
|
19
19
|
export const ResponseInputImageType$outboundSchema = ResponseInputImageType$inboundSchema;
|
|
20
|
-
/**
|
|
21
|
-
* @internal
|
|
22
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
23
|
-
*/
|
|
24
|
-
export var ResponseInputImageType$;
|
|
25
|
-
(function (ResponseInputImageType$) {
|
|
26
|
-
/** @deprecated use `ResponseInputImageType$inboundSchema` instead. */
|
|
27
|
-
ResponseInputImageType$.inboundSchema = ResponseInputImageType$inboundSchema;
|
|
28
|
-
/** @deprecated use `ResponseInputImageType$outboundSchema` instead. */
|
|
29
|
-
ResponseInputImageType$.outboundSchema = ResponseInputImageType$outboundSchema;
|
|
30
|
-
})(ResponseInputImageType$ || (ResponseInputImageType$ = {}));
|
|
31
20
|
/** @internal */
|
|
32
21
|
export const ResponseInputImageDetail$inboundSchema = z
|
|
33
22
|
.union([
|
|
@@ -39,17 +28,6 @@ export const ResponseInputImageDetail$outboundSchema = z.union([
|
|
|
39
28
|
z.enum(ResponseInputImageDetail),
|
|
40
29
|
z.string().and(z.custom()),
|
|
41
30
|
]);
|
|
42
|
-
/**
|
|
43
|
-
* @internal
|
|
44
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
45
|
-
*/
|
|
46
|
-
export var ResponseInputImageDetail$;
|
|
47
|
-
(function (ResponseInputImageDetail$) {
|
|
48
|
-
/** @deprecated use `ResponseInputImageDetail$inboundSchema` instead. */
|
|
49
|
-
ResponseInputImageDetail$.inboundSchema = ResponseInputImageDetail$inboundSchema;
|
|
50
|
-
/** @deprecated use `ResponseInputImageDetail$outboundSchema` instead. */
|
|
51
|
-
ResponseInputImageDetail$.outboundSchema = ResponseInputImageDetail$outboundSchema;
|
|
52
|
-
})(ResponseInputImageDetail$ || (ResponseInputImageDetail$ = {}));
|
|
53
31
|
/** @internal */
|
|
54
32
|
export const ResponseInputImage$inboundSchema = z.object({
|
|
55
33
|
type: ResponseInputImageType$inboundSchema,
|
|
@@ -70,17 +48,6 @@ export const ResponseInputImage$outboundSchema = z.object({
|
|
|
70
48
|
imageUrl: "image_url",
|
|
71
49
|
});
|
|
72
50
|
});
|
|
73
|
-
/**
|
|
74
|
-
* @internal
|
|
75
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
76
|
-
*/
|
|
77
|
-
export var ResponseInputImage$;
|
|
78
|
-
(function (ResponseInputImage$) {
|
|
79
|
-
/** @deprecated use `ResponseInputImage$inboundSchema` instead. */
|
|
80
|
-
ResponseInputImage$.inboundSchema = ResponseInputImage$inboundSchema;
|
|
81
|
-
/** @deprecated use `ResponseInputImage$outboundSchema` instead. */
|
|
82
|
-
ResponseInputImage$.outboundSchema = ResponseInputImage$outboundSchema;
|
|
83
|
-
})(ResponseInputImage$ || (ResponseInputImage$ = {}));
|
|
84
51
|
export function responseInputImageToJSON(responseInputImage) {
|
|
85
52
|
return JSON.stringify(ResponseInputImage$outboundSchema.parse(responseInputImage));
|
|
86
53
|
}
|
|
@@ -17,20 +17,6 @@ export type ResponseInputText = {
|
|
|
17
17
|
export declare const ResponseInputTextType$inboundSchema: z.ZodEnum<typeof ResponseInputTextType>;
|
|
18
18
|
/** @internal */
|
|
19
19
|
export declare const ResponseInputTextType$outboundSchema: z.ZodEnum<typeof ResponseInputTextType>;
|
|
20
|
-
/**
|
|
21
|
-
* @internal
|
|
22
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
23
|
-
*/
|
|
24
|
-
export declare namespace ResponseInputTextType$ {
|
|
25
|
-
/** @deprecated use `ResponseInputTextType$inboundSchema` instead. */
|
|
26
|
-
const inboundSchema: z.ZodEnum<{
|
|
27
|
-
readonly InputText: "input_text";
|
|
28
|
-
}>;
|
|
29
|
-
/** @deprecated use `ResponseInputTextType$outboundSchema` instead. */
|
|
30
|
-
const outboundSchema: z.ZodEnum<{
|
|
31
|
-
readonly InputText: "input_text";
|
|
32
|
-
}>;
|
|
33
|
-
}
|
|
34
20
|
/** @internal */
|
|
35
21
|
export declare const ResponseInputText$inboundSchema: z.ZodType<ResponseInputText, unknown>;
|
|
36
22
|
/** @internal */
|
|
@@ -40,18 +26,6 @@ export type ResponseInputText$Outbound = {
|
|
|
40
26
|
};
|
|
41
27
|
/** @internal */
|
|
42
28
|
export declare const ResponseInputText$outboundSchema: z.ZodType<ResponseInputText$Outbound, ResponseInputText>;
|
|
43
|
-
/**
|
|
44
|
-
* @internal
|
|
45
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
46
|
-
*/
|
|
47
|
-
export declare namespace ResponseInputText$ {
|
|
48
|
-
/** @deprecated use `ResponseInputText$inboundSchema` instead. */
|
|
49
|
-
const inboundSchema: z.ZodType<ResponseInputText, unknown, z.core.$ZodTypeInternals<ResponseInputText, unknown>>;
|
|
50
|
-
/** @deprecated use `ResponseInputText$outboundSchema` instead. */
|
|
51
|
-
const outboundSchema: z.ZodType<ResponseInputText$Outbound, ResponseInputText, z.core.$ZodTypeInternals<ResponseInputText$Outbound, ResponseInputText>>;
|
|
52
|
-
/** @deprecated use `ResponseInputText$Outbound` instead. */
|
|
53
|
-
type Outbound = ResponseInputText$Outbound;
|
|
54
|
-
}
|
|
55
29
|
export declare function responseInputTextToJSON(responseInputText: ResponseInputText): string;
|
|
56
30
|
export declare function responseInputTextFromJSON(jsonString: string): SafeParseResult<ResponseInputText, SDKValidationError>;
|
|
57
31
|
//# sourceMappingURL=responseinputtext.d.ts.map
|
|
@@ -10,17 +10,6 @@ export const ResponseInputTextType = {
|
|
|
10
10
|
export const ResponseInputTextType$inboundSchema = z.enum(ResponseInputTextType);
|
|
11
11
|
/** @internal */
|
|
12
12
|
export const ResponseInputTextType$outboundSchema = ResponseInputTextType$inboundSchema;
|
|
13
|
-
/**
|
|
14
|
-
* @internal
|
|
15
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
16
|
-
*/
|
|
17
|
-
export var ResponseInputTextType$;
|
|
18
|
-
(function (ResponseInputTextType$) {
|
|
19
|
-
/** @deprecated use `ResponseInputTextType$inboundSchema` instead. */
|
|
20
|
-
ResponseInputTextType$.inboundSchema = ResponseInputTextType$inboundSchema;
|
|
21
|
-
/** @deprecated use `ResponseInputTextType$outboundSchema` instead. */
|
|
22
|
-
ResponseInputTextType$.outboundSchema = ResponseInputTextType$outboundSchema;
|
|
23
|
-
})(ResponseInputTextType$ || (ResponseInputTextType$ = {}));
|
|
24
13
|
/** @internal */
|
|
25
14
|
export const ResponseInputText$inboundSchema = z.object({
|
|
26
15
|
type: ResponseInputTextType$inboundSchema,
|
|
@@ -31,17 +20,6 @@ export const ResponseInputText$outboundSchema = z.object({
|
|
|
31
20
|
type: ResponseInputTextType$outboundSchema,
|
|
32
21
|
text: z.string(),
|
|
33
22
|
});
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
37
|
-
*/
|
|
38
|
-
export var ResponseInputText$;
|
|
39
|
-
(function (ResponseInputText$) {
|
|
40
|
-
/** @deprecated use `ResponseInputText$inboundSchema` instead. */
|
|
41
|
-
ResponseInputText$.inboundSchema = ResponseInputText$inboundSchema;
|
|
42
|
-
/** @deprecated use `ResponseInputText$outboundSchema` instead. */
|
|
43
|
-
ResponseInputText$.outboundSchema = ResponseInputText$outboundSchema;
|
|
44
|
-
})(ResponseInputText$ || (ResponseInputText$ = {}));
|
|
45
23
|
export function responseInputTextToJSON(responseInputText) {
|
|
46
24
|
return JSON.stringify(ResponseInputText$outboundSchema.parse(responseInputText));
|
|
47
25
|
}
|
|
@@ -16,20 +16,6 @@ export type ResponseOutputText = {
|
|
|
16
16
|
export declare const ResponseOutputTextType$inboundSchema: z.ZodEnum<typeof ResponseOutputTextType>;
|
|
17
17
|
/** @internal */
|
|
18
18
|
export declare const ResponseOutputTextType$outboundSchema: z.ZodEnum<typeof ResponseOutputTextType>;
|
|
19
|
-
/**
|
|
20
|
-
* @internal
|
|
21
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
22
|
-
*/
|
|
23
|
-
export declare namespace ResponseOutputTextType$ {
|
|
24
|
-
/** @deprecated use `ResponseOutputTextType$inboundSchema` instead. */
|
|
25
|
-
const inboundSchema: z.ZodEnum<{
|
|
26
|
-
readonly OutputText: "output_text";
|
|
27
|
-
}>;
|
|
28
|
-
/** @deprecated use `ResponseOutputTextType$outboundSchema` instead. */
|
|
29
|
-
const outboundSchema: z.ZodEnum<{
|
|
30
|
-
readonly OutputText: "output_text";
|
|
31
|
-
}>;
|
|
32
|
-
}
|
|
33
19
|
/** @internal */
|
|
34
20
|
export declare const ResponseOutputText$inboundSchema: z.ZodType<ResponseOutputText, unknown>;
|
|
35
21
|
/** @internal */
|
|
@@ -40,18 +26,6 @@ export type ResponseOutputText$Outbound = {
|
|
|
40
26
|
};
|
|
41
27
|
/** @internal */
|
|
42
28
|
export declare const ResponseOutputText$outboundSchema: z.ZodType<ResponseOutputText$Outbound, ResponseOutputText>;
|
|
43
|
-
/**
|
|
44
|
-
* @internal
|
|
45
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
46
|
-
*/
|
|
47
|
-
export declare namespace ResponseOutputText$ {
|
|
48
|
-
/** @deprecated use `ResponseOutputText$inboundSchema` instead. */
|
|
49
|
-
const inboundSchema: z.ZodType<ResponseOutputText, unknown, z.core.$ZodTypeInternals<ResponseOutputText, unknown>>;
|
|
50
|
-
/** @deprecated use `ResponseOutputText$outboundSchema` instead. */
|
|
51
|
-
const outboundSchema: z.ZodType<ResponseOutputText$Outbound, ResponseOutputText, z.core.$ZodTypeInternals<ResponseOutputText$Outbound, ResponseOutputText>>;
|
|
52
|
-
/** @deprecated use `ResponseOutputText$Outbound` instead. */
|
|
53
|
-
type Outbound = ResponseOutputText$Outbound;
|
|
54
|
-
}
|
|
55
29
|
export declare function responseOutputTextToJSON(responseOutputText: ResponseOutputText): string;
|
|
56
30
|
export declare function responseOutputTextFromJSON(jsonString: string): SafeParseResult<ResponseOutputText, SDKValidationError>;
|
|
57
31
|
//# sourceMappingURL=responseoutputtext.d.ts.map
|
|
@@ -11,17 +11,6 @@ export const ResponseOutputTextType = {
|
|
|
11
11
|
export const ResponseOutputTextType$inboundSchema = z.enum(ResponseOutputTextType);
|
|
12
12
|
/** @internal */
|
|
13
13
|
export const ResponseOutputTextType$outboundSchema = ResponseOutputTextType$inboundSchema;
|
|
14
|
-
/**
|
|
15
|
-
* @internal
|
|
16
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
17
|
-
*/
|
|
18
|
-
export var ResponseOutputTextType$;
|
|
19
|
-
(function (ResponseOutputTextType$) {
|
|
20
|
-
/** @deprecated use `ResponseOutputTextType$inboundSchema` instead. */
|
|
21
|
-
ResponseOutputTextType$.inboundSchema = ResponseOutputTextType$inboundSchema;
|
|
22
|
-
/** @deprecated use `ResponseOutputTextType$outboundSchema` instead. */
|
|
23
|
-
ResponseOutputTextType$.outboundSchema = ResponseOutputTextType$outboundSchema;
|
|
24
|
-
})(ResponseOutputTextType$ || (ResponseOutputTextType$ = {}));
|
|
25
14
|
/** @internal */
|
|
26
15
|
export const ResponseOutputText$inboundSchema = z.object({
|
|
27
16
|
type: ResponseOutputTextType$inboundSchema,
|
|
@@ -34,17 +23,6 @@ export const ResponseOutputText$outboundSchema = z.object({
|
|
|
34
23
|
text: z.string(),
|
|
35
24
|
annotations: z.array(OpenAIResponsesAnnotation$outboundSchema).optional(),
|
|
36
25
|
});
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
40
|
-
*/
|
|
41
|
-
export var ResponseOutputText$;
|
|
42
|
-
(function (ResponseOutputText$) {
|
|
43
|
-
/** @deprecated use `ResponseOutputText$inboundSchema` instead. */
|
|
44
|
-
ResponseOutputText$.inboundSchema = ResponseOutputText$inboundSchema;
|
|
45
|
-
/** @deprecated use `ResponseOutputText$outboundSchema` instead. */
|
|
46
|
-
ResponseOutputText$.outboundSchema = ResponseOutputText$outboundSchema;
|
|
47
|
-
})(ResponseOutputText$ || (ResponseOutputText$ = {}));
|
|
48
26
|
export function responseOutputTextToJSON(responseOutputText) {
|
|
49
27
|
return JSON.stringify(ResponseOutputText$outboundSchema.parse(responseOutputText));
|
|
50
28
|
}
|
|
@@ -33,38 +33,6 @@ export type ResponsesErrorField = {
|
|
|
33
33
|
/** @internal */
|
|
34
34
|
export declare const CodeEnum$inboundSchema: z.ZodType<CodeEnum, unknown>;
|
|
35
35
|
/** @internal */
|
|
36
|
-
export declare const CodeEnum$outboundSchema: z.ZodType<CodeEnum, CodeEnum>;
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
40
|
-
*/
|
|
41
|
-
export declare namespace CodeEnum$ {
|
|
42
|
-
/** @deprecated use `CodeEnum$inboundSchema` instead. */
|
|
43
|
-
const inboundSchema: z.ZodType<CodeEnum, unknown, z.core.$ZodTypeInternals<CodeEnum, unknown>>;
|
|
44
|
-
/** @deprecated use `CodeEnum$outboundSchema` instead. */
|
|
45
|
-
const outboundSchema: z.ZodType<CodeEnum, CodeEnum, z.core.$ZodTypeInternals<CodeEnum, CodeEnum>>;
|
|
46
|
-
}
|
|
47
|
-
/** @internal */
|
|
48
36
|
export declare const ResponsesErrorField$inboundSchema: z.ZodType<ResponsesErrorField, unknown>;
|
|
49
|
-
/** @internal */
|
|
50
|
-
export type ResponsesErrorField$Outbound = {
|
|
51
|
-
code: string;
|
|
52
|
-
message: string;
|
|
53
|
-
};
|
|
54
|
-
/** @internal */
|
|
55
|
-
export declare const ResponsesErrorField$outboundSchema: z.ZodType<ResponsesErrorField$Outbound, ResponsesErrorField>;
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
59
|
-
*/
|
|
60
|
-
export declare namespace ResponsesErrorField$ {
|
|
61
|
-
/** @deprecated use `ResponsesErrorField$inboundSchema` instead. */
|
|
62
|
-
const inboundSchema: z.ZodType<ResponsesErrorField, unknown, z.core.$ZodTypeInternals<ResponsesErrorField, unknown>>;
|
|
63
|
-
/** @deprecated use `ResponsesErrorField$outboundSchema` instead. */
|
|
64
|
-
const outboundSchema: z.ZodType<ResponsesErrorField$Outbound, ResponsesErrorField, z.core.$ZodTypeInternals<ResponsesErrorField$Outbound, ResponsesErrorField>>;
|
|
65
|
-
/** @deprecated use `ResponsesErrorField$Outbound` instead. */
|
|
66
|
-
type Outbound = ResponsesErrorField$Outbound;
|
|
67
|
-
}
|
|
68
|
-
export declare function responsesErrorFieldToJSON(responsesErrorField: ResponsesErrorField): string;
|
|
69
37
|
export declare function responsesErrorFieldFromJSON(jsonString: string): SafeParseResult<ResponsesErrorField, SDKValidationError>;
|
|
70
38
|
//# sourceMappingURL=responseserrorfield.d.ts.map
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as z from "zod/v4";
|
|
5
5
|
import { safeParse } from "../lib/schemas.js";
|
|
6
|
-
import { catchUnrecognizedEnum
|
|
6
|
+
import { catchUnrecognizedEnum } from "../types/enums.js";
|
|
7
7
|
export const CodeEnum = {
|
|
8
8
|
ServerError: "server_error",
|
|
9
9
|
RateLimitExceeded: "rate_limit_exceeded",
|
|
@@ -31,45 +31,10 @@ export const CodeEnum$inboundSchema = z
|
|
|
31
31
|
z.string().transform(catchUnrecognizedEnum),
|
|
32
32
|
]);
|
|
33
33
|
/** @internal */
|
|
34
|
-
export const CodeEnum$outboundSchema = z.union([
|
|
35
|
-
z.enum(CodeEnum),
|
|
36
|
-
z.string().and(z.custom()),
|
|
37
|
-
]);
|
|
38
|
-
/**
|
|
39
|
-
* @internal
|
|
40
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
41
|
-
*/
|
|
42
|
-
export var CodeEnum$;
|
|
43
|
-
(function (CodeEnum$) {
|
|
44
|
-
/** @deprecated use `CodeEnum$inboundSchema` instead. */
|
|
45
|
-
CodeEnum$.inboundSchema = CodeEnum$inboundSchema;
|
|
46
|
-
/** @deprecated use `CodeEnum$outboundSchema` instead. */
|
|
47
|
-
CodeEnum$.outboundSchema = CodeEnum$outboundSchema;
|
|
48
|
-
})(CodeEnum$ || (CodeEnum$ = {}));
|
|
49
|
-
/** @internal */
|
|
50
34
|
export const ResponsesErrorField$inboundSchema = z.object({
|
|
51
35
|
code: CodeEnum$inboundSchema,
|
|
52
36
|
message: z.string(),
|
|
53
37
|
});
|
|
54
|
-
/** @internal */
|
|
55
|
-
export const ResponsesErrorField$outboundSchema = z.object({
|
|
56
|
-
code: CodeEnum$outboundSchema,
|
|
57
|
-
message: z.string(),
|
|
58
|
-
});
|
|
59
|
-
/**
|
|
60
|
-
* @internal
|
|
61
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
62
|
-
*/
|
|
63
|
-
export var ResponsesErrorField$;
|
|
64
|
-
(function (ResponsesErrorField$) {
|
|
65
|
-
/** @deprecated use `ResponsesErrorField$inboundSchema` instead. */
|
|
66
|
-
ResponsesErrorField$.inboundSchema = ResponsesErrorField$inboundSchema;
|
|
67
|
-
/** @deprecated use `ResponsesErrorField$outboundSchema` instead. */
|
|
68
|
-
ResponsesErrorField$.outboundSchema = ResponsesErrorField$outboundSchema;
|
|
69
|
-
})(ResponsesErrorField$ || (ResponsesErrorField$ = {}));
|
|
70
|
-
export function responsesErrorFieldToJSON(responsesErrorField) {
|
|
71
|
-
return JSON.stringify(ResponsesErrorField$outboundSchema.parse(responsesErrorField));
|
|
72
|
-
}
|
|
73
38
|
export function responsesErrorFieldFromJSON(jsonString) {
|
|
74
39
|
return safeParse(jsonString, (x) => ResponsesErrorField$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponsesErrorField' from JSON`);
|
|
75
40
|
}
|
|
@@ -16,20 +16,6 @@ export type ResponsesFormatJSONObject = {
|
|
|
16
16
|
export declare const ResponsesFormatJSONObjectType$inboundSchema: z.ZodEnum<typeof ResponsesFormatJSONObjectType>;
|
|
17
17
|
/** @internal */
|
|
18
18
|
export declare const ResponsesFormatJSONObjectType$outboundSchema: z.ZodEnum<typeof ResponsesFormatJSONObjectType>;
|
|
19
|
-
/**
|
|
20
|
-
* @internal
|
|
21
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
22
|
-
*/
|
|
23
|
-
export declare namespace ResponsesFormatJSONObjectType$ {
|
|
24
|
-
/** @deprecated use `ResponsesFormatJSONObjectType$inboundSchema` instead. */
|
|
25
|
-
const inboundSchema: z.ZodEnum<{
|
|
26
|
-
readonly JsonObject: "json_object";
|
|
27
|
-
}>;
|
|
28
|
-
/** @deprecated use `ResponsesFormatJSONObjectType$outboundSchema` instead. */
|
|
29
|
-
const outboundSchema: z.ZodEnum<{
|
|
30
|
-
readonly JsonObject: "json_object";
|
|
31
|
-
}>;
|
|
32
|
-
}
|
|
33
19
|
/** @internal */
|
|
34
20
|
export declare const ResponsesFormatJSONObject$inboundSchema: z.ZodType<ResponsesFormatJSONObject, unknown>;
|
|
35
21
|
/** @internal */
|
|
@@ -38,18 +24,6 @@ export type ResponsesFormatJSONObject$Outbound = {
|
|
|
38
24
|
};
|
|
39
25
|
/** @internal */
|
|
40
26
|
export declare const ResponsesFormatJSONObject$outboundSchema: z.ZodType<ResponsesFormatJSONObject$Outbound, ResponsesFormatJSONObject>;
|
|
41
|
-
/**
|
|
42
|
-
* @internal
|
|
43
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
44
|
-
*/
|
|
45
|
-
export declare namespace ResponsesFormatJSONObject$ {
|
|
46
|
-
/** @deprecated use `ResponsesFormatJSONObject$inboundSchema` instead. */
|
|
47
|
-
const inboundSchema: z.ZodType<ResponsesFormatJSONObject, unknown, z.core.$ZodTypeInternals<ResponsesFormatJSONObject, unknown>>;
|
|
48
|
-
/** @deprecated use `ResponsesFormatJSONObject$outboundSchema` instead. */
|
|
49
|
-
const outboundSchema: z.ZodType<ResponsesFormatJSONObject$Outbound, ResponsesFormatJSONObject, z.core.$ZodTypeInternals<ResponsesFormatJSONObject$Outbound, ResponsesFormatJSONObject>>;
|
|
50
|
-
/** @deprecated use `ResponsesFormatJSONObject$Outbound` instead. */
|
|
51
|
-
type Outbound = ResponsesFormatJSONObject$Outbound;
|
|
52
|
-
}
|
|
53
27
|
export declare function responsesFormatJSONObjectToJSON(responsesFormatJSONObject: ResponsesFormatJSONObject): string;
|
|
54
28
|
export declare function responsesFormatJSONObjectFromJSON(jsonString: string): SafeParseResult<ResponsesFormatJSONObject, SDKValidationError>;
|
|
55
29
|
//# sourceMappingURL=responsesformatjsonobject.d.ts.map
|
|
@@ -10,17 +10,6 @@ export const ResponsesFormatJSONObjectType = {
|
|
|
10
10
|
export const ResponsesFormatJSONObjectType$inboundSchema = z.enum(ResponsesFormatJSONObjectType);
|
|
11
11
|
/** @internal */
|
|
12
12
|
export const ResponsesFormatJSONObjectType$outboundSchema = ResponsesFormatJSONObjectType$inboundSchema;
|
|
13
|
-
/**
|
|
14
|
-
* @internal
|
|
15
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
16
|
-
*/
|
|
17
|
-
export var ResponsesFormatJSONObjectType$;
|
|
18
|
-
(function (ResponsesFormatJSONObjectType$) {
|
|
19
|
-
/** @deprecated use `ResponsesFormatJSONObjectType$inboundSchema` instead. */
|
|
20
|
-
ResponsesFormatJSONObjectType$.inboundSchema = ResponsesFormatJSONObjectType$inboundSchema;
|
|
21
|
-
/** @deprecated use `ResponsesFormatJSONObjectType$outboundSchema` instead. */
|
|
22
|
-
ResponsesFormatJSONObjectType$.outboundSchema = ResponsesFormatJSONObjectType$outboundSchema;
|
|
23
|
-
})(ResponsesFormatJSONObjectType$ || (ResponsesFormatJSONObjectType$ = {}));
|
|
24
13
|
/** @internal */
|
|
25
14
|
export const ResponsesFormatJSONObject$inboundSchema = z.object({
|
|
26
15
|
type: ResponsesFormatJSONObjectType$inboundSchema,
|
|
@@ -29,17 +18,6 @@ export const ResponsesFormatJSONObject$inboundSchema = z.object({
|
|
|
29
18
|
export const ResponsesFormatJSONObject$outboundSchema = z.object({
|
|
30
19
|
type: ResponsesFormatJSONObjectType$outboundSchema,
|
|
31
20
|
});
|
|
32
|
-
/**
|
|
33
|
-
* @internal
|
|
34
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
35
|
-
*/
|
|
36
|
-
export var ResponsesFormatJSONObject$;
|
|
37
|
-
(function (ResponsesFormatJSONObject$) {
|
|
38
|
-
/** @deprecated use `ResponsesFormatJSONObject$inboundSchema` instead. */
|
|
39
|
-
ResponsesFormatJSONObject$.inboundSchema = ResponsesFormatJSONObject$inboundSchema;
|
|
40
|
-
/** @deprecated use `ResponsesFormatJSONObject$outboundSchema` instead. */
|
|
41
|
-
ResponsesFormatJSONObject$.outboundSchema = ResponsesFormatJSONObject$outboundSchema;
|
|
42
|
-
})(ResponsesFormatJSONObject$ || (ResponsesFormatJSONObject$ = {}));
|
|
43
21
|
export function responsesFormatJSONObjectToJSON(responsesFormatJSONObject) {
|
|
44
22
|
return JSON.stringify(ResponsesFormatJSONObject$outboundSchema.parse(responsesFormatJSONObject));
|
|
45
23
|
}
|
|
@@ -16,20 +16,6 @@ export type ResponsesFormatText = {
|
|
|
16
16
|
export declare const ResponsesFormatTextType$inboundSchema: z.ZodEnum<typeof ResponsesFormatTextType>;
|
|
17
17
|
/** @internal */
|
|
18
18
|
export declare const ResponsesFormatTextType$outboundSchema: z.ZodEnum<typeof ResponsesFormatTextType>;
|
|
19
|
-
/**
|
|
20
|
-
* @internal
|
|
21
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
22
|
-
*/
|
|
23
|
-
export declare namespace ResponsesFormatTextType$ {
|
|
24
|
-
/** @deprecated use `ResponsesFormatTextType$inboundSchema` instead. */
|
|
25
|
-
const inboundSchema: z.ZodEnum<{
|
|
26
|
-
readonly Text: "text";
|
|
27
|
-
}>;
|
|
28
|
-
/** @deprecated use `ResponsesFormatTextType$outboundSchema` instead. */
|
|
29
|
-
const outboundSchema: z.ZodEnum<{
|
|
30
|
-
readonly Text: "text";
|
|
31
|
-
}>;
|
|
32
|
-
}
|
|
33
19
|
/** @internal */
|
|
34
20
|
export declare const ResponsesFormatText$inboundSchema: z.ZodType<ResponsesFormatText, unknown>;
|
|
35
21
|
/** @internal */
|
|
@@ -38,18 +24,6 @@ export type ResponsesFormatText$Outbound = {
|
|
|
38
24
|
};
|
|
39
25
|
/** @internal */
|
|
40
26
|
export declare const ResponsesFormatText$outboundSchema: z.ZodType<ResponsesFormatText$Outbound, ResponsesFormatText>;
|
|
41
|
-
/**
|
|
42
|
-
* @internal
|
|
43
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
44
|
-
*/
|
|
45
|
-
export declare namespace ResponsesFormatText$ {
|
|
46
|
-
/** @deprecated use `ResponsesFormatText$inboundSchema` instead. */
|
|
47
|
-
const inboundSchema: z.ZodType<ResponsesFormatText, unknown, z.core.$ZodTypeInternals<ResponsesFormatText, unknown>>;
|
|
48
|
-
/** @deprecated use `ResponsesFormatText$outboundSchema` instead. */
|
|
49
|
-
const outboundSchema: z.ZodType<ResponsesFormatText$Outbound, ResponsesFormatText, z.core.$ZodTypeInternals<ResponsesFormatText$Outbound, ResponsesFormatText>>;
|
|
50
|
-
/** @deprecated use `ResponsesFormatText$Outbound` instead. */
|
|
51
|
-
type Outbound = ResponsesFormatText$Outbound;
|
|
52
|
-
}
|
|
53
27
|
export declare function responsesFormatTextToJSON(responsesFormatText: ResponsesFormatText): string;
|
|
54
28
|
export declare function responsesFormatTextFromJSON(jsonString: string): SafeParseResult<ResponsesFormatText, SDKValidationError>;
|
|
55
29
|
//# sourceMappingURL=responsesformattext.d.ts.map
|
|
@@ -10,17 +10,6 @@ export const ResponsesFormatTextType = {
|
|
|
10
10
|
export const ResponsesFormatTextType$inboundSchema = z.enum(ResponsesFormatTextType);
|
|
11
11
|
/** @internal */
|
|
12
12
|
export const ResponsesFormatTextType$outboundSchema = ResponsesFormatTextType$inboundSchema;
|
|
13
|
-
/**
|
|
14
|
-
* @internal
|
|
15
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
16
|
-
*/
|
|
17
|
-
export var ResponsesFormatTextType$;
|
|
18
|
-
(function (ResponsesFormatTextType$) {
|
|
19
|
-
/** @deprecated use `ResponsesFormatTextType$inboundSchema` instead. */
|
|
20
|
-
ResponsesFormatTextType$.inboundSchema = ResponsesFormatTextType$inboundSchema;
|
|
21
|
-
/** @deprecated use `ResponsesFormatTextType$outboundSchema` instead. */
|
|
22
|
-
ResponsesFormatTextType$.outboundSchema = ResponsesFormatTextType$outboundSchema;
|
|
23
|
-
})(ResponsesFormatTextType$ || (ResponsesFormatTextType$ = {}));
|
|
24
13
|
/** @internal */
|
|
25
14
|
export const ResponsesFormatText$inboundSchema = z.object({
|
|
26
15
|
type: ResponsesFormatTextType$inboundSchema,
|
|
@@ -29,17 +18,6 @@ export const ResponsesFormatText$inboundSchema = z.object({
|
|
|
29
18
|
export const ResponsesFormatText$outboundSchema = z.object({
|
|
30
19
|
type: ResponsesFormatTextType$outboundSchema,
|
|
31
20
|
});
|
|
32
|
-
/**
|
|
33
|
-
* @internal
|
|
34
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
35
|
-
*/
|
|
36
|
-
export var ResponsesFormatText$;
|
|
37
|
-
(function (ResponsesFormatText$) {
|
|
38
|
-
/** @deprecated use `ResponsesFormatText$inboundSchema` instead. */
|
|
39
|
-
ResponsesFormatText$.inboundSchema = ResponsesFormatText$inboundSchema;
|
|
40
|
-
/** @deprecated use `ResponsesFormatText$outboundSchema` instead. */
|
|
41
|
-
ResponsesFormatText$.outboundSchema = ResponsesFormatText$outboundSchema;
|
|
42
|
-
})(ResponsesFormatText$ || (ResponsesFormatText$ = {}));
|
|
43
21
|
export function responsesFormatTextToJSON(responsesFormatText) {
|
|
44
22
|
return JSON.stringify(ResponsesFormatText$outboundSchema.parse(responsesFormatText));
|
|
45
23
|
}
|
|
@@ -22,20 +22,6 @@ export type ResponsesFormatTextJSONSchemaConfig = {
|
|
|
22
22
|
export declare const ResponsesFormatTextJSONSchemaConfigType$inboundSchema: z.ZodEnum<typeof ResponsesFormatTextJSONSchemaConfigType>;
|
|
23
23
|
/** @internal */
|
|
24
24
|
export declare const ResponsesFormatTextJSONSchemaConfigType$outboundSchema: z.ZodEnum<typeof ResponsesFormatTextJSONSchemaConfigType>;
|
|
25
|
-
/**
|
|
26
|
-
* @internal
|
|
27
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
28
|
-
*/
|
|
29
|
-
export declare namespace ResponsesFormatTextJSONSchemaConfigType$ {
|
|
30
|
-
/** @deprecated use `ResponsesFormatTextJSONSchemaConfigType$inboundSchema` instead. */
|
|
31
|
-
const inboundSchema: z.ZodEnum<{
|
|
32
|
-
readonly JsonSchema: "json_schema";
|
|
33
|
-
}>;
|
|
34
|
-
/** @deprecated use `ResponsesFormatTextJSONSchemaConfigType$outboundSchema` instead. */
|
|
35
|
-
const outboundSchema: z.ZodEnum<{
|
|
36
|
-
readonly JsonSchema: "json_schema";
|
|
37
|
-
}>;
|
|
38
|
-
}
|
|
39
25
|
/** @internal */
|
|
40
26
|
export declare const ResponsesFormatTextJSONSchemaConfig$inboundSchema: z.ZodType<ResponsesFormatTextJSONSchemaConfig, unknown>;
|
|
41
27
|
/** @internal */
|
|
@@ -50,18 +36,6 @@ export type ResponsesFormatTextJSONSchemaConfig$Outbound = {
|
|
|
50
36
|
};
|
|
51
37
|
/** @internal */
|
|
52
38
|
export declare const ResponsesFormatTextJSONSchemaConfig$outboundSchema: z.ZodType<ResponsesFormatTextJSONSchemaConfig$Outbound, ResponsesFormatTextJSONSchemaConfig>;
|
|
53
|
-
/**
|
|
54
|
-
* @internal
|
|
55
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
56
|
-
*/
|
|
57
|
-
export declare namespace ResponsesFormatTextJSONSchemaConfig$ {
|
|
58
|
-
/** @deprecated use `ResponsesFormatTextJSONSchemaConfig$inboundSchema` instead. */
|
|
59
|
-
const inboundSchema: z.ZodType<ResponsesFormatTextJSONSchemaConfig, unknown, z.core.$ZodTypeInternals<ResponsesFormatTextJSONSchemaConfig, unknown>>;
|
|
60
|
-
/** @deprecated use `ResponsesFormatTextJSONSchemaConfig$outboundSchema` instead. */
|
|
61
|
-
const outboundSchema: z.ZodType<ResponsesFormatTextJSONSchemaConfig$Outbound, ResponsesFormatTextJSONSchemaConfig, z.core.$ZodTypeInternals<ResponsesFormatTextJSONSchemaConfig$Outbound, ResponsesFormatTextJSONSchemaConfig>>;
|
|
62
|
-
/** @deprecated use `ResponsesFormatTextJSONSchemaConfig$Outbound` instead. */
|
|
63
|
-
type Outbound = ResponsesFormatTextJSONSchemaConfig$Outbound;
|
|
64
|
-
}
|
|
65
39
|
export declare function responsesFormatTextJSONSchemaConfigToJSON(responsesFormatTextJSONSchemaConfig: ResponsesFormatTextJSONSchemaConfig): string;
|
|
66
40
|
export declare function responsesFormatTextJSONSchemaConfigFromJSON(jsonString: string): SafeParseResult<ResponsesFormatTextJSONSchemaConfig, SDKValidationError>;
|
|
67
41
|
//# sourceMappingURL=responsesformattextjsonschemaconfig.d.ts.map
|
|
@@ -10,17 +10,6 @@ export const ResponsesFormatTextJSONSchemaConfigType = {
|
|
|
10
10
|
export const ResponsesFormatTextJSONSchemaConfigType$inboundSchema = z.enum(ResponsesFormatTextJSONSchemaConfigType);
|
|
11
11
|
/** @internal */
|
|
12
12
|
export const ResponsesFormatTextJSONSchemaConfigType$outboundSchema = ResponsesFormatTextJSONSchemaConfigType$inboundSchema;
|
|
13
|
-
/**
|
|
14
|
-
* @internal
|
|
15
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
16
|
-
*/
|
|
17
|
-
export var ResponsesFormatTextJSONSchemaConfigType$;
|
|
18
|
-
(function (ResponsesFormatTextJSONSchemaConfigType$) {
|
|
19
|
-
/** @deprecated use `ResponsesFormatTextJSONSchemaConfigType$inboundSchema` instead. */
|
|
20
|
-
ResponsesFormatTextJSONSchemaConfigType$.inboundSchema = ResponsesFormatTextJSONSchemaConfigType$inboundSchema;
|
|
21
|
-
/** @deprecated use `ResponsesFormatTextJSONSchemaConfigType$outboundSchema` instead. */
|
|
22
|
-
ResponsesFormatTextJSONSchemaConfigType$.outboundSchema = ResponsesFormatTextJSONSchemaConfigType$outboundSchema;
|
|
23
|
-
})(ResponsesFormatTextJSONSchemaConfigType$ || (ResponsesFormatTextJSONSchemaConfigType$ = {}));
|
|
24
13
|
/** @internal */
|
|
25
14
|
export const ResponsesFormatTextJSONSchemaConfig$inboundSchema = z.object({
|
|
26
15
|
type: ResponsesFormatTextJSONSchemaConfigType$inboundSchema,
|
|
@@ -37,17 +26,6 @@ export const ResponsesFormatTextJSONSchemaConfig$outboundSchema = z.object({
|
|
|
37
26
|
strict: z.nullable(z.boolean()).optional(),
|
|
38
27
|
schema: z.record(z.string(), z.nullable(z.any())),
|
|
39
28
|
});
|
|
40
|
-
/**
|
|
41
|
-
* @internal
|
|
42
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
43
|
-
*/
|
|
44
|
-
export var ResponsesFormatTextJSONSchemaConfig$;
|
|
45
|
-
(function (ResponsesFormatTextJSONSchemaConfig$) {
|
|
46
|
-
/** @deprecated use `ResponsesFormatTextJSONSchemaConfig$inboundSchema` instead. */
|
|
47
|
-
ResponsesFormatTextJSONSchemaConfig$.inboundSchema = ResponsesFormatTextJSONSchemaConfig$inboundSchema;
|
|
48
|
-
/** @deprecated use `ResponsesFormatTextJSONSchemaConfig$outboundSchema` instead. */
|
|
49
|
-
ResponsesFormatTextJSONSchemaConfig$.outboundSchema = ResponsesFormatTextJSONSchemaConfig$outboundSchema;
|
|
50
|
-
})(ResponsesFormatTextJSONSchemaConfig$ || (ResponsesFormatTextJSONSchemaConfig$ = {}));
|
|
51
29
|
export function responsesFormatTextJSONSchemaConfigToJSON(responsesFormatTextJSONSchemaConfig) {
|
|
52
30
|
return JSON.stringify(ResponsesFormatTextJSONSchemaConfig$outboundSchema.parse(responsesFormatTextJSONSchemaConfig));
|
|
53
31
|
}
|