fmea-api-mcp-server 1.1.35 → 1.1.37

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.
@@ -37,6 +37,39 @@
37
37
  "type": "string"
38
38
  }
39
39
  },
40
+ {
41
+ "name": "scope",
42
+ "in": "query",
43
+ "description": "Search scope: 'my' (default, user's projects), 'division' (requires divisionId), 'all' (all projects)",
44
+ "schema": {
45
+ "type": "string",
46
+ "default": "my"
47
+ }
48
+ },
49
+ {
50
+ "name": "divisionId",
51
+ "in": "query",
52
+ "description": "Division ID filter, required when scope=division",
53
+ "schema": {
54
+ "type": "string"
55
+ }
56
+ },
57
+ {
58
+ "name": "dateFrom",
59
+ "in": "query",
60
+ "description": "Target completion date lower bound, format YYYYMMDD, inclusive",
61
+ "schema": {
62
+ "type": "string"
63
+ }
64
+ },
65
+ {
66
+ "name": "dateTo",
67
+ "in": "query",
68
+ "description": "Target completion date upper bound, format YYYYMMDD, inclusive",
69
+ "schema": {
70
+ "type": "string"
71
+ }
72
+ },
40
73
  {
41
74
  "name": "page",
42
75
  "in": "query",
@@ -72,6 +105,9 @@
72
105
  "items": {
73
106
  "type": "object",
74
107
  "properties": {
108
+ "projectId": {
109
+ "type": "string"
110
+ },
75
111
  "reportNo": {
76
112
  "type": "string"
77
113
  },
@@ -147,6 +183,128 @@
147
183
  }
148
184
  }
149
185
  }
