@orq-ai/node 3.14.8 → 4.0.0-rc.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/bin/mcp-server.js +210 -213
- package/bin/mcp-server.js.map +38 -38
- package/docs/sdks/agents/README.md +8 -4
- package/docs/sdks/budgets/README.md +4 -2
- package/docs/sdks/tools/README.md +4 -2
- package/examples/package-lock.json +5 -6
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/lib/config.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/mcp-server.js.map +1 -1
- package/mcp-server/server.js +1 -1
- package/mcp-server/server.js.map +1 -1
- package/models/operations/createbudget.js +2 -2
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.js +8 -8
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.js +28 -28
- package/models/operations/createtool.js +10 -10
- package/models/operations/duplicatetool.js +10 -10
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/getalltools.js +10 -10
- package/models/operations/getbudget.js +2 -2
- package/models/operations/getevals.js +28 -28
- package/models/operations/listbudgets.js +2 -2
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.js +8 -8
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrievedatapoint.js +8 -8
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/retrievetool.js +10 -10
- package/models/operations/updatebudget.js +2 -2
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updatedatapoint.js +8 -8
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.js +28 -28
- package/models/operations/updatetool.js +10 -10
- package/package.json +4 -4
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/operations/createbudget.ts +2 -2
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +8 -8
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +28 -28
- package/src/models/operations/createtool.ts +10 -10
- package/src/models/operations/duplicatetool.ts +10 -10
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +2 -2
- package/src/models/operations/getalltools.ts +10 -10
- package/src/models/operations/getbudget.ts +2 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/listbudgets.ts +2 -2
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +8 -8
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +2 -2
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +8 -8
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/retrievetool.ts +10 -10
- package/src/models/operations/updatebudget.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +8 -8
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateeval.ts +28 -28
- package/src/models/operations/updatetool.ts +10 -10
- package/packages/orq-rc/FUNCTIONS.md +0 -103
- package/packages/orq-rc/README.md +0 -909
- package/packages/orq-rc/RUNTIMES.md +0 -48
- package/packages/orq-rc/docs/sdks/agents/README.md +0 -1319
- package/packages/orq-rc/docs/sdks/budgets/README.md +0 -401
- package/packages/orq-rc/docs/sdks/chunking/README.md +0 -95
- package/packages/orq-rc/docs/sdks/contacts/README.md +0 -450
- package/packages/orq-rc/docs/sdks/datasets/README.md +0 -836
- package/packages/orq-rc/docs/sdks/deployments/README.md +0 -312
- package/packages/orq-rc/docs/sdks/evals/README.md +0 -339
- package/packages/orq-rc/docs/sdks/feedback/README.md +0 -89
- package/packages/orq-rc/docs/sdks/files/README.md +0 -301
- package/packages/orq-rc/docs/sdks/knowledge/README.md +0 -1489
- package/packages/orq-rc/docs/sdks/memorystores/README.md +0 -1172
- package/packages/orq-rc/docs/sdks/metrics/README.md +0 -83
- package/packages/orq-rc/docs/sdks/models/README.md +0 -76
- package/packages/orq-rc/docs/sdks/prompts/README.md +0 -591
- package/packages/orq-rc/docs/sdks/remoteconfigs/README.md +0 -77
- package/packages/orq-rc/docs/sdks/tools/README.md +0 -490
- package/packages/orq-rc/examples/README.md +0 -31
- package/packages/orq-rc/examples/contactsCreate.example.ts +0 -42
- package/packages/orq-rc/examples/package-lock.json +0 -627
- package/packages/orq-rc/examples/package.json +0 -18
- package/packages/orq-rc/jsr.json +0 -28
- package/packages/orq-rc/package-lock.json +0 -3071
- package/packages/orq-rc/package.json +0 -43
- package/packages/orq-rc/src/core.ts +0 -13
- package/packages/orq-rc/src/funcs/agentsCreate.ts +0 -172
- package/packages/orq-rc/src/funcs/agentsDelete.ts +0 -176
- package/packages/orq-rc/src/funcs/agentsInvoke.ts +0 -167
- package/packages/orq-rc/src/funcs/agentsList.ts +0 -167
- package/packages/orq-rc/src/funcs/agentsListActions.ts +0 -169
- package/packages/orq-rc/src/funcs/agentsListTasks.ts +0 -183
- package/packages/orq-rc/src/funcs/agentsRetrieve.ts +0 -175
- package/packages/orq-rc/src/funcs/agentsRetrieveAction.ts +0 -173
- package/packages/orq-rc/src/funcs/agentsRetrieveTask.ts +0 -179
- package/packages/orq-rc/src/funcs/agentsRun.ts +0 -163
- package/packages/orq-rc/src/funcs/agentsStream.ts +0 -190
- package/packages/orq-rc/src/funcs/agentsStreamRun.ts +0 -188
- package/packages/orq-rc/src/funcs/agentsUpdate.ts +0 -176
- package/packages/orq-rc/src/funcs/budgetsCreate.ts +0 -160
- package/packages/orq-rc/src/funcs/budgetsDelete.ts +0 -167
- package/packages/orq-rc/src/funcs/budgetsGet.ts +0 -166
- package/packages/orq-rc/src/funcs/budgetsList.ts +0 -170
- package/packages/orq-rc/src/funcs/budgetsUpdate.ts +0 -167
- package/packages/orq-rc/src/funcs/chunkingParse.ts +0 -160
- package/packages/orq-rc/src/funcs/contactsCreate.ts +0 -165
- package/packages/orq-rc/src/funcs/contactsDelete.ts +0 -176
- package/packages/orq-rc/src/funcs/contactsList.ts +0 -169
- package/packages/orq-rc/src/funcs/contactsRetrieve.ts +0 -175
- package/packages/orq-rc/src/funcs/contactsUpdate.ts +0 -176
- package/packages/orq-rc/src/funcs/datasetsClear.ts +0 -167
- package/packages/orq-rc/src/funcs/datasetsCreate.ts +0 -165
- package/packages/orq-rc/src/funcs/datasetsCreateDatapoint.ts +0 -171
- package/packages/orq-rc/src/funcs/datasetsDelete.ts +0 -167
- package/packages/orq-rc/src/funcs/datasetsDeleteDatapoint.ts +0 -182
- package/packages/orq-rc/src/funcs/datasetsList.ts +0 -167
- package/packages/orq-rc/src/funcs/datasetsListDatapoints.ts +0 -174
- package/packages/orq-rc/src/funcs/datasetsRetrieve.ts +0 -175
- package/packages/orq-rc/src/funcs/datasetsRetrieveDatapoint.ts +0 -181
- package/packages/orq-rc/src/funcs/datasetsUpdate.ts +0 -176
- package/packages/orq-rc/src/funcs/datasetsUpdateDatapoint.ts +0 -179
- package/packages/orq-rc/src/funcs/deploymentsGetConfig.ts +0 -168
- package/packages/orq-rc/src/funcs/deploymentsInvoke.ts +0 -176
- package/packages/orq-rc/src/funcs/deploymentsList.ts +0 -176
- package/packages/orq-rc/src/funcs/deploymentsMetricsCreate.ts +0 -168
- package/packages/orq-rc/src/funcs/deploymentsStream.ts +0 -183
- package/packages/orq-rc/src/funcs/evalsAll.ts +0 -173
- package/packages/orq-rc/src/funcs/evalsCreate.ts +0 -169
- package/packages/orq-rc/src/funcs/evalsDelete.ts +0 -173
- package/packages/orq-rc/src/funcs/evalsUpdate.ts +0 -173
- package/packages/orq-rc/src/funcs/feedbackCreate.ts +0 -160
- package/packages/orq-rc/src/funcs/filesCreate.ts +0 -187
- package/packages/orq-rc/src/funcs/filesDelete.ts +0 -164
- package/packages/orq-rc/src/funcs/filesGet.ts +0 -166
- package/packages/orq-rc/src/funcs/filesList.ts +0 -167
- package/packages/orq-rc/src/funcs/knowledgeCreate.ts +0 -158
- package/packages/orq-rc/src/funcs/knowledgeCreateChunks.ts +0 -171
- package/packages/orq-rc/src/funcs/knowledgeCreateDatasource.ts +0 -166
- package/packages/orq-rc/src/funcs/knowledgeDelete.ts +0 -167
- package/packages/orq-rc/src/funcs/knowledgeDeleteChunk.ts +0 -174
- package/packages/orq-rc/src/funcs/knowledgeDeleteChunks.ts +0 -170
- package/packages/orq-rc/src/funcs/knowledgeDeleteDatasource.ts +0 -173
- package/packages/orq-rc/src/funcs/knowledgeGetChunksCount.ts +0 -170
- package/packages/orq-rc/src/funcs/knowledgeList.ts +0 -169
- package/packages/orq-rc/src/funcs/knowledgeListChunks.ts +0 -178
- package/packages/orq-rc/src/funcs/knowledgeListChunksPaginated.ts +0 -171
- package/packages/orq-rc/src/funcs/knowledgeListDatasources.ts +0 -174
- package/packages/orq-rc/src/funcs/knowledgeRetrieve.ts +0 -166
- package/packages/orq-rc/src/funcs/knowledgeRetrieveChunk.ts +0 -173
- package/packages/orq-rc/src/funcs/knowledgeRetrieveDatasource.ts +0 -169
- package/packages/orq-rc/src/funcs/knowledgeSearch.ts +0 -167
- package/packages/orq-rc/src/funcs/knowledgeUpdate.ts +0 -164
- package/packages/orq-rc/src/funcs/knowledgeUpdateChunk.ts +0 -174
- package/packages/orq-rc/src/funcs/knowledgeUpdateDatasource.ts +0 -170
- package/packages/orq-rc/src/funcs/memoryStoresCreate.ts +0 -171
- package/packages/orq-rc/src/funcs/memoryStoresCreateDocument.ts +0 -175
- package/packages/orq-rc/src/funcs/memoryStoresCreateMemory.ts +0 -170
- package/packages/orq-rc/src/funcs/memoryStoresDelete.ts +0 -168
- package/packages/orq-rc/src/funcs/memoryStoresDeleteDocument.ts +0 -184
- package/packages/orq-rc/src/funcs/memoryStoresDeleteMemory.ts +0 -179
- package/packages/orq-rc/src/funcs/memoryStoresList.ts +0 -178
- package/packages/orq-rc/src/funcs/memoryStoresListDocuments.ts +0 -181
- package/packages/orq-rc/src/funcs/memoryStoresListMemories.ts +0 -176
- package/packages/orq-rc/src/funcs/memoryStoresRetrieve.ts +0 -177
- package/packages/orq-rc/src/funcs/memoryStoresRetrieveDocument.ts +0 -178
- package/packages/orq-rc/src/funcs/memoryStoresRetrieveMemory.ts +0 -173
- package/packages/orq-rc/src/funcs/memoryStoresUpdate.ts +0 -168
- package/packages/orq-rc/src/funcs/memoryStoresUpdateDocument.ts +0 -179
- package/packages/orq-rc/src/funcs/memoryStoresUpdateMemory.ts +0 -174
- package/packages/orq-rc/src/funcs/modelsList.ts +0 -142
- package/packages/orq-rc/src/funcs/promptsCreate.ts +0 -160
- package/packages/orq-rc/src/funcs/promptsDelete.ts +0 -164
- package/packages/orq-rc/src/funcs/promptsGetVersion.ts +0 -181
- package/packages/orq-rc/src/funcs/promptsList.ts +0 -167
- package/packages/orq-rc/src/funcs/promptsListVersions.ts +0 -173
- package/packages/orq-rc/src/funcs/promptsRetrieve.ts +0 -166
- package/packages/orq-rc/src/funcs/promptsUpdate.ts +0 -173
- package/packages/orq-rc/src/funcs/remoteconfigsRetrieve.ts +0 -161
- package/packages/orq-rc/src/funcs/toolsCreate.ts +0 -163
- package/packages/orq-rc/src/funcs/toolsDelete.ts +0 -167
- package/packages/orq-rc/src/funcs/toolsDuplicate.ts +0 -175
- package/packages/orq-rc/src/funcs/toolsList.ts +0 -176
- package/packages/orq-rc/src/funcs/toolsRetrieve.ts +0 -166
- package/packages/orq-rc/src/funcs/toolsUpdate.ts +0 -176
- package/packages/orq-rc/src/hooks/global.ts +0 -44
- package/packages/orq-rc/src/hooks/hooks.ts +0 -132
- package/packages/orq-rc/src/hooks/index.ts +0 -6
- package/packages/orq-rc/src/hooks/registration.ts +0 -15
- package/packages/orq-rc/src/hooks/types.ts +0 -112
- package/packages/orq-rc/src/index.ts +0 -9
- package/packages/orq-rc/src/lib/base64.ts +0 -37
- package/packages/orq-rc/src/lib/config.ts +0 -74
- package/packages/orq-rc/src/lib/dlv.ts +0 -53
- package/packages/orq-rc/src/lib/encodings.ts +0 -483
- package/packages/orq-rc/src/lib/env.ts +0 -89
- package/packages/orq-rc/src/lib/event-streams.ts +0 -135
- package/packages/orq-rc/src/lib/files.ts +0 -82
- package/packages/orq-rc/src/lib/http.ts +0 -323
- package/packages/orq-rc/src/lib/is-plain-object.ts +0 -43
- package/packages/orq-rc/src/lib/logger.ts +0 -9
- package/packages/orq-rc/src/lib/matchers.ts +0 -345
- package/packages/orq-rc/src/lib/primitives.ts +0 -150
- package/packages/orq-rc/src/lib/retries.ts +0 -218
- package/packages/orq-rc/src/lib/schemas.ts +0 -91
- package/packages/orq-rc/src/lib/sdks.ts +0 -407
- package/packages/orq-rc/src/lib/security.ts +0 -264
- package/packages/orq-rc/src/lib/url.ts +0 -33
- package/packages/orq-rc/src/mcp-server/cli/start/command.ts +0 -111
- package/packages/orq-rc/src/mcp-server/cli/start/impl.ts +0 -136
- package/packages/orq-rc/src/mcp-server/cli.ts +0 -13
- package/packages/orq-rc/src/mcp-server/console-logger.ts +0 -71
- package/packages/orq-rc/src/mcp-server/extensions.ts +0 -17
- package/packages/orq-rc/src/mcp-server/mcp-server.ts +0 -26
- package/packages/orq-rc/src/mcp-server/prompts.ts +0 -117
- package/packages/orq-rc/src/mcp-server/resources.ts +0 -172
- package/packages/orq-rc/src/mcp-server/scopes.ts +0 -7
- package/packages/orq-rc/src/mcp-server/server.ts +0 -259
- package/packages/orq-rc/src/mcp-server/shared.ts +0 -74
- package/packages/orq-rc/src/mcp-server/tools/agentsCreate.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/agentsDelete.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/agentsInvoke.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/agentsList.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/agentsListActions.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/agentsListTasks.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/agentsRetrieve.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/agentsRetrieveAction.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/agentsRetrieveTask.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/agentsRun.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/agentsStream.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/agentsStreamRun.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/agentsUpdate.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/budgetsCreate.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/budgetsDelete.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/budgetsGet.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/budgetsList.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/budgetsUpdate.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/chunkingParse.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/contactsCreate.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/contactsDelete.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/contactsList.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/contactsRetrieve.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/contactsUpdate.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/datasetsClear.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/datasetsCreate.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/datasetsCreateDatapoint.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/datasetsDelete.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/datasetsDeleteDatapoint.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/datasetsList.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/datasetsListDatapoints.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/datasetsRetrieve.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/datasetsRetrieveDatapoint.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/datasetsUpdate.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/datasetsUpdateDatapoint.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/deploymentsGetConfig.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/deploymentsInvoke.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/deploymentsList.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/deploymentsMetricsCreate.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/deploymentsStream.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/evalsAll.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/evalsCreate.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/evalsDelete.ts +0 -33
- package/packages/orq-rc/src/mcp-server/tools/evalsUpdate.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/feedbackCreate.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/filesCreate.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/filesDelete.ts +0 -33
- package/packages/orq-rc/src/mcp-server/tools/filesGet.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/filesList.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/knowledgeCreate.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/knowledgeCreateChunks.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/knowledgeCreateDatasource.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/knowledgeDelete.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/knowledgeDeleteChunk.ts +0 -33
- package/packages/orq-rc/src/mcp-server/tools/knowledgeDeleteChunks.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/knowledgeDeleteDatasource.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/knowledgeGetChunksCount.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/knowledgeList.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/knowledgeListChunks.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/knowledgeListChunksPaginated.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/knowledgeListDatasources.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/knowledgeRetrieve.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/knowledgeRetrieveChunk.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/knowledgeRetrieveDatasource.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/knowledgeSearch.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/knowledgeUpdate.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/knowledgeUpdateChunk.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/knowledgeUpdateDatasource.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/memoryStoresCreate.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/memoryStoresCreateDocument.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/memoryStoresCreateMemory.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/memoryStoresDelete.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/memoryStoresDeleteDocument.ts +0 -40
- package/packages/orq-rc/src/mcp-server/tools/memoryStoresDeleteMemory.ts +0 -40
- package/packages/orq-rc/src/mcp-server/tools/memoryStoresList.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/memoryStoresListDocuments.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/memoryStoresListMemories.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/memoryStoresRetrieve.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/memoryStoresRetrieveDocument.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/memoryStoresRetrieveMemory.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/memoryStoresUpdate.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/memoryStoresUpdateDocument.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/memoryStoresUpdateMemory.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/modelsList.ts +0 -30
- package/packages/orq-rc/src/mcp-server/tools/promptsCreate.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/promptsDelete.ts +0 -33
- package/packages/orq-rc/src/mcp-server/tools/promptsGetVersion.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/promptsList.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/promptsListVersions.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/promptsRetrieve.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/promptsUpdate.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/remoteconfigsRetrieve.ts +0 -36
- package/packages/orq-rc/src/mcp-server/tools/toolsCreate.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/toolsDelete.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/toolsDuplicate.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/toolsList.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/toolsRetrieve.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/toolsUpdate.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools.ts +0 -129
- package/packages/orq-rc/src/models/components/deployments.ts +0 -8147
- package/packages/orq-rc/src/models/components/index.ts +0 -6
- package/packages/orq-rc/src/models/components/security.ts +0 -71
- package/packages/orq-rc/src/models/errors/apierror.ts +0 -40
- package/packages/orq-rc/src/models/errors/createagent.ts +0 -80
- package/packages/orq-rc/src/models/errors/createeval.ts +0 -80
- package/packages/orq-rc/src/models/errors/deleteagent.ts +0 -80
- package/packages/orq-rc/src/models/errors/deletecontact.ts +0 -91
- package/packages/orq-rc/src/models/errors/deleteeval.ts +0 -80
- package/packages/orq-rc/src/models/errors/duplicatetool.ts +0 -91
- package/packages/orq-rc/src/models/errors/getagent.ts +0 -80
- package/packages/orq-rc/src/models/errors/getagenttask.ts +0 -80
- package/packages/orq-rc/src/models/errors/getevals.ts +0 -80
- package/packages/orq-rc/src/models/errors/getpromptversion.ts +0 -80
- package/packages/orq-rc/src/models/errors/honoapierror.ts +0 -90
- package/packages/orq-rc/src/models/errors/httpclienterrors.ts +0 -62
- package/packages/orq-rc/src/models/errors/index.ts +0 -29
- package/packages/orq-rc/src/models/errors/listagenttasks.ts +0 -80
- package/packages/orq-rc/src/models/errors/orqerror.ts +0 -35
- package/packages/orq-rc/src/models/errors/responsevalidationerror.ts +0 -50
- package/packages/orq-rc/src/models/errors/retrievecontact.ts +0 -91
- package/packages/orq-rc/src/models/errors/sdkvalidationerror.ts +0 -109
- package/packages/orq-rc/src/models/errors/streamagent.ts +0 -80
- package/packages/orq-rc/src/models/errors/streamrunagent.ts +0 -80
- package/packages/orq-rc/src/models/errors/updateagent.ts +0 -80
- package/packages/orq-rc/src/models/errors/updatecontact.ts +0 -83
- package/packages/orq-rc/src/models/errors/updateeval.ts +0 -80
- package/packages/orq-rc/src/models/errors/updateprompt.ts +0 -80
- package/packages/orq-rc/src/models/errors/updatetool.ts +0 -91
- package/packages/orq-rc/src/models/operations/cleardataset.ts +0 -78
- package/packages/orq-rc/src/models/operations/createagent.ts +0 -3104
- package/packages/orq-rc/src/models/operations/createbudget.ts +0 -745
- package/packages/orq-rc/src/models/operations/createchunk.ts +0 -428
- package/packages/orq-rc/src/models/operations/createcontact.ts +0 -267
- package/packages/orq-rc/src/models/operations/createdataset.ts +0 -302
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +0 -6943
- package/packages/orq-rc/src/models/operations/createdatasource.ts +0 -852
- package/packages/orq-rc/src/models/operations/createeval.ts +0 -9341
- package/packages/orq-rc/src/models/operations/createfeedback.ts +0 -286
- package/packages/orq-rc/src/models/operations/createknowledge.ts +0 -1850
- package/packages/orq-rc/src/models/operations/creatememory.ts +0 -274
- package/packages/orq-rc/src/models/operations/creatememorydocument.ts +0 -287
- package/packages/orq-rc/src/models/operations/creatememorystore.ts +0 -2032
- package/packages/orq-rc/src/models/operations/createprompt.ts +0 -7812
- package/packages/orq-rc/src/models/operations/createtool.ts +0 -4077
- package/packages/orq-rc/src/models/operations/deleteagent.ts +0 -78
- package/packages/orq-rc/src/models/operations/deletebudget.ts +0 -69
- package/packages/orq-rc/src/models/operations/deletechunk.ts +0 -96
- package/packages/orq-rc/src/models/operations/deletechunks.ts +0 -243
- package/packages/orq-rc/src/models/operations/deletecontact.ts +0 -69
- package/packages/orq-rc/src/models/operations/deletedatapoint.ts +0 -87
- package/packages/orq-rc/src/models/operations/deletedataset.ts +0 -78
- package/packages/orq-rc/src/models/operations/deletedatasource.ts +0 -87
- package/packages/orq-rc/src/models/operations/deleteeval.ts +0 -66
- package/packages/orq-rc/src/models/operations/deleteknowledge.ts +0 -78
- package/packages/orq-rc/src/models/operations/deletememory.ts +0 -87
- package/packages/orq-rc/src/models/operations/deletememorydocument.ts +0 -98
- package/packages/orq-rc/src/models/operations/deletememorystore.ts +0 -78
- package/packages/orq-rc/src/models/operations/deleteprompt.ts +0 -69
- package/packages/orq-rc/src/models/operations/deletetool.ts +0 -75
- package/packages/orq-rc/src/models/operations/deploymentcreatemetric.ts +0 -6547
- package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +0 -10532
- package/packages/orq-rc/src/models/operations/deploymentinvoke.ts +0 -1266
- package/packages/orq-rc/src/models/operations/deployments.ts +0 -2606
- package/packages/orq-rc/src/models/operations/deploymentstream.ts +0 -10655
- package/packages/orq-rc/src/models/operations/duplicatetool.ts +0 -2349
- package/packages/orq-rc/src/models/operations/filedelete.ts +0 -78
- package/packages/orq-rc/src/models/operations/fileget.ts +0 -223
- package/packages/orq-rc/src/models/operations/filelist.ts +0 -337
- package/packages/orq-rc/src/models/operations/fileupload.ts +0 -327
- package/packages/orq-rc/src/models/operations/getagent.ts +0 -957
- package/packages/orq-rc/src/models/operations/getagenttask.ts +0 -259
- package/packages/orq-rc/src/models/operations/getallmemories.ts +0 -318
- package/packages/orq-rc/src/models/operations/getallmemorydocuments.ts +0 -338
- package/packages/orq-rc/src/models/operations/getallmemorystores.ts +0 -1277
- package/packages/orq-rc/src/models/operations/getallprompts.ts +0 -2572
- package/packages/orq-rc/src/models/operations/getalltools.ts +0 -2308
- package/packages/orq-rc/src/models/operations/getbudget.ts +0 -441
- package/packages/orq-rc/src/models/operations/getchunkscount.ts +0 -230
- package/packages/orq-rc/src/models/operations/getevals.ts +0 -7486
- package/packages/orq-rc/src/models/operations/getonechunk.ts +0 -315
- package/packages/orq-rc/src/models/operations/getoneknowledge.ts +0 -1292
- package/packages/orq-rc/src/models/operations/getoneprompt.ts +0 -2437
- package/packages/orq-rc/src/models/operations/getpromptversion.ts +0 -2444
- package/packages/orq-rc/src/models/operations/index.ts +0 -102
- package/packages/orq-rc/src/models/operations/invokeagent.ts +0 -1569
- package/packages/orq-rc/src/models/operations/listactions.ts +0 -526
- package/packages/orq-rc/src/models/operations/listagents.ts +0 -1077
- package/packages/orq-rc/src/models/operations/listagenttasks.ts +0 -1106
- package/packages/orq-rc/src/models/operations/listbudgets.ts +0 -617
- package/packages/orq-rc/src/models/operations/listchunks.ts +0 -494
- package/packages/orq-rc/src/models/operations/listchunkspaginated.ts +0 -507
- package/packages/orq-rc/src/models/operations/listcontacts.ts +0 -500
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +0 -4086
- package/packages/orq-rc/src/models/operations/listdatasets.ts +0 -406
- package/packages/orq-rc/src/models/operations/listdatasources.ts +0 -454
- package/packages/orq-rc/src/models/operations/listknowledgebases.ts +0 -1303
- package/packages/orq-rc/src/models/operations/listmodels.ts +0 -273
- package/packages/orq-rc/src/models/operations/listpromptversions.ts +0 -2580
- package/packages/orq-rc/src/models/operations/parse.ts +0 -1295
- package/packages/orq-rc/src/models/operations/remoteconfigsgetconfig.ts +0 -190
- package/packages/orq-rc/src/models/operations/retrieveaction.ts +0 -426
- package/packages/orq-rc/src/models/operations/retrievecontact.ts +0 -210
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +0 -3853
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +0 -291
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +0 -273
- package/packages/orq-rc/src/models/operations/retrievememory.ts +0 -201
- package/packages/orq-rc/src/models/operations/retrievememorydocument.ts +0 -220
- package/packages/orq-rc/src/models/operations/retrievememorystore.ts +0 -1160
- package/packages/orq-rc/src/models/operations/retrievetool.ts +0 -2333
- package/packages/orq-rc/src/models/operations/runagent.ts +0 -4342
- package/packages/orq-rc/src/models/operations/searchknowledge.ts +0 -3573
- package/packages/orq-rc/src/models/operations/streamagent.ts +0 -1367
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +0 -4355
- package/packages/orq-rc/src/models/operations/updateagent.ts +0 -3321
- package/packages/orq-rc/src/models/operations/updatebudget.ts +0 -628
- package/packages/orq-rc/src/models/operations/updatechunk.ts +0 -448
- package/packages/orq-rc/src/models/operations/updatecontact.ts +0 -325
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +0 -6934
- package/packages/orq-rc/src/models/operations/updatedataset.ts +0 -386
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +0 -345
- package/packages/orq-rc/src/models/operations/updateeval.ts +0 -9704
- package/packages/orq-rc/src/models/operations/updateknowledge.ts +0 -2341
- package/packages/orq-rc/src/models/operations/updatememory.ts +0 -283
- package/packages/orq-rc/src/models/operations/updatememorydocument.ts +0 -296
- package/packages/orq-rc/src/models/operations/updatememorystore.ts +0 -1363
- package/packages/orq-rc/src/models/operations/updateprompt.ts +0 -8176
- package/packages/orq-rc/src/models/operations/updatetool.ts +0 -4288
- package/packages/orq-rc/src/sdk/agents.ts +0 -238
- package/packages/orq-rc/src/sdk/budgets.ts +0 -99
- package/packages/orq-rc/src/sdk/chunking.ts +0 -27
- package/packages/orq-rc/src/sdk/contacts.ts +0 -99
- package/packages/orq-rc/src/sdk/datasets.ts +0 -204
- package/packages/orq-rc/src/sdk/deployments.ts +0 -89
- package/packages/orq-rc/src/sdk/evals.ts +0 -69
- package/packages/orq-rc/src/sdk/feedback.ts +0 -27
- package/packages/orq-rc/src/sdk/files.ts +0 -78
- package/packages/orq-rc/src/sdk/index.ts +0 -5
- package/packages/orq-rc/src/sdk/knowledge.ts +0 -309
- package/packages/orq-rc/src/sdk/memorystores.ts +0 -286
- package/packages/orq-rc/src/sdk/metrics.ts +0 -27
- package/packages/orq-rc/src/sdk/models.ts +0 -25
- package/packages/orq-rc/src/sdk/prompts.ts +0 -126
- package/packages/orq-rc/src/sdk/remoteconfigs.ts +0 -24
- package/packages/orq-rc/src/sdk/sdk.ts +0 -97
- package/packages/orq-rc/src/sdk/tools.ts +0 -117
- package/packages/orq-rc/src/types/async.ts +0 -68
- package/packages/orq-rc/src/types/blobs.ts +0 -32
- package/packages/orq-rc/src/types/constdatetime.ts +0 -15
- package/packages/orq-rc/src/types/enums.ts +0 -16
- package/packages/orq-rc/src/types/fp.ts +0 -50
- package/packages/orq-rc/src/types/index.ts +0 -11
- package/packages/orq-rc/src/types/operations.ts +0 -105
- package/packages/orq-rc/src/types/rfcdate.ts +0 -54
- package/packages/orq-rc/src/types/streams.ts +0 -21
- package/packages/orq-rc/tsconfig.json +0 -41
|
@@ -1,1077 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod/v3";
|
|
6
|
-
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
-
import { ClosedEnum } from "../../types/enums.js";
|
|
9
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
-
|
|
12
|
-
export type ListAgentsRequest = {
|
|
13
|
-
/**
|
|
14
|
-
* A limit on the number of objects to be returned. Limit can range between 1 and 50, and the default is 10
|
|
15
|
-
*/
|
|
16
|
-
limit?: number | undefined;
|
|
17
|
-
/**
|
|
18
|
-
* A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, ending with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `after=01JJ1HDHN79XAS7A01WB3HYSDB` in order to fetch the next page of the list.
|
|
19
|
-
*/
|
|
20
|
-
startingAfter?: string | undefined;
|
|
21
|
-
/**
|
|
22
|
-
* A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, starting with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `before=01JJ1HDHN79XAS7A01WB3HYSDB` in order to fetch the previous page of the list.
|
|
23
|
-
*/
|
|
24
|
-
endingBefore?: string | undefined;
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
export const ListAgentsObject = {
|
|
28
|
-
List: "list",
|
|
29
|
-
} as const;
|
|
30
|
-
export type ListAgentsObject = ClosedEnum<typeof ListAgentsObject>;
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* The status of the agent. `Live` is the latest version of the agent. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
|
|
34
|
-
*/
|
|
35
|
-
export const ListAgentsStatus = {
|
|
36
|
-
Live: "live",
|
|
37
|
-
Draft: "draft",
|
|
38
|
-
Pending: "pending",
|
|
39
|
-
Published: "published",
|
|
40
|
-
} as const;
|
|
41
|
-
/**
|
|
42
|
-
* The status of the agent. `Live` is the latest version of the agent. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
|
|
43
|
-
*/
|
|
44
|
-
export type ListAgentsStatus = ClosedEnum<typeof ListAgentsStatus>;
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* If all, the agent will require approval for all tools. If respect_tool, the agent will require approval for tools that have the requires_approval flag set to true. If none, the agent will not require approval for any tools.
|
|
48
|
-
*/
|
|
49
|
-
export const ListAgentsToolApprovalRequired = {
|
|
50
|
-
All: "all",
|
|
51
|
-
RespectTool: "respect_tool",
|
|
52
|
-
None: "none",
|
|
53
|
-
} as const;
|
|
54
|
-
/**
|
|
55
|
-
* If all, the agent will require approval for all tools. If respect_tool, the agent will require approval for tools that have the requires_approval flag set to true. If none, the agent will not require approval for any tools.
|
|
56
|
-
*/
|
|
57
|
-
export type ListAgentsToolApprovalRequired = ClosedEnum<
|
|
58
|
-
typeof ListAgentsToolApprovalRequired
|
|
59
|
-
>;
|
|
60
|
-
|
|
61
|
-
export type ListAgentsConditions = {
|
|
62
|
-
/**
|
|
63
|
-
* The argument of the tool call to evaluate
|
|
64
|
-
*/
|
|
65
|
-
condition: string;
|
|
66
|
-
/**
|
|
67
|
-
* The operator to use
|
|
68
|
-
*/
|
|
69
|
-
operator: string;
|
|
70
|
-
/**
|
|
71
|
-
* The value to compare against
|
|
72
|
-
*/
|
|
73
|
-
value: string;
|
|
74
|
-
};
|
|
75
|
-
|
|
76
|
-
export type ListAgentsTools = {
|
|
77
|
-
/**
|
|
78
|
-
* The id of the resource
|
|
79
|
-
*/
|
|
80
|
-
id: string;
|
|
81
|
-
/**
|
|
82
|
-
* Optional tool key for custom tools
|
|
83
|
-
*/
|
|
84
|
-
key?: string | undefined;
|
|
85
|
-
actionType: string;
|
|
86
|
-
displayName?: string | undefined;
|
|
87
|
-
requiresApproval?: boolean | undefined;
|
|
88
|
-
conditions?: Array<ListAgentsConditions> | undefined;
|
|
89
|
-
/**
|
|
90
|
-
* Optional MCP server reference for tools from MCP servers
|
|
91
|
-
*/
|
|
92
|
-
mcpServer?: string | undefined;
|
|
93
|
-
/**
|
|
94
|
-
* Tool execution timeout in seconds (default: 2 minutes, max: 10 minutes)
|
|
95
|
-
*/
|
|
96
|
-
timeout?: number | undefined;
|
|
97
|
-
};
|
|
98
|
-
|
|
99
|
-
export type ListAgentsSettings = {
|
|
100
|
-
/**
|
|
101
|
-
* Maximum iterations(llm calls) before the agent will stop executing.
|
|
102
|
-
*/
|
|
103
|
-
maxIterations?: number | undefined;
|
|
104
|
-
/**
|
|
105
|
-
* Maximum time (in seconds) for the agent thinking process. This does not include the time for tool calls and sub agent calls. It will be loosely enforced, the in progress LLM calls will not be terminated and the last assistant message will be returned.
|
|
106
|
-
*/
|
|
107
|
-
maxExecutionTime?: number | undefined;
|
|
108
|
-
/**
|
|
109
|
-
* If all, the agent will require approval for all tools. If respect_tool, the agent will require approval for tools that have the requires_approval flag set to true. If none, the agent will not require approval for any tools.
|
|
110
|
-
*/
|
|
111
|
-
toolApprovalRequired?: ListAgentsToolApprovalRequired | undefined;
|
|
112
|
-
tools?: Array<ListAgentsTools> | undefined;
|
|
113
|
-
};
|
|
114
|
-
|
|
115
|
-
export type ListAgentsModel = {
|
|
116
|
-
/**
|
|
117
|
-
* The database ID of the primary model
|
|
118
|
-
*/
|
|
119
|
-
id: string;
|
|
120
|
-
/**
|
|
121
|
-
* Optional integration ID for custom model configurations
|
|
122
|
-
*/
|
|
123
|
-
integrationId?: string | null | undefined;
|
|
124
|
-
/**
|
|
125
|
-
* Optional array of fallback model IDs that will be used automatically in order if the primary model fails
|
|
126
|
-
*/
|
|
127
|
-
fallbackModels?: Array<string> | null | undefined;
|
|
128
|
-
/**
|
|
129
|
-
* Maximum number of tokens for model responses
|
|
130
|
-
*/
|
|
131
|
-
maxTokens?: number | undefined;
|
|
132
|
-
/**
|
|
133
|
-
* Temperature setting for model responses
|
|
134
|
-
*/
|
|
135
|
-
temperature?: number | undefined;
|
|
136
|
-
};
|
|
137
|
-
|
|
138
|
-
export type ListAgentsTeamOfAgents = {
|
|
139
|
-
/**
|
|
140
|
-
* The unique key of the agent within the workspace
|
|
141
|
-
*/
|
|
142
|
-
key: string;
|
|
143
|
-
/**
|
|
144
|
-
* The role of the agent in this context. This is used to give extra information to the leader to help it decide which agent to hand off to.
|
|
145
|
-
*/
|
|
146
|
-
role?: string | undefined;
|
|
147
|
-
};
|
|
148
|
-
|
|
149
|
-
export type ListAgentsMetrics = {
|
|
150
|
-
totalCost?: number | undefined;
|
|
151
|
-
};
|
|
152
|
-
|
|
153
|
-
export type ListAgentsKnowledgeBases = {
|
|
154
|
-
/**
|
|
155
|
-
* Unique identifier of the knowledge base to search
|
|
156
|
-
*/
|
|
157
|
-
knowledgeId: string;
|
|
158
|
-
};
|
|
159
|
-
|
|
160
|
-
export const ListAgentsHiddenPanels = {
|
|
161
|
-
Model: "model",
|
|
162
|
-
Tools: "tools",
|
|
163
|
-
KnowledgeBases: "knowledge_bases",
|
|
164
|
-
Variables: "variables",
|
|
165
|
-
RuntimeConstraints: "runtime_constraints",
|
|
166
|
-
} as const;
|
|
167
|
-
export type ListAgentsHiddenPanels = ClosedEnum<typeof ListAgentsHiddenPanels>;
|
|
168
|
-
|
|
169
|
-
export type ListAgentsData = {
|
|
170
|
-
id: string;
|
|
171
|
-
key: string;
|
|
172
|
-
workspaceId: string;
|
|
173
|
-
projectId: string;
|
|
174
|
-
createdById?: string | null | undefined;
|
|
175
|
-
updatedById?: string | null | undefined;
|
|
176
|
-
created?: string | undefined;
|
|
177
|
-
updated?: string | undefined;
|
|
178
|
-
role: string;
|
|
179
|
-
description: string;
|
|
180
|
-
systemPrompt?: string | undefined;
|
|
181
|
-
instructions: string;
|
|
182
|
-
/**
|
|
183
|
-
* The status of the agent. `Live` is the latest version of the agent. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
|
|
184
|
-
*/
|
|
185
|
-
status: ListAgentsStatus;
|
|
186
|
-
settings?: ListAgentsSettings | undefined;
|
|
187
|
-
model: ListAgentsModel;
|
|
188
|
-
versionHash?: string | undefined;
|
|
189
|
-
/**
|
|
190
|
-
* Entity storage path in the format: `project/folder/subfolder/...`
|
|
191
|
-
*
|
|
192
|
-
* @remarks
|
|
193
|
-
*
|
|
194
|
-
* The first element identifies the project, followed by nested folders (auto-created as needed).
|
|
195
|
-
*
|
|
196
|
-
* With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
|
|
197
|
-
*/
|
|
198
|
-
path: string;
|
|
199
|
-
memoryStores: Array<string>;
|
|
200
|
-
/**
|
|
201
|
-
* The agents that are accessible to this orchestrator. The main agent can hand off to these agents to perform tasks.
|
|
202
|
-
*/
|
|
203
|
-
teamOfAgents: Array<ListAgentsTeamOfAgents>;
|
|
204
|
-
metrics?: ListAgentsMetrics | undefined;
|
|
205
|
-
/**
|
|
206
|
-
* Extracted variables from agent instructions
|
|
207
|
-
*/
|
|
208
|
-
variables?: { [k: string]: any } | undefined;
|
|
209
|
-
/**
|
|
210
|
-
* Agent knowledge bases reference
|
|
211
|
-
*/
|
|
212
|
-
knowledgeBases?: Array<ListAgentsKnowledgeBases> | undefined;
|
|
213
|
-
/**
|
|
214
|
-
* List of hidden collapsed panels in configuration. Duplicates are not allowed.
|
|
215
|
-
*/
|
|
216
|
-
hiddenPanels?: Array<ListAgentsHiddenPanels> | undefined;
|
|
217
|
-
};
|
|
218
|
-
|
|
219
|
-
/**
|
|
220
|
-
* List of agents with their configurations including fallback models
|
|
221
|
-
*/
|
|
222
|
-
export type ListAgentsResponseBody = {
|
|
223
|
-
object: ListAgentsObject;
|
|
224
|
-
data: Array<ListAgentsData>;
|
|
225
|
-
hasMore: boolean;
|
|
226
|
-
};
|
|
227
|
-
|
|
228
|
-
/** @internal */
|
|
229
|
-
export const ListAgentsRequest$inboundSchema: z.ZodType<
|
|
230
|
-
ListAgentsRequest,
|
|
231
|
-
z.ZodTypeDef,
|
|
232
|
-
unknown
|
|
233
|
-
> = z.object({
|
|
234
|
-
limit: z.number().default(10),
|
|
235
|
-
starting_after: z.string().optional(),
|
|
236
|
-
ending_before: z.string().optional(),
|
|
237
|
-
}).transform((v) => {
|
|
238
|
-
return remap$(v, {
|
|
239
|
-
"starting_after": "startingAfter",
|
|
240
|
-
"ending_before": "endingBefore",
|
|
241
|
-
});
|
|
242
|
-
});
|
|
243
|
-
|
|
244
|
-
/** @internal */
|
|
245
|
-
export type ListAgentsRequest$Outbound = {
|
|
246
|
-
limit: number;
|
|
247
|
-
starting_after?: string | undefined;
|
|
248
|
-
ending_before?: string | undefined;
|
|
249
|
-
};
|
|
250
|
-
|
|
251
|
-
/** @internal */
|
|
252
|
-
export const ListAgentsRequest$outboundSchema: z.ZodType<
|
|
253
|
-
ListAgentsRequest$Outbound,
|
|
254
|
-
z.ZodTypeDef,
|
|
255
|
-
ListAgentsRequest
|
|
256
|
-
> = z.object({
|
|
257
|
-
limit: z.number().default(10),
|
|
258
|
-
startingAfter: z.string().optional(),
|
|
259
|
-
endingBefore: z.string().optional(),
|
|
260
|
-
}).transform((v) => {
|
|
261
|
-
return remap$(v, {
|
|
262
|
-
startingAfter: "starting_after",
|
|
263
|
-
endingBefore: "ending_before",
|
|
264
|
-
});
|
|
265
|
-
});
|
|
266
|
-
|
|
267
|
-
/**
|
|
268
|
-
* @internal
|
|
269
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
270
|
-
*/
|
|
271
|
-
export namespace ListAgentsRequest$ {
|
|
272
|
-
/** @deprecated use `ListAgentsRequest$inboundSchema` instead. */
|
|
273
|
-
export const inboundSchema = ListAgentsRequest$inboundSchema;
|
|
274
|
-
/** @deprecated use `ListAgentsRequest$outboundSchema` instead. */
|
|
275
|
-
export const outboundSchema = ListAgentsRequest$outboundSchema;
|
|
276
|
-
/** @deprecated use `ListAgentsRequest$Outbound` instead. */
|
|
277
|
-
export type Outbound = ListAgentsRequest$Outbound;
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
export function listAgentsRequestToJSON(
|
|
281
|
-
listAgentsRequest: ListAgentsRequest,
|
|
282
|
-
): string {
|
|
283
|
-
return JSON.stringify(
|
|
284
|
-
ListAgentsRequest$outboundSchema.parse(listAgentsRequest),
|
|
285
|
-
);
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
export function listAgentsRequestFromJSON(
|
|
289
|
-
jsonString: string,
|
|
290
|
-
): SafeParseResult<ListAgentsRequest, SDKValidationError> {
|
|
291
|
-
return safeParse(
|
|
292
|
-
jsonString,
|
|
293
|
-
(x) => ListAgentsRequest$inboundSchema.parse(JSON.parse(x)),
|
|
294
|
-
`Failed to parse 'ListAgentsRequest' from JSON`,
|
|
295
|
-
);
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
/** @internal */
|
|
299
|
-
export const ListAgentsObject$inboundSchema: z.ZodNativeEnum<
|
|
300
|
-
typeof ListAgentsObject
|
|
301
|
-
> = z.nativeEnum(ListAgentsObject);
|
|
302
|
-
|
|
303
|
-
/** @internal */
|
|
304
|
-
export const ListAgentsObject$outboundSchema: z.ZodNativeEnum<
|
|
305
|
-
typeof ListAgentsObject
|
|
306
|
-
> = ListAgentsObject$inboundSchema;
|
|
307
|
-
|
|
308
|
-
/**
|
|
309
|
-
* @internal
|
|
310
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
311
|
-
*/
|
|
312
|
-
export namespace ListAgentsObject$ {
|
|
313
|
-
/** @deprecated use `ListAgentsObject$inboundSchema` instead. */
|
|
314
|
-
export const inboundSchema = ListAgentsObject$inboundSchema;
|
|
315
|
-
/** @deprecated use `ListAgentsObject$outboundSchema` instead. */
|
|
316
|
-
export const outboundSchema = ListAgentsObject$outboundSchema;
|
|
317
|
-
}
|
|
318
|
-
|
|
319
|
-
/** @internal */
|
|
320
|
-
export const ListAgentsStatus$inboundSchema: z.ZodNativeEnum<
|
|
321
|
-
typeof ListAgentsStatus
|
|
322
|
-
> = z.nativeEnum(ListAgentsStatus);
|
|
323
|
-
|
|
324
|
-
/** @internal */
|
|
325
|
-
export const ListAgentsStatus$outboundSchema: z.ZodNativeEnum<
|
|
326
|
-
typeof ListAgentsStatus
|
|
327
|
-
> = ListAgentsStatus$inboundSchema;
|
|
328
|
-
|
|
329
|
-
/**
|
|
330
|
-
* @internal
|
|
331
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
332
|
-
*/
|
|
333
|
-
export namespace ListAgentsStatus$ {
|
|
334
|
-
/** @deprecated use `ListAgentsStatus$inboundSchema` instead. */
|
|
335
|
-
export const inboundSchema = ListAgentsStatus$inboundSchema;
|
|
336
|
-
/** @deprecated use `ListAgentsStatus$outboundSchema` instead. */
|
|
337
|
-
export const outboundSchema = ListAgentsStatus$outboundSchema;
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
/** @internal */
|
|
341
|
-
export const ListAgentsToolApprovalRequired$inboundSchema: z.ZodNativeEnum<
|
|
342
|
-
typeof ListAgentsToolApprovalRequired
|
|
343
|
-
> = z.nativeEnum(ListAgentsToolApprovalRequired);
|
|
344
|
-
|
|
345
|
-
/** @internal */
|
|
346
|
-
export const ListAgentsToolApprovalRequired$outboundSchema: z.ZodNativeEnum<
|
|
347
|
-
typeof ListAgentsToolApprovalRequired
|
|
348
|
-
> = ListAgentsToolApprovalRequired$inboundSchema;
|
|
349
|
-
|
|
350
|
-
/**
|
|
351
|
-
* @internal
|
|
352
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
353
|
-
*/
|
|
354
|
-
export namespace ListAgentsToolApprovalRequired$ {
|
|
355
|
-
/** @deprecated use `ListAgentsToolApprovalRequired$inboundSchema` instead. */
|
|
356
|
-
export const inboundSchema = ListAgentsToolApprovalRequired$inboundSchema;
|
|
357
|
-
/** @deprecated use `ListAgentsToolApprovalRequired$outboundSchema` instead. */
|
|
358
|
-
export const outboundSchema = ListAgentsToolApprovalRequired$outboundSchema;
|
|
359
|
-
}
|
|
360
|
-
|
|
361
|
-
/** @internal */
|
|
362
|
-
export const ListAgentsConditions$inboundSchema: z.ZodType<
|
|
363
|
-
ListAgentsConditions,
|
|
364
|
-
z.ZodTypeDef,
|
|
365
|
-
unknown
|
|
366
|
-
> = z.object({
|
|
367
|
-
condition: z.string(),
|
|
368
|
-
operator: z.string(),
|
|
369
|
-
value: z.string(),
|
|
370
|
-
});
|
|
371
|
-
|
|
372
|
-
/** @internal */
|
|
373
|
-
export type ListAgentsConditions$Outbound = {
|
|
374
|
-
condition: string;
|
|
375
|
-
operator: string;
|
|
376
|
-
value: string;
|
|
377
|
-
};
|
|
378
|
-
|
|
379
|
-
/** @internal */
|
|
380
|
-
export const ListAgentsConditions$outboundSchema: z.ZodType<
|
|
381
|
-
ListAgentsConditions$Outbound,
|
|
382
|
-
z.ZodTypeDef,
|
|
383
|
-
ListAgentsConditions
|
|
384
|
-
> = z.object({
|
|
385
|
-
condition: z.string(),
|
|
386
|
-
operator: z.string(),
|
|
387
|
-
value: z.string(),
|
|
388
|
-
});
|
|
389
|
-
|
|
390
|
-
/**
|
|
391
|
-
* @internal
|
|
392
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
393
|
-
*/
|
|
394
|
-
export namespace ListAgentsConditions$ {
|
|
395
|
-
/** @deprecated use `ListAgentsConditions$inboundSchema` instead. */
|
|
396
|
-
export const inboundSchema = ListAgentsConditions$inboundSchema;
|
|
397
|
-
/** @deprecated use `ListAgentsConditions$outboundSchema` instead. */
|
|
398
|
-
export const outboundSchema = ListAgentsConditions$outboundSchema;
|
|
399
|
-
/** @deprecated use `ListAgentsConditions$Outbound` instead. */
|
|
400
|
-
export type Outbound = ListAgentsConditions$Outbound;
|
|
401
|
-
}
|
|
402
|
-
|
|
403
|
-
export function listAgentsConditionsToJSON(
|
|
404
|
-
listAgentsConditions: ListAgentsConditions,
|
|
405
|
-
): string {
|
|
406
|
-
return JSON.stringify(
|
|
407
|
-
ListAgentsConditions$outboundSchema.parse(listAgentsConditions),
|
|
408
|
-
);
|
|
409
|
-
}
|
|
410
|
-
|
|
411
|
-
export function listAgentsConditionsFromJSON(
|
|
412
|
-
jsonString: string,
|
|
413
|
-
): SafeParseResult<ListAgentsConditions, SDKValidationError> {
|
|
414
|
-
return safeParse(
|
|
415
|
-
jsonString,
|
|
416
|
-
(x) => ListAgentsConditions$inboundSchema.parse(JSON.parse(x)),
|
|
417
|
-
`Failed to parse 'ListAgentsConditions' from JSON`,
|
|
418
|
-
);
|
|
419
|
-
}
|
|
420
|
-
|
|
421
|
-
/** @internal */
|
|
422
|
-
export const ListAgentsTools$inboundSchema: z.ZodType<
|
|
423
|
-
ListAgentsTools,
|
|
424
|
-
z.ZodTypeDef,
|
|
425
|
-
unknown
|
|
426
|
-
> = z.object({
|
|
427
|
-
id: z.string(),
|
|
428
|
-
key: z.string().optional(),
|
|
429
|
-
action_type: z.string(),
|
|
430
|
-
display_name: z.string().optional(),
|
|
431
|
-
requires_approval: z.boolean().default(false),
|
|
432
|
-
conditions: z.array(z.lazy(() => ListAgentsConditions$inboundSchema))
|
|
433
|
-
.optional(),
|
|
434
|
-
mcpServer: z.string().optional(),
|
|
435
|
-
timeout: z.number().default(120),
|
|
436
|
-
}).transform((v) => {
|
|
437
|
-
return remap$(v, {
|
|
438
|
-
"action_type": "actionType",
|
|
439
|
-
"display_name": "displayName",
|
|
440
|
-
"requires_approval": "requiresApproval",
|
|
441
|
-
});
|
|
442
|
-
});
|
|
443
|
-
|
|
444
|
-
/** @internal */
|
|
445
|
-
export type ListAgentsTools$Outbound = {
|
|
446
|
-
id: string;
|
|
447
|
-
key?: string | undefined;
|
|
448
|
-
action_type: string;
|
|
449
|
-
display_name?: string | undefined;
|
|
450
|
-
requires_approval: boolean;
|
|
451
|
-
conditions?: Array<ListAgentsConditions$Outbound> | undefined;
|
|
452
|
-
mcpServer?: string | undefined;
|
|
453
|
-
timeout: number;
|
|
454
|
-
};
|
|
455
|
-
|
|
456
|
-
/** @internal */
|
|
457
|
-
export const ListAgentsTools$outboundSchema: z.ZodType<
|
|
458
|
-
ListAgentsTools$Outbound,
|
|
459
|
-
z.ZodTypeDef,
|
|
460
|
-
ListAgentsTools
|
|
461
|
-
> = z.object({
|
|
462
|
-
id: z.string(),
|
|
463
|
-
key: z.string().optional(),
|
|
464
|
-
actionType: z.string(),
|
|
465
|
-
displayName: z.string().optional(),
|
|
466
|
-
requiresApproval: z.boolean().default(false),
|
|
467
|
-
conditions: z.array(z.lazy(() => ListAgentsConditions$outboundSchema))
|
|
468
|
-
.optional(),
|
|
469
|
-
mcpServer: z.string().optional(),
|
|
470
|
-
timeout: z.number().default(120),
|
|
471
|
-
}).transform((v) => {
|
|
472
|
-
return remap$(v, {
|
|
473
|
-
actionType: "action_type",
|
|
474
|
-
displayName: "display_name",
|
|
475
|
-
requiresApproval: "requires_approval",
|
|
476
|
-
});
|
|
477
|
-
});
|
|
478
|
-
|
|
479
|
-
/**
|
|
480
|
-
* @internal
|
|
481
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
482
|
-
*/
|
|
483
|
-
export namespace ListAgentsTools$ {
|
|
484
|
-
/** @deprecated use `ListAgentsTools$inboundSchema` instead. */
|
|
485
|
-
export const inboundSchema = ListAgentsTools$inboundSchema;
|
|
486
|
-
/** @deprecated use `ListAgentsTools$outboundSchema` instead. */
|
|
487
|
-
export const outboundSchema = ListAgentsTools$outboundSchema;
|
|
488
|
-
/** @deprecated use `ListAgentsTools$Outbound` instead. */
|
|
489
|
-
export type Outbound = ListAgentsTools$Outbound;
|
|
490
|
-
}
|
|
491
|
-
|
|
492
|
-
export function listAgentsToolsToJSON(
|
|
493
|
-
listAgentsTools: ListAgentsTools,
|
|
494
|
-
): string {
|
|
495
|
-
return JSON.stringify(ListAgentsTools$outboundSchema.parse(listAgentsTools));
|
|
496
|
-
}
|
|
497
|
-
|
|
498
|
-
export function listAgentsToolsFromJSON(
|
|
499
|
-
jsonString: string,
|
|
500
|
-
): SafeParseResult<ListAgentsTools, SDKValidationError> {
|
|
501
|
-
return safeParse(
|
|
502
|
-
jsonString,
|
|
503
|
-
(x) => ListAgentsTools$inboundSchema.parse(JSON.parse(x)),
|
|
504
|
-
`Failed to parse 'ListAgentsTools' from JSON`,
|
|
505
|
-
);
|
|
506
|
-
}
|
|
507
|
-
|
|
508
|
-
/** @internal */
|
|
509
|
-
export const ListAgentsSettings$inboundSchema: z.ZodType<
|
|
510
|
-
ListAgentsSettings,
|
|
511
|
-
z.ZodTypeDef,
|
|
512
|
-
unknown
|
|
513
|
-
> = z.object({
|
|
514
|
-
max_iterations: z.number().int().default(15),
|
|
515
|
-
max_execution_time: z.number().int().default(300),
|
|
516
|
-
tool_approval_required: ListAgentsToolApprovalRequired$inboundSchema.default(
|
|
517
|
-
"respect_tool",
|
|
518
|
-
),
|
|
519
|
-
tools: z.array(z.lazy(() => ListAgentsTools$inboundSchema)).optional(),
|
|
520
|
-
}).transform((v) => {
|
|
521
|
-
return remap$(v, {
|
|
522
|
-
"max_iterations": "maxIterations",
|
|
523
|
-
"max_execution_time": "maxExecutionTime",
|
|
524
|
-
"tool_approval_required": "toolApprovalRequired",
|
|
525
|
-
});
|
|
526
|
-
});
|
|
527
|
-
|
|
528
|
-
/** @internal */
|
|
529
|
-
export type ListAgentsSettings$Outbound = {
|
|
530
|
-
max_iterations: number;
|
|
531
|
-
max_execution_time: number;
|
|
532
|
-
tool_approval_required: string;
|
|
533
|
-
tools?: Array<ListAgentsTools$Outbound> | undefined;
|
|
534
|
-
};
|
|
535
|
-
|
|
536
|
-
/** @internal */
|
|
537
|
-
export const ListAgentsSettings$outboundSchema: z.ZodType<
|
|
538
|
-
ListAgentsSettings$Outbound,
|
|
539
|
-
z.ZodTypeDef,
|
|
540
|
-
ListAgentsSettings
|
|
541
|
-
> = z.object({
|
|
542
|
-
maxIterations: z.number().int().default(15),
|
|
543
|
-
maxExecutionTime: z.number().int().default(300),
|
|
544
|
-
toolApprovalRequired: ListAgentsToolApprovalRequired$outboundSchema.default(
|
|
545
|
-
"respect_tool",
|
|
546
|
-
),
|
|
547
|
-
tools: z.array(z.lazy(() => ListAgentsTools$outboundSchema)).optional(),
|
|
548
|
-
}).transform((v) => {
|
|
549
|
-
return remap$(v, {
|
|
550
|
-
maxIterations: "max_iterations",
|
|
551
|
-
maxExecutionTime: "max_execution_time",
|
|
552
|
-
toolApprovalRequired: "tool_approval_required",
|
|
553
|
-
});
|
|
554
|
-
});
|
|
555
|
-
|
|
556
|
-
/**
|
|
557
|
-
* @internal
|
|
558
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
559
|
-
*/
|
|
560
|
-
export namespace ListAgentsSettings$ {
|
|
561
|
-
/** @deprecated use `ListAgentsSettings$inboundSchema` instead. */
|
|
562
|
-
export const inboundSchema = ListAgentsSettings$inboundSchema;
|
|
563
|
-
/** @deprecated use `ListAgentsSettings$outboundSchema` instead. */
|
|
564
|
-
export const outboundSchema = ListAgentsSettings$outboundSchema;
|
|
565
|
-
/** @deprecated use `ListAgentsSettings$Outbound` instead. */
|
|
566
|
-
export type Outbound = ListAgentsSettings$Outbound;
|
|
567
|
-
}
|
|
568
|
-
|
|
569
|
-
export function listAgentsSettingsToJSON(
|
|
570
|
-
listAgentsSettings: ListAgentsSettings,
|
|
571
|
-
): string {
|
|
572
|
-
return JSON.stringify(
|
|
573
|
-
ListAgentsSettings$outboundSchema.parse(listAgentsSettings),
|
|
574
|
-
);
|
|
575
|
-
}
|
|
576
|
-
|
|
577
|
-
export function listAgentsSettingsFromJSON(
|
|
578
|
-
jsonString: string,
|
|
579
|
-
): SafeParseResult<ListAgentsSettings, SDKValidationError> {
|
|
580
|
-
return safeParse(
|
|
581
|
-
jsonString,
|
|
582
|
-
(x) => ListAgentsSettings$inboundSchema.parse(JSON.parse(x)),
|
|
583
|
-
`Failed to parse 'ListAgentsSettings' from JSON`,
|
|
584
|
-
);
|
|
585
|
-
}
|
|
586
|
-
|
|
587
|
-
/** @internal */
|
|
588
|
-
export const ListAgentsModel$inboundSchema: z.ZodType<
|
|
589
|
-
ListAgentsModel,
|
|
590
|
-
z.ZodTypeDef,
|
|
591
|
-
unknown
|
|
592
|
-
> = z.object({
|
|
593
|
-
id: z.string(),
|
|
594
|
-
integration_id: z.nullable(z.string()).optional(),
|
|
595
|
-
fallback_models: z.nullable(z.array(z.string())).optional(),
|
|
596
|
-
max_tokens: z.number().int().optional(),
|
|
597
|
-
temperature: z.number().optional(),
|
|
598
|
-
}).transform((v) => {
|
|
599
|
-
return remap$(v, {
|
|
600
|
-
"integration_id": "integrationId",
|
|
601
|
-
"fallback_models": "fallbackModels",
|
|
602
|
-
"max_tokens": "maxTokens",
|
|
603
|
-
});
|
|
604
|
-
});
|
|
605
|
-
|
|
606
|
-
/** @internal */
|
|
607
|
-
export type ListAgentsModel$Outbound = {
|
|
608
|
-
id: string;
|
|
609
|
-
integration_id?: string | null | undefined;
|
|
610
|
-
fallback_models?: Array<string> | null | undefined;
|
|
611
|
-
max_tokens?: number | undefined;
|
|
612
|
-
temperature?: number | undefined;
|
|
613
|
-
};
|
|
614
|
-
|
|
615
|
-
/** @internal */
|
|
616
|
-
export const ListAgentsModel$outboundSchema: z.ZodType<
|
|
617
|
-
ListAgentsModel$Outbound,
|
|
618
|
-
z.ZodTypeDef,
|
|
619
|
-
ListAgentsModel
|
|
620
|
-
> = z.object({
|
|
621
|
-
id: z.string(),
|
|
622
|
-
integrationId: z.nullable(z.string()).optional(),
|
|
623
|
-
fallbackModels: z.nullable(z.array(z.string())).optional(),
|
|
624
|
-
maxTokens: z.number().int().optional(),
|
|
625
|
-
temperature: z.number().optional(),
|
|
626
|
-
}).transform((v) => {
|
|
627
|
-
return remap$(v, {
|
|
628
|
-
integrationId: "integration_id",
|
|
629
|
-
fallbackModels: "fallback_models",
|
|
630
|
-
maxTokens: "max_tokens",
|
|
631
|
-
});
|
|
632
|
-
});
|
|
633
|
-
|
|
634
|
-
/**
|
|
635
|
-
* @internal
|
|
636
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
637
|
-
*/
|
|
638
|
-
export namespace ListAgentsModel$ {
|
|
639
|
-
/** @deprecated use `ListAgentsModel$inboundSchema` instead. */
|
|
640
|
-
export const inboundSchema = ListAgentsModel$inboundSchema;
|
|
641
|
-
/** @deprecated use `ListAgentsModel$outboundSchema` instead. */
|
|
642
|
-
export const outboundSchema = ListAgentsModel$outboundSchema;
|
|
643
|
-
/** @deprecated use `ListAgentsModel$Outbound` instead. */
|
|
644
|
-
export type Outbound = ListAgentsModel$Outbound;
|
|
645
|
-
}
|
|
646
|
-
|
|
647
|
-
export function listAgentsModelToJSON(
|
|
648
|
-
listAgentsModel: ListAgentsModel,
|
|
649
|
-
): string {
|
|
650
|
-
return JSON.stringify(ListAgentsModel$outboundSchema.parse(listAgentsModel));
|
|
651
|
-
}
|
|
652
|
-
|
|
653
|
-
export function listAgentsModelFromJSON(
|
|
654
|
-
jsonString: string,
|
|
655
|
-
): SafeParseResult<ListAgentsModel, SDKValidationError> {
|
|
656
|
-
return safeParse(
|
|
657
|
-
jsonString,
|
|
658
|
-
(x) => ListAgentsModel$inboundSchema.parse(JSON.parse(x)),
|
|
659
|
-
`Failed to parse 'ListAgentsModel' from JSON`,
|
|
660
|
-
);
|
|
661
|
-
}
|
|
662
|
-
|
|
663
|
-
/** @internal */
|
|
664
|
-
export const ListAgentsTeamOfAgents$inboundSchema: z.ZodType<
|
|
665
|
-
ListAgentsTeamOfAgents,
|
|
666
|
-
z.ZodTypeDef,
|
|
667
|
-
unknown
|
|
668
|
-
> = z.object({
|
|
669
|
-
key: z.string(),
|
|
670
|
-
role: z.string().optional(),
|
|
671
|
-
});
|
|
672
|
-
|
|
673
|
-
/** @internal */
|
|
674
|
-
export type ListAgentsTeamOfAgents$Outbound = {
|
|
675
|
-
key: string;
|
|
676
|
-
role?: string | undefined;
|
|
677
|
-
};
|
|
678
|
-
|
|
679
|
-
/** @internal */
|
|
680
|
-
export const ListAgentsTeamOfAgents$outboundSchema: z.ZodType<
|
|
681
|
-
ListAgentsTeamOfAgents$Outbound,
|
|
682
|
-
z.ZodTypeDef,
|
|
683
|
-
ListAgentsTeamOfAgents
|
|
684
|
-
> = z.object({
|
|
685
|
-
key: z.string(),
|
|
686
|
-
role: z.string().optional(),
|
|
687
|
-
});
|
|
688
|
-
|
|
689
|
-
/**
|
|
690
|
-
* @internal
|
|
691
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
692
|
-
*/
|
|
693
|
-
export namespace ListAgentsTeamOfAgents$ {
|
|
694
|
-
/** @deprecated use `ListAgentsTeamOfAgents$inboundSchema` instead. */
|
|
695
|
-
export const inboundSchema = ListAgentsTeamOfAgents$inboundSchema;
|
|
696
|
-
/** @deprecated use `ListAgentsTeamOfAgents$outboundSchema` instead. */
|
|
697
|
-
export const outboundSchema = ListAgentsTeamOfAgents$outboundSchema;
|
|
698
|
-
/** @deprecated use `ListAgentsTeamOfAgents$Outbound` instead. */
|
|
699
|
-
export type Outbound = ListAgentsTeamOfAgents$Outbound;
|
|
700
|
-
}
|
|
701
|
-
|
|
702
|
-
export function listAgentsTeamOfAgentsToJSON(
|
|
703
|
-
listAgentsTeamOfAgents: ListAgentsTeamOfAgents,
|
|
704
|
-
): string {
|
|
705
|
-
return JSON.stringify(
|
|
706
|
-
ListAgentsTeamOfAgents$outboundSchema.parse(listAgentsTeamOfAgents),
|
|
707
|
-
);
|
|
708
|
-
}
|
|
709
|
-
|
|
710
|
-
export function listAgentsTeamOfAgentsFromJSON(
|
|
711
|
-
jsonString: string,
|
|
712
|
-
): SafeParseResult<ListAgentsTeamOfAgents, SDKValidationError> {
|
|
713
|
-
return safeParse(
|
|
714
|
-
jsonString,
|
|
715
|
-
(x) => ListAgentsTeamOfAgents$inboundSchema.parse(JSON.parse(x)),
|
|
716
|
-
`Failed to parse 'ListAgentsTeamOfAgents' from JSON`,
|
|
717
|
-
);
|
|
718
|
-
}
|
|
719
|
-
|
|
720
|
-
/** @internal */
|
|
721
|
-
export const ListAgentsMetrics$inboundSchema: z.ZodType<
|
|
722
|
-
ListAgentsMetrics,
|
|
723
|
-
z.ZodTypeDef,
|
|
724
|
-
unknown
|
|
725
|
-
> = z.object({
|
|
726
|
-
total_cost: z.number().default(0),
|
|
727
|
-
}).transform((v) => {
|
|
728
|
-
return remap$(v, {
|
|
729
|
-
"total_cost": "totalCost",
|
|
730
|
-
});
|
|
731
|
-
});
|
|
732
|
-
|
|
733
|
-
/** @internal */
|
|
734
|
-
export type ListAgentsMetrics$Outbound = {
|
|
735
|
-
total_cost: number;
|
|
736
|
-
};
|
|
737
|
-
|
|
738
|
-
/** @internal */
|
|
739
|
-
export const ListAgentsMetrics$outboundSchema: z.ZodType<
|
|
740
|
-
ListAgentsMetrics$Outbound,
|
|
741
|
-
z.ZodTypeDef,
|
|
742
|
-
ListAgentsMetrics
|
|
743
|
-
> = z.object({
|
|
744
|
-
totalCost: z.number().default(0),
|
|
745
|
-
}).transform((v) => {
|
|
746
|
-
return remap$(v, {
|
|
747
|
-
totalCost: "total_cost",
|
|
748
|
-
});
|
|
749
|
-
});
|
|
750
|
-
|
|
751
|
-
/**
|
|
752
|
-
* @internal
|
|
753
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
754
|
-
*/
|
|
755
|
-
export namespace ListAgentsMetrics$ {
|
|
756
|
-
/** @deprecated use `ListAgentsMetrics$inboundSchema` instead. */
|
|
757
|
-
export const inboundSchema = ListAgentsMetrics$inboundSchema;
|
|
758
|
-
/** @deprecated use `ListAgentsMetrics$outboundSchema` instead. */
|
|
759
|
-
export const outboundSchema = ListAgentsMetrics$outboundSchema;
|
|
760
|
-
/** @deprecated use `ListAgentsMetrics$Outbound` instead. */
|
|
761
|
-
export type Outbound = ListAgentsMetrics$Outbound;
|
|
762
|
-
}
|
|
763
|
-
|
|
764
|
-
export function listAgentsMetricsToJSON(
|
|
765
|
-
listAgentsMetrics: ListAgentsMetrics,
|
|
766
|
-
): string {
|
|
767
|
-
return JSON.stringify(
|
|
768
|
-
ListAgentsMetrics$outboundSchema.parse(listAgentsMetrics),
|
|
769
|
-
);
|
|
770
|
-
}
|
|
771
|
-
|
|
772
|
-
export function listAgentsMetricsFromJSON(
|
|
773
|
-
jsonString: string,
|
|
774
|
-
): SafeParseResult<ListAgentsMetrics, SDKValidationError> {
|
|
775
|
-
return safeParse(
|
|
776
|
-
jsonString,
|
|
777
|
-
(x) => ListAgentsMetrics$inboundSchema.parse(JSON.parse(x)),
|
|
778
|
-
`Failed to parse 'ListAgentsMetrics' from JSON`,
|
|
779
|
-
);
|
|
780
|
-
}
|
|
781
|
-
|
|
782
|
-
/** @internal */
|
|
783
|
-
export const ListAgentsKnowledgeBases$inboundSchema: z.ZodType<
|
|
784
|
-
ListAgentsKnowledgeBases,
|
|
785
|
-
z.ZodTypeDef,
|
|
786
|
-
unknown
|
|
787
|
-
> = z.object({
|
|
788
|
-
knowledge_id: z.string(),
|
|
789
|
-
}).transform((v) => {
|
|
790
|
-
return remap$(v, {
|
|
791
|
-
"knowledge_id": "knowledgeId",
|
|
792
|
-
});
|
|
793
|
-
});
|
|
794
|
-
|
|
795
|
-
/** @internal */
|
|
796
|
-
export type ListAgentsKnowledgeBases$Outbound = {
|
|
797
|
-
knowledge_id: string;
|
|
798
|
-
};
|
|
799
|
-
|
|
800
|
-
/** @internal */
|
|
801
|
-
export const ListAgentsKnowledgeBases$outboundSchema: z.ZodType<
|
|
802
|
-
ListAgentsKnowledgeBases$Outbound,
|
|
803
|
-
z.ZodTypeDef,
|
|
804
|
-
ListAgentsKnowledgeBases
|
|
805
|
-
> = z.object({
|
|
806
|
-
knowledgeId: z.string(),
|
|
807
|
-
}).transform((v) => {
|
|
808
|
-
return remap$(v, {
|
|
809
|
-
knowledgeId: "knowledge_id",
|
|
810
|
-
});
|
|
811
|
-
});
|
|
812
|
-
|
|
813
|
-
/**
|
|
814
|
-
* @internal
|
|
815
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
816
|
-
*/
|
|
817
|
-
export namespace ListAgentsKnowledgeBases$ {
|
|
818
|
-
/** @deprecated use `ListAgentsKnowledgeBases$inboundSchema` instead. */
|
|
819
|
-
export const inboundSchema = ListAgentsKnowledgeBases$inboundSchema;
|
|
820
|
-
/** @deprecated use `ListAgentsKnowledgeBases$outboundSchema` instead. */
|
|
821
|
-
export const outboundSchema = ListAgentsKnowledgeBases$outboundSchema;
|
|
822
|
-
/** @deprecated use `ListAgentsKnowledgeBases$Outbound` instead. */
|
|
823
|
-
export type Outbound = ListAgentsKnowledgeBases$Outbound;
|
|
824
|
-
}
|
|
825
|
-
|
|
826
|
-
export function listAgentsKnowledgeBasesToJSON(
|
|
827
|
-
listAgentsKnowledgeBases: ListAgentsKnowledgeBases,
|
|
828
|
-
): string {
|
|
829
|
-
return JSON.stringify(
|
|
830
|
-
ListAgentsKnowledgeBases$outboundSchema.parse(listAgentsKnowledgeBases),
|
|
831
|
-
);
|
|
832
|
-
}
|
|
833
|
-
|
|
834
|
-
export function listAgentsKnowledgeBasesFromJSON(
|
|
835
|
-
jsonString: string,
|
|
836
|
-
): SafeParseResult<ListAgentsKnowledgeBases, SDKValidationError> {
|
|
837
|
-
return safeParse(
|
|
838
|
-
jsonString,
|
|
839
|
-
(x) => ListAgentsKnowledgeBases$inboundSchema.parse(JSON.parse(x)),
|
|
840
|
-
`Failed to parse 'ListAgentsKnowledgeBases' from JSON`,
|
|
841
|
-
);
|
|
842
|
-
}
|
|
843
|
-
|
|
844
|
-
/** @internal */
|
|
845
|
-
export const ListAgentsHiddenPanels$inboundSchema: z.ZodNativeEnum<
|
|
846
|
-
typeof ListAgentsHiddenPanels
|
|
847
|
-
> = z.nativeEnum(ListAgentsHiddenPanels);
|
|
848
|
-
|
|
849
|
-
/** @internal */
|
|
850
|
-
export const ListAgentsHiddenPanels$outboundSchema: z.ZodNativeEnum<
|
|
851
|
-
typeof ListAgentsHiddenPanels
|
|
852
|
-
> = ListAgentsHiddenPanels$inboundSchema;
|
|
853
|
-
|
|
854
|
-
/**
|
|
855
|
-
* @internal
|
|
856
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
857
|
-
*/
|
|
858
|
-
export namespace ListAgentsHiddenPanels$ {
|
|
859
|
-
/** @deprecated use `ListAgentsHiddenPanels$inboundSchema` instead. */
|
|
860
|
-
export const inboundSchema = ListAgentsHiddenPanels$inboundSchema;
|
|
861
|
-
/** @deprecated use `ListAgentsHiddenPanels$outboundSchema` instead. */
|
|
862
|
-
export const outboundSchema = ListAgentsHiddenPanels$outboundSchema;
|
|
863
|
-
}
|
|
864
|
-
|
|
865
|
-
/** @internal */
|
|
866
|
-
export const ListAgentsData$inboundSchema: z.ZodType<
|
|
867
|
-
ListAgentsData,
|
|
868
|
-
z.ZodTypeDef,
|
|
869
|
-
unknown
|
|
870
|
-
> = z.object({
|
|
871
|
-
_id: z.string(),
|
|
872
|
-
key: z.string(),
|
|
873
|
-
workspace_id: z.string(),
|
|
874
|
-
project_id: z.string(),
|
|
875
|
-
created_by_id: z.nullable(z.string()).optional(),
|
|
876
|
-
updated_by_id: z.nullable(z.string()).optional(),
|
|
877
|
-
created: z.string().optional(),
|
|
878
|
-
updated: z.string().optional(),
|
|
879
|
-
role: z.string(),
|
|
880
|
-
description: z.string(),
|
|
881
|
-
system_prompt: z.string().optional(),
|
|
882
|
-
instructions: z.string(),
|
|
883
|
-
status: ListAgentsStatus$inboundSchema,
|
|
884
|
-
settings: z.lazy(() => ListAgentsSettings$inboundSchema).optional(),
|
|
885
|
-
model: z.lazy(() => ListAgentsModel$inboundSchema),
|
|
886
|
-
version_hash: z.string().optional(),
|
|
887
|
-
path: z.string(),
|
|
888
|
-
memory_stores: z.array(z.string()),
|
|
889
|
-
team_of_agents: z.array(z.lazy(() => ListAgentsTeamOfAgents$inboundSchema)),
|
|
890
|
-
metrics: z.lazy(() => ListAgentsMetrics$inboundSchema).optional(),
|
|
891
|
-
variables: z.record(z.any()).optional(),
|
|
892
|
-
knowledge_bases: z.array(z.lazy(() => ListAgentsKnowledgeBases$inboundSchema))
|
|
893
|
-
.optional(),
|
|
894
|
-
hidden_panels: z.array(ListAgentsHiddenPanels$inboundSchema).optional(),
|
|
895
|
-
}).transform((v) => {
|
|
896
|
-
return remap$(v, {
|
|
897
|
-
"_id": "id",
|
|
898
|
-
"workspace_id": "workspaceId",
|
|
899
|
-
"project_id": "projectId",
|
|
900
|
-
"created_by_id": "createdById",
|
|
901
|
-
"updated_by_id": "updatedById",
|
|
902
|
-
"system_prompt": "systemPrompt",
|
|
903
|
-
"version_hash": "versionHash",
|
|
904
|
-
"memory_stores": "memoryStores",
|
|
905
|
-
"team_of_agents": "teamOfAgents",
|
|
906
|
-
"knowledge_bases": "knowledgeBases",
|
|
907
|
-
"hidden_panels": "hiddenPanels",
|
|
908
|
-
});
|
|
909
|
-
});
|
|
910
|
-
|
|
911
|
-
/** @internal */
|
|
912
|
-
export type ListAgentsData$Outbound = {
|
|
913
|
-
_id: string;
|
|
914
|
-
key: string;
|
|
915
|
-
workspace_id: string;
|
|
916
|
-
project_id: string;
|
|
917
|
-
created_by_id?: string | null | undefined;
|
|
918
|
-
updated_by_id?: string | null | undefined;
|
|
919
|
-
created?: string | undefined;
|
|
920
|
-
updated?: string | undefined;
|
|
921
|
-
role: string;
|
|
922
|
-
description: string;
|
|
923
|
-
system_prompt?: string | undefined;
|
|
924
|
-
instructions: string;
|
|
925
|
-
status: string;
|
|
926
|
-
settings?: ListAgentsSettings$Outbound | undefined;
|
|
927
|
-
model: ListAgentsModel$Outbound;
|
|
928
|
-
version_hash?: string | undefined;
|
|
929
|
-
path: string;
|
|
930
|
-
memory_stores: Array<string>;
|
|
931
|
-
team_of_agents: Array<ListAgentsTeamOfAgents$Outbound>;
|
|
932
|
-
metrics?: ListAgentsMetrics$Outbound | undefined;
|
|
933
|
-
variables?: { [k: string]: any } | undefined;
|
|
934
|
-
knowledge_bases?: Array<ListAgentsKnowledgeBases$Outbound> | undefined;
|
|
935
|
-
hidden_panels?: Array<string> | undefined;
|
|
936
|
-
};
|
|
937
|
-
|
|
938
|
-
/** @internal */
|
|
939
|
-
export const ListAgentsData$outboundSchema: z.ZodType<
|
|
940
|
-
ListAgentsData$Outbound,
|
|
941
|
-
z.ZodTypeDef,
|
|
942
|
-
ListAgentsData
|
|
943
|
-
> = z.object({
|
|
944
|
-
id: z.string(),
|
|
945
|
-
key: z.string(),
|
|
946
|
-
workspaceId: z.string(),
|
|
947
|
-
projectId: z.string(),
|
|
948
|
-
createdById: z.nullable(z.string()).optional(),
|
|
949
|
-
updatedById: z.nullable(z.string()).optional(),
|
|
950
|
-
created: z.string().optional(),
|
|
951
|
-
updated: z.string().optional(),
|
|
952
|
-
role: z.string(),
|
|
953
|
-
description: z.string(),
|
|
954
|
-
systemPrompt: z.string().optional(),
|
|
955
|
-
instructions: z.string(),
|
|
956
|
-
status: ListAgentsStatus$outboundSchema,
|
|
957
|
-
settings: z.lazy(() => ListAgentsSettings$outboundSchema).optional(),
|
|
958
|
-
model: z.lazy(() => ListAgentsModel$outboundSchema),
|
|
959
|
-
versionHash: z.string().optional(),
|
|
960
|
-
path: z.string(),
|
|
961
|
-
memoryStores: z.array(z.string()),
|
|
962
|
-
teamOfAgents: z.array(z.lazy(() => ListAgentsTeamOfAgents$outboundSchema)),
|
|
963
|
-
metrics: z.lazy(() => ListAgentsMetrics$outboundSchema).optional(),
|
|
964
|
-
variables: z.record(z.any()).optional(),
|
|
965
|
-
knowledgeBases: z.array(z.lazy(() => ListAgentsKnowledgeBases$outboundSchema))
|
|
966
|
-
.optional(),
|
|
967
|
-
hiddenPanels: z.array(ListAgentsHiddenPanels$outboundSchema).optional(),
|
|
968
|
-
}).transform((v) => {
|
|
969
|
-
return remap$(v, {
|
|
970
|
-
id: "_id",
|
|
971
|
-
workspaceId: "workspace_id",
|
|
972
|
-
projectId: "project_id",
|
|
973
|
-
createdById: "created_by_id",
|
|
974
|
-
updatedById: "updated_by_id",
|
|
975
|
-
systemPrompt: "system_prompt",
|
|
976
|
-
versionHash: "version_hash",
|
|
977
|
-
memoryStores: "memory_stores",
|
|
978
|
-
teamOfAgents: "team_of_agents",
|
|
979
|
-
knowledgeBases: "knowledge_bases",
|
|
980
|
-
hiddenPanels: "hidden_panels",
|
|
981
|
-
});
|
|
982
|
-
});
|
|
983
|
-
|
|
984
|
-
/**
|
|
985
|
-
* @internal
|
|
986
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
987
|
-
*/
|
|
988
|
-
export namespace ListAgentsData$ {
|
|
989
|
-
/** @deprecated use `ListAgentsData$inboundSchema` instead. */
|
|
990
|
-
export const inboundSchema = ListAgentsData$inboundSchema;
|
|
991
|
-
/** @deprecated use `ListAgentsData$outboundSchema` instead. */
|
|
992
|
-
export const outboundSchema = ListAgentsData$outboundSchema;
|
|
993
|
-
/** @deprecated use `ListAgentsData$Outbound` instead. */
|
|
994
|
-
export type Outbound = ListAgentsData$Outbound;
|
|
995
|
-
}
|
|
996
|
-
|
|
997
|
-
export function listAgentsDataToJSON(listAgentsData: ListAgentsData): string {
|
|
998
|
-
return JSON.stringify(ListAgentsData$outboundSchema.parse(listAgentsData));
|
|
999
|
-
}
|
|
1000
|
-
|
|
1001
|
-
export function listAgentsDataFromJSON(
|
|
1002
|
-
jsonString: string,
|
|
1003
|
-
): SafeParseResult<ListAgentsData, SDKValidationError> {
|
|
1004
|
-
return safeParse(
|
|
1005
|
-
jsonString,
|
|
1006
|
-
(x) => ListAgentsData$inboundSchema.parse(JSON.parse(x)),
|
|
1007
|
-
`Failed to parse 'ListAgentsData' from JSON`,
|
|
1008
|
-
);
|
|
1009
|
-
}
|
|
1010
|
-
|
|
1011
|
-
/** @internal */
|
|
1012
|
-
export const ListAgentsResponseBody$inboundSchema: z.ZodType<
|
|
1013
|
-
ListAgentsResponseBody,
|
|
1014
|
-
z.ZodTypeDef,
|
|
1015
|
-
unknown
|
|
1016
|
-
> = z.object({
|
|
1017
|
-
object: ListAgentsObject$inboundSchema,
|
|
1018
|
-
data: z.array(z.lazy(() => ListAgentsData$inboundSchema)),
|
|
1019
|
-
has_more: z.boolean(),
|
|
1020
|
-
}).transform((v) => {
|
|
1021
|
-
return remap$(v, {
|
|
1022
|
-
"has_more": "hasMore",
|
|
1023
|
-
});
|
|
1024
|
-
});
|
|
1025
|
-
|
|
1026
|
-
/** @internal */
|
|
1027
|
-
export type ListAgentsResponseBody$Outbound = {
|
|
1028
|
-
object: string;
|
|
1029
|
-
data: Array<ListAgentsData$Outbound>;
|
|
1030
|
-
has_more: boolean;
|
|
1031
|
-
};
|
|
1032
|
-
|
|
1033
|
-
/** @internal */
|
|
1034
|
-
export const ListAgentsResponseBody$outboundSchema: z.ZodType<
|
|
1035
|
-
ListAgentsResponseBody$Outbound,
|
|
1036
|
-
z.ZodTypeDef,
|
|
1037
|
-
ListAgentsResponseBody
|
|
1038
|
-
> = z.object({
|
|
1039
|
-
object: ListAgentsObject$outboundSchema,
|
|
1040
|
-
data: z.array(z.lazy(() => ListAgentsData$outboundSchema)),
|
|
1041
|
-
hasMore: z.boolean(),
|
|
1042
|
-
}).transform((v) => {
|
|
1043
|
-
return remap$(v, {
|
|
1044
|
-
hasMore: "has_more",
|
|
1045
|
-
});
|
|
1046
|
-
});
|
|
1047
|
-
|
|
1048
|
-
/**
|
|
1049
|
-
* @internal
|
|
1050
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1051
|
-
*/
|
|
1052
|
-
export namespace ListAgentsResponseBody$ {
|
|
1053
|
-
/** @deprecated use `ListAgentsResponseBody$inboundSchema` instead. */
|
|
1054
|
-
export const inboundSchema = ListAgentsResponseBody$inboundSchema;
|
|
1055
|
-
/** @deprecated use `ListAgentsResponseBody$outboundSchema` instead. */
|
|
1056
|
-
export const outboundSchema = ListAgentsResponseBody$outboundSchema;
|
|
1057
|
-
/** @deprecated use `ListAgentsResponseBody$Outbound` instead. */
|
|
1058
|
-
export type Outbound = ListAgentsResponseBody$Outbound;
|
|
1059
|
-
}
|
|
1060
|
-
|
|
1061
|
-
export function listAgentsResponseBodyToJSON(
|
|
1062
|
-
listAgentsResponseBody: ListAgentsResponseBody,
|
|
1063
|
-
): string {
|
|
1064
|
-
return JSON.stringify(
|
|
1065
|
-
ListAgentsResponseBody$outboundSchema.parse(listAgentsResponseBody),
|
|
1066
|
-
);
|
|
1067
|
-
}
|
|
1068
|
-
|
|
1069
|
-
export function listAgentsResponseBodyFromJSON(
|
|
1070
|
-
jsonString: string,
|
|
1071
|
-
): SafeParseResult<ListAgentsResponseBody, SDKValidationError> {
|
|
1072
|
-
return safeParse(
|
|
1073
|
-
jsonString,
|
|
1074
|
-
(x) => ListAgentsResponseBody$inboundSchema.parse(JSON.parse(x)),
|
|
1075
|
-
`Failed to parse 'ListAgentsResponseBody' from JSON`,
|
|
1076
|
-
);
|
|
1077
|
-
}
|