demarches-normaliennes/app/graphql/schema.graphql

1872 lines
29 KiB
GraphQL
Raw Normal View History

type Address {
"""
code INSEE de la commune
"""
cityCode: String!
"""
nom de la commune
"""
cityName: String!
"""
n° de département
"""
departmentCode: String
"""
nom de département
"""
departmentName: String
"""
coordonnées géographique
"""
geometry: GeoJSON
"""
libellé complet de ladresse
"""
label: String!
"""
code postal
"""
postalCode: String!
"""
n° de region
"""
regionCode: String
"""
nom de région
"""
regionName: String
"""
numéro éventuel et nom de voie ou lieu dit
"""
2021-03-04 12:52:01 +01:00
streetAddress: String
"""
nom de voie ou lieu dit
"""
streetName: String
"""
numéro avec indice de répétition éventuel (bis, ter, A, B)
"""
streetNumber: String
"""
type de résultat trouvé
"""
type: AddressType!
}
type AddressChamp implements Champ {
address: Address
id: ID!
"""
Libellé du champ.
"""
label: String!
"""
La valeur du champ sous forme texte.
"""
stringValue: String
}
enum AddressType {
"""
numéro « à la plaque »
"""
housenumber
"""
lieu-dit
"""
locality
"""
numéro « à la commune »
"""
municipality
"""
position « à la voie », placé approximativement au centre de celle-ci
"""
street
}
type Association {
dateCreation: ISO8601Date
2021-03-05 10:13:22 +01:00
dateDeclaration: ISO8601Date
datePublication: ISO8601Date
objet: String
rna: String!
titre: String!
}
2018-11-23 18:54:51 +01:00
type Avis {
2019-12-11 12:24:50 +01:00
attachment: File
2021-03-22 10:25:47 +01:00
claimant: Profile
dateQuestion: ISO8601DateTime!
dateReponse: ISO8601DateTime
expert: Profile
2019-09-18 18:45:53 +02:00
id: ID!
2021-03-22 10:25:47 +01:00
instructeur: Profile! @deprecated(reason: "Utilisez le champ claimant à la place.")
2018-11-23 18:54:51 +01:00
question: String!
reponse: String
2018-11-23 18:54:51 +01:00
}
"""
Represents non-fractional signed whole numeric values. Since the value may
exceed the size of a 32-bit integer, it's encoded as a string.
"""
scalar BigInt
type CarteChamp implements Champ {
geoAreas: [GeoArea!]!
id: ID!
2019-11-07 13:34:19 +01:00
"""
Libellé du champ.
"""
label: String!
2019-11-07 13:34:19 +01:00
"""
La valeur du champ sous forme texte.
"""
2019-09-18 18:45:53 +02:00
stringValue: String
}
interface Champ {
id: ID!
2019-11-07 13:34:19 +01:00
"""
Libellé du champ.
"""
label: String!
2019-11-07 13:34:19 +01:00
"""
La valeur du champ sous forme texte.
"""
2019-09-18 18:45:53 +02:00
stringValue: String
}
2019-09-18 18:45:53 +02:00
type ChampDescriptor {
"""
2020-10-01 16:14:30 +02:00
Description des champs dun bloc répétable.
"""
champDescriptors: [ChampDescriptor!]
2019-11-07 13:34:19 +01:00
"""
Description du champ.
"""
description: String
id: ID!
2019-11-07 13:34:19 +01:00
"""
Libellé du champ.
"""
label: String!
2019-11-07 13:34:19 +01:00
"""
2020-10-01 16:14:30 +02:00
List des options dun champ avec selection.
"""
options: [String!]
2019-11-07 13:34:19 +01:00
"""
Est-ce que le champ est obligatoire ?
"""
required: Boolean!
2019-11-07 13:34:19 +01:00
"""
Type de la valeur du champ.
"""
type: TypeDeChamp!
}
type CheckboxChamp implements Champ {
id: ID!
2019-11-07 13:34:19 +01:00
"""
Libellé du champ.
"""
label: String!
2019-11-07 13:34:19 +01:00
"""
La valeur du champ sous forme texte.
"""
2019-09-18 18:45:53 +02:00
stringValue: String
value: Boolean!
}
enum Civilite {
"""
Monsieur
"""
M
"""
Madame
"""
Mme
}
type CiviliteChamp implements Champ {
id: ID!
"""
Libellé du champ.
"""
label: String!
"""
La valeur du champ sous forme texte.
"""
stringValue: String
value: Civilite
}
"""
GeoJSON coordinates
"""
scalar Coordinates
"""
Autogenerated input type of CreateDirectUpload
"""
input CreateDirectUploadInput {
"""
File size (bytes)
"""
byteSize: Int!
"""
MD5 file checksum as base64
"""
checksum: String!
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String
"""
File content type
"""
contentType: String!
"""
Dossier ID
"""
dossierId: ID!
"""
Original file name
"""
filename: String!
}
"""
Autogenerated return type of CreateDirectUpload
"""
type CreateDirectUploadPayload {
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String
directUpload: DirectUpload!
}
type DateChamp implements Champ {
2020-12-18 11:21:03 +01:00
"""
La valeur du champ formaté en ISO8601 (Date).
"""
date: ISO8601Date
id: ID!
"""
Libellé du champ.
"""
label: String!
"""
La valeur du champ sous forme texte.
"""
stringValue: String
"""
La valeur du champ formaté en ISO8601 (DateTime).
"""
value: ISO8601DateTime @deprecated(reason: "Utilisez le champ 'date' ou le fragment 'DatetimeChamp' à la place.")
}
type DatetimeChamp implements Champ {
"""
La valeur du champ formaté en ISO8601 (DateTime).
"""
datetime: ISO8601DateTime
id: ID!
2019-11-07 13:34:19 +01:00
"""
Libellé du champ.
"""
label: String!
2019-11-07 13:34:19 +01:00
"""
La valeur du champ sous forme texte.
"""
2019-09-18 18:45:53 +02:00
stringValue: String
}
type DecimalNumberChamp implements Champ {
id: ID!
2019-11-07 13:34:19 +01:00
"""
Libellé du champ.
"""
label: String!
2019-11-07 13:34:19 +01:00
"""
La valeur du champ sous forme texte.
"""
2019-09-18 18:45:53 +02:00
stringValue: String
value: Float
}
interface Demandeur {
id: ID!
}
2018-11-20 22:21:38 +01:00
"""
Une demarche
"""
type Demarche {
2019-09-18 18:45:53 +02:00
annotationDescriptors: [ChampDescriptor!]!
champDescriptors: [ChampDescriptor!]!
2018-11-20 22:21:38 +01:00
"""
Date de la création.
"""
dateCreation: ISO8601DateTime!
2019-12-04 15:45:06 +01:00
"""
Date de la dépublication.
"""
dateDepublication: ISO8601DateTime
"""
Date de la dernière modification.
"""
dateDerniereModification: ISO8601DateTime!
"""
Date de la fermeture.
"""
dateFermeture: ISO8601DateTime
"""
Date de la publication.
"""
datePublication: ISO8601DateTime!
"""
2020-10-01 16:14:30 +02:00
Létat de dossier pour une démarche déclarative
"""
declarative: DossierDeclarativeState
"""
Description de la démarche.
2018-11-20 22:21:38 +01:00
"""
description: String!
"""
2020-10-01 16:14:30 +02:00
Liste de tous les dossiers dune démarche.
2018-11-20 22:21:38 +01:00
"""
dossiers(
"""
Returns the elements in the list that come after the specified cursor.
"""
after: String
"""
2021-01-21 19:04:35 +01:00
Seulement les dossiers archivés.
"""
archived: Boolean
2018-11-20 22:21:38 +01:00
"""
Returns the elements in the list that come before the specified cursor.
"""
before: String
"""
2019-09-26 14:57:58 +02:00
Dossiers déposés depuis la date.
2018-11-20 22:21:38 +01:00
"""
2019-09-26 14:57:58 +02:00
createdSince: ISO8601DateTime
2018-11-20 22:21:38 +01:00
"""
2019-09-26 14:57:58 +02:00
Returns the first _n_ elements from the list.
2018-11-20 22:21:38 +01:00
"""
2019-09-26 14:57:58 +02:00
first: Int
2018-11-20 22:21:38 +01:00
"""
Returns the last _n_ elements from the list.
"""
last: Int
2021-01-21 19:04:35 +01:00
"""
2021-03-16 11:56:17 +01:00
Seulement les dossiers pour les révisons avant la révision donnée.
2021-01-21 19:04:35 +01:00
"""
maxRevision: ID
"""
2021-03-16 11:56:17 +01:00
Seulement les dossiers pour les révisons après la révision donnée.
2021-01-21 19:04:35 +01:00
"""
minRevision: ID
2018-11-20 22:21:38 +01:00
"""
2020-10-01 16:14:30 +02:00
Lordre des dossiers.
2019-09-26 14:57:58 +02:00
"""
order: Order = ASC
2021-01-21 19:04:35 +01:00
"""
Seulement les dossiers pour la révision donnée.
"""
revision: ID
2019-09-26 14:57:58 +02:00
"""
Dossiers avec statut.
"""
state: DossierState
2018-11-20 22:21:38 +01:00
"""
2019-09-26 14:57:58 +02:00
Dossiers mis à jour depuis la date.
"""
updatedSince: ISO8601DateTime
2018-11-20 22:21:38 +01:00
): DossierConnection!
2020-07-16 12:48:35 +02:00
draftRevision: Revision!
groupeInstructeurs: [GroupeInstructeur!]!
2018-11-20 22:21:38 +01:00
id: ID!
"""
2019-09-18 18:45:53 +02:00
Le numero de la démarche.
2018-11-20 22:21:38 +01:00
"""
number: Int!
2020-07-16 12:48:35 +02:00
publishedRevision: Revision
revisions: [Revision!]!
2019-11-29 12:45:58 +01:00
service: Service!
2019-11-07 13:34:19 +01:00
"""
2020-10-01 16:14:30 +02:00
Létat de la démarche.
2019-11-07 13:34:19 +01:00
"""
2018-11-20 22:21:38 +01:00
state: DemarcheState!
"""
Le titre de la démarche.
"""
2018-11-20 22:21:38 +01:00
title: String!
}
enum DemarcheState {
"""
Brouillon
2018-11-20 22:21:38 +01:00
"""
brouillon
2018-11-20 22:21:38 +01:00
"""
Close
2018-11-20 22:21:38 +01:00
"""
close
2018-11-20 22:21:38 +01:00
2019-12-04 15:45:06 +01:00
"""
Depubliee
"""
depubliee
2018-11-20 22:21:38 +01:00
"""
2019-09-18 18:45:53 +02:00
Publiée
2018-11-20 22:21:38 +01:00
"""
publiee
}
"""
Represents direct upload credentials
"""
type DirectUpload {
"""
Created blob record ID
"""
blobId: ID!
"""
HTTP request headers (JSON-encoded)
"""
headers: String!
"""
Created blob record signed ID
"""
signedBlobId: ID!
"""
Upload URL
"""
url: String!
}
2018-11-20 22:21:38 +01:00
"""
Un dossier
"""
type Dossier {
annotations(id: ID): [Champ!]!
2019-09-18 18:45:53 +02:00
archived: Boolean!
2020-10-01 16:14:30 +02:00
"""
LURL de lattestation au format PDF.
"""
attestation: File
avis(id: ID): [Avis!]!
champs(id: ID): [Champ!]!
2018-11-20 22:21:38 +01:00
"""
Date de la dernière modification.
"""
dateDerniereModification: ISO8601DateTime!
2018-11-20 22:21:38 +01:00
"""
2019-09-18 18:45:53 +02:00
Date de dépôt.
"""
datePassageEnConstruction: ISO8601DateTime!
"""
Date de passage en instruction.
"""
datePassageEnInstruction: ISO8601DateTime
"""
Date de traitement.
2018-11-20 22:21:38 +01:00
"""
2019-09-18 18:45:53 +02:00
dateTraitement: ISO8601DateTime
demandeur: Demandeur!
2020-10-01 16:14:30 +02:00
"""
LURL du GeoJSON contenant les données cartographiques du dossier.
"""
geojson: File
groupeInstructeur: GroupeInstructeur!
2018-11-20 22:21:38 +01:00
id: ID!
instructeurs: [Profile!]!
messages(id: ID): [Message!]!
2018-11-20 22:21:38 +01:00
motivation: String
2019-12-11 12:24:50 +01:00
motivationAttachment: File
2019-09-18 18:45:53 +02:00
"""
Le numero du dossier.
"""
number: Int!
2020-10-01 16:14:30 +02:00
"""
LURL du dossier au format PDF.
"""
pdf: File
2020-07-16 12:48:35 +02:00
revision: Revision!
2018-11-20 22:21:38 +01:00
"""
2020-10-01 16:14:30 +02:00
Létat du dossier.
2018-11-20 22:21:38 +01:00
"""
state: DossierState!
usager: Profile!
}
"""
Autogenerated input type of DossierAccepter
"""
input DossierAccepterInput {
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String
"""
Dossier ID
"""
dossierId: ID!
"""
Instructeur qui prend la décision sur le dossier.
"""
instructeurId: ID!
justificatif: ID
motivation: String
}
"""
Autogenerated return type of DossierAccepter
"""
type DossierAccepterPayload {
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String
dossier: Dossier
errors: [ValidationError!]
}
2020-08-19 10:42:42 +02:00
"""
Autogenerated input type of DossierArchiver
"""
input DossierArchiverInput {
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String
"""
Dossier ID
"""
dossierId: ID!
"""
Instructeur qui prend la décision sur le dossier.
"""
instructeurId: ID!
}
"""
Autogenerated return type of DossierArchiver
"""
type DossierArchiverPayload {
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String
dossier: Dossier
errors: [ValidationError!]
}
"""
Autogenerated input type of DossierChangerGroupeInstructeur
"""
input DossierChangerGroupeInstructeurInput {
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String
"""
Dossier ID
"""
dossierId: ID!
"""
Group instructeur a affecter
"""
groupeInstructeurId: ID!
}
"""
Autogenerated return type of DossierChangerGroupeInstructeur
"""
type DossierChangerGroupeInstructeurPayload {
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String
dossier: Dossier
errors: [ValidationError!]
}
"""
Autogenerated input type of DossierClasserSansSuite
"""
input DossierClasserSansSuiteInput {
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String
"""
Dossier ID
"""
dossierId: ID!
"""
Instructeur qui prend la décision sur le dossier.
"""
instructeurId: ID!
justificatif: ID
motivation: String!
}
"""
Autogenerated return type of DossierClasserSansSuite
"""
type DossierClasserSansSuitePayload {
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String
dossier: Dossier
errors: [ValidationError!]
}
2018-11-20 22:21:38 +01:00
"""
The connection type for Dossier.
"""
type DossierConnection {
"""
A list of edges.
"""
edges: [DossierEdge]
"""
A list of nodes.
"""
nodes: [Dossier]
"""
Information to aid in pagination.
"""
pageInfo: PageInfo!
}
enum DossierDeclarativeState {
"""
Accepté
"""
accepte
"""
En instruction
"""
en_instruction
}
2018-11-20 22:21:38 +01:00
"""
An edge in a connection.
"""
type DossierEdge {
"""
A cursor for use in pagination.
"""
cursor: String!
"""
The item at the end of the edge.
"""
node: Dossier
}
"""
Autogenerated input type of DossierEnvoyerMessage
"""
input DossierEnvoyerMessageInput {
attachment: ID
body: String!
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String
dossierId: ID!
instructeurId: ID!
}
"""
Autogenerated return type of DossierEnvoyerMessage
"""
type DossierEnvoyerMessagePayload {
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String
errors: [ValidationError!]
message: Message
}
type DossierLinkChamp implements Champ {
dossier: Dossier
id: ID!
2019-11-07 13:34:19 +01:00
"""
Libellé du champ.
"""
label: String!
2019-11-07 13:34:19 +01:00
"""
La valeur du champ sous forme texte.
"""
2019-09-18 18:45:53 +02:00
stringValue: String
}
2020-07-28 18:16:03 +02:00
"""
Autogenerated input type of DossierModifierAnnotationCheckbox
"""
input DossierModifierAnnotationCheckboxInput {
"""
Annotation ID
"""
annotationId: ID!
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String
"""
Dossier ID
"""
dossierId: ID!
"""
Instructeur qui demande la modification.
"""
instructeurId: ID!
value: Boolean!
}
"""
Autogenerated return type of DossierModifierAnnotationCheckbox
"""
type DossierModifierAnnotationCheckboxPayload {
annotation: Champ
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String
errors: [ValidationError!]
}
"""
Autogenerated input type of DossierModifierAnnotationDate
"""
input DossierModifierAnnotationDateInput {
"""
Annotation ID
"""
annotationId: ID!
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String
"""
Dossier ID
"""
dossierId: ID!
"""
Instructeur qui demande la modification.
"""
instructeurId: ID!
value: ISO8601Date!
}
"""
Autogenerated return type of DossierModifierAnnotationDate
"""
type DossierModifierAnnotationDatePayload {
annotation: Champ
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String
errors: [ValidationError!]
}
"""
Autogenerated input type of DossierModifierAnnotationDatetime
"""
input DossierModifierAnnotationDatetimeInput {
"""
Annotation ID
"""
annotationId: ID!
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String
"""
Dossier ID
"""
dossierId: ID!
"""
Instructeur qui demande la modification.
"""
instructeurId: ID!
value: ISO8601DateTime!
}
"""
Autogenerated return type of DossierModifierAnnotationDatetime
"""
type DossierModifierAnnotationDatetimePayload {
annotation: Champ
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String
errors: [ValidationError!]
}
"""
Autogenerated input type of DossierModifierAnnotationIntegerNumber
"""
input DossierModifierAnnotationIntegerNumberInput {
"""
Annotation ID
"""
annotationId: ID!
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String
"""
Dossier ID
"""
dossierId: ID!
"""
Instructeur qui demande la modification.
"""
instructeurId: ID!
value: Int!
}
"""
Autogenerated return type of DossierModifierAnnotationIntegerNumber
"""
type DossierModifierAnnotationIntegerNumberPayload {
annotation: Champ
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String
errors: [ValidationError!]
}
"""
Autogenerated input type of DossierModifierAnnotationText
"""
input DossierModifierAnnotationTextInput {
"""
Annotation ID
"""
annotationId: ID!
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String
"""
Dossier ID
"""
dossierId: ID!
"""
Instructeur qui demande la modification.
"""
instructeurId: ID!
value: String!
}
"""
Autogenerated return type of DossierModifierAnnotationText
"""
type DossierModifierAnnotationTextPayload {
annotation: Champ
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String
errors: [ValidationError!]
}
"""
Autogenerated input type of DossierPasserEnInstruction
"""
input DossierPasserEnInstructionInput {
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String
"""
Dossier ID
"""
dossierId: ID!
"""
Instructeur qui prend la décision sur le dossier.
"""
instructeurId: ID!
}
"""
Autogenerated return type of DossierPasserEnInstruction
"""
type DossierPasserEnInstructionPayload {
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String
dossier: Dossier
errors: [ValidationError!]
}
"""
Autogenerated input type of DossierRefuser
"""
input DossierRefuserInput {
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String
"""
Dossier ID
"""
dossierId: ID!
"""
Instructeur qui prend la décision sur le dossier.
"""
instructeurId: ID!
justificatif: ID
motivation: String!
}
"""
Autogenerated return type of DossierRefuser
"""
type DossierRefuserPayload {
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String
dossier: Dossier
errors: [ValidationError!]
}
2018-11-20 22:21:38 +01:00
enum DossierState {
"""
Accepté
"""
accepte
"""
En construction
"""
en_construction
"""
En instruction
"""
en_instruction
"""
Refusé
"""
refuse
"""
Classé sans suite
2018-11-20 22:21:38 +01:00
"""
sans_suite
}
2020-04-21 15:52:08 +02:00
type Effectif {
nb: Float!
periode: String!
2020-04-21 15:52:08 +02:00
}
type Entreprise {
attestationFiscaleAttachment: File
attestationSocialeAttachment: File
2020-09-22 09:30:28 +02:00
"""
capital social de lentreprise. -1 si inconnu.
"""
capitalSocial: BigInt
2020-09-22 09:30:28 +02:00
codeEffectifEntreprise: String
dateCreation: ISO8601Date!
"""
2020-10-01 16:14:30 +02:00
effectif moyen dune année
"""
effectifAnnuel: Effectif
"""
effectif pour un mois donné
"""
effectifMensuel: Effectif
formeJuridique: String
formeJuridiqueCode: String
inlineAdresse: String!
nom: String
nomCommercial: String!
numeroTvaIntracommunautaire: String
prenom: String
raisonSociale: String!
siren: String!
siretSiegeSocial: String!
}
2019-12-11 12:24:50 +01:00
type File {
byteSize: Int!
checksum: String!
contentType: String!
filename: String!
url: URL!
}
interface GeoArea {
description: String
geometry: GeoJSON!
2019-09-18 18:45:53 +02:00
id: ID!
source: GeoAreaSource!
}
enum GeoAreaSource {
"""
2019-11-07 13:52:48 +01:00
Parcelle cadastrale
"""
cadastre
"""
2019-11-07 13:52:48 +01:00
Sélection utilisateur
"""
selection_utilisateur
}
type GeoJSON {
coordinates: Coordinates!
type: String!
}
"""
Un groupe instructeur
"""
type GroupeInstructeur {
id: ID!
instructeurs: [Profile!]!
label: String!
"""
Le numero du groupe instructeur.
"""
number: Int!
}
"""
Un groupe instructeur avec ces dossiers
"""
type GroupeInstructeurWithDossiers {
"""
2020-10-01 16:14:30 +02:00
Liste de tous les dossiers dune démarche.
"""
dossiers(
"""
Returns the elements in the list that come after the specified cursor.
"""
after: String
"""
Returns the elements in the list that come before the specified cursor.
"""
before: String
"""
Dossiers déposés depuis la date.
"""
createdSince: ISO8601DateTime
"""
Returns the first _n_ elements from the list.
"""
first: Int
"""
Returns the last _n_ elements from the list.
"""
last: Int
"""
2020-10-01 16:14:30 +02:00
Lordre des dossiers.
"""
order: Order = ASC
"""
Dossiers avec statut.
"""
state: DossierState
"""
Dossiers mis à jour depuis la date.
"""
updatedSince: ISO8601DateTime
): DossierConnection!
id: ID!
instructeurs: [Profile!]!
label: String!
"""
Le numero du groupe instructeur.
"""
number: Int!
}
"""
An ISO 8601-encoded date
"""
scalar ISO8601Date
2018-11-20 22:21:38 +01:00
"""
An ISO 8601-encoded datetime
"""
scalar ISO8601DateTime
type IntegerNumberChamp implements Champ {
id: ID!
2019-11-07 13:34:19 +01:00
"""
Libellé du champ.
"""
label: String!
2019-11-07 13:34:19 +01:00
"""
La valeur du champ sous forme texte.
"""
2019-09-18 18:45:53 +02:00
stringValue: String
value: BigInt
}
2019-09-18 18:45:53 +02:00
type LinkedDropDownListChamp implements Champ {
id: ID!
2019-11-07 13:34:19 +01:00
"""
Libellé du champ.
"""
2019-09-18 18:45:53 +02:00
label: String!
primaryValue: String
secondaryValue: String
2019-11-07 13:34:19 +01:00
"""
La valeur du champ sous forme texte.
"""
2019-09-18 18:45:53 +02:00
stringValue: String
}
2018-11-23 18:54:51 +01:00
type Message {
2019-12-11 12:24:50 +01:00
attachment: File
2018-11-23 18:54:51 +01:00
body: String!
createdAt: ISO8601DateTime!
email: String!
2019-09-18 18:45:53 +02:00
id: ID!
}
type MultipleDropDownListChamp implements Champ {
id: ID!
2019-11-07 13:34:19 +01:00
"""
Libellé du champ.
"""
2019-09-18 18:45:53 +02:00
label: String!
2019-11-07 13:34:19 +01:00
"""
La valeur du champ sous forme texte.
"""
2019-09-18 18:45:53 +02:00
stringValue: String
values: [String!]!
2018-11-23 18:54:51 +01:00
}
2018-11-20 22:21:38 +01:00
type Mutation {
"""
File information required to prepare a direct upload
"""
2021-02-16 16:29:04 +01:00
createDirectUpload(
"""
Parameters for CreateDirectUpload
"""
input: CreateDirectUploadInput!
): CreateDirectUploadPayload
"""
Accepter le dossier.
"""
2021-02-16 16:29:04 +01:00
dossierAccepter(
"""
Parameters for DossierAccepter
"""
input: DossierAccepterInput!
): DossierAccepterPayload
2020-08-19 10:42:42 +02:00
"""
Archiver le dossier.
"""
2021-02-16 16:29:04 +01:00
dossierArchiver(
"""
Parameters for DossierArchiver
"""
input: DossierArchiverInput!
): DossierArchiverPayload
2020-08-19 10:42:42 +02:00
"""
Changer le grope instructeur du dossier.
"""
2021-02-16 16:29:04 +01:00
dossierChangerGroupeInstructeur(
"""
Parameters for DossierChangerGroupeInstructeur
"""
input: DossierChangerGroupeInstructeurInput!
): DossierChangerGroupeInstructeurPayload
"""
Classer le dossier sans suite.
"""
2021-02-16 16:29:04 +01:00
dossierClasserSansSuite(
"""
Parameters for DossierClasserSansSuite
"""
input: DossierClasserSansSuiteInput!
): DossierClasserSansSuitePayload
"""
Envoyer un message à l'usager du dossier.
"""
2021-02-16 16:29:04 +01:00
dossierEnvoyerMessage(
"""
Parameters for DossierEnvoyerMessage
"""
input: DossierEnvoyerMessageInput!
): DossierEnvoyerMessagePayload
2020-07-28 18:16:03 +02:00
"""
Modifier lannotation au format oui/non.
"""
2021-02-16 16:29:04 +01:00
dossierModifierAnnotationCheckbox(
"""
Parameters for DossierModifierAnnotationCheckbox
"""
input: DossierModifierAnnotationCheckboxInput!
): DossierModifierAnnotationCheckboxPayload
2020-07-28 18:16:03 +02:00
"""
Modifier lannotation au format date.
"""
2021-02-16 16:29:04 +01:00
dossierModifierAnnotationDate(
"""
Parameters for DossierModifierAnnotationDate
"""
input: DossierModifierAnnotationDateInput!
): DossierModifierAnnotationDatePayload
2020-07-28 18:16:03 +02:00
"""
Modifier lannotation au format date et heure.
"""
2021-02-16 16:29:04 +01:00
dossierModifierAnnotationDatetime(
"""
Parameters for DossierModifierAnnotationDatetime
"""
input: DossierModifierAnnotationDatetimeInput!
): DossierModifierAnnotationDatetimePayload
2020-07-28 18:16:03 +02:00
"""
Modifier lannotation au format nombre entier.
"""
2021-02-16 16:29:04 +01:00
dossierModifierAnnotationIntegerNumber(
"""
Parameters for DossierModifierAnnotationIntegerNumber
"""
input: DossierModifierAnnotationIntegerNumberInput!
): DossierModifierAnnotationIntegerNumberPayload
2020-07-28 18:16:03 +02:00
"""
Modifier lannotation au format text.
"""
2021-02-16 16:29:04 +01:00
dossierModifierAnnotationText(
"""
Parameters for DossierModifierAnnotationText
"""
input: DossierModifierAnnotationTextInput!
): DossierModifierAnnotationTextPayload
2020-07-28 18:16:03 +02:00
"""
Passer le dossier en instruction.
"""
2021-02-16 16:29:04 +01:00
dossierPasserEnInstruction(
"""
Parameters for DossierPasserEnInstruction
"""
input: DossierPasserEnInstructionInput!
): DossierPasserEnInstructionPayload
"""
Refuser le dossier.
"""
2021-02-16 16:29:04 +01:00
dossierRefuser(
"""
Parameters for DossierRefuser
"""
input: DossierRefuserInput!
): DossierRefuserPayload
2018-11-20 22:21:38 +01:00
}
2019-09-26 14:57:58 +02:00
enum Order {
"""
2021-05-26 15:09:23 +02:00
Lordre ascendant.
2019-09-26 14:57:58 +02:00
"""
ASC
"""
2021-05-26 15:09:23 +02:00
Lordre descendant.
2019-09-26 14:57:58 +02:00
"""
DESC
}
2018-11-20 22:21:38 +01:00
"""
Information about pagination in a connection.
"""
type PageInfo {
"""
When paginating forwards, the cursor to continue.
"""
endCursor: String
"""
When paginating forwards, are there more items?
"""
hasNextPage: Boolean!
"""
When paginating backwards, are there more items?
"""
hasPreviousPage: Boolean!
"""
When paginating backwards, the cursor to continue.
"""
startCursor: String
}
type ParcelleCadastrale implements GeoArea {
codeArr: String! @deprecated(reason: "Utilisez le champ `prefixe` à la place.")
codeCom: String! @deprecated(reason: "Utilisez le champ `commune` à la place.")
codeDep: String! @deprecated(reason: "Utilisez le champ `commune` à la place.")
commune: String!
description: String
2021-05-26 15:09:23 +02:00
feuille: Int! @deprecated(reason: "Linformation nest plus disponible.")
geometry: GeoJSON!
2019-09-18 18:45:53 +02:00
id: ID!
nomCom: String! @deprecated(reason: "Utilisez le champ `commune` à la place.")
numero: String!
prefixe: String!
section: String!
source: GeoAreaSource!
surface: String!
2021-05-26 15:09:23 +02:00
surfaceIntersection: Float! @deprecated(reason: "Linformation nest plus disponible.")
surfaceParcelle: Float! @deprecated(reason: "Utilisez le champ `surface` à la place.")
}
type PersonneMorale implements Demandeur {
address: Address!
adresse: String! @deprecated(reason: "Utilisez le champ `address.label` à la place.")
association: Association
codeInseeLocalite: String! @deprecated(reason: "Utilisez le champ `address.city_code` à la place.")
codePostal: String! @deprecated(reason: "Utilisez le champ `address.postal_code` à la place.")
complementAdresse: String @deprecated(reason: "Utilisez le champ `address` à la place.")
entreprise: Entreprise
id: ID!
libelleNaf: String!
localite: String! @deprecated(reason: "Utilisez le champ `address.city_name` à la place.")
naf: String!
nomVoie: String @deprecated(reason: "Utilisez le champ `address.street_name` à la place.")
numeroVoie: String @deprecated(reason: "Utilisez le champ `address.street_number` à la place.")
siegeSocial: Boolean!
siret: String!
typeVoie: String @deprecated(reason: "Utilisez le champ `address.street_address` à la place.")
}
type PersonnePhysique implements Demandeur {
civilite: Civilite
dateDeNaissance: ISO8601Date
id: ID!
nom: String!
prenom: String!
}
type PieceJustificativeChamp implements Champ {
2019-12-11 12:24:50 +01:00
file: File
id: ID!
2019-11-07 13:34:19 +01:00
"""
Libellé du champ.
"""
label: String!
2019-11-07 13:34:19 +01:00
"""
La valeur du champ sous forme texte.
"""
2019-09-18 18:45:53 +02:00
stringValue: String
}
2018-11-20 22:21:38 +01:00
type Profile {
email: String!
id: ID!
}
type Query {
"""
Informations concernant une démarche.
"""
demarche(
"""
Numéro de la démarche.
"""
number: Int!
2018-11-20 22:21:38 +01:00
): Demarche!
"""
2020-10-01 16:14:30 +02:00
Informations sur un dossier dune démarche.
2018-11-20 22:21:38 +01:00
"""
dossier(
"""
Numéro du dossier.
"""
number: Int!
2018-11-20 22:21:38 +01:00
): Dossier!
"""
Informations sur un groupe instructeur.
"""
groupeInstructeur(
"""
Numéro du groupe instructeur.
"""
number: Int!
): GroupeInstructeurWithDossiers!
2018-11-20 22:21:38 +01:00
}
type RepetitionChamp implements Champ {
champs: [Champ!]!
id: ID!
2019-11-07 13:34:19 +01:00
"""
Libellé du champ.
"""
label: String!
2019-11-07 13:34:19 +01:00
"""
La valeur du champ sous forme texte.
"""
2019-09-18 18:45:53 +02:00
stringValue: String
}
2020-07-16 12:48:35 +02:00
type Revision {
annotationDescriptors: [ChampDescriptor!]!
champDescriptors: [ChampDescriptor!]!
"""
Date de la création.
"""
dateCreation: ISO8601DateTime!
id: ID!
}
type SelectionUtilisateur implements GeoArea {
description: String
geometry: GeoJSON!
2019-09-18 18:45:53 +02:00
id: ID!
source: GeoAreaSource!
}
2019-11-29 12:45:58 +01:00
type Service {
id: ID!
nom: String!
organisme: String!
typeOrganisme: TypeOrganisme!
}
type SiretChamp implements Champ {
etablissement: PersonneMorale
id: ID!
2019-11-07 13:34:19 +01:00
"""
Libellé du champ.
"""
label: String!
2019-11-07 13:34:19 +01:00
"""
La valeur du champ sous forme texte.
"""
2019-09-18 18:45:53 +02:00
stringValue: String
}
type TextChamp implements Champ {
id: ID!
2019-11-07 13:34:19 +01:00
"""
Libellé du champ.
"""
label: String!
2019-11-07 13:34:19 +01:00
"""
La valeur du champ sous forme texte.
"""
2019-09-18 18:45:53 +02:00
stringValue: String
value: String
}
2020-09-24 12:02:14 +02:00
type TitreIdentiteChamp implements Champ {
grantType: TitreIdentiteGrantType!
id: ID!
"""
Libellé du champ.
"""
label: String!
"""
La valeur du champ sous forme texte.
"""
stringValue: String
}
enum TitreIdentiteGrantType {
"""
Françe Connect
"""
france_connect
"""
Pièce justificative
"""
piece_justificative
}
enum TypeDeChamp {
"""
Adresse
"""
address
2021-01-14 17:29:57 +01:00
"""
Annuaire de léducation
"""
annuaire_education
"""
Carte
"""
carte
"""
Case à cocher
"""
checkbox
"""
Civilité
"""
civilite
"""
Communes
"""
communes
"""
Date
"""
date
"""
Date et Heure
"""
datetime
"""
Nombre décimal
"""
decimal_number
"""
Départements
"""
departements
"""
Lien vers un autre dossier
"""
dossier_link
"""
2020-06-26 17:07:03 +02:00
Choix parmi une liste
"""
drop_down_list
"""
Email
"""
email
"""
Engagement
"""
engagement
"""
Explication
"""
explication
"""
Titre de section
"""
header_section
2020-09-22 16:04:57 +02:00
"""
Iban
"""
iban
"""
Nombre entier
"""
integer_number
"""
Deux menus déroulants liés
"""
linked_drop_down_list
"""
2020-06-26 17:07:03 +02:00
Choix multiples
"""
multiple_drop_down_list
"""
Nombre
"""
number
"""
Pays
"""
pays
"""
Téléphone
"""
phone
"""
Pièce justificative
"""
piece_justificative
"""
Régions
"""
regions
"""
Bloc répétable
"""
repetition
"""
SIRET
"""
siret
"""
Texte
"""
text
"""
Zone de texte
"""
textarea
2020-09-17 17:09:16 +02:00
"""
Titre identité
"""
titre_identite
"""
Oui/Non
"""
yes_no
}
2019-11-29 12:45:58 +01:00
enum TypeOrganisme {
"""
Administration centrale
"""
administration_centrale
"""
Association
"""
association
"""
Autre
"""
autre
"""
Collectivité territoriale
"""
collectivite_territoriale
"""
Établissement denseignement
"""
etablissement_enseignement
"""
2020-03-26 16:59:53 +01:00
Opérateur dÉtat
2019-11-29 12:45:58 +01:00
"""
operateur_d_etat
"""
2020-03-26 16:59:53 +01:00
Service déconcentré de lÉtat
2019-11-29 12:45:58 +01:00
"""
service_deconcentre_de_l_etat
}
2018-11-20 22:21:38 +01:00
"""
A valid URL, transported as a string
"""
scalar URL
"""
Éreur de validation
"""
type ValidationError {
"""
A description of the error
"""
message: String!
2021-03-16 11:56:17 +01:00
}