slack-ruby-client 2.2.0 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) hide show
  1. checksums.yaml +4 -4
  2. data/.github/dependabot.yml +6 -0
  3. data/.github/workflows/integration_test.yml +1 -1
  4. data/.github/workflows/lint.yml +1 -1
  5. data/.github/workflows/pr_lint.yml +1 -1
  6. data/.github/workflows/test.yml +23 -13
  7. data/.github/workflows/update_api.yml +8 -3
  8. data/.gitignore +1 -0
  9. data/CHANGELOG.md +14 -0
  10. data/README.md +27 -2
  11. data/bin/commands/admin_apps_activities.rb +4 -4
  12. data/bin/commands/admin_apps_config.rb +2 -2
  13. data/bin/commands/admin_conversations.rb +2 -1
  14. data/bin/commands/admin_emoji.rb +1 -1
  15. data/bin/commands/admin_users.rb +6 -4
  16. data/bin/commands/admin_workflows.rb +4 -2
  17. data/bin/commands/admin_workflows_triggers_types_permissions.rb +31 -0
  18. data/bin/commands/apps_datastore.rb +46 -0
  19. data/bin/commands/canvases.rb +40 -0
  20. data/bin/commands/canvases_access.rb +34 -0
  21. data/bin/commands/canvases_sections.rb +21 -0
  22. data/bin/commands/chat.rb +9 -9
  23. data/bin/commands/conversations.rb +3 -2
  24. data/bin/commands/conversations_canvases.rb +21 -0
  25. data/bin/commands/conversations_externalInvitePermissions.rb +22 -0
  26. data/bin/commands/functions.rb +31 -0
  27. data/bin/commands/functions_distributions_permissions.rb +59 -0
  28. data/bin/commands/oauth.rb +2 -2
  29. data/bin/commands/oauth_v2.rb +2 -2
  30. data/bin/commands/pins.rb +0 -1
  31. data/bin/commands/reminders.rb +1 -1
  32. data/bin/commands/team.rb +2 -2
  33. data/bin/commands/team_externalTeams.rb +35 -0
  34. data/bin/commands/usergroups.rb +10 -10
  35. data/bin/commands/usergroups_users.rb +8 -8
  36. data/bin/commands/users_discoverableContacts.rb +20 -0
  37. data/bin/commands/workflows_triggers_permissions.rb +60 -0
  38. data/lib/slack/events/request.rb +4 -2
  39. data/lib/slack/messages/formatting.rb +13 -0
  40. data/lib/slack/version.rb +1 -1
  41. data/lib/slack/web/api/endpoints/admin_apps_activities.rb +5 -5
  42. data/lib/slack/web/api/endpoints/admin_apps_config.rb +3 -3
  43. data/lib/slack/web/api/endpoints/admin_conversations.rb +3 -1
  44. data/lib/slack/web/api/endpoints/admin_emoji.rb +1 -1
  45. data/lib/slack/web/api/endpoints/admin_functions_permissions.rb +1 -1
  46. data/lib/slack/web/api/endpoints/admin_users.rb +6 -2
  47. data/lib/slack/web/api/endpoints/admin_workflows.rb +9 -5
  48. data/lib/slack/web/api/endpoints/admin_workflows_triggers_types_permissions.rb +41 -0
  49. data/lib/slack/web/api/endpoints/apps_activities.rb +1 -1
  50. data/lib/slack/web/api/endpoints/apps_datastore.rb +71 -0
  51. data/lib/slack/web/api/endpoints/canvases.rb +52 -0
  52. data/lib/slack/web/api/endpoints/canvases_access.rb +47 -0
  53. data/lib/slack/web/api/endpoints/canvases_sections.rb +27 -0
  54. data/lib/slack/web/api/endpoints/chat.rb +21 -21
  55. data/lib/slack/web/api/endpoints/conversations.rb +4 -2
  56. data/lib/slack/web/api/endpoints/conversations_canvases.rb +26 -0
  57. data/lib/slack/web/api/endpoints/conversations_externalInvitePermissions.rb +31 -0
  58. data/lib/slack/web/api/endpoints/dnd.rb +1 -0
  59. data/lib/slack/web/api/endpoints/functions.rb +43 -0
  60. data/lib/slack/web/api/endpoints/functions_distributions_permissions.rb +80 -0
  61. data/lib/slack/web/api/endpoints/oauth.rb +2 -2
  62. data/lib/slack/web/api/endpoints/oauth_v2.rb +2 -2
  63. data/lib/slack/web/api/endpoints/openid_connect.rb +1 -1
  64. data/lib/slack/web/api/endpoints/pins.rb +0 -2
  65. data/lib/slack/web/api/endpoints/reminders.rb +1 -1
  66. data/lib/slack/web/api/endpoints/search.rb +3 -3
  67. data/lib/slack/web/api/endpoints/team.rb +3 -3
  68. data/lib/slack/web/api/endpoints/team_externalTeams.rb +53 -0
  69. data/lib/slack/web/api/endpoints/team_profile.rb +1 -1
  70. data/lib/slack/web/api/endpoints/usergroups.rb +5 -5
  71. data/lib/slack/web/api/endpoints/usergroups_users.rb +6 -6
  72. data/lib/slack/web/api/endpoints/users.rb +1 -1
  73. data/lib/slack/web/api/endpoints/users_discoverableContacts.rb +24 -0
  74. data/lib/slack/web/api/endpoints/workflows_triggers_permissions.rb +87 -0
  75. data/lib/slack/web/api/endpoints.rb +22 -0
  76. data/lib/slack/web/api/errors.rb +84 -4
  77. data/lib/slack/web/api/patches/.gitkeep +0 -0
  78. data/lib/slack/web/api/templates/method.erb +1 -0
  79. data/lib/slack/web/api/templates/method_spec.erb +2 -1
  80. data/spec/slack/events/request_spec.rb +11 -0
  81. data/spec/slack/messages/formatting_spec.rb +32 -0
  82. data/spec/slack/web/api/endpoints/admin_workflows_triggers_types_permissions_spec.rb +21 -0
  83. data/spec/slack/web/api/endpoints/apps_datastore_spec.rb +29 -0
  84. data/spec/slack/web/api/endpoints/canvases_access_spec.rb +21 -0
  85. data/spec/slack/web/api/endpoints/canvases_sections_spec.rb +16 -0
  86. data/spec/slack/web/api/endpoints/canvases_spec.rb +21 -0
  87. data/spec/slack/web/api/endpoints/chat_spec.rb +76 -4
  88. data/spec/slack/web/api/endpoints/conversations_canvases_spec.rb +13 -0
  89. data/spec/slack/web/api/endpoints/conversations_externalInvitePermissions_spec.rb +19 -0
  90. data/spec/slack/web/api/endpoints/custom_specs/chat_spec.rb +2 -9
  91. data/spec/slack/web/api/endpoints/dnd_spec.rb +5 -0
  92. data/spec/slack/web/api/endpoints/functions_distributions_permissions_spec.rb +10 -0
  93. data/spec/slack/web/api/endpoints/functions_spec.rb +28 -0
  94. data/spec/slack/web/api/endpoints/team_externalTeams_spec.rb +13 -0
  95. data/spec/slack/web/api/endpoints/users_discoverableContacts_spec.rb +13 -0
  96. data/spec/slack/web/api/endpoints/workflows_triggers_permissions_spec.rb +31 -0
  97. metadata +37 -3
  98. data/lib/slack/web/api/patches/chat.attachments-blocks.patch +0 -21
