slack_resources 0.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (316) hide show
  1. checksums.yaml +7 -0
  2. data/.circleci/config.yml +87 -0
  3. data/.circleci/gem_deployment.rb +53 -0
  4. data/.gitignore +13 -0
  5. data/.rubocop.yml +104 -0
  6. data/Gemfile +5 -0
  7. data/Gemfile.lock +93 -0
  8. data/README.md +29 -0
  9. data/Rakefile +6 -0
  10. data/lib/generate_event_api_resources.rb +8 -0
  11. data/lib/slack_resources.rb +11 -0
  12. data/lib/slack_resources/generator/event_api/examples_preparation.rb +71 -0
  13. data/lib/slack_resources/generator/event_api/fetch.rb +111 -0
  14. data/lib/slack_resources/generator/event_api/strong_hash.rb +25 -0
  15. data/lib/slack_resources/generator/event_api/to_schema.rb +200 -0
  16. data/lib/slack_resources/generator/event_api/type_detection.rb +272 -0
  17. data/lib/slack_resources/generator/event_api/write.rb +123 -0
  18. data/lib/slack_resources/raw_data/event_api/_added_examples/emoji_changed.add.json +7 -0
  19. data/lib/slack_resources/raw_data/event_api/_added_examples/emoji_changed.remove.json +6 -0
  20. data/lib/slack_resources/raw_data/event_api/_added_examples/event_callback.json +13 -0
  21. data/lib/slack_resources/raw_data/event_api/examples/app_mention.json +8 -0
  22. data/lib/slack_resources/raw_data/event_api/examples/app_rate_limited.json +7 -0
  23. data/lib/slack_resources/raw_data/event_api/examples/app_uninstalled.json +11 -0
  24. data/lib/slack_resources/raw_data/event_api/examples/channel_archive.json +5 -0
  25. data/lib/slack_resources/raw_data/event_api/examples/channel_created.json +9 -0
  26. data/lib/slack_resources/raw_data/event_api/examples/channel_deleted.json +4 -0
  27. data/lib/slack_resources/raw_data/event_api/examples/channel_history_changed.json +6 -0
  28. data/lib/slack_resources/raw_data/event_api/examples/channel_left.json +4 -0
  29. data/lib/slack_resources/raw_data/event_api/examples/channel_rename.json +8 -0
  30. data/lib/slack_resources/raw_data/event_api/examples/channel_unarchive.json +5 -0
  31. data/lib/slack_resources/raw_data/event_api/examples/dnd_updated.json +11 -0
  32. data/lib/slack_resources/raw_data/event_api/examples/dnd_updated_user.json +9 -0
  33. data/lib/slack_resources/raw_data/event_api/examples/email_domain_changed.json +5 -0
  34. data/lib/slack_resources/raw_data/event_api/examples/emoji_changed.json +8 -0
  35. data/lib/slack_resources/raw_data/event_api/examples/file_change.json +7 -0
  36. data/lib/slack_resources/raw_data/event_api/examples/file_comment_added.json +9 -0
  37. data/lib/slack_resources/raw_data/event_api/examples/file_comment_deleted.json +8 -0
  38. data/lib/slack_resources/raw_data/event_api/examples/file_comment_edited.json +9 -0
  39. data/lib/slack_resources/raw_data/event_api/examples/file_created.json +7 -0
  40. data/lib/slack_resources/raw_data/event_api/examples/file_deleted.json +5 -0
  41. data/lib/slack_resources/raw_data/event_api/examples/file_public.json +7 -0
  42. data/lib/slack_resources/raw_data/event_api/examples/file_shared.json +7 -0
  43. data/lib/slack_resources/raw_data/event_api/examples/file_unshared.json +7 -0
  44. data/lib/slack_resources/raw_data/event_api/examples/grid_migration_finished.json +12 -0
  45. data/lib/slack_resources/raw_data/event_api/examples/grid_migration_started.json +12 -0
  46. data/lib/slack_resources/raw_data/event_api/examples/group_archive.json +4 -0
  47. data/lib/slack_resources/raw_data/event_api/examples/group_close.json +5 -0
  48. data/lib/slack_resources/raw_data/event_api/examples/group_deleted.json +4 -0
  49. data/lib/slack_resources/raw_data/event_api/examples/group_history_changed.json +6 -0
  50. data/lib/slack_resources/raw_data/event_api/examples/group_left.json +4 -0
  51. data/lib/slack_resources/raw_data/event_api/examples/group_open.json +5 -0
  52. data/lib/slack_resources/raw_data/event_api/examples/group_rename.json +8 -0
  53. data/lib/slack_resources/raw_data/event_api/examples/group_unarchive.json +4 -0
  54. data/lib/slack_resources/raw_data/event_api/examples/im_close.json +5 -0
  55. data/lib/slack_resources/raw_data/event_api/examples/im_created.json +6 -0
  56. data/lib/slack_resources/raw_data/event_api/examples/im_history_changed.json +6 -0
  57. data/lib/slack_resources/raw_data/event_api/examples/im_open.json +5 -0
  58. data/lib/slack_resources/raw_data/event_api/examples/link_shared.json +33 -0
  59. data/lib/slack_resources/raw_data/event_api/examples/member_joined_channel.json +8 -0
  60. data/lib/slack_resources/raw_data/event_api/examples/member_left_channel.json +7 -0
  61. data/lib/slack_resources/raw_data/event_api/examples/message.app_home.json +20 -0
  62. data/lib/slack_resources/raw_data/event_api/examples/message.channels.json +20 -0
  63. data/lib/slack_resources/raw_data/event_api/examples/message.groups.json +20 -0
  64. data/lib/slack_resources/raw_data/event_api/examples/message.im.json +20 -0
  65. data/lib/slack_resources/raw_data/event_api/examples/message.json +7 -0
  66. data/lib/slack_resources/raw_data/event_api/examples/message.mpim.json +20 -0
  67. data/lib/slack_resources/raw_data/event_api/examples/pin_added.json +8 -0
  68. data/lib/slack_resources/raw_data/event_api/examples/pin_removed.json +9 -0
  69. data/lib/slack_resources/raw_data/event_api/examples/reaction_added.json +12 -0
  70. data/lib/slack_resources/raw_data/event_api/examples/reaction_removed.json +12 -0
  71. data/lib/slack_resources/raw_data/event_api/examples/resources_added.json +31 -0
  72. data/lib/slack_resources/raw_data/event_api/examples/resources_removed.json +31 -0
  73. data/lib/slack_resources/raw_data/event_api/examples/scope_denied.json +20 -0
  74. data/lib/slack_resources/raw_data/event_api/examples/scope_granted.json +20 -0
  75. data/lib/slack_resources/raw_data/event_api/examples/star_added.json +7 -0
  76. data/lib/slack_resources/raw_data/event_api/examples/star_removed.json +7 -0
  77. data/lib/slack_resources/raw_data/event_api/examples/subteam_created.json +28 -0
  78. data/lib/slack_resources/raw_data/event_api/examples/subteam_members_changed.json +17 -0
  79. data/lib/slack_resources/raw_data/event_api/examples/subteam_self_added.json +4 -0
  80. data/lib/slack_resources/raw_data/event_api/examples/subteam_self_removed.json +4 -0
  81. data/lib/slack_resources/raw_data/event_api/examples/subteam_updated.json +34 -0
  82. data/lib/slack_resources/raw_data/event_api/examples/team_domain_change.json +5 -0
  83. data/lib/slack_resources/raw_data/event_api/examples/team_join.json +5 -0
  84. data/lib/slack_resources/raw_data/event_api/examples/team_rename.json +4 -0
  85. data/lib/slack_resources/raw_data/event_api/examples/tokens_revoked.json +19 -0
  86. data/lib/slack_resources/raw_data/event_api/examples/url_verification.json +5 -0
  87. data/lib/slack_resources/raw_data/event_api/examples/user_change.json +5 -0
  88. data/lib/slack_resources/raw_data/event_api/examples/user_resource_denied.json +20 -0
  89. data/lib/slack_resources/raw_data/event_api/examples/user_resource_granted.json +20 -0
  90. data/lib/slack_resources/raw_data/event_api/examples/user_resource_removed.json +16 -0
  91. data/lib/slack_resources/raw_data/event_api/meta.json +834 -0
  92. data/lib/slack_resources/raw_data/event_api/preset_schemas.json +33 -0
  93. data/lib/slack_resources/resources/event_api.rb +38 -0
  94. data/lib/slack_resources/resources/event_api/details/app_mention.json +85 -0
  95. data/lib/slack_resources/resources/event_api/details/app_rate_limited.json +80 -0
  96. data/lib/slack_resources/resources/event_api/details/app_uninstalled.json +36 -0
  97. data/lib/slack_resources/resources/event_api/details/channel_archive.json +59 -0
  98. data/lib/slack_resources/resources/event_api/details/channel_created.json +82 -0
  99. data/lib/slack_resources/resources/event_api/details/channel_deleted.json +48 -0
  100. data/lib/slack_resources/resources/event_api/details/channel_history_changed.json +66 -0
  101. data/lib/slack_resources/resources/event_api/details/channel_left.json +48 -0
  102. data/lib/slack_resources/resources/event_api/details/channel_rename.json +77 -0
  103. data/lib/slack_resources/resources/event_api/details/channel_unarchive.json +59 -0
  104. data/lib/slack_resources/resources/event_api/details/dnd_updated.json +86 -0
  105. data/lib/slack_resources/resources/event_api/details/dnd_updated_user.json +82 -0
  106. data/lib/slack_resources/resources/event_api/details/email_domain_changed.json +56 -0
  107. data/lib/slack_resources/resources/event_api/details/emoji_changed.add.json +78 -0
  108. data/lib/slack_resources/resources/event_api/details/emoji_changed.json +103 -0
  109. data/lib/slack_resources/resources/event_api/details/emoji_changed.remove.json +77 -0
  110. data/lib/slack_resources/resources/event_api/details/event_callback.json +126 -0
  111. data/lib/slack_resources/resources/event_api/details/file_change.json +69 -0
  112. data/lib/slack_resources/resources/event_api/details/file_comment_added.json +85 -0
  113. data/lib/slack_resources/resources/event_api/details/file_comment_deleted.json +80 -0
  114. data/lib/slack_resources/resources/event_api/details/file_comment_edited.json +85 -0
  115. data/lib/slack_resources/resources/event_api/details/file_created.json +69 -0
  116. data/lib/slack_resources/resources/event_api/details/file_deleted.json +59 -0
  117. data/lib/slack_resources/resources/event_api/details/file_public.json +69 -0
  118. data/lib/slack_resources/resources/event_api/details/file_shared.json +69 -0
  119. data/lib/slack_resources/resources/event_api/details/file_unshared.json +69 -0
  120. data/lib/slack_resources/resources/event_api/details/grid_migration_finished.json +47 -0
  121. data/lib/slack_resources/resources/event_api/details/grid_migration_started.json +47 -0
  122. data/lib/slack_resources/resources/event_api/details/group_archive.json +48 -0
  123. data/lib/slack_resources/resources/event_api/details/group_close.json +59 -0
  124. data/lib/slack_resources/resources/event_api/details/group_deleted.json +48 -0
  125. data/lib/slack_resources/resources/event_api/details/group_history_changed.json +64 -0
  126. data/lib/slack_resources/resources/event_api/details/group_left.json +48 -0
  127. data/lib/slack_resources/resources/event_api/details/group_open.json +59 -0
  128. data/lib/slack_resources/resources/event_api/details/group_rename.json +77 -0
  129. data/lib/slack_resources/resources/event_api/details/group_unarchive.json +48 -0
  130. data/lib/slack_resources/resources/event_api/details/im_close.json +59 -0
  131. data/lib/slack_resources/resources/event_api/details/im_created.json +73 -0
  132. data/lib/slack_resources/resources/event_api/details/im_history_changed.json +64 -0
  133. data/lib/slack_resources/resources/event_api/details/im_open.json +59 -0
  134. data/lib/slack_resources/resources/event_api/details/link_shared.json +129 -0
  135. data/lib/slack_resources/resources/event_api/details/member_joined_channel.json +87 -0
  136. data/lib/slack_resources/resources/event_api/details/member_left_channel.json +79 -0
  137. data/lib/slack_resources/resources/event_api/details/message.app_home.json +93 -0
  138. data/lib/slack_resources/resources/event_api/details/message.channels.json +93 -0
  139. data/lib/slack_resources/resources/event_api/details/message.groups.json +93 -0
  140. data/lib/slack_resources/resources/event_api/details/message.im.json +93 -0
  141. data/lib/slack_resources/resources/event_api/details/message.json +129 -0
  142. data/lib/slack_resources/resources/event_api/details/message.mpim.json +93 -0
  143. data/lib/slack_resources/resources/event_api/details/pin_added.json +86 -0
  144. data/lib/slack_resources/resources/event_api/details/pin_removed.json +94 -0
  145. data/lib/slack_resources/resources/event_api/details/reaction_added.json +115 -0
  146. data/lib/slack_resources/resources/event_api/details/reaction_removed.json +115 -0
  147. data/lib/slack_resources/resources/event_api/details/resources_added.json +152 -0
  148. data/lib/slack_resources/resources/event_api/details/resources_removed.json +152 -0
  149. data/lib/slack_resources/resources/event_api/details/scope_denied.json +91 -0
  150. data/lib/slack_resources/resources/event_api/details/scope_granted.json +91 -0
  151. data/lib/slack_resources/resources/event_api/details/star_added.json +75 -0
  152. data/lib/slack_resources/resources/event_api/details/star_removed.json +75 -0
  153. data/lib/slack_resources/resources/event_api/details/subteam_created.json +198 -0
  154. data/lib/slack_resources/resources/event_api/details/subteam_members_changed.json +140 -0
  155. data/lib/slack_resources/resources/event_api/details/subteam_self_added.json +48 -0
  156. data/lib/slack_resources/resources/event_api/details/subteam_self_removed.json +48 -0
  157. data/lib/slack_resources/resources/event_api/details/subteam_updated.json +210 -0
  158. data/lib/slack_resources/resources/event_api/details/team_domain_change.json +53 -0
  159. data/lib/slack_resources/resources/event_api/details/team_join.json +53 -0
  160. data/lib/slack_resources/resources/event_api/details/team_rename.json +48 -0
  161. data/lib/slack_resources/resources/event_api/details/tokens_revoked.json +76 -0
  162. data/lib/slack_resources/resources/event_api/details/url_verification.json +52 -0
  163. data/lib/slack_resources/resources/event_api/details/user_change.json +53 -0
  164. data/lib/slack_resources/resources/event_api/details/user_resource_denied.json +100 -0
  165. data/lib/slack_resources/resources/event_api/details/user_resource_granted.json +100 -0
  166. data/lib/slack_resources/resources/event_api/details/user_resource_removed.json +58 -0
  167. data/lib/slack_resources/resources/event_api/examples/app_mention.json +8 -0
  168. data/lib/slack_resources/resources/event_api/examples/app_rate_limited.json +7 -0
  169. data/lib/slack_resources/resources/event_api/examples/app_uninstalled.json +3 -0
  170. data/lib/slack_resources/resources/event_api/examples/channel_archive.json +5 -0
  171. data/lib/slack_resources/resources/event_api/examples/channel_created.json +9 -0
  172. data/lib/slack_resources/resources/event_api/examples/channel_deleted.json +4 -0
  173. data/lib/slack_resources/resources/event_api/examples/channel_history_changed.json +6 -0
  174. data/lib/slack_resources/resources/event_api/examples/channel_left.json +4 -0
  175. data/lib/slack_resources/resources/event_api/examples/channel_rename.json +8 -0
  176. data/lib/slack_resources/resources/event_api/examples/channel_unarchive.json +5 -0
  177. data/lib/slack_resources/resources/event_api/examples/dnd_updated.json +11 -0
  178. data/lib/slack_resources/resources/event_api/examples/dnd_updated_user.json +9 -0
  179. data/lib/slack_resources/resources/event_api/examples/email_domain_changed.json +5 -0
  180. data/lib/slack_resources/resources/event_api/examples/emoji_changed.add.json +7 -0
  181. data/lib/slack_resources/resources/event_api/examples/emoji_changed.json +7 -0
  182. data/lib/slack_resources/resources/event_api/examples/emoji_changed.remove.json +8 -0
  183. data/lib/slack_resources/resources/event_api/examples/event_callback.json +14 -0
  184. data/lib/slack_resources/resources/event_api/examples/file_change.json +7 -0
  185. data/lib/slack_resources/resources/event_api/examples/file_comment_added.json +9 -0
  186. data/lib/slack_resources/resources/event_api/examples/file_comment_deleted.json +8 -0
  187. data/lib/slack_resources/resources/event_api/examples/file_comment_edited.json +9 -0
  188. data/lib/slack_resources/resources/event_api/examples/file_created.json +7 -0
  189. data/lib/slack_resources/resources/event_api/examples/file_deleted.json +5 -0
  190. data/lib/slack_resources/resources/event_api/examples/file_public.json +7 -0
  191. data/lib/slack_resources/resources/event_api/examples/file_shared.json +7 -0
  192. data/lib/slack_resources/resources/event_api/examples/file_unshared.json +7 -0
  193. data/lib/slack_resources/resources/event_api/examples/grid_migration_finished.json +4 -0
  194. data/lib/slack_resources/resources/event_api/examples/grid_migration_started.json +4 -0
  195. data/lib/slack_resources/resources/event_api/examples/group_archive.json +4 -0
  196. data/lib/slack_resources/resources/event_api/examples/group_close.json +5 -0
  197. data/lib/slack_resources/resources/event_api/examples/group_deleted.json +4 -0
  198. data/lib/slack_resources/resources/event_api/examples/group_history_changed.json +6 -0
  199. data/lib/slack_resources/resources/event_api/examples/group_left.json +4 -0
  200. data/lib/slack_resources/resources/event_api/examples/group_open.json +5 -0
  201. data/lib/slack_resources/resources/event_api/examples/group_rename.json +8 -0
  202. data/lib/slack_resources/resources/event_api/examples/group_unarchive.json +4 -0
  203. data/lib/slack_resources/resources/event_api/examples/im_close.json +5 -0
  204. data/lib/slack_resources/resources/event_api/examples/im_created.json +6 -0
  205. data/lib/slack_resources/resources/event_api/examples/im_history_changed.json +6 -0
  206. data/lib/slack_resources/resources/event_api/examples/im_open.json +5 -0
  207. data/lib/slack_resources/resources/event_api/examples/link_shared.json +21 -0
  208. data/lib/slack_resources/resources/event_api/examples/member_joined_channel.json +8 -0
  209. data/lib/slack_resources/resources/event_api/examples/member_left_channel.json +7 -0
  210. data/lib/slack_resources/resources/event_api/examples/message.app_home.json +9 -0
  211. data/lib/slack_resources/resources/event_api/examples/message.channels.json +9 -0
  212. data/lib/slack_resources/resources/event_api/examples/message.groups.json +9 -0
  213. data/lib/slack_resources/resources/event_api/examples/message.im.json +9 -0
  214. data/lib/slack_resources/resources/event_api/examples/message.json +9 -0
  215. data/lib/slack_resources/resources/event_api/examples/message.mpim.json +9 -0
  216. data/lib/slack_resources/resources/event_api/examples/pin_added.json +8 -0
  217. data/lib/slack_resources/resources/event_api/examples/pin_removed.json +9 -0
  218. data/lib/slack_resources/resources/event_api/examples/reaction_added.json +12 -0
  219. data/lib/slack_resources/resources/event_api/examples/reaction_removed.json +12 -0
  220. data/lib/slack_resources/resources/event_api/examples/resources_added.json +20 -0
  221. data/lib/slack_resources/resources/event_api/examples/resources_removed.json +20 -0
  222. data/lib/slack_resources/resources/event_api/examples/scope_denied.json +9 -0
  223. data/lib/slack_resources/resources/event_api/examples/scope_granted.json +9 -0
  224. data/lib/slack_resources/resources/event_api/examples/star_added.json +7 -0
  225. data/lib/slack_resources/resources/event_api/examples/star_removed.json +7 -0
  226. data/lib/slack_resources/resources/event_api/examples/subteam_created.json +28 -0
  227. data/lib/slack_resources/resources/event_api/examples/subteam_members_changed.json +17 -0
  228. data/lib/slack_resources/resources/event_api/examples/subteam_self_added.json +4 -0
  229. data/lib/slack_resources/resources/event_api/examples/subteam_self_removed.json +4 -0
  230. data/lib/slack_resources/resources/event_api/examples/subteam_updated.json +34 -0
  231. data/lib/slack_resources/resources/event_api/examples/team_domain_change.json +5 -0
  232. data/lib/slack_resources/resources/event_api/examples/team_join.json +5 -0
  233. data/lib/slack_resources/resources/event_api/examples/team_rename.json +4 -0
  234. data/lib/slack_resources/resources/event_api/examples/tokens_revoked.json +11 -0
  235. data/lib/slack_resources/resources/event_api/examples/url_verification.json +5 -0
  236. data/lib/slack_resources/resources/event_api/examples/user_change.json +5 -0
  237. data/lib/slack_resources/resources/event_api/examples/user_resource_denied.json +9 -0
  238. data/lib/slack_resources/resources/event_api/examples/user_resource_granted.json +9 -0
  239. data/lib/slack_resources/resources/event_api/examples/user_resource_removed.json +5 -0
  240. data/lib/slack_resources/resources/event_api/schema.json +2261 -0
  241. data/lib/slack_resources/resources/event_api/schemas/app_mention.json +46 -0
  242. data/lib/slack_resources/resources/event_api/schemas/app_rate_limited.json +45 -0
  243. data/lib/slack_resources/resources/event_api/schemas/app_uninstalled.json +17 -0
  244. data/lib/slack_resources/resources/event_api/schemas/channel_archive.json +31 -0
  245. data/lib/slack_resources/resources/event_api/schemas/channel_created.json +53 -0
  246. data/lib/slack_resources/resources/event_api/schemas/channel_deleted.json +24 -0
  247. data/lib/slack_resources/resources/event_api/schemas/channel_history_changed.json +32 -0
  248. data/lib/slack_resources/resources/event_api/schemas/channel_left.json +24 -0
  249. data/lib/slack_resources/resources/event_api/schemas/channel_rename.json +49 -0
  250. data/lib/slack_resources/resources/event_api/schemas/channel_unarchive.json +31 -0
  251. data/lib/slack_resources/resources/event_api/schemas/dnd_updated.json +52 -0
  252. data/lib/slack_resources/resources/event_api/schemas/dnd_updated_user.json +50 -0
  253. data/lib/slack_resources/resources/event_api/schemas/email_domain_changed.json +28 -0
  254. data/lib/slack_resources/resources/event_api/schemas/emoji_changed.add.json +42 -0
  255. data/lib/slack_resources/resources/event_api/schemas/emoji_changed.json +61 -0
  256. data/lib/slack_resources/resources/event_api/schemas/emoji_changed.remove.json +40 -0
  257. data/lib/slack_resources/resources/event_api/schemas/event_callback.json +76 -0
  258. data/lib/slack_resources/resources/event_api/schemas/file_change.json +39 -0
  259. data/lib/slack_resources/resources/event_api/schemas/file_comment_added.json +50 -0
  260. data/lib/slack_resources/resources/event_api/schemas/file_comment_deleted.json +46 -0
  261. data/lib/slack_resources/resources/event_api/schemas/file_comment_edited.json +50 -0
  262. data/lib/slack_resources/resources/event_api/schemas/file_created.json +39 -0
  263. data/lib/slack_resources/resources/event_api/schemas/file_deleted.json +31 -0
  264. data/lib/slack_resources/resources/event_api/schemas/file_public.json +39 -0
  265. data/lib/slack_resources/resources/event_api/schemas/file_shared.json +39 -0
  266. data/lib/slack_resources/resources/event_api/schemas/file_unshared.json +39 -0
  267. data/lib/slack_resources/resources/event_api/schemas/grid_migration_finished.json +24 -0
  268. data/lib/slack_resources/resources/event_api/schemas/grid_migration_started.json +24 -0
  269. data/lib/slack_resources/resources/event_api/schemas/group_archive.json +24 -0
  270. data/lib/slack_resources/resources/event_api/schemas/group_close.json +31 -0
  271. data/lib/slack_resources/resources/event_api/schemas/group_deleted.json +24 -0
  272. data/lib/slack_resources/resources/event_api/schemas/group_history_changed.json +32 -0
  273. data/lib/slack_resources/resources/event_api/schemas/group_left.json +24 -0
  274. data/lib/slack_resources/resources/event_api/schemas/group_open.json +31 -0
  275. data/lib/slack_resources/resources/event_api/schemas/group_rename.json +49 -0
  276. data/lib/slack_resources/resources/event_api/schemas/group_unarchive.json +24 -0
  277. data/lib/slack_resources/resources/event_api/schemas/im_close.json +31 -0
  278. data/lib/slack_resources/resources/event_api/schemas/im_created.json +44 -0
  279. data/lib/slack_resources/resources/event_api/schemas/im_history_changed.json +32 -0
  280. data/lib/slack_resources/resources/event_api/schemas/im_open.json +31 -0
  281. data/lib/slack_resources/resources/event_api/schemas/link_shared.json +74 -0
  282. data/lib/slack_resources/resources/event_api/schemas/member_joined_channel.json +46 -0
  283. data/lib/slack_resources/resources/event_api/schemas/member_left_channel.json +42 -0
  284. data/lib/slack_resources/resources/event_api/schemas/message.app_home.json +50 -0
  285. data/lib/slack_resources/resources/event_api/schemas/message.channels.json +50 -0
  286. data/lib/slack_resources/resources/event_api/schemas/message.groups.json +50 -0
  287. data/lib/slack_resources/resources/event_api/schemas/message.im.json +50 -0
  288. data/lib/slack_resources/resources/event_api/schemas/message.json +82 -0
  289. data/lib/slack_resources/resources/event_api/schemas/message.mpim.json +50 -0
  290. data/lib/slack_resources/resources/event_api/schemas/pin_added.json +49 -0
  291. data/lib/slack_resources/resources/event_api/schemas/pin_removed.json +53 -0
  292. data/lib/slack_resources/resources/event_api/schemas/reaction_added.json +71 -0
  293. data/lib/slack_resources/resources/event_api/schemas/reaction_removed.json +71 -0
  294. data/lib/slack_resources/resources/event_api/schemas/resources_added.json +110 -0
  295. data/lib/slack_resources/resources/event_api/schemas/resources_removed.json +110 -0
  296. data/lib/slack_resources/resources/event_api/schemas/scope_denied.json +57 -0
  297. data/lib/slack_resources/resources/event_api/schemas/scope_granted.json +57 -0
  298. data/lib/slack_resources/resources/event_api/schemas/star_added.json +42 -0
  299. data/lib/slack_resources/resources/event_api/schemas/star_removed.json +42 -0
  300. data/lib/slack_resources/resources/event_api/schemas/subteam_created.json +150 -0
  301. data/lib/slack_resources/resources/event_api/schemas/subteam_members_changed.json +76 -0
  302. data/lib/slack_resources/resources/event_api/schemas/subteam_self_added.json +24 -0
  303. data/lib/slack_resources/resources/event_api/schemas/subteam_self_removed.json +24 -0
  304. data/lib/slack_resources/resources/event_api/schemas/subteam_updated.json +156 -0
  305. data/lib/slack_resources/resources/event_api/schemas/team_domain_change.json +25 -0
  306. data/lib/slack_resources/resources/event_api/schemas/team_join.json +28 -0
  307. data/lib/slack_resources/resources/event_api/schemas/team_rename.json +24 -0
  308. data/lib/slack_resources/resources/event_api/schemas/tokens_revoked.json +46 -0
  309. data/lib/slack_resources/resources/event_api/schemas/url_verification.json +25 -0
  310. data/lib/slack_resources/resources/event_api/schemas/user_change.json +28 -0
  311. data/lib/slack_resources/resources/event_api/schemas/user_resource_denied.json +63 -0
  312. data/lib/slack_resources/resources/event_api/schemas/user_resource_granted.json +63 -0
  313. data/lib/slack_resources/resources/event_api/schemas/user_resource_removed.json +31 -0
  314. data/lib/slack_resources/resources/event_api/summary.json +5876 -0
  315. data/slack_resources.gemspec +33 -0
  316. metadata +470 -0
