diff --git a/.fern/metadata.json b/.fern/metadata.json index ebefebba..327c3e99 100644 --- a/.fern/metadata.json +++ b/.fern/metadata.json @@ -1,7 +1,7 @@ { - "cliVersion": "3.64.2", + "cliVersion": "4.31.0", "generatorName": "fernapi/fern-python-sdk", - "generatorVersion": "4.42.0", + "generatorVersion": "5.0.0", "generatorConfig": { "timeout_in_seconds": 240, "default_bytes_stream_chunk_size": 1024, @@ -54,5 +54,7 @@ ] } ] - } + }, + "originGitCommit": "da2c7f0c92e710e64eef5e250a0ba2c52fd0646a", + "sdkVersion": "2.39.1" } \ No newline at end of file diff --git a/poetry.lock b/poetry.lock index e302cbaa..1496934b 100644 --- a/poetry.lock +++ b/poetry.lock @@ -11,30 +11,24 @@ files = [ {file = "annotated_types-0.7.0.tar.gz", hash = "sha256:aff07c09a53a08bc8cfccb9c85b05f1aa9a2a6f23728d790723543408344ce89"}, ] -[package.dependencies] -typing-extensions = {version = ">=4.0.0", markers = "python_version < \"3.9\""} - [[package]] name = "anyio" -version = "4.5.2" -description = "High level compatibility layer for multiple asynchronous event loop implementations" +version = "4.12.1" +description = "High-level concurrency and networking framework on top of asyncio or Trio" optional = false -python-versions = ">=3.8" +python-versions = ">=3.9" files = [ - {file = "anyio-4.5.2-py3-none-any.whl", hash = "sha256:c011ee36bc1e8ba40e5a81cb9df91925c218fe9b778554e0b56a21e1b5d4716f"}, - {file = "anyio-4.5.2.tar.gz", hash = "sha256:23009af4ed04ce05991845451e11ef02fc7c5ed29179ac9a420e5ad0ac7ddc5b"}, + {file = "anyio-4.12.1-py3-none-any.whl", hash = "sha256:d405828884fc140aa80a3c667b8beed277f1dfedec42ba031bd6ac3db606ab6c"}, + {file = "anyio-4.12.1.tar.gz", hash = "sha256:41cfcc3a4c85d3f05c932da7c26d0201ac36f72abd4435ba90d0464a3ffed703"}, ] [package.dependencies] exceptiongroup = {version = ">=1.0.2", markers = "python_version < \"3.11\""} idna = ">=2.8" -sniffio = ">=1.1" -typing-extensions = {version = ">=4.1", markers = "python_version < \"3.11\""} +typing_extensions = {version = ">=4.5", markers = "python_version < \"3.13\""} [package.extras] -doc = ["Sphinx (>=7.4,<8.0)", "packaging", "sphinx-autodoc-typehints (>=1.2.0)", "sphinx-rtd-theme"] -test = ["anyio[trio]", "coverage[toml] (>=7)", "exceptiongroup (>=1.2.0)", "hypothesis (>=4.0)", "psutil (>=5.9)", "pytest (>=7.0)", "pytest-mock (>=3.6.1)", "trustme", "truststore (>=0.9.1)", "uvloop (>=0.21.0b1)"] -trio = ["trio (>=0.26.1)"] +trio = ["trio (>=0.31.0)", "trio (>=0.32.0)"] [[package]] name = "certifi" @@ -49,124 +43,140 @@ files = [ [[package]] name = "charset-normalizer" -version = "3.4.5" +version = "3.4.6" description = "The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet." optional = false python-versions = ">=3.7" files = [ - {file = "charset_normalizer-3.4.5-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:4167a621a9a1a986c73777dbc15d4b5eac8ac5c10393374109a343d4013ec765"}, - {file = "charset_normalizer-3.4.5-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:3f64c6bf8f32f9133b668c7f7a7cbdbc453412bc95ecdbd157f3b1e377a92990"}, - {file = "charset_normalizer-3.4.5-cp310-cp310-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:568e3c34b58422075a1b49575a6abc616d9751b4d61b23f712e12ebb78fe47b2"}, - {file = "charset_normalizer-3.4.5-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:036c079aa08a6a592b82487f97c60b439428320ed1b2ea0b3912e99d30c77765"}, - {file = "charset_normalizer-3.4.5-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:340810d34ef83af92148e96e3e44cb2d3f910d2bf95e5618a5c467d9f102231d"}, - {file = "charset_normalizer-3.4.5-cp310-cp310-manylinux_2_31_armv7l.whl", hash = "sha256:cd2d0f0ec9aa977a27731a3209ebbcacebebaf41f902bd453a928bfd281cf7f8"}, - {file = "charset_normalizer-3.4.5-cp310-cp310-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:0b362bcd27819f9c07cbf23db4e0e8cd4b44c5ecd900c2ff907b2b92274a7412"}, - {file = "charset_normalizer-3.4.5-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:77be992288f720306ab4108fe5c74797de327f3248368dfc7e1a916d6ed9e5a2"}, - {file = "charset_normalizer-3.4.5-cp310-cp310-musllinux_1_2_armv7l.whl", hash = "sha256:8b78d8a609a4b82c273257ee9d631ded7fac0d875bdcdccc109f3ee8328cfcb1"}, - {file = "charset_normalizer-3.4.5-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:ba20bdf69bd127f66d0174d6f2a93e69045e0b4036dc1ca78e091bcc765830c4"}, - {file = "charset_normalizer-3.4.5-cp310-cp310-musllinux_1_2_riscv64.whl", hash = "sha256:76a9d0de4d0eab387822e7b35d8f89367dd237c72e82ab42b9f7bf5e15ada00f"}, - {file = "charset_normalizer-3.4.5-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:8fff79bf5978c693c9b1a4d71e4a94fddfb5fe744eb062a318e15f4a2f63a550"}, - {file = "charset_normalizer-3.4.5-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:c7e84e0c0005e3bdc1a9211cd4e62c78ba80bc37b2365ef4410cd2007a9047f2"}, - {file = "charset_normalizer-3.4.5-cp310-cp310-win32.whl", hash = "sha256:58ad8270cfa5d4bef1bc85bd387217e14ff154d6630e976c6f56f9a040757475"}, - {file = "charset_normalizer-3.4.5-cp310-cp310-win_amd64.whl", hash = "sha256:02a9d1b01c1e12c27883b0c9349e0bcd9ae92e727ff1a277207e1a262b1cbf05"}, - {file = "charset_normalizer-3.4.5-cp310-cp310-win_arm64.whl", hash = "sha256:039215608ac7b358c4da0191d10fc76868567fbf276d54c14721bdedeb6de064"}, - {file = "charset_normalizer-3.4.5-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:610f72c0ee565dfb8ae1241b666119582fdbfe7c0975c175be719f940e110694"}, - {file = "charset_normalizer-3.4.5-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:60d68e820af339df4ae8358c7a2e7596badeb61e544438e489035f9fbf3246a5"}, - {file = "charset_normalizer-3.4.5-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:10b473fc8dca1c3ad8559985794815f06ca3fc71942c969129070f2c3cdf7281"}, - {file = "charset_normalizer-3.4.5-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:d4eb8ac7469b2a5d64b5b8c04f84d8bf3ad340f4514b98523805cbf46e3b3923"}, - {file = "charset_normalizer-3.4.5-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:5bcb3227c3d9aaf73eaaab1db7ccd80a8995c509ee9941e2aae060ca6e4e5d81"}, - {file = "charset_normalizer-3.4.5-cp311-cp311-manylinux_2_31_armv7l.whl", hash = "sha256:75ee9c1cce2911581a70a3c0919d8bccf5b1cbc9b0e5171400ec736b4b569497"}, - {file = "charset_normalizer-3.4.5-cp311-cp311-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:1d1401945cb77787dbd3af2446ff2d75912327c4c3a1526ab7955ecf8600687c"}, - {file = "charset_normalizer-3.4.5-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:0a45e504f5e1be0bd385935a8e1507c442349ca36f511a47057a71c9d1d6ea9e"}, - {file = "charset_normalizer-3.4.5-cp311-cp311-musllinux_1_2_armv7l.whl", hash = "sha256:e09f671a54ce70b79a1fc1dc6da3072b7ef7251fadb894ed92d9aa8218465a5f"}, - {file = "charset_normalizer-3.4.5-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:d01de5e768328646e6a3fa9e562706f8f6641708c115c62588aef2b941a4f88e"}, - {file = "charset_normalizer-3.4.5-cp311-cp311-musllinux_1_2_riscv64.whl", hash = "sha256:131716d6786ad5e3dc542f5cc6f397ba3339dc0fb87f87ac30e550e8987756af"}, - {file = "charset_normalizer-3.4.5-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:1a374cc0b88aa710e8865dc1bd6edb3743c59f27830f0293ab101e4cf3ce9f85"}, - {file = "charset_normalizer-3.4.5-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:d31f0d1671e1534e395f9eb84a68e0fb670e1edb1fe819a9d7f564ae3bc4e53f"}, - {file = "charset_normalizer-3.4.5-cp311-cp311-win32.whl", hash = "sha256:cace89841c0599d736d3d74a27bc5821288bb47c5441923277afc6059d7fbcb4"}, - {file = "charset_normalizer-3.4.5-cp311-cp311-win_amd64.whl", hash = "sha256:f8102ae93c0bc863b1d41ea0f4499c20a83229f52ed870850892df555187154a"}, - {file = "charset_normalizer-3.4.5-cp311-cp311-win_arm64.whl", hash = "sha256:ed98364e1c262cf5f9363c3eca8c2df37024f52a8fa1180a3610014f26eac51c"}, - {file = "charset_normalizer-3.4.5-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:ed97c282ee4f994ef814042423a529df9497e3c666dca19be1d4cd1129dc7ade"}, - {file = "charset_normalizer-3.4.5-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:0294916d6ccf2d069727d65973c3a1ca477d68708db25fd758dd28b0827cff54"}, - {file = "charset_normalizer-3.4.5-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:dc57a0baa3eeedd99fafaef7511b5a6ef4581494e8168ee086031744e2679467"}, - {file = "charset_normalizer-3.4.5-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:ed1a9a204f317ef879b32f9af507d47e49cd5e7f8e8d5d96358c98373314fc60"}, - {file = "charset_normalizer-3.4.5-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:7ad83b8f9379176c841f8865884f3514d905bcd2a9a3b210eaa446e7d2223e4d"}, - {file = "charset_normalizer-3.4.5-cp312-cp312-manylinux_2_31_armv7l.whl", hash = "sha256:a118e2e0b5ae6b0120d5efa5f866e58f2bb826067a646431da4d6a2bdae7950e"}, - {file = "charset_normalizer-3.4.5-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:754f96058e61a5e22e91483f823e07df16416ce76afa4ebf306f8e1d1296d43f"}, - {file = "charset_normalizer-3.4.5-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:0c300cefd9b0970381a46394902cd18eaf2aa00163f999590ace991989dcd0fc"}, - {file = "charset_normalizer-3.4.5-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:c108f8619e504140569ee7de3f97d234f0fbae338a7f9f360455071ef9855a95"}, - {file = "charset_normalizer-3.4.5-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:d1028de43596a315e2720a9849ee79007ab742c06ad8b45a50db8cdb7ed4a82a"}, - {file = "charset_normalizer-3.4.5-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:19092dde50335accf365cce21998a1c6dd8eafd42c7b226eb54b2747cdce2fac"}, - {file = "charset_normalizer-3.4.5-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:4354e401eb6dab9aed3c7b4030514328a6c748d05e1c3e19175008ca7de84fb1"}, - {file = "charset_normalizer-3.4.5-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:a68766a3c58fde7f9aaa22b3786276f62ab2f594efb02d0a1421b6282e852e98"}, - {file = "charset_normalizer-3.4.5-cp312-cp312-win32.whl", hash = "sha256:1827734a5b308b65ac54e86a618de66f935a4f63a8a462ff1e19a6788d6c2262"}, - {file = "charset_normalizer-3.4.5-cp312-cp312-win_amd64.whl", hash = "sha256:728c6a963dfab66ef865f49286e45239384249672cd598576765acc2a640a636"}, - {file = "charset_normalizer-3.4.5-cp312-cp312-win_arm64.whl", hash = "sha256:75dfd1afe0b1647449e852f4fb428195a7ed0588947218f7ba929f6538487f02"}, - {file = "charset_normalizer-3.4.5-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:ac59c15e3f1465f722607800c68713f9fbc2f672b9eb649fe831da4019ae9b23"}, - {file = "charset_normalizer-3.4.5-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:165c7b21d19365464e8f70e5ce5e12524c58b48c78c1f5a57524603c1ab003f8"}, - {file = "charset_normalizer-3.4.5-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:28269983f25a4da0425743d0d257a2d6921ea7d9b83599d4039486ec5b9f911d"}, - {file = "charset_normalizer-3.4.5-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:d27ce22ec453564770d29d03a9506d449efbb9fa13c00842262b2f6801c48cce"}, - {file = "charset_normalizer-3.4.5-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0625665e4ebdddb553ab185de5db7054393af8879fb0c87bd5690d14379d6819"}, - {file = "charset_normalizer-3.4.5-cp313-cp313-manylinux_2_31_armv7l.whl", hash = "sha256:c23eb3263356d94858655b3e63f85ac5d50970c6e8febcdde7830209139cc37d"}, - {file = "charset_normalizer-3.4.5-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:e6302ca4ae283deb0af68d2fbf467474b8b6aedcd3dab4db187e07f94c109763"}, - {file = "charset_normalizer-3.4.5-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:e51ae7d81c825761d941962450f50d041db028b7278e7b08930b4541b3e45cb9"}, - {file = "charset_normalizer-3.4.5-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:597d10dec876923e5c59e48dbd366e852eacb2b806029491d307daea6b917d7c"}, - {file = "charset_normalizer-3.4.5-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:5cffde4032a197bd3b42fd0b9509ec60fb70918d6970e4cc773f20fc9180ca67"}, - {file = "charset_normalizer-3.4.5-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:2da4eedcb6338e2321e831a0165759c0c620e37f8cd044a263ff67493be8ffb3"}, - {file = "charset_normalizer-3.4.5-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:65a126fb4b070d05340a84fc709dd9e7c75d9b063b610ece8a60197a291d0adf"}, - {file = "charset_normalizer-3.4.5-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:c7a80a9242963416bd81f99349d5f3fce1843c303bd404f204918b6d75a75fd6"}, - {file = "charset_normalizer-3.4.5-cp313-cp313-win32.whl", hash = "sha256:f1d725b754e967e648046f00c4facc42d414840f5ccc670c5670f59f83693e4f"}, - {file = "charset_normalizer-3.4.5-cp313-cp313-win_amd64.whl", hash = "sha256:e37bd100d2c5d3ba35db9c7c5ba5a9228cbcffe5c4778dc824b164e5257813d7"}, - {file = "charset_normalizer-3.4.5-cp313-cp313-win_arm64.whl", hash = "sha256:93b3b2cc5cf1b8743660ce77a4f45f3f6d1172068207c1defc779a36eea6bb36"}, - {file = "charset_normalizer-3.4.5-cp314-cp314-macosx_10_15_universal2.whl", hash = "sha256:8197abe5ca1ffb7d91e78360f915eef5addff270f8a71c1fc5be24a56f3e4873"}, - {file = "charset_normalizer-3.4.5-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:a2aecdb364b8a1802afdc7f9327d55dad5366bc97d8502d0f5854e50712dbc5f"}, - {file = "charset_normalizer-3.4.5-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:a66aa5022bf81ab4b1bebfb009db4fd68e0c6d4307a1ce5ef6a26e5878dfc9e4"}, - {file = "charset_normalizer-3.4.5-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:d77f97e515688bd615c1d1f795d540f32542d514242067adcb8ef532504cb9ee"}, - {file = "charset_normalizer-3.4.5-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:01a1ed54b953303ca7e310fafe0fe347aab348bd81834a0bcd602eb538f89d66"}, - {file = "charset_normalizer-3.4.5-cp314-cp314-manylinux_2_31_armv7l.whl", hash = "sha256:b2d37d78297b39a9eb9eb92c0f6df98c706467282055419df141389b23f93362"}, - {file = "charset_normalizer-3.4.5-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:e71bbb595973622b817c042bd943c3f3667e9c9983ce3d205f973f486fec98a7"}, - {file = "charset_normalizer-3.4.5-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:4cd966c2559f501c6fd69294d082c2934c8dd4719deb32c22961a5ac6db0df1d"}, - {file = "charset_normalizer-3.4.5-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:d5e52d127045d6ae01a1e821acfad2f3a1866c54d0e837828538fabe8d9d1bd6"}, - {file = "charset_normalizer-3.4.5-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:30a2b1a48478c3428d047ed9690d57c23038dac838a87ad624c85c0a78ebeb39"}, - {file = "charset_normalizer-3.4.5-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:d8ed79b8f6372ca4254955005830fd61c1ccdd8c0fac6603e2c145c61dd95db6"}, - {file = "charset_normalizer-3.4.5-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:c5af897b45fa606b12464ccbe0014bbf8c09191e0a66aab6aa9d5cf6e77e0c94"}, - {file = "charset_normalizer-3.4.5-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:1088345bcc93c58d8d8f3d783eca4a6e7a7752bbff26c3eee7e73c597c191c2e"}, - {file = "charset_normalizer-3.4.5-cp314-cp314-win32.whl", hash = "sha256:ee57b926940ba00bca7ba7041e665cc956e55ef482f851b9b65acb20d867e7a2"}, - {file = "charset_normalizer-3.4.5-cp314-cp314-win_amd64.whl", hash = "sha256:4481e6da1830c8a1cc0b746b47f603b653dadb690bcd851d039ffaefe70533aa"}, - {file = "charset_normalizer-3.4.5-cp314-cp314-win_arm64.whl", hash = "sha256:97ab7787092eb9b50fb47fa04f24c75b768a606af1bcba1957f07f128a7219e4"}, - {file = "charset_normalizer-3.4.5-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:e22d1059b951e7ae7c20ef6b06afd10fb95e3c41bf3c4fbc874dba113321c193"}, - {file = "charset_normalizer-3.4.5-cp38-cp38-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:afca7f78067dd27c2b848f1b234623d26b87529296c6c5652168cc1954f2f3b2"}, - {file = "charset_normalizer-3.4.5-cp38-cp38-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:ec56a2266f32bc06ed3c3e2a8f58417ce02f7e0356edc89786e52db13c593c98"}, - {file = "charset_normalizer-3.4.5-cp38-cp38-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:2b970382e4a36bed897c19f310f31d7d13489c11b4f468ddfba42d41cddfb918"}, - {file = "charset_normalizer-3.4.5-cp38-cp38-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:573ef5814c4b7c0d59a7710aa920eaaaef383bd71626aa420fba27b5cab92e8d"}, - {file = "charset_normalizer-3.4.5-cp38-cp38-manylinux_2_31_armv7l.whl", hash = "sha256:50bcbca6603c06a1dcc7b056ed45c37715fb5d2768feb3bcd37d2313c587a5b9"}, - {file = "charset_normalizer-3.4.5-cp38-cp38-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:1f2da5cbb9becfcd607757a169e38fb82aa5fd86fae6653dea716e7b613fe2cf"}, - {file = "charset_normalizer-3.4.5-cp38-cp38-musllinux_1_2_aarch64.whl", hash = "sha256:fc1c64934b8faf7584924143eb9db4770bbdb16659626e1a1a4d9efbcb68d947"}, - {file = "charset_normalizer-3.4.5-cp38-cp38-musllinux_1_2_armv7l.whl", hash = "sha256:ae8b03427410731469c4033934cf473426faff3e04b69d2dfb64a4281a3719f8"}, - {file = "charset_normalizer-3.4.5-cp38-cp38-musllinux_1_2_ppc64le.whl", hash = "sha256:b3e71afc578b98512bfe7bdb822dd6bc57d4b0093b4b6e5487c1e96ad4ace242"}, - {file = "charset_normalizer-3.4.5-cp38-cp38-musllinux_1_2_riscv64.whl", hash = "sha256:4b8551b6e6531e156db71193771c93bda78ffc4d1e6372517fe58ad3b91e4659"}, - {file = "charset_normalizer-3.4.5-cp38-cp38-musllinux_1_2_s390x.whl", hash = "sha256:65b3c403a5b6b8034b655e7385de4f72b7b244869a22b32d4030b99a60593eca"}, - {file = "charset_normalizer-3.4.5-cp38-cp38-musllinux_1_2_x86_64.whl", hash = "sha256:8ce11cd4d62d11166f2b441e30ace226c19a3899a7cf0796f668fba49a9fb123"}, - {file = "charset_normalizer-3.4.5-cp38-cp38-win32.whl", hash = "sha256:66dee73039277eb35380d1b82cccc69cc82b13a66f9f4a18da32d573acf02b7c"}, - {file = "charset_normalizer-3.4.5-cp38-cp38-win_amd64.whl", hash = "sha256:d29dd9c016f2078b43d0c357511e87eee5b05108f3dd603423cb389b89813969"}, - {file = "charset_normalizer-3.4.5-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:259cd1ca995ad525f638e131dbcc2353a586564c038fc548a3fe450a91882139"}, - {file = "charset_normalizer-3.4.5-cp39-cp39-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:8a28afb04baa55abf26df544e3e5c6534245d3daa5178bc4a8eeb48202060d0e"}, - {file = "charset_normalizer-3.4.5-cp39-cp39-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:ff95a9283de8a457e6b12989de3f9f5193430f375d64297d323a615ea52cbdb3"}, - {file = "charset_normalizer-3.4.5-cp39-cp39-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:708c7acde173eedd4bfa4028484426ba689d2103b28588c513b9db2cd5ecde9c"}, - {file = "charset_normalizer-3.4.5-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:aa92ec1102eaff840ccd1021478af176a831f1bccb08e526ce844b7ddda85c22"}, - {file = "charset_normalizer-3.4.5-cp39-cp39-manylinux_2_31_armv7l.whl", hash = "sha256:5fea359734b140d0d6741189fea5478c6091b54ffc69d7ce119e0a05637d8c99"}, - {file = "charset_normalizer-3.4.5-cp39-cp39-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:e545b51da9f9af5c67815ca0eb40676c0f016d0b0381c86f20451e35696c5f95"}, - {file = "charset_normalizer-3.4.5-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:30987f4a8ed169983f93e1be8ffeea5214a779e27ed0b059835c7afe96550ad7"}, - {file = "charset_normalizer-3.4.5-cp39-cp39-musllinux_1_2_armv7l.whl", hash = "sha256:149ec69866c3d6c2fb6f758dbc014ecb09f30b35a5ca90b6a8a2d4e54e18fdfe"}, - {file = "charset_normalizer-3.4.5-cp39-cp39-musllinux_1_2_ppc64le.whl", hash = "sha256:530beedcec9b6e027e7a4b6ce26eed36678aa39e17da85e6e03d7bd9e8e9d7c9"}, - {file = "charset_normalizer-3.4.5-cp39-cp39-musllinux_1_2_riscv64.whl", hash = "sha256:14498a429321de554b140013142abe7608f9d8ccc04d7baf2ad60498374aefa2"}, - {file = "charset_normalizer-3.4.5-cp39-cp39-musllinux_1_2_s390x.whl", hash = "sha256:2820a98460c83663dd8ec015d9ddfd1e4879f12e06bb7d0500f044fb477d2770"}, - {file = "charset_normalizer-3.4.5-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:aa2f963b4da26daf46231d9b9e0e2c9408a751f8f0d0f44d2de56d3caf51d294"}, - {file = "charset_normalizer-3.4.5-cp39-cp39-win32.whl", hash = "sha256:82cc7c2ad42faec8b574351f8bc2a0c049043893853317bd9bb309f5aba6cb5a"}, - {file = "charset_normalizer-3.4.5-cp39-cp39-win_amd64.whl", hash = "sha256:92263f7eca2f4af326cd20de8d16728d2602f7cfea02e790dcde9d83c365d7cc"}, - {file = "charset_normalizer-3.4.5-cp39-cp39-win_arm64.whl", hash = "sha256:014837af6fabf57121b6254fa8ade10dceabc3528b27b721a64bbc7b8b1d4eb4"}, - {file = "charset_normalizer-3.4.5-py3-none-any.whl", hash = "sha256:9db5e3fcdcee89a78c04dffb3fe33c79f77bd741a624946db2591c81b2fc85b0"}, - {file = "charset_normalizer-3.4.5.tar.gz", hash = "sha256:95adae7b6c42a6c5b5b559b1a99149f090a57128155daeea91732c8d970d8644"}, + {file = "charset_normalizer-3.4.6-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:2e1d8ca8611099001949d1cdfaefc510cf0f212484fe7c565f735b68c78c3c95"}, + {file = "charset_normalizer-3.4.6-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e25369dc110d58ddf29b949377a93e0716d72a24f62bad72b2b39f155949c1fd"}, + {file = "charset_normalizer-3.4.6-cp310-cp310-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:259695e2ccc253feb2a016303543d691825e920917e31f894ca1a687982b1de4"}, + {file = "charset_normalizer-3.4.6-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:dda86aba335c902b6149a02a55b38e96287157e609200811837678214ba2b1db"}, + {file = "charset_normalizer-3.4.6-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:51fb3c322c81d20567019778cb5a4a6f2dc1c200b886bc0d636238e364848c89"}, + {file = "charset_normalizer-3.4.6-cp310-cp310-manylinux_2_31_armv7l.whl", hash = "sha256:4482481cb0572180b6fd976a4d5c72a30263e98564da68b86ec91f0fe35e8565"}, + {file = "charset_normalizer-3.4.6-cp310-cp310-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:39f5068d35621da2881271e5c3205125cc456f54e9030d3f723288c873a71bf9"}, + {file = "charset_normalizer-3.4.6-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:8bea55c4eef25b0b19a0337dc4e3f9a15b00d569c77211fa8cde38684f234fb7"}, + {file = "charset_normalizer-3.4.6-cp310-cp310-musllinux_1_2_armv7l.whl", hash = "sha256:f0cdaecd4c953bfae0b6bb64910aaaca5a424ad9c72d85cb88417bb9814f7550"}, + {file = "charset_normalizer-3.4.6-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:150b8ce8e830eb7ccb029ec9ca36022f756986aaaa7956aad6d9ec90089338c0"}, + {file = "charset_normalizer-3.4.6-cp310-cp310-musllinux_1_2_riscv64.whl", hash = "sha256:e68c14b04827dd76dcbd1aeea9e604e3e4b78322d8faf2f8132c7138efa340a8"}, + {file = "charset_normalizer-3.4.6-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:3778fd7d7cd04ae8f54651f4a7a0bd6e39a0cf20f801720a4c21d80e9b7ad6b0"}, + {file = "charset_normalizer-3.4.6-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:dad6e0f2e481fffdcf776d10ebee25e0ef89f16d691f1e5dee4b586375fdc64b"}, + {file = "charset_normalizer-3.4.6-cp310-cp310-win32.whl", hash = "sha256:74a2e659c7ecbc73562e2a15e05039f1e22c75b7c7618b4b574a3ea9118d1557"}, + {file = "charset_normalizer-3.4.6-cp310-cp310-win_amd64.whl", hash = "sha256:aa9cccf4a44b9b62d8ba8b4dd06c649ba683e4bf04eea606d2e94cfc2d6ff4d6"}, + {file = "charset_normalizer-3.4.6-cp310-cp310-win_arm64.whl", hash = "sha256:e985a16ff513596f217cee86c21371b8cd011c0f6f056d0920aa2d926c544058"}, + {file = "charset_normalizer-3.4.6-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:82060f995ab5003a2d6e0f4ad29065b7672b6593c8c63559beefe5b443242c3e"}, + {file = "charset_normalizer-3.4.6-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:60c74963d8350241a79cb8feea80e54d518f72c26db618862a8f53e5023deaf9"}, + {file = "charset_normalizer-3.4.6-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:f6e4333fb15c83f7d1482a76d45a0818897b3d33f00efd215528ff7c51b8e35d"}, + {file = "charset_normalizer-3.4.6-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:bc72863f4d9aba2e8fd9085e63548a324ba706d2ea2c83b260da08a59b9482de"}, + {file = "charset_normalizer-3.4.6-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:9cc4fc6c196d6a8b76629a70ddfcd4635a6898756e2d9cac5565cf0654605d73"}, + {file = "charset_normalizer-3.4.6-cp311-cp311-manylinux_2_31_armv7l.whl", hash = "sha256:0c173ce3a681f309f31b87125fecec7a5d1347261ea11ebbb856fa6006b23c8c"}, + {file = "charset_normalizer-3.4.6-cp311-cp311-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:c907cdc8109f6c619e6254212e794d6548373cc40e1ec75e6e3823d9135d29cc"}, + {file = "charset_normalizer-3.4.6-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:404a1e552cf5b675a87f0651f8b79f5f1e6fd100ee88dc612f89aa16abd4486f"}, + {file = "charset_normalizer-3.4.6-cp311-cp311-musllinux_1_2_armv7l.whl", hash = "sha256:e3c701e954abf6fc03a49f7c579cc80c2c6cc52525340ca3186c41d3f33482ef"}, + {file = "charset_normalizer-3.4.6-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:7a6967aaf043bceabab5412ed6bd6bd26603dae84d5cb75bf8d9a74a4959d398"}, + {file = "charset_normalizer-3.4.6-cp311-cp311-musllinux_1_2_riscv64.whl", hash = "sha256:5feb91325bbceade6afab43eb3b508c63ee53579fe896c77137ded51c6b6958e"}, + {file = "charset_normalizer-3.4.6-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:f820f24b09e3e779fe84c3c456cb4108a7aa639b0d1f02c28046e11bfcd088ed"}, + {file = "charset_normalizer-3.4.6-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:b35b200d6a71b9839a46b9b7fff66b6638bb52fc9658aa58796b0326595d3021"}, + {file = "charset_normalizer-3.4.6-cp311-cp311-win32.whl", hash = "sha256:9ca4c0b502ab399ef89248a2c84c54954f77a070f28e546a85e91da627d1301e"}, + {file = "charset_normalizer-3.4.6-cp311-cp311-win_amd64.whl", hash = "sha256:a9e68c9d88823b274cf1e72f28cb5dc89c990edf430b0bfd3e2fb0785bfeabf4"}, + {file = "charset_normalizer-3.4.6-cp311-cp311-win_arm64.whl", hash = "sha256:97d0235baafca5f2b09cf332cc275f021e694e8362c6bb9c96fc9a0eb74fc316"}, + {file = "charset_normalizer-3.4.6-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:2ef7fedc7a6ecbe99969cd09632516738a97eeb8bd7258bf8a0f23114c057dab"}, + {file = "charset_normalizer-3.4.6-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:a4ea868bc28109052790eb2b52a9ab33f3aa7adc02f96673526ff47419490e21"}, + {file = "charset_normalizer-3.4.6-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:836ab36280f21fc1a03c99cd05c6b7af70d2697e374c7af0b61ed271401a72a2"}, + {file = "charset_normalizer-3.4.6-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:f1ce721c8a7dfec21fcbdfe04e8f68174183cf4e8188e0645e92aa23985c57ff"}, + {file = "charset_normalizer-3.4.6-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0e28d62a8fc7a1fa411c43bd65e346f3bce9716dc51b897fbe930c5987b402d5"}, + {file = "charset_normalizer-3.4.6-cp312-cp312-manylinux_2_31_armv7l.whl", hash = "sha256:530d548084c4a9f7a16ed4a294d459b4f229db50df689bfe92027452452943a0"}, + {file = "charset_normalizer-3.4.6-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:30f445ae60aad5e1f8bdbb3108e39f6fbc09f4ea16c815c66578878325f8f15a"}, + {file = "charset_normalizer-3.4.6-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:ac2393c73378fea4e52aa56285a3d64be50f1a12395afef9cce47772f60334c2"}, + {file = "charset_normalizer-3.4.6-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:90ca27cd8da8118b18a52d5f547859cc1f8354a00cd1e8e5120df3e30d6279e5"}, + {file = "charset_normalizer-3.4.6-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:8e5a94886bedca0f9b78fecd6afb6629142fd2605aa70a125d49f4edc6037ee6"}, + {file = "charset_normalizer-3.4.6-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:695f5c2823691a25f17bc5d5ffe79fa90972cc34b002ac6c843bb8a1720e950d"}, + {file = "charset_normalizer-3.4.6-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:231d4da14bcd9301310faf492051bee27df11f2bc7549bc0bb41fef11b82daa2"}, + {file = "charset_normalizer-3.4.6-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:a056d1ad2633548ca18ffa2f85c202cfb48b68615129143915b8dc72a806a923"}, + {file = "charset_normalizer-3.4.6-cp312-cp312-win32.whl", hash = "sha256:c2274ca724536f173122f36c98ce188fd24ce3dad886ec2b7af859518ce008a4"}, + {file = "charset_normalizer-3.4.6-cp312-cp312-win_amd64.whl", hash = "sha256:c8ae56368f8cc97c7e40a7ee18e1cedaf8e780cd8bc5ed5ac8b81f238614facb"}, + {file = "charset_normalizer-3.4.6-cp312-cp312-win_arm64.whl", hash = "sha256:899d28f422116b08be5118ef350c292b36fc15ec2daeb9ea987c89281c7bb5c4"}, + {file = "charset_normalizer-3.4.6-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:11afb56037cbc4b1555a34dd69151e8e069bee82e613a73bef6e714ce733585f"}, + {file = "charset_normalizer-3.4.6-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:423fb7e748a08f854a08a222b983f4df1912b1daedce51a72bd24fe8f26a1843"}, + {file = "charset_normalizer-3.4.6-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:d73beaac5e90173ac3deb9928a74763a6d230f494e4bfb422c217a0ad8e629bf"}, + {file = "charset_normalizer-3.4.6-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:d60377dce4511655582e300dc1e5a5f24ba0cb229005a1d5c8d0cb72bb758ab8"}, + {file = "charset_normalizer-3.4.6-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:530e8cebeea0d76bdcf93357aa5e41336f48c3dc709ac52da2bb167c5b8271d9"}, + {file = "charset_normalizer-3.4.6-cp313-cp313-manylinux_2_31_armv7l.whl", hash = "sha256:a26611d9987b230566f24a0a125f17fe0de6a6aff9f25c9f564aaa2721a5fb88"}, + {file = "charset_normalizer-3.4.6-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:34315ff4fc374b285ad7f4a0bf7dcbfe769e1b104230d40f49f700d4ab6bbd84"}, + {file = "charset_normalizer-3.4.6-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:5f8ddd609f9e1af8c7bd6e2aca279c931aefecd148a14402d4e368f3171769fd"}, + {file = "charset_normalizer-3.4.6-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:80d0a5615143c0b3225e5e3ef22c8d5d51f3f72ce0ea6fb84c943546c7b25b6c"}, + {file = "charset_normalizer-3.4.6-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:92734d4d8d187a354a556626c221cd1a892a4e0802ccb2af432a1d85ec012194"}, + {file = "charset_normalizer-3.4.6-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:613f19aa6e082cf96e17e3ffd89383343d0d589abda756b7764cf78361fd41dc"}, + {file = "charset_normalizer-3.4.6-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:2b1a63e8224e401cafe7739f77efd3f9e7f5f2026bda4aead8e59afab537784f"}, + {file = "charset_normalizer-3.4.6-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:6cceb5473417d28edd20c6c984ab6fee6c6267d38d906823ebfe20b03d607dc2"}, + {file = "charset_normalizer-3.4.6-cp313-cp313-win32.whl", hash = "sha256:d7de2637729c67d67cf87614b566626057e95c303bc0a55ffe391f5205e7003d"}, + {file = "charset_normalizer-3.4.6-cp313-cp313-win_amd64.whl", hash = "sha256:572d7c822caf521f0525ba1bce1a622a0b85cf47ffbdae6c9c19e3b5ac3c4389"}, + {file = "charset_normalizer-3.4.6-cp313-cp313-win_arm64.whl", hash = "sha256:a4474d924a47185a06411e0064b803c68be044be2d60e50e8bddcc2649957c1f"}, + {file = "charset_normalizer-3.4.6-cp314-cp314-macosx_10_15_universal2.whl", hash = "sha256:9cc6e6d9e571d2f863fa77700701dae73ed5f78881efc8b3f9a4398772ff53e8"}, + {file = "charset_normalizer-3.4.6-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ef5960d965e67165d75b7c7ffc60a83ec5abfc5c11b764ec13ea54fbef8b4421"}, + {file = "charset_normalizer-3.4.6-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:b3694e3f87f8ac7ce279d4355645b3c878d24d1424581b46282f24b92f5a4ae2"}, + {file = "charset_normalizer-3.4.6-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:5d11595abf8dd942a77883a39d81433739b287b6aa71620f15164f8096221b30"}, + {file = "charset_normalizer-3.4.6-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:7bda6eebafd42133efdca535b04ccb338ab29467b3f7bf79569883676fc628db"}, + {file = "charset_normalizer-3.4.6-cp314-cp314-manylinux_2_31_armv7l.whl", hash = "sha256:bbc8c8650c6e51041ad1be191742b8b421d05bbd3410f43fa2a00c8db87678e8"}, + {file = "charset_normalizer-3.4.6-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:22c6f0c2fbc31e76c3b8a86fba1a56eda6166e238c29cdd3d14befdb4a4e4815"}, + {file = "charset_normalizer-3.4.6-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:7edbed096e4a4798710ed6bc75dcaa2a21b68b6c356553ac4823c3658d53743a"}, + {file = "charset_normalizer-3.4.6-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:7f9019c9cb613f084481bd6a100b12e1547cf2efe362d873c2e31e4035a6fa43"}, + {file = "charset_normalizer-3.4.6-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:58c948d0d086229efc484fe2f30c2d382c86720f55cd9bc33591774348ad44e0"}, + {file = "charset_normalizer-3.4.6-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:419a9d91bd238052642a51938af8ac05da5b3343becde08d5cdeab9046df9ee1"}, + {file = "charset_normalizer-3.4.6-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:5273b9f0b5835ff0350c0828faea623c68bfa65b792720c453e22b25cc72930f"}, + {file = "charset_normalizer-3.4.6-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:0e901eb1049fdb80f5bd11ed5ea1e498ec423102f7a9b9e4645d5b8204ff2815"}, + {file = "charset_normalizer-3.4.6-cp314-cp314-win32.whl", hash = "sha256:b4ff1d35e8c5bd078be89349b6f3a845128e685e751b6ea1169cf2160b344c4d"}, + {file = "charset_normalizer-3.4.6-cp314-cp314-win_amd64.whl", hash = "sha256:74119174722c4349af9708993118581686f343adc1c8c9c007d59be90d077f3f"}, + {file = "charset_normalizer-3.4.6-cp314-cp314-win_arm64.whl", hash = "sha256:e5bcc1a1ae744e0bb59641171ae53743760130600da8db48cbb6e4918e186e4e"}, + {file = "charset_normalizer-3.4.6-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:ad8faf8df23f0378c6d527d8b0b15ea4a2e23c89376877c598c4870d1b2c7866"}, + {file = "charset_normalizer-3.4.6-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f5ea69428fa1b49573eef0cc44a1d43bebd45ad0c611eb7d7eac760c7ae771bc"}, + {file = "charset_normalizer-3.4.6-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:06a7e86163334edfc5d20fe104db92fcd666e5a5df0977cb5680a506fe26cc8e"}, + {file = "charset_normalizer-3.4.6-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:e1f6e2f00a6b8edb562826e4632e26d063ac10307e80f7461f7de3ad8ef3f077"}, + {file = "charset_normalizer-3.4.6-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:95b52c68d64c1878818687a473a10547b3292e82b6f6fe483808fb1468e2f52f"}, + {file = "charset_normalizer-3.4.6-cp314-cp314t-manylinux_2_31_armv7l.whl", hash = "sha256:7504e9b7dc05f99a9bbb4525c67a2c155073b44d720470a148b34166a69c054e"}, + {file = "charset_normalizer-3.4.6-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:172985e4ff804a7ad08eebec0a1640ece87ba5041d565fff23c8f99c1f389484"}, + {file = "charset_normalizer-3.4.6-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:4be9f4830ba8741527693848403e2c457c16e499100963ec711b1c6f2049b7c7"}, + {file = "charset_normalizer-3.4.6-cp314-cp314t-musllinux_1_2_armv7l.whl", hash = "sha256:79090741d842f564b1b2827c0b82d846405b744d31e84f18d7a7b41c20e473ff"}, + {file = "charset_normalizer-3.4.6-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:87725cfb1a4f1f8c2fc9890ae2f42094120f4b44db9360be5d99a4c6b0e03a9e"}, + {file = "charset_normalizer-3.4.6-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:fcce033e4021347d80ed9c66dcf1e7b1546319834b74445f561d2e2221de5659"}, + {file = "charset_normalizer-3.4.6-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:ca0276464d148c72defa8bb4390cce01b4a0e425f3b50d1435aa6d7a18107602"}, + {file = "charset_normalizer-3.4.6-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:197c1a244a274bb016dd8b79204850144ef77fe81c5b797dc389327adb552407"}, + {file = "charset_normalizer-3.4.6-cp314-cp314t-win32.whl", hash = "sha256:2a24157fa36980478dd1770b585c0f30d19e18f4fb0c47c13aa568f871718579"}, + {file = "charset_normalizer-3.4.6-cp314-cp314t-win_amd64.whl", hash = "sha256:cd5e2801c89992ed8c0a3f0293ae83c159a60d9a5d685005383ef4caca77f2c4"}, + {file = "charset_normalizer-3.4.6-cp314-cp314t-win_arm64.whl", hash = "sha256:47955475ac79cc504ef2704b192364e51d0d473ad452caedd0002605f780101c"}, + {file = "charset_normalizer-3.4.6-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:659a1e1b500fac8f2779dd9e1570464e012f43e580371470b45277a27baa7532"}, + {file = "charset_normalizer-3.4.6-cp38-cp38-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f61aa92e4aad0be58eb6eb4e0c21acf32cf8065f4b2cae5665da756c4ceef982"}, + {file = "charset_normalizer-3.4.6-cp38-cp38-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:f50498891691e0864dc3da965f340fada0771f6142a378083dc4608f4ea513e2"}, + {file = "charset_normalizer-3.4.6-cp38-cp38-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:bf625105bb9eef28a56a943fec8c8a98aeb80e7d7db99bd3c388137e6eb2d237"}, + {file = "charset_normalizer-3.4.6-cp38-cp38-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:2bd9d128ef93637a5d7a6af25363cf5dec3fa21cf80e68055aad627f280e8afa"}, + {file = "charset_normalizer-3.4.6-cp38-cp38-manylinux_2_31_armv7l.whl", hash = "sha256:d08ec48f0a1c48d75d0356cea971921848fb620fdeba805b28f937e90691209f"}, + {file = "charset_normalizer-3.4.6-cp38-cp38-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:1ed80ff870ca6de33f4d953fda4d55654b9a2b340ff39ab32fa3adbcd718f264"}, + {file = "charset_normalizer-3.4.6-cp38-cp38-musllinux_1_2_aarch64.whl", hash = "sha256:f98059e4fcd3e3e4e2d632b7cf81c2faae96c43c60b569e9c621468082f1d104"}, + {file = "charset_normalizer-3.4.6-cp38-cp38-musllinux_1_2_armv7l.whl", hash = "sha256:ab30e5e3e706e3063bc6de96b118688cb10396b70bb9864a430f67df98c61ecc"}, + {file = "charset_normalizer-3.4.6-cp38-cp38-musllinux_1_2_ppc64le.whl", hash = "sha256:d5f5d1e9def3405f60e3ca8232d56f35c98fb7bf581efcc60051ebf53cb8b611"}, + {file = "charset_normalizer-3.4.6-cp38-cp38-musllinux_1_2_riscv64.whl", hash = "sha256:461598cd852bfa5a61b09cae2b1c02e2efcd166ee5516e243d540ac24bfa68a7"}, + {file = "charset_normalizer-3.4.6-cp38-cp38-musllinux_1_2_s390x.whl", hash = "sha256:71be7e0e01753a89cf024abf7ecb6bca2c81738ead80d43004d9b5e3f1244e64"}, + {file = "charset_normalizer-3.4.6-cp38-cp38-musllinux_1_2_x86_64.whl", hash = "sha256:df01808ee470038c3f8dc4f48620df7225c49c2d6639e38f96e6d6ac6e6f7b0e"}, + {file = "charset_normalizer-3.4.6-cp38-cp38-win32.whl", hash = "sha256:69dd852c2f0ad631b8b60cfbe25a28c0058a894de5abb566619c205ce0550eae"}, + {file = "charset_normalizer-3.4.6-cp38-cp38-win_amd64.whl", hash = "sha256:517ad0e93394ac532745129ceabdf2696b609ec9f87863d337140317ebce1c14"}, + {file = "charset_normalizer-3.4.6-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:31215157227939b4fb3d740cd23fe27be0439afef67b785a1eb78a3ae69cba9e"}, + {file = "charset_normalizer-3.4.6-cp39-cp39-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ecbbd45615a6885fe3240eb9db73b9e62518b611850fdf8ab08bd56de7ad2b17"}, + {file = "charset_normalizer-3.4.6-cp39-cp39-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:c45a03a4c69820a399f1dda9e1d8fbf3562eda46e7720458180302021b08f778"}, + {file = "charset_normalizer-3.4.6-cp39-cp39-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:e8aeb10fcbe92767f0fa69ad5a72deca50d0dca07fbde97848997d778a50c9fe"}, + {file = "charset_normalizer-3.4.6-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:54fae94be3d75f3e573c9a1b5402dc593de19377013c9a0e4285e3d402dd3a2a"}, + {file = "charset_normalizer-3.4.6-cp39-cp39-manylinux_2_31_armv7l.whl", hash = "sha256:2f7fdd9b6e6c529d6a2501a2d36b240109e78a8ceaef5687cfcfa2bbe671d297"}, + {file = "charset_normalizer-3.4.6-cp39-cp39-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:4d1d02209e06550bdaef34af58e041ad71b88e624f5d825519da3a3308e22687"}, + {file = "charset_normalizer-3.4.6-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:8bc5f0687d796c05b1e28ab0d38a50e6309906ee09375dd3aff6a9c09dd6e8f4"}, + {file = "charset_normalizer-3.4.6-cp39-cp39-musllinux_1_2_armv7l.whl", hash = "sha256:ee4ec14bc1680d6b0afab9aea2ef27e26d2024f18b24a2d7155a52b60da7e833"}, + {file = "charset_normalizer-3.4.6-cp39-cp39-musllinux_1_2_ppc64le.whl", hash = "sha256:d1a2ee9c1499fc8f86f4521f27a973c914b211ffa87322f4ee33bb35392da2c5"}, + {file = "charset_normalizer-3.4.6-cp39-cp39-musllinux_1_2_riscv64.whl", hash = "sha256:48696db7f18afb80a068821504296eb0787d9ce239b91ca15059d1d3eaacf13b"}, + {file = "charset_normalizer-3.4.6-cp39-cp39-musllinux_1_2_s390x.whl", hash = "sha256:4f41da960b196ea355357285ad1316a00099f22d0929fe168343b99b254729c9"}, + {file = "charset_normalizer-3.4.6-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:802168e03fba8bbc5ce0d866d589e4b1ca751d06edee69f7f3a19c5a9fe6b597"}, + {file = "charset_normalizer-3.4.6-cp39-cp39-win32.whl", hash = "sha256:8761ac29b6c81574724322a554605608a9960769ea83d2c73e396f3df896ad54"}, + {file = "charset_normalizer-3.4.6-cp39-cp39-win_amd64.whl", hash = "sha256:1cf0a70018692f85172348fe06d3a4b63f94ecb055e13a00c644d368eb82e5b8"}, + {file = "charset_normalizer-3.4.6-cp39-cp39-win_arm64.whl", hash = "sha256:3516bbb8d42169de9e61b8520cbeeeb716f12f4ecfe3fd30a9919aa16c806ca8"}, + {file = "charset_normalizer-3.4.6-py3-none-any.whl", hash = "sha256:947cf925bc916d90adba35a64c82aace04fa39b46b52d4630ece166655905a69"}, + {file = "charset_normalizer-3.4.6.tar.gz", hash = "sha256:1ae6b62897110aa7c79ea2f5dd38d1abca6db663687c0b1ad9aed6f6bae3d9d6"}, ] [[package]] @@ -283,13 +293,13 @@ all = ["flake8 (>=7.1.1)", "mypy (>=1.11.2)", "pytest (>=8.3.2)", "ruff (>=0.6.2 [[package]] name = "iniconfig" -version = "2.1.0" +version = "2.3.0" description = "brain-dead simple config-ini parsing" optional = false -python-versions = ">=3.8" +python-versions = ">=3.10" files = [ - {file = "iniconfig-2.1.0-py3-none-any.whl", hash = "sha256:9deba5723312380e77435581c6bf4935c94cbfab9b1ed33ef8d238ea168eb760"}, - {file = "iniconfig-2.1.0.tar.gz", hash = "sha256:3abbd2e30b36733fee78f9c7f7308f2d0050e88f0087fd25c2645f63c773e1c7"}, + {file = "iniconfig-2.3.0-py3-none-any.whl", hash = "sha256:f631c04d2c48c52b84d0d0549c99ff3859c98df65b3101406327ecc7d53fbf12"}, + {file = "iniconfig-2.3.0.tar.gz", hash = "sha256:c76315c77db068650d49c5b56314774a7804df16fee4402c1f19d6d15d8c4730"}, ] [[package]] @@ -369,18 +379,18 @@ files = [ [[package]] name = "pluggy" -version = "1.5.0" +version = "1.6.0" description = "plugin and hook calling mechanisms for python" optional = false -python-versions = ">=3.8" +python-versions = ">=3.9" files = [ - {file = "pluggy-1.5.0-py3-none-any.whl", hash = "sha256:44e1ad92c8ca002de6377e165f3e0f1be63266ab4d554740532335b9d75ea669"}, - {file = "pluggy-1.5.0.tar.gz", hash = "sha256:2cffa88e94fdc978c4c574f15f9e59b7f4201d439195c3715ca9e2486f1d0cf1"}, + {file = "pluggy-1.6.0-py3-none-any.whl", hash = "sha256:e920276dd6813095e9377c0bc5566d94c932c33b27a3e3945d8389c374dd4746"}, + {file = "pluggy-1.6.0.tar.gz", hash = "sha256:7dcc130b76258d33b90f61b658791dede3486c3e6bfb003ee5c9bfb396dd22f3"}, ] [package.extras] dev = ["pre-commit", "tox"] -testing = ["pytest", "pytest-benchmark"] +testing = ["coverage", "pytest", "pytest-benchmark"] [[package]] name = "pyaudio" @@ -409,19 +419,20 @@ test = ["numpy"] [[package]] name = "pydantic" -version = "2.10.6" +version = "2.12.5" description = "Data validation using Python type hints" optional = false -python-versions = ">=3.8" +python-versions = ">=3.9" files = [ - {file = "pydantic-2.10.6-py3-none-any.whl", hash = "sha256:427d664bf0b8a2b34ff5dd0f5a18df00591adcee7198fbd71981054cef37b584"}, - {file = "pydantic-2.10.6.tar.gz", hash = "sha256:ca5daa827cce33de7a42be142548b0096bf05a7e7b365aebfa5f8eeec7128236"}, + {file = "pydantic-2.12.5-py3-none-any.whl", hash = "sha256:e561593fccf61e8a20fc46dfc2dfe075b8be7d0188df33f221ad1f0139180f9d"}, + {file = "pydantic-2.12.5.tar.gz", hash = "sha256:4d351024c75c0f085a9febbb665ce8c0c6ec5d30e903bdb6394b7ede26aebb49"}, ] [package.dependencies] annotated-types = ">=0.6.0" -pydantic-core = "2.27.2" -typing-extensions = ">=4.12.2" +pydantic-core = "2.41.5" +typing-extensions = ">=4.14.1" +typing-inspection = ">=0.4.2" [package.extras] email = ["email-validator (>=2.0.0)"] @@ -429,115 +440,136 @@ timezone = ["tzdata"] [[package]] name = "pydantic-core" -version = "2.27.2" +version = "2.41.5" description = "Core functionality for Pydantic validation and serialization" optional = false -python-versions = ">=3.8" -files = [ - {file = "pydantic_core-2.27.2-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:2d367ca20b2f14095a8f4fa1210f5a7b78b8a20009ecced6b12818f455b1e9fa"}, - {file = "pydantic_core-2.27.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:491a2b73db93fab69731eaee494f320faa4e093dbed776be1a829c2eb222c34c"}, - {file = "pydantic_core-2.27.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7969e133a6f183be60e9f6f56bfae753585680f3b7307a8e555a948d443cc05a"}, - {file = "pydantic_core-2.27.2-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:3de9961f2a346257caf0aa508a4da705467f53778e9ef6fe744c038119737ef5"}, - {file = "pydantic_core-2.27.2-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e2bb4d3e5873c37bb3dd58714d4cd0b0e6238cebc4177ac8fe878f8b3aa8e74c"}, - {file = "pydantic_core-2.27.2-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:280d219beebb0752699480fe8f1dc61ab6615c2046d76b7ab7ee38858de0a4e7"}, - {file = "pydantic_core-2.27.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:47956ae78b6422cbd46f772f1746799cbb862de838fd8d1fbd34a82e05b0983a"}, - {file = "pydantic_core-2.27.2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:14d4a5c49d2f009d62a2a7140d3064f686d17a5d1a268bc641954ba181880236"}, - {file = "pydantic_core-2.27.2-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:337b443af21d488716f8d0b6164de833e788aa6bd7e3a39c005febc1284f4962"}, - {file = "pydantic_core-2.27.2-cp310-cp310-musllinux_1_1_armv7l.whl", hash = "sha256:03d0f86ea3184a12f41a2d23f7ccb79cdb5a18e06993f8a45baa8dfec746f0e9"}, - {file = "pydantic_core-2.27.2-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:7041c36f5680c6e0f08d922aed302e98b3745d97fe1589db0a3eebf6624523af"}, - {file = "pydantic_core-2.27.2-cp310-cp310-win32.whl", hash = "sha256:50a68f3e3819077be2c98110c1f9dcb3817e93f267ba80a2c05bb4f8799e2ff4"}, - {file = "pydantic_core-2.27.2-cp310-cp310-win_amd64.whl", hash = "sha256:e0fd26b16394ead34a424eecf8a31a1f5137094cabe84a1bcb10fa6ba39d3d31"}, - {file = "pydantic_core-2.27.2-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:8e10c99ef58cfdf2a66fc15d66b16c4a04f62bca39db589ae8cba08bc55331bc"}, - {file = "pydantic_core-2.27.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:26f32e0adf166a84d0cb63be85c562ca8a6fa8de28e5f0d92250c6b7e9e2aff7"}, - {file = "pydantic_core-2.27.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8c19d1ea0673cd13cc2f872f6c9ab42acc4e4f492a7ca9d3795ce2b112dd7e15"}, - {file = "pydantic_core-2.27.2-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:5e68c4446fe0810e959cdff46ab0a41ce2f2c86d227d96dc3847af0ba7def306"}, - {file = "pydantic_core-2.27.2-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:d9640b0059ff4f14d1f37321b94061c6db164fbe49b334b31643e0528d100d99"}, - {file = "pydantic_core-2.27.2-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:40d02e7d45c9f8af700f3452f329ead92da4c5f4317ca9b896de7ce7199ea459"}, - {file = "pydantic_core-2.27.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1c1fd185014191700554795c99b347d64f2bb637966c4cfc16998a0ca700d048"}, - {file = "pydantic_core-2.27.2-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:d81d2068e1c1228a565af076598f9e7451712700b673de8f502f0334f281387d"}, - {file = "pydantic_core-2.27.2-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:1a4207639fb02ec2dbb76227d7c751a20b1a6b4bc52850568e52260cae64ca3b"}, - {file = "pydantic_core-2.27.2-cp311-cp311-musllinux_1_1_armv7l.whl", hash = "sha256:3de3ce3c9ddc8bbd88f6e0e304dea0e66d843ec9de1b0042b0911c1663ffd474"}, - {file = "pydantic_core-2.27.2-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:30c5f68ded0c36466acede341551106821043e9afaad516adfb6e8fa80a4e6a6"}, - {file = "pydantic_core-2.27.2-cp311-cp311-win32.whl", hash = "sha256:c70c26d2c99f78b125a3459f8afe1aed4d9687c24fd677c6a4436bc042e50d6c"}, - {file = "pydantic_core-2.27.2-cp311-cp311-win_amd64.whl", hash = "sha256:08e125dbdc505fa69ca7d9c499639ab6407cfa909214d500897d02afb816e7cc"}, - {file = "pydantic_core-2.27.2-cp311-cp311-win_arm64.whl", hash = "sha256:26f0d68d4b235a2bae0c3fc585c585b4ecc51382db0e3ba402a22cbc440915e4"}, - {file = "pydantic_core-2.27.2-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:9e0c8cfefa0ef83b4da9588448b6d8d2a2bf1a53c3f1ae5fca39eb3061e2f0b0"}, - {file = "pydantic_core-2.27.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:83097677b8e3bd7eaa6775720ec8e0405f1575015a463285a92bfdfe254529ef"}, - {file = "pydantic_core-2.27.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:172fce187655fece0c90d90a678424b013f8fbb0ca8b036ac266749c09438cb7"}, - {file = "pydantic_core-2.27.2-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:519f29f5213271eeeeb3093f662ba2fd512b91c5f188f3bb7b27bc5973816934"}, - {file = "pydantic_core-2.27.2-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:05e3a55d124407fffba0dd6b0c0cd056d10e983ceb4e5dbd10dda135c31071d6"}, - {file = "pydantic_core-2.27.2-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:9c3ed807c7b91de05e63930188f19e921d1fe90de6b4f5cd43ee7fcc3525cb8c"}, - {file = "pydantic_core-2.27.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6fb4aadc0b9a0c063206846d603b92030eb6f03069151a625667f982887153e2"}, - {file = "pydantic_core-2.27.2-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:28ccb213807e037460326424ceb8b5245acb88f32f3d2777427476e1b32c48c4"}, - {file = "pydantic_core-2.27.2-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:de3cd1899e2c279b140adde9357c4495ed9d47131b4a4eaff9052f23398076b3"}, - {file = "pydantic_core-2.27.2-cp312-cp312-musllinux_1_1_armv7l.whl", hash = "sha256:220f892729375e2d736b97d0e51466252ad84c51857d4d15f5e9692f9ef12be4"}, - {file = "pydantic_core-2.27.2-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:a0fcd29cd6b4e74fe8ddd2c90330fd8edf2e30cb52acda47f06dd615ae72da57"}, - {file = "pydantic_core-2.27.2-cp312-cp312-win32.whl", hash = "sha256:1e2cb691ed9834cd6a8be61228471d0a503731abfb42f82458ff27be7b2186fc"}, - {file = "pydantic_core-2.27.2-cp312-cp312-win_amd64.whl", hash = "sha256:cc3f1a99a4f4f9dd1de4fe0312c114e740b5ddead65bb4102884b384c15d8bc9"}, - {file = "pydantic_core-2.27.2-cp312-cp312-win_arm64.whl", hash = "sha256:3911ac9284cd8a1792d3cb26a2da18f3ca26c6908cc434a18f730dc0db7bfa3b"}, - {file = "pydantic_core-2.27.2-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:7d14bd329640e63852364c306f4d23eb744e0f8193148d4044dd3dacdaacbd8b"}, - {file = "pydantic_core-2.27.2-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:82f91663004eb8ed30ff478d77c4d1179b3563df6cdb15c0817cd1cdaf34d154"}, - {file = "pydantic_core-2.27.2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:71b24c7d61131bb83df10cc7e687433609963a944ccf45190cfc21e0887b08c9"}, - {file = "pydantic_core-2.27.2-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:fa8e459d4954f608fa26116118bb67f56b93b209c39b008277ace29937453dc9"}, - {file = "pydantic_core-2.27.2-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ce8918cbebc8da707ba805b7fd0b382816858728ae7fe19a942080c24e5b7cd1"}, - {file = "pydantic_core-2.27.2-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:eda3f5c2a021bbc5d976107bb302e0131351c2ba54343f8a496dc8783d3d3a6a"}, - {file = "pydantic_core-2.27.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bd8086fa684c4775c27f03f062cbb9eaa6e17f064307e86b21b9e0abc9c0f02e"}, - {file = "pydantic_core-2.27.2-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:8d9b3388db186ba0c099a6d20f0604a44eabdeef1777ddd94786cdae158729e4"}, - {file = "pydantic_core-2.27.2-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:7a66efda2387de898c8f38c0cf7f14fca0b51a8ef0b24bfea5849f1b3c95af27"}, - {file = "pydantic_core-2.27.2-cp313-cp313-musllinux_1_1_armv7l.whl", hash = "sha256:18a101c168e4e092ab40dbc2503bdc0f62010e95d292b27827871dc85450d7ee"}, - {file = "pydantic_core-2.27.2-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:ba5dd002f88b78a4215ed2f8ddbdf85e8513382820ba15ad5ad8955ce0ca19a1"}, - {file = "pydantic_core-2.27.2-cp313-cp313-win32.whl", hash = "sha256:1ebaf1d0481914d004a573394f4be3a7616334be70261007e47c2a6fe7e50130"}, - {file = "pydantic_core-2.27.2-cp313-cp313-win_amd64.whl", hash = "sha256:953101387ecf2f5652883208769a79e48db18c6df442568a0b5ccd8c2723abee"}, - {file = "pydantic_core-2.27.2-cp313-cp313-win_arm64.whl", hash = "sha256:ac4dbfd1691affb8f48c2c13241a2e3b60ff23247cbcf981759c768b6633cf8b"}, - {file = "pydantic_core-2.27.2-cp38-cp38-macosx_10_12_x86_64.whl", hash = "sha256:d3e8d504bdd3f10835468f29008d72fc8359d95c9c415ce6e767203db6127506"}, - {file = "pydantic_core-2.27.2-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:521eb9b7f036c9b6187f0b47318ab0d7ca14bd87f776240b90b21c1f4f149320"}, - {file = "pydantic_core-2.27.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:85210c4d99a0114f5a9481b44560d7d1e35e32cc5634c656bc48e590b669b145"}, - {file = "pydantic_core-2.27.2-cp38-cp38-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:d716e2e30c6f140d7560ef1538953a5cd1a87264c737643d481f2779fc247fe1"}, - {file = "pydantic_core-2.27.2-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:f66d89ba397d92f840f8654756196d93804278457b5fbede59598a1f9f90b228"}, - {file = "pydantic_core-2.27.2-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:669e193c1c576a58f132e3158f9dfa9662969edb1a250c54d8fa52590045f046"}, - {file = "pydantic_core-2.27.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9fdbe7629b996647b99c01b37f11170a57ae675375b14b8c13b8518b8320ced5"}, - {file = "pydantic_core-2.27.2-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:d262606bf386a5ba0b0af3b97f37c83d7011439e3dc1a9298f21efb292e42f1a"}, - {file = "pydantic_core-2.27.2-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:cabb9bcb7e0d97f74df8646f34fc76fbf793b7f6dc2438517d7a9e50eee4f14d"}, - {file = "pydantic_core-2.27.2-cp38-cp38-musllinux_1_1_armv7l.whl", hash = "sha256:d2d63f1215638d28221f664596b1ccb3944f6e25dd18cd3b86b0a4c408d5ebb9"}, - {file = "pydantic_core-2.27.2-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:bca101c00bff0adb45a833f8451b9105d9df18accb8743b08107d7ada14bd7da"}, - {file = "pydantic_core-2.27.2-cp38-cp38-win32.whl", hash = "sha256:f6f8e111843bbb0dee4cb6594cdc73e79b3329b526037ec242a3e49012495b3b"}, - {file = "pydantic_core-2.27.2-cp38-cp38-win_amd64.whl", hash = "sha256:fd1aea04935a508f62e0d0ef1f5ae968774a32afc306fb8545e06f5ff5cdf3ad"}, - {file = "pydantic_core-2.27.2-cp39-cp39-macosx_10_12_x86_64.whl", hash = "sha256:c10eb4f1659290b523af58fa7cffb452a61ad6ae5613404519aee4bfbf1df993"}, - {file = "pydantic_core-2.27.2-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:ef592d4bad47296fb11f96cd7dc898b92e795032b4894dfb4076cfccd43a9308"}, - {file = "pydantic_core-2.27.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c61709a844acc6bf0b7dce7daae75195a10aac96a596ea1b776996414791ede4"}, - {file = "pydantic_core-2.27.2-cp39-cp39-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:42c5f762659e47fdb7b16956c71598292f60a03aa92f8b6351504359dbdba6cf"}, - {file = "pydantic_core-2.27.2-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:4c9775e339e42e79ec99c441d9730fccf07414af63eac2f0e48e08fd38a64d76"}, - {file = "pydantic_core-2.27.2-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:57762139821c31847cfb2df63c12f725788bd9f04bc2fb392790959b8f70f118"}, - {file = "pydantic_core-2.27.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0d1e85068e818c73e048fe28cfc769040bb1f475524f4745a5dc621f75ac7630"}, - {file = "pydantic_core-2.27.2-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:097830ed52fd9e427942ff3b9bc17fab52913b2f50f2880dc4a5611446606a54"}, - {file = "pydantic_core-2.27.2-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:044a50963a614ecfae59bb1eaf7ea7efc4bc62f49ed594e18fa1e5d953c40e9f"}, - {file = "pydantic_core-2.27.2-cp39-cp39-musllinux_1_1_armv7l.whl", hash = "sha256:4e0b4220ba5b40d727c7f879eac379b822eee5d8fff418e9d3381ee45b3b0362"}, - {file = "pydantic_core-2.27.2-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:5e4f4bb20d75e9325cc9696c6802657b58bc1dbbe3022f32cc2b2b632c3fbb96"}, - {file = "pydantic_core-2.27.2-cp39-cp39-win32.whl", hash = "sha256:cca63613e90d001b9f2f9a9ceb276c308bfa2a43fafb75c8031c4f66039e8c6e"}, - {file = "pydantic_core-2.27.2-cp39-cp39-win_amd64.whl", hash = "sha256:77d1bca19b0f7021b3a982e6f903dcd5b2b06076def36a652e3907f596e29f67"}, - {file = "pydantic_core-2.27.2-pp310-pypy310_pp73-macosx_10_12_x86_64.whl", hash = "sha256:2bf14caea37e91198329b828eae1618c068dfb8ef17bb33287a7ad4b61ac314e"}, - {file = "pydantic_core-2.27.2-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:b0cb791f5b45307caae8810c2023a184c74605ec3bcbb67d13846c28ff731ff8"}, - {file = "pydantic_core-2.27.2-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:688d3fd9fcb71f41c4c015c023d12a79d1c4c0732ec9eb35d96e3388a120dcf3"}, - {file = "pydantic_core-2.27.2-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3d591580c34f4d731592f0e9fe40f9cc1b430d297eecc70b962e93c5c668f15f"}, - {file = "pydantic_core-2.27.2-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:82f986faf4e644ffc189a7f1aafc86e46ef70372bb153e7001e8afccc6e54133"}, - {file = "pydantic_core-2.27.2-pp310-pypy310_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:bec317a27290e2537f922639cafd54990551725fc844249e64c523301d0822fc"}, - {file = "pydantic_core-2.27.2-pp310-pypy310_pp73-musllinux_1_1_armv7l.whl", hash = "sha256:0296abcb83a797db256b773f45773da397da75a08f5fcaef41f2044adec05f50"}, - {file = "pydantic_core-2.27.2-pp310-pypy310_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:0d75070718e369e452075a6017fbf187f788e17ed67a3abd47fa934d001863d9"}, - {file = "pydantic_core-2.27.2-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:7e17b560be3c98a8e3aa66ce828bdebb9e9ac6ad5466fba92eb74c4c95cb1151"}, - {file = "pydantic_core-2.27.2-pp39-pypy39_pp73-macosx_10_12_x86_64.whl", hash = "sha256:c33939a82924da9ed65dab5a65d427205a73181d8098e79b6b426bdf8ad4e656"}, - {file = "pydantic_core-2.27.2-pp39-pypy39_pp73-macosx_11_0_arm64.whl", hash = "sha256:00bad2484fa6bda1e216e7345a798bd37c68fb2d97558edd584942aa41b7d278"}, - {file = "pydantic_core-2.27.2-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c817e2b40aba42bac6f457498dacabc568c3b7a986fc9ba7c8d9d260b71485fb"}, - {file = "pydantic_core-2.27.2-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:251136cdad0cb722e93732cb45ca5299fb56e1344a833640bf93b2803f8d1bfd"}, - {file = "pydantic_core-2.27.2-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:d2088237af596f0a524d3afc39ab3b036e8adb054ee57cbb1dcf8e09da5b29cc"}, - {file = "pydantic_core-2.27.2-pp39-pypy39_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:d4041c0b966a84b4ae7a09832eb691a35aec90910cd2dbe7a208de59be77965b"}, - {file = "pydantic_core-2.27.2-pp39-pypy39_pp73-musllinux_1_1_armv7l.whl", hash = "sha256:8083d4e875ebe0b864ffef72a4304827015cff328a1be6e22cc850753bfb122b"}, - {file = "pydantic_core-2.27.2-pp39-pypy39_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:f141ee28a0ad2123b6611b6ceff018039df17f32ada8b534e6aa039545a3efb2"}, - {file = "pydantic_core-2.27.2-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:7d0c8399fcc1848491f00e0314bd59fb34a9c008761bcb422a057670c3f65e35"}, - {file = "pydantic_core-2.27.2.tar.gz", hash = "sha256:eb026e5a4c1fee05726072337ff51d1efb6f59090b7da90d30ea58625b1ffb39"}, +python-versions = ">=3.9" +files = [ + {file = "pydantic_core-2.41.5-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:77b63866ca88d804225eaa4af3e664c5faf3568cea95360d21f4725ab6e07146"}, + {file = "pydantic_core-2.41.5-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:dfa8a0c812ac681395907e71e1274819dec685fec28273a28905df579ef137e2"}, + {file = "pydantic_core-2.41.5-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5921a4d3ca3aee735d9fd163808f5e8dd6c6972101e4adbda9a4667908849b97"}, + {file = "pydantic_core-2.41.5-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:e25c479382d26a2a41b7ebea1043564a937db462816ea07afa8a44c0866d52f9"}, + {file = "pydantic_core-2.41.5-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:f547144f2966e1e16ae626d8ce72b4cfa0caedc7fa28052001c94fb2fcaa1c52"}, + {file = "pydantic_core-2.41.5-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:6f52298fbd394f9ed112d56f3d11aabd0d5bd27beb3084cc3d8ad069483b8941"}, + {file = "pydantic_core-2.41.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:100baa204bb412b74fe285fb0f3a385256dad1d1879f0a5cb1499ed2e83d132a"}, + {file = "pydantic_core-2.41.5-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:05a2c8852530ad2812cb7914dc61a1125dc4e06252ee98e5638a12da6cc6fb6c"}, + {file = "pydantic_core-2.41.5-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:29452c56df2ed968d18d7e21f4ab0ac55e71dc59524872f6fc57dcf4a3249ed2"}, + {file = "pydantic_core-2.41.5-cp310-cp310-musllinux_1_1_armv7l.whl", hash = "sha256:d5160812ea7a8a2ffbe233d8da666880cad0cbaf5d4de74ae15c313213d62556"}, + {file = "pydantic_core-2.41.5-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:df3959765b553b9440adfd3c795617c352154e497a4eaf3752555cfb5da8fc49"}, + {file = "pydantic_core-2.41.5-cp310-cp310-win32.whl", hash = "sha256:1f8d33a7f4d5a7889e60dc39856d76d09333d8a6ed0f5f1190635cbec70ec4ba"}, + {file = "pydantic_core-2.41.5-cp310-cp310-win_amd64.whl", hash = "sha256:62de39db01b8d593e45871af2af9e497295db8d73b085f6bfd0b18c83c70a8f9"}, + {file = "pydantic_core-2.41.5-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:a3a52f6156e73e7ccb0f8cced536adccb7042be67cb45f9562e12b319c119da6"}, + {file = "pydantic_core-2.41.5-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:7f3bf998340c6d4b0c9a2f02d6a400e51f123b59565d74dc60d252ce888c260b"}, + {file = "pydantic_core-2.41.5-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:378bec5c66998815d224c9ca994f1e14c0c21cb95d2f52b6021cc0b2a58f2a5a"}, + {file = "pydantic_core-2.41.5-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:e7b576130c69225432866fe2f4a469a85a54ade141d96fd396dffcf607b558f8"}, + {file = "pydantic_core-2.41.5-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:6cb58b9c66f7e4179a2d5e0f849c48eff5c1fca560994d6eb6543abf955a149e"}, + {file = "pydantic_core-2.41.5-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:88942d3a3dff3afc8288c21e565e476fc278902ae4d6d134f1eeda118cc830b1"}, + {file = "pydantic_core-2.41.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f31d95a179f8d64d90f6831d71fa93290893a33148d890ba15de25642c5d075b"}, + {file = "pydantic_core-2.41.5-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:c1df3d34aced70add6f867a8cf413e299177e0c22660cc767218373d0779487b"}, + {file = "pydantic_core-2.41.5-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:4009935984bd36bd2c774e13f9a09563ce8de4abaa7226f5108262fa3e637284"}, + {file = "pydantic_core-2.41.5-cp311-cp311-musllinux_1_1_armv7l.whl", hash = "sha256:34a64bc3441dc1213096a20fe27e8e128bd3ff89921706e83c0b1ac971276594"}, + {file = "pydantic_core-2.41.5-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:c9e19dd6e28fdcaa5a1de679aec4141f691023916427ef9bae8584f9c2fb3b0e"}, + {file = "pydantic_core-2.41.5-cp311-cp311-win32.whl", hash = "sha256:2c010c6ded393148374c0f6f0bf89d206bf3217f201faa0635dcd56bd1520f6b"}, + {file = "pydantic_core-2.41.5-cp311-cp311-win_amd64.whl", hash = "sha256:76ee27c6e9c7f16f47db7a94157112a2f3a00e958bc626e2f4ee8bec5c328fbe"}, + {file = "pydantic_core-2.41.5-cp311-cp311-win_arm64.whl", hash = "sha256:4bc36bbc0b7584de96561184ad7f012478987882ebf9f9c389b23f432ea3d90f"}, + {file = "pydantic_core-2.41.5-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:f41a7489d32336dbf2199c8c0a215390a751c5b014c2c1c5366e817202e9cdf7"}, + {file = "pydantic_core-2.41.5-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:070259a8818988b9a84a449a2a7337c7f430a22acc0859c6b110aa7212a6d9c0"}, + {file = "pydantic_core-2.41.5-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e96cea19e34778f8d59fe40775a7a574d95816eb150850a85a7a4c8f4b94ac69"}, + {file = "pydantic_core-2.41.5-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:ed2e99c456e3fadd05c991f8f437ef902e00eedf34320ba2b0842bd1c3ca3a75"}, + {file = "pydantic_core-2.41.5-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:65840751b72fbfd82c3c640cff9284545342a4f1eb1586ad0636955b261b0b05"}, + {file = "pydantic_core-2.41.5-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e536c98a7626a98feb2d3eaf75944ef6f3dbee447e1f841eae16f2f0a72d8ddc"}, + {file = "pydantic_core-2.41.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:eceb81a8d74f9267ef4081e246ffd6d129da5d87e37a77c9bde550cb04870c1c"}, + {file = "pydantic_core-2.41.5-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:d38548150c39b74aeeb0ce8ee1d8e82696f4a4e16ddc6de7b1d8823f7de4b9b5"}, + {file = "pydantic_core-2.41.5-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:c23e27686783f60290e36827f9c626e63154b82b116d7fe9adba1fda36da706c"}, + {file = "pydantic_core-2.41.5-cp312-cp312-musllinux_1_1_armv7l.whl", hash = "sha256:482c982f814460eabe1d3bb0adfdc583387bd4691ef00b90575ca0d2b6fe2294"}, + {file = "pydantic_core-2.41.5-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:bfea2a5f0b4d8d43adf9d7b8bf019fb46fdd10a2e5cde477fbcb9d1fa08c68e1"}, + {file = "pydantic_core-2.41.5-cp312-cp312-win32.whl", hash = "sha256:b74557b16e390ec12dca509bce9264c3bbd128f8a2c376eaa68003d7f327276d"}, + {file = "pydantic_core-2.41.5-cp312-cp312-win_amd64.whl", hash = "sha256:1962293292865bca8e54702b08a4f26da73adc83dd1fcf26fbc875b35d81c815"}, + {file = "pydantic_core-2.41.5-cp312-cp312-win_arm64.whl", hash = "sha256:1746d4a3d9a794cacae06a5eaaccb4b8643a131d45fbc9af23e353dc0a5ba5c3"}, + {file = "pydantic_core-2.41.5-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:941103c9be18ac8daf7b7adca8228f8ed6bb7a1849020f643b3a14d15b1924d9"}, + {file = "pydantic_core-2.41.5-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:112e305c3314f40c93998e567879e887a3160bb8689ef3d2c04b6cc62c33ac34"}, + {file = "pydantic_core-2.41.5-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0cbaad15cb0c90aa221d43c00e77bb33c93e8d36e0bf74760cd00e732d10a6a0"}, + {file = "pydantic_core-2.41.5-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:03ca43e12fab6023fc79d28ca6b39b05f794ad08ec2feccc59a339b02f2b3d33"}, + {file = "pydantic_core-2.41.5-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:dc799088c08fa04e43144b164feb0c13f9a0bc40503f8df3e9fde58a3c0c101e"}, + {file = "pydantic_core-2.41.5-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:97aeba56665b4c3235a0e52b2c2f5ae9cd071b8a8310ad27bddb3f7fb30e9aa2"}, + {file = "pydantic_core-2.41.5-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:406bf18d345822d6c21366031003612b9c77b3e29ffdb0f612367352aab7d586"}, + {file = "pydantic_core-2.41.5-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:b93590ae81f7010dbe380cdeab6f515902ebcbefe0b9327cc4804d74e93ae69d"}, + {file = "pydantic_core-2.41.5-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:01a3d0ab748ee531f4ea6c3e48ad9dac84ddba4b0d82291f87248f2f9de8d740"}, + {file = "pydantic_core-2.41.5-cp313-cp313-musllinux_1_1_armv7l.whl", hash = "sha256:6561e94ba9dacc9c61bce40e2d6bdc3bfaa0259d3ff36ace3b1e6901936d2e3e"}, + {file = "pydantic_core-2.41.5-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:915c3d10f81bec3a74fbd4faebe8391013ba61e5a1a8d48c4455b923bdda7858"}, + {file = "pydantic_core-2.41.5-cp313-cp313-win32.whl", hash = "sha256:650ae77860b45cfa6e2cdafc42618ceafab3a2d9a3811fcfbd3bbf8ac3c40d36"}, + {file = "pydantic_core-2.41.5-cp313-cp313-win_amd64.whl", hash = "sha256:79ec52ec461e99e13791ec6508c722742ad745571f234ea6255bed38c6480f11"}, + {file = "pydantic_core-2.41.5-cp313-cp313-win_arm64.whl", hash = "sha256:3f84d5c1b4ab906093bdc1ff10484838aca54ef08de4afa9de0f5f14d69639cd"}, + {file = "pydantic_core-2.41.5-cp314-cp314-macosx_10_12_x86_64.whl", hash = "sha256:3f37a19d7ebcdd20b96485056ba9e8b304e27d9904d233d7b1015db320e51f0a"}, + {file = "pydantic_core-2.41.5-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:1d1d9764366c73f996edd17abb6d9d7649a7eb690006ab6adbda117717099b14"}, + {file = "pydantic_core-2.41.5-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:25e1c2af0fce638d5f1988b686f3b3ea8cd7de5f244ca147c777769e798a9cd1"}, + {file = "pydantic_core-2.41.5-cp314-cp314-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:506d766a8727beef16b7adaeb8ee6217c64fc813646b424d0804d67c16eddb66"}, + {file = "pydantic_core-2.41.5-cp314-cp314-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:4819fa52133c9aa3c387b3328f25c1facc356491e6135b459f1de698ff64d869"}, + {file = "pydantic_core-2.41.5-cp314-cp314-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2b761d210c9ea91feda40d25b4efe82a1707da2ef62901466a42492c028553a2"}, + {file = "pydantic_core-2.41.5-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:22f0fb8c1c583a3b6f24df2470833b40207e907b90c928cc8d3594b76f874375"}, + {file = "pydantic_core-2.41.5-cp314-cp314-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:2782c870e99878c634505236d81e5443092fba820f0373997ff75f90f68cd553"}, + {file = "pydantic_core-2.41.5-cp314-cp314-musllinux_1_1_aarch64.whl", hash = "sha256:0177272f88ab8312479336e1d777f6b124537d47f2123f89cb37e0accea97f90"}, + {file = "pydantic_core-2.41.5-cp314-cp314-musllinux_1_1_armv7l.whl", hash = "sha256:63510af5e38f8955b8ee5687740d6ebf7c2a0886d15a6d65c32814613681bc07"}, + {file = "pydantic_core-2.41.5-cp314-cp314-musllinux_1_1_x86_64.whl", hash = "sha256:e56ba91f47764cc14f1daacd723e3e82d1a89d783f0f5afe9c364b8bb491ccdb"}, + {file = "pydantic_core-2.41.5-cp314-cp314-win32.whl", hash = "sha256:aec5cf2fd867b4ff45b9959f8b20ea3993fc93e63c7363fe6851424c8a7e7c23"}, + {file = "pydantic_core-2.41.5-cp314-cp314-win_amd64.whl", hash = "sha256:8e7c86f27c585ef37c35e56a96363ab8de4e549a95512445b85c96d3e2f7c1bf"}, + {file = "pydantic_core-2.41.5-cp314-cp314-win_arm64.whl", hash = "sha256:e672ba74fbc2dc8eea59fb6d4aed6845e6905fc2a8afe93175d94a83ba2a01a0"}, + {file = "pydantic_core-2.41.5-cp314-cp314t-macosx_10_12_x86_64.whl", hash = "sha256:8566def80554c3faa0e65ac30ab0932b9e3a5cd7f8323764303d468e5c37595a"}, + {file = "pydantic_core-2.41.5-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:b80aa5095cd3109962a298ce14110ae16b8c1aece8b72f9dafe81cf597ad80b3"}, + {file = "pydantic_core-2.41.5-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3006c3dd9ba34b0c094c544c6006cc79e87d8612999f1a5d43b769b89181f23c"}, + {file = "pydantic_core-2.41.5-cp314-cp314t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:72f6c8b11857a856bcfa48c86f5368439f74453563f951e473514579d44aa612"}, + {file = "pydantic_core-2.41.5-cp314-cp314t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5cb1b2f9742240e4bb26b652a5aeb840aa4b417c7748b6f8387927bc6e45e40d"}, + {file = "pydantic_core-2.41.5-cp314-cp314t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:bd3d54f38609ff308209bd43acea66061494157703364ae40c951f83ba99a1a9"}, + {file = "pydantic_core-2.41.5-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2ff4321e56e879ee8d2a879501c8e469414d948f4aba74a2d4593184eb326660"}, + {file = "pydantic_core-2.41.5-cp314-cp314t-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:d0d2568a8c11bf8225044aa94409e21da0cb09dcdafe9ecd10250b2baad531a9"}, + {file = "pydantic_core-2.41.5-cp314-cp314t-musllinux_1_1_aarch64.whl", hash = "sha256:a39455728aabd58ceabb03c90e12f71fd30fa69615760a075b9fec596456ccc3"}, + {file = "pydantic_core-2.41.5-cp314-cp314t-musllinux_1_1_armv7l.whl", hash = "sha256:239edca560d05757817c13dc17c50766136d21f7cd0fac50295499ae24f90fdf"}, + {file = "pydantic_core-2.41.5-cp314-cp314t-musllinux_1_1_x86_64.whl", hash = "sha256:2a5e06546e19f24c6a96a129142a75cee553cc018ffee48a460059b1185f4470"}, + {file = "pydantic_core-2.41.5-cp314-cp314t-win32.whl", hash = "sha256:b4ececa40ac28afa90871c2cc2b9ffd2ff0bf749380fbdf57d165fd23da353aa"}, + {file = "pydantic_core-2.41.5-cp314-cp314t-win_amd64.whl", hash = "sha256:80aa89cad80b32a912a65332f64a4450ed00966111b6615ca6816153d3585a8c"}, + {file = "pydantic_core-2.41.5-cp314-cp314t-win_arm64.whl", hash = "sha256:35b44f37a3199f771c3eaa53051bc8a70cd7b54f333531c59e29fd4db5d15008"}, + {file = "pydantic_core-2.41.5-cp39-cp39-macosx_10_12_x86_64.whl", hash = "sha256:8bfeaf8735be79f225f3fefab7f941c712aaca36f1128c9d7e2352ee1aa87bdf"}, + {file = "pydantic_core-2.41.5-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:346285d28e4c8017da95144c7f3acd42740d637ff41946af5ce6e5e420502dd5"}, + {file = "pydantic_core-2.41.5-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a75dafbf87d6276ddc5b2bf6fae5254e3d0876b626eb24969a574fff9149ee5d"}, + {file = "pydantic_core-2.41.5-cp39-cp39-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:7b93a4d08587e2b7e7882de461e82b6ed76d9026ce91ca7915e740ecc7855f60"}, + {file = "pydantic_core-2.41.5-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e8465ab91a4bd96d36dde3263f06caa6a8a6019e4113f24dc753d79a8b3a3f82"}, + {file = "pydantic_core-2.41.5-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:299e0a22e7ae2b85c1a57f104538b2656e8ab1873511fd718a1c1c6f149b77b5"}, + {file = "pydantic_core-2.41.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:707625ef0983fcfb461acfaf14de2067c5942c6bb0f3b4c99158bed6fedd3cf3"}, + {file = "pydantic_core-2.41.5-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:f41eb9797986d6ebac5e8edff36d5cef9de40def462311b3eb3eeded1431e425"}, + {file = "pydantic_core-2.41.5-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:0384e2e1021894b1ff5a786dbf94771e2986ebe2869533874d7e43bc79c6f504"}, + {file = "pydantic_core-2.41.5-cp39-cp39-musllinux_1_1_armv7l.whl", hash = "sha256:f0cd744688278965817fd0839c4a4116add48d23890d468bc436f78beb28abf5"}, + {file = "pydantic_core-2.41.5-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:753e230374206729bf0a807954bcc6c150d3743928a73faffee51ac6557a03c3"}, + {file = "pydantic_core-2.41.5-cp39-cp39-win32.whl", hash = "sha256:873e0d5b4fb9b89ef7c2d2a963ea7d02879d9da0da8d9d4933dee8ee86a8b460"}, + {file = "pydantic_core-2.41.5-cp39-cp39-win_amd64.whl", hash = "sha256:e4f4a984405e91527a0d62649ee21138f8e3d0ef103be488c1dc11a80d7f184b"}, + {file = "pydantic_core-2.41.5-graalpy311-graalpy242_311_native-macosx_10_12_x86_64.whl", hash = "sha256:b96d5f26b05d03cc60f11a7761a5ded1741da411e7fe0909e27a5e6a0cb7b034"}, + {file = "pydantic_core-2.41.5-graalpy311-graalpy242_311_native-macosx_11_0_arm64.whl", hash = "sha256:634e8609e89ceecea15e2d61bc9ac3718caaaa71963717bf3c8f38bfde64242c"}, + {file = "pydantic_core-2.41.5-graalpy311-graalpy242_311_native-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:93e8740d7503eb008aa2df04d3b9735f845d43ae845e6dcd2be0b55a2da43cd2"}, + {file = "pydantic_core-2.41.5-graalpy311-graalpy242_311_native-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f15489ba13d61f670dcc96772e733aad1a6f9c429cc27574c6cdaed82d0146ad"}, + {file = "pydantic_core-2.41.5-graalpy312-graalpy250_312_native-macosx_10_12_x86_64.whl", hash = "sha256:7da7087d756b19037bc2c06edc6c170eeef3c3bafcb8f532ff17d64dc427adfd"}, + {file = "pydantic_core-2.41.5-graalpy312-graalpy250_312_native-macosx_11_0_arm64.whl", hash = "sha256:aabf5777b5c8ca26f7824cb4a120a740c9588ed58df9b2d196ce92fba42ff8dc"}, + {file = "pydantic_core-2.41.5-graalpy312-graalpy250_312_native-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c007fe8a43d43b3969e8469004e9845944f1a80e6acd47c150856bb87f230c56"}, + {file = "pydantic_core-2.41.5-graalpy312-graalpy250_312_native-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:76d0819de158cd855d1cbb8fcafdf6f5cf1eb8e470abe056d5d161106e38062b"}, + {file = "pydantic_core-2.41.5-pp310-pypy310_pp73-macosx_10_12_x86_64.whl", hash = "sha256:b5819cd790dbf0c5eb9f82c73c16b39a65dd6dd4d1439dcdea7816ec9adddab8"}, + {file = "pydantic_core-2.41.5-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:5a4e67afbc95fa5c34cf27d9089bca7fcab4e51e57278d710320a70b956d1b9a"}, + {file = "pydantic_core-2.41.5-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ece5c59f0ce7d001e017643d8d24da587ea1f74f6993467d85ae8a5ef9d4f42b"}, + {file = "pydantic_core-2.41.5-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:16f80f7abe3351f8ea6858914ddc8c77e02578544a0ebc15b4c2e1a0e813b0b2"}, + {file = "pydantic_core-2.41.5-pp310-pypy310_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:33cb885e759a705b426baada1fe68cbb0a2e68e34c5d0d0289a364cf01709093"}, + {file = "pydantic_core-2.41.5-pp310-pypy310_pp73-musllinux_1_1_armv7l.whl", hash = "sha256:c8d8b4eb992936023be7dee581270af5c6e0697a8559895f527f5b7105ecd36a"}, + {file = "pydantic_core-2.41.5-pp310-pypy310_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:242a206cd0318f95cd21bdacff3fcc3aab23e79bba5cac3db5a841c9ef9c6963"}, + {file = "pydantic_core-2.41.5-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:d3a978c4f57a597908b7e697229d996d77a6d3c94901e9edee593adada95ce1a"}, + {file = "pydantic_core-2.41.5-pp311-pypy311_pp73-macosx_10_12_x86_64.whl", hash = "sha256:b2379fa7ed44ddecb5bfe4e48577d752db9fc10be00a6b7446e9663ba143de26"}, + {file = "pydantic_core-2.41.5-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:266fb4cbf5e3cbd0b53669a6d1b039c45e3ce651fd5442eff4d07c2cc8d66808"}, + {file = "pydantic_core-2.41.5-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:58133647260ea01e4d0500089a8c4f07bd7aa6ce109682b1426394988d8aaacc"}, + {file = "pydantic_core-2.41.5-pp311-pypy311_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:287dad91cfb551c363dc62899a80e9e14da1f0e2b6ebde82c806612ca2a13ef1"}, + {file = "pydantic_core-2.41.5-pp311-pypy311_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:03b77d184b9eb40240ae9fd676ca364ce1085f203e1b1256f8ab9984dca80a84"}, + {file = "pydantic_core-2.41.5-pp311-pypy311_pp73-musllinux_1_1_armv7l.whl", hash = "sha256:a668ce24de96165bb239160b3d854943128f4334822900534f2fe947930e5770"}, + {file = "pydantic_core-2.41.5-pp311-pypy311_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:f14f8f046c14563f8eb3f45f499cc658ab8d10072961e07225e507adb700e93f"}, + {file = "pydantic_core-2.41.5-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:56121965f7a4dc965bff783d70b907ddf3d57f6eba29b6d2e5dabfaf07799c51"}, + {file = "pydantic_core-2.41.5.tar.gz", hash = "sha256:08daa51ea16ad373ffd5e7606252cc32f07bc72b28284b6bc9c6df804816476e"}, ] [package.dependencies] -typing-extensions = ">=4.6.0,<4.7.0 || >4.7.0" +typing-extensions = ">=4.14.1" [[package]] name = "pytest" @@ -581,13 +613,13 @@ testing = ["coverage (>=6.2)", "hypothesis (>=5.7.1)"] [[package]] name = "pytest-xdist" -version = "3.6.1" +version = "3.8.0" description = "pytest xdist plugin for distributed testing, most importantly across multiple CPUs" optional = false -python-versions = ">=3.8" +python-versions = ">=3.9" files = [ - {file = "pytest_xdist-3.6.1-py3-none-any.whl", hash = "sha256:9ed4adfb68a016610848639bb7e02c9352d5d9f03d04809919e2dafc3be4cca7"}, - {file = "pytest_xdist-3.6.1.tar.gz", hash = "sha256:ead156a4db231eec769737f57668ef58a2084a34b2e55c4a8fa20d861107300d"}, + {file = "pytest_xdist-3.8.0-py3-none-any.whl", hash = "sha256:202ca578cfeb7370784a8c33d6d05bc6e13b4f25b5053c30a152269fd10f0b88"}, + {file = "pytest_xdist-3.8.0.tar.gz", hash = "sha256:7e578125ec9bc6050861aa93f2d59f1d8d085595d6551c2c90b6f4fad8d3a9f1"}, ] [package.dependencies] @@ -615,13 +647,13 @@ six = ">=1.5" [[package]] name = "requests" -version = "2.32.4" +version = "2.32.5" description = "Python HTTP for Humans." optional = false -python-versions = ">=3.8" +python-versions = ">=3.9" files = [ - {file = "requests-2.32.4-py3-none-any.whl", hash = "sha256:27babd3cda2a6d50b30443204ee89830707d396671944c998b5975b031ac2b2c"}, - {file = "requests-2.32.4.tar.gz", hash = "sha256:27d0316682c8a29834d3264820024b62a36942083d52caf2f14c0591336d3422"}, + {file = "requests-2.32.5-py3-none-any.whl", hash = "sha256:2462f94637a34fd532264295e186976db0f5d453d1cdd31473c85a6a161affb6"}, + {file = "requests-2.32.5.tar.gz", hash = "sha256:dbba0bac56e100853db0ea71b82b4dfd5fe2bf6d3754a8893c3af500cec7d7cf"}, ] [package.dependencies] @@ -672,17 +704,6 @@ files = [ {file = "six-1.17.0.tar.gz", hash = "sha256:ff70335d468e7eb6ec65b95b99d3a2836546063f63acc5171de367e834932a81"}, ] -[[package]] -name = "sniffio" -version = "1.3.1" -description = "Sniff out which async library your code is running under" -optional = false -python-versions = ">=3.7" -files = [ - {file = "sniffio-1.3.1-py3-none-any.whl", hash = "sha256:2f6da418d1f1e0fddd844478f41680e794e6051915791a034ff65e5f100525a2"}, - {file = "sniffio-1.3.1.tar.gz", hash = "sha256:f4324edc670a0f49750a81b895f35c3adb843cca46f0530f79fc1babb23789dc"}, -] - [[package]] name = "tomli" version = "2.4.0" @@ -741,147 +762,136 @@ files = [ [[package]] name = "types-pyaudio" -version = "0.2.16.20240516" +version = "0.2.16.20250801" description = "Typing stubs for pyaudio" optional = false -python-versions = ">=3.8" +python-versions = ">=3.9" files = [ - {file = "types-pyaudio-0.2.16.20240516.tar.gz", hash = "sha256:f1c419ccc78b00d26c6c1ae4fcb17f7e4f08af2c2b9b73b12fcbc4a4ffa3a2c7"}, - {file = "types_pyaudio-0.2.16.20240516-py3-none-any.whl", hash = "sha256:40063f13ae15a422cbd4a2a783653eb3e1091bdd23fc7ab8ca3abc21ad0d13f8"}, + {file = "types_pyaudio-0.2.16.20250801-py3-none-any.whl", hash = "sha256:1b6d293e0d511108b1d13575868e87fba6ea9056900aee4f8440e0fdc89f9f75"}, + {file = "types_pyaudio-0.2.16.20250801.tar.gz", hash = "sha256:c6ff1b9681f67c1f14d8d86804b99fe5b1fa79f88c5a1ec0367fccfc183e095d"}, ] [[package]] name = "types-python-dateutil" -version = "2.9.0.20241206" +version = "2.9.0.20260305" description = "Typing stubs for python-dateutil" optional = false -python-versions = ">=3.8" +python-versions = ">=3.10" files = [ - {file = "types_python_dateutil-2.9.0.20241206-py3-none-any.whl", hash = "sha256:e248a4bc70a486d3e3ec84d0dc30eec3a5f979d6e7ee4123ae043eedbb987f53"}, - {file = "types_python_dateutil-2.9.0.20241206.tar.gz", hash = "sha256:18f493414c26ffba692a72369fea7a154c502646301ebfe3d56a04b3767284cb"}, + {file = "types_python_dateutil-2.9.0.20260305-py3-none-any.whl", hash = "sha256:a3be9ca444d38cadabd756cfbb29780d8b338ae2a3020e73c266a83cc3025dd7"}, + {file = "types_python_dateutil-2.9.0.20260305.tar.gz", hash = "sha256:389717c9f64d8f769f36d55a01873915b37e97e52ce21928198d210fbd393c8b"}, ] [[package]] name = "typing-extensions" -version = "4.13.2" -description = "Backported and Experimental Type Hints for Python 3.8+" +version = "4.15.0" +description = "Backported and Experimental Type Hints for Python 3.9+" optional = false -python-versions = ">=3.8" +python-versions = ">=3.9" files = [ - {file = "typing_extensions-4.13.2-py3-none-any.whl", hash = "sha256:a439e7c04b49fec3e5d3e2beaa21755cadbbdc391694e28ccdd36ca4a1408f8c"}, - {file = "typing_extensions-4.13.2.tar.gz", hash = "sha256:e6c81219bd689f51865d9e372991c540bda33a0379d5573cddb9a3a23f7caaef"}, + {file = "typing_extensions-4.15.0-py3-none-any.whl", hash = "sha256:f0fa19c6845758ab08074a0cfa8b7aecb71c999ca73d62883bc25cc018c4e548"}, + {file = "typing_extensions-4.15.0.tar.gz", hash = "sha256:0cea48d173cc12fa28ecabc3b837ea3cf6f38c6d1136f85cbaaf598984861466"}, ] +[[package]] +name = "typing-inspection" +version = "0.4.2" +description = "Runtime typing introspection tools" +optional = false +python-versions = ">=3.9" +files = [ + {file = "typing_inspection-0.4.2-py3-none-any.whl", hash = "sha256:4ed1cacbdc298c220f1bd249ed5287caa16f34d44ef4e9c3d0cbad5b521545e7"}, + {file = "typing_inspection-0.4.2.tar.gz", hash = "sha256:ba561c48a67c5958007083d386c3295464928b01faa735ab8547c5692e87f464"}, +] + +[package.dependencies] +typing-extensions = ">=4.12.0" + [[package]] name = "urllib3" -version = "2.2.3" +version = "2.6.3" description = "HTTP library with thread-safe connection pooling, file post, and more." optional = false -python-versions = ">=3.8" +python-versions = ">=3.9" files = [ - {file = "urllib3-2.2.3-py3-none-any.whl", hash = "sha256:ca899ca043dcb1bafa3e262d73aa25c465bfb49e0bd9dd5d59f1d0acba2f8fac"}, - {file = "urllib3-2.2.3.tar.gz", hash = "sha256:e7d814a81dad81e6caf2ec9fdedb284ecc9c73076b62654547cc64ccdcae26e9"}, + {file = "urllib3-2.6.3-py3-none-any.whl", hash = "sha256:bf272323e553dfb2e87d9bfd225ca7b0f467b919d7bbd355436d3fd37cb0acd4"}, + {file = "urllib3-2.6.3.tar.gz", hash = "sha256:1b62b6884944a57dbe321509ab94fd4d3b307075e0c2eae991ac71ee15ad38ed"}, ] [package.extras] -brotli = ["brotli (>=1.0.9)", "brotlicffi (>=0.8.0)"] +brotli = ["brotli (>=1.2.0)", "brotlicffi (>=1.2.0.0)"] h2 = ["h2 (>=4,<5)"] socks = ["pysocks (>=1.5.6,!=1.5.7,<2.0)"] -zstd = ["zstandard (>=0.18.0)"] +zstd = ["backports-zstd (>=1.0.0)"] [[package]] name = "websockets" -version = "13.1" +version = "16.0" description = "An implementation of the WebSocket Protocol (RFC 6455 & 7692)" optional = false -python-versions = ">=3.8" -files = [ - {file = "websockets-13.1-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:f48c749857f8fb598fb890a75f540e3221d0976ed0bf879cf3c7eef34151acee"}, - {file = "websockets-13.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:c7e72ce6bda6fb9409cc1e8164dd41d7c91466fb599eb047cfda72fe758a34a7"}, - {file = "websockets-13.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:f779498eeec470295a2b1a5d97aa1bc9814ecd25e1eb637bd9d1c73a327387f6"}, - {file = "websockets-13.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4676df3fe46956fbb0437d8800cd5f2b6d41143b6e7e842e60554398432cf29b"}, - {file = "websockets-13.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a7affedeb43a70351bb811dadf49493c9cfd1ed94c9c70095fd177e9cc1541fa"}, - {file = "websockets-13.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1971e62d2caa443e57588e1d82d15f663b29ff9dfe7446d9964a4b6f12c1e700"}, - {file = "websockets-13.1-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:5f2e75431f8dc4a47f31565a6e1355fb4f2ecaa99d6b89737527ea917066e26c"}, - {file = "websockets-13.1-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:58cf7e75dbf7e566088b07e36ea2e3e2bd5676e22216e4cad108d4df4a7402a0"}, - {file = "websockets-13.1-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:c90d6dec6be2c7d03378a574de87af9b1efea77d0c52a8301dd831ece938452f"}, - {file = "websockets-13.1-cp310-cp310-win32.whl", hash = "sha256:730f42125ccb14602f455155084f978bd9e8e57e89b569b4d7f0f0c17a448ffe"}, - {file = "websockets-13.1-cp310-cp310-win_amd64.whl", hash = "sha256:5993260f483d05a9737073be197371940c01b257cc45ae3f1d5d7adb371b266a"}, - {file = "websockets-13.1-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:61fc0dfcda609cda0fc9fe7977694c0c59cf9d749fbb17f4e9483929e3c48a19"}, - {file = "websockets-13.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:ceec59f59d092c5007e815def4ebb80c2de330e9588e101cf8bd94c143ec78a5"}, - {file = "websockets-13.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:c1dca61c6db1166c48b95198c0b7d9c990b30c756fc2923cc66f68d17dc558fd"}, - {file = "websockets-13.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:308e20f22c2c77f3f39caca508e765f8725020b84aa963474e18c59accbf4c02"}, - {file = "websockets-13.1-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:62d516c325e6540e8a57b94abefc3459d7dab8ce52ac75c96cad5549e187e3a7"}, - {file = "websockets-13.1-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:87c6e35319b46b99e168eb98472d6c7d8634ee37750d7693656dc766395df096"}, - {file = "websockets-13.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:5f9fee94ebafbc3117c30be1844ed01a3b177bb6e39088bc6b2fa1dc15572084"}, - {file = "websockets-13.1-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:7c1e90228c2f5cdde263253fa5db63e6653f1c00e7ec64108065a0b9713fa1b3"}, - {file = "websockets-13.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:6548f29b0e401eea2b967b2fdc1c7c7b5ebb3eeb470ed23a54cd45ef078a0db9"}, - {file = "websockets-13.1-cp311-cp311-win32.whl", hash = "sha256:c11d4d16e133f6df8916cc5b7e3e96ee4c44c936717d684a94f48f82edb7c92f"}, - {file = "websockets-13.1-cp311-cp311-win_amd64.whl", hash = "sha256:d04f13a1d75cb2b8382bdc16ae6fa58c97337253826dfe136195b7f89f661557"}, - {file = "websockets-13.1-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:9d75baf00138f80b48f1eac72ad1535aac0b6461265a0bcad391fc5aba875cfc"}, - {file = "websockets-13.1-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:9b6f347deb3dcfbfde1c20baa21c2ac0751afaa73e64e5b693bb2b848efeaa49"}, - {file = "websockets-13.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:de58647e3f9c42f13f90ac7e5f58900c80a39019848c5547bc691693098ae1bd"}, - {file = "websockets-13.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a1b54689e38d1279a51d11e3467dd2f3a50f5f2e879012ce8f2d6943f00e83f0"}, - {file = "websockets-13.1-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:cf1781ef73c073e6b0f90af841aaf98501f975d306bbf6221683dd594ccc52b6"}, - {file = "websockets-13.1-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8d23b88b9388ed85c6faf0e74d8dec4f4d3baf3ecf20a65a47b836d56260d4b9"}, - {file = "websockets-13.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:3c78383585f47ccb0fcf186dcb8a43f5438bd7d8f47d69e0b56f71bf431a0a68"}, - {file = "websockets-13.1-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:d6d300f8ec35c24025ceb9b9019ae9040c1ab2f01cddc2bcc0b518af31c75c14"}, - {file = "websockets-13.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:a9dcaf8b0cc72a392760bb8755922c03e17a5a54e08cca58e8b74f6902b433cf"}, - {file = "websockets-13.1-cp312-cp312-win32.whl", hash = "sha256:2f85cf4f2a1ba8f602298a853cec8526c2ca42a9a4b947ec236eaedb8f2dc80c"}, - {file = "websockets-13.1-cp312-cp312-win_amd64.whl", hash = "sha256:38377f8b0cdeee97c552d20cf1865695fcd56aba155ad1b4ca8779a5b6ef4ac3"}, - {file = "websockets-13.1-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:a9ab1e71d3d2e54a0aa646ab6d4eebfaa5f416fe78dfe4da2839525dc5d765c6"}, - {file = "websockets-13.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:b9d7439d7fab4dce00570bb906875734df13d9faa4b48e261c440a5fec6d9708"}, - {file = "websockets-13.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:327b74e915cf13c5931334c61e1a41040e365d380f812513a255aa804b183418"}, - {file = "websockets-13.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:325b1ccdbf5e5725fdcb1b0e9ad4d2545056479d0eee392c291c1bf76206435a"}, - {file = "websockets-13.1-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:346bee67a65f189e0e33f520f253d5147ab76ae42493804319b5716e46dddf0f"}, - {file = "websockets-13.1-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:91a0fa841646320ec0d3accdff5b757b06e2e5c86ba32af2e0815c96c7a603c5"}, - {file = "websockets-13.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:18503d2c5f3943e93819238bf20df71982d193f73dcecd26c94514f417f6b135"}, - {file = "websockets-13.1-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:a9cd1af7e18e5221d2878378fbc287a14cd527fdd5939ed56a18df8a31136bb2"}, - {file = "websockets-13.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:70c5be9f416aa72aab7a2a76c90ae0a4fe2755c1816c153c1a2bcc3333ce4ce6"}, - {file = "websockets-13.1-cp313-cp313-win32.whl", hash = "sha256:624459daabeb310d3815b276c1adef475b3e6804abaf2d9d2c061c319f7f187d"}, - {file = "websockets-13.1-cp313-cp313-win_amd64.whl", hash = "sha256:c518e84bb59c2baae725accd355c8dc517b4a3ed8db88b4bc93c78dae2974bf2"}, - {file = "websockets-13.1-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:c7934fd0e920e70468e676fe7f1b7261c1efa0d6c037c6722278ca0228ad9d0d"}, - {file = "websockets-13.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:149e622dc48c10ccc3d2760e5f36753db9cacf3ad7bc7bbbfd7d9c819e286f23"}, - {file = "websockets-13.1-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:a569eb1b05d72f9bce2ebd28a1ce2054311b66677fcd46cf36204ad23acead8c"}, - {file = "websockets-13.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:95df24ca1e1bd93bbca51d94dd049a984609687cb2fb08a7f2c56ac84e9816ea"}, - {file = "websockets-13.1-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:d8dbb1bf0c0a4ae8b40bdc9be7f644e2f3fb4e8a9aca7145bfa510d4a374eeb7"}, - {file = "websockets-13.1-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:035233b7531fb92a76beefcbf479504db8c72eb3bff41da55aecce3a0f729e54"}, - {file = "websockets-13.1-cp38-cp38-musllinux_1_2_aarch64.whl", hash = "sha256:e4450fc83a3df53dec45922b576e91e94f5578d06436871dce3a6be38e40f5db"}, - {file = "websockets-13.1-cp38-cp38-musllinux_1_2_i686.whl", hash = "sha256:463e1c6ec853202dd3657f156123d6b4dad0c546ea2e2e38be2b3f7c5b8e7295"}, - {file = "websockets-13.1-cp38-cp38-musllinux_1_2_x86_64.whl", hash = "sha256:6d6855bbe70119872c05107e38fbc7f96b1d8cb047d95c2c50869a46c65a8e96"}, - {file = "websockets-13.1-cp38-cp38-win32.whl", hash = "sha256:204e5107f43095012b00f1451374693267adbb832d29966a01ecc4ce1db26faf"}, - {file = "websockets-13.1-cp38-cp38-win_amd64.whl", hash = "sha256:485307243237328c022bc908b90e4457d0daa8b5cf4b3723fd3c4a8012fce4c6"}, - {file = "websockets-13.1-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:9b37c184f8b976f0c0a231a5f3d6efe10807d41ccbe4488df8c74174805eea7d"}, - {file = "websockets-13.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:163e7277e1a0bd9fb3c8842a71661ad19c6aa7bb3d6678dc7f89b17fbcc4aeb7"}, - {file = "websockets-13.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:4b889dbd1342820cc210ba44307cf75ae5f2f96226c0038094455a96e64fb07a"}, - {file = "websockets-13.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:586a356928692c1fed0eca68b4d1c2cbbd1ca2acf2ac7e7ebd3b9052582deefa"}, - {file = "websockets-13.1-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7bd6abf1e070a6b72bfeb71049d6ad286852e285f146682bf30d0296f5fbadfa"}, - {file = "websockets-13.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6d2aad13a200e5934f5a6767492fb07151e1de1d6079c003ab31e1823733ae79"}, - {file = "websockets-13.1-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:df01aea34b6e9e33572c35cd16bae5a47785e7d5c8cb2b54b2acdb9678315a17"}, - {file = "websockets-13.1-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:e54affdeb21026329fb0744ad187cf812f7d3c2aa702a5edb562b325191fcab6"}, - {file = "websockets-13.1-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:9ef8aa8bdbac47f4968a5d66462a2a0935d044bf35c0e5a8af152d58516dbeb5"}, - {file = "websockets-13.1-cp39-cp39-win32.whl", hash = "sha256:deeb929efe52bed518f6eb2ddc00cc496366a14c726005726ad62c2dd9017a3c"}, - {file = "websockets-13.1-cp39-cp39-win_amd64.whl", hash = "sha256:7c65ffa900e7cc958cd088b9a9157a8141c991f8c53d11087e6fb7277a03f81d"}, - {file = "websockets-13.1-pp310-pypy310_pp73-macosx_10_15_x86_64.whl", hash = "sha256:5dd6da9bec02735931fccec99d97c29f47cc61f644264eb995ad6c0c27667238"}, - {file = "websockets-13.1-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:2510c09d8e8df777177ee3d40cd35450dc169a81e747455cc4197e63f7e7bfe5"}, - {file = "websockets-13.1-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f1c3cf67185543730888b20682fb186fc8d0fa6f07ccc3ef4390831ab4b388d9"}, - {file = "websockets-13.1-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:bcc03c8b72267e97b49149e4863d57c2d77f13fae12066622dc78fe322490fe6"}, - {file = "websockets-13.1-pp310-pypy310_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:004280a140f220c812e65f36944a9ca92d766b6cc4560be652a0a3883a79ed8a"}, - {file = "websockets-13.1-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:e2620453c075abeb0daa949a292e19f56de518988e079c36478bacf9546ced23"}, - {file = "websockets-13.1-pp38-pypy38_pp73-macosx_10_9_x86_64.whl", hash = "sha256:9156c45750b37337f7b0b00e6248991a047be4aa44554c9886fe6bdd605aab3b"}, - {file = "websockets-13.1-pp38-pypy38_pp73-macosx_11_0_arm64.whl", hash = "sha256:80c421e07973a89fbdd93e6f2003c17d20b69010458d3a8e37fb47874bd67d51"}, - {file = "websockets-13.1-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:82d0ba76371769d6a4e56f7e83bb8e81846d17a6190971e38b5de108bde9b0d7"}, - {file = "websockets-13.1-pp38-pypy38_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:e9875a0143f07d74dc5e1ded1c4581f0d9f7ab86c78994e2ed9e95050073c94d"}, - {file = "websockets-13.1-pp38-pypy38_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a11e38ad8922c7961447f35c7b17bffa15de4d17c70abd07bfbe12d6faa3e027"}, - {file = "websockets-13.1-pp38-pypy38_pp73-win_amd64.whl", hash = "sha256:4059f790b6ae8768471cddb65d3c4fe4792b0ab48e154c9f0a04cefaabcd5978"}, - {file = "websockets-13.1-pp39-pypy39_pp73-macosx_10_15_x86_64.whl", hash = "sha256:25c35bf84bf7c7369d247f0b8cfa157f989862c49104c5cf85cb5436a641d93e"}, - {file = "websockets-13.1-pp39-pypy39_pp73-macosx_11_0_arm64.whl", hash = "sha256:83f91d8a9bb404b8c2c41a707ac7f7f75b9442a0a876df295de27251a856ad09"}, - {file = "websockets-13.1-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7a43cfdcddd07f4ca2b1afb459824dd3c6d53a51410636a2c7fc97b9a8cf4842"}, - {file = "websockets-13.1-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:48a2ef1381632a2f0cb4efeff34efa97901c9fbc118e01951ad7cfc10601a9bb"}, - {file = "websockets-13.1-pp39-pypy39_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:459bf774c754c35dbb487360b12c5727adab887f1622b8aed5755880a21c4a20"}, - {file = "websockets-13.1-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:95858ca14a9f6fa8413d29e0a585b31b278388aa775b8a81fa24830123874678"}, - {file = "websockets-13.1-py3-none-any.whl", hash = "sha256:a9a396a6ad26130cdae92ae10c36af09d9bfe6cafe69670fd3b6da9b07b4044f"}, - {file = "websockets-13.1.tar.gz", hash = "sha256:a3b3366087c1bc0a2795111edcadddb8b3b59509d5db5d7ea3fdd69f954a8878"}, +python-versions = ">=3.10" +files = [ + {file = "websockets-16.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:04cdd5d2d1dacbad0a7bf36ccbcd3ccd5a30ee188f2560b7a62a30d14107b31a"}, + {file = "websockets-16.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:8ff32bb86522a9e5e31439a58addbb0166f0204d64066fb955265c4e214160f0"}, + {file = "websockets-16.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:583b7c42688636f930688d712885cf1531326ee05effd982028212ccc13e5957"}, + {file = "websockets-16.0-cp310-cp310-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:7d837379b647c0c4c2355c2499723f82f1635fd2c26510e1f587d89bc2199e72"}, + {file = "websockets-16.0-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:df57afc692e517a85e65b72e165356ed1df12386ecb879ad5693be08fac65dde"}, + {file = "websockets-16.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:2b9f1e0d69bc60a4a87349d50c09a037a2607918746f07de04df9e43252c77a3"}, + {file = "websockets-16.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:335c23addf3d5e6a8633f9f8eda77efad001671e80b95c491dd0924587ece0b3"}, + {file = "websockets-16.0-cp310-cp310-win32.whl", hash = "sha256:37b31c1623c6605e4c00d466c9d633f9b812ea430c11c8a278774a1fde1acfa9"}, + {file = "websockets-16.0-cp310-cp310-win_amd64.whl", hash = "sha256:8e1dab317b6e77424356e11e99a432b7cb2f3ec8c5ab4dabbcee6add48f72b35"}, + {file = "websockets-16.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:31a52addea25187bde0797a97d6fc3d2f92b6f72a9370792d65a6e84615ac8a8"}, + {file = "websockets-16.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:417b28978cdccab24f46400586d128366313e8a96312e4b9362a4af504f3bbad"}, + {file = "websockets-16.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:af80d74d4edfa3cb9ed973a0a5ba2b2a549371f8a741e0800cb07becdd20f23d"}, + {file = "websockets-16.0-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:08d7af67b64d29823fed316505a89b86705f2b7981c07848fb5e3ea3020c1abe"}, + {file = "websockets-16.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7be95cfb0a4dae143eaed2bcba8ac23f4892d8971311f1b06f3c6b78952ee70b"}, + {file = "websockets-16.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:d6297ce39ce5c2e6feb13c1a996a2ded3b6832155fcfc920265c76f24c7cceb5"}, + {file = "websockets-16.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:1c1b30e4f497b0b354057f3467f56244c603a79c0d1dafce1d16c283c25f6e64"}, + {file = "websockets-16.0-cp311-cp311-win32.whl", hash = "sha256:5f451484aeb5cafee1ccf789b1b66f535409d038c56966d6101740c1614b86c6"}, + {file = "websockets-16.0-cp311-cp311-win_amd64.whl", hash = "sha256:8d7f0659570eefb578dacde98e24fb60af35350193e4f56e11190787bee77dac"}, + {file = "websockets-16.0-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:71c989cbf3254fbd5e84d3bff31e4da39c43f884e64f2551d14bb3c186230f00"}, + {file = "websockets-16.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:8b6e209ffee39ff1b6d0fa7bfef6de950c60dfb91b8fcead17da4ee539121a79"}, + {file = "websockets-16.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:86890e837d61574c92a97496d590968b23c2ef0aeb8a9bc9421d174cd378ae39"}, + {file = "websockets-16.0-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:9b5aca38b67492ef518a8ab76851862488a478602229112c4b0d58d63a7a4d5c"}, + {file = "websockets-16.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e0334872c0a37b606418ac52f6ab9cfd17317ac26365f7f65e203e2d0d0d359f"}, + {file = "websockets-16.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:a0b31e0b424cc6b5a04b8838bbaec1688834b2383256688cf47eb97412531da1"}, + {file = "websockets-16.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:485c49116d0af10ac698623c513c1cc01c9446c058a4e61e3bf6c19dff7335a2"}, + {file = "websockets-16.0-cp312-cp312-win32.whl", hash = "sha256:eaded469f5e5b7294e2bdca0ab06becb6756ea86894a47806456089298813c89"}, + {file = "websockets-16.0-cp312-cp312-win_amd64.whl", hash = "sha256:5569417dc80977fc8c2d43a86f78e0a5a22fee17565d78621b6bb264a115d4ea"}, + {file = "websockets-16.0-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:878b336ac47938b474c8f982ac2f7266a540adc3fa4ad74ae96fea9823a02cc9"}, + {file = "websockets-16.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:52a0fec0e6c8d9a784c2c78276a48a2bdf099e4ccc2a4cad53b27718dbfd0230"}, + {file = "websockets-16.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:e6578ed5b6981005df1860a56e3617f14a6c307e6a71b4fff8c48fdc50f3ed2c"}, + {file = "websockets-16.0-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:95724e638f0f9c350bb1c2b0a7ad0e83d9cc0c9259f3ea94e40d7b02a2179ae5"}, + {file = "websockets-16.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c0204dc62a89dc9d50d682412c10b3542d748260d743500a85c13cd1ee4bde82"}, + {file = "websockets-16.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:52ac480f44d32970d66763115edea932f1c5b1312de36df06d6b219f6741eed8"}, + {file = "websockets-16.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:6e5a82b677f8f6f59e8dfc34ec06ca6b5b48bc4fcda346acd093694cc2c24d8f"}, + {file = "websockets-16.0-cp313-cp313-win32.whl", hash = "sha256:abf050a199613f64c886ea10f38b47770a65154dc37181bfaff70c160f45315a"}, + {file = "websockets-16.0-cp313-cp313-win_amd64.whl", hash = "sha256:3425ac5cf448801335d6fdc7ae1eb22072055417a96cc6b31b3861f455fbc156"}, + {file = "websockets-16.0-cp314-cp314-macosx_10_15_universal2.whl", hash = "sha256:8cc451a50f2aee53042ac52d2d053d08bf89bcb31ae799cb4487587661c038a0"}, + {file = "websockets-16.0-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:daa3b6ff70a9241cf6c7fc9e949d41232d9d7d26fd3522b1ad2b4d62487e9904"}, + {file = "websockets-16.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:fd3cb4adb94a2a6e2b7c0d8d05cb94e6f1c81a0cf9dc2694fb65c7e8d94c42e4"}, + {file = "websockets-16.0-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:781caf5e8eee67f663126490c2f96f40906594cb86b408a703630f95550a8c3e"}, + {file = "websockets-16.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:caab51a72c51973ca21fa8a18bd8165e1a0183f1ac7066a182ff27107b71e1a4"}, + {file = "websockets-16.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:19c4dc84098e523fd63711e563077d39e90ec6702aff4b5d9e344a60cb3c0cb1"}, + {file = "websockets-16.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:a5e18a238a2b2249c9a9235466b90e96ae4795672598a58772dd806edc7ac6d3"}, + {file = "websockets-16.0-cp314-cp314-win32.whl", hash = "sha256:a069d734c4a043182729edd3e9f247c3b2a4035415a9172fd0f1b71658a320a8"}, + {file = "websockets-16.0-cp314-cp314-win_amd64.whl", hash = "sha256:c0ee0e63f23914732c6d7e0cce24915c48f3f1512ec1d079ed01fc629dab269d"}, + {file = "websockets-16.0-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:a35539cacc3febb22b8f4d4a99cc79b104226a756aa7400adc722e83b0d03244"}, + {file = "websockets-16.0-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:b784ca5de850f4ce93ec85d3269d24d4c82f22b7212023c974c401d4980ebc5e"}, + {file = "websockets-16.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:569d01a4e7fba956c5ae4fc988f0d4e187900f5497ce46339c996dbf24f17641"}, + {file = "websockets-16.0-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:50f23cdd8343b984957e4077839841146f67a3d31ab0d00e6b824e74c5b2f6e8"}, + {file = "websockets-16.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:152284a83a00c59b759697b7f9e9cddf4e3c7861dd0d964b472b70f78f89e80e"}, + {file = "websockets-16.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:bc59589ab64b0022385f429b94697348a6a234e8ce22544e3681b2e9331b5944"}, + {file = "websockets-16.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:32da954ffa2814258030e5a57bc73a3635463238e797c7375dc8091327434206"}, + {file = "websockets-16.0-cp314-cp314t-win32.whl", hash = "sha256:5a4b4cc550cb665dd8a47f868c8d04c8230f857363ad3c9caf7a0c3bf8c61ca6"}, + {file = "websockets-16.0-cp314-cp314t-win_amd64.whl", hash = "sha256:b14dc141ed6d2dde437cddb216004bcac6a1df0935d79656387bd41632ba0bbd"}, + {file = "websockets-16.0-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:349f83cd6c9a415428ee1005cadb5c2c56f4389bc06a9af16103c3bc3dcc8b7d"}, + {file = "websockets-16.0-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:4a1aba3340a8dca8db6eb5a7986157f52eb9e436b74813764241981ca4888f03"}, + {file = "websockets-16.0-pp311-pypy311_pp73-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:f4a32d1bd841d4bcbffdcb3d2ce50c09c3909fbead375ab28d0181af89fd04da"}, + {file = "websockets-16.0-pp311-pypy311_pp73-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:0298d07ee155e2e9fda5be8a9042200dd2e3bb0b8a38482156576f863a9d457c"}, + {file = "websockets-16.0-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:a653aea902e0324b52f1613332ddf50b00c06fdaf7e92624fbf8c77c78fa5767"}, + {file = "websockets-16.0-py3-none-any.whl", hash = "sha256:1637db62fad1dc833276dded54215f2c7fa46912301a24bd94d45d46a011ceec"}, + {file = "websockets-16.0.tar.gz", hash = "sha256:5f6261a5e56e8d5c42a4497b364ea24d94d9563e8fbd44e78ac40879c60179b5"}, ] [extras] @@ -889,5 +899,5 @@ pyaudio = ["pyaudio"] [metadata] lock-version = "2.0" -python-versions = "^3.8" -content-hash = "a8fce45cc9d1eb9a0e4571fe98cf295ee4727d6aaac7fd470566cc5edad30d13" +python-versions = "^3.10" +content-hash = "b9e4d5cdefbdd68fba4ce9793b94010ac6a88b54e0409f18e6340827907141b8" diff --git a/pyproject.toml b/pyproject.toml index 56852ff4..3b7b7b19 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ dynamic = ["version"] [tool.poetry] name = "elevenlabs" -version = "v2.39.0" +version = "2.39.1" description = "" readme = "README.md" authors = [] @@ -14,11 +14,12 @@ classifiers = [ "Intended Audience :: Developers", "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", + "Programming Language :: Python :: 3.15", "Operating System :: OS Independent", "Operating System :: POSIX", "Operating System :: MacOS", @@ -36,7 +37,7 @@ packages = [ Repository = 'https://github.com/elevenlabs/elevenlabs-python' [tool.poetry.dependencies] -python = "^3.8" +python = "^3.10" httpx = ">=0.21.2" pyaudio = { version = ">=0.2.14", optional = true} pydantic = ">= 1.9.2" diff --git a/reference.md b/reference.md index 3685e26e..dd097d9d 100644 --- a/reference.md +++ b/reference.md @@ -1,5 +1,5 @@ # Reference -
client.delete_v_1_convai_agents_agent_id_branches_branch_id(...) +
client.delete_v_1_convai_agents_agent_id_branches_branch_id(...)
@@ -13,10 +13,13 @@ ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.delete_v_1_convai_agents_agent_id_branches_branch_id( agent_id="agent_id", branch_id="branch_id", @@ -64,7 +67,7 @@ client.delete_v_1_convai_agents_agent_id_branches_branch_id(
-
client.save_a_voice_preview() +
client.save_a_voice_preview()
@@ -92,10 +95,13 @@ Add a generated voice to the voice library. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.save_a_voice_preview() ``` @@ -125,7 +131,7 @@ client.save_a_voice_preview()
## History -
client.history.list(...) +
client.history.list(...) -> GetSpeechHistoryResponse
@@ -153,10 +159,13 @@ Returns a list of your generated audio. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.history.list( page_size=1, start_after_history_item_id="start_after_history_item_id", @@ -267,7 +276,7 @@ client.history.list(
-
client.history.get(...) +
client.history.get(...) -> SpeechHistoryItemResponse
@@ -295,10 +304,13 @@ Retrieves a history item. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.history.get( history_item_id="VW7YKqPnjY4h39yTbx2L", ) @@ -337,7 +349,7 @@ client.history.get(
-
client.history.delete(...) +
client.history.delete(...) -> DeleteHistoryItemResponse
@@ -365,10 +377,13 @@ Delete a history item by its ID ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.history.delete( history_item_id="VW7YKqPnjY4h39yTbx2L", ) @@ -407,7 +422,7 @@ client.history.delete(
-
client.history.get_audio(...) +
client.history.get_audio(...) -> typing.Iterator[bytes]
@@ -435,10 +450,13 @@ Returns the audio of an history item. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.history.get_audio( history_item_id="history_item_id", ) @@ -465,7 +483,7 @@ client.history.get_audio(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. You can pass in configuration such as `chunk_size`, and more to customize the request and response. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -477,7 +495,7 @@ client.history.get_audio(
-
client.history.download(...) +
client.history.download(...) -> typing.Iterator[bytes]
@@ -505,12 +523,18 @@ Download one or more history items. If one history item ID is provided, we will ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.history.download( - history_item_ids=["history_item_ids", "history_item_ids"], + history_item_ids=[ + "history_item_ids", + "history_item_ids" + ], ) ``` @@ -527,7 +551,7 @@ client.history.download(
-**history_item_ids:** `typing.Sequence[str]` — A list of history items to download, you can get IDs of history items and other metadata using the GET https://api.elevenlabs.io/v1/history endpoint. +**history_item_ids:** `typing.List[str]` — A list of history items to download, you can get IDs of history items and other metadata using the GET https://api.elevenlabs.io/v1/history endpoint.
@@ -543,7 +567,7 @@ client.history.download(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. You can pass in configuration such as `chunk_size`, and more to customize the request and response. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -556,7 +580,7 @@ client.history.download(
## TextToSoundEffects -
client.text_to_sound_effects.convert(...) +
client.text_to_sound_effects.convert(...) -> typing.Iterator[bytes]
@@ -584,10 +608,13 @@ Turn text into sound effects for your videos, voice-overs or video games using t ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.text_to_sound_effects.convert( text="Spacious braam suitable for high-impact movie trailer moments", ) @@ -654,7 +681,7 @@ client.text_to_sound_effects.convert(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. You can pass in configuration such as `chunk_size`, and more to customize the request and response. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -667,8 +694,156 @@ client.text_to_sound_effects.convert(
## AudioIsolation +
client.audio_isolation.convert(...) -> typing.Iterator[bytes] +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Removes background noise from audio. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +client.audio_isolation.convert(...) +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**audio:** `core.File` — The audio file from which vocals/speech will be isolated from. + +
+
+ +
+
+ +**file_format:** `typing.Optional[AudioIsolationConvertRequestFileFormat]` — The format of input audio. Options are 'pcm_s16le_16' or 'other' For `pcm_s16le_16`, the input audio must be 16-bit PCM at a 16kHz sample rate, single channel (mono), and little-endian byte order. Latency will be lower than with passing an encoded waveform. + +
+
+ +
+
+ +**preview_b_64:** `typing.Optional[str]` — Optional preview image base64 for tracking this generation. + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +
client.audio_isolation.stream(...) -> typing.Iterator[bytes] +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Removes background noise from audio. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +client.audio_isolation.stream(...) +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**audio:** `core.File` — The audio file from which vocals/speech will be isolated from. + +
+
+ +
+
+ +**file_format:** `typing.Optional[AudioIsolationStreamRequestFileFormat]` — The format of input audio. Options are 'pcm_s16le_16' or 'other' For `pcm_s16le_16`, the input audio must be 16-bit PCM at a 16kHz sample rate, single channel (mono), and little-endian byte order. Latency will be lower than with passing an encoded waveform. + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ ## Samples -
client.samples.delete(...) +
client.samples.delete(...) -> DeleteSampleResponse
@@ -696,10 +871,13 @@ Removes a sample by its ID. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.samples.delete( voice_id="21m00Tcm4TlvDq8ikWAM", sample_id="VW7YKqPnjY4h39yTbx2L", @@ -748,7 +926,7 @@ client.samples.delete(
## TextToSpeech -
client.text_to_speech.convert(...) +
client.text_to_speech.convert(...) -> typing.Iterator[bytes]
@@ -776,10 +954,13 @@ Converts text into speech using a voice of your choice and returns audio. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.text_to_speech.convert( voice_id="JBFqnCBsd6RMkjVDRZzb", output_format="mp3_44100_128", @@ -874,7 +1055,7 @@ Defaults to None.
-**pronunciation_dictionary_locators:** `typing.Optional[typing.Sequence[PronunciationDictionaryVersionLocator]]` — A list of pronunciation dictionary locators (id, version_id) to be applied to the text. They will be applied in order. You may have up to 3 locators per request +**pronunciation_dictionary_locators:** `typing.Optional[typing.List[PronunciationDictionaryVersionLocator]]` — A list of pronunciation dictionary locators (id, version_id) to be applied to the text. They will be applied in order. You may have up to 3 locators per request
@@ -906,7 +1087,7 @@ Defaults to None.
-**previous_request_ids:** `typing.Optional[typing.Sequence[str]]` — A list of request_id of the samples that were generated before this generation. Can be used to improve the speech's continuity when splitting up a large task into multiple requests. The results will be best when the same model is used across the generations. In case both previous_text and previous_request_ids is send, previous_text will be ignored. A maximum of 3 request_ids can be send. +**previous_request_ids:** `typing.Optional[typing.List[str]]` — A list of request_id of the samples that were generated before this generation. Can be used to improve the speech's continuity when splitting up a large task into multiple requests. The results will be best when the same model is used across the generations. In case both previous_text and previous_request_ids is send, previous_text will be ignored. A maximum of 3 request_ids can be send.
@@ -914,7 +1095,7 @@ Defaults to None.
-**next_request_ids:** `typing.Optional[typing.Sequence[str]]` — A list of request_id of the samples that come after this generation. next_request_ids is especially useful for maintaining the speech's continuity when regenerating a sample that has had some audio quality issues. For example, if you have generated 3 speech clips, and you want to improve clip 2, passing the request id of clip 3 as a next_request_id (and that of clip 1 as a previous_request_id) will help maintain natural flow in the combined speech. The results will be best when the same model is used across the generations. In case both next_text and next_request_ids is send, next_text will be ignored. A maximum of 3 request_ids can be send. +**next_request_ids:** `typing.Optional[typing.List[str]]` — A list of request_id of the samples that come after this generation. next_request_ids is especially useful for maintaining the speech's continuity when regenerating a sample that has had some audio quality issues. For example, if you have generated 3 speech clips, and you want to improve clip 2, passing the request id of clip 3 as a next_request_id (and that of clip 1 as a previous_request_id) will help maintain natural flow in the combined speech. The results will be best when the same model is used across the generations. In case both next_text and next_request_ids is send, next_text will be ignored. A maximum of 3 request_ids can be send.
@@ -946,7 +1127,7 @@ Defaults to None.
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. You can pass in configuration such as `chunk_size`, and more to customize the request and response. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -958,7 +1139,7 @@ Defaults to None.
-
client.text_to_speech.convert_with_timestamps(...) +
client.text_to_speech.convert_with_timestamps(...) -> AudioWithTimestampsResponse
@@ -986,10 +1167,13 @@ Generate speech from text with precise character-level timing information for au ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.text_to_speech.convert_with_timestamps( voice_id="21m00Tcm4TlvDq8ikWAM", enable_logging=True, @@ -1085,7 +1269,7 @@ Defaults to None.
-**pronunciation_dictionary_locators:** `typing.Optional[typing.Sequence[PronunciationDictionaryVersionLocator]]` — A list of pronunciation dictionary locators (id, version_id) to be applied to the text. They will be applied in order. You may have up to 3 locators per request +**pronunciation_dictionary_locators:** `typing.Optional[typing.List[PronunciationDictionaryVersionLocator]]` — A list of pronunciation dictionary locators (id, version_id) to be applied to the text. They will be applied in order. You may have up to 3 locators per request
@@ -1117,7 +1301,7 @@ Defaults to None.
-**previous_request_ids:** `typing.Optional[typing.Sequence[str]]` — A list of request_id of the samples that were generated before this generation. Can be used to improve the speech's continuity when splitting up a large task into multiple requests. The results will be best when the same model is used across the generations. In case both previous_text and previous_request_ids is send, previous_text will be ignored. A maximum of 3 request_ids can be send. +**previous_request_ids:** `typing.Optional[typing.List[str]]` — A list of request_id of the samples that were generated before this generation. Can be used to improve the speech's continuity when splitting up a large task into multiple requests. The results will be best when the same model is used across the generations. In case both previous_text and previous_request_ids is send, previous_text will be ignored. A maximum of 3 request_ids can be send.
@@ -1125,7 +1309,7 @@ Defaults to None.
-**next_request_ids:** `typing.Optional[typing.Sequence[str]]` — A list of request_id of the samples that come after this generation. next_request_ids is especially useful for maintaining the speech's continuity when regenerating a sample that has had some audio quality issues. For example, if you have generated 3 speech clips, and you want to improve clip 2, passing the request id of clip 3 as a next_request_id (and that of clip 1 as a previous_request_id) will help maintain natural flow in the combined speech. The results will be best when the same model is used across the generations. In case both next_text and next_request_ids is send, next_text will be ignored. A maximum of 3 request_ids can be send. +**next_request_ids:** `typing.Optional[typing.List[str]]` — A list of request_id of the samples that come after this generation. next_request_ids is especially useful for maintaining the speech's continuity when regenerating a sample that has had some audio quality issues. For example, if you have generated 3 speech clips, and you want to improve clip 2, passing the request id of clip 3 as a next_request_id (and that of clip 1 as a previous_request_id) will help maintain natural flow in the combined speech. The results will be best when the same model is used across the generations. In case both next_text and next_request_ids is send, next_text will be ignored. A maximum of 3 request_ids can be send.
@@ -1169,7 +1353,7 @@ Defaults to None.
-
client.text_to_speech.stream(...) +
client.text_to_speech.stream(...) -> typing.Iterator[bytes]
@@ -1197,10 +1381,13 @@ Converts text into speech using a voice of your choice and returns audio as an a ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.text_to_speech.stream( voice_id="JBFqnCBsd6RMkjVDRZzb", output_format="mp3_44100_128", @@ -1295,7 +1482,7 @@ Defaults to None.
-**pronunciation_dictionary_locators:** `typing.Optional[typing.Sequence[PronunciationDictionaryVersionLocator]]` — A list of pronunciation dictionary locators (id, version_id) to be applied to the text. They will be applied in order. You may have up to 3 locators per request +**pronunciation_dictionary_locators:** `typing.Optional[typing.List[PronunciationDictionaryVersionLocator]]` — A list of pronunciation dictionary locators (id, version_id) to be applied to the text. They will be applied in order. You may have up to 3 locators per request
@@ -1327,7 +1514,7 @@ Defaults to None.
-**previous_request_ids:** `typing.Optional[typing.Sequence[str]]` — A list of request_id of the samples that were generated before this generation. Can be used to improve the speech's continuity when splitting up a large task into multiple requests. The results will be best when the same model is used across the generations. In case both previous_text and previous_request_ids is send, previous_text will be ignored. A maximum of 3 request_ids can be send. +**previous_request_ids:** `typing.Optional[typing.List[str]]` — A list of request_id of the samples that were generated before this generation. Can be used to improve the speech's continuity when splitting up a large task into multiple requests. The results will be best when the same model is used across the generations. In case both previous_text and previous_request_ids is send, previous_text will be ignored. A maximum of 3 request_ids can be send.
@@ -1335,7 +1522,7 @@ Defaults to None.
-**next_request_ids:** `typing.Optional[typing.Sequence[str]]` — A list of request_id of the samples that come after this generation. next_request_ids is especially useful for maintaining the speech's continuity when regenerating a sample that has had some audio quality issues. For example, if you have generated 3 speech clips, and you want to improve clip 2, passing the request id of clip 3 as a next_request_id (and that of clip 1 as a previous_request_id) will help maintain natural flow in the combined speech. The results will be best when the same model is used across the generations. In case both next_text and next_request_ids is send, next_text will be ignored. A maximum of 3 request_ids can be send. +**next_request_ids:** `typing.Optional[typing.List[str]]` — A list of request_id of the samples that come after this generation. next_request_ids is especially useful for maintaining the speech's continuity when regenerating a sample that has had some audio quality issues. For example, if you have generated 3 speech clips, and you want to improve clip 2, passing the request id of clip 3 as a next_request_id (and that of clip 1 as a previous_request_id) will help maintain natural flow in the combined speech. The results will be best when the same model is used across the generations. In case both next_text and next_request_ids is send, next_text will be ignored. A maximum of 3 request_ids can be send.
@@ -1367,7 +1554,7 @@ Defaults to None.
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. You can pass in configuration such as `chunk_size`, and more to customize the request and response. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -1379,7 +1566,7 @@ Defaults to None.
-
client.text_to_speech.stream_with_timestamps(...) +
client.text_to_speech.stream_with_timestamps(...) -> typing.Iterator[bytes]
@@ -1407,18 +1594,19 @@ Converts text into speech using a voice of your choice and returns a stream of J ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) -response = client.text_to_speech.stream_with_timestamps( + +client.text_to_speech.stream_with_timestamps( voice_id="JBFqnCBsd6RMkjVDRZzb", output_format="mp3_44100_128", text="The first move is what sets everything in motion.", model_id="eleven_multilingual_v2", ) -for chunk in response.data: - yield chunk ```
@@ -1507,7 +1695,7 @@ Defaults to None.
-**pronunciation_dictionary_locators:** `typing.Optional[typing.Sequence[PronunciationDictionaryVersionLocator]]` — A list of pronunciation dictionary locators (id, version_id) to be applied to the text. They will be applied in order. You may have up to 3 locators per request +**pronunciation_dictionary_locators:** `typing.Optional[typing.List[PronunciationDictionaryVersionLocator]]` — A list of pronunciation dictionary locators (id, version_id) to be applied to the text. They will be applied in order. You may have up to 3 locators per request
@@ -1539,7 +1727,7 @@ Defaults to None.
-**previous_request_ids:** `typing.Optional[typing.Sequence[str]]` — A list of request_id of the samples that were generated before this generation. Can be used to improve the speech's continuity when splitting up a large task into multiple requests. The results will be best when the same model is used across the generations. In case both previous_text and previous_request_ids is send, previous_text will be ignored. A maximum of 3 request_ids can be send. +**previous_request_ids:** `typing.Optional[typing.List[str]]` — A list of request_id of the samples that were generated before this generation. Can be used to improve the speech's continuity when splitting up a large task into multiple requests. The results will be best when the same model is used across the generations. In case both previous_text and previous_request_ids is send, previous_text will be ignored. A maximum of 3 request_ids can be send.
@@ -1547,7 +1735,7 @@ Defaults to None.
-**next_request_ids:** `typing.Optional[typing.Sequence[str]]` — A list of request_id of the samples that come after this generation. next_request_ids is especially useful for maintaining the speech's continuity when regenerating a sample that has had some audio quality issues. For example, if you have generated 3 speech clips, and you want to improve clip 2, passing the request id of clip 3 as a next_request_id (and that of clip 1 as a previous_request_id) will help maintain natural flow in the combined speech. The results will be best when the same model is used across the generations. In case both next_text and next_request_ids is send, next_text will be ignored. A maximum of 3 request_ids can be send. +**next_request_ids:** `typing.Optional[typing.List[str]]` — A list of request_id of the samples that come after this generation. next_request_ids is especially useful for maintaining the speech's continuity when regenerating a sample that has had some audio quality issues. For example, if you have generated 3 speech clips, and you want to improve clip 2, passing the request id of clip 3 as a next_request_id (and that of clip 1 as a previous_request_id) will help maintain natural flow in the combined speech. The results will be best when the same model is used across the generations. In case both next_text and next_request_ids is send, next_text will be ignored. A maximum of 3 request_ids can be send.
@@ -1592,7 +1780,7 @@ Defaults to None.
## TextToDialogue -
client.text_to_dialogue.convert(...) +
client.text_to_dialogue.convert(...) -> typing.Iterator[bytes]
@@ -1619,11 +1807,14 @@ Converts a list of text and voice ID pairs into speech (dialogue) and returns au
```python -from elevenlabs import DialogueInput, ElevenLabs +from elevenlabs import ElevenLabs, DialogueInput +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.text_to_dialogue.convert( inputs=[ DialogueInput( @@ -1633,7 +1824,7 @@ client.text_to_dialogue.convert( DialogueInput( text="Who is there?", voice_id="Aw4FAjKCGjjNkVhN1Xmq", - ), + ) ], ) @@ -1651,7 +1842,7 @@ client.text_to_dialogue.convert(
-**inputs:** `typing.Sequence[DialogueInput]` — A list of dialogue inputs, each containing text and a voice ID which will be converted into speech. The maximum number of unique voice IDs is 10. +**inputs:** `typing.List[DialogueInput]` — A list of dialogue inputs, each containing text and a voice ID which will be converted into speech. The maximum number of unique voice IDs is 10.
@@ -1691,7 +1882,7 @@ client.text_to_dialogue.convert(
-**pronunciation_dictionary_locators:** `typing.Optional[typing.Sequence[PronunciationDictionaryVersionLocator]]` — A list of pronunciation dictionary locators (id, version_id) to be applied to the text. They will be applied in order. You may have up to 3 locators per request +**pronunciation_dictionary_locators:** `typing.Optional[typing.List[PronunciationDictionaryVersionLocator]]` — A list of pronunciation dictionary locators (id, version_id) to be applied to the text. They will be applied in order. You may have up to 3 locators per request
@@ -1707,9 +1898,7 @@ client.text_to_dialogue.convert(
-**apply_text_normalization:** `typing.Optional[ - BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization -]` — This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped. +**apply_text_normalization:** `typing.Optional[BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization]` — This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped.
@@ -1717,7 +1906,7 @@ client.text_to_dialogue.convert(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. You can pass in configuration such as `chunk_size`, and more to customize the request and response. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -1729,7 +1918,7 @@ client.text_to_dialogue.convert(
-
client.text_to_dialogue.stream(...) +
client.text_to_dialogue.stream(...) -> typing.Iterator[bytes]
@@ -1756,11 +1945,14 @@ Converts a list of text and voice ID pairs into speech (dialogue) and returns an
```python -from elevenlabs import DialogueInput, ElevenLabs +from elevenlabs import ElevenLabs, DialogueInput +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.text_to_dialogue.stream( inputs=[ DialogueInput( @@ -1770,7 +1962,7 @@ client.text_to_dialogue.stream( DialogueInput( text="Who is there?", voice_id="Aw4FAjKCGjjNkVhN1Xmq", - ), + ) ], ) @@ -1788,7 +1980,7 @@ client.text_to_dialogue.stream(
-**inputs:** `typing.Sequence[DialogueInput]` — A list of dialogue inputs, each containing text and a voice ID which will be converted into speech. The maximum number of unique voice IDs is 10. +**inputs:** `typing.List[DialogueInput]` — A list of dialogue inputs, each containing text and a voice ID which will be converted into speech. The maximum number of unique voice IDs is 10.
@@ -1828,7 +2020,7 @@ client.text_to_dialogue.stream(
-**pronunciation_dictionary_locators:** `typing.Optional[typing.Sequence[PronunciationDictionaryVersionLocator]]` — A list of pronunciation dictionary locators (id, version_id) to be applied to the text. They will be applied in order. You may have up to 3 locators per request +**pronunciation_dictionary_locators:** `typing.Optional[typing.List[PronunciationDictionaryVersionLocator]]` — A list of pronunciation dictionary locators (id, version_id) to be applied to the text. They will be applied in order. You may have up to 3 locators per request
@@ -1844,9 +2036,7 @@ client.text_to_dialogue.stream(
-**apply_text_normalization:** `typing.Optional[ - BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization -]` — This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped. +**apply_text_normalization:** `typing.Optional[BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization]` — This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped.
@@ -1854,7 +2044,7 @@ client.text_to_dialogue.stream(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. You can pass in configuration such as `chunk_size`, and more to customize the request and response. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -1866,7 +2056,7 @@ client.text_to_dialogue.stream(
-
client.text_to_dialogue.stream_with_timestamps(...) +
client.text_to_dialogue.stream_with_timestamps(...) -> typing.Iterator[bytes]
@@ -1893,12 +2083,15 @@ Converts a list of text and voice ID pairs into speech (dialogue) and returns a
```python -from elevenlabs import DialogueInput, ElevenLabs +from elevenlabs import ElevenLabs, DialogueInput +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) -response = client.text_to_dialogue.stream_with_timestamps( + +client.text_to_dialogue.stream_with_timestamps( output_format="mp3_22050_32", inputs=[ DialogueInput( @@ -1906,13 +2099,11 @@ response = client.text_to_dialogue.stream_with_timestamps( voice_id="bYTqZQo3Jz7LQtmGTgwi", ), DialogueInput( - text="I'm doing well, thank you!", + text="I\'m doing well, thank you!", voice_id="6lCwbsX1yVjD49QmpkTR", - ), + ) ], ) -for chunk in response.data: - yield chunk ```
@@ -1928,7 +2119,7 @@ for chunk in response.data:
-**inputs:** `typing.Sequence[DialogueInput]` — A list of dialogue inputs, each containing text and a voice ID which will be converted into speech. The maximum number of unique voice IDs is 10. +**inputs:** `typing.List[DialogueInput]` — A list of dialogue inputs, each containing text and a voice ID which will be converted into speech. The maximum number of unique voice IDs is 10.
@@ -1968,7 +2159,7 @@ for chunk in response.data:
-**pronunciation_dictionary_locators:** `typing.Optional[typing.Sequence[PronunciationDictionaryVersionLocator]]` — A list of pronunciation dictionary locators (id, version_id) to be applied to the text. They will be applied in order. You may have up to 3 locators per request +**pronunciation_dictionary_locators:** `typing.Optional[typing.List[PronunciationDictionaryVersionLocator]]` — A list of pronunciation dictionary locators (id, version_id) to be applied to the text. They will be applied in order. You may have up to 3 locators per request
@@ -2004,7 +2195,7 @@ for chunk in response.data:
-
client.text_to_dialogue.convert_with_timestamps(...) +
client.text_to_dialogue.convert_with_timestamps(...) -> AudioWithTimestampsAndVoiceSegmentsResponseModel
@@ -2031,11 +2222,14 @@ Generate dialogue from text with precise character-level timing information for
```python -from elevenlabs import DialogueInput, ElevenLabs +from elevenlabs import ElevenLabs, DialogueInput +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.text_to_dialogue.convert_with_timestamps( output_format="alaw_8000", inputs=[ @@ -2044,9 +2238,9 @@ client.text_to_dialogue.convert_with_timestamps( voice_id="bYTqZQo3Jz7LQtmGTgwi", ), DialogueInput( - text="I'm doing well, thank you!", + text="I\'m doing well, thank you!", voice_id="6lCwbsX1yVjD49QmpkTR", - ), + ) ], ) @@ -2064,7 +2258,7 @@ client.text_to_dialogue.convert_with_timestamps(
-**inputs:** `typing.Sequence[DialogueInput]` — A list of dialogue inputs, each containing text and a voice ID which will be converted into speech. The maximum number of unique voice IDs is 10. +**inputs:** `typing.List[DialogueInput]` — A list of dialogue inputs, each containing text and a voice ID which will be converted into speech. The maximum number of unique voice IDs is 10.
@@ -2104,7 +2298,7 @@ client.text_to_dialogue.convert_with_timestamps(
-**pronunciation_dictionary_locators:** `typing.Optional[typing.Sequence[PronunciationDictionaryVersionLocator]]` — A list of pronunciation dictionary locators (id, version_id) to be applied to the text. They will be applied in order. You may have up to 3 locators per request +**pronunciation_dictionary_locators:** `typing.Optional[typing.List[PronunciationDictionaryVersionLocator]]` — A list of pronunciation dictionary locators (id, version_id) to be applied to the text. They will be applied in order. You may have up to 3 locators per request
@@ -2141,7 +2335,7 @@ client.text_to_dialogue.convert_with_timestamps(
## SpeechToSpeech -
client.speech_to_speech.convert(...) +
client.speech_to_speech.convert(...) -> typing.Iterator[bytes]
@@ -2169,13 +2363,17 @@ Transform audio from one voice to another. Maintain full control over emotion, t ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.speech_to_speech.convert( voice_id="JBFqnCBsd6RMkjVDRZzb", output_format="mp3_44100_128", + audio="example_audio", model_id="eleven_multilingual_sts_v2", ) @@ -2201,9 +2399,7 @@ client.speech_to_speech.convert(
-**audio:** `from __future__ import annotations - -core.File` — See core.File for more documentation +**audio:** `core.File` — The audio file which holds the content and emotion that will control the generated speech.
@@ -2284,7 +2480,7 @@ Defaults to None.
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. You can pass in configuration such as `chunk_size`, and more to customize the request and response. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -2296,7 +2492,7 @@ Defaults to None.
-
client.speech_to_speech.stream(...) +
client.speech_to_speech.stream(...) -> typing.Iterator[bytes]
@@ -2324,13 +2520,17 @@ Stream audio from one voice to another. Maintain full control over emotion, timi ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.speech_to_speech.stream( voice_id="JBFqnCBsd6RMkjVDRZzb", output_format="mp3_44100_128", + audio="example_audio", model_id="eleven_multilingual_sts_v2", ) @@ -2356,9 +2556,7 @@ client.speech_to_speech.stream(
-**audio:** `from __future__ import annotations - -core.File` — See core.File for more documentation +**audio:** `core.File` — The audio file which holds the content and emotion that will control the generated speech.
@@ -2439,7 +2637,7 @@ Defaults to None.
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. You can pass in configuration such as `chunk_size`, and more to customize the request and response. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -2452,7 +2650,7 @@ Defaults to None.
## TextToVoice -
client.text_to_voice.create_previews(...) +
client.text_to_voice.create_previews(...) -> VoiceDesignPreviewResponse
@@ -2480,10 +2678,13 @@ Create a voice from a text prompt. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.text_to_voice.create_previews( output_format="mp3_22050_32", voice_description="A sassy squeaky mouse", @@ -2587,7 +2788,7 @@ client.text_to_voice.create_previews(
-
client.text_to_voice.create(...) +
client.text_to_voice.create(...) -> Voice
@@ -2615,10 +2816,13 @@ Create a voice from previously generated voice preview. This endpoint should be ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.text_to_voice.create( voice_name="Sassy squeaky mouse", voice_description="A sassy squeaky mouse", @@ -2671,7 +2875,7 @@ client.text_to_voice.create(
-**played_not_selected_voice_ids:** `typing.Optional[typing.Sequence[str]]` — List of voice ids that the user has played but not selected. Used for RLHF. +**played_not_selected_voice_ids:** `typing.Optional[typing.List[str]]` — List of voice ids that the user has played but not selected. Used for RLHF.
@@ -2691,7 +2895,7 @@ client.text_to_voice.create(
-
client.text_to_voice.design(...) +
client.text_to_voice.design(...) -> VoiceDesignPreviewResponse
@@ -2719,10 +2923,13 @@ Design a voice via a prompt. This method returns a list of voice previews. Each ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.text_to_voice.design( output_format="mp3_22050_32", voice_description="A sassy squeaky mouse", @@ -2874,7 +3081,7 @@ client.text_to_voice.design(
-
client.text_to_voice.remix(...) +
client.text_to_voice.remix(...) -> VoiceDesignPreviewResponse
@@ -2902,10 +3109,13 @@ Remix an existing voice via a prompt. This method returns a list of voice previe ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.text_to_voice.remix( voice_id="21m00Tcm4TlvDq8ikWAM", output_format="mp3_22050_32", @@ -3035,7 +3245,7 @@ client.text_to_voice.remix(
## User -
client.user.get() +
client.user.get() -> User
@@ -3063,10 +3273,13 @@ Gets information about the user ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.user.get() ``` @@ -3096,7 +3309,7 @@ client.user.get()
## Voices -
client.voices.get_all(...) +
client.voices.get_all(...) -> GetVoicesResponse
@@ -3124,10 +3337,13 @@ Returns a list of all available voices for a user. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.voices.get_all( show_legacy=True, ) @@ -3166,7 +3382,7 @@ client.voices.get_all(
-
client.voices.search(...) +
client.voices.search(...) -> GetVoicesV2Response
@@ -3194,10 +3410,13 @@ Gets a list of all available voices for a user with search, filtering and pagina ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.voices.search( next_page_token="next_page_token", page_size=1, @@ -3325,7 +3544,7 @@ client.voices.search(
-
client.voices.get(...) +
client.voices.get(...) -> Voice
@@ -3353,10 +3572,13 @@ Returns metadata about a specific voice. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.voices.get( voice_id="21m00Tcm4TlvDq8ikWAM", with_settings=True, @@ -3404,7 +3626,7 @@ client.voices.get(
-
client.voices.delete(...) +
client.voices.delete(...) -> DeleteVoiceResponseModel
@@ -3432,10 +3654,13 @@ Deletes a voice by its ID. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.voices.delete( voice_id="21m00Tcm4TlvDq8ikWAM", ) @@ -3474,7 +3699,7 @@ client.voices.delete(
-
client.voices.update(...) +
client.voices.update(...) -> EditVoiceResponseModel
@@ -3502,12 +3727,16 @@ Edit a voice created by you. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.voices.update( voice_id="21m00Tcm4TlvDq8ikWAM", + files=["example_files"], name="name", ) @@ -3541,9 +3770,7 @@ client.voices.update(
-**files:** `from __future__ import annotations - -typing.Optional[typing.List[core.File]]` — See core.File for more documentation +**files:** `typing.Optional[typing.List[core.File]]` — Audio files to add to the voice
@@ -3587,7 +3814,7 @@ typing.Optional[typing.List[core.File]]` — See core.File for more documentatio
-
client.voices.share(...) +
client.voices.share(...) -> AddVoiceResponseModel
@@ -3615,10 +3842,13 @@ Add a shared voice to your collection of Voices ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.voices.share( public_user_id="63e06b7e7cafdc46be4d2e0b3f045940231ae058d508589653d74d1265a574ca", voice_id="21m00Tcm4TlvDq8ikWAM", @@ -3683,7 +3913,7 @@ client.voices.share(
-
client.voices.get_shared(...) +
client.voices.get_shared(...) -> GetLibraryVoicesResponse
@@ -3711,10 +3941,13 @@ Retrieves a list of shared voices. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.voices.get_shared( page_size=1, category="professional", @@ -3904,7 +4137,7 @@ client.voices.get_shared(
-
client.voices.find_similar_voices(...) +
client.voices.find_similar_voices(...) -> GetLibraryVoicesResponse
@@ -3932,11 +4165,16 @@ Returns a list of shared voices similar to the provided audio sample. If neither ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, +) + +client.voices.find_similar_voices( + audio_file="example_audio_file", ) -client.voices.find_similar_voices() ```
@@ -3952,9 +4190,7 @@ client.voices.find_similar_voices()
-**audio_file:** `from __future__ import annotations - -typing.Optional[core.File]` — See core.File for more documentation +**audio_file:** `typing.Optional[core.File]`
@@ -3991,7 +4227,7 @@ typing.Optional[core.File]` — See core.File for more documentation
## Studio -
client.studio.create_podcast(...) +
client.studio.create_podcast(...) -> PodcastProjectResponseModel
@@ -4018,28 +4254,25 @@ Create and auto-convert a podcast project. Currently, the LLM cost is covered by
```python -from elevenlabs import ( - ElevenLabs, - PodcastConversationModeData, - PodcastTextSource, -) -from elevenlabs.studio import ( - BodyCreatePodcastV1StudioPodcastsPostMode_Conversation, -) +from elevenlabs import ElevenLabs, PodcastConversationModeData, PodcastTextSource +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.studio.create_podcast( - safety_identifier="safety-identifier", model_id="eleven_multilingual_v2", - mode=BodyCreatePodcastV1StudioPodcastsPostMode_Conversation( - conversation=PodcastConversationModeData( + mode={ + "type": "conversation", + "conversation": PodcastConversationModeData( host_voice_id="aw1NgEzBg83R7vgmiJt6", guest_voice_id="aw1NgEzBg83R7vgmiJt7", - ), - ), + ) + }, source=PodcastTextSource( + type="text", text="This is a test podcast.", ), ) @@ -4149,7 +4382,7 @@ long - produces podcasts longer than 7 minutes.
-**highlights:** `typing.Optional[typing.Sequence[str]]` — A brief summary or highlights of the Studio project's content, providing key points or themes. This should be between 10 and 70 characters. +**highlights:** `typing.Optional[typing.List[str]]` — A brief summary or highlights of the Studio project's content, providing key points or themes. This should be between 10 and 70 characters.
@@ -4249,7 +4482,7 @@ long - produces podcasts longer than 7 minutes.
## Dubbing -
client.dubbing.list(...) +
client.dubbing.list(...) -> DubbingMetadataPageResponseModel
@@ -4277,15 +4510,19 @@ List the dubs you have access to. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.dubbing.list( cursor="cursor", page_size=1, dubbing_status="dubbing", filter_by_creator="personal", + order_by="created_at", order_direction="DESCENDING", ) @@ -4335,7 +4572,7 @@ client.dubbing.list(
-**order_by:** `typing.Optional[typing.Literal["created_at"]]` — The field to use for ordering results from this query. +**order_by:** `typing.Optional[DubbingListRequestOrderBy]` — The field to use for ordering results from this query.
@@ -4363,7 +4600,7 @@ client.dubbing.list(
-
client.dubbing.create(...) +
client.dubbing.create(...) -> DoDubbingResponse
@@ -4391,11 +4628,19 @@ Dubs a provided audio or video file into given language. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, +) + +client.dubbing.create( + file="example_file", + csv_file="example_csv_file", + foreground_audio_file="example_foreground_audio_file", + background_audio_file="example_background_audio_file", ) -client.dubbing.create() ```
@@ -4411,9 +4656,7 @@ client.dubbing.create()
-**file:** `from __future__ import annotations - -typing.Optional[core.File]` — See core.File for more documentation +**file:** `typing.Optional[core.File]` — A list of file paths to audio recordings intended for voice cloning
@@ -4421,9 +4664,7 @@ typing.Optional[core.File]` — See core.File for more documentation
-**csv_file:** `from __future__ import annotations - -typing.Optional[core.File]` — See core.File for more documentation +**csv_file:** `typing.Optional[core.File]` — CSV file containing transcription/translation metadata
@@ -4431,9 +4672,7 @@ typing.Optional[core.File]` — See core.File for more documentation
-**foreground_audio_file:** `from __future__ import annotations - -typing.Optional[core.File]` — See core.File for more documentation +**foreground_audio_file:** `typing.Optional[core.File]` — For use only with csv input
@@ -4441,9 +4680,7 @@ typing.Optional[core.File]` — See core.File for more documentation
-**background_audio_file:** `from __future__ import annotations - -typing.Optional[core.File]` — See core.File for more documentation +**background_audio_file:** `typing.Optional[core.File]` — For use only with csv input
@@ -4591,7 +4828,7 @@ typing.Optional[core.File]` — See core.File for more documentation
-
client.dubbing.get(...) +
client.dubbing.get(...) -> DubbingMetadataResponse
@@ -4619,10 +4856,13 @@ Returns metadata about a dubbing project, including whether it's still in progre ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.dubbing.get( dubbing_id="dubbing_id", ) @@ -4661,7 +4901,7 @@ client.dubbing.get(
-
client.dubbing.delete(...) +
client.dubbing.delete(...) -> DeleteDubbingResponseModel
@@ -4689,10 +4929,13 @@ Deletes a dubbing project. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.dubbing.delete( dubbing_id="dubbing_id", ) @@ -4732,7 +4975,7 @@ client.dubbing.delete(
## Models -
client.models.list() +
client.models.list() -> typing.List[Model]
@@ -4760,10 +5003,13 @@ Gets a list of available models. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.models.list() ``` @@ -4793,7 +5039,7 @@ client.models.list()
## AudioNative -
client.audio_native.create(...) +
client.audio_native.create(...) -> AudioNativeCreateProjectResponseModel
@@ -4821,11 +5067,15 @@ Creates Audio Native enabled project, optionally starts conversion and returns p ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.audio_native.create( + file="example_file", name="name", ) @@ -4923,9 +5173,7 @@ client.audio_native.create(
-**file:** `from __future__ import annotations - -typing.Optional[core.File]` — See core.File for more documentation +**file:** `typing.Optional[core.File]` — Either txt or HTML input file containing the article content. HTML should be formatted as follows '<html><body><div><p>Your content</p><h3>More of your content</h3><p>Some more of your content</p></div></body></html>'
@@ -4976,7 +5224,7 @@ typing.Optional[core.File]` — See core.File for more documentation
-
client.audio_native.get_settings(...) +
client.audio_native.get_settings(...) -> GetAudioNativeProjectSettingsResponseModel
@@ -5004,10 +5252,13 @@ Get player settings for the specific project. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.audio_native.get_settings( project_id="21m00Tcm4TlvDq8ikWAM", ) @@ -5046,7 +5297,7 @@ client.audio_native.get_settings(
-
client.audio_native.update(...) +
client.audio_native.update(...) -> AudioNativeEditContentResponseModel
@@ -5074,12 +5325,16 @@ Updates content for the specific AudioNative Project. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.audio_native.update( project_id="21m00Tcm4TlvDq8ikWAM", + file="example_file", ) ``` @@ -5104,9 +5359,7 @@ client.audio_native.update(
-**file:** `from __future__ import annotations - -typing.Optional[core.File]` — See core.File for more documentation +**file:** `typing.Optional[core.File]` — Either txt or HTML input file containing the article content. HTML should be formatted as follows '<html><body><div><p>Your content</p><h5>More of your content</h5><p>Some more of your content</p></div></body></html>'
@@ -5142,7 +5395,7 @@ typing.Optional[core.File]` — See core.File for more documentation
-
client.audio_native.update_content_from_url(...) +
client.audio_native.update_content_from_url(...) -> AudioNativeEditContentResponseModel
@@ -5170,10 +5423,13 @@ Finds an AudioNative project matching the provided URL, extracts content from th ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.audio_native.update_content_from_url( url="https://elevenlabs.io/blog/the_first_ai_that_can_laugh/", ) @@ -5229,7 +5485,7 @@ client.audio_native.update_content_from_url(
## Usage -
client.usage.get(...) +
client.usage.get(...) -> UsageCharactersResponseModel
@@ -5257,10 +5513,13 @@ Returns the usage metrics for the current user or the entire workspace they are ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.usage.get( start_unix=1, end_unix=1, @@ -5354,7 +5613,7 @@ client.usage.get(
## PronunciationDictionaries -
client.pronunciation_dictionaries.create_from_file(...) +
client.pronunciation_dictionaries.create_from_file(...) -> AddPronunciationDictionaryResponseModel
@@ -5382,11 +5641,15 @@ Creates a new pronunciation dictionary from a lexicon .PLS file ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.pronunciation_dictionaries.create_from_file( + file="example_file", name="name", ) @@ -5412,9 +5675,7 @@ client.pronunciation_dictionaries.create_from_file(
-**file:** `from __future__ import annotations - -typing.Optional[core.File]` — See core.File for more documentation +**file:** `typing.Optional[core.File]` — A lexicon .pls file which we will use to initialize the project with.
@@ -5450,7 +5711,7 @@ typing.Optional[core.File]` — See core.File for more documentation
-
client.pronunciation_dictionaries.create_from_rules(...) +
client.pronunciation_dictionaries.create_from_rules(...) -> AddPronunciationDictionaryResponseModel
@@ -5478,21 +5739,22 @@ Creates a new pronunciation dictionary from provided rules. ```python from elevenlabs import ElevenLabs -from elevenlabs.pronunciation_dictionaries import ( - BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPostRulesItem_Alias, -) +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.pronunciation_dictionaries.create_from_rules( rules=[ - BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPostRulesItem_Alias( - string_to_replace="Thailand", - case_sensitive=True, - word_boundaries=True, - alias="tie-land", - ) + { + "type": "alias", + "string_to_replace": "Thailand", + "case_sensitive": True, + "word_boundaries": True, + "alias": "tie-land" + } ], name="My Dictionary", ) @@ -5511,9 +5773,7 @@ client.pronunciation_dictionaries.create_from_rules(
-**rules:** `typing.Sequence[ - BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPostRulesItem -]` +**rules:** `typing.List[BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPostRulesItem]` List of pronunciation rules. Rule can be either: an alias rule: {'string_to_replace': 'a', 'type': 'alias', 'alias': 'b', } @@ -5541,9 +5801,7 @@ List of pronunciation rules. Rule can be either:
-**workspace_access:** `typing.Optional[ - BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPostWorkspaceAccess -]` — Should be one of 'admin', 'editor' or 'viewer'. If not provided, defaults to no access. +**workspace_access:** `typing.Optional[BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPostWorkspaceAccess]` — Should be one of 'admin', 'editor' or 'viewer'. If not provided, defaults to no access.
@@ -5563,7 +5821,7 @@ List of pronunciation rules. Rule can be either:
-
client.pronunciation_dictionaries.get(...) +
client.pronunciation_dictionaries.get(...) -> GetPronunciationDictionaryWithRulesResponseModel
@@ -5591,10 +5849,13 @@ Get metadata for a pronunciation dictionary ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.pronunciation_dictionaries.get( pronunciation_dictionary_id="21m00Tcm4TlvDq8ikWAM", ) @@ -5633,7 +5894,7 @@ client.pronunciation_dictionaries.get(
-
client.pronunciation_dictionaries.update(...) +
client.pronunciation_dictionaries.update(...) -> GetPronunciationDictionaryMetadataResponse
@@ -5661,10 +5922,13 @@ Partially update the pronunciation dictionary without changing the version ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.pronunciation_dictionaries.update( pronunciation_dictionary_id="21m00Tcm4TlvDq8ikWAM", ) @@ -5719,7 +5983,7 @@ client.pronunciation_dictionaries.update(
-
client.pronunciation_dictionaries.download(...) +
client.pronunciation_dictionaries.download(...) -> typing.Iterator[bytes]
@@ -5747,10 +6011,13 @@ Get a PLS file with a pronunciation dictionary version rules ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.pronunciation_dictionaries.download( dictionary_id="dictionary_id", version_id="version_id", @@ -5786,7 +6053,7 @@ client.pronunciation_dictionaries.download(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. You can pass in configuration such as `chunk_size`, and more to customize the request and response. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -5798,7 +6065,7 @@ client.pronunciation_dictionaries.download(
-
client.pronunciation_dictionaries.list(...) +
client.pronunciation_dictionaries.list(...) -> GetPronunciationDictionariesMetadataResponseModel
@@ -5826,10 +6093,13 @@ Get a list of the pronunciation dictionaries you have access to and their metada ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.pronunciation_dictionaries.list( cursor="cursor", page_size=1, @@ -5896,7 +6166,7 @@ client.pronunciation_dictionaries.list(
## ServiceAccounts -
client.service_accounts.list() +
client.service_accounts.list() -> WorkspaceServiceAccountListResponseModel
@@ -5924,10 +6194,13 @@ List all service accounts in the workspace ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.service_accounts.list() ``` @@ -5957,7 +6230,7 @@ client.service_accounts.list()
## Webhooks -
client.webhooks.list(...) +
client.webhooks.list(...) -> WorkspaceWebhookListResponseModel
@@ -5985,10 +6258,13 @@ List all webhooks for a workspace ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.webhooks.list( include_usages=False, ) @@ -6027,7 +6303,7 @@ client.webhooks.list(
-
client.webhooks.create(...) +
client.webhooks.create(...) -> WorkspaceCreateWebhookResponseModel
@@ -6055,12 +6331,16 @@ Create a new webhook for the workspace with the specified authentication type. ```python from elevenlabs import ElevenLabs, WebhookHmacSettings +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.webhooks.create( settings=WebhookHmacSettings( + auth_type="hmac", name="name", webhook_url="webhook_url", ), @@ -6100,7 +6380,7 @@ client.webhooks.create(
-
client.webhooks.delete(...) +
client.webhooks.delete(...) -> DeleteWorkspaceWebhookResponseModel
@@ -6128,10 +6408,13 @@ Delete the specified workspace webhook ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.webhooks.delete( webhook_id="G007vmtq9uWYl7SUW9zGS8GZZa1K", ) @@ -6170,7 +6453,7 @@ client.webhooks.delete(
-
client.webhooks.update(...) +
client.webhooks.update(...) -> PatchWorkspaceWebhookResponseModel
@@ -6198,10 +6481,13 @@ Update the specified workspace webhook ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.webhooks.update( webhook_id="G007vmtq9uWYl7SUW9zGS8GZZa1K", is_disabled=True, @@ -6267,7 +6553,7 @@ client.webhooks.update(
## SpeechToText -
client.speech_to_text.convert(...) +
client.speech_to_text.convert(...) -> SpeechToTextConvertResponse
@@ -6295,12 +6581,16 @@ Transcribe an audio or video file. If webhook is set to true, the request will b ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.speech_to_text.convert( enable_logging=True, + file="example_file", model_id="scribe_v2", ) @@ -6334,9 +6624,7 @@ client.speech_to_text.convert(
-**file:** `from __future__ import annotations - -typing.Optional[core.File]` — See core.File for more documentation +**file:** `typing.Optional[core.File]` — The file to transcribe. All major audio and video formats are supported. Exactly one of the file or cloud_storage_url parameters must be provided. The file size must be less than 3.0GB.
@@ -6501,7 +6789,7 @@ typing.Optional[core.File]` — See core.File for more documentation
## ForcedAlignment -
client.forced_alignment.create(...) +
client.forced_alignment.create(...) -> ForcedAlignmentResponseModel
@@ -6529,11 +6817,15 @@ Force align an audio file to text. Use this endpoint to get the timing informati ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.forced_alignment.create( + file="example_file", text="text", ) @@ -6551,9 +6843,7 @@ client.forced_alignment.create(
-**file:** `from __future__ import annotations - -core.File` — See core.File for more documentation +**file:** `core.File` — The file to align. All major audio formats are supported. The file size must be less than 1GB.
@@ -6590,7 +6880,7 @@ core.File` — See core.File for more documentation
## ConversationalAi -
client.conversational_ai.add_to_knowledge_base(...) +
client.conversational_ai.add_to_knowledge_base(...) -> AddKnowledgeBaseResponseModel
@@ -6618,12 +6908,16 @@ Upload a file or webpage URL to create a knowledge base document.
Af ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.add_to_knowledge_base( agent_id="agent_id", + file="example_file", ) ``` @@ -6664,9 +6958,7 @@ client.conversational_ai.add_to_knowledge_base(
-**file:** `from __future__ import annotations - -typing.Optional[core.File]` — See core.File for more documentation +**file:** `typing.Optional[core.File]` — Documentation that the agent will have access to in order to interact with users.
@@ -6686,7 +6978,7 @@ typing.Optional[core.File]` — See core.File for more documentation
-
client.conversational_ai.rag_index_overview() +
client.conversational_ai.rag_index_overview() -> RagIndexOverviewResponseModel
@@ -6714,10 +7006,13 @@ Provides total size and other information of RAG indexes used by knowledgebase d ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.rag_index_overview() ``` @@ -6746,7 +7041,7 @@ client.conversational_ai.rag_index_overview()
-
client.conversational_ai.get_document_rag_indexes(...) +
client.conversational_ai.get_document_rag_indexes(...) -> RagDocumentIndexesResponseModel
@@ -6774,10 +7069,13 @@ Provides information about all RAG indexes of the specified knowledgebase docume ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.get_document_rag_indexes( documentation_id="21m00Tcm4TlvDq8ikWAM", ) @@ -6816,7 +7114,7 @@ client.conversational_ai.get_document_rag_indexes(
-
client.conversational_ai.delete_document_rag_index(...) +
client.conversational_ai.delete_document_rag_index(...) -> RagDocumentIndexResponseModel
@@ -6844,10 +7142,13 @@ Delete RAG index for the knowledgebase document. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.delete_document_rag_index( documentation_id="21m00Tcm4TlvDq8ikWAM", rag_index_id="21m00Tcm4TlvDq8ikWAM", @@ -6896,7 +7197,7 @@ client.conversational_ai.delete_document_rag_index(
## Music -
client.music.compose(...) +
client.music.compose(...) -> typing.Iterator[bytes]
@@ -6924,10 +7225,13 @@ Compose a song from a prompt or a composition plan. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.music.compose() ``` @@ -6976,7 +7280,7 @@ client.music.compose()
-**model_id:** `typing.Optional[typing.Literal["music_v1"]]` — The model to use for the generation. +**model_id:** `typing.Optional[typing.Literal]` — The model to use for the generation.
@@ -7024,7 +7328,7 @@ client.music.compose()
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. You can pass in configuration such as `chunk_size`, and more to customize the request and response. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -7036,7 +7340,7 @@ client.music.compose()
-
client.music.compose_detailed(...) +
client.music.compose_detailed(...) -> typing.Iterator[bytes]
@@ -7064,10 +7368,13 @@ Compose a song from a prompt or a composition plan. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.music.compose_detailed() ``` @@ -7116,7 +7423,7 @@ client.music.compose_detailed()
-**model_id:** `typing.Optional[typing.Literal["music_v1"]]` — The model to use for the generation. +**model_id:** `typing.Optional[typing.Literal]` — The model to use for the generation.
@@ -7172,7 +7479,7 @@ client.music.compose_detailed()
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. You can pass in configuration such as `chunk_size`, and more to customize the request and response. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -7184,7 +7491,7 @@ client.music.compose_detailed()
-
client.music.stream(...) +
client.music.stream(...) -> typing.Iterator[bytes]
@@ -7212,10 +7519,13 @@ Stream a composed song from a prompt or a composition plan. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.music.stream() ``` @@ -7264,7 +7574,7 @@ client.music.stream()
-**model_id:** `typing.Optional[typing.Literal["music_v1"]]` — The model to use for the generation. +**model_id:** `typing.Optional[typing.Literal]` — The model to use for the generation.
@@ -7296,7 +7606,7 @@ client.music.stream()
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. You can pass in configuration such as `chunk_size`, and more to customize the request and response. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -7308,7 +7618,7 @@ client.music.stream()
-
client.music.upload(...) +
client.music.upload(...) -> MusicUploadResponse
@@ -7336,11 +7646,16 @@ Upload a music file to be later used for inpainting. Only available to enterpris ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, +) + +client.music.upload( + file="example_file", ) -client.music.upload() ```
@@ -7356,9 +7671,7 @@ client.music.upload()
-**file:** `from __future__ import annotations - -core.File` — See core.File for more documentation +**file:** `core.File` — The audio file to upload.
@@ -7382,12 +7695,98 @@ core.File` — See core.File for more documentation
+ + +
+ +
client.music.separate_stems(...) -> typing.Iterator[bytes] +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Separate an audio file into individual stems. This endpoint might have high latency, depending on the length of the audio file. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +client.music.separate_stems(...) +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**file:** `core.File` — The audio file to separate into stems. + +
+
+ +
+
+ +**output_format:** `typing.Optional[AllowedOutputFormats]` — Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs. + +
+
+ +
+
+ +**stem_variation_id:** `typing.Optional[MusicSeparateStemsRequestStemVariationId]` — The id of the stem variation to use. + +
+
+ +
+
+ +**sign_with_c_2_pa:** `typing.Optional[bool]` — Whether to sign the generated song with C2PA. Applicable only for mp3 files. + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ +
## ConversationalAi Conversations -
client.conversational_ai.conversations.get_signed_url(...) +
client.conversational_ai.conversations.get_signed_url(...) -> ConversationSignedUrlResponseModel
@@ -7415,10 +7814,13 @@ Get a signed url to start a conversation with an agent with an agent that requir ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.conversations.get_signed_url( agent_id="21m00Tcm4TlvDq8ikWAM", include_conversation_id=True, @@ -7475,7 +7877,7 @@ client.conversational_ai.conversations.get_signed_url(
-
client.conversational_ai.conversations.get_webrtc_token(...) +
client.conversational_ai.conversations.get_webrtc_token(...) -> TokenResponseModel
@@ -7503,10 +7905,13 @@ Get a WebRTC session token for real-time communication. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.conversations.get_webrtc_token( agent_id="21m00Tcm4TlvDq8ikWAM", participant_name="participant_name", @@ -7563,7 +7968,7 @@ client.conversational_ai.conversations.get_webrtc_token(
-
client.conversational_ai.conversations.list(...) +
client.conversational_ai.conversations.list(...) -> GetConversationsPageResponseModel
@@ -7591,10 +7996,13 @@ Get all conversations of agents that user owns. With option to restrict to a spe ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.conversations.list( cursor="cursor", agent_id="agent_id", @@ -7740,6 +8148,22 @@ client.conversational_ai.conversations.list(
+**tool_names_successful:** `typing.Optional[typing.Union[str, typing.Sequence[str]]]` — Filter conversations by tool names that had successful calls. + +
+
+ +
+
+ +**tool_names_errored:** `typing.Optional[typing.Union[str, typing.Sequence[str]]]` — Filter conversations by tool names that had errored calls. + +
+
+ +
+
+ **main_languages:** `typing.Optional[typing.Union[str, typing.Sequence[str]]]` — Filter conversations by detected main language (language code).
@@ -7800,7 +8224,7 @@ client.conversational_ai.conversations.list(
-
client.conversational_ai.conversations.get(...) +
client.conversational_ai.conversations.get(...) -> GetConversationResponseModel
@@ -7828,10 +8252,13 @@ Get the details of a particular conversation ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.conversations.get( conversation_id="123", ) @@ -7870,7 +8297,7 @@ client.conversational_ai.conversations.get(
-
client.conversational_ai.conversations.delete(...) +
client.conversational_ai.conversations.delete(...) -> typing.Any
@@ -7898,10 +8325,13 @@ Delete a particular conversation ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.conversations.delete( conversation_id="21m00Tcm4TlvDq8ikWAM", ) @@ -7941,7 +8371,7 @@ client.conversational_ai.conversations.delete(
## ConversationalAi Twilio -
client.conversational_ai.twilio.outbound_call(...) +
client.conversational_ai.twilio.outbound_call(...) -> TwilioOutboundCallResponse
@@ -7969,10 +8399,13 @@ Handle an outbound call via Twilio ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.twilio.outbound_call( agent_id="agent_id", agent_phone_number_id="agent_phone_number_id", @@ -8053,7 +8486,7 @@ client.conversational_ai.twilio.outbound_call(
-
client.conversational_ai.twilio.register_call(...) +
client.conversational_ai.twilio.register_call(...) -> str
@@ -8081,10 +8514,13 @@ Register a Twilio call and return TwiML to connect the call ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.twilio.register_call( agent_id="agent_id", from_number="from_number", @@ -8129,9 +8565,7 @@ client.conversational_ai.twilio.register_call(
-**direction:** `typing.Optional[ - BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPostDirection -]` +**direction:** `typing.Optional[BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPostDirection]`
@@ -8160,7 +8594,7 @@ client.conversational_ai.twilio.register_call(
## ConversationalAi Whatsapp -
client.conversational_ai.whatsapp.outbound_call(...) +
client.conversational_ai.whatsapp.outbound_call(...) -> WhatsAppOutboundCallResponse
@@ -8188,10 +8622,13 @@ Make an outbound call via WhatsApp ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.whatsapp.outbound_call( whatsapp_phone_number_id="whatsapp_phone_number_id", whatsapp_user_id="whatsapp_user_id", @@ -8274,7 +8711,7 @@ client.conversational_ai.whatsapp.outbound_call(
-
client.conversational_ai.whatsapp.outbound_message(...) +
client.conversational_ai.whatsapp.outbound_message(...) -> WhatsAppOutboundMessageResponse
@@ -8302,26 +8739,27 @@ Send an outbound message via WhatsApp ```python from elevenlabs import ElevenLabs, WhatsAppTemplateTextParam -from elevenlabs.conversational_ai.whatsapp import ( - BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePostTemplateParamsItem_Body, -) +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.whatsapp.outbound_message( whatsapp_phone_number_id="whatsapp_phone_number_id", whatsapp_user_id="whatsapp_user_id", template_name="template_name", template_language_code="template_language_code", template_params=[ - BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePostTemplateParamsItem_Body( - parameters=[ + { + "type": "body", + "parameters": [ WhatsAppTemplateTextParam( text="text", ) - ], - ) + ] + } ], agent_id="agent_id", ) @@ -8372,9 +8810,7 @@ client.conversational_ai.whatsapp.outbound_message(
-**template_params:** `typing.Sequence[ - BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePostTemplateParamsItem -]` +**template_params:** `typing.List[BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePostTemplateParamsItem]`
@@ -8411,7 +8847,7 @@ client.conversational_ai.whatsapp.outbound_message(
## ConversationalAi Agents -
client.conversational_ai.agents.create(...) +
client.conversational_ai.agents.create(...) -> CreateAgentResponseModel
@@ -8438,11 +8874,14 @@ Create an agent from a config object
```python -from elevenlabs import ConversationalConfig, ElevenLabs +from elevenlabs import ElevenLabs, ConversationalConfig +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.agents.create( enable_versioning=True, conversation_config=ConversationalConfig(), @@ -8502,7 +8941,7 @@ client.conversational_ai.agents.create(
-**tags:** `typing.Optional[typing.Sequence[str]]` — Tags to help classify and filter the agent +**tags:** `typing.Optional[typing.List[str]]` — Tags to help classify and filter the agent
@@ -8522,7 +8961,7 @@ client.conversational_ai.agents.create(
-
client.conversational_ai.agents.get(...) +
client.conversational_ai.agents.get(...) -> GetAgentResponseModel
@@ -8550,10 +8989,13 @@ Retrieve config for an agent ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.agents.get( agent_id="agent_3701k3ttaq12ewp8b7qv5rfyszkz", version_id="version_id", @@ -8638,10 +9080,13 @@ Delete an agent ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.agents.delete( agent_id="agent_3701k3ttaq12ewp8b7qv5rfyszkz", ) @@ -8680,7 +9125,7 @@ client.conversational_ai.agents.delete(
-
client.conversational_ai.agents.update(...) +
client.conversational_ai.agents.update(...) -> GetAgentResponseModel
@@ -8708,10 +9153,13 @@ Patches an Agent settings ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.agents.update( agent_id="agent_3701k3ttaq12ewp8b7qv5rfyszkz", enable_versioning_if_not_enabled=True, @@ -8788,7 +9236,7 @@ client.conversational_ai.agents.update(
-**tags:** `typing.Optional[typing.Sequence[str]]` — Tags to help classify and filter the agent +**tags:** `typing.Optional[typing.List[str]]` — Tags to help classify and filter the agent
@@ -8816,7 +9264,7 @@ client.conversational_ai.agents.update(
-
client.conversational_ai.agents.list(...) +
client.conversational_ai.agents.list(...) -> GetAgentsPageResponseModel
@@ -8844,10 +9292,13 @@ Returns a list of your agents and their metadata. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.agents.list( page_size=1, search="search", @@ -8940,7 +9391,7 @@ client.conversational_ai.agents.list(
-
client.conversational_ai.agents.duplicate(...) +
client.conversational_ai.agents.duplicate(...) -> CreateAgentResponseModel
@@ -8968,10 +9419,13 @@ Create a new agent by duplicating an existing one ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.agents.duplicate( agent_id="agent_3701k3ttaq12ewp8b7qv5rfyszkz", ) @@ -9018,7 +9472,7 @@ client.conversational_ai.agents.duplicate(
-
client.conversational_ai.agents.simulate_conversation(...) +
client.conversational_ai.agents.simulate_conversation(...) -> AgentSimulatedChatTestResponseModel
@@ -9045,15 +9499,14 @@ Run a conversation between the agent and a simulated user.
```python -from elevenlabs import ( - AgentConfig, - ConversationSimulationSpecification, - ElevenLabs, -) +from elevenlabs import ElevenLabs, ConversationSimulationSpecification, AgentConfig +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.agents.simulate_conversation( agent_id="agent_3701k3ttaq12ewp8b7qv5rfyszkz", simulation_specification=ConversationSimulationSpecification( @@ -9095,7 +9548,7 @@ client.conversational_ai.agents.simulate_conversation(
-**extra_evaluation_criteria:** `typing.Optional[typing.Sequence[PromptEvaluationCriteria]]` — A list of evaluation criteria to test +**extra_evaluation_criteria:** `typing.Optional[typing.List[PromptEvaluationCriteria]]` — A list of evaluation criteria to test
@@ -9150,15 +9603,14 @@ Run a conversation between the agent and a simulated user and stream back the re
```python -from elevenlabs import ( - AgentConfig, - ConversationSimulationSpecification, - ElevenLabs, -) +from elevenlabs import ElevenLabs, ConversationSimulationSpecification, AgentConfig +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.agents.simulate_conversation_stream( agent_id="agent_3701k3ttaq12ewp8b7qv5rfyszkz", simulation_specification=ConversationSimulationSpecification( @@ -9200,7 +9652,7 @@ client.conversational_ai.agents.simulate_conversation_stream(
-**extra_evaluation_criteria:** `typing.Optional[typing.Sequence[PromptEvaluationCriteria]]` — A list of evaluation criteria to test +**extra_evaluation_criteria:** `typing.Optional[typing.List[PromptEvaluationCriteria]]` — A list of evaluation criteria to test
@@ -9228,7 +9680,7 @@ client.conversational_ai.agents.simulate_conversation_stream(
-
client.conversational_ai.agents.run_tests(...) +
client.conversational_ai.agents.run_tests(...) -> GetTestSuiteInvocationResponseModel
@@ -9256,10 +9708,13 @@ Run selected tests on the agent with provided configuration. If the agent config ```python from elevenlabs import ElevenLabs, SingleTestRunRequestModel +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.agents.run_tests( agent_id="agent_3701k3ttaq12ewp8b7qv5rfyszkz", tests=[ @@ -9291,7 +9746,7 @@ client.conversational_ai.agents.run_tests(
-**tests:** `typing.Sequence[SingleTestRunRequestModel]` — List of tests to run on the agent +**tests:** `typing.List[SingleTestRunRequestModel]` — List of tests to run on the agent
@@ -9328,7 +9783,7 @@ client.conversational_ai.agents.run_tests(
## ConversationalAi Tests -
client.conversational_ai.tests.create(...) +
client.conversational_ai.tests.create(...) -> CreateAgentTestResponseModel
@@ -9356,15 +9811,18 @@ Creates a new agent response test. ```python from elevenlabs import ElevenLabs -from elevenlabs.conversational_ai.tests import TestsCreateRequestBody_Llm +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.tests.create( - request=TestsCreateRequestBody_Llm( - name="name", - ), + request={ + "type": "llm", + "name": "name" + }, ) ``` @@ -9381,7 +9839,7 @@ client.conversational_ai.tests.create(
-**request:** `TestsCreateRequestBody` +**request:** `TestsCreateRequestBody` — Create Chat Response Test Request Information
@@ -9401,7 +9859,7 @@ client.conversational_ai.tests.create(
-
client.conversational_ai.tests.get(...) +
client.conversational_ai.tests.get(...) -> TestsGetResponse
@@ -9429,10 +9887,13 @@ Gets an agent response test by ID. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.tests.get( test_id="TeaqRRdTcIfIu2i7BYfT", ) @@ -9471,7 +9932,7 @@ client.conversational_ai.tests.get(
-
client.conversational_ai.tests.update(...) +
client.conversational_ai.tests.update(...) -> TestsUpdateResponse
@@ -9499,16 +9960,19 @@ Updates an agent response test by ID. ```python from elevenlabs import ElevenLabs -from elevenlabs.conversational_ai.tests import TestsUpdateRequestBody_Llm +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.tests.update( test_id="TeaqRRdTcIfIu2i7BYfT", - request=TestsUpdateRequestBody_Llm( - name="name", - ), + request={ + "type": "llm", + "name": "name" + }, ) ``` @@ -9533,7 +9997,7 @@ client.conversational_ai.tests.update(
-**request:** `TestsUpdateRequestBody` +**request:** `TestsUpdateRequestBody` — Agent test to update
@@ -9553,7 +10017,7 @@ client.conversational_ai.tests.update(
-
client.conversational_ai.tests.delete(...) +
client.conversational_ai.tests.delete(...) -> typing.Any
@@ -9581,10 +10045,13 @@ Deletes an agent response test by ID. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.tests.delete( test_id="TeaqRRdTcIfIu2i7BYfT", ) @@ -9623,7 +10090,7 @@ client.conversational_ai.tests.delete(
-
client.conversational_ai.tests.summaries(...) +
client.conversational_ai.tests.summaries(...) -> GetTestsSummariesByIdsResponseModel
@@ -9651,12 +10118,18 @@ Gets multiple agent response tests by their IDs. Returns a dictionary mapping te ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.tests.summaries( - test_ids=["test_id_1", "test_id_2"], + test_ids=[ + "test_id_1", + "test_id_2" + ], ) ``` @@ -9673,7 +10146,7 @@ client.conversational_ai.tests.summaries(
-**test_ids:** `typing.Sequence[str]` — List of test IDs to fetch. No duplicates allowed. +**test_ids:** `typing.List[str]` — List of test IDs to fetch. No duplicates allowed.
@@ -9693,7 +10166,7 @@ client.conversational_ai.tests.summaries(
-
client.conversational_ai.tests.list(...) +
client.conversational_ai.tests.list(...) -> GetTestsPageResponseModel
@@ -9721,10 +10194,13 @@ Lists all agent response tests with pagination support and optional search filte ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.tests.list( cursor="cursor", page_size=1, @@ -9817,7 +10293,7 @@ client.conversational_ai.tests.list(
## ConversationalAi Users -
client.conversational_ai.users.list(...) +
client.conversational_ai.users.list(...) -> GetConversationUsersPageResponseModel
@@ -9845,10 +10321,13 @@ Get distinct users from conversations with pagination. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.users.list( agent_id="agent_id", branch_id="branch_id", @@ -9951,7 +10430,7 @@ client.conversational_ai.users.list(
## ConversationalAi PhoneNumbers -
client.conversational_ai.phone_numbers.list() +
client.conversational_ai.phone_numbers.list() -> typing.List[PhoneNumbersListResponseItem]
@@ -9979,10 +10458,13 @@ Retrieve all Phone Numbers ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.phone_numbers.list() ``` @@ -10011,7 +10493,7 @@ client.conversational_ai.phone_numbers.list()
-
client.conversational_ai.phone_numbers.create(...) +
client.conversational_ai.phone_numbers.create(...) -> CreatePhoneNumberResponseModel
@@ -10039,20 +10521,21 @@ Import Phone Number from provider configuration (Twilio or SIP trunk) ```python from elevenlabs import ElevenLabs -from elevenlabs.conversational_ai.phone_numbers import ( - PhoneNumbersCreateRequestBody_Twilio, -) +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.phone_numbers.create( - request=PhoneNumbersCreateRequestBody_Twilio( - phone_number="phone_number", - label="label", - sid="sid", - token="token", - ), + request={ + "provider": "twilio", + "phone_number": "phone_number", + "label": "label", + "sid": "sid", + "token": "token" + }, ) ``` @@ -10069,7 +10552,7 @@ client.conversational_ai.phone_numbers.create(
-**request:** `PhoneNumbersCreateRequestBody` +**request:** `PhoneNumbersCreateRequestBody` — Create Phone Request Information
@@ -10089,7 +10572,7 @@ client.conversational_ai.phone_numbers.create(
-
client.conversational_ai.phone_numbers.get(...) +
client.conversational_ai.phone_numbers.get(...) -> PhoneNumbersGetResponse
@@ -10117,10 +10600,13 @@ Retrieve Phone Number details by ID ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.phone_numbers.get( phone_number_id="TeaqRRdTcIfIu2i7BYfT", ) @@ -10159,7 +10645,7 @@ client.conversational_ai.phone_numbers.get(
-
client.conversational_ai.phone_numbers.delete(...) +
client.conversational_ai.phone_numbers.delete(...) -> typing.Any
@@ -10187,10 +10673,13 @@ Delete Phone Number by ID ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.phone_numbers.delete( phone_number_id="TeaqRRdTcIfIu2i7BYfT", ) @@ -10229,7 +10718,7 @@ client.conversational_ai.phone_numbers.delete(
-
client.conversational_ai.phone_numbers.update(...) +
client.conversational_ai.phone_numbers.update(...) -> PhoneNumbersUpdateResponse
@@ -10257,10 +10746,13 @@ Update assigned agent of a phone number ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.phone_numbers.update( phone_number_id="TeaqRRdTcIfIu2i7BYfT", ) @@ -10340,7 +10832,7 @@ client.conversational_ai.phone_numbers.update(
## ConversationalAi LlmUsage -
client.conversational_ai.llm_usage.calculate(...) +
client.conversational_ai.llm_usage.calculate(...) -> LlmUsageCalculatorResponseModel
@@ -10368,10 +10860,13 @@ Returns a list of LLM models and the expected cost for using them based on the p ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.llm_usage.calculate( prompt_length=1, number_of_pages=1, @@ -10429,7 +10924,7 @@ client.conversational_ai.llm_usage.calculate(
## ConversationalAi Llm -
client.conversational_ai.llm.list() +
client.conversational_ai.llm.list() -> LlmListResponseModelInput
@@ -10457,10 +10952,13 @@ Returns a list of available LLM models that can be used with agents, including t ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.llm.list() ``` @@ -10490,7 +10988,7 @@ client.conversational_ai.llm.list()
## ConversationalAi KnowledgeBase -
client.conversational_ai.knowledge_base.list(...) +
client.conversational_ai.knowledge_base.list(...) -> GetKnowledgeBaseListResponseModel
@@ -10518,10 +11016,13 @@ Get a list of available knowledge base documents ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.knowledge_base.list( page_size=1, search="search", @@ -10572,11 +11073,7 @@ client.conversational_ai.knowledge_base.list(
-**types:** `typing.Optional[ - typing.Union[ - KnowledgeBaseDocumentType, typing.Sequence[KnowledgeBaseDocumentType] - ] -]` — If present, the endpoint will return only documents of the given types. +**types:** `typing.Optional[typing.Union[KnowledgeBaseDocumentType, typing.Sequence[KnowledgeBaseDocumentType]]]` — If present, the endpoint will return only documents of the given types.
@@ -10644,7 +11141,7 @@ client.conversational_ai.knowledge_base.list(
-
client.conversational_ai.knowledge_base.get_or_create_rag_indexes(...) +
client.conversational_ai.knowledge_base.get_or_create_rag_indexes(...) -> typing.Dict[str, KnowledgeBaseGetOrCreateRagIndexesResponseValue]
@@ -10672,10 +11169,13 @@ Retrieves and/or creates RAG indexes for multiple knowledge base documents in a ```python from elevenlabs import ElevenLabs, GetOrCreateRagIndexRequestModel +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.knowledge_base.get_or_create_rag_indexes( items=[ GetOrCreateRagIndexRequestModel( @@ -10700,7 +11200,7 @@ client.conversational_ai.knowledge_base.get_or_create_rag_indexes(
-**items:** `typing.Sequence[GetOrCreateRagIndexRequestModel]` — List of requested RAG indexes. Minimum 1, maximum 100 items. +**items:** `typing.List[GetOrCreateRagIndexRequestModel]` — List of requested RAG indexes. Minimum 1, maximum 100 items.
@@ -10721,7 +11221,7 @@ client.conversational_ai.knowledge_base.get_or_create_rag_indexes(
## ConversationalAi Tools -
client.conversational_ai.tools.list(...) +
client.conversational_ai.tools.list(...) -> ToolsResponseModel
@@ -10749,10 +11249,13 @@ Get all available tools in the workspace. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.tools.list( search="search", page_size=1, @@ -10844,7 +11347,7 @@ client.conversational_ai.tools.list(
-
client.conversational_ai.tools.create(...) +
client.conversational_ai.tools.create(...) -> ToolResponseModel
@@ -10871,22 +11374,22 @@ Add a new tool to the available tools in the workspace.
```python -from elevenlabs import ( - ElevenLabs, - ToolRequestModel, - ToolRequestModelToolConfig_Client, -) +from elevenlabs import ElevenLabs, ToolRequestModel +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.tools.create( request=ToolRequestModel( - tool_config=ToolRequestModelToolConfig_Client( - name="name", - description="description", - expects_response=False, - ), + tool_config={ + "type": "client", + "name": "name", + "description": "description", + "expects_response": False + }, ), ) @@ -10904,7 +11407,7 @@ client.conversational_ai.tools.create(
-**request:** `ToolRequestModel` +**request:** `ToolRequestModel` — A tool that an agent can provide to LLM.
@@ -10924,7 +11427,7 @@ client.conversational_ai.tools.create(
-
client.conversational_ai.tools.get(...) +
client.conversational_ai.tools.get(...) -> ToolResponseModel
@@ -10952,10 +11455,13 @@ Get tool that is available in the workspace. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.tools.get( tool_id="tool_id", ) @@ -10994,7 +11500,7 @@ client.conversational_ai.tools.get(
-
client.conversational_ai.tools.delete(...) +
client.conversational_ai.tools.delete(...) -> typing.Any
@@ -11022,12 +11528,16 @@ Delete tool from the workspace. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.tools.delete( tool_id="tool_id", + force=True, ) ``` @@ -11052,6 +11562,14 @@ client.conversational_ai.tools.delete(
+**force:** `typing.Optional[bool]` — If set to true, the tool will be deleted regardless of whether it is used by any agents and it will be removed from the dependent agents and branches. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -11064,7 +11582,7 @@ client.conversational_ai.tools.delete(
-
client.conversational_ai.tools.update(...) +
client.conversational_ai.tools.update(...) -> ToolResponseModel
@@ -11091,23 +11609,23 @@ Update tool that is available in the workspace.
```python -from elevenlabs import ( - ElevenLabs, - ToolRequestModel, - ToolRequestModelToolConfig_Client, -) +from elevenlabs import ElevenLabs, ToolRequestModel +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.tools.update( tool_id="tool_id", request=ToolRequestModel( - tool_config=ToolRequestModelToolConfig_Client( - name="name", - description="description", - expects_response=False, - ), + tool_config={ + "type": "client", + "name": "name", + "description": "description", + "expects_response": False + }, ), ) @@ -11133,7 +11651,7 @@ client.conversational_ai.tools.update(
-**request:** `ToolRequestModel` +**request:** `ToolRequestModel` — A tool that an agent can provide to LLM.
@@ -11153,7 +11671,7 @@ client.conversational_ai.tools.update(
-
client.conversational_ai.tools.get_dependent_agents(...) +
client.conversational_ai.tools.get_dependent_agents(...) -> GetToolDependentAgentsResponseModel
@@ -11181,10 +11699,13 @@ Get a list of agents depending on this tool ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.tools.get_dependent_agents( tool_id="tool_id", cursor="cursor", @@ -11242,7 +11763,7 @@ client.conversational_ai.tools.get_dependent_agents(
## ConversationalAi Settings -
client.conversational_ai.settings.get() +
client.conversational_ai.settings.get() -> GetConvAiSettingsResponseModel
@@ -11270,10 +11791,13 @@ Retrieve Convai settings for the workspace ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.settings.get() ``` @@ -11302,7 +11826,7 @@ client.conversational_ai.settings.get()
-
client.conversational_ai.settings.update(...) +
client.conversational_ai.settings.update(...) -> GetConvAiSettingsResponseModel
@@ -11330,10 +11854,13 @@ Update Convai settings for the workspace ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.settings.update() ``` @@ -11382,6 +11909,14 @@ client.conversational_ai.settings.update()
+**conversation_embedding_retention_days:** `typing.Optional[int]` — Days to retain conversation embeddings. None means use the system default (30 days). + +
+
+ +
+
+ **default_livekit_stack:** `typing.Optional[LivekitStackType]`
@@ -11403,7 +11938,7 @@ client.conversational_ai.settings.update()
## ConversationalAi Secrets -
client.conversational_ai.secrets.list(...) +
client.conversational_ai.secrets.list(...) -> GetWorkspaceSecretsResponseModel
@@ -11431,10 +11966,13 @@ Get all workspace secrets for the user ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.secrets.list( page_size=1, cursor="cursor", @@ -11482,7 +12020,7 @@ client.conversational_ai.secrets.list(
-
client.conversational_ai.secrets.create(...) +
client.conversational_ai.secrets.create(...) -> PostWorkspaceSecretResponseModel
@@ -11510,11 +12048,15 @@ Create a new secret for the workspace ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.secrets.create( + type="new", name="name", value="value", ) @@ -11533,6 +12075,14 @@ client.conversational_ai.secrets.create(
+**type:** `PostWorkspaceSecretRequestType` + +
+
+ +
+
+ **name:** `str`
@@ -11589,10 +12139,13 @@ Delete a workspace secret if it's not in use ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.secrets.delete( secret_id="secret_id", ) @@ -11631,7 +12184,7 @@ client.conversational_ai.secrets.delete(
-
client.conversational_ai.secrets.update(...) +
client.conversational_ai.secrets.update(...) -> PostWorkspaceSecretResponseModel
@@ -11659,12 +12212,16 @@ Update an existing secret for the workspace ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.secrets.update( secret_id="secret_id", + type="update", name="name", value="value", ) @@ -11691,6 +12248,14 @@ client.conversational_ai.secrets.update(
+**type:** `PatchWorkspaceSecretRequestType` + +
+
+ +
+
+ **name:** `str`
@@ -11720,7 +12285,7 @@ client.conversational_ai.secrets.update(
## ConversationalAi BatchCalls -
client.conversational_ai.batch_calls.create(...) +
client.conversational_ai.batch_calls.create(...) -> BatchCallResponse
@@ -11748,14 +12313,19 @@ Submit a batch call request to schedule calls for multiple recipients. ```python from elevenlabs import ElevenLabs, OutboundCallRecipient +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.batch_calls.create( call_name="call_name", agent_id="agent_id", - recipients=[OutboundCallRecipient()], + recipients=[ + OutboundCallRecipient() + ], ) ``` @@ -11788,7 +12358,7 @@ client.conversational_ai.batch_calls.create(
-**recipients:** `typing.Sequence[OutboundCallRecipient]` +**recipients:** `typing.List[OutboundCallRecipient]`
@@ -11856,7 +12426,7 @@ client.conversational_ai.batch_calls.create(
-
client.conversational_ai.batch_calls.list(...) +
client.conversational_ai.batch_calls.list(...) -> WorkspaceBatchCallsResponse
@@ -11884,10 +12454,13 @@ Get all batch calls for the current workspace. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.batch_calls.list( limit=1, last_doc="last_doc", @@ -11935,7 +12508,7 @@ client.conversational_ai.batch_calls.list(
-
client.conversational_ai.batch_calls.get(...) +
client.conversational_ai.batch_calls.get(...) -> BatchCallDetailedResponse
@@ -11963,10 +12536,13 @@ Get detailed information about a batch call including all recipients. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.batch_calls.get( batch_id="batch_id", ) @@ -12033,10 +12609,13 @@ Permanently delete a batch call and all recipient records. Conversations remain ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.batch_calls.delete( batch_id="batch_id", ) @@ -12075,7 +12654,7 @@ client.conversational_ai.batch_calls.delete(
-
client.conversational_ai.batch_calls.cancel(...) +
client.conversational_ai.batch_calls.cancel(...) -> BatchCallResponse
@@ -12103,10 +12682,13 @@ Cancel a running batch call and set all recipients to cancelled status. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.batch_calls.cancel( batch_id="batch_id", ) @@ -12145,7 +12727,7 @@ client.conversational_ai.batch_calls.cancel(
-
client.conversational_ai.batch_calls.retry(...) +
client.conversational_ai.batch_calls.retry(...) -> BatchCallResponse
@@ -12173,10 +12755,13 @@ Retry a batch call, calling failed and no-response recipients again. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.batch_calls.retry( batch_id="batch_id", ) @@ -12216,7 +12801,7 @@ client.conversational_ai.batch_calls.retry(
## ConversationalAi SipTrunk -
client.conversational_ai.sip_trunk.outbound_call(...) +
client.conversational_ai.sip_trunk.outbound_call(...) -> SipTrunkOutboundCallResponse
@@ -12244,10 +12829,13 @@ Handle an outbound call via SIP trunk ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.sip_trunk.outbound_call( agent_id="agent_id", agent_phone_number_id="agent_phone_number_id", @@ -12321,7 +12909,7 @@ client.conversational_ai.sip_trunk.outbound_call(
## ConversationalAi McpServers -
client.conversational_ai.mcp_servers.list() +
client.conversational_ai.mcp_servers.list() -> McpServersResponseModel
@@ -12349,10 +12937,13 @@ Retrieve all MCP server configurations available in the workspace. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.mcp_servers.list() ``` @@ -12381,7 +12972,7 @@ client.conversational_ai.mcp_servers.list()
-
client.conversational_ai.mcp_servers.create(...) +
client.conversational_ai.mcp_servers.create(...) -> McpServerResponseModel
@@ -12409,10 +13000,13 @@ Create a new MCP server configuration in the workspace. ```python from elevenlabs import ElevenLabs, McpServerConfigInput +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.mcp_servers.create( config=McpServerConfigInput( url="url", @@ -12454,7 +13048,7 @@ client.conversational_ai.mcp_servers.create(
-
client.conversational_ai.mcp_servers.get(...) +
client.conversational_ai.mcp_servers.get(...) -> McpServerResponseModel
@@ -12482,10 +13076,13 @@ Retrieve a specific MCP server configuration from the workspace. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.mcp_servers.get( mcp_server_id="mcp_server_id", ) @@ -12524,7 +13121,7 @@ client.conversational_ai.mcp_servers.get(
-
client.conversational_ai.mcp_servers.delete(...) +
client.conversational_ai.mcp_servers.delete(...) -> typing.Any
@@ -12552,10 +13149,13 @@ Delete a specific MCP server configuration from the workspace. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.mcp_servers.delete( mcp_server_id="mcp_server_id", ) @@ -12594,7 +13194,7 @@ client.conversational_ai.mcp_servers.delete(
-
client.conversational_ai.mcp_servers.update(...) +
client.conversational_ai.mcp_servers.update(...) -> McpServerResponseModel
@@ -12622,10 +13222,13 @@ Update the configuration settings for an MCP server. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.mcp_servers.update( mcp_server_id="mcp_server_id", ) @@ -12700,12 +13303,7 @@ client.conversational_ai.mcp_servers.update(
-**request_headers:** `typing.Optional[ - typing.Dict[ - str, - typing.Optional[McpServerConfigUpdateRequestModelRequestHeadersValue], - ] -]` — The headers to include in requests to the MCP server +**request_headers:** `typing.Optional[typing.Dict[str, typing.Optional[McpServerConfigUpdateRequestModelRequestHeadersValue]]]` — The headers to include in requests to the MCP server
@@ -12750,7 +13348,7 @@ client.conversational_ai.mcp_servers.update(
## ConversationalAi WhatsappAccounts -
client.conversational_ai.whatsapp_accounts.get(...) +
client.conversational_ai.whatsapp_accounts.get(...) -> GetWhatsAppAccountResponse
@@ -12778,10 +13376,13 @@ Get a WhatsApp account ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.whatsapp_accounts.get( phone_number_id="phone_number_id", ) @@ -12820,7 +13421,7 @@ client.conversational_ai.whatsapp_accounts.get(
-
client.conversational_ai.whatsapp_accounts.delete(...) +
client.conversational_ai.whatsapp_accounts.delete(...) -> typing.Any
@@ -12848,10 +13449,13 @@ Delete a WhatsApp account ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.whatsapp_accounts.delete( phone_number_id="phone_number_id", ) @@ -12890,7 +13494,7 @@ client.conversational_ai.whatsapp_accounts.delete(
-
client.conversational_ai.whatsapp_accounts.update(...) +
client.conversational_ai.whatsapp_accounts.update(...) -> typing.Any
@@ -12918,10 +13522,13 @@ Update a WhatsApp account ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.whatsapp_accounts.update( phone_number_id="phone_number_id", ) @@ -12984,7 +13591,7 @@ client.conversational_ai.whatsapp_accounts.update(
-
client.conversational_ai.whatsapp_accounts.list() +
client.conversational_ai.whatsapp_accounts.list() -> ListWhatsAppAccountsResponse
@@ -13012,10 +13619,13 @@ List all WhatsApp accounts ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.whatsapp_accounts.list() ``` @@ -13045,7 +13655,7 @@ client.conversational_ai.whatsapp_accounts.list()
## ConversationalAi Agents Summaries -
client.conversational_ai.agents.summaries.get(...) +
client.conversational_ai.agents.summaries.get(...) -> typing.Dict[str, SummariesGetResponseValue]
@@ -13073,10 +13683,13 @@ Returns summaries for the specified agents. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.agents.summaries.get() ``` @@ -13114,7 +13727,7 @@ client.conversational_ai.agents.summaries.get()
## ConversationalAi Agents Widget -
client.conversational_ai.agents.widget.get(...) +
client.conversational_ai.agents.widget.get(...) -> GetAgentEmbedResponseModel
@@ -13142,10 +13755,13 @@ Retrieve the widget configuration for an agent ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.agents.widget.get( agent_id="agent_3701k3ttaq12ewp8b7qv5rfyszkz", conversation_signature="conversation_signature", @@ -13194,7 +13810,7 @@ client.conversational_ai.agents.widget.get(
## ConversationalAi Agents Link -
client.conversational_ai.agents.link.get(...) +
client.conversational_ai.agents.link.get(...) -> GetAgentLinkResponseModel
@@ -13222,10 +13838,13 @@ Get the current link used to share the agent with others ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.agents.link.get( agent_id="agent_3701k3ttaq12ewp8b7qv5rfyszkz", ) @@ -13265,7 +13884,7 @@ client.conversational_ai.agents.link.get(
## ConversationalAi Agents KnowledgeBase -
client.conversational_ai.agents.knowledge_base.size(...) +
client.conversational_ai.agents.knowledge_base.size(...) -> GetAgentKnowledgebaseSizeResponseModel
@@ -13293,10 +13912,13 @@ Returns the number of pages in the agent's knowledge base. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.agents.knowledge_base.size( agent_id="agent_id", ) @@ -13336,7 +13958,7 @@ client.conversational_ai.agents.knowledge_base.size(
## ConversationalAi Agents LlmUsage -
client.conversational_ai.agents.llm_usage.calculate(...) +
client.conversational_ai.agents.llm_usage.calculate(...) -> LlmUsageCalculatorResponseModel
@@ -13364,10 +13986,13 @@ Calculates expected number of LLM tokens needed for the specified agent. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.agents.llm_usage.calculate( agent_id="agent_id", ) @@ -13431,7 +14056,7 @@ client.conversational_ai.agents.llm_usage.calculate(
## ConversationalAi Agents Branches -
client.conversational_ai.agents.branches.list(...) +
client.conversational_ai.agents.branches.list(...) -> ListResponseAgentBranchSummary
@@ -13459,10 +14084,13 @@ Returns a list of branches an agent has ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.agents.branches.list( agent_id="agent_3701k3ttaq12ewp8b7qv5rfyszkz", include_archived=True, @@ -13519,7 +14147,7 @@ client.conversational_ai.agents.branches.list(
-
client.conversational_ai.agents.branches.create(...) +
client.conversational_ai.agents.branches.create(...) -> CreateAgentBranchResponseModel
@@ -13547,10 +14175,13 @@ Create a new branch from a given version of main branch ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.agents.branches.create( agent_id="agent_3701k3ttaq12ewp8b7qv5rfyszkz", parent_version_id="parent_version_id", @@ -13640,7 +14271,7 @@ client.conversational_ai.agents.branches.create(
-
client.conversational_ai.agents.branches.get(...) +
client.conversational_ai.agents.branches.get(...) -> AgentBranchResponse
@@ -13668,10 +14299,13 @@ Get information about a single agent branch ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.agents.branches.get( agent_id="agent_3701k3ttaq12ewp8b7qv5rfyszkz", branch_id="agtbranch_0901k4aafjxxfxt93gd841r7tv5t", @@ -13719,7 +14353,7 @@ client.conversational_ai.agents.branches.get(
-
client.conversational_ai.agents.branches.update(...) +
client.conversational_ai.agents.branches.update(...) -> AgentBranchResponse
@@ -13747,10 +14381,13 @@ Update agent branch properties such as archiving status and protection level ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.agents.branches.update( agent_id="agent_3701k3ttaq12ewp8b7qv5rfyszkz", branch_id="agtbranch_0901k4aafjxxfxt93gd841r7tv5t", @@ -13822,7 +14459,7 @@ client.conversational_ai.agents.branches.update(
-
client.conversational_ai.agents.branches.merge(...) +
client.conversational_ai.agents.branches.merge(...) -> typing.Any
@@ -13850,10 +14487,13 @@ Merge a branch into a target branch ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.agents.branches.merge( agent_id="agent_3701k3ttaq12ewp8b7qv5rfyszkz", source_branch_id="agtbrch_8901k4t9z5defmb8vh3e9361y7nj", @@ -13919,7 +14559,7 @@ client.conversational_ai.agents.branches.merge(
## ConversationalAi Agents Deployments -
client.conversational_ai.agents.deployments.create(...) +
client.conversational_ai.agents.deployments.create(...) -> AgentDeploymentResponse
@@ -13946,16 +14586,14 @@ Create a new deployment for an agent
```python -from elevenlabs import ( - AgentDeploymentPercentageStrategy, - AgentDeploymentRequest, - AgentDeploymentRequestItem, - ElevenLabs, -) +from elevenlabs import ElevenLabs, AgentDeploymentRequest, AgentDeploymentRequestItem, AgentDeploymentPercentageStrategy +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.agents.deployments.create( agent_id="agent_3701k3ttaq12ewp8b7qv5rfyszkz", deployment_request=AgentDeploymentRequest( @@ -13963,6 +14601,7 @@ client.conversational_ai.agents.deployments.create( AgentDeploymentRequestItem( branch_id="agtbrch_8901k4t9z5defmb8vh3e9361y7nj", deployment_strategy=AgentDeploymentPercentageStrategy( + type="percentage", traffic_percentage=0.5, ), ) @@ -14013,7 +14652,7 @@ client.conversational_ai.agents.deployments.create(
## ConversationalAi Agents Drafts -
client.conversational_ai.agents.drafts.create(...) +
client.conversational_ai.agents.drafts.create(...) -> typing.Any
@@ -14040,141 +14679,182 @@ Create a new draft for an agent
```python -from elevenlabs import ( - AgentWorkflowRequestModel, - AgentWorkflowRequestModelNodesValue_End, - AstAndOperatorNodeInputChildrenItem_BooleanLiteral, - ElevenLabs, - WorkflowEdgeModelInput, - WorkflowEdgeModelInputForwardCondition_Expression, - WorkflowExpressionConditionModelInputExpression_AndOperator, -) +from elevenlabs import ElevenLabs, AgentWorkflowRequestModel, WorkflowEdgeModelInput +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.agents.drafts.create( agent_id="agent_3701k3ttaq12ewp8b7qv5rfyszkz", branch_id="agtbrch_8901k4t9z5defmb8vh3e9361y7nj", - conversation_config={"key": "value"}, - platform_settings={"key": "value"}, + conversation_config={ + "key": "value" + }, + platform_settings={ + "key": "value" + }, workflow=AgentWorkflowRequestModel( edges={ "entry_to_tool_a": WorkflowEdgeModelInput( source="entry_node", target="tool_node_a", - forward_condition=WorkflowEdgeModelInputForwardCondition_Expression( - expression=WorkflowExpressionConditionModelInputExpression_AndOperator( - children=[ - AstAndOperatorNodeInputChildrenItem_BooleanLiteral( - value=True, - ) - ], - ), - ), + forward_condition={ + "type": "expression", + "expression": { + "type": "and_operator", + "children": [ + { + "type": "boolean_literal", + "value": True + } + ] + } + }, ), "start_to_entry": WorkflowEdgeModelInput( source="start_node", target="entry_node", - forward_condition=WorkflowEdgeModelInputForwardCondition_Expression( - expression=WorkflowExpressionConditionModelInputExpression_AndOperator( - children=[ - AstAndOperatorNodeInputChildrenItem_BooleanLiteral( - value=True, - ) - ], - ), - ), + forward_condition={ + "type": "expression", + "expression": { + "type": "and_operator", + "children": [ + { + "type": "boolean_literal", + "value": True + } + ] + } + }, ), "tool_a_to_failure": WorkflowEdgeModelInput( source="tool_node_a", target="failure_node", - forward_condition=WorkflowEdgeModelInputForwardCondition_Expression( - expression=WorkflowExpressionConditionModelInputExpression_AndOperator( - children=[ - AstAndOperatorNodeInputChildrenItem_BooleanLiteral( - value=True, - ) - ], - ), - ), + forward_condition={ + "type": "expression", + "expression": { + "type": "and_operator", + "children": [ + { + "type": "boolean_literal", + "value": True + } + ] + } + }, ), "tool_a_to_tool_b": WorkflowEdgeModelInput( source="tool_node_a", target="tool_node_b", - forward_condition=WorkflowEdgeModelInputForwardCondition_Expression( - expression=WorkflowExpressionConditionModelInputExpression_AndOperator( - children=[ - AstAndOperatorNodeInputChildrenItem_BooleanLiteral( - value=True, - ) - ], - ), - ), + forward_condition={ + "type": "expression", + "expression": { + "type": "and_operator", + "children": [ + { + "type": "boolean_literal", + "value": True + } + ] + } + }, ), "tool_b_to_agent_transfer": WorkflowEdgeModelInput( source="tool_node_b", target="success_transfer", - forward_condition=WorkflowEdgeModelInputForwardCondition_Expression( - expression=WorkflowExpressionConditionModelInputExpression_AndOperator( - children=[ - AstAndOperatorNodeInputChildrenItem_BooleanLiteral( - value=True, - ) - ], - ), - ), + forward_condition={ + "type": "expression", + "expression": { + "type": "and_operator", + "children": [ + { + "type": "boolean_literal", + "value": True + } + ] + } + }, ), "tool_b_to_conversation": WorkflowEdgeModelInput( source="tool_node_b", target="success_conversation", - forward_condition=WorkflowEdgeModelInputForwardCondition_Expression( - expression=WorkflowExpressionConditionModelInputExpression_AndOperator( - children=[ - AstAndOperatorNodeInputChildrenItem_BooleanLiteral( - value=True, - ) - ], - ), - ), + forward_condition={ + "type": "expression", + "expression": { + "type": "and_operator", + "children": [ + { + "type": "boolean_literal", + "value": True + } + ] + } + }, ), "tool_b_to_end": WorkflowEdgeModelInput( source="tool_node_b", target="success_end", - forward_condition=WorkflowEdgeModelInputForwardCondition_Expression( - expression=WorkflowExpressionConditionModelInputExpression_AndOperator( - children=[ - AstAndOperatorNodeInputChildrenItem_BooleanLiteral( - value=True, - ) - ], - ), - ), + forward_condition={ + "type": "expression", + "expression": { + "type": "and_operator", + "children": [ + { + "type": "boolean_literal", + "value": True + } + ] + } + }, ), "tool_b_to_phone": WorkflowEdgeModelInput( source="tool_node_b", target="success_phone", - forward_condition=WorkflowEdgeModelInputForwardCondition_Expression( - expression=WorkflowExpressionConditionModelInputExpression_AndOperator( - children=[ - AstAndOperatorNodeInputChildrenItem_BooleanLiteral( - value=True, - ) - ], - ), - ), - ), + forward_condition={ + "type": "expression", + "expression": { + "type": "and_operator", + "children": [ + { + "type": "boolean_literal", + "value": True + } + ] + } + }, + ) }, nodes={ - "entry_node": AgentWorkflowRequestModelNodesValue_End(), - "failure_node": AgentWorkflowRequestModelNodesValue_End(), - "start_node": AgentWorkflowRequestModelNodesValue_End(), - "success_conversation": AgentWorkflowRequestModelNodesValue_End(), - "success_end": AgentWorkflowRequestModelNodesValue_End(), - "success_phone": AgentWorkflowRequestModelNodesValue_End(), - "success_transfer": AgentWorkflowRequestModelNodesValue_End(), - "tool_node_a": AgentWorkflowRequestModelNodesValue_End(), - "tool_node_b": AgentWorkflowRequestModelNodesValue_End(), + "entry_node": { + "type": "end" + }, + "failure_node": { + "type": "end" + }, + "start_node": { + "type": "end" + }, + "success_conversation": { + "type": "end" + }, + "success_end": { + "type": "end" + }, + "success_phone": { + "type": "end" + }, + "success_transfer": { + "type": "end" + }, + "tool_node_a": { + "type": "end" + }, + "tool_node_b": { + "type": "end" + } }, ), name="name", @@ -14242,7 +14922,7 @@ client.conversational_ai.agents.drafts.create(
-**tags:** `typing.Optional[typing.Sequence[str]]` — Tags to help classify and filter the agent +**tags:** `typing.Optional[typing.List[str]]` — Tags to help classify and filter the agent
@@ -14262,7 +14942,7 @@ client.conversational_ai.agents.drafts.create(
-
client.conversational_ai.agents.drafts.delete(...) +
client.conversational_ai.agents.drafts.delete(...) -> typing.Any
@@ -14290,10 +14970,13 @@ Delete a draft for an agent ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.agents.drafts.delete( agent_id="agent_3701k3ttaq12ewp8b7qv5rfyszkz", branch_id="agtbrch_8901k4t9z5defmb8vh3e9361y7nj", @@ -14342,7 +15025,7 @@ client.conversational_ai.agents.drafts.delete(
## ConversationalAi Agents Widget Avatar -
client.conversational_ai.agents.widget.avatar.create(...) +
client.conversational_ai.agents.widget.avatar.create(...) -> PostAgentAvatarResponseModel
@@ -14370,12 +15053,16 @@ Sets the avatar for an agent displayed in the widget ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.agents.widget.avatar.create( agent_id="agent_3701k3ttaq12ewp8b7qv5rfyszkz", + avatar_file="example_avatar_file", ) ``` @@ -14400,9 +15087,7 @@ client.conversational_ai.agents.widget.avatar.create(
-**avatar_file:** `from __future__ import annotations - -core.File` — See core.File for more documentation +**avatar_file:** `core.File` — An image file to be used as the agent's avatar.
@@ -14423,7 +15108,7 @@ core.File` — See core.File for more documentation
## ConversationalAi Analytics LiveCount -
client.conversational_ai.analytics.live_count.get(...) +
client.conversational_ai.analytics.live_count.get(...) -> GetLiveCountResponse
@@ -14451,10 +15136,13 @@ Get the live count of the ongoing conversations. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.analytics.live_count.get( agent_id="agent_id", ) @@ -14494,7 +15182,7 @@ client.conversational_ai.analytics.live_count.get(
## ConversationalAi Conversations Audio -
client.conversational_ai.conversations.audio.get(...) +
client.conversational_ai.conversations.audio.get(...) -> typing.Iterator[bytes]
@@ -14522,10 +15210,13 @@ Get the audio recording of a particular conversation ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.conversations.audio.get( conversation_id="conversation_id", ) @@ -14552,7 +15243,7 @@ client.conversational_ai.conversations.audio.get(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. You can pass in configuration such as `chunk_size`, and more to customize the request and response. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -14565,7 +15256,7 @@ client.conversational_ai.conversations.audio.get(
## ConversationalAi Conversations Feedback -
client.conversational_ai.conversations.feedback.create(...) +
client.conversational_ai.conversations.feedback.create(...) -> typing.Any
@@ -14593,10 +15284,13 @@ Send the feedback for the given conversation ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.conversations.feedback.create( conversation_id="21m00Tcm4TlvDq8ikWAM", feedback="like", @@ -14645,7 +15339,7 @@ client.conversational_ai.conversations.feedback.create(
## ConversationalAi Conversations Messages -
client.conversational_ai.conversations.messages.text_search(...) +
client.conversational_ai.conversations.messages.text_search(...) -> MessagesSearchResponse
@@ -14673,10 +15367,13 @@ Search through conversation transcript messages by full-text and fuzzy search ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.conversations.messages.text_search( text_query="refund policy", agent_id="agent_id", @@ -14822,6 +15519,22 @@ client.conversational_ai.conversations.messages.text_search(
+**tool_names_successful:** `typing.Optional[typing.Union[str, typing.Sequence[str]]]` — Filter conversations by tool names that had successful calls. + +
+
+ +
+
+ +**tool_names_errored:** `typing.Optional[typing.Union[str, typing.Sequence[str]]]` — Filter conversations by tool names that had errored calls. + +
+
+ +
+
+ **main_languages:** `typing.Optional[typing.Union[str, typing.Sequence[str]]]` — Filter conversations by detected main language (language code).
@@ -14882,7 +15595,7 @@ client.conversational_ai.conversations.messages.text_search(
-
client.conversational_ai.conversations.messages.search(...) +
client.conversational_ai.conversations.messages.search(...) -> MessagesSearchResponse
@@ -14910,10 +15623,13 @@ Search conversation transcripts by semantic similarity to surface relevant messa ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.conversations.messages.search( text_query="Customer asking to cancel and get money back", agent_id="agent_id", @@ -14980,7 +15696,7 @@ client.conversational_ai.conversations.messages.search(
## ConversationalAi Conversations Files -
client.conversational_ai.conversations.files.create(...) +
client.conversational_ai.conversations.files.create(...) -> ConvAiFileUploadResponseModel
@@ -15008,12 +15724,16 @@ Upload an image or PDF file for a conversation. Returns a unique file ID that ca ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.conversations.files.create( conversation_id="conversation_id", + file="example_file", ) ``` @@ -15038,9 +15758,7 @@ client.conversational_ai.conversations.files.create(
-**file:** `from __future__ import annotations - -core.File` — See core.File for more documentation +**file:** `core.File` — Image or PDF file to upload
@@ -15060,7 +15778,7 @@ core.File` — See core.File for more documentation
-
client.conversational_ai.conversations.files.delete(...) +
client.conversational_ai.conversations.files.delete(...) -> ConvAiFileUploadResponseModel
@@ -15088,10 +15806,13 @@ Remove a file upload from a conversation. Only possible if the file hasn't alrea ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.conversations.files.delete( conversation_id="conversation_id", file_id="file_id", @@ -15140,7 +15861,7 @@ client.conversational_ai.conversations.files.delete(
## ConversationalAi Dashboard Settings -
client.conversational_ai.dashboard.settings.get() +
client.conversational_ai.dashboard.settings.get() -> GetConvAiDashboardSettingsResponseModel
@@ -15168,10 +15889,13 @@ Retrieve Convai dashboard settings for the workspace ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.dashboard.settings.get() ``` @@ -15200,7 +15924,7 @@ client.conversational_ai.dashboard.settings.get()
-
client.conversational_ai.dashboard.settings.update(...) +
client.conversational_ai.dashboard.settings.update(...) -> GetConvAiDashboardSettingsResponseModel
@@ -15228,10 +15952,13 @@ Update Convai dashboard settings for the workspace ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.dashboard.settings.update() ``` @@ -15248,7 +15975,7 @@ client.conversational_ai.dashboard.settings.update()
-**charts:** `typing.Optional[typing.Sequence[PatchConvAiDashboardSettingsRequestChartsItem]]` +**charts:** `typing.Optional[typing.List[PatchConvAiDashboardSettingsRequestChartsItem]]`
@@ -15269,7 +15996,7 @@ client.conversational_ai.dashboard.settings.update()
## ConversationalAi KnowledgeBase Documents -
client.conversational_ai.knowledge_base.documents.create_from_url(...) +
client.conversational_ai.knowledge_base.documents.create_from_url(...) -> AddKnowledgeBaseResponseModel
@@ -15297,10 +16024,13 @@ Create a knowledge base document generated by scraping the given webpage. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.knowledge_base.documents.create_from_url( url="url", ) @@ -15355,7 +16085,7 @@ client.conversational_ai.knowledge_base.documents.create_from_url(
-
client.conversational_ai.knowledge_base.documents.create_from_file(...) +
client.conversational_ai.knowledge_base.documents.create_from_file(...) -> AddKnowledgeBaseResponseModel
@@ -15383,11 +16113,16 @@ Create a knowledge base document generated form the uploaded file. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, +) + +client.conversational_ai.knowledge_base.documents.create_from_file( + file="example_file", ) -client.conversational_ai.knowledge_base.documents.create_from_file() ```
@@ -15403,9 +16138,7 @@ client.conversational_ai.knowledge_base.documents.create_from_file()
-**file:** `from __future__ import annotations - -core.File` — See core.File for more documentation +**file:** `core.File` — Documentation that the agent will have access to in order to interact with users.
@@ -15441,7 +16174,7 @@ core.File` — See core.File for more documentation
-
client.conversational_ai.knowledge_base.documents.create_from_text(...) +
client.conversational_ai.knowledge_base.documents.create_from_text(...) -> AddKnowledgeBaseResponseModel
@@ -15469,10 +16202,13 @@ Create a knowledge base document containing the provided text. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.knowledge_base.documents.create_from_text( text="text", ) @@ -15527,7 +16263,7 @@ client.conversational_ai.knowledge_base.documents.create_from_text(
-
client.conversational_ai.knowledge_base.documents.create_folder(...) +
client.conversational_ai.knowledge_base.documents.create_folder(...) -> AddKnowledgeBaseResponseModel
@@ -15555,10 +16291,13 @@ Create a folder used for grouping documents together. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.knowledge_base.documents.create_folder( name="name", ) @@ -15605,7 +16344,7 @@ client.conversational_ai.knowledge_base.documents.create_folder(
-
client.conversational_ai.knowledge_base.documents.get(...) +
client.conversational_ai.knowledge_base.documents.get(...) -> DocumentsGetResponse
@@ -15633,10 +16372,13 @@ Get details about a specific documentation making up the agent's knowledge base ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.knowledge_base.documents.get( documentation_id="21m00Tcm4TlvDq8ikWAM", agent_id="agent_id", @@ -15684,7 +16426,7 @@ client.conversational_ai.knowledge_base.documents.get(
-
client.conversational_ai.knowledge_base.documents.delete(...) +
client.conversational_ai.knowledge_base.documents.delete(...) -> typing.Any
@@ -15712,10 +16454,13 @@ Delete a document or folder from the knowledge base. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.knowledge_base.documents.delete( documentation_id="21m00Tcm4TlvDq8ikWAM", force=True, @@ -15763,7 +16508,7 @@ client.conversational_ai.knowledge_base.documents.delete(
-
client.conversational_ai.knowledge_base.documents.update(...) +
client.conversational_ai.knowledge_base.documents.update(...) -> DocumentsUpdateResponse
@@ -15791,10 +16536,13 @@ Update the name of a document ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.knowledge_base.documents.update( documentation_id="21m00Tcm4TlvDq8ikWAM", name="name", @@ -15842,7 +16590,7 @@ client.conversational_ai.knowledge_base.documents.update(
-
client.conversational_ai.knowledge_base.documents.get_agents(...) +
client.conversational_ai.knowledge_base.documents.get_agents(...) -> GetKnowledgeBaseDependentAgentsResponseModel
@@ -15870,10 +16618,13 @@ Get a list of agents depending on this knowledge base document ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.knowledge_base.documents.get_agents( documentation_id="21m00Tcm4TlvDq8ikWAM", dependent_type="direct", @@ -15939,7 +16690,7 @@ client.conversational_ai.knowledge_base.documents.get_agents(
-
client.conversational_ai.knowledge_base.documents.get_content(...) +
client.conversational_ai.knowledge_base.documents.get_content(...) -> str
@@ -15967,12 +16718,15 @@ Get the entire content of a document from the knowledge base ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.knowledge_base.documents.get_content( - documentation_id="21m00Tcm4TlvDq8ikWAM", + documentation_id="documentation_id", ) ``` @@ -16009,7 +16763,7 @@ client.conversational_ai.knowledge_base.documents.get_content(
-
client.conversational_ai.knowledge_base.documents.get_source_file_url(...) +
client.conversational_ai.knowledge_base.documents.get_source_file_url(...) -> KnowledgeBaseSourceFileUrlResponseModel
@@ -16037,10 +16791,13 @@ Get a signed URL to download the original source file of a file-type document fr ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.knowledge_base.documents.get_source_file_url( documentation_id="21m00Tcm4TlvDq8ikWAM", ) @@ -16107,10 +16864,13 @@ Moves the entity from one folder to another. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.knowledge_base.documents.move( document_id="21m00Tcm4TlvDq8ikWAM", ) @@ -16185,12 +16945,18 @@ Moves multiple entities from one folder to another. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.knowledge_base.documents.bulk_move( - document_ids=["21m00Tcm4TlvDq8ikWAM", "31m00Tcm4TlvDq8ikWBM"], + document_ids=[ + "21m00Tcm4TlvDq8ikWAM", + "31m00Tcm4TlvDq8ikWBM" + ], ) ``` @@ -16207,7 +16973,7 @@ client.conversational_ai.knowledge_base.documents.bulk_move(
-**document_ids:** `typing.Sequence[str]` — The ids of documents or folders from the knowledge base. +**document_ids:** `typing.List[str]` — The ids of documents or folders from the knowledge base.
@@ -16236,7 +17002,7 @@ client.conversational_ai.knowledge_base.documents.bulk_move(
## ConversationalAi KnowledgeBase Document -
client.conversational_ai.knowledge_base.document.compute_rag_index(...) +
client.conversational_ai.knowledge_base.document.compute_rag_index(...) -> RagDocumentIndexResponseModel
@@ -16264,10 +17030,13 @@ In case the document is not RAG indexed, it triggers rag indexing task, otherwis ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.knowledge_base.document.compute_rag_index( documentation_id="21m00Tcm4TlvDq8ikWAM", model="e5_mistral_7b_instruct", @@ -16316,7 +17085,7 @@ client.conversational_ai.knowledge_base.document.compute_rag_index(
## ConversationalAi KnowledgeBase Documents Summaries -
client.conversational_ai.knowledge_base.documents.summaries.get(...) +
client.conversational_ai.knowledge_base.documents.summaries.get(...) -> typing.Dict[str, SummariesGetResponseValue]
@@ -16344,10 +17113,13 @@ Gets multiple knowledge base document summaries by their IDs. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.knowledge_base.documents.summaries.get() ``` @@ -16385,7 +17157,7 @@ client.conversational_ai.knowledge_base.documents.summaries.get()
## ConversationalAi KnowledgeBase Documents Chunk -
client.conversational_ai.knowledge_base.documents.chunk.get(...) +
client.conversational_ai.knowledge_base.documents.chunk.get(...) -> KnowledgeBaseDocumentChunkResponseModel
@@ -16413,10 +17185,13 @@ Get details about a specific documentation part used by RAG. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.knowledge_base.documents.chunk.get( documentation_id="21m00Tcm4TlvDq8ikWAM", chunk_id="chunk_id", @@ -16465,7 +17240,7 @@ client.conversational_ai.knowledge_base.documents.chunk.get(
## ConversationalAi McpServers Tools -
client.conversational_ai.mcp_servers.tools.list(...) +
client.conversational_ai.mcp_servers.tools.list(...) -> ListMcpToolsResponseModel
@@ -16493,10 +17268,13 @@ Retrieve all tools available for a specific MCP server configuration. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.mcp_servers.tools.list( mcp_server_id="mcp_server_id", ) @@ -16536,7 +17314,7 @@ client.conversational_ai.mcp_servers.tools.list(
## ConversationalAi McpServers ApprovalPolicy -
client.conversational_ai.mcp_servers.approval_policy.update(...) +
client.conversational_ai.mcp_servers.approval_policy.update(...) -> McpServerResponseModel
@@ -16564,10 +17342,13 @@ Update the approval policy configuration for an MCP server. DEPRECATED: Use PATC ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.mcp_servers.approval_policy.update( mcp_server_id="mcp_server_id", approval_policy="auto_approve_all", @@ -16616,7 +17397,7 @@ client.conversational_ai.mcp_servers.approval_policy.update(
## ConversationalAi McpServers ToolApprovals -
client.conversational_ai.mcp_servers.tool_approvals.create(...) +
client.conversational_ai.mcp_servers.tool_approvals.create(...) -> McpServerResponseModel
@@ -16644,10 +17425,13 @@ Add approval for a specific MCP tool when using per-tool approval mode. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.mcp_servers.tool_approvals.create( mcp_server_id="mcp_server_id", tool_name="tool_name", @@ -16720,7 +17504,7 @@ client.conversational_ai.mcp_servers.tool_approvals.create(
-
client.conversational_ai.mcp_servers.tool_approvals.delete(...) +
client.conversational_ai.mcp_servers.tool_approvals.delete(...) -> McpServerResponseModel
@@ -16748,10 +17532,13 @@ Remove approval for a specific MCP tool when using per-tool approval mode. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.mcp_servers.tool_approvals.delete( mcp_server_id="mcp_server_id", tool_name="tool_name", @@ -16800,7 +17587,7 @@ client.conversational_ai.mcp_servers.tool_approvals.delete(
## ConversationalAi McpServers ToolConfigs -
client.conversational_ai.mcp_servers.tool_configs.create(...) +
client.conversational_ai.mcp_servers.tool_configs.create(...) -> McpServerResponseModel
@@ -16828,10 +17615,13 @@ Create configuration overrides for a specific MCP tool. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.mcp_servers.tool_configs.create( mcp_server_id="mcp_server_id", tool_name="tool_name", @@ -16907,7 +17697,7 @@ client.conversational_ai.mcp_servers.tool_configs.create(
-**assignments:** `typing.Optional[typing.Sequence[DynamicVariableAssignment]]` — Dynamic variable assignments for this MCP tool +**assignments:** `typing.Optional[typing.List[DynamicVariableAssignment]]` — Dynamic variable assignments for this MCP tool
@@ -16915,14 +17705,7 @@ client.conversational_ai.mcp_servers.tool_configs.create(
-**input_overrides:** `typing.Optional[ - typing.Dict[ - str, - typing.Optional[ - McpToolConfigOverrideCreateRequestModelInputOverridesValue - ], - ] -]` — Mapping of json path to input override configuration +**input_overrides:** `typing.Optional[typing.Dict[str, typing.Optional[McpToolConfigOverrideCreateRequestModelInputOverridesValue]]]` — Mapping of json path to input override configuration
@@ -16942,7 +17725,7 @@ client.conversational_ai.mcp_servers.tool_configs.create(
-
client.conversational_ai.mcp_servers.tool_configs.get(...) +
client.conversational_ai.mcp_servers.tool_configs.get(...) -> McpToolConfigOverride
@@ -16970,10 +17753,13 @@ Retrieve configuration overrides for a specific MCP tool. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.mcp_servers.tool_configs.get( mcp_server_id="mcp_server_id", tool_name="tool_name", @@ -17021,7 +17807,7 @@ client.conversational_ai.mcp_servers.tool_configs.get(
-
client.conversational_ai.mcp_servers.tool_configs.delete(...) +
client.conversational_ai.mcp_servers.tool_configs.delete(...) -> McpServerResponseModel
@@ -17049,10 +17835,13 @@ Remove configuration overrides for a specific MCP tool. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.mcp_servers.tool_configs.delete( mcp_server_id="mcp_server_id", tool_name="tool_name", @@ -17100,7 +17889,7 @@ client.conversational_ai.mcp_servers.tool_configs.delete(
-
client.conversational_ai.mcp_servers.tool_configs.update(...) +
client.conversational_ai.mcp_servers.tool_configs.update(...) -> McpServerResponseModel
@@ -17128,10 +17917,13 @@ Update configuration overrides for a specific MCP tool. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.mcp_servers.tool_configs.update( mcp_server_id="mcp_server_id", tool_name="tool_name", @@ -17207,7 +17999,7 @@ client.conversational_ai.mcp_servers.tool_configs.update(
-**assignments:** `typing.Optional[typing.Sequence[DynamicVariableAssignment]]` — Dynamic variable assignments for this MCP tool +**assignments:** `typing.Optional[typing.List[DynamicVariableAssignment]]` — Dynamic variable assignments for this MCP tool
@@ -17215,14 +18007,7 @@ client.conversational_ai.mcp_servers.tool_configs.update(
-**input_overrides:** `typing.Optional[ - typing.Dict[ - str, - typing.Optional[ - McpToolConfigOverrideUpdateRequestModelInputOverridesValue - ], - ] -]` — Mapping of json path to input override configuration +**input_overrides:** `typing.Optional[typing.Dict[str, typing.Optional[McpToolConfigOverrideUpdateRequestModelInputOverridesValue]]]` — Mapping of json path to input override configuration
@@ -17243,7 +18028,7 @@ client.conversational_ai.mcp_servers.tool_configs.update(
## ConversationalAi Tests Invocations -
client.conversational_ai.tests.invocations.list(...) +
client.conversational_ai.tests.invocations.list(...) -> GetTestInvocationsPageResponseModel
@@ -17271,10 +18056,13 @@ Lists all test invocations with pagination support and optional search filtering ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.tests.invocations.list( agent_id="agent_id", page_size=1, @@ -17331,7 +18119,7 @@ client.conversational_ai.tests.invocations.list(
-
client.conversational_ai.tests.invocations.get(...) +
client.conversational_ai.tests.invocations.get(...) -> GetTestSuiteInvocationResponseModel
@@ -17359,10 +18147,13 @@ Gets a test invocation by ID. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.tests.invocations.get( test_invocation_id="test_invocation_id", ) @@ -17401,7 +18192,7 @@ client.conversational_ai.tests.invocations.get(
-
client.conversational_ai.tests.invocations.resubmit(...) +
client.conversational_ai.tests.invocations.resubmit(...) -> typing.Any
@@ -17429,13 +18220,18 @@ Resubmits specific test runs from a test invocation. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.conversational_ai.tests.invocations.resubmit( test_invocation_id="test_invocation_id", - test_run_ids=["test_run_ids"], + test_run_ids=[ + "test_run_ids" + ], agent_id="agent_id", ) @@ -17461,7 +18257,7 @@ client.conversational_ai.tests.invocations.resubmit(
-**test_run_ids:** `typing.Sequence[str]` — List of test run IDs to resubmit +**test_run_ids:** `typing.List[str]` — List of test run IDs to resubmit
@@ -17506,7 +18302,7 @@ client.conversational_ai.tests.invocations.resubmit(
## Dubbing Resource -
client.dubbing.resource.get(...) +
client.dubbing.resource.get(...) -> DubbingResource
@@ -17534,10 +18330,13 @@ Given a dubbing ID generated from the '/v1/dubbing' endpoint with studio enabled ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.dubbing.resource.get( dubbing_id="dubbing_id", ) @@ -17576,7 +18375,7 @@ client.dubbing.resource.get(
-
client.dubbing.resource.migrate_segments(...) +
client.dubbing.resource.migrate_segments(...) -> SegmentMigrationResponse
@@ -17604,13 +18403,18 @@ Change the attribution of one or more segments to a different speaker. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.dubbing.resource.migrate_segments( dubbing_id="dubbing_id", - segment_ids=["segment_ids"], + segment_ids=[ + "segment_ids" + ], speaker_id="speaker_id", ) @@ -17636,7 +18440,7 @@ client.dubbing.resource.migrate_segments(
-**segment_ids:** `typing.Sequence[str]` +**segment_ids:** `typing.List[str]`
@@ -17664,7 +18468,7 @@ client.dubbing.resource.migrate_segments(
-
client.dubbing.resource.transcribe(...) +
client.dubbing.resource.transcribe(...) -> SegmentTranscriptionResponse
@@ -17692,13 +18496,18 @@ Regenerate the transcriptions for the specified segments. Does not automatically ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.dubbing.resource.transcribe( dubbing_id="dubbing_id", - segments=["segments"], + segments=[ + "segments" + ], ) ``` @@ -17723,7 +18532,7 @@ client.dubbing.resource.transcribe(
-**segments:** `typing.Sequence[str]` — Transcribe this specific list of segments. +**segments:** `typing.List[str]` — Transcribe this specific list of segments.
@@ -17743,7 +18552,7 @@ client.dubbing.resource.transcribe(
-
client.dubbing.resource.translate(...) +
client.dubbing.resource.translate(...) -> SegmentTranslationResponse
@@ -17771,13 +18580,18 @@ Regenerate the translations for either the entire resource or the specified segm ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.dubbing.resource.translate( dubbing_id="dubbing_id", - segments=["segments"], + segments=[ + "segments" + ], ) ``` @@ -17802,7 +18616,7 @@ client.dubbing.resource.translate(
-**segments:** `typing.Sequence[str]` — Translate only this list of segments. +**segments:** `typing.List[str]` — Translate only this list of segments.
@@ -17810,7 +18624,7 @@ client.dubbing.resource.translate(
-**languages:** `typing.Optional[typing.Sequence[str]]` — Translate only these languages for each segment. +**languages:** `typing.Optional[typing.List[str]]` — Translate only these languages for each segment.
@@ -17830,7 +18644,7 @@ client.dubbing.resource.translate(
-
client.dubbing.resource.dub(...) +
client.dubbing.resource.dub(...) -> SegmentDubResponse
@@ -17858,13 +18672,18 @@ Regenerate the dubs for either the entire resource or the specified segments/lan ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.dubbing.resource.dub( dubbing_id="dubbing_id", - segments=["segments"], + segments=[ + "segments" + ], ) ``` @@ -17889,7 +18708,7 @@ client.dubbing.resource.dub(
-**segments:** `typing.Sequence[str]` — Dub only this list of segments. +**segments:** `typing.List[str]` — Dub only this list of segments.
@@ -17897,7 +18716,7 @@ client.dubbing.resource.dub(
-**languages:** `typing.Optional[typing.Sequence[str]]` — Dub only these languages for each segment. +**languages:** `typing.Optional[typing.List[str]]` — Dub only these languages for each segment.
@@ -17917,7 +18736,7 @@ client.dubbing.resource.dub(
-
client.dubbing.resource.render(...) +
client.dubbing.resource.render(...) -> DubbingRenderResponseModel
@@ -17945,10 +18764,13 @@ Regenerate the output media for a language using the latest Studio state. Please ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.dubbing.resource.render( dubbing_id="dubbing_id", language="language", @@ -18014,7 +18836,7 @@ client.dubbing.resource.render(
## Dubbing Audio -
client.dubbing.audio.get(...) +
client.dubbing.audio.get(...) -> typing.Iterator[bytes]
@@ -18042,10 +18864,13 @@ Returns dub as a streamed MP3 or MP4 file. If this dub has been edited using Dub ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.dubbing.audio.get( dubbing_id="dubbing_id", language_code="language_code", @@ -18081,7 +18906,7 @@ client.dubbing.audio.get(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. You can pass in configuration such as `chunk_size`, and more to customize the request and response. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -18094,7 +18919,7 @@ client.dubbing.audio.get(
## Dubbing Transcript -
client.dubbing.transcript.get_transcript_for_dub(...) +
client.dubbing.transcript.get_transcript_for_dub(...) -> TranscriptGetTranscriptForDubResponse
@@ -18122,10 +18947,13 @@ Returns transcript for the dub as an SRT or WEBVTT file. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.dubbing.transcript.get_transcript_for_dub( dubbing_id="dubbing_id", language_code="source", @@ -18183,7 +19011,7 @@ client.dubbing.transcript.get_transcript_for_dub(
## Dubbing Transcripts -
client.dubbing.transcripts.get(...) +
client.dubbing.transcripts.get(...) -> DubbingTranscriptsResponseModel
@@ -18211,10 +19039,13 @@ Fetch the transcript for one of the languages in a dub. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.dubbing.transcripts.get( dubbing_id="dubbing_id", language_code="source", @@ -18272,7 +19103,7 @@ client.dubbing.transcripts.get(
## Dubbing Resource Language -
client.dubbing.resource.language.add(...) +
client.dubbing.resource.language.add(...) -> LanguageAddedResponse
@@ -18300,10 +19131,13 @@ Adds the given ElevenLab Turbo V2/V2.5 language code to the resource. Does not a ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.dubbing.resource.language.add( dubbing_id="dubbing_id", ) @@ -18351,7 +19185,7 @@ client.dubbing.resource.language.add(
## Dubbing Resource Segment -
client.dubbing.resource.segment.update(...) +
client.dubbing.resource.segment.update(...) -> SegmentUpdateResponse
@@ -18379,10 +19213,13 @@ Modifies a single segment with new text and/or start/end times. Will update the ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.dubbing.resource.segment.update( dubbing_id="dubbing_id", segment_id="segment_id", @@ -18463,7 +19300,7 @@ client.dubbing.resource.segment.update(
-
client.dubbing.resource.segment.delete(...) +
client.dubbing.resource.segment.delete(...) -> SegmentDeleteResponse
@@ -18491,10 +19328,13 @@ Deletes a single segment from the dubbing. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.dubbing.resource.segment.delete( dubbing_id="dubbing_id", segment_id="segment_id", @@ -18543,7 +19383,7 @@ client.dubbing.resource.segment.delete(
## Dubbing Resource Speaker -
client.dubbing.resource.speaker.update(...) +
client.dubbing.resource.speaker.update(...) -> SpeakerUpdatedResponse
@@ -18571,10 +19411,13 @@ Amend the metadata associated with a speaker, such as their voice. Both voice cl ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.dubbing.resource.speaker.update( dubbing_id="dubbing_id", speaker_id="speaker_id", @@ -18650,7 +19493,7 @@ client.dubbing.resource.speaker.update(
-**languages:** `typing.Optional[typing.Sequence[str]]` — Languages to apply these changes to. If empty, will apply to all languages. +**languages:** `typing.Optional[typing.List[str]]` — Languages to apply these changes to. If empty, will apply to all languages.
@@ -18670,7 +19513,7 @@ client.dubbing.resource.speaker.update(
-
client.dubbing.resource.speaker.create(...) +
client.dubbing.resource.speaker.create(...) -> SpeakerCreatedResponse
@@ -18684,10 +19527,13 @@ client.dubbing.resource.speaker.update( ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.dubbing.resource.speaker.create( dubbing_id="dubbing_id", ) @@ -18766,7 +19612,7 @@ client.dubbing.resource.speaker.create(
-
client.dubbing.resource.speaker.find_similar_voices(...) +
client.dubbing.resource.speaker.find_similar_voices(...) -> SimilarVoicesForSpeakerResponse
@@ -18794,10 +19640,13 @@ Fetch the top 10 similar voices to a speaker, including the voice IDs, names, de ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.dubbing.resource.speaker.find_similar_voices( dubbing_id="dubbing_id", speaker_id="speaker_id", @@ -18846,7 +19695,7 @@ client.dubbing.resource.speaker.find_similar_voices(
## Dubbing Resource Speaker Segment -
client.dubbing.resource.speaker.segment.create(...) +
client.dubbing.resource.speaker.segment.create(...) -> SegmentCreateResponse
@@ -18874,10 +19723,13 @@ Creates a new segment in dubbing resource with a start and end time for the spea ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.dubbing.resource.speaker.segment.create( dubbing_id="dubbing_id", speaker_id="speaker_id", @@ -18960,7 +19812,7 @@ client.dubbing.resource.speaker.segment.create(
## Music CompositionPlan -
client.music.composition_plan.create(...) +
client.music.composition_plan.create(...) -> MusicPrompt
@@ -18988,10 +19840,13 @@ Create a composition plan for music generation. Usage of this endpoint does not ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.music.composition_plan.create( prompt="prompt", ) @@ -19034,7 +19889,7 @@ client.music.composition_plan.create(
-**model_id:** `typing.Optional[typing.Literal["music_v1"]]` — The model to use for the generation. +**model_id:** `typing.Optional[typing.Literal]` — The model to use for the generation.
@@ -19055,7 +19910,7 @@ client.music.composition_plan.create(
## PronunciationDictionaries Rules -
client.pronunciation_dictionaries.rules.set(...) +
client.pronunciation_dictionaries.rules.set(...) -> PronunciationDictionaryRulesResponseModel
@@ -19083,22 +19938,23 @@ Replaces all existing rules on the pronunciation dictionary with the provided on ```python from elevenlabs import ElevenLabs -from elevenlabs.pronunciation_dictionaries.rules import ( - BodySetRulesOnThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdSetRulesPostRulesItem_Alias, -) +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.pronunciation_dictionaries.rules.set( pronunciation_dictionary_id="21m00Tcm4TlvDq8ikWAM", rules=[ - BodySetRulesOnThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdSetRulesPostRulesItem_Alias( - string_to_replace="Thailand", - case_sensitive=True, - word_boundaries=True, - alias="tie-land", - ) + { + "type": "alias", + "string_to_replace": "Thailand", + "case_sensitive": True, + "word_boundaries": True, + "alias": "tie-land" + } ], ) @@ -19124,9 +19980,7 @@ client.pronunciation_dictionaries.rules.set(
-**rules:** `typing.Sequence[ - BodySetRulesOnThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdSetRulesPostRulesItem -]` +**rules:** `typing.List[BodySetRulesOnThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdSetRulesPostRulesItem]` List of pronunciation rules. Rule can be either: an alias rule: {'string_to_replace': 'a', 'type': 'alias', 'alias': 'b', } @@ -19150,7 +20004,7 @@ List of pronunciation rules. Rule can be either:
-
client.pronunciation_dictionaries.rules.add(...) +
client.pronunciation_dictionaries.rules.add(...) -> PronunciationDictionaryRulesResponseModel
@@ -19178,22 +20032,23 @@ Add rules to the pronunciation dictionary. If a rule with the same string_to_rep ```python from elevenlabs import ElevenLabs -from elevenlabs.pronunciation_dictionaries.rules import ( - PronunciationDictionaryRule_Alias, -) +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.pronunciation_dictionaries.rules.add( pronunciation_dictionary_id="21m00Tcm4TlvDq8ikWAM", rules=[ - PronunciationDictionaryRule_Alias( - string_to_replace="Thailand", - case_sensitive=True, - word_boundaries=True, - alias="tie-land", - ) + { + "type": "alias", + "string_to_replace": "Thailand", + "case_sensitive": True, + "word_boundaries": True, + "alias": "tie-land" + } ], ) @@ -19219,7 +20074,7 @@ client.pronunciation_dictionaries.rules.add(
-**rules:** `typing.Sequence[PronunciationDictionaryRule]` +**rules:** `typing.List[PronunciationDictionaryRule]` List of pronunciation rules. Rule can be either: an alias rule: {'string_to_replace': 'a', 'type': 'alias', 'alias': 'b', } @@ -19243,7 +20098,7 @@ List of pronunciation rules. Rule can be either:
-
client.pronunciation_dictionaries.rules.remove(...) +
client.pronunciation_dictionaries.rules.remove(...) -> PronunciationDictionaryRulesResponseModel
@@ -19271,13 +20126,18 @@ Remove rules from the pronunciation dictionary ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.pronunciation_dictionaries.rules.remove( pronunciation_dictionary_id="21m00Tcm4TlvDq8ikWAM", - rule_strings=["rule_strings"], + rule_strings=[ + "rule_strings" + ], ) ``` @@ -19302,7 +20162,7 @@ client.pronunciation_dictionaries.rules.remove(
-**rule_strings:** `typing.Sequence[str]` — List of strings to remove from the pronunciation dictionary. +**rule_strings:** `typing.List[str]` — List of strings to remove from the pronunciation dictionary.
@@ -19323,7 +20183,7 @@ client.pronunciation_dictionaries.rules.remove(
## ServiceAccounts ApiKeys -
client.service_accounts.api_keys.list(...) +
client.service_accounts.api_keys.list(...) -> WorkspaceApiKeyListResponseModel
@@ -19351,10 +20211,13 @@ Get all API keys for a service account ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.service_accounts.api_keys.list( service_account_user_id="service_account_user_id", ) @@ -19393,7 +20256,7 @@ client.service_accounts.api_keys.list(
-
client.service_accounts.api_keys.create(...) +
client.service_accounts.api_keys.create(...) -> WorkspaceCreateApiKeyResponseModel
@@ -19421,13 +20284,17 @@ Create a new API key for a service account ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.service_accounts.api_keys.create( service_account_user_id="service_account_user_id", name="name", + permissions="all", ) ``` @@ -19488,7 +20355,7 @@ client.service_accounts.api_keys.create(
-
client.service_accounts.api_keys.delete(...) +
client.service_accounts.api_keys.delete(...) -> typing.Any
@@ -19516,10 +20383,13 @@ Delete an existing API key for a service account ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.service_accounts.api_keys.delete( service_account_user_id="service_account_user_id", api_key_id="api_key_id", @@ -19567,7 +20437,7 @@ client.service_accounts.api_keys.delete(
-
client.service_accounts.api_keys.update(...) +
client.service_accounts.api_keys.update(...) -> typing.Any
@@ -19595,15 +20465,19 @@ Update an existing API key for a service account ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.service_accounts.api_keys.update( service_account_user_id="service_account_user_id", api_key_id="api_key_id", is_enabled=True, name="Sneaky Fox", + permissions="all", ) ``` @@ -19681,7 +20555,7 @@ client.service_accounts.api_keys.update(
## SpeechToText Transcripts -
client.speech_to_text.transcripts.get(...) +
client.speech_to_text.transcripts.get(...) -> TranscriptsGetResponse
@@ -19709,10 +20583,13 @@ Retrieve a previously generated transcript by its ID. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.speech_to_text.transcripts.get( transcription_id="transcription_id", ) @@ -19751,7 +20628,7 @@ client.speech_to_text.transcripts.get(
-
client.speech_to_text.transcripts.delete(...) +
client.speech_to_text.transcripts.delete(...) -> typing.Any
@@ -19779,10 +20656,13 @@ Delete a previously generated transcript by its ID. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.speech_to_text.transcripts.delete( transcription_id="transcription_id", ) @@ -19822,7 +20702,7 @@ client.speech_to_text.transcripts.delete(
## Studio Projects -
client.studio.projects.list() +
client.studio.projects.list() -> GetProjectsResponse
@@ -19850,10 +20730,13 @@ Returns a list of your Studio projects with metadata. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.studio.projects.list() ``` @@ -19882,7 +20765,7 @@ client.studio.projects.list()
-
client.studio.projects.create(...) +
client.studio.projects.create(...) -> AddProjectResponseModel
@@ -19910,11 +20793,15 @@ Creates a new Studio project, it can be either initialized as blank, from a docu ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.studio.projects.create( + from_document="example_from_document", name="name", ) @@ -19972,9 +20859,7 @@ client.studio.projects.create(
-**from_document:** `from __future__ import annotations - -typing.Optional[core.File]` — See core.File for more documentation +**from_document:** `typing.Optional[core.File]` — An optional .epub, .pdf, .txt or similar file can be provided. If provided, we will initialize the Studio project with its content. If this is set, 'from_url' and 'from_content' must be null. If neither 'from_url', 'from_document', 'from_content' are provided we will initialize the Studio project as blank.
@@ -20260,7 +21145,7 @@ Output quality of the generated audio. Must be one of:
-
client.studio.projects.get(...) +
client.studio.projects.get(...) -> ProjectExtendedResponse
@@ -20288,10 +21173,13 @@ Returns information about a specific Studio project. This endpoint returns more ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.studio.projects.get( project_id="21m00Tcm4TlvDq8ikWAM", share_id="share_id", @@ -20339,7 +21227,7 @@ client.studio.projects.get(
-
client.studio.projects.update(...) +
client.studio.projects.update(...) -> EditProjectResponseModel
@@ -20367,10 +21255,13 @@ Updates the specified Studio project by setting the values of the parameters pas ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.studio.projects.update( project_id="21m00Tcm4TlvDq8ikWAM", name="Project 1", @@ -20468,7 +21359,7 @@ client.studio.projects.update(
-
client.studio.projects.delete(...) +
client.studio.projects.delete(...) -> DeleteProjectResponseModel
@@ -20496,10 +21387,13 @@ Deletes a Studio project. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.studio.projects.delete( project_id="21m00Tcm4TlvDq8ikWAM", ) @@ -20538,7 +21432,7 @@ client.studio.projects.delete(
-
client.studio.projects.convert(...) +
client.studio.projects.convert(...) -> ConvertProjectResponseModel
@@ -20566,10 +21460,13 @@ Starts conversion of a Studio project and all of its chapters. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.studio.projects.convert( project_id="21m00Tcm4TlvDq8ikWAM", ) @@ -20608,7 +21505,7 @@ client.studio.projects.convert(
-
client.studio.projects.get_muted_tracks(...) +
client.studio.projects.get_muted_tracks(...) -> ProjectMutedTracksResponseModel
@@ -20636,10 +21533,13 @@ Returns a list of chapter IDs that have muted tracks in a project. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.studio.projects.get_muted_tracks( project_id="21m00Tcm4TlvDq8ikWAM", ) @@ -20679,7 +21579,7 @@ client.studio.projects.get_muted_tracks(
## Studio Projects PronunciationDictionaries -
client.studio.projects.pronunciation_dictionaries.create(...) +
client.studio.projects.pronunciation_dictionaries.create(...) -> CreatePronunciationDictionaryResponseModel
@@ -20707,10 +21607,13 @@ Create a set of pronunciation dictionaries acting on a project. This will automa ```python from elevenlabs import ElevenLabs, PronunciationDictionaryVersionLocator +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.studio.projects.pronunciation_dictionaries.create( project_id="21m00Tcm4TlvDq8ikWAM", pronunciation_dictionary_locators=[ @@ -20742,7 +21645,7 @@ client.studio.projects.pronunciation_dictionaries.create(
-**pronunciation_dictionary_locators:** `typing.Sequence[PronunciationDictionaryVersionLocator]` — A list of pronunciation dictionary locators (pronunciation_dictionary_id, version_id) encoded as a list of JSON strings for pronunciation dictionaries to be applied to the text. A list of json encoded strings is required as adding projects may occur through formData as opposed to jsonBody. To specify multiple dictionaries use multiple --form lines in your curl, such as --form 'pronunciation_dictionary_locators="{\"pronunciation_dictionary_id\":\"Vmd4Zor6fplcA7WrINey\",\"version_id\":\"hRPaxjlTdR7wFMhV4w0b\"}"' --form 'pronunciation_dictionary_locators="{\"pronunciation_dictionary_id\":\"JzWtcGQMJ6bnlWwyMo7e\",\"version_id\":\"lbmwxiLu4q6txYxgdZqn\"}"'. +**pronunciation_dictionary_locators:** `typing.List[PronunciationDictionaryVersionLocator]` — A list of pronunciation dictionary locators (pronunciation_dictionary_id, version_id) encoded as a list of JSON strings for pronunciation dictionaries to be applied to the text. A list of json encoded strings is required as adding projects may occur through formData as opposed to jsonBody. To specify multiple dictionaries use multiple --form lines in your curl, such as --form 'pronunciation_dictionary_locators="{\"pronunciation_dictionary_id\":\"Vmd4Zor6fplcA7WrINey\",\"version_id\":\"hRPaxjlTdR7wFMhV4w0b\"}"' --form 'pronunciation_dictionary_locators="{\"pronunciation_dictionary_id\":\"JzWtcGQMJ6bnlWwyMo7e\",\"version_id\":\"lbmwxiLu4q6txYxgdZqn\"}"'.
@@ -20771,7 +21674,7 @@ client.studio.projects.pronunciation_dictionaries.create(
## Studio Projects Content -
client.studio.projects.content.update(...) +
client.studio.projects.content.update(...) -> EditProjectResponseModel
@@ -20799,12 +21702,16 @@ Updates Studio project content. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.studio.projects.content.update( project_id="21m00Tcm4TlvDq8ikWAM", + from_document="example_from_document", ) ``` @@ -20837,9 +21744,7 @@ client.studio.projects.content.update(
-**from_document:** `from __future__ import annotations - -typing.Optional[core.File]` — See core.File for more documentation +**from_document:** `typing.Optional[core.File]` — An optional .epub, .pdf, .txt or similar file can be provided. If provided, we will initialize the Studio project with its content. If this is set, 'from_url' and 'from_content' must be null. If neither 'from_url', 'from_document', 'from_content' are provided we will initialize the Studio project as blank.
@@ -20883,7 +21788,7 @@ typing.Optional[core.File]` — See core.File for more documentation
## Studio Projects Snapshots -
client.studio.projects.snapshots.list(...) +
client.studio.projects.snapshots.list(...) -> ProjectSnapshotsResponse
@@ -20911,10 +21816,13 @@ Retrieves a list of snapshots for a Studio project. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.studio.projects.snapshots.list( project_id="21m00Tcm4TlvDq8ikWAM", ) @@ -20953,7 +21861,7 @@ client.studio.projects.snapshots.list(
-
client.studio.projects.snapshots.get(...) +
client.studio.projects.snapshots.get(...) -> ProjectSnapshotExtendedResponseModel
@@ -20981,10 +21889,13 @@ Returns the project snapshot. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.studio.projects.snapshots.get( project_id="21m00Tcm4TlvDq8ikWAM", project_snapshot_id="21m00Tcm4TlvDq8ikWAM", @@ -21032,7 +21943,7 @@ client.studio.projects.snapshots.get(
-
client.studio.projects.snapshots.stream(...) +
client.studio.projects.snapshots.stream(...) -> typing.Iterator[bytes]
@@ -21060,10 +21971,13 @@ Stream the audio from a Studio project snapshot. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.studio.projects.snapshots.stream( project_id="project_id", project_snapshot_id="project_snapshot_id", @@ -21107,7 +22021,7 @@ client.studio.projects.snapshots.stream(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. You can pass in configuration such as `chunk_size`, and more to customize the request and response. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -21119,7 +22033,7 @@ client.studio.projects.snapshots.stream(
-
client.studio.projects.snapshots.stream_archive(...) +
client.studio.projects.snapshots.stream_archive(...) -> typing.Iterator[bytes]
@@ -21147,10 +22061,13 @@ Returns a compressed archive of the Studio project's audio. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.studio.projects.snapshots.stream_archive( project_id="project_id", project_snapshot_id="project_snapshot_id", @@ -21186,7 +22103,7 @@ client.studio.projects.snapshots.stream_archive(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. You can pass in configuration such as `chunk_size`, and more to customize the request and response. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -21199,7 +22116,7 @@ client.studio.projects.snapshots.stream_archive(
## Studio Projects Chapters -
client.studio.projects.chapters.list(...) +
client.studio.projects.chapters.list(...) -> GetChaptersResponse
@@ -21227,10 +22144,13 @@ Returns a list of a Studio project's chapters. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.studio.projects.chapters.list( project_id="21m00Tcm4TlvDq8ikWAM", ) @@ -21269,7 +22189,7 @@ client.studio.projects.chapters.list(
-
client.studio.projects.chapters.create(...) +
client.studio.projects.chapters.create(...) -> AddChapterResponseModel
@@ -21297,10 +22217,13 @@ Creates a new chapter either as blank or from a URL. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.studio.projects.chapters.create( project_id="21m00Tcm4TlvDq8ikWAM", name="Chapter 1", @@ -21356,7 +22279,7 @@ client.studio.projects.chapters.create(
-
client.studio.projects.chapters.get(...) +
client.studio.projects.chapters.get(...) -> ChapterWithContentResponseModel
@@ -21384,10 +22307,13 @@ Returns information about a specific chapter. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.studio.projects.chapters.get( project_id="21m00Tcm4TlvDq8ikWAM", chapter_id="21m00Tcm4TlvDq8ikWAM", @@ -21435,7 +22361,7 @@ client.studio.projects.chapters.get(
-
client.studio.projects.chapters.update(...) +
client.studio.projects.chapters.update(...) -> EditChapterResponseModel
@@ -21463,10 +22389,13 @@ Updates a chapter. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.studio.projects.chapters.update( project_id="21m00Tcm4TlvDq8ikWAM", chapter_id="21m00Tcm4TlvDq8ikWAM", @@ -21530,7 +22459,7 @@ client.studio.projects.chapters.update(
-
client.studio.projects.chapters.delete(...) +
client.studio.projects.chapters.delete(...) -> DeleteChapterResponseModel
@@ -21558,10 +22487,13 @@ Deletes a chapter. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.studio.projects.chapters.delete( project_id="21m00Tcm4TlvDq8ikWAM", chapter_id="21m00Tcm4TlvDq8ikWAM", @@ -21609,7 +22541,7 @@ client.studio.projects.chapters.delete(
-
client.studio.projects.chapters.convert(...) +
client.studio.projects.chapters.convert(...) -> ConvertChapterResponseModel
@@ -21637,10 +22569,13 @@ Starts conversion of a specific chapter. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.studio.projects.chapters.convert( project_id="21m00Tcm4TlvDq8ikWAM", chapter_id="21m00Tcm4TlvDq8ikWAM", @@ -21689,7 +22624,7 @@ client.studio.projects.chapters.convert(
## Studio Projects Chapters Snapshots -
client.studio.projects.chapters.snapshots.list(...) +
client.studio.projects.chapters.snapshots.list(...) -> ChapterSnapshotsResponse
@@ -21717,10 +22652,13 @@ Gets information about all the snapshots of a chapter. Each snapshot can be down ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.studio.projects.chapters.snapshots.list( project_id="21m00Tcm4TlvDq8ikWAM", chapter_id="21m00Tcm4TlvDq8ikWAM", @@ -21768,7 +22706,7 @@ client.studio.projects.chapters.snapshots.list(
-
client.studio.projects.chapters.snapshots.get(...) +
client.studio.projects.chapters.snapshots.get(...) -> ChapterSnapshotExtendedResponseModel
@@ -21796,10 +22734,13 @@ Returns the chapter snapshot. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.studio.projects.chapters.snapshots.get( project_id="21m00Tcm4TlvDq8ikWAM", chapter_id="21m00Tcm4TlvDq8ikWAM", @@ -21856,7 +22797,7 @@ client.studio.projects.chapters.snapshots.get(
-
client.studio.projects.chapters.snapshots.stream(...) +
client.studio.projects.chapters.snapshots.stream(...) -> typing.Iterator[bytes]
@@ -21884,10 +22825,13 @@ Stream the audio from a chapter snapshot. Use `GET /v1/studio/projects/{project_ ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.studio.projects.chapters.snapshots.stream( project_id="project_id", chapter_id="chapter_id", @@ -21940,7 +22884,7 @@ client.studio.projects.chapters.snapshots.stream(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. You can pass in configuration such as `chunk_size`, and more to customize the request and response. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -21953,7 +22897,7 @@ client.studio.projects.chapters.snapshots.stream(
## TextToVoice Preview -
client.text_to_voice.preview.stream(...) +
client.text_to_voice.preview.stream(...) -> typing.Iterator[bytes]
@@ -21981,10 +22925,13 @@ Stream a voice preview that was created via the /v1/text-to-voice/design endpoin ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.text_to_voice.preview.stream( generated_voice_id="generated_voice_id", ) @@ -22011,7 +22958,7 @@ client.text_to_voice.preview.stream(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. You can pass in configuration such as `chunk_size`, and more to customize the request and response. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -22024,7 +22971,7 @@ client.text_to_voice.preview.stream(
## Tokens SingleUse -
client.tokens.single_use.create(...) +
client.tokens.single_use.create(...) -> SingleUseTokenResponseModel
@@ -22052,10 +22999,13 @@ Generate a time limited single-use token with embedded authentication for fronte ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.tokens.single_use.create( token_type="realtime_scribe", ) @@ -22095,7 +23045,7 @@ client.tokens.single_use.create(
## User Subscription -
client.user.subscription.get() +
client.user.subscription.get() -> Subscription
@@ -22123,10 +23073,13 @@ Gets extended information about the users subscription ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.user.subscription.get() ``` @@ -22156,7 +23109,7 @@ client.user.subscription.get()
## Voices Settings -
client.voices.settings.get_default() +
client.voices.settings.get_default() -> VoiceSettings
@@ -22184,10 +23137,13 @@ Gets the default settings for voices. "similarity_boost" corresponds to"Clarity ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.voices.settings.get_default() ``` @@ -22216,7 +23172,7 @@ client.voices.settings.get_default()
-
client.voices.settings.get(...) +
client.voices.settings.get(...) -> VoiceSettings
@@ -22244,10 +23200,13 @@ Returns the settings for a specific voice. "similarity_boost" corresponds to"Cla ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.voices.settings.get( voice_id="21m00Tcm4TlvDq8ikWAM", ) @@ -22286,7 +23245,7 @@ client.voices.settings.get(
-
client.voices.settings.update(...) +
client.voices.settings.update(...) -> EditVoiceSettingsResponseModel
@@ -22314,18 +23273,21 @@ Edit your settings for a specific voice. "similarity_boost" corresponds to "Clar ```python from elevenlabs import ElevenLabs, VoiceSettings +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.voices.settings.update( voice_id="21m00Tcm4TlvDq8ikWAM", request=VoiceSettings( - stability=1.0, + stability=1, use_speaker_boost=True, - similarity_boost=1.0, - style=0.0, - speed=1.0, + similarity_boost=1, + style=0, + speed=1, ), ) @@ -22351,7 +23313,7 @@ client.voices.settings.update(
-**request:** `VoiceSettings` +**request:** `VoiceSettings` — The settings for a specific voice.
@@ -22372,7 +23334,7 @@ client.voices.settings.update(
## Voices Ivc -
client.voices.ivc.create(...) +
client.voices.ivc.create(...) -> AddVoiceIvcResponseModel
@@ -22400,11 +23362,15 @@ Create a voice clone and add it to your Voices ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.voices.ivc.create( + files=["example_files"], name="name", ) @@ -22430,9 +23396,7 @@ client.voices.ivc.create(
-**files:** `from __future__ import annotations - -typing.List[core.File]` — See core.File for more documentation +**files:** `typing.List[core.File]` — A list of file paths to audio recordings intended for voice cloning.
@@ -22477,7 +23441,7 @@ typing.List[core.File]` — See core.File for more documentation
## Voices Pvc -
client.voices.pvc.create(...) +
client.voices.pvc.create(...) -> AddVoiceResponseModel
@@ -22505,10 +23469,13 @@ Creates a new PVC voice with metadata but no samples ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.voices.pvc.create( name="John Smith", language="en", @@ -22572,7 +23539,7 @@ client.voices.pvc.create(
-
client.voices.pvc.update(...) +
client.voices.pvc.update(...) -> AddVoiceResponseModel
@@ -22600,10 +23567,13 @@ Edit PVC voice metadata ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.voices.pvc.update( voice_id="21m00Tcm4TlvDq8ikWAM", ) @@ -22674,7 +23644,7 @@ client.voices.pvc.update(
-
client.voices.pvc.train(...) +
client.voices.pvc.train(...) -> StartPvcVoiceTrainingResponseModel
@@ -22702,10 +23672,13 @@ Start PVC training process for a voice. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.voices.pvc.train( voice_id="21m00Tcm4TlvDq8ikWAM", ) @@ -22753,7 +23726,7 @@ client.voices.pvc.train(
## Voices Pvc Samples -
client.voices.pvc.samples.create(...) +
client.voices.pvc.samples.create(...) -> typing.List[VoiceSample]
@@ -22781,12 +23754,16 @@ Add audio samples to a PVC voice ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.voices.pvc.samples.create( voice_id="21m00Tcm4TlvDq8ikWAM", + files=["example_files"], ) ``` @@ -22811,9 +23788,7 @@ client.voices.pvc.samples.create(
-**files:** `from __future__ import annotations - -typing.List[core.File]` — See core.File for more documentation +**files:** `typing.List[core.File]` — Audio files used to create the voice.
@@ -22841,7 +23816,7 @@ typing.List[core.File]` — See core.File for more documentation
-
client.voices.pvc.samples.update(...) +
client.voices.pvc.samples.update(...) -> AddVoiceResponseModel
@@ -22869,10 +23844,13 @@ Update a PVC voice sample - apply noise removal, select speaker, change trim tim ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.voices.pvc.samples.update( voice_id="21m00Tcm4TlvDq8ikWAM", sample_id="VW7YKqPnjY4h39yTbx2L", @@ -22916,7 +23894,7 @@ client.voices.pvc.samples.update(
-**selected_speaker_ids:** `typing.Optional[typing.Sequence[str]]` — Speaker IDs to be used for PVC training. Make sure you send all the speaker IDs you want to use for PVC training in one request because the last request will override the previous ones. +**selected_speaker_ids:** `typing.Optional[typing.List[str]]` — Speaker IDs to be used for PVC training. Make sure you send all the speaker IDs you want to use for PVC training in one request because the last request will override the previous ones.
@@ -22960,7 +23938,7 @@ client.voices.pvc.samples.update(
-
client.voices.pvc.samples.delete(...) +
client.voices.pvc.samples.delete(...) -> DeleteVoiceSampleResponseModel
@@ -22988,10 +23966,13 @@ Delete a sample from a PVC voice. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.voices.pvc.samples.delete( voice_id="21m00Tcm4TlvDq8ikWAM", sample_id="VW7YKqPnjY4h39yTbx2L", @@ -23040,7 +24021,7 @@ client.voices.pvc.samples.delete(
## Voices Pvc Verification -
client.voices.pvc.verification.request(...) +
client.voices.pvc.verification.request(...) -> RequestPvcManualVerificationResponseModel
@@ -23068,12 +24049,16 @@ Request manual verification for a PVC voice. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.voices.pvc.verification.request( voice_id="21m00Tcm4TlvDq8ikWAM", + files=["example_files"], ) ``` @@ -23098,9 +24083,7 @@ client.voices.pvc.verification.request(
-**files:** `from __future__ import annotations - -typing.List[core.File]` — See core.File for more documentation +**files:** `typing.List[core.File]` — Verification documents
@@ -23129,7 +24112,7 @@ typing.List[core.File]` — See core.File for more documentation
## Voices Pvc Samples Audio -
client.voices.pvc.samples.audio.get(...) +
client.voices.pvc.samples.audio.get(...) -> VoiceSamplePreviewResponseModel
@@ -23157,10 +24140,13 @@ Retrieve the first 30 seconds of voice sample audio with or without noise remova ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.voices.pvc.samples.audio.get( voice_id="21m00Tcm4TlvDq8ikWAM", sample_id="VW7YKqPnjY4h39yTbx2L", @@ -23218,7 +24204,7 @@ client.voices.pvc.samples.audio.get(
## Voices Pvc Samples Waveform -
client.voices.pvc.samples.waveform.get(...) +
client.voices.pvc.samples.waveform.get(...) -> VoiceSampleVisualWaveformResponseModel
@@ -23246,10 +24232,13 @@ Retrieve the visual waveform of a voice sample. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.voices.pvc.samples.waveform.get( voice_id="21m00Tcm4TlvDq8ikWAM", sample_id="VW7YKqPnjY4h39yTbx2L", @@ -23298,7 +24287,7 @@ client.voices.pvc.samples.waveform.get(
## Voices Pvc Samples Speakers -
client.voices.pvc.samples.speakers.get(...) +
client.voices.pvc.samples.speakers.get(...) -> SpeakerSeparationResponseModel
@@ -23326,10 +24315,13 @@ Retrieve the status of the speaker separation process and the list of detected s ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.voices.pvc.samples.speakers.get( voice_id="21m00Tcm4TlvDq8ikWAM", sample_id="VW7YKqPnjY4h39yTbx2L", @@ -23377,7 +24369,7 @@ client.voices.pvc.samples.speakers.get(
-
client.voices.pvc.samples.speakers.separate(...) +
client.voices.pvc.samples.speakers.separate(...) -> StartSpeakerSeparationResponseModel
@@ -23405,10 +24397,13 @@ Start speaker separation process for a sample ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.voices.pvc.samples.speakers.separate( voice_id="21m00Tcm4TlvDq8ikWAM", sample_id="VW7YKqPnjY4h39yTbx2L", @@ -23457,7 +24452,7 @@ client.voices.pvc.samples.speakers.separate(
## Voices Pvc Samples Speakers Audio -
client.voices.pvc.samples.speakers.audio.get(...) +
client.voices.pvc.samples.speakers.audio.get(...) -> SpeakerAudioResponseModel
@@ -23485,10 +24480,13 @@ Retrieve the separated audio for a specific speaker. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.voices.pvc.samples.speakers.audio.get( voice_id="21m00Tcm4TlvDq8ikWAM", sample_id="VW7YKqPnjY4h39yTbx2L", @@ -23574,10 +24572,13 @@ Get captcha for PVC voice verification. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.voices.pvc.verification.captcha.get( voice_id="21m00Tcm4TlvDq8ikWAM", ) @@ -23616,7 +24617,7 @@ client.voices.pvc.verification.captcha.get(
-
client.voices.pvc.verification.captcha.verify(...) +
client.voices.pvc.verification.captcha.verify(...) -> VerifyPvcVoiceCaptchaResponseModel
@@ -23644,12 +24645,16 @@ Submit captcha verification for PVC voice. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.voices.pvc.verification.captcha.verify( voice_id="21m00Tcm4TlvDq8ikWAM", + recording="example_recording", ) ``` @@ -23674,9 +24679,7 @@ client.voices.pvc.verification.captcha.verify(
-**recording:** `from __future__ import annotations - -core.File` — See core.File for more documentation +**recording:** `core.File` — Audio recording of the user
@@ -23697,7 +24700,7 @@ core.File` — See core.File for more documentation
## Voices Samples Audio -
client.voices.samples.audio.get(...) +
client.voices.samples.audio.get(...) -> typing.Iterator[bytes]
@@ -23725,10 +24728,13 @@ Returns the audio corresponding to a sample attached to a voice. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.voices.samples.audio.get( voice_id="voice_id", sample_id="sample_id", @@ -23764,7 +24770,7 @@ client.voices.samples.audio.get(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. You can pass in configuration such as `chunk_size`, and more to customize the request and response. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -23777,7 +24783,7 @@ client.voices.samples.audio.get(
## Workspace Groups -
client.workspace.groups.list() +
client.workspace.groups.list() -> typing.Dict[str, WorkspaceGroupResponseModel]
@@ -23805,10 +24811,13 @@ Get all groups in the workspace ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.workspace.groups.list() ``` @@ -23837,7 +24846,7 @@ client.workspace.groups.list()
-
client.workspace.groups.search(...) +
client.workspace.groups.search(...) -> typing.List[WorkspaceGroupByNameResponseModel]
@@ -23865,10 +24874,13 @@ Searches for user groups in the workspace. Multiple or no groups may be returned ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.workspace.groups.search( name="name", ) @@ -23908,7 +24920,7 @@ client.workspace.groups.search(
## Workspace Invites -
client.workspace.invites.create(...) +
client.workspace.invites.create(...) -> AddWorkspaceInviteResponseModel
@@ -23936,10 +24948,13 @@ Sends an email invitation to join your workspace to the provided email. If the u ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.workspace.invites.create( email="john.doe@testmail.com", ) @@ -23982,7 +24997,7 @@ client.workspace.invites.create(
-**group_ids:** `typing.Optional[typing.Sequence[str]]` — The group ids of the user +**group_ids:** `typing.Optional[typing.List[str]]` — The group ids of the user
@@ -24002,7 +25017,7 @@ client.workspace.invites.create(
-
client.workspace.invites.create_batch(...) +
client.workspace.invites.create_batch(...) -> AddWorkspaceInviteResponseModel
@@ -24030,12 +25045,17 @@ Sends email invitations to join your workspace to the provided emails. Requires ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.workspace.invites.create_batch( - emails=["emails"], + emails=[ + "emails" + ], ) ``` @@ -24052,7 +25072,7 @@ client.workspace.invites.create_batch(
-**emails:** `typing.Sequence[str]` — The email of the customer +**emails:** `typing.List[str]` — The email of the customer
@@ -24068,7 +25088,7 @@ client.workspace.invites.create_batch(
-**group_ids:** `typing.Optional[typing.Sequence[str]]` — The group ids of the user +**group_ids:** `typing.Optional[typing.List[str]]` — The group ids of the user
@@ -24088,7 +25108,7 @@ client.workspace.invites.create_batch(
-
client.workspace.invites.delete(...) +
client.workspace.invites.delete(...) -> DeleteWorkspaceInviteResponseModel
@@ -24116,10 +25136,13 @@ Invalidates an existing email invitation. The invitation will still show up in t ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.workspace.invites.delete( email="john.doe@testmail.com", ) @@ -24159,7 +25182,7 @@ client.workspace.invites.delete(
## Workspace Members -
client.workspace.members.update(...) +
client.workspace.members.update(...) -> UpdateWorkspaceMemberResponseModel
@@ -24187,10 +25210,13 @@ Updates attributes of a workspace member. Apart from the email identifier, all p ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.workspace.members.update( email="email", ) @@ -24254,7 +25280,7 @@ client.workspace.members.update(
## Workspace Resources -
client.workspace.resources.get(...) +
client.workspace.resources.get(...) -> ResourceMetadataResponseModel
@@ -24282,10 +25308,13 @@ Gets the metadata of a resource by ID. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.workspace.resources.get( resource_id="resource_id", resource_type="voice", @@ -24333,7 +25362,7 @@ client.workspace.resources.get(
-
client.workspace.resources.share(...) +
client.workspace.resources.share(...) -> typing.Any
@@ -24361,10 +25390,13 @@ Grants a role on a workspace resource to a user or a group. It overrides any exi ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.workspace.resources.share( resource_id="resource_id", role="admin", @@ -24445,7 +25477,7 @@ client.workspace.resources.share(
-
client.workspace.resources.unshare(...) +
client.workspace.resources.unshare(...) -> typing.Any
@@ -24473,10 +25505,13 @@ Removes any existing role on a workspace resource from a user, service account, ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.workspace.resources.unshare( resource_id="resource_id", resource_type="voice", @@ -24549,7 +25584,7 @@ client.workspace.resources.unshare(
## Workspace Groups Members -
client.workspace.groups.members.remove(...) +
client.workspace.groups.members.remove(...) -> DeleteWorkspaceGroupMemberResponseModel
@@ -24577,10 +25612,13 @@ Removes a member from the specified group. Requires `group_members_manage` permi ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.workspace.groups.members.remove( group_id="group_id", email="email", @@ -24628,7 +25666,7 @@ client.workspace.groups.members.remove(
-
client.workspace.groups.members.add(...) +
client.workspace.groups.members.add(...) -> AddWorkspaceGroupMemberResponseModel
@@ -24656,10 +25694,13 @@ Adds a member of your workspace to the specified group. Requires `group_members_ ```python from elevenlabs import ElevenLabs +from elevenlabs.environment import ElevenLabsEnvironment client = ElevenLabs( - api_key="YOUR_API_KEY", + api_key="", + environment=ElevenLabsEnvironment.PRODUCTION, ) + client.workspace.groups.members.add( group_id="group_id", email="email", diff --git a/src/elevenlabs/__init__.py b/src/elevenlabs/__init__.py index 6c7caecc..d2e828e2 100644 --- a/src/elevenlabs/__init__.py +++ b/src/elevenlabs/__init__.py @@ -37,10 +37,12 @@ AgentConfigOverrideOutput, AgentDefinitionSource, AgentDeploymentPercentageStrategy, + AgentDeploymentPercentageStrategyType, AgentDeploymentRequest, AgentDeploymentRequestItem, AgentDeploymentResponse, AgentFailureResponseExample, + AgentFailureResponseExampleType, AgentMetadata, AgentMetadataResponseModel, AgentPlatformSettingsRequestModel, @@ -49,6 +51,7 @@ AgentSimulatedChatTestResponseModel, AgentSortBy, AgentSuccessfulResponseExample, + AgentSuccessfulResponseExampleType, AgentSummaryBatchSuccessfulResponseModel, AgentSummaryResponseModel, AgentTestEntityType, @@ -94,8 +97,10 @@ ApiIntegrationWebhookToolConfigOutput, ArrayJsonSchemaPropertyInput, ArrayJsonSchemaPropertyInputItems, + ArrayJsonSchemaPropertyInputType, ArrayJsonSchemaPropertyOutput, ArrayJsonSchemaPropertyOutputItems, + ArrayJsonSchemaPropertyOutputType, AsrConversationalConfig, AsrConversationalConfigWorkflowOverride, AsrInputFormat, @@ -535,8 +540,11 @@ AuthSettings, AuthorizationMethod, BackupLlmDefault, + BackupLlmDefaultPreference, BackupLlmDisabled, + BackupLlmDisabledPreference, BackupLlmOverride, + BackupLlmOverridePreference, BadRequestErrorBody, BatchCallDetailedResponse, BatchCallRecipientStatus, @@ -580,6 +588,7 @@ ChapterContentBlockTtsNodeResponseModel, ChapterContentInputModel, ChapterContentParagraphTtsNodeInputModel, + ChapterContentParagraphTtsNodeInputModelType, ChapterContentResponseModel, ChapterResponse, ChapterSnapshotExtendedResponseModel, @@ -595,7 +604,9 @@ CharacterUsageResponse, ChatSourceMedium, CheckRentalAvailabilityParams, + CheckRentalAvailabilityParamsSmbToolType, CheckServiceAvailabilityParams, + CheckServiceAvailabilityParamsSmbToolType, ClientEvent, ClientToolConfigInput, ClientToolConfigOutput, @@ -606,7 +617,9 @@ CloseContext, CloseSocket, CoachedAgentSettings, + CoachedAgentSettingsType, CoachingAgentSettings, + CoachingAgentSettingsType, CommittedTranscriptPayload, CommittedTranscriptWithTimestampsPayload, ConfigEntityType, @@ -615,6 +628,8 @@ ContentConfig, ContentGuardrailInput, ContentGuardrailOutput, + ContentThresholdGuardrail, + ContentThresholdGuardrailThreshold, Contributor, ConvAiDynamicVariable, ConvAiFileUploadResponseModel, @@ -629,6 +644,7 @@ ConvAiUserSecretDbModel, ConvAiWebhooks, ConvAiWorkspaceStoredSecretConfig, + ConvAiWorkspaceStoredSecretConfigType, ConversationChargingCommonModel, ConversationConfig, ConversationConfigClientOverrideConfigInput, @@ -657,6 +673,7 @@ ConversationHistorySipTrunkingPhoneCallModel, ConversationHistorySipTrunkingPhoneCallModelDirection, ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel, + ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelType, ConversationHistoryTranscriptCommonModelInput, ConversationHistoryTranscriptCommonModelInputRole, ConversationHistoryTranscriptCommonModelInputToolResultsItem, @@ -683,6 +700,7 @@ ConversationHistoryTranscriptSystemToolResultCommonModelInputResult_TransferToNumberSipSuccess, ConversationHistoryTranscriptSystemToolResultCommonModelInputResult_TransferToNumberTwilioSuccess, ConversationHistoryTranscriptSystemToolResultCommonModelInputResult_VoicemailDetectionSuccess, + ConversationHistoryTranscriptSystemToolResultCommonModelInputType, ConversationHistoryTranscriptSystemToolResultCommonModelOutput, ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult, ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult_EndCallSuccess, @@ -697,6 +715,7 @@ ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult_TransferToNumberSipSuccess, ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult_TransferToNumberTwilioSuccess, ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult_VoicemailDetectionSuccess, + ConversationHistoryTranscriptSystemToolResultCommonModelOutputType, ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails, ConversationHistoryTranscriptToolCallClientDetails, ConversationHistoryTranscriptToolCallCommonModelInput, @@ -713,8 +732,11 @@ ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails_Webhook, ConversationHistoryTranscriptToolCallMcpDetails, ConversationHistoryTranscriptToolCallWebhookDetails, + ConversationHistoryTranscriptToolCallWebhookDetailsType, ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput, + ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputType, ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput, + ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputType, ConversationHistoryTwilioPhoneCallModel, ConversationHistoryTwilioPhoneCallModelDirection, ConversationInitiationClientDataConfigInput, @@ -748,21 +770,28 @@ CreateAgentResponseModel, CreateAgentTestResponseModel, CreateAssetParams, + CreateAssetParamsSmbToolType, CreateAudioNativeProjectRequest, CreateClientAppointmentParams, + CreateClientAppointmentParamsSmbToolType, CreateClientParams, + CreateClientParamsSmbToolType, CreatePhoneNumberResponseModel, CreatePreviouslyGeneratedVoiceRequest, CreateProductParams, + CreateProductParamsSmbToolType, CreatePronunciationDictionaryResponseModel, CreateRentalBookingParams, + CreateRentalBookingParamsSmbToolType, CreateResponseUnitTestRequest, CreateResponseUnitTestRequestDynamicVariablesValue, CreateServiceParams, + CreateServiceParamsSmbToolType, CreateSimulationTestRequest, CreateSimulationTestRequestDynamicVariablesValue, CreateSipTrunkPhoneNumberRequest, CreateStaffParams, + CreateStaffParamsSmbToolType, CreateToolCallUnitTestRequest, CreateToolCallUnitTestRequestDynamicVariablesValue, CreateTranscriptRequest, @@ -784,18 +813,24 @@ DefaultSharingGroupResponseModel, DefaultSharingGroupResponseModelPermissionLevel, DeleteAssetParams, + DeleteAssetParamsSmbToolType, DeleteCalendarEventParams, + DeleteCalendarEventParamsSmbToolType, DeleteChapterRequest, DeleteChapterResponseModel, DeleteClientParams, + DeleteClientParamsSmbToolType, DeleteDubbingResponseModel, DeleteHistoryItemResponse, DeleteProductParams, + DeleteProductParamsSmbToolType, DeleteProjectRequest, DeleteProjectResponseModel, DeleteSampleResponse, DeleteServiceParams, + DeleteServiceParamsSmbToolType, DeleteStaffParams, + DeleteStaffParamsSmbToolType, DeleteVoiceResponseModel, DeleteVoiceSampleResponseModel, DeleteWorkspaceGroupMemberResponseModel, @@ -814,6 +849,7 @@ DialogueInput, DialogueInputResponseModel, DirectPublishingReadResponseModel, + DirectPublishingReadResponseModelCurrency, DirectPublishingReadResponseModelDisplayMode, DirectPublishingReadResponseModelGenreItem, DirectPublishingReadResponseModelPayoutType, @@ -838,6 +874,7 @@ DubbingTranscriptsResponseModel, DubbingTranscriptsResponseModelTranscriptFormat, DynamicVariableAssignment, + DynamicVariableAssignmentSource, DynamicVariableSchemaOverride, DynamicVariableUpdateCommonModel, DynamicVariablesConfig, @@ -853,6 +890,7 @@ EmbeddingModelEnum, EndCallToolConfig, EndCallToolResultModel, + EndCallToolResultModelStatus, EvaluationSettings, EvaluationSuccessResult, ExactParameterEvaluationStrategy, @@ -881,6 +919,7 @@ GenerateVoiceRequest, GenerationConfig, GenerationSourceContext, + GenerationSourceContextSourceType, GetAgentEmbedResponseModel, GetAgentKnowledgebaseSizeResponseModel, GetAgentLinkResponseModel, @@ -895,7 +934,9 @@ GetChaptersRequest, GetChaptersResponse, GetClientAppointmentsParams, + GetClientAppointmentsParamsSmbToolType, GetClientByPhoneParams, + GetClientByPhoneParamsSmbToolType, GetConvAiDashboardSettingsResponseModel, GetConvAiDashboardSettingsResponseModelChartsItem, GetConvAiDashboardSettingsResponseModelChartsItem_CallSuccess, @@ -978,7 +1019,9 @@ GetWorkspaceSecretsResponseModel, GuardrailExecutionMode, GuardrailsV1Input, + GuardrailsV1InputVersion, GuardrailsV1Output, + GuardrailsV1OutputVersion, HistoryAlignmentResponseModel, HistoryAlignmentsResponseModel, HistoryItemResponse, @@ -1013,6 +1056,7 @@ LanguageAddedResponse, LanguageDetectionToolConfig, LanguageDetectionToolResultModel, + LanguageDetectionToolResultModelStatus, LanguagePresetInput, LanguagePresetOutput, LanguagePresetTranslation, @@ -1020,15 +1064,22 @@ LibraryVoiceResponse, LibraryVoiceResponseModelCategory, ListAssetsParams, + ListAssetsParamsSmbToolType, ListCalendarEventsParams, + ListCalendarEventsParamsSmbToolType, ListClientsParams, + ListClientsParamsSmbToolType, ListMcpToolsResponseModel, ListProductsParams, + ListProductsParamsSmbToolType, ListRentalServicesParams, + ListRentalServicesParamsSmbToolType, ListResponseAgentBranchSummary, ListResponseMeta, ListServicesParams, + ListServicesParamsSmbToolType, ListStaffParams, + ListStaffParamsSmbToolType, ListWhatsAppAccountsResponse, LiteralJsonSchemaProperty, LiteralJsonSchemaPropertyConstantValue, @@ -1101,12 +1152,15 @@ MusicPrompt, MusicUploadResponse, NoCoachingSettings, + NoCoachingSettingsType, NonStreamingOutputFormats, NormalizedAlignment, ObjectJsonSchemaPropertyInput, ObjectJsonSchemaPropertyInputPropertiesValue, + ObjectJsonSchemaPropertyInputType, ObjectJsonSchemaPropertyOutput, ObjectJsonSchemaPropertyOutputPropertiesValue, + ObjectJsonSchemaPropertyOutputType, ObjectOverrideInput, ObjectOverrideInputPropertiesValue, ObjectOverrideOutput, @@ -1120,9 +1174,11 @@ PatchWorkspaceWebhookResponseModel, PdfExportOptions, PendingCancellationResponseModel, + PendingCancellationResponseModelKind, PendingClipTask, PendingClipTaskType, PendingSubscriptionSwitchResponseModel, + PendingSubscriptionSwitchResponseModelKind, PendingSubscriptionSwitchResponseModelNextTier, PermissionType, PhoneNumberAgentInfo, @@ -1141,7 +1197,9 @@ PhoneNumberTransferTransferDestination_SipUri, PhoneNumberTransferTransferDestination_SipUriDynamicVariable, PlayDtmfResultErrorModel, + PlayDtmfResultErrorModelStatus, PlayDtmfResultSuccessModel, + PlayDtmfResultSuccessModelStatus, PlayDtmfToolConfig, PodcastBulletinMode, PodcastBulletinModeData, @@ -1149,13 +1207,16 @@ PodcastConversationModeData, PodcastProjectResponseModel, PodcastTextSource, + PodcastTextSourceType, PodcastUrlSource, + PodcastUrlSourceType, PositionInput, PositionOutput, PostAgentAvatarResponseModel, PostDialDigitsDynamicVariable, PostDialDigitsStatic, PostWorkspaceSecretResponseModel, + PostWorkspaceSecretResponseModelType, PreviewAudioDbModel, PrivacyConfigInput, PrivacyConfigOutput, @@ -1181,6 +1242,7 @@ ProjectExternalAudioResponseModelSourceContext_Sfx, ProjectExternalAudioResponseModelSourceContext_Song, ProjectImageResponseModel, + ProjectImageResponseModelSource, ProjectMutedTracksResponseModel, ProjectResponse, ProjectResponseModelAccessLevel, @@ -1242,6 +1304,7 @@ PromptAgentApiModelWorkflowOverrideOutputToolsItem_Webhook, PromptAgentDbModel, PromptEvaluationCriteria, + PromptEvaluationCriteriaType, PromptInjectionGuardrail, PronunciationDictionaryAliasRuleRequestModel, PronunciationDictionaryAliasRuleResponseModel, @@ -1290,6 +1353,7 @@ ResourceMetadataResponseModel, ResourceMetadataResponseModelAnonymousAccessLevelOverride, ResponseFilter, + ResponseFilterContentType, ResponseFilterMode, ResponseUnitTestModel, ResponseUnitTestModelDynamicVariablesValue, @@ -1305,9 +1369,13 @@ SampleConfigDbModelParentType, SaveVoicePreviewRequest, SayNodeLiteralMessageInput, + SayNodeLiteralMessageInputType, SayNodeLiteralMessageOutput, + SayNodeLiteralMessageOutputType, SayNodePromptMessageInput, + SayNodePromptMessageInputType, SayNodePromptMessageOutput, + SayNodePromptMessageOutputType, ScribeAuthErrorPayload, ScribeChunkSizeExceededErrorPayload, ScribeErrorPayload, @@ -1322,6 +1390,7 @@ ScribeTranscriberErrorPayload, ScribeUnacceptedTermsErrorPayload, SearchClientsParams, + SearchClientsParamsSmbToolType, SeatType, SecretDependencyType, SectionSource, @@ -1357,6 +1426,7 @@ SipUriTransferDestination, SkipTurnToolConfig, SkipTurnToolResponseModel, + SkipTurnToolResponseModelStatus, SoftTimeoutConfig, SoftTimeoutConfigOverride, SoftTimeoutConfigOverrideConfig, @@ -1415,6 +1485,7 @@ SystemToolConfigInputParams_TransferToAgent, SystemToolConfigInputParams_TransferToNumber, SystemToolConfigInputParams_VoicemailDetection, + SystemToolConfigInputType, SystemToolConfigOutput, SystemToolConfigOutputParams, SystemToolConfigOutputParams_AgentPromptChange, @@ -1429,6 +1500,7 @@ SystemToolConfigOutputParams_TransferToAgent, SystemToolConfigOutputParams_TransferToNumber, SystemToolConfigOutputParams_VoicemailDetection, + SystemToolConfigOutputType, TelephonyCallConfig, TelephonyProvider, TestConditionRationaleCommonModel, @@ -1440,6 +1512,7 @@ TestRunMetadataTestType, TestRunStatus, TestToolResultModel, + TestToolResultModelStatus, TestType, TestsFeatureUsageCommonModel, TextNormalisationType, @@ -1484,13 +1557,18 @@ TransferBranchInfoTrafficSplit, TransferToAgentToolConfig, TransferToAgentToolResultErrorModel, + TransferToAgentToolResultErrorModelStatus, TransferToAgentToolResultSuccessModel, TransferToAgentToolResultSuccessModelBranchInfo, TransferToAgentToolResultSuccessModelBranchInfo_DefaultingToMain, TransferToAgentToolResultSuccessModelBranchInfo_TrafficSplit, + TransferToAgentToolResultSuccessModelStatus, TransferToNumberResultErrorModel, + TransferToNumberResultErrorModelStatus, TransferToNumberResultSipSuccessModel, + TransferToNumberResultSipSuccessModelStatus, TransferToNumberResultTwilioSuccessModel, + TransferToNumberResultTwilioSuccessModelStatus, TransferToNumberToolConfigInput, TransferToNumberToolConfigOutput, TransferTypeEnum, @@ -1530,20 +1608,27 @@ UnitTestToolCallParameterEval_Llm, UnitTestToolCallParameterEval_Regex, UnitTestWorkflowNodeTransitionEvaluationNodeId, + UnitTestWorkflowNodeTransitionEvaluationNodeIdType, UpdateAssetParams, + UpdateAssetParamsSmbToolType, UpdateAudioNativeProjectRequest, UpdateCalendarEventParams, + UpdateCalendarEventParamsSmbToolType, UpdateChapterRequest, UpdateClientParams, + UpdateClientParamsSmbToolType, UpdateProductParams, + UpdateProductParamsSmbToolType, UpdateProjectRequest, UpdatePronunciationDictionariesRequest, UpdateResponseUnitTestRequest, UpdateResponseUnitTestRequestDynamicVariablesValue, UpdateServiceParams, + UpdateServiceParamsSmbToolType, UpdateSimulationTestRequest, UpdateSimulationTestRequestDynamicVariablesValue, UpdateStaffParams, + UpdateStaffParamsSmbToolType, UpdateToolCallUnitTestRequest, UpdateToolCallUnitTestRequestDynamicVariablesValue, UpdateWorkspaceMemberResponseModel, @@ -1576,6 +1661,7 @@ VoiceGenerationParameterOptionResponse, VoiceGenerationParameterResponse, VoiceMailDetectionResultSuccessModel, + VoiceMailDetectionResultSuccessModelStatus, VoicePreviewResponseModel, VoiceResponseModelCategory, VoiceResponseModelSafetyControl, @@ -1594,6 +1680,7 @@ WebhookAuthMethodType, WebhookEventType, WebhookHmacSettings, + WebhookHmacSettingsAuthType, WebhookToolApiSchemaConfigInput, WebhookToolApiSchemaConfigInputContentType, WebhookToolApiSchemaConfigInputMethod, @@ -1626,6 +1713,7 @@ WhatsAppTemplateLocationParam, WhatsAppTemplateLocationParamDetails, WhatsAppTemplateTextParam, + WhatsAppTemplateTextParamType, WidgetConfig, WidgetConfigInputAvatar, WidgetConfigInputAvatar_Image, @@ -1773,6 +1861,7 @@ WorkspaceGroupPermission, WorkspaceGroupResponseModel, WorkspaceGroupResponseModelGroupUsageLimit, + WorkspaceGroupResponseModelGroupUsageLimitOne, WorkspaceResourceType, WorkspaceServiceAccountListResponseModel, WorkspaceServiceAccountResponseModel, @@ -1825,6 +1914,7 @@ DubbingCreateRequestMode, DubbingListRequestDubbingStatus, DubbingListRequestFilterByCreator, + DubbingListRequestOrderBy, DubbingListRequestOrderDirection, ) from .environment import ElevenLabsEnvironment @@ -1925,10 +2015,12 @@ "AgentConfigOverrideOutput": ".types", "AgentDefinitionSource": ".types", "AgentDeploymentPercentageStrategy": ".types", + "AgentDeploymentPercentageStrategyType": ".types", "AgentDeploymentRequest": ".types", "AgentDeploymentRequestItem": ".types", "AgentDeploymentResponse": ".types", "AgentFailureResponseExample": ".types", + "AgentFailureResponseExampleType": ".types", "AgentMetadata": ".types", "AgentMetadataResponseModel": ".types", "AgentPlatformSettingsRequestModel": ".types", @@ -1937,6 +2029,7 @@ "AgentSimulatedChatTestResponseModel": ".types", "AgentSortBy": ".types", "AgentSuccessfulResponseExample": ".types", + "AgentSuccessfulResponseExampleType": ".types", "AgentSummaryBatchSuccessfulResponseModel": ".types", "AgentSummaryResponseModel": ".types", "AgentTestEntityType": ".types", @@ -1982,8 +2075,10 @@ "ApiIntegrationWebhookToolConfigOutput": ".types", "ArrayJsonSchemaPropertyInput": ".types", "ArrayJsonSchemaPropertyInputItems": ".types", + "ArrayJsonSchemaPropertyInputType": ".types", "ArrayJsonSchemaPropertyOutput": ".types", "ArrayJsonSchemaPropertyOutputItems": ".types", + "ArrayJsonSchemaPropertyOutputType": ".types", "AsrConversationalConfig": ".types", "AsrConversationalConfigWorkflowOverride": ".types", "AsrInputFormat": ".types", @@ -2428,8 +2523,11 @@ "AuthSettings": ".types", "AuthorizationMethod": ".types", "BackupLlmDefault": ".types", + "BackupLlmDefaultPreference": ".types", "BackupLlmDisabled": ".types", + "BackupLlmDisabledPreference": ".types", "BackupLlmOverride": ".types", + "BackupLlmOverridePreference": ".types", "BadRequestError": ".errors", "BadRequestErrorBody": ".types", "BatchCallDetailedResponse": ".types", @@ -2496,6 +2594,7 @@ "ChapterContentBlockTtsNodeResponseModel": ".types", "ChapterContentInputModel": ".types", "ChapterContentParagraphTtsNodeInputModel": ".types", + "ChapterContentParagraphTtsNodeInputModelType": ".types", "ChapterContentResponseModel": ".types", "ChapterResponse": ".types", "ChapterSnapshotExtendedResponseModel": ".types", @@ -2511,7 +2610,9 @@ "CharacterUsageResponse": ".types", "ChatSourceMedium": ".types", "CheckRentalAvailabilityParams": ".types", + "CheckRentalAvailabilityParamsSmbToolType": ".types", "CheckServiceAvailabilityParams": ".types", + "CheckServiceAvailabilityParamsSmbToolType": ".types", "ClientEvent": ".types", "ClientToolConfigInput": ".types", "ClientToolConfigOutput": ".types", @@ -2522,7 +2623,9 @@ "CloseContext": ".types", "CloseSocket": ".types", "CoachedAgentSettings": ".types", + "CoachedAgentSettingsType": ".types", "CoachingAgentSettings": ".types", + "CoachingAgentSettingsType": ".types", "CommitStrategy": ".realtime", "CommittedTranscriptPayload": ".types", "CommittedTranscriptWithTimestampsPayload": ".types", @@ -2533,6 +2636,8 @@ "ContentConfig": ".types", "ContentGuardrailInput": ".types", "ContentGuardrailOutput": ".types", + "ContentThresholdGuardrail": ".types", + "ContentThresholdGuardrailThreshold": ".types", "Contributor": ".types", "ConvAiDynamicVariable": ".types", "ConvAiFileUploadResponseModel": ".types", @@ -2547,6 +2652,7 @@ "ConvAiUserSecretDbModel": ".types", "ConvAiWebhooks": ".types", "ConvAiWorkspaceStoredSecretConfig": ".types", + "ConvAiWorkspaceStoredSecretConfigType": ".types", "ConversationChargingCommonModel": ".types", "ConversationConfig": ".types", "ConversationConfigClientOverrideConfigInput": ".types", @@ -2575,6 +2681,7 @@ "ConversationHistorySipTrunkingPhoneCallModel": ".types", "ConversationHistorySipTrunkingPhoneCallModelDirection": ".types", "ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel": ".types", + "ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelType": ".types", "ConversationHistoryTranscriptCommonModelInput": ".types", "ConversationHistoryTranscriptCommonModelInputRole": ".types", "ConversationHistoryTranscriptCommonModelInputToolResultsItem": ".types", @@ -2601,6 +2708,7 @@ "ConversationHistoryTranscriptSystemToolResultCommonModelInputResult_TransferToNumberSipSuccess": ".types", "ConversationHistoryTranscriptSystemToolResultCommonModelInputResult_TransferToNumberTwilioSuccess": ".types", "ConversationHistoryTranscriptSystemToolResultCommonModelInputResult_VoicemailDetectionSuccess": ".types", + "ConversationHistoryTranscriptSystemToolResultCommonModelInputType": ".types", "ConversationHistoryTranscriptSystemToolResultCommonModelOutput": ".types", "ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult": ".types", "ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult_EndCallSuccess": ".types", @@ -2615,6 +2723,7 @@ "ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult_TransferToNumberSipSuccess": ".types", "ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult_TransferToNumberTwilioSuccess": ".types", "ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult_VoicemailDetectionSuccess": ".types", + "ConversationHistoryTranscriptSystemToolResultCommonModelOutputType": ".types", "ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails": ".types", "ConversationHistoryTranscriptToolCallClientDetails": ".types", "ConversationHistoryTranscriptToolCallCommonModelInput": ".types", @@ -2631,8 +2740,11 @@ "ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails_Webhook": ".types", "ConversationHistoryTranscriptToolCallMcpDetails": ".types", "ConversationHistoryTranscriptToolCallWebhookDetails": ".types", + "ConversationHistoryTranscriptToolCallWebhookDetailsType": ".types", "ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput": ".types", + "ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputType": ".types", "ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput": ".types", + "ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputType": ".types", "ConversationHistoryTwilioPhoneCallModel": ".types", "ConversationHistoryTwilioPhoneCallModelDirection": ".types", "ConversationInitiationClientDataConfigInput": ".types", @@ -2666,21 +2778,28 @@ "CreateAgentResponseModel": ".types", "CreateAgentTestResponseModel": ".types", "CreateAssetParams": ".types", + "CreateAssetParamsSmbToolType": ".types", "CreateAudioNativeProjectRequest": ".types", "CreateClientAppointmentParams": ".types", + "CreateClientAppointmentParamsSmbToolType": ".types", "CreateClientParams": ".types", + "CreateClientParamsSmbToolType": ".types", "CreatePhoneNumberResponseModel": ".types", "CreatePreviouslyGeneratedVoiceRequest": ".types", "CreateProductParams": ".types", + "CreateProductParamsSmbToolType": ".types", "CreatePronunciationDictionaryResponseModel": ".types", "CreateRentalBookingParams": ".types", + "CreateRentalBookingParamsSmbToolType": ".types", "CreateResponseUnitTestRequest": ".types", "CreateResponseUnitTestRequestDynamicVariablesValue": ".types", "CreateServiceParams": ".types", + "CreateServiceParamsSmbToolType": ".types", "CreateSimulationTestRequest": ".types", "CreateSimulationTestRequestDynamicVariablesValue": ".types", "CreateSipTrunkPhoneNumberRequest": ".types", "CreateStaffParams": ".types", + "CreateStaffParamsSmbToolType": ".types", "CreateToolCallUnitTestRequest": ".types", "CreateToolCallUnitTestRequestDynamicVariablesValue": ".types", "CreateTranscriptRequest": ".types", @@ -2702,18 +2821,24 @@ "DefaultSharingGroupResponseModel": ".types", "DefaultSharingGroupResponseModelPermissionLevel": ".types", "DeleteAssetParams": ".types", + "DeleteAssetParamsSmbToolType": ".types", "DeleteCalendarEventParams": ".types", + "DeleteCalendarEventParamsSmbToolType": ".types", "DeleteChapterRequest": ".types", "DeleteChapterResponseModel": ".types", "DeleteClientParams": ".types", + "DeleteClientParamsSmbToolType": ".types", "DeleteDubbingResponseModel": ".types", "DeleteHistoryItemResponse": ".types", "DeleteProductParams": ".types", + "DeleteProductParamsSmbToolType": ".types", "DeleteProjectRequest": ".types", "DeleteProjectResponseModel": ".types", "DeleteSampleResponse": ".types", "DeleteServiceParams": ".types", + "DeleteServiceParamsSmbToolType": ".types", "DeleteStaffParams": ".types", + "DeleteStaffParamsSmbToolType": ".types", "DeleteVoiceResponseModel": ".types", "DeleteVoiceSampleResponseModel": ".types", "DeleteWorkspaceGroupMemberResponseModel": ".types", @@ -2732,6 +2857,7 @@ "DialogueInput": ".types", "DialogueInputResponseModel": ".types", "DirectPublishingReadResponseModel": ".types", + "DirectPublishingReadResponseModelCurrency": ".types", "DirectPublishingReadResponseModelDisplayMode": ".types", "DirectPublishingReadResponseModelGenreItem": ".types", "DirectPublishingReadResponseModelPayoutType": ".types", @@ -2744,6 +2870,7 @@ "DubbingCreateRequestMode": ".dubbing", "DubbingListRequestDubbingStatus": ".dubbing", "DubbingListRequestFilterByCreator": ".dubbing", + "DubbingListRequestOrderBy": ".dubbing", "DubbingListRequestOrderDirection": ".dubbing", "DubbingMediaMetadata": ".types", "DubbingMediaReference": ".types", @@ -2760,6 +2887,7 @@ "DubbingTranscriptsResponseModel": ".types", "DubbingTranscriptsResponseModelTranscriptFormat": ".types", "DynamicVariableAssignment": ".types", + "DynamicVariableAssignmentSource": ".types", "DynamicVariableSchemaOverride": ".types", "DynamicVariableUpdateCommonModel": ".types", "DynamicVariablesConfig": ".types", @@ -2777,6 +2905,7 @@ "EmbeddingModelEnum": ".types", "EndCallToolConfig": ".types", "EndCallToolResultModel": ".types", + "EndCallToolResultModelStatus": ".types", "EvaluationSettings": ".types", "EvaluationSuccessResult": ".types", "ExactParameterEvaluationStrategy": ".types", @@ -2806,6 +2935,7 @@ "GenerateVoiceRequest": ".types", "GenerationConfig": ".types", "GenerationSourceContext": ".types", + "GenerationSourceContextSourceType": ".types", "GetAgentEmbedResponseModel": ".types", "GetAgentKnowledgebaseSizeResponseModel": ".types", "GetAgentLinkResponseModel": ".types", @@ -2820,7 +2950,9 @@ "GetChaptersRequest": ".types", "GetChaptersResponse": ".types", "GetClientAppointmentsParams": ".types", + "GetClientAppointmentsParamsSmbToolType": ".types", "GetClientByPhoneParams": ".types", + "GetClientByPhoneParamsSmbToolType": ".types", "GetConvAiDashboardSettingsResponseModel": ".types", "GetConvAiDashboardSettingsResponseModelChartsItem": ".types", "GetConvAiDashboardSettingsResponseModelChartsItem_CallSuccess": ".types", @@ -2903,7 +3035,9 @@ "GetWorkspaceSecretsResponseModel": ".types", "GuardrailExecutionMode": ".types", "GuardrailsV1Input": ".types", + "GuardrailsV1InputVersion": ".types", "GuardrailsV1Output": ".types", + "GuardrailsV1OutputVersion": ".types", "HistoryAlignmentResponseModel": ".types", "HistoryAlignmentsResponseModel": ".types", "HistoryItemResponse": ".types", @@ -2940,6 +3074,7 @@ "LanguageAddedResponse": ".types", "LanguageDetectionToolConfig": ".types", "LanguageDetectionToolResultModel": ".types", + "LanguageDetectionToolResultModelStatus": ".types", "LanguagePresetInput": ".types", "LanguagePresetOutput": ".types", "LanguagePresetTranslation": ".types", @@ -2947,15 +3082,22 @@ "LibraryVoiceResponse": ".types", "LibraryVoiceResponseModelCategory": ".types", "ListAssetsParams": ".types", + "ListAssetsParamsSmbToolType": ".types", "ListCalendarEventsParams": ".types", + "ListCalendarEventsParamsSmbToolType": ".types", "ListClientsParams": ".types", + "ListClientsParamsSmbToolType": ".types", "ListMcpToolsResponseModel": ".types", "ListProductsParams": ".types", + "ListProductsParamsSmbToolType": ".types", "ListRentalServicesParams": ".types", + "ListRentalServicesParamsSmbToolType": ".types", "ListResponseAgentBranchSummary": ".types", "ListResponseMeta": ".types", "ListServicesParams": ".types", + "ListServicesParamsSmbToolType": ".types", "ListStaffParams": ".types", + "ListStaffParamsSmbToolType": ".types", "ListWhatsAppAccountsResponse": ".types", "LiteralJsonSchemaProperty": ".types", "LiteralJsonSchemaPropertyConstantValue": ".types", @@ -3029,13 +3171,16 @@ "MusicSeparateStemsRequestStemVariationId": ".music", "MusicUploadResponse": ".types", "NoCoachingSettings": ".types", + "NoCoachingSettingsType": ".types", "NonStreamingOutputFormats": ".types", "NormalizedAlignment": ".types", "NotFoundError": ".errors", "ObjectJsonSchemaPropertyInput": ".types", "ObjectJsonSchemaPropertyInputPropertiesValue": ".types", + "ObjectJsonSchemaPropertyInputType": ".types", "ObjectJsonSchemaPropertyOutput": ".types", "ObjectJsonSchemaPropertyOutputPropertiesValue": ".types", + "ObjectJsonSchemaPropertyOutputType": ".types", "ObjectOverrideInput": ".types", "ObjectOverrideInputPropertiesValue": ".types", "ObjectOverrideOutput": ".types", @@ -3049,9 +3194,11 @@ "PatchWorkspaceWebhookResponseModel": ".types", "PdfExportOptions": ".types", "PendingCancellationResponseModel": ".types", + "PendingCancellationResponseModelKind": ".types", "PendingClipTask": ".types", "PendingClipTaskType": ".types", "PendingSubscriptionSwitchResponseModel": ".types", + "PendingSubscriptionSwitchResponseModelKind": ".types", "PendingSubscriptionSwitchResponseModelNextTier": ".types", "PermissionType": ".types", "PhoneNumberAgentInfo": ".types", @@ -3070,7 +3217,9 @@ "PhoneNumberTransferTransferDestination_SipUri": ".types", "PhoneNumberTransferTransferDestination_SipUriDynamicVariable": ".types", "PlayDtmfResultErrorModel": ".types", + "PlayDtmfResultErrorModelStatus": ".types", "PlayDtmfResultSuccessModel": ".types", + "PlayDtmfResultSuccessModelStatus": ".types", "PlayDtmfToolConfig": ".types", "PodcastBulletinMode": ".types", "PodcastBulletinModeData": ".types", @@ -3078,13 +3227,16 @@ "PodcastConversationModeData": ".types", "PodcastProjectResponseModel": ".types", "PodcastTextSource": ".types", + "PodcastTextSourceType": ".types", "PodcastUrlSource": ".types", + "PodcastUrlSourceType": ".types", "PositionInput": ".types", "PositionOutput": ".types", "PostAgentAvatarResponseModel": ".types", "PostDialDigitsDynamicVariable": ".types", "PostDialDigitsStatic": ".types", "PostWorkspaceSecretResponseModel": ".types", + "PostWorkspaceSecretResponseModelType": ".types", "PreviewAudioDbModel": ".types", "PrivacyConfigInput": ".types", "PrivacyConfigOutput": ".types", @@ -3110,6 +3262,7 @@ "ProjectExternalAudioResponseModelSourceContext_Sfx": ".types", "ProjectExternalAudioResponseModelSourceContext_Song": ".types", "ProjectImageResponseModel": ".types", + "ProjectImageResponseModelSource": ".types", "ProjectMutedTracksResponseModel": ".types", "ProjectResponse": ".types", "ProjectResponseModelAccessLevel": ".types", @@ -3171,6 +3324,7 @@ "PromptAgentApiModelWorkflowOverrideOutputToolsItem_Webhook": ".types", "PromptAgentDbModel": ".types", "PromptEvaluationCriteria": ".types", + "PromptEvaluationCriteriaType": ".types", "PromptInjectionGuardrail": ".types", "PronunciationDictionariesCreateFromFileRequestWorkspaceAccess": ".pronunciation_dictionaries", "PronunciationDictionariesListRequestSort": ".pronunciation_dictionaries", @@ -3228,6 +3382,7 @@ "ResourceMetadataResponseModel": ".types", "ResourceMetadataResponseModelAnonymousAccessLevelOverride": ".types", "ResponseFilter": ".types", + "ResponseFilterContentType": ".types", "ResponseFilterMode": ".types", "ResponseUnitTestModel": ".types", "ResponseUnitTestModelDynamicVariablesValue": ".types", @@ -3243,9 +3398,13 @@ "SampleConfigDbModelParentType": ".types", "SaveVoicePreviewRequest": ".types", "SayNodeLiteralMessageInput": ".types", + "SayNodeLiteralMessageInputType": ".types", "SayNodeLiteralMessageOutput": ".types", + "SayNodeLiteralMessageOutputType": ".types", "SayNodePromptMessageInput": ".types", + "SayNodePromptMessageInputType": ".types", "SayNodePromptMessageOutput": ".types", + "SayNodePromptMessageOutputType": ".types", "ScribeAuthErrorPayload": ".types", "ScribeChunkSizeExceededErrorPayload": ".types", "ScribeErrorPayload": ".types", @@ -3260,6 +3419,7 @@ "ScribeTranscriberErrorPayload": ".types", "ScribeUnacceptedTermsErrorPayload": ".types", "SearchClientsParams": ".types", + "SearchClientsParamsSmbToolType": ".types", "SeatType": ".types", "SecretDependencyType": ".types", "SectionSource": ".types", @@ -3297,6 +3457,7 @@ "SipUriTransferDestination": ".types", "SkipTurnToolConfig": ".types", "SkipTurnToolResponseModel": ".types", + "SkipTurnToolResponseModelStatus": ".types", "SoftTimeoutConfig": ".types", "SoftTimeoutConfigOverride": ".types", "SoftTimeoutConfigOverrideConfig": ".types", @@ -3365,6 +3526,7 @@ "SystemToolConfigInputParams_TransferToAgent": ".types", "SystemToolConfigInputParams_TransferToNumber": ".types", "SystemToolConfigInputParams_VoicemailDetection": ".types", + "SystemToolConfigInputType": ".types", "SystemToolConfigOutput": ".types", "SystemToolConfigOutputParams": ".types", "SystemToolConfigOutputParams_AgentPromptChange": ".types", @@ -3379,6 +3541,7 @@ "SystemToolConfigOutputParams_TransferToAgent": ".types", "SystemToolConfigOutputParams_TransferToNumber": ".types", "SystemToolConfigOutputParams_VoicemailDetection": ".types", + "SystemToolConfigOutputType": ".types", "TelephonyCallConfig": ".types", "TelephonyProvider": ".types", "TestConditionRationaleCommonModel": ".types", @@ -3390,6 +3553,7 @@ "TestRunMetadataTestType": ".types", "TestRunStatus": ".types", "TestToolResultModel": ".types", + "TestToolResultModelStatus": ".types", "TestType": ".types", "TestsFeatureUsageCommonModel": ".types", "TextNormalisationType": ".types", @@ -3442,13 +3606,18 @@ "TransferBranchInfoTrafficSplit": ".types", "TransferToAgentToolConfig": ".types", "TransferToAgentToolResultErrorModel": ".types", + "TransferToAgentToolResultErrorModelStatus": ".types", "TransferToAgentToolResultSuccessModel": ".types", "TransferToAgentToolResultSuccessModelBranchInfo": ".types", "TransferToAgentToolResultSuccessModelBranchInfo_DefaultingToMain": ".types", "TransferToAgentToolResultSuccessModelBranchInfo_TrafficSplit": ".types", + "TransferToAgentToolResultSuccessModelStatus": ".types", "TransferToNumberResultErrorModel": ".types", + "TransferToNumberResultErrorModelStatus": ".types", "TransferToNumberResultSipSuccessModel": ".types", + "TransferToNumberResultSipSuccessModelStatus": ".types", "TransferToNumberResultTwilioSuccessModel": ".types", + "TransferToNumberResultTwilioSuccessModelStatus": ".types", "TransferToNumberToolConfigInput": ".types", "TransferToNumberToolConfigOutput": ".types", "TransferTypeEnum": ".types", @@ -3489,21 +3658,28 @@ "UnitTestToolCallParameterEval_Llm": ".types", "UnitTestToolCallParameterEval_Regex": ".types", "UnitTestWorkflowNodeTransitionEvaluationNodeId": ".types", + "UnitTestWorkflowNodeTransitionEvaluationNodeIdType": ".types", "UnprocessableEntityError": ".errors", "UpdateAssetParams": ".types", + "UpdateAssetParamsSmbToolType": ".types", "UpdateAudioNativeProjectRequest": ".types", "UpdateCalendarEventParams": ".types", + "UpdateCalendarEventParamsSmbToolType": ".types", "UpdateChapterRequest": ".types", "UpdateClientParams": ".types", + "UpdateClientParamsSmbToolType": ".types", "UpdateProductParams": ".types", + "UpdateProductParamsSmbToolType": ".types", "UpdateProjectRequest": ".types", "UpdatePronunciationDictionariesRequest": ".types", "UpdateResponseUnitTestRequest": ".types", "UpdateResponseUnitTestRequestDynamicVariablesValue": ".types", "UpdateServiceParams": ".types", + "UpdateServiceParamsSmbToolType": ".types", "UpdateSimulationTestRequest": ".types", "UpdateSimulationTestRequestDynamicVariablesValue": ".types", "UpdateStaffParams": ".types", + "UpdateStaffParamsSmbToolType": ".types", "UpdateToolCallUnitTestRequest": ".types", "UpdateToolCallUnitTestRequestDynamicVariablesValue": ".types", "UpdateWorkspaceMemberResponseModel": ".types", @@ -3537,6 +3713,7 @@ "VoiceGenerationParameterOptionResponse": ".types", "VoiceGenerationParameterResponse": ".types", "VoiceMailDetectionResultSuccessModel": ".types", + "VoiceMailDetectionResultSuccessModelStatus": ".types", "VoicePreviewResponseModel": ".types", "VoiceResponseModelCategory": ".types", "VoiceResponseModelSafetyControl": ".types", @@ -3557,6 +3734,7 @@ "WebhookAuthMethodType": ".types", "WebhookEventType": ".types", "WebhookHmacSettings": ".types", + "WebhookHmacSettingsAuthType": ".types", "WebhookToolApiSchemaConfigInput": ".types", "WebhookToolApiSchemaConfigInputContentType": ".types", "WebhookToolApiSchemaConfigInputMethod": ".types", @@ -3589,6 +3767,7 @@ "WhatsAppTemplateLocationParam": ".types", "WhatsAppTemplateLocationParamDetails": ".types", "WhatsAppTemplateTextParam": ".types", + "WhatsAppTemplateTextParamType": ".types", "WidgetConfig": ".types", "WidgetConfigInputAvatar": ".types", "WidgetConfigInputAvatar_Image": ".types", @@ -3736,6 +3915,7 @@ "WorkspaceGroupPermission": ".types", "WorkspaceGroupResponseModel": ".types", "WorkspaceGroupResponseModelGroupUsageLimit": ".types", + "WorkspaceGroupResponseModelGroupUsageLimitOne": ".types", "WorkspaceResourceType": ".types", "WorkspaceServiceAccountListResponseModel": ".types", "WorkspaceServiceAccountResponseModel": ".types", @@ -3825,10 +4005,12 @@ def __dir__(): "AgentConfigOverrideOutput", "AgentDefinitionSource", "AgentDeploymentPercentageStrategy", + "AgentDeploymentPercentageStrategyType", "AgentDeploymentRequest", "AgentDeploymentRequestItem", "AgentDeploymentResponse", "AgentFailureResponseExample", + "AgentFailureResponseExampleType", "AgentMetadata", "AgentMetadataResponseModel", "AgentPlatformSettingsRequestModel", @@ -3837,6 +4019,7 @@ def __dir__(): "AgentSimulatedChatTestResponseModel", "AgentSortBy", "AgentSuccessfulResponseExample", + "AgentSuccessfulResponseExampleType", "AgentSummaryBatchSuccessfulResponseModel", "AgentSummaryResponseModel", "AgentTestEntityType", @@ -3882,8 +4065,10 @@ def __dir__(): "ApiIntegrationWebhookToolConfigOutput", "ArrayJsonSchemaPropertyInput", "ArrayJsonSchemaPropertyInputItems", + "ArrayJsonSchemaPropertyInputType", "ArrayJsonSchemaPropertyOutput", "ArrayJsonSchemaPropertyOutputItems", + "ArrayJsonSchemaPropertyOutputType", "AsrConversationalConfig", "AsrConversationalConfigWorkflowOverride", "AsrInputFormat", @@ -4328,8 +4513,11 @@ def __dir__(): "AuthSettings", "AuthorizationMethod", "BackupLlmDefault", + "BackupLlmDefaultPreference", "BackupLlmDisabled", + "BackupLlmDisabledPreference", "BackupLlmOverride", + "BackupLlmOverridePreference", "BadRequestError", "BadRequestErrorBody", "BatchCallDetailedResponse", @@ -4396,6 +4584,7 @@ def __dir__(): "ChapterContentBlockTtsNodeResponseModel", "ChapterContentInputModel", "ChapterContentParagraphTtsNodeInputModel", + "ChapterContentParagraphTtsNodeInputModelType", "ChapterContentResponseModel", "ChapterResponse", "ChapterSnapshotExtendedResponseModel", @@ -4411,7 +4600,9 @@ def __dir__(): "CharacterUsageResponse", "ChatSourceMedium", "CheckRentalAvailabilityParams", + "CheckRentalAvailabilityParamsSmbToolType", "CheckServiceAvailabilityParams", + "CheckServiceAvailabilityParamsSmbToolType", "ClientEvent", "ClientToolConfigInput", "ClientToolConfigOutput", @@ -4422,7 +4613,9 @@ def __dir__(): "CloseContext", "CloseSocket", "CoachedAgentSettings", + "CoachedAgentSettingsType", "CoachingAgentSettings", + "CoachingAgentSettingsType", "CommitStrategy", "CommittedTranscriptPayload", "CommittedTranscriptWithTimestampsPayload", @@ -4433,6 +4626,8 @@ def __dir__(): "ContentConfig", "ContentGuardrailInput", "ContentGuardrailOutput", + "ContentThresholdGuardrail", + "ContentThresholdGuardrailThreshold", "Contributor", "ConvAiDynamicVariable", "ConvAiFileUploadResponseModel", @@ -4447,6 +4642,7 @@ def __dir__(): "ConvAiUserSecretDbModel", "ConvAiWebhooks", "ConvAiWorkspaceStoredSecretConfig", + "ConvAiWorkspaceStoredSecretConfigType", "ConversationChargingCommonModel", "ConversationConfig", "ConversationConfigClientOverrideConfigInput", @@ -4475,6 +4671,7 @@ def __dir__(): "ConversationHistorySipTrunkingPhoneCallModel", "ConversationHistorySipTrunkingPhoneCallModelDirection", "ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel", + "ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelType", "ConversationHistoryTranscriptCommonModelInput", "ConversationHistoryTranscriptCommonModelInputRole", "ConversationHistoryTranscriptCommonModelInputToolResultsItem", @@ -4501,6 +4698,7 @@ def __dir__(): "ConversationHistoryTranscriptSystemToolResultCommonModelInputResult_TransferToNumberSipSuccess", "ConversationHistoryTranscriptSystemToolResultCommonModelInputResult_TransferToNumberTwilioSuccess", "ConversationHistoryTranscriptSystemToolResultCommonModelInputResult_VoicemailDetectionSuccess", + "ConversationHistoryTranscriptSystemToolResultCommonModelInputType", "ConversationHistoryTranscriptSystemToolResultCommonModelOutput", "ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult", "ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult_EndCallSuccess", @@ -4515,6 +4713,7 @@ def __dir__(): "ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult_TransferToNumberSipSuccess", "ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult_TransferToNumberTwilioSuccess", "ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult_VoicemailDetectionSuccess", + "ConversationHistoryTranscriptSystemToolResultCommonModelOutputType", "ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails", "ConversationHistoryTranscriptToolCallClientDetails", "ConversationHistoryTranscriptToolCallCommonModelInput", @@ -4531,8 +4730,11 @@ def __dir__(): "ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails_Webhook", "ConversationHistoryTranscriptToolCallMcpDetails", "ConversationHistoryTranscriptToolCallWebhookDetails", + "ConversationHistoryTranscriptToolCallWebhookDetailsType", "ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput", + "ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputType", "ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput", + "ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputType", "ConversationHistoryTwilioPhoneCallModel", "ConversationHistoryTwilioPhoneCallModelDirection", "ConversationInitiationClientDataConfigInput", @@ -4566,21 +4768,28 @@ def __dir__(): "CreateAgentResponseModel", "CreateAgentTestResponseModel", "CreateAssetParams", + "CreateAssetParamsSmbToolType", "CreateAudioNativeProjectRequest", "CreateClientAppointmentParams", + "CreateClientAppointmentParamsSmbToolType", "CreateClientParams", + "CreateClientParamsSmbToolType", "CreatePhoneNumberResponseModel", "CreatePreviouslyGeneratedVoiceRequest", "CreateProductParams", + "CreateProductParamsSmbToolType", "CreatePronunciationDictionaryResponseModel", "CreateRentalBookingParams", + "CreateRentalBookingParamsSmbToolType", "CreateResponseUnitTestRequest", "CreateResponseUnitTestRequestDynamicVariablesValue", "CreateServiceParams", + "CreateServiceParamsSmbToolType", "CreateSimulationTestRequest", "CreateSimulationTestRequestDynamicVariablesValue", "CreateSipTrunkPhoneNumberRequest", "CreateStaffParams", + "CreateStaffParamsSmbToolType", "CreateToolCallUnitTestRequest", "CreateToolCallUnitTestRequestDynamicVariablesValue", "CreateTranscriptRequest", @@ -4602,18 +4811,24 @@ def __dir__(): "DefaultSharingGroupResponseModel", "DefaultSharingGroupResponseModelPermissionLevel", "DeleteAssetParams", + "DeleteAssetParamsSmbToolType", "DeleteCalendarEventParams", + "DeleteCalendarEventParamsSmbToolType", "DeleteChapterRequest", "DeleteChapterResponseModel", "DeleteClientParams", + "DeleteClientParamsSmbToolType", "DeleteDubbingResponseModel", "DeleteHistoryItemResponse", "DeleteProductParams", + "DeleteProductParamsSmbToolType", "DeleteProjectRequest", "DeleteProjectResponseModel", "DeleteSampleResponse", "DeleteServiceParams", + "DeleteServiceParamsSmbToolType", "DeleteStaffParams", + "DeleteStaffParamsSmbToolType", "DeleteVoiceResponseModel", "DeleteVoiceSampleResponseModel", "DeleteWorkspaceGroupMemberResponseModel", @@ -4632,6 +4847,7 @@ def __dir__(): "DialogueInput", "DialogueInputResponseModel", "DirectPublishingReadResponseModel", + "DirectPublishingReadResponseModelCurrency", "DirectPublishingReadResponseModelDisplayMode", "DirectPublishingReadResponseModelGenreItem", "DirectPublishingReadResponseModelPayoutType", @@ -4644,6 +4860,7 @@ def __dir__(): "DubbingCreateRequestMode", "DubbingListRequestDubbingStatus", "DubbingListRequestFilterByCreator", + "DubbingListRequestOrderBy", "DubbingListRequestOrderDirection", "DubbingMediaMetadata", "DubbingMediaReference", @@ -4660,6 +4877,7 @@ def __dir__(): "DubbingTranscriptsResponseModel", "DubbingTranscriptsResponseModelTranscriptFormat", "DynamicVariableAssignment", + "DynamicVariableAssignmentSource", "DynamicVariableSchemaOverride", "DynamicVariableUpdateCommonModel", "DynamicVariablesConfig", @@ -4677,6 +4895,7 @@ def __dir__(): "EmbeddingModelEnum", "EndCallToolConfig", "EndCallToolResultModel", + "EndCallToolResultModelStatus", "EvaluationSettings", "EvaluationSuccessResult", "ExactParameterEvaluationStrategy", @@ -4706,6 +4925,7 @@ def __dir__(): "GenerateVoiceRequest", "GenerationConfig", "GenerationSourceContext", + "GenerationSourceContextSourceType", "GetAgentEmbedResponseModel", "GetAgentKnowledgebaseSizeResponseModel", "GetAgentLinkResponseModel", @@ -4720,7 +4940,9 @@ def __dir__(): "GetChaptersRequest", "GetChaptersResponse", "GetClientAppointmentsParams", + "GetClientAppointmentsParamsSmbToolType", "GetClientByPhoneParams", + "GetClientByPhoneParamsSmbToolType", "GetConvAiDashboardSettingsResponseModel", "GetConvAiDashboardSettingsResponseModelChartsItem", "GetConvAiDashboardSettingsResponseModelChartsItem_CallSuccess", @@ -4803,7 +5025,9 @@ def __dir__(): "GetWorkspaceSecretsResponseModel", "GuardrailExecutionMode", "GuardrailsV1Input", + "GuardrailsV1InputVersion", "GuardrailsV1Output", + "GuardrailsV1OutputVersion", "HistoryAlignmentResponseModel", "HistoryAlignmentsResponseModel", "HistoryItemResponse", @@ -4840,6 +5064,7 @@ def __dir__(): "LanguageAddedResponse", "LanguageDetectionToolConfig", "LanguageDetectionToolResultModel", + "LanguageDetectionToolResultModelStatus", "LanguagePresetInput", "LanguagePresetOutput", "LanguagePresetTranslation", @@ -4847,15 +5072,22 @@ def __dir__(): "LibraryVoiceResponse", "LibraryVoiceResponseModelCategory", "ListAssetsParams", + "ListAssetsParamsSmbToolType", "ListCalendarEventsParams", + "ListCalendarEventsParamsSmbToolType", "ListClientsParams", + "ListClientsParamsSmbToolType", "ListMcpToolsResponseModel", "ListProductsParams", + "ListProductsParamsSmbToolType", "ListRentalServicesParams", + "ListRentalServicesParamsSmbToolType", "ListResponseAgentBranchSummary", "ListResponseMeta", "ListServicesParams", + "ListServicesParamsSmbToolType", "ListStaffParams", + "ListStaffParamsSmbToolType", "ListWhatsAppAccountsResponse", "LiteralJsonSchemaProperty", "LiteralJsonSchemaPropertyConstantValue", @@ -4929,13 +5161,16 @@ def __dir__(): "MusicSeparateStemsRequestStemVariationId", "MusicUploadResponse", "NoCoachingSettings", + "NoCoachingSettingsType", "NonStreamingOutputFormats", "NormalizedAlignment", "NotFoundError", "ObjectJsonSchemaPropertyInput", "ObjectJsonSchemaPropertyInputPropertiesValue", + "ObjectJsonSchemaPropertyInputType", "ObjectJsonSchemaPropertyOutput", "ObjectJsonSchemaPropertyOutputPropertiesValue", + "ObjectJsonSchemaPropertyOutputType", "ObjectOverrideInput", "ObjectOverrideInputPropertiesValue", "ObjectOverrideOutput", @@ -4949,9 +5184,11 @@ def __dir__(): "PatchWorkspaceWebhookResponseModel", "PdfExportOptions", "PendingCancellationResponseModel", + "PendingCancellationResponseModelKind", "PendingClipTask", "PendingClipTaskType", "PendingSubscriptionSwitchResponseModel", + "PendingSubscriptionSwitchResponseModelKind", "PendingSubscriptionSwitchResponseModelNextTier", "PermissionType", "PhoneNumberAgentInfo", @@ -4970,7 +5207,9 @@ def __dir__(): "PhoneNumberTransferTransferDestination_SipUri", "PhoneNumberTransferTransferDestination_SipUriDynamicVariable", "PlayDtmfResultErrorModel", + "PlayDtmfResultErrorModelStatus", "PlayDtmfResultSuccessModel", + "PlayDtmfResultSuccessModelStatus", "PlayDtmfToolConfig", "PodcastBulletinMode", "PodcastBulletinModeData", @@ -4978,13 +5217,16 @@ def __dir__(): "PodcastConversationModeData", "PodcastProjectResponseModel", "PodcastTextSource", + "PodcastTextSourceType", "PodcastUrlSource", + "PodcastUrlSourceType", "PositionInput", "PositionOutput", "PostAgentAvatarResponseModel", "PostDialDigitsDynamicVariable", "PostDialDigitsStatic", "PostWorkspaceSecretResponseModel", + "PostWorkspaceSecretResponseModelType", "PreviewAudioDbModel", "PrivacyConfigInput", "PrivacyConfigOutput", @@ -5010,6 +5252,7 @@ def __dir__(): "ProjectExternalAudioResponseModelSourceContext_Sfx", "ProjectExternalAudioResponseModelSourceContext_Song", "ProjectImageResponseModel", + "ProjectImageResponseModelSource", "ProjectMutedTracksResponseModel", "ProjectResponse", "ProjectResponseModelAccessLevel", @@ -5071,6 +5314,7 @@ def __dir__(): "PromptAgentApiModelWorkflowOverrideOutputToolsItem_Webhook", "PromptAgentDbModel", "PromptEvaluationCriteria", + "PromptEvaluationCriteriaType", "PromptInjectionGuardrail", "PronunciationDictionariesCreateFromFileRequestWorkspaceAccess", "PronunciationDictionariesListRequestSort", @@ -5128,6 +5372,7 @@ def __dir__(): "ResourceMetadataResponseModel", "ResourceMetadataResponseModelAnonymousAccessLevelOverride", "ResponseFilter", + "ResponseFilterContentType", "ResponseFilterMode", "ResponseUnitTestModel", "ResponseUnitTestModelDynamicVariablesValue", @@ -5143,9 +5388,13 @@ def __dir__(): "SampleConfigDbModelParentType", "SaveVoicePreviewRequest", "SayNodeLiteralMessageInput", + "SayNodeLiteralMessageInputType", "SayNodeLiteralMessageOutput", + "SayNodeLiteralMessageOutputType", "SayNodePromptMessageInput", + "SayNodePromptMessageInputType", "SayNodePromptMessageOutput", + "SayNodePromptMessageOutputType", "ScribeAuthErrorPayload", "ScribeChunkSizeExceededErrorPayload", "ScribeErrorPayload", @@ -5160,6 +5409,7 @@ def __dir__(): "ScribeTranscriberErrorPayload", "ScribeUnacceptedTermsErrorPayload", "SearchClientsParams", + "SearchClientsParamsSmbToolType", "SeatType", "SecretDependencyType", "SectionSource", @@ -5197,6 +5447,7 @@ def __dir__(): "SipUriTransferDestination", "SkipTurnToolConfig", "SkipTurnToolResponseModel", + "SkipTurnToolResponseModelStatus", "SoftTimeoutConfig", "SoftTimeoutConfigOverride", "SoftTimeoutConfigOverrideConfig", @@ -5265,6 +5516,7 @@ def __dir__(): "SystemToolConfigInputParams_TransferToAgent", "SystemToolConfigInputParams_TransferToNumber", "SystemToolConfigInputParams_VoicemailDetection", + "SystemToolConfigInputType", "SystemToolConfigOutput", "SystemToolConfigOutputParams", "SystemToolConfigOutputParams_AgentPromptChange", @@ -5279,6 +5531,7 @@ def __dir__(): "SystemToolConfigOutputParams_TransferToAgent", "SystemToolConfigOutputParams_TransferToNumber", "SystemToolConfigOutputParams_VoicemailDetection", + "SystemToolConfigOutputType", "TelephonyCallConfig", "TelephonyProvider", "TestConditionRationaleCommonModel", @@ -5290,6 +5543,7 @@ def __dir__(): "TestRunMetadataTestType", "TestRunStatus", "TestToolResultModel", + "TestToolResultModelStatus", "TestType", "TestsFeatureUsageCommonModel", "TextNormalisationType", @@ -5342,13 +5596,18 @@ def __dir__(): "TransferBranchInfoTrafficSplit", "TransferToAgentToolConfig", "TransferToAgentToolResultErrorModel", + "TransferToAgentToolResultErrorModelStatus", "TransferToAgentToolResultSuccessModel", "TransferToAgentToolResultSuccessModelBranchInfo", "TransferToAgentToolResultSuccessModelBranchInfo_DefaultingToMain", "TransferToAgentToolResultSuccessModelBranchInfo_TrafficSplit", + "TransferToAgentToolResultSuccessModelStatus", "TransferToNumberResultErrorModel", + "TransferToNumberResultErrorModelStatus", "TransferToNumberResultSipSuccessModel", + "TransferToNumberResultSipSuccessModelStatus", "TransferToNumberResultTwilioSuccessModel", + "TransferToNumberResultTwilioSuccessModelStatus", "TransferToNumberToolConfigInput", "TransferToNumberToolConfigOutput", "TransferTypeEnum", @@ -5389,21 +5648,28 @@ def __dir__(): "UnitTestToolCallParameterEval_Llm", "UnitTestToolCallParameterEval_Regex", "UnitTestWorkflowNodeTransitionEvaluationNodeId", + "UnitTestWorkflowNodeTransitionEvaluationNodeIdType", "UnprocessableEntityError", "UpdateAssetParams", + "UpdateAssetParamsSmbToolType", "UpdateAudioNativeProjectRequest", "UpdateCalendarEventParams", + "UpdateCalendarEventParamsSmbToolType", "UpdateChapterRequest", "UpdateClientParams", + "UpdateClientParamsSmbToolType", "UpdateProductParams", + "UpdateProductParamsSmbToolType", "UpdateProjectRequest", "UpdatePronunciationDictionariesRequest", "UpdateResponseUnitTestRequest", "UpdateResponseUnitTestRequestDynamicVariablesValue", "UpdateServiceParams", + "UpdateServiceParamsSmbToolType", "UpdateSimulationTestRequest", "UpdateSimulationTestRequestDynamicVariablesValue", "UpdateStaffParams", + "UpdateStaffParamsSmbToolType", "UpdateToolCallUnitTestRequest", "UpdateToolCallUnitTestRequestDynamicVariablesValue", "UpdateWorkspaceMemberResponseModel", @@ -5437,6 +5703,7 @@ def __dir__(): "VoiceGenerationParameterOptionResponse", "VoiceGenerationParameterResponse", "VoiceMailDetectionResultSuccessModel", + "VoiceMailDetectionResultSuccessModelStatus", "VoicePreviewResponseModel", "VoiceResponseModelCategory", "VoiceResponseModelSafetyControl", @@ -5457,6 +5724,7 @@ def __dir__(): "WebhookAuthMethodType", "WebhookEventType", "WebhookHmacSettings", + "WebhookHmacSettingsAuthType", "WebhookToolApiSchemaConfigInput", "WebhookToolApiSchemaConfigInputContentType", "WebhookToolApiSchemaConfigInputMethod", @@ -5489,6 +5757,7 @@ def __dir__(): "WhatsAppTemplateLocationParam", "WhatsAppTemplateLocationParamDetails", "WhatsAppTemplateTextParam", + "WhatsAppTemplateTextParamType", "WidgetConfig", "WidgetConfigInputAvatar", "WidgetConfigInputAvatar_Image", @@ -5636,6 +5905,7 @@ def __dir__(): "WorkspaceGroupPermission", "WorkspaceGroupResponseModel", "WorkspaceGroupResponseModelGroupUsageLimit", + "WorkspaceGroupResponseModelGroupUsageLimitOne", "WorkspaceResourceType", "WorkspaceServiceAccountListResponseModel", "WorkspaceServiceAccountResponseModel", diff --git a/src/elevenlabs/audio_isolation/raw_client.py b/src/elevenlabs/audio_isolation/raw_client.py index 881bd53d..53d0e3d2 100644 --- a/src/elevenlabs/audio_isolation/raw_client.py +++ b/src/elevenlabs/audio_isolation/raw_client.py @@ -8,12 +8,14 @@ from ..core.api_error import ApiError from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ..core.http_response import AsyncHttpResponse, HttpResponse +from ..core.parse_error import ParsingError from ..core.request_options import RequestOptions from ..core.unchecked_base_model import construct_type from ..errors.unprocessable_entity_error import UnprocessableEntityError from ..types.http_validation_error import HttpValidationError from .types.audio_isolation_convert_request_file_format import AudioIsolationConvertRequestFileFormat from .types.audio_isolation_stream_request_file_format import AudioIsolationStreamRequestFileFormat +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -93,6 +95,13 @@ def _stream() -> HttpResponse[typing.Iterator[bytes]]: raise ApiError( status_code=_response.status_code, headers=dict(_response.headers), body=_response.text ) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, + headers=dict(_response.headers), + body=_response.json(), + cause=e, + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) yield _stream() @@ -162,6 +171,13 @@ def _stream() -> HttpResponse[typing.Iterator[bytes]]: raise ApiError( status_code=_response.status_code, headers=dict(_response.headers), body=_response.text ) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, + headers=dict(_response.headers), + body=_response.json(), + cause=e, + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) yield _stream() @@ -242,6 +258,13 @@ async def _stream() -> AsyncHttpResponse[typing.AsyncIterator[bytes]]: raise ApiError( status_code=_response.status_code, headers=dict(_response.headers), body=_response.text ) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, + headers=dict(_response.headers), + body=_response.json(), + cause=e, + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) yield await _stream() @@ -312,6 +335,13 @@ async def _stream() -> AsyncHttpResponse[typing.AsyncIterator[bytes]]: raise ApiError( status_code=_response.status_code, headers=dict(_response.headers), body=_response.text ) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, + headers=dict(_response.headers), + body=_response.json(), + cause=e, + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) yield await _stream() diff --git a/src/elevenlabs/audio_native/raw_client.py b/src/elevenlabs/audio_native/raw_client.py index 4f7b7bf3..2371534b 100644 --- a/src/elevenlabs/audio_native/raw_client.py +++ b/src/elevenlabs/audio_native/raw_client.py @@ -1,5 +1,6 @@ # This file was auto-generated by Fern from our API Definition. +import json import typing from json.decoder import JSONDecodeError @@ -8,6 +9,7 @@ from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ..core.http_response import AsyncHttpResponse, HttpResponse from ..core.jsonable_encoder import jsonable_encoder +from ..core.parse_error import ParsingError from ..core.request_options import RequestOptions from ..core.unchecked_base_model import construct_type from ..errors.unprocessable_entity_error import UnprocessableEntityError @@ -16,6 +18,7 @@ from ..types.get_audio_native_project_settings_response_model import GetAudioNativeProjectSettingsResponseModel from ..types.http_validation_error import HttpValidationError from .types.audio_native_create_request_apply_text_normalization import AudioNativeCreateRequestApplyTextNormalization +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -120,7 +123,7 @@ def create( "model_id": model_id, "auto_convert": auto_convert, "apply_text_normalization": apply_text_normalization, - "pronunciation_dictionary_locators": pronunciation_dictionary_locators, + "pronunciation_dictionary_locators": json.dumps(jsonable_encoder(pronunciation_dictionary_locators)), }, files={ **({"file": file} if file is not None else {}), @@ -153,6 +156,10 @@ def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def get_settings( @@ -203,6 +210,10 @@ def get_settings( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def update( @@ -277,6 +288,10 @@ def update( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def update_content_from_url( @@ -347,6 +362,10 @@ def update_content_from_url( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -449,7 +468,7 @@ async def create( "model_id": model_id, "auto_convert": auto_convert, "apply_text_normalization": apply_text_normalization, - "pronunciation_dictionary_locators": pronunciation_dictionary_locators, + "pronunciation_dictionary_locators": json.dumps(jsonable_encoder(pronunciation_dictionary_locators)), }, files={ **({"file": file} if file is not None else {}), @@ -482,6 +501,10 @@ async def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def get_settings( @@ -532,6 +555,10 @@ async def get_settings( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def update( @@ -606,6 +633,10 @@ async def update( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def update_content_from_url( @@ -676,4 +707,8 @@ async def update_content_from_url( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/base_client.py b/src/elevenlabs/base_client.py index c52d4c7d..12e4823a 100644 --- a/src/elevenlabs/base_client.py +++ b/src/elevenlabs/base_client.py @@ -6,6 +6,7 @@ import httpx from .core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .core.logging import LogConfig, Logger from .core.request_options import RequestOptions from .environment import ElevenLabsEnvironment from .raw_base_client import AsyncRawBaseElevenLabs, RawBaseElevenLabs @@ -55,7 +56,7 @@ class BaseElevenLabs: - api_key : typing.Optional[str] + api_key : str headers : typing.Optional[typing.Dict[str, str]] Additional headers to send with every request. @@ -68,6 +69,9 @@ class BaseElevenLabs: httpx_client : typing.Optional[httpx.Client] The httpx client to use for making requests, a preconfigured client is used by default, however this is useful should you want to pass in any custom httpx configuration. + logging : typing.Optional[typing.Union[LogConfig, Logger]] + Configure logging for the SDK. Accepts a LogConfig dict with 'level' (debug/info/warn/error), 'logger' (custom logger implementation), and 'silent' (boolean, defaults to True) fields. You can also pass a pre-configured Logger instance. + Examples -------- from elevenlabs import ElevenLabs @@ -82,11 +86,12 @@ def __init__( *, base_url: typing.Optional[str] = None, environment: ElevenLabsEnvironment = ElevenLabsEnvironment.PRODUCTION, - api_key: typing.Optional[str] = None, + api_key: str, headers: typing.Optional[typing.Dict[str, str]] = None, timeout: typing.Optional[float] = None, follow_redirects: typing.Optional[bool] = True, httpx_client: typing.Optional[httpx.Client] = None, + logging: typing.Optional[typing.Union[LogConfig, Logger]] = None, ): _defaulted_timeout = ( timeout if timeout is not None else 240 if httpx_client is None else httpx_client.timeout.read @@ -101,6 +106,7 @@ def __init__( if follow_redirects is not None else httpx.Client(timeout=_defaulted_timeout), timeout=_defaulted_timeout, + logging=logging, ) self._raw_client = RawBaseElevenLabs(client_wrapper=self._client_wrapper) self._history: typing.Optional[HistoryClient] = None @@ -409,7 +415,7 @@ class AsyncBaseElevenLabs: - api_key : typing.Optional[str] + api_key : str headers : typing.Optional[typing.Dict[str, str]] Additional headers to send with every request. @@ -422,6 +428,9 @@ class AsyncBaseElevenLabs: httpx_client : typing.Optional[httpx.AsyncClient] The httpx client to use for making requests, a preconfigured client is used by default, however this is useful should you want to pass in any custom httpx configuration. + logging : typing.Optional[typing.Union[LogConfig, Logger]] + Configure logging for the SDK. Accepts a LogConfig dict with 'level' (debug/info/warn/error), 'logger' (custom logger implementation), and 'silent' (boolean, defaults to True) fields. You can also pass a pre-configured Logger instance. + Examples -------- from elevenlabs import AsyncElevenLabs @@ -436,11 +445,12 @@ def __init__( *, base_url: typing.Optional[str] = None, environment: ElevenLabsEnvironment = ElevenLabsEnvironment.PRODUCTION, - api_key: typing.Optional[str] = None, + api_key: str, headers: typing.Optional[typing.Dict[str, str]] = None, timeout: typing.Optional[float] = None, follow_redirects: typing.Optional[bool] = True, httpx_client: typing.Optional[httpx.AsyncClient] = None, + logging: typing.Optional[typing.Union[LogConfig, Logger]] = None, ): _defaulted_timeout = ( timeout if timeout is not None else 240 if httpx_client is None else httpx_client.timeout.read @@ -455,6 +465,7 @@ def __init__( if follow_redirects is not None else httpx.AsyncClient(timeout=_defaulted_timeout), timeout=_defaulted_timeout, + logging=logging, ) self._raw_client = AsyncRawBaseElevenLabs(client_wrapper=self._client_wrapper) self._history: typing.Optional[AsyncHistoryClient] = None diff --git a/src/elevenlabs/conversational_ai/__init__.py b/src/elevenlabs/conversational_ai/__init__.py index 616b110b..83b755c2 100644 --- a/src/elevenlabs/conversational_ai/__init__.py +++ b/src/elevenlabs/conversational_ai/__init__.py @@ -48,6 +48,7 @@ PhoneNumbersUpdateResponse_SipTrunk, PhoneNumbersUpdateResponse_Twilio, ) + from .secrets import PatchWorkspaceSecretRequestType, PostWorkspaceSecretRequestType from .tests import ( TestsCreateRequestBody, TestsCreateRequestBody_Llm, @@ -85,6 +86,7 @@ "KnowledgeBaseGetOrCreateRagIndexesResponseValue_Failure": ".knowledge_base", "KnowledgeBaseGetOrCreateRagIndexesResponseValue_Success": ".knowledge_base", "McpServerConfigUpdateRequestModelRequestHeadersValue": ".mcp_servers", + "PatchWorkspaceSecretRequestType": ".secrets", "PhoneNumbersCreateRequestBody": ".phone_numbers", "PhoneNumbersCreateRequestBody_SipTrunk": ".phone_numbers", "PhoneNumbersCreateRequestBody_Twilio": ".phone_numbers", @@ -97,6 +99,7 @@ "PhoneNumbersUpdateResponse": ".phone_numbers", "PhoneNumbersUpdateResponse_SipTrunk": ".phone_numbers", "PhoneNumbersUpdateResponse_Twilio": ".phone_numbers", + "PostWorkspaceSecretRequestType": ".secrets", "TestsCreateRequestBody": ".tests", "TestsCreateRequestBody_Llm": ".tests", "TestsCreateRequestBody_Simulation": ".tests", @@ -168,6 +171,7 @@ def __dir__(): "KnowledgeBaseGetOrCreateRagIndexesResponseValue_Failure", "KnowledgeBaseGetOrCreateRagIndexesResponseValue_Success", "McpServerConfigUpdateRequestModelRequestHeadersValue", + "PatchWorkspaceSecretRequestType", "PhoneNumbersCreateRequestBody", "PhoneNumbersCreateRequestBody_SipTrunk", "PhoneNumbersCreateRequestBody_Twilio", @@ -180,6 +184,7 @@ def __dir__(): "PhoneNumbersUpdateResponse", "PhoneNumbersUpdateResponse_SipTrunk", "PhoneNumbersUpdateResponse_Twilio", + "PostWorkspaceSecretRequestType", "TestsCreateRequestBody", "TestsCreateRequestBody_Llm", "TestsCreateRequestBody_Simulation", diff --git a/src/elevenlabs/conversational_ai/agents/branches/raw_client.py b/src/elevenlabs/conversational_ai/agents/branches/raw_client.py index e32c8bba..679d3984 100644 --- a/src/elevenlabs/conversational_ai/agents/branches/raw_client.py +++ b/src/elevenlabs/conversational_ai/agents/branches/raw_client.py @@ -7,6 +7,7 @@ from ....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ....core.http_response import AsyncHttpResponse, HttpResponse from ....core.jsonable_encoder import jsonable_encoder +from ....core.parse_error import ParsingError from ....core.request_options import RequestOptions from ....core.serialization import convert_and_respect_annotation_metadata from ....core.unchecked_base_model import construct_type @@ -17,6 +18,7 @@ from ....types.create_agent_branch_response_model import CreateAgentBranchResponseModel from ....types.http_validation_error import HttpValidationError from ....types.list_response_agent_branch_summary import ListResponseAgentBranchSummary +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -89,6 +91,10 @@ def list( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def create( @@ -180,6 +186,10 @@ def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def get( @@ -233,6 +243,10 @@ def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def update( @@ -311,6 +325,10 @@ def update( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def merge( @@ -388,6 +406,10 @@ def merge( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -458,6 +480,10 @@ async def list( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def create( @@ -549,6 +575,10 @@ async def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def get( @@ -602,6 +632,10 @@ async def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def update( @@ -680,6 +714,10 @@ async def update( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def merge( @@ -757,4 +795,8 @@ async def merge( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/conversational_ai/agents/deployments/client.py b/src/elevenlabs/conversational_ai/agents/deployments/client.py index 5fa838f2..fee756d2 100644 --- a/src/elevenlabs/conversational_ai/agents/deployments/client.py +++ b/src/elevenlabs/conversational_ai/agents/deployments/client.py @@ -72,6 +72,7 @@ def create( AgentDeploymentRequestItem( branch_id="agtbrch_8901k4t9z5defmb8vh3e9361y7nj", deployment_strategy=AgentDeploymentPercentageStrategy( + type="percentage", traffic_percentage=0.5, ), ) @@ -150,6 +151,7 @@ async def main() -> None: AgentDeploymentRequestItem( branch_id="agtbrch_8901k4t9z5defmb8vh3e9361y7nj", deployment_strategy=AgentDeploymentPercentageStrategy( + type="percentage", traffic_percentage=0.5, ), ) diff --git a/src/elevenlabs/conversational_ai/agents/deployments/raw_client.py b/src/elevenlabs/conversational_ai/agents/deployments/raw_client.py index be8f0677..a60e5fdc 100644 --- a/src/elevenlabs/conversational_ai/agents/deployments/raw_client.py +++ b/src/elevenlabs/conversational_ai/agents/deployments/raw_client.py @@ -7,6 +7,7 @@ from ....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ....core.http_response import AsyncHttpResponse, HttpResponse from ....core.jsonable_encoder import jsonable_encoder +from ....core.parse_error import ParsingError from ....core.request_options import RequestOptions from ....core.serialization import convert_and_respect_annotation_metadata from ....core.unchecked_base_model import construct_type @@ -14,6 +15,7 @@ from ....types.agent_deployment_request import AgentDeploymentRequest from ....types.agent_deployment_response import AgentDeploymentResponse from ....types.http_validation_error import HttpValidationError +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -87,6 +89,10 @@ def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -158,4 +164,8 @@ async def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/conversational_ai/agents/drafts/raw_client.py b/src/elevenlabs/conversational_ai/agents/drafts/raw_client.py index 1e3b2390..434c8be8 100644 --- a/src/elevenlabs/conversational_ai/agents/drafts/raw_client.py +++ b/src/elevenlabs/conversational_ai/agents/drafts/raw_client.py @@ -7,12 +7,14 @@ from ....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ....core.http_response import AsyncHttpResponse, HttpResponse from ....core.jsonable_encoder import jsonable_encoder +from ....core.parse_error import ParsingError from ....core.request_options import RequestOptions from ....core.serialization import convert_and_respect_annotation_metadata from ....core.unchecked_base_model import construct_type from ....errors.unprocessable_entity_error import UnprocessableEntityError from ....types.agent_workflow_request_model import AgentWorkflowRequestModel from ....types.http_validation_error import HttpValidationError +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -115,6 +117,10 @@ def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def delete( @@ -173,6 +179,10 @@ def delete( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -273,6 +283,10 @@ async def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def delete( @@ -331,4 +345,8 @@ async def delete( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/conversational_ai/agents/knowledge_base/raw_client.py b/src/elevenlabs/conversational_ai/agents/knowledge_base/raw_client.py index f7300912..42c265e1 100644 --- a/src/elevenlabs/conversational_ai/agents/knowledge_base/raw_client.py +++ b/src/elevenlabs/conversational_ai/agents/knowledge_base/raw_client.py @@ -7,11 +7,13 @@ from ....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ....core.http_response import AsyncHttpResponse, HttpResponse from ....core.jsonable_encoder import jsonable_encoder +from ....core.parse_error import ParsingError from ....core.request_options import RequestOptions from ....core.unchecked_base_model import construct_type from ....errors.unprocessable_entity_error import UnprocessableEntityError from ....types.get_agent_knowledgebase_size_response_model import GetAgentKnowledgebaseSizeResponseModel from ....types.http_validation_error import HttpValidationError +from pydantic import ValidationError class RawKnowledgeBaseClient: @@ -65,6 +67,10 @@ def size( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -119,4 +125,8 @@ async def size( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/conversational_ai/agents/link/raw_client.py b/src/elevenlabs/conversational_ai/agents/link/raw_client.py index 39581457..a65dac96 100644 --- a/src/elevenlabs/conversational_ai/agents/link/raw_client.py +++ b/src/elevenlabs/conversational_ai/agents/link/raw_client.py @@ -7,11 +7,13 @@ from ....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ....core.http_response import AsyncHttpResponse, HttpResponse from ....core.jsonable_encoder import jsonable_encoder +from ....core.parse_error import ParsingError from ....core.request_options import RequestOptions from ....core.unchecked_base_model import construct_type from ....errors.unprocessable_entity_error import UnprocessableEntityError from ....types.get_agent_link_response_model import GetAgentLinkResponseModel from ....types.http_validation_error import HttpValidationError +from pydantic import ValidationError class RawLinkClient: @@ -66,6 +68,10 @@ def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -121,4 +127,8 @@ async def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/conversational_ai/agents/llm_usage/raw_client.py b/src/elevenlabs/conversational_ai/agents/llm_usage/raw_client.py index 92340ab8..7fc5cb64 100644 --- a/src/elevenlabs/conversational_ai/agents/llm_usage/raw_client.py +++ b/src/elevenlabs/conversational_ai/agents/llm_usage/raw_client.py @@ -7,11 +7,13 @@ from ....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ....core.http_response import AsyncHttpResponse, HttpResponse from ....core.jsonable_encoder import jsonable_encoder +from ....core.parse_error import ParsingError from ....core.request_options import RequestOptions from ....core.unchecked_base_model import construct_type from ....errors.unprocessable_entity_error import UnprocessableEntityError from ....types.http_validation_error import HttpValidationError from ....types.llm_usage_calculator_response_model import LlmUsageCalculatorResponseModel +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -92,6 +94,10 @@ def calculate( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -170,4 +176,8 @@ async def calculate( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/conversational_ai/agents/raw_client.py b/src/elevenlabs/conversational_ai/agents/raw_client.py index 02a6a8ba..1f1bd167 100644 --- a/src/elevenlabs/conversational_ai/agents/raw_client.py +++ b/src/elevenlabs/conversational_ai/agents/raw_client.py @@ -7,6 +7,7 @@ from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse from ...core.jsonable_encoder import jsonable_encoder +from ...core.parse_error import ParsingError from ...core.request_options import RequestOptions from ...core.serialization import convert_and_respect_annotation_metadata from ...core.unchecked_base_model import construct_type @@ -26,6 +27,7 @@ from ...types.prompt_evaluation_criteria import PromptEvaluationCriteria from ...types.single_test_run_request_model import SingleTestRunRequestModel from ...types.sort_direction import SortDirection +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -126,6 +128,10 @@ def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def get( @@ -191,6 +197,10 @@ def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def delete(self, agent_id: str, *, request_options: typing.Optional[RequestOptions] = None) -> HttpResponse[None]: @@ -231,6 +241,10 @@ def delete(self, agent_id: str, *, request_options: typing.Optional[RequestOptio _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def update( @@ -338,6 +352,10 @@ def update( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def list( @@ -424,6 +442,10 @@ def list( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def duplicate( @@ -488,6 +510,10 @@ def duplicate( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def simulate_conversation( @@ -568,6 +594,10 @@ def simulate_conversation( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def simulate_conversation_stream( @@ -640,6 +670,10 @@ def simulate_conversation_stream( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def run_tests( @@ -720,6 +754,10 @@ def run_tests( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -818,6 +856,10 @@ async def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def get( @@ -883,6 +925,10 @@ async def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def delete( @@ -925,6 +971,10 @@ async def delete( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def update( @@ -1032,6 +1082,10 @@ async def update( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def list( @@ -1118,6 +1172,10 @@ async def list( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def duplicate( @@ -1182,6 +1240,10 @@ async def duplicate( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def simulate_conversation( @@ -1262,6 +1324,10 @@ async def simulate_conversation( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def simulate_conversation_stream( @@ -1334,6 +1400,10 @@ async def simulate_conversation_stream( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def run_tests( @@ -1414,4 +1484,8 @@ async def run_tests( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/conversational_ai/agents/summaries/raw_client.py b/src/elevenlabs/conversational_ai/agents/summaries/raw_client.py index 6a111433..b47f1f3d 100644 --- a/src/elevenlabs/conversational_ai/agents/summaries/raw_client.py +++ b/src/elevenlabs/conversational_ai/agents/summaries/raw_client.py @@ -6,11 +6,13 @@ from ....core.api_error import ApiError from ....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ....core.http_response import AsyncHttpResponse, HttpResponse +from ....core.parse_error import ParsingError from ....core.request_options import RequestOptions from ....core.unchecked_base_model import construct_type from ....errors.unprocessable_entity_error import UnprocessableEntityError from ....types.http_validation_error import HttpValidationError from .types.summaries_get_response_value import SummariesGetResponseValue +from pydantic import ValidationError class RawSummariesClient: @@ -71,6 +73,10 @@ def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -132,4 +138,8 @@ async def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/conversational_ai/agents/widget/avatar/raw_client.py b/src/elevenlabs/conversational_ai/agents/widget/avatar/raw_client.py index 3e27fd9a..84ea0c6e 100644 --- a/src/elevenlabs/conversational_ai/agents/widget/avatar/raw_client.py +++ b/src/elevenlabs/conversational_ai/agents/widget/avatar/raw_client.py @@ -8,11 +8,13 @@ from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.parse_error import ParsingError from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from .....errors.unprocessable_entity_error import UnprocessableEntityError from .....types.http_validation_error import HttpValidationError from .....types.post_agent_avatar_response_model import PostAgentAvatarResponseModel +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -79,6 +81,10 @@ def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -143,4 +149,8 @@ async def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/conversational_ai/agents/widget/raw_client.py b/src/elevenlabs/conversational_ai/agents/widget/raw_client.py index c39907a6..f8e7ba70 100644 --- a/src/elevenlabs/conversational_ai/agents/widget/raw_client.py +++ b/src/elevenlabs/conversational_ai/agents/widget/raw_client.py @@ -7,11 +7,13 @@ from ....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ....core.http_response import AsyncHttpResponse, HttpResponse from ....core.jsonable_encoder import jsonable_encoder +from ....core.parse_error import ParsingError from ....core.request_options import RequestOptions from ....core.unchecked_base_model import construct_type from ....errors.unprocessable_entity_error import UnprocessableEntityError from ....types.get_agent_embed_response_model import GetAgentEmbedResponseModel from ....types.http_validation_error import HttpValidationError +from pydantic import ValidationError class RawWidgetClient: @@ -76,6 +78,10 @@ def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -141,4 +147,8 @@ async def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/conversational_ai/analytics/live_count/raw_client.py b/src/elevenlabs/conversational_ai/analytics/live_count/raw_client.py index 16eecab2..ab9f8e31 100644 --- a/src/elevenlabs/conversational_ai/analytics/live_count/raw_client.py +++ b/src/elevenlabs/conversational_ai/analytics/live_count/raw_client.py @@ -6,11 +6,13 @@ from ....core.api_error import ApiError from ....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ....core.http_response import AsyncHttpResponse, HttpResponse +from ....core.parse_error import ParsingError from ....core.request_options import RequestOptions from ....core.unchecked_base_model import construct_type from ....errors.unprocessable_entity_error import UnprocessableEntityError from ....types.get_live_count_response import GetLiveCountResponse from ....types.http_validation_error import HttpValidationError +from pydantic import ValidationError class RawLiveCountClient: @@ -68,6 +70,10 @@ def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -126,4 +132,8 @@ async def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/conversational_ai/batch_calls/raw_client.py b/src/elevenlabs/conversational_ai/batch_calls/raw_client.py index 3ecb1af1..03bd099b 100644 --- a/src/elevenlabs/conversational_ai/batch_calls/raw_client.py +++ b/src/elevenlabs/conversational_ai/batch_calls/raw_client.py @@ -7,6 +7,7 @@ from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse from ...core.jsonable_encoder import jsonable_encoder +from ...core.parse_error import ParsingError from ...core.request_options import RequestOptions from ...core.serialization import convert_and_respect_annotation_metadata from ...core.unchecked_base_model import construct_type @@ -18,6 +19,7 @@ from ...types.outbound_call_recipient import OutboundCallRecipient from ...types.telephony_call_config import TelephonyCallConfig from ...types.workspace_batch_calls_response import WorkspaceBatchCallsResponse +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -123,6 +125,10 @@ def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def list( @@ -182,6 +188,10 @@ def list( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def get( @@ -231,6 +241,10 @@ def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def delete(self, batch_id: str, *, request_options: typing.Optional[RequestOptions] = None) -> HttpResponse[None]: @@ -270,6 +284,10 @@ def delete(self, batch_id: str, *, request_options: typing.Optional[RequestOptio _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def cancel( @@ -319,6 +337,10 @@ def cancel( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def retry( @@ -368,6 +390,10 @@ def retry( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -471,6 +497,10 @@ async def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def list( @@ -530,6 +560,10 @@ async def list( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def get( @@ -579,6 +613,10 @@ async def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def delete( @@ -620,6 +658,10 @@ async def delete( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def cancel( @@ -669,6 +711,10 @@ async def cancel( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def retry( @@ -718,4 +764,8 @@ async def retry( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/conversational_ai/conversations/audio/raw_client.py b/src/elevenlabs/conversational_ai/conversations/audio/raw_client.py index f5b7db70..b3668bfd 100644 --- a/src/elevenlabs/conversational_ai/conversations/audio/raw_client.py +++ b/src/elevenlabs/conversational_ai/conversations/audio/raw_client.py @@ -8,10 +8,12 @@ from ....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ....core.http_response import AsyncHttpResponse, HttpResponse from ....core.jsonable_encoder import jsonable_encoder +from ....core.parse_error import ParsingError from ....core.request_options import RequestOptions from ....core.unchecked_base_model import construct_type from ....errors.unprocessable_entity_error import UnprocessableEntityError from ....types.http_validation_error import HttpValidationError +from pydantic import ValidationError class RawAudioClient: @@ -68,6 +70,13 @@ def _stream() -> HttpResponse[typing.Iterator[bytes]]: raise ApiError( status_code=_response.status_code, headers=dict(_response.headers), body=_response.text ) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, + headers=dict(_response.headers), + body=_response.json(), + cause=e, + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) yield _stream() @@ -128,6 +137,13 @@ async def _stream() -> AsyncHttpResponse[typing.AsyncIterator[bytes]]: raise ApiError( status_code=_response.status_code, headers=dict(_response.headers), body=_response.text ) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, + headers=dict(_response.headers), + body=_response.json(), + cause=e, + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) yield await _stream() diff --git a/src/elevenlabs/conversational_ai/conversations/client.py b/src/elevenlabs/conversational_ai/conversations/client.py index 6dc0c41a..05c133c4 100644 --- a/src/elevenlabs/conversational_ai/conversations/client.py +++ b/src/elevenlabs/conversational_ai/conversations/client.py @@ -48,7 +48,6 @@ def get_signed_url( agent_id: str, include_conversation_id: typing.Optional[bool] = None, branch_id: typing.Optional[str] = None, - environment: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, ) -> ConversationSignedUrlResponseModel: """ @@ -65,9 +64,6 @@ def get_signed_url( branch_id : typing.Optional[str] The ID of the branch to use - environment : typing.Optional[str] - The environment to use. Defaults to "production" on the server. - request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -93,7 +89,6 @@ def get_signed_url( agent_id=agent_id, include_conversation_id=include_conversation_id, branch_id=branch_id, - environment=environment, request_options=request_options, ) return _response.data @@ -104,7 +99,6 @@ def get_webrtc_token( agent_id: str, participant_name: typing.Optional[str] = None, branch_id: typing.Optional[str] = None, - environment: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, ) -> TokenResponseModel: """ @@ -121,9 +115,6 @@ def get_webrtc_token( branch_id : typing.Optional[str] The ID of the branch to use - environment : typing.Optional[str] - The environment to use. Defaults to "production" on the server. - request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -146,7 +137,7 @@ def get_webrtc_token( ) """ _response = self._raw_client.get_webrtc_token( - agent_id=agent_id, participant_name=participant_name, branch_id=branch_id, environment=environment, request_options=request_options + agent_id=agent_id, participant_name=participant_name, branch_id=branch_id, request_options=request_options ) return _response.data @@ -167,6 +158,8 @@ def list( evaluation_params: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None, data_collection_params: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None, tool_names: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None, + tool_names_successful: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None, + tool_names_errored: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None, main_languages: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None, page_size: typing.Optional[int] = None, summary_mode: typing.Optional[ConversationsListRequestSummaryMode] = None, @@ -222,6 +215,12 @@ def list( tool_names : typing.Optional[typing.Union[str, typing.Sequence[str]]] Filter conversations by tool names used during the call. + tool_names_successful : typing.Optional[typing.Union[str, typing.Sequence[str]]] + Filter conversations by tool names that had successful calls. + + tool_names_errored : typing.Optional[typing.Union[str, typing.Sequence[str]]] + Filter conversations by tool names that had errored calls. + main_languages : typing.Optional[typing.Union[str, typing.Sequence[str]]] Filter conversations by detected main language (language code). @@ -288,6 +287,8 @@ def list( evaluation_params=evaluation_params, data_collection_params=data_collection_params, tool_names=tool_names, + tool_names_successful=tool_names_successful, + tool_names_errored=tool_names_errored, main_languages=main_languages, page_size=page_size, summary_mode=summary_mode, @@ -421,7 +422,6 @@ async def get_signed_url( agent_id: str, include_conversation_id: typing.Optional[bool] = None, branch_id: typing.Optional[str] = None, - environment: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, ) -> ConversationSignedUrlResponseModel: """ @@ -438,9 +438,6 @@ async def get_signed_url( branch_id : typing.Optional[str] The ID of the branch to use - environment : typing.Optional[str] - The environment to use. Defaults to "production" on the server. - request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -474,7 +471,6 @@ async def main() -> None: agent_id=agent_id, include_conversation_id=include_conversation_id, branch_id=branch_id, - environment=environment, request_options=request_options, ) return _response.data @@ -485,7 +481,6 @@ async def get_webrtc_token( agent_id: str, participant_name: typing.Optional[str] = None, branch_id: typing.Optional[str] = None, - environment: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, ) -> TokenResponseModel: """ @@ -502,9 +497,6 @@ async def get_webrtc_token( branch_id : typing.Optional[str] The ID of the branch to use - environment : typing.Optional[str] - The environment to use. Defaults to "production" on the server. - request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -535,7 +527,7 @@ async def main() -> None: asyncio.run(main()) """ _response = await self._raw_client.get_webrtc_token( - agent_id=agent_id, participant_name=participant_name, branch_id=branch_id, environment=environment, request_options=request_options + agent_id=agent_id, participant_name=participant_name, branch_id=branch_id, request_options=request_options ) return _response.data @@ -556,6 +548,8 @@ async def list( evaluation_params: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None, data_collection_params: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None, tool_names: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None, + tool_names_successful: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None, + tool_names_errored: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None, main_languages: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None, page_size: typing.Optional[int] = None, summary_mode: typing.Optional[ConversationsListRequestSummaryMode] = None, @@ -611,6 +605,12 @@ async def list( tool_names : typing.Optional[typing.Union[str, typing.Sequence[str]]] Filter conversations by tool names used during the call. + tool_names_successful : typing.Optional[typing.Union[str, typing.Sequence[str]]] + Filter conversations by tool names that had successful calls. + + tool_names_errored : typing.Optional[typing.Union[str, typing.Sequence[str]]] + Filter conversations by tool names that had errored calls. + main_languages : typing.Optional[typing.Union[str, typing.Sequence[str]]] Filter conversations by detected main language (language code). @@ -685,6 +685,8 @@ async def main() -> None: evaluation_params=evaluation_params, data_collection_params=data_collection_params, tool_names=tool_names, + tool_names_successful=tool_names_successful, + tool_names_errored=tool_names_errored, main_languages=main_languages, page_size=page_size, summary_mode=summary_mode, diff --git a/src/elevenlabs/conversational_ai/conversations/feedback/raw_client.py b/src/elevenlabs/conversational_ai/conversations/feedback/raw_client.py index 0f8d1e8d..41d0f1be 100644 --- a/src/elevenlabs/conversational_ai/conversations/feedback/raw_client.py +++ b/src/elevenlabs/conversational_ai/conversations/feedback/raw_client.py @@ -7,11 +7,13 @@ from ....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ....core.http_response import AsyncHttpResponse, HttpResponse from ....core.jsonable_encoder import jsonable_encoder +from ....core.parse_error import ParsingError from ....core.request_options import RequestOptions from ....core.unchecked_base_model import construct_type from ....errors.unprocessable_entity_error import UnprocessableEntityError from ....types.http_validation_error import HttpValidationError from ....types.user_feedback_score import UserFeedbackScore +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -85,6 +87,10 @@ def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -156,4 +162,8 @@ async def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/conversational_ai/conversations/files/raw_client.py b/src/elevenlabs/conversational_ai/conversations/files/raw_client.py index 04665896..1d3b7e0d 100644 --- a/src/elevenlabs/conversational_ai/conversations/files/raw_client.py +++ b/src/elevenlabs/conversational_ai/conversations/files/raw_client.py @@ -8,11 +8,13 @@ from ....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ....core.http_response import AsyncHttpResponse, HttpResponse from ....core.jsonable_encoder import jsonable_encoder +from ....core.parse_error import ParsingError from ....core.request_options import RequestOptions from ....core.unchecked_base_model import construct_type from ....errors.unprocessable_entity_error import UnprocessableEntityError from ....types.conv_ai_file_upload_response_model import ConvAiFileUploadResponseModel from ....types.http_validation_error import HttpValidationError +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -78,6 +80,10 @@ def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def delete( @@ -129,6 +135,10 @@ def delete( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -192,6 +202,10 @@ async def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def delete( @@ -243,4 +257,8 @@ async def delete( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/conversational_ai/conversations/messages/client.py b/src/elevenlabs/conversational_ai/conversations/messages/client.py index 289ab9f5..4b6dc154 100644 --- a/src/elevenlabs/conversational_ai/conversations/messages/client.py +++ b/src/elevenlabs/conversational_ai/conversations/messages/client.py @@ -43,6 +43,8 @@ def text_search( evaluation_params: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None, data_collection_params: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None, tool_names: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None, + tool_names_successful: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None, + tool_names_errored: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None, main_languages: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None, page_size: typing.Optional[int] = None, summary_mode: typing.Optional[MessagesTextSearchRequestSummaryMode] = None, @@ -98,6 +100,12 @@ def text_search( tool_names : typing.Optional[typing.Union[str, typing.Sequence[str]]] Filter conversations by tool names used during the call. + tool_names_successful : typing.Optional[typing.Union[str, typing.Sequence[str]]] + Filter conversations by tool names that had successful calls. + + tool_names_errored : typing.Optional[typing.Union[str, typing.Sequence[str]]] + Filter conversations by tool names that had errored calls. + main_languages : typing.Optional[typing.Union[str, typing.Sequence[str]]] Filter conversations by detected main language (language code). @@ -164,6 +172,8 @@ def text_search( evaluation_params=evaluation_params, data_collection_params=data_collection_params, tool_names=tool_names, + tool_names_successful=tool_names_successful, + tool_names_errored=tool_names_errored, main_languages=main_languages, page_size=page_size, summary_mode=summary_mode, @@ -264,6 +274,8 @@ async def text_search( evaluation_params: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None, data_collection_params: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None, tool_names: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None, + tool_names_successful: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None, + tool_names_errored: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None, main_languages: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None, page_size: typing.Optional[int] = None, summary_mode: typing.Optional[MessagesTextSearchRequestSummaryMode] = None, @@ -319,6 +331,12 @@ async def text_search( tool_names : typing.Optional[typing.Union[str, typing.Sequence[str]]] Filter conversations by tool names used during the call. + tool_names_successful : typing.Optional[typing.Union[str, typing.Sequence[str]]] + Filter conversations by tool names that had successful calls. + + tool_names_errored : typing.Optional[typing.Union[str, typing.Sequence[str]]] + Filter conversations by tool names that had errored calls. + main_languages : typing.Optional[typing.Union[str, typing.Sequence[str]]] Filter conversations by detected main language (language code). @@ -393,6 +411,8 @@ async def main() -> None: evaluation_params=evaluation_params, data_collection_params=data_collection_params, tool_names=tool_names, + tool_names_successful=tool_names_successful, + tool_names_errored=tool_names_errored, main_languages=main_languages, page_size=page_size, summary_mode=summary_mode, diff --git a/src/elevenlabs/conversational_ai/conversations/messages/raw_client.py b/src/elevenlabs/conversational_ai/conversations/messages/raw_client.py index 1042de2a..b6d7a825 100644 --- a/src/elevenlabs/conversational_ai/conversations/messages/raw_client.py +++ b/src/elevenlabs/conversational_ai/conversations/messages/raw_client.py @@ -6,6 +6,7 @@ from ....core.api_error import ApiError from ....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ....core.http_response import AsyncHttpResponse, HttpResponse +from ....core.parse_error import ParsingError from ....core.request_options import RequestOptions from ....core.unchecked_base_model import construct_type from ....errors.unprocessable_entity_error import UnprocessableEntityError @@ -14,6 +15,7 @@ from ....types.http_validation_error import HttpValidationError from ....types.messages_search_response import MessagesSearchResponse from .types.messages_text_search_request_summary_mode import MessagesTextSearchRequestSummaryMode +from pydantic import ValidationError class RawMessagesClient: @@ -37,6 +39,8 @@ def text_search( evaluation_params: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None, data_collection_params: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None, tool_names: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None, + tool_names_successful: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None, + tool_names_errored: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None, main_languages: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None, page_size: typing.Optional[int] = None, summary_mode: typing.Optional[MessagesTextSearchRequestSummaryMode] = None, @@ -92,6 +96,12 @@ def text_search( tool_names : typing.Optional[typing.Union[str, typing.Sequence[str]]] Filter conversations by tool names used during the call. + tool_names_successful : typing.Optional[typing.Union[str, typing.Sequence[str]]] + Filter conversations by tool names that had successful calls. + + tool_names_errored : typing.Optional[typing.Union[str, typing.Sequence[str]]] + Filter conversations by tool names that had errored calls. + main_languages : typing.Optional[typing.Union[str, typing.Sequence[str]]] Filter conversations by detected main language (language code). @@ -135,6 +145,8 @@ def text_search( "evaluation_params": evaluation_params, "data_collection_params": data_collection_params, "tool_names": tool_names, + "tool_names_successful": tool_names_successful, + "tool_names_errored": tool_names_errored, "main_languages": main_languages, "page_size": page_size, "summary_mode": summary_mode, @@ -168,6 +180,10 @@ def text_search( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def search( @@ -239,6 +255,10 @@ def search( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -263,6 +283,8 @@ async def text_search( evaluation_params: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None, data_collection_params: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None, tool_names: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None, + tool_names_successful: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None, + tool_names_errored: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None, main_languages: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None, page_size: typing.Optional[int] = None, summary_mode: typing.Optional[MessagesTextSearchRequestSummaryMode] = None, @@ -318,6 +340,12 @@ async def text_search( tool_names : typing.Optional[typing.Union[str, typing.Sequence[str]]] Filter conversations by tool names used during the call. + tool_names_successful : typing.Optional[typing.Union[str, typing.Sequence[str]]] + Filter conversations by tool names that had successful calls. + + tool_names_errored : typing.Optional[typing.Union[str, typing.Sequence[str]]] + Filter conversations by tool names that had errored calls. + main_languages : typing.Optional[typing.Union[str, typing.Sequence[str]]] Filter conversations by detected main language (language code). @@ -361,6 +389,8 @@ async def text_search( "evaluation_params": evaluation_params, "data_collection_params": data_collection_params, "tool_names": tool_names, + "tool_names_successful": tool_names_successful, + "tool_names_errored": tool_names_errored, "main_languages": main_languages, "page_size": page_size, "summary_mode": summary_mode, @@ -394,6 +424,10 @@ async def text_search( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def search( @@ -465,4 +499,8 @@ async def search( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/conversational_ai/conversations/raw_client.py b/src/elevenlabs/conversational_ai/conversations/raw_client.py index b9a1be87..ad03f9f6 100644 --- a/src/elevenlabs/conversational_ai/conversations/raw_client.py +++ b/src/elevenlabs/conversational_ai/conversations/raw_client.py @@ -7,6 +7,7 @@ from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse from ...core.jsonable_encoder import jsonable_encoder +from ...core.parse_error import ParsingError from ...core.request_options import RequestOptions from ...core.unchecked_base_model import construct_type from ...errors.unprocessable_entity_error import UnprocessableEntityError @@ -18,6 +19,7 @@ from ...types.http_validation_error import HttpValidationError from ...types.token_response_model import TokenResponseModel from .types.conversations_list_request_summary_mode import ConversationsListRequestSummaryMode +from pydantic import ValidationError class RawConversationsClient: @@ -30,7 +32,6 @@ def get_signed_url( agent_id: str, include_conversation_id: typing.Optional[bool] = None, branch_id: typing.Optional[str] = None, - environment: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[ConversationSignedUrlResponseModel]: """ @@ -47,9 +48,6 @@ def get_signed_url( branch_id : typing.Optional[str] The ID of the branch to use - environment : typing.Optional[str] - The environment to use. Defaults to "production" on the server. - request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -65,7 +63,6 @@ def get_signed_url( "agent_id": agent_id, "include_conversation_id": include_conversation_id, "branch_id": branch_id, - "environment": environment, }, request_options=request_options, ) @@ -93,6 +90,10 @@ def get_signed_url( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def get_webrtc_token( @@ -101,7 +102,6 @@ def get_webrtc_token( agent_id: str, participant_name: typing.Optional[str] = None, branch_id: typing.Optional[str] = None, - environment: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[TokenResponseModel]: """ @@ -118,9 +118,6 @@ def get_webrtc_token( branch_id : typing.Optional[str] The ID of the branch to use - environment : typing.Optional[str] - The environment to use. Defaults to "production" on the server. - request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -136,7 +133,6 @@ def get_webrtc_token( "agent_id": agent_id, "participant_name": participant_name, "branch_id": branch_id, - "environment": environment, }, request_options=request_options, ) @@ -164,6 +160,10 @@ def get_webrtc_token( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def list( @@ -183,6 +183,8 @@ def list( evaluation_params: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None, data_collection_params: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None, tool_names: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None, + tool_names_successful: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None, + tool_names_errored: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None, main_languages: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None, page_size: typing.Optional[int] = None, summary_mode: typing.Optional[ConversationsListRequestSummaryMode] = None, @@ -238,6 +240,12 @@ def list( tool_names : typing.Optional[typing.Union[str, typing.Sequence[str]]] Filter conversations by tool names used during the call. + tool_names_successful : typing.Optional[typing.Union[str, typing.Sequence[str]]] + Filter conversations by tool names that had successful calls. + + tool_names_errored : typing.Optional[typing.Union[str, typing.Sequence[str]]] + Filter conversations by tool names that had errored calls. + main_languages : typing.Optional[typing.Union[str, typing.Sequence[str]]] Filter conversations by detected main language (language code). @@ -281,6 +289,8 @@ def list( "evaluation_params": evaluation_params, "data_collection_params": data_collection_params, "tool_names": tool_names, + "tool_names_successful": tool_names_successful, + "tool_names_errored": tool_names_errored, "main_languages": main_languages, "page_size": page_size, "summary_mode": summary_mode, @@ -314,6 +324,10 @@ def list( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def get( @@ -364,6 +378,10 @@ def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def delete( @@ -416,6 +434,10 @@ def delete( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -429,7 +451,6 @@ async def get_signed_url( agent_id: str, include_conversation_id: typing.Optional[bool] = None, branch_id: typing.Optional[str] = None, - environment: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[ConversationSignedUrlResponseModel]: """ @@ -446,9 +467,6 @@ async def get_signed_url( branch_id : typing.Optional[str] The ID of the branch to use - environment : typing.Optional[str] - The environment to use. Defaults to "production" on the server. - request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -464,7 +482,6 @@ async def get_signed_url( "agent_id": agent_id, "include_conversation_id": include_conversation_id, "branch_id": branch_id, - "environment": environment, }, request_options=request_options, ) @@ -492,6 +509,10 @@ async def get_signed_url( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def get_webrtc_token( @@ -500,7 +521,6 @@ async def get_webrtc_token( agent_id: str, participant_name: typing.Optional[str] = None, branch_id: typing.Optional[str] = None, - environment: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[TokenResponseModel]: """ @@ -517,9 +537,6 @@ async def get_webrtc_token( branch_id : typing.Optional[str] The ID of the branch to use - environment : typing.Optional[str] - The environment to use. Defaults to "production" on the server. - request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -535,7 +552,6 @@ async def get_webrtc_token( "agent_id": agent_id, "participant_name": participant_name, "branch_id": branch_id, - "environment": environment, }, request_options=request_options, ) @@ -563,6 +579,10 @@ async def get_webrtc_token( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def list( @@ -582,6 +602,8 @@ async def list( evaluation_params: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None, data_collection_params: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None, tool_names: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None, + tool_names_successful: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None, + tool_names_errored: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None, main_languages: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None, page_size: typing.Optional[int] = None, summary_mode: typing.Optional[ConversationsListRequestSummaryMode] = None, @@ -637,6 +659,12 @@ async def list( tool_names : typing.Optional[typing.Union[str, typing.Sequence[str]]] Filter conversations by tool names used during the call. + tool_names_successful : typing.Optional[typing.Union[str, typing.Sequence[str]]] + Filter conversations by tool names that had successful calls. + + tool_names_errored : typing.Optional[typing.Union[str, typing.Sequence[str]]] + Filter conversations by tool names that had errored calls. + main_languages : typing.Optional[typing.Union[str, typing.Sequence[str]]] Filter conversations by detected main language (language code). @@ -680,6 +708,8 @@ async def list( "evaluation_params": evaluation_params, "data_collection_params": data_collection_params, "tool_names": tool_names, + "tool_names_successful": tool_names_successful, + "tool_names_errored": tool_names_errored, "main_languages": main_languages, "page_size": page_size, "summary_mode": summary_mode, @@ -713,6 +743,10 @@ async def list( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def get( @@ -763,6 +797,10 @@ async def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def delete( @@ -815,4 +853,8 @@ async def delete( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/conversational_ai/dashboard/settings/raw_client.py b/src/elevenlabs/conversational_ai/dashboard/settings/raw_client.py index ce3f6f36..ac4c9321 100644 --- a/src/elevenlabs/conversational_ai/dashboard/settings/raw_client.py +++ b/src/elevenlabs/conversational_ai/dashboard/settings/raw_client.py @@ -6,6 +6,7 @@ from ....core.api_error import ApiError from ....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ....core.http_response import AsyncHttpResponse, HttpResponse +from ....core.parse_error import ParsingError from ....core.request_options import RequestOptions from ....core.serialization import convert_and_respect_annotation_metadata from ....core.unchecked_base_model import construct_type @@ -13,6 +14,7 @@ from ....types.get_conv_ai_dashboard_settings_response_model import GetConvAiDashboardSettingsResponseModel from ....types.http_validation_error import HttpValidationError from .types.patch_conv_ai_dashboard_settings_request_charts_item import PatchConvAiDashboardSettingsRequestChartsItem +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -67,6 +69,10 @@ def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def update( @@ -130,6 +136,10 @@ def update( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -182,6 +192,10 @@ async def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def update( @@ -245,4 +259,8 @@ async def update( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/conversational_ai/knowledge_base/document/raw_client.py b/src/elevenlabs/conversational_ai/knowledge_base/document/raw_client.py index 2035ff9a..47108a4c 100644 --- a/src/elevenlabs/conversational_ai/knowledge_base/document/raw_client.py +++ b/src/elevenlabs/conversational_ai/knowledge_base/document/raw_client.py @@ -7,12 +7,14 @@ from ....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ....core.http_response import AsyncHttpResponse, HttpResponse from ....core.jsonable_encoder import jsonable_encoder +from ....core.parse_error import ParsingError from ....core.request_options import RequestOptions from ....core.unchecked_base_model import construct_type from ....errors.unprocessable_entity_error import UnprocessableEntityError from ....types.embedding_model_enum import EmbeddingModelEnum from ....types.http_validation_error import HttpValidationError from ....types.rag_document_index_response_model import RagDocumentIndexResponseModel +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -83,6 +85,10 @@ def compute_rag_index( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -151,4 +157,8 @@ async def compute_rag_index( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/conversational_ai/knowledge_base/documents/chunk/raw_client.py b/src/elevenlabs/conversational_ai/knowledge_base/documents/chunk/raw_client.py index 4f0f6dfd..19a22853 100644 --- a/src/elevenlabs/conversational_ai/knowledge_base/documents/chunk/raw_client.py +++ b/src/elevenlabs/conversational_ai/knowledge_base/documents/chunk/raw_client.py @@ -7,11 +7,13 @@ from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.parse_error import ParsingError from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from .....errors.unprocessable_entity_error import UnprocessableEntityError from .....types.http_validation_error import HttpValidationError from .....types.knowledge_base_document_chunk_response_model import KnowledgeBaseDocumentChunkResponseModel +from pydantic import ValidationError class RawChunkClient: @@ -69,6 +71,10 @@ def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -127,4 +133,8 @@ async def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/conversational_ai/knowledge_base/documents/client.py b/src/elevenlabs/conversational_ai/knowledge_base/documents/client.py index e7be52e4..59cf8869 100644 --- a/src/elevenlabs/conversational_ai/knowledge_base/documents/client.py +++ b/src/elevenlabs/conversational_ai/knowledge_base/documents/client.py @@ -393,7 +393,7 @@ def get_agents( ) return _response.data - def get_content(self, documentation_id: str, *, request_options: typing.Optional[RequestOptions] = None) -> None: + def get_content(self, documentation_id: str, *, request_options: typing.Optional[RequestOptions] = None) -> str: """ Get the entire content of a document from the knowledge base @@ -407,7 +407,8 @@ def get_content(self, documentation_id: str, *, request_options: typing.Optional Returns ------- - None + str + Streaming document content Examples -------- @@ -417,7 +418,7 @@ def get_content(self, documentation_id: str, *, request_options: typing.Optional api_key="YOUR_API_KEY", ) client.conversational_ai.knowledge_base.documents.get_content( - documentation_id="21m00Tcm4TlvDq8ikWAM", + documentation_id="documentation_id", ) """ _response = self._raw_client.get_content(documentation_id, request_options=request_options) @@ -990,7 +991,7 @@ async def main() -> None: async def get_content( self, documentation_id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> None: + ) -> str: """ Get the entire content of a document from the knowledge base @@ -1004,7 +1005,8 @@ async def get_content( Returns ------- - None + str + Streaming document content Examples -------- @@ -1019,7 +1021,7 @@ async def get_content( async def main() -> None: await client.conversational_ai.knowledge_base.documents.get_content( - documentation_id="21m00Tcm4TlvDq8ikWAM", + documentation_id="documentation_id", ) diff --git a/src/elevenlabs/conversational_ai/knowledge_base/documents/raw_client.py b/src/elevenlabs/conversational_ai/knowledge_base/documents/raw_client.py index 50721f61..9024df93 100644 --- a/src/elevenlabs/conversational_ai/knowledge_base/documents/raw_client.py +++ b/src/elevenlabs/conversational_ai/knowledge_base/documents/raw_client.py @@ -8,6 +8,7 @@ from ....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ....core.http_response import AsyncHttpResponse, HttpResponse from ....core.jsonable_encoder import jsonable_encoder +from ....core.parse_error import ParsingError from ....core.request_options import RequestOptions from ....core.unchecked_base_model import construct_type from ....errors.unprocessable_entity_error import UnprocessableEntityError @@ -18,6 +19,7 @@ from ....types.knowledge_base_source_file_url_response_model import KnowledgeBaseSourceFileUrlResponseModel from .types.documents_get_response import DocumentsGetResponse from .types.documents_update_response import DocumentsUpdateResponse +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -95,6 +97,10 @@ def create_from_url( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def create_from_file( @@ -165,6 +171,10 @@ def create_from_file( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def create_from_text( @@ -235,6 +245,10 @@ def create_from_text( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def create_folder( @@ -300,6 +314,10 @@ def create_folder( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def get( @@ -359,6 +377,10 @@ def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def delete( @@ -421,6 +443,10 @@ def delete( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def update( @@ -481,6 +507,10 @@ def update( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def get_agents( @@ -551,11 +581,15 @@ def get_agents( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def get_content( self, documentation_id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> HttpResponse[None]: + ) -> HttpResponse[str]: """ Get the entire content of a document from the knowledge base @@ -569,7 +603,8 @@ def get_content( Returns ------- - HttpResponse[None] + HttpResponse[str] + Streaming document content """ _response = self._client_wrapper.httpx_client.request( f"v1/convai/knowledge-base/{jsonable_encoder(documentation_id)}/content", @@ -578,7 +613,7 @@ def get_content( ) try: if 200 <= _response.status_code < 300: - return HttpResponse(response=_response, data=None) + return HttpResponse(response=_response, data=_response.text) # type: ignore if _response.status_code == 422: raise UnprocessableEntityError( headers=dict(_response.headers), @@ -593,6 +628,10 @@ def get_content( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def get_source_file_url( @@ -643,6 +682,10 @@ def get_source_file_url( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def move( @@ -699,6 +742,10 @@ def move( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def bulk_move( @@ -756,6 +803,10 @@ def bulk_move( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -831,6 +882,10 @@ async def create_from_url( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def create_from_file( @@ -901,6 +956,10 @@ async def create_from_file( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def create_from_text( @@ -971,6 +1030,10 @@ async def create_from_text( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def create_folder( @@ -1036,6 +1099,10 @@ async def create_folder( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def get( @@ -1095,6 +1162,10 @@ async def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def delete( @@ -1157,6 +1228,10 @@ async def delete( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def update( @@ -1217,6 +1292,10 @@ async def update( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def get_agents( @@ -1287,11 +1366,15 @@ async def get_agents( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def get_content( self, documentation_id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[None]: + ) -> AsyncHttpResponse[str]: """ Get the entire content of a document from the knowledge base @@ -1305,7 +1388,8 @@ async def get_content( Returns ------- - AsyncHttpResponse[None] + AsyncHttpResponse[str] + Streaming document content """ _response = await self._client_wrapper.httpx_client.request( f"v1/convai/knowledge-base/{jsonable_encoder(documentation_id)}/content", @@ -1314,7 +1398,7 @@ async def get_content( ) try: if 200 <= _response.status_code < 300: - return AsyncHttpResponse(response=_response, data=None) + return AsyncHttpResponse(response=_response, data=_response.text) # type: ignore if _response.status_code == 422: raise UnprocessableEntityError( headers=dict(_response.headers), @@ -1329,6 +1413,10 @@ async def get_content( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def get_source_file_url( @@ -1379,6 +1467,10 @@ async def get_source_file_url( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def move( @@ -1435,6 +1527,10 @@ async def move( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def bulk_move( @@ -1492,4 +1588,8 @@ async def bulk_move( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/conversational_ai/knowledge_base/documents/summaries/raw_client.py b/src/elevenlabs/conversational_ai/knowledge_base/documents/summaries/raw_client.py index 33f36b17..f7bbe9ea 100644 --- a/src/elevenlabs/conversational_ai/knowledge_base/documents/summaries/raw_client.py +++ b/src/elevenlabs/conversational_ai/knowledge_base/documents/summaries/raw_client.py @@ -6,11 +6,13 @@ from .....core.api_error import ApiError from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.http_response import AsyncHttpResponse, HttpResponse +from .....core.parse_error import ParsingError from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from .....errors.unprocessable_entity_error import UnprocessableEntityError from .....types.http_validation_error import HttpValidationError from .types.summaries_get_response_value import SummariesGetResponseValue +from pydantic import ValidationError class RawSummariesClient: @@ -71,6 +73,10 @@ def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -132,4 +138,8 @@ async def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/conversational_ai/knowledge_base/raw_client.py b/src/elevenlabs/conversational_ai/knowledge_base/raw_client.py index 4b115a0d..4111947f 100644 --- a/src/elevenlabs/conversational_ai/knowledge_base/raw_client.py +++ b/src/elevenlabs/conversational_ai/knowledge_base/raw_client.py @@ -6,6 +6,7 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse +from ...core.parse_error import ParsingError from ...core.request_options import RequestOptions from ...core.serialization import convert_and_respect_annotation_metadata from ...core.unchecked_base_model import construct_type @@ -19,6 +20,7 @@ from .types.knowledge_base_get_or_create_rag_indexes_response_value import ( KnowledgeBaseGetOrCreateRagIndexesResponseValue, ) +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -129,6 +131,10 @@ def list( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def get_or_create_rag_indexes( @@ -191,6 +197,10 @@ def get_or_create_rag_indexes( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -299,6 +309,10 @@ async def list( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def get_or_create_rag_indexes( @@ -361,4 +375,8 @@ async def get_or_create_rag_indexes( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/conversational_ai/llm/raw_client.py b/src/elevenlabs/conversational_ai/llm/raw_client.py index 19d4f6ae..0b1c9ac7 100644 --- a/src/elevenlabs/conversational_ai/llm/raw_client.py +++ b/src/elevenlabs/conversational_ai/llm/raw_client.py @@ -6,11 +6,13 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse +from ...core.parse_error import ParsingError from ...core.request_options import RequestOptions from ...core.unchecked_base_model import construct_type from ...errors.unprocessable_entity_error import UnprocessableEntityError from ...types.http_validation_error import HttpValidationError from ...types.llm_list_response_model_input import LlmListResponseModelInput +from pydantic import ValidationError class RawLlmClient: @@ -62,6 +64,10 @@ def list( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -114,4 +120,8 @@ async def list( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/conversational_ai/llm_usage/raw_client.py b/src/elevenlabs/conversational_ai/llm_usage/raw_client.py index 7c234fcc..242f66f7 100644 --- a/src/elevenlabs/conversational_ai/llm_usage/raw_client.py +++ b/src/elevenlabs/conversational_ai/llm_usage/raw_client.py @@ -6,11 +6,13 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse +from ...core.parse_error import ParsingError from ...core.request_options import RequestOptions from ...core.unchecked_base_model import construct_type from ...errors.unprocessable_entity_error import UnprocessableEntityError from ...types.http_validation_error import HttpValidationError from ...types.llm_usage_calculator_response_model import LlmUsageCalculatorResponseModel +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -88,6 +90,10 @@ def calculate( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -163,4 +169,8 @@ async def calculate( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/conversational_ai/mcp_servers/approval_policy/raw_client.py b/src/elevenlabs/conversational_ai/mcp_servers/approval_policy/raw_client.py index 5eed9759..0521c583 100644 --- a/src/elevenlabs/conversational_ai/mcp_servers/approval_policy/raw_client.py +++ b/src/elevenlabs/conversational_ai/mcp_servers/approval_policy/raw_client.py @@ -7,12 +7,14 @@ from ....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ....core.http_response import AsyncHttpResponse, HttpResponse from ....core.jsonable_encoder import jsonable_encoder +from ....core.parse_error import ParsingError from ....core.request_options import RequestOptions from ....core.unchecked_base_model import construct_type from ....errors.unprocessable_entity_error import UnprocessableEntityError from ....types.http_validation_error import HttpValidationError from ....types.mcp_approval_policy import McpApprovalPolicy from ....types.mcp_server_response_model import McpServerResponseModel +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -84,6 +86,10 @@ def update( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -153,4 +159,8 @@ async def update( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/conversational_ai/mcp_servers/raw_client.py b/src/elevenlabs/conversational_ai/mcp_servers/raw_client.py index 7fdad24e..24015641 100644 --- a/src/elevenlabs/conversational_ai/mcp_servers/raw_client.py +++ b/src/elevenlabs/conversational_ai/mcp_servers/raw_client.py @@ -7,6 +7,7 @@ from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse from ...core.jsonable_encoder import jsonable_encoder +from ...core.parse_error import ParsingError from ...core.request_options import RequestOptions from ...core.serialization import convert_and_respect_annotation_metadata from ...core.unchecked_base_model import construct_type @@ -24,6 +25,7 @@ from .types.mcp_server_config_update_request_model_request_headers_value import ( McpServerConfigUpdateRequestModelRequestHeadersValue, ) +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -76,6 +78,10 @@ def list(self, *, request_options: typing.Optional[RequestOptions] = None) -> Ht _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def create( @@ -135,6 +141,10 @@ def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def get( @@ -185,6 +195,10 @@ def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def delete( @@ -237,6 +251,10 @@ def delete( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def update( @@ -356,6 +374,10 @@ def update( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -408,6 +430,10 @@ async def list( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def create( @@ -467,6 +493,10 @@ async def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def get( @@ -517,6 +547,10 @@ async def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def delete( @@ -569,6 +603,10 @@ async def delete( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def update( @@ -688,4 +726,8 @@ async def update( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/conversational_ai/mcp_servers/tool_approvals/raw_client.py b/src/elevenlabs/conversational_ai/mcp_servers/tool_approvals/raw_client.py index 44bc7b6b..833776aa 100644 --- a/src/elevenlabs/conversational_ai/mcp_servers/tool_approvals/raw_client.py +++ b/src/elevenlabs/conversational_ai/mcp_servers/tool_approvals/raw_client.py @@ -7,12 +7,14 @@ from ....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ....core.http_response import AsyncHttpResponse, HttpResponse from ....core.jsonable_encoder import jsonable_encoder +from ....core.parse_error import ParsingError from ....core.request_options import RequestOptions from ....core.unchecked_base_model import construct_type from ....errors.unprocessable_entity_error import UnprocessableEntityError from ....types.http_validation_error import HttpValidationError from ....types.mcp_server_response_model import McpServerResponseModel from ....types.mcp_tool_approval_policy import McpToolApprovalPolicy +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -99,6 +101,10 @@ def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def delete( @@ -152,6 +158,10 @@ def delete( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -236,6 +246,10 @@ async def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def delete( @@ -289,4 +303,8 @@ async def delete( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/conversational_ai/mcp_servers/tool_configs/raw_client.py b/src/elevenlabs/conversational_ai/mcp_servers/tool_configs/raw_client.py index d83d7524..5a916498 100644 --- a/src/elevenlabs/conversational_ai/mcp_servers/tool_configs/raw_client.py +++ b/src/elevenlabs/conversational_ai/mcp_servers/tool_configs/raw_client.py @@ -7,6 +7,7 @@ from ....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ....core.http_response import AsyncHttpResponse, HttpResponse from ....core.jsonable_encoder import jsonable_encoder +from ....core.parse_error import ParsingError from ....core.request_options import RequestOptions from ....core.serialization import convert_and_respect_annotation_metadata from ....core.unchecked_base_model import construct_type @@ -26,6 +27,7 @@ from .types.mcp_tool_config_override_update_request_model_input_overrides_value import ( McpToolConfigOverrideUpdateRequestModelInputOverridesValue, ) +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -153,6 +155,10 @@ def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def get( @@ -217,6 +223,10 @@ def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def delete( @@ -270,6 +280,10 @@ def delete( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def update( @@ -389,6 +403,10 @@ def update( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -514,6 +532,10 @@ async def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def get( @@ -578,6 +600,10 @@ async def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def delete( @@ -631,6 +657,10 @@ async def delete( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def update( @@ -750,4 +780,8 @@ async def update( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/conversational_ai/mcp_servers/tools/raw_client.py b/src/elevenlabs/conversational_ai/mcp_servers/tools/raw_client.py index 5ada0fa2..365c0131 100644 --- a/src/elevenlabs/conversational_ai/mcp_servers/tools/raw_client.py +++ b/src/elevenlabs/conversational_ai/mcp_servers/tools/raw_client.py @@ -7,11 +7,13 @@ from ....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ....core.http_response import AsyncHttpResponse, HttpResponse from ....core.jsonable_encoder import jsonable_encoder +from ....core.parse_error import ParsingError from ....core.request_options import RequestOptions from ....core.unchecked_base_model import construct_type from ....errors.unprocessable_entity_error import UnprocessableEntityError from ....types.http_validation_error import HttpValidationError from ....types.list_mcp_tools_response_model import ListMcpToolsResponseModel +from pydantic import ValidationError class RawToolsClient: @@ -66,6 +68,10 @@ def list( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -121,4 +127,8 @@ async def list( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/conversational_ai/phone_numbers/raw_client.py b/src/elevenlabs/conversational_ai/phone_numbers/raw_client.py index a1ad1ccd..f818a233 100644 --- a/src/elevenlabs/conversational_ai/phone_numbers/raw_client.py +++ b/src/elevenlabs/conversational_ai/phone_numbers/raw_client.py @@ -7,6 +7,7 @@ from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse from ...core.jsonable_encoder import jsonable_encoder +from ...core.parse_error import ParsingError from ...core.request_options import RequestOptions from ...core.serialization import convert_and_respect_annotation_metadata from ...core.unchecked_base_model import construct_type @@ -20,6 +21,7 @@ from .types.phone_numbers_get_response import PhoneNumbersGetResponse from .types.phone_numbers_list_response_item import PhoneNumbersListResponseItem from .types.phone_numbers_update_response import PhoneNumbersUpdateResponse +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -74,6 +76,10 @@ def list( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def create( @@ -130,6 +136,10 @@ def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def get( @@ -180,6 +190,10 @@ def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def delete( @@ -232,6 +246,10 @@ def delete( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def update( @@ -315,6 +333,10 @@ def update( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -367,6 +389,10 @@ async def list( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def create( @@ -423,6 +449,10 @@ async def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def get( @@ -473,6 +503,10 @@ async def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def delete( @@ -525,6 +559,10 @@ async def delete( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def update( @@ -608,4 +646,8 @@ async def update( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/conversational_ai/raw_client.py b/src/elevenlabs/conversational_ai/raw_client.py index 19b2f2b1..8476ea87 100644 --- a/src/elevenlabs/conversational_ai/raw_client.py +++ b/src/elevenlabs/conversational_ai/raw_client.py @@ -8,6 +8,7 @@ from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ..core.http_response import AsyncHttpResponse, HttpResponse from ..core.jsonable_encoder import jsonable_encoder +from ..core.parse_error import ParsingError from ..core.request_options import RequestOptions from ..core.unchecked_base_model import construct_type from ..errors.unprocessable_entity_error import UnprocessableEntityError @@ -16,6 +17,7 @@ from ..types.rag_document_index_response_model import RagDocumentIndexResponseModel from ..types.rag_document_indexes_response_model import RagDocumentIndexesResponseModel from ..types.rag_index_overview_response_model import RagIndexOverviewResponseModel +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -99,6 +101,10 @@ def add_to_knowledge_base( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def rag_index_overview( @@ -146,6 +152,10 @@ def rag_index_overview( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def get_document_rag_indexes( @@ -196,6 +206,10 @@ def get_document_rag_indexes( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def delete_document_rag_index( @@ -249,6 +263,10 @@ def delete_document_rag_index( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -330,6 +348,10 @@ async def add_to_knowledge_base( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def rag_index_overview( @@ -377,6 +399,10 @@ async def rag_index_overview( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def get_document_rag_indexes( @@ -427,6 +453,10 @@ async def get_document_rag_indexes( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def delete_document_rag_index( @@ -480,4 +510,8 @@ async def delete_document_rag_index( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/conversational_ai/secrets/__init__.py b/src/elevenlabs/conversational_ai/secrets/__init__.py index 5cde0202..f60daec7 100644 --- a/src/elevenlabs/conversational_ai/secrets/__init__.py +++ b/src/elevenlabs/conversational_ai/secrets/__init__.py @@ -2,3 +2,36 @@ # isort: skip_file +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .types import PatchWorkspaceSecretRequestType, PostWorkspaceSecretRequestType +_dynamic_imports: typing.Dict[str, str] = { + "PatchWorkspaceSecretRequestType": ".types", + "PostWorkspaceSecretRequestType": ".types", +} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = ["PatchWorkspaceSecretRequestType", "PostWorkspaceSecretRequestType"] diff --git a/src/elevenlabs/conversational_ai/secrets/client.py b/src/elevenlabs/conversational_ai/secrets/client.py index 42a37f00..04b1819b 100644 --- a/src/elevenlabs/conversational_ai/secrets/client.py +++ b/src/elevenlabs/conversational_ai/secrets/client.py @@ -7,6 +7,8 @@ from ...types.get_workspace_secrets_response_model import GetWorkspaceSecretsResponseModel from ...types.post_workspace_secret_response_model import PostWorkspaceSecretResponseModel from .raw_client import AsyncRawSecretsClient, RawSecretsClient +from .types.patch_workspace_secret_request_type import PatchWorkspaceSecretRequestType +from .types.post_workspace_secret_request_type import PostWorkspaceSecretRequestType # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -69,13 +71,20 @@ def list( return _response.data def create( - self, *, name: str, value: str, request_options: typing.Optional[RequestOptions] = None + self, + *, + type: PostWorkspaceSecretRequestType, + name: str, + value: str, + request_options: typing.Optional[RequestOptions] = None, ) -> PostWorkspaceSecretResponseModel: """ Create a new secret for the workspace Parameters ---------- + type : PostWorkspaceSecretRequestType + name : str value : str @@ -96,11 +105,12 @@ def create( api_key="YOUR_API_KEY", ) client.conversational_ai.secrets.create( + type="new", name="name", value="value", ) """ - _response = self._raw_client.create(name=name, value=value, request_options=request_options) + _response = self._raw_client.create(type=type, name=name, value=value, request_options=request_options) return _response.data def delete(self, secret_id: str, *, request_options: typing.Optional[RequestOptions] = None) -> None: @@ -133,7 +143,13 @@ def delete(self, secret_id: str, *, request_options: typing.Optional[RequestOpti return _response.data def update( - self, secret_id: str, *, name: str, value: str, request_options: typing.Optional[RequestOptions] = None + self, + secret_id: str, + *, + type: PatchWorkspaceSecretRequestType, + name: str, + value: str, + request_options: typing.Optional[RequestOptions] = None, ) -> PostWorkspaceSecretResponseModel: """ Update an existing secret for the workspace @@ -142,6 +158,8 @@ def update( ---------- secret_id : str + type : PatchWorkspaceSecretRequestType + name : str value : str @@ -163,11 +181,14 @@ def update( ) client.conversational_ai.secrets.update( secret_id="secret_id", + type="update", name="name", value="value", ) """ - _response = self._raw_client.update(secret_id, name=name, value=value, request_options=request_options) + _response = self._raw_client.update( + secret_id, type=type, name=name, value=value, request_options=request_options + ) return _response.data @@ -236,13 +257,20 @@ async def main() -> None: return _response.data async def create( - self, *, name: str, value: str, request_options: typing.Optional[RequestOptions] = None + self, + *, + type: PostWorkspaceSecretRequestType, + name: str, + value: str, + request_options: typing.Optional[RequestOptions] = None, ) -> PostWorkspaceSecretResponseModel: """ Create a new secret for the workspace Parameters ---------- + type : PostWorkspaceSecretRequestType + name : str value : str @@ -268,6 +296,7 @@ async def create( async def main() -> None: await client.conversational_ai.secrets.create( + type="new", name="name", value="value", ) @@ -275,7 +304,7 @@ async def main() -> None: asyncio.run(main()) """ - _response = await self._raw_client.create(name=name, value=value, request_options=request_options) + _response = await self._raw_client.create(type=type, name=name, value=value, request_options=request_options) return _response.data async def delete(self, secret_id: str, *, request_options: typing.Optional[RequestOptions] = None) -> None: @@ -316,7 +345,13 @@ async def main() -> None: return _response.data async def update( - self, secret_id: str, *, name: str, value: str, request_options: typing.Optional[RequestOptions] = None + self, + secret_id: str, + *, + type: PatchWorkspaceSecretRequestType, + name: str, + value: str, + request_options: typing.Optional[RequestOptions] = None, ) -> PostWorkspaceSecretResponseModel: """ Update an existing secret for the workspace @@ -325,6 +360,8 @@ async def update( ---------- secret_id : str + type : PatchWorkspaceSecretRequestType + name : str value : str @@ -351,6 +388,7 @@ async def update( async def main() -> None: await client.conversational_ai.secrets.update( secret_id="secret_id", + type="update", name="name", value="value", ) @@ -358,5 +396,7 @@ async def main() -> None: asyncio.run(main()) """ - _response = await self._raw_client.update(secret_id, name=name, value=value, request_options=request_options) + _response = await self._raw_client.update( + secret_id, type=type, name=name, value=value, request_options=request_options + ) return _response.data diff --git a/src/elevenlabs/conversational_ai/secrets/raw_client.py b/src/elevenlabs/conversational_ai/secrets/raw_client.py index 710cf6c3..c6b05383 100644 --- a/src/elevenlabs/conversational_ai/secrets/raw_client.py +++ b/src/elevenlabs/conversational_ai/secrets/raw_client.py @@ -7,12 +7,16 @@ from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse from ...core.jsonable_encoder import jsonable_encoder +from ...core.parse_error import ParsingError from ...core.request_options import RequestOptions from ...core.unchecked_base_model import construct_type from ...errors.unprocessable_entity_error import UnprocessableEntityError from ...types.get_workspace_secrets_response_model import GetWorkspaceSecretsResponseModel from ...types.http_validation_error import HttpValidationError from ...types.post_workspace_secret_response_model import PostWorkspaceSecretResponseModel +from .types.patch_workspace_secret_request_type import PatchWorkspaceSecretRequestType +from .types.post_workspace_secret_request_type import PostWorkspaceSecretRequestType +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -81,16 +85,27 @@ def list( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def create( - self, *, name: str, value: str, request_options: typing.Optional[RequestOptions] = None + self, + *, + type: PostWorkspaceSecretRequestType, + name: str, + value: str, + request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[PostWorkspaceSecretResponseModel]: """ Create a new secret for the workspace Parameters ---------- + type : PostWorkspaceSecretRequestType + name : str value : str @@ -107,9 +122,9 @@ def create( "v1/convai/secrets", method="POST", json={ + "type": type, "name": name, "value": value, - "type": "new", }, headers={ "content-type": "application/json", @@ -141,6 +156,10 @@ def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def delete(self, secret_id: str, *, request_options: typing.Optional[RequestOptions] = None) -> HttpResponse[None]: @@ -180,10 +199,20 @@ def delete(self, secret_id: str, *, request_options: typing.Optional[RequestOpti _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def update( - self, secret_id: str, *, name: str, value: str, request_options: typing.Optional[RequestOptions] = None + self, + secret_id: str, + *, + type: PatchWorkspaceSecretRequestType, + name: str, + value: str, + request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[PostWorkspaceSecretResponseModel]: """ Update an existing secret for the workspace @@ -192,6 +221,8 @@ def update( ---------- secret_id : str + type : PatchWorkspaceSecretRequestType + name : str value : str @@ -208,9 +239,9 @@ def update( f"v1/convai/secrets/{jsonable_encoder(secret_id)}", method="PATCH", json={ + "type": type, "name": name, "value": value, - "type": "update", }, headers={ "content-type": "application/json", @@ -242,6 +273,10 @@ def update( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -308,16 +343,27 @@ async def list( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def create( - self, *, name: str, value: str, request_options: typing.Optional[RequestOptions] = None + self, + *, + type: PostWorkspaceSecretRequestType, + name: str, + value: str, + request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[PostWorkspaceSecretResponseModel]: """ Create a new secret for the workspace Parameters ---------- + type : PostWorkspaceSecretRequestType + name : str value : str @@ -334,9 +380,9 @@ async def create( "v1/convai/secrets", method="POST", json={ + "type": type, "name": name, "value": value, - "type": "new", }, headers={ "content-type": "application/json", @@ -368,6 +414,10 @@ async def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def delete( @@ -409,10 +459,20 @@ async def delete( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def update( - self, secret_id: str, *, name: str, value: str, request_options: typing.Optional[RequestOptions] = None + self, + secret_id: str, + *, + type: PatchWorkspaceSecretRequestType, + name: str, + value: str, + request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[PostWorkspaceSecretResponseModel]: """ Update an existing secret for the workspace @@ -421,6 +481,8 @@ async def update( ---------- secret_id : str + type : PatchWorkspaceSecretRequestType + name : str value : str @@ -437,9 +499,9 @@ async def update( f"v1/convai/secrets/{jsonable_encoder(secret_id)}", method="PATCH", json={ + "type": type, "name": name, "value": value, - "type": "update", }, headers={ "content-type": "application/json", @@ -471,4 +533,8 @@ async def update( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/conversational_ai/secrets/types/__init__.py b/src/elevenlabs/conversational_ai/secrets/types/__init__.py new file mode 100644 index 00000000..69fce24f --- /dev/null +++ b/src/elevenlabs/conversational_ai/secrets/types/__init__.py @@ -0,0 +1,38 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .patch_workspace_secret_request_type import PatchWorkspaceSecretRequestType + from .post_workspace_secret_request_type import PostWorkspaceSecretRequestType +_dynamic_imports: typing.Dict[str, str] = { + "PatchWorkspaceSecretRequestType": ".patch_workspace_secret_request_type", + "PostWorkspaceSecretRequestType": ".post_workspace_secret_request_type", +} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = ["PatchWorkspaceSecretRequestType", "PostWorkspaceSecretRequestType"] diff --git a/src/elevenlabs/conversational_ai/secrets/types/patch_workspace_secret_request_type.py b/src/elevenlabs/conversational_ai/secrets/types/patch_workspace_secret_request_type.py new file mode 100644 index 00000000..4657e051 --- /dev/null +++ b/src/elevenlabs/conversational_ai/secrets/types/patch_workspace_secret_request_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +PatchWorkspaceSecretRequestType = typing.Union[typing.Literal["update"], typing.Any] diff --git a/src/elevenlabs/conversational_ai/secrets/types/post_workspace_secret_request_type.py b/src/elevenlabs/conversational_ai/secrets/types/post_workspace_secret_request_type.py new file mode 100644 index 00000000..a6956686 --- /dev/null +++ b/src/elevenlabs/conversational_ai/secrets/types/post_workspace_secret_request_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +PostWorkspaceSecretRequestType = typing.Union[typing.Literal["new"], typing.Any] diff --git a/src/elevenlabs/conversational_ai/settings/client.py b/src/elevenlabs/conversational_ai/settings/client.py index 6fe9893f..cd9c9716 100644 --- a/src/elevenlabs/conversational_ai/settings/client.py +++ b/src/elevenlabs/conversational_ai/settings/client.py @@ -62,6 +62,7 @@ def update( webhooks: typing.Optional[ConvAiWebhooks] = OMIT, can_use_mcp_servers: typing.Optional[bool] = OMIT, rag_retention_period_days: typing.Optional[int] = OMIT, + conversation_embedding_retention_days: typing.Optional[int] = OMIT, default_livekit_stack: typing.Optional[LivekitStackType] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> GetConvAiSettingsResponseModel: @@ -79,6 +80,9 @@ def update( rag_retention_period_days : typing.Optional[int] + conversation_embedding_retention_days : typing.Optional[int] + Days to retain conversation embeddings. None means use the system default (30 days). + default_livekit_stack : typing.Optional[LivekitStackType] request_options : typing.Optional[RequestOptions] @@ -103,6 +107,7 @@ def update( webhooks=webhooks, can_use_mcp_servers=can_use_mcp_servers, rag_retention_period_days=rag_retention_period_days, + conversation_embedding_retention_days=conversation_embedding_retention_days, default_livekit_stack=default_livekit_stack, request_options=request_options, ) @@ -165,6 +170,7 @@ async def update( webhooks: typing.Optional[ConvAiWebhooks] = OMIT, can_use_mcp_servers: typing.Optional[bool] = OMIT, rag_retention_period_days: typing.Optional[int] = OMIT, + conversation_embedding_retention_days: typing.Optional[int] = OMIT, default_livekit_stack: typing.Optional[LivekitStackType] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> GetConvAiSettingsResponseModel: @@ -182,6 +188,9 @@ async def update( rag_retention_period_days : typing.Optional[int] + conversation_embedding_retention_days : typing.Optional[int] + Days to retain conversation embeddings. None means use the system default (30 days). + default_livekit_stack : typing.Optional[LivekitStackType] request_options : typing.Optional[RequestOptions] @@ -214,6 +223,7 @@ async def main() -> None: webhooks=webhooks, can_use_mcp_servers=can_use_mcp_servers, rag_retention_period_days=rag_retention_period_days, + conversation_embedding_retention_days=conversation_embedding_retention_days, default_livekit_stack=default_livekit_stack, request_options=request_options, ) diff --git a/src/elevenlabs/conversational_ai/settings/raw_client.py b/src/elevenlabs/conversational_ai/settings/raw_client.py index c88c7f64..201938d5 100644 --- a/src/elevenlabs/conversational_ai/settings/raw_client.py +++ b/src/elevenlabs/conversational_ai/settings/raw_client.py @@ -6,6 +6,7 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse +from ...core.parse_error import ParsingError from ...core.request_options import RequestOptions from ...core.serialization import convert_and_respect_annotation_metadata from ...core.unchecked_base_model import construct_type @@ -15,6 +16,7 @@ from ...types.get_conv_ai_settings_response_model import GetConvAiSettingsResponseModel from ...types.http_validation_error import HttpValidationError from ...types.livekit_stack_type import LivekitStackType +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -69,6 +71,10 @@ def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def update( @@ -78,6 +84,7 @@ def update( webhooks: typing.Optional[ConvAiWebhooks] = OMIT, can_use_mcp_servers: typing.Optional[bool] = OMIT, rag_retention_period_days: typing.Optional[int] = OMIT, + conversation_embedding_retention_days: typing.Optional[int] = OMIT, default_livekit_stack: typing.Optional[LivekitStackType] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[GetConvAiSettingsResponseModel]: @@ -95,6 +102,9 @@ def update( rag_retention_period_days : typing.Optional[int] + conversation_embedding_retention_days : typing.Optional[int] + Days to retain conversation embeddings. None means use the system default (30 days). + default_livekit_stack : typing.Optional[LivekitStackType] request_options : typing.Optional[RequestOptions] @@ -119,6 +129,7 @@ def update( ), "can_use_mcp_servers": can_use_mcp_servers, "rag_retention_period_days": rag_retention_period_days, + "conversation_embedding_retention_days": conversation_embedding_retention_days, "default_livekit_stack": default_livekit_stack, }, headers={ @@ -151,6 +162,10 @@ def update( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -203,6 +218,10 @@ async def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def update( @@ -212,6 +231,7 @@ async def update( webhooks: typing.Optional[ConvAiWebhooks] = OMIT, can_use_mcp_servers: typing.Optional[bool] = OMIT, rag_retention_period_days: typing.Optional[int] = OMIT, + conversation_embedding_retention_days: typing.Optional[int] = OMIT, default_livekit_stack: typing.Optional[LivekitStackType] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[GetConvAiSettingsResponseModel]: @@ -229,6 +249,9 @@ async def update( rag_retention_period_days : typing.Optional[int] + conversation_embedding_retention_days : typing.Optional[int] + Days to retain conversation embeddings. None means use the system default (30 days). + default_livekit_stack : typing.Optional[LivekitStackType] request_options : typing.Optional[RequestOptions] @@ -253,6 +276,7 @@ async def update( ), "can_use_mcp_servers": can_use_mcp_servers, "rag_retention_period_days": rag_retention_period_days, + "conversation_embedding_retention_days": conversation_embedding_retention_days, "default_livekit_stack": default_livekit_stack, }, headers={ @@ -285,4 +309,8 @@ async def update( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/conversational_ai/sip_trunk/raw_client.py b/src/elevenlabs/conversational_ai/sip_trunk/raw_client.py index 4ff64b23..62b665b3 100644 --- a/src/elevenlabs/conversational_ai/sip_trunk/raw_client.py +++ b/src/elevenlabs/conversational_ai/sip_trunk/raw_client.py @@ -6,6 +6,7 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse +from ...core.parse_error import ParsingError from ...core.request_options import RequestOptions from ...core.serialization import convert_and_respect_annotation_metadata from ...core.unchecked_base_model import construct_type @@ -14,6 +15,7 @@ from ...types.http_validation_error import HttpValidationError from ...types.sip_trunk_outbound_call_response import SipTrunkOutboundCallResponse from ...types.telephony_call_config import TelephonyCallConfig +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -102,6 +104,10 @@ def outbound_call( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -188,4 +194,8 @@ async def outbound_call( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/conversational_ai/tests/invocations/raw_client.py b/src/elevenlabs/conversational_ai/tests/invocations/raw_client.py index 1db31cba..a1f23eb2 100644 --- a/src/elevenlabs/conversational_ai/tests/invocations/raw_client.py +++ b/src/elevenlabs/conversational_ai/tests/invocations/raw_client.py @@ -7,6 +7,7 @@ from ....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ....core.http_response import AsyncHttpResponse, HttpResponse from ....core.jsonable_encoder import jsonable_encoder +from ....core.parse_error import ParsingError from ....core.request_options import RequestOptions from ....core.serialization import convert_and_respect_annotation_metadata from ....core.unchecked_base_model import construct_type @@ -15,6 +16,7 @@ from ....types.get_test_invocations_page_response_model import GetTestInvocationsPageResponseModel from ....types.get_test_suite_invocation_response_model import GetTestSuiteInvocationResponseModel from ....types.http_validation_error import HttpValidationError +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -88,6 +90,10 @@ def list( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def get( @@ -138,6 +144,10 @@ def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def resubmit( @@ -223,6 +233,10 @@ def resubmit( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -294,6 +308,10 @@ async def list( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def get( @@ -344,6 +362,10 @@ async def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def resubmit( @@ -429,4 +451,8 @@ async def resubmit( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/conversational_ai/tests/raw_client.py b/src/elevenlabs/conversational_ai/tests/raw_client.py index 9b903a5c..1d97da93 100644 --- a/src/elevenlabs/conversational_ai/tests/raw_client.py +++ b/src/elevenlabs/conversational_ai/tests/raw_client.py @@ -7,6 +7,7 @@ from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse from ...core.jsonable_encoder import jsonable_encoder +from ...core.parse_error import ParsingError from ...core.request_options import RequestOptions from ...core.serialization import convert_and_respect_annotation_metadata from ...core.unchecked_base_model import construct_type @@ -21,6 +22,7 @@ from .types.tests_list_request_sort_mode import TestsListRequestSortMode from .types.tests_update_request_body import TestsUpdateRequestBody from .types.tests_update_response import TestsUpdateResponse +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -84,6 +86,10 @@ def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def get( @@ -134,6 +140,10 @@ def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def update( @@ -193,6 +203,10 @@ def update( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def delete( @@ -245,6 +259,10 @@ def delete( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def summaries( @@ -302,6 +320,10 @@ def summaries( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def list( @@ -388,6 +410,10 @@ def list( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -449,6 +475,10 @@ async def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def get( @@ -499,6 +529,10 @@ async def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def update( @@ -558,6 +592,10 @@ async def update( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def delete( @@ -610,6 +648,10 @@ async def delete( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def summaries( @@ -667,6 +709,10 @@ async def summaries( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def list( @@ -753,4 +799,8 @@ async def list( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/conversational_ai/tools/client.py b/src/elevenlabs/conversational_ai/tools/client.py index 3fabc17e..30f1f014 100644 --- a/src/elevenlabs/conversational_ai/tools/client.py +++ b/src/elevenlabs/conversational_ai/tools/client.py @@ -179,7 +179,13 @@ def get(self, tool_id: str, *, request_options: typing.Optional[RequestOptions] _response = self._raw_client.get(tool_id, request_options=request_options) return _response.data - def delete(self, tool_id: str, *, request_options: typing.Optional[RequestOptions] = None) -> typing.Any: + def delete( + self, + tool_id: str, + *, + force: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> typing.Any: """ Delete tool from the workspace. @@ -188,6 +194,9 @@ def delete(self, tool_id: str, *, request_options: typing.Optional[RequestOption tool_id : str ID of the requested tool. + force : typing.Optional[bool] + If set to true, the tool will be deleted regardless of whether it is used by any agents and it will be removed from the dependent agents and branches. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -205,9 +214,10 @@ def delete(self, tool_id: str, *, request_options: typing.Optional[RequestOption ) client.conversational_ai.tools.delete( tool_id="tool_id", + force=True, ) """ - _response = self._raw_client.delete(tool_id, request_options=request_options) + _response = self._raw_client.delete(tool_id, force=force, request_options=request_options) return _response.data def update( @@ -491,7 +501,13 @@ async def main() -> None: _response = await self._raw_client.get(tool_id, request_options=request_options) return _response.data - async def delete(self, tool_id: str, *, request_options: typing.Optional[RequestOptions] = None) -> typing.Any: + async def delete( + self, + tool_id: str, + *, + force: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> typing.Any: """ Delete tool from the workspace. @@ -500,6 +516,9 @@ async def delete(self, tool_id: str, *, request_options: typing.Optional[Request tool_id : str ID of the requested tool. + force : typing.Optional[bool] + If set to true, the tool will be deleted regardless of whether it is used by any agents and it will be removed from the dependent agents and branches. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -522,12 +541,13 @@ async def delete(self, tool_id: str, *, request_options: typing.Optional[Request async def main() -> None: await client.conversational_ai.tools.delete( tool_id="tool_id", + force=True, ) asyncio.run(main()) """ - _response = await self._raw_client.delete(tool_id, request_options=request_options) + _response = await self._raw_client.delete(tool_id, force=force, request_options=request_options) return _response.data async def update( diff --git a/src/elevenlabs/conversational_ai/tools/raw_client.py b/src/elevenlabs/conversational_ai/tools/raw_client.py index 92adcc33..ec774784 100644 --- a/src/elevenlabs/conversational_ai/tools/raw_client.py +++ b/src/elevenlabs/conversational_ai/tools/raw_client.py @@ -7,6 +7,7 @@ from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse from ...core.jsonable_encoder import jsonable_encoder +from ...core.parse_error import ParsingError from ...core.request_options import RequestOptions from ...core.serialization import convert_and_respect_annotation_metadata from ...core.unchecked_base_model import construct_type @@ -19,6 +20,7 @@ from ...types.tool_sort_by import ToolSortBy from ...types.tool_type_filter import ToolTypeFilter from ...types.tools_response_model import ToolsResponseModel +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -112,6 +114,10 @@ def list( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def create( @@ -168,6 +174,10 @@ def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def get( @@ -218,10 +228,18 @@ def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def delete( - self, tool_id: str, *, request_options: typing.Optional[RequestOptions] = None + self, + tool_id: str, + *, + force: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[typing.Any]: """ Delete tool from the workspace. @@ -231,6 +249,9 @@ def delete( tool_id : str ID of the requested tool. + force : typing.Optional[bool] + If set to true, the tool will be deleted regardless of whether it is used by any agents and it will be removed from the dependent agents and branches. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -242,6 +263,9 @@ def delete( _response = self._client_wrapper.httpx_client.request( f"v1/convai/tools/{jsonable_encoder(tool_id)}", method="DELETE", + params={ + "force": force, + }, request_options=request_options, ) try: @@ -270,6 +294,10 @@ def delete( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def update( @@ -329,6 +357,10 @@ def update( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def get_dependent_agents( @@ -394,6 +426,10 @@ def get_dependent_agents( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -485,6 +521,10 @@ async def list( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def create( @@ -541,6 +581,10 @@ async def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def get( @@ -591,10 +635,18 @@ async def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def delete( - self, tool_id: str, *, request_options: typing.Optional[RequestOptions] = None + self, + tool_id: str, + *, + force: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[typing.Any]: """ Delete tool from the workspace. @@ -604,6 +656,9 @@ async def delete( tool_id : str ID of the requested tool. + force : typing.Optional[bool] + If set to true, the tool will be deleted regardless of whether it is used by any agents and it will be removed from the dependent agents and branches. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -615,6 +670,9 @@ async def delete( _response = await self._client_wrapper.httpx_client.request( f"v1/convai/tools/{jsonable_encoder(tool_id)}", method="DELETE", + params={ + "force": force, + }, request_options=request_options, ) try: @@ -643,6 +701,10 @@ async def delete( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def update( @@ -702,6 +764,10 @@ async def update( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def get_dependent_agents( @@ -767,4 +833,8 @@ async def get_dependent_agents( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/conversational_ai/twilio/client.py b/src/elevenlabs/conversational_ai/twilio/client.py index 020be3ac..654075f6 100644 --- a/src/elevenlabs/conversational_ai/twilio/client.py +++ b/src/elevenlabs/conversational_ai/twilio/client.py @@ -101,7 +101,7 @@ def register_call( direction: typing.Optional[BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPostDirection] = OMIT, conversation_initiation_client_data: typing.Optional[ConversationInitiationClientDataRequestInput] = OMIT, request_options: typing.Optional[RequestOptions] = None, - ) -> None: + ) -> str: """ Register a Twilio call and return TwiML to connect the call @@ -122,7 +122,8 @@ def register_call( Returns ------- - None + str + Successful Response Examples -------- @@ -241,7 +242,7 @@ async def register_call( direction: typing.Optional[BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPostDirection] = OMIT, conversation_initiation_client_data: typing.Optional[ConversationInitiationClientDataRequestInput] = OMIT, request_options: typing.Optional[RequestOptions] = None, - ) -> None: + ) -> str: """ Register a Twilio call and return TwiML to connect the call @@ -262,7 +263,8 @@ async def register_call( Returns ------- - None + str + Successful Response Examples -------- diff --git a/src/elevenlabs/conversational_ai/twilio/raw_client.py b/src/elevenlabs/conversational_ai/twilio/raw_client.py index 02123890..3cccb961 100644 --- a/src/elevenlabs/conversational_ai/twilio/raw_client.py +++ b/src/elevenlabs/conversational_ai/twilio/raw_client.py @@ -6,6 +6,7 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse +from ...core.parse_error import ParsingError from ...core.request_options import RequestOptions from ...core.serialization import convert_and_respect_annotation_metadata from ...core.unchecked_base_model import construct_type @@ -17,6 +18,7 @@ from .types.body_register_a_twilio_call_and_return_twi_ml_v_1_convai_twilio_register_call_post_direction import ( BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPostDirection, ) +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -110,6 +112,10 @@ def outbound_call( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def register_call( @@ -121,7 +127,7 @@ def register_call( direction: typing.Optional[BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPostDirection] = OMIT, conversation_initiation_client_data: typing.Optional[ConversationInitiationClientDataRequestInput] = OMIT, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[None]: + ) -> HttpResponse[str]: """ Register a Twilio call and return TwiML to connect the call @@ -142,7 +148,8 @@ def register_call( Returns ------- - HttpResponse[None] + HttpResponse[str] + Successful Response """ _response = self._client_wrapper.httpx_client.request( "v1/convai/twilio/register-call", @@ -166,7 +173,7 @@ def register_call( ) try: if 200 <= _response.status_code < 300: - return HttpResponse(response=_response, data=None) + return HttpResponse(response=_response, data=_response.text) # type: ignore if _response.status_code == 422: raise UnprocessableEntityError( headers=dict(_response.headers), @@ -181,6 +188,10 @@ def register_call( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -272,6 +283,10 @@ async def outbound_call( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def register_call( @@ -283,7 +298,7 @@ async def register_call( direction: typing.Optional[BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPostDirection] = OMIT, conversation_initiation_client_data: typing.Optional[ConversationInitiationClientDataRequestInput] = OMIT, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[None]: + ) -> AsyncHttpResponse[str]: """ Register a Twilio call and return TwiML to connect the call @@ -304,7 +319,8 @@ async def register_call( Returns ------- - AsyncHttpResponse[None] + AsyncHttpResponse[str] + Successful Response """ _response = await self._client_wrapper.httpx_client.request( "v1/convai/twilio/register-call", @@ -328,7 +344,7 @@ async def register_call( ) try: if 200 <= _response.status_code < 300: - return AsyncHttpResponse(response=_response, data=None) + return AsyncHttpResponse(response=_response, data=_response.text) # type: ignore if _response.status_code == 422: raise UnprocessableEntityError( headers=dict(_response.headers), @@ -343,4 +359,8 @@ async def register_call( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/conversational_ai/users/raw_client.py b/src/elevenlabs/conversational_ai/users/raw_client.py index b0e6eff8..526b83ca 100644 --- a/src/elevenlabs/conversational_ai/users/raw_client.py +++ b/src/elevenlabs/conversational_ai/users/raw_client.py @@ -6,12 +6,14 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse +from ...core.parse_error import ParsingError from ...core.request_options import RequestOptions from ...core.unchecked_base_model import construct_type from ...errors.unprocessable_entity_error import UnprocessableEntityError from ...types.get_conversation_users_page_response_model import GetConversationUsersPageResponseModel from ...types.http_validation_error import HttpValidationError from ...types.users_sort_by import UsersSortBy +from pydantic import ValidationError class RawUsersClient: @@ -107,6 +109,10 @@ def list( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -203,4 +209,8 @@ async def list( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/conversational_ai/whatsapp/raw_client.py b/src/elevenlabs/conversational_ai/whatsapp/raw_client.py index 3a3e2597..f6763b7c 100644 --- a/src/elevenlabs/conversational_ai/whatsapp/raw_client.py +++ b/src/elevenlabs/conversational_ai/whatsapp/raw_client.py @@ -6,6 +6,7 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse +from ...core.parse_error import ParsingError from ...core.request_options import RequestOptions from ...core.serialization import convert_and_respect_annotation_metadata from ...core.unchecked_base_model import construct_type @@ -17,6 +18,7 @@ from .types.body_send_an_outbound_message_via_whats_app_v_1_convai_whatsapp_outbound_message_post_template_params_item import ( BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePostTemplateParamsItem, ) +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -107,6 +109,10 @@ def outbound_call( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def outbound_message( @@ -202,6 +208,10 @@ def outbound_message( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -290,6 +300,10 @@ async def outbound_call( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def outbound_message( @@ -385,4 +399,8 @@ async def outbound_message( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/conversational_ai/whatsapp_accounts/raw_client.py b/src/elevenlabs/conversational_ai/whatsapp_accounts/raw_client.py index afb90b79..6a6b0c11 100644 --- a/src/elevenlabs/conversational_ai/whatsapp_accounts/raw_client.py +++ b/src/elevenlabs/conversational_ai/whatsapp_accounts/raw_client.py @@ -7,12 +7,14 @@ from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse from ...core.jsonable_encoder import jsonable_encoder +from ...core.parse_error import ParsingError from ...core.request_options import RequestOptions from ...core.unchecked_base_model import construct_type from ...errors.unprocessable_entity_error import UnprocessableEntityError from ...types.get_whats_app_account_response import GetWhatsAppAccountResponse from ...types.http_validation_error import HttpValidationError from ...types.list_whats_app_accounts_response import ListWhatsAppAccountsResponse +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -69,6 +71,10 @@ def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def delete( @@ -120,6 +126,10 @@ def delete( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def update( @@ -192,6 +202,10 @@ def update( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def list( @@ -239,6 +253,10 @@ def list( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -293,6 +311,10 @@ async def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def delete( @@ -344,6 +366,10 @@ async def delete( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def update( @@ -416,6 +442,10 @@ async def update( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def list( @@ -463,4 +493,8 @@ async def list( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/core/__init__.py b/src/elevenlabs/core/__init__.py index a7e9f033..3b227d7f 100644 --- a/src/elevenlabs/core/__init__.py +++ b/src/elevenlabs/core/__init__.py @@ -8,11 +8,13 @@ if typing.TYPE_CHECKING: from .api_error import ApiError from .client_wrapper import AsyncClientWrapper, BaseClientWrapper, SyncClientWrapper - from .datetime_utils import serialize_datetime + from .datetime_utils import Rfc2822DateTime, parse_rfc2822_datetime, serialize_datetime from .file import File, convert_file_dict_to_httpx_tuples, with_content_type from .http_client import AsyncHttpClient, HttpClient from .http_response import AsyncHttpResponse, HttpResponse from .jsonable_encoder import jsonable_encoder + from .logging import ConsoleLogger, ILogger, LogConfig, LogLevel, Logger, create_logger + from .parse_error import ParsingError from .pydantic_utilities import ( IS_PYDANTIC_V2, UniversalBaseModel, @@ -33,12 +35,19 @@ "AsyncHttpClient": ".http_client", "AsyncHttpResponse": ".http_response", "BaseClientWrapper": ".client_wrapper", + "ConsoleLogger": ".logging", "FieldMetadata": ".serialization", "File": ".file", "HttpClient": ".http_client", "HttpResponse": ".http_response", + "ILogger": ".logging", "IS_PYDANTIC_V2": ".pydantic_utilities", + "LogConfig": ".logging", + "LogLevel": ".logging", + "Logger": ".logging", + "ParsingError": ".parse_error", "RequestOptions": ".request_options", + "Rfc2822DateTime": ".datetime_utils", "SyncClientWrapper": ".client_wrapper", "UncheckedBaseModel": ".unchecked_base_model", "UnionMetadata": ".unchecked_base_model", @@ -47,9 +56,11 @@ "construct_type": ".unchecked_base_model", "convert_and_respect_annotation_metadata": ".serialization", "convert_file_dict_to_httpx_tuples": ".file", + "create_logger": ".logging", "encode_query": ".query_encoder", "jsonable_encoder": ".jsonable_encoder", "parse_obj_as": ".pydantic_utilities", + "parse_rfc2822_datetime": ".datetime_utils", "remove_none_from_dict": ".remove_none_from_dict", "serialize_datetime": ".datetime_utils", "universal_field_validator": ".pydantic_utilities", @@ -86,12 +97,19 @@ def __dir__(): "AsyncHttpClient", "AsyncHttpResponse", "BaseClientWrapper", + "ConsoleLogger", "FieldMetadata", "File", "HttpClient", "HttpResponse", + "ILogger", "IS_PYDANTIC_V2", + "LogConfig", + "LogLevel", + "Logger", + "ParsingError", "RequestOptions", + "Rfc2822DateTime", "SyncClientWrapper", "UncheckedBaseModel", "UnionMetadata", @@ -100,9 +118,11 @@ def __dir__(): "construct_type", "convert_and_respect_annotation_metadata", "convert_file_dict_to_httpx_tuples", + "create_logger", "encode_query", "jsonable_encoder", "parse_obj_as", + "parse_rfc2822_datetime", "remove_none_from_dict", "serialize_datetime", "universal_field_validator", diff --git a/src/elevenlabs/core/client_wrapper.py b/src/elevenlabs/core/client_wrapper.py index f0d9a5e5..f9fa55a3 100644 --- a/src/elevenlabs/core/client_wrapper.py +++ b/src/elevenlabs/core/client_wrapper.py @@ -4,32 +4,38 @@ import httpx from .http_client import AsyncHttpClient, HttpClient +from .logging import LogConfig, Logger class BaseClientWrapper: def __init__( self, *, - api_key: typing.Optional[str] = None, + api_key: str, headers: typing.Optional[typing.Dict[str, str]] = None, base_url: str, timeout: typing.Optional[float] = None, + logging: typing.Optional[typing.Union[LogConfig, Logger]] = None, ): self._api_key = api_key self._headers = headers self._base_url = base_url self._timeout = timeout + self._logging = logging def get_headers(self) -> typing.Dict[str, str]: + import platform + headers: typing.Dict[str, str] = { - "User-Agent": "elevenlabs/v2.39.0", + "User-Agent": "elevenlabs/2.39.1", "X-Fern-Language": "Python", + "X-Fern-Runtime": f"python/{platform.python_version()}", + "X-Fern-Platform": f"{platform.system().lower()}/{platform.release()}", "X-Fern-SDK-Name": "elevenlabs", - "X-Fern-SDK-Version": "v2.39.0", + "X-Fern-SDK-Version": "2.39.1", **(self.get_custom_headers() or {}), } - if self._api_key is not None: - headers["xi-api-key"] = self._api_key + headers["xi-api-key"] = self._api_key return headers def get_custom_headers(self) -> typing.Optional[typing.Dict[str, str]]: @@ -46,18 +52,20 @@ class SyncClientWrapper(BaseClientWrapper): def __init__( self, *, - api_key: typing.Optional[str] = None, + api_key: str, headers: typing.Optional[typing.Dict[str, str]] = None, base_url: str, timeout: typing.Optional[float] = None, + logging: typing.Optional[typing.Union[LogConfig, Logger]] = None, httpx_client: httpx.Client, ): - super().__init__(api_key=api_key, headers=headers, base_url=base_url, timeout=timeout) + super().__init__(api_key=api_key, headers=headers, base_url=base_url, timeout=timeout, logging=logging) self.httpx_client = HttpClient( httpx_client=httpx_client, base_headers=self.get_headers, base_timeout=self.get_timeout, base_url=self.get_base_url, + logging_config=self._logging, ) @@ -65,14 +73,15 @@ class AsyncClientWrapper(BaseClientWrapper): def __init__( self, *, - api_key: typing.Optional[str] = None, + api_key: str, headers: typing.Optional[typing.Dict[str, str]] = None, base_url: str, timeout: typing.Optional[float] = None, + logging: typing.Optional[typing.Union[LogConfig, Logger]] = None, async_token: typing.Optional[typing.Callable[[], typing.Awaitable[str]]] = None, httpx_client: httpx.AsyncClient, ): - super().__init__(api_key=api_key, headers=headers, base_url=base_url, timeout=timeout) + super().__init__(api_key=api_key, headers=headers, base_url=base_url, timeout=timeout, logging=logging) self._async_token = async_token self.httpx_client = AsyncHttpClient( httpx_client=httpx_client, @@ -80,6 +89,7 @@ def __init__( base_timeout=self.get_timeout, base_url=self.get_base_url, async_base_headers=self.async_get_headers, + logging_config=self._logging, ) async def async_get_headers(self) -> typing.Dict[str, str]: diff --git a/src/elevenlabs/core/datetime_utils.py b/src/elevenlabs/core/datetime_utils.py index 7c9864a9..a12b2ad0 100644 --- a/src/elevenlabs/core/datetime_utils.py +++ b/src/elevenlabs/core/datetime_utils.py @@ -1,6 +1,48 @@ # This file was auto-generated by Fern from our API Definition. import datetime as dt +from email.utils import parsedate_to_datetime +from typing import Any + +import pydantic + +IS_PYDANTIC_V2 = pydantic.VERSION.startswith("2.") + + +def parse_rfc2822_datetime(v: Any) -> dt.datetime: + """ + Parse an RFC 2822 datetime string (e.g., "Wed, 02 Oct 2002 13:00:00 GMT") + into a datetime object. If the value is already a datetime, return it as-is. + Falls back to ISO 8601 parsing if RFC 2822 parsing fails. + """ + if isinstance(v, dt.datetime): + return v + if isinstance(v, str): + try: + return parsedate_to_datetime(v) + except Exception: + pass + # Fallback to ISO 8601 parsing + return dt.datetime.fromisoformat(v.replace("Z", "+00:00")) + raise ValueError(f"Expected str or datetime, got {type(v)}") + + +class Rfc2822DateTime(dt.datetime): + """A datetime subclass that parses RFC 2822 date strings. + + On Pydantic V1, uses __get_validators__ for pre-validation. + On Pydantic V2, uses __get_pydantic_core_schema__ for BeforeValidator-style parsing. + """ + + @classmethod + def __get_validators__(cls): # type: ignore[no-untyped-def] + yield parse_rfc2822_datetime + + @classmethod + def __get_pydantic_core_schema__(cls, _source_type: Any, _handler: Any) -> Any: # type: ignore[override] + from pydantic_core import core_schema + + return core_schema.no_info_before_validator_function(parse_rfc2822_datetime, core_schema.datetime_schema()) def serialize_datetime(v: dt.datetime) -> str: diff --git a/src/elevenlabs/core/http_client.py b/src/elevenlabs/core/http_client.py index f4a7c071..ee937589 100644 --- a/src/elevenlabs/core/http_client.py +++ b/src/elevenlabs/core/http_client.py @@ -5,7 +5,6 @@ import re import time import typing -import urllib.parse from contextlib import asynccontextmanager, contextmanager from random import random @@ -13,6 +12,7 @@ from .file import File, convert_file_dict_to_httpx_tuples from .force_multipart import FORCE_MULTIPART from .jsonable_encoder import jsonable_encoder +from .logging import LogConfig, Logger, create_logger from .query_encoder import encode_query from .remove_none_from_dict import remove_none_from_dict as remove_none_from_dict from .request_options import RequestOptions @@ -123,6 +123,56 @@ def _should_retry(response: httpx.Response) -> bool: return response.status_code >= 500 or response.status_code in retryable_400s +_SENSITIVE_HEADERS = frozenset( + { + "authorization", + "www-authenticate", + "x-api-key", + "api-key", + "apikey", + "x-api-token", + "x-auth-token", + "auth-token", + "cookie", + "set-cookie", + "proxy-authorization", + "proxy-authenticate", + "x-csrf-token", + "x-xsrf-token", + "x-session-token", + "x-access-token", + } +) + + +def _redact_headers(headers: typing.Dict[str, str]) -> typing.Dict[str, str]: + return {k: ("[REDACTED]" if k.lower() in _SENSITIVE_HEADERS else v) for k, v in headers.items()} + + +def _build_url(base_url: str, path: typing.Optional[str]) -> str: + """ + Build a full URL by joining a base URL with a path. + + This function correctly handles base URLs that contain path prefixes (e.g., tenant-based URLs) + by using string concatenation instead of urllib.parse.urljoin(), which would incorrectly + strip path components when the path starts with '/'. + + Example: + >>> _build_url("https://cloud.example.com/org/tenant/api", "/users") + 'https://cloud.example.com/org/tenant/api/users' + + Args: + base_url: The base URL, which may contain path prefixes. + path: The path to append. Can be None or empty string. + + Returns: + The full URL with base_url and path properly joined. + """ + if not path: + return base_url + return f"{base_url.rstrip('/')}/{path.lstrip('/')}" + + def _maybe_filter_none_from_multipart_data( data: typing.Optional[typing.Any], request_files: typing.Optional[RequestFiles], @@ -192,8 +242,19 @@ def get_request_body( # If both data and json are None, we send json data in the event extra properties are specified json_body = maybe_filter_request_body(json, request_options, omit) - # If you have an empty JSON body, you should just send None - return (json_body if json_body != {} else None), data_body if data_body != {} else None + has_additional_body_parameters = bool( + request_options is not None and request_options.get("additional_body_parameters") + ) + + # Only collapse empty dict to None when the body was not explicitly provided + # and there are no additional body parameters. This preserves explicit empty + # bodies (e.g., when an endpoint has a request body type but all fields are optional). + if json_body == {} and json is None and not has_additional_body_parameters: + json_body = None + if data_body == {} and data is None and not has_additional_body_parameters: + data_body = None + + return json_body, data_body class HttpClient: @@ -204,11 +265,13 @@ def __init__( base_timeout: typing.Callable[[], typing.Optional[float]], base_headers: typing.Callable[[], typing.Dict[str, str]], base_url: typing.Optional[typing.Callable[[], str]] = None, + logging_config: typing.Optional[typing.Union[LogConfig, Logger]] = None, ): self.base_url = base_url self.base_timeout = base_timeout self.base_headers = base_headers self.httpx_client = httpx_client + self.logger = create_logger(logging_config) def get_base_url(self, maybe_base_url: typing.Optional[str]) -> str: base_url = maybe_base_url @@ -237,7 +300,7 @@ def request( ] = None, headers: typing.Optional[typing.Dict[str, typing.Any]] = None, request_options: typing.Optional[RequestOptions] = None, - retries: int = 2, + retries: int = 0, omit: typing.Optional[typing.Any] = None, force_multipart: typing.Optional[bool] = None, ) -> httpx.Response: @@ -261,35 +324,51 @@ def request( data_body = _maybe_filter_none_from_multipart_data(data_body, request_files, force_multipart) - response = self.httpx_client.request( - method=method, - url=urllib.parse.urljoin(f"{base_url}/", path), - headers=jsonable_encoder( + # Compute encoded params separately to avoid passing empty list to httpx + # (httpx strips existing query params from URL when params=[] is passed) + _encoded_params = encode_query( + jsonable_encoder( remove_none_from_dict( - { - **self.base_headers(), - **(headers if headers is not None else {}), - **(request_options.get("additional_headers", {}) or {} if request_options is not None else {}), - } - ) - ), - params=encode_query( - jsonable_encoder( - remove_none_from_dict( - remove_omit_from_dict( - { - **(params if params is not None else {}), - **( - request_options.get("additional_query_parameters", {}) or {} - if request_options is not None - else {} - ), - }, - omit, - ) + remove_omit_from_dict( + { + **(params if params is not None else {}), + **( + request_options.get("additional_query_parameters", {}) or {} + if request_options is not None + else {} + ), + }, + omit, ) ) - ), + ) + ) + + _request_url = _build_url(base_url, path) + _request_headers = jsonable_encoder( + remove_none_from_dict( + { + **self.base_headers(), + **(headers if headers is not None else {}), + **(request_options.get("additional_headers", {}) or {} if request_options is not None else {}), + } + ) + ) + + if self.logger.is_debug(): + self.logger.debug( + "Making HTTP request", + method=method, + url=_request_url, + headers=_redact_headers(_request_headers), + has_body=json_body is not None or data_body is not None, + ) + + response = self.httpx_client.request( + method=method, + url=_request_url, + headers=_request_headers, + params=_encoded_params if _encoded_params else None, json=json_body, data=data_body, content=content, @@ -297,9 +376,9 @@ def request( timeout=timeout, ) - max_retries: int = request_options.get("max_retries", 0) if request_options is not None else 0 + max_retries: int = request_options.get("max_retries", 2) if request_options is not None else 2 if _should_retry(response=response): - if max_retries > retries: + if retries < max_retries: time.sleep(_retry_timeout(response=response, retries=retries)) return self.request( path=path, @@ -315,6 +394,24 @@ def request( omit=omit, ) + if self.logger.is_debug(): + if 200 <= response.status_code < 400: + self.logger.debug( + "HTTP request succeeded", + method=method, + url=_request_url, + status_code=response.status_code, + ) + + if self.logger.is_error(): + if response.status_code >= 400: + self.logger.error( + "HTTP request failed with error status", + method=method, + url=_request_url, + status_code=response.status_code, + ) + return response @contextmanager @@ -336,7 +433,7 @@ def stream( ] = None, headers: typing.Optional[typing.Dict[str, typing.Any]] = None, request_options: typing.Optional[RequestOptions] = None, - retries: int = 2, + retries: int = 0, omit: typing.Optional[typing.Any] = None, force_multipart: typing.Optional[bool] = None, ) -> typing.Iterator[httpx.Response]: @@ -360,35 +457,50 @@ def stream( data_body = _maybe_filter_none_from_multipart_data(data_body, request_files, force_multipart) - with self.httpx_client.stream( - method=method, - url=urllib.parse.urljoin(f"{base_url}/", path), - headers=jsonable_encoder( + # Compute encoded params separately to avoid passing empty list to httpx + # (httpx strips existing query params from URL when params=[] is passed) + _encoded_params = encode_query( + jsonable_encoder( remove_none_from_dict( - { - **self.base_headers(), - **(headers if headers is not None else {}), - **(request_options.get("additional_headers", {}) if request_options is not None else {}), - } - ) - ), - params=encode_query( - jsonable_encoder( - remove_none_from_dict( - remove_omit_from_dict( - { - **(params if params is not None else {}), - **( - request_options.get("additional_query_parameters", {}) - if request_options is not None - else {} - ), - }, - omit, - ) + remove_omit_from_dict( + { + **(params if params is not None else {}), + **( + request_options.get("additional_query_parameters", {}) + if request_options is not None + else {} + ), + }, + omit, ) ) - ), + ) + ) + + _request_url = _build_url(base_url, path) + _request_headers = jsonable_encoder( + remove_none_from_dict( + { + **self.base_headers(), + **(headers if headers is not None else {}), + **(request_options.get("additional_headers", {}) if request_options is not None else {}), + } + ) + ) + + if self.logger.is_debug(): + self.logger.debug( + "Making streaming HTTP request", + method=method, + url=_request_url, + headers=_redact_headers(_request_headers), + ) + + with self.httpx_client.stream( + method=method, + url=_request_url, + headers=_request_headers, + params=_encoded_params if _encoded_params else None, json=json_body, data=data_body, content=content, @@ -407,12 +519,14 @@ def __init__( base_headers: typing.Callable[[], typing.Dict[str, str]], base_url: typing.Optional[typing.Callable[[], str]] = None, async_base_headers: typing.Optional[typing.Callable[[], typing.Awaitable[typing.Dict[str, str]]]] = None, + logging_config: typing.Optional[typing.Union[LogConfig, Logger]] = None, ): self.base_url = base_url self.base_timeout = base_timeout self.base_headers = base_headers self.async_base_headers = async_base_headers self.httpx_client = httpx_client + self.logger = create_logger(logging_config) async def _get_headers(self) -> typing.Dict[str, str]: if self.async_base_headers is not None: @@ -446,7 +560,7 @@ async def request( ] = None, headers: typing.Optional[typing.Dict[str, typing.Any]] = None, request_options: typing.Optional[RequestOptions] = None, - retries: int = 2, + retries: int = 0, omit: typing.Optional[typing.Any] = None, force_multipart: typing.Optional[bool] = None, ) -> httpx.Response: @@ -473,36 +587,51 @@ async def request( # Get headers (supports async token providers) _headers = await self._get_headers() - # Add the input to each of these and do None-safety checks - response = await self.httpx_client.request( - method=method, - url=urllib.parse.urljoin(f"{base_url}/", path), - headers=jsonable_encoder( + # Compute encoded params separately to avoid passing empty list to httpx + # (httpx strips existing query params from URL when params=[] is passed) + _encoded_params = encode_query( + jsonable_encoder( remove_none_from_dict( - { - **_headers, - **(headers if headers is not None else {}), - **(request_options.get("additional_headers", {}) or {} if request_options is not None else {}), - } - ) - ), - params=encode_query( - jsonable_encoder( - remove_none_from_dict( - remove_omit_from_dict( - { - **(params if params is not None else {}), - **( - request_options.get("additional_query_parameters", {}) or {} - if request_options is not None - else {} - ), - }, - omit, - ) + remove_omit_from_dict( + { + **(params if params is not None else {}), + **( + request_options.get("additional_query_parameters", {}) or {} + if request_options is not None + else {} + ), + }, + omit, ) ) - ), + ) + ) + + _request_url = _build_url(base_url, path) + _request_headers = jsonable_encoder( + remove_none_from_dict( + { + **_headers, + **(headers if headers is not None else {}), + **(request_options.get("additional_headers", {}) or {} if request_options is not None else {}), + } + ) + ) + + if self.logger.is_debug(): + self.logger.debug( + "Making HTTP request", + method=method, + url=_request_url, + headers=_redact_headers(_request_headers), + has_body=json_body is not None or data_body is not None, + ) + + response = await self.httpx_client.request( + method=method, + url=_request_url, + headers=_request_headers, + params=_encoded_params if _encoded_params else None, json=json_body, data=data_body, content=content, @@ -510,9 +639,9 @@ async def request( timeout=timeout, ) - max_retries: int = request_options.get("max_retries", 0) if request_options is not None else 0 + max_retries: int = request_options.get("max_retries", 2) if request_options is not None else 2 if _should_retry(response=response): - if max_retries > retries: + if retries < max_retries: await asyncio.sleep(_retry_timeout(response=response, retries=retries)) return await self.request( path=path, @@ -527,6 +656,25 @@ async def request( retries=retries + 1, omit=omit, ) + + if self.logger.is_debug(): + if 200 <= response.status_code < 400: + self.logger.debug( + "HTTP request succeeded", + method=method, + url=_request_url, + status_code=response.status_code, + ) + + if self.logger.is_error(): + if response.status_code >= 400: + self.logger.error( + "HTTP request failed with error status", + method=method, + url=_request_url, + status_code=response.status_code, + ) + return response @asynccontextmanager @@ -548,7 +696,7 @@ async def stream( ] = None, headers: typing.Optional[typing.Dict[str, typing.Any]] = None, request_options: typing.Optional[RequestOptions] = None, - retries: int = 2, + retries: int = 0, omit: typing.Optional[typing.Any] = None, force_multipart: typing.Optional[bool] = None, ) -> typing.AsyncIterator[httpx.Response]: @@ -575,35 +723,50 @@ async def stream( # Get headers (supports async token providers) _headers = await self._get_headers() - async with self.httpx_client.stream( - method=method, - url=urllib.parse.urljoin(f"{base_url}/", path), - headers=jsonable_encoder( + # Compute encoded params separately to avoid passing empty list to httpx + # (httpx strips existing query params from URL when params=[] is passed) + _encoded_params = encode_query( + jsonable_encoder( remove_none_from_dict( - { - **_headers, - **(headers if headers is not None else {}), - **(request_options.get("additional_headers", {}) if request_options is not None else {}), - } - ) - ), - params=encode_query( - jsonable_encoder( - remove_none_from_dict( - remove_omit_from_dict( - { - **(params if params is not None else {}), - **( - request_options.get("additional_query_parameters", {}) - if request_options is not None - else {} - ), - }, - omit=omit, - ) + remove_omit_from_dict( + { + **(params if params is not None else {}), + **( + request_options.get("additional_query_parameters", {}) + if request_options is not None + else {} + ), + }, + omit=omit, ) ) - ), + ) + ) + + _request_url = _build_url(base_url, path) + _request_headers = jsonable_encoder( + remove_none_from_dict( + { + **_headers, + **(headers if headers is not None else {}), + **(request_options.get("additional_headers", {}) if request_options is not None else {}), + } + ) + ) + + if self.logger.is_debug(): + self.logger.debug( + "Making streaming HTTP request", + method=method, + url=_request_url, + headers=_redact_headers(_request_headers), + ) + + async with self.httpx_client.stream( + method=method, + url=_request_url, + headers=_request_headers, + params=_encoded_params if _encoded_params else None, json=json_body, data=data_body, content=content, diff --git a/src/elevenlabs/core/http_response.py b/src/elevenlabs/core/http_response.py index 2479747e..00bb1096 100644 --- a/src/elevenlabs/core/http_response.py +++ b/src/elevenlabs/core/http_response.py @@ -9,7 +9,7 @@ class BaseHttpResponse: - """Minimalist HTTP response wrapper that exposes response headers.""" + """Minimalist HTTP response wrapper that exposes response headers and status code.""" _response: httpx.Response @@ -20,6 +20,10 @@ def __init__(self, response: httpx.Response): def headers(self) -> Dict[str, str]: return dict(self._response.headers) + @property + def status_code(self) -> int: + return self._response.status_code + class HttpResponse(Generic[T], BaseHttpResponse): """HTTP response wrapper that exposes response headers and data.""" diff --git a/src/elevenlabs/core/jsonable_encoder.py b/src/elevenlabs/core/jsonable_encoder.py index afee3662..f8beaeaf 100644 --- a/src/elevenlabs/core/jsonable_encoder.py +++ b/src/elevenlabs/core/jsonable_encoder.py @@ -30,6 +30,10 @@ def jsonable_encoder(obj: Any, custom_encoder: Optional[Dict[Any, Callable[[Any], Any]]] = None) -> Any: custom_encoder = custom_encoder or {} + # Generated SDKs use Ellipsis (`...`) as the sentinel value for "OMIT". + # OMIT values should be excluded from serialized payloads. + if obj is Ellipsis: + return None if custom_encoder: if type(obj) in custom_encoder: return custom_encoder[type(obj)](obj) @@ -70,6 +74,8 @@ def jsonable_encoder(obj: Any, custom_encoder: Optional[Dict[Any, Callable[[Any] allowed_keys = set(obj.keys()) for key, value in obj.items(): if key in allowed_keys: + if value is Ellipsis: + continue encoded_key = jsonable_encoder(key, custom_encoder=custom_encoder) encoded_value = jsonable_encoder(value, custom_encoder=custom_encoder) encoded_dict[encoded_key] = encoded_value @@ -77,6 +83,8 @@ def jsonable_encoder(obj: Any, custom_encoder: Optional[Dict[Any, Callable[[Any] if isinstance(obj, (list, set, frozenset, GeneratorType, tuple)): encoded_list = [] for item in obj: + if item is Ellipsis: + continue encoded_list.append(jsonable_encoder(item, custom_encoder=custom_encoder)) return encoded_list diff --git a/src/elevenlabs/core/logging.py b/src/elevenlabs/core/logging.py new file mode 100644 index 00000000..e5e57245 --- /dev/null +++ b/src/elevenlabs/core/logging.py @@ -0,0 +1,107 @@ +# This file was auto-generated by Fern from our API Definition. + +import logging +import typing + +LogLevel = typing.Literal["debug", "info", "warn", "error"] + +_LOG_LEVEL_MAP: typing.Dict[LogLevel, int] = { + "debug": 1, + "info": 2, + "warn": 3, + "error": 4, +} + + +class ILogger(typing.Protocol): + def debug(self, message: str, **kwargs: typing.Any) -> None: ... + def info(self, message: str, **kwargs: typing.Any) -> None: ... + def warn(self, message: str, **kwargs: typing.Any) -> None: ... + def error(self, message: str, **kwargs: typing.Any) -> None: ... + + +class ConsoleLogger: + _logger: logging.Logger + + def __init__(self) -> None: + self._logger = logging.getLogger("fern") + if not self._logger.handlers: + handler = logging.StreamHandler() + handler.setFormatter(logging.Formatter("%(levelname)s - %(message)s")) + self._logger.addHandler(handler) + self._logger.setLevel(logging.DEBUG) + + def debug(self, message: str, **kwargs: typing.Any) -> None: + self._logger.debug(message, extra=kwargs) + + def info(self, message: str, **kwargs: typing.Any) -> None: + self._logger.info(message, extra=kwargs) + + def warn(self, message: str, **kwargs: typing.Any) -> None: + self._logger.warning(message, extra=kwargs) + + def error(self, message: str, **kwargs: typing.Any) -> None: + self._logger.error(message, extra=kwargs) + + +class LogConfig(typing.TypedDict, total=False): + level: LogLevel + logger: ILogger + silent: bool + + +class Logger: + _level: int + _logger: ILogger + _silent: bool + + def __init__(self, *, level: LogLevel, logger: ILogger, silent: bool) -> None: + self._level = _LOG_LEVEL_MAP[level] + self._logger = logger + self._silent = silent + + def _should_log(self, level: LogLevel) -> bool: + return not self._silent and self._level <= _LOG_LEVEL_MAP[level] + + def is_debug(self) -> bool: + return self._should_log("debug") + + def is_info(self) -> bool: + return self._should_log("info") + + def is_warn(self) -> bool: + return self._should_log("warn") + + def is_error(self) -> bool: + return self._should_log("error") + + def debug(self, message: str, **kwargs: typing.Any) -> None: + if self.is_debug(): + self._logger.debug(message, **kwargs) + + def info(self, message: str, **kwargs: typing.Any) -> None: + if self.is_info(): + self._logger.info(message, **kwargs) + + def warn(self, message: str, **kwargs: typing.Any) -> None: + if self.is_warn(): + self._logger.warn(message, **kwargs) + + def error(self, message: str, **kwargs: typing.Any) -> None: + if self.is_error(): + self._logger.error(message, **kwargs) + + +_default_logger: Logger = Logger(level="info", logger=ConsoleLogger(), silent=True) + + +def create_logger(config: typing.Optional[typing.Union[LogConfig, Logger]] = None) -> Logger: + if config is None: + return _default_logger + if isinstance(config, Logger): + return config + return Logger( + level=config.get("level", "info"), + logger=config.get("logger", ConsoleLogger()), + silent=config.get("silent", True), + ) diff --git a/src/elevenlabs/core/parse_error.py b/src/elevenlabs/core/parse_error.py new file mode 100644 index 00000000..4527c6a8 --- /dev/null +++ b/src/elevenlabs/core/parse_error.py @@ -0,0 +1,36 @@ +# This file was auto-generated by Fern from our API Definition. + +from typing import Any, Dict, Optional + + +class ParsingError(Exception): + """ + Raised when the SDK fails to parse/validate a response from the server. + This typically indicates that the server returned a response whose shape + does not match the expected schema. + """ + + headers: Optional[Dict[str, str]] + status_code: Optional[int] + body: Any + cause: Optional[Exception] + + def __init__( + self, + *, + headers: Optional[Dict[str, str]] = None, + status_code: Optional[int] = None, + body: Any = None, + cause: Optional[Exception] = None, + ) -> None: + self.headers = headers + self.status_code = status_code + self.body = body + self.cause = cause + super().__init__() + if cause is not None: + self.__cause__ = cause + + def __str__(self) -> str: + cause_str = f", cause: {self.cause}" if self.cause is not None else "" + return f"headers: {self.headers}, status_code: {self.status_code}, body: {self.body}{cause_str}" diff --git a/src/elevenlabs/core/pydantic_utilities.py b/src/elevenlabs/core/pydantic_utilities.py index 185e5c4f..fea3a08d 100644 --- a/src/elevenlabs/core/pydantic_utilities.py +++ b/src/elevenlabs/core/pydantic_utilities.py @@ -2,30 +2,129 @@ # nopycln: file import datetime as dt +import inspect +import json +import logging from collections import defaultdict -from typing import Any, Callable, ClassVar, Dict, List, Mapping, Optional, Set, Tuple, Type, TypeVar, Union, cast +from dataclasses import asdict +from typing import ( + TYPE_CHECKING, + Any, + Callable, + ClassVar, + Dict, + List, + Mapping, + Optional, + Set, + Tuple, + Type, + TypeVar, + Union, + cast, +) import pydantic +import typing_extensions +from pydantic.fields import FieldInfo as _FieldInfo + +_logger = logging.getLogger(__name__) + +if TYPE_CHECKING: + from .http_sse._models import ServerSentEvent IS_PYDANTIC_V2 = pydantic.VERSION.startswith("2.") if IS_PYDANTIC_V2: - from pydantic.v1.datetime_parse import parse_date as parse_date - from pydantic.v1.datetime_parse import parse_datetime as parse_datetime - from pydantic.v1.fields import ModelField as ModelField - from pydantic.v1.json import ENCODERS_BY_TYPE as encoders_by_type # type: ignore[attr-defined] - from pydantic.v1.typing import get_args as get_args - from pydantic.v1.typing import get_origin as get_origin - from pydantic.v1.typing import is_literal_type as is_literal_type - from pydantic.v1.typing import is_union as is_union + _datetime_adapter = pydantic.TypeAdapter(dt.datetime) # type: ignore[attr-defined] + _date_adapter = pydantic.TypeAdapter(dt.date) # type: ignore[attr-defined] + + def parse_datetime(value: Any) -> dt.datetime: # type: ignore[misc] + if isinstance(value, dt.datetime): + return value + return _datetime_adapter.validate_python(value) + + def parse_date(value: Any) -> dt.date: # type: ignore[misc] + if isinstance(value, dt.datetime): + return value.date() + if isinstance(value, dt.date): + return value + return _date_adapter.validate_python(value) + + # Avoid importing from pydantic.v1 to maintain Python 3.14 compatibility. + from typing import get_args as get_args # type: ignore[assignment] + from typing import get_origin as get_origin # type: ignore[assignment] + + def is_literal_type(tp: Optional[Type[Any]]) -> bool: # type: ignore[misc] + return typing_extensions.get_origin(tp) is typing_extensions.Literal + + def is_union(tp: Optional[Type[Any]]) -> bool: # type: ignore[misc] + return tp is Union or typing_extensions.get_origin(tp) is Union # type: ignore[comparison-overlap] + + # Inline encoders_by_type to avoid importing from pydantic.v1.json + import re as _re + from collections import deque as _deque + from decimal import Decimal as _Decimal + from enum import Enum as _Enum + from ipaddress import ( + IPv4Address as _IPv4Address, + ) + from ipaddress import ( + IPv4Interface as _IPv4Interface, + ) + from ipaddress import ( + IPv4Network as _IPv4Network, + ) + from ipaddress import ( + IPv6Address as _IPv6Address, + ) + from ipaddress import ( + IPv6Interface as _IPv6Interface, + ) + from ipaddress import ( + IPv6Network as _IPv6Network, + ) + from pathlib import Path as _Path + from types import GeneratorType as _GeneratorType + from uuid import UUID as _UUID + + from pydantic.fields import FieldInfo as ModelField # type: ignore[no-redef, assignment] + + def _decimal_encoder(dec_value: Any) -> Any: + if dec_value.as_tuple().exponent >= 0: + return int(dec_value) + return float(dec_value) + + encoders_by_type: Dict[Type[Any], Callable[[Any], Any]] = { # type: ignore[no-redef] + bytes: lambda o: o.decode(), + dt.date: lambda o: o.isoformat(), + dt.datetime: lambda o: o.isoformat(), + dt.time: lambda o: o.isoformat(), + dt.timedelta: lambda td: td.total_seconds(), + _Decimal: _decimal_encoder, + _Enum: lambda o: o.value, + frozenset: list, + _deque: list, + _GeneratorType: list, + _IPv4Address: str, + _IPv4Interface: str, + _IPv4Network: str, + _IPv6Address: str, + _IPv6Interface: str, + _IPv6Network: str, + _Path: str, + _re.Pattern: lambda o: o.pattern, + set: list, + _UUID: str, + } else: from pydantic.datetime_parse import parse_date as parse_date # type: ignore[no-redef] from pydantic.datetime_parse import parse_datetime as parse_datetime # type: ignore[no-redef] - from pydantic.fields import ModelField as ModelField # type: ignore[attr-defined, no-redef] + from pydantic.fields import ModelField as ModelField # type: ignore[attr-defined, no-redef, assignment] from pydantic.json import ENCODERS_BY_TYPE as encoders_by_type # type: ignore[no-redef] from pydantic.typing import get_args as get_args # type: ignore[no-redef] from pydantic.typing import get_origin as get_origin # type: ignore[no-redef] - from pydantic.typing import is_literal_type as is_literal_type # type: ignore[no-redef] + from pydantic.typing import is_literal_type as is_literal_type # type: ignore[no-redef, assignment] from pydantic.typing import is_union as is_union # type: ignore[no-redef] from .datetime_utils import serialize_datetime @@ -36,8 +135,212 @@ Model = TypeVar("Model", bound=pydantic.BaseModel) +def _get_discriminator_and_variants(type_: Type[Any]) -> Tuple[Optional[str], Optional[List[Type[Any]]]]: + """ + Extract the discriminator field name and union variants from a discriminated union type. + Supports Annotated[Union[...], Field(discriminator=...)] patterns. + Returns (discriminator, variants) or (None, None) if not a discriminated union. + """ + origin = typing_extensions.get_origin(type_) + + if origin is typing_extensions.Annotated: + args = typing_extensions.get_args(type_) + if len(args) >= 2: + inner_type = args[0] + # Check annotations for discriminator + discriminator = None + for annotation in args[1:]: + if hasattr(annotation, "discriminator"): + discriminator = getattr(annotation, "discriminator", None) + break + + if discriminator: + inner_origin = typing_extensions.get_origin(inner_type) + if inner_origin is Union: + variants = list(typing_extensions.get_args(inner_type)) + return discriminator, variants + return None, None + + +def _get_field_annotation(model: Type[Any], field_name: str) -> Optional[Type[Any]]: + """Get the type annotation of a field from a Pydantic model.""" + if IS_PYDANTIC_V2: + fields = getattr(model, "model_fields", {}) + field_info = fields.get(field_name) + if field_info: + return cast(Optional[Type[Any]], field_info.annotation) + else: + fields = getattr(model, "__fields__", {}) + field_info = fields.get(field_name) + if field_info: + return cast(Optional[Type[Any]], field_info.outer_type_) + return None + + +def _find_variant_by_discriminator( + variants: List[Type[Any]], + discriminator: str, + discriminator_value: Any, +) -> Optional[Type[Any]]: + """Find the union variant that matches the discriminator value.""" + for variant in variants: + if not (inspect.isclass(variant) and issubclass(variant, pydantic.BaseModel)): + continue + + disc_annotation = _get_field_annotation(variant, discriminator) + if disc_annotation and is_literal_type(disc_annotation): + literal_args = get_args(disc_annotation) + if literal_args and literal_args[0] == discriminator_value: + return variant + return None + + +def _is_string_type(type_: Type[Any]) -> bool: + """Check if a type is str or Optional[str].""" + if type_ is str: + return True + + origin = typing_extensions.get_origin(type_) + if origin is Union: + args = typing_extensions.get_args(type_) + # Optional[str] = Union[str, None] + non_none_args = [a for a in args if a is not type(None)] + if len(non_none_args) == 1 and non_none_args[0] is str: + return True + + return False + + +def parse_sse_obj(sse: "ServerSentEvent", type_: Type[T]) -> T: + """ + Parse a ServerSentEvent into the appropriate type. + + Handles two scenarios based on where the discriminator field is located: + + 1. Data-level discrimination: The discriminator (e.g., 'type') is inside the 'data' payload. + The union describes the data content, not the SSE envelope. + -> Returns: json.loads(data) parsed into the type + + Example: ChatStreamResponse with discriminator='type' + Input: ServerSentEvent(event="message", data='{"type": "content-delta", ...}', id="") + Output: ContentDeltaEvent (parsed from data, SSE envelope stripped) + + 2. Event-level discrimination: The discriminator (e.g., 'event') is at the SSE event level. + The union describes the full SSE event structure. + -> Returns: SSE envelope with 'data' field JSON-parsed only if the variant expects non-string + + Example: JobStreamResponse with discriminator='event' + Input: ServerSentEvent(event="ERROR", data='{"code": "FAILED", ...}', id="123") + Output: JobStreamResponse_Error with data as ErrorData object + + But for variants where data is str (like STATUS_UPDATE): + Input: ServerSentEvent(event="STATUS_UPDATE", data='{"status": "processing"}', id="1") + Output: JobStreamResponse_StatusUpdate with data as string (not parsed) + + Args: + sse: The ServerSentEvent object to parse + type_: The target discriminated union type + + Returns: + The parsed object of type T + + Note: + This function is only available in SDK contexts where http_sse module exists. + """ + sse_event = asdict(sse) + discriminator, variants = _get_discriminator_and_variants(type_) + + if discriminator is None or variants is None: + # Not a discriminated union - parse the data field as JSON + data_value = sse_event.get("data") + if isinstance(data_value, str) and data_value: + try: + parsed_data = json.loads(data_value) + return parse_obj_as(type_, parsed_data) + except json.JSONDecodeError as e: + _logger.warning( + "Failed to parse SSE data field as JSON: %s, data: %s", + e, + data_value[:100] if len(data_value) > 100 else data_value, + ) + return parse_obj_as(type_, sse_event) + + data_value = sse_event.get("data") + + # Check if discriminator is at the top level (event-level discrimination) + if discriminator in sse_event: + # Case 2: Event-level discrimination + # Find the matching variant to check if 'data' field needs JSON parsing + disc_value = sse_event.get(discriminator) + matching_variant = _find_variant_by_discriminator(variants, discriminator, disc_value) + + if matching_variant is not None: + # Check what type the variant expects for 'data' + data_type = _get_field_annotation(matching_variant, "data") + if data_type is not None and not _is_string_type(data_type): + # Variant expects non-string data - parse JSON + if isinstance(data_value, str) and data_value: + try: + parsed_data = json.loads(data_value) + new_object = dict(sse_event) + new_object["data"] = parsed_data + return parse_obj_as(type_, new_object) + except json.JSONDecodeError as e: + _logger.warning( + "Failed to parse SSE data field as JSON for event-level discrimination: %s, data: %s", + e, + data_value[:100] if len(data_value) > 100 else data_value, + ) + # Either no matching variant, data is string type, or JSON parse failed + return parse_obj_as(type_, sse_event) + + else: + # Case 1: Data-level discrimination + # The discriminator is inside the data payload - extract and parse data only + if isinstance(data_value, str) and data_value: + try: + parsed_data = json.loads(data_value) + return parse_obj_as(type_, parsed_data) + except json.JSONDecodeError as e: + _logger.warning( + "Failed to parse SSE data field as JSON for data-level discrimination: %s, data: %s", + e, + data_value[:100] if len(data_value) > 100 else data_value, + ) + return parse_obj_as(type_, sse_event) + + def parse_obj_as(type_: Type[T], object_: Any) -> T: - dealiased_object = convert_and_respect_annotation_metadata(object_=object_, annotation=type_, direction="read") + # convert_and_respect_annotation_metadata is required for TypedDict aliasing. + # + # For Pydantic models, whether we should pre-dealias depends on how the model encodes aliasing: + # - If the model uses real Pydantic aliases (pydantic.Field(alias=...)), then we must pass wire keys through + # unchanged so Pydantic can validate them. + # - If the model encodes aliasing only via FieldMetadata annotations, then we MUST pre-dealias because Pydantic + # will not recognize those aliases during validation. + if inspect.isclass(type_) and issubclass(type_, pydantic.BaseModel): + has_pydantic_aliases = False + if IS_PYDANTIC_V2: + for field_name, field_info in getattr(type_, "model_fields", {}).items(): # type: ignore[attr-defined] + alias = getattr(field_info, "alias", None) + if alias is not None and alias != field_name: + has_pydantic_aliases = True + break + else: + for field in getattr(type_, "__fields__", {}).values(): + alias = getattr(field, "alias", None) + name = getattr(field, "name", None) + if alias is not None and name is not None and alias != name: + has_pydantic_aliases = True + break + + dealiased_object = ( + object_ + if has_pydantic_aliases + else convert_and_respect_annotation_metadata(object_=object_, annotation=type_, direction="read") + ) + else: + dealiased_object = convert_and_respect_annotation_metadata(object_=object_, annotation=type_, direction="read") if IS_PYDANTIC_V2: adapter = pydantic.TypeAdapter(type_) # type: ignore[attr-defined] return adapter.validate_python(dealiased_object) @@ -59,6 +362,43 @@ class UniversalBaseModel(pydantic.BaseModel): protected_namespaces=(), ) + @pydantic.model_validator(mode="before") # type: ignore[attr-defined] + @classmethod + def _coerce_field_names_to_aliases(cls, data: Any) -> Any: + """ + Accept Python field names in input by rewriting them to their Pydantic aliases, + while avoiding silent collisions when a key could refer to multiple fields. + """ + if not isinstance(data, Mapping): + return data + + fields = getattr(cls, "model_fields", {}) # type: ignore[attr-defined] + name_to_alias: Dict[str, str] = {} + alias_to_name: Dict[str, str] = {} + + for name, field_info in fields.items(): + alias = getattr(field_info, "alias", None) or name + name_to_alias[name] = alias + if alias != name: + alias_to_name[alias] = name + + # Detect ambiguous keys: a key that is an alias for one field and a name for another. + ambiguous_keys = set(alias_to_name.keys()).intersection(set(name_to_alias.keys())) + for key in ambiguous_keys: + if key in data and name_to_alias[key] not in data: + raise ValueError( + f"Ambiguous input key '{key}': it is both a field name and an alias. " + "Provide the explicit alias key to disambiguate." + ) + + original_keys = set(data.keys()) + rewritten: Dict[str, Any] = dict(data) + for name, alias in name_to_alias.items(): + if alias != name and name in original_keys and alias not in rewritten: + rewritten[alias] = rewritten.pop(name) + + return rewritten + @pydantic.model_serializer(mode="plain", when_used="json") # type: ignore[attr-defined] def serialize_model(self) -> Any: # type: ignore[name-defined] serialized = self.dict() # type: ignore[attr-defined] @@ -71,6 +411,40 @@ class Config: smart_union = True json_encoders = {dt.datetime: serialize_datetime} + @pydantic.root_validator(pre=True) + def _coerce_field_names_to_aliases(cls, values: Any) -> Any: + """ + Pydantic v1 equivalent of _coerce_field_names_to_aliases. + """ + if not isinstance(values, Mapping): + return values + + fields = getattr(cls, "__fields__", {}) + name_to_alias: Dict[str, str] = {} + alias_to_name: Dict[str, str] = {} + + for name, field in fields.items(): + alias = getattr(field, "alias", None) or name + name_to_alias[name] = alias + if alias != name: + alias_to_name[alias] = name + + ambiguous_keys = set(alias_to_name.keys()).intersection(set(name_to_alias.keys())) + for key in ambiguous_keys: + if key in values and name_to_alias[key] not in values: + raise ValueError( + f"Ambiguous input key '{key}': it is both a field name and an alias. " + "Provide the explicit alias key to disambiguate." + ) + + original_keys = set(values.keys()) + rewritten: Dict[str, Any] = dict(values) + for name, alias in name_to_alias.items(): + if alias != name and name in original_keys and alias not in rewritten: + rewritten[alias] = rewritten.pop(name) + + return rewritten + @classmethod def model_construct(cls: Type["Model"], _fields_set: Optional[Set[str]] = None, **values: Any) -> "Model": dealiased_object = convert_and_respect_annotation_metadata(object_=values, annotation=cls, direction="read") @@ -237,7 +611,7 @@ def decorator(func: AnyCallable) -> AnyCallable: return decorator -PydanticField = Union[ModelField, pydantic.fields.FieldInfo] +PydanticField = Union[ModelField, _FieldInfo] def _get_model_fields(model: Type["Model"]) -> Mapping[str, PydanticField]: diff --git a/src/elevenlabs/core/unchecked_base_model.py b/src/elevenlabs/core/unchecked_base_model.py index 0a645e41..05b20639 100644 --- a/src/elevenlabs/core/unchecked_base_model.py +++ b/src/elevenlabs/core/unchecked_base_model.py @@ -7,7 +7,7 @@ import pydantic import typing_extensions -from .pydantic_utilities import ( +from .pydantic_utilities import ( # type: ignore[attr-defined] IS_PYDANTIC_V2, ModelField, UniversalBaseModel, @@ -19,7 +19,7 @@ parse_datetime, parse_obj_as, ) -from .serialization import convert_and_respect_annotation_metadata, get_field_to_alias_mapping +from .serialization import get_field_to_alias_mapping from pydantic_core import PydanticUndefined @@ -41,26 +41,6 @@ class UncheckedBaseModel(UniversalBaseModel): class Config: extra = pydantic.Extra.allow - if IS_PYDANTIC_V2: - - @classmethod - def model_validate( - cls: typing.Type["Model"], - obj: typing.Any, - *args: typing.Any, - **kwargs: typing.Any, - ) -> "Model": - """ - Ensure that when using Pydantic v2's `model_validate` entrypoint we still - respect our FieldMetadata-based aliasing. - """ - dealiased_obj = convert_and_respect_annotation_metadata( - object_=obj, - annotation=cls, - direction="read", - ) - return super().model_validate(dealiased_obj, *args, **kwargs) # type: ignore[misc] - @classmethod def model_construct( cls: typing.Type["Model"], @@ -368,7 +348,9 @@ def _get_is_populate_by_name(model: typing.Type["Model"]) -> bool: return model.__config__.allow_population_by_field_name # type: ignore # Pydantic v1 -PydanticField = typing.Union[ModelField, pydantic.fields.FieldInfo] +from pydantic.fields import FieldInfo as _FieldInfo + +PydanticField = typing.Union[ModelField, _FieldInfo] # Pydantic V1 swapped the typing of __fields__'s values from ModelField to FieldInfo diff --git a/src/elevenlabs/dubbing/__init__.py b/src/elevenlabs/dubbing/__init__.py index 40d057d0..a79ad346 100644 --- a/src/elevenlabs/dubbing/__init__.py +++ b/src/elevenlabs/dubbing/__init__.py @@ -10,6 +10,7 @@ DubbingCreateRequestMode, DubbingListRequestDubbingStatus, DubbingListRequestFilterByCreator, + DubbingListRequestOrderBy, DubbingListRequestOrderDirection, ) from . import audio, resource, transcript, transcripts @@ -19,6 +20,7 @@ "DubbingCreateRequestMode": ".types", "DubbingListRequestDubbingStatus": ".types", "DubbingListRequestFilterByCreator": ".types", + "DubbingListRequestOrderBy": ".types", "DubbingListRequestOrderDirection": ".types", "TranscriptGetTranscriptForDubRequestFormatType": ".transcript", "TranscriptGetTranscriptForDubResponse": ".transcript", @@ -55,6 +57,7 @@ def __dir__(): "DubbingCreateRequestMode", "DubbingListRequestDubbingStatus", "DubbingListRequestFilterByCreator", + "DubbingListRequestOrderBy", "DubbingListRequestOrderDirection", "TranscriptGetTranscriptForDubRequestFormatType", "TranscriptGetTranscriptForDubResponse", diff --git a/src/elevenlabs/dubbing/audio/raw_client.py b/src/elevenlabs/dubbing/audio/raw_client.py index 0dd63e41..5ab37236 100644 --- a/src/elevenlabs/dubbing/audio/raw_client.py +++ b/src/elevenlabs/dubbing/audio/raw_client.py @@ -8,6 +8,7 @@ from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse from ...core.jsonable_encoder import jsonable_encoder +from ...core.parse_error import ParsingError from ...core.request_options import RequestOptions from ...core.unchecked_base_model import construct_type from ...errors.forbidden_error import ForbiddenError @@ -15,6 +16,7 @@ from ...errors.too_early_error import TooEarlyError from ...errors.unprocessable_entity_error import UnprocessableEntityError from ...types.http_validation_error import HttpValidationError +from pydantic import ValidationError class RawAudioClient: @@ -107,6 +109,13 @@ def _stream() -> HttpResponse[typing.Iterator[bytes]]: raise ApiError( status_code=_response.status_code, headers=dict(_response.headers), body=_response.text ) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, + headers=dict(_response.headers), + body=_response.json(), + cause=e, + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) yield _stream() @@ -203,6 +212,13 @@ async def _stream() -> AsyncHttpResponse[typing.AsyncIterator[bytes]]: raise ApiError( status_code=_response.status_code, headers=dict(_response.headers), body=_response.text ) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, + headers=dict(_response.headers), + body=_response.json(), + cause=e, + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) yield await _stream() diff --git a/src/elevenlabs/dubbing/client.py b/src/elevenlabs/dubbing/client.py index f20bbece..493d210e 100644 --- a/src/elevenlabs/dubbing/client.py +++ b/src/elevenlabs/dubbing/client.py @@ -15,6 +15,7 @@ from .types.dubbing_create_request_mode import DubbingCreateRequestMode from .types.dubbing_list_request_dubbing_status import DubbingListRequestDubbingStatus from .types.dubbing_list_request_filter_by_creator import DubbingListRequestFilterByCreator +from .types.dubbing_list_request_order_by import DubbingListRequestOrderBy from .types.dubbing_list_request_order_direction import DubbingListRequestOrderDirection if typing.TYPE_CHECKING: @@ -53,7 +54,7 @@ def list( page_size: typing.Optional[int] = None, dubbing_status: typing.Optional[DubbingListRequestDubbingStatus] = None, filter_by_creator: typing.Optional[DubbingListRequestFilterByCreator] = None, - order_by: typing.Optional[typing.Literal["created_at"]] = None, + order_by: typing.Optional[DubbingListRequestOrderBy] = None, order_direction: typing.Optional[DubbingListRequestOrderDirection] = None, request_options: typing.Optional[RequestOptions] = None, ) -> DubbingMetadataPageResponseModel: @@ -74,7 +75,7 @@ def list( filter_by_creator : typing.Optional[DubbingListRequestFilterByCreator] Filters who created the resources being listed, whether it was the user running the request or someone else that shared the resource with them. - order_by : typing.Optional[typing.Literal["created_at"]] + order_by : typing.Optional[DubbingListRequestOrderBy] The field to use for ordering results from this query. order_direction : typing.Optional[DubbingListRequestOrderDirection] @@ -100,6 +101,7 @@ def list( page_size=1, dubbing_status="dubbing", filter_by_creator="personal", + order_by="created_at", order_direction="DESCENDING", ) """ @@ -372,7 +374,7 @@ async def list( page_size: typing.Optional[int] = None, dubbing_status: typing.Optional[DubbingListRequestDubbingStatus] = None, filter_by_creator: typing.Optional[DubbingListRequestFilterByCreator] = None, - order_by: typing.Optional[typing.Literal["created_at"]] = None, + order_by: typing.Optional[DubbingListRequestOrderBy] = None, order_direction: typing.Optional[DubbingListRequestOrderDirection] = None, request_options: typing.Optional[RequestOptions] = None, ) -> DubbingMetadataPageResponseModel: @@ -393,7 +395,7 @@ async def list( filter_by_creator : typing.Optional[DubbingListRequestFilterByCreator] Filters who created the resources being listed, whether it was the user running the request or someone else that shared the resource with them. - order_by : typing.Optional[typing.Literal["created_at"]] + order_by : typing.Optional[DubbingListRequestOrderBy] The field to use for ordering results from this query. order_direction : typing.Optional[DubbingListRequestOrderDirection] @@ -424,6 +426,7 @@ async def main() -> None: page_size=1, dubbing_status="dubbing", filter_by_creator="personal", + order_by="created_at", order_direction="DESCENDING", ) diff --git a/src/elevenlabs/dubbing/raw_client.py b/src/elevenlabs/dubbing/raw_client.py index 95572caf..70b791ff 100644 --- a/src/elevenlabs/dubbing/raw_client.py +++ b/src/elevenlabs/dubbing/raw_client.py @@ -8,6 +8,7 @@ from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ..core.http_response import AsyncHttpResponse, HttpResponse from ..core.jsonable_encoder import jsonable_encoder +from ..core.parse_error import ParsingError from ..core.request_options import RequestOptions from ..core.unchecked_base_model import construct_type from ..errors.unprocessable_entity_error import UnprocessableEntityError @@ -19,7 +20,9 @@ from .types.dubbing_create_request_mode import DubbingCreateRequestMode from .types.dubbing_list_request_dubbing_status import DubbingListRequestDubbingStatus from .types.dubbing_list_request_filter_by_creator import DubbingListRequestFilterByCreator +from .types.dubbing_list_request_order_by import DubbingListRequestOrderBy from .types.dubbing_list_request_order_direction import DubbingListRequestOrderDirection +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -36,7 +39,7 @@ def list( page_size: typing.Optional[int] = None, dubbing_status: typing.Optional[DubbingListRequestDubbingStatus] = None, filter_by_creator: typing.Optional[DubbingListRequestFilterByCreator] = None, - order_by: typing.Optional[typing.Literal["created_at"]] = None, + order_by: typing.Optional[DubbingListRequestOrderBy] = None, order_direction: typing.Optional[DubbingListRequestOrderDirection] = None, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[DubbingMetadataPageResponseModel]: @@ -57,7 +60,7 @@ def list( filter_by_creator : typing.Optional[DubbingListRequestFilterByCreator] Filters who created the resources being listed, whether it was the user running the request or someone else that shared the resource with them. - order_by : typing.Optional[typing.Literal["created_at"]] + order_by : typing.Optional[DubbingListRequestOrderBy] The field to use for ordering results from this query. order_direction : typing.Optional[DubbingListRequestOrderDirection] @@ -108,6 +111,10 @@ def list( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def create( @@ -263,6 +270,10 @@ def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def get( @@ -313,6 +324,10 @@ def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def delete( @@ -363,6 +378,10 @@ def delete( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -377,7 +396,7 @@ async def list( page_size: typing.Optional[int] = None, dubbing_status: typing.Optional[DubbingListRequestDubbingStatus] = None, filter_by_creator: typing.Optional[DubbingListRequestFilterByCreator] = None, - order_by: typing.Optional[typing.Literal["created_at"]] = None, + order_by: typing.Optional[DubbingListRequestOrderBy] = None, order_direction: typing.Optional[DubbingListRequestOrderDirection] = None, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[DubbingMetadataPageResponseModel]: @@ -398,7 +417,7 @@ async def list( filter_by_creator : typing.Optional[DubbingListRequestFilterByCreator] Filters who created the resources being listed, whether it was the user running the request or someone else that shared the resource with them. - order_by : typing.Optional[typing.Literal["created_at"]] + order_by : typing.Optional[DubbingListRequestOrderBy] The field to use for ordering results from this query. order_direction : typing.Optional[DubbingListRequestOrderDirection] @@ -449,6 +468,10 @@ async def list( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def create( @@ -604,6 +627,10 @@ async def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def get( @@ -654,6 +681,10 @@ async def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def delete( @@ -704,4 +735,8 @@ async def delete( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/dubbing/resource/language/raw_client.py b/src/elevenlabs/dubbing/resource/language/raw_client.py index 0f06f88a..5a23afd5 100644 --- a/src/elevenlabs/dubbing/resource/language/raw_client.py +++ b/src/elevenlabs/dubbing/resource/language/raw_client.py @@ -7,11 +7,13 @@ from ....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ....core.http_response import AsyncHttpResponse, HttpResponse from ....core.jsonable_encoder import jsonable_encoder +from ....core.parse_error import ParsingError from ....core.request_options import RequestOptions from ....core.unchecked_base_model import construct_type from ....errors.unprocessable_entity_error import UnprocessableEntityError from ....types.http_validation_error import HttpValidationError from ....types.language_added_response import LanguageAddedResponse +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -83,6 +85,10 @@ def add( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -152,4 +158,8 @@ async def add( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/dubbing/resource/raw_client.py b/src/elevenlabs/dubbing/resource/raw_client.py index 010c42f9..6f1a8cc3 100644 --- a/src/elevenlabs/dubbing/resource/raw_client.py +++ b/src/elevenlabs/dubbing/resource/raw_client.py @@ -7,6 +7,7 @@ from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse from ...core.jsonable_encoder import jsonable_encoder +from ...core.parse_error import ParsingError from ...core.request_options import RequestOptions from ...core.unchecked_base_model import construct_type from ...errors.unprocessable_entity_error import UnprocessableEntityError @@ -18,6 +19,7 @@ from ...types.segment_migration_response import SegmentMigrationResponse from ...types.segment_transcription_response import SegmentTranscriptionResponse from ...types.segment_translation_response import SegmentTranslationResponse +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -75,6 +77,10 @@ def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def migrate_segments( @@ -142,6 +148,10 @@ def migrate_segments( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def transcribe( @@ -206,6 +216,10 @@ def transcribe( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def translate( @@ -275,6 +289,10 @@ def translate( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def dub( @@ -344,6 +362,10 @@ def dub( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def render( @@ -417,6 +439,10 @@ def render( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -472,6 +498,10 @@ async def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def migrate_segments( @@ -539,6 +569,10 @@ async def migrate_segments( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def transcribe( @@ -603,6 +637,10 @@ async def transcribe( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def translate( @@ -672,6 +710,10 @@ async def translate( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def dub( @@ -741,6 +783,10 @@ async def dub( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def render( @@ -814,4 +860,8 @@ async def render( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/dubbing/resource/segment/raw_client.py b/src/elevenlabs/dubbing/resource/segment/raw_client.py index 70aa01d8..ff70a4d4 100644 --- a/src/elevenlabs/dubbing/resource/segment/raw_client.py +++ b/src/elevenlabs/dubbing/resource/segment/raw_client.py @@ -7,12 +7,14 @@ from ....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ....core.http_response import AsyncHttpResponse, HttpResponse from ....core.jsonable_encoder import jsonable_encoder +from ....core.parse_error import ParsingError from ....core.request_options import RequestOptions from ....core.unchecked_base_model import construct_type from ....errors.unprocessable_entity_error import UnprocessableEntityError from ....types.http_validation_error import HttpValidationError from ....types.segment_delete_response import SegmentDeleteResponse from ....types.segment_update_response import SegmentUpdateResponse +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -99,6 +101,10 @@ def update( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def delete( @@ -152,6 +158,10 @@ def delete( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -236,6 +246,10 @@ async def update( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def delete( @@ -289,4 +303,8 @@ async def delete( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/dubbing/resource/speaker/raw_client.py b/src/elevenlabs/dubbing/resource/speaker/raw_client.py index 3e84f53f..8da93d92 100644 --- a/src/elevenlabs/dubbing/resource/speaker/raw_client.py +++ b/src/elevenlabs/dubbing/resource/speaker/raw_client.py @@ -7,6 +7,7 @@ from ....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ....core.http_response import AsyncHttpResponse, HttpResponse from ....core.jsonable_encoder import jsonable_encoder +from ....core.parse_error import ParsingError from ....core.request_options import RequestOptions from ....core.unchecked_base_model import construct_type from ....errors.unprocessable_entity_error import UnprocessableEntityError @@ -14,6 +15,7 @@ from ....types.similar_voices_for_speaker_response import SimilarVoicesForSpeakerResponse from ....types.speaker_created_response import SpeakerCreatedResponse from ....types.speaker_updated_response import SpeakerUpdatedResponse +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -114,6 +116,10 @@ def update( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def create( @@ -196,6 +202,10 @@ def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def find_similar_voices( @@ -249,6 +259,10 @@ def find_similar_voices( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -347,6 +361,10 @@ async def update( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def create( @@ -429,6 +447,10 @@ async def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def find_similar_voices( @@ -482,4 +504,8 @@ async def find_similar_voices( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/dubbing/resource/speaker/segment/raw_client.py b/src/elevenlabs/dubbing/resource/speaker/segment/raw_client.py index 3ef77060..4cd98360 100644 --- a/src/elevenlabs/dubbing/resource/speaker/segment/raw_client.py +++ b/src/elevenlabs/dubbing/resource/speaker/segment/raw_client.py @@ -7,11 +7,13 @@ from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.parse_error import ParsingError from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from .....errors.unprocessable_entity_error import UnprocessableEntityError from .....types.http_validation_error import HttpValidationError from .....types.segment_create_response import SegmentCreateResponse +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -98,6 +100,10 @@ def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -182,4 +188,8 @@ async def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/dubbing/transcript/raw_client.py b/src/elevenlabs/dubbing/transcript/raw_client.py index 107bdca2..fbfb450d 100644 --- a/src/elevenlabs/dubbing/transcript/raw_client.py +++ b/src/elevenlabs/dubbing/transcript/raw_client.py @@ -7,6 +7,7 @@ from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse from ...core.jsonable_encoder import jsonable_encoder +from ...core.parse_error import ParsingError from ...core.request_options import RequestOptions from ...core.unchecked_base_model import construct_type from ...errors.forbidden_error import ForbiddenError @@ -16,6 +17,7 @@ from ...types.http_validation_error import HttpValidationError from .types.transcript_get_transcript_for_dub_request_format_type import TranscriptGetTranscriptForDubRequestFormatType from .types.transcript_get_transcript_for_dub_response import TranscriptGetTranscriptForDubResponse +from pydantic import ValidationError class RawTranscriptClient: @@ -117,6 +119,10 @@ def get_transcript_for_dub( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -219,4 +225,8 @@ async def get_transcript_for_dub( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/dubbing/transcripts/raw_client.py b/src/elevenlabs/dubbing/transcripts/raw_client.py index 9c02eabd..bee9c9ef 100644 --- a/src/elevenlabs/dubbing/transcripts/raw_client.py +++ b/src/elevenlabs/dubbing/transcripts/raw_client.py @@ -7,12 +7,14 @@ from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse from ...core.jsonable_encoder import jsonable_encoder +from ...core.parse_error import ParsingError from ...core.request_options import RequestOptions from ...core.unchecked_base_model import construct_type from ...errors.unprocessable_entity_error import UnprocessableEntityError from ...types.dubbing_transcripts_response_model import DubbingTranscriptsResponseModel from ...types.http_validation_error import HttpValidationError from .types.transcripts_get_request_format_type import TranscriptsGetRequestFormatType +from pydantic import ValidationError class RawTranscriptsClient: @@ -78,6 +80,10 @@ def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -144,4 +150,8 @@ async def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/dubbing/types/__init__.py b/src/elevenlabs/dubbing/types/__init__.py index 3cf50401..132940b3 100644 --- a/src/elevenlabs/dubbing/types/__init__.py +++ b/src/elevenlabs/dubbing/types/__init__.py @@ -9,11 +9,13 @@ from .dubbing_create_request_mode import DubbingCreateRequestMode from .dubbing_list_request_dubbing_status import DubbingListRequestDubbingStatus from .dubbing_list_request_filter_by_creator import DubbingListRequestFilterByCreator + from .dubbing_list_request_order_by import DubbingListRequestOrderBy from .dubbing_list_request_order_direction import DubbingListRequestOrderDirection _dynamic_imports: typing.Dict[str, str] = { "DubbingCreateRequestMode": ".dubbing_create_request_mode", "DubbingListRequestDubbingStatus": ".dubbing_list_request_dubbing_status", "DubbingListRequestFilterByCreator": ".dubbing_list_request_filter_by_creator", + "DubbingListRequestOrderBy": ".dubbing_list_request_order_by", "DubbingListRequestOrderDirection": ".dubbing_list_request_order_direction", } @@ -43,5 +45,6 @@ def __dir__(): "DubbingCreateRequestMode", "DubbingListRequestDubbingStatus", "DubbingListRequestFilterByCreator", + "DubbingListRequestOrderBy", "DubbingListRequestOrderDirection", ] diff --git a/src/elevenlabs/dubbing/types/dubbing_list_request_order_by.py b/src/elevenlabs/dubbing/types/dubbing_list_request_order_by.py new file mode 100644 index 00000000..9f54c373 --- /dev/null +++ b/src/elevenlabs/dubbing/types/dubbing_list_request_order_by.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +DubbingListRequestOrderBy = typing.Union[typing.Literal["created_at"], typing.Any] diff --git a/src/elevenlabs/forced_alignment/raw_client.py b/src/elevenlabs/forced_alignment/raw_client.py index 2f4c7d89..b73b8e59 100644 --- a/src/elevenlabs/forced_alignment/raw_client.py +++ b/src/elevenlabs/forced_alignment/raw_client.py @@ -7,11 +7,13 @@ from ..core.api_error import ApiError from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ..core.http_response import AsyncHttpResponse, HttpResponse +from ..core.parse_error import ParsingError from ..core.request_options import RequestOptions from ..core.unchecked_base_model import construct_type from ..errors.unprocessable_entity_error import UnprocessableEntityError from ..types.forced_alignment_response_model import ForcedAlignmentResponseModel from ..types.http_validation_error import HttpValidationError +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -89,6 +91,10 @@ def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -164,4 +170,8 @@ async def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/history/raw_client.py b/src/elevenlabs/history/raw_client.py index 8f52e75b..7b07cd12 100644 --- a/src/elevenlabs/history/raw_client.py +++ b/src/elevenlabs/history/raw_client.py @@ -8,6 +8,7 @@ from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ..core.http_response import AsyncHttpResponse, HttpResponse from ..core.jsonable_encoder import jsonable_encoder +from ..core.parse_error import ParsingError from ..core.request_options import RequestOptions from ..core.unchecked_base_model import construct_type from ..errors.bad_request_error import BadRequestError @@ -19,6 +20,7 @@ from ..types.speech_history_item_response import SpeechHistoryItemResponse from .types.history_list_request_sort_direction import HistoryListRequestSortDirection from .types.history_list_request_source import HistoryListRequestSource +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -122,6 +124,10 @@ def list( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def get( @@ -172,6 +178,10 @@ def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def delete( @@ -222,6 +232,10 @@ def delete( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @contextlib.contextmanager @@ -274,6 +288,13 @@ def _stream() -> HttpResponse[typing.Iterator[bytes]]: raise ApiError( status_code=_response.status_code, headers=dict(_response.headers), body=_response.text ) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, + headers=dict(_response.headers), + body=_response.json(), + cause=e, + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) yield _stream() @@ -354,6 +375,13 @@ def _stream() -> HttpResponse[typing.Iterator[bytes]]: raise ApiError( status_code=_response.status_code, headers=dict(_response.headers), body=_response.text ) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, + headers=dict(_response.headers), + body=_response.json(), + cause=e, + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) yield _stream() @@ -457,6 +485,10 @@ async def list( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def get( @@ -507,6 +539,10 @@ async def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def delete( @@ -557,6 +593,10 @@ async def delete( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @contextlib.asynccontextmanager @@ -610,6 +650,13 @@ async def _stream() -> AsyncHttpResponse[typing.AsyncIterator[bytes]]: raise ApiError( status_code=_response.status_code, headers=dict(_response.headers), body=_response.text ) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, + headers=dict(_response.headers), + body=_response.json(), + cause=e, + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) yield await _stream() @@ -691,6 +738,13 @@ async def _stream() -> AsyncHttpResponse[typing.AsyncIterator[bytes]]: raise ApiError( status_code=_response.status_code, headers=dict(_response.headers), body=_response.text ) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, + headers=dict(_response.headers), + body=_response.json(), + cause=e, + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) yield await _stream() diff --git a/src/elevenlabs/models/raw_client.py b/src/elevenlabs/models/raw_client.py index 51c72f21..a1b24fa8 100644 --- a/src/elevenlabs/models/raw_client.py +++ b/src/elevenlabs/models/raw_client.py @@ -6,11 +6,13 @@ from ..core.api_error import ApiError from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ..core.http_response import AsyncHttpResponse, HttpResponse +from ..core.parse_error import ParsingError from ..core.request_options import RequestOptions from ..core.unchecked_base_model import construct_type from ..errors.unprocessable_entity_error import UnprocessableEntityError from ..types.http_validation_error import HttpValidationError from ..types.model import Model +from pydantic import ValidationError class RawModelsClient: @@ -60,6 +62,10 @@ def list(self, *, request_options: typing.Optional[RequestOptions] = None) -> Ht _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -112,4 +118,8 @@ async def list( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/music/composition_plan/raw_client.py b/src/elevenlabs/music/composition_plan/raw_client.py index d2160d42..8f5d5b30 100644 --- a/src/elevenlabs/music/composition_plan/raw_client.py +++ b/src/elevenlabs/music/composition_plan/raw_client.py @@ -6,12 +6,14 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse +from ...core.parse_error import ParsingError from ...core.request_options import RequestOptions from ...core.serialization import convert_and_respect_annotation_metadata from ...core.unchecked_base_model import construct_type from ...errors.unprocessable_entity_error import UnprocessableEntityError from ...types.http_validation_error import HttpValidationError from ...types.music_prompt import MusicPrompt +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -96,6 +98,10 @@ def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -178,4 +184,8 @@ async def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/music/raw_client.py b/src/elevenlabs/music/raw_client.py index 699c5729..4e7455f3 100644 --- a/src/elevenlabs/music/raw_client.py +++ b/src/elevenlabs/music/raw_client.py @@ -8,6 +8,7 @@ from ..core.api_error import ApiError from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ..core.http_response import AsyncHttpResponse, HttpResponse +from ..core.parse_error import ParsingError from ..core.request_options import RequestOptions from ..core.serialization import convert_and_respect_annotation_metadata from ..core.unchecked_base_model import construct_type @@ -17,6 +18,7 @@ from ..types.music_prompt import MusicPrompt from ..types.music_upload_response import MusicUploadResponse from .types.music_separate_stems_request_stem_variation_id import MusicSeparateStemsRequestStemVariationId +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -135,6 +137,13 @@ def _stream() -> HttpResponse[typing.Iterator[bytes]]: raise ApiError( status_code=_response.status_code, headers=dict(_response.headers), body=_response.text ) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, + headers=dict(_response.headers), + body=_response.json(), + cause=e, + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) yield _stream() @@ -253,6 +262,13 @@ def _stream() -> HttpResponse[typing.Iterator[bytes]]: raise ApiError( status_code=_response.status_code, headers=dict(_response.headers), body=_response.text ) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, + headers=dict(_response.headers), + body=_response.json(), + cause=e, + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) yield _stream() @@ -356,6 +372,13 @@ def _stream() -> HttpResponse[typing.Iterator[bytes]]: raise ApiError( status_code=_response.status_code, headers=dict(_response.headers), body=_response.text ) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, + headers=dict(_response.headers), + body=_response.json(), + cause=e, + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) yield _stream() @@ -423,6 +446,10 @@ def upload( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @contextlib.contextmanager @@ -502,6 +529,13 @@ def _stream() -> HttpResponse[typing.Iterator[bytes]]: raise ApiError( status_code=_response.status_code, headers=dict(_response.headers), body=_response.text ) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, + headers=dict(_response.headers), + body=_response.json(), + cause=e, + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) yield _stream() @@ -621,6 +655,13 @@ async def _stream() -> AsyncHttpResponse[typing.AsyncIterator[bytes]]: raise ApiError( status_code=_response.status_code, headers=dict(_response.headers), body=_response.text ) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, + headers=dict(_response.headers), + body=_response.json(), + cause=e, + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) yield await _stream() @@ -740,6 +781,13 @@ async def _stream() -> AsyncHttpResponse[typing.AsyncIterator[bytes]]: raise ApiError( status_code=_response.status_code, headers=dict(_response.headers), body=_response.text ) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, + headers=dict(_response.headers), + body=_response.json(), + cause=e, + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) yield await _stream() @@ -844,6 +892,13 @@ async def _stream() -> AsyncHttpResponse[typing.AsyncIterator[bytes]]: raise ApiError( status_code=_response.status_code, headers=dict(_response.headers), body=_response.text ) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, + headers=dict(_response.headers), + body=_response.json(), + cause=e, + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) yield await _stream() @@ -911,6 +966,10 @@ async def upload( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @contextlib.asynccontextmanager @@ -991,6 +1050,13 @@ async def _stream() -> AsyncHttpResponse[typing.AsyncIterator[bytes]]: raise ApiError( status_code=_response.status_code, headers=dict(_response.headers), body=_response.text ) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, + headers=dict(_response.headers), + body=_response.json(), + cause=e, + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) yield await _stream() diff --git a/src/elevenlabs/pronunciation_dictionaries/raw_client.py b/src/elevenlabs/pronunciation_dictionaries/raw_client.py index d9fa657f..1fe76784 100644 --- a/src/elevenlabs/pronunciation_dictionaries/raw_client.py +++ b/src/elevenlabs/pronunciation_dictionaries/raw_client.py @@ -9,6 +9,7 @@ from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ..core.http_response import AsyncHttpResponse, HttpResponse from ..core.jsonable_encoder import jsonable_encoder +from ..core.parse_error import ParsingError from ..core.request_options import RequestOptions from ..core.serialization import convert_and_respect_annotation_metadata from ..core.unchecked_base_model import construct_type @@ -32,6 +33,7 @@ PronunciationDictionariesCreateFromFileRequestWorkspaceAccess, ) from .types.pronunciation_dictionaries_list_request_sort import PronunciationDictionariesListRequestSort +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -114,6 +116,10 @@ def create_from_file( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def create_from_rules( @@ -199,6 +205,10 @@ def create_from_rules( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def get( @@ -249,6 +259,10 @@ def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def update( @@ -318,6 +332,10 @@ def update( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @contextlib.contextmanager @@ -373,6 +391,13 @@ def _stream() -> HttpResponse[typing.Iterator[bytes]]: raise ApiError( status_code=_response.status_code, headers=dict(_response.headers), body=_response.text ) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, + headers=dict(_response.headers), + body=_response.json(), + cause=e, + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) yield _stream() @@ -446,6 +471,10 @@ def list( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -526,6 +555,10 @@ async def create_from_file( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def create_from_rules( @@ -611,6 +644,10 @@ async def create_from_rules( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def get( @@ -661,6 +698,10 @@ async def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def update( @@ -730,6 +771,10 @@ async def update( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @contextlib.asynccontextmanager @@ -786,6 +831,13 @@ async def _stream() -> AsyncHttpResponse[typing.AsyncIterator[bytes]]: raise ApiError( status_code=_response.status_code, headers=dict(_response.headers), body=_response.text ) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, + headers=dict(_response.headers), + body=_response.json(), + cause=e, + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) yield await _stream() @@ -859,4 +911,8 @@ async def list( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/pronunciation_dictionaries/rules/raw_client.py b/src/elevenlabs/pronunciation_dictionaries/rules/raw_client.py index b953fef8..aa5a6663 100644 --- a/src/elevenlabs/pronunciation_dictionaries/rules/raw_client.py +++ b/src/elevenlabs/pronunciation_dictionaries/rules/raw_client.py @@ -7,6 +7,7 @@ from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse from ...core.jsonable_encoder import jsonable_encoder +from ...core.parse_error import ParsingError from ...core.request_options import RequestOptions from ...core.serialization import convert_and_respect_annotation_metadata from ...core.unchecked_base_model import construct_type @@ -17,6 +18,7 @@ BodySetRulesOnThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdSetRulesPostRulesItem, ) from .types.pronunciation_dictionary_rule import PronunciationDictionaryRule +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -98,6 +100,10 @@ def set( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def add( @@ -166,6 +172,10 @@ def add( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def remove( @@ -230,6 +240,10 @@ def remove( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -309,6 +323,10 @@ async def set( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def add( @@ -377,6 +395,10 @@ async def add( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def remove( @@ -441,4 +463,8 @@ async def remove( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/raw_base_client.py b/src/elevenlabs/raw_base_client.py index b4c2fa10..3b3389b4 100644 --- a/src/elevenlabs/raw_base_client.py +++ b/src/elevenlabs/raw_base_client.py @@ -7,7 +7,9 @@ from .core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .core.http_response import AsyncHttpResponse, HttpResponse from .core.jsonable_encoder import jsonable_encoder +from .core.parse_error import ParsingError from .core.request_options import RequestOptions +from pydantic import ValidationError class RawBaseElevenLabs: @@ -42,6 +44,10 @@ def delete_v_1_convai_agents_agent_id_branches_branch_id( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def save_a_voice_preview(self, *, request_options: typing.Optional[RequestOptions] = None) -> HttpResponse[None]: @@ -68,6 +74,10 @@ def save_a_voice_preview(self, *, request_options: typing.Optional[RequestOption _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -103,6 +113,10 @@ async def delete_v_1_convai_agents_agent_id_branches_branch_id( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def save_a_voice_preview( @@ -131,4 +145,8 @@ async def save_a_voice_preview( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/samples/raw_client.py b/src/elevenlabs/samples/raw_client.py index b7ad25d7..42cda9c5 100644 --- a/src/elevenlabs/samples/raw_client.py +++ b/src/elevenlabs/samples/raw_client.py @@ -7,11 +7,13 @@ from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ..core.http_response import AsyncHttpResponse, HttpResponse from ..core.jsonable_encoder import jsonable_encoder +from ..core.parse_error import ParsingError from ..core.request_options import RequestOptions from ..core.unchecked_base_model import construct_type from ..errors.unprocessable_entity_error import UnprocessableEntityError from ..types.delete_sample_response import DeleteSampleResponse from ..types.http_validation_error import HttpValidationError +from pydantic import ValidationError class RawSamplesClient: @@ -69,6 +71,10 @@ def delete( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -127,4 +133,8 @@ async def delete( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/service_accounts/__init__.py b/src/elevenlabs/service_accounts/__init__.py index 1e822dd9..10918b8d 100644 --- a/src/elevenlabs/service_accounts/__init__.py +++ b/src/elevenlabs/service_accounts/__init__.py @@ -9,11 +9,15 @@ from . import api_keys from .api_keys import ( BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions, + BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsOne, BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions, + BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsOne, ) _dynamic_imports: typing.Dict[str, str] = { "BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions": ".api_keys", + "BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsOne": ".api_keys", "BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions": ".api_keys", + "BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsOne": ".api_keys", "api_keys": ".api_keys", } @@ -41,6 +45,8 @@ def __dir__(): __all__ = [ "BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions", + "BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsOne", "BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions", + "BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsOne", "api_keys", ] diff --git a/src/elevenlabs/service_accounts/api_keys/__init__.py b/src/elevenlabs/service_accounts/api_keys/__init__.py index 23c0a552..d716a9da 100644 --- a/src/elevenlabs/service_accounts/api_keys/__init__.py +++ b/src/elevenlabs/service_accounts/api_keys/__init__.py @@ -8,11 +8,15 @@ if typing.TYPE_CHECKING: from .types import ( BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions, + BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsOne, BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions, + BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsOne, ) _dynamic_imports: typing.Dict[str, str] = { "BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions": ".types", + "BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsOne": ".types", "BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions": ".types", + "BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsOne": ".types", } @@ -39,5 +43,7 @@ def __dir__(): __all__ = [ "BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions", + "BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsOne", "BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions", + "BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsOne", ] diff --git a/src/elevenlabs/service_accounts/api_keys/client.py b/src/elevenlabs/service_accounts/api_keys/client.py index e492e758..37c5b218 100644 --- a/src/elevenlabs/service_accounts/api_keys/client.py +++ b/src/elevenlabs/service_accounts/api_keys/client.py @@ -107,6 +107,7 @@ def create( client.service_accounts.api_keys.create( service_account_user_id="service_account_user_id", name="name", + permissions="all", ) """ _response = self._raw_client.create( @@ -205,6 +206,7 @@ def update( api_key_id="api_key_id", is_enabled=True, name="Sneaky Fox", + permissions="all", ) """ _response = self._raw_client.update( @@ -321,6 +323,7 @@ async def main() -> None: await client.service_accounts.api_keys.create( service_account_user_id="service_account_user_id", name="name", + permissions="all", ) @@ -435,6 +438,7 @@ async def main() -> None: api_key_id="api_key_id", is_enabled=True, name="Sneaky Fox", + permissions="all", ) diff --git a/src/elevenlabs/service_accounts/api_keys/raw_client.py b/src/elevenlabs/service_accounts/api_keys/raw_client.py index 5853780b..544d6495 100644 --- a/src/elevenlabs/service_accounts/api_keys/raw_client.py +++ b/src/elevenlabs/service_accounts/api_keys/raw_client.py @@ -7,6 +7,7 @@ from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse from ...core.jsonable_encoder import jsonable_encoder +from ...core.parse_error import ParsingError from ...core.request_options import RequestOptions from ...core.serialization import convert_and_respect_annotation_metadata from ...core.unchecked_base_model import construct_type @@ -20,6 +21,7 @@ from .types.body_edit_service_account_api_key_v_1_service_accounts_service_account_user_id_api_keys_api_key_id_patch_permissions import ( BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions, ) +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -76,6 +78,10 @@ def list( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def create( @@ -152,6 +158,10 @@ def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def delete( @@ -205,6 +215,10 @@ def delete( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def update( @@ -292,6 +306,10 @@ def update( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -346,6 +364,10 @@ async def list( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def create( @@ -422,6 +444,10 @@ async def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def delete( @@ -475,6 +501,10 @@ async def delete( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def update( @@ -562,4 +592,8 @@ async def update( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/service_accounts/api_keys/types/__init__.py b/src/elevenlabs/service_accounts/api_keys/types/__init__.py index 0f57c4d6..9124e338 100644 --- a/src/elevenlabs/service_accounts/api_keys/types/__init__.py +++ b/src/elevenlabs/service_accounts/api_keys/types/__init__.py @@ -9,12 +9,20 @@ from .body_create_service_account_api_key_v_1_service_accounts_service_account_user_id_api_keys_post_permissions import ( BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions, ) + from .body_create_service_account_api_key_v_1_service_accounts_service_account_user_id_api_keys_post_permissions_one import ( + BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsOne, + ) from .body_edit_service_account_api_key_v_1_service_accounts_service_account_user_id_api_keys_api_key_id_patch_permissions import ( BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions, ) + from .body_edit_service_account_api_key_v_1_service_accounts_service_account_user_id_api_keys_api_key_id_patch_permissions_one import ( + BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsOne, + ) _dynamic_imports: typing.Dict[str, str] = { "BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions": ".body_create_service_account_api_key_v_1_service_accounts_service_account_user_id_api_keys_post_permissions", + "BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsOne": ".body_create_service_account_api_key_v_1_service_accounts_service_account_user_id_api_keys_post_permissions_one", "BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions": ".body_edit_service_account_api_key_v_1_service_accounts_service_account_user_id_api_keys_api_key_id_patch_permissions", + "BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsOne": ".body_edit_service_account_api_key_v_1_service_accounts_service_account_user_id_api_keys_api_key_id_patch_permissions_one", } @@ -41,5 +49,7 @@ def __dir__(): __all__ = [ "BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions", + "BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsOne", "BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions", + "BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsOne", ] diff --git a/src/elevenlabs/service_accounts/api_keys/types/body_create_service_account_api_key_v_1_service_accounts_service_account_user_id_api_keys_post_permissions.py b/src/elevenlabs/service_accounts/api_keys/types/body_create_service_account_api_key_v_1_service_accounts_service_account_user_id_api_keys_post_permissions.py index 69121868..d663e3fa 100644 --- a/src/elevenlabs/service_accounts/api_keys/types/body_create_service_account_api_key_v_1_service_accounts_service_account_user_id_api_keys_post_permissions.py +++ b/src/elevenlabs/service_accounts/api_keys/types/body_create_service_account_api_key_v_1_service_accounts_service_account_user_id_api_keys_post_permissions.py @@ -3,7 +3,11 @@ import typing from ....types.permission_type import PermissionType +from .body_create_service_account_api_key_v_1_service_accounts_service_account_user_id_api_keys_post_permissions_one import ( + BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsOne, +) BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions = typing.Union[ - typing.List[PermissionType], typing.Literal["all"] + typing.List[PermissionType], + BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsOne, ] diff --git a/src/elevenlabs/service_accounts/api_keys/types/body_create_service_account_api_key_v_1_service_accounts_service_account_user_id_api_keys_post_permissions_one.py b/src/elevenlabs/service_accounts/api_keys/types/body_create_service_account_api_key_v_1_service_accounts_service_account_user_id_api_keys_post_permissions_one.py new file mode 100644 index 00000000..bca915f5 --- /dev/null +++ b/src/elevenlabs/service_accounts/api_keys/types/body_create_service_account_api_key_v_1_service_accounts_service_account_user_id_api_keys_post_permissions_one.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsOne = typing.Union[ + typing.Literal["all"], typing.Any +] diff --git a/src/elevenlabs/service_accounts/api_keys/types/body_edit_service_account_api_key_v_1_service_accounts_service_account_user_id_api_keys_api_key_id_patch_permissions.py b/src/elevenlabs/service_accounts/api_keys/types/body_edit_service_account_api_key_v_1_service_accounts_service_account_user_id_api_keys_api_key_id_patch_permissions.py index 41139aa3..36061af1 100644 --- a/src/elevenlabs/service_accounts/api_keys/types/body_edit_service_account_api_key_v_1_service_accounts_service_account_user_id_api_keys_api_key_id_patch_permissions.py +++ b/src/elevenlabs/service_accounts/api_keys/types/body_edit_service_account_api_key_v_1_service_accounts_service_account_user_id_api_keys_api_key_id_patch_permissions.py @@ -3,7 +3,11 @@ import typing from ....types.permission_type import PermissionType +from .body_edit_service_account_api_key_v_1_service_accounts_service_account_user_id_api_keys_api_key_id_patch_permissions_one import ( + BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsOne, +) BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions = typing.Union[ - typing.List[PermissionType], typing.Literal["all"] + typing.List[PermissionType], + BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsOne, ] diff --git a/src/elevenlabs/service_accounts/api_keys/types/body_edit_service_account_api_key_v_1_service_accounts_service_account_user_id_api_keys_api_key_id_patch_permissions_one.py b/src/elevenlabs/service_accounts/api_keys/types/body_edit_service_account_api_key_v_1_service_accounts_service_account_user_id_api_keys_api_key_id_patch_permissions_one.py new file mode 100644 index 00000000..3dcbc133 --- /dev/null +++ b/src/elevenlabs/service_accounts/api_keys/types/body_edit_service_account_api_key_v_1_service_accounts_service_account_user_id_api_keys_api_key_id_patch_permissions_one.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsOne = typing.Union[ + typing.Literal["all"], typing.Any +] diff --git a/src/elevenlabs/service_accounts/raw_client.py b/src/elevenlabs/service_accounts/raw_client.py index 15df0f45..37a325da 100644 --- a/src/elevenlabs/service_accounts/raw_client.py +++ b/src/elevenlabs/service_accounts/raw_client.py @@ -6,11 +6,13 @@ from ..core.api_error import ApiError from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ..core.http_response import AsyncHttpResponse, HttpResponse +from ..core.parse_error import ParsingError from ..core.request_options import RequestOptions from ..core.unchecked_base_model import construct_type from ..errors.unprocessable_entity_error import UnprocessableEntityError from ..types.http_validation_error import HttpValidationError from ..types.workspace_service_account_list_response_model import WorkspaceServiceAccountListResponseModel +from pydantic import ValidationError class RawServiceAccountsClient: @@ -62,6 +64,10 @@ def list( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -114,4 +120,8 @@ async def list( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/speech_to_speech/raw_client.py b/src/elevenlabs/speech_to_speech/raw_client.py index e6e47f63..9dbb02aa 100644 --- a/src/elevenlabs/speech_to_speech/raw_client.py +++ b/src/elevenlabs/speech_to_speech/raw_client.py @@ -9,6 +9,7 @@ from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ..core.http_response import AsyncHttpResponse, HttpResponse from ..core.jsonable_encoder import jsonable_encoder +from ..core.parse_error import ParsingError from ..core.request_options import RequestOptions from ..core.unchecked_base_model import construct_type from ..errors.unprocessable_entity_error import UnprocessableEntityError @@ -17,6 +18,7 @@ from .types.speech_to_speech_convert_request_output_format import SpeechToSpeechConvertRequestOutputFormat from .types.speech_to_speech_stream_request_file_format import SpeechToSpeechStreamRequestFileFormat from .types.speech_to_speech_stream_request_output_format import SpeechToSpeechStreamRequestOutputFormat +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -139,6 +141,13 @@ def _stream() -> HttpResponse[typing.Iterator[bytes]]: raise ApiError( status_code=_response.status_code, headers=dict(_response.headers), body=_response.text ) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, + headers=dict(_response.headers), + body=_response.json(), + cause=e, + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) yield _stream() @@ -256,6 +265,13 @@ def _stream() -> HttpResponse[typing.Iterator[bytes]]: raise ApiError( status_code=_response.status_code, headers=dict(_response.headers), body=_response.text ) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, + headers=dict(_response.headers), + body=_response.json(), + cause=e, + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) yield _stream() @@ -379,6 +395,13 @@ async def _stream() -> AsyncHttpResponse[typing.AsyncIterator[bytes]]: raise ApiError( status_code=_response.status_code, headers=dict(_response.headers), body=_response.text ) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, + headers=dict(_response.headers), + body=_response.json(), + cause=e, + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) yield await _stream() @@ -497,6 +520,13 @@ async def _stream() -> AsyncHttpResponse[typing.AsyncIterator[bytes]]: raise ApiError( status_code=_response.status_code, headers=dict(_response.headers), body=_response.text ) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, + headers=dict(_response.headers), + body=_response.json(), + cause=e, + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) yield await _stream() diff --git a/src/elevenlabs/speech_to_text/raw_client.py b/src/elevenlabs/speech_to_text/raw_client.py index 01d11351..33d4d903 100644 --- a/src/elevenlabs/speech_to_text/raw_client.py +++ b/src/elevenlabs/speech_to_text/raw_client.py @@ -9,6 +9,7 @@ from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ..core.http_response import AsyncHttpResponse, HttpResponse from ..core.jsonable_encoder import jsonable_encoder +from ..core.parse_error import ParsingError from ..core.request_options import RequestOptions from ..core.unchecked_base_model import construct_type from ..errors.unprocessable_entity_error import UnprocessableEntityError @@ -20,6 +21,7 @@ from .types.speech_to_text_convert_request_timestamps_granularity import SpeechToTextConvertRequestTimestampsGranularity from .types.speech_to_text_convert_request_webhook_metadata import SpeechToTextConvertRequestWebhookMetadata from .types.speech_to_text_convert_response import SpeechToTextConvertResponse +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -152,10 +154,10 @@ def convert( "temperature": temperature, "seed": seed, "use_multi_channel": use_multi_channel, - "webhook_metadata": webhook_metadata, - "entity_detection": entity_detection, + "webhook_metadata": json.dumps(jsonable_encoder(webhook_metadata)), + "entity_detection": json.dumps(jsonable_encoder(entity_detection)), "no_verbatim": no_verbatim, - "keyterms": keyterms, + "keyterms": json.dumps(jsonable_encoder(keyterms)), }, files={ **({"file": file} if file is not None else {}), @@ -193,6 +195,10 @@ def convert( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -323,10 +329,10 @@ async def convert( "temperature": temperature, "seed": seed, "use_multi_channel": use_multi_channel, - "webhook_metadata": webhook_metadata, - "entity_detection": entity_detection, + "webhook_metadata": json.dumps(jsonable_encoder(webhook_metadata)), + "entity_detection": json.dumps(jsonable_encoder(entity_detection)), "no_verbatim": no_verbatim, - "keyterms": keyterms, + "keyterms": json.dumps(jsonable_encoder(keyterms)), }, files={ **({"file": file} if file is not None else {}), @@ -364,4 +370,8 @@ async def convert( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/speech_to_text/transcripts/raw_client.py b/src/elevenlabs/speech_to_text/transcripts/raw_client.py index 189f6e67..618810fe 100644 --- a/src/elevenlabs/speech_to_text/transcripts/raw_client.py +++ b/src/elevenlabs/speech_to_text/transcripts/raw_client.py @@ -7,6 +7,7 @@ from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse from ...core.jsonable_encoder import jsonable_encoder +from ...core.parse_error import ParsingError from ...core.request_options import RequestOptions from ...core.unchecked_base_model import construct_type from ...errors.not_found_error import NotFoundError @@ -14,6 +15,7 @@ from ...errors.unprocessable_entity_error import UnprocessableEntityError from ...types.http_validation_error import HttpValidationError from .types.transcripts_get_response import TranscriptsGetResponse +from pydantic import ValidationError class RawTranscriptsClient: @@ -90,6 +92,10 @@ def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def delete( @@ -153,6 +159,10 @@ def delete( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -230,6 +240,10 @@ async def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def delete( @@ -293,4 +307,8 @@ async def delete( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/studio/client.py b/src/elevenlabs/studio/client.py index acada620..9dab3074 100644 --- a/src/elevenlabs/studio/client.py +++ b/src/elevenlabs/studio/client.py @@ -194,7 +194,6 @@ def create_podcast( api_key="YOUR_API_KEY", ) client.studio.create_podcast( - safety_identifier="safety-identifier", model_id="eleven_multilingual_v2", mode=BodyCreatePodcastV1StudioPodcastsPostMode_Conversation( conversation=PodcastConversationModeData( @@ -203,6 +202,7 @@ def create_podcast( ), ), source=PodcastTextSource( + type="text", text="This is a test podcast.", ), ) @@ -407,7 +407,6 @@ async def create_podcast( async def main() -> None: await client.studio.create_podcast( - safety_identifier="safety-identifier", model_id="eleven_multilingual_v2", mode=BodyCreatePodcastV1StudioPodcastsPostMode_Conversation( conversation=PodcastConversationModeData( @@ -416,6 +415,7 @@ async def main() -> None: ), ), source=PodcastTextSource( + type="text", text="This is a test podcast.", ), ) diff --git a/src/elevenlabs/studio/projects/chapters/raw_client.py b/src/elevenlabs/studio/projects/chapters/raw_client.py index 40ce2a3b..fba0111e 100644 --- a/src/elevenlabs/studio/projects/chapters/raw_client.py +++ b/src/elevenlabs/studio/projects/chapters/raw_client.py @@ -7,6 +7,7 @@ from ....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ....core.http_response import AsyncHttpResponse, HttpResponse from ....core.jsonable_encoder import jsonable_encoder +from ....core.parse_error import ParsingError from ....core.request_options import RequestOptions from ....core.serialization import convert_and_respect_annotation_metadata from ....core.unchecked_base_model import construct_type @@ -19,6 +20,7 @@ from ....types.edit_chapter_response_model import EditChapterResponseModel from ....types.get_chapters_response import GetChaptersResponse from ....types.http_validation_error import HttpValidationError +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -76,6 +78,10 @@ def list( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def create( @@ -145,6 +151,10 @@ def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def get( @@ -198,6 +208,10 @@ def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def update( @@ -273,6 +287,10 @@ def update( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def delete( @@ -326,6 +344,10 @@ def delete( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def convert( @@ -379,6 +401,10 @@ def convert( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -434,6 +460,10 @@ async def list( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def create( @@ -503,6 +533,10 @@ async def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def get( @@ -556,6 +590,10 @@ async def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def update( @@ -631,6 +669,10 @@ async def update( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def delete( @@ -684,6 +726,10 @@ async def delete( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def convert( @@ -737,4 +783,8 @@ async def convert( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/studio/projects/chapters/snapshots/raw_client.py b/src/elevenlabs/studio/projects/chapters/snapshots/raw_client.py index b2803943..4a79a754 100644 --- a/src/elevenlabs/studio/projects/chapters/snapshots/raw_client.py +++ b/src/elevenlabs/studio/projects/chapters/snapshots/raw_client.py @@ -8,12 +8,14 @@ from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.parse_error import ParsingError from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from .....errors.unprocessable_entity_error import UnprocessableEntityError from .....types.chapter_snapshot_extended_response_model import ChapterSnapshotExtendedResponseModel from .....types.chapter_snapshots_response import ChapterSnapshotsResponse from .....types.http_validation_error import HttpValidationError +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -74,6 +76,10 @@ def list( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def get( @@ -135,6 +141,10 @@ def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @contextlib.contextmanager @@ -209,6 +219,13 @@ def _stream() -> HttpResponse[typing.Iterator[bytes]]: raise ApiError( status_code=_response.status_code, headers=dict(_response.headers), body=_response.text ) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, + headers=dict(_response.headers), + body=_response.json(), + cause=e, + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) yield _stream() @@ -269,6 +286,10 @@ async def list( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def get( @@ -330,6 +351,10 @@ async def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @contextlib.asynccontextmanager @@ -405,6 +430,13 @@ async def _stream() -> AsyncHttpResponse[typing.AsyncIterator[bytes]]: raise ApiError( status_code=_response.status_code, headers=dict(_response.headers), body=_response.text ) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, + headers=dict(_response.headers), + body=_response.json(), + cause=e, + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) yield await _stream() diff --git a/src/elevenlabs/studio/projects/content/raw_client.py b/src/elevenlabs/studio/projects/content/raw_client.py index ae369538..f9510102 100644 --- a/src/elevenlabs/studio/projects/content/raw_client.py +++ b/src/elevenlabs/studio/projects/content/raw_client.py @@ -8,11 +8,13 @@ from ....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ....core.http_response import AsyncHttpResponse, HttpResponse from ....core.jsonable_encoder import jsonable_encoder +from ....core.parse_error import ParsingError from ....core.request_options import RequestOptions from ....core.unchecked_base_model import construct_type from ....errors.unprocessable_entity_error import UnprocessableEntityError from ....types.edit_project_response_model import EditProjectResponseModel from ....types.http_validation_error import HttpValidationError +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -104,6 +106,10 @@ def update( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -193,4 +199,8 @@ async def update( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/studio/projects/pronunciation_dictionaries/raw_client.py b/src/elevenlabs/studio/projects/pronunciation_dictionaries/raw_client.py index ebb7e7f7..99fa7174 100644 --- a/src/elevenlabs/studio/projects/pronunciation_dictionaries/raw_client.py +++ b/src/elevenlabs/studio/projects/pronunciation_dictionaries/raw_client.py @@ -7,6 +7,7 @@ from ....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ....core.http_response import AsyncHttpResponse, HttpResponse from ....core.jsonable_encoder import jsonable_encoder +from ....core.parse_error import ParsingError from ....core.request_options import RequestOptions from ....core.serialization import convert_and_respect_annotation_metadata from ....core.unchecked_base_model import construct_type @@ -14,6 +15,7 @@ from ....types.create_pronunciation_dictionary_response_model import CreatePronunciationDictionaryResponseModel from ....types.http_validation_error import HttpValidationError from ....types.pronunciation_dictionary_version_locator import PronunciationDictionaryVersionLocator +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -94,6 +96,10 @@ def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -172,4 +178,8 @@ async def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/studio/projects/raw_client.py b/src/elevenlabs/studio/projects/raw_client.py index 77997668..62dfe406 100644 --- a/src/elevenlabs/studio/projects/raw_client.py +++ b/src/elevenlabs/studio/projects/raw_client.py @@ -1,5 +1,6 @@ # This file was auto-generated by Fern from our API Definition. +import json import typing from json.decoder import JSONDecodeError @@ -8,6 +9,7 @@ from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse from ...core.jsonable_encoder import jsonable_encoder +from ...core.parse_error import ParsingError from ...core.request_options import RequestOptions from ...core.unchecked_base_model import construct_type from ...errors.unprocessable_entity_error import UnprocessableEntityError @@ -24,6 +26,7 @@ from .types.projects_create_request_quality_preset import ProjectsCreateRequestQualityPreset from .types.projects_create_request_source_type import ProjectsCreateRequestSourceType from .types.projects_create_request_target_audience import ProjectsCreateRequestTargetAudience +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -76,6 +79,10 @@ def list(self, *, request_options: typing.Optional[RequestOptions] = None) -> Ht _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def create( @@ -298,7 +305,7 @@ def create( "title": title, "author": author, "description": description, - "genres": genres, + "genres": json.dumps(jsonable_encoder(genres)), "target_audience": target_audience, "language": language, "content_type": content_type, @@ -307,14 +314,14 @@ def create( "isbn_number": isbn_number, "acx_volume_normalization": acx_volume_normalization, "volume_normalization": volume_normalization, - "pronunciation_dictionary_locators": pronunciation_dictionary_locators, + "pronunciation_dictionary_locators": json.dumps(jsonable_encoder(pronunciation_dictionary_locators)), "callback_url": callback_url, "fiction": fiction, "apply_text_normalization": apply_text_normalization, "auto_convert": auto_convert, "auto_assign_voices": auto_assign_voices, "source_type": source_type, - "voice_settings": voice_settings, + "voice_settings": json.dumps(jsonable_encoder(voice_settings)), "create_publishing_read": create_publishing_read, }, files={ @@ -348,6 +355,10 @@ def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def get( @@ -408,6 +419,10 @@ def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def update( @@ -502,6 +517,10 @@ def update( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def delete( @@ -552,6 +571,10 @@ def delete( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def convert( @@ -602,6 +625,10 @@ def convert( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def get_muted_tracks( @@ -652,6 +679,10 @@ def get_muted_tracks( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -704,6 +735,10 @@ async def list( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def create( @@ -926,7 +961,7 @@ async def create( "title": title, "author": author, "description": description, - "genres": genres, + "genres": json.dumps(jsonable_encoder(genres)), "target_audience": target_audience, "language": language, "content_type": content_type, @@ -935,14 +970,14 @@ async def create( "isbn_number": isbn_number, "acx_volume_normalization": acx_volume_normalization, "volume_normalization": volume_normalization, - "pronunciation_dictionary_locators": pronunciation_dictionary_locators, + "pronunciation_dictionary_locators": json.dumps(jsonable_encoder(pronunciation_dictionary_locators)), "callback_url": callback_url, "fiction": fiction, "apply_text_normalization": apply_text_normalization, "auto_convert": auto_convert, "auto_assign_voices": auto_assign_voices, "source_type": source_type, - "voice_settings": voice_settings, + "voice_settings": json.dumps(jsonable_encoder(voice_settings)), "create_publishing_read": create_publishing_read, }, files={ @@ -976,6 +1011,10 @@ async def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def get( @@ -1036,6 +1075,10 @@ async def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def update( @@ -1130,6 +1173,10 @@ async def update( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def delete( @@ -1180,6 +1227,10 @@ async def delete( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def convert( @@ -1230,6 +1281,10 @@ async def convert( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def get_muted_tracks( @@ -1280,4 +1335,8 @@ async def get_muted_tracks( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/studio/projects/snapshots/raw_client.py b/src/elevenlabs/studio/projects/snapshots/raw_client.py index 6224d0a0..b1b73907 100644 --- a/src/elevenlabs/studio/projects/snapshots/raw_client.py +++ b/src/elevenlabs/studio/projects/snapshots/raw_client.py @@ -8,12 +8,14 @@ from ....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ....core.http_response import AsyncHttpResponse, HttpResponse from ....core.jsonable_encoder import jsonable_encoder +from ....core.parse_error import ParsingError from ....core.request_options import RequestOptions from ....core.unchecked_base_model import construct_type from ....errors.unprocessable_entity_error import UnprocessableEntityError from ....types.http_validation_error import HttpValidationError from ....types.project_snapshot_extended_response_model import ProjectSnapshotExtendedResponseModel from ....types.project_snapshots_response import ProjectSnapshotsResponse +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -71,6 +73,10 @@ def list( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def get( @@ -124,6 +130,10 @@ def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @contextlib.contextmanager @@ -194,6 +204,13 @@ def _stream() -> HttpResponse[typing.Iterator[bytes]]: raise ApiError( status_code=_response.status_code, headers=dict(_response.headers), body=_response.text ) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, + headers=dict(_response.headers), + body=_response.json(), + cause=e, + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) yield _stream() @@ -251,6 +268,13 @@ def _stream() -> HttpResponse[typing.Iterator[bytes]]: raise ApiError( status_code=_response.status_code, headers=dict(_response.headers), body=_response.text ) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, + headers=dict(_response.headers), + body=_response.json(), + cause=e, + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) yield _stream() @@ -308,6 +332,10 @@ async def list( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def get( @@ -361,6 +389,10 @@ async def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @contextlib.asynccontextmanager @@ -432,6 +464,13 @@ async def _stream() -> AsyncHttpResponse[typing.AsyncIterator[bytes]]: raise ApiError( status_code=_response.status_code, headers=dict(_response.headers), body=_response.text ) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, + headers=dict(_response.headers), + body=_response.json(), + cause=e, + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) yield await _stream() @@ -490,6 +529,13 @@ async def _stream() -> AsyncHttpResponse[typing.AsyncIterator[bytes]]: raise ApiError( status_code=_response.status_code, headers=dict(_response.headers), body=_response.text ) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, + headers=dict(_response.headers), + body=_response.json(), + cause=e, + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) yield await _stream() diff --git a/src/elevenlabs/studio/raw_client.py b/src/elevenlabs/studio/raw_client.py index 8be22ca5..23053625 100644 --- a/src/elevenlabs/studio/raw_client.py +++ b/src/elevenlabs/studio/raw_client.py @@ -6,6 +6,7 @@ from ..core.api_error import ApiError from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ..core.http_response import AsyncHttpResponse, HttpResponse +from ..core.parse_error import ParsingError from ..core.request_options import RequestOptions from ..core.serialization import convert_and_respect_annotation_metadata from ..core.unchecked_base_model import construct_type @@ -23,6 +24,7 @@ BodyCreatePodcastV1StudioPodcastsPostQualityPreset, ) from .types.body_create_podcast_v_1_studio_podcasts_post_source import BodyCreatePodcastV1StudioPodcastsPostSource +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -220,6 +222,10 @@ def create_podcast( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -415,4 +421,8 @@ async def create_podcast( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/text_to_dialogue/raw_client.py b/src/elevenlabs/text_to_dialogue/raw_client.py index c3edda04..e498f10d 100644 --- a/src/elevenlabs/text_to_dialogue/raw_client.py +++ b/src/elevenlabs/text_to_dialogue/raw_client.py @@ -8,6 +8,7 @@ from ..core.api_error import ApiError from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ..core.http_response import AsyncHttpResponse, HttpResponse +from ..core.parse_error import ParsingError from ..core.request_options import RequestOptions from ..core.serialization import convert_and_respect_annotation_metadata from ..core.unchecked_base_model import construct_type @@ -39,6 +40,7 @@ from .types.text_to_dialogue_convert_with_timestamps_request_output_format import ( TextToDialogueConvertWithTimestampsRequestOutputFormat, ) +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -157,6 +159,13 @@ def _stream() -> HttpResponse[typing.Iterator[bytes]]: raise ApiError( status_code=_response.status_code, headers=dict(_response.headers), body=_response.text ) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, + headers=dict(_response.headers), + body=_response.json(), + cause=e, + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) yield _stream() @@ -270,6 +279,13 @@ def _stream() -> HttpResponse[typing.Iterator[bytes]]: raise ApiError( status_code=_response.status_code, headers=dict(_response.headers), body=_response.text ) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, + headers=dict(_response.headers), + body=_response.json(), + cause=e, + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) yield _stream() @@ -397,6 +413,13 @@ def _iter(): raise ApiError( status_code=_response.status_code, headers=dict(_response.headers), body=_response.text ) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, + headers=dict(_response.headers), + body=_response.json(), + cause=e, + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) yield _stream() @@ -506,6 +529,10 @@ def convert_with_timestamps( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -623,6 +650,13 @@ async def _stream() -> AsyncHttpResponse[typing.AsyncIterator[bytes]]: raise ApiError( status_code=_response.status_code, headers=dict(_response.headers), body=_response.text ) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, + headers=dict(_response.headers), + body=_response.json(), + cause=e, + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) yield await _stream() @@ -737,6 +771,13 @@ async def _stream() -> AsyncHttpResponse[typing.AsyncIterator[bytes]]: raise ApiError( status_code=_response.status_code, headers=dict(_response.headers), body=_response.text ) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, + headers=dict(_response.headers), + body=_response.json(), + cause=e, + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) yield await _stream() @@ -866,6 +907,13 @@ async def _iter(): raise ApiError( status_code=_response.status_code, headers=dict(_response.headers), body=_response.text ) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, + headers=dict(_response.headers), + body=_response.json(), + cause=e, + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) yield await _stream() @@ -975,4 +1023,8 @@ async def convert_with_timestamps( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/text_to_sound_effects/raw_client.py b/src/elevenlabs/text_to_sound_effects/raw_client.py index 8035a896..6991749c 100644 --- a/src/elevenlabs/text_to_sound_effects/raw_client.py +++ b/src/elevenlabs/text_to_sound_effects/raw_client.py @@ -7,11 +7,13 @@ from ..core.api_error import ApiError from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ..core.http_response import AsyncHttpResponse, HttpResponse +from ..core.parse_error import ParsingError from ..core.request_options import RequestOptions from ..core.unchecked_base_model import construct_type from ..errors.unprocessable_entity_error import UnprocessableEntityError from ..types.allowed_output_formats import AllowedOutputFormats from ..types.http_validation_error import HttpValidationError +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -108,6 +110,13 @@ def _stream() -> HttpResponse[typing.Iterator[bytes]]: raise ApiError( status_code=_response.status_code, headers=dict(_response.headers), body=_response.text ) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, + headers=dict(_response.headers), + body=_response.json(), + cause=e, + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) yield _stream() @@ -205,6 +214,13 @@ async def _stream() -> AsyncHttpResponse[typing.AsyncIterator[bytes]]: raise ApiError( status_code=_response.status_code, headers=dict(_response.headers), body=_response.text ) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, + headers=dict(_response.headers), + body=_response.json(), + cause=e, + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) yield await _stream() diff --git a/src/elevenlabs/text_to_speech/raw_client.py b/src/elevenlabs/text_to_speech/raw_client.py index 8f38f1f5..ac55c0ff 100644 --- a/src/elevenlabs/text_to_speech/raw_client.py +++ b/src/elevenlabs/text_to_speech/raw_client.py @@ -9,6 +9,7 @@ from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ..core.http_response import AsyncHttpResponse, HttpResponse from ..core.jsonable_encoder import jsonable_encoder +from ..core.parse_error import ParsingError from ..core.request_options import RequestOptions from ..core.serialization import convert_and_respect_annotation_metadata from ..core.unchecked_base_model import construct_type @@ -34,6 +35,7 @@ from .types.text_to_speech_stream_with_timestamps_request_output_format import ( TextToSpeechStreamWithTimestampsRequestOutputFormat, ) +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -199,6 +201,13 @@ def _stream() -> HttpResponse[typing.Iterator[bytes]]: raise ApiError( status_code=_response.status_code, headers=dict(_response.headers), body=_response.text ) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, + headers=dict(_response.headers), + body=_response.json(), + cause=e, + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) yield _stream() @@ -357,6 +366,10 @@ def convert_with_timestamps( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @contextlib.contextmanager @@ -515,6 +528,13 @@ def _stream() -> HttpResponse[typing.Iterator[bytes]]: raise ApiError( status_code=_response.status_code, headers=dict(_response.headers), body=_response.text ) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, + headers=dict(_response.headers), + body=_response.json(), + cause=e, + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) yield _stream() @@ -689,6 +709,13 @@ def _iter(): raise ApiError( status_code=_response.status_code, headers=dict(_response.headers), body=_response.text ) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, + headers=dict(_response.headers), + body=_response.json(), + cause=e, + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) yield _stream() @@ -855,6 +882,13 @@ async def _stream() -> AsyncHttpResponse[typing.AsyncIterator[bytes]]: raise ApiError( status_code=_response.status_code, headers=dict(_response.headers), body=_response.text ) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, + headers=dict(_response.headers), + body=_response.json(), + cause=e, + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) yield await _stream() @@ -1013,6 +1047,10 @@ async def convert_with_timestamps( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @contextlib.asynccontextmanager @@ -1172,6 +1210,13 @@ async def _stream() -> AsyncHttpResponse[typing.AsyncIterator[bytes]]: raise ApiError( status_code=_response.status_code, headers=dict(_response.headers), body=_response.text ) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, + headers=dict(_response.headers), + body=_response.json(), + cause=e, + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) yield await _stream() @@ -1346,6 +1391,13 @@ async def _iter(): raise ApiError( status_code=_response.status_code, headers=dict(_response.headers), body=_response.text ) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, + headers=dict(_response.headers), + body=_response.json(), + cause=e, + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) yield await _stream() diff --git a/src/elevenlabs/text_to_voice/preview/raw_client.py b/src/elevenlabs/text_to_voice/preview/raw_client.py index 3c6e2cfa..8898d6d0 100644 --- a/src/elevenlabs/text_to_voice/preview/raw_client.py +++ b/src/elevenlabs/text_to_voice/preview/raw_client.py @@ -8,10 +8,12 @@ from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse from ...core.jsonable_encoder import jsonable_encoder +from ...core.parse_error import ParsingError from ...core.request_options import RequestOptions from ...core.unchecked_base_model import construct_type from ...errors.unprocessable_entity_error import UnprocessableEntityError from ...types.http_validation_error import HttpValidationError +from pydantic import ValidationError class RawPreviewClient: @@ -68,6 +70,13 @@ def _stream() -> HttpResponse[typing.Iterator[bytes]]: raise ApiError( status_code=_response.status_code, headers=dict(_response.headers), body=_response.text ) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, + headers=dict(_response.headers), + body=_response.json(), + cause=e, + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) yield _stream() @@ -128,6 +137,13 @@ async def _stream() -> AsyncHttpResponse[typing.AsyncIterator[bytes]]: raise ApiError( status_code=_response.status_code, headers=dict(_response.headers), body=_response.text ) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, + headers=dict(_response.headers), + body=_response.json(), + cause=e, + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) yield await _stream() diff --git a/src/elevenlabs/text_to_voice/raw_client.py b/src/elevenlabs/text_to_voice/raw_client.py index 043d3b65..162b4393 100644 --- a/src/elevenlabs/text_to_voice/raw_client.py +++ b/src/elevenlabs/text_to_voice/raw_client.py @@ -7,6 +7,7 @@ from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ..core.http_response import AsyncHttpResponse, HttpResponse from ..core.jsonable_encoder import jsonable_encoder +from ..core.parse_error import ParsingError from ..core.request_options import RequestOptions from ..core.unchecked_base_model import construct_type from ..errors.unprocessable_entity_error import UnprocessableEntityError @@ -15,6 +16,7 @@ from ..types.voice import Voice from ..types.voice_design_preview_response import VoiceDesignPreviewResponse from .types.voice_design_request_model_model_id import VoiceDesignRequestModelModelId +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -124,6 +126,10 @@ def create_previews( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def create( @@ -204,6 +210,10 @@ def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def design( @@ -336,6 +346,10 @@ def design( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def remix( @@ -452,6 +466,10 @@ def remix( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -559,6 +577,10 @@ async def create_previews( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def create( @@ -639,6 +661,10 @@ async def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def design( @@ -771,6 +797,10 @@ async def design( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def remix( @@ -887,4 +917,8 @@ async def remix( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/tokens/single_use/raw_client.py b/src/elevenlabs/tokens/single_use/raw_client.py index a2801094..d19befcb 100644 --- a/src/elevenlabs/tokens/single_use/raw_client.py +++ b/src/elevenlabs/tokens/single_use/raw_client.py @@ -7,12 +7,14 @@ from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse from ...core.jsonable_encoder import jsonable_encoder +from ...core.parse_error import ParsingError from ...core.request_options import RequestOptions from ...core.unchecked_base_model import construct_type from ...errors.unprocessable_entity_error import UnprocessableEntityError from ...types.http_validation_error import HttpValidationError from ...types.single_use_token_response_model import SingleUseTokenResponseModel from ...types.single_use_token_type import SingleUseTokenType +from pydantic import ValidationError class RawSingleUseClient: @@ -66,6 +68,10 @@ def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -120,4 +126,8 @@ async def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/types/__init__.py b/src/elevenlabs/types/__init__.py index 4ce11d08..0ebb5286 100644 --- a/src/elevenlabs/types/__init__.py +++ b/src/elevenlabs/types/__init__.py @@ -35,10 +35,12 @@ from .agent_config_override_output import AgentConfigOverrideOutput from .agent_definition_source import AgentDefinitionSource from .agent_deployment_percentage_strategy import AgentDeploymentPercentageStrategy + from .agent_deployment_percentage_strategy_type import AgentDeploymentPercentageStrategyType from .agent_deployment_request import AgentDeploymentRequest from .agent_deployment_request_item import AgentDeploymentRequestItem from .agent_deployment_response import AgentDeploymentResponse from .agent_failure_response_example import AgentFailureResponseExample + from .agent_failure_response_example_type import AgentFailureResponseExampleType from .agent_metadata import AgentMetadata from .agent_metadata_response_model import AgentMetadataResponseModel from .agent_platform_settings_request_model import AgentPlatformSettingsRequestModel @@ -47,6 +49,7 @@ from .agent_simulated_chat_test_response_model import AgentSimulatedChatTestResponseModel from .agent_sort_by import AgentSortBy from .agent_successful_response_example import AgentSuccessfulResponseExample + from .agent_successful_response_example_type import AgentSuccessfulResponseExampleType from .agent_summary_batch_successful_response_model import AgentSummaryBatchSuccessfulResponseModel from .agent_summary_response_model import AgentSummaryResponseModel from .agent_test_entity_type import AgentTestEntityType @@ -104,8 +107,10 @@ from .api_integration_webhook_tool_config_output import ApiIntegrationWebhookToolConfigOutput from .array_json_schema_property_input import ArrayJsonSchemaPropertyInput from .array_json_schema_property_input_items import ArrayJsonSchemaPropertyInputItems + from .array_json_schema_property_input_type import ArrayJsonSchemaPropertyInputType from .array_json_schema_property_output import ArrayJsonSchemaPropertyOutput from .array_json_schema_property_output_items import ArrayJsonSchemaPropertyOutputItems + from .array_json_schema_property_output_type import ArrayJsonSchemaPropertyOutputType from .asr_conversational_config import AsrConversationalConfig from .asr_conversational_config_workflow_override import AsrConversationalConfigWorkflowOverride from .asr_input_format import AsrInputFormat @@ -603,8 +608,11 @@ from .auth_settings import AuthSettings from .authorization_method import AuthorizationMethod from .backup_llm_default import BackupLlmDefault + from .backup_llm_default_preference import BackupLlmDefaultPreference from .backup_llm_disabled import BackupLlmDisabled + from .backup_llm_disabled_preference import BackupLlmDisabledPreference from .backup_llm_override import BackupLlmOverride + from .backup_llm_override_preference import BackupLlmOverridePreference from .bad_request_error_body import BadRequestErrorBody from .batch_call_detailed_response import BatchCallDetailedResponse from .batch_call_recipient_status import BatchCallRecipientStatus @@ -650,6 +658,7 @@ from .chapter_content_block_tts_node_response_model import ChapterContentBlockTtsNodeResponseModel from .chapter_content_input_model import ChapterContentInputModel from .chapter_content_paragraph_tts_node_input_model import ChapterContentParagraphTtsNodeInputModel + from .chapter_content_paragraph_tts_node_input_model_type import ChapterContentParagraphTtsNodeInputModelType from .chapter_content_response_model import ChapterContentResponseModel from .chapter_response import ChapterResponse from .chapter_snapshot_extended_response_model import ChapterSnapshotExtendedResponseModel @@ -665,7 +674,9 @@ from .character_usage_response import CharacterUsageResponse from .chat_source_medium import ChatSourceMedium from .check_rental_availability_params import CheckRentalAvailabilityParams + from .check_rental_availability_params_smb_tool_type import CheckRentalAvailabilityParamsSmbToolType from .check_service_availability_params import CheckServiceAvailabilityParams + from .check_service_availability_params_smb_tool_type import CheckServiceAvailabilityParamsSmbToolType from .client_event import ClientEvent from .client_tool_config_input import ClientToolConfigInput from .client_tool_config_output import ClientToolConfigOutput @@ -676,7 +687,9 @@ from .close_context import CloseContext from .close_socket import CloseSocket from .coached_agent_settings import CoachedAgentSettings + from .coached_agent_settings_type import CoachedAgentSettingsType from .coaching_agent_settings import CoachingAgentSettings + from .coaching_agent_settings_type import CoachingAgentSettingsType from .committed_transcript_payload import CommittedTranscriptPayload from .committed_transcript_with_timestamps_payload import CommittedTranscriptWithTimestampsPayload from .config_entity_type import ConfigEntityType @@ -685,6 +698,8 @@ from .content_config import ContentConfig from .content_guardrail_input import ContentGuardrailInput from .content_guardrail_output import ContentGuardrailOutput + from .content_threshold_guardrail import ContentThresholdGuardrail + from .content_threshold_guardrail_threshold import ContentThresholdGuardrailThreshold from .contributor import Contributor from .conv_ai_dynamic_variable import ConvAiDynamicVariable from .conv_ai_file_upload_response_model import ConvAiFileUploadResponseModel @@ -703,6 +718,7 @@ from .conv_ai_user_secret_db_model import ConvAiUserSecretDbModel from .conv_ai_webhooks import ConvAiWebhooks from .conv_ai_workspace_stored_secret_config import ConvAiWorkspaceStoredSecretConfig + from .conv_ai_workspace_stored_secret_config_type import ConvAiWorkspaceStoredSecretConfigType from .conversation_charging_common_model import ConversationChargingCommonModel from .conversation_config import ConversationConfig from .conversation_config_client_override_config_input import ConversationConfigClientOverrideConfigInput @@ -739,6 +755,9 @@ from .conversation_history_transcript_api_integration_webhook_tools_result_common_model import ( ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel, ) + from .conversation_history_transcript_api_integration_webhook_tools_result_common_model_type import ( + ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelType, + ) from .conversation_history_transcript_common_model_input import ConversationHistoryTranscriptCommonModelInput from .conversation_history_transcript_common_model_input_role import ( ConversationHistoryTranscriptCommonModelInputRole, @@ -785,6 +804,9 @@ ConversationHistoryTranscriptSystemToolResultCommonModelInputResult_TransferToNumberTwilioSuccess, ConversationHistoryTranscriptSystemToolResultCommonModelInputResult_VoicemailDetectionSuccess, ) + from .conversation_history_transcript_system_tool_result_common_model_input_type import ( + ConversationHistoryTranscriptSystemToolResultCommonModelInputType, + ) from .conversation_history_transcript_system_tool_result_common_model_output import ( ConversationHistoryTranscriptSystemToolResultCommonModelOutput, ) @@ -803,6 +825,9 @@ ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult_TransferToNumberTwilioSuccess, ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult_VoicemailDetectionSuccess, ) + from .conversation_history_transcript_system_tool_result_common_model_output_type import ( + ConversationHistoryTranscriptSystemToolResultCommonModelOutputType, + ) from .conversation_history_transcript_tool_call_api_integration_webhook_details import ( ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails, ) @@ -833,12 +858,21 @@ from .conversation_history_transcript_tool_call_webhook_details import ( ConversationHistoryTranscriptToolCallWebhookDetails, ) + from .conversation_history_transcript_tool_call_webhook_details_type import ( + ConversationHistoryTranscriptToolCallWebhookDetailsType, + ) from .conversation_history_transcript_workflow_tools_result_common_model_input import ( ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput, ) + from .conversation_history_transcript_workflow_tools_result_common_model_input_type import ( + ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputType, + ) from .conversation_history_transcript_workflow_tools_result_common_model_output import ( ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput, ) + from .conversation_history_transcript_workflow_tools_result_common_model_output_type import ( + ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputType, + ) from .conversation_history_twilio_phone_call_model import ConversationHistoryTwilioPhoneCallModel from .conversation_history_twilio_phone_call_model_direction import ConversationHistoryTwilioPhoneCallModelDirection from .conversation_initiation_client_data_config_input import ConversationInitiationClientDataConfigInput @@ -886,23 +920,30 @@ from .create_agent_response_model import CreateAgentResponseModel from .create_agent_test_response_model import CreateAgentTestResponseModel from .create_asset_params import CreateAssetParams + from .create_asset_params_smb_tool_type import CreateAssetParamsSmbToolType from .create_audio_native_project_request import CreateAudioNativeProjectRequest from .create_client_appointment_params import CreateClientAppointmentParams + from .create_client_appointment_params_smb_tool_type import CreateClientAppointmentParamsSmbToolType from .create_client_params import CreateClientParams + from .create_client_params_smb_tool_type import CreateClientParamsSmbToolType from .create_phone_number_response_model import CreatePhoneNumberResponseModel from .create_previously_generated_voice_request import CreatePreviouslyGeneratedVoiceRequest from .create_product_params import CreateProductParams + from .create_product_params_smb_tool_type import CreateProductParamsSmbToolType from .create_pronunciation_dictionary_response_model import CreatePronunciationDictionaryResponseModel from .create_rental_booking_params import CreateRentalBookingParams + from .create_rental_booking_params_smb_tool_type import CreateRentalBookingParamsSmbToolType from .create_response_unit_test_request import CreateResponseUnitTestRequest from .create_response_unit_test_request_dynamic_variables_value import ( CreateResponseUnitTestRequestDynamicVariablesValue, ) from .create_service_params import CreateServiceParams + from .create_service_params_smb_tool_type import CreateServiceParamsSmbToolType from .create_simulation_test_request import CreateSimulationTestRequest from .create_simulation_test_request_dynamic_variables_value import CreateSimulationTestRequestDynamicVariablesValue from .create_sip_trunk_phone_number_request import CreateSipTrunkPhoneNumberRequest from .create_staff_params import CreateStaffParams + from .create_staff_params_smb_tool_type import CreateStaffParamsSmbToolType from .create_tool_call_unit_test_request import CreateToolCallUnitTestRequest from .create_tool_call_unit_test_request_dynamic_variables_value import ( CreateToolCallUnitTestRequestDynamicVariablesValue, @@ -926,18 +967,24 @@ from .default_sharing_group_response_model import DefaultSharingGroupResponseModel from .default_sharing_group_response_model_permission_level import DefaultSharingGroupResponseModelPermissionLevel from .delete_asset_params import DeleteAssetParams + from .delete_asset_params_smb_tool_type import DeleteAssetParamsSmbToolType from .delete_calendar_event_params import DeleteCalendarEventParams + from .delete_calendar_event_params_smb_tool_type import DeleteCalendarEventParamsSmbToolType from .delete_chapter_request import DeleteChapterRequest from .delete_chapter_response_model import DeleteChapterResponseModel from .delete_client_params import DeleteClientParams + from .delete_client_params_smb_tool_type import DeleteClientParamsSmbToolType from .delete_dubbing_response_model import DeleteDubbingResponseModel from .delete_history_item_response import DeleteHistoryItemResponse from .delete_product_params import DeleteProductParams + from .delete_product_params_smb_tool_type import DeleteProductParamsSmbToolType from .delete_project_request import DeleteProjectRequest from .delete_project_response_model import DeleteProjectResponseModel from .delete_sample_response import DeleteSampleResponse from .delete_service_params import DeleteServiceParams + from .delete_service_params_smb_tool_type import DeleteServiceParamsSmbToolType from .delete_staff_params import DeleteStaffParams + from .delete_staff_params_smb_tool_type import DeleteStaffParamsSmbToolType from .delete_voice_response_model import DeleteVoiceResponseModel from .delete_voice_sample_response_model import DeleteVoiceSampleResponseModel from .delete_workspace_group_member_response_model import DeleteWorkspaceGroupMemberResponseModel @@ -956,6 +1003,7 @@ from .dialogue_input import DialogueInput from .dialogue_input_response_model import DialogueInputResponseModel from .direct_publishing_read_response_model import DirectPublishingReadResponseModel + from .direct_publishing_read_response_model_currency import DirectPublishingReadResponseModelCurrency from .direct_publishing_read_response_model_display_mode import DirectPublishingReadResponseModelDisplayMode from .direct_publishing_read_response_model_genre_item import DirectPublishingReadResponseModelGenreItem from .direct_publishing_read_response_model_payout_type import DirectPublishingReadResponseModelPayoutType @@ -980,6 +1028,7 @@ from .dubbing_transcripts_response_model import DubbingTranscriptsResponseModel from .dubbing_transcripts_response_model_transcript_format import DubbingTranscriptsResponseModelTranscriptFormat from .dynamic_variable_assignment import DynamicVariableAssignment + from .dynamic_variable_assignment_source import DynamicVariableAssignmentSource from .dynamic_variable_schema_override import DynamicVariableSchemaOverride from .dynamic_variable_update_common_model import DynamicVariableUpdateCommonModel from .dynamic_variables_config import DynamicVariablesConfig @@ -999,6 +1048,7 @@ from .embedding_model_enum import EmbeddingModelEnum from .end_call_tool_config import EndCallToolConfig from .end_call_tool_result_model import EndCallToolResultModel + from .end_call_tool_result_model_status import EndCallToolResultModelStatus from .evaluation_settings import EvaluationSettings from .evaluation_success_result import EvaluationSuccessResult from .exact_parameter_evaluation_strategy import ExactParameterEvaluationStrategy @@ -1029,6 +1079,7 @@ from .generate_voice_request import GenerateVoiceRequest from .generation_config import GenerationConfig from .generation_source_context import GenerationSourceContext + from .generation_source_context_source_type import GenerationSourceContextSourceType from .get_agent_embed_response_model import GetAgentEmbedResponseModel from .get_agent_knowledgebase_size_response_model import GetAgentKnowledgebaseSizeResponseModel from .get_agent_link_response_model import GetAgentLinkResponseModel @@ -1045,7 +1096,9 @@ from .get_chapters_request import GetChaptersRequest from .get_chapters_response import GetChaptersResponse from .get_client_appointments_params import GetClientAppointmentsParams + from .get_client_appointments_params_smb_tool_type import GetClientAppointmentsParamsSmbToolType from .get_client_by_phone_params import GetClientByPhoneParams + from .get_client_by_phone_params_smb_tool_type import GetClientByPhoneParamsSmbToolType from .get_conv_ai_dashboard_settings_response_model import GetConvAiDashboardSettingsResponseModel from .get_conv_ai_dashboard_settings_response_model_charts_item import ( GetConvAiDashboardSettingsResponseModelChartsItem, @@ -1162,7 +1215,9 @@ from .get_workspace_secrets_response_model import GetWorkspaceSecretsResponseModel from .guardrail_execution_mode import GuardrailExecutionMode from .guardrails_v_1_input import GuardrailsV1Input + from .guardrails_v_1_input_version import GuardrailsV1InputVersion from .guardrails_v_1_output import GuardrailsV1Output + from .guardrails_v_1_output_version import GuardrailsV1OutputVersion from .history_alignment_response_model import HistoryAlignmentResponseModel from .history_alignments_response_model import HistoryAlignmentsResponseModel from .history_item_response import HistoryItemResponse @@ -1201,6 +1256,7 @@ from .language_added_response import LanguageAddedResponse from .language_detection_tool_config import LanguageDetectionToolConfig from .language_detection_tool_result_model import LanguageDetectionToolResultModel + from .language_detection_tool_result_model_status import LanguageDetectionToolResultModelStatus from .language_preset_input import LanguagePresetInput from .language_preset_output import LanguagePresetOutput from .language_preset_translation import LanguagePresetTranslation @@ -1208,15 +1264,22 @@ from .library_voice_response import LibraryVoiceResponse from .library_voice_response_model_category import LibraryVoiceResponseModelCategory from .list_assets_params import ListAssetsParams + from .list_assets_params_smb_tool_type import ListAssetsParamsSmbToolType from .list_calendar_events_params import ListCalendarEventsParams + from .list_calendar_events_params_smb_tool_type import ListCalendarEventsParamsSmbToolType from .list_clients_params import ListClientsParams + from .list_clients_params_smb_tool_type import ListClientsParamsSmbToolType from .list_mcp_tools_response_model import ListMcpToolsResponseModel from .list_products_params import ListProductsParams + from .list_products_params_smb_tool_type import ListProductsParamsSmbToolType from .list_rental_services_params import ListRentalServicesParams + from .list_rental_services_params_smb_tool_type import ListRentalServicesParamsSmbToolType from .list_response_agent_branch_summary import ListResponseAgentBranchSummary from .list_response_meta import ListResponseMeta from .list_services_params import ListServicesParams + from .list_services_params_smb_tool_type import ListServicesParamsSmbToolType from .list_staff_params import ListStaffParams + from .list_staff_params_smb_tool_type import ListStaffParamsSmbToolType from .list_whats_app_accounts_response import ListWhatsAppAccountsResponse from .literal_json_schema_property import LiteralJsonSchemaProperty from .literal_json_schema_property_constant_value import LiteralJsonSchemaPropertyConstantValue @@ -1293,12 +1356,15 @@ from .music_prompt import MusicPrompt from .music_upload_response import MusicUploadResponse from .no_coaching_settings import NoCoachingSettings + from .no_coaching_settings_type import NoCoachingSettingsType from .non_streaming_output_formats import NonStreamingOutputFormats from .normalized_alignment import NormalizedAlignment from .object_json_schema_property_input import ObjectJsonSchemaPropertyInput from .object_json_schema_property_input_properties_value import ObjectJsonSchemaPropertyInputPropertiesValue + from .object_json_schema_property_input_type import ObjectJsonSchemaPropertyInputType from .object_json_schema_property_output import ObjectJsonSchemaPropertyOutput from .object_json_schema_property_output_properties_value import ObjectJsonSchemaPropertyOutputPropertiesValue + from .object_json_schema_property_output_type import ObjectJsonSchemaPropertyOutputType from .object_override_input import ObjectOverrideInput from .object_override_input_properties_value import ObjectOverrideInputPropertiesValue from .object_override_output import ObjectOverrideOutput @@ -1312,9 +1378,11 @@ from .patch_workspace_webhook_response_model import PatchWorkspaceWebhookResponseModel from .pdf_export_options import PdfExportOptions from .pending_cancellation_response_model import PendingCancellationResponseModel + from .pending_cancellation_response_model_kind import PendingCancellationResponseModelKind from .pending_clip_task import PendingClipTask from .pending_clip_task_type import PendingClipTaskType from .pending_subscription_switch_response_model import PendingSubscriptionSwitchResponseModel + from .pending_subscription_switch_response_model_kind import PendingSubscriptionSwitchResponseModelKind from .pending_subscription_switch_response_model_next_tier import PendingSubscriptionSwitchResponseModelNextTier from .permission_type import PermissionType from .phone_number_agent_info import PhoneNumberAgentInfo @@ -1339,7 +1407,9 @@ PhoneNumberTransferTransferDestination_SipUriDynamicVariable, ) from .play_dtmf_result_error_model import PlayDtmfResultErrorModel + from .play_dtmf_result_error_model_status import PlayDtmfResultErrorModelStatus from .play_dtmf_result_success_model import PlayDtmfResultSuccessModel + from .play_dtmf_result_success_model_status import PlayDtmfResultSuccessModelStatus from .play_dtmf_tool_config import PlayDtmfToolConfig from .podcast_bulletin_mode import PodcastBulletinMode from .podcast_bulletin_mode_data import PodcastBulletinModeData @@ -1347,13 +1417,16 @@ from .podcast_conversation_mode_data import PodcastConversationModeData from .podcast_project_response_model import PodcastProjectResponseModel from .podcast_text_source import PodcastTextSource + from .podcast_text_source_type import PodcastTextSourceType from .podcast_url_source import PodcastUrlSource + from .podcast_url_source_type import PodcastUrlSourceType from .position_input import PositionInput from .position_output import PositionOutput from .post_agent_avatar_response_model import PostAgentAvatarResponseModel from .post_dial_digits_dynamic_variable import PostDialDigitsDynamicVariable from .post_dial_digits_static import PostDialDigitsStatic from .post_workspace_secret_response_model import PostWorkspaceSecretResponseModel + from .post_workspace_secret_response_model_type import PostWorkspaceSecretResponseModelType from .preview_audio_db_model import PreviewAudioDbModel from .privacy_config_input import PrivacyConfigInput from .privacy_config_output import PrivacyConfigOutput @@ -1385,6 +1458,7 @@ ProjectExternalAudioResponseModelSourceContext_Song, ) from .project_image_response_model import ProjectImageResponseModel + from .project_image_response_model_source import ProjectImageResponseModelSource from .project_muted_tracks_response_model import ProjectMutedTracksResponseModel from .project_response import ProjectResponse from .project_response_model_access_level import ProjectResponseModelAccessLevel @@ -1462,6 +1536,7 @@ ) from .prompt_agent_db_model import PromptAgentDbModel from .prompt_evaluation_criteria import PromptEvaluationCriteria + from .prompt_evaluation_criteria_type import PromptEvaluationCriteriaType from .prompt_injection_guardrail import PromptInjectionGuardrail from .pronunciation_dictionary_alias_rule_request_model import PronunciationDictionaryAliasRuleRequestModel from .pronunciation_dictionary_alias_rule_response_model import PronunciationDictionaryAliasRuleResponseModel @@ -1514,6 +1589,7 @@ ResourceMetadataResponseModelAnonymousAccessLevelOverride, ) from .response_filter import ResponseFilter + from .response_filter_content_type import ResponseFilterContentType from .response_filter_mode import ResponseFilterMode from .response_unit_test_model import ResponseUnitTestModel from .response_unit_test_model_dynamic_variables_value import ResponseUnitTestModelDynamicVariablesValue @@ -1529,9 +1605,13 @@ from .sample_config_db_model_parent_type import SampleConfigDbModelParentType from .save_voice_preview_request import SaveVoicePreviewRequest from .say_node_literal_message_input import SayNodeLiteralMessageInput + from .say_node_literal_message_input_type import SayNodeLiteralMessageInputType from .say_node_literal_message_output import SayNodeLiteralMessageOutput + from .say_node_literal_message_output_type import SayNodeLiteralMessageOutputType from .say_node_prompt_message_input import SayNodePromptMessageInput + from .say_node_prompt_message_input_type import SayNodePromptMessageInputType from .say_node_prompt_message_output import SayNodePromptMessageOutput + from .say_node_prompt_message_output_type import SayNodePromptMessageOutputType from .scribe_auth_error_payload import ScribeAuthErrorPayload from .scribe_chunk_size_exceeded_error_payload import ScribeChunkSizeExceededErrorPayload from .scribe_error_payload import ScribeErrorPayload @@ -1546,6 +1626,7 @@ from .scribe_transcriber_error_payload import ScribeTranscriberErrorPayload from .scribe_unaccepted_terms_error_payload import ScribeUnacceptedTermsErrorPayload from .search_clients_params import SearchClientsParams + from .search_clients_params_smb_tool_type import SearchClientsParamsSmbToolType from .seat_type import SeatType from .secret_dependency_type import SecretDependencyType from .section_source import SectionSource @@ -1581,6 +1662,7 @@ from .sip_uri_transfer_destination import SipUriTransferDestination from .skip_turn_tool_config import SkipTurnToolConfig from .skip_turn_tool_response_model import SkipTurnToolResponseModel + from .skip_turn_tool_response_model_status import SkipTurnToolResponseModelStatus from .soft_timeout_config import SoftTimeoutConfig from .soft_timeout_config_override import SoftTimeoutConfigOverride from .soft_timeout_config_override_config import SoftTimeoutConfigOverrideConfig @@ -1643,6 +1725,7 @@ SystemToolConfigInputParams_TransferToNumber, SystemToolConfigInputParams_VoicemailDetection, ) + from .system_tool_config_input_type import SystemToolConfigInputType from .system_tool_config_output import SystemToolConfigOutput from .system_tool_config_output_params import ( SystemToolConfigOutputParams, @@ -1659,6 +1742,7 @@ SystemToolConfigOutputParams_TransferToNumber, SystemToolConfigOutputParams_VoicemailDetection, ) + from .system_tool_config_output_type import SystemToolConfigOutputType from .telephony_call_config import TelephonyCallConfig from .telephony_provider import TelephonyProvider from .test_condition_rationale_common_model import TestConditionRationaleCommonModel @@ -1670,6 +1754,7 @@ from .test_run_metadata_test_type import TestRunMetadataTestType from .test_run_status import TestRunStatus from .test_tool_result_model import TestToolResultModel + from .test_tool_result_model_status import TestToolResultModelStatus from .test_type import TestType from .tests_feature_usage_common_model import TestsFeatureUsageCommonModel from .text_normalisation_type import TextNormalisationType @@ -1718,15 +1803,20 @@ from .transfer_branch_info_traffic_split import TransferBranchInfoTrafficSplit from .transfer_to_agent_tool_config import TransferToAgentToolConfig from .transfer_to_agent_tool_result_error_model import TransferToAgentToolResultErrorModel + from .transfer_to_agent_tool_result_error_model_status import TransferToAgentToolResultErrorModelStatus from .transfer_to_agent_tool_result_success_model import TransferToAgentToolResultSuccessModel from .transfer_to_agent_tool_result_success_model_branch_info import ( TransferToAgentToolResultSuccessModelBranchInfo, TransferToAgentToolResultSuccessModelBranchInfo_DefaultingToMain, TransferToAgentToolResultSuccessModelBranchInfo_TrafficSplit, ) + from .transfer_to_agent_tool_result_success_model_status import TransferToAgentToolResultSuccessModelStatus from .transfer_to_number_result_error_model import TransferToNumberResultErrorModel + from .transfer_to_number_result_error_model_status import TransferToNumberResultErrorModelStatus from .transfer_to_number_result_sip_success_model import TransferToNumberResultSipSuccessModel + from .transfer_to_number_result_sip_success_model_status import TransferToNumberResultSipSuccessModelStatus from .transfer_to_number_result_twilio_success_model import TransferToNumberResultTwilioSuccessModel + from .transfer_to_number_result_twilio_success_model_status import TransferToNumberResultTwilioSuccessModelStatus from .transfer_to_number_tool_config_input import TransferToNumberToolConfigInput from .transfer_to_number_tool_config_output import TransferToNumberToolConfigOutput from .transfer_type_enum import TransferTypeEnum @@ -1770,12 +1860,19 @@ UnitTestToolCallParameterEval_Regex, ) from .unit_test_workflow_node_transition_evaluation_node_id import UnitTestWorkflowNodeTransitionEvaluationNodeId + from .unit_test_workflow_node_transition_evaluation_node_id_type import ( + UnitTestWorkflowNodeTransitionEvaluationNodeIdType, + ) from .update_asset_params import UpdateAssetParams + from .update_asset_params_smb_tool_type import UpdateAssetParamsSmbToolType from .update_audio_native_project_request import UpdateAudioNativeProjectRequest from .update_calendar_event_params import UpdateCalendarEventParams + from .update_calendar_event_params_smb_tool_type import UpdateCalendarEventParamsSmbToolType from .update_chapter_request import UpdateChapterRequest from .update_client_params import UpdateClientParams + from .update_client_params_smb_tool_type import UpdateClientParamsSmbToolType from .update_product_params import UpdateProductParams + from .update_product_params_smb_tool_type import UpdateProductParamsSmbToolType from .update_project_request import UpdateProjectRequest from .update_pronunciation_dictionaries_request import UpdatePronunciationDictionariesRequest from .update_response_unit_test_request import UpdateResponseUnitTestRequest @@ -1783,9 +1880,11 @@ UpdateResponseUnitTestRequestDynamicVariablesValue, ) from .update_service_params import UpdateServiceParams + from .update_service_params_smb_tool_type import UpdateServiceParamsSmbToolType from .update_simulation_test_request import UpdateSimulationTestRequest from .update_simulation_test_request_dynamic_variables_value import UpdateSimulationTestRequestDynamicVariablesValue from .update_staff_params import UpdateStaffParams + from .update_staff_params_smb_tool_type import UpdateStaffParamsSmbToolType from .update_tool_call_unit_test_request import UpdateToolCallUnitTestRequest from .update_tool_call_unit_test_request_dynamic_variables_value import ( UpdateToolCallUnitTestRequestDynamicVariablesValue, @@ -1820,6 +1919,7 @@ from .voice_generation_parameter_option_response import VoiceGenerationParameterOptionResponse from .voice_generation_parameter_response import VoiceGenerationParameterResponse from .voice_mail_detection_result_success_model import VoiceMailDetectionResultSuccessModel + from .voice_mail_detection_result_success_model_status import VoiceMailDetectionResultSuccessModelStatus from .voice_preview_response_model import VoicePreviewResponseModel from .voice_response_model_category import VoiceResponseModelCategory from .voice_response_model_safety_control import VoiceResponseModelSafetyControl @@ -1838,6 +1938,7 @@ from .webhook_auth_method_type import WebhookAuthMethodType from .webhook_event_type import WebhookEventType from .webhook_hmac_settings import WebhookHmacSettings + from .webhook_hmac_settings_auth_type import WebhookHmacSettingsAuthType from .webhook_tool_api_schema_config_input import WebhookToolApiSchemaConfigInput from .webhook_tool_api_schema_config_input_content_type import WebhookToolApiSchemaConfigInputContentType from .webhook_tool_api_schema_config_input_method import WebhookToolApiSchemaConfigInputMethod @@ -1876,6 +1977,7 @@ from .whats_app_template_location_param import WhatsAppTemplateLocationParam from .whats_app_template_location_param_details import WhatsAppTemplateLocationParamDetails from .whats_app_template_text_param import WhatsAppTemplateTextParam + from .whats_app_template_text_param_type import WhatsAppTemplateTextParamType from .widget_config import WidgetConfig from .widget_config_input_avatar import ( WidgetConfigInputAvatar, @@ -2061,6 +2163,7 @@ from .workspace_group_permission import WorkspaceGroupPermission from .workspace_group_response_model import WorkspaceGroupResponseModel from .workspace_group_response_model_group_usage_limit import WorkspaceGroupResponseModelGroupUsageLimit + from .workspace_group_response_model_group_usage_limit_one import WorkspaceGroupResponseModelGroupUsageLimitOne from .workspace_resource_type import WorkspaceResourceType from .workspace_service_account_list_response_model import WorkspaceServiceAccountListResponseModel from .workspace_service_account_response_model import WorkspaceServiceAccountResponseModel @@ -2095,10 +2198,12 @@ "AgentConfigOverrideOutput": ".agent_config_override_output", "AgentDefinitionSource": ".agent_definition_source", "AgentDeploymentPercentageStrategy": ".agent_deployment_percentage_strategy", + "AgentDeploymentPercentageStrategyType": ".agent_deployment_percentage_strategy_type", "AgentDeploymentRequest": ".agent_deployment_request", "AgentDeploymentRequestItem": ".agent_deployment_request_item", "AgentDeploymentResponse": ".agent_deployment_response", "AgentFailureResponseExample": ".agent_failure_response_example", + "AgentFailureResponseExampleType": ".agent_failure_response_example_type", "AgentMetadata": ".agent_metadata", "AgentMetadataResponseModel": ".agent_metadata_response_model", "AgentPlatformSettingsRequestModel": ".agent_platform_settings_request_model", @@ -2107,6 +2212,7 @@ "AgentSimulatedChatTestResponseModel": ".agent_simulated_chat_test_response_model", "AgentSortBy": ".agent_sort_by", "AgentSuccessfulResponseExample": ".agent_successful_response_example", + "AgentSuccessfulResponseExampleType": ".agent_successful_response_example_type", "AgentSummaryBatchSuccessfulResponseModel": ".agent_summary_batch_successful_response_model", "AgentSummaryResponseModel": ".agent_summary_response_model", "AgentTestEntityType": ".agent_test_entity_type", @@ -2152,8 +2258,10 @@ "ApiIntegrationWebhookToolConfigOutput": ".api_integration_webhook_tool_config_output", "ArrayJsonSchemaPropertyInput": ".array_json_schema_property_input", "ArrayJsonSchemaPropertyInputItems": ".array_json_schema_property_input_items", + "ArrayJsonSchemaPropertyInputType": ".array_json_schema_property_input_type", "ArrayJsonSchemaPropertyOutput": ".array_json_schema_property_output", "ArrayJsonSchemaPropertyOutputItems": ".array_json_schema_property_output_items", + "ArrayJsonSchemaPropertyOutputType": ".array_json_schema_property_output_type", "AsrConversationalConfig": ".asr_conversational_config", "AsrConversationalConfigWorkflowOverride": ".asr_conversational_config_workflow_override", "AsrInputFormat": ".asr_input_format", @@ -2593,8 +2701,11 @@ "AuthSettings": ".auth_settings", "AuthorizationMethod": ".authorization_method", "BackupLlmDefault": ".backup_llm_default", + "BackupLlmDefaultPreference": ".backup_llm_default_preference", "BackupLlmDisabled": ".backup_llm_disabled", + "BackupLlmDisabledPreference": ".backup_llm_disabled_preference", "BackupLlmOverride": ".backup_llm_override", + "BackupLlmOverridePreference": ".backup_llm_override_preference", "BadRequestErrorBody": ".bad_request_error_body", "BatchCallDetailedResponse": ".batch_call_detailed_response", "BatchCallRecipientStatus": ".batch_call_recipient_status", @@ -2638,6 +2749,7 @@ "ChapterContentBlockTtsNodeResponseModel": ".chapter_content_block_tts_node_response_model", "ChapterContentInputModel": ".chapter_content_input_model", "ChapterContentParagraphTtsNodeInputModel": ".chapter_content_paragraph_tts_node_input_model", + "ChapterContentParagraphTtsNodeInputModelType": ".chapter_content_paragraph_tts_node_input_model_type", "ChapterContentResponseModel": ".chapter_content_response_model", "ChapterResponse": ".chapter_response", "ChapterSnapshotExtendedResponseModel": ".chapter_snapshot_extended_response_model", @@ -2653,7 +2765,9 @@ "CharacterUsageResponse": ".character_usage_response", "ChatSourceMedium": ".chat_source_medium", "CheckRentalAvailabilityParams": ".check_rental_availability_params", + "CheckRentalAvailabilityParamsSmbToolType": ".check_rental_availability_params_smb_tool_type", "CheckServiceAvailabilityParams": ".check_service_availability_params", + "CheckServiceAvailabilityParamsSmbToolType": ".check_service_availability_params_smb_tool_type", "ClientEvent": ".client_event", "ClientToolConfigInput": ".client_tool_config_input", "ClientToolConfigOutput": ".client_tool_config_output", @@ -2664,7 +2778,9 @@ "CloseContext": ".close_context", "CloseSocket": ".close_socket", "CoachedAgentSettings": ".coached_agent_settings", + "CoachedAgentSettingsType": ".coached_agent_settings_type", "CoachingAgentSettings": ".coaching_agent_settings", + "CoachingAgentSettingsType": ".coaching_agent_settings_type", "CommittedTranscriptPayload": ".committed_transcript_payload", "CommittedTranscriptWithTimestampsPayload": ".committed_transcript_with_timestamps_payload", "ConfigEntityType": ".config_entity_type", @@ -2673,6 +2789,8 @@ "ContentConfig": ".content_config", "ContentGuardrailInput": ".content_guardrail_input", "ContentGuardrailOutput": ".content_guardrail_output", + "ContentThresholdGuardrail": ".content_threshold_guardrail", + "ContentThresholdGuardrailThreshold": ".content_threshold_guardrail_threshold", "Contributor": ".contributor", "ConvAiDynamicVariable": ".conv_ai_dynamic_variable", "ConvAiFileUploadResponseModel": ".conv_ai_file_upload_response_model", @@ -2687,6 +2805,7 @@ "ConvAiUserSecretDbModel": ".conv_ai_user_secret_db_model", "ConvAiWebhooks": ".conv_ai_webhooks", "ConvAiWorkspaceStoredSecretConfig": ".conv_ai_workspace_stored_secret_config", + "ConvAiWorkspaceStoredSecretConfigType": ".conv_ai_workspace_stored_secret_config_type", "ConversationChargingCommonModel": ".conversation_charging_common_model", "ConversationConfig": ".conversation_config", "ConversationConfigClientOverrideConfigInput": ".conversation_config_client_override_config_input", @@ -2715,6 +2834,7 @@ "ConversationHistorySipTrunkingPhoneCallModel": ".conversation_history_sip_trunking_phone_call_model", "ConversationHistorySipTrunkingPhoneCallModelDirection": ".conversation_history_sip_trunking_phone_call_model_direction", "ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel": ".conversation_history_transcript_api_integration_webhook_tools_result_common_model", + "ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelType": ".conversation_history_transcript_api_integration_webhook_tools_result_common_model_type", "ConversationHistoryTranscriptCommonModelInput": ".conversation_history_transcript_common_model_input", "ConversationHistoryTranscriptCommonModelInputRole": ".conversation_history_transcript_common_model_input_role", "ConversationHistoryTranscriptCommonModelInputToolResultsItem": ".conversation_history_transcript_common_model_input_tool_results_item", @@ -2741,6 +2861,7 @@ "ConversationHistoryTranscriptSystemToolResultCommonModelInputResult_TransferToNumberSipSuccess": ".conversation_history_transcript_system_tool_result_common_model_input_result", "ConversationHistoryTranscriptSystemToolResultCommonModelInputResult_TransferToNumberTwilioSuccess": ".conversation_history_transcript_system_tool_result_common_model_input_result", "ConversationHistoryTranscriptSystemToolResultCommonModelInputResult_VoicemailDetectionSuccess": ".conversation_history_transcript_system_tool_result_common_model_input_result", + "ConversationHistoryTranscriptSystemToolResultCommonModelInputType": ".conversation_history_transcript_system_tool_result_common_model_input_type", "ConversationHistoryTranscriptSystemToolResultCommonModelOutput": ".conversation_history_transcript_system_tool_result_common_model_output", "ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult": ".conversation_history_transcript_system_tool_result_common_model_output_result", "ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult_EndCallSuccess": ".conversation_history_transcript_system_tool_result_common_model_output_result", @@ -2755,6 +2876,7 @@ "ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult_TransferToNumberSipSuccess": ".conversation_history_transcript_system_tool_result_common_model_output_result", "ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult_TransferToNumberTwilioSuccess": ".conversation_history_transcript_system_tool_result_common_model_output_result", "ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult_VoicemailDetectionSuccess": ".conversation_history_transcript_system_tool_result_common_model_output_result", + "ConversationHistoryTranscriptSystemToolResultCommonModelOutputType": ".conversation_history_transcript_system_tool_result_common_model_output_type", "ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails": ".conversation_history_transcript_tool_call_api_integration_webhook_details", "ConversationHistoryTranscriptToolCallClientDetails": ".conversation_history_transcript_tool_call_client_details", "ConversationHistoryTranscriptToolCallCommonModelInput": ".conversation_history_transcript_tool_call_common_model_input", @@ -2771,8 +2893,11 @@ "ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails_Webhook": ".conversation_history_transcript_tool_call_common_model_output_tool_details", "ConversationHistoryTranscriptToolCallMcpDetails": ".conversation_history_transcript_tool_call_mcp_details", "ConversationHistoryTranscriptToolCallWebhookDetails": ".conversation_history_transcript_tool_call_webhook_details", + "ConversationHistoryTranscriptToolCallWebhookDetailsType": ".conversation_history_transcript_tool_call_webhook_details_type", "ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput": ".conversation_history_transcript_workflow_tools_result_common_model_input", + "ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputType": ".conversation_history_transcript_workflow_tools_result_common_model_input_type", "ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput": ".conversation_history_transcript_workflow_tools_result_common_model_output", + "ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputType": ".conversation_history_transcript_workflow_tools_result_common_model_output_type", "ConversationHistoryTwilioPhoneCallModel": ".conversation_history_twilio_phone_call_model", "ConversationHistoryTwilioPhoneCallModelDirection": ".conversation_history_twilio_phone_call_model_direction", "ConversationInitiationClientDataConfigInput": ".conversation_initiation_client_data_config_input", @@ -2806,21 +2931,28 @@ "CreateAgentResponseModel": ".create_agent_response_model", "CreateAgentTestResponseModel": ".create_agent_test_response_model", "CreateAssetParams": ".create_asset_params", + "CreateAssetParamsSmbToolType": ".create_asset_params_smb_tool_type", "CreateAudioNativeProjectRequest": ".create_audio_native_project_request", "CreateClientAppointmentParams": ".create_client_appointment_params", + "CreateClientAppointmentParamsSmbToolType": ".create_client_appointment_params_smb_tool_type", "CreateClientParams": ".create_client_params", + "CreateClientParamsSmbToolType": ".create_client_params_smb_tool_type", "CreatePhoneNumberResponseModel": ".create_phone_number_response_model", "CreatePreviouslyGeneratedVoiceRequest": ".create_previously_generated_voice_request", "CreateProductParams": ".create_product_params", + "CreateProductParamsSmbToolType": ".create_product_params_smb_tool_type", "CreatePronunciationDictionaryResponseModel": ".create_pronunciation_dictionary_response_model", "CreateRentalBookingParams": ".create_rental_booking_params", + "CreateRentalBookingParamsSmbToolType": ".create_rental_booking_params_smb_tool_type", "CreateResponseUnitTestRequest": ".create_response_unit_test_request", "CreateResponseUnitTestRequestDynamicVariablesValue": ".create_response_unit_test_request_dynamic_variables_value", "CreateServiceParams": ".create_service_params", + "CreateServiceParamsSmbToolType": ".create_service_params_smb_tool_type", "CreateSimulationTestRequest": ".create_simulation_test_request", "CreateSimulationTestRequestDynamicVariablesValue": ".create_simulation_test_request_dynamic_variables_value", "CreateSipTrunkPhoneNumberRequest": ".create_sip_trunk_phone_number_request", "CreateStaffParams": ".create_staff_params", + "CreateStaffParamsSmbToolType": ".create_staff_params_smb_tool_type", "CreateToolCallUnitTestRequest": ".create_tool_call_unit_test_request", "CreateToolCallUnitTestRequestDynamicVariablesValue": ".create_tool_call_unit_test_request_dynamic_variables_value", "CreateTranscriptRequest": ".create_transcript_request", @@ -2842,18 +2974,24 @@ "DefaultSharingGroupResponseModel": ".default_sharing_group_response_model", "DefaultSharingGroupResponseModelPermissionLevel": ".default_sharing_group_response_model_permission_level", "DeleteAssetParams": ".delete_asset_params", + "DeleteAssetParamsSmbToolType": ".delete_asset_params_smb_tool_type", "DeleteCalendarEventParams": ".delete_calendar_event_params", + "DeleteCalendarEventParamsSmbToolType": ".delete_calendar_event_params_smb_tool_type", "DeleteChapterRequest": ".delete_chapter_request", "DeleteChapterResponseModel": ".delete_chapter_response_model", "DeleteClientParams": ".delete_client_params", + "DeleteClientParamsSmbToolType": ".delete_client_params_smb_tool_type", "DeleteDubbingResponseModel": ".delete_dubbing_response_model", "DeleteHistoryItemResponse": ".delete_history_item_response", "DeleteProductParams": ".delete_product_params", + "DeleteProductParamsSmbToolType": ".delete_product_params_smb_tool_type", "DeleteProjectRequest": ".delete_project_request", "DeleteProjectResponseModel": ".delete_project_response_model", "DeleteSampleResponse": ".delete_sample_response", "DeleteServiceParams": ".delete_service_params", + "DeleteServiceParamsSmbToolType": ".delete_service_params_smb_tool_type", "DeleteStaffParams": ".delete_staff_params", + "DeleteStaffParamsSmbToolType": ".delete_staff_params_smb_tool_type", "DeleteVoiceResponseModel": ".delete_voice_response_model", "DeleteVoiceSampleResponseModel": ".delete_voice_sample_response_model", "DeleteWorkspaceGroupMemberResponseModel": ".delete_workspace_group_member_response_model", @@ -2872,6 +3010,7 @@ "DialogueInput": ".dialogue_input", "DialogueInputResponseModel": ".dialogue_input_response_model", "DirectPublishingReadResponseModel": ".direct_publishing_read_response_model", + "DirectPublishingReadResponseModelCurrency": ".direct_publishing_read_response_model_currency", "DirectPublishingReadResponseModelDisplayMode": ".direct_publishing_read_response_model_display_mode", "DirectPublishingReadResponseModelGenreItem": ".direct_publishing_read_response_model_genre_item", "DirectPublishingReadResponseModelPayoutType": ".direct_publishing_read_response_model_payout_type", @@ -2896,6 +3035,7 @@ "DubbingTranscriptsResponseModel": ".dubbing_transcripts_response_model", "DubbingTranscriptsResponseModelTranscriptFormat": ".dubbing_transcripts_response_model_transcript_format", "DynamicVariableAssignment": ".dynamic_variable_assignment", + "DynamicVariableAssignmentSource": ".dynamic_variable_assignment_source", "DynamicVariableSchemaOverride": ".dynamic_variable_schema_override", "DynamicVariableUpdateCommonModel": ".dynamic_variable_update_common_model", "DynamicVariablesConfig": ".dynamic_variables_config", @@ -2911,6 +3051,7 @@ "EmbeddingModelEnum": ".embedding_model_enum", "EndCallToolConfig": ".end_call_tool_config", "EndCallToolResultModel": ".end_call_tool_result_model", + "EndCallToolResultModelStatus": ".end_call_tool_result_model_status", "EvaluationSettings": ".evaluation_settings", "EvaluationSuccessResult": ".evaluation_success_result", "ExactParameterEvaluationStrategy": ".exact_parameter_evaluation_strategy", @@ -2939,6 +3080,7 @@ "GenerateVoiceRequest": ".generate_voice_request", "GenerationConfig": ".generation_config", "GenerationSourceContext": ".generation_source_context", + "GenerationSourceContextSourceType": ".generation_source_context_source_type", "GetAgentEmbedResponseModel": ".get_agent_embed_response_model", "GetAgentKnowledgebaseSizeResponseModel": ".get_agent_knowledgebase_size_response_model", "GetAgentLinkResponseModel": ".get_agent_link_response_model", @@ -2953,7 +3095,9 @@ "GetChaptersRequest": ".get_chapters_request", "GetChaptersResponse": ".get_chapters_response", "GetClientAppointmentsParams": ".get_client_appointments_params", + "GetClientAppointmentsParamsSmbToolType": ".get_client_appointments_params_smb_tool_type", "GetClientByPhoneParams": ".get_client_by_phone_params", + "GetClientByPhoneParamsSmbToolType": ".get_client_by_phone_params_smb_tool_type", "GetConvAiDashboardSettingsResponseModel": ".get_conv_ai_dashboard_settings_response_model", "GetConvAiDashboardSettingsResponseModelChartsItem": ".get_conv_ai_dashboard_settings_response_model_charts_item", "GetConvAiDashboardSettingsResponseModelChartsItem_CallSuccess": ".get_conv_ai_dashboard_settings_response_model_charts_item", @@ -3036,7 +3180,9 @@ "GetWorkspaceSecretsResponseModel": ".get_workspace_secrets_response_model", "GuardrailExecutionMode": ".guardrail_execution_mode", "GuardrailsV1Input": ".guardrails_v_1_input", + "GuardrailsV1InputVersion": ".guardrails_v_1_input_version", "GuardrailsV1Output": ".guardrails_v_1_output", + "GuardrailsV1OutputVersion": ".guardrails_v_1_output_version", "HistoryAlignmentResponseModel": ".history_alignment_response_model", "HistoryAlignmentsResponseModel": ".history_alignments_response_model", "HistoryItemResponse": ".history_item_response", @@ -3071,6 +3217,7 @@ "LanguageAddedResponse": ".language_added_response", "LanguageDetectionToolConfig": ".language_detection_tool_config", "LanguageDetectionToolResultModel": ".language_detection_tool_result_model", + "LanguageDetectionToolResultModelStatus": ".language_detection_tool_result_model_status", "LanguagePresetInput": ".language_preset_input", "LanguagePresetOutput": ".language_preset_output", "LanguagePresetTranslation": ".language_preset_translation", @@ -3078,15 +3225,22 @@ "LibraryVoiceResponse": ".library_voice_response", "LibraryVoiceResponseModelCategory": ".library_voice_response_model_category", "ListAssetsParams": ".list_assets_params", + "ListAssetsParamsSmbToolType": ".list_assets_params_smb_tool_type", "ListCalendarEventsParams": ".list_calendar_events_params", + "ListCalendarEventsParamsSmbToolType": ".list_calendar_events_params_smb_tool_type", "ListClientsParams": ".list_clients_params", + "ListClientsParamsSmbToolType": ".list_clients_params_smb_tool_type", "ListMcpToolsResponseModel": ".list_mcp_tools_response_model", "ListProductsParams": ".list_products_params", + "ListProductsParamsSmbToolType": ".list_products_params_smb_tool_type", "ListRentalServicesParams": ".list_rental_services_params", + "ListRentalServicesParamsSmbToolType": ".list_rental_services_params_smb_tool_type", "ListResponseAgentBranchSummary": ".list_response_agent_branch_summary", "ListResponseMeta": ".list_response_meta", "ListServicesParams": ".list_services_params", + "ListServicesParamsSmbToolType": ".list_services_params_smb_tool_type", "ListStaffParams": ".list_staff_params", + "ListStaffParamsSmbToolType": ".list_staff_params_smb_tool_type", "ListWhatsAppAccountsResponse": ".list_whats_app_accounts_response", "LiteralJsonSchemaProperty": ".literal_json_schema_property", "LiteralJsonSchemaPropertyConstantValue": ".literal_json_schema_property_constant_value", @@ -3159,12 +3313,15 @@ "MusicPrompt": ".music_prompt", "MusicUploadResponse": ".music_upload_response", "NoCoachingSettings": ".no_coaching_settings", + "NoCoachingSettingsType": ".no_coaching_settings_type", "NonStreamingOutputFormats": ".non_streaming_output_formats", "NormalizedAlignment": ".normalized_alignment", "ObjectJsonSchemaPropertyInput": ".object_json_schema_property_input", "ObjectJsonSchemaPropertyInputPropertiesValue": ".object_json_schema_property_input_properties_value", + "ObjectJsonSchemaPropertyInputType": ".object_json_schema_property_input_type", "ObjectJsonSchemaPropertyOutput": ".object_json_schema_property_output", "ObjectJsonSchemaPropertyOutputPropertiesValue": ".object_json_schema_property_output_properties_value", + "ObjectJsonSchemaPropertyOutputType": ".object_json_schema_property_output_type", "ObjectOverrideInput": ".object_override_input", "ObjectOverrideInputPropertiesValue": ".object_override_input_properties_value", "ObjectOverrideOutput": ".object_override_output", @@ -3178,9 +3335,11 @@ "PatchWorkspaceWebhookResponseModel": ".patch_workspace_webhook_response_model", "PdfExportOptions": ".pdf_export_options", "PendingCancellationResponseModel": ".pending_cancellation_response_model", + "PendingCancellationResponseModelKind": ".pending_cancellation_response_model_kind", "PendingClipTask": ".pending_clip_task", "PendingClipTaskType": ".pending_clip_task_type", "PendingSubscriptionSwitchResponseModel": ".pending_subscription_switch_response_model", + "PendingSubscriptionSwitchResponseModelKind": ".pending_subscription_switch_response_model_kind", "PendingSubscriptionSwitchResponseModelNextTier": ".pending_subscription_switch_response_model_next_tier", "PermissionType": ".permission_type", "PhoneNumberAgentInfo": ".phone_number_agent_info", @@ -3199,7 +3358,9 @@ "PhoneNumberTransferTransferDestination_SipUri": ".phone_number_transfer_transfer_destination", "PhoneNumberTransferTransferDestination_SipUriDynamicVariable": ".phone_number_transfer_transfer_destination", "PlayDtmfResultErrorModel": ".play_dtmf_result_error_model", + "PlayDtmfResultErrorModelStatus": ".play_dtmf_result_error_model_status", "PlayDtmfResultSuccessModel": ".play_dtmf_result_success_model", + "PlayDtmfResultSuccessModelStatus": ".play_dtmf_result_success_model_status", "PlayDtmfToolConfig": ".play_dtmf_tool_config", "PodcastBulletinMode": ".podcast_bulletin_mode", "PodcastBulletinModeData": ".podcast_bulletin_mode_data", @@ -3207,13 +3368,16 @@ "PodcastConversationModeData": ".podcast_conversation_mode_data", "PodcastProjectResponseModel": ".podcast_project_response_model", "PodcastTextSource": ".podcast_text_source", + "PodcastTextSourceType": ".podcast_text_source_type", "PodcastUrlSource": ".podcast_url_source", + "PodcastUrlSourceType": ".podcast_url_source_type", "PositionInput": ".position_input", "PositionOutput": ".position_output", "PostAgentAvatarResponseModel": ".post_agent_avatar_response_model", "PostDialDigitsDynamicVariable": ".post_dial_digits_dynamic_variable", "PostDialDigitsStatic": ".post_dial_digits_static", "PostWorkspaceSecretResponseModel": ".post_workspace_secret_response_model", + "PostWorkspaceSecretResponseModelType": ".post_workspace_secret_response_model_type", "PreviewAudioDbModel": ".preview_audio_db_model", "PrivacyConfigInput": ".privacy_config_input", "PrivacyConfigOutput": ".privacy_config_output", @@ -3239,6 +3403,7 @@ "ProjectExternalAudioResponseModelSourceContext_Sfx": ".project_external_audio_response_model_source_context", "ProjectExternalAudioResponseModelSourceContext_Song": ".project_external_audio_response_model_source_context", "ProjectImageResponseModel": ".project_image_response_model", + "ProjectImageResponseModelSource": ".project_image_response_model_source", "ProjectMutedTracksResponseModel": ".project_muted_tracks_response_model", "ProjectResponse": ".project_response", "ProjectResponseModelAccessLevel": ".project_response_model_access_level", @@ -3300,6 +3465,7 @@ "PromptAgentApiModelWorkflowOverrideOutputToolsItem_Webhook": ".prompt_agent_api_model_workflow_override_output_tools_item", "PromptAgentDbModel": ".prompt_agent_db_model", "PromptEvaluationCriteria": ".prompt_evaluation_criteria", + "PromptEvaluationCriteriaType": ".prompt_evaluation_criteria_type", "PromptInjectionGuardrail": ".prompt_injection_guardrail", "PronunciationDictionaryAliasRuleRequestModel": ".pronunciation_dictionary_alias_rule_request_model", "PronunciationDictionaryAliasRuleResponseModel": ".pronunciation_dictionary_alias_rule_response_model", @@ -3348,6 +3514,7 @@ "ResourceMetadataResponseModel": ".resource_metadata_response_model", "ResourceMetadataResponseModelAnonymousAccessLevelOverride": ".resource_metadata_response_model_anonymous_access_level_override", "ResponseFilter": ".response_filter", + "ResponseFilterContentType": ".response_filter_content_type", "ResponseFilterMode": ".response_filter_mode", "ResponseUnitTestModel": ".response_unit_test_model", "ResponseUnitTestModelDynamicVariablesValue": ".response_unit_test_model_dynamic_variables_value", @@ -3363,9 +3530,13 @@ "SampleConfigDbModelParentType": ".sample_config_db_model_parent_type", "SaveVoicePreviewRequest": ".save_voice_preview_request", "SayNodeLiteralMessageInput": ".say_node_literal_message_input", + "SayNodeLiteralMessageInputType": ".say_node_literal_message_input_type", "SayNodeLiteralMessageOutput": ".say_node_literal_message_output", + "SayNodeLiteralMessageOutputType": ".say_node_literal_message_output_type", "SayNodePromptMessageInput": ".say_node_prompt_message_input", + "SayNodePromptMessageInputType": ".say_node_prompt_message_input_type", "SayNodePromptMessageOutput": ".say_node_prompt_message_output", + "SayNodePromptMessageOutputType": ".say_node_prompt_message_output_type", "ScribeAuthErrorPayload": ".scribe_auth_error_payload", "ScribeChunkSizeExceededErrorPayload": ".scribe_chunk_size_exceeded_error_payload", "ScribeErrorPayload": ".scribe_error_payload", @@ -3380,6 +3551,7 @@ "ScribeTranscriberErrorPayload": ".scribe_transcriber_error_payload", "ScribeUnacceptedTermsErrorPayload": ".scribe_unaccepted_terms_error_payload", "SearchClientsParams": ".search_clients_params", + "SearchClientsParamsSmbToolType": ".search_clients_params_smb_tool_type", "SeatType": ".seat_type", "SecretDependencyType": ".secret_dependency_type", "SectionSource": ".section_source", @@ -3415,6 +3587,7 @@ "SipUriTransferDestination": ".sip_uri_transfer_destination", "SkipTurnToolConfig": ".skip_turn_tool_config", "SkipTurnToolResponseModel": ".skip_turn_tool_response_model", + "SkipTurnToolResponseModelStatus": ".skip_turn_tool_response_model_status", "SoftTimeoutConfig": ".soft_timeout_config", "SoftTimeoutConfigOverride": ".soft_timeout_config_override", "SoftTimeoutConfigOverrideConfig": ".soft_timeout_config_override_config", @@ -3473,6 +3646,7 @@ "SystemToolConfigInputParams_TransferToAgent": ".system_tool_config_input_params", "SystemToolConfigInputParams_TransferToNumber": ".system_tool_config_input_params", "SystemToolConfigInputParams_VoicemailDetection": ".system_tool_config_input_params", + "SystemToolConfigInputType": ".system_tool_config_input_type", "SystemToolConfigOutput": ".system_tool_config_output", "SystemToolConfigOutputParams": ".system_tool_config_output_params", "SystemToolConfigOutputParams_AgentPromptChange": ".system_tool_config_output_params", @@ -3487,6 +3661,7 @@ "SystemToolConfigOutputParams_TransferToAgent": ".system_tool_config_output_params", "SystemToolConfigOutputParams_TransferToNumber": ".system_tool_config_output_params", "SystemToolConfigOutputParams_VoicemailDetection": ".system_tool_config_output_params", + "SystemToolConfigOutputType": ".system_tool_config_output_type", "TelephonyCallConfig": ".telephony_call_config", "TelephonyProvider": ".telephony_provider", "TestConditionRationaleCommonModel": ".test_condition_rationale_common_model", @@ -3498,6 +3673,7 @@ "TestRunMetadataTestType": ".test_run_metadata_test_type", "TestRunStatus": ".test_run_status", "TestToolResultModel": ".test_tool_result_model", + "TestToolResultModelStatus": ".test_tool_result_model_status", "TestType": ".test_type", "TestsFeatureUsageCommonModel": ".tests_feature_usage_common_model", "TextNormalisationType": ".text_normalisation_type", @@ -3542,13 +3718,18 @@ "TransferBranchInfoTrafficSplit": ".transfer_branch_info_traffic_split", "TransferToAgentToolConfig": ".transfer_to_agent_tool_config", "TransferToAgentToolResultErrorModel": ".transfer_to_agent_tool_result_error_model", + "TransferToAgentToolResultErrorModelStatus": ".transfer_to_agent_tool_result_error_model_status", "TransferToAgentToolResultSuccessModel": ".transfer_to_agent_tool_result_success_model", "TransferToAgentToolResultSuccessModelBranchInfo": ".transfer_to_agent_tool_result_success_model_branch_info", "TransferToAgentToolResultSuccessModelBranchInfo_DefaultingToMain": ".transfer_to_agent_tool_result_success_model_branch_info", "TransferToAgentToolResultSuccessModelBranchInfo_TrafficSplit": ".transfer_to_agent_tool_result_success_model_branch_info", + "TransferToAgentToolResultSuccessModelStatus": ".transfer_to_agent_tool_result_success_model_status", "TransferToNumberResultErrorModel": ".transfer_to_number_result_error_model", + "TransferToNumberResultErrorModelStatus": ".transfer_to_number_result_error_model_status", "TransferToNumberResultSipSuccessModel": ".transfer_to_number_result_sip_success_model", + "TransferToNumberResultSipSuccessModelStatus": ".transfer_to_number_result_sip_success_model_status", "TransferToNumberResultTwilioSuccessModel": ".transfer_to_number_result_twilio_success_model", + "TransferToNumberResultTwilioSuccessModelStatus": ".transfer_to_number_result_twilio_success_model_status", "TransferToNumberToolConfigInput": ".transfer_to_number_tool_config_input", "TransferToNumberToolConfigOutput": ".transfer_to_number_tool_config_output", "TransferTypeEnum": ".transfer_type_enum", @@ -3588,20 +3769,27 @@ "UnitTestToolCallParameterEval_Llm": ".unit_test_tool_call_parameter_eval", "UnitTestToolCallParameterEval_Regex": ".unit_test_tool_call_parameter_eval", "UnitTestWorkflowNodeTransitionEvaluationNodeId": ".unit_test_workflow_node_transition_evaluation_node_id", + "UnitTestWorkflowNodeTransitionEvaluationNodeIdType": ".unit_test_workflow_node_transition_evaluation_node_id_type", "UpdateAssetParams": ".update_asset_params", + "UpdateAssetParamsSmbToolType": ".update_asset_params_smb_tool_type", "UpdateAudioNativeProjectRequest": ".update_audio_native_project_request", "UpdateCalendarEventParams": ".update_calendar_event_params", + "UpdateCalendarEventParamsSmbToolType": ".update_calendar_event_params_smb_tool_type", "UpdateChapterRequest": ".update_chapter_request", "UpdateClientParams": ".update_client_params", + "UpdateClientParamsSmbToolType": ".update_client_params_smb_tool_type", "UpdateProductParams": ".update_product_params", + "UpdateProductParamsSmbToolType": ".update_product_params_smb_tool_type", "UpdateProjectRequest": ".update_project_request", "UpdatePronunciationDictionariesRequest": ".update_pronunciation_dictionaries_request", "UpdateResponseUnitTestRequest": ".update_response_unit_test_request", "UpdateResponseUnitTestRequestDynamicVariablesValue": ".update_response_unit_test_request_dynamic_variables_value", "UpdateServiceParams": ".update_service_params", + "UpdateServiceParamsSmbToolType": ".update_service_params_smb_tool_type", "UpdateSimulationTestRequest": ".update_simulation_test_request", "UpdateSimulationTestRequestDynamicVariablesValue": ".update_simulation_test_request_dynamic_variables_value", "UpdateStaffParams": ".update_staff_params", + "UpdateStaffParamsSmbToolType": ".update_staff_params_smb_tool_type", "UpdateToolCallUnitTestRequest": ".update_tool_call_unit_test_request", "UpdateToolCallUnitTestRequestDynamicVariablesValue": ".update_tool_call_unit_test_request_dynamic_variables_value", "UpdateWorkspaceMemberResponseModel": ".update_workspace_member_response_model", @@ -3634,6 +3822,7 @@ "VoiceGenerationParameterOptionResponse": ".voice_generation_parameter_option_response", "VoiceGenerationParameterResponse": ".voice_generation_parameter_response", "VoiceMailDetectionResultSuccessModel": ".voice_mail_detection_result_success_model", + "VoiceMailDetectionResultSuccessModelStatus": ".voice_mail_detection_result_success_model_status", "VoicePreviewResponseModel": ".voice_preview_response_model", "VoiceResponseModelCategory": ".voice_response_model_category", "VoiceResponseModelSafetyControl": ".voice_response_model_safety_control", @@ -3652,6 +3841,7 @@ "WebhookAuthMethodType": ".webhook_auth_method_type", "WebhookEventType": ".webhook_event_type", "WebhookHmacSettings": ".webhook_hmac_settings", + "WebhookHmacSettingsAuthType": ".webhook_hmac_settings_auth_type", "WebhookToolApiSchemaConfigInput": ".webhook_tool_api_schema_config_input", "WebhookToolApiSchemaConfigInputContentType": ".webhook_tool_api_schema_config_input_content_type", "WebhookToolApiSchemaConfigInputMethod": ".webhook_tool_api_schema_config_input_method", @@ -3684,6 +3874,7 @@ "WhatsAppTemplateLocationParam": ".whats_app_template_location_param", "WhatsAppTemplateLocationParamDetails": ".whats_app_template_location_param_details", "WhatsAppTemplateTextParam": ".whats_app_template_text_param", + "WhatsAppTemplateTextParamType": ".whats_app_template_text_param_type", "WidgetConfig": ".widget_config", "WidgetConfigInputAvatar": ".widget_config_input_avatar", "WidgetConfigInputAvatar_Image": ".widget_config_input_avatar", @@ -3831,6 +4022,7 @@ "WorkspaceGroupPermission": ".workspace_group_permission", "WorkspaceGroupResponseModel": ".workspace_group_response_model", "WorkspaceGroupResponseModelGroupUsageLimit": ".workspace_group_response_model_group_usage_limit", + "WorkspaceGroupResponseModelGroupUsageLimitOne": ".workspace_group_response_model_group_usage_limit_one", "WorkspaceResourceType": ".workspace_resource_type", "WorkspaceServiceAccountListResponseModel": ".workspace_service_account_list_response_model", "WorkspaceServiceAccountResponseModel": ".workspace_service_account_response_model", @@ -3889,10 +4081,12 @@ def __dir__(): "AgentConfigOverrideOutput", "AgentDefinitionSource", "AgentDeploymentPercentageStrategy", + "AgentDeploymentPercentageStrategyType", "AgentDeploymentRequest", "AgentDeploymentRequestItem", "AgentDeploymentResponse", "AgentFailureResponseExample", + "AgentFailureResponseExampleType", "AgentMetadata", "AgentMetadataResponseModel", "AgentPlatformSettingsRequestModel", @@ -3901,6 +4095,7 @@ def __dir__(): "AgentSimulatedChatTestResponseModel", "AgentSortBy", "AgentSuccessfulResponseExample", + "AgentSuccessfulResponseExampleType", "AgentSummaryBatchSuccessfulResponseModel", "AgentSummaryResponseModel", "AgentTestEntityType", @@ -3946,8 +4141,10 @@ def __dir__(): "ApiIntegrationWebhookToolConfigOutput", "ArrayJsonSchemaPropertyInput", "ArrayJsonSchemaPropertyInputItems", + "ArrayJsonSchemaPropertyInputType", "ArrayJsonSchemaPropertyOutput", "ArrayJsonSchemaPropertyOutputItems", + "ArrayJsonSchemaPropertyOutputType", "AsrConversationalConfig", "AsrConversationalConfigWorkflowOverride", "AsrInputFormat", @@ -4387,8 +4584,11 @@ def __dir__(): "AuthSettings", "AuthorizationMethod", "BackupLlmDefault", + "BackupLlmDefaultPreference", "BackupLlmDisabled", + "BackupLlmDisabledPreference", "BackupLlmOverride", + "BackupLlmOverridePreference", "BadRequestErrorBody", "BatchCallDetailedResponse", "BatchCallRecipientStatus", @@ -4432,6 +4632,7 @@ def __dir__(): "ChapterContentBlockTtsNodeResponseModel", "ChapterContentInputModel", "ChapterContentParagraphTtsNodeInputModel", + "ChapterContentParagraphTtsNodeInputModelType", "ChapterContentResponseModel", "ChapterResponse", "ChapterSnapshotExtendedResponseModel", @@ -4447,7 +4648,9 @@ def __dir__(): "CharacterUsageResponse", "ChatSourceMedium", "CheckRentalAvailabilityParams", + "CheckRentalAvailabilityParamsSmbToolType", "CheckServiceAvailabilityParams", + "CheckServiceAvailabilityParamsSmbToolType", "ClientEvent", "ClientToolConfigInput", "ClientToolConfigOutput", @@ -4458,7 +4661,9 @@ def __dir__(): "CloseContext", "CloseSocket", "CoachedAgentSettings", + "CoachedAgentSettingsType", "CoachingAgentSettings", + "CoachingAgentSettingsType", "CommittedTranscriptPayload", "CommittedTranscriptWithTimestampsPayload", "ConfigEntityType", @@ -4467,6 +4672,8 @@ def __dir__(): "ContentConfig", "ContentGuardrailInput", "ContentGuardrailOutput", + "ContentThresholdGuardrail", + "ContentThresholdGuardrailThreshold", "Contributor", "ConvAiDynamicVariable", "ConvAiFileUploadResponseModel", @@ -4481,6 +4688,7 @@ def __dir__(): "ConvAiUserSecretDbModel", "ConvAiWebhooks", "ConvAiWorkspaceStoredSecretConfig", + "ConvAiWorkspaceStoredSecretConfigType", "ConversationChargingCommonModel", "ConversationConfig", "ConversationConfigClientOverrideConfigInput", @@ -4509,6 +4717,7 @@ def __dir__(): "ConversationHistorySipTrunkingPhoneCallModel", "ConversationHistorySipTrunkingPhoneCallModelDirection", "ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel", + "ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelType", "ConversationHistoryTranscriptCommonModelInput", "ConversationHistoryTranscriptCommonModelInputRole", "ConversationHistoryTranscriptCommonModelInputToolResultsItem", @@ -4535,6 +4744,7 @@ def __dir__(): "ConversationHistoryTranscriptSystemToolResultCommonModelInputResult_TransferToNumberSipSuccess", "ConversationHistoryTranscriptSystemToolResultCommonModelInputResult_TransferToNumberTwilioSuccess", "ConversationHistoryTranscriptSystemToolResultCommonModelInputResult_VoicemailDetectionSuccess", + "ConversationHistoryTranscriptSystemToolResultCommonModelInputType", "ConversationHistoryTranscriptSystemToolResultCommonModelOutput", "ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult", "ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult_EndCallSuccess", @@ -4549,6 +4759,7 @@ def __dir__(): "ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult_TransferToNumberSipSuccess", "ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult_TransferToNumberTwilioSuccess", "ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult_VoicemailDetectionSuccess", + "ConversationHistoryTranscriptSystemToolResultCommonModelOutputType", "ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails", "ConversationHistoryTranscriptToolCallClientDetails", "ConversationHistoryTranscriptToolCallCommonModelInput", @@ -4565,8 +4776,11 @@ def __dir__(): "ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails_Webhook", "ConversationHistoryTranscriptToolCallMcpDetails", "ConversationHistoryTranscriptToolCallWebhookDetails", + "ConversationHistoryTranscriptToolCallWebhookDetailsType", "ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput", + "ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputType", "ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput", + "ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputType", "ConversationHistoryTwilioPhoneCallModel", "ConversationHistoryTwilioPhoneCallModelDirection", "ConversationInitiationClientDataConfigInput", @@ -4600,21 +4814,28 @@ def __dir__(): "CreateAgentResponseModel", "CreateAgentTestResponseModel", "CreateAssetParams", + "CreateAssetParamsSmbToolType", "CreateAudioNativeProjectRequest", "CreateClientAppointmentParams", + "CreateClientAppointmentParamsSmbToolType", "CreateClientParams", + "CreateClientParamsSmbToolType", "CreatePhoneNumberResponseModel", "CreatePreviouslyGeneratedVoiceRequest", "CreateProductParams", + "CreateProductParamsSmbToolType", "CreatePronunciationDictionaryResponseModel", "CreateRentalBookingParams", + "CreateRentalBookingParamsSmbToolType", "CreateResponseUnitTestRequest", "CreateResponseUnitTestRequestDynamicVariablesValue", "CreateServiceParams", + "CreateServiceParamsSmbToolType", "CreateSimulationTestRequest", "CreateSimulationTestRequestDynamicVariablesValue", "CreateSipTrunkPhoneNumberRequest", "CreateStaffParams", + "CreateStaffParamsSmbToolType", "CreateToolCallUnitTestRequest", "CreateToolCallUnitTestRequestDynamicVariablesValue", "CreateTranscriptRequest", @@ -4636,18 +4857,24 @@ def __dir__(): "DefaultSharingGroupResponseModel", "DefaultSharingGroupResponseModelPermissionLevel", "DeleteAssetParams", + "DeleteAssetParamsSmbToolType", "DeleteCalendarEventParams", + "DeleteCalendarEventParamsSmbToolType", "DeleteChapterRequest", "DeleteChapterResponseModel", "DeleteClientParams", + "DeleteClientParamsSmbToolType", "DeleteDubbingResponseModel", "DeleteHistoryItemResponse", "DeleteProductParams", + "DeleteProductParamsSmbToolType", "DeleteProjectRequest", "DeleteProjectResponseModel", "DeleteSampleResponse", "DeleteServiceParams", + "DeleteServiceParamsSmbToolType", "DeleteStaffParams", + "DeleteStaffParamsSmbToolType", "DeleteVoiceResponseModel", "DeleteVoiceSampleResponseModel", "DeleteWorkspaceGroupMemberResponseModel", @@ -4666,6 +4893,7 @@ def __dir__(): "DialogueInput", "DialogueInputResponseModel", "DirectPublishingReadResponseModel", + "DirectPublishingReadResponseModelCurrency", "DirectPublishingReadResponseModelDisplayMode", "DirectPublishingReadResponseModelGenreItem", "DirectPublishingReadResponseModelPayoutType", @@ -4690,6 +4918,7 @@ def __dir__(): "DubbingTranscriptsResponseModel", "DubbingTranscriptsResponseModelTranscriptFormat", "DynamicVariableAssignment", + "DynamicVariableAssignmentSource", "DynamicVariableSchemaOverride", "DynamicVariableUpdateCommonModel", "DynamicVariablesConfig", @@ -4705,6 +4934,7 @@ def __dir__(): "EmbeddingModelEnum", "EndCallToolConfig", "EndCallToolResultModel", + "EndCallToolResultModelStatus", "EvaluationSettings", "EvaluationSuccessResult", "ExactParameterEvaluationStrategy", @@ -4733,6 +4963,7 @@ def __dir__(): "GenerateVoiceRequest", "GenerationConfig", "GenerationSourceContext", + "GenerationSourceContextSourceType", "GetAgentEmbedResponseModel", "GetAgentKnowledgebaseSizeResponseModel", "GetAgentLinkResponseModel", @@ -4747,7 +4978,9 @@ def __dir__(): "GetChaptersRequest", "GetChaptersResponse", "GetClientAppointmentsParams", + "GetClientAppointmentsParamsSmbToolType", "GetClientByPhoneParams", + "GetClientByPhoneParamsSmbToolType", "GetConvAiDashboardSettingsResponseModel", "GetConvAiDashboardSettingsResponseModelChartsItem", "GetConvAiDashboardSettingsResponseModelChartsItem_CallSuccess", @@ -4830,7 +5063,9 @@ def __dir__(): "GetWorkspaceSecretsResponseModel", "GuardrailExecutionMode", "GuardrailsV1Input", + "GuardrailsV1InputVersion", "GuardrailsV1Output", + "GuardrailsV1OutputVersion", "HistoryAlignmentResponseModel", "HistoryAlignmentsResponseModel", "HistoryItemResponse", @@ -4865,6 +5100,7 @@ def __dir__(): "LanguageAddedResponse", "LanguageDetectionToolConfig", "LanguageDetectionToolResultModel", + "LanguageDetectionToolResultModelStatus", "LanguagePresetInput", "LanguagePresetOutput", "LanguagePresetTranslation", @@ -4872,15 +5108,22 @@ def __dir__(): "LibraryVoiceResponse", "LibraryVoiceResponseModelCategory", "ListAssetsParams", + "ListAssetsParamsSmbToolType", "ListCalendarEventsParams", + "ListCalendarEventsParamsSmbToolType", "ListClientsParams", + "ListClientsParamsSmbToolType", "ListMcpToolsResponseModel", "ListProductsParams", + "ListProductsParamsSmbToolType", "ListRentalServicesParams", + "ListRentalServicesParamsSmbToolType", "ListResponseAgentBranchSummary", "ListResponseMeta", "ListServicesParams", + "ListServicesParamsSmbToolType", "ListStaffParams", + "ListStaffParamsSmbToolType", "ListWhatsAppAccountsResponse", "LiteralJsonSchemaProperty", "LiteralJsonSchemaPropertyConstantValue", @@ -4953,12 +5196,15 @@ def __dir__(): "MusicPrompt", "MusicUploadResponse", "NoCoachingSettings", + "NoCoachingSettingsType", "NonStreamingOutputFormats", "NormalizedAlignment", "ObjectJsonSchemaPropertyInput", "ObjectJsonSchemaPropertyInputPropertiesValue", + "ObjectJsonSchemaPropertyInputType", "ObjectJsonSchemaPropertyOutput", "ObjectJsonSchemaPropertyOutputPropertiesValue", + "ObjectJsonSchemaPropertyOutputType", "ObjectOverrideInput", "ObjectOverrideInputPropertiesValue", "ObjectOverrideOutput", @@ -4972,9 +5218,11 @@ def __dir__(): "PatchWorkspaceWebhookResponseModel", "PdfExportOptions", "PendingCancellationResponseModel", + "PendingCancellationResponseModelKind", "PendingClipTask", "PendingClipTaskType", "PendingSubscriptionSwitchResponseModel", + "PendingSubscriptionSwitchResponseModelKind", "PendingSubscriptionSwitchResponseModelNextTier", "PermissionType", "PhoneNumberAgentInfo", @@ -4993,7 +5241,9 @@ def __dir__(): "PhoneNumberTransferTransferDestination_SipUri", "PhoneNumberTransferTransferDestination_SipUriDynamicVariable", "PlayDtmfResultErrorModel", + "PlayDtmfResultErrorModelStatus", "PlayDtmfResultSuccessModel", + "PlayDtmfResultSuccessModelStatus", "PlayDtmfToolConfig", "PodcastBulletinMode", "PodcastBulletinModeData", @@ -5001,13 +5251,16 @@ def __dir__(): "PodcastConversationModeData", "PodcastProjectResponseModel", "PodcastTextSource", + "PodcastTextSourceType", "PodcastUrlSource", + "PodcastUrlSourceType", "PositionInput", "PositionOutput", "PostAgentAvatarResponseModel", "PostDialDigitsDynamicVariable", "PostDialDigitsStatic", "PostWorkspaceSecretResponseModel", + "PostWorkspaceSecretResponseModelType", "PreviewAudioDbModel", "PrivacyConfigInput", "PrivacyConfigOutput", @@ -5033,6 +5286,7 @@ def __dir__(): "ProjectExternalAudioResponseModelSourceContext_Sfx", "ProjectExternalAudioResponseModelSourceContext_Song", "ProjectImageResponseModel", + "ProjectImageResponseModelSource", "ProjectMutedTracksResponseModel", "ProjectResponse", "ProjectResponseModelAccessLevel", @@ -5094,6 +5348,7 @@ def __dir__(): "PromptAgentApiModelWorkflowOverrideOutputToolsItem_Webhook", "PromptAgentDbModel", "PromptEvaluationCriteria", + "PromptEvaluationCriteriaType", "PromptInjectionGuardrail", "PronunciationDictionaryAliasRuleRequestModel", "PronunciationDictionaryAliasRuleResponseModel", @@ -5142,6 +5397,7 @@ def __dir__(): "ResourceMetadataResponseModel", "ResourceMetadataResponseModelAnonymousAccessLevelOverride", "ResponseFilter", + "ResponseFilterContentType", "ResponseFilterMode", "ResponseUnitTestModel", "ResponseUnitTestModelDynamicVariablesValue", @@ -5157,9 +5413,13 @@ def __dir__(): "SampleConfigDbModelParentType", "SaveVoicePreviewRequest", "SayNodeLiteralMessageInput", + "SayNodeLiteralMessageInputType", "SayNodeLiteralMessageOutput", + "SayNodeLiteralMessageOutputType", "SayNodePromptMessageInput", + "SayNodePromptMessageInputType", "SayNodePromptMessageOutput", + "SayNodePromptMessageOutputType", "ScribeAuthErrorPayload", "ScribeChunkSizeExceededErrorPayload", "ScribeErrorPayload", @@ -5174,6 +5434,7 @@ def __dir__(): "ScribeTranscriberErrorPayload", "ScribeUnacceptedTermsErrorPayload", "SearchClientsParams", + "SearchClientsParamsSmbToolType", "SeatType", "SecretDependencyType", "SectionSource", @@ -5209,6 +5470,7 @@ def __dir__(): "SipUriTransferDestination", "SkipTurnToolConfig", "SkipTurnToolResponseModel", + "SkipTurnToolResponseModelStatus", "SoftTimeoutConfig", "SoftTimeoutConfigOverride", "SoftTimeoutConfigOverrideConfig", @@ -5267,6 +5529,7 @@ def __dir__(): "SystemToolConfigInputParams_TransferToAgent", "SystemToolConfigInputParams_TransferToNumber", "SystemToolConfigInputParams_VoicemailDetection", + "SystemToolConfigInputType", "SystemToolConfigOutput", "SystemToolConfigOutputParams", "SystemToolConfigOutputParams_AgentPromptChange", @@ -5281,6 +5544,7 @@ def __dir__(): "SystemToolConfigOutputParams_TransferToAgent", "SystemToolConfigOutputParams_TransferToNumber", "SystemToolConfigOutputParams_VoicemailDetection", + "SystemToolConfigOutputType", "TelephonyCallConfig", "TelephonyProvider", "TestConditionRationaleCommonModel", @@ -5292,6 +5556,7 @@ def __dir__(): "TestRunMetadataTestType", "TestRunStatus", "TestToolResultModel", + "TestToolResultModelStatus", "TestType", "TestsFeatureUsageCommonModel", "TextNormalisationType", @@ -5336,13 +5601,18 @@ def __dir__(): "TransferBranchInfoTrafficSplit", "TransferToAgentToolConfig", "TransferToAgentToolResultErrorModel", + "TransferToAgentToolResultErrorModelStatus", "TransferToAgentToolResultSuccessModel", "TransferToAgentToolResultSuccessModelBranchInfo", "TransferToAgentToolResultSuccessModelBranchInfo_DefaultingToMain", "TransferToAgentToolResultSuccessModelBranchInfo_TrafficSplit", + "TransferToAgentToolResultSuccessModelStatus", "TransferToNumberResultErrorModel", + "TransferToNumberResultErrorModelStatus", "TransferToNumberResultSipSuccessModel", + "TransferToNumberResultSipSuccessModelStatus", "TransferToNumberResultTwilioSuccessModel", + "TransferToNumberResultTwilioSuccessModelStatus", "TransferToNumberToolConfigInput", "TransferToNumberToolConfigOutput", "TransferTypeEnum", @@ -5382,20 +5652,27 @@ def __dir__(): "UnitTestToolCallParameterEval_Llm", "UnitTestToolCallParameterEval_Regex", "UnitTestWorkflowNodeTransitionEvaluationNodeId", + "UnitTestWorkflowNodeTransitionEvaluationNodeIdType", "UpdateAssetParams", + "UpdateAssetParamsSmbToolType", "UpdateAudioNativeProjectRequest", "UpdateCalendarEventParams", + "UpdateCalendarEventParamsSmbToolType", "UpdateChapterRequest", "UpdateClientParams", + "UpdateClientParamsSmbToolType", "UpdateProductParams", + "UpdateProductParamsSmbToolType", "UpdateProjectRequest", "UpdatePronunciationDictionariesRequest", "UpdateResponseUnitTestRequest", "UpdateResponseUnitTestRequestDynamicVariablesValue", "UpdateServiceParams", + "UpdateServiceParamsSmbToolType", "UpdateSimulationTestRequest", "UpdateSimulationTestRequestDynamicVariablesValue", "UpdateStaffParams", + "UpdateStaffParamsSmbToolType", "UpdateToolCallUnitTestRequest", "UpdateToolCallUnitTestRequestDynamicVariablesValue", "UpdateWorkspaceMemberResponseModel", @@ -5428,6 +5705,7 @@ def __dir__(): "VoiceGenerationParameterOptionResponse", "VoiceGenerationParameterResponse", "VoiceMailDetectionResultSuccessModel", + "VoiceMailDetectionResultSuccessModelStatus", "VoicePreviewResponseModel", "VoiceResponseModelCategory", "VoiceResponseModelSafetyControl", @@ -5446,6 +5724,7 @@ def __dir__(): "WebhookAuthMethodType", "WebhookEventType", "WebhookHmacSettings", + "WebhookHmacSettingsAuthType", "WebhookToolApiSchemaConfigInput", "WebhookToolApiSchemaConfigInputContentType", "WebhookToolApiSchemaConfigInputMethod", @@ -5478,6 +5757,7 @@ def __dir__(): "WhatsAppTemplateLocationParam", "WhatsAppTemplateLocationParamDetails", "WhatsAppTemplateTextParam", + "WhatsAppTemplateTextParamType", "WidgetConfig", "WidgetConfigInputAvatar", "WidgetConfigInputAvatar_Image", @@ -5625,6 +5905,7 @@ def __dir__(): "WorkspaceGroupPermission", "WorkspaceGroupResponseModel", "WorkspaceGroupResponseModelGroupUsageLimit", + "WorkspaceGroupResponseModelGroupUsageLimitOne", "WorkspaceResourceType", "WorkspaceServiceAccountListResponseModel", "WorkspaceServiceAccountResponseModel", diff --git a/src/elevenlabs/types/additional_format_response_model.py b/src/elevenlabs/types/additional_format_response_model.py index 5b05e08b..e115f0c0 100644 --- a/src/elevenlabs/types/additional_format_response_model.py +++ b/src/elevenlabs/types/additional_format_response_model.py @@ -25,11 +25,11 @@ class AdditionalFormatResponseModel(UncheckedBaseModel): The content type of the additional format. """ - is_base_64_encoded: typing_extensions.Annotated[bool, FieldMetadata(alias="is_base64_encoded")] = pydantic.Field() - """ - Whether the content is base64 encoded. - """ - + is_base_64_encoded: typing_extensions.Annotated[ + bool, + FieldMetadata(alias="is_base64_encoded"), + pydantic.Field(alias="is_base64_encoded", description="Whether the content is base64 encoded."), + ] content: str = pydantic.Field() """ The content of the additional format. diff --git a/src/elevenlabs/types/agent_deployment_percentage_strategy.py b/src/elevenlabs/types/agent_deployment_percentage_strategy.py index f9f9f79c..b12332b5 100644 --- a/src/elevenlabs/types/agent_deployment_percentage_strategy.py +++ b/src/elevenlabs/types/agent_deployment_percentage_strategy.py @@ -5,10 +5,11 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .agent_deployment_percentage_strategy_type import AgentDeploymentPercentageStrategyType class AgentDeploymentPercentageStrategy(UncheckedBaseModel): - type: typing.Optional[typing.Literal["percentage"]] = None + type: typing.Optional[AgentDeploymentPercentageStrategyType] = None traffic_percentage: float = pydantic.Field() """ Traffic percentage to deploy diff --git a/src/elevenlabs/types/agent_deployment_percentage_strategy_type.py b/src/elevenlabs/types/agent_deployment_percentage_strategy_type.py new file mode 100644 index 00000000..3b6716c9 --- /dev/null +++ b/src/elevenlabs/types/agent_deployment_percentage_strategy_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +AgentDeploymentPercentageStrategyType = typing.Union[typing.Literal["percentage"], typing.Any] diff --git a/src/elevenlabs/types/agent_failure_response_example.py b/src/elevenlabs/types/agent_failure_response_example.py index 2229e81c..d4be4a30 100644 --- a/src/elevenlabs/types/agent_failure_response_example.py +++ b/src/elevenlabs/types/agent_failure_response_example.py @@ -5,11 +5,12 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .agent_failure_response_example_type import AgentFailureResponseExampleType class AgentFailureResponseExample(UncheckedBaseModel): response: str - type: typing.Literal["failure"] = "failure" + type: AgentFailureResponseExampleType if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/elevenlabs/types/agent_failure_response_example_type.py b/src/elevenlabs/types/agent_failure_response_example_type.py new file mode 100644 index 00000000..13205342 --- /dev/null +++ b/src/elevenlabs/types/agent_failure_response_example_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +AgentFailureResponseExampleType = typing.Union[typing.Literal["failure"], typing.Any] diff --git a/src/elevenlabs/types/agent_platform_settings_request_model.py b/src/elevenlabs/types/agent_platform_settings_request_model.py index 809edf26..d166bf40 100644 --- a/src/elevenlabs/types/agent_platform_settings_request_model.py +++ b/src/elevenlabs/types/agent_platform_settings_request_model.py @@ -11,6 +11,7 @@ from .auth_settings import AuthSettings from .conversation_initiation_client_data_config_input import ConversationInitiationClientDataConfigInput from .evaluation_settings import EvaluationSettings +from .guardrails_v_1_input import GuardrailsV1Input from .literal_json_schema_property import LiteralJsonSchemaProperty from .privacy_config_input import PrivacyConfigInput from .widget_config import WidgetConfig @@ -52,6 +53,11 @@ class AgentPlatformSettingsRequestModel(UncheckedBaseModel): Whether the agent is archived """ + guardrails: typing.Optional[GuardrailsV1Input] = pydantic.Field(default=None) + """ + Guardrails configuration for the agent + """ + summary_language: typing.Optional[str] = pydantic.Field(default=None) """ Language for all conversation analysis outputs (summaries, titles, evaluation rationales, data collection rationales). If not set, the language will be inferred from the conversation. Must be one of the supported conversation languages. diff --git a/src/elevenlabs/types/agent_platform_settings_response_model.py b/src/elevenlabs/types/agent_platform_settings_response_model.py index b474a8aa..245ae95f 100644 --- a/src/elevenlabs/types/agent_platform_settings_response_model.py +++ b/src/elevenlabs/types/agent_platform_settings_response_model.py @@ -11,6 +11,7 @@ from .auth_settings import AuthSettings from .conversation_initiation_client_data_config_output import ConversationInitiationClientDataConfigOutput from .evaluation_settings import EvaluationSettings +from .guardrails_v_1_output import GuardrailsV1Output from .literal_json_schema_property import LiteralJsonSchemaProperty from .privacy_config_output import PrivacyConfigOutput from .safety_response_model import SafetyResponseModel @@ -53,6 +54,11 @@ class AgentPlatformSettingsResponseModel(UncheckedBaseModel): Whether the agent is archived """ + guardrails: typing.Optional[GuardrailsV1Output] = pydantic.Field(default=None) + """ + Guardrails configuration for the agent + """ + summary_language: typing.Optional[str] = pydantic.Field(default=None) """ Language for all conversation analysis outputs (summaries, titles, evaluation rationales, data collection rationales). If not set, the language will be inferred from the conversation. Must be one of the supported conversation languages. diff --git a/src/elevenlabs/types/agent_successful_response_example.py b/src/elevenlabs/types/agent_successful_response_example.py index 4dd5da04..6ad6f513 100644 --- a/src/elevenlabs/types/agent_successful_response_example.py +++ b/src/elevenlabs/types/agent_successful_response_example.py @@ -5,11 +5,12 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .agent_successful_response_example_type import AgentSuccessfulResponseExampleType class AgentSuccessfulResponseExample(UncheckedBaseModel): response: str - type: typing.Literal["success"] = "success" + type: AgentSuccessfulResponseExampleType if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/elevenlabs/types/agent_successful_response_example_type.py b/src/elevenlabs/types/agent_successful_response_example_type.py new file mode 100644 index 00000000..a9cd517b --- /dev/null +++ b/src/elevenlabs/types/agent_successful_response_example_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +AgentSuccessfulResponseExampleType = typing.Union[typing.Literal["success"], typing.Any] diff --git a/src/elevenlabs/types/alignment.py b/src/elevenlabs/types/alignment.py index 73cf72c5..fb52802d 100644 --- a/src/elevenlabs/types/alignment.py +++ b/src/elevenlabs/types/alignment.py @@ -15,25 +15,21 @@ class Alignment(UncheckedBaseModel): """ char_start_times_ms: typing_extensions.Annotated[ - typing.Optional[typing.List[int]], FieldMetadata(alias="charStartTimesMs") - ] = pydantic.Field(default=None) - """ - A list of starting times (in milliseconds) for each character in the text as it - corresponds to the audio. For instance, the character 'H' starts at time 0 ms in the audio. - Note these times are relative to the returned chunk from the model, and not the - full audio response. - """ - + typing.Optional[typing.List[int]], + FieldMetadata(alias="charStartTimesMs"), + pydantic.Field( + alias="charStartTimesMs", + description="A list of starting times (in milliseconds) for each character in the text as it\ncorresponds to the audio. For instance, the character 'H' starts at time 0 ms in the audio.\nNote these times are relative to the returned chunk from the model, and not the\nfull audio response.", + ), + ] = None char_durations_ms: typing_extensions.Annotated[ - typing.Optional[typing.List[int]], FieldMetadata(alias="charDurationsMs") - ] = pydantic.Field(default=None) - """ - A list of durations (in milliseconds) for each character in the text as it - corresponds to the audio. For instance, the character 'H' lasts for 3 ms in the audio. - Note these times are relative to the returned chunk from the model, and not the - full audio response. - """ - + typing.Optional[typing.List[int]], + FieldMetadata(alias="charDurationsMs"), + pydantic.Field( + alias="charDurationsMs", + description="A list of durations (in milliseconds) for each character in the text as it\ncorresponds to the audio. For instance, the character 'H' lasts for 3 ms in the audio.\nNote these times are relative to the returned chunk from the model, and not the\nfull audio response.", + ), + ] = None chars: typing.Optional[typing.List[str]] = pydantic.Field(default=None) """ A list of characters in the text sequence. For instance, the first character is 'H'. diff --git a/src/elevenlabs/types/api_integration_webhook_overrides_input.py b/src/elevenlabs/types/api_integration_webhook_overrides_input.py index 3f6e29c1..9368708e 100644 --- a/src/elevenlabs/types/api_integration_webhook_overrides_input.py +++ b/src/elevenlabs/types/api_integration_webhook_overrides_input.py @@ -47,5 +47,10 @@ class Config: from .object_override_input import ObjectOverrideInput # noqa: E402, I001 +from .object_override_input_properties_value import ObjectOverrideInputPropertiesValue # noqa: E402, I001 -update_forward_refs(ApiIntegrationWebhookOverridesInput) +update_forward_refs( + ApiIntegrationWebhookOverridesInput, + ObjectOverrideInput=ObjectOverrideInput, + ObjectOverrideInputPropertiesValue=ObjectOverrideInputPropertiesValue, +) diff --git a/src/elevenlabs/types/api_integration_webhook_overrides_output.py b/src/elevenlabs/types/api_integration_webhook_overrides_output.py index 3dbefc04..bb07a69d 100644 --- a/src/elevenlabs/types/api_integration_webhook_overrides_output.py +++ b/src/elevenlabs/types/api_integration_webhook_overrides_output.py @@ -47,5 +47,10 @@ class Config: from .object_override_output import ObjectOverrideOutput # noqa: E402, I001 +from .object_override_output_properties_value import ObjectOverrideOutputPropertiesValue # noqa: E402, I001 -update_forward_refs(ApiIntegrationWebhookOverridesOutput) +update_forward_refs( + ApiIntegrationWebhookOverridesOutput, + ObjectOverrideOutput=ObjectOverrideOutput, + ObjectOverrideOutputPropertiesValue=ObjectOverrideOutputPropertiesValue, +) diff --git a/src/elevenlabs/types/array_json_schema_property_input.py b/src/elevenlabs/types/array_json_schema_property_input.py index 507a6b9c..2d02916e 100644 --- a/src/elevenlabs/types/array_json_schema_property_input.py +++ b/src/elevenlabs/types/array_json_schema_property_input.py @@ -7,10 +7,11 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs from ..core.unchecked_base_model import UncheckedBaseModel +from .array_json_schema_property_input_type import ArrayJsonSchemaPropertyInputType class ArrayJsonSchemaPropertyInput(UncheckedBaseModel): - type: typing.Optional[typing.Literal["array"]] = None + type: typing.Optional[ArrayJsonSchemaPropertyInputType] = None description: typing.Optional[str] = None items: "ArrayJsonSchemaPropertyInputItems" @@ -24,7 +25,13 @@ class Config: extra = pydantic.Extra.allow -from .object_json_schema_property_input import ObjectJsonSchemaPropertyInput # noqa: E402, I001 from .array_json_schema_property_input_items import ArrayJsonSchemaPropertyInputItems # noqa: E402, I001 - -update_forward_refs(ArrayJsonSchemaPropertyInput, ObjectJsonSchemaPropertyInput=ObjectJsonSchemaPropertyInput) +from .object_json_schema_property_input import ObjectJsonSchemaPropertyInput # noqa: E402, I001 +from .object_json_schema_property_input_properties_value import ObjectJsonSchemaPropertyInputPropertiesValue # noqa: E402, I001 + +update_forward_refs( + ArrayJsonSchemaPropertyInput, + ArrayJsonSchemaPropertyInputItems=ArrayJsonSchemaPropertyInputItems, + ObjectJsonSchemaPropertyInput=ObjectJsonSchemaPropertyInput, + ObjectJsonSchemaPropertyInputPropertiesValue=ObjectJsonSchemaPropertyInputPropertiesValue, +) diff --git a/src/elevenlabs/types/array_json_schema_property_input_type.py b/src/elevenlabs/types/array_json_schema_property_input_type.py new file mode 100644 index 00000000..d4168efa --- /dev/null +++ b/src/elevenlabs/types/array_json_schema_property_input_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ArrayJsonSchemaPropertyInputType = typing.Union[typing.Literal["array"], typing.Any] diff --git a/src/elevenlabs/types/array_json_schema_property_output.py b/src/elevenlabs/types/array_json_schema_property_output.py index b5a72592..a237aaba 100644 --- a/src/elevenlabs/types/array_json_schema_property_output.py +++ b/src/elevenlabs/types/array_json_schema_property_output.py @@ -7,10 +7,11 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs from ..core.unchecked_base_model import UncheckedBaseModel +from .array_json_schema_property_output_type import ArrayJsonSchemaPropertyOutputType class ArrayJsonSchemaPropertyOutput(UncheckedBaseModel): - type: typing.Optional[typing.Literal["array"]] = None + type: typing.Optional[ArrayJsonSchemaPropertyOutputType] = None description: typing.Optional[str] = None items: "ArrayJsonSchemaPropertyOutputItems" @@ -24,7 +25,13 @@ class Config: extra = pydantic.Extra.allow -from .object_json_schema_property_output import ObjectJsonSchemaPropertyOutput # noqa: E402, I001 from .array_json_schema_property_output_items import ArrayJsonSchemaPropertyOutputItems # noqa: E402, I001 - -update_forward_refs(ArrayJsonSchemaPropertyOutput, ObjectJsonSchemaPropertyOutput=ObjectJsonSchemaPropertyOutput) +from .object_json_schema_property_output import ObjectJsonSchemaPropertyOutput # noqa: E402, I001 +from .object_json_schema_property_output_properties_value import ObjectJsonSchemaPropertyOutputPropertiesValue # noqa: E402, I001 + +update_forward_refs( + ArrayJsonSchemaPropertyOutput, + ArrayJsonSchemaPropertyOutputItems=ArrayJsonSchemaPropertyOutputItems, + ObjectJsonSchemaPropertyOutput=ObjectJsonSchemaPropertyOutput, + ObjectJsonSchemaPropertyOutputPropertiesValue=ObjectJsonSchemaPropertyOutputPropertiesValue, +) diff --git a/src/elevenlabs/types/array_json_schema_property_output_type.py b/src/elevenlabs/types/array_json_schema_property_output_type.py new file mode 100644 index 00000000..cc66fba1 --- /dev/null +++ b/src/elevenlabs/types/array_json_schema_property_output_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ArrayJsonSchemaPropertyOutputType = typing.Union[typing.Literal["array"], typing.Any] diff --git a/src/elevenlabs/types/ast_and_operator_node_input.py b/src/elevenlabs/types/ast_and_operator_node_input.py index fe537f43..d06058f8 100644 --- a/src/elevenlabs/types/ast_and_operator_node_input.py +++ b/src/elevenlabs/types/ast_and_operator_node_input.py @@ -26,5 +26,48 @@ class Config: from .ast_and_operator_node_input_children_item import AstAndOperatorNodeInputChildrenItem # noqa: E402, I001 +from .ast_equals_operator_node_input import AstEqualsOperatorNodeInput # noqa: E402, I001 +from .ast_equals_operator_node_input_left import AstEqualsOperatorNodeInputLeft # noqa: E402, I001 +from .ast_equals_operator_node_input_right import AstEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_greater_than_operator_node_input import AstGreaterThanOperatorNodeInput # noqa: E402, I001 +from .ast_greater_than_operator_node_input_left import AstGreaterThanOperatorNodeInputLeft # noqa: E402, I001 +from .ast_greater_than_operator_node_input_right import AstGreaterThanOperatorNodeInputRight # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_input import AstGreaterThanOrEqualsOperatorNodeInput # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_input_left import AstGreaterThanOrEqualsOperatorNodeInputLeft # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_input_right import AstGreaterThanOrEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_less_than_operator_node_input import AstLessThanOperatorNodeInput # noqa: E402, I001 +from .ast_less_than_operator_node_input_left import AstLessThanOperatorNodeInputLeft # noqa: E402, I001 +from .ast_less_than_operator_node_input_right import AstLessThanOperatorNodeInputRight # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_input import AstLessThanOrEqualsOperatorNodeInput # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_input_left import AstLessThanOrEqualsOperatorNodeInputLeft # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_input_right import AstLessThanOrEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_not_equals_operator_node_input import AstNotEqualsOperatorNodeInput # noqa: E402, I001 +from .ast_not_equals_operator_node_input_left import AstNotEqualsOperatorNodeInputLeft # noqa: E402, I001 +from .ast_not_equals_operator_node_input_right import AstNotEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_or_operator_node_input import AstOrOperatorNodeInput # noqa: E402, I001 +from .ast_or_operator_node_input_children_item import AstOrOperatorNodeInputChildrenItem # noqa: E402, I001 -update_forward_refs(AstAndOperatorNodeInput) +update_forward_refs( + AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) diff --git a/src/elevenlabs/types/ast_and_operator_node_input_children_item.py b/src/elevenlabs/types/ast_and_operator_node_input_children_item.py index 64e516b0..6d16114f 100644 --- a/src/elevenlabs/types/ast_and_operator_node_input_children_item.py +++ b/src/elevenlabs/types/ast_and_operator_node_input_children_item.py @@ -216,25 +216,217 @@ class Config: ], UnionMetadata(discriminant="type"), ] +from .ast_equals_operator_node_input import AstEqualsOperatorNodeInput # noqa: E402, I001 from .ast_equals_operator_node_input_left import AstEqualsOperatorNodeInputLeft # noqa: E402, I001 from .ast_equals_operator_node_input_right import AstEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_greater_than_operator_node_input import AstGreaterThanOperatorNodeInput # noqa: E402, I001 from .ast_greater_than_operator_node_input_left import AstGreaterThanOperatorNodeInputLeft # noqa: E402, I001 from .ast_greater_than_operator_node_input_right import AstGreaterThanOperatorNodeInputRight # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_input import AstGreaterThanOrEqualsOperatorNodeInput # noqa: E402, I001 from .ast_greater_than_or_equals_operator_node_input_left import AstGreaterThanOrEqualsOperatorNodeInputLeft # noqa: E402, I001 from .ast_greater_than_or_equals_operator_node_input_right import AstGreaterThanOrEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_less_than_operator_node_input import AstLessThanOperatorNodeInput # noqa: E402, I001 from .ast_less_than_operator_node_input_left import AstLessThanOperatorNodeInputLeft # noqa: E402, I001 from .ast_less_than_operator_node_input_right import AstLessThanOperatorNodeInputRight # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_input import AstLessThanOrEqualsOperatorNodeInput # noqa: E402, I001 from .ast_less_than_or_equals_operator_node_input_left import AstLessThanOrEqualsOperatorNodeInputLeft # noqa: E402, I001 from .ast_less_than_or_equals_operator_node_input_right import AstLessThanOrEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_not_equals_operator_node_input import AstNotEqualsOperatorNodeInput # noqa: E402, I001 from .ast_not_equals_operator_node_input_left import AstNotEqualsOperatorNodeInputLeft # noqa: E402, I001 from .ast_not_equals_operator_node_input_right import AstNotEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_or_operator_node_input import AstOrOperatorNodeInput # noqa: E402, I001 from .ast_or_operator_node_input_children_item import AstOrOperatorNodeInputChildrenItem # noqa: E402, I001 - -update_forward_refs(AstAndOperatorNodeInputChildrenItem_AndOperator) -update_forward_refs(AstAndOperatorNodeInputChildrenItem_EqOperator) -update_forward_refs(AstAndOperatorNodeInputChildrenItem_GtOperator) -update_forward_refs(AstAndOperatorNodeInputChildrenItem_GteOperator) -update_forward_refs(AstAndOperatorNodeInputChildrenItem_LtOperator) -update_forward_refs(AstAndOperatorNodeInputChildrenItem_LteOperator) -update_forward_refs(AstAndOperatorNodeInputChildrenItem_NeqOperator) -update_forward_refs(AstAndOperatorNodeInputChildrenItem_OrOperator) +from .ast_and_operator_node_input import AstAndOperatorNodeInput # noqa: E402, I001 + +update_forward_refs( + AstAndOperatorNodeInputChildrenItem_AndOperator, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstAndOperatorNodeInputChildrenItem_EqOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstAndOperatorNodeInputChildrenItem_GtOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstAndOperatorNodeInputChildrenItem_GteOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstAndOperatorNodeInputChildrenItem_LtOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstAndOperatorNodeInputChildrenItem_LteOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstAndOperatorNodeInputChildrenItem_NeqOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstAndOperatorNodeInputChildrenItem_OrOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) diff --git a/src/elevenlabs/types/ast_and_operator_node_output.py b/src/elevenlabs/types/ast_and_operator_node_output.py index 5c870678..52cc0cc9 100644 --- a/src/elevenlabs/types/ast_and_operator_node_output.py +++ b/src/elevenlabs/types/ast_and_operator_node_output.py @@ -26,5 +26,48 @@ class Config: from .ast_and_operator_node_output_children_item import AstAndOperatorNodeOutputChildrenItem # noqa: E402, I001 +from .ast_equals_operator_node_output import AstEqualsOperatorNodeOutput # noqa: E402, I001 +from .ast_equals_operator_node_output_left import AstEqualsOperatorNodeOutputLeft # noqa: E402, I001 +from .ast_equals_operator_node_output_right import AstEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_greater_than_operator_node_output import AstGreaterThanOperatorNodeOutput # noqa: E402, I001 +from .ast_greater_than_operator_node_output_left import AstGreaterThanOperatorNodeOutputLeft # noqa: E402, I001 +from .ast_greater_than_operator_node_output_right import AstGreaterThanOperatorNodeOutputRight # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_output import AstGreaterThanOrEqualsOperatorNodeOutput # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_output_left import AstGreaterThanOrEqualsOperatorNodeOutputLeft # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_output_right import AstGreaterThanOrEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_less_than_operator_node_output import AstLessThanOperatorNodeOutput # noqa: E402, I001 +from .ast_less_than_operator_node_output_left import AstLessThanOperatorNodeOutputLeft # noqa: E402, I001 +from .ast_less_than_operator_node_output_right import AstLessThanOperatorNodeOutputRight # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_output import AstLessThanOrEqualsOperatorNodeOutput # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_output_left import AstLessThanOrEqualsOperatorNodeOutputLeft # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_output_right import AstLessThanOrEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_not_equals_operator_node_output import AstNotEqualsOperatorNodeOutput # noqa: E402, I001 +from .ast_not_equals_operator_node_output_left import AstNotEqualsOperatorNodeOutputLeft # noqa: E402, I001 +from .ast_not_equals_operator_node_output_right import AstNotEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_or_operator_node_output import AstOrOperatorNodeOutput # noqa: E402, I001 +from .ast_or_operator_node_output_children_item import AstOrOperatorNodeOutputChildrenItem # noqa: E402, I001 -update_forward_refs(AstAndOperatorNodeOutput) +update_forward_refs( + AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) diff --git a/src/elevenlabs/types/ast_and_operator_node_output_children_item.py b/src/elevenlabs/types/ast_and_operator_node_output_children_item.py index 85fad7ce..ace21695 100644 --- a/src/elevenlabs/types/ast_and_operator_node_output_children_item.py +++ b/src/elevenlabs/types/ast_and_operator_node_output_children_item.py @@ -216,25 +216,217 @@ class Config: ], UnionMetadata(discriminant="type"), ] +from .ast_equals_operator_node_output import AstEqualsOperatorNodeOutput # noqa: E402, I001 from .ast_equals_operator_node_output_left import AstEqualsOperatorNodeOutputLeft # noqa: E402, I001 from .ast_equals_operator_node_output_right import AstEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_greater_than_operator_node_output import AstGreaterThanOperatorNodeOutput # noqa: E402, I001 from .ast_greater_than_operator_node_output_left import AstGreaterThanOperatorNodeOutputLeft # noqa: E402, I001 from .ast_greater_than_operator_node_output_right import AstGreaterThanOperatorNodeOutputRight # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_output import AstGreaterThanOrEqualsOperatorNodeOutput # noqa: E402, I001 from .ast_greater_than_or_equals_operator_node_output_left import AstGreaterThanOrEqualsOperatorNodeOutputLeft # noqa: E402, I001 from .ast_greater_than_or_equals_operator_node_output_right import AstGreaterThanOrEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_less_than_operator_node_output import AstLessThanOperatorNodeOutput # noqa: E402, I001 from .ast_less_than_operator_node_output_left import AstLessThanOperatorNodeOutputLeft # noqa: E402, I001 from .ast_less_than_operator_node_output_right import AstLessThanOperatorNodeOutputRight # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_output import AstLessThanOrEqualsOperatorNodeOutput # noqa: E402, I001 from .ast_less_than_or_equals_operator_node_output_left import AstLessThanOrEqualsOperatorNodeOutputLeft # noqa: E402, I001 from .ast_less_than_or_equals_operator_node_output_right import AstLessThanOrEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_not_equals_operator_node_output import AstNotEqualsOperatorNodeOutput # noqa: E402, I001 from .ast_not_equals_operator_node_output_left import AstNotEqualsOperatorNodeOutputLeft # noqa: E402, I001 from .ast_not_equals_operator_node_output_right import AstNotEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_or_operator_node_output import AstOrOperatorNodeOutput # noqa: E402, I001 from .ast_or_operator_node_output_children_item import AstOrOperatorNodeOutputChildrenItem # noqa: E402, I001 - -update_forward_refs(AstAndOperatorNodeOutputChildrenItem_AndOperator) -update_forward_refs(AstAndOperatorNodeOutputChildrenItem_EqOperator) -update_forward_refs(AstAndOperatorNodeOutputChildrenItem_GtOperator) -update_forward_refs(AstAndOperatorNodeOutputChildrenItem_GteOperator) -update_forward_refs(AstAndOperatorNodeOutputChildrenItem_LtOperator) -update_forward_refs(AstAndOperatorNodeOutputChildrenItem_LteOperator) -update_forward_refs(AstAndOperatorNodeOutputChildrenItem_NeqOperator) -update_forward_refs(AstAndOperatorNodeOutputChildrenItem_OrOperator) +from .ast_and_operator_node_output import AstAndOperatorNodeOutput # noqa: E402, I001 + +update_forward_refs( + AstAndOperatorNodeOutputChildrenItem_AndOperator, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstAndOperatorNodeOutputChildrenItem_EqOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstAndOperatorNodeOutputChildrenItem_GtOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstAndOperatorNodeOutputChildrenItem_GteOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstAndOperatorNodeOutputChildrenItem_LtOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstAndOperatorNodeOutputChildrenItem_LteOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstAndOperatorNodeOutputChildrenItem_NeqOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstAndOperatorNodeOutputChildrenItem_OrOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) diff --git a/src/elevenlabs/types/ast_equals_operator_node_input.py b/src/elevenlabs/types/ast_equals_operator_node_input.py index d4548687..46d924ed 100644 --- a/src/elevenlabs/types/ast_equals_operator_node_input.py +++ b/src/elevenlabs/types/ast_equals_operator_node_input.py @@ -30,7 +30,49 @@ class Config: extra = pydantic.Extra.allow +from .ast_and_operator_node_input import AstAndOperatorNodeInput # noqa: E402, I001 +from .ast_and_operator_node_input_children_item import AstAndOperatorNodeInputChildrenItem # noqa: E402, I001 from .ast_equals_operator_node_input_left import AstEqualsOperatorNodeInputLeft # noqa: E402, I001 from .ast_equals_operator_node_input_right import AstEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_greater_than_operator_node_input import AstGreaterThanOperatorNodeInput # noqa: E402, I001 +from .ast_greater_than_operator_node_input_left import AstGreaterThanOperatorNodeInputLeft # noqa: E402, I001 +from .ast_greater_than_operator_node_input_right import AstGreaterThanOperatorNodeInputRight # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_input import AstGreaterThanOrEqualsOperatorNodeInput # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_input_left import AstGreaterThanOrEqualsOperatorNodeInputLeft # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_input_right import AstGreaterThanOrEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_less_than_operator_node_input import AstLessThanOperatorNodeInput # noqa: E402, I001 +from .ast_less_than_operator_node_input_left import AstLessThanOperatorNodeInputLeft # noqa: E402, I001 +from .ast_less_than_operator_node_input_right import AstLessThanOperatorNodeInputRight # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_input import AstLessThanOrEqualsOperatorNodeInput # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_input_left import AstLessThanOrEqualsOperatorNodeInputLeft # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_input_right import AstLessThanOrEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_not_equals_operator_node_input import AstNotEqualsOperatorNodeInput # noqa: E402, I001 +from .ast_not_equals_operator_node_input_left import AstNotEqualsOperatorNodeInputLeft # noqa: E402, I001 +from .ast_not_equals_operator_node_input_right import AstNotEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_or_operator_node_input import AstOrOperatorNodeInput # noqa: E402, I001 +from .ast_or_operator_node_input_children_item import AstOrOperatorNodeInputChildrenItem # noqa: E402, I001 -update_forward_refs(AstEqualsOperatorNodeInput) +update_forward_refs( + AstEqualsOperatorNodeInput, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) diff --git a/src/elevenlabs/types/ast_equals_operator_node_input_left.py b/src/elevenlabs/types/ast_equals_operator_node_input_left.py index ebc92858..f24d4b88 100644 --- a/src/elevenlabs/types/ast_equals_operator_node_input_left.py +++ b/src/elevenlabs/types/ast_equals_operator_node_input_left.py @@ -269,24 +269,216 @@ class Config: UnionMetadata(discriminant="type"), ] from .ast_and_operator_node_input_children_item import AstAndOperatorNodeInputChildrenItem # noqa: E402, I001 +from .ast_equals_operator_node_input import AstEqualsOperatorNodeInput # noqa: E402, I001 from .ast_equals_operator_node_input_right import AstEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_greater_than_operator_node_input import AstGreaterThanOperatorNodeInput # noqa: E402, I001 from .ast_greater_than_operator_node_input_left import AstGreaterThanOperatorNodeInputLeft # noqa: E402, I001 from .ast_greater_than_operator_node_input_right import AstGreaterThanOperatorNodeInputRight # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_input import AstGreaterThanOrEqualsOperatorNodeInput # noqa: E402, I001 from .ast_greater_than_or_equals_operator_node_input_left import AstGreaterThanOrEqualsOperatorNodeInputLeft # noqa: E402, I001 from .ast_greater_than_or_equals_operator_node_input_right import AstGreaterThanOrEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_less_than_operator_node_input import AstLessThanOperatorNodeInput # noqa: E402, I001 from .ast_less_than_operator_node_input_left import AstLessThanOperatorNodeInputLeft # noqa: E402, I001 from .ast_less_than_operator_node_input_right import AstLessThanOperatorNodeInputRight # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_input import AstLessThanOrEqualsOperatorNodeInput # noqa: E402, I001 from .ast_less_than_or_equals_operator_node_input_left import AstLessThanOrEqualsOperatorNodeInputLeft # noqa: E402, I001 from .ast_less_than_or_equals_operator_node_input_right import AstLessThanOrEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_not_equals_operator_node_input import AstNotEqualsOperatorNodeInput # noqa: E402, I001 from .ast_not_equals_operator_node_input_left import AstNotEqualsOperatorNodeInputLeft # noqa: E402, I001 from .ast_not_equals_operator_node_input_right import AstNotEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_or_operator_node_input import AstOrOperatorNodeInput # noqa: E402, I001 from .ast_or_operator_node_input_children_item import AstOrOperatorNodeInputChildrenItem # noqa: E402, I001 - -update_forward_refs(AstEqualsOperatorNodeInputLeft_AndOperator) -update_forward_refs(AstEqualsOperatorNodeInputLeft_EqOperator) -update_forward_refs(AstEqualsOperatorNodeInputLeft_GtOperator) -update_forward_refs(AstEqualsOperatorNodeInputLeft_GteOperator) -update_forward_refs(AstEqualsOperatorNodeInputLeft_LtOperator) -update_forward_refs(AstEqualsOperatorNodeInputLeft_LteOperator) -update_forward_refs(AstEqualsOperatorNodeInputLeft_NeqOperator) -update_forward_refs(AstEqualsOperatorNodeInputLeft_OrOperator) +from .ast_and_operator_node_input import AstAndOperatorNodeInput # noqa: E402, I001 + +update_forward_refs( + AstEqualsOperatorNodeInputLeft_AndOperator, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstEqualsOperatorNodeInputLeft_EqOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstEqualsOperatorNodeInputLeft_GtOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstEqualsOperatorNodeInputLeft_GteOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstEqualsOperatorNodeInputLeft_LtOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstEqualsOperatorNodeInputLeft_LteOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstEqualsOperatorNodeInputLeft_NeqOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstEqualsOperatorNodeInputLeft_OrOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) diff --git a/src/elevenlabs/types/ast_equals_operator_node_input_right.py b/src/elevenlabs/types/ast_equals_operator_node_input_right.py index c97a67c2..8619cf67 100644 --- a/src/elevenlabs/types/ast_equals_operator_node_input_right.py +++ b/src/elevenlabs/types/ast_equals_operator_node_input_right.py @@ -269,24 +269,216 @@ class Config: UnionMetadata(discriminant="type"), ] from .ast_and_operator_node_input_children_item import AstAndOperatorNodeInputChildrenItem # noqa: E402, I001 +from .ast_equals_operator_node_input import AstEqualsOperatorNodeInput # noqa: E402, I001 from .ast_equals_operator_node_input_left import AstEqualsOperatorNodeInputLeft # noqa: E402, I001 +from .ast_greater_than_operator_node_input import AstGreaterThanOperatorNodeInput # noqa: E402, I001 from .ast_greater_than_operator_node_input_left import AstGreaterThanOperatorNodeInputLeft # noqa: E402, I001 from .ast_greater_than_operator_node_input_right import AstGreaterThanOperatorNodeInputRight # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_input import AstGreaterThanOrEqualsOperatorNodeInput # noqa: E402, I001 from .ast_greater_than_or_equals_operator_node_input_left import AstGreaterThanOrEqualsOperatorNodeInputLeft # noqa: E402, I001 from .ast_greater_than_or_equals_operator_node_input_right import AstGreaterThanOrEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_less_than_operator_node_input import AstLessThanOperatorNodeInput # noqa: E402, I001 from .ast_less_than_operator_node_input_left import AstLessThanOperatorNodeInputLeft # noqa: E402, I001 from .ast_less_than_operator_node_input_right import AstLessThanOperatorNodeInputRight # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_input import AstLessThanOrEqualsOperatorNodeInput # noqa: E402, I001 from .ast_less_than_or_equals_operator_node_input_left import AstLessThanOrEqualsOperatorNodeInputLeft # noqa: E402, I001 from .ast_less_than_or_equals_operator_node_input_right import AstLessThanOrEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_not_equals_operator_node_input import AstNotEqualsOperatorNodeInput # noqa: E402, I001 from .ast_not_equals_operator_node_input_left import AstNotEqualsOperatorNodeInputLeft # noqa: E402, I001 from .ast_not_equals_operator_node_input_right import AstNotEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_or_operator_node_input import AstOrOperatorNodeInput # noqa: E402, I001 from .ast_or_operator_node_input_children_item import AstOrOperatorNodeInputChildrenItem # noqa: E402, I001 - -update_forward_refs(AstEqualsOperatorNodeInputRight_AndOperator) -update_forward_refs(AstEqualsOperatorNodeInputRight_EqOperator) -update_forward_refs(AstEqualsOperatorNodeInputRight_GtOperator) -update_forward_refs(AstEqualsOperatorNodeInputRight_GteOperator) -update_forward_refs(AstEqualsOperatorNodeInputRight_LtOperator) -update_forward_refs(AstEqualsOperatorNodeInputRight_LteOperator) -update_forward_refs(AstEqualsOperatorNodeInputRight_NeqOperator) -update_forward_refs(AstEqualsOperatorNodeInputRight_OrOperator) +from .ast_and_operator_node_input import AstAndOperatorNodeInput # noqa: E402, I001 + +update_forward_refs( + AstEqualsOperatorNodeInputRight_AndOperator, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstEqualsOperatorNodeInputRight_EqOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstEqualsOperatorNodeInputRight_GtOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstEqualsOperatorNodeInputRight_GteOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstEqualsOperatorNodeInputRight_LtOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstEqualsOperatorNodeInputRight_LteOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstEqualsOperatorNodeInputRight_NeqOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstEqualsOperatorNodeInputRight_OrOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) diff --git a/src/elevenlabs/types/ast_equals_operator_node_output.py b/src/elevenlabs/types/ast_equals_operator_node_output.py index 0b3162a6..4c4b2edc 100644 --- a/src/elevenlabs/types/ast_equals_operator_node_output.py +++ b/src/elevenlabs/types/ast_equals_operator_node_output.py @@ -30,7 +30,49 @@ class Config: extra = pydantic.Extra.allow +from .ast_and_operator_node_output import AstAndOperatorNodeOutput # noqa: E402, I001 +from .ast_and_operator_node_output_children_item import AstAndOperatorNodeOutputChildrenItem # noqa: E402, I001 from .ast_equals_operator_node_output_left import AstEqualsOperatorNodeOutputLeft # noqa: E402, I001 from .ast_equals_operator_node_output_right import AstEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_greater_than_operator_node_output import AstGreaterThanOperatorNodeOutput # noqa: E402, I001 +from .ast_greater_than_operator_node_output_left import AstGreaterThanOperatorNodeOutputLeft # noqa: E402, I001 +from .ast_greater_than_operator_node_output_right import AstGreaterThanOperatorNodeOutputRight # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_output import AstGreaterThanOrEqualsOperatorNodeOutput # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_output_left import AstGreaterThanOrEqualsOperatorNodeOutputLeft # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_output_right import AstGreaterThanOrEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_less_than_operator_node_output import AstLessThanOperatorNodeOutput # noqa: E402, I001 +from .ast_less_than_operator_node_output_left import AstLessThanOperatorNodeOutputLeft # noqa: E402, I001 +from .ast_less_than_operator_node_output_right import AstLessThanOperatorNodeOutputRight # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_output import AstLessThanOrEqualsOperatorNodeOutput # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_output_left import AstLessThanOrEqualsOperatorNodeOutputLeft # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_output_right import AstLessThanOrEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_not_equals_operator_node_output import AstNotEqualsOperatorNodeOutput # noqa: E402, I001 +from .ast_not_equals_operator_node_output_left import AstNotEqualsOperatorNodeOutputLeft # noqa: E402, I001 +from .ast_not_equals_operator_node_output_right import AstNotEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_or_operator_node_output import AstOrOperatorNodeOutput # noqa: E402, I001 +from .ast_or_operator_node_output_children_item import AstOrOperatorNodeOutputChildrenItem # noqa: E402, I001 -update_forward_refs(AstEqualsOperatorNodeOutput) +update_forward_refs( + AstEqualsOperatorNodeOutput, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) diff --git a/src/elevenlabs/types/ast_equals_operator_node_output_left.py b/src/elevenlabs/types/ast_equals_operator_node_output_left.py index ad7dfd5e..8aace864 100644 --- a/src/elevenlabs/types/ast_equals_operator_node_output_left.py +++ b/src/elevenlabs/types/ast_equals_operator_node_output_left.py @@ -269,24 +269,216 @@ class Config: UnionMetadata(discriminant="type"), ] from .ast_and_operator_node_output_children_item import AstAndOperatorNodeOutputChildrenItem # noqa: E402, I001 +from .ast_equals_operator_node_output import AstEqualsOperatorNodeOutput # noqa: E402, I001 from .ast_equals_operator_node_output_right import AstEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_greater_than_operator_node_output import AstGreaterThanOperatorNodeOutput # noqa: E402, I001 from .ast_greater_than_operator_node_output_left import AstGreaterThanOperatorNodeOutputLeft # noqa: E402, I001 from .ast_greater_than_operator_node_output_right import AstGreaterThanOperatorNodeOutputRight # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_output import AstGreaterThanOrEqualsOperatorNodeOutput # noqa: E402, I001 from .ast_greater_than_or_equals_operator_node_output_left import AstGreaterThanOrEqualsOperatorNodeOutputLeft # noqa: E402, I001 from .ast_greater_than_or_equals_operator_node_output_right import AstGreaterThanOrEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_less_than_operator_node_output import AstLessThanOperatorNodeOutput # noqa: E402, I001 from .ast_less_than_operator_node_output_left import AstLessThanOperatorNodeOutputLeft # noqa: E402, I001 from .ast_less_than_operator_node_output_right import AstLessThanOperatorNodeOutputRight # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_output import AstLessThanOrEqualsOperatorNodeOutput # noqa: E402, I001 from .ast_less_than_or_equals_operator_node_output_left import AstLessThanOrEqualsOperatorNodeOutputLeft # noqa: E402, I001 from .ast_less_than_or_equals_operator_node_output_right import AstLessThanOrEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_not_equals_operator_node_output import AstNotEqualsOperatorNodeOutput # noqa: E402, I001 from .ast_not_equals_operator_node_output_left import AstNotEqualsOperatorNodeOutputLeft # noqa: E402, I001 from .ast_not_equals_operator_node_output_right import AstNotEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_or_operator_node_output import AstOrOperatorNodeOutput # noqa: E402, I001 from .ast_or_operator_node_output_children_item import AstOrOperatorNodeOutputChildrenItem # noqa: E402, I001 - -update_forward_refs(AstEqualsOperatorNodeOutputLeft_AndOperator) -update_forward_refs(AstEqualsOperatorNodeOutputLeft_EqOperator) -update_forward_refs(AstEqualsOperatorNodeOutputLeft_GtOperator) -update_forward_refs(AstEqualsOperatorNodeOutputLeft_GteOperator) -update_forward_refs(AstEqualsOperatorNodeOutputLeft_LtOperator) -update_forward_refs(AstEqualsOperatorNodeOutputLeft_LteOperator) -update_forward_refs(AstEqualsOperatorNodeOutputLeft_NeqOperator) -update_forward_refs(AstEqualsOperatorNodeOutputLeft_OrOperator) +from .ast_and_operator_node_output import AstAndOperatorNodeOutput # noqa: E402, I001 + +update_forward_refs( + AstEqualsOperatorNodeOutputLeft_AndOperator, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstEqualsOperatorNodeOutputLeft_EqOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstEqualsOperatorNodeOutputLeft_GtOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstEqualsOperatorNodeOutputLeft_GteOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstEqualsOperatorNodeOutputLeft_LtOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstEqualsOperatorNodeOutputLeft_LteOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstEqualsOperatorNodeOutputLeft_NeqOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstEqualsOperatorNodeOutputLeft_OrOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) diff --git a/src/elevenlabs/types/ast_equals_operator_node_output_right.py b/src/elevenlabs/types/ast_equals_operator_node_output_right.py index 031a6a3a..77f4cdd6 100644 --- a/src/elevenlabs/types/ast_equals_operator_node_output_right.py +++ b/src/elevenlabs/types/ast_equals_operator_node_output_right.py @@ -269,24 +269,216 @@ class Config: UnionMetadata(discriminant="type"), ] from .ast_and_operator_node_output_children_item import AstAndOperatorNodeOutputChildrenItem # noqa: E402, I001 +from .ast_equals_operator_node_output import AstEqualsOperatorNodeOutput # noqa: E402, I001 from .ast_equals_operator_node_output_left import AstEqualsOperatorNodeOutputLeft # noqa: E402, I001 +from .ast_greater_than_operator_node_output import AstGreaterThanOperatorNodeOutput # noqa: E402, I001 from .ast_greater_than_operator_node_output_left import AstGreaterThanOperatorNodeOutputLeft # noqa: E402, I001 from .ast_greater_than_operator_node_output_right import AstGreaterThanOperatorNodeOutputRight # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_output import AstGreaterThanOrEqualsOperatorNodeOutput # noqa: E402, I001 from .ast_greater_than_or_equals_operator_node_output_left import AstGreaterThanOrEqualsOperatorNodeOutputLeft # noqa: E402, I001 from .ast_greater_than_or_equals_operator_node_output_right import AstGreaterThanOrEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_less_than_operator_node_output import AstLessThanOperatorNodeOutput # noqa: E402, I001 from .ast_less_than_operator_node_output_left import AstLessThanOperatorNodeOutputLeft # noqa: E402, I001 from .ast_less_than_operator_node_output_right import AstLessThanOperatorNodeOutputRight # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_output import AstLessThanOrEqualsOperatorNodeOutput # noqa: E402, I001 from .ast_less_than_or_equals_operator_node_output_left import AstLessThanOrEqualsOperatorNodeOutputLeft # noqa: E402, I001 from .ast_less_than_or_equals_operator_node_output_right import AstLessThanOrEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_not_equals_operator_node_output import AstNotEqualsOperatorNodeOutput # noqa: E402, I001 from .ast_not_equals_operator_node_output_left import AstNotEqualsOperatorNodeOutputLeft # noqa: E402, I001 from .ast_not_equals_operator_node_output_right import AstNotEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_or_operator_node_output import AstOrOperatorNodeOutput # noqa: E402, I001 from .ast_or_operator_node_output_children_item import AstOrOperatorNodeOutputChildrenItem # noqa: E402, I001 - -update_forward_refs(AstEqualsOperatorNodeOutputRight_AndOperator) -update_forward_refs(AstEqualsOperatorNodeOutputRight_EqOperator) -update_forward_refs(AstEqualsOperatorNodeOutputRight_GtOperator) -update_forward_refs(AstEqualsOperatorNodeOutputRight_GteOperator) -update_forward_refs(AstEqualsOperatorNodeOutputRight_LtOperator) -update_forward_refs(AstEqualsOperatorNodeOutputRight_LteOperator) -update_forward_refs(AstEqualsOperatorNodeOutputRight_NeqOperator) -update_forward_refs(AstEqualsOperatorNodeOutputRight_OrOperator) +from .ast_and_operator_node_output import AstAndOperatorNodeOutput # noqa: E402, I001 + +update_forward_refs( + AstEqualsOperatorNodeOutputRight_AndOperator, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstEqualsOperatorNodeOutputRight_EqOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstEqualsOperatorNodeOutputRight_GtOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstEqualsOperatorNodeOutputRight_GteOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstEqualsOperatorNodeOutputRight_LtOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstEqualsOperatorNodeOutputRight_LteOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstEqualsOperatorNodeOutputRight_NeqOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstEqualsOperatorNodeOutputRight_OrOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) diff --git a/src/elevenlabs/types/ast_greater_than_operator_node_input.py b/src/elevenlabs/types/ast_greater_than_operator_node_input.py index 74c9dc88..f87a1bdc 100644 --- a/src/elevenlabs/types/ast_greater_than_operator_node_input.py +++ b/src/elevenlabs/types/ast_greater_than_operator_node_input.py @@ -30,7 +30,49 @@ class Config: extra = pydantic.Extra.allow +from .ast_and_operator_node_input import AstAndOperatorNodeInput # noqa: E402, I001 +from .ast_and_operator_node_input_children_item import AstAndOperatorNodeInputChildrenItem # noqa: E402, I001 +from .ast_equals_operator_node_input import AstEqualsOperatorNodeInput # noqa: E402, I001 +from .ast_equals_operator_node_input_left import AstEqualsOperatorNodeInputLeft # noqa: E402, I001 +from .ast_equals_operator_node_input_right import AstEqualsOperatorNodeInputRight # noqa: E402, I001 from .ast_greater_than_operator_node_input_left import AstGreaterThanOperatorNodeInputLeft # noqa: E402, I001 from .ast_greater_than_operator_node_input_right import AstGreaterThanOperatorNodeInputRight # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_input import AstGreaterThanOrEqualsOperatorNodeInput # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_input_left import AstGreaterThanOrEqualsOperatorNodeInputLeft # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_input_right import AstGreaterThanOrEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_less_than_operator_node_input import AstLessThanOperatorNodeInput # noqa: E402, I001 +from .ast_less_than_operator_node_input_left import AstLessThanOperatorNodeInputLeft # noqa: E402, I001 +from .ast_less_than_operator_node_input_right import AstLessThanOperatorNodeInputRight # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_input import AstLessThanOrEqualsOperatorNodeInput # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_input_left import AstLessThanOrEqualsOperatorNodeInputLeft # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_input_right import AstLessThanOrEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_not_equals_operator_node_input import AstNotEqualsOperatorNodeInput # noqa: E402, I001 +from .ast_not_equals_operator_node_input_left import AstNotEqualsOperatorNodeInputLeft # noqa: E402, I001 +from .ast_not_equals_operator_node_input_right import AstNotEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_or_operator_node_input import AstOrOperatorNodeInput # noqa: E402, I001 +from .ast_or_operator_node_input_children_item import AstOrOperatorNodeInputChildrenItem # noqa: E402, I001 -update_forward_refs(AstGreaterThanOperatorNodeInput) +update_forward_refs( + AstGreaterThanOperatorNodeInput, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) diff --git a/src/elevenlabs/types/ast_greater_than_operator_node_input_left.py b/src/elevenlabs/types/ast_greater_than_operator_node_input_left.py index 5a5e53d4..0864ef72 100644 --- a/src/elevenlabs/types/ast_greater_than_operator_node_input_left.py +++ b/src/elevenlabs/types/ast_greater_than_operator_node_input_left.py @@ -269,24 +269,216 @@ class Config: UnionMetadata(discriminant="type"), ] from .ast_and_operator_node_input_children_item import AstAndOperatorNodeInputChildrenItem # noqa: E402, I001 +from .ast_equals_operator_node_input import AstEqualsOperatorNodeInput # noqa: E402, I001 from .ast_equals_operator_node_input_left import AstEqualsOperatorNodeInputLeft # noqa: E402, I001 from .ast_equals_operator_node_input_right import AstEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_greater_than_operator_node_input import AstGreaterThanOperatorNodeInput # noqa: E402, I001 from .ast_greater_than_operator_node_input_right import AstGreaterThanOperatorNodeInputRight # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_input import AstGreaterThanOrEqualsOperatorNodeInput # noqa: E402, I001 from .ast_greater_than_or_equals_operator_node_input_left import AstGreaterThanOrEqualsOperatorNodeInputLeft # noqa: E402, I001 from .ast_greater_than_or_equals_operator_node_input_right import AstGreaterThanOrEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_less_than_operator_node_input import AstLessThanOperatorNodeInput # noqa: E402, I001 from .ast_less_than_operator_node_input_left import AstLessThanOperatorNodeInputLeft # noqa: E402, I001 from .ast_less_than_operator_node_input_right import AstLessThanOperatorNodeInputRight # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_input import AstLessThanOrEqualsOperatorNodeInput # noqa: E402, I001 from .ast_less_than_or_equals_operator_node_input_left import AstLessThanOrEqualsOperatorNodeInputLeft # noqa: E402, I001 from .ast_less_than_or_equals_operator_node_input_right import AstLessThanOrEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_not_equals_operator_node_input import AstNotEqualsOperatorNodeInput # noqa: E402, I001 from .ast_not_equals_operator_node_input_left import AstNotEqualsOperatorNodeInputLeft # noqa: E402, I001 from .ast_not_equals_operator_node_input_right import AstNotEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_or_operator_node_input import AstOrOperatorNodeInput # noqa: E402, I001 from .ast_or_operator_node_input_children_item import AstOrOperatorNodeInputChildrenItem # noqa: E402, I001 - -update_forward_refs(AstGreaterThanOperatorNodeInputLeft_AndOperator) -update_forward_refs(AstGreaterThanOperatorNodeInputLeft_EqOperator) -update_forward_refs(AstGreaterThanOperatorNodeInputLeft_GtOperator) -update_forward_refs(AstGreaterThanOperatorNodeInputLeft_GteOperator) -update_forward_refs(AstGreaterThanOperatorNodeInputLeft_LtOperator) -update_forward_refs(AstGreaterThanOperatorNodeInputLeft_LteOperator) -update_forward_refs(AstGreaterThanOperatorNodeInputLeft_NeqOperator) -update_forward_refs(AstGreaterThanOperatorNodeInputLeft_OrOperator) +from .ast_and_operator_node_input import AstAndOperatorNodeInput # noqa: E402, I001 + +update_forward_refs( + AstGreaterThanOperatorNodeInputLeft_AndOperator, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstGreaterThanOperatorNodeInputLeft_EqOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstGreaterThanOperatorNodeInputLeft_GtOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstGreaterThanOperatorNodeInputLeft_GteOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstGreaterThanOperatorNodeInputLeft_LtOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstGreaterThanOperatorNodeInputLeft_LteOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstGreaterThanOperatorNodeInputLeft_NeqOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstGreaterThanOperatorNodeInputLeft_OrOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) diff --git a/src/elevenlabs/types/ast_greater_than_operator_node_input_right.py b/src/elevenlabs/types/ast_greater_than_operator_node_input_right.py index db1ae96d..e51369bd 100644 --- a/src/elevenlabs/types/ast_greater_than_operator_node_input_right.py +++ b/src/elevenlabs/types/ast_greater_than_operator_node_input_right.py @@ -269,24 +269,216 @@ class Config: UnionMetadata(discriminant="type"), ] from .ast_and_operator_node_input_children_item import AstAndOperatorNodeInputChildrenItem # noqa: E402, I001 +from .ast_equals_operator_node_input import AstEqualsOperatorNodeInput # noqa: E402, I001 from .ast_equals_operator_node_input_left import AstEqualsOperatorNodeInputLeft # noqa: E402, I001 from .ast_equals_operator_node_input_right import AstEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_greater_than_operator_node_input import AstGreaterThanOperatorNodeInput # noqa: E402, I001 from .ast_greater_than_operator_node_input_left import AstGreaterThanOperatorNodeInputLeft # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_input import AstGreaterThanOrEqualsOperatorNodeInput # noqa: E402, I001 from .ast_greater_than_or_equals_operator_node_input_left import AstGreaterThanOrEqualsOperatorNodeInputLeft # noqa: E402, I001 from .ast_greater_than_or_equals_operator_node_input_right import AstGreaterThanOrEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_less_than_operator_node_input import AstLessThanOperatorNodeInput # noqa: E402, I001 from .ast_less_than_operator_node_input_left import AstLessThanOperatorNodeInputLeft # noqa: E402, I001 from .ast_less_than_operator_node_input_right import AstLessThanOperatorNodeInputRight # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_input import AstLessThanOrEqualsOperatorNodeInput # noqa: E402, I001 from .ast_less_than_or_equals_operator_node_input_left import AstLessThanOrEqualsOperatorNodeInputLeft # noqa: E402, I001 from .ast_less_than_or_equals_operator_node_input_right import AstLessThanOrEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_not_equals_operator_node_input import AstNotEqualsOperatorNodeInput # noqa: E402, I001 from .ast_not_equals_operator_node_input_left import AstNotEqualsOperatorNodeInputLeft # noqa: E402, I001 from .ast_not_equals_operator_node_input_right import AstNotEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_or_operator_node_input import AstOrOperatorNodeInput # noqa: E402, I001 from .ast_or_operator_node_input_children_item import AstOrOperatorNodeInputChildrenItem # noqa: E402, I001 - -update_forward_refs(AstGreaterThanOperatorNodeInputRight_AndOperator) -update_forward_refs(AstGreaterThanOperatorNodeInputRight_EqOperator) -update_forward_refs(AstGreaterThanOperatorNodeInputRight_GtOperator) -update_forward_refs(AstGreaterThanOperatorNodeInputRight_GteOperator) -update_forward_refs(AstGreaterThanOperatorNodeInputRight_LtOperator) -update_forward_refs(AstGreaterThanOperatorNodeInputRight_LteOperator) -update_forward_refs(AstGreaterThanOperatorNodeInputRight_NeqOperator) -update_forward_refs(AstGreaterThanOperatorNodeInputRight_OrOperator) +from .ast_and_operator_node_input import AstAndOperatorNodeInput # noqa: E402, I001 + +update_forward_refs( + AstGreaterThanOperatorNodeInputRight_AndOperator, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstGreaterThanOperatorNodeInputRight_EqOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstGreaterThanOperatorNodeInputRight_GtOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstGreaterThanOperatorNodeInputRight_GteOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstGreaterThanOperatorNodeInputRight_LtOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstGreaterThanOperatorNodeInputRight_LteOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstGreaterThanOperatorNodeInputRight_NeqOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstGreaterThanOperatorNodeInputRight_OrOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) diff --git a/src/elevenlabs/types/ast_greater_than_operator_node_output.py b/src/elevenlabs/types/ast_greater_than_operator_node_output.py index 10ea75c8..fd5c3e62 100644 --- a/src/elevenlabs/types/ast_greater_than_operator_node_output.py +++ b/src/elevenlabs/types/ast_greater_than_operator_node_output.py @@ -30,7 +30,49 @@ class Config: extra = pydantic.Extra.allow +from .ast_and_operator_node_output import AstAndOperatorNodeOutput # noqa: E402, I001 +from .ast_and_operator_node_output_children_item import AstAndOperatorNodeOutputChildrenItem # noqa: E402, I001 +from .ast_equals_operator_node_output import AstEqualsOperatorNodeOutput # noqa: E402, I001 +from .ast_equals_operator_node_output_left import AstEqualsOperatorNodeOutputLeft # noqa: E402, I001 +from .ast_equals_operator_node_output_right import AstEqualsOperatorNodeOutputRight # noqa: E402, I001 from .ast_greater_than_operator_node_output_left import AstGreaterThanOperatorNodeOutputLeft # noqa: E402, I001 from .ast_greater_than_operator_node_output_right import AstGreaterThanOperatorNodeOutputRight # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_output import AstGreaterThanOrEqualsOperatorNodeOutput # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_output_left import AstGreaterThanOrEqualsOperatorNodeOutputLeft # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_output_right import AstGreaterThanOrEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_less_than_operator_node_output import AstLessThanOperatorNodeOutput # noqa: E402, I001 +from .ast_less_than_operator_node_output_left import AstLessThanOperatorNodeOutputLeft # noqa: E402, I001 +from .ast_less_than_operator_node_output_right import AstLessThanOperatorNodeOutputRight # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_output import AstLessThanOrEqualsOperatorNodeOutput # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_output_left import AstLessThanOrEqualsOperatorNodeOutputLeft # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_output_right import AstLessThanOrEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_not_equals_operator_node_output import AstNotEqualsOperatorNodeOutput # noqa: E402, I001 +from .ast_not_equals_operator_node_output_left import AstNotEqualsOperatorNodeOutputLeft # noqa: E402, I001 +from .ast_not_equals_operator_node_output_right import AstNotEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_or_operator_node_output import AstOrOperatorNodeOutput # noqa: E402, I001 +from .ast_or_operator_node_output_children_item import AstOrOperatorNodeOutputChildrenItem # noqa: E402, I001 -update_forward_refs(AstGreaterThanOperatorNodeOutput) +update_forward_refs( + AstGreaterThanOperatorNodeOutput, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) diff --git a/src/elevenlabs/types/ast_greater_than_operator_node_output_left.py b/src/elevenlabs/types/ast_greater_than_operator_node_output_left.py index 372729ab..9dd7cc0a 100644 --- a/src/elevenlabs/types/ast_greater_than_operator_node_output_left.py +++ b/src/elevenlabs/types/ast_greater_than_operator_node_output_left.py @@ -269,24 +269,216 @@ class Config: UnionMetadata(discriminant="type"), ] from .ast_and_operator_node_output_children_item import AstAndOperatorNodeOutputChildrenItem # noqa: E402, I001 +from .ast_equals_operator_node_output import AstEqualsOperatorNodeOutput # noqa: E402, I001 from .ast_equals_operator_node_output_left import AstEqualsOperatorNodeOutputLeft # noqa: E402, I001 from .ast_equals_operator_node_output_right import AstEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_greater_than_operator_node_output import AstGreaterThanOperatorNodeOutput # noqa: E402, I001 from .ast_greater_than_operator_node_output_right import AstGreaterThanOperatorNodeOutputRight # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_output import AstGreaterThanOrEqualsOperatorNodeOutput # noqa: E402, I001 from .ast_greater_than_or_equals_operator_node_output_left import AstGreaterThanOrEqualsOperatorNodeOutputLeft # noqa: E402, I001 from .ast_greater_than_or_equals_operator_node_output_right import AstGreaterThanOrEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_less_than_operator_node_output import AstLessThanOperatorNodeOutput # noqa: E402, I001 from .ast_less_than_operator_node_output_left import AstLessThanOperatorNodeOutputLeft # noqa: E402, I001 from .ast_less_than_operator_node_output_right import AstLessThanOperatorNodeOutputRight # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_output import AstLessThanOrEqualsOperatorNodeOutput # noqa: E402, I001 from .ast_less_than_or_equals_operator_node_output_left import AstLessThanOrEqualsOperatorNodeOutputLeft # noqa: E402, I001 from .ast_less_than_or_equals_operator_node_output_right import AstLessThanOrEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_not_equals_operator_node_output import AstNotEqualsOperatorNodeOutput # noqa: E402, I001 from .ast_not_equals_operator_node_output_left import AstNotEqualsOperatorNodeOutputLeft # noqa: E402, I001 from .ast_not_equals_operator_node_output_right import AstNotEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_or_operator_node_output import AstOrOperatorNodeOutput # noqa: E402, I001 from .ast_or_operator_node_output_children_item import AstOrOperatorNodeOutputChildrenItem # noqa: E402, I001 - -update_forward_refs(AstGreaterThanOperatorNodeOutputLeft_AndOperator) -update_forward_refs(AstGreaterThanOperatorNodeOutputLeft_EqOperator) -update_forward_refs(AstGreaterThanOperatorNodeOutputLeft_GtOperator) -update_forward_refs(AstGreaterThanOperatorNodeOutputLeft_GteOperator) -update_forward_refs(AstGreaterThanOperatorNodeOutputLeft_LtOperator) -update_forward_refs(AstGreaterThanOperatorNodeOutputLeft_LteOperator) -update_forward_refs(AstGreaterThanOperatorNodeOutputLeft_NeqOperator) -update_forward_refs(AstGreaterThanOperatorNodeOutputLeft_OrOperator) +from .ast_and_operator_node_output import AstAndOperatorNodeOutput # noqa: E402, I001 + +update_forward_refs( + AstGreaterThanOperatorNodeOutputLeft_AndOperator, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstGreaterThanOperatorNodeOutputLeft_EqOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstGreaterThanOperatorNodeOutputLeft_GtOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstGreaterThanOperatorNodeOutputLeft_GteOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstGreaterThanOperatorNodeOutputLeft_LtOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstGreaterThanOperatorNodeOutputLeft_LteOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstGreaterThanOperatorNodeOutputLeft_NeqOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstGreaterThanOperatorNodeOutputLeft_OrOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) diff --git a/src/elevenlabs/types/ast_greater_than_operator_node_output_right.py b/src/elevenlabs/types/ast_greater_than_operator_node_output_right.py index ddd39ff1..a53b81eb 100644 --- a/src/elevenlabs/types/ast_greater_than_operator_node_output_right.py +++ b/src/elevenlabs/types/ast_greater_than_operator_node_output_right.py @@ -269,24 +269,216 @@ class Config: UnionMetadata(discriminant="type"), ] from .ast_and_operator_node_output_children_item import AstAndOperatorNodeOutputChildrenItem # noqa: E402, I001 +from .ast_equals_operator_node_output import AstEqualsOperatorNodeOutput # noqa: E402, I001 from .ast_equals_operator_node_output_left import AstEqualsOperatorNodeOutputLeft # noqa: E402, I001 from .ast_equals_operator_node_output_right import AstEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_greater_than_operator_node_output import AstGreaterThanOperatorNodeOutput # noqa: E402, I001 from .ast_greater_than_operator_node_output_left import AstGreaterThanOperatorNodeOutputLeft # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_output import AstGreaterThanOrEqualsOperatorNodeOutput # noqa: E402, I001 from .ast_greater_than_or_equals_operator_node_output_left import AstGreaterThanOrEqualsOperatorNodeOutputLeft # noqa: E402, I001 from .ast_greater_than_or_equals_operator_node_output_right import AstGreaterThanOrEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_less_than_operator_node_output import AstLessThanOperatorNodeOutput # noqa: E402, I001 from .ast_less_than_operator_node_output_left import AstLessThanOperatorNodeOutputLeft # noqa: E402, I001 from .ast_less_than_operator_node_output_right import AstLessThanOperatorNodeOutputRight # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_output import AstLessThanOrEqualsOperatorNodeOutput # noqa: E402, I001 from .ast_less_than_or_equals_operator_node_output_left import AstLessThanOrEqualsOperatorNodeOutputLeft # noqa: E402, I001 from .ast_less_than_or_equals_operator_node_output_right import AstLessThanOrEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_not_equals_operator_node_output import AstNotEqualsOperatorNodeOutput # noqa: E402, I001 from .ast_not_equals_operator_node_output_left import AstNotEqualsOperatorNodeOutputLeft # noqa: E402, I001 from .ast_not_equals_operator_node_output_right import AstNotEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_or_operator_node_output import AstOrOperatorNodeOutput # noqa: E402, I001 from .ast_or_operator_node_output_children_item import AstOrOperatorNodeOutputChildrenItem # noqa: E402, I001 - -update_forward_refs(AstGreaterThanOperatorNodeOutputRight_AndOperator) -update_forward_refs(AstGreaterThanOperatorNodeOutputRight_EqOperator) -update_forward_refs(AstGreaterThanOperatorNodeOutputRight_GtOperator) -update_forward_refs(AstGreaterThanOperatorNodeOutputRight_GteOperator) -update_forward_refs(AstGreaterThanOperatorNodeOutputRight_LtOperator) -update_forward_refs(AstGreaterThanOperatorNodeOutputRight_LteOperator) -update_forward_refs(AstGreaterThanOperatorNodeOutputRight_NeqOperator) -update_forward_refs(AstGreaterThanOperatorNodeOutputRight_OrOperator) +from .ast_and_operator_node_output import AstAndOperatorNodeOutput # noqa: E402, I001 + +update_forward_refs( + AstGreaterThanOperatorNodeOutputRight_AndOperator, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstGreaterThanOperatorNodeOutputRight_EqOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstGreaterThanOperatorNodeOutputRight_GtOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstGreaterThanOperatorNodeOutputRight_GteOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstGreaterThanOperatorNodeOutputRight_LtOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstGreaterThanOperatorNodeOutputRight_LteOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstGreaterThanOperatorNodeOutputRight_NeqOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstGreaterThanOperatorNodeOutputRight_OrOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) diff --git a/src/elevenlabs/types/ast_greater_than_or_equals_operator_node_input.py b/src/elevenlabs/types/ast_greater_than_or_equals_operator_node_input.py index 66325801..924cbfb3 100644 --- a/src/elevenlabs/types/ast_greater_than_or_equals_operator_node_input.py +++ b/src/elevenlabs/types/ast_greater_than_or_equals_operator_node_input.py @@ -30,7 +30,49 @@ class Config: extra = pydantic.Extra.allow +from .ast_and_operator_node_input import AstAndOperatorNodeInput # noqa: E402, I001 +from .ast_and_operator_node_input_children_item import AstAndOperatorNodeInputChildrenItem # noqa: E402, I001 +from .ast_equals_operator_node_input import AstEqualsOperatorNodeInput # noqa: E402, I001 +from .ast_equals_operator_node_input_left import AstEqualsOperatorNodeInputLeft # noqa: E402, I001 +from .ast_equals_operator_node_input_right import AstEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_greater_than_operator_node_input import AstGreaterThanOperatorNodeInput # noqa: E402, I001 +from .ast_greater_than_operator_node_input_left import AstGreaterThanOperatorNodeInputLeft # noqa: E402, I001 +from .ast_greater_than_operator_node_input_right import AstGreaterThanOperatorNodeInputRight # noqa: E402, I001 from .ast_greater_than_or_equals_operator_node_input_left import AstGreaterThanOrEqualsOperatorNodeInputLeft # noqa: E402, I001 from .ast_greater_than_or_equals_operator_node_input_right import AstGreaterThanOrEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_less_than_operator_node_input import AstLessThanOperatorNodeInput # noqa: E402, I001 +from .ast_less_than_operator_node_input_left import AstLessThanOperatorNodeInputLeft # noqa: E402, I001 +from .ast_less_than_operator_node_input_right import AstLessThanOperatorNodeInputRight # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_input import AstLessThanOrEqualsOperatorNodeInput # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_input_left import AstLessThanOrEqualsOperatorNodeInputLeft # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_input_right import AstLessThanOrEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_not_equals_operator_node_input import AstNotEqualsOperatorNodeInput # noqa: E402, I001 +from .ast_not_equals_operator_node_input_left import AstNotEqualsOperatorNodeInputLeft # noqa: E402, I001 +from .ast_not_equals_operator_node_input_right import AstNotEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_or_operator_node_input import AstOrOperatorNodeInput # noqa: E402, I001 +from .ast_or_operator_node_input_children_item import AstOrOperatorNodeInputChildrenItem # noqa: E402, I001 -update_forward_refs(AstGreaterThanOrEqualsOperatorNodeInput) +update_forward_refs( + AstGreaterThanOrEqualsOperatorNodeInput, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) diff --git a/src/elevenlabs/types/ast_greater_than_or_equals_operator_node_input_left.py b/src/elevenlabs/types/ast_greater_than_or_equals_operator_node_input_left.py index bfa111fc..2d2ab365 100644 --- a/src/elevenlabs/types/ast_greater_than_or_equals_operator_node_input_left.py +++ b/src/elevenlabs/types/ast_greater_than_or_equals_operator_node_input_left.py @@ -269,24 +269,216 @@ class Config: UnionMetadata(discriminant="type"), ] from .ast_and_operator_node_input_children_item import AstAndOperatorNodeInputChildrenItem # noqa: E402, I001 +from .ast_equals_operator_node_input import AstEqualsOperatorNodeInput # noqa: E402, I001 from .ast_equals_operator_node_input_left import AstEqualsOperatorNodeInputLeft # noqa: E402, I001 from .ast_equals_operator_node_input_right import AstEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_greater_than_operator_node_input import AstGreaterThanOperatorNodeInput # noqa: E402, I001 from .ast_greater_than_operator_node_input_left import AstGreaterThanOperatorNodeInputLeft # noqa: E402, I001 from .ast_greater_than_operator_node_input_right import AstGreaterThanOperatorNodeInputRight # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_input import AstGreaterThanOrEqualsOperatorNodeInput # noqa: E402, I001 from .ast_greater_than_or_equals_operator_node_input_right import AstGreaterThanOrEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_less_than_operator_node_input import AstLessThanOperatorNodeInput # noqa: E402, I001 from .ast_less_than_operator_node_input_left import AstLessThanOperatorNodeInputLeft # noqa: E402, I001 from .ast_less_than_operator_node_input_right import AstLessThanOperatorNodeInputRight # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_input import AstLessThanOrEqualsOperatorNodeInput # noqa: E402, I001 from .ast_less_than_or_equals_operator_node_input_left import AstLessThanOrEqualsOperatorNodeInputLeft # noqa: E402, I001 from .ast_less_than_or_equals_operator_node_input_right import AstLessThanOrEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_not_equals_operator_node_input import AstNotEqualsOperatorNodeInput # noqa: E402, I001 from .ast_not_equals_operator_node_input_left import AstNotEqualsOperatorNodeInputLeft # noqa: E402, I001 from .ast_not_equals_operator_node_input_right import AstNotEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_or_operator_node_input import AstOrOperatorNodeInput # noqa: E402, I001 from .ast_or_operator_node_input_children_item import AstOrOperatorNodeInputChildrenItem # noqa: E402, I001 - -update_forward_refs(AstGreaterThanOrEqualsOperatorNodeInputLeft_AndOperator) -update_forward_refs(AstGreaterThanOrEqualsOperatorNodeInputLeft_EqOperator) -update_forward_refs(AstGreaterThanOrEqualsOperatorNodeInputLeft_GtOperator) -update_forward_refs(AstGreaterThanOrEqualsOperatorNodeInputLeft_GteOperator) -update_forward_refs(AstGreaterThanOrEqualsOperatorNodeInputLeft_LtOperator) -update_forward_refs(AstGreaterThanOrEqualsOperatorNodeInputLeft_LteOperator) -update_forward_refs(AstGreaterThanOrEqualsOperatorNodeInputLeft_NeqOperator) -update_forward_refs(AstGreaterThanOrEqualsOperatorNodeInputLeft_OrOperator) +from .ast_and_operator_node_input import AstAndOperatorNodeInput # noqa: E402, I001 + +update_forward_refs( + AstGreaterThanOrEqualsOperatorNodeInputLeft_AndOperator, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstGreaterThanOrEqualsOperatorNodeInputLeft_EqOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstGreaterThanOrEqualsOperatorNodeInputLeft_GtOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstGreaterThanOrEqualsOperatorNodeInputLeft_GteOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstGreaterThanOrEqualsOperatorNodeInputLeft_LtOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstGreaterThanOrEqualsOperatorNodeInputLeft_LteOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstGreaterThanOrEqualsOperatorNodeInputLeft_NeqOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstGreaterThanOrEqualsOperatorNodeInputLeft_OrOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) diff --git a/src/elevenlabs/types/ast_greater_than_or_equals_operator_node_input_right.py b/src/elevenlabs/types/ast_greater_than_or_equals_operator_node_input_right.py index d22dec65..278de613 100644 --- a/src/elevenlabs/types/ast_greater_than_or_equals_operator_node_input_right.py +++ b/src/elevenlabs/types/ast_greater_than_or_equals_operator_node_input_right.py @@ -269,24 +269,216 @@ class Config: UnionMetadata(discriminant="type"), ] from .ast_and_operator_node_input_children_item import AstAndOperatorNodeInputChildrenItem # noqa: E402, I001 +from .ast_equals_operator_node_input import AstEqualsOperatorNodeInput # noqa: E402, I001 from .ast_equals_operator_node_input_left import AstEqualsOperatorNodeInputLeft # noqa: E402, I001 from .ast_equals_operator_node_input_right import AstEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_greater_than_operator_node_input import AstGreaterThanOperatorNodeInput # noqa: E402, I001 from .ast_greater_than_operator_node_input_left import AstGreaterThanOperatorNodeInputLeft # noqa: E402, I001 from .ast_greater_than_operator_node_input_right import AstGreaterThanOperatorNodeInputRight # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_input import AstGreaterThanOrEqualsOperatorNodeInput # noqa: E402, I001 from .ast_greater_than_or_equals_operator_node_input_left import AstGreaterThanOrEqualsOperatorNodeInputLeft # noqa: E402, I001 +from .ast_less_than_operator_node_input import AstLessThanOperatorNodeInput # noqa: E402, I001 from .ast_less_than_operator_node_input_left import AstLessThanOperatorNodeInputLeft # noqa: E402, I001 from .ast_less_than_operator_node_input_right import AstLessThanOperatorNodeInputRight # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_input import AstLessThanOrEqualsOperatorNodeInput # noqa: E402, I001 from .ast_less_than_or_equals_operator_node_input_left import AstLessThanOrEqualsOperatorNodeInputLeft # noqa: E402, I001 from .ast_less_than_or_equals_operator_node_input_right import AstLessThanOrEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_not_equals_operator_node_input import AstNotEqualsOperatorNodeInput # noqa: E402, I001 from .ast_not_equals_operator_node_input_left import AstNotEqualsOperatorNodeInputLeft # noqa: E402, I001 from .ast_not_equals_operator_node_input_right import AstNotEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_or_operator_node_input import AstOrOperatorNodeInput # noqa: E402, I001 from .ast_or_operator_node_input_children_item import AstOrOperatorNodeInputChildrenItem # noqa: E402, I001 - -update_forward_refs(AstGreaterThanOrEqualsOperatorNodeInputRight_AndOperator) -update_forward_refs(AstGreaterThanOrEqualsOperatorNodeInputRight_EqOperator) -update_forward_refs(AstGreaterThanOrEqualsOperatorNodeInputRight_GtOperator) -update_forward_refs(AstGreaterThanOrEqualsOperatorNodeInputRight_GteOperator) -update_forward_refs(AstGreaterThanOrEqualsOperatorNodeInputRight_LtOperator) -update_forward_refs(AstGreaterThanOrEqualsOperatorNodeInputRight_LteOperator) -update_forward_refs(AstGreaterThanOrEqualsOperatorNodeInputRight_NeqOperator) -update_forward_refs(AstGreaterThanOrEqualsOperatorNodeInputRight_OrOperator) +from .ast_and_operator_node_input import AstAndOperatorNodeInput # noqa: E402, I001 + +update_forward_refs( + AstGreaterThanOrEqualsOperatorNodeInputRight_AndOperator, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstGreaterThanOrEqualsOperatorNodeInputRight_EqOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstGreaterThanOrEqualsOperatorNodeInputRight_GtOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstGreaterThanOrEqualsOperatorNodeInputRight_GteOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstGreaterThanOrEqualsOperatorNodeInputRight_LtOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstGreaterThanOrEqualsOperatorNodeInputRight_LteOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstGreaterThanOrEqualsOperatorNodeInputRight_NeqOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstGreaterThanOrEqualsOperatorNodeInputRight_OrOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) diff --git a/src/elevenlabs/types/ast_greater_than_or_equals_operator_node_output.py b/src/elevenlabs/types/ast_greater_than_or_equals_operator_node_output.py index e35f5695..45ee2590 100644 --- a/src/elevenlabs/types/ast_greater_than_or_equals_operator_node_output.py +++ b/src/elevenlabs/types/ast_greater_than_or_equals_operator_node_output.py @@ -30,7 +30,49 @@ class Config: extra = pydantic.Extra.allow +from .ast_and_operator_node_output import AstAndOperatorNodeOutput # noqa: E402, I001 +from .ast_and_operator_node_output_children_item import AstAndOperatorNodeOutputChildrenItem # noqa: E402, I001 +from .ast_equals_operator_node_output import AstEqualsOperatorNodeOutput # noqa: E402, I001 +from .ast_equals_operator_node_output_left import AstEqualsOperatorNodeOutputLeft # noqa: E402, I001 +from .ast_equals_operator_node_output_right import AstEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_greater_than_operator_node_output import AstGreaterThanOperatorNodeOutput # noqa: E402, I001 +from .ast_greater_than_operator_node_output_left import AstGreaterThanOperatorNodeOutputLeft # noqa: E402, I001 +from .ast_greater_than_operator_node_output_right import AstGreaterThanOperatorNodeOutputRight # noqa: E402, I001 from .ast_greater_than_or_equals_operator_node_output_left import AstGreaterThanOrEqualsOperatorNodeOutputLeft # noqa: E402, I001 from .ast_greater_than_or_equals_operator_node_output_right import AstGreaterThanOrEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_less_than_operator_node_output import AstLessThanOperatorNodeOutput # noqa: E402, I001 +from .ast_less_than_operator_node_output_left import AstLessThanOperatorNodeOutputLeft # noqa: E402, I001 +from .ast_less_than_operator_node_output_right import AstLessThanOperatorNodeOutputRight # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_output import AstLessThanOrEqualsOperatorNodeOutput # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_output_left import AstLessThanOrEqualsOperatorNodeOutputLeft # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_output_right import AstLessThanOrEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_not_equals_operator_node_output import AstNotEqualsOperatorNodeOutput # noqa: E402, I001 +from .ast_not_equals_operator_node_output_left import AstNotEqualsOperatorNodeOutputLeft # noqa: E402, I001 +from .ast_not_equals_operator_node_output_right import AstNotEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_or_operator_node_output import AstOrOperatorNodeOutput # noqa: E402, I001 +from .ast_or_operator_node_output_children_item import AstOrOperatorNodeOutputChildrenItem # noqa: E402, I001 -update_forward_refs(AstGreaterThanOrEqualsOperatorNodeOutput) +update_forward_refs( + AstGreaterThanOrEqualsOperatorNodeOutput, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) diff --git a/src/elevenlabs/types/ast_greater_than_or_equals_operator_node_output_left.py b/src/elevenlabs/types/ast_greater_than_or_equals_operator_node_output_left.py index 6fa56033..2db81964 100644 --- a/src/elevenlabs/types/ast_greater_than_or_equals_operator_node_output_left.py +++ b/src/elevenlabs/types/ast_greater_than_or_equals_operator_node_output_left.py @@ -269,24 +269,216 @@ class Config: UnionMetadata(discriminant="type"), ] from .ast_and_operator_node_output_children_item import AstAndOperatorNodeOutputChildrenItem # noqa: E402, I001 +from .ast_equals_operator_node_output import AstEqualsOperatorNodeOutput # noqa: E402, I001 from .ast_equals_operator_node_output_left import AstEqualsOperatorNodeOutputLeft # noqa: E402, I001 from .ast_equals_operator_node_output_right import AstEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_greater_than_operator_node_output import AstGreaterThanOperatorNodeOutput # noqa: E402, I001 from .ast_greater_than_operator_node_output_left import AstGreaterThanOperatorNodeOutputLeft # noqa: E402, I001 from .ast_greater_than_operator_node_output_right import AstGreaterThanOperatorNodeOutputRight # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_output import AstGreaterThanOrEqualsOperatorNodeOutput # noqa: E402, I001 from .ast_greater_than_or_equals_operator_node_output_right import AstGreaterThanOrEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_less_than_operator_node_output import AstLessThanOperatorNodeOutput # noqa: E402, I001 from .ast_less_than_operator_node_output_left import AstLessThanOperatorNodeOutputLeft # noqa: E402, I001 from .ast_less_than_operator_node_output_right import AstLessThanOperatorNodeOutputRight # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_output import AstLessThanOrEqualsOperatorNodeOutput # noqa: E402, I001 from .ast_less_than_or_equals_operator_node_output_left import AstLessThanOrEqualsOperatorNodeOutputLeft # noqa: E402, I001 from .ast_less_than_or_equals_operator_node_output_right import AstLessThanOrEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_not_equals_operator_node_output import AstNotEqualsOperatorNodeOutput # noqa: E402, I001 from .ast_not_equals_operator_node_output_left import AstNotEqualsOperatorNodeOutputLeft # noqa: E402, I001 from .ast_not_equals_operator_node_output_right import AstNotEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_or_operator_node_output import AstOrOperatorNodeOutput # noqa: E402, I001 from .ast_or_operator_node_output_children_item import AstOrOperatorNodeOutputChildrenItem # noqa: E402, I001 - -update_forward_refs(AstGreaterThanOrEqualsOperatorNodeOutputLeft_AndOperator) -update_forward_refs(AstGreaterThanOrEqualsOperatorNodeOutputLeft_EqOperator) -update_forward_refs(AstGreaterThanOrEqualsOperatorNodeOutputLeft_GtOperator) -update_forward_refs(AstGreaterThanOrEqualsOperatorNodeOutputLeft_GteOperator) -update_forward_refs(AstGreaterThanOrEqualsOperatorNodeOutputLeft_LtOperator) -update_forward_refs(AstGreaterThanOrEqualsOperatorNodeOutputLeft_LteOperator) -update_forward_refs(AstGreaterThanOrEqualsOperatorNodeOutputLeft_NeqOperator) -update_forward_refs(AstGreaterThanOrEqualsOperatorNodeOutputLeft_OrOperator) +from .ast_and_operator_node_output import AstAndOperatorNodeOutput # noqa: E402, I001 + +update_forward_refs( + AstGreaterThanOrEqualsOperatorNodeOutputLeft_AndOperator, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstGreaterThanOrEqualsOperatorNodeOutputLeft_EqOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstGreaterThanOrEqualsOperatorNodeOutputLeft_GtOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstGreaterThanOrEqualsOperatorNodeOutputLeft_GteOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstGreaterThanOrEqualsOperatorNodeOutputLeft_LtOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstGreaterThanOrEqualsOperatorNodeOutputLeft_LteOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstGreaterThanOrEqualsOperatorNodeOutputLeft_NeqOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstGreaterThanOrEqualsOperatorNodeOutputLeft_OrOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) diff --git a/src/elevenlabs/types/ast_greater_than_or_equals_operator_node_output_right.py b/src/elevenlabs/types/ast_greater_than_or_equals_operator_node_output_right.py index d9f3c86c..2d313719 100644 --- a/src/elevenlabs/types/ast_greater_than_or_equals_operator_node_output_right.py +++ b/src/elevenlabs/types/ast_greater_than_or_equals_operator_node_output_right.py @@ -269,24 +269,216 @@ class Config: UnionMetadata(discriminant="type"), ] from .ast_and_operator_node_output_children_item import AstAndOperatorNodeOutputChildrenItem # noqa: E402, I001 +from .ast_equals_operator_node_output import AstEqualsOperatorNodeOutput # noqa: E402, I001 from .ast_equals_operator_node_output_left import AstEqualsOperatorNodeOutputLeft # noqa: E402, I001 from .ast_equals_operator_node_output_right import AstEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_greater_than_operator_node_output import AstGreaterThanOperatorNodeOutput # noqa: E402, I001 from .ast_greater_than_operator_node_output_left import AstGreaterThanOperatorNodeOutputLeft # noqa: E402, I001 from .ast_greater_than_operator_node_output_right import AstGreaterThanOperatorNodeOutputRight # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_output import AstGreaterThanOrEqualsOperatorNodeOutput # noqa: E402, I001 from .ast_greater_than_or_equals_operator_node_output_left import AstGreaterThanOrEqualsOperatorNodeOutputLeft # noqa: E402, I001 +from .ast_less_than_operator_node_output import AstLessThanOperatorNodeOutput # noqa: E402, I001 from .ast_less_than_operator_node_output_left import AstLessThanOperatorNodeOutputLeft # noqa: E402, I001 from .ast_less_than_operator_node_output_right import AstLessThanOperatorNodeOutputRight # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_output import AstLessThanOrEqualsOperatorNodeOutput # noqa: E402, I001 from .ast_less_than_or_equals_operator_node_output_left import AstLessThanOrEqualsOperatorNodeOutputLeft # noqa: E402, I001 from .ast_less_than_or_equals_operator_node_output_right import AstLessThanOrEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_not_equals_operator_node_output import AstNotEqualsOperatorNodeOutput # noqa: E402, I001 from .ast_not_equals_operator_node_output_left import AstNotEqualsOperatorNodeOutputLeft # noqa: E402, I001 from .ast_not_equals_operator_node_output_right import AstNotEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_or_operator_node_output import AstOrOperatorNodeOutput # noqa: E402, I001 from .ast_or_operator_node_output_children_item import AstOrOperatorNodeOutputChildrenItem # noqa: E402, I001 - -update_forward_refs(AstGreaterThanOrEqualsOperatorNodeOutputRight_AndOperator) -update_forward_refs(AstGreaterThanOrEqualsOperatorNodeOutputRight_EqOperator) -update_forward_refs(AstGreaterThanOrEqualsOperatorNodeOutputRight_GtOperator) -update_forward_refs(AstGreaterThanOrEqualsOperatorNodeOutputRight_GteOperator) -update_forward_refs(AstGreaterThanOrEqualsOperatorNodeOutputRight_LtOperator) -update_forward_refs(AstGreaterThanOrEqualsOperatorNodeOutputRight_LteOperator) -update_forward_refs(AstGreaterThanOrEqualsOperatorNodeOutputRight_NeqOperator) -update_forward_refs(AstGreaterThanOrEqualsOperatorNodeOutputRight_OrOperator) +from .ast_and_operator_node_output import AstAndOperatorNodeOutput # noqa: E402, I001 + +update_forward_refs( + AstGreaterThanOrEqualsOperatorNodeOutputRight_AndOperator, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstGreaterThanOrEqualsOperatorNodeOutputRight_EqOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstGreaterThanOrEqualsOperatorNodeOutputRight_GtOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstGreaterThanOrEqualsOperatorNodeOutputRight_GteOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstGreaterThanOrEqualsOperatorNodeOutputRight_LtOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstGreaterThanOrEqualsOperatorNodeOutputRight_LteOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstGreaterThanOrEqualsOperatorNodeOutputRight_NeqOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstGreaterThanOrEqualsOperatorNodeOutputRight_OrOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) diff --git a/src/elevenlabs/types/ast_less_than_operator_node_input.py b/src/elevenlabs/types/ast_less_than_operator_node_input.py index 9347d69b..8ca2c7fa 100644 --- a/src/elevenlabs/types/ast_less_than_operator_node_input.py +++ b/src/elevenlabs/types/ast_less_than_operator_node_input.py @@ -30,7 +30,49 @@ class Config: extra = pydantic.Extra.allow +from .ast_and_operator_node_input import AstAndOperatorNodeInput # noqa: E402, I001 +from .ast_and_operator_node_input_children_item import AstAndOperatorNodeInputChildrenItem # noqa: E402, I001 +from .ast_equals_operator_node_input import AstEqualsOperatorNodeInput # noqa: E402, I001 +from .ast_equals_operator_node_input_left import AstEqualsOperatorNodeInputLeft # noqa: E402, I001 +from .ast_equals_operator_node_input_right import AstEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_greater_than_operator_node_input import AstGreaterThanOperatorNodeInput # noqa: E402, I001 +from .ast_greater_than_operator_node_input_left import AstGreaterThanOperatorNodeInputLeft # noqa: E402, I001 +from .ast_greater_than_operator_node_input_right import AstGreaterThanOperatorNodeInputRight # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_input import AstGreaterThanOrEqualsOperatorNodeInput # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_input_left import AstGreaterThanOrEqualsOperatorNodeInputLeft # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_input_right import AstGreaterThanOrEqualsOperatorNodeInputRight # noqa: E402, I001 from .ast_less_than_operator_node_input_left import AstLessThanOperatorNodeInputLeft # noqa: E402, I001 from .ast_less_than_operator_node_input_right import AstLessThanOperatorNodeInputRight # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_input import AstLessThanOrEqualsOperatorNodeInput # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_input_left import AstLessThanOrEqualsOperatorNodeInputLeft # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_input_right import AstLessThanOrEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_not_equals_operator_node_input import AstNotEqualsOperatorNodeInput # noqa: E402, I001 +from .ast_not_equals_operator_node_input_left import AstNotEqualsOperatorNodeInputLeft # noqa: E402, I001 +from .ast_not_equals_operator_node_input_right import AstNotEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_or_operator_node_input import AstOrOperatorNodeInput # noqa: E402, I001 +from .ast_or_operator_node_input_children_item import AstOrOperatorNodeInputChildrenItem # noqa: E402, I001 -update_forward_refs(AstLessThanOperatorNodeInput) +update_forward_refs( + AstLessThanOperatorNodeInput, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) diff --git a/src/elevenlabs/types/ast_less_than_operator_node_input_left.py b/src/elevenlabs/types/ast_less_than_operator_node_input_left.py index 642c92d5..cc17a82a 100644 --- a/src/elevenlabs/types/ast_less_than_operator_node_input_left.py +++ b/src/elevenlabs/types/ast_less_than_operator_node_input_left.py @@ -269,24 +269,216 @@ class Config: UnionMetadata(discriminant="type"), ] from .ast_and_operator_node_input_children_item import AstAndOperatorNodeInputChildrenItem # noqa: E402, I001 +from .ast_equals_operator_node_input import AstEqualsOperatorNodeInput # noqa: E402, I001 from .ast_equals_operator_node_input_left import AstEqualsOperatorNodeInputLeft # noqa: E402, I001 from .ast_equals_operator_node_input_right import AstEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_greater_than_operator_node_input import AstGreaterThanOperatorNodeInput # noqa: E402, I001 from .ast_greater_than_operator_node_input_left import AstGreaterThanOperatorNodeInputLeft # noqa: E402, I001 from .ast_greater_than_operator_node_input_right import AstGreaterThanOperatorNodeInputRight # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_input import AstGreaterThanOrEqualsOperatorNodeInput # noqa: E402, I001 from .ast_greater_than_or_equals_operator_node_input_left import AstGreaterThanOrEqualsOperatorNodeInputLeft # noqa: E402, I001 from .ast_greater_than_or_equals_operator_node_input_right import AstGreaterThanOrEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_less_than_operator_node_input import AstLessThanOperatorNodeInput # noqa: E402, I001 from .ast_less_than_operator_node_input_right import AstLessThanOperatorNodeInputRight # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_input import AstLessThanOrEqualsOperatorNodeInput # noqa: E402, I001 from .ast_less_than_or_equals_operator_node_input_left import AstLessThanOrEqualsOperatorNodeInputLeft # noqa: E402, I001 from .ast_less_than_or_equals_operator_node_input_right import AstLessThanOrEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_not_equals_operator_node_input import AstNotEqualsOperatorNodeInput # noqa: E402, I001 from .ast_not_equals_operator_node_input_left import AstNotEqualsOperatorNodeInputLeft # noqa: E402, I001 from .ast_not_equals_operator_node_input_right import AstNotEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_or_operator_node_input import AstOrOperatorNodeInput # noqa: E402, I001 from .ast_or_operator_node_input_children_item import AstOrOperatorNodeInputChildrenItem # noqa: E402, I001 - -update_forward_refs(AstLessThanOperatorNodeInputLeft_AndOperator) -update_forward_refs(AstLessThanOperatorNodeInputLeft_EqOperator) -update_forward_refs(AstLessThanOperatorNodeInputLeft_GtOperator) -update_forward_refs(AstLessThanOperatorNodeInputLeft_GteOperator) -update_forward_refs(AstLessThanOperatorNodeInputLeft_LtOperator) -update_forward_refs(AstLessThanOperatorNodeInputLeft_LteOperator) -update_forward_refs(AstLessThanOperatorNodeInputLeft_NeqOperator) -update_forward_refs(AstLessThanOperatorNodeInputLeft_OrOperator) +from .ast_and_operator_node_input import AstAndOperatorNodeInput # noqa: E402, I001 + +update_forward_refs( + AstLessThanOperatorNodeInputLeft_AndOperator, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstLessThanOperatorNodeInputLeft_EqOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstLessThanOperatorNodeInputLeft_GtOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstLessThanOperatorNodeInputLeft_GteOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstLessThanOperatorNodeInputLeft_LtOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstLessThanOperatorNodeInputLeft_LteOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstLessThanOperatorNodeInputLeft_NeqOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstLessThanOperatorNodeInputLeft_OrOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) diff --git a/src/elevenlabs/types/ast_less_than_operator_node_input_right.py b/src/elevenlabs/types/ast_less_than_operator_node_input_right.py index 8829456c..0dbc4e3f 100644 --- a/src/elevenlabs/types/ast_less_than_operator_node_input_right.py +++ b/src/elevenlabs/types/ast_less_than_operator_node_input_right.py @@ -269,24 +269,216 @@ class Config: UnionMetadata(discriminant="type"), ] from .ast_and_operator_node_input_children_item import AstAndOperatorNodeInputChildrenItem # noqa: E402, I001 +from .ast_equals_operator_node_input import AstEqualsOperatorNodeInput # noqa: E402, I001 from .ast_equals_operator_node_input_left import AstEqualsOperatorNodeInputLeft # noqa: E402, I001 from .ast_equals_operator_node_input_right import AstEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_greater_than_operator_node_input import AstGreaterThanOperatorNodeInput # noqa: E402, I001 from .ast_greater_than_operator_node_input_left import AstGreaterThanOperatorNodeInputLeft # noqa: E402, I001 from .ast_greater_than_operator_node_input_right import AstGreaterThanOperatorNodeInputRight # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_input import AstGreaterThanOrEqualsOperatorNodeInput # noqa: E402, I001 from .ast_greater_than_or_equals_operator_node_input_left import AstGreaterThanOrEqualsOperatorNodeInputLeft # noqa: E402, I001 from .ast_greater_than_or_equals_operator_node_input_right import AstGreaterThanOrEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_less_than_operator_node_input import AstLessThanOperatorNodeInput # noqa: E402, I001 from .ast_less_than_operator_node_input_left import AstLessThanOperatorNodeInputLeft # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_input import AstLessThanOrEqualsOperatorNodeInput # noqa: E402, I001 from .ast_less_than_or_equals_operator_node_input_left import AstLessThanOrEqualsOperatorNodeInputLeft # noqa: E402, I001 from .ast_less_than_or_equals_operator_node_input_right import AstLessThanOrEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_not_equals_operator_node_input import AstNotEqualsOperatorNodeInput # noqa: E402, I001 from .ast_not_equals_operator_node_input_left import AstNotEqualsOperatorNodeInputLeft # noqa: E402, I001 from .ast_not_equals_operator_node_input_right import AstNotEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_or_operator_node_input import AstOrOperatorNodeInput # noqa: E402, I001 from .ast_or_operator_node_input_children_item import AstOrOperatorNodeInputChildrenItem # noqa: E402, I001 - -update_forward_refs(AstLessThanOperatorNodeInputRight_AndOperator) -update_forward_refs(AstLessThanOperatorNodeInputRight_EqOperator) -update_forward_refs(AstLessThanOperatorNodeInputRight_GtOperator) -update_forward_refs(AstLessThanOperatorNodeInputRight_GteOperator) -update_forward_refs(AstLessThanOperatorNodeInputRight_LtOperator) -update_forward_refs(AstLessThanOperatorNodeInputRight_LteOperator) -update_forward_refs(AstLessThanOperatorNodeInputRight_NeqOperator) -update_forward_refs(AstLessThanOperatorNodeInputRight_OrOperator) +from .ast_and_operator_node_input import AstAndOperatorNodeInput # noqa: E402, I001 + +update_forward_refs( + AstLessThanOperatorNodeInputRight_AndOperator, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstLessThanOperatorNodeInputRight_EqOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstLessThanOperatorNodeInputRight_GtOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstLessThanOperatorNodeInputRight_GteOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstLessThanOperatorNodeInputRight_LtOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstLessThanOperatorNodeInputRight_LteOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstLessThanOperatorNodeInputRight_NeqOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstLessThanOperatorNodeInputRight_OrOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) diff --git a/src/elevenlabs/types/ast_less_than_operator_node_output.py b/src/elevenlabs/types/ast_less_than_operator_node_output.py index ac785a45..af37d2d7 100644 --- a/src/elevenlabs/types/ast_less_than_operator_node_output.py +++ b/src/elevenlabs/types/ast_less_than_operator_node_output.py @@ -30,7 +30,49 @@ class Config: extra = pydantic.Extra.allow +from .ast_and_operator_node_output import AstAndOperatorNodeOutput # noqa: E402, I001 +from .ast_and_operator_node_output_children_item import AstAndOperatorNodeOutputChildrenItem # noqa: E402, I001 +from .ast_equals_operator_node_output import AstEqualsOperatorNodeOutput # noqa: E402, I001 +from .ast_equals_operator_node_output_left import AstEqualsOperatorNodeOutputLeft # noqa: E402, I001 +from .ast_equals_operator_node_output_right import AstEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_greater_than_operator_node_output import AstGreaterThanOperatorNodeOutput # noqa: E402, I001 +from .ast_greater_than_operator_node_output_left import AstGreaterThanOperatorNodeOutputLeft # noqa: E402, I001 +from .ast_greater_than_operator_node_output_right import AstGreaterThanOperatorNodeOutputRight # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_output import AstGreaterThanOrEqualsOperatorNodeOutput # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_output_left import AstGreaterThanOrEqualsOperatorNodeOutputLeft # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_output_right import AstGreaterThanOrEqualsOperatorNodeOutputRight # noqa: E402, I001 from .ast_less_than_operator_node_output_left import AstLessThanOperatorNodeOutputLeft # noqa: E402, I001 from .ast_less_than_operator_node_output_right import AstLessThanOperatorNodeOutputRight # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_output import AstLessThanOrEqualsOperatorNodeOutput # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_output_left import AstLessThanOrEqualsOperatorNodeOutputLeft # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_output_right import AstLessThanOrEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_not_equals_operator_node_output import AstNotEqualsOperatorNodeOutput # noqa: E402, I001 +from .ast_not_equals_operator_node_output_left import AstNotEqualsOperatorNodeOutputLeft # noqa: E402, I001 +from .ast_not_equals_operator_node_output_right import AstNotEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_or_operator_node_output import AstOrOperatorNodeOutput # noqa: E402, I001 +from .ast_or_operator_node_output_children_item import AstOrOperatorNodeOutputChildrenItem # noqa: E402, I001 -update_forward_refs(AstLessThanOperatorNodeOutput) +update_forward_refs( + AstLessThanOperatorNodeOutput, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) diff --git a/src/elevenlabs/types/ast_less_than_operator_node_output_left.py b/src/elevenlabs/types/ast_less_than_operator_node_output_left.py index 0cdfeb41..e5c44cb2 100644 --- a/src/elevenlabs/types/ast_less_than_operator_node_output_left.py +++ b/src/elevenlabs/types/ast_less_than_operator_node_output_left.py @@ -269,24 +269,216 @@ class Config: UnionMetadata(discriminant="type"), ] from .ast_and_operator_node_output_children_item import AstAndOperatorNodeOutputChildrenItem # noqa: E402, I001 +from .ast_equals_operator_node_output import AstEqualsOperatorNodeOutput # noqa: E402, I001 from .ast_equals_operator_node_output_left import AstEqualsOperatorNodeOutputLeft # noqa: E402, I001 from .ast_equals_operator_node_output_right import AstEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_greater_than_operator_node_output import AstGreaterThanOperatorNodeOutput # noqa: E402, I001 from .ast_greater_than_operator_node_output_left import AstGreaterThanOperatorNodeOutputLeft # noqa: E402, I001 from .ast_greater_than_operator_node_output_right import AstGreaterThanOperatorNodeOutputRight # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_output import AstGreaterThanOrEqualsOperatorNodeOutput # noqa: E402, I001 from .ast_greater_than_or_equals_operator_node_output_left import AstGreaterThanOrEqualsOperatorNodeOutputLeft # noqa: E402, I001 from .ast_greater_than_or_equals_operator_node_output_right import AstGreaterThanOrEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_less_than_operator_node_output import AstLessThanOperatorNodeOutput # noqa: E402, I001 from .ast_less_than_operator_node_output_right import AstLessThanOperatorNodeOutputRight # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_output import AstLessThanOrEqualsOperatorNodeOutput # noqa: E402, I001 from .ast_less_than_or_equals_operator_node_output_left import AstLessThanOrEqualsOperatorNodeOutputLeft # noqa: E402, I001 from .ast_less_than_or_equals_operator_node_output_right import AstLessThanOrEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_not_equals_operator_node_output import AstNotEqualsOperatorNodeOutput # noqa: E402, I001 from .ast_not_equals_operator_node_output_left import AstNotEqualsOperatorNodeOutputLeft # noqa: E402, I001 from .ast_not_equals_operator_node_output_right import AstNotEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_or_operator_node_output import AstOrOperatorNodeOutput # noqa: E402, I001 from .ast_or_operator_node_output_children_item import AstOrOperatorNodeOutputChildrenItem # noqa: E402, I001 - -update_forward_refs(AstLessThanOperatorNodeOutputLeft_AndOperator) -update_forward_refs(AstLessThanOperatorNodeOutputLeft_EqOperator) -update_forward_refs(AstLessThanOperatorNodeOutputLeft_GtOperator) -update_forward_refs(AstLessThanOperatorNodeOutputLeft_GteOperator) -update_forward_refs(AstLessThanOperatorNodeOutputLeft_LtOperator) -update_forward_refs(AstLessThanOperatorNodeOutputLeft_LteOperator) -update_forward_refs(AstLessThanOperatorNodeOutputLeft_NeqOperator) -update_forward_refs(AstLessThanOperatorNodeOutputLeft_OrOperator) +from .ast_and_operator_node_output import AstAndOperatorNodeOutput # noqa: E402, I001 + +update_forward_refs( + AstLessThanOperatorNodeOutputLeft_AndOperator, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstLessThanOperatorNodeOutputLeft_EqOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstLessThanOperatorNodeOutputLeft_GtOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstLessThanOperatorNodeOutputLeft_GteOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstLessThanOperatorNodeOutputLeft_LtOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstLessThanOperatorNodeOutputLeft_LteOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstLessThanOperatorNodeOutputLeft_NeqOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstLessThanOperatorNodeOutputLeft_OrOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) diff --git a/src/elevenlabs/types/ast_less_than_operator_node_output_right.py b/src/elevenlabs/types/ast_less_than_operator_node_output_right.py index 02c207d8..e2d5869c 100644 --- a/src/elevenlabs/types/ast_less_than_operator_node_output_right.py +++ b/src/elevenlabs/types/ast_less_than_operator_node_output_right.py @@ -269,24 +269,216 @@ class Config: UnionMetadata(discriminant="type"), ] from .ast_and_operator_node_output_children_item import AstAndOperatorNodeOutputChildrenItem # noqa: E402, I001 +from .ast_equals_operator_node_output import AstEqualsOperatorNodeOutput # noqa: E402, I001 from .ast_equals_operator_node_output_left import AstEqualsOperatorNodeOutputLeft # noqa: E402, I001 from .ast_equals_operator_node_output_right import AstEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_greater_than_operator_node_output import AstGreaterThanOperatorNodeOutput # noqa: E402, I001 from .ast_greater_than_operator_node_output_left import AstGreaterThanOperatorNodeOutputLeft # noqa: E402, I001 from .ast_greater_than_operator_node_output_right import AstGreaterThanOperatorNodeOutputRight # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_output import AstGreaterThanOrEqualsOperatorNodeOutput # noqa: E402, I001 from .ast_greater_than_or_equals_operator_node_output_left import AstGreaterThanOrEqualsOperatorNodeOutputLeft # noqa: E402, I001 from .ast_greater_than_or_equals_operator_node_output_right import AstGreaterThanOrEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_less_than_operator_node_output import AstLessThanOperatorNodeOutput # noqa: E402, I001 from .ast_less_than_operator_node_output_left import AstLessThanOperatorNodeOutputLeft # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_output import AstLessThanOrEqualsOperatorNodeOutput # noqa: E402, I001 from .ast_less_than_or_equals_operator_node_output_left import AstLessThanOrEqualsOperatorNodeOutputLeft # noqa: E402, I001 from .ast_less_than_or_equals_operator_node_output_right import AstLessThanOrEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_not_equals_operator_node_output import AstNotEqualsOperatorNodeOutput # noqa: E402, I001 from .ast_not_equals_operator_node_output_left import AstNotEqualsOperatorNodeOutputLeft # noqa: E402, I001 from .ast_not_equals_operator_node_output_right import AstNotEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_or_operator_node_output import AstOrOperatorNodeOutput # noqa: E402, I001 from .ast_or_operator_node_output_children_item import AstOrOperatorNodeOutputChildrenItem # noqa: E402, I001 - -update_forward_refs(AstLessThanOperatorNodeOutputRight_AndOperator) -update_forward_refs(AstLessThanOperatorNodeOutputRight_EqOperator) -update_forward_refs(AstLessThanOperatorNodeOutputRight_GtOperator) -update_forward_refs(AstLessThanOperatorNodeOutputRight_GteOperator) -update_forward_refs(AstLessThanOperatorNodeOutputRight_LtOperator) -update_forward_refs(AstLessThanOperatorNodeOutputRight_LteOperator) -update_forward_refs(AstLessThanOperatorNodeOutputRight_NeqOperator) -update_forward_refs(AstLessThanOperatorNodeOutputRight_OrOperator) +from .ast_and_operator_node_output import AstAndOperatorNodeOutput # noqa: E402, I001 + +update_forward_refs( + AstLessThanOperatorNodeOutputRight_AndOperator, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstLessThanOperatorNodeOutputRight_EqOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstLessThanOperatorNodeOutputRight_GtOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstLessThanOperatorNodeOutputRight_GteOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstLessThanOperatorNodeOutputRight_LtOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstLessThanOperatorNodeOutputRight_LteOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstLessThanOperatorNodeOutputRight_NeqOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstLessThanOperatorNodeOutputRight_OrOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) diff --git a/src/elevenlabs/types/ast_less_than_or_equals_operator_node_input.py b/src/elevenlabs/types/ast_less_than_or_equals_operator_node_input.py index c5b0ca43..1eaf8f32 100644 --- a/src/elevenlabs/types/ast_less_than_or_equals_operator_node_input.py +++ b/src/elevenlabs/types/ast_less_than_or_equals_operator_node_input.py @@ -30,7 +30,49 @@ class Config: extra = pydantic.Extra.allow +from .ast_and_operator_node_input import AstAndOperatorNodeInput # noqa: E402, I001 +from .ast_and_operator_node_input_children_item import AstAndOperatorNodeInputChildrenItem # noqa: E402, I001 +from .ast_equals_operator_node_input import AstEqualsOperatorNodeInput # noqa: E402, I001 +from .ast_equals_operator_node_input_left import AstEqualsOperatorNodeInputLeft # noqa: E402, I001 +from .ast_equals_operator_node_input_right import AstEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_greater_than_operator_node_input import AstGreaterThanOperatorNodeInput # noqa: E402, I001 +from .ast_greater_than_operator_node_input_left import AstGreaterThanOperatorNodeInputLeft # noqa: E402, I001 +from .ast_greater_than_operator_node_input_right import AstGreaterThanOperatorNodeInputRight # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_input import AstGreaterThanOrEqualsOperatorNodeInput # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_input_left import AstGreaterThanOrEqualsOperatorNodeInputLeft # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_input_right import AstGreaterThanOrEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_less_than_operator_node_input import AstLessThanOperatorNodeInput # noqa: E402, I001 +from .ast_less_than_operator_node_input_left import AstLessThanOperatorNodeInputLeft # noqa: E402, I001 +from .ast_less_than_operator_node_input_right import AstLessThanOperatorNodeInputRight # noqa: E402, I001 from .ast_less_than_or_equals_operator_node_input_left import AstLessThanOrEqualsOperatorNodeInputLeft # noqa: E402, I001 from .ast_less_than_or_equals_operator_node_input_right import AstLessThanOrEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_not_equals_operator_node_input import AstNotEqualsOperatorNodeInput # noqa: E402, I001 +from .ast_not_equals_operator_node_input_left import AstNotEqualsOperatorNodeInputLeft # noqa: E402, I001 +from .ast_not_equals_operator_node_input_right import AstNotEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_or_operator_node_input import AstOrOperatorNodeInput # noqa: E402, I001 +from .ast_or_operator_node_input_children_item import AstOrOperatorNodeInputChildrenItem # noqa: E402, I001 -update_forward_refs(AstLessThanOrEqualsOperatorNodeInput) +update_forward_refs( + AstLessThanOrEqualsOperatorNodeInput, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) diff --git a/src/elevenlabs/types/ast_less_than_or_equals_operator_node_input_left.py b/src/elevenlabs/types/ast_less_than_or_equals_operator_node_input_left.py index f3ef576f..23f4764b 100644 --- a/src/elevenlabs/types/ast_less_than_or_equals_operator_node_input_left.py +++ b/src/elevenlabs/types/ast_less_than_or_equals_operator_node_input_left.py @@ -269,24 +269,216 @@ class Config: UnionMetadata(discriminant="type"), ] from .ast_and_operator_node_input_children_item import AstAndOperatorNodeInputChildrenItem # noqa: E402, I001 +from .ast_equals_operator_node_input import AstEqualsOperatorNodeInput # noqa: E402, I001 from .ast_equals_operator_node_input_left import AstEqualsOperatorNodeInputLeft # noqa: E402, I001 from .ast_equals_operator_node_input_right import AstEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_greater_than_operator_node_input import AstGreaterThanOperatorNodeInput # noqa: E402, I001 from .ast_greater_than_operator_node_input_left import AstGreaterThanOperatorNodeInputLeft # noqa: E402, I001 from .ast_greater_than_operator_node_input_right import AstGreaterThanOperatorNodeInputRight # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_input import AstGreaterThanOrEqualsOperatorNodeInput # noqa: E402, I001 from .ast_greater_than_or_equals_operator_node_input_left import AstGreaterThanOrEqualsOperatorNodeInputLeft # noqa: E402, I001 from .ast_greater_than_or_equals_operator_node_input_right import AstGreaterThanOrEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_less_than_operator_node_input import AstLessThanOperatorNodeInput # noqa: E402, I001 from .ast_less_than_operator_node_input_left import AstLessThanOperatorNodeInputLeft # noqa: E402, I001 from .ast_less_than_operator_node_input_right import AstLessThanOperatorNodeInputRight # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_input import AstLessThanOrEqualsOperatorNodeInput # noqa: E402, I001 from .ast_less_than_or_equals_operator_node_input_right import AstLessThanOrEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_not_equals_operator_node_input import AstNotEqualsOperatorNodeInput # noqa: E402, I001 from .ast_not_equals_operator_node_input_left import AstNotEqualsOperatorNodeInputLeft # noqa: E402, I001 from .ast_not_equals_operator_node_input_right import AstNotEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_or_operator_node_input import AstOrOperatorNodeInput # noqa: E402, I001 from .ast_or_operator_node_input_children_item import AstOrOperatorNodeInputChildrenItem # noqa: E402, I001 - -update_forward_refs(AstLessThanOrEqualsOperatorNodeInputLeft_AndOperator) -update_forward_refs(AstLessThanOrEqualsOperatorNodeInputLeft_EqOperator) -update_forward_refs(AstLessThanOrEqualsOperatorNodeInputLeft_GtOperator) -update_forward_refs(AstLessThanOrEqualsOperatorNodeInputLeft_GteOperator) -update_forward_refs(AstLessThanOrEqualsOperatorNodeInputLeft_LtOperator) -update_forward_refs(AstLessThanOrEqualsOperatorNodeInputLeft_LteOperator) -update_forward_refs(AstLessThanOrEqualsOperatorNodeInputLeft_NeqOperator) -update_forward_refs(AstLessThanOrEqualsOperatorNodeInputLeft_OrOperator) +from .ast_and_operator_node_input import AstAndOperatorNodeInput # noqa: E402, I001 + +update_forward_refs( + AstLessThanOrEqualsOperatorNodeInputLeft_AndOperator, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstLessThanOrEqualsOperatorNodeInputLeft_EqOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstLessThanOrEqualsOperatorNodeInputLeft_GtOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstLessThanOrEqualsOperatorNodeInputLeft_GteOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstLessThanOrEqualsOperatorNodeInputLeft_LtOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstLessThanOrEqualsOperatorNodeInputLeft_LteOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstLessThanOrEqualsOperatorNodeInputLeft_NeqOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstLessThanOrEqualsOperatorNodeInputLeft_OrOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) diff --git a/src/elevenlabs/types/ast_less_than_or_equals_operator_node_input_right.py b/src/elevenlabs/types/ast_less_than_or_equals_operator_node_input_right.py index 15cbef7c..f209cb3d 100644 --- a/src/elevenlabs/types/ast_less_than_or_equals_operator_node_input_right.py +++ b/src/elevenlabs/types/ast_less_than_or_equals_operator_node_input_right.py @@ -269,24 +269,216 @@ class Config: UnionMetadata(discriminant="type"), ] from .ast_and_operator_node_input_children_item import AstAndOperatorNodeInputChildrenItem # noqa: E402, I001 +from .ast_equals_operator_node_input import AstEqualsOperatorNodeInput # noqa: E402, I001 from .ast_equals_operator_node_input_left import AstEqualsOperatorNodeInputLeft # noqa: E402, I001 from .ast_equals_operator_node_input_right import AstEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_greater_than_operator_node_input import AstGreaterThanOperatorNodeInput # noqa: E402, I001 from .ast_greater_than_operator_node_input_left import AstGreaterThanOperatorNodeInputLeft # noqa: E402, I001 from .ast_greater_than_operator_node_input_right import AstGreaterThanOperatorNodeInputRight # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_input import AstGreaterThanOrEqualsOperatorNodeInput # noqa: E402, I001 from .ast_greater_than_or_equals_operator_node_input_left import AstGreaterThanOrEqualsOperatorNodeInputLeft # noqa: E402, I001 from .ast_greater_than_or_equals_operator_node_input_right import AstGreaterThanOrEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_less_than_operator_node_input import AstLessThanOperatorNodeInput # noqa: E402, I001 from .ast_less_than_operator_node_input_left import AstLessThanOperatorNodeInputLeft # noqa: E402, I001 from .ast_less_than_operator_node_input_right import AstLessThanOperatorNodeInputRight # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_input import AstLessThanOrEqualsOperatorNodeInput # noqa: E402, I001 from .ast_less_than_or_equals_operator_node_input_left import AstLessThanOrEqualsOperatorNodeInputLeft # noqa: E402, I001 +from .ast_not_equals_operator_node_input import AstNotEqualsOperatorNodeInput # noqa: E402, I001 from .ast_not_equals_operator_node_input_left import AstNotEqualsOperatorNodeInputLeft # noqa: E402, I001 from .ast_not_equals_operator_node_input_right import AstNotEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_or_operator_node_input import AstOrOperatorNodeInput # noqa: E402, I001 from .ast_or_operator_node_input_children_item import AstOrOperatorNodeInputChildrenItem # noqa: E402, I001 - -update_forward_refs(AstLessThanOrEqualsOperatorNodeInputRight_AndOperator) -update_forward_refs(AstLessThanOrEqualsOperatorNodeInputRight_EqOperator) -update_forward_refs(AstLessThanOrEqualsOperatorNodeInputRight_GtOperator) -update_forward_refs(AstLessThanOrEqualsOperatorNodeInputRight_GteOperator) -update_forward_refs(AstLessThanOrEqualsOperatorNodeInputRight_LtOperator) -update_forward_refs(AstLessThanOrEqualsOperatorNodeInputRight_LteOperator) -update_forward_refs(AstLessThanOrEqualsOperatorNodeInputRight_NeqOperator) -update_forward_refs(AstLessThanOrEqualsOperatorNodeInputRight_OrOperator) +from .ast_and_operator_node_input import AstAndOperatorNodeInput # noqa: E402, I001 + +update_forward_refs( + AstLessThanOrEqualsOperatorNodeInputRight_AndOperator, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstLessThanOrEqualsOperatorNodeInputRight_EqOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstLessThanOrEqualsOperatorNodeInputRight_GtOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstLessThanOrEqualsOperatorNodeInputRight_GteOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstLessThanOrEqualsOperatorNodeInputRight_LtOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstLessThanOrEqualsOperatorNodeInputRight_LteOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstLessThanOrEqualsOperatorNodeInputRight_NeqOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstLessThanOrEqualsOperatorNodeInputRight_OrOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) diff --git a/src/elevenlabs/types/ast_less_than_or_equals_operator_node_output.py b/src/elevenlabs/types/ast_less_than_or_equals_operator_node_output.py index b771c6d6..66a593dd 100644 --- a/src/elevenlabs/types/ast_less_than_or_equals_operator_node_output.py +++ b/src/elevenlabs/types/ast_less_than_or_equals_operator_node_output.py @@ -30,7 +30,49 @@ class Config: extra = pydantic.Extra.allow +from .ast_and_operator_node_output import AstAndOperatorNodeOutput # noqa: E402, I001 +from .ast_and_operator_node_output_children_item import AstAndOperatorNodeOutputChildrenItem # noqa: E402, I001 +from .ast_equals_operator_node_output import AstEqualsOperatorNodeOutput # noqa: E402, I001 +from .ast_equals_operator_node_output_left import AstEqualsOperatorNodeOutputLeft # noqa: E402, I001 +from .ast_equals_operator_node_output_right import AstEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_greater_than_operator_node_output import AstGreaterThanOperatorNodeOutput # noqa: E402, I001 +from .ast_greater_than_operator_node_output_left import AstGreaterThanOperatorNodeOutputLeft # noqa: E402, I001 +from .ast_greater_than_operator_node_output_right import AstGreaterThanOperatorNodeOutputRight # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_output import AstGreaterThanOrEqualsOperatorNodeOutput # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_output_left import AstGreaterThanOrEqualsOperatorNodeOutputLeft # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_output_right import AstGreaterThanOrEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_less_than_operator_node_output import AstLessThanOperatorNodeOutput # noqa: E402, I001 +from .ast_less_than_operator_node_output_left import AstLessThanOperatorNodeOutputLeft # noqa: E402, I001 +from .ast_less_than_operator_node_output_right import AstLessThanOperatorNodeOutputRight # noqa: E402, I001 from .ast_less_than_or_equals_operator_node_output_left import AstLessThanOrEqualsOperatorNodeOutputLeft # noqa: E402, I001 from .ast_less_than_or_equals_operator_node_output_right import AstLessThanOrEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_not_equals_operator_node_output import AstNotEqualsOperatorNodeOutput # noqa: E402, I001 +from .ast_not_equals_operator_node_output_left import AstNotEqualsOperatorNodeOutputLeft # noqa: E402, I001 +from .ast_not_equals_operator_node_output_right import AstNotEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_or_operator_node_output import AstOrOperatorNodeOutput # noqa: E402, I001 +from .ast_or_operator_node_output_children_item import AstOrOperatorNodeOutputChildrenItem # noqa: E402, I001 -update_forward_refs(AstLessThanOrEqualsOperatorNodeOutput) +update_forward_refs( + AstLessThanOrEqualsOperatorNodeOutput, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) diff --git a/src/elevenlabs/types/ast_less_than_or_equals_operator_node_output_left.py b/src/elevenlabs/types/ast_less_than_or_equals_operator_node_output_left.py index f13bbc4f..642fb955 100644 --- a/src/elevenlabs/types/ast_less_than_or_equals_operator_node_output_left.py +++ b/src/elevenlabs/types/ast_less_than_or_equals_operator_node_output_left.py @@ -269,24 +269,216 @@ class Config: UnionMetadata(discriminant="type"), ] from .ast_and_operator_node_output_children_item import AstAndOperatorNodeOutputChildrenItem # noqa: E402, I001 +from .ast_equals_operator_node_output import AstEqualsOperatorNodeOutput # noqa: E402, I001 from .ast_equals_operator_node_output_left import AstEqualsOperatorNodeOutputLeft # noqa: E402, I001 from .ast_equals_operator_node_output_right import AstEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_greater_than_operator_node_output import AstGreaterThanOperatorNodeOutput # noqa: E402, I001 from .ast_greater_than_operator_node_output_left import AstGreaterThanOperatorNodeOutputLeft # noqa: E402, I001 from .ast_greater_than_operator_node_output_right import AstGreaterThanOperatorNodeOutputRight # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_output import AstGreaterThanOrEqualsOperatorNodeOutput # noqa: E402, I001 from .ast_greater_than_or_equals_operator_node_output_left import AstGreaterThanOrEqualsOperatorNodeOutputLeft # noqa: E402, I001 from .ast_greater_than_or_equals_operator_node_output_right import AstGreaterThanOrEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_less_than_operator_node_output import AstLessThanOperatorNodeOutput # noqa: E402, I001 from .ast_less_than_operator_node_output_left import AstLessThanOperatorNodeOutputLeft # noqa: E402, I001 from .ast_less_than_operator_node_output_right import AstLessThanOperatorNodeOutputRight # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_output import AstLessThanOrEqualsOperatorNodeOutput # noqa: E402, I001 from .ast_less_than_or_equals_operator_node_output_right import AstLessThanOrEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_not_equals_operator_node_output import AstNotEqualsOperatorNodeOutput # noqa: E402, I001 from .ast_not_equals_operator_node_output_left import AstNotEqualsOperatorNodeOutputLeft # noqa: E402, I001 from .ast_not_equals_operator_node_output_right import AstNotEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_or_operator_node_output import AstOrOperatorNodeOutput # noqa: E402, I001 from .ast_or_operator_node_output_children_item import AstOrOperatorNodeOutputChildrenItem # noqa: E402, I001 - -update_forward_refs(AstLessThanOrEqualsOperatorNodeOutputLeft_AndOperator) -update_forward_refs(AstLessThanOrEqualsOperatorNodeOutputLeft_EqOperator) -update_forward_refs(AstLessThanOrEqualsOperatorNodeOutputLeft_GtOperator) -update_forward_refs(AstLessThanOrEqualsOperatorNodeOutputLeft_GteOperator) -update_forward_refs(AstLessThanOrEqualsOperatorNodeOutputLeft_LtOperator) -update_forward_refs(AstLessThanOrEqualsOperatorNodeOutputLeft_LteOperator) -update_forward_refs(AstLessThanOrEqualsOperatorNodeOutputLeft_NeqOperator) -update_forward_refs(AstLessThanOrEqualsOperatorNodeOutputLeft_OrOperator) +from .ast_and_operator_node_output import AstAndOperatorNodeOutput # noqa: E402, I001 + +update_forward_refs( + AstLessThanOrEqualsOperatorNodeOutputLeft_AndOperator, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstLessThanOrEqualsOperatorNodeOutputLeft_EqOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstLessThanOrEqualsOperatorNodeOutputLeft_GtOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstLessThanOrEqualsOperatorNodeOutputLeft_GteOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstLessThanOrEqualsOperatorNodeOutputLeft_LtOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstLessThanOrEqualsOperatorNodeOutputLeft_LteOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstLessThanOrEqualsOperatorNodeOutputLeft_NeqOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstLessThanOrEqualsOperatorNodeOutputLeft_OrOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) diff --git a/src/elevenlabs/types/ast_less_than_or_equals_operator_node_output_right.py b/src/elevenlabs/types/ast_less_than_or_equals_operator_node_output_right.py index 861aa5dc..00bbc896 100644 --- a/src/elevenlabs/types/ast_less_than_or_equals_operator_node_output_right.py +++ b/src/elevenlabs/types/ast_less_than_or_equals_operator_node_output_right.py @@ -269,24 +269,216 @@ class Config: UnionMetadata(discriminant="type"), ] from .ast_and_operator_node_output_children_item import AstAndOperatorNodeOutputChildrenItem # noqa: E402, I001 +from .ast_equals_operator_node_output import AstEqualsOperatorNodeOutput # noqa: E402, I001 from .ast_equals_operator_node_output_left import AstEqualsOperatorNodeOutputLeft # noqa: E402, I001 from .ast_equals_operator_node_output_right import AstEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_greater_than_operator_node_output import AstGreaterThanOperatorNodeOutput # noqa: E402, I001 from .ast_greater_than_operator_node_output_left import AstGreaterThanOperatorNodeOutputLeft # noqa: E402, I001 from .ast_greater_than_operator_node_output_right import AstGreaterThanOperatorNodeOutputRight # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_output import AstGreaterThanOrEqualsOperatorNodeOutput # noqa: E402, I001 from .ast_greater_than_or_equals_operator_node_output_left import AstGreaterThanOrEqualsOperatorNodeOutputLeft # noqa: E402, I001 from .ast_greater_than_or_equals_operator_node_output_right import AstGreaterThanOrEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_less_than_operator_node_output import AstLessThanOperatorNodeOutput # noqa: E402, I001 from .ast_less_than_operator_node_output_left import AstLessThanOperatorNodeOutputLeft # noqa: E402, I001 from .ast_less_than_operator_node_output_right import AstLessThanOperatorNodeOutputRight # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_output import AstLessThanOrEqualsOperatorNodeOutput # noqa: E402, I001 from .ast_less_than_or_equals_operator_node_output_left import AstLessThanOrEqualsOperatorNodeOutputLeft # noqa: E402, I001 +from .ast_not_equals_operator_node_output import AstNotEqualsOperatorNodeOutput # noqa: E402, I001 from .ast_not_equals_operator_node_output_left import AstNotEqualsOperatorNodeOutputLeft # noqa: E402, I001 from .ast_not_equals_operator_node_output_right import AstNotEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_or_operator_node_output import AstOrOperatorNodeOutput # noqa: E402, I001 from .ast_or_operator_node_output_children_item import AstOrOperatorNodeOutputChildrenItem # noqa: E402, I001 - -update_forward_refs(AstLessThanOrEqualsOperatorNodeOutputRight_AndOperator) -update_forward_refs(AstLessThanOrEqualsOperatorNodeOutputRight_EqOperator) -update_forward_refs(AstLessThanOrEqualsOperatorNodeOutputRight_GtOperator) -update_forward_refs(AstLessThanOrEqualsOperatorNodeOutputRight_GteOperator) -update_forward_refs(AstLessThanOrEqualsOperatorNodeOutputRight_LtOperator) -update_forward_refs(AstLessThanOrEqualsOperatorNodeOutputRight_LteOperator) -update_forward_refs(AstLessThanOrEqualsOperatorNodeOutputRight_NeqOperator) -update_forward_refs(AstLessThanOrEqualsOperatorNodeOutputRight_OrOperator) +from .ast_and_operator_node_output import AstAndOperatorNodeOutput # noqa: E402, I001 + +update_forward_refs( + AstLessThanOrEqualsOperatorNodeOutputRight_AndOperator, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstLessThanOrEqualsOperatorNodeOutputRight_EqOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstLessThanOrEqualsOperatorNodeOutputRight_GtOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstLessThanOrEqualsOperatorNodeOutputRight_GteOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstLessThanOrEqualsOperatorNodeOutputRight_LtOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstLessThanOrEqualsOperatorNodeOutputRight_LteOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstLessThanOrEqualsOperatorNodeOutputRight_NeqOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstLessThanOrEqualsOperatorNodeOutputRight_OrOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) diff --git a/src/elevenlabs/types/ast_not_equals_operator_node_input.py b/src/elevenlabs/types/ast_not_equals_operator_node_input.py index e30ff14d..db67df3a 100644 --- a/src/elevenlabs/types/ast_not_equals_operator_node_input.py +++ b/src/elevenlabs/types/ast_not_equals_operator_node_input.py @@ -30,7 +30,49 @@ class Config: extra = pydantic.Extra.allow +from .ast_and_operator_node_input import AstAndOperatorNodeInput # noqa: E402, I001 +from .ast_and_operator_node_input_children_item import AstAndOperatorNodeInputChildrenItem # noqa: E402, I001 +from .ast_equals_operator_node_input import AstEqualsOperatorNodeInput # noqa: E402, I001 +from .ast_equals_operator_node_input_left import AstEqualsOperatorNodeInputLeft # noqa: E402, I001 +from .ast_equals_operator_node_input_right import AstEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_greater_than_operator_node_input import AstGreaterThanOperatorNodeInput # noqa: E402, I001 +from .ast_greater_than_operator_node_input_left import AstGreaterThanOperatorNodeInputLeft # noqa: E402, I001 +from .ast_greater_than_operator_node_input_right import AstGreaterThanOperatorNodeInputRight # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_input import AstGreaterThanOrEqualsOperatorNodeInput # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_input_left import AstGreaterThanOrEqualsOperatorNodeInputLeft # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_input_right import AstGreaterThanOrEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_less_than_operator_node_input import AstLessThanOperatorNodeInput # noqa: E402, I001 +from .ast_less_than_operator_node_input_left import AstLessThanOperatorNodeInputLeft # noqa: E402, I001 +from .ast_less_than_operator_node_input_right import AstLessThanOperatorNodeInputRight # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_input import AstLessThanOrEqualsOperatorNodeInput # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_input_left import AstLessThanOrEqualsOperatorNodeInputLeft # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_input_right import AstLessThanOrEqualsOperatorNodeInputRight # noqa: E402, I001 from .ast_not_equals_operator_node_input_left import AstNotEqualsOperatorNodeInputLeft # noqa: E402, I001 from .ast_not_equals_operator_node_input_right import AstNotEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_or_operator_node_input import AstOrOperatorNodeInput # noqa: E402, I001 +from .ast_or_operator_node_input_children_item import AstOrOperatorNodeInputChildrenItem # noqa: E402, I001 -update_forward_refs(AstNotEqualsOperatorNodeInput) +update_forward_refs( + AstNotEqualsOperatorNodeInput, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) diff --git a/src/elevenlabs/types/ast_not_equals_operator_node_input_left.py b/src/elevenlabs/types/ast_not_equals_operator_node_input_left.py index 62d1bcfa..fda7131e 100644 --- a/src/elevenlabs/types/ast_not_equals_operator_node_input_left.py +++ b/src/elevenlabs/types/ast_not_equals_operator_node_input_left.py @@ -269,24 +269,216 @@ class Config: UnionMetadata(discriminant="type"), ] from .ast_and_operator_node_input_children_item import AstAndOperatorNodeInputChildrenItem # noqa: E402, I001 +from .ast_equals_operator_node_input import AstEqualsOperatorNodeInput # noqa: E402, I001 from .ast_equals_operator_node_input_left import AstEqualsOperatorNodeInputLeft # noqa: E402, I001 from .ast_equals_operator_node_input_right import AstEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_greater_than_operator_node_input import AstGreaterThanOperatorNodeInput # noqa: E402, I001 from .ast_greater_than_operator_node_input_left import AstGreaterThanOperatorNodeInputLeft # noqa: E402, I001 from .ast_greater_than_operator_node_input_right import AstGreaterThanOperatorNodeInputRight # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_input import AstGreaterThanOrEqualsOperatorNodeInput # noqa: E402, I001 from .ast_greater_than_or_equals_operator_node_input_left import AstGreaterThanOrEqualsOperatorNodeInputLeft # noqa: E402, I001 from .ast_greater_than_or_equals_operator_node_input_right import AstGreaterThanOrEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_less_than_operator_node_input import AstLessThanOperatorNodeInput # noqa: E402, I001 from .ast_less_than_operator_node_input_left import AstLessThanOperatorNodeInputLeft # noqa: E402, I001 from .ast_less_than_operator_node_input_right import AstLessThanOperatorNodeInputRight # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_input import AstLessThanOrEqualsOperatorNodeInput # noqa: E402, I001 from .ast_less_than_or_equals_operator_node_input_left import AstLessThanOrEqualsOperatorNodeInputLeft # noqa: E402, I001 from .ast_less_than_or_equals_operator_node_input_right import AstLessThanOrEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_not_equals_operator_node_input import AstNotEqualsOperatorNodeInput # noqa: E402, I001 from .ast_not_equals_operator_node_input_right import AstNotEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_or_operator_node_input import AstOrOperatorNodeInput # noqa: E402, I001 from .ast_or_operator_node_input_children_item import AstOrOperatorNodeInputChildrenItem # noqa: E402, I001 - -update_forward_refs(AstNotEqualsOperatorNodeInputLeft_AndOperator) -update_forward_refs(AstNotEqualsOperatorNodeInputLeft_EqOperator) -update_forward_refs(AstNotEqualsOperatorNodeInputLeft_GtOperator) -update_forward_refs(AstNotEqualsOperatorNodeInputLeft_GteOperator) -update_forward_refs(AstNotEqualsOperatorNodeInputLeft_LtOperator) -update_forward_refs(AstNotEqualsOperatorNodeInputLeft_LteOperator) -update_forward_refs(AstNotEqualsOperatorNodeInputLeft_NeqOperator) -update_forward_refs(AstNotEqualsOperatorNodeInputLeft_OrOperator) +from .ast_and_operator_node_input import AstAndOperatorNodeInput # noqa: E402, I001 + +update_forward_refs( + AstNotEqualsOperatorNodeInputLeft_AndOperator, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstNotEqualsOperatorNodeInputLeft_EqOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstNotEqualsOperatorNodeInputLeft_GtOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstNotEqualsOperatorNodeInputLeft_GteOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstNotEqualsOperatorNodeInputLeft_LtOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstNotEqualsOperatorNodeInputLeft_LteOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstNotEqualsOperatorNodeInputLeft_NeqOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstNotEqualsOperatorNodeInputLeft_OrOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) diff --git a/src/elevenlabs/types/ast_not_equals_operator_node_input_right.py b/src/elevenlabs/types/ast_not_equals_operator_node_input_right.py index 42b081e4..302eb7cf 100644 --- a/src/elevenlabs/types/ast_not_equals_operator_node_input_right.py +++ b/src/elevenlabs/types/ast_not_equals_operator_node_input_right.py @@ -269,24 +269,216 @@ class Config: UnionMetadata(discriminant="type"), ] from .ast_and_operator_node_input_children_item import AstAndOperatorNodeInputChildrenItem # noqa: E402, I001 +from .ast_equals_operator_node_input import AstEqualsOperatorNodeInput # noqa: E402, I001 from .ast_equals_operator_node_input_left import AstEqualsOperatorNodeInputLeft # noqa: E402, I001 from .ast_equals_operator_node_input_right import AstEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_greater_than_operator_node_input import AstGreaterThanOperatorNodeInput # noqa: E402, I001 from .ast_greater_than_operator_node_input_left import AstGreaterThanOperatorNodeInputLeft # noqa: E402, I001 from .ast_greater_than_operator_node_input_right import AstGreaterThanOperatorNodeInputRight # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_input import AstGreaterThanOrEqualsOperatorNodeInput # noqa: E402, I001 from .ast_greater_than_or_equals_operator_node_input_left import AstGreaterThanOrEqualsOperatorNodeInputLeft # noqa: E402, I001 from .ast_greater_than_or_equals_operator_node_input_right import AstGreaterThanOrEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_less_than_operator_node_input import AstLessThanOperatorNodeInput # noqa: E402, I001 from .ast_less_than_operator_node_input_left import AstLessThanOperatorNodeInputLeft # noqa: E402, I001 from .ast_less_than_operator_node_input_right import AstLessThanOperatorNodeInputRight # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_input import AstLessThanOrEqualsOperatorNodeInput # noqa: E402, I001 from .ast_less_than_or_equals_operator_node_input_left import AstLessThanOrEqualsOperatorNodeInputLeft # noqa: E402, I001 from .ast_less_than_or_equals_operator_node_input_right import AstLessThanOrEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_not_equals_operator_node_input import AstNotEqualsOperatorNodeInput # noqa: E402, I001 from .ast_not_equals_operator_node_input_left import AstNotEqualsOperatorNodeInputLeft # noqa: E402, I001 +from .ast_or_operator_node_input import AstOrOperatorNodeInput # noqa: E402, I001 from .ast_or_operator_node_input_children_item import AstOrOperatorNodeInputChildrenItem # noqa: E402, I001 - -update_forward_refs(AstNotEqualsOperatorNodeInputRight_AndOperator) -update_forward_refs(AstNotEqualsOperatorNodeInputRight_EqOperator) -update_forward_refs(AstNotEqualsOperatorNodeInputRight_GtOperator) -update_forward_refs(AstNotEqualsOperatorNodeInputRight_GteOperator) -update_forward_refs(AstNotEqualsOperatorNodeInputRight_LtOperator) -update_forward_refs(AstNotEqualsOperatorNodeInputRight_LteOperator) -update_forward_refs(AstNotEqualsOperatorNodeInputRight_NeqOperator) -update_forward_refs(AstNotEqualsOperatorNodeInputRight_OrOperator) +from .ast_and_operator_node_input import AstAndOperatorNodeInput # noqa: E402, I001 + +update_forward_refs( + AstNotEqualsOperatorNodeInputRight_AndOperator, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstNotEqualsOperatorNodeInputRight_EqOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstNotEqualsOperatorNodeInputRight_GtOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstNotEqualsOperatorNodeInputRight_GteOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstNotEqualsOperatorNodeInputRight_LtOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstNotEqualsOperatorNodeInputRight_LteOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstNotEqualsOperatorNodeInputRight_NeqOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstNotEqualsOperatorNodeInputRight_OrOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) diff --git a/src/elevenlabs/types/ast_not_equals_operator_node_output.py b/src/elevenlabs/types/ast_not_equals_operator_node_output.py index 539c5106..3671d873 100644 --- a/src/elevenlabs/types/ast_not_equals_operator_node_output.py +++ b/src/elevenlabs/types/ast_not_equals_operator_node_output.py @@ -30,7 +30,49 @@ class Config: extra = pydantic.Extra.allow +from .ast_and_operator_node_output import AstAndOperatorNodeOutput # noqa: E402, I001 +from .ast_and_operator_node_output_children_item import AstAndOperatorNodeOutputChildrenItem # noqa: E402, I001 +from .ast_equals_operator_node_output import AstEqualsOperatorNodeOutput # noqa: E402, I001 +from .ast_equals_operator_node_output_left import AstEqualsOperatorNodeOutputLeft # noqa: E402, I001 +from .ast_equals_operator_node_output_right import AstEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_greater_than_operator_node_output import AstGreaterThanOperatorNodeOutput # noqa: E402, I001 +from .ast_greater_than_operator_node_output_left import AstGreaterThanOperatorNodeOutputLeft # noqa: E402, I001 +from .ast_greater_than_operator_node_output_right import AstGreaterThanOperatorNodeOutputRight # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_output import AstGreaterThanOrEqualsOperatorNodeOutput # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_output_left import AstGreaterThanOrEqualsOperatorNodeOutputLeft # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_output_right import AstGreaterThanOrEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_less_than_operator_node_output import AstLessThanOperatorNodeOutput # noqa: E402, I001 +from .ast_less_than_operator_node_output_left import AstLessThanOperatorNodeOutputLeft # noqa: E402, I001 +from .ast_less_than_operator_node_output_right import AstLessThanOperatorNodeOutputRight # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_output import AstLessThanOrEqualsOperatorNodeOutput # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_output_left import AstLessThanOrEqualsOperatorNodeOutputLeft # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_output_right import AstLessThanOrEqualsOperatorNodeOutputRight # noqa: E402, I001 from .ast_not_equals_operator_node_output_left import AstNotEqualsOperatorNodeOutputLeft # noqa: E402, I001 from .ast_not_equals_operator_node_output_right import AstNotEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_or_operator_node_output import AstOrOperatorNodeOutput # noqa: E402, I001 +from .ast_or_operator_node_output_children_item import AstOrOperatorNodeOutputChildrenItem # noqa: E402, I001 -update_forward_refs(AstNotEqualsOperatorNodeOutput) +update_forward_refs( + AstNotEqualsOperatorNodeOutput, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) diff --git a/src/elevenlabs/types/ast_not_equals_operator_node_output_left.py b/src/elevenlabs/types/ast_not_equals_operator_node_output_left.py index fb524fb2..eb230a03 100644 --- a/src/elevenlabs/types/ast_not_equals_operator_node_output_left.py +++ b/src/elevenlabs/types/ast_not_equals_operator_node_output_left.py @@ -269,24 +269,216 @@ class Config: UnionMetadata(discriminant="type"), ] from .ast_and_operator_node_output_children_item import AstAndOperatorNodeOutputChildrenItem # noqa: E402, I001 +from .ast_equals_operator_node_output import AstEqualsOperatorNodeOutput # noqa: E402, I001 from .ast_equals_operator_node_output_left import AstEqualsOperatorNodeOutputLeft # noqa: E402, I001 from .ast_equals_operator_node_output_right import AstEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_greater_than_operator_node_output import AstGreaterThanOperatorNodeOutput # noqa: E402, I001 from .ast_greater_than_operator_node_output_left import AstGreaterThanOperatorNodeOutputLeft # noqa: E402, I001 from .ast_greater_than_operator_node_output_right import AstGreaterThanOperatorNodeOutputRight # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_output import AstGreaterThanOrEqualsOperatorNodeOutput # noqa: E402, I001 from .ast_greater_than_or_equals_operator_node_output_left import AstGreaterThanOrEqualsOperatorNodeOutputLeft # noqa: E402, I001 from .ast_greater_than_or_equals_operator_node_output_right import AstGreaterThanOrEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_less_than_operator_node_output import AstLessThanOperatorNodeOutput # noqa: E402, I001 from .ast_less_than_operator_node_output_left import AstLessThanOperatorNodeOutputLeft # noqa: E402, I001 from .ast_less_than_operator_node_output_right import AstLessThanOperatorNodeOutputRight # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_output import AstLessThanOrEqualsOperatorNodeOutput # noqa: E402, I001 from .ast_less_than_or_equals_operator_node_output_left import AstLessThanOrEqualsOperatorNodeOutputLeft # noqa: E402, I001 from .ast_less_than_or_equals_operator_node_output_right import AstLessThanOrEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_not_equals_operator_node_output import AstNotEqualsOperatorNodeOutput # noqa: E402, I001 from .ast_not_equals_operator_node_output_right import AstNotEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_or_operator_node_output import AstOrOperatorNodeOutput # noqa: E402, I001 from .ast_or_operator_node_output_children_item import AstOrOperatorNodeOutputChildrenItem # noqa: E402, I001 - -update_forward_refs(AstNotEqualsOperatorNodeOutputLeft_AndOperator) -update_forward_refs(AstNotEqualsOperatorNodeOutputLeft_EqOperator) -update_forward_refs(AstNotEqualsOperatorNodeOutputLeft_GtOperator) -update_forward_refs(AstNotEqualsOperatorNodeOutputLeft_GteOperator) -update_forward_refs(AstNotEqualsOperatorNodeOutputLeft_LtOperator) -update_forward_refs(AstNotEqualsOperatorNodeOutputLeft_LteOperator) -update_forward_refs(AstNotEqualsOperatorNodeOutputLeft_NeqOperator) -update_forward_refs(AstNotEqualsOperatorNodeOutputLeft_OrOperator) +from .ast_and_operator_node_output import AstAndOperatorNodeOutput # noqa: E402, I001 + +update_forward_refs( + AstNotEqualsOperatorNodeOutputLeft_AndOperator, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstNotEqualsOperatorNodeOutputLeft_EqOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstNotEqualsOperatorNodeOutputLeft_GtOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstNotEqualsOperatorNodeOutputLeft_GteOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstNotEqualsOperatorNodeOutputLeft_LtOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstNotEqualsOperatorNodeOutputLeft_LteOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstNotEqualsOperatorNodeOutputLeft_NeqOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstNotEqualsOperatorNodeOutputLeft_OrOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) diff --git a/src/elevenlabs/types/ast_not_equals_operator_node_output_right.py b/src/elevenlabs/types/ast_not_equals_operator_node_output_right.py index e12aabbc..a583dcf8 100644 --- a/src/elevenlabs/types/ast_not_equals_operator_node_output_right.py +++ b/src/elevenlabs/types/ast_not_equals_operator_node_output_right.py @@ -269,24 +269,216 @@ class Config: UnionMetadata(discriminant="type"), ] from .ast_and_operator_node_output_children_item import AstAndOperatorNodeOutputChildrenItem # noqa: E402, I001 +from .ast_equals_operator_node_output import AstEqualsOperatorNodeOutput # noqa: E402, I001 from .ast_equals_operator_node_output_left import AstEqualsOperatorNodeOutputLeft # noqa: E402, I001 from .ast_equals_operator_node_output_right import AstEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_greater_than_operator_node_output import AstGreaterThanOperatorNodeOutput # noqa: E402, I001 from .ast_greater_than_operator_node_output_left import AstGreaterThanOperatorNodeOutputLeft # noqa: E402, I001 from .ast_greater_than_operator_node_output_right import AstGreaterThanOperatorNodeOutputRight # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_output import AstGreaterThanOrEqualsOperatorNodeOutput # noqa: E402, I001 from .ast_greater_than_or_equals_operator_node_output_left import AstGreaterThanOrEqualsOperatorNodeOutputLeft # noqa: E402, I001 from .ast_greater_than_or_equals_operator_node_output_right import AstGreaterThanOrEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_less_than_operator_node_output import AstLessThanOperatorNodeOutput # noqa: E402, I001 from .ast_less_than_operator_node_output_left import AstLessThanOperatorNodeOutputLeft # noqa: E402, I001 from .ast_less_than_operator_node_output_right import AstLessThanOperatorNodeOutputRight # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_output import AstLessThanOrEqualsOperatorNodeOutput # noqa: E402, I001 from .ast_less_than_or_equals_operator_node_output_left import AstLessThanOrEqualsOperatorNodeOutputLeft # noqa: E402, I001 from .ast_less_than_or_equals_operator_node_output_right import AstLessThanOrEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_not_equals_operator_node_output import AstNotEqualsOperatorNodeOutput # noqa: E402, I001 from .ast_not_equals_operator_node_output_left import AstNotEqualsOperatorNodeOutputLeft # noqa: E402, I001 +from .ast_or_operator_node_output import AstOrOperatorNodeOutput # noqa: E402, I001 from .ast_or_operator_node_output_children_item import AstOrOperatorNodeOutputChildrenItem # noqa: E402, I001 - -update_forward_refs(AstNotEqualsOperatorNodeOutputRight_AndOperator) -update_forward_refs(AstNotEqualsOperatorNodeOutputRight_EqOperator) -update_forward_refs(AstNotEqualsOperatorNodeOutputRight_GtOperator) -update_forward_refs(AstNotEqualsOperatorNodeOutputRight_GteOperator) -update_forward_refs(AstNotEqualsOperatorNodeOutputRight_LtOperator) -update_forward_refs(AstNotEqualsOperatorNodeOutputRight_LteOperator) -update_forward_refs(AstNotEqualsOperatorNodeOutputRight_NeqOperator) -update_forward_refs(AstNotEqualsOperatorNodeOutputRight_OrOperator) +from .ast_and_operator_node_output import AstAndOperatorNodeOutput # noqa: E402, I001 + +update_forward_refs( + AstNotEqualsOperatorNodeOutputRight_AndOperator, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstNotEqualsOperatorNodeOutputRight_EqOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstNotEqualsOperatorNodeOutputRight_GtOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstNotEqualsOperatorNodeOutputRight_GteOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstNotEqualsOperatorNodeOutputRight_LtOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstNotEqualsOperatorNodeOutputRight_LteOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstNotEqualsOperatorNodeOutputRight_NeqOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstNotEqualsOperatorNodeOutputRight_OrOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) diff --git a/src/elevenlabs/types/ast_or_operator_node_input.py b/src/elevenlabs/types/ast_or_operator_node_input.py index 0b44b921..daa95c4c 100644 --- a/src/elevenlabs/types/ast_or_operator_node_input.py +++ b/src/elevenlabs/types/ast_or_operator_node_input.py @@ -25,6 +25,49 @@ class Config: extra = pydantic.Extra.allow +from .ast_and_operator_node_input import AstAndOperatorNodeInput # noqa: E402, I001 +from .ast_and_operator_node_input_children_item import AstAndOperatorNodeInputChildrenItem # noqa: E402, I001 +from .ast_equals_operator_node_input import AstEqualsOperatorNodeInput # noqa: E402, I001 +from .ast_equals_operator_node_input_left import AstEqualsOperatorNodeInputLeft # noqa: E402, I001 +from .ast_equals_operator_node_input_right import AstEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_greater_than_operator_node_input import AstGreaterThanOperatorNodeInput # noqa: E402, I001 +from .ast_greater_than_operator_node_input_left import AstGreaterThanOperatorNodeInputLeft # noqa: E402, I001 +from .ast_greater_than_operator_node_input_right import AstGreaterThanOperatorNodeInputRight # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_input import AstGreaterThanOrEqualsOperatorNodeInput # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_input_left import AstGreaterThanOrEqualsOperatorNodeInputLeft # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_input_right import AstGreaterThanOrEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_less_than_operator_node_input import AstLessThanOperatorNodeInput # noqa: E402, I001 +from .ast_less_than_operator_node_input_left import AstLessThanOperatorNodeInputLeft # noqa: E402, I001 +from .ast_less_than_operator_node_input_right import AstLessThanOperatorNodeInputRight # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_input import AstLessThanOrEqualsOperatorNodeInput # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_input_left import AstLessThanOrEqualsOperatorNodeInputLeft # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_input_right import AstLessThanOrEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_not_equals_operator_node_input import AstNotEqualsOperatorNodeInput # noqa: E402, I001 +from .ast_not_equals_operator_node_input_left import AstNotEqualsOperatorNodeInputLeft # noqa: E402, I001 +from .ast_not_equals_operator_node_input_right import AstNotEqualsOperatorNodeInputRight # noqa: E402, I001 from .ast_or_operator_node_input_children_item import AstOrOperatorNodeInputChildrenItem # noqa: E402, I001 -update_forward_refs(AstOrOperatorNodeInput) +update_forward_refs( + AstOrOperatorNodeInput, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) diff --git a/src/elevenlabs/types/ast_or_operator_node_input_children_item.py b/src/elevenlabs/types/ast_or_operator_node_input_children_item.py index 6f4ae425..c9eea7b2 100644 --- a/src/elevenlabs/types/ast_or_operator_node_input_children_item.py +++ b/src/elevenlabs/types/ast_or_operator_node_input_children_item.py @@ -217,24 +217,216 @@ class Config: UnionMetadata(discriminant="type"), ] from .ast_and_operator_node_input_children_item import AstAndOperatorNodeInputChildrenItem # noqa: E402, I001 +from .ast_equals_operator_node_input import AstEqualsOperatorNodeInput # noqa: E402, I001 from .ast_equals_operator_node_input_left import AstEqualsOperatorNodeInputLeft # noqa: E402, I001 from .ast_equals_operator_node_input_right import AstEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_greater_than_operator_node_input import AstGreaterThanOperatorNodeInput # noqa: E402, I001 from .ast_greater_than_operator_node_input_left import AstGreaterThanOperatorNodeInputLeft # noqa: E402, I001 from .ast_greater_than_operator_node_input_right import AstGreaterThanOperatorNodeInputRight # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_input import AstGreaterThanOrEqualsOperatorNodeInput # noqa: E402, I001 from .ast_greater_than_or_equals_operator_node_input_left import AstGreaterThanOrEqualsOperatorNodeInputLeft # noqa: E402, I001 from .ast_greater_than_or_equals_operator_node_input_right import AstGreaterThanOrEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_less_than_operator_node_input import AstLessThanOperatorNodeInput # noqa: E402, I001 from .ast_less_than_operator_node_input_left import AstLessThanOperatorNodeInputLeft # noqa: E402, I001 from .ast_less_than_operator_node_input_right import AstLessThanOperatorNodeInputRight # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_input import AstLessThanOrEqualsOperatorNodeInput # noqa: E402, I001 from .ast_less_than_or_equals_operator_node_input_left import AstLessThanOrEqualsOperatorNodeInputLeft # noqa: E402, I001 from .ast_less_than_or_equals_operator_node_input_right import AstLessThanOrEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_not_equals_operator_node_input import AstNotEqualsOperatorNodeInput # noqa: E402, I001 from .ast_not_equals_operator_node_input_left import AstNotEqualsOperatorNodeInputLeft # noqa: E402, I001 from .ast_not_equals_operator_node_input_right import AstNotEqualsOperatorNodeInputRight # noqa: E402, I001 - -update_forward_refs(AstOrOperatorNodeInputChildrenItem_AndOperator) -update_forward_refs(AstOrOperatorNodeInputChildrenItem_EqOperator) -update_forward_refs(AstOrOperatorNodeInputChildrenItem_GtOperator) -update_forward_refs(AstOrOperatorNodeInputChildrenItem_GteOperator) -update_forward_refs(AstOrOperatorNodeInputChildrenItem_LtOperator) -update_forward_refs(AstOrOperatorNodeInputChildrenItem_LteOperator) -update_forward_refs(AstOrOperatorNodeInputChildrenItem_NeqOperator) -update_forward_refs(AstOrOperatorNodeInputChildrenItem_OrOperator) +from .ast_or_operator_node_input import AstOrOperatorNodeInput # noqa: E402, I001 +from .ast_and_operator_node_input import AstAndOperatorNodeInput # noqa: E402, I001 + +update_forward_refs( + AstOrOperatorNodeInputChildrenItem_AndOperator, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstOrOperatorNodeInputChildrenItem_EqOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstOrOperatorNodeInputChildrenItem_GtOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstOrOperatorNodeInputChildrenItem_GteOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstOrOperatorNodeInputChildrenItem_LtOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstOrOperatorNodeInputChildrenItem_LteOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstOrOperatorNodeInputChildrenItem_NeqOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + AstOrOperatorNodeInputChildrenItem_OrOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) diff --git a/src/elevenlabs/types/ast_or_operator_node_output.py b/src/elevenlabs/types/ast_or_operator_node_output.py index 086372b2..86d3fba9 100644 --- a/src/elevenlabs/types/ast_or_operator_node_output.py +++ b/src/elevenlabs/types/ast_or_operator_node_output.py @@ -25,6 +25,49 @@ class Config: extra = pydantic.Extra.allow +from .ast_and_operator_node_output import AstAndOperatorNodeOutput # noqa: E402, I001 +from .ast_and_operator_node_output_children_item import AstAndOperatorNodeOutputChildrenItem # noqa: E402, I001 +from .ast_equals_operator_node_output import AstEqualsOperatorNodeOutput # noqa: E402, I001 +from .ast_equals_operator_node_output_left import AstEqualsOperatorNodeOutputLeft # noqa: E402, I001 +from .ast_equals_operator_node_output_right import AstEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_greater_than_operator_node_output import AstGreaterThanOperatorNodeOutput # noqa: E402, I001 +from .ast_greater_than_operator_node_output_left import AstGreaterThanOperatorNodeOutputLeft # noqa: E402, I001 +from .ast_greater_than_operator_node_output_right import AstGreaterThanOperatorNodeOutputRight # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_output import AstGreaterThanOrEqualsOperatorNodeOutput # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_output_left import AstGreaterThanOrEqualsOperatorNodeOutputLeft # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_output_right import AstGreaterThanOrEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_less_than_operator_node_output import AstLessThanOperatorNodeOutput # noqa: E402, I001 +from .ast_less_than_operator_node_output_left import AstLessThanOperatorNodeOutputLeft # noqa: E402, I001 +from .ast_less_than_operator_node_output_right import AstLessThanOperatorNodeOutputRight # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_output import AstLessThanOrEqualsOperatorNodeOutput # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_output_left import AstLessThanOrEqualsOperatorNodeOutputLeft # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_output_right import AstLessThanOrEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_not_equals_operator_node_output import AstNotEqualsOperatorNodeOutput # noqa: E402, I001 +from .ast_not_equals_operator_node_output_left import AstNotEqualsOperatorNodeOutputLeft # noqa: E402, I001 +from .ast_not_equals_operator_node_output_right import AstNotEqualsOperatorNodeOutputRight # noqa: E402, I001 from .ast_or_operator_node_output_children_item import AstOrOperatorNodeOutputChildrenItem # noqa: E402, I001 -update_forward_refs(AstOrOperatorNodeOutput) +update_forward_refs( + AstOrOperatorNodeOutput, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) diff --git a/src/elevenlabs/types/ast_or_operator_node_output_children_item.py b/src/elevenlabs/types/ast_or_operator_node_output_children_item.py index 6d2d4a67..e7d24cc6 100644 --- a/src/elevenlabs/types/ast_or_operator_node_output_children_item.py +++ b/src/elevenlabs/types/ast_or_operator_node_output_children_item.py @@ -217,24 +217,216 @@ class Config: UnionMetadata(discriminant="type"), ] from .ast_and_operator_node_output_children_item import AstAndOperatorNodeOutputChildrenItem # noqa: E402, I001 +from .ast_equals_operator_node_output import AstEqualsOperatorNodeOutput # noqa: E402, I001 from .ast_equals_operator_node_output_left import AstEqualsOperatorNodeOutputLeft # noqa: E402, I001 from .ast_equals_operator_node_output_right import AstEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_greater_than_operator_node_output import AstGreaterThanOperatorNodeOutput # noqa: E402, I001 from .ast_greater_than_operator_node_output_left import AstGreaterThanOperatorNodeOutputLeft # noqa: E402, I001 from .ast_greater_than_operator_node_output_right import AstGreaterThanOperatorNodeOutputRight # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_output import AstGreaterThanOrEqualsOperatorNodeOutput # noqa: E402, I001 from .ast_greater_than_or_equals_operator_node_output_left import AstGreaterThanOrEqualsOperatorNodeOutputLeft # noqa: E402, I001 from .ast_greater_than_or_equals_operator_node_output_right import AstGreaterThanOrEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_less_than_operator_node_output import AstLessThanOperatorNodeOutput # noqa: E402, I001 from .ast_less_than_operator_node_output_left import AstLessThanOperatorNodeOutputLeft # noqa: E402, I001 from .ast_less_than_operator_node_output_right import AstLessThanOperatorNodeOutputRight # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_output import AstLessThanOrEqualsOperatorNodeOutput # noqa: E402, I001 from .ast_less_than_or_equals_operator_node_output_left import AstLessThanOrEqualsOperatorNodeOutputLeft # noqa: E402, I001 from .ast_less_than_or_equals_operator_node_output_right import AstLessThanOrEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_not_equals_operator_node_output import AstNotEqualsOperatorNodeOutput # noqa: E402, I001 from .ast_not_equals_operator_node_output_left import AstNotEqualsOperatorNodeOutputLeft # noqa: E402, I001 from .ast_not_equals_operator_node_output_right import AstNotEqualsOperatorNodeOutputRight # noqa: E402, I001 - -update_forward_refs(AstOrOperatorNodeOutputChildrenItem_AndOperator) -update_forward_refs(AstOrOperatorNodeOutputChildrenItem_EqOperator) -update_forward_refs(AstOrOperatorNodeOutputChildrenItem_GtOperator) -update_forward_refs(AstOrOperatorNodeOutputChildrenItem_GteOperator) -update_forward_refs(AstOrOperatorNodeOutputChildrenItem_LtOperator) -update_forward_refs(AstOrOperatorNodeOutputChildrenItem_LteOperator) -update_forward_refs(AstOrOperatorNodeOutputChildrenItem_NeqOperator) -update_forward_refs(AstOrOperatorNodeOutputChildrenItem_OrOperator) +from .ast_or_operator_node_output import AstOrOperatorNodeOutput # noqa: E402, I001 +from .ast_and_operator_node_output import AstAndOperatorNodeOutput # noqa: E402, I001 + +update_forward_refs( + AstOrOperatorNodeOutputChildrenItem_AndOperator, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstOrOperatorNodeOutputChildrenItem_EqOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstOrOperatorNodeOutputChildrenItem_GtOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstOrOperatorNodeOutputChildrenItem_GteOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstOrOperatorNodeOutputChildrenItem_LtOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstOrOperatorNodeOutputChildrenItem_LteOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstOrOperatorNodeOutputChildrenItem_NeqOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + AstOrOperatorNodeOutputChildrenItem_OrOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) diff --git a/src/elevenlabs/types/audio_output.py b/src/elevenlabs/types/audio_output.py index 0e2feb87..937bfbbd 100644 --- a/src/elevenlabs/types/audio_output.py +++ b/src/elevenlabs/types/audio_output.py @@ -19,7 +19,9 @@ class AudioOutput(UncheckedBaseModel): """ normalized_alignment: typing_extensions.Annotated[ - typing.Optional[NormalizedAlignment], FieldMetadata(alias="normalizedAlignment") + typing.Optional[NormalizedAlignment], + FieldMetadata(alias="normalizedAlignment"), + pydantic.Field(alias="normalizedAlignment"), ] = None alignment: typing.Optional[Alignment] = None diff --git a/src/elevenlabs/types/audio_output_multi.py b/src/elevenlabs/types/audio_output_multi.py index 36f592aa..7d201687 100644 --- a/src/elevenlabs/types/audio_output_multi.py +++ b/src/elevenlabs/types/audio_output_multi.py @@ -22,15 +22,16 @@ class AudioOutputMulti(UncheckedBaseModel): """ normalized_alignment: typing_extensions.Annotated[ - typing.Optional[NormalizedAlignment], FieldMetadata(alias="normalizedAlignment") + typing.Optional[NormalizedAlignment], + FieldMetadata(alias="normalizedAlignment"), + pydantic.Field(alias="normalizedAlignment"), ] = None alignment: typing.Optional[Alignment] = None - context_id: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="contextId")] = pydantic.Field( - default=None - ) - """ - The contextId for which this audio is. - """ + context_id: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="contextId"), + pydantic.Field(alias="contextId", description="The contextId for which this audio is."), + ] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/elevenlabs/types/audio_with_timestamps_and_voice_segments_response_model.py b/src/elevenlabs/types/audio_with_timestamps_and_voice_segments_response_model.py index b0021a56..4ef82186 100644 --- a/src/elevenlabs/types/audio_with_timestamps_and_voice_segments_response_model.py +++ b/src/elevenlabs/types/audio_with_timestamps_and_voice_segments_response_model.py @@ -12,11 +12,11 @@ class AudioWithTimestampsAndVoiceSegmentsResponseModel(UncheckedBaseModel): - audio_base_64: typing_extensions.Annotated[str, FieldMetadata(alias="audio_base64")] = pydantic.Field() - """ - Base64 encoded audio data - """ - + audio_base_64: typing_extensions.Annotated[ + str, + FieldMetadata(alias="audio_base64"), + pydantic.Field(alias="audio_base64", description="Base64 encoded audio data"), + ] alignment: typing.Optional[CharacterAlignmentResponseModel] = pydantic.Field(default=None) """ Timestamp information for each character in the original text diff --git a/src/elevenlabs/types/audio_with_timestamps_response.py b/src/elevenlabs/types/audio_with_timestamps_response.py index e4068a57..ace5ce4e 100644 --- a/src/elevenlabs/types/audio_with_timestamps_response.py +++ b/src/elevenlabs/types/audio_with_timestamps_response.py @@ -11,11 +11,11 @@ class AudioWithTimestampsResponse(UncheckedBaseModel): - audio_base_64: typing_extensions.Annotated[str, FieldMetadata(alias="audio_base64")] = pydantic.Field() - """ - Base64 encoded audio data - """ - + audio_base_64: typing_extensions.Annotated[ + str, + FieldMetadata(alias="audio_base64"), + pydantic.Field(alias="audio_base64", description="Base64 encoded audio data"), + ] alignment: typing.Optional[CharacterAlignmentResponseModel] = pydantic.Field(default=None) """ Timestamp information for each character in the original text diff --git a/src/elevenlabs/types/backup_llm_default.py b/src/elevenlabs/types/backup_llm_default.py index 9dd23da7..b22bc7c0 100644 --- a/src/elevenlabs/types/backup_llm_default.py +++ b/src/elevenlabs/types/backup_llm_default.py @@ -5,10 +5,11 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .backup_llm_default_preference import BackupLlmDefaultPreference class BackupLlmDefault(UncheckedBaseModel): - preference: typing.Optional[typing.Literal["default"]] = None + preference: typing.Optional[BackupLlmDefaultPreference] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/elevenlabs/types/backup_llm_default_preference.py b/src/elevenlabs/types/backup_llm_default_preference.py new file mode 100644 index 00000000..3318c62d --- /dev/null +++ b/src/elevenlabs/types/backup_llm_default_preference.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +BackupLlmDefaultPreference = typing.Union[typing.Literal["default"], typing.Any] diff --git a/src/elevenlabs/types/backup_llm_disabled.py b/src/elevenlabs/types/backup_llm_disabled.py index fe3f0620..388f6ff6 100644 --- a/src/elevenlabs/types/backup_llm_disabled.py +++ b/src/elevenlabs/types/backup_llm_disabled.py @@ -5,10 +5,11 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .backup_llm_disabled_preference import BackupLlmDisabledPreference class BackupLlmDisabled(UncheckedBaseModel): - preference: typing.Optional[typing.Literal["disabled"]] = None + preference: typing.Optional[BackupLlmDisabledPreference] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/elevenlabs/types/backup_llm_disabled_preference.py b/src/elevenlabs/types/backup_llm_disabled_preference.py new file mode 100644 index 00000000..4cf4e71f --- /dev/null +++ b/src/elevenlabs/types/backup_llm_disabled_preference.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +BackupLlmDisabledPreference = typing.Union[typing.Literal["disabled"], typing.Any] diff --git a/src/elevenlabs/types/backup_llm_override.py b/src/elevenlabs/types/backup_llm_override.py index 05891edc..fe1c1ad9 100644 --- a/src/elevenlabs/types/backup_llm_override.py +++ b/src/elevenlabs/types/backup_llm_override.py @@ -5,11 +5,12 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .backup_llm_override_preference import BackupLlmOverridePreference from .llm import Llm class BackupLlmOverride(UncheckedBaseModel): - preference: typing.Optional[typing.Literal["override"]] = None + preference: typing.Optional[BackupLlmOverridePreference] = None order: typing.List[Llm] if IS_PYDANTIC_V2: diff --git a/src/elevenlabs/types/backup_llm_override_preference.py b/src/elevenlabs/types/backup_llm_override_preference.py new file mode 100644 index 00000000..aba0fbda --- /dev/null +++ b/src/elevenlabs/types/backup_llm_override_preference.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +BackupLlmOverridePreference = typing.Union[typing.Literal["override"], typing.Any] diff --git a/src/elevenlabs/types/chapter_content_paragraph_tts_node_input_model.py b/src/elevenlabs/types/chapter_content_paragraph_tts_node_input_model.py index b124c9f0..22bcbc22 100644 --- a/src/elevenlabs/types/chapter_content_paragraph_tts_node_input_model.py +++ b/src/elevenlabs/types/chapter_content_paragraph_tts_node_input_model.py @@ -5,10 +5,11 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .chapter_content_paragraph_tts_node_input_model_type import ChapterContentParagraphTtsNodeInputModelType class ChapterContentParagraphTtsNodeInputModel(UncheckedBaseModel): - type: typing.Literal["tts_node"] = "tts_node" + type: ChapterContentParagraphTtsNodeInputModelType text: str voice_id: str diff --git a/src/elevenlabs/types/chapter_content_paragraph_tts_node_input_model_type.py b/src/elevenlabs/types/chapter_content_paragraph_tts_node_input_model_type.py new file mode 100644 index 00000000..e17189a0 --- /dev/null +++ b/src/elevenlabs/types/chapter_content_paragraph_tts_node_input_model_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ChapterContentParagraphTtsNodeInputModelType = typing.Union[typing.Literal["tts_node"], typing.Any] diff --git a/src/elevenlabs/types/check_rental_availability_params.py b/src/elevenlabs/types/check_rental_availability_params.py index 0c8bf766..703f7711 100644 --- a/src/elevenlabs/types/check_rental_availability_params.py +++ b/src/elevenlabs/types/check_rental_availability_params.py @@ -5,10 +5,11 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .check_rental_availability_params_smb_tool_type import CheckRentalAvailabilityParamsSmbToolType class CheckRentalAvailabilityParams(UncheckedBaseModel): - smb_tool_type: typing.Optional[typing.Literal["check_rental_availability"]] = None + smb_tool_type: typing.Optional[CheckRentalAvailabilityParamsSmbToolType] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/elevenlabs/types/check_rental_availability_params_smb_tool_type.py b/src/elevenlabs/types/check_rental_availability_params_smb_tool_type.py new file mode 100644 index 00000000..a952b3df --- /dev/null +++ b/src/elevenlabs/types/check_rental_availability_params_smb_tool_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CheckRentalAvailabilityParamsSmbToolType = typing.Union[typing.Literal["check_rental_availability"], typing.Any] diff --git a/src/elevenlabs/types/check_service_availability_params.py b/src/elevenlabs/types/check_service_availability_params.py index b8264af2..443e4a27 100644 --- a/src/elevenlabs/types/check_service_availability_params.py +++ b/src/elevenlabs/types/check_service_availability_params.py @@ -5,10 +5,11 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .check_service_availability_params_smb_tool_type import CheckServiceAvailabilityParamsSmbToolType class CheckServiceAvailabilityParams(UncheckedBaseModel): - smb_tool_type: typing.Optional[typing.Literal["check_service_availability"]] = None + smb_tool_type: typing.Optional[CheckServiceAvailabilityParamsSmbToolType] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/elevenlabs/types/check_service_availability_params_smb_tool_type.py b/src/elevenlabs/types/check_service_availability_params_smb_tool_type.py new file mode 100644 index 00000000..042d1dc0 --- /dev/null +++ b/src/elevenlabs/types/check_service_availability_params_smb_tool_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CheckServiceAvailabilityParamsSmbToolType = typing.Union[typing.Literal["check_service_availability"], typing.Any] diff --git a/src/elevenlabs/types/client_tool_config_input.py b/src/elevenlabs/types/client_tool_config_input.py index ec14caeb..86b6afe1 100644 --- a/src/elevenlabs/types/client_tool_config_input.py +++ b/src/elevenlabs/types/client_tool_config_input.py @@ -91,6 +91,15 @@ class Config: extra = pydantic.Extra.allow +from .array_json_schema_property_input import ArrayJsonSchemaPropertyInput # noqa: E402, I001 +from .array_json_schema_property_input_items import ArrayJsonSchemaPropertyInputItems # noqa: E402, I001 from .object_json_schema_property_input import ObjectJsonSchemaPropertyInput # noqa: E402, I001 - -update_forward_refs(ClientToolConfigInput) +from .object_json_schema_property_input_properties_value import ObjectJsonSchemaPropertyInputPropertiesValue # noqa: E402, I001 + +update_forward_refs( + ClientToolConfigInput, + ArrayJsonSchemaPropertyInput=ArrayJsonSchemaPropertyInput, + ArrayJsonSchemaPropertyInputItems=ArrayJsonSchemaPropertyInputItems, + ObjectJsonSchemaPropertyInput=ObjectJsonSchemaPropertyInput, + ObjectJsonSchemaPropertyInputPropertiesValue=ObjectJsonSchemaPropertyInputPropertiesValue, +) diff --git a/src/elevenlabs/types/client_tool_config_output.py b/src/elevenlabs/types/client_tool_config_output.py index 45e01e01..86a416cc 100644 --- a/src/elevenlabs/types/client_tool_config_output.py +++ b/src/elevenlabs/types/client_tool_config_output.py @@ -91,6 +91,15 @@ class Config: extra = pydantic.Extra.allow +from .array_json_schema_property_output import ArrayJsonSchemaPropertyOutput # noqa: E402, I001 +from .array_json_schema_property_output_items import ArrayJsonSchemaPropertyOutputItems # noqa: E402, I001 from .object_json_schema_property_output import ObjectJsonSchemaPropertyOutput # noqa: E402, I001 - -update_forward_refs(ClientToolConfigOutput) +from .object_json_schema_property_output_properties_value import ObjectJsonSchemaPropertyOutputPropertiesValue # noqa: E402, I001 + +update_forward_refs( + ClientToolConfigOutput, + ArrayJsonSchemaPropertyOutput=ArrayJsonSchemaPropertyOutput, + ArrayJsonSchemaPropertyOutputItems=ArrayJsonSchemaPropertyOutputItems, + ObjectJsonSchemaPropertyOutput=ObjectJsonSchemaPropertyOutput, + ObjectJsonSchemaPropertyOutputPropertiesValue=ObjectJsonSchemaPropertyOutputPropertiesValue, +) diff --git a/src/elevenlabs/types/coached_agent_settings.py b/src/elevenlabs/types/coached_agent_settings.py index 9224fbe4..3f1048f1 100644 --- a/src/elevenlabs/types/coached_agent_settings.py +++ b/src/elevenlabs/types/coached_agent_settings.py @@ -5,10 +5,11 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .coached_agent_settings_type import CoachedAgentSettingsType class CoachedAgentSettings(UncheckedBaseModel): - type: typing.Optional[typing.Literal["coached"]] = None + type: typing.Optional[CoachedAgentSettingsType] = None memory_base_id: typing.Optional[str] = None if IS_PYDANTIC_V2: diff --git a/src/elevenlabs/types/coached_agent_settings_type.py b/src/elevenlabs/types/coached_agent_settings_type.py new file mode 100644 index 00000000..be11b943 --- /dev/null +++ b/src/elevenlabs/types/coached_agent_settings_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CoachedAgentSettingsType = typing.Union[typing.Literal["coached"], typing.Any] diff --git a/src/elevenlabs/types/coaching_agent_settings.py b/src/elevenlabs/types/coaching_agent_settings.py index f29e5180..029a408d 100644 --- a/src/elevenlabs/types/coaching_agent_settings.py +++ b/src/elevenlabs/types/coaching_agent_settings.py @@ -5,6 +5,7 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .coaching_agent_settings_type import CoachingAgentSettingsType class CoachingAgentSettings(UncheckedBaseModel): @@ -12,7 +13,7 @@ class CoachingAgentSettings(UncheckedBaseModel): Runtime-only settings for the virtual coach. Not stored in the database. """ - type: typing.Optional[typing.Literal["coaching"]] = None + type: typing.Optional[CoachingAgentSettingsType] = None coached_agent_id: str memory_base_id: typing.Optional[str] = None diff --git a/src/elevenlabs/types/coaching_agent_settings_type.py b/src/elevenlabs/types/coaching_agent_settings_type.py new file mode 100644 index 00000000..1c00ee3d --- /dev/null +++ b/src/elevenlabs/types/coaching_agent_settings_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CoachingAgentSettingsType = typing.Union[typing.Literal["coaching"], typing.Any] diff --git a/src/elevenlabs/types/content_config.py b/src/elevenlabs/types/content_config.py index 72abe92a..7e79496c 100644 --- a/src/elevenlabs/types/content_config.py +++ b/src/elevenlabs/types/content_config.py @@ -5,17 +5,17 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel -from .threshold_guardrail import ThresholdGuardrail +from .content_threshold_guardrail import ContentThresholdGuardrail class ContentConfig(UncheckedBaseModel): - sexual: typing.Optional[ThresholdGuardrail] = None - violence: typing.Optional[ThresholdGuardrail] = None - harassment: typing.Optional[ThresholdGuardrail] = None - self_harm: typing.Optional[ThresholdGuardrail] = None - profanity: typing.Optional[ThresholdGuardrail] = None - religion_or_politics: typing.Optional[ThresholdGuardrail] = None - medical_and_legal_information: typing.Optional[ThresholdGuardrail] = None + sexual: typing.Optional[ContentThresholdGuardrail] = None + violence: typing.Optional[ContentThresholdGuardrail] = None + harassment: typing.Optional[ContentThresholdGuardrail] = None + self_harm: typing.Optional[ContentThresholdGuardrail] = None + profanity: typing.Optional[ContentThresholdGuardrail] = None + religion_or_politics: typing.Optional[ContentThresholdGuardrail] = None + medical_and_legal_information: typing.Optional[ContentThresholdGuardrail] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/elevenlabs/types/content_threshold_guardrail.py b/src/elevenlabs/types/content_threshold_guardrail.py new file mode 100644 index 00000000..03ed6915 --- /dev/null +++ b/src/elevenlabs/types/content_threshold_guardrail.py @@ -0,0 +1,22 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from ..core.unchecked_base_model import UncheckedBaseModel +from .content_threshold_guardrail_threshold import ContentThresholdGuardrailThreshold + + +class ContentThresholdGuardrail(UncheckedBaseModel): + is_enabled: typing.Optional[bool] = None + threshold: typing.Optional[ContentThresholdGuardrailThreshold] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/elevenlabs/types/content_threshold_guardrail_threshold.py b/src/elevenlabs/types/content_threshold_guardrail_threshold.py new file mode 100644 index 00000000..1323c215 --- /dev/null +++ b/src/elevenlabs/types/content_threshold_guardrail_threshold.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ContentThresholdGuardrailThreshold = typing.Union[ + float, typing.Literal["low"], typing.Literal["medium"], typing.Literal["high"] +] diff --git a/src/elevenlabs/types/conv_ai_workspace_stored_secret_config.py b/src/elevenlabs/types/conv_ai_workspace_stored_secret_config.py index a9563f9e..6ecdbedc 100644 --- a/src/elevenlabs/types/conv_ai_workspace_stored_secret_config.py +++ b/src/elevenlabs/types/conv_ai_workspace_stored_secret_config.py @@ -6,10 +6,11 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel from .conv_ai_stored_secret_dependencies import ConvAiStoredSecretDependencies +from .conv_ai_workspace_stored_secret_config_type import ConvAiWorkspaceStoredSecretConfigType class ConvAiWorkspaceStoredSecretConfig(UncheckedBaseModel): - type: typing.Literal["stored"] = "stored" + type: ConvAiWorkspaceStoredSecretConfigType secret_id: str name: str used_by: ConvAiStoredSecretDependencies diff --git a/src/elevenlabs/types/conv_ai_workspace_stored_secret_config_type.py b/src/elevenlabs/types/conv_ai_workspace_stored_secret_config_type.py new file mode 100644 index 00000000..7ded4b97 --- /dev/null +++ b/src/elevenlabs/types/conv_ai_workspace_stored_secret_config_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConvAiWorkspaceStoredSecretConfigType = typing.Union[typing.Literal["stored"], typing.Any] diff --git a/src/elevenlabs/types/conversation_history_transcript_api_integration_webhook_tools_result_common_model.py b/src/elevenlabs/types/conversation_history_transcript_api_integration_webhook_tools_result_common_model.py index 8009ccc2..710dbb01 100644 --- a/src/elevenlabs/types/conversation_history_transcript_api_integration_webhook_tools_result_common_model.py +++ b/src/elevenlabs/types/conversation_history_transcript_api_integration_webhook_tools_result_common_model.py @@ -5,6 +5,9 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .conversation_history_transcript_api_integration_webhook_tools_result_common_model_type import ( + ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelType, +) from .dynamic_variable_update_common_model import DynamicVariableUpdateCommonModel @@ -18,7 +21,7 @@ class ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel(U error_type: typing.Optional[str] = None raw_error_message: typing.Optional[str] = None dynamic_variable_updates: typing.Optional[typing.List[DynamicVariableUpdateCommonModel]] = None - type: typing.Literal["api_integration_webhook"] = "api_integration_webhook" + type: ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelType integration_id: str credential_id: str integration_connection_id: str diff --git a/src/elevenlabs/types/conversation_history_transcript_api_integration_webhook_tools_result_common_model_type.py b/src/elevenlabs/types/conversation_history_transcript_api_integration_webhook_tools_result_common_model_type.py new file mode 100644 index 00000000..25d8aa9d --- /dev/null +++ b/src/elevenlabs/types/conversation_history_transcript_api_integration_webhook_tools_result_common_model_type.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelType = typing.Union[ + typing.Literal["api_integration_webhook"], typing.Any +] diff --git a/src/elevenlabs/types/conversation_history_transcript_system_tool_result_common_model_input.py b/src/elevenlabs/types/conversation_history_transcript_system_tool_result_common_model_input.py index 49754ea6..eae1cdd5 100644 --- a/src/elevenlabs/types/conversation_history_transcript_system_tool_result_common_model_input.py +++ b/src/elevenlabs/types/conversation_history_transcript_system_tool_result_common_model_input.py @@ -8,6 +8,9 @@ from .conversation_history_transcript_system_tool_result_common_model_input_result import ( ConversationHistoryTranscriptSystemToolResultCommonModelInputResult, ) +from .conversation_history_transcript_system_tool_result_common_model_input_type import ( + ConversationHistoryTranscriptSystemToolResultCommonModelInputType, +) from .dynamic_variable_update_common_model import DynamicVariableUpdateCommonModel @@ -21,7 +24,7 @@ class ConversationHistoryTranscriptSystemToolResultCommonModelInput(UncheckedBas error_type: typing.Optional[str] = None raw_error_message: typing.Optional[str] = None dynamic_variable_updates: typing.Optional[typing.List[DynamicVariableUpdateCommonModel]] = None - type: typing.Literal["system"] = "system" + type: ConversationHistoryTranscriptSystemToolResultCommonModelInputType result: typing.Optional[ConversationHistoryTranscriptSystemToolResultCommonModelInputResult] = None if IS_PYDANTIC_V2: diff --git a/src/elevenlabs/types/conversation_history_transcript_system_tool_result_common_model_input_result.py b/src/elevenlabs/types/conversation_history_transcript_system_tool_result_common_model_input_result.py index 5f09ca82..c5c61a2a 100644 --- a/src/elevenlabs/types/conversation_history_transcript_system_tool_result_common_model_input_result.py +++ b/src/elevenlabs/types/conversation_history_transcript_system_tool_result_common_model_input_result.py @@ -8,12 +8,24 @@ import typing_extensions from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel, UnionMetadata +from .end_call_tool_result_model_status import EndCallToolResultModelStatus +from .language_detection_tool_result_model_status import LanguageDetectionToolResultModelStatus +from .play_dtmf_result_error_model_status import PlayDtmfResultErrorModelStatus +from .play_dtmf_result_success_model_status import PlayDtmfResultSuccessModelStatus +from .skip_turn_tool_response_model_status import SkipTurnToolResponseModelStatus +from .test_tool_result_model_status import TestToolResultModelStatus +from .transfer_to_agent_tool_result_error_model_status import TransferToAgentToolResultErrorModelStatus from .transfer_to_agent_tool_result_success_model_branch_info import TransferToAgentToolResultSuccessModelBranchInfo +from .transfer_to_agent_tool_result_success_model_status import TransferToAgentToolResultSuccessModelStatus +from .transfer_to_number_result_error_model_status import TransferToNumberResultErrorModelStatus +from .transfer_to_number_result_sip_success_model_status import TransferToNumberResultSipSuccessModelStatus +from .transfer_to_number_result_twilio_success_model_status import TransferToNumberResultTwilioSuccessModelStatus +from .voice_mail_detection_result_success_model_status import VoiceMailDetectionResultSuccessModelStatus class ConversationHistoryTranscriptSystemToolResultCommonModelInputResult_EndCallSuccess(UncheckedBaseModel): result_type: typing.Literal["end_call_success"] = "end_call_success" - status: typing.Optional[typing.Literal["success"]] = None + status: typing.Optional[EndCallToolResultModelStatus] = None reason: typing.Optional[str] = None message: typing.Optional[str] = None @@ -29,7 +41,7 @@ class Config: class ConversationHistoryTranscriptSystemToolResultCommonModelInputResult_LanguageDetectionSuccess(UncheckedBaseModel): result_type: typing.Literal["language_detection_success"] = "language_detection_success" - status: typing.Optional[typing.Literal["success"]] = None + status: typing.Optional[LanguageDetectionToolResultModelStatus] = None reason: typing.Optional[str] = None language: typing.Optional[str] = None @@ -45,7 +57,7 @@ class Config: class ConversationHistoryTranscriptSystemToolResultCommonModelInputResult_PlayDtmfError(UncheckedBaseModel): result_type: typing.Literal["play_dtmf_error"] = "play_dtmf_error" - status: typing.Optional[typing.Literal["error"]] = None + status: typing.Optional[PlayDtmfResultErrorModelStatus] = None error: str details: typing.Optional[str] = None @@ -61,7 +73,7 @@ class Config: class ConversationHistoryTranscriptSystemToolResultCommonModelInputResult_PlayDtmfSuccess(UncheckedBaseModel): result_type: typing.Literal["play_dtmf_success"] = "play_dtmf_success" - status: typing.Optional[typing.Literal["success"]] = None + status: typing.Optional[PlayDtmfResultSuccessModelStatus] = None dtmf_tones: str reason: typing.Optional[str] = None @@ -77,7 +89,7 @@ class Config: class ConversationHistoryTranscriptSystemToolResultCommonModelInputResult_SkipTurnSuccess(UncheckedBaseModel): result_type: typing.Literal["skip_turn_success"] = "skip_turn_success" - status: typing.Optional[typing.Literal["success"]] = None + status: typing.Optional[SkipTurnToolResponseModelStatus] = None reason: typing.Optional[str] = None if IS_PYDANTIC_V2: @@ -92,7 +104,7 @@ class Config: class ConversationHistoryTranscriptSystemToolResultCommonModelInputResult_TestingToolResult(UncheckedBaseModel): result_type: typing.Literal["testing_tool_result"] = "testing_tool_result" - status: typing.Optional[typing.Literal["success"]] = None + status: typing.Optional[TestToolResultModelStatus] = None reason: typing.Optional[str] = None if IS_PYDANTIC_V2: @@ -107,7 +119,7 @@ class Config: class ConversationHistoryTranscriptSystemToolResultCommonModelInputResult_TransferToAgentError(UncheckedBaseModel): result_type: typing.Literal["transfer_to_agent_error"] = "transfer_to_agent_error" - status: typing.Optional[typing.Literal["error"]] = None + status: typing.Optional[TransferToAgentToolResultErrorModelStatus] = None from_agent: str error: str @@ -123,7 +135,7 @@ class Config: class ConversationHistoryTranscriptSystemToolResultCommonModelInputResult_TransferToAgentSuccess(UncheckedBaseModel): result_type: typing.Literal["transfer_to_agent_success"] = "transfer_to_agent_success" - status: typing.Optional[typing.Literal["success"]] = None + status: typing.Optional[TransferToAgentToolResultSuccessModelStatus] = None from_agent: str to_agent: str condition: str @@ -144,7 +156,7 @@ class Config: class ConversationHistoryTranscriptSystemToolResultCommonModelInputResult_TransferToNumberError(UncheckedBaseModel): result_type: typing.Literal["transfer_to_number_error"] = "transfer_to_number_error" - status: typing.Optional[typing.Literal["error"]] = None + status: typing.Optional[TransferToNumberResultErrorModelStatus] = None error: str details: typing.Optional[str] = None @@ -162,7 +174,7 @@ class ConversationHistoryTranscriptSystemToolResultCommonModelInputResult_Transf UncheckedBaseModel ): result_type: typing.Literal["transfer_to_number_sip_success"] = "transfer_to_number_sip_success" - status: typing.Optional[typing.Literal["success"]] = None + status: typing.Optional[TransferToNumberResultSipSuccessModelStatus] = None transfer_number: str reason: typing.Optional[str] = None note: typing.Optional[str] = None @@ -181,7 +193,7 @@ class ConversationHistoryTranscriptSystemToolResultCommonModelInputResult_Transf UncheckedBaseModel ): result_type: typing.Literal["transfer_to_number_twilio_success"] = "transfer_to_number_twilio_success" - status: typing.Optional[typing.Literal["success"]] = None + status: typing.Optional[TransferToNumberResultTwilioSuccessModelStatus] = None transfer_number: str reason: typing.Optional[str] = None client_message: typing.Optional[str] = None @@ -202,7 +214,7 @@ class Config: class ConversationHistoryTranscriptSystemToolResultCommonModelInputResult_VoicemailDetectionSuccess(UncheckedBaseModel): result_type: typing.Literal["voicemail_detection_success"] = "voicemail_detection_success" - status: typing.Optional[typing.Literal["success"]] = None + status: typing.Optional[VoiceMailDetectionResultSuccessModelStatus] = None voicemail_message: typing.Optional[str] = None reason: typing.Optional[str] = None diff --git a/src/elevenlabs/types/conversation_history_transcript_system_tool_result_common_model_input_type.py b/src/elevenlabs/types/conversation_history_transcript_system_tool_result_common_model_input_type.py new file mode 100644 index 00000000..3b49b3c4 --- /dev/null +++ b/src/elevenlabs/types/conversation_history_transcript_system_tool_result_common_model_input_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConversationHistoryTranscriptSystemToolResultCommonModelInputType = typing.Union[typing.Literal["system"], typing.Any] diff --git a/src/elevenlabs/types/conversation_history_transcript_system_tool_result_common_model_output.py b/src/elevenlabs/types/conversation_history_transcript_system_tool_result_common_model_output.py index 846e0d49..2eb39218 100644 --- a/src/elevenlabs/types/conversation_history_transcript_system_tool_result_common_model_output.py +++ b/src/elevenlabs/types/conversation_history_transcript_system_tool_result_common_model_output.py @@ -8,6 +8,9 @@ from .conversation_history_transcript_system_tool_result_common_model_output_result import ( ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult, ) +from .conversation_history_transcript_system_tool_result_common_model_output_type import ( + ConversationHistoryTranscriptSystemToolResultCommonModelOutputType, +) from .dynamic_variable_update_common_model import DynamicVariableUpdateCommonModel @@ -21,7 +24,7 @@ class ConversationHistoryTranscriptSystemToolResultCommonModelOutput(UncheckedBa error_type: typing.Optional[str] = None raw_error_message: typing.Optional[str] = None dynamic_variable_updates: typing.Optional[typing.List[DynamicVariableUpdateCommonModel]] = None - type: typing.Literal["system"] = "system" + type: ConversationHistoryTranscriptSystemToolResultCommonModelOutputType result: typing.Optional[ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult] = None if IS_PYDANTIC_V2: diff --git a/src/elevenlabs/types/conversation_history_transcript_system_tool_result_common_model_output_result.py b/src/elevenlabs/types/conversation_history_transcript_system_tool_result_common_model_output_result.py index da335eda..159015d9 100644 --- a/src/elevenlabs/types/conversation_history_transcript_system_tool_result_common_model_output_result.py +++ b/src/elevenlabs/types/conversation_history_transcript_system_tool_result_common_model_output_result.py @@ -8,12 +8,24 @@ import typing_extensions from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel, UnionMetadata +from .end_call_tool_result_model_status import EndCallToolResultModelStatus +from .language_detection_tool_result_model_status import LanguageDetectionToolResultModelStatus +from .play_dtmf_result_error_model_status import PlayDtmfResultErrorModelStatus +from .play_dtmf_result_success_model_status import PlayDtmfResultSuccessModelStatus +from .skip_turn_tool_response_model_status import SkipTurnToolResponseModelStatus +from .test_tool_result_model_status import TestToolResultModelStatus +from .transfer_to_agent_tool_result_error_model_status import TransferToAgentToolResultErrorModelStatus from .transfer_to_agent_tool_result_success_model_branch_info import TransferToAgentToolResultSuccessModelBranchInfo +from .transfer_to_agent_tool_result_success_model_status import TransferToAgentToolResultSuccessModelStatus +from .transfer_to_number_result_error_model_status import TransferToNumberResultErrorModelStatus +from .transfer_to_number_result_sip_success_model_status import TransferToNumberResultSipSuccessModelStatus +from .transfer_to_number_result_twilio_success_model_status import TransferToNumberResultTwilioSuccessModelStatus +from .voice_mail_detection_result_success_model_status import VoiceMailDetectionResultSuccessModelStatus class ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult_EndCallSuccess(UncheckedBaseModel): result_type: typing.Literal["end_call_success"] = "end_call_success" - status: typing.Optional[typing.Literal["success"]] = None + status: typing.Optional[EndCallToolResultModelStatus] = None reason: typing.Optional[str] = None message: typing.Optional[str] = None @@ -29,7 +41,7 @@ class Config: class ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult_LanguageDetectionSuccess(UncheckedBaseModel): result_type: typing.Literal["language_detection_success"] = "language_detection_success" - status: typing.Optional[typing.Literal["success"]] = None + status: typing.Optional[LanguageDetectionToolResultModelStatus] = None reason: typing.Optional[str] = None language: typing.Optional[str] = None @@ -45,7 +57,7 @@ class Config: class ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult_PlayDtmfError(UncheckedBaseModel): result_type: typing.Literal["play_dtmf_error"] = "play_dtmf_error" - status: typing.Optional[typing.Literal["error"]] = None + status: typing.Optional[PlayDtmfResultErrorModelStatus] = None error: str details: typing.Optional[str] = None @@ -61,7 +73,7 @@ class Config: class ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult_PlayDtmfSuccess(UncheckedBaseModel): result_type: typing.Literal["play_dtmf_success"] = "play_dtmf_success" - status: typing.Optional[typing.Literal["success"]] = None + status: typing.Optional[PlayDtmfResultSuccessModelStatus] = None dtmf_tones: str reason: typing.Optional[str] = None @@ -77,7 +89,7 @@ class Config: class ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult_SkipTurnSuccess(UncheckedBaseModel): result_type: typing.Literal["skip_turn_success"] = "skip_turn_success" - status: typing.Optional[typing.Literal["success"]] = None + status: typing.Optional[SkipTurnToolResponseModelStatus] = None reason: typing.Optional[str] = None if IS_PYDANTIC_V2: @@ -92,7 +104,7 @@ class Config: class ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult_TestingToolResult(UncheckedBaseModel): result_type: typing.Literal["testing_tool_result"] = "testing_tool_result" - status: typing.Optional[typing.Literal["success"]] = None + status: typing.Optional[TestToolResultModelStatus] = None reason: typing.Optional[str] = None if IS_PYDANTIC_V2: @@ -107,7 +119,7 @@ class Config: class ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult_TransferToAgentError(UncheckedBaseModel): result_type: typing.Literal["transfer_to_agent_error"] = "transfer_to_agent_error" - status: typing.Optional[typing.Literal["error"]] = None + status: typing.Optional[TransferToAgentToolResultErrorModelStatus] = None from_agent: str error: str @@ -123,7 +135,7 @@ class Config: class ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult_TransferToAgentSuccess(UncheckedBaseModel): result_type: typing.Literal["transfer_to_agent_success"] = "transfer_to_agent_success" - status: typing.Optional[typing.Literal["success"]] = None + status: typing.Optional[TransferToAgentToolResultSuccessModelStatus] = None from_agent: str to_agent: str condition: str @@ -144,7 +156,7 @@ class Config: class ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult_TransferToNumberError(UncheckedBaseModel): result_type: typing.Literal["transfer_to_number_error"] = "transfer_to_number_error" - status: typing.Optional[typing.Literal["error"]] = None + status: typing.Optional[TransferToNumberResultErrorModelStatus] = None error: str details: typing.Optional[str] = None @@ -162,7 +174,7 @@ class ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult_Trans UncheckedBaseModel ): result_type: typing.Literal["transfer_to_number_sip_success"] = "transfer_to_number_sip_success" - status: typing.Optional[typing.Literal["success"]] = None + status: typing.Optional[TransferToNumberResultSipSuccessModelStatus] = None transfer_number: str reason: typing.Optional[str] = None note: typing.Optional[str] = None @@ -181,7 +193,7 @@ class ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult_Trans UncheckedBaseModel ): result_type: typing.Literal["transfer_to_number_twilio_success"] = "transfer_to_number_twilio_success" - status: typing.Optional[typing.Literal["success"]] = None + status: typing.Optional[TransferToNumberResultTwilioSuccessModelStatus] = None transfer_number: str reason: typing.Optional[str] = None client_message: typing.Optional[str] = None @@ -204,7 +216,7 @@ class ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult_Voice UncheckedBaseModel ): result_type: typing.Literal["voicemail_detection_success"] = "voicemail_detection_success" - status: typing.Optional[typing.Literal["success"]] = None + status: typing.Optional[VoiceMailDetectionResultSuccessModelStatus] = None voicemail_message: typing.Optional[str] = None reason: typing.Optional[str] = None diff --git a/src/elevenlabs/types/conversation_history_transcript_system_tool_result_common_model_output_type.py b/src/elevenlabs/types/conversation_history_transcript_system_tool_result_common_model_output_type.py new file mode 100644 index 00000000..1f59bdd5 --- /dev/null +++ b/src/elevenlabs/types/conversation_history_transcript_system_tool_result_common_model_output_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConversationHistoryTranscriptSystemToolResultCommonModelOutputType = typing.Union[typing.Literal["system"], typing.Any] diff --git a/src/elevenlabs/types/conversation_history_transcript_tool_call_webhook_details.py b/src/elevenlabs/types/conversation_history_transcript_tool_call_webhook_details.py index a363b775..0578e123 100644 --- a/src/elevenlabs/types/conversation_history_transcript_tool_call_webhook_details.py +++ b/src/elevenlabs/types/conversation_history_transcript_tool_call_webhook_details.py @@ -5,10 +5,13 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .conversation_history_transcript_tool_call_webhook_details_type import ( + ConversationHistoryTranscriptToolCallWebhookDetailsType, +) class ConversationHistoryTranscriptToolCallWebhookDetails(UncheckedBaseModel): - type: typing.Optional[typing.Literal["webhook"]] = None + type: typing.Optional[ConversationHistoryTranscriptToolCallWebhookDetailsType] = None method: str url: str headers: typing.Optional[typing.Dict[str, str]] = None diff --git a/src/elevenlabs/types/conversation_history_transcript_tool_call_webhook_details_type.py b/src/elevenlabs/types/conversation_history_transcript_tool_call_webhook_details_type.py new file mode 100644 index 00000000..e08cc3f7 --- /dev/null +++ b/src/elevenlabs/types/conversation_history_transcript_tool_call_webhook_details_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConversationHistoryTranscriptToolCallWebhookDetailsType = typing.Union[typing.Literal["webhook"], typing.Any] diff --git a/src/elevenlabs/types/conversation_history_transcript_workflow_tools_result_common_model_input.py b/src/elevenlabs/types/conversation_history_transcript_workflow_tools_result_common_model_input.py index 7570bd3c..a3b13f59 100644 --- a/src/elevenlabs/types/conversation_history_transcript_workflow_tools_result_common_model_input.py +++ b/src/elevenlabs/types/conversation_history_transcript_workflow_tools_result_common_model_input.py @@ -7,6 +7,9 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs from ..core.unchecked_base_model import UncheckedBaseModel +from .conversation_history_transcript_workflow_tools_result_common_model_input_type import ( + ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputType, +) from .dynamic_variable_update_common_model import DynamicVariableUpdateCommonModel @@ -20,7 +23,7 @@ class ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput(Unchecked error_type: typing.Optional[str] = None raw_error_message: typing.Optional[str] = None dynamic_variable_updates: typing.Optional[typing.List[DynamicVariableUpdateCommonModel]] = None - type: typing.Literal["workflow"] = "workflow" + type: ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputType result: typing.Optional["WorkflowToolResponseModelInput"] = None if IS_PYDANTIC_V2: @@ -33,6 +36,15 @@ class Config: extra = pydantic.Extra.allow +from .workflow_tool_nested_tools_step_model_input import WorkflowToolNestedToolsStepModelInput # noqa: E402, I001 +from .workflow_tool_nested_tools_step_model_input_results_item import WorkflowToolNestedToolsStepModelInputResultsItem # noqa: E402, I001 from .workflow_tool_response_model_input import WorkflowToolResponseModelInput # noqa: E402, I001 - -update_forward_refs(ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput) +from .workflow_tool_response_model_input_steps_item import WorkflowToolResponseModelInputStepsItem # noqa: E402, I001 + +update_forward_refs( + ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput, + WorkflowToolNestedToolsStepModelInput=WorkflowToolNestedToolsStepModelInput, + WorkflowToolNestedToolsStepModelInputResultsItem=WorkflowToolNestedToolsStepModelInputResultsItem, + WorkflowToolResponseModelInput=WorkflowToolResponseModelInput, + WorkflowToolResponseModelInputStepsItem=WorkflowToolResponseModelInputStepsItem, +) diff --git a/src/elevenlabs/types/conversation_history_transcript_workflow_tools_result_common_model_input_type.py b/src/elevenlabs/types/conversation_history_transcript_workflow_tools_result_common_model_input_type.py new file mode 100644 index 00000000..c1444ae1 --- /dev/null +++ b/src/elevenlabs/types/conversation_history_transcript_workflow_tools_result_common_model_input_type.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConversationHistoryTranscriptWorkflowToolsResultCommonModelInputType = typing.Union[ + typing.Literal["workflow"], typing.Any +] diff --git a/src/elevenlabs/types/conversation_history_transcript_workflow_tools_result_common_model_output.py b/src/elevenlabs/types/conversation_history_transcript_workflow_tools_result_common_model_output.py index 114a990d..3dc8508d 100644 --- a/src/elevenlabs/types/conversation_history_transcript_workflow_tools_result_common_model_output.py +++ b/src/elevenlabs/types/conversation_history_transcript_workflow_tools_result_common_model_output.py @@ -7,6 +7,9 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs from ..core.unchecked_base_model import UncheckedBaseModel +from .conversation_history_transcript_workflow_tools_result_common_model_output_type import ( + ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputType, +) from .dynamic_variable_update_common_model import DynamicVariableUpdateCommonModel @@ -20,7 +23,7 @@ class ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput(Unchecke error_type: typing.Optional[str] = None raw_error_message: typing.Optional[str] = None dynamic_variable_updates: typing.Optional[typing.List[DynamicVariableUpdateCommonModel]] = None - type: typing.Literal["workflow"] = "workflow" + type: ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputType result: typing.Optional["WorkflowToolResponseModelOutput"] = None if IS_PYDANTIC_V2: @@ -33,6 +36,15 @@ class Config: extra = pydantic.Extra.allow +from .workflow_tool_nested_tools_step_model_output import WorkflowToolNestedToolsStepModelOutput # noqa: E402, I001 +from .workflow_tool_nested_tools_step_model_output_results_item import WorkflowToolNestedToolsStepModelOutputResultsItem # noqa: E402, I001 from .workflow_tool_response_model_output import WorkflowToolResponseModelOutput # noqa: E402, I001 - -update_forward_refs(ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput) +from .workflow_tool_response_model_output_steps_item import WorkflowToolResponseModelOutputStepsItem # noqa: E402, I001 + +update_forward_refs( + ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput, + WorkflowToolNestedToolsStepModelOutput=WorkflowToolNestedToolsStepModelOutput, + WorkflowToolNestedToolsStepModelOutputResultsItem=WorkflowToolNestedToolsStepModelOutputResultsItem, + WorkflowToolResponseModelOutput=WorkflowToolResponseModelOutput, + WorkflowToolResponseModelOutputStepsItem=WorkflowToolResponseModelOutputStepsItem, +) diff --git a/src/elevenlabs/types/conversation_history_transcript_workflow_tools_result_common_model_output_type.py b/src/elevenlabs/types/conversation_history_transcript_workflow_tools_result_common_model_output_type.py new file mode 100644 index 00000000..53d8fabe --- /dev/null +++ b/src/elevenlabs/types/conversation_history_transcript_workflow_tools_result_common_model_output_type.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutputType = typing.Union[ + typing.Literal["workflow"], typing.Any +] diff --git a/src/elevenlabs/types/conversation_summary_response_model.py b/src/elevenlabs/types/conversation_summary_response_model.py index b0c43f63..12104ee4 100644 --- a/src/elevenlabs/types/conversation_summary_response_model.py +++ b/src/elevenlabs/types/conversation_summary_response_model.py @@ -21,6 +21,7 @@ class ConversationSummaryResponseModel(UncheckedBaseModel): call_duration_secs: int message_count: int status: ConversationSummaryResponseModelStatus + termination_reason: typing.Optional[str] = None call_successful: EvaluationSuccessResult transcript_summary: typing.Optional[str] = None call_summary_title: typing.Optional[str] = None diff --git a/src/elevenlabs/types/create_asset_params.py b/src/elevenlabs/types/create_asset_params.py index 676f18cd..9ddfd97d 100644 --- a/src/elevenlabs/types/create_asset_params.py +++ b/src/elevenlabs/types/create_asset_params.py @@ -5,10 +5,11 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .create_asset_params_smb_tool_type import CreateAssetParamsSmbToolType class CreateAssetParams(UncheckedBaseModel): - smb_tool_type: typing.Optional[typing.Literal["create_asset"]] = None + smb_tool_type: typing.Optional[CreateAssetParamsSmbToolType] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/elevenlabs/types/create_asset_params_smb_tool_type.py b/src/elevenlabs/types/create_asset_params_smb_tool_type.py new file mode 100644 index 00000000..67f0bac0 --- /dev/null +++ b/src/elevenlabs/types/create_asset_params_smb_tool_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateAssetParamsSmbToolType = typing.Union[typing.Literal["create_asset"], typing.Any] diff --git a/src/elevenlabs/types/create_client_appointment_params.py b/src/elevenlabs/types/create_client_appointment_params.py index 3855b3db..286ad0aa 100644 --- a/src/elevenlabs/types/create_client_appointment_params.py +++ b/src/elevenlabs/types/create_client_appointment_params.py @@ -5,10 +5,11 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .create_client_appointment_params_smb_tool_type import CreateClientAppointmentParamsSmbToolType class CreateClientAppointmentParams(UncheckedBaseModel): - smb_tool_type: typing.Optional[typing.Literal["create_client_appointment"]] = None + smb_tool_type: typing.Optional[CreateClientAppointmentParamsSmbToolType] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/elevenlabs/types/create_client_appointment_params_smb_tool_type.py b/src/elevenlabs/types/create_client_appointment_params_smb_tool_type.py new file mode 100644 index 00000000..15280a4d --- /dev/null +++ b/src/elevenlabs/types/create_client_appointment_params_smb_tool_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateClientAppointmentParamsSmbToolType = typing.Union[typing.Literal["create_client_appointment"], typing.Any] diff --git a/src/elevenlabs/types/create_client_params.py b/src/elevenlabs/types/create_client_params.py index 20bebfc7..fb3654c1 100644 --- a/src/elevenlabs/types/create_client_params.py +++ b/src/elevenlabs/types/create_client_params.py @@ -5,6 +5,7 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .create_client_params_smb_tool_type import CreateClientParamsSmbToolType class CreateClientParams(UncheckedBaseModel): @@ -12,7 +13,7 @@ class CreateClientParams(UncheckedBaseModel): Create a new client in the system. """ - smb_tool_type: typing.Optional[typing.Literal["create_client"]] = None + smb_tool_type: typing.Optional[CreateClientParamsSmbToolType] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/elevenlabs/types/create_client_params_smb_tool_type.py b/src/elevenlabs/types/create_client_params_smb_tool_type.py new file mode 100644 index 00000000..f87a2f7a --- /dev/null +++ b/src/elevenlabs/types/create_client_params_smb_tool_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateClientParamsSmbToolType = typing.Union[typing.Literal["create_client"], typing.Any] diff --git a/src/elevenlabs/types/create_product_params.py b/src/elevenlabs/types/create_product_params.py index 3ea6c18b..d7692fcb 100644 --- a/src/elevenlabs/types/create_product_params.py +++ b/src/elevenlabs/types/create_product_params.py @@ -5,10 +5,11 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .create_product_params_smb_tool_type import CreateProductParamsSmbToolType class CreateProductParams(UncheckedBaseModel): - smb_tool_type: typing.Optional[typing.Literal["create_product"]] = None + smb_tool_type: typing.Optional[CreateProductParamsSmbToolType] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/elevenlabs/types/create_product_params_smb_tool_type.py b/src/elevenlabs/types/create_product_params_smb_tool_type.py new file mode 100644 index 00000000..2393816c --- /dev/null +++ b/src/elevenlabs/types/create_product_params_smb_tool_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateProductParamsSmbToolType = typing.Union[typing.Literal["create_product"], typing.Any] diff --git a/src/elevenlabs/types/create_rental_booking_params.py b/src/elevenlabs/types/create_rental_booking_params.py index 0ae2b9aa..d36b2787 100644 --- a/src/elevenlabs/types/create_rental_booking_params.py +++ b/src/elevenlabs/types/create_rental_booking_params.py @@ -5,10 +5,11 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .create_rental_booking_params_smb_tool_type import CreateRentalBookingParamsSmbToolType class CreateRentalBookingParams(UncheckedBaseModel): - smb_tool_type: typing.Optional[typing.Literal["create_rental_booking"]] = None + smb_tool_type: typing.Optional[CreateRentalBookingParamsSmbToolType] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/elevenlabs/types/create_rental_booking_params_smb_tool_type.py b/src/elevenlabs/types/create_rental_booking_params_smb_tool_type.py new file mode 100644 index 00000000..a9525893 --- /dev/null +++ b/src/elevenlabs/types/create_rental_booking_params_smb_tool_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateRentalBookingParamsSmbToolType = typing.Union[typing.Literal["create_rental_booking"], typing.Any] diff --git a/src/elevenlabs/types/create_service_params.py b/src/elevenlabs/types/create_service_params.py index a6bd00a8..61f71978 100644 --- a/src/elevenlabs/types/create_service_params.py +++ b/src/elevenlabs/types/create_service_params.py @@ -5,6 +5,7 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .create_service_params_smb_tool_type import CreateServiceParamsSmbToolType class CreateServiceParams(UncheckedBaseModel): @@ -12,7 +13,7 @@ class CreateServiceParams(UncheckedBaseModel): Create a new service in the system. """ - smb_tool_type: typing.Optional[typing.Literal["create_service"]] = None + smb_tool_type: typing.Optional[CreateServiceParamsSmbToolType] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/elevenlabs/types/create_service_params_smb_tool_type.py b/src/elevenlabs/types/create_service_params_smb_tool_type.py new file mode 100644 index 00000000..04901b71 --- /dev/null +++ b/src/elevenlabs/types/create_service_params_smb_tool_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateServiceParamsSmbToolType = typing.Union[typing.Literal["create_service"], typing.Any] diff --git a/src/elevenlabs/types/create_staff_params.py b/src/elevenlabs/types/create_staff_params.py index 83bf03d5..90a14d5b 100644 --- a/src/elevenlabs/types/create_staff_params.py +++ b/src/elevenlabs/types/create_staff_params.py @@ -5,6 +5,7 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .create_staff_params_smb_tool_type import CreateStaffParamsSmbToolType class CreateStaffParams(UncheckedBaseModel): @@ -12,7 +13,7 @@ class CreateStaffParams(UncheckedBaseModel): Create a new staff member in the system. """ - smb_tool_type: typing.Optional[typing.Literal["create_staff"]] = None + smb_tool_type: typing.Optional[CreateStaffParamsSmbToolType] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/elevenlabs/types/create_staff_params_smb_tool_type.py b/src/elevenlabs/types/create_staff_params_smb_tool_type.py new file mode 100644 index 00000000..757bc2e1 --- /dev/null +++ b/src/elevenlabs/types/create_staff_params_smb_tool_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateStaffParamsSmbToolType = typing.Union[typing.Literal["create_staff"], typing.Any] diff --git a/src/elevenlabs/types/delete_asset_params.py b/src/elevenlabs/types/delete_asset_params.py index c99f872d..68e87f04 100644 --- a/src/elevenlabs/types/delete_asset_params.py +++ b/src/elevenlabs/types/delete_asset_params.py @@ -5,10 +5,11 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .delete_asset_params_smb_tool_type import DeleteAssetParamsSmbToolType class DeleteAssetParams(UncheckedBaseModel): - smb_tool_type: typing.Optional[typing.Literal["delete_asset"]] = None + smb_tool_type: typing.Optional[DeleteAssetParamsSmbToolType] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/elevenlabs/types/delete_asset_params_smb_tool_type.py b/src/elevenlabs/types/delete_asset_params_smb_tool_type.py new file mode 100644 index 00000000..7e749ac9 --- /dev/null +++ b/src/elevenlabs/types/delete_asset_params_smb_tool_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +DeleteAssetParamsSmbToolType = typing.Union[typing.Literal["delete_asset"], typing.Any] diff --git a/src/elevenlabs/types/delete_calendar_event_params.py b/src/elevenlabs/types/delete_calendar_event_params.py index 60fedda7..4a7b5143 100644 --- a/src/elevenlabs/types/delete_calendar_event_params.py +++ b/src/elevenlabs/types/delete_calendar_event_params.py @@ -5,10 +5,11 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .delete_calendar_event_params_smb_tool_type import DeleteCalendarEventParamsSmbToolType class DeleteCalendarEventParams(UncheckedBaseModel): - smb_tool_type: typing.Optional[typing.Literal["delete_calendar_event"]] = None + smb_tool_type: typing.Optional[DeleteCalendarEventParamsSmbToolType] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/elevenlabs/types/delete_calendar_event_params_smb_tool_type.py b/src/elevenlabs/types/delete_calendar_event_params_smb_tool_type.py new file mode 100644 index 00000000..4f685df2 --- /dev/null +++ b/src/elevenlabs/types/delete_calendar_event_params_smb_tool_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +DeleteCalendarEventParamsSmbToolType = typing.Union[typing.Literal["delete_calendar_event"], typing.Any] diff --git a/src/elevenlabs/types/delete_client_params.py b/src/elevenlabs/types/delete_client_params.py index 6a2c2771..6d04c95b 100644 --- a/src/elevenlabs/types/delete_client_params.py +++ b/src/elevenlabs/types/delete_client_params.py @@ -5,6 +5,7 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .delete_client_params_smb_tool_type import DeleteClientParamsSmbToolType class DeleteClientParams(UncheckedBaseModel): @@ -12,7 +13,7 @@ class DeleteClientParams(UncheckedBaseModel): Delete an existing client from the system. """ - smb_tool_type: typing.Optional[typing.Literal["delete_client"]] = None + smb_tool_type: typing.Optional[DeleteClientParamsSmbToolType] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/elevenlabs/types/delete_client_params_smb_tool_type.py b/src/elevenlabs/types/delete_client_params_smb_tool_type.py new file mode 100644 index 00000000..4575295c --- /dev/null +++ b/src/elevenlabs/types/delete_client_params_smb_tool_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +DeleteClientParamsSmbToolType = typing.Union[typing.Literal["delete_client"], typing.Any] diff --git a/src/elevenlabs/types/delete_product_params.py b/src/elevenlabs/types/delete_product_params.py index b73ff970..4e59577e 100644 --- a/src/elevenlabs/types/delete_product_params.py +++ b/src/elevenlabs/types/delete_product_params.py @@ -5,10 +5,11 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .delete_product_params_smb_tool_type import DeleteProductParamsSmbToolType class DeleteProductParams(UncheckedBaseModel): - smb_tool_type: typing.Optional[typing.Literal["delete_product"]] = None + smb_tool_type: typing.Optional[DeleteProductParamsSmbToolType] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/elevenlabs/types/delete_product_params_smb_tool_type.py b/src/elevenlabs/types/delete_product_params_smb_tool_type.py new file mode 100644 index 00000000..20872085 --- /dev/null +++ b/src/elevenlabs/types/delete_product_params_smb_tool_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +DeleteProductParamsSmbToolType = typing.Union[typing.Literal["delete_product"], typing.Any] diff --git a/src/elevenlabs/types/delete_service_params.py b/src/elevenlabs/types/delete_service_params.py index f5089124..7a24504b 100644 --- a/src/elevenlabs/types/delete_service_params.py +++ b/src/elevenlabs/types/delete_service_params.py @@ -5,6 +5,7 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .delete_service_params_smb_tool_type import DeleteServiceParamsSmbToolType class DeleteServiceParams(UncheckedBaseModel): @@ -12,7 +13,7 @@ class DeleteServiceParams(UncheckedBaseModel): Delete an existing service from the system. """ - smb_tool_type: typing.Optional[typing.Literal["delete_service"]] = None + smb_tool_type: typing.Optional[DeleteServiceParamsSmbToolType] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/elevenlabs/types/delete_service_params_smb_tool_type.py b/src/elevenlabs/types/delete_service_params_smb_tool_type.py new file mode 100644 index 00000000..eefdf0fb --- /dev/null +++ b/src/elevenlabs/types/delete_service_params_smb_tool_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +DeleteServiceParamsSmbToolType = typing.Union[typing.Literal["delete_service"], typing.Any] diff --git a/src/elevenlabs/types/delete_staff_params.py b/src/elevenlabs/types/delete_staff_params.py index 6d4283ec..cbbf288f 100644 --- a/src/elevenlabs/types/delete_staff_params.py +++ b/src/elevenlabs/types/delete_staff_params.py @@ -5,6 +5,7 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .delete_staff_params_smb_tool_type import DeleteStaffParamsSmbToolType class DeleteStaffParams(UncheckedBaseModel): @@ -12,7 +13,7 @@ class DeleteStaffParams(UncheckedBaseModel): Delete an existing staff member from the system. """ - smb_tool_type: typing.Optional[typing.Literal["delete_staff"]] = None + smb_tool_type: typing.Optional[DeleteStaffParamsSmbToolType] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/elevenlabs/types/delete_staff_params_smb_tool_type.py b/src/elevenlabs/types/delete_staff_params_smb_tool_type.py new file mode 100644 index 00000000..a6ea873d --- /dev/null +++ b/src/elevenlabs/types/delete_staff_params_smb_tool_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +DeleteStaffParamsSmbToolType = typing.Union[typing.Literal["delete_staff"], typing.Any] diff --git a/src/elevenlabs/types/direct_publishing_read_response_model.py b/src/elevenlabs/types/direct_publishing_read_response_model.py index 2cdbd5b8..05763ef9 100644 --- a/src/elevenlabs/types/direct_publishing_read_response_model.py +++ b/src/elevenlabs/types/direct_publishing_read_response_model.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel from .contributor import Contributor +from .direct_publishing_read_response_model_currency import DirectPublishingReadResponseModelCurrency from .direct_publishing_read_response_model_display_mode import DirectPublishingReadResponseModelDisplayMode from .direct_publishing_read_response_model_genre_item import DirectPublishingReadResponseModelGenreItem from .direct_publishing_read_response_model_payout_type import DirectPublishingReadResponseModelPayoutType @@ -55,7 +56,7 @@ class DirectPublishingReadResponseModel(UncheckedBaseModel): contributors: typing.Optional[typing.List[Contributor]] = None payout_type: typing.Optional[DirectPublishingReadResponseModelPayoutType] = None list_price: typing.Optional[float] = None - currency: typing.Optional[typing.Literal["usd"]] = None + currency: typing.Optional[DirectPublishingReadResponseModelCurrency] = None original_audio_project_export_id: typing.Optional[str] = None original_audio_document_id: typing.Optional[str] = None series_id: typing.Optional[str] = None diff --git a/src/elevenlabs/types/direct_publishing_read_response_model_currency.py b/src/elevenlabs/types/direct_publishing_read_response_model_currency.py new file mode 100644 index 00000000..09dcf4f5 --- /dev/null +++ b/src/elevenlabs/types/direct_publishing_read_response_model_currency.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +DirectPublishingReadResponseModelCurrency = typing.Union[typing.Literal["usd"], typing.Any] diff --git a/src/elevenlabs/types/dubbing_transcripts_response_model.py b/src/elevenlabs/types/dubbing_transcripts_response_model.py index 5a753937..4248577f 100644 --- a/src/elevenlabs/types/dubbing_transcripts_response_model.py +++ b/src/elevenlabs/types/dubbing_transcripts_response_model.py @@ -15,7 +15,9 @@ class DubbingTranscriptsResponseModel(UncheckedBaseModel): transcript_format: DubbingTranscriptsResponseModelTranscriptFormat srt: typing.Optional[str] = None webvtt: typing.Optional[str] = None - json_: typing_extensions.Annotated[typing.Optional[DubbingTranscript], FieldMetadata(alias="json")] = None + json_: typing_extensions.Annotated[ + typing.Optional[DubbingTranscript], FieldMetadata(alias="json"), pydantic.Field(alias="json") + ] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/elevenlabs/types/dynamic_variable_assignment.py b/src/elevenlabs/types/dynamic_variable_assignment.py index 5a199cf6..0447ae89 100644 --- a/src/elevenlabs/types/dynamic_variable_assignment.py +++ b/src/elevenlabs/types/dynamic_variable_assignment.py @@ -5,6 +5,7 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .dynamic_variable_assignment_source import DynamicVariableAssignmentSource class DynamicVariableAssignment(UncheckedBaseModel): @@ -12,7 +13,7 @@ class DynamicVariableAssignment(UncheckedBaseModel): Configuration for extracting values from tool responses and assigning them to dynamic variables. """ - source: typing.Optional[typing.Literal["response"]] = pydantic.Field(default=None) + source: typing.Optional[DynamicVariableAssignmentSource] = pydantic.Field(default=None) """ The source to extract the value from. Currently only 'response' is supported. """ diff --git a/src/elevenlabs/types/dynamic_variable_assignment_source.py b/src/elevenlabs/types/dynamic_variable_assignment_source.py new file mode 100644 index 00000000..06104c0a --- /dev/null +++ b/src/elevenlabs/types/dynamic_variable_assignment_source.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +DynamicVariableAssignmentSource = typing.Union[typing.Literal["response"], typing.Any] diff --git a/src/elevenlabs/types/end_call_tool_result_model.py b/src/elevenlabs/types/end_call_tool_result_model.py index cb52b88c..55903a03 100644 --- a/src/elevenlabs/types/end_call_tool_result_model.py +++ b/src/elevenlabs/types/end_call_tool_result_model.py @@ -5,10 +5,11 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .end_call_tool_result_model_status import EndCallToolResultModelStatus class EndCallToolResultModel(UncheckedBaseModel): - status: typing.Optional[typing.Literal["success"]] = None + status: typing.Optional[EndCallToolResultModelStatus] = None reason: typing.Optional[str] = None message: typing.Optional[str] = None diff --git a/src/elevenlabs/types/end_call_tool_result_model_status.py b/src/elevenlabs/types/end_call_tool_result_model_status.py new file mode 100644 index 00000000..5e827611 --- /dev/null +++ b/src/elevenlabs/types/end_call_tool_result_model_status.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EndCallToolResultModelStatus = typing.Union[typing.Literal["success"], typing.Any] diff --git a/src/elevenlabs/types/final_output.py b/src/elevenlabs/types/final_output.py index 2ad69960..1633466d 100644 --- a/src/elevenlabs/types/final_output.py +++ b/src/elevenlabs/types/final_output.py @@ -10,12 +10,14 @@ class FinalOutput(UncheckedBaseModel): - is_final: typing_extensions.Annotated[typing.Optional[typing.Literal[True]], FieldMetadata(alias="isFinal")] = ( - pydantic.Field(default=None) - ) - """ - Indicates if the generation is complete. If set to `True`, `audio` will be null. - """ + is_final: typing_extensions.Annotated[ + typing.Optional[typing.Literal[True]], + FieldMetadata(alias="isFinal"), + pydantic.Field( + alias="isFinal", + description="Indicates if the generation is complete. If set to `True`, `audio` will be null.", + ), + ] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/elevenlabs/types/final_output_multi.py b/src/elevenlabs/types/final_output_multi.py index edf62760..5a6ced1d 100644 --- a/src/elevenlabs/types/final_output_multi.py +++ b/src/elevenlabs/types/final_output_multi.py @@ -14,19 +14,16 @@ class FinalOutputMulti(UncheckedBaseModel): Server payload indicating the final output for a specific context. """ - is_final: typing_extensions.Annotated[typing.Literal[True], FieldMetadata(alias="isFinal")] = pydantic.Field( - default=True - ) - """ - Indicates this is the final message for the context. - """ - - context_id: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="contextId")] = pydantic.Field( - default=None - ) - """ - The context_id for which this is the final message. - """ + is_final: typing_extensions.Annotated[ + typing.Literal[True], + FieldMetadata(alias="isFinal"), + pydantic.Field(alias="isFinal", description="Indicates this is the final message for the context."), + ] = True + context_id: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="contextId"), + pydantic.Field(alias="contextId", description="The context_id for which this is the final message."), + ] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/elevenlabs/types/generation_source_context.py b/src/elevenlabs/types/generation_source_context.py index 01ca86a1..80854d5b 100644 --- a/src/elevenlabs/types/generation_source_context.py +++ b/src/elevenlabs/types/generation_source_context.py @@ -5,11 +5,12 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .generation_source_context_source_type import GenerationSourceContextSourceType from .reference_video import ReferenceVideo class GenerationSourceContext(UncheckedBaseModel): - source_type: typing.Optional[typing.Literal["generation"]] = None + source_type: typing.Optional[GenerationSourceContextSourceType] = None generation_id: str prompt: typing.Optional[str] = None model_id: str diff --git a/src/elevenlabs/types/generation_source_context_source_type.py b/src/elevenlabs/types/generation_source_context_source_type.py new file mode 100644 index 00000000..2212a043 --- /dev/null +++ b/src/elevenlabs/types/generation_source_context_source_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +GenerationSourceContextSourceType = typing.Union[typing.Literal["generation"], typing.Any] diff --git a/src/elevenlabs/types/get_client_appointments_params.py b/src/elevenlabs/types/get_client_appointments_params.py index 889278bd..56c75b25 100644 --- a/src/elevenlabs/types/get_client_appointments_params.py +++ b/src/elevenlabs/types/get_client_appointments_params.py @@ -5,10 +5,11 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .get_client_appointments_params_smb_tool_type import GetClientAppointmentsParamsSmbToolType class GetClientAppointmentsParams(UncheckedBaseModel): - smb_tool_type: typing.Optional[typing.Literal["get_client_appointments"]] = None + smb_tool_type: typing.Optional[GetClientAppointmentsParamsSmbToolType] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/elevenlabs/types/get_client_appointments_params_smb_tool_type.py b/src/elevenlabs/types/get_client_appointments_params_smb_tool_type.py new file mode 100644 index 00000000..e949a700 --- /dev/null +++ b/src/elevenlabs/types/get_client_appointments_params_smb_tool_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +GetClientAppointmentsParamsSmbToolType = typing.Union[typing.Literal["get_client_appointments"], typing.Any] diff --git a/src/elevenlabs/types/get_client_by_phone_params.py b/src/elevenlabs/types/get_client_by_phone_params.py index e573e819..43283a83 100644 --- a/src/elevenlabs/types/get_client_by_phone_params.py +++ b/src/elevenlabs/types/get_client_by_phone_params.py @@ -5,6 +5,7 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .get_client_by_phone_params_smb_tool_type import GetClientByPhoneParamsSmbToolType class GetClientByPhoneParams(UncheckedBaseModel): @@ -12,7 +13,7 @@ class GetClientByPhoneParams(UncheckedBaseModel): Look up a client by their exact phone number. """ - smb_tool_type: typing.Optional[typing.Literal["get_client_by_phone"]] = None + smb_tool_type: typing.Optional[GetClientByPhoneParamsSmbToolType] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/elevenlabs/types/get_client_by_phone_params_smb_tool_type.py b/src/elevenlabs/types/get_client_by_phone_params_smb_tool_type.py new file mode 100644 index 00000000..ec02a2bc --- /dev/null +++ b/src/elevenlabs/types/get_client_by_phone_params_smb_tool_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +GetClientByPhoneParamsSmbToolType = typing.Union[typing.Literal["get_client_by_phone"], typing.Any] diff --git a/src/elevenlabs/types/get_conv_ai_settings_response_model.py b/src/elevenlabs/types/get_conv_ai_settings_response_model.py index eb0b1c48..a6815fb2 100644 --- a/src/elevenlabs/types/get_conv_ai_settings_response_model.py +++ b/src/elevenlabs/types/get_conv_ai_settings_response_model.py @@ -19,6 +19,11 @@ class GetConvAiSettingsResponseModel(UncheckedBaseModel): """ rag_retention_period_days: typing.Optional[int] = None + conversation_embedding_retention_days: typing.Optional[int] = pydantic.Field(default=None) + """ + Days to retain conversation embeddings. None means use the system default (30 days). + """ + default_livekit_stack: typing.Optional[LivekitStackType] = None if IS_PYDANTIC_V2: diff --git a/src/elevenlabs/types/get_test_suite_invocation_response_model.py b/src/elevenlabs/types/get_test_suite_invocation_response_model.py index eca5125f..c68fbd7d 100644 --- a/src/elevenlabs/types/get_test_suite_invocation_response_model.py +++ b/src/elevenlabs/types/get_test_suite_invocation_response_model.py @@ -15,6 +15,7 @@ class GetTestSuiteInvocationResponseModel(UncheckedBaseModel): agent_id: typing.Optional[str] = None branch_id: typing.Optional[str] = None created_at: typing.Optional[int] = None + folder_id: typing.Optional[str] = None test_runs: typing.List[UnitTestRunResponseModel] if IS_PYDANTIC_V2: diff --git a/src/elevenlabs/types/guardrails_v_1_input.py b/src/elevenlabs/types/guardrails_v_1_input.py index ffc6eaa8..944f7f31 100644 --- a/src/elevenlabs/types/guardrails_v_1_input.py +++ b/src/elevenlabs/types/guardrails_v_1_input.py @@ -8,16 +8,15 @@ from .content_guardrail_input import ContentGuardrailInput from .custom_guardrail_input import CustomGuardrailInput from .focus_guardrail import FocusGuardrail -from .moderation_guardrail_input import ModerationGuardrailInput +from .guardrails_v_1_input_version import GuardrailsV1InputVersion from .prompt_injection_guardrail import PromptInjectionGuardrail class GuardrailsV1Input(UncheckedBaseModel): - version: typing.Optional[typing.Literal["1"]] = None + version: typing.Optional[GuardrailsV1InputVersion] = None focus: typing.Optional[FocusGuardrail] = None prompt_injection: typing.Optional[PromptInjectionGuardrail] = None content: typing.Optional[ContentGuardrailInput] = None - moderation: typing.Optional[ModerationGuardrailInput] = None custom: typing.Optional[CustomGuardrailInput] = None if IS_PYDANTIC_V2: diff --git a/src/elevenlabs/types/guardrails_v_1_input_version.py b/src/elevenlabs/types/guardrails_v_1_input_version.py new file mode 100644 index 00000000..343c3c1b --- /dev/null +++ b/src/elevenlabs/types/guardrails_v_1_input_version.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +GuardrailsV1InputVersion = typing.Union[typing.Literal["1"], typing.Any] diff --git a/src/elevenlabs/types/guardrails_v_1_output.py b/src/elevenlabs/types/guardrails_v_1_output.py index 522a2cd3..052cfc0f 100644 --- a/src/elevenlabs/types/guardrails_v_1_output.py +++ b/src/elevenlabs/types/guardrails_v_1_output.py @@ -8,16 +8,15 @@ from .content_guardrail_output import ContentGuardrailOutput from .custom_guardrail_output import CustomGuardrailOutput from .focus_guardrail import FocusGuardrail -from .moderation_guardrail_output import ModerationGuardrailOutput +from .guardrails_v_1_output_version import GuardrailsV1OutputVersion from .prompt_injection_guardrail import PromptInjectionGuardrail class GuardrailsV1Output(UncheckedBaseModel): - version: typing.Optional[typing.Literal["1"]] = None + version: typing.Optional[GuardrailsV1OutputVersion] = None focus: typing.Optional[FocusGuardrail] = None prompt_injection: typing.Optional[PromptInjectionGuardrail] = None content: typing.Optional[ContentGuardrailOutput] = None - moderation: typing.Optional[ModerationGuardrailOutput] = None custom: typing.Optional[CustomGuardrailOutput] = None if IS_PYDANTIC_V2: diff --git a/src/elevenlabs/types/guardrails_v_1_output_version.py b/src/elevenlabs/types/guardrails_v_1_output_version.py new file mode 100644 index 00000000..56720af2 --- /dev/null +++ b/src/elevenlabs/types/guardrails_v_1_output_version.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +GuardrailsV1OutputVersion = typing.Union[typing.Literal["1"], typing.Any] diff --git a/src/elevenlabs/types/initialize_connection.py b/src/elevenlabs/types/initialize_connection.py index 8c6b4021..bb5a166c 100644 --- a/src/elevenlabs/types/initialize_connection.py +++ b/src/elevenlabs/types/initialize_connection.py @@ -30,13 +30,14 @@ class InitializeConnection(UncheckedBaseModel): Note: Pronunciation dictionary matches will only be respected within a provided chunk. """ - xi_api_key: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="xi-api-key")] = pydantic.Field( - default=None - ) - """ - Your ElevenLabs API key. This can only be included in the first message and is not needed if present in the header. - """ - + xi_api_key: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="xi-api-key"), + pydantic.Field( + alias="xi-api-key", + description="Your ElevenLabs API key. This can only be included in the first message and is not needed if present in the header.", + ), + ] = None authorization: typing.Optional[str] = pydantic.Field(default=None) """ Your authorization bearer token. This can only be included in the first message and is not needed if present in the header. diff --git a/src/elevenlabs/types/language_detection_tool_result_model.py b/src/elevenlabs/types/language_detection_tool_result_model.py index eefba73d..dfd0e85a 100644 --- a/src/elevenlabs/types/language_detection_tool_result_model.py +++ b/src/elevenlabs/types/language_detection_tool_result_model.py @@ -5,10 +5,11 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .language_detection_tool_result_model_status import LanguageDetectionToolResultModelStatus class LanguageDetectionToolResultModel(UncheckedBaseModel): - status: typing.Optional[typing.Literal["success"]] = None + status: typing.Optional[LanguageDetectionToolResultModelStatus] = None reason: typing.Optional[str] = None language: typing.Optional[str] = None diff --git a/src/elevenlabs/types/language_detection_tool_result_model_status.py b/src/elevenlabs/types/language_detection_tool_result_model_status.py new file mode 100644 index 00000000..5c0911ff --- /dev/null +++ b/src/elevenlabs/types/language_detection_tool_result_model_status.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +LanguageDetectionToolResultModelStatus = typing.Union[typing.Literal["success"], typing.Any] diff --git a/src/elevenlabs/types/library_voice_response.py b/src/elevenlabs/types/library_voice_response.py index 4505ea3a..be3be444 100644 --- a/src/elevenlabs/types/library_voice_response.py +++ b/src/elevenlabs/types/library_voice_response.py @@ -82,27 +82,28 @@ class LibraryVoiceResponse(UncheckedBaseModel): The preview URL of the voice. """ - usage_character_count_1_y: typing_extensions.Annotated[int, FieldMetadata(alias="usage_character_count_1y")] = ( - pydantic.Field() - ) - """ - The usage character count of the voice in the last year. - """ - - usage_character_count_7_d: typing_extensions.Annotated[int, FieldMetadata(alias="usage_character_count_7d")] = ( - pydantic.Field() - ) - """ - The usage character count of the voice in the last 7 days. - """ - + usage_character_count_1_y: typing_extensions.Annotated[ + int, + FieldMetadata(alias="usage_character_count_1y"), + pydantic.Field( + alias="usage_character_count_1y", description="The usage character count of the voice in the last year." + ), + ] + usage_character_count_7_d: typing_extensions.Annotated[ + int, + FieldMetadata(alias="usage_character_count_7d"), + pydantic.Field( + alias="usage_character_count_7d", description="The usage character count of the voice in the last 7 days." + ), + ] play_api_usage_character_count_1_y: typing_extensions.Annotated[ - int, FieldMetadata(alias="play_api_usage_character_count_1y") - ] = pydantic.Field() - """ - The play API usage character count of the voice in the last year. - """ - + int, + FieldMetadata(alias="play_api_usage_character_count_1y"), + pydantic.Field( + alias="play_api_usage_character_count_1y", + description="The play API usage character count of the voice in the last year.", + ), + ] cloned_by_count: int = pydantic.Field() """ The number of times the voice has been cloned. diff --git a/src/elevenlabs/types/list_assets_params.py b/src/elevenlabs/types/list_assets_params.py index 846ac7a3..e270cfa4 100644 --- a/src/elevenlabs/types/list_assets_params.py +++ b/src/elevenlabs/types/list_assets_params.py @@ -5,11 +5,12 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .list_assets_params_smb_tool_type import ListAssetsParamsSmbToolType class ListAssetsParams(UncheckedBaseModel): list_kwargs: typing.Optional[typing.Dict[str, typing.Any]] = None - smb_tool_type: typing.Optional[typing.Literal["list_assets"]] = None + smb_tool_type: typing.Optional[ListAssetsParamsSmbToolType] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/elevenlabs/types/list_assets_params_smb_tool_type.py b/src/elevenlabs/types/list_assets_params_smb_tool_type.py new file mode 100644 index 00000000..fb50a947 --- /dev/null +++ b/src/elevenlabs/types/list_assets_params_smb_tool_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ListAssetsParamsSmbToolType = typing.Union[typing.Literal["list_assets"], typing.Any] diff --git a/src/elevenlabs/types/list_calendar_events_params.py b/src/elevenlabs/types/list_calendar_events_params.py index a577f88c..8a3ab0bf 100644 --- a/src/elevenlabs/types/list_calendar_events_params.py +++ b/src/elevenlabs/types/list_calendar_events_params.py @@ -5,10 +5,11 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .list_calendar_events_params_smb_tool_type import ListCalendarEventsParamsSmbToolType class ListCalendarEventsParams(UncheckedBaseModel): - smb_tool_type: typing.Optional[typing.Literal["list_calendar_events"]] = None + smb_tool_type: typing.Optional[ListCalendarEventsParamsSmbToolType] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/elevenlabs/types/list_calendar_events_params_smb_tool_type.py b/src/elevenlabs/types/list_calendar_events_params_smb_tool_type.py new file mode 100644 index 00000000..694951ca --- /dev/null +++ b/src/elevenlabs/types/list_calendar_events_params_smb_tool_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ListCalendarEventsParamsSmbToolType = typing.Union[typing.Literal["list_calendar_events"], typing.Any] diff --git a/src/elevenlabs/types/list_clients_params.py b/src/elevenlabs/types/list_clients_params.py index c608c447..428d2084 100644 --- a/src/elevenlabs/types/list_clients_params.py +++ b/src/elevenlabs/types/list_clients_params.py @@ -5,6 +5,7 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .list_clients_params_smb_tool_type import ListClientsParamsSmbToolType class ListClientsParams(UncheckedBaseModel): @@ -12,7 +13,7 @@ class ListClientsParams(UncheckedBaseModel): List clients ordered by most recently updated, with an optional limit. """ - smb_tool_type: typing.Optional[typing.Literal["list_clients"]] = None + smb_tool_type: typing.Optional[ListClientsParamsSmbToolType] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/elevenlabs/types/list_clients_params_smb_tool_type.py b/src/elevenlabs/types/list_clients_params_smb_tool_type.py new file mode 100644 index 00000000..03e10434 --- /dev/null +++ b/src/elevenlabs/types/list_clients_params_smb_tool_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ListClientsParamsSmbToolType = typing.Union[typing.Literal["list_clients"], typing.Any] diff --git a/src/elevenlabs/types/list_products_params.py b/src/elevenlabs/types/list_products_params.py index ad42e260..519b315c 100644 --- a/src/elevenlabs/types/list_products_params.py +++ b/src/elevenlabs/types/list_products_params.py @@ -5,11 +5,12 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .list_products_params_smb_tool_type import ListProductsParamsSmbToolType class ListProductsParams(UncheckedBaseModel): list_kwargs: typing.Optional[typing.Dict[str, typing.Any]] = None - smb_tool_type: typing.Optional[typing.Literal["list_products"]] = None + smb_tool_type: typing.Optional[ListProductsParamsSmbToolType] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/elevenlabs/types/list_products_params_smb_tool_type.py b/src/elevenlabs/types/list_products_params_smb_tool_type.py new file mode 100644 index 00000000..f8bee738 --- /dev/null +++ b/src/elevenlabs/types/list_products_params_smb_tool_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ListProductsParamsSmbToolType = typing.Union[typing.Literal["list_products"], typing.Any] diff --git a/src/elevenlabs/types/list_rental_services_params.py b/src/elevenlabs/types/list_rental_services_params.py index 6f34d315..d6c97e90 100644 --- a/src/elevenlabs/types/list_rental_services_params.py +++ b/src/elevenlabs/types/list_rental_services_params.py @@ -5,11 +5,12 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .list_rental_services_params_smb_tool_type import ListRentalServicesParamsSmbToolType class ListRentalServicesParams(UncheckedBaseModel): list_kwargs: typing.Optional[typing.Dict[str, typing.Any]] = None - smb_tool_type: typing.Optional[typing.Literal["list_rental_services"]] = None + smb_tool_type: typing.Optional[ListRentalServicesParamsSmbToolType] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/elevenlabs/types/list_rental_services_params_smb_tool_type.py b/src/elevenlabs/types/list_rental_services_params_smb_tool_type.py new file mode 100644 index 00000000..992780ba --- /dev/null +++ b/src/elevenlabs/types/list_rental_services_params_smb_tool_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ListRentalServicesParamsSmbToolType = typing.Union[typing.Literal["list_rental_services"], typing.Any] diff --git a/src/elevenlabs/types/list_services_params.py b/src/elevenlabs/types/list_services_params.py index 338395b9..2af5118e 100644 --- a/src/elevenlabs/types/list_services_params.py +++ b/src/elevenlabs/types/list_services_params.py @@ -5,11 +5,12 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .list_services_params_smb_tool_type import ListServicesParamsSmbToolType class ListServicesParams(UncheckedBaseModel): list_kwargs: typing.Optional[typing.Dict[str, typing.Any]] = None - smb_tool_type: typing.Optional[typing.Literal["list_services"]] = None + smb_tool_type: typing.Optional[ListServicesParamsSmbToolType] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/elevenlabs/types/list_services_params_smb_tool_type.py b/src/elevenlabs/types/list_services_params_smb_tool_type.py new file mode 100644 index 00000000..cd8061e4 --- /dev/null +++ b/src/elevenlabs/types/list_services_params_smb_tool_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ListServicesParamsSmbToolType = typing.Union[typing.Literal["list_services"], typing.Any] diff --git a/src/elevenlabs/types/list_staff_params.py b/src/elevenlabs/types/list_staff_params.py index 0a9bad1c..df127b36 100644 --- a/src/elevenlabs/types/list_staff_params.py +++ b/src/elevenlabs/types/list_staff_params.py @@ -5,11 +5,12 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .list_staff_params_smb_tool_type import ListStaffParamsSmbToolType class ListStaffParams(UncheckedBaseModel): list_kwargs: typing.Optional[typing.Dict[str, typing.Any]] = None - smb_tool_type: typing.Optional[typing.Literal["list_staff"]] = None + smb_tool_type: typing.Optional[ListStaffParamsSmbToolType] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/elevenlabs/types/list_staff_params_smb_tool_type.py b/src/elevenlabs/types/list_staff_params_smb_tool_type.py new file mode 100644 index 00000000..7b47be43 --- /dev/null +++ b/src/elevenlabs/types/list_staff_params_smb_tool_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ListStaffParamsSmbToolType = typing.Union[typing.Literal["list_staff"], typing.Any] diff --git a/src/elevenlabs/types/multipart_music_response.py b/src/elevenlabs/types/multipart_music_response.py index ab51af9c..f51df480 100644 --- a/src/elevenlabs/types/multipart_music_response.py +++ b/src/elevenlabs/types/multipart_music_response.py @@ -18,7 +18,7 @@ class MultipartMusicResponse(UncheckedBaseModel): JSON metadata about the generated audio """ - audio: str = pydantic.Field() + audio: bytes = pydantic.Field() """ Binary audio data in the requested format """ diff --git a/src/elevenlabs/types/no_coaching_settings.py b/src/elevenlabs/types/no_coaching_settings.py index 01fb7433..7c49f44f 100644 --- a/src/elevenlabs/types/no_coaching_settings.py +++ b/src/elevenlabs/types/no_coaching_settings.py @@ -5,10 +5,11 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .no_coaching_settings_type import NoCoachingSettingsType class NoCoachingSettings(UncheckedBaseModel): - type: typing.Optional[typing.Literal["none"]] = None + type: typing.Optional[NoCoachingSettingsType] = None memory_base_id: typing.Optional[str] = None if IS_PYDANTIC_V2: diff --git a/src/elevenlabs/types/no_coaching_settings_type.py b/src/elevenlabs/types/no_coaching_settings_type.py new file mode 100644 index 00000000..7c142173 --- /dev/null +++ b/src/elevenlabs/types/no_coaching_settings_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +NoCoachingSettingsType = typing.Union[typing.Literal["none"], typing.Any] diff --git a/src/elevenlabs/types/normalized_alignment.py b/src/elevenlabs/types/normalized_alignment.py index 29913180..18329c6d 100644 --- a/src/elevenlabs/types/normalized_alignment.py +++ b/src/elevenlabs/types/normalized_alignment.py @@ -15,25 +15,21 @@ class NormalizedAlignment(UncheckedBaseModel): """ char_start_times_ms: typing_extensions.Annotated[ - typing.Optional[typing.List[int]], FieldMetadata(alias="charStartTimesMs") - ] = pydantic.Field(default=None) - """ - A list of starting times (in milliseconds) for each character in the normalized text as it - corresponds to the audio. For instance, the character 'H' starts at time 0 ms in the audio. - Note these times are relative to the returned chunk from the model, and not the - full audio response. - """ - + typing.Optional[typing.List[int]], + FieldMetadata(alias="charStartTimesMs"), + pydantic.Field( + alias="charStartTimesMs", + description="A list of starting times (in milliseconds) for each character in the normalized text as it\ncorresponds to the audio. For instance, the character 'H' starts at time 0 ms in the audio.\nNote these times are relative to the returned chunk from the model, and not the\nfull audio response.", + ), + ] = None char_durations_ms: typing_extensions.Annotated[ - typing.Optional[typing.List[int]], FieldMetadata(alias="charDurationsMs") - ] = pydantic.Field(default=None) - """ - A list of durations (in milliseconds) for each character in the normalized text as it - corresponds to the audio. For instance, the character 'H' lasts for 3 ms in the audio. - Note these times are relative to the returned chunk from the model, and not the - full audio response. - """ - + typing.Optional[typing.List[int]], + FieldMetadata(alias="charDurationsMs"), + pydantic.Field( + alias="charDurationsMs", + description="A list of durations (in milliseconds) for each character in the normalized text as it\ncorresponds to the audio. For instance, the character 'H' lasts for 3 ms in the audio.\nNote these times are relative to the returned chunk from the model, and not the\nfull audio response.", + ), + ] = None chars: typing.Optional[typing.List[str]] = pydantic.Field(default=None) """ A list of characters in the normalized text sequence. For instance, the first character is 'H'. diff --git a/src/elevenlabs/types/object_json_schema_property_input.py b/src/elevenlabs/types/object_json_schema_property_input.py index 9998c050..b2efbcec 100644 --- a/src/elevenlabs/types/object_json_schema_property_input.py +++ b/src/elevenlabs/types/object_json_schema_property_input.py @@ -7,11 +7,12 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs from ..core.unchecked_base_model import UncheckedBaseModel +from .object_json_schema_property_input_type import ObjectJsonSchemaPropertyInputType from .required_constraints import RequiredConstraints class ObjectJsonSchemaPropertyInput(UncheckedBaseModel): - type: typing.Optional[typing.Literal["object"]] = None + type: typing.Optional[ObjectJsonSchemaPropertyInputType] = None required: typing.Optional[typing.List[str]] = None description: typing.Optional[str] = None properties: typing.Optional[typing.Dict[str, "ObjectJsonSchemaPropertyInputPropertiesValue"]] = None @@ -28,6 +29,12 @@ class Config: from .array_json_schema_property_input import ArrayJsonSchemaPropertyInput # noqa: E402, I001 +from .array_json_schema_property_input_items import ArrayJsonSchemaPropertyInputItems # noqa: E402, I001 from .object_json_schema_property_input_properties_value import ObjectJsonSchemaPropertyInputPropertiesValue # noqa: E402, I001 -update_forward_refs(ObjectJsonSchemaPropertyInput, ArrayJsonSchemaPropertyInput=ArrayJsonSchemaPropertyInput) +update_forward_refs( + ObjectJsonSchemaPropertyInput, + ArrayJsonSchemaPropertyInput=ArrayJsonSchemaPropertyInput, + ArrayJsonSchemaPropertyInputItems=ArrayJsonSchemaPropertyInputItems, + ObjectJsonSchemaPropertyInputPropertiesValue=ObjectJsonSchemaPropertyInputPropertiesValue, +) diff --git a/src/elevenlabs/types/object_json_schema_property_input_type.py b/src/elevenlabs/types/object_json_schema_property_input_type.py new file mode 100644 index 00000000..e8f02643 --- /dev/null +++ b/src/elevenlabs/types/object_json_schema_property_input_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ObjectJsonSchemaPropertyInputType = typing.Union[typing.Literal["object"], typing.Any] diff --git a/src/elevenlabs/types/object_json_schema_property_output.py b/src/elevenlabs/types/object_json_schema_property_output.py index e2e208e8..2023ca6d 100644 --- a/src/elevenlabs/types/object_json_schema_property_output.py +++ b/src/elevenlabs/types/object_json_schema_property_output.py @@ -7,11 +7,12 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs from ..core.unchecked_base_model import UncheckedBaseModel +from .object_json_schema_property_output_type import ObjectJsonSchemaPropertyOutputType from .required_constraints import RequiredConstraints class ObjectJsonSchemaPropertyOutput(UncheckedBaseModel): - type: typing.Optional[typing.Literal["object"]] = None + type: typing.Optional[ObjectJsonSchemaPropertyOutputType] = None required: typing.Optional[typing.List[str]] = None description: typing.Optional[str] = None properties: typing.Optional[typing.Dict[str, "ObjectJsonSchemaPropertyOutputPropertiesValue"]] = None @@ -28,6 +29,12 @@ class Config: from .array_json_schema_property_output import ArrayJsonSchemaPropertyOutput # noqa: E402, I001 +from .array_json_schema_property_output_items import ArrayJsonSchemaPropertyOutputItems # noqa: E402, I001 from .object_json_schema_property_output_properties_value import ObjectJsonSchemaPropertyOutputPropertiesValue # noqa: E402, I001 -update_forward_refs(ObjectJsonSchemaPropertyOutput, ArrayJsonSchemaPropertyOutput=ArrayJsonSchemaPropertyOutput) +update_forward_refs( + ObjectJsonSchemaPropertyOutput, + ArrayJsonSchemaPropertyOutput=ArrayJsonSchemaPropertyOutput, + ArrayJsonSchemaPropertyOutputItems=ArrayJsonSchemaPropertyOutputItems, + ObjectJsonSchemaPropertyOutputPropertiesValue=ObjectJsonSchemaPropertyOutputPropertiesValue, +) diff --git a/src/elevenlabs/types/object_json_schema_property_output_type.py b/src/elevenlabs/types/object_json_schema_property_output_type.py new file mode 100644 index 00000000..5bf5d634 --- /dev/null +++ b/src/elevenlabs/types/object_json_schema_property_output_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ObjectJsonSchemaPropertyOutputType = typing.Union[typing.Literal["object"], typing.Any] diff --git a/src/elevenlabs/types/object_override_input.py b/src/elevenlabs/types/object_override_input.py index 3af58f0d..f066f431 100644 --- a/src/elevenlabs/types/object_override_input.py +++ b/src/elevenlabs/types/object_override_input.py @@ -5,7 +5,7 @@ import typing import pydantic -from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs from ..core.unchecked_base_model import UncheckedBaseModel @@ -25,3 +25,5 @@ class Config: from .object_override_input_properties_value import ObjectOverrideInputPropertiesValue # noqa: E402, I001 + +update_forward_refs(ObjectOverrideInput, ObjectOverrideInputPropertiesValue=ObjectOverrideInputPropertiesValue) diff --git a/src/elevenlabs/types/object_override_output.py b/src/elevenlabs/types/object_override_output.py index c832ac66..53f0f771 100644 --- a/src/elevenlabs/types/object_override_output.py +++ b/src/elevenlabs/types/object_override_output.py @@ -5,7 +5,7 @@ import typing import pydantic -from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs from ..core.unchecked_base_model import UncheckedBaseModel @@ -25,3 +25,5 @@ class Config: from .object_override_output_properties_value import ObjectOverrideOutputPropertiesValue # noqa: E402, I001 + +update_forward_refs(ObjectOverrideOutput, ObjectOverrideOutputPropertiesValue=ObjectOverrideOutputPropertiesValue) diff --git a/src/elevenlabs/types/pending_cancellation_response_model.py b/src/elevenlabs/types/pending_cancellation_response_model.py index f73194f5..a313140e 100644 --- a/src/elevenlabs/types/pending_cancellation_response_model.py +++ b/src/elevenlabs/types/pending_cancellation_response_model.py @@ -5,10 +5,11 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .pending_cancellation_response_model_kind import PendingCancellationResponseModelKind class PendingCancellationResponseModel(UncheckedBaseModel): - kind: typing.Optional[typing.Literal["cancellation"]] = None + kind: typing.Optional[PendingCancellationResponseModelKind] = None timestamp_seconds: int = pydantic.Field() """ The timestamp of the cancellation. diff --git a/src/elevenlabs/types/pending_cancellation_response_model_kind.py b/src/elevenlabs/types/pending_cancellation_response_model_kind.py new file mode 100644 index 00000000..8b013082 --- /dev/null +++ b/src/elevenlabs/types/pending_cancellation_response_model_kind.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +PendingCancellationResponseModelKind = typing.Union[typing.Literal["cancellation"], typing.Any] diff --git a/src/elevenlabs/types/pending_subscription_switch_response_model.py b/src/elevenlabs/types/pending_subscription_switch_response_model.py index a1cbd88d..08b693ff 100644 --- a/src/elevenlabs/types/pending_subscription_switch_response_model.py +++ b/src/elevenlabs/types/pending_subscription_switch_response_model.py @@ -6,11 +6,12 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel from .billing_period import BillingPeriod +from .pending_subscription_switch_response_model_kind import PendingSubscriptionSwitchResponseModelKind from .pending_subscription_switch_response_model_next_tier import PendingSubscriptionSwitchResponseModelNextTier class PendingSubscriptionSwitchResponseModel(UncheckedBaseModel): - kind: typing.Optional[typing.Literal["change"]] = None + kind: typing.Optional[PendingSubscriptionSwitchResponseModelKind] = None next_tier: PendingSubscriptionSwitchResponseModelNextTier = pydantic.Field() """ The tier to change to. diff --git a/src/elevenlabs/types/pending_subscription_switch_response_model_kind.py b/src/elevenlabs/types/pending_subscription_switch_response_model_kind.py new file mode 100644 index 00000000..5eec765c --- /dev/null +++ b/src/elevenlabs/types/pending_subscription_switch_response_model_kind.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +PendingSubscriptionSwitchResponseModelKind = typing.Union[typing.Literal["change"], typing.Any] diff --git a/src/elevenlabs/types/play_dtmf_result_error_model.py b/src/elevenlabs/types/play_dtmf_result_error_model.py index 8340472b..7832dc36 100644 --- a/src/elevenlabs/types/play_dtmf_result_error_model.py +++ b/src/elevenlabs/types/play_dtmf_result_error_model.py @@ -5,10 +5,11 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .play_dtmf_result_error_model_status import PlayDtmfResultErrorModelStatus class PlayDtmfResultErrorModel(UncheckedBaseModel): - status: typing.Optional[typing.Literal["error"]] = None + status: typing.Optional[PlayDtmfResultErrorModelStatus] = None error: str details: typing.Optional[str] = None diff --git a/src/elevenlabs/types/play_dtmf_result_error_model_status.py b/src/elevenlabs/types/play_dtmf_result_error_model_status.py new file mode 100644 index 00000000..87f65173 --- /dev/null +++ b/src/elevenlabs/types/play_dtmf_result_error_model_status.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +PlayDtmfResultErrorModelStatus = typing.Union[typing.Literal["error"], typing.Any] diff --git a/src/elevenlabs/types/play_dtmf_result_success_model.py b/src/elevenlabs/types/play_dtmf_result_success_model.py index c26cc6f3..95246af7 100644 --- a/src/elevenlabs/types/play_dtmf_result_success_model.py +++ b/src/elevenlabs/types/play_dtmf_result_success_model.py @@ -5,10 +5,11 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .play_dtmf_result_success_model_status import PlayDtmfResultSuccessModelStatus class PlayDtmfResultSuccessModel(UncheckedBaseModel): - status: typing.Optional[typing.Literal["success"]] = None + status: typing.Optional[PlayDtmfResultSuccessModelStatus] = None dtmf_tones: str reason: typing.Optional[str] = None diff --git a/src/elevenlabs/types/play_dtmf_result_success_model_status.py b/src/elevenlabs/types/play_dtmf_result_success_model_status.py new file mode 100644 index 00000000..7cba7d38 --- /dev/null +++ b/src/elevenlabs/types/play_dtmf_result_success_model_status.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +PlayDtmfResultSuccessModelStatus = typing.Union[typing.Literal["success"], typing.Any] diff --git a/src/elevenlabs/types/play_dtmf_tool_config.py b/src/elevenlabs/types/play_dtmf_tool_config.py index f921bebe..e2846790 100644 --- a/src/elevenlabs/types/play_dtmf_tool_config.py +++ b/src/elevenlabs/types/play_dtmf_tool_config.py @@ -17,7 +17,12 @@ class PlayDtmfToolConfig(UncheckedBaseModel): use_out_of_band_dtmf: typing.Optional[bool] = pydantic.Field(default=None) """ - If true, send DTMF tones out-of-band using RFC 4733 (useful for SIP calls only). If false, send DTMF as in-band audio tones (default, works for all call types). + If true, send DTMF tones out-of-band using RFC 4733 (useful for SIP calls only). If false, send DTMF as in-band audio tones (works for all call types). + """ + + suppress_turn_after_dtmf: typing.Optional[bool] = pydantic.Field(default=None) + """ + If true, the agent will not generate further speech after playing DTMF tones. This prevents the agent's speech from interfering with IVR systems. """ if IS_PYDANTIC_V2: diff --git a/src/elevenlabs/types/podcast_text_source.py b/src/elevenlabs/types/podcast_text_source.py index e2df8d91..59f8ae33 100644 --- a/src/elevenlabs/types/podcast_text_source.py +++ b/src/elevenlabs/types/podcast_text_source.py @@ -5,10 +5,11 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .podcast_text_source_type import PodcastTextSourceType class PodcastTextSource(UncheckedBaseModel): - type: typing.Literal["text"] = pydantic.Field(default="text") + type: PodcastTextSourceType = pydantic.Field() """ The type of source to create. """ diff --git a/src/elevenlabs/types/podcast_text_source_type.py b/src/elevenlabs/types/podcast_text_source_type.py new file mode 100644 index 00000000..71679920 --- /dev/null +++ b/src/elevenlabs/types/podcast_text_source_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +PodcastTextSourceType = typing.Union[typing.Literal["text"], typing.Any] diff --git a/src/elevenlabs/types/podcast_url_source.py b/src/elevenlabs/types/podcast_url_source.py index f5125692..d507ade8 100644 --- a/src/elevenlabs/types/podcast_url_source.py +++ b/src/elevenlabs/types/podcast_url_source.py @@ -5,10 +5,11 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .podcast_url_source_type import PodcastUrlSourceType class PodcastUrlSource(UncheckedBaseModel): - type: typing.Literal["url"] = pydantic.Field(default="url") + type: PodcastUrlSourceType = pydantic.Field() """ The type of source to create. """ diff --git a/src/elevenlabs/types/podcast_url_source_type.py b/src/elevenlabs/types/podcast_url_source_type.py new file mode 100644 index 00000000..4e722285 --- /dev/null +++ b/src/elevenlabs/types/podcast_url_source_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +PodcastUrlSourceType = typing.Union[typing.Literal["url"], typing.Any] diff --git a/src/elevenlabs/types/post_workspace_secret_response_model.py b/src/elevenlabs/types/post_workspace_secret_response_model.py index e85d673b..9aba2649 100644 --- a/src/elevenlabs/types/post_workspace_secret_response_model.py +++ b/src/elevenlabs/types/post_workspace_secret_response_model.py @@ -5,10 +5,11 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .post_workspace_secret_response_model_type import PostWorkspaceSecretResponseModelType class PostWorkspaceSecretResponseModel(UncheckedBaseModel): - type: typing.Literal["stored"] = "stored" + type: PostWorkspaceSecretResponseModelType secret_id: str name: str diff --git a/src/elevenlabs/types/post_workspace_secret_response_model_type.py b/src/elevenlabs/types/post_workspace_secret_response_model_type.py new file mode 100644 index 00000000..f700c28c --- /dev/null +++ b/src/elevenlabs/types/post_workspace_secret_response_model_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +PostWorkspaceSecretResponseModelType = typing.Union[typing.Literal["stored"], typing.Any] diff --git a/src/elevenlabs/types/preview_audio_db_model.py b/src/elevenlabs/types/preview_audio_db_model.py index 1a85e5ab..713d8c03 100644 --- a/src/elevenlabs/types/preview_audio_db_model.py +++ b/src/elevenlabs/types/preview_audio_db_model.py @@ -11,6 +11,8 @@ class PreviewAudioDbModel(UncheckedBaseModel): voice_id: str text: str audio_url: str + hls_manifest_url: typing.Optional[str] = None + dash_manifest_url: typing.Optional[str] = None is_auto_generated: typing.Optional[bool] = None generated_at_unix: typing.Optional[int] = None diff --git a/src/elevenlabs/types/project_extended_response_model_assets_item.py b/src/elevenlabs/types/project_extended_response_model_assets_item.py index 95e6f0a3..0da1a1b3 100644 --- a/src/elevenlabs/types/project_extended_response_model_assets_item.py +++ b/src/elevenlabs/types/project_extended_response_model_assets_item.py @@ -13,6 +13,7 @@ from .generation_source_context import GenerationSourceContext from .pending_clip_task import PendingClipTask from .project_external_audio_response_model_source_context import ProjectExternalAudioResponseModelSourceContext +from .project_image_response_model_source import ProjectImageResponseModelSource from .project_video_thumbnail_sheet_response_model import ProjectVideoThumbnailSheetResponseModel from .video_analysis import VideoAnalysis @@ -74,7 +75,7 @@ class ProjectExtendedResponseModelAssetsItem_Audio(UncheckedBaseModel): type: typing.Literal["audio"] = "audio" external_audio_id: str filename: str - signed_url: str + signed_url: typing.Optional[str] = None offset_ms: int duration_ms: int start_time_ms: int @@ -93,6 +94,7 @@ class ProjectExtendedResponseModelAssetsItem_Audio(UncheckedBaseModel): pending_external_audio_ids: typing.List[str] speech_imported: typing.Optional[bool] = None pending_task: typing.Optional[PendingClipTask] = None + error: typing.Optional[str] = None current_snapshot_id: typing.Optional[str] = None source_context: typing.Optional[ProjectExternalAudioResponseModelSourceContext] = None import_speech_progress: typing.Optional[float] = None @@ -113,7 +115,7 @@ class ProjectExtendedResponseModelAssetsItem_Image(UncheckedBaseModel): filename: str signed_url: str thumbnail_signed_url: str - source: typing.Optional[typing.Literal["upload"]] = None + source: typing.Optional[ProjectImageResponseModelSource] = None file_size_bytes: int width: int height: int diff --git a/src/elevenlabs/types/project_external_audio_response_model.py b/src/elevenlabs/types/project_external_audio_response_model.py index 176c120b..d76639d4 100644 --- a/src/elevenlabs/types/project_external_audio_response_model.py +++ b/src/elevenlabs/types/project_external_audio_response_model.py @@ -12,7 +12,7 @@ class ProjectExternalAudioResponseModel(UncheckedBaseModel): external_audio_id: str filename: str - signed_url: str + signed_url: typing.Optional[str] = None offset_ms: int duration_ms: int start_time_ms: int @@ -31,6 +31,7 @@ class ProjectExternalAudioResponseModel(UncheckedBaseModel): pending_external_audio_ids: typing.List[str] speech_imported: typing.Optional[bool] = None pending_task: typing.Optional[PendingClipTask] = None + error: typing.Optional[str] = None current_snapshot_id: typing.Optional[str] = None source_context: typing.Optional[ProjectExternalAudioResponseModelSourceContext] = None import_speech_progress: typing.Optional[float] = None diff --git a/src/elevenlabs/types/project_image_response_model.py b/src/elevenlabs/types/project_image_response_model.py index b65e2d28..ef2bf639 100644 --- a/src/elevenlabs/types/project_image_response_model.py +++ b/src/elevenlabs/types/project_image_response_model.py @@ -7,6 +7,7 @@ from ..core.unchecked_base_model import UncheckedBaseModel from .canvas_placement import CanvasPlacement from .clip_animation import ClipAnimation +from .project_image_response_model_source import ProjectImageResponseModelSource class ProjectImageResponseModel(UncheckedBaseModel): @@ -14,7 +15,7 @@ class ProjectImageResponseModel(UncheckedBaseModel): filename: str signed_url: str thumbnail_signed_url: str - source: typing.Optional[typing.Literal["upload"]] = None + source: typing.Optional[ProjectImageResponseModelSource] = None file_size_bytes: int width: int height: int diff --git a/src/elevenlabs/types/project_image_response_model_source.py b/src/elevenlabs/types/project_image_response_model_source.py new file mode 100644 index 00000000..20612a9a --- /dev/null +++ b/src/elevenlabs/types/project_image_response_model_source.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ProjectImageResponseModelSource = typing.Union[typing.Literal["upload"], typing.Any] diff --git a/src/elevenlabs/types/prompt_agent_api_model_input_tools_item.py b/src/elevenlabs/types/prompt_agent_api_model_input_tools_item.py index c7335266..9a856f0e 100644 --- a/src/elevenlabs/types/prompt_agent_api_model_input_tools_item.py +++ b/src/elevenlabs/types/prompt_agent_api_model_input_tools_item.py @@ -163,8 +163,6 @@ class Config: extra = pydantic.Extra.allow -from .object_json_schema_property_input import ObjectJsonSchemaPropertyInput # noqa: E402, I001 - PromptAgentApiModelInputToolsItem = typing_extensions.Annotated[ typing.Union[ PromptAgentApiModelInputToolsItem_ApiIntegrationWebhook, @@ -176,6 +174,17 @@ class Config: ], UnionMetadata(discriminant="type"), ] +from .array_json_schema_property_input import ArrayJsonSchemaPropertyInput # noqa: E402, I001 +from .array_json_schema_property_input_items import ArrayJsonSchemaPropertyInputItems # noqa: E402, I001 +from .object_json_schema_property_input import ObjectJsonSchemaPropertyInput # noqa: E402, I001 +from .object_json_schema_property_input_properties_value import ObjectJsonSchemaPropertyInputPropertiesValue # noqa: E402, I001 + update_forward_refs(PromptAgentApiModelInputToolsItem_ApiIntegrationWebhook) -update_forward_refs(PromptAgentApiModelInputToolsItem_Client) +update_forward_refs( + PromptAgentApiModelInputToolsItem_Client, + ArrayJsonSchemaPropertyInput=ArrayJsonSchemaPropertyInput, + ArrayJsonSchemaPropertyInputItems=ArrayJsonSchemaPropertyInputItems, + ObjectJsonSchemaPropertyInput=ObjectJsonSchemaPropertyInput, + ObjectJsonSchemaPropertyInputPropertiesValue=ObjectJsonSchemaPropertyInputPropertiesValue, +) update_forward_refs(PromptAgentApiModelInputToolsItem_Webhook) diff --git a/src/elevenlabs/types/prompt_agent_api_model_output_tools_item.py b/src/elevenlabs/types/prompt_agent_api_model_output_tools_item.py index 929b8129..9f77f618 100644 --- a/src/elevenlabs/types/prompt_agent_api_model_output_tools_item.py +++ b/src/elevenlabs/types/prompt_agent_api_model_output_tools_item.py @@ -163,8 +163,6 @@ class Config: extra = pydantic.Extra.allow -from .object_json_schema_property_output import ObjectJsonSchemaPropertyOutput # noqa: E402, I001 - PromptAgentApiModelOutputToolsItem = typing_extensions.Annotated[ typing.Union[ PromptAgentApiModelOutputToolsItem_ApiIntegrationWebhook, @@ -176,6 +174,17 @@ class Config: ], UnionMetadata(discriminant="type"), ] +from .array_json_schema_property_output import ArrayJsonSchemaPropertyOutput # noqa: E402, I001 +from .array_json_schema_property_output_items import ArrayJsonSchemaPropertyOutputItems # noqa: E402, I001 +from .object_json_schema_property_output import ObjectJsonSchemaPropertyOutput # noqa: E402, I001 +from .object_json_schema_property_output_properties_value import ObjectJsonSchemaPropertyOutputPropertiesValue # noqa: E402, I001 + update_forward_refs(PromptAgentApiModelOutputToolsItem_ApiIntegrationWebhook) -update_forward_refs(PromptAgentApiModelOutputToolsItem_Client) +update_forward_refs( + PromptAgentApiModelOutputToolsItem_Client, + ArrayJsonSchemaPropertyOutput=ArrayJsonSchemaPropertyOutput, + ArrayJsonSchemaPropertyOutputItems=ArrayJsonSchemaPropertyOutputItems, + ObjectJsonSchemaPropertyOutput=ObjectJsonSchemaPropertyOutput, + ObjectJsonSchemaPropertyOutputPropertiesValue=ObjectJsonSchemaPropertyOutputPropertiesValue, +) update_forward_refs(PromptAgentApiModelOutputToolsItem_Webhook) diff --git a/src/elevenlabs/types/prompt_agent_api_model_workflow_override_input_tools_item.py b/src/elevenlabs/types/prompt_agent_api_model_workflow_override_input_tools_item.py index d4767a11..c0229315 100644 --- a/src/elevenlabs/types/prompt_agent_api_model_workflow_override_input_tools_item.py +++ b/src/elevenlabs/types/prompt_agent_api_model_workflow_override_input_tools_item.py @@ -163,8 +163,6 @@ class Config: extra = pydantic.Extra.allow -from .object_json_schema_property_input import ObjectJsonSchemaPropertyInput # noqa: E402, I001 - PromptAgentApiModelWorkflowOverrideInputToolsItem = typing_extensions.Annotated[ typing.Union[ PromptAgentApiModelWorkflowOverrideInputToolsItem_ApiIntegrationWebhook, @@ -176,6 +174,17 @@ class Config: ], UnionMetadata(discriminant="type"), ] +from .array_json_schema_property_input import ArrayJsonSchemaPropertyInput # noqa: E402, I001 +from .array_json_schema_property_input_items import ArrayJsonSchemaPropertyInputItems # noqa: E402, I001 +from .object_json_schema_property_input import ObjectJsonSchemaPropertyInput # noqa: E402, I001 +from .object_json_schema_property_input_properties_value import ObjectJsonSchemaPropertyInputPropertiesValue # noqa: E402, I001 + update_forward_refs(PromptAgentApiModelWorkflowOverrideInputToolsItem_ApiIntegrationWebhook) -update_forward_refs(PromptAgentApiModelWorkflowOverrideInputToolsItem_Client) +update_forward_refs( + PromptAgentApiModelWorkflowOverrideInputToolsItem_Client, + ArrayJsonSchemaPropertyInput=ArrayJsonSchemaPropertyInput, + ArrayJsonSchemaPropertyInputItems=ArrayJsonSchemaPropertyInputItems, + ObjectJsonSchemaPropertyInput=ObjectJsonSchemaPropertyInput, + ObjectJsonSchemaPropertyInputPropertiesValue=ObjectJsonSchemaPropertyInputPropertiesValue, +) update_forward_refs(PromptAgentApiModelWorkflowOverrideInputToolsItem_Webhook) diff --git a/src/elevenlabs/types/prompt_agent_api_model_workflow_override_output_tools_item.py b/src/elevenlabs/types/prompt_agent_api_model_workflow_override_output_tools_item.py index e3dc05ab..b88e1ae6 100644 --- a/src/elevenlabs/types/prompt_agent_api_model_workflow_override_output_tools_item.py +++ b/src/elevenlabs/types/prompt_agent_api_model_workflow_override_output_tools_item.py @@ -163,8 +163,6 @@ class Config: extra = pydantic.Extra.allow -from .object_json_schema_property_output import ObjectJsonSchemaPropertyOutput # noqa: E402, I001 - PromptAgentApiModelWorkflowOverrideOutputToolsItem = typing_extensions.Annotated[ typing.Union[ PromptAgentApiModelWorkflowOverrideOutputToolsItem_ApiIntegrationWebhook, @@ -176,6 +174,17 @@ class Config: ], UnionMetadata(discriminant="type"), ] +from .array_json_schema_property_output import ArrayJsonSchemaPropertyOutput # noqa: E402, I001 +from .array_json_schema_property_output_items import ArrayJsonSchemaPropertyOutputItems # noqa: E402, I001 +from .object_json_schema_property_output import ObjectJsonSchemaPropertyOutput # noqa: E402, I001 +from .object_json_schema_property_output_properties_value import ObjectJsonSchemaPropertyOutputPropertiesValue # noqa: E402, I001 + update_forward_refs(PromptAgentApiModelWorkflowOverrideOutputToolsItem_ApiIntegrationWebhook) -update_forward_refs(PromptAgentApiModelWorkflowOverrideOutputToolsItem_Client) +update_forward_refs( + PromptAgentApiModelWorkflowOverrideOutputToolsItem_Client, + ArrayJsonSchemaPropertyOutput=ArrayJsonSchemaPropertyOutput, + ArrayJsonSchemaPropertyOutputItems=ArrayJsonSchemaPropertyOutputItems, + ObjectJsonSchemaPropertyOutput=ObjectJsonSchemaPropertyOutput, + ObjectJsonSchemaPropertyOutputPropertiesValue=ObjectJsonSchemaPropertyOutputPropertiesValue, +) update_forward_refs(PromptAgentApiModelWorkflowOverrideOutputToolsItem_Webhook) diff --git a/src/elevenlabs/types/prompt_evaluation_criteria.py b/src/elevenlabs/types/prompt_evaluation_criteria.py index c1e6cab9..0b299fd4 100644 --- a/src/elevenlabs/types/prompt_evaluation_criteria.py +++ b/src/elevenlabs/types/prompt_evaluation_criteria.py @@ -5,6 +5,7 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .prompt_evaluation_criteria_type import PromptEvaluationCriteriaType class PromptEvaluationCriteria(UncheckedBaseModel): @@ -18,7 +19,7 @@ class PromptEvaluationCriteria(UncheckedBaseModel): """ name: str - type: typing.Optional[typing.Literal["prompt"]] = pydantic.Field(default=None) + type: typing.Optional[PromptEvaluationCriteriaType] = pydantic.Field(default=None) """ The type of evaluation criteria """ diff --git a/src/elevenlabs/types/prompt_evaluation_criteria_type.py b/src/elevenlabs/types/prompt_evaluation_criteria_type.py new file mode 100644 index 00000000..07c1d346 --- /dev/null +++ b/src/elevenlabs/types/prompt_evaluation_criteria_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +PromptEvaluationCriteriaType = typing.Union[typing.Literal["prompt"], typing.Any] diff --git a/src/elevenlabs/types/response_filter.py b/src/elevenlabs/types/response_filter.py index 689d8c4d..0ede9529 100644 --- a/src/elevenlabs/types/response_filter.py +++ b/src/elevenlabs/types/response_filter.py @@ -5,6 +5,7 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .response_filter_content_type import ResponseFilterContentType from .response_filter_mode import ResponseFilterMode @@ -23,7 +24,7 @@ class ResponseFilter(UncheckedBaseModel): Dot notation paths to include when mode is 'allow' (e.g., ['ticket.id', 'ticket.status']). """ - content_type: typing.Optional[typing.Literal["application/json"]] = pydantic.Field(default=None) + content_type: typing.Optional[ResponseFilterContentType] = pydantic.Field(default=None) """ Content type for response filtering. Only 'application/json' responses are filtered. """ diff --git a/src/elevenlabs/types/response_filter_content_type.py b/src/elevenlabs/types/response_filter_content_type.py new file mode 100644 index 00000000..54b84766 --- /dev/null +++ b/src/elevenlabs/types/response_filter_content_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ResponseFilterContentType = typing.Union[typing.Literal["application/json"], typing.Any] diff --git a/src/elevenlabs/types/say_node_literal_message_input.py b/src/elevenlabs/types/say_node_literal_message_input.py index 714a4aac..b6cea256 100644 --- a/src/elevenlabs/types/say_node_literal_message_input.py +++ b/src/elevenlabs/types/say_node_literal_message_input.py @@ -5,10 +5,11 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .say_node_literal_message_input_type import SayNodeLiteralMessageInputType class SayNodeLiteralMessageInput(UncheckedBaseModel): - type: typing.Optional[typing.Literal["literal"]] = None + type: typing.Optional[SayNodeLiteralMessageInputType] = None text: str = pydantic.Field() """ Literal text message to be spoken by the agent. diff --git a/src/elevenlabs/types/say_node_literal_message_input_type.py b/src/elevenlabs/types/say_node_literal_message_input_type.py new file mode 100644 index 00000000..8d583751 --- /dev/null +++ b/src/elevenlabs/types/say_node_literal_message_input_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +SayNodeLiteralMessageInputType = typing.Union[typing.Literal["literal"], typing.Any] diff --git a/src/elevenlabs/types/say_node_literal_message_output.py b/src/elevenlabs/types/say_node_literal_message_output.py index 3af729e0..1157e9f6 100644 --- a/src/elevenlabs/types/say_node_literal_message_output.py +++ b/src/elevenlabs/types/say_node_literal_message_output.py @@ -5,10 +5,11 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .say_node_literal_message_output_type import SayNodeLiteralMessageOutputType class SayNodeLiteralMessageOutput(UncheckedBaseModel): - type: typing.Literal["literal"] = "literal" + type: SayNodeLiteralMessageOutputType text: str = pydantic.Field() """ Literal text message to be spoken by the agent. diff --git a/src/elevenlabs/types/say_node_literal_message_output_type.py b/src/elevenlabs/types/say_node_literal_message_output_type.py new file mode 100644 index 00000000..90ba0679 --- /dev/null +++ b/src/elevenlabs/types/say_node_literal_message_output_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +SayNodeLiteralMessageOutputType = typing.Union[typing.Literal["literal"], typing.Any] diff --git a/src/elevenlabs/types/say_node_prompt_message_input.py b/src/elevenlabs/types/say_node_prompt_message_input.py index 63a1e2e9..901bc367 100644 --- a/src/elevenlabs/types/say_node_prompt_message_input.py +++ b/src/elevenlabs/types/say_node_prompt_message_input.py @@ -5,10 +5,11 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .say_node_prompt_message_input_type import SayNodePromptMessageInputType class SayNodePromptMessageInput(UncheckedBaseModel): - type: typing.Optional[typing.Literal["prompt"]] = None + type: typing.Optional[SayNodePromptMessageInputType] = None prompt: str = pydantic.Field() """ LLM prompt describing what message should be generated. diff --git a/src/elevenlabs/types/say_node_prompt_message_input_type.py b/src/elevenlabs/types/say_node_prompt_message_input_type.py new file mode 100644 index 00000000..1a00d325 --- /dev/null +++ b/src/elevenlabs/types/say_node_prompt_message_input_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +SayNodePromptMessageInputType = typing.Union[typing.Literal["prompt"], typing.Any] diff --git a/src/elevenlabs/types/say_node_prompt_message_output.py b/src/elevenlabs/types/say_node_prompt_message_output.py index 69d29b66..e0670ae2 100644 --- a/src/elevenlabs/types/say_node_prompt_message_output.py +++ b/src/elevenlabs/types/say_node_prompt_message_output.py @@ -5,10 +5,11 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .say_node_prompt_message_output_type import SayNodePromptMessageOutputType class SayNodePromptMessageOutput(UncheckedBaseModel): - type: typing.Literal["prompt"] = "prompt" + type: SayNodePromptMessageOutputType prompt: str = pydantic.Field() """ LLM prompt describing what message should be generated. diff --git a/src/elevenlabs/types/say_node_prompt_message_output_type.py b/src/elevenlabs/types/say_node_prompt_message_output_type.py new file mode 100644 index 00000000..062c5d2f --- /dev/null +++ b/src/elevenlabs/types/say_node_prompt_message_output_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +SayNodePromptMessageOutputType = typing.Union[typing.Literal["prompt"], typing.Any] diff --git a/src/elevenlabs/types/search_clients_params.py b/src/elevenlabs/types/search_clients_params.py index fd329079..c0617a4d 100644 --- a/src/elevenlabs/types/search_clients_params.py +++ b/src/elevenlabs/types/search_clients_params.py @@ -5,6 +5,7 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .search_clients_params_smb_tool_type import SearchClientsParamsSmbToolType class SearchClientsParams(UncheckedBaseModel): @@ -12,7 +13,7 @@ class SearchClientsParams(UncheckedBaseModel): Search for clients by name, phone number, or email. """ - smb_tool_type: typing.Optional[typing.Literal["search_clients"]] = None + smb_tool_type: typing.Optional[SearchClientsParamsSmbToolType] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/elevenlabs/types/search_clients_params_smb_tool_type.py b/src/elevenlabs/types/search_clients_params_smb_tool_type.py new file mode 100644 index 00000000..0894e112 --- /dev/null +++ b/src/elevenlabs/types/search_clients_params_smb_tool_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +SearchClientsParamsSmbToolType = typing.Union[typing.Literal["search_clients"], typing.Any] diff --git a/src/elevenlabs/types/single_test_run_request_model.py b/src/elevenlabs/types/single_test_run_request_model.py index a8697bbe..e8a0adb0 100644 --- a/src/elevenlabs/types/single_test_run_request_model.py +++ b/src/elevenlabs/types/single_test_run_request_model.py @@ -18,6 +18,16 @@ class SingleTestRunRequestModel(UncheckedBaseModel): ID of the workflow node to run the test on. If not provided, the test will be run on the agent's default workflow node. """ + root_folder_id: typing.Optional[str] = pydantic.Field(default=None) + """ + ID of the root folder to run the test on. If not provided, the test will be run on the agent's default folder. + """ + + root_folder_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Name of the root folder to run the test on. If not provided, the test will be run on the agent's default folder. + """ + if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 else: diff --git a/src/elevenlabs/types/skip_turn_tool_response_model.py b/src/elevenlabs/types/skip_turn_tool_response_model.py index d8416ffb..478c8268 100644 --- a/src/elevenlabs/types/skip_turn_tool_response_model.py +++ b/src/elevenlabs/types/skip_turn_tool_response_model.py @@ -5,10 +5,11 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .skip_turn_tool_response_model_status import SkipTurnToolResponseModelStatus class SkipTurnToolResponseModel(UncheckedBaseModel): - status: typing.Optional[typing.Literal["success"]] = None + status: typing.Optional[SkipTurnToolResponseModelStatus] = None reason: typing.Optional[str] = None if IS_PYDANTIC_V2: diff --git a/src/elevenlabs/types/skip_turn_tool_response_model_status.py b/src/elevenlabs/types/skip_turn_tool_response_model_status.py new file mode 100644 index 00000000..aec12369 --- /dev/null +++ b/src/elevenlabs/types/skip_turn_tool_response_model_status.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +SkipTurnToolResponseModelStatus = typing.Union[typing.Literal["success"], typing.Any] diff --git a/src/elevenlabs/types/streaming_audio_chunk_with_timestamps_and_voice_segments_response_model.py b/src/elevenlabs/types/streaming_audio_chunk_with_timestamps_and_voice_segments_response_model.py index f7efaeac..1d412ccf 100644 --- a/src/elevenlabs/types/streaming_audio_chunk_with_timestamps_and_voice_segments_response_model.py +++ b/src/elevenlabs/types/streaming_audio_chunk_with_timestamps_and_voice_segments_response_model.py @@ -12,11 +12,11 @@ class StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel(UncheckedBaseModel): - audio_base_64: typing_extensions.Annotated[str, FieldMetadata(alias="audio_base64")] = pydantic.Field() - """ - Base64 encoded audio data - """ - + audio_base_64: typing_extensions.Annotated[ + str, + FieldMetadata(alias="audio_base64"), + pydantic.Field(alias="audio_base64", description="Base64 encoded audio data"), + ] alignment: typing.Optional[CharacterAlignmentResponseModel] = pydantic.Field(default=None) """ Timestamp information for each character in the original text diff --git a/src/elevenlabs/types/streaming_audio_chunk_with_timestamps_response.py b/src/elevenlabs/types/streaming_audio_chunk_with_timestamps_response.py index 00de6c1e..6ef1a6e7 100644 --- a/src/elevenlabs/types/streaming_audio_chunk_with_timestamps_response.py +++ b/src/elevenlabs/types/streaming_audio_chunk_with_timestamps_response.py @@ -11,11 +11,11 @@ class StreamingAudioChunkWithTimestampsResponse(UncheckedBaseModel): - audio_base_64: typing_extensions.Annotated[str, FieldMetadata(alias="audio_base64")] = pydantic.Field() - """ - Base64 encoded audio data - """ - + audio_base_64: typing_extensions.Annotated[ + str, + FieldMetadata(alias="audio_base64"), + pydantic.Field(alias="audio_base64", description="Base64 encoded audio data"), + ] alignment: typing.Optional[CharacterAlignmentResponseModel] = pydantic.Field(default=None) """ Timestamp information for each character in the original text diff --git a/src/elevenlabs/types/system_tool_config_input.py b/src/elevenlabs/types/system_tool_config_input.py index 3bc57403..f2c65679 100644 --- a/src/elevenlabs/types/system_tool_config_input.py +++ b/src/elevenlabs/types/system_tool_config_input.py @@ -7,6 +7,7 @@ from ..core.unchecked_base_model import UncheckedBaseModel from .dynamic_variable_assignment import DynamicVariableAssignment from .system_tool_config_input_params import SystemToolConfigInputParams +from .system_tool_config_input_type import SystemToolConfigInputType from .tool_call_sound_behavior import ToolCallSoundBehavior from .tool_call_sound_type import ToolCallSoundType from .tool_error_handling_mode import ToolErrorHandlingMode @@ -17,7 +18,7 @@ class SystemToolConfigInput(UncheckedBaseModel): A system tool is a tool that is used to call a system method in the server """ - type: typing.Optional[typing.Literal["system"]] = pydantic.Field(default=None) + type: typing.Optional[SystemToolConfigInputType] = pydantic.Field(default=None) """ The type of tool """ diff --git a/src/elevenlabs/types/system_tool_config_input_params.py b/src/elevenlabs/types/system_tool_config_input_params.py index edb28f41..ad3e8b5a 100644 --- a/src/elevenlabs/types/system_tool_config_input_params.py +++ b/src/elevenlabs/types/system_tool_config_input_params.py @@ -106,6 +106,7 @@ class Config: class SystemToolConfigInputParams_PlayKeypadTouchTone(UncheckedBaseModel): system_tool_type: typing.Literal["play_keypad_touch_tone"] = "play_keypad_touch_tone" use_out_of_band_dtmf: typing.Optional[bool] = None + suppress_turn_after_dtmf: typing.Optional[bool] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/elevenlabs/types/system_tool_config_input_type.py b/src/elevenlabs/types/system_tool_config_input_type.py new file mode 100644 index 00000000..0acd94a0 --- /dev/null +++ b/src/elevenlabs/types/system_tool_config_input_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +SystemToolConfigInputType = typing.Union[typing.Literal["system"], typing.Any] diff --git a/src/elevenlabs/types/system_tool_config_output.py b/src/elevenlabs/types/system_tool_config_output.py index c6fea96b..48819148 100644 --- a/src/elevenlabs/types/system_tool_config_output.py +++ b/src/elevenlabs/types/system_tool_config_output.py @@ -7,6 +7,7 @@ from ..core.unchecked_base_model import UncheckedBaseModel from .dynamic_variable_assignment import DynamicVariableAssignment from .system_tool_config_output_params import SystemToolConfigOutputParams +from .system_tool_config_output_type import SystemToolConfigOutputType from .tool_call_sound_behavior import ToolCallSoundBehavior from .tool_call_sound_type import ToolCallSoundType from .tool_error_handling_mode import ToolErrorHandlingMode @@ -17,7 +18,7 @@ class SystemToolConfigOutput(UncheckedBaseModel): A system tool is a tool that is used to call a system method in the server """ - type: typing.Optional[typing.Literal["system"]] = pydantic.Field(default=None) + type: typing.Optional[SystemToolConfigOutputType] = pydantic.Field(default=None) """ The type of tool """ diff --git a/src/elevenlabs/types/system_tool_config_output_params.py b/src/elevenlabs/types/system_tool_config_output_params.py index c71847c6..a96f81fd 100644 --- a/src/elevenlabs/types/system_tool_config_output_params.py +++ b/src/elevenlabs/types/system_tool_config_output_params.py @@ -106,6 +106,7 @@ class Config: class SystemToolConfigOutputParams_PlayKeypadTouchTone(UncheckedBaseModel): system_tool_type: typing.Literal["play_keypad_touch_tone"] = "play_keypad_touch_tone" use_out_of_band_dtmf: typing.Optional[bool] = None + suppress_turn_after_dtmf: typing.Optional[bool] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/elevenlabs/types/system_tool_config_output_type.py b/src/elevenlabs/types/system_tool_config_output_type.py new file mode 100644 index 00000000..9276d710 --- /dev/null +++ b/src/elevenlabs/types/system_tool_config_output_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +SystemToolConfigOutputType = typing.Union[typing.Literal["system"], typing.Any] diff --git a/src/elevenlabs/types/test_tool_result_model.py b/src/elevenlabs/types/test_tool_result_model.py index 1512d5e3..045f400a 100644 --- a/src/elevenlabs/types/test_tool_result_model.py +++ b/src/elevenlabs/types/test_tool_result_model.py @@ -5,10 +5,11 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .test_tool_result_model_status import TestToolResultModelStatus class TestToolResultModel(UncheckedBaseModel): - status: typing.Optional[typing.Literal["success"]] = None + status: typing.Optional[TestToolResultModelStatus] = None reason: typing.Optional[str] = None if IS_PYDANTIC_V2: diff --git a/src/elevenlabs/types/test_tool_result_model_status.py b/src/elevenlabs/types/test_tool_result_model_status.py new file mode 100644 index 00000000..3cb65fd5 --- /dev/null +++ b/src/elevenlabs/types/test_tool_result_model_status.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +TestToolResultModelStatus = typing.Union[typing.Literal["success"], typing.Any] diff --git a/src/elevenlabs/types/tool.py b/src/elevenlabs/types/tool.py index ade9928e..59f40b8e 100644 --- a/src/elevenlabs/types/tool.py +++ b/src/elevenlabs/types/tool.py @@ -18,14 +18,18 @@ class Tool(UncheckedBaseModel): name: str title: typing.Optional[str] = None description: typing.Optional[str] = None - input_schema: typing_extensions.Annotated[typing.Dict[str, typing.Any], FieldMetadata(alias="inputSchema")] + input_schema: typing_extensions.Annotated[ + typing.Dict[str, typing.Any], FieldMetadata(alias="inputSchema"), pydantic.Field(alias="inputSchema") + ] output_schema: typing_extensions.Annotated[ - typing.Optional[typing.Dict[str, typing.Any]], FieldMetadata(alias="outputSchema") + typing.Optional[typing.Dict[str, typing.Any]], + FieldMetadata(alias="outputSchema"), + pydantic.Field(alias="outputSchema"), ] = None annotations: typing.Optional[ToolAnnotations] = None - meta: typing_extensions.Annotated[typing.Optional[typing.Dict[str, typing.Any]], FieldMetadata(alias="_meta")] = ( - None - ) + meta: typing_extensions.Annotated[ + typing.Optional[typing.Dict[str, typing.Any]], FieldMetadata(alias="_meta"), pydantic.Field(alias="_meta") + ] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/elevenlabs/types/tool_annotations.py b/src/elevenlabs/types/tool_annotations.py index b327a43f..fb56342d 100644 --- a/src/elevenlabs/types/tool_annotations.py +++ b/src/elevenlabs/types/tool_annotations.py @@ -22,10 +22,18 @@ class ToolAnnotations(UncheckedBaseModel): """ title: typing.Optional[str] = None - read_only_hint: typing_extensions.Annotated[typing.Optional[bool], FieldMetadata(alias="readOnlyHint")] = None - destructive_hint: typing_extensions.Annotated[typing.Optional[bool], FieldMetadata(alias="destructiveHint")] = None - idempotent_hint: typing_extensions.Annotated[typing.Optional[bool], FieldMetadata(alias="idempotentHint")] = None - open_world_hint: typing_extensions.Annotated[typing.Optional[bool], FieldMetadata(alias="openWorldHint")] = None + read_only_hint: typing_extensions.Annotated[ + typing.Optional[bool], FieldMetadata(alias="readOnlyHint"), pydantic.Field(alias="readOnlyHint") + ] = None + destructive_hint: typing_extensions.Annotated[ + typing.Optional[bool], FieldMetadata(alias="destructiveHint"), pydantic.Field(alias="destructiveHint") + ] = None + idempotent_hint: typing_extensions.Annotated[ + typing.Optional[bool], FieldMetadata(alias="idempotentHint"), pydantic.Field(alias="idempotentHint") + ] = None + open_world_hint: typing_extensions.Annotated[ + typing.Optional[bool], FieldMetadata(alias="openWorldHint"), pydantic.Field(alias="openWorldHint") + ] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/elevenlabs/types/tool_request_model_tool_config.py b/src/elevenlabs/types/tool_request_model_tool_config.py index 844fc118..e570bf98 100644 --- a/src/elevenlabs/types/tool_request_model_tool_config.py +++ b/src/elevenlabs/types/tool_request_model_tool_config.py @@ -117,8 +117,6 @@ class Config: extra = pydantic.Extra.allow -from .object_json_schema_property_input import ObjectJsonSchemaPropertyInput # noqa: E402, I001 - ToolRequestModelToolConfig = typing_extensions.Annotated[ typing.Union[ ToolRequestModelToolConfig_Client, @@ -128,5 +126,16 @@ class Config: ], UnionMetadata(discriminant="type"), ] -update_forward_refs(ToolRequestModelToolConfig_Client) +from .array_json_schema_property_input import ArrayJsonSchemaPropertyInput # noqa: E402, I001 +from .array_json_schema_property_input_items import ArrayJsonSchemaPropertyInputItems # noqa: E402, I001 +from .object_json_schema_property_input import ObjectJsonSchemaPropertyInput # noqa: E402, I001 +from .object_json_schema_property_input_properties_value import ObjectJsonSchemaPropertyInputPropertiesValue # noqa: E402, I001 + +update_forward_refs( + ToolRequestModelToolConfig_Client, + ArrayJsonSchemaPropertyInput=ArrayJsonSchemaPropertyInput, + ArrayJsonSchemaPropertyInputItems=ArrayJsonSchemaPropertyInputItems, + ObjectJsonSchemaPropertyInput=ObjectJsonSchemaPropertyInput, + ObjectJsonSchemaPropertyInputPropertiesValue=ObjectJsonSchemaPropertyInputPropertiesValue, +) update_forward_refs(ToolRequestModelToolConfig_Webhook) diff --git a/src/elevenlabs/types/tool_response_model_tool_config.py b/src/elevenlabs/types/tool_response_model_tool_config.py index 06eee44d..c2332b65 100644 --- a/src/elevenlabs/types/tool_response_model_tool_config.py +++ b/src/elevenlabs/types/tool_response_model_tool_config.py @@ -117,8 +117,6 @@ class Config: extra = pydantic.Extra.allow -from .object_json_schema_property_output import ObjectJsonSchemaPropertyOutput # noqa: E402, I001 - ToolResponseModelToolConfig = typing_extensions.Annotated[ typing.Union[ ToolResponseModelToolConfig_Client, @@ -128,5 +126,16 @@ class Config: ], UnionMetadata(discriminant="type"), ] -update_forward_refs(ToolResponseModelToolConfig_Client) +from .array_json_schema_property_output import ArrayJsonSchemaPropertyOutput # noqa: E402, I001 +from .array_json_schema_property_output_items import ArrayJsonSchemaPropertyOutputItems # noqa: E402, I001 +from .object_json_schema_property_output import ObjectJsonSchemaPropertyOutput # noqa: E402, I001 +from .object_json_schema_property_output_properties_value import ObjectJsonSchemaPropertyOutputPropertiesValue # noqa: E402, I001 + +update_forward_refs( + ToolResponseModelToolConfig_Client, + ArrayJsonSchemaPropertyOutput=ArrayJsonSchemaPropertyOutput, + ArrayJsonSchemaPropertyOutputItems=ArrayJsonSchemaPropertyOutputItems, + ObjectJsonSchemaPropertyOutput=ObjectJsonSchemaPropertyOutput, + ObjectJsonSchemaPropertyOutputPropertiesValue=ObjectJsonSchemaPropertyOutputPropertiesValue, +) update_forward_refs(ToolResponseModelToolConfig_Webhook) diff --git a/src/elevenlabs/types/transfer_to_agent_tool_result_error_model.py b/src/elevenlabs/types/transfer_to_agent_tool_result_error_model.py index 9dcd4d3f..c2cdda19 100644 --- a/src/elevenlabs/types/transfer_to_agent_tool_result_error_model.py +++ b/src/elevenlabs/types/transfer_to_agent_tool_result_error_model.py @@ -5,10 +5,11 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .transfer_to_agent_tool_result_error_model_status import TransferToAgentToolResultErrorModelStatus class TransferToAgentToolResultErrorModel(UncheckedBaseModel): - status: typing.Optional[typing.Literal["error"]] = None + status: typing.Optional[TransferToAgentToolResultErrorModelStatus] = None from_agent: str error: str diff --git a/src/elevenlabs/types/transfer_to_agent_tool_result_error_model_status.py b/src/elevenlabs/types/transfer_to_agent_tool_result_error_model_status.py new file mode 100644 index 00000000..7a650d29 --- /dev/null +++ b/src/elevenlabs/types/transfer_to_agent_tool_result_error_model_status.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +TransferToAgentToolResultErrorModelStatus = typing.Union[typing.Literal["error"], typing.Any] diff --git a/src/elevenlabs/types/transfer_to_agent_tool_result_success_model.py b/src/elevenlabs/types/transfer_to_agent_tool_result_success_model.py index 0d7b71cb..09f1abad 100644 --- a/src/elevenlabs/types/transfer_to_agent_tool_result_success_model.py +++ b/src/elevenlabs/types/transfer_to_agent_tool_result_success_model.py @@ -6,10 +6,11 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel from .transfer_to_agent_tool_result_success_model_branch_info import TransferToAgentToolResultSuccessModelBranchInfo +from .transfer_to_agent_tool_result_success_model_status import TransferToAgentToolResultSuccessModelStatus class TransferToAgentToolResultSuccessModel(UncheckedBaseModel): - status: typing.Optional[typing.Literal["success"]] = None + status: typing.Optional[TransferToAgentToolResultSuccessModelStatus] = None from_agent: str to_agent: str condition: str diff --git a/src/elevenlabs/types/transfer_to_agent_tool_result_success_model_status.py b/src/elevenlabs/types/transfer_to_agent_tool_result_success_model_status.py new file mode 100644 index 00000000..ea90d9f4 --- /dev/null +++ b/src/elevenlabs/types/transfer_to_agent_tool_result_success_model_status.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +TransferToAgentToolResultSuccessModelStatus = typing.Union[typing.Literal["success"], typing.Any] diff --git a/src/elevenlabs/types/transfer_to_number_result_error_model.py b/src/elevenlabs/types/transfer_to_number_result_error_model.py index 3709483f..f4c06473 100644 --- a/src/elevenlabs/types/transfer_to_number_result_error_model.py +++ b/src/elevenlabs/types/transfer_to_number_result_error_model.py @@ -5,10 +5,11 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .transfer_to_number_result_error_model_status import TransferToNumberResultErrorModelStatus class TransferToNumberResultErrorModel(UncheckedBaseModel): - status: typing.Optional[typing.Literal["error"]] = None + status: typing.Optional[TransferToNumberResultErrorModelStatus] = None error: str details: typing.Optional[str] = None diff --git a/src/elevenlabs/types/transfer_to_number_result_error_model_status.py b/src/elevenlabs/types/transfer_to_number_result_error_model_status.py new file mode 100644 index 00000000..fa76e89a --- /dev/null +++ b/src/elevenlabs/types/transfer_to_number_result_error_model_status.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +TransferToNumberResultErrorModelStatus = typing.Union[typing.Literal["error"], typing.Any] diff --git a/src/elevenlabs/types/transfer_to_number_result_sip_success_model.py b/src/elevenlabs/types/transfer_to_number_result_sip_success_model.py index 200026dd..89c56276 100644 --- a/src/elevenlabs/types/transfer_to_number_result_sip_success_model.py +++ b/src/elevenlabs/types/transfer_to_number_result_sip_success_model.py @@ -5,10 +5,11 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .transfer_to_number_result_sip_success_model_status import TransferToNumberResultSipSuccessModelStatus class TransferToNumberResultSipSuccessModel(UncheckedBaseModel): - status: typing.Optional[typing.Literal["success"]] = None + status: typing.Optional[TransferToNumberResultSipSuccessModelStatus] = None transfer_number: str reason: typing.Optional[str] = None note: typing.Optional[str] = None diff --git a/src/elevenlabs/types/transfer_to_number_result_sip_success_model_status.py b/src/elevenlabs/types/transfer_to_number_result_sip_success_model_status.py new file mode 100644 index 00000000..bfefe8eb --- /dev/null +++ b/src/elevenlabs/types/transfer_to_number_result_sip_success_model_status.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +TransferToNumberResultSipSuccessModelStatus = typing.Union[typing.Literal["success"], typing.Any] diff --git a/src/elevenlabs/types/transfer_to_number_result_twilio_success_model.py b/src/elevenlabs/types/transfer_to_number_result_twilio_success_model.py index d1ca3c96..e2bf9be5 100644 --- a/src/elevenlabs/types/transfer_to_number_result_twilio_success_model.py +++ b/src/elevenlabs/types/transfer_to_number_result_twilio_success_model.py @@ -5,10 +5,11 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .transfer_to_number_result_twilio_success_model_status import TransferToNumberResultTwilioSuccessModelStatus class TransferToNumberResultTwilioSuccessModel(UncheckedBaseModel): - status: typing.Optional[typing.Literal["success"]] = None + status: typing.Optional[TransferToNumberResultTwilioSuccessModelStatus] = None transfer_number: str reason: typing.Optional[str] = None client_message: typing.Optional[str] = None diff --git a/src/elevenlabs/types/transfer_to_number_result_twilio_success_model_status.py b/src/elevenlabs/types/transfer_to_number_result_twilio_success_model_status.py new file mode 100644 index 00000000..4b4c9325 --- /dev/null +++ b/src/elevenlabs/types/transfer_to_number_result_twilio_success_model_status.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +TransferToNumberResultTwilioSuccessModelStatus = typing.Union[typing.Literal["success"], typing.Any] diff --git a/src/elevenlabs/types/twilio_outbound_call_response.py b/src/elevenlabs/types/twilio_outbound_call_response.py index feb9423d..a41488bf 100644 --- a/src/elevenlabs/types/twilio_outbound_call_response.py +++ b/src/elevenlabs/types/twilio_outbound_call_response.py @@ -13,7 +13,9 @@ class TwilioOutboundCallResponse(UncheckedBaseModel): success: bool message: str conversation_id: typing.Optional[str] = None - call_sid: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="callSid")] = None + call_sid: typing_extensions.Annotated[ + typing.Optional[str], FieldMetadata(alias="callSid"), pydantic.Field(alias="callSid") + ] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/elevenlabs/types/unit_test_run_response_model.py b/src/elevenlabs/types/unit_test_run_response_model.py index 39dad0df..a33f41c1 100644 --- a/src/elevenlabs/types/unit_test_run_response_model.py +++ b/src/elevenlabs/types/unit_test_run_response_model.py @@ -28,6 +28,8 @@ class UnitTestRunResponseModel(UncheckedBaseModel): condition_result: typing.Optional[TestConditionResultCommonModel] = None last_updated_at_unix: typing.Optional[int] = None metadata: typing.Optional[TestRunMetadata] = None + root_folder_id: typing.Optional[str] = None + root_folder_name: typing.Optional[str] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/elevenlabs/types/unit_test_workflow_node_transition_evaluation_node_id.py b/src/elevenlabs/types/unit_test_workflow_node_transition_evaluation_node_id.py index 70e25cfd..9614de93 100644 --- a/src/elevenlabs/types/unit_test_workflow_node_transition_evaluation_node_id.py +++ b/src/elevenlabs/types/unit_test_workflow_node_transition_evaluation_node_id.py @@ -5,10 +5,13 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .unit_test_workflow_node_transition_evaluation_node_id_type import ( + UnitTestWorkflowNodeTransitionEvaluationNodeIdType, +) class UnitTestWorkflowNodeTransitionEvaluationNodeId(UncheckedBaseModel): - type: typing.Optional[typing.Literal["node_id"]] = None + type: typing.Optional[UnitTestWorkflowNodeTransitionEvaluationNodeIdType] = None agent_id: str = pydantic.Field() """ The ID of the agent whose workflow contains the target node. diff --git a/src/elevenlabs/types/unit_test_workflow_node_transition_evaluation_node_id_type.py b/src/elevenlabs/types/unit_test_workflow_node_transition_evaluation_node_id_type.py new file mode 100644 index 00000000..7ef82871 --- /dev/null +++ b/src/elevenlabs/types/unit_test_workflow_node_transition_evaluation_node_id_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +UnitTestWorkflowNodeTransitionEvaluationNodeIdType = typing.Union[typing.Literal["node_id"], typing.Any] diff --git a/src/elevenlabs/types/update_asset_params.py b/src/elevenlabs/types/update_asset_params.py index 5b37cc1d..9178c264 100644 --- a/src/elevenlabs/types/update_asset_params.py +++ b/src/elevenlabs/types/update_asset_params.py @@ -5,10 +5,11 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .update_asset_params_smb_tool_type import UpdateAssetParamsSmbToolType class UpdateAssetParams(UncheckedBaseModel): - smb_tool_type: typing.Optional[typing.Literal["update_asset"]] = None + smb_tool_type: typing.Optional[UpdateAssetParamsSmbToolType] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/elevenlabs/types/update_asset_params_smb_tool_type.py b/src/elevenlabs/types/update_asset_params_smb_tool_type.py new file mode 100644 index 00000000..c5574678 --- /dev/null +++ b/src/elevenlabs/types/update_asset_params_smb_tool_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +UpdateAssetParamsSmbToolType = typing.Union[typing.Literal["update_asset"], typing.Any] diff --git a/src/elevenlabs/types/update_calendar_event_params.py b/src/elevenlabs/types/update_calendar_event_params.py index 29edc702..261134e5 100644 --- a/src/elevenlabs/types/update_calendar_event_params.py +++ b/src/elevenlabs/types/update_calendar_event_params.py @@ -5,10 +5,11 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .update_calendar_event_params_smb_tool_type import UpdateCalendarEventParamsSmbToolType class UpdateCalendarEventParams(UncheckedBaseModel): - smb_tool_type: typing.Optional[typing.Literal["update_calendar_event"]] = None + smb_tool_type: typing.Optional[UpdateCalendarEventParamsSmbToolType] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/elevenlabs/types/update_calendar_event_params_smb_tool_type.py b/src/elevenlabs/types/update_calendar_event_params_smb_tool_type.py new file mode 100644 index 00000000..d1868fa4 --- /dev/null +++ b/src/elevenlabs/types/update_calendar_event_params_smb_tool_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +UpdateCalendarEventParamsSmbToolType = typing.Union[typing.Literal["update_calendar_event"], typing.Any] diff --git a/src/elevenlabs/types/update_client_params.py b/src/elevenlabs/types/update_client_params.py index 0e4c6c5a..3f3057e7 100644 --- a/src/elevenlabs/types/update_client_params.py +++ b/src/elevenlabs/types/update_client_params.py @@ -5,6 +5,7 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .update_client_params_smb_tool_type import UpdateClientParamsSmbToolType class UpdateClientParams(UncheckedBaseModel): @@ -12,7 +13,7 @@ class UpdateClientParams(UncheckedBaseModel): Update an existing client's information. """ - smb_tool_type: typing.Optional[typing.Literal["update_client"]] = None + smb_tool_type: typing.Optional[UpdateClientParamsSmbToolType] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/elevenlabs/types/update_client_params_smb_tool_type.py b/src/elevenlabs/types/update_client_params_smb_tool_type.py new file mode 100644 index 00000000..a940b5c9 --- /dev/null +++ b/src/elevenlabs/types/update_client_params_smb_tool_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +UpdateClientParamsSmbToolType = typing.Union[typing.Literal["update_client"], typing.Any] diff --git a/src/elevenlabs/types/update_product_params.py b/src/elevenlabs/types/update_product_params.py index d741828a..7f6d8fdb 100644 --- a/src/elevenlabs/types/update_product_params.py +++ b/src/elevenlabs/types/update_product_params.py @@ -5,10 +5,11 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .update_product_params_smb_tool_type import UpdateProductParamsSmbToolType class UpdateProductParams(UncheckedBaseModel): - smb_tool_type: typing.Optional[typing.Literal["update_product"]] = None + smb_tool_type: typing.Optional[UpdateProductParamsSmbToolType] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/elevenlabs/types/update_product_params_smb_tool_type.py b/src/elevenlabs/types/update_product_params_smb_tool_type.py new file mode 100644 index 00000000..4e8b080c --- /dev/null +++ b/src/elevenlabs/types/update_product_params_smb_tool_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +UpdateProductParamsSmbToolType = typing.Union[typing.Literal["update_product"], typing.Any] diff --git a/src/elevenlabs/types/update_service_params.py b/src/elevenlabs/types/update_service_params.py index c91c7a8e..a494c112 100644 --- a/src/elevenlabs/types/update_service_params.py +++ b/src/elevenlabs/types/update_service_params.py @@ -5,6 +5,7 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .update_service_params_smb_tool_type import UpdateServiceParamsSmbToolType class UpdateServiceParams(UncheckedBaseModel): @@ -12,7 +13,7 @@ class UpdateServiceParams(UncheckedBaseModel): Update an existing service's information. """ - smb_tool_type: typing.Optional[typing.Literal["update_service"]] = None + smb_tool_type: typing.Optional[UpdateServiceParamsSmbToolType] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/elevenlabs/types/update_service_params_smb_tool_type.py b/src/elevenlabs/types/update_service_params_smb_tool_type.py new file mode 100644 index 00000000..5b442d95 --- /dev/null +++ b/src/elevenlabs/types/update_service_params_smb_tool_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +UpdateServiceParamsSmbToolType = typing.Union[typing.Literal["update_service"], typing.Any] diff --git a/src/elevenlabs/types/update_staff_params.py b/src/elevenlabs/types/update_staff_params.py index 97b15d1f..8ff3868d 100644 --- a/src/elevenlabs/types/update_staff_params.py +++ b/src/elevenlabs/types/update_staff_params.py @@ -5,6 +5,7 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .update_staff_params_smb_tool_type import UpdateStaffParamsSmbToolType class UpdateStaffParams(UncheckedBaseModel): @@ -12,7 +13,7 @@ class UpdateStaffParams(UncheckedBaseModel): Update an existing staff member's information. """ - smb_tool_type: typing.Optional[typing.Literal["update_staff"]] = None + smb_tool_type: typing.Optional[UpdateStaffParamsSmbToolType] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/elevenlabs/types/update_staff_params_smb_tool_type.py b/src/elevenlabs/types/update_staff_params_smb_tool_type.py new file mode 100644 index 00000000..4a0c2ef2 --- /dev/null +++ b/src/elevenlabs/types/update_staff_params_smb_tool_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +UpdateStaffParamsSmbToolType = typing.Union[typing.Literal["update_staff"], typing.Any] diff --git a/src/elevenlabs/types/voice_mail_detection_result_success_model.py b/src/elevenlabs/types/voice_mail_detection_result_success_model.py index 69db5c7b..58342bb0 100644 --- a/src/elevenlabs/types/voice_mail_detection_result_success_model.py +++ b/src/elevenlabs/types/voice_mail_detection_result_success_model.py @@ -5,10 +5,11 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .voice_mail_detection_result_success_model_status import VoiceMailDetectionResultSuccessModelStatus class VoiceMailDetectionResultSuccessModel(UncheckedBaseModel): - status: typing.Optional[typing.Literal["success"]] = None + status: typing.Optional[VoiceMailDetectionResultSuccessModelStatus] = None voicemail_message: typing.Optional[str] = None reason: typing.Optional[str] = None diff --git a/src/elevenlabs/types/voice_mail_detection_result_success_model_status.py b/src/elevenlabs/types/voice_mail_detection_result_success_model_status.py new file mode 100644 index 00000000..e3413be5 --- /dev/null +++ b/src/elevenlabs/types/voice_mail_detection_result_success_model_status.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +VoiceMailDetectionResultSuccessModelStatus = typing.Union[typing.Literal["success"], typing.Any] diff --git a/src/elevenlabs/types/webhook_hmac_settings.py b/src/elevenlabs/types/webhook_hmac_settings.py index adaf6715..f7850aa0 100644 --- a/src/elevenlabs/types/webhook_hmac_settings.py +++ b/src/elevenlabs/types/webhook_hmac_settings.py @@ -5,6 +5,7 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .webhook_hmac_settings_auth_type import WebhookHmacSettingsAuthType class WebhookHmacSettings(UncheckedBaseModel): @@ -12,7 +13,7 @@ class WebhookHmacSettings(UncheckedBaseModel): Settings for creating an HMAC-authenticated webhook """ - auth_type: typing.Literal["hmac"] = pydantic.Field(default="hmac") + auth_type: WebhookHmacSettingsAuthType = pydantic.Field() """ The authentication type for this webhook """ diff --git a/src/elevenlabs/types/webhook_hmac_settings_auth_type.py b/src/elevenlabs/types/webhook_hmac_settings_auth_type.py new file mode 100644 index 00000000..8ff88cf2 --- /dev/null +++ b/src/elevenlabs/types/webhook_hmac_settings_auth_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +WebhookHmacSettingsAuthType = typing.Union[typing.Literal["hmac"], typing.Any] diff --git a/src/elevenlabs/types/webhook_tool_api_schema_config_input.py b/src/elevenlabs/types/webhook_tool_api_schema_config_input.py index e3a03301..589043b8 100644 --- a/src/elevenlabs/types/webhook_tool_api_schema_config_input.py +++ b/src/elevenlabs/types/webhook_tool_api_schema_config_input.py @@ -70,6 +70,15 @@ class Config: extra = pydantic.Extra.allow +from .array_json_schema_property_input import ArrayJsonSchemaPropertyInput # noqa: E402, I001 +from .array_json_schema_property_input_items import ArrayJsonSchemaPropertyInputItems # noqa: E402, I001 from .object_json_schema_property_input import ObjectJsonSchemaPropertyInput # noqa: E402, I001 - -update_forward_refs(WebhookToolApiSchemaConfigInput) +from .object_json_schema_property_input_properties_value import ObjectJsonSchemaPropertyInputPropertiesValue # noqa: E402, I001 + +update_forward_refs( + WebhookToolApiSchemaConfigInput, + ArrayJsonSchemaPropertyInput=ArrayJsonSchemaPropertyInput, + ArrayJsonSchemaPropertyInputItems=ArrayJsonSchemaPropertyInputItems, + ObjectJsonSchemaPropertyInput=ObjectJsonSchemaPropertyInput, + ObjectJsonSchemaPropertyInputPropertiesValue=ObjectJsonSchemaPropertyInputPropertiesValue, +) diff --git a/src/elevenlabs/types/webhook_tool_api_schema_config_output.py b/src/elevenlabs/types/webhook_tool_api_schema_config_output.py index 3f45556e..be6b9a51 100644 --- a/src/elevenlabs/types/webhook_tool_api_schema_config_output.py +++ b/src/elevenlabs/types/webhook_tool_api_schema_config_output.py @@ -70,6 +70,15 @@ class Config: extra = pydantic.Extra.allow +from .array_json_schema_property_output import ArrayJsonSchemaPropertyOutput # noqa: E402, I001 +from .array_json_schema_property_output_items import ArrayJsonSchemaPropertyOutputItems # noqa: E402, I001 from .object_json_schema_property_output import ObjectJsonSchemaPropertyOutput # noqa: E402, I001 - -update_forward_refs(WebhookToolApiSchemaConfigOutput) +from .object_json_schema_property_output_properties_value import ObjectJsonSchemaPropertyOutputPropertiesValue # noqa: E402, I001 + +update_forward_refs( + WebhookToolApiSchemaConfigOutput, + ArrayJsonSchemaPropertyOutput=ArrayJsonSchemaPropertyOutput, + ArrayJsonSchemaPropertyOutputItems=ArrayJsonSchemaPropertyOutputItems, + ObjectJsonSchemaPropertyOutput=ObjectJsonSchemaPropertyOutput, + ObjectJsonSchemaPropertyOutputPropertiesValue=ObjectJsonSchemaPropertyOutputPropertiesValue, +) diff --git a/src/elevenlabs/types/websocket_tts_client_message_multi.py b/src/elevenlabs/types/websocket_tts_client_message_multi.py index fe53da0b..03dbeed5 100644 --- a/src/elevenlabs/types/websocket_tts_client_message_multi.py +++ b/src/elevenlabs/types/websocket_tts_client_message_multi.py @@ -35,13 +35,14 @@ class WebsocketTtsClientMessageMulti(UncheckedBaseModel): Generation config. Can only be provided in the first message for a given context_id (or first message overall if context_id is not used/default). """ - xi_api_key: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="xi-api-key")] = pydantic.Field( - default=None - ) - """ - Your ElevenLabs API key. Can only be provided in the first message for a given context_id if not present in the header. - """ - + xi_api_key: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="xi-api-key"), + pydantic.Field( + alias="xi-api-key", + description="Your ElevenLabs API key. Can only be provided in the first message for a given context_id if not present in the header.", + ), + ] = None authorization: typing.Optional[str] = pydantic.Field(default=None) """ Your authorization bearer token. Can only be provided in the first message for a given context_id if not present in the header. @@ -59,13 +60,14 @@ class WebsocketTtsClientMessageMulti(UncheckedBaseModel): Optional list of pronunciation dictionary locators. Can only be provided in the first message for a given context_id. """ - context_id: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="contextId")] = pydantic.Field( - default=None - ) - """ - An identifier for the text-to-speech context. Allows managing multiple independent audio generation streams over a single WebSocket connection. If omitted, a default context is used. - """ - + context_id: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="contextId"), + pydantic.Field( + alias="contextId", + description="An identifier for the text-to-speech context. Allows managing multiple independent audio generation streams over a single WebSocket connection. If omitted, a default context is used.", + ), + ] = None close_context: typing.Optional[bool] = pydantic.Field(default=None) """ If true, closes the specified `contextId`. No further audio will be generated for this context. The `text` field is ignored. diff --git a/src/elevenlabs/types/websocket_tts_server_message_multi.py b/src/elevenlabs/types/websocket_tts_server_message_multi.py index 1eef82a2..1952af16 100644 --- a/src/elevenlabs/types/websocket_tts_server_message_multi.py +++ b/src/elevenlabs/types/websocket_tts_server_message_multi.py @@ -27,15 +27,16 @@ class WebsocketTtsServerMessageMulti(UncheckedBaseModel): """ normalized_alignment: typing_extensions.Annotated[ - typing.Optional[NormalizedAlignment], FieldMetadata(alias="normalizedAlignment") + typing.Optional[NormalizedAlignment], + FieldMetadata(alias="normalizedAlignment"), + pydantic.Field(alias="normalizedAlignment"), ] = None alignment: typing.Optional[Alignment] = None - context_id: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="contextId")] = pydantic.Field( - default=None - ) - """ - The context identifier to which this message pertains. - """ + context_id: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="contextId"), + pydantic.Field(alias="contextId", description="The context identifier to which this message pertains."), + ] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/elevenlabs/types/whats_app_template_text_param.py b/src/elevenlabs/types/whats_app_template_text_param.py index 1e7853f1..4e8f2bf8 100644 --- a/src/elevenlabs/types/whats_app_template_text_param.py +++ b/src/elevenlabs/types/whats_app_template_text_param.py @@ -5,11 +5,12 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .whats_app_template_text_param_type import WhatsAppTemplateTextParamType class WhatsAppTemplateTextParam(UncheckedBaseModel): parameter_name: typing.Optional[str] = None - type: typing.Optional[typing.Literal["text"]] = None + type: typing.Optional[WhatsAppTemplateTextParamType] = None text: str if IS_PYDANTIC_V2: diff --git a/src/elevenlabs/types/whats_app_template_text_param_type.py b/src/elevenlabs/types/whats_app_template_text_param_type.py new file mode 100644 index 00000000..3f1925e3 --- /dev/null +++ b/src/elevenlabs/types/whats_app_template_text_param_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +WhatsAppTemplateTextParamType = typing.Union[typing.Literal["text"], typing.Any] diff --git a/src/elevenlabs/types/widget_text_contents.py b/src/elevenlabs/types/widget_text_contents.py index d101a8a0..1ec74d74 100644 --- a/src/elevenlabs/types/widget_text_contents.py +++ b/src/elevenlabs/types/widget_text_contents.py @@ -195,11 +195,11 @@ class WidgetTextContents(UncheckedBaseModel): Toast notification displayed when switching to voice mode. """ - copy_: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="copy")] = pydantic.Field(default=None) - """ - Text and ARIA label for the copy button. - """ - + copy_: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="copy"), + pydantic.Field(alias="copy", description="Text and ARIA label for the copy button."), + ] = None download: typing.Optional[str] = pydantic.Field(default=None) """ Text and ARIA label for the download button. diff --git a/src/elevenlabs/types/workflow_expression_condition_model_input_expression.py b/src/elevenlabs/types/workflow_expression_condition_model_input_expression.py index 296c1875..56f44c5a 100644 --- a/src/elevenlabs/types/workflow_expression_condition_model_input_expression.py +++ b/src/elevenlabs/types/workflow_expression_condition_model_input_expression.py @@ -28,9 +28,6 @@ class Config: extra = pydantic.Extra.allow -from .ast_and_operator_node_input_children_item import AstAndOperatorNodeInputChildrenItem # noqa: E402, I001 - - class WorkflowExpressionConditionModelInputExpression_BooleanLiteral(UncheckedBaseModel): """ Expression to evaluate. @@ -86,10 +83,6 @@ class Config: extra = pydantic.Extra.allow -from .ast_equals_operator_node_input_left import AstEqualsOperatorNodeInputLeft # noqa: E402, I001 -from .ast_equals_operator_node_input_right import AstEqualsOperatorNodeInputRight # noqa: E402, I001 - - class WorkflowExpressionConditionModelInputExpression_GtOperator(UncheckedBaseModel): """ Expression to evaluate. @@ -109,10 +102,6 @@ class Config: extra = pydantic.Extra.allow -from .ast_greater_than_operator_node_input_left import AstGreaterThanOperatorNodeInputLeft # noqa: E402, I001 -from .ast_greater_than_operator_node_input_right import AstGreaterThanOperatorNodeInputRight # noqa: E402, I001 - - class WorkflowExpressionConditionModelInputExpression_GteOperator(UncheckedBaseModel): """ Expression to evaluate. @@ -132,10 +121,6 @@ class Config: extra = pydantic.Extra.allow -from .ast_greater_than_or_equals_operator_node_input_left import AstGreaterThanOrEqualsOperatorNodeInputLeft # noqa: E402, I001 -from .ast_greater_than_or_equals_operator_node_input_right import AstGreaterThanOrEqualsOperatorNodeInputRight # noqa: E402, I001 - - class WorkflowExpressionConditionModelInputExpression_Llm(UncheckedBaseModel): """ Expression to evaluate. @@ -173,10 +158,6 @@ class Config: extra = pydantic.Extra.allow -from .ast_less_than_operator_node_input_left import AstLessThanOperatorNodeInputLeft # noqa: E402, I001 -from .ast_less_than_operator_node_input_right import AstLessThanOperatorNodeInputRight # noqa: E402, I001 - - class WorkflowExpressionConditionModelInputExpression_LteOperator(UncheckedBaseModel): """ Expression to evaluate. @@ -196,10 +177,6 @@ class Config: extra = pydantic.Extra.allow -from .ast_less_than_or_equals_operator_node_input_left import AstLessThanOrEqualsOperatorNodeInputLeft # noqa: E402, I001 -from .ast_less_than_or_equals_operator_node_input_right import AstLessThanOrEqualsOperatorNodeInputRight # noqa: E402, I001 - - class WorkflowExpressionConditionModelInputExpression_NeqOperator(UncheckedBaseModel): """ Expression to evaluate. @@ -219,10 +196,6 @@ class Config: extra = pydantic.Extra.allow -from .ast_not_equals_operator_node_input_left import AstNotEqualsOperatorNodeInputLeft # noqa: E402, I001 -from .ast_not_equals_operator_node_input_right import AstNotEqualsOperatorNodeInputRight # noqa: E402, I001 - - class WorkflowExpressionConditionModelInputExpression_NumberLiteral(UncheckedBaseModel): """ Expression to evaluate. @@ -259,9 +232,6 @@ class Config: extra = pydantic.Extra.allow -from .ast_or_operator_node_input_children_item import AstOrOperatorNodeInputChildrenItem # noqa: E402, I001 - - class WorkflowExpressionConditionModelInputExpression_StringLiteral(UncheckedBaseModel): """ Expression to evaluate. @@ -298,11 +268,218 @@ class Config: ], UnionMetadata(discriminant="type"), ] -update_forward_refs(WorkflowExpressionConditionModelInputExpression_AndOperator) -update_forward_refs(WorkflowExpressionConditionModelInputExpression_EqOperator) -update_forward_refs(WorkflowExpressionConditionModelInputExpression_GtOperator) -update_forward_refs(WorkflowExpressionConditionModelInputExpression_GteOperator) -update_forward_refs(WorkflowExpressionConditionModelInputExpression_LtOperator) -update_forward_refs(WorkflowExpressionConditionModelInputExpression_LteOperator) -update_forward_refs(WorkflowExpressionConditionModelInputExpression_NeqOperator) -update_forward_refs(WorkflowExpressionConditionModelInputExpression_OrOperator) +from .ast_and_operator_node_input_children_item import AstAndOperatorNodeInputChildrenItem # noqa: E402, I001 +from .ast_equals_operator_node_input import AstEqualsOperatorNodeInput # noqa: E402, I001 +from .ast_equals_operator_node_input_left import AstEqualsOperatorNodeInputLeft # noqa: E402, I001 +from .ast_equals_operator_node_input_right import AstEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_greater_than_operator_node_input import AstGreaterThanOperatorNodeInput # noqa: E402, I001 +from .ast_greater_than_operator_node_input_left import AstGreaterThanOperatorNodeInputLeft # noqa: E402, I001 +from .ast_greater_than_operator_node_input_right import AstGreaterThanOperatorNodeInputRight # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_input import AstGreaterThanOrEqualsOperatorNodeInput # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_input_left import AstGreaterThanOrEqualsOperatorNodeInputLeft # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_input_right import AstGreaterThanOrEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_less_than_operator_node_input import AstLessThanOperatorNodeInput # noqa: E402, I001 +from .ast_less_than_operator_node_input_left import AstLessThanOperatorNodeInputLeft # noqa: E402, I001 +from .ast_less_than_operator_node_input_right import AstLessThanOperatorNodeInputRight # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_input import AstLessThanOrEqualsOperatorNodeInput # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_input_left import AstLessThanOrEqualsOperatorNodeInputLeft # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_input_right import AstLessThanOrEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_not_equals_operator_node_input import AstNotEqualsOperatorNodeInput # noqa: E402, I001 +from .ast_not_equals_operator_node_input_left import AstNotEqualsOperatorNodeInputLeft # noqa: E402, I001 +from .ast_not_equals_operator_node_input_right import AstNotEqualsOperatorNodeInputRight # noqa: E402, I001 +from .ast_or_operator_node_input import AstOrOperatorNodeInput # noqa: E402, I001 +from .ast_or_operator_node_input_children_item import AstOrOperatorNodeInputChildrenItem # noqa: E402, I001 +from .ast_and_operator_node_input import AstAndOperatorNodeInput # noqa: E402, I001 + +update_forward_refs( + WorkflowExpressionConditionModelInputExpression_AndOperator, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + WorkflowExpressionConditionModelInputExpression_EqOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + WorkflowExpressionConditionModelInputExpression_GtOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + WorkflowExpressionConditionModelInputExpression_GteOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + WorkflowExpressionConditionModelInputExpression_LtOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + WorkflowExpressionConditionModelInputExpression_LteOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + WorkflowExpressionConditionModelInputExpression_NeqOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInput=AstOrOperatorNodeInput, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) +update_forward_refs( + WorkflowExpressionConditionModelInputExpression_OrOperator, + AstAndOperatorNodeInput=AstAndOperatorNodeInput, + AstAndOperatorNodeInputChildrenItem=AstAndOperatorNodeInputChildrenItem, + AstEqualsOperatorNodeInput=AstEqualsOperatorNodeInput, + AstEqualsOperatorNodeInputLeft=AstEqualsOperatorNodeInputLeft, + AstEqualsOperatorNodeInputRight=AstEqualsOperatorNodeInputRight, + AstGreaterThanOperatorNodeInput=AstGreaterThanOperatorNodeInput, + AstGreaterThanOperatorNodeInputLeft=AstGreaterThanOperatorNodeInputLeft, + AstGreaterThanOperatorNodeInputRight=AstGreaterThanOperatorNodeInputRight, + AstGreaterThanOrEqualsOperatorNodeInput=AstGreaterThanOrEqualsOperatorNodeInput, + AstGreaterThanOrEqualsOperatorNodeInputLeft=AstGreaterThanOrEqualsOperatorNodeInputLeft, + AstGreaterThanOrEqualsOperatorNodeInputRight=AstGreaterThanOrEqualsOperatorNodeInputRight, + AstLessThanOperatorNodeInput=AstLessThanOperatorNodeInput, + AstLessThanOperatorNodeInputLeft=AstLessThanOperatorNodeInputLeft, + AstLessThanOperatorNodeInputRight=AstLessThanOperatorNodeInputRight, + AstLessThanOrEqualsOperatorNodeInput=AstLessThanOrEqualsOperatorNodeInput, + AstLessThanOrEqualsOperatorNodeInputLeft=AstLessThanOrEqualsOperatorNodeInputLeft, + AstLessThanOrEqualsOperatorNodeInputRight=AstLessThanOrEqualsOperatorNodeInputRight, + AstNotEqualsOperatorNodeInput=AstNotEqualsOperatorNodeInput, + AstNotEqualsOperatorNodeInputLeft=AstNotEqualsOperatorNodeInputLeft, + AstNotEqualsOperatorNodeInputRight=AstNotEqualsOperatorNodeInputRight, + AstOrOperatorNodeInputChildrenItem=AstOrOperatorNodeInputChildrenItem, +) diff --git a/src/elevenlabs/types/workflow_expression_condition_model_output_expression.py b/src/elevenlabs/types/workflow_expression_condition_model_output_expression.py index e58a2eed..65bd9fbd 100644 --- a/src/elevenlabs/types/workflow_expression_condition_model_output_expression.py +++ b/src/elevenlabs/types/workflow_expression_condition_model_output_expression.py @@ -28,9 +28,6 @@ class Config: extra = pydantic.Extra.allow -from .ast_and_operator_node_output_children_item import AstAndOperatorNodeOutputChildrenItem # noqa: E402, I001 - - class WorkflowExpressionConditionModelOutputExpression_BooleanLiteral(UncheckedBaseModel): """ Expression to evaluate. @@ -86,10 +83,6 @@ class Config: extra = pydantic.Extra.allow -from .ast_equals_operator_node_output_left import AstEqualsOperatorNodeOutputLeft # noqa: E402, I001 -from .ast_equals_operator_node_output_right import AstEqualsOperatorNodeOutputRight # noqa: E402, I001 - - class WorkflowExpressionConditionModelOutputExpression_GtOperator(UncheckedBaseModel): """ Expression to evaluate. @@ -109,10 +102,6 @@ class Config: extra = pydantic.Extra.allow -from .ast_greater_than_operator_node_output_left import AstGreaterThanOperatorNodeOutputLeft # noqa: E402, I001 -from .ast_greater_than_operator_node_output_right import AstGreaterThanOperatorNodeOutputRight # noqa: E402, I001 - - class WorkflowExpressionConditionModelOutputExpression_GteOperator(UncheckedBaseModel): """ Expression to evaluate. @@ -132,10 +121,6 @@ class Config: extra = pydantic.Extra.allow -from .ast_greater_than_or_equals_operator_node_output_left import AstGreaterThanOrEqualsOperatorNodeOutputLeft # noqa: E402, I001 -from .ast_greater_than_or_equals_operator_node_output_right import AstGreaterThanOrEqualsOperatorNodeOutputRight # noqa: E402, I001 - - class WorkflowExpressionConditionModelOutputExpression_Llm(UncheckedBaseModel): """ Expression to evaluate. @@ -173,10 +158,6 @@ class Config: extra = pydantic.Extra.allow -from .ast_less_than_operator_node_output_left import AstLessThanOperatorNodeOutputLeft # noqa: E402, I001 -from .ast_less_than_operator_node_output_right import AstLessThanOperatorNodeOutputRight # noqa: E402, I001 - - class WorkflowExpressionConditionModelOutputExpression_LteOperator(UncheckedBaseModel): """ Expression to evaluate. @@ -196,10 +177,6 @@ class Config: extra = pydantic.Extra.allow -from .ast_less_than_or_equals_operator_node_output_left import AstLessThanOrEqualsOperatorNodeOutputLeft # noqa: E402, I001 -from .ast_less_than_or_equals_operator_node_output_right import AstLessThanOrEqualsOperatorNodeOutputRight # noqa: E402, I001 - - class WorkflowExpressionConditionModelOutputExpression_NeqOperator(UncheckedBaseModel): """ Expression to evaluate. @@ -219,10 +196,6 @@ class Config: extra = pydantic.Extra.allow -from .ast_not_equals_operator_node_output_left import AstNotEqualsOperatorNodeOutputLeft # noqa: E402, I001 -from .ast_not_equals_operator_node_output_right import AstNotEqualsOperatorNodeOutputRight # noqa: E402, I001 - - class WorkflowExpressionConditionModelOutputExpression_NumberLiteral(UncheckedBaseModel): """ Expression to evaluate. @@ -259,9 +232,6 @@ class Config: extra = pydantic.Extra.allow -from .ast_or_operator_node_output_children_item import AstOrOperatorNodeOutputChildrenItem # noqa: E402, I001 - - class WorkflowExpressionConditionModelOutputExpression_StringLiteral(UncheckedBaseModel): """ Expression to evaluate. @@ -298,11 +268,218 @@ class Config: ], UnionMetadata(discriminant="type"), ] -update_forward_refs(WorkflowExpressionConditionModelOutputExpression_AndOperator) -update_forward_refs(WorkflowExpressionConditionModelOutputExpression_EqOperator) -update_forward_refs(WorkflowExpressionConditionModelOutputExpression_GtOperator) -update_forward_refs(WorkflowExpressionConditionModelOutputExpression_GteOperator) -update_forward_refs(WorkflowExpressionConditionModelOutputExpression_LtOperator) -update_forward_refs(WorkflowExpressionConditionModelOutputExpression_LteOperator) -update_forward_refs(WorkflowExpressionConditionModelOutputExpression_NeqOperator) -update_forward_refs(WorkflowExpressionConditionModelOutputExpression_OrOperator) +from .ast_and_operator_node_output_children_item import AstAndOperatorNodeOutputChildrenItem # noqa: E402, I001 +from .ast_equals_operator_node_output import AstEqualsOperatorNodeOutput # noqa: E402, I001 +from .ast_equals_operator_node_output_left import AstEqualsOperatorNodeOutputLeft # noqa: E402, I001 +from .ast_equals_operator_node_output_right import AstEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_greater_than_operator_node_output import AstGreaterThanOperatorNodeOutput # noqa: E402, I001 +from .ast_greater_than_operator_node_output_left import AstGreaterThanOperatorNodeOutputLeft # noqa: E402, I001 +from .ast_greater_than_operator_node_output_right import AstGreaterThanOperatorNodeOutputRight # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_output import AstGreaterThanOrEqualsOperatorNodeOutput # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_output_left import AstGreaterThanOrEqualsOperatorNodeOutputLeft # noqa: E402, I001 +from .ast_greater_than_or_equals_operator_node_output_right import AstGreaterThanOrEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_less_than_operator_node_output import AstLessThanOperatorNodeOutput # noqa: E402, I001 +from .ast_less_than_operator_node_output_left import AstLessThanOperatorNodeOutputLeft # noqa: E402, I001 +from .ast_less_than_operator_node_output_right import AstLessThanOperatorNodeOutputRight # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_output import AstLessThanOrEqualsOperatorNodeOutput # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_output_left import AstLessThanOrEqualsOperatorNodeOutputLeft # noqa: E402, I001 +from .ast_less_than_or_equals_operator_node_output_right import AstLessThanOrEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_not_equals_operator_node_output import AstNotEqualsOperatorNodeOutput # noqa: E402, I001 +from .ast_not_equals_operator_node_output_left import AstNotEqualsOperatorNodeOutputLeft # noqa: E402, I001 +from .ast_not_equals_operator_node_output_right import AstNotEqualsOperatorNodeOutputRight # noqa: E402, I001 +from .ast_or_operator_node_output import AstOrOperatorNodeOutput # noqa: E402, I001 +from .ast_or_operator_node_output_children_item import AstOrOperatorNodeOutputChildrenItem # noqa: E402, I001 +from .ast_and_operator_node_output import AstAndOperatorNodeOutput # noqa: E402, I001 + +update_forward_refs( + WorkflowExpressionConditionModelOutputExpression_AndOperator, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + WorkflowExpressionConditionModelOutputExpression_EqOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + WorkflowExpressionConditionModelOutputExpression_GtOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + WorkflowExpressionConditionModelOutputExpression_GteOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + WorkflowExpressionConditionModelOutputExpression_LtOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + WorkflowExpressionConditionModelOutputExpression_LteOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + WorkflowExpressionConditionModelOutputExpression_NeqOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutput=AstOrOperatorNodeOutput, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) +update_forward_refs( + WorkflowExpressionConditionModelOutputExpression_OrOperator, + AstAndOperatorNodeOutput=AstAndOperatorNodeOutput, + AstAndOperatorNodeOutputChildrenItem=AstAndOperatorNodeOutputChildrenItem, + AstEqualsOperatorNodeOutput=AstEqualsOperatorNodeOutput, + AstEqualsOperatorNodeOutputLeft=AstEqualsOperatorNodeOutputLeft, + AstEqualsOperatorNodeOutputRight=AstEqualsOperatorNodeOutputRight, + AstGreaterThanOperatorNodeOutput=AstGreaterThanOperatorNodeOutput, + AstGreaterThanOperatorNodeOutputLeft=AstGreaterThanOperatorNodeOutputLeft, + AstGreaterThanOperatorNodeOutputRight=AstGreaterThanOperatorNodeOutputRight, + AstGreaterThanOrEqualsOperatorNodeOutput=AstGreaterThanOrEqualsOperatorNodeOutput, + AstGreaterThanOrEqualsOperatorNodeOutputLeft=AstGreaterThanOrEqualsOperatorNodeOutputLeft, + AstGreaterThanOrEqualsOperatorNodeOutputRight=AstGreaterThanOrEqualsOperatorNodeOutputRight, + AstLessThanOperatorNodeOutput=AstLessThanOperatorNodeOutput, + AstLessThanOperatorNodeOutputLeft=AstLessThanOperatorNodeOutputLeft, + AstLessThanOperatorNodeOutputRight=AstLessThanOperatorNodeOutputRight, + AstLessThanOrEqualsOperatorNodeOutput=AstLessThanOrEqualsOperatorNodeOutput, + AstLessThanOrEqualsOperatorNodeOutputLeft=AstLessThanOrEqualsOperatorNodeOutputLeft, + AstLessThanOrEqualsOperatorNodeOutputRight=AstLessThanOrEqualsOperatorNodeOutputRight, + AstNotEqualsOperatorNodeOutput=AstNotEqualsOperatorNodeOutput, + AstNotEqualsOperatorNodeOutputLeft=AstNotEqualsOperatorNodeOutputLeft, + AstNotEqualsOperatorNodeOutputRight=AstNotEqualsOperatorNodeOutputRight, + AstOrOperatorNodeOutputChildrenItem=AstOrOperatorNodeOutputChildrenItem, +) diff --git a/src/elevenlabs/types/workflow_tool_nested_tools_step_model_input.py b/src/elevenlabs/types/workflow_tool_nested_tools_step_model_input.py index 4ef2c64d..881c5a18 100644 --- a/src/elevenlabs/types/workflow_tool_nested_tools_step_model_input.py +++ b/src/elevenlabs/types/workflow_tool_nested_tools_step_model_input.py @@ -33,8 +33,13 @@ class Config: ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput, ) # noqa: E402, I001 from .workflow_tool_nested_tools_step_model_input_results_item import WorkflowToolNestedToolsStepModelInputResultsItem # noqa: E402, I001 +from .workflow_tool_response_model_input import WorkflowToolResponseModelInput # noqa: E402, I001 +from .workflow_tool_response_model_input_steps_item import WorkflowToolResponseModelInputStepsItem # noqa: E402, I001 update_forward_refs( WorkflowToolNestedToolsStepModelInput, ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput=ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput, + WorkflowToolNestedToolsStepModelInputResultsItem=WorkflowToolNestedToolsStepModelInputResultsItem, + WorkflowToolResponseModelInput=WorkflowToolResponseModelInput, + WorkflowToolResponseModelInputStepsItem=WorkflowToolResponseModelInputStepsItem, ) diff --git a/src/elevenlabs/types/workflow_tool_nested_tools_step_model_output.py b/src/elevenlabs/types/workflow_tool_nested_tools_step_model_output.py index d079603c..0ca73c17 100644 --- a/src/elevenlabs/types/workflow_tool_nested_tools_step_model_output.py +++ b/src/elevenlabs/types/workflow_tool_nested_tools_step_model_output.py @@ -33,8 +33,13 @@ class Config: ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput, ) # noqa: E402, I001 from .workflow_tool_nested_tools_step_model_output_results_item import WorkflowToolNestedToolsStepModelOutputResultsItem # noqa: E402, I001 +from .workflow_tool_response_model_output import WorkflowToolResponseModelOutput # noqa: E402, I001 +from .workflow_tool_response_model_output_steps_item import WorkflowToolResponseModelOutputStepsItem # noqa: E402, I001 update_forward_refs( WorkflowToolNestedToolsStepModelOutput, ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput=ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput, + WorkflowToolNestedToolsStepModelOutputResultsItem=WorkflowToolNestedToolsStepModelOutputResultsItem, + WorkflowToolResponseModelOutput=WorkflowToolResponseModelOutput, + WorkflowToolResponseModelOutputStepsItem=WorkflowToolResponseModelOutputStepsItem, ) diff --git a/src/elevenlabs/types/workflow_tool_response_model_input.py b/src/elevenlabs/types/workflow_tool_response_model_input.py index ef7c032c..48d241ff 100644 --- a/src/elevenlabs/types/workflow_tool_response_model_input.py +++ b/src/elevenlabs/types/workflow_tool_response_model_input.py @@ -26,6 +26,17 @@ class Config: extra = pydantic.Extra.allow +from .conversation_history_transcript_workflow_tools_result_common_model_input import ( + ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput, +) # noqa: E402, I001 +from .workflow_tool_nested_tools_step_model_input import WorkflowToolNestedToolsStepModelInput # noqa: E402, I001 +from .workflow_tool_nested_tools_step_model_input_results_item import WorkflowToolNestedToolsStepModelInputResultsItem # noqa: E402, I001 from .workflow_tool_response_model_input_steps_item import WorkflowToolResponseModelInputStepsItem # noqa: E402, I001 -update_forward_refs(WorkflowToolResponseModelInput) +update_forward_refs( + WorkflowToolResponseModelInput, + ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput=ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput, + WorkflowToolNestedToolsStepModelInput=WorkflowToolNestedToolsStepModelInput, + WorkflowToolNestedToolsStepModelInputResultsItem=WorkflowToolNestedToolsStepModelInputResultsItem, + WorkflowToolResponseModelInputStepsItem=WorkflowToolResponseModelInputStepsItem, +) diff --git a/src/elevenlabs/types/workflow_tool_response_model_input_steps_item.py b/src/elevenlabs/types/workflow_tool_response_model_input_steps_item.py index 9bf3d3ce..2731a755 100644 --- a/src/elevenlabs/types/workflow_tool_response_model_input_steps_item.py +++ b/src/elevenlabs/types/workflow_tool_response_model_input_steps_item.py @@ -74,8 +74,12 @@ class Config: ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput, ) # noqa: E402, I001 from .workflow_tool_nested_tools_step_model_input_results_item import WorkflowToolNestedToolsStepModelInputResultsItem # noqa: E402, I001 +from .workflow_tool_response_model_input import WorkflowToolResponseModelInput # noqa: E402, I001 update_forward_refs( WorkflowToolResponseModelInputStepsItem_NestedTools, ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput=ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput, + WorkflowToolNestedToolsStepModelInputResultsItem=WorkflowToolNestedToolsStepModelInputResultsItem, + WorkflowToolResponseModelInput=WorkflowToolResponseModelInput, + WorkflowToolResponseModelInputStepsItem=WorkflowToolResponseModelInputStepsItem, ) diff --git a/src/elevenlabs/types/workflow_tool_response_model_output.py b/src/elevenlabs/types/workflow_tool_response_model_output.py index 9f84aefd..d063aebd 100644 --- a/src/elevenlabs/types/workflow_tool_response_model_output.py +++ b/src/elevenlabs/types/workflow_tool_response_model_output.py @@ -26,6 +26,17 @@ class Config: extra = pydantic.Extra.allow +from .conversation_history_transcript_workflow_tools_result_common_model_output import ( + ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput, +) # noqa: E402, I001 +from .workflow_tool_nested_tools_step_model_output import WorkflowToolNestedToolsStepModelOutput # noqa: E402, I001 +from .workflow_tool_nested_tools_step_model_output_results_item import WorkflowToolNestedToolsStepModelOutputResultsItem # noqa: E402, I001 from .workflow_tool_response_model_output_steps_item import WorkflowToolResponseModelOutputStepsItem # noqa: E402, I001 -update_forward_refs(WorkflowToolResponseModelOutput) +update_forward_refs( + WorkflowToolResponseModelOutput, + ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput=ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput, + WorkflowToolNestedToolsStepModelOutput=WorkflowToolNestedToolsStepModelOutput, + WorkflowToolNestedToolsStepModelOutputResultsItem=WorkflowToolNestedToolsStepModelOutputResultsItem, + WorkflowToolResponseModelOutputStepsItem=WorkflowToolResponseModelOutputStepsItem, +) diff --git a/src/elevenlabs/types/workflow_tool_response_model_output_steps_item.py b/src/elevenlabs/types/workflow_tool_response_model_output_steps_item.py index e0c1521b..98f35b92 100644 --- a/src/elevenlabs/types/workflow_tool_response_model_output_steps_item.py +++ b/src/elevenlabs/types/workflow_tool_response_model_output_steps_item.py @@ -74,8 +74,12 @@ class Config: ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput, ) # noqa: E402, I001 from .workflow_tool_nested_tools_step_model_output_results_item import WorkflowToolNestedToolsStepModelOutputResultsItem # noqa: E402, I001 +from .workflow_tool_response_model_output import WorkflowToolResponseModelOutput # noqa: E402, I001 update_forward_refs( WorkflowToolResponseModelOutputStepsItem_NestedTools, ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput=ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput, + WorkflowToolNestedToolsStepModelOutputResultsItem=WorkflowToolNestedToolsStepModelOutputResultsItem, + WorkflowToolResponseModelOutput=WorkflowToolResponseModelOutput, + WorkflowToolResponseModelOutputStepsItem=WorkflowToolResponseModelOutputStepsItem, ) diff --git a/src/elevenlabs/types/workspace_api_key_list_response_model.py b/src/elevenlabs/types/workspace_api_key_list_response_model.py index 95e30191..ad6ee07a 100644 --- a/src/elevenlabs/types/workspace_api_key_list_response_model.py +++ b/src/elevenlabs/types/workspace_api_key_list_response_model.py @@ -11,7 +11,9 @@ class WorkspaceApiKeyListResponseModel(UncheckedBaseModel): - api_keys: typing_extensions.Annotated[typing.List[WorkspaceApiKeyResponseModel], FieldMetadata(alias="api-keys")] + api_keys: typing_extensions.Annotated[ + typing.List[WorkspaceApiKeyResponseModel], FieldMetadata(alias="api-keys"), pydantic.Field(alias="api-keys") + ] if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/elevenlabs/types/workspace_create_api_key_response_model.py b/src/elevenlabs/types/workspace_create_api_key_response_model.py index 3df0b80e..38acccef 100644 --- a/src/elevenlabs/types/workspace_create_api_key_response_model.py +++ b/src/elevenlabs/types/workspace_create_api_key_response_model.py @@ -10,7 +10,7 @@ class WorkspaceCreateApiKeyResponseModel(UncheckedBaseModel): - xi_api_key: typing_extensions.Annotated[str, FieldMetadata(alias="xi-api-key")] + xi_api_key: typing_extensions.Annotated[str, FieldMetadata(alias="xi-api-key"), pydantic.Field(alias="xi-api-key")] key_id: str if IS_PYDANTIC_V2: diff --git a/src/elevenlabs/types/workspace_group_response_model_group_usage_limit.py b/src/elevenlabs/types/workspace_group_response_model_group_usage_limit.py index 1c727088..462bff8b 100644 --- a/src/elevenlabs/types/workspace_group_response_model_group_usage_limit.py +++ b/src/elevenlabs/types/workspace_group_response_model_group_usage_limit.py @@ -2,4 +2,6 @@ import typing -WorkspaceGroupResponseModelGroupUsageLimit = typing.Union[int, typing.Literal["unlimited"]] +from .workspace_group_response_model_group_usage_limit_one import WorkspaceGroupResponseModelGroupUsageLimitOne + +WorkspaceGroupResponseModelGroupUsageLimit = typing.Union[int, WorkspaceGroupResponseModelGroupUsageLimitOne] diff --git a/src/elevenlabs/types/workspace_group_response_model_group_usage_limit_one.py b/src/elevenlabs/types/workspace_group_response_model_group_usage_limit_one.py new file mode 100644 index 00000000..73736c23 --- /dev/null +++ b/src/elevenlabs/types/workspace_group_response_model_group_usage_limit_one.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +WorkspaceGroupResponseModelGroupUsageLimitOne = typing.Union[typing.Literal["unlimited"], typing.Any] diff --git a/src/elevenlabs/types/workspace_service_account_list_response_model.py b/src/elevenlabs/types/workspace_service_account_list_response_model.py index e58eab9e..9cb72315 100644 --- a/src/elevenlabs/types/workspace_service_account_list_response_model.py +++ b/src/elevenlabs/types/workspace_service_account_list_response_model.py @@ -12,7 +12,9 @@ class WorkspaceServiceAccountListResponseModel(UncheckedBaseModel): service_accounts: typing_extensions.Annotated[ - typing.List[WorkspaceServiceAccountResponseModel], FieldMetadata(alias="service-accounts") + typing.List[WorkspaceServiceAccountResponseModel], + FieldMetadata(alias="service-accounts"), + pydantic.Field(alias="service-accounts"), ] if IS_PYDANTIC_V2: diff --git a/src/elevenlabs/types/workspace_service_account_response_model.py b/src/elevenlabs/types/workspace_service_account_response_model.py index 971b287b..d33b63fe 100644 --- a/src/elevenlabs/types/workspace_service_account_response_model.py +++ b/src/elevenlabs/types/workspace_service_account_response_model.py @@ -15,7 +15,9 @@ class WorkspaceServiceAccountResponseModel(UncheckedBaseModel): service_account_user_id: str name: str created_at_unix: typing.Optional[int] = None - api_keys: typing_extensions.Annotated[typing.List[WorkspaceApiKeyResponseModel], FieldMetadata(alias="api-keys")] + api_keys: typing_extensions.Annotated[ + typing.List[WorkspaceApiKeyResponseModel], FieldMetadata(alias="api-keys"), pydantic.Field(alias="api-keys") + ] default_sharing_groups: typing.Optional[typing.List[DefaultSharingGroupResponseModel]] = None if IS_PYDANTIC_V2: diff --git a/src/elevenlabs/usage/raw_client.py b/src/elevenlabs/usage/raw_client.py index fb8a50ca..a0e28609 100644 --- a/src/elevenlabs/usage/raw_client.py +++ b/src/elevenlabs/usage/raw_client.py @@ -6,6 +6,7 @@ from ..core.api_error import ApiError from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ..core.http_response import AsyncHttpResponse, HttpResponse +from ..core.parse_error import ParsingError from ..core.request_options import RequestOptions from ..core.unchecked_base_model import construct_type from ..errors.unprocessable_entity_error import UnprocessableEntityError @@ -14,6 +15,7 @@ from ..types.metric_type import MetricType from ..types.usage_aggregation_interval import UsageAggregationInterval from ..types.usage_characters_response_model import UsageCharactersResponseModel +from pydantic import ValidationError class RawUsageClient: @@ -104,6 +106,10 @@ def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -195,4 +201,8 @@ async def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/user/raw_client.py b/src/elevenlabs/user/raw_client.py index 0051c866..9d97ebf2 100644 --- a/src/elevenlabs/user/raw_client.py +++ b/src/elevenlabs/user/raw_client.py @@ -6,11 +6,13 @@ from ..core.api_error import ApiError from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ..core.http_response import AsyncHttpResponse, HttpResponse +from ..core.parse_error import ParsingError from ..core.request_options import RequestOptions from ..core.unchecked_base_model import construct_type from ..errors.unprocessable_entity_error import UnprocessableEntityError from ..types.http_validation_error import HttpValidationError from ..types.user import User +from pydantic import ValidationError class RawUserClient: @@ -60,6 +62,10 @@ def get(self, *, request_options: typing.Optional[RequestOptions] = None) -> Htt _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -110,4 +116,8 @@ async def get(self, *, request_options: typing.Optional[RequestOptions] = None) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/user/subscription/raw_client.py b/src/elevenlabs/user/subscription/raw_client.py index 20686d20..2afe656f 100644 --- a/src/elevenlabs/user/subscription/raw_client.py +++ b/src/elevenlabs/user/subscription/raw_client.py @@ -6,11 +6,13 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse +from ...core.parse_error import ParsingError from ...core.request_options import RequestOptions from ...core.unchecked_base_model import construct_type from ...errors.unprocessable_entity_error import UnprocessableEntityError from ...types.http_validation_error import HttpValidationError from ...types.subscription import Subscription +from pydantic import ValidationError class RawSubscriptionClient: @@ -60,6 +62,10 @@ def get(self, *, request_options: typing.Optional[RequestOptions] = None) -> Htt _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -110,4 +116,8 @@ async def get(self, *, request_options: typing.Optional[RequestOptions] = None) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/voices/ivc/raw_client.py b/src/elevenlabs/voices/ivc/raw_client.py index a70725a4..81d76048 100644 --- a/src/elevenlabs/voices/ivc/raw_client.py +++ b/src/elevenlabs/voices/ivc/raw_client.py @@ -1,5 +1,6 @@ # This file was auto-generated by Fern from our API Definition. +import json import typing from json.decoder import JSONDecodeError @@ -7,12 +8,15 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse +from ...core.jsonable_encoder import jsonable_encoder +from ...core.parse_error import ParsingError from ...core.request_options import RequestOptions from ...core.unchecked_base_model import construct_type from ...errors.unprocessable_entity_error import UnprocessableEntityError from ...types.add_voice_ivc_response_model import AddVoiceIvcResponseModel from ...types.http_validation_error import HttpValidationError from .types.ivc_create_request_labels import IvcCreateRequestLabels +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -67,7 +71,7 @@ def create( "name": name, "remove_background_noise": remove_background_noise, "description": description, - "labels": labels, + "labels": json.dumps(jsonable_encoder(labels)), }, files={ "files": files, @@ -100,6 +104,10 @@ def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -152,7 +160,7 @@ async def create( "name": name, "remove_background_noise": remove_background_noise, "description": description, - "labels": labels, + "labels": json.dumps(jsonable_encoder(labels)), }, files={ "files": files, @@ -185,4 +193,8 @@ async def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/voices/pvc/raw_client.py b/src/elevenlabs/voices/pvc/raw_client.py index a9096ef6..2eb5496c 100644 --- a/src/elevenlabs/voices/pvc/raw_client.py +++ b/src/elevenlabs/voices/pvc/raw_client.py @@ -7,12 +7,14 @@ from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse from ...core.jsonable_encoder import jsonable_encoder +from ...core.parse_error import ParsingError from ...core.request_options import RequestOptions from ...core.unchecked_base_model import construct_type from ...errors.unprocessable_entity_error import UnprocessableEntityError from ...types.add_voice_response_model import AddVoiceResponseModel from ...types.http_validation_error import HttpValidationError from ...types.start_pvc_voice_training_response_model import StartPvcVoiceTrainingResponseModel +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -95,6 +97,10 @@ def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def update( @@ -174,6 +180,10 @@ def update( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def train( @@ -238,6 +248,10 @@ def train( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -318,6 +332,10 @@ async def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def update( @@ -397,6 +415,10 @@ async def update( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def train( @@ -461,4 +483,8 @@ async def train( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/voices/pvc/samples/audio/raw_client.py b/src/elevenlabs/voices/pvc/samples/audio/raw_client.py index d1f8ed93..23db15d0 100644 --- a/src/elevenlabs/voices/pvc/samples/audio/raw_client.py +++ b/src/elevenlabs/voices/pvc/samples/audio/raw_client.py @@ -7,11 +7,13 @@ from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.parse_error import ParsingError from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from .....errors.unprocessable_entity_error import UnprocessableEntityError from .....types.http_validation_error import HttpValidationError from .....types.voice_sample_preview_response_model import VoiceSamplePreviewResponseModel +from pydantic import ValidationError class RawAudioClient: @@ -80,6 +82,10 @@ def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -149,4 +155,8 @@ async def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/voices/pvc/samples/raw_client.py b/src/elevenlabs/voices/pvc/samples/raw_client.py index e99e34a4..11a8fe98 100644 --- a/src/elevenlabs/voices/pvc/samples/raw_client.py +++ b/src/elevenlabs/voices/pvc/samples/raw_client.py @@ -8,6 +8,7 @@ from ....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ....core.http_response import AsyncHttpResponse, HttpResponse from ....core.jsonable_encoder import jsonable_encoder +from ....core.parse_error import ParsingError from ....core.request_options import RequestOptions from ....core.unchecked_base_model import construct_type from ....errors.unprocessable_entity_error import UnprocessableEntityError @@ -15,6 +16,7 @@ from ....types.delete_voice_sample_response_model import DeleteVoiceSampleResponseModel from ....types.http_validation_error import HttpValidationError from ....types.voice_sample import VoiceSample +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -91,6 +93,10 @@ def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def update( @@ -179,6 +185,10 @@ def update( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def delete( @@ -232,6 +242,10 @@ def delete( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -306,6 +320,10 @@ async def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def update( @@ -394,6 +412,10 @@ async def update( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def delete( @@ -447,4 +469,8 @@ async def delete( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/voices/pvc/samples/speakers/audio/raw_client.py b/src/elevenlabs/voices/pvc/samples/speakers/audio/raw_client.py index 192d069a..5b37cc5e 100644 --- a/src/elevenlabs/voices/pvc/samples/speakers/audio/raw_client.py +++ b/src/elevenlabs/voices/pvc/samples/speakers/audio/raw_client.py @@ -7,11 +7,13 @@ from ......core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ......core.http_response import AsyncHttpResponse, HttpResponse from ......core.jsonable_encoder import jsonable_encoder +from ......core.parse_error import ParsingError from ......core.request_options import RequestOptions from ......core.unchecked_base_model import construct_type from ......errors.unprocessable_entity_error import UnprocessableEntityError from ......types.http_validation_error import HttpValidationError from ......types.speaker_audio_response_model import SpeakerAudioResponseModel +from pydantic import ValidationError class RawAudioClient: @@ -72,6 +74,10 @@ def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -133,4 +139,8 @@ async def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/voices/pvc/samples/speakers/raw_client.py b/src/elevenlabs/voices/pvc/samples/speakers/raw_client.py index 976888b1..9563a477 100644 --- a/src/elevenlabs/voices/pvc/samples/speakers/raw_client.py +++ b/src/elevenlabs/voices/pvc/samples/speakers/raw_client.py @@ -7,12 +7,14 @@ from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.parse_error import ParsingError from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from .....errors.unprocessable_entity_error import UnprocessableEntityError from .....types.http_validation_error import HttpValidationError from .....types.speaker_separation_response_model import SpeakerSeparationResponseModel from .....types.start_speaker_separation_response_model import StartSpeakerSeparationResponseModel +from pydantic import ValidationError class RawSpeakersClient: @@ -70,6 +72,10 @@ def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def separate( @@ -123,6 +129,10 @@ def separate( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -181,6 +191,10 @@ async def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def separate( @@ -234,4 +248,8 @@ async def separate( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/voices/pvc/samples/waveform/raw_client.py b/src/elevenlabs/voices/pvc/samples/waveform/raw_client.py index 37660a4a..c9bd90ce 100644 --- a/src/elevenlabs/voices/pvc/samples/waveform/raw_client.py +++ b/src/elevenlabs/voices/pvc/samples/waveform/raw_client.py @@ -7,11 +7,13 @@ from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.parse_error import ParsingError from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from .....errors.unprocessable_entity_error import UnprocessableEntityError from .....types.http_validation_error import HttpValidationError from .....types.voice_sample_visual_waveform_response_model import VoiceSampleVisualWaveformResponseModel +from pydantic import ValidationError class RawWaveformClient: @@ -69,6 +71,10 @@ def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -127,4 +133,8 @@ async def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/voices/pvc/verification/captcha/raw_client.py b/src/elevenlabs/voices/pvc/verification/captcha/raw_client.py index 4a1beb91..5fbe558d 100644 --- a/src/elevenlabs/voices/pvc/verification/captcha/raw_client.py +++ b/src/elevenlabs/voices/pvc/verification/captcha/raw_client.py @@ -8,11 +8,13 @@ from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.parse_error import ParsingError from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from .....errors.unprocessable_entity_error import UnprocessableEntityError from .....types.http_validation_error import HttpValidationError from .....types.verify_pvc_voice_captcha_response_model import VerifyPvcVoiceCaptchaResponseModel +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -60,6 +62,10 @@ def get(self, voice_id: str, *, request_options: typing.Optional[RequestOptions] _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def verify( @@ -119,6 +125,10 @@ def verify( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -166,6 +176,10 @@ async def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def verify( @@ -225,4 +239,8 @@ async def verify( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/voices/pvc/verification/raw_client.py b/src/elevenlabs/voices/pvc/verification/raw_client.py index 33007b9d..9f633178 100644 --- a/src/elevenlabs/voices/pvc/verification/raw_client.py +++ b/src/elevenlabs/voices/pvc/verification/raw_client.py @@ -8,11 +8,13 @@ from ....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ....core.http_response import AsyncHttpResponse, HttpResponse from ....core.jsonable_encoder import jsonable_encoder +from ....core.parse_error import ParsingError from ....core.request_options import RequestOptions from ....core.unchecked_base_model import construct_type from ....errors.unprocessable_entity_error import UnprocessableEntityError from ....types.http_validation_error import HttpValidationError from ....types.request_pvc_manual_verification_response_model import RequestPvcManualVerificationResponseModel +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -89,6 +91,10 @@ def request( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -163,4 +169,8 @@ async def request( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/voices/raw_client.py b/src/elevenlabs/voices/raw_client.py index f1a29f07..9828a68e 100644 --- a/src/elevenlabs/voices/raw_client.py +++ b/src/elevenlabs/voices/raw_client.py @@ -1,5 +1,6 @@ # This file was auto-generated by Fern from our API Definition. +import json import typing from json.decoder import JSONDecodeError @@ -8,6 +9,7 @@ from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ..core.http_response import AsyncHttpResponse, HttpResponse from ..core.jsonable_encoder import jsonable_encoder +from ..core.parse_error import ParsingError from ..core.request_options import RequestOptions from ..core.unchecked_base_model import construct_type from ..errors.unprocessable_entity_error import UnprocessableEntityError @@ -21,6 +23,7 @@ from ..types.voice import Voice from .types.voices_get_shared_request_category import VoicesGetSharedRequestCategory from .types.voices_update_request_labels import VoicesUpdateRequestLabels +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -81,6 +84,10 @@ def get_all( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def search( @@ -187,6 +194,10 @@ def search( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def get( @@ -247,6 +258,10 @@ def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def delete( @@ -297,6 +312,10 @@ def delete( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def update( @@ -348,7 +367,7 @@ def update( "name": name, "remove_background_noise": remove_background_noise, "description": description, - "labels": labels, + "labels": json.dumps(jsonable_encoder(labels)), }, files={ **({"files": files} if files is not None else {}), @@ -381,6 +400,10 @@ def update( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def share( @@ -453,6 +476,10 @@ def share( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def get_shared( @@ -593,6 +620,10 @@ def get_shared( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def find_similar_voices( @@ -663,6 +694,10 @@ def find_similar_voices( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -721,6 +756,10 @@ async def get_all( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def search( @@ -827,6 +866,10 @@ async def search( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def get( @@ -887,6 +930,10 @@ async def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def delete( @@ -937,6 +984,10 @@ async def delete( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def update( @@ -988,7 +1039,7 @@ async def update( "name": name, "remove_background_noise": remove_background_noise, "description": description, - "labels": labels, + "labels": json.dumps(jsonable_encoder(labels)), }, files={ **({"files": files} if files is not None else {}), @@ -1021,6 +1072,10 @@ async def update( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def share( @@ -1093,6 +1148,10 @@ async def share( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def get_shared( @@ -1233,6 +1292,10 @@ async def get_shared( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def find_similar_voices( @@ -1303,4 +1366,8 @@ async def find_similar_voices( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/voices/samples/audio/raw_client.py b/src/elevenlabs/voices/samples/audio/raw_client.py index 144242b1..b1bd8d5c 100644 --- a/src/elevenlabs/voices/samples/audio/raw_client.py +++ b/src/elevenlabs/voices/samples/audio/raw_client.py @@ -8,10 +8,12 @@ from ....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ....core.http_response import AsyncHttpResponse, HttpResponse from ....core.jsonable_encoder import jsonable_encoder +from ....core.parse_error import ParsingError from ....core.request_options import RequestOptions from ....core.unchecked_base_model import construct_type from ....errors.unprocessable_entity_error import UnprocessableEntityError from ....types.http_validation_error import HttpValidationError +from pydantic import ValidationError class RawAudioClient: @@ -71,6 +73,13 @@ def _stream() -> HttpResponse[typing.Iterator[bytes]]: raise ApiError( status_code=_response.status_code, headers=dict(_response.headers), body=_response.text ) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, + headers=dict(_response.headers), + body=_response.json(), + cause=e, + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) yield _stream() @@ -134,6 +143,13 @@ async def _stream() -> AsyncHttpResponse[typing.AsyncIterator[bytes]]: raise ApiError( status_code=_response.status_code, headers=dict(_response.headers), body=_response.text ) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, + headers=dict(_response.headers), + body=_response.json(), + cause=e, + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) yield await _stream() diff --git a/src/elevenlabs/voices/settings/raw_client.py b/src/elevenlabs/voices/settings/raw_client.py index 9166a8a2..30a91a56 100644 --- a/src/elevenlabs/voices/settings/raw_client.py +++ b/src/elevenlabs/voices/settings/raw_client.py @@ -7,6 +7,7 @@ from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse from ...core.jsonable_encoder import jsonable_encoder +from ...core.parse_error import ParsingError from ...core.request_options import RequestOptions from ...core.serialization import convert_and_respect_annotation_metadata from ...core.unchecked_base_model import construct_type @@ -14,6 +15,7 @@ from ...types.edit_voice_settings_response_model import EditVoiceSettingsResponseModel from ...types.http_validation_error import HttpValidationError from ...types.voice_settings import VoiceSettings +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -55,6 +57,10 @@ def get_default(self, *, request_options: typing.Optional[RequestOptions] = None _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def get( @@ -105,6 +111,10 @@ def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def update( @@ -162,6 +172,10 @@ def update( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -203,6 +217,10 @@ async def get_default( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def get( @@ -253,6 +271,10 @@ async def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def update( @@ -310,4 +332,8 @@ async def update( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/webhooks/client.py b/src/elevenlabs/webhooks/client.py index 1645f961..0cb3034c 100644 --- a/src/elevenlabs/webhooks/client.py +++ b/src/elevenlabs/webhooks/client.py @@ -91,6 +91,7 @@ def create( ) client.webhooks.create( settings=WebhookHmacSettings( + auth_type="hmac", name="name", webhook_url="webhook_url", ), @@ -274,6 +275,7 @@ async def create( async def main() -> None: await client.webhooks.create( settings=WebhookHmacSettings( + auth_type="hmac", name="name", webhook_url="webhook_url", ), diff --git a/src/elevenlabs/webhooks/raw_client.py b/src/elevenlabs/webhooks/raw_client.py index a67d8289..49516e9b 100644 --- a/src/elevenlabs/webhooks/raw_client.py +++ b/src/elevenlabs/webhooks/raw_client.py @@ -7,6 +7,7 @@ from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ..core.http_response import AsyncHttpResponse, HttpResponse from ..core.jsonable_encoder import jsonable_encoder +from ..core.parse_error import ParsingError from ..core.request_options import RequestOptions from ..core.serialization import convert_and_respect_annotation_metadata from ..core.unchecked_base_model import construct_type @@ -17,6 +18,7 @@ from ..types.webhook_hmac_settings import WebhookHmacSettings from ..types.workspace_create_webhook_response_model import WorkspaceCreateWebhookResponseModel from ..types.workspace_webhook_list_response_model import WorkspaceWebhookListResponseModel +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -77,6 +79,10 @@ def list( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def create( @@ -136,6 +142,10 @@ def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def delete( @@ -186,6 +196,10 @@ def delete( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def update( @@ -260,6 +274,10 @@ def update( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -318,6 +336,10 @@ async def list( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def create( @@ -377,6 +399,10 @@ async def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def delete( @@ -427,6 +453,10 @@ async def delete( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def update( @@ -501,4 +531,8 @@ async def update( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/workspace/groups/members/raw_client.py b/src/elevenlabs/workspace/groups/members/raw_client.py index c03cb924..d0caa3c6 100644 --- a/src/elevenlabs/workspace/groups/members/raw_client.py +++ b/src/elevenlabs/workspace/groups/members/raw_client.py @@ -7,12 +7,14 @@ from ....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ....core.http_response import AsyncHttpResponse, HttpResponse from ....core.jsonable_encoder import jsonable_encoder +from ....core.parse_error import ParsingError from ....core.request_options import RequestOptions from ....core.unchecked_base_model import construct_type from ....errors.unprocessable_entity_error import UnprocessableEntityError from ....types.add_workspace_group_member_response_model import AddWorkspaceGroupMemberResponseModel from ....types.delete_workspace_group_member_response_model import DeleteWorkspaceGroupMemberResponseModel from ....types.http_validation_error import HttpValidationError +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -80,6 +82,10 @@ def remove( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def add( @@ -140,6 +146,10 @@ def add( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -205,6 +215,10 @@ async def remove( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def add( @@ -265,4 +279,8 @@ async def add( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/workspace/groups/raw_client.py b/src/elevenlabs/workspace/groups/raw_client.py index 85ca848f..81799209 100644 --- a/src/elevenlabs/workspace/groups/raw_client.py +++ b/src/elevenlabs/workspace/groups/raw_client.py @@ -6,12 +6,14 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse +from ...core.parse_error import ParsingError from ...core.request_options import RequestOptions from ...core.unchecked_base_model import construct_type from ...errors.unprocessable_entity_error import UnprocessableEntityError from ...types.http_validation_error import HttpValidationError from ...types.workspace_group_by_name_response_model import WorkspaceGroupByNameResponseModel from ...types.workspace_group_response_model import WorkspaceGroupResponseModel +from pydantic import ValidationError class RawGroupsClient: @@ -63,6 +65,10 @@ def list( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def search( @@ -116,6 +122,10 @@ def search( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -168,6 +178,10 @@ async def list( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def search( @@ -221,4 +235,8 @@ async def search( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/workspace/invites/raw_client.py b/src/elevenlabs/workspace/invites/raw_client.py index 2da7a156..c8dda914 100644 --- a/src/elevenlabs/workspace/invites/raw_client.py +++ b/src/elevenlabs/workspace/invites/raw_client.py @@ -6,6 +6,7 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse +from ...core.parse_error import ParsingError from ...core.request_options import RequestOptions from ...core.unchecked_base_model import construct_type from ...errors.unprocessable_entity_error import UnprocessableEntityError @@ -13,6 +14,7 @@ from ...types.delete_workspace_invite_response_model import DeleteWorkspaceInviteResponseModel from ...types.http_validation_error import HttpValidationError from ...types.seat_type import SeatType +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -95,6 +97,10 @@ def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def create_batch( @@ -165,6 +171,10 @@ def create_batch( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def delete( @@ -222,6 +232,10 @@ def delete( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -302,6 +316,10 @@ async def create( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def create_batch( @@ -372,6 +390,10 @@ async def create_batch( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def delete( @@ -429,4 +451,8 @@ async def delete( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/workspace/members/raw_client.py b/src/elevenlabs/workspace/members/raw_client.py index 1f5de96e..8bb0e975 100644 --- a/src/elevenlabs/workspace/members/raw_client.py +++ b/src/elevenlabs/workspace/members/raw_client.py @@ -6,12 +6,14 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse +from ...core.parse_error import ParsingError from ...core.request_options import RequestOptions from ...core.unchecked_base_model import construct_type from ...errors.unprocessable_entity_error import UnprocessableEntityError from ...types.http_validation_error import HttpValidationError from ...types.seat_type import SeatType from ...types.update_workspace_member_response_model import UpdateWorkspaceMemberResponseModel +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -94,6 +96,10 @@ def update( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -174,4 +180,8 @@ async def update( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/elevenlabs/workspace/resources/raw_client.py b/src/elevenlabs/workspace/resources/raw_client.py index a58334e8..b99dea4b 100644 --- a/src/elevenlabs/workspace/resources/raw_client.py +++ b/src/elevenlabs/workspace/resources/raw_client.py @@ -7,6 +7,7 @@ from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse from ...core.jsonable_encoder import jsonable_encoder +from ...core.parse_error import ParsingError from ...core.request_options import RequestOptions from ...core.unchecked_base_model import construct_type from ...errors.unprocessable_entity_error import UnprocessableEntityError @@ -16,6 +17,7 @@ from .types.body_share_workspace_resource_v_1_workspace_resources_resource_id_share_post_role import ( BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePostRole, ) +from pydantic import ValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -83,6 +85,10 @@ def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def share( @@ -169,6 +175,10 @@ def share( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) def unshare( @@ -250,6 +260,10 @@ def unshare( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) @@ -315,6 +329,10 @@ async def get( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def share( @@ -401,6 +419,10 @@ async def share( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) async def unshare( @@ -482,4 +504,8 @@ async def unshare( _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)