Skip to content

Commit

Permalink
Fix SDK sync
Browse files Browse the repository at this point in the history
  • Loading branch information
bensicard committed Jul 4, 2024
1 parent 755c084 commit b5c9e1d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions generated/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -2813,9 +2813,9 @@ public function oauthToken(array $queryParameters = [], string $fetch = self::FE
* @var string $client_id issued when you created your application
* @var string $client_secret issued when you created your application
* @var string $code the `code` param returned via the OAuth callback
* @var string $grant_type the type of grant used to obtain a new access token
* @var string $redirect_uri this must match the originally submitted URI (if one was sent)
* @var string $refresh_token the token used to obtain a new access token
* @var string $grant_type The type of grant used to obtain a new access token.
* @var string $refresh_token The token used to obtain a new access token.
* }
*
* @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE)
Expand Down
8 changes: 4 additions & 4 deletions generated/Endpoint/OauthV2Access.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ class OauthV2Access extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint impl
* @var string $client_id issued when you created your application
* @var string $client_secret issued when you created your application
* @var string $code the `code` param returned via the OAuth callback
* @var string $grant_type the type of grant used to obtain a new access token
* @var string $redirect_uri this must match the originally submitted URI (if one was sent)
* @var string $refresh_token the token used to obtain a new access token
* @var string $grant_type The type of grant used to obtain a new access token.
* @var string $refresh_token The token used to obtain a new access token.
* }
*/
public function __construct(array $queryParameters = [])
Expand Down Expand Up @@ -63,15 +63,15 @@ public function getAuthenticationScopes(): array
protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver
{
$optionsResolver = parent::getQueryOptionsResolver();
$optionsResolver->setDefined(['client_id', 'client_secret', 'code', 'redirect_uri', 'refresh_token', 'grant_type']);
$optionsResolver->setDefined(['client_id', 'client_secret', 'code', 'grant_type', 'redirect_uri', 'refresh_token']);
$optionsResolver->setRequired([]);
$optionsResolver->setDefaults([]);
$optionsResolver->addAllowedTypes('client_id', ['string']);
$optionsResolver->addAllowedTypes('client_secret', ['string']);
$optionsResolver->addAllowedTypes('code', ['string']);
$optionsResolver->addAllowedTypes('grant_type', ['string']);
$optionsResolver->addAllowedTypes('redirect_uri', ['string']);
$optionsResolver->addAllowedTypes('refresh_token', ['string']);
$optionsResolver->addAllowedTypes('grant_type', ['string']);

return $optionsResolver;
}
Expand Down
4 changes: 2 additions & 2 deletions resources/slack-openapi-sorted.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--- resources/slack-openapi-sorted.json 2024-07-03 17:48:23.396856000 +0200
+++ resources/slack-openapi-patched.json 2024-07-03 17:50:47.496823800 +0200
--- resources/slack-openapi-sorted.json 2024-07-03 17:51:32.173508600 +0200
+++ resources/slack-openapi-patched.json 2024-07-04 17:16:46.608180900 +0200
@@ -397,21 +397,24 @@
},
"type": "array"
Expand Down

0 comments on commit b5c9e1d

Please sign in to comment.