fmea-api-mcp-server 1.1.46 → 1.1.48

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 (32) hide show
  1. package/data/endpoint-lookup.json +1 -1
  2. package/data/search-index.oxy +1 -1
  3. package/dist/index.js +1 -1
  4. package/dist/synonyms.js +3 -2
  5. package/endpoints/v2/additional-info/core.json +30 -6
  6. package/endpoints/v2/api-keys/core.json +86 -33
  7. package/endpoints/v2/block-diagrams/core.json +6 -3
  8. package/endpoints/v2/condition-library/core.json +62 -301
  9. package/endpoints/v2/condition-library-excel/core.json +1 -4
  10. package/endpoints/v2/divisions/core.json +0 -9
  11. package/endpoints/v2/documents/core.json +49 -21
  12. package/endpoints/v2/evaluation/core.json +158 -34
  13. package/endpoints/v2/excel/core.json +18 -9
  14. package/endpoints/v2/failure-modes/core.json +5 -5
  15. package/endpoints/v2/files/core.json +5 -3
  16. package/endpoints/v2/fourm/core.json +65 -49
  17. package/endpoints/v2/high-items/core.json +1 -0
  18. package/endpoints/v2/projects/core.json +69 -26
  19. package/endpoints/v2/recommendation-items/core.json +16 -3
  20. package/endpoints/v2/search/core.json +125 -33
  21. package/endpoints/v2/system/core.json +22 -10
  22. package/endpoints/v2/system-definition/core.json +9 -3
  23. package/endpoints/v2/system-definition-excel/core.json +1 -1
  24. package/endpoints/v2/templates/core.json +15 -5
  25. package/endpoints/v2/tree-search/core.json +4 -4
  26. package/endpoints/v2/users/core.json +0 -9
  27. package/endpoints/v2/worksheet-templates/core.json +17 -4
  28. package/endpoints/v2/worksheets/core.json +33 -15
  29. package/endpoints/v2/worksheets/excel.json +35 -15
  30. package/endpoints/v2/worksheets/management.json +28 -10
  31. package/endpoints/v2/worksheets/templates.json +4 -1
  32. package/package.json +1 -1
