@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
|
@@ -142,20 +142,6 @@ export type FunctionT = {
|
|
|
142
142
|
arguments?: string | undefined;
|
|
143
143
|
};
|
|
144
144
|
|
|
145
|
-
export type Google = {
|
|
146
|
-
/**
|
|
147
|
-
* 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.
|
|
148
|
-
*/
|
|
149
|
-
thoughtSignature?: string | undefined;
|
|
150
|
-
};
|
|
151
|
-
|
|
152
|
-
/**
|
|
153
|
-
* Provider-specific extra content for the tool call.
|
|
154
|
-
*/
|
|
155
|
-
export type ExtraContent = {
|
|
156
|
-
google?: Google | undefined;
|
|
157
|
-
};
|
|
158
|
-
|
|
159
145
|
export type ToolCalls = {
|
|
160
146
|
/**
|
|
161
147
|
* The ID of the tool call.
|
|
@@ -170,10 +156,6 @@ export type ToolCalls = {
|
|
|
170
156
|
* Encrypted representation of the model internal reasoning state during function calling. Required by Gemini 3 models when continuing a conversation after a tool call.
|
|
171
157
|
*/
|
|
172
158
|
thoughtSignature?: string | undefined;
|
|
173
|
-
/**
|
|
174
|
-
* Provider-specific extra content for the tool call.
|
|
175
|
-
*/
|
|
176
|
-
extraContent?: ExtraContent | undefined;
|
|
177
159
|
};
|
|
178
160
|
|
|
179
161
|
export type AssistantMessage = {
|
|
@@ -508,20 +490,6 @@ export type MessagesFunction = {
|
|
|
508
490
|
arguments?: string | undefined;
|
|
509
491
|
};
|
|
510
492
|
|
|
511
|
-
export type MessagesGoogle = {
|
|
512
|
-
/**
|
|
513
|
-
* 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.
|
|
514
|
-
*/
|
|
515
|
-
thoughtSignature?: string | undefined;
|
|
516
|
-
};
|
|
517
|
-
|
|
518
|
-
/**
|
|
519
|
-
* Provider-specific extra content for the tool call.
|
|
520
|
-
*/
|
|
521
|
-
export type MessagesExtraContent = {
|
|
522
|
-
google?: MessagesGoogle | undefined;
|
|
523
|
-
};
|
|
524
|
-
|
|
525
493
|
export type MessagesToolCalls = {
|
|
526
494
|
/**
|
|
527
495
|
* The ID of the tool call.
|
|
@@ -536,10 +504,6 @@ export type MessagesToolCalls = {
|
|
|
536
504
|
* Encrypted representation of the model internal reasoning state during function calling. Required by Gemini 3 models when continuing a conversation after a tool call.
|
|
537
505
|
*/
|
|
538
506
|
thoughtSignature?: string | undefined;
|
|
539
|
-
/**
|
|
540
|
-
* Provider-specific extra content for the tool call.
|
|
541
|
-
*/
|
|
542
|
-
extraContent?: MessagesExtraContent | undefined;
|
|
543
507
|
};
|
|
544
508
|
|
|
545
509
|
export type MessagesAssistantMessage = {
|
|
@@ -1687,53 +1651,12 @@ export function functionToJSON(functionT: FunctionT): string {
|
|
|
1687
1651
|
return JSON.stringify(FunctionT$outboundSchema.parse(functionT));
|
|
1688
1652
|
}
|
|
1689
1653
|
|
|
1690
|
-
/** @internal */
|
|
1691
|
-
export type Google$Outbound = {
|
|
1692
|
-
thought_signature?: string | undefined;
|
|
1693
|
-
};
|
|
1694
|
-
|
|
1695
|
-
/** @internal */
|
|
1696
|
-
export const Google$outboundSchema: z.ZodType<
|
|
1697
|
-
Google$Outbound,
|
|
1698
|
-
z.ZodTypeDef,
|
|
1699
|
-
Google
|
|
1700
|
-
> = z.object({
|
|
1701
|
-
thoughtSignature: z.string().optional(),
|
|
1702
|
-
}).transform((v) => {
|
|
1703
|
-
return remap$(v, {
|
|
1704
|
-
thoughtSignature: "thought_signature",
|
|
1705
|
-
});
|
|
1706
|
-
});
|
|
1707
|
-
|
|
1708
|
-
export function googleToJSON(google: Google): string {
|
|
1709
|
-
return JSON.stringify(Google$outboundSchema.parse(google));
|
|
1710
|
-
}
|
|
1711
|
-
|
|
1712
|
-
/** @internal */
|
|
1713
|
-
export type ExtraContent$Outbound = {
|
|
1714
|
-
google?: Google$Outbound | undefined;
|
|
1715
|
-
};
|
|
1716
|
-
|
|
1717
|
-
/** @internal */
|
|
1718
|
-
export const ExtraContent$outboundSchema: z.ZodType<
|
|
1719
|
-
ExtraContent$Outbound,
|
|
1720
|
-
z.ZodTypeDef,
|
|
1721
|
-
ExtraContent
|
|
1722
|
-
> = z.object({
|
|
1723
|
-
google: z.lazy(() => Google$outboundSchema).optional(),
|
|
1724
|
-
});
|
|
1725
|
-
|
|
1726
|
-
export function extraContentToJSON(extraContent: ExtraContent): string {
|
|
1727
|
-
return JSON.stringify(ExtraContent$outboundSchema.parse(extraContent));
|
|
1728
|
-
}
|
|
1729
|
-
|
|
1730
1654
|
/** @internal */
|
|
1731
1655
|
export type ToolCalls$Outbound = {
|
|
1732
1656
|
id: string;
|
|
1733
1657
|
type: string;
|
|
1734
1658
|
function: FunctionT$Outbound;
|
|
1735
1659
|
thought_signature?: string | undefined;
|
|
1736
|
-
extra_content?: ExtraContent$Outbound | undefined;
|
|
1737
1660
|
};
|
|
1738
1661
|
|
|
1739
1662
|
/** @internal */
|
|
@@ -1746,11 +1669,9 @@ export const ToolCalls$outboundSchema: z.ZodType<
|
|
|
1746
1669
|
type: PrefixMessagesType$outboundSchema,
|
|
1747
1670
|
function: z.lazy(() => FunctionT$outboundSchema),
|
|
1748
1671
|
thoughtSignature: z.string().optional(),
|
|
1749
|
-
extraContent: z.lazy(() => ExtraContent$outboundSchema).optional(),
|
|
1750
1672
|
}).transform((v) => {
|
|
1751
1673
|
return remap$(v, {
|
|
1752
1674
|
thoughtSignature: "thought_signature",
|
|
1753
|
-
extraContent: "extra_content",
|
|
1754
1675
|
});
|
|
1755
1676
|
});
|
|
1756
1677
|
|
|
@@ -2333,57 +2254,12 @@ export function messagesFunctionToJSON(
|
|
|
2333
2254
|
);
|
|
2334
2255
|
}
|
|
2335
2256
|
|
|
2336
|
-
/** @internal */
|
|
2337
|
-
export type MessagesGoogle$Outbound = {
|
|
2338
|
-
thought_signature?: string | undefined;
|
|
2339
|
-
};
|
|
2340
|
-
|
|
2341
|
-
/** @internal */
|
|
2342
|
-
export const MessagesGoogle$outboundSchema: z.ZodType<
|
|
2343
|
-
MessagesGoogle$Outbound,
|
|
2344
|
-
z.ZodTypeDef,
|
|
2345
|
-
MessagesGoogle
|
|
2346
|
-
> = z.object({
|
|
2347
|
-
thoughtSignature: z.string().optional(),
|
|
2348
|
-
}).transform((v) => {
|
|
2349
|
-
return remap$(v, {
|
|
2350
|
-
thoughtSignature: "thought_signature",
|
|
2351
|
-
});
|
|
2352
|
-
});
|
|
2353
|
-
|
|
2354
|
-
export function messagesGoogleToJSON(messagesGoogle: MessagesGoogle): string {
|
|
2355
|
-
return JSON.stringify(MessagesGoogle$outboundSchema.parse(messagesGoogle));
|
|
2356
|
-
}
|
|
2357
|
-
|
|
2358
|
-
/** @internal */
|
|
2359
|
-
export type MessagesExtraContent$Outbound = {
|
|
2360
|
-
google?: MessagesGoogle$Outbound | undefined;
|
|
2361
|
-
};
|
|
2362
|
-
|
|
2363
|
-
/** @internal */
|
|
2364
|
-
export const MessagesExtraContent$outboundSchema: z.ZodType<
|
|
2365
|
-
MessagesExtraContent$Outbound,
|
|
2366
|
-
z.ZodTypeDef,
|
|
2367
|
-
MessagesExtraContent
|
|
2368
|
-
> = z.object({
|
|
2369
|
-
google: z.lazy(() => MessagesGoogle$outboundSchema).optional(),
|
|
2370
|
-
});
|
|
2371
|
-
|
|
2372
|
-
export function messagesExtraContentToJSON(
|
|
2373
|
-
messagesExtraContent: MessagesExtraContent,
|
|
2374
|
-
): string {
|
|
2375
|
-
return JSON.stringify(
|
|
2376
|
-
MessagesExtraContent$outboundSchema.parse(messagesExtraContent),
|
|
2377
|
-
);
|
|
2378
|
-
}
|
|
2379
|
-
|
|
2380
2257
|
/** @internal */
|
|
2381
2258
|
export type MessagesToolCalls$Outbound = {
|
|
2382
2259
|
id: string;
|
|
2383
2260
|
type: string;
|
|
2384
2261
|
function: MessagesFunction$Outbound;
|
|
2385
2262
|
thought_signature?: string | undefined;
|
|
2386
|
-
extra_content?: MessagesExtraContent$Outbound | undefined;
|
|
2387
2263
|
};
|
|
2388
2264
|
|
|
2389
2265
|
/** @internal */
|
|
@@ -2396,11 +2272,9 @@ export const MessagesToolCalls$outboundSchema: z.ZodType<
|
|
|
2396
2272
|
type: MessagesType$outboundSchema,
|
|
2397
2273
|
function: z.lazy(() => MessagesFunction$outboundSchema),
|
|
2398
2274
|
thoughtSignature: z.string().optional(),
|
|
2399
|
-
extraContent: z.lazy(() => MessagesExtraContent$outboundSchema).optional(),
|
|
2400
2275
|
}).transform((v) => {
|
|
2401
2276
|
return remap$(v, {
|
|
2402
2277
|
thoughtSignature: "thought_signature",
|
|
2403
|
-
extraContent: "extra_content",
|
|
2404
2278
|
});
|
|
2405
2279
|
});
|
|
2406
2280
|
|
|
@@ -7,21 +7,21 @@ import { remap as remap$ } from "../../lib/primitives.js";
|
|
|
7
7
|
|
|
8
8
|
export type FileListRequest = {
|
|
9
9
|
/**
|
|
10
|
-
* Page size
|
|
10
|
+
* Page size. Unset uses the server default.
|
|
11
11
|
*/
|
|
12
12
|
limit?: number | undefined;
|
|
13
13
|
/**
|
|
14
14
|
* Cursor for forward pagination. Set to the `file_id` of the last item
|
|
15
15
|
*
|
|
16
16
|
* @remarks
|
|
17
|
-
* from the previous page.
|
|
17
|
+
* from the previous page.
|
|
18
18
|
*/
|
|
19
19
|
startingAfter?: string | undefined;
|
|
20
20
|
/**
|
|
21
21
|
* Cursor for backward pagination. Set to the `file_id` of the first item
|
|
22
22
|
*
|
|
23
23
|
* @remarks
|
|
24
|
-
* from the previous page.
|
|
24
|
+
* from the previous page.
|
|
25
25
|
*/
|
|
26
26
|
endingBefore?: string | undefined;
|
|
27
27
|
projectId?: string | undefined;
|
|
@@ -11,15 +11,15 @@ export type GetAllMemoriesRequest = {
|
|
|
11
11
|
*/
|
|
12
12
|
memoryStoreKey: string;
|
|
13
13
|
/**
|
|
14
|
-
* A limit on the number of objects to be returned. Limit can range between 1 and
|
|
14
|
+
* A limit on the number of objects to be returned. Limit can range between 1 and 50, and the default is 10
|
|
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
|
/**
|
|
@@ -15,15 +15,15 @@ export type GetAllMemoryDocumentsRequest = {
|
|
|
15
15
|
*/
|
|
16
16
|
memoryEntityId: string;
|
|
17
17
|
/**
|
|
18
|
-
* A limit on the number of objects to be returned. Limit can range between 1 and
|
|
18
|
+
* A limit on the number of objects to be returned. Limit can range between 1 and 50, and the default is 10
|
|
19
19
|
*/
|
|
20
20
|
limit?: number | undefined;
|
|
21
21
|
/**
|
|
22
|
-
* 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 `
|
|
22
|
+
* 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.
|
|
23
23
|
*/
|
|
24
24
|
startingAfter?: string | undefined;
|
|
25
25
|
/**
|
|
26
|
-
* 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 `
|
|
26
|
+
* 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.
|
|
27
27
|
*/
|
|
28
28
|
endingBefore?: string | undefined;
|
|
29
29
|
/**
|
|
@@ -7,15 +7,15 @@ import { remap as remap$ } from "../../lib/primitives.js";
|
|
|
7
7
|
|
|
8
8
|
export type GetAllMemoryStoresRequest = {
|
|
9
9
|
/**
|
|
10
|
-
* A limit on the number of objects to be returned. Limit can range between 1 and
|
|
10
|
+
* A limit on the number of objects to be returned. Limit can range between 1 and 50, and the default is 10
|
|
11
11
|
*/
|
|
12
12
|
limit?: number | undefined;
|
|
13
13
|
/**
|
|
14
|
-
* 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 `
|
|
14
|
+
* 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.
|
|
15
15
|
*/
|
|
16
16
|
startingAfter?: string | undefined;
|
|
17
17
|
/**
|
|
18
|
-
* 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 `
|
|
18
|
+
* 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.
|
|
19
19
|
*/
|
|
20
20
|
endingBefore?: string | undefined;
|
|
21
21
|
/**
|
|
@@ -16,11 +16,11 @@ export type GetAllPromptsRequest = {
|
|
|
16
16
|
*/
|
|
17
17
|
limit?: number | undefined;
|
|
18
18
|
/**
|
|
19
|
-
* 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 `
|
|
19
|
+
* 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.
|
|
20
20
|
*/
|
|
21
21
|
startingAfter?: string | undefined;
|
|
22
22
|
/**
|
|
23
|
-
* 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 `
|
|
23
|
+
* 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.
|
|
24
24
|
*/
|
|
25
25
|
endingBefore?: string | undefined;
|
|
26
26
|
};
|
|
@@ -1134,20 +1134,6 @@ export type GetAllPromptsMessagesFunction = {
|
|
|
1134
1134
|
arguments?: string | undefined;
|
|
1135
1135
|
};
|
|
1136
1136
|
|
|
1137
|
-
export type GetAllPromptsMessagesGoogle = {
|
|
1138
|
-
/**
|
|
1139
|
-
* 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.
|
|
1140
|
-
*/
|
|
1141
|
-
thoughtSignature?: string | undefined;
|
|
1142
|
-
};
|
|
1143
|
-
|
|
1144
|
-
/**
|
|
1145
|
-
* Provider-specific extra content for the tool call.
|
|
1146
|
-
*/
|
|
1147
|
-
export type GetAllPromptsMessagesExtraContent = {
|
|
1148
|
-
google?: GetAllPromptsMessagesGoogle | undefined;
|
|
1149
|
-
};
|
|
1150
|
-
|
|
1151
1137
|
export type GetAllPromptsMessagesToolCalls = {
|
|
1152
1138
|
/**
|
|
1153
1139
|
* The ID of the tool call.
|
|
@@ -1162,10 +1148,6 @@ export type GetAllPromptsMessagesToolCalls = {
|
|
|
1162
1148
|
* Encrypted representation of the model internal reasoning state during function calling. Required by Gemini 3 models when continuing a conversation after a tool call.
|
|
1163
1149
|
*/
|
|
1164
1150
|
thoughtSignature?: string | undefined;
|
|
1165
|
-
/**
|
|
1166
|
-
* Provider-specific extra content for the tool call.
|
|
1167
|
-
*/
|
|
1168
|
-
extraContent?: GetAllPromptsMessagesExtraContent | undefined;
|
|
1169
1151
|
};
|
|
1170
1152
|
|
|
1171
1153
|
export type GetAllPromptsMessagesAssistantMessage = {
|
|
@@ -2973,48 +2955,6 @@ export function getAllPromptsMessagesFunctionFromJSON(
|
|
|
2973
2955
|
);
|
|
2974
2956
|
}
|
|
2975
2957
|
|
|
2976
|
-
/** @internal */
|
|
2977
|
-
export const GetAllPromptsMessagesGoogle$inboundSchema: z.ZodType<
|
|
2978
|
-
GetAllPromptsMessagesGoogle,
|
|
2979
|
-
z.ZodTypeDef,
|
|
2980
|
-
unknown
|
|
2981
|
-
> = z.object({
|
|
2982
|
-
thought_signature: z.string().optional(),
|
|
2983
|
-
}).transform((v) => {
|
|
2984
|
-
return remap$(v, {
|
|
2985
|
-
"thought_signature": "thoughtSignature",
|
|
2986
|
-
});
|
|
2987
|
-
});
|
|
2988
|
-
|
|
2989
|
-
export function getAllPromptsMessagesGoogleFromJSON(
|
|
2990
|
-
jsonString: string,
|
|
2991
|
-
): SafeParseResult<GetAllPromptsMessagesGoogle, SDKValidationError> {
|
|
2992
|
-
return safeParse(
|
|
2993
|
-
jsonString,
|
|
2994
|
-
(x) => GetAllPromptsMessagesGoogle$inboundSchema.parse(JSON.parse(x)),
|
|
2995
|
-
`Failed to parse 'GetAllPromptsMessagesGoogle' from JSON`,
|
|
2996
|
-
);
|
|
2997
|
-
}
|
|
2998
|
-
|
|
2999
|
-
/** @internal */
|
|
3000
|
-
export const GetAllPromptsMessagesExtraContent$inboundSchema: z.ZodType<
|
|
3001
|
-
GetAllPromptsMessagesExtraContent,
|
|
3002
|
-
z.ZodTypeDef,
|
|
3003
|
-
unknown
|
|
3004
|
-
> = z.object({
|
|
3005
|
-
google: z.lazy(() => GetAllPromptsMessagesGoogle$inboundSchema).optional(),
|
|
3006
|
-
});
|
|
3007
|
-
|
|
3008
|
-
export function getAllPromptsMessagesExtraContentFromJSON(
|
|
3009
|
-
jsonString: string,
|
|
3010
|
-
): SafeParseResult<GetAllPromptsMessagesExtraContent, SDKValidationError> {
|
|
3011
|
-
return safeParse(
|
|
3012
|
-
jsonString,
|
|
3013
|
-
(x) => GetAllPromptsMessagesExtraContent$inboundSchema.parse(JSON.parse(x)),
|
|
3014
|
-
`Failed to parse 'GetAllPromptsMessagesExtraContent' from JSON`,
|
|
3015
|
-
);
|
|
3016
|
-
}
|
|
3017
|
-
|
|
3018
2958
|
/** @internal */
|
|
3019
2959
|
export const GetAllPromptsMessagesToolCalls$inboundSchema: z.ZodType<
|
|
3020
2960
|
GetAllPromptsMessagesToolCalls,
|
|
@@ -3025,12 +2965,9 @@ export const GetAllPromptsMessagesToolCalls$inboundSchema: z.ZodType<
|
|
|
3025
2965
|
type: GetAllPromptsMessagesType$inboundSchema,
|
|
3026
2966
|
function: z.lazy(() => GetAllPromptsMessagesFunction$inboundSchema),
|
|
3027
2967
|
thought_signature: z.string().optional(),
|
|
3028
|
-
extra_content: z.lazy(() => GetAllPromptsMessagesExtraContent$inboundSchema)
|
|
3029
|
-
.optional(),
|
|
3030
2968
|
}).transform((v) => {
|
|
3031
2969
|
return remap$(v, {
|
|
3032
2970
|
"thought_signature": "thoughtSignature",
|
|
3033
|
-
"extra_content": "extraContent",
|
|
3034
2971
|
});
|
|
3035
2972
|
});
|
|
3036
2973
|
|
|
@@ -18,11 +18,11 @@ export type GetAllToolsRequest = {
|
|
|
18
18
|
*/
|
|
19
19
|
limit?: number | undefined;
|
|
20
20
|
/**
|
|
21
|
-
* 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 `
|
|
21
|
+
* 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.
|
|
22
22
|
*/
|
|
23
23
|
startingAfter?: string | undefined;
|
|
24
24
|
/**
|
|
25
|
-
* 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 `
|
|
25
|
+
* 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.
|
|
26
26
|
*/
|
|
27
27
|
endingBefore?: string | undefined;
|
|
28
28
|
};
|
|
@@ -639,7 +639,7 @@ export const DataCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
639
639
|
z.ZodTypeDef,
|
|
640
640
|
unknown
|
|
641
641
|
> = z.object({
|
|
642
|
-
_id: z.string().default("
|
|
642
|
+
_id: z.string().default("tool_01M3JB73V8RCHZ9K08Y2ZTG1P0"),
|
|
643
643
|
path: z.string(),
|
|
644
644
|
key: z.string(),
|
|
645
645
|
display_name: z.string().optional(),
|
|
@@ -821,7 +821,7 @@ export const DataHTTPTool$inboundSchema: z.ZodType<
|
|
|
821
821
|
z.ZodTypeDef,
|
|
822
822
|
unknown
|
|
823
823
|
> = z.object({
|
|
824
|
-
_id: z.string().default("
|
|
824
|
+
_id: z.string().default("tool_01M3JB73V8H548MY4TQRJMTTT2"),
|
|
825
825
|
path: z.string(),
|
|
826
826
|
key: z.string(),
|
|
827
827
|
display_name: z.string().optional(),
|
|
@@ -914,7 +914,7 @@ export const DataJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
914
914
|
z.ZodTypeDef,
|
|
915
915
|
unknown
|
|
916
916
|
> = z.object({
|
|
917
|
-
_id: z.string().default("
|
|
917
|
+
_id: z.string().default("tool_01M3JB73V89E9ZRS48F502H9C6"),
|
|
918
918
|
path: z.string(),
|
|
919
919
|
key: z.string(),
|
|
920
920
|
display_name: z.string().optional(),
|
|
@@ -1012,7 +1012,7 @@ export const DataFunctionTool$inboundSchema: z.ZodType<
|
|
|
1012
1012
|
z.ZodTypeDef,
|
|
1013
1013
|
unknown
|
|
1014
1014
|
> = z.object({
|
|
1015
|
-
_id: z.string().default("
|
|
1015
|
+
_id: z.string().default("tool_01M3JB73V74FMNTCTA4FKDAWJ8"),
|
|
1016
1016
|
path: z.string(),
|
|
1017
1017
|
key: z.string(),
|
|
1018
1018
|
display_name: z.string().optional(),
|
|
@@ -22,11 +22,11 @@ export type GetEvalsRequest = {
|
|
|
22
22
|
*/
|
|
23
23
|
limit?: number | undefined;
|
|
24
24
|
/**
|
|
25
|
-
* 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 `
|
|
25
|
+
* 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.
|
|
26
26
|
*/
|
|
27
27
|
startingAfter?: string | undefined;
|
|
28
28
|
/**
|
|
29
|
-
* 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 `
|
|
29
|
+
* 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.
|
|
30
30
|
*/
|
|
31
31
|
endingBefore?: string | undefined;
|
|
32
32
|
search?: string | undefined;
|
|
@@ -1116,20 +1116,6 @@ export type GetOnePromptMessagesFunction = {
|
|
|
1116
1116
|
arguments?: string | undefined;
|
|
1117
1117
|
};
|
|
1118
1118
|
|
|
1119
|
-
export type GetOnePromptMessagesGoogle = {
|
|
1120
|
-
/**
|
|
1121
|
-
* 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.
|
|
1122
|
-
*/
|
|
1123
|
-
thoughtSignature?: string | undefined;
|
|
1124
|
-
};
|
|
1125
|
-
|
|
1126
|
-
/**
|
|
1127
|
-
* Provider-specific extra content for the tool call.
|
|
1128
|
-
*/
|
|
1129
|
-
export type GetOnePromptMessagesExtraContent = {
|
|
1130
|
-
google?: GetOnePromptMessagesGoogle | undefined;
|
|
1131
|
-
};
|
|
1132
|
-
|
|
1133
1119
|
export type GetOnePromptMessagesToolCalls = {
|
|
1134
1120
|
/**
|
|
1135
1121
|
* The ID of the tool call.
|
|
@@ -1144,10 +1130,6 @@ export type GetOnePromptMessagesToolCalls = {
|
|
|
1144
1130
|
* Encrypted representation of the model internal reasoning state during function calling. Required by Gemini 3 models when continuing a conversation after a tool call.
|
|
1145
1131
|
*/
|
|
1146
1132
|
thoughtSignature?: string | undefined;
|
|
1147
|
-
/**
|
|
1148
|
-
* Provider-specific extra content for the tool call.
|
|
1149
|
-
*/
|
|
1150
|
-
extraContent?: GetOnePromptMessagesExtraContent | undefined;
|
|
1151
1133
|
};
|
|
1152
1134
|
|
|
1153
1135
|
export type GetOnePromptMessagesAssistantMessage = {
|
|
@@ -2923,48 +2905,6 @@ export function getOnePromptMessagesFunctionFromJSON(
|
|
|
2923
2905
|
);
|
|
2924
2906
|
}
|
|
2925
2907
|
|
|
2926
|
-
/** @internal */
|
|
2927
|
-
export const GetOnePromptMessagesGoogle$inboundSchema: z.ZodType<
|
|
2928
|
-
GetOnePromptMessagesGoogle,
|
|
2929
|
-
z.ZodTypeDef,
|
|
2930
|
-
unknown
|
|
2931
|
-
> = z.object({
|
|
2932
|
-
thought_signature: z.string().optional(),
|
|
2933
|
-
}).transform((v) => {
|
|
2934
|
-
return remap$(v, {
|
|
2935
|
-
"thought_signature": "thoughtSignature",
|
|
2936
|
-
});
|
|
2937
|
-
});
|
|
2938
|
-
|
|
2939
|
-
export function getOnePromptMessagesGoogleFromJSON(
|
|
2940
|
-
jsonString: string,
|
|
2941
|
-
): SafeParseResult<GetOnePromptMessagesGoogle, SDKValidationError> {
|
|
2942
|
-
return safeParse(
|
|
2943
|
-
jsonString,
|
|
2944
|
-
(x) => GetOnePromptMessagesGoogle$inboundSchema.parse(JSON.parse(x)),
|
|
2945
|
-
`Failed to parse 'GetOnePromptMessagesGoogle' from JSON`,
|
|
2946
|
-
);
|
|
2947
|
-
}
|
|
2948
|
-
|
|
2949
|
-
/** @internal */
|
|
2950
|
-
export const GetOnePromptMessagesExtraContent$inboundSchema: z.ZodType<
|
|
2951
|
-
GetOnePromptMessagesExtraContent,
|
|
2952
|
-
z.ZodTypeDef,
|
|
2953
|
-
unknown
|
|
2954
|
-
> = z.object({
|
|
2955
|
-
google: z.lazy(() => GetOnePromptMessagesGoogle$inboundSchema).optional(),
|
|
2956
|
-
});
|
|
2957
|
-
|
|
2958
|
-
export function getOnePromptMessagesExtraContentFromJSON(
|
|
2959
|
-
jsonString: string,
|
|
2960
|
-
): SafeParseResult<GetOnePromptMessagesExtraContent, SDKValidationError> {
|
|
2961
|
-
return safeParse(
|
|
2962
|
-
jsonString,
|
|
2963
|
-
(x) => GetOnePromptMessagesExtraContent$inboundSchema.parse(JSON.parse(x)),
|
|
2964
|
-
`Failed to parse 'GetOnePromptMessagesExtraContent' from JSON`,
|
|
2965
|
-
);
|
|
2966
|
-
}
|
|
2967
|
-
|
|
2968
2908
|
/** @internal */
|
|
2969
2909
|
export const GetOnePromptMessagesToolCalls$inboundSchema: z.ZodType<
|
|
2970
2910
|
GetOnePromptMessagesToolCalls,
|
|
@@ -2975,12 +2915,9 @@ export const GetOnePromptMessagesToolCalls$inboundSchema: z.ZodType<
|
|
|
2975
2915
|
type: GetOnePromptMessagesType$inboundSchema,
|
|
2976
2916
|
function: z.lazy(() => GetOnePromptMessagesFunction$inboundSchema),
|
|
2977
2917
|
thought_signature: z.string().optional(),
|
|
2978
|
-
extra_content: z.lazy(() => GetOnePromptMessagesExtraContent$inboundSchema)
|
|
2979
|
-
.optional(),
|
|
2980
2918
|
}).transform((v) => {
|
|
2981
2919
|
return remap$(v, {
|
|
2982
2920
|
"thought_signature": "thoughtSignature",
|
|
2983
|
-
"extra_content": "extraContent",
|
|
2984
2921
|
});
|
|
2985
2922
|
});
|
|
2986
2923
|
|
|
@@ -1126,20 +1126,6 @@ export type GetPromptVersionMessagesFunction = {
|
|
|
1126
1126
|
arguments?: string | undefined;
|
|
1127
1127
|
};
|
|
1128
1128
|
|
|
1129
|
-
export type GetPromptVersionMessagesGoogle = {
|
|
1130
|
-
/**
|
|
1131
|
-
* 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.
|
|
1132
|
-
*/
|
|
1133
|
-
thoughtSignature?: string | undefined;
|
|
1134
|
-
};
|
|
1135
|
-
|
|
1136
|
-
/**
|
|
1137
|
-
* Provider-specific extra content for the tool call.
|
|
1138
|
-
*/
|
|
1139
|
-
export type GetPromptVersionMessagesExtraContent = {
|
|
1140
|
-
google?: GetPromptVersionMessagesGoogle | undefined;
|
|
1141
|
-
};
|
|
1142
|
-
|
|
1143
1129
|
export type GetPromptVersionMessagesToolCalls = {
|
|
1144
1130
|
/**
|
|
1145
1131
|
* The ID of the tool call.
|
|
@@ -1154,10 +1140,6 @@ export type GetPromptVersionMessagesToolCalls = {
|
|
|
1154
1140
|
* Encrypted representation of the model internal reasoning state during function calling. Required by Gemini 3 models when continuing a conversation after a tool call.
|
|
1155
1141
|
*/
|
|
1156
1142
|
thoughtSignature?: string | undefined;
|
|
1157
|
-
/**
|
|
1158
|
-
* Provider-specific extra content for the tool call.
|
|
1159
|
-
*/
|
|
1160
|
-
extraContent?: GetPromptVersionMessagesExtraContent | undefined;
|
|
1161
1143
|
};
|
|
1162
1144
|
|
|
1163
1145
|
export type GetPromptVersionMessagesAssistantMessage = {
|
|
@@ -2969,49 +2951,6 @@ export function getPromptVersionMessagesFunctionFromJSON(
|
|
|
2969
2951
|
);
|
|
2970
2952
|
}
|
|
2971
2953
|
|
|
2972
|
-
/** @internal */
|
|
2973
|
-
export const GetPromptVersionMessagesGoogle$inboundSchema: z.ZodType<
|
|
2974
|
-
GetPromptVersionMessagesGoogle,
|
|
2975
|
-
z.ZodTypeDef,
|
|
2976
|
-
unknown
|
|
2977
|
-
> = z.object({
|
|
2978
|
-
thought_signature: z.string().optional(),
|
|
2979
|
-
}).transform((v) => {
|
|
2980
|
-
return remap$(v, {
|
|
2981
|
-
"thought_signature": "thoughtSignature",
|
|
2982
|
-
});
|
|
2983
|
-
});
|
|
2984
|
-
|
|
2985
|
-
export function getPromptVersionMessagesGoogleFromJSON(
|
|
2986
|
-
jsonString: string,
|
|
2987
|
-
): SafeParseResult<GetPromptVersionMessagesGoogle, SDKValidationError> {
|
|
2988
|
-
return safeParse(
|
|
2989
|
-
jsonString,
|
|
2990
|
-
(x) => GetPromptVersionMessagesGoogle$inboundSchema.parse(JSON.parse(x)),
|
|
2991
|
-
`Failed to parse 'GetPromptVersionMessagesGoogle' from JSON`,
|
|
2992
|
-
);
|
|
2993
|
-
}
|
|
2994
|
-
|
|
2995
|
-
/** @internal */
|
|
2996
|
-
export const GetPromptVersionMessagesExtraContent$inboundSchema: z.ZodType<
|
|
2997
|
-
GetPromptVersionMessagesExtraContent,
|
|
2998
|
-
z.ZodTypeDef,
|
|
2999
|
-
unknown
|
|
3000
|
-
> = z.object({
|
|
3001
|
-
google: z.lazy(() => GetPromptVersionMessagesGoogle$inboundSchema).optional(),
|
|
3002
|
-
});
|
|
3003
|
-
|
|
3004
|
-
export function getPromptVersionMessagesExtraContentFromJSON(
|
|
3005
|
-
jsonString: string,
|
|
3006
|
-
): SafeParseResult<GetPromptVersionMessagesExtraContent, SDKValidationError> {
|
|
3007
|
-
return safeParse(
|
|
3008
|
-
jsonString,
|
|
3009
|
-
(x) =>
|
|
3010
|
-
GetPromptVersionMessagesExtraContent$inboundSchema.parse(JSON.parse(x)),
|
|
3011
|
-
`Failed to parse 'GetPromptVersionMessagesExtraContent' from JSON`,
|
|
3012
|
-
);
|
|
3013
|
-
}
|
|
3014
|
-
|
|
3015
2954
|
/** @internal */
|
|
3016
2955
|
export const GetPromptVersionMessagesToolCalls$inboundSchema: z.ZodType<
|
|
3017
2956
|
GetPromptVersionMessagesToolCalls,
|
|
@@ -3022,13 +2961,9 @@ export const GetPromptVersionMessagesToolCalls$inboundSchema: z.ZodType<
|
|
|
3022
2961
|
type: GetPromptVersionMessagesType$inboundSchema,
|
|
3023
2962
|
function: z.lazy(() => GetPromptVersionMessagesFunction$inboundSchema),
|
|
3024
2963
|
thought_signature: z.string().optional(),
|
|
3025
|
-
extra_content: z.lazy(() =>
|
|
3026
|
-
GetPromptVersionMessagesExtraContent$inboundSchema
|
|
3027
|
-
).optional(),
|
|
3028
2964
|
}).transform((v) => {
|
|
3029
2965
|
return remap$(v, {
|
|
3030
2966
|
"thought_signature": "thoughtSignature",
|
|
3031
|
-
"extra_content": "extraContent",
|
|
3032
2967
|
});
|
|
3033
2968
|
});
|
|
3034
2969
|
|