Skip to content

Commit

Permalink
[create-pull-request] automated change (#12)
Browse files Browse the repository at this point in the history
Co-authored-by: qdequippe <[email protected]>
  • Loading branch information
github-actions[bot] and qdequippe authored May 27, 2024
1 parent fa2d165 commit b827712
Show file tree
Hide file tree
Showing 19 changed files with 251 additions and 111 deletions.
196 changes: 99 additions & 97 deletions generated/Client.php

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class DeleteSignatureRequestsSignatureRequestId extends BaseEndpoint implements
use EndpointTrait;

/**
* Delete or permanent delete a signature request (except in approval and ongoing status).
* Delete a Signature Request (except in approval and ongoing status).
*
* @param string $signatureRequestId Signature Request Id
* @param array $queryParameters {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class DeleteSignatureRequestsSignatureRequestIdDocumentsDocumentIdFieldsFieldId
use EndpointTrait;

/**
* Delete a document's field in a Signature Request (in draft status).
* Delete a Document's Field in a Signature Request (in draft status).
*
* @param string $signatureRequestId Signature Request Id
* @param string $documentId Document Id
Expand Down
2 changes: 1 addition & 1 deletion generated/Endpoint/GetConsumptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class GetConsumptions extends BaseEndpoint implements Endpoint
use EndpointTrait;

/**
* Get signatures consumption by source.
* Get signatures Consumption by source.
*
* @param array $queryParameters {
*
Expand Down
2 changes: 1 addition & 1 deletion generated/Endpoint/GetConsumptionsExport.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class GetConsumptionsExport extends BaseEndpoint implements Endpoint
use EndpointTrait;

/**
* Get a binary .csv file containing all the consumption data of the underlying signatures.
* Get a binary .csv file containing all the Consumption data of the underlying signatures.
*
* @param array $queryParameters {
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class GetSignatureRequestsSignatureRequestIdDocumentsDownload extends BaseEndpoi
* @param string $signatureRequestId Signature Request Id
* @param array $queryParameters {
*
* @var string $version specify documents version to download, "completed" is only available when the signature request status is "done"
* @var string $version specify Documents version to download, "completed" is only available when the Signature Request status is "done"
* @var bool $archive Force zip archive download
* }
*
Expand Down
2 changes: 1 addition & 1 deletion generated/Endpoint/PatchContactsContactId.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class PatchContactsContactId extends BaseEndpoint implements Endpoint
use EndpointTrait;

/**
* Update the information of a given contact.
* Update the information of a given Contact.
*
* @param string $contactId Contact Id
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ class PostSignatureRequestsSignatureRequestIdApprovers extends BaseEndpoint impl
use EndpointTrait;

/**
* Create a new Approver either from: - scratch - an existing Contact - an existing User - an existing Signer.
*
* @param string $signatureRequestId Signature Request Id
*/
public function __construct(protected string $signatureRequestId, ?\stdClass $requestBody = null)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class UpdateSignatureRequestsSignatureRequestIdDocumentsDocumentIdFieldsFieldId
use EndpointTrait;

/**
* Update a document's field in a Signature Request (in draft status).
* Update a Document's Field in a Signature Request (in draft status).
*
* @param string $signatureRequestId Signature Request Id
* @param string $documentId Document Id
Expand Down
17 changes: 17 additions & 0 deletions generated/Model/FromExistingContact1.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ public function isInitialized($property): bool
* @var string|null
*/
protected $deliveryMode;
/**
* @var string|null
*/
protected $identificationAttestationId;

/**
* Create signer from an existing contact.
Expand Down Expand Up @@ -179,4 +183,17 @@ public function setDeliveryMode(?string $deliveryMode): self

return $this;
}

public function getIdentificationAttestationId(): ?string
{
return $this->identificationAttestationId;
}

public function setIdentificationAttestationId(?string $identificationAttestationId): self
{
$this->initialized['identificationAttestationId'] = true;
$this->identificationAttestationId = $identificationAttestationId;

return $this;
}
}
17 changes: 17 additions & 0 deletions generated/Model/FromExistingUser1.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ public function isInitialized($property): bool
* @var string|null
*/
protected $deliveryMode;
/**
* @var string|null
*/
protected $identificationAttestationId;

/**
* Create signer from an existing user.
Expand Down Expand Up @@ -179,4 +183,17 @@ public function setDeliveryMode(?string $deliveryMode): self

return $this;
}

public function getIdentificationAttestationId(): ?string
{
return $this->identificationAttestationId;
}

public function setIdentificationAttestationId(?string $identificationAttestationId): self
{
$this->initialized['identificationAttestationId'] = true;
$this->identificationAttestationId = $identificationAttestationId;

return $this;
}
}
17 changes: 17 additions & 0 deletions generated/Model/FromScratch1.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ public function isInitialized($property): bool
* @var string|null
*/
protected $deliveryMode;
/**
* @var string|null
*/
protected $identificationAttestationId;

public function getInfo(): ?FromScratch1Info
{
Expand Down Expand Up @@ -171,4 +175,17 @@ public function setDeliveryMode(?string $deliveryMode): self

return $this;
}

public function getIdentificationAttestationId(): ?string
{
return $this->identificationAttestationId;
}

public function setIdentificationAttestationId(?string $identificationAttestationId): self
{
$this->initialized['identificationAttestationId'] = true;
$this->identificationAttestationId = $identificationAttestationId;

return $this;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,22 @@ public function isInitialized($property): bool
return \array_key_exists($property, $this->initialized);
}
/**
* Due date of the signature request (yyyy-mm-dd). Default to 6 month after the activation.
* Due date of the Signature Request (yyyy-mm-dd). Default to 6 month after the activation.
*
* @var \DateTime|null
*/
protected $expirationDate;

/**
* Due date of the signature request (yyyy-mm-dd). Default to 6 month after the activation.
* Due date of the Signature Request (yyyy-mm-dd). Default to 6 month after the activation.
*/
public function getExpirationDate(): ?\DateTime
{
return $this->expirationDate;
}

/**
* Due date of the signature request (yyyy-mm-dd). Default to 6 month after the activation.
* Due date of the Signature Request (yyyy-mm-dd). Default to 6 month after the activation.
*/
public function setExpirationDate(?\DateTime $expirationDate): self
{
Expand Down
17 changes: 17 additions & 0 deletions generated/Model/Signer.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ public function isInitialized($property): bool
* @var string|null
*/
protected $deliveryMode;
/**
* @var string|null
*/
protected $identificationAttestationId;

public function getId(): ?string
{
Expand Down Expand Up @@ -223,4 +227,17 @@ public function setDeliveryMode(?string $deliveryMode): self

return $this;
}

public function getIdentificationAttestationId(): ?string
{
return $this->identificationAttestationId;
}

public function setIdentificationAttestationId(?string $identificationAttestationId): self
{
$this->initialized['identificationAttestationId'] = true;
$this->identificationAttestationId = $identificationAttestationId;

return $this;
}
}
18 changes: 18 additions & 0 deletions generated/Normalizer/FromExistingContact1Normalizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,12 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a
} elseif (\array_key_exists('delivery_mode', $data) && null === $data['delivery_mode']) {
$object->setDeliveryMode(null);
}
if (\array_key_exists('identification_attestation_id', $data) && null !== $data['identification_attestation_id']) {
$object->setIdentificationAttestationId($data['identification_attestation_id']);
unset($data['identification_attestation_id']);
} elseif (\array_key_exists('identification_attestation_id', $data) && null === $data['identification_attestation_id']) {
$object->setIdentificationAttestationId(null);
}
foreach ($data as $key_1 => $value_2) {
if (preg_match('/.*/', (string) $key_1)) {
$object[$key_1] = $value_2;
Expand Down Expand Up @@ -142,6 +148,9 @@ public function normalize(mixed $object, ?string $format = null, array $context
if ($object->isInitialized('deliveryMode') && null !== $object->getDeliveryMode()) {
$data['delivery_mode'] = $object->getDeliveryMode();
}
if ($object->isInitialized('identificationAttestationId') && null !== $object->getIdentificationAttestationId()) {
$data['identification_attestation_id'] = $object->getIdentificationAttestationId();
}
foreach ($object as $key_1 => $value_2) {
if (preg_match('/.*/', (string) $key_1)) {
$data[$key_1] = $value_2;
Expand Down Expand Up @@ -245,6 +254,12 @@ public function denormalize($data, $type, $format = null, array $context = [])
} elseif (\array_key_exists('delivery_mode', $data) && null === $data['delivery_mode']) {
$object->setDeliveryMode(null);
}
if (\array_key_exists('identification_attestation_id', $data) && null !== $data['identification_attestation_id']) {
$object->setIdentificationAttestationId($data['identification_attestation_id']);
unset($data['identification_attestation_id']);
} elseif (\array_key_exists('identification_attestation_id', $data) && null === $data['identification_attestation_id']) {
$object->setIdentificationAttestationId(null);
}
foreach ($data as $key_1 => $value_2) {
if (preg_match('/.*/', (string) $key_1)) {
$object[$key_1] = $value_2;
Expand Down Expand Up @@ -290,6 +305,9 @@ public function normalize($object, $format = null, array $context = [])
if ($object->isInitialized('deliveryMode') && null !== $object->getDeliveryMode()) {
$data['delivery_mode'] = $object->getDeliveryMode();
}
if ($object->isInitialized('identificationAttestationId') && null !== $object->getIdentificationAttestationId()) {
$data['identification_attestation_id'] = $object->getIdentificationAttestationId();
}
foreach ($object as $key_1 => $value_2) {
if (preg_match('/.*/', (string) $key_1)) {
$data[$key_1] = $value_2;
Expand Down
18 changes: 18 additions & 0 deletions generated/Normalizer/FromExistingUser1Normalizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,12 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a
} elseif (\array_key_exists('delivery_mode', $data) && null === $data['delivery_mode']) {
$object->setDeliveryMode(null);
}
if (\array_key_exists('identification_attestation_id', $data) && null !== $data['identification_attestation_id']) {
$object->setIdentificationAttestationId($data['identification_attestation_id']);
unset($data['identification_attestation_id']);
} elseif (\array_key_exists('identification_attestation_id', $data) && null === $data['identification_attestation_id']) {
$object->setIdentificationAttestationId(null);
}
foreach ($data as $key_1 => $value_2) {
if (preg_match('/.*/', (string) $key_1)) {
$object[$key_1] = $value_2;
Expand Down Expand Up @@ -142,6 +148,9 @@ public function normalize(mixed $object, ?string $format = null, array $context
if ($object->isInitialized('deliveryMode') && null !== $object->getDeliveryMode()) {
$data['delivery_mode'] = $object->getDeliveryMode();
}
if ($object->isInitialized('identificationAttestationId') && null !== $object->getIdentificationAttestationId()) {
$data['identification_attestation_id'] = $object->getIdentificationAttestationId();
}
foreach ($object as $key_1 => $value_2) {
if (preg_match('/.*/', (string) $key_1)) {
$data[$key_1] = $value_2;
Expand Down Expand Up @@ -245,6 +254,12 @@ public function denormalize($data, $type, $format = null, array $context = [])
} elseif (\array_key_exists('delivery_mode', $data) && null === $data['delivery_mode']) {
$object->setDeliveryMode(null);
}
if (\array_key_exists('identification_attestation_id', $data) && null !== $data['identification_attestation_id']) {
$object->setIdentificationAttestationId($data['identification_attestation_id']);
unset($data['identification_attestation_id']);
} elseif (\array_key_exists('identification_attestation_id', $data) && null === $data['identification_attestation_id']) {
$object->setIdentificationAttestationId(null);
}
foreach ($data as $key_1 => $value_2) {
if (preg_match('/.*/', (string) $key_1)) {
$object[$key_1] = $value_2;
Expand Down Expand Up @@ -290,6 +305,9 @@ public function normalize($object, $format = null, array $context = [])
if ($object->isInitialized('deliveryMode') && null !== $object->getDeliveryMode()) {
$data['delivery_mode'] = $object->getDeliveryMode();
}
if ($object->isInitialized('identificationAttestationId') && null !== $object->getIdentificationAttestationId()) {
$data['identification_attestation_id'] = $object->getIdentificationAttestationId();
}
foreach ($object as $key_1 => $value_2) {
if (preg_match('/.*/', (string) $key_1)) {
$data[$key_1] = $value_2;
Expand Down
18 changes: 18 additions & 0 deletions generated/Normalizer/FromScratch1Normalizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,12 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a
} elseif (\array_key_exists('delivery_mode', $data) && null === $data['delivery_mode']) {
$object->setDeliveryMode(null);
}
if (\array_key_exists('identification_attestation_id', $data) && null !== $data['identification_attestation_id']) {
$object->setIdentificationAttestationId($data['identification_attestation_id']);
unset($data['identification_attestation_id']);
} elseif (\array_key_exists('identification_attestation_id', $data) && null === $data['identification_attestation_id']) {
$object->setIdentificationAttestationId(null);
}
foreach ($data as $key_1 => $value_2) {
if (preg_match('/.*/', (string) $key_1)) {
$object[$key_1] = $value_2;
Expand Down Expand Up @@ -143,6 +149,9 @@ public function normalize(mixed $object, ?string $format = null, array $context
if ($object->isInitialized('deliveryMode') && null !== $object->getDeliveryMode()) {
$data['delivery_mode'] = $object->getDeliveryMode();
}
if ($object->isInitialized('identificationAttestationId') && null !== $object->getIdentificationAttestationId()) {
$data['identification_attestation_id'] = $object->getIdentificationAttestationId();
}
foreach ($object as $key_1 => $value_2) {
if (preg_match('/.*/', (string) $key_1)) {
$data[$key_1] = $value_2;
Expand Down Expand Up @@ -246,6 +255,12 @@ public function denormalize($data, $type, $format = null, array $context = [])
} elseif (\array_key_exists('delivery_mode', $data) && null === $data['delivery_mode']) {
$object->setDeliveryMode(null);
}
if (\array_key_exists('identification_attestation_id', $data) && null !== $data['identification_attestation_id']) {
$object->setIdentificationAttestationId($data['identification_attestation_id']);
unset($data['identification_attestation_id']);
} elseif (\array_key_exists('identification_attestation_id', $data) && null === $data['identification_attestation_id']) {
$object->setIdentificationAttestationId(null);
}
foreach ($data as $key_1 => $value_2) {
if (preg_match('/.*/', (string) $key_1)) {
$object[$key_1] = $value_2;
Expand Down Expand Up @@ -291,6 +306,9 @@ public function normalize($object, $format = null, array $context = [])
if ($object->isInitialized('deliveryMode') && null !== $object->getDeliveryMode()) {
$data['delivery_mode'] = $object->getDeliveryMode();
}
if ($object->isInitialized('identificationAttestationId') && null !== $object->getIdentificationAttestationId()) {
$data['identification_attestation_id'] = $object->getIdentificationAttestationId();
}
foreach ($object as $key_1 => $value_2) {
if (preg_match('/.*/', (string) $key_1)) {
$data[$key_1] = $value_2;
Expand Down
Loading

0 comments on commit b827712

Please sign in to comment.