Skip to content

Commit

Permalink
Changes by create-pull-request action (#24)
Browse files Browse the repository at this point in the history
Automated changes by
[create-pull-request](https://github.com/peter-evans/create-pull-request)
GitHub action

Co-authored-by: qdequippe <3193300+qdequippe@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and qdequippe authored Sep 9, 2024
1 parent 145e5ba commit b6305cf
Show file tree
Hide file tree
Showing 50 changed files with 798 additions and 0 deletions.
21 changes: 21 additions & 0 deletions generated/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,7 @@ public function getContactsContactId(string $contactId, string $fetch = self::FE
* @throws Exception\PatchContactsContactIdUnauthorizedException
* @throws Exception\PatchContactsContactIdForbiddenException
* @throws Exception\PatchContactsContactIdNotFoundException
* @throws Exception\PatchContactsContactIdUnsupportedMediaTypeException
*/
public function patchContactsContactId(string $contactId, ?UpdateContact $requestBody = null, string $fetch = self::FETCH_OBJECT)
{
Expand Down Expand Up @@ -345,6 +346,7 @@ public function getCustomExperiences(array $queryParameters = [], string $fetch
* @throws Exception\PostCustomExperienceBadRequestException
* @throws Exception\PostCustomExperienceUnauthorizedException
* @throws Exception\PostCustomExperienceForbiddenException
* @throws Exception\PostCustomExperienceUnsupportedMediaTypeException
*/
public function postCustomExperience(?CreateCustomExperience $requestBody = null, string $fetch = self::FETCH_OBJECT)
{
Expand Down Expand Up @@ -559,6 +561,7 @@ public function downloadElectronicSealImage(string $electronicSealImageId, strin
* @throws Exception\PostElectronicSealsBadRequestException
* @throws Exception\PostElectronicSealsUnauthorizedException
* @throws Exception\PostElectronicSealsForbiddenException
* @throws Exception\PostElectronicSealsUnsupportedMediaTypeException
*/
public function postElectronicSeals(?CreateElectronicSealPayload $requestBody = null, string $fetch = self::FETCH_OBJECT)
{
Expand Down Expand Up @@ -650,6 +653,7 @@ public function getSignatureRequests(array $queryParameters = [], string $fetch
* @throws Exception\PostSignatureRequestsUnauthorizedException
* @throws Exception\PostSignatureRequestsForbiddenException
* @throws Exception\PostSignatureRequestsNotFoundException
* @throws Exception\PostSignatureRequestsUnsupportedMediaTypeException
*/
public function postSignatureRequests(?CreateSignatureRequest $requestBody = null, string $fetch = self::FETCH_OBJECT)
{
Expand Down Expand Up @@ -709,6 +713,7 @@ public function getSignatureRequestsSignatureRequestId(string $signatureRequestI
* @throws Exception\PatchSignatureRequestsSignatureRequestIdUnauthorizedException
* @throws Exception\PatchSignatureRequestsSignatureRequestIdForbiddenException
* @throws Exception\PatchSignatureRequestsSignatureRequestIdNotFoundException
* @throws Exception\PatchSignatureRequestsSignatureRequestIdUnsupportedMediaTypeException
*/
public function patchSignatureRequestsSignatureRequestId(string $signatureRequestId, ?UpdateSignatureRequest $requestBody = null, string $fetch = self::FETCH_OBJECT)
{
Expand Down Expand Up @@ -746,6 +751,7 @@ public function postSignatureRequestsSignatureRequestIdActivate(string $signatur
* @throws Exception\PostSignatureRequestsSignatureRequestIdApproversUnauthorizedException
* @throws Exception\PostSignatureRequestsSignatureRequestIdApproversForbiddenException
* @throws Exception\PostSignatureRequestsSignatureRequestIdApproversNotFoundException
* @throws Exception\PostSignatureRequestsSignatureRequestIdApproversUnsupportedMediaTypeException
*/
public function postSignatureRequestsSignatureRequestIdApprovers(string $signatureRequestId, ?\stdClass $requestBody = null, string $fetch = self::FETCH_OBJECT)
{
Expand Down Expand Up @@ -802,6 +808,7 @@ public function getSignatureRequestsSignatureRequestIdApproversApproverId(string
* @throws Exception\PatchSignatureRequestsSignatureRequestIdApproversApproverIdUnauthorizedException
* @throws Exception\PatchSignatureRequestsSignatureRequestIdApproversApproverIdForbiddenException
* @throws Exception\PatchSignatureRequestsSignatureRequestIdApproversApproverIdNotFoundException
* @throws Exception\PatchSignatureRequestsSignatureRequestIdApproversApproverIdUnsupportedMediaTypeException
*/
public function patchSignatureRequestsSignatureRequestIdApproversApproverId(string $signatureRequestId, string $approverId, ?PatchSignatureRequestsSignatureRequestIdApproversApproverIdRequest $requestBody = null, string $fetch = self::FETCH_OBJECT)
{
Expand Down Expand Up @@ -863,6 +870,7 @@ public function getSignatureRequestsSignatureRequestIdAuditTrailsDownload(string
* @throws Exception\PostSignatureRequestsSignatureRequestIdCancelUnauthorizedException
* @throws Exception\PostSignatureRequestsSignatureRequestIdCancelForbiddenException
* @throws Exception\PostSignatureRequestsSignatureRequestIdCancelNotFoundException
* @throws Exception\PostSignatureRequestsSignatureRequestIdCancelUnsupportedMediaTypeException
*/
public function postSignatureRequestsSignatureRequestIdCancel(string $signatureRequestId, ?PostSignatureRequestsSignatureRequestIdCancelRequest $requestBody = null, string $fetch = self::FETCH_OBJECT)
{
Expand All @@ -881,6 +889,7 @@ public function postSignatureRequestsSignatureRequestIdCancel(string $signatureR
* @throws Exception\PostSignatureRequestsSignatureRequestIdDocumentRequestsUnauthorizedException
* @throws Exception\PostSignatureRequestsSignatureRequestIdDocumentRequestsForbiddenException
* @throws Exception\PostSignatureRequestsSignatureRequestIdDocumentRequestsNotFoundException
* @throws Exception\PostSignatureRequestsSignatureRequestIdDocumentRequestsUnsupportedMediaTypeException
*/
public function postSignatureRequestsSignatureRequestIdDocumentRequests(string $signatureRequestId, ?CreateSignerDocumentRequest $requestBody = null, string $fetch = self::FETCH_OBJECT)
{
Expand Down Expand Up @@ -1061,6 +1070,7 @@ public function getSignatureRequestsSignatureRequestIdDocumentsDocumentId(string
* @throws Exception\PatchSignatureRequestsSignatureRequestIdDocumentsDocumentIdUnauthorizedException
* @throws Exception\PatchSignatureRequestsSignatureRequestIdDocumentsDocumentIdForbiddenException
* @throws Exception\PatchSignatureRequestsSignatureRequestIdDocumentsDocumentIdNotFoundException
* @throws Exception\PatchSignatureRequestsSignatureRequestIdDocumentsDocumentIdUnsupportedMediaTypeException
*/
public function patchSignatureRequestsSignatureRequestIdDocumentsDocumentId(string $signatureRequestId, string $documentId, ?UpdateDocument $requestBody = null, string $fetch = self::FETCH_OBJECT)
{
Expand Down Expand Up @@ -1125,6 +1135,7 @@ public function getSignatureRequestsSignatureRequestIdDocumentsDocumentIdFields(
* @throws Exception\PostSignatureRequestsSignatureRequestIdDocumentsDocumentIdFieldsUnauthorizedException
* @throws Exception\PostSignatureRequestsSignatureRequestIdDocumentsDocumentIdFieldsForbiddenException
* @throws Exception\PostSignatureRequestsSignatureRequestIdDocumentsDocumentIdFieldsNotFoundException
* @throws Exception\PostSignatureRequestsSignatureRequestIdDocumentsDocumentIdFieldsUnsupportedMediaTypeException
*/
public function postSignatureRequestsSignatureRequestIdDocumentsDocumentIdFields(string $signatureRequestId, string $documentId, ?\stdClass $requestBody = null, string $fetch = self::FETCH_OBJECT)
{
Expand Down Expand Up @@ -1220,6 +1231,7 @@ public function getSignatureRequestsSignatureRequestIdFollowers(string $signatur
* @throws Exception\PostSignatureRequestsSignatureRequestIdFollowersUnauthorizedException
* @throws Exception\PostSignatureRequestsSignatureRequestIdFollowersForbiddenException
* @throws Exception\PostSignatureRequestsSignatureRequestIdFollowersNotFoundException
* @throws Exception\PostSignatureRequestsSignatureRequestIdFollowersUnsupportedMediaTypeException
*/
public function postSignatureRequestsSignatureRequestIdFollowers(string $signatureRequestId, ?array $requestBody = null, string $fetch = self::FETCH_OBJECT)
{
Expand Down Expand Up @@ -1272,6 +1284,7 @@ public function getSignatureRequestsSignatureRequestIdMetadata(string $signature
* @throws Exception\PostSignatureRequestsSignatureRequestIdMetadataUnauthorizedException
* @throws Exception\PostSignatureRequestsSignatureRequestIdMetadataForbiddenException
* @throws Exception\PostSignatureRequestsSignatureRequestIdMetadataNotFoundException
* @throws Exception\PostSignatureRequestsSignatureRequestIdMetadataUnsupportedMediaTypeException
*/
public function postSignatureRequestsSignatureRequestIdMetadata(string $signatureRequestId, ?CreateSignatureRequestMetadata $requestBody = null, string $fetch = self::FETCH_OBJECT)
{
Expand Down Expand Up @@ -1308,6 +1321,7 @@ public function putSignatureRequestsSignatureRequestIdMetadata(string $signature
* @throws Exception\PostSignatureRequestsSignatureRequestIdReactivateUnauthorizedException
* @throws Exception\PostSignatureRequestsSignatureRequestIdReactivateForbiddenException
* @throws Exception\PostSignatureRequestsSignatureRequestIdReactivateNotFoundException
* @throws Exception\PostSignatureRequestsSignatureRequestIdReactivateUnsupportedMediaTypeException
*/
public function postSignatureRequestsSignatureRequestIdReactivate(string $signatureRequestId, ?PostSignatureRequestsSignatureRequestIdReactivateRequest $requestBody = null, string $fetch = self::FETCH_OBJECT)
{
Expand Down Expand Up @@ -1343,6 +1357,7 @@ public function getSignatureRequestsSignatureRequestIdSigners(string $signatureR
* @throws Exception\PostSignatureRequestsSignatureRequestIdSignersUnauthorizedException
* @throws Exception\PostSignatureRequestsSignatureRequestIdSignersForbiddenException
* @throws Exception\PostSignatureRequestsSignatureRequestIdSignersNotFoundException
* @throws Exception\PostSignatureRequestsSignatureRequestIdSignersUnsupportedMediaTypeException
*/
public function postSignatureRequestsSignatureRequestIdSigners(string $signatureRequestId, ?\stdClass $requestBody = null, string $fetch = self::FETCH_OBJECT)
{
Expand Down Expand Up @@ -1400,6 +1415,7 @@ public function getSignersSignersId(string $signatureRequestId, string $signerId
* @throws Exception\PatchSignatureRequestsSignatureRequestIdSignersSignerIdUnauthorizedException
* @throws Exception\PatchSignatureRequestsSignatureRequestIdSignersSignerIdForbiddenException
* @throws Exception\PatchSignatureRequestsSignatureRequestIdSignersSignerIdNotFoundException
* @throws Exception\PatchSignatureRequestsSignatureRequestIdSignersSignerIdUnsupportedMediaTypeException
*/
public function patchSignatureRequestsSignatureRequestIdSignersSignerId(string $signatureRequestId, string $signerId, ?UpdateSigner $requestBody = null, string $fetch = self::FETCH_OBJECT)
{
Expand Down Expand Up @@ -1634,6 +1650,7 @@ public function getWebhooks(string $fetch = self::FETCH_OBJECT)
* @throws Exception\PostWebhooksSubscriptionsUnauthorizedException
* @throws Exception\PostWebhooksSubscriptionsForbiddenException
* @throws Exception\PostWebhooksSubscriptionsNotFoundException
* @throws Exception\PostWebhooksSubscriptionsUnsupportedMediaTypeException
*/
public function postWebhooksSubscriptions(?CreateWebhookSubscription $requestBody = null, string $fetch = self::FETCH_OBJECT)
{
Expand Down Expand Up @@ -1728,6 +1745,7 @@ public function getWorkspaces(array $queryParameters = [], string $fetch = self:
* @throws Exception\PostWorkspaceUnauthorizedException
* @throws Exception\PostWorkspaceForbiddenException
* @throws Exception\PostWorkspaceNotFoundException
* @throws Exception\PostWorkspaceUnsupportedMediaTypeException
*/
public function postWorkspace(?CreateWorkspace $requestBody = null, string $fetch = self::FETCH_OBJECT)
{
Expand Down Expand Up @@ -1759,6 +1777,7 @@ public function getWorkspacesDefault(string $fetch = self::FETCH_OBJECT)
* @throws Exception\MarkWorkspaceAsDefaultBadRequestException
* @throws Exception\MarkWorkspaceAsDefaultUnauthorizedException
* @throws Exception\MarkWorkspaceAsDefaultForbiddenException
* @throws Exception\MarkWorkspaceAsDefaultUnsupportedMediaTypeException
*/
public function markWorkspaceAsDefault(?MarkWorkspaceAsDefault $requestBody = null, string $fetch = self::FETCH_OBJECT)
{
Expand All @@ -1777,6 +1796,7 @@ public function markWorkspaceAsDefault(?MarkWorkspaceAsDefault $requestBody = nu
* @throws Exception\DeleteWorkspaceUnauthorizedException
* @throws Exception\DeleteWorkspaceForbiddenException
* @throws Exception\DeleteWorkspaceNotFoundException
* @throws Exception\DeleteWorkspaceUnsupportedMediaTypeException
*/
public function deleteWorkspace(string $workspaceId, ?DeleteWorkspace $requestBody = null, string $fetch = self::FETCH_OBJECT)
{
Expand Down Expand Up @@ -1814,6 +1834,7 @@ public function getWorkspacesWorkspaceId(string $workspaceId, string $fetch = se
* @throws Exception\PatchWorkspacesWorkspaceIdUnauthorizedException
* @throws Exception\PatchWorkspacesWorkspaceIdForbiddenException
* @throws Exception\PatchWorkspacesWorkspaceIdNotFoundException
* @throws Exception\PatchWorkspacesWorkspaceIdUnsupportedMediaTypeException
*/
public function patchWorkspacesWorkspaceId(string $workspaceId, ?UpdateWorkspace $requestBody = null, string $fetch = self::FETCH_OBJECT)
{
Expand Down
5 changes: 5 additions & 0 deletions generated/Endpoint/DeleteWorkspace.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
use Qdequippe\Yousign\Api\Exception\DeleteWorkspaceForbiddenException;
use Qdequippe\Yousign\Api\Exception\DeleteWorkspaceNotFoundException;
use Qdequippe\Yousign\Api\Exception\DeleteWorkspaceUnauthorizedException;
use Qdequippe\Yousign\Api\Exception\DeleteWorkspaceUnsupportedMediaTypeException;
use Qdequippe\Yousign\Api\Model\PostArchives401Response;
use Qdequippe\Yousign\Api\Model\ViolationResponse;
use Qdequippe\Yousign\Api\Runtime\Client\BaseEndpoint;
Expand Down Expand Up @@ -57,6 +58,7 @@ public function getExtraHeaders(): array
* @throws DeleteWorkspaceUnauthorizedException
* @throws DeleteWorkspaceForbiddenException
* @throws DeleteWorkspaceNotFoundException
* @throws DeleteWorkspaceUnsupportedMediaTypeException
*/
protected function transformResponseBody(ResponseInterface $response, SerializerInterface $serializer, ?string $contentType = null)
{
Expand All @@ -77,6 +79,9 @@ protected function transformResponseBody(ResponseInterface $response, Serializer
if (null !== $contentType && (404 === $status && false !== mb_strpos($contentType, 'application/json'))) {
throw new DeleteWorkspaceNotFoundException($response);
}
if (null !== $contentType && (415 === $status && false !== mb_strpos($contentType, 'application/json'))) {
throw new DeleteWorkspaceUnsupportedMediaTypeException($serializer->deserialize($body, ViolationResponse::class, 'json'), $response);
}

return null;
}
Expand Down
5 changes: 5 additions & 0 deletions generated/Endpoint/MarkWorkspaceAsDefault.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
use Qdequippe\Yousign\Api\Exception\MarkWorkspaceAsDefaultBadRequestException;
use Qdequippe\Yousign\Api\Exception\MarkWorkspaceAsDefaultForbiddenException;
use Qdequippe\Yousign\Api\Exception\MarkWorkspaceAsDefaultUnauthorizedException;
use Qdequippe\Yousign\Api\Exception\MarkWorkspaceAsDefaultUnsupportedMediaTypeException;
use Qdequippe\Yousign\Api\Model\PostArchives401Response;
use Qdequippe\Yousign\Api\Model\ViolationResponse;
use Qdequippe\Yousign\Api\Runtime\Client\BaseEndpoint;
Expand Down Expand Up @@ -53,6 +54,7 @@ public function getExtraHeaders(): array
* @throws MarkWorkspaceAsDefaultBadRequestException
* @throws MarkWorkspaceAsDefaultUnauthorizedException
* @throws MarkWorkspaceAsDefaultForbiddenException
* @throws MarkWorkspaceAsDefaultUnsupportedMediaTypeException
*/
protected function transformResponseBody(ResponseInterface $response, SerializerInterface $serializer, ?string $contentType = null)
{
Expand All @@ -70,6 +72,9 @@ protected function transformResponseBody(ResponseInterface $response, Serializer
if (null !== $contentType && (403 === $status && false !== mb_strpos($contentType, 'application/json'))) {
throw new MarkWorkspaceAsDefaultForbiddenException($response);
}
if (null !== $contentType && (415 === $status && false !== mb_strpos($contentType, 'application/json'))) {
throw new MarkWorkspaceAsDefaultUnsupportedMediaTypeException($serializer->deserialize($body, ViolationResponse::class, 'json'), $response);
}

return null;
}
Expand Down
5 changes: 5 additions & 0 deletions generated/Endpoint/PatchContactsContactId.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
use Qdequippe\Yousign\Api\Exception\PatchContactsContactIdForbiddenException;
use Qdequippe\Yousign\Api\Exception\PatchContactsContactIdNotFoundException;
use Qdequippe\Yousign\Api\Exception\PatchContactsContactIdUnauthorizedException;
use Qdequippe\Yousign\Api\Exception\PatchContactsContactIdUnsupportedMediaTypeException;
use Qdequippe\Yousign\Api\Model\Contact;
use Qdequippe\Yousign\Api\Model\PostArchives401Response;
use Qdequippe\Yousign\Api\Model\UpdateContact;
Expand Down Expand Up @@ -62,6 +63,7 @@ public function getExtraHeaders(): array
* @throws PatchContactsContactIdUnauthorizedException
* @throws PatchContactsContactIdForbiddenException
* @throws PatchContactsContactIdNotFoundException
* @throws PatchContactsContactIdUnsupportedMediaTypeException
*/
protected function transformResponseBody(ResponseInterface $response, SerializerInterface $serializer, ?string $contentType = null)
{
Expand All @@ -82,6 +84,9 @@ protected function transformResponseBody(ResponseInterface $response, Serializer
if (null !== $contentType && (404 === $status && false !== mb_strpos($contentType, 'application/json'))) {
throw new PatchContactsContactIdNotFoundException($response);
}
if (null !== $contentType && (415 === $status && false !== mb_strpos($contentType, 'application/json'))) {
throw new PatchContactsContactIdUnsupportedMediaTypeException($serializer->deserialize($body, ViolationResponse::class, 'json'), $response);
}

return null;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
use Qdequippe\Yousign\Api\Exception\PatchSignatureRequestsSignatureRequestIdForbiddenException;
use Qdequippe\Yousign\Api\Exception\PatchSignatureRequestsSignatureRequestIdNotFoundException;
use Qdequippe\Yousign\Api\Exception\PatchSignatureRequestsSignatureRequestIdUnauthorizedException;
use Qdequippe\Yousign\Api\Exception\PatchSignatureRequestsSignatureRequestIdUnsupportedMediaTypeException;
use Qdequippe\Yousign\Api\Model\PostArchives401Response;
use Qdequippe\Yousign\Api\Model\SignatureRequest;
use Qdequippe\Yousign\Api\Model\UpdateSignatureRequest;
Expand Down Expand Up @@ -61,6 +62,7 @@ public function getExtraHeaders(): array
* @throws PatchSignatureRequestsSignatureRequestIdUnauthorizedException
* @throws PatchSignatureRequestsSignatureRequestIdForbiddenException
* @throws PatchSignatureRequestsSignatureRequestIdNotFoundException
* @throws PatchSignatureRequestsSignatureRequestIdUnsupportedMediaTypeException
*/
protected function transformResponseBody(ResponseInterface $response, SerializerInterface $serializer, ?string $contentType = null)
{
Expand All @@ -81,6 +83,9 @@ protected function transformResponseBody(ResponseInterface $response, Serializer
if (null !== $contentType && (404 === $status && false !== mb_strpos($contentType, 'application/json'))) {
throw new PatchSignatureRequestsSignatureRequestIdNotFoundException($response);
}
if (null !== $contentType && (415 === $status && false !== mb_strpos($contentType, 'application/json'))) {
throw new PatchSignatureRequestsSignatureRequestIdUnsupportedMediaTypeException($serializer->deserialize($body, ViolationResponse::class, 'json'), $response);
}

return null;
}
Expand Down
Loading

0 comments on commit b6305cf

Please sign in to comment.