@lab-mi/ds-api-client
Advanced tools
Comparing version 0.0.1 to 0.0.2
import { gql } from "graphql-request"; | ||
export default gql ` | ||
query getDemarche( | ||
$demarcheNumber: Int! | ||
$state: DossierState | ||
$order: Order | ||
$after: String | ||
) { | ||
demarche(number: $demarcheNumber) { | ||
id | ||
number | ||
title | ||
groupeInstructeurs { | ||
id | ||
number | ||
label | ||
instructeurs { | ||
id | ||
} | ||
} | ||
dossiers(state: $state, order: $order, after: $after) { | ||
nodes { | ||
...DossierFragment | ||
} | ||
} | ||
} | ||
} | ||
fragment DossierFragment on Dossier { | ||
query getDemarche( | ||
$demarcheNumber: Int! | ||
$state: DossierState | ||
$order: Order | ||
$after: String | ||
) { | ||
demarche(number: $demarcheNumber) { | ||
id | ||
number | ||
title | ||
groupeInstructeurs { | ||
id | ||
number | ||
archived | ||
state | ||
dateDerniereModification | ||
dateDepot | ||
datePassageEnConstruction | ||
datePassageEnInstruction | ||
dateTraitement | ||
motivation | ||
pdf { | ||
url | ||
} | ||
label | ||
instructeurs { | ||
id | ||
} | ||
usager { | ||
} | ||
dossiers(state: $state, order: $order, after: $after) { | ||
nodes { | ||
...DossierFragment | ||
} | ||
groupeInstructeur { | ||
id | ||
number | ||
label | ||
} | ||
traitements { | ||
state | ||
emailAgentTraitant | ||
dateTraitement | ||
motivation | ||
} | ||
demandeur { | ||
... on PersonnePhysique { | ||
civilite | ||
nom | ||
prenom | ||
dateDeNaissance | ||
} | ||
} | ||
} | ||
} | ||
} | ||
fragment DossierFragment on Dossier { | ||
id | ||
number | ||
archived | ||
state | ||
dateDerniereModification | ||
dateDepot | ||
datePassageEnConstruction | ||
datePassageEnInstruction | ||
dateTraitement | ||
motivation | ||
pdf { | ||
url | ||
} | ||
instructeurs { | ||
} | ||
usager { | ||
} | ||
groupeInstructeur { | ||
id | ||
number | ||
label | ||
} | ||
traitements { | ||
state | ||
emailAgentTraitant | ||
dateTraitement | ||
motivation | ||
} | ||
demandeur { | ||
... on PersonnePhysique { | ||
civilite | ||
nom | ||
prenom | ||
dateDeNaissance | ||
} | ||
} | ||
} | ||
`; | ||
//# sourceMappingURL=getDemarche.js.map |
import { gql } from "graphql-request"; | ||
export default gql ` | ||
query getDossier($dossierNumber: Int!) { | ||
dossier(number: $dossierNumber) { | ||
...DossierFragment | ||
demarche { | ||
...DemarcheDescriptorFragment | ||
} | ||
} | ||
query getDossier($dossierNumber: Int!) { | ||
dossier(number: $dossierNumber) { | ||
...DossierFragment | ||
demarche { | ||
...DemarcheDescriptorFragment | ||
} | ||
} | ||
fragment DossierFragment on Dossier { | ||
id | ||
number | ||
archived | ||
state | ||
dateDerniereModification | ||
dateDepot | ||
datePassageEnConstruction | ||
datePassageEnInstruction | ||
dateTraitement | ||
motivation | ||
motivationAttachment { | ||
...FileFragment | ||
} | ||
attestation { | ||
...FileFragment | ||
} | ||
pdf { | ||
url | ||
} | ||
instructeurs { | ||
} | ||
usager { | ||
} | ||
groupeInstructeur { | ||
id | ||
number | ||
label | ||
} | ||
revision { | ||
...RevisionFragment | ||
} | ||
traitements { | ||
state | ||
emailAgentTraitant | ||
dateTraitement | ||
motivation | ||
} | ||
champs { | ||
...ChampFragment | ||
...RootChampFragment | ||
} | ||
annotations { | ||
...ChampFragment | ||
...RootChampFragment | ||
} | ||
avis { | ||
...AvisFragment | ||
} | ||
messages { | ||
...MessageFragment | ||
} | ||
demandeur { | ||
... on PersonnePhysique { | ||
civilite | ||
nom | ||
prenom | ||
dateDeNaissance | ||
} | ||
...PersonneMoraleFragment | ||
} | ||
} | ||
} | ||
fragment DemarcheDescriptorFragment on DemarcheDescriptor { | ||
id | ||
number | ||
title | ||
description | ||
state | ||
declarative | ||
dateCreation | ||
datePublication | ||
dateDerniereModification | ||
dateDepublication | ||
dateFermeture | ||
fragment DossierFragment on Dossier { | ||
id | ||
number | ||
archived | ||
state | ||
dateDerniereModification | ||
dateDepot | ||
datePassageEnConstruction | ||
datePassageEnInstruction | ||
dateTraitement | ||
motivation | ||
motivationAttachment { | ||
...FileFragment | ||
} | ||
fragment RevisionFragment on Revision { | ||
id | ||
champDescriptors { | ||
...ChampDescriptorFragment | ||
champDescriptors { | ||
...ChampDescriptorFragment | ||
} | ||
} | ||
annotationDescriptors { | ||
...ChampDescriptorFragment | ||
champDescriptors { | ||
...ChampDescriptorFragment | ||
} | ||
} | ||
attestation { | ||
...FileFragment | ||
} | ||
pdf { | ||
url | ||
} | ||
instructeurs { | ||
} | ||
usager { | ||
} | ||
groupeInstructeur { | ||
id | ||
number | ||
label | ||
} | ||
revision { | ||
...RevisionFragment | ||
} | ||
traitements { | ||
state | ||
emailAgentTraitant | ||
dateTraitement | ||
motivation | ||
} | ||
champs { | ||
...ChampFragment | ||
...RootChampFragment | ||
} | ||
annotations { | ||
...ChampFragment | ||
...RootChampFragment | ||
} | ||
avis { | ||
...AvisFragment | ||
} | ||
messages { | ||
...MessageFragment | ||
} | ||
demandeur { | ||
... on PersonnePhysique { | ||
civilite | ||
nom | ||
prenom | ||
dateDeNaissance | ||
} | ||
...PersonneMoraleFragment | ||
} | ||
} | ||
fragment ChampDescriptorFragment on ChampDescriptor { | ||
id | ||
type | ||
label | ||
description | ||
required | ||
options | ||
fragment DemarcheDescriptorFragment on DemarcheDescriptor { | ||
id | ||
number | ||
title | ||
description | ||
state | ||
declarative | ||
dateCreation | ||
datePublication | ||
dateDerniereModification | ||
dateDepublication | ||
dateFermeture | ||
} | ||
fragment RevisionFragment on Revision { | ||
id | ||
champDescriptors { | ||
...ChampDescriptorFragment | ||
champDescriptors { | ||
...ChampDescriptorFragment | ||
} | ||
} | ||
annotationDescriptors { | ||
...ChampDescriptorFragment | ||
champDescriptors { | ||
...ChampDescriptorFragment | ||
} | ||
} | ||
} | ||
fragment AvisFragment on Avis { | ||
id | ||
question | ||
reponse | ||
dateQuestion | ||
dateReponse | ||
claimant { | ||
} | ||
expert { | ||
} | ||
attachment { | ||
...FileFragment | ||
} | ||
fragment ChampDescriptorFragment on ChampDescriptor { | ||
id | ||
type | ||
label | ||
description | ||
required | ||
options | ||
} | ||
fragment AvisFragment on Avis { | ||
id | ||
question | ||
reponse | ||
dateQuestion | ||
dateReponse | ||
claimant { | ||
} | ||
expert { | ||
} | ||
attachment { | ||
...FileFragment | ||
} | ||
} | ||
fragment MessageFragment on Message { | ||
id | ||
body | ||
createdAt | ||
attachment { | ||
...FileFragment | ||
} | ||
fragment MessageFragment on Message { | ||
id | ||
body | ||
createdAt | ||
attachment { | ||
...FileFragment | ||
} | ||
} | ||
fragment GeoAreaFragment on GeoArea { | ||
id | ||
source | ||
description | ||
geometry { | ||
type | ||
coordinates | ||
} | ||
... on ParcelleCadastrale { | ||
commune | ||
numero | ||
section | ||
prefixe | ||
surface | ||
} | ||
fragment GeoAreaFragment on GeoArea { | ||
id | ||
source | ||
description | ||
geometry { | ||
type | ||
coordinates | ||
} | ||
... on ParcelleCadastrale { | ||
commune | ||
numero | ||
section | ||
prefixe | ||
surface | ||
} | ||
} | ||
fragment RootChampFragment on Champ { | ||
... on RepetitionChamp { | ||
champs { | ||
...ChampFragment | ||
} | ||
} | ||
... on SiretChamp { | ||
etablissement { | ||
...PersonneMoraleFragment | ||
} | ||
} | ||
... on CarteChamp { | ||
geoAreas { | ||
...GeoAreaFragment | ||
} | ||
} | ||
... on DossierLinkChamp { | ||
dossier { | ||
id | ||
state | ||
usager { | ||
} | ||
} | ||
} | ||
fragment RootChampFragment on Champ { | ||
... on RepetitionChamp { | ||
champs { | ||
...ChampFragment | ||
} | ||
} | ||
fragment ChampFragment on Champ { | ||
... on SiretChamp { | ||
etablissement { | ||
...PersonneMoraleFragment | ||
} | ||
} | ||
... on CarteChamp { | ||
geoAreas { | ||
...GeoAreaFragment | ||
} | ||
} | ||
... on DossierLinkChamp { | ||
dossier { | ||
id | ||
label | ||
stringValue | ||
... on DateChamp { | ||
date | ||
state | ||
usager { | ||
} | ||
... on DatetimeChamp { | ||
datetime | ||
} | ||
... on CheckboxChamp { | ||
checked: value | ||
} | ||
... on DecimalNumberChamp { | ||
decimalNumber: value | ||
} | ||
... on IntegerNumberChamp { | ||
integerNumber: value | ||
} | ||
... on CiviliteChamp { | ||
civilite: value | ||
} | ||
... on LinkedDropDownListChamp { | ||
primaryValue | ||
secondaryValue | ||
} | ||
... on MultipleDropDownListChamp { | ||
values | ||
} | ||
... on PieceJustificativeChamp { | ||
file { | ||
...FileFragment | ||
} | ||
} | ||
... on AddressChamp { | ||
address { | ||
...AddressFragment | ||
} | ||
} | ||
... on CommuneChamp { | ||
commune { | ||
name | ||
code | ||
} | ||
departement { | ||
name | ||
code | ||
} | ||
} | ||
} | ||
} | ||
} | ||
fragment PersonneMoraleFragment on PersonneMorale { | ||
siret | ||
siegeSocial | ||
naf | ||
libelleNaf | ||
address { | ||
...AddressFragment | ||
} | ||
entreprise { | ||
siren | ||
capitalSocial | ||
numeroTvaIntracommunautaire | ||
formeJuridique | ||
formeJuridiqueCode | ||
nomCommercial | ||
raisonSociale | ||
siretSiegeSocial | ||
codeEffectifEntreprise | ||
dateCreation | ||
nom | ||
prenom | ||
attestationFiscaleAttachment { | ||
...FileFragment | ||
} | ||
attestationSocialeAttachment { | ||
...FileFragment | ||
} | ||
} | ||
association { | ||
rna | ||
titre | ||
objet | ||
dateCreation | ||
dateDeclaration | ||
datePublication | ||
} | ||
fragment ChampFragment on Champ { | ||
id | ||
label | ||
stringValue | ||
... on DateChamp { | ||
date | ||
} | ||
... on DatetimeChamp { | ||
datetime | ||
} | ||
... on CheckboxChamp { | ||
checked: value | ||
} | ||
... on DecimalNumberChamp { | ||
decimalNumber: value | ||
} | ||
... on IntegerNumberChamp { | ||
integerNumber: value | ||
} | ||
... on CiviliteChamp { | ||
civilite: value | ||
} | ||
... on LinkedDropDownListChamp { | ||
primaryValue | ||
secondaryValue | ||
} | ||
... on MultipleDropDownListChamp { | ||
values | ||
} | ||
... on PieceJustificativeChamp { | ||
file { | ||
...FileFragment | ||
} | ||
} | ||
... on AddressChamp { | ||
address { | ||
...AddressFragment | ||
} | ||
} | ||
... on CommuneChamp { | ||
commune { | ||
name | ||
code | ||
} | ||
departement { | ||
name | ||
code | ||
} | ||
} | ||
} | ||
fragment FileFragment on File { | ||
filename | ||
contentType | ||
checksum | ||
byteSizeBigInt | ||
url | ||
fragment PersonneMoraleFragment on PersonneMorale { | ||
siret | ||
siegeSocial | ||
naf | ||
libelleNaf | ||
address { | ||
...AddressFragment | ||
} | ||
entreprise { | ||
siren | ||
capitalSocial | ||
numeroTvaIntracommunautaire | ||
formeJuridique | ||
formeJuridiqueCode | ||
nomCommercial | ||
raisonSociale | ||
siretSiegeSocial | ||
codeEffectifEntreprise | ||
dateCreation | ||
nom | ||
prenom | ||
attestationFiscaleAttachment { | ||
...FileFragment | ||
} | ||
attestationSocialeAttachment { | ||
...FileFragment | ||
} | ||
} | ||
association { | ||
rna | ||
titre | ||
objet | ||
dateCreation | ||
dateDeclaration | ||
datePublication | ||
} | ||
} | ||
fragment AddressFragment on Address { | ||
label | ||
type | ||
streetAddress | ||
streetNumber | ||
streetName | ||
postalCode | ||
cityName | ||
cityCode | ||
departmentName | ||
departmentCode | ||
regionName | ||
regionCode | ||
} | ||
fragment FileFragment on File { | ||
filename | ||
contentType | ||
checksum | ||
byteSizeBigInt | ||
url | ||
} | ||
fragment AddressFragment on Address { | ||
label | ||
type | ||
streetAddress | ||
streetNumber | ||
streetName | ||
postalCode | ||
cityName | ||
cityCode | ||
departmentName | ||
departmentCode | ||
regionName | ||
regionCode | ||
} | ||
`; | ||
//# sourceMappingURL=getDossier.js.map |
import { gql } from "graphql-request"; | ||
export default gql ` | ||
query getGroupeInstructeur( | ||
$groupeInstructeurNumber: Int! | ||
$state: DossierState | ||
$order: Order | ||
$after: String | ||
) { | ||
groupeInstructeur(number: $groupeInstructeurNumber) { | ||
id | ||
number | ||
label | ||
instructeurs { | ||
id | ||
} | ||
dossiers(state: $state, order: $order, after: $after) { | ||
nodes { | ||
...DossierFragment | ||
} | ||
} | ||
query getGroupeInstructeur( | ||
$groupeInstructeurNumber: Int! | ||
$state: DossierState | ||
$order: Order | ||
$after: String | ||
) { | ||
groupeInstructeur(number: $groupeInstructeurNumber) { | ||
id | ||
number | ||
label | ||
instructeurs { | ||
id | ||
} | ||
dossiers(state: $state, order: $order, after: $after) { | ||
nodes { | ||
...DossierFragment | ||
} | ||
} | ||
} | ||
} | ||
`; | ||
//# sourceMappingURL=getGroupInstructeur.js.map |
{ | ||
"name": "@lab-mi/ds-api-client", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Un DS Client GraphQL prenant en charge Node et les navigateurs pour les scripts ou les applications simples", | ||
@@ -13,5 +13,4 @@ "author": "LAB-MI", | ||
"build": "tsc --project tsconfig.build.json", | ||
"postinstall": "npm run build", | ||
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"", | ||
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix", | ||
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\"", | ||
"test": "jest", | ||
@@ -18,0 +17,0 @@ "test:watch": "jest --watch", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
0
127975