diff --git a/app/graphql/schema.graphql b/app/graphql/schema.graphql index a81e39392..bf39ff900 100644 --- a/app/graphql/schema.graphql +++ b/app/graphql/schema.graphql @@ -713,8 +713,12 @@ type Effectif { type Entreprise { attestationFiscaleAttachment: File attestationSocialeAttachment: File + + """ + capital social de l’entreprise. -1 si inconnu. + """ capitalSocial: BigInt! - codeEffectifEntreprise: String! + codeEffectifEntreprise: String dateCreation: ISO8601Date! """ @@ -1011,10 +1015,10 @@ type PersonneMorale implements Demandeur { localite: String! naf: String! nomVoie: String! - numeroVoie: String! + numeroVoie: String siegeSocial: Boolean! siret: String! - typeVoie: String! + typeVoie: String } type PersonnePhysique implements Demandeur { diff --git a/spec/controllers/api/v2/graphql_controller_spec.rb b/spec/controllers/api/v2/graphql_controller_spec.rb index d1dffa0e0..33711e8b1 100644 --- a/spec/controllers/api/v2/graphql_controller_spec.rb +++ b/spec/controllers/api/v2/graphql_controller_spec.rb @@ -461,7 +461,7 @@ describe API::V2::GraphqlController do siren: dossier.etablissement.entreprise_siren, dateCreation: dossier.etablissement.entreprise_date_creation.iso8601, capitalSocial: '-1', - codeEffectifEntreprise: '' + codeEffectifEntreprise: nil } } })