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.
- package/data/changelog/1.1.63.json +11 -0
- package/data/changelog/1.1.64.json +10 -0
- package/data/changelog/next.json +785 -18
- package/data/endpoint-lookup.json +1 -1
- package/data/enums.json +4 -3
- package/data/search-index.oxy +1 -1
- package/dist/index.js +1 -1
- package/dist/intents.js +1 -1
- package/dist/services/search/OramaSearchService.js +4 -1
- package/dist/synonyms.js +4 -2
- package/dist/utils/ScoreCalculator.js +7 -2
- package/endpoints/v2/action-status/core.json +59 -0
- package/endpoints/v2/classification-excel/core.json +1 -1
- package/endpoints/v2/classifications/core.json +110 -458
- package/endpoints/v2/condition-library-excel/core.json +220 -2
- package/endpoints/v2/division-excel/core.json +1 -1
- package/endpoints/v2/divisions/core.json +214 -238
- package/endpoints/v2/documents/core.json +203 -9
- package/endpoints/v2/evaluation/core.json +433 -663
- package/endpoints/v2/evaluation-excel/core.json +1 -1
- package/endpoints/v2/failure-mode-library/core.json +189 -0
- package/endpoints/v2/failure-mode-library-excel/core.json +289 -0
- package/endpoints/v2/fourm/core.json +3 -3
- package/endpoints/v2/high-items/core.json +1 -1
- package/endpoints/v2/notice-excel/core.json +1 -1
- package/endpoints/v2/notices/core.json +4 -4
- package/endpoints/v2/process-symbol-excel/core.json +63 -4
- package/endpoints/v2/process-symbols/core.json +2 -2
- package/endpoints/v2/projects/core.json +26 -2
- package/endpoints/v2/scoring/core.json +34 -137
- package/endpoints/v2/synonym-excel/core.json +101 -8
- package/endpoints/v2/synonyms/core.json +58 -176
- package/endpoints/v2/templates/core.json +1 -157
- package/endpoints/v2/user-excel/core.json +1 -1
- package/endpoints/v2/users/core.json +42 -0
- package/endpoints/v2/worksheet-template-excel/core.json +1 -1
- package/endpoints/v2/worksheets/core.json +2 -2
- package/endpoints/v2/worksheets/excel.json +1 -1
- package/package.json +1 -1
- package/endpoints/v2/fm-checkpoint/core.json +0 -363
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"method": "GET",
|
|
9
9
|
"operationId": "export_5",
|
|
10
10
|
"summary": "Export evaluation criteria to Excel",
|
|
11
|
-
"description": "Exports evaluation criteria to an XLSX file
|
|
11
|
+
"description": "Exports evaluation criteria to an XLSX file as a helper route. The main grouped snapshot-source reads are GET /api/v2/evaluation and GET /api/v2/evaluation/{fmeaType}. Supports optional FMEA type filter and keyword search on criteria name or description. Requires admin permission.",
|
|
12
12
|
"tags": [
|
|
13
13
|
"EvaluationExcel"
|
|
14
14
|
],
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
{
|
|
2
|
+
"category": "Failure Mode Library",
|
|
3
|
+
"version": "v2",
|
|
4
|
+
"description": "",
|
|
5
|
+
"endpoints": [
|
|
6
|
+
{
|
|
7
|
+
"path": "/api/v2/failure-mode-library",
|
|
8
|
+
"method": "GET",
|
|
9
|
+
"operationId": "getFlat",
|
|
10
|
+
"summary": "Get failure mode library nodes (flat)",
|
|
11
|
+
"description": "Returns persisted failure mode library nodes as a flat list for admin and tooling use. The response reflects only stored rows, unlike /tree which also materializes missing ProjectType categories.",
|
|
12
|
+
"tags": [
|
|
13
|
+
"Failure Mode Library"
|
|
14
|
+
],
|
|
15
|
+
"parameters": [],
|
|
16
|
+
"requestBody": null,
|
|
17
|
+
"responses": {
|
|
18
|
+
"default": {
|
|
19
|
+
"description": "default response",
|
|
20
|
+
"content": {
|
|
21
|
+
"application/json": {
|
|
22
|
+
"schema": {
|
|
23
|
+
"type": "array",
|
|
24
|
+
"items": {
|
|
25
|
+
"type": "object",
|
|
26
|
+
"properties": {
|
|
27
|
+
"id": {
|
|
28
|
+
"type": "string"
|
|
29
|
+
},
|
|
30
|
+
"parentId": {
|
|
31
|
+
"type": "string"
|
|
32
|
+
},
|
|
33
|
+
"title": {
|
|
34
|
+
"type": "string"
|
|
35
|
+
},
|
|
36
|
+
"description": {
|
|
37
|
+
"type": "string"
|
|
38
|
+
},
|
|
39
|
+
"type": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"enum": [
|
|
42
|
+
"ROOT",
|
|
43
|
+
"CATEGORY",
|
|
44
|
+
"GROUP",
|
|
45
|
+
"ITEM"
|
|
46
|
+
]
|
|
47
|
+
},
|
|
48
|
+
"order": {
|
|
49
|
+
"type": "integer"
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"path": "/api/v2/failure-mode-library/tree",
|
|
61
|
+
"method": "GET",
|
|
62
|
+
"operationId": "getTree",
|
|
63
|
+
"summary": "Get failure mode library tree",
|
|
64
|
+
"description": "Returns the full tree structure of failure mode library items. Returned as a recursive children structure from ROOT down to ITEM leaf nodes. Used to display the library tree in the setup page.",
|
|
65
|
+
"tags": [
|
|
66
|
+
"Failure Mode Library"
|
|
67
|
+
],
|
|
68
|
+
"parameters": [],
|
|
69
|
+
"requestBody": null,
|
|
70
|
+
"responses": {
|
|
71
|
+
"default": {
|
|
72
|
+
"description": "default response",
|
|
73
|
+
"content": {
|
|
74
|
+
"application/json": {
|
|
75
|
+
"schema": {
|
|
76
|
+
"type": "object",
|
|
77
|
+
"properties": {
|
|
78
|
+
"id": {
|
|
79
|
+
"type": "string"
|
|
80
|
+
},
|
|
81
|
+
"title": {
|
|
82
|
+
"type": "string"
|
|
83
|
+
},
|
|
84
|
+
"type": {
|
|
85
|
+
"type": "string",
|
|
86
|
+
"enum": [
|
|
87
|
+
"ROOT",
|
|
88
|
+
"CATEGORY",
|
|
89
|
+
"GROUP",
|
|
90
|
+
"ITEM"
|
|
91
|
+
]
|
|
92
|
+
},
|
|
93
|
+
"order": {
|
|
94
|
+
"type": "integer"
|
|
95
|
+
},
|
|
96
|
+
"children": {
|
|
97
|
+
"type": "array",
|
|
98
|
+
"items": {
|
|
99
|
+
"type": "object",
|
|
100
|
+
"description": "(circular: FailureModeLibraryTreeNodeDTO)"
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"path": "/api/v2/failure-mode-library/{projectType}/children",
|
|
112
|
+
"method": "PUT",
|
|
113
|
+
"operationId": "saveChildren",
|
|
114
|
+
"summary": "Save failure mode library children",
|
|
115
|
+
"description": "Replaces the entire editable subtree under the requested ProjectType category. The request body contains only descendants below the resolved top-level category. Server performs full-snapshot sync by stable id: omitted nodes are deleted, retained nodes are updated and reordered by array position, and null-id nodes are created. Returns 204 when the subtree is synchronized successfully.",
|
|
116
|
+
"tags": [
|
|
117
|
+
"Failure Mode Library"
|
|
118
|
+
],
|
|
119
|
+
"parameters": [
|
|
120
|
+
{
|
|
121
|
+
"name": "projectType",
|
|
122
|
+
"in": "path",
|
|
123
|
+
"description": "Project type scope: DESIGN|PROCESS|EQUIPMENT|FA|FTA|CPLAN",
|
|
124
|
+
"required": true,
|
|
125
|
+
"schema": {
|
|
126
|
+
"type": "string",
|
|
127
|
+
"enum": [
|
|
128
|
+
"DESIGN",
|
|
129
|
+
"PROCESS",
|
|
130
|
+
"EQUIPMENT",
|
|
131
|
+
"FA",
|
|
132
|
+
"FTA",
|
|
133
|
+
"CPLAN"
|
|
134
|
+
]
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
],
|
|
138
|
+
"requestBody": {
|
|
139
|
+
"content": {
|
|
140
|
+
"application/json": {
|
|
141
|
+
"schema": {
|
|
142
|
+
"type": "object",
|
|
143
|
+
"required": [
|
|
144
|
+
"children"
|
|
145
|
+
],
|
|
146
|
+
"properties": {
|
|
147
|
+
"children": {
|
|
148
|
+
"type": "array",
|
|
149
|
+
"items": {
|
|
150
|
+
"type": "object",
|
|
151
|
+
"required": [
|
|
152
|
+
"title"
|
|
153
|
+
],
|
|
154
|
+
"properties": {
|
|
155
|
+
"id": {
|
|
156
|
+
"type": "string"
|
|
157
|
+
},
|
|
158
|
+
"title": {
|
|
159
|
+
"type": "string"
|
|
160
|
+
},
|
|
161
|
+
"description": {
|
|
162
|
+
"type": "string"
|
|
163
|
+
},
|
|
164
|
+
"children": {
|
|
165
|
+
"type": "array",
|
|
166
|
+
"items": {
|
|
167
|
+
"type": "object",
|
|
168
|
+
"description": "(circular: FailureModeLibraryChildItemDTO)"
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
"responses": {
|
|
180
|
+
"default": {
|
|
181
|
+
"description": "default response",
|
|
182
|
+
"content": {
|
|
183
|
+
"application/json": {}
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
]
|
|
189
|
+
}
|
|
@@ -0,0 +1,289 @@
|
|
|
1
|
+
{
|
|
2
|
+
"category": "Failure Mode Library Excel",
|
|
3
|
+
"version": "v2",
|
|
4
|
+
"description": "",
|
|
5
|
+
"endpoints": [
|
|
6
|
+
{
|
|
7
|
+
"path": "/api/v2/failure-mode-library-excel/export",
|
|
8
|
+
"method": "GET",
|
|
9
|
+
"operationId": "export_6",
|
|
10
|
+
"summary": "Export failure mode library scope to Excel",
|
|
11
|
+
"description": "Exports the requested projectType subtree to an XLSX file and returns a download URI. Rows use fixed Group/Item columns so the same sheet can be imported back with full-snapshot semantics, including group-only rows.",
|
|
12
|
+
"tags": [
|
|
13
|
+
"Failure Mode Library Excel"
|
|
14
|
+
],
|
|
15
|
+
"parameters": [
|
|
16
|
+
{
|
|
17
|
+
"name": "projectType",
|
|
18
|
+
"in": "query",
|
|
19
|
+
"description": "Project type scope to export",
|
|
20
|
+
"schema": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"enum": [
|
|
23
|
+
"DESIGN",
|
|
24
|
+
"PROCESS",
|
|
25
|
+
"EQUIPMENT",
|
|
26
|
+
"FA",
|
|
27
|
+
"FTA",
|
|
28
|
+
"CPLAN"
|
|
29
|
+
]
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
],
|
|
33
|
+
"requestBody": null,
|
|
34
|
+
"responses": {
|
|
35
|
+
"default": {
|
|
36
|
+
"description": "default response",
|
|
37
|
+
"content": {
|
|
38
|
+
"application/json": {
|
|
39
|
+
"schema": {
|
|
40
|
+
"type": "object"
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"path": "/api/v2/failure-mode-library-excel/{projectType}/{uuid}/read",
|
|
49
|
+
"method": "GET",
|
|
50
|
+
"operationId": "readFlatPreview",
|
|
51
|
+
"summary": "Preview failure mode library scope from Excel",
|
|
52
|
+
"description": "Parses an uploaded Excel file for the requested projectType scope and returns the validated flat preview without writing to the database.",
|
|
53
|
+
"tags": [
|
|
54
|
+
"Failure Mode Library Excel"
|
|
55
|
+
],
|
|
56
|
+
"parameters": [
|
|
57
|
+
{
|
|
58
|
+
"name": "projectType",
|
|
59
|
+
"in": "path",
|
|
60
|
+
"description": "Project type scope to preview from Excel",
|
|
61
|
+
"required": true,
|
|
62
|
+
"schema": {
|
|
63
|
+
"type": "string",
|
|
64
|
+
"enum": [
|
|
65
|
+
"DESIGN",
|
|
66
|
+
"PROCESS",
|
|
67
|
+
"EQUIPMENT",
|
|
68
|
+
"FA",
|
|
69
|
+
"FTA",
|
|
70
|
+
"CPLAN"
|
|
71
|
+
]
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"name": "uuid",
|
|
76
|
+
"in": "path",
|
|
77
|
+
"description": "Upload UUID",
|
|
78
|
+
"required": true,
|
|
79
|
+
"schema": {
|
|
80
|
+
"type": "string"
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"name": "rowStart",
|
|
85
|
+
"in": "query",
|
|
86
|
+
"description": "Data start row (1-based, default: 2 to skip header)",
|
|
87
|
+
"schema": {
|
|
88
|
+
"type": "integer",
|
|
89
|
+
"default": 2,
|
|
90
|
+
"format": "int32"
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
],
|
|
94
|
+
"requestBody": null,
|
|
95
|
+
"responses": {
|
|
96
|
+
"default": {
|
|
97
|
+
"description": "default response",
|
|
98
|
+
"content": {
|
|
99
|
+
"application/json": {
|
|
100
|
+
"schema": {
|
|
101
|
+
"type": "array",
|
|
102
|
+
"items": {
|
|
103
|
+
"type": "object",
|
|
104
|
+
"properties": {
|
|
105
|
+
"id": {
|
|
106
|
+
"type": "string"
|
|
107
|
+
},
|
|
108
|
+
"parentId": {
|
|
109
|
+
"type": "string"
|
|
110
|
+
},
|
|
111
|
+
"title": {
|
|
112
|
+
"type": "string"
|
|
113
|
+
},
|
|
114
|
+
"description": {
|
|
115
|
+
"type": "string"
|
|
116
|
+
},
|
|
117
|
+
"type": {
|
|
118
|
+
"type": "string",
|
|
119
|
+
"enum": [
|
|
120
|
+
"ROOT",
|
|
121
|
+
"CATEGORY",
|
|
122
|
+
"GROUP",
|
|
123
|
+
"ITEM"
|
|
124
|
+
]
|
|
125
|
+
},
|
|
126
|
+
"order": {
|
|
127
|
+
"type": "integer"
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
"x-dependency-warning": "REQUIRES PRIOR FILE UPLOAD via [POST /api/v2/files]. The {uuid} path parameter is the uploaded Excel file identifier."
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"path": "/api/v2/failure-mode-library-excel/{projectType}/{uuid}/read/tree",
|
|
140
|
+
"method": "GET",
|
|
141
|
+
"operationId": "readTreePreview",
|
|
142
|
+
"summary": "Preview failure mode library scope tree from Excel",
|
|
143
|
+
"description": "Parses an uploaded Excel file for the requested projectType scope and returns the validated tree preview without writing to the database.",
|
|
144
|
+
"tags": [
|
|
145
|
+
"Failure Mode Library Excel"
|
|
146
|
+
],
|
|
147
|
+
"parameters": [
|
|
148
|
+
{
|
|
149
|
+
"name": "projectType",
|
|
150
|
+
"in": "path",
|
|
151
|
+
"description": "Project type scope to preview from Excel",
|
|
152
|
+
"required": true,
|
|
153
|
+
"schema": {
|
|
154
|
+
"type": "string",
|
|
155
|
+
"enum": [
|
|
156
|
+
"DESIGN",
|
|
157
|
+
"PROCESS",
|
|
158
|
+
"EQUIPMENT",
|
|
159
|
+
"FA",
|
|
160
|
+
"FTA",
|
|
161
|
+
"CPLAN"
|
|
162
|
+
]
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"name": "uuid",
|
|
167
|
+
"in": "path",
|
|
168
|
+
"description": "Upload UUID",
|
|
169
|
+
"required": true,
|
|
170
|
+
"schema": {
|
|
171
|
+
"type": "string"
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"name": "rowStart",
|
|
176
|
+
"in": "query",
|
|
177
|
+
"description": "Data start row (1-based, default: 2 to skip header)",
|
|
178
|
+
"schema": {
|
|
179
|
+
"type": "integer",
|
|
180
|
+
"default": 2,
|
|
181
|
+
"format": "int32"
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
],
|
|
185
|
+
"requestBody": null,
|
|
186
|
+
"responses": {
|
|
187
|
+
"default": {
|
|
188
|
+
"description": "default response",
|
|
189
|
+
"content": {
|
|
190
|
+
"application/json": {
|
|
191
|
+
"schema": {
|
|
192
|
+
"type": "array",
|
|
193
|
+
"items": {
|
|
194
|
+
"type": "object",
|
|
195
|
+
"properties": {
|
|
196
|
+
"id": {
|
|
197
|
+
"type": "string"
|
|
198
|
+
},
|
|
199
|
+
"title": {
|
|
200
|
+
"type": "string"
|
|
201
|
+
},
|
|
202
|
+
"type": {
|
|
203
|
+
"type": "string",
|
|
204
|
+
"enum": [
|
|
205
|
+
"ROOT",
|
|
206
|
+
"CATEGORY",
|
|
207
|
+
"GROUP",
|
|
208
|
+
"ITEM"
|
|
209
|
+
]
|
|
210
|
+
},
|
|
211
|
+
"order": {
|
|
212
|
+
"type": "integer"
|
|
213
|
+
},
|
|
214
|
+
"children": {
|
|
215
|
+
"type": "array",
|
|
216
|
+
"items": {
|
|
217
|
+
"type": "object",
|
|
218
|
+
"description": "(circular: FailureModeLibraryTreeNodeDTO)"
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
},
|
|
228
|
+
"x-dependency-warning": "REQUIRES PRIOR FILE UPLOAD via [POST /api/v2/files]. The {uuid} path parameter is the uploaded Excel file identifier."
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"path": "/api/v2/failure-mode-library-excel/{projectType}/{uuid}",
|
|
232
|
+
"method": "POST",
|
|
233
|
+
"operationId": "importExcel",
|
|
234
|
+
"summary": "Import failure mode library scope from Excel",
|
|
235
|
+
"description": "Parses an uploaded Excel file for the requested projectType scope, converts fixed Group/Item rows into the existing saveChildren full-snapshot request, and replaces the target subtree in one sync.",
|
|
236
|
+
"tags": [
|
|
237
|
+
"Failure Mode Library Excel"
|
|
238
|
+
],
|
|
239
|
+
"parameters": [
|
|
240
|
+
{
|
|
241
|
+
"name": "projectType",
|
|
242
|
+
"in": "path",
|
|
243
|
+
"description": "Project type scope to replace from Excel",
|
|
244
|
+
"required": true,
|
|
245
|
+
"schema": {
|
|
246
|
+
"type": "string",
|
|
247
|
+
"enum": [
|
|
248
|
+
"DESIGN",
|
|
249
|
+
"PROCESS",
|
|
250
|
+
"EQUIPMENT",
|
|
251
|
+
"FA",
|
|
252
|
+
"FTA",
|
|
253
|
+
"CPLAN"
|
|
254
|
+
]
|
|
255
|
+
}
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"name": "uuid",
|
|
259
|
+
"in": "path",
|
|
260
|
+
"description": "Upload UUID",
|
|
261
|
+
"required": true,
|
|
262
|
+
"schema": {
|
|
263
|
+
"type": "string"
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"name": "rowStart",
|
|
268
|
+
"in": "query",
|
|
269
|
+
"description": "Data start row (1-based, default: 2 to skip header)",
|
|
270
|
+
"schema": {
|
|
271
|
+
"type": "integer",
|
|
272
|
+
"default": 2,
|
|
273
|
+
"format": "int32"
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
],
|
|
277
|
+
"requestBody": null,
|
|
278
|
+
"responses": {
|
|
279
|
+
"default": {
|
|
280
|
+
"description": "default response",
|
|
281
|
+
"content": {
|
|
282
|
+
"application/json": {}
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
},
|
|
286
|
+
"x-dependency-warning": "REQUIRES PRIOR FILE UPLOAD via [POST /api/v2/files]. The {uuid} path parameter is the uploaded Excel file identifier."
|
|
287
|
+
}
|
|
288
|
+
]
|
|
289
|
+
}
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
{
|
|
88
88
|
"path": "/api/v2/fourm",
|
|
89
89
|
"method": "POST",
|
|
90
|
-
"operationId": "
|
|
90
|
+
"operationId": "create_3",
|
|
91
91
|
"summary": "Create a 4M record",
|
|
92
92
|
"description": "Creates a new 4M cause record with the provided fields. Returns the created record as a FourMDTO.",
|
|
93
93
|
"tags": [
|
|
@@ -238,7 +238,7 @@
|
|
|
238
238
|
{
|
|
239
239
|
"path": "/api/v2/fourm/{id}",
|
|
240
240
|
"method": "PUT",
|
|
241
|
-
"operationId": "
|
|
241
|
+
"operationId": "update_2",
|
|
242
242
|
"summary": "Update a 4M record",
|
|
243
243
|
"description": "Updates an existing 4M cause record by its numeric ID. Returns the updated record as a FourMDTO.",
|
|
244
244
|
"tags": [
|
|
@@ -327,7 +327,7 @@
|
|
|
327
327
|
{
|
|
328
328
|
"path": "/api/v2/fourm/{id}",
|
|
329
329
|
"method": "DELETE",
|
|
330
|
-
"operationId": "
|
|
330
|
+
"operationId": "delete_2",
|
|
331
331
|
"summary": "Delete a 4M record",
|
|
332
332
|
"description": "Deletes a 4M cause record by its numeric ID. Returns HTTP 204 No Content on success.",
|
|
333
333
|
"tags": [
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
{
|
|
7
7
|
"path": "/api/v2/projects/{projectId}/high-items",
|
|
8
8
|
"method": "PUT",
|
|
9
|
-
"operationId": "
|
|
9
|
+
"operationId": "update_5",
|
|
10
10
|
"summary": "Batch upsert and reorder high items by project",
|
|
11
11
|
"description": "Updates the project high-item list with batch upsert semantics. Existing items are matched by sequence or title, ranks are recalculated by input order, and omitted items are removed.",
|
|
12
12
|
"tags": [
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
{
|
|
7
7
|
"path": "/api/v2/notice-excel/export",
|
|
8
8
|
"method": "GET",
|
|
9
|
-
"operationId": "
|
|
9
|
+
"operationId": "export_7",
|
|
10
10
|
"summary": "Export notices to Excel",
|
|
11
11
|
"description": "Exports notices to an XLSX file and returns a download URI. Supports optional visibility filter. Requires admin permission.",
|
|
12
12
|
"tags": [
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
{
|
|
7
7
|
"path": "/api/v2/notices/{id}",
|
|
8
8
|
"method": "DELETE",
|
|
9
|
-
"operationId": "
|
|
9
|
+
"operationId": "delete_3",
|
|
10
10
|
"summary": "Delete notice",
|
|
11
11
|
"description": "Deletes a notice by ID. Requires admin permission. Returns 404 if notice does not exist.",
|
|
12
12
|
"tags": [
|
|
@@ -294,7 +294,7 @@
|
|
|
294
294
|
{
|
|
295
295
|
"path": "/api/v2/notices",
|
|
296
296
|
"method": "POST",
|
|
297
|
-
"operationId": "
|
|
297
|
+
"operationId": "create_4",
|
|
298
298
|
"summary": "Create notice",
|
|
299
299
|
"description": "Creates a new notice. Requires admin permission. Title and content are required fields.",
|
|
300
300
|
"tags": [
|
|
@@ -370,7 +370,7 @@
|
|
|
370
370
|
{
|
|
371
371
|
"path": "/api/v2/notices/{id}",
|
|
372
372
|
"method": "PUT",
|
|
373
|
-
"operationId": "
|
|
373
|
+
"operationId": "update_3",
|
|
374
374
|
"summary": "Update notice",
|
|
375
375
|
"description": "Updates an existing notice by ID. Requires admin permission. Returns 404 if notice does not exist.",
|
|
376
376
|
"tags": [
|
|
@@ -457,7 +457,7 @@
|
|
|
457
457
|
{
|
|
458
458
|
"path": "/api/v2/notices/batch",
|
|
459
459
|
"method": "DELETE",
|
|
460
|
-
"operationId": "
|
|
460
|
+
"operationId": "deleteBatch",
|
|
461
461
|
"summary": "Batch delete notices",
|
|
462
462
|
"description": "Deletes multiple notices by ID list. Requires admin permission. Returns 404 if any notice ID does not exist.",
|
|
463
463
|
"tags": [
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
{
|
|
7
7
|
"path": "/api/v2/process-symbol-excel/export",
|
|
8
8
|
"method": "GET",
|
|
9
|
-
"operationId": "
|
|
9
|
+
"operationId": "export_8",
|
|
10
10
|
"summary": "Export process symbols to Excel",
|
|
11
|
-
"description": "Exports
|
|
11
|
+
"description": "Exports the current process symbol JSON snapshot list to an XLSX file as a helper route. The main persisted contract remains PUT /api/v2/process-symbols.",
|
|
12
12
|
"tags": [
|
|
13
13
|
"ProcessSymbolExcel"
|
|
14
14
|
],
|
|
@@ -30,9 +30,68 @@
|
|
|
30
30
|
{
|
|
31
31
|
"path": "/api/v2/process-symbol-excel/{uuid}",
|
|
32
32
|
"method": "POST",
|
|
33
|
-
"operationId": "
|
|
33
|
+
"operationId": "importExcel_1",
|
|
34
34
|
"summary": "Import process symbols from Excel",
|
|
35
|
-
"description": "Parses an uploaded Excel file and
|
|
35
|
+
"description": "Parses an uploaded Excel file through the Excel helper route and delegates to the same full-replace save contract as PUT /api/v2/process-symbols.",
|
|
36
|
+
"tags": [
|
|
37
|
+
"ProcessSymbolExcel"
|
|
38
|
+
],
|
|
39
|
+
"parameters": [
|
|
40
|
+
{
|
|
41
|
+
"name": "uuid",
|
|
42
|
+
"in": "path",
|
|
43
|
+
"description": "UUID of uploaded Excel file",
|
|
44
|
+
"required": true,
|
|
45
|
+
"schema": {
|
|
46
|
+
"type": "string"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"name": "rowStart",
|
|
51
|
+
"in": "query",
|
|
52
|
+
"description": "Data start row (1-based, default: 2 to skip header)",
|
|
53
|
+
"schema": {
|
|
54
|
+
"type": "integer",
|
|
55
|
+
"default": 2,
|
|
56
|
+
"format": "int32"
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
],
|
|
60
|
+
"requestBody": null,
|
|
61
|
+
"responses": {
|
|
62
|
+
"default": {
|
|
63
|
+
"description": "default response",
|
|
64
|
+
"content": {
|
|
65
|
+
"application/json": {
|
|
66
|
+
"schema": {
|
|
67
|
+
"type": "array",
|
|
68
|
+
"items": {
|
|
69
|
+
"type": "object",
|
|
70
|
+
"properties": {
|
|
71
|
+
"symbol": {
|
|
72
|
+
"type": "string"
|
|
73
|
+
},
|
|
74
|
+
"description": {
|
|
75
|
+
"type": "string"
|
|
76
|
+
},
|
|
77
|
+
"sortOrder": {
|
|
78
|
+
"type": "integer"
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"x-dependency-warning": "REQUIRES PRIOR FILE UPLOAD via [POST /api/v2/files]. The {uuid} parameter is the file identifier returned by the upload endpoint."
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"path": "/api/v2/process-symbol-excel/{uuid}/read",
|
|
91
|
+
"method": "GET",
|
|
92
|
+
"operationId": "readExcel",
|
|
93
|
+
"summary": "Preview process symbols from Excel",
|
|
94
|
+
"description": "Parses an uploaded Excel file through the helper route and returns the validated process symbol list without writing to the database. Use PUT /api/v2/process-symbols for persistence.",
|
|
36
95
|
"tags": [
|
|
37
96
|
"ProcessSymbolExcel"
|
|
38
97
|
],
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"method": "GET",
|
|
9
9
|
"operationId": "getAll",
|
|
10
10
|
"summary": "List all process symbols",
|
|
11
|
-
"description": "Returns
|
|
11
|
+
"description": "Returns the full JSON snapshot list of process flow chart symbols ordered by sortOrder for admin configuration. Excel helper routes remain auxiliary import/export/preview tools and do not define the main persisted contract.",
|
|
12
12
|
"tags": [
|
|
13
13
|
"ProcessSymbol"
|
|
14
14
|
],
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"method": "PUT",
|
|
47
47
|
"operationId": "replaceAll",
|
|
48
48
|
"summary": "Replace all process symbols",
|
|
49
|
-
"description": "
|
|
49
|
+
"description": "Treats the provided JSON snapshot list as the full replace source of truth for process flow chart symbols. Performs a full replace in a single transaction, omitted rows are deleted, and the saved list is returned. Excel helper routes remain auxiliary and ultimately map back to this same persisted contract.",
|
|
50
50
|
"tags": [
|
|
51
51
|
"ProcessSymbol"
|
|
52
52
|
],
|