Skip to content

Commit e947622

Browse files
committed
Add a few changes during the first half of March
1 parent d435b84 commit e947622

File tree

5 files changed

+50
-3
lines changed

5 files changed

+50
-3
lines changed

json-logs/raw/audit/v1/actions.json

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,19 @@
236236
"pref.ml_opt_out",
237237
"pref.agentforce_workspaces_settings_changed",
238238
"pref.enterprise_search_connectors",
239-
"pref.enterprise_search_enabled"
239+
"pref.enterprise_search_enabled",
240+
"pref.allow_huddles_transcriptions_changed",
241+
"pref.slack_ai_allowed_workspaces_changed",
242+
"pref.slack_ai_allow_recap_changed",
243+
"pref.slack_ai_allow_detailed_feedback_changed",
244+
"pref.slack_ai_allow_feedback_changed",
245+
"pref.slack_ai_allow_file_summaries_changed",
246+
"pref.slack_ai_allowed_search_files_changed",
247+
"pref.slack_ai_allow_huddle_notes_changed",
248+
"pref.allow_slack_ai_changed",
249+
"pref.slack_ai_allow_workflow_builder_changed",
250+
"pref.enterprise_search_connectors_changed",
251+
"pref.enterprise_search_enabled_changed"
240252
],
241253
"user": [
242254
"custom_tos_accepted",
@@ -282,7 +294,12 @@
282294
"migration_user_conflict_resolved",
283295
"migration_user_conflict_resolution_deleted",
284296
"external_user_disconnected",
285-
"user_sessions_reset_by_anomaly_event_response"
297+
"user_sessions_reset_by_anomaly_event_response",
298+
"user_profile_flagged",
299+
"user_profile_flag_dismissed",
300+
"user_profile_flag_moderated",
301+
"user_profile_flag_assignment",
302+
"user_profile_flag_unassignment"
286303
],
287304
"file": [
288305
"file_downloaded",

json-logs/samples/api/conversations.list.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@
6262
""
6363
],
6464
"user": [
65-
"W00000000"
65+
"W00000000",
66+
"U00000000"
6667
]
6768
},
6869
"threads_restricted_to": {

slack-api-client/src/main/java/com/slack/api/audit/Actions.java

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,18 @@ private WorkspaceOrOrg() {
151151
public static final String pref_agentforce_workspaces_settings_changed = "pref.agentforce_workspaces_settings_changed";
152152
public static final String pref_enterprise_search_connectors = "pref.enterprise_search_connectors";
153153
public static final String pref_enterprise_search_enabled = "pref.enterprise_search_enabled";
154+
public static final String pref_allow_huddles_transcriptions_changed = "pref.allow_huddles_transcriptions_changed";
155+
public static final String pref_slack_ai_allowed_workspaces_changed = "pref.slack_ai_allowed_workspaces_changed";
156+
public static final String pref_slack_ai_allow_recap_changed = "pref.slack_ai_allow_recap_changed";
157+
public static final String pref_slack_ai_allow_detailed_feedback_changed = "pref.slack_ai_allow_detailed_feedback_changed";
158+
public static final String pref_slack_ai_allow_feedback_changed = "pref.slack_ai_allow_feedback_changed";
159+
public static final String pref_slack_ai_allow_file_summaries_changed = "pref.slack_ai_allow_file_summaries_changed";
160+
public static final String pref_slack_ai_allowed_search_files_changed = "pref.slack_ai_allowed_search_files_changed";
161+
public static final String pref_slack_ai_allow_huddle_notes_changed = "pref.slack_ai_allow_huddle_notes_changed";
162+
public static final String pref_allow_slack_ai_changed = "pref.allow_slack_ai_changed";
163+
public static final String pref_slack_ai_allow_workflow_builder_changed = "pref.slack_ai_allow_workflow_builder_changed";
164+
public static final String pref_enterprise_search_connectors_changed = "pref.enterprise_search_connectors_changed";
165+
public static final String pref_enterprise_search_enabled_changed = "pref.enterprise_search_enabled_changed";
154166
public static final String manual_export_downloaded = "manual_export_downloaded";
155167
public static final String manual_export_deleted = "manual_export_deleted";
156168
public static final String scheduled_export_downloaded = "scheduled_export_downloaded";
@@ -298,6 +310,11 @@ private User() {
298310
public static final String migration_user_conflict_resolution_deleted = "migration_user_conflict_resolution_deleted";
299311
public static final String external_user_disconnected = "external_user_disconnected";
300312
public static final String user_sessions_reset_by_anomaly_event_response = "user_sessions_reset_by_anomaly_event_response";
313+
public static final String user_profile_flagged = "user_profile_flagged";
314+
public static final String user_profile_flag_dismissed = "user_profile_flag_dismissed";
315+
public static final String user_profile_flag_moderated = "user_profile_flag_moderated";
316+
public static final String user_profile_flag_assignment = "user_profile_flag_assignment";
317+
public static final String user_profile_flag_unassignment = "user_profile_flag_unassignment";
301318
}
302319

303320
public static class File {

slack-api-model/src/main/java/com/slack/api/model/block/element/RichTextSectionElement.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,16 @@ public static class Color implements RichTextElement {
140140
private LimitedTextStyle style;
141141
}
142142

143+
@Data
144+
@Builder
145+
@NoArgsConstructor
146+
@AllArgsConstructor
147+
public static class Canvas implements RichTextElement {
148+
public static final String TYPE = "canvas";
149+
private final String type = TYPE;
150+
private String fileId;
151+
}
152+
143153
// -------------------------------
144154

145155
@Data

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ private Class<? extends RichTextElement> detectElementClassFromType(String typeN
7777
return RichTextSectionElement.Broadcast.class;
7878
case RichTextSectionElement.Color.TYPE:
7979
return RichTextSectionElement.Color.class;
80+
case RichTextSectionElement.Canvas.TYPE:
81+
return RichTextSectionElement.Canvas.class;
8082
default:
8183
if (failOnUnknownProperties) {
8284
throw new JsonParseException("Unknown RichTextSectionElement type: " + typeName);

0 commit comments

Comments
 (0)