@@ -11,8 +11,6 @@ module Slack
11
11
  #
12
12
  # @option options [channel] :channel
13
13
  # Channel to pin the messsage to. You must also include a timestamp when pinning messages.
14
- # @option options [string] :quip_component_id
15
- # Component ID for the pins component that was inserted into the channel canvas, if any.
16
14
  # @option options [string] :timestamp
17
15
  # Timestamp of the message to pin. You must also include the channel.
18
16
  # @see https://api.slack.com/methods/pins.add
@@ -12,7 +12,7 @@ module Slack
12
12
  # @option options [string] :text
13
13
  # The content of the reminder.
14
14
  # @option options [string] :time
15
- # When this reminder should happen: the Unix timestamp (up to five years from now), the number of seconds until the reminder (if within 24 hours), or a natural language description (Ex. "in 15 minutes," or "every Thursday").
15
+ # Can also take a type of integer. When this reminder should happen: the Unix timestamp (up to five years from now), the number of seconds until the reminder (if within 24 hours), or a natural language description (Ex. "in 15 minutes," or "every Thursday").
16
16
  # @option options [object] :recurrence
17
17
  # Specify the repeating behavior of a reminder. Available options: daily, weekly, monthly, or yearly. If weekly, may further specify the days of the week.
18
18
  # @option options [string] :team_id
