@atlasauth/types 0.8.0 → 0.9.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 +4 -0
- package/dist/webhooks.d.ts +4 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/webhooks.d.ts
CHANGED
|
@@ -8,9 +8,11 @@
|
|
|
8
8
|
* package needs no value import.
|
|
9
9
|
*/
|
|
10
10
|
/**
|
|
11
|
-
* §12.1 event catalog — the exact union off core's `WEBHOOK_EVENTS
|
|
11
|
+
* §12.1 event catalog — the exact union off core's `WEBHOOK_EVENTS`: the
|
|
12
|
+
* canonical names (`resource.action`, snake case) first, then the deprecated
|
|
13
|
+
* spellings still accepted until 2027-10-23.
|
|
12
14
|
*/
|
|
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' | '
|
|
15
|
+
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' | 'secret_key.expiring' | 'secret_key.revoked' | 'status_incident.created' | 'status_incident.updated' | 'status_incident.resolved' | 'policy.imposed' | 'user.suspended' | 'user.unsuspended' | 'session.created' | 'session.revoked' | 'session.pending' | 'session.updated' | 'grant.revoked' | 'email.created' | 'sms.created' | 'organization.created' | 'organization.updated' | 'organization.deleted' | 'organization_membership.created' | 'organization_membership.updated' | 'organization_membership.deleted' | 'organization_invitation.created' | 'organization_invitation.accepted' | 'organization_invitation.revoked' | 'organization_invitation.declined' | 'organization_invitation.resent' | 'team.created' | 'team.updated' | 'team.deleted' | 'team_membership.created' | 'team_membership.deleted' | 'app_role.created' | 'app_role.updated' | 'app_role.deleted' | 'user.app_roles_updated' | 'role.created' | 'role.updated' | 'role.deleted' | 'permission.created' | 'permission.updated' | 'permission.deleted' | 'organization_domain.created' | 'organization_domain.updated' | 'organization_domain.deleted' | 'organization_settings.updated' | 'waitlist_entry.created' | 'waitlist_entry.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' | 'scim_token.created' | 'scim_token.revoked' | 'api_key.revoked' | 'api_key.created' | 'api_key.updated' | 'api_key.limit_reached' | 'sso_connection.created' | 'sso_connection.updated' | 'sso_connection.deleted' | 'user.data_export_requested' | 'user.deletion_requested' | 'data_subject_request.scheduled' | 'data_subject_request.fulfilled' | 'data_subject_request.rejected' | 'privacy_request.updated' | 'privacy_request.completed' | 'machine.enrolled' | 'machine.revoked' | 'machine.updated' | 'user.deletion_scheduled' | 'user.deletion_canceled' | 'webhook_endpoint.failing' | 'webhook_endpoint.disabled' | 'webhook_endpoint.recovered' | 'delivery_target.failing' | 'delivery_target.disabled' | 'delivery_target.recovered' | 'webhook.test' | 'session.ended' | 'session.removed' | 'organizationMembership.created' | 'organizationMembership.updated' | 'organizationMembership.deleted' | 'organization.membership.deleted' | 'organizationInvitation.created' | 'organizationInvitation.accepted' | 'organizationInvitation.revoked' | 'organizationInvitation.declined' | 'organizationInvitation.resent' | 'teamMembership.created' | 'teamMembership.deleted' | 'appRole.created' | 'appRole.updated' | 'appRole.deleted' | 'organizationDomain.created' | 'organizationDomain.updated' | 'organizationDomain.deleted' | 'organization.settings.updated' | 'waitlistEntry.created' | 'waitlistEntry.updated' | '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' | 'ssoConnection.created' | 'ssoConnection.updated' | 'ssoConnection.deleted' | 'user.data_export.requested' | 'user.deletion_cancelled';
|
|
14
16
|
/**
|
|
15
17
|
* §12.2 payload. Full resource objects, not diffs — "consumers never need a
|
|
16
18
|
* 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.9.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": {
|