Skip to content

Commit

Permalink
Update API from slack-api-ref@d0b2989 (2023-05-23)
Browse files Browse the repository at this point in the history
  • Loading branch information
web-flow authored and dblock committed May 24, 2023
1 parent d1d74a2 commit 71e99d1
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 7 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* [#473](https://github.com/slack-ruby-client/pulls/473): Update API from [slack-api-ref@a29b520](https://github.com/slack-ruby/slack-api-ref/commit/a29b520) - [@slack-ruby-ci-bot](https://github.com/apps/slack-ruby-ci-bot).
* [#474](https://github.com/slack-ruby-client/pulls/474): Update API from [slack-api-ref@629967e](https://github.com/slack-ruby/slack-api-ref/commit/629967e) - [@slack-ruby-ci-bot](https://github.com/apps/slack-ruby-ci-bot).
* [#475](https://github.com/slack-ruby-client/pulls/475): Update API from [slack-api-ref@977dad5](https://github.com/slack-ruby/slack-api-ref/commit/977dad5) - [@slack-ruby-ci-bot](https://github.com/apps/slack-ruby-ci-bot).
* [#476](https://github.com/slack-ruby-client/pulls/476): Update API from [slack-api-ref@d0b2989](https://github.com/slack-ruby/slack-api-ref/commit/d0b2989) - [@slack-ruby-ci-bot](https://github.com/apps/slack-ruby-ci-bot).
* Your contribution here.

### 2.1.0 (2023/03/17)
Expand Down
2 changes: 1 addition & 1 deletion bin/commands/admin_apps_approved.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class App
g.desc 'List approved apps for an org or workspace.'
g.long_desc %( List approved apps for an org or workspace. )
g.command 'list' do |c|
c.flag 'certified', desc: 'Only return certified apps when true, return only non-certified apps when false.'
c.flag 'certified', desc: 'Limit the results to only include certified apps. When false, no certified apps will appear in the result.'
c.flag 'cursor', desc: 'Set cursor to next_cursor returned by the previous call to list items in the next page.'
c.flag 'enterprise_id', desc: '.'
c.flag 'limit', desc: 'The maximum number of items to return. Must be between 1 - 1000 both inclusive.'
Expand Down
2 changes: 1 addition & 1 deletion bin/commands/admin_apps_requests.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class App
g.desc 'List app requests for a team/workspace.'
g.long_desc %( List app requests for a team/workspace. )
g.command 'list' do |c|
c.flag 'certified', desc: 'Limit the results to only include certified apps. When false, no certified apps will appear in the result.'
c.flag 'certified', desc: 'Include requests for certified apps.'
c.flag 'cursor', desc: 'Set cursor to next_cursor returned by the previous call to list items in the next page.'
c.flag 'enterprise_id', desc: '.'
c.flag 'limit', desc: 'The maximum number of items to return. Must be between 1 - 1000 both inclusive.'
Expand Down
2 changes: 1 addition & 1 deletion bin/commands/admin_apps_restricted.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class App
g.desc 'List restricted apps for an org or workspace.'
g.long_desc %( List restricted apps for an org or workspace. )
g.command 'list' do |c|
c.flag 'certified', desc: 'Only return certified apps when true, return only non-certified apps when false.'
c.flag 'certified', desc: 'Limit the results to only include certified apps. When false, no certified apps will appear in the result.'
c.flag 'cursor', desc: 'Set cursor to next_cursor returned by the previous call to list items in the next page.'
c.flag 'enterprise_id', desc: '.'
c.flag 'limit', desc: 'The maximum number of items to return. Must be between 1 - 1000 both inclusive.'
Expand Down
2 changes: 1 addition & 1 deletion lib/slack/web/api/endpoints/admin_apps_approved.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module AdminAppsApproved
# List approved apps for an org or workspace.
#
# @option options [boolean] :certified
# Only return certified apps when true, return only non-certified apps when false.
# Limit the results to only include certified apps. When false, no certified apps will appear in the result.
# @option options [string] :cursor
# Set cursor to next_cursor returned by the previous call to list items in the next page.
# @option options [Object] :enterprise_id
Expand Down
2 changes: 1 addition & 1 deletion lib/slack/web/api/endpoints/admin_apps_requests.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def admin_apps_requests_cancel(options = {})
# List app requests for a team/workspace.
#
# @option options [boolean] :certified
# Limit the results to only include certified apps. When false, no certified apps will appear in the result.
# Include requests for certified apps.
# @option options [string] :cursor
# Set cursor to next_cursor returned by the previous call to list items in the next page.
# @option options [Object] :enterprise_id
Expand Down
2 changes: 1 addition & 1 deletion lib/slack/web/api/endpoints/admin_apps_restricted.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module AdminAppsRestricted
# List restricted apps for an org or workspace.
#
# @option options [boolean] :certified
# Only return certified apps when true, return only non-certified apps when false.
# Limit the results to only include certified apps. When false, no certified apps will appear in the result.
# @option options [string] :cursor
# Set cursor to next_cursor returned by the previous call to list items in the next page.
# @option options [Object] :enterprise_id
Expand Down
2 changes: 2 additions & 0 deletions lib/slack/web/api/errors.rb
Original file line number Diff line number Diff line change
Expand Up @@ -602,6 +602,7 @@ class UsersListNotSupplied < SlackError; end
class UsersNotFound < SlackError; end
class ValidationErrors < SlackError; end
class ViewTooLarge < SlackError; end
class WorkflowsExportCsvNotEnabled < SlackError; end

ERROR_CLASSES = {
'access_denied' => AccessDenied,
Expand Down Expand Up @@ -1201,6 +1202,7 @@ class ViewTooLarge < SlackError; end
'users_not_found' => UsersNotFound,
'validation_errors' => ValidationErrors,
'view_too_large' => ViewTooLarge,
'workflows_export_csv_not_enabled' => WorkflowsExportCsvNotEnabled,
}.freeze
end
end
Expand Down

0 comments on commit 71e99d1

Please sign in to comment.