Skip to content

Commit 2a6f7dd

Browse files
authored
Apply API data changes (as of 2025-05-17) (#1473)
1 parent 302ecef commit 2a6f7dd

File tree

8 files changed

+73
-21
lines changed

8 files changed

+73
-21
lines changed

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,8 @@
305305
"user_profile_flag_unassignment",
306306
"user_added_reminder",
307307
"app_agentforce_shareable_prompt_created",
308-
"app_agentforce_session_created_from_prompt_link"
308+
"app_agentforce_session_created_from_prompt_link",
309+
"app_agentforce_execute_slack_action"
309310
],
310311
"file": [
311312
"file_downloaded",
@@ -418,7 +419,8 @@
418419
"app_variable_removed",
419420
"app_deployed",
420421
"app_manifest_created",
421-
"app_manifest_updated"
422+
"app_manifest_updated",
423+
"admin_app_config_updated"
422424
],
423425
"workflow_builder": [
424426
"workflow_created",
@@ -443,7 +445,8 @@
443445
"sales_home_notification_forwarded",
444446
"record_shared",
445447
"message_flag_assignment",
446-
"message_flag_unassignment"
448+
"message_flag_unassignment",
449+
"thread_hidden"
447450
],
448451
"barrier": [
449452
"barrier_created",

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

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,22 +54,36 @@
5454
"canvas": {
5555
"file_id": "F00000000",
5656
"is_empty": false,
57-
"quip_thread_id": ""
57+
"quip_thread_id": "",
58+
"is_migrated": false
5859
},
5960
"tabs": [
6061
{
6162
"id": "",
6263
"label": "",
63-
"type": ""
64+
"type": "",
65+
"data": {
66+
"file_id": "F00000000",
67+
"shared_ts": "0000000000.000000"
68+
},
69+
"is_disabled": false
6470
}
6571
],
6672
"tabz": [
6773
{
6874
"id": "",
6975
"label": "",
70-
"type": ""
76+
"type": "",
77+
"data": {
78+
"file_id": "F00000000",
79+
"shared_ts": "0000000000.000000"
80+
},
81+
"is_disabled": false
7182
}
72-
]
83+
],
84+
"meeting_notes": {
85+
"file_id": "F00000000"
86+
}
7387
}
7488
},
7589
"warning": "",

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

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -77,26 +77,36 @@
7777
"canvas": {
7878
"file_id": "F00000000",
7979
"is_empty": false,
80-
"quip_thread_id": ""
80+
"quip_thread_id": "",
81+
"is_migrated": false
8182
},
8283
"tabs": [
8384
{
8485
"id": "",
8586
"label": "",
86-
"type": ""
87+
"type": "",
88+
"data": {
89+
"file_id": "F00000000",
90+
"shared_ts": "0000000000.000000"
91+
},
92+
"is_disabled": false
8793
}
8894
],
8995
"tabz": [
9096
{
9197
"id": "",
9298
"label": "",
93-
"type": ""
94-
},
95-
{
9699
"type": "",
97-
"id": ""
100+
"data": {
101+
"file_id": "F00000000",
102+
"shared_ts": "0000000000.000000"
103+
},
104+
"is_disabled": false
98105
}
99-
]
106+
],
107+
"meeting_notes": {
108+
"file_id": "F00000000"
109+
}
100110
}
101111
}
102112
],

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

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@
7171
"canvas": {
7272
"file_id": "F00000000",
7373
"is_empty": false,
74-
"quip_thread_id": ""
74+
"quip_thread_id": "",
75+
"is_migrated": false
7576
},
7677
"threads_restricted_to": {
7778
"type": [
@@ -82,20 +83,29 @@
8283
{
8384
"id": "",
8485
"label": "",
85-
"type": ""
86+
"type": "",
87+
"data": {
88+
"file_id": "F00000000",
89+
"shared_ts": "0000000000.000000"
90+
},
91+
"is_disabled": false
8692
}
8793
],
8894
"tabz": [
8995
{
9096
"id": "",
9197
"label": "",
92-
"type": ""
93-
},
94-
{
9598
"type": "",
96-
"id": ""
99+
"data": {
100+
"file_id": "F00000000",
101+
"shared_ts": "0000000000.000000"
102+
},
103+
"is_disabled": false
97104
}
98-
]
105+
],
106+
"meeting_notes": {
107+
"file_id": "F00000000"
108+
}
99109
}
100110
}
101111
],

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,7 @@ private User() {
321321
public static final String user_added_reminder = "user_added_reminder";
322322
public static final String app_agentforce_shareable_prompt_created = "app_agentforce_shareable_prompt_created";
323323
public static final String app_agentforce_session_created_from_prompt_link = "app_agentforce_session_created_from_prompt_link";
324+
public static final String app_agentforce_execute_slack_action = "app_agentforce_execute_slack_action";
324325
}
325326

326327
public static class File {
@@ -446,6 +447,7 @@ private App() {
446447
public static final String app_deployed = "app_deployed";
447448
public static final String app_manifest_created = "app_manifest_created";
448449
public static final String app_manifest_updated = "app_manifest_updated";
450+
public static final String admin_app_config_updated = "admin_app_config_updated";
449451
}
450452

451453
public static class Message {
@@ -467,6 +469,7 @@ private Message() {
467469
public static final String record_shared = "record_shared";
468470
public static final String message_flag_assignment = "message_flag_assignment";
469471
public static final String message_flag_unassignment = "message_flag_unassignment";
472+
public static final String thread_hidden = "thread_hidden";
470473
}
471474

472475
public static class WorkflowBuilder {

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ public class ConversationProperties {
2121
private Boolean atChannelRestricted;
2222
private List<Tab> tabs;
2323
private List<Tabz> tabz;
24+
private MeetingNotes meetingNotes;
2425

2526
@Data
2627
@Builder
@@ -48,6 +49,7 @@ public static class Canvas {
4849
private String fileId;
4950
private String quipThreadId;
5051
private Boolean isEmpty;
52+
private Boolean isMigrated;
5153
}
5254

5355
@Data
@@ -74,6 +76,14 @@ public static class Tabz {
7476
private Boolean isDisabled;
7577
}
7678

79+
@Data
80+
@Builder
81+
@NoArgsConstructor
82+
@AllArgsConstructor
83+
public static class MeetingNotes {
84+
private String fileId;
85+
}
86+
7787
@Data
7888
@Builder
7989
@NoArgsConstructor

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ public class File {
4040
private List<String> editors;
4141
private Integer editTimestamp;
4242
private String altTxt;
43+
private Double canvasReadtime;
4344

4445
private String subtype; // "slack_video" = clip
4546
private Transcription transcription; // when subtype is "slack_video"

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,5 +279,6 @@ public static class Address {
279279
private Boolean teamPrefVersionHistoryEnabled;
280280
private Integer editorsCount;
281281
private List<LayoutBlock> titleBlocks;
282+
private Double canvasReadtime;
282283

283284
}

0 commit comments

Comments
 (0)