Skip to content

Commit

Permalink
[create-pull-request] automated change (#41)
Browse files Browse the repository at this point in the history
Co-authored-by: qdequippe <3193300+qdequippe@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and qdequippe authored Jun 17, 2024
1 parent 90e1668 commit ddaafef
Show file tree
Hide file tree
Showing 133 changed files with 5,323 additions and 978 deletions.
2 changes: 1 addition & 1 deletion generated/Endpoint/Association.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ protected function transformResponseBody(ResponseInterface $response, Serializer
$status = $response->getStatusCode();
$body = (string) $response->getBody();
if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) {
return $serializer->deserialize($body, 'Qdequippe\\Pappers\\Api\\Model\\Association', 'json');
return $serializer->deserialize($body, 'Qdequippe\Pappers\Api\Model\Association', 'json');
}
if (400 === $status) {
throw new AssociationBadRequestException($response);
Expand Down
2 changes: 1 addition & 1 deletion generated/Endpoint/Cartographie.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ protected function transformResponseBody(ResponseInterface $response, Serializer
$status = $response->getStatusCode();
$body = (string) $response->getBody();
if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) {
return $serializer->deserialize($body, 'Qdequippe\\Pappers\\Api\\Model\\Cartographie', 'json');
return $serializer->deserialize($body, 'Qdequippe\Pappers\Api\Model\Cartographie', 'json');
}
if (400 === $status) {
throw new CartographieBadRequestException($response);
Expand Down
2 changes: 1 addition & 1 deletion generated/Endpoint/Conformite.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ protected function transformResponseBody(ResponseInterface $response, Serializer
$status = $response->getStatusCode();
$body = (string) $response->getBody();
if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) {
return $serializer->deserialize($body, 'Qdequippe\\Pappers\\Api\\Model\\ConformitePersonnePhysiqueGetResponse200', 'json');
return $serializer->deserialize($body, 'Qdequippe\Pappers\Api\Model\ConformitePersonnePhysiqueGetResponse200', 'json');
}
if (400 === $status) {
throw new ConformiteBadRequestException($response);
Expand Down
4 changes: 2 additions & 2 deletions generated/Endpoint/Entreprise.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,10 @@ protected function transformResponseBody(ResponseInterface $response, Serializer
$status = $response->getStatusCode();
$body = (string) $response->getBody();
if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) {
return $serializer->deserialize($body, 'Qdequippe\\Pappers\\Api\\Model\\EntrepriseFiche', 'json');
return $serializer->deserialize($body, 'Qdequippe\Pappers\Api\Model\EntrepriseFiche', 'json');
}
if ((null === $contentType) === false && (206 === $status && false !== mb_strpos($contentType, 'application/json'))) {
return $serializer->deserialize($body, 'Qdequippe\\Pappers\\Api\\Model\\EntrepriseFiche', 'json');
return $serializer->deserialize($body, 'Qdequippe\Pappers\Api\Model\EntrepriseFiche', 'json');
}
if (400 === $status) {
throw new EntrepriseBadRequestException($response);
Expand Down
2 changes: 1 addition & 1 deletion generated/Endpoint/Recherche.php
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ protected function transformResponseBody(ResponseInterface $response, Serializer
$status = $response->getStatusCode();
$body = (string) $response->getBody();
if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) {
return $serializer->deserialize($body, 'Qdequippe\\Pappers\\Api\\Model\\RechercheGetResponse200', 'json');
return $serializer->deserialize($body, 'Qdequippe\Pappers\Api\Model\RechercheGetResponse200', 'json');
}
if (401 === $status) {
throw new RechercheUnauthorizedException($response);
Expand Down
2 changes: 1 addition & 1 deletion generated/Endpoint/RechercheBeneficiaires.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ protected function transformResponseBody(ResponseInterface $response, Serializer
$status = $response->getStatusCode();
$body = (string) $response->getBody();
if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) {
return $serializer->deserialize($body, 'Qdequippe\\Pappers\\Api\\Model\\RechercheBeneficiairesGetResponse200', 'json');
return $serializer->deserialize($body, 'Qdequippe\Pappers\Api\Model\RechercheBeneficiairesGetResponse200', 'json');
}
if (401 === $status) {
throw new RechercheBeneficiairesUnauthorizedException($response);
Expand Down
2 changes: 1 addition & 1 deletion generated/Endpoint/RechercheDirigeants.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ protected function transformResponseBody(ResponseInterface $response, Serializer
$status = $response->getStatusCode();
$body = (string) $response->getBody();
if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) {
return $serializer->deserialize($body, 'Qdequippe\\Pappers\\Api\\Model\\RechercheDirigeantsGetResponse200', 'json');
return $serializer->deserialize($body, 'Qdequippe\Pappers\Api\Model\RechercheDirigeantsGetResponse200', 'json');
}
if (401 === $status) {
throw new RechercheDirigeantsUnauthorizedException($response);
Expand Down
2 changes: 1 addition & 1 deletion generated/Endpoint/RechercheDocuments.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ protected function transformResponseBody(ResponseInterface $response, Serializer
$status = $response->getStatusCode();
$body = (string) $response->getBody();
if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) {
return $serializer->deserialize($body, 'Qdequippe\\Pappers\\Api\\Model\\RechercheDocumentsGetResponse200', 'json');
return $serializer->deserialize($body, 'Qdequippe\Pappers\Api\Model\RechercheDocumentsGetResponse200', 'json');
}
if (401 === $status) {
throw new RechercheDocumentsUnauthorizedException($response);
Expand Down
2 changes: 1 addition & 1 deletion generated/Endpoint/RecherchePublications.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ protected function transformResponseBody(ResponseInterface $response, Serializer
$status = $response->getStatusCode();
$body = (string) $response->getBody();
if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) {
return $serializer->deserialize($body, 'Qdequippe\\Pappers\\Api\\Model\\RecherchePublicationsGetResponse200', 'json');
return $serializer->deserialize($body, 'Qdequippe\Pappers\Api\Model\RecherchePublicationsGetResponse200', 'json');
}
if (401 === $status) {
throw new RecherchePublicationsUnauthorizedException($response);
Expand Down
2 changes: 1 addition & 1 deletion generated/Endpoint/Suggestions.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ protected function transformResponseBody(ResponseInterface $response, Serializer
$status = $response->getStatusCode();
$body = (string) $response->getBody();
if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) {
return $serializer->deserialize($body, 'Qdequippe\\Pappers\\Api\\Model\\SuggestionsGetResponse200', 'json');
return $serializer->deserialize($body, 'Qdequippe\Pappers\Api\Model\SuggestionsGetResponse200', 'json');
}
if (400 === $status) {
throw new SuggestionsBadRequestException($response);
Expand Down
2 changes: 1 addition & 1 deletion generated/Endpoint/SuiviJetons.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ protected function transformResponseBody(ResponseInterface $response, Serializer
$status = $response->getStatusCode();
$body = (string) $response->getBody();
if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) {
return $serializer->deserialize($body, 'Qdequippe\\Pappers\\Api\\Model\\SuiviJetonsGetResponse200', 'json');
return $serializer->deserialize($body, 'Qdequippe\Pappers\Api\Model\SuiviJetonsGetResponse200', 'json');
}
if (401 === $status) {
throw new SuiviJetonsUnauthorizedException($response);
Expand Down
4 changes: 2 additions & 2 deletions generated/Endpoint/SurveillanceDirigeant.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@ protected function transformResponseBody(ResponseInterface $response, Serializer
$status = $response->getStatusCode();
$body = (string) $response->getBody();
if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) {
return $serializer->deserialize($body, 'Qdequippe\\Pappers\\Api\\Model\\ListePostResponse200', 'json');
return $serializer->deserialize($body, 'Qdequippe\Pappers\Api\Model\ListePostResponse200', 'json');
}
if ((null === $contentType) === false && (201 === $status && false !== mb_strpos($contentType, 'application/json'))) {
return $serializer->deserialize($body, 'Qdequippe\\Pappers\\Api\\Model\\ListePostResponse201', 'json');
return $serializer->deserialize($body, 'Qdequippe\Pappers\Api\Model\ListePostResponse201', 'json');
}
if (400 === $status) {
throw new SurveillanceDirigeantBadRequestException($response);
Expand Down
4 changes: 2 additions & 2 deletions generated/Endpoint/SurveillanceEntreprise.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@ protected function transformResponseBody(ResponseInterface $response, Serializer
$status = $response->getStatusCode();
$body = (string) $response->getBody();
if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) {
return $serializer->deserialize($body, 'Qdequippe\\Pappers\\Api\\Model\\ListePostResponse200', 'json');
return $serializer->deserialize($body, 'Qdequippe\Pappers\Api\Model\ListePostResponse200', 'json');
}
if ((null === $contentType) === false && (201 === $status && false !== mb_strpos($contentType, 'application/json'))) {
return $serializer->deserialize($body, 'Qdequippe\\Pappers\\Api\\Model\\ListePostResponse201', 'json');
return $serializer->deserialize($body, 'Qdequippe\Pappers\Api\Model\ListePostResponse201', 'json');
}
if (400 === $status) {
throw new SurveillanceEntrepriseBadRequestException($response);
Expand Down
2 changes: 1 addition & 1 deletion generated/Endpoint/SurveillanceNotificationsDelete.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ protected function transformResponseBody(ResponseInterface $response, Serializer
$status = $response->getStatusCode();
$body = (string) $response->getBody();
if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) {
return $serializer->deserialize($body, 'Qdequippe\\Pappers\\Api\\Model\\ListeDeleteResponse200', 'json');
return $serializer->deserialize($body, 'Qdequippe\Pappers\Api\Model\ListeDeleteResponse200', 'json');
}
if (400 === $status) {
throw new SurveillanceNotificationsDeleteBadRequestException($response);
Expand Down
25 changes: 25 additions & 0 deletions generated/Model/EntrepriseBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,12 @@ public function isInitialized($property): bool
* @var string|null
*/
protected $formeJuridique;
/**
* Si vrai, l'entreprise est une micro-entreprise. Uniquement présent si demandé dans les champs supplémentaires.
*
* @var bool|null
*/
protected $microEntreprise;
/**
* Forme d'exercice de l'activité principale.
*
Expand Down Expand Up @@ -569,6 +575,25 @@ public function setFormeJuridique(?string $formeJuridique): self
return $this;
}

/**
* Si vrai, l'entreprise est une micro-entreprise. Uniquement présent si demandé dans les champs supplémentaires.
*/
public function getMicroEntreprise(): ?bool
{
return $this->microEntreprise;
}

/**
* Si vrai, l'entreprise est une micro-entreprise. Uniquement présent si demandé dans les champs supplémentaires.
*/
public function setMicroEntreprise(?bool $microEntreprise): self
{
$this->initialized['microEntreprise'] = true;
$this->microEntreprise = $microEntreprise;

return $this;
}

/**
* Forme d'exercice de l'activité principale.
*/
Expand Down
152 changes: 124 additions & 28 deletions generated/Model/EntrepriseFiche.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,12 @@ public function isInitialized($property): bool
* @var string|null
*/
protected $formeJuridique;
/**
* Si vrai, l'entreprise possède le statut de micro-entrepreneur.
*
* @var bool|null
*/
protected $microEntreprise;
/**
* Forme d'exercice de l'activité principale.
*
Expand Down Expand Up @@ -369,17 +375,15 @@ public function isInitialized($property): bool
*/
protected $associeUnique;
/**
* Si vrai, l'entreprise possède le statut de micro-entrepreneur.
*
* @var bool|null
*/
protected $microEntreprise;
/**
* Liste des établissements de l'entreprise.
* Liste des établissements de l'entreprise. (uniquement si le paramètre `siren` est utilisé).
*
* @var list<EtablissementFiche>|null
*/
protected $etablissements;
/**
* @var EntrepriseFicheetablissement|null
*/
protected $etablissement;
/**
* Liste des finances de l'entreprise.
*
Expand Down Expand Up @@ -470,6 +474,24 @@ public function isInitialized($property): bool
* @var list<Labels>|null
*/
protected $labels;
/**
* Liste des sites internet de l'entreprise. Uniquement présent si demandé dans les champs supplémentaires.
*
* @var list<string>|null
*/
protected $sitesInternet;
/**
* Numéro de téléphone de l'entreprise au format 0123456789. Uniquement présent si demandé dans les champs supplémentaires.
*
* @var string|null
*/
protected $telephone;
/**
* Adresse email de l'entreprise. Uniquement présent si demandé dans les champs supplémentaires.
*
* @var string|null
*/
protected $email;
/**
* Score non financier de l'entreprise. Uniquement présent si demandé dans les champs supplémentaires.
*
Expand Down Expand Up @@ -869,6 +891,25 @@ public function setFormeJuridique(?string $formeJuridique): self
return $this;
}

/**
* Si vrai, l'entreprise possède le statut de micro-entrepreneur.
*/
public function getMicroEntreprise(): ?bool
{
return $this->microEntreprise;
}

/**
* Si vrai, l'entreprise possède le statut de micro-entrepreneur.
*/
public function setMicroEntreprise(?bool $microEntreprise): self
{
$this->initialized['microEntreprise'] = true;
$this->microEntreprise = $microEntreprise;

return $this;
}

/**
* Forme d'exercice de l'activité principale.
*/
Expand Down Expand Up @@ -1609,26 +1650,7 @@ public function setAssocieUnique(?bool $associeUnique): self
}

/**
* Si vrai, l'entreprise possède le statut de micro-entrepreneur.
*/
public function getMicroEntreprise(): ?bool
{
return $this->microEntreprise;
}

/**
* Si vrai, l'entreprise possède le statut de micro-entrepreneur.
*/
public function setMicroEntreprise(?bool $microEntreprise): self
{
$this->initialized['microEntreprise'] = true;
$this->microEntreprise = $microEntreprise;

return $this;
}

/**
* Liste des établissements de l'entreprise.
* Liste des établissements de l'entreprise. (uniquement si le paramètre `siren` est utilisé).
*
* @return list<EtablissementFiche>|null
*/
Expand All @@ -1638,7 +1660,7 @@ public function getEtablissements(): ?array
}

/**
* Liste des établissements de l'entreprise.
* Liste des établissements de l'entreprise. (uniquement si le paramètre `siren` est utilisé).
*
* @param list<EtablissementFiche>|null $etablissements
*/
Expand All @@ -1650,6 +1672,19 @@ public function setEtablissements(?array $etablissements): self
return $this;
}

public function getEtablissement(): ?EntrepriseFicheetablissement
{
return $this->etablissement;
}

public function setEtablissement(?EntrepriseFicheetablissement $etablissement): self
{
$this->initialized['etablissement'] = true;
$this->etablissement = $etablissement;

return $this;
}

/**
* Liste des finances de l'entreprise.
*
Expand Down Expand Up @@ -1971,6 +2006,67 @@ public function setLabels(?array $labels): self
return $this;
}

/**
* Liste des sites internet de l'entreprise. Uniquement présent si demandé dans les champs supplémentaires.
*
* @return list<string>|null
*/
public function getSitesInternet(): ?array
{
return $this->sitesInternet;
}

/**
* Liste des sites internet de l'entreprise. Uniquement présent si demandé dans les champs supplémentaires.
*
* @param list<string>|null $sitesInternet
*/
public function setSitesInternet(?array $sitesInternet): self
{
$this->initialized['sitesInternet'] = true;
$this->sitesInternet = $sitesInternet;

return $this;
}

/**
* Numéro de téléphone de l'entreprise au format 0123456789. Uniquement présent si demandé dans les champs supplémentaires.
*/
public function getTelephone(): ?string
{
return $this->telephone;
}

/**
* Numéro de téléphone de l'entreprise au format 0123456789. Uniquement présent si demandé dans les champs supplémentaires.
*/
public function setTelephone(?string $telephone): self
{
$this->initialized['telephone'] = true;
$this->telephone = $telephone;

return $this;
}

/**
* Adresse email de l'entreprise. Uniquement présent si demandé dans les champs supplémentaires.
*/
public function getEmail(): ?string
{
return $this->email;
}

/**
* Adresse email de l'entreprise. Uniquement présent si demandé dans les champs supplémentaires.
*/
public function setEmail(?string $email): self
{
$this->initialized['email'] = true;
$this->email = $email;

return $this;
}

/**
* Score non financier de l'entreprise. Uniquement présent si demandé dans les champs supplémentaires.
*/
Expand Down
Loading

0 comments on commit ddaafef

Please sign in to comment.