Merge pull request #5976 from tchak/relax-etablissement-validations
capital_social and numero_tva_intracommunautaire can be null
This commit is contained in:
commit
6e95d1c710
2 changed files with 4 additions and 4 deletions
|
@ -1089,7 +1089,7 @@ type Entreprise {
|
||||||
"""
|
"""
|
||||||
capital social de l’entreprise. -1 si inconnu.
|
capital social de l’entreprise. -1 si inconnu.
|
||||||
"""
|
"""
|
||||||
capitalSocial: BigInt!
|
capitalSocial: BigInt
|
||||||
codeEffectifEntreprise: String
|
codeEffectifEntreprise: String
|
||||||
dateCreation: ISO8601Date!
|
dateCreation: ISO8601Date!
|
||||||
|
|
||||||
|
@ -1107,7 +1107,7 @@ type Entreprise {
|
||||||
inlineAdresse: String!
|
inlineAdresse: String!
|
||||||
nom: String
|
nom: String
|
||||||
nomCommercial: String!
|
nomCommercial: String!
|
||||||
numeroTvaIntracommunautaire: String!
|
numeroTvaIntracommunautaire: String
|
||||||
prenom: String
|
prenom: String
|
||||||
raisonSociale: String!
|
raisonSociale: String!
|
||||||
siren: String!
|
siren: String!
|
||||||
|
|
|
@ -7,8 +7,8 @@ module Types
|
||||||
end
|
end
|
||||||
|
|
||||||
field :siren, String, null: false
|
field :siren, String, null: false
|
||||||
field :capital_social, GraphQL::Types::BigInt, null: false, description: "capital social de l’entreprise. -1 si inconnu."
|
field :capital_social, GraphQL::Types::BigInt, null: true, description: "capital social de l’entreprise. -1 si inconnu."
|
||||||
field :numero_tva_intracommunautaire, String, null: false
|
field :numero_tva_intracommunautaire, String, null: true
|
||||||
field :forme_juridique, String, null: true
|
field :forme_juridique, String, null: true
|
||||||
field :forme_juridique_code, String, null: true
|
field :forme_juridique_code, String, null: true
|
||||||
field :nom_commercial, String, null: false
|
field :nom_commercial, String, null: false
|
||||||
|
|
Loading…
Reference in a new issue