diff --git a/.fern/metadata.json b/.fern/metadata.json index ebefebba..aad42f61 100644 --- a/.fern/metadata.json +++ b/.fern/metadata.json @@ -7,7 +7,7 @@ "default_bytes_stream_chunk_size": 1024, "inline_request_params": false, "follow_redirects_by_default": true, - "recursion_limit": 5000, + "recursion_limit": 10000, "pydantic_config": { "skip_validation": true }, diff --git a/poetry.lock b/poetry.lock index 08c13181..a2b4ed0e 100644 --- a/poetry.lock +++ b/poetry.lock @@ -701,58 +701,58 @@ files = [ [[package]] name = "tomli" -version = "2.4.0" +version = "2.4.1" description = "A lil' TOML parser" optional = false python-versions = ">=3.8" files = [ - {file = "tomli-2.4.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:b5ef256a3fd497d4973c11bf142e9ed78b150d36f5773f1ca6088c230ffc5867"}, - {file = "tomli-2.4.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:5572e41282d5268eb09a697c89a7bee84fae66511f87533a6f88bd2f7b652da9"}, - {file = "tomli-2.4.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:551e321c6ba03b55676970b47cb1b73f14a0a4dce6a3e1a9458fd6d921d72e95"}, - {file = "tomli-2.4.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:5e3f639a7a8f10069d0e15408c0b96a2a828cfdec6fca05296ebcdcc28ca7c76"}, - {file = "tomli-2.4.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:1b168f2731796b045128c45982d3a4874057626da0e2ef1fdd722848b741361d"}, - {file = "tomli-2.4.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:133e93646ec4300d651839d382d63edff11d8978be23da4cc106f5a18b7d0576"}, - {file = "tomli-2.4.0-cp311-cp311-win32.whl", hash = "sha256:b6c78bdf37764092d369722d9946cb65b8767bfa4110f902a1b2542d8d173c8a"}, - {file = "tomli-2.4.0-cp311-cp311-win_amd64.whl", hash = "sha256:d3d1654e11d724760cdb37a3d7691f0be9db5fbdaef59c9f532aabf87006dbaa"}, - {file = "tomli-2.4.0-cp311-cp311-win_arm64.whl", hash = "sha256:cae9c19ed12d4e8f3ebf46d1a75090e4c0dc16271c5bce1c833ac168f08fb614"}, - {file = "tomli-2.4.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:920b1de295e72887bafa3ad9f7a792f811847d57ea6b1215154030cf131f16b1"}, - {file = "tomli-2.4.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:7d6d9a4aee98fac3eab4952ad1d73aee87359452d1c086b5ceb43ed02ddb16b8"}, - {file = "tomli-2.4.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:36b9d05b51e65b254ea6c2585b59d2c4cb91c8a3d91d0ed0f17591a29aaea54a"}, - {file = "tomli-2.4.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:1c8a885b370751837c029ef9bc014f27d80840e48bac415f3412e6593bbc18c1"}, - {file = "tomli-2.4.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:8768715ffc41f0008abe25d808c20c3d990f42b6e2e58305d5da280ae7d1fa3b"}, - {file = "tomli-2.4.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:7b438885858efd5be02a9a133caf5812b8776ee0c969fea02c45e8e3f296ba51"}, - {file = "tomli-2.4.0-cp312-cp312-win32.whl", hash = "sha256:0408e3de5ec77cc7f81960c362543cbbd91ef883e3138e81b729fc3eea5b9729"}, - {file = "tomli-2.4.0-cp312-cp312-win_amd64.whl", hash = "sha256:685306e2cc7da35be4ee914fd34ab801a6acacb061b6a7abca922aaf9ad368da"}, - {file = "tomli-2.4.0-cp312-cp312-win_arm64.whl", hash = "sha256:5aa48d7c2356055feef06a43611fc401a07337d5b006be13a30f6c58f869e3c3"}, - {file = "tomli-2.4.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:84d081fbc252d1b6a982e1870660e7330fb8f90f676f6e78b052ad4e64714bf0"}, - {file = "tomli-2.4.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:9a08144fa4cba33db5255f9b74f0b89888622109bd2776148f2597447f92a94e"}, - {file = "tomli-2.4.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c73add4bb52a206fd0c0723432db123c0c75c280cbd67174dd9d2db228ebb1b4"}, - {file = "tomli-2.4.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:1fb2945cbe303b1419e2706e711b7113da57b7db31ee378d08712d678a34e51e"}, - {file = "tomli-2.4.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:bbb1b10aa643d973366dc2cb1ad94f99c1726a02343d43cbc011edbfac579e7c"}, - {file = "tomli-2.4.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:4cbcb367d44a1f0c2be408758b43e1ffb5308abe0ea222897d6bfc8e8281ef2f"}, - {file = "tomli-2.4.0-cp313-cp313-win32.whl", hash = "sha256:7d49c66a7d5e56ac959cb6fc583aff0651094ec071ba9ad43df785abc2320d86"}, - {file = "tomli-2.4.0-cp313-cp313-win_amd64.whl", hash = "sha256:3cf226acb51d8f1c394c1b310e0e0e61fecdd7adcb78d01e294ac297dd2e7f87"}, - {file = "tomli-2.4.0-cp313-cp313-win_arm64.whl", hash = "sha256:d20b797a5c1ad80c516e41bc1fb0443ddb5006e9aaa7bda2d71978346aeb9132"}, - {file = "tomli-2.4.0-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:26ab906a1eb794cd4e103691daa23d95c6919cc2fa9160000ac02370cc9dd3f6"}, - {file = "tomli-2.4.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:20cedb4ee43278bc4f2fee6cb50daec836959aadaf948db5172e776dd3d993fc"}, - {file = "tomli-2.4.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:39b0b5d1b6dd03684b3fb276407ebed7090bbec989fa55838c98560c01113b66"}, - {file = "tomli-2.4.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a26d7ff68dfdb9f87a016ecfd1e1c2bacbe3108f4e0f8bcd2228ef9a766c787d"}, - {file = "tomli-2.4.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:20ffd184fb1df76a66e34bd1b36b4a4641bd2b82954befa32fe8163e79f1a702"}, - {file = "tomli-2.4.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:75c2f8bbddf170e8effc98f5e9084a8751f8174ea6ccf4fca5398436e0320bc8"}, - {file = "tomli-2.4.0-cp314-cp314-win32.whl", hash = "sha256:31d556d079d72db7c584c0627ff3a24c5d3fb4f730221d3444f3efb1b2514776"}, - {file = "tomli-2.4.0-cp314-cp314-win_amd64.whl", hash = "sha256:43e685b9b2341681907759cf3a04e14d7104b3580f808cfde1dfdb60ada85475"}, - {file = "tomli-2.4.0-cp314-cp314-win_arm64.whl", hash = "sha256:3d895d56bd3f82ddd6faaff993c275efc2ff38e52322ea264122d72729dca2b2"}, - {file = "tomli-2.4.0-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:5b5807f3999fb66776dbce568cc9a828544244a8eb84b84b9bafc080c99597b9"}, - {file = "tomli-2.4.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:c084ad935abe686bd9c898e62a02a19abfc9760b5a79bc29644463eaf2840cb0"}, - {file = "tomli-2.4.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:0f2e3955efea4d1cfbcb87bc321e00dc08d2bcb737fd1d5e398af111d86db5df"}, - {file = "tomli-2.4.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0e0fe8a0b8312acf3a88077a0802565cb09ee34107813bba1c7cd591fa6cfc8d"}, - {file = "tomli-2.4.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:413540dce94673591859c4c6f794dfeaa845e98bf35d72ed59636f869ef9f86f"}, - {file = "tomli-2.4.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:0dc56fef0e2c1c470aeac5b6ca8cc7b640bb93e92d9803ddaf9ea03e198f5b0b"}, - {file = "tomli-2.4.0-cp314-cp314t-win32.whl", hash = "sha256:d878f2a6707cc9d53a1be1414bbb419e629c3d6e67f69230217bb663e76b5087"}, - {file = "tomli-2.4.0-cp314-cp314t-win_amd64.whl", hash = "sha256:2add28aacc7425117ff6364fe9e06a183bb0251b03f986df0e78e974047571fd"}, - {file = "tomli-2.4.0-cp314-cp314t-win_arm64.whl", hash = "sha256:2b1e3b80e1d5e52e40e9b924ec43d81570f0e7d09d11081b797bc4692765a3d4"}, - {file = "tomli-2.4.0-py3-none-any.whl", hash = "sha256:1f776e7d669ebceb01dee46484485f43a4048746235e683bcdffacdf1fb4785a"}, - {file = "tomli-2.4.0.tar.gz", hash = "sha256:aa89c3f6c277dd275d8e243ad24f3b5e701491a860d5121f2cdd399fbb31fc9c"}, + {file = "tomli-2.4.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:f8f0fc26ec2cc2b965b7a3b87cd19c5c6b8c5e5f436b984e85f486d652285c30"}, + {file = "tomli-2.4.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:4ab97e64ccda8756376892c53a72bd1f964e519c77236368527f758fbc36a53a"}, + {file = "tomli-2.4.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:96481a5786729fd470164b47cdb3e0e58062a496f455ee41b4403be77cb5a076"}, + {file = "tomli-2.4.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:5a881ab208c0baf688221f8cecc5401bd291d67e38a1ac884d6736cbcd8247e9"}, + {file = "tomli-2.4.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:47149d5bd38761ac8be13a84864bf0b7b70bc051806bc3669ab1cbc56216b23c"}, + {file = "tomli-2.4.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:ec9bfaf3ad2df51ace80688143a6a4ebc09a248f6ff781a9945e51937008fcbc"}, + {file = "tomli-2.4.1-cp311-cp311-win32.whl", hash = "sha256:ff2983983d34813c1aeb0fa89091e76c3a22889ee83ab27c5eeb45100560c049"}, + {file = "tomli-2.4.1-cp311-cp311-win_amd64.whl", hash = "sha256:5ee18d9ebdb417e384b58fe414e8d6af9f4e7a0ae761519fb50f721de398dd4e"}, + {file = "tomli-2.4.1-cp311-cp311-win_arm64.whl", hash = "sha256:c2541745709bad0264b7d4705ad453b76ccd191e64aa6f0fc66b69a293a45ece"}, + {file = "tomli-2.4.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:c742f741d58a28940ce01d58f0ab2ea3ced8b12402f162f4d534dfe18ba1cd6a"}, + {file = "tomli-2.4.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:7f86fd587c4ed9dd76f318225e7d9b29cfc5a9d43de44e5754db8d1128487085"}, + {file = "tomli-2.4.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ff18e6a727ee0ab0388507b89d1bc6a22b138d1e2fa56d1ad494586d61d2eae9"}, + {file = "tomli-2.4.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:136443dbd7e1dee43c68ac2694fde36b2849865fa258d39bf822c10e8068eac5"}, + {file = "tomli-2.4.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:5e262d41726bc187e69af7825504c933b6794dc3fbd5945e41a79bb14c31f585"}, + {file = "tomli-2.4.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:5cb41aa38891e073ee49d55fbc7839cfdb2bc0e600add13874d048c94aadddd1"}, + {file = "tomli-2.4.1-cp312-cp312-win32.whl", hash = "sha256:da25dc3563bff5965356133435b757a795a17b17d01dbc0f42fb32447ddfd917"}, + {file = "tomli-2.4.1-cp312-cp312-win_amd64.whl", hash = "sha256:52c8ef851d9a240f11a88c003eacb03c31fc1c9c4ec64a99a0f922b93874fda9"}, + {file = "tomli-2.4.1-cp312-cp312-win_arm64.whl", hash = "sha256:f758f1b9299d059cc3f6546ae2af89670cb1c4d48ea29c3cacc4fe7de3058257"}, + {file = "tomli-2.4.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:36d2bd2ad5fb9eaddba5226aa02c8ec3fa4f192631e347b3ed28186d43be6b54"}, + {file = "tomli-2.4.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:eb0dc4e38e6a1fd579e5d50369aa2e10acfc9cace504579b2faabb478e76941a"}, + {file = "tomli-2.4.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c7f2c7f2b9ca6bdeef8f0fa897f8e05085923eb091721675170254cbc5b02897"}, + {file = "tomli-2.4.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:f3c6818a1a86dd6dca7ddcaaf76947d5ba31aecc28cb1b67009a5877c9a64f3f"}, + {file = "tomli-2.4.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:d312ef37c91508b0ab2cee7da26ec0b3ed2f03ce12bd87a588d771ae15dcf82d"}, + {file = "tomli-2.4.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:51529d40e3ca50046d7606fa99ce3956a617f9b36380da3b7f0dd3dd28e68cb5"}, + {file = "tomli-2.4.1-cp313-cp313-win32.whl", hash = "sha256:2190f2e9dd7508d2a90ded5ed369255980a1bcdd58e52f7fe24b8162bf9fedbd"}, + {file = "tomli-2.4.1-cp313-cp313-win_amd64.whl", hash = "sha256:8d65a2fbf9d2f8352685bc1364177ee3923d6baf5e7f43ea4959d7d8bc326a36"}, + {file = "tomli-2.4.1-cp313-cp313-win_arm64.whl", hash = "sha256:4b605484e43cdc43f0954ddae319fb75f04cc10dd80d830540060ee7cd0243cd"}, + {file = "tomli-2.4.1-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:fd0409a3653af6c147209d267a0e4243f0ae46b011aa978b1080359fddc9b6cf"}, + {file = "tomli-2.4.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:a120733b01c45e9a0c34aeef92bf0cf1d56cfe81ed9d47d562f9ed591a9828ac"}, + {file = "tomli-2.4.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:559db847dc486944896521f68d8190be1c9e719fced785720d2216fe7022b662"}, + {file = "tomli-2.4.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:01f520d4f53ef97964a240a035ec2a869fe1a37dde002b57ebc4417a27ccd853"}, + {file = "tomli-2.4.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:7f94b27a62cfad8496c8d2513e1a222dd446f095fca8987fceef261225538a15"}, + {file = "tomli-2.4.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:ede3e6487c5ef5d28634ba3f31f989030ad6af71edfb0055cbbd14189ff240ba"}, + {file = "tomli-2.4.1-cp314-cp314-win32.whl", hash = "sha256:3d48a93ee1c9b79c04bb38772ee1b64dcf18ff43085896ea460ca8dec96f35f6"}, + {file = "tomli-2.4.1-cp314-cp314-win_amd64.whl", hash = "sha256:88dceee75c2c63af144e456745e10101eb67361050196b0b6af5d717254dddf7"}, + {file = "tomli-2.4.1-cp314-cp314-win_arm64.whl", hash = "sha256:b8c198f8c1805dc42708689ed6864951fd2494f924149d3e4bce7710f8eb5232"}, + {file = "tomli-2.4.1-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:d4d8fe59808a54658fcc0160ecfb1b30f9089906c50b23bcb4c69eddc19ec2b4"}, + {file = "tomli-2.4.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:7008df2e7655c495dd12d2a4ad038ff878d4ca4b81fccaf82b714e07eae4402c"}, + {file = "tomli-2.4.1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1d8591993e228b0c930c4bb0db464bdad97b3289fb981255d6c9a41aedc84b2d"}, + {file = "tomli-2.4.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:734e20b57ba95624ecf1841e72b53f6e186355e216e5412de414e3c51e5e3c41"}, + {file = "tomli-2.4.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:8a650c2dbafa08d42e51ba0b62740dae4ecb9338eefa093aa5c78ceb546fcd5c"}, + {file = "tomli-2.4.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:504aa796fe0569bb43171066009ead363de03675276d2d121ac1a4572397870f"}, + {file = "tomli-2.4.1-cp314-cp314t-win32.whl", hash = "sha256:b1d22e6e9387bf4739fbe23bfa80e93f6b0373a7f1b96c6227c32bef95a4d7a8"}, + {file = "tomli-2.4.1-cp314-cp314t-win_amd64.whl", hash = "sha256:2c1c351919aca02858f740c6d33adea0c5deea37f9ecca1cc1ef9e884a619d26"}, + {file = "tomli-2.4.1-cp314-cp314t-win_arm64.whl", hash = "sha256:eab21f45c7f66c13f2a9e0e1535309cee140182a9cdae1e041d02e47291e8396"}, + {file = "tomli-2.4.1-py3-none-any.whl", hash = "sha256:0d85819802132122da43cb86656f8d1f8c6587d54ae7dcaf30e90533028b49fe"}, + {file = "tomli-2.4.1.tar.gz", hash = "sha256:7c7e1a961a0b2f2472c1ac5b69affa0ae1132c39adcb67aba98568702b9cc23f"}, ] [[package]] diff --git a/pyproject.toml b/pyproject.toml index 415e0dc6..883ca39a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ dynamic = ["version"] [tool.poetry] name = "elevenlabs" -version = "v2.40.0" +version = "2.41.0" description = "" readme = "README.md" authors = [] diff --git a/reference.md b/reference.md index aaa8f3c4..98da58b3 100644 --- a/reference.md +++ b/reference.md @@ -1,69 +1,4 @@ # Reference -
client.delete_v_1_convai_agents_agent_id_branches_branch_id(...) -
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from elevenlabs import ElevenLabs - -client = ElevenLabs( - api_key="YOUR_API_KEY", -) -client.delete_v_1_convai_agents_agent_id_branches_branch_id( - agent_id="agent_id", - branch_id="branch_id", -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**agent_id:** `str` - -
-
- -
-
- -**branch_id:** `str` - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
-
client.save_a_voice_preview()
@@ -946,6 +881,14 @@ Defaults to None.
+**avatar_context:** `typing.Optional[AvatarContextRequestModel]` — Avatar context when this generation is made from the Avatars video editor. + +
+
+ +
+
+ **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.
@@ -1367,6 +1310,14 @@ Defaults to None.
+**avatar_context:** `typing.Optional[AvatarContextRequestModel]` — Avatar context when this generation is made from the Avatars video editor. + +
+
+ +
+
+ **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.
@@ -1717,6 +1668,14 @@ client.text_to_dialogue.convert(
+**avatar_context:** `typing.Optional[AvatarContextRequestModel]` — Avatar context when this generation is made from the Avatars video editor. + +
+
+ +
+
+ **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.
@@ -1854,6 +1813,14 @@ client.text_to_dialogue.stream(
+**avatar_context:** `typing.Optional[AvatarContextRequestModel]` — Avatar context when this generation is made from the Avatars video editor. + +
+
+ +
+
+ **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.
@@ -4248,8 +4215,8 @@ long - produces podcasts longer than 7 minutes.
-## Dubbing -
client.dubbing.list(...) +## Music +
client.music.compose(...)
@@ -4261,7 +4228,7 @@ long - produces podcasts longer than 7 minutes.
-List the dubs you have access to. +Compose a song from a prompt or a composition plan.
@@ -4281,13 +4248,7 @@ from elevenlabs import ElevenLabs client = ElevenLabs( api_key="YOUR_API_KEY", ) -client.dubbing.list( - cursor="cursor", - page_size=1, - dubbing_status="dubbing", - filter_by_creator="personal", - order_direction="DESCENDING", -) +client.music.compose() ``` @@ -4303,7 +4264,7 @@ client.dubbing.list(
-**cursor:** `typing.Optional[str]` — Used for fetching next page. Cursor is returned in the response. +**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.
@@ -4311,7 +4272,7 @@ client.dubbing.list(
-**page_size:** `typing.Optional[int]` — How many dubs to return at maximum. Can not exceed 200, defaults to 100. +**prompt:** `typing.Optional[str]` — A simple text prompt to generate a song from. Cannot be used in conjunction with `composition_plan`.
@@ -4319,7 +4280,7 @@ client.dubbing.list(
-**dubbing_status:** `typing.Optional[DubbingListRequestDubbingStatus]` — What state the dub is currently in. +**composition_plan:** `typing.Optional[MusicPrompt]` — A detailed composition plan to guide music generation. Cannot be used in conjunction with `prompt`.
@@ -4327,7 +4288,7 @@ client.dubbing.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. +**music_length_ms:** `typing.Optional[int]` — The length of the song to generate in milliseconds. Used only in conjunction with `prompt`. Must be between 3000ms and 600000ms. Optional - if not provided, the model will choose a length based on the prompt.
@@ -4335,7 +4296,7 @@ client.dubbing.list(
-**order_by:** `typing.Optional[typing.Literal["created_at"]]` — The field to use for ordering results from this query. +**model_id:** `typing.Optional[typing.Literal["music_v1"]]` — The model to use for the generation.
@@ -4343,7 +4304,7 @@ client.dubbing.list(
-**order_direction:** `typing.Optional[DubbingListRequestOrderDirection]` — The order direction to use for results from this query. +**seed:** `typing.Optional[int]` — Random seed to initialize the music generation process. Providing the same seed with the same parameters can help achieve more consistent results, but exact reproducibility is not guaranteed and outputs may change across system updates. Cannot be used in conjunction with prompt.
@@ -4351,7 +4312,39 @@ client.dubbing.list(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**force_instrumental:** `typing.Optional[bool]` — If true, guarantees that the generated song will be instrumental. If false, the song may or may not be instrumental depending on the `prompt`. Can only be used with `prompt`. + +
+
+ +
+
+ +**respect_sections_durations:** `typing.Optional[bool]` — Controls how strictly section durations in the `composition_plan` are enforced. Only used with `composition_plan`. When set to true, the model will precisely respect each section's `duration_ms` from the plan. When set to false, the model may adjust individual section durations which will generally lead to better generation quality and improved latency, while always preserving the total song duration from the plan. + +
+
+ +
+
+ +**store_for_inpainting:** `typing.Optional[bool]` — Whether to store the generated song for inpainting. Only available to enterprise clients with access to the inpainting feature. + +
+
+ +
+
+ +**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. You can pass in configuration such as `chunk_size`, and more to customize the request and response.
@@ -4363,7 +4356,7 @@ client.dubbing.list(
-
client.dubbing.create(...) +
client.music.compose_detailed(...)
@@ -4375,7 +4368,7 @@ client.dubbing.list(
-Dubs a provided audio or video file into given language. +Compose a song from a prompt or a composition plan.
@@ -4395,7 +4388,7 @@ from elevenlabs import ElevenLabs client = ElevenLabs( api_key="YOUR_API_KEY", ) -client.dubbing.create() +client.music.compose_detailed() ``` @@ -4411,9 +4404,7 @@ client.dubbing.create()
-**file:** `from __future__ import annotations - -typing.Optional[core.File]` — See core.File for more documentation +**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.
@@ -4421,9 +4412,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 +**prompt:** `typing.Optional[str]` — A simple text prompt to generate a song from. Cannot be used in conjunction with `composition_plan`.
@@ -4431,9 +4420,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 +**composition_plan:** `typing.Optional[MusicPrompt]` — A detailed composition plan to guide music generation. Cannot be used in conjunction with `prompt`.
@@ -4441,9 +4428,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 +**music_length_ms:** `typing.Optional[int]` — The length of the song to generate in milliseconds. Used only in conjunction with `prompt`. Must be between 3000ms and 600000ms. Optional - if not provided, the model will choose a length based on the prompt.
@@ -4451,7 +4436,7 @@ typing.Optional[core.File]` — See core.File for more documentation
-**name:** `typing.Optional[str]` — Name of the dubbing project. +**model_id:** `typing.Optional[typing.Literal["music_v1"]]` — The model to use for the generation.
@@ -4459,7 +4444,7 @@ typing.Optional[core.File]` — See core.File for more documentation
-**source_url:** `typing.Optional[str]` — URL of the source video/audio file. +**seed:** `typing.Optional[int]` — Random seed to initialize the music generation process. Providing the same seed with the same parameters can help achieve more consistent results, but exact reproducibility is not guaranteed and outputs may change across system updates. Cannot be used in conjunction with prompt.
@@ -4467,7 +4452,7 @@ typing.Optional[core.File]` — See core.File for more documentation
-**source_lang:** `typing.Optional[str]` — Source language. Expects a valid iso639-1 or iso639-3 language code. +**force_instrumental:** `typing.Optional[bool]` — If true, guarantees that the generated song will be instrumental. If false, the song may or may not be instrumental depending on the `prompt`. Can only be used with `prompt`.
@@ -4475,7 +4460,7 @@ typing.Optional[core.File]` — See core.File for more documentation
-**target_lang:** `typing.Optional[str]` — The Target language to dub the content into. Expects a valid iso639-1 or iso639-3 language code. +**respect_sections_durations:** `typing.Optional[bool]` — Controls how strictly section durations in the `composition_plan` are enforced. Only used with `composition_plan`. When set to true, the model will precisely respect each section's `duration_ms` from the plan. When set to false, the model may adjust individual section durations which will generally lead to better generation quality and improved latency, while always preserving the total song duration from the plan.
@@ -4483,7 +4468,7 @@ typing.Optional[core.File]` — See core.File for more documentation
-**target_accent:** `typing.Optional[str]` — [Experimental] An accent to apply when selecting voices from the library and to use to inform translation of the dialect to prefer. +**store_for_inpainting:** `typing.Optional[bool]` — Whether to store the generated song for inpainting. Only available to enterprise clients with access to the inpainting feature.
@@ -4491,7 +4476,7 @@ typing.Optional[core.File]` — See core.File for more documentation
-**num_speakers:** `typing.Optional[int]` — Number of speakers to use for the dubbing. Set to 0 to automatically detect the number of speakers +**with_timestamps:** `typing.Optional[bool]` — Whether to return the timestamps of the words in the generated song.
@@ -4499,7 +4484,7 @@ typing.Optional[core.File]` — See core.File for more documentation
-**watermark:** `typing.Optional[bool]` — Whether to apply watermark to the output video. +**sign_with_c_2_pa:** `typing.Optional[bool]` — Whether to sign the generated song with C2PA. Applicable only for mp3 files.
@@ -4507,31 +4492,67 @@ typing.Optional[core.File]` — See core.File for more documentation
-**start_time:** `typing.Optional[int]` — Start time of the source video/audio file. +**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.
+ +
+ + + + +
+
client.music.stream(...)
-**end_time:** `typing.Optional[int]` — End time of the source video/audio file. - +#### 📝 Description + +
+
+ +
+
+ +Stream a composed song from a prompt or a composition plan. +
+
+#### 🔌 Usage +
-**highest_resolution:** `typing.Optional[bool]` — Whether to use the highest resolution available. - +
+
+ +```python +from elevenlabs import ElevenLabs + +client = ElevenLabs( + api_key="YOUR_API_KEY", +) +client.music.stream() + +``` +
+
+#### ⚙️ Parameters +
-**drop_background_audio:** `typing.Optional[bool]` — An advanced setting. Whether to drop background audio from the final dub. This can improve dub quality where it's known that audio shouldn't have a background track such as for speeches or monologues. +
+
+ +**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.
@@ -4539,7 +4560,7 @@ typing.Optional[core.File]` — See core.File for more documentation
-**use_profanity_filter:** `typing.Optional[bool]` — [BETA] Whether transcripts should have profanities censored with the words '[censored]' +**prompt:** `typing.Optional[str]` — A simple text prompt to generate a song from. Cannot be used in conjunction with `composition_plan`.
@@ -4547,7 +4568,7 @@ typing.Optional[core.File]` — See core.File for more documentation
-**dubbing_studio:** `typing.Optional[bool]` — Whether to prepare dub for edits in dubbing studio or edits as a dubbing resource. +**composition_plan:** `typing.Optional[MusicPrompt]` — A detailed composition plan to guide music generation. Cannot be used in conjunction with `prompt`.
@@ -4555,7 +4576,7 @@ typing.Optional[core.File]` — See core.File for more documentation
-**disable_voice_cloning:** `typing.Optional[bool]` — Instead of using a voice clone in dubbing, use a similar voice from the ElevenLabs Voice Library. Voices used from the library will contribute towards a workspace's custom voices limit, and if there aren't enough available slots the dub will fail. Using this feature requires the caller to have the 'add_voice_from_voice_library' permission on their workspace to access new voices. +**music_length_ms:** `typing.Optional[int]` — The length of the song to generate in milliseconds. Used only in conjunction with `prompt`. Must be between 3000ms and 600000ms. Optional - if not provided, the model will choose a length based on the prompt.
@@ -4563,7 +4584,7 @@ typing.Optional[core.File]` — See core.File for more documentation
-**mode:** `typing.Optional[DubbingCreateRequestMode]` — The mode in which to run this Dubbing job. Defaults to automatic, use manual if specifically providing a CSV transcript to use. Note that manual mode is experimental and production use is strongly discouraged. +**model_id:** `typing.Optional[typing.Literal["music_v1"]]` — The model to use for the generation.
@@ -4571,7 +4592,7 @@ typing.Optional[core.File]` — See core.File for more documentation
-**csv_fps:** `typing.Optional[float]` — Frames per second to use when parsing a CSV file for dubbing. If not provided, FPS will be inferred from timecodes. +**seed:** `typing.Optional[int]` — Random seed to initialize the music generation process. Providing the same seed with the same parameters can help achieve more consistent results, but exact reproducibility is not guaranteed and outputs may change across system updates. Cannot be used in conjunction with prompt.
@@ -4579,31 +4600,47 @@ typing.Optional[core.File]` — See core.File for more documentation
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**force_instrumental:** `typing.Optional[bool]` — If true, guarantees that the generated song will be instrumental. If false, the song may or may not be instrumental depending on the `prompt`. Can only be used with `prompt`.
-
-
+
+
+**store_for_inpainting:** `typing.Optional[bool]` — Whether to store the generated song for inpainting. Only available to enterprise clients with access to the inpainting feature. +
-
-
client.dubbing.get(...)
-#### 📝 Description - +**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. + +
+
+ + + + + + +
+ +
client.music.upload(...)
+#### 📝 Description +
-Returns metadata about a dubbing project, including whether it's still in progress or not +
+
+ +Upload a music file to be later used for inpainting. Only available to enterprise clients with access to the inpainting feature.
@@ -4623,9 +4660,7 @@ from elevenlabs import ElevenLabs client = ElevenLabs( api_key="YOUR_API_KEY", ) -client.dubbing.get( - dubbing_id="dubbing_id", -) +client.music.upload() ```
@@ -4641,7 +4676,17 @@ client.dubbing.get(
-**dubbing_id:** `str` — ID of the dubbing project. +**file:** `from __future__ import annotations + +core.File` — See core.File for more documentation + +
+
+ +
+
+ +**extract_composition_plan:** `typing.Optional[bool]` — Whether to generate and return the composition plan for the uploaded song. If True, the response will include the composition_plan but will increase the latency.
@@ -4661,7 +4706,8 @@ client.dubbing.get(
-
client.dubbing.delete(...) +## Dubbing +
client.dubbing.list(...)
@@ -4673,7 +4719,7 @@ client.dubbing.get(
-Deletes a dubbing project. +List the dubs you have access to.
@@ -4693,8 +4739,12 @@ from elevenlabs import ElevenLabs client = ElevenLabs( api_key="YOUR_API_KEY", ) -client.dubbing.delete( - dubbing_id="dubbing_id", +client.dubbing.list( + cursor="cursor", + page_size=1, + dubbing_status="dubbing", + filter_by_creator="personal", + order_direction="DESCENDING", ) ``` @@ -4711,7 +4761,7 @@ client.dubbing.delete(
-**dubbing_id:** `str` — ID of the dubbing project. +**cursor:** `typing.Optional[str]` — Used for fetching next page. Cursor is returned in the response.
@@ -4719,64 +4769,43 @@ client.dubbing.delete(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**page_size:** `typing.Optional[int]` — How many dubs to return at maximum. Can not exceed 200, defaults to 100.
- -
+
+
+**dubbing_status:** `typing.Optional[DubbingListRequestDubbingStatus]` — What state the dub is currently in. +
-
-## Models -
client.models.list()
-#### 📝 Description - -
-
+**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. + +
+
-Gets a list of available models. -
-
+**order_by:** `typing.Optional[typing.Literal["created_at"]]` — The field to use for ordering results from this query. +
-#### 🔌 Usage - -
-
-
-```python -from elevenlabs import ElevenLabs - -client = ElevenLabs( - api_key="YOUR_API_KEY", -) -client.models.list() - -``` -
-
+**order_direction:** `typing.Optional[DubbingListRequestOrderDirection]` — The order direction to use for results from this query. +
-#### ⚙️ Parameters - -
-
-
@@ -4792,8 +4821,7 @@ client.models.list()
-## AudioNative -
client.audio_native.create(...) +
client.dubbing.create(...)
@@ -4805,7 +4833,7 @@ client.models.list()
-Creates Audio Native enabled project, optionally starts conversion and returns project ID and embeddable HTML snippet. +Dubs a provided audio or video file into given language.
@@ -4825,9 +4853,7 @@ from elevenlabs import ElevenLabs client = ElevenLabs( api_key="YOUR_API_KEY", ) -client.audio_native.create( - name="name", -) +client.dubbing.create() ``` @@ -4843,7 +4869,9 @@ client.audio_native.create(
-**name:** `str` — Project name. +**file:** `from __future__ import annotations + +typing.Optional[core.File]` — See core.File for more documentation
@@ -4851,7 +4879,9 @@ client.audio_native.create(
-**image:** `typing.Optional[str]` — (Deprecated) Image URL used in the player. If not provided, default image set in the Player settings is used. +**csv_file:** `from __future__ import annotations + +typing.Optional[core.File]` — See core.File for more documentation
@@ -4859,7 +4889,9 @@ client.audio_native.create(
-**author:** `typing.Optional[str]` — Author used in the player and inserted at the start of the uploaded article. If not provided, the default author set in the Player settings is used. +**foreground_audio_file:** `from __future__ import annotations + +typing.Optional[core.File]` — See core.File for more documentation
@@ -4867,7 +4899,9 @@ client.audio_native.create(
-**title:** `typing.Optional[str]` — Title used in the player and inserted at the top of the uploaded article. If not provided, the default title set in the Player settings is used. +**background_audio_file:** `from __future__ import annotations + +typing.Optional[core.File]` — See core.File for more documentation
@@ -4875,7 +4909,7 @@ client.audio_native.create(
-**small:** `typing.Optional[bool]` — (Deprecated) Whether to use small player or not. If not provided, default value set in the Player settings is used. +**name:** `typing.Optional[str]` — Name of the dubbing project.
@@ -4883,7 +4917,7 @@ client.audio_native.create(
-**text_color:** `typing.Optional[str]` — Text color used in the player. If not provided, default text color set in the Player settings is used. +**source_url:** `typing.Optional[str]` — URL of the source video/audio file.
@@ -4891,7 +4925,7 @@ client.audio_native.create(
-**background_color:** `typing.Optional[str]` — Background color used in the player. If not provided, default background color set in the Player settings is used. +**source_lang:** `typing.Optional[str]` — Source language. Expects a valid iso639-1 or iso639-3 language code.
@@ -4899,7 +4933,7 @@ client.audio_native.create(
-**sessionization:** `typing.Optional[int]` — (Deprecated) Specifies for how many minutes to persist the session across page reloads. If not provided, default sessionization set in the Player settings is used. +**target_lang:** `typing.Optional[str]` — The Target language to dub the content into. Expects a valid iso639-1 or iso639-3 language code.
@@ -4907,7 +4941,7 @@ client.audio_native.create(
-**voice_id:** `typing.Optional[str]` — Voice ID used to voice the content. If not provided, default voice ID set in the Player settings is used. +**target_accent:** `typing.Optional[str]` — [Experimental] An accent to apply when selecting voices from the library and to use to inform translation of the dialect to prefer.
@@ -4915,7 +4949,7 @@ client.audio_native.create(
-**model_id:** `typing.Optional[str]` — TTS Model ID used in the player. If not provided, default model ID set in the Player settings is used. +**num_speakers:** `typing.Optional[int]` — Number of speakers to use for the dubbing. Set to 0 to automatically detect the number of speakers
@@ -4923,9 +4957,15 @@ client.audio_native.create(
-**file:** `from __future__ import annotations +**watermark:** `typing.Optional[bool]` — Whether to apply watermark to the output video. + +
+
-typing.Optional[core.File]` — See core.File for more documentation +
+
+ +**start_time:** `typing.Optional[int]` — Start time of the source video/audio file.
@@ -4933,7 +4973,7 @@ typing.Optional[core.File]` — See core.File for more documentation
-**auto_convert:** `typing.Optional[bool]` — Whether to auto convert the project to audio or not. +**end_time:** `typing.Optional[int]` — End time of the source video/audio file.
@@ -4941,14 +4981,31 @@ typing.Optional[core.File]` — See core.File for more documentation
-**apply_text_normalization:** `typing.Optional[AudioNativeCreateRequestApplyTextNormalization]` +**highest_resolution:** `typing.Optional[bool]` — Whether to use the highest resolution available. + +
+
+
+
- This parameter controls text normalization with four modes: 'auto', 'on', 'apply_english' 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_english' is the same as 'on' but will assume that text is in English. +**drop_background_audio:** `typing.Optional[bool]` — An advanced setting. Whether to drop background audio from the final dub. This can improve dub quality where it's known that audio shouldn't have a background track such as for speeches or monologues. + +
+
+ +
+
+ +**use_profanity_filter:** `typing.Optional[bool]` — [BETA] Whether transcripts should have profanities censored with the words '[censored]' +
+
+ +
+
+ +**dubbing_studio:** `typing.Optional[bool]` — Whether to prepare dub for edits in dubbing studio or edits as a dubbing resource.
@@ -4956,7 +5013,23 @@ typing.Optional[core.File]` — See core.File for more documentation
-**pronunciation_dictionary_locators:** `typing.Optional[typing.List[str]]` — 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\"}"'. +**disable_voice_cloning:** `typing.Optional[bool]` — Instead of using a voice clone in dubbing, use a similar voice from the ElevenLabs Voice Library. Voices used from the library will contribute towards a workspace's custom voices limit, and if there aren't enough available slots the dub will fail. Using this feature requires the caller to have the 'add_voice_from_voice_library' permission on their workspace to access new voices. + +
+
+ +
+
+ +**mode:** `typing.Optional[DubbingCreateRequestMode]` — The mode in which to run this Dubbing job. Defaults to automatic, use manual if specifically providing a CSV transcript to use. Note that manual mode is experimental and production use is strongly discouraged. + +
+
+ +
+
+ +**csv_fps:** `typing.Optional[float]` — Frames per second to use when parsing a CSV file for dubbing. If not provided, FPS will be inferred from timecodes.
@@ -4976,7 +5049,7 @@ typing.Optional[core.File]` — See core.File for more documentation
-
client.audio_native.get_settings(...) +
client.dubbing.get(...)
@@ -4988,7 +5061,7 @@ typing.Optional[core.File]` — See core.File for more documentation
-Get player settings for the specific project. +Returns metadata about a dubbing project, including whether it's still in progress or not
@@ -5008,8 +5081,8 @@ from elevenlabs import ElevenLabs client = ElevenLabs( api_key="YOUR_API_KEY", ) -client.audio_native.get_settings( - project_id="21m00Tcm4TlvDq8ikWAM", +client.dubbing.get( + dubbing_id="dubbing_id", ) ``` @@ -5026,7 +5099,7 @@ client.audio_native.get_settings(
-**project_id:** `str` — The ID of the Studio project. +**dubbing_id:** `str` — ID of the dubbing project.
@@ -5046,7 +5119,7 @@ client.audio_native.get_settings(
-
client.audio_native.update(...) +
client.dubbing.delete(...)
@@ -5058,7 +5131,7 @@ client.audio_native.get_settings(
-Updates content for the specific AudioNative Project. +Deletes a dubbing project.
@@ -5078,8 +5151,8 @@ from elevenlabs import ElevenLabs client = ElevenLabs( api_key="YOUR_API_KEY", ) -client.audio_native.update( - project_id="21m00Tcm4TlvDq8ikWAM", +client.dubbing.delete( + dubbing_id="dubbing_id", ) ``` @@ -5096,33 +5169,7 @@ client.audio_native.update(
-**project_id:** `str` — The ID of the project to be used. You can use the [List projects](/docs/api-reference/studio/get-projects) endpoint to list all the available projects. - -
-
- -
-
- -**file:** `from __future__ import annotations - -typing.Optional[core.File]` — See core.File for more documentation - -
-
- -
-
- -**auto_convert:** `typing.Optional[bool]` — Whether to auto convert the project to audio or not. - -
-
- -
-
- -**auto_publish:** `typing.Optional[bool]` — Whether to auto publish the new project snapshot after it's converted. +**dubbing_id:** `str` — ID of the dubbing project.
@@ -5142,7 +5189,8 @@ typing.Optional[core.File]` — See core.File for more documentation
-
client.audio_native.update_content_from_url(...) +## Models +
client.models.list()
@@ -5154,7 +5202,7 @@ typing.Optional[core.File]` — See core.File for more documentation
-Finds an AudioNative project matching the provided URL, extracts content from the URL, updates the project content, and queues it for conversion and auto-publishing. +Gets a list of available models.
@@ -5174,9 +5222,7 @@ from elevenlabs import ElevenLabs client = ElevenLabs( api_key="YOUR_API_KEY", ) -client.audio_native.update_content_from_url( - url="https://elevenlabs.io/blog/the_first_ai_that_can_laugh/", -) +client.models.list() ``` @@ -5192,44 +5238,20 @@ client.audio_native.update_content_from_url(
-**url:** `str` — URL of the page to extract content from. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**author:** `typing.Optional[str]` — Author used in the player and inserted at the start of the uploaded article. If not provided, the default author set in the Player settings is used. -
+
-
-
- -**title:** `typing.Optional[str]` — Title used in the player and inserted at the top of the uploaded article. If not provided, the default title set in the Player settings is used. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
- - - - - - -
- -## Usage -
client.usage.get(...) +## AudioNative +
client.audio_native.create(...)
@@ -5241,7 +5263,7 @@ client.audio_native.update_content_from_url(
-Returns the usage metrics for the current user or the entire workspace they are part of. The response provides a time axis based on the specified aggregation interval (default: day), with usage values for each interval along that axis. Usage is broken down by the selected breakdown type. For example, breakdown type "voice" will return the usage of each voice for each interval along the time axis. +Creates Audio Native enabled project, optionally starts conversion and returns project ID and embeddable HTML snippet.
@@ -5261,14 +5283,8 @@ from elevenlabs import ElevenLabs client = ElevenLabs( api_key="YOUR_API_KEY", ) -client.usage.get( - start_unix=1, - end_unix=1, - include_workspace_metrics=True, - breakdown_type="none", - aggregation_interval="hour", - aggregation_bucket_size=1, - metric="credits", +client.audio_native.create( + name="name", ) ``` @@ -5285,7 +5301,7 @@ client.usage.get(
-**start_unix:** `int` — UTC Unix timestamp for the start of the usage window, in milliseconds. To include the first day of the window, the timestamp should be at 00:00:00 of that day. +**name:** `str` — Project name.
@@ -5293,7 +5309,7 @@ client.usage.get(
-**end_unix:** `int` — UTC Unix timestamp for the end of the usage window, in milliseconds. To include the last day of the window, the timestamp should be at 23:59:59 of that day. +**image:** `typing.Optional[str]` — (Deprecated) Image URL used in the player. If not provided, default image set in the Player settings is used.
@@ -5301,7 +5317,7 @@ client.usage.get(
-**include_workspace_metrics:** `typing.Optional[bool]` — Whether or not to include the statistics of the entire workspace. +**author:** `typing.Optional[str]` — Author used in the player and inserted at the start of the uploaded article. If not provided, the default author set in the Player settings is used.
@@ -5309,7 +5325,7 @@ client.usage.get(
-**breakdown_type:** `typing.Optional[BreakdownTypes]` — How to break down the information. Cannot be "user" if include_workspace_metrics is False. +**title:** `typing.Optional[str]` — Title used in the player and inserted at the top of the uploaded article. If not provided, the default title set in the Player settings is used.
@@ -5317,7 +5333,7 @@ client.usage.get(
-**aggregation_interval:** `typing.Optional[UsageAggregationInterval]` — How to aggregate usage data over time. Can be "hour", "day", "week", "month", or "cumulative". +**small:** `typing.Optional[bool]` — (Deprecated) Whether to use small player or not. If not provided, default value set in the Player settings is used.
@@ -5325,7 +5341,7 @@ client.usage.get(
-**aggregation_bucket_size:** `typing.Optional[int]` — Aggregation bucket size in seconds. Overrides the aggregation interval. +**text_color:** `typing.Optional[str]` — Text color used in the player. If not provided, default text color set in the Player settings is used.
@@ -5333,7 +5349,7 @@ client.usage.get(
-**metric:** `typing.Optional[MetricType]` — Which metric to aggregate. +**background_color:** `typing.Optional[str]` — Background color used in the player. If not provided, default background color set in the Player settings is used.
@@ -5341,70 +5357,33 @@ client.usage.get(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**sessionization:** `typing.Optional[int]` — (Deprecated) Specifies for how many minutes to persist the session across page reloads. If not provided, default sessionization set in the Player settings is used.
- -
- - - - -
- -## PronunciationDictionaries -
client.pronunciation_dictionaries.create_from_file(...) -
-
- -#### 📝 Description - -
-
-Creates a new pronunciation dictionary from a lexicon .PLS file -
-
+**voice_id:** `typing.Optional[str]` — Voice ID used to voice the content. If not provided, default voice ID set in the Player settings is used. +
-#### 🔌 Usage - -
-
-
-```python -from elevenlabs import ElevenLabs - -client = ElevenLabs( - api_key="YOUR_API_KEY", -) -client.pronunciation_dictionaries.create_from_file( - name="name", -) - -``` -
-
+**model_id:** `typing.Optional[str]` — TTS Model ID used in the player. If not provided, default model ID set in the Player settings is used. +
-#### ⚙️ Parameters -
-
-
+**file:** `from __future__ import annotations -**name:** `str` — The name of the pronunciation dictionary, used for identification only. +typing.Optional[core.File]` — See core.File for more documentation
@@ -5412,9 +5391,7 @@ client.pronunciation_dictionaries.create_from_file(
-**file:** `from __future__ import annotations - -typing.Optional[core.File]` — See core.File for more documentation +**auto_convert:** `typing.Optional[bool]` — Whether to auto convert the project to audio or not.
@@ -5422,7 +5399,14 @@ typing.Optional[core.File]` — See core.File for more documentation
-**description:** `typing.Optional[str]` — A description of the pronunciation dictionary, used for identification only. +**apply_text_normalization:** `typing.Optional[AudioNativeCreateRequestApplyTextNormalization]` + + + This parameter controls text normalization with four modes: 'auto', 'on', 'apply_english' 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_english' is the same as 'on' but will assume that text is in English. +
@@ -5430,7 +5414,7 @@ typing.Optional[core.File]` — See core.File for more documentation
-**workspace_access:** `typing.Optional[PronunciationDictionariesCreateFromFileRequestWorkspaceAccess]` — Should be one of 'admin', 'editor' or 'viewer'. If not provided, defaults to no access. +**pronunciation_dictionary_locators:** `typing.Optional[typing.List[str]]` — 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\"}"'.
@@ -5450,7 +5434,7 @@ typing.Optional[core.File]` — See core.File for more documentation
-
client.pronunciation_dictionaries.create_from_rules(...) +
client.audio_native.get_settings(...)
@@ -5462,7 +5446,7 @@ typing.Optional[core.File]` — See core.File for more documentation
-Creates a new pronunciation dictionary from provided rules. +Get player settings for the specific project.
@@ -5478,23 +5462,12 @@ Creates a new pronunciation dictionary from provided rules. ```python from elevenlabs import ElevenLabs -from elevenlabs.pronunciation_dictionaries import ( - BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPostRulesItem_Alias, -) client = ElevenLabs( api_key="YOUR_API_KEY", ) -client.pronunciation_dictionaries.create_from_rules( - rules=[ - BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPostRulesItem_Alias( - string_to_replace="Thailand", - case_sensitive=True, - word_boundaries=True, - alias="tie-land", - ) - ], - name="My Dictionary", +client.audio_native.get_settings( + project_id="21m00Tcm4TlvDq8ikWAM", ) ``` @@ -5511,39 +5484,7 @@ client.pronunciation_dictionaries.create_from_rules(
-**rules:** `typing.Sequence[ - BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPostRulesItem -]` - -List of pronunciation rules. Rule can be either: - an alias rule: {'string_to_replace': 'a', 'type': 'alias', 'alias': 'b', } - or a phoneme rule: {'string_to_replace': 'a', 'type': 'phoneme', 'phoneme': 'b', 'alphabet': 'ipa' } - -
-
- -
-
- -**name:** `str` — The name of the pronunciation dictionary, used for identification only. - -
-
- -
-
- -**description:** `typing.Optional[str]` — A description of the pronunciation dictionary, used for identification only. - -
-
- -
-
- -**workspace_access:** `typing.Optional[ - BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPostWorkspaceAccess -]` — Should be one of 'admin', 'editor' or 'viewer'. If not provided, defaults to no access. +**project_id:** `str` — The ID of the Studio project.
@@ -5563,7 +5504,7 @@ List of pronunciation rules. Rule can be either:
-
client.pronunciation_dictionaries.get(...) +
client.audio_native.update(...)
@@ -5575,7 +5516,7 @@ List of pronunciation rules. Rule can be either:
-Get metadata for a pronunciation dictionary +Updates content for the specific AudioNative Project.
@@ -5595,8 +5536,8 @@ from elevenlabs import ElevenLabs client = ElevenLabs( api_key="YOUR_API_KEY", ) -client.pronunciation_dictionaries.get( - pronunciation_dictionary_id="21m00Tcm4TlvDq8ikWAM", +client.audio_native.update( + project_id="21m00Tcm4TlvDq8ikWAM", ) ``` @@ -5613,7 +5554,33 @@ client.pronunciation_dictionaries.get(
-**pronunciation_dictionary_id:** `str` — The id of the pronunciation dictionary +**project_id:** `str` — The ID of the project to be used. You can use the [List projects](/docs/api-reference/studio/get-projects) endpoint to list all the available projects. + +
+
+ +
+
+ +**file:** `from __future__ import annotations + +typing.Optional[core.File]` — See core.File for more documentation + +
+
+ +
+
+ +**auto_convert:** `typing.Optional[bool]` — Whether to auto convert the project to audio or not. + +
+
+ +
+
+ +**auto_publish:** `typing.Optional[bool]` — Whether to auto publish the new project snapshot after it's converted.
@@ -5633,7 +5600,7 @@ client.pronunciation_dictionaries.get(
-
client.pronunciation_dictionaries.update(...) +
client.audio_native.update_content_from_url(...)
@@ -5645,7 +5612,7 @@ client.pronunciation_dictionaries.get(
-Partially update the pronunciation dictionary without changing the version +Finds an AudioNative project matching the provided URL, extracts content from the URL, updates the project content, and queues it for conversion and auto-publishing.
@@ -5665,8 +5632,8 @@ from elevenlabs import ElevenLabs client = ElevenLabs( api_key="YOUR_API_KEY", ) -client.pronunciation_dictionaries.update( - pronunciation_dictionary_id="21m00Tcm4TlvDq8ikWAM", +client.audio_native.update_content_from_url( + url="https://elevenlabs.io/blog/the_first_ai_that_can_laugh/", ) ``` @@ -5683,7 +5650,7 @@ client.pronunciation_dictionaries.update(
-**pronunciation_dictionary_id:** `str` — The id of the pronunciation dictionary +**url:** `str` — URL of the page to extract content from.
@@ -5691,7 +5658,7 @@ client.pronunciation_dictionaries.update(
-**archived:** `typing.Optional[bool]` — Whether to archive the pronunciation dictionary. +**author:** `typing.Optional[str]` — Author used in the player and inserted at the start of the uploaded article. If not provided, the default author set in the Player settings is used.
@@ -5699,7 +5666,7 @@ client.pronunciation_dictionaries.update(
-**name:** `typing.Optional[str]` — The name of the pronunciation dictionary, used for identification only. +**title:** `typing.Optional[str]` — Title used in the player and inserted at the top of the uploaded article. If not provided, the default title set in the Player settings is used.
@@ -5719,7 +5686,8 @@ client.pronunciation_dictionaries.update(
-
client.pronunciation_dictionaries.download(...) +## Usage +
client.usage.get(...)
@@ -5731,7 +5699,7 @@ client.pronunciation_dictionaries.update(
-Get a PLS file with a pronunciation dictionary version rules +Returns the usage metrics for the current user or the entire workspace they are part of. The response provides a time axis based on the specified aggregation interval (default: day), with usage values for each interval along that axis. Usage is broken down by the selected breakdown type. For example, breakdown type "voice" will return the usage of each voice for each interval along the time axis.
@@ -5751,9 +5719,14 @@ from elevenlabs import ElevenLabs client = ElevenLabs( api_key="YOUR_API_KEY", ) -client.pronunciation_dictionaries.download( - dictionary_id="dictionary_id", - version_id="version_id", +client.usage.get( + start_unix=1, + end_unix=1, + include_workspace_metrics=True, + breakdown_type="none", + aggregation_interval="hour", + aggregation_bucket_size=1, + metric="credits", ) ``` @@ -5770,7 +5743,7 @@ client.pronunciation_dictionaries.download(
-**dictionary_id:** `str` — The id of the pronunciation dictionary +**start_unix:** `int` — UTC Unix timestamp for the start of the usage window, in milliseconds. To include the first day of the window, the timestamp should be at 00:00:00 of that day.
@@ -5778,7 +5751,7 @@ client.pronunciation_dictionaries.download(
-**version_id:** `str` — The id of the pronunciation dictionary version +**end_unix:** `int` — UTC Unix timestamp for the end of the usage window, in milliseconds. To include the last day of the window, the timestamp should be at 23:59:59 of that day.
@@ -5786,19 +5759,60 @@ 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. +**include_workspace_metrics:** `typing.Optional[bool]` — Whether or not to include the statistics of the entire workspace.
+ +
+
+ +**breakdown_type:** `typing.Optional[BreakdownTypes]` — How to break down the information. Cannot be "user" if include_workspace_metrics is False. +
+
+
+**aggregation_interval:** `typing.Optional[UsageAggregationInterval]` — How to aggregate usage data over time. Can be "hour", "day", "week", "month", or "cumulative". +
-
-
client.pronunciation_dictionaries.list(...) +
+
+ +**aggregation_bucket_size:** `typing.Optional[int]` — Aggregation bucket size in seconds. Overrides the aggregation interval. + +
+
+ +
+
+ +**metric:** `typing.Optional[MetricType]` — Which metric to aggregate. + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+ + + + + + +
+ +## PronunciationDictionaries +
client.pronunciation_dictionaries.create_from_file(...)
@@ -5810,7 +5824,7 @@ client.pronunciation_dictionaries.download(
-Get a list of the pronunciation dictionaries you have access to and their metadata +Creates a new pronunciation dictionary from a lexicon .PLS file
@@ -5830,11 +5844,8 @@ from elevenlabs import ElevenLabs client = ElevenLabs( api_key="YOUR_API_KEY", ) -client.pronunciation_dictionaries.list( - cursor="cursor", - page_size=1, - sort="creation_time_unix", - sort_direction="sort_direction", +client.pronunciation_dictionaries.create_from_file( + name="name", ) ``` @@ -5851,7 +5862,7 @@ client.pronunciation_dictionaries.list(
-**cursor:** `typing.Optional[str]` — Used for fetching next page. Cursor is returned in the response. +**name:** `str` — The name of the pronunciation dictionary, used for identification only.
@@ -5859,7 +5870,9 @@ client.pronunciation_dictionaries.list(
-**page_size:** `typing.Optional[int]` — How many pronunciation dictionaries to return at maximum. Can not exceed 100, defaults to 30. +**file:** `from __future__ import annotations + +typing.Optional[core.File]` — See core.File for more documentation
@@ -5867,7 +5880,7 @@ client.pronunciation_dictionaries.list(
-**sort:** `typing.Optional[PronunciationDictionariesListRequestSort]` — Which field to sort by, one of 'created_at_unix' or 'name'. +**description:** `typing.Optional[str]` — A description of the pronunciation dictionary, used for identification only.
@@ -5875,7 +5888,7 @@ client.pronunciation_dictionaries.list(
-**sort_direction:** `typing.Optional[str]` — Which direction to sort the voices in. 'ascending' or 'descending'. +**workspace_access:** `typing.Optional[PronunciationDictionariesCreateFromFileRequestWorkspaceAccess]` — Should be one of 'admin', 'editor' or 'viewer'. If not provided, defaults to no access.
@@ -5895,8 +5908,7 @@ client.pronunciation_dictionaries.list(
-## ServiceAccounts -
client.service_accounts.list() +
client.pronunciation_dictionaries.create_from_rules(...)
@@ -5908,7 +5920,7 @@ client.pronunciation_dictionaries.list(
-List all service accounts in the workspace +Creates a new pronunciation dictionary from provided rules.
@@ -5924,11 +5936,24 @@ List all service accounts in the workspace ```python from elevenlabs import ElevenLabs +from elevenlabs.pronunciation_dictionaries import ( + BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPostRulesItem_Alias, +) client = ElevenLabs( api_key="YOUR_API_KEY", ) -client.service_accounts.list() +client.pronunciation_dictionaries.create_from_rules( + rules=[ + BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPostRulesItem_Alias( + string_to_replace="Thailand", + case_sensitive=True, + word_boundaries=True, + alias="tie-land", + ) + ], + name="My Dictionary", +) ``` @@ -5944,6 +5969,46 @@ client.service_accounts.list()
+**rules:** `typing.Sequence[ + BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPostRulesItem +]` + +List of pronunciation rules. Rule can be either: + an alias rule: {'string_to_replace': 'a', 'type': 'alias', 'alias': 'b', } + or a phoneme rule: {'string_to_replace': 'a', 'type': 'phoneme', 'phoneme': 'b', 'alphabet': 'ipa' } + +
+
+ +
+
+ +**name:** `str` — The name of the pronunciation dictionary, used for identification only. + +
+
+ +
+
+ +**description:** `typing.Optional[str]` — A description of the pronunciation dictionary, used for identification only. + +
+
+ +
+
+ +**workspace_access:** `typing.Optional[ + BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPostWorkspaceAccess +]` — Should be one of 'admin', 'editor' or 'viewer'. If not provided, defaults to no access. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -5956,8 +6021,7 @@ client.service_accounts.list()
-## Webhooks -
client.webhooks.list(...) +
client.pronunciation_dictionaries.get(...)
@@ -5969,7 +6033,7 @@ client.service_accounts.list()
-List all webhooks for a workspace +Get metadata for a pronunciation dictionary
@@ -5989,8 +6053,8 @@ from elevenlabs import ElevenLabs client = ElevenLabs( api_key="YOUR_API_KEY", ) -client.webhooks.list( - include_usages=False, +client.pronunciation_dictionaries.get( + pronunciation_dictionary_id="21m00Tcm4TlvDq8ikWAM", ) ``` @@ -6007,7 +6071,7 @@ client.webhooks.list(
-**include_usages:** `typing.Optional[bool]` — Whether to include active usages of the webhook, only usable by admins +**pronunciation_dictionary_id:** `str` — The id of the pronunciation dictionary
@@ -6027,7 +6091,7 @@ client.webhooks.list(
-
client.webhooks.create(...) +
client.pronunciation_dictionaries.update(...)
@@ -6039,7 +6103,7 @@ client.webhooks.list(
-Create a new webhook for the workspace with the specified authentication type. +Partially update the pronunciation dictionary without changing the version
@@ -6054,16 +6118,13 @@ Create a new webhook for the workspace with the specified authentication type.
```python -from elevenlabs import ElevenLabs, WebhookHmacSettings +from elevenlabs import ElevenLabs client = ElevenLabs( api_key="YOUR_API_KEY", ) -client.webhooks.create( - settings=WebhookHmacSettings( - name="name", - webhook_url="webhook_url", - ), +client.pronunciation_dictionaries.update( + pronunciation_dictionary_id="21m00Tcm4TlvDq8ikWAM", ) ``` @@ -6080,7 +6141,23 @@ client.webhooks.create(
-**settings:** `WebhookHmacSettings` — Webhook settings object containing auth_type and corresponding configuration +**pronunciation_dictionary_id:** `str` — The id of the pronunciation dictionary + +
+
+ +
+
+ +**archived:** `typing.Optional[bool]` — Whether to archive the pronunciation dictionary. + +
+
+ +
+
+ +**name:** `typing.Optional[str]` — The name of the pronunciation dictionary, used for identification only.
@@ -6100,7 +6177,7 @@ client.webhooks.create(
-
client.webhooks.delete(...) +
client.pronunciation_dictionaries.download(...)
@@ -6112,7 +6189,7 @@ client.webhooks.create(
-Delete the specified workspace webhook +Get a PLS file with a pronunciation dictionary version rules
@@ -6132,8 +6209,9 @@ from elevenlabs import ElevenLabs client = ElevenLabs( api_key="YOUR_API_KEY", ) -client.webhooks.delete( - webhook_id="G007vmtq9uWYl7SUW9zGS8GZZa1K", +client.pronunciation_dictionaries.download( + dictionary_id="dictionary_id", + version_id="version_id", ) ``` @@ -6150,7 +6228,7 @@ client.webhooks.delete(
-**webhook_id:** `str` — The unique ID for the webhook +**dictionary_id:** `str` — The id of the pronunciation dictionary
@@ -6158,7 +6236,15 @@ client.webhooks.delete(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**version_id:** `str` — The id of the pronunciation dictionary version + +
+
+ +
+
+ +**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.
@@ -6170,7 +6256,7 @@ client.webhooks.delete(
-
client.webhooks.update(...) +
client.pronunciation_dictionaries.list(...)
@@ -6182,7 +6268,7 @@ client.webhooks.delete(
-Update the specified workspace webhook +Get a list of the pronunciation dictionaries you have access to and their metadata
@@ -6202,10 +6288,11 @@ from elevenlabs import ElevenLabs client = ElevenLabs( api_key="YOUR_API_KEY", ) -client.webhooks.update( - webhook_id="G007vmtq9uWYl7SUW9zGS8GZZa1K", - is_disabled=True, - name="My Callback Webhook", +client.pronunciation_dictionaries.list( + cursor="cursor", + page_size=1, + sort="creation_time_unix", + sort_direction="sort_direction", ) ``` @@ -6222,7 +6309,7 @@ client.webhooks.update(
-**webhook_id:** `str` — The unique ID for the webhook +**cursor:** `typing.Optional[str]` — Used for fetching next page. Cursor is returned in the response.
@@ -6230,7 +6317,7 @@ client.webhooks.update(
-**is_disabled:** `bool` — Whether to disable or enable the webhook +**page_size:** `typing.Optional[int]` — How many pronunciation dictionaries to return at maximum. Can not exceed 100, defaults to 30.
@@ -6238,7 +6325,7 @@ client.webhooks.update(
-**name:** `str` — The display name of the webhook (used for display purposes only). +**sort:** `typing.Optional[PronunciationDictionariesListRequestSort]` — Which field to sort by, one of 'created_at_unix' or 'name'.
@@ -6246,7 +6333,7 @@ client.webhooks.update(
-**retry_enabled:** `typing.Optional[bool]` — Whether to enable automatic retries for transient failures (5xx, 429, timeout) +**sort_direction:** `typing.Optional[str]` — Which direction to sort the voices in. 'ascending' or 'descending'.
@@ -6266,8 +6353,8 @@ client.webhooks.update(
-## SpeechToText -
client.speech_to_text.convert(...) +## ServiceAccounts +
client.service_accounts.list()
@@ -6279,7 +6366,7 @@ client.webhooks.update(
-Transcribe an audio or video file. If webhook is set to true, the request will be processed asynchronously and results sent to configured webhooks. When use_multi_channel is true and the provided audio has multiple channels, a 'transcripts' object with separate transcripts for each channel is returned. Otherwise, returns a single transcript. The optional webhook_metadata parameter allows you to attach custom data that will be included in webhook responses for request correlation and tracking. +List all service accounts in the workspace
@@ -6299,10 +6386,7 @@ from elevenlabs import ElevenLabs client = ElevenLabs( api_key="YOUR_API_KEY", ) -client.speech_to_text.convert( - enable_logging=True, - model_id="scribe_v2", -) +client.service_accounts.list() ``` @@ -6318,113 +6402,70 @@ client.speech_to_text.convert(
-**model_id:** `SpeechToTextConvertRequestModelId` — The ID of the model to use for transcription. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
- -
-
- -**enable_logging:** `typing.Optional[bool]` — When enable_logging is set to false zero retention mode will be used for the request. This will mean log and transcript storage features are unavailable for this request. Zero retention mode may only be used by enterprise customers. -
-
-
- -**file:** `from __future__ import annotations -typing.Optional[core.File]` — See core.File for more documentation -
+
+## Webhooks +
client.webhooks.list(...)
-**language_code:** `typing.Optional[str]` — An ISO-639-1 or ISO-639-3 language_code corresponding to the language of the audio file. Can sometimes improve transcription performance if known beforehand. Defaults to null, in this case the language is predicted automatically. - -
-
+#### 📝 Description
-**tag_audio_events:** `typing.Optional[bool]` — Whether to tag audio events like (laughter), (footsteps), etc. in the transcription. - -
-
-
-**num_speakers:** `typing.Optional[int]` — The maximum amount of speakers talking in the uploaded file. Can help with predicting who speaks when. The maximum amount of speakers that can be predicted is 32. Defaults to null, in this case the amount of speakers is set to the maximum value the model supports. - +List all webhooks for a workspace
- -
-
- -**timestamps_granularity:** `typing.Optional[SpeechToTextConvertRequestTimestampsGranularity]` — The granularity of the timestamps in the transcription. 'word' provides word-level timestamps and 'character' provides character-level timestamps per word. -
-
-
- -**diarize:** `typing.Optional[bool]` — Whether to annotate which speaker is currently talking in the uploaded file. - -
-
+#### 🔌 Usage
-**diarization_threshold:** `typing.Optional[float]` — Diarization threshold to apply during speaker diarization. A higher value means there will be a lower chance of one speaker being diarized as two different speakers but also a higher chance of two different speakers being diarized as one speaker (less total speakers predicted). A low value means there will be a higher chance of one speaker being diarized as two different speakers but also a lower chance of two different speakers being diarized as one speaker (more total speakers predicted). Can only be set when diarize=True and num_speakers=None. Defaults to None, in which case we will choose a threshold based on the model_id (0.22 usually). - -
-
-
-**additional_formats:** `typing.Optional[AdditionalFormats]` — A list of additional formats to export the transcript to. - -
-
+```python +from elevenlabs import ElevenLabs -
-
+client = ElevenLabs( + api_key="YOUR_API_KEY", +) +client.webhooks.list( + include_usages=False, +) -**file_format:** `typing.Optional[SpeechToTextConvertRequestFileFormat]` — 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. - +```
- -
-
- -**cloud_storage_url:** `typing.Optional[str]` — The HTTPS URL of the file to transcribe. Exactly one of the file or cloud_storage_url parameters must be provided. The file must be accessible via HTTPS and the file size must be less than 2GB. Any valid HTTPS URL is accepted, including URLs from cloud storage providers (AWS S3, Google Cloud Storage, Cloudflare R2, etc.), CDNs, or any other HTTPS source. URLs can be pre-signed or include authentication tokens in query parameters. -
+#### ⚙️ Parameters +
-**webhook:** `typing.Optional[bool]` — Whether to send the transcription result to configured speech-to-text webhooks. If set the request will return early without the transcription, which will be delivered later via webhook. - -
-
-
-**webhook_id:** `typing.Optional[str]` — Optional specific webhook ID to send the transcription result to. Only valid when webhook is set to true. If not provided, transcription will be sent to all configured speech-to-text webhooks. +**include_usages:** `typing.Optional[bool]` — Whether to include active usages of the webhook, only usable by admins
@@ -6432,71 +6473,72 @@ typing.Optional[core.File]` — See core.File for more documentation
-**temperature:** `typing.Optional[float]` — Controls the randomness of the transcription output. Accepts values between 0.0 and 2.0, where higher values result in more diverse and less deterministic results. If omitted, we will use a temperature based on the model you selected which is usually 0. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ + -
-
-**seed:** `typing.Optional[int]` — If specified, our system will make a best effort to sample deterministically, such that repeated requests with the same seed and parameters should return the same result. Determinism is not guaranteed. Must be an integer between 0 and 2147483647. -
+
+
client.webhooks.create(...)
-**use_multi_channel:** `typing.Optional[bool]` — Whether the audio file contains multiple channels where each channel contains a single speaker. When enabled, each channel will be transcribed independently and the results will be combined. Each word in the response will include a 'channel_index' field indicating which channel it was spoken on. A maximum of 5 channels is supported. - -
-
+#### 📝 Description
-**webhook_metadata:** `typing.Optional[SpeechToTextConvertRequestWebhookMetadata]` — Optional metadata to be included in the webhook response. This should be a JSON string representing an object with a maximum depth of 2 levels and maximum size of 16KB. Useful for tracking internal IDs, job references, or other contextual information. - -
-
-
-**entity_detection:** `typing.Optional[SpeechToTextConvertRequestEntityDetection]` — Detect entities in the transcript. Can be 'all' to detect all entities, a single entity type or category string, or a list of entity types/categories. Categories include 'pii', 'phi', 'pci', 'other', 'offensive_language'. When enabled, detected entities will be returned in the 'entities' field with their text, type, and character positions. Usage of this parameter will incur additional costs. - +Create a new webhook for the workspace with the specified authentication type. +
+
+#### 🔌 Usage +
-**no_verbatim:** `typing.Optional[bool]` — If true, the transcription will not have any filler words, false starts and non-speech sounds. Only supported with scribe_v2 model. - -
-
-
-**entity_redaction:** `typing.Optional[SpeechToTextConvertRequestEntityRedaction]` — Redact entities from the transcript text. Accepts the same format as entity_detection: 'all', a category ('pii', 'phi'), or specific entity types. Must be a subset of entity_detection. When redaction is enabled, the entities field will not be returned. - +```python +from elevenlabs import ElevenLabs, WebhookHmacSettings + +client = ElevenLabs( + api_key="YOUR_API_KEY", +) +client.webhooks.create( + settings=WebhookHmacSettings( + name="name", + webhook_url="webhook_url", + ), +) + +```
+ + + +#### ⚙️ Parameters
-**entity_redaction_mode:** `typing.Optional[str]` — How to format redacted entities. 'redacted' replaces with {REDACTED}, 'entity_type' replaces with {ENTITY_TYPE}, 'enumerated_entity_type' replaces with {ENTITY_TYPE_N} where N enumerates each occurrence. Only used when entity_redaction is set. - -
-
-
-**keyterms:** `typing.Optional[typing.List[str]]` — A list of keyterms to bias the transcription towards. The keyterms are words or phrases you want the model to recognise more accurately. The number of keyterms cannot exceed 1000. The length of each keyterm must be less than 50 characters. Keyterms can contain at most 5 words (after normalisation). For example ["hello", "world", "technical term"]. Usage of this parameter will incur additional costs. When more than 100 keyterms are provided, a minimum billable duration of 20 seconds applies per request. +**settings:** `WebhookHmacSettings` — Webhook settings object containing auth_type and corresponding configuration
@@ -6516,8 +6558,7 @@ typing.Optional[core.File]` — See core.File for more documentation
-## ForcedAlignment -
client.forced_alignment.create(...) +
client.webhooks.delete(...)
@@ -6529,7 +6570,7 @@ typing.Optional[core.File]` — See core.File for more documentation
-Force align an audio file to text. Use this endpoint to get the timing information for each character and word in an audio file based on a provided text transcript. +Delete the specified workspace webhook
@@ -6549,8 +6590,8 @@ from elevenlabs import ElevenLabs client = ElevenLabs( api_key="YOUR_API_KEY", ) -client.forced_alignment.create( - text="text", +client.webhooks.delete( + webhook_id="G007vmtq9uWYl7SUW9zGS8GZZa1K", ) ``` @@ -6567,25 +6608,7 @@ client.forced_alignment.create(
-**file:** `from __future__ import annotations - -core.File` — See core.File for more documentation - -
-
- -
-
- -**text:** `str` — The text to align with the audio. The input text can be in any format, however diarization is not supported at this time. - -
-
- -
-
- -**enabled_spooled_file:** `typing.Optional[bool]` — If true, the file will be streamed to the server and processed in chunks. This is useful for large files that cannot be loaded into memory. The default is false. +**webhook_id:** `str` — The unique ID for the webhook
@@ -6605,8 +6628,7 @@ core.File` — See core.File for more documentation
-## ConversationalAi -
client.conversational_ai.add_to_knowledge_base(...) +
client.webhooks.update(...)
@@ -6618,7 +6640,7 @@ core.File` — See core.File for more documentation
-Upload a file or webpage URL to create a knowledge base document.
After creating the document, update the agent's knowledge base by calling [Update agent](/docs/api-reference/agents/update). +Update the specified workspace webhook
@@ -6638,8 +6660,10 @@ from elevenlabs import ElevenLabs client = ElevenLabs( api_key="YOUR_API_KEY", ) -client.conversational_ai.add_to_knowledge_base( - agent_id="agent_id", +client.webhooks.update( + webhook_id="G007vmtq9uWYl7SUW9zGS8GZZa1K", + is_disabled=True, + name="My Callback Webhook", ) ``` @@ -6656,7 +6680,7 @@ client.conversational_ai.add_to_knowledge_base(
-**agent_id:** `typing.Optional[str]` +**webhook_id:** `str` — The unique ID for the webhook
@@ -6664,7 +6688,7 @@ client.conversational_ai.add_to_knowledge_base(
-**name:** `typing.Optional[str]` — A custom, human-readable name for the document. +**is_disabled:** `bool` — Whether to disable or enable the webhook
@@ -6672,7 +6696,7 @@ client.conversational_ai.add_to_knowledge_base(
-**url:** `typing.Optional[str]` — URL to a page of documentation that the agent will have access to in order to interact with users. +**name:** `str` — The display name of the webhook (used for display purposes only).
@@ -6680,9 +6704,7 @@ client.conversational_ai.add_to_knowledge_base(
-**file:** `from __future__ import annotations - -typing.Optional[core.File]` — See core.File for more documentation +**retry_enabled:** `typing.Optional[bool]` — Whether to enable automatic retries for transient failures (5xx, 429, timeout)
@@ -6702,7 +6724,8 @@ typing.Optional[core.File]` — See core.File for more documentation
-
client.conversational_ai.rag_index_overview() +## SpeechToText +
client.speech_to_text.convert(...)
@@ -6714,7 +6737,7 @@ typing.Optional[core.File]` — See core.File for more documentation
-Provides total size and other information of RAG indexes used by knowledgebase documents +Transcribe an audio or video file. If webhook is set to true, the request will be processed asynchronously and results sent to configured webhooks. When use_multi_channel is true and the provided audio has multiple channels, a 'transcripts' object with separate transcripts for each channel is returned. Otherwise, returns a single transcript. The optional webhook_metadata parameter allows you to attach custom data that will be included in webhook responses for request correlation and tracking.
@@ -6734,7 +6757,10 @@ from elevenlabs import ElevenLabs client = ElevenLabs( api_key="YOUR_API_KEY", ) -client.conversational_ai.rag_index_overview() +client.speech_to_text.convert( + enable_logging=True, + model_id="scribe_v2", +) ``` @@ -6750,69 +6776,49 @@ client.conversational_ai.rag_index_overview()
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**model_id:** `SpeechToTextConvertRequestModelId` — The ID of the model to use for transcription.
- -
+
+
+**enable_logging:** `typing.Optional[bool]` — When enable_logging is set to false zero retention mode will be used for the request. This will mean log and transcript storage features are unavailable for this request. Zero retention mode may only be used by enterprise customers. +
-
-
client.conversational_ai.get_document_rag_indexes(...)
-#### 📝 Description +**file:** `from __future__ import annotations -
-
+typing.Optional[core.File]` — See core.File for more documentation + +
+
-Provides information about all RAG indexes of the specified knowledgebase document. -
-
+**language_code:** `typing.Optional[str]` — An ISO-639-1 or ISO-639-3 language_code corresponding to the language of the audio file. Can sometimes improve transcription performance if known beforehand. Defaults to null, in this case the language is predicted automatically. +
-#### 🔌 Usage - -
-
-
-```python -from elevenlabs import ElevenLabs - -client = ElevenLabs( - api_key="YOUR_API_KEY", -) -client.conversational_ai.get_document_rag_indexes( - documentation_id="21m00Tcm4TlvDq8ikWAM", -) - -``` -
-
+**tag_audio_events:** `typing.Optional[bool]` — Whether to tag audio events like (laughter), (footsteps), etc. in the transcription. +
-#### ⚙️ Parameters - -
-
-
-**documentation_id:** `str` — The id of a document from the knowledge base. This is returned on document addition. +**num_speakers:** `typing.Optional[int]` — The maximum amount of speakers talking in the uploaded file. Can help with predicting who speaks when. The maximum amount of speakers that can be predicted is 32. Defaults to null, in this case the amount of speakers is set to the maximum value the model supports.
@@ -6820,70 +6826,47 @@ client.conversational_ai.get_document_rag_indexes(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**timestamps_granularity:** `typing.Optional[SpeechToTextConvertRequestTimestampsGranularity]` — The granularity of the timestamps in the transcription. 'word' provides word-level timestamps and 'character' provides character-level timestamps per word.
-
-
+
+
+**diarize:** `typing.Optional[bool]` — Whether to annotate which speaker is currently talking in the uploaded file. +
-
-
client.conversational_ai.delete_document_rag_index(...)
-#### 📝 Description - -
-
+**diarization_threshold:** `typing.Optional[float]` — Diarization threshold to apply during speaker diarization. A higher value means there will be a lower chance of one speaker being diarized as two different speakers but also a higher chance of two different speakers being diarized as one speaker (less total speakers predicted). A low value means there will be a higher chance of one speaker being diarized as two different speakers but also a lower chance of two different speakers being diarized as one speaker (more total speakers predicted). Can only be set when diarize=True and num_speakers=None. Defaults to None, in which case we will choose a threshold based on the model_id (0.22 usually). + +
+
-Delete RAG index for the knowledgebase document. -
-
+**additional_formats:** `typing.Optional[AdditionalFormats]` — A list of additional formats to export the transcript to. +
-#### 🔌 Usage - -
-
-
-```python -from elevenlabs import ElevenLabs - -client = ElevenLabs( - api_key="YOUR_API_KEY", -) -client.conversational_ai.delete_document_rag_index( - documentation_id="21m00Tcm4TlvDq8ikWAM", - rag_index_id="21m00Tcm4TlvDq8ikWAM", -) - -``` -
-
+**file_format:** `typing.Optional[SpeechToTextConvertRequestFileFormat]` — 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. +
-#### ⚙️ Parameters - -
-
-
-**documentation_id:** `str` — The id of a document from the knowledge base. This is returned on document addition. +**source_url:** `typing.Optional[str]` — The URL of an audio or video file to transcribe. Supports hosted video or audio files, YouTube video URLs, TikTok video URLs, and other video hosting services.
@@ -6891,7 +6874,7 @@ client.conversational_ai.delete_document_rag_index(
-**rag_index_id:** `str` — The id of RAG index of document from the knowledge base. +**webhook:** `typing.Optional[bool]` — Whether to send the transcription result to configured speech-to-text webhooks. If set the request will return early without the transcription, which will be delivered later via webhook.
@@ -6899,74 +6882,47 @@ client.conversational_ai.delete_document_rag_index(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**webhook_id:** `typing.Optional[str]` — Optional specific webhook ID to send the transcription result to. Only valid when webhook is set to true. If not provided, transcription will be sent to all configured speech-to-text webhooks.
-
-
+
+
+**temperature:** `typing.Optional[float]` — Controls the randomness of the transcription output. Accepts values between 0.0 and 2.0, where higher values result in more diverse and less deterministic results. If omitted, we will use a temperature based on the model you selected which is usually 0. +
-
-## EnvironmentVariables -
client.environment_variables.list(...)
-#### 📝 Description - -
-
+**seed:** `typing.Optional[int]` — If specified, our system will make a best effort to sample deterministically, such that repeated requests with the same seed and parameters should return the same result. Determinism is not guaranteed. Must be an integer between 0 and 2147483647. + +
+
-List all environment variables for the workspace with optional filtering -
-
+**use_multi_channel:** `typing.Optional[bool]` — Whether the audio file contains multiple channels where each channel contains a single speaker. When enabled, each channel will be transcribed independently and the results will be combined. Each word in the response will include a 'channel_index' field indicating which channel it was spoken on. A maximum of 5 channels is supported. +
-#### 🔌 Usage -
-
-
- -```python -from elevenlabs import ElevenLabs - -client = ElevenLabs( - api_key="YOUR_API_KEY", -) -client.environment_variables.list( - cursor="cursor", - page_size=1, - label="label", - environment="environment", - type="string", -) - -``` -
-
+**webhook_metadata:** `typing.Optional[SpeechToTextConvertRequestWebhookMetadata]` — Optional metadata to be included in the webhook response. This should be a JSON string representing an object with a maximum depth of 2 levels and maximum size of 16KB. Useful for tracking internal IDs, job references, or other contextual information. +
-#### ⚙️ Parameters - -
-
-
-**cursor:** `typing.Optional[str]` — Pagination cursor from previous response +**entity_detection:** `typing.Optional[SpeechToTextConvertRequestEntityDetection]` — Detect entities in the transcript. Can be 'all' to detect all entities, a single entity type or category string, or a list of entity types/categories. Categories include 'pii', 'phi', 'pci', 'other', 'offensive_language'. When enabled, detected entities will be returned in the 'entities' field with their text, type, and character positions. Usage of this parameter will incur additional costs.
@@ -6974,7 +6930,7 @@ client.environment_variables.list(
-**page_size:** `typing.Optional[int]` — Number of items to return (1-100) +**no_verbatim:** `typing.Optional[bool]` — If true, the transcription will not have any filler words, false starts and non-speech sounds. Only supported with scribe_v2 model.
@@ -6982,7 +6938,7 @@ client.environment_variables.list(
-**label:** `typing.Optional[str]` — Filter by exact label match +**entity_redaction:** `typing.Optional[SpeechToTextConvertRequestEntityRedaction]` — Redact entities from the transcript text. Accepts the same format as entity_detection: 'all', a category ('pii', 'phi'), or specific entity types. Must be a subset of entity_detection. When redaction is enabled, the entities field will not be returned.
@@ -6990,7 +6946,7 @@ client.environment_variables.list(
-**environment:** `typing.Optional[str]` — Filter to only return variables that have this environment. When specified, the values dict in the response will only contain this environment. +**entity_redaction_mode:** `typing.Optional[str]` — How to format redacted entities. 'redacted' replaces with {REDACTED}, 'entity_type' replaces with {ENTITY_TYPE}, 'enumerated_entity_type' replaces with {ENTITY_TYPE_N} where N enumerates each occurrence. Only used when entity_redaction is set.
@@ -6998,7 +6954,7 @@ client.environment_variables.list(
-**type:** `typing.Optional[EnvironmentVariablesListRequestType]` — Filter by variable type +**keyterms:** `typing.Optional[typing.List[str]]` — A list of keyterms to bias the transcription towards. The keyterms are words or phrases you want the model to recognise more accurately. The number of keyterms cannot exceed 1000. The length of each keyterm must be less than 50 characters. Keyterms can contain at most 5 words (after normalisation). For example ["hello", "world", "technical term"]. Usage of this parameter will incur additional costs. When more than 100 keyterms are provided, a minimum billable duration of 20 seconds applies per request.
@@ -7018,7 +6974,8 @@ client.environment_variables.list(
-
client.environment_variables.create(...) +## ForcedAlignment +
client.forced_alignment.create(...)
@@ -7030,7 +6987,7 @@ client.environment_variables.list(
-Create a new environment variable for the workspace +Force align an audio file to text. Use this endpoint to get the timing information for each character and word in an audio file based on a provided text transcript.
@@ -7046,18 +7003,12 @@ Create a new environment variable for the workspace ```python from elevenlabs import ElevenLabs -from elevenlabs.environment_variables import ( - EnvironmentVariablesCreateRequestBody_String, -) client = ElevenLabs( api_key="YOUR_API_KEY", ) -client.environment_variables.create( - request=EnvironmentVariablesCreateRequestBody_String( - label="label", - values={"key": "value"}, - ), +client.forced_alignment.create( + text="text", ) ``` @@ -7074,7 +7025,17 @@ client.environment_variables.create(
-**request:** `EnvironmentVariablesCreateRequestBody` +**file:** `from __future__ import annotations + +core.File` — See core.File for more documentation + +
+
+ +
+
+ +**text:** `str` — The text to align with the audio. The input text can be in any format, however diarization is not supported at this time.
@@ -7094,7 +7055,8 @@ client.environment_variables.create(
-
client.environment_variables.get(...) +## ConversationalAi +
client.conversational_ai.add_to_knowledge_base(...)
@@ -7106,7 +7068,7 @@ client.environment_variables.create(
-Get a specific environment variable by ID +Upload a file or webpage URL to create a knowledge base document.
After creating the document, update the agent's knowledge base by calling [Update agent](/docs/api-reference/agents/update).
@@ -7126,8 +7088,8 @@ from elevenlabs import ElevenLabs client = ElevenLabs( api_key="YOUR_API_KEY", ) -client.environment_variables.get( - env_var_id="env_var_id", +client.conversational_ai.add_to_knowledge_base( + agent_id="agent_id", ) ``` @@ -7144,7 +7106,7 @@ client.environment_variables.get(
-**env_var_id:** `str` +**agent_id:** `typing.Optional[str]`
@@ -7152,70 +7114,15 @@ client.environment_variables.get(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**name:** `typing.Optional[str]` — A custom, human-readable name for the document.
- -
- - - - -
- -
client.environment_variables.update(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Replace an environment variable's values. Use null to remove an environment (except production). -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from elevenlabs import ElevenLabs - -client = ElevenLabs( - api_key="YOUR_API_KEY", -) -client.environment_variables.update( - env_var_id="env_var_id", - values={}, -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
-**env_var_id:** `str` +**url:** `typing.Optional[str]` — URL to a page of documentation that the agent will have access to in order to interact with users.
@@ -7223,7 +7130,9 @@ client.environment_variables.update(
-**values:** `typing.Dict[str, typing.Optional[UpdateEnvironmentVariableRequestValuesValue]]` — Values to replace. Set to null to remove an environment (except 'production'). +**file:** `from __future__ import annotations + +typing.Optional[core.File]` — See core.File for more documentation
@@ -7243,8 +7152,7 @@ client.environment_variables.update(
-## Music -
client.music.compose(...) +
client.conversational_ai.rag_index_overview()
@@ -7256,7 +7164,7 @@ client.environment_variables.update(
-Compose a song from a prompt or a composition plan. +Provides total size and other information of RAG indexes used by knowledgebase documents
@@ -7276,7 +7184,7 @@ from elevenlabs import ElevenLabs client = ElevenLabs( api_key="YOUR_API_KEY", ) -client.music.compose() +client.conversational_ai.rag_index_overview() ``` @@ -7292,79 +7200,69 @@ client.music.compose()
-**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. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
- -
-
- -**prompt:** `typing.Optional[str]` — A simple text prompt to generate a song from. Cannot be used in conjunction with `composition_plan`. -
-
-
-**composition_plan:** `typing.Optional[MusicPrompt]` — A detailed composition plan to guide music generation. Cannot be used in conjunction with `prompt`. -
+
+
client.conversational_ai.get_document_rag_indexes(...)
-**music_length_ms:** `typing.Optional[int]` — The length of the song to generate in milliseconds. Used only in conjunction with `prompt`. Must be between 3000ms and 600000ms. Optional - if not provided, the model will choose a length based on the prompt. - -
-
+#### 📝 Description
-**model_id:** `typing.Optional[typing.Literal["music_v1"]]` — The model to use for the generation. - -
-
-
-**seed:** `typing.Optional[int]` — Random seed to initialize the music generation process. Providing the same seed with the same parameters can help achieve more consistent results, but exact reproducibility is not guaranteed and outputs may change across system updates. Cannot be used in conjunction with prompt. - +Provides information about all RAG indexes of the specified knowledgebase document.
- -
-
- -**force_instrumental:** `typing.Optional[bool]` — If true, guarantees that the generated song will be instrumental. If false, the song may or may not be instrumental depending on the `prompt`. Can only be used with `prompt`. -
+#### 🔌 Usage +
-**respect_sections_durations:** `typing.Optional[bool]` — Controls how strictly section durations in the `composition_plan` are enforced. Only used with `composition_plan`. When set to true, the model will precisely respect each section's `duration_ms` from the plan. When set to false, the model may adjust individual section durations which will generally lead to better generation quality and improved latency, while always preserving the total song duration from the plan. - -
-
-
-**store_for_inpainting:** `typing.Optional[bool]` — Whether to store the generated song for inpainting. Only available to enterprise clients with access to the inpainting feature. - +```python +from elevenlabs import ElevenLabs + +client = ElevenLabs( + api_key="YOUR_API_KEY", +) +client.conversational_ai.get_document_rag_indexes( + documentation_id="21m00Tcm4TlvDq8ikWAM", +) + +``` +
+
+#### ⚙️ Parameters + +
+
+
-**sign_with_c_2_pa:** `typing.Optional[bool]` — Whether to sign the generated song with C2PA. Applicable only for mp3 files. +**documentation_id:** `str` — The id of a document from the knowledge base. This is returned on document addition.
@@ -7372,7 +7270,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.
@@ -7384,7 +7282,7 @@ client.music.compose()
-
client.music.compose_detailed(...) +
client.conversational_ai.delete_document_rag_index(...)
@@ -7396,7 +7294,7 @@ client.music.compose()
-Compose a song from a prompt or a composition plan. +Delete RAG index for the knowledgebase document.
@@ -7416,7 +7314,10 @@ from elevenlabs import ElevenLabs client = ElevenLabs( api_key="YOUR_API_KEY", ) -client.music.compose_detailed() +client.conversational_ai.delete_document_rag_index( + documentation_id="21m00Tcm4TlvDq8ikWAM", + rag_index_id="21m00Tcm4TlvDq8ikWAM", +) ``` @@ -7432,7 +7333,7 @@ client.music.compose_detailed()
-**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. +**documentation_id:** `str` — The id of a document from the knowledge base. This is returned on document addition.
@@ -7440,7 +7341,7 @@ client.music.compose_detailed()
-**prompt:** `typing.Optional[str]` — A simple text prompt to generate a song from. Cannot be used in conjunction with `composition_plan`. +**rag_index_id:** `str` — The id of RAG index of document from the knowledge base.
@@ -7448,39 +7349,74 @@ client.music.compose_detailed()
-**composition_plan:** `typing.Optional[MusicPrompt]` — A detailed composition plan to guide music generation. Cannot be used in conjunction with `prompt`. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**music_length_ms:** `typing.Optional[int]` — The length of the song to generate in milliseconds. Used only in conjunction with `prompt`. Must be between 3000ms and 600000ms. Optional - if not provided, the model will choose a length based on the prompt. -
+
+## EnvironmentVariables +
client.environment_variables.list(...)
-**model_id:** `typing.Optional[typing.Literal["music_v1"]]` — The model to use for the generation. - +#### 📝 Description + +
+
+ +
+
+ +List all environment variables for the workspace with optional filtering +
+
+#### 🔌 Usage +
-**seed:** `typing.Optional[int]` — Random seed to initialize the music generation process. Providing the same seed with the same parameters can help achieve more consistent results, but exact reproducibility is not guaranteed and outputs may change across system updates. Cannot be used in conjunction with prompt. - +
+
+ +```python +from elevenlabs import ElevenLabs + +client = ElevenLabs( + api_key="YOUR_API_KEY", +) +client.environment_variables.list( + cursor="cursor", + page_size=1, + label="label", + environment="environment", + type="string", +) + +``` +
+
+#### ⚙️ Parameters +
-**force_instrumental:** `typing.Optional[bool]` — If true, guarantees that the generated song will be instrumental. If false, the song may or may not be instrumental depending on the `prompt`. Can only be used with `prompt`. +
+
+ +**cursor:** `typing.Optional[str]` — Pagination cursor from previous response
@@ -7488,7 +7424,7 @@ client.music.compose_detailed()
-**respect_sections_durations:** `typing.Optional[bool]` — Controls how strictly section durations in the `composition_plan` are enforced. Only used with `composition_plan`. When set to true, the model will precisely respect each section's `duration_ms` from the plan. When set to false, the model may adjust individual section durations which will generally lead to better generation quality and improved latency, while always preserving the total song duration from the plan. +**page_size:** `typing.Optional[int]` — Number of items to return (1-100)
@@ -7496,7 +7432,7 @@ client.music.compose_detailed()
-**store_for_inpainting:** `typing.Optional[bool]` — Whether to store the generated song for inpainting. Only available to enterprise clients with access to the inpainting feature. +**label:** `typing.Optional[str]` — Filter by exact label match
@@ -7504,7 +7440,7 @@ client.music.compose_detailed()
-**with_timestamps:** `typing.Optional[bool]` — Whether to return the timestamps of the words in the generated song. +**environment:** `typing.Optional[str]` — Filter to only return variables that have this environment. When specified, the values dict in the response will only contain this environment.
@@ -7512,7 +7448,7 @@ client.music.compose_detailed()
-**sign_with_c_2_pa:** `typing.Optional[bool]` — Whether to sign the generated song with C2PA. Applicable only for mp3 files. +**type:** `typing.Optional[EnvironmentVariablesListRequestType]` — Filter by variable type
@@ -7520,7 +7456,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.
@@ -7532,7 +7468,7 @@ client.music.compose_detailed()
-
client.music.stream(...) +
client.environment_variables.create(...)
@@ -7544,7 +7480,7 @@ client.music.compose_detailed()
-Stream a composed song from a prompt or a composition plan. +Create a new environment variable for the workspace
@@ -7560,11 +7496,19 @@ Stream a composed song from a prompt or a composition plan. ```python from elevenlabs import ElevenLabs +from elevenlabs.environment_variables import ( + EnvironmentVariablesCreateRequestBody_String, +) client = ElevenLabs( api_key="YOUR_API_KEY", ) -client.music.stream() +client.environment_variables.create( + request=EnvironmentVariablesCreateRequestBody_String( + label="label", + values={"key": "value"}, + ), +) ``` @@ -7580,7 +7524,7 @@ client.music.stream()
-**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. +**request:** `EnvironmentVariablesCreateRequestBody`
@@ -7588,55 +7532,69 @@ client.music.stream()
-**prompt:** `typing.Optional[str]` — A simple text prompt to generate a song from. Cannot be used in conjunction with `composition_plan`. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**composition_plan:** `typing.Optional[MusicPrompt]` — A detailed composition plan to guide music generation. Cannot be used in conjunction with `prompt`. -
+
+
client.environment_variables.get(...)
-**music_length_ms:** `typing.Optional[int]` — The length of the song to generate in milliseconds. Used only in conjunction with `prompt`. Must be between 3000ms and 600000ms. Optional - if not provided, the model will choose a length based on the prompt. - -
-
+#### 📝 Description
-**model_id:** `typing.Optional[typing.Literal["music_v1"]]` — The model to use for the generation. - -
-
-
-**seed:** `typing.Optional[int]` — Random seed to initialize the music generation process. Providing the same seed with the same parameters can help achieve more consistent results, but exact reproducibility is not guaranteed and outputs may change across system updates. Cannot be used in conjunction with prompt. - +Get a specific environment variable by ID +
+
+#### 🔌 Usage +
-**force_instrumental:** `typing.Optional[bool]` — If true, guarantees that the generated song will be instrumental. If false, the song may or may not be instrumental depending on the `prompt`. Can only be used with `prompt`. - +
+
+ +```python +from elevenlabs import ElevenLabs + +client = ElevenLabs( + api_key="YOUR_API_KEY", +) +client.environment_variables.get( + env_var_id="env_var_id", +) + +``` +
+
+#### ⚙️ Parameters +
-**store_for_inpainting:** `typing.Optional[bool]` — Whether to store the generated song for inpainting. Only available to enterprise clients with access to the inpainting feature. +
+
+ +**env_var_id:** `str`
@@ -7644,7 +7602,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.
@@ -7656,7 +7614,7 @@ client.music.stream()
-
client.music.upload(...) +
client.environment_variables.update(...)
@@ -7668,7 +7626,7 @@ client.music.stream()
-Upload a music file to be later used for inpainting. Only available to enterprise clients with access to the inpainting feature. +Replace an environment variable's values. Use null to remove an environment (except production).
@@ -7688,7 +7646,10 @@ from elevenlabs import ElevenLabs client = ElevenLabs( api_key="YOUR_API_KEY", ) -client.music.upload() +client.environment_variables.update( + env_var_id="env_var_id", + values={}, +) ``` @@ -7704,9 +7665,7 @@ client.music.upload()
-**file:** `from __future__ import annotations - -core.File` — See core.File for more documentation +**env_var_id:** `str`
@@ -7714,7 +7673,7 @@ core.File` — See core.File for more documentation
-**extract_composition_plan:** `typing.Optional[bool]` — Whether to generate and return the composition plan for the uploaded song. If True, the response will include the composition_plan but will increase the latency. +**values:** `typing.Dict[str, typing.Optional[UpdateEnvironmentVariableRequestValuesValue]]` — Values to replace. Set to null to remove an environment (except 'production').
@@ -12252,6 +12211,22 @@ client.conversational_ai.batch_calls.create(
+**branch_id:** `typing.Optional[str]` + +
+
+ +
+
+ +**environment:** `typing.Optional[str]` + +
+
+ +
+
+ **telephony_call_config:** `typing.Optional[TelephonyCallConfig]`
@@ -14467,11 +14442,10 @@ Create a new draft for an agent from elevenlabs import ( AgentWorkflowRequestModel, AgentWorkflowRequestModelNodesValue_End, - AstAndOperatorNodeInputChildrenItem_BooleanLiteral, + AstNodeInput_AndOperator, ElevenLabs, WorkflowEdgeModelInput, WorkflowEdgeModelInputForwardCondition_Expression, - WorkflowExpressionConditionModelInputExpression_AndOperator, ) client = ElevenLabs( @@ -14488,12 +14462,8 @@ client.conversational_ai.agents.drafts.create( source="entry_node", target="tool_node_a", forward_condition=WorkflowEdgeModelInputForwardCondition_Expression( - expression=WorkflowExpressionConditionModelInputExpression_AndOperator( - children=[ - AstAndOperatorNodeInputChildrenItem_BooleanLiteral( - value=True, - ) - ], + expression=AstNodeInput_AndOperator( + children=[], ), ), ), @@ -14501,12 +14471,8 @@ client.conversational_ai.agents.drafts.create( source="start_node", target="entry_node", forward_condition=WorkflowEdgeModelInputForwardCondition_Expression( - expression=WorkflowExpressionConditionModelInputExpression_AndOperator( - children=[ - AstAndOperatorNodeInputChildrenItem_BooleanLiteral( - value=True, - ) - ], + expression=AstNodeInput_AndOperator( + children=[], ), ), ), @@ -14514,12 +14480,8 @@ client.conversational_ai.agents.drafts.create( source="tool_node_a", target="failure_node", forward_condition=WorkflowEdgeModelInputForwardCondition_Expression( - expression=WorkflowExpressionConditionModelInputExpression_AndOperator( - children=[ - AstAndOperatorNodeInputChildrenItem_BooleanLiteral( - value=True, - ) - ], + expression=AstNodeInput_AndOperator( + children=[], ), ), ), @@ -14527,12 +14489,8 @@ client.conversational_ai.agents.drafts.create( source="tool_node_a", target="tool_node_b", forward_condition=WorkflowEdgeModelInputForwardCondition_Expression( - expression=WorkflowExpressionConditionModelInputExpression_AndOperator( - children=[ - AstAndOperatorNodeInputChildrenItem_BooleanLiteral( - value=True, - ) - ], + expression=AstNodeInput_AndOperator( + children=[], ), ), ), @@ -14540,12 +14498,8 @@ client.conversational_ai.agents.drafts.create( source="tool_node_b", target="success_transfer", forward_condition=WorkflowEdgeModelInputForwardCondition_Expression( - expression=WorkflowExpressionConditionModelInputExpression_AndOperator( - children=[ - AstAndOperatorNodeInputChildrenItem_BooleanLiteral( - value=True, - ) - ], + expression=AstNodeInput_AndOperator( + children=[], ), ), ), @@ -14553,12 +14507,8 @@ client.conversational_ai.agents.drafts.create( source="tool_node_b", target="success_conversation", forward_condition=WorkflowEdgeModelInputForwardCondition_Expression( - expression=WorkflowExpressionConditionModelInputExpression_AndOperator( - children=[ - AstAndOperatorNodeInputChildrenItem_BooleanLiteral( - value=True, - ) - ], + expression=AstNodeInput_AndOperator( + children=[], ), ), ), @@ -14566,12 +14516,8 @@ client.conversational_ai.agents.drafts.create( source="tool_node_b", target="success_end", forward_condition=WorkflowEdgeModelInputForwardCondition_Expression( - expression=WorkflowExpressionConditionModelInputExpression_AndOperator( - children=[ - AstAndOperatorNodeInputChildrenItem_BooleanLiteral( - value=True, - ) - ], + expression=AstNodeInput_AndOperator( + children=[], ), ), ), @@ -14579,12 +14525,8 @@ client.conversational_ai.agents.drafts.create( source="tool_node_b", target="success_phone", forward_condition=WorkflowEdgeModelInputForwardCondition_Expression( - expression=WorkflowExpressionConditionModelInputExpression_AndOperator( - children=[ - AstAndOperatorNodeInputChildrenItem_BooleanLiteral( - value=True, - ) - ], + expression=AstNodeInput_AndOperator( + children=[], ), ), ), @@ -15117,6 +15059,7 @@ client.conversational_ai.conversations.messages.text_search( summary_mode="exclude", conversation_initiation_source="unknown", branch_id="branch_id", + sort_by="search_score", cursor="cursor", ) @@ -15302,6 +15245,14 @@ client.conversational_ai.conversations.messages.text_search(
+**sort_by:** `typing.Optional[MessageSearchSortBy]` — Sort order for search results. 'search_score' sorts by search score, 'created_at' sorts by conversation start time. + +
+
+ +
+
+ **cursor:** `typing.Optional[str]` — Used for fetching next page. Cursor is returned in the response.
@@ -15575,6 +15526,77 @@ client.conversational_ai.conversations.files.delete(
+ +
+
+ +## ConversationalAi Conversations Analysis +
client.conversational_ai.conversations.analysis.run(...) +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Run the analysis for a conversation using the agent's current evaluation criteria and data collection settings. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from elevenlabs import ElevenLabs + +client = ElevenLabs( + api_key="YOUR_API_KEY", +) +client.conversational_ai.conversations.analysis.run( + conversation_id="conversation_id", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**conversation_id:** `str` — ID of the conversation + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ +
diff --git a/src/elevenlabs/__init__.py b/src/elevenlabs/__init__.py index 92036f64..f2f800f7 100644 --- a/src/elevenlabs/__init__.py +++ b/src/elevenlabs/__init__.py @@ -6,8 +6,8 @@ import typing from importlib import import_module -if sys.getrecursionlimit() < 5000: - sys.setrecursionlimit(5000) +if sys.getrecursionlimit() < 10000: + sys.setrecursionlimit(10000) if typing.TYPE_CHECKING: from .types import ( AddChapterResponseModel, @@ -79,18 +79,12 @@ AllowlistItem, ApiIntegrationOAuth2AuthCodeResponse, ApiIntegrationOAuth2AuthCodeResponseScopeSeparator, - ApiIntegrationWebhookOverridesInput, - ApiIntegrationWebhookOverridesInputRequestHeadersValue, - ApiIntegrationWebhookOverridesInputSchemaOverridesValue, - ApiIntegrationWebhookOverridesInputSchemaOverridesValue_Constant, - ApiIntegrationWebhookOverridesInputSchemaOverridesValue_DynamicVariable, - ApiIntegrationWebhookOverridesInputSchemaOverridesValue_Llm, - ApiIntegrationWebhookOverridesOutput, - ApiIntegrationWebhookOverridesOutputRequestHeadersValue, - ApiIntegrationWebhookOverridesOutputSchemaOverridesValue, - ApiIntegrationWebhookOverridesOutputSchemaOverridesValue_Constant, - ApiIntegrationWebhookOverridesOutputSchemaOverridesValue_DynamicVariable, - ApiIntegrationWebhookOverridesOutputSchemaOverridesValue_Llm, + ApiIntegrationWebhookOverrides, + ApiIntegrationWebhookOverridesRequestHeadersValue, + ApiIntegrationWebhookOverridesSchemaOverridesValue, + ApiIntegrationWebhookOverridesSchemaOverridesValue_Constant, + ApiIntegrationWebhookOverridesSchemaOverridesValue_DynamicVariable, + ApiIntegrationWebhookOverridesSchemaOverridesValue_Llm, ApiIntegrationWebhookToolConfigInput, ApiIntegrationWebhookToolConfigOutput, ArrayJsonSchemaPropertyInput, @@ -102,542 +96,80 @@ AsrInputFormat, AsrProvider, AsrQuality, + AssetTranscription, + AssetTranscriptionWord, + AstAdditionOperatorNodeInput, + AstAdditionOperatorNodeOutput, AstAndOperatorNodeInput, - AstAndOperatorNodeInputChildrenItem, - AstAndOperatorNodeInputChildrenItem_AndOperator, - AstAndOperatorNodeInputChildrenItem_BooleanLiteral, - AstAndOperatorNodeInputChildrenItem_ConditionalOperator, - AstAndOperatorNodeInputChildrenItem_DynamicVariable, - AstAndOperatorNodeInputChildrenItem_EqOperator, - AstAndOperatorNodeInputChildrenItem_GtOperator, - AstAndOperatorNodeInputChildrenItem_GteOperator, - AstAndOperatorNodeInputChildrenItem_Llm, - AstAndOperatorNodeInputChildrenItem_LtOperator, - AstAndOperatorNodeInputChildrenItem_LteOperator, - AstAndOperatorNodeInputChildrenItem_NeqOperator, - AstAndOperatorNodeInputChildrenItem_NumberLiteral, - AstAndOperatorNodeInputChildrenItem_OrOperator, - AstAndOperatorNodeInputChildrenItem_StringLiteral, AstAndOperatorNodeOutput, - AstAndOperatorNodeOutputChildrenItem, - AstAndOperatorNodeOutputChildrenItem_AndOperator, - AstAndOperatorNodeOutputChildrenItem_BooleanLiteral, - AstAndOperatorNodeOutputChildrenItem_ConditionalOperator, - AstAndOperatorNodeOutputChildrenItem_DynamicVariable, - AstAndOperatorNodeOutputChildrenItem_EqOperator, - AstAndOperatorNodeOutputChildrenItem_GtOperator, - AstAndOperatorNodeOutputChildrenItem_GteOperator, - AstAndOperatorNodeOutputChildrenItem_Llm, - AstAndOperatorNodeOutputChildrenItem_LtOperator, - AstAndOperatorNodeOutputChildrenItem_LteOperator, - AstAndOperatorNodeOutputChildrenItem_NeqOperator, - AstAndOperatorNodeOutputChildrenItem_NumberLiteral, - AstAndOperatorNodeOutputChildrenItem_OrOperator, - AstAndOperatorNodeOutputChildrenItem_StringLiteral, AstBooleanNodeInput, AstBooleanNodeOutput, AstConditionalOperatorNodeInput, - AstConditionalOperatorNodeInputCondition, - AstConditionalOperatorNodeInputCondition_AndOperator, - AstConditionalOperatorNodeInputCondition_BooleanLiteral, - AstConditionalOperatorNodeInputCondition_ConditionalOperator, - AstConditionalOperatorNodeInputCondition_DynamicVariable, - AstConditionalOperatorNodeInputCondition_EqOperator, - AstConditionalOperatorNodeInputCondition_GtOperator, - AstConditionalOperatorNodeInputCondition_GteOperator, - AstConditionalOperatorNodeInputCondition_Llm, - AstConditionalOperatorNodeInputCondition_LtOperator, - AstConditionalOperatorNodeInputCondition_LteOperator, - AstConditionalOperatorNodeInputCondition_NeqOperator, - AstConditionalOperatorNodeInputCondition_NumberLiteral, - AstConditionalOperatorNodeInputCondition_OrOperator, - AstConditionalOperatorNodeInputCondition_StringLiteral, - AstConditionalOperatorNodeInputFalseExpression, - AstConditionalOperatorNodeInputFalseExpression_AndOperator, - AstConditionalOperatorNodeInputFalseExpression_BooleanLiteral, - AstConditionalOperatorNodeInputFalseExpression_ConditionalOperator, - AstConditionalOperatorNodeInputFalseExpression_DynamicVariable, - AstConditionalOperatorNodeInputFalseExpression_EqOperator, - AstConditionalOperatorNodeInputFalseExpression_GtOperator, - AstConditionalOperatorNodeInputFalseExpression_GteOperator, - AstConditionalOperatorNodeInputFalseExpression_Llm, - AstConditionalOperatorNodeInputFalseExpression_LtOperator, - AstConditionalOperatorNodeInputFalseExpression_LteOperator, - AstConditionalOperatorNodeInputFalseExpression_NeqOperator, - AstConditionalOperatorNodeInputFalseExpression_NumberLiteral, - AstConditionalOperatorNodeInputFalseExpression_OrOperator, - AstConditionalOperatorNodeInputFalseExpression_StringLiteral, - AstConditionalOperatorNodeInputTrueExpression, - AstConditionalOperatorNodeInputTrueExpression_AndOperator, - AstConditionalOperatorNodeInputTrueExpression_BooleanLiteral, - AstConditionalOperatorNodeInputTrueExpression_ConditionalOperator, - AstConditionalOperatorNodeInputTrueExpression_DynamicVariable, - AstConditionalOperatorNodeInputTrueExpression_EqOperator, - AstConditionalOperatorNodeInputTrueExpression_GtOperator, - AstConditionalOperatorNodeInputTrueExpression_GteOperator, - AstConditionalOperatorNodeInputTrueExpression_Llm, - AstConditionalOperatorNodeInputTrueExpression_LtOperator, - AstConditionalOperatorNodeInputTrueExpression_LteOperator, - AstConditionalOperatorNodeInputTrueExpression_NeqOperator, - AstConditionalOperatorNodeInputTrueExpression_NumberLiteral, - AstConditionalOperatorNodeInputTrueExpression_OrOperator, - AstConditionalOperatorNodeInputTrueExpression_StringLiteral, AstConditionalOperatorNodeOutput, - AstConditionalOperatorNodeOutputCondition, - AstConditionalOperatorNodeOutputCondition_AndOperator, - AstConditionalOperatorNodeOutputCondition_BooleanLiteral, - AstConditionalOperatorNodeOutputCondition_ConditionalOperator, - AstConditionalOperatorNodeOutputCondition_DynamicVariable, - AstConditionalOperatorNodeOutputCondition_EqOperator, - AstConditionalOperatorNodeOutputCondition_GtOperator, - AstConditionalOperatorNodeOutputCondition_GteOperator, - AstConditionalOperatorNodeOutputCondition_Llm, - AstConditionalOperatorNodeOutputCondition_LtOperator, - AstConditionalOperatorNodeOutputCondition_LteOperator, - AstConditionalOperatorNodeOutputCondition_NeqOperator, - AstConditionalOperatorNodeOutputCondition_NumberLiteral, - AstConditionalOperatorNodeOutputCondition_OrOperator, - AstConditionalOperatorNodeOutputCondition_StringLiteral, - AstConditionalOperatorNodeOutputFalseExpression, - AstConditionalOperatorNodeOutputFalseExpression_AndOperator, - AstConditionalOperatorNodeOutputFalseExpression_BooleanLiteral, - AstConditionalOperatorNodeOutputFalseExpression_ConditionalOperator, - AstConditionalOperatorNodeOutputFalseExpression_DynamicVariable, - AstConditionalOperatorNodeOutputFalseExpression_EqOperator, - AstConditionalOperatorNodeOutputFalseExpression_GtOperator, - AstConditionalOperatorNodeOutputFalseExpression_GteOperator, - AstConditionalOperatorNodeOutputFalseExpression_Llm, - AstConditionalOperatorNodeOutputFalseExpression_LtOperator, - AstConditionalOperatorNodeOutputFalseExpression_LteOperator, - AstConditionalOperatorNodeOutputFalseExpression_NeqOperator, - AstConditionalOperatorNodeOutputFalseExpression_NumberLiteral, - AstConditionalOperatorNodeOutputFalseExpression_OrOperator, - AstConditionalOperatorNodeOutputFalseExpression_StringLiteral, - AstConditionalOperatorNodeOutputTrueExpression, - AstConditionalOperatorNodeOutputTrueExpression_AndOperator, - AstConditionalOperatorNodeOutputTrueExpression_BooleanLiteral, - AstConditionalOperatorNodeOutputTrueExpression_ConditionalOperator, - AstConditionalOperatorNodeOutputTrueExpression_DynamicVariable, - AstConditionalOperatorNodeOutputTrueExpression_EqOperator, - AstConditionalOperatorNodeOutputTrueExpression_GtOperator, - AstConditionalOperatorNodeOutputTrueExpression_GteOperator, - AstConditionalOperatorNodeOutputTrueExpression_Llm, - AstConditionalOperatorNodeOutputTrueExpression_LtOperator, - AstConditionalOperatorNodeOutputTrueExpression_LteOperator, - AstConditionalOperatorNodeOutputTrueExpression_NeqOperator, - AstConditionalOperatorNodeOutputTrueExpression_NumberLiteral, - AstConditionalOperatorNodeOutputTrueExpression_OrOperator, - AstConditionalOperatorNodeOutputTrueExpression_StringLiteral, + AstDivisionOperatorNodeInput, + AstDivisionOperatorNodeOutput, AstDynamicVariableNodeInput, AstDynamicVariableNodeOutput, AstEqualsOperatorNodeInput, - AstEqualsOperatorNodeInputLeft, - AstEqualsOperatorNodeInputLeft_AndOperator, - AstEqualsOperatorNodeInputLeft_BooleanLiteral, - AstEqualsOperatorNodeInputLeft_ConditionalOperator, - AstEqualsOperatorNodeInputLeft_DynamicVariable, - AstEqualsOperatorNodeInputLeft_EqOperator, - AstEqualsOperatorNodeInputLeft_GtOperator, - AstEqualsOperatorNodeInputLeft_GteOperator, - AstEqualsOperatorNodeInputLeft_Llm, - AstEqualsOperatorNodeInputLeft_LtOperator, - AstEqualsOperatorNodeInputLeft_LteOperator, - AstEqualsOperatorNodeInputLeft_NeqOperator, - AstEqualsOperatorNodeInputLeft_NumberLiteral, - AstEqualsOperatorNodeInputLeft_OrOperator, - AstEqualsOperatorNodeInputLeft_StringLiteral, - AstEqualsOperatorNodeInputRight, - AstEqualsOperatorNodeInputRight_AndOperator, - AstEqualsOperatorNodeInputRight_BooleanLiteral, - AstEqualsOperatorNodeInputRight_ConditionalOperator, - AstEqualsOperatorNodeInputRight_DynamicVariable, - AstEqualsOperatorNodeInputRight_EqOperator, - AstEqualsOperatorNodeInputRight_GtOperator, - AstEqualsOperatorNodeInputRight_GteOperator, - AstEqualsOperatorNodeInputRight_Llm, - AstEqualsOperatorNodeInputRight_LtOperator, - AstEqualsOperatorNodeInputRight_LteOperator, - AstEqualsOperatorNodeInputRight_NeqOperator, - AstEqualsOperatorNodeInputRight_NumberLiteral, - AstEqualsOperatorNodeInputRight_OrOperator, - AstEqualsOperatorNodeInputRight_StringLiteral, AstEqualsOperatorNodeOutput, - AstEqualsOperatorNodeOutputLeft, - AstEqualsOperatorNodeOutputLeft_AndOperator, - AstEqualsOperatorNodeOutputLeft_BooleanLiteral, - AstEqualsOperatorNodeOutputLeft_ConditionalOperator, - AstEqualsOperatorNodeOutputLeft_DynamicVariable, - AstEqualsOperatorNodeOutputLeft_EqOperator, - AstEqualsOperatorNodeOutputLeft_GtOperator, - AstEqualsOperatorNodeOutputLeft_GteOperator, - AstEqualsOperatorNodeOutputLeft_Llm, - AstEqualsOperatorNodeOutputLeft_LtOperator, - AstEqualsOperatorNodeOutputLeft_LteOperator, - AstEqualsOperatorNodeOutputLeft_NeqOperator, - AstEqualsOperatorNodeOutputLeft_NumberLiteral, - AstEqualsOperatorNodeOutputLeft_OrOperator, - AstEqualsOperatorNodeOutputLeft_StringLiteral, - AstEqualsOperatorNodeOutputRight, - AstEqualsOperatorNodeOutputRight_AndOperator, - AstEqualsOperatorNodeOutputRight_BooleanLiteral, - AstEqualsOperatorNodeOutputRight_ConditionalOperator, - AstEqualsOperatorNodeOutputRight_DynamicVariable, - AstEqualsOperatorNodeOutputRight_EqOperator, - AstEqualsOperatorNodeOutputRight_GtOperator, - AstEqualsOperatorNodeOutputRight_GteOperator, - AstEqualsOperatorNodeOutputRight_Llm, - AstEqualsOperatorNodeOutputRight_LtOperator, - AstEqualsOperatorNodeOutputRight_LteOperator, - AstEqualsOperatorNodeOutputRight_NeqOperator, - AstEqualsOperatorNodeOutputRight_NumberLiteral, - AstEqualsOperatorNodeOutputRight_OrOperator, - AstEqualsOperatorNodeOutputRight_StringLiteral, AstGreaterThanOperatorNodeInput, - AstGreaterThanOperatorNodeInputLeft, - AstGreaterThanOperatorNodeInputLeft_AndOperator, - AstGreaterThanOperatorNodeInputLeft_BooleanLiteral, - AstGreaterThanOperatorNodeInputLeft_ConditionalOperator, - AstGreaterThanOperatorNodeInputLeft_DynamicVariable, - AstGreaterThanOperatorNodeInputLeft_EqOperator, - AstGreaterThanOperatorNodeInputLeft_GtOperator, - AstGreaterThanOperatorNodeInputLeft_GteOperator, - AstGreaterThanOperatorNodeInputLeft_Llm, - AstGreaterThanOperatorNodeInputLeft_LtOperator, - AstGreaterThanOperatorNodeInputLeft_LteOperator, - AstGreaterThanOperatorNodeInputLeft_NeqOperator, - AstGreaterThanOperatorNodeInputLeft_NumberLiteral, - AstGreaterThanOperatorNodeInputLeft_OrOperator, - AstGreaterThanOperatorNodeInputLeft_StringLiteral, - AstGreaterThanOperatorNodeInputRight, - AstGreaterThanOperatorNodeInputRight_AndOperator, - AstGreaterThanOperatorNodeInputRight_BooleanLiteral, - AstGreaterThanOperatorNodeInputRight_ConditionalOperator, - AstGreaterThanOperatorNodeInputRight_DynamicVariable, - AstGreaterThanOperatorNodeInputRight_EqOperator, - AstGreaterThanOperatorNodeInputRight_GtOperator, - AstGreaterThanOperatorNodeInputRight_GteOperator, - AstGreaterThanOperatorNodeInputRight_Llm, - AstGreaterThanOperatorNodeInputRight_LtOperator, - AstGreaterThanOperatorNodeInputRight_LteOperator, - AstGreaterThanOperatorNodeInputRight_NeqOperator, - AstGreaterThanOperatorNodeInputRight_NumberLiteral, - AstGreaterThanOperatorNodeInputRight_OrOperator, - AstGreaterThanOperatorNodeInputRight_StringLiteral, AstGreaterThanOperatorNodeOutput, - AstGreaterThanOperatorNodeOutputLeft, - AstGreaterThanOperatorNodeOutputLeft_AndOperator, - AstGreaterThanOperatorNodeOutputLeft_BooleanLiteral, - AstGreaterThanOperatorNodeOutputLeft_ConditionalOperator, - AstGreaterThanOperatorNodeOutputLeft_DynamicVariable, - AstGreaterThanOperatorNodeOutputLeft_EqOperator, - AstGreaterThanOperatorNodeOutputLeft_GtOperator, - AstGreaterThanOperatorNodeOutputLeft_GteOperator, - AstGreaterThanOperatorNodeOutputLeft_Llm, - AstGreaterThanOperatorNodeOutputLeft_LtOperator, - AstGreaterThanOperatorNodeOutputLeft_LteOperator, - AstGreaterThanOperatorNodeOutputLeft_NeqOperator, - AstGreaterThanOperatorNodeOutputLeft_NumberLiteral, - AstGreaterThanOperatorNodeOutputLeft_OrOperator, - AstGreaterThanOperatorNodeOutputLeft_StringLiteral, - AstGreaterThanOperatorNodeOutputRight, - AstGreaterThanOperatorNodeOutputRight_AndOperator, - AstGreaterThanOperatorNodeOutputRight_BooleanLiteral, - AstGreaterThanOperatorNodeOutputRight_ConditionalOperator, - AstGreaterThanOperatorNodeOutputRight_DynamicVariable, - AstGreaterThanOperatorNodeOutputRight_EqOperator, - AstGreaterThanOperatorNodeOutputRight_GtOperator, - AstGreaterThanOperatorNodeOutputRight_GteOperator, - AstGreaterThanOperatorNodeOutputRight_Llm, - AstGreaterThanOperatorNodeOutputRight_LtOperator, - AstGreaterThanOperatorNodeOutputRight_LteOperator, - AstGreaterThanOperatorNodeOutputRight_NeqOperator, - AstGreaterThanOperatorNodeOutputRight_NumberLiteral, - AstGreaterThanOperatorNodeOutputRight_OrOperator, - AstGreaterThanOperatorNodeOutputRight_StringLiteral, AstGreaterThanOrEqualsOperatorNodeInput, - AstGreaterThanOrEqualsOperatorNodeInputLeft, - AstGreaterThanOrEqualsOperatorNodeInputLeft_AndOperator, - AstGreaterThanOrEqualsOperatorNodeInputLeft_BooleanLiteral, - AstGreaterThanOrEqualsOperatorNodeInputLeft_ConditionalOperator, - AstGreaterThanOrEqualsOperatorNodeInputLeft_DynamicVariable, - AstGreaterThanOrEqualsOperatorNodeInputLeft_EqOperator, - AstGreaterThanOrEqualsOperatorNodeInputLeft_GtOperator, - AstGreaterThanOrEqualsOperatorNodeInputLeft_GteOperator, - AstGreaterThanOrEqualsOperatorNodeInputLeft_Llm, - AstGreaterThanOrEqualsOperatorNodeInputLeft_LtOperator, - AstGreaterThanOrEqualsOperatorNodeInputLeft_LteOperator, - AstGreaterThanOrEqualsOperatorNodeInputLeft_NeqOperator, - AstGreaterThanOrEqualsOperatorNodeInputLeft_NumberLiteral, - AstGreaterThanOrEqualsOperatorNodeInputLeft_OrOperator, - AstGreaterThanOrEqualsOperatorNodeInputLeft_StringLiteral, - AstGreaterThanOrEqualsOperatorNodeInputRight, - AstGreaterThanOrEqualsOperatorNodeInputRight_AndOperator, - AstGreaterThanOrEqualsOperatorNodeInputRight_BooleanLiteral, - AstGreaterThanOrEqualsOperatorNodeInputRight_ConditionalOperator, - AstGreaterThanOrEqualsOperatorNodeInputRight_DynamicVariable, - AstGreaterThanOrEqualsOperatorNodeInputRight_EqOperator, - AstGreaterThanOrEqualsOperatorNodeInputRight_GtOperator, - AstGreaterThanOrEqualsOperatorNodeInputRight_GteOperator, - AstGreaterThanOrEqualsOperatorNodeInputRight_Llm, - AstGreaterThanOrEqualsOperatorNodeInputRight_LtOperator, - AstGreaterThanOrEqualsOperatorNodeInputRight_LteOperator, - AstGreaterThanOrEqualsOperatorNodeInputRight_NeqOperator, - AstGreaterThanOrEqualsOperatorNodeInputRight_NumberLiteral, - AstGreaterThanOrEqualsOperatorNodeInputRight_OrOperator, - AstGreaterThanOrEqualsOperatorNodeInputRight_StringLiteral, AstGreaterThanOrEqualsOperatorNodeOutput, - AstGreaterThanOrEqualsOperatorNodeOutputLeft, - AstGreaterThanOrEqualsOperatorNodeOutputLeft_AndOperator, - AstGreaterThanOrEqualsOperatorNodeOutputLeft_BooleanLiteral, - AstGreaterThanOrEqualsOperatorNodeOutputLeft_ConditionalOperator, - AstGreaterThanOrEqualsOperatorNodeOutputLeft_DynamicVariable, - AstGreaterThanOrEqualsOperatorNodeOutputLeft_EqOperator, - AstGreaterThanOrEqualsOperatorNodeOutputLeft_GtOperator, - AstGreaterThanOrEqualsOperatorNodeOutputLeft_GteOperator, - AstGreaterThanOrEqualsOperatorNodeOutputLeft_Llm, - AstGreaterThanOrEqualsOperatorNodeOutputLeft_LtOperator, - AstGreaterThanOrEqualsOperatorNodeOutputLeft_LteOperator, - AstGreaterThanOrEqualsOperatorNodeOutputLeft_NeqOperator, - AstGreaterThanOrEqualsOperatorNodeOutputLeft_NumberLiteral, - AstGreaterThanOrEqualsOperatorNodeOutputLeft_OrOperator, - AstGreaterThanOrEqualsOperatorNodeOutputLeft_StringLiteral, - AstGreaterThanOrEqualsOperatorNodeOutputRight, - AstGreaterThanOrEqualsOperatorNodeOutputRight_AndOperator, - AstGreaterThanOrEqualsOperatorNodeOutputRight_BooleanLiteral, - AstGreaterThanOrEqualsOperatorNodeOutputRight_ConditionalOperator, - AstGreaterThanOrEqualsOperatorNodeOutputRight_DynamicVariable, - AstGreaterThanOrEqualsOperatorNodeOutputRight_EqOperator, - AstGreaterThanOrEqualsOperatorNodeOutputRight_GtOperator, - AstGreaterThanOrEqualsOperatorNodeOutputRight_GteOperator, - AstGreaterThanOrEqualsOperatorNodeOutputRight_Llm, - AstGreaterThanOrEqualsOperatorNodeOutputRight_LtOperator, - AstGreaterThanOrEqualsOperatorNodeOutputRight_LteOperator, - AstGreaterThanOrEqualsOperatorNodeOutputRight_NeqOperator, - AstGreaterThanOrEqualsOperatorNodeOutputRight_NumberLiteral, - AstGreaterThanOrEqualsOperatorNodeOutputRight_OrOperator, - AstGreaterThanOrEqualsOperatorNodeOutputRight_StringLiteral, AstLessThanOperatorNodeInput, - AstLessThanOperatorNodeInputLeft, - AstLessThanOperatorNodeInputLeft_AndOperator, - AstLessThanOperatorNodeInputLeft_BooleanLiteral, - AstLessThanOperatorNodeInputLeft_ConditionalOperator, - AstLessThanOperatorNodeInputLeft_DynamicVariable, - AstLessThanOperatorNodeInputLeft_EqOperator, - AstLessThanOperatorNodeInputLeft_GtOperator, - AstLessThanOperatorNodeInputLeft_GteOperator, - AstLessThanOperatorNodeInputLeft_Llm, - AstLessThanOperatorNodeInputLeft_LtOperator, - AstLessThanOperatorNodeInputLeft_LteOperator, - AstLessThanOperatorNodeInputLeft_NeqOperator, - AstLessThanOperatorNodeInputLeft_NumberLiteral, - AstLessThanOperatorNodeInputLeft_OrOperator, - AstLessThanOperatorNodeInputLeft_StringLiteral, - AstLessThanOperatorNodeInputRight, - AstLessThanOperatorNodeInputRight_AndOperator, - AstLessThanOperatorNodeInputRight_BooleanLiteral, - AstLessThanOperatorNodeInputRight_ConditionalOperator, - AstLessThanOperatorNodeInputRight_DynamicVariable, - AstLessThanOperatorNodeInputRight_EqOperator, - AstLessThanOperatorNodeInputRight_GtOperator, - AstLessThanOperatorNodeInputRight_GteOperator, - AstLessThanOperatorNodeInputRight_Llm, - AstLessThanOperatorNodeInputRight_LtOperator, - AstLessThanOperatorNodeInputRight_LteOperator, - AstLessThanOperatorNodeInputRight_NeqOperator, - AstLessThanOperatorNodeInputRight_NumberLiteral, - AstLessThanOperatorNodeInputRight_OrOperator, - AstLessThanOperatorNodeInputRight_StringLiteral, AstLessThanOperatorNodeOutput, - AstLessThanOperatorNodeOutputLeft, - AstLessThanOperatorNodeOutputLeft_AndOperator, - AstLessThanOperatorNodeOutputLeft_BooleanLiteral, - AstLessThanOperatorNodeOutputLeft_ConditionalOperator, - AstLessThanOperatorNodeOutputLeft_DynamicVariable, - AstLessThanOperatorNodeOutputLeft_EqOperator, - AstLessThanOperatorNodeOutputLeft_GtOperator, - AstLessThanOperatorNodeOutputLeft_GteOperator, - AstLessThanOperatorNodeOutputLeft_Llm, - AstLessThanOperatorNodeOutputLeft_LtOperator, - AstLessThanOperatorNodeOutputLeft_LteOperator, - AstLessThanOperatorNodeOutputLeft_NeqOperator, - AstLessThanOperatorNodeOutputLeft_NumberLiteral, - AstLessThanOperatorNodeOutputLeft_OrOperator, - AstLessThanOperatorNodeOutputLeft_StringLiteral, - AstLessThanOperatorNodeOutputRight, - AstLessThanOperatorNodeOutputRight_AndOperator, - AstLessThanOperatorNodeOutputRight_BooleanLiteral, - AstLessThanOperatorNodeOutputRight_ConditionalOperator, - AstLessThanOperatorNodeOutputRight_DynamicVariable, - AstLessThanOperatorNodeOutputRight_EqOperator, - AstLessThanOperatorNodeOutputRight_GtOperator, - AstLessThanOperatorNodeOutputRight_GteOperator, - AstLessThanOperatorNodeOutputRight_Llm, - AstLessThanOperatorNodeOutputRight_LtOperator, - AstLessThanOperatorNodeOutputRight_LteOperator, - AstLessThanOperatorNodeOutputRight_NeqOperator, - AstLessThanOperatorNodeOutputRight_NumberLiteral, - AstLessThanOperatorNodeOutputRight_OrOperator, - AstLessThanOperatorNodeOutputRight_StringLiteral, AstLessThanOrEqualsOperatorNodeInput, - AstLessThanOrEqualsOperatorNodeInputLeft, - AstLessThanOrEqualsOperatorNodeInputLeft_AndOperator, - AstLessThanOrEqualsOperatorNodeInputLeft_BooleanLiteral, - AstLessThanOrEqualsOperatorNodeInputLeft_ConditionalOperator, - AstLessThanOrEqualsOperatorNodeInputLeft_DynamicVariable, - AstLessThanOrEqualsOperatorNodeInputLeft_EqOperator, - AstLessThanOrEqualsOperatorNodeInputLeft_GtOperator, - AstLessThanOrEqualsOperatorNodeInputLeft_GteOperator, - AstLessThanOrEqualsOperatorNodeInputLeft_Llm, - AstLessThanOrEqualsOperatorNodeInputLeft_LtOperator, - AstLessThanOrEqualsOperatorNodeInputLeft_LteOperator, - AstLessThanOrEqualsOperatorNodeInputLeft_NeqOperator, - AstLessThanOrEqualsOperatorNodeInputLeft_NumberLiteral, - AstLessThanOrEqualsOperatorNodeInputLeft_OrOperator, - AstLessThanOrEqualsOperatorNodeInputLeft_StringLiteral, - AstLessThanOrEqualsOperatorNodeInputRight, - AstLessThanOrEqualsOperatorNodeInputRight_AndOperator, - AstLessThanOrEqualsOperatorNodeInputRight_BooleanLiteral, - AstLessThanOrEqualsOperatorNodeInputRight_ConditionalOperator, - AstLessThanOrEqualsOperatorNodeInputRight_DynamicVariable, - AstLessThanOrEqualsOperatorNodeInputRight_EqOperator, - AstLessThanOrEqualsOperatorNodeInputRight_GtOperator, - AstLessThanOrEqualsOperatorNodeInputRight_GteOperator, - AstLessThanOrEqualsOperatorNodeInputRight_Llm, - AstLessThanOrEqualsOperatorNodeInputRight_LtOperator, - AstLessThanOrEqualsOperatorNodeInputRight_LteOperator, - AstLessThanOrEqualsOperatorNodeInputRight_NeqOperator, - AstLessThanOrEqualsOperatorNodeInputRight_NumberLiteral, - AstLessThanOrEqualsOperatorNodeInputRight_OrOperator, - AstLessThanOrEqualsOperatorNodeInputRight_StringLiteral, AstLessThanOrEqualsOperatorNodeOutput, - AstLessThanOrEqualsOperatorNodeOutputLeft, - AstLessThanOrEqualsOperatorNodeOutputLeft_AndOperator, - AstLessThanOrEqualsOperatorNodeOutputLeft_BooleanLiteral, - AstLessThanOrEqualsOperatorNodeOutputLeft_ConditionalOperator, - AstLessThanOrEqualsOperatorNodeOutputLeft_DynamicVariable, - AstLessThanOrEqualsOperatorNodeOutputLeft_EqOperator, - AstLessThanOrEqualsOperatorNodeOutputLeft_GtOperator, - AstLessThanOrEqualsOperatorNodeOutputLeft_GteOperator, - AstLessThanOrEqualsOperatorNodeOutputLeft_Llm, - AstLessThanOrEqualsOperatorNodeOutputLeft_LtOperator, - AstLessThanOrEqualsOperatorNodeOutputLeft_LteOperator, - AstLessThanOrEqualsOperatorNodeOutputLeft_NeqOperator, - AstLessThanOrEqualsOperatorNodeOutputLeft_NumberLiteral, - AstLessThanOrEqualsOperatorNodeOutputLeft_OrOperator, - AstLessThanOrEqualsOperatorNodeOutputLeft_StringLiteral, - AstLessThanOrEqualsOperatorNodeOutputRight, - AstLessThanOrEqualsOperatorNodeOutputRight_AndOperator, - AstLessThanOrEqualsOperatorNodeOutputRight_BooleanLiteral, - AstLessThanOrEqualsOperatorNodeOutputRight_ConditionalOperator, - AstLessThanOrEqualsOperatorNodeOutputRight_DynamicVariable, - AstLessThanOrEqualsOperatorNodeOutputRight_EqOperator, - AstLessThanOrEqualsOperatorNodeOutputRight_GtOperator, - AstLessThanOrEqualsOperatorNodeOutputRight_GteOperator, - AstLessThanOrEqualsOperatorNodeOutputRight_Llm, - AstLessThanOrEqualsOperatorNodeOutputRight_LtOperator, - AstLessThanOrEqualsOperatorNodeOutputRight_LteOperator, - AstLessThanOrEqualsOperatorNodeOutputRight_NeqOperator, - AstLessThanOrEqualsOperatorNodeOutputRight_NumberLiteral, - AstLessThanOrEqualsOperatorNodeOutputRight_OrOperator, - AstLessThanOrEqualsOperatorNodeOutputRight_StringLiteral, + AstMultiplicationOperatorNodeInput, + AstMultiplicationOperatorNodeOutput, + AstNodeInput, + AstNodeInput_AddOperator, + AstNodeInput_AndOperator, + AstNodeInput_BooleanLiteral, + AstNodeInput_ConditionalOperator, + AstNodeInput_DivOperator, + AstNodeInput_DynamicVariable, + AstNodeInput_EqOperator, + AstNodeInput_GtOperator, + AstNodeInput_GteOperator, + AstNodeInput_Llm, + AstNodeInput_LtOperator, + AstNodeInput_LteOperator, + AstNodeInput_MulOperator, + AstNodeInput_NeqOperator, + AstNodeInput_NumberLiteral, + AstNodeInput_OrOperator, + AstNodeInput_StringLiteral, + AstNodeInput_SubOperator, + AstNodeOutput, + AstNodeOutput_AddOperator, + AstNodeOutput_AndOperator, + AstNodeOutput_BooleanLiteral, + AstNodeOutput_ConditionalOperator, + AstNodeOutput_DivOperator, + AstNodeOutput_DynamicVariable, + AstNodeOutput_EqOperator, + AstNodeOutput_GtOperator, + AstNodeOutput_GteOperator, + AstNodeOutput_Llm, + AstNodeOutput_LtOperator, + AstNodeOutput_LteOperator, + AstNodeOutput_MulOperator, + AstNodeOutput_NeqOperator, + AstNodeOutput_NumberLiteral, + AstNodeOutput_OrOperator, + AstNodeOutput_StringLiteral, + AstNodeOutput_SubOperator, AstNotEqualsOperatorNodeInput, - AstNotEqualsOperatorNodeInputLeft, - AstNotEqualsOperatorNodeInputLeft_AndOperator, - AstNotEqualsOperatorNodeInputLeft_BooleanLiteral, - AstNotEqualsOperatorNodeInputLeft_ConditionalOperator, - AstNotEqualsOperatorNodeInputLeft_DynamicVariable, - AstNotEqualsOperatorNodeInputLeft_EqOperator, - AstNotEqualsOperatorNodeInputLeft_GtOperator, - AstNotEqualsOperatorNodeInputLeft_GteOperator, - AstNotEqualsOperatorNodeInputLeft_Llm, - AstNotEqualsOperatorNodeInputLeft_LtOperator, - AstNotEqualsOperatorNodeInputLeft_LteOperator, - AstNotEqualsOperatorNodeInputLeft_NeqOperator, - AstNotEqualsOperatorNodeInputLeft_NumberLiteral, - AstNotEqualsOperatorNodeInputLeft_OrOperator, - AstNotEqualsOperatorNodeInputLeft_StringLiteral, - AstNotEqualsOperatorNodeInputRight, - AstNotEqualsOperatorNodeInputRight_AndOperator, - AstNotEqualsOperatorNodeInputRight_BooleanLiteral, - AstNotEqualsOperatorNodeInputRight_ConditionalOperator, - AstNotEqualsOperatorNodeInputRight_DynamicVariable, - AstNotEqualsOperatorNodeInputRight_EqOperator, - AstNotEqualsOperatorNodeInputRight_GtOperator, - AstNotEqualsOperatorNodeInputRight_GteOperator, - AstNotEqualsOperatorNodeInputRight_Llm, - AstNotEqualsOperatorNodeInputRight_LtOperator, - AstNotEqualsOperatorNodeInputRight_LteOperator, - AstNotEqualsOperatorNodeInputRight_NeqOperator, - AstNotEqualsOperatorNodeInputRight_NumberLiteral, - AstNotEqualsOperatorNodeInputRight_OrOperator, - AstNotEqualsOperatorNodeInputRight_StringLiteral, AstNotEqualsOperatorNodeOutput, - AstNotEqualsOperatorNodeOutputLeft, - AstNotEqualsOperatorNodeOutputLeft_AndOperator, - AstNotEqualsOperatorNodeOutputLeft_BooleanLiteral, - AstNotEqualsOperatorNodeOutputLeft_ConditionalOperator, - AstNotEqualsOperatorNodeOutputLeft_DynamicVariable, - AstNotEqualsOperatorNodeOutputLeft_EqOperator, - AstNotEqualsOperatorNodeOutputLeft_GtOperator, - AstNotEqualsOperatorNodeOutputLeft_GteOperator, - AstNotEqualsOperatorNodeOutputLeft_Llm, - AstNotEqualsOperatorNodeOutputLeft_LtOperator, - AstNotEqualsOperatorNodeOutputLeft_LteOperator, - AstNotEqualsOperatorNodeOutputLeft_NeqOperator, - AstNotEqualsOperatorNodeOutputLeft_NumberLiteral, - AstNotEqualsOperatorNodeOutputLeft_OrOperator, - AstNotEqualsOperatorNodeOutputLeft_StringLiteral, - AstNotEqualsOperatorNodeOutputRight, - AstNotEqualsOperatorNodeOutputRight_AndOperator, - AstNotEqualsOperatorNodeOutputRight_BooleanLiteral, - AstNotEqualsOperatorNodeOutputRight_ConditionalOperator, - AstNotEqualsOperatorNodeOutputRight_DynamicVariable, - AstNotEqualsOperatorNodeOutputRight_EqOperator, - AstNotEqualsOperatorNodeOutputRight_GtOperator, - AstNotEqualsOperatorNodeOutputRight_GteOperator, - AstNotEqualsOperatorNodeOutputRight_Llm, - AstNotEqualsOperatorNodeOutputRight_LtOperator, - AstNotEqualsOperatorNodeOutputRight_LteOperator, - AstNotEqualsOperatorNodeOutputRight_NeqOperator, - AstNotEqualsOperatorNodeOutputRight_NumberLiteral, - AstNotEqualsOperatorNodeOutputRight_OrOperator, - AstNotEqualsOperatorNodeOutputRight_StringLiteral, AstNumberNodeInput, AstNumberNodeOutput, AstOrOperatorNodeInput, - AstOrOperatorNodeInputChildrenItem, - AstOrOperatorNodeInputChildrenItem_AndOperator, - AstOrOperatorNodeInputChildrenItem_BooleanLiteral, - AstOrOperatorNodeInputChildrenItem_ConditionalOperator, - AstOrOperatorNodeInputChildrenItem_DynamicVariable, - AstOrOperatorNodeInputChildrenItem_EqOperator, - AstOrOperatorNodeInputChildrenItem_GtOperator, - AstOrOperatorNodeInputChildrenItem_GteOperator, - AstOrOperatorNodeInputChildrenItem_Llm, - AstOrOperatorNodeInputChildrenItem_LtOperator, - AstOrOperatorNodeInputChildrenItem_LteOperator, - AstOrOperatorNodeInputChildrenItem_NeqOperator, - AstOrOperatorNodeInputChildrenItem_NumberLiteral, - AstOrOperatorNodeInputChildrenItem_OrOperator, - AstOrOperatorNodeInputChildrenItem_StringLiteral, AstOrOperatorNodeOutput, - AstOrOperatorNodeOutputChildrenItem, - AstOrOperatorNodeOutputChildrenItem_AndOperator, - AstOrOperatorNodeOutputChildrenItem_BooleanLiteral, - AstOrOperatorNodeOutputChildrenItem_ConditionalOperator, - AstOrOperatorNodeOutputChildrenItem_DynamicVariable, - AstOrOperatorNodeOutputChildrenItem_EqOperator, - AstOrOperatorNodeOutputChildrenItem_GtOperator, - AstOrOperatorNodeOutputChildrenItem_GteOperator, - AstOrOperatorNodeOutputChildrenItem_Llm, - AstOrOperatorNodeOutputChildrenItem_LtOperator, - AstOrOperatorNodeOutputChildrenItem_LteOperator, - AstOrOperatorNodeOutputChildrenItem_NeqOperator, - AstOrOperatorNodeOutputChildrenItem_NumberLiteral, - AstOrOperatorNodeOutputChildrenItem_OrOperator, - AstOrOperatorNodeOutputChildrenItem_StringLiteral, AstStringNodeInput, AstStringNodeOutput, + AstSubtractionOperatorNodeInput, + AstSubtractionOperatorNodeOutput, AstllmNodeInput, AstllmNodeInputPrompt, AstllmNodeInputValueSchema, @@ -645,13 +177,18 @@ AsyncConversationMetadata, AsyncConversationMetadataDeliveryStatus, AttachedTestModel, + AudioAnalysis, + AudioAnalysisResult, + AudioAnalysisStatus, AudioFormatEnum, + AudioKeyMoment, AudioNativeCreateProjectResponseModel, AudioNativeEditContentResponseModel, AudioNativeProjectSettingsResponseModel, AudioNativeProjectSettingsResponseModelStatus, AudioOutput, AudioOutputMulti, + AudioSegment, AudioWithTimestampsAndVoiceSegmentsResponseModel, AudioWithTimestampsResponse, AuthConnectionDependencies, @@ -665,6 +202,8 @@ AuthSettings, AuthorizationMethod, AutoSyncInfo, + AvatarContextRequestModel, + AvatarContextResponseModel, BackupLlmDefault, BackupLlmDisabled, BackupLlmOverride, @@ -897,6 +436,7 @@ CreateClientAppointmentParams, CreateClientParams, CreateCustomHeaderAuthRequest, + CreateMtlsAuthRequest, CreateOAuth2ClientCredsRequest, CreateOAuth2JwtRequest, CreateOAuth2JwtRequestAlgorithm, @@ -984,6 +524,7 @@ DoDubbingResponse, DocumentUsageModeEnum, DocxExportOptions, + DtmfInputConfig, DubbedSegment, DubbingMediaMetadata, DubbingMediaReference, @@ -1040,6 +581,8 @@ FeatureStatusCommonModel, FeaturesUsageCommonModel, FeedbackItem, + FileInputConfig, + FileInputConfigWorkflowOverride, FinalOutput, FinalOutputMulti, FineTuningResponse, @@ -1053,6 +596,7 @@ GenerateVoiceRequest, GenerationConfig, GenerationSourceContext, + GenesysRegion, GetAgentEmbedResponseModel, GetAgentKnowledgebaseSizeResponseModel, GetAgentLinkResponseModel, @@ -1198,6 +742,7 @@ ListAuthConnectionsResponseAuthConnectionsItem_BasicAuth, ListAuthConnectionsResponseAuthConnectionsItem_BearerAuth, ListAuthConnectionsResponseAuthConnectionsItem_CustomHeaderAuth, + ListAuthConnectionsResponseAuthConnectionsItem_Mtls, ListAuthConnectionsResponseAuthConnectionsItem_Oauth2ClientCredentials, ListAuthConnectionsResponseAuthConnectionsItem_Oauth2Jwt, ListAuthConnectionsResponseAuthConnectionsItem_PrivateKeyJwt, @@ -1215,8 +760,6 @@ LiteralJsonSchemaProperty, LiteralJsonSchemaPropertyConstantValue, LiteralJsonSchemaPropertyType, - LiteralOverride, - LiteralOverrideConstantValue, LivekitStackType, Llm, LlmCategoryUsage, @@ -1266,16 +809,20 @@ McpToolConfigOverrideInputOverridesValue_DynamicVariable, McpToolConfigOverrideInputOverridesValue_Llm, MergingStrategy, + MessageSearchSortBy, MessagesSearchResponse, MessagesSearchResult, MetricRecord, MetricType, + MockNoMatchBehavior, + MockingStrategy, Model, ModelRatesResponseModel, ModelSettingsResponseModel, ModerationConfig, ModerationGuardrailInput, ModerationGuardrailOutput, + MtlsAuthResponse, MultiSourceConfigJson, MultichannelSpeechToTextResponseModel, MultipartMusicResponse, @@ -1288,15 +835,13 @@ OAuth2ClientCredsResponse, OAuth2JwtResponse, OAuth2JwtResponseAlgorithm, + OAuthConnectionStatus, ObjectJsonSchemaPropertyInput, ObjectJsonSchemaPropertyInputPropertiesValue, ObjectJsonSchemaPropertyOutput, ObjectJsonSchemaPropertyOutputPropertiesValue, - ObjectOverrideInput, - ObjectOverrideInputPropertiesValue, - ObjectOverrideOutput, - ObjectOverrideOutputPropertiesValue, OrbAvatar, + OrchestratorToolMockBehaviorConfig, OutboundCallRecipient, OutboundCallRecipientResponseModel, OutboundSipTrunkConfigRequestModel, @@ -1346,7 +891,9 @@ PrivacyConfigOutput, PrivateKeyJwtResponse, PrivateKeyJwtResponseAlgorithm, + ProcedureCompilerMode, ProcedureRefResponseModel, + ProcedureSettings, ProjectCreationMetaResponseModel, ProjectCreationMetaResponseModelStatus, ProjectCreationMetaResponseModelType, @@ -1441,7 +988,6 @@ PronunciationDictionaryVersionResponseModel, PronunciationDictionaryVersionResponseModelPermissionOnResource, PydanticPronunciationDictionaryVersionLocator, - QueryOverride, QueryParamsJsonSchema, RagChunkMetadata, RagConfig, @@ -1534,6 +1080,7 @@ SimilarVoicesForSpeakerResponse, SimulationTestModel, SimulationTestModelDynamicVariablesValue, + SimulationToolMockBehaviorConfig, SingleTestRunRequestModel, SingleUseTokenResponseModel, SingleUseTokenType, @@ -1646,6 +1193,8 @@ ToolRequestModelToolConfig_Mcp, ToolRequestModelToolConfig_System, ToolRequestModelToolConfig_Webhook, + ToolResponseMockConfigInput, + ToolResponseMockConfigOutput, ToolResponseModel, ToolResponseModelToolConfig, ToolResponseModelToolConfig_Client, @@ -1747,8 +1296,6 @@ VideoKeyMoment, VideoSegment, VideoSubject, - VideoTranscription, - VideoTranscriptionWord, Voice, VoiceCategory, VoiceDesignPreviewResponse, @@ -1757,6 +1304,8 @@ VoiceMailDetectionResultSuccessModel, VoicePreviewResponseModel, VoiceResponseModelCategory, + VoiceResponseModelLabellingStatus, + VoiceResponseModelRecordingQuality, VoiceResponseModelSafetyControl, VoiceSample, VoiceSamplePreviewResponseModel, @@ -1861,37 +1410,7 @@ WorkflowEndNodeModelInput, WorkflowEndNodeModelOutput, WorkflowExpressionConditionModelInput, - WorkflowExpressionConditionModelInputExpression, - WorkflowExpressionConditionModelInputExpression_AndOperator, - WorkflowExpressionConditionModelInputExpression_BooleanLiteral, - WorkflowExpressionConditionModelInputExpression_ConditionalOperator, - WorkflowExpressionConditionModelInputExpression_DynamicVariable, - WorkflowExpressionConditionModelInputExpression_EqOperator, - WorkflowExpressionConditionModelInputExpression_GtOperator, - WorkflowExpressionConditionModelInputExpression_GteOperator, - WorkflowExpressionConditionModelInputExpression_Llm, - WorkflowExpressionConditionModelInputExpression_LtOperator, - WorkflowExpressionConditionModelInputExpression_LteOperator, - WorkflowExpressionConditionModelInputExpression_NeqOperator, - WorkflowExpressionConditionModelInputExpression_NumberLiteral, - WorkflowExpressionConditionModelInputExpression_OrOperator, - WorkflowExpressionConditionModelInputExpression_StringLiteral, WorkflowExpressionConditionModelOutput, - WorkflowExpressionConditionModelOutputExpression, - WorkflowExpressionConditionModelOutputExpression_AndOperator, - WorkflowExpressionConditionModelOutputExpression_BooleanLiteral, - WorkflowExpressionConditionModelOutputExpression_ConditionalOperator, - WorkflowExpressionConditionModelOutputExpression_DynamicVariable, - WorkflowExpressionConditionModelOutputExpression_EqOperator, - WorkflowExpressionConditionModelOutputExpression_GtOperator, - WorkflowExpressionConditionModelOutputExpression_GteOperator, - WorkflowExpressionConditionModelOutputExpression_Llm, - WorkflowExpressionConditionModelOutputExpression_LtOperator, - WorkflowExpressionConditionModelOutputExpression_LteOperator, - WorkflowExpressionConditionModelOutputExpression_NeqOperator, - WorkflowExpressionConditionModelOutputExpression_NumberLiteral, - WorkflowExpressionConditionModelOutputExpression_OrOperator, - WorkflowExpressionConditionModelOutputExpression_StringLiteral, WorkflowFeaturesUsageCommonModel, WorkflowLlmConditionModelInput, WorkflowLlmConditionModelOutput, @@ -2161,18 +1680,12 @@ "AllowlistItem": ".types", "ApiIntegrationOAuth2AuthCodeResponse": ".types", "ApiIntegrationOAuth2AuthCodeResponseScopeSeparator": ".types", - "ApiIntegrationWebhookOverridesInput": ".types", - "ApiIntegrationWebhookOverridesInputRequestHeadersValue": ".types", - "ApiIntegrationWebhookOverridesInputSchemaOverridesValue": ".types", - "ApiIntegrationWebhookOverridesInputSchemaOverridesValue_Constant": ".types", - "ApiIntegrationWebhookOverridesInputSchemaOverridesValue_DynamicVariable": ".types", - "ApiIntegrationWebhookOverridesInputSchemaOverridesValue_Llm": ".types", - "ApiIntegrationWebhookOverridesOutput": ".types", - "ApiIntegrationWebhookOverridesOutputRequestHeadersValue": ".types", - "ApiIntegrationWebhookOverridesOutputSchemaOverridesValue": ".types", - "ApiIntegrationWebhookOverridesOutputSchemaOverridesValue_Constant": ".types", - "ApiIntegrationWebhookOverridesOutputSchemaOverridesValue_DynamicVariable": ".types", - "ApiIntegrationWebhookOverridesOutputSchemaOverridesValue_Llm": ".types", + "ApiIntegrationWebhookOverrides": ".types", + "ApiIntegrationWebhookOverridesRequestHeadersValue": ".types", + "ApiIntegrationWebhookOverridesSchemaOverridesValue": ".types", + "ApiIntegrationWebhookOverridesSchemaOverridesValue_Constant": ".types", + "ApiIntegrationWebhookOverridesSchemaOverridesValue_DynamicVariable": ".types", + "ApiIntegrationWebhookOverridesSchemaOverridesValue_Llm": ".types", "ApiIntegrationWebhookToolConfigInput": ".types", "ApiIntegrationWebhookToolConfigOutput": ".types", "ArrayJsonSchemaPropertyInput": ".types", @@ -2184,542 +1697,80 @@ "AsrInputFormat": ".types", "AsrProvider": ".types", "AsrQuality": ".types", + "AssetTranscription": ".types", + "AssetTranscriptionWord": ".types", + "AstAdditionOperatorNodeInput": ".types", + "AstAdditionOperatorNodeOutput": ".types", "AstAndOperatorNodeInput": ".types", - "AstAndOperatorNodeInputChildrenItem": ".types", - "AstAndOperatorNodeInputChildrenItem_AndOperator": ".types", - "AstAndOperatorNodeInputChildrenItem_BooleanLiteral": ".types", - "AstAndOperatorNodeInputChildrenItem_ConditionalOperator": ".types", - "AstAndOperatorNodeInputChildrenItem_DynamicVariable": ".types", - "AstAndOperatorNodeInputChildrenItem_EqOperator": ".types", - "AstAndOperatorNodeInputChildrenItem_GtOperator": ".types", - "AstAndOperatorNodeInputChildrenItem_GteOperator": ".types", - "AstAndOperatorNodeInputChildrenItem_Llm": ".types", - "AstAndOperatorNodeInputChildrenItem_LtOperator": ".types", - "AstAndOperatorNodeInputChildrenItem_LteOperator": ".types", - "AstAndOperatorNodeInputChildrenItem_NeqOperator": ".types", - "AstAndOperatorNodeInputChildrenItem_NumberLiteral": ".types", - "AstAndOperatorNodeInputChildrenItem_OrOperator": ".types", - "AstAndOperatorNodeInputChildrenItem_StringLiteral": ".types", "AstAndOperatorNodeOutput": ".types", - "AstAndOperatorNodeOutputChildrenItem": ".types", - "AstAndOperatorNodeOutputChildrenItem_AndOperator": ".types", - "AstAndOperatorNodeOutputChildrenItem_BooleanLiteral": ".types", - "AstAndOperatorNodeOutputChildrenItem_ConditionalOperator": ".types", - "AstAndOperatorNodeOutputChildrenItem_DynamicVariable": ".types", - "AstAndOperatorNodeOutputChildrenItem_EqOperator": ".types", - "AstAndOperatorNodeOutputChildrenItem_GtOperator": ".types", - "AstAndOperatorNodeOutputChildrenItem_GteOperator": ".types", - "AstAndOperatorNodeOutputChildrenItem_Llm": ".types", - "AstAndOperatorNodeOutputChildrenItem_LtOperator": ".types", - "AstAndOperatorNodeOutputChildrenItem_LteOperator": ".types", - "AstAndOperatorNodeOutputChildrenItem_NeqOperator": ".types", - "AstAndOperatorNodeOutputChildrenItem_NumberLiteral": ".types", - "AstAndOperatorNodeOutputChildrenItem_OrOperator": ".types", - "AstAndOperatorNodeOutputChildrenItem_StringLiteral": ".types", "AstBooleanNodeInput": ".types", "AstBooleanNodeOutput": ".types", "AstConditionalOperatorNodeInput": ".types", - "AstConditionalOperatorNodeInputCondition": ".types", - "AstConditionalOperatorNodeInputCondition_AndOperator": ".types", - "AstConditionalOperatorNodeInputCondition_BooleanLiteral": ".types", - "AstConditionalOperatorNodeInputCondition_ConditionalOperator": ".types", - "AstConditionalOperatorNodeInputCondition_DynamicVariable": ".types", - "AstConditionalOperatorNodeInputCondition_EqOperator": ".types", - "AstConditionalOperatorNodeInputCondition_GtOperator": ".types", - "AstConditionalOperatorNodeInputCondition_GteOperator": ".types", - "AstConditionalOperatorNodeInputCondition_Llm": ".types", - "AstConditionalOperatorNodeInputCondition_LtOperator": ".types", - "AstConditionalOperatorNodeInputCondition_LteOperator": ".types", - "AstConditionalOperatorNodeInputCondition_NeqOperator": ".types", - "AstConditionalOperatorNodeInputCondition_NumberLiteral": ".types", - "AstConditionalOperatorNodeInputCondition_OrOperator": ".types", - "AstConditionalOperatorNodeInputCondition_StringLiteral": ".types", - "AstConditionalOperatorNodeInputFalseExpression": ".types", - "AstConditionalOperatorNodeInputFalseExpression_AndOperator": ".types", - "AstConditionalOperatorNodeInputFalseExpression_BooleanLiteral": ".types", - "AstConditionalOperatorNodeInputFalseExpression_ConditionalOperator": ".types", - "AstConditionalOperatorNodeInputFalseExpression_DynamicVariable": ".types", - "AstConditionalOperatorNodeInputFalseExpression_EqOperator": ".types", - "AstConditionalOperatorNodeInputFalseExpression_GtOperator": ".types", - "AstConditionalOperatorNodeInputFalseExpression_GteOperator": ".types", - "AstConditionalOperatorNodeInputFalseExpression_Llm": ".types", - "AstConditionalOperatorNodeInputFalseExpression_LtOperator": ".types", - "AstConditionalOperatorNodeInputFalseExpression_LteOperator": ".types", - "AstConditionalOperatorNodeInputFalseExpression_NeqOperator": ".types", - "AstConditionalOperatorNodeInputFalseExpression_NumberLiteral": ".types", - "AstConditionalOperatorNodeInputFalseExpression_OrOperator": ".types", - "AstConditionalOperatorNodeInputFalseExpression_StringLiteral": ".types", - "AstConditionalOperatorNodeInputTrueExpression": ".types", - "AstConditionalOperatorNodeInputTrueExpression_AndOperator": ".types", - "AstConditionalOperatorNodeInputTrueExpression_BooleanLiteral": ".types", - "AstConditionalOperatorNodeInputTrueExpression_ConditionalOperator": ".types", - "AstConditionalOperatorNodeInputTrueExpression_DynamicVariable": ".types", - "AstConditionalOperatorNodeInputTrueExpression_EqOperator": ".types", - "AstConditionalOperatorNodeInputTrueExpression_GtOperator": ".types", - "AstConditionalOperatorNodeInputTrueExpression_GteOperator": ".types", - "AstConditionalOperatorNodeInputTrueExpression_Llm": ".types", - "AstConditionalOperatorNodeInputTrueExpression_LtOperator": ".types", - "AstConditionalOperatorNodeInputTrueExpression_LteOperator": ".types", - "AstConditionalOperatorNodeInputTrueExpression_NeqOperator": ".types", - "AstConditionalOperatorNodeInputTrueExpression_NumberLiteral": ".types", - "AstConditionalOperatorNodeInputTrueExpression_OrOperator": ".types", - "AstConditionalOperatorNodeInputTrueExpression_StringLiteral": ".types", "AstConditionalOperatorNodeOutput": ".types", - "AstConditionalOperatorNodeOutputCondition": ".types", - "AstConditionalOperatorNodeOutputCondition_AndOperator": ".types", - "AstConditionalOperatorNodeOutputCondition_BooleanLiteral": ".types", - "AstConditionalOperatorNodeOutputCondition_ConditionalOperator": ".types", - "AstConditionalOperatorNodeOutputCondition_DynamicVariable": ".types", - "AstConditionalOperatorNodeOutputCondition_EqOperator": ".types", - "AstConditionalOperatorNodeOutputCondition_GtOperator": ".types", - "AstConditionalOperatorNodeOutputCondition_GteOperator": ".types", - "AstConditionalOperatorNodeOutputCondition_Llm": ".types", - "AstConditionalOperatorNodeOutputCondition_LtOperator": ".types", - "AstConditionalOperatorNodeOutputCondition_LteOperator": ".types", - "AstConditionalOperatorNodeOutputCondition_NeqOperator": ".types", - "AstConditionalOperatorNodeOutputCondition_NumberLiteral": ".types", - "AstConditionalOperatorNodeOutputCondition_OrOperator": ".types", - "AstConditionalOperatorNodeOutputCondition_StringLiteral": ".types", - "AstConditionalOperatorNodeOutputFalseExpression": ".types", - "AstConditionalOperatorNodeOutputFalseExpression_AndOperator": ".types", - "AstConditionalOperatorNodeOutputFalseExpression_BooleanLiteral": ".types", - "AstConditionalOperatorNodeOutputFalseExpression_ConditionalOperator": ".types", - "AstConditionalOperatorNodeOutputFalseExpression_DynamicVariable": ".types", - "AstConditionalOperatorNodeOutputFalseExpression_EqOperator": ".types", - "AstConditionalOperatorNodeOutputFalseExpression_GtOperator": ".types", - "AstConditionalOperatorNodeOutputFalseExpression_GteOperator": ".types", - "AstConditionalOperatorNodeOutputFalseExpression_Llm": ".types", - "AstConditionalOperatorNodeOutputFalseExpression_LtOperator": ".types", - "AstConditionalOperatorNodeOutputFalseExpression_LteOperator": ".types", - "AstConditionalOperatorNodeOutputFalseExpression_NeqOperator": ".types", - "AstConditionalOperatorNodeOutputFalseExpression_NumberLiteral": ".types", - "AstConditionalOperatorNodeOutputFalseExpression_OrOperator": ".types", - "AstConditionalOperatorNodeOutputFalseExpression_StringLiteral": ".types", - "AstConditionalOperatorNodeOutputTrueExpression": ".types", - "AstConditionalOperatorNodeOutputTrueExpression_AndOperator": ".types", - "AstConditionalOperatorNodeOutputTrueExpression_BooleanLiteral": ".types", - "AstConditionalOperatorNodeOutputTrueExpression_ConditionalOperator": ".types", - "AstConditionalOperatorNodeOutputTrueExpression_DynamicVariable": ".types", - "AstConditionalOperatorNodeOutputTrueExpression_EqOperator": ".types", - "AstConditionalOperatorNodeOutputTrueExpression_GtOperator": ".types", - "AstConditionalOperatorNodeOutputTrueExpression_GteOperator": ".types", - "AstConditionalOperatorNodeOutputTrueExpression_Llm": ".types", - "AstConditionalOperatorNodeOutputTrueExpression_LtOperator": ".types", - "AstConditionalOperatorNodeOutputTrueExpression_LteOperator": ".types", - "AstConditionalOperatorNodeOutputTrueExpression_NeqOperator": ".types", - "AstConditionalOperatorNodeOutputTrueExpression_NumberLiteral": ".types", - "AstConditionalOperatorNodeOutputTrueExpression_OrOperator": ".types", - "AstConditionalOperatorNodeOutputTrueExpression_StringLiteral": ".types", + "AstDivisionOperatorNodeInput": ".types", + "AstDivisionOperatorNodeOutput": ".types", "AstDynamicVariableNodeInput": ".types", "AstDynamicVariableNodeOutput": ".types", "AstEqualsOperatorNodeInput": ".types", - "AstEqualsOperatorNodeInputLeft": ".types", - "AstEqualsOperatorNodeInputLeft_AndOperator": ".types", - "AstEqualsOperatorNodeInputLeft_BooleanLiteral": ".types", - "AstEqualsOperatorNodeInputLeft_ConditionalOperator": ".types", - "AstEqualsOperatorNodeInputLeft_DynamicVariable": ".types", - "AstEqualsOperatorNodeInputLeft_EqOperator": ".types", - "AstEqualsOperatorNodeInputLeft_GtOperator": ".types", - "AstEqualsOperatorNodeInputLeft_GteOperator": ".types", - "AstEqualsOperatorNodeInputLeft_Llm": ".types", - "AstEqualsOperatorNodeInputLeft_LtOperator": ".types", - "AstEqualsOperatorNodeInputLeft_LteOperator": ".types", - "AstEqualsOperatorNodeInputLeft_NeqOperator": ".types", - "AstEqualsOperatorNodeInputLeft_NumberLiteral": ".types", - "AstEqualsOperatorNodeInputLeft_OrOperator": ".types", - "AstEqualsOperatorNodeInputLeft_StringLiteral": ".types", - "AstEqualsOperatorNodeInputRight": ".types", - "AstEqualsOperatorNodeInputRight_AndOperator": ".types", - "AstEqualsOperatorNodeInputRight_BooleanLiteral": ".types", - "AstEqualsOperatorNodeInputRight_ConditionalOperator": ".types", - "AstEqualsOperatorNodeInputRight_DynamicVariable": ".types", - "AstEqualsOperatorNodeInputRight_EqOperator": ".types", - "AstEqualsOperatorNodeInputRight_GtOperator": ".types", - "AstEqualsOperatorNodeInputRight_GteOperator": ".types", - "AstEqualsOperatorNodeInputRight_Llm": ".types", - "AstEqualsOperatorNodeInputRight_LtOperator": ".types", - "AstEqualsOperatorNodeInputRight_LteOperator": ".types", - "AstEqualsOperatorNodeInputRight_NeqOperator": ".types", - "AstEqualsOperatorNodeInputRight_NumberLiteral": ".types", - "AstEqualsOperatorNodeInputRight_OrOperator": ".types", - "AstEqualsOperatorNodeInputRight_StringLiteral": ".types", "AstEqualsOperatorNodeOutput": ".types", - "AstEqualsOperatorNodeOutputLeft": ".types", - "AstEqualsOperatorNodeOutputLeft_AndOperator": ".types", - "AstEqualsOperatorNodeOutputLeft_BooleanLiteral": ".types", - "AstEqualsOperatorNodeOutputLeft_ConditionalOperator": ".types", - "AstEqualsOperatorNodeOutputLeft_DynamicVariable": ".types", - "AstEqualsOperatorNodeOutputLeft_EqOperator": ".types", - "AstEqualsOperatorNodeOutputLeft_GtOperator": ".types", - "AstEqualsOperatorNodeOutputLeft_GteOperator": ".types", - "AstEqualsOperatorNodeOutputLeft_Llm": ".types", - "AstEqualsOperatorNodeOutputLeft_LtOperator": ".types", - "AstEqualsOperatorNodeOutputLeft_LteOperator": ".types", - "AstEqualsOperatorNodeOutputLeft_NeqOperator": ".types", - "AstEqualsOperatorNodeOutputLeft_NumberLiteral": ".types", - "AstEqualsOperatorNodeOutputLeft_OrOperator": ".types", - "AstEqualsOperatorNodeOutputLeft_StringLiteral": ".types", - "AstEqualsOperatorNodeOutputRight": ".types", - "AstEqualsOperatorNodeOutputRight_AndOperator": ".types", - "AstEqualsOperatorNodeOutputRight_BooleanLiteral": ".types", - "AstEqualsOperatorNodeOutputRight_ConditionalOperator": ".types", - "AstEqualsOperatorNodeOutputRight_DynamicVariable": ".types", - "AstEqualsOperatorNodeOutputRight_EqOperator": ".types", - "AstEqualsOperatorNodeOutputRight_GtOperator": ".types", - "AstEqualsOperatorNodeOutputRight_GteOperator": ".types", - "AstEqualsOperatorNodeOutputRight_Llm": ".types", - "AstEqualsOperatorNodeOutputRight_LtOperator": ".types", - "AstEqualsOperatorNodeOutputRight_LteOperator": ".types", - "AstEqualsOperatorNodeOutputRight_NeqOperator": ".types", - "AstEqualsOperatorNodeOutputRight_NumberLiteral": ".types", - "AstEqualsOperatorNodeOutputRight_OrOperator": ".types", - "AstEqualsOperatorNodeOutputRight_StringLiteral": ".types", "AstGreaterThanOperatorNodeInput": ".types", - "AstGreaterThanOperatorNodeInputLeft": ".types", - "AstGreaterThanOperatorNodeInputLeft_AndOperator": ".types", - "AstGreaterThanOperatorNodeInputLeft_BooleanLiteral": ".types", - "AstGreaterThanOperatorNodeInputLeft_ConditionalOperator": ".types", - "AstGreaterThanOperatorNodeInputLeft_DynamicVariable": ".types", - "AstGreaterThanOperatorNodeInputLeft_EqOperator": ".types", - "AstGreaterThanOperatorNodeInputLeft_GtOperator": ".types", - "AstGreaterThanOperatorNodeInputLeft_GteOperator": ".types", - "AstGreaterThanOperatorNodeInputLeft_Llm": ".types", - "AstGreaterThanOperatorNodeInputLeft_LtOperator": ".types", - "AstGreaterThanOperatorNodeInputLeft_LteOperator": ".types", - "AstGreaterThanOperatorNodeInputLeft_NeqOperator": ".types", - "AstGreaterThanOperatorNodeInputLeft_NumberLiteral": ".types", - "AstGreaterThanOperatorNodeInputLeft_OrOperator": ".types", - "AstGreaterThanOperatorNodeInputLeft_StringLiteral": ".types", - "AstGreaterThanOperatorNodeInputRight": ".types", - "AstGreaterThanOperatorNodeInputRight_AndOperator": ".types", - "AstGreaterThanOperatorNodeInputRight_BooleanLiteral": ".types", - "AstGreaterThanOperatorNodeInputRight_ConditionalOperator": ".types", - "AstGreaterThanOperatorNodeInputRight_DynamicVariable": ".types", - "AstGreaterThanOperatorNodeInputRight_EqOperator": ".types", - "AstGreaterThanOperatorNodeInputRight_GtOperator": ".types", - "AstGreaterThanOperatorNodeInputRight_GteOperator": ".types", - "AstGreaterThanOperatorNodeInputRight_Llm": ".types", - "AstGreaterThanOperatorNodeInputRight_LtOperator": ".types", - "AstGreaterThanOperatorNodeInputRight_LteOperator": ".types", - "AstGreaterThanOperatorNodeInputRight_NeqOperator": ".types", - "AstGreaterThanOperatorNodeInputRight_NumberLiteral": ".types", - "AstGreaterThanOperatorNodeInputRight_OrOperator": ".types", - "AstGreaterThanOperatorNodeInputRight_StringLiteral": ".types", "AstGreaterThanOperatorNodeOutput": ".types", - "AstGreaterThanOperatorNodeOutputLeft": ".types", - "AstGreaterThanOperatorNodeOutputLeft_AndOperator": ".types", - "AstGreaterThanOperatorNodeOutputLeft_BooleanLiteral": ".types", - "AstGreaterThanOperatorNodeOutputLeft_ConditionalOperator": ".types", - "AstGreaterThanOperatorNodeOutputLeft_DynamicVariable": ".types", - "AstGreaterThanOperatorNodeOutputLeft_EqOperator": ".types", - "AstGreaterThanOperatorNodeOutputLeft_GtOperator": ".types", - "AstGreaterThanOperatorNodeOutputLeft_GteOperator": ".types", - "AstGreaterThanOperatorNodeOutputLeft_Llm": ".types", - "AstGreaterThanOperatorNodeOutputLeft_LtOperator": ".types", - "AstGreaterThanOperatorNodeOutputLeft_LteOperator": ".types", - "AstGreaterThanOperatorNodeOutputLeft_NeqOperator": ".types", - "AstGreaterThanOperatorNodeOutputLeft_NumberLiteral": ".types", - "AstGreaterThanOperatorNodeOutputLeft_OrOperator": ".types", - "AstGreaterThanOperatorNodeOutputLeft_StringLiteral": ".types", - "AstGreaterThanOperatorNodeOutputRight": ".types", - "AstGreaterThanOperatorNodeOutputRight_AndOperator": ".types", - "AstGreaterThanOperatorNodeOutputRight_BooleanLiteral": ".types", - "AstGreaterThanOperatorNodeOutputRight_ConditionalOperator": ".types", - "AstGreaterThanOperatorNodeOutputRight_DynamicVariable": ".types", - "AstGreaterThanOperatorNodeOutputRight_EqOperator": ".types", - "AstGreaterThanOperatorNodeOutputRight_GtOperator": ".types", - "AstGreaterThanOperatorNodeOutputRight_GteOperator": ".types", - "AstGreaterThanOperatorNodeOutputRight_Llm": ".types", - "AstGreaterThanOperatorNodeOutputRight_LtOperator": ".types", - "AstGreaterThanOperatorNodeOutputRight_LteOperator": ".types", - "AstGreaterThanOperatorNodeOutputRight_NeqOperator": ".types", - "AstGreaterThanOperatorNodeOutputRight_NumberLiteral": ".types", - "AstGreaterThanOperatorNodeOutputRight_OrOperator": ".types", - "AstGreaterThanOperatorNodeOutputRight_StringLiteral": ".types", "AstGreaterThanOrEqualsOperatorNodeInput": ".types", - "AstGreaterThanOrEqualsOperatorNodeInputLeft": ".types", - "AstGreaterThanOrEqualsOperatorNodeInputLeft_AndOperator": ".types", - "AstGreaterThanOrEqualsOperatorNodeInputLeft_BooleanLiteral": ".types", - "AstGreaterThanOrEqualsOperatorNodeInputLeft_ConditionalOperator": ".types", - "AstGreaterThanOrEqualsOperatorNodeInputLeft_DynamicVariable": ".types", - "AstGreaterThanOrEqualsOperatorNodeInputLeft_EqOperator": ".types", - "AstGreaterThanOrEqualsOperatorNodeInputLeft_GtOperator": ".types", - "AstGreaterThanOrEqualsOperatorNodeInputLeft_GteOperator": ".types", - "AstGreaterThanOrEqualsOperatorNodeInputLeft_Llm": ".types", - "AstGreaterThanOrEqualsOperatorNodeInputLeft_LtOperator": ".types", - "AstGreaterThanOrEqualsOperatorNodeInputLeft_LteOperator": ".types", - "AstGreaterThanOrEqualsOperatorNodeInputLeft_NeqOperator": ".types", - "AstGreaterThanOrEqualsOperatorNodeInputLeft_NumberLiteral": ".types", - "AstGreaterThanOrEqualsOperatorNodeInputLeft_OrOperator": ".types", - "AstGreaterThanOrEqualsOperatorNodeInputLeft_StringLiteral": ".types", - "AstGreaterThanOrEqualsOperatorNodeInputRight": ".types", - "AstGreaterThanOrEqualsOperatorNodeInputRight_AndOperator": ".types", - "AstGreaterThanOrEqualsOperatorNodeInputRight_BooleanLiteral": ".types", - "AstGreaterThanOrEqualsOperatorNodeInputRight_ConditionalOperator": ".types", - "AstGreaterThanOrEqualsOperatorNodeInputRight_DynamicVariable": ".types", - "AstGreaterThanOrEqualsOperatorNodeInputRight_EqOperator": ".types", - "AstGreaterThanOrEqualsOperatorNodeInputRight_GtOperator": ".types", - "AstGreaterThanOrEqualsOperatorNodeInputRight_GteOperator": ".types", - "AstGreaterThanOrEqualsOperatorNodeInputRight_Llm": ".types", - "AstGreaterThanOrEqualsOperatorNodeInputRight_LtOperator": ".types", - "AstGreaterThanOrEqualsOperatorNodeInputRight_LteOperator": ".types", - "AstGreaterThanOrEqualsOperatorNodeInputRight_NeqOperator": ".types", - "AstGreaterThanOrEqualsOperatorNodeInputRight_NumberLiteral": ".types", - "AstGreaterThanOrEqualsOperatorNodeInputRight_OrOperator": ".types", - "AstGreaterThanOrEqualsOperatorNodeInputRight_StringLiteral": ".types", "AstGreaterThanOrEqualsOperatorNodeOutput": ".types", - "AstGreaterThanOrEqualsOperatorNodeOutputLeft": ".types", - "AstGreaterThanOrEqualsOperatorNodeOutputLeft_AndOperator": ".types", - "AstGreaterThanOrEqualsOperatorNodeOutputLeft_BooleanLiteral": ".types", - "AstGreaterThanOrEqualsOperatorNodeOutputLeft_ConditionalOperator": ".types", - "AstGreaterThanOrEqualsOperatorNodeOutputLeft_DynamicVariable": ".types", - "AstGreaterThanOrEqualsOperatorNodeOutputLeft_EqOperator": ".types", - "AstGreaterThanOrEqualsOperatorNodeOutputLeft_GtOperator": ".types", - "AstGreaterThanOrEqualsOperatorNodeOutputLeft_GteOperator": ".types", - "AstGreaterThanOrEqualsOperatorNodeOutputLeft_Llm": ".types", - "AstGreaterThanOrEqualsOperatorNodeOutputLeft_LtOperator": ".types", - "AstGreaterThanOrEqualsOperatorNodeOutputLeft_LteOperator": ".types", - "AstGreaterThanOrEqualsOperatorNodeOutputLeft_NeqOperator": ".types", - "AstGreaterThanOrEqualsOperatorNodeOutputLeft_NumberLiteral": ".types", - "AstGreaterThanOrEqualsOperatorNodeOutputLeft_OrOperator": ".types", - "AstGreaterThanOrEqualsOperatorNodeOutputLeft_StringLiteral": ".types", - "AstGreaterThanOrEqualsOperatorNodeOutputRight": ".types", - "AstGreaterThanOrEqualsOperatorNodeOutputRight_AndOperator": ".types", - "AstGreaterThanOrEqualsOperatorNodeOutputRight_BooleanLiteral": ".types", - "AstGreaterThanOrEqualsOperatorNodeOutputRight_ConditionalOperator": ".types", - "AstGreaterThanOrEqualsOperatorNodeOutputRight_DynamicVariable": ".types", - "AstGreaterThanOrEqualsOperatorNodeOutputRight_EqOperator": ".types", - "AstGreaterThanOrEqualsOperatorNodeOutputRight_GtOperator": ".types", - "AstGreaterThanOrEqualsOperatorNodeOutputRight_GteOperator": ".types", - "AstGreaterThanOrEqualsOperatorNodeOutputRight_Llm": ".types", - "AstGreaterThanOrEqualsOperatorNodeOutputRight_LtOperator": ".types", - "AstGreaterThanOrEqualsOperatorNodeOutputRight_LteOperator": ".types", - "AstGreaterThanOrEqualsOperatorNodeOutputRight_NeqOperator": ".types", - "AstGreaterThanOrEqualsOperatorNodeOutputRight_NumberLiteral": ".types", - "AstGreaterThanOrEqualsOperatorNodeOutputRight_OrOperator": ".types", - "AstGreaterThanOrEqualsOperatorNodeOutputRight_StringLiteral": ".types", "AstLessThanOperatorNodeInput": ".types", - "AstLessThanOperatorNodeInputLeft": ".types", - "AstLessThanOperatorNodeInputLeft_AndOperator": ".types", - "AstLessThanOperatorNodeInputLeft_BooleanLiteral": ".types", - "AstLessThanOperatorNodeInputLeft_ConditionalOperator": ".types", - "AstLessThanOperatorNodeInputLeft_DynamicVariable": ".types", - "AstLessThanOperatorNodeInputLeft_EqOperator": ".types", - "AstLessThanOperatorNodeInputLeft_GtOperator": ".types", - "AstLessThanOperatorNodeInputLeft_GteOperator": ".types", - "AstLessThanOperatorNodeInputLeft_Llm": ".types", - "AstLessThanOperatorNodeInputLeft_LtOperator": ".types", - "AstLessThanOperatorNodeInputLeft_LteOperator": ".types", - "AstLessThanOperatorNodeInputLeft_NeqOperator": ".types", - "AstLessThanOperatorNodeInputLeft_NumberLiteral": ".types", - "AstLessThanOperatorNodeInputLeft_OrOperator": ".types", - "AstLessThanOperatorNodeInputLeft_StringLiteral": ".types", - "AstLessThanOperatorNodeInputRight": ".types", - "AstLessThanOperatorNodeInputRight_AndOperator": ".types", - "AstLessThanOperatorNodeInputRight_BooleanLiteral": ".types", - "AstLessThanOperatorNodeInputRight_ConditionalOperator": ".types", - "AstLessThanOperatorNodeInputRight_DynamicVariable": ".types", - "AstLessThanOperatorNodeInputRight_EqOperator": ".types", - "AstLessThanOperatorNodeInputRight_GtOperator": ".types", - "AstLessThanOperatorNodeInputRight_GteOperator": ".types", - "AstLessThanOperatorNodeInputRight_Llm": ".types", - "AstLessThanOperatorNodeInputRight_LtOperator": ".types", - "AstLessThanOperatorNodeInputRight_LteOperator": ".types", - "AstLessThanOperatorNodeInputRight_NeqOperator": ".types", - "AstLessThanOperatorNodeInputRight_NumberLiteral": ".types", - "AstLessThanOperatorNodeInputRight_OrOperator": ".types", - "AstLessThanOperatorNodeInputRight_StringLiteral": ".types", "AstLessThanOperatorNodeOutput": ".types", - "AstLessThanOperatorNodeOutputLeft": ".types", - "AstLessThanOperatorNodeOutputLeft_AndOperator": ".types", - "AstLessThanOperatorNodeOutputLeft_BooleanLiteral": ".types", - "AstLessThanOperatorNodeOutputLeft_ConditionalOperator": ".types", - "AstLessThanOperatorNodeOutputLeft_DynamicVariable": ".types", - "AstLessThanOperatorNodeOutputLeft_EqOperator": ".types", - "AstLessThanOperatorNodeOutputLeft_GtOperator": ".types", - "AstLessThanOperatorNodeOutputLeft_GteOperator": ".types", - "AstLessThanOperatorNodeOutputLeft_Llm": ".types", - "AstLessThanOperatorNodeOutputLeft_LtOperator": ".types", - "AstLessThanOperatorNodeOutputLeft_LteOperator": ".types", - "AstLessThanOperatorNodeOutputLeft_NeqOperator": ".types", - "AstLessThanOperatorNodeOutputLeft_NumberLiteral": ".types", - "AstLessThanOperatorNodeOutputLeft_OrOperator": ".types", - "AstLessThanOperatorNodeOutputLeft_StringLiteral": ".types", - "AstLessThanOperatorNodeOutputRight": ".types", - "AstLessThanOperatorNodeOutputRight_AndOperator": ".types", - "AstLessThanOperatorNodeOutputRight_BooleanLiteral": ".types", - "AstLessThanOperatorNodeOutputRight_ConditionalOperator": ".types", - "AstLessThanOperatorNodeOutputRight_DynamicVariable": ".types", - "AstLessThanOperatorNodeOutputRight_EqOperator": ".types", - "AstLessThanOperatorNodeOutputRight_GtOperator": ".types", - "AstLessThanOperatorNodeOutputRight_GteOperator": ".types", - "AstLessThanOperatorNodeOutputRight_Llm": ".types", - "AstLessThanOperatorNodeOutputRight_LtOperator": ".types", - "AstLessThanOperatorNodeOutputRight_LteOperator": ".types", - "AstLessThanOperatorNodeOutputRight_NeqOperator": ".types", - "AstLessThanOperatorNodeOutputRight_NumberLiteral": ".types", - "AstLessThanOperatorNodeOutputRight_OrOperator": ".types", - "AstLessThanOperatorNodeOutputRight_StringLiteral": ".types", "AstLessThanOrEqualsOperatorNodeInput": ".types", - "AstLessThanOrEqualsOperatorNodeInputLeft": ".types", - "AstLessThanOrEqualsOperatorNodeInputLeft_AndOperator": ".types", - "AstLessThanOrEqualsOperatorNodeInputLeft_BooleanLiteral": ".types", - "AstLessThanOrEqualsOperatorNodeInputLeft_ConditionalOperator": ".types", - "AstLessThanOrEqualsOperatorNodeInputLeft_DynamicVariable": ".types", - "AstLessThanOrEqualsOperatorNodeInputLeft_EqOperator": ".types", - "AstLessThanOrEqualsOperatorNodeInputLeft_GtOperator": ".types", - "AstLessThanOrEqualsOperatorNodeInputLeft_GteOperator": ".types", - "AstLessThanOrEqualsOperatorNodeInputLeft_Llm": ".types", - "AstLessThanOrEqualsOperatorNodeInputLeft_LtOperator": ".types", - "AstLessThanOrEqualsOperatorNodeInputLeft_LteOperator": ".types", - "AstLessThanOrEqualsOperatorNodeInputLeft_NeqOperator": ".types", - "AstLessThanOrEqualsOperatorNodeInputLeft_NumberLiteral": ".types", - "AstLessThanOrEqualsOperatorNodeInputLeft_OrOperator": ".types", - "AstLessThanOrEqualsOperatorNodeInputLeft_StringLiteral": ".types", - "AstLessThanOrEqualsOperatorNodeInputRight": ".types", - "AstLessThanOrEqualsOperatorNodeInputRight_AndOperator": ".types", - "AstLessThanOrEqualsOperatorNodeInputRight_BooleanLiteral": ".types", - "AstLessThanOrEqualsOperatorNodeInputRight_ConditionalOperator": ".types", - "AstLessThanOrEqualsOperatorNodeInputRight_DynamicVariable": ".types", - "AstLessThanOrEqualsOperatorNodeInputRight_EqOperator": ".types", - "AstLessThanOrEqualsOperatorNodeInputRight_GtOperator": ".types", - "AstLessThanOrEqualsOperatorNodeInputRight_GteOperator": ".types", - "AstLessThanOrEqualsOperatorNodeInputRight_Llm": ".types", - "AstLessThanOrEqualsOperatorNodeInputRight_LtOperator": ".types", - "AstLessThanOrEqualsOperatorNodeInputRight_LteOperator": ".types", - "AstLessThanOrEqualsOperatorNodeInputRight_NeqOperator": ".types", - "AstLessThanOrEqualsOperatorNodeInputRight_NumberLiteral": ".types", - "AstLessThanOrEqualsOperatorNodeInputRight_OrOperator": ".types", - "AstLessThanOrEqualsOperatorNodeInputRight_StringLiteral": ".types", "AstLessThanOrEqualsOperatorNodeOutput": ".types", - "AstLessThanOrEqualsOperatorNodeOutputLeft": ".types", - "AstLessThanOrEqualsOperatorNodeOutputLeft_AndOperator": ".types", - "AstLessThanOrEqualsOperatorNodeOutputLeft_BooleanLiteral": ".types", - "AstLessThanOrEqualsOperatorNodeOutputLeft_ConditionalOperator": ".types", - "AstLessThanOrEqualsOperatorNodeOutputLeft_DynamicVariable": ".types", - "AstLessThanOrEqualsOperatorNodeOutputLeft_EqOperator": ".types", - "AstLessThanOrEqualsOperatorNodeOutputLeft_GtOperator": ".types", - "AstLessThanOrEqualsOperatorNodeOutputLeft_GteOperator": ".types", - "AstLessThanOrEqualsOperatorNodeOutputLeft_Llm": ".types", - "AstLessThanOrEqualsOperatorNodeOutputLeft_LtOperator": ".types", - "AstLessThanOrEqualsOperatorNodeOutputLeft_LteOperator": ".types", - "AstLessThanOrEqualsOperatorNodeOutputLeft_NeqOperator": ".types", - "AstLessThanOrEqualsOperatorNodeOutputLeft_NumberLiteral": ".types", - "AstLessThanOrEqualsOperatorNodeOutputLeft_OrOperator": ".types", - "AstLessThanOrEqualsOperatorNodeOutputLeft_StringLiteral": ".types", - "AstLessThanOrEqualsOperatorNodeOutputRight": ".types", - "AstLessThanOrEqualsOperatorNodeOutputRight_AndOperator": ".types", - "AstLessThanOrEqualsOperatorNodeOutputRight_BooleanLiteral": ".types", - "AstLessThanOrEqualsOperatorNodeOutputRight_ConditionalOperator": ".types", - "AstLessThanOrEqualsOperatorNodeOutputRight_DynamicVariable": ".types", - "AstLessThanOrEqualsOperatorNodeOutputRight_EqOperator": ".types", - "AstLessThanOrEqualsOperatorNodeOutputRight_GtOperator": ".types", - "AstLessThanOrEqualsOperatorNodeOutputRight_GteOperator": ".types", - "AstLessThanOrEqualsOperatorNodeOutputRight_Llm": ".types", - "AstLessThanOrEqualsOperatorNodeOutputRight_LtOperator": ".types", - "AstLessThanOrEqualsOperatorNodeOutputRight_LteOperator": ".types", - "AstLessThanOrEqualsOperatorNodeOutputRight_NeqOperator": ".types", - "AstLessThanOrEqualsOperatorNodeOutputRight_NumberLiteral": ".types", - "AstLessThanOrEqualsOperatorNodeOutputRight_OrOperator": ".types", - "AstLessThanOrEqualsOperatorNodeOutputRight_StringLiteral": ".types", + "AstMultiplicationOperatorNodeInput": ".types", + "AstMultiplicationOperatorNodeOutput": ".types", + "AstNodeInput": ".types", + "AstNodeInput_AddOperator": ".types", + "AstNodeInput_AndOperator": ".types", + "AstNodeInput_BooleanLiteral": ".types", + "AstNodeInput_ConditionalOperator": ".types", + "AstNodeInput_DivOperator": ".types", + "AstNodeInput_DynamicVariable": ".types", + "AstNodeInput_EqOperator": ".types", + "AstNodeInput_GtOperator": ".types", + "AstNodeInput_GteOperator": ".types", + "AstNodeInput_Llm": ".types", + "AstNodeInput_LtOperator": ".types", + "AstNodeInput_LteOperator": ".types", + "AstNodeInput_MulOperator": ".types", + "AstNodeInput_NeqOperator": ".types", + "AstNodeInput_NumberLiteral": ".types", + "AstNodeInput_OrOperator": ".types", + "AstNodeInput_StringLiteral": ".types", + "AstNodeInput_SubOperator": ".types", + "AstNodeOutput": ".types", + "AstNodeOutput_AddOperator": ".types", + "AstNodeOutput_AndOperator": ".types", + "AstNodeOutput_BooleanLiteral": ".types", + "AstNodeOutput_ConditionalOperator": ".types", + "AstNodeOutput_DivOperator": ".types", + "AstNodeOutput_DynamicVariable": ".types", + "AstNodeOutput_EqOperator": ".types", + "AstNodeOutput_GtOperator": ".types", + "AstNodeOutput_GteOperator": ".types", + "AstNodeOutput_Llm": ".types", + "AstNodeOutput_LtOperator": ".types", + "AstNodeOutput_LteOperator": ".types", + "AstNodeOutput_MulOperator": ".types", + "AstNodeOutput_NeqOperator": ".types", + "AstNodeOutput_NumberLiteral": ".types", + "AstNodeOutput_OrOperator": ".types", + "AstNodeOutput_StringLiteral": ".types", + "AstNodeOutput_SubOperator": ".types", "AstNotEqualsOperatorNodeInput": ".types", - "AstNotEqualsOperatorNodeInputLeft": ".types", - "AstNotEqualsOperatorNodeInputLeft_AndOperator": ".types", - "AstNotEqualsOperatorNodeInputLeft_BooleanLiteral": ".types", - "AstNotEqualsOperatorNodeInputLeft_ConditionalOperator": ".types", - "AstNotEqualsOperatorNodeInputLeft_DynamicVariable": ".types", - "AstNotEqualsOperatorNodeInputLeft_EqOperator": ".types", - "AstNotEqualsOperatorNodeInputLeft_GtOperator": ".types", - "AstNotEqualsOperatorNodeInputLeft_GteOperator": ".types", - "AstNotEqualsOperatorNodeInputLeft_Llm": ".types", - "AstNotEqualsOperatorNodeInputLeft_LtOperator": ".types", - "AstNotEqualsOperatorNodeInputLeft_LteOperator": ".types", - "AstNotEqualsOperatorNodeInputLeft_NeqOperator": ".types", - "AstNotEqualsOperatorNodeInputLeft_NumberLiteral": ".types", - "AstNotEqualsOperatorNodeInputLeft_OrOperator": ".types", - "AstNotEqualsOperatorNodeInputLeft_StringLiteral": ".types", - "AstNotEqualsOperatorNodeInputRight": ".types", - "AstNotEqualsOperatorNodeInputRight_AndOperator": ".types", - "AstNotEqualsOperatorNodeInputRight_BooleanLiteral": ".types", - "AstNotEqualsOperatorNodeInputRight_ConditionalOperator": ".types", - "AstNotEqualsOperatorNodeInputRight_DynamicVariable": ".types", - "AstNotEqualsOperatorNodeInputRight_EqOperator": ".types", - "AstNotEqualsOperatorNodeInputRight_GtOperator": ".types", - "AstNotEqualsOperatorNodeInputRight_GteOperator": ".types", - "AstNotEqualsOperatorNodeInputRight_Llm": ".types", - "AstNotEqualsOperatorNodeInputRight_LtOperator": ".types", - "AstNotEqualsOperatorNodeInputRight_LteOperator": ".types", - "AstNotEqualsOperatorNodeInputRight_NeqOperator": ".types", - "AstNotEqualsOperatorNodeInputRight_NumberLiteral": ".types", - "AstNotEqualsOperatorNodeInputRight_OrOperator": ".types", - "AstNotEqualsOperatorNodeInputRight_StringLiteral": ".types", "AstNotEqualsOperatorNodeOutput": ".types", - "AstNotEqualsOperatorNodeOutputLeft": ".types", - "AstNotEqualsOperatorNodeOutputLeft_AndOperator": ".types", - "AstNotEqualsOperatorNodeOutputLeft_BooleanLiteral": ".types", - "AstNotEqualsOperatorNodeOutputLeft_ConditionalOperator": ".types", - "AstNotEqualsOperatorNodeOutputLeft_DynamicVariable": ".types", - "AstNotEqualsOperatorNodeOutputLeft_EqOperator": ".types", - "AstNotEqualsOperatorNodeOutputLeft_GtOperator": ".types", - "AstNotEqualsOperatorNodeOutputLeft_GteOperator": ".types", - "AstNotEqualsOperatorNodeOutputLeft_Llm": ".types", - "AstNotEqualsOperatorNodeOutputLeft_LtOperator": ".types", - "AstNotEqualsOperatorNodeOutputLeft_LteOperator": ".types", - "AstNotEqualsOperatorNodeOutputLeft_NeqOperator": ".types", - "AstNotEqualsOperatorNodeOutputLeft_NumberLiteral": ".types", - "AstNotEqualsOperatorNodeOutputLeft_OrOperator": ".types", - "AstNotEqualsOperatorNodeOutputLeft_StringLiteral": ".types", - "AstNotEqualsOperatorNodeOutputRight": ".types", - "AstNotEqualsOperatorNodeOutputRight_AndOperator": ".types", - "AstNotEqualsOperatorNodeOutputRight_BooleanLiteral": ".types", - "AstNotEqualsOperatorNodeOutputRight_ConditionalOperator": ".types", - "AstNotEqualsOperatorNodeOutputRight_DynamicVariable": ".types", - "AstNotEqualsOperatorNodeOutputRight_EqOperator": ".types", - "AstNotEqualsOperatorNodeOutputRight_GtOperator": ".types", - "AstNotEqualsOperatorNodeOutputRight_GteOperator": ".types", - "AstNotEqualsOperatorNodeOutputRight_Llm": ".types", - "AstNotEqualsOperatorNodeOutputRight_LtOperator": ".types", - "AstNotEqualsOperatorNodeOutputRight_LteOperator": ".types", - "AstNotEqualsOperatorNodeOutputRight_NeqOperator": ".types", - "AstNotEqualsOperatorNodeOutputRight_NumberLiteral": ".types", - "AstNotEqualsOperatorNodeOutputRight_OrOperator": ".types", - "AstNotEqualsOperatorNodeOutputRight_StringLiteral": ".types", "AstNumberNodeInput": ".types", "AstNumberNodeOutput": ".types", "AstOrOperatorNodeInput": ".types", - "AstOrOperatorNodeInputChildrenItem": ".types", - "AstOrOperatorNodeInputChildrenItem_AndOperator": ".types", - "AstOrOperatorNodeInputChildrenItem_BooleanLiteral": ".types", - "AstOrOperatorNodeInputChildrenItem_ConditionalOperator": ".types", - "AstOrOperatorNodeInputChildrenItem_DynamicVariable": ".types", - "AstOrOperatorNodeInputChildrenItem_EqOperator": ".types", - "AstOrOperatorNodeInputChildrenItem_GtOperator": ".types", - "AstOrOperatorNodeInputChildrenItem_GteOperator": ".types", - "AstOrOperatorNodeInputChildrenItem_Llm": ".types", - "AstOrOperatorNodeInputChildrenItem_LtOperator": ".types", - "AstOrOperatorNodeInputChildrenItem_LteOperator": ".types", - "AstOrOperatorNodeInputChildrenItem_NeqOperator": ".types", - "AstOrOperatorNodeInputChildrenItem_NumberLiteral": ".types", - "AstOrOperatorNodeInputChildrenItem_OrOperator": ".types", - "AstOrOperatorNodeInputChildrenItem_StringLiteral": ".types", "AstOrOperatorNodeOutput": ".types", - "AstOrOperatorNodeOutputChildrenItem": ".types", - "AstOrOperatorNodeOutputChildrenItem_AndOperator": ".types", - "AstOrOperatorNodeOutputChildrenItem_BooleanLiteral": ".types", - "AstOrOperatorNodeOutputChildrenItem_ConditionalOperator": ".types", - "AstOrOperatorNodeOutputChildrenItem_DynamicVariable": ".types", - "AstOrOperatorNodeOutputChildrenItem_EqOperator": ".types", - "AstOrOperatorNodeOutputChildrenItem_GtOperator": ".types", - "AstOrOperatorNodeOutputChildrenItem_GteOperator": ".types", - "AstOrOperatorNodeOutputChildrenItem_Llm": ".types", - "AstOrOperatorNodeOutputChildrenItem_LtOperator": ".types", - "AstOrOperatorNodeOutputChildrenItem_LteOperator": ".types", - "AstOrOperatorNodeOutputChildrenItem_NeqOperator": ".types", - "AstOrOperatorNodeOutputChildrenItem_NumberLiteral": ".types", - "AstOrOperatorNodeOutputChildrenItem_OrOperator": ".types", - "AstOrOperatorNodeOutputChildrenItem_StringLiteral": ".types", "AstStringNodeInput": ".types", "AstStringNodeOutput": ".types", + "AstSubtractionOperatorNodeInput": ".types", + "AstSubtractionOperatorNodeOutput": ".types", "AstllmNodeInput": ".types", "AstllmNodeInputPrompt": ".types", "AstllmNodeInputValueSchema": ".types", @@ -2728,10 +1779,14 @@ "AsyncConversationMetadataDeliveryStatus": ".types", "AsyncElevenLabs": ".client", "AttachedTestModel": ".types", + "AudioAnalysis": ".types", + "AudioAnalysisResult": ".types", + "AudioAnalysisStatus": ".types", "AudioFormat": ".realtime", "AudioFormatEnum": ".types", "AudioIsolationConvertRequestFileFormat": ".audio_isolation", "AudioIsolationStreamRequestFileFormat": ".audio_isolation", + "AudioKeyMoment": ".types", "AudioNativeCreateProjectResponseModel": ".types", "AudioNativeCreateRequestApplyTextNormalization": ".audio_native", "AudioNativeEditContentResponseModel": ".types", @@ -2739,6 +1794,7 @@ "AudioNativeProjectSettingsResponseModelStatus": ".types", "AudioOutput": ".types", "AudioOutputMulti": ".types", + "AudioSegment": ".types", "AudioWithTimestampsAndVoiceSegmentsResponseModel": ".types", "AudioWithTimestampsResponse": ".types", "AuthConnectionDependencies": ".types", @@ -2752,6 +1808,8 @@ "AuthSettings": ".types", "AuthorizationMethod": ".types", "AutoSyncInfo": ".types", + "AvatarContextRequestModel": ".types", + "AvatarContextResponseModel": ".types", "BackupLlmDefault": ".types", "BackupLlmDisabled": ".types", "BackupLlmOverride": ".types", @@ -3009,6 +2067,7 @@ "CreateClientAppointmentParams": ".types", "CreateClientParams": ".types", "CreateCustomHeaderAuthRequest": ".types", + "CreateMtlsAuthRequest": ".types", "CreateOAuth2ClientCredsRequest": ".types", "CreateOAuth2JwtRequest": ".types", "CreateOAuth2JwtRequestAlgorithm": ".types", @@ -3096,6 +2155,7 @@ "DoDubbingResponse": ".types", "DocumentUsageModeEnum": ".types", "DocxExportOptions": ".types", + "DtmfInputConfig": ".types", "DubbedSegment": ".types", "DubbingCreateRequestMode": ".dubbing", "DubbingListRequestDubbingStatus": ".dubbing", @@ -3163,6 +2223,8 @@ "FeatureStatusCommonModel": ".types", "FeaturesUsageCommonModel": ".types", "FeedbackItem": ".types", + "FileInputConfig": ".types", + "FileInputConfigWorkflowOverride": ".types", "FinalOutput": ".types", "FinalOutputMulti": ".types", "FineTuningResponse": ".types", @@ -3177,6 +2239,7 @@ "GenerateVoiceRequest": ".types", "GenerationConfig": ".types", "GenerationSourceContext": ".types", + "GenesysRegion": ".types", "GetAgentEmbedResponseModel": ".types", "GetAgentKnowledgebaseSizeResponseModel": ".types", "GetAgentLinkResponseModel": ".types", @@ -3324,6 +2387,7 @@ "ListAuthConnectionsResponseAuthConnectionsItem_BasicAuth": ".types", "ListAuthConnectionsResponseAuthConnectionsItem_BearerAuth": ".types", "ListAuthConnectionsResponseAuthConnectionsItem_CustomHeaderAuth": ".types", + "ListAuthConnectionsResponseAuthConnectionsItem_Mtls": ".types", "ListAuthConnectionsResponseAuthConnectionsItem_Oauth2ClientCredentials": ".types", "ListAuthConnectionsResponseAuthConnectionsItem_Oauth2Jwt": ".types", "ListAuthConnectionsResponseAuthConnectionsItem_PrivateKeyJwt": ".types", @@ -3341,8 +2405,6 @@ "LiteralJsonSchemaProperty": ".types", "LiteralJsonSchemaPropertyConstantValue": ".types", "LiteralJsonSchemaPropertyType": ".types", - "LiteralOverride": ".types", - "LiteralOverrideConstantValue": ".types", "LivekitStackType": ".types", "Llm": ".types", "LlmCategoryUsage": ".types", @@ -3392,16 +2454,20 @@ "McpToolConfigOverrideInputOverridesValue_DynamicVariable": ".types", "McpToolConfigOverrideInputOverridesValue_Llm": ".types", "MergingStrategy": ".types", + "MessageSearchSortBy": ".types", "MessagesSearchResponse": ".types", "MessagesSearchResult": ".types", "MetricRecord": ".types", "MetricType": ".types", + "MockNoMatchBehavior": ".types", + "MockingStrategy": ".types", "Model": ".types", "ModelRatesResponseModel": ".types", "ModelSettingsResponseModel": ".types", "ModerationConfig": ".types", "ModerationGuardrailInput": ".types", "ModerationGuardrailOutput": ".types", + "MtlsAuthResponse": ".types", "MultiSourceConfigJson": ".types", "MultichannelSpeechToTextResponseModel": ".types", "MultipartMusicResponse": ".types", @@ -3416,15 +2482,13 @@ "OAuth2ClientCredsResponse": ".types", "OAuth2JwtResponse": ".types", "OAuth2JwtResponseAlgorithm": ".types", + "OAuthConnectionStatus": ".types", "ObjectJsonSchemaPropertyInput": ".types", "ObjectJsonSchemaPropertyInputPropertiesValue": ".types", "ObjectJsonSchemaPropertyOutput": ".types", "ObjectJsonSchemaPropertyOutputPropertiesValue": ".types", - "ObjectOverrideInput": ".types", - "ObjectOverrideInputPropertiesValue": ".types", - "ObjectOverrideOutput": ".types", - "ObjectOverrideOutputPropertiesValue": ".types", "OrbAvatar": ".types", + "OrchestratorToolMockBehaviorConfig": ".types", "OutboundCallRecipient": ".types", "OutboundCallRecipientResponseModel": ".types", "OutboundSipTrunkConfigRequestModel": ".types", @@ -3474,7 +2538,9 @@ "PrivacyConfigOutput": ".types", "PrivateKeyJwtResponse": ".types", "PrivateKeyJwtResponseAlgorithm": ".types", + "ProcedureCompilerMode": ".types", "ProcedureRefResponseModel": ".types", + "ProcedureSettings": ".types", "ProjectCreationMetaResponseModel": ".types", "ProjectCreationMetaResponseModelStatus": ".types", "ProjectCreationMetaResponseModelType": ".types", @@ -3571,7 +2637,6 @@ "PronunciationDictionaryVersionResponseModel": ".types", "PronunciationDictionaryVersionResponseModelPermissionOnResource": ".types", "PydanticPronunciationDictionaryVersionLocator": ".types", - "QueryOverride": ".types", "QueryParamsJsonSchema": ".types", "RagChunkMetadata": ".types", "RagConfig": ".types", @@ -3673,6 +2738,7 @@ "SimilarVoicesForSpeakerResponse": ".types", "SimulationTestModel": ".types", "SimulationTestModelDynamicVariablesValue": ".types", + "SimulationToolMockBehaviorConfig": ".types", "SingleTestRunRequestModel": ".types", "SingleUseTokenResponseModel": ".types", "SingleUseTokenType": ".types", @@ -3804,6 +2870,8 @@ "ToolRequestModelToolConfig_Mcp": ".types", "ToolRequestModelToolConfig_System": ".types", "ToolRequestModelToolConfig_Webhook": ".types", + "ToolResponseMockConfigInput": ".types", + "ToolResponseMockConfigOutput": ".types", "ToolResponseModel": ".types", "ToolResponseModelToolConfig": ".types", "ToolResponseModelToolConfig_Client": ".types", @@ -3908,8 +2976,6 @@ "VideoKeyMoment": ".types", "VideoSegment": ".types", "VideoSubject": ".types", - "VideoTranscription": ".types", - "VideoTranscriptionWord": ".types", "Voice": ".types", "VoiceCategory": ".types", "VoiceDesignPreviewResponse": ".types", @@ -3919,6 +2985,8 @@ "VoiceMailDetectionResultSuccessModel": ".types", "VoicePreviewResponseModel": ".types", "VoiceResponseModelCategory": ".types", + "VoiceResponseModelLabellingStatus": ".types", + "VoiceResponseModelRecordingQuality": ".types", "VoiceResponseModelSafetyControl": ".types", "VoiceSample": ".types", "VoiceSamplePreviewResponseModel": ".types", @@ -4025,37 +3093,7 @@ "WorkflowEndNodeModelInput": ".types", "WorkflowEndNodeModelOutput": ".types", "WorkflowExpressionConditionModelInput": ".types", - "WorkflowExpressionConditionModelInputExpression": ".types", - "WorkflowExpressionConditionModelInputExpression_AndOperator": ".types", - "WorkflowExpressionConditionModelInputExpression_BooleanLiteral": ".types", - "WorkflowExpressionConditionModelInputExpression_ConditionalOperator": ".types", - "WorkflowExpressionConditionModelInputExpression_DynamicVariable": ".types", - "WorkflowExpressionConditionModelInputExpression_EqOperator": ".types", - "WorkflowExpressionConditionModelInputExpression_GtOperator": ".types", - "WorkflowExpressionConditionModelInputExpression_GteOperator": ".types", - "WorkflowExpressionConditionModelInputExpression_Llm": ".types", - "WorkflowExpressionConditionModelInputExpression_LtOperator": ".types", - "WorkflowExpressionConditionModelInputExpression_LteOperator": ".types", - "WorkflowExpressionConditionModelInputExpression_NeqOperator": ".types", - "WorkflowExpressionConditionModelInputExpression_NumberLiteral": ".types", - "WorkflowExpressionConditionModelInputExpression_OrOperator": ".types", - "WorkflowExpressionConditionModelInputExpression_StringLiteral": ".types", "WorkflowExpressionConditionModelOutput": ".types", - "WorkflowExpressionConditionModelOutputExpression": ".types", - "WorkflowExpressionConditionModelOutputExpression_AndOperator": ".types", - "WorkflowExpressionConditionModelOutputExpression_BooleanLiteral": ".types", - "WorkflowExpressionConditionModelOutputExpression_ConditionalOperator": ".types", - "WorkflowExpressionConditionModelOutputExpression_DynamicVariable": ".types", - "WorkflowExpressionConditionModelOutputExpression_EqOperator": ".types", - "WorkflowExpressionConditionModelOutputExpression_GtOperator": ".types", - "WorkflowExpressionConditionModelOutputExpression_GteOperator": ".types", - "WorkflowExpressionConditionModelOutputExpression_Llm": ".types", - "WorkflowExpressionConditionModelOutputExpression_LtOperator": ".types", - "WorkflowExpressionConditionModelOutputExpression_LteOperator": ".types", - "WorkflowExpressionConditionModelOutputExpression_NeqOperator": ".types", - "WorkflowExpressionConditionModelOutputExpression_NumberLiteral": ".types", - "WorkflowExpressionConditionModelOutputExpression_OrOperator": ".types", - "WorkflowExpressionConditionModelOutputExpression_StringLiteral": ".types", "WorkflowFeaturesUsageCommonModel": ".types", "WorkflowLlmConditionModelInput": ".types", "WorkflowLlmConditionModelOutput": ".types", @@ -4253,18 +3291,12 @@ def __dir__(): "AllowlistItem", "ApiIntegrationOAuth2AuthCodeResponse", "ApiIntegrationOAuth2AuthCodeResponseScopeSeparator", - "ApiIntegrationWebhookOverridesInput", - "ApiIntegrationWebhookOverridesInputRequestHeadersValue", - "ApiIntegrationWebhookOverridesInputSchemaOverridesValue", - "ApiIntegrationWebhookOverridesInputSchemaOverridesValue_Constant", - "ApiIntegrationWebhookOverridesInputSchemaOverridesValue_DynamicVariable", - "ApiIntegrationWebhookOverridesInputSchemaOverridesValue_Llm", - "ApiIntegrationWebhookOverridesOutput", - "ApiIntegrationWebhookOverridesOutputRequestHeadersValue", - "ApiIntegrationWebhookOverridesOutputSchemaOverridesValue", - "ApiIntegrationWebhookOverridesOutputSchemaOverridesValue_Constant", - "ApiIntegrationWebhookOverridesOutputSchemaOverridesValue_DynamicVariable", - "ApiIntegrationWebhookOverridesOutputSchemaOverridesValue_Llm", + "ApiIntegrationWebhookOverrides", + "ApiIntegrationWebhookOverridesRequestHeadersValue", + "ApiIntegrationWebhookOverridesSchemaOverridesValue", + "ApiIntegrationWebhookOverridesSchemaOverridesValue_Constant", + "ApiIntegrationWebhookOverridesSchemaOverridesValue_DynamicVariable", + "ApiIntegrationWebhookOverridesSchemaOverridesValue_Llm", "ApiIntegrationWebhookToolConfigInput", "ApiIntegrationWebhookToolConfigOutput", "ArrayJsonSchemaPropertyInput", @@ -4276,542 +3308,80 @@ def __dir__(): "AsrInputFormat", "AsrProvider", "AsrQuality", + "AssetTranscription", + "AssetTranscriptionWord", + "AstAdditionOperatorNodeInput", + "AstAdditionOperatorNodeOutput", "AstAndOperatorNodeInput", - "AstAndOperatorNodeInputChildrenItem", - "AstAndOperatorNodeInputChildrenItem_AndOperator", - "AstAndOperatorNodeInputChildrenItem_BooleanLiteral", - "AstAndOperatorNodeInputChildrenItem_ConditionalOperator", - "AstAndOperatorNodeInputChildrenItem_DynamicVariable", - "AstAndOperatorNodeInputChildrenItem_EqOperator", - "AstAndOperatorNodeInputChildrenItem_GtOperator", - "AstAndOperatorNodeInputChildrenItem_GteOperator", - "AstAndOperatorNodeInputChildrenItem_Llm", - "AstAndOperatorNodeInputChildrenItem_LtOperator", - "AstAndOperatorNodeInputChildrenItem_LteOperator", - "AstAndOperatorNodeInputChildrenItem_NeqOperator", - "AstAndOperatorNodeInputChildrenItem_NumberLiteral", - "AstAndOperatorNodeInputChildrenItem_OrOperator", - "AstAndOperatorNodeInputChildrenItem_StringLiteral", "AstAndOperatorNodeOutput", - "AstAndOperatorNodeOutputChildrenItem", - "AstAndOperatorNodeOutputChildrenItem_AndOperator", - "AstAndOperatorNodeOutputChildrenItem_BooleanLiteral", - "AstAndOperatorNodeOutputChildrenItem_ConditionalOperator", - "AstAndOperatorNodeOutputChildrenItem_DynamicVariable", - "AstAndOperatorNodeOutputChildrenItem_EqOperator", - "AstAndOperatorNodeOutputChildrenItem_GtOperator", - "AstAndOperatorNodeOutputChildrenItem_GteOperator", - "AstAndOperatorNodeOutputChildrenItem_Llm", - "AstAndOperatorNodeOutputChildrenItem_LtOperator", - "AstAndOperatorNodeOutputChildrenItem_LteOperator", - "AstAndOperatorNodeOutputChildrenItem_NeqOperator", - "AstAndOperatorNodeOutputChildrenItem_NumberLiteral", - "AstAndOperatorNodeOutputChildrenItem_OrOperator", - "AstAndOperatorNodeOutputChildrenItem_StringLiteral", "AstBooleanNodeInput", "AstBooleanNodeOutput", "AstConditionalOperatorNodeInput", - "AstConditionalOperatorNodeInputCondition", - "AstConditionalOperatorNodeInputCondition_AndOperator", - "AstConditionalOperatorNodeInputCondition_BooleanLiteral", - "AstConditionalOperatorNodeInputCondition_ConditionalOperator", - "AstConditionalOperatorNodeInputCondition_DynamicVariable", - "AstConditionalOperatorNodeInputCondition_EqOperator", - "AstConditionalOperatorNodeInputCondition_GtOperator", - "AstConditionalOperatorNodeInputCondition_GteOperator", - "AstConditionalOperatorNodeInputCondition_Llm", - "AstConditionalOperatorNodeInputCondition_LtOperator", - "AstConditionalOperatorNodeInputCondition_LteOperator", - "AstConditionalOperatorNodeInputCondition_NeqOperator", - "AstConditionalOperatorNodeInputCondition_NumberLiteral", - "AstConditionalOperatorNodeInputCondition_OrOperator", - "AstConditionalOperatorNodeInputCondition_StringLiteral", - "AstConditionalOperatorNodeInputFalseExpression", - "AstConditionalOperatorNodeInputFalseExpression_AndOperator", - "AstConditionalOperatorNodeInputFalseExpression_BooleanLiteral", - "AstConditionalOperatorNodeInputFalseExpression_ConditionalOperator", - "AstConditionalOperatorNodeInputFalseExpression_DynamicVariable", - "AstConditionalOperatorNodeInputFalseExpression_EqOperator", - "AstConditionalOperatorNodeInputFalseExpression_GtOperator", - "AstConditionalOperatorNodeInputFalseExpression_GteOperator", - "AstConditionalOperatorNodeInputFalseExpression_Llm", - "AstConditionalOperatorNodeInputFalseExpression_LtOperator", - "AstConditionalOperatorNodeInputFalseExpression_LteOperator", - "AstConditionalOperatorNodeInputFalseExpression_NeqOperator", - "AstConditionalOperatorNodeInputFalseExpression_NumberLiteral", - "AstConditionalOperatorNodeInputFalseExpression_OrOperator", - "AstConditionalOperatorNodeInputFalseExpression_StringLiteral", - "AstConditionalOperatorNodeInputTrueExpression", - "AstConditionalOperatorNodeInputTrueExpression_AndOperator", - "AstConditionalOperatorNodeInputTrueExpression_BooleanLiteral", - "AstConditionalOperatorNodeInputTrueExpression_ConditionalOperator", - "AstConditionalOperatorNodeInputTrueExpression_DynamicVariable", - "AstConditionalOperatorNodeInputTrueExpression_EqOperator", - "AstConditionalOperatorNodeInputTrueExpression_GtOperator", - "AstConditionalOperatorNodeInputTrueExpression_GteOperator", - "AstConditionalOperatorNodeInputTrueExpression_Llm", - "AstConditionalOperatorNodeInputTrueExpression_LtOperator", - "AstConditionalOperatorNodeInputTrueExpression_LteOperator", - "AstConditionalOperatorNodeInputTrueExpression_NeqOperator", - "AstConditionalOperatorNodeInputTrueExpression_NumberLiteral", - "AstConditionalOperatorNodeInputTrueExpression_OrOperator", - "AstConditionalOperatorNodeInputTrueExpression_StringLiteral", "AstConditionalOperatorNodeOutput", - "AstConditionalOperatorNodeOutputCondition", - "AstConditionalOperatorNodeOutputCondition_AndOperator", - "AstConditionalOperatorNodeOutputCondition_BooleanLiteral", - "AstConditionalOperatorNodeOutputCondition_ConditionalOperator", - "AstConditionalOperatorNodeOutputCondition_DynamicVariable", - "AstConditionalOperatorNodeOutputCondition_EqOperator", - "AstConditionalOperatorNodeOutputCondition_GtOperator", - "AstConditionalOperatorNodeOutputCondition_GteOperator", - "AstConditionalOperatorNodeOutputCondition_Llm", - "AstConditionalOperatorNodeOutputCondition_LtOperator", - "AstConditionalOperatorNodeOutputCondition_LteOperator", - "AstConditionalOperatorNodeOutputCondition_NeqOperator", - "AstConditionalOperatorNodeOutputCondition_NumberLiteral", - "AstConditionalOperatorNodeOutputCondition_OrOperator", - "AstConditionalOperatorNodeOutputCondition_StringLiteral", - "AstConditionalOperatorNodeOutputFalseExpression", - "AstConditionalOperatorNodeOutputFalseExpression_AndOperator", - "AstConditionalOperatorNodeOutputFalseExpression_BooleanLiteral", - "AstConditionalOperatorNodeOutputFalseExpression_ConditionalOperator", - "AstConditionalOperatorNodeOutputFalseExpression_DynamicVariable", - "AstConditionalOperatorNodeOutputFalseExpression_EqOperator", - "AstConditionalOperatorNodeOutputFalseExpression_GtOperator", - "AstConditionalOperatorNodeOutputFalseExpression_GteOperator", - "AstConditionalOperatorNodeOutputFalseExpression_Llm", - "AstConditionalOperatorNodeOutputFalseExpression_LtOperator", - "AstConditionalOperatorNodeOutputFalseExpression_LteOperator", - "AstConditionalOperatorNodeOutputFalseExpression_NeqOperator", - "AstConditionalOperatorNodeOutputFalseExpression_NumberLiteral", - "AstConditionalOperatorNodeOutputFalseExpression_OrOperator", - "AstConditionalOperatorNodeOutputFalseExpression_StringLiteral", - "AstConditionalOperatorNodeOutputTrueExpression", - "AstConditionalOperatorNodeOutputTrueExpression_AndOperator", - "AstConditionalOperatorNodeOutputTrueExpression_BooleanLiteral", - "AstConditionalOperatorNodeOutputTrueExpression_ConditionalOperator", - "AstConditionalOperatorNodeOutputTrueExpression_DynamicVariable", - "AstConditionalOperatorNodeOutputTrueExpression_EqOperator", - "AstConditionalOperatorNodeOutputTrueExpression_GtOperator", - "AstConditionalOperatorNodeOutputTrueExpression_GteOperator", - "AstConditionalOperatorNodeOutputTrueExpression_Llm", - "AstConditionalOperatorNodeOutputTrueExpression_LtOperator", - "AstConditionalOperatorNodeOutputTrueExpression_LteOperator", - "AstConditionalOperatorNodeOutputTrueExpression_NeqOperator", - "AstConditionalOperatorNodeOutputTrueExpression_NumberLiteral", - "AstConditionalOperatorNodeOutputTrueExpression_OrOperator", - "AstConditionalOperatorNodeOutputTrueExpression_StringLiteral", + "AstDivisionOperatorNodeInput", + "AstDivisionOperatorNodeOutput", "AstDynamicVariableNodeInput", "AstDynamicVariableNodeOutput", "AstEqualsOperatorNodeInput", - "AstEqualsOperatorNodeInputLeft", - "AstEqualsOperatorNodeInputLeft_AndOperator", - "AstEqualsOperatorNodeInputLeft_BooleanLiteral", - "AstEqualsOperatorNodeInputLeft_ConditionalOperator", - "AstEqualsOperatorNodeInputLeft_DynamicVariable", - "AstEqualsOperatorNodeInputLeft_EqOperator", - "AstEqualsOperatorNodeInputLeft_GtOperator", - "AstEqualsOperatorNodeInputLeft_GteOperator", - "AstEqualsOperatorNodeInputLeft_Llm", - "AstEqualsOperatorNodeInputLeft_LtOperator", - "AstEqualsOperatorNodeInputLeft_LteOperator", - "AstEqualsOperatorNodeInputLeft_NeqOperator", - "AstEqualsOperatorNodeInputLeft_NumberLiteral", - "AstEqualsOperatorNodeInputLeft_OrOperator", - "AstEqualsOperatorNodeInputLeft_StringLiteral", - "AstEqualsOperatorNodeInputRight", - "AstEqualsOperatorNodeInputRight_AndOperator", - "AstEqualsOperatorNodeInputRight_BooleanLiteral", - "AstEqualsOperatorNodeInputRight_ConditionalOperator", - "AstEqualsOperatorNodeInputRight_DynamicVariable", - "AstEqualsOperatorNodeInputRight_EqOperator", - "AstEqualsOperatorNodeInputRight_GtOperator", - "AstEqualsOperatorNodeInputRight_GteOperator", - "AstEqualsOperatorNodeInputRight_Llm", - "AstEqualsOperatorNodeInputRight_LtOperator", - "AstEqualsOperatorNodeInputRight_LteOperator", - "AstEqualsOperatorNodeInputRight_NeqOperator", - "AstEqualsOperatorNodeInputRight_NumberLiteral", - "AstEqualsOperatorNodeInputRight_OrOperator", - "AstEqualsOperatorNodeInputRight_StringLiteral", "AstEqualsOperatorNodeOutput", - "AstEqualsOperatorNodeOutputLeft", - "AstEqualsOperatorNodeOutputLeft_AndOperator", - "AstEqualsOperatorNodeOutputLeft_BooleanLiteral", - "AstEqualsOperatorNodeOutputLeft_ConditionalOperator", - "AstEqualsOperatorNodeOutputLeft_DynamicVariable", - "AstEqualsOperatorNodeOutputLeft_EqOperator", - "AstEqualsOperatorNodeOutputLeft_GtOperator", - "AstEqualsOperatorNodeOutputLeft_GteOperator", - "AstEqualsOperatorNodeOutputLeft_Llm", - "AstEqualsOperatorNodeOutputLeft_LtOperator", - "AstEqualsOperatorNodeOutputLeft_LteOperator", - "AstEqualsOperatorNodeOutputLeft_NeqOperator", - "AstEqualsOperatorNodeOutputLeft_NumberLiteral", - "AstEqualsOperatorNodeOutputLeft_OrOperator", - "AstEqualsOperatorNodeOutputLeft_StringLiteral", - "AstEqualsOperatorNodeOutputRight", - "AstEqualsOperatorNodeOutputRight_AndOperator", - "AstEqualsOperatorNodeOutputRight_BooleanLiteral", - "AstEqualsOperatorNodeOutputRight_ConditionalOperator", - "AstEqualsOperatorNodeOutputRight_DynamicVariable", - "AstEqualsOperatorNodeOutputRight_EqOperator", - "AstEqualsOperatorNodeOutputRight_GtOperator", - "AstEqualsOperatorNodeOutputRight_GteOperator", - "AstEqualsOperatorNodeOutputRight_Llm", - "AstEqualsOperatorNodeOutputRight_LtOperator", - "AstEqualsOperatorNodeOutputRight_LteOperator", - "AstEqualsOperatorNodeOutputRight_NeqOperator", - "AstEqualsOperatorNodeOutputRight_NumberLiteral", - "AstEqualsOperatorNodeOutputRight_OrOperator", - "AstEqualsOperatorNodeOutputRight_StringLiteral", "AstGreaterThanOperatorNodeInput", - "AstGreaterThanOperatorNodeInputLeft", - "AstGreaterThanOperatorNodeInputLeft_AndOperator", - "AstGreaterThanOperatorNodeInputLeft_BooleanLiteral", - "AstGreaterThanOperatorNodeInputLeft_ConditionalOperator", - "AstGreaterThanOperatorNodeInputLeft_DynamicVariable", - "AstGreaterThanOperatorNodeInputLeft_EqOperator", - "AstGreaterThanOperatorNodeInputLeft_GtOperator", - "AstGreaterThanOperatorNodeInputLeft_GteOperator", - "AstGreaterThanOperatorNodeInputLeft_Llm", - "AstGreaterThanOperatorNodeInputLeft_LtOperator", - "AstGreaterThanOperatorNodeInputLeft_LteOperator", - "AstGreaterThanOperatorNodeInputLeft_NeqOperator", - "AstGreaterThanOperatorNodeInputLeft_NumberLiteral", - "AstGreaterThanOperatorNodeInputLeft_OrOperator", - "AstGreaterThanOperatorNodeInputLeft_StringLiteral", - "AstGreaterThanOperatorNodeInputRight", - "AstGreaterThanOperatorNodeInputRight_AndOperator", - "AstGreaterThanOperatorNodeInputRight_BooleanLiteral", - "AstGreaterThanOperatorNodeInputRight_ConditionalOperator", - "AstGreaterThanOperatorNodeInputRight_DynamicVariable", - "AstGreaterThanOperatorNodeInputRight_EqOperator", - "AstGreaterThanOperatorNodeInputRight_GtOperator", - "AstGreaterThanOperatorNodeInputRight_GteOperator", - "AstGreaterThanOperatorNodeInputRight_Llm", - "AstGreaterThanOperatorNodeInputRight_LtOperator", - "AstGreaterThanOperatorNodeInputRight_LteOperator", - "AstGreaterThanOperatorNodeInputRight_NeqOperator", - "AstGreaterThanOperatorNodeInputRight_NumberLiteral", - "AstGreaterThanOperatorNodeInputRight_OrOperator", - "AstGreaterThanOperatorNodeInputRight_StringLiteral", "AstGreaterThanOperatorNodeOutput", - "AstGreaterThanOperatorNodeOutputLeft", - "AstGreaterThanOperatorNodeOutputLeft_AndOperator", - "AstGreaterThanOperatorNodeOutputLeft_BooleanLiteral", - "AstGreaterThanOperatorNodeOutputLeft_ConditionalOperator", - "AstGreaterThanOperatorNodeOutputLeft_DynamicVariable", - "AstGreaterThanOperatorNodeOutputLeft_EqOperator", - "AstGreaterThanOperatorNodeOutputLeft_GtOperator", - "AstGreaterThanOperatorNodeOutputLeft_GteOperator", - "AstGreaterThanOperatorNodeOutputLeft_Llm", - "AstGreaterThanOperatorNodeOutputLeft_LtOperator", - "AstGreaterThanOperatorNodeOutputLeft_LteOperator", - "AstGreaterThanOperatorNodeOutputLeft_NeqOperator", - "AstGreaterThanOperatorNodeOutputLeft_NumberLiteral", - "AstGreaterThanOperatorNodeOutputLeft_OrOperator", - "AstGreaterThanOperatorNodeOutputLeft_StringLiteral", - "AstGreaterThanOperatorNodeOutputRight", - "AstGreaterThanOperatorNodeOutputRight_AndOperator", - "AstGreaterThanOperatorNodeOutputRight_BooleanLiteral", - "AstGreaterThanOperatorNodeOutputRight_ConditionalOperator", - "AstGreaterThanOperatorNodeOutputRight_DynamicVariable", - "AstGreaterThanOperatorNodeOutputRight_EqOperator", - "AstGreaterThanOperatorNodeOutputRight_GtOperator", - "AstGreaterThanOperatorNodeOutputRight_GteOperator", - "AstGreaterThanOperatorNodeOutputRight_Llm", - "AstGreaterThanOperatorNodeOutputRight_LtOperator", - "AstGreaterThanOperatorNodeOutputRight_LteOperator", - "AstGreaterThanOperatorNodeOutputRight_NeqOperator", - "AstGreaterThanOperatorNodeOutputRight_NumberLiteral", - "AstGreaterThanOperatorNodeOutputRight_OrOperator", - "AstGreaterThanOperatorNodeOutputRight_StringLiteral", "AstGreaterThanOrEqualsOperatorNodeInput", - "AstGreaterThanOrEqualsOperatorNodeInputLeft", - "AstGreaterThanOrEqualsOperatorNodeInputLeft_AndOperator", - "AstGreaterThanOrEqualsOperatorNodeInputLeft_BooleanLiteral", - "AstGreaterThanOrEqualsOperatorNodeInputLeft_ConditionalOperator", - "AstGreaterThanOrEqualsOperatorNodeInputLeft_DynamicVariable", - "AstGreaterThanOrEqualsOperatorNodeInputLeft_EqOperator", - "AstGreaterThanOrEqualsOperatorNodeInputLeft_GtOperator", - "AstGreaterThanOrEqualsOperatorNodeInputLeft_GteOperator", - "AstGreaterThanOrEqualsOperatorNodeInputLeft_Llm", - "AstGreaterThanOrEqualsOperatorNodeInputLeft_LtOperator", - "AstGreaterThanOrEqualsOperatorNodeInputLeft_LteOperator", - "AstGreaterThanOrEqualsOperatorNodeInputLeft_NeqOperator", - "AstGreaterThanOrEqualsOperatorNodeInputLeft_NumberLiteral", - "AstGreaterThanOrEqualsOperatorNodeInputLeft_OrOperator", - "AstGreaterThanOrEqualsOperatorNodeInputLeft_StringLiteral", - "AstGreaterThanOrEqualsOperatorNodeInputRight", - "AstGreaterThanOrEqualsOperatorNodeInputRight_AndOperator", - "AstGreaterThanOrEqualsOperatorNodeInputRight_BooleanLiteral", - "AstGreaterThanOrEqualsOperatorNodeInputRight_ConditionalOperator", - "AstGreaterThanOrEqualsOperatorNodeInputRight_DynamicVariable", - "AstGreaterThanOrEqualsOperatorNodeInputRight_EqOperator", - "AstGreaterThanOrEqualsOperatorNodeInputRight_GtOperator", - "AstGreaterThanOrEqualsOperatorNodeInputRight_GteOperator", - "AstGreaterThanOrEqualsOperatorNodeInputRight_Llm", - "AstGreaterThanOrEqualsOperatorNodeInputRight_LtOperator", - "AstGreaterThanOrEqualsOperatorNodeInputRight_LteOperator", - "AstGreaterThanOrEqualsOperatorNodeInputRight_NeqOperator", - "AstGreaterThanOrEqualsOperatorNodeInputRight_NumberLiteral", - "AstGreaterThanOrEqualsOperatorNodeInputRight_OrOperator", - "AstGreaterThanOrEqualsOperatorNodeInputRight_StringLiteral", "AstGreaterThanOrEqualsOperatorNodeOutput", - "AstGreaterThanOrEqualsOperatorNodeOutputLeft", - "AstGreaterThanOrEqualsOperatorNodeOutputLeft_AndOperator", - "AstGreaterThanOrEqualsOperatorNodeOutputLeft_BooleanLiteral", - "AstGreaterThanOrEqualsOperatorNodeOutputLeft_ConditionalOperator", - "AstGreaterThanOrEqualsOperatorNodeOutputLeft_DynamicVariable", - "AstGreaterThanOrEqualsOperatorNodeOutputLeft_EqOperator", - "AstGreaterThanOrEqualsOperatorNodeOutputLeft_GtOperator", - "AstGreaterThanOrEqualsOperatorNodeOutputLeft_GteOperator", - "AstGreaterThanOrEqualsOperatorNodeOutputLeft_Llm", - "AstGreaterThanOrEqualsOperatorNodeOutputLeft_LtOperator", - "AstGreaterThanOrEqualsOperatorNodeOutputLeft_LteOperator", - "AstGreaterThanOrEqualsOperatorNodeOutputLeft_NeqOperator", - "AstGreaterThanOrEqualsOperatorNodeOutputLeft_NumberLiteral", - "AstGreaterThanOrEqualsOperatorNodeOutputLeft_OrOperator", - "AstGreaterThanOrEqualsOperatorNodeOutputLeft_StringLiteral", - "AstGreaterThanOrEqualsOperatorNodeOutputRight", - "AstGreaterThanOrEqualsOperatorNodeOutputRight_AndOperator", - "AstGreaterThanOrEqualsOperatorNodeOutputRight_BooleanLiteral", - "AstGreaterThanOrEqualsOperatorNodeOutputRight_ConditionalOperator", - "AstGreaterThanOrEqualsOperatorNodeOutputRight_DynamicVariable", - "AstGreaterThanOrEqualsOperatorNodeOutputRight_EqOperator", - "AstGreaterThanOrEqualsOperatorNodeOutputRight_GtOperator", - "AstGreaterThanOrEqualsOperatorNodeOutputRight_GteOperator", - "AstGreaterThanOrEqualsOperatorNodeOutputRight_Llm", - "AstGreaterThanOrEqualsOperatorNodeOutputRight_LtOperator", - "AstGreaterThanOrEqualsOperatorNodeOutputRight_LteOperator", - "AstGreaterThanOrEqualsOperatorNodeOutputRight_NeqOperator", - "AstGreaterThanOrEqualsOperatorNodeOutputRight_NumberLiteral", - "AstGreaterThanOrEqualsOperatorNodeOutputRight_OrOperator", - "AstGreaterThanOrEqualsOperatorNodeOutputRight_StringLiteral", "AstLessThanOperatorNodeInput", - "AstLessThanOperatorNodeInputLeft", - "AstLessThanOperatorNodeInputLeft_AndOperator", - "AstLessThanOperatorNodeInputLeft_BooleanLiteral", - "AstLessThanOperatorNodeInputLeft_ConditionalOperator", - "AstLessThanOperatorNodeInputLeft_DynamicVariable", - "AstLessThanOperatorNodeInputLeft_EqOperator", - "AstLessThanOperatorNodeInputLeft_GtOperator", - "AstLessThanOperatorNodeInputLeft_GteOperator", - "AstLessThanOperatorNodeInputLeft_Llm", - "AstLessThanOperatorNodeInputLeft_LtOperator", - "AstLessThanOperatorNodeInputLeft_LteOperator", - "AstLessThanOperatorNodeInputLeft_NeqOperator", - "AstLessThanOperatorNodeInputLeft_NumberLiteral", - "AstLessThanOperatorNodeInputLeft_OrOperator", - "AstLessThanOperatorNodeInputLeft_StringLiteral", - "AstLessThanOperatorNodeInputRight", - "AstLessThanOperatorNodeInputRight_AndOperator", - "AstLessThanOperatorNodeInputRight_BooleanLiteral", - "AstLessThanOperatorNodeInputRight_ConditionalOperator", - "AstLessThanOperatorNodeInputRight_DynamicVariable", - "AstLessThanOperatorNodeInputRight_EqOperator", - "AstLessThanOperatorNodeInputRight_GtOperator", - "AstLessThanOperatorNodeInputRight_GteOperator", - "AstLessThanOperatorNodeInputRight_Llm", - "AstLessThanOperatorNodeInputRight_LtOperator", - "AstLessThanOperatorNodeInputRight_LteOperator", - "AstLessThanOperatorNodeInputRight_NeqOperator", - "AstLessThanOperatorNodeInputRight_NumberLiteral", - "AstLessThanOperatorNodeInputRight_OrOperator", - "AstLessThanOperatorNodeInputRight_StringLiteral", "AstLessThanOperatorNodeOutput", - "AstLessThanOperatorNodeOutputLeft", - "AstLessThanOperatorNodeOutputLeft_AndOperator", - "AstLessThanOperatorNodeOutputLeft_BooleanLiteral", - "AstLessThanOperatorNodeOutputLeft_ConditionalOperator", - "AstLessThanOperatorNodeOutputLeft_DynamicVariable", - "AstLessThanOperatorNodeOutputLeft_EqOperator", - "AstLessThanOperatorNodeOutputLeft_GtOperator", - "AstLessThanOperatorNodeOutputLeft_GteOperator", - "AstLessThanOperatorNodeOutputLeft_Llm", - "AstLessThanOperatorNodeOutputLeft_LtOperator", - "AstLessThanOperatorNodeOutputLeft_LteOperator", - "AstLessThanOperatorNodeOutputLeft_NeqOperator", - "AstLessThanOperatorNodeOutputLeft_NumberLiteral", - "AstLessThanOperatorNodeOutputLeft_OrOperator", - "AstLessThanOperatorNodeOutputLeft_StringLiteral", - "AstLessThanOperatorNodeOutputRight", - "AstLessThanOperatorNodeOutputRight_AndOperator", - "AstLessThanOperatorNodeOutputRight_BooleanLiteral", - "AstLessThanOperatorNodeOutputRight_ConditionalOperator", - "AstLessThanOperatorNodeOutputRight_DynamicVariable", - "AstLessThanOperatorNodeOutputRight_EqOperator", - "AstLessThanOperatorNodeOutputRight_GtOperator", - "AstLessThanOperatorNodeOutputRight_GteOperator", - "AstLessThanOperatorNodeOutputRight_Llm", - "AstLessThanOperatorNodeOutputRight_LtOperator", - "AstLessThanOperatorNodeOutputRight_LteOperator", - "AstLessThanOperatorNodeOutputRight_NeqOperator", - "AstLessThanOperatorNodeOutputRight_NumberLiteral", - "AstLessThanOperatorNodeOutputRight_OrOperator", - "AstLessThanOperatorNodeOutputRight_StringLiteral", "AstLessThanOrEqualsOperatorNodeInput", - "AstLessThanOrEqualsOperatorNodeInputLeft", - "AstLessThanOrEqualsOperatorNodeInputLeft_AndOperator", - "AstLessThanOrEqualsOperatorNodeInputLeft_BooleanLiteral", - "AstLessThanOrEqualsOperatorNodeInputLeft_ConditionalOperator", - "AstLessThanOrEqualsOperatorNodeInputLeft_DynamicVariable", - "AstLessThanOrEqualsOperatorNodeInputLeft_EqOperator", - "AstLessThanOrEqualsOperatorNodeInputLeft_GtOperator", - "AstLessThanOrEqualsOperatorNodeInputLeft_GteOperator", - "AstLessThanOrEqualsOperatorNodeInputLeft_Llm", - "AstLessThanOrEqualsOperatorNodeInputLeft_LtOperator", - "AstLessThanOrEqualsOperatorNodeInputLeft_LteOperator", - "AstLessThanOrEqualsOperatorNodeInputLeft_NeqOperator", - "AstLessThanOrEqualsOperatorNodeInputLeft_NumberLiteral", - "AstLessThanOrEqualsOperatorNodeInputLeft_OrOperator", - "AstLessThanOrEqualsOperatorNodeInputLeft_StringLiteral", - "AstLessThanOrEqualsOperatorNodeInputRight", - "AstLessThanOrEqualsOperatorNodeInputRight_AndOperator", - "AstLessThanOrEqualsOperatorNodeInputRight_BooleanLiteral", - "AstLessThanOrEqualsOperatorNodeInputRight_ConditionalOperator", - "AstLessThanOrEqualsOperatorNodeInputRight_DynamicVariable", - "AstLessThanOrEqualsOperatorNodeInputRight_EqOperator", - "AstLessThanOrEqualsOperatorNodeInputRight_GtOperator", - "AstLessThanOrEqualsOperatorNodeInputRight_GteOperator", - "AstLessThanOrEqualsOperatorNodeInputRight_Llm", - "AstLessThanOrEqualsOperatorNodeInputRight_LtOperator", - "AstLessThanOrEqualsOperatorNodeInputRight_LteOperator", - "AstLessThanOrEqualsOperatorNodeInputRight_NeqOperator", - "AstLessThanOrEqualsOperatorNodeInputRight_NumberLiteral", - "AstLessThanOrEqualsOperatorNodeInputRight_OrOperator", - "AstLessThanOrEqualsOperatorNodeInputRight_StringLiteral", "AstLessThanOrEqualsOperatorNodeOutput", - "AstLessThanOrEqualsOperatorNodeOutputLeft", - "AstLessThanOrEqualsOperatorNodeOutputLeft_AndOperator", - "AstLessThanOrEqualsOperatorNodeOutputLeft_BooleanLiteral", - "AstLessThanOrEqualsOperatorNodeOutputLeft_ConditionalOperator", - "AstLessThanOrEqualsOperatorNodeOutputLeft_DynamicVariable", - "AstLessThanOrEqualsOperatorNodeOutputLeft_EqOperator", - "AstLessThanOrEqualsOperatorNodeOutputLeft_GtOperator", - "AstLessThanOrEqualsOperatorNodeOutputLeft_GteOperator", - "AstLessThanOrEqualsOperatorNodeOutputLeft_Llm", - "AstLessThanOrEqualsOperatorNodeOutputLeft_LtOperator", - "AstLessThanOrEqualsOperatorNodeOutputLeft_LteOperator", - "AstLessThanOrEqualsOperatorNodeOutputLeft_NeqOperator", - "AstLessThanOrEqualsOperatorNodeOutputLeft_NumberLiteral", - "AstLessThanOrEqualsOperatorNodeOutputLeft_OrOperator", - "AstLessThanOrEqualsOperatorNodeOutputLeft_StringLiteral", - "AstLessThanOrEqualsOperatorNodeOutputRight", - "AstLessThanOrEqualsOperatorNodeOutputRight_AndOperator", - "AstLessThanOrEqualsOperatorNodeOutputRight_BooleanLiteral", - "AstLessThanOrEqualsOperatorNodeOutputRight_ConditionalOperator", - "AstLessThanOrEqualsOperatorNodeOutputRight_DynamicVariable", - "AstLessThanOrEqualsOperatorNodeOutputRight_EqOperator", - "AstLessThanOrEqualsOperatorNodeOutputRight_GtOperator", - "AstLessThanOrEqualsOperatorNodeOutputRight_GteOperator", - "AstLessThanOrEqualsOperatorNodeOutputRight_Llm", - "AstLessThanOrEqualsOperatorNodeOutputRight_LtOperator", - "AstLessThanOrEqualsOperatorNodeOutputRight_LteOperator", - "AstLessThanOrEqualsOperatorNodeOutputRight_NeqOperator", - "AstLessThanOrEqualsOperatorNodeOutputRight_NumberLiteral", - "AstLessThanOrEqualsOperatorNodeOutputRight_OrOperator", - "AstLessThanOrEqualsOperatorNodeOutputRight_StringLiteral", + "AstMultiplicationOperatorNodeInput", + "AstMultiplicationOperatorNodeOutput", + "AstNodeInput", + "AstNodeInput_AddOperator", + "AstNodeInput_AndOperator", + "AstNodeInput_BooleanLiteral", + "AstNodeInput_ConditionalOperator", + "AstNodeInput_DivOperator", + "AstNodeInput_DynamicVariable", + "AstNodeInput_EqOperator", + "AstNodeInput_GtOperator", + "AstNodeInput_GteOperator", + "AstNodeInput_Llm", + "AstNodeInput_LtOperator", + "AstNodeInput_LteOperator", + "AstNodeInput_MulOperator", + "AstNodeInput_NeqOperator", + "AstNodeInput_NumberLiteral", + "AstNodeInput_OrOperator", + "AstNodeInput_StringLiteral", + "AstNodeInput_SubOperator", + "AstNodeOutput", + "AstNodeOutput_AddOperator", + "AstNodeOutput_AndOperator", + "AstNodeOutput_BooleanLiteral", + "AstNodeOutput_ConditionalOperator", + "AstNodeOutput_DivOperator", + "AstNodeOutput_DynamicVariable", + "AstNodeOutput_EqOperator", + "AstNodeOutput_GtOperator", + "AstNodeOutput_GteOperator", + "AstNodeOutput_Llm", + "AstNodeOutput_LtOperator", + "AstNodeOutput_LteOperator", + "AstNodeOutput_MulOperator", + "AstNodeOutput_NeqOperator", + "AstNodeOutput_NumberLiteral", + "AstNodeOutput_OrOperator", + "AstNodeOutput_StringLiteral", + "AstNodeOutput_SubOperator", "AstNotEqualsOperatorNodeInput", - "AstNotEqualsOperatorNodeInputLeft", - "AstNotEqualsOperatorNodeInputLeft_AndOperator", - "AstNotEqualsOperatorNodeInputLeft_BooleanLiteral", - "AstNotEqualsOperatorNodeInputLeft_ConditionalOperator", - "AstNotEqualsOperatorNodeInputLeft_DynamicVariable", - "AstNotEqualsOperatorNodeInputLeft_EqOperator", - "AstNotEqualsOperatorNodeInputLeft_GtOperator", - "AstNotEqualsOperatorNodeInputLeft_GteOperator", - "AstNotEqualsOperatorNodeInputLeft_Llm", - "AstNotEqualsOperatorNodeInputLeft_LtOperator", - "AstNotEqualsOperatorNodeInputLeft_LteOperator", - "AstNotEqualsOperatorNodeInputLeft_NeqOperator", - "AstNotEqualsOperatorNodeInputLeft_NumberLiteral", - "AstNotEqualsOperatorNodeInputLeft_OrOperator", - "AstNotEqualsOperatorNodeInputLeft_StringLiteral", - "AstNotEqualsOperatorNodeInputRight", - "AstNotEqualsOperatorNodeInputRight_AndOperator", - "AstNotEqualsOperatorNodeInputRight_BooleanLiteral", - "AstNotEqualsOperatorNodeInputRight_ConditionalOperator", - "AstNotEqualsOperatorNodeInputRight_DynamicVariable", - "AstNotEqualsOperatorNodeInputRight_EqOperator", - "AstNotEqualsOperatorNodeInputRight_GtOperator", - "AstNotEqualsOperatorNodeInputRight_GteOperator", - "AstNotEqualsOperatorNodeInputRight_Llm", - "AstNotEqualsOperatorNodeInputRight_LtOperator", - "AstNotEqualsOperatorNodeInputRight_LteOperator", - "AstNotEqualsOperatorNodeInputRight_NeqOperator", - "AstNotEqualsOperatorNodeInputRight_NumberLiteral", - "AstNotEqualsOperatorNodeInputRight_OrOperator", - "AstNotEqualsOperatorNodeInputRight_StringLiteral", "AstNotEqualsOperatorNodeOutput", - "AstNotEqualsOperatorNodeOutputLeft", - "AstNotEqualsOperatorNodeOutputLeft_AndOperator", - "AstNotEqualsOperatorNodeOutputLeft_BooleanLiteral", - "AstNotEqualsOperatorNodeOutputLeft_ConditionalOperator", - "AstNotEqualsOperatorNodeOutputLeft_DynamicVariable", - "AstNotEqualsOperatorNodeOutputLeft_EqOperator", - "AstNotEqualsOperatorNodeOutputLeft_GtOperator", - "AstNotEqualsOperatorNodeOutputLeft_GteOperator", - "AstNotEqualsOperatorNodeOutputLeft_Llm", - "AstNotEqualsOperatorNodeOutputLeft_LtOperator", - "AstNotEqualsOperatorNodeOutputLeft_LteOperator", - "AstNotEqualsOperatorNodeOutputLeft_NeqOperator", - "AstNotEqualsOperatorNodeOutputLeft_NumberLiteral", - "AstNotEqualsOperatorNodeOutputLeft_OrOperator", - "AstNotEqualsOperatorNodeOutputLeft_StringLiteral", - "AstNotEqualsOperatorNodeOutputRight", - "AstNotEqualsOperatorNodeOutputRight_AndOperator", - "AstNotEqualsOperatorNodeOutputRight_BooleanLiteral", - "AstNotEqualsOperatorNodeOutputRight_ConditionalOperator", - "AstNotEqualsOperatorNodeOutputRight_DynamicVariable", - "AstNotEqualsOperatorNodeOutputRight_EqOperator", - "AstNotEqualsOperatorNodeOutputRight_GtOperator", - "AstNotEqualsOperatorNodeOutputRight_GteOperator", - "AstNotEqualsOperatorNodeOutputRight_Llm", - "AstNotEqualsOperatorNodeOutputRight_LtOperator", - "AstNotEqualsOperatorNodeOutputRight_LteOperator", - "AstNotEqualsOperatorNodeOutputRight_NeqOperator", - "AstNotEqualsOperatorNodeOutputRight_NumberLiteral", - "AstNotEqualsOperatorNodeOutputRight_OrOperator", - "AstNotEqualsOperatorNodeOutputRight_StringLiteral", "AstNumberNodeInput", "AstNumberNodeOutput", "AstOrOperatorNodeInput", - "AstOrOperatorNodeInputChildrenItem", - "AstOrOperatorNodeInputChildrenItem_AndOperator", - "AstOrOperatorNodeInputChildrenItem_BooleanLiteral", - "AstOrOperatorNodeInputChildrenItem_ConditionalOperator", - "AstOrOperatorNodeInputChildrenItem_DynamicVariable", - "AstOrOperatorNodeInputChildrenItem_EqOperator", - "AstOrOperatorNodeInputChildrenItem_GtOperator", - "AstOrOperatorNodeInputChildrenItem_GteOperator", - "AstOrOperatorNodeInputChildrenItem_Llm", - "AstOrOperatorNodeInputChildrenItem_LtOperator", - "AstOrOperatorNodeInputChildrenItem_LteOperator", - "AstOrOperatorNodeInputChildrenItem_NeqOperator", - "AstOrOperatorNodeInputChildrenItem_NumberLiteral", - "AstOrOperatorNodeInputChildrenItem_OrOperator", - "AstOrOperatorNodeInputChildrenItem_StringLiteral", "AstOrOperatorNodeOutput", - "AstOrOperatorNodeOutputChildrenItem", - "AstOrOperatorNodeOutputChildrenItem_AndOperator", - "AstOrOperatorNodeOutputChildrenItem_BooleanLiteral", - "AstOrOperatorNodeOutputChildrenItem_ConditionalOperator", - "AstOrOperatorNodeOutputChildrenItem_DynamicVariable", - "AstOrOperatorNodeOutputChildrenItem_EqOperator", - "AstOrOperatorNodeOutputChildrenItem_GtOperator", - "AstOrOperatorNodeOutputChildrenItem_GteOperator", - "AstOrOperatorNodeOutputChildrenItem_Llm", - "AstOrOperatorNodeOutputChildrenItem_LtOperator", - "AstOrOperatorNodeOutputChildrenItem_LteOperator", - "AstOrOperatorNodeOutputChildrenItem_NeqOperator", - "AstOrOperatorNodeOutputChildrenItem_NumberLiteral", - "AstOrOperatorNodeOutputChildrenItem_OrOperator", - "AstOrOperatorNodeOutputChildrenItem_StringLiteral", "AstStringNodeInput", "AstStringNodeOutput", + "AstSubtractionOperatorNodeInput", + "AstSubtractionOperatorNodeOutput", "AstllmNodeInput", "AstllmNodeInputPrompt", "AstllmNodeInputValueSchema", @@ -4820,10 +3390,14 @@ def __dir__(): "AsyncConversationMetadataDeliveryStatus", "AsyncElevenLabs", "AttachedTestModel", + "AudioAnalysis", + "AudioAnalysisResult", + "AudioAnalysisStatus", "AudioFormat", "AudioFormatEnum", "AudioIsolationConvertRequestFileFormat", "AudioIsolationStreamRequestFileFormat", + "AudioKeyMoment", "AudioNativeCreateProjectResponseModel", "AudioNativeCreateRequestApplyTextNormalization", "AudioNativeEditContentResponseModel", @@ -4831,6 +3405,7 @@ def __dir__(): "AudioNativeProjectSettingsResponseModelStatus", "AudioOutput", "AudioOutputMulti", + "AudioSegment", "AudioWithTimestampsAndVoiceSegmentsResponseModel", "AudioWithTimestampsResponse", "AuthConnectionDependencies", @@ -4844,6 +3419,8 @@ def __dir__(): "AuthSettings", "AuthorizationMethod", "AutoSyncInfo", + "AvatarContextRequestModel", + "AvatarContextResponseModel", "BackupLlmDefault", "BackupLlmDisabled", "BackupLlmOverride", @@ -5101,6 +3678,7 @@ def __dir__(): "CreateClientAppointmentParams", "CreateClientParams", "CreateCustomHeaderAuthRequest", + "CreateMtlsAuthRequest", "CreateOAuth2ClientCredsRequest", "CreateOAuth2JwtRequest", "CreateOAuth2JwtRequestAlgorithm", @@ -5188,6 +3766,7 @@ def __dir__(): "DoDubbingResponse", "DocumentUsageModeEnum", "DocxExportOptions", + "DtmfInputConfig", "DubbedSegment", "DubbingCreateRequestMode", "DubbingListRequestDubbingStatus", @@ -5255,6 +3834,8 @@ def __dir__(): "FeatureStatusCommonModel", "FeaturesUsageCommonModel", "FeedbackItem", + "FileInputConfig", + "FileInputConfigWorkflowOverride", "FinalOutput", "FinalOutputMulti", "FineTuningResponse", @@ -5269,6 +3850,7 @@ def __dir__(): "GenerateVoiceRequest", "GenerationConfig", "GenerationSourceContext", + "GenesysRegion", "GetAgentEmbedResponseModel", "GetAgentKnowledgebaseSizeResponseModel", "GetAgentLinkResponseModel", @@ -5416,6 +3998,7 @@ def __dir__(): "ListAuthConnectionsResponseAuthConnectionsItem_BasicAuth", "ListAuthConnectionsResponseAuthConnectionsItem_BearerAuth", "ListAuthConnectionsResponseAuthConnectionsItem_CustomHeaderAuth", + "ListAuthConnectionsResponseAuthConnectionsItem_Mtls", "ListAuthConnectionsResponseAuthConnectionsItem_Oauth2ClientCredentials", "ListAuthConnectionsResponseAuthConnectionsItem_Oauth2Jwt", "ListAuthConnectionsResponseAuthConnectionsItem_PrivateKeyJwt", @@ -5433,8 +4016,6 @@ def __dir__(): "LiteralJsonSchemaProperty", "LiteralJsonSchemaPropertyConstantValue", "LiteralJsonSchemaPropertyType", - "LiteralOverride", - "LiteralOverrideConstantValue", "LivekitStackType", "Llm", "LlmCategoryUsage", @@ -5484,16 +4065,20 @@ def __dir__(): "McpToolConfigOverrideInputOverridesValue_DynamicVariable", "McpToolConfigOverrideInputOverridesValue_Llm", "MergingStrategy", + "MessageSearchSortBy", "MessagesSearchResponse", "MessagesSearchResult", "MetricRecord", "MetricType", + "MockNoMatchBehavior", + "MockingStrategy", "Model", "ModelRatesResponseModel", "ModelSettingsResponseModel", "ModerationConfig", "ModerationGuardrailInput", "ModerationGuardrailOutput", + "MtlsAuthResponse", "MultiSourceConfigJson", "MultichannelSpeechToTextResponseModel", "MultipartMusicResponse", @@ -5508,15 +4093,13 @@ def __dir__(): "OAuth2ClientCredsResponse", "OAuth2JwtResponse", "OAuth2JwtResponseAlgorithm", + "OAuthConnectionStatus", "ObjectJsonSchemaPropertyInput", "ObjectJsonSchemaPropertyInputPropertiesValue", "ObjectJsonSchemaPropertyOutput", "ObjectJsonSchemaPropertyOutputPropertiesValue", - "ObjectOverrideInput", - "ObjectOverrideInputPropertiesValue", - "ObjectOverrideOutput", - "ObjectOverrideOutputPropertiesValue", "OrbAvatar", + "OrchestratorToolMockBehaviorConfig", "OutboundCallRecipient", "OutboundCallRecipientResponseModel", "OutboundSipTrunkConfigRequestModel", @@ -5566,7 +4149,9 @@ def __dir__(): "PrivacyConfigOutput", "PrivateKeyJwtResponse", "PrivateKeyJwtResponseAlgorithm", + "ProcedureCompilerMode", "ProcedureRefResponseModel", + "ProcedureSettings", "ProjectCreationMetaResponseModel", "ProjectCreationMetaResponseModelStatus", "ProjectCreationMetaResponseModelType", @@ -5663,7 +4248,6 @@ def __dir__(): "PronunciationDictionaryVersionResponseModel", "PronunciationDictionaryVersionResponseModelPermissionOnResource", "PydanticPronunciationDictionaryVersionLocator", - "QueryOverride", "QueryParamsJsonSchema", "RagChunkMetadata", "RagConfig", @@ -5765,6 +4349,7 @@ def __dir__(): "SimilarVoicesForSpeakerResponse", "SimulationTestModel", "SimulationTestModelDynamicVariablesValue", + "SimulationToolMockBehaviorConfig", "SingleTestRunRequestModel", "SingleUseTokenResponseModel", "SingleUseTokenType", @@ -5896,6 +4481,8 @@ def __dir__(): "ToolRequestModelToolConfig_Mcp", "ToolRequestModelToolConfig_System", "ToolRequestModelToolConfig_Webhook", + "ToolResponseMockConfigInput", + "ToolResponseMockConfigOutput", "ToolResponseModel", "ToolResponseModelToolConfig", "ToolResponseModelToolConfig_Client", @@ -6000,8 +4587,6 @@ def __dir__(): "VideoKeyMoment", "VideoSegment", "VideoSubject", - "VideoTranscription", - "VideoTranscriptionWord", "Voice", "VoiceCategory", "VoiceDesignPreviewResponse", @@ -6011,6 +4596,8 @@ def __dir__(): "VoiceMailDetectionResultSuccessModel", "VoicePreviewResponseModel", "VoiceResponseModelCategory", + "VoiceResponseModelLabellingStatus", + "VoiceResponseModelRecordingQuality", "VoiceResponseModelSafetyControl", "VoiceSample", "VoiceSamplePreviewResponseModel", @@ -6117,37 +4704,7 @@ def __dir__(): "WorkflowEndNodeModelInput", "WorkflowEndNodeModelOutput", "WorkflowExpressionConditionModelInput", - "WorkflowExpressionConditionModelInputExpression", - "WorkflowExpressionConditionModelInputExpression_AndOperator", - "WorkflowExpressionConditionModelInputExpression_BooleanLiteral", - "WorkflowExpressionConditionModelInputExpression_ConditionalOperator", - "WorkflowExpressionConditionModelInputExpression_DynamicVariable", - "WorkflowExpressionConditionModelInputExpression_EqOperator", - "WorkflowExpressionConditionModelInputExpression_GtOperator", - "WorkflowExpressionConditionModelInputExpression_GteOperator", - "WorkflowExpressionConditionModelInputExpression_Llm", - "WorkflowExpressionConditionModelInputExpression_LtOperator", - "WorkflowExpressionConditionModelInputExpression_LteOperator", - "WorkflowExpressionConditionModelInputExpression_NeqOperator", - "WorkflowExpressionConditionModelInputExpression_NumberLiteral", - "WorkflowExpressionConditionModelInputExpression_OrOperator", - "WorkflowExpressionConditionModelInputExpression_StringLiteral", "WorkflowExpressionConditionModelOutput", - "WorkflowExpressionConditionModelOutputExpression", - "WorkflowExpressionConditionModelOutputExpression_AndOperator", - "WorkflowExpressionConditionModelOutputExpression_BooleanLiteral", - "WorkflowExpressionConditionModelOutputExpression_ConditionalOperator", - "WorkflowExpressionConditionModelOutputExpression_DynamicVariable", - "WorkflowExpressionConditionModelOutputExpression_EqOperator", - "WorkflowExpressionConditionModelOutputExpression_GtOperator", - "WorkflowExpressionConditionModelOutputExpression_GteOperator", - "WorkflowExpressionConditionModelOutputExpression_Llm", - "WorkflowExpressionConditionModelOutputExpression_LtOperator", - "WorkflowExpressionConditionModelOutputExpression_LteOperator", - "WorkflowExpressionConditionModelOutputExpression_NeqOperator", - "WorkflowExpressionConditionModelOutputExpression_NumberLiteral", - "WorkflowExpressionConditionModelOutputExpression_OrOperator", - "WorkflowExpressionConditionModelOutputExpression_StringLiteral", "WorkflowFeaturesUsageCommonModel", "WorkflowLlmConditionModelInput", "WorkflowLlmConditionModelOutput", diff --git a/src/elevenlabs/audio_isolation/raw_client.py b/src/elevenlabs/audio_isolation/raw_client.py index 881bd53d..e1f9feea 100644 --- a/src/elevenlabs/audio_isolation/raw_client.py +++ b/src/elevenlabs/audio_isolation/raw_client.py @@ -11,7 +11,6 @@ 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 @@ -81,9 +80,9 @@ def _stream() -> HttpResponse[typing.Iterator[bytes]]: raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -150,9 +149,9 @@ def _stream() -> HttpResponse[typing.Iterator[bytes]]: raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -230,9 +229,9 @@ async def _stream() -> AsyncHttpResponse[typing.AsyncIterator[bytes]]: raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -300,9 +299,9 @@ async def _stream() -> AsyncHttpResponse[typing.AsyncIterator[bytes]]: raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/audio_native/raw_client.py b/src/elevenlabs/audio_native/raw_client.py index 4f7b7bf3..d7ce6508 100644 --- a/src/elevenlabs/audio_native/raw_client.py +++ b/src/elevenlabs/audio_native/raw_client.py @@ -14,7 +14,6 @@ from ..types.audio_native_create_project_response_model import AudioNativeCreateProjectResponseModel from ..types.audio_native_edit_content_response_model import AudioNativeEditContentResponseModel 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 # this is used as the default value for optional parameters @@ -143,9 +142,9 @@ def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -193,9 +192,9 @@ def get_settings( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -267,9 +266,9 @@ def update( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -337,9 +336,9 @@ def update_content_from_url( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -472,9 +471,9 @@ async def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -522,9 +521,9 @@ async def get_settings( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -596,9 +595,9 @@ async def update( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -666,9 +665,9 @@ async def update_content_from_url( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/base_client.py b/src/elevenlabs/base_client.py index 427aedfd..87a0053b 100644 --- a/src/elevenlabs/base_client.py +++ b/src/elevenlabs/base_client.py @@ -115,6 +115,7 @@ def __init__( self._user: typing.Optional[UserClient] = None self._voices: typing.Optional[VoicesClient] = None self._studio: typing.Optional[StudioClient] = None + self._music: typing.Optional[MusicClient] = None self._dubbing: typing.Optional[DubbingClient] = None self._models: typing.Optional[ModelsClient] = None self._audio_native: typing.Optional[AudioNativeClient] = None @@ -126,7 +127,6 @@ def __init__( self._forced_alignment: typing.Optional[ForcedAlignmentClient] = None self._conversational_ai: typing.Optional[ConversationalAiClient] = None self._environment_variables: typing.Optional[EnvironmentVariablesClient] = None - self._music: typing.Optional[MusicClient] = None self._tokens: typing.Optional[TokensClient] = None self._workspace: typing.Optional[WorkspaceClient] = None @@ -141,40 +141,6 @@ def with_raw_response(self) -> RawBaseElevenLabs: """ return self._raw_client - def delete_v_1_convai_agents_agent_id_branches_branch_id( - self, agent_id: str, branch_id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> None: - """ - Parameters - ---------- - agent_id : str - - branch_id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - None - - Examples - -------- - from elevenlabs import ElevenLabs - - client = ElevenLabs( - api_key="YOUR_API_KEY", - ) - client.delete_v_1_convai_agents_agent_id_branches_branch_id( - agent_id="agent_id", - branch_id="branch_id", - ) - """ - _response = self._raw_client.delete_v_1_convai_agents_agent_id_branches_branch_id( - agent_id, branch_id, request_options=request_options - ) - return _response.data - def save_a_voice_preview(self, *, request_options: typing.Optional[RequestOptions] = None) -> None: """ Add a generated voice to the voice library. @@ -288,6 +254,14 @@ def studio(self): self._studio = StudioClient(client_wrapper=self._client_wrapper) return self._studio + @property + def music(self): + if self._music is None: + from .music.client import MusicClient # noqa: E402 + + self._music = MusicClient(client_wrapper=self._client_wrapper) + return self._music + @property def dubbing(self): if self._dubbing is None: @@ -376,14 +350,6 @@ def environment_variables(self): self._environment_variables = EnvironmentVariablesClient(client_wrapper=self._client_wrapper) return self._environment_variables - @property - def music(self): - if self._music is None: - from .music.client import MusicClient # noqa: E402 - - self._music = MusicClient(client_wrapper=self._client_wrapper) - return self._music - @property def tokens(self): if self._tokens is None: @@ -478,6 +444,7 @@ def __init__( self._user: typing.Optional[AsyncUserClient] = None self._voices: typing.Optional[AsyncVoicesClient] = None self._studio: typing.Optional[AsyncStudioClient] = None + self._music: typing.Optional[AsyncMusicClient] = None self._dubbing: typing.Optional[AsyncDubbingClient] = None self._models: typing.Optional[AsyncModelsClient] = None self._audio_native: typing.Optional[AsyncAudioNativeClient] = None @@ -489,7 +456,6 @@ def __init__( self._forced_alignment: typing.Optional[AsyncForcedAlignmentClient] = None self._conversational_ai: typing.Optional[AsyncConversationalAiClient] = None self._environment_variables: typing.Optional[AsyncEnvironmentVariablesClient] = None - self._music: typing.Optional[AsyncMusicClient] = None self._tokens: typing.Optional[AsyncTokensClient] = None self._workspace: typing.Optional[AsyncWorkspaceClient] = None @@ -504,48 +470,6 @@ def with_raw_response(self) -> AsyncRawBaseElevenLabs: """ return self._raw_client - async def delete_v_1_convai_agents_agent_id_branches_branch_id( - self, agent_id: str, branch_id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> None: - """ - Parameters - ---------- - agent_id : str - - branch_id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - None - - Examples - -------- - import asyncio - - from elevenlabs import AsyncElevenLabs - - client = AsyncElevenLabs( - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.delete_v_1_convai_agents_agent_id_branches_branch_id( - agent_id="agent_id", - branch_id="branch_id", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.delete_v_1_convai_agents_agent_id_branches_branch_id( - agent_id, branch_id, request_options=request_options - ) - return _response.data - async def save_a_voice_preview(self, *, request_options: typing.Optional[RequestOptions] = None) -> None: """ Add a generated voice to the voice library. @@ -667,6 +591,14 @@ def studio(self): self._studio = AsyncStudioClient(client_wrapper=self._client_wrapper) return self._studio + @property + def music(self): + if self._music is None: + from .music.client import AsyncMusicClient # noqa: E402 + + self._music = AsyncMusicClient(client_wrapper=self._client_wrapper) + return self._music + @property def dubbing(self): if self._dubbing is None: @@ -755,14 +687,6 @@ def environment_variables(self): self._environment_variables = AsyncEnvironmentVariablesClient(client_wrapper=self._client_wrapper) return self._environment_variables - @property - def music(self): - if self._music is None: - from .music.client import AsyncMusicClient # noqa: E402 - - self._music = AsyncMusicClient(client_wrapper=self._client_wrapper) - return self._music - @property def tokens(self): if self._tokens is None: diff --git a/src/elevenlabs/conversational_ai/agents/branches/raw_client.py b/src/elevenlabs/conversational_ai/agents/branches/raw_client.py index e32c8bba..5c36664e 100644 --- a/src/elevenlabs/conversational_ai/agents/branches/raw_client.py +++ b/src/elevenlabs/conversational_ai/agents/branches/raw_client.py @@ -15,7 +15,6 @@ from ....types.agent_workflow_request_model import AgentWorkflowRequestModel from ....types.branch_protection_status import BranchProtectionStatus 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 # this is used as the default value for optional parameters @@ -79,9 +78,9 @@ def list( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -170,9 +169,9 @@ def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -223,9 +222,9 @@ def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -301,9 +300,9 @@ def update( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -378,9 +377,9 @@ def merge( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -448,9 +447,9 @@ async def list( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -539,9 +538,9 @@ async def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -592,9 +591,9 @@ async def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -670,9 +669,9 @@ async def update( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -747,9 +746,9 @@ async def merge( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/conversational_ai/agents/deployments/raw_client.py b/src/elevenlabs/conversational_ai/agents/deployments/raw_client.py index be8f0677..ee411b58 100644 --- a/src/elevenlabs/conversational_ai/agents/deployments/raw_client.py +++ b/src/elevenlabs/conversational_ai/agents/deployments/raw_client.py @@ -13,7 +13,6 @@ from ....errors.unprocessable_entity_error import UnprocessableEntityError from ....types.agent_deployment_request import AgentDeploymentRequest from ....types.agent_deployment_response import AgentDeploymentResponse -from ....types.http_validation_error import HttpValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -77,9 +76,9 @@ def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -148,9 +147,9 @@ async def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/conversational_ai/agents/drafts/client.py b/src/elevenlabs/conversational_ai/agents/drafts/client.py index a9c7db1a..c33277b9 100644 --- a/src/elevenlabs/conversational_ai/agents/drafts/client.py +++ b/src/elevenlabs/conversational_ai/agents/drafts/client.py @@ -77,11 +77,10 @@ def create( from elevenlabs import ( AgentWorkflowRequestModel, AgentWorkflowRequestModelNodesValue_End, - AstAndOperatorNodeInputChildrenItem_BooleanLiteral, + AstNodeInput_AndOperator, ElevenLabs, WorkflowEdgeModelInput, WorkflowEdgeModelInputForwardCondition_Expression, - WorkflowExpressionConditionModelInputExpression_AndOperator, ) client = ElevenLabs( @@ -98,12 +97,8 @@ def create( source="entry_node", target="tool_node_a", forward_condition=WorkflowEdgeModelInputForwardCondition_Expression( - expression=WorkflowExpressionConditionModelInputExpression_AndOperator( - children=[ - AstAndOperatorNodeInputChildrenItem_BooleanLiteral( - value=True, - ) - ], + expression=AstNodeInput_AndOperator( + children=[], ), ), ), @@ -111,12 +106,8 @@ def create( source="start_node", target="entry_node", forward_condition=WorkflowEdgeModelInputForwardCondition_Expression( - expression=WorkflowExpressionConditionModelInputExpression_AndOperator( - children=[ - AstAndOperatorNodeInputChildrenItem_BooleanLiteral( - value=True, - ) - ], + expression=AstNodeInput_AndOperator( + children=[], ), ), ), @@ -124,12 +115,8 @@ def create( source="tool_node_a", target="failure_node", forward_condition=WorkflowEdgeModelInputForwardCondition_Expression( - expression=WorkflowExpressionConditionModelInputExpression_AndOperator( - children=[ - AstAndOperatorNodeInputChildrenItem_BooleanLiteral( - value=True, - ) - ], + expression=AstNodeInput_AndOperator( + children=[], ), ), ), @@ -137,12 +124,8 @@ def create( source="tool_node_a", target="tool_node_b", forward_condition=WorkflowEdgeModelInputForwardCondition_Expression( - expression=WorkflowExpressionConditionModelInputExpression_AndOperator( - children=[ - AstAndOperatorNodeInputChildrenItem_BooleanLiteral( - value=True, - ) - ], + expression=AstNodeInput_AndOperator( + children=[], ), ), ), @@ -150,12 +133,8 @@ def create( source="tool_node_b", target="success_transfer", forward_condition=WorkflowEdgeModelInputForwardCondition_Expression( - expression=WorkflowExpressionConditionModelInputExpression_AndOperator( - children=[ - AstAndOperatorNodeInputChildrenItem_BooleanLiteral( - value=True, - ) - ], + expression=AstNodeInput_AndOperator( + children=[], ), ), ), @@ -163,12 +142,8 @@ def create( source="tool_node_b", target="success_conversation", forward_condition=WorkflowEdgeModelInputForwardCondition_Expression( - expression=WorkflowExpressionConditionModelInputExpression_AndOperator( - children=[ - AstAndOperatorNodeInputChildrenItem_BooleanLiteral( - value=True, - ) - ], + expression=AstNodeInput_AndOperator( + children=[], ), ), ), @@ -176,12 +151,8 @@ def create( source="tool_node_b", target="success_end", forward_condition=WorkflowEdgeModelInputForwardCondition_Expression( - expression=WorkflowExpressionConditionModelInputExpression_AndOperator( - children=[ - AstAndOperatorNodeInputChildrenItem_BooleanLiteral( - value=True, - ) - ], + expression=AstNodeInput_AndOperator( + children=[], ), ), ), @@ -189,12 +160,8 @@ def create( source="tool_node_b", target="success_phone", forward_condition=WorkflowEdgeModelInputForwardCondition_Expression( - expression=WorkflowExpressionConditionModelInputExpression_AndOperator( - children=[ - AstAndOperatorNodeInputChildrenItem_BooleanLiteral( - value=True, - ) - ], + expression=AstNodeInput_AndOperator( + children=[], ), ), ), @@ -332,11 +299,10 @@ async def create( from elevenlabs import ( AgentWorkflowRequestModel, AgentWorkflowRequestModelNodesValue_End, - AstAndOperatorNodeInputChildrenItem_BooleanLiteral, + AstNodeInput_AndOperator, AsyncElevenLabs, WorkflowEdgeModelInput, WorkflowEdgeModelInputForwardCondition_Expression, - WorkflowExpressionConditionModelInputExpression_AndOperator, ) client = AsyncElevenLabs( @@ -356,12 +322,8 @@ async def main() -> None: source="entry_node", target="tool_node_a", forward_condition=WorkflowEdgeModelInputForwardCondition_Expression( - expression=WorkflowExpressionConditionModelInputExpression_AndOperator( - children=[ - AstAndOperatorNodeInputChildrenItem_BooleanLiteral( - value=True, - ) - ], + expression=AstNodeInput_AndOperator( + children=[], ), ), ), @@ -369,12 +331,8 @@ async def main() -> None: source="start_node", target="entry_node", forward_condition=WorkflowEdgeModelInputForwardCondition_Expression( - expression=WorkflowExpressionConditionModelInputExpression_AndOperator( - children=[ - AstAndOperatorNodeInputChildrenItem_BooleanLiteral( - value=True, - ) - ], + expression=AstNodeInput_AndOperator( + children=[], ), ), ), @@ -382,12 +340,8 @@ async def main() -> None: source="tool_node_a", target="failure_node", forward_condition=WorkflowEdgeModelInputForwardCondition_Expression( - expression=WorkflowExpressionConditionModelInputExpression_AndOperator( - children=[ - AstAndOperatorNodeInputChildrenItem_BooleanLiteral( - value=True, - ) - ], + expression=AstNodeInput_AndOperator( + children=[], ), ), ), @@ -395,12 +349,8 @@ async def main() -> None: source="tool_node_a", target="tool_node_b", forward_condition=WorkflowEdgeModelInputForwardCondition_Expression( - expression=WorkflowExpressionConditionModelInputExpression_AndOperator( - children=[ - AstAndOperatorNodeInputChildrenItem_BooleanLiteral( - value=True, - ) - ], + expression=AstNodeInput_AndOperator( + children=[], ), ), ), @@ -408,12 +358,8 @@ async def main() -> None: source="tool_node_b", target="success_transfer", forward_condition=WorkflowEdgeModelInputForwardCondition_Expression( - expression=WorkflowExpressionConditionModelInputExpression_AndOperator( - children=[ - AstAndOperatorNodeInputChildrenItem_BooleanLiteral( - value=True, - ) - ], + expression=AstNodeInput_AndOperator( + children=[], ), ), ), @@ -421,12 +367,8 @@ async def main() -> None: source="tool_node_b", target="success_conversation", forward_condition=WorkflowEdgeModelInputForwardCondition_Expression( - expression=WorkflowExpressionConditionModelInputExpression_AndOperator( - children=[ - AstAndOperatorNodeInputChildrenItem_BooleanLiteral( - value=True, - ) - ], + expression=AstNodeInput_AndOperator( + children=[], ), ), ), @@ -434,12 +376,8 @@ async def main() -> None: source="tool_node_b", target="success_end", forward_condition=WorkflowEdgeModelInputForwardCondition_Expression( - expression=WorkflowExpressionConditionModelInputExpression_AndOperator( - children=[ - AstAndOperatorNodeInputChildrenItem_BooleanLiteral( - value=True, - ) - ], + expression=AstNodeInput_AndOperator( + children=[], ), ), ), @@ -447,12 +385,8 @@ async def main() -> None: source="tool_node_b", target="success_phone", forward_condition=WorkflowEdgeModelInputForwardCondition_Expression( - expression=WorkflowExpressionConditionModelInputExpression_AndOperator( - children=[ - AstAndOperatorNodeInputChildrenItem_BooleanLiteral( - value=True, - ) - ], + expression=AstNodeInput_AndOperator( + children=[], ), ), ), diff --git a/src/elevenlabs/conversational_ai/agents/drafts/raw_client.py b/src/elevenlabs/conversational_ai/agents/drafts/raw_client.py index 1e3b2390..196fcbf3 100644 --- a/src/elevenlabs/conversational_ai/agents/drafts/raw_client.py +++ b/src/elevenlabs/conversational_ai/agents/drafts/raw_client.py @@ -12,7 +12,6 @@ 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 # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -105,9 +104,9 @@ def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -163,9 +162,9 @@ def delete( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -263,9 +262,9 @@ async def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -321,9 +320,9 @@ async def delete( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_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..8c259771 100644 --- a/src/elevenlabs/conversational_ai/agents/knowledge_base/raw_client.py +++ b/src/elevenlabs/conversational_ai/agents/knowledge_base/raw_client.py @@ -11,7 +11,6 @@ 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 class RawKnowledgeBaseClient: @@ -55,9 +54,9 @@ def size( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -109,9 +108,9 @@ async def size( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_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..02099b5d 100644 --- a/src/elevenlabs/conversational_ai/agents/link/raw_client.py +++ b/src/elevenlabs/conversational_ai/agents/link/raw_client.py @@ -11,7 +11,6 @@ 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 class RawLinkClient: @@ -56,9 +55,9 @@ def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -111,9 +110,9 @@ async def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_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..5ccb8f57 100644 --- a/src/elevenlabs/conversational_ai/agents/llm_usage/raw_client.py +++ b/src/elevenlabs/conversational_ai/agents/llm_usage/raw_client.py @@ -10,7 +10,6 @@ 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 # this is used as the default value for optional parameters @@ -82,9 +81,9 @@ def calculate( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -160,9 +159,9 @@ async def calculate( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/conversational_ai/agents/raw_client.py b/src/elevenlabs/conversational_ai/agents/raw_client.py index f0fc1dab..90613599 100644 --- a/src/elevenlabs/conversational_ai/agents/raw_client.py +++ b/src/elevenlabs/conversational_ai/agents/raw_client.py @@ -22,7 +22,6 @@ from ...types.get_agent_response_model import GetAgentResponseModel from ...types.get_agents_page_response_model import GetAgentsPageResponseModel from ...types.get_test_suite_invocation_response_model import GetTestSuiteInvocationResponseModel -from ...types.http_validation_error import HttpValidationError from ...types.prompt_evaluation_criteria import PromptEvaluationCriteria from ...types.single_test_run_request_model import SingleTestRunRequestModel from ...types.sort_direction import SortDirection @@ -116,9 +115,9 @@ def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -181,9 +180,9 @@ def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -221,9 +220,9 @@ def delete(self, agent_id: str, *, request_options: typing.Optional[RequestOptio raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -328,9 +327,9 @@ def update( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -419,9 +418,9 @@ def list( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -483,9 +482,9 @@ def duplicate( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -563,9 +562,9 @@ def simulate_conversation( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -635,9 +634,9 @@ def simulate_conversation_stream( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -715,9 +714,9 @@ def run_tests( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -813,9 +812,9 @@ async def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -878,9 +877,9 @@ async def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -920,9 +919,9 @@ async def delete( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -1027,9 +1026,9 @@ async def update( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -1118,9 +1117,9 @@ async def list( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -1182,9 +1181,9 @@ async def duplicate( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -1262,9 +1261,9 @@ async def simulate_conversation( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -1334,9 +1333,9 @@ async def simulate_conversation_stream( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -1414,9 +1413,9 @@ async def run_tests( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_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..9114a78a 100644 --- a/src/elevenlabs/conversational_ai/agents/summaries/raw_client.py +++ b/src/elevenlabs/conversational_ai/agents/summaries/raw_client.py @@ -9,7 +9,6 @@ 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 @@ -61,9 +60,9 @@ def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -122,9 +121,9 @@ async def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_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..36ae591e 100644 --- a/src/elevenlabs/conversational_ai/agents/widget/avatar/raw_client.py +++ b/src/elevenlabs/conversational_ai/agents/widget/avatar/raw_client.py @@ -11,7 +11,6 @@ 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 # this is used as the default value for optional parameters @@ -69,9 +68,9 @@ def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -133,9 +132,9 @@ async def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_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..4a072737 100644 --- a/src/elevenlabs/conversational_ai/agents/widget/raw_client.py +++ b/src/elevenlabs/conversational_ai/agents/widget/raw_client.py @@ -11,7 +11,6 @@ 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 class RawWidgetClient: @@ -66,9 +65,9 @@ def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -131,9 +130,9 @@ async def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_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..b89fc92e 100644 --- a/src/elevenlabs/conversational_ai/analytics/live_count/raw_client.py +++ b/src/elevenlabs/conversational_ai/analytics/live_count/raw_client.py @@ -10,7 +10,6 @@ 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 class RawLiveCountClient: @@ -58,9 +57,9 @@ def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -116,9 +115,9 @@ async def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/conversational_ai/batch_calls/client.py b/src/elevenlabs/conversational_ai/batch_calls/client.py index 0ec831c2..9308d49e 100644 --- a/src/elevenlabs/conversational_ai/batch_calls/client.py +++ b/src/elevenlabs/conversational_ai/batch_calls/client.py @@ -41,6 +41,8 @@ def create( agent_phone_number_id: typing.Optional[str] = OMIT, whatsapp_params: typing.Optional[BatchCallWhatsAppParams] = OMIT, timezone: typing.Optional[str] = OMIT, + branch_id: typing.Optional[str] = OMIT, + environment: typing.Optional[str] = OMIT, telephony_call_config: typing.Optional[TelephonyCallConfig] = OMIT, target_concurrency_limit: typing.Optional[int] = OMIT, request_options: typing.Optional[RequestOptions] = None, @@ -64,6 +66,10 @@ def create( timezone : typing.Optional[str] + branch_id : typing.Optional[str] + + environment : typing.Optional[str] + telephony_call_config : typing.Optional[TelephonyCallConfig] target_concurrency_limit : typing.Optional[int] @@ -98,6 +104,8 @@ def create( agent_phone_number_id=agent_phone_number_id, whatsapp_params=whatsapp_params, timezone=timezone, + branch_id=branch_id, + environment=environment, telephony_call_config=telephony_call_config, target_concurrency_limit=target_concurrency_limit, request_options=request_options, @@ -290,6 +298,8 @@ async def create( agent_phone_number_id: typing.Optional[str] = OMIT, whatsapp_params: typing.Optional[BatchCallWhatsAppParams] = OMIT, timezone: typing.Optional[str] = OMIT, + branch_id: typing.Optional[str] = OMIT, + environment: typing.Optional[str] = OMIT, telephony_call_config: typing.Optional[TelephonyCallConfig] = OMIT, target_concurrency_limit: typing.Optional[int] = OMIT, request_options: typing.Optional[RequestOptions] = None, @@ -313,6 +323,10 @@ async def create( timezone : typing.Optional[str] + branch_id : typing.Optional[str] + + environment : typing.Optional[str] + telephony_call_config : typing.Optional[TelephonyCallConfig] target_concurrency_limit : typing.Optional[int] @@ -355,6 +369,8 @@ async def main() -> None: agent_phone_number_id=agent_phone_number_id, whatsapp_params=whatsapp_params, timezone=timezone, + branch_id=branch_id, + environment=environment, telephony_call_config=telephony_call_config, target_concurrency_limit=target_concurrency_limit, request_options=request_options, diff --git a/src/elevenlabs/conversational_ai/batch_calls/raw_client.py b/src/elevenlabs/conversational_ai/batch_calls/raw_client.py index 3ecb1af1..c6de9b1d 100644 --- a/src/elevenlabs/conversational_ai/batch_calls/raw_client.py +++ b/src/elevenlabs/conversational_ai/batch_calls/raw_client.py @@ -14,7 +14,6 @@ from ...types.batch_call_detailed_response import BatchCallDetailedResponse from ...types.batch_call_response import BatchCallResponse from ...types.batch_call_whats_app_params import BatchCallWhatsAppParams -from ...types.http_validation_error import HttpValidationError from ...types.outbound_call_recipient import OutboundCallRecipient from ...types.telephony_call_config import TelephonyCallConfig from ...types.workspace_batch_calls_response import WorkspaceBatchCallsResponse @@ -37,6 +36,8 @@ def create( agent_phone_number_id: typing.Optional[str] = OMIT, whatsapp_params: typing.Optional[BatchCallWhatsAppParams] = OMIT, timezone: typing.Optional[str] = OMIT, + branch_id: typing.Optional[str] = OMIT, + environment: typing.Optional[str] = OMIT, telephony_call_config: typing.Optional[TelephonyCallConfig] = OMIT, target_concurrency_limit: typing.Optional[int] = OMIT, request_options: typing.Optional[RequestOptions] = None, @@ -60,6 +61,10 @@ def create( timezone : typing.Optional[str] + branch_id : typing.Optional[str] + + environment : typing.Optional[str] + telephony_call_config : typing.Optional[TelephonyCallConfig] target_concurrency_limit : typing.Optional[int] @@ -88,6 +93,8 @@ def create( object_=whatsapp_params, annotation=BatchCallWhatsAppParams, direction="write" ), "timezone": timezone, + "branch_id": branch_id, + "environment": environment, "telephony_call_config": convert_and_respect_annotation_metadata( object_=telephony_call_config, annotation=TelephonyCallConfig, direction="write" ), @@ -113,9 +120,9 @@ def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -172,9 +179,9 @@ def list( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -221,9 +228,9 @@ def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -260,9 +267,9 @@ def delete(self, batch_id: str, *, request_options: typing.Optional[RequestOptio raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -309,9 +316,9 @@ def cancel( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -358,9 +365,9 @@ def retry( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -385,6 +392,8 @@ async def create( agent_phone_number_id: typing.Optional[str] = OMIT, whatsapp_params: typing.Optional[BatchCallWhatsAppParams] = OMIT, timezone: typing.Optional[str] = OMIT, + branch_id: typing.Optional[str] = OMIT, + environment: typing.Optional[str] = OMIT, telephony_call_config: typing.Optional[TelephonyCallConfig] = OMIT, target_concurrency_limit: typing.Optional[int] = OMIT, request_options: typing.Optional[RequestOptions] = None, @@ -408,6 +417,10 @@ async def create( timezone : typing.Optional[str] + branch_id : typing.Optional[str] + + environment : typing.Optional[str] + telephony_call_config : typing.Optional[TelephonyCallConfig] target_concurrency_limit : typing.Optional[int] @@ -436,6 +449,8 @@ async def create( object_=whatsapp_params, annotation=BatchCallWhatsAppParams, direction="write" ), "timezone": timezone, + "branch_id": branch_id, + "environment": environment, "telephony_call_config": convert_and_respect_annotation_metadata( object_=telephony_call_config, annotation=TelephonyCallConfig, direction="write" ), @@ -461,9 +476,9 @@ async def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -520,9 +535,9 @@ async def list( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -569,9 +584,9 @@ async def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -610,9 +625,9 @@ async def delete( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -659,9 +674,9 @@ async def cancel( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -708,9 +723,9 @@ async def retry( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/conversational_ai/conversations/__init__.py b/src/elevenlabs/conversational_ai/conversations/__init__.py index 2dc5090d..9e132cd9 100644 --- a/src/elevenlabs/conversational_ai/conversations/__init__.py +++ b/src/elevenlabs/conversational_ai/conversations/__init__.py @@ -7,11 +7,12 @@ if typing.TYPE_CHECKING: from .types import ConversationsListRequestSummaryMode - from . import audio, feedback, files, messages + from . import analysis, audio, feedback, files, messages from .messages import MessagesTextSearchRequestSummaryMode _dynamic_imports: typing.Dict[str, str] = { "ConversationsListRequestSummaryMode": ".types", "MessagesTextSearchRequestSummaryMode": ".messages", + "analysis": ".analysis", "audio": ".audio", "feedback": ".feedback", "files": ".files", @@ -43,6 +44,7 @@ def __dir__(): __all__ = [ "ConversationsListRequestSummaryMode", "MessagesTextSearchRequestSummaryMode", + "analysis", "audio", "feedback", "files", diff --git a/src/elevenlabs/conversational_ai/conversations/analysis/__init__.py b/src/elevenlabs/conversational_ai/conversations/analysis/__init__.py new file mode 100644 index 00000000..5cde0202 --- /dev/null +++ b/src/elevenlabs/conversational_ai/conversations/analysis/__init__.py @@ -0,0 +1,4 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + diff --git a/src/elevenlabs/conversational_ai/conversations/analysis/client.py b/src/elevenlabs/conversational_ai/conversations/analysis/client.py new file mode 100644 index 00000000..6108a939 --- /dev/null +++ b/src/elevenlabs/conversational_ai/conversations/analysis/client.py @@ -0,0 +1,114 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from ....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from ....core.request_options import RequestOptions +from ....types.get_conversation_response_model import GetConversationResponseModel +from .raw_client import AsyncRawAnalysisClient, RawAnalysisClient + + +class AnalysisClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._raw_client = RawAnalysisClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> RawAnalysisClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + RawAnalysisClient + """ + return self._raw_client + + def run( + self, conversation_id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> GetConversationResponseModel: + """ + Run the analysis for a conversation using the agent's current evaluation criteria and data collection settings. + + Parameters + ---------- + conversation_id : str + ID of the conversation + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + GetConversationResponseModel + Successful Response + + Examples + -------- + from elevenlabs import ElevenLabs + + client = ElevenLabs( + api_key="YOUR_API_KEY", + ) + client.conversational_ai.conversations.analysis.run( + conversation_id="conversation_id", + ) + """ + _response = self._raw_client.run(conversation_id, request_options=request_options) + return _response.data + + +class AsyncAnalysisClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._raw_client = AsyncRawAnalysisClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> AsyncRawAnalysisClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + AsyncRawAnalysisClient + """ + return self._raw_client + + async def run( + self, conversation_id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> GetConversationResponseModel: + """ + Run the analysis for a conversation using the agent's current evaluation criteria and data collection settings. + + Parameters + ---------- + conversation_id : str + ID of the conversation + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + GetConversationResponseModel + Successful Response + + Examples + -------- + import asyncio + + from elevenlabs import AsyncElevenLabs + + client = AsyncElevenLabs( + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.conversational_ai.conversations.analysis.run( + conversation_id="conversation_id", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.run(conversation_id, request_options=request_options) + return _response.data diff --git a/src/elevenlabs/conversational_ai/conversations/analysis/raw_client.py b/src/elevenlabs/conversational_ai/conversations/analysis/raw_client.py new file mode 100644 index 00000000..f91c2f0e --- /dev/null +++ b/src/elevenlabs/conversational_ai/conversations/analysis/raw_client.py @@ -0,0 +1,123 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing +from json.decoder import JSONDecodeError + +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.request_options import RequestOptions +from ....core.unchecked_base_model import construct_type +from ....errors.unprocessable_entity_error import UnprocessableEntityError +from ....types.get_conversation_response_model import GetConversationResponseModel + + +class RawAnalysisClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._client_wrapper = client_wrapper + + def run( + self, conversation_id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> HttpResponse[GetConversationResponseModel]: + """ + Run the analysis for a conversation using the agent's current evaluation criteria and data collection settings. + + Parameters + ---------- + conversation_id : str + ID of the conversation + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[GetConversationResponseModel] + Successful Response + """ + _response = self._client_wrapper.httpx_client.request( + f"v1/convai/conversations/{jsonable_encoder(conversation_id)}/analysis/run", + method="POST", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + GetConversationResponseModel, + construct_type( + type_=GetConversationResponseModel, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + if _response.status_code == 422: + raise UnprocessableEntityError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + construct_type( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + +class AsyncRawAnalysisClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._client_wrapper = client_wrapper + + async def run( + self, conversation_id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncHttpResponse[GetConversationResponseModel]: + """ + Run the analysis for a conversation using the agent's current evaluation criteria and data collection settings. + + Parameters + ---------- + conversation_id : str + ID of the conversation + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[GetConversationResponseModel] + Successful Response + """ + _response = await self._client_wrapper.httpx_client.request( + f"v1/convai/conversations/{jsonable_encoder(conversation_id)}/analysis/run", + method="POST", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + GetConversationResponseModel, + construct_type( + type_=GetConversationResponseModel, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + if _response.status_code == 422: + raise UnprocessableEntityError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + construct_type( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + 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..8bd03b99 100644 --- a/src/elevenlabs/conversational_ai/conversations/audio/raw_client.py +++ b/src/elevenlabs/conversational_ai/conversations/audio/raw_client.py @@ -11,7 +11,6 @@ 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 class RawAudioClient: @@ -56,9 +55,9 @@ def _stream() -> HttpResponse[typing.Iterator[bytes]]: raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -116,9 +115,9 @@ async def _stream() -> AsyncHttpResponse[typing.AsyncIterator[bytes]]: raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/conversational_ai/conversations/client.py b/src/elevenlabs/conversational_ai/conversations/client.py index 6b3692fb..f1ceb501 100644 --- a/src/elevenlabs/conversational_ai/conversations/client.py +++ b/src/elevenlabs/conversational_ai/conversations/client.py @@ -16,6 +16,7 @@ from .types.conversations_list_request_summary_mode import ConversationsListRequestSummaryMode if typing.TYPE_CHECKING: + from .analysis.client import AnalysisClient, AsyncAnalysisClient from .audio.client import AsyncAudioClient, AudioClient from .feedback.client import AsyncFeedbackClient, FeedbackClient from .files.client import AsyncFilesClient, FilesClient @@ -30,6 +31,7 @@ def __init__(self, *, client_wrapper: SyncClientWrapper): self._feedback: typing.Optional[FeedbackClient] = None self._messages: typing.Optional[MessagesClient] = None self._files: typing.Optional[FilesClient] = None + self._analysis: typing.Optional[AnalysisClient] = None @property def with_raw_response(self) -> RawConversationsClient: @@ -410,6 +412,14 @@ def files(self): self._files = FilesClient(client_wrapper=self._client_wrapper) return self._files + @property + def analysis(self): + if self._analysis is None: + from .analysis.client import AnalysisClient # noqa: E402 + + self._analysis = AnalysisClient(client_wrapper=self._client_wrapper) + return self._analysis + class AsyncConversationsClient: def __init__(self, *, client_wrapper: AsyncClientWrapper): @@ -419,6 +429,7 @@ def __init__(self, *, client_wrapper: AsyncClientWrapper): self._feedback: typing.Optional[AsyncFeedbackClient] = None self._messages: typing.Optional[AsyncMessagesClient] = None self._files: typing.Optional[AsyncFilesClient] = None + self._analysis: typing.Optional[AsyncAnalysisClient] = None @property def with_raw_response(self) -> AsyncRawConversationsClient: @@ -840,3 +851,11 @@ def files(self): self._files = AsyncFilesClient(client_wrapper=self._client_wrapper) return self._files + + @property + def analysis(self): + if self._analysis is None: + from .analysis.client import AsyncAnalysisClient # noqa: E402 + + self._analysis = AsyncAnalysisClient(client_wrapper=self._client_wrapper) + return self._analysis diff --git a/src/elevenlabs/conversational_ai/conversations/feedback/raw_client.py b/src/elevenlabs/conversational_ai/conversations/feedback/raw_client.py index 0f8d1e8d..77044d32 100644 --- a/src/elevenlabs/conversational_ai/conversations/feedback/raw_client.py +++ b/src/elevenlabs/conversational_ai/conversations/feedback/raw_client.py @@ -10,7 +10,6 @@ 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 # this is used as the default value for optional parameters @@ -75,9 +74,9 @@ def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -146,9 +145,9 @@ async def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_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..bd356b66 100644 --- a/src/elevenlabs/conversational_ai/conversations/files/raw_client.py +++ b/src/elevenlabs/conversational_ai/conversations/files/raw_client.py @@ -12,7 +12,6 @@ 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 # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -68,9 +67,9 @@ def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -119,9 +118,9 @@ def delete( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -182,9 +181,9 @@ async def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -233,9 +232,9 @@ async def delete( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/conversational_ai/conversations/messages/client.py b/src/elevenlabs/conversational_ai/conversations/messages/client.py index 4b6dc154..5b38b41e 100644 --- a/src/elevenlabs/conversational_ai/conversations/messages/client.py +++ b/src/elevenlabs/conversational_ai/conversations/messages/client.py @@ -6,6 +6,7 @@ from ....core.request_options import RequestOptions from ....types.conversation_initiation_source import ConversationInitiationSource from ....types.evaluation_success_result import EvaluationSuccessResult +from ....types.message_search_sort_by import MessageSearchSortBy from ....types.messages_search_response import MessagesSearchResponse from .raw_client import AsyncRawMessagesClient, RawMessagesClient from .types.messages_text_search_request_summary_mode import MessagesTextSearchRequestSummaryMode @@ -50,6 +51,7 @@ def text_search( summary_mode: typing.Optional[MessagesTextSearchRequestSummaryMode] = None, conversation_initiation_source: typing.Optional[ConversationInitiationSource] = None, branch_id: typing.Optional[str] = None, + sort_by: typing.Optional[MessageSearchSortBy] = None, cursor: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, ) -> MessagesSearchResponse: @@ -120,6 +122,9 @@ def text_search( branch_id : typing.Optional[str] Filter conversations by branch ID. + sort_by : typing.Optional[MessageSearchSortBy] + Sort order for search results. 'search_score' sorts by search score, 'created_at' sorts by conversation start time. + cursor : typing.Optional[str] Used for fetching next page. Cursor is returned in the response. @@ -154,6 +159,7 @@ def text_search( summary_mode="exclude", conversation_initiation_source="unknown", branch_id="branch_id", + sort_by="search_score", cursor="cursor", ) """ @@ -179,6 +185,7 @@ def text_search( summary_mode=summary_mode, conversation_initiation_source=conversation_initiation_source, branch_id=branch_id, + sort_by=sort_by, cursor=cursor, request_options=request_options, ) @@ -281,6 +288,7 @@ async def text_search( summary_mode: typing.Optional[MessagesTextSearchRequestSummaryMode] = None, conversation_initiation_source: typing.Optional[ConversationInitiationSource] = None, branch_id: typing.Optional[str] = None, + sort_by: typing.Optional[MessageSearchSortBy] = None, cursor: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, ) -> MessagesSearchResponse: @@ -351,6 +359,9 @@ async def text_search( branch_id : typing.Optional[str] Filter conversations by branch ID. + sort_by : typing.Optional[MessageSearchSortBy] + Sort order for search results. 'search_score' sorts by search score, 'created_at' sorts by conversation start time. + cursor : typing.Optional[str] Used for fetching next page. Cursor is returned in the response. @@ -390,6 +401,7 @@ async def main() -> None: summary_mode="exclude", conversation_initiation_source="unknown", branch_id="branch_id", + sort_by="search_score", cursor="cursor", ) @@ -418,6 +430,7 @@ async def main() -> None: summary_mode=summary_mode, conversation_initiation_source=conversation_initiation_source, branch_id=branch_id, + sort_by=sort_by, cursor=cursor, request_options=request_options, ) diff --git a/src/elevenlabs/conversational_ai/conversations/messages/raw_client.py b/src/elevenlabs/conversational_ai/conversations/messages/raw_client.py index c8ddfd44..fc6e9b00 100644 --- a/src/elevenlabs/conversational_ai/conversations/messages/raw_client.py +++ b/src/elevenlabs/conversational_ai/conversations/messages/raw_client.py @@ -11,7 +11,7 @@ from ....errors.unprocessable_entity_error import UnprocessableEntityError from ....types.conversation_initiation_source import ConversationInitiationSource from ....types.evaluation_success_result import EvaluationSuccessResult -from ....types.http_validation_error import HttpValidationError +from ....types.message_search_sort_by import MessageSearchSortBy from ....types.messages_search_response import MessagesSearchResponse from .types.messages_text_search_request_summary_mode import MessagesTextSearchRequestSummaryMode @@ -44,6 +44,7 @@ def text_search( summary_mode: typing.Optional[MessagesTextSearchRequestSummaryMode] = None, conversation_initiation_source: typing.Optional[ConversationInitiationSource] = None, branch_id: typing.Optional[str] = None, + sort_by: typing.Optional[MessageSearchSortBy] = None, cursor: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[MessagesSearchResponse]: @@ -114,6 +115,9 @@ def text_search( branch_id : typing.Optional[str] Filter conversations by branch ID. + sort_by : typing.Optional[MessageSearchSortBy] + Sort order for search results. 'search_score' sorts by search score, 'created_at' sorts by conversation start time. + cursor : typing.Optional[str] Used for fetching next page. Cursor is returned in the response. @@ -150,6 +154,7 @@ def text_search( "summary_mode": summary_mode, "conversation_initiation_source": conversation_initiation_source, "branch_id": branch_id, + "sort_by": sort_by, "cursor": cursor, }, request_options=request_options, @@ -168,9 +173,9 @@ def text_search( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -239,9 +244,9 @@ def search( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -280,6 +285,7 @@ async def text_search( summary_mode: typing.Optional[MessagesTextSearchRequestSummaryMode] = None, conversation_initiation_source: typing.Optional[ConversationInitiationSource] = None, branch_id: typing.Optional[str] = None, + sort_by: typing.Optional[MessageSearchSortBy] = None, cursor: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[MessagesSearchResponse]: @@ -350,6 +356,9 @@ async def text_search( branch_id : typing.Optional[str] Filter conversations by branch ID. + sort_by : typing.Optional[MessageSearchSortBy] + Sort order for search results. 'search_score' sorts by search score, 'created_at' sorts by conversation start time. + cursor : typing.Optional[str] Used for fetching next page. Cursor is returned in the response. @@ -386,6 +395,7 @@ async def text_search( "summary_mode": summary_mode, "conversation_initiation_source": conversation_initiation_source, "branch_id": branch_id, + "sort_by": sort_by, "cursor": cursor, }, request_options=request_options, @@ -404,9 +414,9 @@ async def text_search( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -475,9 +485,9 @@ async def search( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/conversational_ai/conversations/raw_client.py b/src/elevenlabs/conversational_ai/conversations/raw_client.py index 3a8e7815..168378d1 100644 --- a/src/elevenlabs/conversational_ai/conversations/raw_client.py +++ b/src/elevenlabs/conversational_ai/conversations/raw_client.py @@ -15,7 +15,6 @@ from ...types.evaluation_success_result import EvaluationSuccessResult from ...types.get_conversation_response_model import GetConversationResponseModel from ...types.get_conversations_page_response_model import GetConversationsPageResponseModel -from ...types.http_validation_error import HttpValidationError from ...types.token_response_model import TokenResponseModel from .types.conversations_list_request_summary_mode import ConversationsListRequestSummaryMode @@ -83,9 +82,9 @@ def get_signed_url( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -154,9 +153,9 @@ def get_webrtc_token( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -314,9 +313,9 @@ def list( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -364,9 +363,9 @@ def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -416,9 +415,9 @@ def delete( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -492,9 +491,9 @@ async def get_signed_url( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -563,9 +562,9 @@ async def get_webrtc_token( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -723,9 +722,9 @@ async def list( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -773,9 +772,9 @@ async def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -825,9 +824,9 @@ async def delete( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_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..c4132e31 100644 --- a/src/elevenlabs/conversational_ai/dashboard/settings/raw_client.py +++ b/src/elevenlabs/conversational_ai/dashboard/settings/raw_client.py @@ -11,7 +11,6 @@ from ....core.unchecked_base_model import construct_type from ....errors.unprocessable_entity_error import UnprocessableEntityError 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 # this is used as the default value for optional parameters @@ -57,9 +56,9 @@ def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -120,9 +119,9 @@ def update( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -172,9 +171,9 @@ async def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -235,9 +234,9 @@ async def update( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_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 0b97e122..5d00603e 100644 --- a/src/elevenlabs/conversational_ai/knowledge_base/document/raw_client.py +++ b/src/elevenlabs/conversational_ai/knowledge_base/document/raw_client.py @@ -11,7 +11,6 @@ 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 .types.document_refresh_response import DocumentRefreshResponse @@ -61,9 +60,9 @@ def refresh( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -124,9 +123,9 @@ def compute_rag_index( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -179,9 +178,9 @@ async def refresh( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -242,9 +241,9 @@ async def compute_rag_index( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_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 7fa4fe52..77e2324c 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 @@ -11,7 +11,6 @@ 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.knowledge_base_document_chunk_response_model import KnowledgeBaseDocumentChunkResponseModel @@ -71,9 +70,9 @@ def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -140,9 +139,9 @@ async def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), 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 fd5f24e5..f25808db 100644 --- a/src/elevenlabs/conversational_ai/knowledge_base/documents/raw_client.py +++ b/src/elevenlabs/conversational_ai/knowledge_base/documents/raw_client.py @@ -13,7 +13,6 @@ from ....errors.unprocessable_entity_error import UnprocessableEntityError from ....types.add_knowledge_base_response_model import AddKnowledgeBaseResponseModel from ....types.get_knowledge_base_dependent_agents_response_model import GetKnowledgeBaseDependentAgentsResponseModel -from ....types.http_validation_error import HttpValidationError from ....types.knowledge_base_dependent_type import KnowledgeBaseDependentType from ....types.knowledge_base_source_file_url_response_model import KnowledgeBaseSourceFileUrlResponseModel from .types.documents_get_response import DocumentsGetResponse @@ -95,9 +94,9 @@ def create_from_url( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -165,9 +164,9 @@ def create_from_file( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -235,9 +234,9 @@ def create_from_text( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -310,9 +309,9 @@ def create_folder( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -369,9 +368,9 @@ def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -431,9 +430,9 @@ def delete( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -491,9 +490,9 @@ def update( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -561,9 +560,9 @@ def get_agents( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -603,9 +602,9 @@ def get_content( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -653,9 +652,9 @@ def get_source_file_url( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -709,9 +708,9 @@ def move( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -766,9 +765,9 @@ def bulk_move( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -851,9 +850,9 @@ async def create_from_url( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -921,9 +920,9 @@ async def create_from_file( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -991,9 +990,9 @@ async def create_from_text( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -1066,9 +1065,9 @@ async def create_folder( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -1125,9 +1124,9 @@ async def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -1187,9 +1186,9 @@ async def delete( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -1247,9 +1246,9 @@ async def update( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -1317,9 +1316,9 @@ async def get_agents( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -1359,9 +1358,9 @@ async def get_content( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -1409,9 +1408,9 @@ async def get_source_file_url( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -1465,9 +1464,9 @@ async def move( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -1522,9 +1521,9 @@ async def bulk_move( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_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..cb2aeb35 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 @@ -9,7 +9,6 @@ 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 @@ -61,9 +60,9 @@ def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -122,9 +121,9 @@ async def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_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 991ad830..79631514 100644 --- a/src/elevenlabs/conversational_ai/knowledge_base/raw_client.py +++ b/src/elevenlabs/conversational_ai/knowledge_base/raw_client.py @@ -12,7 +12,6 @@ from ...errors.unprocessable_entity_error import UnprocessableEntityError from ...types.get_knowledge_base_list_response_model import GetKnowledgeBaseListResponseModel from ...types.get_or_create_rag_index_request_model import GetOrCreateRagIndexRequestModel -from ...types.http_validation_error import HttpValidationError from ...types.knowledge_base_document_type import KnowledgeBaseDocumentType from ...types.knowledge_base_sort_by import KnowledgeBaseSortBy from ...types.sort_direction import SortDirection @@ -124,9 +123,9 @@ def list( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -186,9 +185,9 @@ def get_or_create_rag_indexes( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -299,9 +298,9 @@ async def list( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -361,9 +360,9 @@ async def get_or_create_rag_indexes( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/conversational_ai/llm/raw_client.py b/src/elevenlabs/conversational_ai/llm/raw_client.py index 19d4f6ae..9a0fdc7b 100644 --- a/src/elevenlabs/conversational_ai/llm/raw_client.py +++ b/src/elevenlabs/conversational_ai/llm/raw_client.py @@ -9,7 +9,6 @@ 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 @@ -52,9 +51,9 @@ def list( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -104,9 +103,9 @@ async def list( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_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..66f96b0d 100644 --- a/src/elevenlabs/conversational_ai/llm_usage/raw_client.py +++ b/src/elevenlabs/conversational_ai/llm_usage/raw_client.py @@ -9,7 +9,6 @@ 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 # this is used as the default value for optional parameters @@ -78,9 +77,9 @@ def calculate( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -153,9 +152,9 @@ async def calculate( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_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..3fa6a7ef 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 @@ -10,7 +10,6 @@ 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 @@ -74,9 +73,9 @@ def update( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -143,9 +142,9 @@ async def update( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_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 08eaddea..a2979560 100644 --- a/src/elevenlabs/conversational_ai/mcp_servers/raw_client.py +++ b/src/elevenlabs/conversational_ai/mcp_servers/raw_client.py @@ -12,7 +12,6 @@ from ...core.unchecked_base_model import construct_type from ...errors.unprocessable_entity_error import UnprocessableEntityError from ...types.conv_ai_secret_locator import ConvAiSecretLocator -from ...types.http_validation_error import HttpValidationError from ...types.mcp_approval_policy import McpApprovalPolicy from ...types.mcp_server_config_input import McpServerConfigInput from ...types.mcp_server_response_model import McpServerResponseModel @@ -68,9 +67,9 @@ def list(self, *, request_options: typing.Optional[RequestOptions] = None) -> Ht raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -127,9 +126,9 @@ def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -177,9 +176,9 @@ def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -229,9 +228,9 @@ def delete( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -350,9 +349,9 @@ def update( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -402,9 +401,9 @@ async def list( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -461,9 +460,9 @@ async def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -511,9 +510,9 @@ async def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -563,9 +562,9 @@ async def delete( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -684,9 +683,9 @@ async def update( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_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..60199c3b 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 @@ -10,7 +10,6 @@ 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 @@ -89,9 +88,9 @@ def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -142,9 +141,9 @@ def delete( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -226,9 +225,9 @@ async def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -279,9 +278,9 @@ async def delete( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_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..85ec14a8 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 @@ -14,7 +14,6 @@ from ....errors.not_found_error import NotFoundError from ....errors.unprocessable_entity_error import UnprocessableEntityError from ....types.dynamic_variable_assignment import DynamicVariableAssignment -from ....types.http_validation_error import HttpValidationError from ....types.mcp_server_response_model import McpServerResponseModel from ....types.mcp_tool_config_override import McpToolConfigOverride from ....types.tool_call_sound_behavior import ToolCallSoundBehavior @@ -143,9 +142,9 @@ def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -207,9 +206,9 @@ def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -260,9 +259,9 @@ def delete( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -379,9 +378,9 @@ def update( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -504,9 +503,9 @@ async def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -568,9 +567,9 @@ async def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -621,9 +620,9 @@ async def delete( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -740,9 +739,9 @@ async def update( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_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..03448056 100644 --- a/src/elevenlabs/conversational_ai/mcp_servers/tools/raw_client.py +++ b/src/elevenlabs/conversational_ai/mcp_servers/tools/raw_client.py @@ -10,7 +10,6 @@ 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 @@ -56,9 +55,9 @@ def list( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -111,9 +110,9 @@ async def list( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_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..d44a2d0a 100644 --- a/src/elevenlabs/conversational_ai/phone_numbers/raw_client.py +++ b/src/elevenlabs/conversational_ai/phone_numbers/raw_client.py @@ -12,7 +12,6 @@ from ...core.unchecked_base_model import construct_type from ...errors.unprocessable_entity_error import UnprocessableEntityError from ...types.create_phone_number_response_model import CreatePhoneNumberResponseModel -from ...types.http_validation_error import HttpValidationError from ...types.inbound_sip_trunk_config_request_model import InboundSipTrunkConfigRequestModel from ...types.livekit_stack_type import LivekitStackType from ...types.outbound_sip_trunk_config_request_model import OutboundSipTrunkConfigRequestModel @@ -64,9 +63,9 @@ def list( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -120,9 +119,9 @@ def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -170,9 +169,9 @@ def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -222,9 +221,9 @@ def delete( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -305,9 +304,9 @@ def update( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -357,9 +356,9 @@ async def list( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -413,9 +412,9 @@ async def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -463,9 +462,9 @@ async def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -515,9 +514,9 @@ async def delete( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -598,9 +597,9 @@ async def update( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/conversational_ai/raw_client.py b/src/elevenlabs/conversational_ai/raw_client.py index 19b2f2b1..4902ae60 100644 --- a/src/elevenlabs/conversational_ai/raw_client.py +++ b/src/elevenlabs/conversational_ai/raw_client.py @@ -12,7 +12,6 @@ from ..core.unchecked_base_model import construct_type from ..errors.unprocessable_entity_error import UnprocessableEntityError from ..types.add_knowledge_base_response_model import AddKnowledgeBaseResponseModel -from ..types.http_validation_error import HttpValidationError 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 @@ -89,9 +88,9 @@ def add_to_knowledge_base( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -136,9 +135,9 @@ def rag_index_overview( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -186,9 +185,9 @@ def get_document_rag_indexes( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -239,9 +238,9 @@ def delete_document_rag_index( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -320,9 +319,9 @@ async def add_to_knowledge_base( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -367,9 +366,9 @@ async def rag_index_overview( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -417,9 +416,9 @@ async def get_document_rag_indexes( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -470,9 +469,9 @@ async def delete_document_rag_index( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/conversational_ai/secrets/raw_client.py b/src/elevenlabs/conversational_ai/secrets/raw_client.py index 710cf6c3..422fa57b 100644 --- a/src/elevenlabs/conversational_ai/secrets/raw_client.py +++ b/src/elevenlabs/conversational_ai/secrets/raw_client.py @@ -11,7 +11,6 @@ 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 # this is used as the default value for optional parameters @@ -71,9 +70,9 @@ def list( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -131,9 +130,9 @@ def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -170,9 +169,9 @@ def delete(self, secret_id: str, *, request_options: typing.Optional[RequestOpti raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -232,9 +231,9 @@ def update( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -298,9 +297,9 @@ async def list( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -358,9 +357,9 @@ async def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -399,9 +398,9 @@ async def delete( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -461,9 +460,9 @@ async def update( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/conversational_ai/settings/raw_client.py b/src/elevenlabs/conversational_ai/settings/raw_client.py index bf92b32c..df077a93 100644 --- a/src/elevenlabs/conversational_ai/settings/raw_client.py +++ b/src/elevenlabs/conversational_ai/settings/raw_client.py @@ -13,7 +13,6 @@ from ...types.conv_ai_webhooks import ConvAiWebhooks from ...types.conversation_initiation_client_data_webhook import ConversationInitiationClientDataWebhook from ...types.get_conv_ai_settings_response_model import GetConvAiSettingsResponseModel -from ...types.http_validation_error import HttpValidationError from ...types.livekit_stack_type import LivekitStackType # this is used as the default value for optional parameters @@ -59,9 +58,9 @@ def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -146,9 +145,9 @@ def update( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -198,9 +197,9 @@ async def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -285,9 +284,9 @@ async def update( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_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..25dc4ebf 100644 --- a/src/elevenlabs/conversational_ai/sip_trunk/raw_client.py +++ b/src/elevenlabs/conversational_ai/sip_trunk/raw_client.py @@ -11,7 +11,6 @@ from ...core.unchecked_base_model import construct_type from ...errors.unprocessable_entity_error import UnprocessableEntityError from ...types.conversation_initiation_client_data_request_input import ConversationInitiationClientDataRequestInput -from ...types.http_validation_error import HttpValidationError from ...types.sip_trunk_outbound_call_response import SipTrunkOutboundCallResponse from ...types.telephony_call_config import TelephonyCallConfig @@ -92,9 +91,9 @@ def outbound_call( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -178,9 +177,9 @@ async def outbound_call( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_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..07b5e673 100644 --- a/src/elevenlabs/conversational_ai/tests/invocations/raw_client.py +++ b/src/elevenlabs/conversational_ai/tests/invocations/raw_client.py @@ -14,7 +14,6 @@ from ....types.adhoc_agent_config_override_for_test_request_model import AdhocAgentConfigOverrideForTestRequestModel 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 # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -78,9 +77,9 @@ def list( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -128,9 +127,9 @@ def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -213,9 +212,9 @@ def resubmit( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -284,9 +283,9 @@ async def list( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -334,9 +333,9 @@ async def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -419,9 +418,9 @@ async def resubmit( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/conversational_ai/tests/raw_client.py b/src/elevenlabs/conversational_ai/tests/raw_client.py index 9b903a5c..b89d901d 100644 --- a/src/elevenlabs/conversational_ai/tests/raw_client.py +++ b/src/elevenlabs/conversational_ai/tests/raw_client.py @@ -14,7 +14,6 @@ from ...types.create_agent_test_response_model import CreateAgentTestResponseModel from ...types.get_tests_page_response_model import GetTestsPageResponseModel from ...types.get_tests_summaries_by_ids_response_model import GetTestsSummariesByIdsResponseModel -from ...types.http_validation_error import HttpValidationError from ...types.test_type import TestType from .types.tests_create_request_body import TestsCreateRequestBody from .types.tests_get_response import TestsGetResponse @@ -74,9 +73,9 @@ def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -124,9 +123,9 @@ def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -183,9 +182,9 @@ def update( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -235,9 +234,9 @@ def delete( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -292,9 +291,9 @@ def summaries( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -378,9 +377,9 @@ def list( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -439,9 +438,9 @@ async def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -489,9 +488,9 @@ async def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -548,9 +547,9 @@ async def update( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -600,9 +599,9 @@ async def delete( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -657,9 +656,9 @@ async def summaries( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -743,9 +742,9 @@ async def list( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/conversational_ai/tests/types/tests_create_request_body.py b/src/elevenlabs/conversational_ai/tests/types/tests_create_request_body.py index f5af4d36..a725ee63 100644 --- a/src/elevenlabs/conversational_ai/tests/types/tests_create_request_body.py +++ b/src/elevenlabs/conversational_ai/tests/types/tests_create_request_body.py @@ -20,6 +20,7 @@ from ....types.create_tool_call_unit_test_request_dynamic_variables_value import ( CreateToolCallUnitTestRequestDynamicVariablesValue, ) +from ....types.simulation_tool_mock_behavior_config import SimulationToolMockBehaviorConfig from ....types.test_from_conversation_metadata_input import TestFromConversationMetadataInput from ....types.unit_test_tool_call_evaluation_model_input import UnitTestToolCallEvaluationModelInput @@ -92,6 +93,7 @@ class TestsCreateRequestBody_Simulation(UncheckedBaseModel): simulation_scenario: typing.Optional[str] = None simulation_max_turns: typing.Optional[int] = None simulation_environment: typing.Optional[str] = None + tool_mock_config: typing.Optional[SimulationToolMockBehaviorConfig] = None name: str parent_folder_id: typing.Optional[str] = None diff --git a/src/elevenlabs/conversational_ai/tests/types/tests_get_response.py b/src/elevenlabs/conversational_ai/tests/types/tests_get_response.py index 755a042b..557743fc 100644 --- a/src/elevenlabs/conversational_ai/tests/types/tests_get_response.py +++ b/src/elevenlabs/conversational_ai/tests/types/tests_get_response.py @@ -20,6 +20,7 @@ from ....types.get_tool_call_unit_test_response_model_dynamic_variables_value import ( GetToolCallUnitTestResponseModelDynamicVariablesValue, ) +from ....types.simulation_tool_mock_behavior_config import SimulationToolMockBehaviorConfig from ....types.test_from_conversation_metadata_output import TestFromConversationMetadataOutput from ....types.unit_test_tool_call_evaluation_model_output import UnitTestToolCallEvaluationModelOutput @@ -80,6 +81,7 @@ class TestsGetResponse_Simulation(UncheckedBaseModel): simulation_scenario: typing.Optional[str] = None simulation_max_turns: typing.Optional[int] = None simulation_environment: typing.Optional[str] = None + tool_mock_config: typing.Optional[SimulationToolMockBehaviorConfig] = None id: str name: str diff --git a/src/elevenlabs/conversational_ai/tests/types/tests_update_request_body.py b/src/elevenlabs/conversational_ai/tests/types/tests_update_request_body.py index 094bf16a..bc837666 100644 --- a/src/elevenlabs/conversational_ai/tests/types/tests_update_request_body.py +++ b/src/elevenlabs/conversational_ai/tests/types/tests_update_request_body.py @@ -11,6 +11,7 @@ from ....types.agent_failure_response_example import AgentFailureResponseExample from ....types.agent_successful_response_example import AgentSuccessfulResponseExample from ....types.conversation_history_transcript_common_model_input import ConversationHistoryTranscriptCommonModelInput +from ....types.simulation_tool_mock_behavior_config import SimulationToolMockBehaviorConfig from ....types.test_from_conversation_metadata_input import TestFromConversationMetadataInput from ....types.unit_test_tool_call_evaluation_model_input import UnitTestToolCallEvaluationModelInput from ....types.update_response_unit_test_request_dynamic_variables_value import ( @@ -92,6 +93,7 @@ class TestsUpdateRequestBody_Simulation(UncheckedBaseModel): simulation_scenario: typing.Optional[str] = None simulation_max_turns: typing.Optional[int] = None simulation_environment: typing.Optional[str] = None + tool_mock_config: typing.Optional[SimulationToolMockBehaviorConfig] = None name: str parent_folder_id: typing.Optional[str] = None diff --git a/src/elevenlabs/conversational_ai/tests/types/tests_update_response.py b/src/elevenlabs/conversational_ai/tests/types/tests_update_response.py index 0e8a8f69..26c63fbe 100644 --- a/src/elevenlabs/conversational_ai/tests/types/tests_update_response.py +++ b/src/elevenlabs/conversational_ai/tests/types/tests_update_response.py @@ -20,6 +20,7 @@ from ....types.get_tool_call_unit_test_response_model_dynamic_variables_value import ( GetToolCallUnitTestResponseModelDynamicVariablesValue, ) +from ....types.simulation_tool_mock_behavior_config import SimulationToolMockBehaviorConfig from ....types.test_from_conversation_metadata_output import TestFromConversationMetadataOutput from ....types.unit_test_tool_call_evaluation_model_output import UnitTestToolCallEvaluationModelOutput @@ -80,6 +81,7 @@ class TestsUpdateResponse_Simulation(UncheckedBaseModel): simulation_scenario: typing.Optional[str] = None simulation_max_turns: typing.Optional[int] = None simulation_environment: typing.Optional[str] = None + tool_mock_config: typing.Optional[SimulationToolMockBehaviorConfig] = None id: str name: str diff --git a/src/elevenlabs/conversational_ai/tools/raw_client.py b/src/elevenlabs/conversational_ai/tools/raw_client.py index b0cab100..929b0a11 100644 --- a/src/elevenlabs/conversational_ai/tools/raw_client.py +++ b/src/elevenlabs/conversational_ai/tools/raw_client.py @@ -12,7 +12,6 @@ from ...core.unchecked_base_model import construct_type from ...errors.unprocessable_entity_error import UnprocessableEntityError from ...types.get_tool_dependent_agents_response_model import GetToolDependentAgentsResponseModel -from ...types.http_validation_error import HttpValidationError from ...types.sort_direction import SortDirection from ...types.tool_request_model import ToolRequestModel from ...types.tool_response_model import ToolResponseModel @@ -107,9 +106,9 @@ def list( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -163,9 +162,9 @@ def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -213,9 +212,9 @@ def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -275,9 +274,9 @@ def delete( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -334,9 +333,9 @@ def update( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -399,9 +398,9 @@ def get_dependent_agents( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -495,9 +494,9 @@ async def list( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -551,9 +550,9 @@ async def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -601,9 +600,9 @@ async def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -663,9 +662,9 @@ async def delete( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -722,9 +721,9 @@ async def update( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -787,9 +786,9 @@ async def get_dependent_agents( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/conversational_ai/twilio/raw_client.py b/src/elevenlabs/conversational_ai/twilio/raw_client.py index b691a19b..a4cbf937 100644 --- a/src/elevenlabs/conversational_ai/twilio/raw_client.py +++ b/src/elevenlabs/conversational_ai/twilio/raw_client.py @@ -11,7 +11,6 @@ from ...core.unchecked_base_model import construct_type from ...errors.unprocessable_entity_error import UnprocessableEntityError from ...types.conversation_initiation_client_data_request_input import ConversationInitiationClientDataRequestInput -from ...types.http_validation_error import HttpValidationError from ...types.telephony_call_config import TelephonyCallConfig from ...types.telephony_direction import TelephonyDirection from ...types.twilio_outbound_call_response import TwilioOutboundCallResponse @@ -98,9 +97,9 @@ def outbound_call( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -169,9 +168,9 @@ def register_call( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -260,9 +259,9 @@ async def outbound_call( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -331,9 +330,9 @@ async def register_call( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/conversational_ai/users/raw_client.py b/src/elevenlabs/conversational_ai/users/raw_client.py index b0e6eff8..8c9fb824 100644 --- a/src/elevenlabs/conversational_ai/users/raw_client.py +++ b/src/elevenlabs/conversational_ai/users/raw_client.py @@ -10,7 +10,6 @@ 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 @@ -97,9 +96,9 @@ def list( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -193,9 +192,9 @@ async def list( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/conversational_ai/whatsapp/raw_client.py b/src/elevenlabs/conversational_ai/whatsapp/raw_client.py index 3a3e2597..8b901e3b 100644 --- a/src/elevenlabs/conversational_ai/whatsapp/raw_client.py +++ b/src/elevenlabs/conversational_ai/whatsapp/raw_client.py @@ -11,7 +11,6 @@ from ...core.unchecked_base_model import construct_type from ...errors.unprocessable_entity_error import UnprocessableEntityError from ...types.conversation_initiation_client_data_request_input import ConversationInitiationClientDataRequestInput -from ...types.http_validation_error import HttpValidationError from ...types.whats_app_outbound_call_response import WhatsAppOutboundCallResponse from ...types.whats_app_outbound_message_response import WhatsAppOutboundMessageResponse from .types.body_send_an_outbound_message_via_whats_app_v_1_convai_whatsapp_outbound_message_post_template_params_item import ( @@ -97,9 +96,9 @@ def outbound_call( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -192,9 +191,9 @@ def outbound_message( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -280,9 +279,9 @@ async def outbound_call( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -375,9 +374,9 @@ async def outbound_message( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_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..e85b5526 100644 --- a/src/elevenlabs/conversational_ai/whatsapp_accounts/raw_client.py +++ b/src/elevenlabs/conversational_ai/whatsapp_accounts/raw_client.py @@ -11,7 +11,6 @@ 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 # this is used as the default value for optional parameters @@ -59,9 +58,9 @@ def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -110,9 +109,9 @@ def delete( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -182,9 +181,9 @@ def update( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -229,9 +228,9 @@ def list( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -283,9 +282,9 @@ async def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -334,9 +333,9 @@ async def delete( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -406,9 +405,9 @@ async def update( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -453,9 +452,9 @@ async def list( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/core/client_wrapper.py b/src/elevenlabs/core/client_wrapper.py index 706b4103..daf322a0 100644 --- a/src/elevenlabs/core/client_wrapper.py +++ b/src/elevenlabs/core/client_wrapper.py @@ -22,10 +22,10 @@ def __init__( def get_headers(self) -> typing.Dict[str, str]: headers: typing.Dict[str, str] = { - "User-Agent": "elevenlabs/v2.40.0", + "User-Agent": "elevenlabs/2.41.0", "X-Fern-Language": "Python", "X-Fern-SDK-Name": "elevenlabs", - "X-Fern-SDK-Version": "v2.40.0", + "X-Fern-SDK-Version": "2.41.0", **(self.get_custom_headers() or {}), } if self._api_key is not None: diff --git a/src/elevenlabs/dubbing/audio/raw_client.py b/src/elevenlabs/dubbing/audio/raw_client.py index 0dd63e41..ba70310b 100644 --- a/src/elevenlabs/dubbing/audio/raw_client.py +++ b/src/elevenlabs/dubbing/audio/raw_client.py @@ -14,7 +14,6 @@ from ...errors.not_found_error import NotFoundError from ...errors.too_early_error import TooEarlyError from ...errors.unprocessable_entity_error import UnprocessableEntityError -from ...types.http_validation_error import HttpValidationError class RawAudioClient: @@ -84,9 +83,9 @@ def _stream() -> HttpResponse[typing.Iterator[bytes]]: raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -180,9 +179,9 @@ async def _stream() -> AsyncHttpResponse[typing.AsyncIterator[bytes]]: raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/dubbing/raw_client.py b/src/elevenlabs/dubbing/raw_client.py index 95572caf..f47b730a 100644 --- a/src/elevenlabs/dubbing/raw_client.py +++ b/src/elevenlabs/dubbing/raw_client.py @@ -15,7 +15,6 @@ from ..types.do_dubbing_response import DoDubbingResponse from ..types.dubbing_metadata_page_response_model import DubbingMetadataPageResponseModel from ..types.dubbing_metadata_response import DubbingMetadataResponse -from ..types.http_validation_error import HttpValidationError 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 @@ -98,9 +97,9 @@ def list( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -253,9 +252,9 @@ def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -303,9 +302,9 @@ def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -353,9 +352,9 @@ def delete( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -439,9 +438,9 @@ async def list( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -594,9 +593,9 @@ async def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -644,9 +643,9 @@ async def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -694,9 +693,9 @@ async def delete( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/dubbing/resource/language/raw_client.py b/src/elevenlabs/dubbing/resource/language/raw_client.py index 0f06f88a..a521ff33 100644 --- a/src/elevenlabs/dubbing/resource/language/raw_client.py +++ b/src/elevenlabs/dubbing/resource/language/raw_client.py @@ -10,7 +10,6 @@ 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 # this is used as the default value for optional parameters @@ -73,9 +72,9 @@ def add( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -142,9 +141,9 @@ async def add( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/dubbing/resource/raw_client.py b/src/elevenlabs/dubbing/resource/raw_client.py index 010c42f9..23f21e8b 100644 --- a/src/elevenlabs/dubbing/resource/raw_client.py +++ b/src/elevenlabs/dubbing/resource/raw_client.py @@ -12,7 +12,6 @@ from ...errors.unprocessable_entity_error import UnprocessableEntityError from ...types.dubbing_render_response_model import DubbingRenderResponseModel from ...types.dubbing_resource import DubbingResource -from ...types.http_validation_error import HttpValidationError from ...types.render_type import RenderType from ...types.segment_dub_response import SegmentDubResponse from ...types.segment_migration_response import SegmentMigrationResponse @@ -65,9 +64,9 @@ def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -132,9 +131,9 @@ def migrate_segments( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -196,9 +195,9 @@ def transcribe( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -265,9 +264,9 @@ def translate( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -334,9 +333,9 @@ def dub( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -407,9 +406,9 @@ def render( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -462,9 +461,9 @@ async def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -529,9 +528,9 @@ async def migrate_segments( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -593,9 +592,9 @@ async def transcribe( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -662,9 +661,9 @@ async def translate( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -731,9 +730,9 @@ async def dub( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -804,9 +803,9 @@ async def render( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/dubbing/resource/segment/raw_client.py b/src/elevenlabs/dubbing/resource/segment/raw_client.py index 70aa01d8..3aa98369 100644 --- a/src/elevenlabs/dubbing/resource/segment/raw_client.py +++ b/src/elevenlabs/dubbing/resource/segment/raw_client.py @@ -10,7 +10,6 @@ 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 @@ -89,9 +88,9 @@ def update( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -142,9 +141,9 @@ def delete( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -226,9 +225,9 @@ async def update( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -279,9 +278,9 @@ async def delete( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/dubbing/resource/speaker/raw_client.py b/src/elevenlabs/dubbing/resource/speaker/raw_client.py index 3e84f53f..7989e34d 100644 --- a/src/elevenlabs/dubbing/resource/speaker/raw_client.py +++ b/src/elevenlabs/dubbing/resource/speaker/raw_client.py @@ -10,7 +10,6 @@ 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.similar_voices_for_speaker_response import SimilarVoicesForSpeakerResponse from ....types.speaker_created_response import SpeakerCreatedResponse from ....types.speaker_updated_response import SpeakerUpdatedResponse @@ -104,9 +103,9 @@ def update( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -186,9 +185,9 @@ def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -239,9 +238,9 @@ def find_similar_voices( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -337,9 +336,9 @@ async def update( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -419,9 +418,9 @@ async def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -472,9 +471,9 @@ async def find_similar_voices( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_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..cba6119e 100644 --- a/src/elevenlabs/dubbing/resource/speaker/segment/raw_client.py +++ b/src/elevenlabs/dubbing/resource/speaker/segment/raw_client.py @@ -10,7 +10,6 @@ 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 # this is used as the default value for optional parameters @@ -88,9 +87,9 @@ def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -172,9 +171,9 @@ async def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/dubbing/transcript/raw_client.py b/src/elevenlabs/dubbing/transcript/raw_client.py index 107bdca2..f29722b3 100644 --- a/src/elevenlabs/dubbing/transcript/raw_client.py +++ b/src/elevenlabs/dubbing/transcript/raw_client.py @@ -13,7 +13,6 @@ from ...errors.not_found_error import NotFoundError from ...errors.too_early_error import TooEarlyError from ...errors.unprocessable_entity_error import UnprocessableEntityError -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 @@ -96,9 +95,9 @@ def get_transcript_for_dub( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -198,9 +197,9 @@ async def get_transcript_for_dub( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/dubbing/transcripts/raw_client.py b/src/elevenlabs/dubbing/transcripts/raw_client.py index 9c02eabd..369827d9 100644 --- a/src/elevenlabs/dubbing/transcripts/raw_client.py +++ b/src/elevenlabs/dubbing/transcripts/raw_client.py @@ -11,7 +11,6 @@ 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 @@ -68,9 +67,9 @@ def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -134,9 +133,9 @@ async def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/environment_variables/raw_client.py b/src/elevenlabs/environment_variables/raw_client.py index 08d534db..44e3889a 100644 --- a/src/elevenlabs/environment_variables/raw_client.py +++ b/src/elevenlabs/environment_variables/raw_client.py @@ -16,7 +16,6 @@ from ..errors.unprocessable_entity_error import UnprocessableEntityError from ..types.environment_variable_response import EnvironmentVariableResponse from ..types.environment_variables_list_response import EnvironmentVariablesListResponse -from ..types.http_validation_error import HttpValidationError from .types.environment_variables_create_request_body import EnvironmentVariablesCreateRequestBody from .types.environment_variables_list_request_type import EnvironmentVariablesListRequestType from .types.update_environment_variable_request_values_value import UpdateEnvironmentVariableRequestValuesValue @@ -104,9 +103,9 @@ def list( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -182,9 +181,9 @@ def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -242,9 +241,9 @@ def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -331,9 +330,9 @@ def update( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -423,9 +422,9 @@ async def list( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -501,9 +500,9 @@ async def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -561,9 +560,9 @@ async def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -650,9 +649,9 @@ async def update( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/errors/unprocessable_entity_error.py b/src/elevenlabs/errors/unprocessable_entity_error.py index d3f9c5d8..1c801a4b 100644 --- a/src/elevenlabs/errors/unprocessable_entity_error.py +++ b/src/elevenlabs/errors/unprocessable_entity_error.py @@ -3,9 +3,8 @@ import typing from ..core.api_error import ApiError -from ..types.http_validation_error import HttpValidationError class UnprocessableEntityError(ApiError): - def __init__(self, body: HttpValidationError, headers: typing.Optional[typing.Dict[str, str]] = None): + def __init__(self, body: typing.Any, headers: typing.Optional[typing.Dict[str, str]] = None): super().__init__(status_code=422, headers=headers, body=body) diff --git a/src/elevenlabs/forced_alignment/client.py b/src/elevenlabs/forced_alignment/client.py index 011a6b34..325d2ad7 100644 --- a/src/elevenlabs/forced_alignment/client.py +++ b/src/elevenlabs/forced_alignment/client.py @@ -28,12 +28,7 @@ def with_raw_response(self) -> RawForcedAlignmentClient: return self._raw_client def create( - self, - *, - file: core.File, - text: str, - enabled_spooled_file: typing.Optional[bool] = OMIT, - request_options: typing.Optional[RequestOptions] = None, + self, *, file: core.File, text: str, request_options: typing.Optional[RequestOptions] = None ) -> ForcedAlignmentResponseModel: """ Force align an audio file to text. Use this endpoint to get the timing information for each character and word in an audio file based on a provided text transcript. @@ -46,9 +41,6 @@ def create( text : str The text to align with the audio. The input text can be in any format, however diarization is not supported at this time. - enabled_spooled_file : typing.Optional[bool] - If true, the file will be streamed to the server and processed in chunks. This is useful for large files that cannot be loaded into memory. The default is false. - request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -68,9 +60,7 @@ def create( text="text", ) """ - _response = self._raw_client.create( - file=file, text=text, enabled_spooled_file=enabled_spooled_file, request_options=request_options - ) + _response = self._raw_client.create(file=file, text=text, request_options=request_options) return _response.data @@ -90,12 +80,7 @@ def with_raw_response(self) -> AsyncRawForcedAlignmentClient: return self._raw_client async def create( - self, - *, - file: core.File, - text: str, - enabled_spooled_file: typing.Optional[bool] = OMIT, - request_options: typing.Optional[RequestOptions] = None, + self, *, file: core.File, text: str, request_options: typing.Optional[RequestOptions] = None ) -> ForcedAlignmentResponseModel: """ Force align an audio file to text. Use this endpoint to get the timing information for each character and word in an audio file based on a provided text transcript. @@ -108,9 +93,6 @@ async def create( text : str The text to align with the audio. The input text can be in any format, however diarization is not supported at this time. - enabled_spooled_file : typing.Optional[bool] - If true, the file will be streamed to the server and processed in chunks. This is useful for large files that cannot be loaded into memory. The default is false. - request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -138,7 +120,5 @@ async def main() -> None: asyncio.run(main()) """ - _response = await self._raw_client.create( - file=file, text=text, enabled_spooled_file=enabled_spooled_file, request_options=request_options - ) + _response = await self._raw_client.create(file=file, text=text, request_options=request_options) return _response.data diff --git a/src/elevenlabs/forced_alignment/raw_client.py b/src/elevenlabs/forced_alignment/raw_client.py index 2f4c7d89..b586a5a2 100644 --- a/src/elevenlabs/forced_alignment/raw_client.py +++ b/src/elevenlabs/forced_alignment/raw_client.py @@ -11,7 +11,6 @@ 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 # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -22,12 +21,7 @@ def __init__(self, *, client_wrapper: SyncClientWrapper): self._client_wrapper = client_wrapper def create( - self, - *, - file: core.File, - text: str, - enabled_spooled_file: typing.Optional[bool] = OMIT, - request_options: typing.Optional[RequestOptions] = None, + self, *, file: core.File, text: str, request_options: typing.Optional[RequestOptions] = None ) -> HttpResponse[ForcedAlignmentResponseModel]: """ Force align an audio file to text. Use this endpoint to get the timing information for each character and word in an audio file based on a provided text transcript. @@ -40,9 +34,6 @@ def create( text : str The text to align with the audio. The input text can be in any format, however diarization is not supported at this time. - enabled_spooled_file : typing.Optional[bool] - If true, the file will be streamed to the server and processed in chunks. This is useful for large files that cannot be loaded into memory. The default is false. - request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -56,7 +47,6 @@ def create( method="POST", data={ "text": text, - "enabled_spooled_file": enabled_spooled_file, }, files={ "file": file, @@ -79,9 +69,9 @@ def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -97,12 +87,7 @@ def __init__(self, *, client_wrapper: AsyncClientWrapper): self._client_wrapper = client_wrapper async def create( - self, - *, - file: core.File, - text: str, - enabled_spooled_file: typing.Optional[bool] = OMIT, - request_options: typing.Optional[RequestOptions] = None, + self, *, file: core.File, text: str, request_options: typing.Optional[RequestOptions] = None ) -> AsyncHttpResponse[ForcedAlignmentResponseModel]: """ Force align an audio file to text. Use this endpoint to get the timing information for each character and word in an audio file based on a provided text transcript. @@ -115,9 +100,6 @@ async def create( text : str The text to align with the audio. The input text can be in any format, however diarization is not supported at this time. - enabled_spooled_file : typing.Optional[bool] - If true, the file will be streamed to the server and processed in chunks. This is useful for large files that cannot be loaded into memory. The default is false. - request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -131,7 +113,6 @@ async def create( method="POST", data={ "text": text, - "enabled_spooled_file": enabled_spooled_file, }, files={ "file": file, @@ -154,9 +135,9 @@ async def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/history/raw_client.py b/src/elevenlabs/history/raw_client.py index 3a292ce6..7506b796 100644 --- a/src/elevenlabs/history/raw_client.py +++ b/src/elevenlabs/history/raw_client.py @@ -14,7 +14,6 @@ from ..errors.unprocessable_entity_error import UnprocessableEntityError from ..types.delete_history_item_response import DeleteHistoryItemResponse from ..types.get_speech_history_response import GetSpeechHistoryResponse -from ..types.http_validation_error import HttpValidationError 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 @@ -111,9 +110,9 @@ def list( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -161,9 +160,9 @@ def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -211,9 +210,9 @@ def delete( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -261,9 +260,9 @@ def _stream() -> HttpResponse[typing.Iterator[bytes]]: raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -341,9 +340,9 @@ def _stream() -> HttpResponse[typing.Iterator[bytes]]: raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -446,9 +445,9 @@ async def list( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -496,9 +495,9 @@ async def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -546,9 +545,9 @@ async def delete( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -597,9 +596,9 @@ async def _stream() -> AsyncHttpResponse[typing.AsyncIterator[bytes]]: raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -678,9 +677,9 @@ async def _stream() -> AsyncHttpResponse[typing.AsyncIterator[bytes]]: raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/models/raw_client.py b/src/elevenlabs/models/raw_client.py index 51c72f21..eba3eaa8 100644 --- a/src/elevenlabs/models/raw_client.py +++ b/src/elevenlabs/models/raw_client.py @@ -9,7 +9,6 @@ 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 @@ -50,9 +49,9 @@ def list(self, *, request_options: typing.Optional[RequestOptions] = None) -> Ht raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -102,9 +101,9 @@ async def list( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/music/client.py b/src/elevenlabs/music/client.py index 7fe972bd..bfadf26d 100644 --- a/src/elevenlabs/music/client.py +++ b/src/elevenlabs/music/client.py @@ -36,6 +36,54 @@ def with_raw_response(self) -> RawMusicClient: """ return self._raw_client + def video_to_music( + self, + *, + videos: typing.List[core.File], + output_format: typing.Optional[AllowedOutputFormats] = None, + description: typing.Optional[str] = OMIT, + tags: typing.Optional[typing.List[str]] = OMIT, + sign_with_c_2_pa: typing.Optional[bool] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> typing.Iterator[bytes]: + """ + Generate background music from one or more video files. Videos are combined in order. Optional description and style tags influence the generated music. + + Parameters + ---------- + videos : typing.List[core.File] + See core.File for more documentation + + 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. + + description : typing.Optional[str] + Optional text description of the music you want. A maximum of 1000 characters is allowed. + + tags : typing.Optional[typing.List[str]] + Optional list of style tags (e.g. ['upbeat', 'cinematic']). A maximum of 10 tags is allowed. + + 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. You can pass in configuration such as `chunk_size`, and more to customize the request and response. + + Returns + ------- + typing.Iterator[bytes] + Generated audio file matching the video. Content-Type and file extension depend on the output_format parameter (default mp3). + """ + with self._raw_client.video_to_music( + videos=videos, + output_format=output_format, + description=description, + tags=tags, + sign_with_c_2_pa=sign_with_c_2_pa, + request_options=request_options, + ) as r: + yield from r.data + def compose( self, *, @@ -386,6 +434,55 @@ def with_raw_response(self) -> AsyncRawMusicClient: """ return self._raw_client + async def video_to_music( + self, + *, + videos: typing.List[core.File], + output_format: typing.Optional[AllowedOutputFormats] = None, + description: typing.Optional[str] = OMIT, + tags: typing.Optional[typing.List[str]] = OMIT, + sign_with_c_2_pa: typing.Optional[bool] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> typing.AsyncIterator[bytes]: + """ + Generate background music from one or more video files. Videos are combined in order. Optional description and style tags influence the generated music. + + Parameters + ---------- + videos : typing.List[core.File] + See core.File for more documentation + + 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. + + description : typing.Optional[str] + Optional text description of the music you want. A maximum of 1000 characters is allowed. + + tags : typing.Optional[typing.List[str]] + Optional list of style tags (e.g. ['upbeat', 'cinematic']). A maximum of 10 tags is allowed. + + 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. You can pass in configuration such as `chunk_size`, and more to customize the request and response. + + Returns + ------- + typing.AsyncIterator[bytes] + Generated audio file matching the video. Content-Type and file extension depend on the output_format parameter (default mp3). + """ + async with self._raw_client.video_to_music( + videos=videos, + output_format=output_format, + description=description, + tags=tags, + sign_with_c_2_pa=sign_with_c_2_pa, + request_options=request_options, + ) as r: + async for _chunk in r.data: + yield _chunk + async def compose( self, *, diff --git a/src/elevenlabs/music/composition_plan/raw_client.py b/src/elevenlabs/music/composition_plan/raw_client.py index d2160d42..0a73b49f 100644 --- a/src/elevenlabs/music/composition_plan/raw_client.py +++ b/src/elevenlabs/music/composition_plan/raw_client.py @@ -10,7 +10,6 @@ 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 # this is used as the default value for optional parameters @@ -86,9 +85,9 @@ def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -168,9 +167,9 @@ async def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/music/raw_client.py b/src/elevenlabs/music/raw_client.py index 699c5729..3a171805 100644 --- a/src/elevenlabs/music/raw_client.py +++ b/src/elevenlabs/music/raw_client.py @@ -11,9 +11,9 @@ 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.forbidden_error import ForbiddenError from ..errors.unprocessable_entity_error import UnprocessableEntityError from ..types.allowed_output_formats import AllowedOutputFormats -from ..types.http_validation_error import HttpValidationError from ..types.music_prompt import MusicPrompt from ..types.music_upload_response import MusicUploadResponse from .types.music_separate_stems_request_stem_variation_id import MusicSeparateStemsRequestStemVariationId @@ -26,6 +26,103 @@ class RawMusicClient: def __init__(self, *, client_wrapper: SyncClientWrapper): self._client_wrapper = client_wrapper + @contextlib.contextmanager + def video_to_music( + self, + *, + videos: typing.List[core.File], + output_format: typing.Optional[AllowedOutputFormats] = None, + description: typing.Optional[str] = OMIT, + tags: typing.Optional[typing.List[str]] = OMIT, + sign_with_c_2_pa: typing.Optional[bool] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> typing.Iterator[HttpResponse[typing.Iterator[bytes]]]: + """ + Generate background music from one or more video files. Videos are combined in order. Optional description and style tags influence the generated music. + + Parameters + ---------- + videos : typing.List[core.File] + See core.File for more documentation + + 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. + + description : typing.Optional[str] + Optional text description of the music you want. A maximum of 1000 characters is allowed. + + tags : typing.Optional[typing.List[str]] + Optional list of style tags (e.g. ['upbeat', 'cinematic']). A maximum of 10 tags is allowed. + + 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. You can pass in configuration such as `chunk_size`, and more to customize the request and response. + + Returns + ------- + typing.Iterator[HttpResponse[typing.Iterator[bytes]]] + Generated audio file matching the video. Content-Type and file extension depend on the output_format parameter (default mp3). + """ + with self._client_wrapper.httpx_client.stream( + "v1/music/video-to-music", + method="POST", + params={ + "output_format": output_format, + }, + data={ + "description": description, + "tags": tags, + "sign_with_c2pa": sign_with_c_2_pa, + }, + files={ + "videos": videos, + }, + request_options=request_options, + omit=OMIT, + force_multipart=True, + ) as _response: + + def _stream() -> HttpResponse[typing.Iterator[bytes]]: + try: + if 200 <= _response.status_code < 300: + _chunk_size = request_options.get("chunk_size", 1024) if request_options is not None else 1024 + return HttpResponse( + response=_response, data=(_chunk for _chunk in _response.iter_bytes(chunk_size=_chunk_size)) + ) + _response.read() + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + construct_type( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 422: + raise UnprocessableEntityError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + construct_type( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.text + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + yield _stream() + @contextlib.contextmanager def compose( self, @@ -123,9 +220,9 @@ def _stream() -> HttpResponse[typing.Iterator[bytes]]: raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -241,9 +338,9 @@ def _stream() -> HttpResponse[typing.Iterator[bytes]]: raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -344,9 +441,9 @@ def _stream() -> HttpResponse[typing.Iterator[bytes]]: raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -413,9 +510,9 @@ def upload( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -490,9 +587,9 @@ def _stream() -> HttpResponse[typing.Iterator[bytes]]: raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -511,6 +608,104 @@ class AsyncRawMusicClient: def __init__(self, *, client_wrapper: AsyncClientWrapper): self._client_wrapper = client_wrapper + @contextlib.asynccontextmanager + async def video_to_music( + self, + *, + videos: typing.List[core.File], + output_format: typing.Optional[AllowedOutputFormats] = None, + description: typing.Optional[str] = OMIT, + tags: typing.Optional[typing.List[str]] = OMIT, + sign_with_c_2_pa: typing.Optional[bool] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> typing.AsyncIterator[AsyncHttpResponse[typing.AsyncIterator[bytes]]]: + """ + Generate background music from one or more video files. Videos are combined in order. Optional description and style tags influence the generated music. + + Parameters + ---------- + videos : typing.List[core.File] + See core.File for more documentation + + 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. + + description : typing.Optional[str] + Optional text description of the music you want. A maximum of 1000 characters is allowed. + + tags : typing.Optional[typing.List[str]] + Optional list of style tags (e.g. ['upbeat', 'cinematic']). A maximum of 10 tags is allowed. + + 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. You can pass in configuration such as `chunk_size`, and more to customize the request and response. + + Returns + ------- + typing.AsyncIterator[AsyncHttpResponse[typing.AsyncIterator[bytes]]] + Generated audio file matching the video. Content-Type and file extension depend on the output_format parameter (default mp3). + """ + async with self._client_wrapper.httpx_client.stream( + "v1/music/video-to-music", + method="POST", + params={ + "output_format": output_format, + }, + data={ + "description": description, + "tags": tags, + "sign_with_c2pa": sign_with_c_2_pa, + }, + files={ + "videos": videos, + }, + request_options=request_options, + omit=OMIT, + force_multipart=True, + ) as _response: + + async def _stream() -> AsyncHttpResponse[typing.AsyncIterator[bytes]]: + try: + if 200 <= _response.status_code < 300: + _chunk_size = request_options.get("chunk_size", 1024) if request_options is not None else 1024 + return AsyncHttpResponse( + response=_response, + data=(_chunk async for _chunk in _response.aiter_bytes(chunk_size=_chunk_size)), + ) + await _response.aread() + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + construct_type( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 422: + raise UnprocessableEntityError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + construct_type( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.text + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + yield await _stream() + @contextlib.asynccontextmanager async def compose( self, @@ -609,9 +804,9 @@ async def _stream() -> AsyncHttpResponse[typing.AsyncIterator[bytes]]: raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -728,9 +923,9 @@ async def _stream() -> AsyncHttpResponse[typing.AsyncIterator[bytes]]: raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -832,9 +1027,9 @@ async def _stream() -> AsyncHttpResponse[typing.AsyncIterator[bytes]]: raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -901,9 +1096,9 @@ async def upload( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -979,9 +1174,9 @@ async def _stream() -> AsyncHttpResponse[typing.AsyncIterator[bytes]]: raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/pronunciation_dictionaries/raw_client.py b/src/elevenlabs/pronunciation_dictionaries/raw_client.py index d9fa657f..432e4976 100644 --- a/src/elevenlabs/pronunciation_dictionaries/raw_client.py +++ b/src/elevenlabs/pronunciation_dictionaries/raw_client.py @@ -21,7 +21,6 @@ from ..types.get_pronunciation_dictionary_with_rules_response_model import ( GetPronunciationDictionaryWithRulesResponseModel, ) -from ..types.http_validation_error import HttpValidationError from .types.body_add_a_pronunciation_dictionary_v_1_pronunciation_dictionaries_add_from_rules_post_rules_item import ( BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPostRulesItem, ) @@ -104,9 +103,9 @@ def create_from_file( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -189,9 +188,9 @@ def create_from_rules( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -239,9 +238,9 @@ def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -308,9 +307,9 @@ def update( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -361,9 +360,9 @@ def _stream() -> HttpResponse[typing.Iterator[bytes]]: raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -436,9 +435,9 @@ def list( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -516,9 +515,9 @@ async def create_from_file( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -601,9 +600,9 @@ async def create_from_rules( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -651,9 +650,9 @@ async def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -720,9 +719,9 @@ async def update( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -774,9 +773,9 @@ async def _stream() -> AsyncHttpResponse[typing.AsyncIterator[bytes]]: raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -849,9 +848,9 @@ async def list( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/pronunciation_dictionaries/rules/raw_client.py b/src/elevenlabs/pronunciation_dictionaries/rules/raw_client.py index b953fef8..6ce0f531 100644 --- a/src/elevenlabs/pronunciation_dictionaries/rules/raw_client.py +++ b/src/elevenlabs/pronunciation_dictionaries/rules/raw_client.py @@ -11,7 +11,6 @@ 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.pronunciation_dictionary_rules_response_model import PronunciationDictionaryRulesResponseModel from .types.body_set_rules_on_the_pronunciation_dictionary_v_1_pronunciation_dictionaries_pronunciation_dictionary_id_set_rules_post_rules_item import ( BodySetRulesOnThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdSetRulesPostRulesItem, @@ -88,9 +87,9 @@ def set( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -156,9 +155,9 @@ def add( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -220,9 +219,9 @@ def remove( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -299,9 +298,9 @@ async def set( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -367,9 +366,9 @@ async def add( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -431,9 +430,9 @@ async def remove( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/raw_base_client.py b/src/elevenlabs/raw_base_client.py index b4c2fa10..0cdebbe0 100644 --- a/src/elevenlabs/raw_base_client.py +++ b/src/elevenlabs/raw_base_client.py @@ -6,7 +6,6 @@ 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.request_options import RequestOptions @@ -14,36 +13,6 @@ class RawBaseElevenLabs: def __init__(self, *, client_wrapper: SyncClientWrapper): self._client_wrapper = client_wrapper - def delete_v_1_convai_agents_agent_id_branches_branch_id( - self, agent_id: str, branch_id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> HttpResponse[None]: - """ - Parameters - ---------- - agent_id : str - - branch_id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[None] - """ - _response = self._client_wrapper.httpx_client.request( - f"v1/convai/agents/{jsonable_encoder(agent_id)}/branches/{jsonable_encoder(branch_id)}", - method="DELETE", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - return HttpResponse(response=_response, data=None) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - 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]: """ Add a generated voice to the voice library. @@ -75,36 +44,6 @@ class AsyncRawBaseElevenLabs: def __init__(self, *, client_wrapper: AsyncClientWrapper): self._client_wrapper = client_wrapper - async def delete_v_1_convai_agents_agent_id_branches_branch_id( - self, agent_id: str, branch_id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[None]: - """ - Parameters - ---------- - agent_id : str - - branch_id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[None] - """ - _response = await self._client_wrapper.httpx_client.request( - f"v1/convai/agents/{jsonable_encoder(agent_id)}/branches/{jsonable_encoder(branch_id)}", - method="DELETE", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - return AsyncHttpResponse(response=_response, data=None) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - async def save_a_voice_preview( self, *, request_options: typing.Optional[RequestOptions] = None ) -> AsyncHttpResponse[None]: diff --git a/src/elevenlabs/samples/raw_client.py b/src/elevenlabs/samples/raw_client.py index b7ad25d7..ec3e7be9 100644 --- a/src/elevenlabs/samples/raw_client.py +++ b/src/elevenlabs/samples/raw_client.py @@ -11,7 +11,6 @@ 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 class RawSamplesClient: @@ -59,9 +58,9 @@ def delete( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -117,9 +116,9 @@ async def delete( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/service_accounts/api_keys/raw_client.py b/src/elevenlabs/service_accounts/api_keys/raw_client.py index 5853780b..ba5b3323 100644 --- a/src/elevenlabs/service_accounts/api_keys/raw_client.py +++ b/src/elevenlabs/service_accounts/api_keys/raw_client.py @@ -11,7 +11,6 @@ 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.workspace_api_key_list_response_model import WorkspaceApiKeyListResponseModel from ...types.workspace_create_api_key_response_model import WorkspaceCreateApiKeyResponseModel from .types.body_create_service_account_api_key_v_1_service_accounts_service_account_user_id_api_keys_post_permissions import ( @@ -66,9 +65,9 @@ def list( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -142,9 +141,9 @@ def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -195,9 +194,9 @@ def delete( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -282,9 +281,9 @@ def update( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -336,9 +335,9 @@ async def list( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -412,9 +411,9 @@ async def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -465,9 +464,9 @@ async def delete( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -552,9 +551,9 @@ async def update( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/service_accounts/raw_client.py b/src/elevenlabs/service_accounts/raw_client.py index 15df0f45..b70155d2 100644 --- a/src/elevenlabs/service_accounts/raw_client.py +++ b/src/elevenlabs/service_accounts/raw_client.py @@ -9,7 +9,6 @@ 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 @@ -52,9 +51,9 @@ def list( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -104,9 +103,9 @@ async def list( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/speech_to_speech/raw_client.py b/src/elevenlabs/speech_to_speech/raw_client.py index e6e47f63..174d8b4a 100644 --- a/src/elevenlabs/speech_to_speech/raw_client.py +++ b/src/elevenlabs/speech_to_speech/raw_client.py @@ -12,7 +12,6 @@ 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.speech_to_speech_convert_request_file_format import SpeechToSpeechConvertRequestFileFormat from .types.speech_to_speech_convert_request_output_format import SpeechToSpeechConvertRequestOutputFormat from .types.speech_to_speech_stream_request_file_format import SpeechToSpeechStreamRequestFileFormat @@ -127,9 +126,9 @@ def _stream() -> HttpResponse[typing.Iterator[bytes]]: raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -244,9 +243,9 @@ def _stream() -> HttpResponse[typing.Iterator[bytes]]: raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -367,9 +366,9 @@ async def _stream() -> AsyncHttpResponse[typing.AsyncIterator[bytes]]: raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -485,9 +484,9 @@ async def _stream() -> AsyncHttpResponse[typing.AsyncIterator[bytes]]: raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/speech_to_text/client.py b/src/elevenlabs/speech_to_text/client.py index d65024eb..c7f7c3ad 100644 --- a/src/elevenlabs/speech_to_text/client.py +++ b/src/elevenlabs/speech_to_text/client.py @@ -54,7 +54,7 @@ def convert( diarization_threshold: typing.Optional[float] = OMIT, additional_formats: typing.Optional[AdditionalFormats] = OMIT, file_format: typing.Optional[SpeechToTextConvertRequestFileFormat] = OMIT, - cloud_storage_url: typing.Optional[str] = OMIT, + source_url: typing.Optional[str] = OMIT, webhook: typing.Optional[bool] = OMIT, webhook_id: typing.Optional[str] = OMIT, temperature: typing.Optional[float] = OMIT, @@ -106,8 +106,8 @@ def convert( file_format : typing.Optional[SpeechToTextConvertRequestFileFormat] 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. - cloud_storage_url : typing.Optional[str] - The HTTPS URL of the file to transcribe. Exactly one of the file or cloud_storage_url parameters must be provided. The file must be accessible via HTTPS and the file size must be less than 2GB. Any valid HTTPS URL is accepted, including URLs from cloud storage providers (AWS S3, Google Cloud Storage, Cloudflare R2, etc.), CDNs, or any other HTTPS source. URLs can be pre-signed or include authentication tokens in query parameters. + source_url : typing.Optional[str] + The URL of an audio or video file to transcribe. Supports hosted video or audio files, YouTube video URLs, TikTok video URLs, and other video hosting services. webhook : typing.Optional[bool] Whether to send the transcription result to configured speech-to-text webhooks. If set the request will return early without the transcription, which will be delivered later via webhook. @@ -174,7 +174,7 @@ def convert( diarization_threshold=diarization_threshold, additional_formats=additional_formats, file_format=file_format, - cloud_storage_url=cloud_storage_url, + source_url=source_url, webhook=webhook, webhook_id=webhook_id, temperature=temperature, @@ -230,7 +230,7 @@ async def convert( diarization_threshold: typing.Optional[float] = OMIT, additional_formats: typing.Optional[AdditionalFormats] = OMIT, file_format: typing.Optional[SpeechToTextConvertRequestFileFormat] = OMIT, - cloud_storage_url: typing.Optional[str] = OMIT, + source_url: typing.Optional[str] = OMIT, webhook: typing.Optional[bool] = OMIT, webhook_id: typing.Optional[str] = OMIT, temperature: typing.Optional[float] = OMIT, @@ -282,8 +282,8 @@ async def convert( file_format : typing.Optional[SpeechToTextConvertRequestFileFormat] 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. - cloud_storage_url : typing.Optional[str] - The HTTPS URL of the file to transcribe. Exactly one of the file or cloud_storage_url parameters must be provided. The file must be accessible via HTTPS and the file size must be less than 2GB. Any valid HTTPS URL is accepted, including URLs from cloud storage providers (AWS S3, Google Cloud Storage, Cloudflare R2, etc.), CDNs, or any other HTTPS source. URLs can be pre-signed or include authentication tokens in query parameters. + source_url : typing.Optional[str] + The URL of an audio or video file to transcribe. Supports hosted video or audio files, YouTube video URLs, TikTok video URLs, and other video hosting services. webhook : typing.Optional[bool] Whether to send the transcription result to configured speech-to-text webhooks. If set the request will return early without the transcription, which will be delivered later via webhook. @@ -358,7 +358,7 @@ async def main() -> None: diarization_threshold=diarization_threshold, additional_formats=additional_formats, file_format=file_format, - cloud_storage_url=cloud_storage_url, + source_url=source_url, webhook=webhook, webhook_id=webhook_id, temperature=temperature, diff --git a/src/elevenlabs/speech_to_text/raw_client.py b/src/elevenlabs/speech_to_text/raw_client.py index 2d610fac..ee24e0bf 100644 --- a/src/elevenlabs/speech_to_text/raw_client.py +++ b/src/elevenlabs/speech_to_text/raw_client.py @@ -13,7 +13,6 @@ from ..core.unchecked_base_model import construct_type from ..errors.unprocessable_entity_error import UnprocessableEntityError from ..types.additional_formats import AdditionalFormats -from ..types.http_validation_error import HttpValidationError from .types.speech_to_text_convert_request_entity_detection import SpeechToTextConvertRequestEntityDetection from .types.speech_to_text_convert_request_entity_redaction import SpeechToTextConvertRequestEntityRedaction from .types.speech_to_text_convert_request_file_format import SpeechToTextConvertRequestFileFormat @@ -44,7 +43,7 @@ def convert( diarization_threshold: typing.Optional[float] = OMIT, additional_formats: typing.Optional[AdditionalFormats] = OMIT, file_format: typing.Optional[SpeechToTextConvertRequestFileFormat] = OMIT, - cloud_storage_url: typing.Optional[str] = OMIT, + source_url: typing.Optional[str] = OMIT, webhook: typing.Optional[bool] = OMIT, webhook_id: typing.Optional[str] = OMIT, temperature: typing.Optional[float] = OMIT, @@ -96,8 +95,8 @@ def convert( file_format : typing.Optional[SpeechToTextConvertRequestFileFormat] 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. - cloud_storage_url : typing.Optional[str] - The HTTPS URL of the file to transcribe. Exactly one of the file or cloud_storage_url parameters must be provided. The file must be accessible via HTTPS and the file size must be less than 2GB. Any valid HTTPS URL is accepted, including URLs from cloud storage providers (AWS S3, Google Cloud Storage, Cloudflare R2, etc.), CDNs, or any other HTTPS source. URLs can be pre-signed or include authentication tokens in query parameters. + source_url : typing.Optional[str] + The URL of an audio or video file to transcribe. Supports hosted video or audio files, YouTube video URLs, TikTok video URLs, and other video hosting services. webhook : typing.Optional[bool] Whether to send the transcription result to configured speech-to-text webhooks. If set the request will return early without the transcription, which will be delivered later via webhook. @@ -155,7 +154,7 @@ def convert( "diarize": diarize, "diarization_threshold": diarization_threshold, "file_format": file_format, - "cloud_storage_url": cloud_storage_url, + "source_url": source_url, "webhook": webhook, "webhook_id": webhook_id, "temperature": temperature, @@ -194,9 +193,9 @@ def convert( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -225,7 +224,7 @@ async def convert( diarization_threshold: typing.Optional[float] = OMIT, additional_formats: typing.Optional[AdditionalFormats] = OMIT, file_format: typing.Optional[SpeechToTextConvertRequestFileFormat] = OMIT, - cloud_storage_url: typing.Optional[str] = OMIT, + source_url: typing.Optional[str] = OMIT, webhook: typing.Optional[bool] = OMIT, webhook_id: typing.Optional[str] = OMIT, temperature: typing.Optional[float] = OMIT, @@ -277,8 +276,8 @@ async def convert( file_format : typing.Optional[SpeechToTextConvertRequestFileFormat] 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. - cloud_storage_url : typing.Optional[str] - The HTTPS URL of the file to transcribe. Exactly one of the file or cloud_storage_url parameters must be provided. The file must be accessible via HTTPS and the file size must be less than 2GB. Any valid HTTPS URL is accepted, including URLs from cloud storage providers (AWS S3, Google Cloud Storage, Cloudflare R2, etc.), CDNs, or any other HTTPS source. URLs can be pre-signed or include authentication tokens in query parameters. + source_url : typing.Optional[str] + The URL of an audio or video file to transcribe. Supports hosted video or audio files, YouTube video URLs, TikTok video URLs, and other video hosting services. webhook : typing.Optional[bool] Whether to send the transcription result to configured speech-to-text webhooks. If set the request will return early without the transcription, which will be delivered later via webhook. @@ -336,7 +335,7 @@ async def convert( "diarize": diarize, "diarization_threshold": diarization_threshold, "file_format": file_format, - "cloud_storage_url": cloud_storage_url, + "source_url": source_url, "webhook": webhook, "webhook_id": webhook_id, "temperature": temperature, @@ -375,9 +374,9 @@ async def convert( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_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..2bbc49e4 100644 --- a/src/elevenlabs/speech_to_text/transcripts/raw_client.py +++ b/src/elevenlabs/speech_to_text/transcripts/raw_client.py @@ -12,7 +12,6 @@ from ...errors.not_found_error import NotFoundError from ...errors.unauthorized_error import UnauthorizedError from ...errors.unprocessable_entity_error import UnprocessableEntityError -from ...types.http_validation_error import HttpValidationError from .types.transcripts_get_response import TranscriptsGetResponse @@ -80,9 +79,9 @@ def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -143,9 +142,9 @@ def delete( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -220,9 +219,9 @@ async def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -283,9 +282,9 @@ async def delete( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/studio/projects/chapters/raw_client.py b/src/elevenlabs/studio/projects/chapters/raw_client.py index 40ce2a3b..d61abe0b 100644 --- a/src/elevenlabs/studio/projects/chapters/raw_client.py +++ b/src/elevenlabs/studio/projects/chapters/raw_client.py @@ -18,7 +18,6 @@ from ....types.delete_chapter_response_model import DeleteChapterResponseModel from ....types.edit_chapter_response_model import EditChapterResponseModel from ....types.get_chapters_response import GetChaptersResponse -from ....types.http_validation_error import HttpValidationError # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -66,9 +65,9 @@ def list( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -135,9 +134,9 @@ def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -188,9 +187,9 @@ def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -263,9 +262,9 @@ def update( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -316,9 +315,9 @@ def delete( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -369,9 +368,9 @@ def convert( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -424,9 +423,9 @@ async def list( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -493,9 +492,9 @@ async def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -546,9 +545,9 @@ async def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -621,9 +620,9 @@ async def update( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -674,9 +673,9 @@ async def delete( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -727,9 +726,9 @@ async def convert( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_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..3fae6bfb 100644 --- a/src/elevenlabs/studio/projects/chapters/snapshots/raw_client.py +++ b/src/elevenlabs/studio/projects/chapters/snapshots/raw_client.py @@ -13,7 +13,6 @@ 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 # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -64,9 +63,9 @@ def list( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -125,9 +124,9 @@ def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -197,9 +196,9 @@ def _stream() -> HttpResponse[typing.Iterator[bytes]]: raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -259,9 +258,9 @@ async def list( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -320,9 +319,9 @@ async def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -393,9 +392,9 @@ async def _stream() -> AsyncHttpResponse[typing.AsyncIterator[bytes]]: raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/studio/projects/content/raw_client.py b/src/elevenlabs/studio/projects/content/raw_client.py index ae369538..3afa4ad0 100644 --- a/src/elevenlabs/studio/projects/content/raw_client.py +++ b/src/elevenlabs/studio/projects/content/raw_client.py @@ -12,7 +12,6 @@ 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 # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -94,9 +93,9 @@ def update( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -183,9 +182,9 @@ async def update( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_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..23292d03 100644 --- a/src/elevenlabs/studio/projects/pronunciation_dictionaries/raw_client.py +++ b/src/elevenlabs/studio/projects/pronunciation_dictionaries/raw_client.py @@ -12,7 +12,6 @@ from ....core.unchecked_base_model import construct_type from ....errors.unprocessable_entity_error import UnprocessableEntityError from ....types.create_pronunciation_dictionary_response_model import CreatePronunciationDictionaryResponseModel -from ....types.http_validation_error import HttpValidationError from ....types.pronunciation_dictionary_version_locator import PronunciationDictionaryVersionLocator # this is used as the default value for optional parameters @@ -84,9 +83,9 @@ def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -162,9 +161,9 @@ async def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/studio/projects/raw_client.py b/src/elevenlabs/studio/projects/raw_client.py index 77997668..81746988 100644 --- a/src/elevenlabs/studio/projects/raw_client.py +++ b/src/elevenlabs/studio/projects/raw_client.py @@ -16,7 +16,6 @@ from ...types.delete_project_response_model import DeleteProjectResponseModel from ...types.edit_project_response_model import EditProjectResponseModel from ...types.get_projects_response import GetProjectsResponse -from ...types.http_validation_error import HttpValidationError from ...types.project_extended_response import ProjectExtendedResponse from ...types.project_muted_tracks_response_model import ProjectMutedTracksResponseModel from .types.projects_create_request_apply_text_normalization import ProjectsCreateRequestApplyTextNormalization @@ -66,9 +65,9 @@ def list(self, *, request_options: typing.Optional[RequestOptions] = None) -> Ht raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -338,9 +337,9 @@ def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -398,9 +397,9 @@ def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -492,9 +491,9 @@ def update( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -542,9 +541,9 @@ def delete( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -592,9 +591,9 @@ def convert( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -642,9 +641,9 @@ def get_muted_tracks( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -694,9 +693,9 @@ async def list( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -966,9 +965,9 @@ async def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -1026,9 +1025,9 @@ async def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -1120,9 +1119,9 @@ async def update( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -1170,9 +1169,9 @@ async def delete( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -1220,9 +1219,9 @@ async def convert( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -1270,9 +1269,9 @@ async def get_muted_tracks( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/studio/projects/snapshots/raw_client.py b/src/elevenlabs/studio/projects/snapshots/raw_client.py index 6224d0a0..ba74302f 100644 --- a/src/elevenlabs/studio/projects/snapshots/raw_client.py +++ b/src/elevenlabs/studio/projects/snapshots/raw_client.py @@ -11,7 +11,6 @@ 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 @@ -61,9 +60,9 @@ def list( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -114,9 +113,9 @@ def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -182,9 +181,9 @@ def _stream() -> HttpResponse[typing.Iterator[bytes]]: raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -239,9 +238,9 @@ def _stream() -> HttpResponse[typing.Iterator[bytes]]: raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -298,9 +297,9 @@ async def list( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -351,9 +350,9 @@ async def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -420,9 +419,9 @@ async def _stream() -> AsyncHttpResponse[typing.AsyncIterator[bytes]]: raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -478,9 +477,9 @@ async def _stream() -> AsyncHttpResponse[typing.AsyncIterator[bytes]]: raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/studio/raw_client.py b/src/elevenlabs/studio/raw_client.py index 8be22ca5..73462639 100644 --- a/src/elevenlabs/studio/raw_client.py +++ b/src/elevenlabs/studio/raw_client.py @@ -10,7 +10,6 @@ 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.podcast_project_response_model import PodcastProjectResponseModel from .types.body_create_podcast_v_1_studio_podcasts_post_apply_text_normalization import ( BodyCreatePodcastV1StudioPodcastsPostApplyTextNormalization, @@ -210,9 +209,9 @@ def create_podcast( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -405,9 +404,9 @@ async def create_podcast( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/text_to_dialogue/client.py b/src/elevenlabs/text_to_dialogue/client.py index 20d59426..a305008a 100644 --- a/src/elevenlabs/text_to_dialogue/client.py +++ b/src/elevenlabs/text_to_dialogue/client.py @@ -8,6 +8,7 @@ from ..types.audio_with_timestamps_and_voice_segments_response_model import ( AudioWithTimestampsAndVoiceSegmentsResponseModel, ) +from ..types.avatar_context_request_model import AvatarContextRequestModel from ..types.dialogue_input import DialogueInput from ..types.model_settings_response_model import ModelSettingsResponseModel from ..types.pronunciation_dictionary_version_locator import PronunciationDictionaryVersionLocator @@ -66,6 +67,7 @@ def convert( apply_text_normalization: typing.Optional[ BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization ] = OMIT, + avatar_context: typing.Optional[AvatarContextRequestModel] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> typing.Iterator[bytes]: """ @@ -97,6 +99,9 @@ def 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. + avatar_context : typing.Optional[AvatarContextRequestModel] + Avatar context when this generation is made from the Avatars video editor. + 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. @@ -134,6 +139,7 @@ def convert( pronunciation_dictionary_locators=pronunciation_dictionary_locators, seed=seed, apply_text_normalization=apply_text_normalization, + avatar_context=avatar_context, request_options=request_options, ) as r: yield from r.data @@ -153,6 +159,7 @@ def stream( apply_text_normalization: typing.Optional[ BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization ] = OMIT, + avatar_context: typing.Optional[AvatarContextRequestModel] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> typing.Iterator[bytes]: """ @@ -184,6 +191,9 @@ def 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. + avatar_context : typing.Optional[AvatarContextRequestModel] + Avatar context when this generation is made from the Avatars video editor. + 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. @@ -221,6 +231,7 @@ def stream( pronunciation_dictionary_locators=pronunciation_dictionary_locators, seed=seed, apply_text_normalization=apply_text_normalization, + avatar_context=avatar_context, request_options=request_options, ) as r: yield from r.data @@ -430,6 +441,7 @@ async def convert( apply_text_normalization: typing.Optional[ BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization ] = OMIT, + avatar_context: typing.Optional[AvatarContextRequestModel] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> typing.AsyncIterator[bytes]: """ @@ -461,6 +473,9 @@ async def 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. + avatar_context : typing.Optional[AvatarContextRequestModel] + Avatar context when this generation is made from the Avatars video editor. + 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. @@ -506,6 +521,7 @@ async def main() -> None: pronunciation_dictionary_locators=pronunciation_dictionary_locators, seed=seed, apply_text_normalization=apply_text_normalization, + avatar_context=avatar_context, request_options=request_options, ) as r: async for _chunk in r.data: @@ -526,6 +542,7 @@ async def stream( apply_text_normalization: typing.Optional[ BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization ] = OMIT, + avatar_context: typing.Optional[AvatarContextRequestModel] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> typing.AsyncIterator[bytes]: """ @@ -557,6 +574,9 @@ async def 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. + avatar_context : typing.Optional[AvatarContextRequestModel] + Avatar context when this generation is made from the Avatars video editor. + 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. @@ -602,6 +622,7 @@ async def main() -> None: pronunciation_dictionary_locators=pronunciation_dictionary_locators, seed=seed, apply_text_normalization=apply_text_normalization, + avatar_context=avatar_context, request_options=request_options, ) as r: async for _chunk in r.data: diff --git a/src/elevenlabs/text_to_dialogue/raw_client.py b/src/elevenlabs/text_to_dialogue/raw_client.py index c3edda04..a4a81349 100644 --- a/src/elevenlabs/text_to_dialogue/raw_client.py +++ b/src/elevenlabs/text_to_dialogue/raw_client.py @@ -16,8 +16,8 @@ from ..types.audio_with_timestamps_and_voice_segments_response_model import ( AudioWithTimestampsAndVoiceSegmentsResponseModel, ) +from ..types.avatar_context_request_model import AvatarContextRequestModel from ..types.dialogue_input import DialogueInput -from ..types.http_validation_error import HttpValidationError from ..types.model_settings_response_model import ModelSettingsResponseModel from ..types.pronunciation_dictionary_version_locator import PronunciationDictionaryVersionLocator from ..types.streaming_audio_chunk_with_timestamps_and_voice_segments_response_model import ( @@ -64,6 +64,7 @@ def convert( apply_text_normalization: typing.Optional[ BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization ] = OMIT, + avatar_context: typing.Optional[AvatarContextRequestModel] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> typing.Iterator[HttpResponse[typing.Iterator[bytes]]]: """ @@ -95,6 +96,9 @@ def 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. + avatar_context : typing.Optional[AvatarContextRequestModel] + Avatar context when this generation is made from the Avatars video editor. + 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. @@ -125,6 +129,9 @@ def convert( ), "seed": seed, "apply_text_normalization": apply_text_normalization, + "avatar_context": convert_and_respect_annotation_metadata( + object_=avatar_context, annotation=AvatarContextRequestModel, direction="write" + ), }, headers={ "content-type": "application/json", @@ -145,9 +152,9 @@ def _stream() -> HttpResponse[typing.Iterator[bytes]]: raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -177,6 +184,7 @@ def stream( apply_text_normalization: typing.Optional[ BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization ] = OMIT, + avatar_context: typing.Optional[AvatarContextRequestModel] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> typing.Iterator[HttpResponse[typing.Iterator[bytes]]]: """ @@ -208,6 +216,9 @@ def 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. + avatar_context : typing.Optional[AvatarContextRequestModel] + Avatar context when this generation is made from the Avatars video editor. + 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. @@ -238,6 +249,9 @@ def stream( ), "seed": seed, "apply_text_normalization": apply_text_normalization, + "avatar_context": convert_and_respect_annotation_metadata( + object_=avatar_context, annotation=AvatarContextRequestModel, direction="write" + ), }, headers={ "content-type": "application/json", @@ -258,9 +272,9 @@ def _stream() -> HttpResponse[typing.Iterator[bytes]]: raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -385,9 +399,9 @@ def _iter(): raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -496,9 +510,9 @@ def convert_with_timestamps( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -529,6 +543,7 @@ async def convert( apply_text_normalization: typing.Optional[ BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization ] = OMIT, + avatar_context: typing.Optional[AvatarContextRequestModel] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> typing.AsyncIterator[AsyncHttpResponse[typing.AsyncIterator[bytes]]]: """ @@ -560,6 +575,9 @@ async def 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. + avatar_context : typing.Optional[AvatarContextRequestModel] + Avatar context when this generation is made from the Avatars video editor. + 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. @@ -590,6 +608,9 @@ async def convert( ), "seed": seed, "apply_text_normalization": apply_text_normalization, + "avatar_context": convert_and_respect_annotation_metadata( + object_=avatar_context, annotation=AvatarContextRequestModel, direction="write" + ), }, headers={ "content-type": "application/json", @@ -611,9 +632,9 @@ async def _stream() -> AsyncHttpResponse[typing.AsyncIterator[bytes]]: raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -643,6 +664,7 @@ async def stream( apply_text_normalization: typing.Optional[ BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization ] = OMIT, + avatar_context: typing.Optional[AvatarContextRequestModel] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> typing.AsyncIterator[AsyncHttpResponse[typing.AsyncIterator[bytes]]]: """ @@ -674,6 +696,9 @@ async def 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. + avatar_context : typing.Optional[AvatarContextRequestModel] + Avatar context when this generation is made from the Avatars video editor. + 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. @@ -704,6 +729,9 @@ async def stream( ), "seed": seed, "apply_text_normalization": apply_text_normalization, + "avatar_context": convert_and_respect_annotation_metadata( + object_=avatar_context, annotation=AvatarContextRequestModel, direction="write" + ), }, headers={ "content-type": "application/json", @@ -725,9 +753,9 @@ async def _stream() -> AsyncHttpResponse[typing.AsyncIterator[bytes]]: raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -854,9 +882,9 @@ async def _iter(): raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -965,9 +993,9 @@ async def convert_with_timestamps( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_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..f2538859 100644 --- a/src/elevenlabs/text_to_sound_effects/raw_client.py +++ b/src/elevenlabs/text_to_sound_effects/raw_client.py @@ -11,7 +11,6 @@ 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 # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -96,9 +95,9 @@ def _stream() -> HttpResponse[typing.Iterator[bytes]]: raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -193,9 +192,9 @@ async def _stream() -> AsyncHttpResponse[typing.AsyncIterator[bytes]]: raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/text_to_speech/client.py b/src/elevenlabs/text_to_speech/client.py index 696d4141..96a1e36f 100644 --- a/src/elevenlabs/text_to_speech/client.py +++ b/src/elevenlabs/text_to_speech/client.py @@ -5,6 +5,7 @@ from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ..core.request_options import RequestOptions from ..types.audio_with_timestamps_response import AudioWithTimestampsResponse +from ..types.avatar_context_request_model import AvatarContextRequestModel from ..types.pronunciation_dictionary_version_locator import PronunciationDictionaryVersionLocator from ..types.streaming_audio_chunk_with_timestamps_response import StreamingAudioChunkWithTimestampsResponse from ..types.voice_settings import VoiceSettings @@ -67,6 +68,7 @@ def convert( use_pvc_as_ivc: typing.Optional[bool] = OMIT, apply_text_normalization: typing.Optional[BodyTextToSpeechFullApplyTextNormalization] = OMIT, apply_language_text_normalization: typing.Optional[bool] = OMIT, + avatar_context: typing.Optional[AvatarContextRequestModel] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> typing.Iterator[bytes]: """ @@ -132,6 +134,9 @@ def convert( apply_language_text_normalization : typing.Optional[bool] This parameter controls language text normalization. This helps with proper pronunciation of text in some supported languages. WARNING: This parameter can heavily increase the latency of the request. Currently only supported for Japanese. + avatar_context : typing.Optional[AvatarContextRequestModel] + Avatar context when this generation is made from the Avatars video editor. + 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. @@ -172,6 +177,7 @@ def convert( use_pvc_as_ivc=use_pvc_as_ivc, apply_text_normalization=apply_text_normalization, apply_language_text_normalization=apply_language_text_normalization, + avatar_context=avatar_context, request_options=request_options, ) as r: yield from r.data @@ -330,6 +336,7 @@ def stream( use_pvc_as_ivc: typing.Optional[bool] = OMIT, apply_text_normalization: typing.Optional[BodyTextToSpeechStreamApplyTextNormalization] = OMIT, apply_language_text_normalization: typing.Optional[bool] = OMIT, + avatar_context: typing.Optional[AvatarContextRequestModel] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> typing.Iterator[bytes]: """ @@ -395,6 +402,9 @@ def stream( apply_language_text_normalization : typing.Optional[bool] This parameter controls language text normalization. This helps with proper pronunciation of text in some supported languages. WARNING: This parameter can heavily increase the latency of the request. Currently only supported for Japanese. + avatar_context : typing.Optional[AvatarContextRequestModel] + Avatar context when this generation is made from the Avatars video editor. + 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. @@ -435,6 +445,7 @@ def stream( use_pvc_as_ivc=use_pvc_as_ivc, apply_text_normalization=apply_text_normalization, apply_language_text_normalization=apply_language_text_normalization, + avatar_context=avatar_context, request_options=request_options, ) as r: yield from r.data @@ -610,6 +621,7 @@ async def convert( use_pvc_as_ivc: typing.Optional[bool] = OMIT, apply_text_normalization: typing.Optional[BodyTextToSpeechFullApplyTextNormalization] = OMIT, apply_language_text_normalization: typing.Optional[bool] = OMIT, + avatar_context: typing.Optional[AvatarContextRequestModel] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> typing.AsyncIterator[bytes]: """ @@ -675,6 +687,9 @@ async def convert( apply_language_text_normalization : typing.Optional[bool] This parameter controls language text normalization. This helps with proper pronunciation of text in some supported languages. WARNING: This parameter can heavily increase the latency of the request. Currently only supported for Japanese. + avatar_context : typing.Optional[AvatarContextRequestModel] + Avatar context when this generation is made from the Avatars video editor. + 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. @@ -723,6 +738,7 @@ async def main() -> None: use_pvc_as_ivc=use_pvc_as_ivc, apply_text_normalization=apply_text_normalization, apply_language_text_normalization=apply_language_text_normalization, + avatar_context=avatar_context, request_options=request_options, ) as r: async for _chunk in r.data: @@ -890,6 +906,7 @@ async def stream( use_pvc_as_ivc: typing.Optional[bool] = OMIT, apply_text_normalization: typing.Optional[BodyTextToSpeechStreamApplyTextNormalization] = OMIT, apply_language_text_normalization: typing.Optional[bool] = OMIT, + avatar_context: typing.Optional[AvatarContextRequestModel] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> typing.AsyncIterator[bytes]: """ @@ -955,6 +972,9 @@ async def stream( apply_language_text_normalization : typing.Optional[bool] This parameter controls language text normalization. This helps with proper pronunciation of text in some supported languages. WARNING: This parameter can heavily increase the latency of the request. Currently only supported for Japanese. + avatar_context : typing.Optional[AvatarContextRequestModel] + Avatar context when this generation is made from the Avatars video editor. + 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. @@ -1003,6 +1023,7 @@ async def main() -> None: use_pvc_as_ivc=use_pvc_as_ivc, apply_text_normalization=apply_text_normalization, apply_language_text_normalization=apply_language_text_normalization, + avatar_context=avatar_context, request_options=request_options, ) as r: async for _chunk in r.data: diff --git a/src/elevenlabs/text_to_speech/raw_client.py b/src/elevenlabs/text_to_speech/raw_client.py index 8f38f1f5..535f91f1 100644 --- a/src/elevenlabs/text_to_speech/raw_client.py +++ b/src/elevenlabs/text_to_speech/raw_client.py @@ -14,7 +14,7 @@ from ..core.unchecked_base_model import construct_type from ..errors.unprocessable_entity_error import UnprocessableEntityError from ..types.audio_with_timestamps_response import AudioWithTimestampsResponse -from ..types.http_validation_error import HttpValidationError +from ..types.avatar_context_request_model import AvatarContextRequestModel from ..types.pronunciation_dictionary_version_locator import PronunciationDictionaryVersionLocator from ..types.streaming_audio_chunk_with_timestamps_response import StreamingAudioChunkWithTimestampsResponse from ..types.voice_settings import VoiceSettings @@ -66,6 +66,7 @@ def convert( use_pvc_as_ivc: typing.Optional[bool] = OMIT, apply_text_normalization: typing.Optional[BodyTextToSpeechFullApplyTextNormalization] = OMIT, apply_language_text_normalization: typing.Optional[bool] = OMIT, + avatar_context: typing.Optional[AvatarContextRequestModel] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> typing.Iterator[HttpResponse[typing.Iterator[bytes]]]: """ @@ -131,6 +132,9 @@ def convert( apply_language_text_normalization : typing.Optional[bool] This parameter controls language text normalization. This helps with proper pronunciation of text in some supported languages. WARNING: This parameter can heavily increase the latency of the request. Currently only supported for Japanese. + avatar_context : typing.Optional[AvatarContextRequestModel] + Avatar context when this generation is made from the Avatars video editor. + 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. @@ -167,6 +171,9 @@ def convert( "use_pvc_as_ivc": use_pvc_as_ivc, "apply_text_normalization": apply_text_normalization, "apply_language_text_normalization": apply_language_text_normalization, + "avatar_context": convert_and_respect_annotation_metadata( + object_=avatar_context, annotation=AvatarContextRequestModel, direction="write" + ), }, headers={ "content-type": "application/json", @@ -187,9 +194,9 @@ def _stream() -> HttpResponse[typing.Iterator[bytes]]: raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -347,9 +354,9 @@ def convert_with_timestamps( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -382,6 +389,7 @@ def stream( use_pvc_as_ivc: typing.Optional[bool] = OMIT, apply_text_normalization: typing.Optional[BodyTextToSpeechStreamApplyTextNormalization] = OMIT, apply_language_text_normalization: typing.Optional[bool] = OMIT, + avatar_context: typing.Optional[AvatarContextRequestModel] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> typing.Iterator[HttpResponse[typing.Iterator[bytes]]]: """ @@ -447,6 +455,9 @@ def stream( apply_language_text_normalization : typing.Optional[bool] This parameter controls language text normalization. This helps with proper pronunciation of text in some supported languages. WARNING: This parameter can heavily increase the latency of the request. Currently only supported for Japanese. + avatar_context : typing.Optional[AvatarContextRequestModel] + Avatar context when this generation is made from the Avatars video editor. + 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. @@ -483,6 +494,9 @@ def stream( "use_pvc_as_ivc": use_pvc_as_ivc, "apply_text_normalization": apply_text_normalization, "apply_language_text_normalization": apply_language_text_normalization, + "avatar_context": convert_and_respect_annotation_metadata( + object_=avatar_context, annotation=AvatarContextRequestModel, direction="write" + ), }, headers={ "content-type": "application/json", @@ -503,9 +517,9 @@ def _stream() -> HttpResponse[typing.Iterator[bytes]]: raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -677,9 +691,9 @@ def _iter(): raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -721,6 +735,7 @@ async def convert( use_pvc_as_ivc: typing.Optional[bool] = OMIT, apply_text_normalization: typing.Optional[BodyTextToSpeechFullApplyTextNormalization] = OMIT, apply_language_text_normalization: typing.Optional[bool] = OMIT, + avatar_context: typing.Optional[AvatarContextRequestModel] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> typing.AsyncIterator[AsyncHttpResponse[typing.AsyncIterator[bytes]]]: """ @@ -786,6 +801,9 @@ async def convert( apply_language_text_normalization : typing.Optional[bool] This parameter controls language text normalization. This helps with proper pronunciation of text in some supported languages. WARNING: This parameter can heavily increase the latency of the request. Currently only supported for Japanese. + avatar_context : typing.Optional[AvatarContextRequestModel] + Avatar context when this generation is made from the Avatars video editor. + 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. @@ -822,6 +840,9 @@ async def convert( "use_pvc_as_ivc": use_pvc_as_ivc, "apply_text_normalization": apply_text_normalization, "apply_language_text_normalization": apply_language_text_normalization, + "avatar_context": convert_and_respect_annotation_metadata( + object_=avatar_context, annotation=AvatarContextRequestModel, direction="write" + ), }, headers={ "content-type": "application/json", @@ -843,9 +864,9 @@ async def _stream() -> AsyncHttpResponse[typing.AsyncIterator[bytes]]: raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -1003,9 +1024,9 @@ async def convert_with_timestamps( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -1038,6 +1059,7 @@ async def stream( use_pvc_as_ivc: typing.Optional[bool] = OMIT, apply_text_normalization: typing.Optional[BodyTextToSpeechStreamApplyTextNormalization] = OMIT, apply_language_text_normalization: typing.Optional[bool] = OMIT, + avatar_context: typing.Optional[AvatarContextRequestModel] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> typing.AsyncIterator[AsyncHttpResponse[typing.AsyncIterator[bytes]]]: """ @@ -1103,6 +1125,9 @@ async def stream( apply_language_text_normalization : typing.Optional[bool] This parameter controls language text normalization. This helps with proper pronunciation of text in some supported languages. WARNING: This parameter can heavily increase the latency of the request. Currently only supported for Japanese. + avatar_context : typing.Optional[AvatarContextRequestModel] + Avatar context when this generation is made from the Avatars video editor. + 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. @@ -1139,6 +1164,9 @@ async def stream( "use_pvc_as_ivc": use_pvc_as_ivc, "apply_text_normalization": apply_text_normalization, "apply_language_text_normalization": apply_language_text_normalization, + "avatar_context": convert_and_respect_annotation_metadata( + object_=avatar_context, annotation=AvatarContextRequestModel, direction="write" + ), }, headers={ "content-type": "application/json", @@ -1160,9 +1188,9 @@ async def _stream() -> AsyncHttpResponse[typing.AsyncIterator[bytes]]: raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -1334,9 +1362,9 @@ async def _iter(): raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/text_to_voice/preview/raw_client.py b/src/elevenlabs/text_to_voice/preview/raw_client.py index 3c6e2cfa..c5c2d1d1 100644 --- a/src/elevenlabs/text_to_voice/preview/raw_client.py +++ b/src/elevenlabs/text_to_voice/preview/raw_client.py @@ -11,7 +11,6 @@ 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 class RawPreviewClient: @@ -56,9 +55,9 @@ def _stream() -> HttpResponse[typing.Iterator[bytes]]: raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -116,9 +115,9 @@ async def _stream() -> AsyncHttpResponse[typing.AsyncIterator[bytes]]: raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/text_to_voice/raw_client.py b/src/elevenlabs/text_to_voice/raw_client.py index 043d3b65..1710cd73 100644 --- a/src/elevenlabs/text_to_voice/raw_client.py +++ b/src/elevenlabs/text_to_voice/raw_client.py @@ -11,7 +11,6 @@ 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 ..types.voice import Voice from ..types.voice_design_preview_response import VoiceDesignPreviewResponse from .types.voice_design_request_model_model_id import VoiceDesignRequestModelModelId @@ -114,9 +113,9 @@ def create_previews( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -194,9 +193,9 @@ def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -326,9 +325,9 @@ def design( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -442,9 +441,9 @@ def remix( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -549,9 +548,9 @@ async def create_previews( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -629,9 +628,9 @@ async def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -761,9 +760,9 @@ async def design( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -877,9 +876,9 @@ async def remix( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/tokens/single_use/raw_client.py b/src/elevenlabs/tokens/single_use/raw_client.py index a2801094..140528ff 100644 --- a/src/elevenlabs/tokens/single_use/raw_client.py +++ b/src/elevenlabs/tokens/single_use/raw_client.py @@ -10,7 +10,6 @@ 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 @@ -56,9 +55,9 @@ def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -110,9 +109,9 @@ async def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/types/__init__.py b/src/elevenlabs/types/__init__.py index 5b31adaf..3f06dbe3 100644 --- a/src/elevenlabs/types/__init__.py +++ b/src/elevenlabs/types/__init__.py @@ -83,25 +83,15 @@ from .api_integration_o_auth_2_auth_code_response_scope_separator import ( ApiIntegrationOAuth2AuthCodeResponseScopeSeparator, ) - from .api_integration_webhook_overrides_input import ApiIntegrationWebhookOverridesInput - from .api_integration_webhook_overrides_input_request_headers_value import ( - ApiIntegrationWebhookOverridesInputRequestHeadersValue, + from .api_integration_webhook_overrides import ApiIntegrationWebhookOverrides + from .api_integration_webhook_overrides_request_headers_value import ( + ApiIntegrationWebhookOverridesRequestHeadersValue, ) - from .api_integration_webhook_overrides_input_schema_overrides_value import ( - ApiIntegrationWebhookOverridesInputSchemaOverridesValue, - ApiIntegrationWebhookOverridesInputSchemaOverridesValue_Constant, - ApiIntegrationWebhookOverridesInputSchemaOverridesValue_DynamicVariable, - ApiIntegrationWebhookOverridesInputSchemaOverridesValue_Llm, - ) - from .api_integration_webhook_overrides_output import ApiIntegrationWebhookOverridesOutput - from .api_integration_webhook_overrides_output_request_headers_value import ( - ApiIntegrationWebhookOverridesOutputRequestHeadersValue, - ) - from .api_integration_webhook_overrides_output_schema_overrides_value import ( - ApiIntegrationWebhookOverridesOutputSchemaOverridesValue, - ApiIntegrationWebhookOverridesOutputSchemaOverridesValue_Constant, - ApiIntegrationWebhookOverridesOutputSchemaOverridesValue_DynamicVariable, - ApiIntegrationWebhookOverridesOutputSchemaOverridesValue_Llm, + from .api_integration_webhook_overrides_schema_overrides_value import ( + ApiIntegrationWebhookOverridesSchemaOverridesValue, + ApiIntegrationWebhookOverridesSchemaOverridesValue_Constant, + ApiIntegrationWebhookOverridesSchemaOverridesValue_DynamicVariable, + ApiIntegrationWebhookOverridesSchemaOverridesValue_Llm, ) from .api_integration_webhook_tool_config_input import ApiIntegrationWebhookToolConfigInput from .api_integration_webhook_tool_config_output import ApiIntegrationWebhookToolConfigOutput @@ -114,610 +104,84 @@ from .asr_input_format import AsrInputFormat from .asr_provider import AsrProvider from .asr_quality import AsrQuality + from .asset_transcription import AssetTranscription + from .asset_transcription_word import AssetTranscriptionWord + from .ast_addition_operator_node_input import AstAdditionOperatorNodeInput + from .ast_addition_operator_node_output import AstAdditionOperatorNodeOutput from .ast_and_operator_node_input import AstAndOperatorNodeInput - from .ast_and_operator_node_input_children_item import ( - AstAndOperatorNodeInputChildrenItem, - AstAndOperatorNodeInputChildrenItem_AndOperator, - AstAndOperatorNodeInputChildrenItem_BooleanLiteral, - AstAndOperatorNodeInputChildrenItem_ConditionalOperator, - AstAndOperatorNodeInputChildrenItem_DynamicVariable, - AstAndOperatorNodeInputChildrenItem_EqOperator, - AstAndOperatorNodeInputChildrenItem_GtOperator, - AstAndOperatorNodeInputChildrenItem_GteOperator, - AstAndOperatorNodeInputChildrenItem_Llm, - AstAndOperatorNodeInputChildrenItem_LtOperator, - AstAndOperatorNodeInputChildrenItem_LteOperator, - AstAndOperatorNodeInputChildrenItem_NeqOperator, - AstAndOperatorNodeInputChildrenItem_NumberLiteral, - AstAndOperatorNodeInputChildrenItem_OrOperator, - AstAndOperatorNodeInputChildrenItem_StringLiteral, - ) from .ast_and_operator_node_output import AstAndOperatorNodeOutput - from .ast_and_operator_node_output_children_item import ( - AstAndOperatorNodeOutputChildrenItem, - AstAndOperatorNodeOutputChildrenItem_AndOperator, - AstAndOperatorNodeOutputChildrenItem_BooleanLiteral, - AstAndOperatorNodeOutputChildrenItem_ConditionalOperator, - AstAndOperatorNodeOutputChildrenItem_DynamicVariable, - AstAndOperatorNodeOutputChildrenItem_EqOperator, - AstAndOperatorNodeOutputChildrenItem_GtOperator, - AstAndOperatorNodeOutputChildrenItem_GteOperator, - AstAndOperatorNodeOutputChildrenItem_Llm, - AstAndOperatorNodeOutputChildrenItem_LtOperator, - AstAndOperatorNodeOutputChildrenItem_LteOperator, - AstAndOperatorNodeOutputChildrenItem_NeqOperator, - AstAndOperatorNodeOutputChildrenItem_NumberLiteral, - AstAndOperatorNodeOutputChildrenItem_OrOperator, - AstAndOperatorNodeOutputChildrenItem_StringLiteral, - ) from .ast_boolean_node_input import AstBooleanNodeInput from .ast_boolean_node_output import AstBooleanNodeOutput from .ast_conditional_operator_node_input import AstConditionalOperatorNodeInput - from .ast_conditional_operator_node_input_condition import ( - AstConditionalOperatorNodeInputCondition, - AstConditionalOperatorNodeInputCondition_AndOperator, - AstConditionalOperatorNodeInputCondition_BooleanLiteral, - AstConditionalOperatorNodeInputCondition_ConditionalOperator, - AstConditionalOperatorNodeInputCondition_DynamicVariable, - AstConditionalOperatorNodeInputCondition_EqOperator, - AstConditionalOperatorNodeInputCondition_GtOperator, - AstConditionalOperatorNodeInputCondition_GteOperator, - AstConditionalOperatorNodeInputCondition_Llm, - AstConditionalOperatorNodeInputCondition_LtOperator, - AstConditionalOperatorNodeInputCondition_LteOperator, - AstConditionalOperatorNodeInputCondition_NeqOperator, - AstConditionalOperatorNodeInputCondition_NumberLiteral, - AstConditionalOperatorNodeInputCondition_OrOperator, - AstConditionalOperatorNodeInputCondition_StringLiteral, - ) - from .ast_conditional_operator_node_input_false_expression import ( - AstConditionalOperatorNodeInputFalseExpression, - AstConditionalOperatorNodeInputFalseExpression_AndOperator, - AstConditionalOperatorNodeInputFalseExpression_BooleanLiteral, - AstConditionalOperatorNodeInputFalseExpression_ConditionalOperator, - AstConditionalOperatorNodeInputFalseExpression_DynamicVariable, - AstConditionalOperatorNodeInputFalseExpression_EqOperator, - AstConditionalOperatorNodeInputFalseExpression_GtOperator, - AstConditionalOperatorNodeInputFalseExpression_GteOperator, - AstConditionalOperatorNodeInputFalseExpression_Llm, - AstConditionalOperatorNodeInputFalseExpression_LtOperator, - AstConditionalOperatorNodeInputFalseExpression_LteOperator, - AstConditionalOperatorNodeInputFalseExpression_NeqOperator, - AstConditionalOperatorNodeInputFalseExpression_NumberLiteral, - AstConditionalOperatorNodeInputFalseExpression_OrOperator, - AstConditionalOperatorNodeInputFalseExpression_StringLiteral, - ) - from .ast_conditional_operator_node_input_true_expression import ( - AstConditionalOperatorNodeInputTrueExpression, - AstConditionalOperatorNodeInputTrueExpression_AndOperator, - AstConditionalOperatorNodeInputTrueExpression_BooleanLiteral, - AstConditionalOperatorNodeInputTrueExpression_ConditionalOperator, - AstConditionalOperatorNodeInputTrueExpression_DynamicVariable, - AstConditionalOperatorNodeInputTrueExpression_EqOperator, - AstConditionalOperatorNodeInputTrueExpression_GtOperator, - AstConditionalOperatorNodeInputTrueExpression_GteOperator, - AstConditionalOperatorNodeInputTrueExpression_Llm, - AstConditionalOperatorNodeInputTrueExpression_LtOperator, - AstConditionalOperatorNodeInputTrueExpression_LteOperator, - AstConditionalOperatorNodeInputTrueExpression_NeqOperator, - AstConditionalOperatorNodeInputTrueExpression_NumberLiteral, - AstConditionalOperatorNodeInputTrueExpression_OrOperator, - AstConditionalOperatorNodeInputTrueExpression_StringLiteral, - ) from .ast_conditional_operator_node_output import AstConditionalOperatorNodeOutput - from .ast_conditional_operator_node_output_condition import ( - AstConditionalOperatorNodeOutputCondition, - AstConditionalOperatorNodeOutputCondition_AndOperator, - AstConditionalOperatorNodeOutputCondition_BooleanLiteral, - AstConditionalOperatorNodeOutputCondition_ConditionalOperator, - AstConditionalOperatorNodeOutputCondition_DynamicVariable, - AstConditionalOperatorNodeOutputCondition_EqOperator, - AstConditionalOperatorNodeOutputCondition_GtOperator, - AstConditionalOperatorNodeOutputCondition_GteOperator, - AstConditionalOperatorNodeOutputCondition_Llm, - AstConditionalOperatorNodeOutputCondition_LtOperator, - AstConditionalOperatorNodeOutputCondition_LteOperator, - AstConditionalOperatorNodeOutputCondition_NeqOperator, - AstConditionalOperatorNodeOutputCondition_NumberLiteral, - AstConditionalOperatorNodeOutputCondition_OrOperator, - AstConditionalOperatorNodeOutputCondition_StringLiteral, - ) - from .ast_conditional_operator_node_output_false_expression import ( - AstConditionalOperatorNodeOutputFalseExpression, - AstConditionalOperatorNodeOutputFalseExpression_AndOperator, - AstConditionalOperatorNodeOutputFalseExpression_BooleanLiteral, - AstConditionalOperatorNodeOutputFalseExpression_ConditionalOperator, - AstConditionalOperatorNodeOutputFalseExpression_DynamicVariable, - AstConditionalOperatorNodeOutputFalseExpression_EqOperator, - AstConditionalOperatorNodeOutputFalseExpression_GtOperator, - AstConditionalOperatorNodeOutputFalseExpression_GteOperator, - AstConditionalOperatorNodeOutputFalseExpression_Llm, - AstConditionalOperatorNodeOutputFalseExpression_LtOperator, - AstConditionalOperatorNodeOutputFalseExpression_LteOperator, - AstConditionalOperatorNodeOutputFalseExpression_NeqOperator, - AstConditionalOperatorNodeOutputFalseExpression_NumberLiteral, - AstConditionalOperatorNodeOutputFalseExpression_OrOperator, - AstConditionalOperatorNodeOutputFalseExpression_StringLiteral, - ) - from .ast_conditional_operator_node_output_true_expression import ( - AstConditionalOperatorNodeOutputTrueExpression, - AstConditionalOperatorNodeOutputTrueExpression_AndOperator, - AstConditionalOperatorNodeOutputTrueExpression_BooleanLiteral, - AstConditionalOperatorNodeOutputTrueExpression_ConditionalOperator, - AstConditionalOperatorNodeOutputTrueExpression_DynamicVariable, - AstConditionalOperatorNodeOutputTrueExpression_EqOperator, - AstConditionalOperatorNodeOutputTrueExpression_GtOperator, - AstConditionalOperatorNodeOutputTrueExpression_GteOperator, - AstConditionalOperatorNodeOutputTrueExpression_Llm, - AstConditionalOperatorNodeOutputTrueExpression_LtOperator, - AstConditionalOperatorNodeOutputTrueExpression_LteOperator, - AstConditionalOperatorNodeOutputTrueExpression_NeqOperator, - AstConditionalOperatorNodeOutputTrueExpression_NumberLiteral, - AstConditionalOperatorNodeOutputTrueExpression_OrOperator, - AstConditionalOperatorNodeOutputTrueExpression_StringLiteral, - ) + from .ast_division_operator_node_input import AstDivisionOperatorNodeInput + from .ast_division_operator_node_output import AstDivisionOperatorNodeOutput from .ast_dynamic_variable_node_input import AstDynamicVariableNodeInput from .ast_dynamic_variable_node_output import AstDynamicVariableNodeOutput from .ast_equals_operator_node_input import AstEqualsOperatorNodeInput - from .ast_equals_operator_node_input_left import ( - AstEqualsOperatorNodeInputLeft, - AstEqualsOperatorNodeInputLeft_AndOperator, - AstEqualsOperatorNodeInputLeft_BooleanLiteral, - AstEqualsOperatorNodeInputLeft_ConditionalOperator, - AstEqualsOperatorNodeInputLeft_DynamicVariable, - AstEqualsOperatorNodeInputLeft_EqOperator, - AstEqualsOperatorNodeInputLeft_GtOperator, - AstEqualsOperatorNodeInputLeft_GteOperator, - AstEqualsOperatorNodeInputLeft_Llm, - AstEqualsOperatorNodeInputLeft_LtOperator, - AstEqualsOperatorNodeInputLeft_LteOperator, - AstEqualsOperatorNodeInputLeft_NeqOperator, - AstEqualsOperatorNodeInputLeft_NumberLiteral, - AstEqualsOperatorNodeInputLeft_OrOperator, - AstEqualsOperatorNodeInputLeft_StringLiteral, - ) - from .ast_equals_operator_node_input_right import ( - AstEqualsOperatorNodeInputRight, - AstEqualsOperatorNodeInputRight_AndOperator, - AstEqualsOperatorNodeInputRight_BooleanLiteral, - AstEqualsOperatorNodeInputRight_ConditionalOperator, - AstEqualsOperatorNodeInputRight_DynamicVariable, - AstEqualsOperatorNodeInputRight_EqOperator, - AstEqualsOperatorNodeInputRight_GtOperator, - AstEqualsOperatorNodeInputRight_GteOperator, - AstEqualsOperatorNodeInputRight_Llm, - AstEqualsOperatorNodeInputRight_LtOperator, - AstEqualsOperatorNodeInputRight_LteOperator, - AstEqualsOperatorNodeInputRight_NeqOperator, - AstEqualsOperatorNodeInputRight_NumberLiteral, - AstEqualsOperatorNodeInputRight_OrOperator, - AstEqualsOperatorNodeInputRight_StringLiteral, - ) from .ast_equals_operator_node_output import AstEqualsOperatorNodeOutput - from .ast_equals_operator_node_output_left import ( - AstEqualsOperatorNodeOutputLeft, - AstEqualsOperatorNodeOutputLeft_AndOperator, - AstEqualsOperatorNodeOutputLeft_BooleanLiteral, - AstEqualsOperatorNodeOutputLeft_ConditionalOperator, - AstEqualsOperatorNodeOutputLeft_DynamicVariable, - AstEqualsOperatorNodeOutputLeft_EqOperator, - AstEqualsOperatorNodeOutputLeft_GtOperator, - AstEqualsOperatorNodeOutputLeft_GteOperator, - AstEqualsOperatorNodeOutputLeft_Llm, - AstEqualsOperatorNodeOutputLeft_LtOperator, - AstEqualsOperatorNodeOutputLeft_LteOperator, - AstEqualsOperatorNodeOutputLeft_NeqOperator, - AstEqualsOperatorNodeOutputLeft_NumberLiteral, - AstEqualsOperatorNodeOutputLeft_OrOperator, - AstEqualsOperatorNodeOutputLeft_StringLiteral, - ) - from .ast_equals_operator_node_output_right import ( - AstEqualsOperatorNodeOutputRight, - AstEqualsOperatorNodeOutputRight_AndOperator, - AstEqualsOperatorNodeOutputRight_BooleanLiteral, - AstEqualsOperatorNodeOutputRight_ConditionalOperator, - AstEqualsOperatorNodeOutputRight_DynamicVariable, - AstEqualsOperatorNodeOutputRight_EqOperator, - AstEqualsOperatorNodeOutputRight_GtOperator, - AstEqualsOperatorNodeOutputRight_GteOperator, - AstEqualsOperatorNodeOutputRight_Llm, - AstEqualsOperatorNodeOutputRight_LtOperator, - AstEqualsOperatorNodeOutputRight_LteOperator, - AstEqualsOperatorNodeOutputRight_NeqOperator, - AstEqualsOperatorNodeOutputRight_NumberLiteral, - AstEqualsOperatorNodeOutputRight_OrOperator, - AstEqualsOperatorNodeOutputRight_StringLiteral, - ) from .ast_greater_than_operator_node_input import AstGreaterThanOperatorNodeInput - from .ast_greater_than_operator_node_input_left import ( - AstGreaterThanOperatorNodeInputLeft, - AstGreaterThanOperatorNodeInputLeft_AndOperator, - AstGreaterThanOperatorNodeInputLeft_BooleanLiteral, - AstGreaterThanOperatorNodeInputLeft_ConditionalOperator, - AstGreaterThanOperatorNodeInputLeft_DynamicVariable, - AstGreaterThanOperatorNodeInputLeft_EqOperator, - AstGreaterThanOperatorNodeInputLeft_GtOperator, - AstGreaterThanOperatorNodeInputLeft_GteOperator, - AstGreaterThanOperatorNodeInputLeft_Llm, - AstGreaterThanOperatorNodeInputLeft_LtOperator, - AstGreaterThanOperatorNodeInputLeft_LteOperator, - AstGreaterThanOperatorNodeInputLeft_NeqOperator, - AstGreaterThanOperatorNodeInputLeft_NumberLiteral, - AstGreaterThanOperatorNodeInputLeft_OrOperator, - AstGreaterThanOperatorNodeInputLeft_StringLiteral, - ) - from .ast_greater_than_operator_node_input_right import ( - AstGreaterThanOperatorNodeInputRight, - AstGreaterThanOperatorNodeInputRight_AndOperator, - AstGreaterThanOperatorNodeInputRight_BooleanLiteral, - AstGreaterThanOperatorNodeInputRight_ConditionalOperator, - AstGreaterThanOperatorNodeInputRight_DynamicVariable, - AstGreaterThanOperatorNodeInputRight_EqOperator, - AstGreaterThanOperatorNodeInputRight_GtOperator, - AstGreaterThanOperatorNodeInputRight_GteOperator, - AstGreaterThanOperatorNodeInputRight_Llm, - AstGreaterThanOperatorNodeInputRight_LtOperator, - AstGreaterThanOperatorNodeInputRight_LteOperator, - AstGreaterThanOperatorNodeInputRight_NeqOperator, - AstGreaterThanOperatorNodeInputRight_NumberLiteral, - AstGreaterThanOperatorNodeInputRight_OrOperator, - AstGreaterThanOperatorNodeInputRight_StringLiteral, - ) from .ast_greater_than_operator_node_output import AstGreaterThanOperatorNodeOutput - from .ast_greater_than_operator_node_output_left import ( - AstGreaterThanOperatorNodeOutputLeft, - AstGreaterThanOperatorNodeOutputLeft_AndOperator, - AstGreaterThanOperatorNodeOutputLeft_BooleanLiteral, - AstGreaterThanOperatorNodeOutputLeft_ConditionalOperator, - AstGreaterThanOperatorNodeOutputLeft_DynamicVariable, - AstGreaterThanOperatorNodeOutputLeft_EqOperator, - AstGreaterThanOperatorNodeOutputLeft_GtOperator, - AstGreaterThanOperatorNodeOutputLeft_GteOperator, - AstGreaterThanOperatorNodeOutputLeft_Llm, - AstGreaterThanOperatorNodeOutputLeft_LtOperator, - AstGreaterThanOperatorNodeOutputLeft_LteOperator, - AstGreaterThanOperatorNodeOutputLeft_NeqOperator, - AstGreaterThanOperatorNodeOutputLeft_NumberLiteral, - AstGreaterThanOperatorNodeOutputLeft_OrOperator, - AstGreaterThanOperatorNodeOutputLeft_StringLiteral, - ) - from .ast_greater_than_operator_node_output_right import ( - AstGreaterThanOperatorNodeOutputRight, - AstGreaterThanOperatorNodeOutputRight_AndOperator, - AstGreaterThanOperatorNodeOutputRight_BooleanLiteral, - AstGreaterThanOperatorNodeOutputRight_ConditionalOperator, - AstGreaterThanOperatorNodeOutputRight_DynamicVariable, - AstGreaterThanOperatorNodeOutputRight_EqOperator, - AstGreaterThanOperatorNodeOutputRight_GtOperator, - AstGreaterThanOperatorNodeOutputRight_GteOperator, - AstGreaterThanOperatorNodeOutputRight_Llm, - AstGreaterThanOperatorNodeOutputRight_LtOperator, - AstGreaterThanOperatorNodeOutputRight_LteOperator, - AstGreaterThanOperatorNodeOutputRight_NeqOperator, - AstGreaterThanOperatorNodeOutputRight_NumberLiteral, - AstGreaterThanOperatorNodeOutputRight_OrOperator, - AstGreaterThanOperatorNodeOutputRight_StringLiteral, - ) from .ast_greater_than_or_equals_operator_node_input import AstGreaterThanOrEqualsOperatorNodeInput - from .ast_greater_than_or_equals_operator_node_input_left import ( - AstGreaterThanOrEqualsOperatorNodeInputLeft, - AstGreaterThanOrEqualsOperatorNodeInputLeft_AndOperator, - AstGreaterThanOrEqualsOperatorNodeInputLeft_BooleanLiteral, - AstGreaterThanOrEqualsOperatorNodeInputLeft_ConditionalOperator, - AstGreaterThanOrEqualsOperatorNodeInputLeft_DynamicVariable, - AstGreaterThanOrEqualsOperatorNodeInputLeft_EqOperator, - AstGreaterThanOrEqualsOperatorNodeInputLeft_GtOperator, - AstGreaterThanOrEqualsOperatorNodeInputLeft_GteOperator, - AstGreaterThanOrEqualsOperatorNodeInputLeft_Llm, - AstGreaterThanOrEqualsOperatorNodeInputLeft_LtOperator, - AstGreaterThanOrEqualsOperatorNodeInputLeft_LteOperator, - AstGreaterThanOrEqualsOperatorNodeInputLeft_NeqOperator, - AstGreaterThanOrEqualsOperatorNodeInputLeft_NumberLiteral, - AstGreaterThanOrEqualsOperatorNodeInputLeft_OrOperator, - AstGreaterThanOrEqualsOperatorNodeInputLeft_StringLiteral, - ) - from .ast_greater_than_or_equals_operator_node_input_right import ( - AstGreaterThanOrEqualsOperatorNodeInputRight, - AstGreaterThanOrEqualsOperatorNodeInputRight_AndOperator, - AstGreaterThanOrEqualsOperatorNodeInputRight_BooleanLiteral, - AstGreaterThanOrEqualsOperatorNodeInputRight_ConditionalOperator, - AstGreaterThanOrEqualsOperatorNodeInputRight_DynamicVariable, - AstGreaterThanOrEqualsOperatorNodeInputRight_EqOperator, - AstGreaterThanOrEqualsOperatorNodeInputRight_GtOperator, - AstGreaterThanOrEqualsOperatorNodeInputRight_GteOperator, - AstGreaterThanOrEqualsOperatorNodeInputRight_Llm, - AstGreaterThanOrEqualsOperatorNodeInputRight_LtOperator, - AstGreaterThanOrEqualsOperatorNodeInputRight_LteOperator, - AstGreaterThanOrEqualsOperatorNodeInputRight_NeqOperator, - AstGreaterThanOrEqualsOperatorNodeInputRight_NumberLiteral, - AstGreaterThanOrEqualsOperatorNodeInputRight_OrOperator, - AstGreaterThanOrEqualsOperatorNodeInputRight_StringLiteral, - ) from .ast_greater_than_or_equals_operator_node_output import AstGreaterThanOrEqualsOperatorNodeOutput - from .ast_greater_than_or_equals_operator_node_output_left import ( - AstGreaterThanOrEqualsOperatorNodeOutputLeft, - AstGreaterThanOrEqualsOperatorNodeOutputLeft_AndOperator, - AstGreaterThanOrEqualsOperatorNodeOutputLeft_BooleanLiteral, - AstGreaterThanOrEqualsOperatorNodeOutputLeft_ConditionalOperator, - AstGreaterThanOrEqualsOperatorNodeOutputLeft_DynamicVariable, - AstGreaterThanOrEqualsOperatorNodeOutputLeft_EqOperator, - AstGreaterThanOrEqualsOperatorNodeOutputLeft_GtOperator, - AstGreaterThanOrEqualsOperatorNodeOutputLeft_GteOperator, - AstGreaterThanOrEqualsOperatorNodeOutputLeft_Llm, - AstGreaterThanOrEqualsOperatorNodeOutputLeft_LtOperator, - AstGreaterThanOrEqualsOperatorNodeOutputLeft_LteOperator, - AstGreaterThanOrEqualsOperatorNodeOutputLeft_NeqOperator, - AstGreaterThanOrEqualsOperatorNodeOutputLeft_NumberLiteral, - AstGreaterThanOrEqualsOperatorNodeOutputLeft_OrOperator, - AstGreaterThanOrEqualsOperatorNodeOutputLeft_StringLiteral, - ) - from .ast_greater_than_or_equals_operator_node_output_right import ( - AstGreaterThanOrEqualsOperatorNodeOutputRight, - AstGreaterThanOrEqualsOperatorNodeOutputRight_AndOperator, - AstGreaterThanOrEqualsOperatorNodeOutputRight_BooleanLiteral, - AstGreaterThanOrEqualsOperatorNodeOutputRight_ConditionalOperator, - AstGreaterThanOrEqualsOperatorNodeOutputRight_DynamicVariable, - AstGreaterThanOrEqualsOperatorNodeOutputRight_EqOperator, - AstGreaterThanOrEqualsOperatorNodeOutputRight_GtOperator, - AstGreaterThanOrEqualsOperatorNodeOutputRight_GteOperator, - AstGreaterThanOrEqualsOperatorNodeOutputRight_Llm, - AstGreaterThanOrEqualsOperatorNodeOutputRight_LtOperator, - AstGreaterThanOrEqualsOperatorNodeOutputRight_LteOperator, - AstGreaterThanOrEqualsOperatorNodeOutputRight_NeqOperator, - AstGreaterThanOrEqualsOperatorNodeOutputRight_NumberLiteral, - AstGreaterThanOrEqualsOperatorNodeOutputRight_OrOperator, - AstGreaterThanOrEqualsOperatorNodeOutputRight_StringLiteral, - ) from .ast_less_than_operator_node_input import AstLessThanOperatorNodeInput - from .ast_less_than_operator_node_input_left import ( - AstLessThanOperatorNodeInputLeft, - AstLessThanOperatorNodeInputLeft_AndOperator, - AstLessThanOperatorNodeInputLeft_BooleanLiteral, - AstLessThanOperatorNodeInputLeft_ConditionalOperator, - AstLessThanOperatorNodeInputLeft_DynamicVariable, - AstLessThanOperatorNodeInputLeft_EqOperator, - AstLessThanOperatorNodeInputLeft_GtOperator, - AstLessThanOperatorNodeInputLeft_GteOperator, - AstLessThanOperatorNodeInputLeft_Llm, - AstLessThanOperatorNodeInputLeft_LtOperator, - AstLessThanOperatorNodeInputLeft_LteOperator, - AstLessThanOperatorNodeInputLeft_NeqOperator, - AstLessThanOperatorNodeInputLeft_NumberLiteral, - AstLessThanOperatorNodeInputLeft_OrOperator, - AstLessThanOperatorNodeInputLeft_StringLiteral, - ) - from .ast_less_than_operator_node_input_right import ( - AstLessThanOperatorNodeInputRight, - AstLessThanOperatorNodeInputRight_AndOperator, - AstLessThanOperatorNodeInputRight_BooleanLiteral, - AstLessThanOperatorNodeInputRight_ConditionalOperator, - AstLessThanOperatorNodeInputRight_DynamicVariable, - AstLessThanOperatorNodeInputRight_EqOperator, - AstLessThanOperatorNodeInputRight_GtOperator, - AstLessThanOperatorNodeInputRight_GteOperator, - AstLessThanOperatorNodeInputRight_Llm, - AstLessThanOperatorNodeInputRight_LtOperator, - AstLessThanOperatorNodeInputRight_LteOperator, - AstLessThanOperatorNodeInputRight_NeqOperator, - AstLessThanOperatorNodeInputRight_NumberLiteral, - AstLessThanOperatorNodeInputRight_OrOperator, - AstLessThanOperatorNodeInputRight_StringLiteral, - ) from .ast_less_than_operator_node_output import AstLessThanOperatorNodeOutput - from .ast_less_than_operator_node_output_left import ( - AstLessThanOperatorNodeOutputLeft, - AstLessThanOperatorNodeOutputLeft_AndOperator, - AstLessThanOperatorNodeOutputLeft_BooleanLiteral, - AstLessThanOperatorNodeOutputLeft_ConditionalOperator, - AstLessThanOperatorNodeOutputLeft_DynamicVariable, - AstLessThanOperatorNodeOutputLeft_EqOperator, - AstLessThanOperatorNodeOutputLeft_GtOperator, - AstLessThanOperatorNodeOutputLeft_GteOperator, - AstLessThanOperatorNodeOutputLeft_Llm, - AstLessThanOperatorNodeOutputLeft_LtOperator, - AstLessThanOperatorNodeOutputLeft_LteOperator, - AstLessThanOperatorNodeOutputLeft_NeqOperator, - AstLessThanOperatorNodeOutputLeft_NumberLiteral, - AstLessThanOperatorNodeOutputLeft_OrOperator, - AstLessThanOperatorNodeOutputLeft_StringLiteral, - ) - from .ast_less_than_operator_node_output_right import ( - AstLessThanOperatorNodeOutputRight, - AstLessThanOperatorNodeOutputRight_AndOperator, - AstLessThanOperatorNodeOutputRight_BooleanLiteral, - AstLessThanOperatorNodeOutputRight_ConditionalOperator, - AstLessThanOperatorNodeOutputRight_DynamicVariable, - AstLessThanOperatorNodeOutputRight_EqOperator, - AstLessThanOperatorNodeOutputRight_GtOperator, - AstLessThanOperatorNodeOutputRight_GteOperator, - AstLessThanOperatorNodeOutputRight_Llm, - AstLessThanOperatorNodeOutputRight_LtOperator, - AstLessThanOperatorNodeOutputRight_LteOperator, - AstLessThanOperatorNodeOutputRight_NeqOperator, - AstLessThanOperatorNodeOutputRight_NumberLiteral, - AstLessThanOperatorNodeOutputRight_OrOperator, - AstLessThanOperatorNodeOutputRight_StringLiteral, - ) from .ast_less_than_or_equals_operator_node_input import AstLessThanOrEqualsOperatorNodeInput - from .ast_less_than_or_equals_operator_node_input_left import ( - AstLessThanOrEqualsOperatorNodeInputLeft, - AstLessThanOrEqualsOperatorNodeInputLeft_AndOperator, - AstLessThanOrEqualsOperatorNodeInputLeft_BooleanLiteral, - AstLessThanOrEqualsOperatorNodeInputLeft_ConditionalOperator, - AstLessThanOrEqualsOperatorNodeInputLeft_DynamicVariable, - AstLessThanOrEqualsOperatorNodeInputLeft_EqOperator, - AstLessThanOrEqualsOperatorNodeInputLeft_GtOperator, - AstLessThanOrEqualsOperatorNodeInputLeft_GteOperator, - AstLessThanOrEqualsOperatorNodeInputLeft_Llm, - AstLessThanOrEqualsOperatorNodeInputLeft_LtOperator, - AstLessThanOrEqualsOperatorNodeInputLeft_LteOperator, - AstLessThanOrEqualsOperatorNodeInputLeft_NeqOperator, - AstLessThanOrEqualsOperatorNodeInputLeft_NumberLiteral, - AstLessThanOrEqualsOperatorNodeInputLeft_OrOperator, - AstLessThanOrEqualsOperatorNodeInputLeft_StringLiteral, - ) - from .ast_less_than_or_equals_operator_node_input_right import ( - AstLessThanOrEqualsOperatorNodeInputRight, - AstLessThanOrEqualsOperatorNodeInputRight_AndOperator, - AstLessThanOrEqualsOperatorNodeInputRight_BooleanLiteral, - AstLessThanOrEqualsOperatorNodeInputRight_ConditionalOperator, - AstLessThanOrEqualsOperatorNodeInputRight_DynamicVariable, - AstLessThanOrEqualsOperatorNodeInputRight_EqOperator, - AstLessThanOrEqualsOperatorNodeInputRight_GtOperator, - AstLessThanOrEqualsOperatorNodeInputRight_GteOperator, - AstLessThanOrEqualsOperatorNodeInputRight_Llm, - AstLessThanOrEqualsOperatorNodeInputRight_LtOperator, - AstLessThanOrEqualsOperatorNodeInputRight_LteOperator, - AstLessThanOrEqualsOperatorNodeInputRight_NeqOperator, - AstLessThanOrEqualsOperatorNodeInputRight_NumberLiteral, - AstLessThanOrEqualsOperatorNodeInputRight_OrOperator, - AstLessThanOrEqualsOperatorNodeInputRight_StringLiteral, - ) from .ast_less_than_or_equals_operator_node_output import AstLessThanOrEqualsOperatorNodeOutput - from .ast_less_than_or_equals_operator_node_output_left import ( - AstLessThanOrEqualsOperatorNodeOutputLeft, - AstLessThanOrEqualsOperatorNodeOutputLeft_AndOperator, - AstLessThanOrEqualsOperatorNodeOutputLeft_BooleanLiteral, - AstLessThanOrEqualsOperatorNodeOutputLeft_ConditionalOperator, - AstLessThanOrEqualsOperatorNodeOutputLeft_DynamicVariable, - AstLessThanOrEqualsOperatorNodeOutputLeft_EqOperator, - AstLessThanOrEqualsOperatorNodeOutputLeft_GtOperator, - AstLessThanOrEqualsOperatorNodeOutputLeft_GteOperator, - AstLessThanOrEqualsOperatorNodeOutputLeft_Llm, - AstLessThanOrEqualsOperatorNodeOutputLeft_LtOperator, - AstLessThanOrEqualsOperatorNodeOutputLeft_LteOperator, - AstLessThanOrEqualsOperatorNodeOutputLeft_NeqOperator, - AstLessThanOrEqualsOperatorNodeOutputLeft_NumberLiteral, - AstLessThanOrEqualsOperatorNodeOutputLeft_OrOperator, - AstLessThanOrEqualsOperatorNodeOutputLeft_StringLiteral, - ) - from .ast_less_than_or_equals_operator_node_output_right import ( - AstLessThanOrEqualsOperatorNodeOutputRight, - AstLessThanOrEqualsOperatorNodeOutputRight_AndOperator, - AstLessThanOrEqualsOperatorNodeOutputRight_BooleanLiteral, - AstLessThanOrEqualsOperatorNodeOutputRight_ConditionalOperator, - AstLessThanOrEqualsOperatorNodeOutputRight_DynamicVariable, - AstLessThanOrEqualsOperatorNodeOutputRight_EqOperator, - AstLessThanOrEqualsOperatorNodeOutputRight_GtOperator, - AstLessThanOrEqualsOperatorNodeOutputRight_GteOperator, - AstLessThanOrEqualsOperatorNodeOutputRight_Llm, - AstLessThanOrEqualsOperatorNodeOutputRight_LtOperator, - AstLessThanOrEqualsOperatorNodeOutputRight_LteOperator, - AstLessThanOrEqualsOperatorNodeOutputRight_NeqOperator, - AstLessThanOrEqualsOperatorNodeOutputRight_NumberLiteral, - AstLessThanOrEqualsOperatorNodeOutputRight_OrOperator, - AstLessThanOrEqualsOperatorNodeOutputRight_StringLiteral, + from .ast_multiplication_operator_node_input import AstMultiplicationOperatorNodeInput + from .ast_multiplication_operator_node_output import AstMultiplicationOperatorNodeOutput + from .ast_node_input import ( + AstNodeInput, + AstNodeInput_AddOperator, + AstNodeInput_AndOperator, + AstNodeInput_BooleanLiteral, + AstNodeInput_ConditionalOperator, + AstNodeInput_DivOperator, + AstNodeInput_DynamicVariable, + AstNodeInput_EqOperator, + AstNodeInput_GtOperator, + AstNodeInput_GteOperator, + AstNodeInput_Llm, + AstNodeInput_LtOperator, + AstNodeInput_LteOperator, + AstNodeInput_MulOperator, + AstNodeInput_NeqOperator, + AstNodeInput_NumberLiteral, + AstNodeInput_OrOperator, + AstNodeInput_StringLiteral, + AstNodeInput_SubOperator, + ) + from .ast_node_output import ( + AstNodeOutput, + AstNodeOutput_AddOperator, + AstNodeOutput_AndOperator, + AstNodeOutput_BooleanLiteral, + AstNodeOutput_ConditionalOperator, + AstNodeOutput_DivOperator, + AstNodeOutput_DynamicVariable, + AstNodeOutput_EqOperator, + AstNodeOutput_GtOperator, + AstNodeOutput_GteOperator, + AstNodeOutput_Llm, + AstNodeOutput_LtOperator, + AstNodeOutput_LteOperator, + AstNodeOutput_MulOperator, + AstNodeOutput_NeqOperator, + AstNodeOutput_NumberLiteral, + AstNodeOutput_OrOperator, + AstNodeOutput_StringLiteral, + AstNodeOutput_SubOperator, ) from .ast_not_equals_operator_node_input import AstNotEqualsOperatorNodeInput - from .ast_not_equals_operator_node_input_left import ( - AstNotEqualsOperatorNodeInputLeft, - AstNotEqualsOperatorNodeInputLeft_AndOperator, - AstNotEqualsOperatorNodeInputLeft_BooleanLiteral, - AstNotEqualsOperatorNodeInputLeft_ConditionalOperator, - AstNotEqualsOperatorNodeInputLeft_DynamicVariable, - AstNotEqualsOperatorNodeInputLeft_EqOperator, - AstNotEqualsOperatorNodeInputLeft_GtOperator, - AstNotEqualsOperatorNodeInputLeft_GteOperator, - AstNotEqualsOperatorNodeInputLeft_Llm, - AstNotEqualsOperatorNodeInputLeft_LtOperator, - AstNotEqualsOperatorNodeInputLeft_LteOperator, - AstNotEqualsOperatorNodeInputLeft_NeqOperator, - AstNotEqualsOperatorNodeInputLeft_NumberLiteral, - AstNotEqualsOperatorNodeInputLeft_OrOperator, - AstNotEqualsOperatorNodeInputLeft_StringLiteral, - ) - from .ast_not_equals_operator_node_input_right import ( - AstNotEqualsOperatorNodeInputRight, - AstNotEqualsOperatorNodeInputRight_AndOperator, - AstNotEqualsOperatorNodeInputRight_BooleanLiteral, - AstNotEqualsOperatorNodeInputRight_ConditionalOperator, - AstNotEqualsOperatorNodeInputRight_DynamicVariable, - AstNotEqualsOperatorNodeInputRight_EqOperator, - AstNotEqualsOperatorNodeInputRight_GtOperator, - AstNotEqualsOperatorNodeInputRight_GteOperator, - AstNotEqualsOperatorNodeInputRight_Llm, - AstNotEqualsOperatorNodeInputRight_LtOperator, - AstNotEqualsOperatorNodeInputRight_LteOperator, - AstNotEqualsOperatorNodeInputRight_NeqOperator, - AstNotEqualsOperatorNodeInputRight_NumberLiteral, - AstNotEqualsOperatorNodeInputRight_OrOperator, - AstNotEqualsOperatorNodeInputRight_StringLiteral, - ) from .ast_not_equals_operator_node_output import AstNotEqualsOperatorNodeOutput - from .ast_not_equals_operator_node_output_left import ( - AstNotEqualsOperatorNodeOutputLeft, - AstNotEqualsOperatorNodeOutputLeft_AndOperator, - AstNotEqualsOperatorNodeOutputLeft_BooleanLiteral, - AstNotEqualsOperatorNodeOutputLeft_ConditionalOperator, - AstNotEqualsOperatorNodeOutputLeft_DynamicVariable, - AstNotEqualsOperatorNodeOutputLeft_EqOperator, - AstNotEqualsOperatorNodeOutputLeft_GtOperator, - AstNotEqualsOperatorNodeOutputLeft_GteOperator, - AstNotEqualsOperatorNodeOutputLeft_Llm, - AstNotEqualsOperatorNodeOutputLeft_LtOperator, - AstNotEqualsOperatorNodeOutputLeft_LteOperator, - AstNotEqualsOperatorNodeOutputLeft_NeqOperator, - AstNotEqualsOperatorNodeOutputLeft_NumberLiteral, - AstNotEqualsOperatorNodeOutputLeft_OrOperator, - AstNotEqualsOperatorNodeOutputLeft_StringLiteral, - ) - from .ast_not_equals_operator_node_output_right import ( - AstNotEqualsOperatorNodeOutputRight, - AstNotEqualsOperatorNodeOutputRight_AndOperator, - AstNotEqualsOperatorNodeOutputRight_BooleanLiteral, - AstNotEqualsOperatorNodeOutputRight_ConditionalOperator, - AstNotEqualsOperatorNodeOutputRight_DynamicVariable, - AstNotEqualsOperatorNodeOutputRight_EqOperator, - AstNotEqualsOperatorNodeOutputRight_GtOperator, - AstNotEqualsOperatorNodeOutputRight_GteOperator, - AstNotEqualsOperatorNodeOutputRight_Llm, - AstNotEqualsOperatorNodeOutputRight_LtOperator, - AstNotEqualsOperatorNodeOutputRight_LteOperator, - AstNotEqualsOperatorNodeOutputRight_NeqOperator, - AstNotEqualsOperatorNodeOutputRight_NumberLiteral, - AstNotEqualsOperatorNodeOutputRight_OrOperator, - AstNotEqualsOperatorNodeOutputRight_StringLiteral, - ) from .ast_number_node_input import AstNumberNodeInput from .ast_number_node_output import AstNumberNodeOutput from .ast_or_operator_node_input import AstOrOperatorNodeInput - from .ast_or_operator_node_input_children_item import ( - AstOrOperatorNodeInputChildrenItem, - AstOrOperatorNodeInputChildrenItem_AndOperator, - AstOrOperatorNodeInputChildrenItem_BooleanLiteral, - AstOrOperatorNodeInputChildrenItem_ConditionalOperator, - AstOrOperatorNodeInputChildrenItem_DynamicVariable, - AstOrOperatorNodeInputChildrenItem_EqOperator, - AstOrOperatorNodeInputChildrenItem_GtOperator, - AstOrOperatorNodeInputChildrenItem_GteOperator, - AstOrOperatorNodeInputChildrenItem_Llm, - AstOrOperatorNodeInputChildrenItem_LtOperator, - AstOrOperatorNodeInputChildrenItem_LteOperator, - AstOrOperatorNodeInputChildrenItem_NeqOperator, - AstOrOperatorNodeInputChildrenItem_NumberLiteral, - AstOrOperatorNodeInputChildrenItem_OrOperator, - AstOrOperatorNodeInputChildrenItem_StringLiteral, - ) from .ast_or_operator_node_output import AstOrOperatorNodeOutput - from .ast_or_operator_node_output_children_item import ( - AstOrOperatorNodeOutputChildrenItem, - AstOrOperatorNodeOutputChildrenItem_AndOperator, - AstOrOperatorNodeOutputChildrenItem_BooleanLiteral, - AstOrOperatorNodeOutputChildrenItem_ConditionalOperator, - AstOrOperatorNodeOutputChildrenItem_DynamicVariable, - AstOrOperatorNodeOutputChildrenItem_EqOperator, - AstOrOperatorNodeOutputChildrenItem_GtOperator, - AstOrOperatorNodeOutputChildrenItem_GteOperator, - AstOrOperatorNodeOutputChildrenItem_Llm, - AstOrOperatorNodeOutputChildrenItem_LtOperator, - AstOrOperatorNodeOutputChildrenItem_LteOperator, - AstOrOperatorNodeOutputChildrenItem_NeqOperator, - AstOrOperatorNodeOutputChildrenItem_NumberLiteral, - AstOrOperatorNodeOutputChildrenItem_OrOperator, - AstOrOperatorNodeOutputChildrenItem_StringLiteral, - ) from .ast_string_node_input import AstStringNodeInput from .ast_string_node_output import AstStringNodeOutput + from .ast_subtraction_operator_node_input import AstSubtractionOperatorNodeInput + from .ast_subtraction_operator_node_output import AstSubtractionOperatorNodeOutput from .astllm_node_input import AstllmNodeInput from .astllm_node_input_prompt import AstllmNodeInputPrompt from .astllm_node_input_value_schema import AstllmNodeInputValueSchema @@ -725,13 +189,18 @@ from .async_conversation_metadata import AsyncConversationMetadata from .async_conversation_metadata_delivery_status import AsyncConversationMetadataDeliveryStatus from .attached_test_model import AttachedTestModel + from .audio_analysis import AudioAnalysis + from .audio_analysis_result import AudioAnalysisResult + from .audio_analysis_status import AudioAnalysisStatus from .audio_format_enum import AudioFormatEnum + from .audio_key_moment import AudioKeyMoment from .audio_native_create_project_response_model import AudioNativeCreateProjectResponseModel from .audio_native_edit_content_response_model import AudioNativeEditContentResponseModel from .audio_native_project_settings_response_model import AudioNativeProjectSettingsResponseModel from .audio_native_project_settings_response_model_status import AudioNativeProjectSettingsResponseModelStatus from .audio_output import AudioOutput from .audio_output_multi import AudioOutputMulti + from .audio_segment import AudioSegment from .audio_with_timestamps_and_voice_segments_response_model import ( AudioWithTimestampsAndVoiceSegmentsResponseModel, ) @@ -751,6 +220,8 @@ from .auth_settings import AuthSettings from .authorization_method import AuthorizationMethod from .auto_sync_info import AutoSyncInfo + from .avatar_context_request_model import AvatarContextRequestModel + from .avatar_context_response_model import AvatarContextResponseModel from .backup_llm_default import BackupLlmDefault from .backup_llm_disabled import BackupLlmDisabled from .backup_llm_override import BackupLlmOverride @@ -1059,6 +530,7 @@ from .create_client_appointment_params import CreateClientAppointmentParams from .create_client_params import CreateClientParams from .create_custom_header_auth_request import CreateCustomHeaderAuthRequest + from .create_mtls_auth_request import CreateMtlsAuthRequest from .create_o_auth_2_client_creds_request import CreateOAuth2ClientCredsRequest from .create_o_auth_2_jwt_request import CreateOAuth2JwtRequest from .create_o_auth_2_jwt_request_algorithm import CreateOAuth2JwtRequestAlgorithm @@ -1152,6 +624,7 @@ from .do_dubbing_response import DoDubbingResponse from .document_usage_mode_enum import DocumentUsageModeEnum from .docx_export_options import DocxExportOptions + from .dtmf_input_config import DtmfInputConfig from .dubbed_segment import DubbedSegment from .dubbing_media_metadata import DubbingMediaMetadata from .dubbing_media_reference import DubbingMediaReference @@ -1214,6 +687,8 @@ from .feature_status_common_model import FeatureStatusCommonModel from .features_usage_common_model import FeaturesUsageCommonModel from .feedback_item import FeedbackItem + from .file_input_config import FileInputConfig + from .file_input_config_workflow_override import FileInputConfigWorkflowOverride from .final_output import FinalOutput from .final_output_multi import FinalOutputMulti from .fine_tuning_response import FineTuningResponse @@ -1227,6 +702,7 @@ from .generate_voice_request import GenerateVoiceRequest from .generation_config import GenerationConfig from .generation_source_context import GenerationSourceContext + from .genesys_region import GenesysRegion 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 @@ -1413,6 +889,7 @@ ListAuthConnectionsResponseAuthConnectionsItem_BasicAuth, ListAuthConnectionsResponseAuthConnectionsItem_BearerAuth, ListAuthConnectionsResponseAuthConnectionsItem_CustomHeaderAuth, + ListAuthConnectionsResponseAuthConnectionsItem_Mtls, ListAuthConnectionsResponseAuthConnectionsItem_Oauth2ClientCredentials, ListAuthConnectionsResponseAuthConnectionsItem_Oauth2Jwt, ListAuthConnectionsResponseAuthConnectionsItem_PrivateKeyJwt, @@ -1431,8 +908,6 @@ from .literal_json_schema_property import LiteralJsonSchemaProperty from .literal_json_schema_property_constant_value import LiteralJsonSchemaPropertyConstantValue from .literal_json_schema_property_type import LiteralJsonSchemaPropertyType - from .literal_override import LiteralOverride - from .literal_override_constant_value import LiteralOverrideConstantValue from .livekit_stack_type import LivekitStackType from .llm import Llm from .llm_category_usage import LlmCategoryUsage @@ -1486,16 +961,20 @@ McpToolConfigOverrideInputOverridesValue_Llm, ) from .merging_strategy import MergingStrategy + from .message_search_sort_by import MessageSearchSortBy from .messages_search_response import MessagesSearchResponse from .messages_search_result import MessagesSearchResult from .metric_record import MetricRecord from .metric_type import MetricType + from .mock_no_match_behavior import MockNoMatchBehavior + from .mocking_strategy import MockingStrategy from .model import Model from .model_rates_response_model import ModelRatesResponseModel from .model_settings_response_model import ModelSettingsResponseModel from .moderation_config import ModerationConfig from .moderation_guardrail_input import ModerationGuardrailInput from .moderation_guardrail_output import ModerationGuardrailOutput + from .mtls_auth_response import MtlsAuthResponse from .multi_source_config_json import MultiSourceConfigJson from .multichannel_speech_to_text_response_model import MultichannelSpeechToTextResponseModel from .multipart_music_response import MultipartMusicResponse @@ -1508,15 +987,13 @@ from .o_auth_2_client_creds_response import OAuth2ClientCredsResponse from .o_auth_2_jwt_response import OAuth2JwtResponse from .o_auth_2_jwt_response_algorithm import OAuth2JwtResponseAlgorithm + from .o_auth_connection_status import OAuthConnectionStatus from .object_json_schema_property_input import ObjectJsonSchemaPropertyInput from .object_json_schema_property_input_properties_value import ObjectJsonSchemaPropertyInputPropertiesValue from .object_json_schema_property_output import ObjectJsonSchemaPropertyOutput from .object_json_schema_property_output_properties_value import ObjectJsonSchemaPropertyOutputPropertiesValue - from .object_override_input import ObjectOverrideInput - from .object_override_input_properties_value import ObjectOverrideInputPropertiesValue - from .object_override_output import ObjectOverrideOutput - from .object_override_output_properties_value import ObjectOverrideOutputPropertiesValue from .orb_avatar import OrbAvatar + from .orchestrator_tool_mock_behavior_config import OrchestratorToolMockBehaviorConfig from .outbound_call_recipient import OutboundCallRecipient from .outbound_call_recipient_response_model import OutboundCallRecipientResponseModel from .outbound_sip_trunk_config_request_model import OutboundSipTrunkConfigRequestModel @@ -1572,7 +1049,9 @@ from .privacy_config_output import PrivacyConfigOutput from .private_key_jwt_response import PrivateKeyJwtResponse from .private_key_jwt_response_algorithm import PrivateKeyJwtResponseAlgorithm + from .procedure_compiler_mode import ProcedureCompilerMode from .procedure_ref_response_model import ProcedureRefResponseModel + from .procedure_settings import ProcedureSettings from .project_creation_meta_response_model import ProjectCreationMetaResponseModel from .project_creation_meta_response_model_status import ProjectCreationMetaResponseModelStatus from .project_creation_meta_response_model_type import ProjectCreationMetaResponseModelType @@ -1691,7 +1170,6 @@ PronunciationDictionaryVersionResponseModelPermissionOnResource, ) from .pydantic_pronunciation_dictionary_version_locator import PydanticPronunciationDictionaryVersionLocator - from .query_override import QueryOverride from .query_params_json_schema import QueryParamsJsonSchema from .rag_chunk_metadata import RagChunkMetadata from .rag_config import RagConfig @@ -1786,6 +1264,7 @@ from .similar_voices_for_speaker_response import SimilarVoicesForSpeakerResponse from .simulation_test_model import SimulationTestModel from .simulation_test_model_dynamic_variables_value import SimulationTestModelDynamicVariablesValue + from .simulation_tool_mock_behavior_config import SimulationToolMockBehaviorConfig from .single_test_run_request_model import SingleTestRunRequestModel from .single_use_token_response_model import SingleUseTokenResponseModel from .single_use_token_type import SingleUseTokenType @@ -1906,6 +1385,8 @@ ToolRequestModelToolConfig_System, ToolRequestModelToolConfig_Webhook, ) + from .tool_response_mock_config_input import ToolResponseMockConfigInput + from .tool_response_mock_config_output import ToolResponseMockConfigOutput from .tool_response_model import ToolResponseModel from .tool_response_model_tool_config import ( ToolResponseModelToolConfig, @@ -2019,8 +1500,6 @@ from .video_key_moment import VideoKeyMoment from .video_segment import VideoSegment from .video_subject import VideoSubject - from .video_transcription import VideoTranscription - from .video_transcription_word import VideoTranscriptionWord from .voice import Voice from .voice_category import VoiceCategory from .voice_design_preview_response import VoiceDesignPreviewResponse @@ -2029,6 +1508,8 @@ from .voice_mail_detection_result_success_model import VoiceMailDetectionResultSuccessModel from .voice_preview_response_model import VoicePreviewResponseModel from .voice_response_model_category import VoiceResponseModelCategory + from .voice_response_model_labelling_status import VoiceResponseModelLabellingStatus + from .voice_response_model_recording_quality import VoiceResponseModelRecordingQuality from .voice_response_model_safety_control import VoiceResponseModelSafetyControl from .voice_sample import VoiceSample from .voice_sample_preview_response_model import VoiceSamplePreviewResponseModel @@ -2153,41 +1634,7 @@ from .workflow_end_node_model_input import WorkflowEndNodeModelInput from .workflow_end_node_model_output import WorkflowEndNodeModelOutput from .workflow_expression_condition_model_input import WorkflowExpressionConditionModelInput - from .workflow_expression_condition_model_input_expression import ( - WorkflowExpressionConditionModelInputExpression, - WorkflowExpressionConditionModelInputExpression_AndOperator, - WorkflowExpressionConditionModelInputExpression_BooleanLiteral, - WorkflowExpressionConditionModelInputExpression_ConditionalOperator, - WorkflowExpressionConditionModelInputExpression_DynamicVariable, - WorkflowExpressionConditionModelInputExpression_EqOperator, - WorkflowExpressionConditionModelInputExpression_GtOperator, - WorkflowExpressionConditionModelInputExpression_GteOperator, - WorkflowExpressionConditionModelInputExpression_Llm, - WorkflowExpressionConditionModelInputExpression_LtOperator, - WorkflowExpressionConditionModelInputExpression_LteOperator, - WorkflowExpressionConditionModelInputExpression_NeqOperator, - WorkflowExpressionConditionModelInputExpression_NumberLiteral, - WorkflowExpressionConditionModelInputExpression_OrOperator, - WorkflowExpressionConditionModelInputExpression_StringLiteral, - ) from .workflow_expression_condition_model_output import WorkflowExpressionConditionModelOutput - from .workflow_expression_condition_model_output_expression import ( - WorkflowExpressionConditionModelOutputExpression, - WorkflowExpressionConditionModelOutputExpression_AndOperator, - WorkflowExpressionConditionModelOutputExpression_BooleanLiteral, - WorkflowExpressionConditionModelOutputExpression_ConditionalOperator, - WorkflowExpressionConditionModelOutputExpression_DynamicVariable, - WorkflowExpressionConditionModelOutputExpression_EqOperator, - WorkflowExpressionConditionModelOutputExpression_GtOperator, - WorkflowExpressionConditionModelOutputExpression_GteOperator, - WorkflowExpressionConditionModelOutputExpression_Llm, - WorkflowExpressionConditionModelOutputExpression_LtOperator, - WorkflowExpressionConditionModelOutputExpression_LteOperator, - WorkflowExpressionConditionModelOutputExpression_NeqOperator, - WorkflowExpressionConditionModelOutputExpression_NumberLiteral, - WorkflowExpressionConditionModelOutputExpression_OrOperator, - WorkflowExpressionConditionModelOutputExpression_StringLiteral, - ) from .workflow_features_usage_common_model import WorkflowFeaturesUsageCommonModel from .workflow_llm_condition_model_input import WorkflowLlmConditionModelInput from .workflow_llm_condition_model_output import WorkflowLlmConditionModelOutput @@ -2349,18 +1796,12 @@ "AllowlistItem": ".allowlist_item", "ApiIntegrationOAuth2AuthCodeResponse": ".api_integration_o_auth_2_auth_code_response", "ApiIntegrationOAuth2AuthCodeResponseScopeSeparator": ".api_integration_o_auth_2_auth_code_response_scope_separator", - "ApiIntegrationWebhookOverridesInput": ".api_integration_webhook_overrides_input", - "ApiIntegrationWebhookOverridesInputRequestHeadersValue": ".api_integration_webhook_overrides_input_request_headers_value", - "ApiIntegrationWebhookOverridesInputSchemaOverridesValue": ".api_integration_webhook_overrides_input_schema_overrides_value", - "ApiIntegrationWebhookOverridesInputSchemaOverridesValue_Constant": ".api_integration_webhook_overrides_input_schema_overrides_value", - "ApiIntegrationWebhookOverridesInputSchemaOverridesValue_DynamicVariable": ".api_integration_webhook_overrides_input_schema_overrides_value", - "ApiIntegrationWebhookOverridesInputSchemaOverridesValue_Llm": ".api_integration_webhook_overrides_input_schema_overrides_value", - "ApiIntegrationWebhookOverridesOutput": ".api_integration_webhook_overrides_output", - "ApiIntegrationWebhookOverridesOutputRequestHeadersValue": ".api_integration_webhook_overrides_output_request_headers_value", - "ApiIntegrationWebhookOverridesOutputSchemaOverridesValue": ".api_integration_webhook_overrides_output_schema_overrides_value", - "ApiIntegrationWebhookOverridesOutputSchemaOverridesValue_Constant": ".api_integration_webhook_overrides_output_schema_overrides_value", - "ApiIntegrationWebhookOverridesOutputSchemaOverridesValue_DynamicVariable": ".api_integration_webhook_overrides_output_schema_overrides_value", - "ApiIntegrationWebhookOverridesOutputSchemaOverridesValue_Llm": ".api_integration_webhook_overrides_output_schema_overrides_value", + "ApiIntegrationWebhookOverrides": ".api_integration_webhook_overrides", + "ApiIntegrationWebhookOverridesRequestHeadersValue": ".api_integration_webhook_overrides_request_headers_value", + "ApiIntegrationWebhookOverridesSchemaOverridesValue": ".api_integration_webhook_overrides_schema_overrides_value", + "ApiIntegrationWebhookOverridesSchemaOverridesValue_Constant": ".api_integration_webhook_overrides_schema_overrides_value", + "ApiIntegrationWebhookOverridesSchemaOverridesValue_DynamicVariable": ".api_integration_webhook_overrides_schema_overrides_value", + "ApiIntegrationWebhookOverridesSchemaOverridesValue_Llm": ".api_integration_webhook_overrides_schema_overrides_value", "ApiIntegrationWebhookToolConfigInput": ".api_integration_webhook_tool_config_input", "ApiIntegrationWebhookToolConfigOutput": ".api_integration_webhook_tool_config_output", "ArrayJsonSchemaPropertyInput": ".array_json_schema_property_input", @@ -2372,542 +1813,80 @@ "AsrInputFormat": ".asr_input_format", "AsrProvider": ".asr_provider", "AsrQuality": ".asr_quality", + "AssetTranscription": ".asset_transcription", + "AssetTranscriptionWord": ".asset_transcription_word", + "AstAdditionOperatorNodeInput": ".ast_addition_operator_node_input", + "AstAdditionOperatorNodeOutput": ".ast_addition_operator_node_output", "AstAndOperatorNodeInput": ".ast_and_operator_node_input", - "AstAndOperatorNodeInputChildrenItem": ".ast_and_operator_node_input_children_item", - "AstAndOperatorNodeInputChildrenItem_AndOperator": ".ast_and_operator_node_input_children_item", - "AstAndOperatorNodeInputChildrenItem_BooleanLiteral": ".ast_and_operator_node_input_children_item", - "AstAndOperatorNodeInputChildrenItem_ConditionalOperator": ".ast_and_operator_node_input_children_item", - "AstAndOperatorNodeInputChildrenItem_DynamicVariable": ".ast_and_operator_node_input_children_item", - "AstAndOperatorNodeInputChildrenItem_EqOperator": ".ast_and_operator_node_input_children_item", - "AstAndOperatorNodeInputChildrenItem_GtOperator": ".ast_and_operator_node_input_children_item", - "AstAndOperatorNodeInputChildrenItem_GteOperator": ".ast_and_operator_node_input_children_item", - "AstAndOperatorNodeInputChildrenItem_Llm": ".ast_and_operator_node_input_children_item", - "AstAndOperatorNodeInputChildrenItem_LtOperator": ".ast_and_operator_node_input_children_item", - "AstAndOperatorNodeInputChildrenItem_LteOperator": ".ast_and_operator_node_input_children_item", - "AstAndOperatorNodeInputChildrenItem_NeqOperator": ".ast_and_operator_node_input_children_item", - "AstAndOperatorNodeInputChildrenItem_NumberLiteral": ".ast_and_operator_node_input_children_item", - "AstAndOperatorNodeInputChildrenItem_OrOperator": ".ast_and_operator_node_input_children_item", - "AstAndOperatorNodeInputChildrenItem_StringLiteral": ".ast_and_operator_node_input_children_item", "AstAndOperatorNodeOutput": ".ast_and_operator_node_output", - "AstAndOperatorNodeOutputChildrenItem": ".ast_and_operator_node_output_children_item", - "AstAndOperatorNodeOutputChildrenItem_AndOperator": ".ast_and_operator_node_output_children_item", - "AstAndOperatorNodeOutputChildrenItem_BooleanLiteral": ".ast_and_operator_node_output_children_item", - "AstAndOperatorNodeOutputChildrenItem_ConditionalOperator": ".ast_and_operator_node_output_children_item", - "AstAndOperatorNodeOutputChildrenItem_DynamicVariable": ".ast_and_operator_node_output_children_item", - "AstAndOperatorNodeOutputChildrenItem_EqOperator": ".ast_and_operator_node_output_children_item", - "AstAndOperatorNodeOutputChildrenItem_GtOperator": ".ast_and_operator_node_output_children_item", - "AstAndOperatorNodeOutputChildrenItem_GteOperator": ".ast_and_operator_node_output_children_item", - "AstAndOperatorNodeOutputChildrenItem_Llm": ".ast_and_operator_node_output_children_item", - "AstAndOperatorNodeOutputChildrenItem_LtOperator": ".ast_and_operator_node_output_children_item", - "AstAndOperatorNodeOutputChildrenItem_LteOperator": ".ast_and_operator_node_output_children_item", - "AstAndOperatorNodeOutputChildrenItem_NeqOperator": ".ast_and_operator_node_output_children_item", - "AstAndOperatorNodeOutputChildrenItem_NumberLiteral": ".ast_and_operator_node_output_children_item", - "AstAndOperatorNodeOutputChildrenItem_OrOperator": ".ast_and_operator_node_output_children_item", - "AstAndOperatorNodeOutputChildrenItem_StringLiteral": ".ast_and_operator_node_output_children_item", "AstBooleanNodeInput": ".ast_boolean_node_input", "AstBooleanNodeOutput": ".ast_boolean_node_output", "AstConditionalOperatorNodeInput": ".ast_conditional_operator_node_input", - "AstConditionalOperatorNodeInputCondition": ".ast_conditional_operator_node_input_condition", - "AstConditionalOperatorNodeInputCondition_AndOperator": ".ast_conditional_operator_node_input_condition", - "AstConditionalOperatorNodeInputCondition_BooleanLiteral": ".ast_conditional_operator_node_input_condition", - "AstConditionalOperatorNodeInputCondition_ConditionalOperator": ".ast_conditional_operator_node_input_condition", - "AstConditionalOperatorNodeInputCondition_DynamicVariable": ".ast_conditional_operator_node_input_condition", - "AstConditionalOperatorNodeInputCondition_EqOperator": ".ast_conditional_operator_node_input_condition", - "AstConditionalOperatorNodeInputCondition_GtOperator": ".ast_conditional_operator_node_input_condition", - "AstConditionalOperatorNodeInputCondition_GteOperator": ".ast_conditional_operator_node_input_condition", - "AstConditionalOperatorNodeInputCondition_Llm": ".ast_conditional_operator_node_input_condition", - "AstConditionalOperatorNodeInputCondition_LtOperator": ".ast_conditional_operator_node_input_condition", - "AstConditionalOperatorNodeInputCondition_LteOperator": ".ast_conditional_operator_node_input_condition", - "AstConditionalOperatorNodeInputCondition_NeqOperator": ".ast_conditional_operator_node_input_condition", - "AstConditionalOperatorNodeInputCondition_NumberLiteral": ".ast_conditional_operator_node_input_condition", - "AstConditionalOperatorNodeInputCondition_OrOperator": ".ast_conditional_operator_node_input_condition", - "AstConditionalOperatorNodeInputCondition_StringLiteral": ".ast_conditional_operator_node_input_condition", - "AstConditionalOperatorNodeInputFalseExpression": ".ast_conditional_operator_node_input_false_expression", - "AstConditionalOperatorNodeInputFalseExpression_AndOperator": ".ast_conditional_operator_node_input_false_expression", - "AstConditionalOperatorNodeInputFalseExpression_BooleanLiteral": ".ast_conditional_operator_node_input_false_expression", - "AstConditionalOperatorNodeInputFalseExpression_ConditionalOperator": ".ast_conditional_operator_node_input_false_expression", - "AstConditionalOperatorNodeInputFalseExpression_DynamicVariable": ".ast_conditional_operator_node_input_false_expression", - "AstConditionalOperatorNodeInputFalseExpression_EqOperator": ".ast_conditional_operator_node_input_false_expression", - "AstConditionalOperatorNodeInputFalseExpression_GtOperator": ".ast_conditional_operator_node_input_false_expression", - "AstConditionalOperatorNodeInputFalseExpression_GteOperator": ".ast_conditional_operator_node_input_false_expression", - "AstConditionalOperatorNodeInputFalseExpression_Llm": ".ast_conditional_operator_node_input_false_expression", - "AstConditionalOperatorNodeInputFalseExpression_LtOperator": ".ast_conditional_operator_node_input_false_expression", - "AstConditionalOperatorNodeInputFalseExpression_LteOperator": ".ast_conditional_operator_node_input_false_expression", - "AstConditionalOperatorNodeInputFalseExpression_NeqOperator": ".ast_conditional_operator_node_input_false_expression", - "AstConditionalOperatorNodeInputFalseExpression_NumberLiteral": ".ast_conditional_operator_node_input_false_expression", - "AstConditionalOperatorNodeInputFalseExpression_OrOperator": ".ast_conditional_operator_node_input_false_expression", - "AstConditionalOperatorNodeInputFalseExpression_StringLiteral": ".ast_conditional_operator_node_input_false_expression", - "AstConditionalOperatorNodeInputTrueExpression": ".ast_conditional_operator_node_input_true_expression", - "AstConditionalOperatorNodeInputTrueExpression_AndOperator": ".ast_conditional_operator_node_input_true_expression", - "AstConditionalOperatorNodeInputTrueExpression_BooleanLiteral": ".ast_conditional_operator_node_input_true_expression", - "AstConditionalOperatorNodeInputTrueExpression_ConditionalOperator": ".ast_conditional_operator_node_input_true_expression", - "AstConditionalOperatorNodeInputTrueExpression_DynamicVariable": ".ast_conditional_operator_node_input_true_expression", - "AstConditionalOperatorNodeInputTrueExpression_EqOperator": ".ast_conditional_operator_node_input_true_expression", - "AstConditionalOperatorNodeInputTrueExpression_GtOperator": ".ast_conditional_operator_node_input_true_expression", - "AstConditionalOperatorNodeInputTrueExpression_GteOperator": ".ast_conditional_operator_node_input_true_expression", - "AstConditionalOperatorNodeInputTrueExpression_Llm": ".ast_conditional_operator_node_input_true_expression", - "AstConditionalOperatorNodeInputTrueExpression_LtOperator": ".ast_conditional_operator_node_input_true_expression", - "AstConditionalOperatorNodeInputTrueExpression_LteOperator": ".ast_conditional_operator_node_input_true_expression", - "AstConditionalOperatorNodeInputTrueExpression_NeqOperator": ".ast_conditional_operator_node_input_true_expression", - "AstConditionalOperatorNodeInputTrueExpression_NumberLiteral": ".ast_conditional_operator_node_input_true_expression", - "AstConditionalOperatorNodeInputTrueExpression_OrOperator": ".ast_conditional_operator_node_input_true_expression", - "AstConditionalOperatorNodeInputTrueExpression_StringLiteral": ".ast_conditional_operator_node_input_true_expression", "AstConditionalOperatorNodeOutput": ".ast_conditional_operator_node_output", - "AstConditionalOperatorNodeOutputCondition": ".ast_conditional_operator_node_output_condition", - "AstConditionalOperatorNodeOutputCondition_AndOperator": ".ast_conditional_operator_node_output_condition", - "AstConditionalOperatorNodeOutputCondition_BooleanLiteral": ".ast_conditional_operator_node_output_condition", - "AstConditionalOperatorNodeOutputCondition_ConditionalOperator": ".ast_conditional_operator_node_output_condition", - "AstConditionalOperatorNodeOutputCondition_DynamicVariable": ".ast_conditional_operator_node_output_condition", - "AstConditionalOperatorNodeOutputCondition_EqOperator": ".ast_conditional_operator_node_output_condition", - "AstConditionalOperatorNodeOutputCondition_GtOperator": ".ast_conditional_operator_node_output_condition", - "AstConditionalOperatorNodeOutputCondition_GteOperator": ".ast_conditional_operator_node_output_condition", - "AstConditionalOperatorNodeOutputCondition_Llm": ".ast_conditional_operator_node_output_condition", - "AstConditionalOperatorNodeOutputCondition_LtOperator": ".ast_conditional_operator_node_output_condition", - "AstConditionalOperatorNodeOutputCondition_LteOperator": ".ast_conditional_operator_node_output_condition", - "AstConditionalOperatorNodeOutputCondition_NeqOperator": ".ast_conditional_operator_node_output_condition", - "AstConditionalOperatorNodeOutputCondition_NumberLiteral": ".ast_conditional_operator_node_output_condition", - "AstConditionalOperatorNodeOutputCondition_OrOperator": ".ast_conditional_operator_node_output_condition", - "AstConditionalOperatorNodeOutputCondition_StringLiteral": ".ast_conditional_operator_node_output_condition", - "AstConditionalOperatorNodeOutputFalseExpression": ".ast_conditional_operator_node_output_false_expression", - "AstConditionalOperatorNodeOutputFalseExpression_AndOperator": ".ast_conditional_operator_node_output_false_expression", - "AstConditionalOperatorNodeOutputFalseExpression_BooleanLiteral": ".ast_conditional_operator_node_output_false_expression", - "AstConditionalOperatorNodeOutputFalseExpression_ConditionalOperator": ".ast_conditional_operator_node_output_false_expression", - "AstConditionalOperatorNodeOutputFalseExpression_DynamicVariable": ".ast_conditional_operator_node_output_false_expression", - "AstConditionalOperatorNodeOutputFalseExpression_EqOperator": ".ast_conditional_operator_node_output_false_expression", - "AstConditionalOperatorNodeOutputFalseExpression_GtOperator": ".ast_conditional_operator_node_output_false_expression", - "AstConditionalOperatorNodeOutputFalseExpression_GteOperator": ".ast_conditional_operator_node_output_false_expression", - "AstConditionalOperatorNodeOutputFalseExpression_Llm": ".ast_conditional_operator_node_output_false_expression", - "AstConditionalOperatorNodeOutputFalseExpression_LtOperator": ".ast_conditional_operator_node_output_false_expression", - "AstConditionalOperatorNodeOutputFalseExpression_LteOperator": ".ast_conditional_operator_node_output_false_expression", - "AstConditionalOperatorNodeOutputFalseExpression_NeqOperator": ".ast_conditional_operator_node_output_false_expression", - "AstConditionalOperatorNodeOutputFalseExpression_NumberLiteral": ".ast_conditional_operator_node_output_false_expression", - "AstConditionalOperatorNodeOutputFalseExpression_OrOperator": ".ast_conditional_operator_node_output_false_expression", - "AstConditionalOperatorNodeOutputFalseExpression_StringLiteral": ".ast_conditional_operator_node_output_false_expression", - "AstConditionalOperatorNodeOutputTrueExpression": ".ast_conditional_operator_node_output_true_expression", - "AstConditionalOperatorNodeOutputTrueExpression_AndOperator": ".ast_conditional_operator_node_output_true_expression", - "AstConditionalOperatorNodeOutputTrueExpression_BooleanLiteral": ".ast_conditional_operator_node_output_true_expression", - "AstConditionalOperatorNodeOutputTrueExpression_ConditionalOperator": ".ast_conditional_operator_node_output_true_expression", - "AstConditionalOperatorNodeOutputTrueExpression_DynamicVariable": ".ast_conditional_operator_node_output_true_expression", - "AstConditionalOperatorNodeOutputTrueExpression_EqOperator": ".ast_conditional_operator_node_output_true_expression", - "AstConditionalOperatorNodeOutputTrueExpression_GtOperator": ".ast_conditional_operator_node_output_true_expression", - "AstConditionalOperatorNodeOutputTrueExpression_GteOperator": ".ast_conditional_operator_node_output_true_expression", - "AstConditionalOperatorNodeOutputTrueExpression_Llm": ".ast_conditional_operator_node_output_true_expression", - "AstConditionalOperatorNodeOutputTrueExpression_LtOperator": ".ast_conditional_operator_node_output_true_expression", - "AstConditionalOperatorNodeOutputTrueExpression_LteOperator": ".ast_conditional_operator_node_output_true_expression", - "AstConditionalOperatorNodeOutputTrueExpression_NeqOperator": ".ast_conditional_operator_node_output_true_expression", - "AstConditionalOperatorNodeOutputTrueExpression_NumberLiteral": ".ast_conditional_operator_node_output_true_expression", - "AstConditionalOperatorNodeOutputTrueExpression_OrOperator": ".ast_conditional_operator_node_output_true_expression", - "AstConditionalOperatorNodeOutputTrueExpression_StringLiteral": ".ast_conditional_operator_node_output_true_expression", + "AstDivisionOperatorNodeInput": ".ast_division_operator_node_input", + "AstDivisionOperatorNodeOutput": ".ast_division_operator_node_output", "AstDynamicVariableNodeInput": ".ast_dynamic_variable_node_input", "AstDynamicVariableNodeOutput": ".ast_dynamic_variable_node_output", "AstEqualsOperatorNodeInput": ".ast_equals_operator_node_input", - "AstEqualsOperatorNodeInputLeft": ".ast_equals_operator_node_input_left", - "AstEqualsOperatorNodeInputLeft_AndOperator": ".ast_equals_operator_node_input_left", - "AstEqualsOperatorNodeInputLeft_BooleanLiteral": ".ast_equals_operator_node_input_left", - "AstEqualsOperatorNodeInputLeft_ConditionalOperator": ".ast_equals_operator_node_input_left", - "AstEqualsOperatorNodeInputLeft_DynamicVariable": ".ast_equals_operator_node_input_left", - "AstEqualsOperatorNodeInputLeft_EqOperator": ".ast_equals_operator_node_input_left", - "AstEqualsOperatorNodeInputLeft_GtOperator": ".ast_equals_operator_node_input_left", - "AstEqualsOperatorNodeInputLeft_GteOperator": ".ast_equals_operator_node_input_left", - "AstEqualsOperatorNodeInputLeft_Llm": ".ast_equals_operator_node_input_left", - "AstEqualsOperatorNodeInputLeft_LtOperator": ".ast_equals_operator_node_input_left", - "AstEqualsOperatorNodeInputLeft_LteOperator": ".ast_equals_operator_node_input_left", - "AstEqualsOperatorNodeInputLeft_NeqOperator": ".ast_equals_operator_node_input_left", - "AstEqualsOperatorNodeInputLeft_NumberLiteral": ".ast_equals_operator_node_input_left", - "AstEqualsOperatorNodeInputLeft_OrOperator": ".ast_equals_operator_node_input_left", - "AstEqualsOperatorNodeInputLeft_StringLiteral": ".ast_equals_operator_node_input_left", - "AstEqualsOperatorNodeInputRight": ".ast_equals_operator_node_input_right", - "AstEqualsOperatorNodeInputRight_AndOperator": ".ast_equals_operator_node_input_right", - "AstEqualsOperatorNodeInputRight_BooleanLiteral": ".ast_equals_operator_node_input_right", - "AstEqualsOperatorNodeInputRight_ConditionalOperator": ".ast_equals_operator_node_input_right", - "AstEqualsOperatorNodeInputRight_DynamicVariable": ".ast_equals_operator_node_input_right", - "AstEqualsOperatorNodeInputRight_EqOperator": ".ast_equals_operator_node_input_right", - "AstEqualsOperatorNodeInputRight_GtOperator": ".ast_equals_operator_node_input_right", - "AstEqualsOperatorNodeInputRight_GteOperator": ".ast_equals_operator_node_input_right", - "AstEqualsOperatorNodeInputRight_Llm": ".ast_equals_operator_node_input_right", - "AstEqualsOperatorNodeInputRight_LtOperator": ".ast_equals_operator_node_input_right", - "AstEqualsOperatorNodeInputRight_LteOperator": ".ast_equals_operator_node_input_right", - "AstEqualsOperatorNodeInputRight_NeqOperator": ".ast_equals_operator_node_input_right", - "AstEqualsOperatorNodeInputRight_NumberLiteral": ".ast_equals_operator_node_input_right", - "AstEqualsOperatorNodeInputRight_OrOperator": ".ast_equals_operator_node_input_right", - "AstEqualsOperatorNodeInputRight_StringLiteral": ".ast_equals_operator_node_input_right", "AstEqualsOperatorNodeOutput": ".ast_equals_operator_node_output", - "AstEqualsOperatorNodeOutputLeft": ".ast_equals_operator_node_output_left", - "AstEqualsOperatorNodeOutputLeft_AndOperator": ".ast_equals_operator_node_output_left", - "AstEqualsOperatorNodeOutputLeft_BooleanLiteral": ".ast_equals_operator_node_output_left", - "AstEqualsOperatorNodeOutputLeft_ConditionalOperator": ".ast_equals_operator_node_output_left", - "AstEqualsOperatorNodeOutputLeft_DynamicVariable": ".ast_equals_operator_node_output_left", - "AstEqualsOperatorNodeOutputLeft_EqOperator": ".ast_equals_operator_node_output_left", - "AstEqualsOperatorNodeOutputLeft_GtOperator": ".ast_equals_operator_node_output_left", - "AstEqualsOperatorNodeOutputLeft_GteOperator": ".ast_equals_operator_node_output_left", - "AstEqualsOperatorNodeOutputLeft_Llm": ".ast_equals_operator_node_output_left", - "AstEqualsOperatorNodeOutputLeft_LtOperator": ".ast_equals_operator_node_output_left", - "AstEqualsOperatorNodeOutputLeft_LteOperator": ".ast_equals_operator_node_output_left", - "AstEqualsOperatorNodeOutputLeft_NeqOperator": ".ast_equals_operator_node_output_left", - "AstEqualsOperatorNodeOutputLeft_NumberLiteral": ".ast_equals_operator_node_output_left", - "AstEqualsOperatorNodeOutputLeft_OrOperator": ".ast_equals_operator_node_output_left", - "AstEqualsOperatorNodeOutputLeft_StringLiteral": ".ast_equals_operator_node_output_left", - "AstEqualsOperatorNodeOutputRight": ".ast_equals_operator_node_output_right", - "AstEqualsOperatorNodeOutputRight_AndOperator": ".ast_equals_operator_node_output_right", - "AstEqualsOperatorNodeOutputRight_BooleanLiteral": ".ast_equals_operator_node_output_right", - "AstEqualsOperatorNodeOutputRight_ConditionalOperator": ".ast_equals_operator_node_output_right", - "AstEqualsOperatorNodeOutputRight_DynamicVariable": ".ast_equals_operator_node_output_right", - "AstEqualsOperatorNodeOutputRight_EqOperator": ".ast_equals_operator_node_output_right", - "AstEqualsOperatorNodeOutputRight_GtOperator": ".ast_equals_operator_node_output_right", - "AstEqualsOperatorNodeOutputRight_GteOperator": ".ast_equals_operator_node_output_right", - "AstEqualsOperatorNodeOutputRight_Llm": ".ast_equals_operator_node_output_right", - "AstEqualsOperatorNodeOutputRight_LtOperator": ".ast_equals_operator_node_output_right", - "AstEqualsOperatorNodeOutputRight_LteOperator": ".ast_equals_operator_node_output_right", - "AstEqualsOperatorNodeOutputRight_NeqOperator": ".ast_equals_operator_node_output_right", - "AstEqualsOperatorNodeOutputRight_NumberLiteral": ".ast_equals_operator_node_output_right", - "AstEqualsOperatorNodeOutputRight_OrOperator": ".ast_equals_operator_node_output_right", - "AstEqualsOperatorNodeOutputRight_StringLiteral": ".ast_equals_operator_node_output_right", "AstGreaterThanOperatorNodeInput": ".ast_greater_than_operator_node_input", - "AstGreaterThanOperatorNodeInputLeft": ".ast_greater_than_operator_node_input_left", - "AstGreaterThanOperatorNodeInputLeft_AndOperator": ".ast_greater_than_operator_node_input_left", - "AstGreaterThanOperatorNodeInputLeft_BooleanLiteral": ".ast_greater_than_operator_node_input_left", - "AstGreaterThanOperatorNodeInputLeft_ConditionalOperator": ".ast_greater_than_operator_node_input_left", - "AstGreaterThanOperatorNodeInputLeft_DynamicVariable": ".ast_greater_than_operator_node_input_left", - "AstGreaterThanOperatorNodeInputLeft_EqOperator": ".ast_greater_than_operator_node_input_left", - "AstGreaterThanOperatorNodeInputLeft_GtOperator": ".ast_greater_than_operator_node_input_left", - "AstGreaterThanOperatorNodeInputLeft_GteOperator": ".ast_greater_than_operator_node_input_left", - "AstGreaterThanOperatorNodeInputLeft_Llm": ".ast_greater_than_operator_node_input_left", - "AstGreaterThanOperatorNodeInputLeft_LtOperator": ".ast_greater_than_operator_node_input_left", - "AstGreaterThanOperatorNodeInputLeft_LteOperator": ".ast_greater_than_operator_node_input_left", - "AstGreaterThanOperatorNodeInputLeft_NeqOperator": ".ast_greater_than_operator_node_input_left", - "AstGreaterThanOperatorNodeInputLeft_NumberLiteral": ".ast_greater_than_operator_node_input_left", - "AstGreaterThanOperatorNodeInputLeft_OrOperator": ".ast_greater_than_operator_node_input_left", - "AstGreaterThanOperatorNodeInputLeft_StringLiteral": ".ast_greater_than_operator_node_input_left", - "AstGreaterThanOperatorNodeInputRight": ".ast_greater_than_operator_node_input_right", - "AstGreaterThanOperatorNodeInputRight_AndOperator": ".ast_greater_than_operator_node_input_right", - "AstGreaterThanOperatorNodeInputRight_BooleanLiteral": ".ast_greater_than_operator_node_input_right", - "AstGreaterThanOperatorNodeInputRight_ConditionalOperator": ".ast_greater_than_operator_node_input_right", - "AstGreaterThanOperatorNodeInputRight_DynamicVariable": ".ast_greater_than_operator_node_input_right", - "AstGreaterThanOperatorNodeInputRight_EqOperator": ".ast_greater_than_operator_node_input_right", - "AstGreaterThanOperatorNodeInputRight_GtOperator": ".ast_greater_than_operator_node_input_right", - "AstGreaterThanOperatorNodeInputRight_GteOperator": ".ast_greater_than_operator_node_input_right", - "AstGreaterThanOperatorNodeInputRight_Llm": ".ast_greater_than_operator_node_input_right", - "AstGreaterThanOperatorNodeInputRight_LtOperator": ".ast_greater_than_operator_node_input_right", - "AstGreaterThanOperatorNodeInputRight_LteOperator": ".ast_greater_than_operator_node_input_right", - "AstGreaterThanOperatorNodeInputRight_NeqOperator": ".ast_greater_than_operator_node_input_right", - "AstGreaterThanOperatorNodeInputRight_NumberLiteral": ".ast_greater_than_operator_node_input_right", - "AstGreaterThanOperatorNodeInputRight_OrOperator": ".ast_greater_than_operator_node_input_right", - "AstGreaterThanOperatorNodeInputRight_StringLiteral": ".ast_greater_than_operator_node_input_right", "AstGreaterThanOperatorNodeOutput": ".ast_greater_than_operator_node_output", - "AstGreaterThanOperatorNodeOutputLeft": ".ast_greater_than_operator_node_output_left", - "AstGreaterThanOperatorNodeOutputLeft_AndOperator": ".ast_greater_than_operator_node_output_left", - "AstGreaterThanOperatorNodeOutputLeft_BooleanLiteral": ".ast_greater_than_operator_node_output_left", - "AstGreaterThanOperatorNodeOutputLeft_ConditionalOperator": ".ast_greater_than_operator_node_output_left", - "AstGreaterThanOperatorNodeOutputLeft_DynamicVariable": ".ast_greater_than_operator_node_output_left", - "AstGreaterThanOperatorNodeOutputLeft_EqOperator": ".ast_greater_than_operator_node_output_left", - "AstGreaterThanOperatorNodeOutputLeft_GtOperator": ".ast_greater_than_operator_node_output_left", - "AstGreaterThanOperatorNodeOutputLeft_GteOperator": ".ast_greater_than_operator_node_output_left", - "AstGreaterThanOperatorNodeOutputLeft_Llm": ".ast_greater_than_operator_node_output_left", - "AstGreaterThanOperatorNodeOutputLeft_LtOperator": ".ast_greater_than_operator_node_output_left", - "AstGreaterThanOperatorNodeOutputLeft_LteOperator": ".ast_greater_than_operator_node_output_left", - "AstGreaterThanOperatorNodeOutputLeft_NeqOperator": ".ast_greater_than_operator_node_output_left", - "AstGreaterThanOperatorNodeOutputLeft_NumberLiteral": ".ast_greater_than_operator_node_output_left", - "AstGreaterThanOperatorNodeOutputLeft_OrOperator": ".ast_greater_than_operator_node_output_left", - "AstGreaterThanOperatorNodeOutputLeft_StringLiteral": ".ast_greater_than_operator_node_output_left", - "AstGreaterThanOperatorNodeOutputRight": ".ast_greater_than_operator_node_output_right", - "AstGreaterThanOperatorNodeOutputRight_AndOperator": ".ast_greater_than_operator_node_output_right", - "AstGreaterThanOperatorNodeOutputRight_BooleanLiteral": ".ast_greater_than_operator_node_output_right", - "AstGreaterThanOperatorNodeOutputRight_ConditionalOperator": ".ast_greater_than_operator_node_output_right", - "AstGreaterThanOperatorNodeOutputRight_DynamicVariable": ".ast_greater_than_operator_node_output_right", - "AstGreaterThanOperatorNodeOutputRight_EqOperator": ".ast_greater_than_operator_node_output_right", - "AstGreaterThanOperatorNodeOutputRight_GtOperator": ".ast_greater_than_operator_node_output_right", - "AstGreaterThanOperatorNodeOutputRight_GteOperator": ".ast_greater_than_operator_node_output_right", - "AstGreaterThanOperatorNodeOutputRight_Llm": ".ast_greater_than_operator_node_output_right", - "AstGreaterThanOperatorNodeOutputRight_LtOperator": ".ast_greater_than_operator_node_output_right", - "AstGreaterThanOperatorNodeOutputRight_LteOperator": ".ast_greater_than_operator_node_output_right", - "AstGreaterThanOperatorNodeOutputRight_NeqOperator": ".ast_greater_than_operator_node_output_right", - "AstGreaterThanOperatorNodeOutputRight_NumberLiteral": ".ast_greater_than_operator_node_output_right", - "AstGreaterThanOperatorNodeOutputRight_OrOperator": ".ast_greater_than_operator_node_output_right", - "AstGreaterThanOperatorNodeOutputRight_StringLiteral": ".ast_greater_than_operator_node_output_right", "AstGreaterThanOrEqualsOperatorNodeInput": ".ast_greater_than_or_equals_operator_node_input", - "AstGreaterThanOrEqualsOperatorNodeInputLeft": ".ast_greater_than_or_equals_operator_node_input_left", - "AstGreaterThanOrEqualsOperatorNodeInputLeft_AndOperator": ".ast_greater_than_or_equals_operator_node_input_left", - "AstGreaterThanOrEqualsOperatorNodeInputLeft_BooleanLiteral": ".ast_greater_than_or_equals_operator_node_input_left", - "AstGreaterThanOrEqualsOperatorNodeInputLeft_ConditionalOperator": ".ast_greater_than_or_equals_operator_node_input_left", - "AstGreaterThanOrEqualsOperatorNodeInputLeft_DynamicVariable": ".ast_greater_than_or_equals_operator_node_input_left", - "AstGreaterThanOrEqualsOperatorNodeInputLeft_EqOperator": ".ast_greater_than_or_equals_operator_node_input_left", - "AstGreaterThanOrEqualsOperatorNodeInputLeft_GtOperator": ".ast_greater_than_or_equals_operator_node_input_left", - "AstGreaterThanOrEqualsOperatorNodeInputLeft_GteOperator": ".ast_greater_than_or_equals_operator_node_input_left", - "AstGreaterThanOrEqualsOperatorNodeInputLeft_Llm": ".ast_greater_than_or_equals_operator_node_input_left", - "AstGreaterThanOrEqualsOperatorNodeInputLeft_LtOperator": ".ast_greater_than_or_equals_operator_node_input_left", - "AstGreaterThanOrEqualsOperatorNodeInputLeft_LteOperator": ".ast_greater_than_or_equals_operator_node_input_left", - "AstGreaterThanOrEqualsOperatorNodeInputLeft_NeqOperator": ".ast_greater_than_or_equals_operator_node_input_left", - "AstGreaterThanOrEqualsOperatorNodeInputLeft_NumberLiteral": ".ast_greater_than_or_equals_operator_node_input_left", - "AstGreaterThanOrEqualsOperatorNodeInputLeft_OrOperator": ".ast_greater_than_or_equals_operator_node_input_left", - "AstGreaterThanOrEqualsOperatorNodeInputLeft_StringLiteral": ".ast_greater_than_or_equals_operator_node_input_left", - "AstGreaterThanOrEqualsOperatorNodeInputRight": ".ast_greater_than_or_equals_operator_node_input_right", - "AstGreaterThanOrEqualsOperatorNodeInputRight_AndOperator": ".ast_greater_than_or_equals_operator_node_input_right", - "AstGreaterThanOrEqualsOperatorNodeInputRight_BooleanLiteral": ".ast_greater_than_or_equals_operator_node_input_right", - "AstGreaterThanOrEqualsOperatorNodeInputRight_ConditionalOperator": ".ast_greater_than_or_equals_operator_node_input_right", - "AstGreaterThanOrEqualsOperatorNodeInputRight_DynamicVariable": ".ast_greater_than_or_equals_operator_node_input_right", - "AstGreaterThanOrEqualsOperatorNodeInputRight_EqOperator": ".ast_greater_than_or_equals_operator_node_input_right", - "AstGreaterThanOrEqualsOperatorNodeInputRight_GtOperator": ".ast_greater_than_or_equals_operator_node_input_right", - "AstGreaterThanOrEqualsOperatorNodeInputRight_GteOperator": ".ast_greater_than_or_equals_operator_node_input_right", - "AstGreaterThanOrEqualsOperatorNodeInputRight_Llm": ".ast_greater_than_or_equals_operator_node_input_right", - "AstGreaterThanOrEqualsOperatorNodeInputRight_LtOperator": ".ast_greater_than_or_equals_operator_node_input_right", - "AstGreaterThanOrEqualsOperatorNodeInputRight_LteOperator": ".ast_greater_than_or_equals_operator_node_input_right", - "AstGreaterThanOrEqualsOperatorNodeInputRight_NeqOperator": ".ast_greater_than_or_equals_operator_node_input_right", - "AstGreaterThanOrEqualsOperatorNodeInputRight_NumberLiteral": ".ast_greater_than_or_equals_operator_node_input_right", - "AstGreaterThanOrEqualsOperatorNodeInputRight_OrOperator": ".ast_greater_than_or_equals_operator_node_input_right", - "AstGreaterThanOrEqualsOperatorNodeInputRight_StringLiteral": ".ast_greater_than_or_equals_operator_node_input_right", "AstGreaterThanOrEqualsOperatorNodeOutput": ".ast_greater_than_or_equals_operator_node_output", - "AstGreaterThanOrEqualsOperatorNodeOutputLeft": ".ast_greater_than_or_equals_operator_node_output_left", - "AstGreaterThanOrEqualsOperatorNodeOutputLeft_AndOperator": ".ast_greater_than_or_equals_operator_node_output_left", - "AstGreaterThanOrEqualsOperatorNodeOutputLeft_BooleanLiteral": ".ast_greater_than_or_equals_operator_node_output_left", - "AstGreaterThanOrEqualsOperatorNodeOutputLeft_ConditionalOperator": ".ast_greater_than_or_equals_operator_node_output_left", - "AstGreaterThanOrEqualsOperatorNodeOutputLeft_DynamicVariable": ".ast_greater_than_or_equals_operator_node_output_left", - "AstGreaterThanOrEqualsOperatorNodeOutputLeft_EqOperator": ".ast_greater_than_or_equals_operator_node_output_left", - "AstGreaterThanOrEqualsOperatorNodeOutputLeft_GtOperator": ".ast_greater_than_or_equals_operator_node_output_left", - "AstGreaterThanOrEqualsOperatorNodeOutputLeft_GteOperator": ".ast_greater_than_or_equals_operator_node_output_left", - "AstGreaterThanOrEqualsOperatorNodeOutputLeft_Llm": ".ast_greater_than_or_equals_operator_node_output_left", - "AstGreaterThanOrEqualsOperatorNodeOutputLeft_LtOperator": ".ast_greater_than_or_equals_operator_node_output_left", - "AstGreaterThanOrEqualsOperatorNodeOutputLeft_LteOperator": ".ast_greater_than_or_equals_operator_node_output_left", - "AstGreaterThanOrEqualsOperatorNodeOutputLeft_NeqOperator": ".ast_greater_than_or_equals_operator_node_output_left", - "AstGreaterThanOrEqualsOperatorNodeOutputLeft_NumberLiteral": ".ast_greater_than_or_equals_operator_node_output_left", - "AstGreaterThanOrEqualsOperatorNodeOutputLeft_OrOperator": ".ast_greater_than_or_equals_operator_node_output_left", - "AstGreaterThanOrEqualsOperatorNodeOutputLeft_StringLiteral": ".ast_greater_than_or_equals_operator_node_output_left", - "AstGreaterThanOrEqualsOperatorNodeOutputRight": ".ast_greater_than_or_equals_operator_node_output_right", - "AstGreaterThanOrEqualsOperatorNodeOutputRight_AndOperator": ".ast_greater_than_or_equals_operator_node_output_right", - "AstGreaterThanOrEqualsOperatorNodeOutputRight_BooleanLiteral": ".ast_greater_than_or_equals_operator_node_output_right", - "AstGreaterThanOrEqualsOperatorNodeOutputRight_ConditionalOperator": ".ast_greater_than_or_equals_operator_node_output_right", - "AstGreaterThanOrEqualsOperatorNodeOutputRight_DynamicVariable": ".ast_greater_than_or_equals_operator_node_output_right", - "AstGreaterThanOrEqualsOperatorNodeOutputRight_EqOperator": ".ast_greater_than_or_equals_operator_node_output_right", - "AstGreaterThanOrEqualsOperatorNodeOutputRight_GtOperator": ".ast_greater_than_or_equals_operator_node_output_right", - "AstGreaterThanOrEqualsOperatorNodeOutputRight_GteOperator": ".ast_greater_than_or_equals_operator_node_output_right", - "AstGreaterThanOrEqualsOperatorNodeOutputRight_Llm": ".ast_greater_than_or_equals_operator_node_output_right", - "AstGreaterThanOrEqualsOperatorNodeOutputRight_LtOperator": ".ast_greater_than_or_equals_operator_node_output_right", - "AstGreaterThanOrEqualsOperatorNodeOutputRight_LteOperator": ".ast_greater_than_or_equals_operator_node_output_right", - "AstGreaterThanOrEqualsOperatorNodeOutputRight_NeqOperator": ".ast_greater_than_or_equals_operator_node_output_right", - "AstGreaterThanOrEqualsOperatorNodeOutputRight_NumberLiteral": ".ast_greater_than_or_equals_operator_node_output_right", - "AstGreaterThanOrEqualsOperatorNodeOutputRight_OrOperator": ".ast_greater_than_or_equals_operator_node_output_right", - "AstGreaterThanOrEqualsOperatorNodeOutputRight_StringLiteral": ".ast_greater_than_or_equals_operator_node_output_right", "AstLessThanOperatorNodeInput": ".ast_less_than_operator_node_input", - "AstLessThanOperatorNodeInputLeft": ".ast_less_than_operator_node_input_left", - "AstLessThanOperatorNodeInputLeft_AndOperator": ".ast_less_than_operator_node_input_left", - "AstLessThanOperatorNodeInputLeft_BooleanLiteral": ".ast_less_than_operator_node_input_left", - "AstLessThanOperatorNodeInputLeft_ConditionalOperator": ".ast_less_than_operator_node_input_left", - "AstLessThanOperatorNodeInputLeft_DynamicVariable": ".ast_less_than_operator_node_input_left", - "AstLessThanOperatorNodeInputLeft_EqOperator": ".ast_less_than_operator_node_input_left", - "AstLessThanOperatorNodeInputLeft_GtOperator": ".ast_less_than_operator_node_input_left", - "AstLessThanOperatorNodeInputLeft_GteOperator": ".ast_less_than_operator_node_input_left", - "AstLessThanOperatorNodeInputLeft_Llm": ".ast_less_than_operator_node_input_left", - "AstLessThanOperatorNodeInputLeft_LtOperator": ".ast_less_than_operator_node_input_left", - "AstLessThanOperatorNodeInputLeft_LteOperator": ".ast_less_than_operator_node_input_left", - "AstLessThanOperatorNodeInputLeft_NeqOperator": ".ast_less_than_operator_node_input_left", - "AstLessThanOperatorNodeInputLeft_NumberLiteral": ".ast_less_than_operator_node_input_left", - "AstLessThanOperatorNodeInputLeft_OrOperator": ".ast_less_than_operator_node_input_left", - "AstLessThanOperatorNodeInputLeft_StringLiteral": ".ast_less_than_operator_node_input_left", - "AstLessThanOperatorNodeInputRight": ".ast_less_than_operator_node_input_right", - "AstLessThanOperatorNodeInputRight_AndOperator": ".ast_less_than_operator_node_input_right", - "AstLessThanOperatorNodeInputRight_BooleanLiteral": ".ast_less_than_operator_node_input_right", - "AstLessThanOperatorNodeInputRight_ConditionalOperator": ".ast_less_than_operator_node_input_right", - "AstLessThanOperatorNodeInputRight_DynamicVariable": ".ast_less_than_operator_node_input_right", - "AstLessThanOperatorNodeInputRight_EqOperator": ".ast_less_than_operator_node_input_right", - "AstLessThanOperatorNodeInputRight_GtOperator": ".ast_less_than_operator_node_input_right", - "AstLessThanOperatorNodeInputRight_GteOperator": ".ast_less_than_operator_node_input_right", - "AstLessThanOperatorNodeInputRight_Llm": ".ast_less_than_operator_node_input_right", - "AstLessThanOperatorNodeInputRight_LtOperator": ".ast_less_than_operator_node_input_right", - "AstLessThanOperatorNodeInputRight_LteOperator": ".ast_less_than_operator_node_input_right", - "AstLessThanOperatorNodeInputRight_NeqOperator": ".ast_less_than_operator_node_input_right", - "AstLessThanOperatorNodeInputRight_NumberLiteral": ".ast_less_than_operator_node_input_right", - "AstLessThanOperatorNodeInputRight_OrOperator": ".ast_less_than_operator_node_input_right", - "AstLessThanOperatorNodeInputRight_StringLiteral": ".ast_less_than_operator_node_input_right", "AstLessThanOperatorNodeOutput": ".ast_less_than_operator_node_output", - "AstLessThanOperatorNodeOutputLeft": ".ast_less_than_operator_node_output_left", - "AstLessThanOperatorNodeOutputLeft_AndOperator": ".ast_less_than_operator_node_output_left", - "AstLessThanOperatorNodeOutputLeft_BooleanLiteral": ".ast_less_than_operator_node_output_left", - "AstLessThanOperatorNodeOutputLeft_ConditionalOperator": ".ast_less_than_operator_node_output_left", - "AstLessThanOperatorNodeOutputLeft_DynamicVariable": ".ast_less_than_operator_node_output_left", - "AstLessThanOperatorNodeOutputLeft_EqOperator": ".ast_less_than_operator_node_output_left", - "AstLessThanOperatorNodeOutputLeft_GtOperator": ".ast_less_than_operator_node_output_left", - "AstLessThanOperatorNodeOutputLeft_GteOperator": ".ast_less_than_operator_node_output_left", - "AstLessThanOperatorNodeOutputLeft_Llm": ".ast_less_than_operator_node_output_left", - "AstLessThanOperatorNodeOutputLeft_LtOperator": ".ast_less_than_operator_node_output_left", - "AstLessThanOperatorNodeOutputLeft_LteOperator": ".ast_less_than_operator_node_output_left", - "AstLessThanOperatorNodeOutputLeft_NeqOperator": ".ast_less_than_operator_node_output_left", - "AstLessThanOperatorNodeOutputLeft_NumberLiteral": ".ast_less_than_operator_node_output_left", - "AstLessThanOperatorNodeOutputLeft_OrOperator": ".ast_less_than_operator_node_output_left", - "AstLessThanOperatorNodeOutputLeft_StringLiteral": ".ast_less_than_operator_node_output_left", - "AstLessThanOperatorNodeOutputRight": ".ast_less_than_operator_node_output_right", - "AstLessThanOperatorNodeOutputRight_AndOperator": ".ast_less_than_operator_node_output_right", - "AstLessThanOperatorNodeOutputRight_BooleanLiteral": ".ast_less_than_operator_node_output_right", - "AstLessThanOperatorNodeOutputRight_ConditionalOperator": ".ast_less_than_operator_node_output_right", - "AstLessThanOperatorNodeOutputRight_DynamicVariable": ".ast_less_than_operator_node_output_right", - "AstLessThanOperatorNodeOutputRight_EqOperator": ".ast_less_than_operator_node_output_right", - "AstLessThanOperatorNodeOutputRight_GtOperator": ".ast_less_than_operator_node_output_right", - "AstLessThanOperatorNodeOutputRight_GteOperator": ".ast_less_than_operator_node_output_right", - "AstLessThanOperatorNodeOutputRight_Llm": ".ast_less_than_operator_node_output_right", - "AstLessThanOperatorNodeOutputRight_LtOperator": ".ast_less_than_operator_node_output_right", - "AstLessThanOperatorNodeOutputRight_LteOperator": ".ast_less_than_operator_node_output_right", - "AstLessThanOperatorNodeOutputRight_NeqOperator": ".ast_less_than_operator_node_output_right", - "AstLessThanOperatorNodeOutputRight_NumberLiteral": ".ast_less_than_operator_node_output_right", - "AstLessThanOperatorNodeOutputRight_OrOperator": ".ast_less_than_operator_node_output_right", - "AstLessThanOperatorNodeOutputRight_StringLiteral": ".ast_less_than_operator_node_output_right", "AstLessThanOrEqualsOperatorNodeInput": ".ast_less_than_or_equals_operator_node_input", - "AstLessThanOrEqualsOperatorNodeInputLeft": ".ast_less_than_or_equals_operator_node_input_left", - "AstLessThanOrEqualsOperatorNodeInputLeft_AndOperator": ".ast_less_than_or_equals_operator_node_input_left", - "AstLessThanOrEqualsOperatorNodeInputLeft_BooleanLiteral": ".ast_less_than_or_equals_operator_node_input_left", - "AstLessThanOrEqualsOperatorNodeInputLeft_ConditionalOperator": ".ast_less_than_or_equals_operator_node_input_left", - "AstLessThanOrEqualsOperatorNodeInputLeft_DynamicVariable": ".ast_less_than_or_equals_operator_node_input_left", - "AstLessThanOrEqualsOperatorNodeInputLeft_EqOperator": ".ast_less_than_or_equals_operator_node_input_left", - "AstLessThanOrEqualsOperatorNodeInputLeft_GtOperator": ".ast_less_than_or_equals_operator_node_input_left", - "AstLessThanOrEqualsOperatorNodeInputLeft_GteOperator": ".ast_less_than_or_equals_operator_node_input_left", - "AstLessThanOrEqualsOperatorNodeInputLeft_Llm": ".ast_less_than_or_equals_operator_node_input_left", - "AstLessThanOrEqualsOperatorNodeInputLeft_LtOperator": ".ast_less_than_or_equals_operator_node_input_left", - "AstLessThanOrEqualsOperatorNodeInputLeft_LteOperator": ".ast_less_than_or_equals_operator_node_input_left", - "AstLessThanOrEqualsOperatorNodeInputLeft_NeqOperator": ".ast_less_than_or_equals_operator_node_input_left", - "AstLessThanOrEqualsOperatorNodeInputLeft_NumberLiteral": ".ast_less_than_or_equals_operator_node_input_left", - "AstLessThanOrEqualsOperatorNodeInputLeft_OrOperator": ".ast_less_than_or_equals_operator_node_input_left", - "AstLessThanOrEqualsOperatorNodeInputLeft_StringLiteral": ".ast_less_than_or_equals_operator_node_input_left", - "AstLessThanOrEqualsOperatorNodeInputRight": ".ast_less_than_or_equals_operator_node_input_right", - "AstLessThanOrEqualsOperatorNodeInputRight_AndOperator": ".ast_less_than_or_equals_operator_node_input_right", - "AstLessThanOrEqualsOperatorNodeInputRight_BooleanLiteral": ".ast_less_than_or_equals_operator_node_input_right", - "AstLessThanOrEqualsOperatorNodeInputRight_ConditionalOperator": ".ast_less_than_or_equals_operator_node_input_right", - "AstLessThanOrEqualsOperatorNodeInputRight_DynamicVariable": ".ast_less_than_or_equals_operator_node_input_right", - "AstLessThanOrEqualsOperatorNodeInputRight_EqOperator": ".ast_less_than_or_equals_operator_node_input_right", - "AstLessThanOrEqualsOperatorNodeInputRight_GtOperator": ".ast_less_than_or_equals_operator_node_input_right", - "AstLessThanOrEqualsOperatorNodeInputRight_GteOperator": ".ast_less_than_or_equals_operator_node_input_right", - "AstLessThanOrEqualsOperatorNodeInputRight_Llm": ".ast_less_than_or_equals_operator_node_input_right", - "AstLessThanOrEqualsOperatorNodeInputRight_LtOperator": ".ast_less_than_or_equals_operator_node_input_right", - "AstLessThanOrEqualsOperatorNodeInputRight_LteOperator": ".ast_less_than_or_equals_operator_node_input_right", - "AstLessThanOrEqualsOperatorNodeInputRight_NeqOperator": ".ast_less_than_or_equals_operator_node_input_right", - "AstLessThanOrEqualsOperatorNodeInputRight_NumberLiteral": ".ast_less_than_or_equals_operator_node_input_right", - "AstLessThanOrEqualsOperatorNodeInputRight_OrOperator": ".ast_less_than_or_equals_operator_node_input_right", - "AstLessThanOrEqualsOperatorNodeInputRight_StringLiteral": ".ast_less_than_or_equals_operator_node_input_right", "AstLessThanOrEqualsOperatorNodeOutput": ".ast_less_than_or_equals_operator_node_output", - "AstLessThanOrEqualsOperatorNodeOutputLeft": ".ast_less_than_or_equals_operator_node_output_left", - "AstLessThanOrEqualsOperatorNodeOutputLeft_AndOperator": ".ast_less_than_or_equals_operator_node_output_left", - "AstLessThanOrEqualsOperatorNodeOutputLeft_BooleanLiteral": ".ast_less_than_or_equals_operator_node_output_left", - "AstLessThanOrEqualsOperatorNodeOutputLeft_ConditionalOperator": ".ast_less_than_or_equals_operator_node_output_left", - "AstLessThanOrEqualsOperatorNodeOutputLeft_DynamicVariable": ".ast_less_than_or_equals_operator_node_output_left", - "AstLessThanOrEqualsOperatorNodeOutputLeft_EqOperator": ".ast_less_than_or_equals_operator_node_output_left", - "AstLessThanOrEqualsOperatorNodeOutputLeft_GtOperator": ".ast_less_than_or_equals_operator_node_output_left", - "AstLessThanOrEqualsOperatorNodeOutputLeft_GteOperator": ".ast_less_than_or_equals_operator_node_output_left", - "AstLessThanOrEqualsOperatorNodeOutputLeft_Llm": ".ast_less_than_or_equals_operator_node_output_left", - "AstLessThanOrEqualsOperatorNodeOutputLeft_LtOperator": ".ast_less_than_or_equals_operator_node_output_left", - "AstLessThanOrEqualsOperatorNodeOutputLeft_LteOperator": ".ast_less_than_or_equals_operator_node_output_left", - "AstLessThanOrEqualsOperatorNodeOutputLeft_NeqOperator": ".ast_less_than_or_equals_operator_node_output_left", - "AstLessThanOrEqualsOperatorNodeOutputLeft_NumberLiteral": ".ast_less_than_or_equals_operator_node_output_left", - "AstLessThanOrEqualsOperatorNodeOutputLeft_OrOperator": ".ast_less_than_or_equals_operator_node_output_left", - "AstLessThanOrEqualsOperatorNodeOutputLeft_StringLiteral": ".ast_less_than_or_equals_operator_node_output_left", - "AstLessThanOrEqualsOperatorNodeOutputRight": ".ast_less_than_or_equals_operator_node_output_right", - "AstLessThanOrEqualsOperatorNodeOutputRight_AndOperator": ".ast_less_than_or_equals_operator_node_output_right", - "AstLessThanOrEqualsOperatorNodeOutputRight_BooleanLiteral": ".ast_less_than_or_equals_operator_node_output_right", - "AstLessThanOrEqualsOperatorNodeOutputRight_ConditionalOperator": ".ast_less_than_or_equals_operator_node_output_right", - "AstLessThanOrEqualsOperatorNodeOutputRight_DynamicVariable": ".ast_less_than_or_equals_operator_node_output_right", - "AstLessThanOrEqualsOperatorNodeOutputRight_EqOperator": ".ast_less_than_or_equals_operator_node_output_right", - "AstLessThanOrEqualsOperatorNodeOutputRight_GtOperator": ".ast_less_than_or_equals_operator_node_output_right", - "AstLessThanOrEqualsOperatorNodeOutputRight_GteOperator": ".ast_less_than_or_equals_operator_node_output_right", - "AstLessThanOrEqualsOperatorNodeOutputRight_Llm": ".ast_less_than_or_equals_operator_node_output_right", - "AstLessThanOrEqualsOperatorNodeOutputRight_LtOperator": ".ast_less_than_or_equals_operator_node_output_right", - "AstLessThanOrEqualsOperatorNodeOutputRight_LteOperator": ".ast_less_than_or_equals_operator_node_output_right", - "AstLessThanOrEqualsOperatorNodeOutputRight_NeqOperator": ".ast_less_than_or_equals_operator_node_output_right", - "AstLessThanOrEqualsOperatorNodeOutputRight_NumberLiteral": ".ast_less_than_or_equals_operator_node_output_right", - "AstLessThanOrEqualsOperatorNodeOutputRight_OrOperator": ".ast_less_than_or_equals_operator_node_output_right", - "AstLessThanOrEqualsOperatorNodeOutputRight_StringLiteral": ".ast_less_than_or_equals_operator_node_output_right", + "AstMultiplicationOperatorNodeInput": ".ast_multiplication_operator_node_input", + "AstMultiplicationOperatorNodeOutput": ".ast_multiplication_operator_node_output", + "AstNodeInput": ".ast_node_input", + "AstNodeInput_AddOperator": ".ast_node_input", + "AstNodeInput_AndOperator": ".ast_node_input", + "AstNodeInput_BooleanLiteral": ".ast_node_input", + "AstNodeInput_ConditionalOperator": ".ast_node_input", + "AstNodeInput_DivOperator": ".ast_node_input", + "AstNodeInput_DynamicVariable": ".ast_node_input", + "AstNodeInput_EqOperator": ".ast_node_input", + "AstNodeInput_GtOperator": ".ast_node_input", + "AstNodeInput_GteOperator": ".ast_node_input", + "AstNodeInput_Llm": ".ast_node_input", + "AstNodeInput_LtOperator": ".ast_node_input", + "AstNodeInput_LteOperator": ".ast_node_input", + "AstNodeInput_MulOperator": ".ast_node_input", + "AstNodeInput_NeqOperator": ".ast_node_input", + "AstNodeInput_NumberLiteral": ".ast_node_input", + "AstNodeInput_OrOperator": ".ast_node_input", + "AstNodeInput_StringLiteral": ".ast_node_input", + "AstNodeInput_SubOperator": ".ast_node_input", + "AstNodeOutput": ".ast_node_output", + "AstNodeOutput_AddOperator": ".ast_node_output", + "AstNodeOutput_AndOperator": ".ast_node_output", + "AstNodeOutput_BooleanLiteral": ".ast_node_output", + "AstNodeOutput_ConditionalOperator": ".ast_node_output", + "AstNodeOutput_DivOperator": ".ast_node_output", + "AstNodeOutput_DynamicVariable": ".ast_node_output", + "AstNodeOutput_EqOperator": ".ast_node_output", + "AstNodeOutput_GtOperator": ".ast_node_output", + "AstNodeOutput_GteOperator": ".ast_node_output", + "AstNodeOutput_Llm": ".ast_node_output", + "AstNodeOutput_LtOperator": ".ast_node_output", + "AstNodeOutput_LteOperator": ".ast_node_output", + "AstNodeOutput_MulOperator": ".ast_node_output", + "AstNodeOutput_NeqOperator": ".ast_node_output", + "AstNodeOutput_NumberLiteral": ".ast_node_output", + "AstNodeOutput_OrOperator": ".ast_node_output", + "AstNodeOutput_StringLiteral": ".ast_node_output", + "AstNodeOutput_SubOperator": ".ast_node_output", "AstNotEqualsOperatorNodeInput": ".ast_not_equals_operator_node_input", - "AstNotEqualsOperatorNodeInputLeft": ".ast_not_equals_operator_node_input_left", - "AstNotEqualsOperatorNodeInputLeft_AndOperator": ".ast_not_equals_operator_node_input_left", - "AstNotEqualsOperatorNodeInputLeft_BooleanLiteral": ".ast_not_equals_operator_node_input_left", - "AstNotEqualsOperatorNodeInputLeft_ConditionalOperator": ".ast_not_equals_operator_node_input_left", - "AstNotEqualsOperatorNodeInputLeft_DynamicVariable": ".ast_not_equals_operator_node_input_left", - "AstNotEqualsOperatorNodeInputLeft_EqOperator": ".ast_not_equals_operator_node_input_left", - "AstNotEqualsOperatorNodeInputLeft_GtOperator": ".ast_not_equals_operator_node_input_left", - "AstNotEqualsOperatorNodeInputLeft_GteOperator": ".ast_not_equals_operator_node_input_left", - "AstNotEqualsOperatorNodeInputLeft_Llm": ".ast_not_equals_operator_node_input_left", - "AstNotEqualsOperatorNodeInputLeft_LtOperator": ".ast_not_equals_operator_node_input_left", - "AstNotEqualsOperatorNodeInputLeft_LteOperator": ".ast_not_equals_operator_node_input_left", - "AstNotEqualsOperatorNodeInputLeft_NeqOperator": ".ast_not_equals_operator_node_input_left", - "AstNotEqualsOperatorNodeInputLeft_NumberLiteral": ".ast_not_equals_operator_node_input_left", - "AstNotEqualsOperatorNodeInputLeft_OrOperator": ".ast_not_equals_operator_node_input_left", - "AstNotEqualsOperatorNodeInputLeft_StringLiteral": ".ast_not_equals_operator_node_input_left", - "AstNotEqualsOperatorNodeInputRight": ".ast_not_equals_operator_node_input_right", - "AstNotEqualsOperatorNodeInputRight_AndOperator": ".ast_not_equals_operator_node_input_right", - "AstNotEqualsOperatorNodeInputRight_BooleanLiteral": ".ast_not_equals_operator_node_input_right", - "AstNotEqualsOperatorNodeInputRight_ConditionalOperator": ".ast_not_equals_operator_node_input_right", - "AstNotEqualsOperatorNodeInputRight_DynamicVariable": ".ast_not_equals_operator_node_input_right", - "AstNotEqualsOperatorNodeInputRight_EqOperator": ".ast_not_equals_operator_node_input_right", - "AstNotEqualsOperatorNodeInputRight_GtOperator": ".ast_not_equals_operator_node_input_right", - "AstNotEqualsOperatorNodeInputRight_GteOperator": ".ast_not_equals_operator_node_input_right", - "AstNotEqualsOperatorNodeInputRight_Llm": ".ast_not_equals_operator_node_input_right", - "AstNotEqualsOperatorNodeInputRight_LtOperator": ".ast_not_equals_operator_node_input_right", - "AstNotEqualsOperatorNodeInputRight_LteOperator": ".ast_not_equals_operator_node_input_right", - "AstNotEqualsOperatorNodeInputRight_NeqOperator": ".ast_not_equals_operator_node_input_right", - "AstNotEqualsOperatorNodeInputRight_NumberLiteral": ".ast_not_equals_operator_node_input_right", - "AstNotEqualsOperatorNodeInputRight_OrOperator": ".ast_not_equals_operator_node_input_right", - "AstNotEqualsOperatorNodeInputRight_StringLiteral": ".ast_not_equals_operator_node_input_right", "AstNotEqualsOperatorNodeOutput": ".ast_not_equals_operator_node_output", - "AstNotEqualsOperatorNodeOutputLeft": ".ast_not_equals_operator_node_output_left", - "AstNotEqualsOperatorNodeOutputLeft_AndOperator": ".ast_not_equals_operator_node_output_left", - "AstNotEqualsOperatorNodeOutputLeft_BooleanLiteral": ".ast_not_equals_operator_node_output_left", - "AstNotEqualsOperatorNodeOutputLeft_ConditionalOperator": ".ast_not_equals_operator_node_output_left", - "AstNotEqualsOperatorNodeOutputLeft_DynamicVariable": ".ast_not_equals_operator_node_output_left", - "AstNotEqualsOperatorNodeOutputLeft_EqOperator": ".ast_not_equals_operator_node_output_left", - "AstNotEqualsOperatorNodeOutputLeft_GtOperator": ".ast_not_equals_operator_node_output_left", - "AstNotEqualsOperatorNodeOutputLeft_GteOperator": ".ast_not_equals_operator_node_output_left", - "AstNotEqualsOperatorNodeOutputLeft_Llm": ".ast_not_equals_operator_node_output_left", - "AstNotEqualsOperatorNodeOutputLeft_LtOperator": ".ast_not_equals_operator_node_output_left", - "AstNotEqualsOperatorNodeOutputLeft_LteOperator": ".ast_not_equals_operator_node_output_left", - "AstNotEqualsOperatorNodeOutputLeft_NeqOperator": ".ast_not_equals_operator_node_output_left", - "AstNotEqualsOperatorNodeOutputLeft_NumberLiteral": ".ast_not_equals_operator_node_output_left", - "AstNotEqualsOperatorNodeOutputLeft_OrOperator": ".ast_not_equals_operator_node_output_left", - "AstNotEqualsOperatorNodeOutputLeft_StringLiteral": ".ast_not_equals_operator_node_output_left", - "AstNotEqualsOperatorNodeOutputRight": ".ast_not_equals_operator_node_output_right", - "AstNotEqualsOperatorNodeOutputRight_AndOperator": ".ast_not_equals_operator_node_output_right", - "AstNotEqualsOperatorNodeOutputRight_BooleanLiteral": ".ast_not_equals_operator_node_output_right", - "AstNotEqualsOperatorNodeOutputRight_ConditionalOperator": ".ast_not_equals_operator_node_output_right", - "AstNotEqualsOperatorNodeOutputRight_DynamicVariable": ".ast_not_equals_operator_node_output_right", - "AstNotEqualsOperatorNodeOutputRight_EqOperator": ".ast_not_equals_operator_node_output_right", - "AstNotEqualsOperatorNodeOutputRight_GtOperator": ".ast_not_equals_operator_node_output_right", - "AstNotEqualsOperatorNodeOutputRight_GteOperator": ".ast_not_equals_operator_node_output_right", - "AstNotEqualsOperatorNodeOutputRight_Llm": ".ast_not_equals_operator_node_output_right", - "AstNotEqualsOperatorNodeOutputRight_LtOperator": ".ast_not_equals_operator_node_output_right", - "AstNotEqualsOperatorNodeOutputRight_LteOperator": ".ast_not_equals_operator_node_output_right", - "AstNotEqualsOperatorNodeOutputRight_NeqOperator": ".ast_not_equals_operator_node_output_right", - "AstNotEqualsOperatorNodeOutputRight_NumberLiteral": ".ast_not_equals_operator_node_output_right", - "AstNotEqualsOperatorNodeOutputRight_OrOperator": ".ast_not_equals_operator_node_output_right", - "AstNotEqualsOperatorNodeOutputRight_StringLiteral": ".ast_not_equals_operator_node_output_right", "AstNumberNodeInput": ".ast_number_node_input", "AstNumberNodeOutput": ".ast_number_node_output", "AstOrOperatorNodeInput": ".ast_or_operator_node_input", - "AstOrOperatorNodeInputChildrenItem": ".ast_or_operator_node_input_children_item", - "AstOrOperatorNodeInputChildrenItem_AndOperator": ".ast_or_operator_node_input_children_item", - "AstOrOperatorNodeInputChildrenItem_BooleanLiteral": ".ast_or_operator_node_input_children_item", - "AstOrOperatorNodeInputChildrenItem_ConditionalOperator": ".ast_or_operator_node_input_children_item", - "AstOrOperatorNodeInputChildrenItem_DynamicVariable": ".ast_or_operator_node_input_children_item", - "AstOrOperatorNodeInputChildrenItem_EqOperator": ".ast_or_operator_node_input_children_item", - "AstOrOperatorNodeInputChildrenItem_GtOperator": ".ast_or_operator_node_input_children_item", - "AstOrOperatorNodeInputChildrenItem_GteOperator": ".ast_or_operator_node_input_children_item", - "AstOrOperatorNodeInputChildrenItem_Llm": ".ast_or_operator_node_input_children_item", - "AstOrOperatorNodeInputChildrenItem_LtOperator": ".ast_or_operator_node_input_children_item", - "AstOrOperatorNodeInputChildrenItem_LteOperator": ".ast_or_operator_node_input_children_item", - "AstOrOperatorNodeInputChildrenItem_NeqOperator": ".ast_or_operator_node_input_children_item", - "AstOrOperatorNodeInputChildrenItem_NumberLiteral": ".ast_or_operator_node_input_children_item", - "AstOrOperatorNodeInputChildrenItem_OrOperator": ".ast_or_operator_node_input_children_item", - "AstOrOperatorNodeInputChildrenItem_StringLiteral": ".ast_or_operator_node_input_children_item", "AstOrOperatorNodeOutput": ".ast_or_operator_node_output", - "AstOrOperatorNodeOutputChildrenItem": ".ast_or_operator_node_output_children_item", - "AstOrOperatorNodeOutputChildrenItem_AndOperator": ".ast_or_operator_node_output_children_item", - "AstOrOperatorNodeOutputChildrenItem_BooleanLiteral": ".ast_or_operator_node_output_children_item", - "AstOrOperatorNodeOutputChildrenItem_ConditionalOperator": ".ast_or_operator_node_output_children_item", - "AstOrOperatorNodeOutputChildrenItem_DynamicVariable": ".ast_or_operator_node_output_children_item", - "AstOrOperatorNodeOutputChildrenItem_EqOperator": ".ast_or_operator_node_output_children_item", - "AstOrOperatorNodeOutputChildrenItem_GtOperator": ".ast_or_operator_node_output_children_item", - "AstOrOperatorNodeOutputChildrenItem_GteOperator": ".ast_or_operator_node_output_children_item", - "AstOrOperatorNodeOutputChildrenItem_Llm": ".ast_or_operator_node_output_children_item", - "AstOrOperatorNodeOutputChildrenItem_LtOperator": ".ast_or_operator_node_output_children_item", - "AstOrOperatorNodeOutputChildrenItem_LteOperator": ".ast_or_operator_node_output_children_item", - "AstOrOperatorNodeOutputChildrenItem_NeqOperator": ".ast_or_operator_node_output_children_item", - "AstOrOperatorNodeOutputChildrenItem_NumberLiteral": ".ast_or_operator_node_output_children_item", - "AstOrOperatorNodeOutputChildrenItem_OrOperator": ".ast_or_operator_node_output_children_item", - "AstOrOperatorNodeOutputChildrenItem_StringLiteral": ".ast_or_operator_node_output_children_item", "AstStringNodeInput": ".ast_string_node_input", "AstStringNodeOutput": ".ast_string_node_output", + "AstSubtractionOperatorNodeInput": ".ast_subtraction_operator_node_input", + "AstSubtractionOperatorNodeOutput": ".ast_subtraction_operator_node_output", "AstllmNodeInput": ".astllm_node_input", "AstllmNodeInputPrompt": ".astllm_node_input_prompt", "AstllmNodeInputValueSchema": ".astllm_node_input_value_schema", @@ -2915,13 +1894,18 @@ "AsyncConversationMetadata": ".async_conversation_metadata", "AsyncConversationMetadataDeliveryStatus": ".async_conversation_metadata_delivery_status", "AttachedTestModel": ".attached_test_model", + "AudioAnalysis": ".audio_analysis", + "AudioAnalysisResult": ".audio_analysis_result", + "AudioAnalysisStatus": ".audio_analysis_status", "AudioFormatEnum": ".audio_format_enum", + "AudioKeyMoment": ".audio_key_moment", "AudioNativeCreateProjectResponseModel": ".audio_native_create_project_response_model", "AudioNativeEditContentResponseModel": ".audio_native_edit_content_response_model", "AudioNativeProjectSettingsResponseModel": ".audio_native_project_settings_response_model", "AudioNativeProjectSettingsResponseModelStatus": ".audio_native_project_settings_response_model_status", "AudioOutput": ".audio_output", "AudioOutputMulti": ".audio_output_multi", + "AudioSegment": ".audio_segment", "AudioWithTimestampsAndVoiceSegmentsResponseModel": ".audio_with_timestamps_and_voice_segments_response_model", "AudioWithTimestampsResponse": ".audio_with_timestamps_response", "AuthConnectionDependencies": ".auth_connection_dependencies", @@ -2935,6 +1919,8 @@ "AuthSettings": ".auth_settings", "AuthorizationMethod": ".authorization_method", "AutoSyncInfo": ".auto_sync_info", + "AvatarContextRequestModel": ".avatar_context_request_model", + "AvatarContextResponseModel": ".avatar_context_response_model", "BackupLlmDefault": ".backup_llm_default", "BackupLlmDisabled": ".backup_llm_disabled", "BackupLlmOverride": ".backup_llm_override", @@ -3167,6 +2153,7 @@ "CreateClientAppointmentParams": ".create_client_appointment_params", "CreateClientParams": ".create_client_params", "CreateCustomHeaderAuthRequest": ".create_custom_header_auth_request", + "CreateMtlsAuthRequest": ".create_mtls_auth_request", "CreateOAuth2ClientCredsRequest": ".create_o_auth_2_client_creds_request", "CreateOAuth2JwtRequest": ".create_o_auth_2_jwt_request", "CreateOAuth2JwtRequestAlgorithm": ".create_o_auth_2_jwt_request_algorithm", @@ -3254,6 +2241,7 @@ "DoDubbingResponse": ".do_dubbing_response", "DocumentUsageModeEnum": ".document_usage_mode_enum", "DocxExportOptions": ".docx_export_options", + "DtmfInputConfig": ".dtmf_input_config", "DubbedSegment": ".dubbed_segment", "DubbingMediaMetadata": ".dubbing_media_metadata", "DubbingMediaReference": ".dubbing_media_reference", @@ -3310,6 +2298,8 @@ "FeatureStatusCommonModel": ".feature_status_common_model", "FeaturesUsageCommonModel": ".features_usage_common_model", "FeedbackItem": ".feedback_item", + "FileInputConfig": ".file_input_config", + "FileInputConfigWorkflowOverride": ".file_input_config_workflow_override", "FinalOutput": ".final_output", "FinalOutputMulti": ".final_output_multi", "FineTuningResponse": ".fine_tuning_response", @@ -3323,6 +2313,7 @@ "GenerateVoiceRequest": ".generate_voice_request", "GenerationConfig": ".generation_config", "GenerationSourceContext": ".generation_source_context", + "GenesysRegion": ".genesys_region", "GetAgentEmbedResponseModel": ".get_agent_embed_response_model", "GetAgentKnowledgebaseSizeResponseModel": ".get_agent_knowledgebase_size_response_model", "GetAgentLinkResponseModel": ".get_agent_link_response_model", @@ -3468,6 +2459,7 @@ "ListAuthConnectionsResponseAuthConnectionsItem_BasicAuth": ".list_auth_connections_response_auth_connections_item", "ListAuthConnectionsResponseAuthConnectionsItem_BearerAuth": ".list_auth_connections_response_auth_connections_item", "ListAuthConnectionsResponseAuthConnectionsItem_CustomHeaderAuth": ".list_auth_connections_response_auth_connections_item", + "ListAuthConnectionsResponseAuthConnectionsItem_Mtls": ".list_auth_connections_response_auth_connections_item", "ListAuthConnectionsResponseAuthConnectionsItem_Oauth2ClientCredentials": ".list_auth_connections_response_auth_connections_item", "ListAuthConnectionsResponseAuthConnectionsItem_Oauth2Jwt": ".list_auth_connections_response_auth_connections_item", "ListAuthConnectionsResponseAuthConnectionsItem_PrivateKeyJwt": ".list_auth_connections_response_auth_connections_item", @@ -3485,8 +2477,6 @@ "LiteralJsonSchemaProperty": ".literal_json_schema_property", "LiteralJsonSchemaPropertyConstantValue": ".literal_json_schema_property_constant_value", "LiteralJsonSchemaPropertyType": ".literal_json_schema_property_type", - "LiteralOverride": ".literal_override", - "LiteralOverrideConstantValue": ".literal_override_constant_value", "LivekitStackType": ".livekit_stack_type", "Llm": ".llm", "LlmCategoryUsage": ".llm_category_usage", @@ -3536,16 +2526,20 @@ "McpToolConfigOverrideInputOverridesValue_DynamicVariable": ".mcp_tool_config_override_input_overrides_value", "McpToolConfigOverrideInputOverridesValue_Llm": ".mcp_tool_config_override_input_overrides_value", "MergingStrategy": ".merging_strategy", + "MessageSearchSortBy": ".message_search_sort_by", "MessagesSearchResponse": ".messages_search_response", "MessagesSearchResult": ".messages_search_result", "MetricRecord": ".metric_record", "MetricType": ".metric_type", + "MockNoMatchBehavior": ".mock_no_match_behavior", + "MockingStrategy": ".mocking_strategy", "Model": ".model", "ModelRatesResponseModel": ".model_rates_response_model", "ModelSettingsResponseModel": ".model_settings_response_model", "ModerationConfig": ".moderation_config", "ModerationGuardrailInput": ".moderation_guardrail_input", "ModerationGuardrailOutput": ".moderation_guardrail_output", + "MtlsAuthResponse": ".mtls_auth_response", "MultiSourceConfigJson": ".multi_source_config_json", "MultichannelSpeechToTextResponseModel": ".multichannel_speech_to_text_response_model", "MultipartMusicResponse": ".multipart_music_response", @@ -3558,15 +2552,13 @@ "OAuth2ClientCredsResponse": ".o_auth_2_client_creds_response", "OAuth2JwtResponse": ".o_auth_2_jwt_response", "OAuth2JwtResponseAlgorithm": ".o_auth_2_jwt_response_algorithm", + "OAuthConnectionStatus": ".o_auth_connection_status", "ObjectJsonSchemaPropertyInput": ".object_json_schema_property_input", "ObjectJsonSchemaPropertyInputPropertiesValue": ".object_json_schema_property_input_properties_value", "ObjectJsonSchemaPropertyOutput": ".object_json_schema_property_output", "ObjectJsonSchemaPropertyOutputPropertiesValue": ".object_json_schema_property_output_properties_value", - "ObjectOverrideInput": ".object_override_input", - "ObjectOverrideInputPropertiesValue": ".object_override_input_properties_value", - "ObjectOverrideOutput": ".object_override_output", - "ObjectOverrideOutputPropertiesValue": ".object_override_output_properties_value", "OrbAvatar": ".orb_avatar", + "OrchestratorToolMockBehaviorConfig": ".orchestrator_tool_mock_behavior_config", "OutboundCallRecipient": ".outbound_call_recipient", "OutboundCallRecipientResponseModel": ".outbound_call_recipient_response_model", "OutboundSipTrunkConfigRequestModel": ".outbound_sip_trunk_config_request_model", @@ -3616,7 +2608,9 @@ "PrivacyConfigOutput": ".privacy_config_output", "PrivateKeyJwtResponse": ".private_key_jwt_response", "PrivateKeyJwtResponseAlgorithm": ".private_key_jwt_response_algorithm", + "ProcedureCompilerMode": ".procedure_compiler_mode", "ProcedureRefResponseModel": ".procedure_ref_response_model", + "ProcedureSettings": ".procedure_settings", "ProjectCreationMetaResponseModel": ".project_creation_meta_response_model", "ProjectCreationMetaResponseModelStatus": ".project_creation_meta_response_model_status", "ProjectCreationMetaResponseModelType": ".project_creation_meta_response_model_type", @@ -3711,7 +2705,6 @@ "PronunciationDictionaryVersionResponseModel": ".pronunciation_dictionary_version_response_model", "PronunciationDictionaryVersionResponseModelPermissionOnResource": ".pronunciation_dictionary_version_response_model_permission_on_resource", "PydanticPronunciationDictionaryVersionLocator": ".pydantic_pronunciation_dictionary_version_locator", - "QueryOverride": ".query_override", "QueryParamsJsonSchema": ".query_params_json_schema", "RagChunkMetadata": ".rag_chunk_metadata", "RagConfig": ".rag_config", @@ -3804,6 +2797,7 @@ "SimilarVoicesForSpeakerResponse": ".similar_voices_for_speaker_response", "SimulationTestModel": ".simulation_test_model", "SimulationTestModelDynamicVariablesValue": ".simulation_test_model_dynamic_variables_value", + "SimulationToolMockBehaviorConfig": ".simulation_tool_mock_behavior_config", "SingleTestRunRequestModel": ".single_test_run_request_model", "SingleUseTokenResponseModel": ".single_use_token_response_model", "SingleUseTokenType": ".single_use_token_type", @@ -3916,6 +2910,8 @@ "ToolRequestModelToolConfig_Mcp": ".tool_request_model_tool_config", "ToolRequestModelToolConfig_System": ".tool_request_model_tool_config", "ToolRequestModelToolConfig_Webhook": ".tool_request_model_tool_config", + "ToolResponseMockConfigInput": ".tool_response_mock_config_input", + "ToolResponseMockConfigOutput": ".tool_response_mock_config_output", "ToolResponseModel": ".tool_response_model", "ToolResponseModelToolConfig": ".tool_response_model_tool_config", "ToolResponseModelToolConfig_Client": ".tool_response_model_tool_config", @@ -4017,8 +3013,6 @@ "VideoKeyMoment": ".video_key_moment", "VideoSegment": ".video_segment", "VideoSubject": ".video_subject", - "VideoTranscription": ".video_transcription", - "VideoTranscriptionWord": ".video_transcription_word", "Voice": ".voice", "VoiceCategory": ".voice_category", "VoiceDesignPreviewResponse": ".voice_design_preview_response", @@ -4027,6 +3021,8 @@ "VoiceMailDetectionResultSuccessModel": ".voice_mail_detection_result_success_model", "VoicePreviewResponseModel": ".voice_preview_response_model", "VoiceResponseModelCategory": ".voice_response_model_category", + "VoiceResponseModelLabellingStatus": ".voice_response_model_labelling_status", + "VoiceResponseModelRecordingQuality": ".voice_response_model_recording_quality", "VoiceResponseModelSafetyControl": ".voice_response_model_safety_control", "VoiceSample": ".voice_sample", "VoiceSamplePreviewResponseModel": ".voice_sample_preview_response_model", @@ -4131,37 +3127,7 @@ "WorkflowEndNodeModelInput": ".workflow_end_node_model_input", "WorkflowEndNodeModelOutput": ".workflow_end_node_model_output", "WorkflowExpressionConditionModelInput": ".workflow_expression_condition_model_input", - "WorkflowExpressionConditionModelInputExpression": ".workflow_expression_condition_model_input_expression", - "WorkflowExpressionConditionModelInputExpression_AndOperator": ".workflow_expression_condition_model_input_expression", - "WorkflowExpressionConditionModelInputExpression_BooleanLiteral": ".workflow_expression_condition_model_input_expression", - "WorkflowExpressionConditionModelInputExpression_ConditionalOperator": ".workflow_expression_condition_model_input_expression", - "WorkflowExpressionConditionModelInputExpression_DynamicVariable": ".workflow_expression_condition_model_input_expression", - "WorkflowExpressionConditionModelInputExpression_EqOperator": ".workflow_expression_condition_model_input_expression", - "WorkflowExpressionConditionModelInputExpression_GtOperator": ".workflow_expression_condition_model_input_expression", - "WorkflowExpressionConditionModelInputExpression_GteOperator": ".workflow_expression_condition_model_input_expression", - "WorkflowExpressionConditionModelInputExpression_Llm": ".workflow_expression_condition_model_input_expression", - "WorkflowExpressionConditionModelInputExpression_LtOperator": ".workflow_expression_condition_model_input_expression", - "WorkflowExpressionConditionModelInputExpression_LteOperator": ".workflow_expression_condition_model_input_expression", - "WorkflowExpressionConditionModelInputExpression_NeqOperator": ".workflow_expression_condition_model_input_expression", - "WorkflowExpressionConditionModelInputExpression_NumberLiteral": ".workflow_expression_condition_model_input_expression", - "WorkflowExpressionConditionModelInputExpression_OrOperator": ".workflow_expression_condition_model_input_expression", - "WorkflowExpressionConditionModelInputExpression_StringLiteral": ".workflow_expression_condition_model_input_expression", "WorkflowExpressionConditionModelOutput": ".workflow_expression_condition_model_output", - "WorkflowExpressionConditionModelOutputExpression": ".workflow_expression_condition_model_output_expression", - "WorkflowExpressionConditionModelOutputExpression_AndOperator": ".workflow_expression_condition_model_output_expression", - "WorkflowExpressionConditionModelOutputExpression_BooleanLiteral": ".workflow_expression_condition_model_output_expression", - "WorkflowExpressionConditionModelOutputExpression_ConditionalOperator": ".workflow_expression_condition_model_output_expression", - "WorkflowExpressionConditionModelOutputExpression_DynamicVariable": ".workflow_expression_condition_model_output_expression", - "WorkflowExpressionConditionModelOutputExpression_EqOperator": ".workflow_expression_condition_model_output_expression", - "WorkflowExpressionConditionModelOutputExpression_GtOperator": ".workflow_expression_condition_model_output_expression", - "WorkflowExpressionConditionModelOutputExpression_GteOperator": ".workflow_expression_condition_model_output_expression", - "WorkflowExpressionConditionModelOutputExpression_Llm": ".workflow_expression_condition_model_output_expression", - "WorkflowExpressionConditionModelOutputExpression_LtOperator": ".workflow_expression_condition_model_output_expression", - "WorkflowExpressionConditionModelOutputExpression_LteOperator": ".workflow_expression_condition_model_output_expression", - "WorkflowExpressionConditionModelOutputExpression_NeqOperator": ".workflow_expression_condition_model_output_expression", - "WorkflowExpressionConditionModelOutputExpression_NumberLiteral": ".workflow_expression_condition_model_output_expression", - "WorkflowExpressionConditionModelOutputExpression_OrOperator": ".workflow_expression_condition_model_output_expression", - "WorkflowExpressionConditionModelOutputExpression_StringLiteral": ".workflow_expression_condition_model_output_expression", "WorkflowFeaturesUsageCommonModel": ".workflow_features_usage_common_model", "WorkflowLlmConditionModelInput": ".workflow_llm_condition_model_input", "WorkflowLlmConditionModelOutput": ".workflow_llm_condition_model_output", @@ -4327,18 +3293,12 @@ def __dir__(): "AllowlistItem", "ApiIntegrationOAuth2AuthCodeResponse", "ApiIntegrationOAuth2AuthCodeResponseScopeSeparator", - "ApiIntegrationWebhookOverridesInput", - "ApiIntegrationWebhookOverridesInputRequestHeadersValue", - "ApiIntegrationWebhookOverridesInputSchemaOverridesValue", - "ApiIntegrationWebhookOverridesInputSchemaOverridesValue_Constant", - "ApiIntegrationWebhookOverridesInputSchemaOverridesValue_DynamicVariable", - "ApiIntegrationWebhookOverridesInputSchemaOverridesValue_Llm", - "ApiIntegrationWebhookOverridesOutput", - "ApiIntegrationWebhookOverridesOutputRequestHeadersValue", - "ApiIntegrationWebhookOverridesOutputSchemaOverridesValue", - "ApiIntegrationWebhookOverridesOutputSchemaOverridesValue_Constant", - "ApiIntegrationWebhookOverridesOutputSchemaOverridesValue_DynamicVariable", - "ApiIntegrationWebhookOverridesOutputSchemaOverridesValue_Llm", + "ApiIntegrationWebhookOverrides", + "ApiIntegrationWebhookOverridesRequestHeadersValue", + "ApiIntegrationWebhookOverridesSchemaOverridesValue", + "ApiIntegrationWebhookOverridesSchemaOverridesValue_Constant", + "ApiIntegrationWebhookOverridesSchemaOverridesValue_DynamicVariable", + "ApiIntegrationWebhookOverridesSchemaOverridesValue_Llm", "ApiIntegrationWebhookToolConfigInput", "ApiIntegrationWebhookToolConfigOutput", "ArrayJsonSchemaPropertyInput", @@ -4350,542 +3310,80 @@ def __dir__(): "AsrInputFormat", "AsrProvider", "AsrQuality", + "AssetTranscription", + "AssetTranscriptionWord", + "AstAdditionOperatorNodeInput", + "AstAdditionOperatorNodeOutput", "AstAndOperatorNodeInput", - "AstAndOperatorNodeInputChildrenItem", - "AstAndOperatorNodeInputChildrenItem_AndOperator", - "AstAndOperatorNodeInputChildrenItem_BooleanLiteral", - "AstAndOperatorNodeInputChildrenItem_ConditionalOperator", - "AstAndOperatorNodeInputChildrenItem_DynamicVariable", - "AstAndOperatorNodeInputChildrenItem_EqOperator", - "AstAndOperatorNodeInputChildrenItem_GtOperator", - "AstAndOperatorNodeInputChildrenItem_GteOperator", - "AstAndOperatorNodeInputChildrenItem_Llm", - "AstAndOperatorNodeInputChildrenItem_LtOperator", - "AstAndOperatorNodeInputChildrenItem_LteOperator", - "AstAndOperatorNodeInputChildrenItem_NeqOperator", - "AstAndOperatorNodeInputChildrenItem_NumberLiteral", - "AstAndOperatorNodeInputChildrenItem_OrOperator", - "AstAndOperatorNodeInputChildrenItem_StringLiteral", "AstAndOperatorNodeOutput", - "AstAndOperatorNodeOutputChildrenItem", - "AstAndOperatorNodeOutputChildrenItem_AndOperator", - "AstAndOperatorNodeOutputChildrenItem_BooleanLiteral", - "AstAndOperatorNodeOutputChildrenItem_ConditionalOperator", - "AstAndOperatorNodeOutputChildrenItem_DynamicVariable", - "AstAndOperatorNodeOutputChildrenItem_EqOperator", - "AstAndOperatorNodeOutputChildrenItem_GtOperator", - "AstAndOperatorNodeOutputChildrenItem_GteOperator", - "AstAndOperatorNodeOutputChildrenItem_Llm", - "AstAndOperatorNodeOutputChildrenItem_LtOperator", - "AstAndOperatorNodeOutputChildrenItem_LteOperator", - "AstAndOperatorNodeOutputChildrenItem_NeqOperator", - "AstAndOperatorNodeOutputChildrenItem_NumberLiteral", - "AstAndOperatorNodeOutputChildrenItem_OrOperator", - "AstAndOperatorNodeOutputChildrenItem_StringLiteral", "AstBooleanNodeInput", "AstBooleanNodeOutput", "AstConditionalOperatorNodeInput", - "AstConditionalOperatorNodeInputCondition", - "AstConditionalOperatorNodeInputCondition_AndOperator", - "AstConditionalOperatorNodeInputCondition_BooleanLiteral", - "AstConditionalOperatorNodeInputCondition_ConditionalOperator", - "AstConditionalOperatorNodeInputCondition_DynamicVariable", - "AstConditionalOperatorNodeInputCondition_EqOperator", - "AstConditionalOperatorNodeInputCondition_GtOperator", - "AstConditionalOperatorNodeInputCondition_GteOperator", - "AstConditionalOperatorNodeInputCondition_Llm", - "AstConditionalOperatorNodeInputCondition_LtOperator", - "AstConditionalOperatorNodeInputCondition_LteOperator", - "AstConditionalOperatorNodeInputCondition_NeqOperator", - "AstConditionalOperatorNodeInputCondition_NumberLiteral", - "AstConditionalOperatorNodeInputCondition_OrOperator", - "AstConditionalOperatorNodeInputCondition_StringLiteral", - "AstConditionalOperatorNodeInputFalseExpression", - "AstConditionalOperatorNodeInputFalseExpression_AndOperator", - "AstConditionalOperatorNodeInputFalseExpression_BooleanLiteral", - "AstConditionalOperatorNodeInputFalseExpression_ConditionalOperator", - "AstConditionalOperatorNodeInputFalseExpression_DynamicVariable", - "AstConditionalOperatorNodeInputFalseExpression_EqOperator", - "AstConditionalOperatorNodeInputFalseExpression_GtOperator", - "AstConditionalOperatorNodeInputFalseExpression_GteOperator", - "AstConditionalOperatorNodeInputFalseExpression_Llm", - "AstConditionalOperatorNodeInputFalseExpression_LtOperator", - "AstConditionalOperatorNodeInputFalseExpression_LteOperator", - "AstConditionalOperatorNodeInputFalseExpression_NeqOperator", - "AstConditionalOperatorNodeInputFalseExpression_NumberLiteral", - "AstConditionalOperatorNodeInputFalseExpression_OrOperator", - "AstConditionalOperatorNodeInputFalseExpression_StringLiteral", - "AstConditionalOperatorNodeInputTrueExpression", - "AstConditionalOperatorNodeInputTrueExpression_AndOperator", - "AstConditionalOperatorNodeInputTrueExpression_BooleanLiteral", - "AstConditionalOperatorNodeInputTrueExpression_ConditionalOperator", - "AstConditionalOperatorNodeInputTrueExpression_DynamicVariable", - "AstConditionalOperatorNodeInputTrueExpression_EqOperator", - "AstConditionalOperatorNodeInputTrueExpression_GtOperator", - "AstConditionalOperatorNodeInputTrueExpression_GteOperator", - "AstConditionalOperatorNodeInputTrueExpression_Llm", - "AstConditionalOperatorNodeInputTrueExpression_LtOperator", - "AstConditionalOperatorNodeInputTrueExpression_LteOperator", - "AstConditionalOperatorNodeInputTrueExpression_NeqOperator", - "AstConditionalOperatorNodeInputTrueExpression_NumberLiteral", - "AstConditionalOperatorNodeInputTrueExpression_OrOperator", - "AstConditionalOperatorNodeInputTrueExpression_StringLiteral", "AstConditionalOperatorNodeOutput", - "AstConditionalOperatorNodeOutputCondition", - "AstConditionalOperatorNodeOutputCondition_AndOperator", - "AstConditionalOperatorNodeOutputCondition_BooleanLiteral", - "AstConditionalOperatorNodeOutputCondition_ConditionalOperator", - "AstConditionalOperatorNodeOutputCondition_DynamicVariable", - "AstConditionalOperatorNodeOutputCondition_EqOperator", - "AstConditionalOperatorNodeOutputCondition_GtOperator", - "AstConditionalOperatorNodeOutputCondition_GteOperator", - "AstConditionalOperatorNodeOutputCondition_Llm", - "AstConditionalOperatorNodeOutputCondition_LtOperator", - "AstConditionalOperatorNodeOutputCondition_LteOperator", - "AstConditionalOperatorNodeOutputCondition_NeqOperator", - "AstConditionalOperatorNodeOutputCondition_NumberLiteral", - "AstConditionalOperatorNodeOutputCondition_OrOperator", - "AstConditionalOperatorNodeOutputCondition_StringLiteral", - "AstConditionalOperatorNodeOutputFalseExpression", - "AstConditionalOperatorNodeOutputFalseExpression_AndOperator", - "AstConditionalOperatorNodeOutputFalseExpression_BooleanLiteral", - "AstConditionalOperatorNodeOutputFalseExpression_ConditionalOperator", - "AstConditionalOperatorNodeOutputFalseExpression_DynamicVariable", - "AstConditionalOperatorNodeOutputFalseExpression_EqOperator", - "AstConditionalOperatorNodeOutputFalseExpression_GtOperator", - "AstConditionalOperatorNodeOutputFalseExpression_GteOperator", - "AstConditionalOperatorNodeOutputFalseExpression_Llm", - "AstConditionalOperatorNodeOutputFalseExpression_LtOperator", - "AstConditionalOperatorNodeOutputFalseExpression_LteOperator", - "AstConditionalOperatorNodeOutputFalseExpression_NeqOperator", - "AstConditionalOperatorNodeOutputFalseExpression_NumberLiteral", - "AstConditionalOperatorNodeOutputFalseExpression_OrOperator", - "AstConditionalOperatorNodeOutputFalseExpression_StringLiteral", - "AstConditionalOperatorNodeOutputTrueExpression", - "AstConditionalOperatorNodeOutputTrueExpression_AndOperator", - "AstConditionalOperatorNodeOutputTrueExpression_BooleanLiteral", - "AstConditionalOperatorNodeOutputTrueExpression_ConditionalOperator", - "AstConditionalOperatorNodeOutputTrueExpression_DynamicVariable", - "AstConditionalOperatorNodeOutputTrueExpression_EqOperator", - "AstConditionalOperatorNodeOutputTrueExpression_GtOperator", - "AstConditionalOperatorNodeOutputTrueExpression_GteOperator", - "AstConditionalOperatorNodeOutputTrueExpression_Llm", - "AstConditionalOperatorNodeOutputTrueExpression_LtOperator", - "AstConditionalOperatorNodeOutputTrueExpression_LteOperator", - "AstConditionalOperatorNodeOutputTrueExpression_NeqOperator", - "AstConditionalOperatorNodeOutputTrueExpression_NumberLiteral", - "AstConditionalOperatorNodeOutputTrueExpression_OrOperator", - "AstConditionalOperatorNodeOutputTrueExpression_StringLiteral", + "AstDivisionOperatorNodeInput", + "AstDivisionOperatorNodeOutput", "AstDynamicVariableNodeInput", "AstDynamicVariableNodeOutput", "AstEqualsOperatorNodeInput", - "AstEqualsOperatorNodeInputLeft", - "AstEqualsOperatorNodeInputLeft_AndOperator", - "AstEqualsOperatorNodeInputLeft_BooleanLiteral", - "AstEqualsOperatorNodeInputLeft_ConditionalOperator", - "AstEqualsOperatorNodeInputLeft_DynamicVariable", - "AstEqualsOperatorNodeInputLeft_EqOperator", - "AstEqualsOperatorNodeInputLeft_GtOperator", - "AstEqualsOperatorNodeInputLeft_GteOperator", - "AstEqualsOperatorNodeInputLeft_Llm", - "AstEqualsOperatorNodeInputLeft_LtOperator", - "AstEqualsOperatorNodeInputLeft_LteOperator", - "AstEqualsOperatorNodeInputLeft_NeqOperator", - "AstEqualsOperatorNodeInputLeft_NumberLiteral", - "AstEqualsOperatorNodeInputLeft_OrOperator", - "AstEqualsOperatorNodeInputLeft_StringLiteral", - "AstEqualsOperatorNodeInputRight", - "AstEqualsOperatorNodeInputRight_AndOperator", - "AstEqualsOperatorNodeInputRight_BooleanLiteral", - "AstEqualsOperatorNodeInputRight_ConditionalOperator", - "AstEqualsOperatorNodeInputRight_DynamicVariable", - "AstEqualsOperatorNodeInputRight_EqOperator", - "AstEqualsOperatorNodeInputRight_GtOperator", - "AstEqualsOperatorNodeInputRight_GteOperator", - "AstEqualsOperatorNodeInputRight_Llm", - "AstEqualsOperatorNodeInputRight_LtOperator", - "AstEqualsOperatorNodeInputRight_LteOperator", - "AstEqualsOperatorNodeInputRight_NeqOperator", - "AstEqualsOperatorNodeInputRight_NumberLiteral", - "AstEqualsOperatorNodeInputRight_OrOperator", - "AstEqualsOperatorNodeInputRight_StringLiteral", "AstEqualsOperatorNodeOutput", - "AstEqualsOperatorNodeOutputLeft", - "AstEqualsOperatorNodeOutputLeft_AndOperator", - "AstEqualsOperatorNodeOutputLeft_BooleanLiteral", - "AstEqualsOperatorNodeOutputLeft_ConditionalOperator", - "AstEqualsOperatorNodeOutputLeft_DynamicVariable", - "AstEqualsOperatorNodeOutputLeft_EqOperator", - "AstEqualsOperatorNodeOutputLeft_GtOperator", - "AstEqualsOperatorNodeOutputLeft_GteOperator", - "AstEqualsOperatorNodeOutputLeft_Llm", - "AstEqualsOperatorNodeOutputLeft_LtOperator", - "AstEqualsOperatorNodeOutputLeft_LteOperator", - "AstEqualsOperatorNodeOutputLeft_NeqOperator", - "AstEqualsOperatorNodeOutputLeft_NumberLiteral", - "AstEqualsOperatorNodeOutputLeft_OrOperator", - "AstEqualsOperatorNodeOutputLeft_StringLiteral", - "AstEqualsOperatorNodeOutputRight", - "AstEqualsOperatorNodeOutputRight_AndOperator", - "AstEqualsOperatorNodeOutputRight_BooleanLiteral", - "AstEqualsOperatorNodeOutputRight_ConditionalOperator", - "AstEqualsOperatorNodeOutputRight_DynamicVariable", - "AstEqualsOperatorNodeOutputRight_EqOperator", - "AstEqualsOperatorNodeOutputRight_GtOperator", - "AstEqualsOperatorNodeOutputRight_GteOperator", - "AstEqualsOperatorNodeOutputRight_Llm", - "AstEqualsOperatorNodeOutputRight_LtOperator", - "AstEqualsOperatorNodeOutputRight_LteOperator", - "AstEqualsOperatorNodeOutputRight_NeqOperator", - "AstEqualsOperatorNodeOutputRight_NumberLiteral", - "AstEqualsOperatorNodeOutputRight_OrOperator", - "AstEqualsOperatorNodeOutputRight_StringLiteral", "AstGreaterThanOperatorNodeInput", - "AstGreaterThanOperatorNodeInputLeft", - "AstGreaterThanOperatorNodeInputLeft_AndOperator", - "AstGreaterThanOperatorNodeInputLeft_BooleanLiteral", - "AstGreaterThanOperatorNodeInputLeft_ConditionalOperator", - "AstGreaterThanOperatorNodeInputLeft_DynamicVariable", - "AstGreaterThanOperatorNodeInputLeft_EqOperator", - "AstGreaterThanOperatorNodeInputLeft_GtOperator", - "AstGreaterThanOperatorNodeInputLeft_GteOperator", - "AstGreaterThanOperatorNodeInputLeft_Llm", - "AstGreaterThanOperatorNodeInputLeft_LtOperator", - "AstGreaterThanOperatorNodeInputLeft_LteOperator", - "AstGreaterThanOperatorNodeInputLeft_NeqOperator", - "AstGreaterThanOperatorNodeInputLeft_NumberLiteral", - "AstGreaterThanOperatorNodeInputLeft_OrOperator", - "AstGreaterThanOperatorNodeInputLeft_StringLiteral", - "AstGreaterThanOperatorNodeInputRight", - "AstGreaterThanOperatorNodeInputRight_AndOperator", - "AstGreaterThanOperatorNodeInputRight_BooleanLiteral", - "AstGreaterThanOperatorNodeInputRight_ConditionalOperator", - "AstGreaterThanOperatorNodeInputRight_DynamicVariable", - "AstGreaterThanOperatorNodeInputRight_EqOperator", - "AstGreaterThanOperatorNodeInputRight_GtOperator", - "AstGreaterThanOperatorNodeInputRight_GteOperator", - "AstGreaterThanOperatorNodeInputRight_Llm", - "AstGreaterThanOperatorNodeInputRight_LtOperator", - "AstGreaterThanOperatorNodeInputRight_LteOperator", - "AstGreaterThanOperatorNodeInputRight_NeqOperator", - "AstGreaterThanOperatorNodeInputRight_NumberLiteral", - "AstGreaterThanOperatorNodeInputRight_OrOperator", - "AstGreaterThanOperatorNodeInputRight_StringLiteral", "AstGreaterThanOperatorNodeOutput", - "AstGreaterThanOperatorNodeOutputLeft", - "AstGreaterThanOperatorNodeOutputLeft_AndOperator", - "AstGreaterThanOperatorNodeOutputLeft_BooleanLiteral", - "AstGreaterThanOperatorNodeOutputLeft_ConditionalOperator", - "AstGreaterThanOperatorNodeOutputLeft_DynamicVariable", - "AstGreaterThanOperatorNodeOutputLeft_EqOperator", - "AstGreaterThanOperatorNodeOutputLeft_GtOperator", - "AstGreaterThanOperatorNodeOutputLeft_GteOperator", - "AstGreaterThanOperatorNodeOutputLeft_Llm", - "AstGreaterThanOperatorNodeOutputLeft_LtOperator", - "AstGreaterThanOperatorNodeOutputLeft_LteOperator", - "AstGreaterThanOperatorNodeOutputLeft_NeqOperator", - "AstGreaterThanOperatorNodeOutputLeft_NumberLiteral", - "AstGreaterThanOperatorNodeOutputLeft_OrOperator", - "AstGreaterThanOperatorNodeOutputLeft_StringLiteral", - "AstGreaterThanOperatorNodeOutputRight", - "AstGreaterThanOperatorNodeOutputRight_AndOperator", - "AstGreaterThanOperatorNodeOutputRight_BooleanLiteral", - "AstGreaterThanOperatorNodeOutputRight_ConditionalOperator", - "AstGreaterThanOperatorNodeOutputRight_DynamicVariable", - "AstGreaterThanOperatorNodeOutputRight_EqOperator", - "AstGreaterThanOperatorNodeOutputRight_GtOperator", - "AstGreaterThanOperatorNodeOutputRight_GteOperator", - "AstGreaterThanOperatorNodeOutputRight_Llm", - "AstGreaterThanOperatorNodeOutputRight_LtOperator", - "AstGreaterThanOperatorNodeOutputRight_LteOperator", - "AstGreaterThanOperatorNodeOutputRight_NeqOperator", - "AstGreaterThanOperatorNodeOutputRight_NumberLiteral", - "AstGreaterThanOperatorNodeOutputRight_OrOperator", - "AstGreaterThanOperatorNodeOutputRight_StringLiteral", "AstGreaterThanOrEqualsOperatorNodeInput", - "AstGreaterThanOrEqualsOperatorNodeInputLeft", - "AstGreaterThanOrEqualsOperatorNodeInputLeft_AndOperator", - "AstGreaterThanOrEqualsOperatorNodeInputLeft_BooleanLiteral", - "AstGreaterThanOrEqualsOperatorNodeInputLeft_ConditionalOperator", - "AstGreaterThanOrEqualsOperatorNodeInputLeft_DynamicVariable", - "AstGreaterThanOrEqualsOperatorNodeInputLeft_EqOperator", - "AstGreaterThanOrEqualsOperatorNodeInputLeft_GtOperator", - "AstGreaterThanOrEqualsOperatorNodeInputLeft_GteOperator", - "AstGreaterThanOrEqualsOperatorNodeInputLeft_Llm", - "AstGreaterThanOrEqualsOperatorNodeInputLeft_LtOperator", - "AstGreaterThanOrEqualsOperatorNodeInputLeft_LteOperator", - "AstGreaterThanOrEqualsOperatorNodeInputLeft_NeqOperator", - "AstGreaterThanOrEqualsOperatorNodeInputLeft_NumberLiteral", - "AstGreaterThanOrEqualsOperatorNodeInputLeft_OrOperator", - "AstGreaterThanOrEqualsOperatorNodeInputLeft_StringLiteral", - "AstGreaterThanOrEqualsOperatorNodeInputRight", - "AstGreaterThanOrEqualsOperatorNodeInputRight_AndOperator", - "AstGreaterThanOrEqualsOperatorNodeInputRight_BooleanLiteral", - "AstGreaterThanOrEqualsOperatorNodeInputRight_ConditionalOperator", - "AstGreaterThanOrEqualsOperatorNodeInputRight_DynamicVariable", - "AstGreaterThanOrEqualsOperatorNodeInputRight_EqOperator", - "AstGreaterThanOrEqualsOperatorNodeInputRight_GtOperator", - "AstGreaterThanOrEqualsOperatorNodeInputRight_GteOperator", - "AstGreaterThanOrEqualsOperatorNodeInputRight_Llm", - "AstGreaterThanOrEqualsOperatorNodeInputRight_LtOperator", - "AstGreaterThanOrEqualsOperatorNodeInputRight_LteOperator", - "AstGreaterThanOrEqualsOperatorNodeInputRight_NeqOperator", - "AstGreaterThanOrEqualsOperatorNodeInputRight_NumberLiteral", - "AstGreaterThanOrEqualsOperatorNodeInputRight_OrOperator", - "AstGreaterThanOrEqualsOperatorNodeInputRight_StringLiteral", "AstGreaterThanOrEqualsOperatorNodeOutput", - "AstGreaterThanOrEqualsOperatorNodeOutputLeft", - "AstGreaterThanOrEqualsOperatorNodeOutputLeft_AndOperator", - "AstGreaterThanOrEqualsOperatorNodeOutputLeft_BooleanLiteral", - "AstGreaterThanOrEqualsOperatorNodeOutputLeft_ConditionalOperator", - "AstGreaterThanOrEqualsOperatorNodeOutputLeft_DynamicVariable", - "AstGreaterThanOrEqualsOperatorNodeOutputLeft_EqOperator", - "AstGreaterThanOrEqualsOperatorNodeOutputLeft_GtOperator", - "AstGreaterThanOrEqualsOperatorNodeOutputLeft_GteOperator", - "AstGreaterThanOrEqualsOperatorNodeOutputLeft_Llm", - "AstGreaterThanOrEqualsOperatorNodeOutputLeft_LtOperator", - "AstGreaterThanOrEqualsOperatorNodeOutputLeft_LteOperator", - "AstGreaterThanOrEqualsOperatorNodeOutputLeft_NeqOperator", - "AstGreaterThanOrEqualsOperatorNodeOutputLeft_NumberLiteral", - "AstGreaterThanOrEqualsOperatorNodeOutputLeft_OrOperator", - "AstGreaterThanOrEqualsOperatorNodeOutputLeft_StringLiteral", - "AstGreaterThanOrEqualsOperatorNodeOutputRight", - "AstGreaterThanOrEqualsOperatorNodeOutputRight_AndOperator", - "AstGreaterThanOrEqualsOperatorNodeOutputRight_BooleanLiteral", - "AstGreaterThanOrEqualsOperatorNodeOutputRight_ConditionalOperator", - "AstGreaterThanOrEqualsOperatorNodeOutputRight_DynamicVariable", - "AstGreaterThanOrEqualsOperatorNodeOutputRight_EqOperator", - "AstGreaterThanOrEqualsOperatorNodeOutputRight_GtOperator", - "AstGreaterThanOrEqualsOperatorNodeOutputRight_GteOperator", - "AstGreaterThanOrEqualsOperatorNodeOutputRight_Llm", - "AstGreaterThanOrEqualsOperatorNodeOutputRight_LtOperator", - "AstGreaterThanOrEqualsOperatorNodeOutputRight_LteOperator", - "AstGreaterThanOrEqualsOperatorNodeOutputRight_NeqOperator", - "AstGreaterThanOrEqualsOperatorNodeOutputRight_NumberLiteral", - "AstGreaterThanOrEqualsOperatorNodeOutputRight_OrOperator", - "AstGreaterThanOrEqualsOperatorNodeOutputRight_StringLiteral", "AstLessThanOperatorNodeInput", - "AstLessThanOperatorNodeInputLeft", - "AstLessThanOperatorNodeInputLeft_AndOperator", - "AstLessThanOperatorNodeInputLeft_BooleanLiteral", - "AstLessThanOperatorNodeInputLeft_ConditionalOperator", - "AstLessThanOperatorNodeInputLeft_DynamicVariable", - "AstLessThanOperatorNodeInputLeft_EqOperator", - "AstLessThanOperatorNodeInputLeft_GtOperator", - "AstLessThanOperatorNodeInputLeft_GteOperator", - "AstLessThanOperatorNodeInputLeft_Llm", - "AstLessThanOperatorNodeInputLeft_LtOperator", - "AstLessThanOperatorNodeInputLeft_LteOperator", - "AstLessThanOperatorNodeInputLeft_NeqOperator", - "AstLessThanOperatorNodeInputLeft_NumberLiteral", - "AstLessThanOperatorNodeInputLeft_OrOperator", - "AstLessThanOperatorNodeInputLeft_StringLiteral", - "AstLessThanOperatorNodeInputRight", - "AstLessThanOperatorNodeInputRight_AndOperator", - "AstLessThanOperatorNodeInputRight_BooleanLiteral", - "AstLessThanOperatorNodeInputRight_ConditionalOperator", - "AstLessThanOperatorNodeInputRight_DynamicVariable", - "AstLessThanOperatorNodeInputRight_EqOperator", - "AstLessThanOperatorNodeInputRight_GtOperator", - "AstLessThanOperatorNodeInputRight_GteOperator", - "AstLessThanOperatorNodeInputRight_Llm", - "AstLessThanOperatorNodeInputRight_LtOperator", - "AstLessThanOperatorNodeInputRight_LteOperator", - "AstLessThanOperatorNodeInputRight_NeqOperator", - "AstLessThanOperatorNodeInputRight_NumberLiteral", - "AstLessThanOperatorNodeInputRight_OrOperator", - "AstLessThanOperatorNodeInputRight_StringLiteral", "AstLessThanOperatorNodeOutput", - "AstLessThanOperatorNodeOutputLeft", - "AstLessThanOperatorNodeOutputLeft_AndOperator", - "AstLessThanOperatorNodeOutputLeft_BooleanLiteral", - "AstLessThanOperatorNodeOutputLeft_ConditionalOperator", - "AstLessThanOperatorNodeOutputLeft_DynamicVariable", - "AstLessThanOperatorNodeOutputLeft_EqOperator", - "AstLessThanOperatorNodeOutputLeft_GtOperator", - "AstLessThanOperatorNodeOutputLeft_GteOperator", - "AstLessThanOperatorNodeOutputLeft_Llm", - "AstLessThanOperatorNodeOutputLeft_LtOperator", - "AstLessThanOperatorNodeOutputLeft_LteOperator", - "AstLessThanOperatorNodeOutputLeft_NeqOperator", - "AstLessThanOperatorNodeOutputLeft_NumberLiteral", - "AstLessThanOperatorNodeOutputLeft_OrOperator", - "AstLessThanOperatorNodeOutputLeft_StringLiteral", - "AstLessThanOperatorNodeOutputRight", - "AstLessThanOperatorNodeOutputRight_AndOperator", - "AstLessThanOperatorNodeOutputRight_BooleanLiteral", - "AstLessThanOperatorNodeOutputRight_ConditionalOperator", - "AstLessThanOperatorNodeOutputRight_DynamicVariable", - "AstLessThanOperatorNodeOutputRight_EqOperator", - "AstLessThanOperatorNodeOutputRight_GtOperator", - "AstLessThanOperatorNodeOutputRight_GteOperator", - "AstLessThanOperatorNodeOutputRight_Llm", - "AstLessThanOperatorNodeOutputRight_LtOperator", - "AstLessThanOperatorNodeOutputRight_LteOperator", - "AstLessThanOperatorNodeOutputRight_NeqOperator", - "AstLessThanOperatorNodeOutputRight_NumberLiteral", - "AstLessThanOperatorNodeOutputRight_OrOperator", - "AstLessThanOperatorNodeOutputRight_StringLiteral", "AstLessThanOrEqualsOperatorNodeInput", - "AstLessThanOrEqualsOperatorNodeInputLeft", - "AstLessThanOrEqualsOperatorNodeInputLeft_AndOperator", - "AstLessThanOrEqualsOperatorNodeInputLeft_BooleanLiteral", - "AstLessThanOrEqualsOperatorNodeInputLeft_ConditionalOperator", - "AstLessThanOrEqualsOperatorNodeInputLeft_DynamicVariable", - "AstLessThanOrEqualsOperatorNodeInputLeft_EqOperator", - "AstLessThanOrEqualsOperatorNodeInputLeft_GtOperator", - "AstLessThanOrEqualsOperatorNodeInputLeft_GteOperator", - "AstLessThanOrEqualsOperatorNodeInputLeft_Llm", - "AstLessThanOrEqualsOperatorNodeInputLeft_LtOperator", - "AstLessThanOrEqualsOperatorNodeInputLeft_LteOperator", - "AstLessThanOrEqualsOperatorNodeInputLeft_NeqOperator", - "AstLessThanOrEqualsOperatorNodeInputLeft_NumberLiteral", - "AstLessThanOrEqualsOperatorNodeInputLeft_OrOperator", - "AstLessThanOrEqualsOperatorNodeInputLeft_StringLiteral", - "AstLessThanOrEqualsOperatorNodeInputRight", - "AstLessThanOrEqualsOperatorNodeInputRight_AndOperator", - "AstLessThanOrEqualsOperatorNodeInputRight_BooleanLiteral", - "AstLessThanOrEqualsOperatorNodeInputRight_ConditionalOperator", - "AstLessThanOrEqualsOperatorNodeInputRight_DynamicVariable", - "AstLessThanOrEqualsOperatorNodeInputRight_EqOperator", - "AstLessThanOrEqualsOperatorNodeInputRight_GtOperator", - "AstLessThanOrEqualsOperatorNodeInputRight_GteOperator", - "AstLessThanOrEqualsOperatorNodeInputRight_Llm", - "AstLessThanOrEqualsOperatorNodeInputRight_LtOperator", - "AstLessThanOrEqualsOperatorNodeInputRight_LteOperator", - "AstLessThanOrEqualsOperatorNodeInputRight_NeqOperator", - "AstLessThanOrEqualsOperatorNodeInputRight_NumberLiteral", - "AstLessThanOrEqualsOperatorNodeInputRight_OrOperator", - "AstLessThanOrEqualsOperatorNodeInputRight_StringLiteral", "AstLessThanOrEqualsOperatorNodeOutput", - "AstLessThanOrEqualsOperatorNodeOutputLeft", - "AstLessThanOrEqualsOperatorNodeOutputLeft_AndOperator", - "AstLessThanOrEqualsOperatorNodeOutputLeft_BooleanLiteral", - "AstLessThanOrEqualsOperatorNodeOutputLeft_ConditionalOperator", - "AstLessThanOrEqualsOperatorNodeOutputLeft_DynamicVariable", - "AstLessThanOrEqualsOperatorNodeOutputLeft_EqOperator", - "AstLessThanOrEqualsOperatorNodeOutputLeft_GtOperator", - "AstLessThanOrEqualsOperatorNodeOutputLeft_GteOperator", - "AstLessThanOrEqualsOperatorNodeOutputLeft_Llm", - "AstLessThanOrEqualsOperatorNodeOutputLeft_LtOperator", - "AstLessThanOrEqualsOperatorNodeOutputLeft_LteOperator", - "AstLessThanOrEqualsOperatorNodeOutputLeft_NeqOperator", - "AstLessThanOrEqualsOperatorNodeOutputLeft_NumberLiteral", - "AstLessThanOrEqualsOperatorNodeOutputLeft_OrOperator", - "AstLessThanOrEqualsOperatorNodeOutputLeft_StringLiteral", - "AstLessThanOrEqualsOperatorNodeOutputRight", - "AstLessThanOrEqualsOperatorNodeOutputRight_AndOperator", - "AstLessThanOrEqualsOperatorNodeOutputRight_BooleanLiteral", - "AstLessThanOrEqualsOperatorNodeOutputRight_ConditionalOperator", - "AstLessThanOrEqualsOperatorNodeOutputRight_DynamicVariable", - "AstLessThanOrEqualsOperatorNodeOutputRight_EqOperator", - "AstLessThanOrEqualsOperatorNodeOutputRight_GtOperator", - "AstLessThanOrEqualsOperatorNodeOutputRight_GteOperator", - "AstLessThanOrEqualsOperatorNodeOutputRight_Llm", - "AstLessThanOrEqualsOperatorNodeOutputRight_LtOperator", - "AstLessThanOrEqualsOperatorNodeOutputRight_LteOperator", - "AstLessThanOrEqualsOperatorNodeOutputRight_NeqOperator", - "AstLessThanOrEqualsOperatorNodeOutputRight_NumberLiteral", - "AstLessThanOrEqualsOperatorNodeOutputRight_OrOperator", - "AstLessThanOrEqualsOperatorNodeOutputRight_StringLiteral", + "AstMultiplicationOperatorNodeInput", + "AstMultiplicationOperatorNodeOutput", + "AstNodeInput", + "AstNodeInput_AddOperator", + "AstNodeInput_AndOperator", + "AstNodeInput_BooleanLiteral", + "AstNodeInput_ConditionalOperator", + "AstNodeInput_DivOperator", + "AstNodeInput_DynamicVariable", + "AstNodeInput_EqOperator", + "AstNodeInput_GtOperator", + "AstNodeInput_GteOperator", + "AstNodeInput_Llm", + "AstNodeInput_LtOperator", + "AstNodeInput_LteOperator", + "AstNodeInput_MulOperator", + "AstNodeInput_NeqOperator", + "AstNodeInput_NumberLiteral", + "AstNodeInput_OrOperator", + "AstNodeInput_StringLiteral", + "AstNodeInput_SubOperator", + "AstNodeOutput", + "AstNodeOutput_AddOperator", + "AstNodeOutput_AndOperator", + "AstNodeOutput_BooleanLiteral", + "AstNodeOutput_ConditionalOperator", + "AstNodeOutput_DivOperator", + "AstNodeOutput_DynamicVariable", + "AstNodeOutput_EqOperator", + "AstNodeOutput_GtOperator", + "AstNodeOutput_GteOperator", + "AstNodeOutput_Llm", + "AstNodeOutput_LtOperator", + "AstNodeOutput_LteOperator", + "AstNodeOutput_MulOperator", + "AstNodeOutput_NeqOperator", + "AstNodeOutput_NumberLiteral", + "AstNodeOutput_OrOperator", + "AstNodeOutput_StringLiteral", + "AstNodeOutput_SubOperator", "AstNotEqualsOperatorNodeInput", - "AstNotEqualsOperatorNodeInputLeft", - "AstNotEqualsOperatorNodeInputLeft_AndOperator", - "AstNotEqualsOperatorNodeInputLeft_BooleanLiteral", - "AstNotEqualsOperatorNodeInputLeft_ConditionalOperator", - "AstNotEqualsOperatorNodeInputLeft_DynamicVariable", - "AstNotEqualsOperatorNodeInputLeft_EqOperator", - "AstNotEqualsOperatorNodeInputLeft_GtOperator", - "AstNotEqualsOperatorNodeInputLeft_GteOperator", - "AstNotEqualsOperatorNodeInputLeft_Llm", - "AstNotEqualsOperatorNodeInputLeft_LtOperator", - "AstNotEqualsOperatorNodeInputLeft_LteOperator", - "AstNotEqualsOperatorNodeInputLeft_NeqOperator", - "AstNotEqualsOperatorNodeInputLeft_NumberLiteral", - "AstNotEqualsOperatorNodeInputLeft_OrOperator", - "AstNotEqualsOperatorNodeInputLeft_StringLiteral", - "AstNotEqualsOperatorNodeInputRight", - "AstNotEqualsOperatorNodeInputRight_AndOperator", - "AstNotEqualsOperatorNodeInputRight_BooleanLiteral", - "AstNotEqualsOperatorNodeInputRight_ConditionalOperator", - "AstNotEqualsOperatorNodeInputRight_DynamicVariable", - "AstNotEqualsOperatorNodeInputRight_EqOperator", - "AstNotEqualsOperatorNodeInputRight_GtOperator", - "AstNotEqualsOperatorNodeInputRight_GteOperator", - "AstNotEqualsOperatorNodeInputRight_Llm", - "AstNotEqualsOperatorNodeInputRight_LtOperator", - "AstNotEqualsOperatorNodeInputRight_LteOperator", - "AstNotEqualsOperatorNodeInputRight_NeqOperator", - "AstNotEqualsOperatorNodeInputRight_NumberLiteral", - "AstNotEqualsOperatorNodeInputRight_OrOperator", - "AstNotEqualsOperatorNodeInputRight_StringLiteral", "AstNotEqualsOperatorNodeOutput", - "AstNotEqualsOperatorNodeOutputLeft", - "AstNotEqualsOperatorNodeOutputLeft_AndOperator", - "AstNotEqualsOperatorNodeOutputLeft_BooleanLiteral", - "AstNotEqualsOperatorNodeOutputLeft_ConditionalOperator", - "AstNotEqualsOperatorNodeOutputLeft_DynamicVariable", - "AstNotEqualsOperatorNodeOutputLeft_EqOperator", - "AstNotEqualsOperatorNodeOutputLeft_GtOperator", - "AstNotEqualsOperatorNodeOutputLeft_GteOperator", - "AstNotEqualsOperatorNodeOutputLeft_Llm", - "AstNotEqualsOperatorNodeOutputLeft_LtOperator", - "AstNotEqualsOperatorNodeOutputLeft_LteOperator", - "AstNotEqualsOperatorNodeOutputLeft_NeqOperator", - "AstNotEqualsOperatorNodeOutputLeft_NumberLiteral", - "AstNotEqualsOperatorNodeOutputLeft_OrOperator", - "AstNotEqualsOperatorNodeOutputLeft_StringLiteral", - "AstNotEqualsOperatorNodeOutputRight", - "AstNotEqualsOperatorNodeOutputRight_AndOperator", - "AstNotEqualsOperatorNodeOutputRight_BooleanLiteral", - "AstNotEqualsOperatorNodeOutputRight_ConditionalOperator", - "AstNotEqualsOperatorNodeOutputRight_DynamicVariable", - "AstNotEqualsOperatorNodeOutputRight_EqOperator", - "AstNotEqualsOperatorNodeOutputRight_GtOperator", - "AstNotEqualsOperatorNodeOutputRight_GteOperator", - "AstNotEqualsOperatorNodeOutputRight_Llm", - "AstNotEqualsOperatorNodeOutputRight_LtOperator", - "AstNotEqualsOperatorNodeOutputRight_LteOperator", - "AstNotEqualsOperatorNodeOutputRight_NeqOperator", - "AstNotEqualsOperatorNodeOutputRight_NumberLiteral", - "AstNotEqualsOperatorNodeOutputRight_OrOperator", - "AstNotEqualsOperatorNodeOutputRight_StringLiteral", "AstNumberNodeInput", "AstNumberNodeOutput", "AstOrOperatorNodeInput", - "AstOrOperatorNodeInputChildrenItem", - "AstOrOperatorNodeInputChildrenItem_AndOperator", - "AstOrOperatorNodeInputChildrenItem_BooleanLiteral", - "AstOrOperatorNodeInputChildrenItem_ConditionalOperator", - "AstOrOperatorNodeInputChildrenItem_DynamicVariable", - "AstOrOperatorNodeInputChildrenItem_EqOperator", - "AstOrOperatorNodeInputChildrenItem_GtOperator", - "AstOrOperatorNodeInputChildrenItem_GteOperator", - "AstOrOperatorNodeInputChildrenItem_Llm", - "AstOrOperatorNodeInputChildrenItem_LtOperator", - "AstOrOperatorNodeInputChildrenItem_LteOperator", - "AstOrOperatorNodeInputChildrenItem_NeqOperator", - "AstOrOperatorNodeInputChildrenItem_NumberLiteral", - "AstOrOperatorNodeInputChildrenItem_OrOperator", - "AstOrOperatorNodeInputChildrenItem_StringLiteral", "AstOrOperatorNodeOutput", - "AstOrOperatorNodeOutputChildrenItem", - "AstOrOperatorNodeOutputChildrenItem_AndOperator", - "AstOrOperatorNodeOutputChildrenItem_BooleanLiteral", - "AstOrOperatorNodeOutputChildrenItem_ConditionalOperator", - "AstOrOperatorNodeOutputChildrenItem_DynamicVariable", - "AstOrOperatorNodeOutputChildrenItem_EqOperator", - "AstOrOperatorNodeOutputChildrenItem_GtOperator", - "AstOrOperatorNodeOutputChildrenItem_GteOperator", - "AstOrOperatorNodeOutputChildrenItem_Llm", - "AstOrOperatorNodeOutputChildrenItem_LtOperator", - "AstOrOperatorNodeOutputChildrenItem_LteOperator", - "AstOrOperatorNodeOutputChildrenItem_NeqOperator", - "AstOrOperatorNodeOutputChildrenItem_NumberLiteral", - "AstOrOperatorNodeOutputChildrenItem_OrOperator", - "AstOrOperatorNodeOutputChildrenItem_StringLiteral", "AstStringNodeInput", "AstStringNodeOutput", + "AstSubtractionOperatorNodeInput", + "AstSubtractionOperatorNodeOutput", "AstllmNodeInput", "AstllmNodeInputPrompt", "AstllmNodeInputValueSchema", @@ -4893,13 +3391,18 @@ def __dir__(): "AsyncConversationMetadata", "AsyncConversationMetadataDeliveryStatus", "AttachedTestModel", + "AudioAnalysis", + "AudioAnalysisResult", + "AudioAnalysisStatus", "AudioFormatEnum", + "AudioKeyMoment", "AudioNativeCreateProjectResponseModel", "AudioNativeEditContentResponseModel", "AudioNativeProjectSettingsResponseModel", "AudioNativeProjectSettingsResponseModelStatus", "AudioOutput", "AudioOutputMulti", + "AudioSegment", "AudioWithTimestampsAndVoiceSegmentsResponseModel", "AudioWithTimestampsResponse", "AuthConnectionDependencies", @@ -4913,6 +3416,8 @@ def __dir__(): "AuthSettings", "AuthorizationMethod", "AutoSyncInfo", + "AvatarContextRequestModel", + "AvatarContextResponseModel", "BackupLlmDefault", "BackupLlmDisabled", "BackupLlmOverride", @@ -5145,6 +3650,7 @@ def __dir__(): "CreateClientAppointmentParams", "CreateClientParams", "CreateCustomHeaderAuthRequest", + "CreateMtlsAuthRequest", "CreateOAuth2ClientCredsRequest", "CreateOAuth2JwtRequest", "CreateOAuth2JwtRequestAlgorithm", @@ -5232,6 +3738,7 @@ def __dir__(): "DoDubbingResponse", "DocumentUsageModeEnum", "DocxExportOptions", + "DtmfInputConfig", "DubbedSegment", "DubbingMediaMetadata", "DubbingMediaReference", @@ -5288,6 +3795,8 @@ def __dir__(): "FeatureStatusCommonModel", "FeaturesUsageCommonModel", "FeedbackItem", + "FileInputConfig", + "FileInputConfigWorkflowOverride", "FinalOutput", "FinalOutputMulti", "FineTuningResponse", @@ -5301,6 +3810,7 @@ def __dir__(): "GenerateVoiceRequest", "GenerationConfig", "GenerationSourceContext", + "GenesysRegion", "GetAgentEmbedResponseModel", "GetAgentKnowledgebaseSizeResponseModel", "GetAgentLinkResponseModel", @@ -5446,6 +3956,7 @@ def __dir__(): "ListAuthConnectionsResponseAuthConnectionsItem_BasicAuth", "ListAuthConnectionsResponseAuthConnectionsItem_BearerAuth", "ListAuthConnectionsResponseAuthConnectionsItem_CustomHeaderAuth", + "ListAuthConnectionsResponseAuthConnectionsItem_Mtls", "ListAuthConnectionsResponseAuthConnectionsItem_Oauth2ClientCredentials", "ListAuthConnectionsResponseAuthConnectionsItem_Oauth2Jwt", "ListAuthConnectionsResponseAuthConnectionsItem_PrivateKeyJwt", @@ -5463,8 +3974,6 @@ def __dir__(): "LiteralJsonSchemaProperty", "LiteralJsonSchemaPropertyConstantValue", "LiteralJsonSchemaPropertyType", - "LiteralOverride", - "LiteralOverrideConstantValue", "LivekitStackType", "Llm", "LlmCategoryUsage", @@ -5514,16 +4023,20 @@ def __dir__(): "McpToolConfigOverrideInputOverridesValue_DynamicVariable", "McpToolConfigOverrideInputOverridesValue_Llm", "MergingStrategy", + "MessageSearchSortBy", "MessagesSearchResponse", "MessagesSearchResult", "MetricRecord", "MetricType", + "MockNoMatchBehavior", + "MockingStrategy", "Model", "ModelRatesResponseModel", "ModelSettingsResponseModel", "ModerationConfig", "ModerationGuardrailInput", "ModerationGuardrailOutput", + "MtlsAuthResponse", "MultiSourceConfigJson", "MultichannelSpeechToTextResponseModel", "MultipartMusicResponse", @@ -5536,15 +4049,13 @@ def __dir__(): "OAuth2ClientCredsResponse", "OAuth2JwtResponse", "OAuth2JwtResponseAlgorithm", + "OAuthConnectionStatus", "ObjectJsonSchemaPropertyInput", "ObjectJsonSchemaPropertyInputPropertiesValue", "ObjectJsonSchemaPropertyOutput", "ObjectJsonSchemaPropertyOutputPropertiesValue", - "ObjectOverrideInput", - "ObjectOverrideInputPropertiesValue", - "ObjectOverrideOutput", - "ObjectOverrideOutputPropertiesValue", "OrbAvatar", + "OrchestratorToolMockBehaviorConfig", "OutboundCallRecipient", "OutboundCallRecipientResponseModel", "OutboundSipTrunkConfigRequestModel", @@ -5594,7 +4105,9 @@ def __dir__(): "PrivacyConfigOutput", "PrivateKeyJwtResponse", "PrivateKeyJwtResponseAlgorithm", + "ProcedureCompilerMode", "ProcedureRefResponseModel", + "ProcedureSettings", "ProjectCreationMetaResponseModel", "ProjectCreationMetaResponseModelStatus", "ProjectCreationMetaResponseModelType", @@ -5689,7 +4202,6 @@ def __dir__(): "PronunciationDictionaryVersionResponseModel", "PronunciationDictionaryVersionResponseModelPermissionOnResource", "PydanticPronunciationDictionaryVersionLocator", - "QueryOverride", "QueryParamsJsonSchema", "RagChunkMetadata", "RagConfig", @@ -5782,6 +4294,7 @@ def __dir__(): "SimilarVoicesForSpeakerResponse", "SimulationTestModel", "SimulationTestModelDynamicVariablesValue", + "SimulationToolMockBehaviorConfig", "SingleTestRunRequestModel", "SingleUseTokenResponseModel", "SingleUseTokenType", @@ -5894,6 +4407,8 @@ def __dir__(): "ToolRequestModelToolConfig_Mcp", "ToolRequestModelToolConfig_System", "ToolRequestModelToolConfig_Webhook", + "ToolResponseMockConfigInput", + "ToolResponseMockConfigOutput", "ToolResponseModel", "ToolResponseModelToolConfig", "ToolResponseModelToolConfig_Client", @@ -5995,8 +4510,6 @@ def __dir__(): "VideoKeyMoment", "VideoSegment", "VideoSubject", - "VideoTranscription", - "VideoTranscriptionWord", "Voice", "VoiceCategory", "VoiceDesignPreviewResponse", @@ -6005,6 +4518,8 @@ def __dir__(): "VoiceMailDetectionResultSuccessModel", "VoicePreviewResponseModel", "VoiceResponseModelCategory", + "VoiceResponseModelLabellingStatus", + "VoiceResponseModelRecordingQuality", "VoiceResponseModelSafetyControl", "VoiceSample", "VoiceSamplePreviewResponseModel", @@ -6109,37 +4624,7 @@ def __dir__(): "WorkflowEndNodeModelInput", "WorkflowEndNodeModelOutput", "WorkflowExpressionConditionModelInput", - "WorkflowExpressionConditionModelInputExpression", - "WorkflowExpressionConditionModelInputExpression_AndOperator", - "WorkflowExpressionConditionModelInputExpression_BooleanLiteral", - "WorkflowExpressionConditionModelInputExpression_ConditionalOperator", - "WorkflowExpressionConditionModelInputExpression_DynamicVariable", - "WorkflowExpressionConditionModelInputExpression_EqOperator", - "WorkflowExpressionConditionModelInputExpression_GtOperator", - "WorkflowExpressionConditionModelInputExpression_GteOperator", - "WorkflowExpressionConditionModelInputExpression_Llm", - "WorkflowExpressionConditionModelInputExpression_LtOperator", - "WorkflowExpressionConditionModelInputExpression_LteOperator", - "WorkflowExpressionConditionModelInputExpression_NeqOperator", - "WorkflowExpressionConditionModelInputExpression_NumberLiteral", - "WorkflowExpressionConditionModelInputExpression_OrOperator", - "WorkflowExpressionConditionModelInputExpression_StringLiteral", "WorkflowExpressionConditionModelOutput", - "WorkflowExpressionConditionModelOutputExpression", - "WorkflowExpressionConditionModelOutputExpression_AndOperator", - "WorkflowExpressionConditionModelOutputExpression_BooleanLiteral", - "WorkflowExpressionConditionModelOutputExpression_ConditionalOperator", - "WorkflowExpressionConditionModelOutputExpression_DynamicVariable", - "WorkflowExpressionConditionModelOutputExpression_EqOperator", - "WorkflowExpressionConditionModelOutputExpression_GtOperator", - "WorkflowExpressionConditionModelOutputExpression_GteOperator", - "WorkflowExpressionConditionModelOutputExpression_Llm", - "WorkflowExpressionConditionModelOutputExpression_LtOperator", - "WorkflowExpressionConditionModelOutputExpression_LteOperator", - "WorkflowExpressionConditionModelOutputExpression_NeqOperator", - "WorkflowExpressionConditionModelOutputExpression_NumberLiteral", - "WorkflowExpressionConditionModelOutputExpression_OrOperator", - "WorkflowExpressionConditionModelOutputExpression_StringLiteral", "WorkflowFeaturesUsageCommonModel", "WorkflowLlmConditionModelInput", "WorkflowLlmConditionModelOutput", diff --git a/src/elevenlabs/types/agent_config.py b/src/elevenlabs/types/agent_config.py index 7cddb38d..e953d6e3 100644 --- a/src/elevenlabs/types/agent_config.py +++ b/src/elevenlabs/types/agent_config.py @@ -37,6 +37,11 @@ class AgentConfig(UncheckedBaseModel): If true, the user will not be able to interrupt the agent while the first message is being delivered. """ + max_conversation_duration_message: typing.Optional[str] = pydantic.Field(default=None) + """ + If non-empty, the message the agent will send when max conversation duration is reached. + """ + prompt: typing.Optional[PromptAgentApiModelOutput] = pydantic.Field(default=None) """ The prompt for the agent diff --git a/src/elevenlabs/types/agent_config_api_model_workflow_override_input.py b/src/elevenlabs/types/agent_config_api_model_workflow_override_input.py index db970b88..2709a785 100644 --- a/src/elevenlabs/types/agent_config_api_model_workflow_override_input.py +++ b/src/elevenlabs/types/agent_config_api_model_workflow_override_input.py @@ -37,6 +37,11 @@ class AgentConfigApiModelWorkflowOverrideInput(UncheckedBaseModel): If true, the user will not be able to interrupt the agent while the first message is being delivered. """ + max_conversation_duration_message: typing.Optional[str] = pydantic.Field(default=None) + """ + If non-empty, the message the agent will send when max conversation duration is reached. + """ + prompt: typing.Optional[PromptAgentApiModelWorkflowOverrideInput] = pydantic.Field(default=None) """ The prompt for the agent diff --git a/src/elevenlabs/types/agent_config_api_model_workflow_override_output.py b/src/elevenlabs/types/agent_config_api_model_workflow_override_output.py index 2ea34275..98b4ee47 100644 --- a/src/elevenlabs/types/agent_config_api_model_workflow_override_output.py +++ b/src/elevenlabs/types/agent_config_api_model_workflow_override_output.py @@ -37,6 +37,11 @@ class AgentConfigApiModelWorkflowOverrideOutput(UncheckedBaseModel): If true, the user will not be able to interrupt the agent while the first message is being delivered. """ + max_conversation_duration_message: typing.Optional[str] = pydantic.Field(default=None) + """ + If non-empty, the message the agent will send when max conversation duration is reached. + """ + prompt: typing.Optional[PromptAgentApiModelWorkflowOverrideOutput] = pydantic.Field(default=None) """ The prompt for the agent diff --git a/src/elevenlabs/types/agent_config_override_config.py b/src/elevenlabs/types/agent_config_override_config.py index 0e3a3dee..643211f6 100644 --- a/src/elevenlabs/types/agent_config_override_config.py +++ b/src/elevenlabs/types/agent_config_override_config.py @@ -19,6 +19,11 @@ class AgentConfigOverrideConfig(UncheckedBaseModel): Whether to allow overriding the language field. """ + max_conversation_duration_message: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether to allow overriding the max_conversation_duration_message field. + """ + prompt: typing.Optional[PromptAgentApiModelOverrideConfig] = pydantic.Field(default=None) """ Configures overrides for nested fields. diff --git a/src/elevenlabs/types/agent_config_override_input.py b/src/elevenlabs/types/agent_config_override_input.py index c27d634e..a98bd03e 100644 --- a/src/elevenlabs/types/agent_config_override_input.py +++ b/src/elevenlabs/types/agent_config_override_input.py @@ -19,6 +19,11 @@ class AgentConfigOverrideInput(UncheckedBaseModel): Language of the agent - used for ASR and TTS """ + max_conversation_duration_message: typing.Optional[str] = pydantic.Field(default=None) + """ + If non-empty, the message the agent will send when max conversation duration is reached. + """ + prompt: typing.Optional[PromptAgentApiModelOverride] = pydantic.Field(default=None) """ The prompt for the agent diff --git a/src/elevenlabs/types/agent_config_override_output.py b/src/elevenlabs/types/agent_config_override_output.py index 455903dc..80e476e3 100644 --- a/src/elevenlabs/types/agent_config_override_output.py +++ b/src/elevenlabs/types/agent_config_override_output.py @@ -19,6 +19,11 @@ class AgentConfigOverrideOutput(UncheckedBaseModel): Language of the agent - used for ASR and TTS """ + max_conversation_duration_message: typing.Optional[str] = pydantic.Field(default=None) + """ + If non-empty, the message the agent will send when max conversation duration is reached. + """ + prompt: typing.Optional[PromptAgentApiModelOverride] = pydantic.Field(default=None) """ The prompt for the agent diff --git a/src/elevenlabs/types/agent_sort_by.py b/src/elevenlabs/types/agent_sort_by.py index 8eb851b0..b9bf2844 100644 --- a/src/elevenlabs/types/agent_sort_by.py +++ b/src/elevenlabs/types/agent_sort_by.py @@ -2,4 +2,4 @@ import typing -AgentSortBy = typing.Union[typing.Literal["name", "created_at"], typing.Any] +AgentSortBy = typing.Union[typing.Literal["name", "created_at", "call_count_7d"], typing.Any] diff --git a/src/elevenlabs/types/api_integration_o_auth_2_auth_code_response.py b/src/elevenlabs/types/api_integration_o_auth_2_auth_code_response.py index 30defe40..f93e1d76 100644 --- a/src/elevenlabs/types/api_integration_o_auth_2_auth_code_response.py +++ b/src/elevenlabs/types/api_integration_o_auth_2_auth_code_response.py @@ -9,6 +9,7 @@ ApiIntegrationOAuth2AuthCodeResponseScopeSeparator, ) from .auth_connection_dependencies import AuthConnectionDependencies +from .o_auth_connection_status import OAuthConnectionStatus class ApiIntegrationOAuth2AuthCodeResponse(UncheckedBaseModel): @@ -32,6 +33,21 @@ class ApiIntegrationOAuth2AuthCodeResponse(UncheckedBaseModel): integration_id: str credential_id: str + status: typing.Optional[OAuthConnectionStatus] = pydantic.Field(default=None) + """ + Current health status of the OAuth connection + """ + + status_detail: typing.Optional[str] = pydantic.Field(default=None) + """ + Human-readable detail about the current status, e.g. the error message on refresh failure + """ + + status_updated_at: typing.Optional[str] = pydantic.Field(default=None) + """ + ISO 8601 timestamp of the last status change + """ + id: str used_by: typing.Optional[AuthConnectionDependencies] = None diff --git a/src/elevenlabs/types/api_integration_webhook_overrides_input.py b/src/elevenlabs/types/api_integration_webhook_overrides.py similarity index 50% rename from src/elevenlabs/types/api_integration_webhook_overrides_input.py rename to src/elevenlabs/types/api_integration_webhook_overrides.py index 3f6e29c1..4715a945 100644 --- a/src/elevenlabs/types/api_integration_webhook_overrides_input.py +++ b/src/elevenlabs/types/api_integration_webhook_overrides.py @@ -1,37 +1,26 @@ # This file was auto-generated by Fern from our API Definition. -from __future__ import annotations - import typing import pydantic -from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel -from .api_integration_webhook_overrides_input_request_headers_value import ( - ApiIntegrationWebhookOverridesInputRequestHeadersValue, -) -from .api_integration_webhook_overrides_input_schema_overrides_value import ( - ApiIntegrationWebhookOverridesInputSchemaOverridesValue, -) -from .literal_override import LiteralOverride -from .query_override import QueryOverride +from .api_integration_webhook_overrides_request_headers_value import ApiIntegrationWebhookOverridesRequestHeadersValue +from .api_integration_webhook_overrides_schema_overrides_value import ApiIntegrationWebhookOverridesSchemaOverridesValue from .response_filter_mode import ResponseFilterMode -class ApiIntegrationWebhookOverridesInput(UncheckedBaseModel): +class ApiIntegrationWebhookOverrides(UncheckedBaseModel): """ A whitelist of fields that can be overridden by users when configuring an API Integration Webhook Tool. """ schema_overrides: typing.Optional[ - typing.Dict[str, typing.Optional[ApiIntegrationWebhookOverridesInputSchemaOverridesValue]] + typing.Dict[str, typing.Optional[ApiIntegrationWebhookOverridesSchemaOverridesValue]] ] = None - path_params_schema: typing.Optional[typing.Dict[str, typing.Optional[LiteralOverride]]] = None - query_params_schema: typing.Optional[QueryOverride] = None - request_body_schema: typing.Optional["ObjectOverrideInput"] = None request_headers: typing.Optional[ - typing.Dict[str, typing.Optional[ApiIntegrationWebhookOverridesInputRequestHeadersValue]] + typing.Dict[str, typing.Optional[ApiIntegrationWebhookOverridesRequestHeadersValue]] ] = None response_filter_mode: typing.Optional[ResponseFilterMode] = None response_filters: typing.Optional[typing.List[str]] = None @@ -44,8 +33,3 @@ class Config: frozen = True smart_union = True extra = pydantic.Extra.allow - - -from .object_override_input import ObjectOverrideInput # noqa: E402, I001 - -update_forward_refs(ApiIntegrationWebhookOverridesInput) diff --git a/src/elevenlabs/types/api_integration_webhook_overrides_output.py b/src/elevenlabs/types/api_integration_webhook_overrides_output.py deleted file mode 100644 index 3dbefc04..00000000 --- a/src/elevenlabs/types/api_integration_webhook_overrides_output.py +++ /dev/null @@ -1,51 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import typing - -import pydantic -from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs -from ..core.unchecked_base_model import UncheckedBaseModel -from .api_integration_webhook_overrides_output_request_headers_value import ( - ApiIntegrationWebhookOverridesOutputRequestHeadersValue, -) -from .api_integration_webhook_overrides_output_schema_overrides_value import ( - ApiIntegrationWebhookOverridesOutputSchemaOverridesValue, -) -from .literal_override import LiteralOverride -from .query_override import QueryOverride -from .response_filter_mode import ResponseFilterMode - - -class ApiIntegrationWebhookOverridesOutput(UncheckedBaseModel): - """ - A whitelist of fields that can be overridden by users when - configuring an API Integration Webhook Tool. - """ - - schema_overrides: typing.Optional[ - typing.Dict[str, typing.Optional[ApiIntegrationWebhookOverridesOutputSchemaOverridesValue]] - ] = None - path_params_schema: typing.Optional[typing.Dict[str, typing.Optional[LiteralOverride]]] = None - query_params_schema: typing.Optional[QueryOverride] = None - request_body_schema: typing.Optional["ObjectOverrideOutput"] = None - request_headers: typing.Optional[ - typing.Dict[str, typing.Optional[ApiIntegrationWebhookOverridesOutputRequestHeadersValue]] - ] = None - response_filter_mode: typing.Optional[ResponseFilterMode] = None - response_filters: typing.Optional[typing.List[str]] = 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 - - -from .object_override_output import ObjectOverrideOutput # noqa: E402, I001 - -update_forward_refs(ApiIntegrationWebhookOverridesOutput) diff --git a/src/elevenlabs/types/api_integration_webhook_overrides_output_request_headers_value.py b/src/elevenlabs/types/api_integration_webhook_overrides_output_request_headers_value.py deleted file mode 100644 index 5af88741..00000000 --- a/src/elevenlabs/types/api_integration_webhook_overrides_output_request_headers_value.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .conv_ai_dynamic_variable import ConvAiDynamicVariable - -ApiIntegrationWebhookOverridesOutputRequestHeadersValue = typing.Union[str, ConvAiDynamicVariable] diff --git a/src/elevenlabs/types/api_integration_webhook_overrides_output_schema_overrides_value.py b/src/elevenlabs/types/api_integration_webhook_overrides_output_schema_overrides_value.py deleted file mode 100644 index 389e32ff..00000000 --- a/src/elevenlabs/types/api_integration_webhook_overrides_output_schema_overrides_value.py +++ /dev/null @@ -1,63 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import typing - -import pydantic -import typing_extensions -from ..core.pydantic_utilities import IS_PYDANTIC_V2 -from ..core.unchecked_base_model import UncheckedBaseModel, UnionMetadata -from .constant_schema_override_constant_value import ConstantSchemaOverrideConstantValue - - -class ApiIntegrationWebhookOverridesOutputSchemaOverridesValue_Constant(UncheckedBaseModel): - source: typing.Literal["constant"] = "constant" - constant_value: ConstantSchemaOverrideConstantValue - - 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 - - -class ApiIntegrationWebhookOverridesOutputSchemaOverridesValue_DynamicVariable(UncheckedBaseModel): - source: typing.Literal["dynamic_variable"] = "dynamic_variable" - dynamic_variable: str - - 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 - - -class ApiIntegrationWebhookOverridesOutputSchemaOverridesValue_Llm(UncheckedBaseModel): - source: typing.Literal["llm"] = "llm" - prompt: typing.Optional[str] = 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 - - -ApiIntegrationWebhookOverridesOutputSchemaOverridesValue = typing_extensions.Annotated[ - typing.Union[ - ApiIntegrationWebhookOverridesOutputSchemaOverridesValue_Constant, - ApiIntegrationWebhookOverridesOutputSchemaOverridesValue_DynamicVariable, - ApiIntegrationWebhookOverridesOutputSchemaOverridesValue_Llm, - ], - UnionMetadata(discriminant="source"), -] diff --git a/src/elevenlabs/types/api_integration_webhook_overrides_input_request_headers_value.py b/src/elevenlabs/types/api_integration_webhook_overrides_request_headers_value.py similarity index 58% rename from src/elevenlabs/types/api_integration_webhook_overrides_input_request_headers_value.py rename to src/elevenlabs/types/api_integration_webhook_overrides_request_headers_value.py index 0965e3bf..daf54db5 100644 --- a/src/elevenlabs/types/api_integration_webhook_overrides_input_request_headers_value.py +++ b/src/elevenlabs/types/api_integration_webhook_overrides_request_headers_value.py @@ -4,4 +4,4 @@ from .conv_ai_dynamic_variable import ConvAiDynamicVariable -ApiIntegrationWebhookOverridesInputRequestHeadersValue = typing.Union[str, ConvAiDynamicVariable] +ApiIntegrationWebhookOverridesRequestHeadersValue = typing.Union[str, ConvAiDynamicVariable] diff --git a/src/elevenlabs/types/api_integration_webhook_overrides_input_schema_overrides_value.py b/src/elevenlabs/types/api_integration_webhook_overrides_schema_overrides_value.py similarity index 73% rename from src/elevenlabs/types/api_integration_webhook_overrides_input_schema_overrides_value.py rename to src/elevenlabs/types/api_integration_webhook_overrides_schema_overrides_value.py index 0a8f92bc..f9ed6fe0 100644 --- a/src/elevenlabs/types/api_integration_webhook_overrides_input_schema_overrides_value.py +++ b/src/elevenlabs/types/api_integration_webhook_overrides_schema_overrides_value.py @@ -11,7 +11,7 @@ from .constant_schema_override_constant_value import ConstantSchemaOverrideConstantValue -class ApiIntegrationWebhookOverridesInputSchemaOverridesValue_Constant(UncheckedBaseModel): +class ApiIntegrationWebhookOverridesSchemaOverridesValue_Constant(UncheckedBaseModel): source: typing.Literal["constant"] = "constant" constant_value: ConstantSchemaOverrideConstantValue @@ -25,7 +25,7 @@ class Config: extra = pydantic.Extra.allow -class ApiIntegrationWebhookOverridesInputSchemaOverridesValue_DynamicVariable(UncheckedBaseModel): +class ApiIntegrationWebhookOverridesSchemaOverridesValue_DynamicVariable(UncheckedBaseModel): source: typing.Literal["dynamic_variable"] = "dynamic_variable" dynamic_variable: str @@ -39,7 +39,7 @@ class Config: extra = pydantic.Extra.allow -class ApiIntegrationWebhookOverridesInputSchemaOverridesValue_Llm(UncheckedBaseModel): +class ApiIntegrationWebhookOverridesSchemaOverridesValue_Llm(UncheckedBaseModel): source: typing.Literal["llm"] = "llm" prompt: typing.Optional[str] = None @@ -53,11 +53,11 @@ class Config: extra = pydantic.Extra.allow -ApiIntegrationWebhookOverridesInputSchemaOverridesValue = typing_extensions.Annotated[ +ApiIntegrationWebhookOverridesSchemaOverridesValue = typing_extensions.Annotated[ typing.Union[ - ApiIntegrationWebhookOverridesInputSchemaOverridesValue_Constant, - ApiIntegrationWebhookOverridesInputSchemaOverridesValue_DynamicVariable, - ApiIntegrationWebhookOverridesInputSchemaOverridesValue_Llm, + ApiIntegrationWebhookOverridesSchemaOverridesValue_Constant, + ApiIntegrationWebhookOverridesSchemaOverridesValue_DynamicVariable, + ApiIntegrationWebhookOverridesSchemaOverridesValue_Llm, ], UnionMetadata(discriminant="source"), ] diff --git a/src/elevenlabs/types/api_integration_webhook_tool_config_input.py b/src/elevenlabs/types/api_integration_webhook_tool_config_input.py index 80b0ce8b..2df4cf50 100644 --- a/src/elevenlabs/types/api_integration_webhook_tool_config_input.py +++ b/src/elevenlabs/types/api_integration_webhook_tool_config_input.py @@ -1,13 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from __future__ import annotations - import typing import pydantic -from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel -from .api_integration_webhook_overrides_input import ApiIntegrationWebhookOverridesInput +from .api_integration_webhook_overrides import ApiIntegrationWebhookOverrides from .dynamic_variable_assignment import DynamicVariableAssignment from .dynamic_variables_config import DynamicVariablesConfig from .tool_call_sound_behavior import ToolCallSoundBehavior @@ -75,7 +73,7 @@ class ApiIntegrationWebhookToolConfigInput(UncheckedBaseModel): api_integration_id: str api_integration_connection_id: str - api_schema_overrides: typing.Optional[ApiIntegrationWebhookOverridesInput] = pydantic.Field(default=None) + api_schema_overrides: typing.Optional[ApiIntegrationWebhookOverrides] = pydantic.Field(default=None) """ User overrides applied on top of the base api_schema """ @@ -88,6 +86,3 @@ class Config: frozen = True smart_union = True extra = pydantic.Extra.allow - - -update_forward_refs(ApiIntegrationWebhookToolConfigInput) diff --git a/src/elevenlabs/types/api_integration_webhook_tool_config_output.py b/src/elevenlabs/types/api_integration_webhook_tool_config_output.py index 67c244af..094ae911 100644 --- a/src/elevenlabs/types/api_integration_webhook_tool_config_output.py +++ b/src/elevenlabs/types/api_integration_webhook_tool_config_output.py @@ -1,13 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from __future__ import annotations - import typing import pydantic -from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel -from .api_integration_webhook_overrides_output import ApiIntegrationWebhookOverridesOutput +from .api_integration_webhook_overrides import ApiIntegrationWebhookOverrides from .dynamic_variable_assignment import DynamicVariableAssignment from .dynamic_variables_config import DynamicVariablesConfig from .tool_call_sound_behavior import ToolCallSoundBehavior @@ -75,7 +73,7 @@ class ApiIntegrationWebhookToolConfigOutput(UncheckedBaseModel): api_integration_id: str api_integration_connection_id: str - api_schema_overrides: typing.Optional[ApiIntegrationWebhookOverridesOutput] = pydantic.Field(default=None) + api_schema_overrides: typing.Optional[ApiIntegrationWebhookOverrides] = pydantic.Field(default=None) """ User overrides applied on top of the base api_schema """ @@ -88,6 +86,3 @@ class Config: frozen = True smart_union = True extra = pydantic.Extra.allow - - -update_forward_refs(ApiIntegrationWebhookToolConfigOutput) diff --git a/src/elevenlabs/types/video_transcription.py b/src/elevenlabs/types/asset_transcription.py similarity index 77% rename from src/elevenlabs/types/video_transcription.py rename to src/elevenlabs/types/asset_transcription.py index 5ab07d32..43fe21a8 100644 --- a/src/elevenlabs/types/video_transcription.py +++ b/src/elevenlabs/types/asset_transcription.py @@ -5,13 +5,13 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel -from .video_transcription_word import VideoTranscriptionWord +from .asset_transcription_word import AssetTranscriptionWord -class VideoTranscription(UncheckedBaseModel): +class AssetTranscription(UncheckedBaseModel): language_code: str text: str - words: typing.List[VideoTranscriptionWord] + words: typing.List[AssetTranscriptionWord] 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/video_transcription_word.py b/src/elevenlabs/types/asset_transcription_word.py similarity index 92% rename from src/elevenlabs/types/video_transcription_word.py rename to src/elevenlabs/types/asset_transcription_word.py index afb9891c..5ded4290 100644 --- a/src/elevenlabs/types/video_transcription_word.py +++ b/src/elevenlabs/types/asset_transcription_word.py @@ -7,7 +7,7 @@ from ..core.unchecked_base_model import UncheckedBaseModel -class VideoTranscriptionWord(UncheckedBaseModel): +class AssetTranscriptionWord(UncheckedBaseModel): speaker_id: typing.Optional[str] = None text: str start_ms: int diff --git a/src/elevenlabs/types/ast_addition_operator_node_input.py b/src/elevenlabs/types/ast_addition_operator_node_input.py new file mode 100644 index 00000000..88547c7e --- /dev/null +++ b/src/elevenlabs/types/ast_addition_operator_node_input.py @@ -0,0 +1,35 @@ +# This file was auto-generated by Fern from our API Definition. + +from __future__ import annotations + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ..core.unchecked_base_model import UncheckedBaseModel + + +class AstAdditionOperatorNodeInput(UncheckedBaseModel): + left: "AstNodeInput" = pydantic.Field() + """ + Left operand of the binary operator. + """ + + right: "AstNodeInput" = pydantic.Field() + """ + Right operand of the binary operator. + """ + + 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 + + +from .ast_node_input import AstNodeInput # noqa: E402, I001 + +update_forward_refs(AstAdditionOperatorNodeInput) diff --git a/src/elevenlabs/types/ast_addition_operator_node_output.py b/src/elevenlabs/types/ast_addition_operator_node_output.py new file mode 100644 index 00000000..fc9e2f49 --- /dev/null +++ b/src/elevenlabs/types/ast_addition_operator_node_output.py @@ -0,0 +1,35 @@ +# This file was auto-generated by Fern from our API Definition. + +from __future__ import annotations + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ..core.unchecked_base_model import UncheckedBaseModel + + +class AstAdditionOperatorNodeOutput(UncheckedBaseModel): + left: "AstNodeOutput" = pydantic.Field() + """ + Left operand of the binary operator. + """ + + right: "AstNodeOutput" = pydantic.Field() + """ + Right operand of the binary operator. + """ + + 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 + + +from .ast_node_output import AstNodeOutput # noqa: E402, I001 + +update_forward_refs(AstAdditionOperatorNodeOutput) diff --git a/src/elevenlabs/types/ast_and_operator_node_input.py b/src/elevenlabs/types/ast_and_operator_node_input.py index fe537f43..38d852b4 100644 --- a/src/elevenlabs/types/ast_and_operator_node_input.py +++ b/src/elevenlabs/types/ast_and_operator_node_input.py @@ -10,7 +10,7 @@ class AstAndOperatorNodeInput(UncheckedBaseModel): - children: typing.List["AstAndOperatorNodeInputChildrenItem"] = pydantic.Field() + children: typing.List["AstNodeInput"] = pydantic.Field() """ Child nodes of the logical operator. """ @@ -25,6 +25,6 @@ class Config: extra = pydantic.Extra.allow -from .ast_and_operator_node_input_children_item import AstAndOperatorNodeInputChildrenItem # noqa: E402, I001 +from .ast_node_input import AstNodeInput # noqa: E402, I001 update_forward_refs(AstAndOperatorNodeInput) 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 deleted file mode 100644 index f7c54609..00000000 --- a/src/elevenlabs/types/ast_and_operator_node_input_children_item.py +++ /dev/null @@ -1,266 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import typing - -import pydantic -import typing_extensions -from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs -from ..core.serialization import FieldMetadata -from ..core.unchecked_base_model import UncheckedBaseModel, UnionMetadata -from .astllm_node_input import AstllmNodeInput - - -class AstAndOperatorNodeInputChildrenItem_AndOperator(UncheckedBaseModel): - type: typing.Literal["and_operator"] = "and_operator" - children: typing.List["AstAndOperatorNodeInputChildrenItem"] - - 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 - - -class AstAndOperatorNodeInputChildrenItem_BooleanLiteral(UncheckedBaseModel): - type: typing.Literal["boolean_literal"] = "boolean_literal" - value: bool - - 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 - - -class AstAndOperatorNodeInputChildrenItem_ConditionalOperator(UncheckedBaseModel): - type: typing.Literal["conditional_operator"] = "conditional_operator" - condition: "AstConditionalOperatorNodeInputCondition" - true_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeInputTrueExpression", FieldMetadata(alias="trueExpression") - ] - false_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeInputFalseExpression", FieldMetadata(alias="falseExpression") - ] - - 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 - - -class AstAndOperatorNodeInputChildrenItem_DynamicVariable(UncheckedBaseModel): - type: typing.Literal["dynamic_variable"] = "dynamic_variable" - name: str - - 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 - - -class AstAndOperatorNodeInputChildrenItem_EqOperator(UncheckedBaseModel): - type: typing.Literal["eq_operator"] = "eq_operator" - left: "AstEqualsOperatorNodeInputLeft" - right: "AstEqualsOperatorNodeInputRight" - - 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 - - -class AstAndOperatorNodeInputChildrenItem_GtOperator(UncheckedBaseModel): - type: typing.Literal["gt_operator"] = "gt_operator" - left: "AstGreaterThanOperatorNodeInputLeft" - right: "AstGreaterThanOperatorNodeInputRight" - - 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 - - -class AstAndOperatorNodeInputChildrenItem_GteOperator(UncheckedBaseModel): - type: typing.Literal["gte_operator"] = "gte_operator" - left: "AstGreaterThanOrEqualsOperatorNodeInputLeft" - right: "AstGreaterThanOrEqualsOperatorNodeInputRight" - - 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 - - -class AstAndOperatorNodeInputChildrenItem_Llm(UncheckedBaseModel): - value: AstllmNodeInput - type: typing.Literal["llm"] = "llm" - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - - -class AstAndOperatorNodeInputChildrenItem_LtOperator(UncheckedBaseModel): - type: typing.Literal["lt_operator"] = "lt_operator" - left: "AstLessThanOperatorNodeInputLeft" - right: "AstLessThanOperatorNodeInputRight" - - 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 - - -class AstAndOperatorNodeInputChildrenItem_LteOperator(UncheckedBaseModel): - type: typing.Literal["lte_operator"] = "lte_operator" - left: "AstLessThanOrEqualsOperatorNodeInputLeft" - right: "AstLessThanOrEqualsOperatorNodeInputRight" - - 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 - - -class AstAndOperatorNodeInputChildrenItem_NeqOperator(UncheckedBaseModel): - type: typing.Literal["neq_operator"] = "neq_operator" - left: "AstNotEqualsOperatorNodeInputLeft" - right: "AstNotEqualsOperatorNodeInputRight" - - 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 - - -class AstAndOperatorNodeInputChildrenItem_NumberLiteral(UncheckedBaseModel): - type: typing.Literal["number_literal"] = "number_literal" - value: float - - 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 - - -class AstAndOperatorNodeInputChildrenItem_OrOperator(UncheckedBaseModel): - type: typing.Literal["or_operator"] = "or_operator" - children: typing.List["AstOrOperatorNodeInputChildrenItem"] - - 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 - - -class AstAndOperatorNodeInputChildrenItem_StringLiteral(UncheckedBaseModel): - type: typing.Literal["string_literal"] = "string_literal" - value: str - - 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 - - -AstAndOperatorNodeInputChildrenItem = typing_extensions.Annotated[ - typing.Union[ - AstAndOperatorNodeInputChildrenItem_AndOperator, - AstAndOperatorNodeInputChildrenItem_BooleanLiteral, - AstAndOperatorNodeInputChildrenItem_ConditionalOperator, - AstAndOperatorNodeInputChildrenItem_DynamicVariable, - AstAndOperatorNodeInputChildrenItem_EqOperator, - AstAndOperatorNodeInputChildrenItem_GtOperator, - AstAndOperatorNodeInputChildrenItem_GteOperator, - AstAndOperatorNodeInputChildrenItem_Llm, - AstAndOperatorNodeInputChildrenItem_LtOperator, - AstAndOperatorNodeInputChildrenItem_LteOperator, - AstAndOperatorNodeInputChildrenItem_NeqOperator, - AstAndOperatorNodeInputChildrenItem_NumberLiteral, - AstAndOperatorNodeInputChildrenItem_OrOperator, - AstAndOperatorNodeInputChildrenItem_StringLiteral, - ], - UnionMetadata(discriminant="type"), -] -from .ast_conditional_operator_node_input_condition import AstConditionalOperatorNodeInputCondition # noqa: E402, I001 -from .ast_conditional_operator_node_input_true_expression import AstConditionalOperatorNodeInputTrueExpression # noqa: E402, I001 -from .ast_conditional_operator_node_input_false_expression import AstConditionalOperatorNodeInputFalseExpression # 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_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_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_children_item import AstOrOperatorNodeInputChildrenItem # noqa: E402, I001 - -update_forward_refs(AstAndOperatorNodeInputChildrenItem_AndOperator) -update_forward_refs(AstAndOperatorNodeInputChildrenItem_ConditionalOperator) -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) diff --git a/src/elevenlabs/types/ast_and_operator_node_output.py b/src/elevenlabs/types/ast_and_operator_node_output.py index 5c870678..4a4eb67e 100644 --- a/src/elevenlabs/types/ast_and_operator_node_output.py +++ b/src/elevenlabs/types/ast_and_operator_node_output.py @@ -10,7 +10,7 @@ class AstAndOperatorNodeOutput(UncheckedBaseModel): - children: typing.List["AstAndOperatorNodeOutputChildrenItem"] = pydantic.Field() + children: typing.List["AstNodeOutput"] = pydantic.Field() """ Child nodes of the logical operator. """ @@ -25,6 +25,6 @@ class Config: extra = pydantic.Extra.allow -from .ast_and_operator_node_output_children_item import AstAndOperatorNodeOutputChildrenItem # noqa: E402, I001 +from .ast_node_output import AstNodeOutput # noqa: E402, I001 update_forward_refs(AstAndOperatorNodeOutput) 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 deleted file mode 100644 index ce81ed30..00000000 --- a/src/elevenlabs/types/ast_and_operator_node_output_children_item.py +++ /dev/null @@ -1,268 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import typing - -import pydantic -import typing_extensions -from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs -from ..core.serialization import FieldMetadata -from ..core.unchecked_base_model import UncheckedBaseModel, UnionMetadata -from .llm_literal_json_schema_property import LlmLiteralJsonSchemaProperty - - -class AstAndOperatorNodeOutputChildrenItem_AndOperator(UncheckedBaseModel): - type: typing.Literal["and_operator"] = "and_operator" - children: typing.List["AstAndOperatorNodeOutputChildrenItem"] - - 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 - - -class AstAndOperatorNodeOutputChildrenItem_BooleanLiteral(UncheckedBaseModel): - type: typing.Literal["boolean_literal"] = "boolean_literal" - value: bool - - 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 - - -class AstAndOperatorNodeOutputChildrenItem_ConditionalOperator(UncheckedBaseModel): - type: typing.Literal["conditional_operator"] = "conditional_operator" - condition: "AstConditionalOperatorNodeOutputCondition" - true_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeOutputTrueExpression", FieldMetadata(alias="trueExpression") - ] - false_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeOutputFalseExpression", FieldMetadata(alias="falseExpression") - ] - - 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 - - -class AstAndOperatorNodeOutputChildrenItem_DynamicVariable(UncheckedBaseModel): - type: typing.Literal["dynamic_variable"] = "dynamic_variable" - name: str - - 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 - - -class AstAndOperatorNodeOutputChildrenItem_EqOperator(UncheckedBaseModel): - type: typing.Literal["eq_operator"] = "eq_operator" - left: "AstEqualsOperatorNodeOutputLeft" - right: "AstEqualsOperatorNodeOutputRight" - - 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 - - -class AstAndOperatorNodeOutputChildrenItem_GtOperator(UncheckedBaseModel): - type: typing.Literal["gt_operator"] = "gt_operator" - left: "AstGreaterThanOperatorNodeOutputLeft" - right: "AstGreaterThanOperatorNodeOutputRight" - - 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 - - -class AstAndOperatorNodeOutputChildrenItem_GteOperator(UncheckedBaseModel): - type: typing.Literal["gte_operator"] = "gte_operator" - left: "AstGreaterThanOrEqualsOperatorNodeOutputLeft" - right: "AstGreaterThanOrEqualsOperatorNodeOutputRight" - - 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 - - -class AstAndOperatorNodeOutputChildrenItem_Llm(UncheckedBaseModel): - type: typing.Literal["llm"] = "llm" - value_schema: LlmLiteralJsonSchemaProperty - prompt: str - - 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 - - -class AstAndOperatorNodeOutputChildrenItem_LtOperator(UncheckedBaseModel): - type: typing.Literal["lt_operator"] = "lt_operator" - left: "AstLessThanOperatorNodeOutputLeft" - right: "AstLessThanOperatorNodeOutputRight" - - 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 - - -class AstAndOperatorNodeOutputChildrenItem_LteOperator(UncheckedBaseModel): - type: typing.Literal["lte_operator"] = "lte_operator" - left: "AstLessThanOrEqualsOperatorNodeOutputLeft" - right: "AstLessThanOrEqualsOperatorNodeOutputRight" - - 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 - - -class AstAndOperatorNodeOutputChildrenItem_NeqOperator(UncheckedBaseModel): - type: typing.Literal["neq_operator"] = "neq_operator" - left: "AstNotEqualsOperatorNodeOutputLeft" - right: "AstNotEqualsOperatorNodeOutputRight" - - 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 - - -class AstAndOperatorNodeOutputChildrenItem_NumberLiteral(UncheckedBaseModel): - type: typing.Literal["number_literal"] = "number_literal" - value: float - - 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 - - -class AstAndOperatorNodeOutputChildrenItem_OrOperator(UncheckedBaseModel): - type: typing.Literal["or_operator"] = "or_operator" - children: typing.List["AstOrOperatorNodeOutputChildrenItem"] - - 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 - - -class AstAndOperatorNodeOutputChildrenItem_StringLiteral(UncheckedBaseModel): - type: typing.Literal["string_literal"] = "string_literal" - value: str - - 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 - - -AstAndOperatorNodeOutputChildrenItem = typing_extensions.Annotated[ - typing.Union[ - AstAndOperatorNodeOutputChildrenItem_AndOperator, - AstAndOperatorNodeOutputChildrenItem_BooleanLiteral, - AstAndOperatorNodeOutputChildrenItem_ConditionalOperator, - AstAndOperatorNodeOutputChildrenItem_DynamicVariable, - AstAndOperatorNodeOutputChildrenItem_EqOperator, - AstAndOperatorNodeOutputChildrenItem_GtOperator, - AstAndOperatorNodeOutputChildrenItem_GteOperator, - AstAndOperatorNodeOutputChildrenItem_Llm, - AstAndOperatorNodeOutputChildrenItem_LtOperator, - AstAndOperatorNodeOutputChildrenItem_LteOperator, - AstAndOperatorNodeOutputChildrenItem_NeqOperator, - AstAndOperatorNodeOutputChildrenItem_NumberLiteral, - AstAndOperatorNodeOutputChildrenItem_OrOperator, - AstAndOperatorNodeOutputChildrenItem_StringLiteral, - ], - UnionMetadata(discriminant="type"), -] -from .ast_conditional_operator_node_output_condition import AstConditionalOperatorNodeOutputCondition # noqa: E402, I001 -from .ast_conditional_operator_node_output_true_expression import AstConditionalOperatorNodeOutputTrueExpression # noqa: E402, I001 -from .ast_conditional_operator_node_output_false_expression import AstConditionalOperatorNodeOutputFalseExpression # 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_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_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_children_item import AstOrOperatorNodeOutputChildrenItem # noqa: E402, I001 - -update_forward_refs(AstAndOperatorNodeOutputChildrenItem_AndOperator) -update_forward_refs(AstAndOperatorNodeOutputChildrenItem_ConditionalOperator) -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) diff --git a/src/elevenlabs/types/ast_conditional_operator_node_input.py b/src/elevenlabs/types/ast_conditional_operator_node_input.py index e57464a5..c471f53a 100644 --- a/src/elevenlabs/types/ast_conditional_operator_node_input.py +++ b/src/elevenlabs/types/ast_conditional_operator_node_input.py @@ -12,21 +12,21 @@ class AstConditionalOperatorNodeInput(UncheckedBaseModel): - condition: "AstConditionalOperatorNodeInputCondition" = pydantic.Field() + condition: "AstNodeInput" = pydantic.Field() """ Condition deciding which expression should be selected. """ - true_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeInputTrueExpression", FieldMetadata(alias="trueExpression") - ] = pydantic.Field() + true_expression: typing_extensions.Annotated["AstNodeInput", FieldMetadata(alias="trueExpression")] = ( + pydantic.Field() + ) """ Expression selected if the condition is true. """ - false_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeInputFalseExpression", FieldMetadata(alias="falseExpression") - ] = pydantic.Field() + false_expression: typing_extensions.Annotated["AstNodeInput", FieldMetadata(alias="falseExpression")] = ( + pydantic.Field() + ) """ Expression selected if the condition is false. """ @@ -41,8 +41,6 @@ class Config: extra = pydantic.Extra.allow -from .ast_conditional_operator_node_input_condition import AstConditionalOperatorNodeInputCondition # noqa: E402, I001 -from .ast_conditional_operator_node_input_true_expression import AstConditionalOperatorNodeInputTrueExpression # noqa: E402, I001 -from .ast_conditional_operator_node_input_false_expression import AstConditionalOperatorNodeInputFalseExpression # noqa: E402, I001 +from .ast_node_input import AstNodeInput # noqa: E402, I001 update_forward_refs(AstConditionalOperatorNodeInput) diff --git a/src/elevenlabs/types/ast_conditional_operator_node_input_condition.py b/src/elevenlabs/types/ast_conditional_operator_node_input_condition.py deleted file mode 100644 index 949c390a..00000000 --- a/src/elevenlabs/types/ast_conditional_operator_node_input_condition.py +++ /dev/null @@ -1,318 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import typing - -import pydantic -import typing_extensions -from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs -from ..core.serialization import FieldMetadata -from ..core.unchecked_base_model import UncheckedBaseModel, UnionMetadata -from .astllm_node_input import AstllmNodeInput - - -class AstConditionalOperatorNodeInputCondition_AndOperator(UncheckedBaseModel): - """ - Condition deciding which expression should be selected. - """ - - type: typing.Literal["and_operator"] = "and_operator" - children: typing.List["AstAndOperatorNodeInputChildrenItem"] - - 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 - - -class AstConditionalOperatorNodeInputCondition_BooleanLiteral(UncheckedBaseModel): - """ - Condition deciding which expression should be selected. - """ - - type: typing.Literal["boolean_literal"] = "boolean_literal" - value: bool - - 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 - - -class AstConditionalOperatorNodeInputCondition_ConditionalOperator(UncheckedBaseModel): - """ - Condition deciding which expression should be selected. - """ - - type: typing.Literal["conditional_operator"] = "conditional_operator" - condition: "AstConditionalOperatorNodeInputCondition" - true_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeInputTrueExpression", FieldMetadata(alias="trueExpression") - ] - false_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeInputFalseExpression", FieldMetadata(alias="falseExpression") - ] - - 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 - - -class AstConditionalOperatorNodeInputCondition_DynamicVariable(UncheckedBaseModel): - """ - Condition deciding which expression should be selected. - """ - - type: typing.Literal["dynamic_variable"] = "dynamic_variable" - name: str - - 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 - - -class AstConditionalOperatorNodeInputCondition_EqOperator(UncheckedBaseModel): - """ - Condition deciding which expression should be selected. - """ - - type: typing.Literal["eq_operator"] = "eq_operator" - left: "AstEqualsOperatorNodeInputLeft" - right: "AstEqualsOperatorNodeInputRight" - - 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 - - -class AstConditionalOperatorNodeInputCondition_GtOperator(UncheckedBaseModel): - """ - Condition deciding which expression should be selected. - """ - - type: typing.Literal["gt_operator"] = "gt_operator" - left: "AstGreaterThanOperatorNodeInputLeft" - right: "AstGreaterThanOperatorNodeInputRight" - - 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 - - -class AstConditionalOperatorNodeInputCondition_GteOperator(UncheckedBaseModel): - """ - Condition deciding which expression should be selected. - """ - - type: typing.Literal["gte_operator"] = "gte_operator" - left: "AstGreaterThanOrEqualsOperatorNodeInputLeft" - right: "AstGreaterThanOrEqualsOperatorNodeInputRight" - - 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 - - -class AstConditionalOperatorNodeInputCondition_Llm(UncheckedBaseModel): - value: AstllmNodeInput - type: typing.Literal["llm"] = "llm" - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - - -class AstConditionalOperatorNodeInputCondition_LtOperator(UncheckedBaseModel): - """ - Condition deciding which expression should be selected. - """ - - type: typing.Literal["lt_operator"] = "lt_operator" - left: "AstLessThanOperatorNodeInputLeft" - right: "AstLessThanOperatorNodeInputRight" - - 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 - - -class AstConditionalOperatorNodeInputCondition_LteOperator(UncheckedBaseModel): - """ - Condition deciding which expression should be selected. - """ - - type: typing.Literal["lte_operator"] = "lte_operator" - left: "AstLessThanOrEqualsOperatorNodeInputLeft" - right: "AstLessThanOrEqualsOperatorNodeInputRight" - - 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 - - -class AstConditionalOperatorNodeInputCondition_NeqOperator(UncheckedBaseModel): - """ - Condition deciding which expression should be selected. - """ - - type: typing.Literal["neq_operator"] = "neq_operator" - left: "AstNotEqualsOperatorNodeInputLeft" - right: "AstNotEqualsOperatorNodeInputRight" - - 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 - - -class AstConditionalOperatorNodeInputCondition_NumberLiteral(UncheckedBaseModel): - """ - Condition deciding which expression should be selected. - """ - - type: typing.Literal["number_literal"] = "number_literal" - value: float - - 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 - - -class AstConditionalOperatorNodeInputCondition_OrOperator(UncheckedBaseModel): - """ - Condition deciding which expression should be selected. - """ - - type: typing.Literal["or_operator"] = "or_operator" - children: typing.List["AstOrOperatorNodeInputChildrenItem"] - - 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 - - -class AstConditionalOperatorNodeInputCondition_StringLiteral(UncheckedBaseModel): - """ - Condition deciding which expression should be selected. - """ - - type: typing.Literal["string_literal"] = "string_literal" - value: str - - 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 - - -AstConditionalOperatorNodeInputCondition = typing_extensions.Annotated[ - typing.Union[ - AstConditionalOperatorNodeInputCondition_AndOperator, - AstConditionalOperatorNodeInputCondition_BooleanLiteral, - AstConditionalOperatorNodeInputCondition_ConditionalOperator, - AstConditionalOperatorNodeInputCondition_DynamicVariable, - AstConditionalOperatorNodeInputCondition_EqOperator, - AstConditionalOperatorNodeInputCondition_GtOperator, - AstConditionalOperatorNodeInputCondition_GteOperator, - AstConditionalOperatorNodeInputCondition_Llm, - AstConditionalOperatorNodeInputCondition_LtOperator, - AstConditionalOperatorNodeInputCondition_LteOperator, - AstConditionalOperatorNodeInputCondition_NeqOperator, - AstConditionalOperatorNodeInputCondition_NumberLiteral, - AstConditionalOperatorNodeInputCondition_OrOperator, - AstConditionalOperatorNodeInputCondition_StringLiteral, - ], - UnionMetadata(discriminant="type"), -] -from .ast_and_operator_node_input_children_item import AstAndOperatorNodeInputChildrenItem # noqa: E402, I001 -from .ast_conditional_operator_node_input_true_expression import AstConditionalOperatorNodeInputTrueExpression # noqa: E402, I001 -from .ast_conditional_operator_node_input_false_expression import AstConditionalOperatorNodeInputFalseExpression # 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_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_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_children_item import AstOrOperatorNodeInputChildrenItem # noqa: E402, I001 - -update_forward_refs(AstConditionalOperatorNodeInputCondition_AndOperator) -update_forward_refs(AstConditionalOperatorNodeInputCondition_ConditionalOperator) -update_forward_refs(AstConditionalOperatorNodeInputCondition_EqOperator) -update_forward_refs(AstConditionalOperatorNodeInputCondition_GtOperator) -update_forward_refs(AstConditionalOperatorNodeInputCondition_GteOperator) -update_forward_refs(AstConditionalOperatorNodeInputCondition_LtOperator) -update_forward_refs(AstConditionalOperatorNodeInputCondition_LteOperator) -update_forward_refs(AstConditionalOperatorNodeInputCondition_NeqOperator) -update_forward_refs(AstConditionalOperatorNodeInputCondition_OrOperator) diff --git a/src/elevenlabs/types/ast_conditional_operator_node_input_false_expression.py b/src/elevenlabs/types/ast_conditional_operator_node_input_false_expression.py deleted file mode 100644 index 9b0347fb..00000000 --- a/src/elevenlabs/types/ast_conditional_operator_node_input_false_expression.py +++ /dev/null @@ -1,318 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import typing - -import pydantic -import typing_extensions -from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs -from ..core.serialization import FieldMetadata -from ..core.unchecked_base_model import UncheckedBaseModel, UnionMetadata -from .astllm_node_input import AstllmNodeInput - - -class AstConditionalOperatorNodeInputFalseExpression_AndOperator(UncheckedBaseModel): - """ - Expression selected if the condition is false. - """ - - type: typing.Literal["and_operator"] = "and_operator" - children: typing.List["AstAndOperatorNodeInputChildrenItem"] - - 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 - - -class AstConditionalOperatorNodeInputFalseExpression_BooleanLiteral(UncheckedBaseModel): - """ - Expression selected if the condition is false. - """ - - type: typing.Literal["boolean_literal"] = "boolean_literal" - value: bool - - 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 - - -class AstConditionalOperatorNodeInputFalseExpression_ConditionalOperator(UncheckedBaseModel): - """ - Expression selected if the condition is false. - """ - - type: typing.Literal["conditional_operator"] = "conditional_operator" - condition: "AstConditionalOperatorNodeInputCondition" - true_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeInputTrueExpression", FieldMetadata(alias="trueExpression") - ] - false_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeInputFalseExpression", FieldMetadata(alias="falseExpression") - ] - - 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 - - -class AstConditionalOperatorNodeInputFalseExpression_DynamicVariable(UncheckedBaseModel): - """ - Expression selected if the condition is false. - """ - - type: typing.Literal["dynamic_variable"] = "dynamic_variable" - name: str - - 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 - - -class AstConditionalOperatorNodeInputFalseExpression_EqOperator(UncheckedBaseModel): - """ - Expression selected if the condition is false. - """ - - type: typing.Literal["eq_operator"] = "eq_operator" - left: "AstEqualsOperatorNodeInputLeft" - right: "AstEqualsOperatorNodeInputRight" - - 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 - - -class AstConditionalOperatorNodeInputFalseExpression_GtOperator(UncheckedBaseModel): - """ - Expression selected if the condition is false. - """ - - type: typing.Literal["gt_operator"] = "gt_operator" - left: "AstGreaterThanOperatorNodeInputLeft" - right: "AstGreaterThanOperatorNodeInputRight" - - 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 - - -class AstConditionalOperatorNodeInputFalseExpression_GteOperator(UncheckedBaseModel): - """ - Expression selected if the condition is false. - """ - - type: typing.Literal["gte_operator"] = "gte_operator" - left: "AstGreaterThanOrEqualsOperatorNodeInputLeft" - right: "AstGreaterThanOrEqualsOperatorNodeInputRight" - - 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 - - -class AstConditionalOperatorNodeInputFalseExpression_Llm(UncheckedBaseModel): - value: AstllmNodeInput - type: typing.Literal["llm"] = "llm" - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - - -class AstConditionalOperatorNodeInputFalseExpression_LtOperator(UncheckedBaseModel): - """ - Expression selected if the condition is false. - """ - - type: typing.Literal["lt_operator"] = "lt_operator" - left: "AstLessThanOperatorNodeInputLeft" - right: "AstLessThanOperatorNodeInputRight" - - 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 - - -class AstConditionalOperatorNodeInputFalseExpression_LteOperator(UncheckedBaseModel): - """ - Expression selected if the condition is false. - """ - - type: typing.Literal["lte_operator"] = "lte_operator" - left: "AstLessThanOrEqualsOperatorNodeInputLeft" - right: "AstLessThanOrEqualsOperatorNodeInputRight" - - 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 - - -class AstConditionalOperatorNodeInputFalseExpression_NeqOperator(UncheckedBaseModel): - """ - Expression selected if the condition is false. - """ - - type: typing.Literal["neq_operator"] = "neq_operator" - left: "AstNotEqualsOperatorNodeInputLeft" - right: "AstNotEqualsOperatorNodeInputRight" - - 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 - - -class AstConditionalOperatorNodeInputFalseExpression_NumberLiteral(UncheckedBaseModel): - """ - Expression selected if the condition is false. - """ - - type: typing.Literal["number_literal"] = "number_literal" - value: float - - 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 - - -class AstConditionalOperatorNodeInputFalseExpression_OrOperator(UncheckedBaseModel): - """ - Expression selected if the condition is false. - """ - - type: typing.Literal["or_operator"] = "or_operator" - children: typing.List["AstOrOperatorNodeInputChildrenItem"] - - 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 - - -class AstConditionalOperatorNodeInputFalseExpression_StringLiteral(UncheckedBaseModel): - """ - Expression selected if the condition is false. - """ - - type: typing.Literal["string_literal"] = "string_literal" - value: str - - 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 - - -AstConditionalOperatorNodeInputFalseExpression = typing_extensions.Annotated[ - typing.Union[ - AstConditionalOperatorNodeInputFalseExpression_AndOperator, - AstConditionalOperatorNodeInputFalseExpression_BooleanLiteral, - AstConditionalOperatorNodeInputFalseExpression_ConditionalOperator, - AstConditionalOperatorNodeInputFalseExpression_DynamicVariable, - AstConditionalOperatorNodeInputFalseExpression_EqOperator, - AstConditionalOperatorNodeInputFalseExpression_GtOperator, - AstConditionalOperatorNodeInputFalseExpression_GteOperator, - AstConditionalOperatorNodeInputFalseExpression_Llm, - AstConditionalOperatorNodeInputFalseExpression_LtOperator, - AstConditionalOperatorNodeInputFalseExpression_LteOperator, - AstConditionalOperatorNodeInputFalseExpression_NeqOperator, - AstConditionalOperatorNodeInputFalseExpression_NumberLiteral, - AstConditionalOperatorNodeInputFalseExpression_OrOperator, - AstConditionalOperatorNodeInputFalseExpression_StringLiteral, - ], - UnionMetadata(discriminant="type"), -] -from .ast_and_operator_node_input_children_item import AstAndOperatorNodeInputChildrenItem # noqa: E402, I001 -from .ast_conditional_operator_node_input_condition import AstConditionalOperatorNodeInputCondition # noqa: E402, I001 -from .ast_conditional_operator_node_input_true_expression import AstConditionalOperatorNodeInputTrueExpression # 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_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_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_children_item import AstOrOperatorNodeInputChildrenItem # noqa: E402, I001 - -update_forward_refs(AstConditionalOperatorNodeInputFalseExpression_AndOperator) -update_forward_refs(AstConditionalOperatorNodeInputFalseExpression_ConditionalOperator) -update_forward_refs(AstConditionalOperatorNodeInputFalseExpression_EqOperator) -update_forward_refs(AstConditionalOperatorNodeInputFalseExpression_GtOperator) -update_forward_refs(AstConditionalOperatorNodeInputFalseExpression_GteOperator) -update_forward_refs(AstConditionalOperatorNodeInputFalseExpression_LtOperator) -update_forward_refs(AstConditionalOperatorNodeInputFalseExpression_LteOperator) -update_forward_refs(AstConditionalOperatorNodeInputFalseExpression_NeqOperator) -update_forward_refs(AstConditionalOperatorNodeInputFalseExpression_OrOperator) diff --git a/src/elevenlabs/types/ast_conditional_operator_node_input_true_expression.py b/src/elevenlabs/types/ast_conditional_operator_node_input_true_expression.py deleted file mode 100644 index a8594573..00000000 --- a/src/elevenlabs/types/ast_conditional_operator_node_input_true_expression.py +++ /dev/null @@ -1,318 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import typing - -import pydantic -import typing_extensions -from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs -from ..core.serialization import FieldMetadata -from ..core.unchecked_base_model import UncheckedBaseModel, UnionMetadata -from .astllm_node_input import AstllmNodeInput - - -class AstConditionalOperatorNodeInputTrueExpression_AndOperator(UncheckedBaseModel): - """ - Expression selected if the condition is true. - """ - - type: typing.Literal["and_operator"] = "and_operator" - children: typing.List["AstAndOperatorNodeInputChildrenItem"] - - 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 - - -class AstConditionalOperatorNodeInputTrueExpression_BooleanLiteral(UncheckedBaseModel): - """ - Expression selected if the condition is true. - """ - - type: typing.Literal["boolean_literal"] = "boolean_literal" - value: bool - - 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 - - -class AstConditionalOperatorNodeInputTrueExpression_ConditionalOperator(UncheckedBaseModel): - """ - Expression selected if the condition is true. - """ - - type: typing.Literal["conditional_operator"] = "conditional_operator" - condition: "AstConditionalOperatorNodeInputCondition" - true_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeInputTrueExpression", FieldMetadata(alias="trueExpression") - ] - false_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeInputFalseExpression", FieldMetadata(alias="falseExpression") - ] - - 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 - - -class AstConditionalOperatorNodeInputTrueExpression_DynamicVariable(UncheckedBaseModel): - """ - Expression selected if the condition is true. - """ - - type: typing.Literal["dynamic_variable"] = "dynamic_variable" - name: str - - 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 - - -class AstConditionalOperatorNodeInputTrueExpression_EqOperator(UncheckedBaseModel): - """ - Expression selected if the condition is true. - """ - - type: typing.Literal["eq_operator"] = "eq_operator" - left: "AstEqualsOperatorNodeInputLeft" - right: "AstEqualsOperatorNodeInputRight" - - 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 - - -class AstConditionalOperatorNodeInputTrueExpression_GtOperator(UncheckedBaseModel): - """ - Expression selected if the condition is true. - """ - - type: typing.Literal["gt_operator"] = "gt_operator" - left: "AstGreaterThanOperatorNodeInputLeft" - right: "AstGreaterThanOperatorNodeInputRight" - - 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 - - -class AstConditionalOperatorNodeInputTrueExpression_GteOperator(UncheckedBaseModel): - """ - Expression selected if the condition is true. - """ - - type: typing.Literal["gte_operator"] = "gte_operator" - left: "AstGreaterThanOrEqualsOperatorNodeInputLeft" - right: "AstGreaterThanOrEqualsOperatorNodeInputRight" - - 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 - - -class AstConditionalOperatorNodeInputTrueExpression_Llm(UncheckedBaseModel): - value: AstllmNodeInput - type: typing.Literal["llm"] = "llm" - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - - -class AstConditionalOperatorNodeInputTrueExpression_LtOperator(UncheckedBaseModel): - """ - Expression selected if the condition is true. - """ - - type: typing.Literal["lt_operator"] = "lt_operator" - left: "AstLessThanOperatorNodeInputLeft" - right: "AstLessThanOperatorNodeInputRight" - - 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 - - -class AstConditionalOperatorNodeInputTrueExpression_LteOperator(UncheckedBaseModel): - """ - Expression selected if the condition is true. - """ - - type: typing.Literal["lte_operator"] = "lte_operator" - left: "AstLessThanOrEqualsOperatorNodeInputLeft" - right: "AstLessThanOrEqualsOperatorNodeInputRight" - - 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 - - -class AstConditionalOperatorNodeInputTrueExpression_NeqOperator(UncheckedBaseModel): - """ - Expression selected if the condition is true. - """ - - type: typing.Literal["neq_operator"] = "neq_operator" - left: "AstNotEqualsOperatorNodeInputLeft" - right: "AstNotEqualsOperatorNodeInputRight" - - 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 - - -class AstConditionalOperatorNodeInputTrueExpression_NumberLiteral(UncheckedBaseModel): - """ - Expression selected if the condition is true. - """ - - type: typing.Literal["number_literal"] = "number_literal" - value: float - - 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 - - -class AstConditionalOperatorNodeInputTrueExpression_OrOperator(UncheckedBaseModel): - """ - Expression selected if the condition is true. - """ - - type: typing.Literal["or_operator"] = "or_operator" - children: typing.List["AstOrOperatorNodeInputChildrenItem"] - - 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 - - -class AstConditionalOperatorNodeInputTrueExpression_StringLiteral(UncheckedBaseModel): - """ - Expression selected if the condition is true. - """ - - type: typing.Literal["string_literal"] = "string_literal" - value: str - - 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 - - -AstConditionalOperatorNodeInputTrueExpression = typing_extensions.Annotated[ - typing.Union[ - AstConditionalOperatorNodeInputTrueExpression_AndOperator, - AstConditionalOperatorNodeInputTrueExpression_BooleanLiteral, - AstConditionalOperatorNodeInputTrueExpression_ConditionalOperator, - AstConditionalOperatorNodeInputTrueExpression_DynamicVariable, - AstConditionalOperatorNodeInputTrueExpression_EqOperator, - AstConditionalOperatorNodeInputTrueExpression_GtOperator, - AstConditionalOperatorNodeInputTrueExpression_GteOperator, - AstConditionalOperatorNodeInputTrueExpression_Llm, - AstConditionalOperatorNodeInputTrueExpression_LtOperator, - AstConditionalOperatorNodeInputTrueExpression_LteOperator, - AstConditionalOperatorNodeInputTrueExpression_NeqOperator, - AstConditionalOperatorNodeInputTrueExpression_NumberLiteral, - AstConditionalOperatorNodeInputTrueExpression_OrOperator, - AstConditionalOperatorNodeInputTrueExpression_StringLiteral, - ], - UnionMetadata(discriminant="type"), -] -from .ast_and_operator_node_input_children_item import AstAndOperatorNodeInputChildrenItem # noqa: E402, I001 -from .ast_conditional_operator_node_input_condition import AstConditionalOperatorNodeInputCondition # noqa: E402, I001 -from .ast_conditional_operator_node_input_false_expression import AstConditionalOperatorNodeInputFalseExpression # 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_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_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_children_item import AstOrOperatorNodeInputChildrenItem # noqa: E402, I001 - -update_forward_refs(AstConditionalOperatorNodeInputTrueExpression_AndOperator) -update_forward_refs(AstConditionalOperatorNodeInputTrueExpression_ConditionalOperator) -update_forward_refs(AstConditionalOperatorNodeInputTrueExpression_EqOperator) -update_forward_refs(AstConditionalOperatorNodeInputTrueExpression_GtOperator) -update_forward_refs(AstConditionalOperatorNodeInputTrueExpression_GteOperator) -update_forward_refs(AstConditionalOperatorNodeInputTrueExpression_LtOperator) -update_forward_refs(AstConditionalOperatorNodeInputTrueExpression_LteOperator) -update_forward_refs(AstConditionalOperatorNodeInputTrueExpression_NeqOperator) -update_forward_refs(AstConditionalOperatorNodeInputTrueExpression_OrOperator) diff --git a/src/elevenlabs/types/ast_conditional_operator_node_output.py b/src/elevenlabs/types/ast_conditional_operator_node_output.py index ebe3ac0e..c0250513 100644 --- a/src/elevenlabs/types/ast_conditional_operator_node_output.py +++ b/src/elevenlabs/types/ast_conditional_operator_node_output.py @@ -12,21 +12,21 @@ class AstConditionalOperatorNodeOutput(UncheckedBaseModel): - condition: "AstConditionalOperatorNodeOutputCondition" = pydantic.Field() + condition: "AstNodeOutput" = pydantic.Field() """ Condition deciding which expression should be selected. """ - true_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeOutputTrueExpression", FieldMetadata(alias="trueExpression") - ] = pydantic.Field() + true_expression: typing_extensions.Annotated["AstNodeOutput", FieldMetadata(alias="trueExpression")] = ( + pydantic.Field() + ) """ Expression selected if the condition is true. """ - false_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeOutputFalseExpression", FieldMetadata(alias="falseExpression") - ] = pydantic.Field() + false_expression: typing_extensions.Annotated["AstNodeOutput", FieldMetadata(alias="falseExpression")] = ( + pydantic.Field() + ) """ Expression selected if the condition is false. """ @@ -41,8 +41,6 @@ class Config: extra = pydantic.Extra.allow -from .ast_conditional_operator_node_output_condition import AstConditionalOperatorNodeOutputCondition # noqa: E402, I001 -from .ast_conditional_operator_node_output_true_expression import AstConditionalOperatorNodeOutputTrueExpression # noqa: E402, I001 -from .ast_conditional_operator_node_output_false_expression import AstConditionalOperatorNodeOutputFalseExpression # noqa: E402, I001 +from .ast_node_output import AstNodeOutput # noqa: E402, I001 update_forward_refs(AstConditionalOperatorNodeOutput) diff --git a/src/elevenlabs/types/ast_conditional_operator_node_output_condition.py b/src/elevenlabs/types/ast_conditional_operator_node_output_condition.py deleted file mode 100644 index 64381b6f..00000000 --- a/src/elevenlabs/types/ast_conditional_operator_node_output_condition.py +++ /dev/null @@ -1,324 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import typing - -import pydantic -import typing_extensions -from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs -from ..core.serialization import FieldMetadata -from ..core.unchecked_base_model import UncheckedBaseModel, UnionMetadata -from .llm_literal_json_schema_property import LlmLiteralJsonSchemaProperty - - -class AstConditionalOperatorNodeOutputCondition_AndOperator(UncheckedBaseModel): - """ - Condition deciding which expression should be selected. - """ - - type: typing.Literal["and_operator"] = "and_operator" - children: typing.List["AstAndOperatorNodeOutputChildrenItem"] - - 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 - - -class AstConditionalOperatorNodeOutputCondition_BooleanLiteral(UncheckedBaseModel): - """ - Condition deciding which expression should be selected. - """ - - type: typing.Literal["boolean_literal"] = "boolean_literal" - value: bool - - 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 - - -class AstConditionalOperatorNodeOutputCondition_ConditionalOperator(UncheckedBaseModel): - """ - Condition deciding which expression should be selected. - """ - - type: typing.Literal["conditional_operator"] = "conditional_operator" - condition: "AstConditionalOperatorNodeOutputCondition" - true_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeOutputTrueExpression", FieldMetadata(alias="trueExpression") - ] - false_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeOutputFalseExpression", FieldMetadata(alias="falseExpression") - ] - - 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 - - -class AstConditionalOperatorNodeOutputCondition_DynamicVariable(UncheckedBaseModel): - """ - Condition deciding which expression should be selected. - """ - - type: typing.Literal["dynamic_variable"] = "dynamic_variable" - name: str - - 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 - - -class AstConditionalOperatorNodeOutputCondition_EqOperator(UncheckedBaseModel): - """ - Condition deciding which expression should be selected. - """ - - type: typing.Literal["eq_operator"] = "eq_operator" - left: "AstEqualsOperatorNodeOutputLeft" - right: "AstEqualsOperatorNodeOutputRight" - - 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 - - -class AstConditionalOperatorNodeOutputCondition_GtOperator(UncheckedBaseModel): - """ - Condition deciding which expression should be selected. - """ - - type: typing.Literal["gt_operator"] = "gt_operator" - left: "AstGreaterThanOperatorNodeOutputLeft" - right: "AstGreaterThanOperatorNodeOutputRight" - - 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 - - -class AstConditionalOperatorNodeOutputCondition_GteOperator(UncheckedBaseModel): - """ - Condition deciding which expression should be selected. - """ - - type: typing.Literal["gte_operator"] = "gte_operator" - left: "AstGreaterThanOrEqualsOperatorNodeOutputLeft" - right: "AstGreaterThanOrEqualsOperatorNodeOutputRight" - - 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 - - -class AstConditionalOperatorNodeOutputCondition_Llm(UncheckedBaseModel): - """ - Condition deciding which expression should be selected. - """ - - type: typing.Literal["llm"] = "llm" - value_schema: LlmLiteralJsonSchemaProperty - prompt: str - - 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 - - -class AstConditionalOperatorNodeOutputCondition_LtOperator(UncheckedBaseModel): - """ - Condition deciding which expression should be selected. - """ - - type: typing.Literal["lt_operator"] = "lt_operator" - left: "AstLessThanOperatorNodeOutputLeft" - right: "AstLessThanOperatorNodeOutputRight" - - 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 - - -class AstConditionalOperatorNodeOutputCondition_LteOperator(UncheckedBaseModel): - """ - Condition deciding which expression should be selected. - """ - - type: typing.Literal["lte_operator"] = "lte_operator" - left: "AstLessThanOrEqualsOperatorNodeOutputLeft" - right: "AstLessThanOrEqualsOperatorNodeOutputRight" - - 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 - - -class AstConditionalOperatorNodeOutputCondition_NeqOperator(UncheckedBaseModel): - """ - Condition deciding which expression should be selected. - """ - - type: typing.Literal["neq_operator"] = "neq_operator" - left: "AstNotEqualsOperatorNodeOutputLeft" - right: "AstNotEqualsOperatorNodeOutputRight" - - 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 - - -class AstConditionalOperatorNodeOutputCondition_NumberLiteral(UncheckedBaseModel): - """ - Condition deciding which expression should be selected. - """ - - type: typing.Literal["number_literal"] = "number_literal" - value: float - - 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 - - -class AstConditionalOperatorNodeOutputCondition_OrOperator(UncheckedBaseModel): - """ - Condition deciding which expression should be selected. - """ - - type: typing.Literal["or_operator"] = "or_operator" - children: typing.List["AstOrOperatorNodeOutputChildrenItem"] - - 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 - - -class AstConditionalOperatorNodeOutputCondition_StringLiteral(UncheckedBaseModel): - """ - Condition deciding which expression should be selected. - """ - - type: typing.Literal["string_literal"] = "string_literal" - value: str - - 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 - - -AstConditionalOperatorNodeOutputCondition = typing_extensions.Annotated[ - typing.Union[ - AstConditionalOperatorNodeOutputCondition_AndOperator, - AstConditionalOperatorNodeOutputCondition_BooleanLiteral, - AstConditionalOperatorNodeOutputCondition_ConditionalOperator, - AstConditionalOperatorNodeOutputCondition_DynamicVariable, - AstConditionalOperatorNodeOutputCondition_EqOperator, - AstConditionalOperatorNodeOutputCondition_GtOperator, - AstConditionalOperatorNodeOutputCondition_GteOperator, - AstConditionalOperatorNodeOutputCondition_Llm, - AstConditionalOperatorNodeOutputCondition_LtOperator, - AstConditionalOperatorNodeOutputCondition_LteOperator, - AstConditionalOperatorNodeOutputCondition_NeqOperator, - AstConditionalOperatorNodeOutputCondition_NumberLiteral, - AstConditionalOperatorNodeOutputCondition_OrOperator, - AstConditionalOperatorNodeOutputCondition_StringLiteral, - ], - UnionMetadata(discriminant="type"), -] -from .ast_and_operator_node_output_children_item import AstAndOperatorNodeOutputChildrenItem # noqa: E402, I001 -from .ast_conditional_operator_node_output_true_expression import AstConditionalOperatorNodeOutputTrueExpression # noqa: E402, I001 -from .ast_conditional_operator_node_output_false_expression import AstConditionalOperatorNodeOutputFalseExpression # 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_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_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_children_item import AstOrOperatorNodeOutputChildrenItem # noqa: E402, I001 - -update_forward_refs(AstConditionalOperatorNodeOutputCondition_AndOperator) -update_forward_refs(AstConditionalOperatorNodeOutputCondition_ConditionalOperator) -update_forward_refs(AstConditionalOperatorNodeOutputCondition_EqOperator) -update_forward_refs(AstConditionalOperatorNodeOutputCondition_GtOperator) -update_forward_refs(AstConditionalOperatorNodeOutputCondition_GteOperator) -update_forward_refs(AstConditionalOperatorNodeOutputCondition_LtOperator) -update_forward_refs(AstConditionalOperatorNodeOutputCondition_LteOperator) -update_forward_refs(AstConditionalOperatorNodeOutputCondition_NeqOperator) -update_forward_refs(AstConditionalOperatorNodeOutputCondition_OrOperator) diff --git a/src/elevenlabs/types/ast_conditional_operator_node_output_false_expression.py b/src/elevenlabs/types/ast_conditional_operator_node_output_false_expression.py deleted file mode 100644 index 3a66e951..00000000 --- a/src/elevenlabs/types/ast_conditional_operator_node_output_false_expression.py +++ /dev/null @@ -1,324 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import typing - -import pydantic -import typing_extensions -from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs -from ..core.serialization import FieldMetadata -from ..core.unchecked_base_model import UncheckedBaseModel, UnionMetadata -from .llm_literal_json_schema_property import LlmLiteralJsonSchemaProperty - - -class AstConditionalOperatorNodeOutputFalseExpression_AndOperator(UncheckedBaseModel): - """ - Expression selected if the condition is false. - """ - - type: typing.Literal["and_operator"] = "and_operator" - children: typing.List["AstAndOperatorNodeOutputChildrenItem"] - - 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 - - -class AstConditionalOperatorNodeOutputFalseExpression_BooleanLiteral(UncheckedBaseModel): - """ - Expression selected if the condition is false. - """ - - type: typing.Literal["boolean_literal"] = "boolean_literal" - value: bool - - 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 - - -class AstConditionalOperatorNodeOutputFalseExpression_ConditionalOperator(UncheckedBaseModel): - """ - Expression selected if the condition is false. - """ - - type: typing.Literal["conditional_operator"] = "conditional_operator" - condition: "AstConditionalOperatorNodeOutputCondition" - true_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeOutputTrueExpression", FieldMetadata(alias="trueExpression") - ] - false_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeOutputFalseExpression", FieldMetadata(alias="falseExpression") - ] - - 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 - - -class AstConditionalOperatorNodeOutputFalseExpression_DynamicVariable(UncheckedBaseModel): - """ - Expression selected if the condition is false. - """ - - type: typing.Literal["dynamic_variable"] = "dynamic_variable" - name: str - - 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 - - -class AstConditionalOperatorNodeOutputFalseExpression_EqOperator(UncheckedBaseModel): - """ - Expression selected if the condition is false. - """ - - type: typing.Literal["eq_operator"] = "eq_operator" - left: "AstEqualsOperatorNodeOutputLeft" - right: "AstEqualsOperatorNodeOutputRight" - - 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 - - -class AstConditionalOperatorNodeOutputFalseExpression_GtOperator(UncheckedBaseModel): - """ - Expression selected if the condition is false. - """ - - type: typing.Literal["gt_operator"] = "gt_operator" - left: "AstGreaterThanOperatorNodeOutputLeft" - right: "AstGreaterThanOperatorNodeOutputRight" - - 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 - - -class AstConditionalOperatorNodeOutputFalseExpression_GteOperator(UncheckedBaseModel): - """ - Expression selected if the condition is false. - """ - - type: typing.Literal["gte_operator"] = "gte_operator" - left: "AstGreaterThanOrEqualsOperatorNodeOutputLeft" - right: "AstGreaterThanOrEqualsOperatorNodeOutputRight" - - 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 - - -class AstConditionalOperatorNodeOutputFalseExpression_Llm(UncheckedBaseModel): - """ - Expression selected if the condition is false. - """ - - type: typing.Literal["llm"] = "llm" - value_schema: LlmLiteralJsonSchemaProperty - prompt: str - - 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 - - -class AstConditionalOperatorNodeOutputFalseExpression_LtOperator(UncheckedBaseModel): - """ - Expression selected if the condition is false. - """ - - type: typing.Literal["lt_operator"] = "lt_operator" - left: "AstLessThanOperatorNodeOutputLeft" - right: "AstLessThanOperatorNodeOutputRight" - - 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 - - -class AstConditionalOperatorNodeOutputFalseExpression_LteOperator(UncheckedBaseModel): - """ - Expression selected if the condition is false. - """ - - type: typing.Literal["lte_operator"] = "lte_operator" - left: "AstLessThanOrEqualsOperatorNodeOutputLeft" - right: "AstLessThanOrEqualsOperatorNodeOutputRight" - - 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 - - -class AstConditionalOperatorNodeOutputFalseExpression_NeqOperator(UncheckedBaseModel): - """ - Expression selected if the condition is false. - """ - - type: typing.Literal["neq_operator"] = "neq_operator" - left: "AstNotEqualsOperatorNodeOutputLeft" - right: "AstNotEqualsOperatorNodeOutputRight" - - 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 - - -class AstConditionalOperatorNodeOutputFalseExpression_NumberLiteral(UncheckedBaseModel): - """ - Expression selected if the condition is false. - """ - - type: typing.Literal["number_literal"] = "number_literal" - value: float - - 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 - - -class AstConditionalOperatorNodeOutputFalseExpression_OrOperator(UncheckedBaseModel): - """ - Expression selected if the condition is false. - """ - - type: typing.Literal["or_operator"] = "or_operator" - children: typing.List["AstOrOperatorNodeOutputChildrenItem"] - - 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 - - -class AstConditionalOperatorNodeOutputFalseExpression_StringLiteral(UncheckedBaseModel): - """ - Expression selected if the condition is false. - """ - - type: typing.Literal["string_literal"] = "string_literal" - value: str - - 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 - - -AstConditionalOperatorNodeOutputFalseExpression = typing_extensions.Annotated[ - typing.Union[ - AstConditionalOperatorNodeOutputFalseExpression_AndOperator, - AstConditionalOperatorNodeOutputFalseExpression_BooleanLiteral, - AstConditionalOperatorNodeOutputFalseExpression_ConditionalOperator, - AstConditionalOperatorNodeOutputFalseExpression_DynamicVariable, - AstConditionalOperatorNodeOutputFalseExpression_EqOperator, - AstConditionalOperatorNodeOutputFalseExpression_GtOperator, - AstConditionalOperatorNodeOutputFalseExpression_GteOperator, - AstConditionalOperatorNodeOutputFalseExpression_Llm, - AstConditionalOperatorNodeOutputFalseExpression_LtOperator, - AstConditionalOperatorNodeOutputFalseExpression_LteOperator, - AstConditionalOperatorNodeOutputFalseExpression_NeqOperator, - AstConditionalOperatorNodeOutputFalseExpression_NumberLiteral, - AstConditionalOperatorNodeOutputFalseExpression_OrOperator, - AstConditionalOperatorNodeOutputFalseExpression_StringLiteral, - ], - UnionMetadata(discriminant="type"), -] -from .ast_and_operator_node_output_children_item import AstAndOperatorNodeOutputChildrenItem # noqa: E402, I001 -from .ast_conditional_operator_node_output_condition import AstConditionalOperatorNodeOutputCondition # noqa: E402, I001 -from .ast_conditional_operator_node_output_true_expression import AstConditionalOperatorNodeOutputTrueExpression # 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_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_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_children_item import AstOrOperatorNodeOutputChildrenItem # noqa: E402, I001 - -update_forward_refs(AstConditionalOperatorNodeOutputFalseExpression_AndOperator) -update_forward_refs(AstConditionalOperatorNodeOutputFalseExpression_ConditionalOperator) -update_forward_refs(AstConditionalOperatorNodeOutputFalseExpression_EqOperator) -update_forward_refs(AstConditionalOperatorNodeOutputFalseExpression_GtOperator) -update_forward_refs(AstConditionalOperatorNodeOutputFalseExpression_GteOperator) -update_forward_refs(AstConditionalOperatorNodeOutputFalseExpression_LtOperator) -update_forward_refs(AstConditionalOperatorNodeOutputFalseExpression_LteOperator) -update_forward_refs(AstConditionalOperatorNodeOutputFalseExpression_NeqOperator) -update_forward_refs(AstConditionalOperatorNodeOutputFalseExpression_OrOperator) diff --git a/src/elevenlabs/types/ast_conditional_operator_node_output_true_expression.py b/src/elevenlabs/types/ast_conditional_operator_node_output_true_expression.py deleted file mode 100644 index f8674833..00000000 --- a/src/elevenlabs/types/ast_conditional_operator_node_output_true_expression.py +++ /dev/null @@ -1,324 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import typing - -import pydantic -import typing_extensions -from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs -from ..core.serialization import FieldMetadata -from ..core.unchecked_base_model import UncheckedBaseModel, UnionMetadata -from .llm_literal_json_schema_property import LlmLiteralJsonSchemaProperty - - -class AstConditionalOperatorNodeOutputTrueExpression_AndOperator(UncheckedBaseModel): - """ - Expression selected if the condition is true. - """ - - type: typing.Literal["and_operator"] = "and_operator" - children: typing.List["AstAndOperatorNodeOutputChildrenItem"] - - 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 - - -class AstConditionalOperatorNodeOutputTrueExpression_BooleanLiteral(UncheckedBaseModel): - """ - Expression selected if the condition is true. - """ - - type: typing.Literal["boolean_literal"] = "boolean_literal" - value: bool - - 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 - - -class AstConditionalOperatorNodeOutputTrueExpression_ConditionalOperator(UncheckedBaseModel): - """ - Expression selected if the condition is true. - """ - - type: typing.Literal["conditional_operator"] = "conditional_operator" - condition: "AstConditionalOperatorNodeOutputCondition" - true_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeOutputTrueExpression", FieldMetadata(alias="trueExpression") - ] - false_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeOutputFalseExpression", FieldMetadata(alias="falseExpression") - ] - - 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 - - -class AstConditionalOperatorNodeOutputTrueExpression_DynamicVariable(UncheckedBaseModel): - """ - Expression selected if the condition is true. - """ - - type: typing.Literal["dynamic_variable"] = "dynamic_variable" - name: str - - 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 - - -class AstConditionalOperatorNodeOutputTrueExpression_EqOperator(UncheckedBaseModel): - """ - Expression selected if the condition is true. - """ - - type: typing.Literal["eq_operator"] = "eq_operator" - left: "AstEqualsOperatorNodeOutputLeft" - right: "AstEqualsOperatorNodeOutputRight" - - 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 - - -class AstConditionalOperatorNodeOutputTrueExpression_GtOperator(UncheckedBaseModel): - """ - Expression selected if the condition is true. - """ - - type: typing.Literal["gt_operator"] = "gt_operator" - left: "AstGreaterThanOperatorNodeOutputLeft" - right: "AstGreaterThanOperatorNodeOutputRight" - - 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 - - -class AstConditionalOperatorNodeOutputTrueExpression_GteOperator(UncheckedBaseModel): - """ - Expression selected if the condition is true. - """ - - type: typing.Literal["gte_operator"] = "gte_operator" - left: "AstGreaterThanOrEqualsOperatorNodeOutputLeft" - right: "AstGreaterThanOrEqualsOperatorNodeOutputRight" - - 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 - - -class AstConditionalOperatorNodeOutputTrueExpression_Llm(UncheckedBaseModel): - """ - Expression selected if the condition is true. - """ - - type: typing.Literal["llm"] = "llm" - value_schema: LlmLiteralJsonSchemaProperty - prompt: str - - 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 - - -class AstConditionalOperatorNodeOutputTrueExpression_LtOperator(UncheckedBaseModel): - """ - Expression selected if the condition is true. - """ - - type: typing.Literal["lt_operator"] = "lt_operator" - left: "AstLessThanOperatorNodeOutputLeft" - right: "AstLessThanOperatorNodeOutputRight" - - 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 - - -class AstConditionalOperatorNodeOutputTrueExpression_LteOperator(UncheckedBaseModel): - """ - Expression selected if the condition is true. - """ - - type: typing.Literal["lte_operator"] = "lte_operator" - left: "AstLessThanOrEqualsOperatorNodeOutputLeft" - right: "AstLessThanOrEqualsOperatorNodeOutputRight" - - 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 - - -class AstConditionalOperatorNodeOutputTrueExpression_NeqOperator(UncheckedBaseModel): - """ - Expression selected if the condition is true. - """ - - type: typing.Literal["neq_operator"] = "neq_operator" - left: "AstNotEqualsOperatorNodeOutputLeft" - right: "AstNotEqualsOperatorNodeOutputRight" - - 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 - - -class AstConditionalOperatorNodeOutputTrueExpression_NumberLiteral(UncheckedBaseModel): - """ - Expression selected if the condition is true. - """ - - type: typing.Literal["number_literal"] = "number_literal" - value: float - - 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 - - -class AstConditionalOperatorNodeOutputTrueExpression_OrOperator(UncheckedBaseModel): - """ - Expression selected if the condition is true. - """ - - type: typing.Literal["or_operator"] = "or_operator" - children: typing.List["AstOrOperatorNodeOutputChildrenItem"] - - 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 - - -class AstConditionalOperatorNodeOutputTrueExpression_StringLiteral(UncheckedBaseModel): - """ - Expression selected if the condition is true. - """ - - type: typing.Literal["string_literal"] = "string_literal" - value: str - - 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 - - -AstConditionalOperatorNodeOutputTrueExpression = typing_extensions.Annotated[ - typing.Union[ - AstConditionalOperatorNodeOutputTrueExpression_AndOperator, - AstConditionalOperatorNodeOutputTrueExpression_BooleanLiteral, - AstConditionalOperatorNodeOutputTrueExpression_ConditionalOperator, - AstConditionalOperatorNodeOutputTrueExpression_DynamicVariable, - AstConditionalOperatorNodeOutputTrueExpression_EqOperator, - AstConditionalOperatorNodeOutputTrueExpression_GtOperator, - AstConditionalOperatorNodeOutputTrueExpression_GteOperator, - AstConditionalOperatorNodeOutputTrueExpression_Llm, - AstConditionalOperatorNodeOutputTrueExpression_LtOperator, - AstConditionalOperatorNodeOutputTrueExpression_LteOperator, - AstConditionalOperatorNodeOutputTrueExpression_NeqOperator, - AstConditionalOperatorNodeOutputTrueExpression_NumberLiteral, - AstConditionalOperatorNodeOutputTrueExpression_OrOperator, - AstConditionalOperatorNodeOutputTrueExpression_StringLiteral, - ], - UnionMetadata(discriminant="type"), -] -from .ast_and_operator_node_output_children_item import AstAndOperatorNodeOutputChildrenItem # noqa: E402, I001 -from .ast_conditional_operator_node_output_condition import AstConditionalOperatorNodeOutputCondition # noqa: E402, I001 -from .ast_conditional_operator_node_output_false_expression import AstConditionalOperatorNodeOutputFalseExpression # 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_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_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_children_item import AstOrOperatorNodeOutputChildrenItem # noqa: E402, I001 - -update_forward_refs(AstConditionalOperatorNodeOutputTrueExpression_AndOperator) -update_forward_refs(AstConditionalOperatorNodeOutputTrueExpression_ConditionalOperator) -update_forward_refs(AstConditionalOperatorNodeOutputTrueExpression_EqOperator) -update_forward_refs(AstConditionalOperatorNodeOutputTrueExpression_GtOperator) -update_forward_refs(AstConditionalOperatorNodeOutputTrueExpression_GteOperator) -update_forward_refs(AstConditionalOperatorNodeOutputTrueExpression_LtOperator) -update_forward_refs(AstConditionalOperatorNodeOutputTrueExpression_LteOperator) -update_forward_refs(AstConditionalOperatorNodeOutputTrueExpression_NeqOperator) -update_forward_refs(AstConditionalOperatorNodeOutputTrueExpression_OrOperator) diff --git a/src/elevenlabs/types/ast_division_operator_node_input.py b/src/elevenlabs/types/ast_division_operator_node_input.py new file mode 100644 index 00000000..41235b4b --- /dev/null +++ b/src/elevenlabs/types/ast_division_operator_node_input.py @@ -0,0 +1,35 @@ +# This file was auto-generated by Fern from our API Definition. + +from __future__ import annotations + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ..core.unchecked_base_model import UncheckedBaseModel + + +class AstDivisionOperatorNodeInput(UncheckedBaseModel): + left: "AstNodeInput" = pydantic.Field() + """ + Left operand of the binary operator. + """ + + right: "AstNodeInput" = pydantic.Field() + """ + Right operand of the binary operator. + """ + + 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 + + +from .ast_node_input import AstNodeInput # noqa: E402, I001 + +update_forward_refs(AstDivisionOperatorNodeInput) diff --git a/src/elevenlabs/types/ast_division_operator_node_output.py b/src/elevenlabs/types/ast_division_operator_node_output.py new file mode 100644 index 00000000..66a41ac4 --- /dev/null +++ b/src/elevenlabs/types/ast_division_operator_node_output.py @@ -0,0 +1,35 @@ +# This file was auto-generated by Fern from our API Definition. + +from __future__ import annotations + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ..core.unchecked_base_model import UncheckedBaseModel + + +class AstDivisionOperatorNodeOutput(UncheckedBaseModel): + left: "AstNodeOutput" = pydantic.Field() + """ + Left operand of the binary operator. + """ + + right: "AstNodeOutput" = pydantic.Field() + """ + Right operand of the binary operator. + """ + + 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 + + +from .ast_node_output import AstNodeOutput # noqa: E402, I001 + +update_forward_refs(AstDivisionOperatorNodeOutput) diff --git a/src/elevenlabs/types/ast_equals_operator_node_input.py b/src/elevenlabs/types/ast_equals_operator_node_input.py index d4548687..159dd4b9 100644 --- a/src/elevenlabs/types/ast_equals_operator_node_input.py +++ b/src/elevenlabs/types/ast_equals_operator_node_input.py @@ -10,12 +10,12 @@ class AstEqualsOperatorNodeInput(UncheckedBaseModel): - left: "AstEqualsOperatorNodeInputLeft" = pydantic.Field() + left: "AstNodeInput" = pydantic.Field() """ Left operand of the binary operator. """ - right: "AstEqualsOperatorNodeInputRight" = pydantic.Field() + right: "AstNodeInput" = pydantic.Field() """ Right operand of the binary operator. """ @@ -30,7 +30,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 +from .ast_node_input import AstNodeInput # noqa: E402, I001 update_forward_refs(AstEqualsOperatorNodeInput) diff --git a/src/elevenlabs/types/ast_equals_operator_node_input_left.py b/src/elevenlabs/types/ast_equals_operator_node_input_left.py deleted file mode 100644 index 1defe52e..00000000 --- a/src/elevenlabs/types/ast_equals_operator_node_input_left.py +++ /dev/null @@ -1,318 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import typing - -import pydantic -import typing_extensions -from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs -from ..core.serialization import FieldMetadata -from ..core.unchecked_base_model import UncheckedBaseModel, UnionMetadata -from .astllm_node_input import AstllmNodeInput - - -class AstEqualsOperatorNodeInputLeft_AndOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["and_operator"] = "and_operator" - children: typing.List["AstAndOperatorNodeInputChildrenItem"] - - 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 - - -class AstEqualsOperatorNodeInputLeft_BooleanLiteral(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["boolean_literal"] = "boolean_literal" - value: bool - - 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 - - -class AstEqualsOperatorNodeInputLeft_ConditionalOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["conditional_operator"] = "conditional_operator" - condition: "AstConditionalOperatorNodeInputCondition" - true_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeInputTrueExpression", FieldMetadata(alias="trueExpression") - ] - false_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeInputFalseExpression", FieldMetadata(alias="falseExpression") - ] - - 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 - - -class AstEqualsOperatorNodeInputLeft_DynamicVariable(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["dynamic_variable"] = "dynamic_variable" - name: str - - 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 - - -class AstEqualsOperatorNodeInputLeft_EqOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["eq_operator"] = "eq_operator" - left: "AstEqualsOperatorNodeInputLeft" - right: "AstEqualsOperatorNodeInputRight" - - 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 - - -class AstEqualsOperatorNodeInputLeft_GtOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["gt_operator"] = "gt_operator" - left: "AstGreaterThanOperatorNodeInputLeft" - right: "AstGreaterThanOperatorNodeInputRight" - - 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 - - -class AstEqualsOperatorNodeInputLeft_GteOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["gte_operator"] = "gte_operator" - left: "AstGreaterThanOrEqualsOperatorNodeInputLeft" - right: "AstGreaterThanOrEqualsOperatorNodeInputRight" - - 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 - - -class AstEqualsOperatorNodeInputLeft_Llm(UncheckedBaseModel): - value: AstllmNodeInput - type: typing.Literal["llm"] = "llm" - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - - -class AstEqualsOperatorNodeInputLeft_LtOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["lt_operator"] = "lt_operator" - left: "AstLessThanOperatorNodeInputLeft" - right: "AstLessThanOperatorNodeInputRight" - - 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 - - -class AstEqualsOperatorNodeInputLeft_LteOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["lte_operator"] = "lte_operator" - left: "AstLessThanOrEqualsOperatorNodeInputLeft" - right: "AstLessThanOrEqualsOperatorNodeInputRight" - - 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 - - -class AstEqualsOperatorNodeInputLeft_NeqOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["neq_operator"] = "neq_operator" - left: "AstNotEqualsOperatorNodeInputLeft" - right: "AstNotEqualsOperatorNodeInputRight" - - 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 - - -class AstEqualsOperatorNodeInputLeft_NumberLiteral(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["number_literal"] = "number_literal" - value: float - - 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 - - -class AstEqualsOperatorNodeInputLeft_OrOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["or_operator"] = "or_operator" - children: typing.List["AstOrOperatorNodeInputChildrenItem"] - - 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 - - -class AstEqualsOperatorNodeInputLeft_StringLiteral(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["string_literal"] = "string_literal" - value: str - - 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 - - -AstEqualsOperatorNodeInputLeft = typing_extensions.Annotated[ - typing.Union[ - AstEqualsOperatorNodeInputLeft_AndOperator, - AstEqualsOperatorNodeInputLeft_BooleanLiteral, - AstEqualsOperatorNodeInputLeft_ConditionalOperator, - AstEqualsOperatorNodeInputLeft_DynamicVariable, - AstEqualsOperatorNodeInputLeft_EqOperator, - AstEqualsOperatorNodeInputLeft_GtOperator, - AstEqualsOperatorNodeInputLeft_GteOperator, - AstEqualsOperatorNodeInputLeft_Llm, - AstEqualsOperatorNodeInputLeft_LtOperator, - AstEqualsOperatorNodeInputLeft_LteOperator, - AstEqualsOperatorNodeInputLeft_NeqOperator, - AstEqualsOperatorNodeInputLeft_NumberLiteral, - AstEqualsOperatorNodeInputLeft_OrOperator, - AstEqualsOperatorNodeInputLeft_StringLiteral, - ], - UnionMetadata(discriminant="type"), -] -from .ast_and_operator_node_input_children_item import AstAndOperatorNodeInputChildrenItem # noqa: E402, I001 -from .ast_conditional_operator_node_input_condition import AstConditionalOperatorNodeInputCondition # noqa: E402, I001 -from .ast_conditional_operator_node_input_true_expression import AstConditionalOperatorNodeInputTrueExpression # noqa: E402, I001 -from .ast_conditional_operator_node_input_false_expression import AstConditionalOperatorNodeInputFalseExpression # 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_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_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_children_item import AstOrOperatorNodeInputChildrenItem # noqa: E402, I001 - -update_forward_refs(AstEqualsOperatorNodeInputLeft_AndOperator) -update_forward_refs(AstEqualsOperatorNodeInputLeft_ConditionalOperator) -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) diff --git a/src/elevenlabs/types/ast_equals_operator_node_input_right.py b/src/elevenlabs/types/ast_equals_operator_node_input_right.py deleted file mode 100644 index fc108e5e..00000000 --- a/src/elevenlabs/types/ast_equals_operator_node_input_right.py +++ /dev/null @@ -1,318 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import typing - -import pydantic -import typing_extensions -from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs -from ..core.serialization import FieldMetadata -from ..core.unchecked_base_model import UncheckedBaseModel, UnionMetadata -from .astllm_node_input import AstllmNodeInput - - -class AstEqualsOperatorNodeInputRight_AndOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["and_operator"] = "and_operator" - children: typing.List["AstAndOperatorNodeInputChildrenItem"] - - 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 - - -class AstEqualsOperatorNodeInputRight_BooleanLiteral(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["boolean_literal"] = "boolean_literal" - value: bool - - 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 - - -class AstEqualsOperatorNodeInputRight_ConditionalOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["conditional_operator"] = "conditional_operator" - condition: "AstConditionalOperatorNodeInputCondition" - true_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeInputTrueExpression", FieldMetadata(alias="trueExpression") - ] - false_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeInputFalseExpression", FieldMetadata(alias="falseExpression") - ] - - 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 - - -class AstEqualsOperatorNodeInputRight_DynamicVariable(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["dynamic_variable"] = "dynamic_variable" - name: str - - 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 - - -class AstEqualsOperatorNodeInputRight_EqOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["eq_operator"] = "eq_operator" - left: "AstEqualsOperatorNodeInputLeft" - right: "AstEqualsOperatorNodeInputRight" - - 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 - - -class AstEqualsOperatorNodeInputRight_GtOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["gt_operator"] = "gt_operator" - left: "AstGreaterThanOperatorNodeInputLeft" - right: "AstGreaterThanOperatorNodeInputRight" - - 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 - - -class AstEqualsOperatorNodeInputRight_GteOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["gte_operator"] = "gte_operator" - left: "AstGreaterThanOrEqualsOperatorNodeInputLeft" - right: "AstGreaterThanOrEqualsOperatorNodeInputRight" - - 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 - - -class AstEqualsOperatorNodeInputRight_Llm(UncheckedBaseModel): - value: AstllmNodeInput - type: typing.Literal["llm"] = "llm" - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - - -class AstEqualsOperatorNodeInputRight_LtOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["lt_operator"] = "lt_operator" - left: "AstLessThanOperatorNodeInputLeft" - right: "AstLessThanOperatorNodeInputRight" - - 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 - - -class AstEqualsOperatorNodeInputRight_LteOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["lte_operator"] = "lte_operator" - left: "AstLessThanOrEqualsOperatorNodeInputLeft" - right: "AstLessThanOrEqualsOperatorNodeInputRight" - - 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 - - -class AstEqualsOperatorNodeInputRight_NeqOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["neq_operator"] = "neq_operator" - left: "AstNotEqualsOperatorNodeInputLeft" - right: "AstNotEqualsOperatorNodeInputRight" - - 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 - - -class AstEqualsOperatorNodeInputRight_NumberLiteral(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["number_literal"] = "number_literal" - value: float - - 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 - - -class AstEqualsOperatorNodeInputRight_OrOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["or_operator"] = "or_operator" - children: typing.List["AstOrOperatorNodeInputChildrenItem"] - - 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 - - -class AstEqualsOperatorNodeInputRight_StringLiteral(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["string_literal"] = "string_literal" - value: str - - 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 - - -AstEqualsOperatorNodeInputRight = typing_extensions.Annotated[ - typing.Union[ - AstEqualsOperatorNodeInputRight_AndOperator, - AstEqualsOperatorNodeInputRight_BooleanLiteral, - AstEqualsOperatorNodeInputRight_ConditionalOperator, - AstEqualsOperatorNodeInputRight_DynamicVariable, - AstEqualsOperatorNodeInputRight_EqOperator, - AstEqualsOperatorNodeInputRight_GtOperator, - AstEqualsOperatorNodeInputRight_GteOperator, - AstEqualsOperatorNodeInputRight_Llm, - AstEqualsOperatorNodeInputRight_LtOperator, - AstEqualsOperatorNodeInputRight_LteOperator, - AstEqualsOperatorNodeInputRight_NeqOperator, - AstEqualsOperatorNodeInputRight_NumberLiteral, - AstEqualsOperatorNodeInputRight_OrOperator, - AstEqualsOperatorNodeInputRight_StringLiteral, - ], - UnionMetadata(discriminant="type"), -] -from .ast_and_operator_node_input_children_item import AstAndOperatorNodeInputChildrenItem # noqa: E402, I001 -from .ast_conditional_operator_node_input_condition import AstConditionalOperatorNodeInputCondition # noqa: E402, I001 -from .ast_conditional_operator_node_input_true_expression import AstConditionalOperatorNodeInputTrueExpression # noqa: E402, I001 -from .ast_conditional_operator_node_input_false_expression import AstConditionalOperatorNodeInputFalseExpression # noqa: E402, I001 -from .ast_equals_operator_node_input_left import AstEqualsOperatorNodeInputLeft # 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_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_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(AstEqualsOperatorNodeInputRight_AndOperator) -update_forward_refs(AstEqualsOperatorNodeInputRight_ConditionalOperator) -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) diff --git a/src/elevenlabs/types/ast_equals_operator_node_output.py b/src/elevenlabs/types/ast_equals_operator_node_output.py index 0b3162a6..2cb804c9 100644 --- a/src/elevenlabs/types/ast_equals_operator_node_output.py +++ b/src/elevenlabs/types/ast_equals_operator_node_output.py @@ -10,12 +10,12 @@ class AstEqualsOperatorNodeOutput(UncheckedBaseModel): - left: "AstEqualsOperatorNodeOutputLeft" = pydantic.Field() + left: "AstNodeOutput" = pydantic.Field() """ Left operand of the binary operator. """ - right: "AstEqualsOperatorNodeOutputRight" = pydantic.Field() + right: "AstNodeOutput" = pydantic.Field() """ Right operand of the binary operator. """ @@ -30,7 +30,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 +from .ast_node_output import AstNodeOutput # noqa: E402, I001 update_forward_refs(AstEqualsOperatorNodeOutput) diff --git a/src/elevenlabs/types/ast_equals_operator_node_output_left.py b/src/elevenlabs/types/ast_equals_operator_node_output_left.py deleted file mode 100644 index 8583ba1a..00000000 --- a/src/elevenlabs/types/ast_equals_operator_node_output_left.py +++ /dev/null @@ -1,324 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import typing - -import pydantic -import typing_extensions -from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs -from ..core.serialization import FieldMetadata -from ..core.unchecked_base_model import UncheckedBaseModel, UnionMetadata -from .llm_literal_json_schema_property import LlmLiteralJsonSchemaProperty - - -class AstEqualsOperatorNodeOutputLeft_AndOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["and_operator"] = "and_operator" - children: typing.List["AstAndOperatorNodeOutputChildrenItem"] - - 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 - - -class AstEqualsOperatorNodeOutputLeft_BooleanLiteral(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["boolean_literal"] = "boolean_literal" - value: bool - - 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 - - -class AstEqualsOperatorNodeOutputLeft_ConditionalOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["conditional_operator"] = "conditional_operator" - condition: "AstConditionalOperatorNodeOutputCondition" - true_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeOutputTrueExpression", FieldMetadata(alias="trueExpression") - ] - false_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeOutputFalseExpression", FieldMetadata(alias="falseExpression") - ] - - 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 - - -class AstEqualsOperatorNodeOutputLeft_DynamicVariable(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["dynamic_variable"] = "dynamic_variable" - name: str - - 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 - - -class AstEqualsOperatorNodeOutputLeft_EqOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["eq_operator"] = "eq_operator" - left: "AstEqualsOperatorNodeOutputLeft" - right: "AstEqualsOperatorNodeOutputRight" - - 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 - - -class AstEqualsOperatorNodeOutputLeft_GtOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["gt_operator"] = "gt_operator" - left: "AstGreaterThanOperatorNodeOutputLeft" - right: "AstGreaterThanOperatorNodeOutputRight" - - 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 - - -class AstEqualsOperatorNodeOutputLeft_GteOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["gte_operator"] = "gte_operator" - left: "AstGreaterThanOrEqualsOperatorNodeOutputLeft" - right: "AstGreaterThanOrEqualsOperatorNodeOutputRight" - - 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 - - -class AstEqualsOperatorNodeOutputLeft_Llm(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["llm"] = "llm" - value_schema: LlmLiteralJsonSchemaProperty - prompt: str - - 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 - - -class AstEqualsOperatorNodeOutputLeft_LtOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["lt_operator"] = "lt_operator" - left: "AstLessThanOperatorNodeOutputLeft" - right: "AstLessThanOperatorNodeOutputRight" - - 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 - - -class AstEqualsOperatorNodeOutputLeft_LteOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["lte_operator"] = "lte_operator" - left: "AstLessThanOrEqualsOperatorNodeOutputLeft" - right: "AstLessThanOrEqualsOperatorNodeOutputRight" - - 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 - - -class AstEqualsOperatorNodeOutputLeft_NeqOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["neq_operator"] = "neq_operator" - left: "AstNotEqualsOperatorNodeOutputLeft" - right: "AstNotEqualsOperatorNodeOutputRight" - - 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 - - -class AstEqualsOperatorNodeOutputLeft_NumberLiteral(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["number_literal"] = "number_literal" - value: float - - 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 - - -class AstEqualsOperatorNodeOutputLeft_OrOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["or_operator"] = "or_operator" - children: typing.List["AstOrOperatorNodeOutputChildrenItem"] - - 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 - - -class AstEqualsOperatorNodeOutputLeft_StringLiteral(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["string_literal"] = "string_literal" - value: str - - 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 - - -AstEqualsOperatorNodeOutputLeft = typing_extensions.Annotated[ - typing.Union[ - AstEqualsOperatorNodeOutputLeft_AndOperator, - AstEqualsOperatorNodeOutputLeft_BooleanLiteral, - AstEqualsOperatorNodeOutputLeft_ConditionalOperator, - AstEqualsOperatorNodeOutputLeft_DynamicVariable, - AstEqualsOperatorNodeOutputLeft_EqOperator, - AstEqualsOperatorNodeOutputLeft_GtOperator, - AstEqualsOperatorNodeOutputLeft_GteOperator, - AstEqualsOperatorNodeOutputLeft_Llm, - AstEqualsOperatorNodeOutputLeft_LtOperator, - AstEqualsOperatorNodeOutputLeft_LteOperator, - AstEqualsOperatorNodeOutputLeft_NeqOperator, - AstEqualsOperatorNodeOutputLeft_NumberLiteral, - AstEqualsOperatorNodeOutputLeft_OrOperator, - AstEqualsOperatorNodeOutputLeft_StringLiteral, - ], - UnionMetadata(discriminant="type"), -] -from .ast_and_operator_node_output_children_item import AstAndOperatorNodeOutputChildrenItem # noqa: E402, I001 -from .ast_conditional_operator_node_output_condition import AstConditionalOperatorNodeOutputCondition # noqa: E402, I001 -from .ast_conditional_operator_node_output_true_expression import AstConditionalOperatorNodeOutputTrueExpression # noqa: E402, I001 -from .ast_conditional_operator_node_output_false_expression import AstConditionalOperatorNodeOutputFalseExpression # 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_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_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_children_item import AstOrOperatorNodeOutputChildrenItem # noqa: E402, I001 - -update_forward_refs(AstEqualsOperatorNodeOutputLeft_AndOperator) -update_forward_refs(AstEqualsOperatorNodeOutputLeft_ConditionalOperator) -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) diff --git a/src/elevenlabs/types/ast_equals_operator_node_output_right.py b/src/elevenlabs/types/ast_equals_operator_node_output_right.py deleted file mode 100644 index e87bc42d..00000000 --- a/src/elevenlabs/types/ast_equals_operator_node_output_right.py +++ /dev/null @@ -1,324 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import typing - -import pydantic -import typing_extensions -from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs -from ..core.serialization import FieldMetadata -from ..core.unchecked_base_model import UncheckedBaseModel, UnionMetadata -from .llm_literal_json_schema_property import LlmLiteralJsonSchemaProperty - - -class AstEqualsOperatorNodeOutputRight_AndOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["and_operator"] = "and_operator" - children: typing.List["AstAndOperatorNodeOutputChildrenItem"] - - 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 - - -class AstEqualsOperatorNodeOutputRight_BooleanLiteral(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["boolean_literal"] = "boolean_literal" - value: bool - - 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 - - -class AstEqualsOperatorNodeOutputRight_ConditionalOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["conditional_operator"] = "conditional_operator" - condition: "AstConditionalOperatorNodeOutputCondition" - true_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeOutputTrueExpression", FieldMetadata(alias="trueExpression") - ] - false_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeOutputFalseExpression", FieldMetadata(alias="falseExpression") - ] - - 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 - - -class AstEqualsOperatorNodeOutputRight_DynamicVariable(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["dynamic_variable"] = "dynamic_variable" - name: str - - 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 - - -class AstEqualsOperatorNodeOutputRight_EqOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["eq_operator"] = "eq_operator" - left: "AstEqualsOperatorNodeOutputLeft" - right: "AstEqualsOperatorNodeOutputRight" - - 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 - - -class AstEqualsOperatorNodeOutputRight_GtOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["gt_operator"] = "gt_operator" - left: "AstGreaterThanOperatorNodeOutputLeft" - right: "AstGreaterThanOperatorNodeOutputRight" - - 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 - - -class AstEqualsOperatorNodeOutputRight_GteOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["gte_operator"] = "gte_operator" - left: "AstGreaterThanOrEqualsOperatorNodeOutputLeft" - right: "AstGreaterThanOrEqualsOperatorNodeOutputRight" - - 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 - - -class AstEqualsOperatorNodeOutputRight_Llm(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["llm"] = "llm" - value_schema: LlmLiteralJsonSchemaProperty - prompt: str - - 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 - - -class AstEqualsOperatorNodeOutputRight_LtOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["lt_operator"] = "lt_operator" - left: "AstLessThanOperatorNodeOutputLeft" - right: "AstLessThanOperatorNodeOutputRight" - - 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 - - -class AstEqualsOperatorNodeOutputRight_LteOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["lte_operator"] = "lte_operator" - left: "AstLessThanOrEqualsOperatorNodeOutputLeft" - right: "AstLessThanOrEqualsOperatorNodeOutputRight" - - 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 - - -class AstEqualsOperatorNodeOutputRight_NeqOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["neq_operator"] = "neq_operator" - left: "AstNotEqualsOperatorNodeOutputLeft" - right: "AstNotEqualsOperatorNodeOutputRight" - - 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 - - -class AstEqualsOperatorNodeOutputRight_NumberLiteral(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["number_literal"] = "number_literal" - value: float - - 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 - - -class AstEqualsOperatorNodeOutputRight_OrOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["or_operator"] = "or_operator" - children: typing.List["AstOrOperatorNodeOutputChildrenItem"] - - 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 - - -class AstEqualsOperatorNodeOutputRight_StringLiteral(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["string_literal"] = "string_literal" - value: str - - 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 - - -AstEqualsOperatorNodeOutputRight = typing_extensions.Annotated[ - typing.Union[ - AstEqualsOperatorNodeOutputRight_AndOperator, - AstEqualsOperatorNodeOutputRight_BooleanLiteral, - AstEqualsOperatorNodeOutputRight_ConditionalOperator, - AstEqualsOperatorNodeOutputRight_DynamicVariable, - AstEqualsOperatorNodeOutputRight_EqOperator, - AstEqualsOperatorNodeOutputRight_GtOperator, - AstEqualsOperatorNodeOutputRight_GteOperator, - AstEqualsOperatorNodeOutputRight_Llm, - AstEqualsOperatorNodeOutputRight_LtOperator, - AstEqualsOperatorNodeOutputRight_LteOperator, - AstEqualsOperatorNodeOutputRight_NeqOperator, - AstEqualsOperatorNodeOutputRight_NumberLiteral, - AstEqualsOperatorNodeOutputRight_OrOperator, - AstEqualsOperatorNodeOutputRight_StringLiteral, - ], - UnionMetadata(discriminant="type"), -] -from .ast_and_operator_node_output_children_item import AstAndOperatorNodeOutputChildrenItem # noqa: E402, I001 -from .ast_conditional_operator_node_output_condition import AstConditionalOperatorNodeOutputCondition # noqa: E402, I001 -from .ast_conditional_operator_node_output_true_expression import AstConditionalOperatorNodeOutputTrueExpression # noqa: E402, I001 -from .ast_conditional_operator_node_output_false_expression import AstConditionalOperatorNodeOutputFalseExpression # noqa: E402, I001 -from .ast_equals_operator_node_output_left import AstEqualsOperatorNodeOutputLeft # 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_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_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(AstEqualsOperatorNodeOutputRight_AndOperator) -update_forward_refs(AstEqualsOperatorNodeOutputRight_ConditionalOperator) -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) 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..d633058d 100644 --- a/src/elevenlabs/types/ast_greater_than_operator_node_input.py +++ b/src/elevenlabs/types/ast_greater_than_operator_node_input.py @@ -10,12 +10,12 @@ class AstGreaterThanOperatorNodeInput(UncheckedBaseModel): - left: "AstGreaterThanOperatorNodeInputLeft" = pydantic.Field() + left: "AstNodeInput" = pydantic.Field() """ Left operand of the binary operator. """ - right: "AstGreaterThanOperatorNodeInputRight" = pydantic.Field() + right: "AstNodeInput" = pydantic.Field() """ Right operand of the binary operator. """ @@ -30,7 +30,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 +from .ast_node_input import AstNodeInput # noqa: E402, I001 update_forward_refs(AstGreaterThanOperatorNodeInput) 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 deleted file mode 100644 index 899525ef..00000000 --- a/src/elevenlabs/types/ast_greater_than_operator_node_input_left.py +++ /dev/null @@ -1,318 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import typing - -import pydantic -import typing_extensions -from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs -from ..core.serialization import FieldMetadata -from ..core.unchecked_base_model import UncheckedBaseModel, UnionMetadata -from .astllm_node_input import AstllmNodeInput - - -class AstGreaterThanOperatorNodeInputLeft_AndOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["and_operator"] = "and_operator" - children: typing.List["AstAndOperatorNodeInputChildrenItem"] - - 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 - - -class AstGreaterThanOperatorNodeInputLeft_BooleanLiteral(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["boolean_literal"] = "boolean_literal" - value: bool - - 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 - - -class AstGreaterThanOperatorNodeInputLeft_ConditionalOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["conditional_operator"] = "conditional_operator" - condition: "AstConditionalOperatorNodeInputCondition" - true_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeInputTrueExpression", FieldMetadata(alias="trueExpression") - ] - false_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeInputFalseExpression", FieldMetadata(alias="falseExpression") - ] - - 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 - - -class AstGreaterThanOperatorNodeInputLeft_DynamicVariable(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["dynamic_variable"] = "dynamic_variable" - name: str - - 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 - - -class AstGreaterThanOperatorNodeInputLeft_EqOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["eq_operator"] = "eq_operator" - left: "AstEqualsOperatorNodeInputLeft" - right: "AstEqualsOperatorNodeInputRight" - - 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 - - -class AstGreaterThanOperatorNodeInputLeft_GtOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["gt_operator"] = "gt_operator" - left: "AstGreaterThanOperatorNodeInputLeft" - right: "AstGreaterThanOperatorNodeInputRight" - - 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 - - -class AstGreaterThanOperatorNodeInputLeft_GteOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["gte_operator"] = "gte_operator" - left: "AstGreaterThanOrEqualsOperatorNodeInputLeft" - right: "AstGreaterThanOrEqualsOperatorNodeInputRight" - - 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 - - -class AstGreaterThanOperatorNodeInputLeft_Llm(UncheckedBaseModel): - value: AstllmNodeInput - type: typing.Literal["llm"] = "llm" - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - - -class AstGreaterThanOperatorNodeInputLeft_LtOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["lt_operator"] = "lt_operator" - left: "AstLessThanOperatorNodeInputLeft" - right: "AstLessThanOperatorNodeInputRight" - - 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 - - -class AstGreaterThanOperatorNodeInputLeft_LteOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["lte_operator"] = "lte_operator" - left: "AstLessThanOrEqualsOperatorNodeInputLeft" - right: "AstLessThanOrEqualsOperatorNodeInputRight" - - 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 - - -class AstGreaterThanOperatorNodeInputLeft_NeqOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["neq_operator"] = "neq_operator" - left: "AstNotEqualsOperatorNodeInputLeft" - right: "AstNotEqualsOperatorNodeInputRight" - - 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 - - -class AstGreaterThanOperatorNodeInputLeft_NumberLiteral(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["number_literal"] = "number_literal" - value: float - - 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 - - -class AstGreaterThanOperatorNodeInputLeft_OrOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["or_operator"] = "or_operator" - children: typing.List["AstOrOperatorNodeInputChildrenItem"] - - 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 - - -class AstGreaterThanOperatorNodeInputLeft_StringLiteral(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["string_literal"] = "string_literal" - value: str - - 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 - - -AstGreaterThanOperatorNodeInputLeft = typing_extensions.Annotated[ - typing.Union[ - AstGreaterThanOperatorNodeInputLeft_AndOperator, - AstGreaterThanOperatorNodeInputLeft_BooleanLiteral, - AstGreaterThanOperatorNodeInputLeft_ConditionalOperator, - AstGreaterThanOperatorNodeInputLeft_DynamicVariable, - AstGreaterThanOperatorNodeInputLeft_EqOperator, - AstGreaterThanOperatorNodeInputLeft_GtOperator, - AstGreaterThanOperatorNodeInputLeft_GteOperator, - AstGreaterThanOperatorNodeInputLeft_Llm, - AstGreaterThanOperatorNodeInputLeft_LtOperator, - AstGreaterThanOperatorNodeInputLeft_LteOperator, - AstGreaterThanOperatorNodeInputLeft_NeqOperator, - AstGreaterThanOperatorNodeInputLeft_NumberLiteral, - AstGreaterThanOperatorNodeInputLeft_OrOperator, - AstGreaterThanOperatorNodeInputLeft_StringLiteral, - ], - UnionMetadata(discriminant="type"), -] -from .ast_and_operator_node_input_children_item import AstAndOperatorNodeInputChildrenItem # noqa: E402, I001 -from .ast_conditional_operator_node_input_condition import AstConditionalOperatorNodeInputCondition # noqa: E402, I001 -from .ast_conditional_operator_node_input_true_expression import AstConditionalOperatorNodeInputTrueExpression # noqa: E402, I001 -from .ast_conditional_operator_node_input_false_expression import AstConditionalOperatorNodeInputFalseExpression # 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_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_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_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(AstGreaterThanOperatorNodeInputLeft_AndOperator) -update_forward_refs(AstGreaterThanOperatorNodeInputLeft_ConditionalOperator) -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) 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 deleted file mode 100644 index 723bed1d..00000000 --- a/src/elevenlabs/types/ast_greater_than_operator_node_input_right.py +++ /dev/null @@ -1,318 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import typing - -import pydantic -import typing_extensions -from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs -from ..core.serialization import FieldMetadata -from ..core.unchecked_base_model import UncheckedBaseModel, UnionMetadata -from .astllm_node_input import AstllmNodeInput - - -class AstGreaterThanOperatorNodeInputRight_AndOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["and_operator"] = "and_operator" - children: typing.List["AstAndOperatorNodeInputChildrenItem"] - - 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 - - -class AstGreaterThanOperatorNodeInputRight_BooleanLiteral(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["boolean_literal"] = "boolean_literal" - value: bool - - 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 - - -class AstGreaterThanOperatorNodeInputRight_ConditionalOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["conditional_operator"] = "conditional_operator" - condition: "AstConditionalOperatorNodeInputCondition" - true_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeInputTrueExpression", FieldMetadata(alias="trueExpression") - ] - false_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeInputFalseExpression", FieldMetadata(alias="falseExpression") - ] - - 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 - - -class AstGreaterThanOperatorNodeInputRight_DynamicVariable(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["dynamic_variable"] = "dynamic_variable" - name: str - - 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 - - -class AstGreaterThanOperatorNodeInputRight_EqOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["eq_operator"] = "eq_operator" - left: "AstEqualsOperatorNodeInputLeft" - right: "AstEqualsOperatorNodeInputRight" - - 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 - - -class AstGreaterThanOperatorNodeInputRight_GtOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["gt_operator"] = "gt_operator" - left: "AstGreaterThanOperatorNodeInputLeft" - right: "AstGreaterThanOperatorNodeInputRight" - - 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 - - -class AstGreaterThanOperatorNodeInputRight_GteOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["gte_operator"] = "gte_operator" - left: "AstGreaterThanOrEqualsOperatorNodeInputLeft" - right: "AstGreaterThanOrEqualsOperatorNodeInputRight" - - 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 - - -class AstGreaterThanOperatorNodeInputRight_Llm(UncheckedBaseModel): - value: AstllmNodeInput - type: typing.Literal["llm"] = "llm" - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - - -class AstGreaterThanOperatorNodeInputRight_LtOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["lt_operator"] = "lt_operator" - left: "AstLessThanOperatorNodeInputLeft" - right: "AstLessThanOperatorNodeInputRight" - - 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 - - -class AstGreaterThanOperatorNodeInputRight_LteOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["lte_operator"] = "lte_operator" - left: "AstLessThanOrEqualsOperatorNodeInputLeft" - right: "AstLessThanOrEqualsOperatorNodeInputRight" - - 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 - - -class AstGreaterThanOperatorNodeInputRight_NeqOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["neq_operator"] = "neq_operator" - left: "AstNotEqualsOperatorNodeInputLeft" - right: "AstNotEqualsOperatorNodeInputRight" - - 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 - - -class AstGreaterThanOperatorNodeInputRight_NumberLiteral(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["number_literal"] = "number_literal" - value: float - - 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 - - -class AstGreaterThanOperatorNodeInputRight_OrOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["or_operator"] = "or_operator" - children: typing.List["AstOrOperatorNodeInputChildrenItem"] - - 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 - - -class AstGreaterThanOperatorNodeInputRight_StringLiteral(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["string_literal"] = "string_literal" - value: str - - 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 - - -AstGreaterThanOperatorNodeInputRight = typing_extensions.Annotated[ - typing.Union[ - AstGreaterThanOperatorNodeInputRight_AndOperator, - AstGreaterThanOperatorNodeInputRight_BooleanLiteral, - AstGreaterThanOperatorNodeInputRight_ConditionalOperator, - AstGreaterThanOperatorNodeInputRight_DynamicVariable, - AstGreaterThanOperatorNodeInputRight_EqOperator, - AstGreaterThanOperatorNodeInputRight_GtOperator, - AstGreaterThanOperatorNodeInputRight_GteOperator, - AstGreaterThanOperatorNodeInputRight_Llm, - AstGreaterThanOperatorNodeInputRight_LtOperator, - AstGreaterThanOperatorNodeInputRight_LteOperator, - AstGreaterThanOperatorNodeInputRight_NeqOperator, - AstGreaterThanOperatorNodeInputRight_NumberLiteral, - AstGreaterThanOperatorNodeInputRight_OrOperator, - AstGreaterThanOperatorNodeInputRight_StringLiteral, - ], - UnionMetadata(discriminant="type"), -] -from .ast_and_operator_node_input_children_item import AstAndOperatorNodeInputChildrenItem # noqa: E402, I001 -from .ast_conditional_operator_node_input_condition import AstConditionalOperatorNodeInputCondition # noqa: E402, I001 -from .ast_conditional_operator_node_input_true_expression import AstConditionalOperatorNodeInputTrueExpression # noqa: E402, I001 -from .ast_conditional_operator_node_input_false_expression import AstConditionalOperatorNodeInputFalseExpression # 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_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_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_children_item import AstOrOperatorNodeInputChildrenItem # noqa: E402, I001 - -update_forward_refs(AstGreaterThanOperatorNodeInputRight_AndOperator) -update_forward_refs(AstGreaterThanOperatorNodeInputRight_ConditionalOperator) -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) 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..8a619287 100644 --- a/src/elevenlabs/types/ast_greater_than_operator_node_output.py +++ b/src/elevenlabs/types/ast_greater_than_operator_node_output.py @@ -10,12 +10,12 @@ class AstGreaterThanOperatorNodeOutput(UncheckedBaseModel): - left: "AstGreaterThanOperatorNodeOutputLeft" = pydantic.Field() + left: "AstNodeOutput" = pydantic.Field() """ Left operand of the binary operator. """ - right: "AstGreaterThanOperatorNodeOutputRight" = pydantic.Field() + right: "AstNodeOutput" = pydantic.Field() """ Right operand of the binary operator. """ @@ -30,7 +30,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 +from .ast_node_output import AstNodeOutput # noqa: E402, I001 update_forward_refs(AstGreaterThanOperatorNodeOutput) 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 deleted file mode 100644 index 67525243..00000000 --- a/src/elevenlabs/types/ast_greater_than_operator_node_output_left.py +++ /dev/null @@ -1,324 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import typing - -import pydantic -import typing_extensions -from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs -from ..core.serialization import FieldMetadata -from ..core.unchecked_base_model import UncheckedBaseModel, UnionMetadata -from .llm_literal_json_schema_property import LlmLiteralJsonSchemaProperty - - -class AstGreaterThanOperatorNodeOutputLeft_AndOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["and_operator"] = "and_operator" - children: typing.List["AstAndOperatorNodeOutputChildrenItem"] - - 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 - - -class AstGreaterThanOperatorNodeOutputLeft_BooleanLiteral(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["boolean_literal"] = "boolean_literal" - value: bool - - 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 - - -class AstGreaterThanOperatorNodeOutputLeft_ConditionalOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["conditional_operator"] = "conditional_operator" - condition: "AstConditionalOperatorNodeOutputCondition" - true_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeOutputTrueExpression", FieldMetadata(alias="trueExpression") - ] - false_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeOutputFalseExpression", FieldMetadata(alias="falseExpression") - ] - - 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 - - -class AstGreaterThanOperatorNodeOutputLeft_DynamicVariable(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["dynamic_variable"] = "dynamic_variable" - name: str - - 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 - - -class AstGreaterThanOperatorNodeOutputLeft_EqOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["eq_operator"] = "eq_operator" - left: "AstEqualsOperatorNodeOutputLeft" - right: "AstEqualsOperatorNodeOutputRight" - - 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 - - -class AstGreaterThanOperatorNodeOutputLeft_GtOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["gt_operator"] = "gt_operator" - left: "AstGreaterThanOperatorNodeOutputLeft" - right: "AstGreaterThanOperatorNodeOutputRight" - - 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 - - -class AstGreaterThanOperatorNodeOutputLeft_GteOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["gte_operator"] = "gte_operator" - left: "AstGreaterThanOrEqualsOperatorNodeOutputLeft" - right: "AstGreaterThanOrEqualsOperatorNodeOutputRight" - - 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 - - -class AstGreaterThanOperatorNodeOutputLeft_Llm(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["llm"] = "llm" - value_schema: LlmLiteralJsonSchemaProperty - prompt: str - - 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 - - -class AstGreaterThanOperatorNodeOutputLeft_LtOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["lt_operator"] = "lt_operator" - left: "AstLessThanOperatorNodeOutputLeft" - right: "AstLessThanOperatorNodeOutputRight" - - 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 - - -class AstGreaterThanOperatorNodeOutputLeft_LteOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["lte_operator"] = "lte_operator" - left: "AstLessThanOrEqualsOperatorNodeOutputLeft" - right: "AstLessThanOrEqualsOperatorNodeOutputRight" - - 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 - - -class AstGreaterThanOperatorNodeOutputLeft_NeqOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["neq_operator"] = "neq_operator" - left: "AstNotEqualsOperatorNodeOutputLeft" - right: "AstNotEqualsOperatorNodeOutputRight" - - 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 - - -class AstGreaterThanOperatorNodeOutputLeft_NumberLiteral(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["number_literal"] = "number_literal" - value: float - - 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 - - -class AstGreaterThanOperatorNodeOutputLeft_OrOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["or_operator"] = "or_operator" - children: typing.List["AstOrOperatorNodeOutputChildrenItem"] - - 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 - - -class AstGreaterThanOperatorNodeOutputLeft_StringLiteral(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["string_literal"] = "string_literal" - value: str - - 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 - - -AstGreaterThanOperatorNodeOutputLeft = typing_extensions.Annotated[ - typing.Union[ - AstGreaterThanOperatorNodeOutputLeft_AndOperator, - AstGreaterThanOperatorNodeOutputLeft_BooleanLiteral, - AstGreaterThanOperatorNodeOutputLeft_ConditionalOperator, - AstGreaterThanOperatorNodeOutputLeft_DynamicVariable, - AstGreaterThanOperatorNodeOutputLeft_EqOperator, - AstGreaterThanOperatorNodeOutputLeft_GtOperator, - AstGreaterThanOperatorNodeOutputLeft_GteOperator, - AstGreaterThanOperatorNodeOutputLeft_Llm, - AstGreaterThanOperatorNodeOutputLeft_LtOperator, - AstGreaterThanOperatorNodeOutputLeft_LteOperator, - AstGreaterThanOperatorNodeOutputLeft_NeqOperator, - AstGreaterThanOperatorNodeOutputLeft_NumberLiteral, - AstGreaterThanOperatorNodeOutputLeft_OrOperator, - AstGreaterThanOperatorNodeOutputLeft_StringLiteral, - ], - UnionMetadata(discriminant="type"), -] -from .ast_and_operator_node_output_children_item import AstAndOperatorNodeOutputChildrenItem # noqa: E402, I001 -from .ast_conditional_operator_node_output_condition import AstConditionalOperatorNodeOutputCondition # noqa: E402, I001 -from .ast_conditional_operator_node_output_true_expression import AstConditionalOperatorNodeOutputTrueExpression # noqa: E402, I001 -from .ast_conditional_operator_node_output_false_expression import AstConditionalOperatorNodeOutputFalseExpression # 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_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_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_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(AstGreaterThanOperatorNodeOutputLeft_AndOperator) -update_forward_refs(AstGreaterThanOperatorNodeOutputLeft_ConditionalOperator) -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) 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 deleted file mode 100644 index 68622c36..00000000 --- a/src/elevenlabs/types/ast_greater_than_operator_node_output_right.py +++ /dev/null @@ -1,324 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import typing - -import pydantic -import typing_extensions -from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs -from ..core.serialization import FieldMetadata -from ..core.unchecked_base_model import UncheckedBaseModel, UnionMetadata -from .llm_literal_json_schema_property import LlmLiteralJsonSchemaProperty - - -class AstGreaterThanOperatorNodeOutputRight_AndOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["and_operator"] = "and_operator" - children: typing.List["AstAndOperatorNodeOutputChildrenItem"] - - 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 - - -class AstGreaterThanOperatorNodeOutputRight_BooleanLiteral(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["boolean_literal"] = "boolean_literal" - value: bool - - 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 - - -class AstGreaterThanOperatorNodeOutputRight_ConditionalOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["conditional_operator"] = "conditional_operator" - condition: "AstConditionalOperatorNodeOutputCondition" - true_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeOutputTrueExpression", FieldMetadata(alias="trueExpression") - ] - false_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeOutputFalseExpression", FieldMetadata(alias="falseExpression") - ] - - 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 - - -class AstGreaterThanOperatorNodeOutputRight_DynamicVariable(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["dynamic_variable"] = "dynamic_variable" - name: str - - 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 - - -class AstGreaterThanOperatorNodeOutputRight_EqOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["eq_operator"] = "eq_operator" - left: "AstEqualsOperatorNodeOutputLeft" - right: "AstEqualsOperatorNodeOutputRight" - - 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 - - -class AstGreaterThanOperatorNodeOutputRight_GtOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["gt_operator"] = "gt_operator" - left: "AstGreaterThanOperatorNodeOutputLeft" - right: "AstGreaterThanOperatorNodeOutputRight" - - 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 - - -class AstGreaterThanOperatorNodeOutputRight_GteOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["gte_operator"] = "gte_operator" - left: "AstGreaterThanOrEqualsOperatorNodeOutputLeft" - right: "AstGreaterThanOrEqualsOperatorNodeOutputRight" - - 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 - - -class AstGreaterThanOperatorNodeOutputRight_Llm(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["llm"] = "llm" - value_schema: LlmLiteralJsonSchemaProperty - prompt: str - - 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 - - -class AstGreaterThanOperatorNodeOutputRight_LtOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["lt_operator"] = "lt_operator" - left: "AstLessThanOperatorNodeOutputLeft" - right: "AstLessThanOperatorNodeOutputRight" - - 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 - - -class AstGreaterThanOperatorNodeOutputRight_LteOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["lte_operator"] = "lte_operator" - left: "AstLessThanOrEqualsOperatorNodeOutputLeft" - right: "AstLessThanOrEqualsOperatorNodeOutputRight" - - 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 - - -class AstGreaterThanOperatorNodeOutputRight_NeqOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["neq_operator"] = "neq_operator" - left: "AstNotEqualsOperatorNodeOutputLeft" - right: "AstNotEqualsOperatorNodeOutputRight" - - 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 - - -class AstGreaterThanOperatorNodeOutputRight_NumberLiteral(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["number_literal"] = "number_literal" - value: float - - 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 - - -class AstGreaterThanOperatorNodeOutputRight_OrOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["or_operator"] = "or_operator" - children: typing.List["AstOrOperatorNodeOutputChildrenItem"] - - 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 - - -class AstGreaterThanOperatorNodeOutputRight_StringLiteral(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["string_literal"] = "string_literal" - value: str - - 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 - - -AstGreaterThanOperatorNodeOutputRight = typing_extensions.Annotated[ - typing.Union[ - AstGreaterThanOperatorNodeOutputRight_AndOperator, - AstGreaterThanOperatorNodeOutputRight_BooleanLiteral, - AstGreaterThanOperatorNodeOutputRight_ConditionalOperator, - AstGreaterThanOperatorNodeOutputRight_DynamicVariable, - AstGreaterThanOperatorNodeOutputRight_EqOperator, - AstGreaterThanOperatorNodeOutputRight_GtOperator, - AstGreaterThanOperatorNodeOutputRight_GteOperator, - AstGreaterThanOperatorNodeOutputRight_Llm, - AstGreaterThanOperatorNodeOutputRight_LtOperator, - AstGreaterThanOperatorNodeOutputRight_LteOperator, - AstGreaterThanOperatorNodeOutputRight_NeqOperator, - AstGreaterThanOperatorNodeOutputRight_NumberLiteral, - AstGreaterThanOperatorNodeOutputRight_OrOperator, - AstGreaterThanOperatorNodeOutputRight_StringLiteral, - ], - UnionMetadata(discriminant="type"), -] -from .ast_and_operator_node_output_children_item import AstAndOperatorNodeOutputChildrenItem # noqa: E402, I001 -from .ast_conditional_operator_node_output_condition import AstConditionalOperatorNodeOutputCondition # noqa: E402, I001 -from .ast_conditional_operator_node_output_true_expression import AstConditionalOperatorNodeOutputTrueExpression # noqa: E402, I001 -from .ast_conditional_operator_node_output_false_expression import AstConditionalOperatorNodeOutputFalseExpression # 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_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_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_children_item import AstOrOperatorNodeOutputChildrenItem # noqa: E402, I001 - -update_forward_refs(AstGreaterThanOperatorNodeOutputRight_AndOperator) -update_forward_refs(AstGreaterThanOperatorNodeOutputRight_ConditionalOperator) -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) 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..06b9239f 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 @@ -10,12 +10,12 @@ class AstGreaterThanOrEqualsOperatorNodeInput(UncheckedBaseModel): - left: "AstGreaterThanOrEqualsOperatorNodeInputLeft" = pydantic.Field() + left: "AstNodeInput" = pydantic.Field() """ Left operand of the binary operator. """ - right: "AstGreaterThanOrEqualsOperatorNodeInputRight" = pydantic.Field() + right: "AstNodeInput" = pydantic.Field() """ Right operand of the binary operator. """ @@ -30,7 +30,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 +from .ast_node_input import AstNodeInput # noqa: E402, I001 update_forward_refs(AstGreaterThanOrEqualsOperatorNodeInput) 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 deleted file mode 100644 index cbc2683b..00000000 --- a/src/elevenlabs/types/ast_greater_than_or_equals_operator_node_input_left.py +++ /dev/null @@ -1,318 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import typing - -import pydantic -import typing_extensions -from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs -from ..core.serialization import FieldMetadata -from ..core.unchecked_base_model import UncheckedBaseModel, UnionMetadata -from .astllm_node_input import AstllmNodeInput - - -class AstGreaterThanOrEqualsOperatorNodeInputLeft_AndOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["and_operator"] = "and_operator" - children: typing.List["AstAndOperatorNodeInputChildrenItem"] - - 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 - - -class AstGreaterThanOrEqualsOperatorNodeInputLeft_BooleanLiteral(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["boolean_literal"] = "boolean_literal" - value: bool - - 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 - - -class AstGreaterThanOrEqualsOperatorNodeInputLeft_ConditionalOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["conditional_operator"] = "conditional_operator" - condition: "AstConditionalOperatorNodeInputCondition" - true_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeInputTrueExpression", FieldMetadata(alias="trueExpression") - ] - false_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeInputFalseExpression", FieldMetadata(alias="falseExpression") - ] - - 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 - - -class AstGreaterThanOrEqualsOperatorNodeInputLeft_DynamicVariable(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["dynamic_variable"] = "dynamic_variable" - name: str - - 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 - - -class AstGreaterThanOrEqualsOperatorNodeInputLeft_EqOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["eq_operator"] = "eq_operator" - left: "AstEqualsOperatorNodeInputLeft" - right: "AstEqualsOperatorNodeInputRight" - - 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 - - -class AstGreaterThanOrEqualsOperatorNodeInputLeft_GtOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["gt_operator"] = "gt_operator" - left: "AstGreaterThanOperatorNodeInputLeft" - right: "AstGreaterThanOperatorNodeInputRight" - - 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 - - -class AstGreaterThanOrEqualsOperatorNodeInputLeft_GteOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["gte_operator"] = "gte_operator" - left: "AstGreaterThanOrEqualsOperatorNodeInputLeft" - right: "AstGreaterThanOrEqualsOperatorNodeInputRight" - - 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 - - -class AstGreaterThanOrEqualsOperatorNodeInputLeft_Llm(UncheckedBaseModel): - value: AstllmNodeInput - type: typing.Literal["llm"] = "llm" - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - - -class AstGreaterThanOrEqualsOperatorNodeInputLeft_LtOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["lt_operator"] = "lt_operator" - left: "AstLessThanOperatorNodeInputLeft" - right: "AstLessThanOperatorNodeInputRight" - - 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 - - -class AstGreaterThanOrEqualsOperatorNodeInputLeft_LteOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["lte_operator"] = "lte_operator" - left: "AstLessThanOrEqualsOperatorNodeInputLeft" - right: "AstLessThanOrEqualsOperatorNodeInputRight" - - 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 - - -class AstGreaterThanOrEqualsOperatorNodeInputLeft_NeqOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["neq_operator"] = "neq_operator" - left: "AstNotEqualsOperatorNodeInputLeft" - right: "AstNotEqualsOperatorNodeInputRight" - - 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 - - -class AstGreaterThanOrEqualsOperatorNodeInputLeft_NumberLiteral(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["number_literal"] = "number_literal" - value: float - - 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 - - -class AstGreaterThanOrEqualsOperatorNodeInputLeft_OrOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["or_operator"] = "or_operator" - children: typing.List["AstOrOperatorNodeInputChildrenItem"] - - 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 - - -class AstGreaterThanOrEqualsOperatorNodeInputLeft_StringLiteral(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["string_literal"] = "string_literal" - value: str - - 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 - - -AstGreaterThanOrEqualsOperatorNodeInputLeft = typing_extensions.Annotated[ - typing.Union[ - AstGreaterThanOrEqualsOperatorNodeInputLeft_AndOperator, - AstGreaterThanOrEqualsOperatorNodeInputLeft_BooleanLiteral, - AstGreaterThanOrEqualsOperatorNodeInputLeft_ConditionalOperator, - AstGreaterThanOrEqualsOperatorNodeInputLeft_DynamicVariable, - AstGreaterThanOrEqualsOperatorNodeInputLeft_EqOperator, - AstGreaterThanOrEqualsOperatorNodeInputLeft_GtOperator, - AstGreaterThanOrEqualsOperatorNodeInputLeft_GteOperator, - AstGreaterThanOrEqualsOperatorNodeInputLeft_Llm, - AstGreaterThanOrEqualsOperatorNodeInputLeft_LtOperator, - AstGreaterThanOrEqualsOperatorNodeInputLeft_LteOperator, - AstGreaterThanOrEqualsOperatorNodeInputLeft_NeqOperator, - AstGreaterThanOrEqualsOperatorNodeInputLeft_NumberLiteral, - AstGreaterThanOrEqualsOperatorNodeInputLeft_OrOperator, - AstGreaterThanOrEqualsOperatorNodeInputLeft_StringLiteral, - ], - UnionMetadata(discriminant="type"), -] -from .ast_and_operator_node_input_children_item import AstAndOperatorNodeInputChildrenItem # noqa: E402, I001 -from .ast_conditional_operator_node_input_condition import AstConditionalOperatorNodeInputCondition # noqa: E402, I001 -from .ast_conditional_operator_node_input_true_expression import AstConditionalOperatorNodeInputTrueExpression # noqa: E402, I001 -from .ast_conditional_operator_node_input_false_expression import AstConditionalOperatorNodeInputFalseExpression # 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_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_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_children_item import AstOrOperatorNodeInputChildrenItem # noqa: E402, I001 - -update_forward_refs(AstGreaterThanOrEqualsOperatorNodeInputLeft_AndOperator) -update_forward_refs(AstGreaterThanOrEqualsOperatorNodeInputLeft_ConditionalOperator) -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) 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 deleted file mode 100644 index e4a19980..00000000 --- a/src/elevenlabs/types/ast_greater_than_or_equals_operator_node_input_right.py +++ /dev/null @@ -1,318 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import typing - -import pydantic -import typing_extensions -from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs -from ..core.serialization import FieldMetadata -from ..core.unchecked_base_model import UncheckedBaseModel, UnionMetadata -from .astllm_node_input import AstllmNodeInput - - -class AstGreaterThanOrEqualsOperatorNodeInputRight_AndOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["and_operator"] = "and_operator" - children: typing.List["AstAndOperatorNodeInputChildrenItem"] - - 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 - - -class AstGreaterThanOrEqualsOperatorNodeInputRight_BooleanLiteral(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["boolean_literal"] = "boolean_literal" - value: bool - - 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 - - -class AstGreaterThanOrEqualsOperatorNodeInputRight_ConditionalOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["conditional_operator"] = "conditional_operator" - condition: "AstConditionalOperatorNodeInputCondition" - true_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeInputTrueExpression", FieldMetadata(alias="trueExpression") - ] - false_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeInputFalseExpression", FieldMetadata(alias="falseExpression") - ] - - 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 - - -class AstGreaterThanOrEqualsOperatorNodeInputRight_DynamicVariable(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["dynamic_variable"] = "dynamic_variable" - name: str - - 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 - - -class AstGreaterThanOrEqualsOperatorNodeInputRight_EqOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["eq_operator"] = "eq_operator" - left: "AstEqualsOperatorNodeInputLeft" - right: "AstEqualsOperatorNodeInputRight" - - 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 - - -class AstGreaterThanOrEqualsOperatorNodeInputRight_GtOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["gt_operator"] = "gt_operator" - left: "AstGreaterThanOperatorNodeInputLeft" - right: "AstGreaterThanOperatorNodeInputRight" - - 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 - - -class AstGreaterThanOrEqualsOperatorNodeInputRight_GteOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["gte_operator"] = "gte_operator" - left: "AstGreaterThanOrEqualsOperatorNodeInputLeft" - right: "AstGreaterThanOrEqualsOperatorNodeInputRight" - - 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 - - -class AstGreaterThanOrEqualsOperatorNodeInputRight_Llm(UncheckedBaseModel): - value: AstllmNodeInput - type: typing.Literal["llm"] = "llm" - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - - -class AstGreaterThanOrEqualsOperatorNodeInputRight_LtOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["lt_operator"] = "lt_operator" - left: "AstLessThanOperatorNodeInputLeft" - right: "AstLessThanOperatorNodeInputRight" - - 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 - - -class AstGreaterThanOrEqualsOperatorNodeInputRight_LteOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["lte_operator"] = "lte_operator" - left: "AstLessThanOrEqualsOperatorNodeInputLeft" - right: "AstLessThanOrEqualsOperatorNodeInputRight" - - 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 - - -class AstGreaterThanOrEqualsOperatorNodeInputRight_NeqOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["neq_operator"] = "neq_operator" - left: "AstNotEqualsOperatorNodeInputLeft" - right: "AstNotEqualsOperatorNodeInputRight" - - 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 - - -class AstGreaterThanOrEqualsOperatorNodeInputRight_NumberLiteral(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["number_literal"] = "number_literal" - value: float - - 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 - - -class AstGreaterThanOrEqualsOperatorNodeInputRight_OrOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["or_operator"] = "or_operator" - children: typing.List["AstOrOperatorNodeInputChildrenItem"] - - 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 - - -class AstGreaterThanOrEqualsOperatorNodeInputRight_StringLiteral(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["string_literal"] = "string_literal" - value: str - - 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 - - -AstGreaterThanOrEqualsOperatorNodeInputRight = typing_extensions.Annotated[ - typing.Union[ - AstGreaterThanOrEqualsOperatorNodeInputRight_AndOperator, - AstGreaterThanOrEqualsOperatorNodeInputRight_BooleanLiteral, - AstGreaterThanOrEqualsOperatorNodeInputRight_ConditionalOperator, - AstGreaterThanOrEqualsOperatorNodeInputRight_DynamicVariable, - AstGreaterThanOrEqualsOperatorNodeInputRight_EqOperator, - AstGreaterThanOrEqualsOperatorNodeInputRight_GtOperator, - AstGreaterThanOrEqualsOperatorNodeInputRight_GteOperator, - AstGreaterThanOrEqualsOperatorNodeInputRight_Llm, - AstGreaterThanOrEqualsOperatorNodeInputRight_LtOperator, - AstGreaterThanOrEqualsOperatorNodeInputRight_LteOperator, - AstGreaterThanOrEqualsOperatorNodeInputRight_NeqOperator, - AstGreaterThanOrEqualsOperatorNodeInputRight_NumberLiteral, - AstGreaterThanOrEqualsOperatorNodeInputRight_OrOperator, - AstGreaterThanOrEqualsOperatorNodeInputRight_StringLiteral, - ], - UnionMetadata(discriminant="type"), -] -from .ast_and_operator_node_input_children_item import AstAndOperatorNodeInputChildrenItem # noqa: E402, I001 -from .ast_conditional_operator_node_input_condition import AstConditionalOperatorNodeInputCondition # noqa: E402, I001 -from .ast_conditional_operator_node_input_true_expression import AstConditionalOperatorNodeInputTrueExpression # noqa: E402, I001 -from .ast_conditional_operator_node_input_false_expression import AstConditionalOperatorNodeInputFalseExpression # 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_left import AstGreaterThanOrEqualsOperatorNodeInputLeft # 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_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(AstGreaterThanOrEqualsOperatorNodeInputRight_AndOperator) -update_forward_refs(AstGreaterThanOrEqualsOperatorNodeInputRight_ConditionalOperator) -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) 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..13aae453 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 @@ -10,12 +10,12 @@ class AstGreaterThanOrEqualsOperatorNodeOutput(UncheckedBaseModel): - left: "AstGreaterThanOrEqualsOperatorNodeOutputLeft" = pydantic.Field() + left: "AstNodeOutput" = pydantic.Field() """ Left operand of the binary operator. """ - right: "AstGreaterThanOrEqualsOperatorNodeOutputRight" = pydantic.Field() + right: "AstNodeOutput" = pydantic.Field() """ Right operand of the binary operator. """ @@ -30,7 +30,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 +from .ast_node_output import AstNodeOutput # noqa: E402, I001 update_forward_refs(AstGreaterThanOrEqualsOperatorNodeOutput) 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 deleted file mode 100644 index 36daaa20..00000000 --- a/src/elevenlabs/types/ast_greater_than_or_equals_operator_node_output_left.py +++ /dev/null @@ -1,324 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import typing - -import pydantic -import typing_extensions -from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs -from ..core.serialization import FieldMetadata -from ..core.unchecked_base_model import UncheckedBaseModel, UnionMetadata -from .llm_literal_json_schema_property import LlmLiteralJsonSchemaProperty - - -class AstGreaterThanOrEqualsOperatorNodeOutputLeft_AndOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["and_operator"] = "and_operator" - children: typing.List["AstAndOperatorNodeOutputChildrenItem"] - - 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 - - -class AstGreaterThanOrEqualsOperatorNodeOutputLeft_BooleanLiteral(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["boolean_literal"] = "boolean_literal" - value: bool - - 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 - - -class AstGreaterThanOrEqualsOperatorNodeOutputLeft_ConditionalOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["conditional_operator"] = "conditional_operator" - condition: "AstConditionalOperatorNodeOutputCondition" - true_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeOutputTrueExpression", FieldMetadata(alias="trueExpression") - ] - false_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeOutputFalseExpression", FieldMetadata(alias="falseExpression") - ] - - 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 - - -class AstGreaterThanOrEqualsOperatorNodeOutputLeft_DynamicVariable(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["dynamic_variable"] = "dynamic_variable" - name: str - - 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 - - -class AstGreaterThanOrEqualsOperatorNodeOutputLeft_EqOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["eq_operator"] = "eq_operator" - left: "AstEqualsOperatorNodeOutputLeft" - right: "AstEqualsOperatorNodeOutputRight" - - 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 - - -class AstGreaterThanOrEqualsOperatorNodeOutputLeft_GtOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["gt_operator"] = "gt_operator" - left: "AstGreaterThanOperatorNodeOutputLeft" - right: "AstGreaterThanOperatorNodeOutputRight" - - 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 - - -class AstGreaterThanOrEqualsOperatorNodeOutputLeft_GteOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["gte_operator"] = "gte_operator" - left: "AstGreaterThanOrEqualsOperatorNodeOutputLeft" - right: "AstGreaterThanOrEqualsOperatorNodeOutputRight" - - 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 - - -class AstGreaterThanOrEqualsOperatorNodeOutputLeft_Llm(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["llm"] = "llm" - value_schema: LlmLiteralJsonSchemaProperty - prompt: str - - 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 - - -class AstGreaterThanOrEqualsOperatorNodeOutputLeft_LtOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["lt_operator"] = "lt_operator" - left: "AstLessThanOperatorNodeOutputLeft" - right: "AstLessThanOperatorNodeOutputRight" - - 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 - - -class AstGreaterThanOrEqualsOperatorNodeOutputLeft_LteOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["lte_operator"] = "lte_operator" - left: "AstLessThanOrEqualsOperatorNodeOutputLeft" - right: "AstLessThanOrEqualsOperatorNodeOutputRight" - - 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 - - -class AstGreaterThanOrEqualsOperatorNodeOutputLeft_NeqOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["neq_operator"] = "neq_operator" - left: "AstNotEqualsOperatorNodeOutputLeft" - right: "AstNotEqualsOperatorNodeOutputRight" - - 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 - - -class AstGreaterThanOrEqualsOperatorNodeOutputLeft_NumberLiteral(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["number_literal"] = "number_literal" - value: float - - 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 - - -class AstGreaterThanOrEqualsOperatorNodeOutputLeft_OrOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["or_operator"] = "or_operator" - children: typing.List["AstOrOperatorNodeOutputChildrenItem"] - - 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 - - -class AstGreaterThanOrEqualsOperatorNodeOutputLeft_StringLiteral(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["string_literal"] = "string_literal" - value: str - - 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 - - -AstGreaterThanOrEqualsOperatorNodeOutputLeft = typing_extensions.Annotated[ - typing.Union[ - AstGreaterThanOrEqualsOperatorNodeOutputLeft_AndOperator, - AstGreaterThanOrEqualsOperatorNodeOutputLeft_BooleanLiteral, - AstGreaterThanOrEqualsOperatorNodeOutputLeft_ConditionalOperator, - AstGreaterThanOrEqualsOperatorNodeOutputLeft_DynamicVariable, - AstGreaterThanOrEqualsOperatorNodeOutputLeft_EqOperator, - AstGreaterThanOrEqualsOperatorNodeOutputLeft_GtOperator, - AstGreaterThanOrEqualsOperatorNodeOutputLeft_GteOperator, - AstGreaterThanOrEqualsOperatorNodeOutputLeft_Llm, - AstGreaterThanOrEqualsOperatorNodeOutputLeft_LtOperator, - AstGreaterThanOrEqualsOperatorNodeOutputLeft_LteOperator, - AstGreaterThanOrEqualsOperatorNodeOutputLeft_NeqOperator, - AstGreaterThanOrEqualsOperatorNodeOutputLeft_NumberLiteral, - AstGreaterThanOrEqualsOperatorNodeOutputLeft_OrOperator, - AstGreaterThanOrEqualsOperatorNodeOutputLeft_StringLiteral, - ], - UnionMetadata(discriminant="type"), -] -from .ast_and_operator_node_output_children_item import AstAndOperatorNodeOutputChildrenItem # noqa: E402, I001 -from .ast_conditional_operator_node_output_condition import AstConditionalOperatorNodeOutputCondition # noqa: E402, I001 -from .ast_conditional_operator_node_output_true_expression import AstConditionalOperatorNodeOutputTrueExpression # noqa: E402, I001 -from .ast_conditional_operator_node_output_false_expression import AstConditionalOperatorNodeOutputFalseExpression # 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_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_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_children_item import AstOrOperatorNodeOutputChildrenItem # noqa: E402, I001 - -update_forward_refs(AstGreaterThanOrEqualsOperatorNodeOutputLeft_AndOperator) -update_forward_refs(AstGreaterThanOrEqualsOperatorNodeOutputLeft_ConditionalOperator) -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) 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 deleted file mode 100644 index 60b89e7e..00000000 --- a/src/elevenlabs/types/ast_greater_than_or_equals_operator_node_output_right.py +++ /dev/null @@ -1,324 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import typing - -import pydantic -import typing_extensions -from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs -from ..core.serialization import FieldMetadata -from ..core.unchecked_base_model import UncheckedBaseModel, UnionMetadata -from .llm_literal_json_schema_property import LlmLiteralJsonSchemaProperty - - -class AstGreaterThanOrEqualsOperatorNodeOutputRight_AndOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["and_operator"] = "and_operator" - children: typing.List["AstAndOperatorNodeOutputChildrenItem"] - - 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 - - -class AstGreaterThanOrEqualsOperatorNodeOutputRight_BooleanLiteral(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["boolean_literal"] = "boolean_literal" - value: bool - - 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 - - -class AstGreaterThanOrEqualsOperatorNodeOutputRight_ConditionalOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["conditional_operator"] = "conditional_operator" - condition: "AstConditionalOperatorNodeOutputCondition" - true_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeOutputTrueExpression", FieldMetadata(alias="trueExpression") - ] - false_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeOutputFalseExpression", FieldMetadata(alias="falseExpression") - ] - - 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 - - -class AstGreaterThanOrEqualsOperatorNodeOutputRight_DynamicVariable(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["dynamic_variable"] = "dynamic_variable" - name: str - - 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 - - -class AstGreaterThanOrEqualsOperatorNodeOutputRight_EqOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["eq_operator"] = "eq_operator" - left: "AstEqualsOperatorNodeOutputLeft" - right: "AstEqualsOperatorNodeOutputRight" - - 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 - - -class AstGreaterThanOrEqualsOperatorNodeOutputRight_GtOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["gt_operator"] = "gt_operator" - left: "AstGreaterThanOperatorNodeOutputLeft" - right: "AstGreaterThanOperatorNodeOutputRight" - - 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 - - -class AstGreaterThanOrEqualsOperatorNodeOutputRight_GteOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["gte_operator"] = "gte_operator" - left: "AstGreaterThanOrEqualsOperatorNodeOutputLeft" - right: "AstGreaterThanOrEqualsOperatorNodeOutputRight" - - 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 - - -class AstGreaterThanOrEqualsOperatorNodeOutputRight_Llm(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["llm"] = "llm" - value_schema: LlmLiteralJsonSchemaProperty - prompt: str - - 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 - - -class AstGreaterThanOrEqualsOperatorNodeOutputRight_LtOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["lt_operator"] = "lt_operator" - left: "AstLessThanOperatorNodeOutputLeft" - right: "AstLessThanOperatorNodeOutputRight" - - 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 - - -class AstGreaterThanOrEqualsOperatorNodeOutputRight_LteOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["lte_operator"] = "lte_operator" - left: "AstLessThanOrEqualsOperatorNodeOutputLeft" - right: "AstLessThanOrEqualsOperatorNodeOutputRight" - - 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 - - -class AstGreaterThanOrEqualsOperatorNodeOutputRight_NeqOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["neq_operator"] = "neq_operator" - left: "AstNotEqualsOperatorNodeOutputLeft" - right: "AstNotEqualsOperatorNodeOutputRight" - - 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 - - -class AstGreaterThanOrEqualsOperatorNodeOutputRight_NumberLiteral(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["number_literal"] = "number_literal" - value: float - - 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 - - -class AstGreaterThanOrEqualsOperatorNodeOutputRight_OrOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["or_operator"] = "or_operator" - children: typing.List["AstOrOperatorNodeOutputChildrenItem"] - - 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 - - -class AstGreaterThanOrEqualsOperatorNodeOutputRight_StringLiteral(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["string_literal"] = "string_literal" - value: str - - 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 - - -AstGreaterThanOrEqualsOperatorNodeOutputRight = typing_extensions.Annotated[ - typing.Union[ - AstGreaterThanOrEqualsOperatorNodeOutputRight_AndOperator, - AstGreaterThanOrEqualsOperatorNodeOutputRight_BooleanLiteral, - AstGreaterThanOrEqualsOperatorNodeOutputRight_ConditionalOperator, - AstGreaterThanOrEqualsOperatorNodeOutputRight_DynamicVariable, - AstGreaterThanOrEqualsOperatorNodeOutputRight_EqOperator, - AstGreaterThanOrEqualsOperatorNodeOutputRight_GtOperator, - AstGreaterThanOrEqualsOperatorNodeOutputRight_GteOperator, - AstGreaterThanOrEqualsOperatorNodeOutputRight_Llm, - AstGreaterThanOrEqualsOperatorNodeOutputRight_LtOperator, - AstGreaterThanOrEqualsOperatorNodeOutputRight_LteOperator, - AstGreaterThanOrEqualsOperatorNodeOutputRight_NeqOperator, - AstGreaterThanOrEqualsOperatorNodeOutputRight_NumberLiteral, - AstGreaterThanOrEqualsOperatorNodeOutputRight_OrOperator, - AstGreaterThanOrEqualsOperatorNodeOutputRight_StringLiteral, - ], - UnionMetadata(discriminant="type"), -] -from .ast_and_operator_node_output_children_item import AstAndOperatorNodeOutputChildrenItem # noqa: E402, I001 -from .ast_conditional_operator_node_output_condition import AstConditionalOperatorNodeOutputCondition # noqa: E402, I001 -from .ast_conditional_operator_node_output_true_expression import AstConditionalOperatorNodeOutputTrueExpression # noqa: E402, I001 -from .ast_conditional_operator_node_output_false_expression import AstConditionalOperatorNodeOutputFalseExpression # 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_left import AstGreaterThanOrEqualsOperatorNodeOutputLeft # 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_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(AstGreaterThanOrEqualsOperatorNodeOutputRight_AndOperator) -update_forward_refs(AstGreaterThanOrEqualsOperatorNodeOutputRight_ConditionalOperator) -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) 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..801c7c59 100644 --- a/src/elevenlabs/types/ast_less_than_operator_node_input.py +++ b/src/elevenlabs/types/ast_less_than_operator_node_input.py @@ -10,12 +10,12 @@ class AstLessThanOperatorNodeInput(UncheckedBaseModel): - left: "AstLessThanOperatorNodeInputLeft" = pydantic.Field() + left: "AstNodeInput" = pydantic.Field() """ Left operand of the binary operator. """ - right: "AstLessThanOperatorNodeInputRight" = pydantic.Field() + right: "AstNodeInput" = pydantic.Field() """ Right operand of the binary operator. """ @@ -30,7 +30,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 +from .ast_node_input import AstNodeInput # noqa: E402, I001 update_forward_refs(AstLessThanOperatorNodeInput) 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 deleted file mode 100644 index 7baa474c..00000000 --- a/src/elevenlabs/types/ast_less_than_operator_node_input_left.py +++ /dev/null @@ -1,318 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import typing - -import pydantic -import typing_extensions -from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs -from ..core.serialization import FieldMetadata -from ..core.unchecked_base_model import UncheckedBaseModel, UnionMetadata -from .astllm_node_input import AstllmNodeInput - - -class AstLessThanOperatorNodeInputLeft_AndOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["and_operator"] = "and_operator" - children: typing.List["AstAndOperatorNodeInputChildrenItem"] - - 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 - - -class AstLessThanOperatorNodeInputLeft_BooleanLiteral(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["boolean_literal"] = "boolean_literal" - value: bool - - 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 - - -class AstLessThanOperatorNodeInputLeft_ConditionalOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["conditional_operator"] = "conditional_operator" - condition: "AstConditionalOperatorNodeInputCondition" - true_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeInputTrueExpression", FieldMetadata(alias="trueExpression") - ] - false_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeInputFalseExpression", FieldMetadata(alias="falseExpression") - ] - - 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 - - -class AstLessThanOperatorNodeInputLeft_DynamicVariable(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["dynamic_variable"] = "dynamic_variable" - name: str - - 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 - - -class AstLessThanOperatorNodeInputLeft_EqOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["eq_operator"] = "eq_operator" - left: "AstEqualsOperatorNodeInputLeft" - right: "AstEqualsOperatorNodeInputRight" - - 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 - - -class AstLessThanOperatorNodeInputLeft_GtOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["gt_operator"] = "gt_operator" - left: "AstGreaterThanOperatorNodeInputLeft" - right: "AstGreaterThanOperatorNodeInputRight" - - 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 - - -class AstLessThanOperatorNodeInputLeft_GteOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["gte_operator"] = "gte_operator" - left: "AstGreaterThanOrEqualsOperatorNodeInputLeft" - right: "AstGreaterThanOrEqualsOperatorNodeInputRight" - - 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 - - -class AstLessThanOperatorNodeInputLeft_Llm(UncheckedBaseModel): - value: AstllmNodeInput - type: typing.Literal["llm"] = "llm" - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - - -class AstLessThanOperatorNodeInputLeft_LtOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["lt_operator"] = "lt_operator" - left: "AstLessThanOperatorNodeInputLeft" - right: "AstLessThanOperatorNodeInputRight" - - 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 - - -class AstLessThanOperatorNodeInputLeft_LteOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["lte_operator"] = "lte_operator" - left: "AstLessThanOrEqualsOperatorNodeInputLeft" - right: "AstLessThanOrEqualsOperatorNodeInputRight" - - 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 - - -class AstLessThanOperatorNodeInputLeft_NeqOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["neq_operator"] = "neq_operator" - left: "AstNotEqualsOperatorNodeInputLeft" - right: "AstNotEqualsOperatorNodeInputRight" - - 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 - - -class AstLessThanOperatorNodeInputLeft_NumberLiteral(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["number_literal"] = "number_literal" - value: float - - 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 - - -class AstLessThanOperatorNodeInputLeft_OrOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["or_operator"] = "or_operator" - children: typing.List["AstOrOperatorNodeInputChildrenItem"] - - 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 - - -class AstLessThanOperatorNodeInputLeft_StringLiteral(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["string_literal"] = "string_literal" - value: str - - 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 - - -AstLessThanOperatorNodeInputLeft = typing_extensions.Annotated[ - typing.Union[ - AstLessThanOperatorNodeInputLeft_AndOperator, - AstLessThanOperatorNodeInputLeft_BooleanLiteral, - AstLessThanOperatorNodeInputLeft_ConditionalOperator, - AstLessThanOperatorNodeInputLeft_DynamicVariable, - AstLessThanOperatorNodeInputLeft_EqOperator, - AstLessThanOperatorNodeInputLeft_GtOperator, - AstLessThanOperatorNodeInputLeft_GteOperator, - AstLessThanOperatorNodeInputLeft_Llm, - AstLessThanOperatorNodeInputLeft_LtOperator, - AstLessThanOperatorNodeInputLeft_LteOperator, - AstLessThanOperatorNodeInputLeft_NeqOperator, - AstLessThanOperatorNodeInputLeft_NumberLiteral, - AstLessThanOperatorNodeInputLeft_OrOperator, - AstLessThanOperatorNodeInputLeft_StringLiteral, - ], - UnionMetadata(discriminant="type"), -] -from .ast_and_operator_node_input_children_item import AstAndOperatorNodeInputChildrenItem # noqa: E402, I001 -from .ast_conditional_operator_node_input_condition import AstConditionalOperatorNodeInputCondition # noqa: E402, I001 -from .ast_conditional_operator_node_input_true_expression import AstConditionalOperatorNodeInputTrueExpression # noqa: E402, I001 -from .ast_conditional_operator_node_input_false_expression import AstConditionalOperatorNodeInputFalseExpression # 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_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_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_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(AstLessThanOperatorNodeInputLeft_AndOperator) -update_forward_refs(AstLessThanOperatorNodeInputLeft_ConditionalOperator) -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) 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 deleted file mode 100644 index 756d980b..00000000 --- a/src/elevenlabs/types/ast_less_than_operator_node_input_right.py +++ /dev/null @@ -1,318 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import typing - -import pydantic -import typing_extensions -from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs -from ..core.serialization import FieldMetadata -from ..core.unchecked_base_model import UncheckedBaseModel, UnionMetadata -from .astllm_node_input import AstllmNodeInput - - -class AstLessThanOperatorNodeInputRight_AndOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["and_operator"] = "and_operator" - children: typing.List["AstAndOperatorNodeInputChildrenItem"] - - 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 - - -class AstLessThanOperatorNodeInputRight_BooleanLiteral(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["boolean_literal"] = "boolean_literal" - value: bool - - 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 - - -class AstLessThanOperatorNodeInputRight_ConditionalOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["conditional_operator"] = "conditional_operator" - condition: "AstConditionalOperatorNodeInputCondition" - true_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeInputTrueExpression", FieldMetadata(alias="trueExpression") - ] - false_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeInputFalseExpression", FieldMetadata(alias="falseExpression") - ] - - 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 - - -class AstLessThanOperatorNodeInputRight_DynamicVariable(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["dynamic_variable"] = "dynamic_variable" - name: str - - 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 - - -class AstLessThanOperatorNodeInputRight_EqOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["eq_operator"] = "eq_operator" - left: "AstEqualsOperatorNodeInputLeft" - right: "AstEqualsOperatorNodeInputRight" - - 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 - - -class AstLessThanOperatorNodeInputRight_GtOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["gt_operator"] = "gt_operator" - left: "AstGreaterThanOperatorNodeInputLeft" - right: "AstGreaterThanOperatorNodeInputRight" - - 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 - - -class AstLessThanOperatorNodeInputRight_GteOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["gte_operator"] = "gte_operator" - left: "AstGreaterThanOrEqualsOperatorNodeInputLeft" - right: "AstGreaterThanOrEqualsOperatorNodeInputRight" - - 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 - - -class AstLessThanOperatorNodeInputRight_Llm(UncheckedBaseModel): - value: AstllmNodeInput - type: typing.Literal["llm"] = "llm" - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - - -class AstLessThanOperatorNodeInputRight_LtOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["lt_operator"] = "lt_operator" - left: "AstLessThanOperatorNodeInputLeft" - right: "AstLessThanOperatorNodeInputRight" - - 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 - - -class AstLessThanOperatorNodeInputRight_LteOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["lte_operator"] = "lte_operator" - left: "AstLessThanOrEqualsOperatorNodeInputLeft" - right: "AstLessThanOrEqualsOperatorNodeInputRight" - - 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 - - -class AstLessThanOperatorNodeInputRight_NeqOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["neq_operator"] = "neq_operator" - left: "AstNotEqualsOperatorNodeInputLeft" - right: "AstNotEqualsOperatorNodeInputRight" - - 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 - - -class AstLessThanOperatorNodeInputRight_NumberLiteral(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["number_literal"] = "number_literal" - value: float - - 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 - - -class AstLessThanOperatorNodeInputRight_OrOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["or_operator"] = "or_operator" - children: typing.List["AstOrOperatorNodeInputChildrenItem"] - - 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 - - -class AstLessThanOperatorNodeInputRight_StringLiteral(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["string_literal"] = "string_literal" - value: str - - 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 - - -AstLessThanOperatorNodeInputRight = typing_extensions.Annotated[ - typing.Union[ - AstLessThanOperatorNodeInputRight_AndOperator, - AstLessThanOperatorNodeInputRight_BooleanLiteral, - AstLessThanOperatorNodeInputRight_ConditionalOperator, - AstLessThanOperatorNodeInputRight_DynamicVariable, - AstLessThanOperatorNodeInputRight_EqOperator, - AstLessThanOperatorNodeInputRight_GtOperator, - AstLessThanOperatorNodeInputRight_GteOperator, - AstLessThanOperatorNodeInputRight_Llm, - AstLessThanOperatorNodeInputRight_LtOperator, - AstLessThanOperatorNodeInputRight_LteOperator, - AstLessThanOperatorNodeInputRight_NeqOperator, - AstLessThanOperatorNodeInputRight_NumberLiteral, - AstLessThanOperatorNodeInputRight_OrOperator, - AstLessThanOperatorNodeInputRight_StringLiteral, - ], - UnionMetadata(discriminant="type"), -] -from .ast_and_operator_node_input_children_item import AstAndOperatorNodeInputChildrenItem # noqa: E402, I001 -from .ast_conditional_operator_node_input_condition import AstConditionalOperatorNodeInputCondition # noqa: E402, I001 -from .ast_conditional_operator_node_input_true_expression import AstConditionalOperatorNodeInputTrueExpression # noqa: E402, I001 -from .ast_conditional_operator_node_input_false_expression import AstConditionalOperatorNodeInputFalseExpression # 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_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_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_children_item import AstOrOperatorNodeInputChildrenItem # noqa: E402, I001 - -update_forward_refs(AstLessThanOperatorNodeInputRight_AndOperator) -update_forward_refs(AstLessThanOperatorNodeInputRight_ConditionalOperator) -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) 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..5f6958b3 100644 --- a/src/elevenlabs/types/ast_less_than_operator_node_output.py +++ b/src/elevenlabs/types/ast_less_than_operator_node_output.py @@ -10,12 +10,12 @@ class AstLessThanOperatorNodeOutput(UncheckedBaseModel): - left: "AstLessThanOperatorNodeOutputLeft" = pydantic.Field() + left: "AstNodeOutput" = pydantic.Field() """ Left operand of the binary operator. """ - right: "AstLessThanOperatorNodeOutputRight" = pydantic.Field() + right: "AstNodeOutput" = pydantic.Field() """ Right operand of the binary operator. """ @@ -30,7 +30,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 +from .ast_node_output import AstNodeOutput # noqa: E402, I001 update_forward_refs(AstLessThanOperatorNodeOutput) 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 deleted file mode 100644 index 7d4b6c4a..00000000 --- a/src/elevenlabs/types/ast_less_than_operator_node_output_left.py +++ /dev/null @@ -1,324 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import typing - -import pydantic -import typing_extensions -from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs -from ..core.serialization import FieldMetadata -from ..core.unchecked_base_model import UncheckedBaseModel, UnionMetadata -from .llm_literal_json_schema_property import LlmLiteralJsonSchemaProperty - - -class AstLessThanOperatorNodeOutputLeft_AndOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["and_operator"] = "and_operator" - children: typing.List["AstAndOperatorNodeOutputChildrenItem"] - - 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 - - -class AstLessThanOperatorNodeOutputLeft_BooleanLiteral(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["boolean_literal"] = "boolean_literal" - value: bool - - 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 - - -class AstLessThanOperatorNodeOutputLeft_ConditionalOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["conditional_operator"] = "conditional_operator" - condition: "AstConditionalOperatorNodeOutputCondition" - true_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeOutputTrueExpression", FieldMetadata(alias="trueExpression") - ] - false_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeOutputFalseExpression", FieldMetadata(alias="falseExpression") - ] - - 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 - - -class AstLessThanOperatorNodeOutputLeft_DynamicVariable(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["dynamic_variable"] = "dynamic_variable" - name: str - - 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 - - -class AstLessThanOperatorNodeOutputLeft_EqOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["eq_operator"] = "eq_operator" - left: "AstEqualsOperatorNodeOutputLeft" - right: "AstEqualsOperatorNodeOutputRight" - - 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 - - -class AstLessThanOperatorNodeOutputLeft_GtOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["gt_operator"] = "gt_operator" - left: "AstGreaterThanOperatorNodeOutputLeft" - right: "AstGreaterThanOperatorNodeOutputRight" - - 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 - - -class AstLessThanOperatorNodeOutputLeft_GteOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["gte_operator"] = "gte_operator" - left: "AstGreaterThanOrEqualsOperatorNodeOutputLeft" - right: "AstGreaterThanOrEqualsOperatorNodeOutputRight" - - 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 - - -class AstLessThanOperatorNodeOutputLeft_Llm(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["llm"] = "llm" - value_schema: LlmLiteralJsonSchemaProperty - prompt: str - - 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 - - -class AstLessThanOperatorNodeOutputLeft_LtOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["lt_operator"] = "lt_operator" - left: "AstLessThanOperatorNodeOutputLeft" - right: "AstLessThanOperatorNodeOutputRight" - - 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 - - -class AstLessThanOperatorNodeOutputLeft_LteOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["lte_operator"] = "lte_operator" - left: "AstLessThanOrEqualsOperatorNodeOutputLeft" - right: "AstLessThanOrEqualsOperatorNodeOutputRight" - - 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 - - -class AstLessThanOperatorNodeOutputLeft_NeqOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["neq_operator"] = "neq_operator" - left: "AstNotEqualsOperatorNodeOutputLeft" - right: "AstNotEqualsOperatorNodeOutputRight" - - 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 - - -class AstLessThanOperatorNodeOutputLeft_NumberLiteral(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["number_literal"] = "number_literal" - value: float - - 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 - - -class AstLessThanOperatorNodeOutputLeft_OrOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["or_operator"] = "or_operator" - children: typing.List["AstOrOperatorNodeOutputChildrenItem"] - - 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 - - -class AstLessThanOperatorNodeOutputLeft_StringLiteral(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["string_literal"] = "string_literal" - value: str - - 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 - - -AstLessThanOperatorNodeOutputLeft = typing_extensions.Annotated[ - typing.Union[ - AstLessThanOperatorNodeOutputLeft_AndOperator, - AstLessThanOperatorNodeOutputLeft_BooleanLiteral, - AstLessThanOperatorNodeOutputLeft_ConditionalOperator, - AstLessThanOperatorNodeOutputLeft_DynamicVariable, - AstLessThanOperatorNodeOutputLeft_EqOperator, - AstLessThanOperatorNodeOutputLeft_GtOperator, - AstLessThanOperatorNodeOutputLeft_GteOperator, - AstLessThanOperatorNodeOutputLeft_Llm, - AstLessThanOperatorNodeOutputLeft_LtOperator, - AstLessThanOperatorNodeOutputLeft_LteOperator, - AstLessThanOperatorNodeOutputLeft_NeqOperator, - AstLessThanOperatorNodeOutputLeft_NumberLiteral, - AstLessThanOperatorNodeOutputLeft_OrOperator, - AstLessThanOperatorNodeOutputLeft_StringLiteral, - ], - UnionMetadata(discriminant="type"), -] -from .ast_and_operator_node_output_children_item import AstAndOperatorNodeOutputChildrenItem # noqa: E402, I001 -from .ast_conditional_operator_node_output_condition import AstConditionalOperatorNodeOutputCondition # noqa: E402, I001 -from .ast_conditional_operator_node_output_true_expression import AstConditionalOperatorNodeOutputTrueExpression # noqa: E402, I001 -from .ast_conditional_operator_node_output_false_expression import AstConditionalOperatorNodeOutputFalseExpression # 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_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_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_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(AstLessThanOperatorNodeOutputLeft_AndOperator) -update_forward_refs(AstLessThanOperatorNodeOutputLeft_ConditionalOperator) -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) 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 deleted file mode 100644 index 94def9d9..00000000 --- a/src/elevenlabs/types/ast_less_than_operator_node_output_right.py +++ /dev/null @@ -1,324 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import typing - -import pydantic -import typing_extensions -from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs -from ..core.serialization import FieldMetadata -from ..core.unchecked_base_model import UncheckedBaseModel, UnionMetadata -from .llm_literal_json_schema_property import LlmLiteralJsonSchemaProperty - - -class AstLessThanOperatorNodeOutputRight_AndOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["and_operator"] = "and_operator" - children: typing.List["AstAndOperatorNodeOutputChildrenItem"] - - 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 - - -class AstLessThanOperatorNodeOutputRight_BooleanLiteral(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["boolean_literal"] = "boolean_literal" - value: bool - - 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 - - -class AstLessThanOperatorNodeOutputRight_ConditionalOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["conditional_operator"] = "conditional_operator" - condition: "AstConditionalOperatorNodeOutputCondition" - true_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeOutputTrueExpression", FieldMetadata(alias="trueExpression") - ] - false_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeOutputFalseExpression", FieldMetadata(alias="falseExpression") - ] - - 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 - - -class AstLessThanOperatorNodeOutputRight_DynamicVariable(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["dynamic_variable"] = "dynamic_variable" - name: str - - 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 - - -class AstLessThanOperatorNodeOutputRight_EqOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["eq_operator"] = "eq_operator" - left: "AstEqualsOperatorNodeOutputLeft" - right: "AstEqualsOperatorNodeOutputRight" - - 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 - - -class AstLessThanOperatorNodeOutputRight_GtOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["gt_operator"] = "gt_operator" - left: "AstGreaterThanOperatorNodeOutputLeft" - right: "AstGreaterThanOperatorNodeOutputRight" - - 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 - - -class AstLessThanOperatorNodeOutputRight_GteOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["gte_operator"] = "gte_operator" - left: "AstGreaterThanOrEqualsOperatorNodeOutputLeft" - right: "AstGreaterThanOrEqualsOperatorNodeOutputRight" - - 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 - - -class AstLessThanOperatorNodeOutputRight_Llm(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["llm"] = "llm" - value_schema: LlmLiteralJsonSchemaProperty - prompt: str - - 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 - - -class AstLessThanOperatorNodeOutputRight_LtOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["lt_operator"] = "lt_operator" - left: "AstLessThanOperatorNodeOutputLeft" - right: "AstLessThanOperatorNodeOutputRight" - - 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 - - -class AstLessThanOperatorNodeOutputRight_LteOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["lte_operator"] = "lte_operator" - left: "AstLessThanOrEqualsOperatorNodeOutputLeft" - right: "AstLessThanOrEqualsOperatorNodeOutputRight" - - 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 - - -class AstLessThanOperatorNodeOutputRight_NeqOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["neq_operator"] = "neq_operator" - left: "AstNotEqualsOperatorNodeOutputLeft" - right: "AstNotEqualsOperatorNodeOutputRight" - - 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 - - -class AstLessThanOperatorNodeOutputRight_NumberLiteral(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["number_literal"] = "number_literal" - value: float - - 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 - - -class AstLessThanOperatorNodeOutputRight_OrOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["or_operator"] = "or_operator" - children: typing.List["AstOrOperatorNodeOutputChildrenItem"] - - 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 - - -class AstLessThanOperatorNodeOutputRight_StringLiteral(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["string_literal"] = "string_literal" - value: str - - 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 - - -AstLessThanOperatorNodeOutputRight = typing_extensions.Annotated[ - typing.Union[ - AstLessThanOperatorNodeOutputRight_AndOperator, - AstLessThanOperatorNodeOutputRight_BooleanLiteral, - AstLessThanOperatorNodeOutputRight_ConditionalOperator, - AstLessThanOperatorNodeOutputRight_DynamicVariable, - AstLessThanOperatorNodeOutputRight_EqOperator, - AstLessThanOperatorNodeOutputRight_GtOperator, - AstLessThanOperatorNodeOutputRight_GteOperator, - AstLessThanOperatorNodeOutputRight_Llm, - AstLessThanOperatorNodeOutputRight_LtOperator, - AstLessThanOperatorNodeOutputRight_LteOperator, - AstLessThanOperatorNodeOutputRight_NeqOperator, - AstLessThanOperatorNodeOutputRight_NumberLiteral, - AstLessThanOperatorNodeOutputRight_OrOperator, - AstLessThanOperatorNodeOutputRight_StringLiteral, - ], - UnionMetadata(discriminant="type"), -] -from .ast_and_operator_node_output_children_item import AstAndOperatorNodeOutputChildrenItem # noqa: E402, I001 -from .ast_conditional_operator_node_output_condition import AstConditionalOperatorNodeOutputCondition # noqa: E402, I001 -from .ast_conditional_operator_node_output_true_expression import AstConditionalOperatorNodeOutputTrueExpression # noqa: E402, I001 -from .ast_conditional_operator_node_output_false_expression import AstConditionalOperatorNodeOutputFalseExpression # 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_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_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_children_item import AstOrOperatorNodeOutputChildrenItem # noqa: E402, I001 - -update_forward_refs(AstLessThanOperatorNodeOutputRight_AndOperator) -update_forward_refs(AstLessThanOperatorNodeOutputRight_ConditionalOperator) -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) 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..da82c4f2 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 @@ -10,12 +10,12 @@ class AstLessThanOrEqualsOperatorNodeInput(UncheckedBaseModel): - left: "AstLessThanOrEqualsOperatorNodeInputLeft" = pydantic.Field() + left: "AstNodeInput" = pydantic.Field() """ Left operand of the binary operator. """ - right: "AstLessThanOrEqualsOperatorNodeInputRight" = pydantic.Field() + right: "AstNodeInput" = pydantic.Field() """ Right operand of the binary operator. """ @@ -30,7 +30,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 +from .ast_node_input import AstNodeInput # noqa: E402, I001 update_forward_refs(AstLessThanOrEqualsOperatorNodeInput) 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 deleted file mode 100644 index 7f273abc..00000000 --- a/src/elevenlabs/types/ast_less_than_or_equals_operator_node_input_left.py +++ /dev/null @@ -1,318 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import typing - -import pydantic -import typing_extensions -from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs -from ..core.serialization import FieldMetadata -from ..core.unchecked_base_model import UncheckedBaseModel, UnionMetadata -from .astllm_node_input import AstllmNodeInput - - -class AstLessThanOrEqualsOperatorNodeInputLeft_AndOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["and_operator"] = "and_operator" - children: typing.List["AstAndOperatorNodeInputChildrenItem"] - - 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 - - -class AstLessThanOrEqualsOperatorNodeInputLeft_BooleanLiteral(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["boolean_literal"] = "boolean_literal" - value: bool - - 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 - - -class AstLessThanOrEqualsOperatorNodeInputLeft_ConditionalOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["conditional_operator"] = "conditional_operator" - condition: "AstConditionalOperatorNodeInputCondition" - true_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeInputTrueExpression", FieldMetadata(alias="trueExpression") - ] - false_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeInputFalseExpression", FieldMetadata(alias="falseExpression") - ] - - 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 - - -class AstLessThanOrEqualsOperatorNodeInputLeft_DynamicVariable(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["dynamic_variable"] = "dynamic_variable" - name: str - - 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 - - -class AstLessThanOrEqualsOperatorNodeInputLeft_EqOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["eq_operator"] = "eq_operator" - left: "AstEqualsOperatorNodeInputLeft" - right: "AstEqualsOperatorNodeInputRight" - - 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 - - -class AstLessThanOrEqualsOperatorNodeInputLeft_GtOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["gt_operator"] = "gt_operator" - left: "AstGreaterThanOperatorNodeInputLeft" - right: "AstGreaterThanOperatorNodeInputRight" - - 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 - - -class AstLessThanOrEqualsOperatorNodeInputLeft_GteOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["gte_operator"] = "gte_operator" - left: "AstGreaterThanOrEqualsOperatorNodeInputLeft" - right: "AstGreaterThanOrEqualsOperatorNodeInputRight" - - 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 - - -class AstLessThanOrEqualsOperatorNodeInputLeft_Llm(UncheckedBaseModel): - value: AstllmNodeInput - type: typing.Literal["llm"] = "llm" - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - - -class AstLessThanOrEqualsOperatorNodeInputLeft_LtOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["lt_operator"] = "lt_operator" - left: "AstLessThanOperatorNodeInputLeft" - right: "AstLessThanOperatorNodeInputRight" - - 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 - - -class AstLessThanOrEqualsOperatorNodeInputLeft_LteOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["lte_operator"] = "lte_operator" - left: "AstLessThanOrEqualsOperatorNodeInputLeft" - right: "AstLessThanOrEqualsOperatorNodeInputRight" - - 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 - - -class AstLessThanOrEqualsOperatorNodeInputLeft_NeqOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["neq_operator"] = "neq_operator" - left: "AstNotEqualsOperatorNodeInputLeft" - right: "AstNotEqualsOperatorNodeInputRight" - - 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 - - -class AstLessThanOrEqualsOperatorNodeInputLeft_NumberLiteral(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["number_literal"] = "number_literal" - value: float - - 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 - - -class AstLessThanOrEqualsOperatorNodeInputLeft_OrOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["or_operator"] = "or_operator" - children: typing.List["AstOrOperatorNodeInputChildrenItem"] - - 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 - - -class AstLessThanOrEqualsOperatorNodeInputLeft_StringLiteral(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["string_literal"] = "string_literal" - value: str - - 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 - - -AstLessThanOrEqualsOperatorNodeInputLeft = typing_extensions.Annotated[ - typing.Union[ - AstLessThanOrEqualsOperatorNodeInputLeft_AndOperator, - AstLessThanOrEqualsOperatorNodeInputLeft_BooleanLiteral, - AstLessThanOrEqualsOperatorNodeInputLeft_ConditionalOperator, - AstLessThanOrEqualsOperatorNodeInputLeft_DynamicVariable, - AstLessThanOrEqualsOperatorNodeInputLeft_EqOperator, - AstLessThanOrEqualsOperatorNodeInputLeft_GtOperator, - AstLessThanOrEqualsOperatorNodeInputLeft_GteOperator, - AstLessThanOrEqualsOperatorNodeInputLeft_Llm, - AstLessThanOrEqualsOperatorNodeInputLeft_LtOperator, - AstLessThanOrEqualsOperatorNodeInputLeft_LteOperator, - AstLessThanOrEqualsOperatorNodeInputLeft_NeqOperator, - AstLessThanOrEqualsOperatorNodeInputLeft_NumberLiteral, - AstLessThanOrEqualsOperatorNodeInputLeft_OrOperator, - AstLessThanOrEqualsOperatorNodeInputLeft_StringLiteral, - ], - UnionMetadata(discriminant="type"), -] -from .ast_and_operator_node_input_children_item import AstAndOperatorNodeInputChildrenItem # noqa: E402, I001 -from .ast_conditional_operator_node_input_condition import AstConditionalOperatorNodeInputCondition # noqa: E402, I001 -from .ast_conditional_operator_node_input_true_expression import AstConditionalOperatorNodeInputTrueExpression # noqa: E402, I001 -from .ast_conditional_operator_node_input_false_expression import AstConditionalOperatorNodeInputFalseExpression # 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_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_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_children_item import AstOrOperatorNodeInputChildrenItem # noqa: E402, I001 - -update_forward_refs(AstLessThanOrEqualsOperatorNodeInputLeft_AndOperator) -update_forward_refs(AstLessThanOrEqualsOperatorNodeInputLeft_ConditionalOperator) -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) 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 deleted file mode 100644 index 0788bba7..00000000 --- a/src/elevenlabs/types/ast_less_than_or_equals_operator_node_input_right.py +++ /dev/null @@ -1,318 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import typing - -import pydantic -import typing_extensions -from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs -from ..core.serialization import FieldMetadata -from ..core.unchecked_base_model import UncheckedBaseModel, UnionMetadata -from .astllm_node_input import AstllmNodeInput - - -class AstLessThanOrEqualsOperatorNodeInputRight_AndOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["and_operator"] = "and_operator" - children: typing.List["AstAndOperatorNodeInputChildrenItem"] - - 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 - - -class AstLessThanOrEqualsOperatorNodeInputRight_BooleanLiteral(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["boolean_literal"] = "boolean_literal" - value: bool - - 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 - - -class AstLessThanOrEqualsOperatorNodeInputRight_ConditionalOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["conditional_operator"] = "conditional_operator" - condition: "AstConditionalOperatorNodeInputCondition" - true_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeInputTrueExpression", FieldMetadata(alias="trueExpression") - ] - false_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeInputFalseExpression", FieldMetadata(alias="falseExpression") - ] - - 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 - - -class AstLessThanOrEqualsOperatorNodeInputRight_DynamicVariable(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["dynamic_variable"] = "dynamic_variable" - name: str - - 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 - - -class AstLessThanOrEqualsOperatorNodeInputRight_EqOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["eq_operator"] = "eq_operator" - left: "AstEqualsOperatorNodeInputLeft" - right: "AstEqualsOperatorNodeInputRight" - - 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 - - -class AstLessThanOrEqualsOperatorNodeInputRight_GtOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["gt_operator"] = "gt_operator" - left: "AstGreaterThanOperatorNodeInputLeft" - right: "AstGreaterThanOperatorNodeInputRight" - - 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 - - -class AstLessThanOrEqualsOperatorNodeInputRight_GteOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["gte_operator"] = "gte_operator" - left: "AstGreaterThanOrEqualsOperatorNodeInputLeft" - right: "AstGreaterThanOrEqualsOperatorNodeInputRight" - - 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 - - -class AstLessThanOrEqualsOperatorNodeInputRight_Llm(UncheckedBaseModel): - value: AstllmNodeInput - type: typing.Literal["llm"] = "llm" - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - - -class AstLessThanOrEqualsOperatorNodeInputRight_LtOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["lt_operator"] = "lt_operator" - left: "AstLessThanOperatorNodeInputLeft" - right: "AstLessThanOperatorNodeInputRight" - - 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 - - -class AstLessThanOrEqualsOperatorNodeInputRight_LteOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["lte_operator"] = "lte_operator" - left: "AstLessThanOrEqualsOperatorNodeInputLeft" - right: "AstLessThanOrEqualsOperatorNodeInputRight" - - 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 - - -class AstLessThanOrEqualsOperatorNodeInputRight_NeqOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["neq_operator"] = "neq_operator" - left: "AstNotEqualsOperatorNodeInputLeft" - right: "AstNotEqualsOperatorNodeInputRight" - - 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 - - -class AstLessThanOrEqualsOperatorNodeInputRight_NumberLiteral(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["number_literal"] = "number_literal" - value: float - - 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 - - -class AstLessThanOrEqualsOperatorNodeInputRight_OrOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["or_operator"] = "or_operator" - children: typing.List["AstOrOperatorNodeInputChildrenItem"] - - 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 - - -class AstLessThanOrEqualsOperatorNodeInputRight_StringLiteral(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["string_literal"] = "string_literal" - value: str - - 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 - - -AstLessThanOrEqualsOperatorNodeInputRight = typing_extensions.Annotated[ - typing.Union[ - AstLessThanOrEqualsOperatorNodeInputRight_AndOperator, - AstLessThanOrEqualsOperatorNodeInputRight_BooleanLiteral, - AstLessThanOrEqualsOperatorNodeInputRight_ConditionalOperator, - AstLessThanOrEqualsOperatorNodeInputRight_DynamicVariable, - AstLessThanOrEqualsOperatorNodeInputRight_EqOperator, - AstLessThanOrEqualsOperatorNodeInputRight_GtOperator, - AstLessThanOrEqualsOperatorNodeInputRight_GteOperator, - AstLessThanOrEqualsOperatorNodeInputRight_Llm, - AstLessThanOrEqualsOperatorNodeInputRight_LtOperator, - AstLessThanOrEqualsOperatorNodeInputRight_LteOperator, - AstLessThanOrEqualsOperatorNodeInputRight_NeqOperator, - AstLessThanOrEqualsOperatorNodeInputRight_NumberLiteral, - AstLessThanOrEqualsOperatorNodeInputRight_OrOperator, - AstLessThanOrEqualsOperatorNodeInputRight_StringLiteral, - ], - UnionMetadata(discriminant="type"), -] -from .ast_and_operator_node_input_children_item import AstAndOperatorNodeInputChildrenItem # noqa: E402, I001 -from .ast_conditional_operator_node_input_condition import AstConditionalOperatorNodeInputCondition # noqa: E402, I001 -from .ast_conditional_operator_node_input_true_expression import AstConditionalOperatorNodeInputTrueExpression # noqa: E402, I001 -from .ast_conditional_operator_node_input_false_expression import AstConditionalOperatorNodeInputFalseExpression # 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_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_left import AstLessThanOrEqualsOperatorNodeInputLeft # 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(AstLessThanOrEqualsOperatorNodeInputRight_AndOperator) -update_forward_refs(AstLessThanOrEqualsOperatorNodeInputRight_ConditionalOperator) -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) 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..47346325 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 @@ -10,12 +10,12 @@ class AstLessThanOrEqualsOperatorNodeOutput(UncheckedBaseModel): - left: "AstLessThanOrEqualsOperatorNodeOutputLeft" = pydantic.Field() + left: "AstNodeOutput" = pydantic.Field() """ Left operand of the binary operator. """ - right: "AstLessThanOrEqualsOperatorNodeOutputRight" = pydantic.Field() + right: "AstNodeOutput" = pydantic.Field() """ Right operand of the binary operator. """ @@ -30,7 +30,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 +from .ast_node_output import AstNodeOutput # noqa: E402, I001 update_forward_refs(AstLessThanOrEqualsOperatorNodeOutput) 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 deleted file mode 100644 index be012cc8..00000000 --- a/src/elevenlabs/types/ast_less_than_or_equals_operator_node_output_left.py +++ /dev/null @@ -1,324 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import typing - -import pydantic -import typing_extensions -from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs -from ..core.serialization import FieldMetadata -from ..core.unchecked_base_model import UncheckedBaseModel, UnionMetadata -from .llm_literal_json_schema_property import LlmLiteralJsonSchemaProperty - - -class AstLessThanOrEqualsOperatorNodeOutputLeft_AndOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["and_operator"] = "and_operator" - children: typing.List["AstAndOperatorNodeOutputChildrenItem"] - - 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 - - -class AstLessThanOrEqualsOperatorNodeOutputLeft_BooleanLiteral(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["boolean_literal"] = "boolean_literal" - value: bool - - 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 - - -class AstLessThanOrEqualsOperatorNodeOutputLeft_ConditionalOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["conditional_operator"] = "conditional_operator" - condition: "AstConditionalOperatorNodeOutputCondition" - true_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeOutputTrueExpression", FieldMetadata(alias="trueExpression") - ] - false_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeOutputFalseExpression", FieldMetadata(alias="falseExpression") - ] - - 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 - - -class AstLessThanOrEqualsOperatorNodeOutputLeft_DynamicVariable(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["dynamic_variable"] = "dynamic_variable" - name: str - - 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 - - -class AstLessThanOrEqualsOperatorNodeOutputLeft_EqOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["eq_operator"] = "eq_operator" - left: "AstEqualsOperatorNodeOutputLeft" - right: "AstEqualsOperatorNodeOutputRight" - - 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 - - -class AstLessThanOrEqualsOperatorNodeOutputLeft_GtOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["gt_operator"] = "gt_operator" - left: "AstGreaterThanOperatorNodeOutputLeft" - right: "AstGreaterThanOperatorNodeOutputRight" - - 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 - - -class AstLessThanOrEqualsOperatorNodeOutputLeft_GteOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["gte_operator"] = "gte_operator" - left: "AstGreaterThanOrEqualsOperatorNodeOutputLeft" - right: "AstGreaterThanOrEqualsOperatorNodeOutputRight" - - 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 - - -class AstLessThanOrEqualsOperatorNodeOutputLeft_Llm(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["llm"] = "llm" - value_schema: LlmLiteralJsonSchemaProperty - prompt: str - - 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 - - -class AstLessThanOrEqualsOperatorNodeOutputLeft_LtOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["lt_operator"] = "lt_operator" - left: "AstLessThanOperatorNodeOutputLeft" - right: "AstLessThanOperatorNodeOutputRight" - - 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 - - -class AstLessThanOrEqualsOperatorNodeOutputLeft_LteOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["lte_operator"] = "lte_operator" - left: "AstLessThanOrEqualsOperatorNodeOutputLeft" - right: "AstLessThanOrEqualsOperatorNodeOutputRight" - - 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 - - -class AstLessThanOrEqualsOperatorNodeOutputLeft_NeqOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["neq_operator"] = "neq_operator" - left: "AstNotEqualsOperatorNodeOutputLeft" - right: "AstNotEqualsOperatorNodeOutputRight" - - 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 - - -class AstLessThanOrEqualsOperatorNodeOutputLeft_NumberLiteral(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["number_literal"] = "number_literal" - value: float - - 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 - - -class AstLessThanOrEqualsOperatorNodeOutputLeft_OrOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["or_operator"] = "or_operator" - children: typing.List["AstOrOperatorNodeOutputChildrenItem"] - - 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 - - -class AstLessThanOrEqualsOperatorNodeOutputLeft_StringLiteral(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["string_literal"] = "string_literal" - value: str - - 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 - - -AstLessThanOrEqualsOperatorNodeOutputLeft = typing_extensions.Annotated[ - typing.Union[ - AstLessThanOrEqualsOperatorNodeOutputLeft_AndOperator, - AstLessThanOrEqualsOperatorNodeOutputLeft_BooleanLiteral, - AstLessThanOrEqualsOperatorNodeOutputLeft_ConditionalOperator, - AstLessThanOrEqualsOperatorNodeOutputLeft_DynamicVariable, - AstLessThanOrEqualsOperatorNodeOutputLeft_EqOperator, - AstLessThanOrEqualsOperatorNodeOutputLeft_GtOperator, - AstLessThanOrEqualsOperatorNodeOutputLeft_GteOperator, - AstLessThanOrEqualsOperatorNodeOutputLeft_Llm, - AstLessThanOrEqualsOperatorNodeOutputLeft_LtOperator, - AstLessThanOrEqualsOperatorNodeOutputLeft_LteOperator, - AstLessThanOrEqualsOperatorNodeOutputLeft_NeqOperator, - AstLessThanOrEqualsOperatorNodeOutputLeft_NumberLiteral, - AstLessThanOrEqualsOperatorNodeOutputLeft_OrOperator, - AstLessThanOrEqualsOperatorNodeOutputLeft_StringLiteral, - ], - UnionMetadata(discriminant="type"), -] -from .ast_and_operator_node_output_children_item import AstAndOperatorNodeOutputChildrenItem # noqa: E402, I001 -from .ast_conditional_operator_node_output_condition import AstConditionalOperatorNodeOutputCondition # noqa: E402, I001 -from .ast_conditional_operator_node_output_true_expression import AstConditionalOperatorNodeOutputTrueExpression # noqa: E402, I001 -from .ast_conditional_operator_node_output_false_expression import AstConditionalOperatorNodeOutputFalseExpression # 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_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_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_children_item import AstOrOperatorNodeOutputChildrenItem # noqa: E402, I001 - -update_forward_refs(AstLessThanOrEqualsOperatorNodeOutputLeft_AndOperator) -update_forward_refs(AstLessThanOrEqualsOperatorNodeOutputLeft_ConditionalOperator) -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) 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 deleted file mode 100644 index aef4c523..00000000 --- a/src/elevenlabs/types/ast_less_than_or_equals_operator_node_output_right.py +++ /dev/null @@ -1,324 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import typing - -import pydantic -import typing_extensions -from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs -from ..core.serialization import FieldMetadata -from ..core.unchecked_base_model import UncheckedBaseModel, UnionMetadata -from .llm_literal_json_schema_property import LlmLiteralJsonSchemaProperty - - -class AstLessThanOrEqualsOperatorNodeOutputRight_AndOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["and_operator"] = "and_operator" - children: typing.List["AstAndOperatorNodeOutputChildrenItem"] - - 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 - - -class AstLessThanOrEqualsOperatorNodeOutputRight_BooleanLiteral(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["boolean_literal"] = "boolean_literal" - value: bool - - 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 - - -class AstLessThanOrEqualsOperatorNodeOutputRight_ConditionalOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["conditional_operator"] = "conditional_operator" - condition: "AstConditionalOperatorNodeOutputCondition" - true_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeOutputTrueExpression", FieldMetadata(alias="trueExpression") - ] - false_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeOutputFalseExpression", FieldMetadata(alias="falseExpression") - ] - - 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 - - -class AstLessThanOrEqualsOperatorNodeOutputRight_DynamicVariable(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["dynamic_variable"] = "dynamic_variable" - name: str - - 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 - - -class AstLessThanOrEqualsOperatorNodeOutputRight_EqOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["eq_operator"] = "eq_operator" - left: "AstEqualsOperatorNodeOutputLeft" - right: "AstEqualsOperatorNodeOutputRight" - - 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 - - -class AstLessThanOrEqualsOperatorNodeOutputRight_GtOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["gt_operator"] = "gt_operator" - left: "AstGreaterThanOperatorNodeOutputLeft" - right: "AstGreaterThanOperatorNodeOutputRight" - - 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 - - -class AstLessThanOrEqualsOperatorNodeOutputRight_GteOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["gte_operator"] = "gte_operator" - left: "AstGreaterThanOrEqualsOperatorNodeOutputLeft" - right: "AstGreaterThanOrEqualsOperatorNodeOutputRight" - - 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 - - -class AstLessThanOrEqualsOperatorNodeOutputRight_Llm(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["llm"] = "llm" - value_schema: LlmLiteralJsonSchemaProperty - prompt: str - - 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 - - -class AstLessThanOrEqualsOperatorNodeOutputRight_LtOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["lt_operator"] = "lt_operator" - left: "AstLessThanOperatorNodeOutputLeft" - right: "AstLessThanOperatorNodeOutputRight" - - 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 - - -class AstLessThanOrEqualsOperatorNodeOutputRight_LteOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["lte_operator"] = "lte_operator" - left: "AstLessThanOrEqualsOperatorNodeOutputLeft" - right: "AstLessThanOrEqualsOperatorNodeOutputRight" - - 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 - - -class AstLessThanOrEqualsOperatorNodeOutputRight_NeqOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["neq_operator"] = "neq_operator" - left: "AstNotEqualsOperatorNodeOutputLeft" - right: "AstNotEqualsOperatorNodeOutputRight" - - 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 - - -class AstLessThanOrEqualsOperatorNodeOutputRight_NumberLiteral(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["number_literal"] = "number_literal" - value: float - - 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 - - -class AstLessThanOrEqualsOperatorNodeOutputRight_OrOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["or_operator"] = "or_operator" - children: typing.List["AstOrOperatorNodeOutputChildrenItem"] - - 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 - - -class AstLessThanOrEqualsOperatorNodeOutputRight_StringLiteral(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["string_literal"] = "string_literal" - value: str - - 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 - - -AstLessThanOrEqualsOperatorNodeOutputRight = typing_extensions.Annotated[ - typing.Union[ - AstLessThanOrEqualsOperatorNodeOutputRight_AndOperator, - AstLessThanOrEqualsOperatorNodeOutputRight_BooleanLiteral, - AstLessThanOrEqualsOperatorNodeOutputRight_ConditionalOperator, - AstLessThanOrEqualsOperatorNodeOutputRight_DynamicVariable, - AstLessThanOrEqualsOperatorNodeOutputRight_EqOperator, - AstLessThanOrEqualsOperatorNodeOutputRight_GtOperator, - AstLessThanOrEqualsOperatorNodeOutputRight_GteOperator, - AstLessThanOrEqualsOperatorNodeOutputRight_Llm, - AstLessThanOrEqualsOperatorNodeOutputRight_LtOperator, - AstLessThanOrEqualsOperatorNodeOutputRight_LteOperator, - AstLessThanOrEqualsOperatorNodeOutputRight_NeqOperator, - AstLessThanOrEqualsOperatorNodeOutputRight_NumberLiteral, - AstLessThanOrEqualsOperatorNodeOutputRight_OrOperator, - AstLessThanOrEqualsOperatorNodeOutputRight_StringLiteral, - ], - UnionMetadata(discriminant="type"), -] -from .ast_and_operator_node_output_children_item import AstAndOperatorNodeOutputChildrenItem # noqa: E402, I001 -from .ast_conditional_operator_node_output_condition import AstConditionalOperatorNodeOutputCondition # noqa: E402, I001 -from .ast_conditional_operator_node_output_true_expression import AstConditionalOperatorNodeOutputTrueExpression # noqa: E402, I001 -from .ast_conditional_operator_node_output_false_expression import AstConditionalOperatorNodeOutputFalseExpression # 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_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_left import AstLessThanOrEqualsOperatorNodeOutputLeft # 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(AstLessThanOrEqualsOperatorNodeOutputRight_AndOperator) -update_forward_refs(AstLessThanOrEqualsOperatorNodeOutputRight_ConditionalOperator) -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) diff --git a/src/elevenlabs/types/ast_multiplication_operator_node_input.py b/src/elevenlabs/types/ast_multiplication_operator_node_input.py new file mode 100644 index 00000000..affacdad --- /dev/null +++ b/src/elevenlabs/types/ast_multiplication_operator_node_input.py @@ -0,0 +1,35 @@ +# This file was auto-generated by Fern from our API Definition. + +from __future__ import annotations + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ..core.unchecked_base_model import UncheckedBaseModel + + +class AstMultiplicationOperatorNodeInput(UncheckedBaseModel): + left: "AstNodeInput" = pydantic.Field() + """ + Left operand of the binary operator. + """ + + right: "AstNodeInput" = pydantic.Field() + """ + Right operand of the binary operator. + """ + + 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 + + +from .ast_node_input import AstNodeInput # noqa: E402, I001 + +update_forward_refs(AstMultiplicationOperatorNodeInput) diff --git a/src/elevenlabs/types/ast_multiplication_operator_node_output.py b/src/elevenlabs/types/ast_multiplication_operator_node_output.py new file mode 100644 index 00000000..7374d5a9 --- /dev/null +++ b/src/elevenlabs/types/ast_multiplication_operator_node_output.py @@ -0,0 +1,35 @@ +# This file was auto-generated by Fern from our API Definition. + +from __future__ import annotations + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ..core.unchecked_base_model import UncheckedBaseModel + + +class AstMultiplicationOperatorNodeOutput(UncheckedBaseModel): + left: "AstNodeOutput" = pydantic.Field() + """ + Left operand of the binary operator. + """ + + right: "AstNodeOutput" = pydantic.Field() + """ + Right operand of the binary operator. + """ + + 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 + + +from .ast_node_output import AstNodeOutput # noqa: E402, I001 + +update_forward_refs(AstMultiplicationOperatorNodeOutput) diff --git a/src/elevenlabs/types/ast_or_operator_node_input_children_item.py b/src/elevenlabs/types/ast_node_input.py similarity index 50% rename from src/elevenlabs/types/ast_or_operator_node_input_children_item.py rename to src/elevenlabs/types/ast_node_input.py index d36066ec..c56ae9a1 100644 --- a/src/elevenlabs/types/ast_or_operator_node_input_children_item.py +++ b/src/elevenlabs/types/ast_node_input.py @@ -12,9 +12,24 @@ from .astllm_node_input import AstllmNodeInput -class AstOrOperatorNodeInputChildrenItem_AndOperator(UncheckedBaseModel): +class AstNodeInput_AddOperator(UncheckedBaseModel): + type: typing.Literal["add_operator"] = "add_operator" + left: "AstNodeInput" + right: "AstNodeInput" + + 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 + + +class AstNodeInput_AndOperator(UncheckedBaseModel): type: typing.Literal["and_operator"] = "and_operator" - children: typing.List["AstAndOperatorNodeInputChildrenItem"] + children: typing.List["AstNodeInput"] if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 @@ -26,7 +41,7 @@ class Config: extra = pydantic.Extra.allow -class AstOrOperatorNodeInputChildrenItem_BooleanLiteral(UncheckedBaseModel): +class AstNodeInput_BooleanLiteral(UncheckedBaseModel): type: typing.Literal["boolean_literal"] = "boolean_literal" value: bool @@ -40,15 +55,26 @@ class Config: extra = pydantic.Extra.allow -class AstOrOperatorNodeInputChildrenItem_ConditionalOperator(UncheckedBaseModel): +class AstNodeInput_ConditionalOperator(UncheckedBaseModel): type: typing.Literal["conditional_operator"] = "conditional_operator" - condition: "AstConditionalOperatorNodeInputCondition" - true_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeInputTrueExpression", FieldMetadata(alias="trueExpression") - ] - false_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeInputFalseExpression", FieldMetadata(alias="falseExpression") - ] + condition: "AstNodeInput" + true_expression: typing_extensions.Annotated["AstNodeInput", FieldMetadata(alias="trueExpression")] + false_expression: typing_extensions.Annotated["AstNodeInput", FieldMetadata(alias="falseExpression")] + + 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 + + +class AstNodeInput_DivOperator(UncheckedBaseModel): + type: typing.Literal["div_operator"] = "div_operator" + left: "AstNodeInput" + right: "AstNodeInput" if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 @@ -60,7 +86,7 @@ class Config: extra = pydantic.Extra.allow -class AstOrOperatorNodeInputChildrenItem_DynamicVariable(UncheckedBaseModel): +class AstNodeInput_DynamicVariable(UncheckedBaseModel): type: typing.Literal["dynamic_variable"] = "dynamic_variable" name: str @@ -74,10 +100,10 @@ class Config: extra = pydantic.Extra.allow -class AstOrOperatorNodeInputChildrenItem_EqOperator(UncheckedBaseModel): +class AstNodeInput_EqOperator(UncheckedBaseModel): type: typing.Literal["eq_operator"] = "eq_operator" - left: "AstEqualsOperatorNodeInputLeft" - right: "AstEqualsOperatorNodeInputRight" + left: "AstNodeInput" + right: "AstNodeInput" if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 @@ -89,10 +115,10 @@ class Config: extra = pydantic.Extra.allow -class AstOrOperatorNodeInputChildrenItem_GtOperator(UncheckedBaseModel): +class AstNodeInput_GtOperator(UncheckedBaseModel): type: typing.Literal["gt_operator"] = "gt_operator" - left: "AstGreaterThanOperatorNodeInputLeft" - right: "AstGreaterThanOperatorNodeInputRight" + left: "AstNodeInput" + right: "AstNodeInput" if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 @@ -104,10 +130,10 @@ class Config: extra = pydantic.Extra.allow -class AstOrOperatorNodeInputChildrenItem_GteOperator(UncheckedBaseModel): +class AstNodeInput_GteOperator(UncheckedBaseModel): type: typing.Literal["gte_operator"] = "gte_operator" - left: "AstGreaterThanOrEqualsOperatorNodeInputLeft" - right: "AstGreaterThanOrEqualsOperatorNodeInputRight" + left: "AstNodeInput" + right: "AstNodeInput" if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 @@ -119,7 +145,7 @@ class Config: extra = pydantic.Extra.allow -class AstOrOperatorNodeInputChildrenItem_Llm(UncheckedBaseModel): +class AstNodeInput_Llm(UncheckedBaseModel): value: AstllmNodeInput type: typing.Literal["llm"] = "llm" @@ -132,10 +158,10 @@ class Config: smart_union = True -class AstOrOperatorNodeInputChildrenItem_LtOperator(UncheckedBaseModel): +class AstNodeInput_LtOperator(UncheckedBaseModel): type: typing.Literal["lt_operator"] = "lt_operator" - left: "AstLessThanOperatorNodeInputLeft" - right: "AstLessThanOperatorNodeInputRight" + left: "AstNodeInput" + right: "AstNodeInput" if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 @@ -147,10 +173,10 @@ class Config: extra = pydantic.Extra.allow -class AstOrOperatorNodeInputChildrenItem_LteOperator(UncheckedBaseModel): +class AstNodeInput_LteOperator(UncheckedBaseModel): type: typing.Literal["lte_operator"] = "lte_operator" - left: "AstLessThanOrEqualsOperatorNodeInputLeft" - right: "AstLessThanOrEqualsOperatorNodeInputRight" + left: "AstNodeInput" + right: "AstNodeInput" if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 @@ -162,10 +188,25 @@ class Config: extra = pydantic.Extra.allow -class AstOrOperatorNodeInputChildrenItem_NeqOperator(UncheckedBaseModel): +class AstNodeInput_MulOperator(UncheckedBaseModel): + type: typing.Literal["mul_operator"] = "mul_operator" + left: "AstNodeInput" + right: "AstNodeInput" + + 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 + + +class AstNodeInput_NeqOperator(UncheckedBaseModel): type: typing.Literal["neq_operator"] = "neq_operator" - left: "AstNotEqualsOperatorNodeInputLeft" - right: "AstNotEqualsOperatorNodeInputRight" + left: "AstNodeInput" + right: "AstNodeInput" if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 @@ -177,7 +218,7 @@ class Config: extra = pydantic.Extra.allow -class AstOrOperatorNodeInputChildrenItem_NumberLiteral(UncheckedBaseModel): +class AstNodeInput_NumberLiteral(UncheckedBaseModel): type: typing.Literal["number_literal"] = "number_literal" value: float @@ -191,9 +232,9 @@ class Config: extra = pydantic.Extra.allow -class AstOrOperatorNodeInputChildrenItem_OrOperator(UncheckedBaseModel): +class AstNodeInput_OrOperator(UncheckedBaseModel): type: typing.Literal["or_operator"] = "or_operator" - children: typing.List["AstOrOperatorNodeInputChildrenItem"] + children: typing.List["AstNodeInput"] if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 @@ -205,7 +246,7 @@ class Config: extra = pydantic.Extra.allow -class AstOrOperatorNodeInputChildrenItem_StringLiteral(UncheckedBaseModel): +class AstNodeInput_StringLiteral(UncheckedBaseModel): type: typing.Literal["string_literal"] = "string_literal" value: str @@ -219,48 +260,54 @@ class Config: extra = pydantic.Extra.allow -AstOrOperatorNodeInputChildrenItem = typing_extensions.Annotated[ +class AstNodeInput_SubOperator(UncheckedBaseModel): + type: typing.Literal["sub_operator"] = "sub_operator" + left: "AstNodeInput" + right: "AstNodeInput" + + 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 + + +AstNodeInput = typing_extensions.Annotated[ typing.Union[ - AstOrOperatorNodeInputChildrenItem_AndOperator, - AstOrOperatorNodeInputChildrenItem_BooleanLiteral, - AstOrOperatorNodeInputChildrenItem_ConditionalOperator, - AstOrOperatorNodeInputChildrenItem_DynamicVariable, - AstOrOperatorNodeInputChildrenItem_EqOperator, - AstOrOperatorNodeInputChildrenItem_GtOperator, - AstOrOperatorNodeInputChildrenItem_GteOperator, - AstOrOperatorNodeInputChildrenItem_Llm, - AstOrOperatorNodeInputChildrenItem_LtOperator, - AstOrOperatorNodeInputChildrenItem_LteOperator, - AstOrOperatorNodeInputChildrenItem_NeqOperator, - AstOrOperatorNodeInputChildrenItem_NumberLiteral, - AstOrOperatorNodeInputChildrenItem_OrOperator, - AstOrOperatorNodeInputChildrenItem_StringLiteral, + AstNodeInput_AddOperator, + AstNodeInput_AndOperator, + AstNodeInput_BooleanLiteral, + AstNodeInput_ConditionalOperator, + AstNodeInput_DivOperator, + AstNodeInput_DynamicVariable, + AstNodeInput_EqOperator, + AstNodeInput_GtOperator, + AstNodeInput_GteOperator, + AstNodeInput_Llm, + AstNodeInput_LtOperator, + AstNodeInput_LteOperator, + AstNodeInput_MulOperator, + AstNodeInput_NeqOperator, + AstNodeInput_NumberLiteral, + AstNodeInput_OrOperator, + AstNodeInput_StringLiteral, + AstNodeInput_SubOperator, ], UnionMetadata(discriminant="type"), ] -from .ast_and_operator_node_input_children_item import AstAndOperatorNodeInputChildrenItem # noqa: E402, I001 -from .ast_conditional_operator_node_input_condition import AstConditionalOperatorNodeInputCondition # noqa: E402, I001 -from .ast_conditional_operator_node_input_true_expression import AstConditionalOperatorNodeInputTrueExpression # noqa: E402, I001 -from .ast_conditional_operator_node_input_false_expression import AstConditionalOperatorNodeInputFalseExpression # 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_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_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 - -update_forward_refs(AstOrOperatorNodeInputChildrenItem_AndOperator) -update_forward_refs(AstOrOperatorNodeInputChildrenItem_ConditionalOperator) -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) +update_forward_refs(AstNodeInput_AddOperator) +update_forward_refs(AstNodeInput_AndOperator) +update_forward_refs(AstNodeInput_ConditionalOperator) +update_forward_refs(AstNodeInput_DivOperator) +update_forward_refs(AstNodeInput_EqOperator) +update_forward_refs(AstNodeInput_GtOperator) +update_forward_refs(AstNodeInput_GteOperator) +update_forward_refs(AstNodeInput_LtOperator) +update_forward_refs(AstNodeInput_LteOperator) +update_forward_refs(AstNodeInput_MulOperator) +update_forward_refs(AstNodeInput_NeqOperator) +update_forward_refs(AstNodeInput_OrOperator) +update_forward_refs(AstNodeInput_SubOperator) diff --git a/src/elevenlabs/types/ast_or_operator_node_output_children_item.py b/src/elevenlabs/types/ast_node_output.py similarity index 50% rename from src/elevenlabs/types/ast_or_operator_node_output_children_item.py rename to src/elevenlabs/types/ast_node_output.py index f1828eff..37c19b02 100644 --- a/src/elevenlabs/types/ast_or_operator_node_output_children_item.py +++ b/src/elevenlabs/types/ast_node_output.py @@ -12,9 +12,24 @@ from .llm_literal_json_schema_property import LlmLiteralJsonSchemaProperty -class AstOrOperatorNodeOutputChildrenItem_AndOperator(UncheckedBaseModel): +class AstNodeOutput_AddOperator(UncheckedBaseModel): + type: typing.Literal["add_operator"] = "add_operator" + left: "AstNodeOutput" + right: "AstNodeOutput" + + 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 + + +class AstNodeOutput_AndOperator(UncheckedBaseModel): type: typing.Literal["and_operator"] = "and_operator" - children: typing.List["AstAndOperatorNodeOutputChildrenItem"] + children: typing.List["AstNodeOutput"] if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 @@ -26,7 +41,7 @@ class Config: extra = pydantic.Extra.allow -class AstOrOperatorNodeOutputChildrenItem_BooleanLiteral(UncheckedBaseModel): +class AstNodeOutput_BooleanLiteral(UncheckedBaseModel): type: typing.Literal["boolean_literal"] = "boolean_literal" value: bool @@ -40,15 +55,26 @@ class Config: extra = pydantic.Extra.allow -class AstOrOperatorNodeOutputChildrenItem_ConditionalOperator(UncheckedBaseModel): +class AstNodeOutput_ConditionalOperator(UncheckedBaseModel): type: typing.Literal["conditional_operator"] = "conditional_operator" - condition: "AstConditionalOperatorNodeOutputCondition" - true_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeOutputTrueExpression", FieldMetadata(alias="trueExpression") - ] - false_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeOutputFalseExpression", FieldMetadata(alias="falseExpression") - ] + condition: "AstNodeOutput" + true_expression: typing_extensions.Annotated["AstNodeOutput", FieldMetadata(alias="trueExpression")] + false_expression: typing_extensions.Annotated["AstNodeOutput", FieldMetadata(alias="falseExpression")] + + 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 + + +class AstNodeOutput_DivOperator(UncheckedBaseModel): + type: typing.Literal["div_operator"] = "div_operator" + left: "AstNodeOutput" + right: "AstNodeOutput" if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 @@ -60,7 +86,7 @@ class Config: extra = pydantic.Extra.allow -class AstOrOperatorNodeOutputChildrenItem_DynamicVariable(UncheckedBaseModel): +class AstNodeOutput_DynamicVariable(UncheckedBaseModel): type: typing.Literal["dynamic_variable"] = "dynamic_variable" name: str @@ -74,10 +100,10 @@ class Config: extra = pydantic.Extra.allow -class AstOrOperatorNodeOutputChildrenItem_EqOperator(UncheckedBaseModel): +class AstNodeOutput_EqOperator(UncheckedBaseModel): type: typing.Literal["eq_operator"] = "eq_operator" - left: "AstEqualsOperatorNodeOutputLeft" - right: "AstEqualsOperatorNodeOutputRight" + left: "AstNodeOutput" + right: "AstNodeOutput" if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 @@ -89,10 +115,10 @@ class Config: extra = pydantic.Extra.allow -class AstOrOperatorNodeOutputChildrenItem_GtOperator(UncheckedBaseModel): +class AstNodeOutput_GtOperator(UncheckedBaseModel): type: typing.Literal["gt_operator"] = "gt_operator" - left: "AstGreaterThanOperatorNodeOutputLeft" - right: "AstGreaterThanOperatorNodeOutputRight" + left: "AstNodeOutput" + right: "AstNodeOutput" if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 @@ -104,10 +130,10 @@ class Config: extra = pydantic.Extra.allow -class AstOrOperatorNodeOutputChildrenItem_GteOperator(UncheckedBaseModel): +class AstNodeOutput_GteOperator(UncheckedBaseModel): type: typing.Literal["gte_operator"] = "gte_operator" - left: "AstGreaterThanOrEqualsOperatorNodeOutputLeft" - right: "AstGreaterThanOrEqualsOperatorNodeOutputRight" + left: "AstNodeOutput" + right: "AstNodeOutput" if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 @@ -119,7 +145,7 @@ class Config: extra = pydantic.Extra.allow -class AstOrOperatorNodeOutputChildrenItem_Llm(UncheckedBaseModel): +class AstNodeOutput_Llm(UncheckedBaseModel): type: typing.Literal["llm"] = "llm" value_schema: LlmLiteralJsonSchemaProperty prompt: str @@ -134,10 +160,10 @@ class Config: extra = pydantic.Extra.allow -class AstOrOperatorNodeOutputChildrenItem_LtOperator(UncheckedBaseModel): +class AstNodeOutput_LtOperator(UncheckedBaseModel): type: typing.Literal["lt_operator"] = "lt_operator" - left: "AstLessThanOperatorNodeOutputLeft" - right: "AstLessThanOperatorNodeOutputRight" + left: "AstNodeOutput" + right: "AstNodeOutput" if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 @@ -149,10 +175,10 @@ class Config: extra = pydantic.Extra.allow -class AstOrOperatorNodeOutputChildrenItem_LteOperator(UncheckedBaseModel): +class AstNodeOutput_LteOperator(UncheckedBaseModel): type: typing.Literal["lte_operator"] = "lte_operator" - left: "AstLessThanOrEqualsOperatorNodeOutputLeft" - right: "AstLessThanOrEqualsOperatorNodeOutputRight" + left: "AstNodeOutput" + right: "AstNodeOutput" if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 @@ -164,10 +190,25 @@ class Config: extra = pydantic.Extra.allow -class AstOrOperatorNodeOutputChildrenItem_NeqOperator(UncheckedBaseModel): +class AstNodeOutput_MulOperator(UncheckedBaseModel): + type: typing.Literal["mul_operator"] = "mul_operator" + left: "AstNodeOutput" + right: "AstNodeOutput" + + 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 + + +class AstNodeOutput_NeqOperator(UncheckedBaseModel): type: typing.Literal["neq_operator"] = "neq_operator" - left: "AstNotEqualsOperatorNodeOutputLeft" - right: "AstNotEqualsOperatorNodeOutputRight" + left: "AstNodeOutput" + right: "AstNodeOutput" if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 @@ -179,7 +220,7 @@ class Config: extra = pydantic.Extra.allow -class AstOrOperatorNodeOutputChildrenItem_NumberLiteral(UncheckedBaseModel): +class AstNodeOutput_NumberLiteral(UncheckedBaseModel): type: typing.Literal["number_literal"] = "number_literal" value: float @@ -193,9 +234,9 @@ class Config: extra = pydantic.Extra.allow -class AstOrOperatorNodeOutputChildrenItem_OrOperator(UncheckedBaseModel): +class AstNodeOutput_OrOperator(UncheckedBaseModel): type: typing.Literal["or_operator"] = "or_operator" - children: typing.List["AstOrOperatorNodeOutputChildrenItem"] + children: typing.List["AstNodeOutput"] if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 @@ -207,7 +248,7 @@ class Config: extra = pydantic.Extra.allow -class AstOrOperatorNodeOutputChildrenItem_StringLiteral(UncheckedBaseModel): +class AstNodeOutput_StringLiteral(UncheckedBaseModel): type: typing.Literal["string_literal"] = "string_literal" value: str @@ -221,48 +262,54 @@ class Config: extra = pydantic.Extra.allow -AstOrOperatorNodeOutputChildrenItem = typing_extensions.Annotated[ +class AstNodeOutput_SubOperator(UncheckedBaseModel): + type: typing.Literal["sub_operator"] = "sub_operator" + left: "AstNodeOutput" + right: "AstNodeOutput" + + 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 + + +AstNodeOutput = typing_extensions.Annotated[ typing.Union[ - AstOrOperatorNodeOutputChildrenItem_AndOperator, - AstOrOperatorNodeOutputChildrenItem_BooleanLiteral, - AstOrOperatorNodeOutputChildrenItem_ConditionalOperator, - AstOrOperatorNodeOutputChildrenItem_DynamicVariable, - AstOrOperatorNodeOutputChildrenItem_EqOperator, - AstOrOperatorNodeOutputChildrenItem_GtOperator, - AstOrOperatorNodeOutputChildrenItem_GteOperator, - AstOrOperatorNodeOutputChildrenItem_Llm, - AstOrOperatorNodeOutputChildrenItem_LtOperator, - AstOrOperatorNodeOutputChildrenItem_LteOperator, - AstOrOperatorNodeOutputChildrenItem_NeqOperator, - AstOrOperatorNodeOutputChildrenItem_NumberLiteral, - AstOrOperatorNodeOutputChildrenItem_OrOperator, - AstOrOperatorNodeOutputChildrenItem_StringLiteral, + AstNodeOutput_AddOperator, + AstNodeOutput_AndOperator, + AstNodeOutput_BooleanLiteral, + AstNodeOutput_ConditionalOperator, + AstNodeOutput_DivOperator, + AstNodeOutput_DynamicVariable, + AstNodeOutput_EqOperator, + AstNodeOutput_GtOperator, + AstNodeOutput_GteOperator, + AstNodeOutput_Llm, + AstNodeOutput_LtOperator, + AstNodeOutput_LteOperator, + AstNodeOutput_MulOperator, + AstNodeOutput_NeqOperator, + AstNodeOutput_NumberLiteral, + AstNodeOutput_OrOperator, + AstNodeOutput_StringLiteral, + AstNodeOutput_SubOperator, ], UnionMetadata(discriminant="type"), ] -from .ast_and_operator_node_output_children_item import AstAndOperatorNodeOutputChildrenItem # noqa: E402, I001 -from .ast_conditional_operator_node_output_condition import AstConditionalOperatorNodeOutputCondition # noqa: E402, I001 -from .ast_conditional_operator_node_output_true_expression import AstConditionalOperatorNodeOutputTrueExpression # noqa: E402, I001 -from .ast_conditional_operator_node_output_false_expression import AstConditionalOperatorNodeOutputFalseExpression # 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_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_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 - -update_forward_refs(AstOrOperatorNodeOutputChildrenItem_AndOperator) -update_forward_refs(AstOrOperatorNodeOutputChildrenItem_ConditionalOperator) -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) +update_forward_refs(AstNodeOutput_AddOperator) +update_forward_refs(AstNodeOutput_AndOperator) +update_forward_refs(AstNodeOutput_ConditionalOperator) +update_forward_refs(AstNodeOutput_DivOperator) +update_forward_refs(AstNodeOutput_EqOperator) +update_forward_refs(AstNodeOutput_GtOperator) +update_forward_refs(AstNodeOutput_GteOperator) +update_forward_refs(AstNodeOutput_LtOperator) +update_forward_refs(AstNodeOutput_LteOperator) +update_forward_refs(AstNodeOutput_MulOperator) +update_forward_refs(AstNodeOutput_NeqOperator) +update_forward_refs(AstNodeOutput_OrOperator) +update_forward_refs(AstNodeOutput_SubOperator) 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..933fc90d 100644 --- a/src/elevenlabs/types/ast_not_equals_operator_node_input.py +++ b/src/elevenlabs/types/ast_not_equals_operator_node_input.py @@ -10,12 +10,12 @@ class AstNotEqualsOperatorNodeInput(UncheckedBaseModel): - left: "AstNotEqualsOperatorNodeInputLeft" = pydantic.Field() + left: "AstNodeInput" = pydantic.Field() """ Left operand of the binary operator. """ - right: "AstNotEqualsOperatorNodeInputRight" = pydantic.Field() + right: "AstNodeInput" = pydantic.Field() """ Right operand of the binary operator. """ @@ -30,7 +30,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 +from .ast_node_input import AstNodeInput # noqa: E402, I001 update_forward_refs(AstNotEqualsOperatorNodeInput) 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 deleted file mode 100644 index 834ced67..00000000 --- a/src/elevenlabs/types/ast_not_equals_operator_node_input_left.py +++ /dev/null @@ -1,318 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import typing - -import pydantic -import typing_extensions -from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs -from ..core.serialization import FieldMetadata -from ..core.unchecked_base_model import UncheckedBaseModel, UnionMetadata -from .astllm_node_input import AstllmNodeInput - - -class AstNotEqualsOperatorNodeInputLeft_AndOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["and_operator"] = "and_operator" - children: typing.List["AstAndOperatorNodeInputChildrenItem"] - - 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 - - -class AstNotEqualsOperatorNodeInputLeft_BooleanLiteral(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["boolean_literal"] = "boolean_literal" - value: bool - - 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 - - -class AstNotEqualsOperatorNodeInputLeft_ConditionalOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["conditional_operator"] = "conditional_operator" - condition: "AstConditionalOperatorNodeInputCondition" - true_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeInputTrueExpression", FieldMetadata(alias="trueExpression") - ] - false_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeInputFalseExpression", FieldMetadata(alias="falseExpression") - ] - - 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 - - -class AstNotEqualsOperatorNodeInputLeft_DynamicVariable(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["dynamic_variable"] = "dynamic_variable" - name: str - - 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 - - -class AstNotEqualsOperatorNodeInputLeft_EqOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["eq_operator"] = "eq_operator" - left: "AstEqualsOperatorNodeInputLeft" - right: "AstEqualsOperatorNodeInputRight" - - 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 - - -class AstNotEqualsOperatorNodeInputLeft_GtOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["gt_operator"] = "gt_operator" - left: "AstGreaterThanOperatorNodeInputLeft" - right: "AstGreaterThanOperatorNodeInputRight" - - 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 - - -class AstNotEqualsOperatorNodeInputLeft_GteOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["gte_operator"] = "gte_operator" - left: "AstGreaterThanOrEqualsOperatorNodeInputLeft" - right: "AstGreaterThanOrEqualsOperatorNodeInputRight" - - 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 - - -class AstNotEqualsOperatorNodeInputLeft_Llm(UncheckedBaseModel): - value: AstllmNodeInput - type: typing.Literal["llm"] = "llm" - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - - -class AstNotEqualsOperatorNodeInputLeft_LtOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["lt_operator"] = "lt_operator" - left: "AstLessThanOperatorNodeInputLeft" - right: "AstLessThanOperatorNodeInputRight" - - 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 - - -class AstNotEqualsOperatorNodeInputLeft_LteOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["lte_operator"] = "lte_operator" - left: "AstLessThanOrEqualsOperatorNodeInputLeft" - right: "AstLessThanOrEqualsOperatorNodeInputRight" - - 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 - - -class AstNotEqualsOperatorNodeInputLeft_NeqOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["neq_operator"] = "neq_operator" - left: "AstNotEqualsOperatorNodeInputLeft" - right: "AstNotEqualsOperatorNodeInputRight" - - 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 - - -class AstNotEqualsOperatorNodeInputLeft_NumberLiteral(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["number_literal"] = "number_literal" - value: float - - 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 - - -class AstNotEqualsOperatorNodeInputLeft_OrOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["or_operator"] = "or_operator" - children: typing.List["AstOrOperatorNodeInputChildrenItem"] - - 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 - - -class AstNotEqualsOperatorNodeInputLeft_StringLiteral(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["string_literal"] = "string_literal" - value: str - - 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 - - -AstNotEqualsOperatorNodeInputLeft = typing_extensions.Annotated[ - typing.Union[ - AstNotEqualsOperatorNodeInputLeft_AndOperator, - AstNotEqualsOperatorNodeInputLeft_BooleanLiteral, - AstNotEqualsOperatorNodeInputLeft_ConditionalOperator, - AstNotEqualsOperatorNodeInputLeft_DynamicVariable, - AstNotEqualsOperatorNodeInputLeft_EqOperator, - AstNotEqualsOperatorNodeInputLeft_GtOperator, - AstNotEqualsOperatorNodeInputLeft_GteOperator, - AstNotEqualsOperatorNodeInputLeft_Llm, - AstNotEqualsOperatorNodeInputLeft_LtOperator, - AstNotEqualsOperatorNodeInputLeft_LteOperator, - AstNotEqualsOperatorNodeInputLeft_NeqOperator, - AstNotEqualsOperatorNodeInputLeft_NumberLiteral, - AstNotEqualsOperatorNodeInputLeft_OrOperator, - AstNotEqualsOperatorNodeInputLeft_StringLiteral, - ], - UnionMetadata(discriminant="type"), -] -from .ast_and_operator_node_input_children_item import AstAndOperatorNodeInputChildrenItem # noqa: E402, I001 -from .ast_conditional_operator_node_input_condition import AstConditionalOperatorNodeInputCondition # noqa: E402, I001 -from .ast_conditional_operator_node_input_true_expression import AstConditionalOperatorNodeInputTrueExpression # noqa: E402, I001 -from .ast_conditional_operator_node_input_false_expression import AstConditionalOperatorNodeInputFalseExpression # 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_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_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_right import AstNotEqualsOperatorNodeInputRight # 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_ConditionalOperator) -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) 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 deleted file mode 100644 index d39cdc37..00000000 --- a/src/elevenlabs/types/ast_not_equals_operator_node_input_right.py +++ /dev/null @@ -1,318 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import typing - -import pydantic -import typing_extensions -from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs -from ..core.serialization import FieldMetadata -from ..core.unchecked_base_model import UncheckedBaseModel, UnionMetadata -from .astllm_node_input import AstllmNodeInput - - -class AstNotEqualsOperatorNodeInputRight_AndOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["and_operator"] = "and_operator" - children: typing.List["AstAndOperatorNodeInputChildrenItem"] - - 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 - - -class AstNotEqualsOperatorNodeInputRight_BooleanLiteral(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["boolean_literal"] = "boolean_literal" - value: bool - - 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 - - -class AstNotEqualsOperatorNodeInputRight_ConditionalOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["conditional_operator"] = "conditional_operator" - condition: "AstConditionalOperatorNodeInputCondition" - true_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeInputTrueExpression", FieldMetadata(alias="trueExpression") - ] - false_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeInputFalseExpression", FieldMetadata(alias="falseExpression") - ] - - 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 - - -class AstNotEqualsOperatorNodeInputRight_DynamicVariable(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["dynamic_variable"] = "dynamic_variable" - name: str - - 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 - - -class AstNotEqualsOperatorNodeInputRight_EqOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["eq_operator"] = "eq_operator" - left: "AstEqualsOperatorNodeInputLeft" - right: "AstEqualsOperatorNodeInputRight" - - 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 - - -class AstNotEqualsOperatorNodeInputRight_GtOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["gt_operator"] = "gt_operator" - left: "AstGreaterThanOperatorNodeInputLeft" - right: "AstGreaterThanOperatorNodeInputRight" - - 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 - - -class AstNotEqualsOperatorNodeInputRight_GteOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["gte_operator"] = "gte_operator" - left: "AstGreaterThanOrEqualsOperatorNodeInputLeft" - right: "AstGreaterThanOrEqualsOperatorNodeInputRight" - - 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 - - -class AstNotEqualsOperatorNodeInputRight_Llm(UncheckedBaseModel): - value: AstllmNodeInput - type: typing.Literal["llm"] = "llm" - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - - -class AstNotEqualsOperatorNodeInputRight_LtOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["lt_operator"] = "lt_operator" - left: "AstLessThanOperatorNodeInputLeft" - right: "AstLessThanOperatorNodeInputRight" - - 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 - - -class AstNotEqualsOperatorNodeInputRight_LteOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["lte_operator"] = "lte_operator" - left: "AstLessThanOrEqualsOperatorNodeInputLeft" - right: "AstLessThanOrEqualsOperatorNodeInputRight" - - 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 - - -class AstNotEqualsOperatorNodeInputRight_NeqOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["neq_operator"] = "neq_operator" - left: "AstNotEqualsOperatorNodeInputLeft" - right: "AstNotEqualsOperatorNodeInputRight" - - 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 - - -class AstNotEqualsOperatorNodeInputRight_NumberLiteral(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["number_literal"] = "number_literal" - value: float - - 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 - - -class AstNotEqualsOperatorNodeInputRight_OrOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["or_operator"] = "or_operator" - children: typing.List["AstOrOperatorNodeInputChildrenItem"] - - 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 - - -class AstNotEqualsOperatorNodeInputRight_StringLiteral(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["string_literal"] = "string_literal" - value: str - - 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 - - -AstNotEqualsOperatorNodeInputRight = typing_extensions.Annotated[ - typing.Union[ - AstNotEqualsOperatorNodeInputRight_AndOperator, - AstNotEqualsOperatorNodeInputRight_BooleanLiteral, - AstNotEqualsOperatorNodeInputRight_ConditionalOperator, - AstNotEqualsOperatorNodeInputRight_DynamicVariable, - AstNotEqualsOperatorNodeInputRight_EqOperator, - AstNotEqualsOperatorNodeInputRight_GtOperator, - AstNotEqualsOperatorNodeInputRight_GteOperator, - AstNotEqualsOperatorNodeInputRight_Llm, - AstNotEqualsOperatorNodeInputRight_LtOperator, - AstNotEqualsOperatorNodeInputRight_LteOperator, - AstNotEqualsOperatorNodeInputRight_NeqOperator, - AstNotEqualsOperatorNodeInputRight_NumberLiteral, - AstNotEqualsOperatorNodeInputRight_OrOperator, - AstNotEqualsOperatorNodeInputRight_StringLiteral, - ], - UnionMetadata(discriminant="type"), -] -from .ast_and_operator_node_input_children_item import AstAndOperatorNodeInputChildrenItem # noqa: E402, I001 -from .ast_conditional_operator_node_input_condition import AstConditionalOperatorNodeInputCondition # noqa: E402, I001 -from .ast_conditional_operator_node_input_true_expression import AstConditionalOperatorNodeInputTrueExpression # noqa: E402, I001 -from .ast_conditional_operator_node_input_false_expression import AstConditionalOperatorNodeInputFalseExpression # 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_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_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_or_operator_node_input_children_item import AstOrOperatorNodeInputChildrenItem # noqa: E402, I001 - -update_forward_refs(AstNotEqualsOperatorNodeInputRight_AndOperator) -update_forward_refs(AstNotEqualsOperatorNodeInputRight_ConditionalOperator) -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) 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..54a1591d 100644 --- a/src/elevenlabs/types/ast_not_equals_operator_node_output.py +++ b/src/elevenlabs/types/ast_not_equals_operator_node_output.py @@ -10,12 +10,12 @@ class AstNotEqualsOperatorNodeOutput(UncheckedBaseModel): - left: "AstNotEqualsOperatorNodeOutputLeft" = pydantic.Field() + left: "AstNodeOutput" = pydantic.Field() """ Left operand of the binary operator. """ - right: "AstNotEqualsOperatorNodeOutputRight" = pydantic.Field() + right: "AstNodeOutput" = pydantic.Field() """ Right operand of the binary operator. """ @@ -30,7 +30,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 +from .ast_node_output import AstNodeOutput # noqa: E402, I001 update_forward_refs(AstNotEqualsOperatorNodeOutput) 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 deleted file mode 100644 index c2ef7376..00000000 --- a/src/elevenlabs/types/ast_not_equals_operator_node_output_left.py +++ /dev/null @@ -1,324 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import typing - -import pydantic -import typing_extensions -from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs -from ..core.serialization import FieldMetadata -from ..core.unchecked_base_model import UncheckedBaseModel, UnionMetadata -from .llm_literal_json_schema_property import LlmLiteralJsonSchemaProperty - - -class AstNotEqualsOperatorNodeOutputLeft_AndOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["and_operator"] = "and_operator" - children: typing.List["AstAndOperatorNodeOutputChildrenItem"] - - 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 - - -class AstNotEqualsOperatorNodeOutputLeft_BooleanLiteral(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["boolean_literal"] = "boolean_literal" - value: bool - - 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 - - -class AstNotEqualsOperatorNodeOutputLeft_ConditionalOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["conditional_operator"] = "conditional_operator" - condition: "AstConditionalOperatorNodeOutputCondition" - true_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeOutputTrueExpression", FieldMetadata(alias="trueExpression") - ] - false_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeOutputFalseExpression", FieldMetadata(alias="falseExpression") - ] - - 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 - - -class AstNotEqualsOperatorNodeOutputLeft_DynamicVariable(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["dynamic_variable"] = "dynamic_variable" - name: str - - 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 - - -class AstNotEqualsOperatorNodeOutputLeft_EqOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["eq_operator"] = "eq_operator" - left: "AstEqualsOperatorNodeOutputLeft" - right: "AstEqualsOperatorNodeOutputRight" - - 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 - - -class AstNotEqualsOperatorNodeOutputLeft_GtOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["gt_operator"] = "gt_operator" - left: "AstGreaterThanOperatorNodeOutputLeft" - right: "AstGreaterThanOperatorNodeOutputRight" - - 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 - - -class AstNotEqualsOperatorNodeOutputLeft_GteOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["gte_operator"] = "gte_operator" - left: "AstGreaterThanOrEqualsOperatorNodeOutputLeft" - right: "AstGreaterThanOrEqualsOperatorNodeOutputRight" - - 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 - - -class AstNotEqualsOperatorNodeOutputLeft_Llm(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["llm"] = "llm" - value_schema: LlmLiteralJsonSchemaProperty - prompt: str - - 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 - - -class AstNotEqualsOperatorNodeOutputLeft_LtOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["lt_operator"] = "lt_operator" - left: "AstLessThanOperatorNodeOutputLeft" - right: "AstLessThanOperatorNodeOutputRight" - - 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 - - -class AstNotEqualsOperatorNodeOutputLeft_LteOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["lte_operator"] = "lte_operator" - left: "AstLessThanOrEqualsOperatorNodeOutputLeft" - right: "AstLessThanOrEqualsOperatorNodeOutputRight" - - 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 - - -class AstNotEqualsOperatorNodeOutputLeft_NeqOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["neq_operator"] = "neq_operator" - left: "AstNotEqualsOperatorNodeOutputLeft" - right: "AstNotEqualsOperatorNodeOutputRight" - - 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 - - -class AstNotEqualsOperatorNodeOutputLeft_NumberLiteral(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["number_literal"] = "number_literal" - value: float - - 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 - - -class AstNotEqualsOperatorNodeOutputLeft_OrOperator(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["or_operator"] = "or_operator" - children: typing.List["AstOrOperatorNodeOutputChildrenItem"] - - 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 - - -class AstNotEqualsOperatorNodeOutputLeft_StringLiteral(UncheckedBaseModel): - """ - Left operand of the binary operator. - """ - - type: typing.Literal["string_literal"] = "string_literal" - value: str - - 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 - - -AstNotEqualsOperatorNodeOutputLeft = typing_extensions.Annotated[ - typing.Union[ - AstNotEqualsOperatorNodeOutputLeft_AndOperator, - AstNotEqualsOperatorNodeOutputLeft_BooleanLiteral, - AstNotEqualsOperatorNodeOutputLeft_ConditionalOperator, - AstNotEqualsOperatorNodeOutputLeft_DynamicVariable, - AstNotEqualsOperatorNodeOutputLeft_EqOperator, - AstNotEqualsOperatorNodeOutputLeft_GtOperator, - AstNotEqualsOperatorNodeOutputLeft_GteOperator, - AstNotEqualsOperatorNodeOutputLeft_Llm, - AstNotEqualsOperatorNodeOutputLeft_LtOperator, - AstNotEqualsOperatorNodeOutputLeft_LteOperator, - AstNotEqualsOperatorNodeOutputLeft_NeqOperator, - AstNotEqualsOperatorNodeOutputLeft_NumberLiteral, - AstNotEqualsOperatorNodeOutputLeft_OrOperator, - AstNotEqualsOperatorNodeOutputLeft_StringLiteral, - ], - UnionMetadata(discriminant="type"), -] -from .ast_and_operator_node_output_children_item import AstAndOperatorNodeOutputChildrenItem # noqa: E402, I001 -from .ast_conditional_operator_node_output_condition import AstConditionalOperatorNodeOutputCondition # noqa: E402, I001 -from .ast_conditional_operator_node_output_true_expression import AstConditionalOperatorNodeOutputTrueExpression # noqa: E402, I001 -from .ast_conditional_operator_node_output_false_expression import AstConditionalOperatorNodeOutputFalseExpression # 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_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_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_right import AstNotEqualsOperatorNodeOutputRight # 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_ConditionalOperator) -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) 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 deleted file mode 100644 index fccb871e..00000000 --- a/src/elevenlabs/types/ast_not_equals_operator_node_output_right.py +++ /dev/null @@ -1,324 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import typing - -import pydantic -import typing_extensions -from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs -from ..core.serialization import FieldMetadata -from ..core.unchecked_base_model import UncheckedBaseModel, UnionMetadata -from .llm_literal_json_schema_property import LlmLiteralJsonSchemaProperty - - -class AstNotEqualsOperatorNodeOutputRight_AndOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["and_operator"] = "and_operator" - children: typing.List["AstAndOperatorNodeOutputChildrenItem"] - - 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 - - -class AstNotEqualsOperatorNodeOutputRight_BooleanLiteral(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["boolean_literal"] = "boolean_literal" - value: bool - - 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 - - -class AstNotEqualsOperatorNodeOutputRight_ConditionalOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["conditional_operator"] = "conditional_operator" - condition: "AstConditionalOperatorNodeOutputCondition" - true_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeOutputTrueExpression", FieldMetadata(alias="trueExpression") - ] - false_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeOutputFalseExpression", FieldMetadata(alias="falseExpression") - ] - - 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 - - -class AstNotEqualsOperatorNodeOutputRight_DynamicVariable(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["dynamic_variable"] = "dynamic_variable" - name: str - - 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 - - -class AstNotEqualsOperatorNodeOutputRight_EqOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["eq_operator"] = "eq_operator" - left: "AstEqualsOperatorNodeOutputLeft" - right: "AstEqualsOperatorNodeOutputRight" - - 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 - - -class AstNotEqualsOperatorNodeOutputRight_GtOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["gt_operator"] = "gt_operator" - left: "AstGreaterThanOperatorNodeOutputLeft" - right: "AstGreaterThanOperatorNodeOutputRight" - - 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 - - -class AstNotEqualsOperatorNodeOutputRight_GteOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["gte_operator"] = "gte_operator" - left: "AstGreaterThanOrEqualsOperatorNodeOutputLeft" - right: "AstGreaterThanOrEqualsOperatorNodeOutputRight" - - 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 - - -class AstNotEqualsOperatorNodeOutputRight_Llm(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["llm"] = "llm" - value_schema: LlmLiteralJsonSchemaProperty - prompt: str - - 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 - - -class AstNotEqualsOperatorNodeOutputRight_LtOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["lt_operator"] = "lt_operator" - left: "AstLessThanOperatorNodeOutputLeft" - right: "AstLessThanOperatorNodeOutputRight" - - 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 - - -class AstNotEqualsOperatorNodeOutputRight_LteOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["lte_operator"] = "lte_operator" - left: "AstLessThanOrEqualsOperatorNodeOutputLeft" - right: "AstLessThanOrEqualsOperatorNodeOutputRight" - - 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 - - -class AstNotEqualsOperatorNodeOutputRight_NeqOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["neq_operator"] = "neq_operator" - left: "AstNotEqualsOperatorNodeOutputLeft" - right: "AstNotEqualsOperatorNodeOutputRight" - - 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 - - -class AstNotEqualsOperatorNodeOutputRight_NumberLiteral(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["number_literal"] = "number_literal" - value: float - - 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 - - -class AstNotEqualsOperatorNodeOutputRight_OrOperator(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["or_operator"] = "or_operator" - children: typing.List["AstOrOperatorNodeOutputChildrenItem"] - - 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 - - -class AstNotEqualsOperatorNodeOutputRight_StringLiteral(UncheckedBaseModel): - """ - Right operand of the binary operator. - """ - - type: typing.Literal["string_literal"] = "string_literal" - value: str - - 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 - - -AstNotEqualsOperatorNodeOutputRight = typing_extensions.Annotated[ - typing.Union[ - AstNotEqualsOperatorNodeOutputRight_AndOperator, - AstNotEqualsOperatorNodeOutputRight_BooleanLiteral, - AstNotEqualsOperatorNodeOutputRight_ConditionalOperator, - AstNotEqualsOperatorNodeOutputRight_DynamicVariable, - AstNotEqualsOperatorNodeOutputRight_EqOperator, - AstNotEqualsOperatorNodeOutputRight_GtOperator, - AstNotEqualsOperatorNodeOutputRight_GteOperator, - AstNotEqualsOperatorNodeOutputRight_Llm, - AstNotEqualsOperatorNodeOutputRight_LtOperator, - AstNotEqualsOperatorNodeOutputRight_LteOperator, - AstNotEqualsOperatorNodeOutputRight_NeqOperator, - AstNotEqualsOperatorNodeOutputRight_NumberLiteral, - AstNotEqualsOperatorNodeOutputRight_OrOperator, - AstNotEqualsOperatorNodeOutputRight_StringLiteral, - ], - UnionMetadata(discriminant="type"), -] -from .ast_and_operator_node_output_children_item import AstAndOperatorNodeOutputChildrenItem # noqa: E402, I001 -from .ast_conditional_operator_node_output_condition import AstConditionalOperatorNodeOutputCondition # noqa: E402, I001 -from .ast_conditional_operator_node_output_true_expression import AstConditionalOperatorNodeOutputTrueExpression # noqa: E402, I001 -from .ast_conditional_operator_node_output_false_expression import AstConditionalOperatorNodeOutputFalseExpression # 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_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_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_or_operator_node_output_children_item import AstOrOperatorNodeOutputChildrenItem # noqa: E402, I001 - -update_forward_refs(AstNotEqualsOperatorNodeOutputRight_AndOperator) -update_forward_refs(AstNotEqualsOperatorNodeOutputRight_ConditionalOperator) -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) diff --git a/src/elevenlabs/types/ast_or_operator_node_input.py b/src/elevenlabs/types/ast_or_operator_node_input.py index 0b44b921..fd5cc8c9 100644 --- a/src/elevenlabs/types/ast_or_operator_node_input.py +++ b/src/elevenlabs/types/ast_or_operator_node_input.py @@ -10,7 +10,7 @@ class AstOrOperatorNodeInput(UncheckedBaseModel): - children: typing.List["AstOrOperatorNodeInputChildrenItem"] = pydantic.Field() + children: typing.List["AstNodeInput"] = pydantic.Field() """ Child nodes of the logical operator. """ @@ -25,6 +25,6 @@ class Config: extra = pydantic.Extra.allow -from .ast_or_operator_node_input_children_item import AstOrOperatorNodeInputChildrenItem # noqa: E402, I001 +from .ast_node_input import AstNodeInput # noqa: E402, I001 update_forward_refs(AstOrOperatorNodeInput) diff --git a/src/elevenlabs/types/ast_or_operator_node_output.py b/src/elevenlabs/types/ast_or_operator_node_output.py index 086372b2..36714028 100644 --- a/src/elevenlabs/types/ast_or_operator_node_output.py +++ b/src/elevenlabs/types/ast_or_operator_node_output.py @@ -10,7 +10,7 @@ class AstOrOperatorNodeOutput(UncheckedBaseModel): - children: typing.List["AstOrOperatorNodeOutputChildrenItem"] = pydantic.Field() + children: typing.List["AstNodeOutput"] = pydantic.Field() """ Child nodes of the logical operator. """ @@ -25,6 +25,6 @@ class Config: extra = pydantic.Extra.allow -from .ast_or_operator_node_output_children_item import AstOrOperatorNodeOutputChildrenItem # noqa: E402, I001 +from .ast_node_output import AstNodeOutput # noqa: E402, I001 update_forward_refs(AstOrOperatorNodeOutput) diff --git a/src/elevenlabs/types/ast_subtraction_operator_node_input.py b/src/elevenlabs/types/ast_subtraction_operator_node_input.py new file mode 100644 index 00000000..a2dac8dc --- /dev/null +++ b/src/elevenlabs/types/ast_subtraction_operator_node_input.py @@ -0,0 +1,35 @@ +# This file was auto-generated by Fern from our API Definition. + +from __future__ import annotations + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ..core.unchecked_base_model import UncheckedBaseModel + + +class AstSubtractionOperatorNodeInput(UncheckedBaseModel): + left: "AstNodeInput" = pydantic.Field() + """ + Left operand of the binary operator. + """ + + right: "AstNodeInput" = pydantic.Field() + """ + Right operand of the binary operator. + """ + + 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 + + +from .ast_node_input import AstNodeInput # noqa: E402, I001 + +update_forward_refs(AstSubtractionOperatorNodeInput) diff --git a/src/elevenlabs/types/ast_subtraction_operator_node_output.py b/src/elevenlabs/types/ast_subtraction_operator_node_output.py new file mode 100644 index 00000000..3b5a87e2 --- /dev/null +++ b/src/elevenlabs/types/ast_subtraction_operator_node_output.py @@ -0,0 +1,35 @@ +# This file was auto-generated by Fern from our API Definition. + +from __future__ import annotations + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ..core.unchecked_base_model import UncheckedBaseModel + + +class AstSubtractionOperatorNodeOutput(UncheckedBaseModel): + left: "AstNodeOutput" = pydantic.Field() + """ + Left operand of the binary operator. + """ + + right: "AstNodeOutput" = pydantic.Field() + """ + Right operand of the binary operator. + """ + + 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 + + +from .ast_node_output import AstNodeOutput # noqa: E402, I001 + +update_forward_refs(AstSubtractionOperatorNodeOutput) diff --git a/src/elevenlabs/types/async_conversation_metadata.py b/src/elevenlabs/types/async_conversation_metadata.py index 5ccc0ef5..9b2d3347 100644 --- a/src/elevenlabs/types/async_conversation_metadata.py +++ b/src/elevenlabs/types/async_conversation_metadata.py @@ -20,6 +20,7 @@ class AsyncConversationMetadata(UncheckedBaseModel): external_id: str retry_count: typing.Optional[int] = None last_retry_timestamp: typing.Optional[int] = None + last_processed_external_message_id: 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/literal_override.py b/src/elevenlabs/types/audio_analysis.py similarity index 63% rename from src/elevenlabs/types/literal_override.py rename to src/elevenlabs/types/audio_analysis.py index 8bf3279a..aaac18a7 100644 --- a/src/elevenlabs/types/literal_override.py +++ b/src/elevenlabs/types/audio_analysis.py @@ -5,13 +5,14 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel -from .literal_override_constant_value import LiteralOverrideConstantValue +from .audio_analysis_result import AudioAnalysisResult +from .audio_analysis_status import AudioAnalysisStatus -class LiteralOverride(UncheckedBaseModel): - description: typing.Optional[str] = None - dynamic_variable: typing.Optional[str] = None - constant_value: typing.Optional[LiteralOverrideConstantValue] = None +class AudioAnalysis(UncheckedBaseModel): + status: AudioAnalysisStatus + data: typing.Optional[AudioAnalysisResult] = None + updated_at_ms: typing.Optional[int] = 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_analysis_result.py b/src/elevenlabs/types/audio_analysis_result.py new file mode 100644 index 00000000..62ab91f1 --- /dev/null +++ b/src/elevenlabs/types/audio_analysis_result.py @@ -0,0 +1,29 @@ +# 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 .asset_transcription import AssetTranscription +from .audio_key_moment import AudioKeyMoment +from .audio_segment import AudioSegment + + +class AudioAnalysisResult(UncheckedBaseModel): + title: str + description: str + content_type: typing.Optional[str] = None + overall_pacing: typing.Optional[str] = None + segments: typing.Optional[typing.List[AudioSegment]] = None + key_moments: typing.Optional[typing.List[AudioKeyMoment]] = None + transcription: typing.Optional[AssetTranscription] = 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/audio_analysis_status.py b/src/elevenlabs/types/audio_analysis_status.py new file mode 100644 index 00000000..250ec750 --- /dev/null +++ b/src/elevenlabs/types/audio_analysis_status.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +AudioAnalysisStatus = typing.Union[typing.Literal["processing", "completed", "failed"], typing.Any] diff --git a/src/elevenlabs/types/query_override.py b/src/elevenlabs/types/audio_key_moment.py similarity index 68% rename from src/elevenlabs/types/query_override.py rename to src/elevenlabs/types/audio_key_moment.py index 557f8650..09c432ac 100644 --- a/src/elevenlabs/types/query_override.py +++ b/src/elevenlabs/types/audio_key_moment.py @@ -5,12 +5,12 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel -from .literal_override import LiteralOverride -class QueryOverride(UncheckedBaseModel): - properties: typing.Optional[typing.Dict[str, typing.Optional[LiteralOverride]]] = None - required: typing.Optional[typing.List[str]] = None +class AudioKeyMoment(UncheckedBaseModel): + timestamp_ms: int + type: str + description: str 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_segment.py b/src/elevenlabs/types/audio_segment.py new file mode 100644 index 00000000..e88154bc --- /dev/null +++ b/src/elevenlabs/types/audio_segment.py @@ -0,0 +1,26 @@ +# 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 + + +class AudioSegment(UncheckedBaseModel): + start_ms: int + end_ms: int + description: str + segment_type: typing.Optional[str] = None + has_speech: typing.Optional[bool] = None + has_music: typing.Optional[bool] = None + pacing: typing.Optional[str] = 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/auth_connection_dependencies_tools_item.py b/src/elevenlabs/types/auth_connection_dependencies_tools_item.py index 45231cce..18cdaca4 100644 --- a/src/elevenlabs/types/auth_connection_dependencies_tools_item.py +++ b/src/elevenlabs/types/auth_connection_dependencies_tools_item.py @@ -30,6 +30,7 @@ class Config: class AuthConnectionDependenciesToolsItem_Unknown(UncheckedBaseModel): type: typing.Literal["unknown"] = "unknown" + id: str 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/avatar_context_request_model.py b/src/elevenlabs/types/avatar_context_request_model.py new file mode 100644 index 00000000..5540500b --- /dev/null +++ b/src/elevenlabs/types/avatar_context_request_model.py @@ -0,0 +1,23 @@ +# 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 + + +class AvatarContextRequestModel(UncheckedBaseModel): + avatar_id: typing.Optional[str] = None + avatar_style_id: typing.Optional[str] = None + avatar_name: typing.Optional[str] = None + avatar_style_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 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/elevenlabs/types/avatar_context_response_model.py b/src/elevenlabs/types/avatar_context_response_model.py new file mode 100644 index 00000000..479ead33 --- /dev/null +++ b/src/elevenlabs/types/avatar_context_response_model.py @@ -0,0 +1,38 @@ +# 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 + + +class AvatarContextResponseModel(UncheckedBaseModel): + avatar_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The ID of the avatar. + """ + + avatar_style_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The ID of the avatar style. + """ + + avatar_name: typing.Optional[str] = pydantic.Field(default=None) + """ + The name of the avatar. + """ + + avatar_style_name: typing.Optional[str] = pydantic.Field(default=None) + """ + The name of the avatar style. + """ + + 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/batch_call_detailed_response.py b/src/elevenlabs/types/batch_call_detailed_response.py index 12347178..4114d717 100644 --- a/src/elevenlabs/types/batch_call_detailed_response.py +++ b/src/elevenlabs/types/batch_call_detailed_response.py @@ -23,6 +23,8 @@ class BatchCallDetailedResponse(UncheckedBaseModel): whatsapp_params: typing.Optional[BatchCallWhatsAppParams] = None name: str agent_id: str + branch_id: typing.Optional[str] = None + environment: typing.Optional[str] = None created_at_unix: int scheduled_time_unix: int timezone: typing.Optional[str] = None @@ -39,6 +41,7 @@ class BatchCallDetailedResponse(UncheckedBaseModel): """ agent_name: str + branch_name: typing.Optional[str] = None recipients: typing.List[OutboundCallRecipientResponseModel] if IS_PYDANTIC_V2: diff --git a/src/elevenlabs/types/batch_call_response.py b/src/elevenlabs/types/batch_call_response.py index 769a6f18..36c2eb34 100644 --- a/src/elevenlabs/types/batch_call_response.py +++ b/src/elevenlabs/types/batch_call_response.py @@ -18,6 +18,8 @@ class BatchCallResponse(UncheckedBaseModel): whatsapp_params: typing.Optional[BatchCallWhatsAppParams] = None name: str agent_id: str + branch_id: typing.Optional[str] = None + environment: typing.Optional[str] = None created_at_unix: int scheduled_time_unix: int timezone: typing.Optional[str] = None @@ -34,6 +36,7 @@ class BatchCallResponse(UncheckedBaseModel): """ agent_name: str + branch_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/canvas_placement.py b/src/elevenlabs/types/canvas_placement.py index 4051e388..59eff309 100644 --- a/src/elevenlabs/types/canvas_placement.py +++ b/src/elevenlabs/types/canvas_placement.py @@ -24,6 +24,8 @@ class CanvasPlacement(UncheckedBaseModel): crop_right: typing.Optional[float] = None crop_bottom: typing.Optional[float] = None crop_left: typing.Optional[float] = None + flip_x: typing.Optional[bool] = None + flip_y: 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/chat_source_medium.py b/src/elevenlabs/types/chat_source_medium.py index ef1f52a5..51df7926 100644 --- a/src/elevenlabs/types/chat_source_medium.py +++ b/src/elevenlabs/types/chat_source_medium.py @@ -2,4 +2,4 @@ import typing -ChatSourceMedium = typing.Union[typing.Literal["audio", "text", "image", "file"], typing.Any] +ChatSourceMedium = typing.Union[typing.Literal["audio", "dtmf", "text", "image", "file"], typing.Any] diff --git a/src/elevenlabs/types/conv_ai_stored_secret_dependencies_tools_item.py b/src/elevenlabs/types/conv_ai_stored_secret_dependencies_tools_item.py index ea6733ed..6ccccd5e 100644 --- a/src/elevenlabs/types/conv_ai_stored_secret_dependencies_tools_item.py +++ b/src/elevenlabs/types/conv_ai_stored_secret_dependencies_tools_item.py @@ -30,6 +30,7 @@ class Config: class ConvAiStoredSecretDependenciesToolsItem_Unknown(UncheckedBaseModel): type: typing.Literal["unknown"] = "unknown" + id: str 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/conversation_config.py b/src/elevenlabs/types/conversation_config.py index 0bdddf02..b2b25026 100644 --- a/src/elevenlabs/types/conversation_config.py +++ b/src/elevenlabs/types/conversation_config.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel from .client_event import ClientEvent +from .file_input_config import FileInputConfig class ConversationConfig(UncheckedBaseModel): @@ -24,6 +25,11 @@ class ConversationConfig(UncheckedBaseModel): The events that will be sent to the client """ + file_input: typing.Optional[FileInputConfig] = pydantic.Field(default=None) + """ + Configuration for file input (image/PDF uploads) during conversations. + """ + monitoring_enabled: typing.Optional[bool] = pydantic.Field(default=None) """ Enable real-time monitoring of conversations via WebSocket diff --git a/src/elevenlabs/types/conversation_config_workflow_override.py b/src/elevenlabs/types/conversation_config_workflow_override.py index e5ccdbaf..08037e1a 100644 --- a/src/elevenlabs/types/conversation_config_workflow_override.py +++ b/src/elevenlabs/types/conversation_config_workflow_override.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel from .client_event import ClientEvent +from .file_input_config_workflow_override import FileInputConfigWorkflowOverride class ConversationConfigWorkflowOverride(UncheckedBaseModel): @@ -24,6 +25,11 @@ class ConversationConfigWorkflowOverride(UncheckedBaseModel): The events that will be sent to the client """ + file_input: typing.Optional[FileInputConfigWorkflowOverride] = pydantic.Field(default=None) + """ + Configuration for file input (image/PDF uploads) during conversations. + """ + monitoring_enabled: typing.Optional[bool] = pydantic.Field(default=None) """ Enable real-time monitoring of conversations via WebSocket diff --git a/src/elevenlabs/types/conversation_history_transcript_common_model_input.py b/src/elevenlabs/types/conversation_history_transcript_common_model_input.py index ad3defc2..13afd882 100644 --- a/src/elevenlabs/types/conversation_history_transcript_common_model_input.py +++ b/src/elevenlabs/types/conversation_history_transcript_common_model_input.py @@ -39,6 +39,7 @@ class ConversationHistoryTranscriptCommonModelInput(UncheckedBaseModel): interrupted: typing.Optional[bool] = None original_message: typing.Optional[str] = None source_medium: typing.Optional[ChatSourceMedium] = None + source_event_id: typing.Optional[int] = 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/conversation_history_transcript_common_model_output.py b/src/elevenlabs/types/conversation_history_transcript_common_model_output.py index f3c92a64..e35278dd 100644 --- a/src/elevenlabs/types/conversation_history_transcript_common_model_output.py +++ b/src/elevenlabs/types/conversation_history_transcript_common_model_output.py @@ -39,6 +39,7 @@ class ConversationHistoryTranscriptCommonModelOutput(UncheckedBaseModel): interrupted: typing.Optional[bool] = None original_message: typing.Optional[str] = None source_medium: typing.Optional[ChatSourceMedium] = None + source_event_id: typing.Optional[int] = 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/conversation_history_transcript_response_model.py b/src/elevenlabs/types/conversation_history_transcript_response_model.py index 2fdc55af..a754ae60 100644 --- a/src/elevenlabs/types/conversation_history_transcript_response_model.py +++ b/src/elevenlabs/types/conversation_history_transcript_response_model.py @@ -42,6 +42,7 @@ class ConversationHistoryTranscriptResponseModel(UncheckedBaseModel): interrupted: typing.Optional[bool] = None original_message: typing.Optional[str] = None source_medium: typing.Optional[ChatSourceMedium] = None + source_event_id: typing.Optional[int] = None file_input: typing.Optional[ConversationHistoryTranscriptFileInputResponseModel] = None if IS_PYDANTIC_V2: diff --git a/src/elevenlabs/types/conversation_initiation_client_data_internal.py b/src/elevenlabs/types/conversation_initiation_client_data_internal.py index 8b4bc04c..948b6901 100644 --- a/src/elevenlabs/types/conversation_initiation_client_data_internal.py +++ b/src/elevenlabs/types/conversation_initiation_client_data_internal.py @@ -10,6 +10,7 @@ ConversationInitiationClientDataInternalDynamicVariablesValue, ) from .conversation_initiation_source_info import ConversationInitiationSourceInfo +from .orchestrator_tool_mock_behavior_config import OrchestratorToolMockBehaviorConfig class ConversationInitiationClientDataInternal(UncheckedBaseModel): @@ -21,9 +22,23 @@ class ConversationInitiationClientDataInternal(UncheckedBaseModel): """ source_info: typing.Optional[ConversationInitiationSourceInfo] = None + branch_id: typing.Optional[str] = pydantic.Field(default=None) + """ + ID of the agent branch to use for this conversation + """ + + environment: typing.Optional[str] = pydantic.Field(default=None) + """ + Environment to use for resolving environment variables + """ + dynamic_variables: typing.Optional[ typing.Dict[str, typing.Optional[ConversationInitiationClientDataInternalDynamicVariablesValue]] ] = None + tool_mock_config: typing.Optional[OrchestratorToolMockBehaviorConfig] = pydantic.Field(default=None) + """ + Configuration for which tools to mock and fallback behavior + """ 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/conversation_initiation_client_data_request_input.py b/src/elevenlabs/types/conversation_initiation_client_data_request_input.py index 156a9ebf..d87ec569 100644 --- a/src/elevenlabs/types/conversation_initiation_client_data_request_input.py +++ b/src/elevenlabs/types/conversation_initiation_client_data_request_input.py @@ -21,6 +21,16 @@ class ConversationInitiationClientDataRequestInput(UncheckedBaseModel): """ source_info: typing.Optional[ConversationInitiationSourceInfo] = None + branch_id: typing.Optional[str] = pydantic.Field(default=None) + """ + ID of the agent branch to use for this conversation + """ + + environment: typing.Optional[str] = pydantic.Field(default=None) + """ + Environment to use for resolving environment variables + """ + dynamic_variables: typing.Optional[ typing.Dict[str, typing.Optional[ConversationInitiationClientDataRequestInputDynamicVariablesValue]] ] = None diff --git a/src/elevenlabs/types/conversation_initiation_client_data_request_output.py b/src/elevenlabs/types/conversation_initiation_client_data_request_output.py index ed6fc457..f9fe7388 100644 --- a/src/elevenlabs/types/conversation_initiation_client_data_request_output.py +++ b/src/elevenlabs/types/conversation_initiation_client_data_request_output.py @@ -21,6 +21,16 @@ class ConversationInitiationClientDataRequestOutput(UncheckedBaseModel): """ source_info: typing.Optional[ConversationInitiationSourceInfo] = None + branch_id: typing.Optional[str] = pydantic.Field(default=None) + """ + ID of the agent branch to use for this conversation + """ + + environment: typing.Optional[str] = pydantic.Field(default=None) + """ + Environment to use for resolving environment variables + """ + dynamic_variables: typing.Optional[ typing.Dict[str, typing.Optional[ConversationInitiationClientDataRequestOutputDynamicVariablesValue]] ] = None diff --git a/src/elevenlabs/types/create_mtls_auth_request.py b/src/elevenlabs/types/create_mtls_auth_request.py new file mode 100644 index 00000000..72cc82b3 --- /dev/null +++ b/src/elevenlabs/types/create_mtls_auth_request.py @@ -0,0 +1,29 @@ +# 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 + + +class CreateMtlsAuthRequest(UncheckedBaseModel): + """ + Request model for creating mTLS auth connections. + """ + + name: str + provider: str + client_certificate: str + client_key: str + ca_certificate: typing.Optional[str] = None + key_passphrase: typing.Optional[str] = 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/create_simulation_test_request.py b/src/elevenlabs/types/create_simulation_test_request.py index 5b3aa6cd..c2441fa0 100644 --- a/src/elevenlabs/types/create_simulation_test_request.py +++ b/src/elevenlabs/types/create_simulation_test_request.py @@ -9,6 +9,7 @@ from ..core.unchecked_base_model import UncheckedBaseModel from .conversation_history_transcript_common_model_input import ConversationHistoryTranscriptCommonModelInput from .create_simulation_test_request_dynamic_variables_value import CreateSimulationTestRequestDynamicVariablesValue +from .simulation_tool_mock_behavior_config import SimulationToolMockBehaviorConfig from .test_from_conversation_metadata_input import TestFromConversationMetadataInput @@ -46,6 +47,11 @@ class CreateSimulationTestRequest(UncheckedBaseModel): The environment to use when running this simulation test. If not provided, defaults to 'production'. """ + tool_mock_config: typing.Optional[SimulationToolMockBehaviorConfig] = pydantic.Field(default=None) + """ + Configuration for which tools to mock and fallback behavior. + """ + name: str parent_folder_id: typing.Optional[str] = pydantic.Field(default=None) """ diff --git a/src/elevenlabs/types/dependent_unknown_tool_identifier.py b/src/elevenlabs/types/dependent_unknown_tool_identifier.py index 475e8609..1398e1f3 100644 --- a/src/elevenlabs/types/dependent_unknown_tool_identifier.py +++ b/src/elevenlabs/types/dependent_unknown_tool_identifier.py @@ -13,6 +13,8 @@ class DependentUnknownToolIdentifier(UncheckedBaseModel): to which the user has no direct access. """ + id: str + 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/dtmf_input_config.py b/src/elevenlabs/types/dtmf_input_config.py new file mode 100644 index 00000000..d511cfa6 --- /dev/null +++ b/src/elevenlabs/types/dtmf_input_config.py @@ -0,0 +1,32 @@ +# 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 + + +class DtmfInputConfig(UncheckedBaseModel): + """ + Configuration for DTMF (keypad) input collection during phone calls. + """ + + dtmf_input_timeout: typing.Optional[float] = pydantic.Field(default=None) + """ + Timeout in seconds to wait for additional DTMF digits + """ + + hash_terminator: typing.Optional[bool] = pydantic.Field(default=None) + """ + If true, pressing # immediately completes DTMF input + """ + + 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/embedding_model_enum.py b/src/elevenlabs/types/embedding_model_enum.py index 523fc2ae..1844f8e9 100644 --- a/src/elevenlabs/types/embedding_model_enum.py +++ b/src/elevenlabs/types/embedding_model_enum.py @@ -3,5 +3,5 @@ import typing EmbeddingModelEnum = typing.Union[ - typing.Literal["e5_mistral_7b_instruct", "multilingual_e5_large_instruct", "qwen3_embedding_4b"], typing.Any + typing.Literal["e5_mistral_7b_instruct", "multilingual_e5_large_instruct"], typing.Any ] diff --git a/src/elevenlabs/types/features_usage_common_model.py b/src/elevenlabs/types/features_usage_common_model.py index 6f7f8115..96289399 100644 --- a/src/elevenlabs/types/features_usage_common_model.py +++ b/src/elevenlabs/types/features_usage_common_model.py @@ -22,9 +22,11 @@ class FeaturesUsageCommonModel(UncheckedBaseModel): tool_dynamic_variable_updates: typing.Optional[FeatureStatusCommonModel] = None is_livekit: typing.Optional[bool] = None voicemail_detection: typing.Optional[FeatureStatusCommonModel] = None + dtmf_input: typing.Optional[FeatureStatusCommonModel] = None workflow: typing.Optional[WorkflowFeaturesUsageCommonModel] = None agent_testing: typing.Optional[TestsFeatureUsageCommonModel] = None versioning: typing.Optional[FeatureStatusCommonModel] = None + file_input: typing.Optional[FeatureStatusCommonModel] = 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/file_input_config.py b/src/elevenlabs/types/file_input_config.py new file mode 100644 index 00000000..7938c3d2 --- /dev/null +++ b/src/elevenlabs/types/file_input_config.py @@ -0,0 +1,28 @@ +# 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 + + +class FileInputConfig(UncheckedBaseModel): + enabled: typing.Optional[bool] = pydantic.Field(default=None) + """ + When enabled, users may attach images or PDFs in chat when the LLM supports multimodal input. + """ + + max_files_per_conversation: typing.Optional[int] = pydantic.Field(default=None) + """ + Maximum number of files that can be uploaded per conversation. + """ + + 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/object_override_input.py b/src/elevenlabs/types/file_input_config_workflow_override.py similarity index 55% rename from src/elevenlabs/types/object_override_input.py rename to src/elevenlabs/types/file_input_config_workflow_override.py index 3af58f0d..784f0f22 100644 --- a/src/elevenlabs/types/object_override_input.py +++ b/src/elevenlabs/types/file_input_config_workflow_override.py @@ -1,7 +1,5 @@ # This file was auto-generated by Fern from our API Definition. -from __future__ import annotations - import typing import pydantic @@ -9,10 +7,16 @@ from ..core.unchecked_base_model import UncheckedBaseModel -class ObjectOverrideInput(UncheckedBaseModel): - description: typing.Optional[str] = None - properties: typing.Optional[typing.Dict[str, typing.Optional["ObjectOverrideInputPropertiesValue"]]] = None - required: typing.Optional[typing.List[str]] = None +class FileInputConfigWorkflowOverride(UncheckedBaseModel): + enabled: typing.Optional[bool] = pydantic.Field(default=None) + """ + When enabled, users may attach images or PDFs in chat when the LLM supports multimodal input. + """ + + max_files_per_conversation: typing.Optional[int] = pydantic.Field(default=None) + """ + Maximum number of files that can be uploaded per conversation. + """ if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 @@ -22,6 +26,3 @@ class Config: frozen = True smart_union = True extra = pydantic.Extra.allow - - -from .object_override_input_properties_value import ObjectOverrideInputPropertiesValue # noqa: E402, I001 diff --git a/src/elevenlabs/types/genesys_region.py b/src/elevenlabs/types/genesys_region.py new file mode 100644 index 00000000..c744ad73 --- /dev/null +++ b/src/elevenlabs/types/genesys_region.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +GenesysRegion = typing.Union[ + typing.Literal[ + "us_east_1", + "eu_west_1", + "ap_southeast_2", + "ap_northeast_1", + "eu_central_1", + "us_west_2", + "ca_central_1", + "ap_northeast_2", + "eu_west_2", + "ap_south_1", + "us_east_2", + "sa_east_1", + "me_central_1", + "ap_northeast_3", + "eu_central_2", + "mx_central_1", + "ap_southeast_1", + ], + typing.Any, +] diff --git a/src/elevenlabs/types/get_knowledge_base_list_response_model_documents_item.py b/src/elevenlabs/types/get_knowledge_base_list_response_model_documents_item.py index ae749714..609e8f8e 100644 --- a/src/elevenlabs/types/get_knowledge_base_list_response_model_documents_item.py +++ b/src/elevenlabs/types/get_knowledge_base_list_response_model_documents_item.py @@ -105,6 +105,7 @@ class GetKnowledgeBaseListResponseModelDocumentsItem_Url(UncheckedBaseModel): folder_path: typing.Optional[typing.List[KnowledgeBaseFolderPathSegmentSummaryResponseModel]] = None dependent_agents: typing.List[GetKnowledgeBaseSummaryUrlResponseModelDependentAgentsItem] url: str + auto_sync_info: typing.Optional[AutoSyncInfo] = 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_knowledge_base_summary_url_response_model.py b/src/elevenlabs/types/get_knowledge_base_summary_url_response_model.py index 3e0d99fd..d0482583 100644 --- a/src/elevenlabs/types/get_knowledge_base_summary_url_response_model.py +++ b/src/elevenlabs/types/get_knowledge_base_summary_url_response_model.py @@ -5,6 +5,7 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .auto_sync_info import AutoSyncInfo from .document_usage_mode_enum import DocumentUsageModeEnum from .get_knowledge_base_summary_url_response_model_dependent_agents_item import ( GetKnowledgeBaseSummaryUrlResponseModelDependentAgentsItem, @@ -40,6 +41,7 @@ class GetKnowledgeBaseSummaryUrlResponseModel(UncheckedBaseModel): """ url: str + auto_sync_info: typing.Optional[AutoSyncInfo] = 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_library_voices_response.py b/src/elevenlabs/types/get_library_voices_response.py index f24a8146..b650ba2c 100644 --- a/src/elevenlabs/types/get_library_voices_response.py +++ b/src/elevenlabs/types/get_library_voices_response.py @@ -19,6 +19,11 @@ class GetLibraryVoicesResponse(UncheckedBaseModel): Whether there are more shared voices in subsequent pages. """ + total_count: typing.Optional[int] = pydantic.Field(default=None) + """ + The total number of shared voices matching the query. + """ + last_sort_id: typing.Optional[str] = None if IS_PYDANTIC_V2: diff --git a/src/elevenlabs/types/get_simulation_test_response_model.py b/src/elevenlabs/types/get_simulation_test_response_model.py index 02f37d18..5148aaa4 100644 --- a/src/elevenlabs/types/get_simulation_test_response_model.py +++ b/src/elevenlabs/types/get_simulation_test_response_model.py @@ -11,6 +11,7 @@ from .get_simulation_test_response_model_dynamic_variables_value import ( GetSimulationTestResponseModelDynamicVariablesValue, ) +from .simulation_tool_mock_behavior_config import SimulationToolMockBehaviorConfig from .test_from_conversation_metadata_output import TestFromConversationMetadataOutput @@ -48,6 +49,11 @@ class GetSimulationTestResponseModel(UncheckedBaseModel): The environment to use when running this simulation test. If not provided, defaults to 'production'. """ + tool_mock_config: typing.Optional[SimulationToolMockBehaviorConfig] = pydantic.Field(default=None) + """ + Configuration for which tools to mock and fallback behavior. + """ + id: str name: str diff --git a/src/elevenlabs/types/knowledge_base_summary_batch_successful_response_model_data.py b/src/elevenlabs/types/knowledge_base_summary_batch_successful_response_model_data.py index 7885decf..2a9b8b5f 100644 --- a/src/elevenlabs/types/knowledge_base_summary_batch_successful_response_model_data.py +++ b/src/elevenlabs/types/knowledge_base_summary_batch_successful_response_model_data.py @@ -105,6 +105,7 @@ class KnowledgeBaseSummaryBatchSuccessfulResponseModelData_Url(UncheckedBaseMode folder_path: typing.Optional[typing.List[KnowledgeBaseFolderPathSegmentSummaryResponseModel]] = None dependent_agents: typing.List[GetKnowledgeBaseSummaryUrlResponseModelDependentAgentsItem] url: str + auto_sync_info: typing.Optional[AutoSyncInfo] = 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_auth_connections_response_auth_connections_item.py b/src/elevenlabs/types/list_auth_connections_response_auth_connections_item.py index aeba58bf..01011b73 100644 --- a/src/elevenlabs/types/list_auth_connections_response_auth_connections_item.py +++ b/src/elevenlabs/types/list_auth_connections_response_auth_connections_item.py @@ -13,6 +13,7 @@ ) from .auth_connection_dependencies import AuthConnectionDependencies from .o_auth_2_jwt_response_algorithm import OAuth2JwtResponseAlgorithm +from .o_auth_connection_status import OAuthConnectionStatus from .private_key_jwt_response_algorithm import PrivateKeyJwtResponseAlgorithm @@ -30,6 +31,9 @@ class ListAuthConnectionsResponseAuthConnectionsItem_ApiIntegrationOauth2AuthCod expires_at: str integration_id: str credential_id: str + status: typing.Optional[OAuthConnectionStatus] = None + status_detail: typing.Optional[str] = None + status_updated_at: typing.Optional[str] = None id: str used_by: typing.Optional[AuthConnectionDependencies] = None @@ -108,6 +112,27 @@ class Config: extra = pydantic.Extra.allow +class ListAuthConnectionsResponseAuthConnectionsItem_Mtls(UncheckedBaseModel): + """ + The type of auth connection config + """ + + auth_type: typing.Literal["mtls"] = "mtls" + name: str + provider: str + id: str + used_by: typing.Optional[AuthConnectionDependencies] = 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 + + class ListAuthConnectionsResponseAuthConnectionsItem_Oauth2ClientCredentials(UncheckedBaseModel): """ The type of auth connection config @@ -220,6 +245,7 @@ class Config: ListAuthConnectionsResponseAuthConnectionsItem_BasicAuth, ListAuthConnectionsResponseAuthConnectionsItem_BearerAuth, ListAuthConnectionsResponseAuthConnectionsItem_CustomHeaderAuth, + ListAuthConnectionsResponseAuthConnectionsItem_Mtls, ListAuthConnectionsResponseAuthConnectionsItem_Oauth2ClientCredentials, ListAuthConnectionsResponseAuthConnectionsItem_Oauth2Jwt, ListAuthConnectionsResponseAuthConnectionsItem_PrivateKeyJwt, diff --git a/src/elevenlabs/types/literal_override_constant_value.py b/src/elevenlabs/types/literal_override_constant_value.py deleted file mode 100644 index 2bff1e1b..00000000 --- a/src/elevenlabs/types/literal_override_constant_value.py +++ /dev/null @@ -1,5 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -LiteralOverrideConstantValue = typing.Union[str, int, float, bool] diff --git a/src/elevenlabs/types/message_search_sort_by.py b/src/elevenlabs/types/message_search_sort_by.py new file mode 100644 index 00000000..e3b8a23e --- /dev/null +++ b/src/elevenlabs/types/message_search_sort_by.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +MessageSearchSortBy = typing.Union[typing.Literal["search_score", "created_at"], typing.Any] diff --git a/src/elevenlabs/types/mock_no_match_behavior.py b/src/elevenlabs/types/mock_no_match_behavior.py new file mode 100644 index 00000000..01b1165f --- /dev/null +++ b/src/elevenlabs/types/mock_no_match_behavior.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +MockNoMatchBehavior = typing.Union[typing.Literal["call_real_tool", "raise_error"], typing.Any] diff --git a/src/elevenlabs/types/mocking_strategy.py b/src/elevenlabs/types/mocking_strategy.py new file mode 100644 index 00000000..009268b4 --- /dev/null +++ b/src/elevenlabs/types/mocking_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +MockingStrategy = typing.Union[typing.Literal["all", "selected", "none"], typing.Any] diff --git a/src/elevenlabs/types/mtls_auth_response.py b/src/elevenlabs/types/mtls_auth_response.py new file mode 100644 index 00000000..c274f636 --- /dev/null +++ b/src/elevenlabs/types/mtls_auth_response.py @@ -0,0 +1,28 @@ +# 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 .auth_connection_dependencies import AuthConnectionDependencies + + +class MtlsAuthResponse(UncheckedBaseModel): + """ + Response model for mTLS auth connections. + """ + + name: str + provider: str + id: str + used_by: typing.Optional[AuthConnectionDependencies] = 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/o_auth_connection_status.py b/src/elevenlabs/types/o_auth_connection_status.py new file mode 100644 index 00000000..c173c3c2 --- /dev/null +++ b/src/elevenlabs/types/o_auth_connection_status.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +OAuthConnectionStatus = typing.Union[typing.Literal["active", "refresh_failed", "revoked"], typing.Any] diff --git a/src/elevenlabs/types/object_override_input_properties_value.py b/src/elevenlabs/types/object_override_input_properties_value.py deleted file mode 100644 index aea3b4d9..00000000 --- a/src/elevenlabs/types/object_override_input_properties_value.py +++ /dev/null @@ -1,11 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import typing - -from .literal_override import LiteralOverride - -if typing.TYPE_CHECKING: - from .object_override_input import ObjectOverrideInput -ObjectOverrideInputPropertiesValue = typing.Union[LiteralOverride, "ObjectOverrideInput"] diff --git a/src/elevenlabs/types/object_override_output_properties_value.py b/src/elevenlabs/types/object_override_output_properties_value.py deleted file mode 100644 index 587497fc..00000000 --- a/src/elevenlabs/types/object_override_output_properties_value.py +++ /dev/null @@ -1,11 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import typing - -from .literal_override import LiteralOverride - -if typing.TYPE_CHECKING: - from .object_override_output import ObjectOverrideOutput -ObjectOverrideOutputPropertiesValue = typing.Union[LiteralOverride, "ObjectOverrideOutput"] diff --git a/src/elevenlabs/types/orchestrator_tool_mock_behavior_config.py b/src/elevenlabs/types/orchestrator_tool_mock_behavior_config.py new file mode 100644 index 00000000..794f445c --- /dev/null +++ b/src/elevenlabs/types/orchestrator_tool_mock_behavior_config.py @@ -0,0 +1,39 @@ +# 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 .mock_no_match_behavior import MockNoMatchBehavior +from .mocking_strategy import MockingStrategy + + +class OrchestratorToolMockBehaviorConfig(UncheckedBaseModel): + """ + Orchestrator-side config: tools are identified by resolved names. + """ + + mocking_strategy: typing.Optional[MockingStrategy] = pydantic.Field(default=None) + """ + Which tools to mock: 'all' mocks every mockable tool, 'selected' mocks only those in mocked_tool_names/mocked_tool_ids, 'none' disables mocking. + """ + + fallback_strategy: typing.Optional[MockNoMatchBehavior] = pydantic.Field(default=None) + """ + Behavior when no mock matches a tool call. + """ + + mocked_tool_names: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Tool names to mock. Only used when mocking_strategy is 'selected'. + """ + + 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/permission_type.py b/src/elevenlabs/types/permission_type.py index 96d5d737..1aa95fe9 100644 --- a/src/elevenlabs/types/permission_type.py +++ b/src/elevenlabs/types/permission_type.py @@ -47,6 +47,7 @@ "workspace_members_invite", "workspace_members_remove", "terms_of_service_accept", + "audit_log_read", ], typing.Any, ] diff --git a/src/elevenlabs/types/procedure_compiler_mode.py b/src/elevenlabs/types/procedure_compiler_mode.py new file mode 100644 index 00000000..3985b14c --- /dev/null +++ b/src/elevenlabs/types/procedure_compiler_mode.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ProcedureCompilerMode = typing.Union[typing.Literal["llm", "deterministic"], typing.Any] diff --git a/src/elevenlabs/types/procedure_settings.py b/src/elevenlabs/types/procedure_settings.py new file mode 100644 index 00000000..168ac558 --- /dev/null +++ b/src/elevenlabs/types/procedure_settings.py @@ -0,0 +1,21 @@ +# 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 .procedure_compiler_mode import ProcedureCompilerMode + + +class ProcedureSettings(UncheckedBaseModel): + compiler_mode: typing.Optional[ProcedureCompilerMode] = 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/project_extended_response_model_assets_item.py b/src/elevenlabs/types/project_extended_response_model_assets_item.py index 3e14200d..866028cd 100644 --- a/src/elevenlabs/types/project_extended_response_model_assets_item.py +++ b/src/elevenlabs/types/project_extended_response_model_assets_item.py @@ -8,6 +8,7 @@ import typing_extensions from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel, UnionMetadata +from .audio_analysis import AudioAnalysis from .canvas_placement import CanvasPlacement from .clip_animation import ClipAnimation from .generation_source_context import GenerationSourceContext @@ -56,6 +57,7 @@ class ProjectExtendedResponseModelAssetsItem_Video(UncheckedBaseModel): canvas_placement: typing.Optional[CanvasPlacement] = None animation: typing.Optional[ClipAnimation] = None playback_speed: typing.Optional[float] = None + opacity: typing.Optional[float] = None track_id: typing.Optional[str] = None preview_job_progress: typing.Optional[float] = None import_speech_progress: typing.Optional[float] = None @@ -96,6 +98,7 @@ class ProjectExtendedResponseModelAssetsItem_Audio(UncheckedBaseModel): error: typing.Optional[str] = None current_snapshot_id: typing.Optional[str] = None source_context: typing.Optional[ProjectExternalAudioResponseModelSourceContext] = None + analysis: typing.Optional[AudioAnalysis] = None import_speech_progress: typing.Optional[float] = None if IS_PYDANTIC_V2: @@ -124,6 +127,7 @@ class ProjectExtendedResponseModelAssetsItem_Image(UncheckedBaseModel): order: str canvas_placement: CanvasPlacement animation: typing.Optional[ClipAnimation] = None + opacity: typing.Optional[float] = None created_at_ms: int updated_at_ms: int current_snapshot_id: typing.Optional[str] = None diff --git a/src/elevenlabs/types/project_external_audio_response_model.py b/src/elevenlabs/types/project_external_audio_response_model.py index d76639d4..0f21391b 100644 --- a/src/elevenlabs/types/project_external_audio_response_model.py +++ b/src/elevenlabs/types/project_external_audio_response_model.py @@ -5,6 +5,7 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .audio_analysis import AudioAnalysis from .pending_clip_task import PendingClipTask from .project_external_audio_response_model_source_context import ProjectExternalAudioResponseModelSourceContext @@ -34,6 +35,7 @@ class ProjectExternalAudioResponseModel(UncheckedBaseModel): error: typing.Optional[str] = None current_snapshot_id: typing.Optional[str] = None source_context: typing.Optional[ProjectExternalAudioResponseModelSourceContext] = None + analysis: typing.Optional[AudioAnalysis] = None import_speech_progress: typing.Optional[float] = None if IS_PYDANTIC_V2: diff --git a/src/elevenlabs/types/project_image_response_model.py b/src/elevenlabs/types/project_image_response_model.py index b65e2d28..184d92ce 100644 --- a/src/elevenlabs/types/project_image_response_model.py +++ b/src/elevenlabs/types/project_image_response_model.py @@ -24,6 +24,7 @@ class ProjectImageResponseModel(UncheckedBaseModel): order: str canvas_placement: CanvasPlacement animation: typing.Optional[ClipAnimation] = None + opacity: typing.Optional[float] = None created_at_ms: int updated_at_ms: int current_snapshot_id: typing.Optional[str] = None diff --git a/src/elevenlabs/types/project_video_response_model.py b/src/elevenlabs/types/project_video_response_model.py index dc17d9a2..f62f9104 100644 --- a/src/elevenlabs/types/project_video_response_model.py +++ b/src/elevenlabs/types/project_video_response_model.py @@ -51,6 +51,7 @@ class ProjectVideoResponseModel(UncheckedBaseModel): canvas_placement: typing.Optional[CanvasPlacement] = None animation: typing.Optional[ClipAnimation] = None playback_speed: typing.Optional[float] = None + opacity: typing.Optional[float] = None track_id: typing.Optional[str] = None preview_job_progress: typing.Optional[float] = None import_speech_progress: typing.Optional[float] = None 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..1f0f645d 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 @@ -8,7 +8,7 @@ import typing_extensions from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs from ..core.unchecked_base_model import UncheckedBaseModel, UnionMetadata -from .api_integration_webhook_overrides_input import ApiIntegrationWebhookOverridesInput +from .api_integration_webhook_overrides import ApiIntegrationWebhookOverrides from .dynamic_variable_assignment import DynamicVariableAssignment from .dynamic_variables_config import DynamicVariablesConfig from .system_tool_config_input_params import SystemToolConfigInputParams @@ -39,7 +39,7 @@ class PromptAgentApiModelInputToolsItem_ApiIntegrationWebhook(UncheckedBaseModel tool_version: typing.Optional[str] = None api_integration_id: str api_integration_connection_id: str - api_schema_overrides: typing.Optional[ApiIntegrationWebhookOverridesInput] = None + api_schema_overrides: typing.Optional[ApiIntegrationWebhookOverrides] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 @@ -176,6 +176,5 @@ class Config: ], UnionMetadata(discriminant="type"), ] -update_forward_refs(PromptAgentApiModelInputToolsItem_ApiIntegrationWebhook) update_forward_refs(PromptAgentApiModelInputToolsItem_Client) 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..442d4d32 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 @@ -8,7 +8,7 @@ import typing_extensions from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs from ..core.unchecked_base_model import UncheckedBaseModel, UnionMetadata -from .api_integration_webhook_overrides_output import ApiIntegrationWebhookOverridesOutput +from .api_integration_webhook_overrides import ApiIntegrationWebhookOverrides from .dynamic_variable_assignment import DynamicVariableAssignment from .dynamic_variables_config import DynamicVariablesConfig from .system_tool_config_output_params import SystemToolConfigOutputParams @@ -39,7 +39,7 @@ class PromptAgentApiModelOutputToolsItem_ApiIntegrationWebhook(UncheckedBaseMode tool_version: str api_integration_id: str api_integration_connection_id: str - api_schema_overrides: typing.Optional[ApiIntegrationWebhookOverridesOutput] = None + api_schema_overrides: typing.Optional[ApiIntegrationWebhookOverrides] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 @@ -176,6 +176,5 @@ class Config: ], UnionMetadata(discriminant="type"), ] -update_forward_refs(PromptAgentApiModelOutputToolsItem_ApiIntegrationWebhook) update_forward_refs(PromptAgentApiModelOutputToolsItem_Client) 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..b7d2779a 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 @@ -8,7 +8,7 @@ import typing_extensions from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs from ..core.unchecked_base_model import UncheckedBaseModel, UnionMetadata -from .api_integration_webhook_overrides_input import ApiIntegrationWebhookOverridesInput +from .api_integration_webhook_overrides import ApiIntegrationWebhookOverrides from .dynamic_variable_assignment import DynamicVariableAssignment from .dynamic_variables_config import DynamicVariablesConfig from .system_tool_config_input_params import SystemToolConfigInputParams @@ -39,7 +39,7 @@ class PromptAgentApiModelWorkflowOverrideInputToolsItem_ApiIntegrationWebhook(Un tool_version: typing.Optional[str] = None api_integration_id: str api_integration_connection_id: str - api_schema_overrides: typing.Optional[ApiIntegrationWebhookOverridesInput] = None + api_schema_overrides: typing.Optional[ApiIntegrationWebhookOverrides] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 @@ -176,6 +176,5 @@ class Config: ], UnionMetadata(discriminant="type"), ] -update_forward_refs(PromptAgentApiModelWorkflowOverrideInputToolsItem_ApiIntegrationWebhook) update_forward_refs(PromptAgentApiModelWorkflowOverrideInputToolsItem_Client) 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..197ac74e 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 @@ -8,7 +8,7 @@ import typing_extensions from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs from ..core.unchecked_base_model import UncheckedBaseModel, UnionMetadata -from .api_integration_webhook_overrides_output import ApiIntegrationWebhookOverridesOutput +from .api_integration_webhook_overrides import ApiIntegrationWebhookOverrides from .dynamic_variable_assignment import DynamicVariableAssignment from .dynamic_variables_config import DynamicVariablesConfig from .system_tool_config_output_params import SystemToolConfigOutputParams @@ -39,7 +39,7 @@ class PromptAgentApiModelWorkflowOverrideOutputToolsItem_ApiIntegrationWebhook(U tool_version: str api_integration_id: str api_integration_connection_id: str - api_schema_overrides: typing.Optional[ApiIntegrationWebhookOverridesOutput] = None + api_schema_overrides: typing.Optional[ApiIntegrationWebhookOverrides] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 @@ -176,6 +176,5 @@ class Config: ], UnionMetadata(discriminant="type"), ] -update_forward_refs(PromptAgentApiModelWorkflowOverrideOutputToolsItem_ApiIntegrationWebhook) update_forward_refs(PromptAgentApiModelWorkflowOverrideOutputToolsItem_Client) update_forward_refs(PromptAgentApiModelWorkflowOverrideOutputToolsItem_Webhook) diff --git a/src/elevenlabs/types/simulation_test_model.py b/src/elevenlabs/types/simulation_test_model.py index 255d6d83..64c4ffd6 100644 --- a/src/elevenlabs/types/simulation_test_model.py +++ b/src/elevenlabs/types/simulation_test_model.py @@ -9,6 +9,7 @@ from ..core.unchecked_base_model import UncheckedBaseModel from .conversation_history_transcript_common_model_output import ConversationHistoryTranscriptCommonModelOutput from .simulation_test_model_dynamic_variables_value import SimulationTestModelDynamicVariablesValue +from .simulation_tool_mock_behavior_config import SimulationToolMockBehaviorConfig from .test_from_conversation_metadata_output import TestFromConversationMetadataOutput @@ -46,6 +47,11 @@ class SimulationTestModel(UncheckedBaseModel): The environment to use when running this simulation test. If not provided, defaults to 'production'. """ + tool_mock_config: typing.Optional[SimulationToolMockBehaviorConfig] = pydantic.Field(default=None) + """ + Configuration for which tools to mock and fallback behavior. + """ + 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/simulation_tool_mock_behavior_config.py b/src/elevenlabs/types/simulation_tool_mock_behavior_config.py new file mode 100644 index 00000000..7d680e3a --- /dev/null +++ b/src/elevenlabs/types/simulation_tool_mock_behavior_config.py @@ -0,0 +1,39 @@ +# 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 .mock_no_match_behavior import MockNoMatchBehavior +from .mocking_strategy import MockingStrategy + + +class SimulationToolMockBehaviorConfig(UncheckedBaseModel): + """ + Simulation/preview-side config: tools are identified by IDs, resolved to names at runtime. + """ + + mocking_strategy: typing.Optional[MockingStrategy] = pydantic.Field(default=None) + """ + Which tools to mock: 'all' mocks every mockable tool, 'selected' mocks only those in mocked_tool_names/mocked_tool_ids, 'none' disables mocking. + """ + + fallback_strategy: typing.Optional[MockNoMatchBehavior] = pydantic.Field(default=None) + """ + Behavior when no mock matches a tool call. + """ + + mocked_tool_ids: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Tool IDs to mock. Resolved to tool names before being passed to the orchestrator. + """ + + 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/speech_history_item_response.py b/src/elevenlabs/types/speech_history_item_response.py index 93cdaa81..7b31b103 100644 --- a/src/elevenlabs/types/speech_history_item_response.py +++ b/src/elevenlabs/types/speech_history_item_response.py @@ -5,6 +5,7 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .avatar_context_response_model import AvatarContextResponseModel from .dialogue_input_response_model import DialogueInputResponseModel from .feedback_item import FeedbackItem from .history_alignments_response_model import HistoryAlignmentsResponseModel @@ -104,6 +105,11 @@ class SpeechHistoryItemResponse(UncheckedBaseModel): The output format the audio was originally generated in. """ + avatar_context: typing.Optional[AvatarContextResponseModel] = pydantic.Field(default=None) + """ + Avatar context if this generation was created from the Avatars video editor. + """ + 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/subscription.py b/src/elevenlabs/types/subscription.py index b9cf5938..2351fbbf 100644 --- a/src/elevenlabs/types/subscription.py +++ b/src/elevenlabs/types/subscription.py @@ -36,7 +36,7 @@ class Subscription(UncheckedBaseModel): can_extend_character_limit: bool = pydantic.Field() """ - Whether the user can extend their character limit. + Whether the workspace is entitled to enter overages (usage-based billing). """ allowed_to_extend_character_limit: bool = pydantic.Field() diff --git a/src/elevenlabs/types/subscription_response.py b/src/elevenlabs/types/subscription_response.py index b9289fa7..aed5e75b 100644 --- a/src/elevenlabs/types/subscription_response.py +++ b/src/elevenlabs/types/subscription_response.py @@ -34,7 +34,7 @@ class SubscriptionResponse(UncheckedBaseModel): can_extend_character_limit: bool = pydantic.Field() """ - Whether the user can extend their character limit. + Whether the workspace is entitled to enter overages (usage-based billing). """ allowed_to_extend_character_limit: bool = pydantic.Field() diff --git a/src/elevenlabs/types/tool_request_model.py b/src/elevenlabs/types/tool_request_model.py index 06e1048b..4b0daf7b 100644 --- a/src/elevenlabs/types/tool_request_model.py +++ b/src/elevenlabs/types/tool_request_model.py @@ -8,6 +8,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs from ..core.unchecked_base_model import UncheckedBaseModel from .tool_request_model_tool_config import ToolRequestModelToolConfig +from .tool_response_mock_config_input import ToolResponseMockConfigInput class ToolRequestModel(UncheckedBaseModel): @@ -16,6 +17,11 @@ class ToolRequestModel(UncheckedBaseModel): Configuration for the tool """ + response_mocks: typing.Optional[typing.List[ToolResponseMockConfigInput]] = pydantic.Field(default=None) + """ + Mock responses with optional parameter conditions. Evaluated top-to-bottom; first match wins. + """ + 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/object_override_output.py b/src/elevenlabs/types/tool_response_mock_config_input.py similarity index 54% rename from src/elevenlabs/types/object_override_output.py rename to src/elevenlabs/types/tool_response_mock_config_input.py index c832ac66..2533923c 100644 --- a/src/elevenlabs/types/object_override_output.py +++ b/src/elevenlabs/types/tool_response_mock_config_input.py @@ -1,18 +1,23 @@ # This file was auto-generated by Fern from our API Definition. -from __future__ import annotations - import typing import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .unit_test_tool_call_parameter import UnitTestToolCallParameter + +class ToolResponseMockConfigInput(UncheckedBaseModel): + parameter_conditions: typing.Optional[typing.List[UnitTestToolCallParameter]] = pydantic.Field(default=None) + """ + If the list is empty, the mock will always activate. + """ -class ObjectOverrideOutput(UncheckedBaseModel): - description: typing.Optional[str] = None - properties: typing.Optional[typing.Dict[str, typing.Optional["ObjectOverrideOutputPropertiesValue"]]] = None - required: typing.Optional[typing.List[str]] = None + mock_result: str = pydantic.Field() + """ + The return value the LLM sees when this mock is active. + """ if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 @@ -22,6 +27,3 @@ class Config: frozen = True smart_union = True extra = pydantic.Extra.allow - - -from .object_override_output_properties_value import ObjectOverrideOutputPropertiesValue # noqa: E402, I001 diff --git a/src/elevenlabs/types/tool_response_mock_config_output.py b/src/elevenlabs/types/tool_response_mock_config_output.py new file mode 100644 index 00000000..099f5ab4 --- /dev/null +++ b/src/elevenlabs/types/tool_response_mock_config_output.py @@ -0,0 +1,29 @@ +# 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 .unit_test_tool_call_parameter import UnitTestToolCallParameter + + +class ToolResponseMockConfigOutput(UncheckedBaseModel): + parameter_conditions: typing.Optional[typing.List[UnitTestToolCallParameter]] = pydantic.Field(default=None) + """ + If the list is empty, the mock will always activate. + """ + + mock_result: str = pydantic.Field() + """ + The return value the LLM sees when this mock is active. + """ + + 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/tool_response_model.py b/src/elevenlabs/types/tool_response_model.py index bdcfa349..8b7be341 100644 --- a/src/elevenlabs/types/tool_response_model.py +++ b/src/elevenlabs/types/tool_response_model.py @@ -8,6 +8,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs from ..core.unchecked_base_model import UncheckedBaseModel from .resource_access_info import ResourceAccessInfo +from .tool_response_mock_config_output import ToolResponseMockConfigOutput from .tool_response_model_tool_config import ToolResponseModelToolConfig from .tool_usage_stats_response_model import ToolUsageStatsResponseModel @@ -21,6 +22,10 @@ class ToolResponseModel(UncheckedBaseModel): access_info: ResourceAccessInfo usage_stats: ToolUsageStatsResponseModel + response_mocks: typing.Optional[typing.List[ToolResponseMockConfigOutput]] = pydantic.Field(default=None) + """ + Mock responses with optional parameter conditions. Evaluated top-to-bottom; first match wins. + """ 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_test_info.py b/src/elevenlabs/types/unit_test_run_response_model_test_info.py index bdf1067c..f1683a71 100644 --- a/src/elevenlabs/types/unit_test_run_response_model_test_info.py +++ b/src/elevenlabs/types/unit_test_run_response_model_test_info.py @@ -13,6 +13,7 @@ from .conversation_history_transcript_common_model_output import ConversationHistoryTranscriptCommonModelOutput from .response_unit_test_model_dynamic_variables_value import ResponseUnitTestModelDynamicVariablesValue from .simulation_test_model_dynamic_variables_value import SimulationTestModelDynamicVariablesValue +from .simulation_tool_mock_behavior_config import SimulationToolMockBehaviorConfig from .test_from_conversation_metadata_output import TestFromConversationMetadataOutput from .tool_call_unit_test_model_dynamic_variables_value import ToolCallUnitTestModelDynamicVariablesValue from .unit_test_tool_call_evaluation_model_output import UnitTestToolCallEvaluationModelOutput @@ -50,6 +51,7 @@ class UnitTestRunResponseModelTestInfo_Simulation(UncheckedBaseModel): simulation_scenario: typing.Optional[str] = None simulation_max_turns: typing.Optional[int] = None simulation_environment: typing.Optional[str] = None + tool_mock_config: typing.Optional[SimulationToolMockBehaviorConfig] = 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_simulation_test_request.py b/src/elevenlabs/types/update_simulation_test_request.py index 54857810..b7be15b4 100644 --- a/src/elevenlabs/types/update_simulation_test_request.py +++ b/src/elevenlabs/types/update_simulation_test_request.py @@ -8,6 +8,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs from ..core.unchecked_base_model import UncheckedBaseModel from .conversation_history_transcript_common_model_input import ConversationHistoryTranscriptCommonModelInput +from .simulation_tool_mock_behavior_config import SimulationToolMockBehaviorConfig from .test_from_conversation_metadata_input import TestFromConversationMetadataInput from .update_simulation_test_request_dynamic_variables_value import UpdateSimulationTestRequestDynamicVariablesValue @@ -46,6 +47,11 @@ class UpdateSimulationTestRequest(UncheckedBaseModel): The environment to use when running this simulation test. If not provided, defaults to 'production'. """ + tool_mock_config: typing.Optional[SimulationToolMockBehaviorConfig] = pydantic.Field(default=None) + """ + Configuration for which tools to mock and fallback behavior. + """ + name: str parent_folder_id: typing.Optional[str] = pydantic.Field(default=None) """ diff --git a/src/elevenlabs/types/video_analysis_result.py b/src/elevenlabs/types/video_analysis_result.py index a4c40ca0..516930f9 100644 --- a/src/elevenlabs/types/video_analysis_result.py +++ b/src/elevenlabs/types/video_analysis_result.py @@ -5,10 +5,10 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.unchecked_base_model import UncheckedBaseModel +from .asset_transcription import AssetTranscription from .video_key_moment import VideoKeyMoment from .video_segment import VideoSegment from .video_subject import VideoSubject -from .video_transcription import VideoTranscription class VideoAnalysisResult(UncheckedBaseModel): @@ -19,7 +19,7 @@ class VideoAnalysisResult(UncheckedBaseModel): subjects: typing.Optional[typing.List[VideoSubject]] = None segments: typing.Optional[typing.List[VideoSegment]] = None key_moments: typing.Optional[typing.List[VideoKeyMoment]] = None - transcription: typing.Optional[VideoTranscription] = None + transcription: typing.Optional[AssetTranscription] = 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/voice.py b/src/elevenlabs/types/voice.py index 4127c535..0536afc2 100644 --- a/src/elevenlabs/types/voice.py +++ b/src/elevenlabs/types/voice.py @@ -8,6 +8,8 @@ from .fine_tuning_response import FineTuningResponse from .verified_voice_language_response_model import VerifiedVoiceLanguageResponseModel from .voice_response_model_category import VoiceResponseModelCategory +from .voice_response_model_labelling_status import VoiceResponseModelLabellingStatus +from .voice_response_model_recording_quality import VoiceResponseModelRecordingQuality from .voice_response_model_safety_control import VoiceResponseModelSafetyControl from .voice_sample import VoiceSample from .voice_settings import VoiceSettings @@ -131,6 +133,21 @@ class Voice(UncheckedBaseModel): Whether the voice is bookmarked by the current user. Only relevant for community (library-copied) voices. """ + recording_quality: typing.Optional[VoiceResponseModelRecordingQuality] = pydantic.Field(default=None) + """ + The recording quality of the voice as determined by the review pipeline. + """ + + labelling_status: typing.Optional[VoiceResponseModelLabellingStatus] = pydantic.Field(default=None) + """ + The review pipeline status of the voice. + """ + + recording_quality_reason: typing.Optional[str] = pydantic.Field(default=None) + """ + The reason for the recording quality assessment, as determined by the review pipeline. + """ + 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/voice_response_model_labelling_status.py b/src/elevenlabs/types/voice_response_model_labelling_status.py new file mode 100644 index 00000000..f8ed2305 --- /dev/null +++ b/src/elevenlabs/types/voice_response_model_labelling_status.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +VoiceResponseModelLabellingStatus = typing.Union[typing.Literal["in_review", "review_complete"], typing.Any] diff --git a/src/elevenlabs/types/voice_response_model_recording_quality.py b/src/elevenlabs/types/voice_response_model_recording_quality.py new file mode 100644 index 00000000..b297ee3a --- /dev/null +++ b/src/elevenlabs/types/voice_response_model_recording_quality.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +VoiceResponseModelRecordingQuality = typing.Union[typing.Literal["studio", "ok", "bad"], typing.Any] diff --git a/src/elevenlabs/types/workflow_edge_model_input_backward_condition.py b/src/elevenlabs/types/workflow_edge_model_input_backward_condition.py index 02166cce..f2e89524 100644 --- a/src/elevenlabs/types/workflow_edge_model_input_backward_condition.py +++ b/src/elevenlabs/types/workflow_edge_model_input_backward_condition.py @@ -8,13 +8,12 @@ import typing_extensions from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs from ..core.unchecked_base_model import UncheckedBaseModel, UnionMetadata -from .workflow_expression_condition_model_input_expression import WorkflowExpressionConditionModelInputExpression class WorkflowEdgeModelInputBackwardCondition_Expression(UncheckedBaseModel): type: typing.Literal["expression"] = "expression" label: typing.Optional[str] = None - expression: WorkflowExpressionConditionModelInputExpression + expression: "AstNodeInput" if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 @@ -26,6 +25,9 @@ class Config: extra = pydantic.Extra.allow +from .ast_node_input import AstNodeInput # noqa: E402, I001 + + class WorkflowEdgeModelInputBackwardCondition_Llm(UncheckedBaseModel): type: typing.Literal["llm"] = "llm" label: typing.Optional[str] = None diff --git a/src/elevenlabs/types/workflow_edge_model_input_forward_condition.py b/src/elevenlabs/types/workflow_edge_model_input_forward_condition.py index 9c2ec742..22790197 100644 --- a/src/elevenlabs/types/workflow_edge_model_input_forward_condition.py +++ b/src/elevenlabs/types/workflow_edge_model_input_forward_condition.py @@ -8,13 +8,12 @@ import typing_extensions from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs from ..core.unchecked_base_model import UncheckedBaseModel, UnionMetadata -from .workflow_expression_condition_model_input_expression import WorkflowExpressionConditionModelInputExpression class WorkflowEdgeModelInputForwardCondition_Expression(UncheckedBaseModel): type: typing.Literal["expression"] = "expression" label: typing.Optional[str] = None - expression: WorkflowExpressionConditionModelInputExpression + expression: "AstNodeInput" if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 @@ -26,6 +25,9 @@ class Config: extra = pydantic.Extra.allow +from .ast_node_input import AstNodeInput # noqa: E402, I001 + + class WorkflowEdgeModelInputForwardCondition_Llm(UncheckedBaseModel): type: typing.Literal["llm"] = "llm" label: typing.Optional[str] = None diff --git a/src/elevenlabs/types/workflow_edge_model_output_backward_condition.py b/src/elevenlabs/types/workflow_edge_model_output_backward_condition.py index 490d18a0..718dab1e 100644 --- a/src/elevenlabs/types/workflow_edge_model_output_backward_condition.py +++ b/src/elevenlabs/types/workflow_edge_model_output_backward_condition.py @@ -8,13 +8,12 @@ import typing_extensions from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs from ..core.unchecked_base_model import UncheckedBaseModel, UnionMetadata -from .workflow_expression_condition_model_output_expression import WorkflowExpressionConditionModelOutputExpression class WorkflowEdgeModelOutputBackwardCondition_Expression(UncheckedBaseModel): type: typing.Literal["expression"] = "expression" label: typing.Optional[str] = None - expression: WorkflowExpressionConditionModelOutputExpression + expression: "AstNodeOutput" if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 @@ -26,6 +25,9 @@ class Config: extra = pydantic.Extra.allow +from .ast_node_output import AstNodeOutput # noqa: E402, I001 + + class WorkflowEdgeModelOutputBackwardCondition_Llm(UncheckedBaseModel): type: typing.Literal["llm"] = "llm" label: typing.Optional[str] = None diff --git a/src/elevenlabs/types/workflow_edge_model_output_forward_condition.py b/src/elevenlabs/types/workflow_edge_model_output_forward_condition.py index bfd30670..e7afd0a9 100644 --- a/src/elevenlabs/types/workflow_edge_model_output_forward_condition.py +++ b/src/elevenlabs/types/workflow_edge_model_output_forward_condition.py @@ -8,13 +8,12 @@ import typing_extensions from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs from ..core.unchecked_base_model import UncheckedBaseModel, UnionMetadata -from .workflow_expression_condition_model_output_expression import WorkflowExpressionConditionModelOutputExpression class WorkflowEdgeModelOutputForwardCondition_Expression(UncheckedBaseModel): type: typing.Literal["expression"] = "expression" label: typing.Optional[str] = None - expression: WorkflowExpressionConditionModelOutputExpression + expression: "AstNodeOutput" if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 @@ -26,6 +25,9 @@ class Config: extra = pydantic.Extra.allow +from .ast_node_output import AstNodeOutput # noqa: E402, I001 + + class WorkflowEdgeModelOutputForwardCondition_Llm(UncheckedBaseModel): type: typing.Literal["llm"] = "llm" label: typing.Optional[str] = None diff --git a/src/elevenlabs/types/workflow_expression_condition_model_input.py b/src/elevenlabs/types/workflow_expression_condition_model_input.py index ec02f454..0cfe3481 100644 --- a/src/elevenlabs/types/workflow_expression_condition_model_input.py +++ b/src/elevenlabs/types/workflow_expression_condition_model_input.py @@ -7,7 +7,6 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs from ..core.unchecked_base_model import UncheckedBaseModel -from .workflow_expression_condition_model_input_expression import WorkflowExpressionConditionModelInputExpression class WorkflowExpressionConditionModelInput(UncheckedBaseModel): @@ -16,7 +15,7 @@ class WorkflowExpressionConditionModelInput(UncheckedBaseModel): Optional human-readable label for the condition used throughout the UI. """ - expression: WorkflowExpressionConditionModelInputExpression = pydantic.Field() + expression: "AstNodeInput" = pydantic.Field() """ Expression to evaluate. """ @@ -31,4 +30,6 @@ class Config: extra = pydantic.Extra.allow +from .ast_node_input import AstNodeInput # noqa: E402, I001 + update_forward_refs(WorkflowExpressionConditionModelInput) diff --git a/src/elevenlabs/types/workflow_expression_condition_model_input_expression.py b/src/elevenlabs/types/workflow_expression_condition_model_input_expression.py deleted file mode 100644 index 365ffc07..00000000 --- a/src/elevenlabs/types/workflow_expression_condition_model_input_expression.py +++ /dev/null @@ -1,336 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import typing - -import pydantic -import typing_extensions -from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs -from ..core.serialization import FieldMetadata -from ..core.unchecked_base_model import UncheckedBaseModel, UnionMetadata -from .astllm_node_input import AstllmNodeInput - - -class WorkflowExpressionConditionModelInputExpression_AndOperator(UncheckedBaseModel): - """ - Expression to evaluate. - """ - - type: typing.Literal["and_operator"] = "and_operator" - children: typing.List["AstAndOperatorNodeInputChildrenItem"] - - 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 - - -from .ast_and_operator_node_input_children_item import AstAndOperatorNodeInputChildrenItem # noqa: E402, I001 - - -class WorkflowExpressionConditionModelInputExpression_BooleanLiteral(UncheckedBaseModel): - """ - Expression to evaluate. - """ - - type: typing.Literal["boolean_literal"] = "boolean_literal" - value: bool - - 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 - - -class WorkflowExpressionConditionModelInputExpression_ConditionalOperator(UncheckedBaseModel): - """ - Expression to evaluate. - """ - - type: typing.Literal["conditional_operator"] = "conditional_operator" - condition: "AstConditionalOperatorNodeInputCondition" - true_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeInputTrueExpression", FieldMetadata(alias="trueExpression") - ] - false_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeInputFalseExpression", FieldMetadata(alias="falseExpression") - ] - - 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 - - -from .ast_conditional_operator_node_input_condition import AstConditionalOperatorNodeInputCondition # noqa: E402, I001 -from .ast_conditional_operator_node_input_true_expression import AstConditionalOperatorNodeInputTrueExpression # noqa: E402, I001 -from .ast_conditional_operator_node_input_false_expression import AstConditionalOperatorNodeInputFalseExpression # noqa: E402, I001 - - -class WorkflowExpressionConditionModelInputExpression_DynamicVariable(UncheckedBaseModel): - """ - Expression to evaluate. - """ - - type: typing.Literal["dynamic_variable"] = "dynamic_variable" - name: str - - 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 - - -class WorkflowExpressionConditionModelInputExpression_EqOperator(UncheckedBaseModel): - """ - Expression to evaluate. - """ - - type: typing.Literal["eq_operator"] = "eq_operator" - left: "AstEqualsOperatorNodeInputLeft" - right: "AstEqualsOperatorNodeInputRight" - - 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 - - -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. - """ - - type: typing.Literal["gt_operator"] = "gt_operator" - left: "AstGreaterThanOperatorNodeInputLeft" - right: "AstGreaterThanOperatorNodeInputRight" - - 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 - - -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. - """ - - type: typing.Literal["gte_operator"] = "gte_operator" - left: "AstGreaterThanOrEqualsOperatorNodeInputLeft" - right: "AstGreaterThanOrEqualsOperatorNodeInputRight" - - 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 - - -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): - value: AstllmNodeInput - type: typing.Literal["llm"] = "llm" - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - - -class WorkflowExpressionConditionModelInputExpression_LtOperator(UncheckedBaseModel): - """ - Expression to evaluate. - """ - - type: typing.Literal["lt_operator"] = "lt_operator" - left: "AstLessThanOperatorNodeInputLeft" - right: "AstLessThanOperatorNodeInputRight" - - 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 - - -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. - """ - - type: typing.Literal["lte_operator"] = "lte_operator" - left: "AstLessThanOrEqualsOperatorNodeInputLeft" - right: "AstLessThanOrEqualsOperatorNodeInputRight" - - 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 - - -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. - """ - - type: typing.Literal["neq_operator"] = "neq_operator" - left: "AstNotEqualsOperatorNodeInputLeft" - right: "AstNotEqualsOperatorNodeInputRight" - - 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 - - -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. - """ - - type: typing.Literal["number_literal"] = "number_literal" - value: float - - 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 - - -class WorkflowExpressionConditionModelInputExpression_OrOperator(UncheckedBaseModel): - """ - Expression to evaluate. - """ - - type: typing.Literal["or_operator"] = "or_operator" - children: typing.List["AstOrOperatorNodeInputChildrenItem"] - - 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 - - -from .ast_or_operator_node_input_children_item import AstOrOperatorNodeInputChildrenItem # noqa: E402, I001 - - -class WorkflowExpressionConditionModelInputExpression_StringLiteral(UncheckedBaseModel): - """ - Expression to evaluate. - """ - - type: typing.Literal["string_literal"] = "string_literal" - value: str - - 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 - - -WorkflowExpressionConditionModelInputExpression = typing_extensions.Annotated[ - typing.Union[ - WorkflowExpressionConditionModelInputExpression_AndOperator, - WorkflowExpressionConditionModelInputExpression_BooleanLiteral, - WorkflowExpressionConditionModelInputExpression_ConditionalOperator, - WorkflowExpressionConditionModelInputExpression_DynamicVariable, - WorkflowExpressionConditionModelInputExpression_EqOperator, - WorkflowExpressionConditionModelInputExpression_GtOperator, - WorkflowExpressionConditionModelInputExpression_GteOperator, - WorkflowExpressionConditionModelInputExpression_Llm, - WorkflowExpressionConditionModelInputExpression_LtOperator, - WorkflowExpressionConditionModelInputExpression_LteOperator, - WorkflowExpressionConditionModelInputExpression_NeqOperator, - WorkflowExpressionConditionModelInputExpression_NumberLiteral, - WorkflowExpressionConditionModelInputExpression_OrOperator, - WorkflowExpressionConditionModelInputExpression_StringLiteral, - ], - UnionMetadata(discriminant="type"), -] -update_forward_refs(WorkflowExpressionConditionModelInputExpression_AndOperator) -update_forward_refs(WorkflowExpressionConditionModelInputExpression_ConditionalOperator) -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) diff --git a/src/elevenlabs/types/workflow_expression_condition_model_output.py b/src/elevenlabs/types/workflow_expression_condition_model_output.py index 05de32f7..aeb0a039 100644 --- a/src/elevenlabs/types/workflow_expression_condition_model_output.py +++ b/src/elevenlabs/types/workflow_expression_condition_model_output.py @@ -7,7 +7,6 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs from ..core.unchecked_base_model import UncheckedBaseModel -from .workflow_expression_condition_model_output_expression import WorkflowExpressionConditionModelOutputExpression class WorkflowExpressionConditionModelOutput(UncheckedBaseModel): @@ -16,7 +15,7 @@ class WorkflowExpressionConditionModelOutput(UncheckedBaseModel): Optional human-readable label for the condition used throughout the UI. """ - expression: WorkflowExpressionConditionModelOutputExpression = pydantic.Field() + expression: "AstNodeOutput" = pydantic.Field() """ Expression to evaluate. """ @@ -31,4 +30,6 @@ class Config: extra = pydantic.Extra.allow +from .ast_node_output import AstNodeOutput # noqa: E402, I001 + update_forward_refs(WorkflowExpressionConditionModelOutput) diff --git a/src/elevenlabs/types/workflow_expression_condition_model_output_expression.py b/src/elevenlabs/types/workflow_expression_condition_model_output_expression.py deleted file mode 100644 index f454a14e..00000000 --- a/src/elevenlabs/types/workflow_expression_condition_model_output_expression.py +++ /dev/null @@ -1,342 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import typing - -import pydantic -import typing_extensions -from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs -from ..core.serialization import FieldMetadata -from ..core.unchecked_base_model import UncheckedBaseModel, UnionMetadata -from .llm_literal_json_schema_property import LlmLiteralJsonSchemaProperty - - -class WorkflowExpressionConditionModelOutputExpression_AndOperator(UncheckedBaseModel): - """ - Expression to evaluate. - """ - - type: typing.Literal["and_operator"] = "and_operator" - children: typing.List["AstAndOperatorNodeOutputChildrenItem"] - - 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 - - -from .ast_and_operator_node_output_children_item import AstAndOperatorNodeOutputChildrenItem # noqa: E402, I001 - - -class WorkflowExpressionConditionModelOutputExpression_BooleanLiteral(UncheckedBaseModel): - """ - Expression to evaluate. - """ - - type: typing.Literal["boolean_literal"] = "boolean_literal" - value: bool - - 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 - - -class WorkflowExpressionConditionModelOutputExpression_ConditionalOperator(UncheckedBaseModel): - """ - Expression to evaluate. - """ - - type: typing.Literal["conditional_operator"] = "conditional_operator" - condition: "AstConditionalOperatorNodeOutputCondition" - true_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeOutputTrueExpression", FieldMetadata(alias="trueExpression") - ] - false_expression: typing_extensions.Annotated[ - "AstConditionalOperatorNodeOutputFalseExpression", FieldMetadata(alias="falseExpression") - ] - - 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 - - -from .ast_conditional_operator_node_output_condition import AstConditionalOperatorNodeOutputCondition # noqa: E402, I001 -from .ast_conditional_operator_node_output_true_expression import AstConditionalOperatorNodeOutputTrueExpression # noqa: E402, I001 -from .ast_conditional_operator_node_output_false_expression import AstConditionalOperatorNodeOutputFalseExpression # noqa: E402, I001 - - -class WorkflowExpressionConditionModelOutputExpression_DynamicVariable(UncheckedBaseModel): - """ - Expression to evaluate. - """ - - type: typing.Literal["dynamic_variable"] = "dynamic_variable" - name: str - - 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 - - -class WorkflowExpressionConditionModelOutputExpression_EqOperator(UncheckedBaseModel): - """ - Expression to evaluate. - """ - - type: typing.Literal["eq_operator"] = "eq_operator" - left: "AstEqualsOperatorNodeOutputLeft" - right: "AstEqualsOperatorNodeOutputRight" - - 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 - - -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. - """ - - type: typing.Literal["gt_operator"] = "gt_operator" - left: "AstGreaterThanOperatorNodeOutputLeft" - right: "AstGreaterThanOperatorNodeOutputRight" - - 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 - - -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. - """ - - type: typing.Literal["gte_operator"] = "gte_operator" - left: "AstGreaterThanOrEqualsOperatorNodeOutputLeft" - right: "AstGreaterThanOrEqualsOperatorNodeOutputRight" - - 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 - - -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. - """ - - type: typing.Literal["llm"] = "llm" - value_schema: LlmLiteralJsonSchemaProperty - prompt: str - - 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 - - -class WorkflowExpressionConditionModelOutputExpression_LtOperator(UncheckedBaseModel): - """ - Expression to evaluate. - """ - - type: typing.Literal["lt_operator"] = "lt_operator" - left: "AstLessThanOperatorNodeOutputLeft" - right: "AstLessThanOperatorNodeOutputRight" - - 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 - - -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. - """ - - type: typing.Literal["lte_operator"] = "lte_operator" - left: "AstLessThanOrEqualsOperatorNodeOutputLeft" - right: "AstLessThanOrEqualsOperatorNodeOutputRight" - - 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 - - -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. - """ - - type: typing.Literal["neq_operator"] = "neq_operator" - left: "AstNotEqualsOperatorNodeOutputLeft" - right: "AstNotEqualsOperatorNodeOutputRight" - - 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 - - -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. - """ - - type: typing.Literal["number_literal"] = "number_literal" - value: float - - 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 - - -class WorkflowExpressionConditionModelOutputExpression_OrOperator(UncheckedBaseModel): - """ - Expression to evaluate. - """ - - type: typing.Literal["or_operator"] = "or_operator" - children: typing.List["AstOrOperatorNodeOutputChildrenItem"] - - 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 - - -from .ast_or_operator_node_output_children_item import AstOrOperatorNodeOutputChildrenItem # noqa: E402, I001 - - -class WorkflowExpressionConditionModelOutputExpression_StringLiteral(UncheckedBaseModel): - """ - Expression to evaluate. - """ - - type: typing.Literal["string_literal"] = "string_literal" - value: str - - 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 - - -WorkflowExpressionConditionModelOutputExpression = typing_extensions.Annotated[ - typing.Union[ - WorkflowExpressionConditionModelOutputExpression_AndOperator, - WorkflowExpressionConditionModelOutputExpression_BooleanLiteral, - WorkflowExpressionConditionModelOutputExpression_ConditionalOperator, - WorkflowExpressionConditionModelOutputExpression_DynamicVariable, - WorkflowExpressionConditionModelOutputExpression_EqOperator, - WorkflowExpressionConditionModelOutputExpression_GtOperator, - WorkflowExpressionConditionModelOutputExpression_GteOperator, - WorkflowExpressionConditionModelOutputExpression_Llm, - WorkflowExpressionConditionModelOutputExpression_LtOperator, - WorkflowExpressionConditionModelOutputExpression_LteOperator, - WorkflowExpressionConditionModelOutputExpression_NeqOperator, - WorkflowExpressionConditionModelOutputExpression_NumberLiteral, - WorkflowExpressionConditionModelOutputExpression_OrOperator, - WorkflowExpressionConditionModelOutputExpression_StringLiteral, - ], - UnionMetadata(discriminant="type"), -] -update_forward_refs(WorkflowExpressionConditionModelOutputExpression_AndOperator) -update_forward_refs(WorkflowExpressionConditionModelOutputExpression_ConditionalOperator) -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) diff --git a/src/elevenlabs/types/workspace_group_permission.py b/src/elevenlabs/types/workspace_group_permission.py index 98d35cd7..84302974 100644 --- a/src/elevenlabs/types/workspace_group_permission.py +++ b/src/elevenlabs/types/workspace_group_permission.py @@ -33,6 +33,7 @@ "workspace_members_invite", "workspace_members_remove", "terms_of_service_accept", + "audit_log_read", ], typing.Any, ] diff --git a/src/elevenlabs/types/workspace_resource_type.py b/src/elevenlabs/types/workspace_resource_type.py index a1846f4a..4fd41477 100644 --- a/src/elevenlabs/types/workspace_resource_type.py +++ b/src/elevenlabs/types/workspace_resource_type.py @@ -38,6 +38,8 @@ "content_generations", "content_templates", "songs", + "avatars", + "avatar_video_generations", ], typing.Any, ] diff --git a/src/elevenlabs/usage/raw_client.py b/src/elevenlabs/usage/raw_client.py index fb8a50ca..4234b41c 100644 --- a/src/elevenlabs/usage/raw_client.py +++ b/src/elevenlabs/usage/raw_client.py @@ -10,7 +10,6 @@ from ..core.unchecked_base_model import construct_type from ..errors.unprocessable_entity_error import UnprocessableEntityError from ..types.breakdown_types import BreakdownTypes -from ..types.http_validation_error import HttpValidationError from ..types.metric_type import MetricType from ..types.usage_aggregation_interval import UsageAggregationInterval from ..types.usage_characters_response_model import UsageCharactersResponseModel @@ -94,9 +93,9 @@ def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -185,9 +184,9 @@ async def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/user/raw_client.py b/src/elevenlabs/user/raw_client.py index 0051c866..d4509749 100644 --- a/src/elevenlabs/user/raw_client.py +++ b/src/elevenlabs/user/raw_client.py @@ -9,7 +9,6 @@ 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 @@ -50,9 +49,9 @@ def get(self, *, request_options: typing.Optional[RequestOptions] = None) -> Htt raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -100,9 +99,9 @@ async def get(self, *, request_options: typing.Optional[RequestOptions] = None) raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/user/subscription/raw_client.py b/src/elevenlabs/user/subscription/raw_client.py index 20686d20..1c2ce7ed 100644 --- a/src/elevenlabs/user/subscription/raw_client.py +++ b/src/elevenlabs/user/subscription/raw_client.py @@ -9,7 +9,6 @@ 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 @@ -50,9 +49,9 @@ def get(self, *, request_options: typing.Optional[RequestOptions] = None) -> Htt raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -100,9 +99,9 @@ async def get(self, *, request_options: typing.Optional[RequestOptions] = None) raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/voices/ivc/raw_client.py b/src/elevenlabs/voices/ivc/raw_client.py index a70725a4..40c73c63 100644 --- a/src/elevenlabs/voices/ivc/raw_client.py +++ b/src/elevenlabs/voices/ivc/raw_client.py @@ -11,7 +11,6 @@ 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 # this is used as the default value for optional parameters @@ -90,9 +89,9 @@ def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -175,9 +174,9 @@ async def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/voices/pvc/raw_client.py b/src/elevenlabs/voices/pvc/raw_client.py index a9096ef6..3102fb90 100644 --- a/src/elevenlabs/voices/pvc/raw_client.py +++ b/src/elevenlabs/voices/pvc/raw_client.py @@ -11,7 +11,6 @@ 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 # this is used as the default value for optional parameters @@ -85,9 +84,9 @@ def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -164,9 +163,9 @@ def update( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -228,9 +227,9 @@ def train( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -308,9 +307,9 @@ async def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -387,9 +386,9 @@ async def update( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -451,9 +450,9 @@ async def train( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_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..e3b16a70 100644 --- a/src/elevenlabs/voices/pvc/samples/audio/raw_client.py +++ b/src/elevenlabs/voices/pvc/samples/audio/raw_client.py @@ -10,7 +10,6 @@ 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 @@ -70,9 +69,9 @@ def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -139,9 +138,9 @@ async def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/voices/pvc/samples/raw_client.py b/src/elevenlabs/voices/pvc/samples/raw_client.py index e99e34a4..fe1d8489 100644 --- a/src/elevenlabs/voices/pvc/samples/raw_client.py +++ b/src/elevenlabs/voices/pvc/samples/raw_client.py @@ -13,7 +13,6 @@ from ....errors.unprocessable_entity_error import UnprocessableEntityError from ....types.add_voice_response_model import AddVoiceResponseModel from ....types.delete_voice_sample_response_model import DeleteVoiceSampleResponseModel -from ....types.http_validation_error import HttpValidationError from ....types.voice_sample import VoiceSample # this is used as the default value for optional parameters @@ -81,9 +80,9 @@ def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -169,9 +168,9 @@ def update( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -222,9 +221,9 @@ def delete( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -296,9 +295,9 @@ async def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -384,9 +383,9 @@ async def update( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -437,9 +436,9 @@ async def delete( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_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..0bfd6f46 100644 --- a/src/elevenlabs/voices/pvc/samples/speakers/audio/raw_client.py +++ b/src/elevenlabs/voices/pvc/samples/speakers/audio/raw_client.py @@ -10,7 +10,6 @@ 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 @@ -62,9 +61,9 @@ def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -123,9 +122,9 @@ async def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_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..279390e8 100644 --- a/src/elevenlabs/voices/pvc/samples/speakers/raw_client.py +++ b/src/elevenlabs/voices/pvc/samples/speakers/raw_client.py @@ -10,7 +10,6 @@ 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 @@ -60,9 +59,9 @@ def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -113,9 +112,9 @@ def separate( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -171,9 +170,9 @@ async def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -224,9 +223,9 @@ async def separate( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_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..f7d0edb1 100644 --- a/src/elevenlabs/voices/pvc/samples/waveform/raw_client.py +++ b/src/elevenlabs/voices/pvc/samples/waveform/raw_client.py @@ -10,7 +10,6 @@ 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 @@ -59,9 +58,9 @@ def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -117,9 +116,9 @@ async def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_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..1b89277e 100644 --- a/src/elevenlabs/voices/pvc/verification/captcha/raw_client.py +++ b/src/elevenlabs/voices/pvc/verification/captcha/raw_client.py @@ -11,7 +11,6 @@ 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 # this is used as the default value for optional parameters @@ -50,9 +49,9 @@ def get(self, voice_id: str, *, request_options: typing.Optional[RequestOptions] raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -109,9 +108,9 @@ def verify( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -156,9 +155,9 @@ async def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -215,9 +214,9 @@ async def verify( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/voices/pvc/verification/raw_client.py b/src/elevenlabs/voices/pvc/verification/raw_client.py index 33007b9d..8ea7cf2f 100644 --- a/src/elevenlabs/voices/pvc/verification/raw_client.py +++ b/src/elevenlabs/voices/pvc/verification/raw_client.py @@ -11,7 +11,6 @@ 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 # this is used as the default value for optional parameters @@ -79,9 +78,9 @@ def request( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -153,9 +152,9 @@ async def request( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/voices/raw_client.py b/src/elevenlabs/voices/raw_client.py index f1a29f07..b779c188 100644 --- a/src/elevenlabs/voices/raw_client.py +++ b/src/elevenlabs/voices/raw_client.py @@ -17,7 +17,6 @@ from ..types.get_library_voices_response import GetLibraryVoicesResponse from ..types.get_voices_response import GetVoicesResponse from ..types.get_voices_v_2_response import GetVoicesV2Response -from ..types.http_validation_error import HttpValidationError from ..types.voice import Voice from .types.voices_get_shared_request_category import VoicesGetSharedRequestCategory from .types.voices_update_request_labels import VoicesUpdateRequestLabels @@ -71,9 +70,9 @@ def get_all( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -177,9 +176,9 @@ def search( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -237,9 +236,9 @@ def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -287,9 +286,9 @@ def delete( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -371,9 +370,9 @@ def update( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -443,9 +442,9 @@ def share( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -583,9 +582,9 @@ def get_shared( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -653,9 +652,9 @@ def find_similar_voices( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -711,9 +710,9 @@ async def get_all( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -817,9 +816,9 @@ async def search( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -877,9 +876,9 @@ async def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -927,9 +926,9 @@ async def delete( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -1011,9 +1010,9 @@ async def update( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -1083,9 +1082,9 @@ async def share( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -1223,9 +1222,9 @@ async def get_shared( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -1293,9 +1292,9 @@ async def find_similar_voices( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/voices/samples/audio/raw_client.py b/src/elevenlabs/voices/samples/audio/raw_client.py index 144242b1..75e748db 100644 --- a/src/elevenlabs/voices/samples/audio/raw_client.py +++ b/src/elevenlabs/voices/samples/audio/raw_client.py @@ -11,7 +11,6 @@ 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 class RawAudioClient: @@ -59,9 +58,9 @@ def _stream() -> HttpResponse[typing.Iterator[bytes]]: raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -122,9 +121,9 @@ async def _stream() -> AsyncHttpResponse[typing.AsyncIterator[bytes]]: raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/voices/settings/raw_client.py b/src/elevenlabs/voices/settings/raw_client.py index 9166a8a2..aeeed6a8 100644 --- a/src/elevenlabs/voices/settings/raw_client.py +++ b/src/elevenlabs/voices/settings/raw_client.py @@ -12,7 +12,6 @@ from ...core.unchecked_base_model import construct_type from ...errors.unprocessable_entity_error import UnprocessableEntityError from ...types.edit_voice_settings_response_model import EditVoiceSettingsResponseModel -from ...types.http_validation_error import HttpValidationError from ...types.voice_settings import VoiceSettings # this is used as the default value for optional parameters @@ -95,9 +94,9 @@ def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -152,9 +151,9 @@ def update( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -243,9 +242,9 @@ async def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -300,9 +299,9 @@ async def update( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/webhooks/raw_client.py b/src/elevenlabs/webhooks/raw_client.py index a67d8289..f565bef7 100644 --- a/src/elevenlabs/webhooks/raw_client.py +++ b/src/elevenlabs/webhooks/raw_client.py @@ -12,7 +12,6 @@ from ..core.unchecked_base_model import construct_type from ..errors.unprocessable_entity_error import UnprocessableEntityError from ..types.delete_workspace_webhook_response_model import DeleteWorkspaceWebhookResponseModel -from ..types.http_validation_error import HttpValidationError from ..types.patch_workspace_webhook_response_model import PatchWorkspaceWebhookResponseModel from ..types.webhook_hmac_settings import WebhookHmacSettings from ..types.workspace_create_webhook_response_model import WorkspaceCreateWebhookResponseModel @@ -67,9 +66,9 @@ def list( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -126,9 +125,9 @@ def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -176,9 +175,9 @@ def delete( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -250,9 +249,9 @@ def update( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -308,9 +307,9 @@ async def list( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -367,9 +366,9 @@ async def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -417,9 +416,9 @@ async def delete( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -491,9 +490,9 @@ async def update( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/workspace/__init__.py b/src/elevenlabs/workspace/__init__.py index f8706949..f1f1c971 100644 --- a/src/elevenlabs/workspace/__init__.py +++ b/src/elevenlabs/workspace/__init__.py @@ -12,6 +12,7 @@ AuthConnectionsCreateRequestBody, AuthConnectionsCreateRequestBody_BasicAuth, AuthConnectionsCreateRequestBody_CustomHeaderAuth, + AuthConnectionsCreateRequestBody_Mtls, AuthConnectionsCreateRequestBody_Oauth2ClientCredentials, AuthConnectionsCreateRequestBody_Oauth2Jwt, AuthConnectionsCreateRequestBody_PrivateKeyJwt, @@ -20,6 +21,7 @@ AuthConnectionsCreateResponse_BasicAuth, AuthConnectionsCreateResponse_BearerAuth, AuthConnectionsCreateResponse_CustomHeaderAuth, + AuthConnectionsCreateResponse_Mtls, AuthConnectionsCreateResponse_Oauth2ClientCredentials, AuthConnectionsCreateResponse_Oauth2Jwt, AuthConnectionsCreateResponse_PrivateKeyJwt, @@ -29,6 +31,7 @@ "AuthConnectionsCreateRequestBody": ".auth_connections", "AuthConnectionsCreateRequestBody_BasicAuth": ".auth_connections", "AuthConnectionsCreateRequestBody_CustomHeaderAuth": ".auth_connections", + "AuthConnectionsCreateRequestBody_Mtls": ".auth_connections", "AuthConnectionsCreateRequestBody_Oauth2ClientCredentials": ".auth_connections", "AuthConnectionsCreateRequestBody_Oauth2Jwt": ".auth_connections", "AuthConnectionsCreateRequestBody_PrivateKeyJwt": ".auth_connections", @@ -37,6 +40,7 @@ "AuthConnectionsCreateResponse_BasicAuth": ".auth_connections", "AuthConnectionsCreateResponse_BearerAuth": ".auth_connections", "AuthConnectionsCreateResponse_CustomHeaderAuth": ".auth_connections", + "AuthConnectionsCreateResponse_Mtls": ".auth_connections", "AuthConnectionsCreateResponse_Oauth2ClientCredentials": ".auth_connections", "AuthConnectionsCreateResponse_Oauth2Jwt": ".auth_connections", "AuthConnectionsCreateResponse_PrivateKeyJwt": ".auth_connections", @@ -75,6 +79,7 @@ def __dir__(): "AuthConnectionsCreateRequestBody", "AuthConnectionsCreateRequestBody_BasicAuth", "AuthConnectionsCreateRequestBody_CustomHeaderAuth", + "AuthConnectionsCreateRequestBody_Mtls", "AuthConnectionsCreateRequestBody_Oauth2ClientCredentials", "AuthConnectionsCreateRequestBody_Oauth2Jwt", "AuthConnectionsCreateRequestBody_PrivateKeyJwt", @@ -83,6 +88,7 @@ def __dir__(): "AuthConnectionsCreateResponse_BasicAuth", "AuthConnectionsCreateResponse_BearerAuth", "AuthConnectionsCreateResponse_CustomHeaderAuth", + "AuthConnectionsCreateResponse_Mtls", "AuthConnectionsCreateResponse_Oauth2ClientCredentials", "AuthConnectionsCreateResponse_Oauth2Jwt", "AuthConnectionsCreateResponse_PrivateKeyJwt", diff --git a/src/elevenlabs/workspace/auth_connections/__init__.py b/src/elevenlabs/workspace/auth_connections/__init__.py index 99138cac..66d5baab 100644 --- a/src/elevenlabs/workspace/auth_connections/__init__.py +++ b/src/elevenlabs/workspace/auth_connections/__init__.py @@ -10,6 +10,7 @@ AuthConnectionsCreateRequestBody, AuthConnectionsCreateRequestBody_BasicAuth, AuthConnectionsCreateRequestBody_CustomHeaderAuth, + AuthConnectionsCreateRequestBody_Mtls, AuthConnectionsCreateRequestBody_Oauth2ClientCredentials, AuthConnectionsCreateRequestBody_Oauth2Jwt, AuthConnectionsCreateRequestBody_PrivateKeyJwt, @@ -18,6 +19,7 @@ AuthConnectionsCreateResponse_BasicAuth, AuthConnectionsCreateResponse_BearerAuth, AuthConnectionsCreateResponse_CustomHeaderAuth, + AuthConnectionsCreateResponse_Mtls, AuthConnectionsCreateResponse_Oauth2ClientCredentials, AuthConnectionsCreateResponse_Oauth2Jwt, AuthConnectionsCreateResponse_PrivateKeyJwt, @@ -27,6 +29,7 @@ "AuthConnectionsCreateRequestBody": ".types", "AuthConnectionsCreateRequestBody_BasicAuth": ".types", "AuthConnectionsCreateRequestBody_CustomHeaderAuth": ".types", + "AuthConnectionsCreateRequestBody_Mtls": ".types", "AuthConnectionsCreateRequestBody_Oauth2ClientCredentials": ".types", "AuthConnectionsCreateRequestBody_Oauth2Jwt": ".types", "AuthConnectionsCreateRequestBody_PrivateKeyJwt": ".types", @@ -35,6 +38,7 @@ "AuthConnectionsCreateResponse_BasicAuth": ".types", "AuthConnectionsCreateResponse_BearerAuth": ".types", "AuthConnectionsCreateResponse_CustomHeaderAuth": ".types", + "AuthConnectionsCreateResponse_Mtls": ".types", "AuthConnectionsCreateResponse_Oauth2ClientCredentials": ".types", "AuthConnectionsCreateResponse_Oauth2Jwt": ".types", "AuthConnectionsCreateResponse_PrivateKeyJwt": ".types", @@ -67,6 +71,7 @@ def __dir__(): "AuthConnectionsCreateRequestBody", "AuthConnectionsCreateRequestBody_BasicAuth", "AuthConnectionsCreateRequestBody_CustomHeaderAuth", + "AuthConnectionsCreateRequestBody_Mtls", "AuthConnectionsCreateRequestBody_Oauth2ClientCredentials", "AuthConnectionsCreateRequestBody_Oauth2Jwt", "AuthConnectionsCreateRequestBody_PrivateKeyJwt", @@ -75,6 +80,7 @@ def __dir__(): "AuthConnectionsCreateResponse_BasicAuth", "AuthConnectionsCreateResponse_BearerAuth", "AuthConnectionsCreateResponse_CustomHeaderAuth", + "AuthConnectionsCreateResponse_Mtls", "AuthConnectionsCreateResponse_Oauth2ClientCredentials", "AuthConnectionsCreateResponse_Oauth2Jwt", "AuthConnectionsCreateResponse_PrivateKeyJwt", diff --git a/src/elevenlabs/workspace/auth_connections/raw_client.py b/src/elevenlabs/workspace/auth_connections/raw_client.py index a8ea885e..6d347a5f 100644 --- a/src/elevenlabs/workspace/auth_connections/raw_client.py +++ b/src/elevenlabs/workspace/auth_connections/raw_client.py @@ -11,7 +11,6 @@ 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.list_auth_connections_response import ListAuthConnectionsResponse from .types.auth_connections_create_request_body import AuthConnectionsCreateRequestBody from .types.auth_connections_create_response import AuthConnectionsCreateResponse @@ -59,9 +58,9 @@ def list( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -115,9 +114,9 @@ def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -166,9 +165,9 @@ def delete( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -218,9 +217,9 @@ async def list( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -274,9 +273,9 @@ async def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -325,9 +324,9 @@ async def delete( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/workspace/auth_connections/types/__init__.py b/src/elevenlabs/workspace/auth_connections/types/__init__.py index 65edbedc..319816bc 100644 --- a/src/elevenlabs/workspace/auth_connections/types/__init__.py +++ b/src/elevenlabs/workspace/auth_connections/types/__init__.py @@ -10,6 +10,7 @@ AuthConnectionsCreateRequestBody, AuthConnectionsCreateRequestBody_BasicAuth, AuthConnectionsCreateRequestBody_CustomHeaderAuth, + AuthConnectionsCreateRequestBody_Mtls, AuthConnectionsCreateRequestBody_Oauth2ClientCredentials, AuthConnectionsCreateRequestBody_Oauth2Jwt, AuthConnectionsCreateRequestBody_PrivateKeyJwt, @@ -20,6 +21,7 @@ AuthConnectionsCreateResponse_BasicAuth, AuthConnectionsCreateResponse_BearerAuth, AuthConnectionsCreateResponse_CustomHeaderAuth, + AuthConnectionsCreateResponse_Mtls, AuthConnectionsCreateResponse_Oauth2ClientCredentials, AuthConnectionsCreateResponse_Oauth2Jwt, AuthConnectionsCreateResponse_PrivateKeyJwt, @@ -29,6 +31,7 @@ "AuthConnectionsCreateRequestBody": ".auth_connections_create_request_body", "AuthConnectionsCreateRequestBody_BasicAuth": ".auth_connections_create_request_body", "AuthConnectionsCreateRequestBody_CustomHeaderAuth": ".auth_connections_create_request_body", + "AuthConnectionsCreateRequestBody_Mtls": ".auth_connections_create_request_body", "AuthConnectionsCreateRequestBody_Oauth2ClientCredentials": ".auth_connections_create_request_body", "AuthConnectionsCreateRequestBody_Oauth2Jwt": ".auth_connections_create_request_body", "AuthConnectionsCreateRequestBody_PrivateKeyJwt": ".auth_connections_create_request_body", @@ -37,6 +40,7 @@ "AuthConnectionsCreateResponse_BasicAuth": ".auth_connections_create_response", "AuthConnectionsCreateResponse_BearerAuth": ".auth_connections_create_response", "AuthConnectionsCreateResponse_CustomHeaderAuth": ".auth_connections_create_response", + "AuthConnectionsCreateResponse_Mtls": ".auth_connections_create_response", "AuthConnectionsCreateResponse_Oauth2ClientCredentials": ".auth_connections_create_response", "AuthConnectionsCreateResponse_Oauth2Jwt": ".auth_connections_create_response", "AuthConnectionsCreateResponse_PrivateKeyJwt": ".auth_connections_create_response", @@ -69,6 +73,7 @@ def __dir__(): "AuthConnectionsCreateRequestBody", "AuthConnectionsCreateRequestBody_BasicAuth", "AuthConnectionsCreateRequestBody_CustomHeaderAuth", + "AuthConnectionsCreateRequestBody_Mtls", "AuthConnectionsCreateRequestBody_Oauth2ClientCredentials", "AuthConnectionsCreateRequestBody_Oauth2Jwt", "AuthConnectionsCreateRequestBody_PrivateKeyJwt", @@ -77,6 +82,7 @@ def __dir__(): "AuthConnectionsCreateResponse_BasicAuth", "AuthConnectionsCreateResponse_BearerAuth", "AuthConnectionsCreateResponse_CustomHeaderAuth", + "AuthConnectionsCreateResponse_Mtls", "AuthConnectionsCreateResponse_Oauth2ClientCredentials", "AuthConnectionsCreateResponse_Oauth2Jwt", "AuthConnectionsCreateResponse_PrivateKeyJwt", diff --git a/src/elevenlabs/workspace/auth_connections/types/auth_connections_create_request_body.py b/src/elevenlabs/workspace/auth_connections/types/auth_connections_create_request_body.py index c0cfa84b..6c8bc6db 100644 --- a/src/elevenlabs/workspace/auth_connections/types/auth_connections_create_request_body.py +++ b/src/elevenlabs/workspace/auth_connections/types/auth_connections_create_request_body.py @@ -136,6 +136,29 @@ class Config: extra = pydantic.Extra.allow +class AuthConnectionsCreateRequestBody_Mtls(UncheckedBaseModel): + """ + Auth connection to create + """ + + auth_type: typing.Literal["mtls"] = "mtls" + name: str + provider: str + client_certificate: str + client_key: str + ca_certificate: typing.Optional[str] = None + key_passphrase: typing.Optional[str] = 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 + + AuthConnectionsCreateRequestBody = typing_extensions.Annotated[ typing.Union[ AuthConnectionsCreateRequestBody_Oauth2ClientCredentials, @@ -143,6 +166,7 @@ class Config: AuthConnectionsCreateRequestBody_BasicAuth, AuthConnectionsCreateRequestBody_Oauth2Jwt, AuthConnectionsCreateRequestBody_PrivateKeyJwt, + AuthConnectionsCreateRequestBody_Mtls, ], UnionMetadata(discriminant="auth_type"), ] diff --git a/src/elevenlabs/workspace/auth_connections/types/auth_connections_create_response.py b/src/elevenlabs/workspace/auth_connections/types/auth_connections_create_response.py index 073651f6..8cb84ae2 100644 --- a/src/elevenlabs/workspace/auth_connections/types/auth_connections_create_response.py +++ b/src/elevenlabs/workspace/auth_connections/types/auth_connections_create_response.py @@ -13,6 +13,7 @@ ) from ....types.auth_connection_dependencies import AuthConnectionDependencies from ....types.o_auth_2_jwt_response_algorithm import OAuth2JwtResponseAlgorithm +from ....types.o_auth_connection_status import OAuthConnectionStatus from ....types.private_key_jwt_response_algorithm import PrivateKeyJwtResponseAlgorithm @@ -143,6 +144,27 @@ class Config: extra = pydantic.Extra.allow +class AuthConnectionsCreateResponse_Mtls(UncheckedBaseModel): + """ + The type of auth connection config + """ + + auth_type: typing.Literal["mtls"] = "mtls" + name: str + provider: str + id: str + used_by: typing.Optional[AuthConnectionDependencies] = 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 + + class AuthConnectionsCreateResponse_CustomHeaderAuth(UncheckedBaseModel): """ The type of auth connection config @@ -179,6 +201,9 @@ class AuthConnectionsCreateResponse_ApiIntegrationOauth2AuthCode(UncheckedBaseMo expires_at: str integration_id: str credential_id: str + status: typing.Optional[OAuthConnectionStatus] = None + status_detail: typing.Optional[str] = None + status_updated_at: typing.Optional[str] = None id: str used_by: typing.Optional[AuthConnectionDependencies] = None @@ -221,6 +246,7 @@ class Config: AuthConnectionsCreateResponse_BearerAuth, AuthConnectionsCreateResponse_Oauth2Jwt, AuthConnectionsCreateResponse_PrivateKeyJwt, + AuthConnectionsCreateResponse_Mtls, AuthConnectionsCreateResponse_CustomHeaderAuth, AuthConnectionsCreateResponse_ApiIntegrationOauth2AuthCode, AuthConnectionsCreateResponse_WhatsappAuth, diff --git a/src/elevenlabs/workspace/groups/members/raw_client.py b/src/elevenlabs/workspace/groups/members/raw_client.py index c03cb924..58b6f3aa 100644 --- a/src/elevenlabs/workspace/groups/members/raw_client.py +++ b/src/elevenlabs/workspace/groups/members/raw_client.py @@ -12,7 +12,6 @@ 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 # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -70,9 +69,9 @@ def remove( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -130,9 +129,9 @@ def add( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -195,9 +194,9 @@ async def remove( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -255,9 +254,9 @@ async def add( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/workspace/groups/raw_client.py b/src/elevenlabs/workspace/groups/raw_client.py index 85ca848f..872b926c 100644 --- a/src/elevenlabs/workspace/groups/raw_client.py +++ b/src/elevenlabs/workspace/groups/raw_client.py @@ -9,7 +9,6 @@ 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 @@ -53,9 +52,9 @@ def list( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -106,9 +105,9 @@ def search( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -158,9 +157,9 @@ async def list( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -211,9 +210,9 @@ async def search( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/workspace/invites/raw_client.py b/src/elevenlabs/workspace/invites/raw_client.py index 2da7a156..1831093f 100644 --- a/src/elevenlabs/workspace/invites/raw_client.py +++ b/src/elevenlabs/workspace/invites/raw_client.py @@ -11,7 +11,6 @@ from ...errors.unprocessable_entity_error import UnprocessableEntityError from ...types.add_workspace_invite_response_model import AddWorkspaceInviteResponseModel from ...types.delete_workspace_invite_response_model import DeleteWorkspaceInviteResponseModel -from ...types.http_validation_error import HttpValidationError from ...types.seat_type import SeatType # this is used as the default value for optional parameters @@ -85,9 +84,9 @@ def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -155,9 +154,9 @@ def create_batch( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -212,9 +211,9 @@ def delete( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -292,9 +291,9 @@ async def create( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -362,9 +361,9 @@ async def create_batch( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -419,9 +418,9 @@ async def delete( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/workspace/members/raw_client.py b/src/elevenlabs/workspace/members/raw_client.py index 1f5de96e..4f5def77 100644 --- a/src/elevenlabs/workspace/members/raw_client.py +++ b/src/elevenlabs/workspace/members/raw_client.py @@ -9,7 +9,6 @@ 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 @@ -84,9 +83,9 @@ def update( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -164,9 +163,9 @@ async def update( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), diff --git a/src/elevenlabs/workspace/resources/raw_client.py b/src/elevenlabs/workspace/resources/raw_client.py index a58334e8..bf4dd78e 100644 --- a/src/elevenlabs/workspace/resources/raw_client.py +++ b/src/elevenlabs/workspace/resources/raw_client.py @@ -10,7 +10,6 @@ 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.resource_metadata_response_model import ResourceMetadataResponseModel from ...types.workspace_resource_type import WorkspaceResourceType from .types.body_share_workspace_resource_v_1_workspace_resources_resource_id_share_post_role import ( @@ -73,9 +72,9 @@ def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -159,9 +158,9 @@ def share( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -240,9 +239,9 @@ def unshare( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -305,9 +304,9 @@ async def get( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -391,9 +390,9 @@ async def share( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ), @@ -472,9 +471,9 @@ async def unshare( raise UnprocessableEntityError( headers=dict(_response.headers), body=typing.cast( - HttpValidationError, + typing.Any, construct_type( - type_=HttpValidationError, # type: ignore + type_=typing.Any, # type: ignore object_=_response.json(), ), ),