opticedge-types 1.0.11__tar.gz → 1.0.13__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: opticedge_types
3
- Version: 1.0.11
3
+ Version: 1.0.13
4
4
  Summary: Common types for opticedge
5
5
  Author-email: velopace <velopace7@gmail.com>
6
6
  License: MIT
@@ -9,6 +9,22 @@ class ApprovalStatus(IntEnum):
9
9
  APPROVING = 999
10
10
 
11
11
 
12
+ class RejectType(Enum):
13
+ INVALID_CARD = "Invalid card"
14
+ FAKE_HIGHRISK = "Fake - High Risk"
15
+ REPEAT = "Repeat"
16
+ MODEL_FAILURE = "Model failure"
17
+
18
+
19
+ class RescanType(Enum):
20
+ ENVIRONMENT_LIGHTING = "Environment - Lighting",
21
+ ENVIRONMENT_ARTEFACTS = "Environment - Artefacts",
22
+ CARD_IN_SLAB_SLEEVE = "Card in Slab/Sleeve",
23
+ CARD_OBSTRUCTION = "Card - Obstruction",
24
+ CARD_ARTIFACTS = "CARD-ARTIFACTS",
25
+ SCAN_PROCESS_FAILURE = "Scan Process Failure"
26
+
27
+
12
28
  class GradingType(IntEnum):
13
29
  UNKNOWN = 0
14
30
  COLLECTION = 1
@@ -18,6 +34,12 @@ class GradingType(IntEnum):
18
34
  CARD_CENTERING = 6
19
35
 
20
36
 
37
+ class InstantGradeType(IntEnum):
38
+ OVERALL = 0
39
+ SUBGRADES = 1
40
+ OVERALL_TO_SUBGRADES = 2
41
+
42
+
21
43
  class GradingField(Enum):
22
44
  GRADING = "grading"
23
45
  CENTER = "centering_grading"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: opticedge_types
3
- Version: 1.0.11
3
+ Version: 1.0.13
4
4
  Summary: Common types for opticedge
5
5
  Author-email: velopace <velopace7@gmail.com>
6
6
  License: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "opticedge_types"
7
- version = "1.0.11"
7
+ version = "1.0.13"
8
8
  description = "Common types for opticedge"
9
9
  readme = "README.md"
10
10
  dependencies = []