Skip to content

Commit 44698a8

Browse files
author
regula-bot
committed
Merge remote-tracking branch 'origin/stable'
2 parents 1bef71f + a05cdb2 commit 44698a8

6 files changed

Lines changed: 17 additions & 10 deletions

File tree

.github/workflows/sast.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ env:
1616
# List of paths (space separated) to ignore
1717
# Supports PATTERNS
1818
# EXCLUDE_PATHS: 'foo bar/baz file.txt dir/*.yml'
19-
EXCLUDE_PATHS: 'generator-templates regula/documentreader/webclient/gen'
19+
EXCLUDE_PATHS: 'generator-templates regula/documentreader/webclient/gen .github'
2020
# List of rules (space separated) to ignore
2121
# EXCLUDE_RULES: 'generic.secrets.security.detected-aws-account-id.detected-aws-account-id'
2222
# See https://github.com/semgrep/semgrep-rules for rules registry

Pipfile

100755100644
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ chardet = "*"
2222
packaging = ">=22.0"
2323
types-python-dateutil = ">=2.8.19.14"
2424
mypy = ">=1.5"
25-
setuptools = "==78.1.1"
25+
setuptools = "==83.0.0"
2626

2727
[requires]
2828
python_version = "3.10"

Pipfile.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

regula/documentreader/webclient/gen/models/face_api.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ class FaceApi(BaseModel):
3030
proxy_type: SkipValidation[Optional[int]] = Field(alias="proxy_type", default=None, description="Proxy protocol type, should be set according to the <a href=\"https://curl.se/libcurl/c/CURLOPT_PROXYTYPE.html\" target=\"_blank\">cURL standard</a>.")
3131
child_age_threshold: SkipValidation[Optional[int]] = Field(alias="childAgeThreshold", default=None, description="The age threshold for the portrait comparison. Default: 13.")
3232
child_doc_validity_years: SkipValidation[Optional[int]] = Field(alias="childDocValidityYears", default=None, description="Estimated duration of validity for a child's passport, years. Default: 5.")
33-
__properties: ClassVar[List[str]] = ["url", "mode", "search", "threshold", "serviceTimeout", "proxy", "proxy_userpwd", "proxy_type", "childAgeThreshold", "childDocValidityYears"]
33+
liveness_transaction_id: SkipValidation[Optional[str]] = Field(alias="livenessTransactionId", default=None, description="This parameter allows you to use a liveness transaction id instead of a selfie photo.")
34+
__properties: ClassVar[List[str]] = ["url", "mode", "search", "threshold", "serviceTimeout", "proxy", "proxy_userpwd", "proxy_type", "childAgeThreshold", "childDocValidityYears", "livenessTransactionId"]
3435

3536
model_config = ConfigDict(
3637
populate_by_name=True,
@@ -97,7 +98,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
9798
"proxy_userpwd": obj.get("proxy_userpwd"),
9899
"proxy_type": obj.get("proxy_type"),
99100
"childAgeThreshold": obj.get("childAgeThreshold"),
100-
"childDocValidityYears": obj.get("childDocValidityYears")
101+
"childDocValidityYears": obj.get("childDocValidityYears"),
102+
"livenessTransactionId": obj.get("livenessTransactionId")
101103
})
102104
return _obj
103105

regula/documentreader/webclient/gen/models/healthcheck.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,9 @@ class Healthcheck(BaseModel):
2929
scenarios: SkipValidation[List[str]] = Field(alias="scenarios", description="List of supported scenarios.")
3030
version: SkipValidation[str] = Field(alias="version", description="Product version.")
3131
metadata: SkipValidation[Optional[Dict[str, object]]] = Field(alias="metadata", default=None)
32+
country_filter: SkipValidation[Optional[List[str]]] = Field(alias="countryFilter", default=None, description="The list of country identifiers that are defined for processing in the license. If the array is empty, there are no restrictions for processing.")
3233
documents_database: SkipValidation[Optional[HealthcheckDocumentsDatabase]] = Field(alias="documentsDatabase", default=None)
33-
__properties: ClassVar[List[str]] = ["app", "licenseId", "licenseType", "licenseSerial", "licenseValidUntil", "scenarios", "version", "metadata", "documentsDatabase"]
34+
__properties: ClassVar[List[str]] = ["app", "licenseId", "licenseType", "licenseSerial", "licenseValidUntil", "scenarios", "version", "metadata", "countryFilter", "documentsDatabase"]
3435

3536
model_config = ConfigDict(
3637
populate_by_name=True,
@@ -126,6 +127,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
126127
"scenarios": obj.get("scenarios"),
127128
"version": obj.get("version"),
128129
"metadata": obj.get("metadata"),
130+
"countryFilter": obj.get("countryFilter"),
129131
"documentsDatabase": HealthcheckDocumentsDatabase.from_dict(obj["documentsDatabase"]) if obj.get("documentsDatabase") is not None else None
130132
})
131133
return _obj

regula/documentreader/webclient/gen/models/text_field_type.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -673,6 +673,9 @@ class TextFieldType(int, Enum):
673673
FT_JURISDICTION_SPECIFIC_DATA = 703
674674
FT_DATA_DATE_OF_EXPIRY = 704
675675
FT_CONSUL = 705
676+
DL_CLASS_CODE_B3_FROM = 706
677+
DL_CLASS_CODE_B3_TO = 707
678+
DL_CLASS_CODE_B3_NOTES = 708
676679

677680
@classmethod
678681
def from_json(cls, json_str: str) -> Self:

0 commit comments

Comments
 (0)