@digipair/skill-basic 0.96.0 → 0.97.1
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/package.json +1 -1
- package/schema.fr.json +176 -19
- package/schema.json +176 -19
package/package.json
CHANGED
package/schema.fr.json
CHANGED
@@ -10,7 +10,11 @@
|
|
10
10
|
"paths": {
|
11
11
|
"/transform": {
|
12
12
|
"post": {
|
13
|
-
"tags": [
|
13
|
+
"tags": [
|
14
|
+
"web",
|
15
|
+
"service",
|
16
|
+
"spatial"
|
17
|
+
],
|
14
18
|
"summary": "Transformer la donnée",
|
15
19
|
"description": "Transforme une valeur grace aus mécaniques standard de transformation de données du moteur",
|
16
20
|
"parameters": [
|
@@ -36,12 +40,29 @@
|
|
36
40
|
}
|
37
41
|
}
|
38
42
|
],
|
39
|
-
"x-events": []
|
43
|
+
"x-events": [],
|
44
|
+
"responses": {
|
45
|
+
"200": {
|
46
|
+
"description": "Données transformées",
|
47
|
+
"content": {
|
48
|
+
"application/json": {
|
49
|
+
"schema": {
|
50
|
+
"type": "object",
|
51
|
+
"description": "La valeur transformée ou le résultat des actions exécutées"
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
40
57
|
}
|
41
58
|
},
|
42
59
|
"/setVariable": {
|
43
60
|
"post": {
|
44
|
-
"tags": [
|
61
|
+
"tags": [
|
62
|
+
"web",
|
63
|
+
"service",
|
64
|
+
"spatial"
|
65
|
+
],
|
45
66
|
"summary": "Enregistrer la variable",
|
46
67
|
"description": "Enregistre la variable dans le contexte de la compétence",
|
47
68
|
"parameters": [
|
@@ -76,12 +97,29 @@
|
|
76
97
|
}
|
77
98
|
}
|
78
99
|
],
|
79
|
-
"x-events": []
|
100
|
+
"x-events": [],
|
101
|
+
"responses": {
|
102
|
+
"200": {
|
103
|
+
"description": "Variable enregistrée avec succès",
|
104
|
+
"content": {
|
105
|
+
"application/json": {
|
106
|
+
"schema": {
|
107
|
+
"type": "object",
|
108
|
+
"description": "La valeur enregistrée ou le résultat des actions exécutées"
|
109
|
+
}
|
110
|
+
}
|
111
|
+
}
|
112
|
+
}
|
113
|
+
}
|
80
114
|
}
|
81
115
|
},
|
82
116
|
"/defer": {
|
83
117
|
"post": {
|
84
|
-
"tags": [
|
118
|
+
"tags": [
|
119
|
+
"web",
|
120
|
+
"service",
|
121
|
+
"spatial"
|
122
|
+
],
|
85
123
|
"summary": "Différer l'exécution",
|
86
124
|
"description": "Diffère l'exécution d'une action",
|
87
125
|
"parameters": [
|
@@ -107,12 +145,29 @@
|
|
107
145
|
}
|
108
146
|
}
|
109
147
|
],
|
110
|
-
"x-events": []
|
148
|
+
"x-events": [],
|
149
|
+
"responses": {
|
150
|
+
"200": {
|
151
|
+
"description": "Action différée programmée",
|
152
|
+
"content": {
|
153
|
+
"application/json": {
|
154
|
+
"schema": {
|
155
|
+
"type": "number",
|
156
|
+
"description": "ID de timeout qui peut être utilisé pour annuler l'action différée"
|
157
|
+
}
|
158
|
+
}
|
159
|
+
}
|
160
|
+
}
|
161
|
+
}
|
111
162
|
}
|
112
163
|
},
|
113
164
|
"/interval": {
|
114
165
|
"post": {
|
115
|
-
"tags": [
|
166
|
+
"tags": [
|
167
|
+
"web",
|
168
|
+
"service",
|
169
|
+
"spatial"
|
170
|
+
],
|
116
171
|
"summary": "Intervalle",
|
117
172
|
"description": "Exécute une action à intervalle régulier",
|
118
173
|
"parameters": [
|
@@ -138,12 +193,29 @@
|
|
138
193
|
}
|
139
194
|
}
|
140
195
|
],
|
141
|
-
"x-events": []
|
196
|
+
"x-events": [],
|
197
|
+
"responses": {
|
198
|
+
"200": {
|
199
|
+
"description": "Intervalle programmé",
|
200
|
+
"content": {
|
201
|
+
"application/json": {
|
202
|
+
"schema": {
|
203
|
+
"type": "number",
|
204
|
+
"description": "ID d'intervalle qui peut être utilisé pour annuler l'intervalle"
|
205
|
+
}
|
206
|
+
}
|
207
|
+
}
|
208
|
+
}
|
209
|
+
}
|
142
210
|
}
|
143
211
|
},
|
144
212
|
"/stopInterval": {
|
145
213
|
"post": {
|
146
|
-
"tags": [
|
214
|
+
"tags": [
|
215
|
+
"web",
|
216
|
+
"service",
|
217
|
+
"spatial"
|
218
|
+
],
|
147
219
|
"summary": "Arrêter l'intervalle",
|
148
220
|
"description": "Arrête l'intervalle d'exécution",
|
149
221
|
"parameters": [
|
@@ -157,12 +229,29 @@
|
|
157
229
|
}
|
158
230
|
}
|
159
231
|
],
|
160
|
-
"x-events": []
|
232
|
+
"x-events": [],
|
233
|
+
"responses": {
|
234
|
+
"200": {
|
235
|
+
"description": "Intervalle arrêté",
|
236
|
+
"content": {
|
237
|
+
"application/json": {
|
238
|
+
"schema": {
|
239
|
+
"type": "null",
|
240
|
+
"description": "Aucune valeur de retour"
|
241
|
+
}
|
242
|
+
}
|
243
|
+
}
|
244
|
+
}
|
245
|
+
}
|
161
246
|
}
|
162
247
|
},
|
163
248
|
"/stopDefer": {
|
164
249
|
"post": {
|
165
|
-
"tags": [
|
250
|
+
"tags": [
|
251
|
+
"web",
|
252
|
+
"service",
|
253
|
+
"spatial"
|
254
|
+
],
|
166
255
|
"summary": "Arrêter le différé",
|
167
256
|
"description": "Arrête le différé d'exécution",
|
168
257
|
"parameters": [
|
@@ -176,12 +265,29 @@
|
|
176
265
|
}
|
177
266
|
}
|
178
267
|
],
|
179
|
-
"x-events": []
|
268
|
+
"x-events": [],
|
269
|
+
"responses": {
|
270
|
+
"200": {
|
271
|
+
"description": "Action différée arrêtée",
|
272
|
+
"content": {
|
273
|
+
"application/json": {
|
274
|
+
"schema": {
|
275
|
+
"type": "null",
|
276
|
+
"description": "Aucune valeur de retour"
|
277
|
+
}
|
278
|
+
}
|
279
|
+
}
|
280
|
+
}
|
281
|
+
}
|
180
282
|
}
|
181
283
|
},
|
182
284
|
"/base64ToBuffer": {
|
183
285
|
"post": {
|
184
|
-
"tags": [
|
286
|
+
"tags": [
|
287
|
+
"web",
|
288
|
+
"service",
|
289
|
+
"spatial"
|
290
|
+
],
|
185
291
|
"summary": "Convertir base64 en buffer",
|
186
292
|
"description": "Convertit un fichier base64 en buffer",
|
187
293
|
"parameters": [
|
@@ -195,12 +301,32 @@
|
|
195
301
|
}
|
196
302
|
}
|
197
303
|
],
|
198
|
-
"x-events": []
|
304
|
+
"x-events": [],
|
305
|
+
"responses": {
|
306
|
+
"200": {
|
307
|
+
"description": "Base64 converti en buffer",
|
308
|
+
"content": {
|
309
|
+
"application/json": {
|
310
|
+
"schema": {
|
311
|
+
"description": "Objet Buffer contenant les données base64 décodées",
|
312
|
+
"type": "array",
|
313
|
+
"items": {
|
314
|
+
"type": "number"
|
315
|
+
}
|
316
|
+
}
|
317
|
+
}
|
318
|
+
}
|
319
|
+
}
|
320
|
+
}
|
199
321
|
}
|
200
322
|
},
|
201
323
|
"/trycatch": {
|
202
324
|
"post": {
|
203
|
-
"tags": [
|
325
|
+
"tags": [
|
326
|
+
"web",
|
327
|
+
"service",
|
328
|
+
"spatial"
|
329
|
+
],
|
204
330
|
"summary": "Attraper les erreurs",
|
205
331
|
"description": "Essaye une action et attrape les erreurs",
|
206
332
|
"parameters": [
|
@@ -229,20 +355,51 @@
|
|
229
355
|
}
|
230
356
|
}
|
231
357
|
],
|
232
|
-
"x-events": []
|
358
|
+
"x-events": [],
|
359
|
+
"responses": {
|
360
|
+
"200": {
|
361
|
+
"description": "Résultat de l'exécution try-catch",
|
362
|
+
"content": {
|
363
|
+
"application/json": {
|
364
|
+
"schema": {
|
365
|
+
"type": "object",
|
366
|
+
"description": "Résultat de l'exécution du bloc try, ou du bloc catch si une erreur s'est produite"
|
367
|
+
}
|
368
|
+
}
|
369
|
+
}
|
370
|
+
}
|
371
|
+
}
|
233
372
|
}
|
234
373
|
},
|
235
374
|
"/uuid": {
|
236
375
|
"post": {
|
237
|
-
"tags": [
|
376
|
+
"tags": [
|
377
|
+
"web",
|
378
|
+
"service",
|
379
|
+
"spatial"
|
380
|
+
],
|
238
381
|
"summary": "Générer un UUID",
|
239
382
|
"description": "Génère un UUID",
|
240
383
|
"parameters": [],
|
241
|
-
"x-events": []
|
384
|
+
"x-events": [],
|
385
|
+
"responses": {
|
386
|
+
"200": {
|
387
|
+
"description": "UUID généré avec succès",
|
388
|
+
"content": {
|
389
|
+
"application/json": {
|
390
|
+
"schema": {
|
391
|
+
"type": "string",
|
392
|
+
"format": "uuid",
|
393
|
+
"description": "Un UUID v4 généré aléatoirement"
|
394
|
+
}
|
395
|
+
}
|
396
|
+
}
|
397
|
+
}
|
398
|
+
}
|
242
399
|
}
|
243
400
|
}
|
244
401
|
},
|
245
402
|
"components": {
|
246
403
|
"schemas": {}
|
247
404
|
}
|
248
|
-
}
|
405
|
+
}
|
package/schema.json
CHANGED
@@ -10,7 +10,11 @@
|
|
10
10
|
"paths": {
|
11
11
|
"/transform": {
|
12
12
|
"post": {
|
13
|
-
"tags": [
|
13
|
+
"tags": [
|
14
|
+
"web",
|
15
|
+
"service",
|
16
|
+
"spatial"
|
17
|
+
],
|
14
18
|
"summary": "Transform the data",
|
15
19
|
"description": "Transforms a value using the standard data transformation mechanics of the engine.",
|
16
20
|
"parameters": [
|
@@ -36,12 +40,29 @@
|
|
36
40
|
}
|
37
41
|
}
|
38
42
|
],
|
39
|
-
"x-events": []
|
43
|
+
"x-events": [],
|
44
|
+
"responses": {
|
45
|
+
"200": {
|
46
|
+
"description": "Transformed data",
|
47
|
+
"content": {
|
48
|
+
"application/json": {
|
49
|
+
"schema": {
|
50
|
+
"type": "object",
|
51
|
+
"description": "The transformed value or result of the executed actions"
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
40
57
|
}
|
41
58
|
},
|
42
59
|
"/setVariable": {
|
43
60
|
"post": {
|
44
|
-
"tags": [
|
61
|
+
"tags": [
|
62
|
+
"web",
|
63
|
+
"service",
|
64
|
+
"spatial"
|
65
|
+
],
|
45
66
|
"summary": "Save the variable",
|
46
67
|
"description": "Saves the variable in the context of the skill.",
|
47
68
|
"parameters": [
|
@@ -76,12 +97,29 @@
|
|
76
97
|
}
|
77
98
|
}
|
78
99
|
],
|
79
|
-
"x-events": []
|
100
|
+
"x-events": [],
|
101
|
+
"responses": {
|
102
|
+
"200": {
|
103
|
+
"description": "Variable saved successfully",
|
104
|
+
"content": {
|
105
|
+
"application/json": {
|
106
|
+
"schema": {
|
107
|
+
"type": "object",
|
108
|
+
"description": "The saved value or result of the executed actions"
|
109
|
+
}
|
110
|
+
}
|
111
|
+
}
|
112
|
+
}
|
113
|
+
}
|
80
114
|
}
|
81
115
|
},
|
82
116
|
"/defer": {
|
83
117
|
"post": {
|
84
|
-
"tags": [
|
118
|
+
"tags": [
|
119
|
+
"web",
|
120
|
+
"service",
|
121
|
+
"spatial"
|
122
|
+
],
|
85
123
|
"summary": "Defer",
|
86
124
|
"description": "Executes an action after a delay",
|
87
125
|
"parameters": [
|
@@ -107,12 +145,29 @@
|
|
107
145
|
}
|
108
146
|
}
|
109
147
|
],
|
110
|
-
"x-events": []
|
148
|
+
"x-events": [],
|
149
|
+
"responses": {
|
150
|
+
"200": {
|
151
|
+
"description": "Deferred action scheduled",
|
152
|
+
"content": {
|
153
|
+
"application/json": {
|
154
|
+
"schema": {
|
155
|
+
"type": "number",
|
156
|
+
"description": "Timeout ID that can be used to cancel the deferred action"
|
157
|
+
}
|
158
|
+
}
|
159
|
+
}
|
160
|
+
}
|
161
|
+
}
|
111
162
|
}
|
112
163
|
},
|
113
164
|
"/interval": {
|
114
165
|
"post": {
|
115
|
-
"tags": [
|
166
|
+
"tags": [
|
167
|
+
"web",
|
168
|
+
"service",
|
169
|
+
"spatial"
|
170
|
+
],
|
116
171
|
"summary": "Interval",
|
117
172
|
"description": "Executes an action at regular intervals",
|
118
173
|
"parameters": [
|
@@ -138,12 +193,29 @@
|
|
138
193
|
}
|
139
194
|
}
|
140
195
|
],
|
141
|
-
"x-events": []
|
196
|
+
"x-events": [],
|
197
|
+
"responses": {
|
198
|
+
"200": {
|
199
|
+
"description": "Interval scheduled",
|
200
|
+
"content": {
|
201
|
+
"application/json": {
|
202
|
+
"schema": {
|
203
|
+
"type": "number",
|
204
|
+
"description": "Interval ID that can be used to cancel the interval"
|
205
|
+
}
|
206
|
+
}
|
207
|
+
}
|
208
|
+
}
|
209
|
+
}
|
142
210
|
}
|
143
211
|
},
|
144
212
|
"/stopInterval": {
|
145
213
|
"post": {
|
146
|
-
"tags": [
|
214
|
+
"tags": [
|
215
|
+
"web",
|
216
|
+
"service",
|
217
|
+
"spatial"
|
218
|
+
],
|
147
219
|
"summary": "Stop the interval",
|
148
220
|
"description": "Stops the interval from executing",
|
149
221
|
"parameters": [
|
@@ -157,12 +229,29 @@
|
|
157
229
|
}
|
158
230
|
}
|
159
231
|
],
|
160
|
-
"x-events": []
|
232
|
+
"x-events": [],
|
233
|
+
"responses": {
|
234
|
+
"200": {
|
235
|
+
"description": "Interval stopped",
|
236
|
+
"content": {
|
237
|
+
"application/json": {
|
238
|
+
"schema": {
|
239
|
+
"type": "null",
|
240
|
+
"description": "No return value"
|
241
|
+
}
|
242
|
+
}
|
243
|
+
}
|
244
|
+
}
|
245
|
+
}
|
161
246
|
}
|
162
247
|
},
|
163
248
|
"/stopDefer": {
|
164
249
|
"post": {
|
165
|
-
"tags": [
|
250
|
+
"tags": [
|
251
|
+
"web",
|
252
|
+
"service",
|
253
|
+
"spatial"
|
254
|
+
],
|
166
255
|
"summary": "Stop the defer",
|
167
256
|
"description": "Stops the deferred action from executing",
|
168
257
|
"parameters": [
|
@@ -176,12 +265,29 @@
|
|
176
265
|
}
|
177
266
|
}
|
178
267
|
],
|
179
|
-
"x-events": []
|
268
|
+
"x-events": [],
|
269
|
+
"responses": {
|
270
|
+
"200": {
|
271
|
+
"description": "Deferred action stopped",
|
272
|
+
"content": {
|
273
|
+
"application/json": {
|
274
|
+
"schema": {
|
275
|
+
"type": "null",
|
276
|
+
"description": "No return value"
|
277
|
+
}
|
278
|
+
}
|
279
|
+
}
|
280
|
+
}
|
281
|
+
}
|
180
282
|
}
|
181
283
|
},
|
182
284
|
"/base64ToBuffer": {
|
183
285
|
"post": {
|
184
|
-
"tags": [
|
286
|
+
"tags": [
|
287
|
+
"web",
|
288
|
+
"service",
|
289
|
+
"spatial"
|
290
|
+
],
|
185
291
|
"summary": "Convert base64 to buffer",
|
186
292
|
"description": "Converts a base64 string to a buffer.",
|
187
293
|
"parameters": [
|
@@ -195,12 +301,32 @@
|
|
195
301
|
}
|
196
302
|
}
|
197
303
|
],
|
198
|
-
"x-events": []
|
304
|
+
"x-events": [],
|
305
|
+
"responses": {
|
306
|
+
"200": {
|
307
|
+
"description": "Base64 converted to buffer",
|
308
|
+
"content": {
|
309
|
+
"application/json": {
|
310
|
+
"schema": {
|
311
|
+
"description": "Buffer object containing the decoded base64 data",
|
312
|
+
"type": "array",
|
313
|
+
"items": {
|
314
|
+
"type": "number"
|
315
|
+
}
|
316
|
+
}
|
317
|
+
}
|
318
|
+
}
|
319
|
+
}
|
320
|
+
}
|
199
321
|
}
|
200
322
|
},
|
201
323
|
"/trycatch": {
|
202
324
|
"post": {
|
203
|
-
"tags": [
|
325
|
+
"tags": [
|
326
|
+
"web",
|
327
|
+
"service",
|
328
|
+
"spatial"
|
329
|
+
],
|
204
330
|
"summary": "Try and Catch",
|
205
331
|
"description": "Executes a series of actions and catches any errors.",
|
206
332
|
"parameters": [
|
@@ -229,20 +355,51 @@
|
|
229
355
|
}
|
230
356
|
}
|
231
357
|
],
|
232
|
-
"x-events": []
|
358
|
+
"x-events": [],
|
359
|
+
"responses": {
|
360
|
+
"200": {
|
361
|
+
"description": "Try-catch execution result",
|
362
|
+
"content": {
|
363
|
+
"application/json": {
|
364
|
+
"schema": {
|
365
|
+
"type": "object",
|
366
|
+
"description": "Result of the try block execution, or catch block if an error occurred"
|
367
|
+
}
|
368
|
+
}
|
369
|
+
}
|
370
|
+
}
|
371
|
+
}
|
233
372
|
}
|
234
373
|
},
|
235
374
|
"/uuid": {
|
236
375
|
"post": {
|
237
|
-
"tags": [
|
376
|
+
"tags": [
|
377
|
+
"web",
|
378
|
+
"service",
|
379
|
+
"spatial"
|
380
|
+
],
|
238
381
|
"summary": "Generate a UUID",
|
239
382
|
"description": "Generates a UUID.",
|
240
383
|
"parameters": [],
|
241
|
-
"x-events": []
|
384
|
+
"x-events": [],
|
385
|
+
"responses": {
|
386
|
+
"200": {
|
387
|
+
"description": "UUID generated successfully",
|
388
|
+
"content": {
|
389
|
+
"application/json": {
|
390
|
+
"schema": {
|
391
|
+
"type": "string",
|
392
|
+
"format": "uuid",
|
393
|
+
"description": "A randomly generated UUID v4"
|
394
|
+
}
|
395
|
+
}
|
396
|
+
}
|
397
|
+
}
|
398
|
+
}
|
242
399
|
}
|
243
400
|
}
|
244
401
|
},
|
245
402
|
"components": {
|
246
403
|
"schemas": {}
|
247
404
|
}
|
248
|
-
}
|
405
|
+
}
|