Skip to content

Commit 96a4b99

Browse files
authored
Add a few API data changes in March (#1456)
* Add a few changes during the first half of March * Property updates on March 28
1 parent d435b84 commit 96a4b99

File tree

6 files changed

+55
-3
lines changed

6 files changed

+55
-3
lines changed

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

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,21 @@
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",
252+
"export_app_configuration_upserted",
253+
"export_app_configuration_deleted"
240254
],
241255
"user": [
242256
"custom_tos_accepted",
@@ -282,7 +296,12 @@
282296
"migration_user_conflict_resolved",
283297
"migration_user_conflict_resolution_deleted",
284298
"external_user_disconnected",
285-
"user_sessions_reset_by_anomaly_event_response"
299+
"user_sessions_reset_by_anomaly_event_response",
300+
"user_profile_flagged",
301+
"user_profile_flag_dismissed",
302+
"user_profile_flag_moderated",
303+
"user_profile_flag_assignment",
304+
"user_profile_flag_unassignment"
286305
],
287306
"file": [
288307
"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: 19 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";
@@ -248,6 +260,8 @@ private WorkspaceOrOrg() {
248260
public static final String security_settings_export_started = "security_settings_export_started";
249261
public static final String security_settings_export_completed = "security_settings_export_completed";
250262
public static final String audit_logs_records_searched_anomaly = "audit_logs_records_searched_anomaly";
263+
public static final String export_app_configuration_upserted = "export_app_configuration_upserted";
264+
public static final String export_app_configuration_deleted = "export_app_configuration_deleted";
251265
}
252266

253267
public static class User {
@@ -298,6 +312,11 @@ private User() {
298312
public static final String migration_user_conflict_resolution_deleted = "migration_user_conflict_resolution_deleted";
299313
public static final String external_user_disconnected = "external_user_disconnected";
300314
public static final String user_sessions_reset_by_anomaly_event_response = "user_sessions_reset_by_anomaly_event_response";
315+
public static final String user_profile_flagged = "user_profile_flagged";
316+
public static final String user_profile_flag_dismissed = "user_profile_flag_dismissed";
317+
public static final String user_profile_flag_moderated = "user_profile_flag_moderated";
318+
public static final String user_profile_flag_assignment = "user_profile_flag_assignment";
319+
public static final String user_profile_flag_unassignment = "user_profile_flag_unassignment";
301320
}
302321

303322
public static class File {

slack-api-model/src/main/java/com/slack/api/model/BotProfile.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ public class BotProfile {
1111
private String name;
1212
private Integer updated;
1313
private String appId; // A00000000
14+
private String userId;
1415
private Icons icons;
1516
private String teamId;
1617

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)