@workos/openapi-spec 0.31.0 → 0.33.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.
@@ -21599,6 +21599,7 @@ components:
21599
21599
  - agent.registration.deleted
21600
21600
  - agent.registration.expired
21601
21601
  - agent.registration.organization.switched
21602
+ - agent.registration.revoked
21602
21603
  - authentication.email_verification_succeeded
21603
21604
  - authentication.magic_auth_failed
21604
21605
  - authentication.magic_auth_succeeded
@@ -25773,6 +25774,42 @@ components:
25773
25774
  - data
25774
25775
  - created_at
25775
25776
  - object
25777
+ - type: object
25778
+ properties:
25779
+ id:
25780
+ type: string
25781
+ description: Unique identifier for the event.
25782
+ example: event_01EHZNVPK3SFK441A1RGBFSHRT
25783
+ event:
25784
+ type: string
25785
+ const: agent.registration.revoked
25786
+ data:
25787
+ type: object
25788
+ properties:
25789
+ agent_registration_id:
25790
+ type: string
25791
+ description: The agent registration that was revoked.
25792
+ example: agent_reg_01EHWNCE74X7JSDV0X3SZ3KJNY
25793
+ required:
25794
+ - agent_registration_id
25795
+ description: The event payload.
25796
+ created_at:
25797
+ format: date-time
25798
+ type: string
25799
+ description: An ISO 8601 timestamp.
25800
+ example: '2026-01-15T12:00:00.000Z'
25801
+ context:
25802
+ $ref: '#/components/schemas/EventContextDto'
25803
+ object:
25804
+ type: string
25805
+ description: Distinguishes the Event object.
25806
+ const: event
25807
+ required:
25808
+ - id
25809
+ - event
25810
+ - data
25811
+ - created_at
25812
+ - object
25776
25813
  - type: object
25777
25814
  properties:
25778
25815
  id:
@@ -33740,6 +33777,63 @@ components:
33740
33777
  - data
33741
33778
  - created_at
33742
33779
  - object
33780
+ - type: object
33781
+ properties:
33782
+ id:
33783
+ type: string
33784
+ description: Unique identifier for the event.
33785
+ example: event_01EHZNVPK3SFK441A1RGBFSHRT
33786
+ event:
33787
+ type: string
33788
+ const: vault.kek.deleted
33789
+ data:
33790
+ type: object
33791
+ properties:
33792
+ actor_id:
33793
+ type: string
33794
+ description: The unique identifier of the actor.
33795
+ example: user_01EHWNCE74X7JSDV0X3SZ3KJNY
33796
+ actor_source:
33797
+ type: string
33798
+ enum:
33799
+ - api
33800
+ - dashboard
33801
+ actor_name:
33802
+ type: string
33803
+ description: The name of the actor.
33804
+ example: Jane Doe
33805
+ key_name:
33806
+ type: string
33807
+ description: The name of the key encryption key.
33808
+ example: production-kek
33809
+ key_id:
33810
+ type: string
33811
+ description: The unique identifier of the key encryption key.
33812
+ example: key_01EHWNCE74X7JSDV0X3SZ3KJNY
33813
+ required:
33814
+ - actor_id
33815
+ - actor_source
33816
+ - actor_name
33817
+ - key_name
33818
+ - key_id
33819
+ description: The event payload.
33820
+ created_at:
33821
+ format: date-time
33822
+ type: string
33823
+ description: An ISO 8601 timestamp.
33824
+ example: '2026-01-15T12:00:00.000Z'
33825
+ context:
33826
+ $ref: '#/components/schemas/EventContextDto'
33827
+ object:
33828
+ type: string
33829
+ description: Distinguishes the Event object.
33830
+ const: event
33831
+ required:
33832
+ - id
33833
+ - event
33834
+ - data
33835
+ - created_at
33836
+ - object
33743
33837
  - type: object
33744
33838
  properties:
33745
33839
  id:
package/dist/types.d.ts CHANGED
@@ -4807,7 +4807,7 @@ export interface components {
4807
4807
  * "dsync.user.created"
4808
4808
  * ]
4809
4809
  */
