UNPKG

@tricoteuses/senat

Version:

Handle French Sénat's open data

2,596 lines (2,595 loc) 162 kB
/** * This file was generated by kysely-codegen. * Please do not edit it manually. */ import type { ColumnType } from "kysely"; export type Generated<T> = T extends ColumnType<infer S, infer I, infer U> ? ColumnType<S, I | undefined, U> : ColumnType<T, T | undefined, T>; export type Int8 = ColumnType<string, bigint | number | string, bigint | number | string>; export type Numeric = ColumnType<string, number | string, number | string>; export type Timestamp = ColumnType<Date, Date | string, Date | string>; export interface Acr { acrcachflag: number; acrcod: string; acrmotpas: string; acrnom: string; acrnum: string; /** * Code direction */ srvcod: string; /** * Date système création */ syscredat: Timestamp | null; /** * Date système modification */ sysmajdat: Timestamp | null; } export interface Activite { /** * Identifiant */ actid: Int8; /** * Libellé */ actlib: string | null; /** * Libellé court */ actlic: string | null; /** * Catégorie */ catactcod: string; comcod: string | null; datdeb: Timestamp; datfin: Timestamp; delegacod: string | null; envjodat: Timestamp | null; gecod: string | null; giacod: string | null; nb_delegations: Generated<Int8>; nb_participants: Generated<Int8>; scrid: Int8 | null; /** * Type */ typactcod: string; validdat: Timestamp | null; } export interface ActiviteAudit { actid: Int8; activiteslieesdroite_mod: number | null; activiteslieesgauche_mod: number | null; actlib: string | null; actlib_mod: number | null; actlic: string | null; actlic_mod: number | null; catact_mod: number | null; catactcod: string | null; com_mod: number | null; comcod: string | null; datdeb: Timestamp | null; datdeb_mod: number | null; datfin: Timestamp | null; datfin_mod: number | null; delega_mod: number | null; delegacod: string | null; delegants_mod: number | null; derogationliee_mod: number | null; envjodat: Timestamp | null; envjodat_mod: number | null; envjolog: string | null; envjolog_mod: number | null; gecod: string | null; gia_mod: number | null; giacod: string | null; groupeetude_mod: number | null; lois_mod: number | null; nb_delegations: Generated<Int8 | null>; nb_participants: Generated<Int8 | null>; nbdelegations_mod: number | null; nbparticipants_mod: number | null; participants_mod: number | null; rev: Int8; revend: Int8 | null; revtype: number | null; scr_mod: number | null; scrid: Int8 | null; supprimedat: Timestamp | null; supprimedat_mod: number | null; supprimelog: string | null; supprimelog_mod: number | null; typact_mod: number | null; typactcod: string | null; validdat: Timestamp | null; validdat_mod: number | null; validlog: string | null; validlog_mod: number | null; } export interface ActiviteDelegation { actid: Int8; delegactid: Int8; delegidx: Generated<Int8>; senmat: string; senmat_delegue: string | null; } export interface ActiviteDelegationAudit { act_mod: number | null; actid: Int8 | null; delegactid: Int8; delegant_mod: number | null; delegidx: Int8 | null; delegue_mod: number | null; index_mod: number | null; rev: Int8; revend: Int8 | null; revtype: number | null; senmat: string | null; senmat_delegue: string | null; } export interface ActiviteLoi { /** * Identifiant de l'activité */ actid: Int8; /** * Identifiant d'un texte dans la table loi de la base DOSLEG */ loicod: string; } export interface ActiviteLoiAudit { actid: Int8; loicod: string; rev: Int8; revend: Int8 | null; revtype: number | null; } export interface ActiviteObligatoire { actoblid: Int8; catactcod: string; typactcod: string; } export interface ActiviteParticipant { /** * Activité à laquelle le Sénateur participe */ actid: Int8; /** * Identifiant */ actparid: Int8; /** * Fonction particulière */ fapcod: Generated<string>; /** * Ordonnancement dans la fonction. Permet notamment d'ordonner les présidents de réunion. */ fapidx: Generated<Int8 | null>; /** * Sénateur */ senmat: string; teleparticipation: Generated<number | null>; /** * Sénateur présent ou excusé (au sens de la commission, pas de l'article 23bis). */ typactparcod: Generated<string>; } export interface ActiviteParticipantAudit { act_mod: number | null; actid: Int8 | null; actparid: Int8; fapcod: string | null; fapidx: Int8 | null; fonctionactivite_mod: number | null; indexfonction_mod: number | null; rev: Int8; revend: Int8 | null; revtype: number | null; sen_mod: number | null; senmat: string | null; teleparticipation: Int8 | null; teleparticipation_mod: number | null; typactpar_mod: number | null; typactparcod: string | null; } export interface ActiviteSenateur { /** * Identifiant */ actsenid: Int8; /** * Début */ datdeb: Timestamp; /** * Fin */ datfin: Timestamp; libelle: string | null; /** * Sénateur */ senmat: string; /** * Type d'activité */ typactsencod: string; } export interface ActiviteSenateurAudit { actsenid: Int8 | null; datdeb: Timestamp | null; datdeb_mod: number | null; datfin: Timestamp | null; datfin_mod: number | null; libelle: string | null; libelle_mod: number | null; rev: Int8; revend: Int8 | null; revtype: number | null; sen_mod: number | null; senmat: string | null; typactsen_mod: number | null; typactsencod: string | null; } export interface ActiviteSenateurParams { actsenparid: Int8; full_json_utf8: Buffer | null; publie_lundi: Generated<number>; publie_vendredi: Generated<number>; senmat: string; } export interface ActiviteSenateurParamsAudit { actsenparid: Int8; publie_lundi: Generated<number | null>; publie_vendredi: Generated<number | null>; publielundi_mod: Generated<number | null>; publievendredi_mod: Generated<number | null>; rev: Int8; revend: Int8 | null; revtype: number | null; sen_mod: number | null; senmat: string | null; } export interface ActivitesLiees { droite: Int8; gauche: Int8; } export interface ActivitesLieesAudit { droite: Int8; gauche: Int8; rev: Int8; revend: Int8 | null; revtype: number | null; } export interface Actpro { /** * Code activité professionnelle */ actprocod: string; actprolib: string; actpronumtri: Int8 | null; /** * Date système création */ syscredat: Timestamp | null; /** * Date système modification */ sysmajdat: Timestamp | null; } export interface Adhgrpsen { adhesion: string | null; adhgrpsenid: Int8; evelic: string | null; fonction: string | null; orgcod: string | null; senateur: string | null; senmat: string | null; sennomtec: string | null; } export interface Adr { /** * bis ter */ adrbister: string | null; /** * Bureau distributeur */ adrburdis: string | null; /** * Code Cedex */ adrcdxcod: string | null; /** * Libellé Cedex */ adrcdxlib: string | null; /** * Complément adresse */ adrcmp: string | null; /** * Complément adresse 2 */ adrcmp2: string | null; /** * Code postal */ adrcodpos: string | null; /** * Commune */ adrcom: string | null; /** * Adresse électronique */ adrema: string | null; /** * Télécopie (Fax) */ adrfax: string | null; /** * Identifiant */ adrid: Int8; /** * nom de la voie */ adrnomvoi: string | null; /** * Numéro dans la voie */ adrnumvoi: string | null; /** * Téléphone */ adrtel: string | null; /** * Téléphone portable */ adrtelmob: string | null; /** * Libellé */ evelib: string | null; /** * Libellé court */ evelic: string | null; /** * Libellé long */ evelil: string | null; /** * Observations */ eveobs: string | null; /** * Code relevé */ reladrcod: string | null; /** * Date système création */ syscredat: Timestamp | null; /** * Date système modification */ sysmajdat: Timestamp | null; /** * Code validité */ temvalcod: string | null; } export interface Adresse { /** * Bureau distributeur */ adrburdis: string | null; /** * Code Cedex */ adrcdxcod: string | null; /** * Libellé Cedex */ adrcdxlib: string | null; /** * Complément adresse */ adrcmp: string | null; /** * Complément adresse 2 */ adrcmp2: string | null; /** * Code postal */ adrcodpos: string | null; /** * Commune */ adrcom: string | null; /** * Identifiant */ adrid: Int8; /** * nom de la voie */ adrnomvoi: string | null; /** * Numéro de tri */ adrnumtri: Int8 | null; /** * Numéro dans la voie */ adrnumvoi: string | null; /** * Identifiant point de contact */ poiconid: Int8; syscredat: Timestamp | null; sysmajdat: Timestamp | null; typbistercod: string; typvoicod: string; } export interface Adrsen { /** * Identifiant */ adrid: Int8; /** * Identifiant */ adrsenid: Int8; /** * Numéro de tri */ adrsennumtri: Int8 | null; /** * Matricule */ senmat: string; /** * Date système création */ syscredat: Timestamp | null; /** * Date système modification */ sysmajdat: Timestamp | null; /** * Code type adresse */ typadrcod: string; } export interface App { appcod: string; applib: string | null; oralog: string | null; /** * Date système création */ syscredat: Timestamp | null; /** * Date système modification */ sysmajdat: Timestamp | null; } export interface Assparint { assparintid: Int8; delegacod: string; rolcod: string; } export interface Asster { assterart: string | null; asstercod: string; assterlib: string | null; assterlic: string | null; assternumtri: Int8 | null; assterurlcmp: string | null; /** * Date système création */ syscredat: Timestamp | null; /** * Date système modification */ sysmajdat: Timestamp | null; } export interface Autgrpsen { /** * Code Autorisation Groupe sénatorial */ autgrpsencod: string; /** * Libellé */ autgrpsenlib: string | null; /** * Libellé court */ autgrpsenlic: string | null; /** * Numéro de tri */ autgrpsennumtri: Int8 | null; } export interface AutorisationProfil { /** * Code autorisation */ autcod: string; autprofilid: Int8; autpronum: Int8 | null; procod: string; /** * Date système création */ syscredat: Timestamp | null; /** * Date système modification */ sysmajdat: Timestamp | null; } export interface Autorisations { /** * Code autorisation */ autcod: string; /** * Libellé autorisation */ autlil: string | null; /** * Date système création */ syscredat: Timestamp | null; /** * Date système modification */ sysmajdat: Timestamp | null; } export interface AvisNominationArt13 { avinomart13cod: string; avinomart13lib: string; avinomart13lic: string | null; } export interface Basdes { /** * Code */ basdescod: string; /** * Libellé */ basdeslib: string | null; /** * Libellé court */ basdeslic: string | null; /** * Numéro de tri */ basdesnumtri: Int8 | null; /** * Date système création */ syscredat: Timestamp | null; /** * Date système modification */ sysmajdat: Timestamp | null; } export interface Bur { /** * Code bureau 4e Rép. */ burcod: string; /** * Libellé */ burlib: string | null; /** * Libellé féminin */ burlibfem: string | null; /** * Libellé féminin pluriel */ burlibfemplu: string | null; /** * Libellé honorariat */ burlibhon: string | null; /** * Libellé honorariat féminin */ burlibhonfem: string | null; /** * Libellé honorariat pluriel */ burlibhonplu: string | null; /** * Libellé pluriel */ burlibplu: string | null; /** * Libellé court */ burlic: string | null; /** * Libellé court féminin */ burlicfem: string | null; /** * Libellé court féminin pluriel */ burlicfemplu: string | null; /** * Libellé court pluriel */ burlicplu: string | null; /** * Libellé long */ burlil: string | null; /** * Libellé long féminin */ burlilfem: string | null; /** * Libellé long féminin pluriel */ burlilfemplu: string | null; /** * Libellé long pluriel */ burlilplu: string | null; /** * Numéro de tri */ burnumtri: Int8 | null; /** * Date système création */ syscredat: Timestamp | null; /** * Date système modification */ sysmajdat: Timestamp | null; } export interface Bur3r { /** * Code bureau 4e Rép. */ burcod: string; /** * Libellé */ burlib: string | null; /** * Libellé féminin */ burlibfem: string | null; /** * Libellé honorariat */ burlibhon: string | null; /** * Libellé honorariat féminin */ burlibhonfem: string | null; /** * Libellé honorariat pluriel */ burlibhonplu: string | null; /** * Libellé pluriel */ burlibplu: string | null; /** * Libellé court */ burlic: string | null; /** * Libellé court féminin */ burlicfem: string | null; /** * Libellé court pluriel */ burlicplu: string | null; /** * Libellé long */ burlil: string | null; /** * Libellé long féminin */ burlilfem: string | null; /** * Libellé long pluriel */ burlilplu: string | null; /** * Numéro de tri */ burnumtri: Int8 | null; /** * Date système création */ syscredat: Timestamp | null; /** * Date système modification */ sysmajdat: Timestamp | null; } export interface Bur4r { /** * Code bureau 4e Rép. */ burcod: string; /** * Libellé */ burlib: string | null; /** * Libellé féminin */ burlibfem: string | null; /** * Libellé honorariat */ burlibhon: string | null; /** * Libellé honorariat féminin */ burlibhonfem: string | null; /** * Libellé honorariat pluriel */ burlibhonplu: string | null; /** * Libellé pluriel */ burlibplu: string | null; /** * Libellé court */ burlic: string | null; /** * Libellé court féminin */ burlicfem: string | null; /** * Libellé court pluriel */ burlicplu: string | null; /** * Libellé long */ burlil: string | null; /** * Libellé long féminin */ burlilfem: string | null; /** * Libellé long pluriel */ burlilplu: string | null; /** * Numéro de tri */ burnumtri: Int8 | null; /** * Date système création */ syscredat: Timestamp | null; /** * Date système modification */ sysmajdat: Timestamp | null; } export interface Cad { /** * Code cadre */ cadcod: string; cadlib: string; cadlic: string; cadnumtri: Int8 | null; /** * Date système création */ syscredat: Timestamp | null; /** * Date système modification */ sysmajdat: Timestamp | null; } export interface Candid { /** * complété */ candidcmp: Generated<string>; candiddatnai: Timestamp | null; /** * Elu */ candidelu: string | null; /** * Identifiant */ candidid: Int8; /** * Inscrit 2nd tour */ candidinst2: string | null; /** * Index sur liste de candidat */ candidlisind: Int8 | null; /** * Maintenu */ candidmaintenu: string | null; candidnom: string; /** * Numéro */ candidnum: Int8 | null; /** * Perso1 */ candidpers1: string | null; /** * Perso2 */ candidpers2: string | null; candidprenom: string; /** * Sortant */ candidsortant: string | null; /** * Date naissance Suppléant */ candidsupdatnai: Timestamp | null; candidsupnom: string | null; candidsupprenom: string | null; /** * Code CSP */ cspcod: string | null; /** * Identifiant */ dpteleid: Int8 | null; etasencodold: string | null; foncandidcod1: string | null; foncandidcod2: string | null; foncandsupcod1: Generated<string | null>; foncandsupcod2: Generated<string | null>; /** * Identifiant */ lisdpteleid: Int8 | null; parpolorgcod: Generated<string>; parpolorgprvcod: Generated<string | null>; /** * Code qualité */ quacod: string; /** * Code qualité */ quacodsup: Generated<string | null>; reselumajt1: string | null; reselumajt2: string | null; resnbrvoimajt1: Int8 | null; resnbrvoimajt2: Int8 | null; /** * Matricule */ senmat: Generated<string>; /** * Date système création */ syscredat: Timestamp | null; /** * Date système modification */ sysmajdat: Timestamp | null; typcandidcod: string; } export interface Candidat { circonscription: string | null; codecirconscription: string | null; csp: string | null; datedenaissance: string | null; elu: Generated<Int8>; etiquettepolitique: string | null; id: Int8 | null; libelleabregedeliste: string | null; libelledelaliste: string | null; lieudenaissance: string | null; mail: string | null; matricule: string | null; nationalite: string | null; nomdenaissance: string | null; nomsurlebulletindevote: string | null; nuance: string | null; nuancedeliste: string | null; numerodepanneau: string | null; ordre: string | null; perso: string | null; prenomdenaissance: string | null; prenomsurlebulletindevote: string | null; profession: string | null; sexe: string | null; sortant: string | null; telephone: string | null; tetedeliste: string | null; warning: string | null; } export interface Candtodelete { senmat: string; } export interface CategorieActivite { catactcod: string; catactlib: string; catactlibtap: string | null; catactlic: string; pleniere: Generated<number | null>; publiee_jo: Generated<number | null>; } export interface Catpro { /** * Code activité professionnelle */ actprocod: string; /** * Code catégorie professionnelle */ catprocod: string; /** * Libellé */ catprolib: string; /** * Libellé court */ catprolic: string; /** * Libellé long */ catprolil: string | null; /** * Numéro de tri */ catpronumtri: Int8 | null; /** * Code secteur */ seccod: string; /** * Date système création */ syscredat: Timestamp | null; /** * Date système modification */ sysmajdat: Timestamp | null; } export interface Catpro2e { /** * Code catégorie professionnelle */ catprocod: string; /** * Libellé */ catprolib: string; /** * Libellé court */ catprolic: string; /** * Libellé long */ catprolil: string | null; /** * Numéro de tri */ catpronumtri: Int8 | null; /** * Code secteur */ seccod: string; } export interface Catterrit { catterritcod: string; catterritlib: string | null; catterritlic: string | null; catterritlil: string | null; catterritnumtri: Int8 | null; } export interface CibleCategoriePeriode { catactcod: string; ccpid: Int8; cible: Int8; comcod: string | null; perid: Int8; } export interface Cirdep { depcod: string; deplib: string; depnumtri: Int8 | null; depurlcmp: string | null; /** * Date système création */ syscredat: Timestamp | null; /** * Date système modification */ sysmajdat: Timestamp | null; } export interface Com { /** * Code transfert AMELI */ comcodameli: string | null; /** * Libellé AMELI */ comlibameli: string | null; /** * Libellé long minuscule */ comlilmin: string | null; /** * Code division */ divcod: Generated<string | null>; /** * Libellé */ evelib: string | null; /** * Libellé court */ evelic: string | null; /** * Libellé long */ evelil: string | null; /** * Article */ orgart: string | null; /** * Code organisme */ orgcod: string; /** * Date création */ orgdatcre: Timestamp | null; /** * Date de fin */ orgdatfin: Timestamp | null; /** * NuméroTiers */ orgnumtie: string | null; /** * Numéro de tri */ orgnumtri: Int8 | null; /** * URL complet */ orgurlcmp: string | null; /** * URL simplifié */ orgurlsim: string | null; /** * Date système création */ syscredat: Timestamp | null; /** * Date système modification */ sysmajdat: Timestamp | null; /** * Code validité */ temvalcod: string | null; /** * Code type organisme */ typorgcod: string; } export interface Con { /** * Code continent */ concod: string; conlib: string; conlic: string; connumtri: Int8 | null; /** * Date système création */ syscredat: Timestamp | null; /** * Date système modification */ sysmajdat: Timestamp | null; } export interface Cotgip { cotgrpsendat: Timestamp; cotgrpsendatgip: Timestamp | null; cotgrpsendatprl: Timestamp | null; cotgrpsengipid: Int8; cotgrpsenmnteur: Numeric | null; cotgrpsenmntfra: Int8 | null; cotgrpsenmoiprl: string; cotgrpsentemgip: string; memgrpsenid: Int8; /** * Date système création */ syscredat: Timestamp | null; /** * Date système modification */ sysmajdat: Timestamp | null; } export interface Csp { /** * Code catégorie professionnelle */ catprocod: string; /** * Code CSP */ cspcod: string; /** * Code famille CSP */ cspfamcod: string; /** * Rubrique CSP */ csplib: string | null; /** * Numéro de tri CSP */ cspnumtri: Int8 | null; /** * Date système création */ syscredat: Timestamp | null; /** * Date système modification */ sysmajdat: Timestamp | null; } export interface Cspfam { /** * Code famille CSP */ cspfamcod: string; /** * Libellé CSP */ cspfamlib: string | null; /** * Numéro tri CSP */ cspfamnumtri: Int8 | null; /** * Date système création */ syscredat: Timestamp | null; /** * Date système modification */ sysmajdat: Timestamp | null; } export interface Databasechangelog { author: string; comments: string | null; contexts: string | null; dateexecuted: Timestamp; deployment_id: string | null; description: string | null; exectype: string; filename: string; id: string; labels: string | null; liquibase: string | null; md5sum: string | null; orderexecuted: Int8; tag: string | null; } export interface Databasechangeloglock { id: Int8; locked: number; lockedby: string | null; lockgranted: Timestamp | null; } export interface Delega { /** * Libellé */ evelib: string | null; /** * Libellé court */ evelic: string | null; /** * Libellé long */ evelil: string | null; /** * Article */ orgart: string | null; /** * Code organisme */ orgcod: string; /** * Date création */ orgdatcre: Timestamp | null; /** * Date de fin */ orgdatfin: Timestamp | null; /** * Membres Députés */ orgmemdep: Generated<string | null>; /** * Mode désignation */ orgmoddes: string | null; /** * NuméroTiers */ orgnumtie: string | null; /** * Numéro de tri */ orgnumtri: Int8 | null; /** * Régime juridique */ orgregjur: string | null; /** * URL complet */ orgurlcmp: string | null; /** * URL simplifié */ orgurlsim: string | null; /** * Date système création */ syscredat: Timestamp | null; /** * Date système modification */ sysmajdat: Timestamp | null; /** * Code validité */ temvalcod: string | null; /** * Code type organisme */ typorgcod: string; } export interface Derogation { actlieeid: Int8 | null; comcod: string | null; datdeb: Timestamp; datfin: Timestamp; delegacod: Generated<string | null>; derogationid: Int8; derogationlic: string; derogationlil: string; libelle_court_tap: Generated<number>; tdcod: string; tdcod_mod: string | null; } export interface DerogationAudit { activiteliee_mod: number | null; actlieeid: Int8 | null; beneficiaires_mod: number | null; com_mod: number | null; comcod: string | null; datdeb: Timestamp | null; datdeb_mod: number | null; datfin: Timestamp | null; datfin_mod: number | null; delega_mod: number | null; delegacod: Generated<string | null>; derogationid: Int8; derogationlic: string | null; derogationlic_mod: number | null; derogationlil: string | null; derogationlil_mod: number | null; justificatifs_mod: number | null; libelle_court_tap: Generated<number | null>; libellecourttap_mod: Generated<number | null>; rev: Int8; revend: Int8 | null; revtype: number | null; tdcod: string | null; tdcod_mod: string | null; typederogation_mod: number | null; } export interface DerogationSenateur { datdebpar: Timestamp | null; datfinpar: Timestamp | null; derogationid: Int8; derogsenid: Int8; senmat: string; } export interface DerogationSenateurAudit { datdebpar: Timestamp | null; datdebpar_mod: number | null; datfinpar: Timestamp | null; datfinpar_mod: number | null; derogation_mod: number | null; derogationid: Int8 | null; derogsenid: Int8; rev: Int8; revend: Int8 | null; revtype: number | null; sen_mod: number | null; senmat: string | null; } export interface Design { /** * Code désignataire */ designcod: string; /** * Numéro de tri */ designnumtri: Int8 | null; /** * Libellé */ evelib: string | null; /** * Libellé court */ evelic: string | null; /** * Libellé long */ evelil: string | null; /** * Observations */ eveobs: string | null; /** * Code */ moddescod: string; /** * Code organisme */ orgcod: string; /** * Date système création */ syscredat: Timestamp | null; /** * Date système modification */ sysmajdat: Timestamp | null; /** * Code validité */ temvalcod: string | null; } export interface Designoep { /** * Code désignataire */ designcod: string; designoepdatdeb: Timestamp | null; designoepdatfin: Timestamp | null; designoepid: Int8; designoepnbrsup: Int8 | null; designoepnbrtit: Int8 | null; designoepnumtri: Int8 | null; /** * Libellé */ evelib: string | null; /** * Libellé court */ evelic: string | null; /** * Libellé long */ evelil: string | null; fonmemextparcod: Generated<string>; fonremlil: string | null; fontemrem: Generated<string | null>; incompat: string | null; /** * Code organisme */ orgcod: string; /** * Date système création */ syscredat: Timestamp | null; /** * Date système modification */ sysmajdat: Timestamp | null; /** * Code validité */ temvalcod: string | null; } export interface Designorg { /** * Code désignataire */ designcod: string; /** * Libellé */ designlib: string | null; /** * Lbellé féminin */ designlibfem: string | null; /** * Libellé court */ designlic: string | null; /** * Libellé féminin court */ designlicfem: string | null; /** * Libellé long */ designlil: string | null; /** * Libellé féminin long */ designlilfem: string | null; /** * Numéro de tri */ designnumtri: Int8 | null; /** * Libellé */ evelib: string | null; /** * Libellé court */ evelic: string | null; /** * Libellé long */ evelil: string | null; /** * Observations */ eveobs: string | null; /** * Date système création */ syscredat: Timestamp | null; /** * Date système modification */ sysmajdat: Timestamp | null; /** * Code validité */ temvalcod: string | null; } export interface Discou { /** * Code distribution */ discoucod: string; /** * Libellé */ discoulib: string | null; /** * Libellé court */ discoulic: string | null; /** * Numéro de tri */ discounumtri: Int8 | null; /** * Date système création */ syscredat: Timestamp | null; /** * Date système modification */ sysmajdat: Timestamp | null; } export interface Div { /** * Code division */ divcod: string; /** * Libellé */ divlib: string | null; /** * Libellé court */ divlic: string | null; /** * Libellé long */ divlil: string | null; /** * Numéro de tri */ divnumtri: Int8 | null; /** * Date système création */ syscredat: Timestamp | null; /** * Date système modification */ sysmajdat: Timestamp | null; } export interface Dpt { /** * Article */ dptart: string | null; /** * Commentaire listes */ dptcmt: string | null; /** * Code INSEE */ dptcod: string; /** * Date de début */ dptdatdeb: Timestamp | null; /** * Date de fin */ dptdatfin: Timestamp | null; /** * Libellé */ dptlib: string; /** * Libellé Moyen */ dptlibtri: string | null; /** * Libellé court */ dptlic: string | null; /** * Mode scrutin sénatorial */ dptmodscrsen: string | null; /** * Nombre sénateurs */ dptnbrsen: Int8 | null; /** * Identifiant circonscription */ dptnum: Int8; /** * Numéro de tri */ dptnumtri: Int8; /** * Série (A,B,C) */ dptser: string; /** * Série (1,2) */ dptser2004: string | null; /** * URL */ dpturlcmp: string | null; /** * Libellé */ evelib: string | null; /** * Libellé court */ evelic: string | null; /** * Libellé long */ evelil: string | null; /** * Code région */ regcod: string; /** * Date système création */ syscredat: Timestamp | null; /** * Date système modification */ sysmajdat: Timestamp | null; /** * Code validité */ temvalcod: string | null; } export interface Dptele { dptelecmt: string | null; /** * Identifiant */ dpteleid: Int8; /** * Nombre de sièges */ dptelenbrsie: Int8 | null; dptelenbrsiepvr: Int8 | null; /** * Identifiant circonscription */ dptnum: Int8; /** * Identifiant */ eleid: Int8; /** * Identifiant participation */ participaidt1: Int8 | null; /** * Identifiant participation */ participaidt2: Int8 | null; /** * Date système création */ syscredat: Timestamp | null; /** * Date système modification */ sysmajdat: Timestamp | null; /** * Code type élection */ typelecod: Generated<string>; /** * Code validation */ valid2cod: Generated<string>; /** * Code validation */ validcod: Generated<string>; } export interface DpteleFiles { dpteleid: Int8; syscredat: Timestamp | null; sysmajdat: Timestamp | null; uplfilid: Int8; } export interface DpteleProcessing { dpteleid: Int8; dpteleproid: Int8; dpteleprotypcod: string; permat: string; prodatdeb: Timestamp | null; prodatfin: Timestamp | null; syscredat: Timestamp | null; sysmajdat: Timestamp | null; uplfilid: Int8 | null; } export interface DpteleProcessingType { dpteleprotypcod: string; dpteleprotypnumtri: Int8 | null; evelib: string | null; evelic: string | null; } export interface DptSeuilPresence { dptnum: Int8; spid: Int8; } export interface Dpttypman { /** * Identifiant circonscription */ dptnum: Int8; dpttypmanid: Int8; /** * Code type mandat */ typmancod: string; } export interface DroitsAcces { cadcod: string | null; codval: string; daid: Int8; rolcod: string; tdacod: string; } export interface DroitsAccesAudit { cad_mod: number | null; cadcod: string | null; codval: string | null; codval_mod: number | null; daid: Int8; rev: Int8; revend: Int8 | null; revtype: number | null; rol_mod: number | null; rolcod: string | null; tda_mod: number | null; tdacod: string | null; } export interface DroitsTypeDerogation { rolcod: string; tdcod: string; } export interface Ele { /** * Année */ eleann: string; /** * Date de l'élection */ eledat: Timestamp | null; /** * Date début mandat */ eledatdeb: Timestamp | null; /** * Date fin mandat précédent */ eledatfinpre: Timestamp | null; /** * Identifiant */ eleid: Int8; /** * Libellé */ elelib: string | null; /** * Libellé court */ elelic: string | null; /** * Libellé long */ elelil: string | null; /** * Élection partielle */ elepar: Generated<string | null>; /** * Série */ eleser: string | null; /** * Date système création */ syscredat: Timestamp | null; /** * Date système modification */ sysmajdat: Timestamp | null; /** * Code type mandat */ typmancod: string; } export interface Eleloc { /** * Identifiant */ eleid: Int8; elelocnbrapr: Int8 | null; elelocnbravt: Int8 | null; /** * Date système création */ syscredat: Timestamp | null; /** * Date système modification */ sysmajdat: Timestamp | null; /** * Code titre élu */ titelecod: string; /** * Code type mandat */ typmancod: string; } export interface Elucan { /** * Aaticle de la circonscription */ canart: string | null; /** * Identifiant du département */ dptnum: Int8 | null; /** * Année début mandat */ eluanndeb: Int8 | null; /** * Année fin mandat */ eluannfin: Int8 | null; /** * Date cumul */ eludatcum: Timestamp | null; /** * Date début mandat */ eludatdeb: Timestamp | null; /** * Date d'élection */ eludatelu: Timestamp | null; /** * Date fin mandat */ eludatfin: Timestamp | null; /** * Identifiant */ eluid: Int8; /** * Nombre d'habitants */ elunbrhab: Int8 | null; /** * Libellé */ evelib: string | null; /** * Libellé court */ evelic: string | null; /** * Libellé long */ evelil: string | null; /** * Observations */ eveobs: string | null; /** * Matricule */ senmat: string; /** * Date système création */ syscredat: Timestamp | null; /** * Date système modification */ sysmajdat: Timestamp | null; /** * Code validité */ temvalcod: string | null; /** * Code type mandat */ typmancod: string | null; } export interface Eludep { circo: Int8 | null; depcod: string | null; /** * Année début mandat */ eluanndeb: Int8 | null; /** * Année fin mandat */ eluannfin: Int8 | null; /** * Date cumul */ eludatcum: Timestamp | null; /** * Date début mandat */ eludatdeb: Timestamp | null; /** * Date d'élection */ eludatelu: Timestamp | null; /** * Date fin mandat */ eludatfin: Timestamp | null; /** * Identifiant */ eluid: Int8; /** * Nombre d'habitants */ elunbrhab: Int8 | null; /** * Libellé */ evelib: string | null; /** * Libellé court */ evelic: string | null; /** * Libellé long */ evelil: string | null; /** * Observations */ eveobs: string | null; id_organe_assnat: Generated<string | null>; /** * Matricule */ senmat: string; /** * Date système création */ syscredat: Timestamp | null; /** * Date système modification */ sysmajdat: Timestamp | null; /** * Code validité */ temvalcod: string | null; /** * Code type mandat */ typmancod: string | null; } export interface Eludiv { /** * Année début mandat */ eluanndeb: Int8 | null; /** * Année fin mandat */ eluannfin: Int8 | null; /** * Date cumul */ eludatcum: Timestamp | null; /** * Date début mandat */ eludatdeb: Timestamp | null; /** * Date d'élection */ eludatelu: Timestamp | null; /** * Date fin mandat */ eludatfin: Timestamp | null; eludivart: string | null; eludivurlcmp: string | null; /** * Identifiant */ eluid: Int8; /** * Nombre d'habitants */ elunbrhab: Int8 | null; /** * Libellé */ evelib: string | null; /** * Libellé court */ evelic: string | null; /** * Libellé long */ evelil: string | null; /** * Observations */ eveobs: string | null; /** * Matricule */ senmat: string; /** * Date système création */ syscredat: Timestamp | null; /** * Date système modification */ sysmajdat: Timestamp | null; /** * Code validité */ temvalcod: string | null; /** * Code type mandat */ typmancod: string | null; } export interface Elueur { /** * Année début mandat */ eluanndeb: Int8 | null; /** * Année fin mandat */ eluannfin: Int8 | null; /** * Date cumul */ eludatcum: Timestamp | null; /** * Date début mandat */ eludatdeb: Timestamp | null; /** * Date d'élection */ eludatelu: Timestamp | null; /** * Date fin mandat */ eludatfin: Timestamp | null; /** * Identifiant */ eluid: Int8; /** * Nombre d'habitants */ elunbrhab: Int8 | null; /** * Libellé */ evelib: string | null; /** * Libellé court */ evelic: string | null; /** * Libellé long */ evelil: string | null; /** * Observations */ eveobs: string | null; nationcod: string | null; /** * Matricule */ senmat: string; /** * Date système création */ syscredat: Timestamp | null; /** * Date système modification */ sysmajdat: Timestamp | null; /** * Code validité */ temvalcod: string | null; /** * Code type mandat */ typmancod: string | null; } export interface ElueurApf { eluanndeb: Int8 | null; eluannfin: Int8 | null; eludatcum: Timestamp | null; eludatdeb: Timestamp | null; eludatelu: Timestamp | null; eludatfin: Timestamp | null; eluid: Int8; elunbrhab: Int8 | null; elunbrvoi: Int8 | null; etadebmancod: string; etafinmancod: string | null; evelib: string | null; evelic: string | null; evelil: string | null; eveobs: string | null; nationcod: string | null; senmat: string; temvalcod: string | null; typmancod: string | null; } export interface Elumet { eludatdeb: Timestamp | null; eludatfin: Timestamp | null; eluid: Int8; metcod: string; senmat: string; syscredat: Timestamp | null; sysmajdat: Timestamp | null; } export interface Elureg { /** * Année début mandat */ eluanndeb: Int8 | null; /** * Année fin mandat */ eluannfin: Int8 | null; /** * Date cumul */ eludatcum: Timestamp | null; /** * Date début mandat */ eludatdeb: Timestamp | null; /** * Date d'élection */ eludatelu: Timestamp | null; /** * Date fin mandat */ eludatfin: Timestamp | null; /** * Identifiant */ eluid: Int8; /** * Nombre d'habitants */ elunbrhab: Int8 | null; /** * Libellé */ evelib: string | null; /** * Libellé court */ evelic: string | null; /** * Libellé long */ evelil: string | null; /** * Observations */ eveobs: string | null; /** * Code région */ regcod: string | null; /** * Matricule */ senmat: string; /** * Date système création */ syscredat: Timestamp | null; /** * Date système modification */ sysmajdat: Timestamp | null; /** * Code validité */ temvalcod: string | null; /** * Code type mandat */ typmancod: string | null; } export interface Elusen { /** * Identifiant circonscription */ dptnum: Int8; /** * Année début mandat */ eluanndeb: Int8 | null; /** * Année fin mandat */ eluannfin: Int8 | null; /** * Date cumul */ eludatcum: Timestamp | null; /** * Date début mandat */ eludatdeb: Timestamp | null; /** * Date d'élection */ eludatelu: Timestamp | null; /** * Date fin mandat */ eludatfin: Timestamp | null; /** * Identifiant */ eluid: Int8; /** * Code début de mandat */ etadebmancod: string; /** * Code état fin de mandat */ etafinmancod: string | null; /** * Libellé */ evelib: string | null; /** * Libellé court */ evelic: string | null; /** * Libellé long */ evelil: string | null; /** * Matricule */ senmat: string; /** * Date système création */ syscredat: Timestamp | null; /** * Date système modification */ sysmajdat: Timestamp | null; /** * Code validité */ temvalcod: string | null; /** * Code tour élection */ turelucod: Generated<string>; /** * Code type mandat */ typmancod: string | null; } export interface Elusen2e { /** * Année début mandat */ eluanndeb: Int8 | null; /** * Année fin mandat */ eluannfin: Int8 | null; /** * Date cumul */ eludatcum: Timestamp | null; /** * Date début mandat */ eludatdeb: Timestamp | null; /** * Date d'élection */ eludatelu: Timestamp | null; /** * Date fin mandat */ eludatfin: Timestamp | null; /** * Démission */ eludem: string | null; /** * Identifiant */ eluid: Int8; /** * Nombre d'habitants */ elunbrhab: Int8 | null; /** * Libellé */ evelib: string | null; /** * Libellé court */ evelic: string | null; /** * Libellé long */ evelil: string | null; /** * Observations */ eveobs: string | null; /** * Matricule */ senmat: string; /** * Date système création */ syscredat: Timestamp | null; /** * Date système modification */ sysmajdat: Timestamp | null; /** * Code validité */ temvalcod: string | null; /** * Code type mandat */ typmancod: string | null; } export interface Elusen3r { /** * Identifiant circonscription */ dptnum: Int8; /** * Année début mandat */ eluanndeb: Int8 | null; /** * Année fin mandat */ eluannfin: Int8 | null; /** * Date début mandat */ eludatdeb: Timestamp | null; /** * Date d'élection */ eludatelu: Timestamp | null; /** * Date fin mandat */ eludatfin: Timestamp | null; /** * Identifiant */ eluid: Int8; /** * Nombre d'habitants */ elunbrhab: Int8 | null; /** * Code début de mandat */ etadebmancod: string | null; /** * Code état fin de mandat */ etafinmancod: string | null; /** * Libellé */ evelib: string | null; /** * Libellé court */ evelic: string | null; /** * Libellé long */ evelil: string | null; /** * Observations */ eveobs: string | null; /** * Matricule */ senmat: string | null; /** * Date système création */ syscredat: Timestamp | null; /** * Date système modification */ sysmajdat: Timestamp | null; /** * Code validité */ temvalcod: string | null; /** * Code type mandat */ typmancod: string | null; } export interface Elusen4r { /** * Identifiant circonscription */ dptnum: Int8; /** * Année début mandat */ eluanndeb: Int8 | null; /** * Année fin mandat */ eluannfin: Int8 | null; /** * Date début mandat */ eludatdeb: Timestamp | null; /** * Date d'élection */ eludatelu: Timestamp | null; /** * Date fin mandat */ eludatfin: Timestamp | null; /** * Identifiant */ eluid: Int8; /** * Nombre d'habitants */ elunbrhab: Int8 | null; /** * Code début de mandat */ etadebmancod: string | null; /** * Code état fin de mandat */ etafinmancod: string | null; /** * Libellé */ evelib: string | null; /** * Libellé court */ evelic: string | null; /** * Libellé long */ evelil: string | null; /** * Observations */ eveobs: string | null; /** * Matricule */ senmat: string | null; /** * Date système création */ syscredat: Timestamp | null; /** * Date système modification */ sysmajdat: Timestamp | null; /** * Code validité */ temvalcod: string | null; /** * Code type mandat */ typmancod: string | null; } export interface Elusencommu { dptnum: Int8 | null; eluanndeb: Int8 | null; eluannfin: Int8 | null; eludatcum: Timestamp | null; eludatdeb: Timestamp | null; eludatelu: Timestamp | null; eludatfin: Timestamp | null; eluid: Int8; elunbrhab: Int8 | null; elusencommudelpar: string | null; evelib: string | null; evelic: string | null; evelil: string | null; eveobs: string | null; nationcod: string | null; senmat: string; syscredat: Timestamp | null; sysmajdat: Timestamp | null; temvalcod: string | null; typmancod: string | null; } export interface Elusenpair { ancien_senateur: Generated<number>; code_mode_acces: string; code_pairie: string; demission1831: Generated<number>; ecclesiastique: Generated<number>; eluid: Int8; exclusion1830: Generated<number>; fin: Timestamp | null; marechal_d_empire: Generated<number>; matricule: string; nomination: Timestamp | null;