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
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../../core/api-promise.js";
|
|
3
|
+
import { RequestOptions } from "../../internal/request-options.js";
|
|
4
|
+
export declare class V1 extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Detect the language of text. Returns the most likely language code and
|
|
7
|
+
* confidence score. Supports batch detection for multiple texts.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```ts
|
|
11
|
+
* const response = await client.translate.v1.detect({
|
|
12
|
+
* q: 'string',
|
|
13
|
+
* });
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
detect(body: V1DetectParams, options?: RequestOptions): APIPromise<V1DetectResponse>;
|
|
17
|
+
/**
|
|
18
|
+
* Get the list of languages supported for translation. Optionally specify a target
|
|
19
|
+
* language to get translated language names.
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* ```ts
|
|
23
|
+
* const response = await client.translate.v1.listLanguages();
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
listLanguages(query?: V1ListLanguagesParams | null | undefined, options?: RequestOptions): APIPromise<V1ListLanguagesResponse>;
|
|
27
|
+
/**
|
|
28
|
+
* Translate text between languages using Google Cloud Translation API. Supports
|
|
29
|
+
* 100+ languages, automatic language detection, HTML preservation, and batch
|
|
30
|
+
* translation.
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* ```ts
|
|
34
|
+
* const response = await client.translate.v1.translate({
|
|
35
|
+
* q: 'string',
|
|
36
|
+
* target: 'es',
|
|
37
|
+
* });
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
translate(body: V1TranslateParams, options?: RequestOptions): APIPromise<V1TranslateResponse>;
|
|
41
|
+
}
|
|
42
|
+
export interface V1DetectResponse {
|
|
43
|
+
data?: V1DetectResponse.Data;
|
|
44
|
+
}
|
|
45
|
+
export declare namespace V1DetectResponse {
|
|
46
|
+
interface Data {
|
|
47
|
+
detections?: Array<Array<Data.Detection>>;
|
|
48
|
+
}
|
|
49
|
+
namespace Data {
|
|
50
|
+
interface Detection {
|
|
51
|
+
/**
|
|
52
|
+
* Confidence score (0-1)
|
|
53
|
+
*/
|
|
54
|
+
confidence?: number;
|
|
55
|
+
/**
|
|
56
|
+
* Whether the detection is reliable
|
|
57
|
+
*/
|
|
58
|
+
isReliable?: boolean;
|
|
59
|
+
/**
|
|
60
|
+
* Detected language code (ISO 639-1)
|
|
61
|
+
*/
|
|
62
|
+
language?: string;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
export interface V1ListLanguagesResponse {
|
|
67
|
+
data?: V1ListLanguagesResponse.Data;
|
|
68
|
+
}
|
|
69
|
+
export declare namespace V1ListLanguagesResponse {
|
|
70
|
+
interface Data {
|
|
71
|
+
languages?: Array<Data.Language>;
|
|
72
|
+
}
|
|
73
|
+
namespace Data {
|
|
74
|
+
interface Language {
|
|
75
|
+
/**
|
|
76
|
+
* Language code (ISO 639-1)
|
|
77
|
+
*/
|
|
78
|
+
language?: string;
|
|
79
|
+
/**
|
|
80
|
+
* Language name (if target specified)
|
|
81
|
+
*/
|
|
82
|
+
name?: string;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
export interface V1TranslateResponse {
|
|
87
|
+
data?: V1TranslateResponse.Data;
|
|
88
|
+
}
|
|
89
|
+
export declare namespace V1TranslateResponse {
|
|
90
|
+
interface Data {
|
|
91
|
+
translations?: Array<Data.Translation>;
|
|
92
|
+
}
|
|
93
|
+
namespace Data {
|
|
94
|
+
interface Translation {
|
|
95
|
+
/**
|
|
96
|
+
* Detected source language (if source not specified)
|
|
97
|
+
*/
|
|
98
|
+
detectedSourceLanguage?: string;
|
|
99
|
+
/**
|
|
100
|
+
* Model used for translation
|
|
101
|
+
*/
|
|
102
|
+
model?: string;
|
|
103
|
+
/**
|
|
104
|
+
* Translated text
|
|
105
|
+
*/
|
|
106
|
+
translatedText?: string;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
export interface V1DetectParams {
|
|
111
|
+
/**
|
|
112
|
+
* Text to detect language for. Can be a single string or an array for batch
|
|
113
|
+
* detection.
|
|
114
|
+
*/
|
|
115
|
+
q: string | Array<string>;
|
|
116
|
+
}
|
|
117
|
+
export interface V1ListLanguagesParams {
|
|
118
|
+
/**
|
|
119
|
+
* Translation model to check language support for
|
|
120
|
+
*/
|
|
121
|
+
model?: 'nmt' | 'base';
|
|
122
|
+
/**
|
|
123
|
+
* Target language code for translating language names (e.g., 'es' for Spanish
|
|
124
|
+
* names)
|
|
125
|
+
*/
|
|
126
|
+
target?: string;
|
|
127
|
+
}
|
|
128
|
+
export interface V1TranslateParams {
|
|
129
|
+
/**
|
|
130
|
+
* Text to translate. Can be a single string or an array for batch translation.
|
|
131
|
+
*/
|
|
132
|
+
q: string | Array<string>;
|
|
133
|
+
/**
|
|
134
|
+
* Target language code (ISO 639-1)
|
|
135
|
+
*/
|
|
136
|
+
target: string;
|
|
137
|
+
/**
|
|
138
|
+
* Format of the source text. Use 'html' to preserve HTML tags.
|
|
139
|
+
*/
|
|
140
|
+
format?: 'text' | 'html';
|
|
141
|
+
/**
|
|
142
|
+
* Translation model. 'nmt' (Neural Machine Translation) is recommended for
|
|
143
|
+
* quality.
|
|
144
|
+
*/
|
|
145
|
+
model?: 'nmt' | 'base';
|
|
146
|
+
/**
|
|
147
|
+
* Source language code (ISO 639-1). If not specified, language is auto-detected.
|
|
148
|
+
*/
|
|
149
|
+
source?: string;
|
|
150
|
+
}
|
|
151
|
+
export declare namespace V1 {
|
|
152
|
+
export { type V1DetectResponse as V1DetectResponse, type V1ListLanguagesResponse as V1ListLanguagesResponse, type V1TranslateResponse as V1TranslateResponse, type V1DetectParams as V1DetectParams, type V1ListLanguagesParams as V1ListLanguagesParams, type V1TranslateParams as V1TranslateParams, };
|
|
153
|
+
}
|
|
154
|
+
//# sourceMappingURL=v1.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v1.d.ts","sourceRoot":"","sources":["../../src/resources/translate/v1.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,EAAG,SAAQ,WAAW;IACjC;;;;;;;;;;OAUG;IACH,MAAM,CAAC,IAAI,EAAE,cAAc,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,gBAAgB,CAAC;IAIpF;;;;;;;;OAQG;IACH,aAAa,CACX,KAAK,GAAE,qBAAqB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,uBAAuB,CAAC;IAItC;;;;;;;;;;;;OAYG;IACH,SAAS,CAAC,IAAI,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,mBAAmB,CAAC;CAG9F;AAED,MAAM,WAAW,gBAAgB;IAC/B,IAAI,CAAC,EAAE,gBAAgB,CAAC,IAAI,CAAC;CAC9B;AAED,yBAAiB,gBAAgB,CAAC;IAChC,UAAiB,IAAI;QACnB,UAAU,CAAC,EAAE,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC;KAC3C;IAED,UAAiB,IAAI,CAAC;QACpB,UAAiB,SAAS;YACxB;;eAEG;YACH,UAAU,CAAC,EAAE,MAAM,CAAC;YAEpB;;eAEG;YACH,UAAU,CAAC,EAAE,OAAO,CAAC;YAErB;;eAEG;YACH,QAAQ,CAAC,EAAE,MAAM,CAAC;SACnB;KACF;CACF;AAED,MAAM,WAAW,uBAAuB;IACtC,IAAI,CAAC,EAAE,uBAAuB,CAAC,IAAI,CAAC;CACrC;AAED,yBAAiB,uBAAuB,CAAC;IACvC,UAAiB,IAAI;QACnB,SAAS,CAAC,EAAE,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;KAClC;IAED,UAAiB,IAAI,CAAC;QACpB,UAAiB,QAAQ;YACvB;;eAEG;YACH,QAAQ,CAAC,EAAE,MAAM,CAAC;YAElB;;eAEG;YACH,IAAI,CAAC,EAAE,MAAM,CAAC;SACf;KACF;CACF;AAED,MAAM,WAAW,mBAAmB;IAClC,IAAI,CAAC,EAAE,mBAAmB,CAAC,IAAI,CAAC;CACjC;AAED,yBAAiB,mBAAmB,CAAC;IACnC,UAAiB,IAAI;QACnB,YAAY,CAAC,EAAE,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;KACxC;IAED,UAAiB,IAAI,CAAC;QACpB,UAAiB,WAAW;YAC1B;;eAEG;YACH,sBAAsB,CAAC,EAAE,MAAM,CAAC;YAEhC;;eAEG;YACH,KAAK,CAAC,EAAE,MAAM,CAAC;YAEf;;eAEG;YACH,cAAc,CAAC,EAAE,MAAM,CAAC;SACzB;KACF;CACF;AAED,MAAM,WAAW,cAAc;IAC7B;;;OAGG;IACH,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;CAC3B;AAED,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;IAEvB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;IAE1B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAEzB;;;OAGG;IACH,KAAK,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;IAEvB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,EAAE,CAAC;IAC1B,OAAO,EACL,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;CACH"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.V1 = void 0;
|
|
5
|
+
const resource_1 = require("../../core/resource.js");
|
|
6
|
+
class V1 extends resource_1.APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* Detect the language of text. Returns the most likely language code and
|
|
9
|
+
* confidence score. Supports batch detection for multiple texts.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```ts
|
|
13
|
+
* const response = await client.translate.v1.detect({
|
|
14
|
+
* q: 'string',
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
detect(body, options) {
|
|
19
|
+
return this._client.post('/translate/v1/detect', { body, ...options });
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Get the list of languages supported for translation. Optionally specify a target
|
|
23
|
+
* language to get translated language names.
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* ```ts
|
|
27
|
+
* const response = await client.translate.v1.listLanguages();
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
listLanguages(query = {}, options) {
|
|
31
|
+
return this._client.get('/translate/v1/languages', { query, ...options });
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Translate text between languages using Google Cloud Translation API. Supports
|
|
35
|
+
* 100+ languages, automatic language detection, HTML preservation, and batch
|
|
36
|
+
* translation.
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* ```ts
|
|
40
|
+
* const response = await client.translate.v1.translate({
|
|
41
|
+
* q: 'string',
|
|
42
|
+
* target: 'es',
|
|
43
|
+
* });
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
46
|
+
translate(body, options) {
|
|
47
|
+
return this._client.post('/translate/v1/translate', { body, ...options });
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
exports.V1 = V1;
|
|
51
|
+
//# sourceMappingURL=v1.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v1.js","sourceRoot":"","sources":["../../src/resources/translate/v1.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAIlD,MAAa,EAAG,SAAQ,sBAAW;IACjC;;;;;;;;;;OAUG;IACH,MAAM,CAAC,IAAoB,EAAE,OAAwB;QACnD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,sBAAsB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzE,CAAC;IAED;;;;;;;;OAQG;IACH,aAAa,CACX,QAAkD,EAAE,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,yBAAyB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5E,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,SAAS,CAAC,IAAuB,EAAE,OAAwB;QACzD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,yBAAyB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5E,CAAC;CACF;AAhDD,gBAgDC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
3
|
+
export class V1 extends APIResource {
|
|
4
|
+
/**
|
|
5
|
+
* Detect the language of text. Returns the most likely language code and
|
|
6
|
+
* confidence score. Supports batch detection for multiple texts.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```ts
|
|
10
|
+
* const response = await client.translate.v1.detect({
|
|
11
|
+
* q: 'string',
|
|
12
|
+
* });
|
|
13
|
+
* ```
|
|
14
|
+
*/
|
|
15
|
+
detect(body, options) {
|
|
16
|
+
return this._client.post('/translate/v1/detect', { body, ...options });
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Get the list of languages supported for translation. Optionally specify a target
|
|
20
|
+
* language to get translated language names.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* ```ts
|
|
24
|
+
* const response = await client.translate.v1.listLanguages();
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
listLanguages(query = {}, options) {
|
|
28
|
+
return this._client.get('/translate/v1/languages', { query, ...options });
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Translate text between languages using Google Cloud Translation API. Supports
|
|
32
|
+
* 100+ languages, automatic language detection, HTML preservation, and batch
|
|
33
|
+
* translation.
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* ```ts
|
|
37
|
+
* const response = await client.translate.v1.translate({
|
|
38
|
+
* q: 'string',
|
|
39
|
+
* target: 'es',
|
|
40
|
+
* });
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
translate(body, options) {
|
|
44
|
+
return this._client.post('/translate/v1/translate', { body, ...options });
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
//# sourceMappingURL=v1.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v1.mjs","sourceRoot":"","sources":["../../src/resources/translate/v1.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,EAAG,SAAQ,WAAW;IACjC;;;;;;;;;;OAUG;IACH,MAAM,CAAC,IAAoB,EAAE,OAAwB;QACnD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,sBAAsB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzE,CAAC;IAED;;;;;;;;OAQG;IACH,aAAa,CACX,QAAkD,EAAE,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,yBAAyB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5E,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,SAAS,CAAC,IAAuB,EAAE,OAAwB;QACzD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,yBAAyB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5E,CAAC;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"translate.d.mts","sourceRoot":"","sources":["../src/resources/translate.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"translate.d.ts","sourceRoot":"","sources":["../src/resources/translate.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
const tslib_1 = require("../internal/tslib.js");
|
|
5
|
+
tslib_1.__exportStar(require("./translate/index.js"), exports);
|
|
6
|
+
//# sourceMappingURL=translate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"translate.js","sourceRoot":"","sources":["../src/resources/translate.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,+DAAkC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"translate.mjs","sourceRoot":"","sources":["../src/resources/translate.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
|
|
@@ -26,6 +26,20 @@ export declare class Graphrag extends APIResource {
|
|
|
26
26
|
* ```
|
|
27
27
|
*/
|
|
28
28
|
init(id: string, options?: RequestOptions): APIPromise<GraphragInitResponse>;
|
|
29
|
+
/**
|
|
30
|
+
* Manually trigger GraphRAG indexing for a vault object. The object must already
|
|
31
|
+
* be ingested (completed status). This extracts entities, relationships, and
|
|
32
|
+
* communities from the document for advanced knowledge graph queries.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* ```ts
|
|
36
|
+
* const response = await client.vault.graphrag.processObject(
|
|
37
|
+
* 'objectId',
|
|
38
|
+
* { id: 'id' },
|
|
39
|
+
* );
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
processObject(objectID: string, params: GraphragProcessObjectParams, options?: RequestOptions): APIPromise<GraphragProcessObjectResponse>;
|
|
29
43
|
}
|
|
30
44
|
export interface GraphragGetStatsResponse {
|
|
31
45
|
/**
|
|
@@ -59,7 +73,57 @@ export interface GraphragInitResponse {
|
|
|
59
73
|
success?: boolean;
|
|
60
74
|
vault_id?: string;
|
|
61
75
|
}
|
|
76
|
+
export interface GraphragProcessObjectResponse {
|
|
77
|
+
/**
|
|
78
|
+
* Number of communities detected
|
|
79
|
+
*/
|
|
80
|
+
communities: number;
|
|
81
|
+
/**
|
|
82
|
+
* Number of entities extracted
|
|
83
|
+
*/
|
|
84
|
+
entities: number;
|
|
85
|
+
/**
|
|
86
|
+
* ID of the indexed object
|
|
87
|
+
*/
|
|
88
|
+
objectId: string;
|
|
89
|
+
/**
|
|
90
|
+
* Number of relationships extracted
|
|
91
|
+
*/
|
|
92
|
+
relationships: number;
|
|
93
|
+
/**
|
|
94
|
+
* Extraction statistics
|
|
95
|
+
*/
|
|
96
|
+
stats: GraphragProcessObjectResponse.Stats;
|
|
97
|
+
/**
|
|
98
|
+
* Status from GraphRAG service
|
|
99
|
+
*/
|
|
100
|
+
status: string;
|
|
101
|
+
/**
|
|
102
|
+
* Whether indexing completed successfully
|
|
103
|
+
*/
|
|
104
|
+
success: boolean;
|
|
105
|
+
/**
|
|
106
|
+
* ID of the vault
|
|
107
|
+
*/
|
|
108
|
+
vaultId: string;
|
|
109
|
+
}
|
|
110
|
+
export declare namespace GraphragProcessObjectResponse {
|
|
111
|
+
/**
|
|
112
|
+
* Extraction statistics
|
|
113
|
+
*/
|
|
114
|
+
interface Stats {
|
|
115
|
+
community_count?: number;
|
|
116
|
+
entity_count?: number;
|
|
117
|
+
relationship_count?: number;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
export interface GraphragProcessObjectParams {
|
|
121
|
+
/**
|
|
122
|
+
* Vault ID
|
|
123
|
+
*/
|
|
124
|
+
id: string;
|
|
125
|
+
}
|
|
62
126
|
export declare namespace Graphrag {
|
|
63
|
-
export { type GraphragGetStatsResponse as GraphragGetStatsResponse, type GraphragInitResponse as GraphragInitResponse, };
|
|
127
|
+
export { type GraphragGetStatsResponse as GraphragGetStatsResponse, type GraphragInitResponse as GraphragInitResponse, type GraphragProcessObjectResponse as GraphragProcessObjectResponse, type GraphragProcessObjectParams as GraphragProcessObjectParams, };
|
|
64
128
|
}
|
|
65
129
|
//# sourceMappingURL=graphrag.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"graphrag.d.mts","sourceRoot":"","sources":["../../src/resources/vault/graphrag.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,wBAAwB,CAAC;IAIpF;;;;;;;;;;OAUG;IACH,IAAI,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"graphrag.d.mts","sourceRoot":"","sources":["../../src/resources/vault/graphrag.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,wBAAwB,CAAC;IAIpF;;;;;;;;;;OAUG;IACH,IAAI,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,oBAAoB,CAAC;IAI5E;;;;;;;;;;;;OAYG;IACH,aAAa,CACX,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,2BAA2B,EACnC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,6BAA6B,CAAC;CAI7C;AAED,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,MAAM,CAAC,EAAE,YAAY,GAAG,WAAW,GAAG,OAAO,CAAC;CAC/C;AAED,MAAM,WAAW,oBAAoB;IACnC,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,6BAA6B;IAC5C;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,KAAK,EAAE,6BAA6B,CAAC,KAAK,CAAC;IAE3C;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IAEjB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,yBAAiB,6BAA6B,CAAC;IAC7C;;OAEG;IACH,UAAiB,KAAK;QACpB,eAAe,CAAC,EAAE,MAAM,CAAC;QAEzB,YAAY,CAAC,EAAE,MAAM,CAAC;QAEtB,kBAAkB,CAAC,EAAE,MAAM,CAAC;KAC7B;CACF;AAED,MAAM,WAAW,2BAA2B;IAC1C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,2BAA2B,IAAI,2BAA2B,GAChE,CAAC;CACH"}
|
|
@@ -26,6 +26,20 @@ export declare class Graphrag extends APIResource {
|
|
|
26
26
|
* ```
|
|
27
27
|
*/
|
|
28
28
|
init(id: string, options?: RequestOptions): APIPromise<GraphragInitResponse>;
|
|
29
|
+
/**
|
|
30
|
+
* Manually trigger GraphRAG indexing for a vault object. The object must already
|
|
31
|
+
* be ingested (completed status). This extracts entities, relationships, and
|
|
32
|
+
* communities from the document for advanced knowledge graph queries.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* ```ts
|
|
36
|
+
* const response = await client.vault.graphrag.processObject(
|
|
37
|
+
* 'objectId',
|
|
38
|
+
* { id: 'id' },
|
|
39
|
+
* );
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
processObject(objectID: string, params: GraphragProcessObjectParams, options?: RequestOptions): APIPromise<GraphragProcessObjectResponse>;
|
|
29
43
|
}
|
|
30
44
|
export interface GraphragGetStatsResponse {
|
|
31
45
|
/**
|
|
@@ -59,7 +73,57 @@ export interface GraphragInitResponse {
|
|
|
59
73
|
success?: boolean;
|
|
60
74
|
vault_id?: string;
|
|
61
75
|
}
|
|
76
|
+
export interface GraphragProcessObjectResponse {
|
|
77
|
+
/**
|
|
78
|
+
* Number of communities detected
|
|
79
|
+
*/
|
|
80
|
+
communities: number;
|
|
81
|
+
/**
|
|
82
|
+
* Number of entities extracted
|
|
83
|
+
*/
|
|
84
|
+
entities: number;
|
|
85
|
+
/**
|
|
86
|
+
* ID of the indexed object
|
|
87
|
+
*/
|
|
88
|
+
objectId: string;
|
|
89
|
+
/**
|
|
90
|
+
* Number of relationships extracted
|
|
91
|
+
*/
|
|
92
|
+
relationships: number;
|
|
93
|
+
/**
|
|
94
|
+
* Extraction statistics
|
|
95
|
+
*/
|
|
96
|
+
stats: GraphragProcessObjectResponse.Stats;
|
|
97
|
+
/**
|
|
98
|
+
* Status from GraphRAG service
|
|
99
|
+
*/
|
|
100
|
+
status: string;
|
|
101
|
+
/**
|
|
102
|
+
* Whether indexing completed successfully
|
|
103
|
+
*/
|
|
104
|
+
success: boolean;
|
|
105
|
+
/**
|
|
106
|
+
* ID of the vault
|
|
107
|
+
*/
|
|
108
|
+
vaultId: string;
|
|
109
|
+
}
|
|
110
|
+
export declare namespace GraphragProcessObjectResponse {
|
|
111
|
+
/**
|
|
112
|
+
* Extraction statistics
|
|
113
|
+
*/
|
|
114
|
+
interface Stats {
|
|
115
|
+
community_count?: number;
|
|
116
|
+
entity_count?: number;
|
|
117
|
+
relationship_count?: number;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
export interface GraphragProcessObjectParams {
|
|
121
|
+
/**
|
|
122
|
+
* Vault ID
|
|
123
|
+
*/
|
|
124
|
+
id: string;
|
|
125
|
+
}
|
|
62
126
|
export declare namespace Graphrag {
|
|
63
|
-
export { type GraphragGetStatsResponse as GraphragGetStatsResponse, type GraphragInitResponse as GraphragInitResponse, };
|
|
127
|
+
export { type GraphragGetStatsResponse as GraphragGetStatsResponse, type GraphragInitResponse as GraphragInitResponse, type GraphragProcessObjectResponse as GraphragProcessObjectResponse, type GraphragProcessObjectParams as GraphragProcessObjectParams, };
|
|
64
128
|
}
|
|
65
129
|
//# sourceMappingURL=graphrag.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"graphrag.d.ts","sourceRoot":"","sources":["../../src/resources/vault/graphrag.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,wBAAwB,CAAC;IAIpF;;;;;;;;;;OAUG;IACH,IAAI,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"graphrag.d.ts","sourceRoot":"","sources":["../../src/resources/vault/graphrag.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,wBAAwB,CAAC;IAIpF;;;;;;;;;;OAUG;IACH,IAAI,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,oBAAoB,CAAC;IAI5E;;;;;;;;;;;;OAYG;IACH,aAAa,CACX,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,2BAA2B,EACnC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,6BAA6B,CAAC;CAI7C;AAED,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,MAAM,CAAC,EAAE,YAAY,GAAG,WAAW,GAAG,OAAO,CAAC;CAC/C;AAED,MAAM,WAAW,oBAAoB;IACnC,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,6BAA6B;IAC5C;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,KAAK,EAAE,6BAA6B,CAAC,KAAK,CAAC;IAE3C;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IAEjB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,yBAAiB,6BAA6B,CAAC;IAC7C;;OAEG;IACH,UAAiB,KAAK;QACpB,eAAe,CAAC,EAAE,MAAM,CAAC;QAEzB,YAAY,CAAC,EAAE,MAAM,CAAC;QAEtB,kBAAkB,CAAC,EAAE,MAAM,CAAC;KAC7B;CACF;AAED,MAAM,WAAW,2BAA2B;IAC1C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,2BAA2B,IAAI,2BAA2B,GAChE,CAAC;CACH"}
|
|
@@ -33,6 +33,23 @@ class Graphrag extends resource_1.APIResource {
|
|
|
33
33
|
init(id, options) {
|
|
34
34
|
return this._client.post((0, path_1.path) `/vault/${id}/graphrag/init`, options);
|
|
35
35
|
}
|
|
36
|
+
/**
|
|
37
|
+
* Manually trigger GraphRAG indexing for a vault object. The object must already
|
|
38
|
+
* be ingested (completed status). This extracts entities, relationships, and
|
|
39
|
+
* communities from the document for advanced knowledge graph queries.
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* ```ts
|
|
43
|
+
* const response = await client.vault.graphrag.processObject(
|
|
44
|
+
* 'objectId',
|
|
45
|
+
* { id: 'id' },
|
|
46
|
+
* );
|
|
47
|
+
* ```
|
|
48
|
+
*/
|
|
49
|
+
processObject(objectID, params, options) {
|
|
50
|
+
const { id } = params;
|
|
51
|
+
return this._client.post((0, path_1.path) `/vault/${id}/graphrag/${objectID}`, options);
|
|
52
|
+
}
|
|
36
53
|
}
|
|
37
54
|
exports.Graphrag = Graphrag;
|
|
38
55
|
//# sourceMappingURL=graphrag.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"graphrag.js","sourceRoot":"","sources":["../../src/resources/vault/graphrag.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAGlD,uDAAiD;AAEjD,MAAa,QAAS,SAAQ,sBAAW;IACvC;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,UAAU,EAAE,iBAAiB,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;IAED;;;;;;;;;;OAUG;IACH,IAAI,CAAC,EAAU,EAAE,OAAwB;QACvC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,UAAU,EAAE,gBAAgB,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;CACF;
|
|
1
|
+
{"version":3,"file":"graphrag.js","sourceRoot":"","sources":["../../src/resources/vault/graphrag.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAGlD,uDAAiD;AAEjD,MAAa,QAAS,SAAQ,sBAAW;IACvC;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,UAAU,EAAE,iBAAiB,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;IAED;;;;;;;;;;OAUG;IACH,IAAI,CAAC,EAAU,EAAE,OAAwB;QACvC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,UAAU,EAAE,gBAAgB,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,aAAa,CACX,QAAgB,EAChB,MAAmC,EACnC,OAAwB;QAExB,MAAM,EAAE,EAAE,EAAE,GAAG,MAAM,CAAC;QACtB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,UAAU,EAAE,aAAa,QAAQ,EAAE,EAAE,OAAO,CAAC,CAAC;IAC7E,CAAC;CACF;AApDD,4BAoDC"}
|
|
@@ -30,5 +30,22 @@ export class Graphrag extends APIResource {
|
|
|
30
30
|
init(id, options) {
|
|
31
31
|
return this._client.post(path `/vault/${id}/graphrag/init`, options);
|
|
32
32
|
}
|
|
33
|
+
/**
|
|
34
|
+
* Manually trigger GraphRAG indexing for a vault object. The object must already
|
|
35
|
+
* be ingested (completed status). This extracts entities, relationships, and
|
|
36
|
+
* communities from the document for advanced knowledge graph queries.
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* ```ts
|
|
40
|
+
* const response = await client.vault.graphrag.processObject(
|
|
41
|
+
* 'objectId',
|
|
42
|
+
* { id: 'id' },
|
|
43
|
+
* );
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
46
|
+
processObject(objectID, params, options) {
|
|
47
|
+
const { id } = params;
|
|
48
|
+
return this._client.post(path `/vault/${id}/graphrag/${objectID}`, options);
|
|
49
|
+
}
|
|
33
50
|
}
|
|
34
51
|
//# sourceMappingURL=graphrag.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"graphrag.mjs","sourceRoot":"","sources":["../../src/resources/vault/graphrag.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,UAAU,EAAE,iBAAiB,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;IAED;;;;;;;;;;OAUG;IACH,IAAI,CAAC,EAAU,EAAE,OAAwB;QACvC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,UAAU,EAAE,gBAAgB,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;CACF"}
|
|
1
|
+
{"version":3,"file":"graphrag.mjs","sourceRoot":"","sources":["../../src/resources/vault/graphrag.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,UAAU,EAAE,iBAAiB,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;IAED;;;;;;;;;;OAUG;IACH,IAAI,CAAC,EAAU,EAAE,OAAwB;QACvC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,UAAU,EAAE,gBAAgB,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,aAAa,CACX,QAAgB,EAChB,MAAmC,EACnC,OAAwB;QAExB,MAAM,EAAE,EAAE,EAAE,GAAG,MAAM,CAAC;QACtB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,UAAU,EAAE,aAAa,QAAQ,EAAE,EAAE,OAAO,CAAC,CAAC;IAC7E,CAAC;CACF"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export { Graphrag, type GraphragGetStatsResponse, type GraphragInitResponse } from "./graphrag.mjs";
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
1
|
+
export { Graphrag, type GraphragGetStatsResponse, type GraphragInitResponse, type GraphragProcessObjectResponse, type GraphragProcessObjectParams, } from "./graphrag.mjs";
|
|
2
|
+
export { Multipart, type MultipartGetPartURLsResponse, type MultipartInitResponse, type MultipartAbortParams, type MultipartCompleteParams, type MultipartGetPartURLsParams, type MultipartInitParams, } from "./multipart.mjs";
|
|
3
|
+
export { Objects, type ObjectRetrieveResponse, type ObjectUpdateResponse, type ObjectListResponse, type ObjectDeleteResponse, type ObjectCreatePresignedURLResponse, type ObjectDownloadResponse, type ObjectGetOcrWordsResponse, type ObjectGetSummarizeJobResponse, type ObjectGetTextResponse, type ObjectRetrieveParams, type ObjectUpdateParams, type ObjectDeleteParams, type ObjectCreatePresignedURLParams, type ObjectDownloadParams, type ObjectGetOcrWordsParams, type ObjectGetSummarizeJobParams, type ObjectGetTextParams, } from "./objects.mjs";
|
|
4
|
+
export { Vault, type VaultCreateResponse, type VaultRetrieveResponse, type VaultUpdateResponse, type VaultListResponse, type VaultDeleteResponse, type VaultIngestResponse, type VaultSearchResponse, type VaultUploadResponse, type VaultCreateParams, type VaultUpdateParams, type VaultDeleteParams, type VaultIngestParams, type VaultSearchParams, type VaultUploadParams, } from "./vault.mjs";
|
|
4
5
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/vault/index.ts"],"names":[],"mappings":"OAEO,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/vault/index.ts"],"names":[],"mappings":"OAEO,EACL,QAAQ,EACR,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,6BAA6B,EAClC,KAAK,2BAA2B,GACjC;OACM,EACL,SAAS,EACT,KAAK,4BAA4B,EACjC,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,uBAAuB,EAC5B,KAAK,0BAA0B,EAC/B,KAAK,mBAAmB,GACzB;OACM,EACL,OAAO,EACP,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,gCAAgC,EACrC,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,EAC9B,KAAK,6BAA6B,EAClC,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,8BAA8B,EACnC,KAAK,oBAAoB,EACzB,KAAK,uBAAuB,EAC5B,KAAK,2BAA2B,EAChC,KAAK,mBAAmB,GACzB;OACM,EACL,KAAK,EACL,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,GACvB"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export { Graphrag, type GraphragGetStatsResponse, type GraphragInitResponse } from "./graphrag.js";
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
1
|
+
export { Graphrag, type GraphragGetStatsResponse, type GraphragInitResponse, type GraphragProcessObjectResponse, type GraphragProcessObjectParams, } from "./graphrag.js";
|
|
2
|
+
export { Multipart, type MultipartGetPartURLsResponse, type MultipartInitResponse, type MultipartAbortParams, type MultipartCompleteParams, type MultipartGetPartURLsParams, type MultipartInitParams, } from "./multipart.js";
|
|
3
|
+
export { Objects, type ObjectRetrieveResponse, type ObjectUpdateResponse, type ObjectListResponse, type ObjectDeleteResponse, type ObjectCreatePresignedURLResponse, type ObjectDownloadResponse, type ObjectGetOcrWordsResponse, type ObjectGetSummarizeJobResponse, type ObjectGetTextResponse, type ObjectRetrieveParams, type ObjectUpdateParams, type ObjectDeleteParams, type ObjectCreatePresignedURLParams, type ObjectDownloadParams, type ObjectGetOcrWordsParams, type ObjectGetSummarizeJobParams, type ObjectGetTextParams, } from "./objects.js";
|
|
4
|
+
export { Vault, type VaultCreateResponse, type VaultRetrieveResponse, type VaultUpdateResponse, type VaultListResponse, type VaultDeleteResponse, type VaultIngestResponse, type VaultSearchResponse, type VaultUploadResponse, type VaultCreateParams, type VaultUpdateParams, type VaultDeleteParams, type VaultIngestParams, type VaultSearchParams, type VaultUploadParams, } from "./vault.js";
|
|
4
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/vault/index.ts"],"names":[],"mappings":"OAEO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/vault/index.ts"],"names":[],"mappings":"OAEO,EACL,QAAQ,EACR,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,6BAA6B,EAClC,KAAK,2BAA2B,GACjC;OACM,EACL,SAAS,EACT,KAAK,4BAA4B,EACjC,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,uBAAuB,EAC5B,KAAK,0BAA0B,EAC/B,KAAK,mBAAmB,GACzB;OACM,EACL,OAAO,EACP,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,gCAAgC,EACrC,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,EAC9B,KAAK,6BAA6B,EAClC,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,8BAA8B,EACnC,KAAK,oBAAoB,EACzB,KAAK,uBAAuB,EAC5B,KAAK,2BAA2B,EAChC,KAAK,mBAAmB,GACzB;OACM,EACL,KAAK,EACL,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,GACvB"}
|
package/resources/vault/index.js
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.Vault = exports.Objects = exports.Graphrag = void 0;
|
|
4
|
+
exports.Vault = exports.Objects = exports.Multipart = exports.Graphrag = void 0;
|
|
5
5
|
var graphrag_1 = require("./graphrag.js");
|
|
6
6
|
Object.defineProperty(exports, "Graphrag", { enumerable: true, get: function () { return graphrag_1.Graphrag; } });
|
|
7
|
+
var multipart_1 = require("./multipart.js");
|
|
8
|
+
Object.defineProperty(exports, "Multipart", { enumerable: true, get: function () { return multipart_1.Multipart; } });
|
|
7
9
|
var objects_1 = require("./objects.js");
|
|
8
10
|
Object.defineProperty(exports, "Objects", { enumerable: true, get: function () { return objects_1.Objects; } });
|
|
9
11
|
var vault_1 = require("./vault.js");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/vault/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/vault/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,0CAMoB;AALlB,oGAAA,QAAQ,OAAA;AAMV,4CAQqB;AAPnB,sGAAA,SAAS,OAAA;AAQX,wCAmBmB;AAlBjB,kGAAA,OAAO,OAAA;AAmBT,oCAgBiB;AAff,8FAAA,KAAK,OAAA"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
export { Graphrag } from "./graphrag.mjs";
|
|
2
|
+
export { Graphrag, } from "./graphrag.mjs";
|
|
3
|
+
export { Multipart, } from "./multipart.mjs";
|
|
3
4
|
export { Objects, } from "./objects.mjs";
|
|
4
5
|
export { Vault, } from "./vault.mjs";
|
|
5
6
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/vault/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/vault/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,QAAQ,GAKT;OACM,EACL,SAAS,GAOV;OACM,EACL,OAAO,GAkBR;OACM,EACL,KAAK,GAeN"}
|