From f84a5c54bf11f82b2ff4a31e4626f8c1bf69e66c Mon Sep 17 00:00:00 2001 From: Kazuhiro Sera Date: Wed, 20 Nov 2024 09:49:26 +0900 Subject: [PATCH] Run all the integration tests - 2024-11-19 PT --- .../api/admin.conversations.search.json | 7 ++++ json-logs/samples/api/conversations.join.json | 7 ++++ json-logs/samples/api/conversations.list.json | 10 ++++-- .../samples/api/users.conversations.json | 7 ++++ .../api/model/ConversationProperties.java | 36 ++++++++++++++++++- 5 files changed, 64 insertions(+), 3 deletions(-) diff --git a/json-logs/samples/api/admin.conversations.search.json b/json-logs/samples/api/admin.conversations.search.json index bb039ead3..b62108be9 100644 --- a/json-logs/samples/api/admin.conversations.search.json +++ b/json-logs/samples/api/admin.conversations.search.json @@ -100,6 +100,13 @@ "label": "", "type": "" } + ], + "tabz": [ + { + "id": "", + "label": "", + "type": "" + } ] } } diff --git a/json-logs/samples/api/conversations.join.json b/json-logs/samples/api/conversations.join.json index 212a7c705..cd76af7b9 100644 --- a/json-logs/samples/api/conversations.join.json +++ b/json-logs/samples/api/conversations.join.json @@ -62,6 +62,13 @@ "label": "", "type": "" } + ], + "tabz": [ + { + "id": "", + "label": "", + "type": "" + } ] } }, diff --git a/json-logs/samples/api/conversations.list.json b/json-logs/samples/api/conversations.list.json index 18d60b0ca..ee6e2fb67 100644 --- a/json-logs/samples/api/conversations.list.json +++ b/json-logs/samples/api/conversations.list.json @@ -62,8 +62,7 @@ "" ], "user": [ - "W00000000", - "U00000000" + "W00000000" ] }, "threads_restricted_to": { @@ -85,6 +84,13 @@ "label": "", "type": "" } + ], + "tabz": [ + { + "id": "", + "label": "", + "type": "" + } ] } } diff --git a/json-logs/samples/api/users.conversations.json b/json-logs/samples/api/users.conversations.json index faf901379..d31bbc959 100644 --- a/json-logs/samples/api/users.conversations.json +++ b/json-logs/samples/api/users.conversations.json @@ -84,6 +84,13 @@ "label": "", "type": "" } + ], + "tabz": [ + { + "id": "", + "label": "", + "type": "" + } ] } } diff --git a/slack-api-model/src/main/java/com/slack/api/model/ConversationProperties.java b/slack-api-model/src/main/java/com/slack/api/model/ConversationProperties.java index 4c61994a4..58e1a1601 100644 --- a/slack-api-model/src/main/java/com/slack/api/model/ConversationProperties.java +++ b/slack-api-model/src/main/java/com/slack/api/model/ConversationProperties.java @@ -20,6 +20,7 @@ public class ConversationProperties { private Boolean atHereRestricted; private Boolean atChannelRestricted; private List tabs; + private List tabz; @Data @Builder @@ -56,6 +57,39 @@ public static class Canvas { public static class Tab { private String id; private String label; - private Boolean type; + private String type; + private TabData data; + private Boolean isDisabled; + } + + @Data + @Builder + @NoArgsConstructor + @AllArgsConstructor + public static class Tabz { + private String id; + private String label; + private String type; + private TabData data; + private Boolean isDisabled; + } + + @Data + @Builder + @NoArgsConstructor + @AllArgsConstructor + public static class TabData { + private String fileId; + private String viewId; + private String accessLevel; + private String sharedTs; + private String recordRelatedListId; + private String salesforceListViewId; + private String listsChannelTabDefaultRefineViewId; + private String objectType; + private String folderBookmarkId; + private String botUserId; + private String appId; + private Boolean muteEditUpdates; } }