@metarisc/metarisc-js 0.0.1-alpha.2 → 0.0.1-alpha.21
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/.eslintrc +10 -2
- package/.github/workflows/main.yml +29 -0
- package/README.md +29 -0
- package/lib/api/DossiersAPI.d.ts +62 -0
- package/lib/api/DossiersAPI.js +136 -0
- package/lib/api/EvenementsAPI.d.ts +41 -0
- package/lib/api/EvenementsAPI.js +90 -0
- package/lib/api/NotificationsAPI.d.ts +30 -0
- package/lib/api/NotificationsAPI.js +71 -0
- package/lib/api/OrganisationAPI.d.ts +19 -0
- package/lib/api/OrganisationAPI.js +43 -0
- package/lib/api/OrganisationsAPI.d.ts +19 -0
- package/lib/api/OrganisationsAPI.js +43 -0
- package/lib/api/PEIAPI.d.ts +43 -0
- package/lib/api/PEIAPI.js +91 -0
- package/lib/api/POIAPI.d.ts +50 -0
- package/lib/api/POIAPI.js +106 -0
- package/lib/api/PingAPI.d.ts +11 -0
- package/lib/api/PingAPI.js +27 -0
- package/lib/api/SupportAPI.d.ts +25 -0
- package/lib/api/SupportAPI.js +57 -0
- package/lib/api/UtilisateursAPI.d.ts +19 -0
- package/lib/api/UtilisateursAPI.js +42 -0
- package/lib/auth/oauth2.d.ts +19 -0
- package/lib/auth/oauth2.js +25 -0
- package/lib/client.d.ts +33 -0
- package/lib/client.js +97 -0
- package/lib/collection.d.ts +42 -0
- package/lib/collection.js +52 -0
- package/lib/core.d.ts +48 -0
- package/lib/core.js +28 -0
- package/lib/index.d.ts +15 -1
- package/lib/index.js +27 -1
- package/lib/metarisc.d.ts +20 -18
- package/lib/metarisc.js +36 -27
- package/lib/model/AdressePostale.d.ts +10 -0
- package/lib/model/AdressePostale.js +2 -0
- package/lib/model/AnomalieDECI.d.ts +10 -0
- package/lib/model/AnomalieDECI.js +9 -0
- package/lib/model/Contact.d.ts +13 -0
- package/lib/model/Contact.js +2 -0
- package/lib/model/DescriptifTechnique.d.ts +40 -0
- package/lib/model/DescriptifTechnique.js +45 -0
- package/lib/model/DescriptifTechniqueBase.d.ts +5 -0
- package/lib/model/DescriptifTechniqueBase.js +2 -0
- package/lib/model/DescriptifTechniqueDECIBase.d.ts +16 -0
- package/lib/model/DescriptifTechniqueDECIBase.js +9 -0
- package/lib/model/DescriptifTechniquePENA.d.ts +43 -0
- package/lib/model/DescriptifTechniquePENA.js +40 -0
- package/lib/model/DescriptifTechniquePENAAllOfRealimentation.d.ts +10 -0
- package/lib/model/DescriptifTechniquePENAAllOfRealimentation.js +9 -0
- package/lib/model/DescriptifTechniquePENAAllOfVolumes.d.ts +4 -0
- package/lib/model/DescriptifTechniquePENAAllOfVolumes.js +2 -0
- package/lib/model/DescriptifTechniquePIBI.d.ts +31 -0
- package/lib/model/DescriptifTechniquePIBI.js +25 -0
- package/lib/model/DescriptifTechniquePIBIAllOfPesees.d.ts +6 -0
- package/lib/model/DescriptifTechniquePIBIAllOfPesees.js +2 -0
- package/lib/model/Document.d.ts +3 -0
- package/lib/model/Document.js +2 -0
- package/lib/model/Dossier.d.ts +17 -0
- package/lib/model/Dossier.js +8 -0
- package/lib/model/Email.d.ts +6 -0
- package/lib/model/Email.js +2 -0
- package/lib/model/Evenement.d.ts +14 -0
- package/lib/model/Evenement.js +10 -0
- package/lib/model/Feature.d.ts +6 -0
- package/lib/model/Feature.js +2 -0
- package/lib/model/FeatureGeometry.d.ts +5 -0
- package/lib/model/FeatureGeometry.js +2 -0
- package/lib/model/GetEvenement404Response.d.ts +6 -0
- package/lib/model/GetEvenement404Response.js +2 -0
- package/lib/model/GetEvenementDetails404Response.d.ts +6 -0
- package/lib/model/GetEvenementDetails404Response.js +2 -0
- package/lib/model/GetFeature200Response.d.ts +7 -0
- package/lib/model/GetFeature200Response.js +2 -0
- package/lib/model/GetFeature200ResponseCrs.d.ts +5 -0
- package/lib/model/GetFeature200ResponseCrs.js +2 -0
- package/lib/model/GetFeature200ResponseCrsProperties.d.ts +3 -0
- package/lib/model/GetFeature200ResponseCrsProperties.js +2 -0
- package/lib/model/GetNotification404Response.d.ts +6 -0
- package/lib/model/GetNotification404Response.js +2 -0
- package/lib/model/Notification.d.ts +12 -0
- package/lib/model/Notification.js +2 -0
- package/lib/model/Organisation.d.ts +9 -0
- package/lib/model/Organisation.js +7 -0
- package/lib/model/PEI.d.ts +13 -0
- package/lib/model/PEI.js +2 -0
- package/lib/model/PEIReferencesExterieuresInner.d.ts +4 -0
- package/lib/model/PEIReferencesExterieuresInner.js +2 -0
- package/lib/model/POI.d.ts +13 -0
- package/lib/model/POI.js +2 -0
- package/lib/model/POIReferencesExterieuresInner.d.ts +4 -0
- package/lib/model/POIReferencesExterieuresInner.js +2 -0
- package/lib/model/PatchPoiRequest.d.ts +3 -0
- package/lib/model/PatchPoiRequest.js +2 -0
- package/lib/model/PieceJointe.d.ts +7 -0
- package/lib/model/PieceJointe.js +2 -0
- package/lib/model/Ping200Response.d.ts +3 -0
- package/lib/model/Ping200Response.js +2 -0
- package/lib/model/PostDossierRequest.d.ts +5 -0
- package/lib/model/PostDossierRequest.js +2 -0
- package/lib/model/PostEvenementRequest.d.ts +7 -0
- package/lib/model/PostEvenementRequest.js +2 -0
- package/lib/model/PostNotification400Response.d.ts +6 -0
- package/lib/model/PostNotification400Response.js +2 -0
- package/lib/model/PostNotification500Response.d.ts +6 -0
- package/lib/model/PostNotification500Response.js +2 -0
- package/lib/model/PostNotificationRequest.d.ts +9 -0
- package/lib/model/PostNotificationRequest.js +2 -0
- package/lib/model/PostTicketRequest.d.ts +10 -0
- package/lib/model/PostTicketRequest.js +2 -0
- package/lib/model/SuiviAdministratif.d.ts +6 -0
- package/lib/model/SuiviAdministratif.js +2 -0
- package/lib/model/Tag.d.ts +3 -0
- package/lib/model/Tag.js +2 -0
- package/lib/model/Ticket.d.ts +17 -0
- package/lib/model/Ticket.js +12 -0
- package/lib/model/Type.d.ts +5 -0
- package/lib/model/Type.js +2 -0
- package/lib/model/Utilisateur.d.ts +12 -0
- package/lib/model/Utilisateur.js +2 -0
- package/lib/model/Utilisateur1.d.ts +3 -0
- package/lib/model/Utilisateur1.js +2 -0
- package/lib/model/Workflow.d.ts +4 -0
- package/lib/model/Workflow.js +2 -0
- package/lib/model/WorkflowBase.d.ts +14 -0
- package/lib/model/WorkflowBase.js +2 -0
- package/lib/model/WorkflowDossiersLies.d.ts +4 -0
- package/lib/model/WorkflowDossiersLies.js +2 -0
- package/lib/model/WorkflowPassageCommissionSecurite.d.ts +4 -0
- package/lib/model/WorkflowPassageCommissionSecurite.js +2 -0
- package/lib/model/WorkflowRemiseEnServicePEI.d.ts +5 -0
- package/lib/model/WorkflowRemiseEnServicePEI.js +2 -0
- package/lib/tus.d.ts +7 -0
- package/lib/tus.js +43 -0
- package/lib/utils.d.ts +8 -0
- package/lib/utils.js +21 -0
- package/package.json +25 -18
- package/src/api/DossiersAPI.ts +155 -0
- package/src/api/EvenementsAPI.ts +101 -0
- package/src/api/NotificationsAPI.ts +79 -0
- package/src/api/OrganisationAPI.ts +46 -0
- package/src/api/OrganisationsAPI.ts +46 -0
- package/src/api/PEIAPI.ts +103 -0
- package/src/api/POIAPI.ts +124 -0
- package/src/api/PingAPI.ts +27 -0
- package/src/api/SupportAPI.ts +63 -0
- package/src/api/UtilisateursAPI.ts +46 -0
- package/src/auth/oauth2.ts +28 -0
- package/src/client.ts +133 -0
- package/src/collection.ts +85 -0
- package/src/core.ts +70 -0
- package/src/index.ts +22 -1
- package/src/metarisc.ts +67 -54
- package/src/model/AdressePostale.ts +10 -0
- package/src/model/AnomalieDECI.ts +11 -0
- package/src/model/Contact.ts +13 -0
- package/src/model/DescriptifTechnique.ts +46 -0
- package/src/model/DescriptifTechniqueBase.ts +5 -0
- package/src/model/DescriptifTechniqueDECIBase.ts +19 -0
- package/src/model/DescriptifTechniquePENA.ts +49 -0
- package/src/model/DescriptifTechniquePENAAllOfRealimentation.ts +11 -0
- package/src/model/DescriptifTechniquePENAAllOfVolumes.ts +4 -0
- package/src/model/DescriptifTechniquePIBI.ts +36 -0
- package/src/model/DescriptifTechniquePIBIAllOfPesees.ts +6 -0
- package/src/model/Document.ts +3 -0
- package/src/model/Dossier.ts +19 -0
- package/src/model/Email.ts +6 -0
- package/src/model/Evenement.ts +15 -0
- package/src/model/Feature.ts +7 -0
- package/src/model/FeatureGeometry.ts +5 -0
- package/src/model/GetEvenement404Response.ts +6 -0
- package/src/model/GetEvenementDetails404Response.ts +6 -0
- package/src/model/GetFeature200Response.ts +8 -0
- package/src/model/GetFeature200ResponseCrs.ts +6 -0
- package/src/model/GetFeature200ResponseCrsProperties.ts +3 -0
- package/src/model/GetNotification404Response.ts +6 -0
- package/src/model/Notification.ts +12 -0
- package/src/model/Organisation.ts +10 -0
- package/src/model/PEI.ts +14 -0
- package/src/model/PEIReferencesExterieuresInner.ts +4 -0
- package/src/model/POI.ts +14 -0
- package/src/model/POIReferencesExterieuresInner.ts +4 -0
- package/src/model/PatchPoiRequest.ts +3 -0
- package/src/model/PieceJointe.ts +7 -0
- package/src/model/Ping200Response.ts +3 -0
- package/src/model/PostDossierRequest.ts +5 -0
- package/src/model/PostEvenementRequest.ts +7 -0
- package/src/model/PostNotification400Response.ts +6 -0
- package/src/model/PostNotification500Response.ts +6 -0
- package/src/model/PostNotificationRequest.ts +9 -0
- package/src/model/PostTicketRequest.ts +10 -0
- package/src/model/SuiviAdministratif.ts +6 -0
- package/src/model/Tag.ts +3 -0
- package/src/model/Ticket.ts +18 -0
- package/src/model/Type.ts +5 -0
- package/src/model/Utilisateur.ts +12 -0
- package/src/model/Utilisateur1.ts +3 -0
- package/src/model/Workflow.ts +5 -0
- package/src/model/WorkflowBase.ts +14 -0
- package/src/model/WorkflowDossiersLies.ts +5 -0
- package/src/model/WorkflowPassageCommissionSecurite.ts +5 -0
- package/src/model/WorkflowRemiseEnServicePEI.ts +6 -0
- package/src/tus.ts +44 -0
- package/src/utils.ts +23 -0
- package/tsconfig.json +11 -10
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { AxiosResponse } from "axios";
|
|
2
|
+
import { Core } from "./core";
|
|
3
|
+
export type PaginationResults<T> = {
|
|
4
|
+
data?: Array<T>;
|
|
5
|
+
meta?: {
|
|
6
|
+
pagination?: PaginationData;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
export type PaginationData = {
|
|
10
|
+
total: number;
|
|
11
|
+
count: number;
|
|
12
|
+
per_page: number;
|
|
13
|
+
current_page: number;
|
|
14
|
+
total_pages: number;
|
|
15
|
+
};
|
|
16
|
+
type PaginationRequestConfig = {
|
|
17
|
+
headers?: {
|
|
18
|
+
[name: string]: string | string[];
|
|
19
|
+
};
|
|
20
|
+
params?: {
|
|
21
|
+
[param: string]: string | string[];
|
|
22
|
+
};
|
|
23
|
+
endpoint?: string;
|
|
24
|
+
};
|
|
25
|
+
export declare class Collection<T> {
|
|
26
|
+
private client;
|
|
27
|
+
private config;
|
|
28
|
+
constructor(client: Core, config: PaginationRequestConfig);
|
|
29
|
+
/**
|
|
30
|
+
* Fetch current page results.
|
|
31
|
+
*/
|
|
32
|
+
fetchPage(page: number, per_page: number): Promise<AxiosResponse<PaginationResults<T>>>;
|
|
33
|
+
/**
|
|
34
|
+
* Generates an iterator to automatically iterate over all pages in a result set.
|
|
35
|
+
*/
|
|
36
|
+
autoPagingIterator(): AsyncGenerator<T, void, unknown>;
|
|
37
|
+
/**
|
|
38
|
+
* Generates an array with all results set.
|
|
39
|
+
*/
|
|
40
|
+
autoPagingIteratorToArray(): Promise<Array<T>>;
|
|
41
|
+
}
|
|
42
|
+
export {};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Collection = void 0;
|
|
4
|
+
class Collection {
|
|
5
|
+
constructor(client, config) {
|
|
6
|
+
this.client = client;
|
|
7
|
+
this.config = config;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Fetch current page results.
|
|
11
|
+
*/
|
|
12
|
+
async fetchPage(page, per_page) {
|
|
13
|
+
return this.client.request({
|
|
14
|
+
method: 'GET',
|
|
15
|
+
endpoint: this.config.endpoint,
|
|
16
|
+
headers: this.config.headers,
|
|
17
|
+
params: { ...this.config.params, ...{
|
|
18
|
+
page: page.toString(),
|
|
19
|
+
per_page: per_page.toString()
|
|
20
|
+
} },
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Generates an iterator to automatically iterate over all pages in a result set.
|
|
25
|
+
*/
|
|
26
|
+
async *autoPagingIterator() {
|
|
27
|
+
let current_page = this.config.params && 'page' in this.config.params ? parseInt(this.config.params['page'].toString()) : 1;
|
|
28
|
+
const per_page = this.config.params && 'per_page' in this.config.params ? parseInt(this.config.params['per_page'].toString()) : 100;
|
|
29
|
+
while (true) {
|
|
30
|
+
const response = await this.fetchPage(current_page, per_page);
|
|
31
|
+
for (const element of response.data.data) {
|
|
32
|
+
yield element;
|
|
33
|
+
}
|
|
34
|
+
if (response.data.meta.pagination.current_page === response.data.meta.pagination.total_pages) {
|
|
35
|
+
break;
|
|
36
|
+
}
|
|
37
|
+
current_page++;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Generates an array with all results set.
|
|
42
|
+
*/
|
|
43
|
+
async autoPagingIteratorToArray() {
|
|
44
|
+
const generator = this.autoPagingIterator();
|
|
45
|
+
const results = [];
|
|
46
|
+
for await (const item of generator) {
|
|
47
|
+
results.push(item);
|
|
48
|
+
}
|
|
49
|
+
return results;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
exports.Collection = Collection;
|
package/lib/core.d.ts
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { AxiosResponse } from "axios";
|
|
2
|
+
import { AuthMethod, Client } from "./client";
|
|
3
|
+
import { Collection } from "./collection";
|
|
4
|
+
interface RequestConfig {
|
|
5
|
+
body?: any;
|
|
6
|
+
headers?: {
|
|
7
|
+
[name: string]: string | string[];
|
|
8
|
+
};
|
|
9
|
+
params?: {
|
|
10
|
+
[param: string]: string | string[];
|
|
11
|
+
};
|
|
12
|
+
endpoint?: string;
|
|
13
|
+
method?: string;
|
|
14
|
+
}
|
|
15
|
+
export interface MetariscConfig {
|
|
16
|
+
metarisc_url?: string;
|
|
17
|
+
}
|
|
18
|
+
export interface OAuth2Options {
|
|
19
|
+
client_id?: string;
|
|
20
|
+
client_secret?: string;
|
|
21
|
+
response_type?: string;
|
|
22
|
+
redirect_uri?: string;
|
|
23
|
+
state?: string;
|
|
24
|
+
code?: string;
|
|
25
|
+
scope?: string;
|
|
26
|
+
[name: string]: string;
|
|
27
|
+
}
|
|
28
|
+
export interface GrantResponse {
|
|
29
|
+
access_token?: string;
|
|
30
|
+
expires_in?: number;
|
|
31
|
+
id_token?: string;
|
|
32
|
+
refresh_token?: string;
|
|
33
|
+
refresh_expires_in?: number;
|
|
34
|
+
session_state?: string;
|
|
35
|
+
token_type?: string;
|
|
36
|
+
error?: string;
|
|
37
|
+
error_description?: string;
|
|
38
|
+
}
|
|
39
|
+
export declare class Core {
|
|
40
|
+
protected client: Client;
|
|
41
|
+
protected config: MetariscConfig;
|
|
42
|
+
constructor(config: MetariscConfig, client?: Client);
|
|
43
|
+
request<T>(config: RequestConfig): Promise<AxiosResponse<T>>;
|
|
44
|
+
collect<T>(config: RequestConfig): Collection<T>;
|
|
45
|
+
authenticate(auth_method: AuthMethod, options: OAuth2Options): Promise<GrantResponse>;
|
|
46
|
+
setAccessToken(access_token: string): void;
|
|
47
|
+
}
|
|
48
|
+
export {};
|
package/lib/core.js
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Core = void 0;
|
|
4
|
+
const client_1 = require("./client");
|
|
5
|
+
const collection_1 = require("./collection");
|
|
6
|
+
class Core {
|
|
7
|
+
constructor(config, client) {
|
|
8
|
+
this.config = config;
|
|
9
|
+
this.client = client ?? new client_1.Client(config);
|
|
10
|
+
}
|
|
11
|
+
async request(config) {
|
|
12
|
+
return this.client.request(config);
|
|
13
|
+
}
|
|
14
|
+
collect(config) {
|
|
15
|
+
return new collection_1.Collection(this, {
|
|
16
|
+
endpoint: config.endpoint || '/',
|
|
17
|
+
params: config.params,
|
|
18
|
+
headers: config.headers
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
async authenticate(auth_method, options) {
|
|
22
|
+
return await this.client.authenticate(auth_method, options);
|
|
23
|
+
}
|
|
24
|
+
setAccessToken(access_token) {
|
|
25
|
+
this.client.setAccessToken(access_token);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
exports.Core = Core;
|
package/lib/index.d.ts
CHANGED
|
@@ -1 +1,15 @@
|
|
|
1
|
-
export { Metarisc } from
|
|
1
|
+
export { Metarisc } from "./metarisc";
|
|
2
|
+
export { OAuth2 } from "./auth/oauth2";
|
|
3
|
+
export { Core } from "./core";
|
|
4
|
+
export { Collection } from "./collection";
|
|
5
|
+
export { PaginationResults } from "./collection";
|
|
6
|
+
export { AuthMethod } from "./client";
|
|
7
|
+
export { Client } from "./client";
|
|
8
|
+
export { Tus } from "./tus";
|
|
9
|
+
export { DossiersAPI } from './api/DossiersAPI';
|
|
10
|
+
export { EvenementsAPI } from './api/EvenementsAPI';
|
|
11
|
+
export { NotificationsAPI } from './api/NotificationsAPI';
|
|
12
|
+
export { OrganisationsAPI } from './api/OrganisationsAPI';
|
|
13
|
+
export { PEIAPI } from './api/PEIAPI';
|
|
14
|
+
export { PingAPI } from './api/PingAPI';
|
|
15
|
+
export { UtilisateursAPI } from './api/UtilisateursAPI';
|
package/lib/index.js
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Metarisc = void 0;
|
|
3
|
+
exports.UtilisateursAPI = exports.PingAPI = exports.PEIAPI = exports.OrganisationsAPI = exports.NotificationsAPI = exports.EvenementsAPI = exports.DossiersAPI = exports.Tus = exports.Client = exports.AuthMethod = exports.Collection = exports.Core = exports.OAuth2 = exports.Metarisc = void 0;
|
|
4
4
|
var metarisc_1 = require("./metarisc");
|
|
5
5
|
Object.defineProperty(exports, "Metarisc", { enumerable: true, get: function () { return metarisc_1.Metarisc; } });
|
|
6
|
+
var oauth2_1 = require("./auth/oauth2");
|
|
7
|
+
Object.defineProperty(exports, "OAuth2", { enumerable: true, get: function () { return oauth2_1.OAuth2; } });
|
|
8
|
+
var core_1 = require("./core");
|
|
9
|
+
Object.defineProperty(exports, "Core", { enumerable: true, get: function () { return core_1.Core; } });
|
|
10
|
+
var collection_1 = require("./collection");
|
|
11
|
+
Object.defineProperty(exports, "Collection", { enumerable: true, get: function () { return collection_1.Collection; } });
|
|
12
|
+
var client_1 = require("./client");
|
|
13
|
+
Object.defineProperty(exports, "AuthMethod", { enumerable: true, get: function () { return client_1.AuthMethod; } });
|
|
14
|
+
var client_2 = require("./client");
|
|
15
|
+
Object.defineProperty(exports, "Client", { enumerable: true, get: function () { return client_2.Client; } });
|
|
16
|
+
var tus_1 = require("./tus");
|
|
17
|
+
Object.defineProperty(exports, "Tus", { enumerable: true, get: function () { return tus_1.Tus; } });
|
|
18
|
+
var DossiersAPI_1 = require("./api/DossiersAPI");
|
|
19
|
+
Object.defineProperty(exports, "DossiersAPI", { enumerable: true, get: function () { return DossiersAPI_1.DossiersAPI; } });
|
|
20
|
+
var EvenementsAPI_1 = require("./api/EvenementsAPI");
|
|
21
|
+
Object.defineProperty(exports, "EvenementsAPI", { enumerable: true, get: function () { return EvenementsAPI_1.EvenementsAPI; } });
|
|
22
|
+
var NotificationsAPI_1 = require("./api/NotificationsAPI");
|
|
23
|
+
Object.defineProperty(exports, "NotificationsAPI", { enumerable: true, get: function () { return NotificationsAPI_1.NotificationsAPI; } });
|
|
24
|
+
var OrganisationsAPI_1 = require("./api/OrganisationsAPI");
|
|
25
|
+
Object.defineProperty(exports, "OrganisationsAPI", { enumerable: true, get: function () { return OrganisationsAPI_1.OrganisationsAPI; } });
|
|
26
|
+
var PEIAPI_1 = require("./api/PEIAPI");
|
|
27
|
+
Object.defineProperty(exports, "PEIAPI", { enumerable: true, get: function () { return PEIAPI_1.PEIAPI; } });
|
|
28
|
+
var PingAPI_1 = require("./api/PingAPI");
|
|
29
|
+
Object.defineProperty(exports, "PingAPI", { enumerable: true, get: function () { return PingAPI_1.PingAPI; } });
|
|
30
|
+
var UtilisateursAPI_1 = require("./api/UtilisateursAPI");
|
|
31
|
+
Object.defineProperty(exports, "UtilisateursAPI", { enumerable: true, get: function () { return UtilisateursAPI_1.UtilisateursAPI; } });
|
package/lib/metarisc.d.ts
CHANGED
|
@@ -1,19 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import { Core, MetariscConfig } from "./core";
|
|
2
|
+
import { Tus } from "./tus";
|
|
3
|
+
import { Client } from "./client";
|
|
4
|
+
import { DossiersAPI } from './api/DossiersAPI';
|
|
5
|
+
import { EvenementsAPI } from './api/EvenementsAPI';
|
|
6
|
+
import { NotificationsAPI } from './api/NotificationsAPI';
|
|
7
|
+
import { OrganisationsAPI } from './api/OrganisationsAPI';
|
|
8
|
+
import { PEIAPI } from './api/PEIAPI';
|
|
9
|
+
import { PingAPI } from './api/PingAPI';
|
|
10
|
+
import { UtilisateursAPI } from './api/UtilisateursAPI';
|
|
11
|
+
export declare class Metarisc extends Core {
|
|
12
|
+
utilisateurs?: UtilisateursAPI;
|
|
13
|
+
dossiers?: DossiersAPI;
|
|
14
|
+
organisations?: OrganisationsAPI;
|
|
15
|
+
pei?: PEIAPI;
|
|
16
|
+
ping?: PingAPI;
|
|
17
|
+
evenements?: EvenementsAPI;
|
|
18
|
+
notifications?: NotificationsAPI;
|
|
19
|
+
tus?: Tus;
|
|
20
|
+
constructor(config: MetariscConfig, client?: Client);
|
|
12
21
|
}
|
|
13
|
-
export declare class Metarisc {
|
|
14
|
-
private axios;
|
|
15
|
-
constructor();
|
|
16
|
-
request<T>(config: RequestConfig): Promise<AxiosResponse<T>>;
|
|
17
|
-
autoPagingIterator<T>(config: RequestConfig): AsyncGenerator<T, void, unknown>;
|
|
18
|
-
}
|
|
19
|
-
export {};
|
package/lib/metarisc.js
CHANGED
|
@@ -1,34 +1,43 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Metarisc = void 0;
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
4
|
+
const core_1 = require("./core");
|
|
5
|
+
const tus_1 = require("./tus");
|
|
6
|
+
const DossiersAPI_1 = require("./api/DossiersAPI");
|
|
7
|
+
const EvenementsAPI_1 = require("./api/EvenementsAPI");
|
|
8
|
+
const NotificationsAPI_1 = require("./api/NotificationsAPI");
|
|
9
|
+
const OrganisationsAPI_1 = require("./api/OrganisationsAPI");
|
|
10
|
+
const PEIAPI_1 = require("./api/PEIAPI");
|
|
11
|
+
const PingAPI_1 = require("./api/PingAPI");
|
|
12
|
+
const UtilisateursAPI_1 = require("./api/UtilisateursAPI");
|
|
13
|
+
class Metarisc extends core_1.Core {
|
|
14
|
+
constructor(config, client) {
|
|
15
|
+
super(config, client);
|
|
16
|
+
const tmpClient = this.client;
|
|
17
|
+
return new Proxy(this, {
|
|
18
|
+
get: function (metarisc, name, receiver) {
|
|
19
|
+
switch (name) {
|
|
20
|
+
case 'utilisateurs':
|
|
21
|
+
return new UtilisateursAPI_1.UtilisateursAPI(config, tmpClient);
|
|
22
|
+
case 'dossiers':
|
|
23
|
+
return new DossiersAPI_1.DossiersAPI(config, tmpClient);
|
|
24
|
+
case 'organisations':
|
|
25
|
+
return new OrganisationsAPI_1.OrganisationsAPI(config, tmpClient);
|
|
26
|
+
case 'pei':
|
|
27
|
+
return new PEIAPI_1.PEIAPI(config, tmpClient);
|
|
28
|
+
case 'ping':
|
|
29
|
+
return new PingAPI_1.PingAPI(config, tmpClient);
|
|
30
|
+
case 'evenements':
|
|
31
|
+
return new EvenementsAPI_1.EvenementsAPI(config, tmpClient);
|
|
32
|
+
case 'notifications':
|
|
33
|
+
return new NotificationsAPI_1.NotificationsAPI(config, tmpClient);
|
|
34
|
+
case 'tus':
|
|
35
|
+
return new tus_1.Tus(config, tmpClient);
|
|
36
|
+
default:
|
|
37
|
+
return Reflect.get(metarisc, name, receiver);
|
|
38
|
+
}
|
|
29
39
|
}
|
|
30
|
-
|
|
31
|
-
}
|
|
40
|
+
});
|
|
32
41
|
}
|
|
33
42
|
}
|
|
34
43
|
exports.Metarisc = Metarisc;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IndiceDeGraviteEnum = void 0;
|
|
4
|
+
var IndiceDeGraviteEnum;
|
|
5
|
+
(function (IndiceDeGraviteEnum) {
|
|
6
|
+
IndiceDeGraviteEnum[IndiceDeGraviteEnum["NUMBER_0"] = 0] = "NUMBER_0";
|
|
7
|
+
IndiceDeGraviteEnum[IndiceDeGraviteEnum["NUMBER_1"] = 1] = "NUMBER_1";
|
|
8
|
+
IndiceDeGraviteEnum[IndiceDeGraviteEnum["NUMBER_2"] = 2] = "NUMBER_2";
|
|
9
|
+
})(IndiceDeGraviteEnum = exports.IndiceDeGraviteEnum || (exports.IndiceDeGraviteEnum = {}));
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export type Contact = {
|
|
2
|
+
'id'?: string;
|
|
3
|
+
'nom'?: string;
|
|
4
|
+
'prenom'?: string;
|
|
5
|
+
'fonction'?: string;
|
|
6
|
+
'telephone'?: string;
|
|
7
|
+
'adresse'?: string;
|
|
8
|
+
'site_web_url'?: string;
|
|
9
|
+
'civilite'?: string;
|
|
10
|
+
'societe'?: string;
|
|
11
|
+
'email'?: string;
|
|
12
|
+
'observations'?: string;
|
|
13
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { DescriptifTechniquePENA } from '../../src/model/DescriptifTechniquePENA';
|
|
2
|
+
import { DescriptifTechniquePIBI } from '../../src/model/DescriptifTechniquePIBI';
|
|
3
|
+
export type DescriptifTechnique = DescriptifTechniquePIBI | DescriptifTechniquePENA;
|
|
4
|
+
export declare enum DomanialiteEnum {
|
|
5
|
+
Privee = "privee",
|
|
6
|
+
Publique = "publique",
|
|
7
|
+
PriveeConventionnee = "privee_conventionnee"
|
|
8
|
+
}
|
|
9
|
+
export declare enum NatureEnum {
|
|
10
|
+
PointAspiration = "POINT_ASPIRATION",
|
|
11
|
+
CiterneAerienne = "CITERNE_AERIENNE",
|
|
12
|
+
CiterneEnterree = "CITERNE_ENTERREE",
|
|
13
|
+
CiterneSemiEnterree = "CITERNE_SEMI_ENTERREE",
|
|
14
|
+
CiterneSouple = "CITERNE_SOUPLE",
|
|
15
|
+
ReserveAerienne = "RESERVE_AERIENNE",
|
|
16
|
+
PoteauRelais = "POTEAU_RELAIS",
|
|
17
|
+
PuisardAspiration = "PUISARD_ASPIRATION",
|
|
18
|
+
PriseDeportee = "PRISE_DEPORTEE",
|
|
19
|
+
PoteauAspiration1x100 = "POTEAU_ASPIRATION_1x100",
|
|
20
|
+
PoteauAspiration2x100 = "POTEAU_ASPIRATION_2x100",
|
|
21
|
+
BoucheAspiration1x100 = "BOUCHE_ASPIRATION_1x100"
|
|
22
|
+
}
|
|
23
|
+
export declare enum CaracteristiquesParticulieresEnum {
|
|
24
|
+
Renversable = "RENVERSABLE",
|
|
25
|
+
PreMelange = "PRE_MELANGE"
|
|
26
|
+
}
|
|
27
|
+
export declare enum EssaisEnginUtiliseEnum {
|
|
28
|
+
Aucun = "AUCUN",
|
|
29
|
+
Fpt = "FPT",
|
|
30
|
+
Mpr = "MPR",
|
|
31
|
+
Ccf = "CCF"
|
|
32
|
+
}
|
|
33
|
+
export declare enum EquipementsEnum {
|
|
34
|
+
Guichet = "GUICHET",
|
|
35
|
+
CanneAspiration = "CANNE_ASPIRATION",
|
|
36
|
+
Puit = "PUIT",
|
|
37
|
+
TrouHomme = "TROU_HOMME",
|
|
38
|
+
RaccordTournant = "RACCORD_TOURNANT",
|
|
39
|
+
PriseDirecte = "PRISE_DIRECTE"
|
|
40
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EquipementsEnum = exports.EssaisEnginUtiliseEnum = exports.CaracteristiquesParticulieresEnum = exports.NatureEnum = exports.DomanialiteEnum = void 0;
|
|
4
|
+
var DomanialiteEnum;
|
|
5
|
+
(function (DomanialiteEnum) {
|
|
6
|
+
DomanialiteEnum["Privee"] = "privee";
|
|
7
|
+
DomanialiteEnum["Publique"] = "publique";
|
|
8
|
+
DomanialiteEnum["PriveeConventionnee"] = "privee_conventionnee";
|
|
9
|
+
})(DomanialiteEnum = exports.DomanialiteEnum || (exports.DomanialiteEnum = {}));
|
|
10
|
+
var NatureEnum;
|
|
11
|
+
(function (NatureEnum) {
|
|
12
|
+
NatureEnum["PointAspiration"] = "POINT_ASPIRATION";
|
|
13
|
+
NatureEnum["CiterneAerienne"] = "CITERNE_AERIENNE";
|
|
14
|
+
NatureEnum["CiterneEnterree"] = "CITERNE_ENTERREE";
|
|
15
|
+
NatureEnum["CiterneSemiEnterree"] = "CITERNE_SEMI_ENTERREE";
|
|
16
|
+
NatureEnum["CiterneSouple"] = "CITERNE_SOUPLE";
|
|
17
|
+
NatureEnum["ReserveAerienne"] = "RESERVE_AERIENNE";
|
|
18
|
+
NatureEnum["PoteauRelais"] = "POTEAU_RELAIS";
|
|
19
|
+
NatureEnum["PuisardAspiration"] = "PUISARD_ASPIRATION";
|
|
20
|
+
NatureEnum["PriseDeportee"] = "PRISE_DEPORTEE";
|
|
21
|
+
NatureEnum["PoteauAspiration1x100"] = "POTEAU_ASPIRATION_1x100";
|
|
22
|
+
NatureEnum["PoteauAspiration2x100"] = "POTEAU_ASPIRATION_2x100";
|
|
23
|
+
NatureEnum["BoucheAspiration1x100"] = "BOUCHE_ASPIRATION_1x100";
|
|
24
|
+
})(NatureEnum = exports.NatureEnum || (exports.NatureEnum = {}));
|
|
25
|
+
var CaracteristiquesParticulieresEnum;
|
|
26
|
+
(function (CaracteristiquesParticulieresEnum) {
|
|
27
|
+
CaracteristiquesParticulieresEnum["Renversable"] = "RENVERSABLE";
|
|
28
|
+
CaracteristiquesParticulieresEnum["PreMelange"] = "PRE_MELANGE";
|
|
29
|
+
})(CaracteristiquesParticulieresEnum = exports.CaracteristiquesParticulieresEnum || (exports.CaracteristiquesParticulieresEnum = {}));
|
|
30
|
+
var EssaisEnginUtiliseEnum;
|
|
31
|
+
(function (EssaisEnginUtiliseEnum) {
|
|
32
|
+
EssaisEnginUtiliseEnum["Aucun"] = "AUCUN";
|
|
33
|
+
EssaisEnginUtiliseEnum["Fpt"] = "FPT";
|
|
34
|
+
EssaisEnginUtiliseEnum["Mpr"] = "MPR";
|
|
35
|
+
EssaisEnginUtiliseEnum["Ccf"] = "CCF";
|
|
36
|
+
})(EssaisEnginUtiliseEnum = exports.EssaisEnginUtiliseEnum || (exports.EssaisEnginUtiliseEnum = {}));
|
|
37
|
+
var EquipementsEnum;
|
|
38
|
+
(function (EquipementsEnum) {
|
|
39
|
+
EquipementsEnum["Guichet"] = "GUICHET";
|
|
40
|
+
EquipementsEnum["CanneAspiration"] = "CANNE_ASPIRATION";
|
|
41
|
+
EquipementsEnum["Puit"] = "PUIT";
|
|
42
|
+
EquipementsEnum["TrouHomme"] = "TROU_HOMME";
|
|
43
|
+
EquipementsEnum["RaccordTournant"] = "RACCORD_TOURNANT";
|
|
44
|
+
EquipementsEnum["PriseDirecte"] = "PRISE_DIRECTE";
|
|
45
|
+
})(EquipementsEnum = exports.EquipementsEnum || (exports.EquipementsEnum = {}));
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { AnomalieDECI } from '../../src/model/AnomalieDECI';
|
|
2
|
+
import { DescriptifTechniqueBase } from '../model/DescriptifTechniqueBase';
|
|
3
|
+
export type DescriptifTechniqueDECIBase = DescriptifTechniqueBase & {
|
|
4
|
+
'anomalies'?: Array<AnomalieDECI>;
|
|
5
|
+
'est_reglementaire'?: boolean;
|
|
6
|
+
'est_reforme'?: boolean;
|
|
7
|
+
'domanialite'?: DomanialiteEnum;
|
|
8
|
+
'est_conforme'?: boolean;
|
|
9
|
+
'performance_theorique'?: number;
|
|
10
|
+
'performance_reelle'?: number;
|
|
11
|
+
};
|
|
12
|
+
export declare enum DomanialiteEnum {
|
|
13
|
+
Privee = "privee",
|
|
14
|
+
Publique = "publique",
|
|
15
|
+
PriveeConventionnee = "privee_conventionnee"
|
|
16
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DomanialiteEnum = void 0;
|
|
4
|
+
var DomanialiteEnum;
|
|
5
|
+
(function (DomanialiteEnum) {
|
|
6
|
+
DomanialiteEnum["Privee"] = "privee";
|
|
7
|
+
DomanialiteEnum["Publique"] = "publique";
|
|
8
|
+
DomanialiteEnum["PriveeConventionnee"] = "privee_conventionnee";
|
|
9
|
+
})(DomanialiteEnum = exports.DomanialiteEnum || (exports.DomanialiteEnum = {}));
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { DescriptifTechniquePENAAllOfRealimentation } from '../../src/model/DescriptifTechniquePENAAllOfRealimentation';
|
|
2
|
+
import { DescriptifTechniquePENAAllOfVolumes } from '../../src/model/DescriptifTechniquePENAAllOfVolumes';
|
|
3
|
+
import { DescriptifTechniqueDECIBase } from '../model/DescriptifTechniqueDECIBase';
|
|
4
|
+
export type DescriptifTechniquePENA = DescriptifTechniqueDECIBase & {
|
|
5
|
+
'essais_engin_utilise'?: EssaisEnginUtiliseEnum;
|
|
6
|
+
'equipements'?: EquipementsEnum;
|
|
7
|
+
'nature'?: NatureEnum;
|
|
8
|
+
'volumes'?: DescriptifTechniquePENAAllOfVolumes;
|
|
9
|
+
'realimentation'?: Array<DescriptifTechniquePENAAllOfRealimentation>;
|
|
10
|
+
};
|
|
11
|
+
export declare enum DomanialiteEnum {
|
|
12
|
+
Privee = "privee",
|
|
13
|
+
Publique = "publique",
|
|
14
|
+
PriveeConventionnee = "privee_conventionnee"
|
|
15
|
+
}
|
|
16
|
+
export declare enum EssaisEnginUtiliseEnum {
|
|
17
|
+
Aucun = "AUCUN",
|
|
18
|
+
Fpt = "FPT",
|
|
19
|
+
Mpr = "MPR",
|
|
20
|
+
Ccf = "CCF"
|
|
21
|
+
}
|
|
22
|
+
export declare enum EquipementsEnum {
|
|
23
|
+
Guichet = "GUICHET",
|
|
24
|
+
CanneAspiration = "CANNE_ASPIRATION",
|
|
25
|
+
Puit = "PUIT",
|
|
26
|
+
TrouHomme = "TROU_HOMME",
|
|
27
|
+
RaccordTournant = "RACCORD_TOURNANT",
|
|
28
|
+
PriseDirecte = "PRISE_DIRECTE"
|
|
29
|
+
}
|
|
30
|
+
export declare enum NatureEnum {
|
|
31
|
+
PointAspiration = "POINT_ASPIRATION",
|
|
32
|
+
CiterneAerienne = "CITERNE_AERIENNE",
|
|
33
|
+
CiterneEnterree = "CITERNE_ENTERREE",
|
|
34
|
+
CiterneSemiEnterree = "CITERNE_SEMI_ENTERREE",
|
|
35
|
+
CiterneSouple = "CITERNE_SOUPLE",
|
|
36
|
+
ReserveAerienne = "RESERVE_AERIENNE",
|
|
37
|
+
PoteauRelais = "POTEAU_RELAIS",
|
|
38
|
+
PuisardAspiration = "PUISARD_ASPIRATION",
|
|
39
|
+
PriseDeportee = "PRISE_DEPORTEE",
|
|
40
|
+
PoteauAspiration1x100 = "POTEAU_ASPIRATION_1x100",
|
|
41
|
+
PoteauAspiration2x100 = "POTEAU_ASPIRATION_2x100",
|
|
42
|
+
BoucheAspiration1x100 = "BOUCHE_ASPIRATION_1x100"
|
|
43
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NatureEnum = exports.EquipementsEnum = exports.EssaisEnginUtiliseEnum = exports.DomanialiteEnum = void 0;
|
|
4
|
+
var DomanialiteEnum;
|
|
5
|
+
(function (DomanialiteEnum) {
|
|
6
|
+
DomanialiteEnum["Privee"] = "privee";
|
|
7
|
+
DomanialiteEnum["Publique"] = "publique";
|
|
8
|
+
DomanialiteEnum["PriveeConventionnee"] = "privee_conventionnee";
|
|
9
|
+
})(DomanialiteEnum = exports.DomanialiteEnum || (exports.DomanialiteEnum = {}));
|
|
10
|
+
var EssaisEnginUtiliseEnum;
|
|
11
|
+
(function (EssaisEnginUtiliseEnum) {
|
|
12
|
+
EssaisEnginUtiliseEnum["Aucun"] = "AUCUN";
|
|
13
|
+
EssaisEnginUtiliseEnum["Fpt"] = "FPT";
|
|
14
|
+
EssaisEnginUtiliseEnum["Mpr"] = "MPR";
|
|
15
|
+
EssaisEnginUtiliseEnum["Ccf"] = "CCF";
|
|
16
|
+
})(EssaisEnginUtiliseEnum = exports.EssaisEnginUtiliseEnum || (exports.EssaisEnginUtiliseEnum = {}));
|
|
17
|
+
var EquipementsEnum;
|
|
18
|
+
(function (EquipementsEnum) {
|
|
19
|
+
EquipementsEnum["Guichet"] = "GUICHET";
|
|
20
|
+
EquipementsEnum["CanneAspiration"] = "CANNE_ASPIRATION";
|
|
21
|
+
EquipementsEnum["Puit"] = "PUIT";
|
|
22
|
+
EquipementsEnum["TrouHomme"] = "TROU_HOMME";
|
|
23
|
+
EquipementsEnum["RaccordTournant"] = "RACCORD_TOURNANT";
|
|
24
|
+
EquipementsEnum["PriseDirecte"] = "PRISE_DIRECTE";
|
|
25
|
+
})(EquipementsEnum = exports.EquipementsEnum || (exports.EquipementsEnum = {}));
|
|
26
|
+
var NatureEnum;
|
|
27
|
+
(function (NatureEnum) {
|
|
28
|
+
NatureEnum["PointAspiration"] = "POINT_ASPIRATION";
|
|
29
|
+
NatureEnum["CiterneAerienne"] = "CITERNE_AERIENNE";
|
|
30
|
+
NatureEnum["CiterneEnterree"] = "CITERNE_ENTERREE";
|
|
31
|
+
NatureEnum["CiterneSemiEnterree"] = "CITERNE_SEMI_ENTERREE";
|
|
32
|
+
NatureEnum["CiterneSouple"] = "CITERNE_SOUPLE";
|
|
33
|
+
NatureEnum["ReserveAerienne"] = "RESERVE_AERIENNE";
|
|
34
|
+
NatureEnum["PoteauRelais"] = "POTEAU_RELAIS";
|
|
35
|
+
NatureEnum["PuisardAspiration"] = "PUISARD_ASPIRATION";
|
|
36
|
+
NatureEnum["PriseDeportee"] = "PRISE_DEPORTEE";
|
|
37
|
+
NatureEnum["PoteauAspiration1x100"] = "POTEAU_ASPIRATION_1x100";
|
|
38
|
+
NatureEnum["PoteauAspiration2x100"] = "POTEAU_ASPIRATION_2x100";
|
|
39
|
+
NatureEnum["BoucheAspiration1x100"] = "BOUCHE_ASPIRATION_1x100";
|
|
40
|
+
})(NatureEnum = exports.NatureEnum || (exports.NatureEnum = {}));
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NatureEnum = void 0;
|
|
4
|
+
var NatureEnum;
|
|
5
|
+
(function (NatureEnum) {
|
|
6
|
+
NatureEnum["AdductionEau"] = "ADDUCTION_EAU";
|
|
7
|
+
NatureEnum["Toiture"] = "TOITURE";
|
|
8
|
+
NatureEnum["Autre"] = "AUTRE";
|
|
9
|
+
})(NatureEnum = exports.NatureEnum || (exports.NatureEnum = {}));
|