@metarisc/metarisc-js 0.0.1-alpha.28 → 0.0.1-alpha.29

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.
@@ -7,4 +7,6 @@ export type AdressePostale = {
7
7
  'voie'?: string;
8
8
  'code_insee'?: string;
9
9
  'arrondissement'?: string;
10
+ 'latitude'?: number;
11
+ 'longitude'?: number;
10
12
  };
@@ -3,7 +3,9 @@ export type Contact = {
3
3
  'nom'?: string;
4
4
  'prenom'?: string;
5
5
  'fonction'?: string;
6
- 'telephone'?: string;
6
+ 'telephone_fixe'?: string;
7
+ 'telephone_portable'?: string;
8
+ 'telephone_fax'?: string;
7
9
  'adresse'?: string;
8
10
  'site_web_url'?: string;
9
11
  'civilite'?: string;
@@ -6,7 +6,13 @@ export type DescriptifTechniqueDECIBase = {
6
6
  'est_reglementaire'?: boolean;
7
7
  'domanialite'?: DomanialiteEnum;
8
8
  'est_conforme_rddeci'?: boolean;
9
+ /**
10
+ * - Performance nulle = 0 - Performance restreinte = 1 - Performance bonne = 2 - Performance inconnue = -1
11
+ */
9
12
  'performance_theorique'?: number;
13
+ /**
14
+ * - Performance nulle = 0 - Performance restreinte = 1 - Performance bonne = 2 - Performance inconnue = -1
15
+ */
10
16
  'performance_reelle'?: number;
11
17
  'observations_generales'?: string;
12
18
  'date'?: Date;
@@ -1,6 +1,5 @@
1
1
  import { DescriptifTechniqueDECIBase } from '../model/DescriptifTechniqueDECIBase';
2
2
  export type DescriptifTechniquePIBI = DescriptifTechniqueDECIBase & {
3
- 'numero_serie_appareil'?: string;
4
3
  /**
5
4
  * Surpression mesurée en bar
6
5
  */
@@ -11,26 +11,9 @@ export type PEI = {
11
11
  'genre'?: GenreEnum;
12
12
  'numero'?: string;
13
13
  'numero_compteur'?: string;
14
+ 'numero_serie_appareil'?: string;
14
15
  };
15
16
  export declare enum GenreEnum {
16
- Pi1x65 = "PI1x65",
17
- Pi1x65Pi2x45 = "PI1x65+PI2x45",
18
- Pi1x100 = "PI1x100",
19
- Pi2x100 = "PI2x100",
20
- Bi1x65 = "BI1x65",
21
- Bi1x80 = "BI1x80",
22
- Bi1x100 = "BI1x100",
23
- Bi2x100 = "BI2x100",
24
- PointAspiration = "POINT_ASPIRATION",
25
- CiterneAerienne = "CITERNE_AERIENNE",
26
- CiterneEnterree = "CITERNE_ENTERREE",
27
- CiterneSemiEnterree = "CITERNE_SEMI_ENTERREE",
28
- CiterneSouple = "CITERNE_SOUPLE",
29
- ReserveAerienne = "RESERVE_AERIENNE",
30
- PoteauRelais = "POTEAU_RELAIS",
31
- PuisardAspiration = "PUISARD_ASPIRATION",
32
- PriseDeportee = "PRISE_DEPORTEE",
33
- PoteauAspiration1x100 = "POTEAU_ASPIRATION_1x100",
34
- PoteauAspiration2x100 = "POTEAU_ASPIRATION_2x100",
35
- BoucheAspiration1x100 = "BOUCHE_ASPIRATION_1x100"
17
+ Pibi = "PIBI",
18
+ Pena = "PENA"
36
19
  }
package/lib/model/PEI.js CHANGED
@@ -3,24 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GenreEnum = void 0;
4
4
  var GenreEnum;
5
5
  (function (GenreEnum) {
6
- GenreEnum["Pi1x65"] = "PI1x65";
7
- GenreEnum["Pi1x65Pi2x45"] = "PI1x65+PI2x45";
8
- GenreEnum["Pi1x100"] = "PI1x100";
9
- GenreEnum["Pi2x100"] = "PI2x100";
10
- GenreEnum["Bi1x65"] = "BI1x65";
11
- GenreEnum["Bi1x80"] = "BI1x80";
12
- GenreEnum["Bi1x100"] = "BI1x100";
13
- GenreEnum["Bi2x100"] = "BI2x100";
14
- GenreEnum["PointAspiration"] = "POINT_ASPIRATION";
15
- GenreEnum["CiterneAerienne"] = "CITERNE_AERIENNE";
16
- GenreEnum["CiterneEnterree"] = "CITERNE_ENTERREE";
17
- GenreEnum["CiterneSemiEnterree"] = "CITERNE_SEMI_ENTERREE";
18
- GenreEnum["CiterneSouple"] = "CITERNE_SOUPLE";
19
- GenreEnum["ReserveAerienne"] = "RESERVE_AERIENNE";
20
- GenreEnum["PoteauRelais"] = "POTEAU_RELAIS";
21
- GenreEnum["PuisardAspiration"] = "PUISARD_ASPIRATION";
22
- GenreEnum["PriseDeportee"] = "PRISE_DEPORTEE";
23
- GenreEnum["PoteauAspiration1x100"] = "POTEAU_ASPIRATION_1x100";
24
- GenreEnum["PoteauAspiration2x100"] = "POTEAU_ASPIRATION_2x100";
25
- GenreEnum["BoucheAspiration1x100"] = "BOUCHE_ASPIRATION_1x100";
6
+ GenreEnum["Pibi"] = "PIBI";
7
+ GenreEnum["Pena"] = "PENA";
26
8
  })(GenreEnum = exports.GenreEnum || (exports.GenreEnum = {}));
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@metarisc/metarisc-js",
3
3
  "main": "lib/index.js",
4
4
  "types": "lib/index.d.ts",
5
- "version": "0.0.1-alpha.28",
5
+ "version": "0.0.1-alpha.29",
6
6
  "scripts": {
7
7
  "lint": "eslint . --ext .ts --fix",
8
8
  "compile": "tsc",
@@ -7,4 +7,6 @@ export type AdressePostale = {
7
7
  'voie'?: string;
8
8
  'code_insee'?: string;
9
9
  'arrondissement'?: string;
10
+ 'latitude'?: number;
11
+ 'longitude'?: number;
10
12
  };
@@ -3,7 +3,9 @@ export type Contact = {
3
3
  'nom'?: string;
4
4
  'prenom'?: string;
5
5
  'fonction'?: string;
6
- 'telephone'?: string;
6
+ 'telephone_fixe'?: string;
7
+ 'telephone_portable'?: string;
8
+ 'telephone_fax'?: string;
7
9
  'adresse'?: string;
8
10
  'site_web_url'?: string;
9
11
  'civilite'?: string;
@@ -7,7 +7,13 @@ export type DescriptifTechniqueDECIBase = {
7
7
  'est_reglementaire'?: boolean;
8
8
  'domanialite'?: DomanialiteEnum;
9
9
  'est_conforme_rddeci'?: boolean;
10
+ /**
11
+ * - Performance nulle = 0 - Performance restreinte = 1 - Performance bonne = 2 - Performance inconnue = -1
12
+ */
10
13
  'performance_theorique'?: number;
14
+ /**
15
+ * - Performance nulle = 0 - Performance restreinte = 1 - Performance bonne = 2 - Performance inconnue = -1
16
+ */
11
17
  'performance_reelle'?: number;
12
18
  'observations_generales'?: string;
13
19
  'date'?: Date;
@@ -1,7 +1,6 @@
1
1
  import { DescriptifTechniqueDECIBase } from '../model/DescriptifTechniqueDECIBase';
2
2
 
3
3
  export type DescriptifTechniquePIBI = DescriptifTechniqueDECIBase & {
4
- 'numero_serie_appareil'?: string;
5
4
  /**
6
5
  * Surpression mesurée en bar
7
6
  */
package/src/model/PEI.ts CHANGED
@@ -12,27 +12,10 @@ export type PEI = {
12
12
  'genre'?: GenreEnum;
13
13
  'numero'?: string;
14
14
  'numero_compteur'?: string;
15
+ 'numero_serie_appareil'?: string;
15
16
  };
16
17
 
17
18
  export enum GenreEnum {
18
- Pi1x65 = 'PI1x65',
19
- Pi1x65Pi2x45 = 'PI1x65+PI2x45',
20
- Pi1x100 = 'PI1x100',
21
- Pi2x100 = 'PI2x100',
22
- Bi1x65 = 'BI1x65',
23
- Bi1x80 = 'BI1x80',
24
- Bi1x100 = 'BI1x100',
25
- Bi2x100 = 'BI2x100',
26
- PointAspiration = 'POINT_ASPIRATION',
27
- CiterneAerienne = 'CITERNE_AERIENNE',
28
- CiterneEnterree = 'CITERNE_ENTERREE',
29
- CiterneSemiEnterree = 'CITERNE_SEMI_ENTERREE',
30
- CiterneSouple = 'CITERNE_SOUPLE',
31
- ReserveAerienne = 'RESERVE_AERIENNE',
32
- PoteauRelais = 'POTEAU_RELAIS',
33
- PuisardAspiration = 'PUISARD_ASPIRATION',
34
- PriseDeportee = 'PRISE_DEPORTEE',
35
- PoteauAspiration1x100 = 'POTEAU_ASPIRATION_1x100',
36
- PoteauAspiration2x100 = 'POTEAU_ASPIRATION_2x100',
37
- BoucheAspiration1x100 = 'BOUCHE_ASPIRATION_1x100'
19
+ Pibi = 'PIBI',
20
+ Pena = 'PENA'
38
21
  }