aloux-iam 0.0.136 → 0.0.138
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/router.js +1 -1
- package/lib/swagger.yaml +17 -17
- package/package.json +1 -1
package/lib/router.js
CHANGED
|
@@ -56,7 +56,7 @@ router.post("/iam/functions", middleware, functions.create);
|
|
|
56
56
|
router.patch("/iam/functions/:FUNCTION_ID", middleware, functions.update);
|
|
57
57
|
router.put("/iam/functions/:FUNCTION_ID/status", middleware, functions.status);
|
|
58
58
|
router.get("/iam/functions", middleware, functions.retrieve);
|
|
59
|
-
router.post("/iam/functions/
|
|
59
|
+
router.post("/iam/functions/pages", middleware, functions.retrievePages);
|
|
60
60
|
router.get("/iam/functions/:FUNCTION_ID", middleware, functions.get);
|
|
61
61
|
router.delete("/iam/functions/:FUNCTION_ID", middleware, functions.delete);
|
|
62
62
|
router.get("/iam/functions/count/all", middleware, functions.count);
|
package/lib/swagger.yaml
CHANGED
|
@@ -6,7 +6,7 @@ info:
|
|
|
6
6
|
contact:
|
|
7
7
|
name: API Aloux
|
|
8
8
|
url: https://aloux.mx
|
|
9
|
-
email:
|
|
9
|
+
email: correo@example
|
|
10
10
|
components:
|
|
11
11
|
securitySchemes:
|
|
12
12
|
bearerAuth: # arbitrary name for the security scheme
|
|
@@ -28,7 +28,7 @@ paths:
|
|
|
28
28
|
email:
|
|
29
29
|
description: email
|
|
30
30
|
type: string
|
|
31
|
-
example:
|
|
31
|
+
example: correo@example
|
|
32
32
|
code:
|
|
33
33
|
description: code
|
|
34
34
|
type: string
|
|
@@ -58,11 +58,11 @@ paths:
|
|
|
58
58
|
email:
|
|
59
59
|
description: email
|
|
60
60
|
type: string
|
|
61
|
-
example:
|
|
61
|
+
example: correo@example
|
|
62
62
|
pwd:
|
|
63
63
|
description: password
|
|
64
64
|
type: string
|
|
65
|
-
example:
|
|
65
|
+
example: password
|
|
66
66
|
required:
|
|
67
67
|
- email
|
|
68
68
|
- pwd
|
|
@@ -89,7 +89,7 @@ paths:
|
|
|
89
89
|
email:
|
|
90
90
|
description: email
|
|
91
91
|
type: string
|
|
92
|
-
example:
|
|
92
|
+
example: correo@example
|
|
93
93
|
required:
|
|
94
94
|
- email
|
|
95
95
|
responses:
|
|
@@ -137,7 +137,7 @@ paths:
|
|
|
137
137
|
email:
|
|
138
138
|
description: email
|
|
139
139
|
type: string
|
|
140
|
-
example:
|
|
140
|
+
example: correo@example
|
|
141
141
|
required:
|
|
142
142
|
- email
|
|
143
143
|
responses:
|
|
@@ -176,7 +176,7 @@ paths:
|
|
|
176
176
|
email:
|
|
177
177
|
description: email
|
|
178
178
|
type: string
|
|
179
|
-
example:
|
|
179
|
+
example: correo@example
|
|
180
180
|
pwd:
|
|
181
181
|
description: password
|
|
182
182
|
type: string
|
|
@@ -231,7 +231,7 @@ paths:
|
|
|
231
231
|
email:
|
|
232
232
|
description: email
|
|
233
233
|
type: string
|
|
234
|
-
example:
|
|
234
|
+
example: correo@example
|
|
235
235
|
resetCode:
|
|
236
236
|
description: código de verificación
|
|
237
237
|
type: number
|
|
@@ -261,11 +261,11 @@ paths:
|
|
|
261
261
|
email:
|
|
262
262
|
description: email
|
|
263
263
|
type: string
|
|
264
|
-
example:
|
|
264
|
+
example: correo@example
|
|
265
265
|
pwd:
|
|
266
266
|
description: contraseña nueva
|
|
267
267
|
type: string
|
|
268
|
-
example: "
|
|
268
|
+
example: "password"
|
|
269
269
|
resetCode:
|
|
270
270
|
description: código de verificación
|
|
271
271
|
type: string
|
|
@@ -322,11 +322,11 @@ paths:
|
|
|
322
322
|
email:
|
|
323
323
|
description: email
|
|
324
324
|
type: string
|
|
325
|
-
example:
|
|
325
|
+
example: correo@example
|
|
326
326
|
pwd:
|
|
327
327
|
description: password
|
|
328
328
|
type: string
|
|
329
|
-
example:
|
|
329
|
+
example: password
|
|
330
330
|
phone:
|
|
331
331
|
type: string
|
|
332
332
|
example: +525567087001
|
|
@@ -472,11 +472,11 @@ paths:
|
|
|
472
472
|
email:
|
|
473
473
|
description: email
|
|
474
474
|
type: string
|
|
475
|
-
example:
|
|
475
|
+
example: correo@example
|
|
476
476
|
pwd:
|
|
477
477
|
description: password
|
|
478
478
|
type: string
|
|
479
|
-
example:
|
|
479
|
+
example: password
|
|
480
480
|
phone:
|
|
481
481
|
type: string
|
|
482
482
|
example: +525567087001
|
|
@@ -559,11 +559,11 @@ paths:
|
|
|
559
559
|
email:
|
|
560
560
|
description: email
|
|
561
561
|
type: string
|
|
562
|
-
example:
|
|
562
|
+
example: correo@example
|
|
563
563
|
pwd:
|
|
564
564
|
description: password
|
|
565
565
|
type: string
|
|
566
|
-
example:
|
|
566
|
+
example: password
|
|
567
567
|
required:
|
|
568
568
|
- email
|
|
569
569
|
- pwd
|
|
@@ -638,7 +638,7 @@ paths:
|
|
|
638
638
|
properties:
|
|
639
639
|
pwd:
|
|
640
640
|
type: string
|
|
641
|
-
example:
|
|
641
|
+
example: password
|
|
642
642
|
responses:
|
|
643
643
|
'200': # status code
|
|
644
644
|
description: Retorna result from response
|