Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .release.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"source": {
"repo_url": "https://github.com/onfido/onfido-openapi-spec",
"short_sha": "d9d749d",
"long_sha": "d9d749dfbd3873524400efe236f7d398bb9e948e",
"short_sha": "ad80494",
"long_sha": "ad8049477731f42993257dd8cbbbd4a193f06c92",
"version": "v6.2.0"
},
"release": "v10.3.0"
Expand Down
60 changes: 30 additions & 30 deletions lib/Api/DefaultApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -9716,7 +9716,7 @@ public function findApplicantConsentsRequest($applicant_id, string $contentType
*
* @throws \Onfido\ApiException on non-2xx response or if the response body is not in the expected format
* @throws \InvalidArgumentException
* @return \Onfido\Model\BiometricToken|\Onfido\Model\Error
* @return \Onfido\Model\BiometricTokenResponse|\Onfido\Model\Error
*/
public function findBiometricToken($user_id, $token_uuid, string $contentType = self::contentTypes['findBiometricToken'][0])
{
Expand All @@ -9735,7 +9735,7 @@ public function findBiometricToken($user_id, $token_uuid, string $contentType =
*
* @throws \Onfido\ApiException on non-2xx response or if the response body is not in the expected format
* @throws \InvalidArgumentException
* @return array of \Onfido\Model\BiometricToken|\Onfido\Model\Error, HTTP status code, HTTP response headers (array of strings)
* @return array of \Onfido\Model\BiometricTokenResponse|\Onfido\Model\Error, HTTP status code, HTTP response headers (array of strings)
*/
public function findBiometricTokenWithHttpInfo($user_id, $token_uuid, string $contentType = self::contentTypes['findBiometricToken'][0])
{
Expand Down Expand Up @@ -9767,7 +9767,7 @@ public function findBiometricTokenWithHttpInfo($user_id, $token_uuid, string $co
switch($statusCode) {
case 200:
return $this->handleResponseWithDataType(
'\Onfido\Model\BiometricToken',
'\Onfido\Model\BiometricTokenResponse',
$request,
$response,
);
Expand Down Expand Up @@ -9795,7 +9795,7 @@ public function findBiometricTokenWithHttpInfo($user_id, $token_uuid, string $co
}

return $this->handleResponseWithDataType(
'\Onfido\Model\BiometricToken',
'\Onfido\Model\BiometricTokenResponse',
$request,
$response,
);
Expand All @@ -9804,7 +9804,7 @@ public function findBiometricTokenWithHttpInfo($user_id, $token_uuid, string $co
case 200:
$data = ObjectSerializer::deserialize(
$e->getResponseBody(),
'\Onfido\Model\BiometricToken',
'\Onfido\Model\BiometricTokenResponse',
$e->getResponseHeaders()
);
$e->setResponseObject($data);
Expand Down Expand Up @@ -9860,7 +9860,7 @@ function ($response) {
*/
public function findBiometricTokenAsyncWithHttpInfo($user_id, $token_uuid, string $contentType = self::contentTypes['findBiometricToken'][0])
{
$returnType = '\Onfido\Model\BiometricToken';
$returnType = '\Onfido\Model\BiometricTokenResponse';
$request = $this->findBiometricTokenRequest($user_id, $token_uuid, $contentType);

return $this->client
Expand Down Expand Up @@ -14686,7 +14686,7 @@ public function generateSdkTokenRequest($sdk_token_builder, string $contentType
*
* @throws \Onfido\ApiException on non-2xx response or if the response body is not in the expected format
* @throws \InvalidArgumentException
* @return \Onfido\Model\InvalidatedBiometricTokenSummary|\Onfido\Model\Error
* @return \Onfido\Model\InvalidatedBiometricTokenResponse|\Onfido\Model\Error
*/
public function invalidateBiometricToken($user_id, $token_uuid, string $contentType = self::contentTypes['invalidateBiometricToken'][0])
{
Expand All @@ -14705,7 +14705,7 @@ public function invalidateBiometricToken($user_id, $token_uuid, string $contentT
*
* @throws \Onfido\ApiException on non-2xx response or if the response body is not in the expected format
* @throws \InvalidArgumentException
* @return array of \Onfido\Model\InvalidatedBiometricTokenSummary|\Onfido\Model\Error, HTTP status code, HTTP response headers (array of strings)
* @return array of \Onfido\Model\InvalidatedBiometricTokenResponse|\Onfido\Model\Error, HTTP status code, HTTP response headers (array of strings)
*/
public function invalidateBiometricTokenWithHttpInfo($user_id, $token_uuid, string $contentType = self::contentTypes['invalidateBiometricToken'][0])
{
Expand Down Expand Up @@ -14737,7 +14737,7 @@ public function invalidateBiometricTokenWithHttpInfo($user_id, $token_uuid, stri
switch($statusCode) {
case 200:
return $this->handleResponseWithDataType(
'\Onfido\Model\InvalidatedBiometricTokenSummary',
'\Onfido\Model\InvalidatedBiometricTokenResponse',
$request,
$response,
);
Expand Down Expand Up @@ -14765,7 +14765,7 @@ public function invalidateBiometricTokenWithHttpInfo($user_id, $token_uuid, stri
}

return $this->handleResponseWithDataType(
'\Onfido\Model\InvalidatedBiometricTokenSummary',
'\Onfido\Model\InvalidatedBiometricTokenResponse',
$request,
$response,
);
Expand All @@ -14774,7 +14774,7 @@ public function invalidateBiometricTokenWithHttpInfo($user_id, $token_uuid, stri
case 200:
$data = ObjectSerializer::deserialize(
$e->getResponseBody(),
'\Onfido\Model\InvalidatedBiometricTokenSummary',
'\Onfido\Model\InvalidatedBiometricTokenResponse',
$e->getResponseHeaders()
);
$e->setResponseObject($data);
Expand Down Expand Up @@ -14830,7 +14830,7 @@ function ($response) {
*/
public function invalidateBiometricTokenAsyncWithHttpInfo($user_id, $token_uuid, string $contentType = self::contentTypes['invalidateBiometricToken'][0])
{
$returnType = '\Onfido\Model\InvalidatedBiometricTokenSummary';
$returnType = '\Onfido\Model\InvalidatedBiometricTokenResponse';
$request = $this->invalidateBiometricTokenRequest($user_id, $token_uuid, $contentType);

return $this->client
Expand Down Expand Up @@ -14996,7 +14996,7 @@ public function invalidateBiometricTokenRequest($user_id, $token_uuid, string $c
*
* @throws \Onfido\ApiException on non-2xx response or if the response body is not in the expected format
* @throws \InvalidArgumentException
* @return \Onfido\Model\InvalidatedBiometricTokensSummary|\Onfido\Model\Error
* @return \Onfido\Model\InvalidatedBiometricTokensResponse|\Onfido\Model\Error
*/
public function invalidateBiometricTokens($user_id, string $contentType = self::contentTypes['invalidateBiometricTokens'][0])
{
Expand All @@ -15014,7 +15014,7 @@ public function invalidateBiometricTokens($user_id, string $contentType = self::
*
* @throws \Onfido\ApiException on non-2xx response or if the response body is not in the expected format
* @throws \InvalidArgumentException
* @return array of \Onfido\Model\InvalidatedBiometricTokensSummary|\Onfido\Model\Error, HTTP status code, HTTP response headers (array of strings)
* @return array of \Onfido\Model\InvalidatedBiometricTokensResponse|\Onfido\Model\Error, HTTP status code, HTTP response headers (array of strings)
*/
public function invalidateBiometricTokensWithHttpInfo($user_id, string $contentType = self::contentTypes['invalidateBiometricTokens'][0])
{
Expand Down Expand Up @@ -15046,7 +15046,7 @@ public function invalidateBiometricTokensWithHttpInfo($user_id, string $contentT
switch($statusCode) {
case 200:
return $this->handleResponseWithDataType(
'\Onfido\Model\InvalidatedBiometricTokensSummary',
'\Onfido\Model\InvalidatedBiometricTokensResponse',
$request,
$response,
);
Expand Down Expand Up @@ -15074,7 +15074,7 @@ public function invalidateBiometricTokensWithHttpInfo($user_id, string $contentT
}

return $this->handleResponseWithDataType(
'\Onfido\Model\InvalidatedBiometricTokensSummary',
'\Onfido\Model\InvalidatedBiometricTokensResponse',
$request,
$response,
);
Expand All @@ -15083,7 +15083,7 @@ public function invalidateBiometricTokensWithHttpInfo($user_id, string $contentT
case 200:
$data = ObjectSerializer::deserialize(
$e->getResponseBody(),
'\Onfido\Model\InvalidatedBiometricTokensSummary',
'\Onfido\Model\InvalidatedBiometricTokensResponse',
$e->getResponseHeaders()
);
$e->setResponseObject($data);
Expand Down Expand Up @@ -15137,7 +15137,7 @@ function ($response) {
*/
public function invalidateBiometricTokensAsyncWithHttpInfo($user_id, string $contentType = self::contentTypes['invalidateBiometricTokens'][0])
{
$returnType = '\Onfido\Model\InvalidatedBiometricTokensSummary';
$returnType = '\Onfido\Model\InvalidatedBiometricTokensResponse';
$request = $this->invalidateBiometricTokensRequest($user_id, $contentType);

return $this->client
Expand Down Expand Up @@ -15603,7 +15603,7 @@ public function listApplicantsRequest($page = 1, $per_page = 20, $include_delete
*
* @throws \Onfido\ApiException on non-2xx response or if the response body is not in the expected format
* @throws \InvalidArgumentException
* @return \Onfido\Model\BiometricTokensList|\Onfido\Model\Error
* @return \Onfido\Model\BiometricTokensResponse|\Onfido\Model\Error
*/
public function listBiometricTokens($user_id, string $contentType = self::contentTypes['listBiometricTokens'][0])
{
Expand All @@ -15621,7 +15621,7 @@ public function listBiometricTokens($user_id, string $contentType = self::conten
*
* @throws \Onfido\ApiException on non-2xx response or if the response body is not in the expected format
* @throws \InvalidArgumentException
* @return array of \Onfido\Model\BiometricTokensList|\Onfido\Model\Error, HTTP status code, HTTP response headers (array of strings)
* @return array of \Onfido\Model\BiometricTokensResponse|\Onfido\Model\Error, HTTP status code, HTTP response headers (array of strings)
*/
public function listBiometricTokensWithHttpInfo($user_id, string $contentType = self::contentTypes['listBiometricTokens'][0])
{
Expand Down Expand Up @@ -15653,7 +15653,7 @@ public function listBiometricTokensWithHttpInfo($user_id, string $contentType =
switch($statusCode) {
case 200:
return $this->handleResponseWithDataType(
'\Onfido\Model\BiometricTokensList',
'\Onfido\Model\BiometricTokensResponse',
$request,
$response,
);
Expand Down Expand Up @@ -15681,7 +15681,7 @@ public function listBiometricTokensWithHttpInfo($user_id, string $contentType =
}

return $this->handleResponseWithDataType(
'\Onfido\Model\BiometricTokensList',
'\Onfido\Model\BiometricTokensResponse',
$request,
$response,
);
Expand All @@ -15690,7 +15690,7 @@ public function listBiometricTokensWithHttpInfo($user_id, string $contentType =
case 200:
$data = ObjectSerializer::deserialize(
$e->getResponseBody(),
'\Onfido\Model\BiometricTokensList',
'\Onfido\Model\BiometricTokensResponse',
$e->getResponseHeaders()
);
$e->setResponseObject($data);
Expand Down Expand Up @@ -15744,7 +15744,7 @@ function ($response) {
*/
public function listBiometricTokensAsyncWithHttpInfo($user_id, string $contentType = self::contentTypes['listBiometricTokens'][0])
{
$returnType = '\Onfido\Model\BiometricTokensList';
$returnType = '\Onfido\Model\BiometricTokensResponse';
$request = $this->listBiometricTokensRequest($user_id, $contentType);

return $this->client
Expand Down Expand Up @@ -22146,7 +22146,7 @@ public function updateApplicantRequest($applicant_id, $applicant_updater, string
*
* @throws \Onfido\ApiException on non-2xx response or if the response body is not in the expected format
* @throws \InvalidArgumentException
* @return \Onfido\Model\UpdateBiometricToken200Response|\Onfido\Model\Error
* @return \Onfido\Model\UpdatedBiometricTokenResponse|\Onfido\Model\Error
*/
public function updateBiometricToken($user_id, $token_uuid, $biometric_token_updater, string $contentType = self::contentTypes['updateBiometricToken'][0])
{
Expand All @@ -22166,7 +22166,7 @@ public function updateBiometricToken($user_id, $token_uuid, $biometric_token_upd
*
* @throws \Onfido\ApiException on non-2xx response or if the response body is not in the expected format
* @throws \InvalidArgumentException
* @return array of \Onfido\Model\UpdateBiometricToken200Response|\Onfido\Model\Error, HTTP status code, HTTP response headers (array of strings)
* @return array of \Onfido\Model\UpdatedBiometricTokenResponse|\Onfido\Model\Error, HTTP status code, HTTP response headers (array of strings)
*/
public function updateBiometricTokenWithHttpInfo($user_id, $token_uuid, $biometric_token_updater, string $contentType = self::contentTypes['updateBiometricToken'][0])
{
Expand Down Expand Up @@ -22198,7 +22198,7 @@ public function updateBiometricTokenWithHttpInfo($user_id, $token_uuid, $biometr
switch($statusCode) {
case 200:
return $this->handleResponseWithDataType(
'\Onfido\Model\UpdateBiometricToken200Response',
'\Onfido\Model\UpdatedBiometricTokenResponse',
$request,
$response,
);
Expand Down Expand Up @@ -22226,7 +22226,7 @@ public function updateBiometricTokenWithHttpInfo($user_id, $token_uuid, $biometr
}

return $this->handleResponseWithDataType(
'\Onfido\Model\UpdateBiometricToken200Response',
'\Onfido\Model\UpdatedBiometricTokenResponse',
$request,
$response,
);
Expand All @@ -22235,7 +22235,7 @@ public function updateBiometricTokenWithHttpInfo($user_id, $token_uuid, $biometr
case 200:
$data = ObjectSerializer::deserialize(
$e->getResponseBody(),
'\Onfido\Model\UpdateBiometricToken200Response',
'\Onfido\Model\UpdatedBiometricTokenResponse',
$e->getResponseHeaders()
);
$e->setResponseObject($data);
Expand Down Expand Up @@ -22293,7 +22293,7 @@ function ($response) {
*/
public function updateBiometricTokenAsyncWithHttpInfo($user_id, $token_uuid, $biometric_token_updater, string $contentType = self::contentTypes['updateBiometricToken'][0])
{
$returnType = '\Onfido\Model\UpdateBiometricToken200Response';
$returnType = '\Onfido\Model\UpdatedBiometricTokenResponse';
$request = $this->updateBiometricTokenRequest($user_id, $token_uuid, $biometric_token_updater, $contentType);

return $this->client
Expand Down
Loading
Loading