fmea-api-mcp-server 1.1.68 → 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.
@@ -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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fmea-api-mcp-server",
3
- "version": "1.1.68",
3
+ "version": "1.1.70",
4
4
  "description": "MCP server for serving API documentation from endpoints directory",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",