@orq-ai/node 4.15.12 → 4.15.14
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/README.md +39 -37
- package/funcs/feedbackSubmit.d.ts +17 -0
- package/funcs/feedbackSubmit.d.ts.map +1 -0
- package/funcs/feedbackSubmit.js +115 -0
- package/funcs/feedbackSubmit.js.map +1 -0
- package/funcs/routerClassifyCreate.d.ts +1 -1
- package/funcs/routerClassifyCreate.js +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/models/components/classifyanswer.d.ts +1 -1
- package/models/components/classifyusage.d.ts +2 -2
- package/models/components/index.d.ts +2 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +2 -0
- package/models/components/index.js.map +1 -1
- package/models/components/reasoningpart.js +1 -1
- package/models/components/submitfeedbackrequest.d.ts +21 -0
- package/models/components/submitfeedbackrequest.d.ts.map +1 -0
- package/models/components/submitfeedbackrequest.js +57 -0
- package/models/components/submitfeedbackrequest.js.map +1 -0
- package/models/components/submitfeedbackresponse.d.ts +13 -0
- package/models/components/submitfeedbackresponse.d.ts.map +1 -0
- package/models/components/submitfeedbackresponse.js +55 -0
- package/models/components/submitfeedbackresponse.js.map +1 -0
- package/models/operations/createclassify.d.ts +3 -2
- package/models/operations/createclassify.d.ts.map +1 -1
- package/models/operations/createclassify.js +1 -0
- package/models/operations/createclassify.js.map +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +5 -5
- package/models/operations/createtool.js +4 -4
- package/models/operations/getalltools.js +4 -4
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/listdatasetdatapoints.js +5 -5
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +4 -4
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrievedatapoint.js +5 -5
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievetool.js +4 -4
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updatedatapoint.js +5 -5
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatetool.js +4 -4
- package/package.json +1 -1
- package/packages/orq-rc/src/funcs/apiKeysCreate.ts +5 -6
- package/packages/orq-rc/src/funcs/apiKeysDelete.ts +1 -1
- package/packages/orq-rc/src/funcs/apiKeysGet.ts +8 -3
- package/packages/orq-rc/src/funcs/apiKeysList.ts +11 -4
- package/packages/orq-rc/src/funcs/apiKeysListCapabilities.ts +6 -6
- package/packages/orq-rc/src/funcs/apiKeysUpdate.ts +5 -3
- package/packages/orq-rc/src/funcs/{wikisCreate.ts → auditLogsQuery.ts} +16 -10
- package/packages/orq-rc/src/funcs/datasetsClear.ts +12 -3
- package/packages/orq-rc/src/funcs/datasetsCreate.ts +15 -10
- package/packages/orq-rc/src/funcs/datasetsCreateDatapoint.ts +16 -8
- package/packages/orq-rc/src/funcs/datasetsDelete.ts +2 -2
- package/packages/orq-rc/src/funcs/datasetsDeleteDatapoint.ts +11 -2
- package/packages/orq-rc/src/funcs/datasetsList.ts +5 -6
- package/packages/orq-rc/src/funcs/datasetsListDatapoints.ts +14 -6
- package/packages/orq-rc/src/funcs/datasetsRetrieve.ts +15 -7
- package/packages/orq-rc/src/funcs/datasetsRetrieveDatapoint.ts +15 -7
- package/packages/orq-rc/src/funcs/datasetsUpdate.ts +16 -10
- package/packages/orq-rc/src/funcs/datasetsUpdateDatapoint.ts +16 -10
- package/packages/orq-rc/src/funcs/{wikisInspectRepository.ts → feedbackSubmit.ts} +16 -11
- package/packages/orq-rc/src/funcs/humanReviewSetsList.ts +7 -4
- package/packages/orq-rc/src/funcs/projectsCreate.ts +1 -1
- package/packages/orq-rc/src/funcs/projectsDelete.ts +1 -1
- package/packages/orq-rc/src/funcs/projectsList.ts +1 -1
- package/packages/orq-rc/src/funcs/projectsUpdate.ts +1 -1
- package/packages/orq-rc/src/funcs/routerClassifyCreate.ts +1 -1
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/models/components/agentthoughtstreamingevent.ts +0 -66
- package/packages/orq-rc/src/models/components/allprojects.ts +21 -0
- package/packages/orq-rc/src/models/components/apikeyowner.ts +55 -0
- package/packages/orq-rc/src/models/components/apikeyrestresponse.ts +1 -1
- package/packages/orq-rc/src/models/components/apikeystatus.ts +18 -0
- package/packages/orq-rc/src/models/components/auditlog.ts +122 -0
- package/packages/orq-rc/src/models/components/auditlogfilter.ts +51 -0
- package/packages/orq-rc/src/models/components/auditlogfilterquery.ts +54 -0
- package/packages/orq-rc/src/models/{operations/listwikis.ts → components/auditlogpagination.ts} +20 -19
- package/packages/orq-rc/src/models/components/auditlogsort.ts +39 -0
- package/packages/orq-rc/src/models/components/classifyanswer.ts +2 -2
- package/packages/orq-rc/src/models/components/createapikeyrequest.ts +116 -0
- package/packages/orq-rc/src/models/components/createmanagementkeyrequest.ts +3 -3
- package/packages/orq-rc/src/models/components/datasource.ts +2 -2
- package/packages/orq-rc/src/models/components/datasourcesservicecreaterequest.ts +2 -2
- package/packages/orq-rc/src/models/components/domain.ts +39 -42
- package/packages/orq-rc/src/models/components/domaingroup.ts +17 -0
- package/packages/orq-rc/src/models/components/extendedmessage.ts +1 -1
- package/packages/orq-rc/src/models/components/filesystem.ts +5 -6
- package/packages/orq-rc/src/models/components/hubitem.ts +2 -2
- package/packages/orq-rc/src/models/components/hubitemsummary.ts +1 -1
- package/packages/orq-rc/src/models/components/index.ts +24 -53
- package/packages/orq-rc/src/models/components/invokedeploymentrequest.ts +0 -126
- package/packages/orq-rc/src/models/components/knowledge.ts +2 -2
- package/packages/orq-rc/src/models/components/knowledgechunk.ts +1 -1
- package/packages/orq-rc/src/models/components/listcapabilitiesresponse.ts +38 -0
- package/packages/orq-rc/src/models/components/mcpaccess.ts +93 -0
- package/packages/orq-rc/src/models/components/mcpauthconfig.ts +1 -1
- package/packages/orq-rc/src/models/components/mcpauthconfigoutput.ts +1 -1
- package/packages/orq-rc/src/models/components/memory.ts +5 -2
- package/packages/orq-rc/src/models/components/ownertype.ts +17 -0
- package/packages/orq-rc/src/models/components/permissionmode.ts +19 -0
- package/packages/orq-rc/src/models/components/projectscope.ts +23 -11
- package/packages/orq-rc/src/models/components/queryauditlogsrequest.ts +64 -0
- package/packages/orq-rc/src/models/components/queryauditlogsresponse.ts +55 -0
- package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
- package/packages/orq-rc/src/models/components/scopemode.ts +16 -0
- package/packages/orq-rc/src/models/components/serviceaccountowner.ts +25 -0
- package/packages/orq-rc/src/models/components/singleproject.ts +35 -0
- package/packages/orq-rc/src/models/components/submitfeedbackrequest.ts +48 -0
- package/packages/orq-rc/src/models/components/submitfeedbackresponse.ts +39 -0
- package/packages/orq-rc/src/models/components/toolexecutionfailedstreamingevent.ts +3 -3
- package/packages/orq-rc/src/models/components/toolexecutionfinishedstreamingevent.ts +3 -3
- package/packages/orq-rc/src/models/components/toolexecutionstartedstreamingevent.ts +3 -3
- package/packages/orq-rc/src/models/components/tracecompute.ts +0 -21
- package/packages/orq-rc/src/models/components/tracefilter.ts +0 -22
- package/packages/orq-rc/src/models/components/updateapikeyrequest.ts +110 -0
- package/packages/orq-rc/src/models/components/userowner.ts +35 -0
- package/packages/orq-rc/src/models/components/value.ts +24 -0
- package/packages/orq-rc/src/models/operations/apikeydelete.ts +1 -1
- package/packages/orq-rc/src/models/operations/apikeyget.ts +11 -1
- package/packages/orq-rc/src/models/operations/apikeylist.ts +78 -23
- package/packages/orq-rc/src/models/operations/apikeyupdate.ts +5 -107
- package/packages/orq-rc/src/models/operations/cleardataset.ts +3 -0
- package/packages/orq-rc/src/models/operations/createagentrequest.ts +7 -7
- package/packages/orq-rc/src/models/operations/createchatcompletion.ts +15 -231
- package/packages/orq-rc/src/models/operations/createclassify.ts +2 -2
- package/packages/orq-rc/src/models/operations/createcompletion.ts +3 -3
- package/packages/orq-rc/src/models/operations/createdataset.ts +162 -0
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +3085 -14
- package/packages/orq-rc/src/models/operations/createimage.ts +2 -2
- package/packages/orq-rc/src/models/operations/createimageedit.ts +2 -2
- package/packages/orq-rc/src/models/operations/createimagevariation.ts +2 -2
- package/packages/orq-rc/src/models/operations/createprompt.ts +0 -143
- package/packages/orq-rc/src/models/operations/creatererank.ts +2 -2
- package/packages/orq-rc/src/models/operations/createrouterresponse.ts +6 -6
- package/packages/orq-rc/src/models/operations/createspeech.ts +2 -2
- package/packages/orq-rc/src/models/operations/createtool.ts +4 -4
- package/packages/orq-rc/src/models/operations/createtranscription.ts +2 -2
- package/packages/orq-rc/src/models/operations/createtranslation.ts +2 -2
- package/packages/orq-rc/src/models/operations/deletedatapoint.ts +6 -0
- package/packages/orq-rc/src/models/operations/deletedataset.ts +3 -0
- package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +0 -147
- package/packages/orq-rc/src/models/operations/deployments.ts +2 -2
- package/packages/orq-rc/src/models/operations/deploymentstream.ts +0 -126
- package/packages/orq-rc/src/models/operations/filelist.ts +3 -3
- package/packages/orq-rc/src/models/operations/getallmemories.ts +3 -3
- package/packages/orq-rc/src/models/operations/getallmemorydocuments.ts +3 -3
- package/packages/orq-rc/src/models/operations/getallmemorystores.ts +3 -3
- package/packages/orq-rc/src/models/operations/getallprompts.ts +2 -65
- package/packages/orq-rc/src/models/operations/getalltools.ts +6 -6
- package/packages/orq-rc/src/models/operations/getevals.ts +2 -2
- package/packages/orq-rc/src/models/operations/getoneprompt.ts +0 -63
- package/packages/orq-rc/src/models/operations/getpromptversion.ts +0 -65
- package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +9 -9
- package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/getv2toolstoolidversions.ts +2 -2
- package/packages/orq-rc/src/models/operations/index.ts +1 -15
- package/packages/orq-rc/src/models/operations/listagents.ts +7 -7
- package/packages/orq-rc/src/models/operations/listchunks.ts +3 -3
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +2045 -2
- package/packages/orq-rc/src/models/operations/listdatasets.ts +173 -2
- package/packages/orq-rc/src/models/operations/listdatasources.ts +3 -3
- package/packages/orq-rc/src/models/operations/listidentities.ts +1 -1
- package/packages/orq-rc/src/models/operations/listknowledgebases.ts +2 -2
- package/packages/orq-rc/src/models/operations/listpromptversions.ts +2 -68
- package/packages/orq-rc/src/models/operations/modelcataloglist.ts +2 -2
- package/packages/orq-rc/src/models/operations/modelcataloglistofferings.ts +2 -2
- package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +4 -4
- package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/projectlist.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrieveagentrequest.ts +5 -5
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +1937 -0
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +114 -0
- package/packages/orq-rc/src/models/operations/retrievetool.ts +4 -4
- package/packages/orq-rc/src/models/operations/runagent.ts +3 -3
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +3 -3
- package/packages/orq-rc/src/models/operations/updateagent.ts +7 -7
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +3128 -17
- package/packages/orq-rc/src/models/operations/updatedataset.ts +170 -5
- package/packages/orq-rc/src/models/operations/updateprompt.ts +0 -143
- package/packages/orq-rc/src/models/operations/updatetool.ts +4 -4
- package/packages/orq-rc/src/sdk/apikeys.ts +18 -18
- package/packages/orq-rc/src/sdk/auditlogs.ts +27 -0
- package/packages/orq-rc/src/sdk/classify.ts +1 -1
- package/packages/orq-rc/src/sdk/datasets.ts +36 -73
- package/packages/orq-rc/src/sdk/feedback.ts +19 -0
- package/packages/orq-rc/src/sdk/humanreviewsets.ts +1 -1
- package/packages/orq-rc/src/sdk/projects.ts +4 -4
- package/packages/orq-rc/src/sdk/sdk.ts +16 -22
- package/sdk/classify.d.ts +1 -1
- package/sdk/classify.js +1 -1
- package/sdk/feedback.d.ts +8 -0
- package/sdk/feedback.d.ts.map +1 -1
- package/sdk/feedback.js +10 -0
- package/sdk/feedback.js.map +1 -1
- package/{packages/orq-rc/src/funcs/telemetryQuery.ts → src/funcs/feedbackSubmit.ts} +12 -12
- package/src/funcs/routerClassifyCreate.ts +1 -1
- package/src/lib/config.ts +3 -3
- package/src/models/components/classifyanswer.ts +1 -1
- package/src/models/components/classifyusage.ts +2 -2
- package/src/models/components/index.ts +2 -0
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/components/submitfeedbackrequest.ts +48 -0
- package/src/models/components/submitfeedbackresponse.ts +39 -0
- package/src/models/operations/createclassify.ts +4 -2
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +5 -5
- package/src/models/operations/createtool.ts +4 -4
- package/src/models/operations/getalltools.ts +4 -4
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +5 -5
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +4 -4
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +5 -5
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievetool.ts +4 -4
- package/src/models/operations/runagent.ts +1 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/updatedatapoint.ts +5 -5
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatetool.ts +4 -4
- package/src/sdk/classify.ts +1 -1
- package/src/sdk/feedback.ts +19 -0
- package/packages/orq-rc/src/funcs/datasetsCreateDatapoints.ts +0 -175
- package/packages/orq-rc/src/funcs/datasetsDeleteDatapoints.ts +0 -174
- package/packages/orq-rc/src/funcs/telemetryListCapabilities.ts +0 -169
- package/packages/orq-rc/src/funcs/telemetryListFacetValues.ts +0 -163
- package/packages/orq-rc/src/funcs/wikisDelete.ts +0 -162
- package/packages/orq-rc/src/funcs/wikisGet.ts +0 -162
- package/packages/orq-rc/src/funcs/wikisGetPage.ts +0 -168
- package/packages/orq-rc/src/funcs/wikisGetTree.ts +0 -162
- package/packages/orq-rc/src/funcs/wikisList.ts +0 -167
- package/packages/orq-rc/src/funcs/wikisListRuns.ts +0 -167
- package/packages/orq-rc/src/funcs/wikisRefresh.ts +0 -165
- package/packages/orq-rc/src/funcs/wikisSearch.ts +0 -168
- package/packages/orq-rc/src/funcs/wikisUpdate.ts +0 -163
- package/packages/orq-rc/src/funcs/wikisUpdatePage.ts +0 -165
- package/packages/orq-rc/src/models/components/bulkcreatedatapointsrequest.ts +0 -38
- package/packages/orq-rc/src/models/components/constraints.ts +0 -32
- package/packages/orq-rc/src/models/components/createdatasetrequest.ts +0 -39
- package/packages/orq-rc/src/models/components/createwikirequest.ts +0 -67
- package/packages/orq-rc/src/models/components/createwikiresponse.ts +0 -32
- package/packages/orq-rc/src/models/components/datapoint1.ts +0 -122
- package/packages/orq-rc/src/models/components/datapointinput.ts +0 -73
- package/packages/orq-rc/src/models/components/dataset.ts +0 -88
- package/packages/orq-rc/src/models/components/datasetmetadata.ts +0 -48
- package/packages/orq-rc/src/models/components/deletedatapointsrequest.ts +0 -36
- package/packages/orq-rc/src/models/components/deletewikiresponse.ts +0 -27
- package/packages/orq-rc/src/models/components/getwikipageresponse.ts +0 -32
- package/packages/orq-rc/src/models/components/getwikiresponse.ts +0 -32
- package/packages/orq-rc/src/models/components/getwikitreeresponse.ts +0 -32
- package/packages/orq-rc/src/models/components/inspectrepositorywikirequest.ts +0 -45
- package/packages/orq-rc/src/models/components/inspectrepositorywikiresponse.ts +0 -38
- package/packages/orq-rc/src/models/components/listdatapointsresponse.ts +0 -41
- package/packages/orq-rc/src/models/components/listdatasetsresponse.ts +0 -41
- package/packages/orq-rc/src/models/components/listtelemetrycapabilitiesresponse.ts +0 -35
- package/packages/orq-rc/src/models/components/listtelemetryfacetvaluesrequest.ts +0 -68
- package/packages/orq-rc/src/models/components/listtelemetryfacetvaluesresponse.ts +0 -44
- package/packages/orq-rc/src/models/components/listwikirunsresponse.ts +0 -32
- package/packages/orq-rc/src/models/components/listwikisresponse.ts +0 -39
- package/packages/orq-rc/src/models/components/owner.ts +0 -35
- package/packages/orq-rc/src/models/components/querytelemetrymeta.ts +0 -46
- package/packages/orq-rc/src/models/components/querytelemetryrequest.ts +0 -213
- package/packages/orq-rc/src/models/components/querytelemetryresponse.ts +0 -55
- package/packages/orq-rc/src/models/components/refreshwikirequest.ts +0 -31
- package/packages/orq-rc/src/models/components/refreshwikiresponse.ts +0 -32
- package/packages/orq-rc/src/models/components/searchwikiresponse.ts +0 -32
- package/packages/orq-rc/src/models/components/telemetrydimensioncapability.ts +0 -47
- package/packages/orq-rc/src/models/components/telemetrydimensionsetcapability.ts +0 -40
- package/packages/orq-rc/src/models/components/telemetrymetriccapability.ts +0 -80
- package/packages/orq-rc/src/models/components/telemetryquerymode.ts +0 -18
- package/packages/orq-rc/src/models/components/telemetryresultkind.ts +0 -21
- package/packages/orq-rc/src/models/components/telemetryrow.ts +0 -42
- package/packages/orq-rc/src/models/components/telemetrysource.ts +0 -23
- package/packages/orq-rc/src/models/components/telemetrysourcecapability.ts +0 -43
- package/packages/orq-rc/src/models/components/telemetryvaluecardinality.ts +0 -21
- package/packages/orq-rc/src/models/components/updatedatapointrequest.ts +0 -67
- package/packages/orq-rc/src/models/components/updatedatasetrequest.ts +0 -40
- package/packages/orq-rc/src/models/components/updatewikipagerequest.ts +0 -42
- package/packages/orq-rc/src/models/components/updatewikipageresponse.ts +0 -32
- package/packages/orq-rc/src/models/components/updatewikirequest.ts +0 -48
- package/packages/orq-rc/src/models/components/updatewikiresponse.ts +0 -32
- package/packages/orq-rc/src/models/components/wiki.ts +0 -91
- package/packages/orq-rc/src/models/components/wikipage.ts +0 -58
- package/packages/orq-rc/src/models/components/wikirepository.ts +0 -72
- package/packages/orq-rc/src/models/components/wikirun.ts +0 -71
- package/packages/orq-rc/src/models/components/wikirunstats.ts +0 -44
- package/packages/orq-rc/src/models/components/wikisearchhit.ts +0 -45
- package/packages/orq-rc/src/models/components/wikisettings.ts +0 -76
- package/packages/orq-rc/src/models/components/wikitreepage.ts +0 -47
- package/packages/orq-rc/src/models/operations/apikeycreate.ts +0 -116
- package/packages/orq-rc/src/models/operations/apikeylistcapabilities.ts +0 -39
- package/packages/orq-rc/src/models/operations/bulkcreatedatapoints.ts +0 -44
- package/packages/orq-rc/src/models/operations/deletedatasetdatapoints.ts +0 -43
- package/packages/orq-rc/src/models/operations/deletewiki.ts +0 -36
- package/packages/orq-rc/src/models/operations/getwiki.ts +0 -32
- package/packages/orq-rc/src/models/operations/getwikipage.ts +0 -43
- package/packages/orq-rc/src/models/operations/getwikitree.ts +0 -36
- package/packages/orq-rc/src/models/operations/listwikiruns.ts +0 -39
- package/packages/orq-rc/src/models/operations/refreshwiki.ts +0 -41
- package/packages/orq-rc/src/models/operations/searchwiki.ts +0 -42
- package/packages/orq-rc/src/models/operations/telemetrylistcapabilities.ts +0 -34
- package/packages/orq-rc/src/models/operations/updatewiki.ts +0 -41
- package/packages/orq-rc/src/models/operations/updatewikipage.ts +0 -41
- package/packages/orq-rc/src/sdk/telemetry.ts +0 -64
- package/packages/orq-rc/src/sdk/wikis.ts +0 -154
|
@@ -228,7 +228,7 @@ export type CreateImageLoadBalancerRouterImagesGenerations1 = {
|
|
|
228
228
|
};
|
|
229
229
|
|
|
230
230
|
/**
|
|
231
|
-
*
|
|
231
|
+
* Array of models with weights for load balancing requests
|
|
232
232
|
*/
|
|
233
233
|
export type CreateImageRouterImagesGenerationsLoadBalancer =
|
|
234
234
|
CreateImageLoadBalancerRouterImagesGenerations1;
|
|
@@ -271,7 +271,7 @@ export type CreateImageOrq = {
|
|
|
271
271
|
*/
|
|
272
272
|
cache?: CreateImageRouterImagesGenerationsCache | undefined;
|
|
273
273
|
/**
|
|
274
|
-
*
|
|
274
|
+
* Array of models with weights for load balancing requests
|
|
275
275
|
*/
|
|
276
276
|
loadBalancer?: CreateImageLoadBalancerRouterImagesGenerations1 | undefined;
|
|
277
277
|
/**
|
|
@@ -208,7 +208,7 @@ export type CreateImageEditLoadBalancerRouterImagesEdits1 = {
|
|
|
208
208
|
};
|
|
209
209
|
|
|
210
210
|
/**
|
|
211
|
-
*
|
|
211
|
+
* Array of models with weights for load balancing requests
|
|
212
212
|
*/
|
|
213
213
|
export type CreateImageEditRouterImagesEditsLoadBalancer =
|
|
214
214
|
CreateImageEditLoadBalancerRouterImagesEdits1;
|
|
@@ -255,7 +255,7 @@ export type CreateImageEditOrq = {
|
|
|
255
255
|
*/
|
|
256
256
|
cache?: CreateImageEditRouterImagesEditsCache | undefined;
|
|
257
257
|
/**
|
|
258
|
-
*
|
|
258
|
+
* Array of models with weights for load balancing requests
|
|
259
259
|
*/
|
|
260
260
|
loadBalancer?: CreateImageEditLoadBalancerRouterImagesEdits1 | undefined;
|
|
261
261
|
/**
|
|
@@ -210,7 +210,7 @@ export type CreateImageVariationLoadBalancerRouterImagesVariations1 = {
|
|
|
210
210
|
};
|
|
211
211
|
|
|
212
212
|
/**
|
|
213
|
-
*
|
|
213
|
+
* Array of models with weights for load balancing requests
|
|
214
214
|
*/
|
|
215
215
|
export type CreateImageVariationRouterImagesVariationsLoadBalancer =
|
|
216
216
|
CreateImageVariationLoadBalancerRouterImagesVariations1;
|
|
@@ -259,7 +259,7 @@ export type CreateImageVariationOrq = {
|
|
|
259
259
|
*/
|
|
260
260
|
cache?: CreateImageVariationRouterImagesVariationsCache | undefined;
|
|
261
261
|
/**
|
|
262
|
-
*
|
|
262
|
+
* Array of models with weights for load balancing requests
|
|
263
263
|
*/
|
|
264
264
|
loadBalancer?:
|
|
265
265
|
| CreateImageVariationLoadBalancerRouterImagesVariations1
|
|
@@ -199,20 +199,6 @@ export type CreatePromptMessagesFunction = {
|
|
|
199
199
|
arguments?: string | undefined;
|
|
200
200
|
};
|
|
201
201
|
|
|
202
|
-
export type CreatePromptMessagesGoogle = {
|
|
203
|
-
/**
|
|
204
|
-
* Encrypted representation of the model internal reasoning state during function calling. Required by Gemini 3 models when continuing a conversation after a tool call. Takes precedence over the top-level `thought_signature` when both are set.
|
|
205
|
-
*/
|
|
206
|
-
thoughtSignature?: string | undefined;
|
|
207
|
-
};
|
|
208
|
-
|
|
209
|
-
/**
|
|
210
|
-
* Provider-specific extra content for the tool call.
|
|
211
|
-
*/
|
|
212
|
-
export type CreatePromptMessagesExtraContent = {
|
|
213
|
-
google?: CreatePromptMessagesGoogle | undefined;
|
|
214
|
-
};
|
|
215
|
-
|
|
216
202
|
export type CreatePromptMessagesToolCalls = {
|
|
217
203
|
/**
|
|
218
204
|
* The ID of the tool call.
|
|
@@ -227,10 +213,6 @@ export type CreatePromptMessagesToolCalls = {
|
|
|
227
213
|
* Encrypted representation of the model internal reasoning state during function calling. Required by Gemini 3 models when continuing a conversation after a tool call.
|
|
228
214
|
*/
|
|
229
215
|
thoughtSignature?: string | undefined;
|
|
230
|
-
/**
|
|
231
|
-
* Provider-specific extra content for the tool call.
|
|
232
|
-
*/
|
|
233
|
-
extraContent?: CreatePromptMessagesExtraContent | undefined;
|
|
234
216
|
};
|
|
235
217
|
|
|
236
218
|
export type CreatePromptMessagesAssistantMessage = {
|
|
@@ -2106,20 +2088,6 @@ export type CreatePromptMessagesPromptsFunction = {
|
|
|
2106
2088
|
arguments?: string | undefined;
|
|
2107
2089
|
};
|
|
2108
2090
|
|
|
2109
|
-
export type CreatePromptMessagesPromptsGoogle = {
|
|
2110
|
-
/**
|
|
2111
|
-
* Encrypted representation of the model internal reasoning state during function calling. Required by Gemini 3 models when continuing a conversation after a tool call. Takes precedence over the top-level `thought_signature` when both are set.
|
|
2112
|
-
*/
|
|
2113
|
-
thoughtSignature?: string | undefined;
|
|
2114
|
-
};
|
|
2115
|
-
|
|
2116
|
-
/**
|
|
2117
|
-
* Provider-specific extra content for the tool call.
|
|
2118
|
-
*/
|
|
2119
|
-
export type CreatePromptMessagesPromptsExtraContent = {
|
|
2120
|
-
google?: CreatePromptMessagesPromptsGoogle | undefined;
|
|
2121
|
-
};
|
|
2122
|
-
|
|
2123
2091
|
export type CreatePromptMessagesPromptsToolCalls = {
|
|
2124
2092
|
/**
|
|
2125
2093
|
* The ID of the tool call.
|
|
@@ -2134,10 +2102,6 @@ export type CreatePromptMessagesPromptsToolCalls = {
|
|
|
2134
2102
|
* Encrypted representation of the model internal reasoning state during function calling. Required by Gemini 3 models when continuing a conversation after a tool call.
|
|
2135
2103
|
*/
|
|
2136
2104
|
thoughtSignature?: string | undefined;
|
|
2137
|
-
/**
|
|
2138
|
-
* Provider-specific extra content for the tool call.
|
|
2139
|
-
*/
|
|
2140
|
-
extraContent?: CreatePromptMessagesPromptsExtraContent | undefined;
|
|
2141
2105
|
};
|
|
2142
2106
|
|
|
2143
2107
|
export type CreatePromptMessagesPromptsAssistantMessage = {
|
|
@@ -2869,63 +2833,12 @@ export function createPromptMessagesFunctionToJSON(
|
|
|
2869
2833
|
);
|
|
2870
2834
|
}
|
|
2871
2835
|
|
|
2872
|
-
/** @internal */
|
|
2873
|
-
export type CreatePromptMessagesGoogle$Outbound = {
|
|
2874
|
-
thought_signature?: string | undefined;
|
|
2875
|
-
};
|
|
2876
|
-
|
|
2877
|
-
/** @internal */
|
|
2878
|
-
export const CreatePromptMessagesGoogle$outboundSchema: z.ZodType<
|
|
2879
|
-
CreatePromptMessagesGoogle$Outbound,
|
|
2880
|
-
z.ZodTypeDef,
|
|
2881
|
-
CreatePromptMessagesGoogle
|
|
2882
|
-
> = z.object({
|
|
2883
|
-
thoughtSignature: z.string().optional(),
|
|
2884
|
-
}).transform((v) => {
|
|
2885
|
-
return remap$(v, {
|
|
2886
|
-
thoughtSignature: "thought_signature",
|
|
2887
|
-
});
|
|
2888
|
-
});
|
|
2889
|
-
|
|
2890
|
-
export function createPromptMessagesGoogleToJSON(
|
|
2891
|
-
createPromptMessagesGoogle: CreatePromptMessagesGoogle,
|
|
2892
|
-
): string {
|
|
2893
|
-
return JSON.stringify(
|
|
2894
|
-
CreatePromptMessagesGoogle$outboundSchema.parse(createPromptMessagesGoogle),
|
|
2895
|
-
);
|
|
2896
|
-
}
|
|
2897
|
-
|
|
2898
|
-
/** @internal */
|
|
2899
|
-
export type CreatePromptMessagesExtraContent$Outbound = {
|
|
2900
|
-
google?: CreatePromptMessagesGoogle$Outbound | undefined;
|
|
2901
|
-
};
|
|
2902
|
-
|
|
2903
|
-
/** @internal */
|
|
2904
|
-
export const CreatePromptMessagesExtraContent$outboundSchema: z.ZodType<
|
|
2905
|
-
CreatePromptMessagesExtraContent$Outbound,
|
|
2906
|
-
z.ZodTypeDef,
|
|
2907
|
-
CreatePromptMessagesExtraContent
|
|
2908
|
-
> = z.object({
|
|
2909
|
-
google: z.lazy(() => CreatePromptMessagesGoogle$outboundSchema).optional(),
|
|
2910
|
-
});
|
|
2911
|
-
|
|
2912
|
-
export function createPromptMessagesExtraContentToJSON(
|
|
2913
|
-
createPromptMessagesExtraContent: CreatePromptMessagesExtraContent,
|
|
2914
|
-
): string {
|
|
2915
|
-
return JSON.stringify(
|
|
2916
|
-
CreatePromptMessagesExtraContent$outboundSchema.parse(
|
|
2917
|
-
createPromptMessagesExtraContent,
|
|
2918
|
-
),
|
|
2919
|
-
);
|
|
2920
|
-
}
|
|
2921
|
-
|
|
2922
2836
|
/** @internal */
|
|
2923
2837
|
export type CreatePromptMessagesToolCalls$Outbound = {
|
|
2924
2838
|
id: string;
|
|
2925
2839
|
type: string;
|
|
2926
2840
|
function: CreatePromptMessagesFunction$Outbound;
|
|
2927
2841
|
thought_signature?: string | undefined;
|
|
2928
|
-
extra_content?: CreatePromptMessagesExtraContent$Outbound | undefined;
|
|
2929
2842
|
};
|
|
2930
2843
|
|
|
2931
2844
|
/** @internal */
|
|
@@ -2938,12 +2851,9 @@ export const CreatePromptMessagesToolCalls$outboundSchema: z.ZodType<
|
|
|
2938
2851
|
type: CreatePromptMessagesType$outboundSchema,
|
|
2939
2852
|
function: z.lazy(() => CreatePromptMessagesFunction$outboundSchema),
|
|
2940
2853
|
thoughtSignature: z.string().optional(),
|
|
2941
|
-
extraContent: z.lazy(() => CreatePromptMessagesExtraContent$outboundSchema)
|
|
2942
|
-
.optional(),
|
|
2943
2854
|
}).transform((v) => {
|
|
2944
2855
|
return remap$(v, {
|
|
2945
2856
|
thoughtSignature: "thought_signature",
|
|
2946
|
-
extraContent: "extra_content",
|
|
2947
2857
|
});
|
|
2948
2858
|
});
|
|
2949
2859
|
|
|
@@ -5465,55 +5375,6 @@ export function createPromptMessagesPromptsFunctionFromJSON(
|
|
|
5465
5375
|
);
|
|
5466
5376
|
}
|
|
5467
5377
|
|
|
5468
|
-
/** @internal */
|
|
5469
|
-
export const CreatePromptMessagesPromptsGoogle$inboundSchema: z.ZodType<
|
|
5470
|
-
CreatePromptMessagesPromptsGoogle,
|
|
5471
|
-
z.ZodTypeDef,
|
|
5472
|
-
unknown
|
|
5473
|
-
> = z.object({
|
|
5474
|
-
thought_signature: z.string().optional(),
|
|
5475
|
-
}).transform((v) => {
|
|
5476
|
-
return remap$(v, {
|
|
5477
|
-
"thought_signature": "thoughtSignature",
|
|
5478
|
-
});
|
|
5479
|
-
});
|
|
5480
|
-
|
|
5481
|
-
export function createPromptMessagesPromptsGoogleFromJSON(
|
|
5482
|
-
jsonString: string,
|
|
5483
|
-
): SafeParseResult<CreatePromptMessagesPromptsGoogle, SDKValidationError> {
|
|
5484
|
-
return safeParse(
|
|
5485
|
-
jsonString,
|
|
5486
|
-
(x) => CreatePromptMessagesPromptsGoogle$inboundSchema.parse(JSON.parse(x)),
|
|
5487
|
-
`Failed to parse 'CreatePromptMessagesPromptsGoogle' from JSON`,
|
|
5488
|
-
);
|
|
5489
|
-
}
|
|
5490
|
-
|
|
5491
|
-
/** @internal */
|
|
5492
|
-
export const CreatePromptMessagesPromptsExtraContent$inboundSchema: z.ZodType<
|
|
5493
|
-
CreatePromptMessagesPromptsExtraContent,
|
|
5494
|
-
z.ZodTypeDef,
|
|
5495
|
-
unknown
|
|
5496
|
-
> = z.object({
|
|
5497
|
-
google: z.lazy(() => CreatePromptMessagesPromptsGoogle$inboundSchema)
|
|
5498
|
-
.optional(),
|
|
5499
|
-
});
|
|
5500
|
-
|
|
5501
|
-
export function createPromptMessagesPromptsExtraContentFromJSON(
|
|
5502
|
-
jsonString: string,
|
|
5503
|
-
): SafeParseResult<
|
|
5504
|
-
CreatePromptMessagesPromptsExtraContent,
|
|
5505
|
-
SDKValidationError
|
|
5506
|
-
> {
|
|
5507
|
-
return safeParse(
|
|
5508
|
-
jsonString,
|
|
5509
|
-
(x) =>
|
|
5510
|
-
CreatePromptMessagesPromptsExtraContent$inboundSchema.parse(
|
|
5511
|
-
JSON.parse(x),
|
|
5512
|
-
),
|
|
5513
|
-
`Failed to parse 'CreatePromptMessagesPromptsExtraContent' from JSON`,
|
|
5514
|
-
);
|
|
5515
|
-
}
|
|
5516
|
-
|
|
5517
5378
|
/** @internal */
|
|
5518
5379
|
export const CreatePromptMessagesPromptsToolCalls$inboundSchema: z.ZodType<
|
|
5519
5380
|
CreatePromptMessagesPromptsToolCalls,
|
|
@@ -5524,13 +5385,9 @@ export const CreatePromptMessagesPromptsToolCalls$inboundSchema: z.ZodType<
|
|
|
5524
5385
|
type: CreatePromptMessagesPromptsResponseType$inboundSchema,
|
|
5525
5386
|
function: z.lazy(() => CreatePromptMessagesPromptsFunction$inboundSchema),
|
|
5526
5387
|
thought_signature: z.string().optional(),
|
|
5527
|
-
extra_content: z.lazy(() =>
|
|
5528
|
-
CreatePromptMessagesPromptsExtraContent$inboundSchema
|
|
5529
|
-
).optional(),
|
|
5530
5388
|
}).transform((v) => {
|
|
5531
5389
|
return remap$(v, {
|
|
5532
5390
|
"thought_signature": "thoughtSignature",
|
|
5533
|
-
"extra_content": "extraContent",
|
|
5534
5391
|
});
|
|
5535
5392
|
});
|
|
5536
5393
|
|
|
@@ -148,7 +148,7 @@ export type CreateRerankLoadBalancerRouterRerank1 = {
|
|
|
148
148
|
};
|
|
149
149
|
|
|
150
150
|
/**
|
|
151
|
-
*
|
|
151
|
+
* Array of models with weights for load balancing requests
|
|
152
152
|
*/
|
|
153
153
|
export type CreateRerankRouterRerankLoadBalancer =
|
|
154
154
|
CreateRerankLoadBalancerRouterRerank1;
|
|
@@ -191,7 +191,7 @@ export type CreateRerankOrq = {
|
|
|
191
191
|
*/
|
|
192
192
|
contact?: components.PublicContact | undefined;
|
|
193
193
|
/**
|
|
194
|
-
*
|
|
194
|
+
* Array of models with weights for load balancing requests
|
|
195
195
|
*/
|
|
196
196
|
loadBalancer?: CreateRerankLoadBalancerRouterRerank1 | undefined;
|
|
197
197
|
/**
|
|
@@ -367,7 +367,7 @@ export type InputRole = ClosedEnum<typeof InputRole>;
|
|
|
367
367
|
/**
|
|
368
368
|
* The status of a model-generated input item.
|
|
369
369
|
*/
|
|
370
|
-
export const
|
|
370
|
+
export const Status = {
|
|
371
371
|
InProgress: "in_progress",
|
|
372
372
|
Completed: "completed",
|
|
373
373
|
Incomplete: "incomplete",
|
|
@@ -375,7 +375,7 @@ export const InputStatus = {
|
|
|
375
375
|
/**
|
|
376
376
|
* The status of a model-generated input item.
|
|
377
377
|
*/
|
|
378
|
-
export type
|
|
378
|
+
export type Status = ClosedEnum<typeof Status>;
|
|
379
379
|
|
|
380
380
|
/**
|
|
381
381
|
* The type of item.
|
|
@@ -456,7 +456,7 @@ export type CreateRouterResponseInput2 = {
|
|
|
456
456
|
/**
|
|
457
457
|
* The status of a model-generated input item.
|
|
458
458
|
*/
|
|
459
|
-
status?:
|
|
459
|
+
status?: Status | undefined;
|
|
460
460
|
/**
|
|
461
461
|
* The type of item.
|
|
462
462
|
*/
|
|
@@ -1476,8 +1476,8 @@ export const InputRole$outboundSchema: z.ZodNativeEnum<typeof InputRole> = z
|
|
|
1476
1476
|
.nativeEnum(InputRole);
|
|
1477
1477
|
|
|
1478
1478
|
/** @internal */
|
|
1479
|
-
export const
|
|
1480
|
-
.nativeEnum(
|
|
1479
|
+
export const Status$outboundSchema: z.ZodNativeEnum<typeof Status> = z
|
|
1480
|
+
.nativeEnum(Status);
|
|
1481
1481
|
|
|
1482
1482
|
/** @internal */
|
|
1483
1483
|
export const InputType$outboundSchema: z.ZodNativeEnum<typeof InputType> = z
|
|
@@ -1523,7 +1523,7 @@ export const CreateRouterResponseInput2$outboundSchema: z.ZodType<
|
|
|
1523
1523
|
output: z.string().optional(),
|
|
1524
1524
|
reasoning: z.lazy(() => Reasoning$outboundSchema).optional(),
|
|
1525
1525
|
role: InputRole$outboundSchema.optional(),
|
|
1526
|
-
status:
|
|
1526
|
+
status: Status$outboundSchema.optional(),
|
|
1527
1527
|
type: InputType$outboundSchema.optional(),
|
|
1528
1528
|
}).transform((v) => {
|
|
1529
1529
|
return remap$(v, {
|
|
@@ -143,7 +143,7 @@ export type CreateSpeechLoadBalancerRouterAudioSpeech1 = {
|
|
|
143
143
|
};
|
|
144
144
|
|
|
145
145
|
/**
|
|
146
|
-
*
|
|
146
|
+
* Array of models with weights for load balancing requests
|
|
147
147
|
*/
|
|
148
148
|
export type CreateSpeechRouterAudioSpeechLoadBalancer =
|
|
149
149
|
CreateSpeechLoadBalancerRouterAudioSpeech1;
|
|
@@ -186,7 +186,7 @@ export type CreateSpeechOrq = {
|
|
|
186
186
|
*/
|
|
187
187
|
thread?: CreateSpeechThread | undefined;
|
|
188
188
|
/**
|
|
189
|
-
*
|
|
189
|
+
* Array of models with weights for load balancing requests
|
|
190
190
|
*/
|
|
191
191
|
loadBalancer?: CreateSpeechLoadBalancerRouterAudioSpeech1 | undefined;
|
|
192
192
|
/**
|
|
@@ -1575,7 +1575,7 @@ export const ResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
1575
1575
|
z.ZodTypeDef,
|
|
1576
1576
|
unknown
|
|
1577
1577
|
> = z.object({
|
|
1578
|
-
_id: z.string().default("
|
|
1578
|
+
_id: z.string().default("tool_01M3JB73VCJ5P3FXG7TAYVP83D"),
|
|
1579
1579
|
path: z.string(),
|
|
1580
1580
|
key: z.string(),
|
|
1581
1581
|
display_name: z.string().optional(),
|
|
@@ -1761,7 +1761,7 @@ export const ResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
1761
1761
|
z.ZodTypeDef,
|
|
1762
1762
|
unknown
|
|
1763
1763
|
> = z.object({
|
|
1764
|
-
_id: z.string().default("
|
|
1764
|
+
_id: z.string().default("tool_01M3JB73VB7V3464P6ZYYB7JAB"),
|
|
1765
1765
|
path: z.string(),
|
|
1766
1766
|
key: z.string(),
|
|
1767
1767
|
display_name: z.string().optional(),
|
|
@@ -1854,7 +1854,7 @@ export const ResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
1854
1854
|
z.ZodTypeDef,
|
|
1855
1855
|
unknown
|
|
1856
1856
|
> = z.object({
|
|
1857
|
-
_id: z.string().default("
|
|
1857
|
+
_id: z.string().default("tool_01M3JB73VB1Y820P311GS2TY8X"),
|
|
1858
1858
|
path: z.string(),
|
|
1859
1859
|
key: z.string(),
|
|
1860
1860
|
display_name: z.string().optional(),
|
|
@@ -1955,7 +1955,7 @@ export const ResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
1955
1955
|
z.ZodTypeDef,
|
|
1956
1956
|
unknown
|
|
1957
1957
|
> = z.object({
|
|
1958
|
-
_id: z.string().default("
|
|
1958
|
+
_id: z.string().default("tool_01M3JB73VBFDK92MQPMWH8TWGH"),
|
|
1959
1959
|
path: z.string(),
|
|
1960
1960
|
key: z.string(),
|
|
1961
1961
|
display_name: z.string().optional(),
|
|
@@ -152,7 +152,7 @@ export type CreateTranscriptionLoadBalancerRouterAudioTranscriptions1 = {
|
|
|
152
152
|
};
|
|
153
153
|
|
|
154
154
|
/**
|
|
155
|
-
*
|
|
155
|
+
* Array of models with weights for load balancing requests
|
|
156
156
|
*/
|
|
157
157
|
export type CreateTranscriptionRouterAudioTranscriptionsLoadBalancer =
|
|
158
158
|
CreateTranscriptionLoadBalancerRouterAudioTranscriptions1;
|
|
@@ -193,7 +193,7 @@ export type CreateTranscriptionOrq = {
|
|
|
193
193
|
*/
|
|
194
194
|
contact?: components.PublicContact | undefined;
|
|
195
195
|
/**
|
|
196
|
-
*
|
|
196
|
+
* Array of models with weights for load balancing requests
|
|
197
197
|
*/
|
|
198
198
|
loadBalancer?:
|
|
199
199
|
| CreateTranscriptionLoadBalancerRouterAudioTranscriptions1
|
|
@@ -146,7 +146,7 @@ export type CreateTranslationLoadBalancerRouterAudioTranslations1 = {
|
|
|
146
146
|
};
|
|
147
147
|
|
|
148
148
|
/**
|
|
149
|
-
*
|
|
149
|
+
* Array of models with weights for load balancing requests
|
|
150
150
|
*/
|
|
151
151
|
export type CreateTranslationRouterAudioTranslationsLoadBalancer =
|
|
152
152
|
CreateTranslationLoadBalancerRouterAudioTranslations1;
|
|
@@ -187,7 +187,7 @@ export type CreateTranslationOrq = {
|
|
|
187
187
|
*/
|
|
188
188
|
contact?: components.PublicContact | undefined;
|
|
189
189
|
/**
|
|
190
|
-
*
|
|
190
|
+
* Array of models with weights for load balancing requests
|
|
191
191
|
*/
|
|
192
192
|
loadBalancer?:
|
|
193
193
|
| CreateTranslationLoadBalancerRouterAudioTranslations1
|
|
@@ -6,7 +6,13 @@ import * as z from "zod/v3";
|
|
|
6
6
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
7
|
|
|
8
8
|
export type DeleteDatapointRequest = {
|
|
9
|
+
/**
|
|
10
|
+
* The unique identifier of the dataset
|
|
11
|
+
*/
|
|
9
12
|
datasetId: string;
|
|
13
|
+
/**
|
|
14
|
+
* The unique identifier of the datapoint
|
|
15
|
+
*/
|
|
10
16
|
datapointId: string;
|
|
11
17
|
};
|
|
12
18
|
|
|
@@ -147,20 +147,6 @@ export type PrefixMessagesFunction = {
|
|
|
147
147
|
arguments?: string | undefined;
|
|
148
148
|
};
|
|
149
149
|
|
|
150
|
-
export type PrefixMessagesGoogle = {
|
|
151
|
-
/**
|
|
152
|
-
* Encrypted representation of the model internal reasoning state during function calling. Required by Gemini 3 models when continuing a conversation after a tool call. Takes precedence over the top-level `thought_signature` when both are set.
|
|
153
|
-
*/
|
|
154
|
-
thoughtSignature?: string | undefined;
|
|
155
|
-
};
|
|
156
|
-
|
|
157
|
-
/**
|
|
158
|
-
* Provider-specific extra content for the tool call.
|
|
159
|
-
*/
|
|
160
|
-
export type PrefixMessagesExtraContent = {
|
|
161
|
-
google?: PrefixMessagesGoogle | undefined;
|
|
162
|
-
};
|
|
163
|
-
|
|
164
150
|
export type PrefixMessagesToolCalls = {
|
|
165
151
|
/**
|
|
166
152
|
* The ID of the tool call.
|
|
@@ -175,10 +161,6 @@ export type PrefixMessagesToolCalls = {
|
|
|
175
161
|
* Encrypted representation of the model internal reasoning state during function calling. Required by Gemini 3 models when continuing a conversation after a tool call.
|
|
176
162
|
*/
|
|
177
163
|
thoughtSignature?: string | undefined;
|
|
178
|
-
/**
|
|
179
|
-
* Provider-specific extra content for the tool call.
|
|
180
|
-
*/
|
|
181
|
-
extraContent?: PrefixMessagesExtraContent | undefined;
|
|
182
164
|
};
|
|
183
165
|
|
|
184
166
|
export type PrefixMessagesAssistantMessage = {
|
|
@@ -523,20 +505,6 @@ export type DeploymentGetConfigMessagesFunction = {
|
|
|
523
505
|
arguments?: string | undefined;
|
|
524
506
|
};
|
|
525
507
|
|
|
526
|
-
export type DeploymentGetConfigMessagesGoogle = {
|
|
527
|
-
/**
|
|
528
|
-
* Encrypted representation of the model internal reasoning state during function calling. Required by Gemini 3 models when continuing a conversation after a tool call. Takes precedence over the top-level `thought_signature` when both are set.
|
|
529
|
-
*/
|
|
530
|
-
thoughtSignature?: string | undefined;
|
|
531
|
-
};
|
|
532
|
-
|
|
533
|
-
/**
|
|
534
|
-
* Provider-specific extra content for the tool call.
|
|
535
|
-
*/
|
|
536
|
-
export type DeploymentGetConfigMessagesExtraContent = {
|
|
537
|
-
google?: DeploymentGetConfigMessagesGoogle | undefined;
|
|
538
|
-
};
|
|
539
|
-
|
|
540
508
|
export type DeploymentGetConfigMessagesToolCalls = {
|
|
541
509
|
/**
|
|
542
510
|
* The ID of the tool call.
|
|
@@ -551,10 +519,6 @@ export type DeploymentGetConfigMessagesToolCalls = {
|
|
|
551
519
|
* Encrypted representation of the model internal reasoning state during function calling. Required by Gemini 3 models when continuing a conversation after a tool call.
|
|
552
520
|
*/
|
|
553
521
|
thoughtSignature?: string | undefined;
|
|
554
|
-
/**
|
|
555
|
-
* Provider-specific extra content for the tool call.
|
|
556
|
-
*/
|
|
557
|
-
extraContent?: DeploymentGetConfigMessagesExtraContent | undefined;
|
|
558
522
|
};
|
|
559
523
|
|
|
560
524
|
export type DeploymentGetConfigMessagesAssistantMessage = {
|
|
@@ -1987,61 +1951,12 @@ export function prefixMessagesFunctionToJSON(
|
|
|
1987
1951
|
);
|
|
1988
1952
|
}
|
|
1989
1953
|
|
|
1990
|
-
/** @internal */
|
|
1991
|
-
export type PrefixMessagesGoogle$Outbound = {
|
|
1992
|
-
thought_signature?: string | undefined;
|
|
1993
|
-
};
|
|
1994
|
-
|
|
1995
|
-
/** @internal */
|
|
1996
|
-
export const PrefixMessagesGoogle$outboundSchema: z.ZodType<
|
|
1997
|
-
PrefixMessagesGoogle$Outbound,
|
|
1998
|
-
z.ZodTypeDef,
|
|
1999
|
-
PrefixMessagesGoogle
|
|
2000
|
-
> = z.object({
|
|
2001
|
-
thoughtSignature: z.string().optional(),
|
|
2002
|
-
}).transform((v) => {
|
|
2003
|
-
return remap$(v, {
|
|
2004
|
-
thoughtSignature: "thought_signature",
|
|
2005
|
-
});
|
|
2006
|
-
});
|
|
2007
|
-
|
|
2008
|
-
export function prefixMessagesGoogleToJSON(
|
|
2009
|
-
prefixMessagesGoogle: PrefixMessagesGoogle,
|
|
2010
|
-
): string {
|
|
2011
|
-
return JSON.stringify(
|
|
2012
|
-
PrefixMessagesGoogle$outboundSchema.parse(prefixMessagesGoogle),
|
|
2013
|
-
);
|
|
2014
|
-
}
|
|
2015
|
-
|
|
2016
|
-
/** @internal */
|
|
2017
|
-
export type PrefixMessagesExtraContent$Outbound = {
|
|
2018
|
-
google?: PrefixMessagesGoogle$Outbound | undefined;
|
|
2019
|
-
};
|
|
2020
|
-
|
|
2021
|
-
/** @internal */
|
|
2022
|
-
export const PrefixMessagesExtraContent$outboundSchema: z.ZodType<
|
|
2023
|
-
PrefixMessagesExtraContent$Outbound,
|
|
2024
|
-
z.ZodTypeDef,
|
|
2025
|
-
PrefixMessagesExtraContent
|
|
2026
|
-
> = z.object({
|
|
2027
|
-
google: z.lazy(() => PrefixMessagesGoogle$outboundSchema).optional(),
|
|
2028
|
-
});
|
|
2029
|
-
|
|
2030
|
-
export function prefixMessagesExtraContentToJSON(
|
|
2031
|
-
prefixMessagesExtraContent: PrefixMessagesExtraContent,
|
|
2032
|
-
): string {
|
|
2033
|
-
return JSON.stringify(
|
|
2034
|
-
PrefixMessagesExtraContent$outboundSchema.parse(prefixMessagesExtraContent),
|
|
2035
|
-
);
|
|
2036
|
-
}
|
|
2037
|
-
|
|
2038
1954
|
/** @internal */
|
|
2039
1955
|
export type PrefixMessagesToolCalls$Outbound = {
|
|
2040
1956
|
id: string;
|
|
2041
1957
|
type: string;
|
|
2042
1958
|
function: PrefixMessagesFunction$Outbound;
|
|
2043
1959
|
thought_signature?: string | undefined;
|
|
2044
|
-
extra_content?: PrefixMessagesExtraContent$Outbound | undefined;
|
|
2045
1960
|
};
|
|
2046
1961
|
|
|
2047
1962
|
/** @internal */
|
|
@@ -2054,12 +1969,9 @@ export const PrefixMessagesToolCalls$outboundSchema: z.ZodType<
|
|
|
2054
1969
|
type: DeploymentGetConfigPrefixMessagesType$outboundSchema,
|
|
2055
1970
|
function: z.lazy(() => PrefixMessagesFunction$outboundSchema),
|
|
2056
1971
|
thoughtSignature: z.string().optional(),
|
|
2057
|
-
extraContent: z.lazy(() => PrefixMessagesExtraContent$outboundSchema)
|
|
2058
|
-
.optional(),
|
|
2059
1972
|
}).transform((v) => {
|
|
2060
1973
|
return remap$(v, {
|
|
2061
1974
|
thoughtSignature: "thought_signature",
|
|
2062
|
-
extraContent: "extra_content",
|
|
2063
1975
|
});
|
|
2064
1976
|
});
|
|
2065
1977
|
|
|
@@ -2720,67 +2632,12 @@ export function deploymentGetConfigMessagesFunctionToJSON(
|
|
|
2720
2632
|
);
|
|
2721
2633
|
}
|
|
2722
2634
|
|
|
2723
|
-
/** @internal */
|
|
2724
|
-
export type DeploymentGetConfigMessagesGoogle$Outbound = {
|
|
2725
|
-
thought_signature?: string | undefined;
|
|
2726
|
-
};
|
|
2727
|
-
|
|
2728
|
-
/** @internal */
|
|
2729
|
-
export const DeploymentGetConfigMessagesGoogle$outboundSchema: z.ZodType<
|
|
2730
|
-
DeploymentGetConfigMessagesGoogle$Outbound,
|
|
2731
|
-
z.ZodTypeDef,
|
|
2732
|
-
DeploymentGetConfigMessagesGoogle
|
|
2733
|
-
> = z.object({
|
|
2734
|
-
thoughtSignature: z.string().optional(),
|
|
2735
|
-
}).transform((v) => {
|
|
2736
|
-
return remap$(v, {
|
|
2737
|
-
thoughtSignature: "thought_signature",
|
|
2738
|
-
});
|
|
2739
|
-
});
|
|
2740
|
-
|
|
2741
|
-
export function deploymentGetConfigMessagesGoogleToJSON(
|
|
2742
|
-
deploymentGetConfigMessagesGoogle: DeploymentGetConfigMessagesGoogle,
|
|
2743
|
-
): string {
|
|
2744
|
-
return JSON.stringify(
|
|
2745
|
-
DeploymentGetConfigMessagesGoogle$outboundSchema.parse(
|
|
2746
|
-
deploymentGetConfigMessagesGoogle,
|
|
2747
|
-
),
|
|
2748
|
-
);
|
|
2749
|
-
}
|
|
2750
|
-
|
|
2751
|
-
/** @internal */
|
|
2752
|
-
export type DeploymentGetConfigMessagesExtraContent$Outbound = {
|
|
2753
|
-
google?: DeploymentGetConfigMessagesGoogle$Outbound | undefined;
|
|
2754
|
-
};
|
|
2755
|
-
|
|
2756
|
-
/** @internal */
|
|
2757
|
-
export const DeploymentGetConfigMessagesExtraContent$outboundSchema: z.ZodType<
|
|
2758
|
-
DeploymentGetConfigMessagesExtraContent$Outbound,
|
|
2759
|
-
z.ZodTypeDef,
|
|
2760
|
-
DeploymentGetConfigMessagesExtraContent
|
|
2761
|
-
> = z.object({
|
|
2762
|
-
google: z.lazy(() => DeploymentGetConfigMessagesGoogle$outboundSchema)
|
|
2763
|
-
.optional(),
|
|
2764
|
-
});
|
|
2765
|
-
|
|
2766
|
-
export function deploymentGetConfigMessagesExtraContentToJSON(
|
|
2767
|
-
deploymentGetConfigMessagesExtraContent:
|
|
2768
|
-
DeploymentGetConfigMessagesExtraContent,
|
|
2769
|
-
): string {
|
|
2770
|
-
return JSON.stringify(
|
|
2771
|
-
DeploymentGetConfigMessagesExtraContent$outboundSchema.parse(
|
|
2772
|
-
deploymentGetConfigMessagesExtraContent,
|
|
2773
|
-
),
|
|
2774
|
-
);
|
|
2775
|
-
}
|
|
2776
|
-
|
|
2777
2635
|
/** @internal */
|
|
2778
2636
|
export type DeploymentGetConfigMessagesToolCalls$Outbound = {
|
|
2779
2637
|
id: string;
|
|
2780
2638
|
type: string;
|
|
2781
2639
|
function: DeploymentGetConfigMessagesFunction$Outbound;
|
|
2782
2640
|
thought_signature?: string | undefined;
|
|
2783
|
-
extra_content?: DeploymentGetConfigMessagesExtraContent$Outbound | undefined;
|
|
2784
2641
|
};
|
|
2785
2642
|
|
|
2786
2643
|
/** @internal */
|
|
@@ -2793,13 +2650,9 @@ export const DeploymentGetConfigMessagesToolCalls$outboundSchema: z.ZodType<
|
|
|
2793
2650
|
type: DeploymentGetConfigMessagesType$outboundSchema,
|
|
2794
2651
|
function: z.lazy(() => DeploymentGetConfigMessagesFunction$outboundSchema),
|
|
2795
2652
|
thoughtSignature: z.string().optional(),
|
|
2796
|
-
extraContent: z.lazy(() =>
|
|
2797
|
-
DeploymentGetConfigMessagesExtraContent$outboundSchema
|
|
2798
|
-
).optional(),
|
|
2799
2653
|
}).transform((v) => {
|
|
2800
2654
|
return remap$(v, {
|
|
2801
2655
|
thoughtSignature: "thought_signature",
|
|
2802
|
-
extraContent: "extra_content",
|
|
2803
2656
|
});
|
|
2804
2657
|
});
|
|
2805
2658
|
|
|
@@ -15,11 +15,11 @@ export type DeploymentsRequest = {
|
|
|
15
15
|
*/
|
|
16
16
|
limit?: number | undefined;
|
|
17
17
|
/**
|
|
18
|
-
* A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, ending with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `
|
|
18
|
+
* A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, ending with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `after=01JJ1HDHN79XAS7A01WB3HYSDB` in order to fetch the next page of the list.
|
|
19
19
|
*/
|
|
20
20
|
startingAfter?: string | undefined;
|
|
21
21
|
/**
|
|
22
|
-
* A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, starting with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `
|
|
22
|
+
* A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, starting with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `before=01JJ1HDHN79XAS7A01WB3HYSDB` in order to fetch the previous page of the list.
|
|
23
23
|
*/
|
|
24
24
|
endingBefore?: string | undefined;
|
|
25
25
|
};
|