@agentuity/server 1.0.32 → 1.0.34
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 +1 -227
- package/dist/api/api.d.ts.map +1 -1
- package/dist/api/api.js +1 -637
- package/dist/api/api.js.map +1 -1
- package/dist/api/index.d.ts +1 -17
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/index.js +1 -17
- package/dist/api/index.js.map +1 -1
- package/dist/api/org/env-delete.d.ts +1 -22
- package/dist/api/org/env-delete.d.ts.map +1 -1
- package/dist/api/org/env-delete.js +1 -24
- package/dist/api/org/env-delete.js.map +1 -1
- package/dist/api/org/env-get.d.ts +1 -32
- package/dist/api/org/env-get.d.ts.map +1 -1
- package/dist/api/org/env-get.js +1 -25
- package/dist/api/org/env-get.js.map +1 -1
- package/dist/api/org/env-update.d.ts +1 -23
- package/dist/api/org/env-update.d.ts.map +1 -1
- package/dist/api/org/env-update.js +1 -25
- package/dist/api/org/env-update.js.map +1 -1
- package/dist/api/project/get.d.ts +1 -42
- package/dist/api/project/get.d.ts.map +1 -1
- package/dist/api/project/get.js +1 -35
- package/dist/api/project/get.js.map +1 -1
- package/dist/api/project/list.d.ts +1 -47
- package/dist/api/project/list.d.ts.map +1 -1
- package/dist/api/project/list.js +1 -37
- package/dist/api/project/list.js.map +1 -1
- package/dist/api/project/malware.d.ts +1 -70
- package/dist/api/project/malware.d.ts.map +1 -1
- package/dist/api/project/malware.js +1 -41
- package/dist/api/project/malware.js.map +1 -1
- package/dist/api/region/create.d.ts +1 -80
- package/dist/api/region/create.d.ts.map +1 -1
- package/dist/api/region/create.js +1 -176
- package/dist/api/region/create.js.map +1 -1
- package/dist/api/sandbox/client.d.ts +1 -190
- package/dist/api/sandbox/client.d.ts.map +1 -1
- package/dist/api/sandbox/client.js +1 -260
- package/dist/api/sandbox/client.js.map +1 -1
- package/dist/api/sandbox/pause.d.ts +1 -21
- package/dist/api/sandbox/pause.d.ts.map +1 -1
- package/dist/api/sandbox/pause.js +1 -24
- package/dist/api/sandbox/pause.js.map +1 -1
- package/dist/api/sandbox/resume.d.ts +1 -21
- package/dist/api/sandbox/resume.d.ts.map +1 -1
- package/dist/api/sandbox/resume.js +1 -24
- package/dist/api/sandbox/resume.js.map +1 -1
- package/dist/api/sandbox/util.d.ts +1 -284
- package/dist/api/sandbox/util.d.ts.map +1 -1
- package/dist/api/sandbox/util.js +1 -210
- package/dist/api/sandbox/util.js.map +1 -1
- package/dist/api/user/whoami.d.ts +1 -38
- package/dist/api/user/whoami.d.ts.map +1 -1
- package/dist/api/user/whoami.js +1 -26
- package/dist/api/user/whoami.js.map +1 -1
- package/dist/index.d.ts +1 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -12
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
- package/src/api/api.ts +1 -936
- package/src/api/index.ts +1 -17
- package/src/api/org/env-delete.ts +1 -37
- package/src/api/org/env-get.ts +1 -43
- package/src/api/org/env-update.ts +1 -38
- package/src/api/project/get.ts +1 -49
- package/src/api/project/list.ts +1 -54
- package/src/api/project/malware.ts +1 -68
- package/src/api/region/create.ts +1 -207
- package/src/api/sandbox/client.ts +1 -460
- package/src/api/sandbox/pause.ts +1 -39
- package/src/api/sandbox/resume.ts +1 -39
- package/src/api/sandbox/util.ts +1 -276
- package/src/api/user/whoami.ts +1 -32
- package/src/index.ts +3 -30
- package/dist/api/apikey/create.d.ts +0 -33
- package/dist/api/apikey/create.d.ts.map +0 -1
- package/dist/api/apikey/create.js +0 -23
- package/dist/api/apikey/create.js.map +0 -1
- package/dist/api/apikey/delete.d.ts +0 -19
- package/dist/api/apikey/delete.d.ts.map +0 -1
- package/dist/api/apikey/delete.js +0 -19
- package/dist/api/apikey/delete.js.map +0 -1
- package/dist/api/apikey/get.d.ts +0 -45
- package/dist/api/apikey/get.d.ts.map +0 -1
- package/dist/api/apikey/get.js +0 -36
- package/dist/api/apikey/get.js.map +0 -1
- package/dist/api/apikey/index.d.ts +0 -6
- package/dist/api/apikey/index.d.ts.map +0 -1
- package/dist/api/apikey/index.js +0 -6
- package/dist/api/apikey/index.js.map +0 -1
- package/dist/api/apikey/list.d.ts +0 -64
- package/dist/api/apikey/list.d.ts.map +0 -1
- package/dist/api/apikey/list.js +0 -46
- package/dist/api/apikey/list.js.map +0 -1
- package/dist/api/apikey/util.d.ts +0 -23
- package/dist/api/apikey/util.d.ts.map +0 -1
- package/dist/api/apikey/util.js +0 -3
- package/dist/api/apikey/util.js.map +0 -1
- package/dist/api/db/index.d.ts +0 -5
- package/dist/api/db/index.d.ts.map +0 -1
- package/dist/api/db/index.js +0 -5
- package/dist/api/db/index.js.map +0 -1
- package/dist/api/db/logs.d.ts +0 -70
- package/dist/api/db/logs.d.ts.map +0 -1
- package/dist/api/db/logs.js +0 -59
- package/dist/api/db/logs.js.map +0 -1
- package/dist/api/db/query.d.ts +0 -39
- package/dist/api/db/query.d.ts.map +0 -1
- package/dist/api/db/query.js +0 -49
- package/dist/api/db/query.js.map +0 -1
- package/dist/api/db/tables.d.ts +0 -49
- package/dist/api/db/tables.d.ts.map +0 -1
- package/dist/api/db/tables.js +0 -59
- package/dist/api/db/tables.js.map +0 -1
- package/dist/api/db/util.d.ts +0 -31
- package/dist/api/db/util.d.ts.map +0 -1
- package/dist/api/db/util.js +0 -4
- package/dist/api/db/util.js.map +0 -1
- package/dist/api/eval/get.d.ts +0 -36
- package/dist/api/eval/get.d.ts.map +0 -1
- package/dist/api/eval/get.js +0 -23
- package/dist/api/eval/get.js.map +0 -1
- package/dist/api/eval/index.d.ts +0 -5
- package/dist/api/eval/index.d.ts.map +0 -1
- package/dist/api/eval/index.js +0 -5
- package/dist/api/eval/index.js.map +0 -1
- package/dist/api/eval/list.d.ts +0 -50
- package/dist/api/eval/list.d.ts.map +0 -1
- package/dist/api/eval/list.js +0 -32
- package/dist/api/eval/list.js.map +0 -1
- package/dist/api/eval/run-get.d.ts +0 -48
- package/dist/api/eval/run-get.d.ts.map +0 -1
- package/dist/api/eval/run-get.js +0 -29
- package/dist/api/eval/run-get.js.map +0 -1
- package/dist/api/eval/run-list.d.ts +0 -70
- package/dist/api/eval/run-list.d.ts.map +0 -1
- package/dist/api/eval/run-list.js +0 -42
- package/dist/api/eval/run-list.js.map +0 -1
- package/dist/api/machine/index.d.ts +0 -3
- package/dist/api/machine/index.d.ts.map +0 -1
- package/dist/api/machine/index.js +0 -3
- package/dist/api/machine/index.js.map +0 -1
- package/dist/api/machine/machine.d.ts +0 -192
- package/dist/api/machine/machine.d.ts.map +0 -1
- package/dist/api/machine/machine.js +0 -109
- package/dist/api/machine/machine.js.map +0 -1
- package/dist/api/machine/util.d.ts +0 -14
- package/dist/api/machine/util.d.ts.map +0 -1
- package/dist/api/machine/util.js +0 -3
- package/dist/api/machine/util.js.map +0 -1
- package/dist/api/org/index.d.ts +0 -7
- package/dist/api/org/index.d.ts.map +0 -1
- package/dist/api/org/index.js +0 -7
- package/dist/api/org/index.js.map +0 -1
- package/dist/api/org/list.d.ts +0 -27
- package/dist/api/org/list.d.ts.map +0 -1
- package/dist/api/org/list.js +0 -22
- package/dist/api/org/list.js.map +0 -1
- package/dist/api/org/resources.d.ts +0 -141
- package/dist/api/org/resources.d.ts.map +0 -1
- package/dist/api/org/resources.js +0 -97
- package/dist/api/org/resources.js.map +0 -1
- package/dist/api/org/util.d.ts +0 -45
- package/dist/api/org/util.d.ts.map +0 -1
- package/dist/api/org/util.js +0 -4
- package/dist/api/org/util.js.map +0 -1
- package/dist/api/project/agent.d.ts +0 -89
- package/dist/api/project/agent.d.ts.map +0 -1
- package/dist/api/project/agent.js +0 -60
- package/dist/api/project/agent.js.map +0 -1
- package/dist/api/project/create.d.ts +0 -37
- package/dist/api/project/create.d.ts.map +0 -1
- package/dist/api/project/create.js +0 -31
- package/dist/api/project/create.js.map +0 -1
- package/dist/api/project/delete.d.ts +0 -15
- package/dist/api/project/delete.d.ts.map +0 -1
- package/dist/api/project/delete.js +0 -13
- package/dist/api/project/delete.js.map +0 -1
- package/dist/api/project/deploy.d.ts +0 -490
- package/dist/api/project/deploy.d.ts.map +0 -1
- package/dist/api/project/deploy.js +0 -313
- package/dist/api/project/deploy.js.map +0 -1
- package/dist/api/project/deployment.d.ts +0 -237
- package/dist/api/project/deployment.d.ts.map +0 -1
- package/dist/api/project/deployment.js +0 -127
- package/dist/api/project/deployment.js.map +0 -1
- package/dist/api/project/env-delete.d.ts +0 -22
- package/dist/api/project/env-delete.d.ts.map +0 -1
- package/dist/api/project/env-delete.js +0 -29
- package/dist/api/project/env-delete.js.map +0 -1
- package/dist/api/project/env-update.d.ts +0 -31
- package/dist/api/project/env-update.d.ts.map +0 -1
- package/dist/api/project/env-update.js +0 -36
- package/dist/api/project/env-update.js.map +0 -1
- package/dist/api/project/exists.d.ts +0 -25
- package/dist/api/project/exists.d.ts.map +0 -1
- package/dist/api/project/exists.js +0 -45
- package/dist/api/project/exists.js.map +0 -1
- package/dist/api/project/hostname.d.ts +0 -25
- package/dist/api/project/hostname.d.ts.map +0 -1
- package/dist/api/project/hostname.js +0 -37
- package/dist/api/project/hostname.js.map +0 -1
- package/dist/api/project/index.d.ts +0 -14
- package/dist/api/project/index.d.ts.map +0 -1
- package/dist/api/project/index.js +0 -14
- package/dist/api/project/index.js.map +0 -1
- package/dist/api/project/update-region.d.ts +0 -27
- package/dist/api/project/update-region.d.ts.map +0 -1
- package/dist/api/project/update-region.js +0 -25
- package/dist/api/project/update-region.js.map +0 -1
- package/dist/api/project/util.d.ts +0 -62
- package/dist/api/project/util.d.ts.map +0 -1
- package/dist/api/project/util.js +0 -6
- package/dist/api/project/util.js.map +0 -1
- package/dist/api/queue/analytics.d.ts +0 -250
- package/dist/api/queue/analytics.d.ts.map +0 -1
- package/dist/api/queue/analytics.js +0 -233
- package/dist/api/queue/analytics.js.map +0 -1
- package/dist/api/queue/destinations.d.ts +0 -202
- package/dist/api/queue/destinations.d.ts.map +0 -1
- package/dist/api/queue/destinations.js +0 -168
- package/dist/api/queue/destinations.js.map +0 -1
- package/dist/api/queue/dlq.d.ts +0 -168
- package/dist/api/queue/dlq.d.ts.map +0 -1
- package/dist/api/queue/dlq.js +0 -166
- package/dist/api/queue/dlq.js.map +0 -1
- package/dist/api/queue/index.d.ts +0 -56
- package/dist/api/queue/index.d.ts.map +0 -1
- package/dist/api/queue/index.js +0 -90
- package/dist/api/queue/index.js.map +0 -1
- package/dist/api/queue/messages.d.ts +0 -503
- package/dist/api/queue/messages.d.ts.map +0 -1
- package/dist/api/queue/messages.js +0 -549
- package/dist/api/queue/messages.js.map +0 -1
- package/dist/api/queue/queues.d.ts +0 -226
- package/dist/api/queue/queues.d.ts.map +0 -1
- package/dist/api/queue/queues.js +0 -321
- package/dist/api/queue/queues.js.map +0 -1
- package/dist/api/queue/sources.d.ts +0 -202
- package/dist/api/queue/sources.d.ts.map +0 -1
- package/dist/api/queue/sources.js +0 -202
- package/dist/api/queue/sources.js.map +0 -1
- package/dist/api/queue/types.d.ts +0 -1218
- package/dist/api/queue/types.d.ts.map +0 -1
- package/dist/api/queue/types.js +0 -1002
- package/dist/api/queue/types.js.map +0 -1
- package/dist/api/queue/util.d.ts +0 -278
- package/dist/api/queue/util.d.ts.map +0 -1
- package/dist/api/queue/util.js +0 -235
- package/dist/api/queue/util.js.map +0 -1
- package/dist/api/queue/validation.d.ts +0 -247
- package/dist/api/queue/validation.d.ts.map +0 -1
- package/dist/api/queue/validation.js +0 -513
- package/dist/api/queue/validation.js.map +0 -1
- package/dist/api/queue/websocket.d.ts +0 -168
- package/dist/api/queue/websocket.d.ts.map +0 -1
- package/dist/api/queue/websocket.js +0 -394
- package/dist/api/queue/websocket.js.map +0 -1
- package/dist/api/region/delete.d.ts +0 -62
- package/dist/api/region/delete.d.ts.map +0 -1
- package/dist/api/region/delete.js +0 -37
- package/dist/api/region/delete.js.map +0 -1
- package/dist/api/region/index.d.ts +0 -5
- package/dist/api/region/index.d.ts.map +0 -1
- package/dist/api/region/index.js +0 -5
- package/dist/api/region/index.js.map +0 -1
- package/dist/api/region/list.d.ts +0 -27
- package/dist/api/region/list.d.ts.map +0 -1
- package/dist/api/region/list.js +0 -22
- package/dist/api/region/list.js.map +0 -1
- package/dist/api/region/resources.d.ts +0 -71
- package/dist/api/region/resources.d.ts.map +0 -1
- package/dist/api/region/resources.js +0 -53
- package/dist/api/region/resources.js.map +0 -1
- package/dist/api/region/util.d.ts +0 -23
- package/dist/api/region/util.d.ts.map +0 -1
- package/dist/api/region/util.js +0 -3
- package/dist/api/region/util.js.map +0 -1
- package/dist/api/sandbox/cli-list.d.ts +0 -114
- package/dist/api/sandbox/cli-list.d.ts.map +0 -1
- package/dist/api/sandbox/cli-list.js +0 -71
- package/dist/api/sandbox/cli-list.js.map +0 -1
- package/dist/api/sandbox/create.d.ts +0 -118
- package/dist/api/sandbox/create.d.ts.map +0 -1
- package/dist/api/sandbox/create.js +0 -211
- package/dist/api/sandbox/create.js.map +0 -1
- package/dist/api/sandbox/destroy.d.ts +0 -22
- package/dist/api/sandbox/destroy.d.ts.map +0 -1
- package/dist/api/sandbox/destroy.js +0 -25
- package/dist/api/sandbox/destroy.js.map +0 -1
- package/dist/api/sandbox/disk-checkpoint.d.ts +0 -104
- package/dist/api/sandbox/disk-checkpoint.d.ts.map +0 -1
- package/dist/api/sandbox/disk-checkpoint.js +0 -104
- package/dist/api/sandbox/disk-checkpoint.js.map +0 -1
- package/dist/api/sandbox/execute.d.ts +0 -69
- package/dist/api/sandbox/execute.d.ts.map +0 -1
- package/dist/api/sandbox/execute.js +0 -103
- package/dist/api/sandbox/execute.js.map +0 -1
- package/dist/api/sandbox/execution.d.ts +0 -169
- package/dist/api/sandbox/execution.d.ts.map +0 -1
- package/dist/api/sandbox/execution.js +0 -118
- package/dist/api/sandbox/execution.js.map +0 -1
- package/dist/api/sandbox/files.d.ts +0 -261
- package/dist/api/sandbox/files.d.ts.map +0 -1
- package/dist/api/sandbox/files.js +0 -386
- package/dist/api/sandbox/files.js.map +0 -1
- package/dist/api/sandbox/get.d.ts +0 -283
- package/dist/api/sandbox/get.d.ts.map +0 -1
- package/dist/api/sandbox/get.js +0 -215
- package/dist/api/sandbox/get.js.map +0 -1
- package/dist/api/sandbox/getStatus.d.ts +0 -16
- package/dist/api/sandbox/getStatus.d.ts.map +0 -1
- package/dist/api/sandbox/getStatus.js +0 -32
- package/dist/api/sandbox/getStatus.js.map +0 -1
- package/dist/api/sandbox/index.d.ts +0 -39
- package/dist/api/sandbox/index.d.ts.map +0 -1
- package/dist/api/sandbox/index.js +0 -20
- package/dist/api/sandbox/index.js.map +0 -1
- package/dist/api/sandbox/list.d.ts +0 -293
- package/dist/api/sandbox/list.d.ts.map +0 -1
- package/dist/api/sandbox/list.js +0 -191
- package/dist/api/sandbox/list.js.map +0 -1
- package/dist/api/sandbox/resolve.d.ts +0 -82
- package/dist/api/sandbox/resolve.d.ts.map +0 -1
- package/dist/api/sandbox/resolve.js +0 -71
- package/dist/api/sandbox/resolve.js.map +0 -1
- package/dist/api/sandbox/run.d.ts +0 -28
- package/dist/api/sandbox/run.d.ts.map +0 -1
- package/dist/api/sandbox/run.js +0 -342
- package/dist/api/sandbox/run.js.map +0 -1
- package/dist/api/sandbox/runtime.d.ts +0 -83
- package/dist/api/sandbox/runtime.d.ts.map +0 -1
- package/dist/api/sandbox/runtime.js +0 -78
- package/dist/api/sandbox/runtime.js.map +0 -1
- package/dist/api/sandbox/snapshot-build.d.ts +0 -48
- package/dist/api/sandbox/snapshot-build.d.ts.map +0 -1
- package/dist/api/sandbox/snapshot-build.js +0 -74
- package/dist/api/sandbox/snapshot-build.js.map +0 -1
- package/dist/api/sandbox/snapshot.d.ts +0 -595
- package/dist/api/sandbox/snapshot.d.ts.map +0 -1
- package/dist/api/sandbox/snapshot.js +0 -598
- package/dist/api/sandbox/snapshot.js.map +0 -1
- package/dist/api/services/index.d.ts +0 -2
- package/dist/api/services/index.d.ts.map +0 -1
- package/dist/api/services/index.js +0 -2
- package/dist/api/services/index.js.map +0 -1
- package/dist/api/services/stats.d.ts +0 -263
- package/dist/api/services/stats.d.ts.map +0 -1
- package/dist/api/services/stats.js +0 -144
- package/dist/api/services/stats.js.map +0 -1
- package/dist/api/session/get.d.ts +0 -169
- package/dist/api/session/get.d.ts.map +0 -1
- package/dist/api/session/get.js +0 -56
- package/dist/api/session/get.js.map +0 -1
- package/dist/api/session/index.d.ts +0 -4
- package/dist/api/session/index.d.ts.map +0 -1
- package/dist/api/session/index.js +0 -4
- package/dist/api/session/index.js.map +0 -1
- package/dist/api/session/list.d.ts +0 -143
- package/dist/api/session/list.d.ts.map +0 -1
- package/dist/api/session/list.js +0 -91
- package/dist/api/session/list.js.map +0 -1
- package/dist/api/session/logs.d.ts +0 -40
- package/dist/api/session/logs.d.ts.map +0 -1
- package/dist/api/session/logs.js +0 -28
- package/dist/api/session/logs.js.map +0 -1
- package/dist/api/session/util.d.ts +0 -23
- package/dist/api/session/util.d.ts.map +0 -1
- package/dist/api/session/util.js +0 -3
- package/dist/api/session/util.js.map +0 -1
- package/dist/api/storage/config.d.ts +0 -99
- package/dist/api/storage/config.d.ts.map +0 -1
- package/dist/api/storage/config.js +0 -61
- package/dist/api/storage/config.js.map +0 -1
- package/dist/api/storage/index.d.ts +0 -5
- package/dist/api/storage/index.d.ts.map +0 -1
- package/dist/api/storage/index.js +0 -5
- package/dist/api/storage/index.js.map +0 -1
- package/dist/api/storage/objects.d.ts +0 -155
- package/dist/api/storage/objects.d.ts.map +0 -1
- package/dist/api/storage/objects.js +0 -148
- package/dist/api/storage/objects.js.map +0 -1
- package/dist/api/storage/types.d.ts +0 -161
- package/dist/api/storage/types.d.ts.map +0 -1
- package/dist/api/storage/types.js +0 -141
- package/dist/api/storage/types.js.map +0 -1
- package/dist/api/storage/util.d.ts +0 -48
- package/dist/api/storage/util.d.ts.map +0 -1
- package/dist/api/storage/util.js +0 -8
- package/dist/api/storage/util.js.map +0 -1
- package/dist/api/stream/get.d.ts +0 -58
- package/dist/api/stream/get.d.ts.map +0 -1
- package/dist/api/stream/get.js +0 -40
- package/dist/api/stream/get.js.map +0 -1
- package/dist/api/stream/index.d.ts +0 -4
- package/dist/api/stream/index.d.ts.map +0 -1
- package/dist/api/stream/index.js +0 -4
- package/dist/api/stream/index.js.map +0 -1
- package/dist/api/stream/list.d.ts +0 -120
- package/dist/api/stream/list.d.ts.map +0 -1
- package/dist/api/stream/list.js +0 -77
- package/dist/api/stream/list.js.map +0 -1
- package/dist/api/stream/util.d.ts +0 -23
- package/dist/api/stream/util.d.ts.map +0 -1
- package/dist/api/stream/util.js +0 -3
- package/dist/api/stream/util.js.map +0 -1
- package/dist/api/thread/delete.d.ts +0 -23
- package/dist/api/thread/delete.d.ts.map +0 -1
- package/dist/api/thread/delete.js +0 -21
- package/dist/api/thread/delete.js.map +0 -1
- package/dist/api/thread/get.d.ts +0 -36
- package/dist/api/thread/get.d.ts.map +0 -1
- package/dist/api/thread/get.js +0 -23
- package/dist/api/thread/get.js.map +0 -1
- package/dist/api/thread/index.d.ts +0 -5
- package/dist/api/thread/index.d.ts.map +0 -1
- package/dist/api/thread/index.js +0 -5
- package/dist/api/thread/index.js.map +0 -1
- package/dist/api/thread/list.d.ts +0 -69
- package/dist/api/thread/list.d.ts.map +0 -1
- package/dist/api/thread/list.js +0 -51
- package/dist/api/thread/list.js.map +0 -1
- package/dist/api/thread/util.d.ts +0 -23
- package/dist/api/thread/util.d.ts.map +0 -1
- package/dist/api/thread/util.js +0 -3
- package/dist/api/thread/util.js.map +0 -1
- package/dist/api/user/index.d.ts +0 -2
- package/dist/api/user/index.d.ts.map +0 -1
- package/dist/api/user/index.js +0 -2
- package/dist/api/user/index.js.map +0 -1
- package/dist/api/user/util.d.ts +0 -23
- package/dist/api/user/util.d.ts.map +0 -1
- package/dist/api/user/util.js +0 -3
- package/dist/api/user/util.js.map +0 -1
- package/dist/api/webhook/deliveries.d.ts +0 -94
- package/dist/api/webhook/deliveries.d.ts.map +0 -1
- package/dist/api/webhook/deliveries.js +0 -79
- package/dist/api/webhook/deliveries.js.map +0 -1
- package/dist/api/webhook/destinations.d.ts +0 -136
- package/dist/api/webhook/destinations.d.ts.map +0 -1
- package/dist/api/webhook/destinations.js +0 -137
- package/dist/api/webhook/destinations.js.map +0 -1
- package/dist/api/webhook/index.d.ts +0 -41
- package/dist/api/webhook/index.d.ts.map +0 -1
- package/dist/api/webhook/index.js +0 -59
- package/dist/api/webhook/index.js.map +0 -1
- package/dist/api/webhook/receipts.d.ts +0 -77
- package/dist/api/webhook/receipts.d.ts.map +0 -1
- package/dist/api/webhook/receipts.js +0 -78
- package/dist/api/webhook/receipts.js.map +0 -1
- package/dist/api/webhook/types.d.ts +0 -249
- package/dist/api/webhook/types.d.ts.map +0 -1
- package/dist/api/webhook/types.js +0 -221
- package/dist/api/webhook/types.js.map +0 -1
- package/dist/api/webhook/util.d.ts +0 -202
- package/dist/api/webhook/util.d.ts.map +0 -1
- package/dist/api/webhook/util.js +0 -201
- package/dist/api/webhook/util.js.map +0 -1
- package/dist/api/webhook/webhooks.d.ts +0 -146
- package/dist/api/webhook/webhooks.d.ts.map +0 -1
- package/dist/api/webhook/webhooks.js +0 -165
- package/dist/api/webhook/webhooks.js.map +0 -1
- package/src/api/api-example.md +0 -164
- package/src/api/apikey/create.ts +0 -41
- package/src/api/apikey/delete.ts +0 -30
- package/src/api/apikey/get.ts +0 -48
- package/src/api/apikey/index.ts +0 -5
- package/src/api/apikey/list.ts +0 -64
- package/src/api/apikey/util.ts +0 -3
- package/src/api/db/index.ts +0 -27
- package/src/api/db/logs.ts +0 -75
- package/src/api/db/query.ts +0 -67
- package/src/api/db/tables.ts +0 -92
- package/src/api/db/util.ts +0 -9
- package/src/api/eval/get.ts +0 -33
- package/src/api/eval/index.ts +0 -28
- package/src/api/eval/list.ts +0 -49
- package/src/api/eval/run-get.ts +0 -39
- package/src/api/eval/run-list.ts +0 -59
- package/src/api/machine/index.ts +0 -2
- package/src/api/machine/machine.ts +0 -160
- package/src/api/machine/util.ts +0 -5
- package/src/api/org/index.ts +0 -6
- package/src/api/org/list.ts +0 -28
- package/src/api/org/resources.ts +0 -140
- package/src/api/org/util.ts +0 -4
- package/src/api/project/agent.ts +0 -86
- package/src/api/project/create.ts +0 -47
- package/src/api/project/delete.ts +0 -25
- package/src/api/project/deploy.ts +0 -458
- package/src/api/project/deployment.ts +0 -195
- package/src/api/project/env-delete.ts +0 -45
- package/src/api/project/env-update.ts +0 -55
- package/src/api/project/exists.ts +0 -58
- package/src/api/project/hostname.ts +0 -73
- package/src/api/project/index.ts +0 -13
- package/src/api/project/update-region.ts +0 -44
- package/src/api/project/util.ts +0 -8
- package/src/api/queue/analytics.ts +0 -311
- package/src/api/queue/destinations.ts +0 -259
- package/src/api/queue/dlq.ts +0 -243
- package/src/api/queue/index.ts +0 -308
- package/src/api/queue/messages.ts +0 -784
- package/src/api/queue/queues.ts +0 -460
- package/src/api/queue/sources.ts +0 -294
- package/src/api/queue/types.ts +0 -1325
- package/src/api/queue/util.ts +0 -278
- package/src/api/queue/validation.ts +0 -560
- package/src/api/queue/websocket.ts +0 -514
- package/src/api/region/delete.ts +0 -57
- package/src/api/region/index.ts +0 -4
- package/src/api/region/list.ts +0 -32
- package/src/api/region/resources.ts +0 -69
- package/src/api/region/util.ts +0 -3
- package/src/api/sandbox/cli-list.ts +0 -127
- package/src/api/sandbox/create.ts +0 -256
- package/src/api/sandbox/destroy.ts +0 -41
- package/src/api/sandbox/disk-checkpoint.ts +0 -179
- package/src/api/sandbox/execute.ts +0 -132
- package/src/api/sandbox/execution.ts +0 -183
- package/src/api/sandbox/files.ts +0 -596
- package/src/api/sandbox/get.ts +0 -249
- package/src/api/sandbox/getStatus.ts +0 -54
- package/src/api/sandbox/index.ts +0 -211
- package/src/api/sandbox/list.ts +0 -224
- package/src/api/sandbox/resolve.ts +0 -98
- package/src/api/sandbox/run.ts +0 -439
- package/src/api/sandbox/runtime.ts +0 -100
- package/src/api/sandbox/snapshot-build.ts +0 -98
- package/src/api/sandbox/snapshot.ts +0 -781
- package/src/api/services/index.ts +0 -1
- package/src/api/services/stats.ts +0 -213
- package/src/api/session/get.ts +0 -106
- package/src/api/session/index.ts +0 -3
- package/src/api/session/list.ts +0 -136
- package/src/api/session/logs.ts +0 -47
- package/src/api/session/util.ts +0 -3
- package/src/api/storage/config.ts +0 -111
- package/src/api/storage/index.ts +0 -4
- package/src/api/storage/objects.ts +0 -250
- package/src/api/storage/types.ts +0 -174
- package/src/api/storage/util.ts +0 -10
- package/src/api/stream/get.ts +0 -51
- package/src/api/stream/index.ts +0 -3
- package/src/api/stream/list.ts +0 -127
- package/src/api/stream/util.ts +0 -3
- package/src/api/thread/delete.ts +0 -31
- package/src/api/thread/get.ts +0 -34
- package/src/api/thread/index.ts +0 -4
- package/src/api/thread/list.ts +0 -76
- package/src/api/thread/util.ts +0 -3
- package/src/api/user/index.ts +0 -1
- package/src/api/user/util.ts +0 -3
- package/src/api/webhook/deliveries.ts +0 -129
- package/src/api/webhook/destinations.ts +0 -224
- package/src/api/webhook/index.ts +0 -133
- package/src/api/webhook/receipts.ts +0 -124
- package/src/api/webhook/types.ts +0 -309
- package/src/api/webhook/util.ts +0 -237
- package/src/api/webhook/webhooks.ts +0 -260
|
@@ -1,155 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import { type APIClient } from '../api.ts';
|
|
3
|
-
import { type StorageListResponse, type StorageDeleteResponse, type StoragePresignResponse, type StorageStatsResponse, type StorageAnalyticsResponse } from './types.ts';
|
|
4
|
-
export declare const StorageListAPIResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5
|
-
success: z.ZodLiteral<false>;
|
|
6
|
-
message: z.ZodString;
|
|
7
|
-
code: z.ZodOptional<z.ZodString>;
|
|
8
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
9
|
-
success: z.ZodLiteral<true>;
|
|
10
|
-
data: z.ZodObject<{
|
|
11
|
-
objects: z.ZodArray<z.ZodObject<{
|
|
12
|
-
bucket_name: z.ZodString;
|
|
13
|
-
key: z.ZodString;
|
|
14
|
-
size: z.ZodNumber;
|
|
15
|
-
etag: z.ZodOptional<z.ZodString>;
|
|
16
|
-
content_type: z.ZodOptional<z.ZodString>;
|
|
17
|
-
last_modified: z.ZodOptional<z.ZodString>;
|
|
18
|
-
}, z.core.$strip>>;
|
|
19
|
-
total: z.ZodNumber;
|
|
20
|
-
prefix: z.ZodString;
|
|
21
|
-
limit: z.ZodNumber;
|
|
22
|
-
offset: z.ZodNumber;
|
|
23
|
-
}, z.core.$strip>;
|
|
24
|
-
}, z.core.$strip>], "success">;
|
|
25
|
-
export declare const StorageDeleteAPIResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
26
|
-
success: z.ZodLiteral<false>;
|
|
27
|
-
message: z.ZodString;
|
|
28
|
-
code: z.ZodOptional<z.ZodString>;
|
|
29
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
-
success: z.ZodLiteral<true>;
|
|
31
|
-
data: z.ZodObject<{
|
|
32
|
-
deleted_count: z.ZodNumber;
|
|
33
|
-
}, z.core.$strip>;
|
|
34
|
-
}, z.core.$strip>], "success">;
|
|
35
|
-
export declare const StoragePresignAPIResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
36
|
-
success: z.ZodLiteral<false>;
|
|
37
|
-
message: z.ZodString;
|
|
38
|
-
code: z.ZodOptional<z.ZodString>;
|
|
39
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
40
|
-
success: z.ZodLiteral<true>;
|
|
41
|
-
data: z.ZodObject<{
|
|
42
|
-
presigned_url: z.ZodString;
|
|
43
|
-
expiry_seconds: z.ZodNumber;
|
|
44
|
-
}, z.core.$strip>;
|
|
45
|
-
}, z.core.$strip>], "success">;
|
|
46
|
-
export declare const StorageStatsAPIResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
47
|
-
success: z.ZodLiteral<false>;
|
|
48
|
-
message: z.ZodString;
|
|
49
|
-
code: z.ZodOptional<z.ZodString>;
|
|
50
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
51
|
-
success: z.ZodLiteral<true>;
|
|
52
|
-
data: z.ZodObject<{
|
|
53
|
-
bucket_name: z.ZodString;
|
|
54
|
-
object_count: z.ZodNumber;
|
|
55
|
-
total_size: z.ZodNumber;
|
|
56
|
-
last_event_at: z.ZodOptional<z.ZodString>;
|
|
57
|
-
}, z.core.$strip>;
|
|
58
|
-
}, z.core.$strip>], "success">;
|
|
59
|
-
export declare const StorageAnalyticsAPIResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
60
|
-
success: z.ZodLiteral<false>;
|
|
61
|
-
message: z.ZodString;
|
|
62
|
-
code: z.ZodOptional<z.ZodString>;
|
|
63
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
64
|
-
success: z.ZodLiteral<true>;
|
|
65
|
-
data: z.ZodObject<{
|
|
66
|
-
summary: z.ZodObject<{
|
|
67
|
-
total_object_count: z.ZodNumber;
|
|
68
|
-
total_size: z.ZodNumber;
|
|
69
|
-
estimated_monthly_cost: z.ZodNumber;
|
|
70
|
-
cost_per_gb_month: z.ZodNumber;
|
|
71
|
-
}, z.core.$strip>;
|
|
72
|
-
buckets: z.ZodArray<z.ZodObject<{
|
|
73
|
-
bucket_name: z.ZodString;
|
|
74
|
-
object_count: z.ZodNumber;
|
|
75
|
-
total_size: z.ZodNumber;
|
|
76
|
-
last_event_at: z.ZodOptional<z.ZodString>;
|
|
77
|
-
estimated_monthly_cost: z.ZodNumber;
|
|
78
|
-
}, z.core.$strip>>;
|
|
79
|
-
daily: z.ZodArray<z.ZodObject<{
|
|
80
|
-
date: z.ZodString;
|
|
81
|
-
total_object_count: z.ZodNumber;
|
|
82
|
-
total_size: z.ZodNumber;
|
|
83
|
-
estimated_cost: z.ZodNumber;
|
|
84
|
-
}, z.core.$strip>>;
|
|
85
|
-
days: z.ZodNumber;
|
|
86
|
-
}, z.core.$strip>;
|
|
87
|
-
}, z.core.$strip>], "success">;
|
|
88
|
-
export interface ListStorageObjectsOptions {
|
|
89
|
-
prefix?: string;
|
|
90
|
-
limit?: number;
|
|
91
|
-
offset?: number;
|
|
92
|
-
}
|
|
93
|
-
/**
|
|
94
|
-
* List objects in a storage bucket with optional prefix filtering and pagination.
|
|
95
|
-
*
|
|
96
|
-
* @param client - The API client to use for the request
|
|
97
|
-
* @param bucketName - Name of the bucket to list objects from
|
|
98
|
-
* @param options - Optional filtering/pagination options
|
|
99
|
-
* @param extraHeaders - Optional extra headers (e.g. x-agentuity-orgid for CLI auth)
|
|
100
|
-
* @returns Paginated list of objects with total count
|
|
101
|
-
* @throws {StorageObjectsResponseError} If the request fails
|
|
102
|
-
*/
|
|
103
|
-
export declare function listStorageObjects(client: APIClient, bucketName: string, options?: ListStorageObjectsOptions, extraHeaders?: Record<string, string>): Promise<StorageListResponse>;
|
|
104
|
-
export interface DeleteStorageObjectsOptions {
|
|
105
|
-
key?: string;
|
|
106
|
-
prefix?: string;
|
|
107
|
-
}
|
|
108
|
-
/**
|
|
109
|
-
* Delete objects from a storage bucket.
|
|
110
|
-
* Provide either `key` (single object) or `prefix` (all matching objects), but not both.
|
|
111
|
-
*
|
|
112
|
-
* @param client - The API client to use for the request
|
|
113
|
-
* @param bucketName - Name of the bucket to delete from
|
|
114
|
-
* @param options - Must include either key or prefix (mutually exclusive)
|
|
115
|
-
* @param extraHeaders - Optional extra headers (e.g. x-agentuity-orgid for CLI auth)
|
|
116
|
-
* @returns The count of deleted objects
|
|
117
|
-
* @throws {StorageObjectsResponseError} If the request fails
|
|
118
|
-
*/
|
|
119
|
-
export declare function deleteStorageObjects(client: APIClient, bucketName: string, options: DeleteStorageObjectsOptions, extraHeaders?: Record<string, string>): Promise<StorageDeleteResponse>;
|
|
120
|
-
/**
|
|
121
|
-
* Generate a presigned URL for downloading or uploading an object.
|
|
122
|
-
*
|
|
123
|
-
* @param client - The API client to use for the request
|
|
124
|
-
* @param bucketName - Name of the bucket
|
|
125
|
-
* @param key - Object key
|
|
126
|
-
* @param operation - 'download' (default) or 'upload'
|
|
127
|
-
* @param extraHeaders - Optional extra headers (e.g. x-agentuity-orgid for CLI auth)
|
|
128
|
-
* @returns Presigned URL and expiry info
|
|
129
|
-
* @throws {StorageObjectsResponseError} If the request fails
|
|
130
|
-
*/
|
|
131
|
-
export declare function presignStorageObject(client: APIClient, bucketName: string, key: string, operation?: 'download' | 'upload', extraHeaders?: Record<string, string>): Promise<StoragePresignResponse>;
|
|
132
|
-
/**
|
|
133
|
-
* Get aggregate stats for a storage bucket (object count, total size).
|
|
134
|
-
*
|
|
135
|
-
* @param client - The API client to use for the request
|
|
136
|
-
* @param bucketName - Name of the bucket
|
|
137
|
-
* @param extraHeaders - Optional extra headers (e.g. x-agentuity-orgid for CLI auth)
|
|
138
|
-
* @returns Bucket statistics
|
|
139
|
-
* @throws {StorageObjectsResponseError} If the request fails
|
|
140
|
-
*/
|
|
141
|
-
export declare function getStorageStats(client: APIClient, bucketName: string, extraHeaders?: Record<string, string>): Promise<StorageStatsResponse>;
|
|
142
|
-
export interface GetStorageAnalyticsOptions {
|
|
143
|
-
days?: number;
|
|
144
|
-
}
|
|
145
|
-
/**
|
|
146
|
-
* Get storage analytics for the org: summary totals, per-bucket breakdown, and daily snapshots.
|
|
147
|
-
*
|
|
148
|
-
* @param client - The API client to use for the request
|
|
149
|
-
* @param options - Optional options (days for sparkline history, default 180)
|
|
150
|
-
* @param extraHeaders - Optional extra headers (e.g. x-agentuity-orgid for CLI auth)
|
|
151
|
-
* @returns Analytics data with summary, buckets, and daily snapshots
|
|
152
|
-
* @throws {StorageObjectsResponseError} If the request fails
|
|
153
|
-
*/
|
|
154
|
-
export declare function getStorageAnalytics(client: APIClient, options?: GetStorageAnalyticsOptions, extraHeaders?: Record<string, string>): Promise<StorageAnalyticsResponse>;
|
|
155
|
-
//# sourceMappingURL=objects.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"objects.d.ts","sourceRoot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GACnC,OAAO,CAAC,qBAAqB,CAAC,CA4BhC;AAED;;;;;;;;;;GAUG;AACH,wBAAsB,oBAAoB,CACzC,MAAM,EAAE,SAAS,EACjB,UAAU,EAAE,MAAM,EAClB,GAAG,EAAE,MAAM,EACX,SAAS,GAAE,UAAU,GAAG,QAAqB,EAC7C,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GACnC,OAAO,CAAC,sBAAsB,CAAC,CAwBjC;AAED;;;;;;;;GAQG;AACH,wBAAsB,eAAe,CACpC,MAAM,EAAE,SAAS,EACjB,UAAU,EAAE,MAAM,EAClB,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GACnC,OAAO,CAAC,oBAAoB,CAAC,CAe/B;AAED,MAAM,WAAW,0BAA0B;IAC1C,IAAI,CAAC,EAAE,MAAM,CAAC;CACd;AAED;;;;;;;;GAQG;AACH,wBAAsB,mBAAmB,CACxC,MAAM,EAAE,SAAS,EACjB,OAAO,CAAC,EAAE,0BAA0B,EACpC,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GACnC,OAAO,CAAC,wBAAwB,CAAC,CAwBnC"}
|
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
import { APIResponseSchema } from "../api.js";
|
|
2
|
-
import { StorageListResponseSchema, StorageDeleteResponseSchema, StoragePresignResponseSchema, StorageStatsResponseSchema, StorageAnalyticsResponseSchema, } from "./types.js";
|
|
3
|
-
import { STORAGE_OBJECTS_API_VERSION, StorageObjectsResponseError } from "./util.js";
|
|
4
|
-
export const StorageListAPIResponseSchema = APIResponseSchema(StorageListResponseSchema);
|
|
5
|
-
export const StorageDeleteAPIResponseSchema = APIResponseSchema(StorageDeleteResponseSchema);
|
|
6
|
-
export const StoragePresignAPIResponseSchema = APIResponseSchema(StoragePresignResponseSchema);
|
|
7
|
-
export const StorageStatsAPIResponseSchema = APIResponseSchema(StorageStatsResponseSchema);
|
|
8
|
-
export const StorageAnalyticsAPIResponseSchema = APIResponseSchema(StorageAnalyticsResponseSchema);
|
|
9
|
-
/**
|
|
10
|
-
* List objects in a storage bucket with optional prefix filtering and pagination.
|
|
11
|
-
*
|
|
12
|
-
* @param client - The API client to use for the request
|
|
13
|
-
* @param bucketName - Name of the bucket to list objects from
|
|
14
|
-
* @param options - Optional filtering/pagination options
|
|
15
|
-
* @param extraHeaders - Optional extra headers (e.g. x-agentuity-orgid for CLI auth)
|
|
16
|
-
* @returns Paginated list of objects with total count
|
|
17
|
-
* @throws {StorageObjectsResponseError} If the request fails
|
|
18
|
-
*/
|
|
19
|
-
export async function listStorageObjects(client, bucketName, options, extraHeaders) {
|
|
20
|
-
const params = new URLSearchParams();
|
|
21
|
-
if (options?.prefix)
|
|
22
|
-
params.set('prefix', options.prefix);
|
|
23
|
-
if (options?.limit !== undefined) {
|
|
24
|
-
if (!Number.isFinite(options.limit) ||
|
|
25
|
-
!Number.isInteger(options.limit) ||
|
|
26
|
-
options.limit < 0) {
|
|
27
|
-
throw new TypeError('limit must be a non-negative integer');
|
|
28
|
-
}
|
|
29
|
-
params.set('limit', String(options.limit));
|
|
30
|
-
}
|
|
31
|
-
if (options?.offset !== undefined) {
|
|
32
|
-
if (!Number.isFinite(options.offset) ||
|
|
33
|
-
!Number.isInteger(options.offset) ||
|
|
34
|
-
options.offset < 0) {
|
|
35
|
-
throw new TypeError('offset must be a non-negative integer');
|
|
36
|
-
}
|
|
37
|
-
params.set('offset', String(options.offset));
|
|
38
|
-
}
|
|
39
|
-
const query = params.toString();
|
|
40
|
-
const url = `/storage/objects/${STORAGE_OBJECTS_API_VERSION}/${encodeURIComponent(bucketName)}${query ? `?${query}` : ''}`;
|
|
41
|
-
const resp = await client.get(url, StorageListAPIResponseSchema, undefined, extraHeaders);
|
|
42
|
-
if (resp.success) {
|
|
43
|
-
return resp.data;
|
|
44
|
-
}
|
|
45
|
-
throw new StorageObjectsResponseError({ message: resp.message });
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* Delete objects from a storage bucket.
|
|
49
|
-
* Provide either `key` (single object) or `prefix` (all matching objects), but not both.
|
|
50
|
-
*
|
|
51
|
-
* @param client - The API client to use for the request
|
|
52
|
-
* @param bucketName - Name of the bucket to delete from
|
|
53
|
-
* @param options - Must include either key or prefix (mutually exclusive)
|
|
54
|
-
* @param extraHeaders - Optional extra headers (e.g. x-agentuity-orgid for CLI auth)
|
|
55
|
-
* @returns The count of deleted objects
|
|
56
|
-
* @throws {StorageObjectsResponseError} If the request fails
|
|
57
|
-
*/
|
|
58
|
-
export async function deleteStorageObjects(client, bucketName, options, extraHeaders) {
|
|
59
|
-
if (!options.key && !options.prefix) {
|
|
60
|
-
throw new StorageObjectsResponseError({ message: "Either 'key' or 'prefix' is required" });
|
|
61
|
-
}
|
|
62
|
-
if (options.key && options.prefix) {
|
|
63
|
-
throw new StorageObjectsResponseError({
|
|
64
|
-
message: "Provide either 'key' or 'prefix', not both",
|
|
65
|
-
});
|
|
66
|
-
}
|
|
67
|
-
const params = new URLSearchParams();
|
|
68
|
-
if (options.key)
|
|
69
|
-
params.set('key', options.key);
|
|
70
|
-
if (options.prefix)
|
|
71
|
-
params.set('prefix', options.prefix);
|
|
72
|
-
const url = `/storage/objects/${STORAGE_OBJECTS_API_VERSION}/${encodeURIComponent(bucketName)}?${params.toString()}`;
|
|
73
|
-
const resp = await client.delete(url, StorageDeleteAPIResponseSchema, undefined, extraHeaders);
|
|
74
|
-
if (resp.success) {
|
|
75
|
-
return resp.data;
|
|
76
|
-
}
|
|
77
|
-
throw new StorageObjectsResponseError({ message: resp.message });
|
|
78
|
-
}
|
|
79
|
-
/**
|
|
80
|
-
* Generate a presigned URL for downloading or uploading an object.
|
|
81
|
-
*
|
|
82
|
-
* @param client - The API client to use for the request
|
|
83
|
-
* @param bucketName - Name of the bucket
|
|
84
|
-
* @param key - Object key
|
|
85
|
-
* @param operation - 'download' (default) or 'upload'
|
|
86
|
-
* @param extraHeaders - Optional extra headers (e.g. x-agentuity-orgid for CLI auth)
|
|
87
|
-
* @returns Presigned URL and expiry info
|
|
88
|
-
* @throws {StorageObjectsResponseError} If the request fails
|
|
89
|
-
*/
|
|
90
|
-
export async function presignStorageObject(client, bucketName, key, operation = 'download', extraHeaders) {
|
|
91
|
-
if (!key) {
|
|
92
|
-
throw new StorageObjectsResponseError({ message: "'key' must be a non-empty string" });
|
|
93
|
-
}
|
|
94
|
-
const params = new URLSearchParams();
|
|
95
|
-
params.set('key', key);
|
|
96
|
-
if (operation !== 'download') {
|
|
97
|
-
params.set('operation', operation);
|
|
98
|
-
}
|
|
99
|
-
const url = `/storage/presign/${STORAGE_OBJECTS_API_VERSION}/${encodeURIComponent(bucketName)}?${params.toString()}`;
|
|
100
|
-
const resp = await client.get(url, StoragePresignAPIResponseSchema, undefined, extraHeaders);
|
|
101
|
-
if (resp.success) {
|
|
102
|
-
return resp.data;
|
|
103
|
-
}
|
|
104
|
-
throw new StorageObjectsResponseError({ message: resp.message });
|
|
105
|
-
}
|
|
106
|
-
/**
|
|
107
|
-
* Get aggregate stats for a storage bucket (object count, total size).
|
|
108
|
-
*
|
|
109
|
-
* @param client - The API client to use for the request
|
|
110
|
-
* @param bucketName - Name of the bucket
|
|
111
|
-
* @param extraHeaders - Optional extra headers (e.g. x-agentuity-orgid for CLI auth)
|
|
112
|
-
* @returns Bucket statistics
|
|
113
|
-
* @throws {StorageObjectsResponseError} If the request fails
|
|
114
|
-
*/
|
|
115
|
-
export async function getStorageStats(client, bucketName, extraHeaders) {
|
|
116
|
-
const url = `/storage/stats/${STORAGE_OBJECTS_API_VERSION}/${encodeURIComponent(bucketName)}`;
|
|
117
|
-
const resp = await client.get(url, StorageStatsAPIResponseSchema, undefined, extraHeaders);
|
|
118
|
-
if (resp.success) {
|
|
119
|
-
return resp.data;
|
|
120
|
-
}
|
|
121
|
-
throw new StorageObjectsResponseError({ message: resp.message });
|
|
122
|
-
}
|
|
123
|
-
/**
|
|
124
|
-
* Get storage analytics for the org: summary totals, per-bucket breakdown, and daily snapshots.
|
|
125
|
-
*
|
|
126
|
-
* @param client - The API client to use for the request
|
|
127
|
-
* @param options - Optional options (days for sparkline history, default 180)
|
|
128
|
-
* @param extraHeaders - Optional extra headers (e.g. x-agentuity-orgid for CLI auth)
|
|
129
|
-
* @returns Analytics data with summary, buckets, and daily snapshots
|
|
130
|
-
* @throws {StorageObjectsResponseError} If the request fails
|
|
131
|
-
*/
|
|
132
|
-
export async function getStorageAnalytics(client, options, extraHeaders) {
|
|
133
|
-
const params = new URLSearchParams();
|
|
134
|
-
if (options?.days !== undefined) {
|
|
135
|
-
if (!Number.isFinite(options.days) || !Number.isInteger(options.days) || options.days < 0) {
|
|
136
|
-
throw new TypeError('days must be a non-negative integer');
|
|
137
|
-
}
|
|
138
|
-
params.set('days', String(options.days));
|
|
139
|
-
}
|
|
140
|
-
const query = params.toString();
|
|
141
|
-
const url = `/storage/analytics/${STORAGE_OBJECTS_API_VERSION}${query ? `?${query}` : ''}`;
|
|
142
|
-
const resp = await client.get(url, StorageAnalyticsAPIResponseSchema, undefined, extraHeaders);
|
|
143
|
-
if (resp.success) {
|
|
144
|
-
return resp.data;
|
|
145
|
-
}
|
|
146
|
-
throw new StorageObjectsResponseError({ message: resp.message });
|
|
147
|
-
}
|
|
148
|
-
//# sourceMappingURL=objects.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"objects.js","sourceRoot":"","sources":["../../../src/api/storage/objects.ts"],"names":[],"mappings":"AACA,OAAO,EAAkB,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAC9D,OAAO,EACN,yBAAyB,EACzB,2BAA2B,EAC3B,4BAA4B,EAC5B,0BAA0B,EAC1B,8BAA8B,GAM9B,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,2BAA2B,EAAE,2BAA2B,EAAE,MAAM,WAAW,CAAC;AAErF,MAAM,CAAC,MAAM,4BAA4B,GAAG,iBAAiB,CAAC,yBAAyB,CAAC,C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E,CAAC;IAChC,MAAM,GAAG,GAAG,sBAAsB,2BAA2B,GAAG,KAAK,CAAC,CAAC,CAAC,IAAI,KAAK,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IAE3F,MAAM,IAAI,GAAG,MAAM,MAAM,CAAC,GAAG,CAC5B,GAAG,EACH,iCAAiC,EACjC,SAAS,EACT,YAAY,CACZ,CAAC;IAEF,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;QAClB,OAAO,IAAI,CAAC,IAAI,CAAC;IAClB,CAAC;IAED,MAAM,IAAI,2BAA2B,CAAC,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC;AAClE,CAAC"}
|
|
@@ -1,161 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
/** Valid storage tier values */
|
|
3
|
-
export declare const StorageTierValues: readonly ["STANDARD", "INFREQUENT_ACCESS", "ARCHIVE"];
|
|
4
|
-
/** Storage tier enum schema */
|
|
5
|
-
export declare const StorageTierSchema: z.ZodEnum<{
|
|
6
|
-
STANDARD: "STANDARD";
|
|
7
|
-
INFREQUENT_ACCESS: "INFREQUENT_ACCESS";
|
|
8
|
-
ARCHIVE: "ARCHIVE";
|
|
9
|
-
}>;
|
|
10
|
-
/** Storage tier type */
|
|
11
|
-
export type StorageTier = z.infer<typeof StorageTierSchema>;
|
|
12
|
-
/** CORS configuration for a bucket */
|
|
13
|
-
export declare const CORSConfigSchema: z.ZodObject<{
|
|
14
|
-
allowed_origins: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
15
|
-
allowed_methods: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
16
|
-
allowed_headers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
17
|
-
expose_headers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18
|
-
max_age_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19
|
-
}, z.core.$strip>;
|
|
20
|
-
/** Full bucket config (response from GET/PUT) */
|
|
21
|
-
export declare const BucketConfigSchema: z.ZodObject<{
|
|
22
|
-
bucket_name: z.ZodString;
|
|
23
|
-
storage_tier: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
24
|
-
STANDARD: "STANDARD";
|
|
25
|
-
INFREQUENT_ACCESS: "INFREQUENT_ACCESS";
|
|
26
|
-
ARCHIVE: "ARCHIVE";
|
|
27
|
-
}>>>;
|
|
28
|
-
ttl: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
29
|
-
public: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
30
|
-
cache_control: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
-
cors: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
32
|
-
allowed_origins: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
33
|
-
allowed_methods: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
34
|
-
allowed_headers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
35
|
-
expose_headers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
36
|
-
max_age_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
37
|
-
}, z.core.$strip>>>;
|
|
38
|
-
additional_headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
39
|
-
bucket_location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
|
-
}, z.core.$strip>;
|
|
41
|
-
/**
|
|
42
|
-
* Update request body (all fields optional — partial update).
|
|
43
|
-
* Send a field with a value to set it, send null to unset it, omit to leave unchanged.
|
|
44
|
-
*/
|
|
45
|
-
export declare const BucketConfigUpdateSchema: z.ZodObject<{
|
|
46
|
-
storage_tier: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
47
|
-
STANDARD: "STANDARD";
|
|
48
|
-
INFREQUENT_ACCESS: "INFREQUENT_ACCESS";
|
|
49
|
-
ARCHIVE: "ARCHIVE";
|
|
50
|
-
}>>>;
|
|
51
|
-
ttl: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
52
|
-
public: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
53
|
-
cache_control: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
54
|
-
cors: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
55
|
-
allowed_origins: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
56
|
-
allowed_methods: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
57
|
-
allowed_headers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
58
|
-
expose_headers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
59
|
-
max_age_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
60
|
-
}, z.core.$strip>>>;
|
|
61
|
-
additional_headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
62
|
-
}, z.core.$strip>;
|
|
63
|
-
/** TypeScript types derived from Zod schemas */
|
|
64
|
-
export type CORSConfig = z.infer<typeof CORSConfigSchema>;
|
|
65
|
-
export type BucketConfig = z.infer<typeof BucketConfigSchema>;
|
|
66
|
-
export type BucketConfigUpdate = z.infer<typeof BucketConfigUpdateSchema>;
|
|
67
|
-
/** A storage object in a bucket */
|
|
68
|
-
export declare const StorageObjectSchema: z.ZodObject<{
|
|
69
|
-
bucket_name: z.ZodString;
|
|
70
|
-
key: z.ZodString;
|
|
71
|
-
size: z.ZodNumber;
|
|
72
|
-
etag: z.ZodOptional<z.ZodString>;
|
|
73
|
-
content_type: z.ZodOptional<z.ZodString>;
|
|
74
|
-
last_modified: z.ZodOptional<z.ZodString>;
|
|
75
|
-
}, z.core.$strip>;
|
|
76
|
-
/** Paginated list of storage objects */
|
|
77
|
-
export declare const StorageListResponseSchema: z.ZodObject<{
|
|
78
|
-
objects: z.ZodArray<z.ZodObject<{
|
|
79
|
-
bucket_name: z.ZodString;
|
|
80
|
-
key: z.ZodString;
|
|
81
|
-
size: z.ZodNumber;
|
|
82
|
-
etag: z.ZodOptional<z.ZodString>;
|
|
83
|
-
content_type: z.ZodOptional<z.ZodString>;
|
|
84
|
-
last_modified: z.ZodOptional<z.ZodString>;
|
|
85
|
-
}, z.core.$strip>>;
|
|
86
|
-
total: z.ZodNumber;
|
|
87
|
-
prefix: z.ZodString;
|
|
88
|
-
limit: z.ZodNumber;
|
|
89
|
-
offset: z.ZodNumber;
|
|
90
|
-
}, z.core.$strip>;
|
|
91
|
-
/** Delete response */
|
|
92
|
-
export declare const StorageDeleteResponseSchema: z.ZodObject<{
|
|
93
|
-
deleted_count: z.ZodNumber;
|
|
94
|
-
}, z.core.$strip>;
|
|
95
|
-
/** Presigned URL response */
|
|
96
|
-
export declare const StoragePresignResponseSchema: z.ZodObject<{
|
|
97
|
-
presigned_url: z.ZodString;
|
|
98
|
-
expiry_seconds: z.ZodNumber;
|
|
99
|
-
}, z.core.$strip>;
|
|
100
|
-
/** Bucket stats response */
|
|
101
|
-
export declare const StorageStatsResponseSchema: z.ZodObject<{
|
|
102
|
-
bucket_name: z.ZodString;
|
|
103
|
-
object_count: z.ZodNumber;
|
|
104
|
-
total_size: z.ZodNumber;
|
|
105
|
-
last_event_at: z.ZodOptional<z.ZodString>;
|
|
106
|
-
}, z.core.$strip>;
|
|
107
|
-
/** Summary totals across all buckets */
|
|
108
|
-
export declare const StorageAnalyticsSummarySchema: z.ZodObject<{
|
|
109
|
-
total_object_count: z.ZodNumber;
|
|
110
|
-
total_size: z.ZodNumber;
|
|
111
|
-
estimated_monthly_cost: z.ZodNumber;
|
|
112
|
-
cost_per_gb_month: z.ZodNumber;
|
|
113
|
-
}, z.core.$strip>;
|
|
114
|
-
/** Per-bucket breakdown */
|
|
115
|
-
export declare const StorageAnalyticsBucketSchema: z.ZodObject<{
|
|
116
|
-
bucket_name: z.ZodString;
|
|
117
|
-
object_count: z.ZodNumber;
|
|
118
|
-
total_size: z.ZodNumber;
|
|
119
|
-
last_event_at: z.ZodOptional<z.ZodString>;
|
|
120
|
-
estimated_monthly_cost: z.ZodNumber;
|
|
121
|
-
}, z.core.$strip>;
|
|
122
|
-
/** Daily snapshot for sparklines */
|
|
123
|
-
export declare const StorageAnalyticsDailySnapshotSchema: z.ZodObject<{
|
|
124
|
-
date: z.ZodString;
|
|
125
|
-
total_object_count: z.ZodNumber;
|
|
126
|
-
total_size: z.ZodNumber;
|
|
127
|
-
estimated_cost: z.ZodNumber;
|
|
128
|
-
}, z.core.$strip>;
|
|
129
|
-
/** Full analytics response */
|
|
130
|
-
export declare const StorageAnalyticsResponseSchema: z.ZodObject<{
|
|
131
|
-
summary: z.ZodObject<{
|
|
132
|
-
total_object_count: z.ZodNumber;
|
|
133
|
-
total_size: z.ZodNumber;
|
|
134
|
-
estimated_monthly_cost: z.ZodNumber;
|
|
135
|
-
cost_per_gb_month: z.ZodNumber;
|
|
136
|
-
}, z.core.$strip>;
|
|
137
|
-
buckets: z.ZodArray<z.ZodObject<{
|
|
138
|
-
bucket_name: z.ZodString;
|
|
139
|
-
object_count: z.ZodNumber;
|
|
140
|
-
total_size: z.ZodNumber;
|
|
141
|
-
last_event_at: z.ZodOptional<z.ZodString>;
|
|
142
|
-
estimated_monthly_cost: z.ZodNumber;
|
|
143
|
-
}, z.core.$strip>>;
|
|
144
|
-
daily: z.ZodArray<z.ZodObject<{
|
|
145
|
-
date: z.ZodString;
|
|
146
|
-
total_object_count: z.ZodNumber;
|
|
147
|
-
total_size: z.ZodNumber;
|
|
148
|
-
estimated_cost: z.ZodNumber;
|
|
149
|
-
}, z.core.$strip>>;
|
|
150
|
-
days: z.ZodNumber;
|
|
151
|
-
}, z.core.$strip>;
|
|
152
|
-
export type StorageObject = z.infer<typeof StorageObjectSchema>;
|
|
153
|
-
export type StorageListResponse = z.infer<typeof StorageListResponseSchema>;
|
|
154
|
-
export type StorageDeleteResponse = z.infer<typeof StorageDeleteResponseSchema>;
|
|
155
|
-
export type StoragePresignResponse = z.infer<typeof StoragePresignResponseSchema>;
|
|
156
|
-
export type StorageStatsResponse = z.infer<typeof StorageStatsResponseSchema>;
|
|
157
|
-
export type StorageAnalyticsSummary = z.infer<typeof StorageAnalyticsSummarySchema>;
|
|
158
|
-
export type StorageAnalyticsBucket = z.infer<typeof StorageAnalyticsBucketSchema>;
|
|
159
|
-
export type StorageAnalyticsDailySnapshot = z.infer<typeof StorageAnalyticsDailySnapshotSchema>;
|
|
160
|
-
export type StorageAnalyticsResponse = z.infer<typeof StorageAnalyticsResponseSchema>;
|
|
161
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/api/storage/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,gCAAgC;AAChC,eAAO,MAAM,iBAAiB,uDAAwD,CAAC;AAEvF,+BAA+B;AAC/B,eAAO,MAAM,iBAAiB;;;;EAAoE,CAAC;AAEnG,wBAAwB;AACxB,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D,sCAAsC;AACtC,eAAO,MAAM,gBAAgB;;;;;;iBAwB3B,CAAC;AAEH,iDAAiD;AACjD,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;iBAiB7B,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;iBAqBnC,CAAC;AAEH,gDAAgD;AAChD,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAC1D,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAC9D,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,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AAmC,CAAC,CAAC;AAChG,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC"}
|
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
/** Valid storage tier values */
|
|
3
|
-
export const StorageTierValues = ['STANDARD', 'INFREQUENT_ACCESS', 'ARCHIVE'];
|
|
4
|
-
/** Storage tier enum schema */
|
|
5
|
-
export const StorageTierSchema = z.enum(StorageTierValues).describe('Storage tier for the bucket');
|
|
6
|
-
/** CORS configuration for a bucket */
|
|
7
|
-
export const CORSConfigSchema = z.object({
|
|
8
|
-
allowed_origins: z
|
|
9
|
-
.array(z.string().describe('An allowed origin URL'))
|
|
10
|
-
.optional()
|
|
11
|
-
.describe('List of allowed origin URLs for CORS requests'),
|
|
12
|
-
allowed_methods: z
|
|
13
|
-
.array(z.string().describe('An allowed HTTP method'))
|
|
14
|
-
.optional()
|
|
15
|
-
.describe('List of allowed HTTP methods for CORS requests'),
|
|
16
|
-
allowed_headers: z
|
|
17
|
-
.array(z.string().describe('An allowed request header'))
|
|
18
|
-
.optional()
|
|
19
|
-
.describe('List of allowed request headers for CORS requests'),
|
|
20
|
-
expose_headers: z
|
|
21
|
-
.array(z.string().describe('A response header to expose'))
|
|
22
|
-
.optional()
|
|
23
|
-
.describe('List of response headers to expose to the browser'),
|
|
24
|
-
max_age_seconds: z
|
|
25
|
-
.number()
|
|
26
|
-
.int()
|
|
27
|
-
.min(0)
|
|
28
|
-
.nullable()
|
|
29
|
-
.optional()
|
|
30
|
-
.describe('Maximum time in seconds that preflight results can be cached'),
|
|
31
|
-
});
|
|
32
|
-
/** Full bucket config (response from GET/PUT) */
|
|
33
|
-
export const BucketConfigSchema = z.object({
|
|
34
|
-
bucket_name: z.string().describe('The name of the storage bucket'),
|
|
35
|
-
storage_tier: StorageTierSchema.nullable().optional().describe('Storage tier for the bucket'),
|
|
36
|
-
ttl: z.number().int().min(0).nullable().optional().describe('Object TTL in seconds'),
|
|
37
|
-
public: z.boolean().nullable().optional().describe('Whether the bucket is publicly accessible'),
|
|
38
|
-
cache_control: z
|
|
39
|
-
.string()
|
|
40
|
-
.nullable()
|
|
41
|
-
.optional()
|
|
42
|
-
.describe('Default Cache-Control header for objects'),
|
|
43
|
-
cors: CORSConfigSchema.nullable().optional().describe('Custom CORS configuration'),
|
|
44
|
-
additional_headers: z
|
|
45
|
-
.record(z.string(), z.string())
|
|
46
|
-
.nullable()
|
|
47
|
-
.optional()
|
|
48
|
-
.describe('Additional response headers as key-value pairs'),
|
|
49
|
-
bucket_location: z.string().nullable().optional().describe('Bucket location or region override'),
|
|
50
|
-
});
|
|
51
|
-
/**
|
|
52
|
-
* Update request body (all fields optional — partial update).
|
|
53
|
-
* Send a field with a value to set it, send null to unset it, omit to leave unchanged.
|
|
54
|
-
*/
|
|
55
|
-
export const BucketConfigUpdateSchema = z.object({
|
|
56
|
-
storage_tier: StorageTierSchema.nullable().optional().describe('Storage tier for the bucket'),
|
|
57
|
-
ttl: z
|
|
58
|
-
.number()
|
|
59
|
-
.int()
|
|
60
|
-
.min(0)
|
|
61
|
-
.nullable()
|
|
62
|
-
.optional()
|
|
63
|
-
.describe('Object TTL in seconds (0 to clear)'),
|
|
64
|
-
public: z.boolean().nullable().optional().describe('Whether the bucket is publicly accessible'),
|
|
65
|
-
cache_control: z
|
|
66
|
-
.string()
|
|
67
|
-
.nullable()
|
|
68
|
-
.optional()
|
|
69
|
-
.describe('Default Cache-Control header for objects'),
|
|
70
|
-
cors: CORSConfigSchema.nullable().optional().describe('Custom CORS configuration'),
|
|
71
|
-
additional_headers: z
|
|
72
|
-
.record(z.string(), z.string())
|
|
73
|
-
.nullable()
|
|
74
|
-
.optional()
|
|
75
|
-
.describe('Additional response headers as key-value pairs'),
|
|
76
|
-
});
|
|
77
|
-
// --- Storage Objects types ---
|
|
78
|
-
/** A storage object in a bucket */
|
|
79
|
-
export const StorageObjectSchema = z.object({
|
|
80
|
-
bucket_name: z.string().describe('The bucket this object belongs to'),
|
|
81
|
-
key: z.string().describe('Object key (path)'),
|
|
82
|
-
size: z.number().int().nonnegative().describe('Object size in bytes'),
|
|
83
|
-
etag: z.string().optional().describe('Object ETag'),
|
|
84
|
-
content_type: z.string().optional().describe('Object content type'),
|
|
85
|
-
last_modified: z.string().optional().describe('Last modified timestamp (ISO8601)'),
|
|
86
|
-
});
|
|
87
|
-
/** Paginated list of storage objects */
|
|
88
|
-
export const StorageListResponseSchema = z.object({
|
|
89
|
-
objects: z.array(StorageObjectSchema).describe('List of objects'),
|
|
90
|
-
total: z.number().int().nonnegative().describe('Total count matching the query'),
|
|
91
|
-
prefix: z.string().describe('Prefix filter applied'),
|
|
92
|
-
limit: z.number().int().nonnegative().describe('Page size'),
|
|
93
|
-
offset: z.number().int().nonnegative().describe('Page offset'),
|
|
94
|
-
});
|
|
95
|
-
/** Delete response */
|
|
96
|
-
export const StorageDeleteResponseSchema = z.object({
|
|
97
|
-
deleted_count: z.number().int().nonnegative().describe('Number of objects deleted'),
|
|
98
|
-
});
|
|
99
|
-
/** Presigned URL response */
|
|
100
|
-
export const StoragePresignResponseSchema = z.object({
|
|
101
|
-
presigned_url: z.string().describe('The presigned URL'),
|
|
102
|
-
expiry_seconds: z.number().int().nonnegative().describe('URL expiry time in seconds'),
|
|
103
|
-
});
|
|
104
|
-
/** Bucket stats response */
|
|
105
|
-
export const StorageStatsResponseSchema = z.object({
|
|
106
|
-
bucket_name: z.string().describe('The bucket name'),
|
|
107
|
-
object_count: z.number().int().nonnegative().describe('Number of objects'),
|
|
108
|
-
total_size: z.number().int().nonnegative().describe('Total size in bytes'),
|
|
109
|
-
last_event_at: z.string().optional().describe('Last event timestamp (ISO8601)'),
|
|
110
|
-
});
|
|
111
|
-
// --- Storage Analytics types ---
|
|
112
|
-
/** Summary totals across all buckets */
|
|
113
|
-
export const StorageAnalyticsSummarySchema = z.object({
|
|
114
|
-
total_object_count: z.number().int().nonnegative().describe('Total objects across all buckets'),
|
|
115
|
-
total_size: z.number().int().nonnegative().describe('Total size in bytes across all buckets'),
|
|
116
|
-
estimated_monthly_cost: z.number().describe('Estimated monthly cost in USD'),
|
|
117
|
-
cost_per_gb_month: z.number().describe('Cost rate per GB per month in USD'),
|
|
118
|
-
});
|
|
119
|
-
/** Per-bucket breakdown */
|
|
120
|
-
export const StorageAnalyticsBucketSchema = z.object({
|
|
121
|
-
bucket_name: z.string().describe('The bucket name'),
|
|
122
|
-
object_count: z.number().int().nonnegative().describe('Number of objects in this bucket'),
|
|
123
|
-
total_size: z.number().int().nonnegative().describe('Total size in bytes for this bucket'),
|
|
124
|
-
last_event_at: z.string().optional().describe('Last event timestamp (ISO8601)'),
|
|
125
|
-
estimated_monthly_cost: z.number().describe('Estimated monthly cost for this bucket in USD'),
|
|
126
|
-
});
|
|
127
|
-
/** Daily snapshot for sparklines */
|
|
128
|
-
export const StorageAnalyticsDailySnapshotSchema = z.object({
|
|
129
|
-
date: z.string().describe('Snapshot date (YYYY-MM-DD)'),
|
|
130
|
-
total_object_count: z.number().int().nonnegative().describe('Total objects on this date'),
|
|
131
|
-
total_size: z.number().int().nonnegative().describe('Total size in bytes on this date'),
|
|
132
|
-
estimated_cost: z.number().describe('Estimated monthly cost at this snapshot in USD'),
|
|
133
|
-
});
|
|
134
|
-
/** Full analytics response */
|
|
135
|
-
export const StorageAnalyticsResponseSchema = z.object({
|
|
136
|
-
summary: StorageAnalyticsSummarySchema.describe('Org-wide totals'),
|
|
137
|
-
buckets: z.array(StorageAnalyticsBucketSchema).describe('Per-bucket breakdown'),
|
|
138
|
-
daily: z.array(StorageAnalyticsDailySnapshotSchema).describe('Daily snapshots for sparklines'),
|
|
139
|
-
days: z.number().int().nonnegative().describe('Number of days requested'),
|
|
140
|
-
});
|
|
141
|
-
//# sourceMappingURL=types.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/api/storage/types.ts"],"names":[],"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