From 4ac9ebff8efeb846e85e174523032844b253866a Mon Sep 17 00:00:00 2001 From: Kazuhiro Sera Date: Fri, 4 Nov 2022 13:41:28 +0900 Subject: [PATCH] Run all the integration tests - 2022-11-03 PT --- json-logs/samples/api/chat.postMessage.json | 715 +++++++++++++++--- .../samples/api/chat.scheduleMessage.json | 3 + json-logs/samples/api/chat.update.json | 3 + .../samples/api/conversations.history.json | 6 + json-logs/samples/api/conversations.open.json | 3 + .../samples/api/conversations.replies.json | 6 + json-logs/samples/api/files.list.json | 127 ++-- json-logs/samples/api/files.remote.list.json | 102 +-- json-logs/samples/api/reactions.get.json | 4 + json-logs/samples/api/reactions.list.json | 3 + json-logs/samples/api/rtm.start.json | 12 + json-logs/samples/api/search.all.json | 18 + json-logs/samples/api/search.messages.json | 18 + json-logs/samples/api/stars.list.json | 6 + json-logs/samples/api/users.info.json | 3 +- json-logs/samples/api/users.list.json | 3 +- .../main/java/com/slack/api/model/User.java | 1 + 17 files changed, 798 insertions(+), 235 deletions(-) diff --git a/json-logs/samples/api/chat.postMessage.json b/json-logs/samples/api/chat.postMessage.json index 2fd7c5f9e..8aec7c356 100644 --- a/json-logs/samples/api/chat.postMessage.json +++ b/json-logs/samples/api/chat.postMessage.json @@ -54,7 +54,193 @@ "blocks": [ { "type": "", + "block_id": "", "elements": [ + { + "type": "", + "elements": [ + { + "type": "", + "text": "" + }, + { + "type": "", + "elements": [ + { + "type": "", + "range": "", + "text": "", + "style": { + "bold": false, + "italic": false, + "strike": false, + "code": false + }, + "channel_id": "", + "value": "", + "timestamp": "", + "url": "", + "team_id": "", + "user_id": "", + "usergroup_id": "", + "name": "", + "skin_tone": 12345, + "unicode": "" + } + ], + "style": "", + "indent": 12345, + "offset": 12345, + "border": 12345 + } + ], + "text": { + "type": "", + "text": "", + "emoji": false + }, + "action_id": "", + "url": "", + "value": "", + "style": "", + "confirm": { + "title": { + "type": "", + "text": "", + "emoji": false + }, + "text": { + "type": "", + "text": "", + "emoji": false + }, + "confirm": { + "type": "", + "text": "", + "emoji": false + }, + "deny": { + "type": "", + "text": "", + "emoji": false + }, + "style": "" + }, + "accessibility_label": "", + "options": [ + { + "text": { + "type": "", + "text": "", + "emoji": false + }, + "value": "", + "description": { + "type": "", + "text": "", + "emoji": false + }, + "url": "" + } + ], + "initial_options": [ + { + "text": { + "type": "", + "text": "", + "emoji": false + }, + "value": "", + "description": { + "type": "", + "text": "", + "emoji": false + }, + "url": "" + } + ], + "focus_on_load": false, + "initial_option": { + "text": { + "type": "", + "text": "", + "emoji": false + }, + "value": "", + "description": { + "type": "", + "text": "", + "emoji": false + }, + "url": "" + }, + "placeholder": { + "type": "", + "text": "", + "emoji": false + }, + "initial_channel": "", + "response_url_enabled": false, + "initial_channels": [ + "" + ], + "max_selected_items": 12345, + "initial_conversation": "", + "default_to_current_conversation": false, + "filter": { + "include": [ + "" + ], + "exclude_external_shared_channels": false, + "exclude_bot_users": false + }, + "initial_conversations": [ + "" + ], + "initial_date": "", + "initial_time": "", + "timezone": "", + "initial_date_time": 12345, + "min_query_length": 12345, + "image_url": "", + "alt_text": "", + "fallback": "", + "image_width": 12345, + "image_height": 12345, + "image_bytes": 12345, + "option_groups": [ + { + "label": { + "type": "", + "text": "", + "emoji": false + }, + "options": [ + { + "text": { + "type": "", + "text": "", + "emoji": false + }, + "value": "", + "description": { + "type": "", + "text": "", + "emoji": false + }, + "url": "" + } + ] + } + ], + "initial_user": "", + "initial_users": [ + "" + ], + "indent": 12345, + "offset": 12345, + "border": 12345 + }, { "type": "", "text": { @@ -163,6 +349,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -234,9 +421,56 @@ "indent": 12345, "offset": 12345, "border": 12345 + }, + { + "type": "", + "image_url": "", + "alt_text": "", + "fallback": "", + "image_width": 12345, + "image_height": 12345, + "image_bytes": 12345 + }, + { + "type": "", + "elements": [ + { + "type": "", + "elements": [ + { + "type": "", + "range": "", + "text": "", + "style": { + "bold": false, + "italic": false, + "strike": false, + "code": false + }, + "channel_id": "", + "value": "", + "timestamp": "", + "url": "", + "team_id": "", + "user_id": "", + "usergroup_id": "", + "name": "", + "skin_tone": 12345, + "unicode": "" + } + ], + "style": "", + "indent": 12345, + "offset": 12345, + "border": 12345 + } + ], + "style": "", + "indent": 12345, + "offset": 12345, + "border": 12345 } ], - "block_id": "", "call_id": "", "api_decoration_available": false, "call": { @@ -686,6 +920,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -836,6 +1071,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -983,15 +1219,6 @@ { "type": "", "elements": [ - { - "type": "", - "image_url": "", - "alt_text": "", - "fallback": "", - "image_width": 12345, - "image_height": 12345, - "image_bytes": 12345 - }, { "type": "", "text": { @@ -1100,6 +1327,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -1172,6 +1400,15 @@ "offset": 12345, "border": 12345 }, + { + "type": "", + "image_url": "", + "alt_text": "", + "fallback": "", + "image_width": 12345, + "image_height": 12345, + "image_bytes": 12345 + }, { "type": "", "elements": [ @@ -1213,6 +1450,308 @@ } ], "block_id": "", + "call_id": "", + "api_decoration_available": false, + "call": { + "v1": { + "id": "", + "app_id": "", + "app_icon_urls": { + "image_32": "", + "image_36": "", + "image_48": "", + "image_64": "", + "image_72": "", + "image_96": "", + "image_128": "", + "image_192": "", + "image_512": "", + "image_1024": "", + "image_original": "" + }, + "date_start": 12345, + "active_participants": [ + { + "slack_id": "", + "external_id": "", + "display_name": "", + "avatar_url": "" + } + ], + "all_participants": [ + { + "slack_id": "", + "external_id": "", + "display_name": "", + "avatar_url": "" + } + ], + "display_id": "", + "join_url": "", + "desktop_app_join_url": "", + "name": "", + "created_by": "", + "date_end": 12345, + "channels": [ + "" + ], + "is_dm_call": false, + "was_rejected": false, + "was_missed": false, + "was_accepted": false, + "has_ended": false + }, + "media_backend_type": "" + }, + "external_id": "", + "source": "", + "file_id": "", + "file": { + "id": "", + "created": 123, + "timestamp": 123, + "name": "", + "title": "", + "subject": "", + "mimetype": "", + "filetype": "", + "pretty_type": "", + "user": "", + "user_team": "", + "mode": "", + "editable": false, + "non_owner_editable": false, + "editor": "", + "last_editor": "", + "updated": 123, + "file_access": "", + "alt_txt": "", + "subtype": "", + "transcription": { + "status": "", + "locale": "" + }, + "mp4": "", + "vtt": "", + "hls": "", + "hls_embed": "", + "duration_ms": 123, + "thumb_video_w": 123, + "thumb_video_h": 123, + "original_attachment_count": 123, + "is_external": false, + "external_type": "", + "external_id": "", + "external_url": "", + "username": "", + "size": 123, + "url_private": "", + "url_private_download": "", + "app_id": "", + "app_name": "", + "thumb_64": "", + "thumb_64_gif": "", + "thumb_64_w": "", + "thumb_64_h": "", + "thumb_80": "", + "thumb_80_gif": "", + "thumb_80_w": "", + "thumb_80_h": "", + "thumb_160": "", + "thumb_160_gif": "", + "thumb_160_w": "", + "thumb_160_h": "", + "thumb_360": "", + "thumb_360_gif": "", + "thumb_360_w": "", + "thumb_360_h": "", + "thumb_480": "", + "thumb_480_gif": "", + "thumb_480_w": "", + "thumb_480_h": "", + "thumb_720": "", + "thumb_720_gif": "", + "thumb_720_w": "", + "thumb_720_h": "", + "thumb_800": "", + "thumb_800_gif": "", + "thumb_800_w": "", + "thumb_800_h": "", + "thumb_960": "", + "thumb_960_gif": "", + "thumb_960_w": "", + "thumb_960_h": "", + "thumb_1024": "", + "thumb_1024_gif": "", + "thumb_1024_w": "", + "thumb_1024_h": "", + "thumb_video": "", + "thumb_gif": "", + "thumb_pdf": "", + "thumb_pdf_w": "", + "thumb_pdf_h": "", + "thumb_tiny": "", + "converted_pdf": "", + "image_exif_rotation": 123, + "original_w": "", + "original_h": "", + "deanimate": "", + "deanimate_gif": "", + "pjpeg": "", + "permalink": "", + "permalink_public": "", + "edit_link": "", + "has_rich_preview": false, + "media_display_type": "", + "preview_is_truncated": false, + "preview": "", + "preview_highlight": "", + "plain_text": "", + "preview_plain_text": "", + "has_more": false, + "sent_to_self": false, + "lines": 123, + "lines_more": 123, + "is_public": false, + "public_url_shared": false, + "display_as_bot": false, + "channels": [ + "" + ], + "groups": [ + "" + ], + "ims": [ + "" + ], + "shares": { + "public": { + "C03E94MKU": [ + { + "share_user_id": "", + "reply_users": [ + "" + ], + "reply_users_count": 123, + "reply_count": 123, + "ts": "", + "thread_ts": "", + "latest_reply": "", + "channel_name": "", + "team_id": "" + } + ], + "C03E94MKU_": [ + { + "share_user_id": "", + "reply_users": [ + "" + ], + "reply_users_count": 123, + "reply_count": 123, + "ts": "", + "thread_ts": "", + "latest_reply": "", + "channel_name": "", + "team_id": "" + } + ] + }, + "private": { + "C03E94MKU": [ + { + "share_user_id": "", + "reply_users": [ + "" + ], + "reply_users_count": 123, + "reply_count": 123, + "ts": "", + "thread_ts": "", + "latest_reply": "", + "channel_name": "", + "team_id": "" + } + ], + "C03E94MKU_": [ + { + "share_user_id": "", + "reply_users": [ + "" + ], + "reply_users_count": 123, + "reply_count": 123, + "ts": "", + "thread_ts": "", + "latest_reply": "", + "channel_name": "", + "team_id": "" + } + ] + } + }, + "to": [ + { + "address": "", + "name": "", + "original": "" + } + ], + "from": [ + { + "address": "", + "name": "", + "original": "" + } + ], + "cc": [ + { + "address": "", + "name": "", + "original": "" + } + ], + "channel_actions_ts": "", + "channel_actions_count": 123, + "headers": { + "date": "", + "in_reply_to": "", + "reply_to": "", + "message_id": "" + }, + "simplified_html": "", + "bot_id": "", + "initial_comment": { + "id": "", + "created": 123, + "timestamp": 123, + "user": "", + "comment": "", + "channel": "", + "is_intro": false + }, + "num_stars": 123, + "is_starred": false, + "pinned_to": [ + "" + ], + "reactions": [ + { + "name": "", + "count": 123, + "users": [ + "" + ], + "url": "" + } + ], + "comments_count": 123 + }, + "text": { + "type": "", + "text": "", + "emoji": false + }, "fallback": "", "image_url": "", "image_width": 12345, @@ -1244,11 +1783,6 @@ "button_label": "", "bot_user_id": "", "url": "", - "text": { - "type": "", - "text": "", - "emoji": false - }, "fields": [ { "type": "", @@ -1259,7 +1793,39 @@ ], "accessory": { "type": "", + "text": { + "type": "", + "text": "", + "emoji": false + }, "action_id": "", + "url": "", + "value": "", + "style": "", + "confirm": { + "title": { + "type": "", + "text": "", + "emoji": false + }, + "text": { + "type": "", + "text": "", + "emoji": false + }, + "confirm": { + "type": "", + "text": "", + "emoji": false + }, + "deny": { + "type": "", + "text": "", + "emoji": false + }, + "style": "" + }, + "accessibility_label": "", "options": [ { "text": { @@ -1292,30 +1858,21 @@ "url": "" } ], - "confirm": { - "title": { - "type": "", - "text": "", - "emoji": false - }, + "focus_on_load": false, + "initial_option": { "text": { "type": "", "text": "", "emoji": false }, - "confirm": { - "type": "", - "text": "", - "emoji": false - }, - "deny": { + "value": "", + "description": { "type": "", "text": "", "emoji": false }, - "style": "" + "url": "" }, - "focus_on_load": false, "placeholder": { "type": "", "text": "", @@ -1323,6 +1880,10 @@ }, "initial_channel": "", "response_url_enabled": false, + "initial_channels": [ + "" + ], + "max_selected_items": 12345, "initial_conversation": "", "default_to_current_conversation": false, "filter": { @@ -1332,21 +1893,13 @@ "exclude_external_shared_channels": false, "exclude_bot_users": false }, + "initial_conversations": [ + "" + ], "initial_date": "", - "initial_option": { - "text": { - "type": "", - "text": "", - "emoji": false - }, - "value": "", - "description": { - "type": "", - "text": "", - "emoji": false - }, - "url": "" - }, + "initial_time": "", + "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -1380,85 +1933,10 @@ } ], "initial_user": "", - "text": { - "type": "", - "text": "", - "emoji": false - }, - "url": "", - "value": "", - "style": "", - "accessibility_label": "", - "initial_channels": [ - "" - ], - "max_selected_items": 12345, - "initial_conversations": [ - "" - ], - "initial_time": "", - "timezone": "", "initial_users": [ "" ] }, - "call_id": "", - "api_decoration_available": false, - "call": { - "v1": { - "id": "", - "app_id": "", - "app_icon_urls": { - "image_32": "", - "image_36": "", - "image_48": "", - "image_64": "", - "image_72": "", - "image_96": "", - "image_128": "", - "image_192": "", - "image_512": "", - "image_1024": "", - "image_original": "" - }, - "date_start": 12345, - "active_participants": [ - { - "slack_id": "", - "external_id": "", - "display_name": "", - "avatar_url": "" - } - ], - "all_participants": [ - { - "slack_id": "", - "external_id": "", - "display_name": "", - "avatar_url": "" - } - ], - "display_id": "", - "join_url": "", - "desktop_app_join_url": "", - "name": "", - "created_by": "", - "date_end": 12345, - "channels": [ - "" - ], - "is_dm_call": false, - "was_rejected": false, - "was_missed": false, - "was_accepted": false, - "has_ended": false - }, - "media_backend_type": "" - }, - "external_id": "", - "source": "", - "file_id": "", - "file": {}, "label": { "type": "", "text": "", @@ -1572,6 +2050,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", diff --git a/json-logs/samples/api/chat.scheduleMessage.json b/json-logs/samples/api/chat.scheduleMessage.json index d2f390779..f35bb9b89 100644 --- a/json-logs/samples/api/chat.scheduleMessage.json +++ b/json-logs/samples/api/chat.scheduleMessage.json @@ -134,6 +134,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -705,6 +706,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -855,6 +857,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", diff --git a/json-logs/samples/api/chat.update.json b/json-logs/samples/api/chat.update.json index 5ed7faaa9..f6a9226ba 100644 --- a/json-logs/samples/api/chat.update.json +++ b/json-logs/samples/api/chat.update.json @@ -134,6 +134,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -705,6 +706,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -855,6 +857,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", diff --git a/json-logs/samples/api/conversations.history.json b/json-logs/samples/api/conversations.history.json index 238848ff2..9edf334ff 100644 --- a/json-logs/samples/api/conversations.history.json +++ b/json-logs/samples/api/conversations.history.json @@ -424,6 +424,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -995,6 +996,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -1145,6 +1147,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -1400,6 +1403,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -1971,6 +1975,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -2121,6 +2126,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", diff --git a/json-logs/samples/api/conversations.open.json b/json-logs/samples/api/conversations.open.json index 3eb7225aa..17952cb26 100644 --- a/json-logs/samples/api/conversations.open.json +++ b/json-logs/samples/api/conversations.open.json @@ -127,6 +127,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -377,6 +378,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "image_url": "", "alt_text": "", "fallback": "", @@ -862,6 +864,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", diff --git a/json-logs/samples/api/conversations.replies.json b/json-logs/samples/api/conversations.replies.json index 33566598c..fae3b38cd 100644 --- a/json-logs/samples/api/conversations.replies.json +++ b/json-logs/samples/api/conversations.replies.json @@ -142,6 +142,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -713,6 +714,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -863,6 +865,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -1118,6 +1121,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -1689,6 +1693,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -1839,6 +1844,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", diff --git a/json-logs/samples/api/files.list.json b/json-logs/samples/api/files.list.json index ad84ba156..a2be9ab44 100644 --- a/json-logs/samples/api/files.list.json +++ b/json-logs/samples/api/files.list.json @@ -2,82 +2,25 @@ "ok": false, "files": [ { - "id": "F00000000", + "id": "", "created": 12345, "timestamp": 12345, "name": "", "title": "", + "subject": "", "mimetype": "", "filetype": "", "pretty_type": "", - "user": "U00000000", - "user_team": "T00000000", - "editable": false, - "size": 12345, + "user": "", + "user_team": "", "mode": "", - "is_external": false, - "external_type": "", - "is_public": false, - "public_url_shared": false, - "display_as_bot": false, - "username": "", - "url_private": "https://www.example.com/", - "url_private_download": "https://www.example.com/", - "permalink": "https://www.example.com/", - "permalink_public": "https://www.example.com/", - "edit_link": "https://www.example.com/", - "preview": "", - "preview_highlight": "", - "lines": 12345, - "lines_more": 12345, - "preview_is_truncated": false, - "channels": [ - "C00000000", - "" - ], - "groups": [ - "" - ], - "ims": [ - "" - ], - "comments_count": 12345, - "media_display_type": "", - "thumb_64": "https://www.example.com/", - "thumb_80": "https://www.example.com/", - "thumb_360": "https://www.example.com/", - "thumb_360_w": 12345, - "thumb_360_h": 12345, - "thumb_160": "https://www.example.com/", - "original_w": 12345, - "original_h": 12345, - "thumb_tiny": "", - "alt_txt": "", - "thumb_480": "https://www.example.com/", - "thumb_480_w": 12345, - "thumb_480_h": 12345, - "thumb_360_gif": "https://www.example.com/", - "thumb_480_gif": "https://www.example.com/", - "deanimate": "https://www.example.com/", - "deanimate_gif": "https://www.example.com/", - "thumb_800": "https://www.example.com/", - "thumb_800_w": 12345, - "thumb_800_h": 12345, - "thumb_720": "https://www.example.com/", - "thumb_720_w": 12345, - "thumb_720_h": 12345, - "thumb_960": "https://www.example.com/", - "thumb_960_w": 12345, - "thumb_960_h": 12345, - "thumb_1024": "https://www.example.com/", - "thumb_1024_w": 12345, - "thumb_1024_h": 12345, - "subject": "", + "editable": false, "non_owner_editable": false, "editor": "", "last_editor": "", "updated": 12345, "file_access": "", + "alt_txt": "", "subtype": "", "transcription": { "status": "", @@ -91,36 +34,91 @@ "thumb_video_w": 12345, "thumb_video_h": 12345, "original_attachment_count": 12345, + "is_external": false, + "external_type": "", "external_id": "", "external_url": "", + "username": "", + "size": 12345, + "url_private": "", + "url_private_download": "", "app_id": "", "app_name": "", + "thumb_64": "", "thumb_64_gif": "", "thumb_64_w": "", "thumb_64_h": "", + "thumb_80": "", "thumb_80_gif": "", "thumb_80_w": "", "thumb_80_h": "", + "thumb_160": "", "thumb_160_gif": "", "thumb_160_w": "", "thumb_160_h": "", + "thumb_360": "", + "thumb_360_gif": "", + "thumb_360_w": "", + "thumb_360_h": "", + "thumb_480": "", + "thumb_480_gif": "", + "thumb_480_w": "", + "thumb_480_h": "", + "thumb_720": "", "thumb_720_gif": "", + "thumb_720_w": "", + "thumb_720_h": "", + "thumb_800": "", "thumb_800_gif": "", + "thumb_800_w": "", + "thumb_800_h": "", + "thumb_960": "", "thumb_960_gif": "", + "thumb_960_w": "", + "thumb_960_h": "", + "thumb_1024": "", "thumb_1024_gif": "", + "thumb_1024_w": "", + "thumb_1024_h": "", "thumb_video": "", "thumb_gif": "", "thumb_pdf": "", "thumb_pdf_w": "", "thumb_pdf_h": "", + "thumb_tiny": "", "converted_pdf": "", "image_exif_rotation": 12345, + "original_w": "", + "original_h": "", + "deanimate": "", + "deanimate_gif": "", "pjpeg": "", + "permalink": "", + "permalink_public": "", + "edit_link": "", "has_rich_preview": false, + "media_display_type": "", + "preview_is_truncated": false, + "preview": "", + "preview_highlight": "", "plain_text": "", "preview_plain_text": "", "has_more": false, "sent_to_self": false, + "lines": 12345, + "lines_more": 12345, + "is_public": false, + "public_url_shared": false, + "display_as_bot": false, + "channels": [ + "" + ], + "groups": [ + "" + ], + "ims": [ + "" + ], "shares": { "public": { "C00000000": [ @@ -241,7 +239,8 @@ ], "url": "" } - ] + ], + "comments_count": 12345 } ], "paging": { diff --git a/json-logs/samples/api/files.remote.list.json b/json-logs/samples/api/files.remote.list.json index 03c34842f..4d5383218 100644 --- a/json-logs/samples/api/files.remote.list.json +++ b/json-logs/samples/api/files.remote.list.json @@ -2,64 +2,19 @@ "ok": false, "files": [ { - "id": "F00000000", + "id": "", "created": 12345, "timestamp": 12345, "name": "", "title": "", + "subject": "", "mimetype": "", "filetype": "", "pretty_type": "", - "user": "U00000000", - "user_team": "T00000000", - "editable": false, - "size": 12345, + "user": "", + "user_team": "", "mode": "", - "is_external": false, - "external_type": "", - "is_public": false, - "public_url_shared": false, - "display_as_bot": false, - "username": "", - "url_private": "https://www.example.com/", - "media_display_type": "", - "thumb_64": "https://www.example.com/", - "thumb_80": "https://www.example.com/", - "thumb_360": "https://www.example.com/", - "thumb_360_w": 12345, - "thumb_360_h": 12345, - "thumb_480": "https://www.example.com/", - "thumb_480_w": 12345, - "thumb_480_h": 12345, - "thumb_160": "https://www.example.com/", - "thumb_720": "https://www.example.com/", - "thumb_720_w": 12345, - "thumb_720_h": 12345, - "thumb_800": "https://www.example.com/", - "thumb_800_w": 12345, - "thumb_800_h": 12345, - "thumb_960": "https://www.example.com/", - "thumb_960_w": 12345, - "thumb_960_h": 12345, - "thumb_1024": "https://www.example.com/", - "thumb_1024_w": 12345, - "thumb_1024_h": 12345, - "image_exif_rotation": 12345, - "original_w": 12345, - "original_h": 12345, - "thumb_tiny": "", - "permalink": "https://www.example.com/", - "channels": [ - "" - ], - "groups": [ - "" - ], - "ims": [ - "" - ], - "comments_count": 12345, - "subject": "", + "editable": false, "non_owner_editable": false, "editor": "", "last_editor": "", @@ -79,38 +34,70 @@ "thumb_video_w": 12345, "thumb_video_h": 12345, "original_attachment_count": 12345, + "is_external": false, + "external_type": "", "external_id": "", "external_url": "", + "username": "", + "size": 12345, + "url_private": "", "url_private_download": "", "app_id": "", "app_name": "", + "thumb_64": "", "thumb_64_gif": "", "thumb_64_w": "", "thumb_64_h": "", + "thumb_80": "", "thumb_80_gif": "", "thumb_80_w": "", "thumb_80_h": "", + "thumb_160": "", "thumb_160_gif": "", "thumb_160_w": "", "thumb_160_h": "", + "thumb_360": "", "thumb_360_gif": "", + "thumb_360_w": "", + "thumb_360_h": "", + "thumb_480": "", "thumb_480_gif": "", + "thumb_480_w": "", + "thumb_480_h": "", + "thumb_720": "", "thumb_720_gif": "", + "thumb_720_w": "", + "thumb_720_h": "", + "thumb_800": "", "thumb_800_gif": "", + "thumb_800_w": "", + "thumb_800_h": "", + "thumb_960": "", "thumb_960_gif": "", + "thumb_960_w": "", + "thumb_960_h": "", + "thumb_1024": "", "thumb_1024_gif": "", + "thumb_1024_w": "", + "thumb_1024_h": "", "thumb_video": "", "thumb_gif": "", "thumb_pdf": "", "thumb_pdf_w": "", "thumb_pdf_h": "", + "thumb_tiny": "", "converted_pdf": "", + "image_exif_rotation": 12345, + "original_w": "", + "original_h": "", "deanimate": "", "deanimate_gif": "", "pjpeg": "", + "permalink": "", "permalink_public": "", "edit_link": "", "has_rich_preview": false, + "media_display_type": "", "preview_is_truncated": false, "preview": "", "preview_highlight": "", @@ -120,6 +107,18 @@ "sent_to_self": false, "lines": 12345, "lines_more": 12345, + "is_public": false, + "public_url_shared": false, + "display_as_bot": false, + "channels": [ + "" + ], + "groups": [ + "" + ], + "ims": [ + "" + ], "shares": { "public": { "C00000000": [ @@ -240,7 +239,8 @@ ], "url": "" } - ] + ], + "comments_count": 12345 } ], "response_metadata": { diff --git a/json-logs/samples/api/reactions.get.json b/json-logs/samples/api/reactions.get.json index 2b2f9185e..a54d86fb6 100644 --- a/json-logs/samples/api/reactions.get.json +++ b/json-logs/samples/api/reactions.get.json @@ -182,6 +182,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -330,6 +331,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -900,6 +902,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -1050,6 +1053,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", diff --git a/json-logs/samples/api/reactions.list.json b/json-logs/samples/api/reactions.list.json index 903abede1..db243a8fe 100644 --- a/json-logs/samples/api/reactions.list.json +++ b/json-logs/samples/api/reactions.list.json @@ -378,6 +378,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -949,6 +950,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -1099,6 +1101,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", diff --git a/json-logs/samples/api/rtm.start.json b/json-logs/samples/api/rtm.start.json index 131e0f344..ac9cb05b5 100644 --- a/json-logs/samples/api/rtm.start.json +++ b/json-logs/samples/api/rtm.start.json @@ -1189,6 +1189,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -1760,6 +1761,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -1910,6 +1912,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -2345,6 +2348,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -2916,6 +2920,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -3066,6 +3071,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -3748,6 +3754,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -4319,6 +4326,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -4469,6 +4477,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -4904,6 +4913,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -5475,6 +5485,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -5625,6 +5636,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", diff --git a/json-logs/samples/api/search.all.json b/json-logs/samples/api/search.all.json index fa05e3449..5f4a3b38e 100644 --- a/json-logs/samples/api/search.all.json +++ b/json-logs/samples/api/search.all.json @@ -264,6 +264,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -835,6 +836,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -985,6 +987,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -1420,6 +1423,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -1991,6 +1995,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -2141,6 +2146,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -2405,6 +2411,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -2976,6 +2983,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -3126,6 +3134,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -3561,6 +3570,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -4132,6 +4142,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -4282,6 +4293,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -4441,6 +4453,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -5012,6 +5025,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -5162,6 +5176,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -5417,6 +5432,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -5988,6 +6004,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -6138,6 +6155,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", diff --git a/json-logs/samples/api/search.messages.json b/json-logs/samples/api/search.messages.json index 09c60bac6..dcdfc43b1 100644 --- a/json-logs/samples/api/search.messages.json +++ b/json-logs/samples/api/search.messages.json @@ -263,6 +263,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -834,6 +835,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -984,6 +986,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -1419,6 +1422,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -1990,6 +1994,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -2140,6 +2145,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -2404,6 +2410,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -2975,6 +2982,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -3125,6 +3133,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -3560,6 +3569,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -4131,6 +4141,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -4281,6 +4292,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -4440,6 +4452,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -5011,6 +5024,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -5161,6 +5175,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -5416,6 +5431,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -5987,6 +6003,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -6137,6 +6154,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", diff --git a/json-logs/samples/api/stars.list.json b/json-logs/samples/api/stars.list.json index c2be303ac..f4ef5aa24 100644 --- a/json-logs/samples/api/stars.list.json +++ b/json-logs/samples/api/stars.list.json @@ -221,6 +221,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -792,6 +793,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -942,6 +944,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -1381,6 +1384,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -1952,6 +1956,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", @@ -2102,6 +2107,7 @@ "initial_date": "", "initial_time": "", "timezone": "", + "initial_date_time": 12345, "min_query_length": 12345, "image_url": "", "alt_text": "", diff --git a/json-logs/samples/api/users.info.json b/json-logs/samples/api/users.info.json index d3f90f39b..ad316ace9 100644 --- a/json-logs/samples/api/users.info.json +++ b/json-logs/samples/api/users.info.json @@ -45,7 +45,8 @@ { "emoji_name": "", "display_alias": "", - "display_url": "" + "display_url": "", + "unicode": "" } ], "huddle_state": "", diff --git a/json-logs/samples/api/users.list.json b/json-logs/samples/api/users.list.json index 29ba6140f..bc5b04a47 100644 --- a/json-logs/samples/api/users.list.json +++ b/json-logs/samples/api/users.list.json @@ -25,7 +25,8 @@ { "emoji_name": "", "display_alias": "", - "display_url": "" + "display_url": "", + "unicode": "" } ], "status_expiration": 12345, diff --git a/slack-api-model/src/main/java/com/slack/api/model/User.java b/slack-api-model/src/main/java/com/slack/api/model/User.java index 37e02e122..3770ebea7 100644 --- a/slack-api-model/src/main/java/com/slack/api/model/User.java +++ b/slack-api-model/src/main/java/com/slack/api/model/User.java @@ -119,6 +119,7 @@ public static class StatusEmojiDisplayInfo { private String emojiName; private String displayAlias; private String displayUrl; + private String unicode; } private Map fields;