@@ -15,7 +15,7 @@ module Slack
15
15
  # Pass a value of true to enable query highlight markers (see below).
16
16
  # @option options [string] :sort
17
17
  # Return matches sorted by either score or timestamp.
18
- # @option options [string] :sort_dir
18
+ # @option options [enum] :sort_dir
19
19
  # Change sort direction to ascending (asc) or descending (desc).
20
20
  # @option options [string] :team_id
21
21
  # encoded team id to search in, required if org token is used.
@@ -35,7 +35,7 @@ module Slack
35
35
  # Pass a value of true to enable query highlight markers (see below).
36
36
  # @option options [string] :sort
37
37
  # Return matches sorted by either score or timestamp.
38
- # @option options [string] :sort_dir
38
+ # @option options [enum] :sort_dir
39
39
  # Change sort direction to ascending (asc) or descending (desc).
40
40
  # @option options [string] :team_id
41
41
  # encoded team id to search in, required if org token is used.
@@ -57,7 +57,7 @@ module Slack
57
57
  # Pass a value of true to enable query highlight markers (see below).
58
58
  # @option options [string] :sort
59
59
  # Return matches sorted by either score or timestamp.
60
- # @option options [string] :sort_dir
60
+ # @option options [enum] :sort_dir
61
61
  # Change sort direction to ascending (asc) or descending (desc).
62
62
  # @option options [string] :team_id
63
63
  # encoded team id to search in, required if org token is used.
@@ -57,7 +57,7 @@ module Slack
57
57
  # Gets information about the current team.
58
58
  #
59
59
  # @option options [string] :domain
60
- # Query by domain instead of team (only when team is null). This only works for domains in the same enterprise as the querying team token. This also expects the domain to belong to a team and not the enterprise itself.
60
+ # Query by domain instead of team (only when team is null). This only works for domains in the same enterprise as the querying team token. This also expects the domain to belong to a team and not the enterprise itself. This is the value set up for the 'Joining This Workspace' workspace setting. If it contains more than one domain, the field will contain multiple comma-separated domain values. If no domain is set, the field is empty.
61
61
  # @option options [string] :team
62
62
  # Team to get info about; if omitted, will return information about the current team.
63
63
  # @see https://api.slack.com/methods/team.info
@@ -71,8 +71,8 @@ module Slack
71
71
  #
72
72
  # @option options [string] :app_id
73
73
  # Filter logs to this Slack app. Defaults to all logs.
74
- # @option options [string] :change_type
75
- # Filter logs with this change type. Defaults to all logs.
74
+ # @option options [enum] :change_type
75
+ # Filter logs with this change type. Possible values are added, removed, enabled, disabled, and updated. Defaults to all logs.
76
76
  # @option options [string] :service_id
77
77
  # Filter logs to this service. Defaults to all logs.
78
78
  # @option options [string] :team_id
