@agentuity/core 1.0.31 → 1.0.33
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/dist/api/api.d.ts +226 -0
- package/dist/api/api.d.ts.map +1 -0
- package/dist/api/api.js +635 -0
- package/dist/api/api.js.map +1 -0
- package/dist/api/apikey/create.d.ts +33 -0
- package/dist/api/apikey/create.d.ts.map +1 -0
- package/dist/api/apikey/create.js +23 -0
- package/dist/api/apikey/create.js.map +1 -0
- package/dist/api/apikey/delete.d.ts +19 -0
- package/dist/api/apikey/delete.d.ts.map +1 -0
- package/dist/api/apikey/delete.js +19 -0
- package/dist/api/apikey/delete.js.map +1 -0
- package/dist/api/apikey/get.d.ts +45 -0
- package/dist/api/apikey/get.d.ts.map +1 -0
- package/dist/api/apikey/get.js +36 -0
- package/dist/api/apikey/get.js.map +1 -0
- package/dist/api/apikey/index.d.ts +6 -0
- package/dist/api/apikey/index.d.ts.map +1 -0
- package/dist/api/apikey/index.js +6 -0
- package/dist/api/apikey/index.js.map +1 -0
- package/dist/api/apikey/list.d.ts +64 -0
- package/dist/api/apikey/list.d.ts.map +1 -0
- package/dist/api/apikey/list.js +46 -0
- package/dist/api/apikey/list.js.map +1 -0
- package/dist/api/apikey/util.d.ts +23 -0
- package/dist/api/apikey/util.d.ts.map +1 -0
- package/dist/api/apikey/util.js +3 -0
- package/dist/api/apikey/util.js.map +1 -0
- package/dist/api/config.d.ts +20 -0
- package/dist/api/config.d.ts.map +1 -0
- package/dist/api/config.js +43 -0
- package/dist/api/config.js.map +1 -0
- package/dist/api/db/index.d.ts +5 -0
- package/dist/api/db/index.d.ts.map +1 -0
- package/dist/api/db/index.js +5 -0
- package/dist/api/db/index.js.map +1 -0
- package/dist/api/db/logs.d.ts +70 -0
- package/dist/api/db/logs.d.ts.map +1 -0
- package/dist/api/db/logs.js +59 -0
- package/dist/api/db/logs.js.map +1 -0
- package/dist/api/db/query.d.ts +39 -0
- package/dist/api/db/query.d.ts.map +1 -0
- package/dist/api/db/query.js +49 -0
- package/dist/api/db/query.js.map +1 -0
- package/dist/api/db/tables.d.ts +49 -0
- package/dist/api/db/tables.d.ts.map +1 -0
- package/dist/api/db/tables.js +59 -0
- package/dist/api/db/tables.js.map +1 -0
- package/dist/api/db/util.d.ts +31 -0
- package/dist/api/db/util.d.ts.map +1 -0
- package/dist/api/db/util.js +4 -0
- package/dist/api/db/util.js.map +1 -0
- package/dist/api/env.d.ts +5 -0
- package/dist/api/env.d.ts.map +1 -0
- package/dist/api/env.js +10 -0
- package/dist/api/env.js.map +1 -0
- package/dist/api/eval/get.d.ts +36 -0
- package/dist/api/eval/get.d.ts.map +1 -0
- package/dist/api/eval/get.js +23 -0
- package/dist/api/eval/get.js.map +1 -0
- package/dist/api/eval/index.d.ts +5 -0
- package/dist/api/eval/index.d.ts.map +1 -0
- package/dist/api/eval/index.js +5 -0
- package/dist/api/eval/index.js.map +1 -0
- package/dist/api/eval/list.d.ts +50 -0
- package/dist/api/eval/list.d.ts.map +1 -0
- package/dist/api/eval/list.js +32 -0
- package/dist/api/eval/list.js.map +1 -0
- package/dist/api/eval/run-get.d.ts +48 -0
- package/dist/api/eval/run-get.d.ts.map +1 -0
- package/dist/api/eval/run-get.js +29 -0
- package/dist/api/eval/run-get.js.map +1 -0
- package/dist/api/eval/run-list.d.ts +70 -0
- package/dist/api/eval/run-list.d.ts.map +1 -0
- package/dist/api/eval/run-list.js +42 -0
- package/dist/api/eval/run-list.js.map +1 -0
- package/dist/api/index.d.ts +21 -0
- package/dist/api/index.d.ts.map +1 -0
- package/dist/api/index.js +21 -0
- package/dist/api/index.js.map +1 -0
- package/dist/api/logger.d.ts +7 -0
- package/dist/api/logger.d.ts.map +1 -0
- package/dist/api/logger.js +23 -0
- package/dist/api/logger.js.map +1 -0
- package/dist/api/machine/index.d.ts +3 -0
- package/dist/api/machine/index.d.ts.map +1 -0
- package/dist/api/machine/index.js +3 -0
- package/dist/api/machine/index.js.map +1 -0
- package/dist/api/machine/machine.d.ts +192 -0
- package/dist/api/machine/machine.d.ts.map +1 -0
- package/dist/api/machine/machine.js +109 -0
- package/dist/api/machine/machine.js.map +1 -0
- package/dist/api/machine/util.d.ts +14 -0
- package/dist/api/machine/util.d.ts.map +1 -0
- package/dist/api/machine/util.js +3 -0
- package/dist/api/machine/util.js.map +1 -0
- package/dist/api/org/env-delete.d.ts +23 -0
- package/dist/api/org/env-delete.d.ts.map +1 -0
- package/dist/api/org/env-delete.js +25 -0
- package/dist/api/org/env-delete.js.map +1 -0
- package/dist/api/org/env-get.d.ts +33 -0
- package/dist/api/org/env-get.d.ts.map +1 -0
- package/dist/api/org/env-get.js +26 -0
- package/dist/api/org/env-get.js.map +1 -0
- package/dist/api/org/env-update.d.ts +24 -0
- package/dist/api/org/env-update.d.ts.map +1 -0
- package/dist/api/org/env-update.js +26 -0
- package/dist/api/org/env-update.js.map +1 -0
- package/dist/api/org/index.d.ts +7 -0
- package/dist/api/org/index.d.ts.map +1 -0
- package/dist/api/org/index.js +7 -0
- package/dist/api/org/index.js.map +1 -0
- package/dist/api/org/list.d.ts +27 -0
- package/dist/api/org/list.d.ts.map +1 -0
- package/dist/api/org/list.js +22 -0
- package/dist/api/org/list.js.map +1 -0
- package/dist/api/org/resources.d.ts +141 -0
- package/dist/api/org/resources.d.ts.map +1 -0
- package/dist/api/org/resources.js +97 -0
- package/dist/api/org/resources.js.map +1 -0
- package/dist/api/org/util.d.ts +45 -0
- package/dist/api/org/util.d.ts.map +1 -0
- package/dist/api/org/util.js +4 -0
- package/dist/api/org/util.js.map +1 -0
- package/dist/api/project/agent.d.ts +89 -0
- package/dist/api/project/agent.d.ts.map +1 -0
- package/dist/api/project/agent.js +60 -0
- package/dist/api/project/agent.js.map +1 -0
- package/dist/api/project/create.d.ts +37 -0
- package/dist/api/project/create.d.ts.map +1 -0
- package/dist/api/project/create.js +31 -0
- package/dist/api/project/create.js.map +1 -0
- package/dist/api/project/delete.d.ts +15 -0
- package/dist/api/project/delete.d.ts.map +1 -0
- package/dist/api/project/delete.js +13 -0
- package/dist/api/project/delete.js.map +1 -0
- package/dist/api/project/deploy.d.ts +490 -0
- package/dist/api/project/deploy.d.ts.map +1 -0
- package/dist/api/project/deploy.js +313 -0
- package/dist/api/project/deploy.js.map +1 -0
- package/dist/api/project/deployment.d.ts +237 -0
- package/dist/api/project/deployment.d.ts.map +1 -0
- package/dist/api/project/deployment.js +127 -0
- package/dist/api/project/deployment.js.map +1 -0
- package/dist/api/project/env-delete.d.ts +22 -0
- package/dist/api/project/env-delete.d.ts.map +1 -0
- package/dist/api/project/env-delete.js +29 -0
- package/dist/api/project/env-delete.js.map +1 -0
- package/dist/api/project/env-update.d.ts +31 -0
- package/dist/api/project/env-update.d.ts.map +1 -0
- package/dist/api/project/env-update.js +36 -0
- package/dist/api/project/env-update.js.map +1 -0
- package/dist/api/project/exists.d.ts +25 -0
- package/dist/api/project/exists.d.ts.map +1 -0
- package/dist/api/project/exists.js +45 -0
- package/dist/api/project/exists.js.map +1 -0
- package/dist/api/project/get.d.ts +43 -0
- package/dist/api/project/get.d.ts.map +1 -0
- package/dist/api/project/get.js +36 -0
- package/dist/api/project/get.js.map +1 -0
- package/dist/api/project/hostname.d.ts +25 -0
- package/dist/api/project/hostname.d.ts.map +1 -0
- package/dist/api/project/hostname.js +37 -0
- package/dist/api/project/hostname.js.map +1 -0
- package/dist/api/project/index.d.ts +14 -0
- package/dist/api/project/index.d.ts.map +1 -0
- package/dist/api/project/index.js +14 -0
- package/dist/api/project/index.js.map +1 -0
- package/dist/api/project/list.d.ts +48 -0
- package/dist/api/project/list.d.ts.map +1 -0
- package/dist/api/project/list.js +38 -0
- package/dist/api/project/list.js.map +1 -0
- package/dist/api/project/malware.d.ts +71 -0
- package/dist/api/project/malware.d.ts.map +1 -0
- package/dist/api/project/malware.js +42 -0
- package/dist/api/project/malware.js.map +1 -0
- package/dist/api/project/update-region.d.ts +27 -0
- package/dist/api/project/update-region.d.ts.map +1 -0
- package/dist/api/project/update-region.js +25 -0
- package/dist/api/project/update-region.js.map +1 -0
- package/dist/api/project/util.d.ts +62 -0
- package/dist/api/project/util.d.ts.map +1 -0
- package/dist/api/project/util.js +6 -0
- package/dist/api/project/util.js.map +1 -0
- package/dist/api/queue/analytics.d.ts +250 -0
- package/dist/api/queue/analytics.d.ts.map +1 -0
- package/dist/api/queue/analytics.js +233 -0
- package/dist/api/queue/analytics.js.map +1 -0
- package/dist/api/queue/destinations.d.ts +202 -0
- package/dist/api/queue/destinations.d.ts.map +1 -0
- package/dist/api/queue/destinations.js +168 -0
- package/dist/api/queue/destinations.js.map +1 -0
- package/dist/api/queue/dlq.d.ts +168 -0
- package/dist/api/queue/dlq.d.ts.map +1 -0
- package/dist/api/queue/dlq.js +166 -0
- package/dist/api/queue/dlq.js.map +1 -0
- package/dist/api/queue/index.d.ts +56 -0
- package/dist/api/queue/index.d.ts.map +1 -0
- package/dist/api/queue/index.js +90 -0
- package/dist/api/queue/index.js.map +1 -0
- package/dist/api/queue/messages.d.ts +503 -0
- package/dist/api/queue/messages.d.ts.map +1 -0
- package/dist/api/queue/messages.js +549 -0
- package/dist/api/queue/messages.js.map +1 -0
- package/dist/api/queue/queues.d.ts +226 -0
- package/dist/api/queue/queues.d.ts.map +1 -0
- package/dist/api/queue/queues.js +321 -0
- package/dist/api/queue/queues.js.map +1 -0
- package/dist/api/queue/sources.d.ts +202 -0
- package/dist/api/queue/sources.d.ts.map +1 -0
- package/dist/api/queue/sources.js +202 -0
- package/dist/api/queue/sources.js.map +1 -0
- package/dist/api/queue/types.d.ts +1218 -0
- package/dist/api/queue/types.d.ts.map +1 -0
- package/dist/api/queue/types.js +1002 -0
- package/dist/api/queue/types.js.map +1 -0
- package/dist/api/queue/util.d.ts +278 -0
- package/dist/api/queue/util.d.ts.map +1 -0
- package/dist/api/queue/util.js +233 -0
- package/dist/api/queue/util.js.map +1 -0
- package/dist/api/queue/validation.d.ts +247 -0
- package/dist/api/queue/validation.d.ts.map +1 -0
- package/dist/api/queue/validation.js +513 -0
- package/dist/api/queue/validation.js.map +1 -0
- package/dist/api/queue/websocket.d.ts +172 -0
- package/dist/api/queue/websocket.d.ts.map +1 -0
- package/dist/api/queue/websocket.js +396 -0
- package/dist/api/queue/websocket.js.map +1 -0
- package/dist/api/region/create.d.ts +81 -0
- package/dist/api/region/create.d.ts.map +1 -0
- package/dist/api/region/create.js +177 -0
- package/dist/api/region/create.js.map +1 -0
- package/dist/api/region/delete.d.ts +62 -0
- package/dist/api/region/delete.d.ts.map +1 -0
- package/dist/api/region/delete.js +37 -0
- package/dist/api/region/delete.js.map +1 -0
- package/dist/api/region/index.d.ts +5 -0
- package/dist/api/region/index.d.ts.map +1 -0
- package/dist/api/region/index.js +5 -0
- package/dist/api/region/index.js.map +1 -0
- package/dist/api/region/list.d.ts +27 -0
- package/dist/api/region/list.d.ts.map +1 -0
- package/dist/api/region/list.js +22 -0
- package/dist/api/region/list.js.map +1 -0
- package/dist/api/region/resources.d.ts +71 -0
- package/dist/api/region/resources.d.ts.map +1 -0
- package/dist/api/region/resources.js +53 -0
- package/dist/api/region/resources.js.map +1 -0
- package/dist/api/region/util.d.ts +23 -0
- package/dist/api/region/util.d.ts.map +1 -0
- package/dist/api/region/util.js +3 -0
- package/dist/api/region/util.js.map +1 -0
- package/dist/api/sandbox/cli-list.d.ts +114 -0
- package/dist/api/sandbox/cli-list.d.ts.map +1 -0
- package/dist/api/sandbox/cli-list.js +71 -0
- package/dist/api/sandbox/cli-list.js.map +1 -0
- package/dist/api/sandbox/client.d.ts +192 -0
- package/dist/api/sandbox/client.d.ts.map +1 -0
- package/dist/api/sandbox/client.js +262 -0
- package/dist/api/sandbox/client.js.map +1 -0
- package/dist/api/sandbox/create.d.ts +118 -0
- package/dist/api/sandbox/create.d.ts.map +1 -0
- package/dist/api/sandbox/create.js +211 -0
- package/dist/api/sandbox/create.js.map +1 -0
- package/dist/api/sandbox/destroy.d.ts +22 -0
- package/dist/api/sandbox/destroy.d.ts.map +1 -0
- package/dist/api/sandbox/destroy.js +25 -0
- package/dist/api/sandbox/destroy.js.map +1 -0
- package/dist/api/sandbox/disk-checkpoint.d.ts +104 -0
- package/dist/api/sandbox/disk-checkpoint.d.ts.map +1 -0
- package/dist/api/sandbox/disk-checkpoint.js +104 -0
- package/dist/api/sandbox/disk-checkpoint.js.map +1 -0
- package/dist/api/sandbox/execute.d.ts +69 -0
- package/dist/api/sandbox/execute.d.ts.map +1 -0
- package/dist/api/sandbox/execute.js +103 -0
- package/dist/api/sandbox/execute.js.map +1 -0
- package/dist/api/sandbox/execution.d.ts +169 -0
- package/dist/api/sandbox/execution.d.ts.map +1 -0
- package/dist/api/sandbox/execution.js +118 -0
- package/dist/api/sandbox/execution.js.map +1 -0
- package/dist/api/sandbox/files.d.ts +261 -0
- package/dist/api/sandbox/files.d.ts.map +1 -0
- package/dist/api/sandbox/files.js +386 -0
- package/dist/api/sandbox/files.js.map +1 -0
- package/dist/api/sandbox/get.d.ts +283 -0
- package/dist/api/sandbox/get.d.ts.map +1 -0
- package/dist/api/sandbox/get.js +215 -0
- package/dist/api/sandbox/get.js.map +1 -0
- package/dist/api/sandbox/getStatus.d.ts +16 -0
- package/dist/api/sandbox/getStatus.d.ts.map +1 -0
- package/dist/api/sandbox/getStatus.js +32 -0
- package/dist/api/sandbox/getStatus.js.map +1 -0
- package/dist/api/sandbox/index.d.ts +39 -0
- package/dist/api/sandbox/index.d.ts.map +1 -0
- package/dist/api/sandbox/index.js +20 -0
- package/dist/api/sandbox/index.js.map +1 -0
- package/dist/api/sandbox/list.d.ts +293 -0
- package/dist/api/sandbox/list.d.ts.map +1 -0
- package/dist/api/sandbox/list.js +191 -0
- package/dist/api/sandbox/list.js.map +1 -0
- package/dist/api/sandbox/pause.d.ts +22 -0
- package/dist/api/sandbox/pause.d.ts.map +1 -0
- package/dist/api/sandbox/pause.js +25 -0
- package/dist/api/sandbox/pause.js.map +1 -0
- package/dist/api/sandbox/resolve.d.ts +82 -0
- package/dist/api/sandbox/resolve.d.ts.map +1 -0
- package/dist/api/sandbox/resolve.js +71 -0
- package/dist/api/sandbox/resolve.js.map +1 -0
- package/dist/api/sandbox/resume.d.ts +22 -0
- package/dist/api/sandbox/resume.d.ts.map +1 -0
- package/dist/api/sandbox/resume.js +25 -0
- package/dist/api/sandbox/resume.js.map +1 -0
- package/dist/api/sandbox/run.d.ts +28 -0
- package/dist/api/sandbox/run.d.ts.map +1 -0
- package/dist/api/sandbox/run.js +342 -0
- package/dist/api/sandbox/run.js.map +1 -0
- package/dist/api/sandbox/runtime.d.ts +83 -0
- package/dist/api/sandbox/runtime.d.ts.map +1 -0
- package/dist/api/sandbox/runtime.js +78 -0
- package/dist/api/sandbox/runtime.js.map +1 -0
- package/dist/api/sandbox/snapshot-build.d.ts +48 -0
- package/dist/api/sandbox/snapshot-build.d.ts.map +1 -0
- package/dist/api/sandbox/snapshot-build.js +72 -0
- package/dist/api/sandbox/snapshot-build.js.map +1 -0
- package/dist/api/sandbox/snapshot.d.ts +595 -0
- package/dist/api/sandbox/snapshot.d.ts.map +1 -0
- package/dist/api/sandbox/snapshot.js +598 -0
- package/dist/api/sandbox/snapshot.js.map +1 -0
- package/dist/api/sandbox/util.d.ts +284 -0
- package/dist/api/sandbox/util.d.ts.map +1 -0
- package/dist/api/sandbox/util.js +210 -0
- package/dist/api/sandbox/util.js.map +1 -0
- package/dist/api/services/index.d.ts +2 -0
- package/dist/api/services/index.d.ts.map +1 -0
- package/dist/api/services/index.js +2 -0
- package/dist/api/services/index.js.map +1 -0
- package/dist/api/services/stats.d.ts +263 -0
- package/dist/api/services/stats.d.ts.map +1 -0
- package/dist/api/services/stats.js +144 -0
- package/dist/api/services/stats.js.map +1 -0
- package/dist/api/session/get.d.ts +169 -0
- package/dist/api/session/get.d.ts.map +1 -0
- package/dist/api/session/get.js +56 -0
- package/dist/api/session/get.js.map +1 -0
- package/dist/api/session/index.d.ts +4 -0
- package/dist/api/session/index.d.ts.map +1 -0
- package/dist/api/session/index.js +4 -0
- package/dist/api/session/index.js.map +1 -0
- package/dist/api/session/list.d.ts +143 -0
- package/dist/api/session/list.d.ts.map +1 -0
- package/dist/api/session/list.js +91 -0
- package/dist/api/session/list.js.map +1 -0
- package/dist/api/session/logs.d.ts +40 -0
- package/dist/api/session/logs.d.ts.map +1 -0
- package/dist/api/session/logs.js +28 -0
- package/dist/api/session/logs.js.map +1 -0
- package/dist/api/session/util.d.ts +23 -0
- package/dist/api/session/util.d.ts.map +1 -0
- package/dist/api/session/util.js +3 -0
- package/dist/api/session/util.js.map +1 -0
- package/dist/api/storage/config.d.ts +99 -0
- package/dist/api/storage/config.d.ts.map +1 -0
- package/dist/api/storage/config.js +61 -0
- package/dist/api/storage/config.js.map +1 -0
- package/dist/api/storage/index.d.ts +5 -0
- package/dist/api/storage/index.d.ts.map +1 -0
- package/dist/api/storage/index.js +5 -0
- package/dist/api/storage/index.js.map +1 -0
- package/dist/api/storage/objects.d.ts +155 -0
- package/dist/api/storage/objects.d.ts.map +1 -0
- package/dist/api/storage/objects.js +148 -0
- package/dist/api/storage/objects.js.map +1 -0
- package/dist/api/storage/types.d.ts +161 -0
- package/dist/api/storage/types.d.ts.map +1 -0
- package/dist/api/storage/types.js +141 -0
- package/dist/api/storage/types.js.map +1 -0
- package/dist/api/storage/util.d.ts +45 -0
- package/dist/api/storage/util.d.ts.map +1 -0
- package/dist/api/storage/util.js +4 -0
- package/dist/api/storage/util.js.map +1 -0
- package/dist/api/stream/get.d.ts +58 -0
- package/dist/api/stream/get.d.ts.map +1 -0
- package/dist/api/stream/get.js +40 -0
- package/dist/api/stream/get.js.map +1 -0
- package/dist/api/stream/index.d.ts +4 -0
- package/dist/api/stream/index.d.ts.map +1 -0
- package/dist/api/stream/index.js +4 -0
- package/dist/api/stream/index.js.map +1 -0
- package/dist/api/stream/list.d.ts +120 -0
- package/dist/api/stream/list.d.ts.map +1 -0
- package/dist/api/stream/list.js +77 -0
- package/dist/api/stream/list.js.map +1 -0
- package/dist/api/stream/util.d.ts +23 -0
- package/dist/api/stream/util.d.ts.map +1 -0
- package/dist/api/stream/util.js +3 -0
- package/dist/api/stream/util.js.map +1 -0
- package/dist/api/thread/delete.d.ts +23 -0
- package/dist/api/thread/delete.d.ts.map +1 -0
- package/dist/api/thread/delete.js +21 -0
- package/dist/api/thread/delete.js.map +1 -0
- package/dist/api/thread/get.d.ts +36 -0
- package/dist/api/thread/get.d.ts.map +1 -0
- package/dist/api/thread/get.js +23 -0
- package/dist/api/thread/get.js.map +1 -0
- package/dist/api/thread/index.d.ts +5 -0
- package/dist/api/thread/index.d.ts.map +1 -0
- package/dist/api/thread/index.js +5 -0
- package/dist/api/thread/index.js.map +1 -0
- package/dist/api/thread/list.d.ts +69 -0
- package/dist/api/thread/list.d.ts.map +1 -0
- package/dist/api/thread/list.js +51 -0
- package/dist/api/thread/list.js.map +1 -0
- package/dist/api/thread/util.d.ts +23 -0
- package/dist/api/thread/util.d.ts.map +1 -0
- package/dist/api/thread/util.js +3 -0
- package/dist/api/thread/util.js.map +1 -0
- package/dist/api/user/index.d.ts +2 -0
- package/dist/api/user/index.d.ts.map +1 -0
- package/dist/api/user/index.js +2 -0
- package/dist/api/user/index.js.map +1 -0
- package/dist/api/user/util.d.ts +23 -0
- package/dist/api/user/util.d.ts.map +1 -0
- package/dist/api/user/util.js +3 -0
- package/dist/api/user/util.js.map +1 -0
- package/dist/api/user/whoami.d.ts +39 -0
- package/dist/api/user/whoami.d.ts.map +1 -0
- package/dist/api/user/whoami.js +27 -0
- package/dist/api/user/whoami.js.map +1 -0
- package/dist/api/webhook/deliveries.d.ts +94 -0
- package/dist/api/webhook/deliveries.d.ts.map +1 -0
- package/dist/api/webhook/deliveries.js +79 -0
- package/dist/api/webhook/deliveries.js.map +1 -0
- package/dist/api/webhook/destinations.d.ts +136 -0
- package/dist/api/webhook/destinations.d.ts.map +1 -0
- package/dist/api/webhook/destinations.js +137 -0
- package/dist/api/webhook/destinations.js.map +1 -0
- package/dist/api/webhook/index.d.ts +41 -0
- package/dist/api/webhook/index.d.ts.map +1 -0
- package/dist/api/webhook/index.js +59 -0
- package/dist/api/webhook/index.js.map +1 -0
- package/dist/api/webhook/receipts.d.ts +77 -0
- package/dist/api/webhook/receipts.d.ts.map +1 -0
- package/dist/api/webhook/receipts.js +78 -0
- package/dist/api/webhook/receipts.js.map +1 -0
- package/dist/api/webhook/types.d.ts +249 -0
- package/dist/api/webhook/types.d.ts.map +1 -0
- package/dist/api/webhook/types.js +221 -0
- package/dist/api/webhook/types.js.map +1 -0
- package/dist/api/webhook/util.d.ts +202 -0
- package/dist/api/webhook/util.d.ts.map +1 -0
- package/dist/api/webhook/util.js +199 -0
- package/dist/api/webhook/util.js.map +1 -0
- package/dist/api/webhook/webhooks.d.ts +146 -0
- package/dist/api/webhook/webhooks.d.ts.map +1 -0
- package/dist/api/webhook/webhooks.js +165 -0
- package/dist/api/webhook/webhooks.js.map +1 -0
- package/dist/env-example.d.ts +11 -0
- package/dist/env-example.d.ts.map +1 -0
- package/dist/env-example.js +70 -0
- package/dist/env-example.js.map +1 -0
- package/dist/error.d.ts.map +1 -1
- package/dist/error.js +16 -9
- package/dist/error.js.map +1 -1
- package/dist/index.d.ts +20 -17
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +15 -12
- package/dist/index.js.map +1 -1
- package/dist/services/email.d.ts.map +1 -1
- package/dist/services/email.js +15 -15
- package/dist/services/email.js.map +1 -1
- package/dist/services/keyvalue.d.ts.map +1 -1
- package/dist/services/keyvalue.js +10 -10
- package/dist/services/keyvalue.js.map +1 -1
- package/dist/services/queue.d.ts.map +1 -1
- package/dist/services/queue.js +3 -3
- package/dist/services/queue.js.map +1 -1
- package/dist/services/schedule.d.ts.map +1 -1
- package/dist/services/schedule.js +8 -10
- package/dist/services/schedule.js.map +1 -1
- package/dist/services/stream.d.ts +3 -3
- package/dist/services/stream.d.ts.map +1 -1
- package/dist/services/stream.js +8 -13
- package/dist/services/stream.js.map +1 -1
- package/dist/services/vector.d.ts.map +1 -1
- package/dist/services/vector.js +9 -9
- package/dist/services/vector.js.map +1 -1
- package/dist/services/webhook.d.ts +2 -1
- package/dist/services/webhook.d.ts.map +1 -1
- package/dist/services/webhook.js +12 -14
- package/dist/services/webhook.js.map +1 -1
- package/package.json +2 -2
- package/src/api/api-example.md +164 -0
- package/src/api/api.ts +931 -0
- package/src/api/apikey/create.ts +41 -0
- package/src/api/apikey/delete.ts +30 -0
- package/src/api/apikey/get.ts +48 -0
- package/src/api/apikey/index.ts +5 -0
- package/src/api/apikey/list.ts +64 -0
- package/src/api/apikey/util.ts +3 -0
- package/src/api/config.ts +60 -0
- package/src/api/db/index.ts +27 -0
- package/src/api/db/logs.ts +75 -0
- package/src/api/db/query.ts +67 -0
- package/src/api/db/tables.ts +92 -0
- package/src/api/db/util.ts +9 -0
- package/src/api/env.ts +9 -0
- package/src/api/eval/get.ts +33 -0
- package/src/api/eval/index.ts +28 -0
- package/src/api/eval/list.ts +49 -0
- package/src/api/eval/run-get.ts +39 -0
- package/src/api/eval/run-list.ts +59 -0
- package/src/api/index.ts +20 -0
- package/src/api/logger.ts +24 -0
- package/src/api/machine/index.ts +2 -0
- package/src/api/machine/machine.ts +160 -0
- package/src/api/machine/util.ts +5 -0
- package/src/api/org/env-delete.ts +37 -0
- package/src/api/org/env-get.ts +43 -0
- package/src/api/org/env-update.ts +38 -0
- package/src/api/org/index.ts +6 -0
- package/src/api/org/list.ts +28 -0
- package/src/api/org/resources.ts +140 -0
- package/src/api/org/util.ts +4 -0
- package/src/api/project/agent.ts +86 -0
- package/src/api/project/create.ts +47 -0
- package/src/api/project/delete.ts +25 -0
- package/src/api/project/deploy.ts +458 -0
- package/src/api/project/deployment.ts +195 -0
- package/src/api/project/env-delete.ts +45 -0
- package/src/api/project/env-update.ts +55 -0
- package/src/api/project/exists.ts +58 -0
- package/src/api/project/get.ts +49 -0
- package/src/api/project/hostname.ts +73 -0
- package/src/api/project/index.ts +13 -0
- package/src/api/project/list.ts +54 -0
- package/src/api/project/malware.ts +68 -0
- package/src/api/project/update-region.ts +44 -0
- package/src/api/project/util.ts +8 -0
- package/src/api/queue/analytics.ts +311 -0
- package/src/api/queue/destinations.ts +259 -0
- package/src/api/queue/dlq.ts +243 -0
- package/src/api/queue/index.ts +308 -0
- package/src/api/queue/messages.ts +784 -0
- package/src/api/queue/queues.ts +460 -0
- package/src/api/queue/sources.ts +294 -0
- package/src/api/queue/types.ts +1325 -0
- package/src/api/queue/util.ts +275 -0
- package/src/api/queue/validation.ts +560 -0
- package/src/api/queue/websocket.ts +521 -0
- package/src/api/region/create.ts +207 -0
- package/src/api/region/delete.ts +57 -0
- package/src/api/region/index.ts +4 -0
- package/src/api/region/list.ts +32 -0
- package/src/api/region/resources.ts +69 -0
- package/src/api/region/util.ts +3 -0
- package/src/api/sandbox/cli-list.ts +127 -0
- package/src/api/sandbox/client.ts +460 -0
- package/src/api/sandbox/create.ts +256 -0
- package/src/api/sandbox/destroy.ts +41 -0
- package/src/api/sandbox/disk-checkpoint.ts +179 -0
- package/src/api/sandbox/execute.ts +132 -0
- package/src/api/sandbox/execution.ts +183 -0
- package/src/api/sandbox/files.ts +596 -0
- package/src/api/sandbox/get.ts +249 -0
- package/src/api/sandbox/getStatus.ts +54 -0
- package/src/api/sandbox/index.ts +211 -0
- package/src/api/sandbox/list.ts +224 -0
- package/src/api/sandbox/pause.ts +39 -0
- package/src/api/sandbox/resolve.ts +98 -0
- package/src/api/sandbox/resume.ts +39 -0
- package/src/api/sandbox/run.ts +439 -0
- package/src/api/sandbox/runtime.ts +104 -0
- package/src/api/sandbox/snapshot-build.ts +94 -0
- package/src/api/sandbox/snapshot.ts +781 -0
- package/src/api/sandbox/util.ts +275 -0
- package/src/api/services/index.ts +1 -0
- package/src/api/services/stats.ts +213 -0
- package/src/api/session/get.ts +106 -0
- package/src/api/session/index.ts +3 -0
- package/src/api/session/list.ts +136 -0
- package/src/api/session/logs.ts +47 -0
- package/src/api/session/util.ts +3 -0
- package/src/api/storage/config.ts +111 -0
- package/src/api/storage/index.ts +4 -0
- package/src/api/storage/objects.ts +250 -0
- package/src/api/storage/types.ts +174 -0
- package/src/api/storage/util.ts +4 -0
- package/src/api/stream/get.ts +51 -0
- package/src/api/stream/index.ts +3 -0
- package/src/api/stream/list.ts +127 -0
- package/src/api/stream/util.ts +3 -0
- package/src/api/thread/delete.ts +31 -0
- package/src/api/thread/get.ts +34 -0
- package/src/api/thread/index.ts +4 -0
- package/src/api/thread/list.ts +76 -0
- package/src/api/thread/util.ts +3 -0
- package/src/api/user/index.ts +1 -0
- package/src/api/user/util.ts +3 -0
- package/src/api/user/whoami.ts +32 -0
- package/src/api/webhook/deliveries.ts +129 -0
- package/src/api/webhook/destinations.ts +224 -0
- package/src/api/webhook/index.ts +133 -0
- package/src/api/webhook/receipts.ts +124 -0
- package/src/api/webhook/types.ts +309 -0
- package/src/api/webhook/util.ts +234 -0
- package/src/api/webhook/webhooks.ts +260 -0
- package/src/env-example.ts +90 -0
- package/src/error.ts +16 -9
- package/src/index.ts +209 -206
- package/src/services/email.ts +15 -24
- package/src/services/keyvalue.ts +10 -13
- package/src/services/queue.ts +3 -6
- package/src/services/schedule.ts +8 -19
- package/src/services/stream.ts +11 -17
- package/src/services/vector.ts +9 -12
- package/src/services/webhook.ts +14 -24
package/src/index.ts
CHANGED
|
@@ -1,240 +1,242 @@
|
|
|
1
|
+
// env-example.ts exports
|
|
2
|
+
export type { EnvField, ResourceType } from './env-example.ts';
|
|
3
|
+
export { detectResourceFromKey, parseEnvExample } from './env-example.ts';
|
|
1
4
|
// error.ts exports
|
|
2
|
-
export { RichError, StructuredError
|
|
5
|
+
export { isStructuredError, RichError, StructuredError } from './error.ts';
|
|
3
6
|
|
|
4
7
|
// json.ts exports
|
|
5
8
|
export { safeStringify } from './json.ts';
|
|
6
9
|
|
|
7
10
|
// logger.ts exports
|
|
8
11
|
export type { Logger, LogLevel } from './logger.ts';
|
|
9
|
-
|
|
12
|
+
export { buildUrl, fromResponse, toPayload, toServiceException } from './services/_util.ts';
|
|
10
13
|
// services exports
|
|
11
14
|
export type {
|
|
15
|
+
Body,
|
|
12
16
|
FetchAdapter,
|
|
17
|
+
FetchErrorResponse,
|
|
13
18
|
FetchRequest,
|
|
14
19
|
FetchResponse,
|
|
15
20
|
FetchSuccessResponse,
|
|
16
|
-
FetchErrorResponse,
|
|
17
|
-
Body,
|
|
18
21
|
HttpMethod,
|
|
19
22
|
} from './services/adapter.ts';
|
|
20
|
-
export
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
23
|
+
export {
|
|
24
|
+
type EmailActivityDataPoint,
|
|
25
|
+
type EmailActivityParams,
|
|
26
|
+
type EmailActivityResult,
|
|
27
|
+
type EmailAddress,
|
|
28
|
+
type EmailAttachment,
|
|
29
|
+
type EmailConnectionConfig,
|
|
30
|
+
type EmailDestination,
|
|
31
|
+
type EmailInbound,
|
|
32
|
+
type EmailOutbound,
|
|
33
|
+
type EmailProtocolConfig,
|
|
34
|
+
type EmailSendParams,
|
|
35
|
+
type EmailService,
|
|
36
|
+
EmailStorageService,
|
|
37
|
+
type EmailStoredAttachment,
|
|
38
|
+
} from './services/email.ts';
|
|
39
|
+
export {
|
|
40
|
+
type EvalRunCompleteEvent,
|
|
41
|
+
EvalRunCompleteEventDelayedSchema,
|
|
42
|
+
EvalRunCompleteEventSchema,
|
|
43
|
+
type EvalRunEventProvider,
|
|
44
|
+
type EvalRunStartEvent,
|
|
45
|
+
EvalRunStartEventDelayedSchema,
|
|
46
|
+
EvalRunStartEventSchema,
|
|
47
|
+
} from './services/evalrun.ts';
|
|
27
48
|
export { ServiceException } from './services/exception.ts';
|
|
28
49
|
export {
|
|
50
|
+
type CreateNamespaceParams,
|
|
29
51
|
type DataResult,
|
|
30
52
|
type DataResultFound,
|
|
31
53
|
type DataResultNotFound,
|
|
32
|
-
type KeyValueStorage,
|
|
33
|
-
type KeyValueStorageSetParams,
|
|
34
|
-
type KeyValueStats,
|
|
35
|
-
type KeyValueItemWithMetadata,
|
|
36
|
-
type CreateNamespaceParams,
|
|
37
54
|
type GetAllStatsParams,
|
|
55
|
+
type KeyValueItemWithMetadata,
|
|
56
|
+
type KeyValueStats,
|
|
38
57
|
type KeyValueStatsPaginated,
|
|
39
|
-
type
|
|
40
|
-
KV_MIN_TTL_SECONDS,
|
|
41
|
-
KV_MAX_TTL_SECONDS,
|
|
42
|
-
KV_DEFAULT_TTL_SECONDS,
|
|
58
|
+
type KeyValueStorage,
|
|
43
59
|
KeyValueStorageService,
|
|
60
|
+
type KeyValueStorageSetParams,
|
|
61
|
+
KV_DEFAULT_TTL_SECONDS,
|
|
62
|
+
KV_MAX_TTL_SECONDS,
|
|
63
|
+
KV_MIN_TTL_SECONDS,
|
|
64
|
+
type KVSortField,
|
|
44
65
|
} from './services/keyvalue.ts';
|
|
66
|
+
export type {
|
|
67
|
+
ListParams,
|
|
68
|
+
PaginatedList,
|
|
69
|
+
PaginationParams,
|
|
70
|
+
SortDirection,
|
|
71
|
+
SortParams,
|
|
72
|
+
} from './services/pagination.ts';
|
|
45
73
|
export {
|
|
46
|
-
type SessionEventProvider,
|
|
47
|
-
SessionStartEventSchema,
|
|
48
|
-
SessionCompleteEventSchema,
|
|
49
|
-
SessionStartEventDelayedSchema,
|
|
50
|
-
SessionCompleteEventDelayedSchema,
|
|
51
|
-
type SessionStartEvent,
|
|
52
|
-
type SessionCompleteEvent,
|
|
53
|
-
} from './services/session.ts';
|
|
54
|
-
export {
|
|
55
|
-
type CreateStreamProps,
|
|
56
|
-
type ListStreamsParams,
|
|
57
|
-
type StreamInfo,
|
|
58
|
-
type ListStreamsResponse,
|
|
59
|
-
type Stream,
|
|
60
|
-
type StreamStorage,
|
|
61
|
-
type StreamSortField,
|
|
62
|
-
STREAM_MIN_TTL_SECONDS,
|
|
63
|
-
STREAM_MAX_TTL_SECONDS,
|
|
64
|
-
STREAM_DEFAULT_TTL_SECONDS,
|
|
65
|
-
StreamStorageService,
|
|
66
|
-
} from './services/stream.ts';
|
|
67
|
-
export {
|
|
68
|
-
type VectorUpsertBase,
|
|
69
|
-
type VectorUpsertEmbeddings,
|
|
70
|
-
type VectorUpsertText,
|
|
71
|
-
type VectorUpsertParams,
|
|
72
|
-
type VectorSearchParams,
|
|
73
|
-
type VectorSearchResult,
|
|
74
|
-
type VectorSearchResultWithDocument,
|
|
75
|
-
type VectorUpsertResult,
|
|
76
|
-
type VectorResultFound,
|
|
77
|
-
type VectorResultNotFound,
|
|
78
|
-
type VectorResult,
|
|
79
|
-
type VectorNamespaceStats,
|
|
80
|
-
type VectorItemStats,
|
|
81
|
-
type VectorNamespaceStatsWithSamples,
|
|
82
|
-
type VectorGetAllStatsParams,
|
|
83
|
-
type VectorStatsPaginated,
|
|
84
|
-
type VectorStorage,
|
|
85
|
-
type VectorSortField,
|
|
86
|
-
VECTOR_MIN_TTL_SECONDS,
|
|
87
|
-
VECTOR_MAX_TTL_SECONDS,
|
|
88
|
-
VECTOR_DEFAULT_TTL_SECONDS,
|
|
89
|
-
VectorStorageService,
|
|
90
|
-
} from './services/vector.ts';
|
|
91
|
-
export {
|
|
92
|
-
type QueueService,
|
|
93
|
-
type QueuePublishParams,
|
|
94
|
-
type QueuePublishResult,
|
|
95
74
|
type QueueCreateParams,
|
|
96
75
|
type QueueCreateResult,
|
|
97
|
-
QueueStorageService,
|
|
98
|
-
QueuePublishError,
|
|
99
76
|
QueueNotFoundError,
|
|
77
|
+
QueuePublishError,
|
|
78
|
+
type QueuePublishParams,
|
|
79
|
+
type QueuePublishResult,
|
|
80
|
+
type QueueService,
|
|
81
|
+
QueueStorageService,
|
|
100
82
|
QueueValidationError,
|
|
101
83
|
} from './services/queue.ts';
|
|
102
84
|
export {
|
|
103
|
-
type
|
|
104
|
-
type
|
|
105
|
-
type
|
|
106
|
-
type
|
|
107
|
-
type
|
|
108
|
-
type
|
|
109
|
-
type
|
|
110
|
-
type
|
|
111
|
-
type
|
|
112
|
-
type
|
|
113
|
-
type
|
|
114
|
-
type
|
|
115
|
-
type
|
|
116
|
-
|
|
117
|
-
|
|
85
|
+
type ExecuteOptions,
|
|
86
|
+
type Execution,
|
|
87
|
+
type ExecutionStatus,
|
|
88
|
+
type FileToWrite,
|
|
89
|
+
type ListRuntimesParams,
|
|
90
|
+
type ListRuntimesResponse,
|
|
91
|
+
type ListSandboxesParams,
|
|
92
|
+
type ListSandboxesResponse,
|
|
93
|
+
type RuntimeSortField,
|
|
94
|
+
type Sandbox,
|
|
95
|
+
type SandboxAgentInfo,
|
|
96
|
+
type SandboxCommand,
|
|
97
|
+
type SandboxCreateOptions,
|
|
98
|
+
SandboxError,
|
|
99
|
+
type SandboxInfo,
|
|
100
|
+
type SandboxNetworkConfig,
|
|
101
|
+
type SandboxOrgInfo,
|
|
102
|
+
type SandboxProjectInfo,
|
|
103
|
+
type SandboxResources,
|
|
104
|
+
type SandboxRunOptions,
|
|
105
|
+
type SandboxRunResult,
|
|
106
|
+
type SandboxRuntime,
|
|
107
|
+
type SandboxRuntimeInfo,
|
|
108
|
+
type SandboxRuntimeRequirements,
|
|
109
|
+
type SandboxService,
|
|
110
|
+
type SandboxSnapshotInfo,
|
|
111
|
+
type SandboxSnapshotInfoPrivate,
|
|
112
|
+
type SandboxSnapshotInfoPublic,
|
|
113
|
+
type SandboxSnapshotOrgInfo,
|
|
114
|
+
type SandboxSnapshotUserInfo,
|
|
115
|
+
type SandboxSortField,
|
|
116
|
+
type SandboxStatus,
|
|
117
|
+
type SandboxStreamConfig,
|
|
118
|
+
type SandboxTimeoutConfig,
|
|
119
|
+
type SandboxUserInfo,
|
|
120
|
+
type SnapshotCreateOptions,
|
|
121
|
+
// Snapshot types
|
|
122
|
+
type SnapshotFileInfo,
|
|
123
|
+
type SnapshotInfo,
|
|
124
|
+
type SnapshotListParams,
|
|
125
|
+
type SnapshotListResponse,
|
|
126
|
+
type SnapshotOrgInfo,
|
|
127
|
+
type SnapshotService,
|
|
128
|
+
type SnapshotSortField,
|
|
129
|
+
type SnapshotUserInfo,
|
|
130
|
+
type StreamReader,
|
|
131
|
+
} from './services/sandbox.ts';
|
|
118
132
|
export {
|
|
119
|
-
type Schedule,
|
|
120
|
-
type ScheduleDestination,
|
|
121
|
-
type ScheduleDelivery,
|
|
122
|
-
type CreateScheduleParams,
|
|
123
133
|
type CreateScheduleDestinationParams,
|
|
124
|
-
type
|
|
125
|
-
type
|
|
126
|
-
type ScheduleGetResult,
|
|
134
|
+
type CreateScheduleParams,
|
|
135
|
+
type Schedule,
|
|
127
136
|
type ScheduleCreateResult,
|
|
137
|
+
type ScheduleDelivery,
|
|
128
138
|
type ScheduleDeliveryListResult,
|
|
139
|
+
type ScheduleDestination,
|
|
140
|
+
type ScheduleGetResult,
|
|
141
|
+
type ScheduleListResult,
|
|
129
142
|
ScheduleService,
|
|
143
|
+
type UpdateScheduleParams,
|
|
130
144
|
} from './services/schedule.ts';
|
|
131
145
|
export {
|
|
132
|
-
type
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
type
|
|
136
|
-
type
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
type WebhookGetResult,
|
|
141
|
-
type WebhookCreateResult,
|
|
142
|
-
type WebhookReceiptListResult,
|
|
143
|
-
type WebhookDeliveryListResult,
|
|
144
|
-
WebhookService,
|
|
145
|
-
} from './services/webhook.ts';
|
|
146
|
+
type SessionCompleteEvent,
|
|
147
|
+
SessionCompleteEventDelayedSchema,
|
|
148
|
+
SessionCompleteEventSchema,
|
|
149
|
+
type SessionEventProvider,
|
|
150
|
+
type SessionStartEvent,
|
|
151
|
+
SessionStartEventDelayedSchema,
|
|
152
|
+
SessionStartEventSchema,
|
|
153
|
+
} from './services/session.ts';
|
|
146
154
|
export {
|
|
147
|
-
type
|
|
148
|
-
type
|
|
149
|
-
type
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
type
|
|
154
|
-
type
|
|
155
|
-
type
|
|
156
|
-
type
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
type
|
|
161
|
-
type BatchDeleteTasksParams,
|
|
155
|
+
type CreateStreamProps,
|
|
156
|
+
type ListStreamsParams,
|
|
157
|
+
type ListStreamsResponse,
|
|
158
|
+
STREAM_DEFAULT_TTL_SECONDS,
|
|
159
|
+
STREAM_MAX_TTL_SECONDS,
|
|
160
|
+
STREAM_MIN_TTL_SECONDS,
|
|
161
|
+
type Stream,
|
|
162
|
+
type StreamInfo,
|
|
163
|
+
type StreamSortField,
|
|
164
|
+
type StreamStorage,
|
|
165
|
+
StreamStorageService,
|
|
166
|
+
} from './services/stream.ts';
|
|
167
|
+
export {
|
|
168
|
+
type Attachment,
|
|
162
169
|
type BatchDeletedTask,
|
|
170
|
+
type BatchDeleteTasksParams,
|
|
163
171
|
type BatchDeleteTasksResult,
|
|
164
|
-
type
|
|
172
|
+
type Comment,
|
|
173
|
+
type CreateAttachmentParams,
|
|
174
|
+
type CreateTaskParams,
|
|
175
|
+
type EntityRef,
|
|
176
|
+
type ListAttachmentsResult,
|
|
165
177
|
type ListCommentsResult,
|
|
178
|
+
type ListProjectsResult,
|
|
166
179
|
type ListTagsResult,
|
|
180
|
+
type ListTasksParams,
|
|
181
|
+
type ListTasksResult,
|
|
167
182
|
type ListUsersResult,
|
|
168
|
-
type
|
|
169
|
-
type
|
|
183
|
+
type PresignDownloadResponse,
|
|
184
|
+
type PresignUploadResponse,
|
|
185
|
+
type Tag,
|
|
186
|
+
type Task,
|
|
170
187
|
type TaskActivityDataPoint,
|
|
188
|
+
type TaskActivityParams,
|
|
171
189
|
type TaskActivityResult,
|
|
190
|
+
type TaskChangelogEntry,
|
|
191
|
+
type TaskChangelogResult,
|
|
192
|
+
type TaskPriority,
|
|
193
|
+
type TaskStatus,
|
|
172
194
|
type TaskStorage,
|
|
173
|
-
type Attachment,
|
|
174
|
-
type CreateAttachmentParams,
|
|
175
|
-
type PresignUploadResponse,
|
|
176
|
-
type PresignDownloadResponse,
|
|
177
|
-
type ListAttachmentsResult,
|
|
178
195
|
TaskStorageService,
|
|
196
|
+
type TaskType,
|
|
197
|
+
type UpdateTaskParams,
|
|
198
|
+
type UserEntityRef,
|
|
199
|
+
type UserType,
|
|
179
200
|
} from './services/task.ts';
|
|
180
201
|
export {
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
type
|
|
187
|
-
type
|
|
188
|
-
|
|
202
|
+
VECTOR_DEFAULT_TTL_SECONDS,
|
|
203
|
+
VECTOR_MAX_TTL_SECONDS,
|
|
204
|
+
VECTOR_MIN_TTL_SECONDS,
|
|
205
|
+
type VectorGetAllStatsParams,
|
|
206
|
+
type VectorItemStats,
|
|
207
|
+
type VectorNamespaceStats,
|
|
208
|
+
type VectorNamespaceStatsWithSamples,
|
|
209
|
+
type VectorResult,
|
|
210
|
+
type VectorResultFound,
|
|
211
|
+
type VectorResultNotFound,
|
|
212
|
+
type VectorSearchParams,
|
|
213
|
+
type VectorSearchResult,
|
|
214
|
+
type VectorSearchResultWithDocument,
|
|
215
|
+
type VectorSortField,
|
|
216
|
+
type VectorStatsPaginated,
|
|
217
|
+
type VectorStorage,
|
|
218
|
+
VectorStorageService,
|
|
219
|
+
type VectorUpsertBase,
|
|
220
|
+
type VectorUpsertEmbeddings,
|
|
221
|
+
type VectorUpsertParams,
|
|
222
|
+
type VectorUpsertResult,
|
|
223
|
+
type VectorUpsertText,
|
|
224
|
+
} from './services/vector.ts';
|
|
189
225
|
export {
|
|
190
|
-
type
|
|
191
|
-
type
|
|
192
|
-
type
|
|
193
|
-
type
|
|
194
|
-
type
|
|
195
|
-
type
|
|
196
|
-
type
|
|
197
|
-
type
|
|
198
|
-
type
|
|
199
|
-
type
|
|
200
|
-
type
|
|
201
|
-
type
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
type SandboxInfo,
|
|
205
|
-
type SandboxRuntimeInfo,
|
|
206
|
-
type SandboxSnapshotInfo,
|
|
207
|
-
type SandboxSnapshotInfoPublic,
|
|
208
|
-
type SandboxSnapshotInfoPrivate,
|
|
209
|
-
type SandboxSnapshotUserInfo,
|
|
210
|
-
type SandboxSnapshotOrgInfo,
|
|
211
|
-
type SnapshotSortField,
|
|
212
|
-
type SandboxUserInfo,
|
|
213
|
-
type SandboxAgentInfo,
|
|
214
|
-
type SandboxProjectInfo,
|
|
215
|
-
type SandboxOrgInfo,
|
|
216
|
-
type ListSandboxesParams,
|
|
217
|
-
type ListSandboxesResponse,
|
|
218
|
-
type ListRuntimesParams,
|
|
219
|
-
type ListRuntimesResponse,
|
|
220
|
-
type ExecuteOptions,
|
|
221
|
-
type Execution,
|
|
222
|
-
type SandboxRunOptions,
|
|
223
|
-
type SandboxRunResult,
|
|
224
|
-
type SandboxService,
|
|
225
|
-
type FileToWrite,
|
|
226
|
-
// Snapshot types
|
|
227
|
-
type SnapshotFileInfo,
|
|
228
|
-
type SnapshotOrgInfo,
|
|
229
|
-
type SnapshotUserInfo,
|
|
230
|
-
type SnapshotInfo,
|
|
231
|
-
type SnapshotCreateOptions,
|
|
232
|
-
type SnapshotListParams,
|
|
233
|
-
type SnapshotListResponse,
|
|
234
|
-
type SnapshotService,
|
|
235
|
-
SandboxError,
|
|
236
|
-
} from './services/sandbox.ts';
|
|
237
|
-
export { buildUrl, toServiceException, toPayload, fromResponse } from './services/_util.ts';
|
|
226
|
+
type CreateWebhookDestinationParams,
|
|
227
|
+
type CreateWebhookParams,
|
|
228
|
+
type UpdateWebhookParams,
|
|
229
|
+
type Webhook,
|
|
230
|
+
type WebhookCreateResult,
|
|
231
|
+
type WebhookDelivery,
|
|
232
|
+
type WebhookDeliveryListResult,
|
|
233
|
+
type WebhookDestination,
|
|
234
|
+
type WebhookGetResult,
|
|
235
|
+
type WebhookListResult,
|
|
236
|
+
type WebhookReceipt,
|
|
237
|
+
type WebhookReceiptListResult,
|
|
238
|
+
WebhookService,
|
|
239
|
+
} from './services/webhook.ts';
|
|
238
240
|
|
|
239
241
|
// standard_schema.ts exports
|
|
240
242
|
export type { StandardSchemaV1 } from './standard_schema.ts';
|
|
@@ -244,34 +246,35 @@ export { toCamelCase, toPascalCase } from './string.ts';
|
|
|
244
246
|
|
|
245
247
|
// typehelper.ts exports
|
|
246
248
|
export type { InferInput, InferOutput } from './typehelper.ts';
|
|
247
|
-
|
|
248
|
-
// workbench exports
|
|
249
|
-
export {
|
|
250
|
-
WorkbenchConfigError,
|
|
251
|
-
WorkbenchNotFoundError,
|
|
252
|
-
encodeWorkbenchConfig,
|
|
253
|
-
decodeWorkbenchConfig,
|
|
254
|
-
getWorkbenchConfig,
|
|
255
|
-
type WorkbenchConfig,
|
|
256
|
-
} from './workbench-config.ts';
|
|
257
|
-
|
|
258
249
|
// webrtc.ts exports
|
|
259
250
|
export type {
|
|
260
|
-
|
|
261
|
-
ICECandidate,
|
|
262
|
-
SignalMessage,
|
|
263
|
-
SignalMsg,
|
|
264
|
-
WebRTCConnectionState,
|
|
265
|
-
WebRTCDisconnectReason,
|
|
251
|
+
ConnectionQualitySummary,
|
|
266
252
|
DataChannelConfig,
|
|
267
253
|
DataChannelMessage,
|
|
268
254
|
DataChannelState,
|
|
269
|
-
|
|
270
|
-
ConnectionQualitySummary,
|
|
271
|
-
RecordingOptions,
|
|
255
|
+
ICECandidate,
|
|
272
256
|
RecordingHandle,
|
|
257
|
+
RecordingOptions,
|
|
273
258
|
RecordingState,
|
|
259
|
+
SDPDescription,
|
|
260
|
+
SignalMessage,
|
|
261
|
+
SignalMsg,
|
|
274
262
|
TrackSource,
|
|
263
|
+
WebRTCConnectionState,
|
|
264
|
+
WebRTCDisconnectReason,
|
|
265
|
+
WebRTCSignalingCallbacks,
|
|
275
266
|
} from './webrtc.ts';
|
|
267
|
+
// workbench exports
|
|
268
|
+
export {
|
|
269
|
+
decodeWorkbenchConfig,
|
|
270
|
+
encodeWorkbenchConfig,
|
|
271
|
+
getWorkbenchConfig,
|
|
272
|
+
type WorkbenchConfig,
|
|
273
|
+
WorkbenchConfigError,
|
|
274
|
+
WorkbenchNotFoundError,
|
|
275
|
+
} from './workbench-config.ts';
|
|
276
276
|
|
|
277
277
|
// Client code moved to @agentuity/frontend for better bundler compatibility
|
|
278
|
+
|
|
279
|
+
// API client and modules (moved from @agentuity/server)
|
|
280
|
+
export * from './api/index.ts';
|
package/src/services/email.ts
CHANGED
|
@@ -743,7 +743,7 @@ export class EmailStorageService implements EmailService {
|
|
|
743
743
|
* ```
|
|
744
744
|
*/
|
|
745
745
|
async createAddress(localPart: string): Promise<EmailAddress> {
|
|
746
|
-
const url = buildUrl(this.#baseUrl, '/email/
|
|
746
|
+
const url = buildUrl(this.#baseUrl, '/email/addresses');
|
|
747
747
|
const signal = AbortSignal.timeout(30_000);
|
|
748
748
|
const res = await this.#adapter.invoke<unknown>(url, {
|
|
749
749
|
method: 'POST',
|
|
@@ -778,7 +778,7 @@ export class EmailStorageService implements EmailService {
|
|
|
778
778
|
* ```
|
|
779
779
|
*/
|
|
780
780
|
async listAddresses(): Promise<EmailAddress[]> {
|
|
781
|
-
const url = buildUrl(this.#baseUrl, '/email/
|
|
781
|
+
const url = buildUrl(this.#baseUrl, '/email/addresses');
|
|
782
782
|
const signal = AbortSignal.timeout(30_000);
|
|
783
783
|
const res = await this.#adapter.invoke<unknown>(url, {
|
|
784
784
|
method: 'GET',
|
|
@@ -814,7 +814,7 @@ export class EmailStorageService implements EmailService {
|
|
|
814
814
|
* ```
|
|
815
815
|
*/
|
|
816
816
|
async getAddress(id: string): Promise<EmailAddress | null> {
|
|
817
|
-
const url = buildUrl(this.#baseUrl, `/email/
|
|
817
|
+
const url = buildUrl(this.#baseUrl, `/email/addresses/${encodeURIComponent(id)}`);
|
|
818
818
|
const signal = AbortSignal.timeout(30_000);
|
|
819
819
|
const res = await this.#adapter.invoke<unknown>(url, {
|
|
820
820
|
method: 'GET',
|
|
@@ -855,10 +855,7 @@ export class EmailStorageService implements EmailService {
|
|
|
855
855
|
* ```
|
|
856
856
|
*/
|
|
857
857
|
async getConnectionConfig(id: string): Promise<EmailConnectionConfig | null> {
|
|
858
|
-
const url = buildUrl(
|
|
859
|
-
this.#baseUrl,
|
|
860
|
-
`/email/2025-03-17/addresses/${encodeURIComponent(id)}/connection`
|
|
861
|
-
);
|
|
858
|
+
const url = buildUrl(this.#baseUrl, `/email/addresses/${encodeURIComponent(id)}/connection`);
|
|
862
859
|
const signal = AbortSignal.timeout(30_000);
|
|
863
860
|
const res = await this.#adapter.invoke<unknown>(url, {
|
|
864
861
|
method: 'GET',
|
|
@@ -893,7 +890,7 @@ export class EmailStorageService implements EmailService {
|
|
|
893
890
|
* ```
|
|
894
891
|
*/
|
|
895
892
|
async deleteAddress(id: string): Promise<void> {
|
|
896
|
-
const url = buildUrl(this.#baseUrl, `/email/
|
|
893
|
+
const url = buildUrl(this.#baseUrl, `/email/addresses/${encodeURIComponent(id)}`);
|
|
897
894
|
const signal = AbortSignal.timeout(30_000);
|
|
898
895
|
const res = await this.#adapter.invoke<unknown>(url, {
|
|
899
896
|
method: 'DELETE',
|
|
@@ -940,7 +937,7 @@ export class EmailStorageService implements EmailService {
|
|
|
940
937
|
): Promise<EmailDestination> {
|
|
941
938
|
const url = buildUrl(
|
|
942
939
|
this.#baseUrl,
|
|
943
|
-
`/email/
|
|
940
|
+
`/email/addresses/${encodeURIComponent(addressId)}/destinations`
|
|
944
941
|
);
|
|
945
942
|
const signal = AbortSignal.timeout(30_000);
|
|
946
943
|
const res = await this.#adapter.invoke<unknown>(url, {
|
|
@@ -980,7 +977,7 @@ export class EmailStorageService implements EmailService {
|
|
|
980
977
|
async listDestinations(addressId: string): Promise<EmailDestination[]> {
|
|
981
978
|
const url = buildUrl(
|
|
982
979
|
this.#baseUrl,
|
|
983
|
-
`/email/
|
|
980
|
+
`/email/addresses/${encodeURIComponent(addressId)}/destinations`
|
|
984
981
|
);
|
|
985
982
|
const signal = AbortSignal.timeout(30_000);
|
|
986
983
|
const res = await this.#adapter.invoke<unknown>(url, {
|
|
@@ -1020,7 +1017,7 @@ export class EmailStorageService implements EmailService {
|
|
|
1020
1017
|
async deleteDestination(addressId: string, destinationId: string): Promise<void> {
|
|
1021
1018
|
const url = buildUrl(
|
|
1022
1019
|
this.#baseUrl,
|
|
1023
|
-
`/email/
|
|
1020
|
+
`/email/addresses/${encodeURIComponent(addressId)}/destinations/${encodeURIComponent(destinationId)}`
|
|
1024
1021
|
);
|
|
1025
1022
|
const signal = AbortSignal.timeout(30_000);
|
|
1026
1023
|
const res = await this.#adapter.invoke<unknown>(url, {
|
|
@@ -1073,7 +1070,7 @@ export class EmailStorageService implements EmailService {
|
|
|
1073
1070
|
* ```
|
|
1074
1071
|
*/
|
|
1075
1072
|
async send(params: EmailSendParams): Promise<EmailOutbound> {
|
|
1076
|
-
const url = buildUrl(this.#baseUrl, '/email/
|
|
1073
|
+
const url = buildUrl(this.#baseUrl, '/email/outbound/send');
|
|
1077
1074
|
const signal = AbortSignal.timeout(30_000);
|
|
1078
1075
|
|
|
1079
1076
|
// Transform attachments to API format (snake_case)
|
|
@@ -1144,10 +1141,7 @@ export class EmailStorageService implements EmailService {
|
|
|
1144
1141
|
queryParams.set('address_id', addressId);
|
|
1145
1142
|
}
|
|
1146
1143
|
const queryString = queryParams.toString();
|
|
1147
|
-
const url = buildUrl(
|
|
1148
|
-
this.#baseUrl,
|
|
1149
|
-
`/email/2025-03-17/inbound${queryString ? `?${queryString}` : ''}`
|
|
1150
|
-
);
|
|
1144
|
+
const url = buildUrl(this.#baseUrl, `/email/inbound${queryString ? `?${queryString}` : ''}`);
|
|
1151
1145
|
const signal = AbortSignal.timeout(30_000);
|
|
1152
1146
|
const res = await this.#adapter.invoke<unknown>(url, {
|
|
1153
1147
|
method: 'GET',
|
|
@@ -1186,7 +1180,7 @@ export class EmailStorageService implements EmailService {
|
|
|
1186
1180
|
* ```
|
|
1187
1181
|
*/
|
|
1188
1182
|
async getInbound(id: string): Promise<EmailInbound | null> {
|
|
1189
|
-
const url = buildUrl(this.#baseUrl, `/email/
|
|
1183
|
+
const url = buildUrl(this.#baseUrl, `/email/inbound/${encodeURIComponent(id)}`);
|
|
1190
1184
|
const signal = AbortSignal.timeout(30_000);
|
|
1191
1185
|
const res = await this.#adapter.invoke<unknown>(url, {
|
|
1192
1186
|
method: 'GET',
|
|
@@ -1221,7 +1215,7 @@ export class EmailStorageService implements EmailService {
|
|
|
1221
1215
|
* ```
|
|
1222
1216
|
*/
|
|
1223
1217
|
async deleteInbound(id: string): Promise<void> {
|
|
1224
|
-
const url = buildUrl(this.#baseUrl, `/email/
|
|
1218
|
+
const url = buildUrl(this.#baseUrl, `/email/inbound/${encodeURIComponent(id)}`);
|
|
1225
1219
|
const signal = AbortSignal.timeout(30_000);
|
|
1226
1220
|
const res = await this.#adapter.invoke<unknown>(url, {
|
|
1227
1221
|
method: 'DELETE',
|
|
@@ -1265,10 +1259,7 @@ export class EmailStorageService implements EmailService {
|
|
|
1265
1259
|
queryParams.set('address_id', addressId);
|
|
1266
1260
|
}
|
|
1267
1261
|
const queryString = queryParams.toString();
|
|
1268
|
-
const url = buildUrl(
|
|
1269
|
-
this.#baseUrl,
|
|
1270
|
-
`/email/2025-03-17/outbound${queryString ? `?${queryString}` : ''}`
|
|
1271
|
-
);
|
|
1262
|
+
const url = buildUrl(this.#baseUrl, `/email/outbound${queryString ? `?${queryString}` : ''}`);
|
|
1272
1263
|
const signal = AbortSignal.timeout(30_000);
|
|
1273
1264
|
const res = await this.#adapter.invoke<unknown>(url, {
|
|
1274
1265
|
method: 'GET',
|
|
@@ -1309,7 +1300,7 @@ export class EmailStorageService implements EmailService {
|
|
|
1309
1300
|
* ```
|
|
1310
1301
|
*/
|
|
1311
1302
|
async getOutbound(id: string): Promise<EmailOutbound | null> {
|
|
1312
|
-
const url = buildUrl(this.#baseUrl, `/email/
|
|
1303
|
+
const url = buildUrl(this.#baseUrl, `/email/outbound/${encodeURIComponent(id)}`);
|
|
1313
1304
|
const signal = AbortSignal.timeout(30_000);
|
|
1314
1305
|
const res = await this.#adapter.invoke<unknown>(url, {
|
|
1315
1306
|
method: 'GET',
|
|
@@ -1344,7 +1335,7 @@ export class EmailStorageService implements EmailService {
|
|
|
1344
1335
|
* ```
|
|
1345
1336
|
*/
|
|
1346
1337
|
async deleteOutbound(id: string): Promise<void> {
|
|
1347
|
-
const url = buildUrl(this.#baseUrl, `/email/
|
|
1338
|
+
const url = buildUrl(this.#baseUrl, `/email/outbound/${encodeURIComponent(id)}`);
|
|
1348
1339
|
const signal = AbortSignal.timeout(30_000);
|
|
1349
1340
|
const res = await this.#adapter.invoke<unknown>(url, {
|
|
1350
1341
|
method: 'DELETE',
|