@@ -6,13 +6,16 @@
6
6
  {
7
7
  "path": "/api/v2/projects/{projectId}/worksheet-excel/{uuid}",
8
8
  "method": "PUT",
9
- "summary": "Update worksheet Excel",
10
- "description": "Updates an existing worksheet by importing data from an uploaded Excel file (.xlsx, .xls). Use this endpoint to modify worksheet contents, replace existing data, or refresh worksheet records with new Excel data. The endpoint parses the uploaded Excel file and updates the corresponding worksheet record. This is the primary method for editing worksheet data through Excel import. Requires project member role.",
11
- "tags": [],
9
+ "summary": "Re-import a worksheet from an uploaded Excel file",
10
+ "description": "Updates an existing worksheet by re-importing data from a previously uploaded Excel file. Overwrites the worksheet content according to the provided column mapping configuration. Returns 204 No Content on success.",
11
+ "tags": [
12
+ "Worksheet Excel"
13
+ ],
12
14
  "parameters": [
13
15
  {
14
16
  "name": "projectId",
15
17
  "in": "path",
18
+ "description": "Project ID that owns the worksheet",
16
19
  "required": true,
17
20
  "schema": {
18
21
  "type": "string"
@@ -21,6 +24,7 @@
21
24
  {
22
25
  "name": "uuid",
23
26
  "in": "path",
27
+ "description": "UUID of the uploaded Excel file (returned by POST /api/v2/files)",
24
28
  "required": true,
25
29
  "schema": {
26
30
  "type": "string"
@@ -79,13 +83,16 @@
79
83
  {
80
84
  "path": "/api/v2/projects/{projectId}/worksheet-excel/{uuid}",
81
85
  "method": "POST",
82
- "summary": "Add worksheet Excel",
83
- "description": "Creates a new worksheet by importing data from an uploaded Excel file (.xlsx, .xls). Use this endpoint to add a new worksheet record, create worksheet entries from Excel, or import worksheet data from spreadsheet files. The endpoint parses the uploaded Excel file and creates a new worksheet with the data. Returns the created worksheet's report number for reference. Requires project member role.",
84
- "tags": [],
86
+ "summary": "Import a new worksheet from an uploaded Excel file",
87
+ "description": "Creates a new worksheet by importing data from a previously uploaded Excel file. The file must be uploaded first via POST /api/v2/files. The request body specifies column mapping configuration. Returns the assigned report number (reportNoSetDTO) and a Location header pointing to the new worksheet.",
88
+ "tags": [
89
+ "Worksheet Excel"
90
+ ],
85
91
  "parameters": [
86
92
  {
87
93
  "name": "projectId",
88
94
  "in": "path",
95
+ "description": "Project ID that will own the new worksheet",
89
96
  "required": true,
90
97
  "schema": {
91
98
  "type": "string"
@@ -94,6 +101,7 @@
94
101
  {
95
102
  "name": "uuid",
96
103
  "in": "path",
104
+ "description": "UUID of the uploaded Excel file (returned by POST /api/v2/files)",
97
105
  "required": true,
98
106
  "schema": {
99
107
  "type": "string"
@@ -152,13 +160,16 @@
152
160
  {
153
161
  "path": "/api/v2/projects/{projectId}/worksheet-excel/{reportNoSimple}",
154
162
  "method": "GET",
155
- "summary": "Get worksheet Excel download link",
156
- "description": "Generates a download link for a worksheet Excel file by report number. Use this endpoint to export worksheet data, download worksheet as Excel, or retrieve the spreadsheet file for offline editing. The link provides access to the Excel file associated with the specified worksheet report number. Requires reader-level access or higher.",
157
- "tags": [],
163
+ "summary": "Get Excel download link for a worksheet",
164
+ "description": "Generates and returns a download link (FileDownloadResponseDTO) for exporting a worksheet as an Excel file. The report number identifies the worksheet (primary 'N' or primary-secondary 'N-M'). Use GET /api/v1/files/{uuid} with the returned URI to download the file.",
165
+ "tags": [
166
+ "Worksheet Excel"
167
+ ],
158
168
  "parameters": [
159
169
  {
160
170
  "name": "projectId",
161
171
  "in": "path",
172
+ "description": "Project ID that owns the worksheet",
162
173
  "required": true,
163
174
  "schema": {
164
175
  "type": "string"
@@ -167,6 +178,7 @@
167
178
  {
168
179
  "name": "reportNoSimple",
169
180
  "in": "path",
181
+ "description": "Worksheet report number: 'N' (primary) or 'N-M' (primary-secondary). '#' prefix is stripped.",
170
182
  "required": true,
171
183
  "schema": {
172
184
  "type": "string"
@@ -198,13 +210,16 @@
198
210
  {
199
211
  "path": "/api/v2/projects/{projectId}/worksheet-excel/{uuid}/metadata",
200
212
  "method": "GET",
201
- "summary": "Get worksheet Excel metadata",
202
- "description": "Extracts metadata from an uploaded Excel file without processing the full data. Use this endpoint to preview file information, validate Excel structure, inspect worksheet contents, or retrieve file properties before saving. Returns metadata including sheet names, column headers, and data structure. Useful for pre-validating Excel files before add/update operations. Requires project member role.",
203
- "tags": [],
213
+ "summary": "Get Excel file metadata for a worksheet import",
214
+ "description": "Reads metadata (sheet names, column headers) from a previously uploaded Excel file. The file must be uploaded first via POST /api/v2/files. The returned metadata is used to configure mapping before triggering import.",
215
+ "tags": [
216
+ "Worksheet Excel"
217
+ ],
204
218
  "parameters": [
205
219
  {
206
220
  "name": "projectId",
207
221
  "in": "path",
222
+ "description": "Project ID that owns the worksheet",
208
223
  "required": true,
209
224
  "schema": {
210
225
  "type": "string"
@@ -213,6 +228,7 @@
213
228
  {
214
229
  "name": "uuid",
215
230
  "in": "path",
231
+ "description": "UUID of the uploaded Excel file (returned by POST /api/v2/files)",
216
232
  "required": true,
217
233
  "schema": {
218
234
  "type": "string"
@@ -262,14 +278,17 @@
262
278
  {
263
279
  "path": "/api/v2/projects/{projectId}/worksheet-excel/{reportNoSimple}/sheets",
264
280
  "method": "GET",
265
- "summary": "Get Excel Sheets List",
266
- "description": "Fetches a complete list of available Excel worksheets/tabs associated with a specific previously generated or uploaded Excel report. Ideal for previewing workbook structure, selecting specific sheets for analysis, or retrieving metadata before detailed extraction. (List sheets / View Excel tabs / Get available worksheets).",
267
- "tags": [],
281
+ "summary": "List POISheet sheets for a worksheet Excel",
282
+ "description": "Returns the list of POISheet sheet objects contained in the Excel file associated with the specified worksheet. Useful for rendering multi-sheet Excel content in the worksheet editor.",
283
+ "tags": [
284
+ "Worksheet Excel"
285
+ ],
268
286
  "operationId": "getSheets",
269
287
  "parameters": [
270
288
  {
271
289
  "name": "projectId",
272
290
  "in": "path",
291
+ "description": "Project ID that owns the worksheet",
273
292
  "required": true,
274
293
  "schema": {
275
294
  "type": "string"
@@ -278,6 +297,7 @@
278
297
  {
279
298
  "name": "reportNoSimple",
280
299
  "in": "path",
300
+ "description": "Worksheet report number: 'N' (primary) or 'N-M' (primary-secondary). '#' prefix is stripped.",
281
301
  "required": true,
282
302
  "schema": {
283
303
  "type": "string"
@@ -6,13 +6,16 @@
6
6
  {
7
7
  "path": "/api/v2/projects/{projectId}/worksheets/failuremode/{failureModeId}",
8
8
  "method": "GET",
9
- "summary": "Get worksheet by failure mode",
10
- "description": "Fetches the complete worksheet data associated with a specific failure mode within a project. Use this endpoint to retrieve, load, or view detailed failure mode analysis worksheets including RPN calculations, risk assessments, and mitigation strategies. This is essential for reviewing existing failure mode documentation, conducting quality audits, or preparing data for editing operations. The endpoint returns structured worksheet content that can be used for analysis, reporting, or further modification through the update endpoint.",
11
- "tags": [],
9
+ "summary": "Get worksheet by failure mode ID",
10
+ "description": "Returns the worksheet associated with the specified failure mode within the given project. Returns the worksheet DTO including S/O/D data and all worksheet rows. Requires NORMAL user level.",
11
+ "tags": [
12
+ "Worksheet"
13
+ ],
12
14
  "parameters": [
13
15
  {
14
16
  "name": "projectId",
15
17
  "in": "path",
18
+ "description": "Project ID the failure mode belongs to",
16
19
  "required": true,
17
20
  "schema": {
18
21
  "type": "string"
@@ -21,6 +24,7 @@
21
24
  {
22
25
  "name": "failureModeId",
23
26
  "in": "path",
27
+ "description": "Failure mode ID to retrieve the associated worksheet for",
24
28
  "required": true,
25
29
  "schema": {
26
30
  "type": "string"
@@ -58,13 +62,16 @@
58
62
  {
59
63
  "path": "/api/v2/projects/{projectId}/worksheets/failuremode/{failureModeId}",
60
64
  "method": "POST",
61
- "summary": "Create worksheet by failure mode",
62
- "description": "Generates a new worksheet for a specific failure mode within a project. Use this endpoint to initialize, set up, or create failure mode analysis worksheets. This operation establishes a structured worksheet template linked to the identified failure mode, optionally associating it with a block diagram via the blockDiagramId query parameter. Essential for starting new failure mode analyses, initiating risk assessment workflows, or expanding project documentation coverage. The created worksheet provides a framework for capturing RPN calculations, failure effects, causes, and recommended actions.",
63
- "tags": [],
65
+ "summary": "Create worksheet row for a failure mode",
66
+ "description": "Creates a new worksheet row linked to the specified failure mode within the project. Optionally associates the row with a block diagram node via blockDiagramId. Returns HTTP 201 Created with the created worksheet row DTO. Requires NORMAL user level and project MEMBER role.",
67
+ "tags": [
68
+ "Worksheet"
69
+ ],
64
70
  "parameters": [
65
71
  {
66
72
  "name": "projectId",
67
73
  "in": "path",
74
+ "description": "Project ID the failure mode belongs to",
68
75
  "required": true,
69
76
  "schema": {
70
77
  "type": "string"
@@ -73,6 +80,7 @@
73
80
  {
74
81
  "name": "failureModeId",
75
82
  "in": "path",
83
+ "description": "Failure mode ID to create a worksheet row for",
76
84
  "required": true,
77
85
  "schema": {
78
86
  "type": "string"
@@ -81,6 +89,7 @@
81
89
  {
82
90
  "name": "blockDiagramId",
83
91
  "in": "query",
92
+ "description": "Optional block diagram node ID to associate with the new worksheet row",
84
93
  "schema": {
85
94
  "type": "string"
86
95
  }
@@ -127,11 +136,14 @@
127
136
  "method": "GET",
128
137
  "summary": "Get worksheet headers",
129
138
  "description": "Returns worksheet headers copied for the worksheet. When search is provided, keyword matching is applied.",
130
- "tags": [],
139
+ "tags": [
140
+ "Worksheet"
141
+ ],
131
142
  "parameters": [
132
143
  {
133
144
  "name": "projectId",
134
145
  "in": "path",
146
+ "description": "Project ID the worksheet belongs to",
135
147
  "required": true,
136
148
  "schema": {
137
149
  "type": "string"
@@ -140,6 +152,7 @@
140
152
  {
141
153
  "name": "reportNo",
142
154
  "in": "path",
155
+ "description": "Worksheet report number (primary, e.g. '3')",
143
156
  "required": true,
144
157
  "schema": {
145
158
  "type": "string"
@@ -237,13 +250,16 @@
237
250
  {
238
251
  "path": "/api/v2/projects/{projectId}/worksheets/{reportNo}/{failureModeId}",
239
252
  "method": "PUT",
240
- "summary": "Save worksheet by failure mode",
241
- "description": "Updates and persists worksheet data for a specific failure mode within a designated report. Use this endpoint to save, modify, edit, or update failure mode analysis content including severity ratings, occurrence probabilities, detection rankings, RPN calculations, recommended actions, and status tracking. This operation overwrites existing data with the provided FailureModeWorksheetSaveDTO payload, ensuring data persistence and version control. Essential for recording analysis progress, updating risk assessments after reviews, documenting corrective actions, or maintaining live risk evaluation data. Requires project member role authentication and supports iterative refinement of failure mode analyses throughout the project lifecycle.",
242
- "tags": [],
253
+ "summary": "Save worksheet data for a specific failure mode",
254
+ "description": "Saves worksheet content for the worksheet row associated with the given failure mode. The report number identifies the worksheet; the failure mode ID identifies the row. Requires NORMAL user level and project MEMBER role.",
255
+ "tags": [
256
+ "Worksheet"
257
+ ],
243
258
  "parameters": [
244
259
  {
245
260
  "name": "projectId",
246
261
  "in": "path",
262
+ "description": "Project ID the worksheet belongs to",
247
263
  "required": true,
248
264
  "schema": {
249
265
  "type": "string"
@@ -252,6 +268,7 @@
252
268
  {
253
269
  "name": "reportNo",
254
270
  "in": "path",
271
+ "description": "Worksheet report number (primary, e.g. '3')",
255
272
  "required": true,
256
273
  "schema": {
257
274
  "type": "string"
@@ -260,6 +277,7 @@
260
277
  {
261
278
  "name": "failureModeId",
262
279
  "in": "path",
280
+ "description": "Failure mode ID whose worksheet row will be updated",
263
281
  "required": true,
264
282
  "schema": {
265
283
  "type": "string"
@@ -8,11 +8,14 @@
8
8
  "method": "GET",
9
9
  "summary": "Get worksheet template headers",
10
10
  "description": "Returns worksheet template headers. When search is provided, keyword matching is applied.",
11
- "tags": [],
11
+ "tags": [
12
+ "Worksheet Templates"
13
+ ],
12
14
  "parameters": [
13
15
  {
14
16
  "name": "id",
15
17
  "in": "path",
18
+ "description": "Worksheet template ID",
16
19
  "required": true,
17
20
  "schema": {
18
21
  "type": "integer",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fmea-api-mcp-server",
3
- "version": "1.1.46",
3
+ "version": "1.1.48",
4
4
  "description": "MCP server for serving API documentation from endpoints directory",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",