Skip to content

Commit

Permalink
Merge pull request #87 from braze-community/dependabot/composer/jane-…
Browse files Browse the repository at this point in the history
…php/open-api-3-7.8.0

build(deps-dev): update jane-php/open-api-3 requirement from 7.7.0 to 7.8.0
  • Loading branch information
remarkablemark authored Jul 4, 2024
2 parents 7c0884f + 51c6405 commit 79b842d
Show file tree
Hide file tree
Showing 100 changed files with 591 additions and 591 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"php": ">=8.0"
},
"require-dev": {
"jane-php/open-api-3": "7.7.0",
"jane-php/open-api-3": "7.8.0",
"nyholm/psr7": "^1.8",
"friendsofphp/php-cs-fixer": "^3.22",
"pestphp/pest": "^1.23 || ^2.0",
Expand Down
12 changes: 6 additions & 6 deletions lib/Endpoint/DeleteCatalogByCatalogName.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,22 +138,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re
return json_decode($body);
}
if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\DeleteCatalogByCatalogNameBadRequestException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\DeleteCatalogByCatalogNameBadRequestException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);
}
if (is_null($contentType) === false && (401 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\DeleteCatalogByCatalogNameUnauthorizedException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\DeleteCatalogByCatalogNameUnauthorizedException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);
}
if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\DeleteCatalogByCatalogNameForbiddenException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\DeleteCatalogByCatalogNameForbiddenException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);
}
if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\DeleteCatalogByCatalogNameNotFoundException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\DeleteCatalogByCatalogNameNotFoundException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);
}
if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\DeleteCatalogByCatalogNameTooManyRequestsException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\DeleteCatalogByCatalogNameTooManyRequestsException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);
}
if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\DeleteCatalogByCatalogNameInternalServerErrorException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\DeleteCatalogByCatalogNameInternalServerErrorException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);
}
}

Expand Down
12 changes: 6 additions & 6 deletions lib/Endpoint/DeleteCatalogsByCatalogNameItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -164,22 +164,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re
return json_decode($body);
}
if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\DeleteCatalogsByCatalogNameItemBadRequestException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\DeleteCatalogsByCatalogNameItemBadRequestException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);
}
if (is_null($contentType) === false && (401 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\DeleteCatalogsByCatalogNameItemUnauthorizedException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\DeleteCatalogsByCatalogNameItemUnauthorizedException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);
}
if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\DeleteCatalogsByCatalogNameItemForbiddenException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\DeleteCatalogsByCatalogNameItemForbiddenException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);
}
if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\DeleteCatalogsByCatalogNameItemNotFoundException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\DeleteCatalogsByCatalogNameItemNotFoundException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);
}
if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\DeleteCatalogsByCatalogNameItemTooManyRequestsException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\DeleteCatalogsByCatalogNameItemTooManyRequestsException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);
}
if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\DeleteCatalogsByCatalogNameItemInternalServerErrorException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\DeleteCatalogsByCatalogNameItemInternalServerErrorException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);
}
}

Expand Down
12 changes: 6 additions & 6 deletions lib/Endpoint/DeleteCatalogsByCatalogNameItemByItemId.php
Original file line number Diff line number Diff line change
Expand Up @@ -156,22 +156,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re
return json_decode($body);
}
if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\DeleteCatalogsByCatalogNameItemByItemIdBadRequestException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\DeleteCatalogsByCatalogNameItemByItemIdBadRequestException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);
}
if (is_null($contentType) === false && (401 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\DeleteCatalogsByCatalogNameItemByItemIdUnauthorizedException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\DeleteCatalogsByCatalogNameItemByItemIdUnauthorizedException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);
}
if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\DeleteCatalogsByCatalogNameItemByItemIdForbiddenException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\DeleteCatalogsByCatalogNameItemByItemIdForbiddenException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);
}
if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\DeleteCatalogsByCatalogNameItemByItemIdNotFoundException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\DeleteCatalogsByCatalogNameItemByItemIdNotFoundException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);
}
if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\DeleteCatalogsByCatalogNameItemByItemIdTooManyRequestsException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\DeleteCatalogsByCatalogNameItemByItemIdTooManyRequestsException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);
}
if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\DeleteCatalogsByCatalogNameItemByItemIdInternalServerErrorException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\DeleteCatalogsByCatalogNameItemByItemIdInternalServerErrorException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);
}
}

Expand Down
12 changes: 6 additions & 6 deletions lib/Endpoint/DeleteScimV2UserById.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,22 +116,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re
return json_decode($body);
}
if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\DeleteScimV2UserByIdBadRequestException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\DeleteScimV2UserByIdBadRequestException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);
}
if (is_null($contentType) === false && (401 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\DeleteScimV2UserByIdUnauthorizedException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\DeleteScimV2UserByIdUnauthorizedException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);
}
if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\DeleteScimV2UserByIdForbiddenException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\DeleteScimV2UserByIdForbiddenException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);
}
if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\DeleteScimV2UserByIdNotFoundException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\DeleteScimV2UserByIdNotFoundException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);
}
if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\DeleteScimV2UserByIdTooManyRequestsException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\DeleteScimV2UserByIdTooManyRequestsException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);
}
if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\DeleteScimV2UserByIdInternalServerErrorException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\DeleteScimV2UserByIdInternalServerErrorException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);
}
}

Expand Down
12 changes: 6 additions & 6 deletions lib/Endpoint/GetCampaignsDataSeries.php
Original file line number Diff line number Diff line change
Expand Up @@ -285,22 +285,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re
return json_decode($body);
}
if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\GetCampaignsDataSeriesBadRequestException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\GetCampaignsDataSeriesBadRequestException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);
}
if (is_null($contentType) === false && (401 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\GetCampaignsDataSeriesUnauthorizedException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\GetCampaignsDataSeriesUnauthorizedException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);
}
if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\GetCampaignsDataSeriesForbiddenException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\GetCampaignsDataSeriesForbiddenException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);
}
if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\GetCampaignsDataSeriesNotFoundException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\GetCampaignsDataSeriesNotFoundException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);
}
if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\GetCampaignsDataSeriesTooManyRequestsException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\GetCampaignsDataSeriesTooManyRequestsException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);
}
if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\GetCampaignsDataSeriesInternalServerErrorException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\GetCampaignsDataSeriesInternalServerErrorException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);
}
}

Expand Down
12 changes: 6 additions & 6 deletions lib/Endpoint/GetCampaignsDetail.php
Original file line number Diff line number Diff line change
Expand Up @@ -323,22 +323,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re
return json_decode($body);
}
if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\GetCampaignsDetailBadRequestException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\GetCampaignsDetailBadRequestException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);
}
if (is_null($contentType) === false && (401 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\GetCampaignsDetailUnauthorizedException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\GetCampaignsDetailUnauthorizedException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);
}
if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\GetCampaignsDetailForbiddenException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\GetCampaignsDetailForbiddenException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);
}
if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\GetCampaignsDetailNotFoundException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\GetCampaignsDetailNotFoundException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);
}
if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\GetCampaignsDetailTooManyRequestsException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\GetCampaignsDetailTooManyRequestsException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);
}
if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\GetCampaignsDetailInternalServerErrorException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\GetCampaignsDetailInternalServerErrorException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);
}
}

Expand Down
Loading

0 comments on commit 79b842d

Please sign in to comment.