New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

hubeau-api

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hubeau-api - npm Package Compare versions

Comparing version 0.0.17 to 0.1.0

dist/cjs/commandes/hydrobio.d.ts

13

dist/cjs/commandes/etatPiscicole.d.ts

@@ -0,10 +1,11 @@

import { HubeauResponse } from '../types/communs';
import { CodeEspecePoissonParams, LieuxPecheParams, PoissonsParams } from '../types/etatPiscicole';
declare const etatPiscicole: {
codeEspecePoisson: (params?: CodeEspecePoissonParams | undefined) => Promise<string>;
codeEspecePoissonCsv: (params?: CodeEspecePoissonParams | undefined) => Promise<string>;
lieuxPeche: (params?: LieuxPecheParams | undefined) => Promise<string>;
lieuxPecheCsv: (params?: LieuxPecheParams | undefined) => Promise<string>;
poissons: (params?: PoissonsParams | undefined) => Promise<string>;
poissonsCsv: (params?: PoissonsParams | undefined) => Promise<string>;
codeEspecePoisson: (params?: CodeEspecePoissonParams | undefined) => Promise<HubeauResponse>;
codeEspecePoissonCsv: (params?: CodeEspecePoissonParams | undefined) => Promise<HubeauResponse>;
lieuxPeche: (params?: LieuxPecheParams | undefined) => Promise<HubeauResponse>;
lieuxPecheCsv: (params?: LieuxPecheParams | undefined) => Promise<HubeauResponse>;
poissons: (params?: PoissonsParams | undefined) => Promise<HubeauResponse>;
poissonsCsv: (params?: PoissonsParams | undefined) => Promise<HubeauResponse>;
};
export default etatPiscicole;

@@ -0,15 +1,16 @@

import { HubeauResponse } from '../types/communs';
import { ObsElabParams, ObservationsTrParams, ReferentielSitesParams, ReferentielStationsParams } from '../types/hydrometrie';
declare const hydrometrie: {
obsElab: (params?: ObsElabParams | undefined) => Promise<string>;
obsElabCsv: (params?: ObsElabParams | undefined) => Promise<string>;
observationsTr: (params?: ObservationsTrParams | undefined) => Promise<string>;
observationsTrCsv: (params?: ObservationsTrParams | undefined) => Promise<string>;
observationsTrXml: (params?: ObservationsTrParams | undefined) => Promise<string>;
referentielSites: (params?: ReferentielSitesParams | undefined) => Promise<string>;
referentielSitesCsv: (params?: ReferentielSitesParams | undefined) => Promise<string>;
referentielSitesXml: (params?: ReferentielSitesParams | undefined) => Promise<string>;
referentielStations: (params?: ReferentielStationsParams | undefined) => Promise<string>;
referentielStationsCsv: (params?: ReferentielStationsParams | undefined) => Promise<string>;
referentielStationsXml: (params?: ReferentielStationsParams | undefined) => Promise<string>;
obsElab: (params?: ObsElabParams | undefined) => Promise<HubeauResponse>;
obsElabCsv: (params?: ObsElabParams | undefined) => Promise<HubeauResponse>;
observationsTr: (params?: ObservationsTrParams | undefined) => Promise<HubeauResponse>;
observationsTrCsv: (params?: ObservationsTrParams | undefined) => Promise<HubeauResponse>;
observationsTrXml: (params?: ObservationsTrParams | undefined) => Promise<HubeauResponse>;
referentielSites: (params?: ReferentielSitesParams | undefined) => Promise<HubeauResponse>;
referentielSitesCsv: (params?: ReferentielSitesParams | undefined) => Promise<HubeauResponse>;
referentielSitesXml: (params?: ReferentielSitesParams | undefined) => Promise<HubeauResponse>;
referentielStations: (params?: ReferentielStationsParams | undefined) => Promise<HubeauResponse>;
referentielStationsCsv: (params?: ReferentielStationsParams | undefined) => Promise<HubeauResponse>;
referentielStationsXml: (params?: ReferentielStationsParams | undefined) => Promise<HubeauResponse>;
};
export default hydrometrie;

@@ -0,10 +1,11 @@

import { HubeauResponse } from '../types/communs';
import { CommunesParams, IndicateursParams, ServicesParams } from '../types/indicateursServices';
declare const indicateursServices: {
communes: (params?: CommunesParams | undefined) => Promise<string>;
communesCsv: (params?: CommunesParams | undefined) => Promise<string>;
indicateurs: (params?: IndicateursParams | undefined) => Promise<string>;
indicateursCsv: (params?: IndicateursParams | undefined) => Promise<string>;
services: (params?: ServicesParams | undefined) => Promise<string>;
servicesCsv: (params?: ServicesParams | undefined) => Promise<string>;
communes: (params?: CommunesParams | undefined) => Promise<HubeauResponse>;
communesCsv: (params?: CommunesParams | undefined) => Promise<HubeauResponse>;
indicateurs: (params?: IndicateursParams | undefined) => Promise<HubeauResponse>;
indicateursCsv: (params?: IndicateursParams | undefined) => Promise<HubeauResponse>;
services: (params?: ServicesParams | undefined) => Promise<HubeauResponse>;
servicesCsv: (params?: ServicesParams | undefined) => Promise<HubeauResponse>;
};
export default indicateursServices;

@@ -0,10 +1,11 @@

import { HubeauResponse } from '../types/communs';
import { ChroniquesParams, ChroniquesTrParams, StationsParams } from '../types/piezometrie';
declare const piezometrie: {
chroniques: (params?: ChroniquesParams | undefined) => Promise<string>;
chroniquesCsv: (params?: ChroniquesParams | undefined) => Promise<string>;
chroniquesTr: (params?: ChroniquesTrParams | undefined) => Promise<string>;
chroniquesTrCsv: (params?: ChroniquesTrParams | undefined) => Promise<string>;
stations: (params?: StationsParams | undefined) => Promise<string>;
stationsCsv: (params?: StationsParams | undefined) => Promise<string>;
chroniques: (params?: ChroniquesParams | undefined) => Promise<HubeauResponse>;
chroniquesCsv: (params?: ChroniquesParams | undefined) => Promise<HubeauResponse>;
chroniquesTr: (params?: ChroniquesTrParams | undefined) => Promise<HubeauResponse>;
chroniquesTrCsv: (params?: ChroniquesTrParams | undefined) => Promise<HubeauResponse>;
stations: (params?: StationsParams | undefined) => Promise<HubeauResponse>;
stationsCsv: (params?: StationsParams | undefined) => Promise<HubeauResponse>;
};
export default piezometrie;

