Skip to content

Commit 3cf38ea

Browse files
Update generator, models
1 parent d63ed31 commit 3cf38ea

File tree

294 files changed

+24257
-36879
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

294 files changed

+24257
-36879
lines changed

.openapi-generator-ignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,5 @@ README.md
1111
.gitignore
1212
setup.py
1313
regula/documentreader/webclient/__init__.py
14+
pyproject.toml
15+
.github/workflows/python.yml

.openapi-generator/FILES

Lines changed: 105 additions & 23 deletions
Large diffs are not rendered by default.

.openapi-generator/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5.0.0
1+
7.12.0

Pipfile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,22 @@ name = "pypi"
66
[packages]
77
certifi = ">=2024.07.04"
88
six = ">=1.10"
9-
python-dateutil = ">=2.5.3"
10-
urllib3 = ">=1.26.19"
9+
python-dateutil = ">=2.8.2"
10+
urllib3 = ">= 1.25.3, < 3.0.0"
1111
vistir = ">=0.4.0, <=0.6.1"
1212
idna = "==3.7"
1313
requests = ">=2.32.3"
14+
pydantic = ">=2"
15+
typing-extensions = ">=4.7.1"
1416

1517
[dev-packages]
1618
setuptools = "==74.1.1"
1719
wheel = "*"
1820
twine = "*"
1921
chardet = "*"
2022
packaging = ">=22.0"
23+
types-python-dateutil = ">=2.8.19.14"
24+
mypy = ">=1.5"
2125

2226
[requires]
2327
python_version = "3.8"

Pipfile.lock

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

example/example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"X-CLIENT-KEY": "123",
2525
"Authorization": "Bearer 123"
2626
}
27-
params = ProcessParams(already_cropped=True, scenario=Scenario.FULL_PROCESS)
27+
params = ProcessParams(alreadyCropped=True, scenario=Scenario.FULLPROCESS)
2828

2929
# Add license to request
3030
# request = RecognitionRequest(system_info=ProcessSystemInfo(license=base64.b64encode(regula_license).decode()), process_params=params, images=[

generator-config.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
{
22
"packageName": "regula.documentreader.webclient.gen",
3-
"extPackageName": "regula.documentreader.webclient.ext"
3+
"extPackageName": "regula.documentreader.webclient.ext",
4+
"typeMappings" : {
5+
"ContainerListListInner": "ResultItem",
6+
"AuthenticityCheckResultListInner": "AuthenticityCheckResultItem",
7+
"DocVisualExtendedInfoPArrayFieldsInner": "DocVisualExtendedField",
8+
"GraphicFieldsListPArrayFieldsInner": "GraphicField"
9+
}
410
}

0 commit comments

Comments
 (0)