@workos/openapi-spec 0.153.0 → 0.155.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/dist/types.d.ts CHANGED
@@ -6422,7 +6422,7 @@ export interface components {
6422
6422
  * "dsync.user.created"
6423
6423
  * ]
6424
6424
  */
6425
- events: ("agent.blueprint.created" | "agent.blueprint.deleted" | "agent.blueprint.updated" | "agent.instance.created" | "agent.instance.deleted" | "agent.instance.session.created" | "agent.instance.session.revoked" | "agent.registration.created" | "agent.registration.claim.attempt.created" | "agent.registration.claim.completed" | "agent.registration.credential.issued" | "agent.registration.deleted" | "agent.registration.refreshed" | "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.account_connection.add_failed" | "pipes.account_connection.connected" | "pipes.account_connection.connection_failed" | "pipes.account_connection.disconnected" | "pipes.account_connection.reauthorization_needed" | "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")[];
6425
+ events: ("agent.blueprint.created" | "agent.blueprint.deleted" | "agent.blueprint.updated" | "agent.instance.created" | "agent.instance.deleted" | "agent.instance.session.created" | "agent.instance.session.revoked" | "agent.registration.created" | "agent.registration.claim.attempt.created" | "agent.registration.claim.completed" | "agent.registration.credential.issued" | "agent.registration.deleted" | "agent.registration.refreshed" | "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" | "feature_flags.flag.created" | "feature_flags.flag.updated" | "feature_flags.flag.deleted" | "feature_flags.flag_rule.created" | "feature_flags.flag_rule.updated" | "feature_flags.flag_target.created" | "feature_flags.flag_rule.deleted" | "feature_flags.flag_target.deleted" | "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.account_connection.add_failed" | "pipes.account_connection.connected" | "pipes.account_connection.connection_failed" | "pipes.account_connection.disconnected" | "pipes.account_connection.reauthorization_needed" | "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")[];
6426
6426
  };
6427
6427
  UpdateWebhookEndpointDto: {
6428
6428
  /**
@@ -6443,7 +6443,7 @@ export interface components {
6443
6443
  * "dsync.user.created"
6444
6444
  * ]
6445
6445
  */
6446
- events?: ("agent.blueprint.created" | "agent.blueprint.deleted" | "agent.blueprint.updated" | "agent.instance.created" | "agent.instance.deleted" | "agent.instance.session.created" | "agent.instance.session.revoked" | "agent.registration.created" | "agent.registration.claim.attempt.created" | "agent.registration.claim.completed" | "agent.registration.credential.issued" | "agent.registration.deleted" | "agent.registration.refreshed" | "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.account_connection.add_failed" | "pipes.account_connection.connected" | "pipes.account_connection.connection_failed" | "pipes.account_connection.disconnected" | "pipes.account_connection.reauthorization_needed" | "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")[];
6446
+ events?: ("agent.blueprint.created" | "agent.blueprint.deleted" | "agent.blueprint.updated" | "agent.instance.created" | "agent.instance.deleted" | "agent.instance.session.created" | "agent.instance.session.revoked" | "agent.registration.created" | "agent.registration.claim.attempt.created" | "agent.registration.claim.completed" | "agent.registration.credential.issued" | "agent.registration.deleted" | "agent.registration.refreshed" | "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" | "feature_flags.flag.created" | "feature_flags.flag.updated" | "feature_flags.flag.deleted" | "feature_flags.flag_rule.created" | "feature_flags.flag_rule.updated" | "feature_flags.flag_target.created" | "feature_flags.flag_rule.deleted" | "feature_flags.flag_target.deleted" | "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.account_connection.add_failed" | "pipes.account_connection.connected" | "pipes.account_connection.connection_failed" | "pipes.account_connection.disconnected" | "pipes.account_connection.reauthorization_needed" | "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")[];
6447
6447
  };
