diff --git a/generated/Client.php b/generated/Client.php index 2ef339e6..82a3f503 100644 --- a/generated/Client.php +++ b/generated/Client.php @@ -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) diff --git a/generated/Endpoint/OauthV2Access.php b/generated/Endpoint/OauthV2Access.php index 940ba136..68c5088e 100644 --- a/generated/Endpoint/OauthV2Access.php +++ b/generated/Endpoint/OauthV2Access.php @@ -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 = []) @@ -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; } diff --git a/resources/slack-openapi-sorted.patch b/resources/slack-openapi-sorted.patch index 9585c6dc..de12ae8b 100644 --- a/resources/slack-openapi-sorted.patch +++ b/resources/slack-openapi-sorted.patch @@ -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"