@digipair/skill-cron 0.96.0 → 0.97.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 +60 -6
- package/schema.json +59 -5
package/package.json
CHANGED
package/schema.fr.json
CHANGED
@@ -10,7 +10,9 @@
|
|
10
10
|
"paths": {
|
11
11
|
"/crons": {
|
12
12
|
"post": {
|
13
|
-
"tags": [
|
13
|
+
"tags": [
|
14
|
+
"service"
|
15
|
+
],
|
14
16
|
"summary": "Liste des taches planifiées",
|
15
17
|
"parameters": [
|
16
18
|
{
|
@@ -23,12 +25,58 @@
|
|
23
25
|
}
|
24
26
|
}
|
25
27
|
],
|
28
|
+
"responses": {
|
29
|
+
"200": {
|
30
|
+
"description": "Liste des tâches cron planifiées",
|
31
|
+
"content": {
|
32
|
+
"application/json": {
|
33
|
+
"schema": {
|
34
|
+
"type": "array",
|
35
|
+
"items": {
|
36
|
+
"type": "object",
|
37
|
+
"properties": {
|
38
|
+
"id": {
|
39
|
+
"type": "string",
|
40
|
+
"description": "Unique identifier for the cron task"
|
41
|
+
},
|
42
|
+
"time": {
|
43
|
+
"type": "string",
|
44
|
+
"description": "Cron schedule expression"
|
45
|
+
},
|
46
|
+
"digipair": {
|
47
|
+
"type": "string",
|
48
|
+
"description": "Name of the digipair"
|
49
|
+
},
|
50
|
+
"reasoning": {
|
51
|
+
"type": "string",
|
52
|
+
"description": "Name of the reasoning to execute"
|
53
|
+
},
|
54
|
+
"enabled": {
|
55
|
+
"type": "boolean",
|
56
|
+
"description": "Whether the cron task is enabled"
|
57
|
+
}
|
58
|
+
},
|
59
|
+
"required": [
|
60
|
+
"id",
|
61
|
+
"time",
|
62
|
+
"digipair",
|
63
|
+
"reasoning",
|
64
|
+
"enabled"
|
65
|
+
]
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
70
|
+
}
|
71
|
+
},
|
26
72
|
"x-events": []
|
27
73
|
}
|
28
74
|
},
|
29
75
|
"/addCron": {
|
30
76
|
"post": {
|
31
|
-
"tags": [
|
77
|
+
"tags": [
|
78
|
+
"service"
|
79
|
+
],
|
32
80
|
"summary": "Ajoute une plannification",
|
33
81
|
"parameters": [
|
34
82
|
{
|
@@ -82,7 +130,9 @@
|
|
82
130
|
},
|
83
131
|
"/deleteCron": {
|
84
132
|
"post": {
|
85
|
-
"tags": [
|
133
|
+
"tags": [
|
134
|
+
"service"
|
135
|
+
],
|
86
136
|
"summary": "Supprime une plannification",
|
87
137
|
"parameters": [
|
88
138
|
{
|
@@ -109,7 +159,9 @@
|
|
109
159
|
},
|
110
160
|
"/enableCron": {
|
111
161
|
"post": {
|
112
|
-
"tags": [
|
162
|
+
"tags": [
|
163
|
+
"service"
|
164
|
+
],
|
113
165
|
"summary": "Active une plannification",
|
114
166
|
"parameters": [
|
115
167
|
{
|
@@ -136,7 +188,9 @@
|
|
136
188
|
},
|
137
189
|
"/disableCron": {
|
138
190
|
"post": {
|
139
|
-
"tags": [
|
191
|
+
"tags": [
|
192
|
+
"service"
|
193
|
+
],
|
140
194
|
"summary": "Désactive une plannification",
|
141
195
|
"parameters": [
|
142
196
|
{
|
@@ -166,4 +220,4 @@
|
|
166
220
|
"schemas": {}
|
167
221
|
},
|
168
222
|
"x-scene-blocks": {}
|
169
|
-
}
|
223
|
+
}
|
package/schema.json
CHANGED
@@ -10,7 +10,9 @@
|
|
10
10
|
"paths": {
|
11
11
|
"/crons": {
|
12
12
|
"post": {
|
13
|
-
"tags": [
|
13
|
+
"tags": [
|
14
|
+
"service"
|
15
|
+
],
|
14
16
|
"summary": "List of Scheduled Tasks",
|
15
17
|
"parameters": [
|
16
18
|
{
|
@@ -23,12 +25,58 @@
|
|
23
25
|
}
|
24
26
|
}
|
25
27
|
],
|
28
|
+
"responses": {
|
29
|
+
"200": {
|
30
|
+
"description": "List of scheduled cron tasks",
|
31
|
+
"content": {
|
32
|
+
"application/json": {
|
33
|
+
"schema": {
|
34
|
+
"type": "array",
|
35
|
+
"items": {
|
36
|
+
"type": "object",
|
37
|
+
"properties": {
|
38
|
+
"id": {
|
39
|
+
"type": "string",
|
40
|
+
"description": "Unique identifier for the cron task"
|
41
|
+
},
|
42
|
+
"time": {
|
43
|
+
"type": "string",
|
44
|
+
"description": "Cron schedule expression"
|
45
|
+
},
|
46
|
+
"digipair": {
|
47
|
+
"type": "string",
|
48
|
+
"description": "Name of the digipair"
|
49
|
+
},
|
50
|
+
"reasoning": {
|
51
|
+
"type": "string",
|
52
|
+
"description": "Name of the reasoning to execute"
|
53
|
+
},
|
54
|
+
"enabled": {
|
55
|
+
"type": "boolean",
|
56
|
+
"description": "Whether the cron task is enabled"
|
57
|
+
}
|
58
|
+
},
|
59
|
+
"required": [
|
60
|
+
"id",
|
61
|
+
"time",
|
62
|
+
"digipair",
|
63
|
+
"reasoning",
|
64
|
+
"enabled"
|
65
|
+
]
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
70
|
+
}
|
71
|
+
},
|
26
72
|
"x-events": []
|
27
73
|
}
|
28
74
|
},
|
29
75
|
"/addCron": {
|
30
76
|
"post": {
|
31
|
-
"tags": [
|
77
|
+
"tags": [
|
78
|
+
"service"
|
79
|
+
],
|
32
80
|
"summary": "Adds a Schedule",
|
33
81
|
"parameters": [
|
34
82
|
{
|
@@ -82,7 +130,9 @@
|
|
82
130
|
},
|
83
131
|
"/deleteCron": {
|
84
132
|
"post": {
|
85
|
-
"tags": [
|
133
|
+
"tags": [
|
134
|
+
"service"
|
135
|
+
],
|
86
136
|
"summary": "Deletes a Schedule",
|
87
137
|
"parameters": [
|
88
138
|
{
|
@@ -109,7 +159,9 @@
|
|
109
159
|
},
|
110
160
|
"/enableCron": {
|
111
161
|
"post": {
|
112
|
-
"tags": [
|
162
|
+
"tags": [
|
163
|
+
"service"
|
164
|
+
],
|
113
165
|
"summary": "Enables a Schedule",
|
114
166
|
"parameters": [
|
115
167
|
{
|
@@ -136,7 +188,9 @@
|
|
136
188
|
},
|
137
189
|
"/disableCron": {
|
138
190
|
"post": {
|
139
|
-
"tags": [
|
191
|
+
"tags": [
|
192
|
+
"service"
|
193
|
+
],
|
140
194
|
"summary": "Disables a Schedule",
|
141
195
|
"parameters": [
|
142
196
|
{
|