casedev 0.2.0 → 0.4.0
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/CHANGELOG.md +33 -0
- package/client.d.mts +23 -5
- package/client.d.mts.map +1 -1
- package/client.d.ts +23 -5
- package/client.d.ts.map +1 -1
- package/client.js +24 -5
- package/client.js.map +1 -1
- package/client.mjs +24 -5
- package/client.mjs.map +1 -1
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.js +5 -0
- package/internal/parse.js.map +1 -1
- package/internal/parse.mjs +5 -0
- package/internal/parse.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/applications/applications.d.mts +10 -0
- package/resources/applications/applications.d.mts.map +1 -0
- package/resources/applications/applications.d.ts +10 -0
- package/resources/applications/applications.d.ts.map +1 -0
- package/resources/applications/applications.js +17 -0
- package/resources/applications/applications.js.map +1 -0
- package/resources/applications/applications.mjs +12 -0
- package/resources/applications/applications.mjs.map +1 -0
- package/resources/applications/index.d.mts +3 -0
- package/resources/applications/index.d.mts.map +1 -0
- package/resources/applications/index.d.ts +3 -0
- package/resources/applications/index.d.ts.map +1 -0
- package/resources/applications/index.js +9 -0
- package/resources/applications/index.js.map +1 -0
- package/resources/applications/index.mjs +4 -0
- package/resources/applications/index.mjs.map +1 -0
- package/resources/applications/v1/deployments.d.mts +105 -0
- package/resources/applications/v1/deployments.d.mts.map +1 -0
- package/resources/applications/v1/deployments.d.ts +105 -0
- package/resources/applications/v1/deployments.d.ts.map +1 -0
- package/resources/applications/v1/deployments.js +89 -0
- package/resources/applications/v1/deployments.js.map +1 -0
- package/resources/applications/v1/deployments.mjs +85 -0
- package/resources/applications/v1/deployments.mjs.map +1 -0
- package/resources/applications/v1/index.d.mts +5 -0
- package/resources/applications/v1/index.d.mts.map +1 -0
- package/resources/applications/v1/index.d.ts +5 -0
- package/resources/applications/v1/index.d.ts.map +1 -0
- package/resources/applications/v1/index.js +13 -0
- package/resources/applications/v1/index.js.map +1 -0
- package/resources/applications/v1/index.mjs +6 -0
- package/resources/applications/v1/index.mjs.map +1 -0
- package/resources/applications/v1/projects.d.mts +247 -0
- package/resources/applications/v1/projects.d.mts.map +1 -0
- package/resources/applications/v1/projects.d.ts +247 -0
- package/resources/applications/v1/projects.d.ts.map +1 -0
- package/resources/applications/v1/projects.js +137 -0
- package/resources/applications/v1/projects.js.map +1 -0
- package/resources/applications/v1/projects.mjs +133 -0
- package/resources/applications/v1/projects.mjs.map +1 -0
- package/resources/applications/v1/v1.d.mts +18 -0
- package/resources/applications/v1/v1.d.mts.map +1 -0
- package/resources/applications/v1/v1.d.ts +18 -0
- package/resources/applications/v1/v1.d.ts.map +1 -0
- package/resources/applications/v1/v1.js +25 -0
- package/resources/applications/v1/v1.js.map +1 -0
- package/resources/applications/v1/v1.mjs +20 -0
- package/resources/applications/v1/v1.mjs.map +1 -0
- package/resources/applications/v1/workflows.d.mts +19 -0
- package/resources/applications/v1/workflows.d.mts.map +1 -0
- package/resources/applications/v1/workflows.d.ts +19 -0
- package/resources/applications/v1/workflows.d.ts.map +1 -0
- package/resources/applications/v1/workflows.js +21 -0
- package/resources/applications/v1/workflows.js.map +1 -0
- package/resources/applications/v1/workflows.mjs +17 -0
- package/resources/applications/v1/workflows.mjs.map +1 -0
- package/resources/applications/v1.d.mts +2 -0
- package/resources/applications/v1.d.mts.map +1 -0
- package/resources/applications/v1.d.ts +2 -0
- package/resources/applications/v1.d.ts.map +1 -0
- package/resources/applications/v1.js +6 -0
- package/resources/applications/v1.js.map +1 -0
- package/resources/{webhooks.mjs → applications/v1.mjs} +2 -2
- package/resources/applications/v1.mjs.map +1 -0
- package/resources/applications.d.mts +2 -0
- package/resources/applications.d.mts.map +1 -0
- package/resources/applications.d.ts +2 -0
- package/resources/applications.d.ts.map +1 -0
- package/resources/applications.js +6 -0
- package/resources/applications.js.map +1 -0
- package/resources/applications.mjs +3 -0
- package/resources/applications.mjs.map +1 -0
- package/resources/compute/v1/index.d.mts +2 -3
- package/resources/compute/v1/index.d.mts.map +1 -1
- package/resources/compute/v1/index.d.ts +2 -3
- package/resources/compute/v1/index.d.ts.map +1 -1
- package/resources/compute/v1/index.js +5 -7
- package/resources/compute/v1/index.js.map +1 -1
- package/resources/compute/v1/index.mjs +2 -3
- package/resources/compute/v1/index.mjs.map +1 -1
- package/resources/compute/v1/instance-types.d.mts +70 -0
- package/resources/compute/v1/instance-types.d.mts.map +1 -0
- package/resources/compute/v1/instance-types.d.ts +70 -0
- package/resources/compute/v1/instance-types.d.ts.map +1 -0
- package/resources/compute/v1/instance-types.js +24 -0
- package/resources/compute/v1/instance-types.js.map +1 -0
- package/resources/compute/v1/instance-types.mjs +20 -0
- package/resources/compute/v1/instance-types.mjs.map +1 -0
- package/resources/compute/v1/instances.d.mts +157 -0
- package/resources/compute/v1/instances.d.mts.map +1 -0
- package/resources/compute/v1/instances.d.ts +157 -0
- package/resources/compute/v1/instances.d.ts.map +1 -0
- package/resources/compute/v1/instances.js +74 -0
- package/resources/compute/v1/instances.js.map +1 -0
- package/resources/compute/v1/instances.mjs +70 -0
- package/resources/compute/v1/instances.mjs.map +1 -0
- package/resources/compute/v1/v1.d.mts +8 -12
- package/resources/compute/v1/v1.d.mts.map +1 -1
- package/resources/compute/v1/v1.d.ts +8 -12
- package/resources/compute/v1/v1.d.ts.map +1 -1
- package/resources/compute/v1/v1.js +8 -12
- package/resources/compute/v1/v1.js.map +1 -1
- package/resources/compute/v1/v1.mjs +8 -12
- package/resources/compute/v1/v1.mjs.map +1 -1
- package/resources/database/database.d.mts +10 -0
- package/resources/database/database.d.mts.map +1 -0
- package/resources/database/database.d.ts +10 -0
- package/resources/database/database.d.ts.map +1 -0
- package/resources/database/database.js +17 -0
- package/resources/database/database.js.map +1 -0
- package/resources/database/database.mjs +12 -0
- package/resources/database/database.mjs.map +1 -0
- package/resources/database/index.d.mts +3 -0
- package/resources/database/index.d.mts.map +1 -0
- package/resources/database/index.d.ts +3 -0
- package/resources/database/index.d.ts.map +1 -0
- package/resources/database/index.js +9 -0
- package/resources/database/index.js.map +1 -0
- package/resources/database/index.mjs +4 -0
- package/resources/database/index.mjs.map +1 -0
- package/resources/database/v1/index.d.mts +3 -0
- package/resources/database/v1/index.d.mts.map +1 -0
- package/resources/database/v1/index.d.ts +3 -0
- package/resources/database/v1/index.d.ts.map +1 -0
- package/resources/{webhooks → database/v1}/index.js +3 -3
- package/resources/database/v1/index.js.map +1 -0
- package/resources/database/v1/index.mjs +4 -0
- package/resources/database/v1/index.mjs.map +1 -0
- package/resources/database/v1/projects.d.mts +464 -0
- package/resources/database/v1/projects.d.mts.map +1 -0
- package/resources/database/v1/projects.d.ts +464 -0
- package/resources/database/v1/projects.d.ts.map +1 -0
- package/resources/database/v1/projects.js +122 -0
- package/resources/database/v1/projects.js.map +1 -0
- package/resources/database/v1/projects.mjs +118 -0
- package/resources/database/v1/projects.mjs.map +1 -0
- package/resources/database/v1/v1.d.mts +141 -0
- package/resources/database/v1/v1.d.mts.map +1 -0
- package/resources/database/v1/v1.d.ts +141 -0
- package/resources/database/v1/v1.d.ts.map +1 -0
- package/resources/database/v1/v1.js +30 -0
- package/resources/database/v1/v1.js.map +1 -0
- package/resources/database/v1/v1.mjs +25 -0
- package/resources/database/v1/v1.mjs.map +1 -0
- package/resources/database/v1.d.mts +2 -0
- package/resources/database/v1.d.mts.map +1 -0
- package/resources/database/v1.d.ts +2 -0
- package/resources/database/v1.d.ts.map +1 -0
- package/resources/database/v1.js +6 -0
- package/resources/database/v1.js.map +1 -0
- package/resources/database/v1.mjs +3 -0
- package/resources/database/v1.mjs.map +1 -0
- package/resources/database.d.mts +2 -0
- package/resources/database.d.mts.map +1 -0
- package/resources/database.d.ts +2 -0
- package/resources/database.d.ts.map +1 -0
- package/resources/{webhooks.js → database.js} +2 -2
- package/resources/database.js.map +1 -0
- package/resources/database.mjs +3 -0
- package/resources/database.mjs.map +1 -0
- package/resources/index.d.mts +8 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +8 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +15 -3
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +7 -1
- package/resources/index.mjs.map +1 -1
- package/resources/legal/index.d.mts +3 -0
- package/resources/legal/index.d.mts.map +1 -0
- package/resources/legal/index.d.ts +3 -0
- package/resources/legal/index.d.ts.map +1 -0
- package/resources/legal/index.js +9 -0
- package/resources/legal/index.js.map +1 -0
- package/resources/legal/index.mjs +4 -0
- package/resources/legal/index.mjs.map +1 -0
- package/resources/legal/legal.d.mts +10 -0
- package/resources/legal/legal.d.mts.map +1 -0
- package/resources/legal/legal.d.ts +10 -0
- package/resources/legal/legal.d.ts.map +1 -0
- package/resources/{webhooks/webhooks.js → legal/legal.js} +5 -5
- package/resources/legal/legal.js.map +1 -0
- package/resources/legal/legal.mjs +12 -0
- package/resources/legal/legal.mjs.map +1 -0
- package/resources/legal/v1.d.mts +572 -0
- package/resources/legal/v1.d.mts.map +1 -0
- package/resources/legal/v1.d.ts +572 -0
- package/resources/legal/v1.d.ts.map +1 -0
- package/resources/legal/v1.js +72 -0
- package/resources/legal/v1.js.map +1 -0
- package/resources/legal/v1.mjs +68 -0
- package/resources/legal/v1.mjs.map +1 -0
- package/resources/legal.d.mts +2 -0
- package/resources/legal.d.mts.map +1 -0
- package/resources/legal.d.ts +2 -0
- package/resources/legal.d.ts.map +1 -0
- package/resources/legal.js +6 -0
- package/resources/legal.js.map +1 -0
- package/resources/legal.mjs +3 -0
- package/resources/legal.mjs.map +1 -0
- package/resources/memory/index.d.mts +3 -0
- package/resources/memory/index.d.mts.map +1 -0
- package/resources/memory/index.d.ts +3 -0
- package/resources/memory/index.d.ts.map +1 -0
- package/resources/memory/index.js +9 -0
- package/resources/memory/index.js.map +1 -0
- package/resources/memory/index.mjs +4 -0
- package/resources/memory/index.mjs.map +1 -0
- package/resources/memory/memory.d.mts +10 -0
- package/resources/memory/memory.d.mts.map +1 -0
- package/resources/memory/memory.d.ts +10 -0
- package/resources/memory/memory.d.ts.map +1 -0
- package/resources/memory/memory.js +17 -0
- package/resources/memory/memory.js.map +1 -0
- package/resources/memory/memory.mjs +12 -0
- package/resources/memory/memory.mjs.map +1 -0
- package/resources/memory/v1.d.mts +417 -0
- package/resources/memory/v1.d.mts.map +1 -0
- package/resources/memory/v1.d.ts +417 -0
- package/resources/memory/v1.d.ts.map +1 -0
- package/resources/memory/v1.js +66 -0
- package/resources/memory/v1.js.map +1 -0
- package/resources/memory/v1.mjs +62 -0
- package/resources/memory/v1.mjs.map +1 -0
- package/resources/memory.d.mts +2 -0
- package/resources/memory.d.mts.map +1 -0
- package/resources/memory.d.ts +2 -0
- package/resources/memory.d.ts.map +1 -0
- package/resources/memory.js +6 -0
- package/resources/memory.js.map +1 -0
- package/resources/memory.mjs +3 -0
- package/resources/memory.mjs.map +1 -0
- package/resources/ocr/v1.d.mts +31 -19
- package/resources/ocr/v1.d.mts.map +1 -1
- package/resources/ocr/v1.d.ts +31 -19
- package/resources/ocr/v1.d.ts.map +1 -1
- package/resources/privilege/index.d.mts +3 -0
- package/resources/privilege/index.d.mts.map +1 -0
- package/resources/privilege/index.d.ts +3 -0
- package/resources/privilege/index.d.ts.map +1 -0
- package/resources/privilege/index.js +9 -0
- package/resources/privilege/index.js.map +1 -0
- package/resources/privilege/index.mjs +4 -0
- package/resources/privilege/index.mjs.map +1 -0
- package/resources/privilege/privilege.d.mts +10 -0
- package/resources/privilege/privilege.d.mts.map +1 -0
- package/resources/privilege/privilege.d.ts +10 -0
- package/resources/privilege/privilege.d.ts.map +1 -0
- package/resources/privilege/privilege.js +17 -0
- package/resources/privilege/privilege.js.map +1 -0
- package/resources/privilege/privilege.mjs +12 -0
- package/resources/privilege/privilege.mjs.map +1 -0
- package/resources/privilege/v1.d.mts +100 -0
- package/resources/privilege/v1.d.mts.map +1 -0
- package/resources/privilege/v1.d.ts +100 -0
- package/resources/privilege/v1.d.ts.map +1 -0
- package/resources/privilege/v1.js +28 -0
- package/resources/privilege/v1.js.map +1 -0
- package/resources/privilege/v1.mjs +24 -0
- package/resources/privilege/v1.mjs.map +1 -0
- package/resources/privilege.d.mts +2 -0
- package/resources/privilege.d.mts.map +1 -0
- package/resources/privilege.d.ts +2 -0
- package/resources/privilege.d.ts.map +1 -0
- package/resources/privilege.js +6 -0
- package/resources/privilege.js.map +1 -0
- package/resources/privilege.mjs +3 -0
- package/resources/privilege.mjs.map +1 -0
- package/resources/superdoc/index.d.mts +3 -0
- package/resources/superdoc/index.d.mts.map +1 -0
- package/resources/superdoc/index.d.ts +3 -0
- package/resources/superdoc/index.d.ts.map +1 -0
- package/resources/superdoc/index.js +9 -0
- package/resources/superdoc/index.js.map +1 -0
- package/resources/{webhooks → superdoc}/index.mjs +1 -1
- package/resources/superdoc/index.mjs.map +1 -0
- package/resources/superdoc/superdoc.d.mts +10 -0
- package/resources/superdoc/superdoc.d.mts.map +1 -0
- package/resources/superdoc/superdoc.d.ts +10 -0
- package/resources/superdoc/superdoc.d.ts.map +1 -0
- package/resources/superdoc/superdoc.js +17 -0
- package/resources/superdoc/superdoc.js.map +1 -0
- package/resources/{webhooks/webhooks.mjs → superdoc/superdoc.mjs} +3 -3
- package/resources/superdoc/superdoc.mjs.map +1 -0
- package/resources/superdoc/v1.d.mts +104 -0
- package/resources/superdoc/v1.d.mts.map +1 -0
- package/resources/superdoc/v1.d.ts +104 -0
- package/resources/superdoc/v1.d.ts.map +1 -0
- package/resources/superdoc/v1.js +36 -0
- package/resources/superdoc/v1.js.map +1 -0
- package/resources/superdoc/v1.mjs +32 -0
- package/resources/superdoc/v1.mjs.map +1 -0
- package/resources/superdoc.d.mts +2 -0
- package/resources/superdoc.d.mts.map +1 -0
- package/resources/superdoc.d.ts +2 -0
- package/resources/superdoc.d.ts.map +1 -0
- package/resources/superdoc.js +6 -0
- package/resources/superdoc.js.map +1 -0
- package/resources/superdoc.mjs +3 -0
- package/resources/superdoc.mjs.map +1 -0
- package/resources/translate/index.d.mts +3 -0
- package/resources/translate/index.d.mts.map +1 -0
- package/resources/translate/index.d.ts +3 -0
- package/resources/translate/index.d.ts.map +1 -0
- package/resources/translate/index.js +9 -0
- package/resources/translate/index.js.map +1 -0
- package/resources/translate/index.mjs +4 -0
- package/resources/translate/index.mjs.map +1 -0
- package/resources/translate/translate.d.mts +10 -0
- package/resources/translate/translate.d.mts.map +1 -0
- package/resources/translate/translate.d.ts +10 -0
- package/resources/translate/translate.d.ts.map +1 -0
- package/resources/translate/translate.js +17 -0
- package/resources/translate/translate.js.map +1 -0
- package/resources/translate/translate.mjs +12 -0
- package/resources/translate/translate.mjs.map +1 -0
- package/resources/translate/v1.d.mts +154 -0
- package/resources/translate/v1.d.mts.map +1 -0
- package/resources/translate/v1.d.ts +154 -0
- package/resources/translate/v1.d.ts.map +1 -0
- package/resources/translate/v1.js +51 -0
- package/resources/translate/v1.js.map +1 -0
- package/resources/translate/v1.mjs +47 -0
- package/resources/translate/v1.mjs.map +1 -0
- package/resources/translate.d.mts +2 -0
- package/resources/translate.d.mts.map +1 -0
- package/resources/translate.d.ts +2 -0
- package/resources/translate.d.ts.map +1 -0
- package/resources/translate.js +6 -0
- package/resources/translate.js.map +1 -0
- package/resources/translate.mjs +3 -0
- package/resources/translate.mjs.map +1 -0
- package/resources/vault/graphrag.d.mts +65 -1
- package/resources/vault/graphrag.d.mts.map +1 -1
- package/resources/vault/graphrag.d.ts +65 -1
- package/resources/vault/graphrag.d.ts.map +1 -1
- package/resources/vault/graphrag.js +17 -0
- package/resources/vault/graphrag.js.map +1 -1
- package/resources/vault/graphrag.mjs +17 -0
- package/resources/vault/graphrag.mjs.map +1 -1
- package/resources/vault/index.d.mts +4 -3
- package/resources/vault/index.d.mts.map +1 -1
- package/resources/vault/index.d.ts +4 -3
- package/resources/vault/index.d.ts.map +1 -1
- package/resources/vault/index.js +3 -1
- package/resources/vault/index.js.map +1 -1
- package/resources/vault/index.mjs +2 -1
- package/resources/vault/index.mjs.map +1 -1
- package/resources/vault/multipart.d.mts +140 -0
- package/resources/vault/multipart.d.mts.map +1 -0
- package/resources/vault/multipart.d.ts +140 -0
- package/resources/vault/multipart.d.ts.map +1 -0
- package/resources/vault/multipart.js +84 -0
- package/resources/vault/multipart.js.map +1 -0
- package/resources/vault/multipart.mjs +80 -0
- package/resources/vault/multipart.mjs.map +1 -0
- package/resources/vault/objects.d.mts +319 -42
- package/resources/vault/objects.d.mts.map +1 -1
- package/resources/vault/objects.d.ts +319 -42
- package/resources/vault/objects.d.ts.map +1 -1
- package/resources/vault/objects.js +72 -0
- package/resources/vault/objects.js.map +1 -1
- package/resources/vault/objects.mjs +72 -0
- package/resources/vault/objects.mjs.map +1 -1
- package/resources/vault/vault.d.mts +168 -23
- package/resources/vault/vault.d.mts.map +1 -1
- package/resources/vault/vault.d.ts +168 -23
- package/resources/vault/vault.d.ts.map +1 -1
- package/resources/vault/vault.js +33 -0
- package/resources/vault/vault.js.map +1 -1
- package/resources/vault/vault.mjs +34 -1
- package/resources/vault/vault.mjs.map +1 -1
- package/resources/voice/streaming.d.mts +1 -1
- package/resources/voice/streaming.d.ts +1 -1
- package/resources/voice/streaming.js +1 -1
- package/resources/voice/streaming.mjs +1 -1
- package/src/client.ts +46 -7
- package/src/internal/parse.ts +6 -0
- package/src/resources/{webhooks/webhooks.ts → applications/applications.ts} +5 -5
- package/src/resources/applications/index.ts +4 -0
- package/src/resources/applications/v1/deployments.ts +183 -0
- package/src/resources/applications/v1/index.ts +27 -0
- package/src/resources/applications/v1/projects.ts +421 -0
- package/src/resources/applications/v1/v1.ts +69 -0
- package/src/resources/applications/v1/workflows.ts +31 -0
- package/src/resources/{webhooks.ts → applications/v1.ts} +1 -1
- package/src/resources/{webhooks/index.ts → applications.ts} +1 -2
- package/src/resources/compute/v1/index.ts +9 -3
- package/src/resources/compute/v1/instance-types.ts +86 -0
- package/src/resources/compute/v1/instances.ts +237 -0
- package/src/resources/compute/v1/v1.ts +24 -16
- package/src/resources/database/database.ts +15 -0
- package/src/resources/database/index.ts +4 -0
- package/src/resources/database/v1/index.ts +16 -0
- package/src/resources/database/v1/projects.ts +594 -0
- package/src/resources/database/v1/v1.ts +209 -0
- package/src/resources/database/v1.ts +3 -0
- package/src/resources/database.ts +3 -0
- package/src/resources/index.ts +11 -1
- package/src/resources/legal/index.ts +22 -0
- package/src/resources/legal/legal.ts +51 -0
- package/src/resources/legal/v1.ts +749 -0
- package/src/resources/legal.ts +3 -0
- package/src/resources/memory/index.ts +16 -0
- package/src/resources/memory/memory.ts +39 -0
- package/src/resources/memory/v1.ts +556 -0
- package/src/resources/memory.ts +3 -0
- package/src/resources/ocr/v1.ts +29 -20
- package/src/resources/privilege/index.ts +4 -0
- package/src/resources/privilege/privilege.ts +15 -0
- package/src/resources/privilege/v1.ts +122 -0
- package/src/resources/privilege.ts +3 -0
- package/src/resources/superdoc/index.ts +4 -0
- package/src/resources/superdoc/superdoc.ts +15 -0
- package/src/resources/superdoc/v1.ts +146 -0
- package/src/resources/superdoc.ts +3 -0
- package/src/resources/translate/index.ts +12 -0
- package/src/resources/translate/translate.ts +31 -0
- package/src/resources/translate/v1.ts +197 -0
- package/src/resources/translate.ts +3 -0
- package/src/resources/vault/graphrag.ts +86 -0
- package/src/resources/vault/index.ts +28 -1
- package/src/resources/vault/multipart.ts +204 -0
- package/src/resources/vault/objects.ts +409 -44
- package/src/resources/vault/vault.ts +254 -22
- package/src/resources/voice/streaming.ts +1 -1
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/resources/compute/v1/functions.d.mts +0 -4
- package/resources/compute/v1/functions.d.mts.map +0 -1
- package/resources/compute/v1/functions.d.ts +0 -4
- package/resources/compute/v1/functions.d.ts.map +0 -1
- package/resources/compute/v1/functions.js +0 -9
- package/resources/compute/v1/functions.js.map +0 -1
- package/resources/compute/v1/functions.mjs +0 -5
- package/resources/compute/v1/functions.mjs.map +0 -1
- package/resources/compute/v1/invoke.d.mts +0 -4
- package/resources/compute/v1/invoke.d.mts.map +0 -1
- package/resources/compute/v1/invoke.d.ts +0 -4
- package/resources/compute/v1/invoke.d.ts.map +0 -1
- package/resources/compute/v1/invoke.js +0 -9
- package/resources/compute/v1/invoke.js.map +0 -1
- package/resources/compute/v1/invoke.mjs +0 -5
- package/resources/compute/v1/invoke.mjs.map +0 -1
- package/resources/compute/v1/runs.d.mts +0 -4
- package/resources/compute/v1/runs.d.mts.map +0 -1
- package/resources/compute/v1/runs.d.ts +0 -4
- package/resources/compute/v1/runs.d.ts.map +0 -1
- package/resources/compute/v1/runs.js +0 -9
- package/resources/compute/v1/runs.js.map +0 -1
- package/resources/compute/v1/runs.mjs +0 -5
- package/resources/compute/v1/runs.mjs.map +0 -1
- package/resources/webhooks/index.d.mts +0 -3
- package/resources/webhooks/index.d.mts.map +0 -1
- package/resources/webhooks/index.d.ts +0 -3
- package/resources/webhooks/index.d.ts.map +0 -1
- package/resources/webhooks/index.js.map +0 -1
- package/resources/webhooks/index.mjs.map +0 -1
- package/resources/webhooks/v1.d.mts +0 -4
- package/resources/webhooks/v1.d.mts.map +0 -1
- package/resources/webhooks/v1.d.ts +0 -4
- package/resources/webhooks/v1.d.ts.map +0 -1
- package/resources/webhooks/v1.js +0 -9
- package/resources/webhooks/v1.js.map +0 -1
- package/resources/webhooks/v1.mjs +0 -5
- package/resources/webhooks/v1.mjs.map +0 -1
- package/resources/webhooks/webhooks.d.mts +0 -10
- package/resources/webhooks/webhooks.d.mts.map +0 -1
- package/resources/webhooks/webhooks.d.ts +0 -10
- package/resources/webhooks/webhooks.d.ts.map +0 -1
- package/resources/webhooks/webhooks.js.map +0 -1
- package/resources/webhooks/webhooks.mjs.map +0 -1
- package/resources/webhooks.d.mts +0 -2
- package/resources/webhooks.d.mts.map +0 -1
- package/resources/webhooks.d.ts +0 -2
- package/resources/webhooks.d.ts.map +0 -1
- package/resources/webhooks.js.map +0 -1
- package/resources/webhooks.mjs.map +0 -1
- package/src/resources/compute/v1/functions.ts +0 -5
- package/src/resources/compute/v1/invoke.ts +0 -5
- package/src/resources/compute/v1/runs.ts +0 -5
- package/src/resources/webhooks/v1.ts +0 -5
|
@@ -29,6 +29,32 @@ export class Objects extends APIResource {
|
|
|
29
29
|
return this._client.get(path`/vault/${id}/objects/${objectID}`, options);
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
+
/**
|
|
33
|
+
* Update a document's filename, path, or metadata. Use this to rename files or
|
|
34
|
+
* organize them into virtual folders. The path is stored in metadata.path and can
|
|
35
|
+
* be used to build folder hierarchies in your application.
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* ```ts
|
|
39
|
+
* const object = await client.vault.objects.update(
|
|
40
|
+
* 'objectId',
|
|
41
|
+
* {
|
|
42
|
+
* id: 'id',
|
|
43
|
+
* filename: 'deposition-smith-2024.pdf',
|
|
44
|
+
* path: '/Discovery/Depositions',
|
|
45
|
+
* },
|
|
46
|
+
* );
|
|
47
|
+
* ```
|
|
48
|
+
*/
|
|
49
|
+
update(
|
|
50
|
+
objectID: string,
|
|
51
|
+
params: ObjectUpdateParams,
|
|
52
|
+
options?: RequestOptions,
|
|
53
|
+
): APIPromise<ObjectUpdateResponse> {
|
|
54
|
+
const { id, ...body } = params;
|
|
55
|
+
return this._client.patch(path`/vault/${id}/objects/${objectID}`, { body, ...options });
|
|
56
|
+
}
|
|
57
|
+
|
|
32
58
|
/**
|
|
33
59
|
* Retrieve all objects stored in a specific vault, including document metadata,
|
|
34
60
|
* ingestion status, and processing statistics.
|
|
@@ -42,6 +68,27 @@ export class Objects extends APIResource {
|
|
|
42
68
|
return this._client.get(path`/vault/${id}/objects`, options);
|
|
43
69
|
}
|
|
44
70
|
|
|
71
|
+
/**
|
|
72
|
+
* Permanently deletes a document from the vault including all associated vectors,
|
|
73
|
+
* chunks, graph data, and the original file. This operation cannot be undone.
|
|
74
|
+
*
|
|
75
|
+
* @example
|
|
76
|
+
* ```ts
|
|
77
|
+
* const object = await client.vault.objects.delete(
|
|
78
|
+
* 'objectId',
|
|
79
|
+
* { id: 'id' },
|
|
80
|
+
* );
|
|
81
|
+
* ```
|
|
82
|
+
*/
|
|
83
|
+
delete(
|
|
84
|
+
objectID: string,
|
|
85
|
+
params: ObjectDeleteParams,
|
|
86
|
+
options?: RequestOptions,
|
|
87
|
+
): APIPromise<ObjectDeleteResponse> {
|
|
88
|
+
const { id, force } = params;
|
|
89
|
+
return this._client.delete(path`/vault/${id}/objects/${objectID}`, { query: { force }, ...options });
|
|
90
|
+
}
|
|
91
|
+
|
|
45
92
|
/**
|
|
46
93
|
* Generate presigned URLs for direct S3 operations (GET, PUT, DELETE, HEAD) on
|
|
47
94
|
* vault objects. This allows secure, time-limited access to files without proxying
|
|
@@ -85,6 +132,51 @@ export class Objects extends APIResource {
|
|
|
85
132
|
return this._client.get(path`/vault/${id}/objects/${objectID}/download`, options);
|
|
86
133
|
}
|
|
87
134
|
|
|
135
|
+
/**
|
|
136
|
+
* Retrieves word-level OCR bounding box data for a processed PDF document. Each
|
|
137
|
+
* word includes its text, normalized bounding box coordinates (0-1 range),
|
|
138
|
+
* confidence score, and global word index. Use this data to highlight specific
|
|
139
|
+
* text ranges in a PDF viewer based on word indices from search results.
|
|
140
|
+
*
|
|
141
|
+
* @example
|
|
142
|
+
* ```ts
|
|
143
|
+
* const response = await client.vault.objects.getOcrWords(
|
|
144
|
+
* 'objectId',
|
|
145
|
+
* { id: 'id' },
|
|
146
|
+
* );
|
|
147
|
+
* ```
|
|
148
|
+
*/
|
|
149
|
+
getOcrWords(
|
|
150
|
+
objectID: string,
|
|
151
|
+
params: ObjectGetOcrWordsParams,
|
|
152
|
+
options?: RequestOptions,
|
|
153
|
+
): APIPromise<ObjectGetOcrWordsResponse> {
|
|
154
|
+
const { id, ...query } = params;
|
|
155
|
+
return this._client.get(path`/vault/${id}/objects/${objectID}/ocr-words`, { query, ...options });
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* Get the status of a CaseMark summary workflow job. If the job has been
|
|
160
|
+
* processing for too long, this endpoint will poll CaseMark directly to recover
|
|
161
|
+
* stuck jobs.
|
|
162
|
+
*
|
|
163
|
+
* @example
|
|
164
|
+
* ```ts
|
|
165
|
+
* const response = await client.vault.objects.getSummarizeJob(
|
|
166
|
+
* 'jobId',
|
|
167
|
+
* { id: 'id', objectId: 'objectId' },
|
|
168
|
+
* );
|
|
169
|
+
* ```
|
|
170
|
+
*/
|
|
171
|
+
getSummarizeJob(
|
|
172
|
+
jobID: string,
|
|
173
|
+
params: ObjectGetSummarizeJobParams,
|
|
174
|
+
options?: RequestOptions,
|
|
175
|
+
): APIPromise<ObjectGetSummarizeJobResponse> {
|
|
176
|
+
const { id, objectId } = params;
|
|
177
|
+
return this._client.get(path`/vault/${id}/objects/${objectId}/summarize/${jobID}`, options);
|
|
178
|
+
}
|
|
179
|
+
|
|
88
180
|
/**
|
|
89
181
|
* Retrieves the full extracted text content from a processed vault object. Returns
|
|
90
182
|
* the concatenated text from all chunks, useful for document review, analysis, or
|
|
@@ -112,42 +204,47 @@ export interface ObjectRetrieveResponse {
|
|
|
112
204
|
/**
|
|
113
205
|
* Object ID
|
|
114
206
|
*/
|
|
115
|
-
id
|
|
116
|
-
|
|
117
|
-
/**
|
|
118
|
-
* Number of text chunks created
|
|
119
|
-
*/
|
|
120
|
-
chunkCount?: number;
|
|
207
|
+
id: string;
|
|
121
208
|
|
|
122
209
|
/**
|
|
123
210
|
* MIME type
|
|
124
211
|
*/
|
|
125
|
-
contentType
|
|
212
|
+
contentType: string;
|
|
126
213
|
|
|
127
214
|
/**
|
|
128
215
|
* Upload timestamp
|
|
129
216
|
*/
|
|
130
|
-
createdAt
|
|
217
|
+
createdAt: string;
|
|
131
218
|
|
|
132
219
|
/**
|
|
133
220
|
* Presigned S3 download URL
|
|
134
221
|
*/
|
|
135
|
-
downloadUrl
|
|
222
|
+
downloadUrl: string;
|
|
136
223
|
|
|
137
224
|
/**
|
|
138
225
|
* URL expiration time in seconds
|
|
139
226
|
*/
|
|
140
|
-
expiresIn
|
|
227
|
+
expiresIn: number;
|
|
141
228
|
|
|
142
229
|
/**
|
|
143
230
|
* Original filename
|
|
144
231
|
*/
|
|
145
|
-
filename
|
|
232
|
+
filename: string;
|
|
146
233
|
|
|
147
234
|
/**
|
|
148
235
|
* Processing status (pending, processing, completed, failed)
|
|
149
236
|
*/
|
|
150
|
-
ingestionStatus
|
|
237
|
+
ingestionStatus: string;
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* Vault ID
|
|
241
|
+
*/
|
|
242
|
+
vaultId: string;
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
* Number of text chunks created
|
|
246
|
+
*/
|
|
247
|
+
chunkCount?: number;
|
|
151
248
|
|
|
152
249
|
/**
|
|
153
250
|
* Additional metadata
|
|
@@ -175,28 +272,70 @@ export interface ObjectRetrieveResponse {
|
|
|
175
272
|
textLength?: number;
|
|
176
273
|
|
|
177
274
|
/**
|
|
178
|
-
*
|
|
275
|
+
* Number of embedding vectors generated
|
|
179
276
|
*/
|
|
180
|
-
|
|
277
|
+
vectorCount?: number;
|
|
278
|
+
}
|
|
181
279
|
|
|
280
|
+
export interface ObjectUpdateResponse {
|
|
182
281
|
/**
|
|
183
|
-
*
|
|
282
|
+
* Object ID
|
|
184
283
|
*/
|
|
185
|
-
|
|
284
|
+
id?: string;
|
|
285
|
+
|
|
286
|
+
/**
|
|
287
|
+
* MIME type
|
|
288
|
+
*/
|
|
289
|
+
contentType?: string;
|
|
290
|
+
|
|
291
|
+
/**
|
|
292
|
+
* Updated filename
|
|
293
|
+
*/
|
|
294
|
+
filename?: string;
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* Processing status
|
|
298
|
+
*/
|
|
299
|
+
ingestionStatus?: string;
|
|
300
|
+
|
|
301
|
+
/**
|
|
302
|
+
* Full metadata object
|
|
303
|
+
*/
|
|
304
|
+
metadata?: unknown;
|
|
305
|
+
|
|
306
|
+
/**
|
|
307
|
+
* Folder path for hierarchy preservation
|
|
308
|
+
*/
|
|
309
|
+
path?: string | null;
|
|
310
|
+
|
|
311
|
+
/**
|
|
312
|
+
* File size in bytes
|
|
313
|
+
*/
|
|
314
|
+
sizeBytes?: number;
|
|
315
|
+
|
|
316
|
+
/**
|
|
317
|
+
* Last update timestamp
|
|
318
|
+
*/
|
|
319
|
+
updatedAt?: string;
|
|
320
|
+
|
|
321
|
+
/**
|
|
322
|
+
* Vault ID
|
|
323
|
+
*/
|
|
324
|
+
vaultId?: string;
|
|
186
325
|
}
|
|
187
326
|
|
|
188
327
|
export interface ObjectListResponse {
|
|
189
328
|
/**
|
|
190
329
|
* Total number of objects in the vault
|
|
191
330
|
*/
|
|
192
|
-
count
|
|
331
|
+
count: number;
|
|
193
332
|
|
|
194
|
-
objects
|
|
333
|
+
objects: Array<ObjectListResponse.Object>;
|
|
195
334
|
|
|
196
335
|
/**
|
|
197
336
|
* The ID of the vault
|
|
198
337
|
*/
|
|
199
|
-
vaultId
|
|
338
|
+
vaultId: string;
|
|
200
339
|
}
|
|
201
340
|
|
|
202
341
|
export namespace ObjectListResponse {
|
|
@@ -204,37 +343,37 @@ export namespace ObjectListResponse {
|
|
|
204
343
|
/**
|
|
205
344
|
* Unique object identifier
|
|
206
345
|
*/
|
|
207
|
-
id
|
|
208
|
-
|
|
209
|
-
/**
|
|
210
|
-
* Number of text chunks created for vectorization
|
|
211
|
-
*/
|
|
212
|
-
chunkCount?: number;
|
|
346
|
+
id: string;
|
|
213
347
|
|
|
214
348
|
/**
|
|
215
349
|
* MIME type of the document
|
|
216
350
|
*/
|
|
217
|
-
contentType
|
|
351
|
+
contentType: string;
|
|
218
352
|
|
|
219
353
|
/**
|
|
220
354
|
* Document upload timestamp
|
|
221
355
|
*/
|
|
222
|
-
createdAt
|
|
356
|
+
createdAt: string;
|
|
223
357
|
|
|
224
358
|
/**
|
|
225
359
|
* Original filename of the uploaded document
|
|
226
360
|
*/
|
|
227
|
-
filename
|
|
361
|
+
filename: string;
|
|
228
362
|
|
|
229
363
|
/**
|
|
230
|
-
* Processing
|
|
364
|
+
* Processing status of the document
|
|
231
365
|
*/
|
|
232
|
-
|
|
366
|
+
ingestionStatus: string;
|
|
233
367
|
|
|
234
368
|
/**
|
|
235
|
-
*
|
|
369
|
+
* Number of text chunks created for vectorization
|
|
236
370
|
*/
|
|
237
|
-
|
|
371
|
+
chunkCount?: number;
|
|
372
|
+
|
|
373
|
+
/**
|
|
374
|
+
* Processing completion timestamp
|
|
375
|
+
*/
|
|
376
|
+
ingestionCompletedAt?: string;
|
|
238
377
|
|
|
239
378
|
/**
|
|
240
379
|
* Custom metadata associated with the document
|
|
@@ -273,6 +412,36 @@ export namespace ObjectListResponse {
|
|
|
273
412
|
}
|
|
274
413
|
}
|
|
275
414
|
|
|
415
|
+
export interface ObjectDeleteResponse {
|
|
416
|
+
deletedObject?: ObjectDeleteResponse.DeletedObject;
|
|
417
|
+
|
|
418
|
+
success?: boolean;
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
export namespace ObjectDeleteResponse {
|
|
422
|
+
export interface DeletedObject {
|
|
423
|
+
/**
|
|
424
|
+
* Deleted object ID
|
|
425
|
+
*/
|
|
426
|
+
id?: string;
|
|
427
|
+
|
|
428
|
+
/**
|
|
429
|
+
* Original filename
|
|
430
|
+
*/
|
|
431
|
+
filename?: string;
|
|
432
|
+
|
|
433
|
+
/**
|
|
434
|
+
* Size of deleted file in bytes
|
|
435
|
+
*/
|
|
436
|
+
sizeBytes?: number;
|
|
437
|
+
|
|
438
|
+
/**
|
|
439
|
+
* Number of vectors deleted
|
|
440
|
+
*/
|
|
441
|
+
vectorsDeleted?: number;
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
|
|
276
445
|
export interface ObjectCreatePresignedURLResponse {
|
|
277
446
|
/**
|
|
278
447
|
* URL expiration timestamp
|
|
@@ -336,13 +505,122 @@ export namespace ObjectCreatePresignedURLResponse {
|
|
|
336
505
|
|
|
337
506
|
export type ObjectDownloadResponse = Uploadable;
|
|
338
507
|
|
|
508
|
+
export interface ObjectGetOcrWordsResponse {
|
|
509
|
+
/**
|
|
510
|
+
* When the OCR data was extracted
|
|
511
|
+
*/
|
|
512
|
+
createdAt?: string;
|
|
513
|
+
|
|
514
|
+
/**
|
|
515
|
+
* The object ID
|
|
516
|
+
*/
|
|
517
|
+
objectId?: string;
|
|
518
|
+
|
|
519
|
+
/**
|
|
520
|
+
* Total number of pages in the document
|
|
521
|
+
*/
|
|
522
|
+
pageCount?: number;
|
|
523
|
+
|
|
524
|
+
/**
|
|
525
|
+
* Per-page word data with bounding boxes
|
|
526
|
+
*/
|
|
527
|
+
pages?: Array<ObjectGetOcrWordsResponse.Page>;
|
|
528
|
+
|
|
529
|
+
/**
|
|
530
|
+
* Total number of words extracted from the document
|
|
531
|
+
*/
|
|
532
|
+
totalWords?: number;
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
export namespace ObjectGetOcrWordsResponse {
|
|
536
|
+
export interface Page {
|
|
537
|
+
/**
|
|
538
|
+
* Page number (1-indexed)
|
|
539
|
+
*/
|
|
540
|
+
page?: number;
|
|
541
|
+
|
|
542
|
+
words?: Array<Page.Word>;
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
export namespace Page {
|
|
546
|
+
export interface Word {
|
|
547
|
+
/**
|
|
548
|
+
* Bounding box [x0, y0, x1, y1] normalized to 0-1 range
|
|
549
|
+
*/
|
|
550
|
+
bbox?: Array<number>;
|
|
551
|
+
|
|
552
|
+
/**
|
|
553
|
+
* OCR confidence score (0-1)
|
|
554
|
+
*/
|
|
555
|
+
confidence?: number | null;
|
|
556
|
+
|
|
557
|
+
/**
|
|
558
|
+
* The word text
|
|
559
|
+
*/
|
|
560
|
+
text?: string;
|
|
561
|
+
|
|
562
|
+
/**
|
|
563
|
+
* Global word index across the entire document (0-based)
|
|
564
|
+
*/
|
|
565
|
+
wordIndex?: number;
|
|
566
|
+
}
|
|
567
|
+
}
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
export interface ObjectGetSummarizeJobResponse {
|
|
571
|
+
/**
|
|
572
|
+
* When the job completed
|
|
573
|
+
*/
|
|
574
|
+
completedAt?: string | null;
|
|
575
|
+
|
|
576
|
+
/**
|
|
577
|
+
* When the job was created
|
|
578
|
+
*/
|
|
579
|
+
createdAt?: string;
|
|
580
|
+
|
|
581
|
+
/**
|
|
582
|
+
* Error message (if failed)
|
|
583
|
+
*/
|
|
584
|
+
error?: string | null;
|
|
585
|
+
|
|
586
|
+
/**
|
|
587
|
+
* Case.dev job ID
|
|
588
|
+
*/
|
|
589
|
+
jobId?: string;
|
|
590
|
+
|
|
591
|
+
/**
|
|
592
|
+
* Filename of the result document (if completed)
|
|
593
|
+
*/
|
|
594
|
+
resultFilename?: string | null;
|
|
595
|
+
|
|
596
|
+
/**
|
|
597
|
+
* ID of the result document (if completed)
|
|
598
|
+
*/
|
|
599
|
+
resultObjectId?: string | null;
|
|
600
|
+
|
|
601
|
+
/**
|
|
602
|
+
* ID of the source document
|
|
603
|
+
*/
|
|
604
|
+
sourceObjectId?: string;
|
|
605
|
+
|
|
606
|
+
/**
|
|
607
|
+
* Current job status
|
|
608
|
+
*/
|
|
609
|
+
status?: 'pending' | 'processing' | 'completed' | 'failed';
|
|
610
|
+
|
|
611
|
+
/**
|
|
612
|
+
* Type of workflow being executed
|
|
613
|
+
*/
|
|
614
|
+
workflowType?: string;
|
|
615
|
+
}
|
|
616
|
+
|
|
339
617
|
export interface ObjectGetTextResponse {
|
|
340
|
-
metadata
|
|
618
|
+
metadata: ObjectGetTextResponse.Metadata;
|
|
341
619
|
|
|
342
620
|
/**
|
|
343
621
|
* Full concatenated text content from all chunks
|
|
344
622
|
*/
|
|
345
|
-
text
|
|
623
|
+
text: string;
|
|
346
624
|
}
|
|
347
625
|
|
|
348
626
|
export namespace ObjectGetTextResponse {
|
|
@@ -350,32 +628,32 @@ export namespace ObjectGetTextResponse {
|
|
|
350
628
|
/**
|
|
351
629
|
* Number of text chunks the document was split into
|
|
352
630
|
*/
|
|
353
|
-
chunk_count
|
|
631
|
+
chunk_count: number;
|
|
354
632
|
|
|
355
633
|
/**
|
|
356
634
|
* Original filename of the document
|
|
357
635
|
*/
|
|
358
|
-
filename
|
|
359
|
-
|
|
360
|
-
/**
|
|
361
|
-
* When the document processing completed
|
|
362
|
-
*/
|
|
363
|
-
ingestion_completed_at?: string;
|
|
636
|
+
filename: string;
|
|
364
637
|
|
|
365
638
|
/**
|
|
366
639
|
* Total character count of the extracted text
|
|
367
640
|
*/
|
|
368
|
-
length
|
|
641
|
+
length: number;
|
|
369
642
|
|
|
370
643
|
/**
|
|
371
644
|
* The object ID
|
|
372
645
|
*/
|
|
373
|
-
object_id
|
|
646
|
+
object_id: string;
|
|
374
647
|
|
|
375
648
|
/**
|
|
376
649
|
* The vault ID
|
|
377
650
|
*/
|
|
378
|
-
vault_id
|
|
651
|
+
vault_id: string;
|
|
652
|
+
|
|
653
|
+
/**
|
|
654
|
+
* When the document processing completed
|
|
655
|
+
*/
|
|
656
|
+
ingestion_completed_at?: string;
|
|
379
657
|
}
|
|
380
658
|
}
|
|
381
659
|
|
|
@@ -386,6 +664,42 @@ export interface ObjectRetrieveParams {
|
|
|
386
664
|
id: string;
|
|
387
665
|
}
|
|
388
666
|
|
|
667
|
+
export interface ObjectUpdateParams {
|
|
668
|
+
/**
|
|
669
|
+
* Path param: Vault ID
|
|
670
|
+
*/
|
|
671
|
+
id: string;
|
|
672
|
+
|
|
673
|
+
/**
|
|
674
|
+
* Body param: New filename for the document (affects display name and downloads)
|
|
675
|
+
*/
|
|
676
|
+
filename?: string;
|
|
677
|
+
|
|
678
|
+
/**
|
|
679
|
+
* Body param: Additional metadata to merge with existing metadata
|
|
680
|
+
*/
|
|
681
|
+
metadata?: unknown;
|
|
682
|
+
|
|
683
|
+
/**
|
|
684
|
+
* Body param: Folder path for hierarchy preservation (e.g.,
|
|
685
|
+
* '/Discovery/Depositions'). Set to null or empty string to remove.
|
|
686
|
+
*/
|
|
687
|
+
path?: string | null;
|
|
688
|
+
}
|
|
689
|
+
|
|
690
|
+
export interface ObjectDeleteParams {
|
|
691
|
+
/**
|
|
692
|
+
* Path param: Vault ID
|
|
693
|
+
*/
|
|
694
|
+
id: string;
|
|
695
|
+
|
|
696
|
+
/**
|
|
697
|
+
* Query param: Force delete a stuck document that is still in 'processing' state.
|
|
698
|
+
* Use this if a document got stuck during ingestion (e.g., OCR timeout).
|
|
699
|
+
*/
|
|
700
|
+
force?: 'true';
|
|
701
|
+
}
|
|
702
|
+
|
|
389
703
|
export interface ObjectCreatePresignedURLParams {
|
|
390
704
|
/**
|
|
391
705
|
* Path param: The unique identifier of the vault
|
|
@@ -407,6 +721,12 @@ export interface ObjectCreatePresignedURLParams {
|
|
|
407
721
|
* Body param: The S3 operation to generate URL for
|
|
408
722
|
*/
|
|
409
723
|
operation?: 'GET' | 'PUT' | 'DELETE' | 'HEAD';
|
|
724
|
+
|
|
725
|
+
/**
|
|
726
|
+
* Body param: File size in bytes (optional, max 5GB for single PUT uploads). When
|
|
727
|
+
* provided for PUT operations, enforces exact file size at S3 level.
|
|
728
|
+
*/
|
|
729
|
+
sizeBytes?: number;
|
|
410
730
|
}
|
|
411
731
|
|
|
412
732
|
export interface ObjectDownloadParams {
|
|
@@ -416,6 +736,43 @@ export interface ObjectDownloadParams {
|
|
|
416
736
|
id: string;
|
|
417
737
|
}
|
|
418
738
|
|
|
739
|
+
export interface ObjectGetOcrWordsParams {
|
|
740
|
+
/**
|
|
741
|
+
* Path param: The vault ID
|
|
742
|
+
*/
|
|
743
|
+
id: string;
|
|
744
|
+
|
|
745
|
+
/**
|
|
746
|
+
* Query param: Filter to a specific page number (1-indexed). If omitted, returns
|
|
747
|
+
* all pages.
|
|
748
|
+
*/
|
|
749
|
+
page?: number;
|
|
750
|
+
|
|
751
|
+
/**
|
|
752
|
+
* Query param: Filter to words ending at this index (inclusive). Useful for
|
|
753
|
+
* retrieving words for a specific chunk.
|
|
754
|
+
*/
|
|
755
|
+
wordEnd?: number;
|
|
756
|
+
|
|
757
|
+
/**
|
|
758
|
+
* Query param: Filter to words starting at this index (inclusive). Useful for
|
|
759
|
+
* retrieving words for a specific chunk.
|
|
760
|
+
*/
|
|
761
|
+
wordStart?: number;
|
|
762
|
+
}
|
|
763
|
+
|
|
764
|
+
export interface ObjectGetSummarizeJobParams {
|
|
765
|
+
/**
|
|
766
|
+
* Vault ID
|
|
767
|
+
*/
|
|
768
|
+
id: string;
|
|
769
|
+
|
|
770
|
+
/**
|
|
771
|
+
* Source object ID
|
|
772
|
+
*/
|
|
773
|
+
objectId: string;
|
|
774
|
+
}
|
|
775
|
+
|
|
419
776
|
export interface ObjectGetTextParams {
|
|
420
777
|
/**
|
|
421
778
|
* The vault ID
|
|
@@ -426,13 +783,21 @@ export interface ObjectGetTextParams {
|
|
|
426
783
|
export declare namespace Objects {
|
|
427
784
|
export {
|
|
428
785
|
type ObjectRetrieveResponse as ObjectRetrieveResponse,
|
|
786
|
+
type ObjectUpdateResponse as ObjectUpdateResponse,
|
|
429
787
|
type ObjectListResponse as ObjectListResponse,
|
|
788
|
+
type ObjectDeleteResponse as ObjectDeleteResponse,
|
|
430
789
|
type ObjectCreatePresignedURLResponse as ObjectCreatePresignedURLResponse,
|
|
431
790
|
type ObjectDownloadResponse as ObjectDownloadResponse,
|
|
791
|
+
type ObjectGetOcrWordsResponse as ObjectGetOcrWordsResponse,
|
|
792
|
+
type ObjectGetSummarizeJobResponse as ObjectGetSummarizeJobResponse,
|
|
432
793
|
type ObjectGetTextResponse as ObjectGetTextResponse,
|
|
433
794
|
type ObjectRetrieveParams as ObjectRetrieveParams,
|
|
795
|
+
type ObjectUpdateParams as ObjectUpdateParams,
|
|
796
|
+
type ObjectDeleteParams as ObjectDeleteParams,
|
|
434
797
|
type ObjectCreatePresignedURLParams as ObjectCreatePresignedURLParams,
|
|
435
798
|
type ObjectDownloadParams as ObjectDownloadParams,
|
|
799
|
+
type ObjectGetOcrWordsParams as ObjectGetOcrWordsParams,
|
|
800
|
+
type ObjectGetSummarizeJobParams as ObjectGetSummarizeJobParams,
|
|
436
801
|
type ObjectGetTextParams as ObjectGetTextParams,
|
|
437
802
|
};
|
|
438
803
|
}
|