fmea-api-mcp-server 1.1.69 → 1.1.70
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.69.json +7 -0
- package/data/changelog/next.json +47 -9
- package/data/endpoint-lookup.json +1 -1
- package/data/enums.json +22 -2
- package/data/search-index.oxy +1 -1
- package/dist/index.js +1 -1
- package/dist/intents.js +1 -1
- package/dist/synonyms.js +1 -1
- package/endpoints/v2/failure-modes/core.json +196 -2
- package/endpoints/v2/worksheets/core.json +195 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
package/dist/intents.js
CHANGED
|
@@ -12,7 +12,7 @@ export const ACTION_KEYWORDS = {
|
|
|
12
12
|
// Monitoring
|
|
13
13
|
'MONITOR': ['monitor', 'track', 'audit', 'inspect', 'history', 'logs', 'usage', 'metrics', 'stats'],
|
|
14
14
|
// CRUD
|
|
15
|
-
'create': ['create', 'add', 'new', 'make', 'generate', 'register'],
|
|
15
|
+
'create': ['create', 'add', 'new', 'make', 'generate', 'register', 'merge', 'combine', 'revise', 'revision'], // [R42] Added merge/combine/revise
|
|
16
16
|
'update': ['update', 'edit', 'change', 'modify', 'save', 'set', 'reset', 'password', 'refresh', 'approve', 'reject', 'rename'],
|
|
17
17
|
'delete': ['delete', 'remove', 'drop', 'erase'],
|
|
18
18
|
'list': ['list', 'get', 'show', 'fetch', 'all', 'view', 'files', 'status', 'check'],
|
package/dist/synonyms.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export const METHOD_ACTIONS = {
|
|
2
|
-
"POST": ["create", "add", "new", "register", "upload", "generate", "insert"],
|
|
2
|
+
"POST": ["create", "add", "new", "register", "upload", "generate", "insert", "merge", "combine", "revise"], // [R42] Added merge/combine/revise
|
|
3
3
|
"GET": ["read", "get", "fetch", "find", "search", "list", "show", "details"],
|
|
4
4
|
"PUT": ["update", "modify", "edit", "change", "save", "set", "refresh", "renew", "upgrade"],
|
|
5
5
|
"PATCH": ["update", "modify", "edit", "change", "save", "set", "adjust", "alter", "tweak"],
|
|
@@ -796,7 +796,7 @@
|
|
|
796
796
|
"method": "GET",
|
|
797
797
|
"operationId": "getSources",
|
|
798
798
|
"summary": "Get node sources",
|
|
799
|
-
"description": "Returns source metadata and available flat source payloads for a node in the FMM diagram. Supports SYSTEM_DEFINITION (flat items from managed conditions) and PROJECT_REUSE (flat items from existing project data). BOM sources are loaded via /sources/bom. Requests filtered with sourceType=BOM still return metadata only. When the node type is BOM-backed, this endpoint returns source metadata and an empty sources list until the BOM tree is requested separately.",
|
|
799
|
+
"description": "Returns source metadata and available flat source payloads for a node in the FMM diagram. This hard-break contract does not expose popup option enums. FE knows nodeType before fetch and must render popup choices from request-time node context instead of response-only metadata. FE-owned internal/external ITEM save intent remains outside this source response and should be mapped to the existing typed save contract. The response can be cached by request context such as projectId, failureModeId, nodeType, sourceType, blockDiagramId, and objectTag without repeating popup option semantics already owned by FE. For non-process EFFECT, ITEM, and EXTERNAL_ITEM, BOM browse data remains lazy-loaded through /sources/bom while the response still distinguishes each node family through nodeType, editMode, manualEntryAllowed, and availableSourceTypes. For non-process STRESS, DESIGN, and PROCESS, the current contract follows legacy parity by exposing SYSTEM_DEFINITION only. ProjectType.PROCESS continues to use its separate PROJECT_REUSE-based contract. Supports SYSTEM_DEFINITION (flat items from managed conditions) and PROJECT_REUSE (flat items from existing project data). BOM sources are loaded via /sources/bom. Requests filtered with sourceType=BOM still return metadata only. When the node type is BOM-backed, this endpoint returns source metadata and an empty sources list until the BOM tree is requested separately.",
|
|
800
800
|
"tags": [
|
|
801
801
|
"FMM Diagram"
|
|
802
802
|
],
|
|
@@ -965,6 +965,99 @@
|
|
|
965
965
|
"label": {
|
|
966
966
|
"type": "string"
|
|
967
967
|
},
|
|
968
|
+
"blockNodeType": {
|
|
969
|
+
"type": "string",
|
|
970
|
+
"enum": [
|
|
971
|
+
"FUNCTION",
|
|
972
|
+
"PART",
|
|
973
|
+
"SUB_FUNCTION",
|
|
974
|
+
"ASSEMBLY",
|
|
975
|
+
"NEW_CHANGE_ASSEMBLY",
|
|
976
|
+
"NEW_CHANGE_PART",
|
|
977
|
+
"NEW_CHANGE_PROCESS",
|
|
978
|
+
"SUPER_SYSTEM",
|
|
979
|
+
"TARGET"
|
|
980
|
+
]
|
|
981
|
+
},
|
|
982
|
+
"referencedBlockNodeId": {
|
|
983
|
+
"type": "string"
|
|
984
|
+
},
|
|
985
|
+
"function": {
|
|
986
|
+
"type": "string"
|
|
987
|
+
},
|
|
988
|
+
"requirement": {
|
|
989
|
+
"type": "string"
|
|
990
|
+
},
|
|
991
|
+
"failureModes": {
|
|
992
|
+
"type": "array",
|
|
993
|
+
"items": {
|
|
994
|
+
"type": "object",
|
|
995
|
+
"properties": {
|
|
996
|
+
"blockNodeId": {
|
|
997
|
+
"type": "string"
|
|
998
|
+
},
|
|
999
|
+
"referencedBlockNodeId": {
|
|
1000
|
+
"type": "string"
|
|
1001
|
+
},
|
|
1002
|
+
"id": {
|
|
1003
|
+
"type": "string"
|
|
1004
|
+
},
|
|
1005
|
+
"name": {
|
|
1006
|
+
"type": "string"
|
|
1007
|
+
},
|
|
1008
|
+
"fmmDiagramType": {
|
|
1009
|
+
"type": "string",
|
|
1010
|
+
"enum": [
|
|
1011
|
+
"UNUSED",
|
|
1012
|
+
"NOT_SELECTED",
|
|
1013
|
+
"TYPE_A",
|
|
1014
|
+
"TYPE_C"
|
|
1015
|
+
]
|
|
1016
|
+
},
|
|
1017
|
+
"rank": {
|
|
1018
|
+
"type": "string"
|
|
1019
|
+
},
|
|
1020
|
+
"complete": {
|
|
1021
|
+
"type": "string"
|
|
1022
|
+
},
|
|
1023
|
+
"transferFmmObject": {
|
|
1024
|
+
"type": "integer"
|
|
1025
|
+
},
|
|
1026
|
+
"linked": {
|
|
1027
|
+
"type": "boolean"
|
|
1028
|
+
},
|
|
1029
|
+
"revisionSummary": {
|
|
1030
|
+
"type": "object",
|
|
1031
|
+
"properties": {
|
|
1032
|
+
"created": {
|
|
1033
|
+
"type": "object",
|
|
1034
|
+
"properties": {
|
|
1035
|
+
"userName": {
|
|
1036
|
+
"type": "string"
|
|
1037
|
+
},
|
|
1038
|
+
"updatedDateTime": {
|
|
1039
|
+
"type": "string",
|
|
1040
|
+
"format": "date-time"
|
|
1041
|
+
}
|
|
1042
|
+
}
|
|
1043
|
+
},
|
|
1044
|
+
"updated": {
|
|
1045
|
+
"type": "object",
|
|
1046
|
+
"properties": {
|
|
1047
|
+
"userName": {
|
|
1048
|
+
"type": "string"
|
|
1049
|
+
},
|
|
1050
|
+
"updatedDateTime": {
|
|
1051
|
+
"type": "string",
|
|
1052
|
+
"format": "date-time"
|
|
1053
|
+
}
|
|
1054
|
+
}
|
|
1055
|
+
}
|
|
1056
|
+
}
|
|
1057
|
+
}
|
|
1058
|
+
}
|
|
1059
|
+
}
|
|
1060
|
+
},
|
|
968
1061
|
"children": {
|
|
969
1062
|
"type": "array",
|
|
970
1063
|
"items": {
|
|
@@ -990,7 +1083,7 @@
|
|
|
990
1083
|
"method": "GET",
|
|
991
1084
|
"operationId": "getBomSource",
|
|
992
1085
|
"summary": "Get BOM source tree",
|
|
993
|
-
"description": "Returns BOM source tree data for ITEM, EXTERNAL_ITEM, and non-process EFFECT nodes. Tree data is lazy-loaded separately from flat /sources results. Only available for Design/FA/Equipment/FTA/CPlan projects.",
|
|
1086
|
+
"description": "Returns BOM source tree data for ITEM, EXTERNAL_ITEM, and non-process EFFECT nodes. For non-process EFFECT, objectTag is used to return a context-aware tree with the higher-item chain and linked failure modes for the current node context. Tree data is lazy-loaded separately from flat /sources results and remains focused on browse payloads rather than FE popup option metadata. Only available for Design/FA/Equipment/FTA/CPlan projects.",
|
|
994
1087
|
"tags": [
|
|
995
1088
|
"FMM Diagram"
|
|
996
1089
|
],
|
|
@@ -1040,6 +1133,14 @@
|
|
|
1040
1133
|
"schema": {
|
|
1041
1134
|
"type": "string"
|
|
1042
1135
|
}
|
|
1136
|
+
},
|
|
1137
|
+
{
|
|
1138
|
+
"name": "objectTag",
|
|
1139
|
+
"in": "query",
|
|
1140
|
+
"description": "Current object tag for EFFECT BOM requests",
|
|
1141
|
+
"schema": {
|
|
1142
|
+
"type": "string"
|
|
1143
|
+
}
|
|
1043
1144
|
}
|
|
1044
1145
|
],
|
|
1045
1146
|
"requestBody": null,
|
|
@@ -1128,6 +1229,99 @@
|
|
|
1128
1229
|
"label": {
|
|
1129
1230
|
"type": "string"
|
|
1130
1231
|
},
|
|
1232
|
+
"blockNodeType": {
|
|
1233
|
+
"type": "string",
|
|
1234
|
+
"enum": [
|
|
1235
|
+
"FUNCTION",
|
|
1236
|
+
"PART",
|
|
1237
|
+
"SUB_FUNCTION",
|
|
1238
|
+
"ASSEMBLY",
|
|
1239
|
+
"NEW_CHANGE_ASSEMBLY",
|
|
1240
|
+
"NEW_CHANGE_PART",
|
|
1241
|
+
"NEW_CHANGE_PROCESS",
|
|
1242
|
+
"SUPER_SYSTEM",
|
|
1243
|
+
"TARGET"
|
|
1244
|
+
]
|
|
1245
|
+
},
|
|
1246
|
+
"referencedBlockNodeId": {
|
|
1247
|
+
"type": "string"
|
|
1248
|
+
},
|
|
1249
|
+
"function": {
|
|
1250
|
+
"type": "string"
|
|
1251
|
+
},
|
|
1252
|
+
"requirement": {
|
|
1253
|
+
"type": "string"
|
|
1254
|
+
},
|
|
1255
|
+
"failureModes": {
|
|
1256
|
+
"type": "array",
|
|
1257
|
+
"items": {
|
|
1258
|
+
"type": "object",
|
|
1259
|
+
"properties": {
|
|
1260
|
+
"blockNodeId": {
|
|
1261
|
+
"type": "string"
|
|
1262
|
+
},
|
|
1263
|
+
"referencedBlockNodeId": {
|
|
1264
|
+
"type": "string"
|
|
1265
|
+
},
|
|
1266
|
+
"id": {
|
|
1267
|
+
"type": "string"
|
|
1268
|
+
},
|
|
1269
|
+
"name": {
|
|
1270
|
+
"type": "string"
|
|
1271
|
+
},
|
|
1272
|
+
"fmmDiagramType": {
|
|
1273
|
+
"type": "string",
|
|
1274
|
+
"enum": [
|
|
1275
|
+
"UNUSED",
|
|
1276
|
+
"NOT_SELECTED",
|
|
1277
|
+
"TYPE_A",
|
|
1278
|
+
"TYPE_C"
|
|
1279
|
+
]
|
|
1280
|
+
},
|
|
1281
|
+
"rank": {
|
|
1282
|
+
"type": "string"
|
|
1283
|
+
},
|
|
1284
|
+
"complete": {
|
|
1285
|
+
"type": "string"
|
|
1286
|
+
},
|
|
1287
|
+
"transferFmmObject": {
|
|
1288
|
+
"type": "integer"
|
|
1289
|
+
},
|
|
1290
|
+
"linked": {
|
|
1291
|
+
"type": "boolean"
|
|
1292
|
+
},
|
|
1293
|
+
"revisionSummary": {
|
|
1294
|
+
"type": "object",
|
|
1295
|
+
"properties": {
|
|
1296
|
+
"created": {
|
|
1297
|
+
"type": "object",
|
|
1298
|
+
"properties": {
|
|
1299
|
+
"userName": {
|
|
1300
|
+
"type": "string"
|
|
1301
|
+
},
|
|
1302
|
+
"updatedDateTime": {
|
|
1303
|
+
"type": "string",
|
|
1304
|
+
"format": "date-time"
|
|
1305
|
+
}
|
|
1306
|
+
}
|
|
1307
|
+
},
|
|
1308
|
+
"updated": {
|
|
1309
|
+
"type": "object",
|
|
1310
|
+
"properties": {
|
|
1311
|
+
"userName": {
|
|
1312
|
+
"type": "string"
|
|
1313
|
+
},
|
|
1314
|
+
"updatedDateTime": {
|
|
1315
|
+
"type": "string",
|
|
1316
|
+
"format": "date-time"
|
|
1317
|
+
}
|
|
1318
|
+
}
|
|
1319
|
+
}
|
|
1320
|
+
}
|
|
1321
|
+
}
|
|
1322
|
+
}
|
|
1323
|
+
}
|
|
1324
|
+
},
|
|
1131
1325
|
"children": {
|
|
1132
1326
|
"type": "array",
|
|
1133
1327
|
"items": {
|
|
@@ -621,6 +621,201 @@
|
|
|
621
621
|
}
|
|
622
622
|
},
|
|
623
623
|
"operationId": "delete_4"
|
|
624
|
+
},
|
|
625
|
+
{
|
|
626
|
+
"path": "/api/v2/projects/{projectId}/worksheets/merges",
|
|
627
|
+
"method": "POST",
|
|
628
|
+
"operationId": "merge",
|
|
629
|
+
"summary": "Merge worksheets into a new worksheet",
|
|
630
|
+
"description": "Creates a new worksheet by merging the selected source worksheets. The header base worksheet determines the template and headers for the merged result. All source worksheet rows are combined into the new worksheet. Returns HTTP 201 Created with a Location header pointing to the new worksheet. Requires NORMAL user level and project MEMBER role.",
|
|
631
|
+
"tags": [
|
|
632
|
+
"Worksheet"
|
|
633
|
+
],
|
|
634
|
+
"parameters": [
|
|
635
|
+
{
|
|
636
|
+
"name": "projectId",
|
|
637
|
+
"in": "path",
|
|
638
|
+
"description": "Project ID the worksheets belong to",
|
|
639
|
+
"required": true,
|
|
640
|
+
"schema": {
|
|
641
|
+
"type": "string"
|
|
642
|
+
}
|
|
643
|
+
}
|
|
644
|
+
],
|
|
645
|
+
"requestBody": {
|
|
646
|
+
"description": "Merge request containing source report numbers and header base selection",
|
|
647
|
+
"content": {
|
|
648
|
+
"application/json": {
|
|
649
|
+
"schema": {
|
|
650
|
+
"type": "object",
|
|
651
|
+
"properties": {
|
|
652
|
+
"sourceReportNos": {
|
|
653
|
+
"type": "array",
|
|
654
|
+
"items": {
|
|
655
|
+
"type": "string"
|
|
656
|
+
}
|
|
657
|
+
},
|
|
658
|
+
"headerBaseReportNo": {
|
|
659
|
+
"type": "string"
|
|
660
|
+
},
|
|
661
|
+
"description": {
|
|
662
|
+
"type": "string"
|
|
663
|
+
},
|
|
664
|
+
"worksheetTemplateId": {
|
|
665
|
+
"type": "integer",
|
|
666
|
+
"format": "int32"
|
|
667
|
+
}
|
|
668
|
+
}
|
|
669
|
+
}
|
|
670
|
+
}
|
|
671
|
+
}
|
|
672
|
+
},
|
|
673
|
+
"responses": {
|
|
674
|
+
"default": {
|
|
675
|
+
"description": "default response",
|
|
676
|
+
"content": {
|
|
677
|
+
"application/json": {}
|
|
678
|
+
}
|
|
679
|
+
}
|
|
680
|
+
}
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
"path": "/api/v2/projects/{projectId}/worksheets/merges/preview",
|
|
684
|
+
"method": "POST",
|
|
685
|
+
"operationId": "mergePreview",
|
|
686
|
+
"summary": "Preview worksheet merge validation",
|
|
687
|
+
"description": "Returns side-effect-free merge precheck results for the selected source worksheets. Validates that at least two sources are selected, that the header base worksheet is among them, and compares headers across sources. Returns flags for header mismatch and unknown block diagrams. Requires NORMAL user level and project MEMBER role.",
|
|
688
|
+
"tags": [
|
|
689
|
+
"Worksheet"
|
|
690
|
+
],
|
|
691
|
+
"parameters": [
|
|
692
|
+
{
|
|
693
|
+
"name": "projectId",
|
|
694
|
+
"in": "path",
|
|
695
|
+
"description": "Project ID the worksheets belong to",
|
|
696
|
+
"required": true,
|
|
697
|
+
"schema": {
|
|
698
|
+
"type": "string"
|
|
699
|
+
}
|
|
700
|
+
}
|
|
701
|
+
],
|
|
702
|
+
"requestBody": {
|
|
703
|
+
"content": {
|
|
704
|
+
"application/json": {
|
|
705
|
+
"schema": {
|
|
706
|
+
"type": "object",
|
|
707
|
+
"properties": {
|
|
708
|
+
"sourceReportNos": {
|
|
709
|
+
"type": "array",
|
|
710
|
+
"items": {
|
|
711
|
+
"type": "string"
|
|
712
|
+
}
|
|
713
|
+
},
|
|
714
|
+
"headerBaseReportNo": {
|
|
715
|
+
"type": "string"
|
|
716
|
+
}
|
|
717
|
+
}
|
|
718
|
+
}
|
|
719
|
+
}
|
|
720
|
+
}
|
|
721
|
+
},
|
|
722
|
+
"responses": {
|
|
723
|
+
"default": {
|
|
724
|
+
"description": "default response",
|
|
725
|
+
"content": {
|
|
726
|
+
"application/json": {
|
|
727
|
+
"schema": {
|
|
728
|
+
"type": "object",
|
|
729
|
+
"properties": {
|
|
730
|
+
"headerMismatch": {
|
|
731
|
+
"type": "boolean"
|
|
732
|
+
},
|
|
733
|
+
"mismatchedReportNos": {
|
|
734
|
+
"type": "array",
|
|
735
|
+
"items": {
|
|
736
|
+
"type": "string"
|
|
737
|
+
}
|
|
738
|
+
},
|
|
739
|
+
"hasUnknownBlockDiagram": {
|
|
740
|
+
"type": "boolean"
|
|
741
|
+
},
|
|
742
|
+
"unknownBlockReportNos": {
|
|
743
|
+
"type": "array",
|
|
744
|
+
"items": {
|
|
745
|
+
"type": "string"
|
|
746
|
+
}
|
|
747
|
+
},
|
|
748
|
+
"nextReportNo": {
|
|
749
|
+
"type": "string"
|
|
750
|
+
},
|
|
751
|
+
"normalizedSourceReportNos": {
|
|
752
|
+
"type": "array",
|
|
753
|
+
"items": {
|
|
754
|
+
"type": "string"
|
|
755
|
+
}
|
|
756
|
+
}
|
|
757
|
+
}
|
|
758
|
+
}
|
|
759
|
+
}
|
|
760
|
+
}
|
|
761
|
+
}
|
|
762
|
+
}
|
|
763
|
+
},
|
|
764
|
+
{
|
|
765
|
+
"path": "/api/v2/projects/{projectId}/worksheets/{reportNoSimple}/revisions",
|
|
766
|
+
"method": "POST",
|
|
767
|
+
"operationId": "revise",
|
|
768
|
+
"summary": "Create a new worksheet revision",
|
|
769
|
+
"description": "Creates a new revision from the specified source worksheet within the project. The path report number identifies the worksheet to revise, and the request body may override the worksheet template and provide a revision description. Returns HTTP 201 Created with a Location header pointing to the new worksheet revision. Requires NORMAL user level and project MEMBER role.",
|
|
770
|
+
"tags": [
|
|
771
|
+
"Worksheet"
|
|
772
|
+
],
|
|
773
|
+
"parameters": [
|
|
774
|
+
{
|
|
775
|
+
"name": "projectId",
|
|
776
|
+
"in": "path",
|
|
777
|
+
"description": "Project ID the source worksheet belongs to",
|
|
778
|
+
"required": true,
|
|
779
|
+
"schema": {
|
|
780
|
+
"type": "string"
|
|
781
|
+
}
|
|
782
|
+
},
|
|
783
|
+
{
|
|
784
|
+
"name": "reportNoSimple",
|
|
785
|
+
"in": "path",
|
|
786
|
+
"description": "Source worksheet report number: 'N' (primary) or 'N-M' (primary-secondary), e.g. '3-1'",
|
|
787
|
+
"required": true,
|
|
788
|
+
"schema": {
|
|
789
|
+
"type": "string"
|
|
790
|
+
}
|
|
791
|
+
}
|
|
792
|
+
],
|
|
793
|
+
"requestBody": {
|
|
794
|
+
"content": {
|
|
795
|
+
"application/json": {
|
|
796
|
+
"schema": {
|
|
797
|
+
"type": "object",
|
|
798
|
+
"properties": {
|
|
799
|
+
"worksheetTemplateId": {
|
|
800
|
+
"type": "integer",
|
|
801
|
+
"format": "int32"
|
|
802
|
+
},
|
|
803
|
+
"description": {
|
|
804
|
+
"type": "string"
|
|
805
|
+
}
|
|
806
|
+
}
|
|
807
|
+
}
|
|
808
|
+
}
|
|
809
|
+
}
|
|
810
|
+
},
|
|
811
|
+
"responses": {
|
|
812
|
+
"default": {
|
|
813
|
+
"description": "default response",
|
|
814
|
+
"content": {
|
|
815
|
+
"application/json": {}
|
|
816
|
+
}
|
|
817
|
+
}
|
|
818
|
+
}
|
|
624
819
|
}
|
|
625
820
|
]
|
|
626
821
|
}
|