@@ -0,0 +1,53 @@
1
+ # frozen_string_literal: true
2
+ # This file was auto-generated by lib/tasks/web.rake
3
+
4
+ module Slack
5
+ module Web
6
+ module Api
7
+ module Endpoints
8
+ module TeamExternalteams
9
+ #
10
+ # Disconnect an external organization.
11
+ #
12
+ # @option options [Object] :target_team
13
+ # The team ID of the target team.
14
+ # @see https://api.slack.com/methods/team.externalTeams.disconnect
15
+ # @see https://github.com/slack-ruby/slack-api-ref/blob/master/methods/team.externalTeams/team.externalTeams.disconnect.json
16
+ def team_externalTeams_disconnect(options = {})
17
+ raise ArgumentError, 'Required arguments :target_team missing' if options[:target_team].nil?
18
+ post('team.externalTeams.disconnect', options)
19
+ end
20
+
21
+ #
22
+ # Returns a list of all the external teams connected and details about the connection.
23
+ #
24
+ # @option options [enum] :connection_status_filter
25
+ # Status of the connected team.
26
+ # @option options [string] :cursor
27
+ # Paginate through collections of data by setting parameter to the team_id attribute returned by a previous request's response_metadata. If not provided, the first page of the collection is returned. See pagination for more detail.
28
+ # @option options [integer] :limit
29
+ # The maximum number of items to return per page.
30
+ # @option options [array] :slack_connect_pref_filter
31
+ # Filters connected orgs by Slack Connect pref override(s). Value can be: approved_orgs_only allow_sc_file_uploads profile_visibility away_team_sc_invite_permissions accept_sc_invites sc_mpdm_to_private require_sc_channel_for_sc_dm external_awareness_context_bar.
32
+ # @option options [enum] :sort_direction
33
+ # Direction to sort in asc or desc.
34
+ # @option options [enum] :sort_field
35
+ # Name of the parameter that we are sorting by.
36
+ # @option options [array] :workspace_filter
37
+ # Shows connected orgs which are connected on a specified encoded workspace ID.
38
+ # @see https://api.slack.com/methods/team.externalTeams.list
39
+ # @see https://github.com/slack-ruby/slack-api-ref/blob/master/methods/team.externalTeams/team.externalTeams.list.json
40
+ def team_externalTeams_list(options = {})
41
+ if block_given?
42
+ Pagination::Cursor.new(self, :team_externalTeams_list, options).each do |page|
43
+ yield page
44
+ end
45
+ else
46
+ post('team.externalTeams.list', options)
47
+ end
48
+ end
49
+ end
50
+ end
51
+ end
52
+ end
53
+ end
@@ -9,7 +9,7 @@ module Slack
9
9
  #
10
10
  # Retrieve a team's profile.
11
11
  #
12
- # @option options [string] :visibility
12
+ # @option options [enum] :visibility
13
13
  # Filter by visibility.
14
14
  # @see https://api.slack.com/methods/team.profile.get
15
15
  # @see https://github.com/slack-ruby/slack-api-ref/blob/master/methods/team.profile/team.profile.get.json
@@ -7,7 +7,7 @@ module Slack
7
7
  module Endpoints
8
8
  module Usergroups
9
9
  #
10
- # Create a User Group
10
+ # Create a User Group.
11
11
  #
12
12
  # @option options [string] :name
13
13
  # A name for the User Group. Must be unique among User Groups.
@@ -29,7 +29,7 @@ module Slack
29
29
  end
30
30
 
31
31
  #
32
- # Disable an existing User Group
32
+ # Disable an existing User Group.
33
33
  #
34
34
  # @option options [Object] :usergroup
35
35
  # The encoded ID of the User Group to disable.
@@ -45,7 +45,7 @@ module Slack
45
45
  end
46
46
 
47
47
  #
48
- # Enable a User Group
48
+ # Enable a User Group.
49
49
  #
50
50
  # @option options [string] :usergroup
51
51
  # The encoded ID of the User Group to enable.
@@ -61,7 +61,7 @@ module Slack
61
61
  end
62
62
 
63
63
  #
64
- # List all User Groups for a team
64
+ # List all User Groups for a team.
65
65
  #
66
66
  # @option options [boolean] :include_count
67
67
  # Include the number of users in each User Group.
@@ -78,7 +78,7 @@ module Slack
78
78
  end
79
79
 
80
80
  #
