Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 21 additions & 2 deletions json-logs/raw/audit/v1/actions.json
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,21 @@
"pref.ml_opt_out",
"pref.agentforce_workspaces_settings_changed",
"pref.enterprise_search_connectors",
"pref.enterprise_search_enabled"
"pref.enterprise_search_enabled",
"pref.allow_huddles_transcriptions_changed",
"pref.slack_ai_allowed_workspaces_changed",
"pref.slack_ai_allow_recap_changed",
"pref.slack_ai_allow_detailed_feedback_changed",
"pref.slack_ai_allow_feedback_changed",
"pref.slack_ai_allow_file_summaries_changed",
"pref.slack_ai_allowed_search_files_changed",
"pref.slack_ai_allow_huddle_notes_changed",
"pref.allow_slack_ai_changed",
"pref.slack_ai_allow_workflow_builder_changed",
"pref.enterprise_search_connectors_changed",
"pref.enterprise_search_enabled_changed",
"export_app_configuration_upserted",
"export_app_configuration_deleted"
],
"user": [
"custom_tos_accepted",
Expand Down Expand Up @@ -282,7 +296,12 @@
"migration_user_conflict_resolved",
"migration_user_conflict_resolution_deleted",
"external_user_disconnected",
"user_sessions_reset_by_anomaly_event_response"
"user_sessions_reset_by_anomaly_event_response",
"user_profile_flagged",
"user_profile_flag_dismissed",
"user_profile_flag_moderated",
"user_profile_flag_assignment",
"user_profile_flag_unassignment"
],
"file": [
"file_downloaded",
Expand Down
3 changes: 2 additions & 1 deletion json-logs/samples/api/conversations.list.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@
""
],
"user": [
"W00000000"
"W00000000",
"U00000000"
]
},
"threads_restricted_to": {
Expand Down
19 changes: 19 additions & 0 deletions slack-api-client/src/main/java/com/slack/api/audit/Actions.java
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,18 @@ private WorkspaceOrOrg() {
public static final String pref_agentforce_workspaces_settings_changed = "pref.agentforce_workspaces_settings_changed";
public static final String pref_enterprise_search_connectors = "pref.enterprise_search_connectors";
public static final String pref_enterprise_search_enabled = "pref.enterprise_search_enabled";
public static final String pref_allow_huddles_transcriptions_changed = "pref.allow_huddles_transcriptions_changed";
public static final String pref_slack_ai_allowed_workspaces_changed = "pref.slack_ai_allowed_workspaces_changed";
public static final String pref_slack_ai_allow_recap_changed = "pref.slack_ai_allow_recap_changed";
public static final String pref_slack_ai_allow_detailed_feedback_changed = "pref.slack_ai_allow_detailed_feedback_changed";
public static final String pref_slack_ai_allow_feedback_changed = "pref.slack_ai_allow_feedback_changed";
public static final String pref_slack_ai_allow_file_summaries_changed = "pref.slack_ai_allow_file_summaries_changed";
public static final String pref_slack_ai_allowed_search_files_changed = "pref.slack_ai_allowed_search_files_changed";
public static final String pref_slack_ai_allow_huddle_notes_changed = "pref.slack_ai_allow_huddle_notes_changed";
public static final String pref_allow_slack_ai_changed = "pref.allow_slack_ai_changed";
public static final String pref_slack_ai_allow_workflow_builder_changed = "pref.slack_ai_allow_workflow_builder_changed";
public static final String pref_enterprise_search_connectors_changed = "pref.enterprise_search_connectors_changed";
public static final String pref_enterprise_search_enabled_changed = "pref.enterprise_search_enabled_changed";
public static final String manual_export_downloaded = "manual_export_downloaded";
public static final String manual_export_deleted = "manual_export_deleted";
public static final String scheduled_export_downloaded = "scheduled_export_downloaded";
Expand Down Expand Up @@ -248,6 +260,8 @@ private WorkspaceOrOrg() {
public static final String security_settings_export_started = "security_settings_export_started";
public static final String security_settings_export_completed = "security_settings_export_completed";
public static final String audit_logs_records_searched_anomaly = "audit_logs_records_searched_anomaly";
public static final String export_app_configuration_upserted = "export_app_configuration_upserted";
public static final String export_app_configuration_deleted = "export_app_configuration_deleted";
}

public static class User {
Expand Down Expand Up @@ -298,6 +312,11 @@ private User() {
public static final String migration_user_conflict_resolution_deleted = "migration_user_conflict_resolution_deleted";
public static final String external_user_disconnected = "external_user_disconnected";
public static final String user_sessions_reset_by_anomaly_event_response = "user_sessions_reset_by_anomaly_event_response";
public static final String user_profile_flagged = "user_profile_flagged";
public static final String user_profile_flag_dismissed = "user_profile_flag_dismissed";
public static final String user_profile_flag_moderated = "user_profile_flag_moderated";
public static final String user_profile_flag_assignment = "user_profile_flag_assignment";
public static final String user_profile_flag_unassignment = "user_profile_flag_unassignment";
}

public static class File {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ public class BotProfile {
private String name;
private Integer updated;
private String appId; // A00000000
private String userId;
private Icons icons;
private String teamId;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,16 @@ public static class Color implements RichTextElement {
private LimitedTextStyle style;
}

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public static class Canvas implements RichTextElement {
public static final String TYPE = "canvas";
private final String type = TYPE;
private String fileId;
}

// -------------------------------

@Data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@
return RichTextSectionElement.Broadcast.class;
case RichTextSectionElement.Color.TYPE:
return RichTextSectionElement.Color.class;
case RichTextSectionElement.Canvas.TYPE:
return RichTextSectionElement.Canvas.class;

Check warning on line 81 in slack-api-model/src/main/java/com/slack/api/util/json/GsonRichTextElementFactory.java

View check run for this annotation

Codecov / codecov/patch

slack-api-model/src/main/java/com/slack/api/util/json/GsonRichTextElementFactory.java#L81

Added line #L81 was not covered by tests
default:
if (failOnUnknownProperties) {
throw new JsonParseException("Unknown RichTextSectionElement type: " + typeName);
Expand Down