@twin.org/api-auth-entity-storage-models 0.0.3-next.21 → 0.0.3-next.23

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.
Files changed (55) hide show
  1. package/dist/es/index.js +9 -1
  2. package/dist/es/index.js.map +1 -1
  3. package/dist/es/models/IAuthenticationAuditComponent.js +2 -0
  4. package/dist/es/models/IAuthenticationAuditComponent.js.map +1 -0
  5. package/dist/es/models/IAuthenticationAuditEntry.js +2 -0
  6. package/dist/es/models/IAuthenticationAuditEntry.js.map +1 -0
  7. package/dist/es/models/IAuthenticationRateActionConfig.js +4 -0
  8. package/dist/es/models/IAuthenticationRateActionConfig.js.map +1 -0
  9. package/dist/es/models/IAuthenticationRateComponent.js +2 -0
  10. package/dist/es/models/IAuthenticationRateComponent.js.map +1 -0
  11. package/dist/es/models/api/IAuditCreateRequest.js +2 -0
  12. package/dist/es/models/api/IAuditCreateRequest.js.map +1 -0
  13. package/dist/es/models/api/IAuditQueryRequest.js +2 -0
  14. package/dist/es/models/api/IAuditQueryRequest.js.map +1 -0
  15. package/dist/es/models/api/IAuditQueryResponse.js +2 -0
  16. package/dist/es/models/api/IAuditQueryResponse.js.map +1 -0
  17. package/dist/es/models/authAuditEvent.js +49 -0
  18. package/dist/es/models/authAuditEvent.js.map +1 -0
  19. package/dist/types/index.d.ts +9 -1
  20. package/dist/types/models/IAuthenticationAuditComponent.d.ts +40 -0
  21. package/dist/types/models/IAuthenticationAuditEntry.d.ts +50 -0
  22. package/dist/types/models/IAuthenticationRateActionConfig.d.ts +13 -0
  23. package/dist/types/models/IAuthenticationRateComponent.d.ts +46 -0
  24. package/dist/types/models/api/IAuditCreateRequest.d.ts +10 -0
  25. package/dist/types/models/api/IAuditQueryRequest.d.ts +47 -0
  26. package/dist/types/models/api/IAuditQueryResponse.d.ts +19 -0
  27. package/dist/types/models/authAuditEvent.d.ts +49 -0
  28. package/docs/changelog.md +14 -0
  29. package/docs/reference/index.md +15 -0
  30. package/docs/reference/interfaces/IAdminUserCreateRequest.md +1 -1
  31. package/docs/reference/interfaces/IAdminUserGetByIdentityRequest.md +1 -1
  32. package/docs/reference/interfaces/IAdminUserGetRequest.md +1 -1
  33. package/docs/reference/interfaces/IAdminUserGetResponse.md +1 -1
  34. package/docs/reference/interfaces/IAdminUserRemoveRequest.md +1 -1
  35. package/docs/reference/interfaces/IAdminUserUpdatePasswordRequest.md +3 -3
  36. package/docs/reference/interfaces/IAdminUserUpdateRequest.md +2 -2
  37. package/docs/reference/interfaces/IAuditCreateRequest.md +11 -0
  38. package/docs/reference/interfaces/IAuditQueryRequest.md +65 -0
  39. package/docs/reference/interfaces/IAuditQueryResponse.md +23 -0
  40. package/docs/reference/interfaces/IAuthenticationAdminComponent.md +6 -6
  41. package/docs/reference/interfaces/IAuthenticationAuditComponent.md +103 -0
  42. package/docs/reference/interfaces/IAuthenticationAuditEntry.md +91 -0
  43. package/docs/reference/interfaces/IAuthenticationComponent.md +4 -4
  44. package/docs/reference/interfaces/IAuthenticationRateActionConfig.md +19 -0
  45. package/docs/reference/interfaces/IAuthenticationRateComponent.md +165 -0
  46. package/docs/reference/interfaces/IAuthenticationUser.md +6 -6
  47. package/docs/reference/interfaces/ILoginRequest.md +1 -1
  48. package/docs/reference/interfaces/ILoginResponse.md +4 -4
  49. package/docs/reference/interfaces/ILogoutRequest.md +3 -3
  50. package/docs/reference/interfaces/IRefreshTokenRequest.md +3 -3
  51. package/docs/reference/interfaces/IRefreshTokenResponse.md +4 -4
  52. package/docs/reference/interfaces/IUpdatePasswordRequest.md +1 -1
  53. package/docs/reference/type-aliases/AuthAuditEvent.md +5 -0
  54. package/docs/reference/variables/AuthAuditEvent.md +67 -0
  55. package/package.json +1 -1
@@ -0,0 +1,5 @@
1
+ # Type Alias: AuthAuditEvent
2
+
3
+ > **AuthAuditEvent** = *typeof* [`AuthAuditEvent`](../variables/AuthAuditEvent.md)\[keyof *typeof* [`AuthAuditEvent`](../variables/AuthAuditEvent.md)\]
4
+
5
+ Supported authentication audit event values.
@@ -0,0 +1,67 @@
1
+ # Variable: AuthAuditEvent
2
+
3
+ > `const` **AuthAuditEvent**: `object`
4
+
5
+ Supported authentication audit events.
6
+
7
+ ## Type Declaration
8
+
9
+ ### LoginSuccess {#loginsuccess}
10
+
11
+ > `readonly` **LoginSuccess**: `"login-success"` = `"login-success"`
12
+
13
+ Login success.
14
+
15
+ ### LoginFailure {#loginfailure}
16
+
17
+ > `readonly` **LoginFailure**: `"login-failure"` = `"login-failure"`
18
+
19
+ Login failure.
20
+
21
+ ### Logout {#logout}
22
+
23
+ > `readonly` **Logout**: `"logout"` = `"logout"`
24
+
25
+ Logout.
26
+
27
+ ### TokenRefreshed {#tokenrefreshed}
28
+
29
+ > `readonly` **TokenRefreshed**: `"token-refreshed"` = `"token-refreshed"`
30
+
31
+ Token refreshed.
32
+
33
+ ### AccountCreated {#accountcreated}
34
+
35
+ > `readonly` **AccountCreated**: `"account-created"` = `"account-created"`
36
+
37
+ Account created.
38
+
39
+ ### AccountDeleted {#accountdeleted}
40
+
41
+ > `readonly` **AccountDeleted**: `"account-deleted"` = `"account-deleted"`
42
+
43
+ Account deleted.
44
+
45
+ ### AccountUpdated {#accountupdated}
46
+
47
+ > `readonly` **AccountUpdated**: `"account-updated"` = `"account-updated"`
48
+
49
+ Account updated.
50
+
51
+ ### AccountLocked {#accountlocked}
52
+
53
+ > `readonly` **AccountLocked**: `"account-locked"` = `"account-locked"`
54
+
55
+ Account locked.
56
+
57
+ ### AccountUnlocked {#accountunlocked}
58
+
59
+ > `readonly` **AccountUnlocked**: `"account-unlocked"` = `"account-unlocked"`
60
+
61
+ Account unlocked.
62
+
63
+ ### PasswordChanged {#passwordchanged}
64
+
65
+ > `readonly` **PasswordChanged**: `"password-changed"` = `"password-changed"`
66
+
67
+ Password changed.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/api-auth-entity-storage-models",
3
- "version": "0.0.3-next.21",
3
+ "version": "0.0.3-next.23",
4
4
  "description": "Contracts for authentication flows and admin user management with entity storage.",
5
5
  "repository": {
6
6
  "type": "git",