@metarisc/metarisc-js 0.0.1-alpha.8 → 0.0.1-alpha.9
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/lib/api/DossiersAPI.d.ts +36 -14
- package/lib/api/DossiersAPI.js +78 -11
- package/lib/api/NotificationsAPI.d.ts +6 -13
- package/lib/api/NotificationsAPI.js +16 -22
- package/lib/api/OrganisationAPI.d.ts +0 -4
- package/lib/api/OrganisationAPI.js +0 -4
- package/lib/api/POIAPI.d.ts +27 -9
- package/lib/api/POIAPI.js +62 -8
- package/lib/api/PingAPI.d.ts +0 -3
- package/lib/api/PingAPI.js +0 -3
- package/lib/api/SupportAPI.d.ts +5 -7
- package/lib/api/SupportAPI.js +14 -7
- package/lib/api/UtilisateursAPI.d.ts +12 -6
- package/lib/api/UtilisateursAPI.js +30 -6
- package/package.json +20 -20
- package/src/api/DossiersAPI.ts +112 -13
- package/src/api/NotificationsAPI.ts +20 -24
- package/src/api/OrganisationAPI.ts +0 -4
- package/src/api/POIAPI.ts +81 -9
- package/src/api/PingAPI.ts +0 -3
- package/src/api/SupportAPI.ts +18 -8
- package/src/api/UtilisateursAPI.ts +36 -6
package/lib/api/DossiersAPI.d.ts
CHANGED
|
@@ -9,31 +9,47 @@ import { PaginateWorkflows200Response } from "../../src/model/PaginateWorkflows2
|
|
|
9
9
|
import { PostDossierRequest } from "../../src/model/PostDossierRequest";
|
|
10
10
|
export declare class DossiersAPI extends Core {
|
|
11
11
|
constructor(config: MetariscConfig);
|
|
12
|
+
getDossier(dossierId: string): Promise<AxiosResponse<Dossier>>;
|
|
12
13
|
/**
|
|
13
|
-
* Récupération de
|
|
14
|
-
* @param
|
|
14
|
+
* Récupération de la liste des dossiers selon des critères de recherche.
|
|
15
|
+
* @param page Numéro de page
|
|
16
|
+
* @param perPage Nombre de résultats demandé
|
|
15
17
|
*/
|
|
16
|
-
|
|
18
|
+
paginateDossiers(page?: number, perPage?: number): Promise<AxiosResponse<PaginateDossiers200Response>>;
|
|
17
19
|
/**
|
|
18
20
|
* Récupération de la liste des dossiers selon des critères de recherche.
|
|
19
21
|
* @param page Numéro de page
|
|
20
22
|
* @param perPage Nombre de résultats demandé
|
|
21
23
|
*/
|
|
22
|
-
|
|
24
|
+
paginateDossiersIterator(page?: number, perPage?: number): AsyncGenerator<PaginateDossiers200Response>;
|
|
23
25
|
/**
|
|
24
26
|
* Récupération de la liste du suivi administratif d'un dossier.
|
|
25
27
|
* @param dossierId ID du dossier
|
|
26
28
|
* @param page Numéro de page
|
|
27
29
|
* @param perPage Nombre de résultats demandé
|
|
28
30
|
*/
|
|
29
|
-
paginateSuiviAdministratif(dossierId: string, page?: number, perPage?: number):
|
|
31
|
+
paginateSuiviAdministratif(dossierId: string, page?: number, perPage?: number): Promise<AxiosResponse<PaginateSuiviAdministratif200Response>>;
|
|
32
|
+
/**
|
|
33
|
+
* Récupération de la liste du suivi administratif d'un dossier.
|
|
34
|
+
* @param dossierId ID du dossier
|
|
35
|
+
* @param page Numéro de page
|
|
36
|
+
* @param perPage Nombre de résultats demandé
|
|
37
|
+
*/
|
|
38
|
+
paginateSuiviAdministratifIterator(dossierId: string, page?: number, perPage?: number): AsyncGenerator<PaginateSuiviAdministratif200Response>;
|
|
39
|
+
/**
|
|
40
|
+
* Récupération de la liste des tags d'un dossier.
|
|
41
|
+
* @param dossierId ID du dossier
|
|
42
|
+
* @param page Numéro de page
|
|
43
|
+
* @param perPage Nombre de résultats demandé
|
|
44
|
+
*/
|
|
45
|
+
paginateTags(dossierId: string, page?: number, perPage?: number): Promise<AxiosResponse<PaginateTags200Response>>;
|
|
30
46
|
/**
|
|
31
47
|
* Récupération de la liste des tags d'un dossier.
|
|
32
48
|
* @param dossierId ID du dossier
|
|
33
49
|
* @param page Numéro de page
|
|
34
50
|
* @param perPage Nombre de résultats demandé
|
|
35
51
|
*/
|
|
36
|
-
|
|
52
|
+
paginateTagsIterator(dossierId: string, page?: number, perPage?: number): AsyncGenerator<PaginateTags200Response>;
|
|
37
53
|
/**
|
|
38
54
|
* Liste des documents liés à un workflow.
|
|
39
55
|
* @param dossierId
|
|
@@ -41,23 +57,29 @@ export declare class DossiersAPI extends Core {
|
|
|
41
57
|
* @param page Numéro de page
|
|
42
58
|
* @param perPage Nombre de résultats demandé
|
|
43
59
|
*/
|
|
44
|
-
paginateWorkflowDocuments(dossierId: string, workflowId: string, page?: number, perPage?: number):
|
|
60
|
+
paginateWorkflowDocuments(dossierId: string, workflowId: string, page?: number, perPage?: number): Promise<AxiosResponse<PaginateWorkflowDocuments200Response>>;
|
|
61
|
+
/**
|
|
62
|
+
* Liste des documents liés à un workflow.
|
|
63
|
+
* @param dossierId
|
|
64
|
+
* @param workflowId
|
|
65
|
+
* @param page Numéro de page
|
|
66
|
+
* @param perPage Nombre de résultats demandé
|
|
67
|
+
*/
|
|
68
|
+
paginateWorkflowDocumentsIterator(dossierId: string, workflowId: string, page?: number, perPage?: number): AsyncGenerator<PaginateWorkflowDocuments200Response>;
|
|
45
69
|
/**
|
|
46
70
|
* Récupération de la liste des workflows d'un dossier.
|
|
47
71
|
* @param dossierId ID du dossier
|
|
48
72
|
* @param page Numéro de page
|
|
49
73
|
* @param perPage Nombre de résultats demandé
|
|
50
74
|
*/
|
|
51
|
-
paginateWorkflows(dossierId: string, page?: number, perPage?: number):
|
|
75
|
+
paginateWorkflows(dossierId: string, page?: number, perPage?: number): Promise<AxiosResponse<PaginateWorkflows200Response>>;
|
|
52
76
|
/**
|
|
53
|
-
*
|
|
77
|
+
* Récupération de la liste des workflows d'un dossier.
|
|
54
78
|
* @param dossierId ID du dossier
|
|
55
|
-
* @param
|
|
79
|
+
* @param page Numéro de page
|
|
80
|
+
* @param perPage Nombre de résultats demandé
|
|
56
81
|
*/
|
|
82
|
+
paginateWorkflowsIterator(dossierId: string, page?: number, perPage?: number): AsyncGenerator<PaginateWorkflows200Response>;
|
|
57
83
|
patchDossier(dossierId: string, dossier?: Dossier): Promise<AxiosResponse<Dossier>>;
|
|
58
|
-
/**
|
|
59
|
-
* Création d'un nouveau dossier.
|
|
60
|
-
* @param postDossierRequest
|
|
61
|
-
*/
|
|
62
84
|
postDossier(postDossierRequest?: PostDossierRequest): Promise<AxiosResponse<Dossier>>;
|
|
63
85
|
}
|
package/lib/api/DossiersAPI.js
CHANGED
|
@@ -10,10 +10,6 @@ class DossiersAPI extends core_1.Core {
|
|
|
10
10
|
constructor(config) {
|
|
11
11
|
super(config);
|
|
12
12
|
}
|
|
13
|
-
/**
|
|
14
|
-
* Récupération de l'ensemble des données d'un dossier.
|
|
15
|
-
* @param dossierId ID du dossier
|
|
16
|
-
*/
|
|
17
13
|
async getDossier(dossierId) {
|
|
18
14
|
const pathVariable = { dossier_id: dossierId };
|
|
19
15
|
return this.request({
|
|
@@ -30,6 +26,21 @@ class DossiersAPI extends core_1.Core {
|
|
|
30
26
|
* @param perPage Nombre de résultats demandé
|
|
31
27
|
*/
|
|
32
28
|
paginateDossiers(page, perPage) {
|
|
29
|
+
const pathVariable = {};
|
|
30
|
+
return this.request({
|
|
31
|
+
method: "GET",
|
|
32
|
+
endpoint: utils_1.default.constructPath(pathVariable, "/dossiers/"),
|
|
33
|
+
headers: {},
|
|
34
|
+
params: { page: page.toString(), per_page: perPage.toString() },
|
|
35
|
+
body: {},
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Récupération de la liste des dossiers selon des critères de recherche.
|
|
40
|
+
* @param page Numéro de page
|
|
41
|
+
* @param perPage Nombre de résultats demandé
|
|
42
|
+
*/
|
|
43
|
+
paginateDossiersIterator(page, perPage) {
|
|
33
44
|
const pathVariable = {};
|
|
34
45
|
return this.autoPagingIterator({
|
|
35
46
|
method: "GET",
|
|
@@ -46,6 +57,22 @@ class DossiersAPI extends core_1.Core {
|
|
|
46
57
|
* @param perPage Nombre de résultats demandé
|
|
47
58
|
*/
|
|
48
59
|
paginateSuiviAdministratif(dossierId, page, perPage) {
|
|
60
|
+
const pathVariable = { dossier_id: dossierId };
|
|
61
|
+
return this.request({
|
|
62
|
+
method: "GET",
|
|
63
|
+
endpoint: utils_1.default.constructPath(pathVariable, "/dossiers/{dossier_id}/suivi_administratif"),
|
|
64
|
+
headers: {},
|
|
65
|
+
params: { page: page.toString(), per_page: perPage.toString() },
|
|
66
|
+
body: {},
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Récupération de la liste du suivi administratif d'un dossier.
|
|
71
|
+
* @param dossierId ID du dossier
|
|
72
|
+
* @param page Numéro de page
|
|
73
|
+
* @param perPage Nombre de résultats demandé
|
|
74
|
+
*/
|
|
75
|
+
paginateSuiviAdministratifIterator(dossierId, page, perPage) {
|
|
49
76
|
const pathVariable = { dossier_id: dossierId };
|
|
50
77
|
return this.autoPagingIterator({
|
|
51
78
|
method: "GET",
|
|
@@ -62,6 +89,22 @@ class DossiersAPI extends core_1.Core {
|
|
|
62
89
|
* @param perPage Nombre de résultats demandé
|
|
63
90
|
*/
|
|
64
91
|
paginateTags(dossierId, page, perPage) {
|
|
92
|
+
const pathVariable = { dossier_id: dossierId };
|
|
93
|
+
return this.request({
|
|
94
|
+
method: "GET",
|
|
95
|
+
endpoint: utils_1.default.constructPath(pathVariable, "/dossiers/{dossier_id}/tags"),
|
|
96
|
+
headers: {},
|
|
97
|
+
params: { page: page.toString(), per_page: perPage.toString() },
|
|
98
|
+
body: {},
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Récupération de la liste des tags d'un dossier.
|
|
103
|
+
* @param dossierId ID du dossier
|
|
104
|
+
* @param page Numéro de page
|
|
105
|
+
* @param perPage Nombre de résultats demandé
|
|
106
|
+
*/
|
|
107
|
+
paginateTagsIterator(dossierId, page, perPage) {
|
|
65
108
|
const pathVariable = { dossier_id: dossierId };
|
|
66
109
|
return this.autoPagingIterator({
|
|
67
110
|
method: "GET",
|
|
@@ -79,6 +122,23 @@ class DossiersAPI extends core_1.Core {
|
|
|
79
122
|
* @param perPage Nombre de résultats demandé
|
|
80
123
|
*/
|
|
81
124
|
paginateWorkflowDocuments(dossierId, workflowId, page, perPage) {
|
|
125
|
+
const pathVariable = { dossier_id: dossierId, workflow_id: workflowId };
|
|
126
|
+
return this.request({
|
|
127
|
+
method: "GET",
|
|
128
|
+
endpoint: utils_1.default.constructPath(pathVariable, "/dossiers/{dossier_id}/workflows/{workflow_id}/documents"),
|
|
129
|
+
headers: {},
|
|
130
|
+
params: { page: page.toString(), per_page: perPage.toString() },
|
|
131
|
+
body: {},
|
|
132
|
+
});
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* Liste des documents liés à un workflow.
|
|
136
|
+
* @param dossierId
|
|
137
|
+
* @param workflowId
|
|
138
|
+
* @param page Numéro de page
|
|
139
|
+
* @param perPage Nombre de résultats demandé
|
|
140
|
+
*/
|
|
141
|
+
paginateWorkflowDocumentsIterator(dossierId, workflowId, page, perPage) {
|
|
82
142
|
const pathVariable = { dossier_id: dossierId, workflow_id: workflowId };
|
|
83
143
|
return this.autoPagingIterator({
|
|
84
144
|
method: "GET",
|
|
@@ -96,7 +156,7 @@ class DossiersAPI extends core_1.Core {
|
|
|
96
156
|
*/
|
|
97
157
|
paginateWorkflows(dossierId, page, perPage) {
|
|
98
158
|
const pathVariable = { dossier_id: dossierId };
|
|
99
|
-
return this.
|
|
159
|
+
return this.request({
|
|
100
160
|
method: "GET",
|
|
101
161
|
endpoint: utils_1.default.constructPath(pathVariable, "/dossiers/{dossier_id}/workflows"),
|
|
102
162
|
headers: {},
|
|
@@ -105,10 +165,21 @@ class DossiersAPI extends core_1.Core {
|
|
|
105
165
|
});
|
|
106
166
|
}
|
|
107
167
|
/**
|
|
108
|
-
*
|
|
168
|
+
* Récupération de la liste des workflows d'un dossier.
|
|
109
169
|
* @param dossierId ID du dossier
|
|
110
|
-
* @param
|
|
170
|
+
* @param page Numéro de page
|
|
171
|
+
* @param perPage Nombre de résultats demandé
|
|
111
172
|
*/
|
|
173
|
+
paginateWorkflowsIterator(dossierId, page, perPage) {
|
|
174
|
+
const pathVariable = { dossier_id: dossierId };
|
|
175
|
+
return this.autoPagingIterator({
|
|
176
|
+
method: "GET",
|
|
177
|
+
endpoint: utils_1.default.constructPath(pathVariable, "/dossiers/{dossier_id}/workflows"),
|
|
178
|
+
headers: {},
|
|
179
|
+
params: { page: page.toString(), per_page: perPage.toString() },
|
|
180
|
+
body: {},
|
|
181
|
+
});
|
|
182
|
+
}
|
|
112
183
|
async patchDossier(dossierId, dossier) {
|
|
113
184
|
const pathVariable = { dossier_id: dossierId };
|
|
114
185
|
return this.request({
|
|
@@ -127,10 +198,6 @@ class DossiersAPI extends core_1.Core {
|
|
|
127
198
|
},
|
|
128
199
|
});
|
|
129
200
|
}
|
|
130
|
-
/**
|
|
131
|
-
* Création d'un nouveau dossier.
|
|
132
|
-
* @param postDossierRequest
|
|
133
|
-
*/
|
|
134
201
|
async postDossier(postDossierRequest) {
|
|
135
202
|
const pathVariable = {};
|
|
136
203
|
return this.request({
|
|
@@ -5,26 +5,19 @@ import { PaginateNotifications200Response } from "../../src/model/PaginateNotifi
|
|
|
5
5
|
import { PostNotificationRequest } from "../../src/model/PostNotificationRequest";
|
|
6
6
|
export declare class NotificationsAPI extends Core {
|
|
7
7
|
constructor(config: MetariscConfig);
|
|
8
|
-
/**
|
|
9
|
-
* Suppression d'une notification correspondante à l'id donné.
|
|
10
|
-
* @param notificationId L'id de la notification demandée
|
|
11
|
-
*/
|
|
12
8
|
deleteNotification(notificationId: string): Promise<AxiosResponse<void>>;
|
|
13
|
-
|
|
14
|
-
* Récupération des détails d'une notification correspondante à l'id donné.
|
|
15
|
-
* @param notificationId L'id de la notification demandée
|
|
16
|
-
* @param notification
|
|
17
|
-
*/
|
|
18
|
-
getNotification(notificationId: string, notification?: Notification): Promise<AxiosResponse<Notification>>;
|
|
9
|
+
getNotification(notificationId: string): Promise<AxiosResponse<Notification>>;
|
|
19
10
|
/**
|
|
20
11
|
* Récupération des détails de toutes les notifications existantes.
|
|
21
12
|
* @param page Numéro de page
|
|
22
13
|
* @param perPage Nombre de résultats demandé
|
|
23
14
|
*/
|
|
24
|
-
paginateNotifications(page?: number, perPage?: number):
|
|
15
|
+
paginateNotifications(page?: number, perPage?: number): Promise<AxiosResponse<PaginateNotifications200Response>>;
|
|
25
16
|
/**
|
|
26
|
-
*
|
|
27
|
-
* @param
|
|
17
|
+
* Récupération des détails de toutes les notifications existantes.
|
|
18
|
+
* @param page Numéro de page
|
|
19
|
+
* @param perPage Nombre de résultats demandé
|
|
28
20
|
*/
|
|
21
|
+
paginateNotificationsIterator(page?: number, perPage?: number): AsyncGenerator<PaginateNotifications200Response>;
|
|
29
22
|
postNotification(postNotificationRequest?: PostNotificationRequest): Promise<AxiosResponse<Notification>>;
|
|
30
23
|
}
|
|
@@ -10,10 +10,6 @@ class NotificationsAPI extends core_1.Core {
|
|
|
10
10
|
constructor(config) {
|
|
11
11
|
super(config);
|
|
12
12
|
}
|
|
13
|
-
/**
|
|
14
|
-
* Suppression d'une notification correspondante à l'id donné.
|
|
15
|
-
* @param notificationId L'id de la notification demandée
|
|
16
|
-
*/
|
|
17
13
|
async deleteNotification(notificationId) {
|
|
18
14
|
const pathVariable = { notification_id: notificationId };
|
|
19
15
|
return this.request({
|
|
@@ -24,27 +20,14 @@ class NotificationsAPI extends core_1.Core {
|
|
|
24
20
|
body: {},
|
|
25
21
|
});
|
|
26
22
|
}
|
|
27
|
-
|
|
28
|
-
* Récupération des détails d'une notification correspondante à l'id donné.
|
|
29
|
-
* @param notificationId L'id de la notification demandée
|
|
30
|
-
* @param notification
|
|
31
|
-
*/
|
|
32
|
-
async getNotification(notificationId, notification) {
|
|
23
|
+
async getNotification(notificationId) {
|
|
33
24
|
const pathVariable = { notification_id: notificationId };
|
|
34
25
|
return this.request({
|
|
35
26
|
method: "GET",
|
|
36
27
|
endpoint: utils_1.default.constructPath(pathVariable, "/notifications/{notification_id}"),
|
|
37
28
|
headers: {},
|
|
38
29
|
params: {},
|
|
39
|
-
body: {
|
|
40
|
-
id: notification?.id,
|
|
41
|
-
title: notification?.title,
|
|
42
|
-
message: notification?.message,
|
|
43
|
-
contexte: notification?.contexte,
|
|
44
|
-
dateCreation: notification?.dateCreation,
|
|
45
|
-
dateDeLecture: notification?.dateDeLecture,
|
|
46
|
-
utilisateurId: notification?.utilisateurId,
|
|
47
|
-
},
|
|
30
|
+
body: {},
|
|
48
31
|
});
|
|
49
32
|
}
|
|
50
33
|
/**
|
|
@@ -54,7 +37,7 @@ class NotificationsAPI extends core_1.Core {
|
|
|
54
37
|
*/
|
|
55
38
|
paginateNotifications(page, perPage) {
|
|
56
39
|
const pathVariable = {};
|
|
57
|
-
return this.
|
|
40
|
+
return this.request({
|
|
58
41
|
method: "GET",
|
|
59
42
|
endpoint: utils_1.default.constructPath(pathVariable, "/notifications/"),
|
|
60
43
|
headers: {},
|
|
@@ -63,9 +46,20 @@ class NotificationsAPI extends core_1.Core {
|
|
|
63
46
|
});
|
|
64
47
|
}
|
|
65
48
|
/**
|
|
66
|
-
*
|
|
67
|
-
* @param
|
|
49
|
+
* Récupération des détails de toutes les notifications existantes.
|
|
50
|
+
* @param page Numéro de page
|
|
51
|
+
* @param perPage Nombre de résultats demandé
|
|
68
52
|
*/
|
|
53
|
+
paginateNotificationsIterator(page, perPage) {
|
|
54
|
+
const pathVariable = {};
|
|
55
|
+
return this.autoPagingIterator({
|
|
56
|
+
method: "GET",
|
|
57
|
+
endpoint: utils_1.default.constructPath(pathVariable, "/notifications/"),
|
|
58
|
+
headers: {},
|
|
59
|
+
params: { page: page.toString(), per_page: perPage.toString() },
|
|
60
|
+
body: {},
|
|
61
|
+
});
|
|
62
|
+
}
|
|
69
63
|
async postNotification(postNotificationRequest) {
|
|
70
64
|
const pathVariable = {};
|
|
71
65
|
return this.request({
|
|
@@ -3,9 +3,5 @@ import type { AxiosResponse } from 'axios';
|
|
|
3
3
|
import { Organisation } from '../../src/model/Organisation';
|
|
4
4
|
export declare class OrganisationAPI extends Core {
|
|
5
5
|
constructor(config: MetariscConfig);
|
|
6
|
-
/**
|
|
7
|
-
* Récupération des détails d'une organisation.
|
|
8
|
-
* @param orgId ID de l'organisation
|
|
9
|
-
*/
|
|
10
6
|
getOrganisation(orgId: string): Promise<AxiosResponse<Organisation>>;
|
|
11
7
|
}
|
|
@@ -10,10 +10,6 @@ class OrganisationAPI extends core_1.Core {
|
|
|
10
10
|
constructor(config) {
|
|
11
11
|
super(config);
|
|
12
12
|
}
|
|
13
|
-
/**
|
|
14
|
-
* Récupération des détails d'une organisation.
|
|
15
|
-
* @param orgId ID de l'organisation
|
|
16
|
-
*/
|
|
17
13
|
async getOrganisation(orgId) {
|
|
18
14
|
const pathVariable = { 'org_id': orgId };
|
|
19
15
|
return this.request({
|
package/lib/api/POIAPI.d.ts
CHANGED
|
@@ -8,42 +8,60 @@ import { PaginatePoi200Response } from "../../src/model/PaginatePoi200Response";
|
|
|
8
8
|
import { PatchPoiRequest } from "../../src/model/PatchPoiRequest";
|
|
9
9
|
export declare class POIAPI extends Core {
|
|
10
10
|
constructor(config: MetariscConfig);
|
|
11
|
+
getPoi(poiId: string): Promise<AxiosResponse<POI>>;
|
|
11
12
|
/**
|
|
12
|
-
* Récupération de
|
|
13
|
+
* Récupération de la liste des contacts d'un POI.
|
|
13
14
|
* @param poiId ID du POI
|
|
15
|
+
* @param page Numéro de page
|
|
16
|
+
* @param perPage Nombre de résultats demandé
|
|
14
17
|
*/
|
|
15
|
-
|
|
18
|
+
paginateContacts(poiId: string, page?: number, perPage?: number): Promise<AxiosResponse<PaginateContacts200Response>>;
|
|
16
19
|
/**
|
|
17
20
|
* Récupération de la liste des contacts d'un POI.
|
|
18
21
|
* @param poiId ID du POI
|
|
19
22
|
* @param page Numéro de page
|
|
20
23
|
* @param perPage Nombre de résultats demandé
|
|
21
24
|
*/
|
|
22
|
-
|
|
25
|
+
paginateContactsIterator(poiId: string, page?: number, perPage?: number): AsyncGenerator<PaginateContacts200Response>;
|
|
26
|
+
/**
|
|
27
|
+
* Récupération de l'historique d'un POI.
|
|
28
|
+
* @param poiId ID du POI
|
|
29
|
+
* @param page Numéro de page
|
|
30
|
+
* @param perPage Nombre de résultats demandé
|
|
31
|
+
*/
|
|
32
|
+
paginateHistorique(poiId: string, page?: number, perPage?: number): Promise<AxiosResponse<PaginateHistorique200Response>>;
|
|
23
33
|
/**
|
|
24
34
|
* Récupération de l'historique d'un POI.
|
|
25
35
|
* @param poiId ID du POI
|
|
26
36
|
* @param page Numéro de page
|
|
27
37
|
* @param perPage Nombre de résultats demandé
|
|
28
38
|
*/
|
|
29
|
-
|
|
39
|
+
paginateHistoriqueIterator(poiId: string, page?: number, perPage?: number): AsyncGenerator<PaginateHistorique200Response>;
|
|
30
40
|
/**
|
|
31
41
|
* Récupération de la liste des pièces jointes d'un POI.
|
|
32
42
|
* @param poiId ID du POI
|
|
33
43
|
* @param page Numéro de page
|
|
34
44
|
* @param perPage Nombre de résultats demandé
|
|
35
45
|
*/
|
|
36
|
-
paginatePiecesJointes(poiId: string, page?: number, perPage?: number):
|
|
46
|
+
paginatePiecesJointes(poiId: string, page?: number, perPage?: number): Promise<AxiosResponse<PaginatePiecesJointes200Response>>;
|
|
47
|
+
/**
|
|
48
|
+
* Récupération de la liste des pièces jointes d'un POI.
|
|
49
|
+
* @param poiId ID du POI
|
|
50
|
+
* @param page Numéro de page
|
|
51
|
+
* @param perPage Nombre de résultats demandé
|
|
52
|
+
*/
|
|
53
|
+
paginatePiecesJointesIterator(poiId: string, page?: number, perPage?: number): AsyncGenerator<PaginatePiecesJointes200Response>;
|
|
37
54
|
/**
|
|
38
55
|
* Récupération de la liste des POI selon des critères de recherche.
|
|
39
56
|
* @param page Numéro de page
|
|
40
57
|
* @param perPage Nombre de résultats demandé
|
|
41
58
|
*/
|
|
42
|
-
paginatePoi(page?: number, perPage?: number):
|
|
59
|
+
paginatePoi(page?: number, perPage?: number): Promise<AxiosResponse<PaginatePoi200Response>>;
|
|
43
60
|
/**
|
|
44
|
-
*
|
|
45
|
-
* @param
|
|
46
|
-
* @param
|
|
61
|
+
* Récupération de la liste des POI selon des critères de recherche.
|
|
62
|
+
* @param page Numéro de page
|
|
63
|
+
* @param perPage Nombre de résultats demandé
|
|
47
64
|
*/
|
|
65
|
+
paginatePoiIterator(page?: number, perPage?: number): AsyncGenerator<PaginatePoi200Response>;
|
|
48
66
|
patchPoi(poiId: string, patchPoiRequest?: PatchPoiRequest): Promise<AxiosResponse<POI>>;
|
|
49
67
|
}
|
package/lib/api/POIAPI.js
CHANGED
|
@@ -10,10 +10,6 @@ class POIAPI extends core_1.Core {
|
|
|
10
10
|
constructor(config) {
|
|
11
11
|
super(config);
|
|
12
12
|
}
|
|
13
|
-
/**
|
|
14
|
-
* Récupération de l'ensemble des données d'un POI.
|
|
15
|
-
* @param poiId ID du POI
|
|
16
|
-
*/
|
|
17
13
|
async getPoi(poiId) {
|
|
18
14
|
const pathVariable = { poi_id: poiId };
|
|
19
15
|
return this.request({
|
|
@@ -31,6 +27,22 @@ class POIAPI extends core_1.Core {
|
|
|
31
27
|
* @param perPage Nombre de résultats demandé
|
|
32
28
|
*/
|
|
33
29
|
paginateContacts(poiId, page, perPage) {
|
|
30
|
+
const pathVariable = { poi_id: poiId };
|
|
31
|
+
return this.request({
|
|
32
|
+
method: "GET",
|
|
33
|
+
endpoint: utils_1.default.constructPath(pathVariable, "/poi/{poi_id}/contacts"),
|
|
34
|
+
headers: {},
|
|
35
|
+
params: { page: page.toString(), per_page: perPage.toString() },
|
|
36
|
+
body: {},
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Récupération de la liste des contacts d'un POI.
|
|
41
|
+
* @param poiId ID du POI
|
|
42
|
+
* @param page Numéro de page
|
|
43
|
+
* @param perPage Nombre de résultats demandé
|
|
44
|
+
*/
|
|
45
|
+
paginateContactsIterator(poiId, page, perPage) {
|
|
34
46
|
const pathVariable = { poi_id: poiId };
|
|
35
47
|
return this.autoPagingIterator({
|
|
36
48
|
method: "GET",
|
|
@@ -47,6 +59,22 @@ class POIAPI extends core_1.Core {
|
|
|
47
59
|
* @param perPage Nombre de résultats demandé
|
|
48
60
|
*/
|
|
49
61
|
paginateHistorique(poiId, page, perPage) {
|
|
62
|
+
const pathVariable = { poi_id: poiId };
|
|
63
|
+
return this.request({
|
|
64
|
+
method: "GET",
|
|
65
|
+
endpoint: utils_1.default.constructPath(pathVariable, "/poi/{poi_id}/historique"),
|
|
66
|
+
headers: {},
|
|
67
|
+
params: { page: page.toString(), per_page: perPage.toString() },
|
|
68
|
+
body: {},
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Récupération de l'historique d'un POI.
|
|
73
|
+
* @param poiId ID du POI
|
|
74
|
+
* @param page Numéro de page
|
|
75
|
+
* @param perPage Nombre de résultats demandé
|
|
76
|
+
*/
|
|
77
|
+
paginateHistoriqueIterator(poiId, page, perPage) {
|
|
50
78
|
const pathVariable = { poi_id: poiId };
|
|
51
79
|
return this.autoPagingIterator({
|
|
52
80
|
method: "GET",
|
|
@@ -63,6 +91,22 @@ class POIAPI extends core_1.Core {
|
|
|
63
91
|
* @param perPage Nombre de résultats demandé
|
|
64
92
|
*/
|
|
65
93
|
paginatePiecesJointes(poiId, page, perPage) {
|
|
94
|
+
const pathVariable = { poi_id: poiId };
|
|
95
|
+
return this.request({
|
|
96
|
+
method: "GET",
|
|
97
|
+
endpoint: utils_1.default.constructPath(pathVariable, "/poi/{poi_id}/pieces_jointes"),
|
|
98
|
+
headers: {},
|
|
99
|
+
params: { page: page.toString(), per_page: perPage.toString() },
|
|
100
|
+
body: {},
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Récupération de la liste des pièces jointes d'un POI.
|
|
105
|
+
* @param poiId ID du POI
|
|
106
|
+
* @param page Numéro de page
|
|
107
|
+
* @param perPage Nombre de résultats demandé
|
|
108
|
+
*/
|
|
109
|
+
paginatePiecesJointesIterator(poiId, page, perPage) {
|
|
66
110
|
const pathVariable = { poi_id: poiId };
|
|
67
111
|
return this.autoPagingIterator({
|
|
68
112
|
method: "GET",
|
|
@@ -79,7 +123,7 @@ class POIAPI extends core_1.Core {
|
|
|
79
123
|
*/
|
|
80
124
|
paginatePoi(page, perPage) {
|
|
81
125
|
const pathVariable = {};
|
|
82
|
-
return this.
|
|
126
|
+
return this.request({
|
|
83
127
|
method: "GET",
|
|
84
128
|
endpoint: utils_1.default.constructPath(pathVariable, "/poi/"),
|
|
85
129
|
headers: {},
|
|
@@ -88,10 +132,20 @@ class POIAPI extends core_1.Core {
|
|
|
88
132
|
});
|
|
89
133
|
}
|
|
90
134
|
/**
|
|
91
|
-
*
|
|
92
|
-
* @param
|
|
93
|
-
* @param
|
|
135
|
+
* Récupération de la liste des POI selon des critères de recherche.
|
|
136
|
+
* @param page Numéro de page
|
|
137
|
+
* @param perPage Nombre de résultats demandé
|
|
94
138
|
*/
|
|
139
|
+
paginatePoiIterator(page, perPage) {
|
|
140
|
+
const pathVariable = {};
|
|
141
|
+
return this.autoPagingIterator({
|
|
142
|
+
method: "GET",
|
|
143
|
+
endpoint: utils_1.default.constructPath(pathVariable, "/poi/"),
|
|
144
|
+
headers: {},
|
|
145
|
+
params: { page: page.toString(), per_page: perPage.toString() },
|
|
146
|
+
body: {},
|
|
147
|
+
});
|
|
148
|
+
}
|
|
95
149
|
async patchPoi(poiId, patchPoiRequest) {
|
|
96
150
|
const pathVariable = { poi_id: poiId };
|
|
97
151
|
return this.request({
|
package/lib/api/PingAPI.d.ts
CHANGED
|
@@ -3,8 +3,5 @@ import type { AxiosResponse } from 'axios';
|
|
|
3
3
|
import { Ping200Response } from '../../src/model/Ping200Response';
|
|
4
4
|
export declare class PingAPI extends Core {
|
|
5
5
|
constructor(config: MetariscConfig);
|
|
6
|
-
/**
|
|
7
|
-
* Permet de s'assurer que le service Metarisc est en ligne. Ping ... Pong !
|
|
8
|
-
*/
|
|
9
6
|
ping(): Promise<AxiosResponse<Ping200Response>>;
|
|
10
7
|
}
|
package/lib/api/PingAPI.js
CHANGED
package/lib/api/SupportAPI.d.ts
CHANGED
|
@@ -5,20 +5,18 @@ import { PostTicketRequest } from "../../src/model/PostTicketRequest";
|
|
|
5
5
|
import { Ticket } from "../../src/model/Ticket";
|
|
6
6
|
export declare class SupportAPI extends Core {
|
|
7
7
|
constructor(config: MetariscConfig);
|
|
8
|
-
/**
|
|
9
|
-
* Récupération des détails du ticket
|
|
10
|
-
* @param ticketId ID du ticket
|
|
11
|
-
*/
|
|
12
8
|
getTicket(ticketId: string): Promise<AxiosResponse<Ticket>>;
|
|
13
9
|
/**
|
|
14
10
|
* Récupération de la liste des tickets de support.
|
|
15
11
|
* @param page Numéro de page
|
|
16
12
|
* @param perPage Nombre de résultats demandé
|
|
17
13
|
*/
|
|
18
|
-
paginateTickets(page?: number, perPage?: number):
|
|
14
|
+
paginateTickets(page?: number, perPage?: number): Promise<AxiosResponse<PaginateTickets200Response>>;
|
|
19
15
|
/**
|
|
20
|
-
*
|
|
21
|
-
* @param
|
|
16
|
+
* Récupération de la liste des tickets de support.
|
|
17
|
+
* @param page Numéro de page
|
|
18
|
+
* @param perPage Nombre de résultats demandé
|
|
22
19
|
*/
|
|
20
|
+
paginateTicketsIterator(page?: number, perPage?: number): AsyncGenerator<PaginateTickets200Response>;
|
|
23
21
|
postTicket(postTicketRequest?: PostTicketRequest): Promise<AxiosResponse<Ticket>>;
|
|
24
22
|
}
|
package/lib/api/SupportAPI.js
CHANGED
|
@@ -10,10 +10,6 @@ class SupportAPI extends core_1.Core {
|
|
|
10
10
|
constructor(config) {
|
|
11
11
|
super(config);
|
|
12
12
|
}
|
|
13
|
-
/**
|
|
14
|
-
* Récupération des détails du ticket
|
|
15
|
-
* @param ticketId ID du ticket
|
|
16
|
-
*/
|
|
17
13
|
async getTicket(ticketId) {
|
|
18
14
|
const pathVariable = { ticket_id: ticketId };
|
|
19
15
|
return this.request({
|
|
@@ -31,7 +27,7 @@ class SupportAPI extends core_1.Core {
|
|
|
31
27
|
*/
|
|
32
28
|
paginateTickets(page, perPage) {
|
|
33
29
|
const pathVariable = {};
|
|
34
|
-
return this.
|
|
30
|
+
return this.request({
|
|
35
31
|
method: "GET",
|
|
36
32
|
endpoint: utils_1.default.constructPath(pathVariable, "/support/"),
|
|
37
33
|
headers: {},
|
|
@@ -40,9 +36,20 @@ class SupportAPI extends core_1.Core {
|
|
|
40
36
|
});
|
|
41
37
|
}
|
|
42
38
|
/**
|
|
43
|
-
*
|
|
44
|
-
* @param
|
|
39
|
+
* Récupération de la liste des tickets de support.
|
|
40
|
+
* @param page Numéro de page
|
|
41
|
+
* @param perPage Nombre de résultats demandé
|
|
45
42
|
*/
|
|
43
|
+
paginateTicketsIterator(page, perPage) {
|
|
44
|
+
const pathVariable = {};
|
|
45
|
+
return this.autoPagingIterator({
|
|
46
|
+
method: "GET",
|
|
47
|
+
endpoint: utils_1.default.constructPath(pathVariable, "/support/"),
|
|
48
|
+
headers: {},
|
|
49
|
+
params: { page: page.toString(), per_page: perPage.toString() },
|
|
50
|
+
body: {},
|
|
51
|
+
});
|
|
52
|
+
}
|
|
46
53
|
async postTicket(postTicketRequest) {
|
|
47
54
|
const pathVariable = {};
|
|
48
55
|
return this.request({
|
|
@@ -4,24 +4,30 @@ import { PaginateMoiEmails200Response } from "../../src/model/PaginateMoiEmails2
|
|
|
4
4
|
import { Utilisateur } from "../../src/model/Utilisateur";
|
|
5
5
|
export declare class UtilisateursAPI extends Core {
|
|
6
6
|
constructor(config: MetariscConfig);
|
|
7
|
+
getUtilisateursMoi(): Promise<AxiosResponse<Utilisateur>>;
|
|
8
|
+
getUtilisateursMoi1(): Promise<AxiosResponse<Utilisateur>>;
|
|
7
9
|
/**
|
|
8
|
-
*
|
|
10
|
+
* Liste toutes les adresses mail de l'utilisateur connecté, y compris les adresses non publiquement accessibles.
|
|
11
|
+
* @param page Numéro de page
|
|
12
|
+
* @param perPage Nombre de résultats demandé
|
|
9
13
|
*/
|
|
10
|
-
|
|
14
|
+
paginateMoiEmails(page?: number, perPage?: number): Promise<AxiosResponse<PaginateMoiEmails200Response>>;
|
|
11
15
|
/**
|
|
12
|
-
*
|
|
16
|
+
* Liste toutes les adresses mail de l'utilisateur connecté, y compris les adresses non publiquement accessibles.
|
|
17
|
+
* @param page Numéro de page
|
|
18
|
+
* @param perPage Nombre de résultats demandé
|
|
13
19
|
*/
|
|
14
|
-
|
|
20
|
+
paginateMoiEmailsIterator(page?: number, perPage?: number): AsyncGenerator<PaginateMoiEmails200Response>;
|
|
15
21
|
/**
|
|
16
22
|
* Liste toutes les adresses mail de l'utilisateur connecté, y compris les adresses non publiquement accessibles.
|
|
17
23
|
* @param page Numéro de page
|
|
18
24
|
* @param perPage Nombre de résultats demandé
|
|
19
25
|
*/
|
|
20
|
-
|
|
26
|
+
paginateMoiEmails1(page?: number, perPage?: number): Promise<AxiosResponse<PaginateMoiEmails200Response>>;
|
|
21
27
|
/**
|
|
22
28
|
* Liste toutes les adresses mail de l'utilisateur connecté, y compris les adresses non publiquement accessibles.
|
|
23
29
|
* @param page Numéro de page
|
|
24
30
|
* @param perPage Nombre de résultats demandé
|
|
25
31
|
*/
|
|
26
|
-
|
|
32
|
+
paginateMoiEmails1Iterator(page?: number, perPage?: number): AsyncGenerator<PaginateMoiEmails200Response>;
|
|
27
33
|
}
|
|
@@ -10,9 +10,6 @@ class UtilisateursAPI extends core_1.Core {
|
|
|
10
10
|
constructor(config) {
|
|
11
11
|
super(config);
|
|
12
12
|
}
|
|
13
|
-
/**
|
|
14
|
-
* L'utilisateur connecté retourné par ce point de terminaison utilise le token d'accès généré par le service OpenID Connect afin de le lier à une identité connue de Metarisc. Si l'utilisateur est inconnu une erreur est retournée.
|
|
15
|
-
*/
|
|
16
13
|
async getUtilisateursMoi() {
|
|
17
14
|
const pathVariable = {};
|
|
18
15
|
return this.request({
|
|
@@ -23,9 +20,6 @@ class UtilisateursAPI extends core_1.Core {
|
|
|
23
20
|
body: {},
|
|
24
21
|
});
|
|
25
22
|
}
|
|
26
|
-
/**
|
|
27
|
-
* L'utilisateur connecté retourné par ce point de terminaison utilise le token d'accès généré par le service OpenID Connect afin de le lier à une identité connue de Metarisc. Si l'utilisateur est inconnu une erreur est retournée.
|
|
28
|
-
*/
|
|
29
23
|
async getUtilisateursMoi1() {
|
|
30
24
|
const pathVariable = {};
|
|
31
25
|
return this.request({
|
|
@@ -42,6 +36,21 @@ class UtilisateursAPI extends core_1.Core {
|
|
|
42
36
|
* @param perPage Nombre de résultats demandé
|
|
43
37
|
*/
|
|
44
38
|
paginateMoiEmails(page, perPage) {
|
|
39
|
+
const pathVariable = {};
|
|
40
|
+
return this.request({
|
|
41
|
+
method: "GET",
|
|
42
|
+
endpoint: utils_1.default.constructPath(pathVariable, "/@moi/emails"),
|
|
43
|
+
headers: {},
|
|
44
|
+
params: { page: page.toString(), per_page: perPage.toString() },
|
|
45
|
+
body: {},
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Liste toutes les adresses mail de l'utilisateur connecté, y compris les adresses non publiquement accessibles.
|
|
50
|
+
* @param page Numéro de page
|
|
51
|
+
* @param perPage Nombre de résultats demandé
|
|
52
|
+
*/
|
|
53
|
+
paginateMoiEmailsIterator(page, perPage) {
|
|
45
54
|
const pathVariable = {};
|
|
46
55
|
return this.autoPagingIterator({
|
|
47
56
|
method: "GET",
|
|
@@ -57,6 +66,21 @@ class UtilisateursAPI extends core_1.Core {
|
|
|
57
66
|
* @param perPage Nombre de résultats demandé
|
|
58
67
|
*/
|
|
59
68
|
paginateMoiEmails1(page, perPage) {
|
|
69
|
+
const pathVariable = {};
|
|
70
|
+
return this.request({
|
|
71
|
+
method: "GET",
|
|
72
|
+
endpoint: utils_1.default.constructPath(pathVariable, "/utilisateurs/@moi/emails"),
|
|
73
|
+
headers: {},
|
|
74
|
+
params: { page: page.toString(), per_page: perPage.toString() },
|
|
75
|
+
body: {},
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Liste toutes les adresses mail de l'utilisateur connecté, y compris les adresses non publiquement accessibles.
|
|
80
|
+
* @param page Numéro de page
|
|
81
|
+
* @param perPage Nombre de résultats demandé
|
|
82
|
+
*/
|
|
83
|
+
paginateMoiEmails1Iterator(page, perPage) {
|
|
60
84
|
const pathVariable = {};
|
|
61
85
|
return this.autoPagingIterator({
|
|
62
86
|
method: "GET",
|
package/package.json
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
2
|
+
"name": "@metarisc/metarisc-js",
|
|
3
|
+
"main": "lib/index.js",
|
|
4
|
+
"types": "lib/index.d.ts",
|
|
5
|
+
"version": "0.0.1-alpha.9",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"lint": "eslint . --ext .ts --fix",
|
|
8
|
+
"compile": "tsc",
|
|
9
|
+
"tests": "npm run compile && node tests/index.mjs"
|
|
10
|
+
},
|
|
11
|
+
"devDependencies": {
|
|
12
|
+
"@types/node": "^18.14.4",
|
|
13
|
+
"@typescript-eslint/eslint-plugin": "^5.54.0",
|
|
14
|
+
"@typescript-eslint/parser": "^5.54.0",
|
|
15
|
+
"eslint": "^8.35.0",
|
|
16
|
+
"typescript": "^4.9.5"
|
|
17
|
+
},
|
|
18
|
+
"dependencies": {
|
|
19
|
+
"axios": "^1.4.0",
|
|
20
|
+
"axios-retry": "^3.5.0"
|
|
21
|
+
}
|
|
22
22
|
}
|
package/src/api/DossiersAPI.ts
CHANGED
|
@@ -14,10 +14,6 @@ export class DossiersAPI extends Core {
|
|
|
14
14
|
super(config);
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
/**
|
|
18
|
-
* Récupération de l'ensemble des données d'un dossier.
|
|
19
|
-
* @param dossierId ID du dossier
|
|
20
|
-
*/
|
|
21
17
|
async getDossier(dossierId: string): Promise<AxiosResponse<Dossier>> {
|
|
22
18
|
const pathVariable = { dossier_id: dossierId };
|
|
23
19
|
return this.request({
|
|
@@ -37,6 +33,24 @@ export class DossiersAPI extends Core {
|
|
|
37
33
|
paginateDossiers(
|
|
38
34
|
page?: number,
|
|
39
35
|
perPage?: number
|
|
36
|
+
): Promise<AxiosResponse<PaginateDossiers200Response>> {
|
|
37
|
+
const pathVariable = {};
|
|
38
|
+
return this.request({
|
|
39
|
+
method: "GET",
|
|
40
|
+
endpoint: Utils.constructPath(pathVariable, "/dossiers/"),
|
|
41
|
+
headers: {},
|
|
42
|
+
params: { page: page.toString(), per_page: perPage.toString() },
|
|
43
|
+
body: {},
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Récupération de la liste des dossiers selon des critères de recherche.
|
|
48
|
+
* @param page Numéro de page
|
|
49
|
+
* @param perPage Nombre de résultats demandé
|
|
50
|
+
*/
|
|
51
|
+
paginateDossiersIterator(
|
|
52
|
+
page?: number,
|
|
53
|
+
perPage?: number
|
|
40
54
|
): AsyncGenerator<PaginateDossiers200Response> {
|
|
41
55
|
const pathVariable = {};
|
|
42
56
|
return this.autoPagingIterator({
|
|
@@ -58,6 +72,29 @@ export class DossiersAPI extends Core {
|
|
|
58
72
|
dossierId: string,
|
|
59
73
|
page?: number,
|
|
60
74
|
perPage?: number
|
|
75
|
+
): Promise<AxiosResponse<PaginateSuiviAdministratif200Response>> {
|
|
76
|
+
const pathVariable = { dossier_id: dossierId };
|
|
77
|
+
return this.request({
|
|
78
|
+
method: "GET",
|
|
79
|
+
endpoint: Utils.constructPath(
|
|
80
|
+
pathVariable,
|
|
81
|
+
"/dossiers/{dossier_id}/suivi_administratif"
|
|
82
|
+
),
|
|
83
|
+
headers: {},
|
|
84
|
+
params: { page: page.toString(), per_page: perPage.toString() },
|
|
85
|
+
body: {},
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Récupération de la liste du suivi administratif d'un dossier.
|
|
90
|
+
* @param dossierId ID du dossier
|
|
91
|
+
* @param page Numéro de page
|
|
92
|
+
* @param perPage Nombre de résultats demandé
|
|
93
|
+
*/
|
|
94
|
+
paginateSuiviAdministratifIterator(
|
|
95
|
+
dossierId: string,
|
|
96
|
+
page?: number,
|
|
97
|
+
perPage?: number
|
|
61
98
|
): AsyncGenerator<PaginateSuiviAdministratif200Response> {
|
|
62
99
|
const pathVariable = { dossier_id: dossierId };
|
|
63
100
|
return this.autoPagingIterator({
|
|
@@ -82,6 +119,29 @@ export class DossiersAPI extends Core {
|
|
|
82
119
|
dossierId: string,
|
|
83
120
|
page?: number,
|
|
84
121
|
perPage?: number
|
|
122
|
+
): Promise<AxiosResponse<PaginateTags200Response>> {
|
|
123
|
+
const pathVariable = { dossier_id: dossierId };
|
|
124
|
+
return this.request({
|
|
125
|
+
method: "GET",
|
|
126
|
+
endpoint: Utils.constructPath(
|
|
127
|
+
pathVariable,
|
|
128
|
+
"/dossiers/{dossier_id}/tags"
|
|
129
|
+
),
|
|
130
|
+
headers: {},
|
|
131
|
+
params: { page: page.toString(), per_page: perPage.toString() },
|
|
132
|
+
body: {},
|
|
133
|
+
});
|
|
134
|
+
}
|
|
135
|
+
/**
|
|
136
|
+
* Récupération de la liste des tags d'un dossier.
|
|
137
|
+
* @param dossierId ID du dossier
|
|
138
|
+
* @param page Numéro de page
|
|
139
|
+
* @param perPage Nombre de résultats demandé
|
|
140
|
+
*/
|
|
141
|
+
paginateTagsIterator(
|
|
142
|
+
dossierId: string,
|
|
143
|
+
page?: number,
|
|
144
|
+
perPage?: number
|
|
85
145
|
): AsyncGenerator<PaginateTags200Response> {
|
|
86
146
|
const pathVariable = { dossier_id: dossierId };
|
|
87
147
|
return this.autoPagingIterator({
|
|
@@ -108,6 +168,31 @@ export class DossiersAPI extends Core {
|
|
|
108
168
|
workflowId: string,
|
|
109
169
|
page?: number,
|
|
110
170
|
perPage?: number
|
|
171
|
+
): Promise<AxiosResponse<PaginateWorkflowDocuments200Response>> {
|
|
172
|
+
const pathVariable = { dossier_id: dossierId, workflow_id: workflowId };
|
|
173
|
+
return this.request({
|
|
174
|
+
method: "GET",
|
|
175
|
+
endpoint: Utils.constructPath(
|
|
176
|
+
pathVariable,
|
|
177
|
+
"/dossiers/{dossier_id}/workflows/{workflow_id}/documents"
|
|
178
|
+
),
|
|
179
|
+
headers: {},
|
|
180
|
+
params: { page: page.toString(), per_page: perPage.toString() },
|
|
181
|
+
body: {},
|
|
182
|
+
});
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* Liste des documents liés à un workflow.
|
|
186
|
+
* @param dossierId
|
|
187
|
+
* @param workflowId
|
|
188
|
+
* @param page Numéro de page
|
|
189
|
+
* @param perPage Nombre de résultats demandé
|
|
190
|
+
*/
|
|
191
|
+
paginateWorkflowDocumentsIterator(
|
|
192
|
+
dossierId: string,
|
|
193
|
+
workflowId: string,
|
|
194
|
+
page?: number,
|
|
195
|
+
perPage?: number
|
|
111
196
|
): AsyncGenerator<PaginateWorkflowDocuments200Response> {
|
|
112
197
|
const pathVariable = { dossier_id: dossierId, workflow_id: workflowId };
|
|
113
198
|
return this.autoPagingIterator({
|
|
@@ -132,9 +217,9 @@ export class DossiersAPI extends Core {
|
|
|
132
217
|
dossierId: string,
|
|
133
218
|
page?: number,
|
|
134
219
|
perPage?: number
|
|
135
|
-
):
|
|
220
|
+
): Promise<AxiosResponse<PaginateWorkflows200Response>> {
|
|
136
221
|
const pathVariable = { dossier_id: dossierId };
|
|
137
|
-
return this.
|
|
222
|
+
return this.request({
|
|
138
223
|
method: "GET",
|
|
139
224
|
endpoint: Utils.constructPath(
|
|
140
225
|
pathVariable,
|
|
@@ -145,12 +230,30 @@ export class DossiersAPI extends Core {
|
|
|
145
230
|
body: {},
|
|
146
231
|
});
|
|
147
232
|
}
|
|
148
|
-
|
|
149
233
|
/**
|
|
150
|
-
*
|
|
234
|
+
* Récupération de la liste des workflows d'un dossier.
|
|
151
235
|
* @param dossierId ID du dossier
|
|
152
|
-
* @param
|
|
236
|
+
* @param page Numéro de page
|
|
237
|
+
* @param perPage Nombre de résultats demandé
|
|
153
238
|
*/
|
|
239
|
+
paginateWorkflowsIterator(
|
|
240
|
+
dossierId: string,
|
|
241
|
+
page?: number,
|
|
242
|
+
perPage?: number
|
|
243
|
+
): AsyncGenerator<PaginateWorkflows200Response> {
|
|
244
|
+
const pathVariable = { dossier_id: dossierId };
|
|
245
|
+
return this.autoPagingIterator({
|
|
246
|
+
method: "GET",
|
|
247
|
+
endpoint: Utils.constructPath(
|
|
248
|
+
pathVariable,
|
|
249
|
+
"/dossiers/{dossier_id}/workflows"
|
|
250
|
+
),
|
|
251
|
+
headers: {},
|
|
252
|
+
params: { page: page.toString(), per_page: perPage.toString() },
|
|
253
|
+
body: {},
|
|
254
|
+
});
|
|
255
|
+
}
|
|
256
|
+
|
|
154
257
|
async patchDossier(
|
|
155
258
|
dossierId: string,
|
|
156
259
|
dossier?: Dossier
|
|
@@ -173,10 +276,6 @@ export class DossiersAPI extends Core {
|
|
|
173
276
|
});
|
|
174
277
|
}
|
|
175
278
|
|
|
176
|
-
/**
|
|
177
|
-
* Création d'un nouveau dossier.
|
|
178
|
-
* @param postDossierRequest
|
|
179
|
-
*/
|
|
180
279
|
async postDossier(
|
|
181
280
|
postDossierRequest?: PostDossierRequest
|
|
182
281
|
): Promise<AxiosResponse<Dossier>> {
|
|
@@ -13,10 +13,6 @@ export class NotificationsAPI extends Core {
|
|
|
13
13
|
super(config);
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
/**
|
|
17
|
-
* Suppression d'une notification correspondante à l'id donné.
|
|
18
|
-
* @param notificationId L'id de la notification demandée
|
|
19
|
-
*/
|
|
20
16
|
async deleteNotification(
|
|
21
17
|
notificationId: string
|
|
22
18
|
): Promise<AxiosResponse<void>> {
|
|
@@ -33,14 +29,8 @@ export class NotificationsAPI extends Core {
|
|
|
33
29
|
});
|
|
34
30
|
}
|
|
35
31
|
|
|
36
|
-
/**
|
|
37
|
-
* Récupération des détails d'une notification correspondante à l'id donné.
|
|
38
|
-
* @param notificationId L'id de la notification demandée
|
|
39
|
-
* @param notification
|
|
40
|
-
*/
|
|
41
32
|
async getNotification(
|
|
42
|
-
notificationId: string
|
|
43
|
-
notification?: Notification
|
|
33
|
+
notificationId: string
|
|
44
34
|
): Promise<AxiosResponse<Notification>> {
|
|
45
35
|
const pathVariable = { notification_id: notificationId };
|
|
46
36
|
return this.request({
|
|
@@ -51,15 +41,7 @@ export class NotificationsAPI extends Core {
|
|
|
51
41
|
),
|
|
52
42
|
headers: {},
|
|
53
43
|
params: {},
|
|
54
|
-
body: {
|
|
55
|
-
id: notification?.id,
|
|
56
|
-
title: notification?.title,
|
|
57
|
-
message: notification?.message,
|
|
58
|
-
contexte: notification?.contexte,
|
|
59
|
-
dateCreation: notification?.dateCreation,
|
|
60
|
-
dateDeLecture: notification?.dateDeLecture,
|
|
61
|
-
utilisateurId: notification?.utilisateurId,
|
|
62
|
-
},
|
|
44
|
+
body: {},
|
|
63
45
|
});
|
|
64
46
|
}
|
|
65
47
|
|
|
@@ -71,6 +53,24 @@ export class NotificationsAPI extends Core {
|
|
|
71
53
|
paginateNotifications(
|
|
72
54
|
page?: number,
|
|
73
55
|
perPage?: number
|
|
56
|
+
): Promise<AxiosResponse<PaginateNotifications200Response>> {
|
|
57
|
+
const pathVariable = {};
|
|
58
|
+
return this.request({
|
|
59
|
+
method: "GET",
|
|
60
|
+
endpoint: Utils.constructPath(pathVariable, "/notifications/"),
|
|
61
|
+
headers: {},
|
|
62
|
+
params: { page: page.toString(), per_page: perPage.toString() },
|
|
63
|
+
body: {},
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Récupération des détails de toutes les notifications existantes.
|
|
68
|
+
* @param page Numéro de page
|
|
69
|
+
* @param perPage Nombre de résultats demandé
|
|
70
|
+
*/
|
|
71
|
+
paginateNotificationsIterator(
|
|
72
|
+
page?: number,
|
|
73
|
+
perPage?: number
|
|
74
74
|
): AsyncGenerator<PaginateNotifications200Response> {
|
|
75
75
|
const pathVariable = {};
|
|
76
76
|
return this.autoPagingIterator({
|
|
@@ -82,10 +82,6 @@ export class NotificationsAPI extends Core {
|
|
|
82
82
|
});
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
-
/**
|
|
86
|
-
* Création d'une notification.
|
|
87
|
-
* @param postNotificationRequest
|
|
88
|
-
*/
|
|
89
85
|
async postNotification(
|
|
90
86
|
postNotificationRequest?: PostNotificationRequest
|
|
91
87
|
): Promise<AxiosResponse<Notification>> {
|
|
@@ -8,10 +8,6 @@ export class OrganisationAPI extends Core {
|
|
|
8
8
|
super(config);
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
/**
|
|
12
|
-
* Récupération des détails d'une organisation.
|
|
13
|
-
* @param orgId ID de l'organisation
|
|
14
|
-
*/
|
|
15
11
|
async getOrganisation(orgId: string): Promise<AxiosResponse<Organisation>>
|
|
16
12
|
{
|
|
17
13
|
const pathVariable = { 'org_id': orgId };
|
package/src/api/POIAPI.ts
CHANGED
|
@@ -13,10 +13,6 @@ export class POIAPI extends Core {
|
|
|
13
13
|
super(config);
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
/**
|
|
17
|
-
* Récupération de l'ensemble des données d'un POI.
|
|
18
|
-
* @param poiId ID du POI
|
|
19
|
-
*/
|
|
20
16
|
async getPoi(poiId: string): Promise<AxiosResponse<POI>> {
|
|
21
17
|
const pathVariable = { poi_id: poiId };
|
|
22
18
|
return this.request({
|
|
@@ -38,6 +34,26 @@ export class POIAPI extends Core {
|
|
|
38
34
|
poiId: string,
|
|
39
35
|
page?: number,
|
|
40
36
|
perPage?: number
|
|
37
|
+
): Promise<AxiosResponse<PaginateContacts200Response>> {
|
|
38
|
+
const pathVariable = { poi_id: poiId };
|
|
39
|
+
return this.request({
|
|
40
|
+
method: "GET",
|
|
41
|
+
endpoint: Utils.constructPath(pathVariable, "/poi/{poi_id}/contacts"),
|
|
42
|
+
headers: {},
|
|
43
|
+
params: { page: page.toString(), per_page: perPage.toString() },
|
|
44
|
+
body: {},
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Récupération de la liste des contacts d'un POI.
|
|
49
|
+
* @param poiId ID du POI
|
|
50
|
+
* @param page Numéro de page
|
|
51
|
+
* @param perPage Nombre de résultats demandé
|
|
52
|
+
*/
|
|
53
|
+
paginateContactsIterator(
|
|
54
|
+
poiId: string,
|
|
55
|
+
page?: number,
|
|
56
|
+
perPage?: number
|
|
41
57
|
): AsyncGenerator<PaginateContacts200Response> {
|
|
42
58
|
const pathVariable = { poi_id: poiId };
|
|
43
59
|
return this.autoPagingIterator({
|
|
@@ -59,6 +75,26 @@ export class POIAPI extends Core {
|
|
|
59
75
|
poiId: string,
|
|
60
76
|
page?: number,
|
|
61
77
|
perPage?: number
|
|
78
|
+
): Promise<AxiosResponse<PaginateHistorique200Response>> {
|
|
79
|
+
const pathVariable = { poi_id: poiId };
|
|
80
|
+
return this.request({
|
|
81
|
+
method: "GET",
|
|
82
|
+
endpoint: Utils.constructPath(pathVariable, "/poi/{poi_id}/historique"),
|
|
83
|
+
headers: {},
|
|
84
|
+
params: { page: page.toString(), per_page: perPage.toString() },
|
|
85
|
+
body: {},
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Récupération de l'historique d'un POI.
|
|
90
|
+
* @param poiId ID du POI
|
|
91
|
+
* @param page Numéro de page
|
|
92
|
+
* @param perPage Nombre de résultats demandé
|
|
93
|
+
*/
|
|
94
|
+
paginateHistoriqueIterator(
|
|
95
|
+
poiId: string,
|
|
96
|
+
page?: number,
|
|
97
|
+
perPage?: number
|
|
62
98
|
): AsyncGenerator<PaginateHistorique200Response> {
|
|
63
99
|
const pathVariable = { poi_id: poiId };
|
|
64
100
|
return this.autoPagingIterator({
|
|
@@ -80,6 +116,29 @@ export class POIAPI extends Core {
|
|
|
80
116
|
poiId: string,
|
|
81
117
|
page?: number,
|
|
82
118
|
perPage?: number
|
|
119
|
+
): Promise<AxiosResponse<PaginatePiecesJointes200Response>> {
|
|
120
|
+
const pathVariable = { poi_id: poiId };
|
|
121
|
+
return this.request({
|
|
122
|
+
method: "GET",
|
|
123
|
+
endpoint: Utils.constructPath(
|
|
124
|
+
pathVariable,
|
|
125
|
+
"/poi/{poi_id}/pieces_jointes"
|
|
126
|
+
),
|
|
127
|
+
headers: {},
|
|
128
|
+
params: { page: page.toString(), per_page: perPage.toString() },
|
|
129
|
+
body: {},
|
|
130
|
+
});
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* Récupération de la liste des pièces jointes d'un POI.
|
|
134
|
+
* @param poiId ID du POI
|
|
135
|
+
* @param page Numéro de page
|
|
136
|
+
* @param perPage Nombre de résultats demandé
|
|
137
|
+
*/
|
|
138
|
+
paginatePiecesJointesIterator(
|
|
139
|
+
poiId: string,
|
|
140
|
+
page?: number,
|
|
141
|
+
perPage?: number
|
|
83
142
|
): AsyncGenerator<PaginatePiecesJointes200Response> {
|
|
84
143
|
const pathVariable = { poi_id: poiId };
|
|
85
144
|
return this.autoPagingIterator({
|
|
@@ -102,6 +161,24 @@ export class POIAPI extends Core {
|
|
|
102
161
|
paginatePoi(
|
|
103
162
|
page?: number,
|
|
104
163
|
perPage?: number
|
|
164
|
+
): Promise<AxiosResponse<PaginatePoi200Response>> {
|
|
165
|
+
const pathVariable = {};
|
|
166
|
+
return this.request({
|
|
167
|
+
method: "GET",
|
|
168
|
+
endpoint: Utils.constructPath(pathVariable, "/poi/"),
|
|
169
|
+
headers: {},
|
|
170
|
+
params: { page: page.toString(), per_page: perPage.toString() },
|
|
171
|
+
body: {},
|
|
172
|
+
});
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* Récupération de la liste des POI selon des critères de recherche.
|
|
176
|
+
* @param page Numéro de page
|
|
177
|
+
* @param perPage Nombre de résultats demandé
|
|
178
|
+
*/
|
|
179
|
+
paginatePoiIterator(
|
|
180
|
+
page?: number,
|
|
181
|
+
perPage?: number
|
|
105
182
|
): AsyncGenerator<PaginatePoi200Response> {
|
|
106
183
|
const pathVariable = {};
|
|
107
184
|
return this.autoPagingIterator({
|
|
@@ -113,11 +190,6 @@ export class POIAPI extends Core {
|
|
|
113
190
|
});
|
|
114
191
|
}
|
|
115
192
|
|
|
116
|
-
/**
|
|
117
|
-
* Modifier un POI existant.
|
|
118
|
-
* @param poiId ID du POI
|
|
119
|
-
* @param patchPoiRequest
|
|
120
|
-
*/
|
|
121
193
|
async patchPoi(
|
|
122
194
|
poiId: string,
|
|
123
195
|
patchPoiRequest?: PatchPoiRequest
|
package/src/api/PingAPI.ts
CHANGED
package/src/api/SupportAPI.ts
CHANGED
|
@@ -10,10 +10,6 @@ export class SupportAPI extends Core {
|
|
|
10
10
|
super(config);
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
/**
|
|
14
|
-
* Récupération des détails du ticket
|
|
15
|
-
* @param ticketId ID du ticket
|
|
16
|
-
*/
|
|
17
13
|
async getTicket(ticketId: string): Promise<AxiosResponse<Ticket>> {
|
|
18
14
|
const pathVariable = { ticket_id: ticketId };
|
|
19
15
|
return this.request({
|
|
@@ -33,6 +29,24 @@ export class SupportAPI extends Core {
|
|
|
33
29
|
paginateTickets(
|
|
34
30
|
page?: number,
|
|
35
31
|
perPage?: number
|
|
32
|
+
): Promise<AxiosResponse<PaginateTickets200Response>> {
|
|
33
|
+
const pathVariable = {};
|
|
34
|
+
return this.request({
|
|
35
|
+
method: "GET",
|
|
36
|
+
endpoint: Utils.constructPath(pathVariable, "/support/"),
|
|
37
|
+
headers: {},
|
|
38
|
+
params: { page: page.toString(), per_page: perPage.toString() },
|
|
39
|
+
body: {},
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Récupération de la liste des tickets de support.
|
|
44
|
+
* @param page Numéro de page
|
|
45
|
+
* @param perPage Nombre de résultats demandé
|
|
46
|
+
*/
|
|
47
|
+
paginateTicketsIterator(
|
|
48
|
+
page?: number,
|
|
49
|
+
perPage?: number
|
|
36
50
|
): AsyncGenerator<PaginateTickets200Response> {
|
|
37
51
|
const pathVariable = {};
|
|
38
52
|
return this.autoPagingIterator({
|
|
@@ -44,10 +58,6 @@ export class SupportAPI extends Core {
|
|
|
44
58
|
});
|
|
45
59
|
}
|
|
46
60
|
|
|
47
|
-
/**
|
|
48
|
-
* Création d'un nouveau ticket de support.
|
|
49
|
-
* @param postTicketRequest
|
|
50
|
-
*/
|
|
51
61
|
async postTicket(
|
|
52
62
|
postTicketRequest?: PostTicketRequest
|
|
53
63
|
): Promise<AxiosResponse<Ticket>> {
|
|
@@ -9,9 +9,6 @@ export class UtilisateursAPI extends Core {
|
|
|
9
9
|
super(config);
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
/**
|
|
13
|
-
* L'utilisateur connecté retourné par ce point de terminaison utilise le token d'accès généré par le service OpenID Connect afin de le lier à une identité connue de Metarisc. Si l'utilisateur est inconnu une erreur est retournée.
|
|
14
|
-
*/
|
|
15
12
|
async getUtilisateursMoi(): Promise<AxiosResponse<Utilisateur>> {
|
|
16
13
|
const pathVariable = {};
|
|
17
14
|
return this.request({
|
|
@@ -23,9 +20,6 @@ export class UtilisateursAPI extends Core {
|
|
|
23
20
|
});
|
|
24
21
|
}
|
|
25
22
|
|
|
26
|
-
/**
|
|
27
|
-
* L'utilisateur connecté retourné par ce point de terminaison utilise le token d'accès généré par le service OpenID Connect afin de le lier à une identité connue de Metarisc. Si l'utilisateur est inconnu une erreur est retournée.
|
|
28
|
-
*/
|
|
29
23
|
async getUtilisateursMoi1(): Promise<AxiosResponse<Utilisateur>> {
|
|
30
24
|
const pathVariable = {};
|
|
31
25
|
return this.request({
|
|
@@ -45,6 +39,24 @@ export class UtilisateursAPI extends Core {
|
|
|
45
39
|
paginateMoiEmails(
|
|
46
40
|
page?: number,
|
|
47
41
|
perPage?: number
|
|
42
|
+
): Promise<AxiosResponse<PaginateMoiEmails200Response>> {
|
|
43
|
+
const pathVariable = {};
|
|
44
|
+
return this.request({
|
|
45
|
+
method: "GET",
|
|
46
|
+
endpoint: Utils.constructPath(pathVariable, "/@moi/emails"),
|
|
47
|
+
headers: {},
|
|
48
|
+
params: { page: page.toString(), per_page: perPage.toString() },
|
|
49
|
+
body: {},
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Liste toutes les adresses mail de l'utilisateur connecté, y compris les adresses non publiquement accessibles.
|
|
54
|
+
* @param page Numéro de page
|
|
55
|
+
* @param perPage Nombre de résultats demandé
|
|
56
|
+
*/
|
|
57
|
+
paginateMoiEmailsIterator(
|
|
58
|
+
page?: number,
|
|
59
|
+
perPage?: number
|
|
48
60
|
): AsyncGenerator<PaginateMoiEmails200Response> {
|
|
49
61
|
const pathVariable = {};
|
|
50
62
|
return this.autoPagingIterator({
|
|
@@ -64,6 +76,24 @@ export class UtilisateursAPI extends Core {
|
|
|
64
76
|
paginateMoiEmails1(
|
|
65
77
|
page?: number,
|
|
66
78
|
perPage?: number
|
|
79
|
+
): Promise<AxiosResponse<PaginateMoiEmails200Response>> {
|
|
80
|
+
const pathVariable = {};
|
|
81
|
+
return this.request({
|
|
82
|
+
method: "GET",
|
|
83
|
+
endpoint: Utils.constructPath(pathVariable, "/utilisateurs/@moi/emails"),
|
|
84
|
+
headers: {},
|
|
85
|
+
params: { page: page.toString(), per_page: perPage.toString() },
|
|
86
|
+
body: {},
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Liste toutes les adresses mail de l'utilisateur connecté, y compris les adresses non publiquement accessibles.
|
|
91
|
+
* @param page Numéro de page
|
|
92
|
+
* @param perPage Nombre de résultats demandé
|
|
93
|
+
*/
|
|
94
|
+
paginateMoiEmails1Iterator(
|
|
95
|
+
page?: number,
|
|
96
|
+
perPage?: number
|
|
67
97
|
): AsyncGenerator<PaginateMoiEmails200Response> {
|
|
68
98
|
const pathVariable = {};
|
|
69
99
|
return this.autoPagingIterator({
|