diff --git a/CHANGELOG.md b/CHANGELOG.md index 131d227b..0262a86d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/bin/commands/admin_apps_approved.rb b/bin/commands/admin_apps_approved.rb index 088b5d23..c427cdc9 100644 --- a/bin/commands/admin_apps_approved.rb +++ b/bin/commands/admin_apps_approved.rb @@ -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.' diff --git a/bin/commands/admin_apps_requests.rb b/bin/commands/admin_apps_requests.rb index e51c6db0..b0087cd5 100644 --- a/bin/commands/admin_apps_requests.rb +++ b/bin/commands/admin_apps_requests.rb @@ -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.' diff --git a/bin/commands/admin_apps_restricted.rb b/bin/commands/admin_apps_restricted.rb index 72bf81e0..b9ec76a3 100644 --- a/bin/commands/admin_apps_restricted.rb +++ b/bin/commands/admin_apps_restricted.rb @@ -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.' diff --git a/lib/slack/web/api/endpoints/admin_apps_approved.rb b/lib/slack/web/api/endpoints/admin_apps_approved.rb index 914138d2..d73d98b9 100644 --- a/lib/slack/web/api/endpoints/admin_apps_approved.rb +++ b/lib/slack/web/api/endpoints/admin_apps_approved.rb @@ -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 diff --git a/lib/slack/web/api/endpoints/admin_apps_requests.rb b/lib/slack/web/api/endpoints/admin_apps_requests.rb index 20a7173c..10254858 100644 --- a/lib/slack/web/api/endpoints/admin_apps_requests.rb +++ b/lib/slack/web/api/endpoints/admin_apps_requests.rb @@ -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 diff --git a/lib/slack/web/api/endpoints/admin_apps_restricted.rb b/lib/slack/web/api/endpoints/admin_apps_restricted.rb index 63094eb5..1b72a186 100644 --- a/lib/slack/web/api/endpoints/admin_apps_restricted.rb +++ b/lib/slack/web/api/endpoints/admin_apps_restricted.rb @@ -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 diff --git a/lib/slack/web/api/errors.rb b/lib/slack/web/api/errors.rb index de602d41..9be897c9 100644 --- a/lib/slack/web/api/errors.rb +++ b/lib/slack/web/api/errors.rb @@ -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, @@ -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 diff --git a/lib/slack/web/api/slack-api-ref b/lib/slack/web/api/slack-api-ref index d0b2989a..d7970554 160000 --- a/lib/slack/web/api/slack-api-ref +++ b/lib/slack/web/api/slack-api-ref @@ -1 +1 @@ -Subproject commit d0b2989a10b0e4f7dba2c284ce690e078211bd05 +Subproject commit d7970554b32869a586921e7072b64ec37ee47092