casedev 0.1.0 → 0.2.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 +32 -0
- package/LICENSE +1 -1
- package/README.md +3 -1
- package/client.d.mts +4 -16
- package/client.d.mts.map +1 -1
- package/client.d.ts +4 -16
- package/client.d.ts.map +1 -1
- package/client.js +0 -12
- package/client.js.map +1 -1
- package/client.mjs +0 -12
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/compute/compute.d.mts +2 -2
- package/resources/compute/compute.d.mts.map +1 -1
- package/resources/compute/compute.d.ts +2 -2
- package/resources/compute/compute.d.ts.map +1 -1
- package/resources/compute/compute.js.map +1 -1
- package/resources/compute/compute.mjs.map +1 -1
- package/resources/compute/index.d.mts +1 -1
- package/resources/compute/index.d.mts.map +1 -1
- package/resources/compute/index.d.ts +1 -1
- package/resources/compute/index.d.ts.map +1 -1
- package/resources/compute/index.js.map +1 -1
- package/resources/compute/index.mjs.map +1 -1
- package/resources/compute/v1/environments.d.mts +119 -9
- package/resources/compute/v1/environments.d.mts.map +1 -1
- package/resources/compute/v1/environments.d.ts +119 -9
- package/resources/compute/v1/environments.d.ts.map +1 -1
- package/resources/compute/v1/environments.js +11 -18
- package/resources/compute/v1/environments.js.map +1 -1
- package/resources/compute/v1/environments.mjs +11 -18
- package/resources/compute/v1/environments.mjs.map +1 -1
- package/resources/compute/v1/functions.d.mts +0 -39
- package/resources/compute/v1/functions.d.mts.map +1 -1
- package/resources/compute/v1/functions.d.ts +0 -39
- package/resources/compute/v1/functions.d.ts.map +1 -1
- package/resources/compute/v1/functions.js +0 -36
- package/resources/compute/v1/functions.js.map +1 -1
- package/resources/compute/v1/functions.mjs +0 -36
- package/resources/compute/v1/functions.mjs.map +1 -1
- package/resources/compute/v1/index.d.mts +6 -6
- package/resources/compute/v1/index.d.mts.map +1 -1
- package/resources/compute/v1/index.d.ts +6 -6
- package/resources/compute/v1/index.d.ts.map +1 -1
- package/resources/compute/v1/index.js.map +1 -1
- package/resources/compute/v1/index.mjs.map +1 -1
- package/resources/compute/v1/invoke.d.mts +0 -69
- package/resources/compute/v1/invoke.d.mts.map +1 -1
- package/resources/compute/v1/invoke.d.ts +0 -69
- package/resources/compute/v1/invoke.d.ts.map +1 -1
- package/resources/compute/v1/invoke.js +0 -18
- package/resources/compute/v1/invoke.js.map +1 -1
- package/resources/compute/v1/invoke.mjs +0 -18
- package/resources/compute/v1/invoke.mjs.map +1 -1
- package/resources/compute/v1/runs.d.mts +0 -41
- package/resources/compute/v1/runs.d.mts.map +1 -1
- package/resources/compute/v1/runs.d.ts +0 -41
- package/resources/compute/v1/runs.d.ts.map +1 -1
- package/resources/compute/v1/runs.js +0 -35
- package/resources/compute/v1/runs.js.map +1 -1
- package/resources/compute/v1/runs.mjs +0 -35
- package/resources/compute/v1/runs.mjs.map +1 -1
- package/resources/compute/v1/secrets.d.mts +101 -19
- package/resources/compute/v1/secrets.d.mts.map +1 -1
- package/resources/compute/v1/secrets.d.ts +101 -19
- package/resources/compute/v1/secrets.d.ts.map +1 -1
- package/resources/compute/v1/secrets.js +19 -35
- package/resources/compute/v1/secrets.js.map +1 -1
- package/resources/compute/v1/secrets.mjs +19 -35
- package/resources/compute/v1/secrets.mjs.map +1 -1
- package/resources/compute/v1/v1.d.mts +40 -190
- package/resources/compute/v1/v1.d.mts.map +1 -1
- package/resources/compute/v1/v1.d.ts +40 -190
- package/resources/compute/v1/v1.d.ts.map +1 -1
- package/resources/compute/v1/v1.js +5 -26
- package/resources/compute/v1/v1.js.map +1 -1
- package/resources/compute/v1/v1.mjs +5 -26
- package/resources/compute/v1/v1.mjs.map +1 -1
- package/resources/format/v1/index.d.mts +1 -1
- package/resources/format/v1/index.d.mts.map +1 -1
- package/resources/format/v1/index.d.ts +1 -1
- package/resources/format/v1/index.d.ts.map +1 -1
- package/resources/format/v1/index.js.map +1 -1
- package/resources/format/v1/index.mjs.map +1 -1
- package/resources/format/v1/templates.d.mts +72 -3
- package/resources/format/v1/templates.d.mts.map +1 -1
- package/resources/format/v1/templates.d.ts +72 -3
- package/resources/format/v1/templates.d.ts.map +1 -1
- package/resources/format/v1/templates.js +2 -10
- package/resources/format/v1/templates.js.map +1 -1
- package/resources/format/v1/templates.mjs +2 -10
- package/resources/format/v1/templates.mjs.map +1 -1
- package/resources/format/v1/v1.d.mts +2 -2
- package/resources/format/v1/v1.d.mts.map +1 -1
- package/resources/format/v1/v1.d.ts +2 -2
- package/resources/format/v1/v1.d.ts.map +1 -1
- package/resources/format/v1/v1.js.map +1 -1
- package/resources/format/v1/v1.mjs +1 -1
- package/resources/format/v1/v1.mjs.map +1 -1
- package/resources/index.d.mts +2 -6
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -6
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +1 -9
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +0 -4
- package/resources/index.mjs.map +1 -1
- package/resources/llm/index.d.mts +2 -2
- package/resources/llm/index.d.mts.map +1 -1
- package/resources/llm/index.d.ts +2 -2
- package/resources/llm/index.d.ts.map +1 -1
- package/resources/llm/index.js.map +1 -1
- package/resources/llm/index.mjs +1 -1
- package/resources/llm/index.mjs.map +1 -1
- package/resources/llm/llm.d.mts +36 -4
- package/resources/llm/llm.d.mts.map +1 -1
- package/resources/llm/llm.d.ts +36 -4
- package/resources/llm/llm.d.ts.map +1 -1
- package/resources/llm/llm.js +2 -6
- package/resources/llm/llm.js.map +1 -1
- package/resources/llm/llm.mjs +2 -6
- package/resources/llm/llm.mjs.map +1 -1
- package/resources/llm/v1/index.d.mts +1 -1
- package/resources/llm/v1/index.d.mts.map +1 -1
- package/resources/llm/v1/index.d.ts +1 -1
- package/resources/llm/v1/index.d.ts.map +1 -1
- package/resources/llm/v1/index.js.map +1 -1
- package/resources/llm/v1/index.mjs +1 -1
- package/resources/llm/v1/index.mjs.map +1 -1
- package/resources/llm/v1/v1.d.mts +66 -5
- package/resources/llm/v1/v1.d.mts.map +1 -1
- package/resources/llm/v1/v1.d.ts +66 -5
- package/resources/llm/v1/v1.d.ts.map +1 -1
- package/resources/llm/v1/v1.js +4 -12
- package/resources/llm/v1/v1.js.map +1 -1
- package/resources/llm/v1/v1.mjs +4 -12
- package/resources/llm/v1/v1.mjs.map +1 -1
- package/resources/ocr/index.d.mts +1 -1
- package/resources/ocr/index.d.mts.map +1 -1
- package/resources/ocr/index.d.ts +1 -1
- package/resources/ocr/index.d.ts.map +1 -1
- package/resources/ocr/index.js.map +1 -1
- package/resources/ocr/index.mjs +1 -1
- package/resources/ocr/index.mjs.map +1 -1
- package/resources/ocr/ocr.d.mts +2 -2
- package/resources/ocr/ocr.d.mts.map +1 -1
- package/resources/ocr/ocr.d.ts +2 -2
- package/resources/ocr/ocr.d.ts.map +1 -1
- package/resources/ocr/ocr.js.map +1 -1
- package/resources/ocr/ocr.mjs +1 -1
- package/resources/ocr/ocr.mjs.map +1 -1
- package/resources/ocr/v1.d.mts +39 -5
- package/resources/ocr/v1.d.mts.map +1 -1
- package/resources/ocr/v1.d.ts +39 -5
- package/resources/ocr/v1.d.ts.map +1 -1
- package/resources/ocr/v1.js +6 -11
- package/resources/ocr/v1.js.map +1 -1
- package/resources/ocr/v1.mjs +6 -11
- package/resources/ocr/v1.mjs.map +1 -1
- package/resources/search/index.d.mts +1 -1
- package/resources/search/index.d.mts.map +1 -1
- package/resources/search/index.d.ts +1 -1
- package/resources/search/index.d.ts.map +1 -1
- package/resources/search/index.js.map +1 -1
- package/resources/search/index.mjs.map +1 -1
- package/resources/search/search.d.mts +2 -2
- package/resources/search/search.d.mts.map +1 -1
- package/resources/search/search.d.ts +2 -2
- package/resources/search/search.d.ts.map +1 -1
- package/resources/search/search.js.map +1 -1
- package/resources/search/search.mjs.map +1 -1
- package/resources/search/v1.d.mts +74 -2
- package/resources/search/v1.d.mts.map +1 -1
- package/resources/search/v1.d.ts +74 -2
- package/resources/search/v1.d.ts.map +1 -1
- package/resources/search/v1.js +1 -6
- package/resources/search/v1.js.map +1 -1
- package/resources/search/v1.mjs +1 -6
- package/resources/search/v1.mjs.map +1 -1
- package/resources/vault/graphrag.d.mts +39 -4
- package/resources/vault/graphrag.d.mts.map +1 -1
- package/resources/vault/graphrag.d.ts +39 -4
- package/resources/vault/graphrag.d.ts.map +1 -1
- package/resources/vault/graphrag.js +4 -11
- package/resources/vault/graphrag.js.map +1 -1
- package/resources/vault/graphrag.mjs +4 -11
- package/resources/vault/graphrag.mjs.map +1 -1
- package/resources/vault/index.d.mts +3 -3
- package/resources/vault/index.d.mts.map +1 -1
- package/resources/vault/index.d.ts +3 -3
- package/resources/vault/index.d.ts.map +1 -1
- package/resources/vault/index.js.map +1 -1
- package/resources/vault/index.mjs.map +1 -1
- package/resources/vault/objects.d.mts +188 -15
- package/resources/vault/objects.d.mts.map +1 -1
- package/resources/vault/objects.d.ts +188 -15
- package/resources/vault/objects.d.ts.map +1 -1
- package/resources/vault/objects.js +17 -27
- package/resources/vault/objects.js.map +1 -1
- package/resources/vault/objects.mjs +17 -27
- package/resources/vault/objects.mjs.map +1 -1
- package/resources/vault/vault.d.mts +193 -29
- package/resources/vault/vault.d.mts.map +1 -1
- package/resources/vault/vault.d.ts +193 -29
- package/resources/vault/vault.d.ts.map +1 -1
- package/resources/vault/vault.js +11 -13
- package/resources/vault/vault.js.map +1 -1
- package/resources/vault/vault.mjs +11 -13
- package/resources/vault/vault.mjs.map +1 -1
- package/resources/voice/index.d.mts +3 -3
- package/resources/voice/index.d.mts.map +1 -1
- package/resources/voice/index.d.ts +3 -3
- package/resources/voice/index.d.ts.map +1 -1
- package/resources/voice/index.js.map +1 -1
- package/resources/voice/index.mjs.map +1 -1
- package/resources/voice/streaming.d.mts +51 -2
- package/resources/voice/streaming.d.mts.map +1 -1
- package/resources/voice/streaming.d.ts +51 -2
- package/resources/voice/streaming.d.ts.map +1 -1
- package/resources/voice/streaming.js +2 -6
- package/resources/voice/streaming.js.map +1 -1
- package/resources/voice/streaming.mjs +2 -6
- package/resources/voice/streaming.mjs.map +1 -1
- package/resources/voice/transcription.d.mts +82 -28
- package/resources/voice/transcription.d.mts.map +1 -1
- package/resources/voice/transcription.d.ts +82 -28
- package/resources/voice/transcription.d.ts.map +1 -1
- package/resources/voice/transcription.js +15 -16
- package/resources/voice/transcription.js.map +1 -1
- package/resources/voice/transcription.mjs +15 -16
- package/resources/voice/transcription.mjs.map +1 -1
- package/resources/voice/v1/index.d.mts +2 -2
- package/resources/voice/v1/index.d.mts.map +1 -1
- package/resources/voice/v1/index.d.ts +2 -2
- package/resources/voice/v1/index.d.ts.map +1 -1
- package/resources/voice/v1/index.js.map +1 -1
- package/resources/voice/v1/index.mjs.map +1 -1
- package/resources/voice/v1/speak.d.mts +1 -85
- package/resources/voice/v1/speak.d.mts.map +1 -1
- package/resources/voice/v1/speak.d.ts +1 -85
- package/resources/voice/v1/speak.d.ts.map +1 -1
- package/resources/voice/v1/speak.js +0 -24
- package/resources/voice/v1/speak.js.map +1 -1
- package/resources/voice/v1/speak.mjs +0 -24
- package/resources/voice/v1/speak.mjs.map +1 -1
- package/resources/voice/v1/v1.d.mts +48 -5
- package/resources/voice/v1/v1.d.mts.map +1 -1
- package/resources/voice/v1/v1.d.ts +48 -5
- package/resources/voice/v1/v1.d.ts.map +1 -1
- package/resources/voice/v1/v1.js +2 -7
- package/resources/voice/v1/v1.js.map +1 -1
- package/resources/voice/v1/v1.mjs +2 -7
- package/resources/voice/v1/v1.mjs.map +1 -1
- package/resources/voice/voice.d.mts +6 -6
- package/resources/voice/voice.d.mts.map +1 -1
- package/resources/voice/voice.d.ts +6 -6
- package/resources/voice/voice.d.ts.map +1 -1
- package/resources/voice/voice.js.map +1 -1
- package/resources/voice/voice.mjs +1 -1
- package/resources/voice/voice.mjs.map +1 -1
- package/resources/webhooks/index.d.mts +1 -1
- package/resources/webhooks/index.d.mts.map +1 -1
- package/resources/webhooks/index.d.ts +1 -1
- package/resources/webhooks/index.d.ts.map +1 -1
- package/resources/webhooks/index.js.map +1 -1
- package/resources/webhooks/index.mjs.map +1 -1
- package/resources/webhooks/v1.d.mts +0 -105
- package/resources/webhooks/v1.d.mts.map +1 -1
- package/resources/webhooks/v1.d.ts +0 -105
- package/resources/webhooks/v1.d.ts.map +1 -1
- package/resources/webhooks/v1.js +0 -75
- package/resources/webhooks/v1.js.map +1 -1
- package/resources/webhooks/v1.mjs +0 -75
- package/resources/webhooks/v1.mjs.map +1 -1
- package/resources/webhooks/webhooks.d.mts +2 -2
- package/resources/webhooks/webhooks.d.mts.map +1 -1
- package/resources/webhooks/webhooks.d.ts +2 -2
- package/resources/webhooks/webhooks.d.ts.map +1 -1
- package/resources/webhooks/webhooks.js.map +1 -1
- package/resources/webhooks/webhooks.mjs.map +1 -1
- package/src/client.ts +4 -22
- package/src/resources/compute/compute.ts +2 -3
- package/src/resources/compute/index.ts +1 -1
- package/src/resources/compute/v1/environments.ts +149 -21
- package/src/resources/compute/v1/functions.ts +1 -66
- package/src/resources/compute/v1/index.ts +11 -4
- package/src/resources/compute/v1/invoke.ts +1 -87
- package/src/resources/compute/v1/runs.ts +1 -61
- package/src/resources/compute/v1/secrets.ts +136 -39
- package/src/resources/compute/v1/v1.ts +54 -235
- package/src/resources/format/v1/index.ts +2 -0
- package/src/resources/format/v1/templates.ts +94 -12
- package/src/resources/format/v1/v1.ts +10 -1
- package/src/resources/index.ts +2 -5
- package/src/resources/llm/index.ts +7 -2
- package/src/resources/llm/llm.ts +50 -9
- package/src/resources/llm/v1/index.ts +6 -1
- package/src/resources/llm/v1/v1.ts +94 -15
- package/src/resources/ocr/index.ts +8 -1
- package/src/resources/ocr/ocr.ts +10 -1
- package/src/resources/ocr/v1.ts +50 -13
- package/src/resources/search/index.ts +1 -0
- package/src/resources/search/search.ts +2 -0
- package/src/resources/search/v1.ts +95 -7
- package/src/resources/vault/graphrag.ts +55 -13
- package/src/resources/vault/index.ts +6 -1
- package/src/resources/vault/objects.ts +244 -31
- package/src/resources/vault/vault.ts +237 -29
- package/src/resources/voice/index.ts +3 -2
- package/src/resources/voice/streaming.ts +64 -7
- package/src/resources/voice/transcription.ts +94 -34
- package/src/resources/voice/v1/index.ts +2 -2
- package/src/resources/voice/v1/speak.ts +1 -113
- package/src/resources/voice/v1/v1.ts +62 -15
- package/src/resources/voice/voice.ts +15 -5
- package/src/resources/webhooks/index.ts +1 -1
- package/src/resources/webhooks/v1.ts +1 -140
- package/src/resources/webhooks/webhooks.ts +2 -2
- 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/actions/actions.d.mts +0 -10
- package/resources/actions/actions.d.mts.map +0 -1
- package/resources/actions/actions.d.ts +0 -10
- package/resources/actions/actions.d.ts.map +0 -1
- package/resources/actions/actions.js +0 -17
- package/resources/actions/actions.js.map +0 -1
- package/resources/actions/actions.mjs +0 -12
- package/resources/actions/actions.mjs.map +0 -1
- package/resources/actions/index.d.mts +0 -3
- package/resources/actions/index.d.mts.map +0 -1
- package/resources/actions/index.d.ts +0 -3
- package/resources/actions/index.d.ts.map +0 -1
- package/resources/actions/index.js +0 -9
- package/resources/actions/index.js.map +0 -1
- package/resources/actions/index.mjs +0 -4
- package/resources/actions/index.mjs.map +0 -1
- package/resources/actions/v1.d.mts +0 -122
- package/resources/actions/v1.d.mts.map +0 -1
- package/resources/actions/v1.d.ts +0 -122
- package/resources/actions/v1.d.ts.map +0 -1
- package/resources/actions/v1.js +0 -71
- package/resources/actions/v1.js.map +0 -1
- package/resources/actions/v1.mjs +0 -67
- package/resources/actions/v1.mjs.map +0 -1
- package/resources/actions.d.mts +0 -2
- package/resources/actions.d.mts.map +0 -1
- package/resources/actions.d.ts +0 -2
- package/resources/actions.d.ts.map +0 -1
- package/resources/actions.js +0 -6
- package/resources/actions.js.map +0 -1
- package/resources/actions.mjs +0 -3
- package/resources/actions.mjs.map +0 -1
- package/resources/convert/convert.d.mts +0 -10
- package/resources/convert/convert.d.mts.map +0 -1
- package/resources/convert/convert.d.ts +0 -10
- package/resources/convert/convert.d.ts.map +0 -1
- package/resources/convert/convert.js +0 -17
- package/resources/convert/convert.js.map +0 -1
- package/resources/convert/convert.mjs +0 -12
- package/resources/convert/convert.mjs.map +0 -1
- package/resources/convert/index.d.mts +0 -3
- package/resources/convert/index.d.mts.map +0 -1
- package/resources/convert/index.d.ts +0 -3
- package/resources/convert/index.d.ts.map +0 -1
- package/resources/convert/index.js +0 -9
- package/resources/convert/index.js.map +0 -1
- package/resources/convert/index.mjs +0 -4
- package/resources/convert/index.mjs.map +0 -1
- package/resources/convert/v1/index.d.mts +0 -3
- package/resources/convert/v1/index.d.mts.map +0 -1
- package/resources/convert/v1/index.d.ts +0 -3
- package/resources/convert/v1/index.d.ts.map +0 -1
- package/resources/convert/v1/index.js +0 -9
- package/resources/convert/v1/index.js.map +0 -1
- package/resources/convert/v1/index.mjs +0 -4
- package/resources/convert/v1/index.mjs.map +0 -1
- package/resources/convert/v1/jobs.d.mts +0 -17
- package/resources/convert/v1/jobs.d.mts.map +0 -1
- package/resources/convert/v1/jobs.d.ts +0 -17
- package/resources/convert/v1/jobs.d.ts.map +0 -1
- package/resources/convert/v1/jobs.js +0 -32
- package/resources/convert/v1/jobs.js.map +0 -1
- package/resources/convert/v1/jobs.mjs +0 -28
- package/resources/convert/v1/jobs.mjs.map +0 -1
- package/resources/convert/v1/v1.d.mts +0 -101
- package/resources/convert/v1/v1.d.mts.map +0 -1
- package/resources/convert/v1/v1.d.ts +0 -101
- package/resources/convert/v1/v1.d.ts.map +0 -1
- package/resources/convert/v1/v1.js +0 -52
- package/resources/convert/v1/v1.js.map +0 -1
- package/resources/convert/v1/v1.mjs +0 -47
- package/resources/convert/v1/v1.mjs.map +0 -1
- package/resources/convert/v1.d.mts +0 -2
- package/resources/convert/v1.d.mts.map +0 -1
- package/resources/convert/v1.d.ts +0 -2
- package/resources/convert/v1.d.ts.map +0 -1
- package/resources/convert/v1.js +0 -6
- package/resources/convert/v1.js.map +0 -1
- package/resources/convert/v1.mjs +0 -3
- package/resources/convert/v1.mjs.map +0 -1
- package/resources/convert.d.mts +0 -2
- package/resources/convert.d.mts.map +0 -1
- package/resources/convert.d.ts +0 -2
- package/resources/convert.d.ts.map +0 -1
- package/resources/convert.js +0 -6
- package/resources/convert.js.map +0 -1
- package/resources/convert.mjs +0 -3
- package/resources/convert.mjs.map +0 -1
- package/resources/templates/index.d.mts +0 -3
- package/resources/templates/index.d.mts.map +0 -1
- package/resources/templates/index.d.ts +0 -3
- package/resources/templates/index.d.ts.map +0 -1
- package/resources/templates/index.js +0 -9
- package/resources/templates/index.js.map +0 -1
- package/resources/templates/index.mjs +0 -4
- package/resources/templates/index.mjs.map +0 -1
- package/resources/templates/templates.d.mts +0 -10
- package/resources/templates/templates.d.mts.map +0 -1
- package/resources/templates/templates.d.ts +0 -10
- package/resources/templates/templates.d.ts.map +0 -1
- package/resources/templates/templates.js +0 -17
- package/resources/templates/templates.js.map +0 -1
- package/resources/templates/templates.mjs +0 -12
- package/resources/templates/templates.mjs.map +0 -1
- package/resources/templates/v1.d.mts +0 -128
- package/resources/templates/v1.d.mts.map +0 -1
- package/resources/templates/v1.d.ts +0 -128
- package/resources/templates/v1.d.ts.map +0 -1
- package/resources/templates/v1.js +0 -71
- package/resources/templates/v1.js.map +0 -1
- package/resources/templates/v1.mjs +0 -67
- package/resources/templates/v1.mjs.map +0 -1
- package/resources/templates.d.mts +0 -2
- package/resources/templates.d.mts.map +0 -1
- package/resources/templates.d.ts +0 -2
- package/resources/templates.d.ts.map +0 -1
- package/resources/templates.js +0 -6
- package/resources/templates.js.map +0 -1
- package/resources/templates.mjs +0 -3
- package/resources/templates.mjs.map +0 -1
- package/resources/workflows/index.d.mts +0 -3
- package/resources/workflows/index.d.mts.map +0 -1
- package/resources/workflows/index.d.ts +0 -3
- package/resources/workflows/index.d.ts.map +0 -1
- package/resources/workflows/index.js +0 -9
- package/resources/workflows/index.js.map +0 -1
- package/resources/workflows/index.mjs +0 -4
- package/resources/workflows/index.mjs.map +0 -1
- package/resources/workflows/v1.d.mts +0 -263
- package/resources/workflows/v1.d.mts.map +0 -1
- package/resources/workflows/v1.d.ts +0 -263
- package/resources/workflows/v1.d.ts.map +0 -1
- package/resources/workflows/v1.js +0 -128
- package/resources/workflows/v1.js.map +0 -1
- package/resources/workflows/v1.mjs +0 -124
- package/resources/workflows/v1.mjs.map +0 -1
- package/resources/workflows/workflows.d.mts +0 -10
- package/resources/workflows/workflows.d.mts.map +0 -1
- package/resources/workflows/workflows.d.ts +0 -10
- package/resources/workflows/workflows.d.ts.map +0 -1
- package/resources/workflows/workflows.js +0 -17
- package/resources/workflows/workflows.js.map +0 -1
- package/resources/workflows/workflows.mjs +0 -12
- package/resources/workflows/workflows.mjs.map +0 -1
- package/resources/workflows.d.mts +0 -2
- package/resources/workflows.d.mts.map +0 -1
- package/resources/workflows.d.ts +0 -2
- package/resources/workflows.d.ts.map +0 -1
- package/resources/workflows.js +0 -6
- package/resources/workflows.js.map +0 -1
- package/resources/workflows.mjs +0 -3
- package/resources/workflows.mjs.map +0 -1
- package/src/resources/actions/actions.ts +0 -21
- package/src/resources/actions/index.ts +0 -10
- package/src/resources/actions/v1.ts +0 -179
- package/src/resources/actions.ts +0 -3
- package/src/resources/convert/convert.ts +0 -21
- package/src/resources/convert/index.ts +0 -10
- package/src/resources/convert/v1/index.ts +0 -10
- package/src/resources/convert/v1/jobs.ts +0 -32
- package/src/resources/convert/v1/v1.ts +0 -141
- package/src/resources/convert/v1.ts +0 -3
- package/src/resources/convert.ts +0 -3
- package/src/resources/templates/index.ts +0 -10
- package/src/resources/templates/templates.ts +0 -21
- package/src/resources/templates/v1.ts +0 -187
- package/src/resources/templates.ts +0 -3
- package/src/resources/workflows/index.ts +0 -21
- package/src/resources/workflows/v1.ts +0 -407
- package/src/resources/workflows/workflows.ts +0 -49
- package/src/resources/workflows.ts +0 -3
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
import { APIResource } from "../../core/resource.mjs";
|
|
3
|
-
import { buildHeaders } from "../../internal/headers.mjs";
|
|
4
3
|
import { path } from "../../internal/utils/path.mjs";
|
|
5
4
|
export class Objects extends APIResource {
|
|
6
5
|
/**
|
|
@@ -10,17 +9,15 @@ export class Objects extends APIResource {
|
|
|
10
9
|
*
|
|
11
10
|
* @example
|
|
12
11
|
* ```ts
|
|
13
|
-
* await client.vault.objects.retrieve(
|
|
14
|
-
*
|
|
15
|
-
* }
|
|
12
|
+
* const object = await client.vault.objects.retrieve(
|
|
13
|
+
* 'objectId',
|
|
14
|
+
* { id: 'id' },
|
|
15
|
+
* );
|
|
16
16
|
* ```
|
|
17
17
|
*/
|
|
18
18
|
retrieve(objectID, params, options) {
|
|
19
19
|
const { id } = params;
|
|
20
|
-
return this._client.get(path `/vault/${id}/objects/${objectID}`,
|
|
21
|
-
...options,
|
|
22
|
-
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
23
|
-
});
|
|
20
|
+
return this._client.get(path `/vault/${id}/objects/${objectID}`, options);
|
|
24
21
|
}
|
|
25
22
|
/**
|
|
26
23
|
* Retrieve all objects stored in a specific vault, including document metadata,
|
|
@@ -28,14 +25,11 @@ export class Objects extends APIResource {
|
|
|
28
25
|
*
|
|
29
26
|
* @example
|
|
30
27
|
* ```ts
|
|
31
|
-
* await client.vault.objects.list('id');
|
|
28
|
+
* const objects = await client.vault.objects.list('id');
|
|
32
29
|
* ```
|
|
33
30
|
*/
|
|
34
31
|
list(id, options) {
|
|
35
|
-
return this._client.get(path `/vault/${id}/objects`,
|
|
36
|
-
...options,
|
|
37
|
-
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
38
|
-
});
|
|
32
|
+
return this._client.get(path `/vault/${id}/objects`, options);
|
|
39
33
|
}
|
|
40
34
|
/**
|
|
41
35
|
* Generate presigned URLs for direct S3 operations (GET, PUT, DELETE, HEAD) on
|
|
@@ -64,17 +58,15 @@ export class Objects extends APIResource {
|
|
|
64
58
|
*
|
|
65
59
|
* @example
|
|
66
60
|
* ```ts
|
|
67
|
-
* await client.vault.objects.download(
|
|
68
|
-
*
|
|
69
|
-
* }
|
|
61
|
+
* const response = await client.vault.objects.download(
|
|
62
|
+
* 'objectId',
|
|
63
|
+
* { id: 'id' },
|
|
64
|
+
* );
|
|
70
65
|
* ```
|
|
71
66
|
*/
|
|
72
67
|
download(objectID, params, options) {
|
|
73
68
|
const { id } = params;
|
|
74
|
-
return this._client.get(path `/vault/${id}/objects/${objectID}/download`,
|
|
75
|
-
...options,
|
|
76
|
-
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
77
|
-
});
|
|
69
|
+
return this._client.get(path `/vault/${id}/objects/${objectID}/download`, options);
|
|
78
70
|
}
|
|
79
71
|
/**
|
|
80
72
|
* Retrieves the full extracted text content from a processed vault object. Returns
|
|
@@ -83,17 +75,15 @@ export class Objects extends APIResource {
|
|
|
83
75
|
*
|
|
84
76
|
* @example
|
|
85
77
|
* ```ts
|
|
86
|
-
* await client.vault.objects.getText(
|
|
87
|
-
*
|
|
88
|
-
* }
|
|
78
|
+
* const response = await client.vault.objects.getText(
|
|
79
|
+
* 'objectId',
|
|
80
|
+
* { id: 'id' },
|
|
81
|
+
* );
|
|
89
82
|
* ```
|
|
90
83
|
*/
|
|
91
84
|
getText(objectID, params, options) {
|
|
92
85
|
const { id } = params;
|
|
93
|
-
return this._client.get(path `/vault/${id}/objects/${objectID}/text`,
|
|
94
|
-
...options,
|
|
95
|
-
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
96
|
-
});
|
|
86
|
+
return this._client.get(path `/vault/${id}/objects/${objectID}/text`, options);
|
|
97
87
|
}
|
|
98
88
|
}
|
|
99
89
|
//# sourceMappingURL=objects.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"objects.mjs","sourceRoot":"","sources":["../../src/resources/vault/objects.ts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;;;;;;;;;;OAYG;IACH,OAAO,CACL,QAAgB,EAChB,MAA2B,EAC3B,OAAwB;QAExB,MAAM,EAAE,EAAE,EAAE,GAAG,MAAM,CAAC;QACtB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,UAAU,EAAE,YAAY,QAAQ,OAAO,EAAE,OAAO,CAAC,CAAC;IAChF,CAAC;CACF"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.mjs";
|
|
2
2
|
import * as GraphragAPI from "./graphrag.mjs";
|
|
3
|
-
import { Graphrag } from "./graphrag.mjs";
|
|
3
|
+
import { Graphrag, GraphragGetStatsResponse, GraphragInitResponse } from "./graphrag.mjs";
|
|
4
4
|
import * as ObjectsAPI from "./objects.mjs";
|
|
5
|
-
import { ObjectCreatePresignedURLParams, ObjectCreatePresignedURLResponse, ObjectDownloadParams, ObjectGetTextParams, ObjectRetrieveParams, Objects } from "./objects.mjs";
|
|
5
|
+
import { ObjectCreatePresignedURLParams, ObjectCreatePresignedURLResponse, ObjectDownloadParams, ObjectDownloadResponse, ObjectGetTextParams, ObjectGetTextResponse, ObjectListResponse, ObjectRetrieveParams, ObjectRetrieveResponse, Objects } from "./objects.mjs";
|
|
6
6
|
import { APIPromise } from "../../core/api-promise.mjs";
|
|
7
7
|
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
8
8
|
export declare class Vault extends APIResource {
|
|
@@ -11,8 +11,8 @@ export declare class Vault extends APIResource {
|
|
|
11
11
|
/**
|
|
12
12
|
* Creates a new secure vault with dedicated S3 storage and vector search
|
|
13
13
|
* capabilities. Each vault provides isolated document storage with semantic
|
|
14
|
-
* search, OCR processing, and optional knowledge graph features for legal
|
|
15
|
-
* analysis and discovery.
|
|
14
|
+
* search, OCR processing, and optional GraphRAG knowledge graph features for legal
|
|
15
|
+
* document analysis and discovery.
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
18
|
* ```ts
|
|
@@ -29,13 +29,13 @@ export declare class Vault extends APIResource {
|
|
|
29
29
|
*
|
|
30
30
|
* @example
|
|
31
31
|
* ```ts
|
|
32
|
-
* await client.vault.retrieve('vault_abc123');
|
|
32
|
+
* const vault = await client.vault.retrieve('vault_abc123');
|
|
33
33
|
* ```
|
|
34
34
|
*/
|
|
35
|
-
retrieve(id: string, options?: RequestOptions): APIPromise<
|
|
35
|
+
retrieve(id: string, options?: RequestOptions): APIPromise<VaultRetrieveResponse>;
|
|
36
36
|
/**
|
|
37
37
|
* List all vaults for the authenticated organization. Returns vault metadata
|
|
38
|
-
* including storage configuration and usage statistics.
|
|
38
|
+
* including name, description, storage configuration, and usage statistics.
|
|
39
39
|
*
|
|
40
40
|
* @example
|
|
41
41
|
* ```ts
|
|
@@ -44,10 +44,12 @@ export declare class Vault extends APIResource {
|
|
|
44
44
|
*/
|
|
45
45
|
list(options?: RequestOptions): APIPromise<VaultListResponse>;
|
|
46
46
|
/**
|
|
47
|
-
* Triggers
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
*
|
|
47
|
+
* Triggers ingestion workflow for a vault object to extract text, generate chunks,
|
|
48
|
+
* and create embeddings. For supported file types (PDF, DOCX, TXT, RTF, XML,
|
|
49
|
+
* audio, video), processing happens asynchronously. For unsupported types (images,
|
|
50
|
+
* archives, etc.), the file is marked as completed immediately without text
|
|
51
|
+
* extraction. GraphRAG indexing must be triggered separately via POST
|
|
52
|
+
* /vault/:id/graphrag/:objectId.
|
|
51
53
|
*
|
|
52
54
|
* @example
|
|
53
55
|
* ```ts
|
|
@@ -100,14 +102,18 @@ export interface VaultCreateResponse {
|
|
|
100
102
|
* Vault description
|
|
101
103
|
*/
|
|
102
104
|
description?: string;
|
|
105
|
+
/**
|
|
106
|
+
* Whether vector indexing is enabled for this vault
|
|
107
|
+
*/
|
|
108
|
+
enableIndexing?: boolean;
|
|
103
109
|
/**
|
|
104
110
|
* S3 bucket name for document storage
|
|
105
111
|
*/
|
|
106
112
|
filesBucket?: string;
|
|
107
113
|
/**
|
|
108
|
-
* Vector search index name
|
|
114
|
+
* Vector search index name. Null for storage-only vaults.
|
|
109
115
|
*/
|
|
110
|
-
indexName?: string;
|
|
116
|
+
indexName?: string | null;
|
|
111
117
|
/**
|
|
112
118
|
* Vault display name
|
|
113
119
|
*/
|
|
@@ -117,9 +123,98 @@ export interface VaultCreateResponse {
|
|
|
117
123
|
*/
|
|
118
124
|
region?: string;
|
|
119
125
|
/**
|
|
120
|
-
* S3 bucket name for vector embeddings
|
|
126
|
+
* S3 bucket name for vector embeddings. Null for storage-only vaults.
|
|
127
|
+
*/
|
|
128
|
+
vectorBucket?: string | null;
|
|
129
|
+
}
|
|
130
|
+
export interface VaultRetrieveResponse {
|
|
131
|
+
/**
|
|
132
|
+
* Vault identifier
|
|
133
|
+
*/
|
|
134
|
+
id?: string;
|
|
135
|
+
/**
|
|
136
|
+
* Document chunking strategy configuration
|
|
137
|
+
*/
|
|
138
|
+
chunkStrategy?: VaultRetrieveResponse.ChunkStrategy;
|
|
139
|
+
/**
|
|
140
|
+
* Vault creation timestamp
|
|
141
|
+
*/
|
|
142
|
+
createdAt?: string;
|
|
143
|
+
/**
|
|
144
|
+
* Vault description
|
|
145
|
+
*/
|
|
146
|
+
description?: string;
|
|
147
|
+
/**
|
|
148
|
+
* Whether GraphRAG is enabled
|
|
149
|
+
*/
|
|
150
|
+
enableGraph?: boolean;
|
|
151
|
+
/**
|
|
152
|
+
* S3 bucket for document storage
|
|
153
|
+
*/
|
|
154
|
+
filesBucket?: string;
|
|
155
|
+
/**
|
|
156
|
+
* Search index name
|
|
157
|
+
*/
|
|
158
|
+
indexName?: string;
|
|
159
|
+
/**
|
|
160
|
+
* KMS key for encryption
|
|
161
|
+
*/
|
|
162
|
+
kmsKeyId?: string;
|
|
163
|
+
/**
|
|
164
|
+
* Additional vault metadata
|
|
165
|
+
*/
|
|
166
|
+
metadata?: unknown;
|
|
167
|
+
/**
|
|
168
|
+
* Vault name
|
|
169
|
+
*/
|
|
170
|
+
name?: string;
|
|
171
|
+
/**
|
|
172
|
+
* AWS region
|
|
173
|
+
*/
|
|
174
|
+
region?: string;
|
|
175
|
+
/**
|
|
176
|
+
* Total storage size in bytes
|
|
177
|
+
*/
|
|
178
|
+
totalBytes?: number;
|
|
179
|
+
/**
|
|
180
|
+
* Number of stored documents
|
|
181
|
+
*/
|
|
182
|
+
totalObjects?: number;
|
|
183
|
+
/**
|
|
184
|
+
* Number of vector embeddings
|
|
185
|
+
*/
|
|
186
|
+
totalVectors?: number;
|
|
187
|
+
/**
|
|
188
|
+
* Last update timestamp
|
|
189
|
+
*/
|
|
190
|
+
updatedAt?: string;
|
|
191
|
+
/**
|
|
192
|
+
* S3 bucket for vector embeddings
|
|
121
193
|
*/
|
|
122
|
-
vectorBucket?: string;
|
|
194
|
+
vectorBucket?: string | null;
|
|
195
|
+
}
|
|
196
|
+
export declare namespace VaultRetrieveResponse {
|
|
197
|
+
/**
|
|
198
|
+
* Document chunking strategy configuration
|
|
199
|
+
*/
|
|
200
|
+
interface ChunkStrategy {
|
|
201
|
+
/**
|
|
202
|
+
* Target size for each chunk in tokens
|
|
203
|
+
*/
|
|
204
|
+
chunkSize?: number;
|
|
205
|
+
/**
|
|
206
|
+
* Chunking method (e.g., 'semantic', 'fixed')
|
|
207
|
+
*/
|
|
208
|
+
method?: string;
|
|
209
|
+
/**
|
|
210
|
+
* Minimum chunk size in tokens
|
|
211
|
+
*/
|
|
212
|
+
minChunkSize?: number;
|
|
213
|
+
/**
|
|
214
|
+
* Number of overlapping tokens between chunks
|
|
215
|
+
*/
|
|
216
|
+
overlap?: number;
|
|
217
|
+
}
|
|
123
218
|
}
|
|
124
219
|
export interface VaultListResponse {
|
|
125
220
|
/**
|
|
@@ -162,7 +257,8 @@ export declare namespace VaultListResponse {
|
|
|
162
257
|
}
|
|
163
258
|
export interface VaultIngestResponse {
|
|
164
259
|
/**
|
|
165
|
-
*
|
|
260
|
+
* Always false - GraphRAG must be triggered separately via POST
|
|
261
|
+
* /vault/:id/graphrag/:objectId
|
|
166
262
|
*/
|
|
167
263
|
enableGraphRAG: boolean;
|
|
168
264
|
/**
|
|
@@ -174,17 +270,18 @@ export interface VaultIngestResponse {
|
|
|
174
270
|
*/
|
|
175
271
|
objectId: string;
|
|
176
272
|
/**
|
|
177
|
-
* Current ingestion status
|
|
273
|
+
* Current ingestion status. 'stored' for file types without text extraction (no
|
|
274
|
+
* chunks/vectors created).
|
|
178
275
|
*/
|
|
179
|
-
status: 'processing';
|
|
276
|
+
status: 'processing' | 'stored';
|
|
180
277
|
/**
|
|
181
|
-
* Workflow run ID for tracking progress
|
|
278
|
+
* Workflow run ID for tracking progress. Null for file types that skip processing.
|
|
182
279
|
*/
|
|
183
|
-
workflowId: string;
|
|
280
|
+
workflowId: string | null;
|
|
184
281
|
}
|
|
185
282
|
export interface VaultSearchResponse {
|
|
186
283
|
/**
|
|
187
|
-
* Relevant text chunks with similarity scores
|
|
284
|
+
* Relevant text chunks with similarity scores and page locations
|
|
188
285
|
*/
|
|
189
286
|
chunks?: Array<VaultSearchResponse.Chunk>;
|
|
190
287
|
/**
|
|
@@ -207,8 +304,39 @@ export interface VaultSearchResponse {
|
|
|
207
304
|
}
|
|
208
305
|
export declare namespace VaultSearchResponse {
|
|
209
306
|
interface Chunk {
|
|
307
|
+
/**
|
|
308
|
+
* Index of the chunk within the document (0-based)
|
|
309
|
+
*/
|
|
310
|
+
chunk_index?: number;
|
|
311
|
+
/**
|
|
312
|
+
* Vector similarity distance (lower is more similar)
|
|
313
|
+
*/
|
|
314
|
+
distance?: number;
|
|
315
|
+
/**
|
|
316
|
+
* ID of the source document
|
|
317
|
+
*/
|
|
318
|
+
object_id?: string;
|
|
319
|
+
/**
|
|
320
|
+
* PDF page number where the chunk ends (1-indexed). Null for non-PDF documents or
|
|
321
|
+
* documents ingested before page tracking was added.
|
|
322
|
+
*/
|
|
323
|
+
page_end?: number | null;
|
|
324
|
+
/**
|
|
325
|
+
* PDF page number where the chunk begins (1-indexed). Null for non-PDF documents
|
|
326
|
+
* or documents ingested before page tracking was added.
|
|
327
|
+
*/
|
|
328
|
+
page_start?: number | null;
|
|
329
|
+
/**
|
|
330
|
+
* Relevance score (deprecated, use distance or hybridScore)
|
|
331
|
+
*/
|
|
210
332
|
score?: number;
|
|
333
|
+
/**
|
|
334
|
+
* Source identifier (deprecated, use object_id)
|
|
335
|
+
*/
|
|
211
336
|
source?: string;
|
|
337
|
+
/**
|
|
338
|
+
* Preview of the chunk text (up to 500 characters)
|
|
339
|
+
*/
|
|
212
340
|
text?: string;
|
|
213
341
|
}
|
|
214
342
|
interface Source {
|
|
@@ -226,6 +354,10 @@ export interface VaultUploadResponse {
|
|
|
226
354
|
* Whether the file will be automatically indexed
|
|
227
355
|
*/
|
|
228
356
|
auto_index?: boolean;
|
|
357
|
+
/**
|
|
358
|
+
* Whether the vault supports indexing. False for storage-only vaults.
|
|
359
|
+
*/
|
|
360
|
+
enableIndexing?: boolean;
|
|
229
361
|
/**
|
|
230
362
|
* URL expiration time in seconds
|
|
231
363
|
*/
|
|
@@ -239,6 +371,10 @@ export interface VaultUploadResponse {
|
|
|
239
371
|
* Unique identifier for the uploaded object
|
|
240
372
|
*/
|
|
241
373
|
objectId?: string;
|
|
374
|
+
/**
|
|
375
|
+
* Folder path for hierarchy if provided
|
|
376
|
+
*/
|
|
377
|
+
path?: string | null;
|
|
242
378
|
/**
|
|
243
379
|
* S3 object key for the file
|
|
244
380
|
*/
|
|
@@ -265,9 +401,20 @@ export interface VaultCreateParams {
|
|
|
265
401
|
*/
|
|
266
402
|
description?: string;
|
|
267
403
|
/**
|
|
268
|
-
* Enable knowledge graph for entity relationship mapping
|
|
404
|
+
* Enable knowledge graph for entity relationship mapping. Only applies when
|
|
405
|
+
* enableIndexing is true.
|
|
269
406
|
*/
|
|
270
407
|
enableGraph?: boolean;
|
|
408
|
+
/**
|
|
409
|
+
* Enable vector indexing and search capabilities. Set to false for storage-only
|
|
410
|
+
* vaults.
|
|
411
|
+
*/
|
|
412
|
+
enableIndexing?: boolean;
|
|
413
|
+
/**
|
|
414
|
+
* Optional metadata to attach to the vault (e.g., { containsPHI: true } for HIPAA
|
|
415
|
+
* compliance tracking)
|
|
416
|
+
*/
|
|
417
|
+
metadata?: unknown;
|
|
271
418
|
}
|
|
272
419
|
export interface VaultIngestParams {
|
|
273
420
|
/**
|
|
@@ -281,11 +428,9 @@ export interface VaultSearchParams {
|
|
|
281
428
|
*/
|
|
282
429
|
query: string;
|
|
283
430
|
/**
|
|
284
|
-
*
|
|
431
|
+
* Filters to narrow search results to specific documents
|
|
285
432
|
*/
|
|
286
|
-
filters?:
|
|
287
|
-
[key: string]: unknown;
|
|
288
|
-
};
|
|
433
|
+
filters?: VaultSearchParams.Filters;
|
|
289
434
|
/**
|
|
290
435
|
* Search method: 'global' for comprehensive questions, 'entity' for specific
|
|
291
436
|
* entities, 'fast' for quick similarity search, 'hybrid' for combined approach
|
|
@@ -296,6 +441,19 @@ export interface VaultSearchParams {
|
|
|
296
441
|
*/
|
|
297
442
|
topK?: number;
|
|
298
443
|
}
|
|
444
|
+
export declare namespace VaultSearchParams {
|
|
445
|
+
/**
|
|
446
|
+
* Filters to narrow search results to specific documents
|
|
447
|
+
*/
|
|
448
|
+
interface Filters {
|
|
449
|
+
/**
|
|
450
|
+
* Filter to specific document(s) by object ID. Accepts a single ID or array of
|
|
451
|
+
* IDs.
|
|
452
|
+
*/
|
|
453
|
+
object_id?: string | Array<string>;
|
|
454
|
+
[k: string]: unknown;
|
|
455
|
+
}
|
|
456
|
+
}
|
|
299
457
|
export interface VaultUploadParams {
|
|
300
458
|
/**
|
|
301
459
|
* MIME type of the file (e.g., application/pdf, image/jpeg)
|
|
@@ -313,14 +471,20 @@ export interface VaultUploadParams {
|
|
|
313
471
|
* Additional metadata to associate with the file
|
|
314
472
|
*/
|
|
315
473
|
metadata?: unknown;
|
|
474
|
+
/**
|
|
475
|
+
* Optional folder path for hierarchy preservation. Allows integrations to maintain
|
|
476
|
+
* source folder structure from systems like NetDocs, Clio, or Smokeball. Example:
|
|
477
|
+
* '/Discovery/Depositions/2024'
|
|
478
|
+
*/
|
|
479
|
+
path?: string;
|
|
316
480
|
/**
|
|
317
481
|
* Estimated file size in bytes for cost calculation
|
|
318
482
|
*/
|
|
319
483
|
sizeBytes?: number;
|
|
320
484
|
}
|
|
321
485
|
export declare namespace Vault {
|
|
322
|
-
export { type VaultCreateResponse as VaultCreateResponse, type VaultListResponse as VaultListResponse, type VaultIngestResponse as VaultIngestResponse, type VaultSearchResponse as VaultSearchResponse, type VaultUploadResponse as VaultUploadResponse, type VaultCreateParams as VaultCreateParams, type VaultIngestParams as VaultIngestParams, type VaultSearchParams as VaultSearchParams, type VaultUploadParams as VaultUploadParams, };
|
|
323
|
-
export { Graphrag as Graphrag };
|
|
324
|
-
export { Objects as Objects, type ObjectCreatePresignedURLResponse as ObjectCreatePresignedURLResponse, type ObjectRetrieveParams as ObjectRetrieveParams, type ObjectCreatePresignedURLParams as ObjectCreatePresignedURLParams, type ObjectDownloadParams as ObjectDownloadParams, type ObjectGetTextParams as ObjectGetTextParams, };
|
|
486
|
+
export { type VaultCreateResponse as VaultCreateResponse, type VaultRetrieveResponse as VaultRetrieveResponse, type VaultListResponse as VaultListResponse, type VaultIngestResponse as VaultIngestResponse, type VaultSearchResponse as VaultSearchResponse, type VaultUploadResponse as VaultUploadResponse, type VaultCreateParams as VaultCreateParams, type VaultIngestParams as VaultIngestParams, type VaultSearchParams as VaultSearchParams, type VaultUploadParams as VaultUploadParams, };
|
|
487
|
+
export { Graphrag as Graphrag, type GraphragGetStatsResponse as GraphragGetStatsResponse, type GraphragInitResponse as GraphragInitResponse, };
|
|
488
|
+
export { Objects as Objects, type ObjectRetrieveResponse as ObjectRetrieveResponse, type ObjectListResponse as ObjectListResponse, type ObjectCreatePresignedURLResponse as ObjectCreatePresignedURLResponse, type ObjectDownloadResponse as ObjectDownloadResponse, type ObjectGetTextResponse as ObjectGetTextResponse, type ObjectRetrieveParams as ObjectRetrieveParams, type ObjectCreatePresignedURLParams as ObjectCreatePresignedURLParams, type ObjectDownloadParams as ObjectDownloadParams, type ObjectGetTextParams as ObjectGetTextParams, };
|
|
325
489
|
}
|
|
326
490
|
//# sourceMappingURL=vault.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vault.d.mts","sourceRoot":"","sources":["../../src/resources/vault/vault.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,WAAW;OAChB,EAAE,QAAQ,EAAE;
|
|
1
|
+
{"version":3,"file":"vault.d.mts","sourceRoot":"","sources":["../../src/resources/vault/vault.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,WAAW;OAChB,EAAE,QAAQ,EAAE,wBAAwB,EAAE,oBAAoB,EAAE;OAC5D,KAAK,UAAU;OACf,EACL,8BAA8B,EAC9B,gCAAgC,EAChC,oBAAoB,EACpB,sBAAsB,EACtB,mBAAmB,EACnB,qBAAqB,EACrB,kBAAkB,EAClB,oBAAoB,EACpB,sBAAsB,EACtB,OAAO,EACR;OACM,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,KAAM,SAAQ,WAAW;IACpC,QAAQ,EAAE,WAAW,CAAC,QAAQ,CAA0C;IACxE,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IAEnE;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,IAAI,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,mBAAmB,CAAC;IAI1F;;;;;;;;;OASG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,qBAAqB,CAAC;IAIjF;;;;;;;;OAQG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,iBAAiB,CAAC;IAI7D;;;;;;;;;;;;;;OAcG;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