fmea-api-mcp-server 1.1.63 → 1.1.65

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.
Files changed (40) hide show
  1. package/data/changelog/1.1.63.json +11 -0
  2. package/data/changelog/1.1.64.json +10 -0
  3. package/data/changelog/next.json +785 -18
  4. package/data/endpoint-lookup.json +1 -1
  5. package/data/enums.json +4 -3
  6. package/data/search-index.oxy +1 -1
  7. package/dist/index.js +1 -1
  8. package/dist/intents.js +1 -1
  9. package/dist/services/search/OramaSearchService.js +4 -1
  10. package/dist/synonyms.js +4 -2
  11. package/dist/utils/ScoreCalculator.js +7 -2
  12. package/endpoints/v2/action-status/core.json +59 -0
  13. package/endpoints/v2/classification-excel/core.json +1 -1
  14. package/endpoints/v2/classifications/core.json +110 -458
  15. package/endpoints/v2/condition-library-excel/core.json +220 -2
  16. package/endpoints/v2/division-excel/core.json +1 -1
  17. package/endpoints/v2/divisions/core.json +214 -238
  18. package/endpoints/v2/documents/core.json +203 -9
  19. package/endpoints/v2/evaluation/core.json +433 -663
  20. package/endpoints/v2/evaluation-excel/core.json +1 -1
  21. package/endpoints/v2/failure-mode-library/core.json +189 -0
  22. package/endpoints/v2/failure-mode-library-excel/core.json +289 -0
  23. package/endpoints/v2/fourm/core.json +3 -3
  24. package/endpoints/v2/high-items/core.json +1 -1
  25. package/endpoints/v2/notice-excel/core.json +1 -1
  26. package/endpoints/v2/notices/core.json +4 -4
  27. package/endpoints/v2/process-symbol-excel/core.json +63 -4
  28. package/endpoints/v2/process-symbols/core.json +2 -2
  29. package/endpoints/v2/projects/core.json +26 -2
  30. package/endpoints/v2/scoring/core.json +34 -137
  31. package/endpoints/v2/synonym-excel/core.json +101 -8
  32. package/endpoints/v2/synonyms/core.json +58 -176
  33. package/endpoints/v2/templates/core.json +1 -157
  34. package/endpoints/v2/user-excel/core.json +1 -1
  35. package/endpoints/v2/users/core.json +42 -0
  36. package/endpoints/v2/worksheet-template-excel/core.json +1 -1
  37. package/endpoints/v2/worksheets/core.json +2 -2
  38. package/endpoints/v2/worksheets/excel.json +1 -1
  39. package/package.json +1 -1
  40. package/endpoints/v2/fm-checkpoint/core.json +0 -363
@@ -380,6 +380,12 @@
380
380
  "code": {
381
381
  "type": "string"
382
382
  },
