diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 79dac3e..8eb71f9 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -131,6 +131,8 @@ docs/Model/Say.md docs/Model/SayAllOf.md docs/Model/SendDigits.md docs/Model/SendDigitsAllOf.md +docs/Model/SetDTMFPassThrough.md +docs/Model/SetDTMFPassThroughAllOf.md docs/Model/SetListen.md docs/Model/SetListenAllOf.md docs/Model/SetTalk.md @@ -282,6 +284,8 @@ lib/Model/Say.php lib/Model/SayAllOf.php lib/Model/SendDigits.php lib/Model/SendDigitsAllOf.php +lib/Model/SetDTMFPassThrough.php +lib/Model/SetDTMFPassThroughAllOf.php lib/Model/SetListen.php lib/Model/SetListenAllOf.php lib/Model/SetTalk.php @@ -302,3 +306,4 @@ lib/Model/UpdateConferenceRequest.php lib/Model/UpdateConferenceRequestStatus.php lib/ObjectSerializer.php phpunit.xml.dist +test/Api/DefaultApiTest.php diff --git a/README.md b/README.md index 1c86bb5..348cc17 100644 --- a/README.md +++ b/README.md @@ -308,6 +308,8 @@ Class | Method | HTTP request | Description - [SayAllOf](docs/Model/SayAllOf.md) - [SendDigits](docs/Model/SendDigits.md) - [SendDigitsAllOf](docs/Model/SendDigitsAllOf.md) +- [SetDTMFPassThrough](docs/Model/SetDTMFPassThrough.md) +- [SetDTMFPassThroughAllOf](docs/Model/SetDTMFPassThroughAllOf.md) - [SetListen](docs/Model/SetListen.md) - [SetListenAllOf](docs/Model/SetListenAllOf.md) - [SetTalk](docs/Model/SetTalk.md) @@ -386,5 +388,5 @@ support@freeclimb.com This PHP package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - API version: `1.0.0` - - Package version: `4.6.0` + - Package version: `4.7.0` - Build package: `org.openapitools.codegen.languages.PhpClientCodegen` \ No newline at end of file diff --git a/composer.json b/composer.json index f797f50..3753228 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "freeclimbapi/php-sdk", - "version": "4.6.0", + "version": "4.7.0", "description": "FreeClimb is a cloud-based application programming interface (API) that puts the power of the Vail platform in your hands. FreeClimb simplifies the process of creating applications that can use a full range of telephony features without requiring specialized or on-site telephony equipment. Using the FreeClimb REST API to write applications is easy! You have the option to use the language of your choice or hit the API directly. Your application can execute a command by issuing a RESTful request to the FreeClimb API. The base URL to send HTTP requests to the FreeClimb REST API is: /apiserver. FreeClimb authenticates and processes your request.", "keywords": [ "openapitools", diff --git a/composer.lock b/composer.lock index b5b5afe..ea44546 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "1891be4631d2200ffa571598e426bb1c", + "content-hash": "2e6a15e0bdc3f77d8792f1f9a2513f63", "packages": [ { "name": "guzzlehttp/guzzle", @@ -537,16 +537,16 @@ }, { "name": "symfony/deprecation-contracts", - "version": "v3.5.0", + "version": "v3.5.1", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1" + "reference": "74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1", - "reference": "0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6", + "reference": "74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6", "shasum": "" }, "require": { @@ -584,7 +584,7 @@ "description": "A generic function and convention to trigger deprecation notices", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.5.0" + "source": "https://github.com/symfony/deprecation-contracts/tree/v3.5.1" }, "funding": [ { @@ -600,7 +600,7 @@ "type": "tidelift" } ], - "time": "2024-04-18T09:32:20+00:00" + "time": "2024-09-25T14:20:29+00:00" } ], "packages-dev": [ @@ -900,29 +900,27 @@ }, { "name": "doctrine/deprecations", - "version": "1.1.3", + "version": "1.1.4", "source": { "type": "git", "url": "https://github.com/doctrine/deprecations.git", - "reference": "dfbaa3c2d2e9a9df1118213f3b8b0c597bb99fab" + "reference": "31610dbb31faa98e6b5447b62340826f54fbc4e9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/deprecations/zipball/dfbaa3c2d2e9a9df1118213f3b8b0c597bb99fab", - "reference": "dfbaa3c2d2e9a9df1118213f3b8b0c597bb99fab", + "url": "https://api.github.com/repos/doctrine/deprecations/zipball/31610dbb31faa98e6b5447b62340826f54fbc4e9", + "reference": "31610dbb31faa98e6b5447b62340826f54fbc4e9", "shasum": "" }, "require": { "php": "^7.1 || ^8.0" }, "require-dev": { - "doctrine/coding-standard": "^9", - "phpstan/phpstan": "1.4.10 || 1.10.15", - "phpstan/phpstan-phpunit": "^1.0", + "doctrine/coding-standard": "^9 || ^12", + "phpstan/phpstan": "1.4.10 || 2.0.3", + "phpstan/phpstan-phpunit": "^1.0 || ^2", "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", - "psalm/plugin-phpunit": "0.18.4", - "psr/log": "^1 || ^2 || ^3", - "vimeo/psalm": "4.30.0 || 5.12.0" + "psr/log": "^1 || ^2 || ^3" }, "suggest": { "psr/log": "Allows logging deprecations via PSR-3 logger implementation" @@ -930,7 +928,7 @@ "type": "library", "autoload": { "psr-4": { - "Doctrine\\Deprecations\\": "lib/Doctrine/Deprecations" + "Doctrine\\Deprecations\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -941,9 +939,9 @@ "homepage": "https://www.doctrine-project.org/", "support": { "issues": "https://github.com/doctrine/deprecations/issues", - "source": "https://github.com/doctrine/deprecations/tree/1.1.3" + "source": "https://github.com/doctrine/deprecations/tree/1.1.4" }, - "time": "2024-01-30T19:34:25+00:00" + "time": "2024-12-07T21:18:45+00:00" }, { "name": "doctrine/instantiator", @@ -1204,16 +1202,16 @@ }, { "name": "myclabs/deep-copy", - "version": "1.12.0", + "version": "1.12.1", "source": { "type": "git", "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "3a6b9a42cd8f8771bd4295d13e1423fa7f3d942c" + "reference": "123267b2c49fbf30d78a7b2d333f6be754b94845" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/3a6b9a42cd8f8771bd4295d13e1423fa7f3d942c", - "reference": "3a6b9a42cd8f8771bd4295d13e1423fa7f3d942c", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/123267b2c49fbf30d78a7b2d333f6be754b94845", + "reference": "123267b2c49fbf30d78a7b2d333f6be754b94845", "shasum": "" }, "require": { @@ -1252,7 +1250,7 @@ ], "support": { "issues": "https://github.com/myclabs/DeepCopy/issues", - "source": "https://github.com/myclabs/DeepCopy/tree/1.12.0" + "source": "https://github.com/myclabs/DeepCopy/tree/1.12.1" }, "funding": [ { @@ -1260,7 +1258,7 @@ "type": "tidelift" } ], - "time": "2024-06-12T14:39:25+00:00" + "time": "2024-11-08T17:47:46+00:00" }, { "name": "nikic/php-parser", @@ -1815,16 +1813,16 @@ }, { "name": "phpunit/phpunit", - "version": "9.6.21", + "version": "9.6.22", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "de6abf3b6f8dd955fac3caad3af7a9504e8c2ffa" + "reference": "f80235cb4d3caa59ae09be3adf1ded27521d1a9c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/de6abf3b6f8dd955fac3caad3af7a9504e8c2ffa", - "reference": "de6abf3b6f8dd955fac3caad3af7a9504e8c2ffa", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/f80235cb4d3caa59ae09be3adf1ded27521d1a9c", + "reference": "f80235cb4d3caa59ae09be3adf1ded27521d1a9c", "shasum": "" }, "require": { @@ -1835,7 +1833,7 @@ "ext-mbstring": "*", "ext-xml": "*", "ext-xmlwriter": "*", - "myclabs/deep-copy": "^1.12.0", + "myclabs/deep-copy": "^1.12.1", "phar-io/manifest": "^2.0.4", "phar-io/version": "^3.2.1", "php": ">=7.3", @@ -1898,7 +1896,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.21" + "source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.22" }, "funding": [ { @@ -1914,7 +1912,7 @@ "type": "tidelift" } ], - "time": "2024-09-19T10:50:18+00:00" + "time": "2024-12-05T13:48:26+00:00" }, { "name": "psr/cache", @@ -3083,16 +3081,16 @@ }, { "name": "symfony/console", - "version": "v5.4.44", + "version": "v5.4.47", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "5b5a0aa66e3296e303e22490f90f521551835a83" + "reference": "c4ba980ca61a9eb18ee6bcc73f28e475852bb1ed" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/5b5a0aa66e3296e303e22490f90f521551835a83", - "reference": "5b5a0aa66e3296e303e22490f90f521551835a83", + "url": "https://api.github.com/repos/symfony/console/zipball/c4ba980ca61a9eb18ee6bcc73f28e475852bb1ed", + "reference": "c4ba980ca61a9eb18ee6bcc73f28e475852bb1ed", "shasum": "" }, "require": { @@ -3162,7 +3160,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v5.4.44" + "source": "https://github.com/symfony/console/tree/v5.4.47" }, "funding": [ { @@ -3178,20 +3176,20 @@ "type": "tidelift" } ], - "time": "2024-09-20T07:56:40+00:00" + "time": "2024-11-06T11:30:55+00:00" }, { "name": "symfony/event-dispatcher", - "version": "v5.4.40", + "version": "v5.4.45", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "a54e2a8a114065f31020d6a89ede83e34c3b27a4" + "reference": "72982eb416f61003e9bb6e91f8b3213600dcf9e9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/a54e2a8a114065f31020d6a89ede83e34c3b27a4", - "reference": "a54e2a8a114065f31020d6a89ede83e34c3b27a4", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/72982eb416f61003e9bb6e91f8b3213600dcf9e9", + "reference": "72982eb416f61003e9bb6e91f8b3213600dcf9e9", "shasum": "" }, "require": { @@ -3247,7 +3245,7 @@ "description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/event-dispatcher/tree/v5.4.40" + "source": "https://github.com/symfony/event-dispatcher/tree/v5.4.45" }, "funding": [ { @@ -3263,20 +3261,20 @@ "type": "tidelift" } ], - "time": "2024-05-31T14:33:22+00:00" + "time": "2024-09-25T14:11:13+00:00" }, { "name": "symfony/event-dispatcher-contracts", - "version": "v3.5.0", + "version": "v3.5.1", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher-contracts.git", - "reference": "8f93aec25d41b72493c6ddff14e916177c9efc50" + "reference": "7642f5e970b672283b7823222ae8ef8bbc160b9f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/8f93aec25d41b72493c6ddff14e916177c9efc50", - "reference": "8f93aec25d41b72493c6ddff14e916177c9efc50", + "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/7642f5e970b672283b7823222ae8ef8bbc160b9f", + "reference": "7642f5e970b672283b7823222ae8ef8bbc160b9f", "shasum": "" }, "require": { @@ -3323,7 +3321,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.5.0" + "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.5.1" }, "funding": [ { @@ -3339,20 +3337,20 @@ "type": "tidelift" } ], - "time": "2024-04-18T09:32:20+00:00" + "time": "2024-09-25T14:20:29+00:00" }, { "name": "symfony/filesystem", - "version": "v5.4.44", + "version": "v5.4.45", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "76c3818964e9d32be3862c9318ae3ba9aa280ddc" + "reference": "57c8294ed37d4a055b77057827c67f9558c95c54" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/76c3818964e9d32be3862c9318ae3ba9aa280ddc", - "reference": "76c3818964e9d32be3862c9318ae3ba9aa280ddc", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/57c8294ed37d4a055b77057827c67f9558c95c54", + "reference": "57c8294ed37d4a055b77057827c67f9558c95c54", "shasum": "" }, "require": { @@ -3390,7 +3388,7 @@ "description": "Provides basic utilities for the filesystem", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/filesystem/tree/v5.4.44" + "source": "https://github.com/symfony/filesystem/tree/v5.4.45" }, "funding": [ { @@ -3406,20 +3404,20 @@ "type": "tidelift" } ], - "time": "2024-09-16T14:52:48+00:00" + "time": "2024-10-22T13:05:35+00:00" }, { "name": "symfony/finder", - "version": "v5.4.43", + "version": "v5.4.45", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "ae25a9145a900764158d439653d5630191155ca0" + "reference": "63741784cd7b9967975eec610b256eed3ede022b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/ae25a9145a900764158d439653d5630191155ca0", - "reference": "ae25a9145a900764158d439653d5630191155ca0", + "url": "https://api.github.com/repos/symfony/finder/zipball/63741784cd7b9967975eec610b256eed3ede022b", + "reference": "63741784cd7b9967975eec610b256eed3ede022b", "shasum": "" }, "require": { @@ -3453,7 +3451,7 @@ "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/finder/tree/v5.4.43" + "source": "https://github.com/symfony/finder/tree/v5.4.45" }, "funding": [ { @@ -3469,20 +3467,20 @@ "type": "tidelift" } ], - "time": "2024-08-13T14:03:51+00:00" + "time": "2024-09-28T13:32:08+00:00" }, { "name": "symfony/options-resolver", - "version": "v5.4.40", + "version": "v5.4.45", "source": { "type": "git", "url": "https://github.com/symfony/options-resolver.git", - "reference": "bd1afbde6613a8d6b956115e0e14b196191fd0c4" + "reference": "74e5b6f0db3e8589e6cfd5efb317a1fc2bb52fb6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/options-resolver/zipball/bd1afbde6613a8d6b956115e0e14b196191fd0c4", - "reference": "bd1afbde6613a8d6b956115e0e14b196191fd0c4", + "url": "https://api.github.com/repos/symfony/options-resolver/zipball/74e5b6f0db3e8589e6cfd5efb317a1fc2bb52fb6", + "reference": "74e5b6f0db3e8589e6cfd5efb317a1fc2bb52fb6", "shasum": "" }, "require": { @@ -3522,7 +3520,7 @@ "options" ], "support": { - "source": "https://github.com/symfony/options-resolver/tree/v5.4.40" + "source": "https://github.com/symfony/options-resolver/tree/v5.4.45" }, "funding": [ { @@ -3538,7 +3536,7 @@ "type": "tidelift" } ], - "time": "2024-05-31T14:33:22+00:00" + "time": "2024-09-25T14:11:13+00:00" }, { "name": "symfony/polyfill-ctype", @@ -3566,8 +3564,8 @@ "type": "library", "extra": { "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "autoload": { @@ -3642,8 +3640,8 @@ "type": "library", "extra": { "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "autoload": { @@ -3720,8 +3718,8 @@ "type": "library", "extra": { "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "autoload": { @@ -3804,8 +3802,8 @@ "type": "library", "extra": { "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "autoload": { @@ -3877,12 +3875,12 @@ }, "type": "metapackage", "extra": { + "thanks": { + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" + }, "branch-alias": { "dev-main": "1.20-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" } }, "notification-url": "https://packagist.org/downloads/", @@ -3946,8 +3944,8 @@ "type": "metapackage", "extra": { "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "notification-url": "https://packagist.org/downloads/", @@ -4011,8 +4009,8 @@ "type": "library", "extra": { "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "autoload": { @@ -4087,8 +4085,8 @@ "type": "library", "extra": { "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "autoload": { @@ -4149,16 +4147,16 @@ }, { "name": "symfony/process", - "version": "v5.4.44", + "version": "v5.4.47", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "1b9fa82b5c62cd49da8c9e3952dd8531ada65096" + "reference": "5d1662fb32ebc94f17ddb8d635454a776066733d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/1b9fa82b5c62cd49da8c9e3952dd8531ada65096", - "reference": "1b9fa82b5c62cd49da8c9e3952dd8531ada65096", + "url": "https://api.github.com/repos/symfony/process/zipball/5d1662fb32ebc94f17ddb8d635454a776066733d", + "reference": "5d1662fb32ebc94f17ddb8d635454a776066733d", "shasum": "" }, "require": { @@ -4191,7 +4189,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v5.4.44" + "source": "https://github.com/symfony/process/tree/v5.4.47" }, "funding": [ { @@ -4207,20 +4205,20 @@ "type": "tidelift" } ], - "time": "2024-09-17T12:46:43+00:00" + "time": "2024-11-06T11:36:42+00:00" }, { "name": "symfony/service-contracts", - "version": "v3.5.0", + "version": "v3.5.1", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "bd1d9e59a81d8fa4acdcea3f617c581f7475a80f" + "reference": "e53260aabf78fb3d63f8d79d69ece59f80d5eda0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/bd1d9e59a81d8fa4acdcea3f617c581f7475a80f", - "reference": "bd1d9e59a81d8fa4acdcea3f617c581f7475a80f", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/e53260aabf78fb3d63f8d79d69ece59f80d5eda0", + "reference": "e53260aabf78fb3d63f8d79d69ece59f80d5eda0", "shasum": "" }, "require": { @@ -4274,7 +4272,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v3.5.0" + "source": "https://github.com/symfony/service-contracts/tree/v3.5.1" }, "funding": [ { @@ -4290,20 +4288,20 @@ "type": "tidelift" } ], - "time": "2024-04-18T09:32:20+00:00" + "time": "2024-09-25T14:20:29+00:00" }, { "name": "symfony/stopwatch", - "version": "v5.4.40", + "version": "v5.4.45", "source": { "type": "git", "url": "https://github.com/symfony/stopwatch.git", - "reference": "0e9daf3b7c805c747638b2cc48f1649e594f9625" + "reference": "fb2c199cf302eb207f8c23e7ee174c1c31a5c004" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/stopwatch/zipball/0e9daf3b7c805c747638b2cc48f1649e594f9625", - "reference": "0e9daf3b7c805c747638b2cc48f1649e594f9625", + "url": "https://api.github.com/repos/symfony/stopwatch/zipball/fb2c199cf302eb207f8c23e7ee174c1c31a5c004", + "reference": "fb2c199cf302eb207f8c23e7ee174c1c31a5c004", "shasum": "" }, "require": { @@ -4336,7 +4334,7 @@ "description": "Provides a way to profile code", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/stopwatch/tree/v5.4.40" + "source": "https://github.com/symfony/stopwatch/tree/v5.4.45" }, "funding": [ { @@ -4352,20 +4350,20 @@ "type": "tidelift" } ], - "time": "2024-05-31T14:33:22+00:00" + "time": "2024-09-25T14:11:13+00:00" }, { "name": "symfony/string", - "version": "v6.4.12", + "version": "v6.4.15", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "f8a1ccebd0997e16112dfecfd74220b78e5b284b" + "reference": "73a5e66ea2e1677c98d4449177c5a9cf9d8b4c6f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/f8a1ccebd0997e16112dfecfd74220b78e5b284b", - "reference": "f8a1ccebd0997e16112dfecfd74220b78e5b284b", + "url": "https://api.github.com/repos/symfony/string/zipball/73a5e66ea2e1677c98d4449177c5a9cf9d8b4c6f", + "reference": "73a5e66ea2e1677c98d4449177c5a9cf9d8b4c6f", "shasum": "" }, "require": { @@ -4422,7 +4420,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v6.4.12" + "source": "https://github.com/symfony/string/tree/v6.4.15" }, "funding": [ { @@ -4438,7 +4436,7 @@ "type": "tidelift" } ], - "time": "2024-09-20T08:15:52+00:00" + "time": "2024-11-13T13:31:12+00:00" }, { "name": "theseer/tokenizer", diff --git a/docs/Api/DefaultApi.md b/docs/Api/DefaultApi.md index 89d0a0b..e94b295 100644 --- a/docs/Api/DefaultApi.md +++ b/docs/Api/DefaultApi.md @@ -2853,7 +2853,7 @@ Name | Type | Description | Notes ## `listParticipants()` ```php -listParticipants($conference_id, $talk, $listen): \FreeClimb\Api\Model\ConferenceParticipantList +listParticipants($conference_id, $talk, $listen, $dtmf_pass_through): \FreeClimb\Api\Model\ConferenceParticipantList ``` List Participants @@ -2884,9 +2884,11 @@ $talk = True; // bool | Only show Participants with the talk privilege. $listen = True; // bool | Only show Participants with the listen privilege. +$dtmf_pass_through = True; // bool | Only show Participants with the dtmfPassThrough privilege. + try { - $result = $apiInstance->listParticipants($conference_id, $talk, $listen); + $result = $apiInstance->listParticipants($conference_id, $talk, $listen, $dtmf_pass_through); print_r($result); } catch (Exception $e) { echo 'Exception when calling DefaultApi->listParticipants: ', $e->getMessage(), PHP_EOL; @@ -2901,6 +2903,7 @@ Name | Type | Description | Notes **conference_id** | **string**| ID of the conference this participant is in. | **talk** | **bool**| Only show Participants with the talk privilege. | [optional] **listen** | **bool**| Only show Participants with the listen privilege. | [optional] + **dtmf_pass_through** | **bool**| Only show Participants with the dtmfPassThrough privilege. | [optional] ### Return type @@ -3555,7 +3558,7 @@ $conference_id = 'conference_id_example'; // string | ID of the conference this $call_id = 'call_id_example'; // string | ID of the Call associated with this participant. -$update_conference_participant_request = new \FreeClimb\Api\Model\UpdateConferenceParticipantRequest(talk={ (Optional) Default is `true`. Setting to `false` mutes the Participant. FreeClimb returns an error and ignores any other value. }, listen={ (Optional) Default is `true`. Setting to `false` silences the Conference for this Participant. FreeClimb returns an error and ignores any other value. }); // \FreeClimb\Api\Model\UpdateConferenceParticipantRequest | Conference participant details to update +$update_conference_participant_request = new \FreeClimb\Api\Model\UpdateConferenceParticipantRequest(talk={ (Optional) Default is `true`. Setting to `false` mutes the Participant. FreeClimb returns an error and ignores any other value. }, listen={ (Optional) Default is `true`. Setting to `false` silences the Conference for this Participant. FreeClimb returns an error and ignores any other value. }, dtmf_pass_through={ (Optional) Default is `true`. Setting to `false` mutes dtmf audio for this Participant. FreeClimb returns an error and ignores any other value. }); // \FreeClimb\Api\Model\UpdateConferenceParticipantRequest | Conference participant details to update try { $result = $apiInstance->updateAParticipant($conference_id, $call_id, $update_conference_participant_request); diff --git a/docs/Model/AddToConference.md b/docs/Model/AddToConference.md index 0403b84..5a3edce 100644 --- a/docs/Model/AddToConference.md +++ b/docs/Model/AddToConference.md @@ -13,5 +13,6 @@ Name | Type | Description | Notes **notification_url** | **string** | When the Participant enters the Conference, this URL will be invoked using an HTTP POST request with the standard request parameters. | [optional] **start_conf_on_enter** | **bool** | Flag that indicates whether a Conference starts upon entry of this particular Participant. This is usually set to `true` for moderators and `false` for all other Participants. | [optional] **talk** | **bool** | If `true`, the Participant joins the Conference with talk privileges. This may be modified later via the REST API or `SetTalk` PerCL command. | [optional] +**dtmf_pass_through** | **bool** | If `true`, the Participant joins the Conference with dtmfPassThrough privileges. This may be modified later via the REST API or `SetDTMFPassThrough` PerCL command. | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/AddToConferenceAllOf.md b/docs/Model/AddToConferenceAllOf.md index 91718c5..daf35a3 100644 --- a/docs/Model/AddToConferenceAllOf.md +++ b/docs/Model/AddToConferenceAllOf.md @@ -13,5 +13,6 @@ Name | Type | Description | Notes **notification_url** | **string** | When the Participant enters the Conference, this URL will be invoked using an HTTP POST request with the standard request parameters. | [optional] **start_conf_on_enter** | **bool** | Flag that indicates whether a Conference starts upon entry of this particular Participant. This is usually set to `true` for moderators and `false` for all other Participants. | [optional] **talk** | **bool** | If `true`, the Participant joins the Conference with talk privileges. This may be modified later via the REST API or `SetTalk` PerCL command. | [optional] +**dtmf_pass_through** | **bool** | If `true`, the Participant joins the Conference with dtmfPassThrough privileges. This may be modified later via the REST API or `SetDTMFPassThrough` PerCL command. | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/CallResult.md b/docs/Model/CallResult.md index 59c7ae5..33aadc9 100644 --- a/docs/Model/CallResult.md +++ b/docs/Model/CallResult.md @@ -23,5 +23,6 @@ Name | Type | Description | Notes **direction** | [**\FreeClimb\Api\Model\CallDirection**](CallDirection.md) | | [optional] **answered_by** | [**\FreeClimb\Api\Model\AnsweredBy**](AnsweredBy.md) | | [optional] **subresource_uris** | **object** | The list of subresources for this Call. These include things like logs and recordings associated with the Call. | [optional] +**application_id** | **string** | ApplicationId associated with the Call. | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/CallResultAllOf.md b/docs/Model/CallResultAllOf.md index d6119d6..e6f5909 100644 --- a/docs/Model/CallResultAllOf.md +++ b/docs/Model/CallResultAllOf.md @@ -19,5 +19,6 @@ Name | Type | Description | Notes **direction** | [**\FreeClimb\Api\Model\CallDirection**](CallDirection.md) | | [optional] **answered_by** | [**\FreeClimb\Api\Model\AnsweredBy**](AnsweredBy.md) | | [optional] **subresource_uris** | **object** | The list of subresources for this Call. These include things like logs and recordings associated with the Call. | [optional] +**application_id** | **string** | ApplicationId associated with the Call. | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/ConferenceParticipantResult.md b/docs/Model/ConferenceParticipantResult.md index 5574c60..61b433e 100644 --- a/docs/Model/ConferenceParticipantResult.md +++ b/docs/Model/ConferenceParticipantResult.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **call_id** | **string** | ID of the Call associated with this Participant. | [optional] **talk** | **bool** | True if this Participant has talk privileges in the Conference. False otherwise. | [optional] **listen** | **bool** | True if this Participant has listen privileges in the Conference. False otherwise. | [optional] +**dtmf_pass_through** | **bool** | True if this Participant had dtmfPassThrough privileges in the Conference. False otherwise. | [optional] **start_conf_on_enter** | **bool** | True if this Participant joining the Conference caused the Conference to start (status = inProgress). False otherwise. | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/ConferenceParticipantResultAllOf.md b/docs/Model/ConferenceParticipantResultAllOf.md index b6199de..f5ec85a 100644 --- a/docs/Model/ConferenceParticipantResultAllOf.md +++ b/docs/Model/ConferenceParticipantResultAllOf.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **call_id** | **string** | ID of the Call associated with this Participant. | [optional] **talk** | **bool** | True if this Participant has talk privileges in the Conference. False otherwise. | [optional] **listen** | **bool** | True if this Participant has listen privileges in the Conference. False otherwise. | [optional] +**dtmf_pass_through** | **bool** | True if this Participant had dtmfPassThrough privileges in the Conference. False otherwise. | [optional] **start_conf_on_enter** | **bool** | True if this Participant joining the Conference caused the Conference to start (status = inProgress). False otherwise. | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/SetDTMFPassThrough.md b/docs/Model/SetDTMFPassThrough.md new file mode 100644 index 0000000..b8af3ce --- /dev/null +++ b/docs/Model/SetDTMFPassThrough.md @@ -0,0 +1,9 @@ +# # SetDTMFPassThrough + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**dtmf_pass_through** | **bool** | Specifying `false` mutes the Participant's dtmf audio. | [optional] + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/SetDTMFPassThroughAllOf.md b/docs/Model/SetDTMFPassThroughAllOf.md new file mode 100644 index 0000000..0172dcc --- /dev/null +++ b/docs/Model/SetDTMFPassThroughAllOf.md @@ -0,0 +1,9 @@ +# # SetDTMFPassThroughAllOf + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**dtmf_pass_through** | **bool** | Specifying `false` mutes the Participant's dtmf audio. | [optional] + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/UpdateConferenceParticipantRequest.md b/docs/Model/UpdateConferenceParticipantRequest.md index 7d848cb..4adc68f 100644 --- a/docs/Model/UpdateConferenceParticipantRequest.md +++ b/docs/Model/UpdateConferenceParticipantRequest.md @@ -6,5 +6,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **talk** | **bool** | (Optional) Default is `true`. Setting to `false` mutes the Participant. FreeClimb returns an error and ignores any other value. | [optional] **listen** | **bool** | (Optional) Default is `true`. Setting to `false` silences the Conference for this Participant. FreeClimb returns an error and ignores any other value. | [optional] +**dtmf_pass_through** | **bool** | (Optional) Default is `true`. Setting to `false` mutes dtmf audio for this Participant. FreeClimb returns an error and ignores any other value. | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/lib/Api/DefaultApi.php b/lib/Api/DefaultApi.php index f0128e1..5060647 100644 --- a/lib/Api/DefaultApi.php +++ b/lib/Api/DefaultApi.php @@ -13299,14 +13299,16 @@ public function listMembersRequest($queue_id) * @param bool $listen Only show Participants with the listen privilege. (optional) + * @param bool $dtmf_pass_through Only show Participants with the dtmfPassThrough privilege. (optional) + * * @throws \FreeClimb\Api\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \FreeClimb\Api\Model\ConferenceParticipantList */ - public function listParticipants($conference_id, $talk = null, $listen = null) + public function listParticipants($conference_id, $talk = null, $listen = null, $dtmf_pass_through = null) { - list($response) = $this->listParticipantsWithHttpInfo($conference_id, $talk, $listen); + list($response) = $this->listParticipantsWithHttpInfo($conference_id, $talk, $listen, $dtmf_pass_through); return $response; } @@ -13322,14 +13324,16 @@ public function listParticipants($conference_id, $talk = null, $listen = null) * @param bool $listen Only show Participants with the listen privilege. (optional) + * @param bool $dtmf_pass_through Only show Participants with the dtmfPassThrough privilege. (optional) + * * @throws \FreeClimb\Api\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \FreeClimb\Api\Model\ConferenceParticipantList, HTTP status code, HTTP response headers (array of strings) */ - public function listParticipantsWithHttpInfo($conference_id, $talk = null, $listen = null) + public function listParticipantsWithHttpInfo($conference_id, $talk = null, $listen = null, $dtmf_pass_through = null) { - $request = $this->listParticipantsRequest($conference_id, $talk, $listen); + $request = $this->listParticipantsRequest($conference_id, $talk, $listen, $dtmf_pass_through); try { $options = $this->createHttpClientOption(); @@ -13421,13 +13425,15 @@ public function listParticipantsWithHttpInfo($conference_id, $talk = null, $list * @param bool $listen Only show Participants with the listen privilege. (optional) + * @param bool $dtmf_pass_through Only show Participants with the dtmfPassThrough privilege. (optional) + * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function listParticipantsAsync($conference_id, $talk = null, $listen = null) + public function listParticipantsAsync($conference_id, $talk = null, $listen = null, $dtmf_pass_through = null) { - return $this->listParticipantsAsyncWithHttpInfo($conference_id, $talk, $listen) + return $this->listParticipantsAsyncWithHttpInfo($conference_id, $talk, $listen, $dtmf_pass_through) ->then( function ($response) { return $response[0]; @@ -13447,14 +13453,16 @@ function ($response) { * @param bool $listen Only show Participants with the listen privilege. (optional) + * @param bool $dtmf_pass_through Only show Participants with the dtmfPassThrough privilege. (optional) + * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function listParticipantsAsyncWithHttpInfo($conference_id, $talk = null, $listen = null) + public function listParticipantsAsyncWithHttpInfo($conference_id, $talk = null, $listen = null, $dtmf_pass_through = null) { $returnType = '\FreeClimb\Api\Model\ConferenceParticipantList'; - $request = $this->listParticipantsRequest($conference_id, $talk, $listen); + $request = $this->listParticipantsRequest($conference_id, $talk, $listen, $dtmf_pass_through); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -13499,11 +13507,13 @@ function ($exception) { * @param bool $listen Only show Participants with the listen privilege. (optional) + * @param bool $dtmf_pass_through Only show Participants with the dtmfPassThrough privilege. (optional) + * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - public function listParticipantsRequest($conference_id, $talk = null, $listen = null) + public function listParticipantsRequest($conference_id, $talk = null, $listen = null, $dtmf_pass_through = null) { $account_id = $this->config->getUsername(); // verify the required parameter 'account_id' is set @@ -13548,6 +13558,17 @@ public function listParticipantsRequest($conference_id, $talk = null, $listen = $queryParams['listen'] = $listen; } } + // query params + if ($dtmf_pass_through !== null) { + if('form' === 'form' && is_array($dtmf_pass_through)) { + foreach($dtmf_pass_through as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['dtmfPassThrough'] = $dtmf_pass_through; + } + } // path params diff --git a/lib/Configuration.php b/lib/Configuration.php index c8b9ae9..7bf6a0b 100644 --- a/lib/Configuration.php +++ b/lib/Configuration.php @@ -91,7 +91,7 @@ class Configuration * * @var string */ - protected $userAgent = 'OpenAPI-Generator/4.6.0/PHP'; + protected $userAgent = 'OpenAPI-Generator/4.7.0/PHP'; /** * Debug switch (default set to false) @@ -400,7 +400,7 @@ public static function toDebugReport() $report .= ' OS: ' . php_uname() . PHP_EOL; $report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL; $report .= ' The version of the OpenAPI document: 1.0.0' . PHP_EOL; - $report .= ' SDK Package Version: 4.6.0' . PHP_EOL; + $report .= ' SDK Package Version: 4.7.0' . PHP_EOL; $report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL; return $report; diff --git a/lib/Model/AddToConference.php b/lib/Model/AddToConference.php index 86abde1..a26b514 100644 --- a/lib/Model/AddToConference.php +++ b/lib/Model/AddToConference.php @@ -67,7 +67,8 @@ class AddToConference extends PerclCommand 'listen' => 'bool', 'notification_url' => 'string', 'start_conf_on_enter' => 'bool', - 'talk' => 'bool' + 'talk' => 'bool', + 'dtmf_pass_through' => 'bool' ]; /** @@ -86,7 +87,8 @@ class AddToConference extends PerclCommand 'listen' => null, 'notification_url' => null, 'start_conf_on_enter' => null, - 'talk' => null + 'talk' => null, + 'dtmf_pass_through' => null ]; /** @@ -124,7 +126,8 @@ public static function openAPIFormats() 'listen' => 'listen', 'notification_url' => 'notificationUrl', 'start_conf_on_enter' => 'startConfOnEnter', - 'talk' => 'talk' + 'talk' => 'talk', + 'dtmf_pass_through' => 'dtmfPassThrough' ]; /** @@ -141,7 +144,8 @@ public static function openAPIFormats() 'listen' => 'setListen', 'notification_url' => 'setNotificationUrl', 'start_conf_on_enter' => 'setStartConfOnEnter', - 'talk' => 'setTalk' + 'talk' => 'setTalk', + 'dtmf_pass_through' => 'setDtmfPassThrough' ]; /** @@ -158,7 +162,8 @@ public static function openAPIFormats() 'listen' => 'getListen', 'notification_url' => 'getNotificationUrl', 'start_conf_on_enter' => 'getStartConfOnEnter', - 'talk' => 'getTalk' + 'talk' => 'getTalk', + 'dtmf_pass_through' => 'getDtmfPassThrough' ]; /** @@ -223,6 +228,7 @@ public function __construct(array $data = null) $this->container['notification_url'] = $data['notification_url'] ?? null; $this->container['start_conf_on_enter'] = $data['start_conf_on_enter'] ?? null; $this->container['talk'] = $data['talk'] ?? null; + $this->container['dtmf_pass_through'] = $data['dtmf_pass_through'] ?? null; } /** @@ -467,6 +473,30 @@ public function setTalk($talk) return $this; } + + /** + * Gets dtmf_pass_through + * + * @return bool|null + */ + public function getDtmfPassThrough() + { + return $this->container['dtmf_pass_through']; + } + + /** + * Sets dtmf_pass_through + * + * @param bool|null $dtmf_pass_through If `true`, the Participant joins the Conference with dtmfPassThrough privileges. This may be modified later via the REST API or `SetDTMFPassThrough` PerCL command. + * + * @return self + */ + public function setDtmfPassThrough($dtmf_pass_through) + { + $this->container['dtmf_pass_through'] = $dtmf_pass_through; + + return $this; + } /** * Returns true if offset exists. False otherwise. * diff --git a/lib/Model/AddToConferenceAllOf.php b/lib/Model/AddToConferenceAllOf.php index 87c9ee0..ca9006e 100644 --- a/lib/Model/AddToConferenceAllOf.php +++ b/lib/Model/AddToConferenceAllOf.php @@ -68,7 +68,8 @@ class AddToConferenceAllOf implements ModelInterface, ArrayAccess, \JsonSerializ 'listen' => 'bool', 'notification_url' => 'string', 'start_conf_on_enter' => 'bool', - 'talk' => 'bool' + 'talk' => 'bool', + 'dtmf_pass_through' => 'bool' ]; /** @@ -87,7 +88,8 @@ class AddToConferenceAllOf implements ModelInterface, ArrayAccess, \JsonSerializ 'listen' => null, 'notification_url' => null, 'start_conf_on_enter' => null, - 'talk' => null + 'talk' => null, + 'dtmf_pass_through' => null ]; /** @@ -125,7 +127,8 @@ public static function openAPIFormats() 'listen' => 'listen', 'notification_url' => 'notificationUrl', 'start_conf_on_enter' => 'startConfOnEnter', - 'talk' => 'talk' + 'talk' => 'talk', + 'dtmf_pass_through' => 'dtmfPassThrough' ]; /** @@ -142,7 +145,8 @@ public static function openAPIFormats() 'listen' => 'setListen', 'notification_url' => 'setNotificationUrl', 'start_conf_on_enter' => 'setStartConfOnEnter', - 'talk' => 'setTalk' + 'talk' => 'setTalk', + 'dtmf_pass_through' => 'setDtmfPassThrough' ]; /** @@ -159,7 +163,8 @@ public static function openAPIFormats() 'listen' => 'getListen', 'notification_url' => 'getNotificationUrl', 'start_conf_on_enter' => 'getStartConfOnEnter', - 'talk' => 'getTalk' + 'talk' => 'getTalk', + 'dtmf_pass_through' => 'getDtmfPassThrough' ]; /** @@ -228,6 +233,7 @@ public function __construct(array $data = null) $this->container['notification_url'] = $data['notification_url'] ?? null; $this->container['start_conf_on_enter'] = $data['start_conf_on_enter'] ?? null; $this->container['talk'] = $data['talk'] ?? null; + $this->container['dtmf_pass_through'] = $data['dtmf_pass_through'] ?? null; } /** @@ -472,6 +478,30 @@ public function setTalk($talk) return $this; } + + /** + * Gets dtmf_pass_through + * + * @return bool|null + */ + public function getDtmfPassThrough() + { + return $this->container['dtmf_pass_through']; + } + + /** + * Sets dtmf_pass_through + * + * @param bool|null $dtmf_pass_through If `true`, the Participant joins the Conference with dtmfPassThrough privileges. This may be modified later via the REST API or `SetDTMFPassThrough` PerCL command. + * + * @return self + */ + public function setDtmfPassThrough($dtmf_pass_through) + { + $this->container['dtmf_pass_through'] = $dtmf_pass_through; + + return $this; + } /** * Returns true if offset exists. False otherwise. * diff --git a/lib/Model/CallResult.php b/lib/Model/CallResult.php index 6c4790f..8efc8a3 100644 --- a/lib/Model/CallResult.php +++ b/lib/Model/CallResult.php @@ -78,7 +78,8 @@ class CallResult implements ModelInterface, ArrayAccess, \JsonSerializable 'connect_duration' => 'int', 'direction' => '\FreeClimb\Api\Model\CallDirection', 'answered_by' => '\FreeClimb\Api\Model\AnsweredBy', - 'subresource_uris' => 'object' + 'subresource_uris' => 'object', + 'application_id' => 'string' ]; /** @@ -107,7 +108,8 @@ class CallResult implements ModelInterface, ArrayAccess, \JsonSerializable 'connect_duration' => null, 'direction' => null, 'answered_by' => null, - 'subresource_uris' => null + 'subresource_uris' => null, + 'application_id' => null ]; /** @@ -155,7 +157,8 @@ public static function openAPIFormats() 'connect_duration' => 'connectDuration', 'direction' => 'direction', 'answered_by' => 'answeredBy', - 'subresource_uris' => 'subresourceUris' + 'subresource_uris' => 'subresourceUris', + 'application_id' => 'applicationId' ]; /** @@ -182,7 +185,8 @@ public static function openAPIFormats() 'connect_duration' => 'setConnectDuration', 'direction' => 'setDirection', 'answered_by' => 'setAnsweredBy', - 'subresource_uris' => 'setSubresourceUris' + 'subresource_uris' => 'setSubresourceUris', + 'application_id' => 'setApplicationId' ]; /** @@ -209,7 +213,8 @@ public static function openAPIFormats() 'connect_duration' => 'getConnectDuration', 'direction' => 'getDirection', 'answered_by' => 'getAnsweredBy', - 'subresource_uris' => 'getSubresourceUris' + 'subresource_uris' => 'getSubresourceUris', + 'application_id' => 'getApplicationId' ]; /** @@ -288,6 +293,7 @@ public function __construct(array $data = null) $this->container['direction'] = $data['direction'] ?? null; $this->container['answered_by'] = $data['answered_by'] ?? null; $this->container['subresource_uris'] = $data['subresource_uris'] ?? null; + $this->container['application_id'] = $data['application_id'] ?? null; } /** @@ -769,6 +775,30 @@ public function setSubresourceUris($subresource_uris) return $this; } + + /** + * Gets application_id + * + * @return string|null + */ + public function getApplicationId() + { + return $this->container['application_id']; + } + + /** + * Sets application_id + * + * @param string|null $application_id ApplicationId associated with the Call. + * + * @return self + */ + public function setApplicationId($application_id) + { + $this->container['application_id'] = $application_id; + + return $this; + } /** * Returns true if offset exists. False otherwise. * diff --git a/lib/Model/CallResultAllOf.php b/lib/Model/CallResultAllOf.php index c5723d3..d98f9c9 100644 --- a/lib/Model/CallResultAllOf.php +++ b/lib/Model/CallResultAllOf.php @@ -74,7 +74,8 @@ class CallResultAllOf implements ModelInterface, ArrayAccess, \JsonSerializable 'connect_duration' => 'int', 'direction' => '\FreeClimb\Api\Model\CallDirection', 'answered_by' => '\FreeClimb\Api\Model\AnsweredBy', - 'subresource_uris' => 'object' + 'subresource_uris' => 'object', + 'application_id' => 'string' ]; /** @@ -99,7 +100,8 @@ class CallResultAllOf implements ModelInterface, ArrayAccess, \JsonSerializable 'connect_duration' => null, 'direction' => null, 'answered_by' => null, - 'subresource_uris' => null + 'subresource_uris' => null, + 'application_id' => null ]; /** @@ -143,7 +145,8 @@ public static function openAPIFormats() 'connect_duration' => 'connectDuration', 'direction' => 'direction', 'answered_by' => 'answeredBy', - 'subresource_uris' => 'subresourceUris' + 'subresource_uris' => 'subresourceUris', + 'application_id' => 'applicationId' ]; /** @@ -166,7 +169,8 @@ public static function openAPIFormats() 'connect_duration' => 'setConnectDuration', 'direction' => 'setDirection', 'answered_by' => 'setAnsweredBy', - 'subresource_uris' => 'setSubresourceUris' + 'subresource_uris' => 'setSubresourceUris', + 'application_id' => 'setApplicationId' ]; /** @@ -189,7 +193,8 @@ public static function openAPIFormats() 'connect_duration' => 'getConnectDuration', 'direction' => 'getDirection', 'answered_by' => 'getAnsweredBy', - 'subresource_uris' => 'getSubresourceUris' + 'subresource_uris' => 'getSubresourceUris', + 'application_id' => 'getApplicationId' ]; /** @@ -264,6 +269,7 @@ public function __construct(array $data = null) $this->container['direction'] = $data['direction'] ?? null; $this->container['answered_by'] = $data['answered_by'] ?? null; $this->container['subresource_uris'] = $data['subresource_uris'] ?? null; + $this->container['application_id'] = $data['application_id'] ?? null; } /** @@ -649,6 +655,30 @@ public function setSubresourceUris($subresource_uris) return $this; } + + /** + * Gets application_id + * + * @return string|null + */ + public function getApplicationId() + { + return $this->container['application_id']; + } + + /** + * Sets application_id + * + * @param string|null $application_id ApplicationId associated with the Call. + * + * @return self + */ + public function setApplicationId($application_id) + { + $this->container['application_id'] = $application_id; + + return $this; + } /** * Returns true if offset exists. False otherwise. * diff --git a/lib/Model/ConferenceParticipantResult.php b/lib/Model/ConferenceParticipantResult.php index 141b82c..529a783 100644 --- a/lib/Model/ConferenceParticipantResult.php +++ b/lib/Model/ConferenceParticipantResult.php @@ -69,6 +69,7 @@ class ConferenceParticipantResult implements ModelInterface, ArrayAccess, \JsonS 'call_id' => 'string', 'talk' => 'bool', 'listen' => 'bool', + 'dtmf_pass_through' => 'bool', 'start_conf_on_enter' => 'bool' ]; @@ -89,6 +90,7 @@ class ConferenceParticipantResult implements ModelInterface, ArrayAccess, \JsonS 'call_id' => null, 'talk' => null, 'listen' => null, + 'dtmf_pass_through' => null, 'start_conf_on_enter' => null ]; @@ -128,6 +130,7 @@ public static function openAPIFormats() 'call_id' => 'callId', 'talk' => 'talk', 'listen' => 'listen', + 'dtmf_pass_through' => 'dtmfPassThrough', 'start_conf_on_enter' => 'startConfOnEnter' ]; @@ -146,6 +149,7 @@ public static function openAPIFormats() 'call_id' => 'setCallId', 'talk' => 'setTalk', 'listen' => 'setListen', + 'dtmf_pass_through' => 'setDtmfPassThrough', 'start_conf_on_enter' => 'setStartConfOnEnter' ]; @@ -164,6 +168,7 @@ public static function openAPIFormats() 'call_id' => 'getCallId', 'talk' => 'getTalk', 'listen' => 'getListen', + 'dtmf_pass_through' => 'getDtmfPassThrough', 'start_conf_on_enter' => 'getStartConfOnEnter' ]; @@ -233,6 +238,7 @@ public function __construct(array $data = null) $this->container['call_id'] = $data['call_id'] ?? null; $this->container['talk'] = $data['talk'] ?? null; $this->container['listen'] = $data['listen'] ?? null; + $this->container['dtmf_pass_through'] = $data['dtmf_pass_through'] ?? null; $this->container['start_conf_on_enter'] = $data['start_conf_on_enter'] ?? null; } @@ -476,6 +482,30 @@ public function setListen($listen) return $this; } + /** + * Gets dtmf_pass_through + * + * @return bool|null + */ + public function getDtmfPassThrough() + { + return $this->container['dtmf_pass_through']; + } + + /** + * Sets dtmf_pass_through + * + * @param bool|null $dtmf_pass_through True if this Participant had dtmfPassThrough privileges in the Conference. False otherwise. + * + * @return self + */ + public function setDtmfPassThrough($dtmf_pass_through) + { + $this->container['dtmf_pass_through'] = $dtmf_pass_through; + + return $this; + } + /** * Gets start_conf_on_enter * diff --git a/lib/Model/ConferenceParticipantResultAllOf.php b/lib/Model/ConferenceParticipantResultAllOf.php index 5b6091d..428dcd6 100644 --- a/lib/Model/ConferenceParticipantResultAllOf.php +++ b/lib/Model/ConferenceParticipantResultAllOf.php @@ -65,6 +65,7 @@ class ConferenceParticipantResultAllOf implements ModelInterface, ArrayAccess, \ 'call_id' => 'string', 'talk' => 'bool', 'listen' => 'bool', + 'dtmf_pass_through' => 'bool', 'start_conf_on_enter' => 'bool' ]; @@ -81,6 +82,7 @@ class ConferenceParticipantResultAllOf implements ModelInterface, ArrayAccess, \ 'call_id' => null, 'talk' => null, 'listen' => null, + 'dtmf_pass_through' => null, 'start_conf_on_enter' => null ]; @@ -116,6 +118,7 @@ public static function openAPIFormats() 'call_id' => 'callId', 'talk' => 'talk', 'listen' => 'listen', + 'dtmf_pass_through' => 'dtmfPassThrough', 'start_conf_on_enter' => 'startConfOnEnter' ]; @@ -130,6 +133,7 @@ public static function openAPIFormats() 'call_id' => 'setCallId', 'talk' => 'setTalk', 'listen' => 'setListen', + 'dtmf_pass_through' => 'setDtmfPassThrough', 'start_conf_on_enter' => 'setStartConfOnEnter' ]; @@ -144,6 +148,7 @@ public static function openAPIFormats() 'call_id' => 'getCallId', 'talk' => 'getTalk', 'listen' => 'getListen', + 'dtmf_pass_through' => 'getDtmfPassThrough', 'start_conf_on_enter' => 'getStartConfOnEnter' ]; @@ -209,6 +214,7 @@ public function __construct(array $data = null) $this->container['call_id'] = $data['call_id'] ?? null; $this->container['talk'] = $data['talk'] ?? null; $this->container['listen'] = $data['listen'] ?? null; + $this->container['dtmf_pass_through'] = $data['dtmf_pass_through'] ?? null; $this->container['start_conf_on_enter'] = $data['start_conf_on_enter'] ?? null; } @@ -356,6 +362,30 @@ public function setListen($listen) return $this; } + /** + * Gets dtmf_pass_through + * + * @return bool|null + */ + public function getDtmfPassThrough() + { + return $this->container['dtmf_pass_through']; + } + + /** + * Sets dtmf_pass_through + * + * @param bool|null $dtmf_pass_through True if this Participant had dtmfPassThrough privileges in the Conference. False otherwise. + * + * @return self + */ + public function setDtmfPassThrough($dtmf_pass_through) + { + $this->container['dtmf_pass_through'] = $dtmf_pass_through; + + return $this; + } + /** * Gets start_conf_on_enter * diff --git a/lib/Model/SetDTMFPassThrough.php b/lib/Model/SetDTMFPassThrough.php new file mode 100644 index 0000000..4a256c2 --- /dev/null +++ b/lib/Model/SetDTMFPassThrough.php @@ -0,0 +1,317 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class SetDTMFPassThrough extends PerclCommand +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'SetDTMFPassThrough'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'dtmf_pass_through' => 'bool' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'dtmf_pass_through' => null + ]; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes + parent::openAPITypes(); + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats + parent::openAPIFormats(); + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'dtmf_pass_through' => 'dtmfPassThrough' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'dtmf_pass_through' => 'setDtmfPassThrough' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'dtmf_pass_through' => 'getDtmfPassThrough' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return parent::attributeMap() + self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return parent::setters() + self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return parent::getters() + self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + + + /** + * Constructor + * + * @param mixed[] $data Associated array of property values + * initializing the model + */ + public function __construct(array $data = null) + { + parent::__construct($data); + + $this->container['dtmf_pass_through'] = $data['dtmf_pass_through'] ?? null; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = parent::listInvalidProperties(); + + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets dtmf_pass_through + * + * @return bool|null + */ + public function getDtmfPassThrough() + { + return $this->container['dtmf_pass_through']; + } + + /** + * Sets dtmf_pass_through + * + * @param bool|null $dtmf_pass_through Specifying `false` mutes the Participant's dtmf audio. + * + * @return self + */ + public function setDtmfPassThrough($dtmf_pass_through) + { + $this->container['dtmf_pass_through'] = $dtmf_pass_through; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset) : bool + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + public function offsetGet($offset) : mixed + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value) : void + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset) : void + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + public function jsonSerialize() : mixed + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() : string + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() : string + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } + +} + + diff --git a/lib/Model/SetDTMFPassThroughAllOf.php b/lib/Model/SetDTMFPassThroughAllOf.php new file mode 100644 index 0000000..542f147 --- /dev/null +++ b/lib/Model/SetDTMFPassThroughAllOf.php @@ -0,0 +1,322 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class SetDTMFPassThroughAllOf implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'SetDTMFPassThrough_allOf'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'dtmf_pass_through' => 'bool' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'dtmf_pass_through' => null + ]; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'dtmf_pass_through' => 'dtmfPassThrough' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'dtmf_pass_through' => 'setDtmfPassThrough' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'dtmf_pass_through' => 'getDtmfPassThrough' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[] $data Associated array of property values + * initializing the model + */ + public function __construct(array $data = null) + { + $this->container['dtmf_pass_through'] = $data['dtmf_pass_through'] ?? null; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets dtmf_pass_through + * + * @return bool|null + */ + public function getDtmfPassThrough() + { + return $this->container['dtmf_pass_through']; + } + + /** + * Sets dtmf_pass_through + * + * @param bool|null $dtmf_pass_through Specifying `false` mutes the Participant's dtmf audio. + * + * @return self + */ + public function setDtmfPassThrough($dtmf_pass_through) + { + $this->container['dtmf_pass_through'] = $dtmf_pass_through; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset) : bool + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + public function offsetGet($offset) : mixed + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value) : void + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset) : void + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + public function jsonSerialize() : mixed + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() : string + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() : string + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } + +} + + diff --git a/lib/Model/SetListen.php b/lib/Model/SetListen.php index ce9c8b4..f448733 100644 --- a/lib/Model/SetListen.php +++ b/lib/Model/SetListen.php @@ -34,7 +34,7 @@ * SetListen Class Doc Comment * * @category Class - * @description The `SetListen` command enables or disables the listen privilege for a Conference Participant provided both calls are in the same conference. The Participant can hear what the other participants are saying only if this privilege is enabled. + * @description The `SetListen` command enables or disables the listen privilege for this Conference Participant. The Participant can hear what the other participants are saying only if this privilege is enabled. * @package FreeClimb\Api * @author OpenAPI Generator team * @link https://openapi-generator.tech diff --git a/lib/Model/SetTalk.php b/lib/Model/SetTalk.php index c0953e3..2a710a2 100644 --- a/lib/Model/SetTalk.php +++ b/lib/Model/SetTalk.php @@ -34,7 +34,7 @@ * SetTalk Class Doc Comment * * @category Class - * @description The `SetTalk` command enables or disables the talk privilege for a Participant in a Conference provided both calls are in the same conference. If 'true', no audio from that Participant is shared with the other Participants of the Conference. + * @description The `SetTalk` command enables or disables the talk privilege for this Conference Participant. If 'true', no audio from that Participant is shared with the other Participants of the Conference. * @package FreeClimb\Api * @author OpenAPI Generator team * @link https://openapi-generator.tech diff --git a/lib/Model/UpdateConferenceParticipantRequest.php b/lib/Model/UpdateConferenceParticipantRequest.php index 9381a05..54f4e70 100644 --- a/lib/Model/UpdateConferenceParticipantRequest.php +++ b/lib/Model/UpdateConferenceParticipantRequest.php @@ -61,7 +61,8 @@ class UpdateConferenceParticipantRequest implements ModelInterface, ArrayAccess, */ protected static $openAPITypes = [ 'talk' => 'bool', - 'listen' => 'bool' + 'listen' => 'bool', + 'dtmf_pass_through' => 'bool' ]; /** @@ -73,7 +74,8 @@ class UpdateConferenceParticipantRequest implements ModelInterface, ArrayAccess, */ protected static $openAPIFormats = [ 'talk' => null, - 'listen' => null + 'listen' => null, + 'dtmf_pass_through' => null ]; /** @@ -104,7 +106,8 @@ public static function openAPIFormats() */ protected static $attributeMap = [ 'talk' => 'talk', - 'listen' => 'listen' + 'listen' => 'listen', + 'dtmf_pass_through' => 'dtmfPassThrough' ]; /** @@ -114,7 +117,8 @@ public static function openAPIFormats() */ protected static $setters = [ 'talk' => 'setTalk', - 'listen' => 'setListen' + 'listen' => 'setListen', + 'dtmf_pass_through' => 'setDtmfPassThrough' ]; /** @@ -124,7 +128,8 @@ public static function openAPIFormats() */ protected static $getters = [ 'talk' => 'getTalk', - 'listen' => 'getListen' + 'listen' => 'getListen', + 'dtmf_pass_through' => 'getDtmfPassThrough' ]; /** @@ -186,6 +191,7 @@ public function __construct(array $data = null) { $this->container['talk'] = $data['talk'] ?? null; $this->container['listen'] = $data['listen'] ?? null; + $this->container['dtmf_pass_through'] = $data['dtmf_pass_through'] ?? null; } /** @@ -259,6 +265,30 @@ public function setListen($listen) return $this; } + + /** + * Gets dtmf_pass_through + * + * @return bool|null + */ + public function getDtmfPassThrough() + { + return $this->container['dtmf_pass_through']; + } + + /** + * Sets dtmf_pass_through + * + * @param bool|null $dtmf_pass_through (Optional) Default is `true`. Setting to `false` mutes dtmf audio for this Participant. FreeClimb returns an error and ignores any other value. + * + * @return self + */ + public function setDtmfPassThrough($dtmf_pass_through) + { + $this->container['dtmf_pass_through'] = $dtmf_pass_through; + + return $this; + } /** * Returns true if offset exists. False otherwise. * diff --git a/openapi.json b/openapi.json index 7314149..554dc8c 100644 --- a/openapi.json +++ b/openapi.json @@ -464,6 +464,7 @@ "SendDigits": "#/components/schemas/SendDigits", "SetListen": "#/components/schemas/SetListen", "SetTalk": "#/components/schemas/SetTalk", + "SetDTMFPassThrough": "#/components/schemas/SetDTMFPassThrough", "Sms": "#/components/schemas/Sms", "StartRecordCall": "#/components/schemas/StartRecordCall", "TerminateConference": "#/components/schemas/TerminateConference", @@ -536,6 +537,10 @@ "talk": { "description": "If `true`, the Participant joins the Conference with talk privileges. This may be modified later via the REST API or `SetTalk` PerCL command. ", "type": "boolean" + }, + "dtmfPassThrough": { + "description": "If `true`, the Participant joins the Conference with dtmfPassThrough privileges. This may be modified later via the REST API or `SetDTMFPassThrough` PerCL command. ", + "type": "boolean" } } } @@ -1175,7 +1180,7 @@ ] }, "SetListen": { - "description": "The `SetListen` command enables or disables the listen privilege for a Conference Participant provided both calls are in the same conference. The Participant can hear what the other participants are saying only if this privilege is enabled.", + "description": "The `SetListen` command enables or disables the listen privilege for this Conference Participant. The Participant can hear what the other participants are saying only if this privilege is enabled.", "x-percl-command": true, "x-ref-properties": ["false"], "allOf": [ @@ -1195,7 +1200,7 @@ ] }, "SetTalk": { - "description": "The `SetTalk` command enables or disables the talk privilege for a Participant in a Conference provided both calls are in the same conference. If 'true', no audio from that Participant is shared with the other Participants of the Conference.", + "description": "The `SetTalk` command enables or disables the talk privilege for this Conference Participant. If 'true', no audio from that Participant is shared with the other Participants of the Conference.", "x-percl-command": true, "x-ref-properties": ["false"], "allOf": [ @@ -1214,6 +1219,26 @@ } ] }, + "SetDTMFPassThrough": { + "description": "The `SetDTMFPassThrough` command enables or disables the dtmfPassThrough privilege for this Conference Participant. If 'true', DTMFs will be passed through from this Participant to all other Participants in the Conference", + "x-percl-command": true, + "x-ref-properties": ["false"], + "allOf": [ + { + "$ref": "#/components/schemas/PerclCommand" + }, + { + "required": [], + "type": "object", + "properties": { + "dtmfPassThrough": { + "description": "Specifying `false` mutes the Participant's dtmf audio.", + "type": "boolean" + } + } + } + ] + }, "Sms": { "description": "The `Sms` command can be used to send an SMS message to a phone number during a phone call. International SMS is disabled by default.", "x-percl-command": true, @@ -1842,6 +1867,11 @@ "type": "object", "description": "The list of subresources for this Call. These include things like logs and recordings associated with the Call.", "nullable": true + }, + "applicationId": { + "type": "string", + "description": "ApplicationId associated with the Call.", + "nullable": true } } } @@ -2155,7 +2185,8 @@ "items": { "type": "string", "format": "uri" - } + }, + "nullable": true } } } @@ -2282,7 +2313,8 @@ "items": { "type": "string", "format": "uri" - } + }, + "nullable": true } } } @@ -2360,6 +2392,11 @@ "description": "True if this Participant has listen privileges in the Conference. False otherwise.", "nullable": true }, + "dtmfPassThrough": { + "type": "boolean", + "description": "True if this Participant had dtmfPassThrough privileges in the Conference. False otherwise.", + "nullable": true + }, "startConfOnEnter": { "type": "boolean", "description": "True if this Participant joining the Conference caused the Conference to start (status = inProgress). False otherwise.", @@ -2379,6 +2416,10 @@ "listen": { "type": "boolean", "description": "(Optional) Default is `true`. Setting to `false` silences the Conference for this Participant. FreeClimb returns an error and ignores any other value." + }, + "dtmfPassThrough": { + "type": "boolean", + "description": "(Optional) Default is `true`. Setting to `false` mutes dtmf audio for this Participant. FreeClimb returns an error and ignores any other value." } } }, @@ -4936,6 +4977,15 @@ "type": "boolean" } }, + { + "name": "dtmfPassThrough", + "in": "query", + "description": "Only show Participants with the dtmfPassThrough privilege.", + "required": false, + "schema": { + "type": "boolean" + } + }, { "$ref": "#/components/parameters/AccountId" }, diff --git a/test/Api/DefaultApiTest.php b/test/Api/DefaultApiTest.php index c309316..10c3ff9 100644 --- a/test/Api/DefaultApiTest.php +++ b/test/Api/DefaultApiTest.php @@ -496,6 +496,10 @@ public function completion_request_createKnowledgeBaseCompletion_test_value(){ )); } + public function dtmf_pass_through_listParticipants_test_value(){ + return "true"; + } + /** * Setup before running any test cases */ @@ -1706,6 +1710,7 @@ public function testListMembers() * @param string $conference_id ID of the conference this participant is in. (required) * @param bool $talk Only show Participants with the talk privilege. (optional) * @param bool $listen Only show Participants with the listen privilege. (optional) + * @param bool $dtmf_pass_through Only show Participants with the dtmfPassThrough privilege. (optional) */ public function testListParticipants() { @@ -1724,8 +1729,9 @@ public function testListParticipants() //$conference_id = $conference_id_test_value; //$talk = $talk_test_value; //$listen = $listen_test_value; + //$dtmf_pass_through = $dtmf_pass_through_test_value; - $response = $apiInstance->listParticipants($this->conference_id_listParticipants_test_value(), $this->talk_listParticipants_test_value(), $this->listen_listParticipants_test_value()); + $response = $apiInstance->listParticipants($this->conference_id_listParticipants_test_value(), $this->talk_listParticipants_test_value(), $this->listen_listParticipants_test_value(), $this->dtmf_pass_through_listParticipants_test_value()); $this->assertInstanceOf('\FreeClimb\Api\Model\ConferenceParticipantList',$response); } /** @@ -2506,7 +2512,7 @@ public function testGetNextPageListParticipants() $config ); - $response = $apiInstance->listParticipants($this->conference_id_listParticipants_test_value(), $this->talk_listParticipants_test_value(), $this->listen_listParticipants_test_value()); + $response = $apiInstance->listParticipants($this->conference_id_listParticipants_test_value(), $this->talk_listParticipants_test_value(), $this->listen_listParticipants_test_value(), $this->dtmf_pass_through_listParticipants_test_value()); $response['next_page_uri'] = '/Accounts/{accountId}/Conferences/{conferenceId}/Participants?cursor=1'; $nextPageResponse = $apiInstance->getNextPage($response); $this->assertInstanceOf('\FreeClimb\Api\Model\ConferenceParticipantList',$nextPageResponse); diff --git a/test/Model/AddToConferenceAllOfTest.php b/test/Model/AddToConferenceAllOfTest.php index 1376e82..0566126 100644 --- a/test/Model/AddToConferenceAllOfTest.php +++ b/test/Model/AddToConferenceAllOfTest.php @@ -134,6 +134,15 @@ public function testPropertyTalk() $this->assertFalse($this->AddToConferenceAllOf->getTalk()); $this->assertIsBool($this->AddToConferenceAllOf->getTalk()); } + /** + * Test attribute "dtmf_pass_through" + */ + public function testPropertyDtmfPassThrough() + { + $this->AddToConferenceAllOf->setDtmfPassThrough(false); + $this->assertFalse($this->AddToConferenceAllOf->getDtmfPassThrough()); + $this->assertIsBool($this->AddToConferenceAllOf->getDtmfPassThrough()); + } /** * Test method toStringTest @@ -149,6 +158,7 @@ public function toStringTest() { $test1->setNotificationUrl("TS"); $test1->setStartConfOnEnter(true); $test1->setTalk(true); + $test1->setDtmfPassThrough(true); $toString1 = $test1->__toString(); assert(is_string($toString1)); @@ -169,6 +179,7 @@ public function toHeaderValueTest() $test1->setNotificationUrl("TS"); $test1->setStartConfOnEnter(true); $test1->setTalk(true); + $test1->setDtmfPassThrough(true); $toHeaderValue1 = $test1->toHeaderValue(); assert(is_string($toHeaderValue1)); diff --git a/test/Model/AddToConferenceTest.php b/test/Model/AddToConferenceTest.php index 876aca5..10f4b6f 100644 --- a/test/Model/AddToConferenceTest.php +++ b/test/Model/AddToConferenceTest.php @@ -37,7 +37,7 @@ * AddToConferenceTest Class Doc Comment * * @category Class - * @description The `AddToConference` command adds a Participant to a Conference. If this Participant currently is in another Conference, the Participant is first removed from that Conference. Two Call legs can be bridged together by creating a Conference and adding both Call legs to it via `AddToConference`. + * @description The `AddToConference` command adds a Participant to a Conference. Two Call legs can be bridged together by creating a Conference and adding both Call legs to it via `AddToConference`. * @package FreeClimb\Api * @author OpenAPI Generator team * @link https://openapi-generator.tech @@ -134,6 +134,15 @@ public function testPropertyTalk() $this->assertFalse($this->AddToConference->getTalk()); $this->assertIsBool($this->AddToConference->getTalk()); } + /** + * Test attribute "dtmf_pass_through" + */ + public function testPropertyDtmfPassThrough() + { + $this->AddToConference->setDtmfPassThrough(false); + $this->assertFalse($this->AddToConference->getDtmfPassThrough()); + $this->assertIsBool($this->AddToConference->getDtmfPassThrough()); + } /** * Test method toStringTest @@ -149,6 +158,7 @@ public function toStringTest() { $test1->setNotificationUrl("TS"); $test1->setStartConfOnEnter(true); $test1->setTalk(true); + $test1->setDtmfPassThrough(true); $toString1 = $test1->__toString(); assert(is_string($toString1)); @@ -169,6 +179,7 @@ public function toHeaderValueTest() $test1->setNotificationUrl("TS"); $test1->setStartConfOnEnter(true); $test1->setTalk(true); + $test1->setDtmfPassThrough(true); $toHeaderValue1 = $test1->toHeaderValue(); assert(is_string($toHeaderValue1)); diff --git a/test/Model/CallResultAllOfTest.php b/test/Model/CallResultAllOfTest.php index d79ac19..a2f7c47 100644 --- a/test/Model/CallResultAllOfTest.php +++ b/test/Model/CallResultAllOfTest.php @@ -210,6 +210,15 @@ public function testPropertySubresourceUris() $this->CallResultAllOf->setSubresourceUris(new \stdClass); $this->assertInstanceOf(\stdClass::class, $this->CallResultAllOf->getSubresourceUris()); } + /** + * Test attribute "application_id" + */ + public function testPropertyApplicationId() + { + $this->CallResultAllOf->setApplicationId('TS'); + $this->assertEquals('TS', $this->CallResultAllOf->getApplicationId()); + $this->assertIsString($this->CallResultAllOf->getApplicationId()); + } /** * Test method toStringTest @@ -232,6 +241,7 @@ public function toStringTest() { $test1->setAnsweredBy(\FreeClimb\Api\Model\AnsweredBy::HUMAN); $testObject = new stdClass(); $test1->setSubresourceUris($testObject); + $test1->setApplicationId("TS"); $toString1 = $test1->__toString(); assert(is_string($toString1)); @@ -259,6 +269,7 @@ public function toHeaderValueTest() $test1->setAnsweredBy(\FreeClimb\Api\Model\AnsweredBy::HUMAN); $testObject = new stdClass(); $test1->setSubresourceUris($testObject); + $test1->setApplicationId("TS"); $toHeaderValue1 = $test1->toHeaderValue(); assert(is_string($toHeaderValue1)); diff --git a/test/Model/CallResultTest.php b/test/Model/CallResultTest.php index d5ecc7c..8bd45ec 100644 --- a/test/Model/CallResultTest.php +++ b/test/Model/CallResultTest.php @@ -249,6 +249,15 @@ public function testPropertySubresourceUris() $this->CallResult->setSubresourceUris(new \stdClass); $this->assertInstanceOf(\stdClass::class, $this->CallResult->getSubresourceUris()); } + /** + * Test attribute "application_id" + */ + public function testPropertyApplicationId() + { + $this->CallResult->setApplicationId('TS'); + $this->assertEquals('TS', $this->CallResult->getApplicationId()); + $this->assertIsString($this->CallResult->getApplicationId()); + } /** * Test method toStringTest @@ -275,6 +284,7 @@ public function toStringTest() { $test1->setAnsweredBy(\FreeClimb\Api\Model\AnsweredBy::HUMAN); $testObject = new stdClass(); $test1->setSubresourceUris($testObject); + $test1->setApplicationId("TS"); $toString1 = $test1->__toString(); assert(is_string($toString1)); @@ -306,6 +316,7 @@ public function toHeaderValueTest() $test1->setAnsweredBy(\FreeClimb\Api\Model\AnsweredBy::HUMAN); $testObject = new stdClass(); $test1->setSubresourceUris($testObject); + $test1->setApplicationId("TS"); $toHeaderValue1 = $test1->toHeaderValue(); assert(is_string($toHeaderValue1)); diff --git a/test/Model/ConferenceParticipantResultAllOfTest.php b/test/Model/ConferenceParticipantResultAllOfTest.php index f4964e6..1a53d9d 100644 --- a/test/Model/ConferenceParticipantResultAllOfTest.php +++ b/test/Model/ConferenceParticipantResultAllOfTest.php @@ -98,6 +98,15 @@ public function testPropertyListen() $this->assertFalse($this->ConferenceParticipantResultAllOf->getListen()); $this->assertIsBool($this->ConferenceParticipantResultAllOf->getListen()); } + /** + * Test attribute "dtmf_pass_through" + */ + public function testPropertyDtmfPassThrough() + { + $this->ConferenceParticipantResultAllOf->setDtmfPassThrough(false); + $this->assertFalse($this->ConferenceParticipantResultAllOf->getDtmfPassThrough()); + $this->assertIsBool($this->ConferenceParticipantResultAllOf->getDtmfPassThrough()); + } /** * Test attribute "start_conf_on_enter" */ @@ -118,6 +127,7 @@ public function toStringTest() { $test1->setCallId("TS"); $test1->setTalk(true); $test1->setListen(true); + $test1->setDtmfPassThrough(true); $test1->setStartConfOnEnter(true); $toString1 = $test1->__toString(); @@ -135,6 +145,7 @@ public function toHeaderValueTest() $test1->setCallId("TS"); $test1->setTalk(true); $test1->setListen(true); + $test1->setDtmfPassThrough(true); $test1->setStartConfOnEnter(true); $toHeaderValue1 = $test1->toHeaderValue(); diff --git a/test/Model/ConferenceParticipantResultTest.php b/test/Model/ConferenceParticipantResultTest.php index 062e85b..3d08941 100644 --- a/test/Model/ConferenceParticipantResultTest.php +++ b/test/Model/ConferenceParticipantResultTest.php @@ -137,6 +137,15 @@ public function testPropertyListen() $this->assertFalse($this->ConferenceParticipantResult->getListen()); $this->assertIsBool($this->ConferenceParticipantResult->getListen()); } + /** + * Test attribute "dtmf_pass_through" + */ + public function testPropertyDtmfPassThrough() + { + $this->ConferenceParticipantResult->setDtmfPassThrough(false); + $this->assertFalse($this->ConferenceParticipantResult->getDtmfPassThrough()); + $this->assertIsBool($this->ConferenceParticipantResult->getDtmfPassThrough()); + } /** * Test attribute "start_conf_on_enter" */ @@ -161,6 +170,7 @@ public function toStringTest() { $test1->setCallId("TS"); $test1->setTalk(true); $test1->setListen(true); + $test1->setDtmfPassThrough(true); $test1->setStartConfOnEnter(true); $toString1 = $test1->__toString(); @@ -182,6 +192,7 @@ public function toHeaderValueTest() $test1->setCallId("TS"); $test1->setTalk(true); $test1->setListen(true); + $test1->setDtmfPassThrough(true); $test1->setStartConfOnEnter(true); $toHeaderValue1 = $test1->toHeaderValue(); diff --git a/test/Model/SetDTMFPassThroughAllOfTest.php b/test/Model/SetDTMFPassThroughAllOfTest.php new file mode 100644 index 0000000..bec540b --- /dev/null +++ b/test/Model/SetDTMFPassThroughAllOfTest.php @@ -0,0 +1,90 @@ +SetDTMFPassThroughAllOf = new SetDTMFPassThroughAllOf(); + } + /** + * Test attribute "dtmf_pass_through" + */ + public function testPropertyDtmfPassThrough() + { + $this->SetDTMFPassThroughAllOf->setDtmfPassThrough(false); + $this->assertFalse($this->SetDTMFPassThroughAllOf->getDtmfPassThrough()); + $this->assertIsBool($this->SetDTMFPassThroughAllOf->getDtmfPassThrough()); + } + + /** +* Test method toStringTest +*/ +public function toStringTest() { + $test1 = new SetDTMFPassThroughAllOf(); + $test1->setDtmfPassThrough(true); + + $toString1 = $test1->__toString(); + assert(is_string($toString1)); +} + +/** + * Test method toHeaderValue + */ +public function toHeaderValueTest() +{ + $test1 = new SetDTMFPassThroughAllOf(); + $test1->setDtmfPassThrough(true); + + $toHeaderValue1 = $test1->toHeaderValue(); + assert(is_string($toHeaderValue1)); +} + + +} diff --git a/test/Model/SetDTMFPassThroughTest.php b/test/Model/SetDTMFPassThroughTest.php new file mode 100644 index 0000000..286a80a --- /dev/null +++ b/test/Model/SetDTMFPassThroughTest.php @@ -0,0 +1,90 @@ +SetDTMFPassThrough = new SetDTMFPassThrough(); + } + /** + * Test attribute "dtmf_pass_through" + */ + public function testPropertyDtmfPassThrough() + { + $this->SetDTMFPassThrough->setDtmfPassThrough(false); + $this->assertFalse($this->SetDTMFPassThrough->getDtmfPassThrough()); + $this->assertIsBool($this->SetDTMFPassThrough->getDtmfPassThrough()); + } + + /** +* Test method toStringTest +*/ +public function toStringTest() { + $test1 = new SetDTMFPassThrough(); + $test1->setDtmfPassThrough(true); + + $toString1 = $test1->__toString(); + assert(is_string($toString1)); +} + +/** + * Test method toHeaderValue + */ +public function toHeaderValueTest() +{ + $test1 = new SetDTMFPassThrough(); + $test1->setDtmfPassThrough(true); + + $toHeaderValue1 = $test1->toHeaderValue(); + assert(is_string($toHeaderValue1)); +} + + +} diff --git a/test/Model/SetListenTest.php b/test/Model/SetListenTest.php index f60c354..38d183a 100644 --- a/test/Model/SetListenTest.php +++ b/test/Model/SetListenTest.php @@ -37,7 +37,7 @@ * SetListenTest Class Doc Comment * * @category Class - * @description The `SetListen` command enables or disables the listen privilege for a Conference Participant provided both calls are in the same conference. The Participant can hear what the other participants are saying only if this privilege is enabled. + * @description The `SetListen` command enables or disables the listen privilege for this Conference Participant. The Participant can hear what the other participants are saying only if this privilege is enabled. * @package FreeClimb\Api * @author OpenAPI Generator team * @link https://openapi-generator.tech diff --git a/test/Model/SetTalkTest.php b/test/Model/SetTalkTest.php index 0a753f5..bdb3da2 100644 --- a/test/Model/SetTalkTest.php +++ b/test/Model/SetTalkTest.php @@ -37,7 +37,7 @@ * SetTalkTest Class Doc Comment * * @category Class - * @description The `SetTalk` command enables or disables the talk privilege for a Participant in a Conference provided both calls are in the same conference. If 'true', no audio from that Participant is shared with the other Participants of the Conference. + * @description The `SetTalk` command enables or disables the talk privilege for this Conference Participant. If 'true', no audio from that Participant is shared with the other Participants of the Conference. * @package FreeClimb\Api * @author OpenAPI Generator team * @link https://openapi-generator.tech diff --git a/test/Model/UpdateConferenceParticipantRequestTest.php b/test/Model/UpdateConferenceParticipantRequestTest.php index cba2331..7331018 100644 --- a/test/Model/UpdateConferenceParticipantRequestTest.php +++ b/test/Model/UpdateConferenceParticipantRequestTest.php @@ -71,6 +71,15 @@ public function testPropertyListen() $this->assertFalse($this->UpdateConferenceParticipantRequest->getListen()); $this->assertIsBool($this->UpdateConferenceParticipantRequest->getListen()); } + /** + * Test attribute "dtmf_pass_through" + */ + public function testPropertyDtmfPassThrough() + { + $this->UpdateConferenceParticipantRequest->setDtmfPassThrough(false); + $this->assertFalse($this->UpdateConferenceParticipantRequest->getDtmfPassThrough()); + $this->assertIsBool($this->UpdateConferenceParticipantRequest->getDtmfPassThrough()); + } /** * Test method toStringTest @@ -79,6 +88,7 @@ public function toStringTest() { $test1 = new UpdateConferenceParticipantRequest(); $test1->setTalk(true); $test1->setListen(true); + $test1->setDtmfPassThrough(true); $toString1 = $test1->__toString(); assert(is_string($toString1)); @@ -92,6 +102,7 @@ public function toHeaderValueTest() $test1 = new UpdateConferenceParticipantRequest(); $test1->setTalk(true); $test1->setListen(true); + $test1->setDtmfPassThrough(true); $toHeaderValue1 = $test1->toHeaderValue(); assert(is_string($toHeaderValue1));