-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade after onfido-openapi-spec change 9c6f606
- Loading branch information
1 parent
563218c
commit e3508f6
Showing
34 changed files
with
548 additions
and
250 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
{ | ||
"source": { | ||
"repo_url": "https://github.com/onfido/onfido-openapi-spec", | ||
"short_sha": "08508b9", | ||
"long_sha": "08508b9517238b3becb4265130633a418a8ee319", | ||
"version": "v3.5.0" | ||
"short_sha": "9c6f606", | ||
"long_sha": "9c6f6060cac558bd51e5b07271b5c9d437a8b03a", | ||
"version": "" | ||
}, | ||
"release": "v3.5.0" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# coding: utf-8 | ||
|
||
""" | ||
Onfido API v3.6 | ||
The Onfido API (v3.6) | ||
The version of the OpenAPI document: v3.6 | ||
Generated by OpenAPI Generator (https://openapi-generator.tech) | ||
Do not edit the class manually. | ||
""" # noqa: E501 | ||
|
||
|
||
from __future__ import annotations | ||
import json | ||
from enum import Enum | ||
from typing_extensions import Self | ||
|
||
|
||
class ApplicantConsentName(str, Enum): | ||
""" | ||
ApplicantConsentName | ||
""" | ||
|
||
""" | ||
allowed enum values | ||
""" | ||
PRIVACY_NOTICES_READ = 'privacy_notices_read' | ||
SSN_VERIFICATION = 'ssn_verification' | ||
PHONE_NUMBER_VERIFICATION = 'phone_number_verification' | ||
|
||
@classmethod | ||
def from_json(cls, json_str: str) -> Self: | ||
"""Create an instance of ApplicantConsentName from a JSON string""" | ||
return cls(json.loads(json_str)) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.