UNPKG

@tricoteuses/senat

Version:

Handle French Sénat's open data

2,646 lines (2,645 loc) 68.1 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 Timestamp = ColumnType<Date, Date | string, Date | string>; export interface Amescr { /** * Numéro d'amendement */ amescrnum: string; /** * Avec sesann, clé étrangère vers la table scr (numéro de scrutin) - élément de la clé de la table */ scrnum: Int8; /** * Avec scrnum, clé étrangère vers la table scr (scrutin) - élément de la clé de la table */ sesann: Int8; } export interface Ass { /** * Clé de la table */ codass: string; /** * Libellé */ libass: string; } export interface Aud { /** * Clé de la table */ audcle: Int8; /** * Date de la réunion */ auddat: Timestamp; audtit: string; /** * URL du compte rendu de commission */ audurl: string; /** * Clé étrangère var lecass (lecture) */ lecassidt: string; /** * Clé étrangère vers org (commission) */ orgcod: string; } export interface Auteur { /** * Clé de la table */ autcod: string; /** * Fonction de l'auteur */ autfct: string | null; /** * Lien vers la base Sénateurs */ autmat: string | null; /** * Début de validité */ datdeb: Timestamp | null; /** * Fin de validité */ datfin: Timestamp | null; /** * Pour les groupes : contient les apparentés */ grpapp: string | null; /** * Pour les groupes : contient les rattachés */ grprat: string | null; /** * Nom technique utilisé pour les classements par noms */ nomtec: string; /** * Nom usuel */ nomuse: string; /** * Prenoms */ prenom: string | null; /** * Clé étrangère vers qua (civilité) */ quacod: string; /** * OUI pour les sénatrices ayant demandé la féminisation de leurs fonctions */ senfem: string | null; /** * Clé étrangère vers typaut (type de l'auteur) */ typautcod: string; } export interface Ble { /** * Clé de la table */ blecod: string; /** * Libellé */ blelib: string; } 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 Catrap { /** * Clé de la table */ catrapcod: string; /** * Libellé */ catraplib: string; } 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; /** * Observations */ eveobs: 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 Corscr { /** * Tri des mises au points pour un scrutin donné */ corscrord: Int8 | null; /** * Texte de la mise au point */ corscrtxt: string; /** * URL du CR de la séance publique correspondante */ corscrurl: string | null; /** * Avec sesann, clé étrangère vers la table scr (numéro de scrutin) - élément de la clé de la table */ scrnum: Int8; /** * Avec scrnum, clé étrangère vers la table scr (scrutin) - élément de la clé de la table */ sesann: Int8; } export interface DateSeance { /** * Clé de la table */ code: Int8; /** * Date de séance publique */ date_s: Timestamp | null; /** * Devrait etre lecassidt */ lecidt: string | null; /** * statut spécial : EVENT */ statut: string | null; } export interface Deccoc { /** * Clé de la table */ deccoccod: string; /** * Libellé */ deccoclib: string; } export interface Delega { /** * Libellé */ evelib: string | null; /** * Libellé court */ evelic: string | null; /** * Libellé long */ evelil: string | null; /** * Observations */ eveobs: 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 Denrap { /** * Clef */ coddenrap: string; /** * Miniature */ denrapmin: string | null; /** * Style de miniature */ denrapstymin: string | null; /** * Titre de rubrique pour ce type de rapport */ denraptit: string | null; /** * clé étrangère vers gen (genre) */ gencod: string; /** * Libellé */ libdenrap: string; /** * Ordre dans une liste de type */ ordre: Int8 | null; /** * Cle de SOLNATRAP */ solnatrapcod: string | null; /** * Type de rapport */ typraprap: string; } 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 Doc { /** * Date de dépôt (documents déposés) */ date_depot: Timestamp | null; /** * date du document */ docdat: Timestamp | null; /** * Date de séance de rattachement */ docdatsea: Timestamp | null; /** * Clé de la table */ docidt: Int8; /** * Titre long du document */ docint: string | null; /** * Numéro de dépôt (documents déposés) */ docnum: Int8 | null; /** * Titre court du document */ doctitcou: string | null; /** * URL du document */ docurl: string | null; /** * Numéro de lecture (décrets...) */ lecidt: string | null; /** * Session de dépôt (documents déposés) */ sesann: Int8 | null; /** * Type du document */ typdoccod: string | null; } export interface Docatt { /** * Clé de la table */ docattcle: Int8; /** * URL du document attaché */ docatturl: string | null; /** * Clé étrangère vers rap (rapport) */ rapcod: Int8; /** * Clé étrangère vers typattcod (type du document attaché) */ typattcod: string; } export interface Docsea { /** * Ordre du document pour l'événement de séance */ docseaord: Int8 | null; /** * URL du document */ docseaurl: string | null; /** * Texte apparaissant après URL */ docseaurlapr: string | null; /** * Texte apparaissant avant URL */ docseaurlava: string | null; /** * Texte associé à l'URL */ docseaurltxt: string | null; /** * Clé étrangère vers evtsea (événement de séance) */ evtseacle: Int8; } 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; /** * Témoin publication */ evetempub: Generated<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 Ecr { /** * Clé étrangère vers auteur */ autcod: string | null; /** * Clé étrangère vers doc (document) */ docidt: Int8 | null; /** * Clé de la table */ ecrnum: Int8; /** * Position de l'auteur dans la liste des auteurs du document */ ecrnumtri: Int8; /** * Qualité de l'auteur pour un document donné */ ecrqua: string | null; /** * Clé étrangère vers rap (rapport) */ rapcod: Int8 | null; /** * Clé étrangère vers rolsig (rôle du signataire) */ signataire: string | null; /** * Clé étrangère vers le texte */ texcod: Int8 | null; /** * T=texte; R=rapport, D=document */ typedoc: 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 Etadebman { /** * Code début de mandat */ etadebmancod: string; /** * Libellé */ etadebmanlib: string; /** * Libellé féminin */ etadebmanlibfem: string | null; /** * Libellé pluriel */ etadebmanlibplu: string | null; /** * Libellé court */ etadebmanlic: string; /** * Libellé court féminin */ etadebmanlicfem: string | null; /** * Libellé court pluriel */ etadebmanlicplu: string | null; /** * Libellé long */ etadebmanlil: string | null; /** * Libellé long féminin */ etadebmanlilfem: string | null; /** * Libellé long pluriel */ etadebmanlilplu: string | null; /** * Numéro de tri */ etadebmannumtri: Int8 | null; /** * Date système création */ syscredat: Timestamp | null; /** * Date système modification */ sysmajdat: Timestamp | null; } export interface Etafinman { /** * Libellé */ etafinman: string; /** * Code état fin de mandat */ etafinmancod: string; /** * Code transfert GESTION */ etafinmancodsirpas: string | null; /** * Libellé féminin */ etafinmanlibfem: string | null; /** * Libellé pluriel */ etafinmanlibplu: string | null; /** * Libellé court */ etafinmanlic: string; /** * Libellé court féminin */ etafinmanlicfem: string | null; /** * Libelle court pluriel */ etafinmanlicplu: string | null; /** * Libellé long */ etafinmanlil: string | null; /** * Libellé long féminin */ etafinmanlilfem: string | null; /** * Libellé long pluriel */ etafinmanlilplu: string | null; /** * Numéro de tri */ etafinmannumtri: Int8 | null; etafinmantemsirpas: string | null; /** * Date système création */ syscredat: Timestamp | null; /** * Date système modification */ sysmajdat: Timestamp | null; } export interface Etaloi { /** * Clé de la table */ etaloicod: string; /** * Libellé */ etaloilib: string; } export interface Etasen { /** * Code état sénateur */ etasencod: string; /** * Libellé */ etasenlib: string | null; /** * Libellé féminin */ etasenlibfem: string | null; /** * Libellé pluriel */ etasenlibplu: string | null; /** * Libellé court */ etasenlic: string; /** * Libellé court féminin */ etasenlicfem: string | null; /** * Libelle court pluriel */ etasenlicplu: string | null; /** * Libellé long */ etasenlil: string | null; /** * Libellé long féminin */ etasenlilfem: string | null; /** * Libellé long pluriel */ etasenlilplu: string | null; /** * Numéro de tri */ etasennumtri: Int8 | null; /** * Date système création */ syscredat: Timestamp | null; /** * Date système modification */ sysmajdat: Timestamp | null; } export interface Evtsea { /** * Clé de la table */ evtseacle: Int8; /** * Date de l'événement */ evtseadat: Timestamp | null; /** * Clé étrangère vers lecass (lecture) */ lecassidt: string; /** * Clé étrangère vers loi (dossier de la motion) */ loicod: string | null; /** * Clé étrangère vers typevtsea (type d'événements) */ typevtcod: string; } export interface Foncom { /** * Code fonction commission */ foncomcod: string; /** * Libellé */ foncomlib: string; /** * Libellé féminin */ foncomlibfem: string | null; /** * Libellé féminin pluriel */ foncomlibfemplu: string | null; /** * Libellé pluriel */ foncomlibplu: string | null; /** * Libellé court */ foncomlic: string; /** * Libellé court féminin */ foncomlicfem: string | null; /** * Libellé court féminin pluriel */ foncomlicfemplu: string | null; /** * Libellé court pluriel */ foncomlicplu: string | null; /** * Libellé long */ foncomlil: string | null; /** * Libellé long féminin */ foncomlilfem: string | null; /** * Libellé long féminin pluriel */ foncomlilfemplu: string | null; /** * Libellé long pluriel */ foncomlilplu: string | null; /** * Numéro de tri */ foncomnumtri: Int8 | null; /** * Date système création */ syscredat: Timestamp | null; /** * Date système modification */ sysmajdat: Timestamp | null; } export interface Fondelega { /** * Code fonction délégation */ fondelcod: string; /** * Libellé */ fondellib: string; /** * Libellé féminin */ fondellibfem: string | null; /** * Libellé féminin pluriel */ fondellibfemplu: string | null; /** * Libellé pluriel */ fondellibplu: string | null; /** * Libellé court */ fondellic: string; /** * Libellé court féminin */ fondellicfem: string | null; /** * Libellé court féminin pluriel */ fondellicfemplu: string | null; /** * Libelle court pluriel */ fondellicplu: string | null; /** * Libellé long */ fondellil: string | null; /** * Libellé long féminin */ fondellilfem: string | null; /** * Libellé long féminin pluriel */ fondellilfemplu: string | null; /** * Libellé long pluriel */ fondellilplu: string | null; /** * Numéro de tri */ fondelnumtri: Int8 | null; /** * Date système création */ syscredat: Timestamp | null; /** * Date système modification */ sysmajdat: Timestamp | null; } export interface Fongrppol { /** * Code fonction groupe politique */ fongrppolcod: string; /** * Libellé */ fongrppollib: string; /** * Libellé féminin */ fongrppollibfem: string | null; /** * Libellé féminin pluriel */ fongrppollibfemplu: string | null; /** * Libellé pluriel */ fongrppollibplu: string | null; /** * Libellé court */ fongrppollic: string; /** * Libellé court féminin */ fongrppollicfem: string | null; /** * Libellé court féminin pluriel */ fongrppollicfemplu: string | null; /** * Libellé court pluriel */ fongrppollicplu: string | null; /** * Libellé long */ fongrppollil: string | null; /** * Libellé long féminin */ fongrppollilfem: string | null; /** * Libellé long féminin pluriel */ fongrppollilfemplu: string | null; /** * Libellé long pluriel */ fongrppollilplu: string | null; /** * Numéro de tri */ fongrppolnumtri: Int8 | null; /** * Date système création */ syscredat: Timestamp | null; /** * Date système modification */ sysmajdat: Timestamp | null; } export interface Fonmemcom { /** * Libellé */ evelib: string | null; /** * Libellé court */ evelic: string | null; /** * Libellé long */ evelil: string | null; /** * Observations */ eveobs: string | null; /** * Témoin publication */ evetempub: Generated<string | null>; /** * Code fonction commission */ foncomcod: string; /** * Date de début */ fonmemcomdatdeb: Timestamp | null; /** * Date de fin */ fonmemcomdatfin: Timestamp | null; /** * Identifiant */ fonmemcomid: Int8; /** * Rang protocolaire */ fonmemcomrngprt: Int8 | null; /** * Identifiant */ memcomid: Int8; /** * Date système création */ syscredat: Timestamp | null; /** * Date système modification */ sysmajdat: Timestamp | null; /** * Code validité */ temvalcod: string | null; } export interface Fonmemdelega { /** * Libellé */ evelib: string | null; /** * Libellé court */ evelic: string | null; /** * Libellé long */ evelil: string | null; /** * Observations */ eveobs: string | null; /** * Témoin publication */ evetempub: Generated<string | null>; /** * Code fonction délégation */ fondelcod: string; /** * Date de début */ fonmemdeldatdeb: Timestamp | null; /** * Date de fin */ fonmemdeldatfin: Timestamp | null; /** * Identifiant */ fonmemdelid: Int8; /** * Rang élection */ fonmemdelrngele: Int8 | null; /** * Identifiant */ memdelegaid: Int8; /** * Date système création */ syscredat: Timestamp | null; /** * Date système modification */ sysmajdat: Timestamp | null; /** * Code validité */ temvalcod: string | null; } export interface Fonmemgrppol { /** * Libellé */ evelib: string | null; /** * Libellé court */ evelic: string | null; /** * Libellé long */ evelil: string | null; /** * Observations */ eveobs: string | null; /** * Témoin publication */ evetempub: Generated<string | null>; /** * Code fonction groupe politique */ fongrppolcod: string; /** * Date de début */ fonmemgrppoldatdeb: Timestamp | null; /** * Date de fin */ fonmemgrppoldatfin: Timestamp | null; /** * Identifiant */ fonmemgrppolid: Int8; /** * Identifiant */ memgrppolid: Int8; /** * Date système création */ syscredat: Timestamp | null; /** * Date système modification */ sysmajdat: Timestamp | null; /** * Code validité */ temvalcod: string | null; } export interface Forpub { /** * Clé de la table */ forpubcod: string; /** * Libellé */ forpublib: string; } export interface Gen { /** * Clé de la table */ gencod: string; /** * Libellé */ genlib: string; } export interface Grppol { /** * Libellé */ evelib: string | null; /** * Libellé court */ evelic: string | null; /** * Libellé long */ evelil: string | null; /** * Témoin publication */ evetempub: Generated<string | null>; /** * Article */ grppolart: string | null; /** * Code groupe politique 4e Rép. */ grppolcod: string; /** * Code transfert AMELI */ grppolcodamelicou: string | null; /** * Code transfert REPROGRAPHIE */ grppolcodrepro: string | null; /** * Code transfert SCRUTINS */ grppolcodscr: string | null; /** * Date création */ grppoldatcre: Timestamp | null; /** * Date de fin */ grppoldatfin: Timestamp | null; /** * Libellé courant */ grppollibcou: string | null; /** * Libellé court courant */ grppolliccou: string | null; /** * Libellé long courant */ grppollilcou: string | null; /** * Numéro de tri */ grppolnumtri: Int8 | null; /** * A un président (ou un délégué) */ grppolpre: string | null; /** * URL complète */ grppolurlcmp: string | null; /** * URL simplifiée (relative) */ grppolurlsim: 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 Lecass { /** * Alias pour PPRE */ aliasppr: string | null; /** * Clé étrangère vers ass (assemblée parlementaire) */ codass: string; /** * URL si CR des débats manuel */ debatsurl: string | null; /** * Si "oui", un texte est déposé mais le statut exact de la lecture (2e, CMP...) n'est pas encore déterminé */ depot_only: Generated<string>; /** * Nr de texte amendé pour la séance publique */ lecassame: string | null; /** * Numero de la liasse des amendements adopt?s en s?ance publique */ lecassameado: string | null; /** * Date de publication de la liasse des amendements adopt?s en s?ance publique */ lecassameadodat: Timestamp | null; /** * Session de la liasse des amendements adopt?s en s?ance publique */ lecassameadoses: number | null; /** * Nr de texte amendé pour l'élaboration du texte de commission */ lecassamecom: string | null; /** * Numero de la liasse des amendements adopt?s par la commission au fond */ lecassamecomado: string | null; /** * Date de publication de la liasse des amendements adopt?s par la commission au fond */ lecassamecomadodat: Timestamp | null; /** * Session de la liasse des amendements adopt?s par la commission au fond */ lecassamecomadoses: number | null; /** * Date de publication des amendements pour le texte de commission */ lecassamecomdat: Timestamp | null; /** * Date de publication des amendements pour la séance publique */ lecassamedat: Timestamp | null; /** * Session de texte amendé pour la séance publique */ lecassameses: number | null; /** * Session de texte amendé pour l'élaboration du texte de commission */ lecassamesescom: number | null; /** * Clé de la table */ lecassidt: string; /** * Clé étrangère vers lecture */ lecidt: string; /** * Libellé de la PPRE */ libppr: string | null; /** * Nouvel intitulé du texte */ loiintmod: string | null; /** * Ordre dans la lecture */ ordreass: Int8; /** * Clé étrangère vers ORG (commission saisie au fond) */ orgcod: string | null; /** * Clé étrangère vers orippr.oripprcod (Origine de la PPRE) */ orippr: string | null; /** * Note concernant la petite loi */ ptlnot: string | null; /** * Note concernant la 2ème partie de la petite loi */ ptlnot2: string | null; /** * Note concernant la 3ème partie de la petite loi */ ptlnot3: string | null; /** * Numéro de la petite loi */ ptlnum: number | null; /** * Numéro de la petite loi de commission */ ptlnumcom: number | null; /** * Complément au numéro de la petite loi */ ptlnumcpl: string | null; /** * Complément au numéro de la 2ème partie de la petite loi */ ptlnumcpl2: string | null; /** * Complément au numéro de la 3ème partie de la petite loi */ ptlnumcpl3: string | null; /** * URL de la petite loi */ ptlurl: string | null; /** * URL de la 2ème partie de la petite loi */ ptlurl2: string | null; /** * URL de la 3ème partie de la petite loi */ ptlurl3: string | null; /** * URL de la petite loi de commission */ ptlurlcom: string | null; /** * Réunion de commission pour les PPRE */ reucom: string | null; /** * Clé étrangère vers ses (session parlementaire de la petite loi) */ sesann: Int8 | null; /** * Session parlementaire pour PPRE */ sesppr: Int8 | null; } export interface Lecassrap { /** * Clé étrangère vers lecass (lecture dans une assemblée parlementaire) */ lecassidt: string; /** * hiérarchisation des dossiers attachés */ lecassrapord: Generated<Int8 | null>; /** * Clé étrangère vers rap (rapport) */ rapcod: Int8; } export interface Lecture { /** * Libellé de la lecture */ leccom: string | null; /** * Clé de la table */ lecidt: string; /** * Clé étrangère vers loi (dossier législatif) */ loicod: string; /** * Clé étrangère vers typlec (type de lecture) */ typleccod: string; } export interface Libcom { /** * Libellé */ evelib: string | null; /** * Libellé court */ evelic: string | null; /** * Libellé long */ evelil: string | null; /** * Observations */ eveobs: string | null; /** * Article */ libcomart: string | null; /** * Date début */ libcomdatdeb: Timestamp; /** * Date fin */ libcomdatfin: Timestamp | null; /** * Identifiant */ libcomid: Int8; /** * Libellé transfert AMELI */ libcomlibameli: string | null; /** * Libellé Minuscule */ libcomlilmin: 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 Libdelega { /** * Libellé */ evelib: string | null; /** * Libellé court */ evelic: string | null; /** * Libellé long */ evelil: string | null; /** * Observations */ eveobs: string | null; /** * Article */ libdelegaart: string | null; /** * Date de début */ libdelegadatdeb: Timestamp; /** * Date fin */ libdelegadatfin: Timestamp | null; /** * Identifiant */ libdelegaid: Int8; /** * 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 Libgrppol { /** * Libellé */ evelib: string | null; /** * Libellé court */ evelic: string | null; /** * Libellé long */ evelil: string | null; /** * Observations */ eveobs: string | null; /** * Code groupe politique 4e Rép. */ grppolcod: string; /** * Article */ libgrppolart: string | null; /** * Code transfert AMELI */ libgrppolcodameli: string | null; /** * Date début */ libgrppoldatdeb: Timestamp; /** * Date de fin */ libgrppoldatfin: Timestamp | null; /** * Identifiant */ libgrppolid: Int8; /** * Date système création */ syscredat: Timestamp | null; /** * Date système modification */ sysmajdat: Timestamp | null; /** * Code validité */ temvalcod: string | null; } export interface Lnkrap { /** * Clé étrangère vers rap (rapport enfant) */ rapcodenf: Int8; /** * Clé étrangère vers rap (rapport père) */ rapcodper: Int8; /** * Mention apparaissant dans l'enfant */ rapenfdsc: string | null; /** * Mention apparaissant dans le père */ rapperdsc: string | null; } export interface Loi { /** * Date de la décision du Conseil constitutionnel */ date_decision: Timestamp | null; /** * Date de promulgation */ date_loi: Timestamp | null; /** * Clé étrangère vers deccod (décision du Conseil constitutionnel) */ deccoccod: string | null; /** * URL vers la décision du Conseil constitutionnel */ deccocurl: string | null; /** * URL du dossier du Conseil constitutionnel */ doscocurl: string | null; en_clair_chapo: string | null; en_clair_image: string | null; en_clair_url: string | null; /** * Clé étrangère vers etaloi (état du dossier) */ etaloicod: string | null; /** * Clé */ loicod: string; /** * Clé étrangère vers le dossier législatif maître */ loicodmai: string | null; /** * Date de publication au JO */ loidatjo: Timestamp | null; /** * Date de publication du 1er correctif au JO */ loidatjo2: Timestamp | null; /** * Date de publication du 2ème correctif au JO */ loidatjo3: Timestamp | null; /** * Entree dans l'index */ loient: string | null; /** * Titre long exhaustif de la loi */ loiint: string | null; /** * Intitulé d'origine */ loiintori: string | null; /** * Clé étrangère vers le dossier législatif d'une nouvelle délibération */ loinoudelibcod: string | null; /** * Numéro du JO */ loinumjo: string | null; /** * Numéro du JO (1er correctif) */ loinumjo2: string | null; /** * Numéro du JO (2ème correctif) */ loinumjo3: string | null; /** * Titre usuel court */ loitit: string | null; /** * Titre de la loi promulguée */ loititjo: string | null; /** * Complement de l'index */ motclef: string | null; /** * Clé étrangère vers le dossier législatif sur lequel porte la motion */ motionloiorigcod: string | null; /** * Numéro de la décision du Conseil constitutionnel */ num_decision: string | null; /** * Numéro de la loi */ numero: string | null; /** * Objet du texte * */ objet: string | null; /** * Organisme créé par la résolution */ orgcod: string | null; /** * Date d'engagement de la procédure accélérée */ proaccdat: Timestamp | null; /** * Date d'oposition à la procédure accélérée */ proaccoppdat: Timestamp | null; /** * Date de retrait de la procédure accélérée */ retproaccdat: Timestamp | null; /** * Date de saisine du Conseil constitutionnel */ saisine_date: Timestamp | null; /** * Conditions de saisine du Conseil constitutionnel */ saisine_par: string | null; /** * Racine de l'URL du dossier * */ signet: string | null; /** * Signet alternatif, à utiliser pour un renommage de signet */ signetalt: string | null; /** * Clé étrangère vers typloi (type de loi) */ typloicod: string; /** * oui,non ou dro */ urgence: string | null; /** * URL du dossier législatif sur le site de l'Assemblée Nationale */ url_an: string | null; /** * URL de la promulgation JO */ url_jo: string | null; /** * URL du 1er correctif JO */ url_jo2: string | null; /** * URL du 2ème correctif JO */ url_jo3: string | null; /** * Url de l'ordonance * */ url_ordonnance: string | null; /** * URL de la page qui contient la présentation article par article des travaux parlementaires sur ce texte */ url_presart: string | null; } export interface Loithe { /** * Clé étrangère vers loi (dossier législatif) */ loicod: string; /** * Clé étrangère vers the (thème) */ thecle: number; } export interface Memcom { /** * Libellé */ evelib: string | null; /** * Libellé court */ evelic: string | null; /** * Libellé long */ evelil: string | null; /** * Observations */ eveobs: string | null; /** * Témoin publication */ evetempub: Generated<string | null>; /** * Date de début */ memcomdatdeb: Timestamp | null; /** * Date de fin */ memcomdatfin: Timestamp | null; /** * Identifiant */ memcomid: Int8; /** * Titulaire/Suppléant */ memcomtitsup: string | null; /** * Code organisme */ orgcod: string; /** * Matricule */ senmat: string; /** * Date système création */ syscredat: Timestamp | null; /** * Date système modification */ sysmajdat: Timestamp | null; /** * Code validité */ temvalcod: string | null; } export interface Memdelega { /** * Code désignataire */ designcod: Generated<string>; /** * Libellé */ evelib: string | null; /** * Libellé court */ evelic: string | null; /** * Libellé long */ evelil: string | null; /** * Observations */ eveobs: string | null; /** * Témoin publication */ evetempub: Generated<string | null>; /** * Date de début */ memdelegadatdeb: Timestamp | null; /** * Date de fin */ memdelegadatfin: Timestamp | null; /** * Identifiant */ memdelegaid: Int8; /** * Code organisme */ orgcod: string; /** * Matricule */ senmat: string; /** * Date système création */ syscredat: Timestamp | null; /** * Date système modification */ sysmajdat: Timestamp | null; /** * Code validité */ temvalcod: string | null; } export interface Memgrppol { /** * Libellé */ evelib: string | null; /** * Libellé court */ evelic: string | null; /** * Libellé long */ evelil: string | null; /** * Observations */ eveobs: string | null; /** * Témoin publication */ evetempub: Generated<string | null>; /** * Code groupe politique 4e Rép. */ grppolcod: string; /** * Date de début */ memgrppoldatdeb: Timestamp | null; /** * Date de fin */ memgrppoldatfin: Timestamp | null; /** * Identifiant */ memgrppolid: Int8; /** * 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 appartenance */ typapppolcod: string; } export interface Natloi { /** * Clé de la table */ groupe: string; /** * Libellé */ natloilib: string; } export interface Org { /** * Clé étrangère vers ass (assemblée parlementaire) */ codass: string | null; /** * Code couleur pour les travaux de contrôle de l'organisme */ html_color: string | null; /** * Intitulé associé des travaux de l'organisme */ inttra: string | null; /** * du, de la */ org_de: string | null; /** * Clé de la table */ orgcod: string; /** * Date de création (premier jour d'activité) */ orgdatdeb: Timestamp | null; /** * Début de validité pour les communiqués de presse */ orgdatdebcop: Timestamp | null; /** * Date de clôture (dernier jour d'activité) */ orgdatfin: Timestamp | null; /** * Fin de validité pour les communiqués de presse */ orgdatfincop: Timestamp | null; orggen: string | null; /** * Identification de l'organisme pour les applications */ orglibaff: string | null; /** * Nom court de l'organisme (pour les listes) */ orglibcou: string | null; /** * Nom officiel de l'oganisme */ orgliblon: string | null; /** * Nom usuel de l'organisme */ orgnom: string; /** * Nom apparaîssant sur les couvertures des documents de l'organisme */ orgnomcouv: string | null; /** * Ordre protocolaire de l'organisme */ orgord: number | null; /** * URL de la page de présentation de l'organisme */ orgurl: string | null; /** * Clé de l'organisme correspondant dans la base Sénateurs */ senorgcod: string | null; /** * Clé étrangère vers typorg (type de l'organisme) */ typorgcod: string; url_podcast: string | null; /** * URL des travaux de l'organisme */ urltra: string | null; } export interface Orgnomhis { /** * Intitulé associé des travaux de l'organisme */ intra: string | null; /** * Date de fin de validité de cete enregistrement */ onhfin: Timestamp; /** * Clé de la table */ onhnum: Int8; /** * du, de la */ org_de: string; /** * Clé étrangère vers org */ orgcod: string; orglibaff: string | null; /** * Nom court de l'organisme (pour les listes) */ orglibcou: string; /** * Nom officiel de l'oganisme */ orgliblon: string; /** * Nom usuel de l'organisme */ orgnom: string; /** * Nom apparaîssant sur les couvertures des documents de l'organisme */ orgnomcouv: string | null; } export interface Orippr { /** * Clé de la table */ oripprcod: string; /** * Libellé */ oripprlib: string; } export interface Oritxt { /** * Clé étrangère vers ass (assemblée parlementaire) */ codass: string | null; /** * 0=initial (déposé), 1=final, 2=intermédiaire (commission) */ oriordre: string | null; /** * Adoption : O=adopté, N=rejeté, I=indéterminé */ oritxtado: string | null; /** * Clé de la table */ oritxtcod: string; oritxtign: string | null; /** * Libellé */ oritxtlib: string; /** * Libellé féminisé */ oritxtlibfem: string; /** * Texte modifié : O=oui, N=no */ oritxtmod: string | null; /** * Nécessite un organisme : O=oui, N=no */ oritxtorg: string | null; } export interface Posvot { /** * Clé de la table */ posvotcod: string; /** * Libellé */ posvotlib: string; } export interface Qua { /** * Abrévation */ quaabr: string; /** * Abrévation au pluriel */ quaabrplu: string; /** * Clé de la table */ quacod: string; /** * Libellé */ qualic: string; } export interface QuaSen { /** * Code qualité */ quacod: string; /** * Code sexe */ quacodsex: string | null; /** * Code transfert GESTION */ quacodsirpas: string | null; /** * Libellé */ qualib: string | null; /** * Libellé pluriel */ qualibplu: string | null; /** * Libellé court */ qualic: string; /** * Libellé court pluriel */ qualicplu: string | null; /** * Libellé long */ qualil: string | null; /** * Libellé long pluriel */ qualilplu: string | null; /** * Numéro de tri */ quanumtri: Int8 | null; /** * Date système création */ syscredat: Timestamp | null; /** * Date système modification */ sysmajdat: Timestamp | null; } export interface Rap { /** * Clé étrangère vers ble (Bleu budgétaire) */ blecod: string | null; /** * Clé étrangère vers denrap (dénomination du rapport) */ coddenrap: string; /** * Date de dépôt */ date_depot: Timestamp; /** * Si oui, le document n'est pas disponible et n'est mentionné que dans la feuille de dépôt */ depot_only: Generated<string | null>; /** * Clé étrangère vers forpub (format de publication) */ forpubcod: string | null; /** * numéro complémentaire (rectifié bis...) */ numerobis: string | null; /** * Prix de vente */ prix: string | null; /** * Annexe */ rapann: number | null; /** * Code du rapport - clé interne */ rapcod: Int8; /** * Date de s¿ance ¿ laquelle le rapport est attach¿ */ rapdatsea: Timestamp | null; /** * Fascicule */ rapfac: number | null; /** * Numéro */ rapnum: Int8 | null; /** * Numéro à l'Assemblée Nationale */ rapnuman: Int8 | null; /** * Résumé */ rapres: string | null; /** * Sous-titre ¿ventuel */ rapsoustit: string | null; /** * Titre court = titre complet du rapport */ raptil: string | null; /** * Titre court tel qu'il appara¿t dans des listes */ raptitcou: string | null; /** * Tome */ raptom: number | null; /** * URL du rapport - pour les doc interne URL partiel */ rapurl: string | null; /** * Volume */ rapvol: number | null; /** * Clé étrangère vers ses (session parlementaire) */ sesann: Int8; /** * Clé étrangère vers typurl (type de l'URL) */ typurl: string; /** * URL de la deuxième partie */ url2: string | null; /** * Libellé associé à URL2 */ url2txt: string | null; /** * URL de la troisième partie */ url3: string | null; /** * Libellé associé à URL3 */ url3txt: string | null; /** * URL de la quatrième partie */ url4: string | null; /** * Libellé associé à URL4 */ url4txt: string | null; } export interface Raporg { /** * Clé étrangère vers org (organisme) */ orgcod: string; /** * Clé étrangère vers rap (rapport) */ rapcod: Int8; } export interface Rapthe { /** * Clé étrangère vers rap (rapport) */ rapcod: Int8;