/* tslint:disable */
/* eslint-disable */
/**
* TeamCity REST API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 2018.1 (current)
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
* Represents a locator string for filtering AuditEvent entities.
* @export
* @interface AuditLocator
*/
export interface AuditLocator {
/**
* Event id.
* @type {number}
* @memberof AuditLocator
*/
$singleValue?: number;
/**
* Type of the action.
* @type {string}
* @memberof AuditLocator
*/
action?: AuditLocatorActionEnum;
/**
* Related project locator, only single values are supported.
* @type {string}
* @memberof AuditLocator
*/
affectedProject?: string;
/**
* Related build type or template of the action, only single values are supported.
* @type {string}
* @memberof AuditLocator
*/
buildType?: string;
/**
* For paginated calls, how many entities to return per page.
* @type {number}
* @memberof AuditLocator
*/
count?: number;
/**
* Event id.
* @type {string}
* @memberof AuditLocator
*/
id?: string;
/**
* For paginated calls, from which entity to start rendering the page.
* @type {number}
* @memberof AuditLocator
*/
start?: number;
/**
* Is an action made by TeamCity itself.
* @type {string}
* @memberof AuditLocator
*/
systemAction?: AuditLocatorSystemActionEnum;
/**
* Locator of user who caused the audit event.
* @type {string}
* @memberof AuditLocator
*/
user?: string;
}
export const AuditLocatorActionEnum = {
CreateRestrictedTokenForUser: 'create_restricted_token_for_user',
LoadSettingsFromVcs: 'load_settings_from_vcs',
SslCertificateRenamed: 'ssl_certificate_renamed',
BuildProblemMarkAsFixedNoAssignee: 'build_problem_mark_as_fixed_no_assignee',
BuildProblemInvestigationAssignSticky: 'build_problem_investigation_assign_sticky',
TestMarkAsFixed: 'test_mark_as_fixed',
LogoutAllSessionsOfUser: 'logout_all_sessions_of_user',
RemovedAgentJdk: 'removed_agent_jdk',
TestMarkAsFixedNoAssignee: 'test_mark_as_fixed_no_assignee',
TestUnmute: 'test_unmute',
Disable2faForUser: 'disable_2fa_for_user',
AgentDelete: 'agent_delete',
PluginsRepositorySettingsUpdated: 'plugins_repository_settings_updated',
StoredOauthTokenDeletedByUser: 'stored_oauth_token_deleted_by_user',
ArtifactsStorageSettingsUpdated: 'artifacts_storage_settings_updated',
BuildTypeInvestigationChangeWithReassign: 'build_type_investigation_change_with_reassign',
DependencyCheckModeChanged: 'dependency_check_mode_changed',
UserDelete: 'user_delete',
BuildTypeInvestigationAssign: 'build_type_investigation_assign',
ProjectCopy: '_project_copy',
BuildTypeInvestigationAssignNoAssignee: 'build_type_investigation_assign_no_assignee',
SslCertificateUpload: 'ssl_certificate_upload',
TestInvestigationChange: 'test_investigation_change',
UnknownAction: 'unknown_action',
ProjectRemove: 'project_remove',
ServerSecurityUpdatesModeChanged: 'server_security_updates_mode_changed',
BuildTypeMove: 'build_type_move',
BuildAddToQueue: 'build_add_to_queue',
BuildComment: 'build_comment',
BuildTypeTemplateExternalIdChange: 'build_type_template_external_id_change',
BuildProblemInvestigationAssignStickyNoAssignee:
'build_problem_investigation_assign_sticky_no_assignee',
BuildComment2: '_build_comment',
AgentPoolDelete: 'agent_pool_delete',
UserRemoveRoleInScope: 'user_remove_role_in_scope',
BuildProblemMuteInBuildType: 'build_problem_mute_in_build_type',
BuildProblemMuteInProject: 'build_problem_mute_in_project',
AgentAuthorize: 'agent_authorize',
CleanupUserInterrupt: 'cleanup_user_interrupt',
ProjectAssociateWithPool: 'project_associate_with_pool',
BuildTypeCopy: 'build_type_copy',
BuildTypeMarkAsFixedNoAssignee: 'build_type_mark_as_fixed_no_assignee',
UsageStatisticsReportingEnabled: 'usage_statistics_reporting_enabled',
TrustedProjectRemoved: 'trusted_project_removed',
PrivateRecipeRemoved: 'private_recipe_removed',
BuildApprovedByUser: 'build_approved_by_user',
ToolDefaultChanged: 'tool_default_changed',
CleanupManualStart: 'cleanup_manual_start',
ServerInstallSslCertificate: 'server_install_ssl_certificate',
Create2faRecoveryForUser: 'create_2fa_recovery_for_user',
VcsRootUpdate: 'vcs_root_update',
AgentPoolRename: 'agent_pool_rename',
BuildCommentRemove: 'build_comment_remove',
BuildProblemInvestigationAssignNoAssignee: 'build_problem_investigation_assign_no_assignee',
ProjectRemove2: '_project_remove',
ProjectDissociateFromPool: 'project_dissociate_from_pool',
LocalVcsRootRemove: 'local_vcs_root_remove',
ArtifactsStorageSettingsCreated: 'artifacts_storage_settings_created',
TestMuteInBuildType: 'test_mute_in_build_type',
BuildTypePause: 'build_type_pause',
ProjectRename: 'project_rename',
TestInvestigationAssign: 'test_investigation_assign',
BuildMarkedAsFailed: 'build_marked_as_failed',
AuthenticationEditSettings: 'authentication_edit_settings',
HealthStatusItemShow: 'health_status_item_show',
RoleDeletePermission: 'role_delete_permission',
GroupRemoveRole: 'group_remove_role',
UsageStatisticsCollectingStarted: 'usage_statistics_collecting_started',
PrivateRecipeUpdatedFromBuildType: 'private_recipe_updated_from_build_type',
ServerRestarted: 'server_restarted',
BuildRemoveFromQueue: 'build_remove_from_queue',
BuildPin: 'build_pin',
TestInvestigationRemove: 'test_investigation_remove',
LogoutAllUsers: 'logout_all_users',
PluginDeleted: 'plugin_deleted',
GroupAddRole: 'group_add_role',
RoleCreate: 'role_create',
AgentEnable: 'agent_enable',
BuildTypeTemplateEditSettings: 'build_type_template_edit_settings',
ServerEncryptionKeyChanged: 'server_encryption_key_changed',
BuildProblemInvestigationAssign: 'build_problem_investigation_assign',
HealthStatusItemHide: 'health_status_item_hide',
AgentRebootRequested: 'agent_reboot_requested',
ToolAdded: 'tool_added',
ProjectEditSettings: 'project_edit_settings',
Create2faSecretForUser: 'create_2fa_secret_for_user',
TestMuteInBuildType2: '_test_mute_in_build_type',
TestInvestigationChangeWithReassign: 'test_investigation_change_with_reassign',
ArtifactsStorageSettingsDeleted: 'artifacts_storage_settings_deleted',
BuildProblemInvestigationRemove: 'build_problem_investigation_remove',
AgentDelete2: '_agent_delete',
BuildPromotionTagChange: 'build_promotion_tag_change',
DslLibraryUploaded: 'dsl_library_uploaded',
Refresh2faGracePeriodForUser: 'refresh_2fa_grace_period_for_user',
BuildCommentRemove2: '_build_comment_remove',
UserGroupDelete: '_user_group_delete',
ChangedHttpsRedirectStrategy: 'changed_https_redirect_strategy',
ServerRemoveSslCertificate: 'server_remove_ssl_certificate',
PluginUploaded: 'plugin_uploaded',
BackupStop: 'backup_stop',
ProjectMove: 'project_move',
BuildTypeDetachFromTemplate: 'build_type_detach_from_template',
TestMuteInProject: '_test_mute_in_project',
UserAddRole: 'user_add_role',
DeleteTokensBySystem: 'delete_tokens_by_system',
StoredOauthTokenCreatedByUser: 'stored_oauth_token_created_by_user',
DeleteAllTokensForUser: 'delete_all_tokens_for_user',
ArtifactsStorageSettingsActivated: 'artifacts_storage_settings_activated',
VcsRootExternalIdChange: 'vcs_root_external_id_change',
PrivateRecipeCreated: 'private_recipe_created',
BuildTypeAttachToTemplate: 'build_type_attach_to_template',
PrivateRecipeCreatedFromTemplate: 'private_recipe_created_from_template',
BuildTypeSourcesClean: 'build_type_sources_clean',
UsageStatisticsReportingDisabled: 'usage_statistics_reporting_disabled',
AgentUnauthorize: 'agent_unauthorize',
BuildTypeDelete: '_build_type_delete',
BuildProblemInvestigationChange: 'build_problem_investigation_change',
PrivateRecipeUpdated: 'private_recipe_updated',
TestMuteInProject2: '__test_mute_in_project',
CreateTokenForUser: 'create_token_for_user',
SslCertificateDeleted: 'ssl_certificate_deleted',
RoleDelete: 'role_delete',
GlobalVcsRootRemove: 'global_vcs_root_remove',
TestInvestigationAssignNoAssignee: 'test_investigation_assign_no_assignee',
BuildTypeCopy2: '_build_type_copy',
BuildProblemUnmute: 'build_problem_unmute',
PluginEnable: 'plugin_enable',
NativeGitDisabled: 'native_git_disabled',
BackupStart: 'backup_start',
ActivatedJwtLicense: 'activated_jwt_license',
BuildTypeMarkAsFixed: 'build_type_mark_as_fixed',
BuildTypeExternalIdChange: 'build_type_external_id_change',
UserRemoveRole: 'user_remove_role',
AgentPoolCreate: 'agent_pool_create',
BuildQueueResumed: 'build_queue_resumed',
BuildTypeInternalIdChange: 'build_type_internal_id_change',
NativeGitEnabled: 'native_git_enabled',
VcsRootEditSettings: 'vcs_root_edit_settings',
ProjectDearchive: 'project_dearchive',
UserRemoveAllRoles: 'user_remove_all_roles',
BuildTypeInvestigationAssignStickyNoAssignee:
'build_type_investigation_assign_sticky_no_assignee',
BuildTypeTemplatesReordered: 'build_type_templates_reordered',
TestInvestigationRemoveNoAssignee: 'test_investigation_remove_no_assignee',
LocalVcsRootRemove2: '_local_vcs_root_remove',
AgentSourcesClean: 'agent_sources_clean',
VcsRootCreate: 'vcs_root_create',
GroupAddToGroup: 'group_add_to_group',
ToolRemoved: 'tool_removed',
BuildProblemUnmuteInBuild: 'build_problem_unmute_in_build',
UserDelete2: '_user_delete',
UserRemoveFromGroup: 'user_remove_from_group',
BuildTypeCreate: 'build_type_create',
BuildTagChange: 'build_tag_change',
BuildTypeCreateFromTemplate: 'build_type_create_from_template',
BuildTypeDelete2: 'build_type_delete',
AgentTypeCanRunConfigurationsChange: 'agent_type_can_run_configurations_change',
BuildTypeActivate: 'build_type_activate',
TestMuteInBuild: 'test_mute_in_build',
PrivateRecipeUpdatedFromTemplate: 'private_recipe_updated_from_template',
BuildProblemMuteInBuild: '_build_problem_mute_in_build',
ProjectExternalIdChange: 'project_external_id_change',
BuildUnpin: 'build_unpin',
ServerFileChange: 'server_file_change',
NodeResponsibilityEnabled: 'node_responsibility_enabled',
ConnectedServersUpdate: 'connected_servers_update',
GroupRemoveFromGroup: 'group_remove_from_group',
BuildProblemInvestigationRemoveNoAssignee: 'build_problem_investigation_remove_no_assignee',
DeleteAllTokens: 'delete_all_tokens',
ProjectCopy2: 'project_copy',
BuildQueuePaused: 'build_queue_paused',
PrivateRecipeCreatedFromBuildType: 'private_recipe_created_from_build_type',
BuildTypeMove2: '_build_type_move',
UserAddToGroup: 'user_add_to_group',
BuildTypeTemplateDelete: 'build_type_template_delete',
VcsRootEditCommitDescription: 'vcs_root_edit_commit_description',
NodeResponsibilityDisabled: 'node_responsibility_disabled',
BuildTypeInvestigationAssignSticky: 'build_type_investigation_assign_sticky',
TrustedProjectAdded: 'trusted_project_added',
BuildTypeTemplateMove: 'build_type_template_move',
BuildRemove: 'build_remove',
BuildProblemUnmuteInBuild2: '_build_problem_unmute_in_build',
ArtifactsStorageSettingsDeactivated: 'artifacts_storage_settings_deactivated',
BuildTypeInvestigationRemove: 'build_type_investigation_remove',
GlobalVcsRootRemove2: '_global_vcs_root_remove',
RoleExcludeAnotherRole: 'role_exclude_another_role',
UserUpdate: 'user_update',
GroupRemoveAllRoles: 'group_remove_all_roles',
ChangedHttpsPort: 'changed_https_port',
UserGroupCreate: 'user_group_create',
ProjectArchive: 'project_archive',
RoleIncludeAnotherRole: 'role_include_another_role',
BuildTypeInvestigationChange: 'build_type_investigation_change',
BuildProblemMuteInBuild2: 'build_problem_mute_in_build',
BuildMarkedAsSuccessful: 'build_marked_as_successful',
UserGroupDelete2: 'user_group_delete',
GroupRemoveRoleInScope: 'group_remove_role_in_scope',
TestMuteInProject3: 'test_mute_in_project',
BuildTypeTemplateCreate: 'build_type_template_create',
TestInvestigationAssignStickyNoAssignee: 'test_investigation_assign_sticky_no_assignee',
AddedAgentJdk: 'added_agent_jdk',
BuildTypeInvestigationRemoveNoAssignee: 'build_type_investigation_remove_no_assignee',
BuildTypeEditSettings: 'build_type_edit_settings',
PluginDisable: 'plugin_disable',
DslLibraryRemoved: 'dsl_library_removed',
TestInvestigationAssignSticky: 'test_investigation_assign_sticky',
BuildTypeTemplateCopy: 'build_type_template_copy',
DeleteTokenForUser: 'delete_token_for_user',
AgentDisable: 'agent_disable',
BuildProblemInvestigationChangeWithReassign: 'build_problem_investigation_change_with_reassign',
BuildCancel: 'build_cancel',
AgentUpdateJavaRequested: 'agent_update_java_requested',
AgentTypeRunConfigurationPolicyChange: 'agent_type_run_configuration_policy_change',
ServerUpdate: 'server_update',
CreatedAgentInteractiveSession: 'created_agent_interactive_session',
AgentPoolPropsChanged: 'agent_pool_props_changed',
CommitSettingsToVcs: 'commit_settings_to_vcs',
RoleAddPermission: 'role_add_permission',
AgentTypeMoveToPool: 'agent_type_move_to_pool',
ProjectCreate: 'project_create',
BackupSettingsChange: 'backup_settings_change',
UserCreate: 'user_create',
BuildProblemMarkAsFixed: 'build_problem_mark_as_fixed',
VcsRootScopeChange: 'vcs_root_scope_change',
BuildTypeTemplateExtract: 'build_type_template_extract',
DeactivatedJwtLicense: 'deactivated_jwt_license',
} as const;
export type AuditLocatorActionEnum =
(typeof AuditLocatorActionEnum)[keyof typeof AuditLocatorActionEnum];
export const AuditLocatorSystemActionEnum = {
True: 'true',
False: 'false',
Any: 'any',
} as const;
export type AuditLocatorSystemActionEnum =
(typeof AuditLocatorSystemActionEnum)[keyof typeof AuditLocatorSystemActionEnum];