@@ -21,6 +21,8 @@ class TargetSDK < ::SpeakeasyClientSDK::Utils::FieldAugmented
2121 field :last_event_created_at , ::DateTime , { 'format_json' : { 'letter_case' : ::SpeakeasyClientSDK ::Utils . field_name ( 'last_event_created_at' ) , 'decoder' : Utils . datetime_from_iso_format ( false ) } }
2222 # Unique identifier of the last event for the target
2323 field :last_event_id , ::String , { 'format_json' : { 'letter_case' : ::SpeakeasyClientSDK ::Utils . field_name ( 'last_event_id' ) } }
24+ # Type of interaction.
25+ field :last_event_interaction_type , ::SpeakeasyClientSDK ::Shared ::InteractionType , { 'format_json' : { 'letter_case' : ::SpeakeasyClientSDK ::Utils . field_name ( 'last_event_interaction_type' ) , 'decoder' : Utils . enum_from_string ( ::SpeakeasyClientSDK ::Shared ::InteractionType , false ) } }
2426 # Remote commit ID.
2527 field :commit_head , T . nilable ( ::String ) , { 'format_json' : { 'letter_case' : ::SpeakeasyClientSDK ::Utils . field_name ( 'commit_head' ) } }
2628 # Name of the CI environment.
@@ -63,13 +65,14 @@ class TargetSDK < ::SpeakeasyClientSDK::Utils::FieldAugmented
6365 field :success , T . nilable ( T ::Boolean ) , { 'format_json' : { 'letter_case' : ::SpeakeasyClientSDK ::Utils . field_name ( 'success' ) } }
6466
6567
66- sig { params ( generate_gen_lock_id : ::String , generate_target : ::String , id : ::String , last_event_created_at : ::DateTime , last_event_id : ::String , commit_head : T . nilable ( ::String ) , continuous_integration_environment : T . nilable ( ::String ) , generate_config_post_version : T . nilable ( ::String ) , generate_gen_lock_pre_features : T . nilable ( ::String ) , generate_gen_lock_pre_version : T . nilable ( ::String ) , generate_published : T . nilable ( T ::Boolean ) , generate_target_name : T . nilable ( ::String ) , generate_target_version : T . nilable ( ::String ) , gh_action_organization : T . nilable ( ::String ) , gh_action_repository : T . nilable ( ::String ) , gh_action_run_link : T . nilable ( ::String ) , gh_action_version : T . nilable ( ::String ) , git_relative_cwd : T . nilable ( ::String ) , git_remote_default_owner : T . nilable ( ::String ) , git_remote_default_repo : T . nilable ( ::String ) , git_user_email : T . nilable ( ::String ) , git_user_name : T . nilable ( ::String ) , hostname : T . nilable ( ::String ) , repo_label : T . nilable ( ::String ) , success : T . nilable ( T ::Boolean ) ) . void }
67- def initialize ( generate_gen_lock_id : nil , generate_target : nil , id : nil , last_event_created_at : nil , last_event_id : nil , commit_head : nil , continuous_integration_environment : nil , generate_config_post_version : nil , generate_gen_lock_pre_features : nil , generate_gen_lock_pre_version : nil , generate_published : nil , generate_target_name : nil , generate_target_version : nil , gh_action_organization : nil , gh_action_repository : nil , gh_action_run_link : nil , gh_action_version : nil , git_relative_cwd : nil , git_remote_default_owner : nil , git_remote_default_repo : nil , git_user_email : nil , git_user_name : nil , hostname : nil , repo_label : nil , success : nil )
68+ sig { params ( generate_gen_lock_id : ::String , generate_target : ::String , id : ::String , last_event_created_at : ::DateTime , last_event_id : ::String , last_event_interaction_type : ::SpeakeasyClientSDK ::Shared ::InteractionType , commit_head : T . nilable ( ::String ) , continuous_integration_environment : T . nilable ( ::String ) , generate_config_post_version : T . nilable ( ::String ) , generate_gen_lock_pre_features : T . nilable ( ::String ) , generate_gen_lock_pre_version : T . nilable ( ::String ) , generate_published : T . nilable ( T ::Boolean ) , generate_target_name : T . nilable ( ::String ) , generate_target_version : T . nilable ( ::String ) , gh_action_organization : T . nilable ( ::String ) , gh_action_repository : T . nilable ( ::String ) , gh_action_run_link : T . nilable ( ::String ) , gh_action_version : T . nilable ( ::String ) , git_relative_cwd : T . nilable ( ::String ) , git_remote_default_owner : T . nilable ( ::String ) , git_remote_default_repo : T . nilable ( ::String ) , git_user_email : T . nilable ( ::String ) , git_user_name : T . nilable ( ::String ) , hostname : T . nilable ( ::String ) , repo_label : T . nilable ( ::String ) , success : T . nilable ( T ::Boolean ) ) . void }
69+ def initialize ( generate_gen_lock_id : nil , generate_target : nil , id : nil , last_event_created_at : nil , last_event_id : nil , last_event_interaction_type : nil , commit_head : nil , continuous_integration_environment : nil , generate_config_post_version : nil , generate_gen_lock_pre_features : nil , generate_gen_lock_pre_version : nil , generate_published : nil , generate_target_name : nil , generate_target_version : nil , gh_action_organization : nil , gh_action_repository : nil , gh_action_run_link : nil , gh_action_version : nil , git_relative_cwd : nil , git_remote_default_owner : nil , git_remote_default_repo : nil , git_user_email : nil , git_user_name : nil , hostname : nil , repo_label : nil , success : nil )
6870 @generate_gen_lock_id = generate_gen_lock_id
6971 @generate_target = generate_target
7072 @id = id
7173 @last_event_created_at = last_event_created_at
7274 @last_event_id = last_event_id
75+ @last_event_interaction_type = last_event_interaction_type
7376 @commit_head = commit_head
7477 @continuous_integration_environment = continuous_integration_environment
7578 @generate_config_post_version = generate_config_post_version
0 commit comments