@@ -0,8 +1,9 @@

import { HubeauResponse } from '../types/communs';
import { AnalysesParams, StationsParams } from '../types/qualiteNappes';
declare const qualiteNappes: {
analyses: (params?: AnalysesParams | undefined) => Promise<string>;
analysesCsv: (params?: AnalysesParams | undefined) => Promise<string>;
stations: (params?: StationsParams | undefined) => Promise<string>;
stationsCsv: (params?: StationsParams | undefined) => Promise<string>;
analyses: (params?: AnalysesParams | undefined) => Promise<HubeauResponse>;
analysesCsv: (params?: AnalysesParams | undefined) => Promise<HubeauResponse>;
stations: (params?: StationsParams | undefined) => Promise<HubeauResponse>;
stationsCsv: (params?: StationsParams | undefined) => Promise<HubeauResponse>;
};
export default qualiteNappes;

@@ -0,12 +1,13 @@

import { HubeauResponse } from '../types/communs';
import { AnalysePcParams, StationPcParams, OperationPcParams, ConditionEnvironnementaleParams } from '../types/qualiteRivieres';
declare const qualiteRivieres: {
analysePc: (params?: AnalysePcParams | undefined) => Promise<string>;
analysePcCsv: (params?: AnalysePcParams | undefined) => Promise<string>;
stationPc: (params?: StationPcParams | undefined) => Promise<string>;
stationPcCsv: (params?: StationPcParams | undefined) => Promise<string>;
operationPc: (params?: OperationPcParams | undefined) => Promise<string>;
operationPcCsv: (params?: OperationPcParams | undefined) => Promise<string>;
conditionEnvironnementalePc: (params?: ConditionEnvironnementaleParams | undefined) => Promise<string>;
conditionEnvironnementalePcCsv: (params?: ConditionEnvironnementaleParams | undefined) => Promise<string>;
analysePc: (params?: AnalysePcParams | undefined) => Promise<HubeauResponse>;
analysePcCsv: (params?: AnalysePcParams | undefined) => Promise<HubeauResponse>;
stationPc: (params?: StationPcParams | undefined) => Promise<HubeauResponse>;
stationPcCsv: (params?: StationPcParams | undefined) => Promise<HubeauResponse>;
operationPc: (params?: OperationPcParams | undefined) => Promise<HubeauResponse>;
operationPcCsv: (params?: OperationPcParams | undefined) => Promise<HubeauResponse>;
conditionEnvironnementalePc: (params?: ConditionEnvironnementaleParams | undefined) => Promise<HubeauResponse>;
conditionEnvironnementalePcCsv: (params?: ConditionEnvironnementaleParams | undefined) => Promise<HubeauResponse>;
};
export default qualiteRivieres;

@@ -0,8 +1,9 @@

import { HubeauResponse } from '../types/communs';
import { ChroniqueParams, StationParams } from '../types/temperature';
declare const temperature: {
chronique: (params?: ChroniqueParams | undefined) => Promise<string>;
chroniqueCsv: (params?: ChroniqueParams | undefined) => Promise<string>;
station: (params?: StationParams | undefined) => Promise<string>;
stationCsv: (params?: StationParams | undefined) => Promise<string>;
chronique: (params?: ChroniqueParams | undefined) => Promise<HubeauResponse>;
chroniqueCsv: (params?: ChroniqueParams | undefined) => Promise<HubeauResponse>;
station: (params?: StationParams | undefined) => Promise<HubeauResponse>;
stationCsv: (params?: StationParams | undefined) => Promise<HubeauResponse>;
};
export default temperature;

@@ -10,2 +10,6 @@ export declare const hostname = "https://hubeau.eaufrance.fr";

hydrometrie: string;
prelevements: string;
hydrobio: string;
surveillanceLittoral: string;
qualiteEauPotable: string;
};

@@ -13,2 +13,6 @@ "use strict";

hydrometrie: '/api/v1/hydrometrie/',
prelevements: '/api/v1/prelevements/',
hydrobio: '/api/vbeta/hydrobio/',
surveillanceLittoral: '/api/vbeta/surveillance_littoral/',
qualiteEauPotable: '/api/vbeta/qualite_eau_potable/',
};

@@ -8,2 +8,6 @@ import etatPiscicole from './commandes/etatPiscicole';

import hydrometrie from './commandes/hydrometrie';
export { etatPiscicole, indicateursServices, piezometrie, qualiteNappes, qualiteRivieres, temperature, hydrometrie, };
import prelevements from './commandes/prelevements';
import hydrobio from './commandes/hydrobio';
import surveillanceLittoral from './commandes/surveillanceLittoral';
import qualiteEauPotable from './commandes/qualiteEauPotable';
export { etatPiscicole, indicateursServices, piezometrie, qualiteNappes, qualiteRivieres, temperature, hydrometrie, prelevements, hydrobio, surveillanceLittoral, qualiteEauPotable };

@@ -6,3 +6,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.hydrometrie = exports.temperature = exports.qualiteRivieres = exports.qualiteNappes = exports.piezometrie = exports.indicateursServices = exports.etatPiscicole = void 0;
exports.qualiteEauPotable = exports.surveillanceLittoral = exports.hydrobio = exports.prelevements = exports.hydrometrie = exports.temperature = exports.qualiteRivieres = exports.qualiteNappes = exports.piezometrie = exports.indicateursServices = exports.etatPiscicole = void 0;
var etatPiscicole_1 = __importDefault(require("./commandes/etatPiscicole"));

@@ -22,1 +22,9 @@ exports.etatPiscicole = etatPiscicole_1.default;

exports.hydrometrie = hydrometrie_1.default;
var prelevements_1 = __importDefault(require("./commandes/prelevements"));
exports.prelevements = prelevements_1.default;
var hydrobio_1 = __importDefault(require("./commandes/hydrobio"));
exports.hydrobio = hydrobio_1.default;
var surveillanceLittoral_1 = __importDefault(require("./commandes/surveillanceLittoral"));
exports.surveillanceLittoral = surveillanceLittoral_1.default;
var qualiteEauPotable_1 = __importDefault(require("./commandes/qualiteEauPotable"));
exports.qualiteEauPotable = qualiteEauPotable_1.default;

