diff --git a/.release.json b/.release.json index 636173f..3e750b5 100644 --- a/.release.json +++ b/.release.json @@ -1,9 +1,9 @@ { "source": { "repo_url": "https://github.com/onfido/onfido-openapi-spec", - "short_sha": "f5555a0", - "long_sha": "f5555a0a68778432f3b4854885b496116ac3730c", - "version": "v3.3.1" + "short_sha": "a33e3b2", + "long_sha": "a33e3b25defea6110ec610051560df2c20bd1f65", + "version": "v3.4.0" }, - "release": "v7.3.1" + "release": "v7.4.0" } diff --git a/composer.json b/composer.json index 65c484e..5466766 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "onfido/onfido-php", - "version": "7.3.1", + "version": "7.4.0", "description": "The Onfido API (v3.6)", "keywords": [ "openapitools", diff --git a/composer.lock b/composer.lock index 57bb865..1ac7133 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": "348abbba8a8089c4afe1ba43b3e63de9", + "content-hash": "781717503c9913ac9f719ad45760379b", "packages": [ { "name": "guzzlehttp/guzzle", diff --git a/lib/Configuration.php b/lib/Configuration.php index 8470c4f..bca3522 100644 --- a/lib/Configuration.php +++ b/lib/Configuration.php @@ -87,7 +87,7 @@ class Configuration * * @var string */ - protected $userAgent = 'onfido-php/7.3.1'; + protected $userAgent = 'onfido-php/7.4.0'; /** * Debug switch (default set to false) @@ -404,7 +404,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: v3.6' . PHP_EOL; - $report .= ' SDK Package Version: 7.3.1' . PHP_EOL; + $report .= ' SDK Package Version: 7.4.0' . PHP_EOL; $report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL; return $report; diff --git a/lib/Model/SdkTokenBuilder.php b/lib/Model/SdkTokenBuilder.php index 5e51c1a..98f3792 100644 --- a/lib/Model/SdkTokenBuilder.php +++ b/lib/Model/SdkTokenBuilder.php @@ -73,7 +73,7 @@ class SdkTokenBuilder implements ModelInterface, ArrayAccess, \JsonSerializable protected static $openAPIFormats = [ 'applicant_id' => 'uuid', 'referrer' => null, - 'application_id' => 'uuid', + 'application_id' => null, 'cross_device_url' => null ]; diff --git a/lib/Model/SdkTokenRequest.php b/lib/Model/SdkTokenRequest.php index 41f28e0..cb7af56 100644 --- a/lib/Model/SdkTokenRequest.php +++ b/lib/Model/SdkTokenRequest.php @@ -73,7 +73,7 @@ class SdkTokenRequest implements ModelInterface, ArrayAccess, \JsonSerializable protected static $openAPIFormats = [ 'applicant_id' => 'uuid', 'referrer' => null, - 'application_id' => 'uuid', + 'application_id' => null, 'cross_device_url' => null ];