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
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../../core/resource';
|
|
4
4
|
import { APIPromise } from '../../core/api-promise';
|
|
5
|
-
import { buildHeaders } from '../../internal/headers';
|
|
6
5
|
import { RequestOptions } from '../../internal/request-options';
|
|
7
6
|
import { path } from '../../internal/utils/path';
|
|
8
7
|
|
|
@@ -45,12 +44,8 @@ export class V1 extends APIResource {
|
|
|
45
44
|
id: string,
|
|
46
45
|
query: V1RetrieveResearchParams | null | undefined = {},
|
|
47
46
|
options?: RequestOptions,
|
|
48
|
-
): APIPromise<
|
|
49
|
-
return this._client.get(path`/search/v1/research/${id}`, {
|
|
50
|
-
query,
|
|
51
|
-
...options,
|
|
52
|
-
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
53
|
-
});
|
|
47
|
+
): APIPromise<V1RetrieveResearchResponse> {
|
|
48
|
+
return this._client.get(path`/search/v1/research/${id}`, { query, ...options });
|
|
54
49
|
}
|
|
55
50
|
|
|
56
51
|
/**
|
|
@@ -163,6 +158,98 @@ export interface V1ResearchResponse {
|
|
|
163
158
|
results?: unknown;
|
|
164
159
|
}
|
|
165
160
|
|
|
161
|
+
export interface V1RetrieveResearchResponse {
|
|
162
|
+
/**
|
|
163
|
+
* Research task ID
|
|
164
|
+
*/
|
|
165
|
+
id?: string;
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* Task completion timestamp
|
|
169
|
+
*/
|
|
170
|
+
completedAt?: string;
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* Task creation timestamp
|
|
174
|
+
*/
|
|
175
|
+
createdAt?: string;
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* Research model used
|
|
179
|
+
*/
|
|
180
|
+
model?: 'fast' | 'normal' | 'pro';
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* Completion percentage (0-100)
|
|
184
|
+
*/
|
|
185
|
+
progress?: number;
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* Original research query
|
|
189
|
+
*/
|
|
190
|
+
query?: string;
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* Research findings and analysis
|
|
194
|
+
*/
|
|
195
|
+
results?: V1RetrieveResearchResponse.Results;
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* Current status of the research task
|
|
199
|
+
*/
|
|
200
|
+
status?: 'pending' | 'running' | 'completed' | 'failed';
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
export namespace V1RetrieveResearchResponse {
|
|
204
|
+
/**
|
|
205
|
+
* Research findings and analysis
|
|
206
|
+
*/
|
|
207
|
+
export interface Results {
|
|
208
|
+
/**
|
|
209
|
+
* Detailed research sections
|
|
210
|
+
*/
|
|
211
|
+
sections?: Array<Results.Section>;
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* All sources referenced in research
|
|
215
|
+
*/
|
|
216
|
+
sources?: Array<Results.Source>;
|
|
217
|
+
|
|
218
|
+
/**
|
|
219
|
+
* Executive summary of research findings
|
|
220
|
+
*/
|
|
221
|
+
summary?: string;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
export namespace Results {
|
|
225
|
+
export interface Section {
|
|
226
|
+
content?: string;
|
|
227
|
+
|
|
228
|
+
sources?: Array<Section.Source>;
|
|
229
|
+
|
|
230
|
+
title?: string;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
export namespace Section {
|
|
234
|
+
export interface Source {
|
|
235
|
+
snippet?: string;
|
|
236
|
+
|
|
237
|
+
title?: string;
|
|
238
|
+
|
|
239
|
+
url?: string;
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
export interface Source {
|
|
244
|
+
snippet?: string;
|
|
245
|
+
|
|
246
|
+
title?: string;
|
|
247
|
+
|
|
248
|
+
url?: string;
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
|
|
166
253
|
export interface V1SearchResponse {
|
|
167
254
|
/**
|
|
168
255
|
* Original search query
|
|
@@ -507,6 +594,7 @@ export declare namespace V1 {
|
|
|
507
594
|
type V1AnswerResponse as V1AnswerResponse,
|
|
508
595
|
type V1ContentsResponse as V1ContentsResponse,
|
|
509
596
|
type V1ResearchResponse as V1ResearchResponse,
|
|
597
|
+
type V1RetrieveResearchResponse as V1RetrieveResearchResponse,
|
|
510
598
|
type V1SearchResponse as V1SearchResponse,
|
|
511
599
|
type V1SimilarResponse as V1SimilarResponse,
|
|
512
600
|
type V1AnswerParams as V1AnswerParams,
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../../core/resource';
|
|
4
4
|
import { APIPromise } from '../../core/api-promise';
|
|
5
|
-
import { buildHeaders } from '../../internal/headers';
|
|
6
5
|
import { RequestOptions } from '../../internal/request-options';
|
|
7
6
|
import { path } from '../../internal/utils/path';
|
|
8
7
|
|
|
@@ -15,14 +14,11 @@ export class Graphrag extends APIResource {
|
|
|
15
14
|
*
|
|
16
15
|
* @example
|
|
17
16
|
* ```ts
|
|
18
|
-
* await client.vault.graphrag.getStats('id');
|
|
17
|
+
* const response = await client.vault.graphrag.getStats('id');
|
|
19
18
|
* ```
|
|
20
19
|
*/
|
|
21
|
-
getStats(id: string, options?: RequestOptions): APIPromise<
|
|
22
|
-
return this._client.get(path`/vault/${id}/graphrag/stats`,
|
|
23
|
-
...options,
|
|
24
|
-
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
25
|
-
});
|
|
20
|
+
getStats(id: string, options?: RequestOptions): APIPromise<GraphragGetStatsResponse> {
|
|
21
|
+
return this._client.get(path`/vault/${id}/graphrag/stats`, options);
|
|
26
22
|
}
|
|
27
23
|
|
|
28
24
|
/**
|
|
@@ -33,13 +29,59 @@ export class Graphrag extends APIResource {
|
|
|
33
29
|
*
|
|
34
30
|
* @example
|
|
35
31
|
* ```ts
|
|
36
|
-
* await client.vault.graphrag.init('id');
|
|
32
|
+
* const response = await client.vault.graphrag.init('id');
|
|
37
33
|
* ```
|
|
38
34
|
*/
|
|
39
|
-
init(id: string, options?: RequestOptions): APIPromise<
|
|
40
|
-
return this._client.post(path`/vault/${id}/graphrag/init`,
|
|
41
|
-
...options,
|
|
42
|
-
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
43
|
-
});
|
|
35
|
+
init(id: string, options?: RequestOptions): APIPromise<GraphragInitResponse> {
|
|
36
|
+
return this._client.post(path`/vault/${id}/graphrag/init`, options);
|
|
44
37
|
}
|
|
45
38
|
}
|
|
39
|
+
|
|
40
|
+
export interface GraphragGetStatsResponse {
|
|
41
|
+
/**
|
|
42
|
+
* Number of entity communities identified
|
|
43
|
+
*/
|
|
44
|
+
communities?: number;
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Number of processed documents
|
|
48
|
+
*/
|
|
49
|
+
documents?: number;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Total number of entities extracted from documents
|
|
53
|
+
*/
|
|
54
|
+
entities?: number;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Timestamp of last GraphRAG processing
|
|
58
|
+
*/
|
|
59
|
+
lastProcessed?: string;
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Total number of relationships between entities
|
|
63
|
+
*/
|
|
64
|
+
relationships?: number;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Current processing status
|
|
68
|
+
*/
|
|
69
|
+
status?: 'processing' | 'completed' | 'error';
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export interface GraphragInitResponse {
|
|
73
|
+
message?: string;
|
|
74
|
+
|
|
75
|
+
status?: string;
|
|
76
|
+
|
|
77
|
+
success?: boolean;
|
|
78
|
+
|
|
79
|
+
vault_id?: string;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
export declare namespace Graphrag {
|
|
83
|
+
export {
|
|
84
|
+
type GraphragGetStatsResponse as GraphragGetStatsResponse,
|
|
85
|
+
type GraphragInitResponse as GraphragInitResponse,
|
|
86
|
+
};
|
|
87
|
+
}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
export { Graphrag } from './graphrag';
|
|
3
|
+
export { Graphrag, type GraphragGetStatsResponse, type GraphragInitResponse } from './graphrag';
|
|
4
4
|
export {
|
|
5
5
|
Objects,
|
|
6
|
+
type ObjectRetrieveResponse,
|
|
7
|
+
type ObjectListResponse,
|
|
6
8
|
type ObjectCreatePresignedURLResponse,
|
|
9
|
+
type ObjectDownloadResponse,
|
|
10
|
+
type ObjectGetTextResponse,
|
|
7
11
|
type ObjectRetrieveParams,
|
|
8
12
|
type ObjectCreatePresignedURLParams,
|
|
9
13
|
type ObjectDownloadParams,
|
|
@@ -12,6 +16,7 @@ export {
|
|
|
12
16
|
export {
|
|
13
17
|
Vault,
|
|
14
18
|
type VaultCreateResponse,
|
|
19
|
+
type VaultRetrieveResponse,
|
|
15
20
|
type VaultListResponse,
|
|
16
21
|
type VaultIngestResponse,
|
|
17
22
|
type VaultSearchResponse,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../../core/resource';
|
|
4
4
|
import { APIPromise } from '../../core/api-promise';
|
|
5
|
-
import {
|
|
5
|
+
import { type Uploadable } from '../../core/uploads';
|
|
6
6
|
import { RequestOptions } from '../../internal/request-options';
|
|
7
7
|
import { path } from '../../internal/utils/path';
|
|
8
8
|
|
|
@@ -14,17 +14,19 @@ export class Objects extends APIResource {
|
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* ```ts
|
|
17
|
-
* await client.vault.objects.retrieve(
|
|
18
|
-
*
|
|
19
|
-
* }
|
|
17
|
+
* const object = await client.vault.objects.retrieve(
|
|
18
|
+
* 'objectId',
|
|
19
|
+
* { id: 'id' },
|
|
20
|
+
* );
|
|
20
21
|
* ```
|
|
21
22
|
*/
|
|
22
|
-
retrieve(
|
|
23
|
+
retrieve(
|
|
24
|
+
objectID: string,
|
|
25
|
+
params: ObjectRetrieveParams,
|
|
26
|
+
options?: RequestOptions,
|
|
27
|
+
): APIPromise<ObjectRetrieveResponse> {
|
|
23
28
|
const { id } = params;
|
|
24
|
-
return this._client.get(path`/vault/${id}/objects/${objectID}`,
|
|
25
|
-
...options,
|
|
26
|
-
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
27
|
-
});
|
|
29
|
+
return this._client.get(path`/vault/${id}/objects/${objectID}`, options);
|
|
28
30
|
}
|
|
29
31
|
|
|
30
32
|
/**
|
|
@@ -33,14 +35,11 @@ export class Objects extends APIResource {
|
|
|
33
35
|
*
|
|
34
36
|
* @example
|
|
35
37
|
* ```ts
|
|
36
|
-
* await client.vault.objects.list('id');
|
|
38
|
+
* const objects = await client.vault.objects.list('id');
|
|
37
39
|
* ```
|
|
38
40
|
*/
|
|
39
|
-
list(id: string, options?: RequestOptions): APIPromise<
|
|
40
|
-
return this._client.get(path`/vault/${id}/objects`,
|
|
41
|
-
...options,
|
|
42
|
-
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
43
|
-
});
|
|
41
|
+
list(id: string, options?: RequestOptions): APIPromise<ObjectListResponse> {
|
|
42
|
+
return this._client.get(path`/vault/${id}/objects`, options);
|
|
44
43
|
}
|
|
45
44
|
|
|
46
45
|
/**
|
|
@@ -75,17 +74,15 @@ export class Objects extends APIResource {
|
|
|
75
74
|
*
|
|
76
75
|
* @example
|
|
77
76
|
* ```ts
|
|
78
|
-
* await client.vault.objects.download(
|
|
79
|
-
*
|
|
80
|
-
* }
|
|
77
|
+
* const response = await client.vault.objects.download(
|
|
78
|
+
* 'objectId',
|
|
79
|
+
* { id: 'id' },
|
|
80
|
+
* );
|
|
81
81
|
* ```
|
|
82
82
|
*/
|
|
83
|
-
download(objectID: string, params: ObjectDownloadParams, options?: RequestOptions): APIPromise<
|
|
83
|
+
download(objectID: string, params: ObjectDownloadParams, options?: RequestOptions): APIPromise<string> {
|
|
84
84
|
const { id } = params;
|
|
85
|
-
return this._client.get(path`/vault/${id}/objects/${objectID}/download`,
|
|
86
|
-
...options,
|
|
87
|
-
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
88
|
-
});
|
|
85
|
+
return this._client.get(path`/vault/${id}/objects/${objectID}/download`, options);
|
|
89
86
|
}
|
|
90
87
|
|
|
91
88
|
/**
|
|
@@ -95,17 +92,184 @@ export class Objects extends APIResource {
|
|
|
95
92
|
*
|
|
96
93
|
* @example
|
|
97
94
|
* ```ts
|
|
98
|
-
* await client.vault.objects.getText(
|
|
99
|
-
*
|
|
100
|
-
* }
|
|
95
|
+
* const response = await client.vault.objects.getText(
|
|
96
|
+
* 'objectId',
|
|
97
|
+
* { id: 'id' },
|
|
98
|
+
* );
|
|
101
99
|
* ```
|
|
102
100
|
*/
|
|
103
|
-
getText(
|
|
101
|
+
getText(
|
|
102
|
+
objectID: string,
|
|
103
|
+
params: ObjectGetTextParams,
|
|
104
|
+
options?: RequestOptions,
|
|
105
|
+
): APIPromise<ObjectGetTextResponse> {
|
|
104
106
|
const { id } = params;
|
|
105
|
-
return this._client.get(path`/vault/${id}/objects/${objectID}/text`,
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
107
|
+
return this._client.get(path`/vault/${id}/objects/${objectID}/text`, options);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
export interface ObjectRetrieveResponse {
|
|
112
|
+
/**
|
|
113
|
+
* Object ID
|
|
114
|
+
*/
|
|
115
|
+
id?: string;
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* Number of text chunks created
|
|
119
|
+
*/
|
|
120
|
+
chunkCount?: number;
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* MIME type
|
|
124
|
+
*/
|
|
125
|
+
contentType?: string;
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* Upload timestamp
|
|
129
|
+
*/
|
|
130
|
+
createdAt?: string;
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* Presigned S3 download URL
|
|
134
|
+
*/
|
|
135
|
+
downloadUrl?: string;
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* URL expiration time in seconds
|
|
139
|
+
*/
|
|
140
|
+
expiresIn?: number;
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* Original filename
|
|
144
|
+
*/
|
|
145
|
+
filename?: string;
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* Processing status (pending, processing, completed, failed)
|
|
149
|
+
*/
|
|
150
|
+
ingestionStatus?: string;
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* Additional metadata
|
|
154
|
+
*/
|
|
155
|
+
metadata?: unknown;
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* Number of pages (for documents)
|
|
159
|
+
*/
|
|
160
|
+
pageCount?: number;
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* Optional folder path for hierarchy preservation
|
|
164
|
+
*/
|
|
165
|
+
path?: string | null;
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* File size in bytes
|
|
169
|
+
*/
|
|
170
|
+
sizeBytes?: number;
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* Length of extracted text
|
|
174
|
+
*/
|
|
175
|
+
textLength?: number;
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* Vault ID
|
|
179
|
+
*/
|
|
180
|
+
vaultId?: string;
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* Number of embedding vectors generated
|
|
184
|
+
*/
|
|
185
|
+
vectorCount?: number;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
export interface ObjectListResponse {
|
|
189
|
+
/**
|
|
190
|
+
* Total number of objects in the vault
|
|
191
|
+
*/
|
|
192
|
+
count?: number;
|
|
193
|
+
|
|
194
|
+
objects?: Array<ObjectListResponse.Object>;
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* The ID of the vault
|
|
198
|
+
*/
|
|
199
|
+
vaultId?: string;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
export namespace ObjectListResponse {
|
|
203
|
+
export interface Object {
|
|
204
|
+
/**
|
|
205
|
+
* Unique object identifier
|
|
206
|
+
*/
|
|
207
|
+
id?: string;
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* Number of text chunks created for vectorization
|
|
211
|
+
*/
|
|
212
|
+
chunkCount?: number;
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* MIME type of the document
|
|
216
|
+
*/
|
|
217
|
+
contentType?: string;
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* Document upload timestamp
|
|
221
|
+
*/
|
|
222
|
+
createdAt?: string;
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* Original filename of the uploaded document
|
|
226
|
+
*/
|
|
227
|
+
filename?: string;
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* Processing completion timestamp
|
|
231
|
+
*/
|
|
232
|
+
ingestionCompletedAt?: string;
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* Processing status of the document
|
|
236
|
+
*/
|
|
237
|
+
ingestionStatus?: string;
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* Custom metadata associated with the document
|
|
241
|
+
*/
|
|
242
|
+
metadata?: unknown;
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
* Number of pages in the document
|
|
246
|
+
*/
|
|
247
|
+
pageCount?: number;
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* Optional folder path for hierarchy preservation from source systems
|
|
251
|
+
*/
|
|
252
|
+
path?: string | null;
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* File size in bytes
|
|
256
|
+
*/
|
|
257
|
+
sizeBytes?: number;
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* Custom tags associated with the document
|
|
261
|
+
*/
|
|
262
|
+
tags?: Array<string>;
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
* Total character count of extracted text
|
|
266
|
+
*/
|
|
267
|
+
textLength?: number;
|
|
268
|
+
|
|
269
|
+
/**
|
|
270
|
+
* Number of vectors generated for semantic search
|
|
271
|
+
*/
|
|
272
|
+
vectorCount?: number;
|
|
109
273
|
}
|
|
110
274
|
}
|
|
111
275
|
|
|
@@ -170,6 +334,51 @@ export namespace ObjectCreatePresignedURLResponse {
|
|
|
170
334
|
}
|
|
171
335
|
}
|
|
172
336
|
|
|
337
|
+
export type ObjectDownloadResponse = Uploadable;
|
|
338
|
+
|
|
339
|
+
export interface ObjectGetTextResponse {
|
|
340
|
+
metadata?: ObjectGetTextResponse.Metadata;
|
|
341
|
+
|
|
342
|
+
/**
|
|
343
|
+
* Full concatenated text content from all chunks
|
|
344
|
+
*/
|
|
345
|
+
text?: string;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
export namespace ObjectGetTextResponse {
|
|
349
|
+
export interface Metadata {
|
|
350
|
+
/**
|
|
351
|
+
* Number of text chunks the document was split into
|
|
352
|
+
*/
|
|
353
|
+
chunk_count?: number;
|
|
354
|
+
|
|
355
|
+
/**
|
|
356
|
+
* Original filename of the document
|
|
357
|
+
*/
|
|
358
|
+
filename?: string;
|
|
359
|
+
|
|
360
|
+
/**
|
|
361
|
+
* When the document processing completed
|
|
362
|
+
*/
|
|
363
|
+
ingestion_completed_at?: string;
|
|
364
|
+
|
|
365
|
+
/**
|
|
366
|
+
* Total character count of the extracted text
|
|
367
|
+
*/
|
|
368
|
+
length?: number;
|
|
369
|
+
|
|
370
|
+
/**
|
|
371
|
+
* The object ID
|
|
372
|
+
*/
|
|
373
|
+
object_id?: string;
|
|
374
|
+
|
|
375
|
+
/**
|
|
376
|
+
* The vault ID
|
|
377
|
+
*/
|
|
378
|
+
vault_id?: string;
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
|
|
173
382
|
export interface ObjectRetrieveParams {
|
|
174
383
|
/**
|
|
175
384
|
* Vault ID
|
|
@@ -216,7 +425,11 @@ export interface ObjectGetTextParams {
|
|
|
216
425
|
|
|
217
426
|
export declare namespace Objects {
|
|
218
427
|
export {
|
|
428
|
+
type ObjectRetrieveResponse as ObjectRetrieveResponse,
|
|
429
|
+
type ObjectListResponse as ObjectListResponse,
|
|
219
430
|
type ObjectCreatePresignedURLResponse as ObjectCreatePresignedURLResponse,
|
|
431
|
+
type ObjectDownloadResponse as ObjectDownloadResponse,
|
|
432
|
+
type ObjectGetTextResponse as ObjectGetTextResponse,
|
|
220
433
|
type ObjectRetrieveParams as ObjectRetrieveParams,
|
|
221
434
|
type ObjectCreatePresignedURLParams as ObjectCreatePresignedURLParams,
|
|
222
435
|
type ObjectDownloadParams as ObjectDownloadParams,
|