UNPKG

@tricoteuses/senat

Version:

Handle French Sénat's open data

542 lines (541 loc) 14.5 kB
/** * 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 declare namespace amdFields { type accgou = string | null; type alinea = number | null; type amdperid = number | null; type autext = string; type avcid = string | null; type avgid = string | null; type colleg = string; type datdep = Date | null; type dis = string | null; type discomid = number | null; type etaid = number; type id = number; type ideid = number | null; type irrid = number | null; type irrlo1113valid = string | null; type irrsaisiepar = number | null; type islu = string | null; type libgrp = string | null; type mot = string | null; type motid = number | null; type motposexa = string; type nomentid = number; type num = string | null; type numabs = number | null; type obj = string | null; type obs = string | null; type ocmid = number | null; type opmid = number | null; type ord = number | null; type rev = number; type sorid = string | null; type subid = number | null; type subidder = number | null; type subpos = number | null; type txtid = number; type typ = string; 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 declare namespace amdsenFields { type amdid = number; type grpid = number | null; type hom = string | null; type nomuse = string | null; type prenomuse = string | null; type qua = string | null; type rng = number | null; 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 declare namespace avicomFields { type cod = string; type id = string; type lib = string; } export interface avicom { cod: avicomFields.cod; id: avicomFields.id; lib: avicomFields.lib; } export declare namespace avigvtFields { type cod = string; type id = string; type lib = string; } export interface avigvt { cod: avigvtFields.cod; id: avigvtFields.id; lib: avigvtFields.lib; } export declare namespace cabFields { type codint = string; type entid = number; type lil = string | null; } export interface cab { codint: cabFields.codint; entid: cabFields.entid; lil: cabFields.lil; } export declare namespace com_ameliFields { type cod = string; type codint = string; type entid = number; type lib = string; type lil = string; type spc = string; 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 declare namespace entFields { type act = string | null; type id = number; type typ = string; } export interface ent { act: entFields.act; id: entFields.id; typ: entFields.typ; } export declare namespace etatxtFields { type id = number; type lib = string; type lic = string; type txttyp = string; } export interface etatxt { id: etatxtFields.id; lib: etatxtFields.lib; lic: etatxtFields.lic; txttyp: etatxtFields.txttyp; } export declare namespace fbuFields { type id = number; type lib = string; type lic = string; type sesid = number; } export interface fbu { id: fbuFields.id; lib: fbuFields.lib; lic: fbuFields.lic; sesid: fbuFields.sesid; } export declare namespace grppol_ameliFields { type cod = string; type codint = string; type entid = number; type libcou = string; type lilcou = string; 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 declare namespace gvtFields { type entid = number; type nom = string; type pre = string; type qua = string; type tit = string; } export interface gvt { entid: gvtFields.entid; nom: gvtFields.nom; pre: gvtFields.pre; qua: gvtFields.qua; tit: gvtFields.tit; } export declare namespace intoraFields { type entid = number; type entid2 = number | null; type id = number; type mom = string; type ord = number; type rolcod = string; type seaid = number | null; type subid = number | null; type temps = number; 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 declare namespace irrFields { type art = string | null; type cod = string; type id = number; type lib = string; type libirr = string | null; type lilmin = string | null; 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 declare namespace lec_ameliFields { type id = number; type lecpreid = number | null; type lib = string; } export interface lec_ameli { id: lec_ameliFields.id; lecpreid: lec_ameliFields.lecpreid; lib: lec_ameliFields.lib; } export declare namespace motFields { type cod = string | null; type id = number; type int = string | null; type lib = string; type libnbe = string | null; 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 declare namespace natFields { type id = number; type lib = string; type libcourt = string | null; } export interface nat { id: natFields.id; lib: natFields.lib; libcourt: natFields.libcourt; } export declare namespace orarolFields { type cod = string; type entreq = string; type lib = string | null; } export interface orarol { cod: orarolFields.cod; entreq: orarolFields.entreq; lib: orarolFields.lib; } export declare namespace saiFields { type comid = number; type id = number; type isdelegfond = string; type numrap = number | null; type saityp = string; type sesid = number; 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 declare namespace saisenFields { type id = number; type ord = number; type senid = number; } export interface saisen { id: saisenFields.id; ord: saisenFields.ord; senid: saisenFields.senid; } export declare namespace seaFields { type dat = Date | null; type id = number; type num = number | null; type sesid = number; } export interface sea { dat: seaFields.dat; id: seaFields.id; num: seaFields.num; sesid: seaFields.sesid; } export declare namespace sen_ameliFields { type app = string | null; type comid = number | null; type comspcid = number | null; type entid = number; type grpid = number; type hom = string | null; type mat = string; type nomtec = string | null; type nomuse = string; type nomusemin = string; type prenomuse = string; type qua = string; type ratt = string | null; 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 declare namespace sesFields { type ann = number; type id = number; type lil = string; type typid = number; } export interface ses { ann: sesFields.ann; id: sesFields.id; lil: sesFields.lil; typid: sesFields.typid; } export declare namespace sorFields { type cod = string; type id = string; type lib = string; type typ = string; } export interface sor { cod: sorFields.cod; id: sorFields.id; lib: sorFields.lib; typ: sorFields.typ; } export declare namespace subFields { type comdelid = number | null; type dupl = string; type id = number; type islec = string; type lib = string | null; type lic = string | null; type merid = number | null; type pos = number | null; type posder = number | null; type prires = number | null; type sig = string | null; type sorid = string | null; type style = string; type subamd = string; type txtid = number; type txtidder = number | null; 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 declare namespace txt_ameliFields { type datado = Date | null; type datdep = Date; type dis = string; type doslegsignet = string | null; type fbuid = number | null; type fusder = string; type fusderid = number | null; type fusderord = number; type fusdertyp = string | null; type id = number; type inl = string | null; type int = string; type lecid = number; type libcplnat = string | null; type libdelim = string | null; type loifin = string; type loifinpar = number | null; type natid = number; type num = string; type numabs = number | null; type numado = number | null; type ordsnddelib = string | null; type proacc = string; type pubdellim = Date | null; type secdel = string; type sesdepid = number; type sesinsid = number | null; type txtamd = string; type txtetaid = number; type txtexa = string | null; type txttyp = string; 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 declare namespace typrectFields { type id = number; type lib = string; type ord = number; } export interface typrect { id: typrectFields.id; lib: typrectFields.lib; ord: typrectFields.ord; } export declare namespace typsesFields { type id = number; type lib = string | null; } export interface typses { id: typsesFields.id; lib: typsesFields.lib; } export declare namespace typsubFields { type id = number; type lib = string; } export interface typsub { id: typsubFields.id; lib: typsubFields.lib; } export declare namespace w_nivrecFields { type lib = string | null; type num = number; } export interface w_nivrec { lib: w_nivrecFields.lib; num: w_nivrecFields.num; }