intercom-client
Version:
Official Node bindings to the Intercom API
133 lines (132 loc) • 7.9 kB
text/typescript
import type * as Intercom from "../index.mjs";
/**
* Activities performed by Admins.
*/
export interface ActivityLog {
/** The id representing the activity. */
id?: string;
/** Details about the Admin involved in the activity. */
performed_by?: ActivityLog.PerformedBy;
metadata?: Intercom.ActivityLogMetadata;
/** The time the activity was created. */
created_at?: number;
activity_type?: ActivityLog.ActivityType;
/** A sentence or two describing the activity. */
activity_description?: string;
}
export declare namespace ActivityLog {
/**
* Details about the Admin involved in the activity.
*/
interface PerformedBy {
/** String representing the object's type. Always has the value `admin`. */
type?: string;
/** The id representing the admin. */
id?: string;
/** The email of the admin. */
email?: string;
/** The IP address of the admin. */
ip?: string;
}
const ActivityType: {
readonly AdminConversationAssignmentLimitChange: "admin_conversation_assignment_limit_change";
readonly AdminTicketAssignmentLimitChange: "admin_ticket_assignment_limit_change";
readonly AdminAwayModeChange: "admin_away_mode_change";
readonly AdminDeletion: "admin_deletion";
readonly AdminDeprovisioned: "admin_deprovisioned";
readonly AdminImpersonationEnd: "admin_impersonation_end";
readonly AdminImpersonationStart: "admin_impersonation_start";
readonly AdminImpersonationConsentApproved: "admin_impersonation_consent_approved";
readonly AdminImpersonationConsentRevoked: "admin_impersonation_consent_revoked";
readonly AdminInviteChange: "admin_invite_change";
readonly AdminInviteCreation: "admin_invite_creation";
readonly AdminInviteDeletion: "admin_invite_deletion";
readonly AdminLoginFailure: "admin_login_failure";
readonly AdminLoginSuccess: "admin_login_success";
readonly AdminLogout: "admin_logout";
readonly AdminPasswordResetRequest: "admin_password_reset_request";
readonly AdminPasswordResetSuccess: "admin_password_reset_success";
readonly AdminPermissionChange: "admin_permission_change";
readonly AdminProvisioned: "admin_provisioned";
readonly AdminTwoFactorAuthChange: "admin_two_factor_auth_change";
readonly AdminUnauthorizedSignInMethod: "admin_unauthorized_sign_in_method";
readonly AppAdminJoin: "app_admin_join";
readonly AppAuthenticationMethodChange: "app_authentication_method_change";
readonly AppDataDeletion: "app_data_deletion";
readonly AppDataExport: "app_data_export";
readonly AppGoogleSsoDomainChange: "app_google_sso_domain_change";
readonly AppIdentityVerificationChange: "app_identity_verification_change";
readonly AppNameChange: "app_name_change";
readonly AppOutboundAddressChange: "app_outbound_address_change";
readonly AppPackageInstallation: "app_package_installation";
readonly AppPackageTokenRegeneration: "app_package_token_regeneration";
readonly AppPackageUninstallation: "app_package_uninstallation";
readonly AppTeamCreation: "app_team_creation";
readonly AppTeamDeletion: "app_team_deletion";
readonly AppTeamMembershipModification: "app_team_membership_modification";
readonly AppTimezoneChange: "app_timezone_change";
readonly AppWebhookCreation: "app_webhook_creation";
readonly AppWebhookDeletion: "app_webhook_deletion";
readonly ArticlesInMessengerEnabledChange: "articles_in_messenger_enabled_change";
readonly AutomaticAwayModeSettingChange: "automatic_away_mode_setting_change";
readonly BulkDelete: "bulk_delete";
readonly BulkExport: "bulk_export";
readonly CampaignDeletion: "campaign_deletion";
readonly CampaignStateChange: "campaign_state_change";
readonly ConversationPartDeletion: "conversation_part_deletion";
readonly ConversationTopicChange: "conversation_topic_change";
readonly ConversationTopicCreation: "conversation_topic_creation";
readonly ConversationTopicDeletion: "conversation_topic_deletion";
readonly CustomAuthenticationTokenCreation: "custom_authentication_token_creation";
readonly HelpCenterSettingsChange: "help_center_settings_change";
readonly InboundConversationsChange: "inbound_conversations_change";
readonly InboxAccessChange: "inbox_access_change";
readonly MacroCreation: "macro_creation";
readonly MacroDeletion: "macro_deletion";
readonly MacroUpdate: "macro_update";
readonly MaliciousDomainsSettingChange: "malicious_domains_setting_change";
readonly MessageDeletion: "message_deletion";
readonly MessageStateChange: "message_state_change";
readonly MessengerApiSecretCreation: "messenger_api_secret_creation";
readonly MessengerApiSecretDeletion: "messenger_api_secret_deletion";
readonly MessengerLookAndFeelChange: "messenger_look_and_feel_change";
readonly MessengerSearchRequiredChange: "messenger_search_required_change";
readonly MessengerSpacesChange: "messenger_spaces_change";
readonly OauthTokenRevocation: "oauth_token_revocation";
readonly OfficeHoursChange: "office_hours_change";
readonly RoleChange: "role_change";
readonly RoleCreation: "role_creation";
readonly RoleDeletion: "role_deletion";
readonly RulesetActivationTitlePreview: "ruleset_activation_title_preview";
readonly RulesetCreation: "ruleset_creation";
readonly RulesetDeletion: "ruleset_deletion";
readonly SearchBrowseEnabledChange: "search_browse_enabled_change";
readonly SearchBrowseRequiredChange: "search_browse_required_change";
readonly SeatChange: "seat_change";
readonly SeatRevoke: "seat_revoke";
readonly SecuritySettingsChange: "security_settings_change";
readonly SeriesCreation: "series_creation";
readonly SeriesDeletion: "series_deletion";
readonly SeriesSettingsUpdate: "series_settings_update";
readonly SeriesStatusChange: "series_status_change";
readonly SeriesUpdate: "series_update";
readonly StripInboundEmailLinksChange: "strip_inbound_email_links_change";
readonly TemporaryExpectationChange: "temporary_expectation_change";
readonly TeamAssignmentLimitChange: "team_assignment_limit_change";
readonly TrustedDomainsSettingChange: "trusted_domains_setting_change";
readonly UnassignUnsnoozedAtCapacitySettingChange: "unassign_unsnoozed_at_capacity_setting_change";
readonly UpfrontEmailCollectionChange: "upfront_email_collection_change";
readonly AllowedAttachmentFiletypesSettingChange: "allowed_attachment_filetypes_setting_change";
readonly AttachUploadsInlineSettingChange: "attach_uploads_inline_setting_change";
readonly TeammateGifsSettingChange: "teammate_gifs_setting_change";
readonly UserCameraAttachmentsSettingChange: "user_camera_attachments_setting_change";
readonly UserConversationAttachmentsSettingChange: "user_conversation_attachments_setting_change";
readonly UserFileAttachmentsSettingChange: "user_file_attachments_setting_change";
readonly UserGifsSettingChange: "user_gifs_setting_change";
readonly UserMediaAttachmentsSettingChange: "user_media_attachments_setting_change";
readonly UserVoiceNotesSettingChange: "user_voice_notes_setting_change";
readonly WelcomeMessageChange: "welcome_message_change";
readonly WorkspaceDeletionRequest: "workspace_deletion_request";
};
type ActivityType = (typeof ActivityType)[keyof typeof ActivityType];
}