github-schema 1.47.0 → 1.48.0

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.
@@ -7674,6 +7674,31 @@ type ConvertedToDiscussionEvent implements Node {
7674
7674
  id: ID!
7675
7675
  }
7676
7676
 
7677
+ """
7678
+ The effort level for a Copilot code review. For more information, see [Review effort level](https://docs.github.com/en/copilot/concepts/agent-capabilities/agent-powered-workflows-and-operations/code-review#review-effort-level).
7679
+ """
7680
+ enum CopilotCodeReviewEffort {
7681
+ """
7682
+ Copilot picks the effort for each pull request.
7683
+ """
7684
+ AUTO
7685
+
7686
+ """
7687
+ Balanced effort and depth.
7688
+ """
7689
+ BALANCED
7690
+
7691
+ """
7692
+ Lower effort, faster review.
7693
+ """
7694
+ LITE
7695
+
7696
+ """
7697
+ Highest effort, deepest review.
7698
+ """
7699
+ MAX
7700
+ }
7701
+
7677
7702
  """
7678
7703
  Request Copilot code review for new pull requests automatically if the author
7679
7704
  has access to Copilot code review and AI credits.
@@ -7706,6 +7731,41 @@ input CopilotCodeReviewParametersInput {
7706
7731
  reviewOnPush: Boolean
7707
7732
  }
7708
7733
 
7734
+ """
7735
+ The stable reason a Copilot code review request was denied or conflicted with an existing request.
7736
+ """
7737
+ enum CopilotCodeReviewRequestReason {
7738
+ """
7739
+ The actor is not eligible to request Copilot code reviews.
7740
+ """
7741
+ ACTOR_INELIGIBLE
7742
+
7743
+ """
7744
+ The Copilot code review reviewer app is not installed.
7745
+ """
7746
+ APP_NOT_INSTALLED
7747
+
7748
+ """
7749
+ The organization providing the Copilot license is unavailable.
7750
+ """
7751
+ LICENSED_ORGANIZATION_UNAVAILABLE
7752
+
7753
+ """
7754
+ The actor has no Copilot code review quota remaining.
7755
+ """
7756
+ NO_QUOTA_REMAINING
7757
+
7758
+ """
7759
+ The repository is not eligible for Copilot code reviews.
7760
+ """
7761
+ REPOSITORY_INELIGIBLE
7762
+
7763
+ """
7764
+ A Copilot code review request is already pending for this pull request.
7765
+ """
7766
+ REQUEST_CONFLICT
7767
+ }
7768
+
7709
7769
  """
7710
7770
  Copilot endpoint information
7711
7771
  """
@@ -28626,6 +28686,22 @@ type Mutation {
28626
28686
  input: ReprioritizeSubIssueInput!
28627
28687
  ): ReprioritizeSubIssuePayload
28628
28688
 
28689
+ """
28690
+ Requests a Copilot code review.
28691
+
28692
+ Every call attempts to advance the Copilot code review lifecycle for the pull
28693
+ request: if no Copilot review has been requested yet, an initial request is created;
28694
+ if the most recent Copilot review has already completed, a new request is created
28695
+ automatically to continue the lifecycle. If a Copilot code review request is already
28696
+ pending, no new request is created and `failureReason` is `REQUEST_CONFLICT`.
28697
+ """
28698
+ requestCopilotCodeReview(
28699
+ """
28700
+ Parameters for RequestCopilotCodeReview
28701
+ """
28702
+ input: RequestCopilotCodeReviewInput!
28703
+ ): RequestCopilotCodeReviewPayload
28704
+
28629
28705
  """
28630
28706
  Set review requests on a pull request.
28631
28707
  """
@@ -53957,6 +54033,11 @@ enum RepositoryPermission {
53957
54033
  """
53958
54034
  MAINTAIN
53959
54035
 
54036
+ """
54037
+ Can read and clone this repository. Can also moderate and edit issues and manage pull requests without write access
54038
+ """
54039
+ MODERATE
54040
+
53960
54041
  """
53961
54042
  Can read and clone this repository. Can also open and comment on issues and pull requests
53962
54043
  """
@@ -53968,9 +54049,9 @@ enum RepositoryPermission {
53968
54049
  TRIAGE
53969
54050
 
53970
54051
  """
53971
- Can read and clone this repository. Can also manage issues and pull requests, plus additional triage abilities
54052
+ Can read and clone this repository. Can also moderate and edit issues and manage pull requests without write access
53972
54053
  """
53973
- TRIAGE_PLUS
54054
+ TRIAGE_PLUS @deprecated(reason: "TRIAGE_PLUS has been renamed to MODERATE. Use MODERATE instead. Removal on 2027-04-01 UTC.")
53974
54055
 
53975
54056
  """
53976
54057
  Can read, clone, and push to this repository. Can also manage issues and pull requests
@@ -55327,6 +55408,62 @@ type ReprioritizeSubIssuePayload {
55327
55408
  issue: Issue
55328
55409
  }
55329
55410
 
55411
+ """
55412
+ Autogenerated input type of RequestCopilotCodeReview
55413
+ """
55414
+ input RequestCopilotCodeReviewInput {
55415
+ """
55416
+ A unique identifier for the client performing the mutation.
55417
+ """
55418
+ clientMutationId: String
55419
+
55420
+ """
55421
+ The Node ID of the pull request to modify.
55422
+ """
55423
+ pullRequestId: ID!
55424
+
55425
+ """
55426
+ The effort level to use for the Copilot code review. Omit to use the default effort level.
55427
+ """
55428
+ reviewEffort: CopilotCodeReviewEffort
55429
+ }
55430
+
55431
+ """
55432
+ Autogenerated return type of RequestCopilotCodeReview.
55433
+ """
55434
+ type RequestCopilotCodeReviewPayload {
55435
+ """
55436
+ Identifies the actor who performed the event.
55437
+ """
55438
+ actor: Actor
55439
+
55440
+ """
55441
+ A unique identifier for the client performing the mutation.
55442
+ """
55443
+ clientMutationId: String
55444
+
55445
+ """
55446
+ The stable reason the request was denied or conflicted with an existing request. Null when the request succeeded.
55447
+ """
55448
+ failureReason: CopilotCodeReviewRequestReason
55449
+
55450
+ """
55451
+ The pull request that is getting requests.
55452
+ """
55453
+ pullRequest: PullRequest
55454
+
55455
+ """
55456
+ The Copilot code review request that was created or is already pending. Null
55457
+ when the request was denied or conflicted with an existing request.
55458
+ """
55459
+ reviewRequest: ReviewRequest
55460
+
55461
+ """
55462
+ Did the operation succeed?
55463
+ """
55464
+ success: Boolean
55465
+ }
55466
+
55330
55467
  """
55331
55468
  Autogenerated input type of RequestReviewsByLogin
55332
55469
  """
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "github-schema",
3
- "version": "1.47.0",
3
+ "version": "1.48.0",
4
4
  "description": "GitHub's GraphQL schema",
5
5
  "keywords": [
6
6
  "github",