6448
6448
  WidgetSessionTokenDto: {
6449
6449
  /**
@@ -6526,7 +6526,7 @@ export interface components {
6526
6526
  * @description A machine-readable error code; additional values may be added over time.
6527
6527
  * @enum {string}
6528
6528
  */
6529
- ErrorBodyCode: "account_selection_required" | "action_denied" | "already_claimed" | "ambiguous_saml_options" | "api_key_already_expired" | "application_consent_required" | "auth_method_disabled" | "auth_method_mismatch" | "authentication_method_not_allowed" | "authorization_resource_external_id_conflict" | "bad_request" | "both_saml_and_oidc_options_provided" | "cannot_deactivate_pending_organization_membership" | "cannot_delete_last_certificate" | "cannot_reactivate_pending_organization_membership" | "certificate_expired" | "chain_depth_exceeded" | "claim_denied" | "claim_expired" | "client_secret_not_accepted" | "client_secret_required" | "code_challenge_not_found" | "concurrent_flag_target_update" | "concurrent_request" | "connected_account_limit_reached" | "connection_could_not_be_verified" | "connection_deletion_in_progress" | "connection_is_not_saml" | "connection_type_conflicts_with_options" | "connection_type_not_supported" | "connection_type_not_updatable" | "connection_type_or_options_required" | "daily_quota_exceeded" | "directory_sync_disabled" | "directory_sync_in_progress" | "directory_sync_rate_limited" | "directory_sync_unsupported" | "discovery_endpoint_must_use_https" | "domain_already_exists" | "domain_already_verified" | "duplicate_endpoint" | "duplicate_group_role_assignment" | "email_already_in_use" | "email_already_invited" | "email_already_invited_to_organization" | "email_already_verified" | "email_change_code_expired" | "email_change_code_incorrect" | "email_change_code_previously_used" | "email_change_not_allowed" | "email_change_not_needed" | "email_change_too_many_attempts" | "email_completion_required" | "email_domain_not_deliverable" | "email_mismatch" | "email_not_available" | "email_password_auth_disabled" | "email_previously_verified" | "email_verification_code_expired" | "email_verification_code_incorrect" | "email_verification_code_previously_used" | "email_verification_required" | "entity_not_found" | "expires_in_days_too_long" | "expires_in_days_too_short" | "external_auth_session_already_completed" | "external_id_already_in_use" | "external_id_already_used" | "group_membership_limit_exceeded" | "group_membership_update_overlap" | "group_role_assignment_update_overlap" | "id_token_signature_algorithm_not_supported" | "idp_metadata_fetch_failed" | "incomplete_saml_options" | "invalid_agent_access_token" | "invalid_certificate" | "invalid_claim" | "invalid_credentials" | "invalid_email" | "invalid_idp_sso_url" | "invalid_invite" | "invalid_locale" | "invalid_metadata" | "invalid_one_time_code" | "invalid_organization" | "invalid_organization_id" | "invalid_password_hash" | "invalid_pending_authentication_token" | "invalid_refresh_token" | "invalid_request" | "invalid_request_parameters" | "invalid_role" | "invalid_state" | "invalid_url" | "invalid_user_access_token" | "invitation_email_not_sent" | "invite_accepted" | "invite_expired" | "invite_has_accepted_user_id" | "invite_not_pending" | "invite_revoked" | "ip_address_required" | "it_contact_already_exists" | "it_contact_invitation_already_active" | "key_pair_not_accepted" | "lock_timeout" | "max_age_exceeded" | "mfa_challenge" | "mfa_enrollment" | "missing_organization_id_or_resource_type_slug" | "missing_user_id_or_organization_id" | "multiple_roles_not_enabled" | "name_already_in_use" | "no_pending_email_change" | "oidc_options_required" | "one_time_code_expired" | "one_time_code_previously_used" | "one_time_code_too_many_attempts" | "organization_blocked_from_sending_invites" | "organization_membership_directory_managed" | "organization_not_found" | "organization_not_invocable" | "organization_role_slug_conflict" | "organization_selection_required" | "passkey_progressive_enrollment" | "password_and_password_hash_provided" | "password_and_password_hash_type_provided" | "password_reset_error" | "password_reset_not_allowed" | "password_salt_position_requires_password_hash" | "password_strength_error" | "permission_not_found" | "permission_slug_conflict" | "phone_number_required" | "policy_denied" | "production_feature_requires_billing" | "radar_challenge" | "radar_sign_up_challenge" | "radar_sms_sign_in_challenge" | "rate_limit_exceeded" | "resource_has_dependents" | "resource_limit_exceeded" | "resource_type_update_in_progress" | "role_has_assignments" | "role_has_group_role_mappings" | "role_not_found" | "role_not_invocable" | "role_slug_conflict" | "saml_options_required" | "session_expired" | "session_revoked" | "session_settings_not_found" | "sms_challenge_quota_reached" | "sms_challenge_rate_limited" | "sp_signing_cert_already_exists" | "stripe_customer_id_already_used" | "sub_resource_scoped_role_not_allowed" | "team_not_found" | "token_authentication_method_not_supported" | "too_many_sp_encryption_certs" | "unsupported_invocation_type" | "user_already_exists" | "user_already_organization_member" | "user_code_expired" | "user_consent_options_not_supported" | "user_creation_error" | "user_mismatch" | "user_not_member_of_organization" | "user_session_ended" | "verification_id_required" | "wrong_account";
6529
+ ErrorBodyCode: "account_selection_required" | "action_denied" | "already_claimed" | "ambiguous_saml_options" | "api_key_already_expired" | "application_consent_required" | "auth_method_disabled" | "auth_method_mismatch" | "authentication_method_not_allowed" | "authorization_resource_external_id_conflict" | "bad_request" | "both_saml_and_oidc_options_provided" | "cannot_deactivate_pending_organization_membership" | "cannot_delete_last_certificate" | "cannot_reactivate_pending_organization_membership" | "certificate_expired" | "chain_depth_exceeded" | "claim_denied" | "claim_expired" | "client_secret_not_accepted" | "client_secret_required" | "code_challenge_not_found" | "concurrent_flag_target_update" | "concurrent_request" | "connected_account_limit_reached" | "connection_could_not_be_verified" | "connection_deletion_in_progress" | "connection_is_not_saml" | "connection_type_conflicts_with_options" | "connection_type_not_supported" | "connection_type_not_updatable" | "connection_type_or_options_required" | "daily_quota_exceeded" | "directory_sync_disabled" | "directory_sync_in_progress" | "directory_sync_rate_limited" | "directory_sync_unsupported" | "discovery_endpoint_must_use_https" | "domain_already_exists" | "domain_already_verified" | "duplicate_endpoint" | "duplicate_group_role_assignment" | "email_already_in_use" | "email_already_invited" | "email_already_invited_to_organization" | "email_already_verified" | "email_change_code_expired" | "email_change_code_incorrect" | "email_change_code_previously_used" | "email_change_not_allowed" | "email_change_not_needed" | "email_change_too_many_attempts" | "email_completion_required" | "email_domain_not_deliverable" | "email_mismatch" | "email_not_available" | "email_password_auth_disabled" | "email_previously_verified" | "email_verification_code_expired" | "email_verification_code_incorrect" | "email_verification_code_previously_used" | "email_verification_required" | "entity_not_found" | "expires_in_days_too_long" | "expires_in_days_too_short" | "external_auth_session_already_completed" | "external_id_already_in_use" | "external_id_already_used" | "group_membership_limit_exceeded" | "group_membership_update_overlap" | "group_role_assignment_update_overlap" | "id_token_signature_algorithm_not_supported" | "idp_metadata_fetch_failed" | "incomplete_saml_options" | "invalid_agent_access_token" | "invalid_certificate" | "invalid_claim" | "invalid_credentials" | "invalid_email" | "invalid_idp_sso_url" | "invalid_invite" | "invalid_locale" | "invalid_metadata" | "invalid_one_time_code" | "invalid_organization" | "invalid_organization_id" | "invalid_password_hash" | "invalid_pending_authentication_token" | "invalid_refresh_token" | "invalid_request" | "invalid_request_parameters" | "invalid_role" | "invalid_state" | "invalid_url" | "invalid_user_access_token" | "invitation_email_not_sent" | "invite_accepted" | "invite_expired" | "invite_has_accepted_user_id" | "invite_not_pending" | "invite_revoked" | "ip_address_required" | "it_contact_already_exists" | "it_contact_invitation_already_active" | "key_pair_not_accepted" | "lock_timeout" | "max_age_exceeded" | "mfa_challenge" | "mfa_enrollment" | "missing_organization_id_or_resource_type_slug" | "missing_user_id_or_organization_id" | "multiple_roles_not_enabled" | "name_already_in_use" | "no_pending_email_change" | "oidc_options_required" | "one_time_code_expired" | "one_time_code_previously_used" | "one_time_code_too_many_attempts" | "organization_blocked_from_sending_invites" | "organization_membership_directory_managed" | "organization_not_found" | "organization_not_invocable" | "organization_role_slug_conflict" | "organization_selection_required" | "passkey_progressive_enrollment" | "password_and_password_hash_provided" | "password_and_password_hash_type_provided" | "password_reset_error" | "password_reset_not_allowed" | "password_salt_position_requires_password_hash" | "password_strength_error" | "permission_not_found" | "permission_slug_conflict" | "phone_number_required" | "policy_denied" | "production_feature_requires_billing" | "radar_challenge" | "radar_sign_up_challenge" | "radar_sms_sign_in_challenge" | "rate_limit_exceeded" | "resource_has_dependents" | "resource_limit_exceeded" | "resource_type_update_in_progress" | "role_has_assignments" | "role_has_group_role_mappings" | "role_not_found" | "role_not_invocable" | "role_slug_conflict" | "saml_options_required" | "session_expired" | "session_revoked" | "session_settings_not_found" | "sms_challenge_quota_reached" | "sms_challenge_rate_limited" | "sp_signing_cert_already_exists" | "stripe_customer_id_already_used" | "sub_resource_scoped_role_not_allowed" | "team_not_found" | "token_authentication_method_not_supported" | "too_many_failed_verification_attempts" | "too_many_sp_encryption_certs" | "unsupported_invocation_type" | "user_already_exists" | "user_already_organization_member" | "user_code_expired" | "user_consent_options_not_supported" | "user_creation_error" | "user_mismatch" | "user_not_member_of_organization" | "user_session_ended" | "verification_id_required" | "wrong_account";
6530
6530
  ErrorBodyWithCode: {
6531
6531
  /**
6532
6532
  * @description The error code identifying the type of error.
@@ -6641,6 +6641,24 @@ export interface components {
6641
6641
  */
6642
6642
  error: string;
6643
6643
  };
6644
+ TooManyFailedVerificationAttemptsErrorBodyWithRetryAfter: {
6645
+ /**
6646
+ * @description The error code identifying the type of error.
6647
+ * @example too_many_failed_verification_attempts
6648
+ * @constant
6649
+ */
6650
+ code: "too_many_failed_verification_attempts";
6651
+ /**
6652
+ * @description A human-readable description of the error.
6653
+ * @example Request could not be processed.
6654
+ */
6655
+ message: string;
6656
+ /**
6657
+ * @description How many seconds to wait before verification can be retried.
6658
+ * @example 900
6659
+ */
6660
+ retry_after: number;
6661
+ };
6644
6662
  RateLimitExceededErrorBodyWithRetryAfter: {
6645
6663
  /**
6646
6664
  * @description The error code identifying the type of error.
@@ -10778,6 +10796,172 @@ export interface components {
10778
10796
  */
10779
10797
  updated_at: string;
10780
10798
  };
10799
+ FlagRule: {
10800
+ /** @constant */
10801
+ object: "flag_rule";
10802
+ /**
10803
+ * @description Unique identifier of the Flag Rule.
10804
+ * @example flag_rule_01EHZNVPK3SFK441A1RGBFSHRT
10805
+ */
10806
+ id: string;
10807
+ /**
10808
+ * @description The ID of the Feature Flag the rule belongs to.
10809
+ * @example flag_01EHZNVPK3SFK441A1RGBFSHRT
10810
+ */
10811
+ flag_id: string;
10812
+ /**
10813
+ * @description The slug of the Feature Flag the rule belongs to.
10814
+ * @example new-checkout
10815
+ */
10816
+ flag_slug: string;
10817
+ /**
10818
+ * @description The ID of the environment the Flag Rule belongs to.
10819
+ * @example environment_01EHWNCE74X7JSDV0X3SZ3KJNY
10820
+ */
10821
+ environment_id: string;
10822
+ /**
10823
+ * @description The target type slug, if the rule targets a specific type.
10824
+ * @example organization
10825
+ */
10826
+ target_type: string | null;
10827
+ /**
10828
+ * @description The zero-based position of the rule in evaluation order.
10829
+ * @example 0
10830
+ */
10831
+ position: number;
10832
+ /** @constant */
10833
+ value_type: "boolean";
10834
+ /**
10835
+ * @description The value the Feature Flag evaluates to when the rule matches.
10836
+ * @example false
10837
+ */
10838
+ value: boolean;
10839
+ /**
10840
+ * Format: date-time
10841
+ * @description An ISO 8601 timestamp.
10842
+ * @example 2026-01-15T12:00:00.000Z
10843
+ */
10844
+ created_at: string;
10845
+ /**
10846
+ * Format: date-time
10847
+ * @description An ISO 8601 timestamp.
10848
+ * @example 2026-01-15T12:00:00.000Z
10849
+ */
10850
+ updated_at: string;
10851
+ };
10852
+ FlagTarget: {
10853
+ /**
10854
+ * @description Distinguishes the Flag Target object.
10855
+ * @constant
10856
+ */
10857
+ object: "flag_target";
10858
+ /**
10859
+ * @description Unique identifier of the Flag Target.
10860
+ * @example flag_target_01EHZNVPK3SFK441A1RGBFSHRT
10861
+ */
10862
+ id: string;
10863
+ /**
10864
+ * @description The ID of the Feature Flag the target belongs to.
10865
+ * @example flag_01EHZNVPK3SFK441A1RGBFSHRT
10866
+ */
10867
+ flag_id: string;
10868
+ /**
10869
+ * @description The slug of the Feature Flag the target belongs to, which is how the Feature Flag endpoints address it.
10870
+ * @example new-checkout
10871
+ */
10872
+ flag_slug: string;
10873
+ /**
10874
+ * @description The ID of the environment the Flag Target belongs to.
10875
+ * @example environment_01EHWNCE74X7JSDV0X3SZ3KJNY
10876
+ */
10877
+ environment_id: string;
10878
+ /**
10879
+ * @description The type of the target: `organization`, `user`, or a custom target type slug.
10880
+ * @example organization
10881
+ */
10882
+ target_type: string;
10883
+ /**
10884
+ * @description The ID of the targeted entity.
10885
+ * @example org_01EHWNCE74X7JSDV0X3SZ3KJNY
10886
+ */
10887
+ target_id: string;
10888
+ /**
10889
+ * Format: date-time
10890
+ * @description An ISO 8601 timestamp.
10891
+ * @example 2026-01-15T12:00:00.000Z
10892
+ */
10893
+ created_at: string;
10894
+ /**
10895
+ * Format: date-time
10896
+ * @description An ISO 8601 timestamp.
10897
+ * @example 2026-01-15T12:00:00.000Z
10898
+ */
10899
+ updated_at: string;
10900
+ /**
10901
+ * @description The ID of the rule this target belongs to.
10902
+ * @example flag_rule_01EHZNVPK3SFK441A1RGBFSHRT
10903
+ */
10904
+ rule_id: string;
10905
+ } | {
10906
+ /**
10907
+ * @description Distinguishes the Flag Target object.
10908
+ * @constant
10909
+ */
10910
+ object: "flag_target";
10911
+ /**
10912
+ * @description Unique identifier of the Flag Target.
10913
+ * @example flag_target_01EHZNVPK3SFK441A1RGBFSHRT
10914
+ */
10915
+ id: string;
10916
+ /**
10917
+ * @description The ID of the Feature Flag the target belongs to.
10918
+ * @example flag_01EHZNVPK3SFK441A1RGBFSHRT
10919
+ */
10920
+ flag_id: string;
10921
+ /**
10922
+ * @description The slug of the Feature Flag the target belongs to, which is how the Feature Flag endpoints address it.
10923
+ * @example new-checkout
10924
+ */
10925
+ flag_slug: string;
10926
+ /**
10927
+ * @description The ID of the environment the Flag Target belongs to.
10928
+ * @example environment_01EHWNCE74X7JSDV0X3SZ3KJNY
10929
+ */
10930
+ environment_id: string;
10931
+ /**
10932
+ * @description The type of the target: `organization`, `user`, or a custom target type slug.
10933
+ * @example organization
10934
+ */
10935
+ target_type: string;
10936
+ /**
10937
+ * @description The ID of the targeted entity.
10938
+ * @example org_01EHWNCE74X7JSDV0X3SZ3KJNY
10939
+ */
10940
+ target_id: string;
10941
+ /**
10942
+ * @description The type of `value`. Only `boolean` is supported today; additional types are reserved for future multivariate Feature Flags.
10943
+ * @example boolean
10944
+ * @constant
10945
+ */
10946
+ value_type: "boolean";
10947
+ /**
10948
+ * @description The value the Feature Flag evaluates to for this target.
10949
+ * @example true
10950
+ */
10951
+ value: boolean;
10952
+ /**
10953
+ * Format: date-time
10954
+ * @description An ISO 8601 timestamp.
10955
+ * @example 2026-01-15T12:00:00.000Z
10956
+ */
10957
+ created_at: string;
10958
+ /**
10959
+ * Format: date-time
10960
+ * @description An ISO 8601 timestamp.
10961
+ * @example 2026-01-15T12:00:00.000Z
10962
+ */
10963
+ updated_at: string;
10964
+ };
10781
10965
  PipesConnectedAccount: {
10782
10966
  /**
10783
10967
  * @description The connected account object.
@@ -14473,13 +14657,470 @@ export interface components {
14473
14657
  [key: string]: unknown;
14474
14658
  };
14475
14659
  };
14476
- /**
14477
- * Format: date-time
14478
- * @description An ISO 8601 timestamp.
14479
- * @example 2026-01-15T12:00:00.000Z
14480
- */
14481
- created_at: string;
14482
- context?: components["schemas"]["EventContextDto"];
14660
+ /**
14661
+ * Format: date-time
14662
+ * @description An ISO 8601 timestamp.
14663
+ * @example 2026-01-15T12:00:00.000Z
14664
+ */
14665
+ created_at: string;
14666
+ context?: components["schemas"]["EventContextDto"];
14667
+ /**
14668
+ * @description Distinguishes the Event object.
14669
+ * @constant
14670
+ */
14671
+ object: "event";
14672
+ } | {
14673
+ /**
14674
+ * @description Unique identifier for the event.
14675
+ * @example event_01EHZNVPK3SFK441A1RGBFSHRT
14676
+ */
14677
+ id: string;
14678
+ /** @constant */
14679
+ event: "email_verification.created";
14680
+ /** @description The event payload. */
14681
+ data: {
14682
+ /**
14683
+ * @description Distinguishes the email verification object.
14684
+ * @constant
14685
+ */
14686
+ object: "email_verification";
14687
+ /**
14688
+ * @description The unique ID of the email verification code.
14689
+ * @example email_verification_01E4ZCR3C56J083X43JQXF3JK5
14690
+ */
14691
+ id: string;
14692
+ /**
14693
+ * @description The unique ID of the user.
14694
+ * @example user_01E4ZCR3C56J083X43JQXF3JK5
14695
+ */
14696
+ user_id: string;
14697
+ /**
14698
+ * @description The email address of the user.
14699
+ * @example marcelina.davis@example.com
14700
+ */
14701
+ email: string;
14702
+ /**
14703
+ * Format: date-time
14704
+ * @description The timestamp when the email verification code expires.
14705
+ * @example 2026-01-15T12:00:00.000Z
14706
+ */
14707
+ expires_at: string;
14708
+ /**
14709
+ * Format: date-time
14710
+ * @description An ISO 8601 timestamp.
14711
+ * @example 2026-01-15T12:00:00.000Z
14712
+ */
14713
+ created_at: string;
14714
+ /**
14715
+ * Format: date-time
14716
+ * @description An ISO 8601 timestamp.
14717
+ * @example 2026-01-15T12:00:00.000Z
14718
+ */
14719
+ updated_at: string;
14720
+ };
14721
+ /**
14722
+ * Format: date-time
14723
+ * @description An ISO 8601 timestamp.
14724
+ * @example 2026-01-15T12:00:00.000Z
14725
+ */
14726
+ created_at: string;
14727
+ context?: components["schemas"]["EventContextDto"];
14728
+ /**
14729
+ * @description Distinguishes the Event object.
14730
+ * @constant
14731
+ */
14732
+ object: "event";
14733
+ } | {
14734
+ /**
14735
+ * @description Unique identifier for the event.
14736
+ * @example event_01EHZNVPK3SFK441A1RGBFSHRT
14737
+ */
14738
+ id: string;
14739
+ /** @constant */
14740
+ event: "feature_flags.flag.created";
14741
+ /** @description The event payload. */
14742
+ data: {
14743
+ /** @constant */
14744
+ object: "feature_flag";
14745
+ /**
14746
+ * @description Unique identifier of the Feature Flag.
14747
+ * @example flag_01EHZNVPK3SFK441A1RGBFSHRT
14748
+ */
14749
+ id: string;
14750
+ /**
14751
+ * @description The ID of the environment the Feature Flag belongs to.
14752
+ * @example environment_01EHWNCE74X7JSDV0X3SZ3KJNY
14753
+ */
14754
+ environment_id: string;
14755
+ /**
14756
+ * @description A unique key to reference the Feature Flag.
14757
+ * @example advanced-analytics
14758
+ */
14759
+ slug: string;
14760
+ /**
14761
+ * @description A descriptive name for the Feature Flag.
14762
+ * @example Advanced Analytics
14763
+ */
14764
+ name: string;
14765
+ /**
14766
+ * @description A description for the Feature Flag.
14767
+ * @example Enable advanced analytics dashboard feature
14768
+ */
14769
+ description: string | null;
14770
+ /** @description The owner of the Feature Flag. */
14771
+ owner: {
14772
+ /**
14773
+ * @description The email address of the flag owner.
14774
+ * @example jane@example.com
14775
+ */
14776
+ email: string;
14777
+ /**
14778
+ * @description The first name of the flag owner.
14779
+ * @example Jane
14780
+ */
14781
+ first_name: string | null;
14782
+ /**
14783
+ * @description The last name of the flag owner.
14784
+ * @example Doe
14785
+ */
14786
+ last_name: string | null;
14787
+ } | null;
14788
+ /**
14789
+ * @description Labels assigned to the Feature Flag for categorizing and filtering.
14790
+ * @example [
14791
+ * "reports"
14792
+ * ]
14793
+ */
14794
+ tags: string[];
14795
+ /**
14796
+ * @description Specifies whether the Feature Flag is active for the current environment.
14797
+ * @example true
14798
+ */
14799
+ enabled: boolean;
14800
+ /**
14801
+ * @description The value returned for users and organizations who don't match any configured targeting rules.
14802
+ * @example false
14803
+ */
14804
+ default_value: boolean;
14805
+ /**
14806
+ * Format: date-time
14807
+ * @description An ISO 8601 timestamp.
14808
+ * @example 2026-01-15T12:00:00.000Z
14809
+ */
14810
+ created_at: string;
14811
+ /**
14812
+ * Format: date-time
14813
+ * @description An ISO 8601 timestamp.
14814
+ * @example 2026-01-15T12:00:00.000Z
14815
+ */
14816
+ updated_at: string;
14817
+ };
14818
+ /**
14819
+ * Format: date-time
14820
+ * @description An ISO 8601 timestamp.
14821
+ * @example 2026-01-15T12:00:00.000Z
14822
+ */
14823
+ created_at: string;
14824
+ /** @description Additional context about the event. */
14825
+ context: {
14826
+ /**
14827
+ * @description The client ID associated with the flag event.
14828
+ * @example client_01EHWNCE74X7JSDV0X3SZ3KJNY
14829
+ */
14830
+ client_id: string;
14831
+ /** @description The actor who performed the action. */
14832
+ actor: {
14833
+ /**
14834
+ * @description Unique identifier of the actor.
14835
+ * @example user_01EHWNCE74X7JSDV0X3SZ3KJNY
14836
+ */
14837
+ id: string;
14838
+ /**
14839
+ * @description The source of the actor that performed the action.
14840
+ * @enum {string}
14841
+ */
14842
+ source: "api" | "dashboard" | "admin_portal" | "system";
14843
+ /**
14844
+ * @description The name of the actor.
14845
+ * @example Jane Doe
14846
+ */
14847
+ name: string | null;
14848
+ };
14849
+ };
14850
+ /**
14851
+ * @description Distinguishes the Event object.
14852
+ * @constant
14853
+ */
14854
+ object: "event";
14855
+ } | {
14856
+ /**
14857
+ * @description Unique identifier for the event.
14858
+ * @example event_01EHZNVPK3SFK441A1RGBFSHRT
14859
+ */
14860
+ id: string;
14861
+ /** @constant */
14862
+ event: "feature_flags.flag.deleted";
14863
+ /** @description The event payload. */
14864
+ data: {
14865
+ /** @constant */
14866
+ object: "feature_flag";
14867
+ /**
14868
+ * @description Unique identifier of the Feature Flag.
14869
+ * @example flag_01EHZNVPK3SFK441A1RGBFSHRT
14870
+ */
14871
+ id: string;
14872
+ /**
14873
+ * @description The ID of the environment the Feature Flag belongs to.
14874
+ * @example environment_01EHWNCE74X7JSDV0X3SZ3KJNY
14875
+ */
14876
+ environment_id: string;
14877
+ /**
14878
+ * @description A unique key to reference the Feature Flag.
14879
+ * @example advanced-analytics
14880
+ */
14881
+ slug: string;
14882
+ /**
14883
+ * @description A descriptive name for the Feature Flag.
14884
+ * @example Advanced Analytics
14885
+ */
14886
+ name: string;
14887
+ /**
14888
+ * @description A description for the Feature Flag.
14889
+ * @example Enable advanced analytics dashboard feature
14890
+ */
14891
+ description: string | null;
14892
+ /** @description The owner of the Feature Flag. */
14893
+ owner: {
14894
+ /**
14895
+ * @description The email address of the flag owner.
14896
+ * @example jane@example.com
14897
+ */
14898
+ email: string;
14899
+ /**
14900
+ * @description The first name of the flag owner.
14901
+ * @example Jane
14902
+ */
14903
+ first_name: string | null;
14904
+ /**
14905
+ * @description The last name of the flag owner.
14906
+ * @example Doe
14907
+ */
14908
+ last_name: string | null;
14909
+ } | null;
14910
+ /**
14911
+ * @description Labels assigned to the Feature Flag for categorizing and filtering.
14912
+ * @example [
14913
+ * "reports"
14914
+ * ]
14915
+ */
14916
+ tags: string[];
14917
+ /**
14918
+ * @description Specifies whether the Feature Flag is active for the current environment.
14919
+ * @example true
14920
+ */
14921
+ enabled: boolean;
14922
+ /**
14923
+ * @description The value returned for users and organizations who don't match any configured targeting rules.
14924
+ * @example false
14925
+ */
14926
+ default_value: boolean;
14927
+ /**
14928
+ * Format: date-time
14929
+ * @description An ISO 8601 timestamp.
14930
+ * @example 2026-01-15T12:00:00.000Z
14931
+ */
14932
+ created_at: string;
14933
+ /**
14934
+ * Format: date-time
14935
+ * @description An ISO 8601 timestamp.
14936
+ * @example 2026-01-15T12:00:00.000Z
14937
+ */
14938
+ updated_at: string;
14939
+ };
14940
+ /**
14941
+ * Format: date-time
14942
+ * @description An ISO 8601 timestamp.
14943
+ * @example 2026-01-15T12:00:00.000Z
14944
+ */
14945
+ created_at: string;
14946
+ /** @description Additional context about the event. */
14947
+ context: {
14948
+ /**
14949
+ * @description The client ID associated with the flag event.
14950
+ * @example client_01EHWNCE74X7JSDV0X3SZ3KJNY
14951
+ */
14952
+ client_id: string;
14953
+ /** @description The actor who performed the action. */
14954
+ actor: {
14955
+ /**
14956
+ * @description Unique identifier of the actor.
14957
+ * @example user_01EHWNCE74X7JSDV0X3SZ3KJNY
14958
+ */
14959
+ id: string;
14960
+ /**
14961
+ * @description The source of the actor that performed the action.
14962
+ * @enum {string}
14963
+ */
14964
+ source: "api" | "dashboard" | "admin_portal" | "system";
14965
+ /**
14966
+ * @description The name of the actor.
14967
+ * @example Jane Doe
14968
+ */
14969
+ name: string | null;
14970
+ };
14971
+ };
14972
+ /**
14973
+ * @description Distinguishes the Event object.
14974
+ * @constant
14975
+ */
14976
+ object: "event";
14977
+ } | {
14978
+ /**
14979
+ * @description Unique identifier for the event.
14980
+ * @example event_01EHZNVPK3SFK441A1RGBFSHRT
14981
+ */
14982
+ id: string;
14983
+ /** @constant */
14984
+ event: "feature_flags.flag_rule.created";
14985
+ /** @description The event payload. */
14986
+ data: components["schemas"]["FlagRule"];
14987
+ /**
14988
+ * Format: date-time
14989
+ * @description An ISO 8601 timestamp.
14990
+ * @example 2026-01-15T12:00:00.000Z
14991
+ */
14992
+ created_at: string;
14993
+ /** @description Additional context about the event. */
14994
+ context: {
14995
+ /**
14996
+ * @description The client ID associated with the flag event.
14997
+ * @example client_01EHWNCE74X7JSDV0X3SZ3KJNY
14998
+ */
14999
+ client_id: string;
15000
+ /** @description The actor who performed the action. */
15001
+ actor?: {
15002
+ /**
15003
+ * @description Unique identifier of the actor.
15004
+ * @example user_01EHWNCE74X7JSDV0X3SZ3KJNY
15005
+ */
15006
+ id: string;
15007
+ /**
15008
+ * @description The source of the actor that performed the action.
15009
+ * @enum {string}
15010
+ */
15011
+ source: "api" | "dashboard" | "admin_portal" | "system";
15012
+ /**
15013
+ * @description The name of the actor.
15014
+ * @example Jane Doe
15015
+ */
15016
+ name: string | null;
15017
+ };
15018
+ };
15019
+ /**
15020
+ * @description Distinguishes the Event object.
15021
+ * @constant
15022
+ */
15023
+ object: "event";
15024
+ } | {
15025
+ /**
15026
+ * @description Unique identifier for the event.
15027
+ * @example event_01EHZNVPK3SFK441A1RGBFSHRT
15028
+ */
15029
+ id: string;
15030
+ /** @constant */
15031
+ event: "feature_flags.flag_rule.deleted";
15032
+ /** @description The event payload. */
15033
+ data: components["schemas"]["FlagRule"];
15034
+ /**
15035
+ * Format: date-time
15036
+ * @description An ISO 8601 timestamp.
15037
+ * @example 2026-01-15T12:00:00.000Z
15038
+ */
15039
+ created_at: string;
15040
+ /** @description Additional context about the event. */
15041
+ context: {
15042
+ /**
15043
+ * @description The client ID associated with the flag event.
15044
+ * @example client_01EHWNCE74X7JSDV0X3SZ3KJNY
15045
+ */
15046
+ client_id: string;
15047
+ /** @description The actor who performed the action. */
15048
+ actor?: {
15049
+ /**
15050
+ * @description Unique identifier of the actor.
15051
+ * @example user_01EHWNCE74X7JSDV0X3SZ3KJNY
15052
+ */
15053
+ id: string;
15054
+ /**
15055
+ * @description The source of the actor that performed the action.
15056
+ * @enum {string}
15057
+ */
15058
+ source: "api" | "dashboard" | "admin_portal" | "system";
15059
+ /**
15060
+ * @description The name of the actor.
15061
+ * @example Jane Doe
15062
+ */
15063
+ name: string | null;
15064
+ };
15065
+ };
15066
+ /**
15067
+ * @description Distinguishes the Event object.
15068
+ * @constant
15069
+ */
15070
+ object: "event";
15071
+ } | {
15072
+ /**
15073
+ * @description Unique identifier for the event.
15074
+ * @example event_01EHZNVPK3SFK441A1RGBFSHRT
15075
+ */
15076
+ id: string;
15077
+ /** @constant */
15078
+ event: "feature_flags.flag_rule.updated";
15079
+ /** @description The event payload. */
15080
+ data: components["schemas"]["FlagRule"];
15081
+ /**
15082
+ * Format: date-time
15083
+ * @description An ISO 8601 timestamp.
15084
+ * @example 2026-01-15T12:00:00.000Z
15085
+ */
15086
+ created_at: string;
15087
+ /** @description Additional context about the event. */
15088
+ context: {
15089
+ /**
15090
+ * @description The client ID associated with the flag event.
15091
+ * @example client_01EHWNCE74X7JSDV0X3SZ3KJNY
15092
+ */
15093
+ client_id: string;
15094
+ /** @description The actor who performed the action. */
15095
+ actor?: {
15096
+ /**
15097
+ * @description Unique identifier of the actor.
15098
+ * @example user_01EHWNCE74X7JSDV0X3SZ3KJNY
15099
+ */
15100
+ id: string;
15101
+ /**
15102
+ * @description The source of the actor that performed the action.
15103
+ * @enum {string}
15104
+ */
15105
+ source: "api" | "dashboard" | "admin_portal" | "system";
15106
+ /**
15107
+ * @description The name of the actor.
15108
+ * @example Jane Doe
15109
+ */
15110
+ name: string | null;
15111
+ };
15112
+ /** @description Attributes that changed from their previous values. */
15113
+ previous_attributes?: {
15114
+ /** @description The previous data attributes of the flag rule. */
15115
+ data?: {
15116
+ /**
15117
+ * @description The value the rule served before the update.
15118
+ * @example true
15119
+ */
15120
+ value?: boolean;
15121
+ };
15122
+ };
15123
+ };
14483
15124
  /**
14484
15125
  * @description Distinguishes the Event object.
14485
15126
  * @constant
@@ -14492,35 +15133,71 @@ export interface components {
14492
15133
  */
14493
15134
  id: string;
14494
15135
  /** @constant */
14495
- event: "email_verification.created";
15136
+ event: "feature_flags.flag.updated";
14496
15137
  /** @description The event payload. */
14497
15138
  data: {
15139
+ /** @constant */
15140
+ object: "feature_flag";
14498
15141
  /**
14499
- * @description Distinguishes the email verification object.
14500
- * @constant
15142
+ * @description Unique identifier of the Feature Flag.
15143
+ * @example flag_01EHZNVPK3SFK441A1RGBFSHRT
14501
15144
  */
14502
- object: "email_verification";
15145
+ id: string;
14503
15146
  /**
14504
- * @description The unique ID of the email verification code.
14505
- * @example email_verification_01E4ZCR3C56J083X43JQXF3JK5
15147
+ * @description The ID of the environment the Feature Flag belongs to.
15148
+ * @example environment_01EHWNCE74X7JSDV0X3SZ3KJNY
14506
15149
  */
14507
- id: string;
15150
+ environment_id: string;
14508
15151
  /**
14509
- * @description The unique ID of the user.
14510
- * @example user_01E4ZCR3C56J083X43JQXF3JK5
15152
+ * @description A unique key to reference the Feature Flag.
15153
+ * @example advanced-analytics
14511
15154
  */
14512
- user_id: string;
15155
+ slug: string;
14513
15156
  /**
14514
- * @description The email address of the user.
14515
- * @example marcelina.davis@example.com
15157
+ * @description A descriptive name for the Feature Flag.
15158
+ * @example Advanced Analytics
14516
15159
  */
14517
- email: string;
15160
+ name: string;
14518
15161
  /**
14519
- * Format: date-time
14520
- * @description The timestamp when the email verification code expires.
14521
- * @example 2026-01-15T12:00:00.000Z
15162
+ * @description A description for the Feature Flag.
15163
+ * @example Enable advanced analytics dashboard feature
14522
15164
  */
14523
- expires_at: string;
15165
+ description: string | null;
15166
+ /** @description The owner of the Feature Flag. */
15167
+ owner: {
15168
+ /**
15169
+ * @description The email address of the flag owner.
15170
+ * @example jane@example.com
15171
+ */
15172
+ email: string;
15173
+ /**
15174
+ * @description The first name of the flag owner.
15175
+ * @example Jane
15176
+ */
15177
+ first_name: string | null;
15178
+ /**
15179
+ * @description The last name of the flag owner.
15180
+ * @example Doe
15181
+ */
15182
+ last_name: string | null;
15183
+ } | null;
15184
+ /**
15185
+ * @description Labels assigned to the Feature Flag for categorizing and filtering.
15186
+ * @example [
15187
+ * "reports"
15188
+ * ]
15189
+ */
15190
+ tags: string[];
15191
+ /**
15192
+ * @description Specifies whether the Feature Flag is active for the current environment.
15193
+ * @example true
15194
+ */
15195
+ enabled: boolean;
15196
+ /**
15197
+ * @description The value returned for users and organizations who don't match any configured targeting rules.
15198
+ * @example false
15199
+ */
15200
+ default_value: boolean;
14524
15201
  /**
14525
15202
  * Format: date-time
14526
15203
  * @description An ISO 8601 timestamp.
@@ -14540,7 +15217,84 @@ export interface components {
14540
15217
  * @example 2026-01-15T12:00:00.000Z
14541
15218
  */
14542
15219
  created_at: string;
14543
- context?: components["schemas"]["EventContextDto"];
15220
+ /** @description Additional context about the event. */
15221
+ context: {
15222
+ /**
15223
+ * @description The client ID associated with the flag event.
15224
+ * @example client_01EHWNCE74X7JSDV0X3SZ3KJNY
15225
+ */
15226
+ client_id: string;
15227
+ /** @description The actor who performed the action. */
15228
+ actor: {
15229
+ /**
15230
+ * @description Unique identifier of the actor.
15231
+ * @example user_01EHWNCE74X7JSDV0X3SZ3KJNY
15232
+ */
15233
+ id: string;
15234
+ /**
15235
+ * @description The source of the actor that performed the action.
15236
+ * @enum {string}
15237
+ */
15238
+ source: "api" | "dashboard" | "admin_portal" | "system";
15239
+ /**
15240
+ * @description The name of the actor.
15241
+ * @example Jane Doe
15242
+ */
15243
+ name: string | null;
15244
+ };
15245
+ /** @description Attributes that changed from their previous values. */
15246
+ previous_attributes?: {
15247
+ /** @description The previous data attributes of the flag. */
15248
+ data?: {
15249
+ /**
15250
+ * @description The previous name of the flag.
15251
+ * @example My Feature Flag
15252
+ */
15253
+ name?: string;
15254
+ /**
15255
+ * @description The previous description of the flag.
15256
+ * @example Enables the new feature.
15257
+ */
15258
+ description?: string | null;
15259
+ /**
15260
+ * @description The previous tags of the flag.
15261
+ * @example [
15262
+ * "beta",
15263
+ * "release"
15264
+ * ]
15265
+ */
15266
+ tags?: string[];
15267
+ /** @description The previous owner of the flag, or `null` if it had none. */
15268
+ owner?: {
15269
+ /**
15270
+ * @description The email address of the flag owner.
15271
+ * @example jane@example.com
15272
+ */
15273
+ email: string;
15274
+ /**
15275
+ * @description The first name of the flag owner.
15276
+ * @example Jane
15277
+ */
15278
+ first_name: string | null;
15279
+ /**
15280
+ * @description The last name of the flag owner.
15281
+ * @example Doe
15282
+ */
15283
+ last_name: string | null;
15284
+ } | null;
15285
+ /**
15286
+ * @description Whether the flag was previously enabled.
15287
+ * @example true
15288
+ */
15289
+ enabled?: boolean;
15290
+ /**
15291
+ * @description The previous default value of the flag.
15292
+ * @example false
15293
+ */
15294
+ default_value?: boolean;
15295
+ };
15296
+ };
15297
+ };
14544
15298
  /**
14545
15299
  * @description Distinguishes the Event object.
14546
15300
  * @constant
@@ -14996,6 +15750,100 @@ export interface components {
14996
15750
  * @constant
14997
15751
  */
14998
15752
  object: "event";
15753
+ } | {
15754
+ /**
15755
+ * @description Unique identifier for the event.
15756
+ * @example event_01EHZNVPK3SFK441A1RGBFSHRT
15757
+ */
15758
+ id: string;
15759
+ /** @constant */
15760
+ event: "feature_flags.flag_target.created";
15761
+ /** @description The event payload. */
15762
+ data: components["schemas"]["FlagTarget"];
15763
+ /**
15764
+ * Format: date-time
15765
+ * @description An ISO 8601 timestamp.
15766
+ * @example 2026-01-15T12:00:00.000Z
15767
+ */
15768
+ created_at: string;
15769
+ /** @description Additional context about the event. */
15770
+ context: {
15771
+ /**
15772
+ * @description The client ID associated with the flag event.
15773
+ * @example client_01EHWNCE74X7JSDV0X3SZ3KJNY
15774
+ */
15775
+ client_id: string;
15776
+ /** @description The actor who performed the action. */
15777
+ actor: {
15778
+ /**
15779
+ * @description Unique identifier of the actor.
15780
+ * @example user_01EHWNCE74X7JSDV0X3SZ3KJNY
15781
+ */
15782
+ id: string;
15783
+ /**
15784
+ * @description The source of the actor that performed the action.
15785
+ * @enum {string}
15786
+ */
15787
+ source: "api" | "dashboard" | "admin_portal" | "system";
15788
+ /**
15789
+ * @description The name of the actor.
15790
+ * @example Jane Doe
15791
+ */
15792
+ name: string | null;
15793
+ };
15794
+ };
15795
+ /**
15796
+ * @description Distinguishes the Event object.
15797
+ * @constant
15798
+ */
15799
+ object: "event";
15800
+ } | {
15801
+ /**
15802
+ * @description Unique identifier for the event.
15803
+ * @example event_01EHZNVPK3SFK441A1RGBFSHRT
15804
+ */
15805
+ id: string;
15806
+ /** @constant */
15807
+ event: "feature_flags.flag_target.deleted";
15808
+ /** @description The event payload. */
15809
+ data: components["schemas"]["FlagTarget"];
15810
+ /**
15811
+ * Format: date-time
15812
+ * @description An ISO 8601 timestamp.
15813
+ * @example 2026-01-15T12:00:00.000Z
15814
+ */
15815
+ created_at: string;
15816
+ /** @description Additional context about the event. */
15817
+ context: {
15818
+ /**
15819
+ * @description The client ID associated with the flag event.
15820
+ * @example client_01EHWNCE74X7JSDV0X3SZ3KJNY
15821
+ */
15822
+ client_id: string;
15823
+ /** @description The actor who performed the action. */
15824
+ actor: {
15825
+ /**
15826
+ * @description Unique identifier of the actor.
15827
+ * @example user_01EHWNCE74X7JSDV0X3SZ3KJNY
15828
+ */
15829
+ id: string;
15830
+ /**
15831
+ * @description The source of the actor that performed the action.
15832
+ * @enum {string}
15833
+ */
15834
+ source: "api" | "dashboard" | "admin_portal" | "system";
15835
+ /**
15836
+ * @description The name of the actor.
15837
+ * @example Jane Doe
15838
+ */
15839
+ name: string | null;
15840
+ };
15841
+ };
15842
+ /**
15843
+ * @description Distinguishes the Event object.
15844
+ * @constant
15845
+ */
15846
+ object: "event";
14999
15847
  } | {
15000
15848
  /**
15001
15849
  * @description Unique identifier for the event.
@@ -17717,7 +18565,7 @@ export interface components {
17717
18565
  * @example users
17718
18566
  * @enum {string}
17719
18567
  */
17720
- resource_type: "users" | "organizations" | "events" | "sessions" | "auditLogEvents" | "connections" | "directoryUsers" | "scimLogs" | "radarDetections";
18568
+ resource_type: "users" | "organizations" | "events" | "sessions" | "auditLogEvents" | "connections" | "directoryUsers" | "scimLogs" | "radarDetections" | "teamActivityLogEvents";
17721
18569
  };
17722
18570
  /**
17723
18571
  * Format: date-time
@@ -17751,7 +18599,7 @@ export interface components {
17751
18599
  * @example users
17752
18600
  * @enum {string}
17753
18601
  */
17754
- resource_type: "users" | "organizations" | "events" | "sessions" | "auditLogEvents" | "connections" | "directoryUsers" | "scimLogs" | "radarDetections";
18602
+ resource_type: "users" | "organizations" | "events" | "sessions" | "auditLogEvents" | "connections" | "directoryUsers" | "scimLogs" | "radarDetections" | "teamActivityLogEvents";
17755
18603
  };
17756
18604
  /**
17757
18605
  * Format: date-time
@@ -17785,7 +18633,7 @@ export interface components {
17785
18633
  * @example users
17786
18634
  * @enum {string}
17787
18635
  */
17788
- resource_type: "users" | "organizations" | "events" | "sessions" | "auditLogEvents" | "connections" | "directoryUsers" | "scimLogs" | "radarDetections";
18636
+ resource_type: "users" | "organizations" | "events" | "sessions" | "auditLogEvents" | "connections" | "directoryUsers" | "scimLogs" | "radarDetections" | "teamActivityLogEvents";
17789
18637
  };
