Skip to content

Commit 5dacb25

Browse files
Merge pull request #126 from wei18/dependabot/submodules/Submodule/github/rest-api-description-23d16a0
Bump Submodule/github/rest-api-description from `bf4af7c` to `23d16a0`
2 parents d6c5178 + f9c60bd commit 5dacb25

File tree

21 files changed

+3142
-697
lines changed

21 files changed

+3142
-697
lines changed

Sources/actions/Types.swift

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6414,6 +6414,30 @@ public enum Components {
64146414
public var webCommitSignoffRequired: Swift.Bool?
64156415
/// - Remark: Generated from `#/components/schemas/minimal-repository/security_and_analysis`.
64166416
public var securityAndAnalysis: Components.Schemas.SecurityAndAnalysis?
6417+
/// The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.
6418+
///
6419+
/// - Remark: Generated from `#/components/schemas/minimal-repository/custom_properties`.
6420+
public struct CustomPropertiesPayload: Codable, Hashable, Sendable {
6421+
/// A container of undocumented properties.
6422+
public var additionalProperties: OpenAPIRuntime.OpenAPIObjectContainer
6423+
/// Creates a new `CustomPropertiesPayload`.
6424+
///
6425+
/// - Parameters:
6426+
/// - additionalProperties: A container of undocumented properties.
6427+
public init(additionalProperties: OpenAPIRuntime.OpenAPIObjectContainer = .init()) {
6428+
self.additionalProperties = additionalProperties
6429+
}
6430+
public init(from decoder: any Decoder) throws {
6431+
additionalProperties = try decoder.decodeAdditionalProperties(knownKeys: [])
6432+
}
6433+
public func encode(to encoder: any Encoder) throws {
6434+
try encoder.encodeAdditionalProperties(additionalProperties)
6435+
}
6436+
}
6437+
/// The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.
6438+
///
6439+
/// - Remark: Generated from `#/components/schemas/minimal-repository/custom_properties`.
6440+
public var customProperties: Components.Schemas.MinimalRepository.CustomPropertiesPayload?
64176441
/// Creates a new `MinimalRepository`.
64186442
///
64196443
/// - Parameters:
@@ -6504,6 +6528,7 @@ public enum Components {
65046528
/// - allowForking:
65056529
/// - webCommitSignoffRequired:
65066530
/// - securityAndAnalysis:
6531+
/// - customProperties: The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.
65076532
public init(
65086533
id: Swift.Int64,
65096534
nodeId: Swift.String,
@@ -6591,7 +6616,8 @@ public enum Components {
65916616
watchers: Swift.Int? = nil,
65926617
allowForking: Swift.Bool? = nil,
65936618
webCommitSignoffRequired: Swift.Bool? = nil,
6594-
securityAndAnalysis: Components.Schemas.SecurityAndAnalysis? = nil
6619+
securityAndAnalysis: Components.Schemas.SecurityAndAnalysis? = nil,
6620+
customProperties: Components.Schemas.MinimalRepository.CustomPropertiesPayload? = nil
65956621
) {
65966622
self.id = id
65976623
self.nodeId = nodeId
@@ -6680,6 +6706,7 @@ public enum Components {
66806706
self.allowForking = allowForking
66816707
self.webCommitSignoffRequired = webCommitSignoffRequired
66826708
self.securityAndAnalysis = securityAndAnalysis
6709+
self.customProperties = customProperties
66836710
}
66846711
public enum CodingKeys: String, CodingKey {
66856712
case id
@@ -6769,6 +6796,7 @@ public enum Components {
67696796
case allowForking = "allow_forking"
67706797
case webCommitSignoffRequired = "web_commit_signoff_required"
67716798
case securityAndAnalysis = "security_and_analysis"
6799+
case customProperties = "custom_properties"
67726800
}
67736801
}
67746802
/// - Remark: Generated from `#/components/schemas/actions-cache-usage-org-enterprise`.

Sources/activity/Types.swift

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4175,6 +4175,30 @@ public enum Components {
41754175
public var webCommitSignoffRequired: Swift.Bool?
41764176
/// - Remark: Generated from `#/components/schemas/minimal-repository/security_and_analysis`.
41774177
public var securityAndAnalysis: Components.Schemas.SecurityAndAnalysis?
4178+
/// The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.
4179+
///
4180+
/// - Remark: Generated from `#/components/schemas/minimal-repository/custom_properties`.
4181+
public struct CustomPropertiesPayload: Codable, Hashable, Sendable {
4182+
/// A container of undocumented properties.
4183+
public var additionalProperties: OpenAPIRuntime.OpenAPIObjectContainer
4184+
/// Creates a new `CustomPropertiesPayload`.
4185+
///
4186+
/// - Parameters:
4187+
/// - additionalProperties: A container of undocumented properties.
4188+
public init(additionalProperties: OpenAPIRuntime.OpenAPIObjectContainer = .init()) {
4189+
self.additionalProperties = additionalProperties
4190+
}
4191+
public init(from decoder: any Decoder) throws {
4192+
additionalProperties = try decoder.decodeAdditionalProperties(knownKeys: [])
4193+
}
4194+
public func encode(to encoder: any Encoder) throws {
4195+
try encoder.encodeAdditionalProperties(additionalProperties)
4196+
}
4197+
}
4198+
/// The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.
4199+
///
4200+
/// - Remark: Generated from `#/components/schemas/minimal-repository/custom_properties`.
4201+
public var customProperties: Components.Schemas.MinimalRepository.CustomPropertiesPayload?
41784202
/// Creates a new `MinimalRepository`.
41794203
///
41804204
/// - Parameters:
@@ -4265,6 +4289,7 @@ public enum Components {
42654289
/// - allowForking:
42664290
/// - webCommitSignoffRequired:
42674291
/// - securityAndAnalysis:
4292+
/// - customProperties: The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.
42684293
public init(
42694294
id: Swift.Int64,
42704295
nodeId: Swift.String,
@@ -4352,7 +4377,8 @@ public enum Components {
43524377
watchers: Swift.Int? = nil,
43534378
allowForking: Swift.Bool? = nil,
43544379
webCommitSignoffRequired: Swift.Bool? = nil,
4355-
securityAndAnalysis: Components.Schemas.SecurityAndAnalysis? = nil
4380+
securityAndAnalysis: Components.Schemas.SecurityAndAnalysis? = nil,
4381+
customProperties: Components.Schemas.MinimalRepository.CustomPropertiesPayload? = nil
43564382
) {
43574383
self.id = id
43584384
self.nodeId = nodeId
@@ -4441,6 +4467,7 @@ public enum Components {
44414467
self.allowForking = allowForking
44424468
self.webCommitSignoffRequired = webCommitSignoffRequired
44434469
self.securityAndAnalysis = securityAndAnalysis
4470+
self.customProperties = customProperties
44444471
}
44454472
public enum CodingKeys: String, CodingKey {
44464473
case id
@@ -4530,6 +4557,7 @@ public enum Components {
45304557
case allowForking = "allow_forking"
45314558
case webCommitSignoffRequired = "web_commit_signoff_required"
45324559
case securityAndAnalysis = "security_and_analysis"
4560+
case customProperties = "custom_properties"
45334561
}
45344562
}
45354563
/// Thread

Sources/checks/Types.swift

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1435,6 +1435,30 @@ public enum Components {
14351435
public var webCommitSignoffRequired: Swift.Bool?
14361436
/// - Remark: Generated from `#/components/schemas/minimal-repository/security_and_analysis`.
14371437
public var securityAndAnalysis: Components.Schemas.SecurityAndAnalysis?
1438+
/// The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.
1439+
///
1440+
/// - Remark: Generated from `#/components/schemas/minimal-repository/custom_properties`.
1441+
public struct CustomPropertiesPayload: Codable, Hashable, Sendable {
1442+
/// A container of undocumented properties.
1443+
public var additionalProperties: OpenAPIRuntime.OpenAPIObjectContainer
1444+
/// Creates a new `CustomPropertiesPayload`.
1445+
///
1446+
/// - Parameters:
1447+
/// - additionalProperties: A container of undocumented properties.
1448+
public init(additionalProperties: OpenAPIRuntime.OpenAPIObjectContainer = .init()) {
1449+
self.additionalProperties = additionalProperties
1450+
}
1451+
public init(from decoder: any Decoder) throws {
1452+
additionalProperties = try decoder.decodeAdditionalProperties(knownKeys: [])
1453+
}
1454+
public func encode(to encoder: any Encoder) throws {
1455+
try encoder.encodeAdditionalProperties(additionalProperties)
1456+
}
1457+
}
1458+
/// The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.
1459+
///
1460+
/// - Remark: Generated from `#/components/schemas/minimal-repository/custom_properties`.
1461+
public var customProperties: Components.Schemas.MinimalRepository.CustomPropertiesPayload?
14381462
/// Creates a new `MinimalRepository`.
14391463
///
14401464
/// - Parameters:
@@ -1525,6 +1549,7 @@ public enum Components {
15251549
/// - allowForking:
15261550
/// - webCommitSignoffRequired:
15271551
/// - securityAndAnalysis:
1552+
/// - customProperties: The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.
15281553
public init(
15291554
id: Swift.Int64,
15301555
nodeId: Swift.String,
@@ -1612,7 +1637,8 @@ public enum Components {
16121637
watchers: Swift.Int? = nil,
16131638
allowForking: Swift.Bool? = nil,
16141639
webCommitSignoffRequired: Swift.Bool? = nil,
1615-
securityAndAnalysis: Components.Schemas.SecurityAndAnalysis? = nil
1640+
securityAndAnalysis: Components.Schemas.SecurityAndAnalysis? = nil,
1641+
customProperties: Components.Schemas.MinimalRepository.CustomPropertiesPayload? = nil
16161642
) {
16171643
self.id = id
16181644
self.nodeId = nodeId
@@ -1701,6 +1727,7 @@ public enum Components {
17011727
self.allowForking = allowForking
17021728
self.webCommitSignoffRequired = webCommitSignoffRequired
17031729
self.securityAndAnalysis = securityAndAnalysis
1730+
self.customProperties = customProperties
17041731
}
17051732
public enum CodingKeys: String, CodingKey {
17061733
case id
@@ -1790,6 +1817,7 @@ public enum Components {
17901817
case allowForking = "allow_forking"
17911818
case webCommitSignoffRequired = "web_commit_signoff_required"
17921819
case securityAndAnalysis = "security_and_analysis"
1820+
case customProperties = "custom_properties"
17931821
}
17941822
}
17951823
/// An object without any properties.

Sources/codespaces/Types.swift

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3237,6 +3237,30 @@ public enum Components {
32373237
public var webCommitSignoffRequired: Swift.Bool?
32383238
/// - Remark: Generated from `#/components/schemas/minimal-repository/security_and_analysis`.
32393239
public var securityAndAnalysis: Components.Schemas.SecurityAndAnalysis?
3240+
/// The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.
3241+
///
3242+
/// - Remark: Generated from `#/components/schemas/minimal-repository/custom_properties`.
3243+
public struct CustomPropertiesPayload: Codable, Hashable, Sendable {
3244+
/// A container of undocumented properties.
3245+
public var additionalProperties: OpenAPIRuntime.OpenAPIObjectContainer
3246+
/// Creates a new `CustomPropertiesPayload`.
3247+
///
3248+
/// - Parameters:
3249+
/// - additionalProperties: A container of undocumented properties.
3250+
public init(additionalProperties: OpenAPIRuntime.OpenAPIObjectContainer = .init()) {
3251+
self.additionalProperties = additionalProperties
3252+
}
3253+
public init(from decoder: any Decoder) throws {
3254+
additionalProperties = try decoder.decodeAdditionalProperties(knownKeys: [])
3255+
}
3256+
public func encode(to encoder: any Encoder) throws {
3257+
try encoder.encodeAdditionalProperties(additionalProperties)
3258+
}
3259+
}
3260+
/// The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.
3261+
///
3262+
/// - Remark: Generated from `#/components/schemas/minimal-repository/custom_properties`.
3263+
public var customProperties: Components.Schemas.MinimalRepository.CustomPropertiesPayload?
32403264
/// Creates a new `MinimalRepository`.
32413265
///
32423266
/// - Parameters:
@@ -3327,6 +3351,7 @@ public enum Components {
33273351
/// - allowForking:
33283352
/// - webCommitSignoffRequired:
33293353
/// - securityAndAnalysis:
3354+
/// - customProperties: The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.
33303355
public init(
33313356
id: Swift.Int64,
33323357
nodeId: Swift.String,
@@ -3414,7 +3439,8 @@ public enum Components {
34143439
watchers: Swift.Int? = nil,
34153440
allowForking: Swift.Bool? = nil,
34163441
webCommitSignoffRequired: Swift.Bool? = nil,
3417-
securityAndAnalysis: Components.Schemas.SecurityAndAnalysis? = nil
3442+
securityAndAnalysis: Components.Schemas.SecurityAndAnalysis? = nil,
3443+
customProperties: Components.Schemas.MinimalRepository.CustomPropertiesPayload? = nil
34183444
) {
34193445
self.id = id
34203446
self.nodeId = nodeId
@@ -3503,6 +3529,7 @@ public enum Components {
35033529
self.allowForking = allowForking
35043530
self.webCommitSignoffRequired = webCommitSignoffRequired
35053531
self.securityAndAnalysis = securityAndAnalysis
3532+
self.customProperties = customProperties
35063533
}
35073534
public enum CodingKeys: String, CodingKey {
35083535
case id
@@ -3592,6 +3619,7 @@ public enum Components {
35923619
case allowForking = "allow_forking"
35933620
case webCommitSignoffRequired = "web_commit_signoff_required"
35943621
case securityAndAnalysis = "security_and_analysis"
3622+
case customProperties = "custom_properties"
35953623
}
35963624
}
35973625
/// An object without any properties.

Sources/copilot/Types.swift

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1221,12 +1221,16 @@ public enum Components {
12211221
public var id: Swift.Int64
12221222
/// - Remark: Generated from `#/components/schemas/enterprise-team/name`.
12231223
public var name: Swift.String
1224+
/// - Remark: Generated from `#/components/schemas/enterprise-team/description`.
1225+
public var description: Swift.String?
12241226
/// - Remark: Generated from `#/components/schemas/enterprise-team/slug`.
12251227
public var slug: Swift.String
12261228
/// - Remark: Generated from `#/components/schemas/enterprise-team/url`.
12271229
public var url: Swift.String
12281230
/// - Remark: Generated from `#/components/schemas/enterprise-team/sync_to_organizations`.
1229-
public var syncToOrganizations: Swift.String
1231+
public var syncToOrganizations: Swift.String?
1232+
/// - Remark: Generated from `#/components/schemas/enterprise-team/organization_selection_type`.
1233+
public var organizationSelectionType: Swift.String?
12301234
/// - Remark: Generated from `#/components/schemas/enterprise-team/group_id`.
12311235
public var groupId: Swift.String?
12321236
/// - Remark: Generated from `#/components/schemas/enterprise-team/group_name`.
@@ -1244,9 +1248,11 @@ public enum Components {
12441248
/// - Parameters:
12451249
/// - id:
12461250
/// - name:
1251+
/// - description:
12471252
/// - slug:
12481253
/// - url:
12491254
/// - syncToOrganizations:
1255+
/// - organizationSelectionType:
12501256
/// - groupId:
12511257
/// - groupName:
12521258
/// - htmlUrl:
@@ -1256,9 +1262,11 @@ public enum Components {
12561262
public init(
12571263
id: Swift.Int64,
12581264
name: Swift.String,
1265+
description: Swift.String? = nil,
12591266
slug: Swift.String,
12601267
url: Swift.String,
1261-
syncToOrganizations: Swift.String,
1268+
syncToOrganizations: Swift.String? = nil,
1269+
organizationSelectionType: Swift.String? = nil,
12621270
groupId: Swift.String? = nil,
12631271
groupName: Swift.String? = nil,
12641272
htmlUrl: Swift.String,
@@ -1268,9 +1276,11 @@ public enum Components {
12681276
) {
12691277
self.id = id
12701278
self.name = name
1279+
self.description = description
12711280
self.slug = slug
12721281
self.url = url
12731282
self.syncToOrganizations = syncToOrganizations
1283+
self.organizationSelectionType = organizationSelectionType
12741284
self.groupId = groupId
12751285
self.groupName = groupName
12761286
self.htmlUrl = htmlUrl
@@ -1281,9 +1291,11 @@ public enum Components {
12811291
public enum CodingKeys: String, CodingKey {
12821292
case id
12831293
case name
1294+
case description
12841295
case slug
12851296
case url
12861297
case syncToOrganizations = "sync_to_organizations"
1298+
case organizationSelectionType = "organization_selection_type"
12871299
case groupId = "group_id"
12881300
case groupName = "group_name"
12891301
case htmlUrl = "html_url"

0 commit comments

Comments
 (0)