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
@@ -3,72 +3,12 @@
3
3
  "version": "v2",
4
4
  "description": "",
5
5
  "endpoints": [
6
- {
7
- "path": "/api/v2/classifications/groups/{groupId}",
8
- "method": "DELETE",
9
- "operationId": "deleteGroup",
10
- "summary": "Delete classification group",
11
- "description": "Deletes the specified classification group and all its associated items.",
12
- "tags": [
13
- "Classification"
14
- ],
15
- "parameters": [
16
- {
17
- "name": "groupId",
18
- "in": "path",
19
- "description": "Classification group ID 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
- {
37
- "path": "/api/v2/classifications/items/{itemId}",
38
- "method": "DELETE",
39
- "operationId": "deleteItem_1",
40
- "summary": "Delete classification item",
41
- "description": "Deletes the specified classification item from its group.",
42
- "tags": [
43
- "Classification"
44
- ],
45
- "parameters": [
46
- {
47
- "name": "itemId",
48
- "in": "path",
49
- "description": "Classification item ID to delete",
50
- "required": true,
51
- "schema": {
52
- "type": "string"
53
- }
54
- }
55
- ],
56
- "requestBody": null,
57
- "responses": {
58
- "default": {
59
- "description": "default response",
60
- "content": {
61
- "application/json": {}
62
- }
63
- }
64
- }
65
- },
66
6
  {
67
7
  "path": "/api/v2/classifications/items/{itemId}/image",
68
8
  "method": "DELETE",
69
9
  "operationId": "deleteItemImage",
70
10
  "summary": "Delete classification item image",
71
- "description": "Deletes the image file associated with the specified classification item and resets the item symbol type to text.",
11
+ "description": "Deletes the image file for a classification item as a helper endpoint. Use PUT /api/v2/classifications for the main grouped snapshot save, and use this endpoint only to remove the binary asset and clear the image reference.",
72
12
  "tags": [
73
13
  "Classification"
74
14
  ],
@@ -129,7 +69,7 @@
129
69
  "method": "GET",
130
70
  "operationId": "getAllGroups",
131
71
  "summary": "List all classification groups",
132
- "description": "Returns all classification groups with their nested items. Each group contains items with symbol type (text or image) and optional image URL. Supports optional keyword search on group title or item title.",
72
+ "description": "Returns the main admin snapshot source for classifications. Each group includes its nested items, the group isDefault flag, and per-item symbol metadata including symbolType and symbolImageUrl. Supports optional keyword search on group title or item title.",
133
73
  "tags": [
134
74
  "Classification"
135
75
  ],
@@ -212,7 +152,7 @@
212
152
  "method": "GET",
213
153
  "operationId": "getItemsByProject",
214
154
  "summary": "Get classification items by project",
215
- "description": "Returns classification items associated with the specified project. Falls back to the default group items if the project has no project_class configured.",
155
+ "description": "Runtime helper read that returns classification items associated with the specified project. Falls back to the default group items if the project has no project_class configured. This is not the main admin snapshot source.",
216
156
  "tags": [
217
157
  "Classification"
218
158
  ],
@@ -276,7 +216,7 @@
276
216
  "method": "GET",
277
217
  "operationId": "getDefaultItems",
278
218
  "summary": "Get default classification items",
279
- "description": "Returns items from the system default classification group (the group with setdefault='Y'). Used when no project-specific classification is configured.",
219
+ "description": "Helper read that returns items from the current default classification group (the group with setdefault='Y'). This is not the main admin snapshot source.",
280
220
  "tags": [
281
221
  "Classification"
282
222
  ],
@@ -330,7 +270,7 @@
330
270
  "method": "GET",
331
271
  "operationId": "getItemsByGroup",
332
272
  "summary": "Get items by group",
333
- "description": "Returns classification items belonging to the specified group. The groupId parameter is required. Returns 404 if the group does not exist.",
273
+ "description": "Helper read that returns classification items belonging to one group. This is not the main admin snapshot source. The groupId parameter is required. Returns 404 if the group does not exist.",
334
274
  "tags": [
335
275
  "Classification"
336
276
  ],
@@ -388,263 +328,12 @@
388
328
  }
389
329
  }
390
330
  },
391
- {
392
- "path": "/api/v2/classifications/default",
393
- "method": "PATCH",
394
- "operationId": "changeDefault",
395
- "summary": "Change default classification group",
396
- "description": "Sets the specified classification group as the system default.",
397
- "tags": [
398
- "Classification"
399
- ],
400
- "parameters": [],
401
- "requestBody": {
402
- "content": {
403
- "application/json": {
404
- "schema": {
405
- "type": "object",
406
- "properties": {
407
- "groupId": {
408
- "type": "string"
409
- }
410
- }
411
- }
412
- }
413
- }
414
- },
415
- "responses": {
416
- "default": {
417
- "description": "default response",
418
- "content": {
419
- "application/json": {
420
- "schema": {
421
- "type": "object",
422
- "properties": {
423
- "id": {
424
- "type": "string"
425
- },
426
- "title": {
427
- "type": "string"
428
- },
429
- "description": {
430
- "type": "string"
431
- },
432
- "isDefault": {
433
- "type": "boolean"
434
- },
435
- "items": {
436
- "type": "array",
437
- "items": {
438
- "type": "object",
439
- "properties": {
440
- "id": {
441
- "type": "string"
442
- },
443
- "title": {
444
- "type": "string"
445
- },
446
- "description": {
447
- "type": "string"
448
- },
449
- "symbol": {
450
- "type": "string"
451
- },
452
- "symbolType": {
453
- "type": "string",
454
- "enum": [
455
- "TEXT",
456
- "IMAGE"
457
- ]
458
- },
459
- "symbolImageUrl": {
460
- "type": "string"
461
- },
462
- "groupId": {
463
- "type": "string"
464
- }
465
- }
466
- }
467
- }
468
- }
469
- }
470
- }
471
- }
472
- }
473
- }
474
- },
475
- {
476
- "path": "/api/v2/classifications/groups",
477
- "method": "POST",
478
- "operationId": "createGroup",
479
- "summary": "Create classification group",
480
- "description": "Creates a new classification group with the given name and optional description.",
481
- "tags": [
482
- "Classification"
483
- ],
484
- "parameters": [],
485
- "requestBody": {
486
- "content": {
487
- "application/json": {
488
- "schema": {
489
- "type": "object",
490
- "properties": {
491
- "title": {
492
- "type": "string"
493
- },
494
- "description": {
495
- "type": "string"
496
- }
497
- }
498
- }
499
- }
500
- }
501
- },
502
- "responses": {
503
- "default": {
504
- "description": "default response",
505
- "content": {
506
- "application/json": {
507
- "schema": {
508
- "type": "object",
509
- "properties": {
510
- "id": {
511
- "type": "string"
512
- },
513
- "title": {
514
- "type": "string"
515
- },
516
- "description": {
517
- "type": "string"
518
- },
519
- "isDefault": {
520
- "type": "boolean"
521
- },
522
- "items": {
523
- "type": "array",
524
- "items": {
525
- "type": "object",
526
- "properties": {
527
- "id": {
528
- "type": "string"
529
- },
530
- "title": {
531
- "type": "string"
532
- },
533
- "description": {
534
- "type": "string"
535
- },
536
- "symbol": {
537
- "type": "string"
538
- },
539
- "symbolType": {
540
- "type": "string",
541
- "enum": [
542
- "TEXT",
543
- "IMAGE"
544
- ]
545
- },
546
- "symbolImageUrl": {
547
- "type": "string"
548
- },
549
- "groupId": {
550
- "type": "string"
551
- }
552
- }
553
- }
554
- }
555
- }
556
- }
557
- }
558
- }
559
- }
560
- }
561
- },
562
- {
563
- "path": "/api/v2/classifications/groups/{groupId}/items",
564
- "method": "POST",
565
- "operationId": "createItem_1",
566
- "summary": "Create classification item",
567
- "description": "Creates a new classification item under the specified group.",
568
- "tags": [
569
- "Classification"
570
- ],
571
- "parameters": [
572
- {
573
- "name": "groupId",
574
- "in": "path",
575
- "description": "Classification group ID to add the item to",
576
- "required": true,
577
- "schema": {
578
- "type": "string"
579
- }
580
- }
581
- ],
582
- "requestBody": {
583
- "content": {
584
- "application/json": {
585
- "schema": {
586
- "type": "object",
587
- "properties": {
588
- "title": {
589
- "type": "string"
590
- },
591
- "description": {
592
- "type": "string"
593
- },
594
- "symbol": {
595
- "type": "string"
596
- }
597
- }
598
- }
599
- }
600
- }
601
- },
602
- "responses": {
603
- "default": {
604
- "description": "default response",
605
- "content": {
606
- "application/json": {
607
- "schema": {
608
- "type": "object",
609
- "properties": {
610
- "id": {
611
- "type": "string"
612
- },
613
- "title": {
614
- "type": "string"
615
- },
616
- "description": {
617
- "type": "string"
618
- },
619
- "symbol": {
620
- "type": "string"
621
- },
622
- "symbolType": {
623
- "type": "string",
624
- "enum": [
625
- "TEXT",
626
- "IMAGE"
627
- ]
628
- },
629
- "symbolImageUrl": {
630
- "type": "string"
631
- },
632
- "groupId": {
633
- "type": "string"
634
- }
635
- }
636
- }
637
- }
638
- }
639
- }
640
- }
641
- },
642
331
  {
643
332
  "path": "/api/v2/classifications/items/{itemId}/image",
644
333
  "method": "POST",
645
334
  "operationId": "uploadItemImage",
646
335
  "summary": "Upload classification item image",
647
- "description": "Uploads an image file for the specified classification item symbol. The image is resized to 22x22 pixels. Accepted formats: gif, jpg, png, bmp. Dangerous file types (jsp, php, asp) are rejected.",
336
+ "description": "Uploads image binary for a classification item as a helper endpoint. Use PUT /api/v2/classifications for the main grouped snapshot save, and use this endpoint only to create or replace the referenced image file. The image is resized to 22x22 pixels. Accepted formats: gif, jpg, png, bmp.",
648
337
  "tags": [
649
338
  "Classification"
650
339
  ],
@@ -1062,91 +751,72 @@
1062
751
  }
1063
752
  },
1064
753
  {
1065
- "path": "/api/v2/classifications/groups/{groupId}",
754
+ "path": "/api/v2/classifications",
1066
755
  "method": "PUT",
1067
- "operationId": "updateGroup",
1068
- "summary": "Update classification group",
1069
- "description": "Updates the name and description of the specified classification group.",
756
+ "operationId": "saveSnapshot",
757
+ "summary": "Save classification snapshot",
758
+ "description": "Saves the full snapshot for classifications using the grouped read shape. The payload carries groups, items, and the single default group in one request. This is a full snapshot replace, so omitted groups and items are deleted. Image binary upload remains a helper flow on /items/{itemId}/image.",
1070
759
  "tags": [
1071
760
  "Classification"
1072
761
  ],
1073
- "parameters": [
1074
- {
1075
- "name": "groupId",
1076
- "in": "path",
1077
- "description": "Classification group ID to update",
1078
- "required": true,
1079
- "schema": {
1080
- "type": "string"
1081
- }
1082
- }
1083
- ],
762
+ "parameters": [],
1084
763
  "requestBody": {
1085
764
  "content": {
1086
765
  "application/json": {
1087
766
  "schema": {
1088
767
  "type": "object",
768
+ "required": [
769
+ "groups"
770
+ ],
1089
771
  "properties": {
1090
- "title": {
1091
- "type": "string"
1092
- },
1093
- "description": {
1094
- "type": "string"
1095
- }
1096
- }
1097
- }
1098
- }
1099
- }
1100
- },
1101
- "responses": {
1102
- "default": {
1103
- "description": "default response",
1104
- "content": {
1105
- "application/json": {
1106
- "schema": {
1107
- "type": "object",
1108
- "properties": {
1109
- "id": {
1110
- "type": "string"
1111
- },
1112
- "title": {
1113
- "type": "string"
1114
- },
1115
- "description": {
1116
- "type": "string"
1117
- },
1118
- "isDefault": {
1119
- "type": "boolean"
1120
- },
772
+ "groups": {
773
+ "type": "array",
1121
774
  "items": {
1122
- "type": "array",
1123
- "items": {
1124
- "type": "object",
1125
- "properties": {
1126
- "id": {
1127
- "type": "string"
1128
- },
1129
- "title": {
1130
- "type": "string"
1131
- },
1132
- "description": {
1133
- "type": "string"
1134
- },
1135
- "symbol": {
1136
- "type": "string"
1137
- },
1138
- "symbolType": {
1139
- "type": "string",
1140
- "enum": [
1141
- "TEXT",
1142
- "IMAGE"
1143
- ]
1144
- },
1145
- "symbolImageUrl": {
1146
- "type": "string"
1147
- },
1148
- "groupId": {
1149
- "type": "string"
775
+ "type": "object",
776
+ "properties": {
777
+ "id": {
778
+ "type": "string"
779
+ },
780
+ "title": {
781
+ "type": "string"
782
+ },
783
+ "description": {
784
+ "type": "string"
785
+ },
786
+ "defaultGroup": {
787
+ "type": "boolean"
788
+ },
789
+ "items": {
790
+ "type": "array",
791
+ "items": {
792
+ "type": "object",
793
+ "properties": {
794
+ "id": {
795
+ "type": "string"
796
+ },
797
+ "title": {
798
+ "type": "string"
799
+ },
800
+ "description": {
801
+ "type": "string"
802
+ },
803
+ "symbol": {
804
+ "type": "string"
805
+ },
806
+ "symbolType": {
807
+ "type": "string",
808
+ "enum": [
809
+ "TEXT",
810
+ "IMAGE"
811
+ ]
812
+ },
813
+ "symbolImageUrl": {
814
+ "type": "string"
815
+ },
816
+ "groupId": {
817
+ "type": "string"
818
+ }
819
+ }
1150
820
  }
1151
821
  }
1152
822
  }
@@ -1156,47 +826,6 @@
1156
826
  }
1157
827
  }
1158
828
  }
1159
- }
1160
- },
1161
- {
1162
- "path": "/api/v2/classifications/items/{itemId}",
1163
- "method": "PUT",
1164
- "operationId": "updateItem_1",
1165
- "summary": "Update classification item",
1166
- "description": "Updates the label, symbol type, and optional image URL of the specified classification item.",
1167
- "tags": [
1168
- "Classification"
1169
- ],
1170
- "parameters": [
1171
- {
1172
- "name": "itemId",
1173
- "in": "path",
1174
- "description": "Classification item ID to update",
1175
- "required": true,
1176
- "schema": {
1177
- "type": "string"
1178
- }
1179
- }
1180
- ],
1181
- "requestBody": {
1182
- "content": {
1183
- "application/json": {
1184
- "schema": {
1185
- "type": "object",
1186
- "properties": {
1187
- "title": {
1188
- "type": "string"
1189
- },
1190
- "description": {
1191
- "type": "string"
1192
- },
1193
- "symbol": {
1194
- "type": "string"
1195
- }
1196
- }
1197
- }
1198
- }
1199
- }
1200
829
  },
1201
830
  "responses": {
1202
831
  "default": {
@@ -1204,32 +833,55 @@
1204
833
  "content": {
1205
834
  "application/json": {
1206
835
  "schema": {
1207
- "type": "object",
1208
- "properties": {
1209
- "id": {
1210
- "type": "string"
1211
- },
1212
- "title": {
1213
- "type": "string"
1214
- },
1215
- "description": {
1216
- "type": "string"
1217
- },
1218
- "symbol": {
1219
- "type": "string"
1220
- },
1221
- "symbolType": {
1222
- "type": "string",
1223
- "enum": [
1224
- "TEXT",
1225
- "IMAGE"
1226
- ]
1227
- },
1228
- "symbolImageUrl": {
1229
- "type": "string"
1230
- },
1231
- "groupId": {
1232
- "type": "string"
836
+ "type": "array",
837
+ "items": {
838
+ "type": "object",
839
+ "properties": {
840
+ "id": {
841
+ "type": "string"
842
+ },
843
+ "title": {
844
+ "type": "string"
845
+ },
846
+ "description": {
847
+ "type": "string"
848
+ },
849
+ "isDefault": {
850
+ "type": "boolean"
851
+ },
852
+ "items": {
853
+ "type": "array",
854
+ "items": {
855
+ "type": "object",
856
+ "properties": {
857
+ "id": {
858
+ "type": "string"
859
+ },
860
+ "title": {
861
+ "type": "string"
862
+ },
863
+ "description": {
864
+ "type": "string"
865
+ },
866
+ "symbol": {
867
+ "type": "string"
868
+ },
869
+ "symbolType": {
870
+ "type": "string",
871
+ "enum": [
872
+ "TEXT",
873
+ "IMAGE"
874
+ ]
875
+ },
876
+ "symbolImageUrl": {
877
+ "type": "string"
878
+ },
879
+ "groupId": {
880
+ "type": "string"
881
+ }
882
+ }
883
+ }
884
+ }
1233
885
  }
1234
886
  }
1235
887
  }