regula.documentreader.webclient 8.5.596.dev0__py3-none-any.whl → 8.5.598.dev0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -50,7 +50,8 @@ class ProcessParams(BaseModel):
50
50
  result_type_output: SkipValidation[Optional[List[Result]]] = Field(alias="resultTypeOutput", default=None, description="Types of results to return in response. See 'Result' enum for available options")
51
51
  double_page_spread: SkipValidation[Optional[bool]] = Field(alias="doublePageSpread", default=None, description="Enable this option if the image you provide contains double page spread of the passport and you want to process both pages in one go. It makes sense to use it for documents that have meaningful information on both pages, like Russian domestic passport, or some others. Disabled by default.")
52
52
  generate_double_page_spread_image: SkipValidation[Optional[bool]] = Field(alias="generateDoublePageSpreadImage", default=None, description="When enabled together with \"doublePageSpread\" and there is a passport with two pages spread in the image, pages will be cropped, straightened and aligned together, as if the document was captured on a flatbed scanner. Disabled by default.")
53
- field_types_filter: SkipValidation[Optional[List[TextFieldType]]] = Field(alias="fieldTypesFilter", default=None, description="List of text field types to extract. If empty, all text fields from template will be extracted. Narrowing the list can shorten processing time. Empty by default.")
53
+ field_types_filter: SkipValidation[Optional[List[TextFieldType]]] = Field(alias="fieldTypesFilter", default=None, description="If a document contains Visual zone, you can set the list of field types to extract. In this case, other fields are skipped during the processing, i.e. document recognition becomes faster. This filter is not applicable to the MRZ, barcode or RFID. If the fieldTypesFilter is empty, all fields are extracted. Empty by default. If fieldTypesFilter and fieldTypesIgnoreFilter are used simultaneously, fieldTypesFilter takes priority.")
54
+ field_types_ignore_filter: SkipValidation[Optional[List[TextFieldType]]] = Field(alias="fieldTypesIgnoreFilter", default=None, description="If a document contains a Visual zone, you can specify a list of field types that should be excluded from extraction. All field types listed in this array are skipped during processing, while the remaining fields are recognized. This filter is not applicable to the MRZ, barcode or RFID. If the fieldTypesIgnoreFilter is empty, all fields are extracted. Empty by default. If fieldTypesFilter and fieldTypesIgnoreFilter are used simultaneously, fieldTypesFilter takes priority.")
54
55
  date_format: SkipValidation[Optional[str]] = Field(alias="dateFormat", default=None, description="This option allows you to set dates format so that solution will return dates in this format. For example, if you supply 'MM/dd/yyyy', and document have printed date '09 JUL 2020' for the date os issue, you will get '07/09/2020' as a result. By default it is set to system locale default (where the service is running).")
55
56
  measure_system: SkipValidation[Optional[MeasureSystem]] = Field(alias="measureSystem", default=None)
56
57
  image_dpi_out_max: SkipValidation[Optional[int]] = Field(alias="imageDpiOutMax", default=None, description="This parameter controls maximum resolution in dpi of output images. Resolution will remain original in case 0 is supplied. By default is set to return images in response with resolution not greater than 300 dpi for all scenarios except FullAuth. In FullAuth scenario this limit is 1000 dpi by default.")
@@ -102,7 +103,7 @@ class ProcessParams(BaseModel):
102
103
  disable_auth_resolution_filter: SkipValidation[Optional[bool]] = Field(alias="disableAuthResolutionFilter", default=None, description="This parameter if enabled will ignore the minimum barcode resolution needed to start processing.")
103
104
  strict_security_checks: SkipValidation[Optional[bool]] = Field(alias="strictSecurityChecks", default=None, description="When enabled, this parameter marks security checks that don’t meet minimum requirements as 'Failed' (instead of 'WasNotDone'), which causes the overall security status to be 'Failed'.")
104
105
  return_transliterated_fields: SkipValidation[Optional[bool]] = Field(alias="returnTransliteratedFields", default=None, description="Allows transliteration to be turned on or off; by default, it is enabled.")
