@twin.org/api-auth-entity-storage-service 0.9.1-next.3 → 0.9.1-next.5

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.
@@ -0,0 +1,31 @@
1
+ # Function: authenticationAuditUpdate()
2
+
3
+ > **authenticationAuditUpdate**(`httpRequestContext`, `componentName`, `request`): `Promise`\<`INoContentResponse`\>
4
+
5
+ Update an authentication audit entry.
6
+
7
+ ## Parameters
8
+
9
+ ### httpRequestContext
10
+
11
+ `IHttpRequestContext`
12
+
13
+ The request context for the API.
14
+
15
+ ### componentName
16
+
17
+ `string`
18
+
19
+ The name of the component to use in the routes.
20
+
21
+ ### request
22
+
23
+ `IAuditUpdateRequest`
24
+
25
+ The request.
26
+
27
+ ## Returns
28
+
29
+ `Promise`\<`INoContentResponse`\>
30
+
31
+ The response object with additional http response properties.
@@ -44,6 +44,9 @@
44
44
  - [authenticationAdminRemoveUser](functions/authenticationAdminRemoveUser.md)
45
45
  - [generateRestRoutesAuthenticationAudit](functions/generateRestRoutesAuthenticationAudit.md)
46
46
  - [authenticationAuditCreate](functions/authenticationAuditCreate.md)
47
+ - [authenticationAuditGet](functions/authenticationAuditGet.md)
48
+ - [authenticationAuditUpdate](functions/authenticationAuditUpdate.md)
49
+ - [authenticationAuditRemove](functions/authenticationAuditRemove.md)
47
50
  - [authenticationAuditQuery](functions/authenticationAuditQuery.md)
48
51
  - [generateRestRoutesAuthentication](functions/generateRestRoutesAuthentication.md)
49
52
  - [authenticationLogin](functions/authenticationLogin.md)
package/locales/en.json CHANGED
@@ -21,6 +21,12 @@
21
21
  "passwordHelper": {
22
22
  "currentPasswordMismatch": "The current password is incorrect"
23
23
  },
24
+ "entityStorageAuthenticationAuditService": {
25
+ "auditEntryNotFound": "The audit entry with the specified identifier could not be found \"{notFoundId}\"",
26
+ "getAuditEntryFailed": "Getting the audit entry failed",
27
+ "updateAuditEntryFailed": "Updating the audit entry failed",
28
+ "removeAuditEntryFailed": "Removing the audit entry failed"
29
+ },
24
30
  "entityStorageAuthenticationRateService": {
25
31
  "actionConfigMissing": "No rate-limit configuration exists for action \"{action}\".",
26
32
  "rateLimitExceeded": "The rate limit for action \"{action}\" has been exceeded. Retry after {retryAfterSeconds} seconds."
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/api-auth-entity-storage-service",
3
- "version": "0.9.1-next.3",
3
+ "version": "0.9.1-next.5",
4
4
  "description": "Authentication service implementation and REST routes backed by entity storage.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -14,9 +14,9 @@
14
14
  "node": ">=20.0.0"
15
15
  },
16
16
  "dependencies": {
17
- "@twin.org/api-auth-entity-storage-models": "0.9.1-next.3",
18
- "@twin.org/api-core": "0.9.1-next.3",
19
- "@twin.org/api-models": "0.9.1-next.3",
17
+ "@twin.org/api-auth-entity-storage-models": "0.9.1-next.5",
18
+ "@twin.org/api-core": "0.9.1-next.5",
19
+ "@twin.org/api-models": "0.9.1-next.5",
20
20
  "@twin.org/background-task-models": "next",
21
21
  "@twin.org/context": "next",
22
22
  "@twin.org/core": "next",