@@ -0,1 +1,13 @@

declare type NestedObject = {
[key: string]: string | number | boolean | string[] | number[];
};
declare type Response = {
count: number;
prev: string;
next: string;
data: {
[key: string]: string | number | boolean | string[] | number[] | NestedObject;
};
};
export declare type HubeauResponse = string | Response;
export declare type Mois = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;

@@ -5,1 +17,2 @@ export declare type Format = 'json' | 'geojson';

export declare type Sort = 'asc' | 'desc';
export {};

@@ -0,10 +1,11 @@

import { HubeauResponse } from '../types/communs';
import { CodeEspecePoissonParams, LieuxPecheParams, PoissonsParams } from '../types/etatPiscicole';
declare const etatPiscicole: {
codeEspecePoisson: (params?: CodeEspecePoissonParams | undefined) => Promise<string>;
codeEspecePoissonCsv: (params?: CodeEspecePoissonParams | undefined) => Promise<string>;
lieuxPeche: (params?: LieuxPecheParams | undefined) => Promise<string>;
lieuxPecheCsv: (params?: LieuxPecheParams | undefined) => Promise<string>;
poissons: (params?: PoissonsParams | undefined) => Promise<string>;
poissonsCsv: (params?: PoissonsParams | undefined) => Promise<string>;
codeEspecePoisson: (params?: CodeEspecePoissonParams | undefined) => Promise<HubeauResponse>;
codeEspecePoissonCsv: (params?: CodeEspecePoissonParams | undefined) => Promise<HubeauResponse>;
lieuxPeche: (params?: LieuxPecheParams | undefined) => Promise<HubeauResponse>;
lieuxPecheCsv: (params?: LieuxPecheParams | undefined) => Promise<HubeauResponse>;
poissons: (params?: PoissonsParams | undefined) => Promise<HubeauResponse>;
poissonsCsv: (params?: PoissonsParams | undefined) => Promise<HubeauResponse>;
};
export default etatPiscicole;

@@ -0,15 +1,16 @@

import { HubeauResponse } from '../types/communs';
import { ObsElabParams, ObservationsTrParams, ReferentielSitesParams, ReferentielStationsParams } from '../types/hydrometrie';
declare const hydrometrie: {
obsElab: (params?: ObsElabParams | undefined) => Promise<string>;
obsElabCsv: (params?: ObsElabParams | undefined) => Promise<string>;
observationsTr: (params?: ObservationsTrParams | undefined) => Promise<string>;
observationsTrCsv: (params?: ObservationsTrParams | undefined) => Promise<string>;
observationsTrXml: (params?: ObservationsTrParams | undefined) => Promise<string>;
referentielSites: (params?: ReferentielSitesParams | undefined) => Promise<string>;
referentielSitesCsv: (params?: ReferentielSitesParams | undefined) => Promise<string>;
referentielSitesXml: (params?: ReferentielSitesParams | undefined) => Promise<string>;
referentielStations: (params?: ReferentielStationsParams | undefined) => Promise<string>;
referentielStationsCsv: (params?: ReferentielStationsParams | undefined) => Promise<string>;
referentielStationsXml: (params?: ReferentielStationsParams | undefined) => Promise<string>;
obsElab: (params?: ObsElabParams | undefined) => Promise<HubeauResponse>;
obsElabCsv: (params?: ObsElabParams | undefined) => Promise<HubeauResponse>;
observationsTr: (params?: ObservationsTrParams | undefined) => Promise<HubeauResponse>;
observationsTrCsv: (params?: ObservationsTrParams | undefined) => Promise<HubeauResponse>;
observationsTrXml: (params?: ObservationsTrParams | undefined) => Promise<HubeauResponse>;
referentielSites: (params?: ReferentielSitesParams | undefined) => Promise<HubeauResponse>;
referentielSitesCsv: (params?: ReferentielSitesParams | undefined) => Promise<HubeauResponse>;
referentielSitesXml: (params?: ReferentielSitesParams | undefined) => Promise<HubeauResponse>;
referentielStations: (params?: ReferentielStationsParams | undefined) => Promise<HubeauResponse>;
referentielStationsCsv: (params?: ReferentielStationsParams | undefined) => Promise<HubeauResponse>;
referentielStationsXml: (params?: ReferentielStationsParams | undefined) => Promise<HubeauResponse>;
};
export default hydrometrie;

@@ -0,10 +1,11 @@

import { HubeauResponse } from '../types/communs';
import { CommunesParams, IndicateursParams, ServicesParams } from '../types/indicateursServices';
declare const indicateursServices: {
communes: (params?: CommunesParams | undefined) => Promise<string>;
communesCsv: (params?: CommunesParams | undefined) => Promise<string>;
indicateurs: (params?: IndicateursParams | undefined) => Promise<string>;
indicateursCsv: (params?: IndicateursParams | undefined) => Promise<string>;
services: (params?: ServicesParams | undefined) => Promise<string>;
servicesCsv: (params?: ServicesParams | undefined) => Promise<string>;
communes: (params?: CommunesParams | undefined) => Promise<HubeauResponse>;
communesCsv: (params?: CommunesParams | undefined) => Promise<HubeauResponse>;
indicateurs: (params?: IndicateursParams | undefined) => Promise<HubeauResponse>;
indicateursCsv: (params?: IndicateursParams | undefined) => Promise<HubeauResponse>;
services: (params?: ServicesParams | undefined) => Promise<HubeauResponse>;
servicesCsv: (params?: ServicesParams | undefined) => Promise<HubeauResponse>;
};
export default indicateursServices;

@@ -0,10 +1,11 @@

import { HubeauResponse } from '../types/communs';
import { ChroniquesParams, ChroniquesTrParams, StationsParams } from '../types/piezometrie';
declare const piezometrie: {
chroniques: (params?: ChroniquesParams | undefined) => Promise<string>;
chroniquesCsv: (params?: ChroniquesParams | undefined) => Promise<string>;
chroniquesTr: (params?: ChroniquesTrParams | undefined) => Promise<string>;
chroniquesTrCsv: (params?: ChroniquesTrParams | undefined) => Promise<string>;
stations: (params?: StationsParams | undefined) => Promise<string>;
stationsCsv: (params?: StationsParams | undefined) => Promise<string>;
chroniques: (params?: ChroniquesParams | undefined) => Promise<HubeauResponse>;
chroniquesCsv: (params?: ChroniquesParams | undefined) => Promise<HubeauResponse>;
chroniquesTr: (params?: ChroniquesTrParams | undefined) => Promise<HubeauResponse>;
chroniquesTrCsv: (params?: ChroniquesTrParams | undefined) => Promise<HubeauResponse>;
stations: (params?: StationsParams | undefined) => Promise<HubeauResponse>;
stationsCsv: (params?: StationsParams | undefined) => Promise<HubeauResponse>;
};
export default piezometrie;

