@tricoteuses/senat 0.2.3 → 0.3.2

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.
Files changed (43) hide show
  1. package/LICENSE.md +2 -2
  2. package/README.md +0 -169
  3. package/lib/index.d.ts +1 -0
  4. package/lib/index.js +111 -35
  5. package/lib/index.mjs +1 -0
  6. package/lib/inserters.js +97 -167
  7. package/lib/inserters.mjs +360 -0
  8. package/lib/raw_types/ameli.js +4 -2
  9. package/lib/raw_types/ameli.mjs +2 -0
  10. package/lib/raw_types/debats.js +4 -2
  11. package/lib/raw_types/debats.mjs +2 -0
  12. package/lib/raw_types/dosleg.js +3 -1
  13. package/lib/raw_types/dosleg.mjs +2 -0
  14. package/lib/raw_types/questions.js +1 -1
  15. package/{src/raw_types/questions.ts → lib/raw_types/questions.mjs} +1 -3
  16. package/lib/raw_types/sens.js +4 -2
  17. package/lib/raw_types/sens.mjs +2 -0
  18. package/lib/types/ameli.js +5 -1
  19. package/lib/types/ameli.mjs +1 -0
  20. package/lib/types/debats.js +3 -1
  21. package/lib/types/debats.mjs +1 -0
  22. package/lib/types/dosleg.js +3 -1
  23. package/lib/types/dosleg.mjs +1 -0
  24. package/lib/types/questions.js +1 -1
  25. package/lib/types/questions.mjs +1 -0
  26. package/lib/types/sens.js +3 -1
  27. package/lib/types/sens.mjs +1 -0
  28. package/package.json +26 -33
  29. package/.eslintrc.js +0 -24
  30. package/babel.config.js +0 -39
  31. package/prettier.config.js +0 -4
  32. package/src/index.ts +0 -30
  33. package/src/inserters.ts +0 -520
  34. package/src/raw_types/ameli.ts +0 -655
  35. package/src/raw_types/debats.ts +0 -161
  36. package/src/raw_types/dosleg.ts +0 -2351
  37. package/src/raw_types/sens.ts +0 -3101
  38. package/src/types/ameli.ts +0 -7
  39. package/src/types/debats.ts +0 -3
  40. package/src/types/dosleg.ts +0 -132
  41. package/src/types/questions.ts +0 -0
  42. package/src/types/sens.ts +0 -12
  43. package/tsconfig.json +0 -67
