Skip to content

Commit 46e4a25

Browse files
Commit via running ake Sources/orgs
1 parent ce56cc9 commit 46e4a25

File tree

1 file changed

+34
-2
lines changed

1 file changed

+34
-2
lines changed

Sources/orgs/Types.swift

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5652,6 +5652,10 @@ public enum Components {
56525652
public var updated_at: Foundation.Date
56535653
/// - Remark: Generated from `#/components/schemas/organization-full/archived_at`.
56545654
public var archived_at: Foundation.Date?
5655+
/// Controls whether or not deploy keys may be added and used for repositories in the organization.
5656+
///
5657+
/// - Remark: Generated from `#/components/schemas/organization-full/deploy_keys_enabled_for_repositories`.
5658+
public var deploy_keys_enabled_for_repositories: Swift.Bool?
56555659
/// Creates a new `organization_hyphen_full`.
56565660
///
56575661
/// - Parameters:
@@ -5712,6 +5716,7 @@ public enum Components {
57125716
/// - created_at:
57135717
/// - updated_at:
57145718
/// - archived_at:
5719+
/// - deploy_keys_enabled_for_repositories: Controls whether or not deploy keys may be added and used for repositories in the organization.
57155720
public init(
57165721
login: Swift.String,
57175722
id: Swift.Int,
@@ -5769,7 +5774,8 @@ public enum Components {
57695774
secret_scanning_push_protection_custom_link: Swift.String? = nil,
57705775
created_at: Foundation.Date,
57715776
updated_at: Foundation.Date,
5772-
archived_at: Foundation.Date? = nil
5777+
archived_at: Foundation.Date? = nil,
5778+
deploy_keys_enabled_for_repositories: Swift.Bool? = nil
57735779
) {
57745780
self.login = login
57755781
self.id = id
@@ -5828,6 +5834,7 @@ public enum Components {
58285834
self.created_at = created_at
58295835
self.updated_at = updated_at
58305836
self.archived_at = archived_at
5837+
self.deploy_keys_enabled_for_repositories = deploy_keys_enabled_for_repositories
58315838
}
58325839
public enum CodingKeys: String, CodingKey {
58335840
case login
@@ -5887,6 +5894,7 @@ public enum Components {
58875894
case created_at
58885895
case updated_at
58895896
case archived_at
5897+
case deploy_keys_enabled_for_repositories
58905898
}
58915899
}
58925900
/// Organization Invitation
@@ -7008,6 +7016,10 @@ public enum Components {
70087016
///
70097017
/// - Remark: Generated from `#/components/schemas/organization-programmatic-access-grant-request/token_id`.
70107018
public var token_id: Swift.Int
7019+
/// The name given to the user's token. This field can also be found in an organization's settings page for Active Tokens.
7020+
///
7021+
/// - Remark: Generated from `#/components/schemas/organization-programmatic-access-grant-request/token_name`.
7022+
public var token_name: Swift.String
70117023
/// Whether the associated fine-grained personal access token has expired.
70127024
///
70137025
/// - Remark: Generated from `#/components/schemas/organization-programmatic-access-grant-request/token_expired`.
@@ -7031,6 +7043,7 @@ public enum Components {
70317043
/// - permissions: Permissions requested, categorized by type of permission.
70327044
/// - created_at: Date and time when the request for access was created.
70337045
/// - token_id: Unique identifier of the user's token. This field can also be found in audit log events and the organization's settings for their PAT grants.
7046+
/// - token_name: The name given to the user's token. This field can also be found in an organization's settings page for Active Tokens.
70347047
/// - token_expired: Whether the associated fine-grained personal access token has expired.
70357048
/// - token_expires_at: Date and time when the associated fine-grained personal access token expires.
70367049
/// - token_last_used_at: Date and time when the associated fine-grained personal access token was last used for authentication.
@@ -7043,6 +7056,7 @@ public enum Components {
70437056
permissions: Components.Schemas.organization_hyphen_programmatic_hyphen_access_hyphen_grant_hyphen_request.permissionsPayload,
70447057
created_at: Swift.String,
70457058
token_id: Swift.Int,
7059+
token_name: Swift.String,
70467060
token_expired: Swift.Bool,
70477061
token_expires_at: Swift.String? = nil,
70487062
token_last_used_at: Swift.String? = nil
@@ -7055,6 +7069,7 @@ public enum Components {
70557069
self.permissions = permissions
70567070
self.created_at = created_at
70577071
self.token_id = token_id
7072+
self.token_name = token_name
70587073
self.token_expired = token_expired
70597074
self.token_expires_at = token_expires_at
70607075
self.token_last_used_at = token_last_used_at
@@ -7068,6 +7083,7 @@ public enum Components {
70687083
case permissions
70697084
case created_at
70707085
case token_id
7086+
case token_name
70717087
case token_expired
70727088
case token_expires_at
70737089
case token_last_used_at
@@ -7196,6 +7212,10 @@ public enum Components {
71967212
///
71977213
/// - Remark: Generated from `#/components/schemas/organization-programmatic-access-grant/token_id`.
71987214
public var token_id: Swift.Int
7215+
/// The name given to the user's token. This field can also be found in an organization's settings page for Active Tokens.
7216+
///
7217+
/// - Remark: Generated from `#/components/schemas/organization-programmatic-access-grant/token_name`.
7218+
public var token_name: Swift.String
71997219
/// Whether the associated fine-grained personal access token has expired.
72007220
///
72017221
/// - Remark: Generated from `#/components/schemas/organization-programmatic-access-grant/token_expired`.
@@ -7218,6 +7238,7 @@ public enum Components {
72187238
/// - permissions: Permissions requested, categorized by type of permission.
72197239
/// - access_granted_at: Date and time when the fine-grained personal access token was approved to access the organization.
72207240
/// - token_id: Unique identifier of the user's token. This field can also be found in audit log events and the organization's settings for their PAT grants.
7241+
/// - token_name: The name given to the user's token. This field can also be found in an organization's settings page for Active Tokens.
72217242
/// - token_expired: Whether the associated fine-grained personal access token has expired.
72227243
/// - token_expires_at: Date and time when the associated fine-grained personal access token expires.
72237244
/// - token_last_used_at: Date and time when the associated fine-grained personal access token was last used for authentication.
@@ -7229,6 +7250,7 @@ public enum Components {
72297250
permissions: Components.Schemas.organization_hyphen_programmatic_hyphen_access_hyphen_grant.permissionsPayload,
72307251
access_granted_at: Swift.String,
72317252
token_id: Swift.Int,
7253+
token_name: Swift.String,
72327254
token_expired: Swift.Bool,
72337255
token_expires_at: Swift.String? = nil,
72347256
token_last_used_at: Swift.String? = nil
@@ -7240,6 +7262,7 @@ public enum Components {
72407262
self.permissions = permissions
72417263
self.access_granted_at = access_granted_at
72427264
self.token_id = token_id
7265+
self.token_name = token_name
72437266
self.token_expired = token_expired
72447267
self.token_expires_at = token_expires_at
72457268
self.token_last_used_at = token_last_used_at
@@ -7252,6 +7275,7 @@ public enum Components {
72527275
case permissions
72537276
case access_granted_at
72547277
case token_id
7278+
case token_name
72557279
case token_expired
72567280
case token_expires_at
72577281
case token_last_used_at
@@ -8509,6 +8533,10 @@ public enum Operations {
85098533
///
85108534
/// - Remark: Generated from `#/paths/orgs/{org}/PATCH/requestBody/json/secret_scanning_push_protection_custom_link`.
85118535
public var secret_scanning_push_protection_custom_link: Swift.String?
8536+
/// Controls whether or not deploy keys may be added and used for repositories in the organization.
8537+
///
8538+
/// - Remark: Generated from `#/paths/orgs/{org}/PATCH/requestBody/json/deploy_keys_enabled_for_repositories`.
8539+
public var deploy_keys_enabled_for_repositories: Swift.Bool?
85128540
/// Creates a new `jsonPayload`.
85138541
///
85148542
/// - Parameters:
@@ -8541,6 +8569,7 @@ public enum Operations {
85418569
/// - secret_scanning_push_protection_enabled_for_new_repositories: **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.
85428570
/// - secret_scanning_push_protection_custom_link_enabled: Whether a custom link is shown to contributors who are blocked from pushing a secret by push protection.
85438571
/// - secret_scanning_push_protection_custom_link: If `secret_scanning_push_protection_custom_link_enabled` is true, the URL that will be displayed to contributors who are blocked from pushing a secret.
8572+
/// - deploy_keys_enabled_for_repositories: Controls whether or not deploy keys may be added and used for repositories in the organization.
85448573
public init(
85458574
billing_email: Swift.String? = nil,
85468575
company: Swift.String? = nil,
@@ -8570,7 +8599,8 @@ public enum Operations {
85708599
secret_scanning_enabled_for_new_repositories: Swift.Bool? = nil,
85718600
secret_scanning_push_protection_enabled_for_new_repositories: Swift.Bool? = nil,
85728601
secret_scanning_push_protection_custom_link_enabled: Swift.Bool? = nil,
8573-
secret_scanning_push_protection_custom_link: Swift.String? = nil
8602+
secret_scanning_push_protection_custom_link: Swift.String? = nil,
8603+
deploy_keys_enabled_for_repositories: Swift.Bool? = nil
85748604
) {
85758605
self.billing_email = billing_email
85768606
self.company = company
@@ -8601,6 +8631,7 @@ public enum Operations {
86018631
self.secret_scanning_push_protection_enabled_for_new_repositories = secret_scanning_push_protection_enabled_for_new_repositories
86028632
self.secret_scanning_push_protection_custom_link_enabled = secret_scanning_push_protection_custom_link_enabled
86038633
self.secret_scanning_push_protection_custom_link = secret_scanning_push_protection_custom_link
8634+
self.deploy_keys_enabled_for_repositories = deploy_keys_enabled_for_repositories
86048635
}
86058636
public enum CodingKeys: String, CodingKey {
86068637
case billing_email
@@ -8632,6 +8663,7 @@ public enum Operations {
86328663
case secret_scanning_push_protection_enabled_for_new_repositories
86338664
case secret_scanning_push_protection_custom_link_enabled
86348665
case secret_scanning_push_protection_custom_link
8666+
case deploy_keys_enabled_for_repositories
86358667
}
86368668
}
86378669
/// - Remark: Generated from `#/paths/orgs/{org}/PATCH/requestBody/content/application\/json`.

0 commit comments

Comments
 (0)