81
- # Update an existing User Group
81
+ # Update an existing User Group.
82
82
  #
83
83
  # @option options [Object] :usergroup
84
84
  # The encoded ID of the User Group to update.
@@ -7,10 +7,10 @@ module Slack
7
7
  module Endpoints
8
8
  module UsergroupsUsers
9
9
  #
10
- # List all users in a User Group
10
+ # List all users in a User Group.
11
11
  #
12
12
  # @option options [string] :usergroup
13
- # The encoded ID of the User Group to update.
13
+ # The encoded ID of the User Group to list users for.
14
14
  # @option options [boolean] :include_disabled
15
15
  # Allow results that involve disabled User Groups.
16
16
  # @option options [string] :team_id
@@ -23,14 +23,14 @@ module Slack
23
23
  end
24
24
 
25
25
  #
26
- # Update the list of users for a User Group
26
+ # Update the list of users for a user group.
27
27
  #
28
28
  # @option options [string] :usergroup
29
- # The encoded ID of the User Group to update.
29
+ # The encoded ID of the user group to update.
30
30
  # @option options [array] :users
31
- # A comma separated string of encoded user IDs that represent the entire list of users for the User Group.
31
+ # A comma separated string of encoded user IDs that represent the entire list of users for the user group.
32
32
  # @option options [boolean] :include_count
33
- # Include the number of users in the User Group.
33
+ # Include the number of users in the user group.
34
34
  # @option options [string] :team_id
35
35
  # encoded team id where the user group exists, required if org token is used.
36
36
  # @see https://api.slack.com/methods/usergroups.users.update
@@ -143,7 +143,7 @@ module Slack
143
143
  #
144
144
  # Manually sets user presence.
145
145
  #
146
- # @option options [string] :presence
146
+ # @option options [enum] :presence
147
147
  # Either auto or away.
148
148
  # @see https://api.slack.com/methods/users.setPresence
149
149
  # @see https://github.com/slack-ruby/slack-api-ref/blob/master/methods/users/users.setPresence.json
