diff --git a/regula/documentreader/webclient/gen/models/chosen_document_type.py b/regula/documentreader/webclient/gen/models/chosen_document_type.py index 78edd2c..5d56b05 100644 --- a/regula/documentreader/webclient/gen/models/chosen_document_type.py +++ b/regula/documentreader/webclient/gen/models/chosen_document_type.py @@ -24,7 +24,7 @@ class ChosenDocumentType(BaseModel): document_name: Optional[StrictStr] = Field(default=None, description="Document name", alias="DocumentName") id: StrictInt = Field(description="Unique document type template identifier (Regula's internal numeric code)", alias="ID") p: Union[Annotated[float, Field(le=1, strict=True, ge=0)], Annotated[int, Field(le=1, strict=True, ge=0)]] = Field(description="A measure of the likelihood of correct recognition in the analysis of this type of document", alias="P") - rotated180: StrictInt = Field(description="true if the document of the given type is rotated by 180 degrees", alias="Rotated180") + rotated180: StrictInt = Field(description="Indicates if the document of the given type is rotated by 180 degrees", alias="Rotated180") rfid_presence: RfidLocation = Field(alias="RFID_Presence") fdsid_list: Optional[FDSIDList] = Field(default=None, alias="FDSIDList") necessary_lights: StrictInt = Field(description="Combination of lighting scheme identifiers (Light enum) required to conduct OCR for this type of document", alias="NecessaryLights") diff --git a/regula/documentreader/webclient/gen/models/light.py b/regula/documentreader/webclient/gen/models/light.py index 634b646..d7d2b1a 100644 --- a/regula/documentreader/webclient/gen/models/light.py +++ b/regula/documentreader/webclient/gen/models/light.py @@ -19,53 +19,10 @@ class Light(int, Enum): allowed enum values """ OFF = 0 - OVI = 1 - WHITE_TOP = 2 - WHITE_SIDE = 4 - WHITE_FRONT = 8388608 WHITE = 6 - IR_TOP = 8 - IR_SIDE = 16 - IR_FRONT = 16777216 IR = 24 - WHITE_GRAY = 33554432 UV = 128 - OVD = 67108864 - VIDEODETECTION = 134217728 - IR_870_OBL = 268435456 - IR_LUMINESCENCE = 256 - AXIAL_WHITE_LEFT = 1024 - AXIAL_WHITE_RIGHT = 2048 - AXIAL_WHITE_FRONT = 512 - IR_720 = 4096 - IR_940 = 8192 AXIAL_WHITE_FULL = 3072 - RAW_DATA = 2147483648 - RAW_DATA_GRBG = 2415919104 - RAW_DATA_GBGR = 2684354560 - RAW_DATA_RGGB = 2952790016 - RAW_DATA_BGGR = 3221225472 - TRANSMITTED = 32 - TRANSMITTED_IR = 64 - ANTI_STOKES = 65536 - TRANSMITTED_IR940 = 16384 - OVD_RIGHT = 262144 - OVD_LEFT = 131072 - IR_700 = 32768 - IR_870 = 16777216 - HOLO = 67108864 - IR_BOTTOM = 64 - WHITE_BOTTOM = 32 - UVC = 524288 - UVB = 1048576 - WHITE_OBL = 2097152 - WHITE_SPECIAL = 4194304 - WHITE_UV = 134 - WHITE_FULL_HOLO = 67108870 - HR_LIGHT = 1073741824 - HR_WHITE = 1073741830 - HR_UV = 1073741952 - HR_IR = 1073741848 @classmethod def from_json(cls, json_str: str) -> Self: diff --git a/regula/documentreader/webclient/gen/models/one_candidate.py b/regula/documentreader/webclient/gen/models/one_candidate.py index f9cab77..e46eea2 100644 --- a/regula/documentreader/webclient/gen/models/one_candidate.py +++ b/regula/documentreader/webclient/gen/models/one_candidate.py @@ -24,7 +24,7 @@ class OneCandidate(BaseModel): document_name: Optional[StrictStr] = Field(default=None, description="Document name", alias="DocumentName") id: StrictInt = Field(description="Unique document type template identifier (Regula's internal numeric code)", alias="ID") p: Union[Annotated[float, Field(le=1, strict=True, ge=0)], Annotated[int, Field(le=1, strict=True, ge=0)]] = Field(description="A measure of the likelihood of correct recognition in the analysis of this type of document", alias="P") - rotated180: StrictInt = Field(description="true if the document of the given type is rotated by 180 degrees", alias="Rotated180") + rotated180: StrictInt = Field(description="Indicates if the document of the given type is rotated by 180 degrees", alias="Rotated180") rfid_presence: RfidLocation = Field(alias="RFID_Presence") fdsid_list: Optional[FDSIDList] = Field(default=None, alias="FDSIDList") necessary_lights: StrictInt = Field(description="Combination of lighting scheme identifiers (Light enum) required to conduct OCR for this type of document", alias="NecessaryLights")