opticedge-types 1.0.35 → 1.0.37
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.
- package/dist/enums/card.d.ts +2 -1
- package/dist/enums/card.js +1 -0
- package/dist/types/user.d.ts +12 -0
- package/package.json +1 -1
- package/src/enums/card.ts +2 -1
- package/src/types/user.ts +13 -0
package/dist/enums/card.d.ts
CHANGED
|
@@ -19,7 +19,8 @@ export declare enum CardApprovalStatus {
|
|
|
19
19
|
export declare enum CardRejectType {
|
|
20
20
|
INVALID_CARD = "Invalid card",
|
|
21
21
|
FAKE_HIGHRISK = "Fake - High Risk",
|
|
22
|
-
REPEAT = "Repeat"
|
|
22
|
+
REPEAT = "Repeat",
|
|
23
|
+
MODEL_FAILURE = "Model failure"
|
|
23
24
|
}
|
|
24
25
|
export declare enum CardRescanType {
|
|
25
26
|
ENVIRONMENT_LIGHTING = "Environment - Lighting",
|
package/dist/enums/card.js
CHANGED
|
@@ -26,6 +26,7 @@ var CardRejectType;
|
|
|
26
26
|
CardRejectType["INVALID_CARD"] = "Invalid card";
|
|
27
27
|
CardRejectType["FAKE_HIGHRISK"] = "Fake - High Risk";
|
|
28
28
|
CardRejectType["REPEAT"] = "Repeat";
|
|
29
|
+
CardRejectType["MODEL_FAILURE"] = "Model failure";
|
|
29
30
|
})(CardRejectType || (exports.CardRejectType = CardRejectType = {}));
|
|
30
31
|
var CardRescanType;
|
|
31
32
|
(function (CardRescanType) {
|
package/dist/types/user.d.ts
CHANGED
|
@@ -30,3 +30,15 @@ export type User = {
|
|
|
30
30
|
_id: string;
|
|
31
31
|
_updatedAt: number;
|
|
32
32
|
};
|
|
33
|
+
export type DBUser = {
|
|
34
|
+
id: string;
|
|
35
|
+
record: User;
|
|
36
|
+
insertedAt: Date;
|
|
37
|
+
updatedAt: Date;
|
|
38
|
+
isDeleted?: Boolean;
|
|
39
|
+
hasRecovered?: Boolean;
|
|
40
|
+
recovery?: {
|
|
41
|
+
id: string;
|
|
42
|
+
at: Date;
|
|
43
|
+
};
|
|
44
|
+
};
|
package/package.json
CHANGED
package/src/enums/card.ts
CHANGED
package/src/types/user.ts
CHANGED
|
@@ -31,3 +31,16 @@ export type User = {
|
|
|
31
31
|
_id: string
|
|
32
32
|
_updatedAt: number
|
|
33
33
|
}
|
|
34
|
+
|
|
35
|
+
export type DBUser = {
|
|
36
|
+
id: string
|
|
37
|
+
record: User
|
|
38
|
+
insertedAt: Date
|
|
39
|
+
updatedAt: Date
|
|
40
|
+
isDeleted?: Boolean
|
|
41
|
+
hasRecovered?: Boolean
|
|
42
|
+
recovery?: {
|
|
43
|
+
id: string
|
|
44
|
+
at: Date
|
|
45
|
+
}
|
|
46
|
+
}
|