Skip to content

Commit

Permalink
fix(jane): Rebuild the SDK with newer version of Jane (#171)
Browse files Browse the repository at this point in the history
  • Loading branch information
damienalexandre authored Jun 28, 2024
1 parent afec681 commit 31a49b5
Show file tree
Hide file tree
Showing 683 changed files with 8,401 additions and 7,498 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changes between versions

## 4.7.1 (2024-06-28)

* Upgrade JanePHP generated code
* Allow more version of `jane-php/open-api-runtime`

## 4.7.0 (2024-01-31)

* Upgrade JanePHP generated code
Expand Down
348 changes: 174 additions & 174 deletions generated/Client.php

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions generated/Endpoint/AdminAppsApprove.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,14 +90,14 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv
/**
* @return \JoliCode\Slack\Api\Model\AdminAppsApprovePostResponse200|\JoliCode\Slack\Api\Model\AdminAppsApprovePostResponsedefault|null
*/
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, string $contentType = null)
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null)
{
$status = $response->getStatusCode();
$body = (string) $response->getBody();
if (200 === $status) {
return $serializer->deserialize($body, 'JoliCode\\Slack\\Api\\Model\\AdminAppsApprovePostResponse200', 'json');
return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminAppsApprovePostResponse200', 'json');
}

return $serializer->deserialize($body, 'JoliCode\\Slack\\Api\\Model\\AdminAppsApprovePostResponsedefault', 'json');
return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminAppsApprovePostResponsedefault', 'json');
}
}
6 changes: 3 additions & 3 deletions generated/Endpoint/AdminAppsApprovedList.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,14 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver
/**
* @return \JoliCode\Slack\Api\Model\AdminAppsApprovedListGetResponse200|\JoliCode\Slack\Api\Model\AdminAppsApprovedListGetResponsedefault|null
*/
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, string $contentType = null)
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null)
{
$status = $response->getStatusCode();
$body = (string) $response->getBody();
if (200 === $status) {
return $serializer->deserialize($body, 'JoliCode\\Slack\\Api\\Model\\AdminAppsApprovedListGetResponse200', 'json');
return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminAppsApprovedListGetResponse200', 'json');
}

return $serializer->deserialize($body, 'JoliCode\\Slack\\Api\\Model\\AdminAppsApprovedListGetResponsedefault', 'json');
return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminAppsApprovedListGetResponsedefault', 'json');
}
}
6 changes: 3 additions & 3 deletions generated/Endpoint/AdminAppsRequestsList.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,14 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver
/**
* @return \JoliCode\Slack\Api\Model\AdminAppsRequestsListGetResponse200|\JoliCode\Slack\Api\Model\AdminAppsRequestsListGetResponsedefault|null
*/
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, string $contentType = null)
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null)
{
$status = $response->getStatusCode();
$body = (string) $response->getBody();
if (200 === $status) {
return $serializer->deserialize($body, 'JoliCode\\Slack\\Api\\Model\\AdminAppsRequestsListGetResponse200', 'json');
return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminAppsRequestsListGetResponse200', 'json');
}

return $serializer->deserialize($body, 'JoliCode\\Slack\\Api\\Model\\AdminAppsRequestsListGetResponsedefault', 'json');
return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminAppsRequestsListGetResponsedefault', 'json');
}
}
6 changes: 3 additions & 3 deletions generated/Endpoint/AdminAppsRestrict.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,14 +90,14 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv
/**
* @return \JoliCode\Slack\Api\Model\AdminAppsRestrictPostResponse200|\JoliCode\Slack\Api\Model\AdminAppsRestrictPostResponsedefault|null
*/
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, string $contentType = null)
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null)
{
$status = $response->getStatusCode();
$body = (string) $response->getBody();
if (200 === $status) {
return $serializer->deserialize($body, 'JoliCode\\Slack\\Api\\Model\\AdminAppsRestrictPostResponse200', 'json');
return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminAppsRestrictPostResponse200', 'json');
}

return $serializer->deserialize($body, 'JoliCode\\Slack\\Api\\Model\\AdminAppsRestrictPostResponsedefault', 'json');
return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminAppsRestrictPostResponsedefault', 'json');
}
}
6 changes: 3 additions & 3 deletions generated/Endpoint/AdminAppsRestrictedList.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,14 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver
/**
* @return \JoliCode\Slack\Api\Model\AdminAppsRestrictedListGetResponse200|\JoliCode\Slack\Api\Model\AdminAppsRestrictedListGetResponsedefault|null
*/
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, string $contentType = null)
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null)
{
$status = $response->getStatusCode();
$body = (string) $response->getBody();
if (200 === $status) {
return $serializer->deserialize($body, 'JoliCode\\Slack\\Api\\Model\\AdminAppsRestrictedListGetResponse200', 'json');
return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminAppsRestrictedListGetResponse200', 'json');
}

return $serializer->deserialize($body, 'JoliCode\\Slack\\Api\\Model\\AdminAppsRestrictedListGetResponsedefault', 'json');
return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminAppsRestrictedListGetResponsedefault', 'json');
}
}
6 changes: 3 additions & 3 deletions generated/Endpoint/AdminConversationsArchive.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,14 +86,14 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv
/**
* @return \JoliCode\Slack\Api\Model\AdminConversationsArchivePostResponse200|\JoliCode\Slack\Api\Model\AdminConversationsArchivePostResponsedefault|null
*/
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, string $contentType = null)
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null)
{
$status = $response->getStatusCode();
$body = (string) $response->getBody();
if (200 === $status) {
return $serializer->deserialize($body, 'JoliCode\\Slack\\Api\\Model\\AdminConversationsArchivePostResponse200', 'json');
return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminConversationsArchivePostResponse200', 'json');
}

return $serializer->deserialize($body, 'JoliCode\\Slack\\Api\\Model\\AdminConversationsArchivePostResponsedefault', 'json');
return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminConversationsArchivePostResponsedefault', 'json');
}
}
6 changes: 3 additions & 3 deletions generated/Endpoint/AdminConversationsConvertToPrivate.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,14 +86,14 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv
/**
* @return \JoliCode\Slack\Api\Model\AdminConversationsConvertToPrivatePostResponse200|\JoliCode\Slack\Api\Model\AdminConversationsConvertToPrivatePostResponsedefault|null
*/
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, string $contentType = null)
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null)
{
$status = $response->getStatusCode();
$body = (string) $response->getBody();
if (200 === $status) {
return $serializer->deserialize($body, 'JoliCode\\Slack\\Api\\Model\\AdminConversationsConvertToPrivatePostResponse200', 'json');
return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminConversationsConvertToPrivatePostResponse200', 'json');
}

return $serializer->deserialize($body, 'JoliCode\\Slack\\Api\\Model\\AdminConversationsConvertToPrivatePostResponsedefault', 'json');
return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminConversationsConvertToPrivatePostResponsedefault', 'json');
}
}
6 changes: 3 additions & 3 deletions generated/Endpoint/AdminConversationsCreate.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,14 +94,14 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv
/**
* @return \JoliCode\Slack\Api\Model\AdminConversationsCreatePostResponse200|\JoliCode\Slack\Api\Model\AdminConversationsCreatePostResponsedefault|null
*/
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, string $contentType = null)
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null)
{
$status = $response->getStatusCode();
$body = (string) $response->getBody();
if (200 === $status) {
return $serializer->deserialize($body, 'JoliCode\\Slack\\Api\\Model\\AdminConversationsCreatePostResponse200', 'json');
return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminConversationsCreatePostResponse200', 'json');
}

return $serializer->deserialize($body, 'JoliCode\\Slack\\Api\\Model\\AdminConversationsCreatePostResponsedefault', 'json');
return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminConversationsCreatePostResponsedefault', 'json');
}
}
6 changes: 3 additions & 3 deletions generated/Endpoint/AdminConversationsDelete.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,14 +86,14 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv
/**
* @return \JoliCode\Slack\Api\Model\AdminConversationsDeletePostResponse200|\JoliCode\Slack\Api\Model\AdminConversationsDeletePostResponsedefault|null
*/
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, string $contentType = null)
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null)
{
$status = $response->getStatusCode();
$body = (string) $response->getBody();
if (200 === $status) {
return $serializer->deserialize($body, 'JoliCode\\Slack\\Api\\Model\\AdminConversationsDeletePostResponse200', 'json');
return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminConversationsDeletePostResponse200', 'json');
}

return $serializer->deserialize($body, 'JoliCode\\Slack\\Api\\Model\\AdminConversationsDeletePostResponsedefault', 'json');
return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminConversationsDeletePostResponsedefault', 'json');
}
}
6 changes: 3 additions & 3 deletions generated/Endpoint/AdminConversationsDisconnectShared.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,14 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv
/**
* @return \JoliCode\Slack\Api\Model\AdminConversationsDisconnectSharedPostResponse200|\JoliCode\Slack\Api\Model\AdminConversationsDisconnectSharedPostResponsedefault|null
*/
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, string $contentType = null)
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null)
{
$status = $response->getStatusCode();
$body = (string) $response->getBody();
if (200 === $status) {
return $serializer->deserialize($body, 'JoliCode\\Slack\\Api\\Model\\AdminConversationsDisconnectSharedPostResponse200', 'json');
return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminConversationsDisconnectSharedPostResponse200', 'json');
}

return $serializer->deserialize($body, 'JoliCode\\Slack\\Api\\Model\\AdminConversationsDisconnectSharedPostResponsedefault', 'json');
return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminConversationsDisconnectSharedPostResponsedefault', 'json');
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,14 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver
/**
* @return \JoliCode\Slack\Api\Model\AdminConversationsEkmListOriginalConnectedChannelInfoGetResponse200|\JoliCode\Slack\Api\Model\AdminConversationsEkmListOriginalConnectedChannelInfoGetResponsedefault|null
*/
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, string $contentType = null)
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null)
{
$status = $response->getStatusCode();
$body = (string) $response->getBody();
if (200 === $status) {
return $serializer->deserialize($body, 'JoliCode\\Slack\\Api\\Model\\AdminConversationsEkmListOriginalConnectedChannelInfoGetResponse200', 'json');
return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminConversationsEkmListOriginalConnectedChannelInfoGetResponse200', 'json');
}

return $serializer->deserialize($body, 'JoliCode\\Slack\\Api\\Model\\AdminConversationsEkmListOriginalConnectedChannelInfoGetResponsedefault', 'json');
return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminConversationsEkmListOriginalConnectedChannelInfoGetResponsedefault', 'json');
}
}
6 changes: 3 additions & 3 deletions generated/Endpoint/AdminConversationsGetConversationPrefs.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,14 +86,14 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv
/**
* @return \JoliCode\Slack\Api\Model\AdminConversationsGetConversationPrefsGetResponse200|\JoliCode\Slack\Api\Model\AdminConversationsGetConversationPrefsGetResponsedefault|null
*/
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, string $contentType = null)
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null)
{
$status = $response->getStatusCode();
$body = (string) $response->getBody();
if (200 === $status) {
return $serializer->deserialize($body, 'JoliCode\\Slack\\Api\\Model\\AdminConversationsGetConversationPrefsGetResponse200', 'json');
return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminConversationsGetConversationPrefsGetResponse200', 'json');
}

return $serializer->deserialize($body, 'JoliCode\\Slack\\Api\\Model\\AdminConversationsGetConversationPrefsGetResponsedefault', 'json');
return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminConversationsGetConversationPrefsGetResponsedefault', 'json');
}
}
6 changes: 3 additions & 3 deletions generated/Endpoint/AdminConversationsGetTeams.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,14 +90,14 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv
/**
* @return \JoliCode\Slack\Api\Model\AdminConversationsGetTeamsGetResponse200|\JoliCode\Slack\Api\Model\AdminConversationsGetTeamsGetResponsedefault|null
*/
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, string $contentType = null)
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null)
{
$status = $response->getStatusCode();
$body = (string) $response->getBody();
if (200 === $status) {
return $serializer->deserialize($body, 'JoliCode\\Slack\\Api\\Model\\AdminConversationsGetTeamsGetResponse200', 'json');
return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminConversationsGetTeamsGetResponse200', 'json');
}

return $serializer->deserialize($body, 'JoliCode\\Slack\\Api\\Model\\AdminConversationsGetTeamsGetResponsedefault', 'json');
return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminConversationsGetTeamsGetResponsedefault', 'json');
}
}
6 changes: 3 additions & 3 deletions generated/Endpoint/AdminConversationsInvite.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,14 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv
/**
* @return \JoliCode\Slack\Api\Model\AdminConversationsInvitePostResponse200|\JoliCode\Slack\Api\Model\AdminConversationsInvitePostResponsedefault|null
*/
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, string $contentType = null)
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null)
{
$status = $response->getStatusCode();
$body = (string) $response->getBody();
if (200 === $status) {
return $serializer->deserialize($body, 'JoliCode\\Slack\\Api\\Model\\AdminConversationsInvitePostResponse200', 'json');
return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminConversationsInvitePostResponse200', 'json');
}

return $serializer->deserialize($body, 'JoliCode\\Slack\\Api\\Model\\AdminConversationsInvitePostResponsedefault', 'json');
return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminConversationsInvitePostResponsedefault', 'json');
}
}
6 changes: 3 additions & 3 deletions generated/Endpoint/AdminConversationsRename.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,14 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv
/**
* @return \JoliCode\Slack\Api\Model\AdminConversationsRenamePostResponse200|\JoliCode\Slack\Api\Model\AdminConversationsRenamePostResponsedefault|null
*/
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, string $contentType = null)
protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null)
{
$status = $response->getStatusCode();
$body = (string) $response->getBody();
if (200 === $status) {
return $serializer->deserialize($body, 'JoliCode\\Slack\\Api\\Model\\AdminConversationsRenamePostResponse200', 'json');
return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminConversationsRenamePostResponse200', 'json');
}

return $serializer->deserialize($body, 'JoliCode\\Slack\\Api\\Model\\AdminConversationsRenamePostResponsedefault', 'json');
return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminConversationsRenamePostResponsedefault', 'json');
}
}
Loading

0 comments on commit 31a49b5

Please sign in to comment.