github-schema 1.40.1 → 1.41.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4032,7 +4032,11 @@ type CreateDiscussionPayload = {
4032
4032
  };
4033
4033
  /** Autogenerated input type of CreateEnterpriseOrganization */
4034
4034
  type CreateEnterpriseOrganizationInput = {
4035
- /** The logins for the administrators of the new organization. */
4035
+ /**
4036
+ * The logins of additional organization owners. Listed users are invited unless
4037
+ * owner invitations are disabled, in which case they are added directly.
4038
+ * Installation requests also add existing enterprise members directly.
4039
+ */
4036
4040
  adminLogins: Array<Scalars['String']['input']>;
4037
4041
  /** The email used for sending billing receipts. */
4038
4042
  billingEmail: Scalars['String']['input'];
@@ -12753,7 +12757,11 @@ type Mutation = {
12753
12757
  /** Create a discussion. */
12754
12758
  createDiscussion?: Maybe<CreateDiscussionPayload>;
12755
12759
  /**
12756
- * Creates an organization as part of an enterprise account. A personal access
12760
+ * Creates an organization as part of an enterprise account. User-authenticated
12761
+ * requests make the viewer an owner. Users listed in `adminLogins` are invited
12762
+ * as owners unless owner invitations are disabled, in which case they are added
12763
+ * directly. Installation requests also add existing enterprise members directly.
12764
+ * Invitation failures do not roll back organization creation. A personal access
12757
12765
  * token used to create an organization is implicitly permitted to update the
12758
12766
  * organization it created, if the organization is part of an enterprise that has
12759
12767
  * SAML enabled or uses Enterprise Managed Users. If the organization is not part
@@ -18303,6 +18311,8 @@ type OrganizationInvitationRole =
18303
18311
  'REINSTATE';
18304
18312
  /** The possible organization invitation sources. */
18305
18313
  type OrganizationInvitationSource =
18314
+ /** The invitation was created with an enterprise organization */
18315
+ 'ENTERPRISE_ORGANIZATION_CREATION' |
18306
18316
  /** The invitation was created from the web interface or from API */
18307
18317
  'MEMBER' |
18308
18318
  /** The invitation was created from SCIM */
@@ -22709,6 +22719,8 @@ type PullRequestTimelineItemsItemType =
22709
22719
  'ADDED_TO_PROJECT_EVENT' |
22710
22720
  /** Represents a 'added_to_project_v2' event on a given issue or pull request. */
22711
22721
  'ADDED_TO_PROJECT_V2_EVENT' |
22722
+ /** Represents an 'added_to_stack' event on a given pull request. */
22723
+ 'ADDED_TO_STACK_EVENT' |
22712
22724
  /** Represents an 'archived' event on a given pull request. */
22713
22725
  'ARCHIVED_EVENT' |
22714
22726
  /** Represents an 'assigned' event on any assignable object. */
@@ -22829,6 +22841,8 @@ type PullRequestTimelineItemsItemType =
22829
22841
  'REMOVED_FROM_PROJECT_EVENT' |
22830
22842
  /** Represents a 'removed_from_project_v2' event on a given issue or pull request. */
22831
22843
  'REMOVED_FROM_PROJECT_V2_EVENT' |
22844
+ /** Represents a 'removed_from_stack' event on a given pull request. */
22845
+ 'REMOVED_FROM_STACK_EVENT' |
22832
22846
  /** Represents a 'renamed' event on a given issue or pull request */
22833
22847
  'RENAMED_TITLE_EVENT' |
22834
22848
  /** Represents a 'reopened' event on any `Closable`. */
@@ -27777,6 +27791,8 @@ type RepositoryRulesetBypassActor = Node & {
27777
27791
  enterpriseOwner: Scalars['Boolean']['output'];
27778
27792
  /** This actor represents the ability for an enterprise role to bypass */
27779
27793
  enterpriseRole: Scalars['Boolean']['output'];
27794
+ /** If the actor is an enterprise role, the enterprise role's ID that can bypass */
27795
+ enterpriseRoleDatabaseId?: Maybe<Scalars['BigInt']['output']>;
27780
27796
  /** The Node ID of the RepositoryRulesetBypassActor object */
27781
27797
  id: Scalars['ID']['output'];
27782
27798
  /** This actor represents the ability for an organization owner to bypass */
@@ -27817,9 +27833,9 @@ type RepositoryRulesetBypassActorEdge = {
27817
27833
  node?: Maybe<RepositoryRulesetBypassActor>;
27818
27834
  };
27819
27835
  /**
27820
- * Specifies the attributes for a new or updated ruleset bypass actor. Only one of
27821
- * `actor_id`, `repository_role_database_id`, `organization_admin`,
27822
- * `enterprise_owner`, or `deploy_key` should be specified.
27836
+ * Specifies the attributes for a new or updated ruleset bypass actor. Exactly one
27837
+ * of `actor_id`, `repository_role_database_id`, `organization_admin`,
27838
+ * `enterprise_owner`, `enterprise_role_database_id`, or `deploy_key` should be specified.
27823
27839
  */
27824
27840
  type RepositoryRulesetBypassActorInput = {
27825
27841
  /** For Team, Integration and User bypasses, the Team, Integration, or User ID */
@@ -27830,8 +27846,13 @@ type RepositoryRulesetBypassActorInput = {
27830
27846
  deployKey?: InputMaybe<Scalars['Boolean']['input']>;
27831
27847
  /** For enterprise owner bypasses, true */
27832
27848
  enterpriseOwner?: InputMaybe<Scalars['Boolean']['input']>;
27833
- /** For enterprise role bypasses, true. NOTE: This bypass actor is in beta. */
27849
+ /**
27850
+ * For enterprise role bypasses, true. NOTE: This bypass actor is in beta.
27851
+ * @deprecated Use enterpriseRoleDatabaseId.
27852
+ */
27834
27853
  enterpriseRole?: InputMaybe<Scalars['Boolean']['input']>;
27854
+ /** For enterprise role bypasses, the enterprise role database ID. NOTE: This bypass actor is in beta. */
27855
+ enterpriseRoleDatabaseId?: InputMaybe<Scalars['BigInt']['input']>;
27835
27856
  /** For organization owner bypasses, true */
27836
27857
  organizationAdmin?: InputMaybe<Scalars['Boolean']['input']>;
27837
27858
  /** For role bypasses, the role database ID */
@@ -4032,7 +4032,11 @@ type CreateDiscussionPayload = {
4032
4032
  };
4033
4033
  /** Autogenerated input type of CreateEnterpriseOrganization */
4034
4034
  type CreateEnterpriseOrganizationInput = {
4035
- /** The logins for the administrators of the new organization. */
4035
+ /**
4036
+ * The logins of additional organization owners. Listed users are invited unless
4037
+ * owner invitations are disabled, in which case they are added directly.
4038
+ * Installation requests also add existing enterprise members directly.
4039
+ */
4036
4040
  adminLogins: Array<Scalars['String']['input']>;
4037
4041
  /** The email used for sending billing receipts. */
4038
4042
  billingEmail: Scalars['String']['input'];
@@ -12753,7 +12757,11 @@ type Mutation = {
12753
12757
  /** Create a discussion. */
12754
12758
  createDiscussion?: Maybe<CreateDiscussionPayload>;
12755
12759
  /**
12756
- * Creates an organization as part of an enterprise account. A personal access
12760
+ * Creates an organization as part of an enterprise account. User-authenticated
12761
+ * requests make the viewer an owner. Users listed in `adminLogins` are invited
12762
+ * as owners unless owner invitations are disabled, in which case they are added
12763
+ * directly. Installation requests also add existing enterprise members directly.
12764
+ * Invitation failures do not roll back organization creation. A personal access
12757
12765
  * token used to create an organization is implicitly permitted to update the
12758
12766
  * organization it created, if the organization is part of an enterprise that has
12759
12767
  * SAML enabled or uses Enterprise Managed Users. If the organization is not part
@@ -18303,6 +18311,8 @@ type OrganizationInvitationRole =
18303
18311
  'REINSTATE';
18304
18312
  /** The possible organization invitation sources. */
18305
18313
  type OrganizationInvitationSource =
18314
+ /** The invitation was created with an enterprise organization */
18315
+ 'ENTERPRISE_ORGANIZATION_CREATION' |
18306
18316
  /** The invitation was created from the web interface or from API */
18307
18317
  'MEMBER' |
18308
18318
  /** The invitation was created from SCIM */
@@ -22709,6 +22719,8 @@ type PullRequestTimelineItemsItemType =
22709
22719
  'ADDED_TO_PROJECT_EVENT' |
22710
22720
  /** Represents a 'added_to_project_v2' event on a given issue or pull request. */
22711
22721
  'ADDED_TO_PROJECT_V2_EVENT' |
22722
+ /** Represents an 'added_to_stack' event on a given pull request. */
22723
+ 'ADDED_TO_STACK_EVENT' |
22712
22724
  /** Represents an 'archived' event on a given pull request. */
22713
22725
  'ARCHIVED_EVENT' |
22714
22726
  /** Represents an 'assigned' event on any assignable object. */
@@ -22829,6 +22841,8 @@ type PullRequestTimelineItemsItemType =
22829
22841
  'REMOVED_FROM_PROJECT_EVENT' |
22830
22842
  /** Represents a 'removed_from_project_v2' event on a given issue or pull request. */
22831
22843
  'REMOVED_FROM_PROJECT_V2_EVENT' |
22844
+ /** Represents a 'removed_from_stack' event on a given pull request. */
22845
+ 'REMOVED_FROM_STACK_EVENT' |
22832
22846
  /** Represents a 'renamed' event on a given issue or pull request */
22833
22847
  'RENAMED_TITLE_EVENT' |
22834
22848
  /** Represents a 'reopened' event on any `Closable`. */
@@ -27777,6 +27791,8 @@ type RepositoryRulesetBypassActor = Node & {
27777
27791
  enterpriseOwner: Scalars['Boolean']['output'];
27778
27792
  /** This actor represents the ability for an enterprise role to bypass */
27779
27793
  enterpriseRole: Scalars['Boolean']['output'];
27794
+ /** If the actor is an enterprise role, the enterprise role's ID that can bypass */
27795
+ enterpriseRoleDatabaseId?: Maybe<Scalars['BigInt']['output']>;
27780
27796
  /** The Node ID of the RepositoryRulesetBypassActor object */
27781
27797
  id: Scalars['ID']['output'];
27782
27798
  /** This actor represents the ability for an organization owner to bypass */
@@ -27817,9 +27833,9 @@ type RepositoryRulesetBypassActorEdge = {
27817
27833
  node?: Maybe<RepositoryRulesetBypassActor>;
27818
27834
  };
27819
27835
  /**
27820
- * Specifies the attributes for a new or updated ruleset bypass actor. Only one of
27821
- * `actor_id`, `repository_role_database_id`, `organization_admin`,
27822
- * `enterprise_owner`, or `deploy_key` should be specified.
27836
+ * Specifies the attributes for a new or updated ruleset bypass actor. Exactly one
27837
+ * of `actor_id`, `repository_role_database_id`, `organization_admin`,
27838
+ * `enterprise_owner`, `enterprise_role_database_id`, or `deploy_key` should be specified.
27823
27839
  */
27824
27840
  type RepositoryRulesetBypassActorInput = {
27825
27841
  /** For Team, Integration and User bypasses, the Team, Integration, or User ID */
@@ -27830,8 +27846,13 @@ type RepositoryRulesetBypassActorInput = {
27830
27846
  deployKey?: InputMaybe<Scalars['Boolean']['input']>;
27831
27847
  /** For enterprise owner bypasses, true */
27832
27848
  enterpriseOwner?: InputMaybe<Scalars['Boolean']['input']>;
27833
- /** For enterprise role bypasses, true. NOTE: This bypass actor is in beta. */
27849
+ /**
27850
+ * For enterprise role bypasses, true. NOTE: This bypass actor is in beta.
27851
+ * @deprecated Use enterpriseRoleDatabaseId.
27852
+ */
27834
27853
  enterpriseRole?: InputMaybe<Scalars['Boolean']['input']>;
27854
+ /** For enterprise role bypasses, the enterprise role database ID. NOTE: This bypass actor is in beta. */
27855
+ enterpriseRoleDatabaseId?: InputMaybe<Scalars['BigInt']['input']>;
27835
27856
  /** For organization owner bypasses, true */
27836
27857
  organizationAdmin?: InputMaybe<Scalars['Boolean']['input']>;
27837
27858
  /** For role bypasses, the role database ID */
@@ -8183,7 +8183,9 @@ Autogenerated input type of CreateEnterpriseOrganization
8183
8183
  """
8184
8184
  input CreateEnterpriseOrganizationInput {
8185
8185
  """
8186
- The logins for the administrators of the new organization.
8186
+ The logins of additional organization owners. Listed users are invited unless
8187
+ owner invitations are disabled, in which case they are added directly.
8188
+ Installation requests also add existing enterprise members directly.
8187
8189
  """
8188
8190
  adminLogins: [String!]!
8189
8191
 
@@ -27287,7 +27289,11 @@ type Mutation {
27287
27289
  ): CreateDiscussionPayload
27288
27290
 
27289
27291
  """
27290
- Creates an organization as part of an enterprise account. A personal access
27292
+ Creates an organization as part of an enterprise account. User-authenticated
27293
+ requests make the viewer an owner. Users listed in `adminLogins` are invited
27294
+ as owners unless owner invitations are disabled, in which case they are added
27295
+ directly. Installation requests also add existing enterprise members directly.
27296
+ Invitation failures do not roll back organization creation. A personal access
27291
27297
  token used to create an organization is implicitly permitted to update the
27292
27298
  organization it created, if the organization is part of an enterprise that has
27293
27299
  SAML enabled or uses Enterprise Managed Users. If the organization is not part
@@ -35096,6 +35102,11 @@ enum OrganizationInvitationRole {
35096
35102
  The possible organization invitation sources.
35097
35103
  """
35098
35104
  enum OrganizationInvitationSource {
35105
+ """
35106
+ The invitation was created with an enterprise organization
35107
+ """
35108
+ ENTERPRISE_ORGANIZATION_CREATION
35109
+
35099
35110
  """
35100
35111
  The invitation was created from the web interface or from API
35101
35112
  """
@@ -44630,6 +44641,11 @@ enum PullRequestTimelineItemsItemType {
44630
44641
  """
44631
44642
  ADDED_TO_PROJECT_V2_EVENT
44632
44643
 
44644
+ """
44645
+ Represents an 'added_to_stack' event on a given pull request.
44646
+ """
44647
+ ADDED_TO_STACK_EVENT
44648
+
44633
44649
  """
44634
44650
  Represents an 'archived' event on a given pull request.
44635
44651
  """
@@ -44930,6 +44946,11 @@ enum PullRequestTimelineItemsItemType {
44930
44946
  """
44931
44947
  REMOVED_FROM_PROJECT_V2_EVENT
44932
44948
 
44949
+ """
44950
+ Represents a 'removed_from_stack' event on a given pull request.
44951
+ """
44952
+ REMOVED_FROM_STACK_EVENT
44953
+
44933
44954
  """
44934
44955
  Represents a 'renamed' event on a given issue or pull request
44935
44956
  """
@@ -54210,6 +54231,11 @@ type RepositoryRulesetBypassActor implements Node {
54210
54231
  """
54211
54232
  enterpriseRole: Boolean!
54212
54233
 
54234
+ """
54235
+ If the actor is an enterprise role, the enterprise role's ID that can bypass
54236
+ """
54237
+ enterpriseRoleDatabaseId: BigInt
54238
+
54213
54239
  """
54214
54240
  The Node ID of the RepositoryRulesetBypassActor object
54215
54241
  """
@@ -54297,9 +54323,9 @@ type RepositoryRulesetBypassActorEdge {
54297
54323
  }
54298
54324
 
54299
54325
  """
54300
- Specifies the attributes for a new or updated ruleset bypass actor. Only one of
54301
- `actor_id`, `repository_role_database_id`, `organization_admin`,
54302
- `enterprise_owner`, or `deploy_key` should be specified.
54326
+ Specifies the attributes for a new or updated ruleset bypass actor. Exactly one
54327
+ of `actor_id`, `repository_role_database_id`, `organization_admin`,
54328
+ `enterprise_owner`, `enterprise_role_database_id`, or `deploy_key` should be specified.
54303
54329
  """
54304
54330
  input RepositoryRulesetBypassActorInput {
54305
54331
  """
@@ -54325,7 +54351,12 @@ input RepositoryRulesetBypassActorInput {
54325
54351
  """
54326
54352
  For enterprise role bypasses, true. NOTE: This bypass actor is in beta.
54327
54353
  """
54328
- enterpriseRole: Boolean
54354
+ enterpriseRole: Boolean @deprecated(reason: "Use enterpriseRoleDatabaseId.")
54355
+
54356
+ """
54357
+ For enterprise role bypasses, the enterprise role database ID. NOTE: This bypass actor is in beta.
54358
+ """
54359
+ enterpriseRoleDatabaseId: BigInt
54329
54360
 
54330
54361
  """
54331
54362
  For organization owner bypasses, true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "github-schema",
3
- "version": "1.40.1",
3
+ "version": "1.41.0",
4
4
  "description": "GitHub's GraphQL schema",
5
5
  "keywords": [
6
6
  "github",