105
- __properties: ClassVar[List[str]] = ["generateDTCVC", "lcidFilter", "checkLiveness", "lcidIgnoreFilter", "oneShotIdentification", "useFaceApi", "faceApi", "doDetectCan", "imageOutputMaxHeight", "imageOutputMaxWidth", "scenario", "resultTypeOutput", "doublePageSpread", "generateDoublePageSpreadImage", "fieldTypesFilter", "dateFormat", "measureSystem", "imageDpiOutMax", "alreadyCropped", "customParams", "config", "log", "logLevel", "forceDocID", "matchTextFieldMask", "fastDocDetect", "updateOCRValidityByGlare", "checkRequiredTextFields", "returnCroppedBarcode", "imageQa", "strictImageQuality", "respectImageQuality", "forceDocFormat", "noGraphics", "depersonalizeLog", "multiDocOnImage", "shiftExpiryDate", "minimalHolderAge", "returnUncroppedImage", "mrzFormatsFilter", "forceReadMrzBeforeLocate", "parseBarcodes", "convertCase", "splitNames", "disablePerforationOCR", "documentGroupFilter", "processAuth", "deviceId", "deviceType", "deviceTypeHex", "ignoreDeviceIdFromImage", "documentIdList", "rfid", "checkAuth", "authParams", "mrzDetectMode", "generateNumericCodes", "strictBarcodeDigitalSignatureCheck", "selectLongestNames", "doBarcodes", "strictDLCategoryExpiry", "generateAlpha2Codes", "pdfPagesLimit", "disableAuthResolutionFilter", "strictSecurityChecks", "returnTransliteratedFields"]
106
+ __properties: ClassVar[List[str]] = ["generateDTCVC", "lcidFilter", "checkLiveness", "lcidIgnoreFilter", "oneShotIdentification", "useFaceApi", "faceApi", "doDetectCan", "imageOutputMaxHeight", "imageOutputMaxWidth", "scenario", "resultTypeOutput", "doublePageSpread", "generateDoublePageSpreadImage", "fieldTypesFilter", "fieldTypesIgnoreFilter", "dateFormat", "measureSystem", "imageDpiOutMax", "alreadyCropped", "customParams", "config", "log", "logLevel", "forceDocID", "matchTextFieldMask", "fastDocDetect", "updateOCRValidityByGlare", "checkRequiredTextFields", "returnCroppedBarcode", "imageQa", "strictImageQuality", "respectImageQuality", "forceDocFormat", "noGraphics", "depersonalizeLog", "multiDocOnImage", "shiftExpiryDate", "minimalHolderAge", "returnUncroppedImage", "mrzFormatsFilter", "forceReadMrzBeforeLocate", "parseBarcodes", "convertCase", "splitNames", "disablePerforationOCR", "documentGroupFilter", "processAuth", "deviceId", "deviceType", "deviceTypeHex", "ignoreDeviceIdFromImage", "documentIdList", "rfid", "checkAuth", "authParams", "mrzDetectMode", "generateNumericCodes", "strictBarcodeDigitalSignatureCheck", "selectLongestNames", "doBarcodes", "strictDLCategoryExpiry", "generateAlpha2Codes", "pdfPagesLimit", "disableAuthResolutionFilter", "strictSecurityChecks", "returnTransliteratedFields"]
106
107
 