@@ -0,8 +1,9 @@

import { HubeauResponse } from '../types/communs';
import { AnalysesParams, StationsParams } from '../types/qualiteNappes';
declare const qualiteNappes: {
analyses: (params?: AnalysesParams | undefined) => Promise<string>;
analysesCsv: (params?: AnalysesParams | undefined) => Promise<string>;
stations: (params?: StationsParams | undefined) => Promise<string>;
stationsCsv: (params?: StationsParams | undefined) => Promise<string>;
analyses: (params?: AnalysesParams | undefined) => Promise<HubeauResponse>;
analysesCsv: (params?: AnalysesParams | undefined) => Promise<HubeauResponse>;
stations: (params?: StationsParams | undefined) => Promise<HubeauResponse>;
stationsCsv: (params?: StationsParams | undefined) => Promise<HubeauResponse>;
};
export default qualiteNappes;

@@ -0,12 +1,13 @@

import { HubeauResponse } from '../types/communs';
import { AnalysePcParams, StationPcParams, OperationPcParams, ConditionEnvironnementaleParams } from '../types/qualiteRivieres';
declare const qualiteRivieres: {
analysePc: (params?: AnalysePcParams | undefined) => Promise<string>;
analysePcCsv: (params?: AnalysePcParams | undefined) => Promise<string>;
stationPc: (params?: StationPcParams | undefined) => Promise<string>;
stationPcCsv: (params?: StationPcParams | undefined) => Promise<string>;
operationPc: (params?: OperationPcParams | undefined) => Promise<string>;
operationPcCsv: (params?: OperationPcParams | undefined) => Promise<string>;
conditionEnvironnementalePc: (params?: ConditionEnvironnementaleParams | undefined) => Promise<string>;
conditionEnvironnementalePcCsv: (params?: ConditionEnvironnementaleParams | undefined) => Promise<string>;
analysePc: (params?: AnalysePcParams | undefined) => Promise<HubeauResponse>;
analysePcCsv: (params?: AnalysePcParams | undefined) => Promise<HubeauResponse>;
stationPc: (params?: StationPcParams | undefined) => Promise<HubeauResponse>;
stationPcCsv: (params?: StationPcParams | undefined) => Promise<HubeauResponse>;
operationPc: (params?: OperationPcParams | undefined) => Promise<HubeauResponse>;
operationPcCsv: (params?: OperationPcParams | undefined) => Promise<HubeauResponse>;
conditionEnvironnementalePc: (params?: ConditionEnvironnementaleParams | undefined) => Promise<HubeauResponse>;
conditionEnvironnementalePcCsv: (params?: ConditionEnvironnementaleParams | undefined) => Promise<HubeauResponse>;
};
export default qualiteRivieres;

@@ -0,8 +1,9 @@

import { HubeauResponse } from '../types/communs';
import { ChroniqueParams, StationParams } from '../types/temperature';
declare const temperature: {
chronique: (params?: ChroniqueParams | undefined) => Promise<string>;
chroniqueCsv: (params?: ChroniqueParams | undefined) => Promise<string>;
station: (params?: StationParams | undefined) => Promise<string>;
stationCsv: (params?: StationParams | undefined) => Promise<string>;
chronique: (params?: ChroniqueParams | undefined) => Promise<HubeauResponse>;
chroniqueCsv: (params?: ChroniqueParams | undefined) => Promise<HubeauResponse>;
station: (params?: StationParams | undefined) => Promise<HubeauResponse>;
stationCsv: (params?: StationParams | undefined) => Promise<HubeauResponse>;
};
export default temperature;

@@ -10,2 +10,6 @@ export declare const hostname = "https://hubeau.eaufrance.fr";

hydrometrie: string;
prelevements: string;
hydrobio: string;
surveillanceLittoral: string;
qualiteEauPotable: string;
};

@@ -10,2 +10,6 @@ export var hostname = 'https://hubeau.eaufrance.fr';

hydrometrie: '/api/v1/hydrometrie/',
prelevements: '/api/v1/prelevements/',
hydrobio: '/api/vbeta/hydrobio/',
surveillanceLittoral: '/api/vbeta/surveillance_littoral/',
qualiteEauPotable: '/api/vbeta/qualite_eau_potable/',
};

@@ -8,2 +8,6 @@ import etatPiscicole from './commandes/etatPiscicole';

import hydrometrie from './commandes/hydrometrie';
export { etatPiscicole, indicateursServices, piezometrie, qualiteNappes, qualiteRivieres, temperature, hydrometrie, };
import prelevements from './commandes/prelevements';
import hydrobio from './commandes/hydrobio';
import surveillanceLittoral from './commandes/surveillanceLittoral';
import qualiteEauPotable from './commandes/qualiteEauPotable';
export { etatPiscicole, indicateursServices, piezometrie, qualiteNappes, qualiteRivieres, temperature, hydrometrie, prelevements, hydrobio, surveillanceLittoral, qualiteEauPotable };

@@ -8,2 +8,6 @@ import etatPiscicole from './commandes/etatPiscicole';

import hydrometrie from './commandes/hydrometrie';
export { etatPiscicole, indicateursServices, piezometrie, qualiteNappes, qualiteRivieres, temperature, hydrometrie, };
import prelevements from './commandes/prelevements';
import hydrobio from './commandes/hydrobio';
import surveillanceLittoral from './commandes/surveillanceLittoral';
import qualiteEauPotable from './commandes/qualiteEauPotable';
export { etatPiscicole, indicateursServices, piezometrie, qualiteNappes, qualiteRivieres, temperature, hydrometrie, prelevements, hydrobio, surveillanceLittoral, qualiteEauPotable };

@@ -0,1 +1,13 @@

declare type NestedObject = {
[key: string]: string | number | boolean | string[] | number[];
};
declare type Response = {
count: number;
prev: string;
next: string;
data: {
[key: string]: string | number | boolean | string[] | number[] | NestedObject;
};
};
export declare type HubeauResponse = string | Response;
export declare type Mois = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;

