From c36f68927024ea6219baac46fd06fee8cf2e341d Mon Sep 17 00:00:00 2001 From: slack-ruby-ci-bot Date: Fri, 5 May 2023 23:20:19 +0000 Subject: [PATCH] Update API from slack-api-ref@977dad5 (2023-05-05) --- CHANGELOG.md | 1 + bin/commands/admin_apps_approved.rb | 1 + bin/commands/admin_apps_restricted.rb | 1 + lib/slack/web/api/endpoints/admin_apps_approved.rb | 2 ++ lib/slack/web/api/endpoints/admin_apps_restricted.rb | 2 ++ lib/slack/web/api/slack-api-ref | 2 +- 6 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 53cbae71..131d227b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ * [#465](https://github.com/slack-ruby-client/pulls/465): Update API from [slack-api-ref@878be8f](https://github.com/slack-ruby/slack-api-ref/commit/878be8f) - [@slack-ruby-ci-bot](https://github.com/apps/slack-ruby-ci-bot). * [#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). * 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 79370797..088b5d23 100644 --- a/bin/commands/admin_apps_approved.rb +++ b/bin/commands/admin_apps_approved.rb @@ -9,6 +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 '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 f8c425ba..72bf81e0 100644 --- a/bin/commands/admin_apps_restricted.rb +++ b/bin/commands/admin_apps_restricted.rb @@ -9,6 +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 '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 04dc6b20..914138d2 100644 --- a/lib/slack/web/api/endpoints/admin_apps_approved.rb +++ b/lib/slack/web/api/endpoints/admin_apps_approved.rb @@ -9,6 +9,8 @@ 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. # @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 288f9cfb..63094eb5 100644 --- a/lib/slack/web/api/endpoints/admin_apps_restricted.rb +++ b/lib/slack/web/api/endpoints/admin_apps_restricted.rb @@ -9,6 +9,8 @@ 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. # @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/slack-api-ref b/lib/slack/web/api/slack-api-ref index 977dad5c..d0b2989a 160000 --- a/lib/slack/web/api/slack-api-ref +++ b/lib/slack/web/api/slack-api-ref @@ -1 +1 @@ -Subproject commit 977dad5cf4c1e3973f31d6352acf485539f90a04 +Subproject commit d0b2989a10b0e4f7dba2c284ce690e078211bd05