@@ -0,0 +1,34 @@
1
+ {
2
+ "type": "subteam_updated",
3
+ "subteam": {
4
+ "id": "S0614TZR7",
5
+ "team_id": "T060RNRCH",
6
+ "is_usergroup": true,
7
+ "name": "Team Admins",
8
+ "description": "A group of all Administrators on your team.",
9
+ "handle": "admins",
10
+ "is_external": false,
11
+ "date_create": 1446598059,
12
+ "date_update": 1446670362,
13
+ "date_delete": 0,
14
+ "auto_type": "admin",
15
+ "created_by": "USLACKBOT",
16
+ "updated_by": "U060RNRCZ",
17
+ "deleted_by": null,
18
+ "prefs": {
19
+ "channels": [
20
+
21
+ ],
22
+ "groups": [
23
+
24
+ ]
25
+ },
26
+ "users": [
27
+ "U060RNRCZ",
28
+ "U060ULRC0",
29
+ "U06129G2V",
30
+ "U061309JM"
31
+ ],
32
+ "user_count": "4"
33
+ }
34
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "type": "team_domain_change",
3
+ "url": "https://my.slack.com",
4
+ "domain": "my"
5
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "type": "team_join",
3
+ "user": {
4
+ }
5
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "type": "team_rename",
3
+ "name": "New Team Name Inc."
4
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "token": "XXYYZZ",
3
+ "team_id": "TXXXXXXXX",
4
+ "api_app_id": "AXXXXXXXXX",
5
+ "event": {
6
+ "type": "tokens_revoked",
7
+ "tokens": {
8
+ "oauth": [
9
+ "UXXXXXXXX"
10
+ ],
11
+ "bot": [
12
+ "UXXXXXXXX"
13
+ ]
14
+ }
15
+ },
16
+ "type": "event_callback",
17
+ "event_id": "EvXXXXXXXX",
18
+ "event_time": 1234567890
19
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "token": "Jhj5dZrVaK7ZwHHjRyZWjbDl",
3
+ "challenge": "3eZbrw1aBm2rZgRNFdxV2595E9CY3gmdALWMmHkvFXO7tYXAYM8P",
4
+ "type": "url_verification"
5
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "type": "user_change",
3
+ "user": {
4
+ }
5
+ }
@@ -0,0 +1,20 @@
1
+ {
2
+ "token": "XXYYZZ",
3
+ "team_id": "TXXXXXXXX",
4
+ "api_app_id": "AXXXXXXXXX",
5
+ "event": {
6
+ "type": "user_resource_denied",
7
+ "user": "WXXXXXXXX",
8
+ "scopes": [
9
+ "reminders:write:user",
10
+ "reminders:read:user"
11
+ ],
12
+ "trigger_id": "27082968880.6048553856.5eb9c671f75c636135fdb6bb9e87b606"
13
+ },
14
+ "type": "event_callback",
15
+ "authed_teams": [
16
+
17
+ ],
18
+ "event_id": "EvXXXXXXXX",
19
+ "event_time": 1234567890
20
+ }
@@ -0,0 +1,20 @@
1
+ {
2
+ "token": "XXYYZZ",
3
+ "team_id": "TXXXXXXXX",
4
+ "api_app_id": "AXXXXXXXXX",
5
+ "event": {
6
+ "type": "user_resource_granted",
7
+ "user": "WXXXXXXXX",
8
+ "scopes": [
9
+ "reminders:write:user",
10
+ "reminders:read:user"
11
+ ],
12
+ "trigger_id": "27082968880.6048553856.5eb9c671f75c636135fdb6bb9e87b606"
13
+ },
14
+ "type": "event_callback",
15
+ "authed_teams": [
16
+
17
+ ],
18
+ "event_id": "EvXXXXXXXX",
19
+ "event_time": 1234567890
20
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "token": "XXYYZZ",
3
+ "team_id": "TXXXXXXXX",
4
+ "api_app_id": "AXXXXXXXXX",
5
+ "event": {
6
+ "type": "user_resource_removed",
7
+ "user": "WXXXXXXXX",
8
+ "trigger_id": "27082968880.6048553856.5eb9c671f75c636135fdb6bb9e87b606"
9
+ },
10
+ "type": "event_callback",
11
+ "authed_teams": [
12
+
13
+ ],
14
+ "event_id": "EvXXXXXXXX",
15
+ "event_time": 1234567890
16
+ }
@@ -0,0 +1,834 @@
1
+ {
2
+ "on_event_api": [
3
+ "app_mention",
4
+ "app_rate_limited",
5
+ "app_uninstalled",
6
+ "channel_archive",
7
+ "channel_created",
8
+ "channel_deleted",
9
+ "channel_history_changed",
10
+ "channel_left",
11
+ "channel_rename",
12
+ "channel_unarchive",
13
+ "dnd_updated",
14
+ "dnd_updated_user",
15
+ "email_domain_changed",
16
+ "emoji_changed",
17
+ "file_change",
18
+ "file_comment_added",
19
+ "file_comment_deleted",
20
+ "file_comment_edited",
21
+ "file_created",
22
+ "file_deleted",
23
+ "file_public",
24
+ "file_shared",
25
+ "file_unshared",
26
+ "grid_migration_finished",
27
+ "grid_migration_started",
28
+ "group_archive",
29
+ "group_close",
30
+ "group_deleted",
31
+ "group_history_changed",
32
+ "group_left",
33
+ "group_open",
34
+ "group_rename",
35
+ "group_unarchive",
36
+ "im_close",
37
+ "im_created",
38
+ "im_history_changed",
39
+ "im_open",
40
+ "link_shared",
41
+ "member_joined_channel",
42
+ "member_left_channel",
43
+ "message",
44
+ "message.app_home",
45
+ "message.channels",
46
+ "message.groups",
47
+ "message.im",
48
+ "message.mpim",
49
+ "pin_added",
50
+ "pin_removed",
51
+ "reaction_added",
52
+ "reaction_removed",
53
+ "resources_added",
54
+ "resources_removed",
55
+ "scope_denied",
56
+ "scope_granted",
57
+ "star_added",
58
+ "star_removed",
59
+ "subteam_created",
60
+ "subteam_members_changed",
61
+ "subteam_self_added",
62
+ "subteam_self_removed",
63
+ "subteam_updated",
64
+ "team_domain_change",
65
+ "team_join",
66
+ "team_rename",
67
+ "tokens_revoked",
68
+ "url_verification",
69
+ "user_change",
70
+ "user_resource_denied",
71
+ "user_resource_granted",
72
+ "user_resource_removed"
73
+ ],
74
+ "on_rtm": [
75
+ "channel_archive",
76
+ "channel_created",
77
+ "channel_deleted",
78
+ "channel_history_changed",
79
+ "channel_left",
80
+ "channel_rename",
81
+ "channel_unarchive",
82
+ "dnd_updated",
83
+ "dnd_updated_user",
84
+ "email_domain_changed",
85
+ "emoji_changed",
86
+ "file_change",
87
+ "file_comment_added",
88
+ "file_comment_deleted",
89
+ "file_comment_edited",
90
+ "file_created",
91
+ "file_deleted",
92
+ "file_public",
93
+ "file_shared",
94
+ "file_unshared",
95
+ "group_archive",
96
+ "group_close",
97
+ "group_deleted",
98
+ "group_history_changed",
99
+ "group_left",
100
+ "group_open",
101
+ "group_rename",
102
+ "group_unarchive",
103
+ "im_close",
104
+ "im_created",
105
+ "im_history_changed",
106
+ "im_open",
107
+ "member_joined_channel",
108
+ "member_left_channel",
109
+ "message",
110
+ "pin_added",
111
+ "pin_removed",
112
+ "reaction_added",
113
+ "reaction_removed",
114
+ "star_added",
115
+ "star_removed",
116
+ "subteam_created",
117
+ "subteam_members_changed",
118
+ "subteam_self_added",
119
+ "subteam_self_removed",
120
+ "subteam_updated",
121
+ "team_domain_change",
122
+ "team_join",
123
+ "team_rename",
124
+ "user_change"
125
+ ],
126
+ "scopes": [
127
+ "channels:read",
128
+ "channels:history",
129
+ "groups:history",
130
+ "mpim:history",
131
+ "dnd:read",
132
+ "team:read",
133
+ "emoji:read",
134
+ "files:read",
135
+ "groups:read",
136
+ "im:read",
137
+ "im:history",
138
+ "links:read",
139
+ "pins:read",
140
+ "reactions:read",
141
+ "stars:read",
142
+ "usergroups:read",
143
+ "users:read"
144
+ ],
145
+ "subscriptions": {
146
+ "app_mention": {
147
+ "url": "https://api.slack.com/events/app_mention",
148
+ "compatibility": [
149
+ "Events API"
150
+ ],
151
+ "scopes": [
152
+
153
+ ]
154
+ },
155
+ "app_rate_limited": {
156
+ "url": "https://api.slack.com/events/app_rate_limited",
157
+ "compatibility": [
158
+ "Events API"
159
+ ],
160
+ "scopes": [
161
+
162
+ ]
163
+ },
164
+ "app_uninstalled": {
165
+ "url": "https://api.slack.com/events/app_uninstalled",
166
+ "compatibility": [
167
+ "Events API"
168
+ ],
169
+ "scopes": [
170
+
171
+ ]
172
+ },
173
+ "channel_archive": {
174
+ "url": "https://api.slack.com/events/channel_archive",
175
+ "compatibility": [
176
+ "RTM",
177
+ "Events API"
178
+ ],
179
+ "scopes": [
180
+ "channels:read"
181
+ ]
182
+ },
183
+ "channel_created": {
184
+ "url": "https://api.slack.com/events/channel_created",
185
+ "compatibility": [
186
+ "RTM",
187
+ "Events API"
188
+ ],
189
+ "scopes": [
190
+ "channels:read"
191
+ ]
192
+ },
193
+ "channel_deleted": {
194
+ "url": "https://api.slack.com/events/channel_deleted",
195
+ "compatibility": [
196
+ "RTM",
197
+ "Events API"
198
+ ],
199
+ "scopes": [
200
+ "channels:read"
201
+ ]
202
+ },
203
+ "channel_history_changed": {
204
+ "url": "https://api.slack.com/events/channel_history_changed",
205
+ "compatibility": [
206
+ "RTM",
207
+ "Events API"
208
+ ],
209
+ "scopes": [
210
+ "channels:history",
211
+ "groups:history",
212
+ "mpim:history"
213
+ ]
214
+ },
215
+ "channel_left": {
216
+ "url": "https://api.slack.com/events/channel_left",
217
+ "compatibility": [
218
+ "RTM",
219
+ "Events API"
220
+ ],
221
+ "scopes": [
222
+ "channels:read"
223
+ ]
224
+ },
225
+ "channel_rename": {
226
+ "url": "https://api.slack.com/events/channel_rename",
227
+ "compatibility": [
228
+ "RTM",
229
+ "Events API"
230
+ ],
231
+ "scopes": [
232
+ "channels:read"
233
+ ]
234
+ },
235
+ "channel_unarchive": {
236
+ "url": "https://api.slack.com/events/channel_unarchive",
237
+ "compatibility": [
238
+ "RTM",
239
+ "Events API"
240
+ ],
241
+ "scopes": [
242
+ "channels:read"
243
+ ]
244
+ },
245
+ "dnd_updated": {
246
+ "url": "https://api.slack.com/events/dnd_updated",
247
+ "compatibility": [
248
+ "RTM",
249
+ "Events API"
250
+ ],
251
+ "scopes": [
252
+ "dnd:read"
253
+ ]
254
+ },
255
+ "dnd_updated_user": {
256
+ "url": "https://api.slack.com/events/dnd_updated_user",
257
+ "compatibility": [
258
+ "RTM",
259
+ "Events API"
260
+ ],
261
+ "scopes": [
262
+ "dnd:read"
263
+ ]
264
+ },
265
+ "email_domain_changed": {
266
+ "url": "https://api.slack.com/events/email_domain_changed",
267
+ "compatibility": [
268
+ "RTM",
269
+ "Events API"
270
+ ],
271
+ "scopes": [
272
+ "team:read"
273
+ ]
274
+ },
275
+ "emoji_changed": {
276
+ "url": "https://api.slack.com/events/emoji_changed",
277
+ "compatibility": [
278
+ "RTM",
279
+ "Events API"
280
+ ],
281
+ "scopes": [
282
+ "emoji:read"
283
+ ]
284
+ },
285
+ "file_change": {
286
+ "url": "https://api.slack.com/events/file_change",
287
+ "compatibility": [
288
+ "RTM",
289
+ "Events API"
290
+ ],
291
+ "scopes": [
292
+ "files:read"
293
+ ]
294
+ },
295
+ "file_comment_added": {
296
+ "url": "https://api.slack.com/events/file_comment_added",
297
+ "compatibility": [
298
+ "RTM",
299
+ "Events API"
300
+ ],
301
+ "scopes": [
302
+ "files:read"
303
+ ]
304
+ },
305
+ "file_comment_deleted": {
306
+ "url": "https://api.slack.com/events/file_comment_deleted",
307
+ "compatibility": [
308
+ "RTM",
309
+ "Events API"
310
+ ],
311
+ "scopes": [
312
+ "files:read"
313
+ ]
314
+ },
315
+ "file_comment_edited": {
316
+ "url": "https://api.slack.com/events/file_comment_edited",
317
+ "compatibility": [
318
+ "RTM",
319
+ "Events API"
320
+ ],
321
+ "scopes": [
322
+ "files:read"
323
+ ]
324
+ },
325
+ "file_created": {
326
+ "url": "https://api.slack.com/events/file_created",
327
+ "compatibility": [
328
+ "RTM",
329
+ "Events API"
330
+ ],
331
+ "scopes": [
332
+ "files:read"
333
+ ]
334
+ },
335
+ "file_deleted": {
336
+ "url": "https://api.slack.com/events/file_deleted",
337
+ "compatibility": [
338
+ "RTM",
339
+ "Events API"
340
+ ],
341
+ "scopes": [
342
+ "files:read"
343
+ ]
344
+ },
345
+ "file_public": {
346
+ "url": "https://api.slack.com/events/file_public",
347
+ "compatibility": [
348
+ "RTM",
349
+ "Events API"
350
+ ],
351
+ "scopes": [
352
+ "files:read"
353
+ ]
354
+ },
355
+ "file_shared": {
356
+ "url": "https://api.slack.com/events/file_shared",
357
+ "compatibility": [
358
+ "RTM",
359
+ "Events API"
360
+ ],
361
+ "scopes": [
362
+ "files:read"
363
+ ]
364
+ },
365
+ "file_unshared": {
366
+ "url": "https://api.slack.com/events/file_unshared",
367
+ "compatibility": [
368
+ "RTM",
369
+ "Events API"
370
+ ],
371
+ "scopes": [
372
+ "files:read"
373
+ ]
374
+ },
375
+ "grid_migration_finished": {
376
+ "url": "https://api.slack.com/events/grid_migration_finished",
377
+ "compatibility": [
378
+ "Events API"
379
+ ],
380
+ "scopes": [
381
+
382
+ ]
383
+ },
384
+ "grid_migration_started": {
385
+ "url": "https://api.slack.com/events/grid_migration_started",
386
+ "compatibility": [
387
+ "Events API"
388
+ ],
389
+ "scopes": [
390
+
391
+ ]
392
+ },
393
+ "group_archive": {
394
+ "url": "https://api.slack.com/events/group_archive",
395
+ "compatibility": [
396
+ "RTM",
397
+ "Events API"
398
+ ],
399
+ "scopes": [
400
+ "groups:read"
401
+ ]
402
+ },
403
+ "group_close": {
404
+ "url": "https://api.slack.com/events/group_close",
405
+ "compatibility": [
406
+ "RTM",
407
+ "Events API"
408
+ ],
409
+ "scopes": [
410
+ "groups:read"
411
+ ]
412
+ },
413
+ "group_deleted": {
414
+ "url": "https://api.slack.com/events/group_deleted",
415
+ "compatibility": [
416
+ "RTM",
417
+ "Events API"
418
+ ],
419
+ "scopes": [
420
+ "groups:read"
421
+ ]
422
+ },
423
+ "group_history_changed": {
424
+ "url": "https://api.slack.com/events/group_history_changed",
425
+ "compatibility": [
426
+ "RTM",
427
+ "Events API"
428
+ ],
429
+ "scopes": [
430
+ "groups:history"
431
+ ]
432
+ },
433
+ "group_left": {
434
+ "url": "https://api.slack.com/events/group_left",
435
+ "compatibility": [
436
+ "RTM",
437
+ "Events API"
438
+ ],
439
+ "scopes": [
440
+ "groups:read"
441
+ ]
442
+ },
443
+ "group_open": {
444
+ "url": "https://api.slack.com/events/group_open",
445
+ "compatibility": [
446
+ "RTM",
447
+ "Events API"
448
+ ],
449
+ "scopes": [
450
+ "groups:read"
451
+ ]
452
+ },
453
+ "group_rename": {
454
+ "url": "https://api.slack.com/events/group_rename",
455
+ "compatibility": [
456
+ "RTM",
457
+ "Events API"
458
+ ],
459
+ "scopes": [
460
+ "groups:read"
461
+ ]
462
+ },
463
+ "group_unarchive": {
464
+ "url": "https://api.slack.com/events/group_unarchive",
465
+ "compatibility": [
466
+ "RTM",
467
+ "Events API"
468
+ ],
469
+ "scopes": [
470
+ "groups:read"
471
+ ]
472
+ },
473
+ "im_close": {
474
+ "url": "https://api.slack.com/events/im_close",
475
+ "compatibility": [
476
+ "RTM",
477
+ "Events API"
478
+ ],
479
+ "scopes": [
480
+ "im:read"
481
+ ]
482
+ },
483
+ "im_created": {
484
+ "url": "https://api.slack.com/events/im_created",
485
+ "compatibility": [
486
+ "RTM",
487
+ "Events API"
488
+ ],
489
+ "scopes": [
490
+ "im:read"
491
+ ]
492
+ },
493
+ "im_history_changed": {
494
+ "url": "https://api.slack.com/events/im_history_changed",
495
+ "compatibility": [
496
+ "RTM",
497
+ "Events API"
498
+ ],
499
+ "scopes": [
500
+ "im:history"
501
+ ]
502
+ },
503
+ "im_open": {
504
+ "url": "https://api.slack.com/events/im_open",
505
+ "compatibility": [
506
+ "RTM",
507
+ "Events API"
508
+ ],
509
+ "scopes": [
510
+ "im:read"
511
+ ]
512
+ },
513
+ "link_shared": {
514
+ "url": "https://api.slack.com/events/link_shared",
515
+ "compatibility": [
516
+ "Events API"
517
+ ],
518
+ "scopes": [
519
+ "links:read"
520
+ ]
521
+ },
522
+ "member_joined_channel": {
523
+ "url": "https://api.slack.com/events/member_joined_channel",
524
+ "compatibility": [
525
+ "RTM",
526
+ "Events API"
527
+ ],
528
+ "scopes": [
529
+ "channels:read",
530
+ "groups:read"
531
+ ]
532
+ },
533
+ "member_left_channel": {
534
+ "url": "https://api.slack.com/events/member_left_channel",
535
+ "compatibility": [
536
+ "RTM",
537
+ "Events API"
538
+ ],
539
+ "scopes": [
540
+ "channels:read",
541
+ "groups:read"
542
+ ]
543
+ },
544
+ "message": {
545
+ "url": "https://api.slack.com/events/message",
546
+ "compatibility": [
547
+ "RTM",
548
+ "Events API"
549
+ ],
550
+ "scopes": [
551
+ "channels:history",
552
+ "groups:history",
553
+ "im:history",
554
+ "mpim:history"
555
+ ]
556
+ },
557
+ "message.app_home": {
558
+ "url": "https://api.slack.com/events/message.app_home",
559
+ "compatibility": [
560
+ "Events API"
561
+ ],
562
+ "scopes": [
563
+
564
+ ]
565
+ },
566
+ "message.channels": {
567
+ "url": "https://api.slack.com/events/message.channels",
568
+ "compatibility": [
569
+ "Events API"
570
+ ],
571
+ "scopes": [
572
+ "channels:history"
573
+ ]
574
+ },
575
+ "message.groups": {
576
+ "url": "https://api.slack.com/events/message.groups",
577
+ "compatibility": [
578
+ "Events API"
579
+ ],
580
+ "scopes": [
581
+ "groups:history"
582
+ ]
583
+ },
584
+ "message.im": {
585
+ "url": "https://api.slack.com/events/message.im",
586
+ "compatibility": [
587
+ "Events API"
588
+ ],
589
+ "scopes": [
590
+ "im:history"
591
+ ]
592
+ },
593
+ "message.mpim": {
594
+ "url": "https://api.slack.com/events/message.mpim",
595
+ "compatibility": [
596
+ "Events API"
597
+ ],
598
+ "scopes": [
599
+ "mpim:history"
600
+ ]
601
+ },
602
+ "pin_added": {
603
+ "url": "https://api.slack.com/events/pin_added",
604
+ "compatibility": [
605
+ "RTM",
606
+ "Events API"
607
+ ],
608
+ "scopes": [
609
+ "pins:read"
610
+ ]
611
+ },
612
+ "pin_removed": {
613
+ "url": "https://api.slack.com/events/pin_removed",
614
+ "compatibility": [
615
+ "RTM",
616
+ "Events API"
617
+ ],
618
+ "scopes": [
619
+ "pins:read"
620
+ ]
621
+ },
622
+ "reaction_added": {
623
+ "url": "https://api.slack.com/events/reaction_added",
624
+ "compatibility": [
625
+ "RTM",
626
+ "Events API"
627
+ ],
628
+ "scopes": [
629
+ "reactions:read"
630
+ ]
631
+ },
632
+ "reaction_removed": {
633
+ "url": "https://api.slack.com/events/reaction_removed",
634
+ "compatibility": [
635
+ "RTM",
636
+ "Events API"
637
+ ],
638
+ "scopes": [
639
+ "reactions:read"
640
+ ]
641
+ },
642
+ "resources_added": {
643
+ "url": "https://api.slack.com/events/resources_added",
644
+ "compatibility": [
645
+ "Events API"
646
+ ],
647
+ "scopes": [
648
+
649
+ ]
650
+ },
651
+ "resources_removed": {
652
+ "url": "https://api.slack.com/events/resources_removed",
653
+ "compatibility": [
654
+ "Events API"
655
+ ],
656
+ "scopes": [
657
+
658
+ ]
659
+ },
660
+ "scope_denied": {
661
+ "url": "https://api.slack.com/events/scope_denied",
662
+ "compatibility": [
663
+ "Events API"
664
+ ],
665
+ "scopes": [
666
+
667
+ ]
668
+ },
669
+ "scope_granted": {
670
+ "url": "https://api.slack.com/events/scope_granted",
671
+ "compatibility": [
672
+ "Events API"
673
+ ],
674
+ "scopes": [
675
+
676
+ ]
677
+ },
678
+ "star_added": {
679
+ "url": "https://api.slack.com/events/star_added",
680
+ "compatibility": [
681
+ "RTM",
682
+ "Events API"
683
+ ],
684
+ "scopes": [
685
+ "stars:read"
686
+ ]
687
+ },
688
+ "star_removed": {
689
+ "url": "https://api.slack.com/events/star_removed",
690
+ "compatibility": [
691
+ "RTM",
692
+ "Events API"
693
+ ],
694
+ "scopes": [
695
+ "stars:read"
696
+ ]
697
+ },
698
+ "subteam_created": {
699
+ "url": "https://api.slack.com/events/subteam_created",
700
+ "compatibility": [
701
+ "RTM",
702
+ "Events API"
703
+ ],
704
+ "scopes": [
705
+ "usergroups:read"
706
+ ]
707
+ },
708
+ "subteam_members_changed": {
709
+ "url": "https://api.slack.com/events/subteam_members_changed",
710
+ "compatibility": [
711
+ "RTM",
712
+ "Events API"
713
+ ],
714
+ "scopes": [
715
+ "usergroups:read"
716
+ ]
717
+ },
718
+ "subteam_self_added": {
719
+ "url": "https://api.slack.com/events/subteam_self_added",
720
+ "compatibility": [
721
+ "RTM",
722
+ "Events API"
723
+ ],
724
+ "scopes": [
725
+ "usergroups:read"
726
+ ]
727
+ },
728
+ "subteam_self_removed": {
729
+ "url": "https://api.slack.com/events/subteam_self_removed",
730
+ "compatibility": [
731
+ "RTM",
732
+ "Events API"
733
+ ],
734
+ "scopes": [
735
+ "usergroups:read"
736
+ ]
737
+ },
738
+ "subteam_updated": {
739
+ "url": "https://api.slack.com/events/subteam_updated",
740
+ "compatibility": [
741
+ "RTM",
742
+ "Events API"
743
+ ],
744
+ "scopes": [
745
+ "usergroups:read"
746
+ ]
747
+ },
748
+ "team_domain_change": {
749
+ "url": "https://api.slack.com/events/team_domain_change",
750
+ "compatibility": [
751
+ "RTM",
752
+ "Events API"
753
+ ],
754
+ "scopes": [
755
+ "team:read"
756
+ ]
757
+ },
758
+ "team_join": {
759
+ "url": "https://api.slack.com/events/team_join",
760
+ "compatibility": [
761
+ "RTM",
762
+ "Events API"
763
+ ],
764
+ "scopes": [
765
+ "users:read"
766
+ ]
767
+ },
768
+ "team_rename": {
769
+ "url": "https://api.slack.com/events/team_rename",
770
+ "compatibility": [
771
+ "RTM",
772
+ "Events API"
773
+ ],
774
+ "scopes": [
775
+ "team:read"
776
+ ]
777
+ },
778
+ "tokens_revoked": {
779
+ "url": "https://api.slack.com/events/tokens_revoked",
780
+ "compatibility": [
781
+ "Events API"
782
+ ],
783
+ "scopes": [
784
+
785
+ ]
786
+ },
787
+ "url_verification": {
788
+ "url": "https://api.slack.com/events/url_verification",
789
+ "compatibility": [
790
+ "Events API"
791
+ ],
792
+ "scopes": [
793
+
794
+ ]
795
+ },
796
+ "user_change": {
797
+ "url": "https://api.slack.com/events/user_change",
798
+ "compatibility": [
799
+ "RTM",
800
+ "Events API"
801
+ ],
802
+ "scopes": [
803
+ "users:read"
804
+ ]
805
+ },
806
+ "user_resource_denied": {
807
+ "url": "https://api.slack.com/events/user_resource_denied",
808
+ "compatibility": [
809
+ "Events API"
810
+ ],
811
+ "scopes": [
812
+
813
+ ]
814
+ },
815
+ "user_resource_granted": {
816
+ "url": "https://api.slack.com/events/user_resource_granted",
817
+ "compatibility": [
818
+ "Events API"
819
+ ],
820
+ "scopes": [
821
+
822
+ ]
823
+ },
824
+ "user_resource_removed": {
825
+ "url": "https://api.slack.com/events/user_resource_removed",
826
+ "compatibility": [
827
+ "Events API"
828
+ ],
829
+ "scopes": [
830
+
831
+ ]
832
+ }
833
+ }
834
+ }