@tricoteuses/senat 1.1.2 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +53 -15
- package/lib/aggregates.d.ts +4 -6
- package/lib/aggregates.mjs +908 -780
- package/lib/aggregates.ts +8 -122
- package/lib/data/legislatures.json +38 -0
- package/lib/databases.d.ts +9 -0
- package/lib/databases.js +41 -11
- package/lib/databases.mjs +32 -1
- package/lib/databases.ts +40 -1
- package/lib/fields.mjs +64 -18
- package/lib/index.d.ts +5 -7
- package/lib/index.js +8 -112
- package/lib/index.mjs +4 -7
- package/lib/index.ts +9 -30
- package/lib/inserters.d.ts +0 -4
- package/lib/inserters.mjs +461 -337
- package/lib/inserters.ts +0 -24
- package/lib/legislatures.json +38 -0
- package/lib/loaders.d.ts +64 -0
- package/lib/loaders.js +682 -0
- package/lib/loaders.mjs +158 -0
- package/lib/loaders.ts +271 -0
- package/lib/model/ameli.d.ts +105 -4
- package/lib/model/ameli.js +20 -160
- package/lib/model/ameli.mjs +84 -57
- package/lib/model/ameli.ts +94 -80
- package/lib/model/debats.d.ts +0 -4
- package/lib/model/debats.js +1 -122
- package/lib/model/debats.mjs +1 -43
- package/lib/model/debats.ts +0 -68
- package/lib/model/dosleg.d.ts +227 -29
- package/lib/model/dosleg.js +92 -832
- package/lib/model/dosleg.mjs +196 -337
- package/lib/model/dosleg.ts +213 -531
- package/lib/model/index.d.ts +4 -5
- package/lib/model/index.js +14 -15
- package/lib/model/index.mjs +4 -5
- package/lib/model/index.ts +8 -5
- package/lib/model/questions.d.ts +88 -2
- package/lib/model/questions.js +40 -45
- package/lib/model/questions.mjs +71 -8
- package/lib/model/questions.ts +90 -11
- package/lib/model/sens.d.ts +524 -2
- package/lib/model/sens.js +172 -49
- package/lib/model/sens.mjs +415 -9
- package/lib/model/sens.ts +514 -16
- package/lib/model/texte.d.ts +7 -0
- package/lib/model/texte.js +321 -0
- package/lib/model/texte.mjs +208 -0
- package/lib/model/texte.ts +229 -0
- package/lib/model/util.d.ts +7 -1
- package/lib/model/util.js +37 -53
- package/lib/model/util.mjs +19 -10
- package/lib/model/util.ts +30 -14
- package/lib/raw_types/ameli.d.ts +912 -538
- package/lib/raw_types/ameli.js +1 -39
- package/lib/raw_types/ameli.mjs +4 -1
- package/lib/raw_types/ameli.ts +947 -597
- package/lib/raw_types/debats.d.ts +204 -124
- package/lib/raw_types/debats.js +1 -18
- package/lib/raw_types/debats.mjs +4 -1
- package/lib/raw_types/debats.ts +218 -141
- package/lib/raw_types/dosleg.d.ts +3533 -2024
- package/lib/raw_types/dosleg.js +1 -92
- package/lib/raw_types/dosleg.mjs +4 -1
- package/lib/raw_types/dosleg.ts +3621 -2189
- package/lib/raw_types/questions.d.ts +404 -220
- package/lib/raw_types/questions.js +1 -18
- package/lib/raw_types/questions.mjs +4 -1
- package/lib/raw_types/questions.ts +404 -226
- package/lib/raw_types/sens.d.ts +4391 -2706
- package/lib/raw_types/sens.js +1 -108
- package/lib/raw_types/sens.mjs +4 -1
- package/lib/raw_types/sens.ts +4495 -2903
- package/lib/raw_types_kysely/ameli.d.ts +6 -0
- package/lib/raw_types_kysely/ameli.mjs +7 -0
- package/lib/raw_types_kysely/ameli.ts +6 -0
- package/lib/raw_types_kysely/debats.d.ts +6 -0
- package/lib/raw_types_kysely/debats.mjs +7 -0
- package/lib/raw_types_kysely/debats.ts +6 -0
- package/lib/raw_types_kysely/dosleg.d.ts +6 -0
- package/lib/raw_types_kysely/dosleg.mjs +7 -0
- package/lib/raw_types_kysely/dosleg.ts +6 -0
- package/lib/raw_types_kysely/questions.d.ts +6 -0
- package/lib/raw_types_kysely/questions.mjs +7 -0
- package/lib/raw_types_kysely/questions.ts +6 -0
- package/lib/raw_types_kysely/sens.d.ts +6 -0
- package/lib/raw_types_kysely/sens.mjs +7 -0
- package/lib/raw_types_kysely/sens.ts +6 -0
- package/lib/raw_types_kysely/texte.d.ts +45 -0
- package/lib/raw_types_kysely/texte.mjs +7 -0
- package/lib/raw_types_kysely/texte.ts +53 -0
- package/lib/raw_types_schemats/ameli.d.ts +541 -0
- package/lib/raw_types_schemats/ameli.js +45 -0
- package/lib/raw_types_schemats/ameli.mjs +2 -0
- package/lib/raw_types_schemats/ameli.ts +601 -0
- package/lib/raw_types_schemats/debats.d.ts +127 -0
- package/lib/raw_types_schemats/debats.js +24 -0
- package/lib/raw_types_schemats/debats.mjs +2 -0
- package/lib/raw_types_schemats/debats.ts +145 -0
- package/lib/raw_types_schemats/dosleg.d.ts +2029 -0
- package/lib/raw_types_schemats/dosleg.js +98 -0
- package/lib/raw_types_schemats/dosleg.mjs +2 -0
- package/lib/raw_types_schemats/dosleg.ts +2195 -0
- package/lib/raw_types_schemats/questions.d.ts +233 -0
- package/lib/raw_types_schemats/questions.js +24 -0
- package/lib/raw_types_schemats/questions.mjs +2 -0
- package/lib/raw_types_schemats/questions.ts +251 -0
- package/lib/raw_types_schemats/sens.d.ts +2709 -0
- package/lib/raw_types_schemats/sens.js +114 -0
- package/lib/raw_types_schemats/sens.mjs +2 -0
- package/lib/raw_types_schemats/sens.ts +2907 -0
- package/lib/scripts/convert_data.js +574 -215
- package/lib/scripts/convert_data.mjs +134 -99
- package/lib/scripts/convert_data.ts +173 -112
- package/lib/scripts/datautil.d.ts +5 -0
- package/lib/scripts/datautil.js +64 -0
- package/lib/scripts/datautil.mjs +16 -0
- package/lib/scripts/datautil.ts +19 -0
- package/lib/scripts/parse_textes.js +132 -0
- package/lib/scripts/parse_textes.mjs +46 -0
- package/lib/scripts/parse_textes.ts +65 -0
- package/lib/scripts/retrieve_documents.d.ts +1 -0
- package/lib/scripts/retrieve_documents.js +521 -0
- package/lib/scripts/retrieve_documents.mjs +249 -0
- package/lib/scripts/retrieve_documents.ts +298 -0
- package/lib/scripts/retrieve_open_data.js +77 -69
- package/lib/scripts/retrieve_open_data.mjs +48 -49
- package/lib/scripts/retrieve_open_data.ts +74 -58
- package/lib/scripts/retrieve_senateurs_photos.js +45 -63
- package/lib/scripts/retrieve_senateurs_photos.mjs +4 -21
- package/lib/scripts/retrieve_senateurs_photos.ts +6 -29
- package/lib/scripts/retrieve_textes.mjs +325 -74
- package/lib/scripts/retrieve_textes.ts +111 -63
- package/lib/scripts/shared/cli_helpers.d.ts +44 -0
- package/lib/scripts/shared/cli_helpers.js +35 -0
- package/lib/scripts/shared/cli_helpers.ts +36 -0
- package/lib/scripts/shared/util.d.ts +3 -0
- package/lib/scripts/shared/util.js +102 -0
- package/lib/scripts/shared/util.ts +33 -0
- package/lib/src/aggregates.d.ts +52 -0
- package/lib/src/aggregates.mjs +726 -0
- package/lib/src/config.d.ts +2 -0
- package/lib/src/config.mjs +16 -0
- package/lib/src/databases.d.ts +18 -0
- package/lib/src/databases.mjs +55 -0
- package/lib/src/datasets.d.ts +28 -0
- package/lib/src/datasets.mjs +78 -0
- package/lib/src/fields.d.ts +10 -0
- package/lib/src/fields.mjs +22 -0
- package/lib/src/index.d.ts +8 -0
- package/lib/src/index.mjs +7 -0
- package/lib/src/inserters.d.ts +98 -0
- package/lib/src/inserters.mjs +360 -0
- package/lib/src/loaders.d.ts +36 -0
- package/lib/src/loaders.mjs +107 -0
- package/lib/src/model/ameli.d.ts +4 -0
- package/lib/src/model/ameli.js +57 -0
- package/lib/src/model/debats.d.ts +4 -0
- package/lib/src/model/debats.js +43 -0
- package/lib/src/model/dosleg.d.ts +197 -0
- package/lib/src/model/dosleg.js +169 -0
- package/lib/src/model/index.d.ts +4 -0
- package/lib/src/model/index.js +4 -0
- package/lib/src/model/questions.d.ts +89 -0
- package/lib/src/model/questions.js +76 -0
- package/lib/src/model/sens.d.ts +390 -0
- package/lib/src/model/sens.js +339 -0
- package/lib/src/model/texte.d.ts +7 -0
- package/lib/src/model/texte.js +183 -0
- package/lib/src/raw_types_kysely/ameli.d.ts +915 -0
- package/lib/src/raw_types_kysely/ameli.js +5 -0
- package/lib/src/raw_types_kysely/debats.d.ts +207 -0
- package/lib/src/raw_types_kysely/debats.js +5 -0
- package/lib/src/raw_types_kysely/dosleg.d.ts +3532 -0
- package/lib/src/raw_types_kysely/dosleg.js +5 -0
- package/lib/src/raw_types_kysely/questions.d.ts +414 -0
- package/lib/src/raw_types_kysely/questions.js +5 -0
- package/lib/src/raw_types_kysely/sens.d.ts +4394 -0
- package/lib/src/raw_types_kysely/sens.js +5 -0
- package/lib/src/raw_types_schemats/ameli.d.ts +541 -0
- package/lib/src/raw_types_schemats/ameli.js +2 -0
- package/lib/src/raw_types_schemats/debats.d.ts +127 -0
- package/lib/src/raw_types_schemats/debats.js +2 -0
- package/lib/src/raw_types_schemats/dosleg.d.ts +2027 -0
- package/lib/src/raw_types_schemats/dosleg.js +2 -0
- package/lib/src/raw_types_schemats/questions.d.ts +231 -0
- package/lib/src/raw_types_schemats/questions.js +2 -0
- package/lib/src/raw_types_schemats/sens.d.ts +2709 -0
- package/lib/src/raw_types_schemats/sens.js +2 -0
- package/lib/src/scripts/convert_data.d.ts +1 -0
- package/lib/src/scripts/convert_data.js +95 -0
- package/lib/src/scripts/datautil.d.ts +5 -0
- package/lib/src/scripts/datautil.js +16 -0
- package/lib/src/scripts/parse_textes.d.ts +1 -0
- package/lib/src/scripts/parse_textes.js +47 -0
- package/lib/src/scripts/retrieve_documents.d.ts +1 -0
- package/lib/src/scripts/retrieve_documents.js +258 -0
- package/lib/src/scripts/retrieve_open_data.d.ts +1 -0
- package/lib/src/scripts/retrieve_open_data.js +214 -0
- package/lib/src/scripts/retrieve_senateurs_photos.d.ts +1 -0
- package/lib/src/scripts/retrieve_senateurs_photos.js +147 -0
- package/lib/src/scripts/shared/cli_helpers.d.ts +44 -0
- package/lib/src/scripts/shared/cli_helpers.js +32 -0
- package/lib/src/scripts/shared/util.d.ts +3 -0
- package/lib/src/scripts/shared/util.js +28 -0
- package/lib/src/strings.d.ts +1 -0
- package/lib/src/strings.mjs +18 -0
- package/lib/src/types/ameli.d.ts +10 -0
- package/lib/src/types/ameli.js +13 -0
- package/lib/src/types/debats.d.ts +4 -0
- package/lib/src/types/debats.js +2 -0
- package/lib/src/types/dosleg.d.ts +98 -0
- package/lib/src/types/dosleg.js +151 -0
- package/lib/src/types/questions.d.ts +2 -0
- package/lib/src/types/questions.js +1 -0
- package/lib/src/types/sens.d.ts +10 -0
- package/lib/src/types/sens.js +1 -0
- package/lib/src/types/sessions.d.ts +42 -0
- package/lib/src/types/sessions.js +43 -0
- package/lib/src/types/texte.d.ts +61 -0
- package/lib/src/types/texte.js +16 -0
- package/lib/src/validators/config.d.ts +1 -0
- package/lib/src/validators/config.js +54 -0
- package/lib/src/validators/senat.d.ts +0 -0
- package/lib/src/validators/senat.js +24 -0
- package/lib/types/ameli.d.ts +1 -1
- package/lib/types/ameli.js +2 -2
- package/lib/types/ameli.ts +1 -1
- package/lib/types/debats.d.ts +1 -1
- package/lib/types/debats.js +2 -2
- package/lib/types/debats.ts +1 -1
- package/lib/types/dosleg.d.ts +2 -2
- package/lib/types/dosleg.js +2 -2
- package/lib/types/dosleg.ts +2 -2
- package/lib/types/questions.d.ts +1 -1
- package/lib/types/questions.js +2 -2
- package/lib/types/questions.ts +1 -1
- package/lib/types/sens.d.ts +1 -3
- package/lib/types/sens.js +2 -5
- package/lib/types/sens.mjs +1 -23
- package/lib/types/sens.ts +1 -25
- package/lib/types/sessions.d.ts +42 -0
- package/lib/types/sessions.js +51 -0
- package/lib/types/sessions.mjs +43 -0
- package/lib/types/sessions.ts +42 -0
- package/lib/types/texte.d.ts +65 -0
- package/lib/types/texte.js +24 -0
- package/lib/types/texte.mjs +16 -0
- package/lib/types/texte.ts +76 -0
- package/package.json +35 -10
- package/lib/aggregates.js +0 -1122
- package/lib/fields.js +0 -68
- package/lib/inserters.js +0 -518
- package/lib/scripts/fix_db.js +0 -144
- package/lib/scripts/fix_db.mjs +0 -64
- package/lib/scripts/fix_db.ts +0 -75
- package/lib/scripts/retrieve_textes.js +0 -179
- /package/lib/scripts/{fix_db.d.ts → parse_textes.d.ts} +0 -0
|
@@ -0,0 +1,541 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AUTO-GENERATED FILE - DO NOT EDIT!
|
|
3
|
+
*
|
|
4
|
+
* This file was automatically generated by schemats v.1.1.2
|
|
5
|
+
* $ 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
|
|
6
|
+
*
|
|
7
|
+
*/
|
|
8
|
+
export declare namespace amdFields {
|
|
9
|
+
type accgou = string | null;
|
|
10
|
+
type alinea = number | null;
|
|
11
|
+
type amdperid = number | null;
|
|
12
|
+
type autext = string;
|
|
13
|
+
type avcid = string | null;
|
|
14
|
+
type avgid = string | null;
|
|
15
|
+
type colleg = string;
|
|
16
|
+
type datdep = Date | null;
|
|
17
|
+
type dis = string | null;
|
|
18
|
+
type discomid = number | null;
|
|
19
|
+
type etaid = number;
|
|
20
|
+
type id = number;
|
|
21
|
+
type ideid = number | null;
|
|
22
|
+
type irrid = number | null;
|
|
23
|
+
type irrlo1113valid = string | null;
|
|
24
|
+
type irrsaisiepar = number | null;
|
|
25
|
+
type islu = string | null;
|
|
26
|
+
type libgrp = string | null;
|
|
27
|
+
type mot = string | null;
|
|
28
|
+
type motid = number | null;
|
|
29
|
+
type motposexa = string;
|
|
30
|
+
type nomentid = number;
|
|
31
|
+
type num = string | null;
|
|
32
|
+
type numabs = number | null;
|
|
33
|
+
type obj = string | null;
|
|
34
|
+
type obs = string | null;
|
|
35
|
+
type ocmid = number | null;
|
|
36
|
+
type opmid = number | null;
|
|
37
|
+
type ord = number | null;
|
|
38
|
+
type rev = number;
|
|
39
|
+
type sorid = string | null;
|
|
40
|
+
type subid = number | null;
|
|
41
|
+
type subidder = number | null;
|
|
42
|
+
type subpos = number | null;
|
|
43
|
+
type txtid = number;
|
|
44
|
+
type typ = string;
|
|
45
|
+
type typrectid = number | null;
|
|
46
|
+
}
|
|
47
|
+
export interface amd {
|
|
48
|
+
accgou: amdFields.accgou;
|
|
49
|
+
alinea: amdFields.alinea;
|
|
50
|
+
amdperid: amdFields.amdperid;
|
|
51
|
+
autext: amdFields.autext;
|
|
52
|
+
avcid: amdFields.avcid;
|
|
53
|
+
avgid: amdFields.avgid;
|
|
54
|
+
colleg: amdFields.colleg;
|
|
55
|
+
datdep: amdFields.datdep;
|
|
56
|
+
dis: amdFields.dis;
|
|
57
|
+
discomid: amdFields.discomid;
|
|
58
|
+
etaid: amdFields.etaid;
|
|
59
|
+
id: amdFields.id;
|
|
60
|
+
ideid: amdFields.ideid;
|
|
61
|
+
irrid: amdFields.irrid;
|
|
62
|
+
irrlo1113valid: amdFields.irrlo1113valid;
|
|
63
|
+
irrsaisiepar: amdFields.irrsaisiepar;
|
|
64
|
+
islu: amdFields.islu;
|
|
65
|
+
libgrp: amdFields.libgrp;
|
|
66
|
+
mot: amdFields.mot;
|
|
67
|
+
motid: amdFields.motid;
|
|
68
|
+
motposexa: amdFields.motposexa;
|
|
69
|
+
nomentid: amdFields.nomentid;
|
|
70
|
+
num: amdFields.num;
|
|
71
|
+
numabs: amdFields.numabs;
|
|
72
|
+
obj: amdFields.obj;
|
|
73
|
+
obs: amdFields.obs;
|
|
74
|
+
ocmid: amdFields.ocmid;
|
|
75
|
+
opmid: amdFields.opmid;
|
|
76
|
+
ord: amdFields.ord;
|
|
77
|
+
rev: amdFields.rev;
|
|
78
|
+
sorid: amdFields.sorid;
|
|
79
|
+
subid: amdFields.subid;
|
|
80
|
+
subidder: amdFields.subidder;
|
|
81
|
+
subpos: amdFields.subpos;
|
|
82
|
+
txtid: amdFields.txtid;
|
|
83
|
+
typ: amdFields.typ;
|
|
84
|
+
typrectid: amdFields.typrectid;
|
|
85
|
+
}
|
|
86
|
+
export declare namespace amdsenFields {
|
|
87
|
+
type amdid = number;
|
|
88
|
+
type grpid = number | null;
|
|
89
|
+
type hom = string | null;
|
|
90
|
+
type nomuse = string | null;
|
|
91
|
+
type prenomuse = string | null;
|
|
92
|
+
type qua = string | null;
|
|
93
|
+
type rng = number | null;
|
|
94
|
+
type senid = number;
|
|
95
|
+
}
|
|
96
|
+
export interface amdsen {
|
|
97
|
+
amdid: amdsenFields.amdid;
|
|
98
|
+
grpid: amdsenFields.grpid;
|
|
99
|
+
hom: amdsenFields.hom;
|
|
100
|
+
nomuse: amdsenFields.nomuse;
|
|
101
|
+
prenomuse: amdsenFields.prenomuse;
|
|
102
|
+
qua: amdsenFields.qua;
|
|
103
|
+
rng: amdsenFields.rng;
|
|
104
|
+
senid: amdsenFields.senid;
|
|
105
|
+
}
|
|
106
|
+
export declare namespace avicomFields {
|
|
107
|
+
type cod = string;
|
|
108
|
+
type id = string;
|
|
109
|
+
type lib = string;
|
|
110
|
+
}
|
|
111
|
+
export interface avicom {
|
|
112
|
+
cod: avicomFields.cod;
|
|
113
|
+
id: avicomFields.id;
|
|
114
|
+
lib: avicomFields.lib;
|
|
115
|
+
}
|
|
116
|
+
export declare namespace avigvtFields {
|
|
117
|
+
type cod = string;
|
|
118
|
+
type id = string;
|
|
119
|
+
type lib = string;
|
|
120
|
+
}
|
|
121
|
+
export interface avigvt {
|
|
122
|
+
cod: avigvtFields.cod;
|
|
123
|
+
id: avigvtFields.id;
|
|
124
|
+
lib: avigvtFields.lib;
|
|
125
|
+
}
|
|
126
|
+
export declare namespace cabFields {
|
|
127
|
+
type codint = string;
|
|
128
|
+
type entid = number;
|
|
129
|
+
type lil = string | null;
|
|
130
|
+
}
|
|
131
|
+
export interface cab {
|
|
132
|
+
codint: cabFields.codint;
|
|
133
|
+
entid: cabFields.entid;
|
|
134
|
+
lil: cabFields.lil;
|
|
135
|
+
}
|
|
136
|
+
export declare namespace com_ameliFields {
|
|
137
|
+
type cod = string;
|
|
138
|
+
type codint = string;
|
|
139
|
+
type entid = number;
|
|
140
|
+
type lib = string;
|
|
141
|
+
type lil = string;
|
|
142
|
+
type spc = string;
|
|
143
|
+
type tri = number | null;
|
|
144
|
+
}
|
|
145
|
+
export interface com_ameli {
|
|
146
|
+
cod: com_ameliFields.cod;
|
|
147
|
+
codint: com_ameliFields.codint;
|
|
148
|
+
entid: com_ameliFields.entid;
|
|
149
|
+
lib: com_ameliFields.lib;
|
|
150
|
+
lil: com_ameliFields.lil;
|
|
151
|
+
spc: com_ameliFields.spc;
|
|
152
|
+
tri: com_ameliFields.tri;
|
|
153
|
+
}
|
|
154
|
+
export declare namespace entFields {
|
|
155
|
+
type act = string | null;
|
|
156
|
+
type id = number;
|
|
157
|
+
type typ = string;
|
|
158
|
+
}
|
|
159
|
+
export interface ent {
|
|
160
|
+
act: entFields.act;
|
|
161
|
+
id: entFields.id;
|
|
162
|
+
typ: entFields.typ;
|
|
163
|
+
}
|
|
164
|
+
export declare namespace etatxtFields {
|
|
165
|
+
type id = number;
|
|
166
|
+
type lib = string;
|
|
167
|
+
type lic = string;
|
|
168
|
+
type txttyp = string;
|
|
169
|
+
}
|
|
170
|
+
export interface etatxt {
|
|
171
|
+
id: etatxtFields.id;
|
|
172
|
+
lib: etatxtFields.lib;
|
|
173
|
+
lic: etatxtFields.lic;
|
|
174
|
+
txttyp: etatxtFields.txttyp;
|
|
175
|
+
}
|
|
176
|
+
export declare namespace fbuFields {
|
|
177
|
+
type id = number;
|
|
178
|
+
type lib = string;
|
|
179
|
+
type lic = string;
|
|
180
|
+
type sesid = number;
|
|
181
|
+
}
|
|
182
|
+
export interface fbu {
|
|
183
|
+
id: fbuFields.id;
|
|
184
|
+
lib: fbuFields.lib;
|
|
185
|
+
lic: fbuFields.lic;
|
|
186
|
+
sesid: fbuFields.sesid;
|
|
187
|
+
}
|
|
188
|
+
export declare namespace grppol_ameliFields {
|
|
189
|
+
type cod = string;
|
|
190
|
+
type codint = string;
|
|
191
|
+
type entid = number;
|
|
192
|
+
type libcou = string;
|
|
193
|
+
type lilcou = string;
|
|
194
|
+
type tri = number | null;
|
|
195
|
+
}
|
|
196
|
+
export interface grppol_ameli {
|
|
197
|
+
cod: grppol_ameliFields.cod;
|
|
198
|
+
codint: grppol_ameliFields.codint;
|
|
199
|
+
entid: grppol_ameliFields.entid;
|
|
200
|
+
libcou: grppol_ameliFields.libcou;
|
|
201
|
+
lilcou: grppol_ameliFields.lilcou;
|
|
202
|
+
tri: grppol_ameliFields.tri;
|
|
203
|
+
}
|
|
204
|
+
export declare namespace gvtFields {
|
|
205
|
+
type entid = number;
|
|
206
|
+
type nom = string;
|
|
207
|
+
type pre = string;
|
|
208
|
+
type qua = string;
|
|
209
|
+
type tit = string;
|
|
210
|
+
}
|
|
211
|
+
export interface gvt {
|
|
212
|
+
entid: gvtFields.entid;
|
|
213
|
+
nom: gvtFields.nom;
|
|
214
|
+
pre: gvtFields.pre;
|
|
215
|
+
qua: gvtFields.qua;
|
|
216
|
+
tit: gvtFields.tit;
|
|
217
|
+
}
|
|
218
|
+
export declare namespace intoraFields {
|
|
219
|
+
type entid = number;
|
|
220
|
+
type entid2 = number | null;
|
|
221
|
+
type id = number;
|
|
222
|
+
type mom = string;
|
|
223
|
+
type ord = number;
|
|
224
|
+
type rolcod = string;
|
|
225
|
+
type seaid = number | null;
|
|
226
|
+
type subid = number | null;
|
|
227
|
+
type temps = number;
|
|
228
|
+
type txtid = number;
|
|
229
|
+
}
|
|
230
|
+
export interface intora {
|
|
231
|
+
entid: intoraFields.entid;
|
|
232
|
+
entid2: intoraFields.entid2;
|
|
233
|
+
id: intoraFields.id;
|
|
234
|
+
mom: intoraFields.mom;
|
|
235
|
+
ord: intoraFields.ord;
|
|
236
|
+
rolcod: intoraFields.rolcod;
|
|
237
|
+
seaid: intoraFields.seaid;
|
|
238
|
+
subid: intoraFields.subid;
|
|
239
|
+
temps: intoraFields.temps;
|
|
240
|
+
txtid: intoraFields.txtid;
|
|
241
|
+
}
|
|
242
|
+
export declare namespace irrFields {
|
|
243
|
+
type art = string | null;
|
|
244
|
+
type cod = string;
|
|
245
|
+
type id = number;
|
|
246
|
+
type lib = string;
|
|
247
|
+
type libirr = string | null;
|
|
248
|
+
type lilmin = string | null;
|
|
249
|
+
type par = string | null;
|
|
250
|
+
}
|
|
251
|
+
export interface irr {
|
|
252
|
+
art: irrFields.art;
|
|
253
|
+
cod: irrFields.cod;
|
|
254
|
+
id: irrFields.id;
|
|
255
|
+
lib: irrFields.lib;
|
|
256
|
+
libirr: irrFields.libirr;
|
|
257
|
+
lilmin: irrFields.lilmin;
|
|
258
|
+
par: irrFields.par;
|
|
259
|
+
}
|
|
260
|
+
export declare namespace lec_ameliFields {
|
|
261
|
+
type id = number;
|
|
262
|
+
type lecpreid = number | null;
|
|
263
|
+
type lib = string;
|
|
264
|
+
}
|
|
265
|
+
export interface lec_ameli {
|
|
266
|
+
id: lec_ameliFields.id;
|
|
267
|
+
lecpreid: lec_ameliFields.lecpreid;
|
|
268
|
+
lib: lec_ameliFields.lib;
|
|
269
|
+
}
|
|
270
|
+
export declare namespace motFields {
|
|
271
|
+
type cod = string | null;
|
|
272
|
+
type id = number;
|
|
273
|
+
type int = string | null;
|
|
274
|
+
type lib = string;
|
|
275
|
+
type libnbe = string | null;
|
|
276
|
+
type ord = number;
|
|
277
|
+
}
|
|
278
|
+
export interface mot {
|
|
279
|
+
cod: motFields.cod;
|
|
280
|
+
id: motFields.id;
|
|
281
|
+
int: motFields.int;
|
|
282
|
+
lib: motFields.lib;
|
|
283
|
+
libnbe: motFields.libnbe;
|
|
284
|
+
ord: motFields.ord;
|
|
285
|
+
}
|
|
286
|
+
export declare namespace natFields {
|
|
287
|
+
type id = number;
|
|
288
|
+
type lib = string;
|
|
289
|
+
type libcourt = string | null;
|
|
290
|
+
}
|
|
291
|
+
export interface nat {
|
|
292
|
+
id: natFields.id;
|
|
293
|
+
lib: natFields.lib;
|
|
294
|
+
libcourt: natFields.libcourt;
|
|
295
|
+
}
|
|
296
|
+
export declare namespace orarolFields {
|
|
297
|
+
type cod = string;
|
|
298
|
+
type entreq = string;
|
|
299
|
+
type lib = string | null;
|
|
300
|
+
}
|
|
301
|
+
export interface orarol {
|
|
302
|
+
cod: orarolFields.cod;
|
|
303
|
+
entreq: orarolFields.entreq;
|
|
304
|
+
lib: orarolFields.lib;
|
|
305
|
+
}
|
|
306
|
+
export declare namespace saiFields {
|
|
307
|
+
type comid = number;
|
|
308
|
+
type id = number;
|
|
309
|
+
type isdelegfond = string;
|
|
310
|
+
type numrap = number | null;
|
|
311
|
+
type saityp = string;
|
|
312
|
+
type sesid = number;
|
|
313
|
+
type txtid = number;
|
|
314
|
+
}
|
|
315
|
+
export interface sai {
|
|
316
|
+
comid: saiFields.comid;
|
|
317
|
+
id: saiFields.id;
|
|
318
|
+
isdelegfond: saiFields.isdelegfond;
|
|
319
|
+
numrap: saiFields.numrap;
|
|
320
|
+
saityp: saiFields.saityp;
|
|
321
|
+
sesid: saiFields.sesid;
|
|
322
|
+
txtid: saiFields.txtid;
|
|
323
|
+
}
|
|
324
|
+
export declare namespace saisenFields {
|
|
325
|
+
type id = number;
|
|
326
|
+
type ord = number;
|
|
327
|
+
type senid = number;
|
|
328
|
+
}
|
|
329
|
+
export interface saisen {
|
|
330
|
+
id: saisenFields.id;
|
|
331
|
+
ord: saisenFields.ord;
|
|
332
|
+
senid: saisenFields.senid;
|
|
333
|
+
}
|
|
334
|
+
export declare namespace seaFields {
|
|
335
|
+
type dat = Date | null;
|
|
336
|
+
type id = number;
|
|
337
|
+
type num = number | null;
|
|
338
|
+
type sesid = number;
|
|
339
|
+
}
|
|
340
|
+
export interface sea {
|
|
341
|
+
dat: seaFields.dat;
|
|
342
|
+
id: seaFields.id;
|
|
343
|
+
num: seaFields.num;
|
|
344
|
+
sesid: seaFields.sesid;
|
|
345
|
+
}
|
|
346
|
+
export declare namespace sen_ameliFields {
|
|
347
|
+
type app = string | null;
|
|
348
|
+
type comid = number | null;
|
|
349
|
+
type comspcid = number | null;
|
|
350
|
+
type entid = number;
|
|
351
|
+
type grpid = number;
|
|
352
|
+
type hom = string | null;
|
|
353
|
+
type mat = string;
|
|
354
|
+
type nomtec = string | null;
|
|
355
|
+
type nomuse = string;
|
|
356
|
+
type nomusemin = string;
|
|
357
|
+
type prenomuse = string;
|
|
358
|
+
type qua = string;
|
|
359
|
+
type ratt = string | null;
|
|
360
|
+
type senfem = string | null;
|
|
361
|
+
}
|
|
362
|
+
export interface sen_ameli {
|
|
363
|
+
app: sen_ameliFields.app;
|
|
364
|
+
comid: sen_ameliFields.comid;
|
|
365
|
+
comspcid: sen_ameliFields.comspcid;
|
|
366
|
+
entid: sen_ameliFields.entid;
|
|
367
|
+
grpid: sen_ameliFields.grpid;
|
|
368
|
+
hom: sen_ameliFields.hom;
|
|
369
|
+
mat: sen_ameliFields.mat;
|
|
370
|
+
nomtec: sen_ameliFields.nomtec;
|
|
371
|
+
nomuse: sen_ameliFields.nomuse;
|
|
372
|
+
nomusemin: sen_ameliFields.nomusemin;
|
|
373
|
+
prenomuse: sen_ameliFields.prenomuse;
|
|
374
|
+
qua: sen_ameliFields.qua;
|
|
375
|
+
ratt: sen_ameliFields.ratt;
|
|
376
|
+
senfem: sen_ameliFields.senfem;
|
|
377
|
+
}
|
|
378
|
+
export declare namespace sesFields {
|
|
379
|
+
type ann = number;
|
|
380
|
+
type id = number;
|
|
381
|
+
type lil = string;
|
|
382
|
+
type typid = number;
|
|
383
|
+
}
|
|
384
|
+
export interface ses {
|
|
385
|
+
ann: sesFields.ann;
|
|
386
|
+
id: sesFields.id;
|
|
387
|
+
lil: sesFields.lil;
|
|
388
|
+
typid: sesFields.typid;
|
|
389
|
+
}
|
|
390
|
+
export declare namespace sorFields {
|
|
391
|
+
type cod = string;
|
|
392
|
+
type id = string;
|
|
393
|
+
type lib = string;
|
|
394
|
+
type typ = string;
|
|
395
|
+
}
|
|
396
|
+
export interface sor {
|
|
397
|
+
cod: sorFields.cod;
|
|
398
|
+
id: sorFields.id;
|
|
399
|
+
lib: sorFields.lib;
|
|
400
|
+
typ: sorFields.typ;
|
|
401
|
+
}
|
|
402
|
+
export declare namespace subFields {
|
|
403
|
+
type comdelid = number | null;
|
|
404
|
+
type dupl = string;
|
|
405
|
+
type id = number;
|
|
406
|
+
type islec = string;
|
|
407
|
+
type lib = string | null;
|
|
408
|
+
type lic = string | null;
|
|
409
|
+
type merid = number | null;
|
|
410
|
+
type pos = number | null;
|
|
411
|
+
type posder = number | null;
|
|
412
|
+
type prires = number | null;
|
|
413
|
+
type sig = string | null;
|
|
414
|
+
type sorid = string | null;
|
|
415
|
+
type style = string;
|
|
416
|
+
type subamd = string;
|
|
417
|
+
type txtid = number;
|
|
418
|
+
type txtidder = number | null;
|
|
419
|
+
type typid = number | null;
|
|
420
|
+
}
|
|
421
|
+
export interface sub {
|
|
422
|
+
comdelid: subFields.comdelid;
|
|
423
|
+
dupl: subFields.dupl;
|
|
424
|
+
id: subFields.id;
|
|
425
|
+
islec: subFields.islec;
|
|
426
|
+
lib: subFields.lib;
|
|
427
|
+
lic: subFields.lic;
|
|
428
|
+
merid: subFields.merid;
|
|
429
|
+
pos: subFields.pos;
|
|
430
|
+
posder: subFields.posder;
|
|
431
|
+
prires: subFields.prires;
|
|
432
|
+
sig: subFields.sig;
|
|
433
|
+
sorid: subFields.sorid;
|
|
434
|
+
style: subFields.style;
|
|
435
|
+
subamd: subFields.subamd;
|
|
436
|
+
txtid: subFields.txtid;
|
|
437
|
+
txtidder: subFields.txtidder;
|
|
438
|
+
typid: subFields.typid;
|
|
439
|
+
}
|
|
440
|
+
export declare namespace txt_ameliFields {
|
|
441
|
+
type datado = Date | null;
|
|
442
|
+
type datdep = Date;
|
|
443
|
+
type dis = string;
|
|
444
|
+
type doslegsignet = string | null;
|
|
445
|
+
type fbuid = number | null;
|
|
446
|
+
type fusder = string;
|
|
447
|
+
type fusderid = number | null;
|
|
448
|
+
type fusderord = number;
|
|
449
|
+
type fusdertyp = string | null;
|
|
450
|
+
type id = number;
|
|
451
|
+
type inl = string | null;
|
|
452
|
+
type int = string;
|
|
453
|
+
type lecid = number;
|
|
454
|
+
type libcplnat = string | null;
|
|
455
|
+
type libdelim = string | null;
|
|
456
|
+
type loifin = string;
|
|
457
|
+
type loifinpar = number | null;
|
|
458
|
+
type natid = number;
|
|
459
|
+
type num = string;
|
|
460
|
+
type numabs = number | null;
|
|
461
|
+
type numado = number | null;
|
|
462
|
+
type ordsnddelib = string | null;
|
|
463
|
+
type proacc = string;
|
|
464
|
+
type pubdellim = Date | null;
|
|
465
|
+
type secdel = string;
|
|
466
|
+
type sesdepid = number;
|
|
467
|
+
type sesinsid = number | null;
|
|
468
|
+
type txtamd = string;
|
|
469
|
+
type txtetaid = number;
|
|
470
|
+
type txtexa = string | null;
|
|
471
|
+
type txttyp = string;
|
|
472
|
+
type urg = string;
|
|
473
|
+
}
|
|
474
|
+
export interface txt_ameli {
|
|
475
|
+
datado: txt_ameliFields.datado;
|
|
476
|
+
datdep: txt_ameliFields.datdep;
|
|
477
|
+
dis: txt_ameliFields.dis;
|
|
478
|
+
doslegsignet: txt_ameliFields.doslegsignet;
|
|
479
|
+
fbuid: txt_ameliFields.fbuid;
|
|
480
|
+
fusder: txt_ameliFields.fusder;
|
|
481
|
+
fusderid: txt_ameliFields.fusderid;
|
|
482
|
+
fusderord: txt_ameliFields.fusderord;
|
|
483
|
+
fusdertyp: txt_ameliFields.fusdertyp;
|
|
484
|
+
id: txt_ameliFields.id;
|
|
485
|
+
inl: txt_ameliFields.inl;
|
|
486
|
+
int: txt_ameliFields.int;
|
|
487
|
+
lecid: txt_ameliFields.lecid;
|
|
488
|
+
libcplnat: txt_ameliFields.libcplnat;
|
|
489
|
+
libdelim: txt_ameliFields.libdelim;
|
|
490
|
+
loifin: txt_ameliFields.loifin;
|
|
491
|
+
loifinpar: txt_ameliFields.loifinpar;
|
|
492
|
+
natid: txt_ameliFields.natid;
|
|
493
|
+
num: txt_ameliFields.num;
|
|
494
|
+
numabs: txt_ameliFields.numabs;
|
|
495
|
+
numado: txt_ameliFields.numado;
|
|
496
|
+
ordsnddelib: txt_ameliFields.ordsnddelib;
|
|
497
|
+
proacc: txt_ameliFields.proacc;
|
|
498
|
+
pubdellim: txt_ameliFields.pubdellim;
|
|
499
|
+
secdel: txt_ameliFields.secdel;
|
|
500
|
+
sesdepid: txt_ameliFields.sesdepid;
|
|
501
|
+
sesinsid: txt_ameliFields.sesinsid;
|
|
502
|
+
txtamd: txt_ameliFields.txtamd;
|
|
503
|
+
txtetaid: txt_ameliFields.txtetaid;
|
|
504
|
+
txtexa: txt_ameliFields.txtexa;
|
|
505
|
+
txttyp: txt_ameliFields.txttyp;
|
|
506
|
+
urg: txt_ameliFields.urg;
|
|
507
|
+
}
|
|
508
|
+
export declare namespace typrectFields {
|
|
509
|
+
type id = number;
|
|
510
|
+
type lib = string;
|
|
511
|
+
type ord = number;
|
|
512
|
+
}
|
|
513
|
+
export interface typrect {
|
|
514
|
+
id: typrectFields.id;
|
|
515
|
+
lib: typrectFields.lib;
|
|
516
|
+
ord: typrectFields.ord;
|
|
517
|
+
}
|
|
518
|
+
export declare namespace typsesFields {
|
|
519
|
+
type id = number;
|
|
520
|
+
type lib = string | null;
|
|
521
|
+
}
|
|
522
|
+
export interface typses {
|
|
523
|
+
id: typsesFields.id;
|
|
524
|
+
lib: typsesFields.lib;
|
|
525
|
+
}
|
|
526
|
+
export declare namespace typsubFields {
|
|
527
|
+
type id = number;
|
|
528
|
+
type lib = string;
|
|
529
|
+
}
|
|
530
|
+
export interface typsub {
|
|
531
|
+
id: typsubFields.id;
|
|
532
|
+
lib: typsubFields.lib;
|
|
533
|
+
}
|
|
534
|
+
export declare namespace w_nivrecFields {
|
|
535
|
+
type lib = string | null;
|
|
536
|
+
type num = number;
|
|
537
|
+
}
|
|
538
|
+
export interface w_nivrec {
|
|
539
|
+
lib: w_nivrecFields.lib;
|
|
540
|
+
num: w_nivrecFields.num;
|
|
541
|
+
}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AUTO-GENERATED FILE - DO NOT EDIT!
|
|
3
|
+
*
|
|
4
|
+
* This file was automatically generated by schemats v.1.1.2
|
|
5
|
+
* $ schemats generate -c postgres://username:password@localhost:5432/debats -t debats -t intdivers -t intpjl -t lecassdeb -t secdis -t secdivers -t syndeb -t typsec -s public
|
|
6
|
+
*
|
|
7
|
+
*/
|
|
8
|
+
export declare namespace debatsFields {
|
|
9
|
+
type autinc = string | null;
|
|
10
|
+
type cpterr = number;
|
|
11
|
+
type datsea = Date;
|
|
12
|
+
type debsyn = string | null;
|
|
13
|
+
type deburl = string | null;
|
|
14
|
+
type estcongres = string | null;
|
|
15
|
+
type etavidcod = string | null;
|
|
16
|
+
type libspec = string | null;
|
|
17
|
+
type numero = number | null;
|
|
18
|
+
}
|
|
19
|
+
export interface debats {
|
|
20
|
+
autinc: debatsFields.autinc;
|
|
21
|
+
cpterr: debatsFields.cpterr;
|
|
22
|
+
datsea: debatsFields.datsea;
|
|
23
|
+
debsyn: debatsFields.debsyn;
|
|
24
|
+
deburl: debatsFields.deburl;
|
|
25
|
+
estcongres: debatsFields.estcongres;
|
|
26
|
+
etavidcod: debatsFields.etavidcod;
|
|
27
|
+
libspec: debatsFields.libspec;
|
|
28
|
+
numero: debatsFields.numero;
|
|
29
|
+
}
|
|
30
|
+
export declare namespace intdiversFields {
|
|
31
|
+
type autcod = string;
|
|
32
|
+
type intana = string | null;
|
|
33
|
+
type intdiverscle = number;
|
|
34
|
+
type intdiversordid = number | null;
|
|
35
|
+
type intfon = string | null;
|
|
36
|
+
type inturl = string | null;
|
|
37
|
+
type secdiverscle = number;
|
|
38
|
+
}
|
|
39
|
+
export interface intdivers {
|
|
40
|
+
autcod: intdiversFields.autcod;
|
|
41
|
+
intana: intdiversFields.intana;
|
|
42
|
+
intdiverscle: intdiversFields.intdiverscle;
|
|
43
|
+
intdiversordid: intdiversFields.intdiversordid;
|
|
44
|
+
intfon: intdiversFields.intfon;
|
|
45
|
+
inturl: intdiversFields.inturl;
|
|
46
|
+
secdiverscle: intdiversFields.secdiverscle;
|
|
47
|
+
}
|
|
48
|
+
export declare namespace intpjlFields {
|
|
49
|
+
type autcod = string;
|
|
50
|
+
type intana = string | null;
|
|
51
|
+
type intfon = string | null;
|
|
52
|
+
type intordid = number | null;
|
|
53
|
+
type intpjlcle = number;
|
|
54
|
+
type inturl = string | null;
|
|
55
|
+
type secdiscle = number;
|
|
56
|
+
}
|
|
57
|
+
export interface intpjl {
|
|
58
|
+
autcod: intpjlFields.autcod;
|
|
59
|
+
intana: intpjlFields.intana;
|
|
60
|
+
intfon: intpjlFields.intfon;
|
|
61
|
+
intordid: intpjlFields.intordid;
|
|
62
|
+
intpjlcle: intpjlFields.intpjlcle;
|
|
63
|
+
inturl: intpjlFields.inturl;
|
|
64
|
+
secdiscle: intpjlFields.secdiscle;
|
|
65
|
+
}
|
|
66
|
+
export declare namespace lecassdebFields {
|
|
67
|
+
type datsea = Date;
|
|
68
|
+
type lecassidt = string;
|
|
69
|
+
}
|
|
70
|
+
export interface lecassdeb {
|
|
71
|
+
datsea: lecassdebFields.datsea;
|
|
72
|
+
lecassidt: lecassdebFields.lecassidt;
|
|
73
|
+
}
|
|
74
|
+
export declare namespace secdisFields {
|
|
75
|
+
type datsea = Date;
|
|
76
|
+
type lecassidt = string;
|
|
77
|
+
type secdiscle = number;
|
|
78
|
+
type secdisnum = string | null;
|
|
79
|
+
type secdisobj = string | null;
|
|
80
|
+
type secdisordid = number | null;
|
|
81
|
+
type secdispere = number | null;
|
|
82
|
+
type secdisurl = string | null;
|
|
83
|
+
type typseccod = string;
|
|
84
|
+
}
|
|
85
|
+
export interface secdis {
|
|
86
|
+
datsea: secdisFields.datsea;
|
|
87
|
+
lecassidt: secdisFields.lecassidt;
|
|
88
|
+
secdiscle: secdisFields.secdiscle;
|
|
89
|
+
secdisnum: secdisFields.secdisnum;
|
|
90
|
+
secdisobj: secdisFields.secdisobj;
|
|
91
|
+
secdisordid: secdisFields.secdisordid;
|
|
92
|
+
secdispere: secdisFields.secdispere;
|
|
93
|
+
secdisurl: secdisFields.secdisurl;
|
|
94
|
+
typseccod: secdisFields.typseccod;
|
|
95
|
+
}
|
|
96
|
+
export declare namespace secdiversFields {
|
|
97
|
+
type datsea = Date;
|
|
98
|
+
type secdiverscle = number;
|
|
99
|
+
type secdiverslibelle = string | null;
|
|
100
|
+
type secdiversobj = string | null;
|
|
101
|
+
type typseccod = string;
|
|
102
|
+
}
|
|
103
|
+
export interface secdivers {
|
|
104
|
+
datsea: secdiversFields.datsea;
|
|
105
|
+
secdiverscle: secdiversFields.secdiverscle;
|
|
106
|
+
secdiverslibelle: secdiversFields.secdiverslibelle;
|
|
107
|
+
secdiversobj: secdiversFields.secdiversobj;
|
|
108
|
+
typseccod: secdiversFields.typseccod;
|
|
109
|
+
}
|
|
110
|
+
export declare namespace syndebFields {
|
|
111
|
+
type debsyn = string;
|
|
112
|
+
type syndeblib = string;
|
|
113
|
+
}
|
|
114
|
+
export interface syndeb {
|
|
115
|
+
debsyn: syndebFields.debsyn;
|
|
116
|
+
syndeblib: syndebFields.syndeblib;
|
|
117
|
+
}
|
|
118
|
+
export declare namespace typsecFields {
|
|
119
|
+
type typseccat = string | null;
|
|
120
|
+
type typseccod = string;
|
|
121
|
+
type typseclib = string;
|
|
122
|
+
}
|
|
123
|
+
export interface typsec {
|
|
124
|
+
typseccat: typsecFields.typseccat;
|
|
125
|
+
typseccod: typsecFields.typseccod;
|
|
126
|
+
typseclib: typsecFields.typseclib;
|
|
127
|
+
}
|