186
+ },
187
+ "projects": {
188
+ "type": "array",
189
+ "items": {
190
+ "type": "object",
191
+ "properties": {
192
+ "id": {
193
+ "type": "string"
194
+ },
195
+ "type": {
196
+ "type": "string",
197
+ "enum": [
198
+ "DESIGN",
199
+ "PROCESS",
200
+ "EQUIPMENT",
201
+ "FA",
202
+ "FTA",
203
+ "CPLAN"
204
+ ]
205
+ },
206
+ "master": {
207
+ "type": "boolean"
208
+ },
209
+ "name": {
210
+ "type": "string"
211
+ },
212
+ "item": {
213
+ "type": "string"
214
+ },
215
+ "model": {
216
+ "type": "string"
217
+ },
218
+ "description": {
219
+ "type": "string"
220
+ },
221
+ "leaderName": {
222
+ "type": "string"
223
+ },
224
+ "startDate": {
225
+ "type": "string",
226
+ "format": "date"
227
+ },
228
+ "dueDate": {
229
+ "type": "string",
230
+ "format": "date"
231
+ },
232
+ "status": {
233
+ "type": "string",
234
+ "enum": [
235
+ "IN_PROGRESS",
236
+ "REFUSED",
237
+ "SELF_COMPLETED"
238
+ ]
239
+ },
240
+ "completedDate": {
241
+ "type": "string",
242
+ "format": "date"
243
+ },
244
+ "updateDueDate": {
245
+ "type": "string",
246
+ "format": "date"
247
+ },
248
+ "divisionName": {
249
+ "type": "string"
250
+ },
251
+ "divisionScope": {
252
+ "type": "string"
253
+ },
254
+ "worksheetTemplateName": {
255
+ "type": "string"
256
+ }
257
+ }
258
+ }
259
+ }
260
+ }
261
+ }
262
+ }
263
+ }
264
+ }
265
+ }
266
+ }
267
+ }
268
+ },
269
+ {
270
+ "path": "/api/v2/recommendation-items/rows",
271
+ "method": "PUT",
272
+ "operationId": "batchUpdateRows",
273
+ "summary": "Batch update recommendation row cells",
274
+ "description": "Upserts cell values for recommendation rows. Each row's columns must be in the editable whitelist (42-48). All updates are in a single transaction.",
275
+ "tags": [
276
+ "Recommendation"
277
+ ],
278
+ "parameters": [],
279
+ "requestBody": {
280
+ "content": {
281
+ "application/json": {
282
+ "schema": {
283
+ "type": "object",
284
+ "properties": {
285
+ "rows": {
286
+ "type": "array",
287
+ "items": {
288
+ "type": "object",
289
+ "properties": {
290
+ "rowId": {
291
+ "type": "integer",
292
+ "format": "int32"
293
+ },
294
+ "columns": {
295
+ "type": "array",
296
+ "items": {
297
+ "type": "object",
298
+ "properties": {
299
+ "id": {
300
+ "type": "integer",
301
+ "format": "int32"
302
+ },
303
+ "value": {
304
+ "type": "string"
305
+ }
306
+ }
307
+ }
150
308
  }
151
309
  }
152
310
  }
@@ -155,6 +313,26 @@
155
313
  }
156
314
  }
157
315
  }
316
+ },
317
+ "responses": {
318
+ "default": {
319
+ "description": "default response",
320
+ "content": {
321
+ "application/json": {
322
+ "schema": {
323
+ "type": "object",
324
+ "properties": {
325
+ "updatedRows": {
326
+ "type": "integer"
327
+ },
328
+ "updatedCells": {
329
+ "type": "integer"
330
+ }
331
+ }
332
+ }
333
+ }
334
+ }
335
+ }
158
336
  }
159
337
  }
160
338
  ]
@@ -6,7 +6,7 @@
6
6
  {
7
7
  "path": "/api/v2/scoring/criteria/{id}",
8
8
  "method": "DELETE",
9
- "operationId": "deleteItem_4",
9
+ "operationId": "deleteItem_3",
10
10
  "summary": "Delete scoring criteria item",
11
11
  "description": "Deletes a scoring criteria item and all its descendants recursively. Returns 404 if the item does not exist.",
12
12
  "tags": [
@@ -36,7 +36,7 @@
36
36
  {
37
37
  "path": "/api/v2/scoring/criteria/tree",
38
38
  "method": "GET",
39
- "operationId": "getTree_2",
39
+ "operationId": "getTree_1",
40
40
  "summary": "Get scoring criteria tree",
41
41
  "description": "Returns the full scoring criteria tree from root to leaf values. Includes scorePercent for s_Part nodes. Used to display the complete criteria hierarchy for completeness evaluation.",
42
42
  "tags": [
@@ -90,7 +90,7 @@
90
90
  {
91
91
  "path": "/api/v2/scoring/criteria/{id}",
92
92
  "method": "GET",
93
- "operationId": "getItem_2",
93
+ "operationId": "getItem_1",
94
94
  "summary": "Get scoring criteria item",
95
95
  "description": "Returns a single scoring criteria item by ID. Returns 404 if the item does not exist.",
96
96
  "tags": [
@@ -285,7 +285,7 @@
285
285
  {
286
286
  "path": "/api/v2/scoring/criteria/{parentId}/items",
287
287
  "method": "POST",
288
- "operationId": "createItem_4",
288
+ "operationId": "createItem_3",
289
289
  "summary": "Create scoring criteria item",
290
290
  "description": "Creates a new scoring criteria item under the specified parent. The child type is auto-determined based on the parent type. Score validation applies for s_Scoring type (0-10).",
291
291
  "tags": [
@@ -368,7 +368,7 @@
368
368
  {
369
369
  "path": "/api/v2/scoring/criteria/{id}",
370
370
  "method": "PUT",
371
- "operationId": "updateItem_4",
371
+ "operationId": "updateItem_3",
372
372
  "summary": "Update scoring criteria item",
373
373
  "description": "Updates the title, description, and/or score of a scoring criteria item. Duplicate title validation applies within the same parent.",
374
374
  "tags": [