|
624 | 624 | "acceptedCharacterCount": { "shape": "PrimitiveInteger" }, |
625 | 625 | "totalCharacterCount": { "shape": "PrimitiveInteger" }, |
626 | 626 | "timestamp": { "shape": "Timestamp" }, |
627 | | - "unmodifiedAcceptedCharacterCount": { "shape": "PrimitiveInteger" } |
| 627 | + "unmodifiedAcceptedCharacterCount": { "shape": "PrimitiveInteger" }, |
| 628 | + "totalNewCodeCharacterCount": { "shape": "PrimitiveInteger" }, |
| 629 | + "totalNewCodeLineCount": { "shape": "PrimitiveInteger" } |
628 | 630 | } |
629 | 631 | }, |
630 | 632 | "CodeFixAcceptanceEvent": { |
|
705 | 707 | "codeScanJobId": { "shape": "CodeScanJobId" }, |
706 | 708 | "timestamp": { "shape": "Timestamp" }, |
707 | 709 | "codeAnalysisScope": { "shape": "CodeAnalysisScope" } |
708 | | - } |
| 710 | + }, |
| 711 | + "documentation": "<p>Published when a security scan or code review starts</p>" |
| 712 | + }, |
| 713 | + "CodeScanFailedEvent": { |
| 714 | + "type": "structure", |
| 715 | + "required": ["programmingLanguage", "codeScanJobId", "timestamp"], |
| 716 | + "members": { |
| 717 | + "programmingLanguage": { "shape": "ProgrammingLanguage" }, |
| 718 | + "codeScanJobId": { "shape": "CodeScanJobId" }, |
| 719 | + "timestamp": { "shape": "Timestamp" }, |
| 720 | + "codeAnalysisScope": { "shape": "CodeAnalysisScope" } |
| 721 | + }, |
| 722 | + "documentation": "<p>Published when a security scan or code review fails</p>" |
709 | 723 | }, |
710 | 724 | "CodeScanJobId": { |
711 | 725 | "type": "string", |
|
738 | 752 | "documentation": "<p>Code Scan Remediations Interaction Type</p>", |
739 | 753 | "enum": ["CODESCAN_ISSUE_HOVER", "CODESCAN_ISSUE_APPLY_FIX", "CODESCAN_ISSUE_VIEW_DETAILS"] |
740 | 754 | }, |
| 755 | + "CodeScanSucceededEvent": { |
| 756 | + "type": "structure", |
| 757 | + "required": ["programmingLanguage", "codeScanJobId", "timestamp", "numberOfFindings"], |
| 758 | + "members": { |
| 759 | + "programmingLanguage": { "shape": "ProgrammingLanguage" }, |
| 760 | + "codeScanJobId": { "shape": "CodeScanJobId" }, |
| 761 | + "timestamp": { "shape": "Timestamp" }, |
| 762 | + "numberOfFindings": { "shape": "PrimitiveInteger" }, |
| 763 | + "codeAnalysisScope": { "shape": "CodeAnalysisScope" } |
| 764 | + }, |
| 765 | + "documentation": "<p>Published when a security scan or code review completes successfully</p>" |
| 766 | + }, |
741 | 767 | "Completion": { |
742 | 768 | "type": "structure", |
743 | 769 | "required": ["content"], |
|
998 | 1024 | "numberOfAddLines": { "shape": "PrimitiveInteger" }, |
999 | 1025 | "numberOfAddFiles": { "shape": "PrimitiveInteger" }, |
1000 | 1026 | "userDecision": { "shape": "DocGenerationUserDecision" }, |
1001 | | - "interactionType": { "shape": "DocGenerationInteractionType" } |
| 1027 | + "interactionType": { "shape": "DocGenerationInteractionType" }, |
| 1028 | + "userIdentity": { "shape": "String" }, |
| 1029 | + "numberOfNavigation": { "shape": "PrimitiveInteger" }, |
| 1030 | + "folderLevel": { "shape": "DocGenerationFolderLevel" } |
1002 | 1031 | } |
1003 | 1032 | }, |
| 1033 | + "DocGenerationFolderLevel": { |
| 1034 | + "type": "string", |
| 1035 | + "documentation": "<p>Doc Generation Folder Level</p>", |
| 1036 | + "enum": ["SUB_FOLDER", "ENTIRE_WORKSPACE"] |
| 1037 | + }, |
1004 | 1038 | "DocGenerationInteractionType": { |
1005 | 1039 | "type": "string", |
1006 | 1040 | "documentation": "<p>Doc Generation Interaction Type</p>", |
1007 | | - "enum": ["GENERATE_README", "UPDATE_README"] |
| 1041 | + "enum": ["GENERATE_README", "UPDATE_README", "EDIT_README"] |
1008 | 1042 | }, |
1009 | 1043 | "DocGenerationUserDecision": { |
1010 | 1044 | "type": "string", |
|
2198 | 2232 | }, |
2199 | 2233 | "SuggestionState": { |
2200 | 2234 | "type": "string", |
2201 | | - "enum": ["ACCEPT", "REJECT", "DISCARD", "EMPTY"] |
| 2235 | + "enum": ["ACCEPT", "REJECT", "DISCARD", "EMPTY", "MERGE"] |
2202 | 2236 | }, |
2203 | 2237 | "SupplementalContext": { |
2204 | 2238 | "type": "structure", |
|
2366 | 2400 | "codeCoverageEvent": { "shape": "CodeCoverageEvent" }, |
2367 | 2401 | "userModificationEvent": { "shape": "UserModificationEvent" }, |
2368 | 2402 | "codeScanEvent": { "shape": "CodeScanEvent" }, |
| 2403 | + "codeScanSucceededEvent": { "shape": "CodeScanSucceededEvent" }, |
| 2404 | + "codeScanFailedEvent": { "shape": "CodeScanFailedEvent" }, |
2369 | 2405 | "codeScanRemediationsEvent": { "shape": "CodeScanRemediationsEvent" }, |
2370 | 2406 | "codeFixGenerationEvent": { "shape": "CodeFixGenerationEvent" }, |
2371 | 2407 | "codeFixAcceptanceEvent": { "shape": "CodeFixAcceptanceEvent" }, |
|
0 commit comments