github-schema 1.40.0 → 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'];
@@ -4074,7 +4078,11 @@ type CreateEnvironmentPayload = {
4074
4078
  };
4075
4079
  /** Autogenerated input type of CreateIpAllowListEntry */
4076
4080
  type CreateIpAllowListEntryInput = {
4077
- /** An IP address or range of addresses in CIDR notation. */
4081
+ /**
4082
+ * An IP address or range of addresses in CIDR notation. Ranges that cover the
4083
+ * entire address space, such as `0.0.0.0/0` or `::/0`, are not accepted for
4084
+ * organizations or enterprises.
4085
+ */
4078
4086
  allowListValue: Scalars['String']['input'];
4079
4087
  /** A unique identifier for the client performing the mutation. */
4080
4088
  clientMutationId?: InputMaybe<Scalars['String']['input']>;
@@ -12749,7 +12757,11 @@ type Mutation = {
12749
12757
  /** Create a discussion. */
12750
12758
  createDiscussion?: Maybe<CreateDiscussionPayload>;
12751
12759
  /**
12752
- * 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
12753
12765
  * token used to create an organization is implicitly permitted to update the
12754
12766
  * organization it created, if the organization is part of an enterprise that has
12755
12767
  * SAML enabled or uses Enterprise Managed Users. If the organization is not part
@@ -18299,6 +18311,8 @@ type OrganizationInvitationRole =
18299
18311
  'REINSTATE';
18300
18312
  /** The possible organization invitation sources. */
18301
18313
  type OrganizationInvitationSource =
18314
+ /** The invitation was created with an enterprise organization */
18315
+ 'ENTERPRISE_ORGANIZATION_CREATION' |
18302
18316
  /** The invitation was created from the web interface or from API */
18303
18317
  'MEMBER' |
18304
18318
  /** The invitation was created from SCIM */
@@ -22705,6 +22719,8 @@ type PullRequestTimelineItemsItemType =
22705
22719
  'ADDED_TO_PROJECT_EVENT' |
22706
22720
  /** Represents a 'added_to_project_v2' event on a given issue or pull request. */
22707
22721
  'ADDED_TO_PROJECT_V2_EVENT' |
22722
+ /** Represents an 'added_to_stack' event on a given pull request. */
22723
+ 'ADDED_TO_STACK_EVENT' |
22708
22724
  /** Represents an 'archived' event on a given pull request. */
22709
22725
  'ARCHIVED_EVENT' |
22710
22726
  /** Represents an 'assigned' event on any assignable object. */
@@ -22825,6 +22841,8 @@ type PullRequestTimelineItemsItemType =
22825
22841
  'REMOVED_FROM_PROJECT_EVENT' |
22826
22842
  /** Represents a 'removed_from_project_v2' event on a given issue or pull request. */
22827
22843
  'REMOVED_FROM_PROJECT_V2_EVENT' |
22844
+ /** Represents a 'removed_from_stack' event on a given pull request. */
22845
+ 'REMOVED_FROM_STACK_EVENT' |
22828
22846
  /** Represents a 'renamed' event on a given issue or pull request */
22829
22847
  'RENAMED_TITLE_EVENT' |
22830
22848
  /** Represents a 'reopened' event on any `Closable`. */
@@ -27773,6 +27791,8 @@ type RepositoryRulesetBypassActor = Node & {
27773
27791
  enterpriseOwner: Scalars['Boolean']['output'];
27774
27792
  /** This actor represents the ability for an enterprise role to bypass */
27775
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']>;
27776
27796
  /** The Node ID of the RepositoryRulesetBypassActor object */
27777
27797
  id: Scalars['ID']['output'];
27778
27798
  /** This actor represents the ability for an organization owner to bypass */
@@ -27813,9 +27833,9 @@ type RepositoryRulesetBypassActorEdge = {
27813
27833
  node?: Maybe<RepositoryRulesetBypassActor>;
27814
27834
  };
27815
27835
  /**
27816
- * Specifies the attributes for a new or updated ruleset bypass actor. Only one of
27817
- * `actor_id`, `repository_role_database_id`, `organization_admin`,
27818
- * `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.
27819
27839
  */
27820
27840
  type RepositoryRulesetBypassActorInput = {
27821
27841
  /** For Team, Integration and User bypasses, the Team, Integration, or User ID */
@@ -27826,8 +27846,13 @@ type RepositoryRulesetBypassActorInput = {
27826
27846
  deployKey?: InputMaybe<Scalars['Boolean']['input']>;
27827
27847
  /** For enterprise owner bypasses, true */
27828
27848
  enterpriseOwner?: InputMaybe<Scalars['Boolean']['input']>;
27829
- /** 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
+ */
27830
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']>;
27831
27856
  /** For organization owner bypasses, true */
27832
27857
  organizationAdmin?: InputMaybe<Scalars['Boolean']['input']>;
27833
27858
  /** For role bypasses, the role database ID */
@@ -33216,7 +33241,11 @@ type UpdateIpAllowListEnabledSettingPayload = {
33216
33241
  };
33217
33242
  /** Autogenerated input type of UpdateIpAllowListEntry */
33218
33243
  type UpdateIpAllowListEntryInput = {
33219
- /** An IP address or range of addresses in CIDR notation. */
33244
+ /**
33245
+ * An IP address or range of addresses in CIDR notation. Ranges that cover the
33246
+ * entire address space, such as `0.0.0.0/0` or `::/0`, are not accepted for
33247
+ * organizations or enterprises.
33248
+ */
33220
33249
  allowListValue: Scalars['String']['input'];
33221
33250
  /** A unique identifier for the client performing the mutation. */
33222
33251
  clientMutationId?: InputMaybe<Scalars['String']['input']>;
@@ -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'];
@@ -4074,7 +4078,11 @@ type CreateEnvironmentPayload = {
4074
4078
  };
4075
4079
  /** Autogenerated input type of CreateIpAllowListEntry */
4076
4080
  type CreateIpAllowListEntryInput = {
4077
- /** An IP address or range of addresses in CIDR notation. */
4081
+ /**
4082
+ * An IP address or range of addresses in CIDR notation. Ranges that cover the
4083
+ * entire address space, such as `0.0.0.0/0` or `::/0`, are not accepted for
4084
+ * organizations or enterprises.
4085
+ */
4078
4086
  allowListValue: Scalars['String']['input'];
4079
4087
  /** A unique identifier for the client performing the mutation. */
4080
4088
  clientMutationId?: InputMaybe<Scalars['String']['input']>;
@@ -12749,7 +12757,11 @@ type Mutation = {
12749
12757
  /** Create a discussion. */
12750
12758
  createDiscussion?: Maybe<CreateDiscussionPayload>;
12751
12759
  /**
12752
- * 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
12753
12765
  * token used to create an organization is implicitly permitted to update the
12754
12766
  * organization it created, if the organization is part of an enterprise that has
12755
12767
  * SAML enabled or uses Enterprise Managed Users. If the organization is not part
@@ -18299,6 +18311,8 @@ type OrganizationInvitationRole =
18299
18311
  'REINSTATE';
18300
18312
  /** The possible organization invitation sources. */
18301
18313
  type OrganizationInvitationSource =
18314
+ /** The invitation was created with an enterprise organization */
18315
+ 'ENTERPRISE_ORGANIZATION_CREATION' |
18302
18316
  /** The invitation was created from the web interface or from API */
18303
18317
  'MEMBER' |
18304
18318
  /** The invitation was created from SCIM */
@@ -22705,6 +22719,8 @@ type PullRequestTimelineItemsItemType =
22705
22719
  'ADDED_TO_PROJECT_EVENT' |
22706
22720
  /** Represents a 'added_to_project_v2' event on a given issue or pull request. */
22707
22721
  'ADDED_TO_PROJECT_V2_EVENT' |
22722
+ /** Represents an 'added_to_stack' event on a given pull request. */
22723
+ 'ADDED_TO_STACK_EVENT' |
22708
22724
  /** Represents an 'archived' event on a given pull request. */
22709
22725
  'ARCHIVED_EVENT' |
22710
22726
  /** Represents an 'assigned' event on any assignable object. */
@@ -22825,6 +22841,8 @@ type PullRequestTimelineItemsItemType =
22825
22841
  'REMOVED_FROM_PROJECT_EVENT' |
22826
22842
  /** Represents a 'removed_from_project_v2' event on a given issue or pull request. */
22827
22843
  'REMOVED_FROM_PROJECT_V2_EVENT' |
22844
+ /** Represents a 'removed_from_stack' event on a given pull request. */
22845
+ 'REMOVED_FROM_STACK_EVENT' |
22828
22846
  /** Represents a 'renamed' event on a given issue or pull request */
22829
22847
  'RENAMED_TITLE_EVENT' |
22830
22848
  /** Represents a 'reopened' event on any `Closable`. */
@@ -27773,6 +27791,8 @@ type RepositoryRulesetBypassActor = Node & {
27773
27791
  enterpriseOwner: Scalars['Boolean']['output'];
27774
27792
  /** This actor represents the ability for an enterprise role to bypass */
27775
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']>;
27776
27796
  /** The Node ID of the RepositoryRulesetBypassActor object */
27777
27797
  id: Scalars['ID']['output'];
27778
27798
  /** This actor represents the ability for an organization owner to bypass */
@@ -27813,9 +27833,9 @@ type RepositoryRulesetBypassActorEdge = {
27813
27833
  node?: Maybe<RepositoryRulesetBypassActor>;
27814
27834
  };
27815
27835
  /**
27816
- * Specifies the attributes for a new or updated ruleset bypass actor. Only one of
27817
- * `actor_id`, `repository_role_database_id`, `organization_admin`,
27818
- * `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.
27819
27839
  */
27820
27840
  type RepositoryRulesetBypassActorInput = {
27821
27841
  /** For Team, Integration and User bypasses, the Team, Integration, or User ID */
@@ -27826,8 +27846,13 @@ type RepositoryRulesetBypassActorInput = {
27826
27846
  deployKey?: InputMaybe<Scalars['Boolean']['input']>;
27827
27847
  /** For enterprise owner bypasses, true */
27828
27848
  enterpriseOwner?: InputMaybe<Scalars['Boolean']['input']>;
27829
- /** 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
+ */
27830
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']>;
27831
27856
  /** For organization owner bypasses, true */
27832
27857
  organizationAdmin?: InputMaybe<Scalars['Boolean']['input']>;
27833
27858
  /** For role bypasses, the role database ID */
@@ -33216,7 +33241,11 @@ type UpdateIpAllowListEnabledSettingPayload = {
33216
33241
  };
33217
33242
  /** Autogenerated input type of UpdateIpAllowListEntry */
33218
33243
  type UpdateIpAllowListEntryInput = {
33219
- /** An IP address or range of addresses in CIDR notation. */
33244
+ /**
33245
+ * An IP address or range of addresses in CIDR notation. Ranges that cover the
33246
+ * entire address space, such as `0.0.0.0/0` or `::/0`, are not accepted for
33247
+ * organizations or enterprises.
33248
+ */
33220
33249
  allowListValue: Scalars['String']['input'];
33221
33250
  /** A unique identifier for the client performing the mutation. */
33222
33251
  clientMutationId?: InputMaybe<Scalars['String']['input']>;
@@ -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
 
@@ -8273,7 +8275,9 @@ Autogenerated input type of CreateIpAllowListEntry
8273
8275
  """
8274
8276
  input CreateIpAllowListEntryInput {
8275
8277
  """
8276
- An IP address or range of addresses in CIDR notation.
8278
+ An IP address or range of addresses in CIDR notation. Ranges that cover the
8279
+ entire address space, such as `0.0.0.0/0` or `::/0`, are not accepted for
8280
+ organizations or enterprises.
8277
8281
  """
8278
8282
  allowListValue: String!
8279
8283
 
@@ -27285,7 +27289,11 @@ type Mutation {
27285
27289
  ): CreateDiscussionPayload
27286
27290
 
27287
27291
  """
27288
- 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
27289
27297
  token used to create an organization is implicitly permitted to update the
27290
27298
  organization it created, if the organization is part of an enterprise that has
27291
27299
  SAML enabled or uses Enterprise Managed Users. If the organization is not part
@@ -35094,6 +35102,11 @@ enum OrganizationInvitationRole {
35094
35102
  The possible organization invitation sources.
35095
35103
  """
35096
35104
  enum OrganizationInvitationSource {
35105
+ """
35106
+ The invitation was created with an enterprise organization
35107
+ """
35108
+ ENTERPRISE_ORGANIZATION_CREATION
35109
+
35097
35110
  """
35098
35111
  The invitation was created from the web interface or from API
35099
35112
  """
@@ -44628,6 +44641,11 @@ enum PullRequestTimelineItemsItemType {
44628
44641
  """
44629
44642
  ADDED_TO_PROJECT_V2_EVENT
44630
44643
 
44644
+ """
44645
+ Represents an 'added_to_stack' event on a given pull request.
44646
+ """
44647
+ ADDED_TO_STACK_EVENT
44648
+
44631
44649
  """
44632
44650
  Represents an 'archived' event on a given pull request.
44633
44651
  """
@@ -44928,6 +44946,11 @@ enum PullRequestTimelineItemsItemType {
44928
44946
  """
44929
44947
  REMOVED_FROM_PROJECT_V2_EVENT
44930
44948
 
44949
+ """
44950
+ Represents a 'removed_from_stack' event on a given pull request.
44951
+ """
44952
+ REMOVED_FROM_STACK_EVENT
44953
+
44931
44954
  """
44932
44955
  Represents a 'renamed' event on a given issue or pull request
44933
44956
  """
@@ -54208,6 +54231,11 @@ type RepositoryRulesetBypassActor implements Node {
54208
54231
  """
54209
54232
  enterpriseRole: Boolean!
54210
54233
 
54234
+ """
54235
+ If the actor is an enterprise role, the enterprise role's ID that can bypass
54236
+ """
54237
+ enterpriseRoleDatabaseId: BigInt
54238
+
54211
54239
  """
54212
54240
  The Node ID of the RepositoryRulesetBypassActor object
54213
54241
  """
@@ -54295,9 +54323,9 @@ type RepositoryRulesetBypassActorEdge {
54295
54323
  }
54296
54324
 
54297
54325
  """
54298
- Specifies the attributes for a new or updated ruleset bypass actor. Only one of
54299
- `actor_id`, `repository_role_database_id`, `organization_admin`,
54300
- `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.
54301
54329
  """
54302
54330
  input RepositoryRulesetBypassActorInput {
54303
54331
  """
@@ -54323,7 +54351,12 @@ input RepositoryRulesetBypassActorInput {
54323
54351
  """
54324
54352
  For enterprise role bypasses, true. NOTE: This bypass actor is in beta.
54325
54353
  """
54326
- 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
54327
54360
 
54328
54361
  """
54329
54362
  For organization owner bypasses, true
@@ -65399,7 +65432,9 @@ Autogenerated input type of UpdateIpAllowListEntry
65399
65432
  """
65400
65433
  input UpdateIpAllowListEntryInput {
65401
65434
  """
65402
- An IP address or range of addresses in CIDR notation.
65435
+ An IP address or range of addresses in CIDR notation. Ranges that cover the
65436
+ entire address space, such as `0.0.0.0/0` or `::/0`, are not accepted for
65437
+ organizations or enterprises.
65403
65438
  """
65404
65439
  allowListValue: String!
65405
65440
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "github-schema",
3
- "version": "1.40.0",
3
+ "version": "1.41.0",
4
4
  "description": "GitHub's GraphQL schema",
5
5
  "keywords": [
6
6
  "github",