@company-semantics/contracts 0.43.1 → 0.44.0
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/package.json +1 -1
- package/src/email/types.ts +8 -0
package/package.json
CHANGED
package/src/email/types.ts
CHANGED
|
@@ -50,6 +50,14 @@ export interface EmailPayloads {
|
|
|
50
50
|
/** User agent of the request (for security context) */
|
|
51
51
|
userAgent?: string
|
|
52
52
|
}
|
|
53
|
+
'security.alert': {
|
|
54
|
+
/** Type of security alert */
|
|
55
|
+
alertType: 'excessive_otp_requests' | 'unusual_login_location'
|
|
56
|
+
/** Human-readable details about the alert */
|
|
57
|
+
details: string
|
|
58
|
+
/** ISO timestamp of when the alert was triggered */
|
|
59
|
+
timestamp: string
|
|
60
|
+
}
|
|
53
61
|
}
|
|
54
62
|
|
|
55
63
|
// =============================================================================
|