107
108
  model_config = ConfigDict(
108
109
  populate_by_name=True,
@@ -191,6 +192,7 @@ class ProcessParams(BaseModel):
191
192
  "doublePageSpread": obj.get("doublePageSpread"),
192
193
  "generateDoublePageSpreadImage": obj.get("generateDoublePageSpreadImage"),
193
194
  "fieldTypesFilter": obj.get("fieldTypesFilter"),
195
+ "fieldTypesIgnoreFilter": obj.get("fieldTypesIgnoreFilter"),
194
196
  "dateFormat": obj.get("dateFormat"),
195
197
  "measureSystem": obj.get("measureSystem"),
196
198
  "imageDpiOutMax": obj.get("imageDpiOutMax"),
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: regula_documentreader_webclient
3
- Version: 8.5.596.dev0
3
+ Version: 8.5.598.dev0
4
4
  Summary: Regula's Document Reader python client
5
5
  Home-page: https://regulaforensics.com
6
6
  Author: Regula Forensics, Inc.
@@ -168,7 +168,7 @@ regula/documentreader/webclient/gen/models/photo_ident_result.py,sha256=_BD7dYR8
168
168
  regula/documentreader/webclient/gen/models/point.py,sha256=TBIznHwx7KPGeWBoA9uGcQks_zYsm17w2AuQyagz9QU,2402
169
169
  regula/documentreader/webclient/gen/models/point_array.py,sha256=m7QaOSsfbOzL6Skd8dWdvJjMJrwGVJxqnqxVg0XaM8A,2893
170
170
  regula/documentreader/webclient/gen/models/points_container.py,sha256=4zYuorTsQpbPDHwcVlJVtfNj9sc6g9h5b1idHnRQEVU,3086
171
- regula/documentreader/webclient/gen/models/process_params.py,sha256=_IIfhL56wNf1qZxGtEMNo3CZKjMsI8zdMA1HKoz53HM,26441
171
+ regula/documentreader/webclient/gen/models/process_params.py,sha256=7VB3hInKcrDCBdJzb4F9T46dtf9l3fHl8qGgp5kVHkw,27430
172
172
  regula/documentreader/webclient/gen/models/process_params_rfid.py,sha256=Uafaa-fWJi3_L49C_KsOnaOyB1c76qsFqzeUsfDrOug,2782
173
173
  regula/documentreader/webclient/gen/models/process_request.py,sha256=mfrFQREqd9MPBFnDbhr464tasA_6qncUbzc-bDX1wDA,6132
174
174
  regula/documentreader/webclient/gen/models/process_request_image.py,sha256=66CDZtzqPDrQQsl6GVzhbLvwaR2WUm_yvT2H_QzrqzQ,3148
@@ -263,7 +263,7 @@ regula/documentreader/webclient/gen/models/verification_result.py,sha256=E6bCVR5
263
263
  regula/documentreader/webclient/gen/models/verified_field_map.py,sha256=QjCCjZ82WhT5uzdFthwfiX4Kgi5RL_m7E0NprLhHAJs,4863
264
264
  regula/documentreader/webclient/gen/models/visibility.py,sha256=GACgQd_8lx_cwMwI5lCi7cTxEWxw2atbJo6uI4mTKpQ,602
265
265
  regula/documentreader/webclient/gen/models/visual_extended_field_item.py,sha256=ym9y5RWEoE_92NrJfcrKA6OCtE_E8IOuiRHF2Ar3EQc,5245
266
- regula_documentreader_webclient-8.5.596.dev0.dist-info/METADATA,sha256=2x8zvS4tgsVhnXLbPXiZS9pOZuD-JbQgS6qRb2YsweY,4036
267
- regula_documentreader_webclient-8.5.596.dev0.dist-info/WHEEL,sha256=lTU6B6eIfYoiQJTZNc-fyaR6BpL6ehTzU3xGYxn2n8k,91
268
- regula_documentreader_webclient-8.5.596.dev0.dist-info/top_level.txt,sha256=SFSSVn4j8QDivd3307s97NtpIJ8zOjiWZloAxZIClJY,7
269
- regula_documentreader_webclient-8.5.596.dev0.dist-info/RECORD,,
266
+ regula_documentreader_webclient-8.5.598.dev0.dist-info/METADATA,sha256=X_zsOq1jhMzkxEYGpeqVIocHWLKhEIJUlIINM-PLmzM,4036
267
+ regula_documentreader_webclient-8.5.598.dev0.dist-info/WHEEL,sha256=lTU6B6eIfYoiQJTZNc-fyaR6BpL6ehTzU3xGYxn2n8k,91
268
+ regula_documentreader_webclient-8.5.598.dev0.dist-info/top_level.txt,sha256=SFSSVn4j8QDivd3307s97NtpIJ8zOjiWZloAxZIClJY,7
269
+ regula_documentreader_webclient-8.5.598.dev0.dist-info/RECORD,,