Skip to content

Commit 20bbc03

Browse files
authored
Add web api response changes as of 2025-07-10 (#1487)
1 parent acaeae6 commit 20bbc03

File tree

9 files changed

+58
-4
lines changed

9 files changed

+58
-4
lines changed

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,13 @@
257257
"search_query_audit_logs_export_completed",
258258
"search_query_audit_logs_export_downloaded",
259259
"search_query_audit_logs_export_deleted",
260-
"audit_logs_ai_summary_generated"
260+
"audit_logs_ai_summary_generated",
261+
"pref.private_record_channel_retention_duration_changed",
262+
"pref.private_record_channel_retention_changed",
263+
"pref.private_record_channel_redaction_duration_changed",
264+
"pref.public_record_channel_retention_duration_changed",
265+
"pref.public_record_channel_retention_changed",
266+
"pref.public_record_channel_redaction_duration_changed"
261267
],
262268
"user": [
263269
"custom_tos_accepted",

json-logs/samples/api/admin.functions.list.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,11 @@
4141
"form_enabled": false,
4242
"date_released": 12345,
4343
"category_id": "A00000000",
44-
"category_label": ""
44+
"category_label": "",
45+
"product_level_availability": {
46+
"is_available": false,
47+
"available_to": ""
48+
}
4549
}
4650
]
4751
}

json-logs/samples/api/files.completeUploadExternal.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,19 @@
5050
"latest_reply": "0000000000.000000",
5151
"source": "",
5252
"is_silent_share": false
53+
},
54+
{
55+
"reply_users": [
56+
""
57+
],
58+
"reply_users_count": 12345,
59+
"reply_count": 12345,
60+
"ts": "0000000000.000000",
61+
"channel_name": "",
62+
"team_id": "T00000000",
63+
"share_user_id": "U00000000",
64+
"source": "",
65+
"is_silent_share": false
5366
}
5467
],
5568
"C00000001": [
@@ -67,6 +80,19 @@
6780
"latest_reply": "0000000000.000000",
6881
"source": "",
6982
"is_silent_share": false
83+
},
84+
{
85+
"reply_users": [
86+
""
87+
],
88+
"reply_users_count": 12345,
89+
"reply_count": 12345,
90+
"ts": "0000000000.000000",
91+
"channel_name": "",
92+
"team_id": "T00000000",
93+
"share_user_id": "U00000000",
94+
"source": "",
95+
"is_silent_share": false
7096
}
7197
]
7298
}

json-logs/samples/api/usergroups.create.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@
2828
"users": [
2929
""
3030
],
31-
"is_section": false
31+
"is_section": false,
32+
"is_idp_group": false
3233
},
3334
"error": "",
3435
"needed": "",

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@
3232
"U00000000"
3333
],
3434
"user_count": 12345,
35-
"is_section": false
35+
"is_section": false,
36+
"is_idp_group": false
3637
}
3738
],
3839
"error": "",

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,12 @@ private WorkspaceOrOrg() {
164164
public static final String pref_enterprise_search_connectors_changed = "pref.enterprise_search_connectors_changed";
165165
public static final String pref_enterprise_search_enabled_changed = "pref.enterprise_search_enabled_changed";
166166
public static final String pref_slack_ai_allow_translations_changed = "pref.slack_ai_allow_translations_changed";
167+
public static final String pref_private_record_channel_retention_duration_changed = "pref.private_record_channel_retention_duration_changed";
168+
public static final String pref_private_record_channel_retention_changed = "pref.private_record_channel_retention_changed";
169+
public static final String pref_private_record_channel_redaction_duration_changed = "pref.private_record_channel_redaction_duration_changed";
170+
public static final String pref_public_record_channel_retention_duration_changed = "pref.public_record_channel_retention_duration_changed";
171+
public static final String pref_public_record_channel_retention_changed = "pref.public_record_channel_retention_changed";
172+
public static final String pref_public_record_channel_redaction_duration_changed = "pref.public_record_channel_redaction_duration_changed";
167173
public static final String manual_export_downloaded = "manual_export_downloaded";
168174
public static final String manual_export_deleted = "manual_export_deleted";
169175
public static final String scheduled_export_downloaded = "scheduled_export_downloaded";

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
@@ -281,5 +281,6 @@ public static class Address {
281281
private List<LayoutBlock> titleBlocks;
282282
private Double canvasReadtime;
283283
private String canvasCreatorId;
284+
private String altTxt;
284285

285286
}

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ public class Usergroup {
3131
private String handle;
3232
@SerializedName("is_external")
3333
private boolean external;
34+
@SerializedName("is_idp_group")
35+
private boolean idpGroup;
3436
private boolean autoProvision;
3537
private Integer dateCreate;
3638
private Integer dateUpdate;

slack-api-model/src/main/java/com/slack/api/model/admin/AppFunction.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ public class AppFunction {
2121
private Boolean formEnabled;
2222
private String categoryId;
2323
private String categoryLabel;
24+
private ProductLevelAvailability productLevelAvailability;
2425

2526
@Data
2627
public static class InputParameter {
@@ -39,4 +40,10 @@ public static class OutputParameter {
3940
private String description;
4041
private Boolean isRequired;
4142
}
43+
44+
@Data
45+
public static class ProductLevelAvailability {
46+
private Boolean isAvailable;
47+
private String availableTo; // "std" etc.
48+
}
4249
}

0 commit comments

Comments
 (0)