@moh-sso/users 1.5.0 → 1.6.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/README.md +7 -2
- package/dist/_types/apps/rbac/src/api/health-context.api.d.ts +99 -99
- package/dist/_types/apps/rbac/src/api/identity-sync.api.d.ts +2884 -0
- package/dist/_types/apps/rbac/src/api/index.d.ts +1 -0
- package/dist/_types/apps/rbac/src/api/rbac.api.d.ts +385 -385
- package/dist/_types/apps/rbac/src/types/identity-sync.types.d.ts +109 -0
- package/dist/_types/apps/rbac/src/types/index.d.ts +1 -0
- package/dist/_types/apps/rbac/src/types/rbac.types.d.ts +2 -0
- package/dist/_types/apps/users/src/api/users.api.d.ts +77 -77
- package/dist/_types/apps/users/src/components/UserFilters.d.ts +2 -1
- package/dist/_types/packages/api/src/api/baseApi.d.ts +1 -1
- package/dist/_types/packages/auth/src/api/auth.api.d.ts +21 -21
- package/dist/_types/packages/auth/src/api/health-context.api.d.ts +19 -19
- package/dist/_types/packages/auth/src/auth/auth.selectors.d.ts +22 -22
- package/dist/_types/packages/state/src/clients/clients.selectors.d.ts +17 -17
- package/dist/_types/packages/state/src/index.d.ts +2 -2
- package/dist/_types/packages/ui/src/accessibility/useFocusTrap.d.ts +2 -1
- package/dist/_types/packages/ui/src/overlays/header-panel/ReusableHeaderPanel.d.ts +2 -1
- package/dist/_types/packages/ui/src/overlays/header-panel/header-panel.context.d.ts +3 -1
- package/dist/api.js +1 -1
- package/dist/assets/root.component-C62grxQn.js +1619 -0
- package/dist/assets/root.component-C62grxQn.js.map +1 -0
- package/dist/assets/users-BOKiZZ2J.css +1 -0
- package/dist/index.js +2 -2
- package/dist/routes.js +1 -1
- package/dist/single-spa.js +2 -2
- package/dist/types.js +1 -1
- package/package.json +8 -8
- package/dist/assets/root.component-DjmegrfS.js +0 -1479
- package/dist/assets/root.component-DjmegrfS.js.map +0 -1
- package/dist/assets/users-D7Pe7bza.css +0 -1
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
export type IdentitySyncAccountIdFormat = "uuid" | "positive-integer" | "opaque";
|
|
2
|
+
export type IdentitySyncIntegration = {
|
|
3
|
+
applicationId: string;
|
|
4
|
+
origin: string;
|
|
5
|
+
syncClientId: string;
|
|
6
|
+
accessRole: string;
|
|
7
|
+
credentialRef: string;
|
|
8
|
+
accountIdFormat: IdentitySyncAccountIdFormat;
|
|
9
|
+
contractVersion: string;
|
|
10
|
+
enabled: boolean;
|
|
11
|
+
updatedBy: string;
|
|
12
|
+
createdAt: string;
|
|
13
|
+
updatedAt: string;
|
|
14
|
+
};
|
|
15
|
+
export type IdentitySyncIntegrationPayload = {
|
|
16
|
+
origin: string;
|
|
17
|
+
syncClientId: string;
|
|
18
|
+
accessRole: string;
|
|
19
|
+
credentialRef: string;
|
|
20
|
+
accountIdFormat: IdentitySyncAccountIdFormat;
|
|
21
|
+
enabled: boolean;
|
|
22
|
+
reason: string;
|
|
23
|
+
allowContractDowngrade?: boolean;
|
|
24
|
+
};
|
|
25
|
+
export type IdentitySyncDescriptor = {
|
|
26
|
+
contract: string;
|
|
27
|
+
version: string;
|
|
28
|
+
application: string;
|
|
29
|
+
accountIdFormat: string;
|
|
30
|
+
maxPageSize: number;
|
|
31
|
+
capabilities: string[];
|
|
32
|
+
};
|
|
33
|
+
export type IdentitySyncProposal = "reuse" | "create" | "review" | "linked" | "linked_no_access" | "revoked";
|
|
34
|
+
export type IdentitySyncRunStatus = "previewed" | "applying" | "completed" | "failed" | "cancelled";
|
|
35
|
+
export type IdentitySyncRun = {
|
|
36
|
+
id: string;
|
|
37
|
+
applicationId: string;
|
|
38
|
+
issuer: string;
|
|
39
|
+
status: IdentitySyncRunStatus;
|
|
40
|
+
createdBy: string;
|
|
41
|
+
createdAt: string;
|
|
42
|
+
updatedAt: string;
|
|
43
|
+
};
|
|
44
|
+
export type IdentitySyncRow = {
|
|
45
|
+
id: string;
|
|
46
|
+
runId: string;
|
|
47
|
+
accountId: string;
|
|
48
|
+
emailHint: string;
|
|
49
|
+
proposal: IdentitySyncProposal;
|
|
50
|
+
proposedSubject?: string;
|
|
51
|
+
decision: "pending" | "approved" | "rejected";
|
|
52
|
+
reviewedBy?: string;
|
|
53
|
+
reviewedAt?: string;
|
|
54
|
+
reviewNote?: string;
|
|
55
|
+
userStatus: string;
|
|
56
|
+
linkStatus: string;
|
|
57
|
+
grantStatus: string;
|
|
58
|
+
attempts: number;
|
|
59
|
+
lastError?: string;
|
|
60
|
+
updatedAt: string;
|
|
61
|
+
};
|
|
62
|
+
export type IdentitySyncRunDetail = {
|
|
63
|
+
run: IdentitySyncRun;
|
|
64
|
+
counts: Record<string, number>;
|
|
65
|
+
rows: IdentitySyncRow[];
|
|
66
|
+
};
|
|
67
|
+
export type IdentitySyncJobKind = "start_run" | "apply_run" | "resume_run" | "resume_revocations";
|
|
68
|
+
export type IdentitySyncJob = {
|
|
69
|
+
id: string;
|
|
70
|
+
applicationId: string;
|
|
71
|
+
kind: IdentitySyncJobKind;
|
|
72
|
+
runId?: string;
|
|
73
|
+
status: "running" | "succeeded" | "failed";
|
|
74
|
+
actor: string;
|
|
75
|
+
error?: string;
|
|
76
|
+
errorMessage?: string;
|
|
77
|
+
summary?: Record<string, number>;
|
|
78
|
+
startedAt: string;
|
|
79
|
+
finishedAt?: string;
|
|
80
|
+
};
|
|
81
|
+
export type IdentitySyncStepStatus = "pending" | "done" | "failed" | "unsupported";
|
|
82
|
+
export type IdentitySyncRevocation = {
|
|
83
|
+
id: string;
|
|
84
|
+
applicationId: string;
|
|
85
|
+
issuer: string;
|
|
86
|
+
subject: string;
|
|
87
|
+
revokedBy: string;
|
|
88
|
+
reason: string;
|
|
89
|
+
revokedAt: string;
|
|
90
|
+
restoredBy?: string;
|
|
91
|
+
restoreReason?: string;
|
|
92
|
+
restoredAt?: string;
|
|
93
|
+
roleRemoved: IdentitySyncStepStatus;
|
|
94
|
+
consentsRevoked: IdentitySyncStepStatus;
|
|
95
|
+
sessionsRevoked: IdentitySyncStepStatus;
|
|
96
|
+
attempts: number;
|
|
97
|
+
lastError?: string;
|
|
98
|
+
updatedAt: string;
|
|
99
|
+
complete: boolean;
|
|
100
|
+
sessionsStillOpen: boolean;
|
|
101
|
+
};
|
|
102
|
+
/** A registered service identity (ihp_application_identities) of an application. */
|
|
103
|
+
export type ServiceIdentity = {
|
|
104
|
+
applicationId: string;
|
|
105
|
+
clientId: string;
|
|
106
|
+
subject: string;
|
|
107
|
+
scopes: string[];
|
|
108
|
+
enabled: boolean;
|
|
109
|
+
};
|
|
@@ -44,6 +44,8 @@ export type RbacSystemRole = {
|
|
|
44
44
|
displayName?: string;
|
|
45
45
|
description?: string;
|
|
46
46
|
enabled: boolean;
|
|
47
|
+
/** Held only by Keycloak service accounts; never assignable to people. */
|
|
48
|
+
serviceOnly?: boolean;
|
|
47
49
|
permissions: RbacPermission[];
|
|
48
50
|
};
|
|
49
51
|
export type RbacSystemDetail = RbacSystem & {
|