4810
- events: ("agent.registration.created" | "agent.registration.claim.attempt.created" | "agent.registration.claim.completed" | "agent.registration.credential.issued" | "agent.registration.deleted" | "agent.registration.expired" | "agent.registration.organization.switched" | "authentication.email_verification_succeeded" | "authentication.magic_auth_failed" | "authentication.magic_auth_succeeded" | "authentication.mfa_succeeded" | "authentication.oauth_failed" | "authentication.oauth_succeeded" | "authentication.password_failed" | "authentication.password_succeeded" | "authentication.passkey_failed" | "authentication.passkey_succeeded" | "authentication.sso_failed" | "authentication.sso_started" | "authentication.sso_succeeded" | "authentication.sso_timed_out" | "radar.challenge_created" | "authentication.radar_risk_detected" | "authentication.reauthentication_succeeded" | "api_key.created" | "api_key.revoked" | "api_key.updated" | "connection.activated" | "connection.deactivated" | "connection.saml_certificate_renewal_required" | "connection.saml_certificate_renewed" | "connection.deleted" | "dsync.activated" | "dsync.deleted" | "dsync.group.created" | "dsync.group.deleted" | "dsync.group.updated" | "dsync.group.user_added" | "dsync.group.user_removed" | "dsync.user.created" | "dsync.user.deleted" | "dsync.user.updated" | "email_verification.created" | "group.created" | "group.deleted" | "group.member_added" | "group.member_removed" | "group.updated" | "flag.created" | "flag.deleted" | "flag.updated" | "flag.rule_updated" | "invitation.accepted" | "invitation.created" | "invitation.resent" | "invitation.revoked" | "magic_auth.created" | "organization.created" | "organization.deleted" | "organization.updated" | "organization_domain.created" | "organization_domain.deleted" | "organization_domain.updated" | "organization_domain.verified" | "organization_domain.verification_failed" | "password_reset.created" | "password_reset.succeeded" | "user.created" | "user.updated" | "user.deleted" | "organization_membership.created" | "organization_membership.deleted" | "organization_membership.updated" | "role.created" | "role.deleted" | "role.updated" | "organization_role.created" | "organization_role.deleted" | "organization_role.updated" | "permission.created" | "permission.deleted" | "permission.updated" | "pipes.connected_account.connected" | "pipes.connected_account.connection_failed" | "pipes.connected_account.disconnected" | "pipes.connected_account.reauthorization_needed" | "session.created" | "session.revoked" | "waitlist_user.approved" | "waitlist_user.created" | "waitlist_user.denied")[];
4810
+ events: ("agent.registration.created" | "agent.registration.claim.attempt.created" | "agent.registration.claim.completed" | "agent.registration.credential.issued" | "agent.registration.deleted" | "agent.registration.expired" | "agent.registration.organization.switched" | "agent.registration.revoked" | "authentication.email_verification_succeeded" | "authentication.magic_auth_failed" | "authentication.magic_auth_succeeded" | "authentication.mfa_succeeded" | "authentication.oauth_failed" | "authentication.oauth_succeeded" | "authentication.password_failed" | "authentication.password_succeeded" | "authentication.passkey_failed" | "authentication.passkey_succeeded" | "authentication.sso_failed" | "authentication.sso_started" | "authentication.sso_succeeded" | "authentication.sso_timed_out" | "radar.challenge_created" | "authentication.radar_risk_detected" | "authentication.reauthentication_succeeded" | "api_key.created" | "api_key.revoked" | "api_key.updated" | "connection.activated" | "connection.deactivated" | "connection.saml_certificate_renewal_required" | "connection.saml_certificate_renewed" | "connection.deleted" | "dsync.activated" | "dsync.deleted" | "dsync.group.created" | "dsync.group.deleted" | "dsync.group.updated" | "dsync.group.user_added" | "dsync.group.user_removed" | "dsync.user.created" | "dsync.user.deleted" | "dsync.user.updated" | "email_verification.created" | "group.created" | "group.deleted" | "group.member_added" | "group.member_removed" | "group.updated" | "flag.created" | "flag.deleted" | "flag.updated" | "flag.rule_updated" | "invitation.accepted" | "invitation.created" | "invitation.resent" | "invitation.revoked" | "magic_auth.created" | "organization.created" | "organization.deleted" | "organization.updated" | "organization_domain.created" | "organization_domain.deleted" | "organization_domain.updated" | "organization_domain.verified" | "organization_domain.verification_failed" | "password_reset.created" | "password_reset.succeeded" | "user.created" | "user.updated" | "user.deleted" | "organization_membership.created" | "organization_membership.deleted" | "organization_membership.updated" | "role.created" | "role.deleted" | "role.updated" | "organization_role.created" | "organization_role.deleted" | "organization_role.updated" | "permission.created" | "permission.deleted" | "permission.updated" | "pipes.connected_account.connected" | "pipes.connected_account.connection_failed" | "pipes.connected_account.disconnected" | "pipes.connected_account.reauthorization_needed" | "session.created" | "session.revoked" | "waitlist_user.approved" | "waitlist_user.created" | "waitlist_user.denied")[];
4811
4811
  };
