fmea-api-mcp-server 1.1.67 → 1.1.69
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.67.json +11 -0
- package/data/changelog/1.1.68.json +14 -0
- package/data/changelog/next.json +14 -38
- package/data/endpoint-lookup.json +1 -1
- package/data/enums.json +17 -3
- package/data/search-index.oxy +1 -1
- package/dist/index.js +1 -1
- package/endpoints/v2/failure-modes/core.json +364 -22
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -207,25 +207,16 @@
|
|
|
207
207
|
"TYPE_C"
|
|
208
208
|
]
|
|
209
209
|
},
|
|
210
|
-
"
|
|
210
|
+
"blockDiagramType": {
|
|
211
211
|
"type": "string",
|
|
212
212
|
"enum": [
|
|
213
|
-
"
|
|
214
|
-
"
|
|
215
|
-
"
|
|
216
|
-
"
|
|
217
|
-
"FMM_PROCESS"
|
|
218
|
-
]
|
|
219
|
-
},
|
|
220
|
-
"fmeaType": {
|
|
221
|
-
"type": "string",
|
|
222
|
-
"enum": [
|
|
223
|
-
"DESIGN",
|
|
213
|
+
"FUNCTION",
|
|
214
|
+
"STRUCTURE",
|
|
215
|
+
"FUNCTION_STRUCTURE",
|
|
216
|
+
"STRUCTURE_FUNCTION",
|
|
224
217
|
"PROCESS",
|
|
225
|
-
"
|
|
226
|
-
"
|
|
227
|
-
"FTA",
|
|
228
|
-
"CPLAN"
|
|
218
|
+
"SUPER_SYSTEM",
|
|
219
|
+
"FUNCTION_ANALYSIS"
|
|
229
220
|
]
|
|
230
221
|
},
|
|
231
222
|
"completed": {
|
|
@@ -598,9 +589,6 @@
|
|
|
598
589
|
"blockNodeId": {
|
|
599
590
|
"type": "string"
|
|
600
591
|
},
|
|
601
|
-
"fmeaType": {
|
|
602
|
-
"type": "string"
|
|
603
|
-
},
|
|
604
592
|
"order": {
|
|
605
593
|
"type": "integer"
|
|
606
594
|
},
|
|
@@ -779,9 +767,6 @@
|
|
|
779
767
|
"blockNodeId": {
|
|
780
768
|
"type": "string"
|
|
781
769
|
},
|
|
782
|
-
"fmeaType": {
|
|
783
|
-
"type": "string"
|
|
784
|
-
},
|
|
785
770
|
"order": {
|
|
786
771
|
"type": "integer"
|
|
787
772
|
},
|
|
@@ -805,6 +790,363 @@
|
|
|
805
790
|
}
|
|
806
791
|
}
|
|
807
792
|
}
|
|
793
|
+
},
|
|
794
|
+
{
|
|
795
|
+
"path": "/api/v2/projects/{projectId}/failure-modes/{failureModeId}/fmm-diagram/sources",
|
|
796
|
+
"method": "GET",
|
|
797
|
+
"operationId": "getSources",
|
|
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.",
|
|
800
|
+
"tags": [
|
|
801
|
+
"FMM Diagram"
|
|
802
|
+
],
|
|
803
|
+
"parameters": [
|
|
804
|
+
{
|
|
805
|
+
"name": "projectId",
|
|
806
|
+
"in": "path",
|
|
807
|
+
"description": "Project ID",
|
|
808
|
+
"required": true,
|
|
809
|
+
"schema": {
|
|
810
|
+
"type": "string"
|
|
811
|
+
}
|
|
812
|
+
},
|
|
813
|
+
{
|
|
814
|
+
"name": "failureModeId",
|
|
815
|
+
"in": "path",
|
|
816
|
+
"description": "Failure mode ID",
|
|
817
|
+
"required": true,
|
|
818
|
+
"schema": {
|
|
819
|
+
"type": "string"
|
|
820
|
+
}
|
|
821
|
+
},
|
|
822
|
+
{
|
|
823
|
+
"name": "nodeType",
|
|
824
|
+
"in": "query",
|
|
825
|
+
"description": "Target node type (required)",
|
|
826
|
+
"schema": {
|
|
827
|
+
"type": "string",
|
|
828
|
+
"enum": [
|
|
829
|
+
"FAILURE_MODE",
|
|
830
|
+
"EFFECT",
|
|
831
|
+
"ITEM",
|
|
832
|
+
"EXTERNAL_ITEM",
|
|
833
|
+
"GROUP",
|
|
834
|
+
"CAUSE_U",
|
|
835
|
+
"CAUSE_I",
|
|
836
|
+
"STRESS",
|
|
837
|
+
"DESIGN",
|
|
838
|
+
"PROCESS"
|
|
839
|
+
]
|
|
840
|
+
}
|
|
841
|
+
},
|
|
842
|
+
{
|
|
843
|
+
"name": "sourceType",
|
|
844
|
+
"in": "query",
|
|
845
|
+
"description": "Source type filter (optional, omit to bundle all available flat sources)",
|
|
846
|
+
"schema": {
|
|
847
|
+
"type": "string",
|
|
848
|
+
"enum": [
|
|
849
|
+
"SYSTEM_DEFINITION",
|
|
850
|
+
"PROJECT_REUSE",
|
|
851
|
+
"BOM"
|
|
852
|
+
]
|
|
853
|
+
}
|
|
854
|
+
},
|
|
855
|
+
{
|
|
856
|
+
"name": "fmmDiagramType",
|
|
857
|
+
"in": "query",
|
|
858
|
+
"description": "FMM diagram type filter for reuse queries (optional)",
|
|
859
|
+
"schema": {
|
|
860
|
+
"type": "string",
|
|
861
|
+
"enum": [
|
|
862
|
+
"UNUSED",
|
|
863
|
+
"NOT_SELECTED",
|
|
864
|
+
"TYPE_A",
|
|
865
|
+
"TYPE_C"
|
|
866
|
+
]
|
|
867
|
+
}
|
|
868
|
+
},
|
|
869
|
+
{
|
|
870
|
+
"name": "effectType",
|
|
871
|
+
"in": "query",
|
|
872
|
+
"description": "Product/process filter for effect-related reuse rows (optional)",
|
|
873
|
+
"schema": {
|
|
874
|
+
"type": "string",
|
|
875
|
+
"enum": [
|
|
876
|
+
"PRODUCT",
|
|
877
|
+
"PROCESS"
|
|
878
|
+
]
|
|
879
|
+
}
|
|
880
|
+
}
|
|
881
|
+
],
|
|
882
|
+
"requestBody": null,
|
|
883
|
+
"responses": {
|
|
884
|
+
"default": {
|
|
885
|
+
"description": "default response",
|
|
886
|
+
"content": {
|
|
887
|
+
"application/json": {
|
|
888
|
+
"schema": {
|
|
889
|
+
"type": "object",
|
|
890
|
+
"properties": {
|
|
891
|
+
"nodeType": {
|
|
892
|
+
"type": "string",
|
|
893
|
+
"enum": [
|
|
894
|
+
"FAILURE_MODE",
|
|
895
|
+
"EFFECT",
|
|
896
|
+
"ITEM",
|
|
897
|
+
"EXTERNAL_ITEM",
|
|
898
|
+
"GROUP",
|
|
899
|
+
"CAUSE_U",
|
|
900
|
+
"CAUSE_I",
|
|
901
|
+
"STRESS",
|
|
902
|
+
"DESIGN",
|
|
903
|
+
"PROCESS"
|
|
904
|
+
]
|
|
905
|
+
},
|
|
906
|
+
"projectType": {
|
|
907
|
+
"type": "string",
|
|
908
|
+
"enum": [
|
|
909
|
+
"DESIGN",
|
|
910
|
+
"PROCESS",
|
|
911
|
+
"EQUIPMENT",
|
|
912
|
+
"FA",
|
|
913
|
+
"FTA",
|
|
914
|
+
"CPLAN"
|
|
915
|
+
]
|
|
916
|
+
},
|
|
917
|
+
"editMode": {
|
|
918
|
+
"type": "string",
|
|
919
|
+
"enum": [
|
|
920
|
+
"TEXT_ASSISTED",
|
|
921
|
+
"BOM_PICK"
|
|
922
|
+
]
|
|
923
|
+
},
|
|
924
|
+
"manualEntryAllowed": {
|
|
925
|
+
"type": "boolean"
|
|
926
|
+
},
|
|
927
|
+
"availableSourceTypes": {
|
|
928
|
+
"type": "array",
|
|
929
|
+
"items": {
|
|
930
|
+
"type": "string",
|
|
931
|
+
"enum": [
|
|
932
|
+
"SYSTEM_DEFINITION",
|
|
933
|
+
"PROJECT_REUSE",
|
|
934
|
+
"BOM"
|
|
935
|
+
]
|
|
936
|
+
}
|
|
937
|
+
},
|
|
938
|
+
"sources": {
|
|
939
|
+
"type": "array",
|
|
940
|
+
"items": {
|
|
941
|
+
"type": "object",
|
|
942
|
+
"properties": {
|
|
943
|
+
"sourceType": {
|
|
944
|
+
"type": "string",
|
|
945
|
+
"enum": [
|
|
946
|
+
"SYSTEM_DEFINITION",
|
|
947
|
+
"PROJECT_REUSE",
|
|
948
|
+
"BOM"
|
|
949
|
+
]
|
|
950
|
+
},
|
|
951
|
+
"flatItems": {
|
|
952
|
+
"type": "array",
|
|
953
|
+
"items": {
|
|
954
|
+
"type": "string"
|
|
955
|
+
}
|
|
956
|
+
},
|
|
957
|
+
"treeRoots": {
|
|
958
|
+
"type": "array",
|
|
959
|
+
"items": {
|
|
960
|
+
"type": "object",
|
|
961
|
+
"properties": {
|
|
962
|
+
"id": {
|
|
963
|
+
"type": "string"
|
|
964
|
+
},
|
|
965
|
+
"label": {
|
|
966
|
+
"type": "string"
|
|
967
|
+
},
|
|
968
|
+
"children": {
|
|
969
|
+
"type": "array",
|
|
970
|
+
"items": {
|
|
971
|
+
"type": "object",
|
|
972
|
+
"description": "(circular: NodeSourceTreeNodeDTO)"
|
|
973
|
+
}
|
|
974
|
+
}
|
|
975
|
+
}
|
|
976
|
+
}
|
|
977
|
+
}
|
|
978
|
+
}
|
|
979
|
+
}
|
|
980
|
+
}
|
|
981
|
+
}
|
|
982
|
+
}
|
|
983
|
+
}
|
|
984
|
+
}
|
|
985
|
+
}
|
|
986
|
+
}
|
|
987
|
+
},
|
|
988
|
+
{
|
|
989
|
+
"path": "/api/v2/projects/{projectId}/failure-modes/{failureModeId}/fmm-diagram/sources/bom",
|
|
990
|
+
"method": "GET",
|
|
991
|
+
"operationId": "getBomSource",
|
|
992
|
+
"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.",
|
|
994
|
+
"tags": [
|
|
995
|
+
"FMM Diagram"
|
|
996
|
+
],
|
|
997
|
+
"parameters": [
|
|
998
|
+
{
|
|
999
|
+
"name": "projectId",
|
|
1000
|
+
"in": "path",
|
|
1001
|
+
"description": "Project ID",
|
|
1002
|
+
"required": true,
|
|
1003
|
+
"schema": {
|
|
1004
|
+
"type": "string"
|
|
1005
|
+
}
|
|
1006
|
+
},
|
|
1007
|
+
{
|
|
1008
|
+
"name": "failureModeId",
|
|
1009
|
+
"in": "path",
|
|
1010
|
+
"description": "Failure mode ID",
|
|
1011
|
+
"required": true,
|
|
1012
|
+
"schema": {
|
|
1013
|
+
"type": "string"
|
|
1014
|
+
}
|
|
1015
|
+
},
|
|
1016
|
+
{
|
|
1017
|
+
"name": "nodeType",
|
|
1018
|
+
"in": "query",
|
|
1019
|
+
"description": "Target node type (ITEM, EXTERNAL_ITEM, or EFFECT)",
|
|
1020
|
+
"schema": {
|
|
1021
|
+
"type": "string",
|
|
1022
|
+
"enum": [
|
|
1023
|
+
"FAILURE_MODE",
|
|
1024
|
+
"EFFECT",
|
|
1025
|
+
"ITEM",
|
|
1026
|
+
"EXTERNAL_ITEM",
|
|
1027
|
+
"GROUP",
|
|
1028
|
+
"CAUSE_U",
|
|
1029
|
+
"CAUSE_I",
|
|
1030
|
+
"STRESS",
|
|
1031
|
+
"DESIGN",
|
|
1032
|
+
"PROCESS"
|
|
1033
|
+
]
|
|
1034
|
+
}
|
|
1035
|
+
},
|
|
1036
|
+
{
|
|
1037
|
+
"name": "blockDiagramId",
|
|
1038
|
+
"in": "query",
|
|
1039
|
+
"description": "Block diagram ID for BOM source (required)",
|
|
1040
|
+
"schema": {
|
|
1041
|
+
"type": "string"
|
|
1042
|
+
}
|
|
1043
|
+
}
|
|
1044
|
+
],
|
|
1045
|
+
"requestBody": null,
|
|
1046
|
+
"responses": {
|
|
1047
|
+
"default": {
|
|
1048
|
+
"description": "default response",
|
|
1049
|
+
"content": {
|
|
1050
|
+
"application/json": {
|
|
1051
|
+
"schema": {
|
|
1052
|
+
"type": "object",
|
|
1053
|
+
"properties": {
|
|
1054
|
+
"nodeType": {
|
|
1055
|
+
"type": "string",
|
|
1056
|
+
"enum": [
|
|
1057
|
+
"FAILURE_MODE",
|
|
1058
|
+
"EFFECT",
|
|
1059
|
+
"ITEM",
|
|
1060
|
+
"EXTERNAL_ITEM",
|
|
1061
|
+
"GROUP",
|
|
1062
|
+
"CAUSE_U",
|
|
1063
|
+
"CAUSE_I",
|
|
1064
|
+
"STRESS",
|
|
1065
|
+
"DESIGN",
|
|
1066
|
+
"PROCESS"
|
|
1067
|
+
]
|
|
1068
|
+
},
|
|
1069
|
+
"projectType": {
|
|
1070
|
+
"type": "string",
|
|
1071
|
+
"enum": [
|
|
1072
|
+
"DESIGN",
|
|
1073
|
+
"PROCESS",
|
|
1074
|
+
"EQUIPMENT",
|
|
1075
|
+
"FA",
|
|
1076
|
+
"FTA",
|
|
1077
|
+
"CPLAN"
|
|
1078
|
+
]
|
|
1079
|
+
},
|
|
1080
|
+
"editMode": {
|
|
1081
|
+
"type": "string",
|
|
1082
|
+
"enum": [
|
|
1083
|
+
"TEXT_ASSISTED",
|
|
1084
|
+
"BOM_PICK"
|
|
1085
|
+
]
|
|
1086
|
+
},
|
|
1087
|
+
"manualEntryAllowed": {
|
|
1088
|
+
"type": "boolean"
|
|
1089
|
+
},
|
|
1090
|
+
"availableSourceTypes": {
|
|
1091
|
+
"type": "array",
|
|
1092
|
+
"items": {
|
|
1093
|
+
"type": "string",
|
|
1094
|
+
"enum": [
|
|
1095
|
+
"SYSTEM_DEFINITION",
|
|
1096
|
+
"PROJECT_REUSE",
|
|
1097
|
+
"BOM"
|
|
1098
|
+
]
|
|
1099
|
+
}
|
|
1100
|
+
},
|
|
1101
|
+
"sources": {
|
|
1102
|
+
"type": "array",
|
|
1103
|
+
"items": {
|
|
1104
|
+
"type": "object",
|
|
1105
|
+
"properties": {
|
|
1106
|
+
"sourceType": {
|
|
1107
|
+
"type": "string",
|
|
1108
|
+
"enum": [
|
|
1109
|
+
"SYSTEM_DEFINITION",
|
|
1110
|
+
"PROJECT_REUSE",
|
|
1111
|
+
"BOM"
|
|
1112
|
+
]
|
|
1113
|
+
},
|
|
1114
|
+
"flatItems": {
|
|
1115
|
+
"type": "array",
|
|
1116
|
+
"items": {
|
|
1117
|
+
"type": "string"
|
|
1118
|
+
}
|
|
1119
|
+
},
|
|
1120
|
+
"treeRoots": {
|
|
1121
|
+
"type": "array",
|
|
1122
|
+
"items": {
|
|
1123
|
+
"type": "object",
|
|
1124
|
+
"properties": {
|
|
1125
|
+
"id": {
|
|
1126
|
+
"type": "string"
|
|
1127
|
+
},
|
|
1128
|
+
"label": {
|
|
1129
|
+
"type": "string"
|
|
1130
|
+
},
|
|
1131
|
+
"children": {
|
|
1132
|
+
"type": "array",
|
|
1133
|
+
"items": {
|
|
1134
|
+
"type": "object",
|
|
1135
|
+
"description": "(circular: NodeSourceTreeNodeDTO)"
|
|
1136
|
+
}
|
|
1137
|
+
}
|
|
1138
|
+
}
|
|
1139
|
+
}
|
|
1140
|
+
}
|
|
1141
|
+
}
|
|
1142
|
+
}
|
|
1143
|
+
}
|
|
1144
|
+
}
|
|
1145
|
+
}
|
|
1146
|
+
}
|
|
1147
|
+
}
|
|
1148
|
+
}
|
|
1149
|
+
}
|
|
808
1150
|
}
|
|
809
1151
|
]
|
|
810
1152
|
}
|