@digipair/skill-temporal 0.25.5 → 0.26.0
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 +262 -0
- package/schema.json +50 -50
package/package.json
CHANGED
package/schema.fr.json
ADDED
|
@@ -0,0 +1,262 @@
|
|
|
1
|
+
{
|
|
2
|
+
"openapi": "3.0.0",
|
|
3
|
+
"info": {
|
|
4
|
+
"title": "@digipair/skill-temporal",
|
|
5
|
+
"summary": "Gestion des workflows temporal",
|
|
6
|
+
"description": "Cette compétence permet de gérer des workflows temporal",
|
|
7
|
+
"version": "0.1.0",
|
|
8
|
+
"x-icon": "👩💻"
|
|
9
|
+
},
|
|
10
|
+
"paths": {
|
|
11
|
+
"/activity": {
|
|
12
|
+
"post": {
|
|
13
|
+
"tags": ["service"],
|
|
14
|
+
"summary": "Activitée",
|
|
15
|
+
"description": "Définit une activité",
|
|
16
|
+
"parameters": [
|
|
17
|
+
{
|
|
18
|
+
"name": "name",
|
|
19
|
+
"summary": "Nom",
|
|
20
|
+
"required": false,
|
|
21
|
+
"description": "Nom de l'étape",
|
|
22
|
+
"schema": {
|
|
23
|
+
"type": "string"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "execute",
|
|
28
|
+
"summary": "Exécute",
|
|
29
|
+
"required": true,
|
|
30
|
+
"description": "Liste des actions à exécuter",
|
|
31
|
+
"schema": {
|
|
32
|
+
"type": "array",
|
|
33
|
+
"items": {
|
|
34
|
+
"$ref": "https://schemas.digipair.ai/pinsSettings"
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
"x-events": []
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"/sleep": {
|
|
43
|
+
"post": {
|
|
44
|
+
"tags": ["service"],
|
|
45
|
+
"summary": "Attente",
|
|
46
|
+
"parameters": [
|
|
47
|
+
{
|
|
48
|
+
"name": "name",
|
|
49
|
+
"summary": "Nom",
|
|
50
|
+
"required": false,
|
|
51
|
+
"description": "Nom de l'étape",
|
|
52
|
+
"schema": {
|
|
53
|
+
"type": "string"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"name": "duration",
|
|
58
|
+
"summary": "Durée",
|
|
59
|
+
"required": true,
|
|
60
|
+
"description": "Durée de l'attente",
|
|
61
|
+
"schema": {
|
|
62
|
+
"type": "string"
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
],
|
|
66
|
+
"x-events": []
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"/condition": {
|
|
70
|
+
"post": {
|
|
71
|
+
"tags": ["service"],
|
|
72
|
+
"summary": "Condition d'attente",
|
|
73
|
+
"description": "Condition d'attente dans un workflow",
|
|
74
|
+
"parameters": [
|
|
75
|
+
{
|
|
76
|
+
"name": "condition",
|
|
77
|
+
"summary": "Condition",
|
|
78
|
+
"required": true,
|
|
79
|
+
"description": "Condition d'attente au format Feel",
|
|
80
|
+
"schema": {
|
|
81
|
+
"type": "string"
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"name": "timeout",
|
|
86
|
+
"summary": "Timeout",
|
|
87
|
+
"required": false,
|
|
88
|
+
"description": "Timeout de la condition",
|
|
89
|
+
"schema": {
|
|
90
|
+
"type": "number"
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
],
|
|
94
|
+
"x-events": []
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
"/goto": {
|
|
98
|
+
"post": {
|
|
99
|
+
"tags": ["service"],
|
|
100
|
+
"summary": "Aller à l'étape",
|
|
101
|
+
"parameters": [
|
|
102
|
+
{
|
|
103
|
+
"name": "target",
|
|
104
|
+
"summary": "Nom de la destination",
|
|
105
|
+
"required": true,
|
|
106
|
+
"description": "Nom de l'étape de destination",
|
|
107
|
+
"schema": {
|
|
108
|
+
"type": "string"
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"name": "name",
|
|
113
|
+
"summary": "Nom",
|
|
114
|
+
"required": false,
|
|
115
|
+
"description": "Nom de l'étape",
|
|
116
|
+
"schema": {
|
|
117
|
+
"type": "string"
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
],
|
|
121
|
+
"x-events": []
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
"/stop": {
|
|
125
|
+
"post": {
|
|
126
|
+
"tags": ["service"],
|
|
127
|
+
"summary": "Arrête le workflow",
|
|
128
|
+
"description": "Arrête le workflow",
|
|
129
|
+
"parameters": [
|
|
130
|
+
{
|
|
131
|
+
"name": "name",
|
|
132
|
+
"summary": "Nom",
|
|
133
|
+
"required": false,
|
|
134
|
+
"description": "Nom de l'étape",
|
|
135
|
+
"schema": {
|
|
136
|
+
"type": "string"
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
],
|
|
140
|
+
"x-events": []
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
"/push": {
|
|
144
|
+
"post": {
|
|
145
|
+
"tags": ["service"],
|
|
146
|
+
"summary": "Envoi de nouvelles données dans un workflow",
|
|
147
|
+
"description": "Envoi de nouvelles données dans le workflow",
|
|
148
|
+
"parameters": [
|
|
149
|
+
{
|
|
150
|
+
"name": "id",
|
|
151
|
+
"summary": "Identifiant du workflow",
|
|
152
|
+
"required": true,
|
|
153
|
+
"description": "Identifiant du workflow",
|
|
154
|
+
"schema": {
|
|
155
|
+
"type": "string"
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"name": "data",
|
|
160
|
+
"summary": "Données",
|
|
161
|
+
"required": true,
|
|
162
|
+
"description": "Données",
|
|
163
|
+
"schema": {
|
|
164
|
+
"type": "object"
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
],
|
|
168
|
+
"x-events": []
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
"/terminate": {
|
|
172
|
+
"post": {
|
|
173
|
+
"tags": ["service"],
|
|
174
|
+
"summary": "Arrête un workflow",
|
|
175
|
+
"description": "Arrête un workflow",
|
|
176
|
+
"parameters": [
|
|
177
|
+
{
|
|
178
|
+
"name": "id",
|
|
179
|
+
"summary": "Identifiant du workflow",
|
|
180
|
+
"required": true,
|
|
181
|
+
"description": "Identifiant du workflow",
|
|
182
|
+
"schema": {
|
|
183
|
+
"type": "string"
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
],
|
|
187
|
+
"x-events": []
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
"/list": {
|
|
191
|
+
"post": {
|
|
192
|
+
"tags": ["service"],
|
|
193
|
+
"summary": "Liste les workflows",
|
|
194
|
+
"description": "Liste les workflows",
|
|
195
|
+
"parameters": [
|
|
196
|
+
{
|
|
197
|
+
"name": "query",
|
|
198
|
+
"summary": "Requête",
|
|
199
|
+
"required": false,
|
|
200
|
+
"description": "Requête de recherche",
|
|
201
|
+
"schema": {
|
|
202
|
+
"type": "string"
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
],
|
|
206
|
+
"x-events": []
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
"components": {
|
|
211
|
+
"schemas": {}
|
|
212
|
+
},
|
|
213
|
+
"x-scene-blocks": {
|
|
214
|
+
"/workflow": {
|
|
215
|
+
"summary": "Workflow Temporal",
|
|
216
|
+
"description": "Execute un workflow Temporal",
|
|
217
|
+
"tags": ["service"],
|
|
218
|
+
"metadata": [],
|
|
219
|
+
"parameters": [
|
|
220
|
+
{
|
|
221
|
+
"name": "id",
|
|
222
|
+
"summary": "Identifiant",
|
|
223
|
+
"required": true,
|
|
224
|
+
"description": "Identifiant du workflow",
|
|
225
|
+
"schema": {
|
|
226
|
+
"type": "string"
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"name": "steps",
|
|
231
|
+
"summary": "Exécute les étapes suivantes",
|
|
232
|
+
"required": true,
|
|
233
|
+
"description": "Contenu de la page",
|
|
234
|
+
"schema": {
|
|
235
|
+
"type": "array",
|
|
236
|
+
"items": {
|
|
237
|
+
"$ref": "https://schemas.digipair.ai/pinsSettings"
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"name": "data",
|
|
243
|
+
"summary": "Données du workflow",
|
|
244
|
+
"required": false,
|
|
245
|
+
"description": "Données du workflow temporal",
|
|
246
|
+
"schema": {
|
|
247
|
+
"type": "object"
|
|
248
|
+
}
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"name": "options",
|
|
252
|
+
"summary": "Options temporal",
|
|
253
|
+
"required": false,
|
|
254
|
+
"description": "Options du workflow temporal",
|
|
255
|
+
"schema": {
|
|
256
|
+
"type": "object"
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
]
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
}
|
package/schema.json
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"openapi": "3.0.0",
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "@digipair/skill-temporal",
|
|
5
|
-
"summary": "
|
|
6
|
-
"description": "
|
|
5
|
+
"summary": "Temporal workflow management",
|
|
6
|
+
"description": "This skill allows managing temporal workflows",
|
|
7
7
|
"version": "0.1.0",
|
|
8
8
|
"x-icon": "👩💻"
|
|
9
9
|
},
|
|
@@ -11,23 +11,23 @@
|
|
|
11
11
|
"/activity": {
|
|
12
12
|
"post": {
|
|
13
13
|
"tags": ["service"],
|
|
14
|
-
"summary": "
|
|
15
|
-
"description": "
|
|
14
|
+
"summary": "Activity",
|
|
15
|
+
"description": "Defines an activity",
|
|
16
16
|
"parameters": [
|
|
17
17
|
{
|
|
18
18
|
"name": "name",
|
|
19
|
-
"summary": "
|
|
19
|
+
"summary": "Name",
|
|
20
20
|
"required": false,
|
|
21
|
-
"description": "
|
|
21
|
+
"description": "Name of the step",
|
|
22
22
|
"schema": {
|
|
23
23
|
"type": "string"
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
27
|
"name": "execute",
|
|
28
|
-
"summary": "
|
|
28
|
+
"summary": "Execute",
|
|
29
29
|
"required": true,
|
|
30
|
-
"description": "
|
|
30
|
+
"description": "List of actions to execute",
|
|
31
31
|
"schema": {
|
|
32
32
|
"type": "array",
|
|
33
33
|
"items": {
|
|
@@ -42,22 +42,22 @@
|
|
|
42
42
|
"/sleep": {
|
|
43
43
|
"post": {
|
|
44
44
|
"tags": ["service"],
|
|
45
|
-
"summary": "
|
|
45
|
+
"summary": "Wait",
|
|
46
46
|
"parameters": [
|
|
47
47
|
{
|
|
48
48
|
"name": "name",
|
|
49
|
-
"summary": "
|
|
49
|
+
"summary": "Name",
|
|
50
50
|
"required": false,
|
|
51
|
-
"description": "
|
|
51
|
+
"description": "Name of the step",
|
|
52
52
|
"schema": {
|
|
53
53
|
"type": "string"
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
57
|
"name": "duration",
|
|
58
|
-
"summary": "
|
|
58
|
+
"summary": "Duration",
|
|
59
59
|
"required": true,
|
|
60
|
-
"description": "
|
|
60
|
+
"description": "Duration of the wait",
|
|
61
61
|
"schema": {
|
|
62
62
|
"type": "string"
|
|
63
63
|
}
|
|
@@ -69,14 +69,14 @@
|
|
|
69
69
|
"/condition": {
|
|
70
70
|
"post": {
|
|
71
71
|
"tags": ["service"],
|
|
72
|
-
"summary": "
|
|
73
|
-
"description": "
|
|
72
|
+
"summary": "Wait condition",
|
|
73
|
+
"description": "Wait condition in a workflow",
|
|
74
74
|
"parameters": [
|
|
75
75
|
{
|
|
76
76
|
"name": "condition",
|
|
77
77
|
"summary": "Condition",
|
|
78
78
|
"required": true,
|
|
79
|
-
"description": "
|
|
79
|
+
"description": "Wait condition in Feel format",
|
|
80
80
|
"schema": {
|
|
81
81
|
"type": "string"
|
|
82
82
|
}
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"name": "timeout",
|
|
86
86
|
"summary": "Timeout",
|
|
87
87
|
"required": false,
|
|
88
|
-
"description": "Timeout
|
|
88
|
+
"description": "Timeout of the condition",
|
|
89
89
|
"schema": {
|
|
90
90
|
"type": "number"
|
|
91
91
|
}
|
|
@@ -97,22 +97,22 @@
|
|
|
97
97
|
"/goto": {
|
|
98
98
|
"post": {
|
|
99
99
|
"tags": ["service"],
|
|
100
|
-
"summary": "
|
|
100
|
+
"summary": "Go to step",
|
|
101
101
|
"parameters": [
|
|
102
102
|
{
|
|
103
103
|
"name": "target",
|
|
104
|
-
"summary": "
|
|
104
|
+
"summary": "Destination name",
|
|
105
105
|
"required": true,
|
|
106
|
-
"description": "
|
|
106
|
+
"description": "Name of the destination step",
|
|
107
107
|
"schema": {
|
|
108
108
|
"type": "string"
|
|
109
109
|
}
|
|
110
110
|
},
|
|
111
111
|
{
|
|
112
112
|
"name": "name",
|
|
113
|
-
"summary": "
|
|
113
|
+
"summary": "Name",
|
|
114
114
|
"required": false,
|
|
115
|
-
"description": "
|
|
115
|
+
"description": "Name of the step",
|
|
116
116
|
"schema": {
|
|
117
117
|
"type": "string"
|
|
118
118
|
}
|
|
@@ -124,14 +124,14 @@
|
|
|
124
124
|
"/stop": {
|
|
125
125
|
"post": {
|
|
126
126
|
"tags": ["service"],
|
|
127
|
-
"summary": "
|
|
128
|
-
"description": "
|
|
127
|
+
"summary": "Stop the workflow",
|
|
128
|
+
"description": "Stop the workflow",
|
|
129
129
|
"parameters": [
|
|
130
130
|
{
|
|
131
131
|
"name": "name",
|
|
132
|
-
"summary": "
|
|
132
|
+
"summary": "Name",
|
|
133
133
|
"required": false,
|
|
134
|
-
"description": "
|
|
134
|
+
"description": "Name of the step",
|
|
135
135
|
"schema": {
|
|
136
136
|
"type": "string"
|
|
137
137
|
}
|
|
@@ -143,23 +143,23 @@
|
|
|
143
143
|
"/push": {
|
|
144
144
|
"post": {
|
|
145
145
|
"tags": ["service"],
|
|
146
|
-
"summary": "
|
|
147
|
-
"description": "
|
|
146
|
+
"summary": "Send new data to a workflow",
|
|
147
|
+
"description": "Send new data to the workflow",
|
|
148
148
|
"parameters": [
|
|
149
149
|
{
|
|
150
150
|
"name": "id",
|
|
151
|
-
"summary": "
|
|
151
|
+
"summary": "Workflow ID",
|
|
152
152
|
"required": true,
|
|
153
|
-
"description": "
|
|
153
|
+
"description": "Workflow ID",
|
|
154
154
|
"schema": {
|
|
155
155
|
"type": "string"
|
|
156
156
|
}
|
|
157
157
|
},
|
|
158
158
|
{
|
|
159
159
|
"name": "data",
|
|
160
|
-
"summary": "
|
|
160
|
+
"summary": "Data",
|
|
161
161
|
"required": true,
|
|
162
|
-
"description": "
|
|
162
|
+
"description": "Data",
|
|
163
163
|
"schema": {
|
|
164
164
|
"type": "object"
|
|
165
165
|
}
|
|
@@ -171,14 +171,14 @@
|
|
|
171
171
|
"/terminate": {
|
|
172
172
|
"post": {
|
|
173
173
|
"tags": ["service"],
|
|
174
|
-
"summary": "
|
|
175
|
-
"description": "
|
|
174
|
+
"summary": "Stop a workflow",
|
|
175
|
+
"description": "Stop a workflow",
|
|
176
176
|
"parameters": [
|
|
177
177
|
{
|
|
178
178
|
"name": "id",
|
|
179
|
-
"summary": "
|
|
179
|
+
"summary": "Workflow ID",
|
|
180
180
|
"required": true,
|
|
181
|
-
"description": "
|
|
181
|
+
"description": "Workflow ID",
|
|
182
182
|
"schema": {
|
|
183
183
|
"type": "string"
|
|
184
184
|
}
|
|
@@ -190,14 +190,14 @@
|
|
|
190
190
|
"/list": {
|
|
191
191
|
"post": {
|
|
192
192
|
"tags": ["service"],
|
|
193
|
-
"summary": "
|
|
194
|
-
"description": "
|
|
193
|
+
"summary": "List workflows",
|
|
194
|
+
"description": "List workflows",
|
|
195
195
|
"parameters": [
|
|
196
196
|
{
|
|
197
197
|
"name": "query",
|
|
198
|
-
"summary": "
|
|
198
|
+
"summary": "Query",
|
|
199
199
|
"required": false,
|
|
200
|
-
"description": "
|
|
200
|
+
"description": "Search query",
|
|
201
201
|
"schema": {
|
|
202
202
|
"type": "string"
|
|
203
203
|
}
|
|
@@ -212,25 +212,25 @@
|
|
|
212
212
|
},
|
|
213
213
|
"x-scene-blocks": {
|
|
214
214
|
"/workflow": {
|
|
215
|
-
"summary": "Workflow
|
|
216
|
-
"description": "Execute
|
|
215
|
+
"summary": "Temporal Workflow",
|
|
216
|
+
"description": "Execute a Temporal workflow",
|
|
217
217
|
"tags": ["service"],
|
|
218
218
|
"metadata": [],
|
|
219
219
|
"parameters": [
|
|
220
220
|
{
|
|
221
221
|
"name": "id",
|
|
222
|
-
"summary": "
|
|
222
|
+
"summary": "ID",
|
|
223
223
|
"required": true,
|
|
224
|
-
"description": "
|
|
224
|
+
"description": "Workflow ID",
|
|
225
225
|
"schema": {
|
|
226
226
|
"type": "string"
|
|
227
227
|
}
|
|
228
228
|
},
|
|
229
229
|
{
|
|
230
230
|
"name": "steps",
|
|
231
|
-
"summary": "
|
|
231
|
+
"summary": "Execute the following steps",
|
|
232
232
|
"required": true,
|
|
233
|
-
"description": "
|
|
233
|
+
"description": "Content of the page",
|
|
234
234
|
"schema": {
|
|
235
235
|
"type": "array",
|
|
236
236
|
"items": {
|
|
@@ -240,18 +240,18 @@
|
|
|
240
240
|
},
|
|
241
241
|
{
|
|
242
242
|
"name": "data",
|
|
243
|
-
"summary": "
|
|
243
|
+
"summary": "Workflow data",
|
|
244
244
|
"required": false,
|
|
245
|
-
"description": "
|
|
245
|
+
"description": "Temporal workflow data",
|
|
246
246
|
"schema": {
|
|
247
247
|
"type": "object"
|
|
248
248
|
}
|
|
249
249
|
},
|
|
250
250
|
{
|
|
251
251
|
"name": "options",
|
|
252
|
-
"summary": "
|
|
252
|
+
"summary": "Temporal options",
|
|
253
253
|
"required": false,
|
|
254
|
-
"description": "
|
|
254
|
+
"description": "Temporal workflow options",
|
|
255
255
|
"schema": {
|
|
256
256
|
"type": "object"
|
|
257
257
|
}
|