@@ -0,0 +1,24 @@
1
+ # frozen_string_literal: true
2
+ # This file was auto-generated by lib/tasks/web.rake
3
+
4
+ module Slack
5
+ module Web
6
+ module Api
7
+ module Endpoints
8
+ module UsersDiscoverablecontacts
9
+ #
10
+ # Look up an email address to see if someone is discoverable on Slack
11
+ #
12
+ # @option options [string] :email
13
+ # .
14
+ # @see https://api.slack.com/methods/users.discoverableContacts.lookup
15
+ # @see https://github.com/slack-ruby/slack-api-ref/blob/master/methods/users.discoverableContacts/users.discoverableContacts.lookup.json
16
+ def users_discoverableContacts_lookup(options = {})
17
+ raise ArgumentError, 'Required arguments :email missing' if options[:email].nil?
18
+ post('users.discoverableContacts.lookup', options)
19
+ end
20
+ end
21
+ end
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,87 @@
1
+ # frozen_string_literal: true
2
+ # This file was auto-generated by lib/tasks/web.rake
3
+
4
+ module Slack
5
+ module Web
6
+ module Api
7
+ module Endpoints
8
+ module WorkflowsTriggersPermissions
9
+ #
10
+ # Allows users to run a trigger that has its permission type set to named_entities
11
+ #
12
+ # @option options [string] :trigger_id
13
+ # Encoded ID of the trigger.
14
+ # @option options [array] :channel_ids
15
+ # List of encoded channel IDs.
16
+ # @option options [array] :org_ids
17
+ # List of encoded organization IDs.
18
+ # @option options [array] :team_ids
19
+ # List of encoded workspace IDs.
20
+ # @option options [array] :user_ids
21
+ # List of encoded user IDs.
22
+ # @see https://api.slack.com/methods/workflows.triggers.permissions.add
23
+ # @see https://github.com/slack-ruby/slack-api-ref/blob/master/methods/workflows.triggers.permissions/workflows.triggers.permissions.add.json
24
+ def workflows_triggers_permissions_add(options = {})
25
+ raise ArgumentError, 'Required arguments :trigger_id missing' if options[:trigger_id].nil?
26
+ post('workflows.triggers.permissions.add', options)
27
+ end
28
+
29
+ #
30
+ # Returns the permission type of a trigger and if applicable, includes the entities that have been granted access
31
+ #
32
+ # @option options [string] :trigger_id
33
+ # Encoded ID of the trigger.
34
+ # @see https://api.slack.com/methods/workflows.triggers.permissions.list
35
+ # @see https://github.com/slack-ruby/slack-api-ref/blob/master/methods/workflows.triggers.permissions/workflows.triggers.permissions.list.json
36
+ def workflows_triggers_permissions_list(options = {})
37
+ raise ArgumentError, 'Required arguments :trigger_id missing' if options[:trigger_id].nil?
38
+ post('workflows.triggers.permissions.list', options)
39
+ end
40
+
41
+ #
42
+ # Revoke an entity's access to a trigger that has its permission type set to named_entities
43
+ #
44
+ # @option options [string] :trigger_id
45
+ # Encoded ID of the trigger.
46
+ # @option options [array] :channel_ids
47
+ # List of encoded channel IDs.
48
+ # @option options [array] :org_ids
49
+ # List of encoded organization IDs.
50
+ # @option options [array] :team_ids
51
+ # List of encoded workspace IDs.
52
+ # @option options [array] :user_ids
53
+ # List of encoded user IDs.
54
+ # @see https://api.slack.com/methods/workflows.triggers.permissions.remove
55
+ # @see https://github.com/slack-ruby/slack-api-ref/blob/master/methods/workflows.triggers.permissions/workflows.triggers.permissions.remove.json
56
+ def workflows_triggers_permissions_remove(options = {})
57
+ raise ArgumentError, 'Required arguments :trigger_id missing' if options[:trigger_id].nil?
58
+ post('workflows.triggers.permissions.remove', options)
59
+ end
60
+
61
+ #
62
+ # Set the permission type for who can run a trigger
63
+ #
64
+ # @option options [enum] :permission_type
65
+ # The type of permission that defines who can run a trigger.
66
+ # @option options [string] :trigger_id
67
+ # Encoded ID of the trigger.
68
+ # @option options [array] :channel_ids
69
+ # List of encoded channel IDs.
70
+ # @option options [array] :org_ids
71
+ # List of encoded organization IDs.
72
+ # @option options [array] :team_ids
73
+ # List of encoded workspace IDs.
74
+ # @option options [array] :user_ids
75
+ # List of encoded user IDs.
76
+ # @see https://api.slack.com/methods/workflows.triggers.permissions.set
77
+ # @see https://github.com/slack-ruby/slack-api-ref/blob/master/methods/workflows.triggers.permissions/workflows.triggers.permissions.set.json
78
+ def workflows_triggers_permissions_set(options = {})
79
+ raise ArgumentError, 'Required arguments :permission_type missing' if options[:permission_type].nil?
80
+ raise ArgumentError, 'Required arguments :trigger_id missing' if options[:trigger_id].nil?
81
+ post('workflows.triggers.permissions.set', options)
82
+ end
83
+ end
84
+ end
85
+ end
86
+ end
87
+ end
@@ -32,6 +32,7 @@ require_relative 'endpoints/admin_users_unsupportedVersions'
32
32
  require_relative 'endpoints/admin_workflows'
33
33
  require_relative 'endpoints/admin_workflows_collaborators'
34
34
  require_relative 'endpoints/admin_workflows_permissions'
35
+ require_relative 'endpoints/admin_workflows_triggers_types_permissions'
35
36
  require_relative 'endpoints/api'
36
37
  require_relative 'endpoints/apps'
37
38
  require_relative 'endpoints/apps_activities'
@@ -46,15 +47,22 @@ require_relative 'endpoints/bookmarks'
46
47
  require_relative 'endpoints/bots'
47
48
  require_relative 'endpoints/calls'
48
49
  require_relative 'endpoints/calls_participants'