4812
4812
  UpdateWebhookEndpointDto: {
4813
4813
  /**
@@ -4828,7 +4828,7 @@ export interface components {
4828
4828
  * "dsync.user.created"
4829
4829
  * ]
4830
4830
  */
4831
- events?: ("agent.registration.created" | "agent.registration.claim.attempt.created" | "agent.registration.claim.completed" | "agent.registration.credential.issued" | "agent.registration.deleted" | "agent.registration.expired" | "agent.registration.organization.switched" | "authentication.email_verification_succeeded" | "authentication.magic_auth_failed" | "authentication.magic_auth_succeeded" | "authentication.mfa_succeeded" | "authentication.oauth_failed" | "authentication.oauth_succeeded" | "authentication.password_failed" | "authentication.password_succeeded" | "authentication.passkey_failed" | "authentication.passkey_succeeded" | "authentication.sso_failed" | "authentication.sso_started" | "authentication.sso_succeeded" | "authentication.sso_timed_out" | "radar.challenge_created" | "authentication.radar_risk_detected" | "authentication.reauthentication_succeeded" | "api_key.created" | "api_key.revoked" | "api_key.updated" | "connection.activated" | "connection.deactivated" | "connection.saml_certificate_renewal_required" | "connection.saml_certificate_renewed" | "connection.deleted" | "dsync.activated" | "dsync.deleted" | "dsync.group.created" | "dsync.group.deleted" | "dsync.group.updated" | "dsync.group.user_added" | "dsync.group.user_removed" | "dsync.user.created" | "dsync.user.deleted" | "dsync.user.updated" | "email_verification.created" | "group.created" | "group.deleted" | "group.member_added" | "group.member_removed" | "group.updated" | "flag.created" | "flag.deleted" | "flag.updated" | "flag.rule_updated" | "invitation.accepted" | "invitation.created" | "invitation.resent" | "invitation.revoked" | "magic_auth.created" | "organization.created" | "organization.deleted" | "organization.updated" | "organization_domain.created" | "organization_domain.deleted" | "organization_domain.updated" | "organization_domain.verified" | "organization_domain.verification_failed" | "password_reset.created" | "password_reset.succeeded" | "user.created" | "user.updated" | "user.deleted" | "organization_membership.created" | "organization_membership.deleted" | "organization_membership.updated" | "role.created" | "role.deleted" | "role.updated" | "organization_role.created" | "organization_role.deleted" | "organization_role.updated" | "permission.created" | "permission.deleted" | "permission.updated" | "pipes.connected_account.connected" | "pipes.connected_account.connection_failed" | "pipes.connected_account.disconnected" | "pipes.connected_account.reauthorization_needed" | "session.created" | "session.revoked" | "waitlist_user.approved" | "waitlist_user.created" | "waitlist_user.denied")[];
4831
+ events?: ("agent.registration.created" | "agent.registration.claim.attempt.created" | "agent.registration.claim.completed" | "agent.registration.credential.issued" | "agent.registration.deleted" | "agent.registration.expired" | "agent.registration.organization.switched" | "agent.registration.revoked" | "authentication.email_verification_succeeded" | "authentication.magic_auth_failed" | "authentication.magic_auth_succeeded" | "authentication.mfa_succeeded" | "authentication.oauth_failed" | "authentication.oauth_succeeded" | "authentication.password_failed" | "authentication.password_succeeded" | "authentication.passkey_failed" | "authentication.passkey_succeeded" | "authentication.sso_failed" | "authentication.sso_started" | "authentication.sso_succeeded" | "authentication.sso_timed_out" | "radar.challenge_created" | "authentication.radar_risk_detected" | "authentication.reauthentication_succeeded" | "api_key.created" | "api_key.revoked" | "api_key.updated" | "connection.activated" | "connection.deactivated" | "connection.saml_certificate_renewal_required" | "connection.saml_certificate_renewed" | "connection.deleted" | "dsync.activated" | "dsync.deleted" | "dsync.group.created" | "dsync.group.deleted" | "dsync.group.updated" | "dsync.group.user_added" | "dsync.group.user_removed" | "dsync.user.created" | "dsync.user.deleted" | "dsync.user.updated" | "email_verification.created" | "group.created" | "group.deleted" | "group.member_added" | "group.member_removed" | "group.updated" | "flag.created" | "flag.deleted" | "flag.updated" | "flag.rule_updated" | "invitation.accepted" | "invitation.created" | "invitation.resent" | "invitation.revoked" | "magic_auth.created" | "organization.created" | "organization.deleted" | "organization.updated" | "organization_domain.created" | "organization_domain.deleted" | "organization_domain.updated" | "organization_domain.verified" | "organization_domain.verification_failed" | "password_reset.created" | "password_reset.succeeded" | "user.created" | "user.updated" | "user.deleted" | "organization_membership.created" | "organization_membership.deleted" | "organization_membership.updated" | "role.created" | "role.deleted" | "role.updated" | "organization_role.created" | "organization_role.deleted" | "organization_role.updated" | "permission.created" | "permission.deleted" | "permission.updated" | "pipes.connected_account.connected" | "pipes.connected_account.connection_failed" | "pipes.connected_account.disconnected" | "pipes.connected_account.reauthorization_needed" | "session.created" | "session.revoked" | "waitlist_user.approved" | "waitlist_user.created" | "waitlist_user.denied")[];
4832
4832
  };
