@workos/openapi-spec 0.154.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/open-api-spec.yaml +1110 -37
- package/dist/types.d.ts +836 -6
- package/package.json +1 -1
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
|
/**
|
|
@@ -10796,6 +10796,172 @@ export interface components {
|
|
|
10796
10796
|
*/
|
|
10797
10797
|
updated_at: string;
|
|
10798
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
|
+
};
|
|
10799
10965
|
PipesConnectedAccount: {
|
|
10800
10966
|
/**
|
|
10801
10967
|
* @description The connected account object.
|
|
@@ -14571,7 +14737,7 @@ export interface components {
|
|
|
14571
14737
|
*/
|
|
14572
14738
|
id: string;
|
|
14573
14739
|
/** @constant */
|
|
14574
|
-
event: "flag.created";
|
|
14740
|
+
event: "feature_flags.flag.created";
|
|
14575
14741
|
/** @description The event payload. */
|
|
14576
14742
|
data: {
|
|
14577
14743
|
/** @constant */
|
|
@@ -14693,7 +14859,7 @@ export interface components {
|
|
|
14693
14859
|
*/
|
|
14694
14860
|
id: string;
|
|
14695
14861
|
/** @constant */
|
|
14696
|
-
event: "flag.deleted";
|
|
14862
|
+
event: "feature_flags.flag.deleted";
|
|
14697
14863
|
/** @description The event payload. */
|
|
14698
14864
|
data: {
|
|
14699
14865
|
/** @constant */
|
|
@@ -14815,7 +14981,159 @@ export interface components {
|
|
|
14815
14981
|
*/
|
|
14816
14982
|
id: string;
|
|
14817
14983
|
/** @constant */
|
|
14818
|
-
event: "
|
|
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
|
+
};
|
|
15124
|
+
/**
|
|
15125
|
+
* @description Distinguishes the Event object.
|
|
15126
|
+
* @constant
|
|
15127
|
+
*/
|
|
15128
|
+
object: "event";
|
|
15129
|
+
} | {
|
|
15130
|
+
/**
|
|
15131
|
+
* @description Unique identifier for the event.
|
|
15132
|
+
* @example event_01EHZNVPK3SFK441A1RGBFSHRT
|
|
15133
|
+
*/
|
|
15134
|
+
id: string;
|
|
15135
|
+
/** @constant */
|
|
15136
|
+
event: "feature_flags.flag.updated";
|
|
14819
15137
|
/** @description The event payload. */
|
|
14820
15138
|
data: {
|
|
14821
15139
|
/** @constant */
|
|
@@ -14913,7 +15231,425 @@ export interface components {
|
|
|
14913
15231
|
* @example user_01EHWNCE74X7JSDV0X3SZ3KJNY
|
|
14914
15232
|
*/
|
|
14915
15233
|
id: string;
|
|
14916
|
-
/**
|
|
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
|
+
};
|
|
15298
|
+
/**
|
|
15299
|
+
* @description Distinguishes the Event object.
|
|
15300
|
+
* @constant
|
|
15301
|
+
*/
|
|
15302
|
+
object: "event";
|
|
15303
|
+
} | {
|
|
15304
|
+
/**
|
|
15305
|
+
* @description Unique identifier for the event.
|
|
15306
|
+
* @example event_01EHZNVPK3SFK441A1RGBFSHRT
|
|
15307
|
+
*/
|
|
15308
|
+
id: string;
|
|
15309
|
+
/** @constant */
|
|
15310
|
+
event: "flag.created";
|
|
15311
|
+
/** @description The event payload. */
|
|
15312
|
+
data: {
|
|
15313
|
+
/** @constant */
|
|
15314
|
+
object: "feature_flag";
|
|
15315
|
+
/**
|
|
15316
|
+
* @description Unique identifier of the Feature Flag.
|
|
15317
|
+
* @example flag_01EHZNVPK3SFK441A1RGBFSHRT
|
|
15318
|
+
*/
|
|
15319
|
+
id: string;
|
|
15320
|
+
/**
|
|
15321
|
+
* @description The ID of the environment the Feature Flag belongs to.
|
|
15322
|
+
* @example environment_01EHWNCE74X7JSDV0X3SZ3KJNY
|
|
15323
|
+
*/
|
|
15324
|
+
environment_id: string;
|
|
15325
|
+
/**
|
|
15326
|
+
* @description A unique key to reference the Feature Flag.
|
|
15327
|
+
* @example advanced-analytics
|
|
15328
|
+
*/
|
|
15329
|
+
slug: string;
|
|
15330
|
+
/**
|
|
15331
|
+
* @description A descriptive name for the Feature Flag.
|
|
15332
|
+
* @example Advanced Analytics
|
|
15333
|
+
*/
|
|
15334
|
+
name: string;
|
|
15335
|
+
/**
|
|
15336
|
+
* @description A description for the Feature Flag.
|
|
15337
|
+
* @example Enable advanced analytics dashboard feature
|
|
15338
|
+
*/
|
|
15339
|
+
description: string | null;
|
|
15340
|
+
/** @description The owner of the Feature Flag. */
|
|
15341
|
+
owner: {
|
|
15342
|
+
/**
|
|
15343
|
+
* @description The email address of the flag owner.
|
|
15344
|
+
* @example jane@example.com
|
|
15345
|
+
*/
|
|
15346
|
+
email: string;
|
|
15347
|
+
/**
|
|
15348
|
+
* @description The first name of the flag owner.
|
|
15349
|
+
* @example Jane
|
|
15350
|
+
*/
|
|
15351
|
+
first_name: string | null;
|
|
15352
|
+
/**
|
|
15353
|
+
* @description The last name of the flag owner.
|
|
15354
|
+
* @example Doe
|
|
15355
|
+
*/
|
|
15356
|
+
last_name: string | null;
|
|
15357
|
+
} | null;
|
|
15358
|
+
/**
|
|
15359
|
+
* @description Labels assigned to the Feature Flag for categorizing and filtering.
|
|
15360
|
+
* @example [
|
|
15361
|
+
* "reports"
|
|
15362
|
+
* ]
|
|
15363
|
+
*/
|
|
15364
|
+
tags: string[];
|
|
15365
|
+
/**
|
|
15366
|
+
* @description Specifies whether the Feature Flag is active for the current environment.
|
|
15367
|
+
* @example true
|
|
15368
|
+
*/
|
|
15369
|
+
enabled: boolean;
|
|
15370
|
+
/**
|
|
15371
|
+
* @description The value returned for users and organizations who don't match any configured targeting rules.
|
|
15372
|
+
* @example false
|
|
15373
|
+
*/
|
|
15374
|
+
default_value: boolean;
|
|
15375
|
+
/**
|
|
15376
|
+
* Format: date-time
|
|
15377
|
+
* @description An ISO 8601 timestamp.
|
|
15378
|
+
* @example 2026-01-15T12:00:00.000Z
|
|
15379
|
+
*/
|
|
15380
|
+
created_at: string;
|
|
15381
|
+
/**
|
|
15382
|
+
* Format: date-time
|
|
15383
|
+
* @description An ISO 8601 timestamp.
|
|
15384
|
+
* @example 2026-01-15T12:00:00.000Z
|
|
15385
|
+
*/
|
|
15386
|
+
updated_at: string;
|
|
15387
|
+
};
|
|
15388
|
+
/**
|
|
15389
|
+
* Format: date-time
|
|
15390
|
+
* @description An ISO 8601 timestamp.
|
|
15391
|
+
* @example 2026-01-15T12:00:00.000Z
|
|
15392
|
+
*/
|
|
15393
|
+
created_at: string;
|
|
15394
|
+
/** @description Additional context about the event. */
|
|
15395
|
+
context: {
|
|
15396
|
+
/**
|
|
15397
|
+
* @description The client ID associated with the flag event.
|
|
15398
|
+
* @example client_01EHWNCE74X7JSDV0X3SZ3KJNY
|
|
15399
|
+
*/
|
|
15400
|
+
client_id: string;
|
|
15401
|
+
/** @description The actor who performed the action. */
|
|
15402
|
+
actor: {
|
|
15403
|
+
/**
|
|
15404
|
+
* @description Unique identifier of the actor.
|
|
15405
|
+
* @example user_01EHWNCE74X7JSDV0X3SZ3KJNY
|
|
15406
|
+
*/
|
|
15407
|
+
id: string;
|
|
15408
|
+
/**
|
|
15409
|
+
* @description The source of the actor that performed the action.
|
|
15410
|
+
* @enum {string}
|
|
15411
|
+
*/
|
|
15412
|
+
source: "api" | "dashboard" | "admin_portal" | "system";
|
|
15413
|
+
/**
|
|
15414
|
+
* @description The name of the actor.
|
|
15415
|
+
* @example Jane Doe
|
|
15416
|
+
*/
|
|
15417
|
+
name: string | null;
|
|
15418
|
+
};
|
|
15419
|
+
};
|
|
15420
|
+
/**
|
|
15421
|
+
* @description Distinguishes the Event object.
|
|
15422
|
+
* @constant
|
|
15423
|
+
*/
|
|
15424
|
+
object: "event";
|
|
15425
|
+
} | {
|
|
15426
|
+
/**
|
|
15427
|
+
* @description Unique identifier for the event.
|
|
15428
|
+
* @example event_01EHZNVPK3SFK441A1RGBFSHRT
|
|
15429
|
+
*/
|
|
15430
|
+
id: string;
|
|
15431
|
+
/** @constant */
|
|
15432
|
+
event: "flag.deleted";
|
|
15433
|
+
/** @description The event payload. */
|
|
15434
|
+
data: {
|
|
15435
|
+
/** @constant */
|
|
15436
|
+
object: "feature_flag";
|
|
15437
|
+
/**
|
|
15438
|
+
* @description Unique identifier of the Feature Flag.
|
|
15439
|
+
* @example flag_01EHZNVPK3SFK441A1RGBFSHRT
|
|
15440
|
+
*/
|
|
15441
|
+
id: string;
|
|
15442
|
+
/**
|
|
15443
|
+
* @description The ID of the environment the Feature Flag belongs to.
|
|
15444
|
+
* @example environment_01EHWNCE74X7JSDV0X3SZ3KJNY
|
|
15445
|
+
*/
|
|
15446
|
+
environment_id: string;
|
|
15447
|
+
/**
|
|
15448
|
+
* @description A unique key to reference the Feature Flag.
|
|
15449
|
+
* @example advanced-analytics
|
|
15450
|
+
*/
|
|
15451
|
+
slug: string;
|
|
15452
|
+
/**
|
|
15453
|
+
* @description A descriptive name for the Feature Flag.
|
|
15454
|
+
* @example Advanced Analytics
|
|
15455
|
+
*/
|
|
15456
|
+
name: string;
|
|
15457
|
+
/**
|
|
15458
|
+
* @description A description for the Feature Flag.
|
|
15459
|
+
* @example Enable advanced analytics dashboard feature
|
|
15460
|
+
*/
|
|
15461
|
+
description: string | null;
|
|
15462
|
+
/** @description The owner of the Feature Flag. */
|
|
15463
|
+
owner: {
|
|
15464
|
+
/**
|
|
15465
|
+
* @description The email address of the flag owner.
|
|
15466
|
+
* @example jane@example.com
|
|
15467
|
+
*/
|
|
15468
|
+
email: string;
|
|
15469
|
+
/**
|
|
15470
|
+
* @description The first name of the flag owner.
|
|
15471
|
+
* @example Jane
|
|
15472
|
+
*/
|
|
15473
|
+
first_name: string | null;
|
|
15474
|
+
/**
|
|
15475
|
+
* @description The last name of the flag owner.
|
|
15476
|
+
* @example Doe
|
|
15477
|
+
*/
|
|
15478
|
+
last_name: string | null;
|
|
15479
|
+
} | null;
|
|
15480
|
+
/**
|
|
15481
|
+
* @description Labels assigned to the Feature Flag for categorizing and filtering.
|
|
15482
|
+
* @example [
|
|
15483
|
+
* "reports"
|
|
15484
|
+
* ]
|
|
15485
|
+
*/
|
|
15486
|
+
tags: string[];
|
|
15487
|
+
/**
|
|
15488
|
+
* @description Specifies whether the Feature Flag is active for the current environment.
|
|
15489
|
+
* @example true
|
|
15490
|
+
*/
|
|
15491
|
+
enabled: boolean;
|
|
15492
|
+
/**
|
|
15493
|
+
* @description The value returned for users and organizations who don't match any configured targeting rules.
|
|
15494
|
+
* @example false
|
|
15495
|
+
*/
|
|
15496
|
+
default_value: boolean;
|
|
15497
|
+
/**
|
|
15498
|
+
* Format: date-time
|
|
15499
|
+
* @description An ISO 8601 timestamp.
|
|
15500
|
+
* @example 2026-01-15T12:00:00.000Z
|
|
15501
|
+
*/
|
|
15502
|
+
created_at: string;
|
|
15503
|
+
/**
|
|
15504
|
+
* Format: date-time
|
|
15505
|
+
* @description An ISO 8601 timestamp.
|
|
15506
|
+
* @example 2026-01-15T12:00:00.000Z
|
|
15507
|
+
*/
|
|
15508
|
+
updated_at: string;
|
|
15509
|
+
};
|
|
15510
|
+
/**
|
|
15511
|
+
* Format: date-time
|
|
15512
|
+
* @description An ISO 8601 timestamp.
|
|
15513
|
+
* @example 2026-01-15T12:00:00.000Z
|
|
15514
|
+
*/
|
|
15515
|
+
created_at: string;
|
|
15516
|
+
/** @description Additional context about the event. */
|
|
15517
|
+
context: {
|
|
15518
|
+
/**
|
|
15519
|
+
* @description The client ID associated with the flag event.
|
|
15520
|
+
* @example client_01EHWNCE74X7JSDV0X3SZ3KJNY
|
|
15521
|
+
*/
|
|
15522
|
+
client_id: string;
|
|
15523
|
+
/** @description The actor who performed the action. */
|
|
15524
|
+
actor: {
|
|
15525
|
+
/**
|
|
15526
|
+
* @description Unique identifier of the actor.
|
|
15527
|
+
* @example user_01EHWNCE74X7JSDV0X3SZ3KJNY
|
|
15528
|
+
*/
|
|
15529
|
+
id: string;
|
|
15530
|
+
/**
|
|
15531
|
+
* @description The source of the actor that performed the action.
|
|
15532
|
+
* @enum {string}
|
|
15533
|
+
*/
|
|
15534
|
+
source: "api" | "dashboard" | "admin_portal" | "system";
|
|
15535
|
+
/**
|
|
15536
|
+
* @description The name of the actor.
|
|
15537
|
+
* @example Jane Doe
|
|
15538
|
+
*/
|
|
15539
|
+
name: string | null;
|
|
15540
|
+
};
|
|
15541
|
+
};
|
|
15542
|
+
/**
|
|
15543
|
+
* @description Distinguishes the Event object.
|
|
15544
|
+
* @constant
|
|
15545
|
+
*/
|
|
15546
|
+
object: "event";
|
|
15547
|
+
} | {
|
|
15548
|
+
/**
|
|
15549
|
+
* @description Unique identifier for the event.
|
|
15550
|
+
* @example event_01EHZNVPK3SFK441A1RGBFSHRT
|
|
15551
|
+
*/
|
|
15552
|
+
id: string;
|
|
15553
|
+
/** @constant */
|
|
15554
|
+
event: "flag.rule_updated";
|
|
15555
|
+
/** @description The event payload. */
|
|
15556
|
+
data: {
|
|
15557
|
+
/** @constant */
|
|
15558
|
+
object: "feature_flag";
|
|
15559
|
+
/**
|
|
15560
|
+
* @description Unique identifier of the Feature Flag.
|
|
15561
|
+
* @example flag_01EHZNVPK3SFK441A1RGBFSHRT
|
|
15562
|
+
*/
|
|
15563
|
+
id: string;
|
|
15564
|
+
/**
|
|
15565
|
+
* @description The ID of the environment the Feature Flag belongs to.
|
|
15566
|
+
* @example environment_01EHWNCE74X7JSDV0X3SZ3KJNY
|
|
15567
|
+
*/
|
|
15568
|
+
environment_id: string;
|
|
15569
|
+
/**
|
|
15570
|
+
* @description A unique key to reference the Feature Flag.
|
|
15571
|
+
* @example advanced-analytics
|
|
15572
|
+
*/
|
|
15573
|
+
slug: string;
|
|
15574
|
+
/**
|
|
15575
|
+
* @description A descriptive name for the Feature Flag.
|
|
15576
|
+
* @example Advanced Analytics
|
|
15577
|
+
*/
|
|
15578
|
+
name: string;
|
|
15579
|
+
/**
|
|
15580
|
+
* @description A description for the Feature Flag.
|
|
15581
|
+
* @example Enable advanced analytics dashboard feature
|
|
15582
|
+
*/
|
|
15583
|
+
description: string | null;
|
|
15584
|
+
/** @description The owner of the Feature Flag. */
|
|
15585
|
+
owner: {
|
|
15586
|
+
/**
|
|
15587
|
+
* @description The email address of the flag owner.
|
|
15588
|
+
* @example jane@example.com
|
|
15589
|
+
*/
|
|
15590
|
+
email: string;
|
|
15591
|
+
/**
|
|
15592
|
+
* @description The first name of the flag owner.
|
|
15593
|
+
* @example Jane
|
|
15594
|
+
*/
|
|
15595
|
+
first_name: string | null;
|
|
15596
|
+
/**
|
|
15597
|
+
* @description The last name of the flag owner.
|
|
15598
|
+
* @example Doe
|
|
15599
|
+
*/
|
|
15600
|
+
last_name: string | null;
|
|
15601
|
+
} | null;
|
|
15602
|
+
/**
|
|
15603
|
+
* @description Labels assigned to the Feature Flag for categorizing and filtering.
|
|
15604
|
+
* @example [
|
|
15605
|
+
* "reports"
|
|
15606
|
+
* ]
|
|
15607
|
+
*/
|
|
15608
|
+
tags: string[];
|
|
15609
|
+
/**
|
|
15610
|
+
* @description Specifies whether the Feature Flag is active for the current environment.
|
|
15611
|
+
* @example true
|
|
15612
|
+
*/
|
|
15613
|
+
enabled: boolean;
|
|
15614
|
+
/**
|
|
15615
|
+
* @description The value returned for users and organizations who don't match any configured targeting rules.
|
|
15616
|
+
* @example false
|
|
15617
|
+
*/
|
|
15618
|
+
default_value: boolean;
|
|
15619
|
+
/**
|
|
15620
|
+
* Format: date-time
|
|
15621
|
+
* @description An ISO 8601 timestamp.
|
|
15622
|
+
* @example 2026-01-15T12:00:00.000Z
|
|
15623
|
+
*/
|
|
15624
|
+
created_at: string;
|
|
15625
|
+
/**
|
|
15626
|
+
* Format: date-time
|
|
15627
|
+
* @description An ISO 8601 timestamp.
|
|
15628
|
+
* @example 2026-01-15T12:00:00.000Z
|
|
15629
|
+
*/
|
|
15630
|
+
updated_at: string;
|
|
15631
|
+
};
|
|
15632
|
+
/**
|
|
15633
|
+
* Format: date-time
|
|
15634
|
+
* @description An ISO 8601 timestamp.
|
|
15635
|
+
* @example 2026-01-15T12:00:00.000Z
|
|
15636
|
+
*/
|
|
15637
|
+
created_at: string;
|
|
15638
|
+
/** @description Additional context about the event. */
|
|
15639
|
+
context: {
|
|
15640
|
+
/**
|
|
15641
|
+
* @description The client ID associated with the flag event.
|
|
15642
|
+
* @example client_01EHWNCE74X7JSDV0X3SZ3KJNY
|
|
15643
|
+
*/
|
|
15644
|
+
client_id: string;
|
|
15645
|
+
/** @description The actor who performed the action. */
|
|
15646
|
+
actor: {
|
|
15647
|
+
/**
|
|
15648
|
+
* @description Unique identifier of the actor.
|
|
15649
|
+
* @example user_01EHWNCE74X7JSDV0X3SZ3KJNY
|
|
15650
|
+
*/
|
|
15651
|
+
id: string;
|
|
15652
|
+
/** @enum {string} */
|
|
14917
15653
|
source: "api" | "dashboard" | "admin_portal" | "system";
|
|
14918
15654
|
/**
|
|
14919
15655
|
* @description The name of the actor.
|
|
@@ -15014,6 +15750,100 @@ export interface components {
|
|
|
15014
15750
|
* @constant
|
|
15015
15751
|
*/
|
|
15016
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";
|
|
15017
15847
|
} | {
|
|
15018
15848
|
/**
|
|
15019
15849
|
* @description Unique identifier for the event.
|