17790
18638
  /**
17791
18639
  * Format: date-time
@@ -17819,7 +18667,7 @@ export interface components {
17819
18667
  * @example users
17820
18668
  * @enum {string}
17821
18669
  */
17822
- resource_type: "users" | "organizations" | "events" | "sessions" | "auditLogEvents" | "connections" | "directoryUsers" | "scimLogs" | "radarDetections";
18670
+ resource_type: "users" | "organizations" | "events" | "sessions" | "auditLogEvents" | "connections" | "directoryUsers" | "scimLogs" | "radarDetections" | "teamActivityLogEvents";
17823
18671
  };
17824
18672
  /**
17825
18673
  * Format: date-time
@@ -23750,6 +24598,16 @@ export interface operations {
23750
24598
  "application/json": components["schemas"]["ErrorBody"];
23751
24599
  };
23752
24600
  };
24601
+ 429: {
24602
+ headers: {
24603
+ /** @description How many seconds to wait before verification can be retried. */
24604
+ "Retry-After"?: number;
24605
+ [name: string]: unknown;
24606
+ };
24607
+ content: {
24608
+ "application/json": components["schemas"]["TooManyFailedVerificationAttemptsErrorBodyWithRetryAfter"];
24609
+ };
24610
+ };
23753
24611
  };
23754
24612
  };
23755
24613
  AuthenticationFactorsController_create: {
@@ -34559,7 +35417,7 @@ export interface operations {
34559
35417
  [name: string]: unknown;
34560
35418
  };
34561
35419
  content: {
34562
- "application/json": components["schemas"]["DailyQuotaExceededErrorBody"] | components["schemas"]["TooManyRequestsOAuthErrorBody"];
35420
+ "application/json": components["schemas"]["DailyQuotaExceededErrorBody"] | components["schemas"]["TooManyFailedVerificationAttemptsErrorBodyWithRetryAfter"] | components["schemas"]["TooManyRequestsOAuthErrorBody"];
34563
35421
  };
34564
35422
  };
34565
35423
  };