4833
4833
  WidgetSessionTokenDto: {
4834
4834
  /**
@@ -8044,6 +8044,34 @@ export interface components {
8044
8044
  * @constant
8045
8045
  */
8046
8046
  object: "event";
8047
+ } | {
8048
+ /**
8049
+ * @description Unique identifier for the event.
8050
+ * @example event_01EHZNVPK3SFK441A1RGBFSHRT
8051
+ */
8052
+ id: string;
8053
+ /** @constant */
8054
+ event: "agent.registration.revoked";
8055
+ /** @description The event payload. */
8056
+ data: {
8057
+ /**
8058
+ * @description The agent registration that was revoked.
8059
+ * @example agent_reg_01EHWNCE74X7JSDV0X3SZ3KJNY
8060
+ */
8061
+ agent_registration_id: string;
8062
+ };
8063
+ /**
8064
+ * Format: date-time
8065
+ * @description An ISO 8601 timestamp.
8066
+ * @example 2026-01-15T12:00:00.000Z
8067
+ */
8068
+ created_at: string;
8069
+ context?: components["schemas"]["EventContextDto"];
8070
+ /**
8071
+ * @description Distinguishes the Event object.
8072
+ * @constant
8073
+ */
8074
+ object: "event";
8047
8075
  } | {
8048
8076
  /**
8049
8077
  * @description Unique identifier for the event.
@@ -14174,6 +14202,51 @@ export interface components {
14174
14202
  * @constant
14175
14203
  */
14176
14204
  object: "event";
14205
+ } | {
14206
+ /**
14207
+ * @description Unique identifier for the event.
14208
+ * @example event_01EHZNVPK3SFK441A1RGBFSHRT
14209
+ */
14210
+ id: string;
14211
+ /** @constant */
14212
+ event: "vault.kek.deleted";
14213
+ /** @description The event payload. */
14214
+ data: {
14215
+ /**
14216
+ * @description The unique identifier of the actor.
14217
+ * @example user_01EHWNCE74X7JSDV0X3SZ3KJNY
14218
+ */
14219
+ actor_id: string;
14220
+ /** @enum {string} */
14221
+ actor_source: "api" | "dashboard";
14222
+ /**
14223
+ * @description The name of the actor.
14224
+ * @example Jane Doe
14225
+ */
14226
+ actor_name: string;
14227
+ /**
14228
+ * @description The name of the key encryption key.
14229
+ * @example production-kek
14230
+ */
14231
+ key_name: string;
14232
+ /**
14233
+ * @description The unique identifier of the key encryption key.
14234
+ * @example key_01EHWNCE74X7JSDV0X3SZ3KJNY
14235
+ */
14236
+ key_id: string;
14237
+ };
14238
+ /**
14239
+ * Format: date-time
14240
+ * @description An ISO 8601 timestamp.
14241
+ * @example 2026-01-15T12:00:00.000Z
14242
+ */
14243
+ created_at: string;
14244
+ context?: components["schemas"]["EventContextDto"];
14245
+ /**
14246
+ * @description Distinguishes the Event object.
14247
+ * @constant
14248
+ */
14249
+ object: "event";
14177
14250
  } | {
14178
14251
  /**
14179
14252
  * @description Unique identifier for the event.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workos/openapi-spec",
3
- "version": "0.31.0",
3
+ "version": "0.33.0",
4
4
  "type": "module",
5
5
  "description": "WorkOS OpenAPI specification, TypeScript types, and SDK resolution policy",
6
6
  "license": "MIT",