2018-11-23 18:54:51 +01:00
|
|
|
type Avis {
|
|
|
|
answer: String
|
2019-09-18 18:45:53 +02:00
|
|
|
attachmentUrl: URL
|
2018-11-23 18:54:51 +01:00
|
|
|
createdAt: ISO8601DateTime!
|
|
|
|
email: String!
|
2019-09-18 18:45:53 +02:00
|
|
|
id: ID!
|
2018-11-23 18:54:51 +01:00
|
|
|
question: String!
|
|
|
|
}
|
|
|
|
|
2019-08-28 11:25:41 +02:00
|
|
|
type CarteChamp implements Champ {
|
|
|
|
geoAreas: [GeoArea!]!
|
|
|
|
id: ID!
|
|
|
|
label: String!
|
2019-09-18 18:45:53 +02:00
|
|
|
stringValue: String
|
2019-08-28 11:25:41 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
interface Champ {
|
|
|
|
id: ID!
|
|
|
|
label: String!
|
2019-09-18 18:45:53 +02:00
|
|
|
stringValue: String
|
2019-08-28 11:25:41 +02:00
|
|
|
}
|
|
|
|
|
2019-09-18 18:45:53 +02:00
|
|
|
type ChampDescriptor {
|
2018-11-23 18:55:54 +01:00
|
|
|
description: String
|
|
|
|
id: ID!
|
|
|
|
label: String!
|
|
|
|
required: Boolean!
|
|
|
|
type: TypeDeChamp!
|
|
|
|
}
|
|
|
|
|
2019-08-28 11:25:41 +02:00
|
|
|
type CheckboxChamp implements Champ {
|
|
|
|
id: ID!
|
|
|
|
label: String!
|
2019-09-18 18:45:53 +02:00
|
|
|
stringValue: String
|
2019-08-28 11:25:41 +02:00
|
|
|
value: Boolean!
|
|
|
|
}
|
|
|
|
|
|
|
|
"""
|
|
|
|
GeoJSON coordinates
|
|
|
|
"""
|
|
|
|
scalar Coordinates
|
|
|
|
|
|
|
|
type DateChamp implements Champ {
|
|
|
|
id: ID!
|
|
|
|
label: String!
|
2019-09-18 18:45:53 +02:00
|
|
|
stringValue: String
|
2019-08-28 11:25:41 +02:00
|
|
|
value: ISO8601DateTime
|
|
|
|
}
|
|
|
|
|
|
|
|
type DecimalNumberChamp implements Champ {
|
|
|
|
id: ID!
|
|
|
|
label: String!
|
2019-09-18 18:45:53 +02:00
|
|
|
stringValue: String
|
2019-08-28 11:25:41 +02:00
|
|
|
value: Float
|
|
|
|
}
|
|
|
|
|
2018-11-20 22:21:38 +01:00
|
|
|
"""
|
|
|
|
Une demarche
|
|
|
|
"""
|
|
|
|
type Demarche {
|
2019-09-18 18:45:53 +02:00
|
|
|
annotationDescriptors: [ChampDescriptor!]!
|
2018-11-20 22:21:38 +01:00
|
|
|
archivedAt: ISO8601DateTime
|
2019-09-18 18:45:53 +02:00
|
|
|
champDescriptors: [ChampDescriptor!]!
|
2018-11-20 22:21:38 +01:00
|
|
|
createdAt: ISO8601DateTime!
|
|
|
|
|
|
|
|
"""
|
|
|
|
Déscription de la démarche.
|
|
|
|
"""
|
|
|
|
description: String!
|
|
|
|
|
|
|
|
"""
|
|
|
|
Liste de tous les dossiers d'une 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
|
|
|
|
|
|
|
|
"""
|
|
|
|
Returns the first _n_ elements from the list.
|
|
|
|
"""
|
|
|
|
first: Int
|
|
|
|
|
|
|
|
"""
|
|
|
|
Filtrer les dossiers par ID.
|
|
|
|
"""
|
|
|
|
ids: [ID!]
|
|
|
|
|
|
|
|
"""
|
|
|
|
Returns the last _n_ elements from the list.
|
|
|
|
"""
|
|
|
|
last: Int
|
|
|
|
|
|
|
|
"""
|
|
|
|
Dossiers crées depuis la date.
|
|
|
|
"""
|
|
|
|
since: ISO8601DateTime
|
|
|
|
): DossierConnection!
|
|
|
|
id: ID!
|
|
|
|
instructeurs: [Profile!]!
|
|
|
|
|
|
|
|
"""
|
2019-09-18 18:45:53 +02:00
|
|
|
Le numero de la démarche.
|
2018-11-20 22:21:38 +01:00
|
|
|
"""
|
2019-09-18 18:45:53 +02:00
|
|
|
number: ID!
|
2018-11-20 22:21:38 +01:00
|
|
|
state: DemarcheState!
|
|
|
|
title: String!
|
|
|
|
updatedAt: ISO8601DateTime!
|
|
|
|
}
|
|
|
|
|
|
|
|
enum DemarcheState {
|
|
|
|
"""
|
2019-09-18 18:45:53 +02:00
|
|
|
Archivée
|
2018-11-20 22:21:38 +01:00
|
|
|
"""
|
|
|
|
archivee
|
|
|
|
|
|
|
|
"""
|
|
|
|
Brouillon
|
|
|
|
"""
|
|
|
|
brouillon
|
|
|
|
|
|
|
|
"""
|
2019-09-18 18:45:53 +02:00
|
|
|
Publiée
|
2018-11-20 22:21:38 +01:00
|
|
|
"""
|
|
|
|
publiee
|
|
|
|
}
|
|
|
|
|
|
|
|
"""
|
|
|
|
Un dossier
|
|
|
|
"""
|
|
|
|
type Dossier {
|
2019-08-28 11:25:41 +02:00
|
|
|
annotations: [Champ!]!
|
2019-09-18 18:45:53 +02:00
|
|
|
archived: Boolean!
|
2018-11-23 18:54:51 +01:00
|
|
|
avis: [Avis!]!
|
2019-08-28 11:25:41 +02:00
|
|
|
champs: [Champ!]!
|
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
|
2018-11-20 22:21:38 +01:00
|
|
|
id: ID!
|
|
|
|
instructeurs: [Profile!]!
|
2018-11-23 18:54:51 +01:00
|
|
|
messages: [Message!]!
|
2018-11-20 22:21:38 +01:00
|
|
|
motivation: String
|
2019-09-18 18:45:53 +02:00
|
|
|
motivationAttachmentUrl: URL
|
|
|
|
|
|
|
|
"""
|
|
|
|
Le numero du dossier.
|
|
|
|
"""
|
|
|
|
number: ID!
|
2018-11-20 22:21:38 +01:00
|
|
|
|
|
|
|
"""
|
|
|
|
L'état du dossier.
|
|
|
|
"""
|
|
|
|
state: DossierState!
|
2019-09-18 18:45:53 +02:00
|
|
|
|
|
|
|
"""
|
|
|
|
Date de dernière mise à jour.
|
|
|
|
"""
|
2018-11-20 22:21:38 +01:00
|
|
|
updatedAt: ISO8601DateTime!
|
|
|
|
usager: Profile!
|
|
|
|
}
|
|
|
|
|
|
|
|
"""
|
|
|
|
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!
|
|
|
|
}
|
|
|
|
|
|
|
|
"""
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|
2019-08-28 11:25:41 +02:00
|
|
|
type DossierLinkChamp implements Champ {
|
|
|
|
dossier: Dossier
|
|
|
|
id: ID!
|
|
|
|
label: String!
|
2019-09-18 18:45:53 +02:00
|
|
|
stringValue: String
|
2019-08-28 11:25:41 +02:00
|
|
|
}
|
|
|
|
|
2018-11-20 22:21:38 +01:00
|
|
|
enum DossierState {
|
|
|
|
"""
|
|
|
|
Accepté
|
|
|
|
"""
|
|
|
|
accepte
|
|
|
|
|
|
|
|
"""
|
|
|
|
En construction
|
|
|
|
"""
|
|
|
|
en_construction
|
|
|
|
|
|
|
|
"""
|
|
|
|
En instruction
|
|
|
|
"""
|
|
|
|
en_instruction
|
|
|
|
|
|
|
|
"""
|
|
|
|
Refusé
|
|
|
|
"""
|
|
|
|
refuse
|
|
|
|
|
|
|
|
"""
|
|
|
|
Sans suite
|
|
|
|
"""
|
|
|
|
sans_suite
|
|
|
|
}
|
|
|
|
|
2019-08-28 11:25:41 +02:00
|
|
|
interface GeoArea {
|
|
|
|
geometry: GeoJSON!
|
2019-09-18 18:45:53 +02:00
|
|
|
id: ID!
|
2019-08-28 11:25:41 +02:00
|
|
|
source: GeoAreaSource!
|
|
|
|
}
|
|
|
|
|
|
|
|
enum GeoAreaSource {
|
|
|
|
"""
|
|
|
|
translation missing: fr.activerecord.attributes.geo_area.source.cadastre
|
|
|
|
"""
|
|
|
|
cadastre
|
|
|
|
|
|
|
|
"""
|
|
|
|
translation missing: fr.activerecord.attributes.geo_area.source.parcelle_agricole
|
|
|
|
"""
|
|
|
|
parcelle_agricole
|
|
|
|
|
|
|
|
"""
|
|
|
|
translation missing: fr.activerecord.attributes.geo_area.source.quartier_prioritaire
|
|
|
|
"""
|
|
|
|
quartier_prioritaire
|
|
|
|
|
|
|
|
"""
|
|
|
|
translation missing: fr.activerecord.attributes.geo_area.source.selection_utilisateur
|
|
|
|
"""
|
|
|
|
selection_utilisateur
|
|
|
|
}
|
|
|
|
|
|
|
|
type GeoJSON {
|
|
|
|
coordinates: Coordinates!
|
|
|
|
type: String!
|
|
|
|
}
|
|
|
|
|
2018-11-20 22:21:38 +01:00
|
|
|
"""
|
|
|
|
An ISO 8601-encoded datetime
|
|
|
|
"""
|
|
|
|
scalar ISO8601DateTime
|
|
|
|
|
2019-08-28 11:25:41 +02:00
|
|
|
type IntegerNumberChamp implements Champ {
|
|
|
|
id: ID!
|
|
|
|
label: String!
|
2019-09-18 18:45:53 +02:00
|
|
|
stringValue: String
|
2019-08-28 11:25:41 +02:00
|
|
|
value: Int
|
|
|
|
}
|
|
|
|
|
2019-09-18 18:45:53 +02:00
|
|
|
type LinkedDropDownListChamp implements Champ {
|
|
|
|
id: ID!
|
|
|
|
label: String!
|
|
|
|
primaryValue: String
|
|
|
|
secondaryValue: String
|
|
|
|
stringValue: String
|
|
|
|
}
|
|
|
|
|
2018-11-23 18:54:51 +01:00
|
|
|
type Message {
|
2019-09-18 18:45:53 +02:00
|
|
|
attachmentUrl: URL
|
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!
|
|
|
|
label: String!
|
|
|
|
stringValue: String
|
|
|
|
values: [String!]!
|
2018-11-23 18:54:51 +01:00
|
|
|
}
|
|
|
|
|
2018-11-20 22:21:38 +01:00
|
|
|
type Mutation {
|
|
|
|
}
|
|
|
|
|
|
|
|
"""
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|
2019-08-28 11:25:41 +02:00
|
|
|
type ParcelleCadastrale implements GeoArea {
|
|
|
|
codeArr: String!
|
|
|
|
codeCom: String!
|
|
|
|
codeDep: String!
|
|
|
|
feuille: Int!
|
|
|
|
geometry: GeoJSON!
|
2019-09-18 18:45:53 +02:00
|
|
|
id: ID!
|
2019-08-28 11:25:41 +02:00
|
|
|
nomCom: String!
|
|
|
|
numero: String!
|
|
|
|
section: String!
|
|
|
|
source: GeoAreaSource!
|
|
|
|
surfaceIntersection: Float!
|
|
|
|
surfaceParcelle: Float!
|
|
|
|
}
|
|
|
|
|
|
|
|
type PersonneMorale {
|
|
|
|
adresse: String!
|
|
|
|
codeInseeLocalite: String!
|
|
|
|
codePostal: String!
|
|
|
|
complementAdresse: String!
|
|
|
|
libelleNaf: String!
|
|
|
|
localite: String!
|
|
|
|
naf: String!
|
|
|
|
nomVoie: String!
|
|
|
|
numeroVoie: String!
|
|
|
|
siegeSocial: String!
|
|
|
|
siret: String!
|
|
|
|
typeVoie: String!
|
|
|
|
}
|
|
|
|
|
|
|
|
type PieceJustificativeChamp implements Champ {
|
|
|
|
id: ID!
|
|
|
|
label: String!
|
2019-09-18 18:45:53 +02:00
|
|
|
stringValue: String
|
2019-08-28 11:25:41 +02:00
|
|
|
url: URL
|
|
|
|
}
|
|
|
|
|
2018-11-20 22:21:38 +01:00
|
|
|
type Profile {
|
|
|
|
email: String!
|
|
|
|
id: ID!
|
|
|
|
}
|
|
|
|
|
2019-08-28 11:25:41 +02:00
|
|
|
type QuartierPrioritaire implements GeoArea {
|
|
|
|
code: String!
|
|
|
|
commune: String!
|
|
|
|
geometry: GeoJSON!
|
2019-09-18 18:45:53 +02:00
|
|
|
id: ID!
|
2019-08-28 11:25:41 +02:00
|
|
|
nom: String!
|
|
|
|
source: GeoAreaSource!
|
|
|
|
}
|
|
|
|
|
2018-11-20 22:21:38 +01:00
|
|
|
type Query {
|
|
|
|
"""
|
|
|
|
Informations concernant une démarche.
|
|
|
|
"""
|
|
|
|
demarche(
|
|
|
|
"""
|
|
|
|
Numéro de la démarche.
|
|
|
|
"""
|
2019-09-18 18:45:53 +02:00
|
|
|
number: ID!
|
2018-11-20 22:21:38 +01:00
|
|
|
): Demarche!
|
|
|
|
|
|
|
|
"""
|
|
|
|
Informations sur un dossier d'une démarche.
|
|
|
|
"""
|
|
|
|
dossier(
|
|
|
|
"""
|
|
|
|
Numéro du dossier.
|
|
|
|
"""
|
2019-09-18 18:45:53 +02:00
|
|
|
number: ID!
|
2018-11-20 22:21:38 +01:00
|
|
|
): Dossier!
|
|
|
|
}
|
|
|
|
|
2019-08-28 11:25:41 +02:00
|
|
|
type RepetitionChamp implements Champ {
|
|
|
|
champs: [Champ!]!
|
|
|
|
id: ID!
|
|
|
|
label: String!
|
2019-09-18 18:45:53 +02:00
|
|
|
stringValue: String
|
2019-08-28 11:25:41 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
type SelectionUtilisateur implements GeoArea {
|
|
|
|
geometry: GeoJSON!
|
2019-09-18 18:45:53 +02:00
|
|
|
id: ID!
|
2019-08-28 11:25:41 +02:00
|
|
|
source: GeoAreaSource!
|
|
|
|
}
|
|
|
|
|
|
|
|
type SiretChamp implements Champ {
|
|
|
|
etablissement: PersonneMorale
|
|
|
|
id: ID!
|
|
|
|
label: String!
|
2019-09-18 18:45:53 +02:00
|
|
|
stringValue: String
|
2019-08-28 11:25:41 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
type TextChamp implements Champ {
|
|
|
|
id: ID!
|
|
|
|
label: String!
|
2019-09-18 18:45:53 +02:00
|
|
|
stringValue: String
|
2019-08-28 11:25:41 +02:00
|
|
|
value: String
|
|
|
|
}
|
|
|
|
|
2018-11-23 18:55:54 +01:00
|
|
|
enum TypeDeChamp {
|
|
|
|
"""
|
|
|
|
Adresse
|
|
|
|
"""
|
|
|
|
address
|
|
|
|
|
|
|
|
"""
|
|
|
|
Carte
|
|
|
|
"""
|
|
|
|
carte
|
|
|
|
|
|
|
|
"""
|
|
|
|
Case à cocher
|
|
|
|
"""
|
|
|
|
checkbox
|
|
|
|
|
|
|
|
"""
|
|
|
|
Civilité
|
|
|
|
"""
|
|
|
|
civilite
|
|
|
|
|
|
|
|
"""
|
|
|
|
Date
|
|
|
|
"""
|
|
|
|
date
|
|
|
|
|
|
|
|
"""
|
|
|
|
Date et Heure
|
|
|
|
"""
|
|
|
|
datetime
|
|
|
|
|
|
|
|
"""
|
|
|
|
Nombre décimal
|
|
|
|
"""
|
|
|
|
decimal_number
|
|
|
|
|
|
|
|
"""
|
|
|
|
Départements
|
|
|
|
"""
|
|
|
|
departements
|
|
|
|
|
|
|
|
"""
|
|
|
|
Lien vers un autre dossier
|
|
|
|
"""
|
|
|
|
dossier_link
|
|
|
|
|
|
|
|
"""
|
|
|
|
Menu déroulant
|
|
|
|
"""
|
|
|
|
drop_down_list
|
|
|
|
|
|
|
|
"""
|
|
|
|
Email
|
|
|
|
"""
|
|
|
|
email
|
|
|
|
|
|
|
|
"""
|
|
|
|
Engagement
|
|
|
|
"""
|
|
|
|
engagement
|
|
|
|
|
|
|
|
"""
|
|
|
|
Explication
|
|
|
|
"""
|
|
|
|
explication
|
|
|
|
|
|
|
|
"""
|
|
|
|
Titre de section
|
|
|
|
"""
|
|
|
|
header_section
|
|
|
|
|
|
|
|
"""
|
|
|
|
Nombre entier
|
|
|
|
"""
|
|
|
|
integer_number
|
|
|
|
|
|
|
|
"""
|
|
|
|
Deux menus déroulants liés
|
|
|
|
"""
|
|
|
|
linked_drop_down_list
|
|
|
|
|
|
|
|
"""
|
|
|
|
Menu déroulant à choix multiples
|
|
|
|
"""
|
|
|
|
multiple_drop_down_list
|
|
|
|
|
|
|
|
"""
|
|
|
|
Nombre entier
|
|
|
|
"""
|
|
|
|
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
|
|
|
|
|
|
|
|
"""
|
|
|
|
Oui/Non
|
|
|
|
"""
|
|
|
|
yes_no
|
|
|
|
}
|
|
|
|
|
2018-11-20 22:21:38 +01:00
|
|
|
"""
|
|
|
|
A valid URL, transported as a string
|
|
|
|
"""
|
2019-09-18 18:45:53 +02:00
|
|
|
scalar URL
|