@@ -5,1 +17,2 @@ export declare type Format = 'json' | 'geojson';

export declare type Sort = 'asc' | 'desc';
export {};
{
"name": "hubeau-api",
"version": "0.0.17",
"version": "0.1.0",
"description": "hubeau api wrapper in javascript",

@@ -5,0 +5,0 @@ "keywords": [

# HUBEAU API wrapper
HUBEAU API wrapper JS.<br/>
Infos sur l'API HUBEAU : https://hubeau.eaufrance.fr/page/apis<br/>
Travail en cours...<br/>
Wrapper de l'api Hubeau en typescript.<br />
Fonctionne dans tout type d'application javascript.<br />
Plus d'infos sur l'API HUBEAU : https://hubeau.eaufrance.fr/page/apis<br/>
## Installation

@@ -30,7 +32,9 @@

_Code espèce poisson_<br/>
_Lieux pêche_<br/>
_Poissons_<br/>
_code espèce poisson_<br/>
_lieux pêche_<br/>
_poissons_<br/>
Exemples hubeau-api-wrapper : [./exemples/etatPiscicole.js](https://github.com/christophe77/hubeau-api-wrapper/blob/master/exemples/etatPiscicole.js)<br/>
Exemples :<br/>
CommonJS : [./exemples/cjs/etatPiscicole.js](https://github.com/christophe77/hubeau-api-wrapper/blob/master/exemples/cjs/etatPiscicole.js)<br/>
ESM : [./exemples/esm/etatPiscicole.js](https://github.com/christophe77/hubeau-api-wrapper/blob/master/exemples/esm/etatPiscicole.js)<br/>
Documentation officielle : https://hubeau.eaufrance.fr/page/api-poisson<br/>

@@ -44,3 +48,5 @@

Exemples hubeau-api-wrapper : [./exemples/indicateursServices.js](https://github.com/christophe77/hubeau-api-wrapper/blob/master/exemples/indicateursServices.js)<br/>
Exemples :<br/>
CommonJS : [./exemples/cjs/indicateursServices.js](https://github.com/christophe77/hubeau-api-wrapper/blob/master/exemples/cjs/indicateursServices.js)<br/>
ESM : [./exemples/esm/indicateursServices.js](https://github.com/christophe77/hubeau-api-wrapper/blob/master/exemples/esm/indicateursServices.js)<br/>
Documentation officielle : https://hubeau.eaufrance.fr/page/api-indicateurs-services<br/>

@@ -54,3 +60,5 @@

Exemples hubeau-api-wrapper : [./exemples/piezometrie.js](https://github.com/christophe77/hubeau-api-wrapper/blob/master/exemples/piezometrie.js)<br/>
Exemples :<br/>
CommonJS : [./exemples/cjs/piezometrie.js](https://github.com/christophe77/hubeau-api-wrapper/blob/master/exemples/cjs/piezometrie.js)<br/>
ESM : [./exemples/esm/piezometrie.js](https://github.com/christophe77/hubeau-api-wrapper/blob/master/exemples/esm/piezometrie.js)<br/>
Documentation officielle : https://hubeau.eaufrance.fr/page/api-piezometrie<br/>

@@ -63,3 +71,5 @@

Exemples hubeau-api-wrapper : [./exemples/qualiteNappes.js](https://github.com/christophe77/hubeau-api-wrapper/blob/master/exemples/qualiteNappes.js)<br/>
Exemples :<br/>
CommonJS : [./exemples/cjs/qualiteNappes.js](https://github.com/christophe77/hubeau-api-wrapper/blob/master/exemples/cjs/qualiteNappes.js)<br/>
ESM : [./exemples/esm/qualiteNappes.js](https://github.com/christophe77/hubeau-api-wrapper/blob/master/exemples/esm/qualiteNappes.js)<br/>
Documentation officielle : https://hubeau.eaufrance.fr/page/api-qualite-nappes<br/>

@@ -74,3 +84,5 @@

Exemples hubeau-api-wrapper : [./exemples/qualiteRivieres.js](https://github.com/christophe77/hubeau-api-wrapper/blob/master/exemples/qualiteRivieres.js)<br/>
Exemples :<br/>
CommonJS : [./exemples/cjs/qualiteRivieres.js](https://github.com/christophe77/hubeau-api-wrapper/blob/master/exemples/cjs/qualiteRivieres.js)<br/>
ESM : [./exemples/esm/qualiteRivieres.js](https://github.com/christophe77/hubeau-api-wrapper/blob/master/exemples/esm/qualiteRivieres.js)<br/>
Documentation officielle : https://hubeau.eaufrance.fr/page/api-qualite-cours-deau<br/>

@@ -83,3 +95,5 @@

Exemples hubeau-api-wrapper : [./exemples/temperature.js](https://github.com/christophe77/hubeau-api-wrapper/blob/master/exemples/temperature.js)<br/>
Exemples :<br/>
CommonJS : [./exemples/cjs/temperature.js](https://github.com/christophe77/hubeau-api-wrapper/blob/master/exemples/cjs/temperature.js)<br/>
ESM : [./exemples/esm/temperature.js](https://github.com/christophe77/hubeau-api-wrapper/blob/master/exemples/esm/temperature.js)<br/>
Documentation officielle : https://hubeau.eaufrance.fr/page/api-temperature-continu<br/>

@@ -94,3 +108,47 @@

Exemples hubeau-api-wrapper : [./exemples/hydrometrie.js](https://github.com/christophe77/hubeau-api-wrapper/blob/master/exemples/hydrometrie.js)<br/>
Exemples :<br/>
CommonJS : [./exemples/cjs/hydrometrie.js](https://github.com/christophe77/hubeau-api-wrapper/blob/master/exemples/cjs/hydrometrie.js)<br/>
ESM : [./exemples/esm/hydrometrie.js](https://github.com/christophe77/hubeau-api-wrapper/blob/master/exemples/esm/hydrometrie.js)<br/>
Documentation officielle : https://hubeau.eaufrance.fr/page/api-hydrometrie<br/>
### Prélèvements en eau
_chroniques_<br/>
_référentiel ouvrages_<br/>
_référentiel points de prélèvement_<br/>
Exemples :<br/>
CommonJS : [./exemples/cjs/prelevements.js](https://github.com/christophe77/hubeau-api-wrapper/blob/master/exemples/cjs/prelevements.js)<br/>
ESM : [./exemples/esm/prelevements.js](https://github.com/christophe77/hubeau-api-wrapper/blob/master/exemples/esm/prelevements.js)<br/>
Documentation officielle : https://hubeau.eaufrance.fr/page/api-prelevements-eau<br/>
### Hydrobiologie
_indices_<br/>
_stations hydrobiologie_<br/>
_taxons_<br/>
Exemples :<br/>
CommonJS : [./exemples/cjs/hydrobio.js](https://github.com/christophe77/hubeau-api-wrapper/blob/master/exemples/cjs/hydrobio.js)<br/>
ESM : [./exemples/esm/hydrobio.js](https://github.com/christophe77/hubeau-api-wrapper/blob/master/exemples/esm/hydrobio.js)<br/>
Documentation officielle : https://hubeau.eaufrance.fr/page/api-hydrobiologie<br/>
### Surveillance du Littoral
_contaminants chimiques_<br/>
_lieux de surveillance_<br/>
Exemples :<br/>
CommonJS : [./exemples/cjs/surveillanceLittoral.js](https://github.com/christophe77/hubeau-api-wrapper/blob/master/exemples/cjs/surveillanceLittoral.js)<br/>
ESM : [./exemples/esm/surveillanceLittoral.js](https://github.com/christophe77/hubeau-api-wrapper/blob/master/exemples/esm/surveillanceLittoral.js)<br/>
Documentation officielle : https://hubeau.eaufrance.fr/page/api-surveillance-littoral<br/>
### Qualité Eau Potable
_communes et UDI_<br/>
_résultats_<br/>
Exemples :<br/>
CommonJS : [./exemples/cjs/qualiteEauPotable.js](https://github.com/christophe77/hubeau-api-wrapper/blob/master/exemples/cjs/qualiteEauPotable.js)<br/>
ESM : [./exemples/esm/qualiteEauPotable.js](https://github.com/christophe77/hubeau-api-wrapper/blob/master/exemples/esm/qualiteEauPotable.js)<br/>
Documentation officielle : https://hubeau.eaufrance.fr/page/api-qualite-eau-potable<br/>
import { entryPoints } from '../constants';
import getRequest from '../http';
import { objectToStringParameters } from '../utils/utils';
import { HubeauResponse } from '../types/communs';
import {

@@ -13,3 +14,3 @@ CodeEspecePoissonParams,

params?: CodeEspecePoissonParams,
): Promise<string> => {
): Promise<HubeauResponse> => {
const formattedParams = params ? objectToStringParameters(params) : '';

@@ -24,3 +25,3 @@ const datas = await getRequest(

params?: CodeEspecePoissonParams,
): Promise<string> => {
): Promise<HubeauResponse> => {
const formattedParams = params ? objectToStringParameters(params) : '';

@@ -33,3 +34,3 @@ const datas = await getRequest(

},
lieuxPeche: async (params?: LieuxPecheParams): Promise<string> => {
lieuxPeche: async (params?: LieuxPecheParams): Promise<HubeauResponse> => {
const formattedParams = params ? objectToStringParameters(params) : '';

@@ -42,3 +43,3 @@ const datas = await getRequest(

},
lieuxPecheCsv: async (params?: LieuxPecheParams): Promise<string> => {
lieuxPecheCsv: async (params?: LieuxPecheParams): Promise<HubeauResponse> => {
const formattedParams = params ? objectToStringParameters(params) : '';

@@ -51,3 +52,3 @@ const datas = await getRequest(

},
poissons: async (params?: PoissonsParams): Promise<string> => {
poissons: async (params?: PoissonsParams): Promise<HubeauResponse> => {
const formattedParams = params ? objectToStringParameters(params) : '';

@@ -60,3 +61,3 @@ const datas = await getRequest(

},
poissonsCsv: async (params?: PoissonsParams): Promise<string> => {
poissonsCsv: async (params?: PoissonsParams): Promise<HubeauResponse> => {
const formattedParams = params ? objectToStringParameters(params) : '';

@@ -63,0 +64,0 @@ const datas = await getRequest(

import { entryPoints } from '../constants';
import getRequest from '../http';
import { objectToStringParameters } from '../utils/utils';
import { HubeauResponse } from '../types/communs';
import {

@@ -12,3 +13,3 @@ ObsElabParams,

const hydrometrie = {
obsElab: async (params?: ObsElabParams): Promise<string> => {
obsElab: async (params?: ObsElabParams): Promise<HubeauResponse> => {
const formattedParams = params ? objectToStringParameters(params) : '';

@@ -21,3 +22,3 @@ const datas = await getRequest(

},
obsElabCsv: async (params?: ObsElabParams): Promise<string> => {
obsElabCsv: async (params?: ObsElabParams): Promise<HubeauResponse> => {
const formattedParams = params ? objectToStringParameters(params) : '';

@@ -30,3 +31,5 @@ const datas = await getRequest(

},
observationsTr: async (params?: ObservationsTrParams): Promise<string> => {
observationsTr: async (
params?: ObservationsTrParams,
): Promise<HubeauResponse> => {
const formattedParams = params ? objectToStringParameters(params) : '';

@@ -39,3 +42,5 @@ const datas = await getRequest(

},
observationsTrCsv: async (params?: ObservationsTrParams): Promise<string> => {
observationsTrCsv: async (
params?: ObservationsTrParams,
): Promise<HubeauResponse> => {
const formattedParams = params ? objectToStringParameters(params) : '';

@@ -48,3 +53,5 @@ const datas = await getRequest(

},
observationsTrXml: async (params?: ObservationsTrParams): Promise<string> => {
observationsTrXml: async (
params?: ObservationsTrParams,
): Promise<HubeauResponse> => {
const formattedParams = params ? objectToStringParameters(params) : '';

@@ -59,3 +66,3 @@ const datas = await getRequest(

params?: ReferentielSitesParams,
): Promise<string> => {
): Promise<HubeauResponse> => {
const formattedParams = params ? objectToStringParameters(params) : '';

@@ -70,3 +77,3 @@ const datas = await getRequest(

params?: ReferentielSitesParams,
): Promise<string> => {
): Promise<HubeauResponse> => {
const formattedParams = params ? objectToStringParameters(params) : '';

@@ -81,3 +88,3 @@ const datas = await getRequest(

params?: ReferentielSitesParams,
): Promise<string> => {
): Promise<HubeauResponse> => {
const formattedParams = params ? objectToStringParameters(params) : '';

@@ -92,3 +99,3 @@ const datas = await getRequest(

params?: ReferentielStationsParams,
): Promise<string> => {
): Promise<HubeauResponse> => {
const formattedParams = params ? objectToStringParameters(params) : '';

@@ -103,3 +110,3 @@ const datas = await getRequest(

params?: ReferentielStationsParams,
): Promise<string> => {
): Promise<HubeauResponse> => {
const formattedParams = params ? objectToStringParameters(params) : '';

@@ -114,3 +121,3 @@ const datas = await getRequest(

params?: ReferentielStationsParams,
): Promise<string> => {
): Promise<HubeauResponse> => {
const formattedParams = params ? objectToStringParameters(params) : '';

@@ -117,0 +124,0 @@ const datas = await getRequest(

import { entryPoints } from '../constants';
import getRequest from '../http';
import { objectToStringParameters } from '../utils/utils';
import { HubeauResponse } from '../types/communs';
import {

@@ -11,3 +12,3 @@ CommunesParams,

const indicateursServices = {
communes: async (params?: CommunesParams): Promise<string> => {
communes: async (params?: CommunesParams): Promise<HubeauResponse> => {
const formattedParams = params ? objectToStringParameters(params) : '';

@@ -20,3 +21,3 @@ const datas = await getRequest(

},
communesCsv: async (params?: CommunesParams): Promise<string> => {
communesCsv: async (params?: CommunesParams): Promise<HubeauResponse> => {
const formattedParams = params ? objectToStringParameters(params) : '';

@@ -29,3 +30,3 @@ const datas = await getRequest(

},
indicateurs: async (params?: IndicateursParams): Promise<string> => {
indicateurs: async (params?: IndicateursParams): Promise<HubeauResponse> => {
const formattedParams = params ? objectToStringParameters(params) : '';

@@ -38,3 +39,5 @@ const datas = await getRequest(

},
indicateursCsv: async (params?: IndicateursParams): Promise<string> => {
indicateursCsv: async (
params?: IndicateursParams,
): Promise<HubeauResponse> => {
const formattedParams = params ? objectToStringParameters(params) : '';

@@ -47,3 +50,3 @@ const datas = await getRequest(

},
services: async (params?: ServicesParams): Promise<string> => {
services: async (params?: ServicesParams): Promise<HubeauResponse> => {
const formattedParams = params ? objectToStringParameters(params) : '';

@@ -56,3 +59,3 @@ const datas = await getRequest(

},
servicesCsv: async (params?: ServicesParams): Promise<string> => {
servicesCsv: async (params?: ServicesParams): Promise<HubeauResponse> => {
const formattedParams = params ? objectToStringParameters(params) : '';

@@ -59,0 +62,0 @@ const datas = await getRequest(

import { entryPoints } from '../constants';
import getRequest from '../http';
import { objectToStringParameters } from '../utils/utils';
import { HubeauResponse } from '../types/communs';
import {

@@ -11,3 +12,3 @@ ChroniquesParams,

const piezometrie = {
chroniques: async (params?: ChroniquesParams): Promise<string> => {
chroniques: async (params?: ChroniquesParams): Promise<HubeauResponse> => {
const formattedParams = params ? objectToStringParameters(params) : '';

@@ -20,3 +21,3 @@ const datas = await getRequest(

},
chroniquesCsv: async (params?: ChroniquesParams): Promise<string> => {
chroniquesCsv: async (params?: ChroniquesParams): Promise<HubeauResponse> => {
const formattedParams = params ? objectToStringParameters(params) : '';

@@ -29,3 +30,5 @@ const datas = await getRequest(

},
chroniquesTr: async (params?: ChroniquesTrParams): Promise<string> => {
chroniquesTr: async (
params?: ChroniquesTrParams,
): Promise<HubeauResponse> => {
const formattedParams = params ? objectToStringParameters(params) : '';

@@ -38,3 +41,5 @@ const datas = await getRequest(

},
chroniquesTrCsv: async (params?: ChroniquesTrParams): Promise<string> => {
chroniquesTrCsv: async (
params?: ChroniquesTrParams,
): Promise<HubeauResponse> => {
const formattedParams = params ? objectToStringParameters(params) : '';

@@ -47,3 +52,3 @@ const datas = await getRequest(

},
stations: async (params?: StationsParams): Promise<string> => {
stations: async (params?: StationsParams): Promise<HubeauResponse> => {
const formattedParams = params ? objectToStringParameters(params) : '';

@@ -56,3 +61,3 @@ const datas = await getRequest(

},
stationsCsv: async (params?: StationsParams): Promise<string> => {
stationsCsv: async (params?: StationsParams): Promise<HubeauResponse> => {
const formattedParams = params ? objectToStringParameters(params) : '';

@@ -59,0 +64,0 @@ const datas = await getRequest(

import { entryPoints } from '../constants';
import getRequest from '../http';
import { objectToStringParameters } from '../utils/utils';
import { HubeauResponse } from '../types/communs';
import { AnalysesParams, StationsParams } from '../types/qualiteNappes';
const qualiteNappes = {
analyses: async (params?: AnalysesParams): Promise<string> => {
const formattedParams = params ? objectToStringParameters(params) : '';
const datas = await getRequest(
entryPoints.qualiteNappes,
`/analyses?${formattedParams}`,
);
return datas;
},
analysesCsv: async (params?: AnalysesParams): Promise<string> => {
const formattedParams = params ? objectToStringParameters(params) : '';
const datas = await getRequest(
entryPoints.qualiteNappes,
`/analyses.csv?${formattedParams}`,
);
return datas;
},
stations: async (params?: StationsParams): Promise<string> => {
const formattedParams = params ? objectToStringParameters(params) : '';
const datas = await getRequest(
entryPoints.qualiteNappes,
`/stations?${formattedParams}`,
);
return datas;
},
stationsCsv: async (params?: StationsParams): Promise<string> => {
const formattedParams = params ? objectToStringParameters(params) : '';
const datas = await getRequest(
entryPoints.qualiteNappes,
`/stations.csv?${formattedParams}`,
);
return datas;
},
analyses: async (params?: AnalysesParams): Promise<HubeauResponse> => {
const formattedParams = params ? objectToStringParameters(params) : '';
const datas = await getRequest(
entryPoints.qualiteNappes,
`/analyses?${formattedParams}`,
);
return datas;
},
analysesCsv: async (params?: AnalysesParams): Promise<HubeauResponse> => {
const formattedParams = params ? objectToStringParameters(params) : '';
const datas = await getRequest(
entryPoints.qualiteNappes,
`/analyses.csv?${formattedParams}`,
);
return datas;
},
stations: async (params?: StationsParams): Promise<HubeauResponse> => {
const formattedParams = params ? objectToStringParameters(params) : '';
const datas = await getRequest(
entryPoints.qualiteNappes,
`/stations?${formattedParams}`,
);
return datas;
},
stationsCsv: async (params?: StationsParams): Promise<HubeauResponse> => {
const formattedParams = params ? objectToStringParameters(params) : '';
const datas = await getRequest(
entryPoints.qualiteNappes,
`/stations.csv?${formattedParams}`,
);
return datas;
},
};
export default qualiteNappes;
import { entryPoints } from '../constants';
import getRequest from '../http';
import { objectToStringParameters } from '../utils/utils';
import { HubeauResponse } from '../types/communs';
import {

@@ -12,3 +13,3 @@ AnalysePcParams,

const qualiteRivieres = {
analysePc: async (params?: AnalysePcParams): Promise<string> => {
analysePc: async (params?: AnalysePcParams): Promise<HubeauResponse> => {
const formattedParams = params ? objectToStringParameters(params) : '';

@@ -21,3 +22,3 @@ const datas = await getRequest(

},
analysePcCsv: async (params?: AnalysePcParams): Promise<string> => {
analysePcCsv: async (params?: AnalysePcParams): Promise<HubeauResponse> => {
const formattedParams = params ? objectToStringParameters(params) : '';

@@ -30,3 +31,3 @@ const datas = await getRequest(

},
stationPc: async (params?: StationPcParams): Promise<string> => {
stationPc: async (params?: StationPcParams): Promise<HubeauResponse> => {
const formattedParams = params ? objectToStringParameters(params) : '';

@@ -39,3 +40,3 @@ const datas = await getRequest(

},
stationPcCsv: async (params?: StationPcParams): Promise<string> => {
stationPcCsv: async (params?: StationPcParams): Promise<HubeauResponse> => {
const formattedParams = params ? objectToStringParameters(params) : '';

@@ -48,3 +49,3 @@ const datas = await getRequest(

},
operationPc: async (params?: OperationPcParams): Promise<string> => {
operationPc: async (params?: OperationPcParams): Promise<HubeauResponse> => {
const formattedParams = params ? objectToStringParameters(params) : '';

@@ -57,3 +58,5 @@ const datas = await getRequest(

},
operationPcCsv: async (params?: OperationPcParams): Promise<string> => {
operationPcCsv: async (
params?: OperationPcParams,
): Promise<HubeauResponse> => {
const formattedParams = params ? objectToStringParameters(params) : '';

@@ -68,3 +71,3 @@ const datas = await getRequest(

params?: ConditionEnvironnementaleParams,
): Promise<string> => {
): Promise<HubeauResponse> => {
const formattedParams = params ? objectToStringParameters(params) : '';

@@ -79,3 +82,3 @@ const datas = await getRequest(

params?: ConditionEnvironnementaleParams,
): Promise<string> => {
): Promise<HubeauResponse> => {
const formattedParams = params ? objectToStringParameters(params) : '';

@@ -82,0 +85,0 @@ const datas = await getRequest(

import { entryPoints } from '../constants';
import getRequest from '../http';
import { objectToStringParameters } from '../utils/utils';
import { HubeauResponse } from '../types/communs';
import { ChroniqueParams, StationParams } from '../types/temperature';
const temperature = {
chronique: async (params?: ChroniqueParams): Promise<string> => {
chronique: async (params?: ChroniqueParams): Promise<HubeauResponse> => {
const formattedParams = params ? objectToStringParameters(params) : '';

@@ -15,3 +16,3 @@ const datas = await getRequest(

},
chroniqueCsv: async (params?: ChroniqueParams): Promise<string> => {
chroniqueCsv: async (params?: ChroniqueParams): Promise<HubeauResponse> => {
const formattedParams = params ? objectToStringParameters(params) : '';

@@ -24,3 +25,3 @@ const datas = await getRequest(

},
station: async (params?: StationParams): Promise<string> => {
station: async (params?: StationParams): Promise<HubeauResponse> => {
const formattedParams = params ? objectToStringParameters(params) : '';

@@ -33,3 +34,3 @@ const datas = await getRequest(

},
stationCsv: async (params?: StationParams): Promise<string> => {
stationCsv: async (params?: StationParams): Promise<HubeauResponse> => {
const formattedParams = params ? objectToStringParameters(params) : '';

@@ -36,0 +37,0 @@ const datas = await getRequest(

@@ -10,2 +10,6 @@ export const hostname = 'https://hubeau.eaufrance.fr';

hydrometrie: '/api/v1/hydrometrie/',
prelevements: '/api/v1/prelevements/',
hydrobio: '/api/vbeta/hydrobio/',
surveillanceLittoral: '/api/vbeta/surveillance_littoral/',
qualiteEauPotable: '/api/vbeta/qualite_eau_potable/',
};

@@ -8,2 +8,6 @@ import etatPiscicole from './commandes/etatPiscicole';

import hydrometrie from './commandes/hydrometrie';
import prelevements from './commandes/prelevements';
import hydrobio from './commandes/hydrobio';
import surveillanceLittoral from './commandes/surveillanceLittoral';
import qualiteEauPotable from './commandes/qualiteEauPotable';

@@ -18,2 +22,6 @@ export {

hydrometrie,
prelevements,
hydrobio,
surveillanceLittoral,
qualiteEauPotable
};

@@ -0,1 +1,19 @@

type NestedObject = {
[key: string]: string | number | boolean | string[] | number[];
};
type Response = {
count: number;
prev: string;
next: string;
data: {
[key: string]:
| string
| number
| boolean
| string[]
| number[]
| NestedObject;
};
};
export type HubeauResponse = string | Response;
export type Mois = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;

@@ -2,0 +20,0 @@ export type Format = 'json' | 'geojson';

@@ -11,4 +11,4 @@ {

},
"include": ["src"],
"include": ["src", "exemples/ts"],
"exclude": ["node_modules", "dist"]
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc