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,3 +1,3 @@
|
|
|
1
|
-
export { Speak, type SpeakCreateParams
|
|
2
|
-
export { V1, type V1ListVoicesParams } from "./v1.js";
|
|
1
|
+
export { Speak, type SpeakCreateParams } from "./speak.js";
|
|
2
|
+
export { V1, type V1ListVoicesResponse, type V1ListVoicesParams } from "./v1.js";
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/voice/v1/index.ts"],"names":[],"mappings":"OAEO,EAAE,KAAK,EAAE,KAAK,iBAAiB,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/voice/v1/index.ts"],"names":[],"mappings":"OAEO,EAAE,KAAK,EAAE,KAAK,iBAAiB,EAAE;OACjC,EAAE,EAAE,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/voice/v1/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/voice/v1/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,oCAAwD;AAA/C,8FAAA,KAAK,OAAA;AACd,8BAA8E;AAArE,wFAAA,EAAE,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/voice/v1/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/voice/v1/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,KAAK,EAA0B;OACjC,EAAE,EAAE,EAAsD"}
|
|
@@ -18,23 +18,6 @@ export declare class Speak extends APIResource {
|
|
|
18
18
|
* ```
|
|
19
19
|
*/
|
|
20
20
|
create(body: SpeakCreateParams, options?: RequestOptions): APIPromise<Response>;
|
|
21
|
-
/**
|
|
22
|
-
* Convert text to speech using ElevenLabs AI voices with streaming for real-time
|
|
23
|
-
* playback. Returns audio data as an MP3 stream for immediate playback with
|
|
24
|
-
* minimal latency. Perfect for legal document narration, client presentations, or
|
|
25
|
-
* accessibility features.
|
|
26
|
-
*
|
|
27
|
-
* @example
|
|
28
|
-
* ```ts
|
|
29
|
-
* const response = await client.voice.v1.speak.stream({
|
|
30
|
-
* text: 'text',
|
|
31
|
-
* });
|
|
32
|
-
*
|
|
33
|
-
* const content = await response.blob();
|
|
34
|
-
* console.log(content);
|
|
35
|
-
* ```
|
|
36
|
-
*/
|
|
37
|
-
stream(body: SpeakStreamParams, options?: RequestOptions): APIPromise<Response>;
|
|
38
21
|
}
|
|
39
22
|
export interface SpeakCreateParams {
|
|
40
23
|
/**
|
|
@@ -109,74 +92,7 @@ export declare namespace SpeakCreateParams {
|
|
|
109
92
|
use_speaker_boost?: boolean;
|
|
110
93
|
}
|
|
111
94
|
}
|
|
112
|
-
export interface SpeakStreamParams {
|
|
113
|
-
/**
|
|
114
|
-
* Text to convert to speech
|
|
115
|
-
*/
|
|
116
|
-
text: string;
|
|
117
|
-
/**
|
|
118
|
-
* Apply text normalization
|
|
119
|
-
*/
|
|
120
|
-
apply_text_normalization?: boolean;
|
|
121
|
-
/**
|
|
122
|
-
* Enable request logging
|
|
123
|
-
*/
|
|
124
|
-
enable_logging?: boolean;
|
|
125
|
-
/**
|
|
126
|
-
* Language code (e.g., 'en', 'es', 'fr')
|
|
127
|
-
*/
|
|
128
|
-
language_code?: string;
|
|
129
|
-
/**
|
|
130
|
-
* TTS model to use
|
|
131
|
-
*/
|
|
132
|
-
model_id?: 'eleven_monolingual_v1' | 'eleven_multilingual_v1' | 'eleven_multilingual_v2' | 'eleven_turbo_v2';
|
|
133
|
-
/**
|
|
134
|
-
* Next text for context
|
|
135
|
-
*/
|
|
136
|
-
next_text?: string;
|
|
137
|
-
/**
|
|
138
|
-
* Optimize for streaming latency (0-4)
|
|
139
|
-
*/
|
|
140
|
-
optimize_streaming_latency?: number;
|
|
141
|
-
/**
|
|
142
|
-
* Audio output format
|
|
143
|
-
*/
|
|
144
|
-
output_format?: 'mp3_44100_128' | 'mp3_22050_32' | 'pcm_16000' | 'pcm_22050' | 'pcm_24000' | 'pcm_44100';
|
|
145
|
-
/**
|
|
146
|
-
* Previous text for context
|
|
147
|
-
*/
|
|
148
|
-
previous_text?: string;
|
|
149
|
-
/**
|
|
150
|
-
* Random seed for reproducible generation
|
|
151
|
-
*/
|
|
152
|
-
seed?: number;
|
|
153
|
-
/**
|
|
154
|
-
* ElevenLabs voice ID (defaults to Rachel for professional clarity)
|
|
155
|
-
*/
|
|
156
|
-
voice_id?: string;
|
|
157
|
-
voice_settings?: SpeakStreamParams.VoiceSettings;
|
|
158
|
-
}
|
|
159
|
-
export declare namespace SpeakStreamParams {
|
|
160
|
-
interface VoiceSettings {
|
|
161
|
-
/**
|
|
162
|
-
* Similarity boost (0-1)
|
|
163
|
-
*/
|
|
164
|
-
similarity_boost?: number;
|
|
165
|
-
/**
|
|
166
|
-
* Voice stability (0-1)
|
|
167
|
-
*/
|
|
168
|
-
stability?: number;
|
|
169
|
-
/**
|
|
170
|
-
* Style exaggeration (0-1)
|
|
171
|
-
*/
|
|
172
|
-
style?: number;
|
|
173
|
-
/**
|
|
174
|
-
* Enable speaker boost
|
|
175
|
-
*/
|
|
176
|
-
use_speaker_boost?: boolean;
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
95
|
export declare namespace Speak {
|
|
180
|
-
export { type SpeakCreateParams as SpeakCreateParams
|
|
96
|
+
export { type SpeakCreateParams as SpeakCreateParams };
|
|
181
97
|
}
|
|
182
98
|
//# sourceMappingURL=speak.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"speak.d.mts","sourceRoot":"","sources":["../../../src/resources/voice/v1/speak.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAEzB,qBAAa,KAAM,SAAQ,WAAW;IACpC;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,IAAI,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"speak.d.mts","sourceRoot":"","sources":["../../../src/resources/voice/v1/speak.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAEzB,qBAAa,KAAM,SAAQ,WAAW;IACpC;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,IAAI,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,QAAQ,CAAC;CAQhF;AAED,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,wBAAwB,CAAC,EAAE,OAAO,CAAC;IAEnC;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,QAAQ,CAAC,EAAE,wBAAwB,GAAG,iBAAiB,GAAG,uBAAuB,CAAC;IAElF;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,0BAA0B,CAAC,EAAE,MAAM,CAAC;IAEpC;;OAEG;IACH,aAAa,CAAC,EAAE,eAAe,GAAG,eAAe,GAAG,WAAW,GAAG,WAAW,GAAG,WAAW,GAAG,WAAW,CAAC;IAE1G;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,cAAc,CAAC,EAAE,iBAAiB,CAAC,aAAa,CAAC;CAClD;AAED,yBAAiB,iBAAiB,CAAC;IACjC;;OAEG;IACH,UAAiB,aAAa;QAC5B;;WAEG;QACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;QAE1B;;WAEG;QACH,SAAS,CAAC,EAAE,MAAM,CAAC;QAEnB;;WAEG;QACH,KAAK,CAAC,EAAE,MAAM,CAAC;QAEf;;WAEG;QACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;KAC7B;CACF;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EAAE,KAAK,iBAAiB,IAAI,iBAAiB,EAAE,CAAC;CACxD"}
|
|
@@ -18,23 +18,6 @@ export declare class Speak extends APIResource {
|
|
|
18
18
|
* ```
|
|
19
19
|
*/
|
|
20
20
|
create(body: SpeakCreateParams, options?: RequestOptions): APIPromise<Response>;
|
|
21
|
-
/**
|
|
22
|
-
* Convert text to speech using ElevenLabs AI voices with streaming for real-time
|
|
23
|
-
* playback. Returns audio data as an MP3 stream for immediate playback with
|
|
24
|
-
* minimal latency. Perfect for legal document narration, client presentations, or
|
|
25
|
-
* accessibility features.
|
|
26
|
-
*
|
|
27
|
-
* @example
|
|
28
|
-
* ```ts
|
|
29
|
-
* const response = await client.voice.v1.speak.stream({
|
|
30
|
-
* text: 'text',
|
|
31
|
-
* });
|
|
32
|
-
*
|
|
33
|
-
* const content = await response.blob();
|
|
34
|
-
* console.log(content);
|
|
35
|
-
* ```
|
|
36
|
-
*/
|
|
37
|
-
stream(body: SpeakStreamParams, options?: RequestOptions): APIPromise<Response>;
|
|
38
21
|
}
|
|
39
22
|
export interface SpeakCreateParams {
|
|
40
23
|
/**
|
|
@@ -109,74 +92,7 @@ export declare namespace SpeakCreateParams {
|
|
|
109
92
|
use_speaker_boost?: boolean;
|
|
110
93
|
}
|
|
111
94
|
}
|
|
112
|
-
export interface SpeakStreamParams {
|
|
113
|
-
/**
|
|
114
|
-
* Text to convert to speech
|
|
115
|
-
*/
|
|
116
|
-
text: string;
|
|
117
|
-
/**
|
|
118
|
-
* Apply text normalization
|
|
119
|
-
*/
|
|
120
|
-
apply_text_normalization?: boolean;
|
|
121
|
-
/**
|
|
122
|
-
* Enable request logging
|
|
123
|
-
*/
|
|
124
|
-
enable_logging?: boolean;
|
|
125
|
-
/**
|
|
126
|
-
* Language code (e.g., 'en', 'es', 'fr')
|
|
127
|
-
*/
|
|
128
|
-
language_code?: string;
|
|
129
|
-
/**
|
|
130
|
-
* TTS model to use
|
|
131
|
-
*/
|
|
132
|
-
model_id?: 'eleven_monolingual_v1' | 'eleven_multilingual_v1' | 'eleven_multilingual_v2' | 'eleven_turbo_v2';
|
|
133
|
-
/**
|
|
134
|
-
* Next text for context
|
|
135
|
-
*/
|
|
136
|
-
next_text?: string;
|
|
137
|
-
/**
|
|
138
|
-
* Optimize for streaming latency (0-4)
|
|
139
|
-
*/
|
|
140
|
-
optimize_streaming_latency?: number;
|
|
141
|
-
/**
|
|
142
|
-
* Audio output format
|
|
143
|
-
*/
|
|
144
|
-
output_format?: 'mp3_44100_128' | 'mp3_22050_32' | 'pcm_16000' | 'pcm_22050' | 'pcm_24000' | 'pcm_44100';
|
|
145
|
-
/**
|
|
146
|
-
* Previous text for context
|
|
147
|
-
*/
|
|
148
|
-
previous_text?: string;
|
|
149
|
-
/**
|
|
150
|
-
* Random seed for reproducible generation
|
|
151
|
-
*/
|
|
152
|
-
seed?: number;
|
|
153
|
-
/**
|
|
154
|
-
* ElevenLabs voice ID (defaults to Rachel for professional clarity)
|
|
155
|
-
*/
|
|
156
|
-
voice_id?: string;
|
|
157
|
-
voice_settings?: SpeakStreamParams.VoiceSettings;
|
|
158
|
-
}
|
|
159
|
-
export declare namespace SpeakStreamParams {
|
|
160
|
-
interface VoiceSettings {
|
|
161
|
-
/**
|
|
162
|
-
* Similarity boost (0-1)
|
|
163
|
-
*/
|
|
164
|
-
similarity_boost?: number;
|
|
165
|
-
/**
|
|
166
|
-
* Voice stability (0-1)
|
|
167
|
-
*/
|
|
168
|
-
stability?: number;
|
|
169
|
-
/**
|
|
170
|
-
* Style exaggeration (0-1)
|
|
171
|
-
*/
|
|
172
|
-
style?: number;
|
|
173
|
-
/**
|
|
174
|
-
* Enable speaker boost
|
|
175
|
-
*/
|
|
176
|
-
use_speaker_boost?: boolean;
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
95
|
export declare namespace Speak {
|
|
180
|
-
export { type SpeakCreateParams as SpeakCreateParams
|
|
96
|
+
export { type SpeakCreateParams as SpeakCreateParams };
|
|
181
97
|
}
|
|
182
98
|
//# sourceMappingURL=speak.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"speak.d.ts","sourceRoot":"","sources":["../../../src/resources/voice/v1/speak.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAEzB,qBAAa,KAAM,SAAQ,WAAW;IACpC;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,IAAI,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"speak.d.ts","sourceRoot":"","sources":["../../../src/resources/voice/v1/speak.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAEzB,qBAAa,KAAM,SAAQ,WAAW;IACpC;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,IAAI,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,QAAQ,CAAC;CAQhF;AAED,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,wBAAwB,CAAC,EAAE,OAAO,CAAC;IAEnC;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,QAAQ,CAAC,EAAE,wBAAwB,GAAG,iBAAiB,GAAG,uBAAuB,CAAC;IAElF;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,0BAA0B,CAAC,EAAE,MAAM,CAAC;IAEpC;;OAEG;IACH,aAAa,CAAC,EAAE,eAAe,GAAG,eAAe,GAAG,WAAW,GAAG,WAAW,GAAG,WAAW,GAAG,WAAW,CAAC;IAE1G;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,cAAc,CAAC,EAAE,iBAAiB,CAAC,aAAa,CAAC;CAClD;AAED,yBAAiB,iBAAiB,CAAC;IACjC;;OAEG;IACH,UAAiB,aAAa;QAC5B;;WAEG;QACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;QAE1B;;WAEG;QACH,SAAS,CAAC,EAAE,MAAM,CAAC;QAEnB;;WAEG;QACH,KAAK,CAAC,EAAE,MAAM,CAAC;QAEf;;WAEG;QACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;KAC7B;CACF;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EAAE,KAAK,iBAAiB,IAAI,iBAAiB,EAAE,CAAC;CACxD"}
|
|
@@ -28,30 +28,6 @@ class Speak extends resource_1.APIResource {
|
|
|
28
28
|
__binaryResponse: true,
|
|
29
29
|
});
|
|
30
30
|
}
|
|
31
|
-
/**
|
|
32
|
-
* Convert text to speech using ElevenLabs AI voices with streaming for real-time
|
|
33
|
-
* playback. Returns audio data as an MP3 stream for immediate playback with
|
|
34
|
-
* minimal latency. Perfect for legal document narration, client presentations, or
|
|
35
|
-
* accessibility features.
|
|
36
|
-
*
|
|
37
|
-
* @example
|
|
38
|
-
* ```ts
|
|
39
|
-
* const response = await client.voice.v1.speak.stream({
|
|
40
|
-
* text: 'text',
|
|
41
|
-
* });
|
|
42
|
-
*
|
|
43
|
-
* const content = await response.blob();
|
|
44
|
-
* console.log(content);
|
|
45
|
-
* ```
|
|
46
|
-
*/
|
|
47
|
-
stream(body, options) {
|
|
48
|
-
return this._client.post('/voice/v1/speak/stream', {
|
|
49
|
-
body,
|
|
50
|
-
...options,
|
|
51
|
-
headers: (0, headers_1.buildHeaders)([{ Accept: 'audio/mpeg' }, options?.headers]),
|
|
52
|
-
__binaryResponse: true,
|
|
53
|
-
});
|
|
54
|
-
}
|
|
55
31
|
}
|
|
56
32
|
exports.Speak = Speak;
|
|
57
33
|
//# sourceMappingURL=speak.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"speak.js","sourceRoot":"","sources":["../../../src/resources/voice/v1/speak.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAErD,0DAAyD;AAGzD,MAAa,KAAM,SAAQ,sBAAW;IACpC;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,IAAuB,EAAE,OAAwB;QACtD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE;YAC1C,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,YAAY,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;YACnE,gBAAgB,EAAE,IAAI;SACvB,CAAC,CAAC;IACL,CAAC;
|
|
1
|
+
{"version":3,"file":"speak.js","sourceRoot":"","sources":["../../../src/resources/voice/v1/speak.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAErD,0DAAyD;AAGzD,MAAa,KAAM,SAAQ,sBAAW;IACpC;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,IAAuB,EAAE,OAAwB;QACtD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE;YAC1C,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,YAAY,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;YACnE,gBAAgB,EAAE,IAAI;SACvB,CAAC,CAAC;IACL,CAAC;CACF;AAxBD,sBAwBC"}
|
|
@@ -25,29 +25,5 @@ export class Speak extends APIResource {
|
|
|
25
25
|
__binaryResponse: true,
|
|
26
26
|
});
|
|
27
27
|
}
|
|
28
|
-
/**
|
|
29
|
-
* Convert text to speech using ElevenLabs AI voices with streaming for real-time
|
|
30
|
-
* playback. Returns audio data as an MP3 stream for immediate playback with
|
|
31
|
-
* minimal latency. Perfect for legal document narration, client presentations, or
|
|
32
|
-
* accessibility features.
|
|
33
|
-
*
|
|
34
|
-
* @example
|
|
35
|
-
* ```ts
|
|
36
|
-
* const response = await client.voice.v1.speak.stream({
|
|
37
|
-
* text: 'text',
|
|
38
|
-
* });
|
|
39
|
-
*
|
|
40
|
-
* const content = await response.blob();
|
|
41
|
-
* console.log(content);
|
|
42
|
-
* ```
|
|
43
|
-
*/
|
|
44
|
-
stream(body, options) {
|
|
45
|
-
return this._client.post('/voice/v1/speak/stream', {
|
|
46
|
-
body,
|
|
47
|
-
...options,
|
|
48
|
-
headers: buildHeaders([{ Accept: 'audio/mpeg' }, options?.headers]),
|
|
49
|
-
__binaryResponse: true,
|
|
50
|
-
});
|
|
51
|
-
}
|
|
52
28
|
}
|
|
53
29
|
//# sourceMappingURL=speak.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"speak.mjs","sourceRoot":"","sources":["../../../src/resources/voice/v1/speak.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,YAAY,EAAE;AAGvB,MAAM,OAAO,KAAM,SAAQ,WAAW;IACpC;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,IAAuB,EAAE,OAAwB;QACtD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE;YAC1C,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,YAAY,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;YACnE,gBAAgB,EAAE,IAAI;SACvB,CAAC,CAAC;IACL,CAAC;
|
|
1
|
+
{"version":3,"file":"speak.mjs","sourceRoot":"","sources":["../../../src/resources/voice/v1/speak.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,YAAY,EAAE;AAGvB,MAAM,OAAO,KAAM,SAAQ,WAAW;IACpC;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,IAAuB,EAAE,OAAwB;QACtD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE;YAC1C,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,YAAY,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;YACnE,gBAAgB,EAAE,IAAI;SACvB,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { APIResource } from "../../../core/resource.mjs";
|
|
2
2
|
import * as SpeakAPI from "./speak.mjs";
|
|
3
|
-
import { Speak, SpeakCreateParams
|
|
3
|
+
import { Speak, SpeakCreateParams } from "./speak.mjs";
|
|
4
4
|
import { APIPromise } from "../../../core/api-promise.mjs";
|
|
5
5
|
import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
6
6
|
export declare class V1 extends APIResource {
|
|
@@ -13,10 +13,53 @@ export declare class V1 extends APIResource {
|
|
|
13
13
|
*
|
|
14
14
|
* @example
|
|
15
15
|
* ```ts
|
|
16
|
-
* await client.voice.v1.listVoices();
|
|
16
|
+
* const response = await client.voice.v1.listVoices();
|
|
17
17
|
* ```
|
|
18
18
|
*/
|
|
19
|
-
listVoices(query?: V1ListVoicesParams | null | undefined, options?: RequestOptions): APIPromise<
|
|
19
|
+
listVoices(query?: V1ListVoicesParams | null | undefined, options?: RequestOptions): APIPromise<V1ListVoicesResponse>;
|
|
20
|
+
}
|
|
21
|
+
export interface V1ListVoicesResponse {
|
|
22
|
+
/**
|
|
23
|
+
* Token for next page of results
|
|
24
|
+
*/
|
|
25
|
+
next_page_token?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Total number of voices (if requested)
|
|
28
|
+
*/
|
|
29
|
+
total_count?: number;
|
|
30
|
+
voices?: Array<V1ListVoicesResponse.Voice>;
|
|
31
|
+
}
|
|
32
|
+
export declare namespace V1ListVoicesResponse {
|
|
33
|
+
interface Voice {
|
|
34
|
+
/**
|
|
35
|
+
* Available subscription tiers
|
|
36
|
+
*/
|
|
37
|
+
available_for_tiers?: Array<string>;
|
|
38
|
+
/**
|
|
39
|
+
* Voice category
|
|
40
|
+
*/
|
|
41
|
+
category?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Voice description
|
|
44
|
+
*/
|
|
45
|
+
description?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Voice characteristics and metadata
|
|
48
|
+
*/
|
|
49
|
+
labels?: unknown;
|
|
50
|
+
/**
|
|
51
|
+
* Voice name
|
|
52
|
+
*/
|
|
53
|
+
name?: string;
|
|
54
|
+
/**
|
|
55
|
+
* URL to preview audio sample
|
|
56
|
+
*/
|
|
57
|
+
preview_url?: string;
|
|
58
|
+
/**
|
|
59
|
+
* Unique voice identifier
|
|
60
|
+
*/
|
|
61
|
+
voice_id?: string;
|
|
62
|
+
}
|
|
20
63
|
}
|
|
21
64
|
export interface V1ListVoicesParams {
|
|
22
65
|
/**
|
|
@@ -57,7 +100,7 @@ export interface V1ListVoicesParams {
|
|
|
57
100
|
voice_type?: 'premade' | 'cloned' | 'professional';
|
|
58
101
|
}
|
|
59
102
|
export declare namespace V1 {
|
|
60
|
-
export { type V1ListVoicesParams as V1ListVoicesParams };
|
|
61
|
-
export { Speak as Speak, type SpeakCreateParams as SpeakCreateParams
|
|
103
|
+
export { type V1ListVoicesResponse as V1ListVoicesResponse, type V1ListVoicesParams as V1ListVoicesParams };
|
|
104
|
+
export { Speak as Speak, type SpeakCreateParams as SpeakCreateParams };
|
|
62
105
|
}
|
|
63
106
|
//# sourceMappingURL=v1.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v1.d.mts","sourceRoot":"","sources":["../../../src/resources/voice/v1/v1.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,QAAQ;OACb,EAAE,KAAK,EAAE,iBAAiB,EAAE
|
|
1
|
+
{"version":3,"file":"v1.d.mts","sourceRoot":"","sources":["../../../src/resources/voice/v1/v1.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,QAAQ;OACb,EAAE,KAAK,EAAE,iBAAiB,EAAE;OAC5B,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,EAAG,SAAQ,WAAW;IACjC,KAAK,EAAE,QAAQ,CAAC,KAAK,CAAoC;IAEzD;;;;;;;;;;OAUG;IACH,UAAU,CACR,KAAK,GAAE,kBAAkB,GAAG,IAAI,GAAG,SAAc,EACjD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,oBAAoB,CAAC;CAGpC;AAED,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,MAAM,CAAC,EAAE,KAAK,CAAC,oBAAoB,CAAC,KAAK,CAAC,CAAC;CAC5C;AAED,yBAAiB,oBAAoB,CAAC;IACpC,UAAiB,KAAK;QACpB;;WAEG;QACH,mBAAmB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;QAEpC;;WAEG;QACH,QAAQ,CAAC,EAAE,MAAM,CAAC;QAElB;;WAEG;QACH,WAAW,CAAC,EAAE,MAAM,CAAC;QAErB;;WAEG;QACH,MAAM,CAAC,EAAE,OAAO,CAAC;QAEjB;;WAEG;QACH,IAAI,CAAC,EAAE,MAAM,CAAC;QAEd;;WAEG;QACH,WAAW,CAAC,EAAE,MAAM,CAAC;QAErB;;WAEG;QACH,QAAQ,CAAC,EAAE,MAAM,CAAC;KACnB;CACF;AAED,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAE9B;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,YAAY,GAAG,YAAY,CAAC;IAE5C;;OAEG;IACH,cAAc,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;IAEhC;;OAEG;IACH,UAAU,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,cAAc,CAAC;CACpD;AAID,MAAM,CAAC,OAAO,WAAW,EAAE,CAAC;IAC1B,OAAO,EAAE,KAAK,oBAAoB,IAAI,oBAAoB,EAAE,KAAK,kBAAkB,IAAI,kBAAkB,EAAE,CAAC;IAE5G,OAAO,EAAE,KAAK,IAAI,KAAK,EAAE,KAAK,iBAAiB,IAAI,iBAAiB,EAAE,CAAC;CACxE"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { APIResource } from "../../../core/resource.js";
|
|
2
2
|
import * as SpeakAPI from "./speak.js";
|
|
3
|
-
import { Speak, SpeakCreateParams
|
|
3
|
+
import { Speak, SpeakCreateParams } from "./speak.js";
|
|
4
4
|
import { APIPromise } from "../../../core/api-promise.js";
|
|
5
5
|
import { RequestOptions } from "../../../internal/request-options.js";
|
|
6
6
|
export declare class V1 extends APIResource {
|
|
@@ -13,10 +13,53 @@ export declare class V1 extends APIResource {
|
|
|
13
13
|
*
|
|
14
14
|
* @example
|
|
15
15
|
* ```ts
|
|
16
|
-
* await client.voice.v1.listVoices();
|
|
16
|
+
* const response = await client.voice.v1.listVoices();
|
|
17
17
|
* ```
|
|
18
18
|
*/
|
|
19
|
-
listVoices(query?: V1ListVoicesParams | null | undefined, options?: RequestOptions): APIPromise<
|
|
19
|
+
listVoices(query?: V1ListVoicesParams | null | undefined, options?: RequestOptions): APIPromise<V1ListVoicesResponse>;
|
|
20
|
+
}
|
|
21
|
+
export interface V1ListVoicesResponse {
|
|
22
|
+
/**
|
|
23
|
+
* Token for next page of results
|
|
24
|
+
*/
|
|
25
|
+
next_page_token?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Total number of voices (if requested)
|
|
28
|
+
*/
|
|
29
|
+
total_count?: number;
|
|
30
|
+
voices?: Array<V1ListVoicesResponse.Voice>;
|
|
31
|
+
}
|
|
32
|
+
export declare namespace V1ListVoicesResponse {
|
|
33
|
+
interface Voice {
|
|
34
|
+
/**
|
|
35
|
+
* Available subscription tiers
|
|
36
|
+
*/
|
|
37
|
+
available_for_tiers?: Array<string>;
|
|
38
|
+
/**
|
|
39
|
+
* Voice category
|
|
40
|
+
*/
|
|
41
|
+
category?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Voice description
|
|
44
|
+
*/
|
|
45
|
+
description?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Voice characteristics and metadata
|
|
48
|
+
*/
|
|
49
|
+
labels?: unknown;
|
|
50
|
+
/**
|
|
51
|
+
* Voice name
|
|
52
|
+
*/
|
|
53
|
+
name?: string;
|
|
54
|
+
/**
|
|
55
|
+
* URL to preview audio sample
|
|
56
|
+
*/
|
|
57
|
+
preview_url?: string;
|
|
58
|
+
/**
|
|
59
|
+
* Unique voice identifier
|
|
60
|
+
*/
|
|
61
|
+
voice_id?: string;
|
|
62
|
+
}
|
|
20
63
|
}
|
|
21
64
|
export interface V1ListVoicesParams {
|
|
22
65
|
/**
|
|
@@ -57,7 +100,7 @@ export interface V1ListVoicesParams {
|
|
|
57
100
|
voice_type?: 'premade' | 'cloned' | 'professional';
|
|
58
101
|
}
|
|
59
102
|
export declare namespace V1 {
|
|
60
|
-
export { type V1ListVoicesParams as V1ListVoicesParams };
|
|
61
|
-
export { Speak as Speak, type SpeakCreateParams as SpeakCreateParams
|
|
103
|
+
export { type V1ListVoicesResponse as V1ListVoicesResponse, type V1ListVoicesParams as V1ListVoicesParams };
|
|
104
|
+
export { Speak as Speak, type SpeakCreateParams as SpeakCreateParams };
|
|
62
105
|
}
|
|
63
106
|
//# sourceMappingURL=v1.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v1.d.ts","sourceRoot":"","sources":["../../../src/resources/voice/v1/v1.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,QAAQ;OACb,EAAE,KAAK,EAAE,iBAAiB,EAAE
|
|
1
|
+
{"version":3,"file":"v1.d.ts","sourceRoot":"","sources":["../../../src/resources/voice/v1/v1.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,QAAQ;OACb,EAAE,KAAK,EAAE,iBAAiB,EAAE;OAC5B,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,EAAG,SAAQ,WAAW;IACjC,KAAK,EAAE,QAAQ,CAAC,KAAK,CAAoC;IAEzD;;;;;;;;;;OAUG;IACH,UAAU,CACR,KAAK,GAAE,kBAAkB,GAAG,IAAI,GAAG,SAAc,EACjD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,oBAAoB,CAAC;CAGpC;AAED,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,MAAM,CAAC,EAAE,KAAK,CAAC,oBAAoB,CAAC,KAAK,CAAC,CAAC;CAC5C;AAED,yBAAiB,oBAAoB,CAAC;IACpC,UAAiB,KAAK;QACpB;;WAEG;QACH,mBAAmB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;QAEpC;;WAEG;QACH,QAAQ,CAAC,EAAE,MAAM,CAAC;QAElB;;WAEG;QACH,WAAW,CAAC,EAAE,MAAM,CAAC;QAErB;;WAEG;QACH,MAAM,CAAC,EAAE,OAAO,CAAC;QAEjB;;WAEG;QACH,IAAI,CAAC,EAAE,MAAM,CAAC;QAEd;;WAEG;QACH,WAAW,CAAC,EAAE,MAAM,CAAC;QAErB;;WAEG;QACH,QAAQ,CAAC,EAAE,MAAM,CAAC;KACnB;CACF;AAED,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAE9B;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,YAAY,GAAG,YAAY,CAAC;IAE5C;;OAEG;IACH,cAAc,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;IAEhC;;OAEG;IACH,UAAU,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,cAAc,CAAC;CACpD;AAID,MAAM,CAAC,OAAO,WAAW,EAAE,CAAC;IAC1B,OAAO,EAAE,KAAK,oBAAoB,IAAI,oBAAoB,EAAE,KAAK,kBAAkB,IAAI,kBAAkB,EAAE,CAAC;IAE5G,OAAO,EAAE,KAAK,IAAI,KAAK,EAAE,KAAK,iBAAiB,IAAI,iBAAiB,EAAE,CAAC;CACxE"}
|
package/resources/voice/v1/v1.js
CHANGED
|
@@ -6,7 +6,6 @@ const tslib_1 = require("../../../internal/tslib.js");
|
|
|
6
6
|
const resource_1 = require("../../../core/resource.js");
|
|
7
7
|
const SpeakAPI = tslib_1.__importStar(require("./speak.js"));
|
|
8
8
|
const speak_1 = require("./speak.js");
|
|
9
|
-
const headers_1 = require("../../../internal/headers.js");
|
|
10
9
|
class V1 extends resource_1.APIResource {
|
|
11
10
|
constructor() {
|
|
12
11
|
super(...arguments);
|
|
@@ -20,15 +19,11 @@ class V1 extends resource_1.APIResource {
|
|
|
20
19
|
*
|
|
21
20
|
* @example
|
|
22
21
|
* ```ts
|
|
23
|
-
* await client.voice.v1.listVoices();
|
|
22
|
+
* const response = await client.voice.v1.listVoices();
|
|
24
23
|
* ```
|
|
25
24
|
*/
|
|
26
25
|
listVoices(query = {}, options) {
|
|
27
|
-
return this._client.get('/voice/v1/voices', {
|
|
28
|
-
query,
|
|
29
|
-
...options,
|
|
30
|
-
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
31
|
-
});
|
|
26
|
+
return this._client.get('/voice/v1/voices', { query, ...options });
|
|
32
27
|
}
|
|
33
28
|
}
|
|
34
29
|
exports.V1 = V1;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v1.js","sourceRoot":"","sources":["../../../src/resources/voice/v1/v1.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AACrD,6DAAoC;AACpC,
|
|
1
|
+
{"version":3,"file":"v1.js","sourceRoot":"","sources":["../../../src/resources/voice/v1/v1.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AACrD,6DAAoC;AACpC,sCAAmD;AAInD,MAAa,EAAG,SAAQ,sBAAW;IAAnC;;QACE,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAmB3D,CAAC;IAjBC;;;;;;;;;;OAUG;IACH,UAAU,CACR,QAA+C,EAAE,EACjD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrE,CAAC;CACF;AApBD,gBAoBC;AAsGD,EAAE,CAAC,KAAK,GAAG,aAAK,CAAC"}
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
import { APIResource } from "../../../core/resource.mjs";
|
|
3
3
|
import * as SpeakAPI from "./speak.mjs";
|
|
4
4
|
import { Speak } from "./speak.mjs";
|
|
5
|
-
import { buildHeaders } from "../../../internal/headers.mjs";
|
|
6
5
|
export class V1 extends APIResource {
|
|
7
6
|
constructor() {
|
|
8
7
|
super(...arguments);
|
|
@@ -16,15 +15,11 @@ export class V1 extends APIResource {
|
|
|
16
15
|
*
|
|
17
16
|
* @example
|
|
18
17
|
* ```ts
|
|
19
|
-
* await client.voice.v1.listVoices();
|
|
18
|
+
* const response = await client.voice.v1.listVoices();
|
|
20
19
|
* ```
|
|
21
20
|
*/
|
|
22
21
|
listVoices(query = {}, options) {
|
|
23
|
-
return this._client.get('/voice/v1/voices', {
|
|
24
|
-
query,
|
|
25
|
-
...options,
|
|
26
|
-
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
27
|
-
});
|
|
22
|
+
return this._client.get('/voice/v1/voices', { query, ...options });
|
|
28
23
|
}
|
|
29
24
|
}
|
|
30
25
|
V1.Speak = Speak;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v1.mjs","sourceRoot":"","sources":["../../../src/resources/voice/v1/v1.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,QAAQ;OACb,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"v1.mjs","sourceRoot":"","sources":["../../../src/resources/voice/v1/v1.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,QAAQ;OACb,EAAE,KAAK,EAAqB;AAInC,MAAM,OAAO,EAAG,SAAQ,WAAW;IAAnC;;QACE,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAmB3D,CAAC;IAjBC;;;;;;;;;;OAUG;IACH,UAAU,CACR,QAA+C,EAAE,EACjD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrE,CAAC;CACF;AAsGD,EAAE,CAAC,KAAK,GAAG,KAAK,CAAC"}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.mjs";
|
|
2
2
|
import * as StreamingAPI from "./streaming.mjs";
|
|
3
|
-
import { Streaming } from "./streaming.mjs";
|
|
3
|
+
import { Streaming, StreamingGetURLResponse } from "./streaming.mjs";
|
|
4
4
|
import * as TranscriptionAPI from "./transcription.mjs";
|
|
5
|
-
import { Transcription, TranscriptionCreateParams, TranscriptionRetrieveResponse } from "./transcription.mjs";
|
|
5
|
+
import { Transcription, TranscriptionCreateParams, TranscriptionCreateResponse, TranscriptionRetrieveResponse } from "./transcription.mjs";
|
|
6
6
|
import * as V1API from "./v1/v1.mjs";
|
|
7
|
-
import { V1, V1ListVoicesParams } from "./v1/v1.mjs";
|
|
7
|
+
import { V1, V1ListVoicesParams, V1ListVoicesResponse } from "./v1/v1.mjs";
|
|
8
8
|
export declare class Voice extends APIResource {
|
|
9
9
|
streaming: StreamingAPI.Streaming;
|
|
10
10
|
transcription: TranscriptionAPI.Transcription;
|
|
11
11
|
v1: V1API.V1;
|
|
12
12
|
}
|
|
13
13
|
export declare namespace Voice {
|
|
14
|
-
export { Streaming as Streaming };
|
|
15
|
-
export { Transcription as Transcription, type TranscriptionRetrieveResponse as TranscriptionRetrieveResponse, type TranscriptionCreateParams as TranscriptionCreateParams, };
|
|
16
|
-
export { V1 as V1, type V1ListVoicesParams as V1ListVoicesParams };
|
|
14
|
+
export { Streaming as Streaming, type StreamingGetURLResponse as StreamingGetURLResponse };
|
|
15
|
+
export { Transcription as Transcription, type TranscriptionCreateResponse as TranscriptionCreateResponse, type TranscriptionRetrieveResponse as TranscriptionRetrieveResponse, type TranscriptionCreateParams as TranscriptionCreateParams, };
|
|
16
|
+
export { V1 as V1, type V1ListVoicesResponse as V1ListVoicesResponse, type V1ListVoicesParams as V1ListVoicesParams, };
|
|
17
17
|
}
|
|
18
18
|
//# sourceMappingURL=voice.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"voice.d.mts","sourceRoot":"","sources":["../../src/resources/voice/voice.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,YAAY;OACjB,EAAE,SAAS,EAAE;
|
|
1
|
+
{"version":3,"file":"voice.d.mts","sourceRoot":"","sources":["../../src/resources/voice/voice.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,YAAY;OACjB,EAAE,SAAS,EAAE,uBAAuB,EAAE;OACtC,KAAK,gBAAgB;OACrB,EACL,aAAa,EACb,yBAAyB,EACzB,2BAA2B,EAC3B,6BAA6B,EAC9B;OACM,KAAK,KAAK;OACV,EAAE,EAAE,EAAE,kBAAkB,EAAE,oBAAoB,EAAE;AAEvD,qBAAa,KAAM,SAAQ,WAAW;IACpC,SAAS,EAAE,YAAY,CAAC,SAAS,CAA4C;IAC7E,aAAa,EAAE,gBAAgB,CAAC,aAAa,CAAoD;IACjG,EAAE,EAAE,KAAK,CAAC,EAAE,CAA8B;CAC3C;AAMD,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EAAE,SAAS,IAAI,SAAS,EAAE,KAAK,uBAAuB,IAAI,uBAAuB,EAAE,CAAC;IAE3F,OAAO,EACL,aAAa,IAAI,aAAa,EAC9B,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;IAEF,OAAO,EACL,EAAE,IAAI,EAAE,EACR,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;CACH"}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.js";
|
|
2
2
|
import * as StreamingAPI from "./streaming.js";
|
|
3
|
-
import { Streaming } from "./streaming.js";
|
|
3
|
+
import { Streaming, StreamingGetURLResponse } from "./streaming.js";
|
|
4
4
|
import * as TranscriptionAPI from "./transcription.js";
|
|
5
|
-
import { Transcription, TranscriptionCreateParams, TranscriptionRetrieveResponse } from "./transcription.js";
|
|
5
|
+
import { Transcription, TranscriptionCreateParams, TranscriptionCreateResponse, TranscriptionRetrieveResponse } from "./transcription.js";
|
|
6
6
|
import * as V1API from "./v1/v1.js";
|
|
7
|
-
import { V1, V1ListVoicesParams } from "./v1/v1.js";
|
|
7
|
+
import { V1, V1ListVoicesParams, V1ListVoicesResponse } from "./v1/v1.js";
|
|
8
8
|
export declare class Voice extends APIResource {
|
|
9
9
|
streaming: StreamingAPI.Streaming;
|
|
10
10
|
transcription: TranscriptionAPI.Transcription;
|
|
11
11
|
v1: V1API.V1;
|
|
12
12
|
}
|
|
13
13
|
export declare namespace Voice {
|
|
14
|
-
export { Streaming as Streaming };
|
|
15
|
-
export { Transcription as Transcription, type TranscriptionRetrieveResponse as TranscriptionRetrieveResponse, type TranscriptionCreateParams as TranscriptionCreateParams, };
|
|
16
|
-
export { V1 as V1, type V1ListVoicesParams as V1ListVoicesParams };
|
|
14
|
+
export { Streaming as Streaming, type StreamingGetURLResponse as StreamingGetURLResponse };
|
|
15
|
+
export { Transcription as Transcription, type TranscriptionCreateResponse as TranscriptionCreateResponse, type TranscriptionRetrieveResponse as TranscriptionRetrieveResponse, type TranscriptionCreateParams as TranscriptionCreateParams, };
|
|
16
|
+
export { V1 as V1, type V1ListVoicesResponse as V1ListVoicesResponse, type V1ListVoicesParams as V1ListVoicesParams, };
|
|
17
17
|
}
|
|
18
18
|
//# sourceMappingURL=voice.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"voice.d.ts","sourceRoot":"","sources":["../../src/resources/voice/voice.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,YAAY;OACjB,EAAE,SAAS,EAAE;
|
|
1
|
+
{"version":3,"file":"voice.d.ts","sourceRoot":"","sources":["../../src/resources/voice/voice.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,YAAY;OACjB,EAAE,SAAS,EAAE,uBAAuB,EAAE;OACtC,KAAK,gBAAgB;OACrB,EACL,aAAa,EACb,yBAAyB,EACzB,2BAA2B,EAC3B,6BAA6B,EAC9B;OACM,KAAK,KAAK;OACV,EAAE,EAAE,EAAE,kBAAkB,EAAE,oBAAoB,EAAE;AAEvD,qBAAa,KAAM,SAAQ,WAAW;IACpC,SAAS,EAAE,YAAY,CAAC,SAAS,CAA4C;IAC7E,aAAa,EAAE,gBAAgB,CAAC,aAAa,CAAoD;IACjG,EAAE,EAAE,KAAK,CAAC,EAAE,CAA8B;CAC3C;AAMD,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EAAE,SAAS,IAAI,SAAS,EAAE,KAAK,uBAAuB,IAAI,uBAAuB,EAAE,CAAC;IAE3F,OAAO,EACL,aAAa,IAAI,aAAa,EAC9B,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;IAEF,OAAO,EACL,EAAE,IAAI,EAAE,EACR,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;CACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"voice.js","sourceRoot":"","sources":["../../src/resources/voice/voice.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,qEAA4C;AAC5C,
|
|
1
|
+
{"version":3,"file":"voice.js","sourceRoot":"","sources":["../../src/resources/voice/voice.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,qEAA4C;AAC5C,8CAAiE;AACjE,6EAAoD;AACpD,sDAKyB;AACzB,0DAAiC;AACjC,mCAAuE;AAEvE,MAAa,KAAM,SAAQ,sBAAW;IAAtC;;QACE,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC7E,kBAAa,GAAmC,IAAI,gBAAgB,CAAC,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACjG,OAAE,GAAa,IAAI,KAAK,CAAC,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC5C,CAAC;CAAA;AAJD,sBAIC;AAED,KAAK,CAAC,SAAS,GAAG,qBAAS,CAAC;AAC5B,KAAK,CAAC,aAAa,GAAG,6BAAa,CAAC;AACpC,KAAK,CAAC,EAAE,GAAG,OAAE,CAAC"}
|
|
@@ -3,7 +3,7 @@ import { APIResource } from "../../core/resource.mjs";
|
|
|
3
3
|
import * as StreamingAPI from "./streaming.mjs";
|
|
4
4
|
import { Streaming } from "./streaming.mjs";
|
|
5
5
|
import * as TranscriptionAPI from "./transcription.mjs";
|
|
6
|
-
import { Transcription } from "./transcription.mjs";
|
|
6
|
+
import { Transcription, } from "./transcription.mjs";
|
|
7
7
|
import * as V1API from "./v1/v1.mjs";
|
|
8
8
|
import { V1 } from "./v1/v1.mjs";
|
|
9
9
|
export class Voice extends APIResource {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"voice.mjs","sourceRoot":"","sources":["../../src/resources/voice/voice.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,YAAY;OACjB,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"voice.mjs","sourceRoot":"","sources":["../../src/resources/voice/voice.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,YAAY;OACjB,EAAE,SAAS,EAA2B;OACtC,KAAK,gBAAgB;OACrB,EACL,aAAa,GAId;OACM,KAAK,KAAK;OACV,EAAE,EAAE,EAA4C;AAEvD,MAAM,OAAO,KAAM,SAAQ,WAAW;IAAtC;;QACE,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC7E,kBAAa,GAAmC,IAAI,gBAAgB,CAAC,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACjG,OAAE,GAAa,IAAI,KAAK,CAAC,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC5C,CAAC;CAAA;AAED,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC;AAC5B,KAAK,CAAC,aAAa,GAAG,aAAa,CAAC;AACpC,KAAK,CAAC,EAAE,GAAG,EAAE,CAAC"}
|