@orq-ai/node 3.2.0-rc.9 → 3.2.1
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 +117 -1
- package/bin/mcp-server.js +52509 -0
- package/bin/mcp-server.js.map +352 -0
- package/docs/sdks/datasets/README.md +934 -0
- package/docs/sdks/files/README.md +1 -1
- package/docs/sdks/prompts/README.md +110 -110
- package/funcs/datasetsClear.d.ts +16 -0
- package/funcs/datasetsClear.d.ts.map +1 -0
- package/funcs/datasetsClear.js +118 -0
- package/funcs/datasetsClear.js.map +1 -0
- package/funcs/datasetsCreate.d.ts +16 -0
- package/funcs/datasetsCreate.d.ts.map +1 -0
- package/funcs/datasetsCreate.js +114 -0
- package/funcs/datasetsCreate.js.map +1 -0
- package/funcs/datasetsCreateDatapoint.d.ts +16 -0
- package/funcs/datasetsCreateDatapoint.d.ts.map +1 -0
- package/funcs/datasetsCreateDatapoint.js +118 -0
- package/funcs/datasetsCreateDatapoint.js.map +1 -0
- package/funcs/datasetsCreateDatapoints.d.ts +16 -0
- package/funcs/datasetsCreateDatapoints.d.ts.map +1 -0
- package/funcs/datasetsCreateDatapoints.js +119 -0
- package/funcs/datasetsCreateDatapoints.js.map +1 -0
- package/funcs/datasetsDelete.d.ts +16 -0
- package/funcs/datasetsDelete.d.ts.map +1 -0
- package/funcs/datasetsDelete.js +118 -0
- package/funcs/datasetsDelete.js.map +1 -0
- package/funcs/datasetsDeleteDatapoint.d.ts +17 -0
- package/funcs/datasetsDeleteDatapoint.d.ts.map +1 -0
- package/funcs/datasetsDeleteDatapoint.js +126 -0
- package/funcs/datasetsDeleteDatapoint.js.map +1 -0
- package/funcs/datasetsList.d.ts +16 -0
- package/funcs/datasetsList.d.ts.map +1 -0
- package/funcs/datasetsList.js +118 -0
- package/funcs/datasetsList.js.map +1 -0
- package/funcs/datasetsListDatapoints.d.ts +16 -0
- package/funcs/datasetsListDatapoints.d.ts.map +1 -0
- package/funcs/datasetsListDatapoints.js +124 -0
- package/funcs/datasetsListDatapoints.js.map +1 -0
- package/funcs/datasetsRetrieve.d.ts +17 -0
- package/funcs/datasetsRetrieve.d.ts.map +1 -0
- package/funcs/datasetsRetrieve.js +121 -0
- package/funcs/datasetsRetrieve.js.map +1 -0
- package/funcs/datasetsRetrieveDatapoint.d.ts +17 -0
- package/funcs/datasetsRetrieveDatapoint.d.ts.map +1 -0
- package/funcs/datasetsRetrieveDatapoint.js +125 -0
- package/funcs/datasetsRetrieveDatapoint.js.map +1 -0
- package/funcs/datasetsUpdate.d.ts +17 -0
- package/funcs/datasetsUpdate.d.ts.map +1 -0
- package/funcs/datasetsUpdate.js +122 -0
- package/funcs/datasetsUpdate.js.map +1 -0
- package/funcs/datasetsUpdateDatapoint.d.ts +14 -0
- package/funcs/datasetsUpdateDatapoint.d.ts.map +1 -0
- package/funcs/datasetsUpdateDatapoint.js +123 -0
- package/funcs/datasetsUpdateDatapoint.js.map +1 -0
- package/funcs/deploymentsList.js +1 -0
- package/funcs/deploymentsList.js.map +1 -1
- package/funcs/filesCreate.d.ts +1 -1
- package/funcs/filesCreate.js +1 -1
- package/funcs/filesList.js +1 -0
- package/funcs/filesList.js.map +1 -1
- package/funcs/promptsList.js +2 -1
- package/funcs/promptsList.js.map +1 -1
- package/funcs/promptsListVersions.js +1 -0
- package/funcs/promptsListVersions.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +6 -6
- package/lib/config.d.ts.map +1 -1
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/lib/files.js.map +1 -1
- package/lib/primitives.d.ts +3 -0
- package/lib/primitives.d.ts.map +1 -1
- package/lib/primitives.js +7 -0
- package/lib/primitives.js.map +1 -1
- package/lib/sdks.d.ts.map +1 -1
- package/lib/sdks.js +2 -8
- package/lib/sdks.js.map +1 -1
- package/lib/security.d.ts +4 -3
- package/lib/security.d.ts.map +1 -1
- package/lib/security.js +6 -1
- package/lib/security.js.map +1 -1
- package/mcp-server/build.d.mts.map +1 -0
- package/mcp-server/build.mjs +14 -0
- package/mcp-server/build.mjs.map +1 -0
- package/mcp-server/cli/start/command.d.ts +2 -0
- package/mcp-server/cli/start/command.d.ts.map +1 -0
- package/mcp-server/cli/start/command.js +154 -0
- package/mcp-server/cli/start/command.js.map +1 -0
- package/mcp-server/cli/start/impl.d.ts +20 -0
- package/mcp-server/cli/start/impl.d.ts.map +1 -0
- package/mcp-server/cli/start/impl.js +108 -0
- package/mcp-server/cli/start/impl.js.map +1 -0
- package/mcp-server/cli.d.ts +6 -0
- package/mcp-server/cli.d.ts.map +1 -0
- package/mcp-server/cli.js +10 -0
- package/mcp-server/cli.js.map +1 -0
- package/mcp-server/console-logger.d.ts +7 -0
- package/mcp-server/console-logger.d.ts.map +1 -0
- package/mcp-server/console-logger.js +59 -0
- package/mcp-server/console-logger.js.map +1 -0
- package/mcp-server/extensions.d.ts +11 -0
- package/mcp-server/extensions.d.ts.map +1 -0
- package/mcp-server/extensions.js +6 -0
- package/mcp-server/extensions.js.map +1 -0
- package/mcp-server/mcp-server.d.ts +2 -0
- package/mcp-server/mcp-server.d.ts.map +1 -0
- package/mcp-server/mcp-server.js +29 -0
- package/mcp-server/mcp-server.js.map +1 -0
- package/mcp-server/prompts.d.ts +26 -0
- package/mcp-server/prompts.d.ts.map +1 -0
- package/mcp-server/prompts.js +47 -0
- package/mcp-server/prompts.js.map +1 -0
- package/mcp-server/resources.d.ts +32 -0
- package/mcp-server/resources.d.ts.map +1 -0
- package/mcp-server/resources.js +79 -0
- package/mcp-server/resources.js.map +1 -0
- package/mcp-server/scopes.d.ts +3 -0
- package/mcp-server/scopes.d.ts.map +1 -0
- package/mcp-server/scopes.js +8 -0
- package/mcp-server/scopes.js.map +1 -0
- package/mcp-server/server.d.ts +15 -0
- package/mcp-server/server.d.ts.map +1 -0
- package/mcp-server/server.js +95 -0
- package/mcp-server/server.js.map +1 -0
- package/mcp-server/shared.d.ts +7 -0
- package/mcp-server/shared.d.ts.map +1 -0
- package/mcp-server/shared.js +98 -0
- package/mcp-server/shared.js.map +1 -0
- package/mcp-server/tools/contactsCreate.d.ts +8 -0
- package/mcp-server/tools/contactsCreate.d.ts.map +1 -0
- package/mcp-server/tools/contactsCreate.js +64 -0
- package/mcp-server/tools/contactsCreate.js.map +1 -0
- package/mcp-server/tools/datasetsClear.d.ts +8 -0
- package/mcp-server/tools/datasetsClear.d.ts.map +1 -0
- package/mcp-server/tools/datasetsClear.js +63 -0
- package/mcp-server/tools/datasetsClear.js.map +1 -0
- package/mcp-server/tools/datasetsCreate.d.ts +8 -0
- package/mcp-server/tools/datasetsCreate.d.ts.map +1 -0
- package/mcp-server/tools/datasetsCreate.js +64 -0
- package/mcp-server/tools/datasetsCreate.js.map +1 -0
- package/mcp-server/tools/datasetsCreateDatapoint.d.ts +8 -0
- package/mcp-server/tools/datasetsCreateDatapoint.d.ts.map +1 -0
- package/mcp-server/tools/datasetsCreateDatapoint.js +64 -0
- package/mcp-server/tools/datasetsCreateDatapoint.js.map +1 -0
- package/mcp-server/tools/datasetsCreateDatapoints.d.ts +8 -0
- package/mcp-server/tools/datasetsCreateDatapoints.d.ts.map +1 -0
- package/mcp-server/tools/datasetsCreateDatapoints.js +64 -0
- package/mcp-server/tools/datasetsCreateDatapoints.js.map +1 -0
- package/mcp-server/tools/datasetsDelete.d.ts +8 -0
- package/mcp-server/tools/datasetsDelete.d.ts.map +1 -0
- package/mcp-server/tools/datasetsDelete.js +63 -0
- package/mcp-server/tools/datasetsDelete.js.map +1 -0
- package/mcp-server/tools/datasetsDeleteDatapoint.d.ts +8 -0
- package/mcp-server/tools/datasetsDeleteDatapoint.d.ts.map +1 -0
- package/mcp-server/tools/datasetsDeleteDatapoint.js +63 -0
- package/mcp-server/tools/datasetsDeleteDatapoint.js.map +1 -0
- package/mcp-server/tools/datasetsList.d.ts +8 -0
- package/mcp-server/tools/datasetsList.d.ts.map +1 -0
- package/mcp-server/tools/datasetsList.js +64 -0
- package/mcp-server/tools/datasetsList.js.map +1 -0
- package/mcp-server/tools/datasetsListDatapoints.d.ts +8 -0
- package/mcp-server/tools/datasetsListDatapoints.d.ts.map +1 -0
- package/mcp-server/tools/datasetsListDatapoints.js +64 -0
- package/mcp-server/tools/datasetsListDatapoints.js.map +1 -0
- package/mcp-server/tools/datasetsRetrieve.d.ts +8 -0
- package/mcp-server/tools/datasetsRetrieve.d.ts.map +1 -0
- package/mcp-server/tools/datasetsRetrieve.js +64 -0
- package/mcp-server/tools/datasetsRetrieve.js.map +1 -0
- package/mcp-server/tools/datasetsRetrieveDatapoint.d.ts +8 -0
- package/mcp-server/tools/datasetsRetrieveDatapoint.d.ts.map +1 -0
- package/mcp-server/tools/datasetsRetrieveDatapoint.js +64 -0
- package/mcp-server/tools/datasetsRetrieveDatapoint.js.map +1 -0
- package/mcp-server/tools/datasetsUpdate.d.ts +8 -0
- package/mcp-server/tools/datasetsUpdate.d.ts.map +1 -0
- package/mcp-server/tools/datasetsUpdate.js +64 -0
- package/mcp-server/tools/datasetsUpdate.js.map +1 -0
- package/mcp-server/tools/datasetsUpdateDatapoint.d.ts +8 -0
- package/mcp-server/tools/datasetsUpdateDatapoint.d.ts.map +1 -0
- package/mcp-server/tools/datasetsUpdateDatapoint.js +62 -0
- package/mcp-server/tools/datasetsUpdateDatapoint.js.map +1 -0
- package/mcp-server/tools/deploymentsGetConfig.d.ts +8 -0
- package/mcp-server/tools/deploymentsGetConfig.d.ts.map +1 -0
- package/mcp-server/tools/deploymentsGetConfig.js +64 -0
- package/mcp-server/tools/deploymentsGetConfig.js.map +1 -0
- package/mcp-server/tools/deploymentsInvoke.d.ts +8 -0
- package/mcp-server/tools/deploymentsInvoke.d.ts.map +1 -0
- package/mcp-server/tools/deploymentsInvoke.js +64 -0
- package/mcp-server/tools/deploymentsInvoke.js.map +1 -0
- package/mcp-server/tools/deploymentsList.d.ts +8 -0
- package/mcp-server/tools/deploymentsList.d.ts.map +1 -0
- package/mcp-server/tools/deploymentsList.js +64 -0
- package/mcp-server/tools/deploymentsList.js.map +1 -0
- package/mcp-server/tools/deploymentsMetricsCreate.d.ts +8 -0
- package/mcp-server/tools/deploymentsMetricsCreate.d.ts.map +1 -0
- package/mcp-server/tools/deploymentsMetricsCreate.js +64 -0
- package/mcp-server/tools/deploymentsMetricsCreate.js.map +1 -0
- package/mcp-server/tools/feedbackCreate.d.ts +8 -0
- package/mcp-server/tools/feedbackCreate.d.ts.map +1 -0
- package/mcp-server/tools/feedbackCreate.js +64 -0
- package/mcp-server/tools/feedbackCreate.js.map +1 -0
- package/mcp-server/tools/filesCreate.d.ts +8 -0
- package/mcp-server/tools/filesCreate.d.ts.map +1 -0
- package/mcp-server/tools/filesCreate.js +64 -0
- package/mcp-server/tools/filesCreate.js.map +1 -0
- package/mcp-server/tools/filesDelete.d.ts +8 -0
- package/mcp-server/tools/filesDelete.d.ts.map +1 -0
- package/mcp-server/tools/filesDelete.js +61 -0
- package/mcp-server/tools/filesDelete.js.map +1 -0
- package/mcp-server/tools/filesGet.d.ts +8 -0
- package/mcp-server/tools/filesGet.d.ts.map +1 -0
- package/mcp-server/tools/filesGet.js +64 -0
- package/mcp-server/tools/filesGet.js.map +1 -0
- package/mcp-server/tools/filesList.d.ts +8 -0
- package/mcp-server/tools/filesList.d.ts.map +1 -0
- package/mcp-server/tools/filesList.js +64 -0
- package/mcp-server/tools/filesList.js.map +1 -0
- package/mcp-server/tools/promptsCreate.d.ts +8 -0
- package/mcp-server/tools/promptsCreate.d.ts.map +1 -0
- package/mcp-server/tools/promptsCreate.js +62 -0
- package/mcp-server/tools/promptsCreate.js.map +1 -0
- package/mcp-server/tools/promptsDelete.d.ts +8 -0
- package/mcp-server/tools/promptsDelete.d.ts.map +1 -0
- package/mcp-server/tools/promptsDelete.js +61 -0
- package/mcp-server/tools/promptsDelete.js.map +1 -0
- package/mcp-server/tools/promptsGetVersion.d.ts +8 -0
- package/mcp-server/tools/promptsGetVersion.d.ts.map +1 -0
- package/mcp-server/tools/promptsGetVersion.js +64 -0
- package/mcp-server/tools/promptsGetVersion.js.map +1 -0
- package/mcp-server/tools/promptsList.d.ts +8 -0
- package/mcp-server/tools/promptsList.d.ts.map +1 -0
- package/mcp-server/tools/promptsList.js +64 -0
- package/mcp-server/tools/promptsList.js.map +1 -0
- package/mcp-server/tools/promptsListVersions.d.ts +8 -0
- package/mcp-server/tools/promptsListVersions.d.ts.map +1 -0
- package/mcp-server/tools/promptsListVersions.js +64 -0
- package/mcp-server/tools/promptsListVersions.js.map +1 -0
- package/mcp-server/tools/promptsRetrieve.d.ts +8 -0
- package/mcp-server/tools/promptsRetrieve.d.ts.map +1 -0
- package/mcp-server/tools/promptsRetrieve.js +64 -0
- package/mcp-server/tools/promptsRetrieve.js.map +1 -0
- package/mcp-server/tools/promptsUpdate.d.ts +8 -0
- package/mcp-server/tools/promptsUpdate.d.ts.map +1 -0
- package/mcp-server/tools/promptsUpdate.js +62 -0
- package/mcp-server/tools/promptsUpdate.js.map +1 -0
- package/mcp-server/tools/remoteconfigsRetrieve.d.ts +8 -0
- package/mcp-server/tools/remoteconfigsRetrieve.d.ts.map +1 -0
- package/mcp-server/tools/remoteconfigsRetrieve.js +63 -0
- package/mcp-server/tools/remoteconfigsRetrieve.js.map +1 -0
- package/mcp-server/tools.d.ts +25 -0
- package/mcp-server/tools.d.ts.map +1 -0
- package/mcp-server/tools.js +81 -0
- package/mcp-server/tools.js.map +1 -0
- package/models/components/deployments.d.ts +1716 -400
- package/models/components/deployments.d.ts.map +1 -1
- package/models/components/deployments.js +1617 -357
- package/models/components/deployments.js.map +1 -1
- package/models/operations/bulkcreatedatapoints.d.ts +873 -0
- package/models/operations/bulkcreatedatapoints.d.ts.map +1 -0
- package/models/operations/bulkcreatedatapoints.js +933 -0
- package/models/operations/bulkcreatedatapoints.js.map +1 -0
- package/models/operations/cleardataset.d.ts +29 -0
- package/models/operations/cleardataset.d.ts.map +1 -0
- package/models/operations/cleardataset.js +78 -0
- package/models/operations/cleardataset.js.map +1 -0
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createdataset.d.ts +132 -0
- package/models/operations/createdataset.d.ts.map +1 -0
- package/models/operations/createdataset.js +182 -0
- package/models/operations/createdataset.js.map +1 -0
- package/models/operations/createdatasetitem.d.ts +851 -0
- package/models/operations/createdatasetitem.d.ts.map +1 -0
- package/models/operations/createdatasetitem.js +904 -0
- package/models/operations/createdatasetitem.js.map +1 -0
- package/models/operations/createprompt.d.ts +347 -337
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +474 -473
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/deletedatapoint.d.ts +31 -0
- package/models/operations/deletedatapoint.d.ts.map +1 -0
- package/models/operations/deletedatapoint.js +82 -0
- package/models/operations/deletedatapoint.js.map +1 -0
- package/models/operations/deletedataset.d.ts +29 -0
- package/models/operations/deletedataset.d.ts.map +1 -0
- package/models/operations/deletedataset.js +78 -0
- package/models/operations/deletedataset.js.map +1 -0
- package/models/operations/deploymentcreatemetric.d.ts +1706 -418
- package/models/operations/deploymentcreatemetric.d.ts.map +1 -1
- package/models/operations/deploymentcreatemetric.js +1713 -435
- package/models/operations/deploymentcreatemetric.js.map +1 -1
- package/models/operations/deploymentgetconfig.d.ts +1831 -510
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +1786 -519
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deploymentinvoke.d.ts +249 -177
- package/models/operations/deploymentinvoke.d.ts.map +1 -1
- package/models/operations/deploymentinvoke.js +263 -201
- package/models/operations/deploymentinvoke.js.map +1 -1
- package/models/operations/deployments.d.ts +41 -0
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +29 -3
- package/models/operations/deployments.js.map +1 -1
- package/models/operations/fileget.d.ts +3 -0
- package/models/operations/fileget.d.ts.map +1 -1
- package/models/operations/fileget.js +3 -2
- package/models/operations/fileget.js.map +1 -1
- package/models/operations/filelist.d.ts +39 -0
- package/models/operations/filelist.d.ts.map +1 -1
- package/models/operations/filelist.js +28 -3
- package/models/operations/filelist.js.map +1 -1
- package/models/operations/fileupload.d.ts +6 -0
- package/models/operations/fileupload.d.ts.map +1 -1
- package/models/operations/fileupload.js +4 -2
- package/models/operations/fileupload.js.map +1 -1
- package/models/operations/getallprompts.d.ts +45 -4
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +33 -7
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getoneprompt.d.ts +9 -4
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +6 -4
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +9 -4
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +6 -4
- package/models/operations/getpromptversion.js.map +1 -1
- package/models/operations/index.d.ts +12 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +12 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/listdatasetdatapoints.d.ts +563 -0
- package/models/operations/listdatasetdatapoints.d.ts.map +1 -0
- package/models/operations/listdatasetdatapoints.js +593 -0
- package/models/operations/listdatasetdatapoints.js.map +1 -0
- package/models/operations/listdatasets.d.ts +225 -0
- package/models/operations/listdatasets.d.ts.map +1 -0
- package/models/operations/listdatasets.js +267 -0
- package/models/operations/listdatasets.js.map +1 -0
- package/models/operations/listpromptversions.d.ts +45 -4
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +33 -7
- package/models/operations/listpromptversions.js.map +1 -1
- package/models/operations/retrievedatapoint.d.ts +463 -0
- package/models/operations/retrievedatapoint.d.ts.map +1 -0
- package/models/operations/retrievedatapoint.js +507 -0
- package/models/operations/retrievedatapoint.js.map +1 -0
- package/models/operations/retrievedataset.d.ts +124 -0
- package/models/operations/retrievedataset.d.ts.map +1 -0
- package/models/operations/retrievedataset.js +180 -0
- package/models/operations/retrievedataset.js.map +1 -0
- package/models/operations/updatedatapoint.d.ts +853 -0
- package/models/operations/updatedatapoint.d.ts.map +1 -0
- package/models/operations/updatedatapoint.js +909 -0
- package/models/operations/updatedatapoint.js.map +1 -0
- package/models/operations/updatedataset.d.ts +161 -0
- package/models/operations/updatedataset.d.ts.map +1 -0
- package/models/operations/updatedataset.js +225 -0
- package/models/operations/updatedataset.js.map +1 -0
- package/models/operations/updateprompt.d.ts +335 -325
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +456 -452
- package/models/operations/updateprompt.js.map +1 -1
- package/package.json +17 -4
- package/packages/orq-rc/FUNCTIONS.md +106 -0
- package/packages/orq-rc/README.md +622 -0
- package/packages/orq-rc/RUNTIMES.md +48 -0
- package/packages/orq-rc/docs/sdks/contacts/README.md +84 -0
- package/packages/orq-rc/docs/sdks/datasets/README.md +934 -0
- package/packages/orq-rc/docs/sdks/deployments/README.md +235 -0
- package/packages/orq-rc/docs/sdks/feedback/README.md +92 -0
- package/packages/orq-rc/docs/sdks/files/README.md +305 -0
- package/packages/orq-rc/docs/sdks/metrics/README.md +86 -0
- package/packages/orq-rc/docs/sdks/orq/README.md +10 -0
- package/packages/orq-rc/docs/sdks/prompts/README.md +608 -0
- package/packages/orq-rc/docs/sdks/remoteconfigs/README.md +80 -0
- package/packages/orq-rc/jsr.json +27 -0
- package/packages/orq-rc/package-lock.json +3217 -0
- package/packages/orq-rc/package.json +45 -0
- package/packages/orq-rc/src/core.ts +13 -0
- package/packages/orq-rc/src/funcs/contactsCreate.ts +154 -0
- package/packages/orq-rc/src/funcs/datasetsClear.ts +161 -0
- package/packages/orq-rc/src/funcs/datasetsCreate.ts +159 -0
- package/packages/orq-rc/src/funcs/datasetsCreateDatapoint.ts +161 -0
- package/packages/orq-rc/src/funcs/datasetsCreateDatapoints.ts +165 -0
- package/packages/orq-rc/src/funcs/datasetsDelete.ts +161 -0
- package/packages/orq-rc/src/funcs/datasetsDeleteDatapoint.ts +176 -0
- package/packages/orq-rc/src/funcs/datasetsList.ts +162 -0
- package/packages/orq-rc/src/funcs/datasetsListDatapoints.ts +169 -0
- package/packages/orq-rc/src/funcs/datasetsRetrieve.ts +169 -0
- package/packages/orq-rc/src/funcs/datasetsRetrieveDatapoint.ts +175 -0
- package/packages/orq-rc/src/funcs/datasetsUpdate.ts +170 -0
- package/packages/orq-rc/src/funcs/datasetsUpdateDatapoint.ts +173 -0
- package/packages/orq-rc/src/funcs/deploymentsGetConfig.ts +162 -0
- package/packages/orq-rc/src/funcs/deploymentsInvoke.ts +170 -0
- package/packages/orq-rc/src/funcs/deploymentsList.ts +171 -0
- package/packages/orq-rc/src/funcs/deploymentsMetricsCreate.ts +162 -0
- package/packages/orq-rc/src/funcs/feedbackCreate.ts +154 -0
- package/packages/orq-rc/src/funcs/filesCreate.ts +177 -0
- package/packages/orq-rc/src/funcs/filesDelete.ts +158 -0
- package/packages/orq-rc/src/funcs/filesGet.ts +160 -0
- package/packages/orq-rc/src/funcs/filesList.ts +162 -0
- package/packages/orq-rc/src/funcs/promptsCreate.ts +154 -0
- package/packages/orq-rc/src/funcs/promptsDelete.ts +158 -0
- package/packages/orq-rc/src/funcs/promptsGetVersion.ts +175 -0
- package/packages/orq-rc/src/funcs/promptsList.ts +162 -0
- package/packages/orq-rc/src/funcs/promptsListVersions.ts +168 -0
- package/packages/orq-rc/src/funcs/promptsRetrieve.ts +160 -0
- package/packages/orq-rc/src/funcs/promptsUpdate.ts +167 -0
- package/packages/orq-rc/src/funcs/remoteconfigsRetrieve.ts +155 -0
- package/packages/orq-rc/src/hooks/global.ts +44 -0
- package/packages/orq-rc/src/hooks/hooks.ts +132 -0
- package/packages/orq-rc/src/hooks/index.ts +6 -0
- package/packages/orq-rc/src/hooks/registration.ts +15 -0
- package/packages/orq-rc/src/hooks/types.ts +110 -0
- package/packages/orq-rc/src/index.ts +7 -0
- package/packages/orq-rc/src/lib/base64.ts +37 -0
- package/packages/orq-rc/src/lib/config.ts +70 -0
- package/packages/orq-rc/src/lib/dlv.ts +53 -0
- package/packages/orq-rc/src/lib/encodings.ts +483 -0
- package/packages/orq-rc/src/lib/env.ts +73 -0
- package/packages/orq-rc/src/lib/files.ts +40 -0
- package/packages/orq-rc/src/lib/http.ts +323 -0
- package/packages/orq-rc/src/lib/is-plain-object.ts +43 -0
- package/packages/orq-rc/src/lib/logger.ts +9 -0
- package/packages/orq-rc/src/lib/matchers.ts +322 -0
- package/packages/orq-rc/src/lib/primitives.ts +150 -0
- package/packages/orq-rc/src/lib/retries.ts +218 -0
- package/packages/orq-rc/src/lib/schemas.ts +91 -0
- package/packages/orq-rc/src/lib/sdks.ts +395 -0
- package/packages/orq-rc/src/lib/security.ts +253 -0
- package/packages/orq-rc/src/lib/url.ts +33 -0
- package/packages/orq-rc/src/mcp-server/cli/start/command.ts +125 -0
- package/packages/orq-rc/src/mcp-server/cli/start/impl.ts +140 -0
- package/packages/orq-rc/src/mcp-server/cli.ts +13 -0
- package/packages/orq-rc/src/mcp-server/console-logger.ts +71 -0
- package/packages/orq-rc/src/mcp-server/extensions.ts +17 -0
- package/packages/orq-rc/src/mcp-server/mcp-server.ts +26 -0
- package/packages/orq-rc/src/mcp-server/prompts.ts +110 -0
- package/packages/orq-rc/src/mcp-server/resources.ts +158 -0
- package/packages/orq-rc/src/mcp-server/scopes.ts +7 -0
- package/packages/orq-rc/src/mcp-server/server.ts +123 -0
- package/packages/orq-rc/src/mcp-server/shared.ts +75 -0
- package/packages/orq-rc/src/mcp-server/tools/contactsCreate.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/datasetsClear.ts +35 -0
- package/packages/orq-rc/src/mcp-server/tools/datasetsCreate.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/datasetsCreateDatapoint.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/datasetsCreateDatapoints.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/datasetsDelete.ts +35 -0
- package/packages/orq-rc/src/mcp-server/tools/datasetsDeleteDatapoint.ts +35 -0
- package/packages/orq-rc/src/mcp-server/tools/datasetsList.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/datasetsListDatapoints.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/datasetsRetrieve.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/datasetsRetrieveDatapoint.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/datasetsUpdate.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/datasetsUpdateDatapoint.ts +35 -0
- package/packages/orq-rc/src/mcp-server/tools/deploymentsGetConfig.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/deploymentsInvoke.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/deploymentsList.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/deploymentsMetricsCreate.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/feedbackCreate.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/filesCreate.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/filesDelete.ts +33 -0
- package/packages/orq-rc/src/mcp-server/tools/filesGet.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/filesList.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/promptsCreate.ts +35 -0
- package/packages/orq-rc/src/mcp-server/tools/promptsDelete.ts +33 -0
- package/packages/orq-rc/src/mcp-server/tools/promptsGetVersion.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/promptsList.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/promptsListVersions.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/promptsRetrieve.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/promptsUpdate.ts +35 -0
- package/packages/orq-rc/src/mcp-server/tools/remoteconfigsRetrieve.ts +36 -0
- package/packages/orq-rc/src/mcp-server/tools.ts +126 -0
- package/packages/orq-rc/src/models/components/deployments.ts +4164 -0
- package/packages/orq-rc/src/models/components/index.ts +6 -0
- package/packages/orq-rc/src/models/components/security.ts +71 -0
- package/packages/orq-rc/src/models/errors/apierror.ts +27 -0
- package/packages/orq-rc/src/models/errors/getpromptversion.ts +71 -0
- package/packages/orq-rc/src/models/errors/honoapierror.ts +82 -0
- package/packages/orq-rc/src/models/errors/httpclienterrors.ts +62 -0
- package/packages/orq-rc/src/models/errors/index.ts +10 -0
- package/packages/orq-rc/src/models/errors/sdkvalidationerror.ts +97 -0
- package/packages/orq-rc/src/models/errors/updateprompt.ts +71 -0
- package/packages/orq-rc/src/models/operations/bulkcreatedatapoints.ts +1816 -0
- package/packages/orq-rc/src/models/operations/cleardataset.ts +75 -0
- package/packages/orq-rc/src/models/operations/createcontact.ts +256 -0
- package/packages/orq-rc/src/models/operations/createdataset.ts +296 -0
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +1740 -0
- package/packages/orq-rc/src/models/operations/createfeedback.ts +286 -0
- package/packages/orq-rc/src/models/operations/createprompt.ts +3816 -0
- package/packages/orq-rc/src/models/operations/deletedatapoint.ts +81 -0
- package/packages/orq-rc/src/models/operations/deletedataset.ts +75 -0
- package/packages/orq-rc/src/models/operations/deleteprompt.ts +69 -0
- package/packages/orq-rc/src/models/operations/deploymentcreatemetric.ts +4936 -0
- package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +6090 -0
- package/packages/orq-rc/src/models/operations/deploymentinvoke.ts +1199 -0
- package/packages/orq-rc/src/models/operations/deployments.ts +2194 -0
- package/packages/orq-rc/src/models/operations/filedelete.ts +78 -0
- package/packages/orq-rc/src/models/operations/fileget.ts +223 -0
- package/packages/orq-rc/src/models/operations/filelist.ts +377 -0
- package/packages/orq-rc/src/models/operations/fileupload.ts +324 -0
- package/packages/orq-rc/src/models/operations/getallprompts.ts +2165 -0
- package/packages/orq-rc/src/models/operations/getoneprompt.ts +1989 -0
- package/packages/orq-rc/src/models/operations/getpromptversion.ts +1987 -0
- package/packages/orq-rc/src/models/operations/index.ts +34 -0
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +1115 -0
- package/packages/orq-rc/src/models/operations/listdatasets.ts +448 -0
- package/packages/orq-rc/src/models/operations/listpromptversions.ts +2163 -0
- package/packages/orq-rc/src/models/operations/remoteconfigsgetconfig.ts +190 -0
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +924 -0
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +288 -0
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +1729 -0
- package/packages/orq-rc/src/models/operations/updatedataset.ts +374 -0
- package/packages/orq-rc/src/models/operations/updateprompt.ts +3831 -0
- package/packages/orq-rc/src/sdk/contacts.ts +27 -0
- package/packages/orq-rc/src/sdk/datasets.ts +222 -0
- package/packages/orq-rc/src/sdk/deployments.ts +70 -0
- package/packages/orq-rc/src/sdk/feedback.ts +27 -0
- package/packages/orq-rc/src/sdk/files.ts +78 -0
- package/packages/orq-rc/src/sdk/index.ts +5 -0
- package/packages/orq-rc/src/sdk/metrics.ts +27 -0
- package/packages/orq-rc/src/sdk/prompts.ts +126 -0
- package/packages/orq-rc/src/sdk/remoteconfigs.ts +24 -0
- package/packages/orq-rc/src/sdk/sdk.ts +49 -0
- package/packages/orq-rc/src/types/async.ts +68 -0
- package/packages/orq-rc/src/types/blobs.ts +31 -0
- package/packages/orq-rc/src/types/constdatetime.ts +15 -0
- package/packages/orq-rc/src/types/enums.ts +16 -0
- package/packages/orq-rc/src/types/fp.ts +50 -0
- package/packages/orq-rc/src/types/index.ts +11 -0
- package/packages/orq-rc/src/types/operations.ts +105 -0
- package/packages/orq-rc/src/types/rfcdate.ts +54 -0
- package/packages/orq-rc/src/types/streams.ts +21 -0
- package/packages/orq-rc/tsconfig.json +41 -0
- package/sdk/datasets.d.ts +86 -0
- package/sdk/datasets.d.ts.map +1 -0
- package/sdk/datasets.js +129 -0
- package/sdk/datasets.js.map +1 -0
- package/sdk/files.d.ts +1 -1
- package/sdk/files.js +1 -1
- package/sdk/prompts.d.ts +4 -4
- package/sdk/prompts.d.ts.map +1 -1
- package/sdk/prompts.js +6 -6
- package/sdk/prompts.js.map +1 -1
- package/sdk/sdk.d.ts +3 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +4 -0
- package/sdk/sdk.js.map +1 -1
- package/src/funcs/datasetsClear.ts +161 -0
- package/src/funcs/datasetsCreate.ts +159 -0
- package/src/funcs/datasetsCreateDatapoint.ts +161 -0
- package/src/funcs/datasetsCreateDatapoints.ts +165 -0
- package/src/funcs/datasetsDelete.ts +161 -0
- package/src/funcs/datasetsDeleteDatapoint.ts +176 -0
- package/src/funcs/datasetsList.ts +162 -0
- package/src/funcs/datasetsListDatapoints.ts +169 -0
- package/src/funcs/datasetsRetrieve.ts +169 -0
- package/src/funcs/datasetsRetrieveDatapoint.ts +175 -0
- package/src/funcs/datasetsUpdate.ts +170 -0
- package/src/funcs/datasetsUpdateDatapoint.ts +173 -0
- package/src/funcs/deploymentsList.ts +1 -0
- package/src/funcs/filesCreate.ts +1 -1
- package/src/funcs/filesList.ts +1 -0
- package/src/funcs/promptsList.ts +2 -1
- package/src/funcs/promptsListVersions.ts +1 -0
- package/src/lib/config.ts +6 -6
- package/src/lib/files.ts +1 -1
- package/src/lib/primitives.ts +14 -0
- package/src/lib/sdks.ts +2 -7
- package/src/lib/security.ts +11 -3
- package/src/mcp-server/cli/start/command.ts +125 -0
- package/src/mcp-server/cli/start/impl.ts +140 -0
- package/src/mcp-server/cli.ts +13 -0
- package/src/mcp-server/console-logger.ts +71 -0
- package/src/mcp-server/extensions.ts +17 -0
- package/src/mcp-server/mcp-server.ts +26 -0
- package/src/mcp-server/prompts.ts +110 -0
- package/src/mcp-server/resources.ts +158 -0
- package/src/mcp-server/scopes.ts +7 -0
- package/src/mcp-server/server.ts +123 -0
- package/src/mcp-server/shared.ts +75 -0
- package/src/mcp-server/tools/contactsCreate.ts +37 -0
- package/src/mcp-server/tools/datasetsClear.ts +35 -0
- package/src/mcp-server/tools/datasetsCreate.ts +37 -0
- package/src/mcp-server/tools/datasetsCreateDatapoint.ts +37 -0
- package/src/mcp-server/tools/datasetsCreateDatapoints.ts +37 -0
- package/src/mcp-server/tools/datasetsDelete.ts +35 -0
- package/src/mcp-server/tools/datasetsDeleteDatapoint.ts +35 -0
- package/src/mcp-server/tools/datasetsList.ts +37 -0
- package/src/mcp-server/tools/datasetsListDatapoints.ts +37 -0
- package/src/mcp-server/tools/datasetsRetrieve.ts +37 -0
- package/src/mcp-server/tools/datasetsRetrieveDatapoint.ts +37 -0
- package/src/mcp-server/tools/datasetsUpdate.ts +37 -0
- package/src/mcp-server/tools/datasetsUpdateDatapoint.ts +35 -0
- package/src/mcp-server/tools/deploymentsGetConfig.ts +37 -0
- package/src/mcp-server/tools/deploymentsInvoke.ts +37 -0
- package/src/mcp-server/tools/deploymentsList.ts +37 -0
- package/src/mcp-server/tools/deploymentsMetricsCreate.ts +37 -0
- package/src/mcp-server/tools/feedbackCreate.ts +37 -0
- package/src/mcp-server/tools/filesCreate.ts +37 -0
- package/src/mcp-server/tools/filesDelete.ts +33 -0
- package/src/mcp-server/tools/filesGet.ts +37 -0
- package/src/mcp-server/tools/filesList.ts +37 -0
- package/src/mcp-server/tools/promptsCreate.ts +35 -0
- package/src/mcp-server/tools/promptsDelete.ts +33 -0
- package/src/mcp-server/tools/promptsGetVersion.ts +37 -0
- package/src/mcp-server/tools/promptsList.ts +37 -0
- package/src/mcp-server/tools/promptsListVersions.ts +37 -0
- package/src/mcp-server/tools/promptsRetrieve.ts +37 -0
- package/src/mcp-server/tools/promptsUpdate.ts +35 -0
- package/src/mcp-server/tools/remoteconfigsRetrieve.ts +36 -0
- package/src/mcp-server/tools.ts +126 -0
- package/src/models/components/deployments.ts +3133 -635
- package/src/models/operations/bulkcreatedatapoints.ts +1816 -0
- package/src/models/operations/cleardataset.ts +75 -0
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createdataset.ts +296 -0
- package/src/models/operations/createdatasetitem.ts +1740 -0
- package/src/models/operations/createprompt.ts +736 -637
- package/src/models/operations/deletedatapoint.ts +81 -0
- package/src/models/operations/deletedataset.ts +75 -0
- package/src/models/operations/deploymentcreatemetric.ts +3983 -837
- package/src/models/operations/deploymentgetconfig.ts +3446 -883
- package/src/models/operations/deploymentinvoke.ts +434 -379
- package/src/models/operations/deployments.ts +46 -0
- package/src/models/operations/fileget.ts +3 -2
- package/src/models/operations/filelist.ts +43 -2
- package/src/models/operations/fileupload.ts +4 -2
- package/src/models/operations/getallprompts.ts +57 -8
- package/src/models/operations/getoneprompt.ts +15 -8
- package/src/models/operations/getpromptversion.ts +15 -8
- package/src/models/operations/index.ts +12 -0
- package/src/models/operations/listdatasetdatapoints.ts +1115 -0
- package/src/models/operations/listdatasets.ts +448 -0
- package/src/models/operations/listpromptversions.ts +57 -8
- package/src/models/operations/retrievedatapoint.ts +924 -0
- package/src/models/operations/retrievedataset.ts +288 -0
- package/src/models/operations/updatedatapoint.ts +1729 -0
- package/src/models/operations/updatedataset.ts +374 -0
- package/src/models/operations/updateprompt.ts +629 -698
- package/src/sdk/datasets.ts +222 -0
- package/src/sdk/files.ts +1 -1
- package/src/sdk/prompts.ts +14 -14
- package/src/sdk/sdk.ts +6 -0
|
@@ -4,258 +4,682 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
4
4
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
5
|
export type Inputs = string | number | boolean;
|
|
6
6
|
/**
|
|
7
|
-
* The role of the
|
|
7
|
+
* The role of the messages author, in this case tool.
|
|
8
8
|
*/
|
|
9
|
-
export declare const
|
|
10
|
-
readonly System: "system";
|
|
11
|
-
readonly Assistant: "assistant";
|
|
12
|
-
readonly User: "user";
|
|
13
|
-
readonly Exception: "exception";
|
|
9
|
+
export declare const DeploymentGetConfigPrefixMessagesDeploymentsRequestRole: {
|
|
14
10
|
readonly Tool: "tool";
|
|
15
|
-
readonly Prompt: "prompt";
|
|
16
|
-
readonly Correction: "correction";
|
|
17
|
-
readonly ExpectedOutput: "expected_output";
|
|
18
11
|
};
|
|
19
12
|
/**
|
|
20
|
-
* The role of the
|
|
13
|
+
* The role of the messages author, in this case tool.
|
|
21
14
|
*/
|
|
22
|
-
export type
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
export type
|
|
27
|
-
export type
|
|
15
|
+
export type DeploymentGetConfigPrefixMessagesDeploymentsRequestRole = ClosedEnum<typeof DeploymentGetConfigPrefixMessagesDeploymentsRequestRole>;
|
|
16
|
+
/**
|
|
17
|
+
* The contents of the tool message.
|
|
18
|
+
*/
|
|
19
|
+
export type DeploymentGetConfigPrefixMessagesContent = string | Array<string>;
|
|
20
|
+
export type ToolMessage = {
|
|
28
21
|
/**
|
|
29
|
-
*
|
|
22
|
+
* The role of the messages author, in this case tool.
|
|
30
23
|
*/
|
|
31
|
-
|
|
24
|
+
role: DeploymentGetConfigPrefixMessagesDeploymentsRequestRole;
|
|
32
25
|
/**
|
|
33
|
-
*
|
|
26
|
+
* The contents of the tool message.
|
|
34
27
|
*/
|
|
35
|
-
|
|
28
|
+
content: string | Array<string>;
|
|
29
|
+
/**
|
|
30
|
+
* Tool call that this message is responding to.
|
|
31
|
+
*/
|
|
32
|
+
toolCallId: string;
|
|
36
33
|
};
|
|
37
34
|
/**
|
|
38
|
-
* The
|
|
35
|
+
* The type of the content part.
|
|
39
36
|
*/
|
|
40
|
-
export
|
|
41
|
-
|
|
42
|
-
imageUrl: ImageUrl;
|
|
37
|
+
export declare const DeploymentGetConfig2DeploymentsRequestType: {
|
|
38
|
+
readonly Refusal: "refusal";
|
|
43
39
|
};
|
|
44
|
-
|
|
40
|
+
/**
|
|
41
|
+
* The type of the content part.
|
|
42
|
+
*/
|
|
43
|
+
export type DeploymentGetConfig2DeploymentsRequestType = ClosedEnum<typeof DeploymentGetConfig2DeploymentsRequestType>;
|
|
44
|
+
export type RefusalContentPart = {
|
|
45
|
+
/**
|
|
46
|
+
* The type of the content part.
|
|
47
|
+
*/
|
|
48
|
+
type: DeploymentGetConfig2DeploymentsRequestType;
|
|
49
|
+
/**
|
|
50
|
+
* The refusal message generated by the model.
|
|
51
|
+
*/
|
|
52
|
+
refusal: string;
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* The type of the content part.
|
|
56
|
+
*/
|
|
57
|
+
export declare const DeploymentGetConfig2DeploymentsType: {
|
|
45
58
|
readonly Text: "text";
|
|
46
59
|
};
|
|
47
|
-
export type Type = ClosedEnum<typeof Type>;
|
|
48
60
|
/**
|
|
49
|
-
*
|
|
61
|
+
* The type of the content part.
|
|
50
62
|
*/
|
|
51
|
-
export type
|
|
52
|
-
|
|
63
|
+
export type DeploymentGetConfig2DeploymentsType = ClosedEnum<typeof DeploymentGetConfig2DeploymentsType>;
|
|
64
|
+
export type TextContentPart = {
|
|
65
|
+
/**
|
|
66
|
+
* The type of the content part.
|
|
67
|
+
*/
|
|
68
|
+
type: DeploymentGetConfig2DeploymentsType;
|
|
69
|
+
/**
|
|
70
|
+
* The text content.
|
|
71
|
+
*/
|
|
53
72
|
text: string;
|
|
54
73
|
};
|
|
55
|
-
export type
|
|
74
|
+
export type Content2 = TextContentPart | RefusalContentPart;
|
|
56
75
|
/**
|
|
57
|
-
* The contents of the
|
|
76
|
+
* The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
|
|
58
77
|
*/
|
|
59
|
-
export type
|
|
60
|
-
|
|
78
|
+
export type PrefixMessagesContent = string | Array<TextContentPart | RefusalContentPart>;
|
|
79
|
+
/**
|
|
80
|
+
* The role of the messages author, in this case `assistant`.
|
|
81
|
+
*/
|
|
82
|
+
export declare const DeploymentGetConfigPrefixMessagesDeploymentsRole: {
|
|
83
|
+
readonly Assistant: "assistant";
|
|
84
|
+
};
|
|
85
|
+
/**
|
|
86
|
+
* The role of the messages author, in this case `assistant`.
|
|
87
|
+
*/
|
|
88
|
+
export type DeploymentGetConfigPrefixMessagesDeploymentsRole = ClosedEnum<typeof DeploymentGetConfigPrefixMessagesDeploymentsRole>;
|
|
89
|
+
/**
|
|
90
|
+
* Data about a previous audio response from the model.
|
|
91
|
+
*/
|
|
92
|
+
export type Audio = {
|
|
93
|
+
/**
|
|
94
|
+
* Unique identifier for a previous audio response from the model.
|
|
95
|
+
*/
|
|
96
|
+
id: string;
|
|
97
|
+
};
|
|
98
|
+
/**
|
|
99
|
+
* The type of the tool. Currently, only `function` is supported.
|
|
100
|
+
*/
|
|
101
|
+
export declare const PrefixMessagesType: {
|
|
61
102
|
readonly Function: "function";
|
|
62
103
|
};
|
|
63
|
-
|
|
104
|
+
/**
|
|
105
|
+
* The type of the tool. Currently, only `function` is supported.
|
|
106
|
+
*/
|
|
107
|
+
export type PrefixMessagesType = ClosedEnum<typeof PrefixMessagesType>;
|
|
64
108
|
export type FunctionT = {
|
|
65
|
-
name: string;
|
|
66
109
|
/**
|
|
67
|
-
*
|
|
110
|
+
* The name of the function to call.
|
|
68
111
|
*/
|
|
69
|
-
|
|
112
|
+
name?: string | undefined;
|
|
113
|
+
/**
|
|
114
|
+
* The arguments to call the function with, as generated by the model in JSON format. Note that the model does not always generate valid JSON, and may hallucinate parameters not defined by your function schema. Validate the arguments in your code before calling your function.
|
|
115
|
+
*/
|
|
116
|
+
arguments?: string | undefined;
|
|
70
117
|
};
|
|
71
118
|
export type ToolCalls = {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
119
|
+
/**
|
|
120
|
+
* The ID of the tool call.
|
|
121
|
+
*/
|
|
122
|
+
id: string;
|
|
123
|
+
/**
|
|
124
|
+
* The type of the tool. Currently, only `function` is supported.
|
|
125
|
+
*/
|
|
126
|
+
type: PrefixMessagesType;
|
|
75
127
|
function: FunctionT;
|
|
76
128
|
};
|
|
77
|
-
export type
|
|
129
|
+
export type AssistantMessage = {
|
|
78
130
|
/**
|
|
79
|
-
* The
|
|
131
|
+
* The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
|
|
80
132
|
*/
|
|
81
|
-
|
|
133
|
+
content?: string | Array<TextContentPart | RefusalContentPart> | undefined;
|
|
82
134
|
/**
|
|
83
|
-
* The
|
|
135
|
+
* The refusal message by the assistant.
|
|
136
|
+
*/
|
|
137
|
+
refusal?: string | null | undefined;
|
|
138
|
+
/**
|
|
139
|
+
* The role of the messages author, in this case `assistant`.
|
|
140
|
+
*/
|
|
141
|
+
role: DeploymentGetConfigPrefixMessagesDeploymentsRole;
|
|
142
|
+
/**
|
|
143
|
+
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
144
|
+
*/
|
|
145
|
+
name?: string | undefined;
|
|
146
|
+
/**
|
|
147
|
+
* Data about a previous audio response from the model.
|
|
148
|
+
*/
|
|
149
|
+
audio?: Audio | null | undefined;
|
|
150
|
+
/**
|
|
151
|
+
* The tool calls generated by the model, such as function calls.
|
|
84
152
|
*/
|
|
85
|
-
content: string | Array<One | Two2>;
|
|
86
153
|
toolCalls?: Array<ToolCalls> | undefined;
|
|
87
154
|
};
|
|
88
155
|
/**
|
|
89
|
-
* The role of the
|
|
156
|
+
* The role of the messages author, in this case `user`.
|
|
90
157
|
*/
|
|
91
|
-
export declare const
|
|
92
|
-
readonly System: "system";
|
|
93
|
-
readonly Assistant: "assistant";
|
|
158
|
+
export declare const DeploymentGetConfigPrefixMessagesRole: {
|
|
94
159
|
readonly User: "user";
|
|
95
|
-
readonly Exception: "exception";
|
|
96
|
-
readonly Tool: "tool";
|
|
97
|
-
readonly Prompt: "prompt";
|
|
98
|
-
readonly Correction: "correction";
|
|
99
|
-
readonly ExpectedOutput: "expected_output";
|
|
100
160
|
};
|
|
101
161
|
/**
|
|
102
|
-
* The role of the
|
|
162
|
+
* The role of the messages author, in this case `user`.
|
|
103
163
|
*/
|
|
104
|
-
export type
|
|
105
|
-
export declare const
|
|
106
|
-
readonly
|
|
164
|
+
export type DeploymentGetConfigPrefixMessagesRole = ClosedEnum<typeof DeploymentGetConfigPrefixMessagesRole>;
|
|
165
|
+
export declare const DeploymentGetConfig2Type: {
|
|
166
|
+
readonly InputAudio: "input_audio";
|
|
107
167
|
};
|
|
108
|
-
export type
|
|
109
|
-
|
|
168
|
+
export type DeploymentGetConfig2Type = ClosedEnum<typeof DeploymentGetConfig2Type>;
|
|
169
|
+
/**
|
|
170
|
+
* The format of the encoded audio data. Currently supports `wav` and `mp3`.
|
|
171
|
+
*/
|
|
172
|
+
export declare const Format: {
|
|
173
|
+
readonly Mp3: "mp3";
|
|
174
|
+
readonly Wav: "wav";
|
|
175
|
+
};
|
|
176
|
+
/**
|
|
177
|
+
* The format of the encoded audio data. Currently supports `wav` and `mp3`.
|
|
178
|
+
*/
|
|
179
|
+
export type Format = ClosedEnum<typeof Format>;
|
|
180
|
+
export type InputAudio = {
|
|
110
181
|
/**
|
|
111
|
-
*
|
|
182
|
+
* Base64 encoded audio data.
|
|
112
183
|
*/
|
|
113
|
-
|
|
184
|
+
data: string;
|
|
114
185
|
/**
|
|
115
|
-
*
|
|
186
|
+
* The format of the encoded audio data. Currently supports `wav` and `mp3`.
|
|
116
187
|
*/
|
|
117
|
-
|
|
188
|
+
format: Format;
|
|
118
189
|
};
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
export type DeploymentGetConfig22 = {
|
|
123
|
-
type: DeploymentGetConfig2DeploymentsType;
|
|
124
|
-
imageUrl: TwoImageUrl;
|
|
190
|
+
export type Three = {
|
|
191
|
+
type: DeploymentGetConfig2Type;
|
|
192
|
+
inputAudio: InputAudio;
|
|
125
193
|
};
|
|
126
|
-
export declare const
|
|
127
|
-
readonly
|
|
194
|
+
export declare const TwoType: {
|
|
195
|
+
readonly ImageUrl: "image_url";
|
|
128
196
|
};
|
|
129
|
-
export type
|
|
197
|
+
export type TwoType = ClosedEnum<typeof TwoType>;
|
|
130
198
|
/**
|
|
131
|
-
*
|
|
199
|
+
* Specifies the detail level of the image.
|
|
132
200
|
*/
|
|
133
|
-
export
|
|
134
|
-
|
|
135
|
-
|
|
201
|
+
export declare const Detail: {
|
|
202
|
+
readonly Low: "low";
|
|
203
|
+
readonly High: "high";
|
|
204
|
+
readonly Auto: "auto";
|
|
136
205
|
};
|
|
137
|
-
export type Content2 = Two1 | DeploymentGetConfig22;
|
|
138
206
|
/**
|
|
139
|
-
*
|
|
207
|
+
* Specifies the detail level of the image.
|
|
140
208
|
*/
|
|
141
|
-
export type
|
|
142
|
-
export
|
|
143
|
-
readonly Function: "function";
|
|
144
|
-
};
|
|
145
|
-
export type DeploymentGetConfigDeploymentsType = ClosedEnum<typeof DeploymentGetConfigDeploymentsType>;
|
|
146
|
-
export type DeploymentGetConfigFunction = {
|
|
147
|
-
name: string;
|
|
148
|
-
/**
|
|
149
|
-
* JSON string arguments for the functions
|
|
150
|
-
*/
|
|
151
|
-
arguments: string;
|
|
152
|
-
};
|
|
153
|
-
export type DeploymentGetConfigToolCalls = {
|
|
154
|
-
id?: string | undefined;
|
|
155
|
-
index?: number | undefined;
|
|
156
|
-
type: DeploymentGetConfigDeploymentsType;
|
|
157
|
-
function: DeploymentGetConfigFunction;
|
|
158
|
-
};
|
|
159
|
-
export type Messages = {
|
|
209
|
+
export type Detail = ClosedEnum<typeof Detail>;
|
|
210
|
+
export type ImageUrl = {
|
|
160
211
|
/**
|
|
161
|
-
*
|
|
212
|
+
* Either a URL of the image or the base64 encoded image data.
|
|
162
213
|
*/
|
|
163
|
-
|
|
214
|
+
url: string;
|
|
164
215
|
/**
|
|
165
|
-
*
|
|
216
|
+
* Specifies the detail level of the image.
|
|
166
217
|
*/
|
|
167
|
-
|
|
168
|
-
|
|
218
|
+
detail?: Detail | undefined;
|
|
219
|
+
};
|
|
220
|
+
export type Two2 = {
|
|
221
|
+
type: TwoType;
|
|
222
|
+
imageUrl: ImageUrl;
|
|
223
|
+
};
|
|
224
|
+
export declare const Type: {
|
|
225
|
+
readonly Text: "text";
|
|
226
|
+
};
|
|
227
|
+
export type Type = ClosedEnum<typeof Type>;
|
|
228
|
+
export type One = {
|
|
229
|
+
type: Type;
|
|
230
|
+
text: string;
|
|
169
231
|
};
|
|
232
|
+
export type Two = One | Two2 | Three;
|
|
170
233
|
/**
|
|
171
|
-
*
|
|
234
|
+
* The contents of the user message.
|
|
172
235
|
*/
|
|
173
|
-
export type
|
|
236
|
+
export type Content = string | Array<One | Two2 | Three>;
|
|
237
|
+
export type UserMessage = {
|
|
174
238
|
/**
|
|
175
|
-
*
|
|
239
|
+
* The role of the messages author, in this case `user`.
|
|
176
240
|
*/
|
|
177
|
-
|
|
241
|
+
role: DeploymentGetConfigPrefixMessagesRole;
|
|
178
242
|
/**
|
|
179
|
-
*
|
|
243
|
+
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
180
244
|
*/
|
|
181
|
-
|
|
245
|
+
name?: string | undefined;
|
|
182
246
|
/**
|
|
183
|
-
* The
|
|
247
|
+
* The contents of the user message.
|
|
184
248
|
*/
|
|
185
|
-
|
|
249
|
+
content: string | Array<One | Two2 | Three>;
|
|
186
250
|
};
|
|
187
|
-
|
|
251
|
+
/**
|
|
252
|
+
* The role of the messages author, in this case `system`.
|
|
253
|
+
*/
|
|
254
|
+
export declare const PrefixMessagesRole: {
|
|
255
|
+
readonly System: "system";
|
|
256
|
+
};
|
|
257
|
+
/**
|
|
258
|
+
* The role of the messages author, in this case `system`.
|
|
259
|
+
*/
|
|
260
|
+
export type PrefixMessagesRole = ClosedEnum<typeof PrefixMessagesRole>;
|
|
261
|
+
export type SystemMessage = {
|
|
188
262
|
/**
|
|
189
|
-
* The
|
|
263
|
+
* The role of the messages author, in this case `system`.
|
|
190
264
|
*/
|
|
191
|
-
|
|
265
|
+
role: PrefixMessagesRole;
|
|
192
266
|
/**
|
|
193
|
-
*
|
|
267
|
+
* The contents of the system message.
|
|
194
268
|
*/
|
|
195
|
-
|
|
196
|
-
};
|
|
197
|
-
export type InvokeOptions = {
|
|
269
|
+
content: string;
|
|
198
270
|
/**
|
|
199
|
-
*
|
|
271
|
+
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
200
272
|
*/
|
|
201
|
-
|
|
273
|
+
name?: string | undefined;
|
|
202
274
|
};
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
275
|
+
/**
|
|
276
|
+
* The role of the messages author, in this case `developer`.
|
|
277
|
+
*/
|
|
278
|
+
export declare const Role: {
|
|
279
|
+
readonly Developer: "developer";
|
|
280
|
+
};
|
|
281
|
+
/**
|
|
282
|
+
* The role of the messages author, in this case `developer`.
|
|
283
|
+
*/
|
|
284
|
+
export type Role = ClosedEnum<typeof Role>;
|
|
285
|
+
export type DeveloperMessage = {
|
|
208
286
|
/**
|
|
209
|
-
*
|
|
287
|
+
* The role of the messages author, in this case `developer`.
|
|
210
288
|
*/
|
|
211
|
-
|
|
212
|
-
[k: string]: string | number | boolean;
|
|
213
|
-
} | undefined;
|
|
289
|
+
role: Role;
|
|
214
290
|
/**
|
|
215
|
-
*
|
|
291
|
+
* The contents of the developer message.
|
|
216
292
|
*/
|
|
217
|
-
|
|
218
|
-
[k: string]: any;
|
|
219
|
-
} | undefined;
|
|
293
|
+
content: string;
|
|
220
294
|
/**
|
|
221
|
-
*
|
|
295
|
+
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
222
296
|
*/
|
|
223
|
-
|
|
297
|
+
name?: string | undefined;
|
|
298
|
+
};
|
|
299
|
+
export type PrefixMessages = DeveloperMessage | SystemMessage | UserMessage | ToolMessage | AssistantMessage;
|
|
300
|
+
/**
|
|
301
|
+
* The role of the messages author, in this case tool.
|
|
302
|
+
*/
|
|
303
|
+
export declare const DeploymentGetConfigMessagesDeploymentsRequestRequestBodyRole: {
|
|
304
|
+
readonly Tool: "tool";
|
|
305
|
+
};
|
|
306
|
+
/**
|
|
307
|
+
* The role of the messages author, in this case tool.
|
|
308
|
+
*/
|
|
309
|
+
export type DeploymentGetConfigMessagesDeploymentsRequestRequestBodyRole = ClosedEnum<typeof DeploymentGetConfigMessagesDeploymentsRequestRequestBodyRole>;
|
|
310
|
+
/**
|
|
311
|
+
* The contents of the tool message.
|
|
312
|
+
*/
|
|
313
|
+
export type DeploymentGetConfigMessagesDeploymentsContent = string | Array<string>;
|
|
314
|
+
export type MessagesToolMessage = {
|
|
224
315
|
/**
|
|
225
|
-
*
|
|
316
|
+
* The role of the messages author, in this case tool.
|
|
226
317
|
*/
|
|
227
|
-
|
|
318
|
+
role: DeploymentGetConfigMessagesDeploymentsRequestRequestBodyRole;
|
|
228
319
|
/**
|
|
229
|
-
*
|
|
320
|
+
* The contents of the tool message.
|
|
230
321
|
*/
|
|
231
|
-
|
|
322
|
+
content: string | Array<string>;
|
|
232
323
|
/**
|
|
233
|
-
*
|
|
324
|
+
* Tool call that this message is responding to.
|
|
234
325
|
*/
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
326
|
+
toolCallId: string;
|
|
327
|
+
};
|
|
328
|
+
/**
|
|
329
|
+
* The type of the content part.
|
|
330
|
+
*/
|
|
331
|
+
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType: {
|
|
332
|
+
readonly Refusal: "refusal";
|
|
333
|
+
};
|
|
334
|
+
/**
|
|
335
|
+
* The type of the content part.
|
|
336
|
+
*/
|
|
337
|
+
export type DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType = ClosedEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType>;
|
|
338
|
+
export type TwoRefusalContentPart = {
|
|
238
339
|
/**
|
|
239
|
-
*
|
|
340
|
+
* The type of the content part.
|
|
240
341
|
*/
|
|
241
|
-
|
|
242
|
-
[k: string]: any;
|
|
243
|
-
} | undefined;
|
|
342
|
+
type: DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType;
|
|
244
343
|
/**
|
|
245
|
-
*
|
|
344
|
+
* The refusal message generated by the model.
|
|
246
345
|
*/
|
|
247
|
-
|
|
248
|
-
invokeOptions?: InvokeOptions | undefined;
|
|
346
|
+
refusal: string;
|
|
249
347
|
};
|
|
250
348
|
/**
|
|
251
|
-
* The type of the
|
|
349
|
+
* The type of the content part.
|
|
252
350
|
*/
|
|
253
|
-
export declare const
|
|
254
|
-
readonly
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
351
|
+
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Type: {
|
|
352
|
+
readonly Text: "text";
|
|
353
|
+
};
|
|
354
|
+
/**
|
|
355
|
+
* The type of the content part.
|
|
356
|
+
*/
|
|
357
|
+
export type DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Type = ClosedEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Type>;
|
|
358
|
+
export type TwoTextContentPart = {
|
|
359
|
+
/**
|
|
360
|
+
* The type of the content part.
|
|
361
|
+
*/
|
|
362
|
+
type: DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Type;
|
|
363
|
+
/**
|
|
364
|
+
* The text content.
|
|
365
|
+
*/
|
|
366
|
+
text: string;
|
|
367
|
+
};
|
|
368
|
+
export type DeploymentGetConfigContentDeployments2 = TwoTextContentPart | TwoRefusalContentPart;
|
|
369
|
+
/**
|
|
370
|
+
* The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
|
|
371
|
+
*/
|
|
372
|
+
export type DeploymentGetConfigMessagesContent = string | Array<TwoTextContentPart | TwoRefusalContentPart>;
|
|
373
|
+
/**
|
|
374
|
+
* The role of the messages author, in this case `assistant`.
|
|
375
|
+
*/
|
|
376
|
+
export declare const DeploymentGetConfigMessagesDeploymentsRequestRole: {
|
|
377
|
+
readonly Assistant: "assistant";
|
|
378
|
+
};
|
|
379
|
+
/**
|
|
380
|
+
* The role of the messages author, in this case `assistant`.
|
|
381
|
+
*/
|
|
382
|
+
export type DeploymentGetConfigMessagesDeploymentsRequestRole = ClosedEnum<typeof DeploymentGetConfigMessagesDeploymentsRequestRole>;
|
|
383
|
+
/**
|
|
384
|
+
* Data about a previous audio response from the model.
|
|
385
|
+
*/
|
|
386
|
+
export type MessagesAudio = {
|
|
387
|
+
/**
|
|
388
|
+
* Unique identifier for a previous audio response from the model.
|
|
389
|
+
*/
|
|
390
|
+
id: string;
|
|
391
|
+
};
|
|
392
|
+
/**
|
|
393
|
+
* The type of the tool. Currently, only `function` is supported.
|
|
394
|
+
*/
|
|
395
|
+
export declare const MessagesType: {
|
|
396
|
+
readonly Function: "function";
|
|
397
|
+
};
|
|
398
|
+
/**
|
|
399
|
+
* The type of the tool. Currently, only `function` is supported.
|
|
400
|
+
*/
|
|
401
|
+
export type MessagesType = ClosedEnum<typeof MessagesType>;
|
|
402
|
+
export type MessagesFunction = {
|
|
403
|
+
/**
|
|
404
|
+
* The name of the function to call.
|
|
405
|
+
*/
|
|
406
|
+
name?: string | undefined;
|
|
407
|
+
/**
|
|
408
|
+
* The arguments to call the function with, as generated by the model in JSON format. Note that the model does not always generate valid JSON, and may hallucinate parameters not defined by your function schema. Validate the arguments in your code before calling your function.
|
|
409
|
+
*/
|
|
410
|
+
arguments?: string | undefined;
|
|
411
|
+
};
|
|
412
|
+
export type MessagesToolCalls = {
|
|
413
|
+
/**
|
|
414
|
+
* The ID of the tool call.
|
|
415
|
+
*/
|
|
416
|
+
id: string;
|
|
417
|
+
/**
|
|
418
|
+
* The type of the tool. Currently, only `function` is supported.
|
|
419
|
+
*/
|
|
420
|
+
type: MessagesType;
|
|
421
|
+
function: MessagesFunction;
|
|
422
|
+
};
|
|
423
|
+
export type MessagesAssistantMessage = {
|
|
424
|
+
/**
|
|
425
|
+
* The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
|
|
426
|
+
*/
|
|
427
|
+
content?: string | Array<TwoTextContentPart | TwoRefusalContentPart> | undefined;
|
|
428
|
+
/**
|
|
429
|
+
* The refusal message by the assistant.
|
|
430
|
+
*/
|
|
431
|
+
refusal?: string | null | undefined;
|
|
432
|
+
/**
|
|
433
|
+
* The role of the messages author, in this case `assistant`.
|
|
434
|
+
*/
|
|
435
|
+
role: DeploymentGetConfigMessagesDeploymentsRequestRole;
|
|
436
|
+
/**
|
|
437
|
+
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
438
|
+
*/
|
|
439
|
+
name?: string | undefined;
|
|
440
|
+
/**
|
|
441
|
+
* Data about a previous audio response from the model.
|
|
442
|
+
*/
|
|
443
|
+
audio?: MessagesAudio | null | undefined;
|
|
444
|
+
/**
|
|
445
|
+
* The tool calls generated by the model, such as function calls.
|
|
446
|
+
*/
|
|
447
|
+
toolCalls?: Array<MessagesToolCalls> | undefined;
|
|
448
|
+
};
|
|
449
|
+
/**
|
|
450
|
+
* The role of the messages author, in this case `user`.
|
|
451
|
+
*/
|
|
452
|
+
export declare const DeploymentGetConfigMessagesDeploymentsRole: {
|
|
453
|
+
readonly User: "user";
|
|
454
|
+
};
|
|
455
|
+
/**
|
|
456
|
+
* The role of the messages author, in this case `user`.
|
|
457
|
+
*/
|
|
458
|
+
export type DeploymentGetConfigMessagesDeploymentsRole = ClosedEnum<typeof DeploymentGetConfigMessagesDeploymentsRole>;
|
|
459
|
+
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type: {
|
|
460
|
+
readonly InputAudio: "input_audio";
|
|
461
|
+
};
|
|
462
|
+
export type DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type = ClosedEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type>;
|
|
463
|
+
/**
|
|
464
|
+
* The format of the encoded audio data. Currently supports `wav` and `mp3`.
|
|
465
|
+
*/
|
|
466
|
+
export declare const TwoFormat: {
|
|
467
|
+
readonly Mp3: "mp3";
|
|
468
|
+
readonly Wav: "wav";
|
|
469
|
+
};
|
|
470
|
+
/**
|
|
471
|
+
* The format of the encoded audio data. Currently supports `wav` and `mp3`.
|
|
472
|
+
*/
|
|
473
|
+
export type TwoFormat = ClosedEnum<typeof TwoFormat>;
|
|
474
|
+
export type TwoInputAudio = {
|
|
475
|
+
/**
|
|
476
|
+
* Base64 encoded audio data.
|
|
477
|
+
*/
|
|
478
|
+
data: string;
|
|
479
|
+
/**
|
|
480
|
+
* The format of the encoded audio data. Currently supports `wav` and `mp3`.
|
|
481
|
+
*/
|
|
482
|
+
format: TwoFormat;
|
|
483
|
+
};
|
|
484
|
+
export type Two3 = {
|
|
485
|
+
type: DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type;
|
|
486
|
+
inputAudio: TwoInputAudio;
|
|
487
|
+
};
|
|
488
|
+
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType: {
|
|
489
|
+
readonly ImageUrl: "image_url";
|
|
490
|
+
};
|
|
491
|
+
export type DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType = ClosedEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType>;
|
|
492
|
+
/**
|
|
493
|
+
* Specifies the detail level of the image.
|
|
494
|
+
*/
|
|
495
|
+
export declare const TwoDetail: {
|
|
496
|
+
readonly Low: "low";
|
|
497
|
+
readonly High: "high";
|
|
498
|
+
readonly Auto: "auto";
|
|
499
|
+
};
|
|
500
|
+
/**
|
|
501
|
+
* Specifies the detail level of the image.
|
|
502
|
+
*/
|
|
503
|
+
export type TwoDetail = ClosedEnum<typeof TwoDetail>;
|
|
504
|
+
export type TwoImageUrl = {
|
|
505
|
+
/**
|
|
506
|
+
* Either a URL of the image or the base64 encoded image data.
|
|
507
|
+
*/
|
|
508
|
+
url: string;
|
|
509
|
+
/**
|
|
510
|
+
* Specifies the detail level of the image.
|
|
511
|
+
*/
|
|
512
|
+
detail?: TwoDetail | undefined;
|
|
513
|
+
};
|
|
514
|
+
export type DeploymentGetConfig22 = {
|
|
515
|
+
type: DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType;
|
|
516
|
+
imageUrl: TwoImageUrl;
|
|
517
|
+
};
|
|
518
|
+
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyType: {
|
|
519
|
+
readonly Text: "text";
|
|
520
|
+
};
|
|
521
|
+
export type DeploymentGetConfig2DeploymentsRequestRequestBodyType = ClosedEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyType>;
|
|
522
|
+
export type Two1 = {
|
|
523
|
+
type: DeploymentGetConfig2DeploymentsRequestRequestBodyType;
|
|
524
|
+
text: string;
|
|
525
|
+
};
|
|
526
|
+
export type DeploymentGetConfigContent2 = Two1 | DeploymentGetConfig22 | Two3;
|
|
527
|
+
/**
|
|
528
|
+
* The contents of the user message.
|
|
529
|
+
*/
|
|
530
|
+
export type MessagesContent = string | Array<Two1 | DeploymentGetConfig22 | Two3>;
|
|
531
|
+
export type MessagesUserMessage = {
|
|
532
|
+
/**
|
|
533
|
+
* The role of the messages author, in this case `user`.
|
|
534
|
+
*/
|
|
535
|
+
role: DeploymentGetConfigMessagesDeploymentsRole;
|
|
536
|
+
/**
|
|
537
|
+
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
538
|
+
*/
|
|
539
|
+
name?: string | undefined;
|
|
540
|
+
/**
|
|
541
|
+
* The contents of the user message.
|
|
542
|
+
*/
|
|
543
|
+
content: string | Array<Two1 | DeploymentGetConfig22 | Two3>;
|
|
544
|
+
};
|
|
545
|
+
/**
|
|
546
|
+
* The role of the messages author, in this case `system`.
|
|
547
|
+
*/
|
|
548
|
+
export declare const DeploymentGetConfigMessagesRole: {
|
|
549
|
+
readonly System: "system";
|
|
550
|
+
};
|
|
551
|
+
/**
|
|
552
|
+
* The role of the messages author, in this case `system`.
|
|
553
|
+
*/
|
|
554
|
+
export type DeploymentGetConfigMessagesRole = ClosedEnum<typeof DeploymentGetConfigMessagesRole>;
|
|
555
|
+
export type MessagesSystemMessage = {
|
|
556
|
+
/**
|
|
557
|
+
* The role of the messages author, in this case `system`.
|
|
558
|
+
*/
|
|
559
|
+
role: DeploymentGetConfigMessagesRole;
|
|
560
|
+
/**
|
|
561
|
+
* The contents of the system message.
|
|
562
|
+
*/
|
|
563
|
+
content: string;
|
|
564
|
+
/**
|
|
565
|
+
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
566
|
+
*/
|
|
567
|
+
name?: string | undefined;
|
|
568
|
+
};
|
|
569
|
+
/**
|
|
570
|
+
* The role of the messages author, in this case `developer`.
|
|
571
|
+
*/
|
|
572
|
+
export declare const MessagesRole: {
|
|
573
|
+
readonly Developer: "developer";
|
|
574
|
+
};
|
|
575
|
+
/**
|
|
576
|
+
* The role of the messages author, in this case `developer`.
|
|
577
|
+
*/
|
|
578
|
+
export type MessagesRole = ClosedEnum<typeof MessagesRole>;
|
|
579
|
+
export type MessagesDeveloperMessage = {
|
|
580
|
+
/**
|
|
581
|
+
* The role of the messages author, in this case `developer`.
|
|
582
|
+
*/
|
|
583
|
+
role: MessagesRole;
|
|
584
|
+
/**
|
|
585
|
+
* The contents of the developer message.
|
|
586
|
+
*/
|
|
587
|
+
content: string;
|
|
588
|
+
/**
|
|
589
|
+
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
590
|
+
*/
|
|
591
|
+
name?: string | undefined;
|
|
592
|
+
};
|
|
593
|
+
export type Messages = MessagesDeveloperMessage | MessagesSystemMessage | MessagesUserMessage | MessagesToolMessage | MessagesAssistantMessage;
|
|
594
|
+
/**
|
|
595
|
+
* Metadata about the document
|
|
596
|
+
*/
|
|
597
|
+
export type Metadata = {
|
|
598
|
+
/**
|
|
599
|
+
* Name of the file the text is from.
|
|
600
|
+
*/
|
|
601
|
+
fileName?: string | undefined;
|
|
602
|
+
/**
|
|
603
|
+
* Content type of the file the text is from.
|
|
604
|
+
*/
|
|
605
|
+
fileType?: string | undefined;
|
|
606
|
+
/**
|
|
607
|
+
* The page number the text is from.
|
|
608
|
+
*/
|
|
609
|
+
pageNumber?: number | undefined;
|
|
610
|
+
};
|
|
611
|
+
export type Documents = {
|
|
612
|
+
/**
|
|
613
|
+
* The text content of the document
|
|
614
|
+
*/
|
|
615
|
+
text: string;
|
|
616
|
+
/**
|
|
617
|
+
* Metadata about the document
|
|
618
|
+
*/
|
|
619
|
+
metadata?: Metadata | undefined;
|
|
620
|
+
};
|
|
621
|
+
export type InvokeOptions = {
|
|
622
|
+
/**
|
|
623
|
+
* Whether to include the retrieved knowledge chunks in the response.
|
|
624
|
+
*/
|
|
625
|
+
includeRetrievals?: boolean | undefined;
|
|
626
|
+
};
|
|
627
|
+
export type DeploymentGetConfigRequestBody = {
|
|
628
|
+
/**
|
|
629
|
+
* The deployment key to invoke
|
|
630
|
+
*/
|
|
631
|
+
key: string;
|
|
632
|
+
/**
|
|
633
|
+
* Key-value pairs variables to replace in your prompts. If a variable is not provided that is defined in the prompt, the default variables are used.
|
|
634
|
+
*/
|
|
635
|
+
inputs?: {
|
|
636
|
+
[k: string]: string | number | boolean;
|
|
637
|
+
} | undefined;
|
|
638
|
+
/**
|
|
639
|
+
* Key-value pairs that match your data model and fields declared in your configuration matrix. If you send multiple prompt keys, the context will be applied to the evaluation of each key.
|
|
640
|
+
*/
|
|
641
|
+
context?: {
|
|
642
|
+
[k: string]: any;
|
|
643
|
+
} | undefined;
|
|
644
|
+
/**
|
|
645
|
+
* A list of messages to include after the `System` message, but before the `User` and `Assistant` pairs configured in your deployment.
|
|
646
|
+
*/
|
|
647
|
+
prefixMessages?: Array<DeveloperMessage | SystemMessage | UserMessage | ToolMessage | AssistantMessage> | undefined;
|
|
648
|
+
/**
|
|
649
|
+
* A list of messages to send to the deployment.
|
|
650
|
+
*/
|
|
651
|
+
messages?: Array<MessagesDeveloperMessage | MessagesSystemMessage | MessagesUserMessage | MessagesToolMessage | MessagesAssistantMessage> | undefined;
|
|
652
|
+
/**
|
|
653
|
+
* A list of file IDs that are associated with the deployment request.
|
|
654
|
+
*/
|
|
655
|
+
fileIds?: Array<string> | undefined;
|
|
656
|
+
/**
|
|
657
|
+
* Key-value pairs that you want to attach to the log generated by this request.
|
|
658
|
+
*/
|
|
659
|
+
metadata?: {
|
|
660
|
+
[k: string]: any;
|
|
661
|
+
} | undefined;
|
|
662
|
+
/**
|
|
663
|
+
* Utilized for passing additional parameters to the model provider. Exercise caution when using this feature, as the included parameters will overwrite any parameters specified in the deployment prompt configuration.
|
|
664
|
+
*/
|
|
665
|
+
extraParams?: {
|
|
666
|
+
[k: string]: any;
|
|
667
|
+
} | undefined;
|
|
668
|
+
/**
|
|
669
|
+
* A list of relevant documents that evaluators and guardrails can cite to evaluate the user input or the model response based on your deployment settings.
|
|
670
|
+
*/
|
|
671
|
+
documents?: Array<Documents> | undefined;
|
|
672
|
+
invokeOptions?: InvokeOptions | undefined;
|
|
673
|
+
};
|
|
674
|
+
/**
|
|
675
|
+
* The type of the model. Current `chat`,`completion` and `image` are supported
|
|
676
|
+
*/
|
|
677
|
+
export declare const DeploymentGetConfigType: {
|
|
678
|
+
readonly Chat: "chat";
|
|
679
|
+
readonly Completion: "completion";
|
|
680
|
+
readonly Embedding: "embedding";
|
|
681
|
+
readonly Vision: "vision";
|
|
682
|
+
readonly Image: "image";
|
|
259
683
|
readonly Tts: "tts";
|
|
260
684
|
readonly Stt: "stt";
|
|
261
685
|
readonly Rerank: "rerank";
|
|
@@ -264,11 +688,11 @@ export declare const DeploymentGetConfigDeploymentsResponseType: {
|
|
|
264
688
|
/**
|
|
265
689
|
* The type of the model. Current `chat`,`completion` and `image` are supported
|
|
266
690
|
*/
|
|
267
|
-
export type
|
|
691
|
+
export type DeploymentGetConfigType = ClosedEnum<typeof DeploymentGetConfigType>;
|
|
268
692
|
/**
|
|
269
693
|
* The role of the prompt message
|
|
270
694
|
*/
|
|
271
|
-
export declare const
|
|
695
|
+
export declare const DeploymentGetConfigRole: {
|
|
272
696
|
readonly System: "system";
|
|
273
697
|
readonly Assistant: "assistant";
|
|
274
698
|
readonly User: "user";
|
|
@@ -281,7 +705,7 @@ export declare const DeploymentGetConfigDeploymentsRole: {
|
|
|
281
705
|
/**
|
|
282
706
|
* The role of the prompt message
|
|
283
707
|
*/
|
|
284
|
-
export type
|
|
708
|
+
export type DeploymentGetConfigRole = ClosedEnum<typeof DeploymentGetConfigRole>;
|
|
285
709
|
export declare const DeploymentGetConfig2DeploymentsResponse200Type: {
|
|
286
710
|
readonly ImageUrl: "image_url";
|
|
287
711
|
};
|
|
@@ -318,38 +742,38 @@ export type DeploymentGetConfig21 = {
|
|
|
318
742
|
type: DeploymentGetConfig2DeploymentsResponseType;
|
|
319
743
|
text: string;
|
|
320
744
|
};
|
|
321
|
-
export type
|
|
745
|
+
export type DeploymentGetConfigContentDeploymentsResponse2 = DeploymentGetConfig21 | DeploymentGetConfig2Deployments2;
|
|
322
746
|
/**
|
|
323
747
|
* The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts.
|
|
324
748
|
*/
|
|
325
|
-
export type
|
|
326
|
-
export declare const
|
|
749
|
+
export type DeploymentGetConfigContent = string | Array<DeploymentGetConfig21 | DeploymentGetConfig2Deployments2>;
|
|
750
|
+
export declare const DeploymentGetConfigDeploymentsResponseType: {
|
|
327
751
|
readonly Function: "function";
|
|
328
752
|
};
|
|
329
|
-
export type
|
|
330
|
-
export type
|
|
753
|
+
export type DeploymentGetConfigDeploymentsResponseType = ClosedEnum<typeof DeploymentGetConfigDeploymentsResponseType>;
|
|
754
|
+
export type DeploymentGetConfigDeploymentsFunction = {
|
|
331
755
|
name: string;
|
|
332
756
|
/**
|
|
333
757
|
* JSON string arguments for the functions
|
|
334
758
|
*/
|
|
335
759
|
arguments: string;
|
|
336
760
|
};
|
|
337
|
-
export type
|
|
761
|
+
export type DeploymentGetConfigToolCalls = {
|
|
338
762
|
id?: string | undefined;
|
|
339
763
|
index?: number | undefined;
|
|
340
|
-
type:
|
|
341
|
-
function:
|
|
764
|
+
type: DeploymentGetConfigDeploymentsResponseType;
|
|
765
|
+
function: DeploymentGetConfigDeploymentsFunction;
|
|
342
766
|
};
|
|
343
767
|
export type DeploymentGetConfigMessages = {
|
|
344
768
|
/**
|
|
345
769
|
* The role of the prompt message
|
|
346
770
|
*/
|
|
347
|
-
role:
|
|
771
|
+
role: DeploymentGetConfigRole;
|
|
348
772
|
/**
|
|
349
773
|
* The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts.
|
|
350
774
|
*/
|
|
351
775
|
content: string | Array<DeploymentGetConfig21 | DeploymentGetConfig2Deployments2>;
|
|
352
|
-
toolCalls?: Array<
|
|
776
|
+
toolCalls?: Array<DeploymentGetConfigToolCalls> | undefined;
|
|
353
777
|
};
|
|
354
778
|
/**
|
|
355
779
|
* Only supported on `image` models.
|
|
@@ -519,18 +943,22 @@ export type ParametersT = {
|
|
|
519
943
|
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
520
944
|
*/
|
|
521
945
|
reasoningEffort?: DeploymentGetConfigReasoningEffort | undefined;
|
|
946
|
+
/**
|
|
947
|
+
* Gives the model enhanced reasoning capabilities for complex tasks. A value of 0 disables thinking. The minimum budget tokens for thinking are 1024. The Budget Tokens should never exceed the Max Tokens parameter. Only supported by `Anthropic`
|
|
948
|
+
*/
|
|
949
|
+
budgetTokens?: number | undefined;
|
|
522
950
|
};
|
|
523
951
|
/**
|
|
524
952
|
* The type of the tool. Currently, only `function` is supported.
|
|
525
953
|
*/
|
|
526
|
-
export declare const
|
|
954
|
+
export declare const DeploymentGetConfigDeploymentsType: {
|
|
527
955
|
readonly Function: "function";
|
|
528
956
|
};
|
|
529
957
|
/**
|
|
530
958
|
* The type of the tool. Currently, only `function` is supported.
|
|
531
959
|
*/
|
|
532
|
-
export type
|
|
533
|
-
export type
|
|
960
|
+
export type DeploymentGetConfigDeploymentsType = ClosedEnum<typeof DeploymentGetConfigDeploymentsType>;
|
|
961
|
+
export type DeploymentGetConfigFunction = {
|
|
534
962
|
/**
|
|
535
963
|
* The name of the function to be called. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
|
|
536
964
|
*/
|
|
@@ -554,8 +982,8 @@ export type Tools = {
|
|
|
554
982
|
/**
|
|
555
983
|
* The type of the tool. Currently, only `function` is supported.
|
|
556
984
|
*/
|
|
557
|
-
type:
|
|
558
|
-
function:
|
|
985
|
+
type: DeploymentGetConfigDeploymentsType;
|
|
986
|
+
function: DeploymentGetConfigFunction;
|
|
559
987
|
};
|
|
560
988
|
/**
|
|
561
989
|
* The deployment configuration
|
|
@@ -576,7 +1004,7 @@ export type DeploymentGetConfigResponseBody = {
|
|
|
576
1004
|
/**
|
|
577
1005
|
* The type of the model. Current `chat`,`completion` and `image` are supported
|
|
578
1006
|
*/
|
|
579
|
-
type?:
|
|
1007
|
+
type?: DeploymentGetConfigType | undefined;
|
|
580
1008
|
/**
|
|
581
1009
|
* The current version of the deployment
|
|
582
1010
|
*/
|
|
@@ -596,21 +1024,672 @@ export declare const Inputs$inboundSchema: z.ZodType<Inputs, z.ZodTypeDef, unkno
|
|
|
596
1024
|
/** @internal */
|
|
597
1025
|
export type Inputs$Outbound = string | number | boolean;
|
|
598
1026
|
/** @internal */
|
|
599
|
-
export declare const Inputs$outboundSchema: z.ZodType<Inputs$Outbound, z.ZodTypeDef, Inputs>;
|
|
1027
|
+
export declare const Inputs$outboundSchema: z.ZodType<Inputs$Outbound, z.ZodTypeDef, Inputs>;
|
|
1028
|
+
/**
|
|
1029
|
+
* @internal
|
|
1030
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1031
|
+
*/
|
|
1032
|
+
export declare namespace Inputs$ {
|
|
1033
|
+
/** @deprecated use `Inputs$inboundSchema` instead. */
|
|
1034
|
+
const inboundSchema: z.ZodType<Inputs, z.ZodTypeDef, unknown>;
|
|
1035
|
+
/** @deprecated use `Inputs$outboundSchema` instead. */
|
|
1036
|
+
const outboundSchema: z.ZodType<Inputs$Outbound, z.ZodTypeDef, Inputs>;
|
|
1037
|
+
/** @deprecated use `Inputs$Outbound` instead. */
|
|
1038
|
+
type Outbound = Inputs$Outbound;
|
|
1039
|
+
}
|
|
1040
|
+
export declare function inputsToJSON(inputs: Inputs): string;
|
|
1041
|
+
export declare function inputsFromJSON(jsonString: string): SafeParseResult<Inputs, SDKValidationError>;
|
|
1042
|
+
/** @internal */
|
|
1043
|
+
export declare const DeploymentGetConfigPrefixMessagesDeploymentsRequestRole$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigPrefixMessagesDeploymentsRequestRole>;
|
|
1044
|
+
/** @internal */
|
|
1045
|
+
export declare const DeploymentGetConfigPrefixMessagesDeploymentsRequestRole$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigPrefixMessagesDeploymentsRequestRole>;
|
|
1046
|
+
/**
|
|
1047
|
+
* @internal
|
|
1048
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1049
|
+
*/
|
|
1050
|
+
export declare namespace DeploymentGetConfigPrefixMessagesDeploymentsRequestRole$ {
|
|
1051
|
+
/** @deprecated use `DeploymentGetConfigPrefixMessagesDeploymentsRequestRole$inboundSchema` instead. */
|
|
1052
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
1053
|
+
readonly Tool: "tool";
|
|
1054
|
+
}>;
|
|
1055
|
+
/** @deprecated use `DeploymentGetConfigPrefixMessagesDeploymentsRequestRole$outboundSchema` instead. */
|
|
1056
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
1057
|
+
readonly Tool: "tool";
|
|
1058
|
+
}>;
|
|
1059
|
+
}
|
|
1060
|
+
/** @internal */
|
|
1061
|
+
export declare const DeploymentGetConfigPrefixMessagesContent$inboundSchema: z.ZodType<DeploymentGetConfigPrefixMessagesContent, z.ZodTypeDef, unknown>;
|
|
1062
|
+
/** @internal */
|
|
1063
|
+
export type DeploymentGetConfigPrefixMessagesContent$Outbound = string | Array<string>;
|
|
1064
|
+
/** @internal */
|
|
1065
|
+
export declare const DeploymentGetConfigPrefixMessagesContent$outboundSchema: z.ZodType<DeploymentGetConfigPrefixMessagesContent$Outbound, z.ZodTypeDef, DeploymentGetConfigPrefixMessagesContent>;
|
|
1066
|
+
/**
|
|
1067
|
+
* @internal
|
|
1068
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1069
|
+
*/
|
|
1070
|
+
export declare namespace DeploymentGetConfigPrefixMessagesContent$ {
|
|
1071
|
+
/** @deprecated use `DeploymentGetConfigPrefixMessagesContent$inboundSchema` instead. */
|
|
1072
|
+
const inboundSchema: z.ZodType<DeploymentGetConfigPrefixMessagesContent, z.ZodTypeDef, unknown>;
|
|
1073
|
+
/** @deprecated use `DeploymentGetConfigPrefixMessagesContent$outboundSchema` instead. */
|
|
1074
|
+
const outboundSchema: z.ZodType<DeploymentGetConfigPrefixMessagesContent$Outbound, z.ZodTypeDef, DeploymentGetConfigPrefixMessagesContent>;
|
|
1075
|
+
/** @deprecated use `DeploymentGetConfigPrefixMessagesContent$Outbound` instead. */
|
|
1076
|
+
type Outbound = DeploymentGetConfigPrefixMessagesContent$Outbound;
|
|
1077
|
+
}
|
|
1078
|
+
export declare function deploymentGetConfigPrefixMessagesContentToJSON(deploymentGetConfigPrefixMessagesContent: DeploymentGetConfigPrefixMessagesContent): string;
|
|
1079
|
+
export declare function deploymentGetConfigPrefixMessagesContentFromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigPrefixMessagesContent, SDKValidationError>;
|
|
1080
|
+
/** @internal */
|
|
1081
|
+
export declare const ToolMessage$inboundSchema: z.ZodType<ToolMessage, z.ZodTypeDef, unknown>;
|
|
1082
|
+
/** @internal */
|
|
1083
|
+
export type ToolMessage$Outbound = {
|
|
1084
|
+
role: string;
|
|
1085
|
+
content: string | Array<string>;
|
|
1086
|
+
tool_call_id: string;
|
|
1087
|
+
};
|
|
1088
|
+
/** @internal */
|
|
1089
|
+
export declare const ToolMessage$outboundSchema: z.ZodType<ToolMessage$Outbound, z.ZodTypeDef, ToolMessage>;
|
|
1090
|
+
/**
|
|
1091
|
+
* @internal
|
|
1092
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1093
|
+
*/
|
|
1094
|
+
export declare namespace ToolMessage$ {
|
|
1095
|
+
/** @deprecated use `ToolMessage$inboundSchema` instead. */
|
|
1096
|
+
const inboundSchema: z.ZodType<ToolMessage, z.ZodTypeDef, unknown>;
|
|
1097
|
+
/** @deprecated use `ToolMessage$outboundSchema` instead. */
|
|
1098
|
+
const outboundSchema: z.ZodType<ToolMessage$Outbound, z.ZodTypeDef, ToolMessage>;
|
|
1099
|
+
/** @deprecated use `ToolMessage$Outbound` instead. */
|
|
1100
|
+
type Outbound = ToolMessage$Outbound;
|
|
1101
|
+
}
|
|
1102
|
+
export declare function toolMessageToJSON(toolMessage: ToolMessage): string;
|
|
1103
|
+
export declare function toolMessageFromJSON(jsonString: string): SafeParseResult<ToolMessage, SDKValidationError>;
|
|
1104
|
+
/** @internal */
|
|
1105
|
+
export declare const DeploymentGetConfig2DeploymentsRequestType$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsRequestType>;
|
|
1106
|
+
/** @internal */
|
|
1107
|
+
export declare const DeploymentGetConfig2DeploymentsRequestType$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsRequestType>;
|
|
1108
|
+
/**
|
|
1109
|
+
* @internal
|
|
1110
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1111
|
+
*/
|
|
1112
|
+
export declare namespace DeploymentGetConfig2DeploymentsRequestType$ {
|
|
1113
|
+
/** @deprecated use `DeploymentGetConfig2DeploymentsRequestType$inboundSchema` instead. */
|
|
1114
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
1115
|
+
readonly Refusal: "refusal";
|
|
1116
|
+
}>;
|
|
1117
|
+
/** @deprecated use `DeploymentGetConfig2DeploymentsRequestType$outboundSchema` instead. */
|
|
1118
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
1119
|
+
readonly Refusal: "refusal";
|
|
1120
|
+
}>;
|
|
1121
|
+
}
|
|
1122
|
+
/** @internal */
|
|
1123
|
+
export declare const RefusalContentPart$inboundSchema: z.ZodType<RefusalContentPart, z.ZodTypeDef, unknown>;
|
|
1124
|
+
/** @internal */
|
|
1125
|
+
export type RefusalContentPart$Outbound = {
|
|
1126
|
+
type: string;
|
|
1127
|
+
refusal: string;
|
|
1128
|
+
};
|
|
1129
|
+
/** @internal */
|
|
1130
|
+
export declare const RefusalContentPart$outboundSchema: z.ZodType<RefusalContentPart$Outbound, z.ZodTypeDef, RefusalContentPart>;
|
|
1131
|
+
/**
|
|
1132
|
+
* @internal
|
|
1133
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1134
|
+
*/
|
|
1135
|
+
export declare namespace RefusalContentPart$ {
|
|
1136
|
+
/** @deprecated use `RefusalContentPart$inboundSchema` instead. */
|
|
1137
|
+
const inboundSchema: z.ZodType<RefusalContentPart, z.ZodTypeDef, unknown>;
|
|
1138
|
+
/** @deprecated use `RefusalContentPart$outboundSchema` instead. */
|
|
1139
|
+
const outboundSchema: z.ZodType<RefusalContentPart$Outbound, z.ZodTypeDef, RefusalContentPart>;
|
|
1140
|
+
/** @deprecated use `RefusalContentPart$Outbound` instead. */
|
|
1141
|
+
type Outbound = RefusalContentPart$Outbound;
|
|
1142
|
+
}
|
|
1143
|
+
export declare function refusalContentPartToJSON(refusalContentPart: RefusalContentPart): string;
|
|
1144
|
+
export declare function refusalContentPartFromJSON(jsonString: string): SafeParseResult<RefusalContentPart, SDKValidationError>;
|
|
1145
|
+
/** @internal */
|
|
1146
|
+
export declare const DeploymentGetConfig2DeploymentsType$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsType>;
|
|
1147
|
+
/** @internal */
|
|
1148
|
+
export declare const DeploymentGetConfig2DeploymentsType$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsType>;
|
|
1149
|
+
/**
|
|
1150
|
+
* @internal
|
|
1151
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1152
|
+
*/
|
|
1153
|
+
export declare namespace DeploymentGetConfig2DeploymentsType$ {
|
|
1154
|
+
/** @deprecated use `DeploymentGetConfig2DeploymentsType$inboundSchema` instead. */
|
|
1155
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
1156
|
+
readonly Text: "text";
|
|
1157
|
+
}>;
|
|
1158
|
+
/** @deprecated use `DeploymentGetConfig2DeploymentsType$outboundSchema` instead. */
|
|
1159
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
1160
|
+
readonly Text: "text";
|
|
1161
|
+
}>;
|
|
1162
|
+
}
|
|
1163
|
+
/** @internal */
|
|
1164
|
+
export declare const TextContentPart$inboundSchema: z.ZodType<TextContentPart, z.ZodTypeDef, unknown>;
|
|
1165
|
+
/** @internal */
|
|
1166
|
+
export type TextContentPart$Outbound = {
|
|
1167
|
+
type: string;
|
|
1168
|
+
text: string;
|
|
1169
|
+
};
|
|
1170
|
+
/** @internal */
|
|
1171
|
+
export declare const TextContentPart$outboundSchema: z.ZodType<TextContentPart$Outbound, z.ZodTypeDef, TextContentPart>;
|
|
1172
|
+
/**
|
|
1173
|
+
* @internal
|
|
1174
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1175
|
+
*/
|
|
1176
|
+
export declare namespace TextContentPart$ {
|
|
1177
|
+
/** @deprecated use `TextContentPart$inboundSchema` instead. */
|
|
1178
|
+
const inboundSchema: z.ZodType<TextContentPart, z.ZodTypeDef, unknown>;
|
|
1179
|
+
/** @deprecated use `TextContentPart$outboundSchema` instead. */
|
|
1180
|
+
const outboundSchema: z.ZodType<TextContentPart$Outbound, z.ZodTypeDef, TextContentPart>;
|
|
1181
|
+
/** @deprecated use `TextContentPart$Outbound` instead. */
|
|
1182
|
+
type Outbound = TextContentPart$Outbound;
|
|
1183
|
+
}
|
|
1184
|
+
export declare function textContentPartToJSON(textContentPart: TextContentPart): string;
|
|
1185
|
+
export declare function textContentPartFromJSON(jsonString: string): SafeParseResult<TextContentPart, SDKValidationError>;
|
|
1186
|
+
/** @internal */
|
|
1187
|
+
export declare const Content2$inboundSchema: z.ZodType<Content2, z.ZodTypeDef, unknown>;
|
|
1188
|
+
/** @internal */
|
|
1189
|
+
export type Content2$Outbound = TextContentPart$Outbound | RefusalContentPart$Outbound;
|
|
1190
|
+
/** @internal */
|
|
1191
|
+
export declare const Content2$outboundSchema: z.ZodType<Content2$Outbound, z.ZodTypeDef, Content2>;
|
|
1192
|
+
/**
|
|
1193
|
+
* @internal
|
|
1194
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1195
|
+
*/
|
|
1196
|
+
export declare namespace Content2$ {
|
|
1197
|
+
/** @deprecated use `Content2$inboundSchema` instead. */
|
|
1198
|
+
const inboundSchema: z.ZodType<Content2, z.ZodTypeDef, unknown>;
|
|
1199
|
+
/** @deprecated use `Content2$outboundSchema` instead. */
|
|
1200
|
+
const outboundSchema: z.ZodType<Content2$Outbound, z.ZodTypeDef, Content2>;
|
|
1201
|
+
/** @deprecated use `Content2$Outbound` instead. */
|
|
1202
|
+
type Outbound = Content2$Outbound;
|
|
1203
|
+
}
|
|
1204
|
+
export declare function content2ToJSON(content2: Content2): string;
|
|
1205
|
+
export declare function content2FromJSON(jsonString: string): SafeParseResult<Content2, SDKValidationError>;
|
|
1206
|
+
/** @internal */
|
|
1207
|
+
export declare const PrefixMessagesContent$inboundSchema: z.ZodType<PrefixMessagesContent, z.ZodTypeDef, unknown>;
|
|
1208
|
+
/** @internal */
|
|
1209
|
+
export type PrefixMessagesContent$Outbound = string | Array<TextContentPart$Outbound | RefusalContentPart$Outbound>;
|
|
1210
|
+
/** @internal */
|
|
1211
|
+
export declare const PrefixMessagesContent$outboundSchema: z.ZodType<PrefixMessagesContent$Outbound, z.ZodTypeDef, PrefixMessagesContent>;
|
|
1212
|
+
/**
|
|
1213
|
+
* @internal
|
|
1214
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1215
|
+
*/
|
|
1216
|
+
export declare namespace PrefixMessagesContent$ {
|
|
1217
|
+
/** @deprecated use `PrefixMessagesContent$inboundSchema` instead. */
|
|
1218
|
+
const inboundSchema: z.ZodType<PrefixMessagesContent, z.ZodTypeDef, unknown>;
|
|
1219
|
+
/** @deprecated use `PrefixMessagesContent$outboundSchema` instead. */
|
|
1220
|
+
const outboundSchema: z.ZodType<PrefixMessagesContent$Outbound, z.ZodTypeDef, PrefixMessagesContent>;
|
|
1221
|
+
/** @deprecated use `PrefixMessagesContent$Outbound` instead. */
|
|
1222
|
+
type Outbound = PrefixMessagesContent$Outbound;
|
|
1223
|
+
}
|
|
1224
|
+
export declare function prefixMessagesContentToJSON(prefixMessagesContent: PrefixMessagesContent): string;
|
|
1225
|
+
export declare function prefixMessagesContentFromJSON(jsonString: string): SafeParseResult<PrefixMessagesContent, SDKValidationError>;
|
|
1226
|
+
/** @internal */
|
|
1227
|
+
export declare const DeploymentGetConfigPrefixMessagesDeploymentsRole$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigPrefixMessagesDeploymentsRole>;
|
|
1228
|
+
/** @internal */
|
|
1229
|
+
export declare const DeploymentGetConfigPrefixMessagesDeploymentsRole$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigPrefixMessagesDeploymentsRole>;
|
|
1230
|
+
/**
|
|
1231
|
+
* @internal
|
|
1232
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1233
|
+
*/
|
|
1234
|
+
export declare namespace DeploymentGetConfigPrefixMessagesDeploymentsRole$ {
|
|
1235
|
+
/** @deprecated use `DeploymentGetConfigPrefixMessagesDeploymentsRole$inboundSchema` instead. */
|
|
1236
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
1237
|
+
readonly Assistant: "assistant";
|
|
1238
|
+
}>;
|
|
1239
|
+
/** @deprecated use `DeploymentGetConfigPrefixMessagesDeploymentsRole$outboundSchema` instead. */
|
|
1240
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
1241
|
+
readonly Assistant: "assistant";
|
|
1242
|
+
}>;
|
|
1243
|
+
}
|
|
1244
|
+
/** @internal */
|
|
1245
|
+
export declare const Audio$inboundSchema: z.ZodType<Audio, z.ZodTypeDef, unknown>;
|
|
1246
|
+
/** @internal */
|
|
1247
|
+
export type Audio$Outbound = {
|
|
1248
|
+
id: string;
|
|
1249
|
+
};
|
|
1250
|
+
/** @internal */
|
|
1251
|
+
export declare const Audio$outboundSchema: z.ZodType<Audio$Outbound, z.ZodTypeDef, Audio>;
|
|
1252
|
+
/**
|
|
1253
|
+
* @internal
|
|
1254
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1255
|
+
*/
|
|
1256
|
+
export declare namespace Audio$ {
|
|
1257
|
+
/** @deprecated use `Audio$inboundSchema` instead. */
|
|
1258
|
+
const inboundSchema: z.ZodType<Audio, z.ZodTypeDef, unknown>;
|
|
1259
|
+
/** @deprecated use `Audio$outboundSchema` instead. */
|
|
1260
|
+
const outboundSchema: z.ZodType<Audio$Outbound, z.ZodTypeDef, Audio>;
|
|
1261
|
+
/** @deprecated use `Audio$Outbound` instead. */
|
|
1262
|
+
type Outbound = Audio$Outbound;
|
|
1263
|
+
}
|
|
1264
|
+
export declare function audioToJSON(audio: Audio): string;
|
|
1265
|
+
export declare function audioFromJSON(jsonString: string): SafeParseResult<Audio, SDKValidationError>;
|
|
1266
|
+
/** @internal */
|
|
1267
|
+
export declare const PrefixMessagesType$inboundSchema: z.ZodNativeEnum<typeof PrefixMessagesType>;
|
|
1268
|
+
/** @internal */
|
|
1269
|
+
export declare const PrefixMessagesType$outboundSchema: z.ZodNativeEnum<typeof PrefixMessagesType>;
|
|
1270
|
+
/**
|
|
1271
|
+
* @internal
|
|
1272
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1273
|
+
*/
|
|
1274
|
+
export declare namespace PrefixMessagesType$ {
|
|
1275
|
+
/** @deprecated use `PrefixMessagesType$inboundSchema` instead. */
|
|
1276
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
1277
|
+
readonly Function: "function";
|
|
1278
|
+
}>;
|
|
1279
|
+
/** @deprecated use `PrefixMessagesType$outboundSchema` instead. */
|
|
1280
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
1281
|
+
readonly Function: "function";
|
|
1282
|
+
}>;
|
|
1283
|
+
}
|
|
1284
|
+
/** @internal */
|
|
1285
|
+
export declare const FunctionT$inboundSchema: z.ZodType<FunctionT, z.ZodTypeDef, unknown>;
|
|
1286
|
+
/** @internal */
|
|
1287
|
+
export type FunctionT$Outbound = {
|
|
1288
|
+
name?: string | undefined;
|
|
1289
|
+
arguments?: string | undefined;
|
|
1290
|
+
};
|
|
1291
|
+
/** @internal */
|
|
1292
|
+
export declare const FunctionT$outboundSchema: z.ZodType<FunctionT$Outbound, z.ZodTypeDef, FunctionT>;
|
|
1293
|
+
/**
|
|
1294
|
+
* @internal
|
|
1295
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1296
|
+
*/
|
|
1297
|
+
export declare namespace FunctionT$ {
|
|
1298
|
+
/** @deprecated use `FunctionT$inboundSchema` instead. */
|
|
1299
|
+
const inboundSchema: z.ZodType<FunctionT, z.ZodTypeDef, unknown>;
|
|
1300
|
+
/** @deprecated use `FunctionT$outboundSchema` instead. */
|
|
1301
|
+
const outboundSchema: z.ZodType<FunctionT$Outbound, z.ZodTypeDef, FunctionT>;
|
|
1302
|
+
/** @deprecated use `FunctionT$Outbound` instead. */
|
|
1303
|
+
type Outbound = FunctionT$Outbound;
|
|
1304
|
+
}
|
|
1305
|
+
export declare function functionToJSON(functionT: FunctionT): string;
|
|
1306
|
+
export declare function functionFromJSON(jsonString: string): SafeParseResult<FunctionT, SDKValidationError>;
|
|
1307
|
+
/** @internal */
|
|
1308
|
+
export declare const ToolCalls$inboundSchema: z.ZodType<ToolCalls, z.ZodTypeDef, unknown>;
|
|
1309
|
+
/** @internal */
|
|
1310
|
+
export type ToolCalls$Outbound = {
|
|
1311
|
+
id: string;
|
|
1312
|
+
type: string;
|
|
1313
|
+
function: FunctionT$Outbound;
|
|
1314
|
+
};
|
|
1315
|
+
/** @internal */
|
|
1316
|
+
export declare const ToolCalls$outboundSchema: z.ZodType<ToolCalls$Outbound, z.ZodTypeDef, ToolCalls>;
|
|
1317
|
+
/**
|
|
1318
|
+
* @internal
|
|
1319
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1320
|
+
*/
|
|
1321
|
+
export declare namespace ToolCalls$ {
|
|
1322
|
+
/** @deprecated use `ToolCalls$inboundSchema` instead. */
|
|
1323
|
+
const inboundSchema: z.ZodType<ToolCalls, z.ZodTypeDef, unknown>;
|
|
1324
|
+
/** @deprecated use `ToolCalls$outboundSchema` instead. */
|
|
1325
|
+
const outboundSchema: z.ZodType<ToolCalls$Outbound, z.ZodTypeDef, ToolCalls>;
|
|
1326
|
+
/** @deprecated use `ToolCalls$Outbound` instead. */
|
|
1327
|
+
type Outbound = ToolCalls$Outbound;
|
|
1328
|
+
}
|
|
1329
|
+
export declare function toolCallsToJSON(toolCalls: ToolCalls): string;
|
|
1330
|
+
export declare function toolCallsFromJSON(jsonString: string): SafeParseResult<ToolCalls, SDKValidationError>;
|
|
1331
|
+
/** @internal */
|
|
1332
|
+
export declare const AssistantMessage$inboundSchema: z.ZodType<AssistantMessage, z.ZodTypeDef, unknown>;
|
|
1333
|
+
/** @internal */
|
|
1334
|
+
export type AssistantMessage$Outbound = {
|
|
1335
|
+
content?: string | Array<TextContentPart$Outbound | RefusalContentPart$Outbound> | undefined;
|
|
1336
|
+
refusal?: string | null | undefined;
|
|
1337
|
+
role: string;
|
|
1338
|
+
name?: string | undefined;
|
|
1339
|
+
audio?: Audio$Outbound | null | undefined;
|
|
1340
|
+
tool_calls?: Array<ToolCalls$Outbound> | undefined;
|
|
1341
|
+
};
|
|
1342
|
+
/** @internal */
|
|
1343
|
+
export declare const AssistantMessage$outboundSchema: z.ZodType<AssistantMessage$Outbound, z.ZodTypeDef, AssistantMessage>;
|
|
1344
|
+
/**
|
|
1345
|
+
* @internal
|
|
1346
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1347
|
+
*/
|
|
1348
|
+
export declare namespace AssistantMessage$ {
|
|
1349
|
+
/** @deprecated use `AssistantMessage$inboundSchema` instead. */
|
|
1350
|
+
const inboundSchema: z.ZodType<AssistantMessage, z.ZodTypeDef, unknown>;
|
|
1351
|
+
/** @deprecated use `AssistantMessage$outboundSchema` instead. */
|
|
1352
|
+
const outboundSchema: z.ZodType<AssistantMessage$Outbound, z.ZodTypeDef, AssistantMessage>;
|
|
1353
|
+
/** @deprecated use `AssistantMessage$Outbound` instead. */
|
|
1354
|
+
type Outbound = AssistantMessage$Outbound;
|
|
1355
|
+
}
|
|
1356
|
+
export declare function assistantMessageToJSON(assistantMessage: AssistantMessage): string;
|
|
1357
|
+
export declare function assistantMessageFromJSON(jsonString: string): SafeParseResult<AssistantMessage, SDKValidationError>;
|
|
1358
|
+
/** @internal */
|
|
1359
|
+
export declare const DeploymentGetConfigPrefixMessagesRole$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigPrefixMessagesRole>;
|
|
1360
|
+
/** @internal */
|
|
1361
|
+
export declare const DeploymentGetConfigPrefixMessagesRole$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigPrefixMessagesRole>;
|
|
1362
|
+
/**
|
|
1363
|
+
* @internal
|
|
1364
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1365
|
+
*/
|
|
1366
|
+
export declare namespace DeploymentGetConfigPrefixMessagesRole$ {
|
|
1367
|
+
/** @deprecated use `DeploymentGetConfigPrefixMessagesRole$inboundSchema` instead. */
|
|
1368
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
1369
|
+
readonly User: "user";
|
|
1370
|
+
}>;
|
|
1371
|
+
/** @deprecated use `DeploymentGetConfigPrefixMessagesRole$outboundSchema` instead. */
|
|
1372
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
1373
|
+
readonly User: "user";
|
|
1374
|
+
}>;
|
|
1375
|
+
}
|
|
1376
|
+
/** @internal */
|
|
1377
|
+
export declare const DeploymentGetConfig2Type$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2Type>;
|
|
1378
|
+
/** @internal */
|
|
1379
|
+
export declare const DeploymentGetConfig2Type$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2Type>;
|
|
1380
|
+
/**
|
|
1381
|
+
* @internal
|
|
1382
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1383
|
+
*/
|
|
1384
|
+
export declare namespace DeploymentGetConfig2Type$ {
|
|
1385
|
+
/** @deprecated use `DeploymentGetConfig2Type$inboundSchema` instead. */
|
|
1386
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
1387
|
+
readonly InputAudio: "input_audio";
|
|
1388
|
+
}>;
|
|
1389
|
+
/** @deprecated use `DeploymentGetConfig2Type$outboundSchema` instead. */
|
|
1390
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
1391
|
+
readonly InputAudio: "input_audio";
|
|
1392
|
+
}>;
|
|
1393
|
+
}
|
|
1394
|
+
/** @internal */
|
|
1395
|
+
export declare const Format$inboundSchema: z.ZodNativeEnum<typeof Format>;
|
|
1396
|
+
/** @internal */
|
|
1397
|
+
export declare const Format$outboundSchema: z.ZodNativeEnum<typeof Format>;
|
|
1398
|
+
/**
|
|
1399
|
+
* @internal
|
|
1400
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1401
|
+
*/
|
|
1402
|
+
export declare namespace Format$ {
|
|
1403
|
+
/** @deprecated use `Format$inboundSchema` instead. */
|
|
1404
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
1405
|
+
readonly Mp3: "mp3";
|
|
1406
|
+
readonly Wav: "wav";
|
|
1407
|
+
}>;
|
|
1408
|
+
/** @deprecated use `Format$outboundSchema` instead. */
|
|
1409
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
1410
|
+
readonly Mp3: "mp3";
|
|
1411
|
+
readonly Wav: "wav";
|
|
1412
|
+
}>;
|
|
1413
|
+
}
|
|
1414
|
+
/** @internal */
|
|
1415
|
+
export declare const InputAudio$inboundSchema: z.ZodType<InputAudio, z.ZodTypeDef, unknown>;
|
|
1416
|
+
/** @internal */
|
|
1417
|
+
export type InputAudio$Outbound = {
|
|
1418
|
+
data: string;
|
|
1419
|
+
format: string;
|
|
1420
|
+
};
|
|
1421
|
+
/** @internal */
|
|
1422
|
+
export declare const InputAudio$outboundSchema: z.ZodType<InputAudio$Outbound, z.ZodTypeDef, InputAudio>;
|
|
1423
|
+
/**
|
|
1424
|
+
* @internal
|
|
1425
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1426
|
+
*/
|
|
1427
|
+
export declare namespace InputAudio$ {
|
|
1428
|
+
/** @deprecated use `InputAudio$inboundSchema` instead. */
|
|
1429
|
+
const inboundSchema: z.ZodType<InputAudio, z.ZodTypeDef, unknown>;
|
|
1430
|
+
/** @deprecated use `InputAudio$outboundSchema` instead. */
|
|
1431
|
+
const outboundSchema: z.ZodType<InputAudio$Outbound, z.ZodTypeDef, InputAudio>;
|
|
1432
|
+
/** @deprecated use `InputAudio$Outbound` instead. */
|
|
1433
|
+
type Outbound = InputAudio$Outbound;
|
|
1434
|
+
}
|
|
1435
|
+
export declare function inputAudioToJSON(inputAudio: InputAudio): string;
|
|
1436
|
+
export declare function inputAudioFromJSON(jsonString: string): SafeParseResult<InputAudio, SDKValidationError>;
|
|
1437
|
+
/** @internal */
|
|
1438
|
+
export declare const Three$inboundSchema: z.ZodType<Three, z.ZodTypeDef, unknown>;
|
|
1439
|
+
/** @internal */
|
|
1440
|
+
export type Three$Outbound = {
|
|
1441
|
+
type: string;
|
|
1442
|
+
input_audio: InputAudio$Outbound;
|
|
1443
|
+
};
|
|
1444
|
+
/** @internal */
|
|
1445
|
+
export declare const Three$outboundSchema: z.ZodType<Three$Outbound, z.ZodTypeDef, Three>;
|
|
1446
|
+
/**
|
|
1447
|
+
* @internal
|
|
1448
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1449
|
+
*/
|
|
1450
|
+
export declare namespace Three$ {
|
|
1451
|
+
/** @deprecated use `Three$inboundSchema` instead. */
|
|
1452
|
+
const inboundSchema: z.ZodType<Three, z.ZodTypeDef, unknown>;
|
|
1453
|
+
/** @deprecated use `Three$outboundSchema` instead. */
|
|
1454
|
+
const outboundSchema: z.ZodType<Three$Outbound, z.ZodTypeDef, Three>;
|
|
1455
|
+
/** @deprecated use `Three$Outbound` instead. */
|
|
1456
|
+
type Outbound = Three$Outbound;
|
|
1457
|
+
}
|
|
1458
|
+
export declare function threeToJSON(three: Three): string;
|
|
1459
|
+
export declare function threeFromJSON(jsonString: string): SafeParseResult<Three, SDKValidationError>;
|
|
1460
|
+
/** @internal */
|
|
1461
|
+
export declare const TwoType$inboundSchema: z.ZodNativeEnum<typeof TwoType>;
|
|
1462
|
+
/** @internal */
|
|
1463
|
+
export declare const TwoType$outboundSchema: z.ZodNativeEnum<typeof TwoType>;
|
|
1464
|
+
/**
|
|
1465
|
+
* @internal
|
|
1466
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1467
|
+
*/
|
|
1468
|
+
export declare namespace TwoType$ {
|
|
1469
|
+
/** @deprecated use `TwoType$inboundSchema` instead. */
|
|
1470
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
1471
|
+
readonly ImageUrl: "image_url";
|
|
1472
|
+
}>;
|
|
1473
|
+
/** @deprecated use `TwoType$outboundSchema` instead. */
|
|
1474
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
1475
|
+
readonly ImageUrl: "image_url";
|
|
1476
|
+
}>;
|
|
1477
|
+
}
|
|
1478
|
+
/** @internal */
|
|
1479
|
+
export declare const Detail$inboundSchema: z.ZodNativeEnum<typeof Detail>;
|
|
1480
|
+
/** @internal */
|
|
1481
|
+
export declare const Detail$outboundSchema: z.ZodNativeEnum<typeof Detail>;
|
|
1482
|
+
/**
|
|
1483
|
+
* @internal
|
|
1484
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1485
|
+
*/
|
|
1486
|
+
export declare namespace Detail$ {
|
|
1487
|
+
/** @deprecated use `Detail$inboundSchema` instead. */
|
|
1488
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
1489
|
+
readonly Low: "low";
|
|
1490
|
+
readonly High: "high";
|
|
1491
|
+
readonly Auto: "auto";
|
|
1492
|
+
}>;
|
|
1493
|
+
/** @deprecated use `Detail$outboundSchema` instead. */
|
|
1494
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
1495
|
+
readonly Low: "low";
|
|
1496
|
+
readonly High: "high";
|
|
1497
|
+
readonly Auto: "auto";
|
|
1498
|
+
}>;
|
|
1499
|
+
}
|
|
1500
|
+
/** @internal */
|
|
1501
|
+
export declare const ImageUrl$inboundSchema: z.ZodType<ImageUrl, z.ZodTypeDef, unknown>;
|
|
1502
|
+
/** @internal */
|
|
1503
|
+
export type ImageUrl$Outbound = {
|
|
1504
|
+
url: string;
|
|
1505
|
+
detail?: string | undefined;
|
|
1506
|
+
};
|
|
1507
|
+
/** @internal */
|
|
1508
|
+
export declare const ImageUrl$outboundSchema: z.ZodType<ImageUrl$Outbound, z.ZodTypeDef, ImageUrl>;
|
|
1509
|
+
/**
|
|
1510
|
+
* @internal
|
|
1511
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1512
|
+
*/
|
|
1513
|
+
export declare namespace ImageUrl$ {
|
|
1514
|
+
/** @deprecated use `ImageUrl$inboundSchema` instead. */
|
|
1515
|
+
const inboundSchema: z.ZodType<ImageUrl, z.ZodTypeDef, unknown>;
|
|
1516
|
+
/** @deprecated use `ImageUrl$outboundSchema` instead. */
|
|
1517
|
+
const outboundSchema: z.ZodType<ImageUrl$Outbound, z.ZodTypeDef, ImageUrl>;
|
|
1518
|
+
/** @deprecated use `ImageUrl$Outbound` instead. */
|
|
1519
|
+
type Outbound = ImageUrl$Outbound;
|
|
1520
|
+
}
|
|
1521
|
+
export declare function imageUrlToJSON(imageUrl: ImageUrl): string;
|
|
1522
|
+
export declare function imageUrlFromJSON(jsonString: string): SafeParseResult<ImageUrl, SDKValidationError>;
|
|
1523
|
+
/** @internal */
|
|
1524
|
+
export declare const Two2$inboundSchema: z.ZodType<Two2, z.ZodTypeDef, unknown>;
|
|
1525
|
+
/** @internal */
|
|
1526
|
+
export type Two2$Outbound = {
|
|
1527
|
+
type: string;
|
|
1528
|
+
image_url: ImageUrl$Outbound;
|
|
1529
|
+
};
|
|
1530
|
+
/** @internal */
|
|
1531
|
+
export declare const Two2$outboundSchema: z.ZodType<Two2$Outbound, z.ZodTypeDef, Two2>;
|
|
1532
|
+
/**
|
|
1533
|
+
* @internal
|
|
1534
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1535
|
+
*/
|
|
1536
|
+
export declare namespace Two2$ {
|
|
1537
|
+
/** @deprecated use `Two2$inboundSchema` instead. */
|
|
1538
|
+
const inboundSchema: z.ZodType<Two2, z.ZodTypeDef, unknown>;
|
|
1539
|
+
/** @deprecated use `Two2$outboundSchema` instead. */
|
|
1540
|
+
const outboundSchema: z.ZodType<Two2$Outbound, z.ZodTypeDef, Two2>;
|
|
1541
|
+
/** @deprecated use `Two2$Outbound` instead. */
|
|
1542
|
+
type Outbound = Two2$Outbound;
|
|
1543
|
+
}
|
|
1544
|
+
export declare function two2ToJSON(two2: Two2): string;
|
|
1545
|
+
export declare function two2FromJSON(jsonString: string): SafeParseResult<Two2, SDKValidationError>;
|
|
1546
|
+
/** @internal */
|
|
1547
|
+
export declare const Type$inboundSchema: z.ZodNativeEnum<typeof Type>;
|
|
1548
|
+
/** @internal */
|
|
1549
|
+
export declare const Type$outboundSchema: z.ZodNativeEnum<typeof Type>;
|
|
1550
|
+
/**
|
|
1551
|
+
* @internal
|
|
1552
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1553
|
+
*/
|
|
1554
|
+
export declare namespace Type$ {
|
|
1555
|
+
/** @deprecated use `Type$inboundSchema` instead. */
|
|
1556
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
1557
|
+
readonly Text: "text";
|
|
1558
|
+
}>;
|
|
1559
|
+
/** @deprecated use `Type$outboundSchema` instead. */
|
|
1560
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
1561
|
+
readonly Text: "text";
|
|
1562
|
+
}>;
|
|
1563
|
+
}
|
|
1564
|
+
/** @internal */
|
|
1565
|
+
export declare const One$inboundSchema: z.ZodType<One, z.ZodTypeDef, unknown>;
|
|
1566
|
+
/** @internal */
|
|
1567
|
+
export type One$Outbound = {
|
|
1568
|
+
type: string;
|
|
1569
|
+
text: string;
|
|
1570
|
+
};
|
|
1571
|
+
/** @internal */
|
|
1572
|
+
export declare const One$outboundSchema: z.ZodType<One$Outbound, z.ZodTypeDef, One>;
|
|
1573
|
+
/**
|
|
1574
|
+
* @internal
|
|
1575
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1576
|
+
*/
|
|
1577
|
+
export declare namespace One$ {
|
|
1578
|
+
/** @deprecated use `One$inboundSchema` instead. */
|
|
1579
|
+
const inboundSchema: z.ZodType<One, z.ZodTypeDef, unknown>;
|
|
1580
|
+
/** @deprecated use `One$outboundSchema` instead. */
|
|
1581
|
+
const outboundSchema: z.ZodType<One$Outbound, z.ZodTypeDef, One>;
|
|
1582
|
+
/** @deprecated use `One$Outbound` instead. */
|
|
1583
|
+
type Outbound = One$Outbound;
|
|
1584
|
+
}
|
|
1585
|
+
export declare function oneToJSON(one: One): string;
|
|
1586
|
+
export declare function oneFromJSON(jsonString: string): SafeParseResult<One, SDKValidationError>;
|
|
1587
|
+
/** @internal */
|
|
1588
|
+
export declare const Two$inboundSchema: z.ZodType<Two, z.ZodTypeDef, unknown>;
|
|
1589
|
+
/** @internal */
|
|
1590
|
+
export type Two$Outbound = One$Outbound | Two2$Outbound | Three$Outbound;
|
|
1591
|
+
/** @internal */
|
|
1592
|
+
export declare const Two$outboundSchema: z.ZodType<Two$Outbound, z.ZodTypeDef, Two>;
|
|
1593
|
+
/**
|
|
1594
|
+
* @internal
|
|
1595
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1596
|
+
*/
|
|
1597
|
+
export declare namespace Two$ {
|
|
1598
|
+
/** @deprecated use `Two$inboundSchema` instead. */
|
|
1599
|
+
const inboundSchema: z.ZodType<Two, z.ZodTypeDef, unknown>;
|
|
1600
|
+
/** @deprecated use `Two$outboundSchema` instead. */
|
|
1601
|
+
const outboundSchema: z.ZodType<Two$Outbound, z.ZodTypeDef, Two>;
|
|
1602
|
+
/** @deprecated use `Two$Outbound` instead. */
|
|
1603
|
+
type Outbound = Two$Outbound;
|
|
1604
|
+
}
|
|
1605
|
+
export declare function twoToJSON(two: Two): string;
|
|
1606
|
+
export declare function twoFromJSON(jsonString: string): SafeParseResult<Two, SDKValidationError>;
|
|
1607
|
+
/** @internal */
|
|
1608
|
+
export declare const Content$inboundSchema: z.ZodType<Content, z.ZodTypeDef, unknown>;
|
|
1609
|
+
/** @internal */
|
|
1610
|
+
export type Content$Outbound = string | Array<One$Outbound | Two2$Outbound | Three$Outbound>;
|
|
1611
|
+
/** @internal */
|
|
1612
|
+
export declare const Content$outboundSchema: z.ZodType<Content$Outbound, z.ZodTypeDef, Content>;
|
|
1613
|
+
/**
|
|
1614
|
+
* @internal
|
|
1615
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1616
|
+
*/
|
|
1617
|
+
export declare namespace Content$ {
|
|
1618
|
+
/** @deprecated use `Content$inboundSchema` instead. */
|
|
1619
|
+
const inboundSchema: z.ZodType<Content, z.ZodTypeDef, unknown>;
|
|
1620
|
+
/** @deprecated use `Content$outboundSchema` instead. */
|
|
1621
|
+
const outboundSchema: z.ZodType<Content$Outbound, z.ZodTypeDef, Content>;
|
|
1622
|
+
/** @deprecated use `Content$Outbound` instead. */
|
|
1623
|
+
type Outbound = Content$Outbound;
|
|
1624
|
+
}
|
|
1625
|
+
export declare function contentToJSON(content: Content): string;
|
|
1626
|
+
export declare function contentFromJSON(jsonString: string): SafeParseResult<Content, SDKValidationError>;
|
|
1627
|
+
/** @internal */
|
|
1628
|
+
export declare const UserMessage$inboundSchema: z.ZodType<UserMessage, z.ZodTypeDef, unknown>;
|
|
1629
|
+
/** @internal */
|
|
1630
|
+
export type UserMessage$Outbound = {
|
|
1631
|
+
role: string;
|
|
1632
|
+
name?: string | undefined;
|
|
1633
|
+
content: string | Array<One$Outbound | Two2$Outbound | Three$Outbound>;
|
|
1634
|
+
};
|
|
1635
|
+
/** @internal */
|
|
1636
|
+
export declare const UserMessage$outboundSchema: z.ZodType<UserMessage$Outbound, z.ZodTypeDef, UserMessage>;
|
|
1637
|
+
/**
|
|
1638
|
+
* @internal
|
|
1639
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1640
|
+
*/
|
|
1641
|
+
export declare namespace UserMessage$ {
|
|
1642
|
+
/** @deprecated use `UserMessage$inboundSchema` instead. */
|
|
1643
|
+
const inboundSchema: z.ZodType<UserMessage, z.ZodTypeDef, unknown>;
|
|
1644
|
+
/** @deprecated use `UserMessage$outboundSchema` instead. */
|
|
1645
|
+
const outboundSchema: z.ZodType<UserMessage$Outbound, z.ZodTypeDef, UserMessage>;
|
|
1646
|
+
/** @deprecated use `UserMessage$Outbound` instead. */
|
|
1647
|
+
type Outbound = UserMessage$Outbound;
|
|
1648
|
+
}
|
|
1649
|
+
export declare function userMessageToJSON(userMessage: UserMessage): string;
|
|
1650
|
+
export declare function userMessageFromJSON(jsonString: string): SafeParseResult<UserMessage, SDKValidationError>;
|
|
1651
|
+
/** @internal */
|
|
1652
|
+
export declare const PrefixMessagesRole$inboundSchema: z.ZodNativeEnum<typeof PrefixMessagesRole>;
|
|
1653
|
+
/** @internal */
|
|
1654
|
+
export declare const PrefixMessagesRole$outboundSchema: z.ZodNativeEnum<typeof PrefixMessagesRole>;
|
|
1655
|
+
/**
|
|
1656
|
+
* @internal
|
|
1657
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1658
|
+
*/
|
|
1659
|
+
export declare namespace PrefixMessagesRole$ {
|
|
1660
|
+
/** @deprecated use `PrefixMessagesRole$inboundSchema` instead. */
|
|
1661
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
1662
|
+
readonly System: "system";
|
|
1663
|
+
}>;
|
|
1664
|
+
/** @deprecated use `PrefixMessagesRole$outboundSchema` instead. */
|
|
1665
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
1666
|
+
readonly System: "system";
|
|
1667
|
+
}>;
|
|
1668
|
+
}
|
|
1669
|
+
/** @internal */
|
|
1670
|
+
export declare const SystemMessage$inboundSchema: z.ZodType<SystemMessage, z.ZodTypeDef, unknown>;
|
|
1671
|
+
/** @internal */
|
|
1672
|
+
export type SystemMessage$Outbound = {
|
|
1673
|
+
role: string;
|
|
1674
|
+
content: string;
|
|
1675
|
+
name?: string | undefined;
|
|
1676
|
+
};
|
|
1677
|
+
/** @internal */
|
|
1678
|
+
export declare const SystemMessage$outboundSchema: z.ZodType<SystemMessage$Outbound, z.ZodTypeDef, SystemMessage>;
|
|
600
1679
|
/**
|
|
601
1680
|
* @internal
|
|
602
1681
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
603
1682
|
*/
|
|
604
|
-
export declare namespace
|
|
605
|
-
/** @deprecated use `
|
|
606
|
-
const inboundSchema: z.ZodType<
|
|
607
|
-
/** @deprecated use `
|
|
608
|
-
const outboundSchema: z.ZodType<
|
|
609
|
-
/** @deprecated use `
|
|
610
|
-
type Outbound =
|
|
1683
|
+
export declare namespace SystemMessage$ {
|
|
1684
|
+
/** @deprecated use `SystemMessage$inboundSchema` instead. */
|
|
1685
|
+
const inboundSchema: z.ZodType<SystemMessage, z.ZodTypeDef, unknown>;
|
|
1686
|
+
/** @deprecated use `SystemMessage$outboundSchema` instead. */
|
|
1687
|
+
const outboundSchema: z.ZodType<SystemMessage$Outbound, z.ZodTypeDef, SystemMessage>;
|
|
1688
|
+
/** @deprecated use `SystemMessage$Outbound` instead. */
|
|
1689
|
+
type Outbound = SystemMessage$Outbound;
|
|
611
1690
|
}
|
|
612
|
-
export declare function
|
|
613
|
-
export declare function
|
|
1691
|
+
export declare function systemMessageToJSON(systemMessage: SystemMessage): string;
|
|
1692
|
+
export declare function systemMessageFromJSON(jsonString: string): SafeParseResult<SystemMessage, SDKValidationError>;
|
|
614
1693
|
/** @internal */
|
|
615
1694
|
export declare const Role$inboundSchema: z.ZodNativeEnum<typeof Role>;
|
|
616
1695
|
/** @internal */
|
|
@@ -622,310 +1701,513 @@ export declare const Role$outboundSchema: z.ZodNativeEnum<typeof Role>;
|
|
|
622
1701
|
export declare namespace Role$ {
|
|
623
1702
|
/** @deprecated use `Role$inboundSchema` instead. */
|
|
624
1703
|
const inboundSchema: z.ZodNativeEnum<{
|
|
625
|
-
readonly
|
|
626
|
-
readonly Assistant: "assistant";
|
|
627
|
-
readonly User: "user";
|
|
628
|
-
readonly Exception: "exception";
|
|
629
|
-
readonly Tool: "tool";
|
|
630
|
-
readonly Prompt: "prompt";
|
|
631
|
-
readonly Correction: "correction";
|
|
632
|
-
readonly ExpectedOutput: "expected_output";
|
|
1704
|
+
readonly Developer: "developer";
|
|
633
1705
|
}>;
|
|
634
1706
|
/** @deprecated use `Role$outboundSchema` instead. */
|
|
635
1707
|
const outboundSchema: z.ZodNativeEnum<{
|
|
636
|
-
readonly
|
|
637
|
-
readonly Assistant: "assistant";
|
|
638
|
-
readonly User: "user";
|
|
639
|
-
readonly Exception: "exception";
|
|
640
|
-
readonly Tool: "tool";
|
|
641
|
-
readonly Prompt: "prompt";
|
|
642
|
-
readonly Correction: "correction";
|
|
643
|
-
readonly ExpectedOutput: "expected_output";
|
|
1708
|
+
readonly Developer: "developer";
|
|
644
1709
|
}>;
|
|
645
1710
|
}
|
|
646
1711
|
/** @internal */
|
|
647
|
-
export declare const
|
|
1712
|
+
export declare const DeveloperMessage$inboundSchema: z.ZodType<DeveloperMessage, z.ZodTypeDef, unknown>;
|
|
648
1713
|
/** @internal */
|
|
649
|
-
export
|
|
1714
|
+
export type DeveloperMessage$Outbound = {
|
|
1715
|
+
role: string;
|
|
1716
|
+
content: string;
|
|
1717
|
+
name?: string | undefined;
|
|
1718
|
+
};
|
|
1719
|
+
/** @internal */
|
|
1720
|
+
export declare const DeveloperMessage$outboundSchema: z.ZodType<DeveloperMessage$Outbound, z.ZodTypeDef, DeveloperMessage>;
|
|
650
1721
|
/**
|
|
651
1722
|
* @internal
|
|
652
1723
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
653
1724
|
*/
|
|
654
|
-
export declare namespace
|
|
655
|
-
/** @deprecated use `
|
|
1725
|
+
export declare namespace DeveloperMessage$ {
|
|
1726
|
+
/** @deprecated use `DeveloperMessage$inboundSchema` instead. */
|
|
1727
|
+
const inboundSchema: z.ZodType<DeveloperMessage, z.ZodTypeDef, unknown>;
|
|
1728
|
+
/** @deprecated use `DeveloperMessage$outboundSchema` instead. */
|
|
1729
|
+
const outboundSchema: z.ZodType<DeveloperMessage$Outbound, z.ZodTypeDef, DeveloperMessage>;
|
|
1730
|
+
/** @deprecated use `DeveloperMessage$Outbound` instead. */
|
|
1731
|
+
type Outbound = DeveloperMessage$Outbound;
|
|
1732
|
+
}
|
|
1733
|
+
export declare function developerMessageToJSON(developerMessage: DeveloperMessage): string;
|
|
1734
|
+
export declare function developerMessageFromJSON(jsonString: string): SafeParseResult<DeveloperMessage, SDKValidationError>;
|
|
1735
|
+
/** @internal */
|
|
1736
|
+
export declare const PrefixMessages$inboundSchema: z.ZodType<PrefixMessages, z.ZodTypeDef, unknown>;
|
|
1737
|
+
/** @internal */
|
|
1738
|
+
export type PrefixMessages$Outbound = DeveloperMessage$Outbound | SystemMessage$Outbound | UserMessage$Outbound | ToolMessage$Outbound | AssistantMessage$Outbound;
|
|
1739
|
+
/** @internal */
|
|
1740
|
+
export declare const PrefixMessages$outboundSchema: z.ZodType<PrefixMessages$Outbound, z.ZodTypeDef, PrefixMessages>;
|
|
1741
|
+
/**
|
|
1742
|
+
* @internal
|
|
1743
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1744
|
+
*/
|
|
1745
|
+
export declare namespace PrefixMessages$ {
|
|
1746
|
+
/** @deprecated use `PrefixMessages$inboundSchema` instead. */
|
|
1747
|
+
const inboundSchema: z.ZodType<PrefixMessages, z.ZodTypeDef, unknown>;
|
|
1748
|
+
/** @deprecated use `PrefixMessages$outboundSchema` instead. */
|
|
1749
|
+
const outboundSchema: z.ZodType<PrefixMessages$Outbound, z.ZodTypeDef, PrefixMessages>;
|
|
1750
|
+
/** @deprecated use `PrefixMessages$Outbound` instead. */
|
|
1751
|
+
type Outbound = PrefixMessages$Outbound;
|
|
1752
|
+
}
|
|
1753
|
+
export declare function prefixMessagesToJSON(prefixMessages: PrefixMessages): string;
|
|
1754
|
+
export declare function prefixMessagesFromJSON(jsonString: string): SafeParseResult<PrefixMessages, SDKValidationError>;
|
|
1755
|
+
/** @internal */
|
|
1756
|
+
export declare const DeploymentGetConfigMessagesDeploymentsRequestRequestBodyRole$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigMessagesDeploymentsRequestRequestBodyRole>;
|
|
1757
|
+
/** @internal */
|
|
1758
|
+
export declare const DeploymentGetConfigMessagesDeploymentsRequestRequestBodyRole$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigMessagesDeploymentsRequestRequestBodyRole>;
|
|
1759
|
+
/**
|
|
1760
|
+
* @internal
|
|
1761
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1762
|
+
*/
|
|
1763
|
+
export declare namespace DeploymentGetConfigMessagesDeploymentsRequestRequestBodyRole$ {
|
|
1764
|
+
/** @deprecated use `DeploymentGetConfigMessagesDeploymentsRequestRequestBodyRole$inboundSchema` instead. */
|
|
656
1765
|
const inboundSchema: z.ZodNativeEnum<{
|
|
657
|
-
readonly
|
|
1766
|
+
readonly Tool: "tool";
|
|
658
1767
|
}>;
|
|
659
|
-
/** @deprecated use `
|
|
1768
|
+
/** @deprecated use `DeploymentGetConfigMessagesDeploymentsRequestRequestBodyRole$outboundSchema` instead. */
|
|
660
1769
|
const outboundSchema: z.ZodNativeEnum<{
|
|
661
|
-
readonly
|
|
1770
|
+
readonly Tool: "tool";
|
|
662
1771
|
}>;
|
|
663
1772
|
}
|
|
664
1773
|
/** @internal */
|
|
665
|
-
export declare const
|
|
1774
|
+
export declare const DeploymentGetConfigMessagesDeploymentsContent$inboundSchema: z.ZodType<DeploymentGetConfigMessagesDeploymentsContent, z.ZodTypeDef, unknown>;
|
|
666
1775
|
/** @internal */
|
|
667
|
-
export type
|
|
668
|
-
|
|
669
|
-
|
|
1776
|
+
export type DeploymentGetConfigMessagesDeploymentsContent$Outbound = string | Array<string>;
|
|
1777
|
+
/** @internal */
|
|
1778
|
+
export declare const DeploymentGetConfigMessagesDeploymentsContent$outboundSchema: z.ZodType<DeploymentGetConfigMessagesDeploymentsContent$Outbound, z.ZodTypeDef, DeploymentGetConfigMessagesDeploymentsContent>;
|
|
1779
|
+
/**
|
|
1780
|
+
* @internal
|
|
1781
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1782
|
+
*/
|
|
1783
|
+
export declare namespace DeploymentGetConfigMessagesDeploymentsContent$ {
|
|
1784
|
+
/** @deprecated use `DeploymentGetConfigMessagesDeploymentsContent$inboundSchema` instead. */
|
|
1785
|
+
const inboundSchema: z.ZodType<DeploymentGetConfigMessagesDeploymentsContent, z.ZodTypeDef, unknown>;
|
|
1786
|
+
/** @deprecated use `DeploymentGetConfigMessagesDeploymentsContent$outboundSchema` instead. */
|
|
1787
|
+
const outboundSchema: z.ZodType<DeploymentGetConfigMessagesDeploymentsContent$Outbound, z.ZodTypeDef, DeploymentGetConfigMessagesDeploymentsContent>;
|
|
1788
|
+
/** @deprecated use `DeploymentGetConfigMessagesDeploymentsContent$Outbound` instead. */
|
|
1789
|
+
type Outbound = DeploymentGetConfigMessagesDeploymentsContent$Outbound;
|
|
1790
|
+
}
|
|
1791
|
+
export declare function deploymentGetConfigMessagesDeploymentsContentToJSON(deploymentGetConfigMessagesDeploymentsContent: DeploymentGetConfigMessagesDeploymentsContent): string;
|
|
1792
|
+
export declare function deploymentGetConfigMessagesDeploymentsContentFromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigMessagesDeploymentsContent, SDKValidationError>;
|
|
1793
|
+
/** @internal */
|
|
1794
|
+
export declare const MessagesToolMessage$inboundSchema: z.ZodType<MessagesToolMessage, z.ZodTypeDef, unknown>;
|
|
1795
|
+
/** @internal */
|
|
1796
|
+
export type MessagesToolMessage$Outbound = {
|
|
1797
|
+
role: string;
|
|
1798
|
+
content: string | Array<string>;
|
|
1799
|
+
tool_call_id: string;
|
|
670
1800
|
};
|
|
671
1801
|
/** @internal */
|
|
672
|
-
export declare const
|
|
1802
|
+
export declare const MessagesToolMessage$outboundSchema: z.ZodType<MessagesToolMessage$Outbound, z.ZodTypeDef, MessagesToolMessage>;
|
|
673
1803
|
/**
|
|
674
1804
|
* @internal
|
|
675
1805
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
676
1806
|
*/
|
|
677
|
-
export declare namespace
|
|
678
|
-
/** @deprecated use `
|
|
679
|
-
const inboundSchema: z.ZodType<
|
|
680
|
-
/** @deprecated use `
|
|
681
|
-
const outboundSchema: z.ZodType<
|
|
682
|
-
/** @deprecated use `
|
|
683
|
-
type Outbound =
|
|
1807
|
+
export declare namespace MessagesToolMessage$ {
|
|
1808
|
+
/** @deprecated use `MessagesToolMessage$inboundSchema` instead. */
|
|
1809
|
+
const inboundSchema: z.ZodType<MessagesToolMessage, z.ZodTypeDef, unknown>;
|
|
1810
|
+
/** @deprecated use `MessagesToolMessage$outboundSchema` instead. */
|
|
1811
|
+
const outboundSchema: z.ZodType<MessagesToolMessage$Outbound, z.ZodTypeDef, MessagesToolMessage>;
|
|
1812
|
+
/** @deprecated use `MessagesToolMessage$Outbound` instead. */
|
|
1813
|
+
type Outbound = MessagesToolMessage$Outbound;
|
|
684
1814
|
}
|
|
685
|
-
export declare function
|
|
686
|
-
export declare function
|
|
1815
|
+
export declare function messagesToolMessageToJSON(messagesToolMessage: MessagesToolMessage): string;
|
|
1816
|
+
export declare function messagesToolMessageFromJSON(jsonString: string): SafeParseResult<MessagesToolMessage, SDKValidationError>;
|
|
687
1817
|
/** @internal */
|
|
688
|
-
export declare const
|
|
1818
|
+
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType>;
|
|
689
1819
|
/** @internal */
|
|
690
|
-
export
|
|
1820
|
+
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType>;
|
|
1821
|
+
/**
|
|
1822
|
+
* @internal
|
|
1823
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1824
|
+
*/
|
|
1825
|
+
export declare namespace DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType$ {
|
|
1826
|
+
/** @deprecated use `DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType$inboundSchema` instead. */
|
|
1827
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
1828
|
+
readonly Refusal: "refusal";
|
|
1829
|
+
}>;
|
|
1830
|
+
/** @deprecated use `DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType$outboundSchema` instead. */
|
|
1831
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
1832
|
+
readonly Refusal: "refusal";
|
|
1833
|
+
}>;
|
|
1834
|
+
}
|
|
1835
|
+
/** @internal */
|
|
1836
|
+
export declare const TwoRefusalContentPart$inboundSchema: z.ZodType<TwoRefusalContentPart, z.ZodTypeDef, unknown>;
|
|
1837
|
+
/** @internal */
|
|
1838
|
+
export type TwoRefusalContentPart$Outbound = {
|
|
691
1839
|
type: string;
|
|
692
|
-
|
|
1840
|
+
refusal: string;
|
|
693
1841
|
};
|
|
694
1842
|
/** @internal */
|
|
695
|
-
export declare const
|
|
1843
|
+
export declare const TwoRefusalContentPart$outboundSchema: z.ZodType<TwoRefusalContentPart$Outbound, z.ZodTypeDef, TwoRefusalContentPart>;
|
|
696
1844
|
/**
|
|
697
1845
|
* @internal
|
|
698
1846
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
699
1847
|
*/
|
|
700
|
-
export declare namespace
|
|
701
|
-
/** @deprecated use `
|
|
702
|
-
const inboundSchema: z.ZodType<
|
|
703
|
-
/** @deprecated use `
|
|
704
|
-
const outboundSchema: z.ZodType<
|
|
705
|
-
/** @deprecated use `
|
|
706
|
-
type Outbound =
|
|
1848
|
+
export declare namespace TwoRefusalContentPart$ {
|
|
1849
|
+
/** @deprecated use `TwoRefusalContentPart$inboundSchema` instead. */
|
|
1850
|
+
const inboundSchema: z.ZodType<TwoRefusalContentPart, z.ZodTypeDef, unknown>;
|
|
1851
|
+
/** @deprecated use `TwoRefusalContentPart$outboundSchema` instead. */
|
|
1852
|
+
const outboundSchema: z.ZodType<TwoRefusalContentPart$Outbound, z.ZodTypeDef, TwoRefusalContentPart>;
|
|
1853
|
+
/** @deprecated use `TwoRefusalContentPart$Outbound` instead. */
|
|
1854
|
+
type Outbound = TwoRefusalContentPart$Outbound;
|
|
707
1855
|
}
|
|
708
|
-
export declare function
|
|
709
|
-
export declare function
|
|
1856
|
+
export declare function twoRefusalContentPartToJSON(twoRefusalContentPart: TwoRefusalContentPart): string;
|
|
1857
|
+
export declare function twoRefusalContentPartFromJSON(jsonString: string): SafeParseResult<TwoRefusalContentPart, SDKValidationError>;
|
|
710
1858
|
/** @internal */
|
|
711
|
-
export declare const
|
|
1859
|
+
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Type$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Type>;
|
|
712
1860
|
/** @internal */
|
|
713
|
-
export declare const
|
|
1861
|
+
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Type$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Type>;
|
|
714
1862
|
/**
|
|
715
1863
|
* @internal
|
|
716
1864
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
717
1865
|
*/
|
|
718
|
-
export declare namespace
|
|
719
|
-
/** @deprecated use `
|
|
1866
|
+
export declare namespace DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Type$ {
|
|
1867
|
+
/** @deprecated use `DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Type$inboundSchema` instead. */
|
|
720
1868
|
const inboundSchema: z.ZodNativeEnum<{
|
|
721
1869
|
readonly Text: "text";
|
|
722
1870
|
}>;
|
|
723
|
-
/** @deprecated use `
|
|
1871
|
+
/** @deprecated use `DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Type$outboundSchema` instead. */
|
|
724
1872
|
const outboundSchema: z.ZodNativeEnum<{
|
|
725
1873
|
readonly Text: "text";
|
|
726
1874
|
}>;
|
|
727
1875
|
}
|
|
728
1876
|
/** @internal */
|
|
729
|
-
export declare const
|
|
1877
|
+
export declare const TwoTextContentPart$inboundSchema: z.ZodType<TwoTextContentPart, z.ZodTypeDef, unknown>;
|
|
730
1878
|
/** @internal */
|
|
731
|
-
export type
|
|
1879
|
+
export type TwoTextContentPart$Outbound = {
|
|
732
1880
|
type: string;
|
|
733
1881
|
text: string;
|
|
734
1882
|
};
|
|
735
1883
|
/** @internal */
|
|
736
|
-
export declare const
|
|
1884
|
+
export declare const TwoTextContentPart$outboundSchema: z.ZodType<TwoTextContentPart$Outbound, z.ZodTypeDef, TwoTextContentPart>;
|
|
737
1885
|
/**
|
|
738
1886
|
* @internal
|
|
739
1887
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
740
1888
|
*/
|
|
741
|
-
export declare namespace
|
|
742
|
-
/** @deprecated use `
|
|
743
|
-
const inboundSchema: z.ZodType<
|
|
744
|
-
/** @deprecated use `
|
|
745
|
-
const outboundSchema: z.ZodType<
|
|
746
|
-
/** @deprecated use `
|
|
747
|
-
type Outbound =
|
|
1889
|
+
export declare namespace TwoTextContentPart$ {
|
|
1890
|
+
/** @deprecated use `TwoTextContentPart$inboundSchema` instead. */
|
|
1891
|
+
const inboundSchema: z.ZodType<TwoTextContentPart, z.ZodTypeDef, unknown>;
|
|
1892
|
+
/** @deprecated use `TwoTextContentPart$outboundSchema` instead. */
|
|
1893
|
+
const outboundSchema: z.ZodType<TwoTextContentPart$Outbound, z.ZodTypeDef, TwoTextContentPart>;
|
|
1894
|
+
/** @deprecated use `TwoTextContentPart$Outbound` instead. */
|
|
1895
|
+
type Outbound = TwoTextContentPart$Outbound;
|
|
748
1896
|
}
|
|
749
|
-
export declare function
|
|
750
|
-
export declare function
|
|
1897
|
+
export declare function twoTextContentPartToJSON(twoTextContentPart: TwoTextContentPart): string;
|
|
1898
|
+
export declare function twoTextContentPartFromJSON(jsonString: string): SafeParseResult<TwoTextContentPart, SDKValidationError>;
|
|
751
1899
|
/** @internal */
|
|
752
|
-
export declare const
|
|
1900
|
+
export declare const DeploymentGetConfigContentDeployments2$inboundSchema: z.ZodType<DeploymentGetConfigContentDeployments2, z.ZodTypeDef, unknown>;
|
|
753
1901
|
/** @internal */
|
|
754
|
-
export type
|
|
1902
|
+
export type DeploymentGetConfigContentDeployments2$Outbound = TwoTextContentPart$Outbound | TwoRefusalContentPart$Outbound;
|
|
755
1903
|
/** @internal */
|
|
756
|
-
export declare const
|
|
1904
|
+
export declare const DeploymentGetConfigContentDeployments2$outboundSchema: z.ZodType<DeploymentGetConfigContentDeployments2$Outbound, z.ZodTypeDef, DeploymentGetConfigContentDeployments2>;
|
|
757
1905
|
/**
|
|
758
1906
|
* @internal
|
|
759
1907
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
760
1908
|
*/
|
|
761
|
-
export declare namespace
|
|
762
|
-
/** @deprecated use `
|
|
763
|
-
const inboundSchema: z.ZodType<
|
|
764
|
-
/** @deprecated use `
|
|
765
|
-
const outboundSchema: z.ZodType<
|
|
766
|
-
/** @deprecated use `
|
|
767
|
-
type Outbound =
|
|
1909
|
+
export declare namespace DeploymentGetConfigContentDeployments2$ {
|
|
1910
|
+
/** @deprecated use `DeploymentGetConfigContentDeployments2$inboundSchema` instead. */
|
|
1911
|
+
const inboundSchema: z.ZodType<DeploymentGetConfigContentDeployments2, z.ZodTypeDef, unknown>;
|
|
1912
|
+
/** @deprecated use `DeploymentGetConfigContentDeployments2$outboundSchema` instead. */
|
|
1913
|
+
const outboundSchema: z.ZodType<DeploymentGetConfigContentDeployments2$Outbound, z.ZodTypeDef, DeploymentGetConfigContentDeployments2>;
|
|
1914
|
+
/** @deprecated use `DeploymentGetConfigContentDeployments2$Outbound` instead. */
|
|
1915
|
+
type Outbound = DeploymentGetConfigContentDeployments2$Outbound;
|
|
768
1916
|
}
|
|
769
|
-
export declare function
|
|
770
|
-
export declare function
|
|
1917
|
+
export declare function deploymentGetConfigContentDeployments2ToJSON(deploymentGetConfigContentDeployments2: DeploymentGetConfigContentDeployments2): string;
|
|
1918
|
+
export declare function deploymentGetConfigContentDeployments2FromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigContentDeployments2, SDKValidationError>;
|
|
771
1919
|
/** @internal */
|
|
772
|
-
export declare const
|
|
1920
|
+
export declare const DeploymentGetConfigMessagesContent$inboundSchema: z.ZodType<DeploymentGetConfigMessagesContent, z.ZodTypeDef, unknown>;
|
|
773
1921
|
/** @internal */
|
|
774
|
-
export type
|
|
1922
|
+
export type DeploymentGetConfigMessagesContent$Outbound = string | Array<TwoTextContentPart$Outbound | TwoRefusalContentPart$Outbound>;
|
|
775
1923
|
/** @internal */
|
|
776
|
-
export declare const
|
|
1924
|
+
export declare const DeploymentGetConfigMessagesContent$outboundSchema: z.ZodType<DeploymentGetConfigMessagesContent$Outbound, z.ZodTypeDef, DeploymentGetConfigMessagesContent>;
|
|
777
1925
|
/**
|
|
778
1926
|
* @internal
|
|
779
1927
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
780
1928
|
*/
|
|
781
|
-
export declare namespace
|
|
782
|
-
/** @deprecated use `
|
|
783
|
-
const inboundSchema: z.ZodType<
|
|
784
|
-
/** @deprecated use `
|
|
785
|
-
const outboundSchema: z.ZodType<
|
|
786
|
-
/** @deprecated use `
|
|
787
|
-
type Outbound =
|
|
1929
|
+
export declare namespace DeploymentGetConfigMessagesContent$ {
|
|
1930
|
+
/** @deprecated use `DeploymentGetConfigMessagesContent$inboundSchema` instead. */
|
|
1931
|
+
const inboundSchema: z.ZodType<DeploymentGetConfigMessagesContent, z.ZodTypeDef, unknown>;
|
|
1932
|
+
/** @deprecated use `DeploymentGetConfigMessagesContent$outboundSchema` instead. */
|
|
1933
|
+
const outboundSchema: z.ZodType<DeploymentGetConfigMessagesContent$Outbound, z.ZodTypeDef, DeploymentGetConfigMessagesContent>;
|
|
1934
|
+
/** @deprecated use `DeploymentGetConfigMessagesContent$Outbound` instead. */
|
|
1935
|
+
type Outbound = DeploymentGetConfigMessagesContent$Outbound;
|
|
788
1936
|
}
|
|
789
|
-
export declare function
|
|
790
|
-
export declare function
|
|
1937
|
+
export declare function deploymentGetConfigMessagesContentToJSON(deploymentGetConfigMessagesContent: DeploymentGetConfigMessagesContent): string;
|
|
1938
|
+
export declare function deploymentGetConfigMessagesContentFromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigMessagesContent, SDKValidationError>;
|
|
791
1939
|
/** @internal */
|
|
792
|
-
export declare const
|
|
1940
|
+
export declare const DeploymentGetConfigMessagesDeploymentsRequestRole$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigMessagesDeploymentsRequestRole>;
|
|
793
1941
|
/** @internal */
|
|
794
|
-
export declare const
|
|
1942
|
+
export declare const DeploymentGetConfigMessagesDeploymentsRequestRole$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigMessagesDeploymentsRequestRole>;
|
|
795
1943
|
/**
|
|
796
1944
|
* @internal
|
|
797
1945
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
798
1946
|
*/
|
|
799
|
-
export declare namespace
|
|
800
|
-
/** @deprecated use `
|
|
1947
|
+
export declare namespace DeploymentGetConfigMessagesDeploymentsRequestRole$ {
|
|
1948
|
+
/** @deprecated use `DeploymentGetConfigMessagesDeploymentsRequestRole$inboundSchema` instead. */
|
|
1949
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
1950
|
+
readonly Assistant: "assistant";
|
|
1951
|
+
}>;
|
|
1952
|
+
/** @deprecated use `DeploymentGetConfigMessagesDeploymentsRequestRole$outboundSchema` instead. */
|
|
1953
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
1954
|
+
readonly Assistant: "assistant";
|
|
1955
|
+
}>;
|
|
1956
|
+
}
|
|
1957
|
+
/** @internal */
|
|
1958
|
+
export declare const MessagesAudio$inboundSchema: z.ZodType<MessagesAudio, z.ZodTypeDef, unknown>;
|
|
1959
|
+
/** @internal */
|
|
1960
|
+
export type MessagesAudio$Outbound = {
|
|
1961
|
+
id: string;
|
|
1962
|
+
};
|
|
1963
|
+
/** @internal */
|
|
1964
|
+
export declare const MessagesAudio$outboundSchema: z.ZodType<MessagesAudio$Outbound, z.ZodTypeDef, MessagesAudio>;
|
|
1965
|
+
/**
|
|
1966
|
+
* @internal
|
|
1967
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1968
|
+
*/
|
|
1969
|
+
export declare namespace MessagesAudio$ {
|
|
1970
|
+
/** @deprecated use `MessagesAudio$inboundSchema` instead. */
|
|
1971
|
+
const inboundSchema: z.ZodType<MessagesAudio, z.ZodTypeDef, unknown>;
|
|
1972
|
+
/** @deprecated use `MessagesAudio$outboundSchema` instead. */
|
|
1973
|
+
const outboundSchema: z.ZodType<MessagesAudio$Outbound, z.ZodTypeDef, MessagesAudio>;
|
|
1974
|
+
/** @deprecated use `MessagesAudio$Outbound` instead. */
|
|
1975
|
+
type Outbound = MessagesAudio$Outbound;
|
|
1976
|
+
}
|
|
1977
|
+
export declare function messagesAudioToJSON(messagesAudio: MessagesAudio): string;
|
|
1978
|
+
export declare function messagesAudioFromJSON(jsonString: string): SafeParseResult<MessagesAudio, SDKValidationError>;
|
|
1979
|
+
/** @internal */
|
|
1980
|
+
export declare const MessagesType$inboundSchema: z.ZodNativeEnum<typeof MessagesType>;
|
|
1981
|
+
/** @internal */
|
|
1982
|
+
export declare const MessagesType$outboundSchema: z.ZodNativeEnum<typeof MessagesType>;
|
|
1983
|
+
/**
|
|
1984
|
+
* @internal
|
|
1985
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1986
|
+
*/
|
|
1987
|
+
export declare namespace MessagesType$ {
|
|
1988
|
+
/** @deprecated use `MessagesType$inboundSchema` instead. */
|
|
801
1989
|
const inboundSchema: z.ZodNativeEnum<{
|
|
802
1990
|
readonly Function: "function";
|
|
803
1991
|
}>;
|
|
804
|
-
/** @deprecated use `
|
|
1992
|
+
/** @deprecated use `MessagesType$outboundSchema` instead. */
|
|
805
1993
|
const outboundSchema: z.ZodNativeEnum<{
|
|
806
1994
|
readonly Function: "function";
|
|
807
1995
|
}>;
|
|
808
1996
|
}
|
|
809
1997
|
/** @internal */
|
|
810
|
-
export declare const
|
|
1998
|
+
export declare const MessagesFunction$inboundSchema: z.ZodType<MessagesFunction, z.ZodTypeDef, unknown>;
|
|
811
1999
|
/** @internal */
|
|
812
|
-
export type
|
|
813
|
-
name
|
|
814
|
-
arguments
|
|
2000
|
+
export type MessagesFunction$Outbound = {
|
|
2001
|
+
name?: string | undefined;
|
|
2002
|
+
arguments?: string | undefined;
|
|
815
2003
|
};
|
|
816
2004
|
/** @internal */
|
|
817
|
-
export declare const
|
|
2005
|
+
export declare const MessagesFunction$outboundSchema: z.ZodType<MessagesFunction$Outbound, z.ZodTypeDef, MessagesFunction>;
|
|
818
2006
|
/**
|
|
819
2007
|
* @internal
|
|
820
2008
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
821
2009
|
*/
|
|
822
|
-
export declare namespace
|
|
823
|
-
/** @deprecated use `
|
|
824
|
-
const inboundSchema: z.ZodType<
|
|
825
|
-
/** @deprecated use `
|
|
826
|
-
const outboundSchema: z.ZodType<
|
|
827
|
-
/** @deprecated use `
|
|
828
|
-
type Outbound =
|
|
2010
|
+
export declare namespace MessagesFunction$ {
|
|
2011
|
+
/** @deprecated use `MessagesFunction$inboundSchema` instead. */
|
|
2012
|
+
const inboundSchema: z.ZodType<MessagesFunction, z.ZodTypeDef, unknown>;
|
|
2013
|
+
/** @deprecated use `MessagesFunction$outboundSchema` instead. */
|
|
2014
|
+
const outboundSchema: z.ZodType<MessagesFunction$Outbound, z.ZodTypeDef, MessagesFunction>;
|
|
2015
|
+
/** @deprecated use `MessagesFunction$Outbound` instead. */
|
|
2016
|
+
type Outbound = MessagesFunction$Outbound;
|
|
829
2017
|
}
|
|
830
|
-
export declare function
|
|
831
|
-
export declare function
|
|
2018
|
+
export declare function messagesFunctionToJSON(messagesFunction: MessagesFunction): string;
|
|
2019
|
+
export declare function messagesFunctionFromJSON(jsonString: string): SafeParseResult<MessagesFunction, SDKValidationError>;
|
|
832
2020
|
/** @internal */
|
|
833
|
-
export declare const
|
|
2021
|
+
export declare const MessagesToolCalls$inboundSchema: z.ZodType<MessagesToolCalls, z.ZodTypeDef, unknown>;
|
|
834
2022
|
/** @internal */
|
|
835
|
-
export type
|
|
836
|
-
id
|
|
837
|
-
index?: number | undefined;
|
|
2023
|
+
export type MessagesToolCalls$Outbound = {
|
|
2024
|
+
id: string;
|
|
838
2025
|
type: string;
|
|
839
|
-
function:
|
|
2026
|
+
function: MessagesFunction$Outbound;
|
|
840
2027
|
};
|
|
841
2028
|
/** @internal */
|
|
842
|
-
export declare const
|
|
2029
|
+
export declare const MessagesToolCalls$outboundSchema: z.ZodType<MessagesToolCalls$Outbound, z.ZodTypeDef, MessagesToolCalls>;
|
|
843
2030
|
/**
|
|
844
2031
|
* @internal
|
|
845
2032
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
846
2033
|
*/
|
|
847
|
-
export declare namespace
|
|
848
|
-
/** @deprecated use `
|
|
849
|
-
const inboundSchema: z.ZodType<
|
|
850
|
-
/** @deprecated use `
|
|
851
|
-
const outboundSchema: z.ZodType<
|
|
852
|
-
/** @deprecated use `
|
|
853
|
-
type Outbound =
|
|
2034
|
+
export declare namespace MessagesToolCalls$ {
|
|
2035
|
+
/** @deprecated use `MessagesToolCalls$inboundSchema` instead. */
|
|
2036
|
+
const inboundSchema: z.ZodType<MessagesToolCalls, z.ZodTypeDef, unknown>;
|
|
2037
|
+
/** @deprecated use `MessagesToolCalls$outboundSchema` instead. */
|
|
2038
|
+
const outboundSchema: z.ZodType<MessagesToolCalls$Outbound, z.ZodTypeDef, MessagesToolCalls>;
|
|
2039
|
+
/** @deprecated use `MessagesToolCalls$Outbound` instead. */
|
|
2040
|
+
type Outbound = MessagesToolCalls$Outbound;
|
|
2041
|
+
}
|
|
2042
|
+
export declare function messagesToolCallsToJSON(messagesToolCalls: MessagesToolCalls): string;
|
|
2043
|
+
export declare function messagesToolCallsFromJSON(jsonString: string): SafeParseResult<MessagesToolCalls, SDKValidationError>;
|
|
2044
|
+
/** @internal */
|
|
2045
|
+
export declare const MessagesAssistantMessage$inboundSchema: z.ZodType<MessagesAssistantMessage, z.ZodTypeDef, unknown>;
|
|
2046
|
+
/** @internal */
|
|
2047
|
+
export type MessagesAssistantMessage$Outbound = {
|
|
2048
|
+
content?: string | Array<TwoTextContentPart$Outbound | TwoRefusalContentPart$Outbound> | undefined;
|
|
2049
|
+
refusal?: string | null | undefined;
|
|
2050
|
+
role: string;
|
|
2051
|
+
name?: string | undefined;
|
|
2052
|
+
audio?: MessagesAudio$Outbound | null | undefined;
|
|
2053
|
+
tool_calls?: Array<MessagesToolCalls$Outbound> | undefined;
|
|
2054
|
+
};
|
|
2055
|
+
/** @internal */
|
|
2056
|
+
export declare const MessagesAssistantMessage$outboundSchema: z.ZodType<MessagesAssistantMessage$Outbound, z.ZodTypeDef, MessagesAssistantMessage>;
|
|
2057
|
+
/**
|
|
2058
|
+
* @internal
|
|
2059
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2060
|
+
*/
|
|
2061
|
+
export declare namespace MessagesAssistantMessage$ {
|
|
2062
|
+
/** @deprecated use `MessagesAssistantMessage$inboundSchema` instead. */
|
|
2063
|
+
const inboundSchema: z.ZodType<MessagesAssistantMessage, z.ZodTypeDef, unknown>;
|
|
2064
|
+
/** @deprecated use `MessagesAssistantMessage$outboundSchema` instead. */
|
|
2065
|
+
const outboundSchema: z.ZodType<MessagesAssistantMessage$Outbound, z.ZodTypeDef, MessagesAssistantMessage>;
|
|
2066
|
+
/** @deprecated use `MessagesAssistantMessage$Outbound` instead. */
|
|
2067
|
+
type Outbound = MessagesAssistantMessage$Outbound;
|
|
2068
|
+
}
|
|
2069
|
+
export declare function messagesAssistantMessageToJSON(messagesAssistantMessage: MessagesAssistantMessage): string;
|
|
2070
|
+
export declare function messagesAssistantMessageFromJSON(jsonString: string): SafeParseResult<MessagesAssistantMessage, SDKValidationError>;
|
|
2071
|
+
/** @internal */
|
|
2072
|
+
export declare const DeploymentGetConfigMessagesDeploymentsRole$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigMessagesDeploymentsRole>;
|
|
2073
|
+
/** @internal */
|
|
2074
|
+
export declare const DeploymentGetConfigMessagesDeploymentsRole$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigMessagesDeploymentsRole>;
|
|
2075
|
+
/**
|
|
2076
|
+
* @internal
|
|
2077
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2078
|
+
*/
|
|
2079
|
+
export declare namespace DeploymentGetConfigMessagesDeploymentsRole$ {
|
|
2080
|
+
/** @deprecated use `DeploymentGetConfigMessagesDeploymentsRole$inboundSchema` instead. */
|
|
2081
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
2082
|
+
readonly User: "user";
|
|
2083
|
+
}>;
|
|
2084
|
+
/** @deprecated use `DeploymentGetConfigMessagesDeploymentsRole$outboundSchema` instead. */
|
|
2085
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
2086
|
+
readonly User: "user";
|
|
2087
|
+
}>;
|
|
2088
|
+
}
|
|
2089
|
+
/** @internal */
|
|
2090
|
+
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type>;
|
|
2091
|
+
/** @internal */
|
|
2092
|
+
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type>;
|
|
2093
|
+
/**
|
|
2094
|
+
* @internal
|
|
2095
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2096
|
+
*/
|
|
2097
|
+
export declare namespace DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type$ {
|
|
2098
|
+
/** @deprecated use `DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type$inboundSchema` instead. */
|
|
2099
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
2100
|
+
readonly InputAudio: "input_audio";
|
|
2101
|
+
}>;
|
|
2102
|
+
/** @deprecated use `DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type$outboundSchema` instead. */
|
|
2103
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
2104
|
+
readonly InputAudio: "input_audio";
|
|
2105
|
+
}>;
|
|
2106
|
+
}
|
|
2107
|
+
/** @internal */
|
|
2108
|
+
export declare const TwoFormat$inboundSchema: z.ZodNativeEnum<typeof TwoFormat>;
|
|
2109
|
+
/** @internal */
|
|
2110
|
+
export declare const TwoFormat$outboundSchema: z.ZodNativeEnum<typeof TwoFormat>;
|
|
2111
|
+
/**
|
|
2112
|
+
* @internal
|
|
2113
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2114
|
+
*/
|
|
2115
|
+
export declare namespace TwoFormat$ {
|
|
2116
|
+
/** @deprecated use `TwoFormat$inboundSchema` instead. */
|
|
2117
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
2118
|
+
readonly Mp3: "mp3";
|
|
2119
|
+
readonly Wav: "wav";
|
|
2120
|
+
}>;
|
|
2121
|
+
/** @deprecated use `TwoFormat$outboundSchema` instead. */
|
|
2122
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
2123
|
+
readonly Mp3: "mp3";
|
|
2124
|
+
readonly Wav: "wav";
|
|
2125
|
+
}>;
|
|
2126
|
+
}
|
|
2127
|
+
/** @internal */
|
|
2128
|
+
export declare const TwoInputAudio$inboundSchema: z.ZodType<TwoInputAudio, z.ZodTypeDef, unknown>;
|
|
2129
|
+
/** @internal */
|
|
2130
|
+
export type TwoInputAudio$Outbound = {
|
|
2131
|
+
data: string;
|
|
2132
|
+
format: string;
|
|
2133
|
+
};
|
|
2134
|
+
/** @internal */
|
|
2135
|
+
export declare const TwoInputAudio$outboundSchema: z.ZodType<TwoInputAudio$Outbound, z.ZodTypeDef, TwoInputAudio>;
|
|
2136
|
+
/**
|
|
2137
|
+
* @internal
|
|
2138
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2139
|
+
*/
|
|
2140
|
+
export declare namespace TwoInputAudio$ {
|
|
2141
|
+
/** @deprecated use `TwoInputAudio$inboundSchema` instead. */
|
|
2142
|
+
const inboundSchema: z.ZodType<TwoInputAudio, z.ZodTypeDef, unknown>;
|
|
2143
|
+
/** @deprecated use `TwoInputAudio$outboundSchema` instead. */
|
|
2144
|
+
const outboundSchema: z.ZodType<TwoInputAudio$Outbound, z.ZodTypeDef, TwoInputAudio>;
|
|
2145
|
+
/** @deprecated use `TwoInputAudio$Outbound` instead. */
|
|
2146
|
+
type Outbound = TwoInputAudio$Outbound;
|
|
854
2147
|
}
|
|
855
|
-
export declare function
|
|
856
|
-
export declare function
|
|
2148
|
+
export declare function twoInputAudioToJSON(twoInputAudio: TwoInputAudio): string;
|
|
2149
|
+
export declare function twoInputAudioFromJSON(jsonString: string): SafeParseResult<TwoInputAudio, SDKValidationError>;
|
|
857
2150
|
/** @internal */
|
|
858
|
-
export declare const
|
|
2151
|
+
export declare const Two3$inboundSchema: z.ZodType<Two3, z.ZodTypeDef, unknown>;
|
|
859
2152
|
/** @internal */
|
|
860
|
-
export type
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
tool_calls?: Array<ToolCalls$Outbound> | undefined;
|
|
2153
|
+
export type Two3$Outbound = {
|
|
2154
|
+
type: string;
|
|
2155
|
+
input_audio: TwoInputAudio$Outbound;
|
|
864
2156
|
};
|
|
865
2157
|
/** @internal */
|
|
866
|
-
export declare const
|
|
2158
|
+
export declare const Two3$outboundSchema: z.ZodType<Two3$Outbound, z.ZodTypeDef, Two3>;
|
|
867
2159
|
/**
|
|
868
2160
|
* @internal
|
|
869
2161
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
870
2162
|
*/
|
|
871
|
-
export declare namespace
|
|
872
|
-
/** @deprecated use `
|
|
873
|
-
const inboundSchema: z.ZodType<
|
|
874
|
-
/** @deprecated use `
|
|
875
|
-
const outboundSchema: z.ZodType<
|
|
876
|
-
/** @deprecated use `
|
|
877
|
-
type Outbound =
|
|
2163
|
+
export declare namespace Two3$ {
|
|
2164
|
+
/** @deprecated use `Two3$inboundSchema` instead. */
|
|
2165
|
+
const inboundSchema: z.ZodType<Two3, z.ZodTypeDef, unknown>;
|
|
2166
|
+
/** @deprecated use `Two3$outboundSchema` instead. */
|
|
2167
|
+
const outboundSchema: z.ZodType<Two3$Outbound, z.ZodTypeDef, Two3>;
|
|
2168
|
+
/** @deprecated use `Two3$Outbound` instead. */
|
|
2169
|
+
type Outbound = Two3$Outbound;
|
|
878
2170
|
}
|
|
879
|
-
export declare function
|
|
880
|
-
export declare function
|
|
2171
|
+
export declare function two3ToJSON(two3: Two3): string;
|
|
2172
|
+
export declare function two3FromJSON(jsonString: string): SafeParseResult<Two3, SDKValidationError>;
|
|
881
2173
|
/** @internal */
|
|
882
|
-
export declare const
|
|
2174
|
+
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType>;
|
|
883
2175
|
/** @internal */
|
|
884
|
-
export declare const
|
|
2176
|
+
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType>;
|
|
885
2177
|
/**
|
|
886
2178
|
* @internal
|
|
887
2179
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
888
2180
|
*/
|
|
889
|
-
export declare namespace
|
|
890
|
-
/** @deprecated use `
|
|
2181
|
+
export declare namespace DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType$ {
|
|
2182
|
+
/** @deprecated use `DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType$inboundSchema` instead. */
|
|
891
2183
|
const inboundSchema: z.ZodNativeEnum<{
|
|
892
|
-
readonly
|
|
893
|
-
readonly Assistant: "assistant";
|
|
894
|
-
readonly User: "user";
|
|
895
|
-
readonly Exception: "exception";
|
|
896
|
-
readonly Tool: "tool";
|
|
897
|
-
readonly Prompt: "prompt";
|
|
898
|
-
readonly Correction: "correction";
|
|
899
|
-
readonly ExpectedOutput: "expected_output";
|
|
2184
|
+
readonly ImageUrl: "image_url";
|
|
900
2185
|
}>;
|
|
901
|
-
/** @deprecated use `
|
|
2186
|
+
/** @deprecated use `DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType$outboundSchema` instead. */
|
|
902
2187
|
const outboundSchema: z.ZodNativeEnum<{
|
|
903
|
-
readonly
|
|
904
|
-
readonly Assistant: "assistant";
|
|
905
|
-
readonly User: "user";
|
|
906
|
-
readonly Exception: "exception";
|
|
907
|
-
readonly Tool: "tool";
|
|
908
|
-
readonly Prompt: "prompt";
|
|
909
|
-
readonly Correction: "correction";
|
|
910
|
-
readonly ExpectedOutput: "expected_output";
|
|
2188
|
+
readonly ImageUrl: "image_url";
|
|
911
2189
|
}>;
|
|
912
2190
|
}
|
|
913
2191
|
/** @internal */
|
|
914
|
-
export declare const
|
|
2192
|
+
export declare const TwoDetail$inboundSchema: z.ZodNativeEnum<typeof TwoDetail>;
|
|
915
2193
|
/** @internal */
|
|
916
|
-
export declare const
|
|
2194
|
+
export declare const TwoDetail$outboundSchema: z.ZodNativeEnum<typeof TwoDetail>;
|
|
917
2195
|
/**
|
|
918
2196
|
* @internal
|
|
919
2197
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
920
2198
|
*/
|
|
921
|
-
export declare namespace
|
|
922
|
-
/** @deprecated use `
|
|
2199
|
+
export declare namespace TwoDetail$ {
|
|
2200
|
+
/** @deprecated use `TwoDetail$inboundSchema` instead. */
|
|
923
2201
|
const inboundSchema: z.ZodNativeEnum<{
|
|
924
|
-
readonly
|
|
2202
|
+
readonly Low: "low";
|
|
2203
|
+
readonly High: "high";
|
|
2204
|
+
readonly Auto: "auto";
|
|
925
2205
|
}>;
|
|
926
|
-
/** @deprecated use `
|
|
2206
|
+
/** @deprecated use `TwoDetail$outboundSchema` instead. */
|
|
927
2207
|
const outboundSchema: z.ZodNativeEnum<{
|
|
928
|
-
readonly
|
|
2208
|
+
readonly Low: "low";
|
|
2209
|
+
readonly High: "high";
|
|
2210
|
+
readonly Auto: "auto";
|
|
929
2211
|
}>;
|
|
930
2212
|
}
|
|
931
2213
|
/** @internal */
|
|
@@ -975,19 +2257,19 @@ export declare namespace DeploymentGetConfig22$ {
|
|
|
975
2257
|
export declare function deploymentGetConfig22ToJSON(deploymentGetConfig22: DeploymentGetConfig22): string;
|
|
976
2258
|
export declare function deploymentGetConfig22FromJSON(jsonString: string): SafeParseResult<DeploymentGetConfig22, SDKValidationError>;
|
|
977
2259
|
/** @internal */
|
|
978
|
-
export declare const
|
|
2260
|
+
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyType$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyType>;
|
|
979
2261
|
/** @internal */
|
|
980
|
-
export declare const
|
|
2262
|
+
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyType$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyType>;
|
|
981
2263
|
/**
|
|
982
2264
|
* @internal
|
|
983
2265
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
984
2266
|
*/
|
|
985
|
-
export declare namespace
|
|
986
|
-
/** @deprecated use `
|
|
2267
|
+
export declare namespace DeploymentGetConfig2DeploymentsRequestRequestBodyType$ {
|
|
2268
|
+
/** @deprecated use `DeploymentGetConfig2DeploymentsRequestRequestBodyType$inboundSchema` instead. */
|
|
987
2269
|
const inboundSchema: z.ZodNativeEnum<{
|
|
988
2270
|
readonly Text: "text";
|
|
989
2271
|
}>;
|
|
990
|
-
/** @deprecated use `
|
|
2272
|
+
/** @deprecated use `DeploymentGetConfig2DeploymentsRequestRequestBodyType$outboundSchema` instead. */
|
|
991
2273
|
const outboundSchema: z.ZodNativeEnum<{
|
|
992
2274
|
readonly Text: "text";
|
|
993
2275
|
}>;
|
|
@@ -1016,119 +2298,157 @@ export declare namespace Two1$ {
|
|
|
1016
2298
|
export declare function two1ToJSON(two1: Two1): string;
|
|
1017
2299
|
export declare function two1FromJSON(jsonString: string): SafeParseResult<Two1, SDKValidationError>;
|
|
1018
2300
|
/** @internal */
|
|
1019
|
-
export declare const
|
|
2301
|
+
export declare const DeploymentGetConfigContent2$inboundSchema: z.ZodType<DeploymentGetConfigContent2, z.ZodTypeDef, unknown>;
|
|
1020
2302
|
/** @internal */
|
|
1021
|
-
export type
|
|
2303
|
+
export type DeploymentGetConfigContent2$Outbound = Two1$Outbound | DeploymentGetConfig22$Outbound | Two3$Outbound;
|
|
1022
2304
|
/** @internal */
|
|
1023
|
-
export declare const
|
|
2305
|
+
export declare const DeploymentGetConfigContent2$outboundSchema: z.ZodType<DeploymentGetConfigContent2$Outbound, z.ZodTypeDef, DeploymentGetConfigContent2>;
|
|
1024
2306
|
/**
|
|
1025
2307
|
* @internal
|
|
1026
2308
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1027
2309
|
*/
|
|
1028
|
-
export declare namespace
|
|
1029
|
-
/** @deprecated use `
|
|
1030
|
-
const inboundSchema: z.ZodType<
|
|
1031
|
-
/** @deprecated use `
|
|
1032
|
-
const outboundSchema: z.ZodType<
|
|
1033
|
-
/** @deprecated use `
|
|
1034
|
-
type Outbound =
|
|
2310
|
+
export declare namespace DeploymentGetConfigContent2$ {
|
|
2311
|
+
/** @deprecated use `DeploymentGetConfigContent2$inboundSchema` instead. */
|
|
2312
|
+
const inboundSchema: z.ZodType<DeploymentGetConfigContent2, z.ZodTypeDef, unknown>;
|
|
2313
|
+
/** @deprecated use `DeploymentGetConfigContent2$outboundSchema` instead. */
|
|
2314
|
+
const outboundSchema: z.ZodType<DeploymentGetConfigContent2$Outbound, z.ZodTypeDef, DeploymentGetConfigContent2>;
|
|
2315
|
+
/** @deprecated use `DeploymentGetConfigContent2$Outbound` instead. */
|
|
2316
|
+
type Outbound = DeploymentGetConfigContent2$Outbound;
|
|
1035
2317
|
}
|
|
1036
|
-
export declare function
|
|
1037
|
-
export declare function
|
|
2318
|
+
export declare function deploymentGetConfigContent2ToJSON(deploymentGetConfigContent2: DeploymentGetConfigContent2): string;
|
|
2319
|
+
export declare function deploymentGetConfigContent2FromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigContent2, SDKValidationError>;
|
|
1038
2320
|
/** @internal */
|
|
1039
|
-
export declare const
|
|
2321
|
+
export declare const MessagesContent$inboundSchema: z.ZodType<MessagesContent, z.ZodTypeDef, unknown>;
|
|
1040
2322
|
/** @internal */
|
|
1041
|
-
export type
|
|
2323
|
+
export type MessagesContent$Outbound = string | Array<Two1$Outbound | DeploymentGetConfig22$Outbound | Two3$Outbound>;
|
|
1042
2324
|
/** @internal */
|
|
1043
|
-
export declare const
|
|
2325
|
+
export declare const MessagesContent$outboundSchema: z.ZodType<MessagesContent$Outbound, z.ZodTypeDef, MessagesContent>;
|
|
1044
2326
|
/**
|
|
1045
2327
|
* @internal
|
|
1046
2328
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1047
2329
|
*/
|
|
1048
|
-
export declare namespace
|
|
1049
|
-
/** @deprecated use `
|
|
1050
|
-
const inboundSchema: z.ZodType<
|
|
1051
|
-
/** @deprecated use `
|
|
1052
|
-
const outboundSchema: z.ZodType<
|
|
1053
|
-
/** @deprecated use `
|
|
1054
|
-
type Outbound =
|
|
2330
|
+
export declare namespace MessagesContent$ {
|
|
2331
|
+
/** @deprecated use `MessagesContent$inboundSchema` instead. */
|
|
2332
|
+
const inboundSchema: z.ZodType<MessagesContent, z.ZodTypeDef, unknown>;
|
|
2333
|
+
/** @deprecated use `MessagesContent$outboundSchema` instead. */
|
|
2334
|
+
const outboundSchema: z.ZodType<MessagesContent$Outbound, z.ZodTypeDef, MessagesContent>;
|
|
2335
|
+
/** @deprecated use `MessagesContent$Outbound` instead. */
|
|
2336
|
+
type Outbound = MessagesContent$Outbound;
|
|
1055
2337
|
}
|
|
1056
|
-
export declare function
|
|
1057
|
-
export declare function
|
|
2338
|
+
export declare function messagesContentToJSON(messagesContent: MessagesContent): string;
|
|
2339
|
+
export declare function messagesContentFromJSON(jsonString: string): SafeParseResult<MessagesContent, SDKValidationError>;
|
|
1058
2340
|
/** @internal */
|
|
1059
|
-
export declare const
|
|
2341
|
+
export declare const MessagesUserMessage$inboundSchema: z.ZodType<MessagesUserMessage, z.ZodTypeDef, unknown>;
|
|
1060
2342
|
/** @internal */
|
|
1061
|
-
export
|
|
2343
|
+
export type MessagesUserMessage$Outbound = {
|
|
2344
|
+
role: string;
|
|
2345
|
+
name?: string | undefined;
|
|
2346
|
+
content: string | Array<Two1$Outbound | DeploymentGetConfig22$Outbound | Two3$Outbound>;
|
|
2347
|
+
};
|
|
2348
|
+
/** @internal */
|
|
2349
|
+
export declare const MessagesUserMessage$outboundSchema: z.ZodType<MessagesUserMessage$Outbound, z.ZodTypeDef, MessagesUserMessage>;
|
|
1062
2350
|
/**
|
|
1063
2351
|
* @internal
|
|
1064
2352
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1065
2353
|
*/
|
|
1066
|
-
export declare namespace
|
|
1067
|
-
/** @deprecated use `
|
|
2354
|
+
export declare namespace MessagesUserMessage$ {
|
|
2355
|
+
/** @deprecated use `MessagesUserMessage$inboundSchema` instead. */
|
|
2356
|
+
const inboundSchema: z.ZodType<MessagesUserMessage, z.ZodTypeDef, unknown>;
|
|
2357
|
+
/** @deprecated use `MessagesUserMessage$outboundSchema` instead. */
|
|
2358
|
+
const outboundSchema: z.ZodType<MessagesUserMessage$Outbound, z.ZodTypeDef, MessagesUserMessage>;
|
|
2359
|
+
/** @deprecated use `MessagesUserMessage$Outbound` instead. */
|
|
2360
|
+
type Outbound = MessagesUserMessage$Outbound;
|
|
2361
|
+
}
|
|
2362
|
+
export declare function messagesUserMessageToJSON(messagesUserMessage: MessagesUserMessage): string;
|
|
2363
|
+
export declare function messagesUserMessageFromJSON(jsonString: string): SafeParseResult<MessagesUserMessage, SDKValidationError>;
|
|
2364
|
+
/** @internal */
|
|
2365
|
+
export declare const DeploymentGetConfigMessagesRole$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigMessagesRole>;
|
|
2366
|
+
/** @internal */
|
|
2367
|
+
export declare const DeploymentGetConfigMessagesRole$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigMessagesRole>;
|
|
2368
|
+
/**
|
|
2369
|
+
* @internal
|
|
2370
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2371
|
+
*/
|
|
2372
|
+
export declare namespace DeploymentGetConfigMessagesRole$ {
|
|
2373
|
+
/** @deprecated use `DeploymentGetConfigMessagesRole$inboundSchema` instead. */
|
|
1068
2374
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1069
|
-
readonly
|
|
2375
|
+
readonly System: "system";
|
|
1070
2376
|
}>;
|
|
1071
|
-
/** @deprecated use `
|
|
2377
|
+
/** @deprecated use `DeploymentGetConfigMessagesRole$outboundSchema` instead. */
|
|
1072
2378
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1073
|
-
readonly
|
|
2379
|
+
readonly System: "system";
|
|
1074
2380
|
}>;
|
|
1075
2381
|
}
|
|
1076
2382
|
/** @internal */
|
|
1077
|
-
export declare const
|
|
2383
|
+
export declare const MessagesSystemMessage$inboundSchema: z.ZodType<MessagesSystemMessage, z.ZodTypeDef, unknown>;
|
|
1078
2384
|
/** @internal */
|
|
1079
|
-
export type
|
|
1080
|
-
|
|
1081
|
-
|
|
2385
|
+
export type MessagesSystemMessage$Outbound = {
|
|
2386
|
+
role: string;
|
|
2387
|
+
content: string;
|
|
2388
|
+
name?: string | undefined;
|
|
1082
2389
|
};
|
|
1083
2390
|
/** @internal */
|
|
1084
|
-
export declare const
|
|
2391
|
+
export declare const MessagesSystemMessage$outboundSchema: z.ZodType<MessagesSystemMessage$Outbound, z.ZodTypeDef, MessagesSystemMessage>;
|
|
1085
2392
|
/**
|
|
1086
2393
|
* @internal
|
|
1087
2394
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1088
2395
|
*/
|
|
1089
|
-
export declare namespace
|
|
1090
|
-
/** @deprecated use `
|
|
1091
|
-
const inboundSchema: z.ZodType<
|
|
1092
|
-
/** @deprecated use `
|
|
1093
|
-
const outboundSchema: z.ZodType<
|
|
1094
|
-
/** @deprecated use `
|
|
1095
|
-
type Outbound =
|
|
2396
|
+
export declare namespace MessagesSystemMessage$ {
|
|
2397
|
+
/** @deprecated use `MessagesSystemMessage$inboundSchema` instead. */
|
|
2398
|
+
const inboundSchema: z.ZodType<MessagesSystemMessage, z.ZodTypeDef, unknown>;
|
|
2399
|
+
/** @deprecated use `MessagesSystemMessage$outboundSchema` instead. */
|
|
2400
|
+
const outboundSchema: z.ZodType<MessagesSystemMessage$Outbound, z.ZodTypeDef, MessagesSystemMessage>;
|
|
2401
|
+
/** @deprecated use `MessagesSystemMessage$Outbound` instead. */
|
|
2402
|
+
type Outbound = MessagesSystemMessage$Outbound;
|
|
1096
2403
|
}
|
|
1097
|
-
export declare function
|
|
1098
|
-
export declare function
|
|
2404
|
+
export declare function messagesSystemMessageToJSON(messagesSystemMessage: MessagesSystemMessage): string;
|
|
2405
|
+
export declare function messagesSystemMessageFromJSON(jsonString: string): SafeParseResult<MessagesSystemMessage, SDKValidationError>;
|
|
1099
2406
|
/** @internal */
|
|
1100
|
-
export declare const
|
|
2407
|
+
export declare const MessagesRole$inboundSchema: z.ZodNativeEnum<typeof MessagesRole>;
|
|
1101
2408
|
/** @internal */
|
|
1102
|
-
export
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
2409
|
+
export declare const MessagesRole$outboundSchema: z.ZodNativeEnum<typeof MessagesRole>;
|
|
2410
|
+
/**
|
|
2411
|
+
* @internal
|
|
2412
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2413
|
+
*/
|
|
2414
|
+
export declare namespace MessagesRole$ {
|
|
2415
|
+
/** @deprecated use `MessagesRole$inboundSchema` instead. */
|
|
2416
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
2417
|
+
readonly Developer: "developer";
|
|
2418
|
+
}>;
|
|
2419
|
+
/** @deprecated use `MessagesRole$outboundSchema` instead. */
|
|
2420
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
2421
|
+
readonly Developer: "developer";
|
|
2422
|
+
}>;
|
|
2423
|
+
}
|
|
2424
|
+
/** @internal */
|
|
2425
|
+
export declare const MessagesDeveloperMessage$inboundSchema: z.ZodType<MessagesDeveloperMessage, z.ZodTypeDef, unknown>;
|
|
2426
|
+
/** @internal */
|
|
2427
|
+
export type MessagesDeveloperMessage$Outbound = {
|
|
2428
|
+
role: string;
|
|
2429
|
+
content: string;
|
|
2430
|
+
name?: string | undefined;
|
|
1107
2431
|
};
|
|
1108
2432
|
/** @internal */
|
|
1109
|
-
export declare const
|
|
2433
|
+
export declare const MessagesDeveloperMessage$outboundSchema: z.ZodType<MessagesDeveloperMessage$Outbound, z.ZodTypeDef, MessagesDeveloperMessage>;
|
|
1110
2434
|
/**
|
|
1111
2435
|
* @internal
|
|
1112
2436
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1113
2437
|
*/
|
|
1114
|
-
export declare namespace
|
|
1115
|
-
/** @deprecated use `
|
|
1116
|
-
const inboundSchema: z.ZodType<
|
|
1117
|
-
/** @deprecated use `
|
|
1118
|
-
const outboundSchema: z.ZodType<
|
|
1119
|
-
/** @deprecated use `
|
|
1120
|
-
type Outbound =
|
|
2438
|
+
export declare namespace MessagesDeveloperMessage$ {
|
|
2439
|
+
/** @deprecated use `MessagesDeveloperMessage$inboundSchema` instead. */
|
|
2440
|
+
const inboundSchema: z.ZodType<MessagesDeveloperMessage, z.ZodTypeDef, unknown>;
|
|
2441
|
+
/** @deprecated use `MessagesDeveloperMessage$outboundSchema` instead. */
|
|
2442
|
+
const outboundSchema: z.ZodType<MessagesDeveloperMessage$Outbound, z.ZodTypeDef, MessagesDeveloperMessage>;
|
|
2443
|
+
/** @deprecated use `MessagesDeveloperMessage$Outbound` instead. */
|
|
2444
|
+
type Outbound = MessagesDeveloperMessage$Outbound;
|
|
1121
2445
|
}
|
|
1122
|
-
export declare function
|
|
1123
|
-
export declare function
|
|
2446
|
+
export declare function messagesDeveloperMessageToJSON(messagesDeveloperMessage: MessagesDeveloperMessage): string;
|
|
2447
|
+
export declare function messagesDeveloperMessageFromJSON(jsonString: string): SafeParseResult<MessagesDeveloperMessage, SDKValidationError>;
|
|
1124
2448
|
/** @internal */
|
|
1125
2449
|
export declare const Messages$inboundSchema: z.ZodType<Messages, z.ZodTypeDef, unknown>;
|
|
1126
2450
|
/** @internal */
|
|
1127
|
-
export type Messages$Outbound =
|
|
1128
|
-
role: string;
|
|
1129
|
-
content: string | Array<Two1$Outbound | DeploymentGetConfig22$Outbound>;
|
|
1130
|
-
tool_calls?: Array<DeploymentGetConfigToolCalls$Outbound> | undefined;
|
|
1131
|
-
};
|
|
2451
|
+
export type Messages$Outbound = MessagesDeveloperMessage$Outbound | MessagesSystemMessage$Outbound | MessagesUserMessage$Outbound | MessagesToolMessage$Outbound | MessagesAssistantMessage$Outbound;
|
|
1132
2452
|
/** @internal */
|
|
1133
2453
|
export declare const Messages$outboundSchema: z.ZodType<Messages$Outbound, z.ZodTypeDef, Messages>;
|
|
1134
2454
|
/**
|
|
@@ -1225,8 +2545,8 @@ export type DeploymentGetConfigRequestBody$Outbound = {
|
|
|
1225
2545
|
context?: {
|
|
1226
2546
|
[k: string]: any;
|
|
1227
2547
|
} | undefined;
|
|
1228
|
-
prefix_messages?: Array<
|
|
1229
|
-
messages?: Array<
|
|
2548
|
+
prefix_messages?: Array<DeveloperMessage$Outbound | SystemMessage$Outbound | UserMessage$Outbound | ToolMessage$Outbound | AssistantMessage$Outbound> | undefined;
|
|
2549
|
+
messages?: Array<MessagesDeveloperMessage$Outbound | MessagesSystemMessage$Outbound | MessagesUserMessage$Outbound | MessagesToolMessage$Outbound | MessagesAssistantMessage$Outbound> | undefined;
|
|
1230
2550
|
file_ids?: Array<string> | undefined;
|
|
1231
2551
|
metadata?: {
|
|
1232
2552
|
[k: string]: any;
|
|
@@ -1254,15 +2574,15 @@ export declare namespace DeploymentGetConfigRequestBody$ {
|
|
|
1254
2574
|
export declare function deploymentGetConfigRequestBodyToJSON(deploymentGetConfigRequestBody: DeploymentGetConfigRequestBody): string;
|
|
1255
2575
|
export declare function deploymentGetConfigRequestBodyFromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigRequestBody, SDKValidationError>;
|
|
1256
2576
|
/** @internal */
|
|
1257
|
-
export declare const
|
|
2577
|
+
export declare const DeploymentGetConfigType$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigType>;
|
|
1258
2578
|
/** @internal */
|
|
1259
|
-
export declare const
|
|
2579
|
+
export declare const DeploymentGetConfigType$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigType>;
|
|
1260
2580
|
/**
|
|
1261
2581
|
* @internal
|
|
1262
2582
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1263
2583
|
*/
|
|
1264
|
-
export declare namespace
|
|
1265
|
-
/** @deprecated use `
|
|
2584
|
+
export declare namespace DeploymentGetConfigType$ {
|
|
2585
|
+
/** @deprecated use `DeploymentGetConfigType$inboundSchema` instead. */
|
|
1266
2586
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1267
2587
|
readonly Chat: "chat";
|
|
1268
2588
|
readonly Completion: "completion";
|
|
@@ -1274,7 +2594,7 @@ export declare namespace DeploymentGetConfigDeploymentsResponseType$ {
|
|
|
1274
2594
|
readonly Rerank: "rerank";
|
|
1275
2595
|
readonly Moderations: "moderations";
|
|
1276
2596
|
}>;
|
|
1277
|
-
/** @deprecated use `
|
|
2597
|
+
/** @deprecated use `DeploymentGetConfigType$outboundSchema` instead. */
|
|
1278
2598
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1279
2599
|
readonly Chat: "chat";
|
|
1280
2600
|
readonly Completion: "completion";
|
|
@@ -1288,15 +2608,15 @@ export declare namespace DeploymentGetConfigDeploymentsResponseType$ {
|
|
|
1288
2608
|
}>;
|
|
1289
2609
|
}
|
|
1290
2610
|
/** @internal */
|
|
1291
|
-
export declare const
|
|
2611
|
+
export declare const DeploymentGetConfigRole$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigRole>;
|
|
1292
2612
|
/** @internal */
|
|
1293
|
-
export declare const
|
|
2613
|
+
export declare const DeploymentGetConfigRole$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigRole>;
|
|
1294
2614
|
/**
|
|
1295
2615
|
* @internal
|
|
1296
2616
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1297
2617
|
*/
|
|
1298
|
-
export declare namespace
|
|
1299
|
-
/** @deprecated use `
|
|
2618
|
+
export declare namespace DeploymentGetConfigRole$ {
|
|
2619
|
+
/** @deprecated use `DeploymentGetConfigRole$inboundSchema` instead. */
|
|
1300
2620
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1301
2621
|
readonly System: "system";
|
|
1302
2622
|
readonly Assistant: "assistant";
|
|
@@ -1307,7 +2627,7 @@ export declare namespace DeploymentGetConfigDeploymentsRole$ {
|
|
|
1307
2627
|
readonly Correction: "correction";
|
|
1308
2628
|
readonly ExpectedOutput: "expected_output";
|
|
1309
2629
|
}>;
|
|
1310
|
-
/** @deprecated use `
|
|
2630
|
+
/** @deprecated use `DeploymentGetConfigRole$outboundSchema` instead. */
|
|
1311
2631
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1312
2632
|
readonly System: "system";
|
|
1313
2633
|
readonly Assistant: "assistant";
|
|
@@ -1426,118 +2746,118 @@ export declare namespace DeploymentGetConfig21$ {
|
|
|
1426
2746
|
export declare function deploymentGetConfig21ToJSON(deploymentGetConfig21: DeploymentGetConfig21): string;
|
|
1427
2747
|
export declare function deploymentGetConfig21FromJSON(jsonString: string): SafeParseResult<DeploymentGetConfig21, SDKValidationError>;
|
|
1428
2748
|
/** @internal */
|
|
1429
|
-
export declare const
|
|
2749
|
+
export declare const DeploymentGetConfigContentDeploymentsResponse2$inboundSchema: z.ZodType<DeploymentGetConfigContentDeploymentsResponse2, z.ZodTypeDef, unknown>;
|
|
1430
2750
|
/** @internal */
|
|
1431
|
-
export type
|
|
2751
|
+
export type DeploymentGetConfigContentDeploymentsResponse2$Outbound = DeploymentGetConfig21$Outbound | DeploymentGetConfig2Deployments2$Outbound;
|
|
1432
2752
|
/** @internal */
|
|
1433
|
-
export declare const
|
|
2753
|
+
export declare const DeploymentGetConfigContentDeploymentsResponse2$outboundSchema: z.ZodType<DeploymentGetConfigContentDeploymentsResponse2$Outbound, z.ZodTypeDef, DeploymentGetConfigContentDeploymentsResponse2>;
|
|
1434
2754
|
/**
|
|
1435
2755
|
* @internal
|
|
1436
2756
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1437
2757
|
*/
|
|
1438
|
-
export declare namespace
|
|
1439
|
-
/** @deprecated use `
|
|
1440
|
-
const inboundSchema: z.ZodType<
|
|
1441
|
-
/** @deprecated use `
|
|
1442
|
-
const outboundSchema: z.ZodType<
|
|
1443
|
-
/** @deprecated use `
|
|
1444
|
-
type Outbound =
|
|
2758
|
+
export declare namespace DeploymentGetConfigContentDeploymentsResponse2$ {
|
|
2759
|
+
/** @deprecated use `DeploymentGetConfigContentDeploymentsResponse2$inboundSchema` instead. */
|
|
2760
|
+
const inboundSchema: z.ZodType<DeploymentGetConfigContentDeploymentsResponse2, z.ZodTypeDef, unknown>;
|
|
2761
|
+
/** @deprecated use `DeploymentGetConfigContentDeploymentsResponse2$outboundSchema` instead. */
|
|
2762
|
+
const outboundSchema: z.ZodType<DeploymentGetConfigContentDeploymentsResponse2$Outbound, z.ZodTypeDef, DeploymentGetConfigContentDeploymentsResponse2>;
|
|
2763
|
+
/** @deprecated use `DeploymentGetConfigContentDeploymentsResponse2$Outbound` instead. */
|
|
2764
|
+
type Outbound = DeploymentGetConfigContentDeploymentsResponse2$Outbound;
|
|
1445
2765
|
}
|
|
1446
|
-
export declare function
|
|
1447
|
-
export declare function
|
|
2766
|
+
export declare function deploymentGetConfigContentDeploymentsResponse2ToJSON(deploymentGetConfigContentDeploymentsResponse2: DeploymentGetConfigContentDeploymentsResponse2): string;
|
|
2767
|
+
export declare function deploymentGetConfigContentDeploymentsResponse2FromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigContentDeploymentsResponse2, SDKValidationError>;
|
|
1448
2768
|
/** @internal */
|
|
1449
|
-
export declare const
|
|
2769
|
+
export declare const DeploymentGetConfigContent$inboundSchema: z.ZodType<DeploymentGetConfigContent, z.ZodTypeDef, unknown>;
|
|
1450
2770
|
/** @internal */
|
|
1451
|
-
export type
|
|
2771
|
+
export type DeploymentGetConfigContent$Outbound = string | Array<DeploymentGetConfig21$Outbound | DeploymentGetConfig2Deployments2$Outbound>;
|
|
1452
2772
|
/** @internal */
|
|
1453
|
-
export declare const
|
|
2773
|
+
export declare const DeploymentGetConfigContent$outboundSchema: z.ZodType<DeploymentGetConfigContent$Outbound, z.ZodTypeDef, DeploymentGetConfigContent>;
|
|
1454
2774
|
/**
|
|
1455
2775
|
* @internal
|
|
1456
2776
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1457
2777
|
*/
|
|
1458
|
-
export declare namespace
|
|
1459
|
-
/** @deprecated use `
|
|
1460
|
-
const inboundSchema: z.ZodType<
|
|
1461
|
-
/** @deprecated use `
|
|
1462
|
-
const outboundSchema: z.ZodType<
|
|
1463
|
-
/** @deprecated use `
|
|
1464
|
-
type Outbound =
|
|
2778
|
+
export declare namespace DeploymentGetConfigContent$ {
|
|
2779
|
+
/** @deprecated use `DeploymentGetConfigContent$inboundSchema` instead. */
|
|
2780
|
+
const inboundSchema: z.ZodType<DeploymentGetConfigContent, z.ZodTypeDef, unknown>;
|
|
2781
|
+
/** @deprecated use `DeploymentGetConfigContent$outboundSchema` instead. */
|
|
2782
|
+
const outboundSchema: z.ZodType<DeploymentGetConfigContent$Outbound, z.ZodTypeDef, DeploymentGetConfigContent>;
|
|
2783
|
+
/** @deprecated use `DeploymentGetConfigContent$Outbound` instead. */
|
|
2784
|
+
type Outbound = DeploymentGetConfigContent$Outbound;
|
|
1465
2785
|
}
|
|
1466
|
-
export declare function
|
|
1467
|
-
export declare function
|
|
2786
|
+
export declare function deploymentGetConfigContentToJSON(deploymentGetConfigContent: DeploymentGetConfigContent): string;
|
|
2787
|
+
export declare function deploymentGetConfigContentFromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigContent, SDKValidationError>;
|
|
1468
2788
|
/** @internal */
|
|
1469
|
-
export declare const
|
|
2789
|
+
export declare const DeploymentGetConfigDeploymentsResponseType$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigDeploymentsResponseType>;
|
|
1470
2790
|
/** @internal */
|
|
1471
|
-
export declare const
|
|
2791
|
+
export declare const DeploymentGetConfigDeploymentsResponseType$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigDeploymentsResponseType>;
|
|
1472
2792
|
/**
|
|
1473
2793
|
* @internal
|
|
1474
2794
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1475
2795
|
*/
|
|
1476
|
-
export declare namespace
|
|
1477
|
-
/** @deprecated use `
|
|
2796
|
+
export declare namespace DeploymentGetConfigDeploymentsResponseType$ {
|
|
2797
|
+
/** @deprecated use `DeploymentGetConfigDeploymentsResponseType$inboundSchema` instead. */
|
|
1478
2798
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1479
2799
|
readonly Function: "function";
|
|
1480
2800
|
}>;
|
|
1481
|
-
/** @deprecated use `
|
|
2801
|
+
/** @deprecated use `DeploymentGetConfigDeploymentsResponseType$outboundSchema` instead. */
|
|
1482
2802
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1483
2803
|
readonly Function: "function";
|
|
1484
2804
|
}>;
|
|
1485
2805
|
}
|
|
1486
2806
|
/** @internal */
|
|
1487
|
-
export declare const
|
|
2807
|
+
export declare const DeploymentGetConfigDeploymentsFunction$inboundSchema: z.ZodType<DeploymentGetConfigDeploymentsFunction, z.ZodTypeDef, unknown>;
|
|
1488
2808
|
/** @internal */
|
|
1489
|
-
export type
|
|
2809
|
+
export type DeploymentGetConfigDeploymentsFunction$Outbound = {
|
|
1490
2810
|
name: string;
|
|
1491
2811
|
arguments: string;
|
|
1492
2812
|
};
|
|
1493
2813
|
/** @internal */
|
|
1494
|
-
export declare const
|
|
2814
|
+
export declare const DeploymentGetConfigDeploymentsFunction$outboundSchema: z.ZodType<DeploymentGetConfigDeploymentsFunction$Outbound, z.ZodTypeDef, DeploymentGetConfigDeploymentsFunction>;
|
|
1495
2815
|
/**
|
|
1496
2816
|
* @internal
|
|
1497
2817
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1498
2818
|
*/
|
|
1499
|
-
export declare namespace
|
|
1500
|
-
/** @deprecated use `
|
|
1501
|
-
const inboundSchema: z.ZodType<
|
|
1502
|
-
/** @deprecated use `
|
|
1503
|
-
const outboundSchema: z.ZodType<
|
|
1504
|
-
/** @deprecated use `
|
|
1505
|
-
type Outbound =
|
|
2819
|
+
export declare namespace DeploymentGetConfigDeploymentsFunction$ {
|
|
2820
|
+
/** @deprecated use `DeploymentGetConfigDeploymentsFunction$inboundSchema` instead. */
|
|
2821
|
+
const inboundSchema: z.ZodType<DeploymentGetConfigDeploymentsFunction, z.ZodTypeDef, unknown>;
|
|
2822
|
+
/** @deprecated use `DeploymentGetConfigDeploymentsFunction$outboundSchema` instead. */
|
|
2823
|
+
const outboundSchema: z.ZodType<DeploymentGetConfigDeploymentsFunction$Outbound, z.ZodTypeDef, DeploymentGetConfigDeploymentsFunction>;
|
|
2824
|
+
/** @deprecated use `DeploymentGetConfigDeploymentsFunction$Outbound` instead. */
|
|
2825
|
+
type Outbound = DeploymentGetConfigDeploymentsFunction$Outbound;
|
|
1506
2826
|
}
|
|
1507
|
-
export declare function
|
|
1508
|
-
export declare function
|
|
2827
|
+
export declare function deploymentGetConfigDeploymentsFunctionToJSON(deploymentGetConfigDeploymentsFunction: DeploymentGetConfigDeploymentsFunction): string;
|
|
2828
|
+
export declare function deploymentGetConfigDeploymentsFunctionFromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigDeploymentsFunction, SDKValidationError>;
|
|
1509
2829
|
/** @internal */
|
|
1510
|
-
export declare const
|
|
2830
|
+
export declare const DeploymentGetConfigToolCalls$inboundSchema: z.ZodType<DeploymentGetConfigToolCalls, z.ZodTypeDef, unknown>;
|
|
1511
2831
|
/** @internal */
|
|
1512
|
-
export type
|
|
2832
|
+
export type DeploymentGetConfigToolCalls$Outbound = {
|
|
1513
2833
|
id?: string | undefined;
|
|
1514
2834
|
index?: number | undefined;
|
|
1515
2835
|
type: string;
|
|
1516
|
-
function:
|
|
2836
|
+
function: DeploymentGetConfigDeploymentsFunction$Outbound;
|
|
1517
2837
|
};
|
|
1518
2838
|
/** @internal */
|
|
1519
|
-
export declare const
|
|
2839
|
+
export declare const DeploymentGetConfigToolCalls$outboundSchema: z.ZodType<DeploymentGetConfigToolCalls$Outbound, z.ZodTypeDef, DeploymentGetConfigToolCalls>;
|
|
1520
2840
|
/**
|
|
1521
2841
|
* @internal
|
|
1522
2842
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1523
2843
|
*/
|
|
1524
|
-
export declare namespace
|
|
1525
|
-
/** @deprecated use `
|
|
1526
|
-
const inboundSchema: z.ZodType<
|
|
1527
|
-
/** @deprecated use `
|
|
1528
|
-
const outboundSchema: z.ZodType<
|
|
1529
|
-
/** @deprecated use `
|
|
1530
|
-
type Outbound =
|
|
2844
|
+
export declare namespace DeploymentGetConfigToolCalls$ {
|
|
2845
|
+
/** @deprecated use `DeploymentGetConfigToolCalls$inboundSchema` instead. */
|
|
2846
|
+
const inboundSchema: z.ZodType<DeploymentGetConfigToolCalls, z.ZodTypeDef, unknown>;
|
|
2847
|
+
/** @deprecated use `DeploymentGetConfigToolCalls$outboundSchema` instead. */
|
|
2848
|
+
const outboundSchema: z.ZodType<DeploymentGetConfigToolCalls$Outbound, z.ZodTypeDef, DeploymentGetConfigToolCalls>;
|
|
2849
|
+
/** @deprecated use `DeploymentGetConfigToolCalls$Outbound` instead. */
|
|
2850
|
+
type Outbound = DeploymentGetConfigToolCalls$Outbound;
|
|
1531
2851
|
}
|
|
1532
|
-
export declare function
|
|
1533
|
-
export declare function
|
|
2852
|
+
export declare function deploymentGetConfigToolCallsToJSON(deploymentGetConfigToolCalls: DeploymentGetConfigToolCalls): string;
|
|
2853
|
+
export declare function deploymentGetConfigToolCallsFromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigToolCalls, SDKValidationError>;
|
|
1534
2854
|
/** @internal */
|
|
1535
2855
|
export declare const DeploymentGetConfigMessages$inboundSchema: z.ZodType<DeploymentGetConfigMessages, z.ZodTypeDef, unknown>;
|
|
1536
2856
|
/** @internal */
|
|
1537
2857
|
export type DeploymentGetConfigMessages$Outbound = {
|
|
1538
2858
|
role: string;
|
|
1539
2859
|
content: string | Array<DeploymentGetConfig21$Outbound | DeploymentGetConfig2Deployments2$Outbound>;
|
|
1540
|
-
tool_calls?: Array<
|
|
2860
|
+
tool_calls?: Array<DeploymentGetConfigToolCalls$Outbound> | undefined;
|
|
1541
2861
|
};
|
|
1542
2862
|
/** @internal */
|
|
1543
2863
|
export declare const DeploymentGetConfigMessages$outboundSchema: z.ZodType<DeploymentGetConfigMessages$Outbound, z.ZodTypeDef, DeploymentGetConfigMessages>;
|
|
@@ -1808,6 +3128,7 @@ export type ParametersT$Outbound = {
|
|
|
1808
3128
|
photoRealVersion?: string | undefined;
|
|
1809
3129
|
encoding_format?: string | undefined;
|
|
1810
3130
|
reasoningEffort?: string | undefined;
|
|
3131
|
+
budgetTokens?: number | undefined;
|
|
1811
3132
|
};
|
|
1812
3133
|
/** @internal */
|
|
1813
3134
|
export declare const ParametersT$outboundSchema: z.ZodType<ParametersT$Outbound, z.ZodTypeDef, ParametersT>;
|
|
@@ -1826,27 +3147,27 @@ export declare namespace ParametersT$ {
|
|
|
1826
3147
|
export declare function parametersToJSON(parametersT: ParametersT): string;
|
|
1827
3148
|
export declare function parametersFromJSON(jsonString: string): SafeParseResult<ParametersT, SDKValidationError>;
|
|
1828
3149
|
/** @internal */
|
|
1829
|
-
export declare const
|
|
3150
|
+
export declare const DeploymentGetConfigDeploymentsType$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigDeploymentsType>;
|
|
1830
3151
|
/** @internal */
|
|
1831
|
-
export declare const
|
|
3152
|
+
export declare const DeploymentGetConfigDeploymentsType$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigDeploymentsType>;
|
|
1832
3153
|
/**
|
|
1833
3154
|
* @internal
|
|
1834
3155
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1835
3156
|
*/
|
|
1836
|
-
export declare namespace
|
|
1837
|
-
/** @deprecated use `
|
|
3157
|
+
export declare namespace DeploymentGetConfigDeploymentsType$ {
|
|
3158
|
+
/** @deprecated use `DeploymentGetConfigDeploymentsType$inboundSchema` instead. */
|
|
1838
3159
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1839
3160
|
readonly Function: "function";
|
|
1840
3161
|
}>;
|
|
1841
|
-
/** @deprecated use `
|
|
3162
|
+
/** @deprecated use `DeploymentGetConfigDeploymentsType$outboundSchema` instead. */
|
|
1842
3163
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1843
3164
|
readonly Function: "function";
|
|
1844
3165
|
}>;
|
|
1845
3166
|
}
|
|
1846
3167
|
/** @internal */
|
|
1847
|
-
export declare const
|
|
3168
|
+
export declare const DeploymentGetConfigFunction$inboundSchema: z.ZodType<DeploymentGetConfigFunction, z.ZodTypeDef, unknown>;
|
|
1848
3169
|
/** @internal */
|
|
1849
|
-
export type
|
|
3170
|
+
export type DeploymentGetConfigFunction$Outbound = {
|
|
1850
3171
|
name: string;
|
|
1851
3172
|
description?: string | undefined;
|
|
1852
3173
|
parameters?: {
|
|
@@ -1854,27 +3175,27 @@ export type DeploymentGetConfigDeploymentsFunction$Outbound = {
|
|
|
1854
3175
|
} | undefined;
|
|
1855
3176
|
};
|
|
1856
3177
|
/** @internal */
|
|
1857
|
-
export declare const
|
|
3178
|
+
export declare const DeploymentGetConfigFunction$outboundSchema: z.ZodType<DeploymentGetConfigFunction$Outbound, z.ZodTypeDef, DeploymentGetConfigFunction>;
|
|
1858
3179
|
/**
|
|
1859
3180
|
* @internal
|
|
1860
3181
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1861
3182
|
*/
|
|
1862
|
-
export declare namespace
|
|
1863
|
-
/** @deprecated use `
|
|
1864
|
-
const inboundSchema: z.ZodType<
|
|
1865
|
-
/** @deprecated use `
|
|
1866
|
-
const outboundSchema: z.ZodType<
|
|
1867
|
-
/** @deprecated use `
|
|
1868
|
-
type Outbound =
|
|
3183
|
+
export declare namespace DeploymentGetConfigFunction$ {
|
|
3184
|
+
/** @deprecated use `DeploymentGetConfigFunction$inboundSchema` instead. */
|
|
3185
|
+
const inboundSchema: z.ZodType<DeploymentGetConfigFunction, z.ZodTypeDef, unknown>;
|
|
3186
|
+
/** @deprecated use `DeploymentGetConfigFunction$outboundSchema` instead. */
|
|
3187
|
+
const outboundSchema: z.ZodType<DeploymentGetConfigFunction$Outbound, z.ZodTypeDef, DeploymentGetConfigFunction>;
|
|
3188
|
+
/** @deprecated use `DeploymentGetConfigFunction$Outbound` instead. */
|
|
3189
|
+
type Outbound = DeploymentGetConfigFunction$Outbound;
|
|
1869
3190
|
}
|
|
1870
|
-
export declare function
|
|
1871
|
-
export declare function
|
|
3191
|
+
export declare function deploymentGetConfigFunctionToJSON(deploymentGetConfigFunction: DeploymentGetConfigFunction): string;
|
|
3192
|
+
export declare function deploymentGetConfigFunctionFromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigFunction, SDKValidationError>;
|
|
1872
3193
|
/** @internal */
|
|
1873
3194
|
export declare const Tools$inboundSchema: z.ZodType<Tools, z.ZodTypeDef, unknown>;
|
|
1874
3195
|
/** @internal */
|
|
1875
3196
|
export type Tools$Outbound = {
|
|
1876
3197
|
type: string;
|
|
1877
|
-
function:
|
|
3198
|
+
function: DeploymentGetConfigFunction$Outbound;
|
|
1878
3199
|
};
|
|
1879
3200
|
/** @internal */
|
|
1880
3201
|
export declare const Tools$outboundSchema: z.ZodType<Tools$Outbound, z.ZodTypeDef, Tools>;
|