@tricoteuses/senat
Version:
Handle French Sénat's open data
602 lines (542 loc) • 14.6 kB
text/typescript
/* tslint:disable */
/**
* AUTO-GENERATED FILE - DO NOT EDIT!
*
* This file was automatically generated by schemats v.0.3.2
* $ schemats generate -c postgres://username:password@localhost:5432/ameli -t amd -t amdsen -t avicom -t avigvt -t cab -t com_ameli -t ent -t etatxt -t fbu -t grppol_ameli -t gvt -t intora -t irr -t lec_ameli -t mot -t nat -t orarol -t sai -t saisen -t sea -t sen_ameli -t ses -t sor -t sub -t txt_ameli -t typrect -t typses -t typsub -t w_nivrec -s public
*
*/
export namespace amdFields {
export type accgou = string | null
export type alinea = number | null
export type amdperid = number | null
export type autext = string
export type avcid = string | null
export type avgid = string | null
export type colleg = string
export type datdep = Date | null
export type dis = string | null
export type discomid = number | null
export type etaid = number
export type id = number
export type ideid = number | null
export type irrid = number | null
export type irrlo1113valid = string | null
export type irrsaisiepar = number | null
export type islu = string | null
export type libgrp = string | null
export type mot = string | null
export type motid = number | null
export type motposexa = string
export type nomentid = number
export type num = string | null
export type numabs = number | null
export type obj = string | null
export type obs = string | null
export type ocmid = number | null
export type opmid = number | null
export type ord = number | null
export type rev = number
export type sorid = string | null
export type subid = number | null
export type subidder = number | null
export type subpos = number | null
export type txtid = number
export type typ = string
export type typrectid = number | null
}
export interface amd {
accgou: amdFields.accgou
alinea: amdFields.alinea
amdperid: amdFields.amdperid
autext: amdFields.autext
avcid: amdFields.avcid
avgid: amdFields.avgid
colleg: amdFields.colleg
datdep: amdFields.datdep
dis: amdFields.dis
discomid: amdFields.discomid
etaid: amdFields.etaid
id: amdFields.id
ideid: amdFields.ideid
irrid: amdFields.irrid
irrlo1113valid: amdFields.irrlo1113valid
irrsaisiepar: amdFields.irrsaisiepar
islu: amdFields.islu
libgrp: amdFields.libgrp
mot: amdFields.mot
motid: amdFields.motid
motposexa: amdFields.motposexa
nomentid: amdFields.nomentid
num: amdFields.num
numabs: amdFields.numabs
obj: amdFields.obj
obs: amdFields.obs
ocmid: amdFields.ocmid
opmid: amdFields.opmid
ord: amdFields.ord
rev: amdFields.rev
sorid: amdFields.sorid
subid: amdFields.subid
subidder: amdFields.subidder
subpos: amdFields.subpos
txtid: amdFields.txtid
typ: amdFields.typ
typrectid: amdFields.typrectid
}
export namespace amdsenFields {
export type amdid = number
export type grpid = number | null
export type hom = string | null
export type nomuse = string | null
export type prenomuse = string | null
export type qua = string | null
export type rng = number | null
export type senid = number
}
export interface amdsen {
amdid: amdsenFields.amdid
grpid: amdsenFields.grpid
hom: amdsenFields.hom
nomuse: amdsenFields.nomuse
prenomuse: amdsenFields.prenomuse
qua: amdsenFields.qua
rng: amdsenFields.rng
senid: amdsenFields.senid
}
export namespace avicomFields {
export type cod = string
export type id = string
export type lib = string
}
export interface avicom {
cod: avicomFields.cod
id: avicomFields.id
lib: avicomFields.lib
}
export namespace avigvtFields {
export type cod = string
export type id = string
export type lib = string
}
export interface avigvt {
cod: avigvtFields.cod
id: avigvtFields.id
lib: avigvtFields.lib
}
export namespace cabFields {
export type codint = string
export type entid = number
export type lil = string | null
}
export interface cab {
codint: cabFields.codint
entid: cabFields.entid
lil: cabFields.lil
}
export namespace com_ameliFields {
export type cod = string
export type codint = string
export type entid = number
export type lib = string
export type lil = string
export type spc = string
export type tri = number | null
}
export interface com_ameli {
cod: com_ameliFields.cod
codint: com_ameliFields.codint
entid: com_ameliFields.entid
lib: com_ameliFields.lib
lil: com_ameliFields.lil
spc: com_ameliFields.spc
tri: com_ameliFields.tri
}
export namespace entFields {
export type act = string | null
export type id = number
export type typ = string
}
export interface ent {
act: entFields.act
id: entFields.id
typ: entFields.typ
}
export namespace etatxtFields {
export type id = number
export type lib = string
export type lic = string
export type txttyp = string
}
export interface etatxt {
id: etatxtFields.id
lib: etatxtFields.lib
lic: etatxtFields.lic
txttyp: etatxtFields.txttyp
}
export namespace fbuFields {
export type id = number
export type lib = string
export type lic = string
export type sesid = number
}
export interface fbu {
id: fbuFields.id
lib: fbuFields.lib
lic: fbuFields.lic
sesid: fbuFields.sesid
}
export namespace grppol_ameliFields {
export type cod = string
export type codint = string
export type entid = number
export type libcou = string
export type lilcou = string
export type tri = number | null
}
export interface grppol_ameli {
cod: grppol_ameliFields.cod
codint: grppol_ameliFields.codint
entid: grppol_ameliFields.entid
libcou: grppol_ameliFields.libcou
lilcou: grppol_ameliFields.lilcou
tri: grppol_ameliFields.tri
}
export namespace gvtFields {
export type entid = number
export type nom = string
export type pre = string
export type qua = string
export type tit = string
}
export interface gvt {
entid: gvtFields.entid
nom: gvtFields.nom
pre: gvtFields.pre
qua: gvtFields.qua
tit: gvtFields.tit
}
export namespace intoraFields {
export type entid = number
export type entid2 = number | null
export type id = number
export type mom = string
export type ord = number
export type rolcod = string
export type seaid = number | null
export type subid = number | null
export type temps = number
export type txtid = number
}
export interface intora {
entid: intoraFields.entid
entid2: intoraFields.entid2
id: intoraFields.id
mom: intoraFields.mom
ord: intoraFields.ord
rolcod: intoraFields.rolcod
seaid: intoraFields.seaid
subid: intoraFields.subid
temps: intoraFields.temps
txtid: intoraFields.txtid
}
export namespace irrFields {
export type art = string | null
export type cod = string
export type id = number
export type lib = string
export type libirr = string | null
export type lilmin = string | null
export type par = string | null
}
export interface irr {
art: irrFields.art
cod: irrFields.cod
id: irrFields.id
lib: irrFields.lib
libirr: irrFields.libirr
lilmin: irrFields.lilmin
par: irrFields.par
}
export namespace lec_ameliFields {
export type id = number
export type lecpreid = number | null
export type lib = string
}
export interface lec_ameli {
id: lec_ameliFields.id
lecpreid: lec_ameliFields.lecpreid
lib: lec_ameliFields.lib
}
export namespace motFields {
export type cod = string | null
export type id = number
export type int = string | null
export type lib = string
export type libnbe = string | null
export type ord = number
}
export interface mot {
cod: motFields.cod
id: motFields.id
int: motFields.int
lib: motFields.lib
libnbe: motFields.libnbe
ord: motFields.ord
}
export namespace natFields {
export type id = number
export type lib = string
export type libcourt = string | null
}
export interface nat {
id: natFields.id
lib: natFields.lib
libcourt: natFields.libcourt
}
export namespace orarolFields {
export type cod = string
export type entreq = string
export type lib = string | null
}
export interface orarol {
cod: orarolFields.cod
entreq: orarolFields.entreq
lib: orarolFields.lib
}
export namespace saiFields {
export type comid = number
export type id = number
export type isdelegfond = string
export type numrap = number | null
export type saityp = string
export type sesid = number
export type txtid = number
}
export interface sai {
comid: saiFields.comid
id: saiFields.id
isdelegfond: saiFields.isdelegfond
numrap: saiFields.numrap
saityp: saiFields.saityp
sesid: saiFields.sesid
txtid: saiFields.txtid
}
export namespace saisenFields {
export type id = number
export type ord = number
export type senid = number
}
export interface saisen {
id: saisenFields.id
ord: saisenFields.ord
senid: saisenFields.senid
}
export namespace seaFields {
export type dat = Date | null
export type id = number
export type num = number | null
export type sesid = number
}
export interface sea {
dat: seaFields.dat
id: seaFields.id
num: seaFields.num
sesid: seaFields.sesid
}
export namespace sen_ameliFields {
export type app = string | null
export type comid = number | null
export type comspcid = number | null
export type entid = number
export type grpid = number
export type hom = string | null
export type mat = string
export type nomtec = string | null
export type nomuse = string
export type nomusemin = string
export type prenomuse = string
export type qua = string
export type ratt = string | null
export type senfem = string | null
}
export interface sen_ameli {
app: sen_ameliFields.app
comid: sen_ameliFields.comid
comspcid: sen_ameliFields.comspcid
entid: sen_ameliFields.entid
grpid: sen_ameliFields.grpid
hom: sen_ameliFields.hom
mat: sen_ameliFields.mat
nomtec: sen_ameliFields.nomtec
nomuse: sen_ameliFields.nomuse
nomusemin: sen_ameliFields.nomusemin
prenomuse: sen_ameliFields.prenomuse
qua: sen_ameliFields.qua
ratt: sen_ameliFields.ratt
senfem: sen_ameliFields.senfem
}
export namespace sesFields {
export type ann = number
export type id = number
export type lil = string
export type typid = number
}
export interface ses {
ann: sesFields.ann
id: sesFields.id
lil: sesFields.lil
typid: sesFields.typid
}
export namespace sorFields {
export type cod = string
export type id = string
export type lib = string
export type typ = string
}
export interface sor {
cod: sorFields.cod
id: sorFields.id
lib: sorFields.lib
typ: sorFields.typ
}
export namespace subFields {
export type comdelid = number | null
export type dupl = string
export type id = number
export type islec = string
export type lib = string | null
export type lic = string | null
export type merid = number | null
export type pos = number | null
export type posder = number | null
export type prires = number | null
export type sig = string | null
export type sorid = string | null
export type style = string
export type subamd = string
export type txtid = number
export type txtidder = number | null
export type typid = number | null
}
export interface sub {
comdelid: subFields.comdelid
dupl: subFields.dupl
id: subFields.id
islec: subFields.islec
lib: subFields.lib
lic: subFields.lic
merid: subFields.merid
pos: subFields.pos
posder: subFields.posder
prires: subFields.prires
sig: subFields.sig
sorid: subFields.sorid
style: subFields.style
subamd: subFields.subamd
txtid: subFields.txtid
txtidder: subFields.txtidder
typid: subFields.typid
}
export namespace txt_ameliFields {
export type datado = Date | null
export type datdep = Date
export type dis = string
export type doslegsignet = string | null
export type fbuid = number | null
export type fusder = string
export type fusderid = number | null
export type fusderord = number
export type fusdertyp = string | null
export type id = number
export type inl = string | null
export type int = string
export type lecid = number
export type libcplnat = string | null
export type libdelim = string | null
export type loifin = string
export type loifinpar = number | null
export type natid = number
export type num = string
export type numabs = number | null
export type numado = number | null
export type ordsnddelib = string | null
export type proacc = string
export type pubdellim = Date | null
export type secdel = string
export type sesdepid = number
export type sesinsid = number | null
export type txtamd = string
export type txtetaid = number
export type txtexa = string | null
export type txttyp = string
export type urg = string
}
export interface txt_ameli {
datado: txt_ameliFields.datado
datdep: txt_ameliFields.datdep
dis: txt_ameliFields.dis
doslegsignet: txt_ameliFields.doslegsignet
fbuid: txt_ameliFields.fbuid
fusder: txt_ameliFields.fusder
fusderid: txt_ameliFields.fusderid
fusderord: txt_ameliFields.fusderord
fusdertyp: txt_ameliFields.fusdertyp
id: txt_ameliFields.id
inl: txt_ameliFields.inl
int: txt_ameliFields.int
lecid: txt_ameliFields.lecid
libcplnat: txt_ameliFields.libcplnat
libdelim: txt_ameliFields.libdelim
loifin: txt_ameliFields.loifin
loifinpar: txt_ameliFields.loifinpar
natid: txt_ameliFields.natid
num: txt_ameliFields.num
numabs: txt_ameliFields.numabs
numado: txt_ameliFields.numado
ordsnddelib: txt_ameliFields.ordsnddelib
proacc: txt_ameliFields.proacc
pubdellim: txt_ameliFields.pubdellim
secdel: txt_ameliFields.secdel
sesdepid: txt_ameliFields.sesdepid
sesinsid: txt_ameliFields.sesinsid
txtamd: txt_ameliFields.txtamd
txtetaid: txt_ameliFields.txtetaid
txtexa: txt_ameliFields.txtexa
txttyp: txt_ameliFields.txttyp
urg: txt_ameliFields.urg
}
export namespace typrectFields {
export type id = number
export type lib = string
export type ord = number
}
export interface typrect {
id: typrectFields.id
lib: typrectFields.lib
ord: typrectFields.ord
}
export namespace typsesFields {
export type id = number
export type lib = string | null
}
export interface typses {
id: typsesFields.id
lib: typsesFields.lib
}
export namespace typsubFields {
export type id = number
export type lib = string
}
export interface typsub {
id: typsubFields.id
lib: typsubFields.lib
}
export namespace w_nivrecFields {
export type lib = string | null
export type num = number
}
export interface w_nivrec {
lib: w_nivrecFields.lib
num: w_nivrecFields.num
}