1
0
mirror of synced 2026-01-07 00:01:39 -05:00

Merge branch 'main' into enterprise-owners-do-not-consume-licenses

This commit is contained in:
Janice
2021-02-01 13:05:53 -07:00
committed by GitHub
6 changed files with 213 additions and 2 deletions

View File

@@ -29762,6 +29762,11 @@ type SecurityAdvisory implements Node {
"""
identifiers: [SecurityAdvisoryIdentifier!]!
"""
The permalink for the advisory's dependabot alerts page
"""
notificationsPermalink: URI
"""
The organization that originated the advisory
"""

View File

@@ -8857,6 +8857,11 @@ type EnterpriseOwnerInfo {
value: Boolean!
): OrganizationConnection!
"""
Indicates if email notification delivery for this enterprise is restricted to verified domains.
"""
notificationDeliveryRestrictionEnabledSetting: NotificationRestrictionSettingValue!
"""
The setting value for whether organization projects are enabled for organizations in this enterprise.
"""
@@ -15709,6 +15714,11 @@ type Mutation {
"""
updateLabel(input: UpdateLabelInput!): UpdateLabelPayload @preview(toggledBy: "bane-preview")
"""
Update the setting to restrict notifications to only verified domains available to an owner.
"""
updateNotificationRestrictionSetting(input: UpdateNotificationRestrictionSettingInput!): UpdateNotificationRestrictionSettingPayload
"""
Updates an existing project.
"""
@@ -15812,6 +15822,21 @@ interface Node {
id: ID!
}
"""
The possible values for the notification restriction setting.
"""
enum NotificationRestrictionSettingValue {
"""
The setting is disabled for the owner.
"""
DISABLED
"""
The setting is enabled for the owner.
"""
ENABLED
}
"""
Metadata for an audit entry with action oauth_application.*
"""
@@ -19254,6 +19279,11 @@ type Organization implements Actor & MemberStatusable & Node & PackageOwner & Pr
"""
newTeamUrl: URI!
"""
Indicates if email notification delivery for this organization is restricted to verified domains.
"""
notificationDeliveryRestrictionEnabledSetting: NotificationRestrictionSettingValue!
"""
The billing email for the organization.
"""
@@ -32118,6 +32148,11 @@ type SecurityAdvisory implements Node {
"""
identifiers: [SecurityAdvisoryIdentifier!]!
"""
The permalink for the advisory's dependabot alerts page
"""
notificationsPermalink: URI
"""
The organization that originated the advisory
"""
@@ -37761,6 +37796,41 @@ type UpdateLabelPayload @preview(toggledBy: "bane-preview") {
label: Label
}
"""
Autogenerated input type of UpdateNotificationRestrictionSetting
"""
input UpdateNotificationRestrictionSettingInput {
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String
"""
The ID of the owner on which to set the restrict notifications setting.
"""
ownerId: ID! @possibleTypes(concreteTypes: ["Enterprise", "Organization"], abstractType: "VerifiableDomainOwner")
"""
The value for the restrict notifications setting.
"""
settingValue: NotificationRestrictionSettingValue!
}
"""
Autogenerated return type of UpdateNotificationRestrictionSetting
"""
type UpdateNotificationRestrictionSettingPayload {
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String
"""
The owner on which the setting was updated.
"""
owner: VerifiableDomainOwner
}
"""
Autogenerated input type of UpdateProjectCard
"""

View File

@@ -1,4 +1,23 @@
[
{
"schemaChanges": [
{
"title": "The GraphQL schema includes these changes:",
"changes": [
"Type `NotificationRestrictionSettingValue` was added",
"Type `UpdateNotificationRestrictionSettingInput` was added",
"Type `UpdateNotificationRestrictionSettingPayload` was added",
"Field `notificationDeliveryRestrictionEnabledSetting` was added to object type `Organization`",
"Field `notificationsPermalink` was added to object type `SecurityAdvisory`",
"Field `notificationDeliveryRestrictionEnabledSetting` was added to object type `EnterpriseOwnerInfo`",
"Field `updateNotificationRestrictionSetting` was added to object type `Mutation`"
]
}
],
"previewChanges": [],
"upcomingChanges": [],
"date": "2021-02-01"
},
{
"schemaChanges": [
{

File diff suppressed because one or more lines are too long

View File

@@ -5464,6 +5464,40 @@
}
]
},
{
"name": "updateNotificationRestrictionSetting",
"kind": "mutations",
"id": "updatenotificationrestrictionsetting",
"href": "/graphql/reference/mutations#updatenotificationrestrictionsetting",
"description": "<p>Update the setting to restrict notifications to only verified domains available to an owner.</p>",
"inputFields": [
{
"name": "input",
"type": "UpdateNotificationRestrictionSettingInput!",
"id": "updatenotificationrestrictionsettinginput",
"kind": "input-objects",
"href": "/graphql/reference/input-objects#updatenotificationrestrictionsettinginput"
}
],
"returnFields": [
{
"name": "clientMutationId",
"type": "String",
"id": "string",
"kind": "scalars",
"href": "/graphql/reference/scalars#string",
"description": "<p>A unique identifier for the client performing the mutation.</p>"
},
{
"name": "owner",
"type": "VerifiableDomainOwner",
"id": "verifiabledomainowner",
"kind": "unions",
"href": "/graphql/reference/unions#verifiabledomainowner",
"description": "<p>The owner on which the setting was updated.</p>"
}
]
},
{
"name": "updateProject",
"kind": "mutations",
@@ -15593,6 +15627,14 @@
}
]
},
{
"name": "notificationDeliveryRestrictionEnabledSetting",
"description": "<p>Indicates if email notification delivery for this enterprise is restricted to verified domains.</p>",
"type": "NotificationRestrictionSettingValue!",
"id": "notificationrestrictionsettingvalue",
"kind": "enums",
"href": "/graphql/reference/enums#notificationrestrictionsettingvalue"
},
{
"name": "organizationProjectsSetting",
"description": "<p>The setting value for whether organization projects are enabled for organizations in this enterprise.</p>",
@@ -29525,6 +29567,14 @@
"kind": "scalars",
"href": "/graphql/reference/scalars#uri"
},
{
"name": "notificationDeliveryRestrictionEnabledSetting",
"description": "<p>Indicates if email notification delivery for this organization is restricted to verified domains.</p>",
"type": "NotificationRestrictionSettingValue!",
"id": "notificationrestrictionsettingvalue",
"kind": "enums",
"href": "/graphql/reference/enums#notificationrestrictionsettingvalue"
},
{
"name": "organizationBillingEmail",
"description": "<p>The billing email for the organization.</p>",
@@ -46925,6 +46975,14 @@
"kind": "objects",
"href": "/graphql/reference/objects#securityadvisoryidentifier"
},
{
"name": "notificationsPermalink",
"description": "<p>The permalink for the advisory's dependabot alerts page.</p>",
"type": "URI",
"id": "uri",
"kind": "scalars",
"href": "/graphql/reference/scalars#uri"
},
{
"name": "origin",
"description": "<p>The organization that originated the advisory.</p>",
@@ -59111,6 +59169,23 @@
}
]
},
{
"name": "NotificationRestrictionSettingValue",
"kind": "enums",
"id": "notificationrestrictionsettingvalue",
"href": "/graphql/reference/enums#notificationrestrictionsettingvalue",
"description": "<p>The possible values for the notification restriction setting.</p>",
"values": [
{
"name": "DISABLED",
"description": "<p>The setting is disabled for the owner.</p>"
},
{
"name": "ENABLED",
"description": "<p>The setting is enabled for the owner.</p>"
}
]
},
{
"name": "OauthApplicationCreateAuditEntryState",
"kind": "enums",
@@ -69789,6 +69864,40 @@
}
]
},
{
"name": "UpdateNotificationRestrictionSettingInput",
"kind": "inputObjects",
"id": "updatenotificationrestrictionsettinginput",
"href": "/graphql/reference/input-objects#updatenotificationrestrictionsettinginput",
"description": "<p>Autogenerated input type of UpdateNotificationRestrictionSetting.</p>",
"inputFields": [
{
"name": "clientMutationId",
"description": "<p>A unique identifier for the client performing the mutation.</p>",
"type": "String",
"id": "string",
"kind": "scalars",
"href": "/graphql/reference/scalars#string"
},
{
"name": "ownerId",
"description": "<p>The ID of the owner on which to set the restrict notifications setting.</p>",
"type": "ID!",
"id": "id",
"kind": "scalars",
"href": "/graphql/reference/scalars#id",
"isDeprecated": false
},
{
"name": "settingValue",
"description": "<p>The value for the restrict notifications setting.</p>",
"type": "NotificationRestrictionSettingValue!",
"id": "notificationrestrictionsettingvalue",
"kind": "enums",
"href": "/graphql/reference/enums#notificationrestrictionsettingvalue"
}
]
},
{
"name": "UpdateProjectCardInput",
"kind": "inputObjects",

View File

@@ -43579,6 +43579,14 @@
"kind": "objects",
"href": "/graphql/reference/objects#securityadvisoryidentifier"
},
{
"name": "notificationsPermalink",
"description": "<p>The permalink for the advisory's dependabot alerts page.</p>",
"type": "URI",
"id": "uri",
"kind": "scalars",
"href": "/graphql/reference/scalars#uri"
},
{
"name": "origin",
"description": "<p>The organization that originated the advisory.</p>",