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,141 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
import { APIResource } from '../../../core/resource';
|
|
4
|
-
import * as JobsAPI from './jobs';
|
|
5
|
-
import { Jobs } from './jobs';
|
|
6
|
-
import { APIPromise } from '../../../core/api-promise';
|
|
7
|
-
import { buildHeaders } from '../../../internal/headers';
|
|
8
|
-
import { RequestOptions } from '../../../internal/request-options';
|
|
9
|
-
import { path } from '../../../internal/utils/path';
|
|
10
|
-
|
|
11
|
-
export class V1 extends APIResource {
|
|
12
|
-
jobs: JobsAPI.Jobs = new JobsAPI.Jobs(this._client);
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* Download the converted M4A audio file from a completed FTR conversion job. The
|
|
16
|
-
* file is streamed directly to the client with appropriate headers for audio
|
|
17
|
-
* playback or download.
|
|
18
|
-
*/
|
|
19
|
-
download(id: string, options?: RequestOptions): APIPromise<Response> {
|
|
20
|
-
return this._client.get(path`/convert/v1/download/${id}`, {
|
|
21
|
-
...options,
|
|
22
|
-
headers: buildHeaders([{ Accept: 'audio/mp4' }, options?.headers]),
|
|
23
|
-
__binaryResponse: true,
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Submit an FTR (ForensicTech Recording) file for conversion to M4A audio format.
|
|
29
|
-
* This endpoint is commonly used to convert court recording files into standard
|
|
30
|
-
* audio formats for transcription or playback. The conversion is processed
|
|
31
|
-
* asynchronously - you'll receive a job ID to track the conversion status.
|
|
32
|
-
*
|
|
33
|
-
* **Supported Input**: FTR files via S3 presigned URLs **Output Format**: M4A
|
|
34
|
-
* audio **Processing**: Asynchronous with webhook callbacks
|
|
35
|
-
*/
|
|
36
|
-
process(body: V1ProcessParams, options?: RequestOptions): APIPromise<V1ProcessResponse> {
|
|
37
|
-
return this._client.post('/convert/v1/process', { body, ...options });
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* Internal webhook endpoint that receives completion notifications from the Modal
|
|
42
|
-
* FTR converter service. This endpoint handles status updates for file conversion
|
|
43
|
-
* jobs, including success and failure notifications. Requires valid Bearer token
|
|
44
|
-
* authentication.
|
|
45
|
-
*/
|
|
46
|
-
webhook(body: V1WebhookParams, options?: RequestOptions): APIPromise<V1WebhookResponse> {
|
|
47
|
-
return this._client.post('/convert/v1/webhook', { body, ...options });
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export interface V1ProcessResponse {
|
|
52
|
-
/**
|
|
53
|
-
* Unique identifier for the conversion job
|
|
54
|
-
*/
|
|
55
|
-
job_id?: string;
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* Instructions for checking job status
|
|
59
|
-
*/
|
|
60
|
-
message?: string;
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* Current status of the conversion job
|
|
64
|
-
*/
|
|
65
|
-
status?: 'queued' | 'processing' | 'completed' | 'failed';
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export interface V1WebhookResponse {
|
|
69
|
-
message?: string;
|
|
70
|
-
|
|
71
|
-
success?: boolean;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
export interface V1ProcessParams {
|
|
75
|
-
/**
|
|
76
|
-
* HTTPS URL to the FTR file (must be a valid S3 presigned URL)
|
|
77
|
-
*/
|
|
78
|
-
input_url: string;
|
|
79
|
-
|
|
80
|
-
/**
|
|
81
|
-
* Optional webhook URL to receive conversion completion notification
|
|
82
|
-
*/
|
|
83
|
-
callback_url?: string;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
export interface V1WebhookParams {
|
|
87
|
-
/**
|
|
88
|
-
* Unique identifier for the conversion job
|
|
89
|
-
*/
|
|
90
|
-
job_id: string;
|
|
91
|
-
|
|
92
|
-
/**
|
|
93
|
-
* Status of the conversion job
|
|
94
|
-
*/
|
|
95
|
-
status: 'completed' | 'failed';
|
|
96
|
-
|
|
97
|
-
/**
|
|
98
|
-
* Error message for failed jobs
|
|
99
|
-
*/
|
|
100
|
-
error?: string;
|
|
101
|
-
|
|
102
|
-
/**
|
|
103
|
-
* Result data for completed jobs
|
|
104
|
-
*/
|
|
105
|
-
result?: V1WebhookParams.Result;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
export namespace V1WebhookParams {
|
|
109
|
-
/**
|
|
110
|
-
* Result data for completed jobs
|
|
111
|
-
*/
|
|
112
|
-
export interface Result {
|
|
113
|
-
/**
|
|
114
|
-
* Processing duration in seconds
|
|
115
|
-
*/
|
|
116
|
-
duration_seconds?: number;
|
|
117
|
-
|
|
118
|
-
/**
|
|
119
|
-
* Size of processed file in bytes
|
|
120
|
-
*/
|
|
121
|
-
file_size_bytes?: number;
|
|
122
|
-
|
|
123
|
-
/**
|
|
124
|
-
* Filename where converted file is stored
|
|
125
|
-
*/
|
|
126
|
-
stored_filename?: string;
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
V1.Jobs = Jobs;
|
|
131
|
-
|
|
132
|
-
export declare namespace V1 {
|
|
133
|
-
export {
|
|
134
|
-
type V1ProcessResponse as V1ProcessResponse,
|
|
135
|
-
type V1WebhookResponse as V1WebhookResponse,
|
|
136
|
-
type V1ProcessParams as V1ProcessParams,
|
|
137
|
-
type V1WebhookParams as V1WebhookParams,
|
|
138
|
-
};
|
|
139
|
-
|
|
140
|
-
export { Jobs as Jobs };
|
|
141
|
-
}
|
package/src/resources/convert.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
import { APIResource } from '../../core/resource';
|
|
4
|
-
import * as V1API from './v1';
|
|
5
|
-
import { V1, V1ExecuteParams, V1ExecuteResponse, V1ListParams, V1SearchParams } from './v1';
|
|
6
|
-
|
|
7
|
-
export class Templates extends APIResource {
|
|
8
|
-
v1: V1API.V1 = new V1API.V1(this._client);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
Templates.V1 = V1;
|
|
12
|
-
|
|
13
|
-
export declare namespace Templates {
|
|
14
|
-
export {
|
|
15
|
-
V1 as V1,
|
|
16
|
-
type V1ExecuteResponse as V1ExecuteResponse,
|
|
17
|
-
type V1ListParams as V1ListParams,
|
|
18
|
-
type V1ExecuteParams as V1ExecuteParams,
|
|
19
|
-
type V1SearchParams as V1SearchParams,
|
|
20
|
-
};
|
|
21
|
-
}
|
|
@@ -1,187 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
import { APIResource } from '../../core/resource';
|
|
4
|
-
import { APIPromise } from '../../core/api-promise';
|
|
5
|
-
import { buildHeaders } from '../../internal/headers';
|
|
6
|
-
import { RequestOptions } from '../../internal/request-options';
|
|
7
|
-
import { path } from '../../internal/utils/path';
|
|
8
|
-
|
|
9
|
-
export class V1 extends APIResource {
|
|
10
|
-
/**
|
|
11
|
-
* Retrieve metadata for a published workflow by ID. Returns workflow configuration
|
|
12
|
-
* including input/output schemas, but excludes the prompt template for security.
|
|
13
|
-
*/
|
|
14
|
-
retrieve(id: string, options?: RequestOptions): APIPromise<void> {
|
|
15
|
-
return this._client.get(path`/templates/v1/${id}`, {
|
|
16
|
-
...options,
|
|
17
|
-
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* Retrieve a paginated list of available workflows with optional filtering by
|
|
23
|
-
* category, subcategory, type, and publication status. Workflows are pre-built
|
|
24
|
-
* document processing pipelines optimized for legal use cases.
|
|
25
|
-
*/
|
|
26
|
-
list(query: V1ListParams | null | undefined = {}, options?: RequestOptions): APIPromise<void> {
|
|
27
|
-
return this._client.get('/templates/v1', {
|
|
28
|
-
query,
|
|
29
|
-
...options,
|
|
30
|
-
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* Execute a pre-built workflow with custom input data. Workflows automate common
|
|
36
|
-
* legal document processing tasks like contract analysis, due diligence reviews,
|
|
37
|
-
* and document classification.
|
|
38
|
-
*
|
|
39
|
-
* **Available Workflows:**
|
|
40
|
-
*
|
|
41
|
-
* - Contract analysis and risk assessment
|
|
42
|
-
* - Document classification and tagging
|
|
43
|
-
* - Legal research and case summarization
|
|
44
|
-
* - Due diligence document review
|
|
45
|
-
* - Compliance checking and reporting
|
|
46
|
-
*/
|
|
47
|
-
execute(id: string, body: V1ExecuteParams, options?: RequestOptions): APIPromise<V1ExecuteResponse> {
|
|
48
|
-
return this._client.post(path`/templates/v1/${id}/execute`, { body, ...options });
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* Retrieves the status and details of a workflow execution. This endpoint is
|
|
53
|
-
* designed for future asynchronous execution support and currently returns a 501
|
|
54
|
-
* Not Implemented status since all executions are synchronous.
|
|
55
|
-
*/
|
|
56
|
-
retrieveExecution(id: string, options?: RequestOptions): APIPromise<void> {
|
|
57
|
-
return this._client.get(path`/templates/v1/executions/${id}`, {
|
|
58
|
-
...options,
|
|
59
|
-
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
60
|
-
});
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* Perform semantic search across available workflows to find the most relevant
|
|
65
|
-
* pre-built document processing pipelines for your legal use case.
|
|
66
|
-
*/
|
|
67
|
-
search(body: V1SearchParams, options?: RequestOptions): APIPromise<void> {
|
|
68
|
-
return this._client.post('/templates/v1/search', {
|
|
69
|
-
body,
|
|
70
|
-
...options,
|
|
71
|
-
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
72
|
-
});
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
export interface V1ExecuteResponse {
|
|
77
|
-
/**
|
|
78
|
-
* Workflow output (structure varies by workflow type)
|
|
79
|
-
*/
|
|
80
|
-
result?: unknown;
|
|
81
|
-
|
|
82
|
-
status?: 'completed' | 'failed';
|
|
83
|
-
|
|
84
|
-
usage?: V1ExecuteResponse.Usage;
|
|
85
|
-
|
|
86
|
-
/**
|
|
87
|
-
* Name of the executed workflow
|
|
88
|
-
*/
|
|
89
|
-
workflow_name?: string;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
export namespace V1ExecuteResponse {
|
|
93
|
-
export interface Usage {
|
|
94
|
-
completion_tokens?: number;
|
|
95
|
-
|
|
96
|
-
/**
|
|
97
|
-
* Total cost in USD
|
|
98
|
-
*/
|
|
99
|
-
cost?: number;
|
|
100
|
-
|
|
101
|
-
prompt_tokens?: number;
|
|
102
|
-
|
|
103
|
-
total_tokens?: number;
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
export interface V1ListParams {
|
|
108
|
-
/**
|
|
109
|
-
* Filter workflows by category (e.g., 'legal', 'compliance', 'contract')
|
|
110
|
-
*/
|
|
111
|
-
category?: string;
|
|
112
|
-
|
|
113
|
-
/**
|
|
114
|
-
* Maximum number of workflows to return
|
|
115
|
-
*/
|
|
116
|
-
limit?: number;
|
|
117
|
-
|
|
118
|
-
/**
|
|
119
|
-
* Number of workflows to skip for pagination
|
|
120
|
-
*/
|
|
121
|
-
offset?: number;
|
|
122
|
-
|
|
123
|
-
/**
|
|
124
|
-
* Include only published workflows
|
|
125
|
-
*/
|
|
126
|
-
published?: boolean;
|
|
127
|
-
|
|
128
|
-
/**
|
|
129
|
-
* Filter workflows by subcategory (e.g., 'due-diligence', 'litigation', 'mergers')
|
|
130
|
-
*/
|
|
131
|
-
sub_category?: string;
|
|
132
|
-
|
|
133
|
-
/**
|
|
134
|
-
* Filter workflows by type (e.g., 'document-review', 'contract-analysis',
|
|
135
|
-
* 'compliance-check')
|
|
136
|
-
*/
|
|
137
|
-
type?: string;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
export interface V1ExecuteParams {
|
|
141
|
-
/**
|
|
142
|
-
* Input data for the workflow (structure varies by workflow type)
|
|
143
|
-
*/
|
|
144
|
-
input: unknown;
|
|
145
|
-
|
|
146
|
-
options?: V1ExecuteParams.Options;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
export namespace V1ExecuteParams {
|
|
150
|
-
export interface Options {
|
|
151
|
-
/**
|
|
152
|
-
* Output format preference
|
|
153
|
-
*/
|
|
154
|
-
format?: 'json' | 'text';
|
|
155
|
-
|
|
156
|
-
/**
|
|
157
|
-
* LLM model to use for processing
|
|
158
|
-
*/
|
|
159
|
-
model?: string;
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
export interface V1SearchParams {
|
|
164
|
-
/**
|
|
165
|
-
* Search query to find relevant workflows
|
|
166
|
-
*/
|
|
167
|
-
query: string;
|
|
168
|
-
|
|
169
|
-
/**
|
|
170
|
-
* Optional category filter to narrow results
|
|
171
|
-
*/
|
|
172
|
-
category?: string;
|
|
173
|
-
|
|
174
|
-
/**
|
|
175
|
-
* Maximum number of results to return (default: 10, max: 50)
|
|
176
|
-
*/
|
|
177
|
-
limit?: number;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
export declare namespace V1 {
|
|
181
|
-
export {
|
|
182
|
-
type V1ExecuteResponse as V1ExecuteResponse,
|
|
183
|
-
type V1ListParams as V1ListParams,
|
|
184
|
-
type V1ExecuteParams as V1ExecuteParams,
|
|
185
|
-
type V1SearchParams as V1SearchParams,
|
|
186
|
-
};
|
|
187
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
export {
|
|
4
|
-
V1,
|
|
5
|
-
type V1CreateResponse,
|
|
6
|
-
type V1RetrieveResponse,
|
|
7
|
-
type V1UpdateResponse,
|
|
8
|
-
type V1ListResponse,
|
|
9
|
-
type V1DeleteResponse,
|
|
10
|
-
type V1DeployResponse,
|
|
11
|
-
type V1ExecuteResponse,
|
|
12
|
-
type V1ListExecutionsResponse,
|
|
13
|
-
type V1RetrieveExecutionResponse,
|
|
14
|
-
type V1UndeployResponse,
|
|
15
|
-
type V1CreateParams,
|
|
16
|
-
type V1UpdateParams,
|
|
17
|
-
type V1ListParams,
|
|
18
|
-
type V1ExecuteParams,
|
|
19
|
-
type V1ListExecutionsParams,
|
|
20
|
-
} from './v1';
|
|
21
|
-
export { Workflows } from './workflows';
|