typescript-github-action-template 0.2.40 → 0.2.47

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.
@@ -1,6 +1,6 @@
1
1
  import type { DocumentTypeDecoration } from '@graphql-typed-document-node/core';
2
2
  export type Maybe<T> = T | null;
3
- export type InputMaybe<T> = Maybe<T>;
3
+ export type InputMaybe<T> = T | null | undefined;
4
4
  export type Exact<T extends {
5
5
  [key: string]: unknown;
6
6
  }> = {
@@ -55,6 +55,15 @@ export type Scalars = {
55
55
  input: any;
56
56
  output: any;
57
57
  };
58
+ /**
59
+ * A custom property value can be either a string or an array of strings. All
60
+ * property types support only a single string value, except for the multi-select
61
+ * type, which supports only a string array.
62
+ */
63
+ CustomPropertyValue: {
64
+ input: any;
65
+ output: any;
66
+ };
58
67
  /** An ISO-8601 encoded date string. */
59
68
  Date: {
60
69
  input: any;
@@ -278,6 +287,8 @@ export type ActorType =
278
287
  | 'USER';
279
288
  /** Autogenerated input type of AddAssigneesToAssignable */
280
289
  export type AddAssigneesToAssignableInput = {
290
+ /** Configuration for assigning Copilot to this issue. */
291
+ agentAssignment?: InputMaybe<AgentAssignmentInput>;
281
292
  /** The id of the assignable object to add assignees to. */
282
293
  assignableId: Scalars['ID']['input'];
283
294
  /** The ids of actors (users or bots) to add as assignees. */
@@ -813,6 +824,17 @@ export type AddedToProjectV2Event = Node & ProjectV2Event & {
813
824
  /** Did this event result from workflow automation? */
814
825
  wasAutomated: Scalars['Boolean']['output'];
815
826
  };
827
+ /** Represents configuration for assigning Copilot to an issue (public variant) */
828
+ export type AgentAssignmentInput = {
829
+ /** The base ref/branch for the repository. Defaults to the default branch if not provided. */
830
+ baseRef?: InputMaybe<Scalars['String']['input']>;
831
+ /** Custom agent for Copilot. */
832
+ customAgent?: InputMaybe<Scalars['String']['input']>;
833
+ /** Custom instructions for Copilot. */
834
+ customInstructions?: InputMaybe<Scalars['String']['input']>;
835
+ /** The Node ID of the target repository where Copilot should work. Defaults to the issue's repository if not provided. */
836
+ targetRepositoryId?: InputMaybe<Scalars['ID']['input']>;
837
+ };
816
838
  /** Copilot Agentic fields in context of the current viewer. */
817
839
  export type Agentic = {
818
840
  /** Channel value for subscribing to live updates for session creations. */
@@ -1386,7 +1408,7 @@ export type BranchActorAllowanceActor = App | Team | User;
1386
1408
  /** Parameters to be used for the branch_name_pattern rule */
1387
1409
  export type BranchNamePatternParameters = {
1388
1410
  __typename: 'BranchNamePatternParameters';
1389
- /** How this rule will appear to users. */
1411
+ /** How this rule appears when configuring it. */
1390
1412
  name?: Maybe<Scalars['String']['output']>;
1391
1413
  /** If true, the rule will fail if the pattern matches. */
1392
1414
  negate: Scalars['Boolean']['output'];
@@ -1397,7 +1419,7 @@ export type BranchNamePatternParameters = {
1397
1419
  };
1398
1420
  /** Parameters to be used for the branch_name_pattern rule */
1399
1421
  export type BranchNamePatternParametersInput = {
1400
- /** How this rule will appear to users. */
1422
+ /** How this rule appears when configuring it. */
1401
1423
  name?: InputMaybe<Scalars['String']['input']>;
1402
1424
  /** If true, the rule will fail if the pattern matches. */
1403
1425
  negate?: InputMaybe<Scalars['Boolean']['input']>;
@@ -2752,7 +2774,7 @@ export type CommitAuthor = {
2752
2774
  /** Parameters to be used for the commit_author_email_pattern rule */
2753
2775
  export type CommitAuthorEmailPatternParameters = {
2754
2776
  __typename: 'CommitAuthorEmailPatternParameters';
2755
- /** How this rule will appear to users. */
2777
+ /** How this rule appears when configuring it. */
2756
2778
  name?: Maybe<Scalars['String']['output']>;
2757
2779
  /** If true, the rule will fail if the pattern matches. */
2758
2780
  negate: Scalars['Boolean']['output'];
@@ -2763,7 +2785,7 @@ export type CommitAuthorEmailPatternParameters = {
2763
2785
  };
2764
2786
  /** Parameters to be used for the commit_author_email_pattern rule */
2765
2787
  export type CommitAuthorEmailPatternParametersInput = {
2766
- /** How this rule will appear to users. */
2788
+ /** How this rule appears when configuring it. */
2767
2789
  name?: InputMaybe<Scalars['String']['input']>;
2768
2790
  /** If true, the rule will fail if the pattern matches. */
2769
2791
  negate?: InputMaybe<Scalars['Boolean']['input']>;
@@ -2978,7 +3000,7 @@ export type CommitMessage = {
2978
3000
  /** Parameters to be used for the commit_message_pattern rule */
2979
3001
  export type CommitMessagePatternParameters = {
2980
3002
  __typename: 'CommitMessagePatternParameters';
2981
- /** How this rule will appear to users. */
3003
+ /** How this rule appears when configuring it. */
2982
3004
  name?: Maybe<Scalars['String']['output']>;
2983
3005
  /** If true, the rule will fail if the pattern matches. */
2984
3006
  negate: Scalars['Boolean']['output'];
@@ -2989,7 +3011,7 @@ export type CommitMessagePatternParameters = {
2989
3011
  };
2990
3012
  /** Parameters to be used for the commit_message_pattern rule */
2991
3013
  export type CommitMessagePatternParametersInput = {
2992
- /** How this rule will appear to users. */
3014
+ /** How this rule appears when configuring it. */
2993
3015
  name?: InputMaybe<Scalars['String']['input']>;
2994
3016
  /** If true, the rule will fail if the pattern matches. */
2995
3017
  negate?: InputMaybe<Scalars['Boolean']['input']>;
@@ -3032,7 +3054,7 @@ export type CommittableBranch = {
3032
3054
  /** Parameters to be used for the committer_email_pattern rule */
3033
3055
  export type CommitterEmailPatternParameters = {
3034
3056
  __typename: 'CommitterEmailPatternParameters';
3035
- /** How this rule will appear to users. */
3057
+ /** How this rule appears when configuring it. */
3036
3058
  name?: Maybe<Scalars['String']['output']>;
3037
3059
  /** If true, the rule will fail if the pattern matches. */
3038
3060
  negate: Scalars['Boolean']['output'];
@@ -3043,7 +3065,7 @@ export type CommitterEmailPatternParameters = {
3043
3065
  };
3044
3066
  /** Parameters to be used for the committer_email_pattern rule */
3045
3067
  export type CommitterEmailPatternParametersInput = {
3046
- /** How this rule will appear to users. */
3068
+ /** How this rule appears when configuring it. */
3047
3069
  name?: InputMaybe<Scalars['String']['input']>;
3048
3070
  /** If true, the rule will fail if the pattern matches. */
3049
3071
  negate?: InputMaybe<Scalars['Boolean']['input']>;
@@ -3580,7 +3602,11 @@ export type ConvertedToDiscussionEvent = Node & {
3580
3602
  /** The Node ID of the ConvertedToDiscussionEvent object */
3581
3603
  id: Scalars['ID']['output'];
3582
3604
  };
3583
- /** Request Copilot code review for new pull requests automatically if the author has access to Copilot code review. */
3605
+ /**
3606
+ * Request Copilot code review for new pull requests automatically if the author
3607
+ * has access to Copilot code review and their premium requests quota has not
3608
+ * reached the limit.
3609
+ */
3584
3610
  export type CopilotCodeReviewParameters = {
3585
3611
  __typename: 'CopilotCodeReviewParameters';
3586
3612
  /** Copilot automatically reviews draft pull requests before they are marked as ready for review. */
@@ -3588,7 +3614,11 @@ export type CopilotCodeReviewParameters = {
3588
3614
  /** Copilot automatically reviews each new push to the pull request. */
3589
3615
  reviewOnPush: Scalars['Boolean']['output'];
3590
3616
  };
3591
- /** Request Copilot code review for new pull requests automatically if the author has access to Copilot code review. */
3617
+ /**
3618
+ * Request Copilot code review for new pull requests automatically if the author
3619
+ * has access to Copilot code review and their premium requests quota has not
3620
+ * reached the limit.
3621
+ */
3592
3622
  export type CopilotCodeReviewParametersInput = {
3593
3623
  /** Copilot automatically reviews draft pull requests before they are marked as ready for review. */
3594
3624
  reviewDraftPullRequests?: InputMaybe<Scalars['Boolean']['input']>;
@@ -3953,6 +3983,8 @@ export type CreateIpAllowListEntryPayload = {
3953
3983
  };
3954
3984
  /** Autogenerated input type of CreateIssue */
3955
3985
  export type CreateIssueInput = {
3986
+ /** Configuration for assigning Copilot to this issue. */
3987
+ agentAssignment?: InputMaybe<AgentAssignmentInput>;
3956
3988
  /** The Node ID of assignees for this issue. */
3957
3989
  assigneeIds?: InputMaybe<Array<Scalars['ID']['input']>>;
3958
3990
  /** The body for the issue description. */
@@ -4223,6 +4255,37 @@ export type CreateRefPayload = {
4223
4255
  /** The newly created ref. */
4224
4256
  ref?: Maybe<Ref>;
4225
4257
  };
4258
+ /** Autogenerated input type of CreateRepositoryCustomProperty */
4259
+ export type CreateRepositoryCustomPropertyInput = {
4260
+ /** The allowed values for the custom property. */
4261
+ allowedValues?: InputMaybe<Array<Scalars['String']['input']>>;
4262
+ /** A unique identifier for the client performing the mutation. */
4263
+ clientMutationId?: InputMaybe<Scalars['String']['input']>;
4264
+ /** The default value for the custom property if the property is required. */
4265
+ defaultValue?: InputMaybe<Scalars['String']['input']>;
4266
+ /** The description of the custom property. */
4267
+ description?: InputMaybe<Scalars['String']['input']>;
4268
+ /** The name of the custom property. */
4269
+ propertyName: Scalars['String']['input'];
4270
+ /** The regex pattern that the value of the custom property must match, if the `value_type` is `string`. */
4271
+ regex?: InputMaybe<Scalars['String']['input']>;
4272
+ /** Whether the custom property is required. */
4273
+ required?: InputMaybe<Scalars['Boolean']['input']>;
4274
+ /** The global relay id of the source in which a new custom property should be created in. */
4275
+ sourceId: Scalars['ID']['input'];
4276
+ /** The value type for the custom property. */
4277
+ valueType: CustomPropertyValueType;
4278
+ /** The allowed actors who can edit the values of a custom property. */
4279
+ valuesEditableBy?: InputMaybe<RepositoryCustomPropertyValuesEditableBy>;
4280
+ };
4281
+ /** Autogenerated return type of CreateRepositoryCustomProperty. */
4282
+ export type CreateRepositoryCustomPropertyPayload = {
4283
+ __typename: 'CreateRepositoryCustomPropertyPayload';
4284
+ /** A unique identifier for the client performing the mutation. */
4285
+ clientMutationId?: Maybe<Scalars['String']['output']>;
4286
+ /** The newly created repository custom property. */
4287
+ repositoryCustomProperty?: Maybe<RepositoryCustomProperty>;
4288
+ };
4226
4289
  /** Autogenerated input type of CreateRepository */
4227
4290
  export type CreateRepositoryInput = {
4228
4291
  /** A unique identifier for the client performing the mutation. */
@@ -4469,100 +4532,6 @@ export type CreateSponsorshipsPayload = {
4469
4532
  /** The users and organizations who received a sponsorship. */
4470
4533
  sponsorables?: Maybe<Array<Sponsorable>>;
4471
4534
  };
4472
- /** Autogenerated input type of CreateTeamDiscussionComment */
4473
- export type CreateTeamDiscussionCommentInput = {
4474
- /**
4475
- * The content of the comment. This field is required.
4476
- *
4477
- * **Upcoming Change on 2024-07-01 UTC**
4478
- * **Description:** `body` will be removed. Follow the guide at
4479
- * https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to
4480
- * find a suitable replacement.
4481
- * **Reason:** The Team Discussions feature is deprecated in favor of Organization Discussions.
4482
- */
4483
- body?: InputMaybe<Scalars['String']['input']>;
4484
- /** A unique identifier for the client performing the mutation. */
4485
- clientMutationId?: InputMaybe<Scalars['String']['input']>;
4486
- /**
4487
- * The ID of the discussion to which the comment belongs. This field is required.
4488
- *
4489
- * **Upcoming Change on 2024-07-01 UTC**
4490
- * **Description:** `discussionId` will be removed. Follow the guide at
4491
- * https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to
4492
- * find a suitable replacement.
4493
- * **Reason:** The Team Discussions feature is deprecated in favor of Organization Discussions.
4494
- */
4495
- discussionId?: InputMaybe<Scalars['ID']['input']>;
4496
- };
4497
- /** Autogenerated return type of CreateTeamDiscussionComment. */
4498
- export type CreateTeamDiscussionCommentPayload = {
4499
- __typename: 'CreateTeamDiscussionCommentPayload';
4500
- /** A unique identifier for the client performing the mutation. */
4501
- clientMutationId?: Maybe<Scalars['String']['output']>;
4502
- /**
4503
- * The new comment.
4504
- * @deprecated The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.
4505
- */
4506
- teamDiscussionComment?: Maybe<TeamDiscussionComment>;
4507
- };
4508
- /** Autogenerated input type of CreateTeamDiscussion */
4509
- export type CreateTeamDiscussionInput = {
4510
- /**
4511
- * The content of the discussion. This field is required.
4512
- *
4513
- * **Upcoming Change on 2024-07-01 UTC**
4514
- * **Description:** `body` will be removed. Follow the guide at
4515
- * https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to
4516
- * find a suitable replacement.
4517
- * **Reason:** The Team Discussions feature is deprecated in favor of Organization Discussions.
4518
- */
4519
- body?: InputMaybe<Scalars['String']['input']>;
4520
- /** A unique identifier for the client performing the mutation. */
4521
- clientMutationId?: InputMaybe<Scalars['String']['input']>;
4522
- /**
4523
- * If true, restricts the visibility of this discussion to team members and
4524
- * organization owners. If false or not specified, allows any organization member
4525
- * to view this discussion.
4526
- *
4527
- * **Upcoming Change on 2024-07-01 UTC**
4528
- * **Description:** `private` will be removed. Follow the guide at
4529
- * https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to
4530
- * find a suitable replacement.
4531
- * **Reason:** The Team Discussions feature is deprecated in favor of Organization Discussions.
4532
- */
4533
- private?: InputMaybe<Scalars['Boolean']['input']>;
4534
- /**
4535
- * The ID of the team to which the discussion belongs. This field is required.
4536
- *
4537
- * **Upcoming Change on 2024-07-01 UTC**
4538
- * **Description:** `teamId` will be removed. Follow the guide at
4539
- * https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to
4540
- * find a suitable replacement.
4541
- * **Reason:** The Team Discussions feature is deprecated in favor of Organization Discussions.
4542
- */
4543
- teamId?: InputMaybe<Scalars['ID']['input']>;
4544
- /**
4545
- * The title of the discussion. This field is required.
4546
- *
4547
- * **Upcoming Change on 2024-07-01 UTC**
4548
- * **Description:** `title` will be removed. Follow the guide at
4549
- * https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to
4550
- * find a suitable replacement.
4551
- * **Reason:** The Team Discussions feature is deprecated in favor of Organization Discussions.
4552
- */
4553
- title?: InputMaybe<Scalars['String']['input']>;
4554
- };
4555
- /** Autogenerated return type of CreateTeamDiscussion. */
4556
- export type CreateTeamDiscussionPayload = {
4557
- __typename: 'CreateTeamDiscussionPayload';
4558
- /** A unique identifier for the client performing the mutation. */
4559
- clientMutationId?: Maybe<Scalars['String']['output']>;
4560
- /**
4561
- * The new discussion.
4562
- * @deprecated The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.
4563
- */
4564
- teamDiscussion?: Maybe<TeamDiscussion>;
4565
- };
4566
4535
  /** Autogenerated input type of CreateUserList */
4567
4536
  export type CreateUserListInput = {
4568
4537
  /** A unique identifier for the client performing the mutation. */
@@ -4820,6 +4789,30 @@ export type CrossReferencedEvent = Node & UniformResourceLocatable & {
4820
4789
  /** Checks if the target will be closed when the source is merged. */
4821
4790
  willCloseTarget: Scalars['Boolean']['output'];
4822
4791
  };
4792
+ /** Sources which can have custom properties defined. */
4793
+ export type CustomPropertySource = Enterprise | Organization;
4794
+ /** The custom property name and value to be set. */
4795
+ export type CustomPropertyValueInput = {
4796
+ /** The name of the custom property. */
4797
+ propertyName: Scalars['String']['input'];
4798
+ /**
4799
+ * The value to set for the custom property. Using a value of null will unset the
4800
+ * property value, reverting to the default value if the property is required.
4801
+ */
4802
+ value?: InputMaybe<Scalars['CustomPropertyValue']['input']>;
4803
+ };
4804
+ /** The allowed value types for a custom property definition. */
4805
+ export type CustomPropertyValueType =
4806
+ /** A multi-select value. */
4807
+ 'MULTI_SELECT'
4808
+ /** A single-select value. */
4809
+ | 'SINGLE_SELECT'
4810
+ /** A string value. */
4811
+ | 'STRING'
4812
+ /** A true/false value. */
4813
+ | 'TRUE_FALSE'
4814
+ /** A URL value. */
4815
+ | 'URL';
4823
4816
  /** The Common Vulnerability Scoring System */
4824
4817
  export type CvssSeverities = {
4825
4818
  __typename: 'CvssSeverities';
@@ -5228,42 +5221,31 @@ export type DeleteRefPayload = {
5228
5221
  /** A unique identifier for the client performing the mutation. */
5229
5222
  clientMutationId?: Maybe<Scalars['String']['output']>;
5230
5223
  };
5231
- /** Autogenerated input type of DeleteRepositoryRuleset */
5232
- export type DeleteRepositoryRulesetInput = {
5233
- /** A unique identifier for the client performing the mutation. */
5234
- clientMutationId?: InputMaybe<Scalars['String']['input']>;
5235
- /** The global relay id of the repository ruleset to be deleted. */
5236
- repositoryRulesetId: Scalars['ID']['input'];
5237
- };
5238
- /** Autogenerated return type of DeleteRepositoryRuleset. */
5239
- export type DeleteRepositoryRulesetPayload = {
5240
- __typename: 'DeleteRepositoryRulesetPayload';
5241
- /** A unique identifier for the client performing the mutation. */
5242
- clientMutationId?: Maybe<Scalars['String']['output']>;
5243
- };
5244
- /** Autogenerated input type of DeleteTeamDiscussionComment */
5245
- export type DeleteTeamDiscussionCommentInput = {
5224
+ /** Autogenerated input type of DeleteRepositoryCustomProperty */
5225
+ export type DeleteRepositoryCustomPropertyInput = {
5246
5226
  /** A unique identifier for the client performing the mutation. */
5247
5227
  clientMutationId?: InputMaybe<Scalars['String']['input']>;
5248
- /** The ID of the comment to delete. */
5228
+ /** The global relay id of the custom property to be deleted. */
5249
5229
  id: Scalars['ID']['input'];
5250
5230
  };
5251
- /** Autogenerated return type of DeleteTeamDiscussionComment. */
5252
- export type DeleteTeamDiscussionCommentPayload = {
5253
- __typename: 'DeleteTeamDiscussionCommentPayload';
5231
+ /** Autogenerated return type of DeleteRepositoryCustomProperty. */
5232
+ export type DeleteRepositoryCustomPropertyPayload = {
5233
+ __typename: 'DeleteRepositoryCustomPropertyPayload';
5254
5234
  /** A unique identifier for the client performing the mutation. */
5255
5235
  clientMutationId?: Maybe<Scalars['String']['output']>;
5236
+ /** The deleted custom property. */
5237
+ repositoryCustomProperty?: Maybe<RepositoryCustomProperty>;
5256
5238
  };
5257
- /** Autogenerated input type of DeleteTeamDiscussion */
5258
- export type DeleteTeamDiscussionInput = {
5239
+ /** Autogenerated input type of DeleteRepositoryRuleset */
5240
+ export type DeleteRepositoryRulesetInput = {
5259
5241
  /** A unique identifier for the client performing the mutation. */
5260
5242
  clientMutationId?: InputMaybe<Scalars['String']['input']>;
5261
- /** The discussion ID to delete. */
5262
- id: Scalars['ID']['input'];
5243
+ /** The global relay id of the repository ruleset to be deleted. */
5244
+ repositoryRulesetId: Scalars['ID']['input'];
5263
5245
  };
5264
- /** Autogenerated return type of DeleteTeamDiscussion. */
5265
- export type DeleteTeamDiscussionPayload = {
5266
- __typename: 'DeleteTeamDiscussionPayload';
5246
+ /** Autogenerated return type of DeleteRepositoryRuleset. */
5247
+ export type DeleteRepositoryRulesetPayload = {
5248
+ __typename: 'DeleteRepositoryRulesetPayload';
5267
5249
  /** A unique identifier for the client performing the mutation. */
5268
5250
  clientMutationId?: Maybe<Scalars['String']['output']>;
5269
5251
  };
@@ -6547,6 +6529,10 @@ export type Enterprise = Node & {
6547
6529
  readme?: Maybe<Scalars['String']['output']>;
6548
6530
  /** The content of the enterprise README as HTML. */
6549
6531
  readmeHTML: Scalars['HTML']['output'];
6532
+ /** A list of repository custom properties for this enterprise. */
6533
+ repositoryCustomProperties?: Maybe<RepositoryCustomPropertyConnection>;
6534
+ /** Returns a single repository custom property for the current enterprise by name. */
6535
+ repositoryCustomProperty?: Maybe<RepositoryCustomProperty>;
6550
6536
  /** The HTTP path for this enterprise. */
6551
6537
  resourcePath: Scalars['URI']['output'];
6552
6538
  /** Returns a single ruleset from the current enterprise by ID. */
@@ -6597,6 +6583,17 @@ export type EnterpriseOrganizationsArgs = {
6597
6583
  viewerOrganizationRole?: InputMaybe<RoleInOrganization>;
6598
6584
  };
6599
6585
  /** An account to manage multiple organizations with consolidated policy and billing. */
6586
+ export type EnterpriseRepositoryCustomPropertiesArgs = {
6587
+ after?: InputMaybe<Scalars['String']['input']>;
6588
+ before?: InputMaybe<Scalars['String']['input']>;
6589
+ first?: InputMaybe<Scalars['Int']['input']>;
6590
+ last?: InputMaybe<Scalars['Int']['input']>;
6591
+ };
6592
+ /** An account to manage multiple organizations with consolidated policy and billing. */
6593
+ export type EnterpriseRepositoryCustomPropertyArgs = {
6594
+ propertyName: Scalars['String']['input'];
6595
+ };
6596
+ /** An account to manage multiple organizations with consolidated policy and billing. */
6600
6597
  export type EnterpriseRulesetArgs = {
6601
6598
  databaseId: Scalars['Int']['input'];
6602
6599
  };
@@ -7070,6 +7067,8 @@ export type EnterpriseOwnerInfo = {
7070
7067
  ipAllowListEntries: IpAllowListEntryConnection;
7071
7068
  /** The setting value for whether the enterprise has IP allow list configuration for installed GitHub Apps enabled. */
7072
7069
  ipAllowListForInstalledAppsEnabledSetting: IpAllowListForInstalledAppsEnabledSettingValue;
7070
+ /** The setting value for whether the enterprise has IP allow list user-level enforcement enabled. */
7071
+ ipAllowListUserLevelEnforcementEnabledSetting: IpAllowListUserLevelEnforcementEnabledSettingValue;
7073
7072
  /** Whether or not the base repository permission is currently being updated. */
7074
7073
  isUpdatingDefaultRepositoryPermission: Scalars['Boolean']['output'];
7075
7074
  /** Whether the two-factor authentication requirement is currently being enforced. */
@@ -7145,10 +7144,11 @@ export type EnterpriseOwnerInfo = {
7145
7144
  samlIdentityProviderSettingOrganizations: OrganizationConnection;
7146
7145
  /** A list of members with a support entitlement. */
7147
7146
  supportEntitlements: EnterpriseMemberConnection;
7148
- /** The setting value for whether team discussions are enabled for organizations in this enterprise. */
7147
+ /**
7148
+ * The setting value for whether team discussions are enabled for organizations in this enterprise.
7149
+ * @deprecated The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.
7150
+ */
7149
7151
  teamDiscussionsSetting: EnterpriseEnabledDisabledSettingValue;
7150
- /** A list of enterprise organizations configured with the provided team discussions setting value. */
7151
- teamDiscussionsSettingOrganizations: OrganizationConnection;
7152
7152
  /** The setting value for what methods of two-factor authentication the enterprise prevents its users from having. */
7153
7153
  twoFactorDisallowedMethodsSetting: EnterpriseDisallowedMethodsSettingValue;
7154
7154
  /** The setting value for whether the enterprise requires two-factor authentication for its organizations and users. */
@@ -7463,18 +7463,6 @@ export type EnterpriseOwnerInfoSupportEntitlementsArgs = {
7463
7463
  last?: InputMaybe<Scalars['Int']['input']>;
7464
7464
  orderBy?: InputMaybe<EnterpriseMemberOrder>;
7465
7465
  };
7466
- /**
7467
- * Enterprise information visible to enterprise owners or enterprise owners'
7468
- * personal access tokens (classic) with read:enterprise or admin:enterprise scope.
7469
- */
7470
- export type EnterpriseOwnerInfoTeamDiscussionsSettingOrganizationsArgs = {
7471
- after?: InputMaybe<Scalars['String']['input']>;
7472
- before?: InputMaybe<Scalars['String']['input']>;
7473
- first?: InputMaybe<Scalars['Int']['input']>;
7474
- last?: InputMaybe<Scalars['Int']['input']>;
7475
- orderBy?: InputMaybe<OrganizationOrder>;
7476
- value: Scalars['Boolean']['input'];
7477
- };
7478
7466
  /**
7479
7467
  * Enterprise information visible to enterprise owners or enterprise owners'
7480
7468
  * personal access tokens (classic) with read:enterprise or admin:enterprise scope.
@@ -8902,6 +8890,12 @@ export type IpAllowListForInstalledAppsEnabledSettingValue =
8902
8890
  | 'ENABLED';
8903
8891
  /** Types that can own an IP allow list. */
8904
8892
  export type IpAllowListOwner = App | Enterprise | Organization;
8893
+ /** The possible values for the IP allow list user-level enforcement enabled setting. */
8894
+ export type IpAllowListUserLevelEnforcementEnabledSettingValue =
8895
+ /** The setting is disabled for the owner. */
8896
+ 'DISABLED'
8897
+ /** The setting is enabled for the owner. */
8898
+ | 'ENABLED';
8905
8899
  /** An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project. */
8906
8900
  export type Issue = Assignable & Closable & Comment & Deletable & Labelable & Lockable & Node & ProjectV2Owner & Reactable & RepositoryNode & Subscribable & SubscribableThread & UniformResourceLocatable & Updatable & UpdatableComment & {
8907
8901
  __typename: 'Issue';
@@ -8985,7 +8979,7 @@ export type Issue = Assignable & Closable & Comment & Deletable & Labelable & Lo
8985
8979
  */
8986
8980
  projectCards: ProjectCardConnection;
8987
8981
  /** List of project items associated with this issue. */
8988
- projectItems: ProjectV2ItemConnection;
8982
+ projectItems?: Maybe<ProjectV2ItemConnection>;
8989
8983
  /** Find a project by number. */
8990
8984
  projectV2?: Maybe<ProjectV2>;
8991
8985
  /** A list of projects under the owner. */
@@ -9614,6 +9608,12 @@ export type IssueTimelineItemsItemType =
9614
9608
  | 'DISCONNECTED_EVENT'
9615
9609
  /** Represents a comment on an Issue. */
9616
9610
  | 'ISSUE_COMMENT'
9611
+ /** Represents a 'issue_field_added' event on a given issue. */
9612
+ | 'ISSUE_FIELD_ADDED_EVENT'
9613
+ /** Represents a 'issue_field_changed' event on a given issue. */
9614
+ | 'ISSUE_FIELD_CHANGED_EVENT'
9615
+ /** Represents a 'issue_field_removed' event on a given issue. */
9616
+ | 'ISSUE_FIELD_REMOVED_EVENT'
9617
9617
  /** Represents a 'issue_type_added' event on a given issue. */
9618
9618
  | 'ISSUE_TYPE_ADDED_EVENT'
9619
9619
  /** Represents a 'issue_type_changed' event on a given issue. */
@@ -11630,6 +11630,8 @@ export type Mutation = {
11630
11630
  createRef?: Maybe<CreateRefPayload>;
11631
11631
  /** Create a new repository. */
11632
11632
  createRepository?: Maybe<CreateRepositoryPayload>;
11633
+ /** Create a repository custom property. */
11634
+ createRepositoryCustomProperty?: Maybe<CreateRepositoryCustomPropertyPayload>;
11633
11635
  /** Create a repository ruleset */
11634
11636
  createRepositoryRuleset?: Maybe<CreateRepositoryRulesetPayload>;
11635
11637
  /** Create a GitHub Sponsors profile to allow others to sponsor you or your organization. */
@@ -11643,10 +11645,6 @@ export type Mutation = {
11643
11645
  * once. Can only sponsor those who have a public GitHub Sponsors profile.
11644
11646
  */
11645
11647
  createSponsorships?: Maybe<CreateSponsorshipsPayload>;
11646
- /** Creates a new team discussion. */
11647
- createTeamDiscussion?: Maybe<CreateTeamDiscussionPayload>;
11648
- /** Creates a new team discussion comment. */
11649
- createTeamDiscussionComment?: Maybe<CreateTeamDiscussionCommentPayload>;
11650
11648
  /** Creates a new user list. */
11651
11649
  createUserList?: Maybe<CreateUserListPayload>;
11652
11650
  /** Rejects a suggested topic for the repository. */
@@ -11706,12 +11704,10 @@ export type Mutation = {
11706
11704
  deletePullRequestReviewComment?: Maybe<DeletePullRequestReviewCommentPayload>;
11707
11705
  /** Delete a Git Ref. */
11708
11706
  deleteRef?: Maybe<DeleteRefPayload>;
11707
+ /** Delete a repository custom property. */
11708
+ deleteRepositoryCustomProperty?: Maybe<DeleteRepositoryCustomPropertyPayload>;
11709
11709
  /** Delete a repository ruleset */
11710
11710
  deleteRepositoryRuleset?: Maybe<DeleteRepositoryRulesetPayload>;
11711
- /** Deletes a team discussion. */
11712
- deleteTeamDiscussion?: Maybe<DeleteTeamDiscussionPayload>;
11713
- /** Deletes a team discussion comment. */
11714
- deleteTeamDiscussionComment?: Maybe<DeleteTeamDiscussionCommentPayload>;
11715
11711
  /** Deletes a user list. */
11716
11712
  deleteUserList?: Maybe<DeleteUserListPayload>;
11717
11713
  /** Deletes a verifiable domain. */
@@ -11784,6 +11780,8 @@ export type Mutation = {
11784
11780
  pinEnvironment?: Maybe<PinEnvironmentPayload>;
11785
11781
  /** Pin an issue to a repository */
11786
11782
  pinIssue?: Maybe<PinIssuePayload>;
11783
+ /** Promote a repository custom property to the enterprise level. */
11784
+ promoteRepositoryCustomProperty?: Maybe<PromoteRepositoryCustomPropertyPayload>;
11787
11785
  /** Publish an existing sponsorship tier that is currently still a draft to a GitHub Sponsors profile. */
11788
11786
  publishSponsorsTier?: Maybe<PublishSponsorsTierPayload>;
11789
11787
  /** Regenerates the identity provider recovery codes for an enterprise */
@@ -11835,6 +11833,8 @@ export type Mutation = {
11835
11833
  reprioritizeSubIssue?: Maybe<ReprioritizeSubIssuePayload>;
11836
11834
  /** Set review requests on a pull request. */
11837
11835
  requestReviews?: Maybe<RequestReviewsPayload>;
11836
+ /** Set review requests on a pull request using login strings instead of IDs. */
11837
+ requestReviewsByLogin?: Maybe<RequestReviewsByLoginPayload>;
11838
11838
  /** Rerequests an existing check suite. */
11839
11839
  rerequestCheckSuite?: Maybe<RerequestCheckSuitePayload>;
11840
11840
  /** Marks a review thread as resolved. */
@@ -11851,6 +11851,8 @@ export type Mutation = {
11851
11851
  setEnterpriseIdentityProvider?: Maybe<SetEnterpriseIdentityProviderPayload>;
11852
11852
  /** Set an organization level interaction limit for an organization's public repositories. */
11853
11853
  setOrganizationInteractionLimit?: Maybe<SetOrganizationInteractionLimitPayload>;
11854
+ /** Set repository custom property values for a repository. */
11855
+ setRepositoryCustomPropertyValues?: Maybe<SetRepositoryCustomPropertyValuesPayload>;
11854
11856
  /** Sets an interaction limit setting for a repository. */
11855
11857
  setRepositoryInteractionLimit?: Maybe<SetRepositoryInteractionLimitPayload>;
11856
11858
  /** Set a user level interaction limit for an user's public repositories. */
@@ -11940,8 +11942,6 @@ export type Mutation = {
11940
11942
  updateEnterpriseProfile?: Maybe<UpdateEnterpriseProfilePayload>;
11941
11943
  /** Sets whether repository projects are enabled for a enterprise. */
11942
11944
  updateEnterpriseRepositoryProjectsSetting?: Maybe<UpdateEnterpriseRepositoryProjectsSettingPayload>;
11943
- /** Sets whether team discussions are enabled for an enterprise. */
11944
- updateEnterpriseTeamDiscussionsSetting?: Maybe<UpdateEnterpriseTeamDiscussionsSettingPayload>;
11945
11945
  /** Sets the two-factor authentication methods that users of an enterprise may not use. */
11946
11946
  updateEnterpriseTwoFactorAuthenticationDisallowedMethodsSetting?: Maybe<UpdateEnterpriseTwoFactorAuthenticationDisallowedMethodsSettingPayload>;
11947
11947
  /** Sets whether two factor authentication is required for all users in an enterprise. */
@@ -11954,6 +11954,8 @@ export type Mutation = {
11954
11954
  updateIpAllowListEntry?: Maybe<UpdateIpAllowListEntryPayload>;
11955
11955
  /** Sets whether IP allow list configuration for installed GitHub Apps is enabled on an owner. */
11956
11956
  updateIpAllowListForInstalledAppsEnabledSetting?: Maybe<UpdateIpAllowListForInstalledAppsEnabledSettingPayload>;
11957
+ /** Sets whether IP allow list user-level enforcement is enabled on an enterprise. */
11958
+ updateIpAllowListUserLevelEnforcementEnabledSetting?: Maybe<UpdateIpAllowListUserLevelEnforcementEnabledSettingPayload>;
11957
11959
  /** Updates an Issue. */
11958
11960
  updateIssue?: Maybe<UpdateIssuePayload>;
11959
11961
  /** Updates an IssueComment object. */
@@ -12042,6 +12044,8 @@ export type Mutation = {
12042
12044
  updateRefs?: Maybe<UpdateRefsPayload>;
12043
12045
  /** Update information about a repository. */
12044
12046
  updateRepository?: Maybe<UpdateRepositoryPayload>;
12047
+ /** Update a repository custom property. */
12048
+ updateRepositoryCustomProperty?: Maybe<UpdateRepositoryCustomPropertyPayload>;
12045
12049
  /** Update a repository ruleset */
12046
12050
  updateRepositoryRuleset?: Maybe<UpdateRepositoryRulesetPayload>;
12047
12051
  /** Sets whether contributors are required to sign off on web-based commits for a repository. */
@@ -12050,10 +12054,6 @@ export type Mutation = {
12050
12054
  updateSponsorshipPreferences?: Maybe<UpdateSponsorshipPreferencesPayload>;
12051
12055
  /** Updates the state for subscribable subjects. */
12052
12056
  updateSubscription?: Maybe<UpdateSubscriptionPayload>;
12053
- /** Updates a team discussion. */
12054
- updateTeamDiscussion?: Maybe<UpdateTeamDiscussionPayload>;
12055
- /** Updates a discussion comment. */
12056
- updateTeamDiscussionComment?: Maybe<UpdateTeamDiscussionCommentPayload>;
12057
12057
  /** Updates team review assignment. */
12058
12058
  updateTeamReviewAssignment?: Maybe<UpdateTeamReviewAssignmentPayload>;
12059
12059
  /** Update team repository. */
@@ -12344,6 +12344,10 @@ export type MutationCreateRepositoryArgs = {
12344
12344
  input: CreateRepositoryInput;
12345
12345
  };
12346
12346
  /** The root query for implementing GraphQL mutations. */
12347
+ export type MutationCreateRepositoryCustomPropertyArgs = {
12348
+ input: CreateRepositoryCustomPropertyInput;
12349
+ };
12350
+ /** The root query for implementing GraphQL mutations. */
12347
12351
  export type MutationCreateRepositoryRulesetArgs = {
12348
12352
  input: CreateRepositoryRulesetInput;
12349
12353
  };
@@ -12364,14 +12368,6 @@ export type MutationCreateSponsorshipsArgs = {
12364
12368
  input: CreateSponsorshipsInput;
12365
12369
  };
12366
12370
  /** The root query for implementing GraphQL mutations. */
12367
- export type MutationCreateTeamDiscussionArgs = {
12368
- input: CreateTeamDiscussionInput;
12369
- };
12370
- /** The root query for implementing GraphQL mutations. */
12371
- export type MutationCreateTeamDiscussionCommentArgs = {
12372
- input: CreateTeamDiscussionCommentInput;
12373
- };
12374
- /** The root query for implementing GraphQL mutations. */
12375
12371
  export type MutationCreateUserListArgs = {
12376
12372
  input: CreateUserListInput;
12377
12373
  };
@@ -12472,16 +12468,12 @@ export type MutationDeleteRefArgs = {
12472
12468
  input: DeleteRefInput;
12473
12469
  };
12474
12470
  /** The root query for implementing GraphQL mutations. */
12475
- export type MutationDeleteRepositoryRulesetArgs = {
12476
- input: DeleteRepositoryRulesetInput;
12477
- };
12478
- /** The root query for implementing GraphQL mutations. */
12479
- export type MutationDeleteTeamDiscussionArgs = {
12480
- input: DeleteTeamDiscussionInput;
12471
+ export type MutationDeleteRepositoryCustomPropertyArgs = {
12472
+ input: DeleteRepositoryCustomPropertyInput;
12481
12473
  };
12482
12474
  /** The root query for implementing GraphQL mutations. */
12483
- export type MutationDeleteTeamDiscussionCommentArgs = {
12484
- input: DeleteTeamDiscussionCommentInput;
12475
+ export type MutationDeleteRepositoryRulesetArgs = {
12476
+ input: DeleteRepositoryRulesetInput;
12485
12477
  };
12486
12478
  /** The root query for implementing GraphQL mutations. */
12487
12479
  export type MutationDeleteUserListArgs = {
@@ -12604,6 +12596,10 @@ export type MutationPinIssueArgs = {
12604
12596
  input: PinIssueInput;
12605
12597
  };
12606
12598
  /** The root query for implementing GraphQL mutations. */
12599
+ export type MutationPromoteRepositoryCustomPropertyArgs = {
12600
+ input: PromoteRepositoryCustomPropertyInput;
12601
+ };
12602
+ /** The root query for implementing GraphQL mutations. */
12607
12603
  export type MutationPublishSponsorsTierArgs = {
12608
12604
  input: PublishSponsorsTierInput;
12609
12605
  };
@@ -12700,6 +12696,10 @@ export type MutationRequestReviewsArgs = {
12700
12696
  input: RequestReviewsInput;
12701
12697
  };
12702
12698
  /** The root query for implementing GraphQL mutations. */
12699
+ export type MutationRequestReviewsByLoginArgs = {
12700
+ input: RequestReviewsByLoginInput;
12701
+ };
12702
+ /** The root query for implementing GraphQL mutations. */
12703
12703
  export type MutationRerequestCheckSuiteArgs = {
12704
12704
  input: RerequestCheckSuiteInput;
12705
12705
  };
@@ -12732,6 +12732,10 @@ export type MutationSetOrganizationInteractionLimitArgs = {
12732
12732
  input: SetOrganizationInteractionLimitInput;
12733
12733
  };
12734
12734
  /** The root query for implementing GraphQL mutations. */
12735
+ export type MutationSetRepositoryCustomPropertyValuesArgs = {
12736
+ input: SetRepositoryCustomPropertyValuesInput;
12737
+ };
12738
+ /** The root query for implementing GraphQL mutations. */
12735
12739
  export type MutationSetRepositoryInteractionLimitArgs = {
12736
12740
  input: SetRepositoryInteractionLimitInput;
12737
12741
  };
@@ -12904,10 +12908,6 @@ export type MutationUpdateEnterpriseRepositoryProjectsSettingArgs = {
12904
12908
  input: UpdateEnterpriseRepositoryProjectsSettingInput;
12905
12909
  };
12906
12910
  /** The root query for implementing GraphQL mutations. */
12907
- export type MutationUpdateEnterpriseTeamDiscussionsSettingArgs = {
12908
- input: UpdateEnterpriseTeamDiscussionsSettingInput;
12909
- };
12910
- /** The root query for implementing GraphQL mutations. */
12911
12911
  export type MutationUpdateEnterpriseTwoFactorAuthenticationDisallowedMethodsSettingArgs = {
12912
12912
  input: UpdateEnterpriseTwoFactorAuthenticationDisallowedMethodsSettingInput;
12913
12913
  };
@@ -12932,6 +12932,10 @@ export type MutationUpdateIpAllowListForInstalledAppsEnabledSettingArgs = {
12932
12932
  input: UpdateIpAllowListForInstalledAppsEnabledSettingInput;
12933
12933
  };
12934
12934
  /** The root query for implementing GraphQL mutations. */
12935
+ export type MutationUpdateIpAllowListUserLevelEnforcementEnabledSettingArgs = {
12936
+ input: UpdateIpAllowListUserLevelEnforcementEnabledSettingInput;
12937
+ };
12938
+ /** The root query for implementing GraphQL mutations. */
12935
12939
  export type MutationUpdateIssueArgs = {
12936
12940
  input: UpdateIssueInput;
12937
12941
  };
@@ -13036,6 +13040,10 @@ export type MutationUpdateRepositoryArgs = {
13036
13040
  input: UpdateRepositoryInput;
13037
13041
  };
13038
13042
  /** The root query for implementing GraphQL mutations. */
13043
+ export type MutationUpdateRepositoryCustomPropertyArgs = {
13044
+ input: UpdateRepositoryCustomPropertyInput;
13045
+ };
13046
+ /** The root query for implementing GraphQL mutations. */
13039
13047
  export type MutationUpdateRepositoryRulesetArgs = {
13040
13048
  input: UpdateRepositoryRulesetInput;
13041
13049
  };
@@ -13052,14 +13060,6 @@ export type MutationUpdateSubscriptionArgs = {
13052
13060
  input: UpdateSubscriptionInput;
13053
13061
  };
13054
13062
  /** The root query for implementing GraphQL mutations. */
13055
- export type MutationUpdateTeamDiscussionArgs = {
13056
- input: UpdateTeamDiscussionInput;
13057
- };
13058
- /** The root query for implementing GraphQL mutations. */
13059
- export type MutationUpdateTeamDiscussionCommentArgs = {
13060
- input: UpdateTeamDiscussionCommentInput;
13061
- };
13062
- /** The root query for implementing GraphQL mutations. */
13063
13063
  export type MutationUpdateTeamReviewAssignmentArgs = {
13064
13064
  input: UpdateTeamReviewAssignmentInput;
13065
13065
  };
@@ -16370,6 +16370,10 @@ export type Organization = Actor & MemberStatusable & Node & PackageOwner & Prof
16370
16370
  repositories: RepositoryConnection;
16371
16371
  /** Find Repository. */
16372
16372
  repository?: Maybe<Repository>;
16373
+ /** A list of custom properties for this organization. */
16374
+ repositoryCustomProperties?: Maybe<RepositoryCustomPropertyConnection>;
16375
+ /** Returns a single custom property from the current organization by name. */
16376
+ repositoryCustomProperty?: Maybe<RepositoryCustomProperty>;
16373
16377
  /** Discussion comments this user has authored. */
16374
16378
  repositoryDiscussionComments: DiscussionCommentConnection;
16375
16379
  /** Discussions this user has started. */
@@ -16638,6 +16642,17 @@ export type OrganizationRepositoryArgs = {
16638
16642
  name: Scalars['String']['input'];
16639
16643
  };
16640
16644
  /** An account on GitHub, with one or more owners, that has repositories, members and teams. */
16645
+ export type OrganizationRepositoryCustomPropertiesArgs = {
16646
+ after?: InputMaybe<Scalars['String']['input']>;
16647
+ before?: InputMaybe<Scalars['String']['input']>;
16648
+ first?: InputMaybe<Scalars['Int']['input']>;
16649
+ last?: InputMaybe<Scalars['Int']['input']>;
16650
+ };
16651
+ /** An account on GitHub, with one or more owners, that has repositories, members and teams. */
16652
+ export type OrganizationRepositoryCustomPropertyArgs = {
16653
+ propertyName: Scalars['String']['input'];
16654
+ };
16655
+ /** An account on GitHub, with one or more owners, that has repositories, members and teams. */
16641
16656
  export type OrganizationRepositoryDiscussionCommentsArgs = {
16642
16657
  after?: InputMaybe<Scalars['String']['input']>;
16643
16658
  before?: InputMaybe<Scalars['String']['input']>;
@@ -19688,6 +19703,21 @@ export type ProjectV2WorkflowsOrderField =
19688
19703
  | 'NUMBER'
19689
19704
  /** The date and time of the workflow update */
19690
19705
  | 'UPDATED_AT';
19706
+ /** Autogenerated input type of PromoteRepositoryCustomProperty */
19707
+ export type PromoteRepositoryCustomPropertyInput = {
19708
+ /** A unique identifier for the client performing the mutation. */
19709
+ clientMutationId?: InputMaybe<Scalars['String']['input']>;
19710
+ /** The ID of the repository custom property to be promoted. */
19711
+ repositoryCustomPropertyId: Scalars['ID']['input'];
19712
+ };
19713
+ /** Autogenerated return type of PromoteRepositoryCustomProperty. */
19714
+ export type PromoteRepositoryCustomPropertyPayload = {
19715
+ __typename: 'PromoteRepositoryCustomPropertyPayload';
19716
+ /** A unique identifier for the client performing the mutation. */
19717
+ clientMutationId?: Maybe<Scalars['String']['output']>;
19718
+ /** The repository custom property that has been promoted. */
19719
+ repositoryCustomProperty?: Maybe<RepositoryCustomProperty>;
19720
+ };
19691
19721
  /** A property that must match */
19692
19722
  export type PropertyTargetDefinition = {
19693
19723
  __typename: 'PropertyTargetDefinition';
@@ -19908,7 +19938,7 @@ export type PullRequest = Assignable & Closable & Comment & Labelable & Lockable
19908
19938
  */
19909
19939
  projectCards: ProjectCardConnection;
19910
19940
  /** List of project items associated with this pull request. */
19911
- projectItems: ProjectV2ItemConnection;
19941
+ projectItems?: Maybe<ProjectV2ItemConnection>;
19912
19942
  /** Find a project by number. */
19913
19943
  projectV2?: Maybe<ProjectV2>;
19914
19944
  /** A list of projects under the owner. */
@@ -19941,6 +19971,8 @@ export type PullRequest = Assignable & Closable & Comment & Labelable & Lockable
19941
19971
  statusCheckRollup?: Maybe<StatusCheckRollup>;
19942
19972
  /** A list of suggested actors to assign to this object */
19943
19973
  suggestedActors: AssigneeConnection;
19974
+ /** Reviewer actor suggestions based on commit history, past review comments, and integrations. */
19975
+ suggestedReviewerActors: SuggestedReviewerActorConnection;
19944
19976
  /** A list of reviewer suggestions based on commit history and past review comments. */
19945
19977
  suggestedReviewers: Array<Maybe<SuggestedReviewer>>;
19946
19978
  /**
@@ -20156,6 +20188,14 @@ export type PullRequestSuggestedActorsArgs = {
20156
20188
  query?: InputMaybe<Scalars['String']['input']>;
20157
20189
  };
20158
20190
  /** A repository pull request. */
20191
+ export type PullRequestSuggestedReviewerActorsArgs = {
20192
+ after?: InputMaybe<Scalars['String']['input']>;
20193
+ before?: InputMaybe<Scalars['String']['input']>;
20194
+ first?: InputMaybe<Scalars['Int']['input']>;
20195
+ last?: InputMaybe<Scalars['Int']['input']>;
20196
+ query?: InputMaybe<Scalars['String']['input']>;
20197
+ };
20198
+ /** A repository pull request. */
20159
20199
  export type PullRequestTimelineArgs = {
20160
20200
  after?: InputMaybe<Scalars['String']['input']>;
20161
20201
  before?: InputMaybe<Scalars['String']['input']>;
@@ -20360,8 +20400,6 @@ export type PullRequestParameters = {
20360
20400
  * `rebase`. At least one option must be enabled.
20361
20401
  */
20362
20402
  allowedMergeMethods?: Maybe<Array<PullRequestAllowedMergeMethods>>;
20363
- /** Request Copilot code review for new pull requests automatically if the author has access to Copilot code review. */
20364
- automaticCopilotCodeReviewEnabled: Scalars['Boolean']['output'];
20365
20403
  /** New, reviewable commits pushed will dismiss previous pull request review approvals. */
20366
20404
  dismissStaleReviewsOnPush: Scalars['Boolean']['output'];
20367
20405
  /** Require an approving review in pull requests that modify files that have a designated code owner. */
@@ -20386,8 +20424,6 @@ export type PullRequestParametersInput = {
20386
20424
  * `rebase`. At least one option must be enabled.
20387
20425
  */
20388
20426
  allowedMergeMethods?: InputMaybe<Array<PullRequestAllowedMergeMethods>>;
20389
- /** Request Copilot code review for new pull requests automatically if the author has access to Copilot code review. */
20390
- automaticCopilotCodeReviewEnabled?: InputMaybe<Scalars['Boolean']['input']>;
20391
20427
  /** New, reviewable commits pushed will dismiss previous pull request review approvals. */
20392
20428
  dismissStaleReviewsOnPush: Scalars['Boolean']['input'];
20393
20429
  /** Require an approving review in pull requests that modify files that have a designated code owner. */
@@ -21007,6 +21043,12 @@ export type PullRequestTimelineItemsItemType =
21007
21043
  | 'HEAD_REF_RESTORED_EVENT'
21008
21044
  /** Represents a comment on an Issue. */
21009
21045
  | 'ISSUE_COMMENT'
21046
+ /** Represents a 'issue_field_added' event on a given issue. */
21047
+ | 'ISSUE_FIELD_ADDED_EVENT'
21048
+ /** Represents a 'issue_field_changed' event on a given issue. */
21049
+ | 'ISSUE_FIELD_CHANGED_EVENT'
21050
+ /** Represents a 'issue_field_removed' event on a given issue. */
21051
+ | 'ISSUE_FIELD_REMOVED_EVENT'
21010
21052
  /** Represents a 'issue_type_added' event on a given issue. */
21011
21053
  | 'ISSUE_TYPE_ADDED_EVENT'
21012
21054
  /** Represents a 'issue_type_changed' event on a given issue. */
@@ -21942,7 +21984,7 @@ export type ReleaseOrderField =
21942
21984
  export type RemoveAssigneesFromAssignableInput = {
21943
21985
  /** The id of the assignable object to remove assignees from. */
21944
21986
  assignableId: Scalars['ID']['input'];
21945
- /** The id of users to remove as assignees. */
21987
+ /** The ids of actors to remove as assignees. */
21946
21988
  assigneeIds: Array<Scalars['ID']['input']>;
21947
21989
  /** A unique identifier for the client performing the mutation. */
21948
21990
  clientMutationId?: InputMaybe<Scalars['String']['input']>;
@@ -22330,8 +22372,19 @@ export type ReorderEnvironmentPayload = {
22330
22372
  };
22331
22373
  /** Autogenerated input type of ReplaceActorsForAssignable */
22332
22374
  export type ReplaceActorsForAssignableInput = {
22333
- /** The ids of the actors to replace the existing assignees. */
22334
- actorIds: Array<Scalars['ID']['input']>;
22375
+ /**
22376
+ * The ids of the actors to replace the existing assignees. May be used as an
22377
+ * alternative to or in conjunction with actorLogins.
22378
+ */
22379
+ actorIds?: InputMaybe<Array<Scalars['ID']['input']>>;
22380
+ /**
22381
+ * The usernames of the actors to replace the existing assignees. May be used as
22382
+ * an alternative to or in conjunction with actorIds. For bots, use the login
22383
+ * format with [bot] suffix (e.g., 'my-app[bot]').
22384
+ */
22385
+ actorLogins?: InputMaybe<Array<Scalars['String']['input']>>;
22386
+ /** Configuration for assigning an AI agent to this issue. */
22387
+ agentAssignment?: InputMaybe<AgentAssignmentInput>;
22335
22388
  /** The id of the assignable object to replace the assignees for. */
22336
22389
  assignableId: Scalars['ID']['input'];
22337
22390
  /** A unique identifier for the client performing the mutation. */
@@ -24566,6 +24619,10 @@ export type Repository = Node & PackageOwner & ProjectOwner & ProjectV2Recent &
24566
24619
  release?: Maybe<Release>;
24567
24620
  /** List of releases which are dependent on this repository. */
24568
24621
  releases: ReleaseConnection;
24622
+ /** A custom property value for the repository. */
24623
+ repositoryCustomPropertyValue?: Maybe<RepositoryCustomPropertyValue>;
24624
+ /** A list of custom properties and their associated values for a repository. */
24625
+ repositoryCustomPropertyValues?: Maybe<RepositoryCustomPropertyValueConnection>;
24569
24626
  /** A list of applied repository-topic associations for this repository. */
24570
24627
  repositoryTopics: RepositoryTopicConnection;
24571
24628
  /** The HTTP path for this repository */
@@ -24960,6 +25017,17 @@ export type RepositoryReleasesArgs = {
24960
25017
  orderBy?: InputMaybe<ReleaseOrder>;
24961
25018
  };
24962
25019
  /** A repository contains the content for a project. */
25020
+ export type RepositoryRepositoryCustomPropertyValueArgs = {
25021
+ propertyName: Scalars['String']['input'];
25022
+ };
25023
+ /** A repository contains the content for a project. */
25024
+ export type RepositoryRepositoryCustomPropertyValuesArgs = {
25025
+ after?: InputMaybe<Scalars['String']['input']>;
25026
+ before?: InputMaybe<Scalars['String']['input']>;
25027
+ first?: InputMaybe<Scalars['Int']['input']>;
25028
+ last?: InputMaybe<Scalars['Int']['input']>;
25029
+ };
25030
+ /** A repository contains the content for a project. */
24963
25031
  export type RepositoryRepositoryTopicsArgs = {
24964
25032
  after?: InputMaybe<Scalars['String']['input']>;
24965
25033
  before?: InputMaybe<Scalars['String']['input']>;
@@ -25137,6 +25205,84 @@ export type RepositoryContributionType =
25137
25205
  | 'PULL_REQUEST_REVIEW'
25138
25206
  /** Created the repository */
25139
25207
  | 'REPOSITORY';
25208
+ /** A repository custom property. */
25209
+ export type RepositoryCustomProperty = Node & {
25210
+ __typename: 'RepositoryCustomProperty';
25211
+ /** The allowed values for the custom property. Required if `value_type` is `single_select` or `multi_select`. */
25212
+ allowedValues?: Maybe<Array<Scalars['String']['output']>>;
25213
+ /** The default value of the custom property, if the property is `required`. */
25214
+ defaultValue?: Maybe<Scalars['CustomPropertyValue']['output']>;
25215
+ /** The description of the custom property. */
25216
+ description?: Maybe<Scalars['String']['output']>;
25217
+ /** The Node ID of the RepositoryCustomProperty object */
25218
+ id: Scalars['ID']['output'];
25219
+ /** The name of the custom property. */
25220
+ propertyName: Scalars['String']['output'];
25221
+ /** The regex pattern that the value of the custom property must match, if the `value_type` is `string`. */
25222
+ regex?: Maybe<Scalars['String']['output']>;
25223
+ /** Whether the custom property is required. */
25224
+ required?: Maybe<Scalars['Boolean']['output']>;
25225
+ /** The source type of the custom property. */
25226
+ source: CustomPropertySource;
25227
+ /** The value type of the custom property. */
25228
+ valueType: CustomPropertyValueType;
25229
+ /** Who can edit the values of this repository custom property. */
25230
+ valuesEditableBy: RepositoryCustomPropertyValuesEditableBy;
25231
+ };
25232
+ /** The connection type for RepositoryCustomProperty. */
25233
+ export type RepositoryCustomPropertyConnection = {
25234
+ __typename: 'RepositoryCustomPropertyConnection';
25235
+ /** A list of edges. */
25236
+ edges?: Maybe<Array<Maybe<RepositoryCustomPropertyEdge>>>;
25237
+ /** A list of nodes. */
25238
+ nodes?: Maybe<Array<Maybe<RepositoryCustomProperty>>>;
25239
+ /** Information to aid in pagination. */
25240
+ pageInfo: PageInfo;
25241
+ /** Identifies the total count of items in the connection. */
25242
+ totalCount: Scalars['Int']['output'];
25243
+ };
25244
+ /** An edge in a connection. */
25245
+ export type RepositoryCustomPropertyEdge = {
25246
+ __typename: 'RepositoryCustomPropertyEdge';
25247
+ /** A cursor for use in pagination. */
25248
+ cursor: Scalars['String']['output'];
25249
+ /** The item at the end of the edge. */
25250
+ node?: Maybe<RepositoryCustomProperty>;
25251
+ };
25252
+ /** A value associated with a repository custom property. */
25253
+ export type RepositoryCustomPropertyValue = {
25254
+ __typename: 'RepositoryCustomPropertyValue';
25255
+ /** The name of the custom property. */
25256
+ propertyName: Scalars['String']['output'];
25257
+ /** The value of the custom property. */
25258
+ value: Scalars['CustomPropertyValue']['output'];
25259
+ };
25260
+ /** The connection type for RepositoryCustomPropertyValue. */
25261
+ export type RepositoryCustomPropertyValueConnection = {
25262
+ __typename: 'RepositoryCustomPropertyValueConnection';
25263
+ /** A list of edges. */
25264
+ edges?: Maybe<Array<Maybe<RepositoryCustomPropertyValueEdge>>>;
25265
+ /** A list of nodes. */
25266
+ nodes?: Maybe<Array<Maybe<RepositoryCustomPropertyValue>>>;
25267
+ /** Information to aid in pagination. */
25268
+ pageInfo: PageInfo;
25269
+ /** Identifies the total count of items in the connection. */
25270
+ totalCount: Scalars['Int']['output'];
25271
+ };
25272
+ /** An edge in a connection. */
25273
+ export type RepositoryCustomPropertyValueEdge = {
25274
+ __typename: 'RepositoryCustomPropertyValueEdge';
25275
+ /** A cursor for use in pagination. */
25276
+ cursor: Scalars['String']['output'];
25277
+ /** The item at the end of the edge. */
25278
+ node?: Maybe<RepositoryCustomPropertyValue>;
25279
+ };
25280
+ /** The allowed actors who can edit the values of a custom property. */
25281
+ export type RepositoryCustomPropertyValuesEditableBy =
25282
+ /** The organization actors. */
25283
+ 'ORG_ACTORS'
25284
+ /** The organization and repository actors. */
25285
+ | 'ORG_AND_REPO_ACTORS';
25140
25286
  /** Represents an author of discussions in repositories. */
25141
25287
  export type RepositoryDiscussionAuthor = {
25142
25288
  /** Discussions this user has started. */
@@ -25668,7 +25814,11 @@ export type RepositoryRuleType =
25668
25814
  | 'COMMIT_AUTHOR_EMAIL_PATTERN'
25669
25815
  /** Commit message pattern */
25670
25816
  | 'COMMIT_MESSAGE_PATTERN'
25671
- /** Request Copilot code review for new pull requests automatically if the author has access to Copilot code review. */
25817
+ /**
25818
+ * Request Copilot code review for new pull requests automatically if the author
25819
+ * has access to Copilot code review and their premium requests quota has not
25820
+ * reached the limit.
25821
+ */
25672
25822
  | 'COPILOT_CODE_REVIEW'
25673
25823
  /** Only allow users with bypass permission to create matching refs. */
25674
25824
  | 'CREATION'
@@ -26219,6 +26369,33 @@ export type ReprioritizeSubIssuePayload = {
26219
26369
  /** The parent issue that the sub-issue was reprioritized in. */
26220
26370
  issue?: Maybe<Issue>;
26221
26371
  };
26372
+ /** Autogenerated input type of RequestReviewsByLogin */
26373
+ export type RequestReviewsByLoginInput = {
26374
+ /** The logins of the bots to request reviews from, including the [bot] suffix (e.g., 'copilot-pull-request-reviewer[bot]'). */
26375
+ botLogins?: InputMaybe<Array<Scalars['String']['input']>>;
26376
+ /** A unique identifier for the client performing the mutation. */
26377
+ clientMutationId?: InputMaybe<Scalars['String']['input']>;
26378
+ /** The Node ID of the pull request to modify. */
26379
+ pullRequestId: Scalars['ID']['input'];
26380
+ /** The slugs of the teams to request reviews from (format: 'org/team-slug'). */
26381
+ teamSlugs?: InputMaybe<Array<Scalars['String']['input']>>;
26382
+ /** Add users to the set rather than replace. */
26383
+ union?: InputMaybe<Scalars['Boolean']['input']>;
26384
+ /** The login strings of the users to request reviews from. */
26385
+ userLogins?: InputMaybe<Array<Scalars['String']['input']>>;
26386
+ };
26387
+ /** Autogenerated return type of RequestReviewsByLogin. */
26388
+ export type RequestReviewsByLoginPayload = {
26389
+ __typename: 'RequestReviewsByLoginPayload';
26390
+ /** Identifies the actor who performed the event. */
26391
+ actor?: Maybe<Actor>;
26392
+ /** A unique identifier for the client performing the mutation. */
26393
+ clientMutationId?: Maybe<Scalars['String']['output']>;
26394
+ /** The pull request that is getting requests. */
26395
+ pullRequest?: Maybe<PullRequest>;
26396
+ /** The edge from the pull request to the requested reviewers. */
26397
+ requestedReviewersEdge?: Maybe<UserEdge>;
26398
+ };
26222
26399
  /** Autogenerated input type of RequestReviews */
26223
26400
  export type RequestReviewsInput = {
26224
26401
  /** The Node IDs of the bot to request. */
@@ -27134,6 +27311,23 @@ export type SetOrganizationInteractionLimitPayload = {
27134
27311
  /** The organization that the interaction limit was set for. */
27135
27312
  organization?: Maybe<Organization>;
27136
27313
  };
27314
+ /** Autogenerated input type of SetRepositoryCustomPropertyValues */
27315
+ export type SetRepositoryCustomPropertyValuesInput = {
27316
+ /** A unique identifier for the client performing the mutation. */
27317
+ clientMutationId?: InputMaybe<Scalars['String']['input']>;
27318
+ /** A list of custom property names and associated values to apply. */
27319
+ properties: Array<CustomPropertyValueInput>;
27320
+ /** The ID of the repository to set properties for. */
27321
+ repositoryId: Scalars['ID']['input'];
27322
+ };
27323
+ /** Autogenerated return type of SetRepositoryCustomPropertyValues. */
27324
+ export type SetRepositoryCustomPropertyValuesPayload = {
27325
+ __typename: 'SetRepositoryCustomPropertyValuesPayload';
27326
+ /** A unique identifier for the client performing the mutation. */
27327
+ clientMutationId?: Maybe<Scalars['String']['output']>;
27328
+ /** The repository that the custom properties were set for. */
27329
+ repository?: Maybe<Repository>;
27330
+ };
27137
27331
  /** Autogenerated input type of SetRepositoryInteractionLimit */
27138
27332
  export type SetRepositoryInteractionLimitInput = {
27139
27333
  /** A unique identifier for the client performing the mutation. */
@@ -28945,6 +29139,36 @@ export type SuggestedReviewer = {
28945
29139
  /** Identifies the user suggested to review the pull request. */
28946
29140
  reviewer: User;
28947
29141
  };
29142
+ /** A suggestion to review a pull request based on an actor's commit history, review comments, and integrations. */
29143
+ export type SuggestedReviewerActor = {
29144
+ __typename: 'SuggestedReviewerActor';
29145
+ /** Is this suggestion based on past commits? */
29146
+ isAuthor: Scalars['Boolean']['output'];
29147
+ /** Is this suggestion based on past review comments? */
29148
+ isCommenter: Scalars['Boolean']['output'];
29149
+ /** Identifies the actor suggested to review the pull request. */
29150
+ reviewer: Actor;
29151
+ };
29152
+ /** A suggestion to review a pull request based on an actor's commit history, review comments, and integrations. */
29153
+ export type SuggestedReviewerActorConnection = {
29154
+ __typename: 'SuggestedReviewerActorConnection';
29155
+ /** A list of edges. */
29156
+ edges?: Maybe<Array<Maybe<SuggestedReviewerActorEdge>>>;
29157
+ /** A list of nodes. */
29158
+ nodes?: Maybe<Array<Maybe<SuggestedReviewerActor>>>;
29159
+ /** Information to aid in pagination. */
29160
+ pageInfo: PageInfo;
29161
+ /** Identifies the total count of items in the connection. */
29162
+ totalCount: Scalars['Int']['output'];
29163
+ };
29164
+ /** An edge in a connection. */
29165
+ export type SuggestedReviewerActorEdge = {
29166
+ __typename: 'SuggestedReviewerActorEdge';
29167
+ /** A cursor for use in pagination. */
29168
+ cursor: Scalars['String']['output'];
29169
+ /** The item at the end of the edge. */
29170
+ node?: Maybe<SuggestedReviewerActor>;
29171
+ };
28948
29172
  /** Represents a Git tag. */
28949
29173
  export type Tag = GitObject & Node & {
28950
29174
  __typename: 'Tag';
@@ -28972,7 +29196,7 @@ export type Tag = GitObject & Node & {
28972
29196
  /** Parameters to be used for the tag_name_pattern rule */
28973
29197
  export type TagNamePatternParameters = {
28974
29198
  __typename: 'TagNamePatternParameters';
28975
- /** How this rule will appear to users. */
29199
+ /** How this rule appears when configuring it. */
28976
29200
  name?: Maybe<Scalars['String']['output']>;
28977
29201
  /** If true, the rule will fail if the pattern matches. */
28978
29202
  negate: Scalars['Boolean']['output'];
@@ -28983,7 +29207,7 @@ export type TagNamePatternParameters = {
28983
29207
  };
28984
29208
  /** Parameters to be used for the tag_name_pattern rule */
28985
29209
  export type TagNamePatternParametersInput = {
28986
- /** How this rule will appear to users. */
29210
+ /** How this rule appears when configuring it. */
28987
29211
  name?: InputMaybe<Scalars['String']['input']>;
28988
29212
  /** If true, the rule will fail if the pattern matches. */
28989
29213
  negate?: InputMaybe<Scalars['Boolean']['input']>;
@@ -29009,14 +29233,6 @@ export type Team = MemberStatusable & Node & Subscribable & {
29009
29233
  databaseId?: Maybe<Scalars['Int']['output']>;
29010
29234
  /** The description of the team. */
29011
29235
  description?: Maybe<Scalars['String']['output']>;
29012
- /** Find a team discussion by its number. */
29013
- discussion?: Maybe<TeamDiscussion>;
29014
- /** A list of team discussions. */
29015
- discussions: TeamDiscussionConnection;
29016
- /** The HTTP path for team discussions */
29017
- discussionsResourcePath: Scalars['URI']['output'];
29018
- /** The HTTP URL for team discussions */
29019
- discussionsUrl: Scalars['URI']['output'];
29020
29236
  /** The HTTP path for editing this team */
29021
29237
  editTeamResourcePath: Scalars['URI']['output'];
29022
29238
  /** The HTTP URL for editing this team */
@@ -29106,19 +29322,6 @@ export type TeamChildTeamsArgs = {
29106
29322
  userLogins?: InputMaybe<Array<Scalars['String']['input']>>;
29107
29323
  };
29108
29324
  /** A team of users in an organization. */
29109
- export type TeamDiscussionArgs = {
29110
- number: Scalars['Int']['input'];
29111
- };
29112
- /** A team of users in an organization. */
29113
- export type TeamDiscussionsArgs = {
29114
- after?: InputMaybe<Scalars['String']['input']>;
29115
- before?: InputMaybe<Scalars['String']['input']>;
29116
- first?: InputMaybe<Scalars['Int']['input']>;
29117
- isPinned?: InputMaybe<Scalars['Boolean']['input']>;
29118
- last?: InputMaybe<Scalars['Int']['input']>;
29119
- orderBy?: InputMaybe<TeamDiscussionOrder>;
29120
- };
29121
- /** A team of users in an organization. */
29122
29325
  export type TeamInvitationsArgs = {
29123
29326
  after?: InputMaybe<Scalars['String']['input']>;
29124
29327
  before?: InputMaybe<Scalars['String']['input']>;
@@ -29551,300 +29754,6 @@ export type TeamConnection = {
29551
29754
  /** Identifies the total count of items in the connection. */
29552
29755
  totalCount: Scalars['Int']['output'];
29553
29756
  };
29554
- /** A team discussion. */
29555
- export type TeamDiscussion = Comment & Deletable & Node & Reactable & Subscribable & UniformResourceLocatable & Updatable & UpdatableComment & {
29556
- __typename: 'TeamDiscussion';
29557
- /** The actor who authored the comment. */
29558
- author?: Maybe<Actor>;
29559
- /**
29560
- * Author's association with the discussion's team.
29561
- * @deprecated The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.
29562
- */
29563
- authorAssociation: CommentAuthorAssociation;
29564
- /** The body as Markdown. */
29565
- body: Scalars['String']['output'];
29566
- /** The body rendered to HTML. */
29567
- bodyHTML: Scalars['HTML']['output'];
29568
- /** The body rendered to text. */
29569
- bodyText: Scalars['String']['output'];
29570
- /**
29571
- * Identifies the discussion body hash.
29572
- * @deprecated The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.
29573
- */
29574
- bodyVersion: Scalars['String']['output'];
29575
- /**
29576
- * A list of comments on this discussion.
29577
- * @deprecated The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.
29578
- */
29579
- comments: TeamDiscussionCommentConnection;
29580
- /**
29581
- * The HTTP path for discussion comments
29582
- * @deprecated The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.
29583
- */
29584
- commentsResourcePath: Scalars['URI']['output'];
29585
- /**
29586
- * The HTTP URL for discussion comments
29587
- * @deprecated The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.
29588
- */
29589
- commentsUrl: Scalars['URI']['output'];
29590
- /** Identifies the date and time when the object was created. */
29591
- createdAt: Scalars['DateTime']['output'];
29592
- /** Check if this comment was created via an email reply. */
29593
- createdViaEmail: Scalars['Boolean']['output'];
29594
- /** Identifies the primary key from the database. */
29595
- databaseId?: Maybe<Scalars['Int']['output']>;
29596
- /** The actor who edited the comment. */
29597
- editor?: Maybe<Actor>;
29598
- /** The Node ID of the TeamDiscussion object */
29599
- id: Scalars['ID']['output'];
29600
- /** Check if this comment was edited and includes an edit with the creation data */
29601
- includesCreatedEdit: Scalars['Boolean']['output'];
29602
- /**
29603
- * Whether or not the discussion is pinned.
29604
- * @deprecated The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.
29605
- */
29606
- isPinned: Scalars['Boolean']['output'];
29607
- /**
29608
- * Whether or not the discussion is only visible to team members and organization owners.
29609
- * @deprecated The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.
29610
- */
29611
- isPrivate: Scalars['Boolean']['output'];
29612
- /** The moment the editor made the last edit */
29613
- lastEditedAt?: Maybe<Scalars['DateTime']['output']>;
29614
- /**
29615
- * Identifies the discussion within its team.
29616
- * @deprecated The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.
29617
- */
29618
- number: Scalars['Int']['output'];
29619
- /** Identifies when the comment was published at. */
29620
- publishedAt?: Maybe<Scalars['DateTime']['output']>;
29621
- /** A list of reactions grouped by content left on the subject. */
29622
- reactionGroups?: Maybe<Array<ReactionGroup>>;
29623
- /** A list of Reactions left on the Issue. */
29624
- reactions: ReactionConnection;
29625
- /**
29626
- * The HTTP path for this discussion
29627
- * @deprecated The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.
29628
- */
29629
- resourcePath: Scalars['URI']['output'];
29630
- /**
29631
- * The team that defines the context of this discussion.
29632
- * @deprecated The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.
29633
- */
29634
- team: Team;
29635
- /**
29636
- * The title of the discussion
29637
- * @deprecated The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.
29638
- */
29639
- title: Scalars['String']['output'];
29640
- /** Identifies the date and time when the object was last updated. */
29641
- updatedAt: Scalars['DateTime']['output'];
29642
- /**
29643
- * The HTTP URL for this discussion
29644
- * @deprecated The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.
29645
- */
29646
- url: Scalars['URI']['output'];
29647
- /** A list of edits to this content. */
29648
- userContentEdits?: Maybe<UserContentEditConnection>;
29649
- /** Check if the current viewer can delete this object. */
29650
- viewerCanDelete: Scalars['Boolean']['output'];
29651
- /**
29652
- * Whether or not the current viewer can pin this discussion.
29653
- * @deprecated The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.
29654
- */
29655
- viewerCanPin: Scalars['Boolean']['output'];
29656
- /** Can user react to this subject */
29657
- viewerCanReact: Scalars['Boolean']['output'];
29658
- /** Check if the viewer is able to change their subscription status for the repository. */
29659
- viewerCanSubscribe: Scalars['Boolean']['output'];
29660
- /** Check if the current viewer can update this object. */
29661
- viewerCanUpdate: Scalars['Boolean']['output'];
29662
- /** Reasons why the current viewer can not update this comment. */
29663
- viewerCannotUpdateReasons: Array<CommentCannotUpdateReason>;
29664
- /** Did the viewer author this comment. */
29665
- viewerDidAuthor: Scalars['Boolean']['output'];
29666
- /** Identifies if the viewer is watching, not watching, or ignoring the subscribable entity. */
29667
- viewerSubscription?: Maybe<SubscriptionState>;
29668
- };
29669
- /** A team discussion. */
29670
- export type TeamDiscussionCommentsArgs = {
29671
- after?: InputMaybe<Scalars['String']['input']>;
29672
- before?: InputMaybe<Scalars['String']['input']>;
29673
- first?: InputMaybe<Scalars['Int']['input']>;
29674
- fromComment?: InputMaybe<Scalars['Int']['input']>;
29675
- last?: InputMaybe<Scalars['Int']['input']>;
29676
- orderBy?: InputMaybe<TeamDiscussionCommentOrder>;
29677
- };
29678
- /** A team discussion. */
29679
- export type TeamDiscussionReactionsArgs = {
29680
- after?: InputMaybe<Scalars['String']['input']>;
29681
- before?: InputMaybe<Scalars['String']['input']>;
29682
- content?: InputMaybe<ReactionContent>;
29683
- first?: InputMaybe<Scalars['Int']['input']>;
29684
- last?: InputMaybe<Scalars['Int']['input']>;
29685
- orderBy?: InputMaybe<ReactionOrder>;
29686
- };
29687
- /** A team discussion. */
29688
- export type TeamDiscussionUserContentEditsArgs = {
29689
- after?: InputMaybe<Scalars['String']['input']>;
29690
- before?: InputMaybe<Scalars['String']['input']>;
29691
- first?: InputMaybe<Scalars['Int']['input']>;
29692
- last?: InputMaybe<Scalars['Int']['input']>;
29693
- };
29694
- /** A comment on a team discussion. */
29695
- export type TeamDiscussionComment = Comment & Deletable & Node & Reactable & UniformResourceLocatable & Updatable & UpdatableComment & {
29696
- __typename: 'TeamDiscussionComment';
29697
- /** The actor who authored the comment. */
29698
- author?: Maybe<Actor>;
29699
- /**
29700
- * Author's association with the comment's team.
29701
- * @deprecated The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.
29702
- */
29703
- authorAssociation: CommentAuthorAssociation;
29704
- /** The body as Markdown. */
29705
- body: Scalars['String']['output'];
29706
- /** The body rendered to HTML. */
29707
- bodyHTML: Scalars['HTML']['output'];
29708
- /** The body rendered to text. */
29709
- bodyText: Scalars['String']['output'];
29710
- /**
29711
- * The current version of the body content.
29712
- * @deprecated The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.
29713
- */
29714
- bodyVersion: Scalars['String']['output'];
29715
- /** Identifies the date and time when the object was created. */
29716
- createdAt: Scalars['DateTime']['output'];
29717
- /** Check if this comment was created via an email reply. */
29718
- createdViaEmail: Scalars['Boolean']['output'];
29719
- /** Identifies the primary key from the database. */
29720
- databaseId?: Maybe<Scalars['Int']['output']>;
29721
- /**
29722
- * The discussion this comment is about.
29723
- * @deprecated The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.
29724
- */
29725
- discussion: TeamDiscussion;
29726
- /** The actor who edited the comment. */
29727
- editor?: Maybe<Actor>;
29728
- /** The Node ID of the TeamDiscussionComment object */
29729
- id: Scalars['ID']['output'];
29730
- /** Check if this comment was edited and includes an edit with the creation data */
29731
- includesCreatedEdit: Scalars['Boolean']['output'];
29732
- /** The moment the editor made the last edit */
29733
- lastEditedAt?: Maybe<Scalars['DateTime']['output']>;
29734
- /**
29735
- * Identifies the comment number.
29736
- * @deprecated The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.
29737
- */
29738
- number: Scalars['Int']['output'];
29739
- /** Identifies when the comment was published at. */
29740
- publishedAt?: Maybe<Scalars['DateTime']['output']>;
29741
- /** A list of reactions grouped by content left on the subject. */
29742
- reactionGroups?: Maybe<Array<ReactionGroup>>;
29743
- /** A list of Reactions left on the Issue. */
29744
- reactions: ReactionConnection;
29745
- /**
29746
- * The HTTP path for this comment
29747
- * @deprecated The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.
29748
- */
29749
- resourcePath: Scalars['URI']['output'];
29750
- /** Identifies the date and time when the object was last updated. */
29751
- updatedAt: Scalars['DateTime']['output'];
29752
- /**
29753
- * The HTTP URL for this comment
29754
- * @deprecated The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.
29755
- */
29756
- url: Scalars['URI']['output'];
29757
- /** A list of edits to this content. */
29758
- userContentEdits?: Maybe<UserContentEditConnection>;
29759
- /** Check if the current viewer can delete this object. */
29760
- viewerCanDelete: Scalars['Boolean']['output'];
29761
- /** Can user react to this subject */
29762
- viewerCanReact: Scalars['Boolean']['output'];
29763
- /** Check if the current viewer can update this object. */
29764
- viewerCanUpdate: Scalars['Boolean']['output'];
29765
- /** Reasons why the current viewer can not update this comment. */
29766
- viewerCannotUpdateReasons: Array<CommentCannotUpdateReason>;
29767
- /** Did the viewer author this comment. */
29768
- viewerDidAuthor: Scalars['Boolean']['output'];
29769
- };
29770
- /** A comment on a team discussion. */
29771
- export type TeamDiscussionCommentReactionsArgs = {
29772
- after?: InputMaybe<Scalars['String']['input']>;
29773
- before?: InputMaybe<Scalars['String']['input']>;
29774
- content?: InputMaybe<ReactionContent>;
29775
- first?: InputMaybe<Scalars['Int']['input']>;
29776
- last?: InputMaybe<Scalars['Int']['input']>;
29777
- orderBy?: InputMaybe<ReactionOrder>;
29778
- };
29779
- /** A comment on a team discussion. */
29780
- export type TeamDiscussionCommentUserContentEditsArgs = {
29781
- after?: InputMaybe<Scalars['String']['input']>;
29782
- before?: InputMaybe<Scalars['String']['input']>;
29783
- first?: InputMaybe<Scalars['Int']['input']>;
29784
- last?: InputMaybe<Scalars['Int']['input']>;
29785
- };
29786
- /** The connection type for TeamDiscussionComment. */
29787
- export type TeamDiscussionCommentConnection = {
29788
- __typename: 'TeamDiscussionCommentConnection';
29789
- /** A list of edges. */
29790
- edges?: Maybe<Array<Maybe<TeamDiscussionCommentEdge>>>;
29791
- /** A list of nodes. */
29792
- nodes?: Maybe<Array<Maybe<TeamDiscussionComment>>>;
29793
- /** Information to aid in pagination. */
29794
- pageInfo: PageInfo;
29795
- /** Identifies the total count of items in the connection. */
29796
- totalCount: Scalars['Int']['output'];
29797
- };
29798
- /** An edge in a connection. */
29799
- export type TeamDiscussionCommentEdge = {
29800
- __typename: 'TeamDiscussionCommentEdge';
29801
- /** A cursor for use in pagination. */
29802
- cursor: Scalars['String']['output'];
29803
- /** The item at the end of the edge. */
29804
- node?: Maybe<TeamDiscussionComment>;
29805
- };
29806
- /** Ways in which team discussion comment connections can be ordered. */
29807
- export type TeamDiscussionCommentOrder = {
29808
- /** The direction in which to order nodes. */
29809
- direction: OrderDirection;
29810
- /** The field by which to order nodes. */
29811
- field: TeamDiscussionCommentOrderField;
29812
- };
29813
- /** Properties by which team discussion comment connections can be ordered. */
29814
- export type TeamDiscussionCommentOrderField =
29815
- /** Allows sequential ordering of team discussion comments (which is equivalent to chronological ordering). */
29816
- 'NUMBER';
29817
- /** The connection type for TeamDiscussion. */
29818
- export type TeamDiscussionConnection = {
29819
- __typename: 'TeamDiscussionConnection';
29820
- /** A list of edges. */
29821
- edges?: Maybe<Array<Maybe<TeamDiscussionEdge>>>;
29822
- /** A list of nodes. */
29823
- nodes?: Maybe<Array<Maybe<TeamDiscussion>>>;
29824
- /** Information to aid in pagination. */
29825
- pageInfo: PageInfo;
29826
- /** Identifies the total count of items in the connection. */
29827
- totalCount: Scalars['Int']['output'];
29828
- };
29829
- /** An edge in a connection. */
29830
- export type TeamDiscussionEdge = {
29831
- __typename: 'TeamDiscussionEdge';
29832
- /** A cursor for use in pagination. */
29833
- cursor: Scalars['String']['output'];
29834
- /** The item at the end of the edge. */
29835
- node?: Maybe<TeamDiscussion>;
29836
- };
29837
- /** Ways in which team discussion connections can be ordered. */
29838
- export type TeamDiscussionOrder = {
29839
- /** The direction in which to order nodes. */
29840
- direction: OrderDirection;
29841
- /** The field by which to order nodes. */
29842
- field: TeamDiscussionOrderField;
29843
- };
29844
- /** Properties by which team discussion connections can be ordered. */
29845
- export type TeamDiscussionOrderField =
29846
- /** Allows chronological ordering of team discussions. */
29847
- 'CREATED_AT';
29848
29757
  /** An edge in a connection. */
29849
29758
  export type TeamEdge = {
29850
29759
  __typename: 'TeamEdge';
@@ -31280,25 +31189,6 @@ export type UpdateEnterpriseRepositoryProjectsSettingPayload = {
31280
31189
  /** A message confirming the result of updating the repository projects setting. */
31281
31190
  message?: Maybe<Scalars['String']['output']>;
31282
31191
  };
31283
- /** Autogenerated input type of UpdateEnterpriseTeamDiscussionsSetting */
31284
- export type UpdateEnterpriseTeamDiscussionsSettingInput = {
31285
- /** A unique identifier for the client performing the mutation. */
31286
- clientMutationId?: InputMaybe<Scalars['String']['input']>;
31287
- /** The ID of the enterprise on which to set the team discussions setting. */
31288
- enterpriseId: Scalars['ID']['input'];
31289
- /** The value for the team discussions setting on the enterprise. */
31290
- settingValue: EnterpriseEnabledDisabledSettingValue;
31291
- };
31292
- /** Autogenerated return type of UpdateEnterpriseTeamDiscussionsSetting. */
31293
- export type UpdateEnterpriseTeamDiscussionsSettingPayload = {
31294
- __typename: 'UpdateEnterpriseTeamDiscussionsSettingPayload';
31295
- /** A unique identifier for the client performing the mutation. */
31296
- clientMutationId?: Maybe<Scalars['String']['output']>;
31297
- /** The enterprise with the updated team discussions setting. */
31298
- enterprise?: Maybe<Enterprise>;
31299
- /** A message confirming the result of updating the team discussions setting. */
31300
- message?: Maybe<Scalars['String']['output']>;
31301
- };
31302
31192
  /** Autogenerated input type of UpdateEnterpriseTwoFactorAuthenticationDisallowedMethodsSetting */
31303
31193
  export type UpdateEnterpriseTwoFactorAuthenticationDisallowedMethodsSettingInput = {
31304
31194
  /** A unique identifier for the client performing the mutation. */
@@ -31413,6 +31303,23 @@ export type UpdateIpAllowListForInstalledAppsEnabledSettingPayload = {
31413
31303
  /** The IP allow list owner on which the setting was updated. */
31414
31304
  owner?: Maybe<IpAllowListOwner>;
31415
31305
  };
31306
+ /** Autogenerated input type of UpdateIpAllowListUserLevelEnforcementEnabledSetting */
31307
+ export type UpdateIpAllowListUserLevelEnforcementEnabledSettingInput = {
31308
+ /** A unique identifier for the client performing the mutation. */
31309
+ clientMutationId?: InputMaybe<Scalars['String']['input']>;
31310
+ /** The ID of the owner. */
31311
+ ownerId: Scalars['ID']['input'];
31312
+ /** The value for the IP allow list user-level enforcement enabled setting. */
31313
+ settingValue: IpAllowListUserLevelEnforcementEnabledSettingValue;
31314
+ };
31315
+ /** Autogenerated return type of UpdateIpAllowListUserLevelEnforcementEnabledSetting. */
31316
+ export type UpdateIpAllowListUserLevelEnforcementEnabledSettingPayload = {
31317
+ __typename: 'UpdateIpAllowListUserLevelEnforcementEnabledSettingPayload';
31318
+ /** A unique identifier for the client performing the mutation. */
31319
+ clientMutationId?: Maybe<Scalars['String']['output']>;
31320
+ /** The IP allow list owner on which the setting was updated. */
31321
+ owner?: Maybe<IpAllowListOwner>;
31322
+ };
31416
31323
  /** Autogenerated input type of UpdateIssueComment */
31417
31324
  export type UpdateIssueCommentInput = {
31418
31325
  /** The updated text of the comment. */
@@ -31432,7 +31339,9 @@ export type UpdateIssueCommentPayload = {
31432
31339
  };
31433
31340
  /** Autogenerated input type of UpdateIssue */
31434
31341
  export type UpdateIssueInput = {
31435
- /** An array of Node IDs of users for this issue. */
31342
+ /** Configuration for assigning an AI agent to this issue. */
31343
+ agentAssignment?: InputMaybe<AgentAssignmentInput>;
31344
+ /** An array of Node IDs of users or bots for this issue. */
31436
31345
  assigneeIds?: InputMaybe<Array<Scalars['ID']['input']>>;
31437
31346
  /** The body for the issue description. */
31438
31347
  body?: InputMaybe<Scalars['String']['input']>;
@@ -31966,6 +31875,33 @@ export type UpdateRefsPayload = {
31966
31875
  /** A unique identifier for the client performing the mutation. */
31967
31876
  clientMutationId?: Maybe<Scalars['String']['output']>;
31968
31877
  };
31878
+ /** Autogenerated input type of UpdateRepositoryCustomProperty */
31879
+ export type UpdateRepositoryCustomPropertyInput = {
31880
+ /** The updated allowed values for the custom property. */
31881
+ allowedValues?: InputMaybe<Array<Scalars['String']['input']>>;
31882
+ /** A unique identifier for the client performing the mutation. */
31883
+ clientMutationId?: InputMaybe<Scalars['String']['input']>;
31884
+ /** The updated default value for the custom property if the property is required. */
31885
+ defaultValue?: InputMaybe<Scalars['String']['input']>;
31886
+ /** The updated description of the custom property. */
31887
+ description?: InputMaybe<Scalars['String']['input']>;
31888
+ /** The regex pattern that the value of the custom property must match, if the `value_type` is `string`. */
31889
+ regex?: InputMaybe<Scalars['String']['input']>;
31890
+ /** The global relay id of the source of the custom property. */
31891
+ repositoryCustomPropertyId: Scalars['ID']['input'];
31892
+ /** Whether the updated custom property is required. */
31893
+ required?: InputMaybe<Scalars['Boolean']['input']>;
31894
+ /** The updated actors who can edit the values of the custom property. */
31895
+ valuesEditableBy?: InputMaybe<RepositoryCustomPropertyValuesEditableBy>;
31896
+ };
31897
+ /** Autogenerated return type of UpdateRepositoryCustomProperty. */
31898
+ export type UpdateRepositoryCustomPropertyPayload = {
31899
+ __typename: 'UpdateRepositoryCustomPropertyPayload';
31900
+ /** A unique identifier for the client performing the mutation. */
31901
+ clientMutationId?: Maybe<Scalars['String']['output']>;
31902
+ /** The updated repository custom property. */
31903
+ repositoryCustomProperty?: Maybe<RepositoryCustomProperty>;
31904
+ };
31969
31905
  /** Autogenerated input type of UpdateRepository */
31970
31906
  export type UpdateRepositoryInput = {
31971
31907
  /** A unique identifier for the client performing the mutation. */
@@ -32099,51 +32035,6 @@ export type UpdateSubscriptionPayload = {
32099
32035
  /** The input subscribable entity. */
32100
32036
  subscribable?: Maybe<Subscribable>;
32101
32037
  };
32102
- /** Autogenerated input type of UpdateTeamDiscussionComment */
32103
- export type UpdateTeamDiscussionCommentInput = {
32104
- /** The updated text of the comment. */
32105
- body: Scalars['String']['input'];
32106
- /** The current version of the body content. */
32107
- bodyVersion?: InputMaybe<Scalars['String']['input']>;
32108
- /** A unique identifier for the client performing the mutation. */
32109
- clientMutationId?: InputMaybe<Scalars['String']['input']>;
32110
- /** The ID of the comment to modify. */
32111
- id: Scalars['ID']['input'];
32112
- };
32113
- /** Autogenerated return type of UpdateTeamDiscussionComment. */
32114
- export type UpdateTeamDiscussionCommentPayload = {
32115
- __typename: 'UpdateTeamDiscussionCommentPayload';
32116
- /** A unique identifier for the client performing the mutation. */
32117
- clientMutationId?: Maybe<Scalars['String']['output']>;
32118
- /** The updated comment. */
32119
- teamDiscussionComment?: Maybe<TeamDiscussionComment>;
32120
- };
32121
- /** Autogenerated input type of UpdateTeamDiscussion */
32122
- export type UpdateTeamDiscussionInput = {
32123
- /** The updated text of the discussion. */
32124
- body?: InputMaybe<Scalars['String']['input']>;
32125
- /**
32126
- * The current version of the body content. If provided, this update operation
32127
- * will be rejected if the given version does not match the latest version on the server.
32128
- */
32129
- bodyVersion?: InputMaybe<Scalars['String']['input']>;
32130
- /** A unique identifier for the client performing the mutation. */
32131
- clientMutationId?: InputMaybe<Scalars['String']['input']>;
32132
- /** The Node ID of the discussion to modify. */
32133
- id: Scalars['ID']['input'];
32134
- /** If provided, sets the pinned state of the updated discussion. */
32135
- pinned?: InputMaybe<Scalars['Boolean']['input']>;
32136
- /** The updated title of the discussion. */
32137
- title?: InputMaybe<Scalars['String']['input']>;
32138
- };
32139
- /** Autogenerated return type of UpdateTeamDiscussion. */
32140
- export type UpdateTeamDiscussionPayload = {
32141
- __typename: 'UpdateTeamDiscussionPayload';
32142
- /** A unique identifier for the client performing the mutation. */
32143
- clientMutationId?: Maybe<Scalars['String']['output']>;
32144
- /** The updated discussion. */
32145
- teamDiscussion?: Maybe<TeamDiscussion>;
32146
- };
32147
32038
  /** Autogenerated input type of UpdateTeamReviewAssignment */
32148
32039
  export type UpdateTeamReviewAssignmentInput = {
32149
32040
  /** The algorithm to use for review assignment */