@atlasauth/types 0.6.0 → 0.8.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/CHANGELOG.md +13 -0
- package/dist/resources.d.ts +2 -0
- package/dist/webhooks.d.ts +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlasauth/types changelog
|
|
2
2
|
|
|
3
|
+
## 0.8.0 — 2026-10-24
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- Policy acceptance webhook payload types: `user.policy_accepted` and `policy.version_published`.
|
|
8
|
+
|
|
9
|
+
## 0.7.0 — 2026-10-24
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
|
|
13
|
+
- `WebhookEvent` gains `user.reactivated` (a dormant account signed in again) and `session.updated`.
|
|
14
|
+
- `Session.custom_data`: custom per-session data attached by the app's backend or a `post_login` Action.
|
|
15
|
+
|
|
3
16
|
## 0.6.0 — 2026-10-23
|
|
4
17
|
|
|
5
18
|
### Added
|
package/dist/resources.d.ts
CHANGED
|
@@ -119,6 +119,8 @@ export interface Session {
|
|
|
119
119
|
expire_at: number;
|
|
120
120
|
abandon_at: number;
|
|
121
121
|
created_at: number;
|
|
122
|
+
/** Custom per-session data attached by the app's backend or a post_login Action; null when none. */
|
|
123
|
+
custom_data?: Record<string, unknown> | null;
|
|
122
124
|
}
|
|
123
125
|
export interface Organization {
|
|
124
126
|
object: 'organization';
|
package/dist/webhooks.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
/**
|
|
11
11
|
* §12.1 event catalog — the exact union off core's `WEBHOOK_EVENTS`.
|
|
12
12
|
*/
|
|
13
|
-
export type WebhookEvent = 'user.created' | 'user.updated' | 'user.anonymous_linked' | 'user.referral_attributed' | 'user.referral_resolved' | 'user.deleted' | 'user.banned' | 'user.unbanned' | 'user.locked' | 'user.deactivated' | 'user.graduated' | 'policy.imposed' | 'user.suspended' | 'user.unsuspended' | 'session.created' | 'session.revoked' | 'session.ended' | 'session.pending' | 'session.removed' | 'grant.revoked' | 'email.created' | 'sms.created' | 'organization.created' | 'organization.updated' | 'organization.deleted' | 'organizationMembership.created' | 'organizationMembership.updated' | 'organizationMembership.deleted' | 'organization.membership.deleted' | 'organizationInvitation.created' | 'organizationInvitation.accepted' | 'organizationInvitation.revoked' | 'organizationInvitation.declined' | 'organizationInvitation.resent' | 'team.created' | 'team.updated' | 'team.deleted' | 'teamMembership.created' | 'teamMembership.deleted' | 'appRole.created' | 'appRole.updated' | 'appRole.deleted' | 'user.app_roles_updated' | 'role.created' | 'role.updated' | 'role.deleted' | 'permission.created' | 'permission.updated' | 'permission.deleted' | 'organizationDomain.created' | 'organizationDomain.updated' | 'organizationDomain.deleted' | 'organization.settings.updated' | 'waitlistEntry.created' | 'waitlistEntry.updated' | 'subscription.created' | 'subscription.updated' | 'subscription.deleted' | 'entitlement.created' | 'entitlement.updated' | 'entitlement.deleted' | 'billing.subscription.created' | 'billing.subscription.updated' | 'billing.subscription.canceled' | 'billing.invoice.payment_failed' | 'billing.trial.started' | 'billing.trial.will_end' | 'billing.trial.ended' | 'entitlement.override.created' | 'entitlement.override.deleted' | 'entitlement.override.expired' | 'scimToken.created' | 'scimToken.revoked' | 'api_key.revoked' | 'api_key.created' | 'api_key.updated' | 'api_key.limit_reached' | 'ssoConnection.created' | 'ssoConnection.updated' | 'ssoConnection.deleted' | 'user.data_export.requested' | 'user.deletion_requested' | 'user.deletion_cancelled' | 'data_subject_request.scheduled' | 'data_subject_request.fulfilled' | 'data_subject_request.rejected' | 'machine.enrolled' | 'machine.revoked' | 'machine.updated' | 'user.deletion_scheduled' | 'user.deletion_canceled';
|
|
13
|
+
export type WebhookEvent = 'user.created' | 'user.updated' | 'user.anonymous_linked' | 'user.referral_attributed' | 'user.referral_resolved' | 'user.deleted' | 'user.banned' | 'user.unbanned' | 'user.locked' | 'user.deactivated' | 'user.reactivated' | 'user.graduated' | 'user.policy_accepted' | 'policy.version_published' | 'policy.imposed' | 'user.suspended' | 'user.unsuspended' | 'session.created' | 'session.revoked' | 'session.ended' | 'session.pending' | 'session.removed' | 'session.updated' | 'grant.revoked' | 'email.created' | 'sms.created' | 'organization.created' | 'organization.updated' | 'organization.deleted' | 'organizationMembership.created' | 'organizationMembership.updated' | 'organizationMembership.deleted' | 'organization.membership.deleted' | 'organizationInvitation.created' | 'organizationInvitation.accepted' | 'organizationInvitation.revoked' | 'organizationInvitation.declined' | 'organizationInvitation.resent' | 'team.created' | 'team.updated' | 'team.deleted' | 'teamMembership.created' | 'teamMembership.deleted' | 'appRole.created' | 'appRole.updated' | 'appRole.deleted' | 'user.app_roles_updated' | 'role.created' | 'role.updated' | 'role.deleted' | 'permission.created' | 'permission.updated' | 'permission.deleted' | 'organizationDomain.created' | 'organizationDomain.updated' | 'organizationDomain.deleted' | 'organization.settings.updated' | 'waitlistEntry.created' | 'waitlistEntry.updated' | 'subscription.created' | 'subscription.updated' | 'subscription.deleted' | 'entitlement.created' | 'entitlement.updated' | 'entitlement.deleted' | 'billing.subscription.created' | 'billing.subscription.updated' | 'billing.subscription.canceled' | 'billing.invoice.payment_failed' | 'billing.trial.started' | 'billing.trial.will_end' | 'billing.trial.ended' | 'entitlement.override.created' | 'entitlement.override.deleted' | 'entitlement.override.expired' | 'scimToken.created' | 'scimToken.revoked' | 'api_key.revoked' | 'api_key.created' | 'api_key.updated' | 'api_key.limit_reached' | 'ssoConnection.created' | 'ssoConnection.updated' | 'ssoConnection.deleted' | 'user.data_export.requested' | 'user.deletion_requested' | 'user.deletion_cancelled' | 'data_subject_request.scheduled' | 'data_subject_request.fulfilled' | 'data_subject_request.rejected' | 'machine.enrolled' | 'machine.revoked' | 'machine.updated' | 'user.deletion_scheduled' | 'user.deletion_canceled';
|
|
14
14
|
/**
|
|
15
15
|
* §12.2 payload. Full resource objects, not diffs — "consumers never need a
|
|
16
16
|
* read-back call", which also means a consumer processing events out of order
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlasauth/types",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "Shared public TypeScript types for Atlas — the Atlas peer of @clerk/types. Dependency-free, runtime-free: import type { User } from '@atlasauth/types' pulls in no runtime SDK.",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"exports": {
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
},
|
|
12
12
|
"devDependencies": {
|
|
13
13
|
"typescript": "^5.6.3",
|
|
14
|
-
"@atlasauth/localizations": "0.
|
|
14
|
+
"@atlasauth/localizations": "0.10.0"
|
|
15
15
|
},
|
|
16
16
|
"publishConfig": {
|
|
17
17
|
"access": "public"
|