casedev 0.3.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +29 -0
- package/client.d.mts +24 -5
- package/client.d.mts.map +1 -1
- package/client.d.ts +24 -5
- package/client.d.ts.map +1 -1
- package/client.js +31 -5
- package/client.js.map +1 -1
- package/client.mjs +31 -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/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 +275 -3
- package/resources/vault/objects.d.mts.map +1 -1
- package/resources/vault/objects.d.ts +275 -3
- 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 +139 -7
- package/resources/vault/vault.d.mts.map +1 -1
- package/resources/vault/vault.d.ts +139 -7
- 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/src/client.ts +53 -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/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 +361 -2
- package/src/resources/vault/vault.ts +220 -3
- 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
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../../core/resource';
|
|
4
|
+
import { APIPromise } from '../../core/api-promise';
|
|
5
|
+
import { buildHeaders } from '../../internal/headers';
|
|
6
|
+
import { RequestOptions } from '../../internal/request-options';
|
|
7
|
+
import { path } from '../../internal/utils/path';
|
|
8
|
+
|
|
9
|
+
export class Multipart extends APIResource {
|
|
10
|
+
/**
|
|
11
|
+
* Abort a multipart upload and discard uploaded parts.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```ts
|
|
15
|
+
* await client.vault.multipart.abort('id', {
|
|
16
|
+
* objectId: 'objectId',
|
|
17
|
+
* uploadId: 'uploadId',
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
abort(id: string, body: MultipartAbortParams, options?: RequestOptions): APIPromise<void> {
|
|
22
|
+
return this._client.post(path`/vault/${id}/multipart/abort`, {
|
|
23
|
+
body,
|
|
24
|
+
...options,
|
|
25
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Complete a multipart upload by providing the list of part numbers and ETags.
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* ```ts
|
|
34
|
+
* await client.vault.multipart.complete('id', {
|
|
35
|
+
* objectId: 'objectId',
|
|
36
|
+
* parts: [{ etag: 'etag', partNumber: 1 }],
|
|
37
|
+
* sizeBytes: 1,
|
|
38
|
+
* uploadId: 'uploadId',
|
|
39
|
+
* });
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
complete(id: string, body: MultipartCompleteParams, options?: RequestOptions): APIPromise<void> {
|
|
43
|
+
return this._client.post(path`/vault/${id}/multipart/complete`, {
|
|
44
|
+
body,
|
|
45
|
+
...options,
|
|
46
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Generate presigned URLs for individual multipart upload parts.
|
|
52
|
+
*
|
|
53
|
+
* @example
|
|
54
|
+
* ```ts
|
|
55
|
+
* const response = await client.vault.multipart.getPartURLs(
|
|
56
|
+
* 'id',
|
|
57
|
+
* {
|
|
58
|
+
* objectId: 'objectId',
|
|
59
|
+
* parts: [{ partNumber: 1, sizeBytes: 1 }],
|
|
60
|
+
* uploadId: 'uploadId',
|
|
61
|
+
* },
|
|
62
|
+
* );
|
|
63
|
+
* ```
|
|
64
|
+
*/
|
|
65
|
+
getPartURLs(
|
|
66
|
+
id: string,
|
|
67
|
+
body: MultipartGetPartURLsParams,
|
|
68
|
+
options?: RequestOptions,
|
|
69
|
+
): APIPromise<MultipartGetPartURLsResponse> {
|
|
70
|
+
return this._client.post(path`/vault/${id}/multipart/part-urls`, { body, ...options });
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Initiate a multipart upload for large files (>5GB). Returns an uploadId and
|
|
75
|
+
* object metadata. Use part URLs endpoint to upload parts and complete endpoint to
|
|
76
|
+
* finalize.
|
|
77
|
+
*
|
|
78
|
+
* @example
|
|
79
|
+
* ```ts
|
|
80
|
+
* const response = await client.vault.multipart.init('id', {
|
|
81
|
+
* contentType: 'contentType',
|
|
82
|
+
* filename: 'filename',
|
|
83
|
+
* sizeBytes: 1,
|
|
84
|
+
* });
|
|
85
|
+
* ```
|
|
86
|
+
*/
|
|
87
|
+
init(id: string, body: MultipartInitParams, options?: RequestOptions): APIPromise<MultipartInitResponse> {
|
|
88
|
+
return this._client.post(path`/vault/${id}/multipart/init`, { body, ...options });
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export interface MultipartGetPartURLsResponse {
|
|
93
|
+
urls?: Array<MultipartGetPartURLsResponse.URL>;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export namespace MultipartGetPartURLsResponse {
|
|
97
|
+
export interface URL {
|
|
98
|
+
partNumber?: number;
|
|
99
|
+
|
|
100
|
+
url?: string;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export interface MultipartInitResponse {
|
|
105
|
+
next_step?: string;
|
|
106
|
+
|
|
107
|
+
objectId?: string;
|
|
108
|
+
|
|
109
|
+
partCount?: number;
|
|
110
|
+
|
|
111
|
+
partSizeBytes?: number;
|
|
112
|
+
|
|
113
|
+
s3Key?: string;
|
|
114
|
+
|
|
115
|
+
uploadId?: string;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
export interface MultipartAbortParams {
|
|
119
|
+
objectId: string;
|
|
120
|
+
|
|
121
|
+
uploadId: string;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
export interface MultipartCompleteParams {
|
|
125
|
+
objectId: string;
|
|
126
|
+
|
|
127
|
+
parts: Array<MultipartCompleteParams.Part>;
|
|
128
|
+
|
|
129
|
+
sizeBytes: number;
|
|
130
|
+
|
|
131
|
+
uploadId: string;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
export namespace MultipartCompleteParams {
|
|
135
|
+
export interface Part {
|
|
136
|
+
etag: string;
|
|
137
|
+
|
|
138
|
+
partNumber: number;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
export interface MultipartGetPartURLsParams {
|
|
143
|
+
objectId: string;
|
|
144
|
+
|
|
145
|
+
parts: Array<MultipartGetPartURLsParams.Part>;
|
|
146
|
+
|
|
147
|
+
uploadId: string;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
export namespace MultipartGetPartURLsParams {
|
|
151
|
+
export interface Part {
|
|
152
|
+
partNumber: number;
|
|
153
|
+
|
|
154
|
+
sizeBytes: number;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
export interface MultipartInitParams {
|
|
159
|
+
/**
|
|
160
|
+
* MIME type of the file
|
|
161
|
+
*/
|
|
162
|
+
contentType: string;
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* Name of the file to upload
|
|
166
|
+
*/
|
|
167
|
+
filename: string;
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* File size in bytes (required, max 8GB).
|
|
171
|
+
*/
|
|
172
|
+
sizeBytes: number;
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* Whether to automatically process and index the file for search
|
|
176
|
+
*/
|
|
177
|
+
auto_index?: boolean;
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* Additional metadata to associate with the file
|
|
181
|
+
*/
|
|
182
|
+
metadata?: unknown;
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* Multipart part size in bytes (min 5MB). Defaults to 64MB.
|
|
186
|
+
*/
|
|
187
|
+
partSizeBytes?: number;
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* Optional folder path for hierarchy preservation
|
|
191
|
+
*/
|
|
192
|
+
path?: string;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
export declare namespace Multipart {
|
|
196
|
+
export {
|
|
197
|
+
type MultipartGetPartURLsResponse as MultipartGetPartURLsResponse,
|
|
198
|
+
type MultipartInitResponse as MultipartInitResponse,
|
|
199
|
+
type MultipartAbortParams as MultipartAbortParams,
|
|
200
|
+
type MultipartCompleteParams as MultipartCompleteParams,
|
|
201
|
+
type MultipartGetPartURLsParams as MultipartGetPartURLsParams,
|
|
202
|
+
type MultipartInitParams as MultipartInitParams,
|
|
203
|
+
};
|
|
204
|
+
}
|
|
@@ -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
|
|
@@ -185,6 +277,53 @@ export interface ObjectRetrieveResponse {
|
|
|
185
277
|
vectorCount?: number;
|
|
186
278
|
}
|
|
187
279
|
|
|
280
|
+
export interface ObjectUpdateResponse {
|
|
281
|
+
/**
|
|
282
|
+
* Object ID
|
|
283
|
+
*/
|
|
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;
|
|
325
|
+
}
|
|
326
|
+
|
|
188
327
|
export interface ObjectListResponse {
|
|
189
328
|
/**
|
|
190
329
|
* Total number of objects in the vault
|
|
@@ -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,6 +505,115 @@ 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
618
|
metadata: ObjectGetTextResponse.Metadata;
|
|
341
619
|
|
|
@@ -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
|
|
@@ -409,8 +723,8 @@ export interface ObjectCreatePresignedURLParams {
|
|
|
409
723
|
operation?: 'GET' | 'PUT' | 'DELETE' | 'HEAD';
|
|
410
724
|
|
|
411
725
|
/**
|
|
412
|
-
* Body param: File size in bytes (optional, max
|
|
413
|
-
* operations, enforces exact file size at S3 level.
|
|
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.
|
|
414
728
|
*/
|
|
415
729
|
sizeBytes?: number;
|
|
416
730
|
}
|
|
@@ -422,6 +736,43 @@ export interface ObjectDownloadParams {
|
|
|
422
736
|
id: string;
|
|
423
737
|
}
|
|
424
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
|
+
|
|
425
776
|
export interface ObjectGetTextParams {
|
|
426
777
|
/**
|
|
427
778
|
* The vault ID
|
|
@@ -432,13 +783,21 @@ export interface ObjectGetTextParams {
|
|
|
432
783
|
export declare namespace Objects {
|
|
433
784
|
export {
|
|
434
785
|
type ObjectRetrieveResponse as ObjectRetrieveResponse,
|
|
786
|
+
type ObjectUpdateResponse as ObjectUpdateResponse,
|
|
435
787
|
type ObjectListResponse as ObjectListResponse,
|
|
788
|
+
type ObjectDeleteResponse as ObjectDeleteResponse,
|
|
436
789
|
type ObjectCreatePresignedURLResponse as ObjectCreatePresignedURLResponse,
|
|
437
790
|
type ObjectDownloadResponse as ObjectDownloadResponse,
|
|
791
|
+
type ObjectGetOcrWordsResponse as ObjectGetOcrWordsResponse,
|
|
792
|
+
type ObjectGetSummarizeJobResponse as ObjectGetSummarizeJobResponse,
|
|
438
793
|
type ObjectGetTextResponse as ObjectGetTextResponse,
|
|
439
794
|
type ObjectRetrieveParams as ObjectRetrieveParams,
|
|
795
|
+
type ObjectUpdateParams as ObjectUpdateParams,
|
|
796
|
+
type ObjectDeleteParams as ObjectDeleteParams,
|
|
440
797
|
type ObjectCreatePresignedURLParams as ObjectCreatePresignedURLParams,
|
|
441
798
|
type ObjectDownloadParams as ObjectDownloadParams,
|
|
799
|
+
type ObjectGetOcrWordsParams as ObjectGetOcrWordsParams,
|
|
800
|
+
type ObjectGetSummarizeJobParams as ObjectGetSummarizeJobParams,
|
|
442
801
|
type ObjectGetTextParams as ObjectGetTextParams,
|
|
443
802
|
};
|
|
444
803
|
}
|