@tricoteuses/senat
Version:
Handle French Sénat's open data
232 lines (231 loc) • 8.66 kB
TypeScript
/**
* AUTO-GENERATED FILE - DO NOT EDIT!
*
* This file was automatically generated by schemats v.1.0.1
* $ schemats generate -c postgres://username:password@localhost:5432/questions -t etatquestion -t legquestion -t naturequestion -t sortquestion -t tam_ministeres -t tam_questions -t tam_reponses -t the -s public
*
*/
export declare namespace etatquestionFields {
type etaquecod = string;
type etaquelib = string | null;
type etaquenumtri = number | null;
}
export interface etatquestion {
etaquecod: etatquestionFields.etaquecod;
etaquelib: etatquestionFields.etaquelib;
etaquenumtri: etatquestionFields.etaquenumtri;
}
export declare namespace legquestionFields {
type legdatdeb = Date | null;
type legdatfin = Date | null;
type legislature = number;
type leglib = string | null;
type republique = number | null;
}
export interface legquestion {
legdatdeb: legquestionFields.legdatdeb;
legdatfin: legquestionFields.legdatfin;
legislature: legquestionFields.legislature;
leglib: legquestionFields.leglib;
republique: legquestionFields.republique;
}
export declare namespace naturequestionFields {
type natquecod = string;
type natquelib = string | null;
type natquenumtri = number | null;
}
export interface naturequestion {
natquecod: naturequestionFields.natquecod;
natquelib: naturequestionFields.natquelib;
natquenumtri: naturequestionFields.natquenumtri;
}
export declare namespace sortquestionFields {
type sorquecod = string;
type sorquelib = string | null;
type sorquenumtri = number | null;
}
export interface sortquestion {
sorquecod: sortquestionFields.sorquecod;
sorquelib: sortquestionFields.sorquelib;
sorquenumtri: sortquestionFields.sorquenumtri;
}
export declare namespace tam_ministeresFields {
type datedebut = Date | null;
type datefin = Date | null;
type intitulejo = string | null;
type libelle = string | null;
type libellelong = string | null;
type minid = number;
type minidremp = number | null;
type nomministre = string | null;
type ordreprotocolaire = number | null;
type titreministre = string | null;
}
export interface tam_ministeres {
datedebut: tam_ministeresFields.datedebut;
datefin: tam_ministeresFields.datefin;
intitulejo: tam_ministeresFields.intitulejo;
libelle: tam_ministeresFields.libelle;
libellelong: tam_ministeresFields.libellelong;
minid: tam_ministeresFields.minid;
minidremp: tam_ministeresFields.minidremp;
nomministre: tam_ministeresFields.nomministre;
ordreprotocolaire: tam_ministeresFields.ordreprotocolaire;
titreministre: tam_ministeresFields.titreministre;
}
export declare namespace tam_questionsFields {
type circonscription = string | null;
type cirnum = number | null;
type codequalite = string | null;
type compub = string | null;
type datecloture = Date | null;
type dateerr = Date | null;
type datejodepot = Date | null;
type datejorep1 = Date | null;
type datejotran = Date | null;
type daterappel = Date | null;
type dateseance = Date | null;
type datesignal = Date | null;
type datesynctam = Date | null;
type dattrans = Date | null;
type dattransori = Date | null;
type delaijours = number | null;
type delaijoursrep1 = number | null;
type etaquecod = number | null;
type groupe = string | null;
type id = number;
type legislature = number | null;
type matricule = string;
type mindepotid = number | null;
type mindepotlib = string | null;
type minrepid1 = number | null;
type minreplib1 = string | null;
type mintranid = number | null;
type mintranlib = string | null;
type natquecod = string | null;
type natqueord = number | null;
type nom = string | null;
type nomtechnique = string | null;
type numero = string | null;
type pageerr = number | null;
type pagejodepot = number | null;
type prenom = string | null;
type ratgrp = string | null;
type reference = string | null;
type refquerappelee = string | null;
type renvoi1 = string | null;
type renvoi2 = string | null;
type renvoi3 = string | null;
type repub = number | null;
type rubrique = string | null;
type sorquecod = number | null;
type thecrible = string | null;
type themes = string | null;
type titre = string | null;
type tranisreattr = string | null;
type txterrque = string | null;
type txtque = string | null;
type uuid = string | null;
type uuidquerappelee = string | null;
type uuidtrans = string | null;
type uuidtransori = string | null;
type version = number | null;
}
export interface tam_questions {
circonscription: tam_questionsFields.circonscription;
cirnum: tam_questionsFields.cirnum;
codequalite: tam_questionsFields.codequalite;
compub: tam_questionsFields.compub;
datecloture: tam_questionsFields.datecloture;
dateerr: tam_questionsFields.dateerr;
datejodepot: tam_questionsFields.datejodepot;
datejorep1: tam_questionsFields.datejorep1;
datejotran: tam_questionsFields.datejotran;
daterappel: tam_questionsFields.daterappel;
dateseance: tam_questionsFields.dateseance;
datesignal: tam_questionsFields.datesignal;
datesynctam: tam_questionsFields.datesynctam;
dattrans: tam_questionsFields.dattrans;
dattransori: tam_questionsFields.dattransori;
delaijours: tam_questionsFields.delaijours;
delaijoursrep1: tam_questionsFields.delaijoursrep1;
etaquecod: tam_questionsFields.etaquecod;
groupe: tam_questionsFields.groupe;
id: tam_questionsFields.id;
legislature: tam_questionsFields.legislature;
matricule: tam_questionsFields.matricule;
mindepotid: tam_questionsFields.mindepotid;
mindepotlib: tam_questionsFields.mindepotlib;
minrepid1: tam_questionsFields.minrepid1;
minreplib1: tam_questionsFields.minreplib1;
mintranid: tam_questionsFields.mintranid;
mintranlib: tam_questionsFields.mintranlib;
natquecod: tam_questionsFields.natquecod;
natqueord: tam_questionsFields.natqueord;
nom: tam_questionsFields.nom;
nomtechnique: tam_questionsFields.nomtechnique;
numero: tam_questionsFields.numero;
pageerr: tam_questionsFields.pageerr;
pagejodepot: tam_questionsFields.pagejodepot;
prenom: tam_questionsFields.prenom;
ratgrp: tam_questionsFields.ratgrp;
reference: tam_questionsFields.reference;
refquerappelee: tam_questionsFields.refquerappelee;
renvoi1: tam_questionsFields.renvoi1;
renvoi2: tam_questionsFields.renvoi2;
renvoi3: tam_questionsFields.renvoi3;
repub: tam_questionsFields.repub;
rubrique: tam_questionsFields.rubrique;
sorquecod: tam_questionsFields.sorquecod;
thecrible: tam_questionsFields.thecrible;
themes: tam_questionsFields.themes;
titre: tam_questionsFields.titre;
tranisreattr: tam_questionsFields.tranisreattr;
txterrque: tam_questionsFields.txterrque;
txtque: tam_questionsFields.txtque;
uuid: tam_questionsFields.uuid;
uuidquerappelee: tam_questionsFields.uuidquerappelee;
uuidtrans: tam_questionsFields.uuidtrans;
uuidtransori: tam_questionsFields.uuidtransori;
version: tam_questionsFields.version;
}
export declare namespace tam_reponsesFields {
type datejorep = Date | null;
type delaijoursrep = number | null;
type errdate = Date | null;
type errpage = number | null;
type idque = number;
type idrepunique = string | null;
type minrepid = number | null;
type minreplib = string | null;
type pagejorep = number | null;
type txterrrep = string | null;
type txtrep = string | null;
type urlrep = string | null;
}
export interface tam_reponses {
datejorep: tam_reponsesFields.datejorep;
delaijoursrep: tam_reponsesFields.delaijoursrep;
errdate: tam_reponsesFields.errdate;
errpage: tam_reponsesFields.errpage;
idque: tam_reponsesFields.idque;
idrepunique: tam_reponsesFields.idrepunique;
minrepid: tam_reponsesFields.minrepid;
minreplib: tam_reponsesFields.minreplib;
pagejorep: tam_reponsesFields.pagejorep;
txterrrep: tam_reponsesFields.txterrrep;
txtrep: tam_reponsesFields.txtrep;
urlrep: tam_reponsesFields.urlrep;
}
export declare namespace theFields {
type theali = string | null;
type thecle = number;
type thelib = string;
type thenouidt = number | null;
}
export interface the {
theali: theFields.theali;
thecle: theFields.thecle;
thelib: theFields.thelib;
thenouidt: theFields.thenouidt;
}