|
577 | 577 | "acceptedCharacterCount": { "shape": "PrimitiveInteger" }, |
578 | 578 | "totalCharacterCount": { "shape": "PrimitiveInteger" }, |
579 | 579 | "timestamp": { "shape": "Timestamp" }, |
580 | | - "unmodifiedAcceptedCharacterCount": { "shape": "PrimitiveInteger" } |
| 580 | + "unmodifiedAcceptedCharacterCount": { "shape": "PrimitiveInteger" }, |
| 581 | + "totalNewCodeCharacterCount": { "shape": "PrimitiveInteger" }, |
| 582 | + "totalNewCodeLineCount": { "shape": "PrimitiveInteger" } |
581 | 583 | } |
582 | 584 | }, |
583 | 585 | "CodeFixAcceptanceEvent": { |
|
657 | 659 | "codeAnalysisScope": { "shape": "CodeAnalysisScope" } |
658 | 660 | } |
659 | 661 | }, |
| 662 | + "CodeScanFailedEvent": { |
| 663 | + "type": "structure", |
| 664 | + "required": ["programmingLanguage", "codeScanJobId", "timestamp"], |
| 665 | + "members": { |
| 666 | + "programmingLanguage": { "shape": "ProgrammingLanguage" }, |
| 667 | + "codeScanJobId": { "shape": "CodeScanJobId" }, |
| 668 | + "timestamp": { "shape": "Timestamp" }, |
| 669 | + "codeAnalysisScope": { "shape": "CodeAnalysisScope" } |
| 670 | + } |
| 671 | + }, |
660 | 672 | "CodeScanJobId": { |
661 | 673 | "type": "string", |
662 | 674 | "max": 128, |
|
686 | 698 | "type": "string", |
687 | 699 | "enum": ["CODESCAN_ISSUE_HOVER", "CODESCAN_ISSUE_APPLY_FIX", "CODESCAN_ISSUE_VIEW_DETAILS"] |
688 | 700 | }, |
| 701 | + "CodeScanSucceededEvent": { |
| 702 | + "type": "structure", |
| 703 | + "required": ["programmingLanguage", "codeScanJobId", "timestamp", "numberOfFindings"], |
| 704 | + "members": { |
| 705 | + "programmingLanguage": { "shape": "ProgrammingLanguage" }, |
| 706 | + "codeScanJobId": { "shape": "CodeScanJobId" }, |
| 707 | + "timestamp": { "shape": "Timestamp" }, |
| 708 | + "numberOfFindings": { "shape": "PrimitiveInteger" }, |
| 709 | + "codeAnalysisScope": { "shape": "CodeAnalysisScope" } |
| 710 | + } |
| 711 | + }, |
689 | 712 | "Completion": { |
690 | 713 | "type": "structure", |
691 | 714 | "required": ["content"], |
|
909 | 932 | "numberOfAddLines": { "shape": "PrimitiveInteger" }, |
910 | 933 | "numberOfAddFiles": { "shape": "PrimitiveInteger" }, |
911 | 934 | "userDecision": { "shape": "DocGenerationUserDecision" }, |
912 | | - "interactionType": { "shape": "DocGenerationInteractionType" } |
| 935 | + "interactionType": { "shape": "DocGenerationInteractionType" }, |
| 936 | + "userIdentity": { "shape": "String" }, |
| 937 | + "numberOfNavigation": { "shape": "PrimitiveInteger" }, |
| 938 | + "folderLevel": { "shape": "DocGenerationFolderLevel" } |
913 | 939 | } |
914 | 940 | }, |
| 941 | + "DocGenerationFolderLevel": { |
| 942 | + "type": "string", |
| 943 | + "enum": ["SUB_FOLDER", "ENTIRE_WORKSPACE"] |
| 944 | + }, |
915 | 945 | "DocGenerationInteractionType": { |
916 | 946 | "type": "string", |
917 | | - "enum": ["GENERATE_README", "UPDATE_README"] |
| 947 | + "enum": ["GENERATE_README", "UPDATE_README", "EDIT_README"] |
918 | 948 | }, |
919 | 949 | "DocGenerationUserDecision": { |
920 | 950 | "type": "string", |
|
1952 | 1982 | }, |
1953 | 1983 | "SuggestionState": { |
1954 | 1984 | "type": "string", |
1955 | | - "enum": ["ACCEPT", "REJECT", "DISCARD", "EMPTY"] |
| 1985 | + "enum": ["ACCEPT", "REJECT", "DISCARD", "EMPTY", "MERGE"] |
1956 | 1986 | }, |
1957 | 1987 | "SupplementalContext": { |
1958 | 1988 | "type": "structure", |
|
2090 | 2120 | "codeCoverageEvent": { "shape": "CodeCoverageEvent" }, |
2091 | 2121 | "userModificationEvent": { "shape": "UserModificationEvent" }, |
2092 | 2122 | "codeScanEvent": { "shape": "CodeScanEvent" }, |
| 2123 | + "codeScanSucceededEvent": { "shape": "CodeScanSucceededEvent" }, |
| 2124 | + "codeScanFailedEvent": { "shape": "CodeScanFailedEvent" }, |
2093 | 2125 | "codeScanRemediationsEvent": { "shape": "CodeScanRemediationsEvent" }, |
2094 | 2126 | "codeFixGenerationEvent": { "shape": "CodeFixGenerationEvent" }, |
2095 | 2127 | "codeFixAcceptanceEvent": { "shape": "CodeFixAcceptanceEvent" }, |
|
0 commit comments