@@ -1,655 +0,0 @@
1
- /* tslint:disable */
2
-
3
-
4
- /**
5
- * AUTO-GENERATED FILE - DO NOT EDIT!
6
- *
7
- * This file was automatically generated by schemats v.3.0.3
8
- * $ schemats generate -c postgresql://username:password@localhost:5432/ameli -t sai -t w_nivrec -t nat -t orarol -t grppol_ameli -t etatxt -t irr -t intora -t avicom -t txt_ameli -t gvt -t ses -t ent -t cab -t saisen -t amdsen -t sub -t typsub -t typrect -t fbu -t sor -t sea -t typses -t avigvt -t com_ameli -t amd -t lec_ameli -t mot -t sen_ameli -s public
9
- *
10
- */
11
-
12
-
13
- export namespace saiFields {
14
- export type id = number;
15
- export type txtid = number;
16
- export type comid = number;
17
- export type sesid = number;
18
- export type numrap = number | null;
19
- export type saityp = string;
20
- export type isdelegfond = string;
21
-
22
- }
23
-
24
- export interface sai {
25
- id: saiFields.id;
26
- txtid: saiFields.txtid;
27
- comid: saiFields.comid;
28
- sesid: saiFields.sesid;
29
- numrap: saiFields.numrap;
30
- saityp: saiFields.saityp;
31
- isdelegfond: saiFields.isdelegfond;
32
-
33
- }
34
-
35
- export namespace w_nivrecFields {
36
- export type num = number;
37
- export type lib = string | null;
38
-
39
- }
40
-
41
- export interface w_nivrec {
42
- num: w_nivrecFields.num;
43
- lib: w_nivrecFields.lib;
44
-
45
- }
46
-
47
- export namespace natFields {
48
- export type id = number;
49
- export type lib = string;
50
-
51
- }
52
-
53
- export interface nat {
54
- id: natFields.id;
55
- lib: natFields.lib;
56
-
57
- }
58
-
59
- export namespace orarolFields {
60
- export type cod = string;
61
- export type lib = string | null;
62
- export type entreq = string;
63
-
64
- }
65
-
66
- export interface orarol {
67
- cod: orarolFields.cod;
68
- lib: orarolFields.lib;
69
- entreq: orarolFields.entreq;
70
-
71
- }
72
-
73
- export namespace grppol_ameliFields {
74
- export type entid = number;
75
- export type cod = string;
76
- export type libcou = string;
77
- export type lilcou = string;
78
- export type codint = string;
79
- export type tri = number | null;
80
-
81
- }
82
-
83
- export interface grppol_ameli {
84
- entid: grppol_ameliFields.entid;
85
- cod: grppol_ameliFields.cod;
86
- libcou: grppol_ameliFields.libcou;
87
- lilcou: grppol_ameliFields.lilcou;
88
- codint: grppol_ameliFields.codint;
89
- tri: grppol_ameliFields.tri;
90
-
91
- }
92
-
93
- export namespace etatxtFields {
94
- export type id = number;
95
- export type lic = string;
96
- export type lib = string;
97
- export type txttyp = string;
98
-
99
- }
100
-
101
- export interface etatxt {
102
- id: etatxtFields.id;
103
- lic: etatxtFields.lic;
104
- lib: etatxtFields.lib;
105
- txttyp: etatxtFields.txttyp;
106
-
107
- }
108
-
109
- export namespace irrFields {
110
- export type id = number;
111
- export type lib = string;
112
- export type cod = string;
113
- export type libirr = string | null;
114
- export type art = string | null;
115
- export type lilmin = string | null;
116
- export type par = string | null;
117
-
118
- }
119
-
120
- export interface irr {
121
- id: irrFields.id;
122
- lib: irrFields.lib;
123
- cod: irrFields.cod;
124
- libirr: irrFields.libirr;
125
- art: irrFields.art;
126
- lilmin: irrFields.lilmin;
127
- par: irrFields.par;
128
-
129
- }
130
-
131
- export namespace intoraFields {
132
- export type id = number;
133
- export type subid = number | null;
134
- export type entid = number;
135
- export type entid2 = number | null;
136
- export type txtid = number;
137
- export type seaid = number | null;
138
- export type mom = string;
139
- export type ord = number;
140
- export type rolcod = string;
141
- export type temps = number;
142
-
143
- }
144
-
145
- export interface intora {
146
- id: intoraFields.id;
147
- subid: intoraFields.subid;
148
- entid: intoraFields.entid;
149
- entid2: intoraFields.entid2;
150
- txtid: intoraFields.txtid;
151
- seaid: intoraFields.seaid;
152
- mom: intoraFields.mom;
153
- ord: intoraFields.ord;
154
- rolcod: intoraFields.rolcod;
155
- temps: intoraFields.temps;
156
-
157
- }
158
-
159
- export namespace avicomFields {
160
- export type id = string;
161
- export type lib = string;
162
- export type cod = string;
163
-
164
- }
165
-
166
- export interface avicom {
167
- id: avicomFields.id;
168
- lib: avicomFields.lib;
169
- cod: avicomFields.cod;
170
-
171
- }
172
-
173
- export namespace txt_ameliFields {
174
- export type id = number;
175
- export type natid = number;
176
- export type lecid = number;
177
- export type sesinsid = number | null;
178
- export type sesdepid = number;
179
- export type fbuid = number | null;
180
- export type num = string;
181
- export type int = string;
182
- export type inl = string | null;
183
- export type datdep = Date;
184
- export type urg = string;
185
- export type dis = string;
186
- export type secdel = string;
187
- export type loifin = string;
188
- export type loifinpar = number | null;
189
- export type txtamd = string;
190
- export type datado = Date | null;
191
- export type numado = number | null;
192
- export type txtexa = string | null;
193
- export type pubdellim = Date | null;
194
- export type numabs = number | null;
195
- export type libdelim = string | null;
196
- export type libcplnat = string | null;
197
- export type doslegsignet = string | null;
198
- export type proacc = string;
199
- export type txttyp = string;
200
- export type ordsnddelib = string | null;
201
- export type txtetaid = number;
202
- export type fusderid = number | null;
203
- export type fusder = string;
204
- export type fusderord = number;
205
- export type fusdertyp = string | null;
206
-
207
- }
208
-
209
- export interface txt_ameli {
210
- id: txt_ameliFields.id;
211
- natid: txt_ameliFields.natid;
212
- lecid: txt_ameliFields.lecid;
213
- sesinsid: txt_ameliFields.sesinsid;
214
- sesdepid: txt_ameliFields.sesdepid;
215
- fbuid: txt_ameliFields.fbuid;
216
- num: txt_ameliFields.num;
217
- int: txt_ameliFields.int;
218
- inl: txt_ameliFields.inl;
219
- datdep: txt_ameliFields.datdep;
220
- urg: txt_ameliFields.urg;
221
- dis: txt_ameliFields.dis;
222
- secdel: txt_ameliFields.secdel;
223
- loifin: txt_ameliFields.loifin;
224
- loifinpar: txt_ameliFields.loifinpar;
225
- txtamd: txt_ameliFields.txtamd;
226
- datado: txt_ameliFields.datado;
227
- numado: txt_ameliFields.numado;
228
- txtexa: txt_ameliFields.txtexa;
229
- pubdellim: txt_ameliFields.pubdellim;
230
- numabs: txt_ameliFields.numabs;
231
- libdelim: txt_ameliFields.libdelim;
232
- libcplnat: txt_ameliFields.libcplnat;
233
- doslegsignet: txt_ameliFields.doslegsignet;
234
- proacc: txt_ameliFields.proacc;
235
- txttyp: txt_ameliFields.txttyp;
236
- ordsnddelib: txt_ameliFields.ordsnddelib;
237
- txtetaid: txt_ameliFields.txtetaid;
238
- fusderid: txt_ameliFields.fusderid;
239
- fusder: txt_ameliFields.fusder;
240
- fusderord: txt_ameliFields.fusderord;
241
- fusdertyp: txt_ameliFields.fusdertyp;
242
-
243
- }
244
-
245
- export namespace gvtFields {
246
- export type entid = number;
247
- export type nom = string;
248
- export type pre = string;
249
- export type qua = string;
250
- export type tit = string;
251
-
252
- }
253
-
254
- export interface gvt {
255
- entid: gvtFields.entid;
256
- nom: gvtFields.nom;
257
- pre: gvtFields.pre;
258
- qua: gvtFields.qua;
259
- tit: gvtFields.tit;
260
-
261
- }
262
-
263
- export namespace sesFields {
264
- export type id = number;
265
- export type typid = number;
266
- export type ann = number;
267
- export type lil = string;
268
-
269
- }
270
-
271
- export interface ses {
272
- id: sesFields.id;
273
- typid: sesFields.typid;
274
- ann: sesFields.ann;
275
- lil: sesFields.lil;
276
-
277
- }
278
-
279
- export namespace entFields {
280
- export type id = number;
281
- export type typ = string;
282
- export type act = string | null;
283
-
284
- }
285
-
286
- export interface ent {
287
- id: entFields.id;
288
- typ: entFields.typ;
289
- act: entFields.act;
290
-
291
- }
292
-
293
- export namespace cabFields {
294
- export type entid = number;
295
- export type codint = string;
296
- export type lil = string | null;
297
-
298
- }
299
-
300
- export interface cab {
301
- entid: cabFields.entid;
302
- codint: cabFields.codint;
303
- lil: cabFields.lil;
304
-
305
- }
306
-
307
- export namespace saisenFields {
308
- export type id = number;
309
- export type senid = number;
310
- export type ord = number;
311
-
312
- }
313
-
314
- export interface saisen {
315
- id: saisenFields.id;
316
- senid: saisenFields.senid;
317
- ord: saisenFields.ord;
318
-
319
- }
320
-
321
- export namespace amdsenFields {
322
- export type amdid = number;
323
- export type senid = number;
324
- export type rng = number | null;
325
- export type qua = string | null;
326
- export type nomuse = string | null;
327
- export type prenomuse = string | null;
328
- export type hom = string | null;
329
- export type grpid = number | null;
330
-
331
- }
332
-
333
- export interface amdsen {
334
- amdid: amdsenFields.amdid;
335
- senid: amdsenFields.senid;
336
- rng: amdsenFields.rng;
337
- qua: amdsenFields.qua;
338
- nomuse: amdsenFields.nomuse;
339
- prenomuse: amdsenFields.prenomuse;
340
- hom: amdsenFields.hom;
341
- grpid: amdsenFields.grpid;
342
-
343
- }
344
-
345
- export namespace subFields {
346
- export type id = number;
347
- export type txtid = number;
348
- export type merid = number | null;
349
- export type typid = number | null;
350
- export type lic = string | null;
351
- export type lib = string | null;
352
- export type pos = number | null;
353
- export type sig = string | null;
354
- export type posder = number | null;
355
- export type prires = number | null;
356
- export type dupl = string;
357
- export type subamd = string;
358
- export type sorid = string | null;
359
- export type txtidder = number | null;
360
- export type style = string;
361
- export type islec = string;
362
- export type comdelid = number | null;
363
-
364
- }
365
-
366
- export interface sub {
367
- id: subFields.id;
368
- txtid: subFields.txtid;
369
- merid: subFields.merid;
370
- typid: subFields.typid;
371
- lic: subFields.lic;
372
- lib: subFields.lib;
373
- pos: subFields.pos;
374
- sig: subFields.sig;
375
- posder: subFields.posder;
376
- prires: subFields.prires;
377
- dupl: subFields.dupl;
378
- subamd: subFields.subamd;
379
- sorid: subFields.sorid;
380
- txtidder: subFields.txtidder;
381
- style: subFields.style;
382
- islec: subFields.islec;
383
- comdelid: subFields.comdelid;
384
-
385
- }
386
-
387
- export namespace typsubFields {
388
- export type id = number;
389
- export type lib = string;
390
-
391
- }
392
-
393
- export interface typsub {
394
- id: typsubFields.id;
395
- lib: typsubFields.lib;
396
-
397
- }
398
-
399
- export namespace typrectFields {
400
- export type id = number;
401
- export type lib = string;
402
- export type ord = number;
403
-
404
- }
405
-
406
- export interface typrect {
407
- id: typrectFields.id;
408
- lib: typrectFields.lib;
409
- ord: typrectFields.ord;
410
-
411
- }
412
-
413
- export namespace fbuFields {
414
- export type id = number;
415
- export type lib = string;
416
- export type lic = string;
417
- export type sesid = number;
418
-
419
- }
420
-
421
- export interface fbu {
422
- id: fbuFields.id;
423
- lib: fbuFields.lib;
424
- lic: fbuFields.lic;
425
- sesid: fbuFields.sesid;
426
-
427
- }
428
-
429
- export namespace sorFields {
430
- export type id = string;
431
- export type lib = string;
432
- export type cod = string;
433
- export type typ = string;
434
-
435
- }
436
-
437
- export interface sor {
438
- id: sorFields.id;
439
- lib: sorFields.lib;
440
- cod: sorFields.cod;
441
- typ: sorFields.typ;
442
-
443
- }
444
-
445
- export namespace seaFields {
446
- export type id = number;
447
- export type sesid = number;
448
- export type dat = Date | null;
449
- export type num = number | null;
450
-
451
- }
452
-
453
- export interface sea {
454
- id: seaFields.id;
455
- sesid: seaFields.sesid;
456
- dat: seaFields.dat;
457
- num: seaFields.num;
458
-
459
- }
460
-
461
- export namespace typsesFields {
462
- export type id = number;
463
- export type lib = string | null;
464
-
465
- }
466
-
467
- export interface typses {
468
- id: typsesFields.id;
469
- lib: typsesFields.lib;
470
-
471
- }
472
-
473
- export namespace avigvtFields {
474
- export type id = string;
475
- export type lib = string;
476
- export type cod = string;
477
-
478
- }
479
-
480
- export interface avigvt {
481
- id: avigvtFields.id;
482
- lib: avigvtFields.lib;
483
- cod: avigvtFields.cod;
484
-
485
- }
486
-
487
- export namespace com_ameliFields {
488
- export type entid = number;
489
- export type cod = string;
490
- export type lib = string;
491
- export type lil = string;
492
- export type spc = string;
493
- export type codint = string;
494
- export type tri = number | null;
495
-
496
- }
497
-
498
- export interface com_ameli {
499
- entid: com_ameliFields.entid;
500
- cod: com_ameliFields.cod;
501
- lib: com_ameliFields.lib;
502
- lil: com_ameliFields.lil;
503
- spc: com_ameliFields.spc;
504
- codint: com_ameliFields.codint;
505
- tri: com_ameliFields.tri;
506
-
507
- }
508
-
509
- export namespace amdFields {
510
- export type id = number;
511
- export type subid = number | null;
512
- export type amdperid = number | null;
513
- export type motid = number | null;
514
- export type etaid = number;
515
- export type nomentid = number;
516
- export type sorid = string | null;
517
- export type avcid = string | null;
518
- export type avgid = string | null;
519
- export type irrid = number | null;
520
- export type txtid = number;
521
- export type opmid = number | null;
522
- export type ocmid = number | null;
523
- export type ideid = number | null;
524
- export type discomid = number | null;
525
- export type num = string | null;
526
- export type rev = number;
527
- export type typ = string;
528
- export type dis = string | null;
529
- export type obj = string | null;
530
- export type datdep = Date | null;
531
- export type obs = string | null;
532
- export type ord = number | null;
533
- export type autext = string;
534
- export type subpos = number | null;
535
- export type mot = string | null;
536
- export type numabs = number | null;
537
- export type subidder = number | null;
538
- export type libgrp = string | null;
539
- export type alinea = number | null;
540
- export type accgou = string | null;
541
- export type colleg = string;
542
- export type typrectid = number | null;
543
- export type islu = string | null;
544
- export type motposexa = string;
545
-
546
- }
547
-
548
- export interface amd {
549
- id: amdFields.id;
550
- subid: amdFields.subid;
551
- amdperid: amdFields.amdperid;
552
- motid: amdFields.motid;
553
- etaid: amdFields.etaid;
554
- nomentid: amdFields.nomentid;
555
- sorid: amdFields.sorid;
556
- avcid: amdFields.avcid;
557
- avgid: amdFields.avgid;
558
- irrid: amdFields.irrid;
559
- txtid: amdFields.txtid;
560
- opmid: amdFields.opmid;
561
- ocmid: amdFields.ocmid;
562
- ideid: amdFields.ideid;
563
- discomid: amdFields.discomid;
564
- num: amdFields.num;
565
- rev: amdFields.rev;
566
- typ: amdFields.typ;
567
- dis: amdFields.dis;
568
- obj: amdFields.obj;
569
- datdep: amdFields.datdep;
570
- obs: amdFields.obs;
571
- ord: amdFields.ord;
572
- autext: amdFields.autext;
573
- subpos: amdFields.subpos;
574
- mot: amdFields.mot;
575
- numabs: amdFields.numabs;
576
- subidder: amdFields.subidder;
577
- libgrp: amdFields.libgrp;
578
- alinea: amdFields.alinea;
579
- accgou: amdFields.accgou;
580
- colleg: amdFields.colleg;
581
- typrectid: amdFields.typrectid;
582
- islu: amdFields.islu;
583
- motposexa: amdFields.motposexa;
584
-
585
- }
586
-
587
- export namespace lec_ameliFields {
588
- export type id = number;
589
- export type lib = string;
590
- export type lecpreid = number | null;
591
-
592
- }
593
-
594
- export interface lec_ameli {
595
- id: lec_ameliFields.id;
596
- lib: lec_ameliFields.lib;
597
- lecpreid: lec_ameliFields.lecpreid;
598
-
599
- }
600
-
601
- export namespace motFields {
602
- export type id = number;
603
- export type lib = string;
604
- export type int = string | null;
605
- export type cod = string | null;
606
- export type ord = number;
607
- export type libnbe = string | null;
608
-
609
- }
610
-
611
- export interface mot {
612
- id: motFields.id;
613
- lib: motFields.lib;
614
- int: motFields.int;
615
- cod: motFields.cod;
616
- ord: motFields.ord;
617
- libnbe: motFields.libnbe;
618
-
619
- }
620
-
621
- export namespace sen_ameliFields {
622
- export type entid = number;
623
- export type grpid = number;
624
- export type comid = number | null;
625
- export type comspcid = number | null;
626
- export type mat = string;
627
- export type qua = string;
628
- export type nomuse = string;
629
- export type prenomuse = string;
630
- export type nomtec = string | null;
631
- export type hom = string | null;
632
- export type app = string | null;
633
- export type ratt = string | null;
634
- export type nomusemin = string;
635
- export type senfem = string | null;
636
-
637
- }
638
-
639
- export interface sen_ameli {
640
- entid: sen_ameliFields.entid;
641
- grpid: sen_ameliFields.grpid;
642
- comid: sen_ameliFields.comid;
643
- comspcid: sen_ameliFields.comspcid;
644
- mat: sen_ameliFields.mat;
645
- qua: sen_ameliFields.qua;
646
- nomuse: sen_ameliFields.nomuse;
647
- prenomuse: sen_ameliFields.prenomuse;
648
- nomtec: sen_ameliFields.nomtec;
649
- hom: sen_ameliFields.hom;
650
- app: sen_ameliFields.app;
651
- ratt: sen_ameliFields.ratt;
652
- nomusemin: sen_ameliFields.nomusemin;
653
- senfem: sen_ameliFields.senfem;
654
-
655
- }