50
+ require_relative 'endpoints/canvases'
51
+ require_relative 'endpoints/canvases_access'
52
+ require_relative 'endpoints/canvases_sections'
49
53
  require_relative 'endpoints/chat'
50
54
  require_relative 'endpoints/chat_scheduledMessages'
51
55
  require_relative 'endpoints/conversations'
56
+ require_relative 'endpoints/conversations_canvases'
57
+ require_relative 'endpoints/conversations_externalInvitePermissions'
52
58
  require_relative 'endpoints/dialog'
53
59
  require_relative 'endpoints/dnd'
54
60
  require_relative 'endpoints/emoji'
55
61
  require_relative 'endpoints/files'
56
62
  require_relative 'endpoints/files_comments'
57
63
  require_relative 'endpoints/files_remote'
64
+ require_relative 'endpoints/functions'
65
+ require_relative 'endpoints/functions_distributions_permissions'
58
66
  require_relative 'endpoints/functions_workflows_steps'
59
67
  require_relative 'endpoints/functions_workflows_steps_responses'
60
68
  require_relative 'endpoints/migration'
@@ -69,6 +77,7 @@ require_relative 'endpoints/search'
69
77
  require_relative 'endpoints/stars'
70
78
  require_relative 'endpoints/team'
71
79
  require_relative 'endpoints/team_billing'
80
+ require_relative 'endpoints/team_externalTeams'
72
81
  require_relative 'endpoints/team_preferences'
73
82
  require_relative 'endpoints/team_profile'
74
83
  require_relative 'endpoints/tooling_tokens'
@@ -76,10 +85,12 @@ require_relative 'endpoints/usergroups'
76
85
  require_relative 'endpoints/usergroups_users'
77
86
  require_relative 'endpoints/users'
78
87
  require_relative 'endpoints/users_admin'
88
+ require_relative 'endpoints/users_discoverableContacts'
79
89
  require_relative 'endpoints/users_prefs'
80
90
  require_relative 'endpoints/users_profile'
81
91
  require_relative 'endpoints/views'
82
92
  require_relative 'endpoints/workflows'
93
+ require_relative 'endpoints/workflows_triggers_permissions'
83
94
 
84
95
  module Slack
85
96
  module Web
@@ -119,6 +130,7 @@ module Slack
119
130
  include AdminWorkflows
120
131
  include AdminWorkflowsCollaborators
121
132
  include AdminWorkflowsPermissions
133
+ include AdminWorkflowsTriggersTypesPermissions
122
134
  include Api
123
135
  include Apps
124
136
  include AppsActivities
@@ -133,15 +145,22 @@ module Slack
133
145
  include Bots
134
146
  include Calls
135
147
  include CallsParticipants
148
+ include Canvases
149
+ include CanvasesAccess
150
+ include CanvasesSections
136
151
  include Chat
137
152
  include ChatScheduledmessages
138
153
  include Conversations
154
+ include ConversationsCanvases
155
+ include ConversationsExternalinvitepermissions
139
156
  include Dialog
140
157
  include Dnd
141
158
  include Emoji
142
159
  include Files
143
160
  include FilesComments
144
161
  include FilesRemote
162
+ include Functions
163
+ include FunctionsDistributionsPermissions
145
164
  include FunctionsWorkflowsSteps
146
165
  include FunctionsWorkflowsStepsResponses
147
166
  include Migration
@@ -156,6 +175,7 @@ module Slack
156
175
  include Stars
157
176
  include Team
158
177
  include TeamBilling
178
+ include TeamExternalteams
159
179
  include TeamPreferences
160
180
  include TeamProfile
161
181
  include ToolingTokens
@@ -163,10 +183,12 @@ module Slack
163
183
  include UsergroupsUsers
164
184
  include Users
165
185
  include UsersAdmin
186
+ include UsersDiscoverablecontacts
166
187
  include UsersPrefs
167
188
  include UsersProfile
168
189
  include Views
169
190
  include Workflows
191
+ include WorkflowsTriggersPermissions
170
192
  end
171
193
  end
172
194
  end