383
+ "aliases": {
384
+ "type": "array",
385
+ "items": {
386
+ "type": "string"
387
+ }
388
+ },
383
389
  "relatedDivisions": {
384
390
  "type": "array",
385
391
  "items": {
@@ -833,6 +839,12 @@
833
839
  "code": {
834
840
  "type": "string"
835
841
  },
842
+ "aliases": {
843
+ "type": "array",
844
+ "items": {
845
+ "type": "string"
846
+ }
847
+ },
836
848
  "relatedDivisions": {
837
849
  "type": "array",
838
850
  "items": {
@@ -929,6 +941,12 @@
929
941
  "code": {
930
942
  "type": "string"
931
943
  },
944
+ "aliases": {
945
+ "type": "array",
946
+ "items": {
947
+ "type": "string"
948
+ }
949
+ },
932
950
  "relatedDivisions": {
933
951
  "type": "array",
934
952
  "items": {
@@ -1400,6 +1418,12 @@
1400
1418
  "code": {
1401
1419
  "type": "string"
1402
1420
  },
1421
+ "aliases": {
1422
+ "type": "array",
1423
+ "items": {
1424
+ "type": "string"
1425
+ }
1426
+ },
1403
1427
  "relatedDivisions": {
1404
1428
  "type": "array",
1405
1429
  "items": {
@@ -1944,7 +1968,7 @@
1944
1968
  {
1945
1969
  "path": "/api/v2/projects/groups/{groupId}",
1946
1970
  "method": "DELETE",
1947
- "operationId": "deleteGroup_1",
1971
+ "operationId": "deleteGroup",
1948
1972
  "summary": "Delete project group",
1949
1973
  "description": "Deletes every stored row for an owned project group.",
1950
1974
  "tags": [
@@ -2087,7 +2111,7 @@
2087
2111
  {
2088
2112
  "path": "/api/v2/projects/groups",
2089
2113
  "method": "POST",
2090
- "operationId": "createGroup_1",
2114
+ "operationId": "createGroup",
2091
2115
  "summary": "Create project group",
2092
2116
  "description": "Creates a new project group for the authenticated user. The server assigns the next sort order in the user's list and stores an empty-group placeholder row. Duplicate names are rejected within the authenticated user's scope.",
2093
2117
  "tags": [
@@ -3,36 +3,6 @@
3
3
  "version": "v2",
4
4
  "description": "",
5
5
  "endpoints": [
6
- {
7
- "path": "/api/v2/scoring/criteria/{id}",
8
- "method": "DELETE",
9
- "operationId": "deleteItem_3",
10
- "summary": "Delete scoring criteria item",
11
- "description": "Deletes a scoring criteria item and all its descendants recursively. Returns 404 if the item does not exist.",
12
- "tags": [
13
- "Scoring Criteria"
14
- ],
15
- "parameters": [
16
- {
17
- "name": "id",
18
- "in": "path",
19
- "description": "Unique ID of the scoring criteria item to delete",
20
- "required": true,
21
- "schema": {
22
- "type": "string"
23
- }
24
- }
25
- ],
26
- "requestBody": null,
27
- "responses": {
28
- "default": {
29
- "description": "default response",
30
- "content": {
31
- "application/json": {}
32
- }
33
- }
34
- }
35
- },
36
6
  {
37
7
  "path": "/api/v2/scoring/criteria/tree",
38
8
  "method": "GET",
@@ -90,9 +60,9 @@
90
60
  {
91
61
  "path": "/api/v2/scoring/criteria/{id}",
92
62
  "method": "GET",
93
- "operationId": "getItem_1",
63
+ "operationId": "getItem",
94
64
  "summary": "Get scoring criteria item",
95
- "description": "Returns a single scoring criteria item by ID. Returns 404 if the item does not exist.",
65
+ "description": "Helper read that returns a single scoring criteria item by ID. The main admin snapshot source read is GET /api/v2/scoring/criteria/tree. Returns 404 if the item does not exist.",
96
66
  "tags": [
97
67
  "Scoring Criteria"
98
68
  ],
@@ -155,7 +125,7 @@
155
125
  "method": "GET",
156
126
  "operationId": "getBreadcrumb",
157
127
  "summary": "Get breadcrumb path for scoring criteria item",
158
- "description": "Returns the breadcrumb path from root to the specified item. Useful for navigation to show where an item sits in the hierarchy.",
128
+ "description": "Helper read that returns the breadcrumb path from root to the specified item. Useful for navigation to show where an item sits in the hierarchy. The main admin snapshot source read is GET /api/v2/scoring/criteria/tree.",
159
129
  "tags": [
160
130
  "Scoring Criteria"
161
131
  ],
@@ -221,7 +191,7 @@
221
191
  "method": "GET",
222
192
  "operationId": "getChildren",
223
193
  "summary": "Get children of scoring criteria item",
224
- "description": "Returns the direct children of the specified scoring criteria item. Results are sorted by score descending.",
194
+ "description": "Helper read that returns the direct children of the specified scoring criteria item. Results are sorted by score descending. The main admin snapshot source read is GET /api/v2/scoring/criteria/tree.",
225
195
  "tags": [
226
196
  "Scoring Criteria"
227
197
  ],
@@ -283,123 +253,49 @@
283
253
  }
284
254
  },
285
255
  {
286
- "path": "/api/v2/scoring/criteria/{parentId}/items",
287
- "method": "POST",
288
- "operationId": "createItem_3",
289
- "summary": "Create scoring criteria item",
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).",
256
+ "path": "/api/v2/scoring/criteria/tree",
257
+ "method": "PUT",
258
+ "operationId": "saveTreeSnapshot",
259
+ "summary": "Save scoring criteria tree snapshot",
260
+ "description": "Saves the entire scoring criteria tree as one snapshot. The request is rooted at the scoring tree root and includes title, description, score, type, and ordered children. Omitted nodes are deleted with their subtrees, and sibling order is persisted by tree array position.",
291
261
  "tags": [
292
262
  "Scoring Criteria"
293
263
  ],
294
- "parameters": [
295
- {
296
- "name": "parentId",
297
- "in": "path",
298
- "description": "ID of the parent scoring criteria item",
299
- "required": true,
300
- "schema": {
301
- "type": "string"
302
- }
303
- }
304
- ],
264
+ "parameters": [],
305
265
  "requestBody": {
306
266
  "content": {
307
267
  "application/json": {
308
268
  "schema": {
309
269
  "type": "object",
310
270
  "properties": {
311
- "title": {
312
- "type": "string"
313
- },
314
- "description": {
271
+ "id": {
315
272
  "type": "string"
316
273
  },
317
- "score": {
318
- "type": "integer",
319
- "format": "int32"
320
- }
321
- }
322
- }
323
- }
324
- }
325
- },
326
- "responses": {
327
- "default": {
328
- "description": "default response",
329
- "content": {
330
- "application/json": {
331
- "schema": {
332
- "type": "object",
333
- "properties": {
334
- "id": {
335
- "type": "string"
336
- },
337
- "title": {
338
- "type": "string"
339
- },
340
- "description": {
341
- "type": "string"
342
- },
343
- "type": {
344
- "type": "string",
345
- "enum": [
346
- "SCORING_TYPE",
347
- "S_PART",
348
- "S_SCORING",
349
- "S_VALUE"
350
- ]
351
- },
352
- "depth": {
353
- "type": "integer"
354
- },
355
- "score": {
356
- "type": "integer"
357
- },
358
- "scorePercent": {
359
- "type": "integer"
360
- }
361
- }
362
- }
363
- }
364
- }
365
- }
366
- }
367
- },
368
- {
369
- "path": "/api/v2/scoring/criteria/{id}",
370
- "method": "PUT",
371
- "operationId": "updateItem_3",
372
- "summary": "Update scoring criteria item",
373
- "description": "Updates the title, description, and/or score of a scoring criteria item. Duplicate title validation applies within the same parent.",
374
- "tags": [
375
- "Scoring Criteria"
376
- ],
377
- "parameters": [
378
- {
379
- "name": "id",
380
- "in": "path",
381
- "description": "Unique ID of the scoring criteria item to update",
382
- "required": true,
383
- "schema": {
384
- "type": "string"
385
- }
386
- }
387
- ],
388
- "requestBody": {
389
- "content": {
390
- "application/json": {
391
- "schema": {
392
- "type": "object",
393
- "properties": {
394
274
  "title": {
395
275
  "type": "string"
396
276
  },
397
277
  "description": {
398
278
  "type": "string"
399
279
  },
280
+ "type": {
281
+ "type": "string",
282
+ "enum": [
283
+ "SCORING_TYPE",
284
+ "S_PART",
285
+ "S_SCORING",
286
+ "S_VALUE"
287
+ ]
288
+ },
400
289
  "score": {
401
290
  "type": "integer",
402
291
  "format": "int32"
292
+ },
293
+ "children": {
294
+ "type": "array",
295
+ "items": {
296
+ "type": "object",
297
+ "description": "(circular: ScoringCriteriaTreeSnapshotSaveRequest)"
298
+ }
403
299
  }
404
300
  }
405
301
  }
@@ -420,9 +316,6 @@
420
316
  "title": {
421
317
  "type": "string"
422
318
  },
423
- "description": {
424
- "type": "string"
425
- },
426
319
  "type": {
427
320
  "type": "string",
428
321
  "enum": [
@@ -432,14 +325,18 @@
432
325
  "S_VALUE"
433
326
  ]
434
327
  },
435
- "depth": {
436
- "type": "integer"
437
- },
438
328
  "score": {
439
329
  "type": "integer"
440
330
  },
441
331
  "scorePercent": {
442
332
  "type": "integer"
333
+ },
334
+ "children": {
335
+ "type": "array",
336
+ "items": {
337
+ "type": "object",
338
+ "description": "(circular: ScoringCriteriaTreeNodeDTO)"
339
+ }
443
340
  }
444
341
  }
445
342
  }
@@ -6,9 +6,9 @@
6
6
  {
7
7
  "path": "/api/v2/synonym-excel/export",
8
8
  "method": "GET",
9
- "operationId": "export_8",
9
+ "operationId": "export_9",
10
10
  "summary": "Export synonyms to Excel",
11
- "description": "Exports synonym groups to an XLSX file and returns a download URI. Optional q filter narrows the exported groups before generating the workbook.",
11
+ "description": "This helper route exports the current synonym snapshot to XLSX and returns a download URI. The main JSON snapshot source and save routes are GET /api/v2/synonyms and PUT /api/v2/synonyms.",
12
12
  "tags": [
13
13
  "SynonymExcel"
14
14
  ],
@@ -24,7 +24,7 @@
24
24
  {
25
25
  "name": "useSynonym",
26
26
  "in": "query",
27
- "description": "Whether to expand q with synonym dictionary terms (default: true)",
27
+ "description": "Expand q with synonym dictionary terms (default: true)",
28
28
  "schema": {
29
29
  "type": "boolean",
30
30
  "default": true
@@ -56,9 +56,9 @@
56
56
  {
57
57
  "path": "/api/v2/synonym-excel/{uuid}",
58
58
  "method": "POST",
59
- "operationId": "importExcel_1",
59
+ "operationId": "importExcel_2",
60
60
  "summary": "Import synonyms from Excel",
61
- "description": "Imports synonym groups from a previously uploaded Excel file referenced by uuid. Supports row and column range selection and optional merge into existing groups by first term.",
61
+ "description": "This helper route parses an uploaded Excel file referenced by uuid and imports synonym groups using the requested row and column range. The main JSON save route remains PUT /api/v2/synonyms.",
62
62
  "tags": [
63
63
  "SynonymExcel"
64
64
  ],
@@ -75,9 +75,10 @@
75
75
  {
76
76
  "name": "rowStart",
77
77
  "in": "query",
78
- "description": "Data start row (1-based, default: 1)",
78
+ "description": "Data start row (1-based, default: 2 to skip export header)",
79
79
  "schema": {
80
80
  "type": "integer",
81
+ "default": 2,
81
82
  "format": "int32"
82
83
  }
83
84
  },
@@ -102,7 +103,7 @@
102
103
  {
103
104
  "name": "merge",
104
105
  "in": "query",
105
- "description": "Merge into existing groups when first term matches (default: false)",
106
+ "description": "Merge rows into matched groups (default: false)",
106
107
  "schema": {
107
108
  "type": "boolean"
108
109
  }
@@ -113,7 +114,99 @@
113
114
  "default": {
114
115
  "description": "default response",
115
116
  "content": {
116
- "application/json": {}
117
+ "application/json": {
118
+ "schema": {
119
+ "type": "object"
120
+ }
121
+ }
122
+ }
123
+ }
124
+ },
125
+ "x-dependency-warning": "REQUIRES PRIOR FILE UPLOAD via [POST /api/v2/files]. The {uuid} parameter is the file identifier returned by the upload endpoint."
126
+ },
127
+ {
128
+ "path": "/api/v2/synonym-excel/{uuid}/read",
129
+ "method": "GET",
130
+ "operationId": "readExcel_1",
131
+ "summary": "Preview synonym import from Excel",
132
+ "description": "This helper route parses an uploaded Excel file referenced by uuid and returns the validated synonym groups that would be created or updated by import without writing to the database. The main JSON snapshot source and save routes remain GET /api/v2/synonyms and PUT /api/v2/synonyms.",
133
+ "tags": [
134
+ "SynonymExcel"
135
+ ],
136
+ "parameters": [
137
+ {
138
+ "name": "uuid",
139
+ "in": "path",
140
+ "description": "Uploaded file UUID",
141
+ "required": true,
142
+ "schema": {
143
+ "type": "string"
144
+ }
145
+ },
146
+ {
147
+ "name": "rowStart",
148
+ "in": "query",
149
+ "description": "Data start row (1-based, default: 2 to skip export header)",
150
+ "schema": {
151
+ "type": "integer",
152
+ "default": 2,
153
+ "format": "int32"
154
+ }
155
+ },
156
+ {
157
+ "name": "columnStart",
158
+ "in": "query",
159
+ "description": "Start column (1-based, default: 1)",
160
+ "schema": {
161
+ "type": "integer",
162
+ "format": "int32"
163
+ }
164
+ },
165
+ {
166
+ "name": "columnEnd",
167
+ "in": "query",
168
+ "description": "End column (1-based, required)",
169
+ "schema": {
170
+ "type": "integer",
171
+ "format": "int32"
172
+ }
173
+ },
174
+ {
175
+ "name": "merge",
176
+ "in": "query",
177
+ "description": "Merge rows into matched groups (default: false)",
178
+ "schema": {
179
+ "type": "boolean"
180
+ }
181
+ }
182
+ ],
183
+ "requestBody": null,
184
+ "responses": {
185
+ "default": {
186
+ "description": "default response",
187
+ "content": {
188
+ "application/json": {
189
+ "schema": {
190
+ "type": "array",
191
+ "items": {
192
+ "type": "object",
193
+ "properties": {
194
+ "id": {
195
+ "type": "integer"
196
+ },
197
+ "terms": {
198
+ "type": "array",
199
+ "items": {
200
+ "type": "string"
201
+ }
202
+ },
203
+ "termCount": {
204
+ "type": "integer"
205
+ }
206
+ }
207
+ }
208
+ }
209
+ }
117
210
  }
118
211
  }
119
212
  },