Skip to content

Commit 6bf4126

Browse files
author
regula-bot
committed
Merge remote-tracking branch 'origin/develop' into stable
2 parents bce145d + d8e7a16 commit 6bf4126

2 files changed

Lines changed: 4 additions & 2 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

‎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

0 commit comments

Comments
 (0)