@idp.global/interfaces 19.0.0 → 20.0.1
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/changelog.md +30 -0
- package/dist_ts/00_commitinfo_data.js +1 -1
- package/dist_ts/dto/activity.d.ts +1 -1
- package/dist_ts/dto/user.d.ts +2 -0
- package/package.json +1 -1
- package/readme.md +2 -0
- package/ts/00_commitinfo_data.ts +1 -1
- package/ts/dto/activity.ts +2 -0
- package/ts/dto/user.ts +2 -0
package/changelog.md
CHANGED
|
@@ -1,5 +1,35 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2026-07-18 - 20.0.1
|
|
4
|
+
|
|
5
|
+
### Fixes
|
|
6
|
+
|
|
7
|
+
- include global administrator grant and removal events in activity DTO union (activity-dto)
|
|
8
|
+
- Add global_admin_granted and global_admin_removed activity events with account targets.
|
|
9
|
+
- Align the browser-safe activity event DTO union with the published activity action contract.
|
|
10
|
+
|
|
11
|
+
## 2026-07-18 - next
|
|
12
|
+
|
|
13
|
+
### Fixes
|
|
14
|
+
|
|
15
|
+
- include global-administrator grant/removal events in the closed browser-safe
|
|
16
|
+
activity-event DTO union, matching the published activity action contract
|
|
17
|
+
|
|
18
|
+
## 2026-07-18 - 20.0.0
|
|
19
|
+
|
|
20
|
+
### Breaking Changes
|
|
21
|
+
|
|
22
|
+
- expose user revision in global admin DTOs (dto)
|
|
23
|
+
- Add required revision to IGlobalUserAdminDto for compare-and-set administration.
|
|
24
|
+
- Document revision as the review token for global admin directory and mutation responses.
|
|
25
|
+
|
|
26
|
+
## 2026-07-18 - next
|
|
27
|
+
|
|
28
|
+
### Breaking Changes
|
|
29
|
+
|
|
30
|
+
- expose the exact current User revision in every global-user administration
|
|
31
|
+
DTO so callers can satisfy the mandatory compare-and-set contract
|
|
32
|
+
|
|
3
33
|
## 2026-07-18 - 19.0.0
|
|
4
34
|
|
|
5
35
|
### Breaking Changes
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export const commitinfo = {
|
|
5
5
|
name: '@idp.global/interfaces',
|
|
6
|
-
version: '
|
|
6
|
+
version: '20.0.1',
|
|
7
7
|
description: 'Shared TypeScript interfaces and TypedRequest contracts for the idp.global ecosystem.'
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSx3QkFBd0I7SUFDOUIsT0FBTyxFQUFFLFFBQVE7SUFDakIsV0FBVyxFQUFFLHVGQUF1RjtDQUNyRyxDQUFBIn0=
|
|
@@ -24,7 +24,7 @@ export type TActivityEventDto = TActivityEventFor<'login', 'account', {
|
|
|
24
24
|
roleChange: TActivityRoleChange;
|
|
25
25
|
}> | TActivityEventFor<'org_app_role_mappings_updated', 'organization_role_mapping', null> | TActivityEventFor<'profile_updated', 'profile', null> | TActivityEventFor<'totp_enabled', 'mfa_method', null> | TActivityEventFor<'totp_disabled', 'mfa_method', null> | TActivityEventFor<'backup_codes_regenerated', 'mfa_method', null> | TActivityEventFor<'mfa_completed', 'mfa_method', {
|
|
26
26
|
factor: TActivityMfaFactor;
|
|
27
|
-
}> | TActivityEventFor<'passkey_registered', 'passkey', null> | TActivityEventFor<'passkey_revoked', 'passkey', null> | TActivityEventFor<'passkey_login', 'passkey', null> | TActivityEventFor<'app_connected', 'application_connection', null> | TActivityEventFor<'app_disconnected', 'application_connection', null> | TActivityEventFor<'user_suspended', 'account', null> | TActivityEventFor<'user_unsuspended', 'account', null> | TActivityEventFor<'account_deletion_requested', 'account', null> | TActivityEventFor<'account_deletion_cancelled', 'account', null> | TActivityEventFor<'account_purged', 'account', null> | TActivityEventFor<'sso_connection_created', 'sso_connection', {
|
|
27
|
+
}> | TActivityEventFor<'passkey_registered', 'passkey', null> | TActivityEventFor<'passkey_revoked', 'passkey', null> | TActivityEventFor<'passkey_login', 'passkey', null> | TActivityEventFor<'app_connected', 'application_connection', null> | TActivityEventFor<'app_disconnected', 'application_connection', null> | TActivityEventFor<'user_suspended', 'account', null> | TActivityEventFor<'user_unsuspended', 'account', null> | TActivityEventFor<'global_admin_granted', 'account', null> | TActivityEventFor<'global_admin_removed', 'account', null> | TActivityEventFor<'account_deletion_requested', 'account', null> | TActivityEventFor<'account_deletion_cancelled', 'account', null> | TActivityEventFor<'account_purged', 'account', null> | TActivityEventFor<'sso_connection_created', 'sso_connection', {
|
|
28
28
|
protocol: 'saml';
|
|
29
29
|
}> | TActivityEventFor<'sso_connection_updated', 'sso_connection', {
|
|
30
30
|
protocol: 'saml';
|
package/dist_ts/dto/user.d.ts
CHANGED
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -64,6 +64,8 @@ distinct actor and target identities, serialized compare-and-set mutation, and
|
|
|
64
64
|
must never remove the last active global administrator. The request requires a
|
|
65
65
|
caller-stable `operationId` and the exact reviewed `expectedUserRevision` so
|
|
66
66
|
retries reconcile one durable attempt without overwriting a newer decision.
|
|
67
|
+
`IGlobalUserAdminDto.revision` supplies that exact review token in directory
|
|
68
|
+
and mutation responses.
|
|
67
69
|
Grant/removal attempt and result events use the closed `global_admin_granted`
|
|
68
70
|
and `global_admin_removed` activity actions.
|
|
69
71
|
The target hash is derived server-side from the canonical, authorized
|
package/ts/00_commitinfo_data.ts
CHANGED
package/ts/dto/activity.ts
CHANGED
|
@@ -75,6 +75,8 @@ export type TActivityEventDto =
|
|
|
75
75
|
| TActivityEventFor<'app_disconnected', 'application_connection', null>
|
|
76
76
|
| TActivityEventFor<'user_suspended', 'account', null>
|
|
77
77
|
| TActivityEventFor<'user_unsuspended', 'account', null>
|
|
78
|
+
| TActivityEventFor<'global_admin_granted', 'account', null>
|
|
79
|
+
| TActivityEventFor<'global_admin_removed', 'account', null>
|
|
78
80
|
| TActivityEventFor<'account_deletion_requested', 'account', null>
|
|
79
81
|
| TActivityEventFor<'account_deletion_cancelled', 'account', null>
|
|
80
82
|
| TActivityEventFor<'account_purged', 'account', null>
|
package/ts/dto/user.ts
CHANGED